OGX.JS

OGX.JS Javascript Framework for Mobile & Desktop (Webview) & Progressive Web Applications

APACHE-2.0 License

Downloads
632
Stars
17
Committers
3

Bot releases are hidden (Show)

OGX.JS - 1.38.1 Latest Release

Published by globules-io 5 months ago

New Features

  • [Carousel] setting index can now also trigger a CHANGE event carousel.val(__n, __trigger_bool)

Bug Fixes

  • [Container] fix bad injection at build time
OGX.JS - OGX.JS 1.38.0

Published by globules-io 6 months ago

New Features

  • [App] now has a construct constructor to optionally use when extending App
  • [App] app instance also exists as constant OGX.Core
  • [Form] bindField now support a submit callback submit_cb outside of form
  • [StackedTree] added prev and reset methods
  • [StackedTree] now passes itself as additional parameter when triggering an event
  • [Tasker] new object to manage background tasks at idle via requestIdleCallback

Bug Fixes

  • [Display] fix bind with OSE script not returning template
  • [Display] fix dynamic display via displays bound to property
  • [Workers] fix worker running in interval not stopping when calling OGX.Workers.stop(worker_id);

Other Changes

  • [App] reduced memory footprint, updated internal naming
OGX.JS - OGX.JS 1.37.2

Published by globules-io 7 months ago

Bug Fixes

  • [App] fix app not hiding Splash due to app not READY when a stage has no OML, faster init
OGX.JS - OGX.JS 1.37.1

Published by globules-io 7 months ago

Bug Fixes

  • [App] not triggering READY when rendering a stage with a single Popup as OML
OGX.JS - OGX.JS 1.37.0

Published by globules-io 7 months ago

New Features

  • [CLI] 1.14.1+ now encrypts, decrypts pak files and config
  • [Data] exposed encrypt and decrypt methods
  • [Net] if the config is encrypted, then Net will encrypt/decrypt .pak files if the build is packed.
  • [OSE] added support to target result property in crumb such as {{crumb fetch_id $some_property}}
  • [Popup] added shake method
  • [Popup] added keep_centered flag
  • [Popup] added support to css animations, supported are fade, slide, scale, some can be combined
  • [Popup] added MOVE and MOVED events
  • [Touch] improved auto state
  • [App] added support to css animations when changing stages, supported are swap, flip, slide, shuffle, some can be combined
  • [App] can now be extended by passing a custom class when creating app = new OGX.App({core: 'YourClass', ... });

Bug Fixes

  • [Uxi] fix floats not receiving focus when added to stage using stage.create
  • [OML] not attaching floating objects when detaching then using {'default:Uxi':instance}

Components

  • [Docker] 1.3.0, added anim_show flag, defaults to fade slide
  • [FlexCells] 1.5.1, added addCell, removeCell and getCellIndex methods
  • [ContextMenu] 1.1.1, removed obsolete code

Other Changes

  • [Ghost] now extends Placeholder
  • [Router] now caches the route only when the route has fully rendered
  • [Theme] updated to 1.2.2
  • [CLI] 1.14.3 better handling of link and unlinks
OGX.JS - OGX.JS 1.36.3

Published by globules-io 7 months ago

  • [Display] fix dynamic bound OML display not returned as clone
  • [Tree] fix addItem to item with existing children, duplicated children
OGX.JS - OGX.JS 1.36.2

Published by globules-io 7 months ago

Bug Fixes

  • [Display] fix dynamic bound OML display
OGX.JS - OGX.JS 1.36.1

Published by globules-io 7 months ago

Bug Fixes

  • [OML] fix promise result not stored if fetch id already used, now overwrites result with same id
  • [View] fix using html instead of template in config, re-interpreted after Display
OGX.JS - OGX.JS 1.36.0

Published by globules-io 7 months ago

New Features

  • [Form] exposed enabledForm & disableForm internal methods, and now enables/disables binded form or desirated form by passing selector
  • [Form] toObj now skips the disabled elements if passed true as 2nd param
  • [Form] cb_change of bound form is now passed an object without disabled readonly values
  • [Tags] added lowercase flag in config to force saving input tag as lowercase
  • [Popup] maximize method can now be used to temporary turn if on/off maximize and maximize_dbc actions, by passing a boolean
  • [OML] added getNodeByProp, returns a node given a property/value pair
  • [OML] added getNodeByName, returns a node given a name
  • [List] now supports direct property/value combo in get unset update methods, auto transformed to {eq:value} filter

Bug Fixes

  • [Form] not validating a field on paste

Other Changes

  • [OML] remove obsolete internal parameters
OGX.JS - OGX.JS 1.35.3

Published by globules-io 8 months ago

Bug Fixes

  • [App] fix Splash not hiding when using option bookmark: true and reloading page
OGX.JS - OGX.JS 1.35.2

Published by globules-io 8 months ago

Bug Fixes

  • [Router] fix navigation hang when rendering Stage object without OML
OGX.JS - OGX.JS 1.35.1

Published by globules-io 8 months ago

Bug Fixes

  • [App] fix crash when using multiple Stage objects and start-up stage has no template.

Other Changes

  • [CSS] Splashscreen tweaks
OGX.JS - OGX.JS 1.35.0

Published by globules-io 8 months ago

New Features

  • [App] added exit option, set to true by default. Set to false and prevent reload/exit.
  • [DynamicList] select and selectIndex methods can now be passed an additional trigger parameter to trigger selection event & callback
  • [Uxi] focus tree downstream via focus(2) now skips floating objects that are not visible, previously only available with recursive focus nodes downstream via focus(1)
  • [List] with non uniform objects, skip attributes that have a different type when expecting string to string comparison

Other Changes

  • [OSE] loop optimization
  • [App] startup speed improvements
  • [App] now trigger OGX.App.READY once the default route of the focused Stage at start has been navigated to.
  • [Router] additional debug info

Bug Fixes

  • [Bind] fix crash when binding a Uxi to a Uxi and the filtering Uxi does not have a value yet
OGX.JS - OGX.JS 1.34.1

Published by globules-io 8 months ago

Bug Fixes

  • [OML] fix isOML trying to parse non-json strings
OGX.JS - OGX.JS 1.34.0

Published by globules-io 8 months ago

New Features

  • [Placeholder] placeholders can now be expressed as a 2D Array
  • [Tree] addItem can now be passed an array of items

Bug Fixes

  • [Tree] fix parent item state not updated after removing a child using deleteItem
  • [Display] fix dynamic OML via as

Deprecations

  • [Data] OGX.Data.isOML has been deprecated in favor to OGX.OML.isOML

Components

  • [Flip] 1.0.0 new Flip component to render and flip between 2 OML trees.
  • [FlexCells] 1.3.3 fix placeholder in complex OML
  • [Table] 1.2.0 added mode in config and mode method to set selection mode to row or item (prop/val combo)
OGX.JS -

Published by globules-io 9 months ago

1.33.3

Bug Fixes

  • [Placeholder] fix offset in placeholder

Components

  • [FlexCells] 1.3.0 value of cellSize can now be expressed as an array
OGX.JS - OGX.JS 1.33.2

Published by globules-io 9 months ago

Bug Fixes

  • [Display] fix bind issue introduced with 1.33.1

Components

  • [FlexCells] 1.2.2 value of min can now be expressed as an array of mixed values i.e. [100, '40%', '250']
OGX.JS - OGX.JS 1.33.1

Published by globules-io 9 months ago

Bug Fixes

  • [Data] fix clipboard not triggering focus

Other Changes

  • [OML] result method now flushes result cache if null is passed as parameter
OGX.JS - OGX.JS 1.33.0

Published by globules-io 9 months ago

New Features

  • [DynamicList] added findMove method to move an item at the desired index

  • [Net] added download method to create and auto click a download link

  • [Uxi] added optional parameter levels to reveal method, only reveal n levels away from Uxi

  • [Display] refactoring, added support to OSE scripts in template and css binds

  • [Touch] added dblick constant for double click

  • [Tree] added openItem, closeItem and getItemByPath methods

  • [OSE] added function keyword for inline function declaration, or link to a global function

    {{ function myGlobalFunction }} //link to function
    {{ function myGlobalFunction() }} //execute function
    {{ function if( $color === 'red' ){ return '#CC2222'; } return '#22CC22'; } }} //declare and execute
    

Bug Fixes

  • [Tree] fix selection not reset when selecting using one of the select methods
  • [Tree] fix item content not showing on first expend after updateItem

Breaking Changes

  • [OSE] function and method keywords now return link to function/method without executing it if parenthesis aren't present.

    {{ method myMethod myUxi:MyView }} //returns link to method
    {{ method myMethod() myUxi:MyView }} //executes method and passes available parameters
    {{ function MyGlobalFunction }} //returns link to function
    {{ function MyGlobalFunction() }} //executes function and passes available parameters
    

Note that the breaking nature of this change only applies to the method keyword since function is new

OGX.JS - OGX.JS 1.32.0

Published by globules-io 9 months ago

New Features

  • [DynamicList] added scroll method to scroll to an item of the list
  • [Net] added upload method that triggers file select process and returns the selected files
  • [Media] added crop method to resize or crop a base64 encoded image

Bug Fixes

  • [Placeholder] fix offset in placeholder when a node does not contain any default selector

Other Changes

  • [DynamicList] passes itself as parameter when calling callbacks.render
  • [Theme] Updated default theme

Components

  • [Chat] 1.3.0 added attach icon to select and send media
  • [FlexCells] 1.2.0 better handling of existing HTML when creating a FlexCells without a template
Package Rankings
Top 12.67% on Npmjs.org
Related Projects