@wavemaker/app-ng-runtime 11.5.0-next.40002 → 11.5.0-next.40301

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. app-ng-runtime/components/basic/search/bundles/index.umd.js +7 -0
  2. app-ng-runtime/components/basic/search/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/components/basic/search/esm2015/search.component.js +7 -1
  4. app-ng-runtime/components/basic/search/fesm2015/index.js +6 -0
  5. app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/tree/bundles/index.umd.js +236 -132
  7. app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/basic/tree/esm2015/tree.component.js +208 -135
  9. app-ng-runtime/components/basic/tree/fesm2015/index.js +207 -134
  10. app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
  12. app-ng-runtime/components/basic/tree/tree.component.d.ts +21 -25
  13. app-ng-runtime/components/chart/bundles/index.umd.js +1 -7
  14. app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
  15. app-ng-runtime/components/chart/esm2015/chart.component.js +2 -8
  16. app-ng-runtime/components/chart/fesm2015/index.js +1 -7
  17. app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
  18. app-ng-runtime/components/chart/index.metadata.json +1 -1
  19. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +0 -6
  20. app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
  21. app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +1 -7
  22. app-ng-runtime/components/containers/tabs/fesm2015/index.js +0 -6
  23. app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
  24. app-ng-runtime/components/containers/tabs/index.metadata.json +1 -1
  25. app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +0 -2
  26. app-ng-runtime/components/data/form/bundles/index.umd.js +3 -9
  27. app-ng-runtime/components/data/form/bundles/index.umd.js.map +1 -1
  28. app-ng-runtime/components/data/form/esm2015/form.component.js +5 -11
  29. app-ng-runtime/components/data/form/fesm2015/index.js +4 -10
  30. app-ng-runtime/components/data/form/fesm2015/index.js.map +1 -1
  31. app-ng-runtime/components/data/form/index.metadata.json +1 -1
  32. app-ng-runtime/components/input/calendar/bundles/index.umd.js +1 -11
  33. app-ng-runtime/components/input/calendar/bundles/index.umd.js.map +1 -1
  34. app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -4
  35. app-ng-runtime/components/input/calendar/esm2015/calendar.component.js +2 -12
  36. app-ng-runtime/components/input/calendar/fesm2015/index.js +1 -11
  37. app-ng-runtime/components/input/calendar/fesm2015/index.js.map +1 -1
  38. app-ng-runtime/components/input/calendar/index.metadata.json +1 -1
  39. app-ng-runtime/components/input/default/bundles/index.umd.js +3 -9
  40. app-ng-runtime/components/input/default/bundles/index.umd.js.map +1 -1
  41. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -4
  42. app-ng-runtime/components/input/default/esm2015/base-form-custom.component.js +4 -2
  43. app-ng-runtime/components/input/default/esm2015/dataset-aware-form.component.js +1 -9
  44. app-ng-runtime/components/input/default/fesm2015/index.js +3 -9
  45. app-ng-runtime/components/input/default/fesm2015/index.js.map +1 -1
  46. app-ng-runtime/components/input/default/index.metadata.json +1 -1
  47. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +0 -1
  48. app-ng-runtime/components/input/epoch/bundles/index.umd.js +24 -25
  49. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  50. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +19 -17
  51. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -5
  52. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +10 -10
  53. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
  54. app-ng-runtime/components/input/epoch/esm2015/time/time.component.js +2 -2
  55. app-ng-runtime/components/input/epoch/fesm2015/index.js +31 -31
  56. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  57. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  58. app-ng-runtime/core/bundles/index.umd.js +8 -12
  59. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  60. app-ng-runtime/core/esm2015/services/state-persistence.service.js +2 -4
  61. app-ng-runtime/core/esm2015/services/viewport.service.js +7 -9
  62. app-ng-runtime/core/esm2015/utils/utils.js +2 -2
  63. app-ng-runtime/core/fesm2015/index.js +8 -12
  64. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  65. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +1 -1
  66. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js.map +1 -1
  67. app-ng-runtime/mobile/components/basic/default/esm2015/image-cache/image-cache.directive.js +2 -2
  68. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js +1 -1
  69. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js.map +1 -1
  70. app-ng-runtime/mobile/components/basic/default/index.metadata.json +1 -1
  71. app-ng-runtime/package.json +1 -1
  72. app-ng-runtime/runtime/base/bundles/index.umd.js +2 -35
  73. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  74. app-ng-runtime/runtime/base/esm2015/services/i18n.service.js +3 -35
  75. app-ng-runtime/runtime/base/fesm2015/index.js +2 -34
  76. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  77. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  78. app-ng-runtime/runtime/base/services/i18n.service.d.ts +0 -2
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TreeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":8},{"__symbolic":"reference","module":"@wm/components/base","name":"WmComponentsModule","line":14,"character":8}],"declarations":[{"__symbolic":"reference","name":"TreeComponent"}],"exports":[{"__symbolic":"reference","name":"TreeComponent"}],"entryComponents":[]}]}],"members":{}},"TreeComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@wm/components/base","name":"StylableComponent","line":18,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"ul[wmTree]","providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@wm/components/base","name":"provideAsWidgetRef","line":14,"character":8},"arguments":[{"__symbolic":"reference","name":"TreeComponent"}]}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":16,"character":19},"member":"None"},"template":"<ul #wmTree class=\"ztree\" id=\"ztree\"></ul> "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":58,"character":9},"arguments":["datavalue.bind"]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":59,"character":9},"arguments":["nodelabel.bind"]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":60,"character":9},"arguments":["nodeicon.bind"]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":61,"character":9},"arguments":["nodechildren.bind"]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":62,"character":9},"arguments":["nodeid.bind"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":57,"character":13},null,null,null,null,null]}],"onPropertyChange":[{"__symbolic":"method"}],"expandTree":[{"__symbolic":"method"}],"setTreeTemplate":[{"__symbolic":"method"}],"getNodesFromString":[{"__symbolic":"method"}],"getNodes":[{"__symbolic":"method"}],"setNodeClasses":[{"__symbolic":"method"}],"changeTreeIcons":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"onExpand":[{"__symbolic":"method"}],"onCollapse":[{"__symbolic":"method"}],"constructZTreeData":[{"__symbolic":"method"}],"renderTree":[{"__symbolic":"method"}],"setChecked":[{"__symbolic":"method"}],"selectNode":[{"__symbolic":"method"}],"expandNode":[{"__symbolic":"method"}],"postRenderTree":[{"__symbolic":"method"}],"selectById":[{"__symbolic":"method"}],"deselectById":[{"__symbolic":"method"}]},"statics":{"initializeProps":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"}}}},"ɵa":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":29,"module":"./tree.props"}},"origins":{"TreeModule":"./tree.module","TreeComponent":"./tree.component","ɵa":"./tree.props"},"importAs":"@wm/components/basic/tree"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TreeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":8},{"__symbolic":"reference","module":"@wm/components/base","name":"WmComponentsModule","line":14,"character":8}],"declarations":[{"__symbolic":"reference","name":"TreeComponent"}],"exports":[{"__symbolic":"reference","name":"TreeComponent"}],"entryComponents":[]}]}],"members":{}},"TreeComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@wm/components/base","name":"StylableComponent","line":20,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ul[wmTree]","providers":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@wm/components/base","name":"provideAsWidgetRef","line":16,"character":8},"arguments":[{"__symbolic":"reference","name":"TreeComponent"}]}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":18,"character":19},"member":"None"},"template":"<ul #wmTree class=\"ztree\" id=\"ztree\"></ul> "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":62,"character":13}]}],"onPropertyChange":[{"__symbolic":"method"}],"expandTree":[{"__symbolic":"method"}],"setTreeTemplate":[{"__symbolic":"method"}],"getNodesFromString":[{"__symbolic":"method"}],"getNodes":[{"__symbolic":"method"}],"setNodeclasses":[{"__symbolic":"method"}],"setNodeData":[{"__symbolic":"method"}],"changeTreeIcons":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"onExpand":[{"__symbolic":"method"}],"onCollapse":[{"__symbolic":"method"}],"getChildren":[{"__symbolic":"method"}],"modifyObjects":[{"__symbolic":"method"}],"setNodeChildren":[{"__symbolic":"method"}],"countDepth":[{"__symbolic":"method"}],"renderTree":[{"__symbolic":"method"}],"setSelectedItem":[{"__symbolic":"method"}],"expandNode":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]},"statics":{"initializeProps":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"}}}},"ɵa":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":29,"module":"./tree.props"}},"origins":{"TreeModule":"./tree.module","TreeComponent":"./tree.component","ɵa":"./tree.props"},"importAs":"@wm/components/basic/tree"}
@@ -1,47 +1,43 @@
1
1
  import { Injector, OnInit } from '@angular/core';
2
2
  import { StylableComponent } from '@wm/components/base';
3
3
  export declare class TreeComponent extends StylableComponent implements OnInit {
4
- private binddatavalue;
5
- private bindnodelabel;
6
- private bindnodeicon;
7
- private bindnodechildren;
8
- private bindnodeid;
9
4
  static initializeProps: void;
5
+ selecteditem: any;
10
6
  private nodes;
11
- private zTreeNodes;
12
7
  private level;
8
+ private orderby;
9
+ private nodelabel;
10
+ private treeicon;
11
+ private nodechildren;
12
+ private nodeclick;
13
13
  private treeClass;
14
+ private nodeicon;
14
15
  private name;
15
- private zTree;
16
- datavalue: string;
17
- treeicons: string;
18
- selecteditem: any;
19
- nodeid: string;
20
- nodeaction: string;
21
- nodeclick: string;
22
- nodelabel: string;
23
- nodeicon: string;
24
- nodechildren: string;
25
- orderby: string;
16
+ private datavalue;
26
17
  private setting;
27
- constructor(inj: Injector, binddatavalue: any, bindnodelabel: any, bindnodeicon: any, bindnodechildren: any, bindnodeid: any);
18
+ constructor(inj: Injector);
28
19
  onPropertyChange(key: string, nv: any, ov?: any): void;
29
20
  private expandTree;
30
21
  private setTreeTemplate;
31
22
  private getNodesFromString;
32
23
  private getNodes;
33
- private setNodeClasses;
24
+ private setNodeclasses;
25
+ private setNodeData;
34
26
  private changeTreeIcons;
35
27
  private getPath;
36
28
  onClick(event: any, treeId: any, treeNode: any, clickFlag: any): void;
37
29
  onExpand(event: any, treeId: any, treeNode: any): void;
38
30
  onCollapse(event: any, treeId: any, treeNode: any): void;
39
- private constructZTreeData;
31
+ private getChildren;
32
+ get childrenKey(): any;
33
+ get labelKey(): any;
34
+ get iconKey(): any;
35
+ get treeObj(): any;
36
+ private modifyObjects;
37
+ private setNodeChildren;
38
+ private countDepth;
40
39
  renderTree(): void;
41
- private setChecked;
42
- private selectNode;
40
+ private setSelectedItem;
43
41
  private expandNode;
44
- private postRenderTree;
45
- private selectById;
46
- private deselectById;
42
+ ngAfterViewInit(): void;
47
43
  }
@@ -1196,13 +1196,7 @@
1196
1196
  if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
1197
1197
  // Verification to get the unique data keys
1198
1198
  this.xDataKeyArr.push(value);
1199
- // Check if it is of type Date
1200
- if (value instanceof Date) {
1201
- return value;
1202
- }
1203
- else {
1204
- return index;
1205
- }
1199
+ return value;
1206
1200
  }
1207
1201
  return value;
1208
1202
  };