@wavemaker/app-ng-runtime 11.8.0-next.24904 → 11.8.0-next.27301

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 (346) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +5 -5
  2. app-ng-runtime/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
  3. app-ng-runtime/build-task/esm2022/page/page.build.mjs +3 -2
  4. app-ng-runtime/build-task/fesm2022/index.mjs +2 -1
  5. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  6. app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +5 -5
  7. app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
  8. app-ng-runtime/components/advanced/carousel/esm2022/carousel.directive.mjs +1 -1
  9. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +2 -1
  10. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  11. app-ng-runtime/components/advanced/login/bundles/index.umd.js +6 -6
  12. app-ng-runtime/components/advanced/login/esm2022/login.component.mjs +4 -3
  13. app-ng-runtime/components/advanced/login/fesm2022/index.mjs +3 -2
  14. app-ng-runtime/components/advanced/login/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/base/bundles/index.umd.js +203 -171
  16. app-ng-runtime/components/base/esm2022/directives/show-in-device.directive.mjs +1 -1
  17. app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +12 -11
  18. app-ng-runtime/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
  19. app-ng-runtime/components/base/esm2022/utils/data-utils.mjs +30 -29
  20. app-ng-runtime/components/base/esm2022/utils/form-utils.mjs +47 -41
  21. app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -7
  22. app-ng-runtime/components/base/esm2022/utils/widget-utils.mjs +28 -27
  23. app-ng-runtime/components/base/esm2022/widgets/common/base/base-container.component.mjs +4 -3
  24. app-ng-runtime/components/base/esm2022/widgets/common/base/base-field-validations.mjs +24 -21
  25. app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +12 -11
  26. app-ng-runtime/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +40 -14
  27. app-ng-runtime/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +3 -2
  28. app-ng-runtime/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +3 -2
  29. app-ng-runtime/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +1 -1
  30. app-ng-runtime/components/base/esm2022/widgets/common/partial/partial.directive.mjs +3 -2
  31. app-ng-runtime/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +3 -2
  32. app-ng-runtime/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +6 -5
  33. app-ng-runtime/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
  34. app-ng-runtime/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
  35. app-ng-runtime/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
  36. app-ng-runtime/components/base/fesm2022/index.mjs +206 -173
  37. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  38. app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
  39. app-ng-runtime/components/base/utils/data-utils.d.ts +0 -1
  40. app-ng-runtime/components/base/utils/widget-utils.d.ts +2 -2
  41. app-ng-runtime/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
  42. app-ng-runtime/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
  43. app-ng-runtime/components/basic/default/bundles/index.umd.js +10 -10
  44. app-ng-runtime/components/basic/default/esm2022/label/label.directive.mjs +4 -3
  45. app-ng-runtime/components/basic/default/esm2022/spinner/spinner.component.mjs +6 -5
  46. app-ng-runtime/components/basic/default/fesm2022/index.mjs +7 -6
  47. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  48. app-ng-runtime/components/basic/progress/bundles/index.umd.js +13 -13
  49. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +5 -4
  50. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +6 -5
  51. app-ng-runtime/components/basic/progress/esm2022/utils.mjs +3 -3
  52. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +10 -9
  53. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  54. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +15 -10
  55. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +14 -8
  56. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +13 -7
  57. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  58. app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
  59. app-ng-runtime/components/basic/search/bundles/index.umd.js +67 -65
  60. app-ng-runtime/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
  61. app-ng-runtime/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
  62. app-ng-runtime/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
  63. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +31 -30
  64. app-ng-runtime/components/basic/search/fesm2022/index.mjs +66 -63
  65. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  66. app-ng-runtime/components/basic/tree/bundles/index.umd.js +9 -9
  67. app-ng-runtime/components/basic/tree/esm2022/tree.component.mjs +7 -6
  68. app-ng-runtime/components/basic/tree/fesm2022/index.mjs +6 -5
  69. app-ng-runtime/components/basic/tree/fesm2022/index.mjs.map +1 -1
  70. app-ng-runtime/components/chart/bundles/index.umd.js +72 -63
  71. app-ng-runtime/components/chart/chart.component.d.ts +1 -1
  72. app-ng-runtime/components/chart/chart.utils.d.ts +3 -3
  73. app-ng-runtime/components/chart/esm2022/chart.component.mjs +58 -48
  74. app-ng-runtime/components/chart/esm2022/chart.utils.mjs +14 -13
  75. app-ng-runtime/components/chart/fesm2022/index.mjs +69 -59
  76. app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
  77. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +16 -16
  78. app-ng-runtime/components/containers/accordion/esm2022/accordion.directive.mjs +14 -13
  79. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +13 -12
  80. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  81. app-ng-runtime/components/containers/panel/bundles/index.umd.js +5 -5
  82. app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +3 -2
  83. app-ng-runtime/components/containers/panel/fesm2022/index.mjs +2 -1
  84. app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
  85. app-ng-runtime/components/containers/panel/panel.component.d.ts +1 -1
  86. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +17 -17
  87. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +15 -14
  88. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +14 -13
  89. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  90. app-ng-runtime/components/data/form/bundles/index.umd.js +75 -75
  91. app-ng-runtime/components/data/form/esm2022/form-action/form-action.directive.mjs +3 -2
  92. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +10 -9
  93. app-ng-runtime/components/data/form/esm2022/form.component.mjs +54 -53
  94. app-ng-runtime/components/data/form/esm2022/live-filter/live-filter.directive.mjs +3 -2
  95. app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +11 -10
  96. app-ng-runtime/components/data/form/fesm2022/index.mjs +77 -76
  97. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  98. app-ng-runtime/components/data/form/form.component.d.ts +2 -2
  99. app-ng-runtime/components/data/form/live-form/live-form.directive.d.ts +1 -1
  100. app-ng-runtime/components/data/list/bundles/index.umd.js +692 -687
  101. app-ng-runtime/components/data/list/esm2022/list-item.directive.mjs +1 -1
  102. app-ng-runtime/components/data/list/esm2022/list.animator.mjs +5 -3
  103. app-ng-runtime/components/data/list/esm2022/list.component.mjs +687 -682
  104. app-ng-runtime/components/data/list/fesm2022/index.mjs +690 -684
  105. app-ng-runtime/components/data/list/fesm2022/index.mjs.map +1 -1
  106. app-ng-runtime/components/data/list/list.component.d.ts +53 -53
  107. app-ng-runtime/components/data/live-table/bundles/index.umd.js +1 -1
  108. app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +2 -2
  109. app-ng-runtime/components/data/live-table/fesm2022/index.mjs +1 -1
  110. app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
  111. app-ng-runtime/components/data/pagination/bundles/index.umd.js +14 -14
  112. app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +12 -11
  113. app-ng-runtime/components/data/pagination/fesm2022/index.mjs +11 -10
  114. app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
  115. app-ng-runtime/components/data/table/bundles/index.umd.js +175 -172
  116. app-ng-runtime/components/data/table/esm2022/table-action/table-action.directive.mjs +3 -2
  117. app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +19 -18
  118. app-ng-runtime/components/data/table/esm2022/table-cud.directive.mjs +7 -6
  119. app-ng-runtime/components/data/table/esm2022/table-filter.directive.mjs +53 -55
  120. app-ng-runtime/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +3 -2
  121. app-ng-runtime/components/data/table/esm2022/table.component.mjs +98 -91
  122. app-ng-runtime/components/data/table/fesm2022/index.mjs +172 -168
  123. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  124. app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +6 -6
  125. app-ng-runtime/components/data/table/table.component.d.ts +2 -2
  126. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +2 -2
  127. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +3 -3
  128. app-ng-runtime/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +1 -1
  129. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +1 -1
  130. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  131. app-ng-runtime/components/input/calendar/bundles/index.umd.js +33 -31
  132. app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +31 -28
  133. app-ng-runtime/components/input/calendar/fesm2022/index.mjs +30 -27
  134. app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
  135. app-ng-runtime/components/input/chips/bundles/index.umd.js +29 -28
  136. app-ng-runtime/components/input/chips/chips.component.d.ts +1 -1
  137. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +27 -25
  138. app-ng-runtime/components/input/chips/fesm2022/index.mjs +26 -24
  139. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  140. app-ng-runtime/components/input/default/base-form.component.d.ts +3 -3
  141. app-ng-runtime/components/input/default/bundles/index.umd.js +75 -62
  142. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
  143. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +4 -4
  144. app-ng-runtime/components/input/default/esm2022/base-form.component.mjs +14 -8
  145. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +3 -2
  146. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +2 -2
  147. app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +6 -4
  148. app-ng-runtime/components/input/default/esm2022/dataset-aware-form.component.mjs +29 -23
  149. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +4 -3
  150. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -3
  151. app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
  152. app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +4 -3
  153. app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +20 -18
  154. app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +2 -2
  155. app-ng-runtime/components/input/default/fesm2022/index.mjs +75 -62
  156. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  157. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -1
  158. app-ng-runtime/components/input/epoch/bundles/index.umd.js +53 -51
  159. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +34 -31
  160. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +5 -4
  161. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +5 -4
  162. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -6
  163. app-ng-runtime/components/input/epoch/esm2022/picker/picker.component.mjs +1 -1
  164. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +6 -5
  165. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +48 -45
  166. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  167. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +15 -15
  168. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +13 -12
  169. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +12 -11
  170. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  171. app-ng-runtime/components/input/rating/bundles/index.umd.js +12 -12
  172. app-ng-runtime/components/input/rating/esm2022/rating.component.mjs +10 -9
  173. app-ng-runtime/components/input/rating/fesm2022/index.mjs +9 -8
  174. app-ng-runtime/components/input/rating/fesm2022/index.mjs.map +1 -1
  175. app-ng-runtime/components/navigation/breadcrumb/bundles/index.umd.js +1 -1
  176. app-ng-runtime/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +2 -2
  177. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs +1 -1
  178. app-ng-runtime/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  179. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +23 -22
  180. app-ng-runtime/components/navigation/menu/esm2022/menu-adapator.component.mjs +3 -2
  181. app-ng-runtime/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +6 -5
  182. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
  183. app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +10 -8
  184. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +20 -18
  185. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  186. app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
  187. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +1 -1
  188. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  189. app-ng-runtime/components/prefab/bundles/index.umd.js +6 -6
  190. app-ng-runtime/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +3 -2
  191. app-ng-runtime/components/prefab/esm2022/prefab.directive.mjs +3 -2
  192. app-ng-runtime/components/prefab/fesm2022/index.mjs +3 -2
  193. app-ng-runtime/components/prefab/fesm2022/index.mjs.map +1 -1
  194. app-ng-runtime/core/bundles/index.umd.js +119 -130
  195. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  196. app-ng-runtime/core/esm2022/services/field-type.service.mjs +3 -2
  197. app-ng-runtime/core/esm2022/services/field-widget.service.mjs +3 -2
  198. app-ng-runtime/core/esm2022/services/pagination.service.mjs +7 -6
  199. app-ng-runtime/core/esm2022/services/state-persistence.service.mjs +17 -16
  200. app-ng-runtime/core/esm2022/services/utils.service.mjs +3 -2
  201. app-ng-runtime/core/esm2022/services/viewport.service.mjs +3 -2
  202. app-ng-runtime/core/esm2022/utils/build-utils.mjs +5 -4
  203. app-ng-runtime/core/esm2022/utils/expression-parser.mjs +5 -4
  204. app-ng-runtime/core/esm2022/utils/lru-cache.mjs +3 -2
  205. app-ng-runtime/core/esm2022/utils/utils.mjs +79 -82
  206. app-ng-runtime/core/esm2022/utils/watcher.mjs +9 -7
  207. app-ng-runtime/core/fesm2022/index.mjs +117 -123
  208. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  209. app-ng-runtime/core/public_api.d.ts +1 -1
  210. app-ng-runtime/core/services/pagination.service.d.ts +1 -1
  211. app-ng-runtime/core/utils/utils.d.ts +5 -9
  212. app-ng-runtime/http/bundles/index.umd.js +7 -7
  213. app-ng-runtime/http/esm2022/http.service.mjs +5 -4
  214. app-ng-runtime/http/esm2022/wm-http-request.mjs +1 -1
  215. app-ng-runtime/http/esm2022/wm-http-response.mjs +1 -1
  216. app-ng-runtime/http/fesm2022/index.mjs +4 -3
  217. app-ng-runtime/http/fesm2022/index.mjs.map +1 -1
  218. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +24 -20
  219. app-ng-runtime/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +5 -4
  220. app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +12 -8
  221. app-ng-runtime/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +5 -3
  222. app-ng-runtime/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +3 -2
  223. app-ng-runtime/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +5 -4
  224. app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs +21 -16
  225. app-ng-runtime/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  226. app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +7 -7
  227. app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +2 -2
  228. app-ng-runtime/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +4 -3
  229. app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs +4 -3
  230. app-ng-runtime/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  231. app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +8 -8
  232. app-ng-runtime/mobile/components/data/media-list/esm2022/media-list.component.mjs +4 -3
  233. app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs +3 -2
  234. app-ng-runtime/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  235. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +5 -5
  236. app-ng-runtime/mobile/components/page/default/esm2022/page.directive.mjs +3 -2
  237. app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs +2 -1
  238. app-ng-runtime/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
  239. app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +9 -9
  240. app-ng-runtime/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +7 -6
  241. app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs +6 -5
  242. app-ng-runtime/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  243. app-ng-runtime/mobile/core/bundles/index.umd.js +25 -25
  244. app-ng-runtime/mobile/core/esm2022/services/device-file-download.service.mjs +5 -4
  245. app-ng-runtime/mobile/core/esm2022/services/device-file-opener.service.mjs +3 -2
  246. app-ng-runtime/mobile/core/esm2022/services/device-file-upload.service.mjs +4 -3
  247. app-ng-runtime/mobile/core/esm2022/services/device-file.service.mjs +6 -5
  248. app-ng-runtime/mobile/core/esm2022/services/device.service.mjs +3 -2
  249. app-ng-runtime/mobile/core/esm2022/services/ext-app-message.service.mjs +5 -4
  250. app-ng-runtime/mobile/core/esm2022/services/network.service.mjs +9 -8
  251. app-ng-runtime/mobile/core/fesm2022/index.mjs +22 -21
  252. app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
  253. app-ng-runtime/mobile/core/services/ext-app-message.service.d.ts +1 -1
  254. app-ng-runtime/mobile/core/services/network.service.d.ts +7 -1
  255. app-ng-runtime/mobile/offline/bundles/index.umd.js +161 -144
  256. app-ng-runtime/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
  257. app-ng-runtime/mobile/offline/esm2022/services/change-log.service.mjs +7 -6
  258. app-ng-runtime/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +37 -35
  259. app-ng-runtime/mobile/offline/esm2022/services/local-db-management.service.mjs +54 -45
  260. app-ng-runtime/mobile/offline/esm2022/services/local-db.service.mjs +5 -4
  261. app-ng-runtime/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
  262. app-ng-runtime/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
  263. app-ng-runtime/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
  264. app-ng-runtime/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
  265. app-ng-runtime/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
  266. app-ng-runtime/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
  267. app-ng-runtime/mobile/offline/fesm2022/index.mjs +156 -138
  268. app-ng-runtime/mobile/offline/fesm2022/index.mjs.map +1 -1
  269. app-ng-runtime/mobile/runtime/bundles/index.umd.js +11 -8
  270. app-ng-runtime/mobile/runtime/esm2022/mobile-runtime.module.mjs +3 -2
  271. app-ng-runtime/mobile/runtime/esm2022/services/cookie.service.mjs +6 -2
  272. app-ng-runtime/mobile/runtime/esm2022/services/http-interceptor.service.mjs +4 -3
  273. app-ng-runtime/mobile/runtime/fesm2022/index.mjs +8 -4
  274. app-ng-runtime/mobile/runtime/fesm2022/index.mjs.map +1 -1
  275. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +2 -2
  276. app-ng-runtime/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +3 -3
  277. app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs +2 -2
  278. app-ng-runtime/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
  279. app-ng-runtime/mobile/variables/bundles/index.umd.js +23 -16
  280. app-ng-runtime/mobile/variables/esm2022/services/camera-service.mjs +2 -2
  281. app-ng-runtime/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
  282. app-ng-runtime/mobile/variables/esm2022/services/file-service.mjs +11 -3
  283. app-ng-runtime/mobile/variables/fesm2022/index.mjs +19 -11
  284. app-ng-runtime/mobile/variables/fesm2022/index.mjs.map +1 -1
  285. app-ng-runtime/oAuth/bundles/index.umd.js +12 -12
  286. app-ng-runtime/oAuth/esm2022/oAuth.service.mjs +4 -3
  287. app-ng-runtime/oAuth/esm2022/oAuth.utils.mjs +8 -7
  288. app-ng-runtime/oAuth/fesm2022/index.mjs +9 -8
  289. app-ng-runtime/oAuth/fesm2022/index.mjs.map +1 -1
  290. app-ng-runtime/package.json +1 -1
  291. app-ng-runtime/runtime/base/bundles/index.umd.js +121 -120
  292. app-ng-runtime/runtime/base/esm2022/components/base-layout.component.mjs +4 -3
  293. app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +14 -13
  294. app-ng-runtime/runtime/base/esm2022/components/base-partial.component.mjs +13 -12
  295. app-ng-runtime/runtime/base/esm2022/components/base-prefab.component.mjs +15 -14
  296. app-ng-runtime/runtime/base/esm2022/components/base-spa-page.component.mjs +14 -13
  297. app-ng-runtime/runtime/base/esm2022/components/custom-toaster.component.mjs +6 -5
  298. app-ng-runtime/runtime/base/esm2022/directives/accessroles.directive.mjs +11 -10
  299. app-ng-runtime/runtime/base/esm2022/guards/page-not-found.guard.mjs +1 -1
  300. app-ng-runtime/runtime/base/esm2022/guards/role.guard.mjs +3 -2
  301. app-ng-runtime/runtime/base/esm2022/services/app-defaults.service.mjs +1 -1
  302. app-ng-runtime/runtime/base/esm2022/services/app.manager.service.mjs +17 -14
  303. app-ng-runtime/runtime/base/esm2022/services/app.service.mjs +7 -6
  304. app-ng-runtime/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +3 -2
  305. app-ng-runtime/runtime/base/esm2022/services/http-interceptor.services.mjs +4 -3
  306. app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +12 -10
  307. app-ng-runtime/runtime/base/esm2022/services/navigation.service.mjs +8 -7
  308. app-ng-runtime/runtime/base/esm2022/services/prefab-manager.service.mjs +3 -2
  309. app-ng-runtime/runtime/base/esm2022/services/spinner.service.mjs +7 -6
  310. app-ng-runtime/runtime/base/esm2022/services/toaster.service.mjs +6 -5
  311. app-ng-runtime/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +6 -7
  312. app-ng-runtime/runtime/base/fesm2022/index.mjs +119 -117
  313. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  314. app-ng-runtime/runtime/base/services/i18n.service.d.ts +1 -1
  315. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +7 -7
  316. app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +4 -3
  317. app-ng-runtime/runtime/dynamic/esm2022/main.mjs +3 -2
  318. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +4 -3
  319. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  320. app-ng-runtime/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
  321. app-ng-runtime/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
  322. app-ng-runtime/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
  323. app-ng-runtime/security/bundles/index.umd.js +14 -14
  324. app-ng-runtime/security/esm2022/security.service.mjs +12 -11
  325. app-ng-runtime/security/fesm2022/index.mjs +11 -10
  326. app-ng-runtime/security/fesm2022/index.mjs.map +1 -1
  327. app-ng-runtime/security/security.service.d.ts +1 -1
  328. app-ng-runtime/swipey/esm2022/swipe.animation.mjs +1 -1
  329. app-ng-runtime/swipey/fesm2022/index.mjs.map +1 -1
  330. app-ng-runtime/transpiler/bundles/index.umd.js +10 -9
  331. app-ng-runtime/transpiler/esm2022/build.mjs +8 -6
  332. app-ng-runtime/transpiler/fesm2022/index.mjs +7 -5
  333. app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
  334. app-ng-runtime/variables/bundles/index.umd.js +155 -145
  335. app-ng-runtime/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
  336. app-ng-runtime/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
  337. app-ng-runtime/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
  338. app-ng-runtime/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
  339. app-ng-runtime/variables/esm2022/service/variables.service.mjs +7 -6
  340. app-ng-runtime/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
  341. app-ng-runtime/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
  342. app-ng-runtime/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
  343. app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +75 -70
  344. app-ng-runtime/variables/fesm2022/index.mjs +169 -158
  345. app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
  346. app-ng-runtime/variables/util/variable/service-variable.utils.d.ts +1 -1
@@ -7,6 +7,7 @@ import * as i2 from '@wm/components/basic';
7
7
  import { BasicModule } from '@wm/components/basic';
8
8
  import * as i1 from '@wm/core';
9
9
  import { isEmptyObject, prettifyLabels, isNumberType, triggerFn, DataSource, getClonedObject, isDataSourceEqual, removeAttr } from '@wm/core';
10
+ import { invert, includes, split, isFinite, isUndefined, forEach, isString, isArray, get, minBy, maxBy, map, first, orderBy, groupBy, max, fill, forEachRight, concat, replace, uniq, intersection, isEmpty, keys, isObject, debounce } from 'lodash-es';
10
11
 
11
12
  const registerProps = () => {
12
13
  register('wm-chart', new Map([
@@ -150,7 +151,7 @@ const dateList = ['01/01/2001', '01/01/2002', '01/01/2003'], themes = {
150
151
  'small': 0.3,
151
152
  'medium': 0.6,
152
153
  'large': 0.7
153
- }, barSpacingMapInvert = _.invert(barSpacingMap), donutRatioMapInvert = _.invert(donutRatioMap), tickformats = {
154
+ }, barSpacingMapInvert = invert(barSpacingMap), donutRatioMapInvert = invert(donutRatioMap), tickformats = {
154
155
  'Thousand': {
155
156
  'prefix': 'K',
156
157
  'divider': 1000
@@ -189,11 +190,11 @@ const isAreaChart = type => type === 'Area';
189
190
  // returns true if chart type is area
190
191
  const isPieType = type => isPieChart(type) || isDonutChart(type);
191
192
  // The format of chart data is array of json objects in case of the following types of chart
192
- const isChartDataJSON = type => _.includes(dataTypeJSON, type) || !_.includes(chartTypes, type);
193
+ const isChartDataJSON = type => includes(dataTypeJSON, type) || !includes(chartTypes, type);
193
194
  // The format of chart data is array of objects in case of the following types of chart
194
- const isChartDataArray = type => _.includes(dataTypeArray, type);
195
+ const isChartDataArray = type => includes(dataTypeArray, type);
195
196
  // returns true is the chart type is 'line', 'area' or 'cumulative line' else false
196
- const isLineTypeChart = type => _.includes(lineTypeCharts, type);
197
+ const isLineTypeChart = type => includes(lineTypeCharts, type);
197
198
  // X/Y Domain properties are supported only for Column and Area charts
198
199
  const isAxisDomainSupported = type => isColumnChart(type) || isAreaChart(type);
199
200
  // Returns bar spacing value
@@ -394,7 +395,7 @@ const getDataType = widgetContext => {
394
395
  return isChartDataJSON(type) ? 'jsonFormat' : 'arrayFormat';
395
396
  };
396
397
  // Sample data to populate when no data is bound
397
- const getSampleData = widgetContext => constructSampleData(getDataType(widgetContext), _.split(widgetContext.yaxisdatakey, ',').length, widgetContext.shape);
398
+ const getSampleData = widgetContext => constructSampleData(getDataType(widgetContext), split(widgetContext.yaxisdatakey, ',').length, widgetContext.shape);
398
399
  // Check whether X/Y Domain was set to Min and is supported for the present chart
399
400
  const isAxisDomainValid = (widgetContext, axis) => {
400
401
  if (widgetContext[axis + 'domain'] === 'Min' && (isAxisDomainSupported(widgetContext.type))) {
@@ -404,7 +405,7 @@ const isAxisDomainValid = (widgetContext, axis) => {
404
405
  };
405
406
  // Check whether min and max values are finite or not
406
407
  const areMinMaxValuesValid = values => {
407
- if (_.isFinite(values.min) && _.isFinite(values.max)) {
408
+ if (isFinite(values.min) && isFinite(values.max)) {
408
409
  return true;
409
410
  }
410
411
  return false;
@@ -444,8 +445,8 @@ const initProperties = (widgetContext, propertyValueMap) => {
444
445
  if (!propertyValueMap || isEmptyObject(propertyValueMap)) {
445
446
  propertyValueMap = {};
446
447
  }
447
- _.forEach(basicProperties, prop => {
448
- if (_.isUndefined(propertyValueMap[prop])) {
448
+ forEach(basicProperties, prop => {
449
+ if (isUndefined(propertyValueMap[prop])) {
449
450
  propertyValueMap[prop] = widgetContext[prop];
450
451
  }
451
452
  });
@@ -680,7 +681,7 @@ const initChart = (widgetContext, xDomainValues, yDomainValues, propertyValueMap
680
681
  }
681
682
  // Setting the legend type choosen by user or default it will be furious
682
683
  chart.legend.vers((propertyValueMap.legendtype && propertyValueMap.legendtype.toLowerCase()) || 'furious');
683
- if (!_.includes(chartTypes, widgetContext.type)) {
684
+ if (!includes(chartTypes, widgetContext.type)) {
684
685
  chart = nv.models.multiBarChart()
685
686
  .x(d => d.x)
686
687
  .y(d => d.y);
@@ -750,10 +751,10 @@ const initChart = (widgetContext, xDomainValues, yDomainValues, propertyValueMap
750
751
  }
751
752
  }
752
753
  // Support for custom colors if user gives direct string of colors in text box
753
- if (_.isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
754
- colors = _.split(propertyValueMap.customcolors, ',');
754
+ if (isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
755
+ colors = split(propertyValueMap.customcolors, ',');
755
756
  }
756
- if (_.isArray(propertyValueMap.customcolors)) {
757
+ if (isArray(propertyValueMap.customcolors)) {
757
758
  colors = propertyValueMap.customcolors;
758
759
  }
759
760
  showLegend = isShowLegend(propertyValueMap.showlegend);
@@ -873,8 +874,8 @@ const getBooleanValue = val => {
873
874
  const getLodashOrderByFormat = orderby => {
874
875
  let columns;
875
876
  const orderByColumns = [], orders = [];
876
- _.forEach(_.split(orderby, ','), function (col) {
877
- columns = _.split(col, ':');
877
+ forEach(split(orderby, ','), function (col) {
878
+ columns = split(col, ':');
878
879
  orderByColumns.push(columns[0]);
879
880
  orders.push(columns[1]);
880
881
  });
@@ -922,7 +923,7 @@ class ChartComponent extends StylableComponent {
922
923
  other than integer unlike the column and bar.It is a nvd3 issue. Inorder to
923
924
  support that this is a fix*/
924
925
  getxAxisVal(dataObj, xKey, index) {
925
- const value = _.get(dataObj, xKey);
926
+ const value = get(dataObj, xKey);
926
927
  // If x axis is other than number type then add indexes
927
928
  if (isLineTypeChart(this.type) && !isNumberType(this.xAxisDataType)) {
928
929
  // Verification to get the unique data keys
@@ -952,7 +953,7 @@ class ChartComponent extends StylableComponent {
952
953
  input: [[10, 20], [20, 30], [30, 40]];
953
954
  min x: 10
954
955
  */
955
- xValues.min = _.minBy(datum.values, dataObject => dataObject.x || dataObject[0]);
956
+ xValues.min = minBy(datum.values, dataObject => dataObject.x || dataObject[0]);
956
957
  /*
957
958
  compute the max x value
958
959
  eg: When data has objects
@@ -962,7 +963,7 @@ class ChartComponent extends StylableComponent {
962
963
  input: [[10, 20], [20, 30], [30, 40]];
963
964
  max x: 30
964
965
  */
965
- xValues.max = _.maxBy(datum.values, dataObject => dataObject.x || dataObject[0]);
966
+ xValues.max = maxBy(datum.values, dataObject => dataObject.x || dataObject[0]);
966
967
  return xValues;
967
968
  }
968
969
  // Getting the min and max values among all the y values
@@ -984,13 +985,17 @@ class ChartComponent extends StylableComponent {
984
985
  min y values : '20'(among first set) & '30'(among second set)
985
986
  max y values : '40'(among first set) & '50'(among second set)
986
987
  */
987
- _.forEach(datum, data => {
988
- minValues.push(_.minBy(data.values, function (dataObject) { return dataObject.y || dataObject[1]; }));
989
- maxValues.push(_.maxBy(data.values, function (dataObject) { return dataObject.y || dataObject[1]; }));
988
+ forEach(datum, data => {
989
+ minValues.push(minBy(data.values, function (dataObject) {
990
+ return dataObject.y || dataObject[1];
991
+ }));
992
+ maxValues.push(maxBy(data.values, function (dataObject) {
993
+ return dataObject.y || dataObject[1];
994
+ }));
990
995
  });
991
996
  // Gets the least and highest values among all the min and max values of respective series of data
992
- yValues.min = _.minBy(minValues, dataObject => dataObject.y || dataObject[1]);
993
- yValues.max = _.maxBy(maxValues, dataObject => dataObject.y || dataObject[1]);
997
+ yValues.min = minBy(minValues, dataObject => dataObject.y || dataObject[1]);
998
+ yValues.max = maxBy(maxValues, dataObject => dataObject.y || dataObject[1]);
994
999
  return yValues;
995
1000
  }
996
1001
  // If the x-axis values are undefined, we return empty array else we return the values
@@ -999,7 +1004,7 @@ class ChartComponent extends StylableComponent {
999
1004
  }
1000
1005
  // Returns the single data point based on the type of the data chart accepts
1001
1006
  valueFinder(dataObj, xKey, yKey, index, shape) {
1002
- const xVal = this.getxAxisVal(dataObj, xKey, index), value = _.get(dataObj, yKey), yVal = parseFloat(value) || value, size = parseFloat(dataObj[this.bubblesize]) || 2;
1007
+ const xVal = this.getxAxisVal(dataObj, xKey, index), value = get(dataObj, yKey), yVal = parseFloat(value) || value, size = parseFloat(dataObj[this.bubblesize]) || 2;
1003
1008
  let dataPoint = {};
1004
1009
  if (isChartDataJSON(this.type)) {
1005
1010
  dataPoint.x = xVal;
@@ -1040,10 +1045,10 @@ class ChartComponent extends StylableComponent {
1040
1045
  }
1041
1046
  let datum = [], yAxisKey, shapes = [], values = [];
1042
1047
  const xAxisKey = this.xaxisdatakey, yAxisKeys = this.yaxisdatakey ? this.yaxisdatakey.split(',') : [], dataSet = this.chartData;
1043
- if (_.isArray(dataSet)) {
1048
+ if (isArray(dataSet)) {
1044
1049
  if (isPieType(this.type)) {
1045
1050
  yAxisKey = yAxisKeys[0];
1046
- datum = _.map(dataSet, (dataObj, index) => {
1051
+ datum = map(dataSet, (dataObj, index) => {
1047
1052
  if (!isEmptyObject(dataSet[index])) {
1048
1053
  return this.valueFinder(dataSet[index], xAxisKey, yAxisKey);
1049
1054
  }
@@ -1055,9 +1060,9 @@ class ChartComponent extends StylableComponent {
1055
1060
  shapes = this.shape === 'random' ? allShapes : this.shape;
1056
1061
  }
1057
1062
  yAxisKeys.forEach((yAxisKey, series) => {
1058
- values = _.map(dataSet, (dataObj, index) => {
1063
+ values = map(dataSet, (dataObj, index) => {
1059
1064
  if (!isEmptyObject(dataSet[index])) {
1060
- return this.valueFinder(dataSet[index], xAxisKey, yAxisKey, index, (_.isArray(shapes) && shapes[series]) || this.shape);
1065
+ return this.valueFinder(dataSet[index], xAxisKey, yAxisKey, index, (isArray(shapes) && shapes[series]) || this.shape);
1061
1066
  }
1062
1067
  });
1063
1068
  values = this.getValidData(values);
@@ -1081,21 +1086,21 @@ class ChartComponent extends StylableComponent {
1081
1086
  // constructing the grouped data based on the selection of orderby, x & y axis
1082
1087
  getVisuallyGroupedData(queryResponse, groupingColumn) {
1083
1088
  let groupData = {}, groupValues = [], orderByDetails, maxLength;
1084
- const chartData = [], _isAreaChart = isAreaChart(this.type), yAxisKey = _.first(_.split(this.yaxisdatakey, ','));
1089
+ const chartData = [], _isAreaChart = isAreaChart(this.type), yAxisKey = first(split(this.yaxisdatakey, ','));
1085
1090
  this.xDataKeyArr = [];
1086
- queryResponse = _.orderBy(queryResponse, _.split(this.groupby, ','));
1091
+ queryResponse = orderBy(queryResponse, split(this.groupby, ','));
1087
1092
  if (this.orderby) {
1088
1093
  orderByDetails = getLodashOrderByFormat(this.orderby);
1089
- queryResponse = _.orderBy(queryResponse, orderByDetails.columns, orderByDetails.orders);
1094
+ queryResponse = orderBy(queryResponse, orderByDetails.columns, orderByDetails.orders);
1090
1095
  }
1091
- queryResponse = _.groupBy(queryResponse, groupingColumn);
1096
+ queryResponse = groupBy(queryResponse, groupingColumn);
1092
1097
  // In case of area chart all the series data should be of same length
1093
1098
  if (_isAreaChart) {
1094
- maxLength = _.max(_.map(queryResponse, obj => obj.length));
1099
+ maxLength = max(map(queryResponse, obj => obj.length));
1095
1100
  }
1096
- _.forEach(queryResponse, (values, groupKey) => {
1097
- groupValues = isAreaChart ? _.fill(new Array(maxLength), [0, 0]) : [];
1098
- _.forEachRight(values, (value, index) => {
1101
+ forEach(queryResponse, (values, groupKey) => {
1102
+ groupValues = isAreaChart ? fill(new Array(maxLength), [0, 0]) : [];
1103
+ forEachRight(values, (value, index) => {
1099
1104
  groupValues[index] = this.valueFinder(value, this.xaxisdatakey, yAxisKey, index);
1100
1105
  });
1101
1106
  groupData = {
@@ -1129,14 +1134,14 @@ class ChartComponent extends StylableComponent {
1129
1134
  columns.push(visualGroupingColumn);
1130
1135
  }
1131
1136
  if (groupbyColumns.length) {
1132
- columns = _.concat(columns, groupbyColumns);
1137
+ columns = concat(columns, groupbyColumns);
1133
1138
  }
1134
1139
  }
1135
1140
  // If x and y axis are not included in aggregation need to be included in groupby
1136
1141
  if (this.xaxisdatakey !== this.aggregationcolumn) {
1137
1142
  columns.push(this.xaxisdatakey);
1138
1143
  }
1139
- _.forEach(yAxisKeys, key => {
1144
+ forEach(yAxisKeys, key => {
1140
1145
  if (key !== this.aggregationcolumn) {
1141
1146
  columns.push(key);
1142
1147
  }
@@ -1164,16 +1169,17 @@ class ChartComponent extends StylableComponent {
1164
1169
  return;
1165
1170
  }
1166
1171
  if (this.isGroupByEnabled()) {
1167
- groupByFields = _.split(this.groupby, ',');
1172
+ groupByFields = split(this.groupby, ',');
1168
1173
  }
1169
1174
  if (this.orderby) {
1170
- sortExpr = _.replace(this.orderby, /:/g, ' ');
1171
- columns = _.uniq(_.concat(columns, groupByFields, [this.aggregationcolumn]));
1175
+ sortExpr = replace(this.orderby, /:/g, ' ');
1176
+ columns = uniq(concat(columns, groupByFields, [this.aggregationcolumn]));
1172
1177
  orderByColumns = getLodashOrderByFormat(this.orderby).columns;
1173
1178
  // If the orderby column is chosen either in groupby or orderby then replace . with $ for that column
1174
- _.forEach(_.intersection(columns, orderByColumns), col => {
1179
+ forEach(intersection(columns, orderByColumns), col => {
1175
1180
  colAlias = getValidAliasName(col);
1176
- sortExpr = _.replace(sortExpr, col, colAlias);
1181
+ // @ts-ignore
1182
+ sortExpr = replace(sortExpr, col, colAlias);
1177
1183
  });
1178
1184
  }
1179
1185
  if (this.isAggregationEnabled()) {
@@ -1195,17 +1201,17 @@ class ChartComponent extends StylableComponent {
1195
1201
  // Transform the result into a format supported by the chart.
1196
1202
  const chartData = [], aggregationAlias = getValidAliasName(this.aggregationcolumn), xAxisAliasKey = getValidAliasName(this.xaxisdatakey), yAxisAliasKeys = [];
1197
1203
  yAxisKeys.forEach(yAxisKey => yAxisAliasKeys.push(getValidAliasName(yAxisKey)));
1198
- _.forEach(response.body.content, (responseContent) => {
1204
+ forEach(response.body.content, (responseContent) => {
1199
1205
  const obj = {};
1200
1206
  // Set the response in the chartData based on 'aggregationColumn', 'xAxisDataKey' & 'yAxisDataKey'.
1201
1207
  if (this.isAggregationEnabled()) {
1202
1208
  obj[this.aggregationcolumn] = responseContent[aggregationAlias];
1203
- obj[this.aggregationcolumn] = _.get(responseContent, aggregationAlias) || _.get(responseContent, this.aggregationcolumn);
1209
+ obj[this.aggregationcolumn] = get(responseContent, aggregationAlias) || get(responseContent, this.aggregationcolumn);
1204
1210
  }
1205
- obj[this.xaxisdatakey] = _.get(responseContent, xAxisAliasKey) || _.get(responseContent, this.xaxisdatakey);
1211
+ obj[this.xaxisdatakey] = get(responseContent, xAxisAliasKey) || get(responseContent, this.xaxisdatakey);
1206
1212
  yAxisKeys.forEach((yAxisKey, index) => {
1207
1213
  obj[yAxisKey] = responseContent[yAxisAliasKeys[index]];
1208
- obj[yAxisKey] = _.get(responseContent, yAxisAliasKeys[index]) || _.get(responseContent, yAxisKey);
1214
+ obj[yAxisKey] = get(responseContent, yAxisAliasKeys[index]) || get(responseContent, yAxisKey);
1209
1215
  });
1210
1216
  chartData.push(obj);
1211
1217
  });
@@ -1331,7 +1337,11 @@ class ChartComponent extends StylableComponent {
1331
1337
  break;
1332
1338
  }
1333
1339
  this.selecteditem = dataObj;
1334
- this.invokeEventCallback('select', { $event: d3.event, selectedChartItem: data, selectedItem: this.selecteditem });
1340
+ this.invokeEventCallback('select', {
1341
+ $event: event,
1342
+ selectedChartItem: data,
1343
+ selectedItem: this.selecteditem
1344
+ });
1335
1345
  });
1336
1346
  }
1337
1347
  /* Returns Y Scale min value
@@ -1370,7 +1380,7 @@ class ChartComponent extends StylableComponent {
1370
1380
  }
1371
1381
  }
1372
1382
  // prepare text style props object and set
1373
- _.forEach(styleProps, (value, key) => {
1383
+ forEach(styleProps, (value, key) => {
1374
1384
  if (key === 'fontsize' || key === 'fontunit') {
1375
1385
  styleObj[value] = this.fontsize + this.fontunit;
1376
1386
  }
@@ -1423,7 +1433,7 @@ class ChartComponent extends StylableComponent {
1423
1433
  }
1424
1434
  // get the chart object
1425
1435
  chart = initChart(this, xDomainValues, yDomainValues, null, !this.binddataset);
1426
- if (_.isArray(this._processedData)) {
1436
+ if (isArray(this._processedData)) {
1427
1437
  // WMS-19499: To remove chart X-axis old ticks when chart data loaded dynamically.
1428
1438
  const oldgTicks = $('#wmChart' + this.$id + ' svg').find('g.nv-x').find('g.tick');
1429
1439
  if (oldgTicks && oldgTicks.length) {
@@ -1514,7 +1524,7 @@ class ChartComponent extends StylableComponent {
1514
1524
  this.yaxisdatakey = defaultColumns[1] || null;
1515
1525
  }
1516
1526
  getCutomizedOptions(prop, fields) {
1517
- const groupByColumns = _.split(this.groupby, ','), aggColumns = _.split(this.aggregationcolumn, ',');
1527
+ const groupByColumns = split(this.groupby, ','), aggColumns = split(this.aggregationcolumn, ',');
1518
1528
  if (!this.binddataset) {
1519
1529
  return fields;
1520
1530
  }
@@ -1554,7 +1564,7 @@ class ChartComponent extends StylableComponent {
1554
1564
  case 'orderby':
1555
1565
  // Set the 'aggregationColumn' to show all keys in case of aggregation function is count or to numeric keys in all other cases.
1556
1566
  if (this.isLiveVariable && this.isAggregationEnabled()) {
1557
- newOptions = _.uniq(_.concat(groupByColumns, aggColumns));
1567
+ newOptions = uniq(concat(groupByColumns, aggColumns));
1558
1568
  }
1559
1569
  break;
1560
1570
  case 'bubblesize':
@@ -1572,12 +1582,12 @@ class ChartComponent extends StylableComponent {
1572
1582
  this.numericColumns = [];
1573
1583
  this.nonPrimaryColumns = [];
1574
1584
  // Fetching all the columns
1575
- if (this.dataset && !_.isEmpty(propertiesMap)) {
1585
+ if (this.dataset && !isEmpty(propertiesMap)) {
1576
1586
  columns = []; // TODO: fetchPropertiesMapColumns(propertiesMap);
1577
1587
  }
1578
1588
  if (columns) {
1579
1589
  // Iterating through all the columns and fetching the numeric and non primary key columns
1580
- _.forEach(Object.keys(columns), (key) => {
1590
+ forEach(Object.keys(columns), (key) => {
1581
1591
  type = columns[key].type;
1582
1592
  if (isNumberType(type)) {
1583
1593
  this.numericColumns.push(key);
@@ -1600,9 +1610,9 @@ class ChartComponent extends StylableComponent {
1600
1610
  this.axisoptions = null;
1601
1611
  }
1602
1612
  // liveVariables contain data in 'data' property' of the variable
1603
- this.chartData = this.isLiveVariable ? newVal || '' : (newVal && newVal.dataValue === '' && _.keys(newVal).length === 1) ? '' : newVal;
1613
+ this.chartData = this.isLiveVariable ? newVal || '' : (newVal && newVal.dataValue === '' && keys(newVal).length === 1) ? '' : newVal;
1604
1614
  // if the data returned is an object make it an array of object
1605
- if (!_.isArray(this.chartData) && _.isObject(this.chartData)) {
1615
+ if (!isArray(this.chartData) && isObject(this.chartData)) {
1606
1616
  this.chartData = [this.chartData];
1607
1617
  }
1608
1618
  if (newVal && newVal.filterFields) {
@@ -1672,7 +1682,7 @@ class ChartComponent extends StylableComponent {
1672
1682
  this._plotChartProxy();
1673
1683
  break;
1674
1684
  }
1675
- if (_.includes(advanceDataProps, key)) {
1685
+ if (includes(advanceDataProps, key)) {
1676
1686
  this._plotChartProxy();
1677
1687
  }
1678
1688
  }
@@ -1711,7 +1721,7 @@ class ChartComponent extends StylableComponent {
1711
1721
  this.chartData = [];
1712
1722
  this._processedData = [];
1713
1723
  this._subsciptions = [];
1714
- this._plotChartProxy = _.debounce(this.plotChartProxy.bind(this), 100);
1724
+ this._plotChartProxy = debounce(this.plotChartProxy.bind(this), 100);
1715
1725
  this.redraw = this._plotChartProxy.bind(this);
1716
1726
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER, ['fontsize', 'fontunit', 'color', 'fontfamily', 'fontweight', 'fontstyle', 'textdecoration']);
1717
1727
  // generate unique id for the component
@@ -1728,7 +1738,7 @@ class ChartComponent extends StylableComponent {
1728
1738
  ngAfterViewInit() {
1729
1739
  super.ngAfterViewInit();
1730
1740
  // For old projects
1731
- if (!_.includes(['outside', 'inside', 'hide'], this.showlabels)) {
1741
+ if (!includes(['outside', 'inside', 'hide'], this.showlabels)) {
1732
1742
  this.showlabels = getBooleanValue(this.showlabels);
1733
1743
  this.showlabelsoutside = getBooleanValue(this.showlabelsoutside);
1734
1744
  this.showlabels = this.showlabels ? (this.showlabelsoutside ? 'outside' : 'inside') : 'hide';
@@ -1787,7 +1797,7 @@ class ChartComponent extends StylableComponent {
1787
1797
  type: HostBinding,
1788
1798
  args: ['class.panel']
1789
1799
  }] }); })();
1790
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChartComponent, { className: "ChartComponent", filePath: "chart.component.ts", lineNumber: 122 }); })();
1800
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChartComponent, { className: "ChartComponent", filePath: "chart.component.ts", lineNumber: 139 }); })();
1791
1801
 
1792
1802
  const components = [
1793
1803
  ChartComponent