48 Commits

Author SHA1 Message Date
64a6f08562 Loading of codeFile should not mask exceptions 2016-03-02 11:14:43 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
648e4d216d Add utils/module-loader - a mechanism to resolve modules at runtime.
Exposes a module registration API, that webpack users can use to bundle
"dynamic" modules that are required through some variable.

Falls back to the require API if no module is registered.

Reworked dynamic `require` code to use module-loader:

- navigation: ui/frame.
- XML UI build ui/builder/builder and ui/builder/component-builder.
- module on-demand loads in global functions: globals.
2015-12-14 14:41:16 +02:00
8bee3ed2d1 Add file, row and column for ui/builder errors 2015-11-25 15:25:42 +02:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
dbc7885ba0 component builder fixed
component builder now can handle properly empty text or text with spaces
2015-09-29 10:35:25 +03:00
152b70be36 Remove an unused import in component-builder 2015-09-18 11:37:06 +03:00
9fbcf5f143 Fix typescript 1.6 compile errors.
- Remove unknown properties in object literals.
- Don't use module-level `delete` statements.
2015-09-18 11:20:17 +03:00
81c066e5e3 Support for binding expressions in event bindings 2015-09-12 11:02:32 +03:00
958d6b41f0 Move layout special properties sets out of the component builder.
Setters registered by the respective modules on import.
2015-09-10 19:18:11 +03:00
e162b2032f if condition fixed + test added 2015-09-10 13:29:04 +03:00
2d155f941d CSS and XML code files now can be specified in XML 2015-09-10 13:02:33 +03:00
28898dcd32 Expose special property logic in builder.
Called by the Angular renderer.
2015-09-09 12:03:02 +03:00
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
c1378b427f code fixed 2015-08-12 09:33:14 +03:00
384ba394e7 gesture binding fixed + test 2015-08-11 16:31:30 +03:00
5bb52f545d Support lower-case-dashed component declaration in the XML added 2015-07-23 16:46:12 +03:00
5ca763455c layouts handled automatically as well 2015-07-22 17:09:28 +03:00
65412d9201 component builder simplified 2015-07-22 16:31:28 +03:00
835ab8c142 HtmlView UI component added + test 2015-07-15 15:11:21 +03:00
e52b0c4556 Action bar progress 2015-07-15 09:35:53 +03:00
f3979136a4 Frobit setting inline style from code 2015-07-07 15:02:32 +03:00
db5efc2a8d look for plugins/modules in tns_modules folder not only in the app root + test 2015-06-29 15:02:19 +03:00
dd9e70fc6c more fixes 2015-05-15 17:27:26 +03:00
49576d2087 support for platform specific attributes added 2015-05-15 11:13:53 +03:00
8d8fe1700b Context support for gesture handler binding 2015-05-13 16:05:45 +03:00
9e7fbc8a92 Binding gestures event handlers support added 2015-05-13 10:53:08 +03:00
9eb0716562 Tests and fix for loading custom components with no code-behind 2015-05-05 18:37:43 +03:00
95ca8d9c8c Replace knownEvents modules with static strings. 2015-04-24 09:29:00 +03:00
04f5c7b20f properties will be copied to the custom component with XML + tests 2015-04-22 17:07:03 +03:00
8b9c30f5ea more is defined checks added 2015-04-20 13:43:56 +03:00
bac14bd29d is defined checked added 2015-04-20 09:49:54 +03:00
29ee9909b2 support for sub properties added 2015-04-20 09:42:32 +03:00
23b1825fc7 implement menuOptions 2015-03-26 17:32:27 +02:00
70756fb115 OptionsMenu XML support 2015-03-26 17:32:25 +02:00
f2e614b664 initial commit 2015-03-26 17:32:23 +02:00
b569451bc7 Added named parameters support for xml binding definition. 2015-03-18 08:44:51 +02:00
a514d73cc8 component builder exceptions restored 2015-03-10 10:54:27 +02:00
a13673b90b more TelerikNEXT improvements 2015-03-10 10:53:49 +02:00
bd9b813cc5 TabEntry renamed to TabViewItem 2015-03-09 10:36:47 +02:00
d2de35b105 Lint errors 2015-03-05 18:34:32 +02:00
d699fea65f Fix: binding to event does not work if there are other properties set in XML after the event binding 2015-03-05 18:28:05 +02:00
aa1801769c Merge pull request #137 from NativeScript/segmented-bar-fixes
Segmented bar fixes
2015-03-05 15:33:37 +02:00
4152e66195 Observable array now fires property change for length property. 2015-03-05 14:55:16 +02:00
89b7e78689 SegmentedBarEntry renamed to SegmentedBarItem 2015-03-05 14:05:49 +02:00
8bc83ced24 Added binding convert option. 2015-03-04 10:51:59 +02:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00