neo

The application worker driven frontend framework

MIT License

Downloads
5.2K
Stars
2.7K
Committers
33

Bot releases are hidden (Show)

neo - data.RecordFactory: polishing

Published by tobiu over 2 years ago

neo - data.RecordFactory: polishing

Published by tobiu over 2 years ago

for hybrid envs, we can now use the mouse and the touch drag&drop sensors in parallel.

since the Neo.Xhr singleton lives inside the data worker, it was a bit tricky to modify default headers from within the app worker scope. a new setter simplifies this one.

singleton example:

In case you name a class the same way as its base class, the code will obviously break. the createClass program will now recognise it and act in a smart way:

Generating a data.Model will already add one field:

Generating a data.Store will import and use a related data.Model:

The createClass program should run fine within the workspace based scope again.

neo - buildScripts/createClass: support for model.Component

Published by tobiu over 2 years ago

Similar to view controllers, the program now fully supports auto-generating view models as well as adding them into related views.

neo - buildScripts/createClass: support for controller.Component

Published by tobiu over 2 years ago

creating a view controller will now adjust the related view file:

  1. It will import the controller file
  2. it will sort the import statements
  3. it will add the controller config at the right spot (sorted)
neo - workspace based main thread addons

Published by tobiu over 2 years ago

You can now create your own custom main thread addons and import them (combined with the default framework addons) into your apps.

Inside your workspace (created via npx neo-app), you need to drop your addons into src/main/addon.

Inside your neo-config.json file of your app(s), you can add them using a WS/ prefix. Example:

mainThreadAddons: ['DragDrop', 'Stylesheet', 'WS/MyAddon']

neo - form.Container: getSubmitValues()

Published by tobiu over 2 years ago

neo - Updated initial positioning for dialogs, calender week view fix

Published by tobiu over 2 years ago

neo - form.Container: updateValidationIndicators() hotfix

Published by tobiu over 2 years ago

neo - form.Container: updateValidationIndicators()

Published by tobiu over 2 years ago

neo - form.field.Text: onFocusLeave() hotfix

Published by tobiu over 2 years ago

neo - buildScripts/createClass, model & form.field validations

Published by tobiu over 2 years ago

This release covers a couple of new enhancements:

  1. @ThorstenSuckow createClass PR is merged in: https://github.com/neomjs/neo/pull/3193
  2. form.field.Text now supports maxLength & minLength validations (on DOM level as well as inside the isValid() method
  3. form.field.Number now contains an isValid() method to honor maxValue & minValue
  4. data.Model now supports maxLength & minLength validations for fields (logic inside data.RecordFactory
  5. data.RecordFactory now registers record namespaces which include model ids, to ensure that record changes will get mapped to the correct data.Store instance
Package Rankings
Top 2.35% on Npmjs.org
Top 6.61% on Proxy.golang.org
Related Projects