@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
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base'), require('@wm/components/basic'), require('@wm/core')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base', '@wm/components/basic', '@wm/core'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.chart = {}), global.ng.core, global.ng.common, global.wm.components.base, global.wm.components.basic, global.wm.core));
5
- })(this, (function (exports, i0, i3, base, i2, i1) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base'), require('@wm/components/basic'), require('@wm/core'), require('lodash-es')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base', '@wm/components/basic', '@wm/core', 'lodash-es'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.chart = {}), global.ng.core, global.ng.common, global.wm.components.base, global.wm.components.basic, global.wm.core, global._));
5
+ })(this, (function (exports, i0, i3, base, i2, i1, lodashEs) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -168,7 +168,7 @@
168
168
  'small': 0.3,
169
169
  'medium': 0.6,
170
170
  'large': 0.7
171
- }, barSpacingMapInvert = _.invert(barSpacingMap), donutRatioMapInvert = _.invert(donutRatioMap), tickformats = {
171
+ }, barSpacingMapInvert = lodashEs.invert(barSpacingMap), donutRatioMapInvert = lodashEs.invert(donutRatioMap), tickformats = {
172
172
  'Thousand': {
173
173
  'prefix': 'K',
174
174
  'divider': 1000
@@ -207,11 +207,11 @@
207
207
  // returns true if chart type is area
208
208
  const isPieType = type => isPieChart(type) || isDonutChart(type);
209
209
  // The format of chart data is array of json objects in case of the following types of chart
210
- const isChartDataJSON = type => _.includes(dataTypeJSON, type) || !_.includes(chartTypes, type);
210
+ const isChartDataJSON = type => lodashEs.includes(dataTypeJSON, type) || !lodashEs.includes(chartTypes, type);
211
211
  // The format of chart data is array of objects in case of the following types of chart
212
- const isChartDataArray = type => _.includes(dataTypeArray, type);
212
+ const isChartDataArray = type => lodashEs.includes(dataTypeArray, type);
213
213
  // returns true is the chart type is 'line', 'area' or 'cumulative line' else false
214
- const isLineTypeChart = type => _.includes(lineTypeCharts, type);
214
+ const isLineTypeChart = type => lodashEs.includes(lineTypeCharts, type);
215
215
  // X/Y Domain properties are supported only for Column and Area charts
216
216
  const isAxisDomainSupported = type => isColumnChart(type) || isAreaChart(type);
217
217
  // Returns bar spacing value
@@ -412,7 +412,7 @@
412
412
  return isChartDataJSON(type) ? 'jsonFormat' : 'arrayFormat';
413
413
  };
414
414
  // Sample data to populate when no data is bound
415
- const getSampleData = widgetContext => constructSampleData(getDataType(widgetContext), _.split(widgetContext.yaxisdatakey, ',').length, widgetContext.shape);
415
+ const getSampleData = widgetContext => constructSampleData(getDataType(widgetContext), lodashEs.split(widgetContext.yaxisdatakey, ',').length, widgetContext.shape);
416
416
  // Check whether X/Y Domain was set to Min and is supported for the present chart
417
417
  const isAxisDomainValid = (widgetContext, axis) => {
418
418
  if (widgetContext[axis + 'domain'] === 'Min' && (isAxisDomainSupported(widgetContext.type))) {
@@ -422,7 +422,7 @@
422
422
  };
423
423
  // Check whether min and max values are finite or not
424
424
  const areMinMaxValuesValid = values => {
425
- if (_.isFinite(values.min) && _.isFinite(values.max)) {
425
+ if (lodashEs.isFinite(values.min) && lodashEs.isFinite(values.max)) {
426
426
  return true;
427
427
  }
428
428
  return false;
@@ -462,8 +462,8 @@
462
462
  if (!propertyValueMap || i1.isEmptyObject(propertyValueMap)) {
463
463
  propertyValueMap = {};
464
464
  }
465
- _.forEach(basicProperties, prop => {
466
- if (_.isUndefined(propertyValueMap[prop])) {
465
+ lodashEs.forEach(basicProperties, prop => {
466
+ if (lodashEs.isUndefined(propertyValueMap[prop])) {
467
467
  propertyValueMap[prop] = widgetContext[prop];
468
468
  }
469
469
  });
@@ -668,7 +668,7 @@
668
668
  }
669
669
  // Setting the legend type choosen by user or default it will be furious
670
670
  chart.legend.vers((propertyValueMap.legendtype && propertyValueMap.legendtype.toLowerCase()) || 'furious');
671
- if (!_.includes(chartTypes, widgetContext.type)) {
671
+ if (!lodashEs.includes(chartTypes, widgetContext.type)) {
672
672
  chart = nv.models.multiBarChart()
673
673
  .x(d => d.x)
674
674
  .y(d => d.y);
@@ -738,10 +738,10 @@
738
738
  }
739
739
  }
740
740
  // Support for custom colors if user gives direct string of colors in text box
741
- if (_.isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
742
- colors = _.split(propertyValueMap.customcolors, ',');
741
+ if (lodashEs.isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
742
+ colors = lodashEs.split(propertyValueMap.customcolors, ',');
743
743
  }
744
- if (_.isArray(propertyValueMap.customcolors)) {
744
+ if (lodashEs.isArray(propertyValueMap.customcolors)) {
745
745
  colors = propertyValueMap.customcolors;
746
746
  }
747
747
  showLegend = isShowLegend(propertyValueMap.showlegend);
@@ -858,8 +858,8 @@
858
858
  const getLodashOrderByFormat = orderby => {
859
859
  let columns;
860
860
  const orderByColumns = [], orders = [];
861
- _.forEach(_.split(orderby, ','), function (col) {
862
- columns = _.split(col, ':');
861
+ lodashEs.forEach(lodashEs.split(orderby, ','), function (col) {
862
+ columns = lodashEs.split(col, ':');
863
863
  orderByColumns.push(columns[0]);
864
864
  orders.push(columns[1]);
865
865
  });
@@ -907,7 +907,7 @@
907
907
  other than integer unlike the column and bar.It is a nvd3 issue. Inorder to
908
908
  support that this is a fix*/
909
909
  getxAxisVal(dataObj, xKey, index) {
910
- const value = _.get(dataObj, xKey);
910
+ const value = lodashEs.get(dataObj, xKey);
911
911
  // If x axis is other than number type then add indexes
912
912
  if (isLineTypeChart(this.type) && !i1.isNumberType(this.xAxisDataType)) {
913
913
  // Verification to get the unique data keys
@@ -937,7 +937,7 @@
937
937
  input: [[10, 20], [20, 30], [30, 40]];
938
938
  min x: 10
939
939
  */
940
- xValues.min = _.minBy(datum.values, dataObject => dataObject.x || dataObject[0]);
940
+ xValues.min = lodashEs.minBy(datum.values, dataObject => dataObject.x || dataObject[0]);
941
941
  /*
942
942
  compute the max x value
943
943
  eg: When data has objects
@@ -947,7 +947,7 @@
947
947
  input: [[10, 20], [20, 30], [30, 40]];
948
948
  max x: 30
949
949
  */
950
- xValues.max = _.maxBy(datum.values, dataObject => dataObject.x || dataObject[0]);
950
+ xValues.max = lodashEs.maxBy(datum.values, dataObject => dataObject.x || dataObject[0]);
951
951
  return xValues;
952
952
  }
953
953
  // Getting the min and max values among all the y values
@@ -969,13 +969,17 @@
969
969
  min y values : '20'(among first set) & '30'(among second set)
970
970
  max y values : '40'(among first set) & '50'(among second set)
971
971
  */
972
- _.forEach(datum, data => {
973
- minValues.push(_.minBy(data.values, function (dataObject) { return dataObject.y || dataObject[1]; }));
974
- maxValues.push(_.maxBy(data.values, function (dataObject) { return dataObject.y || dataObject[1]; }));
972
+ lodashEs.forEach(datum, data => {
973
+ minValues.push(lodashEs.minBy(data.values, function (dataObject) {
974
+ return dataObject.y || dataObject[1];
975
+ }));
976
+ maxValues.push(lodashEs.maxBy(data.values, function (dataObject) {
977
+ return dataObject.y || dataObject[1];
978
+ }));
975
979
  });
976
980
  // Gets the least and highest values among all the min and max values of respective series of data
977
- yValues.min = _.minBy(minValues, dataObject => dataObject.y || dataObject[1]);
978
- yValues.max = _.maxBy(maxValues, dataObject => dataObject.y || dataObject[1]);
981
+ yValues.min = lodashEs.minBy(minValues, dataObject => dataObject.y || dataObject[1]);
982
+ yValues.max = lodashEs.maxBy(maxValues, dataObject => dataObject.y || dataObject[1]);
979
983
  return yValues;
980
984
  }
981
985
  // If the x-axis values are undefined, we return empty array else we return the values
@@ -984,7 +988,7 @@
984
988
  }
985
989
  // Returns the single data point based on the type of the data chart accepts
986
990
  valueFinder(dataObj, xKey, yKey, index, shape) {
987
- const xVal = this.getxAxisVal(dataObj, xKey, index), value = _.get(dataObj, yKey), yVal = parseFloat(value) || value, size = parseFloat(dataObj[this.bubblesize]) || 2;
991
+ const xVal = this.getxAxisVal(dataObj, xKey, index), value = lodashEs.get(dataObj, yKey), yVal = parseFloat(value) || value, size = parseFloat(dataObj[this.bubblesize]) || 2;
988
992
  let dataPoint = {};
989
993
  if (isChartDataJSON(this.type)) {
990
994
  dataPoint.x = xVal;
@@ -1025,10 +1029,10 @@
1025
1029
  }
1026
1030
  let datum = [], yAxisKey, shapes = [], values = [];
1027
1031
  const xAxisKey = this.xaxisdatakey, yAxisKeys = this.yaxisdatakey ? this.yaxisdatakey.split(',') : [], dataSet = this.chartData;
1028
- if (_.isArray(dataSet)) {
1032
+ if (lodashEs.isArray(dataSet)) {
1029
1033
  if (isPieType(this.type)) {
1030
1034
  yAxisKey = yAxisKeys[0];
1031
- datum = _.map(dataSet, (dataObj, index) => {
1035
+ datum = lodashEs.map(dataSet, (dataObj, index) => {
1032
1036
  if (!i1.isEmptyObject(dataSet[index])) {
1033
1037
  return this.valueFinder(dataSet[index], xAxisKey, yAxisKey);
1034
1038
  }
@@ -1040,9 +1044,9 @@
1040
1044
  shapes = this.shape === 'random' ? allShapes : this.shape;
1041
1045
  }
1042
1046
  yAxisKeys.forEach((yAxisKey, series) => {
1043
- values = _.map(dataSet, (dataObj, index) => {
1047
+ values = lodashEs.map(dataSet, (dataObj, index) => {
1044
1048
  if (!i1.isEmptyObject(dataSet[index])) {
1045
- return this.valueFinder(dataSet[index], xAxisKey, yAxisKey, index, (_.isArray(shapes) && shapes[series]) || this.shape);
1049
+ return this.valueFinder(dataSet[index], xAxisKey, yAxisKey, index, (lodashEs.isArray(shapes) && shapes[series]) || this.shape);
1046
1050
  }
1047
1051
  });
1048
1052
  values = this.getValidData(values);
@@ -1066,21 +1070,21 @@
1066
1070
  // constructing the grouped data based on the selection of orderby, x & y axis
1067
1071
  getVisuallyGroupedData(queryResponse, groupingColumn) {
1068
1072
  let groupData = {}, groupValues = [], orderByDetails, maxLength;
1069
- const chartData = [], _isAreaChart = isAreaChart(this.type), yAxisKey = _.first(_.split(this.yaxisdatakey, ','));
1073
+ const chartData = [], _isAreaChart = isAreaChart(this.type), yAxisKey = lodashEs.first(lodashEs.split(this.yaxisdatakey, ','));
1070
1074
  this.xDataKeyArr = [];
1071
- queryResponse = _.orderBy(queryResponse, _.split(this.groupby, ','));
1075
+ queryResponse = lodashEs.orderBy(queryResponse, lodashEs.split(this.groupby, ','));
1072
1076
  if (this.orderby) {
1073
1077
  orderByDetails = getLodashOrderByFormat(this.orderby);
1074
- queryResponse = _.orderBy(queryResponse, orderByDetails.columns, orderByDetails.orders);
1078
+ queryResponse = lodashEs.orderBy(queryResponse, orderByDetails.columns, orderByDetails.orders);
1075
1079
  }
1076
- queryResponse = _.groupBy(queryResponse, groupingColumn);
1080
+ queryResponse = lodashEs.groupBy(queryResponse, groupingColumn);
1077
1081
  // In case of area chart all the series data should be of same length
1078
1082
  if (_isAreaChart) {
1079
- maxLength = _.max(_.map(queryResponse, obj => obj.length));
1083
+ maxLength = lodashEs.max(lodashEs.map(queryResponse, obj => obj.length));
1080
1084
  }
1081
- _.forEach(queryResponse, (values, groupKey) => {
1082
- groupValues = isAreaChart ? _.fill(new Array(maxLength), [0, 0]) : [];
1083
- _.forEachRight(values, (value, index) => {
1085
+ lodashEs.forEach(queryResponse, (values, groupKey) => {
1086
+ groupValues = isAreaChart ? lodashEs.fill(new Array(maxLength), [0, 0]) : [];
1087
+ lodashEs.forEachRight(values, (value, index) => {
1084
1088
  groupValues[index] = this.valueFinder(value, this.xaxisdatakey, yAxisKey, index);
1085
1089
  });
1086
1090
  groupData = {
@@ -1114,14 +1118,14 @@
1114
1118
  columns.push(visualGroupingColumn);
1115
1119
  }
1116
1120
  if (groupbyColumns.length) {
1117
- columns = _.concat(columns, groupbyColumns);
1121
+ columns = lodashEs.concat(columns, groupbyColumns);
1118
1122
  }
1119
1123
  }
1120
1124
  // If x and y axis are not included in aggregation need to be included in groupby
1121
1125
  if (this.xaxisdatakey !== this.aggregationcolumn) {
1122
1126
  columns.push(this.xaxisdatakey);
1123
1127
  }
1124
- _.forEach(yAxisKeys, key => {
1128
+ lodashEs.forEach(yAxisKeys, key => {
1125
1129
  if (key !== this.aggregationcolumn) {
1126
1130
  columns.push(key);
1127
1131
  }
@@ -1149,16 +1153,17 @@
1149
1153
  return;
1150
1154
  }
1151
1155
  if (this.isGroupByEnabled()) {
1152
- groupByFields = _.split(this.groupby, ',');
1156
+ groupByFields = lodashEs.split(this.groupby, ',');
1153
1157
  }
1154
1158
  if (this.orderby) {
1155
- sortExpr = _.replace(this.orderby, /:/g, ' ');
1156
- columns = _.uniq(_.concat(columns, groupByFields, [this.aggregationcolumn]));
1159
+ sortExpr = lodashEs.replace(this.orderby, /:/g, ' ');
1160
+ columns = lodashEs.uniq(lodashEs.concat(columns, groupByFields, [this.aggregationcolumn]));
1157
1161
  orderByColumns = getLodashOrderByFormat(this.orderby).columns;
1158
1162
  // If the orderby column is chosen either in groupby or orderby then replace . with $ for that column
1159
- _.forEach(_.intersection(columns, orderByColumns), col => {
1163
+ lodashEs.forEach(lodashEs.intersection(columns, orderByColumns), col => {
1160
1164
  colAlias = getValidAliasName(col);
1161
- sortExpr = _.replace(sortExpr, col, colAlias);
1165
+ // @ts-ignore
1166
+ sortExpr = lodashEs.replace(sortExpr, col, colAlias);
1162
1167
  });
1163
1168
  }
1164
1169
  if (this.isAggregationEnabled()) {
@@ -1180,17 +1185,17 @@
1180
1185
  // Transform the result into a format supported by the chart.
1181
1186
  const chartData = [], aggregationAlias = getValidAliasName(this.aggregationcolumn), xAxisAliasKey = getValidAliasName(this.xaxisdatakey), yAxisAliasKeys = [];
1182
1187
  yAxisKeys.forEach(yAxisKey => yAxisAliasKeys.push(getValidAliasName(yAxisKey)));
1183
- _.forEach(response.body.content, (responseContent) => {
1188
+ lodashEs.forEach(response.body.content, (responseContent) => {
1184
1189
  const obj = {};
1185
1190
  // Set the response in the chartData based on 'aggregationColumn', 'xAxisDataKey' & 'yAxisDataKey'.
1186
1191
  if (this.isAggregationEnabled()) {
1187
1192
  obj[this.aggregationcolumn] = responseContent[aggregationAlias];
1188
- obj[this.aggregationcolumn] = _.get(responseContent, aggregationAlias) || _.get(responseContent, this.aggregationcolumn);
1193
+ obj[this.aggregationcolumn] = lodashEs.get(responseContent, aggregationAlias) || lodashEs.get(responseContent, this.aggregationcolumn);
1189
1194
  }
1190
- obj[this.xaxisdatakey] = _.get(responseContent, xAxisAliasKey) || _.get(responseContent, this.xaxisdatakey);
1195
+ obj[this.xaxisdatakey] = lodashEs.get(responseContent, xAxisAliasKey) || lodashEs.get(responseContent, this.xaxisdatakey);
1191
1196
  yAxisKeys.forEach((yAxisKey, index) => {
1192
1197
  obj[yAxisKey] = responseContent[yAxisAliasKeys[index]];
1193
- obj[yAxisKey] = _.get(responseContent, yAxisAliasKeys[index]) || _.get(responseContent, yAxisKey);
1198
+ obj[yAxisKey] = lodashEs.get(responseContent, yAxisAliasKeys[index]) || lodashEs.get(responseContent, yAxisKey);
1194
1199
  });
1195
1200
  chartData.push(obj);
1196
1201
  });
@@ -1316,7 +1321,11 @@
1316
1321
  break;
1317
1322
  }
1318
1323
  this.selecteditem = dataObj;
1319
- this.invokeEventCallback('select', { $event: d3.event, selectedChartItem: data, selectedItem: this.selecteditem });
1324
+ this.invokeEventCallback('select', {
1325
+ $event: event,
1326
+ selectedChartItem: data,
1327
+ selectedItem: this.selecteditem
1328
+ });
1320
1329
  });
1321
1330
  }
1322
1331
  /* Returns Y Scale min value
@@ -1355,7 +1364,7 @@
1355
1364
  }
1356
1365
  }
1357
1366
  // prepare text style props object and set
1358
- _.forEach(styleProps, (value, key) => {
1367
+ lodashEs.forEach(styleProps, (value, key) => {
1359
1368
  if (key === 'fontsize' || key === 'fontunit') {
1360
1369
  styleObj[value] = this.fontsize + this.fontunit;
1361
1370
  }
@@ -1400,7 +1409,7 @@
1400
1409
  }
1401
1410
  // get the chart object
1402
1411
  chart = initChart(this, xDomainValues, yDomainValues, null, !this.binddataset);
1403
- if (_.isArray(this._processedData)) {
1412
+ if (lodashEs.isArray(this._processedData)) {
1404
1413
  // WMS-19499: To remove chart X-axis old ticks when chart data loaded dynamically.
1405
1414
  const oldgTicks = $('#wmChart' + this.$id + ' svg').find('g.nv-x').find('g.tick');
1406
1415
  if (oldgTicks && oldgTicks.length) {
@@ -1491,7 +1500,7 @@
1491
1500
  this.yaxisdatakey = defaultColumns[1] || null;
1492
1501
  }
1493
1502
  getCutomizedOptions(prop, fields) {
1494
- const groupByColumns = _.split(this.groupby, ','), aggColumns = _.split(this.aggregationcolumn, ',');
1503
+ const groupByColumns = lodashEs.split(this.groupby, ','), aggColumns = lodashEs.split(this.aggregationcolumn, ',');
1495
1504
  if (!this.binddataset) {
1496
1505
  return fields;
1497
1506
  }
@@ -1531,7 +1540,7 @@
1531
1540
  case 'orderby':
1532
1541
  // Set the 'aggregationColumn' to show all keys in case of aggregation function is count or to numeric keys in all other cases.
1533
1542
  if (this.isLiveVariable && this.isAggregationEnabled()) {
1534
- newOptions = _.uniq(_.concat(groupByColumns, aggColumns));
1543
+ newOptions = lodashEs.uniq(lodashEs.concat(groupByColumns, aggColumns));
1535
1544
  }
1536
1545
  break;
1537
1546
  case 'bubblesize':
@@ -1549,12 +1558,12 @@
1549
1558
  this.numericColumns = [];
1550
1559
  this.nonPrimaryColumns = [];
1551
1560
  // Fetching all the columns
1552
- if (this.dataset && !_.isEmpty(propertiesMap)) {
1561
+ if (this.dataset && !lodashEs.isEmpty(propertiesMap)) {
1553
1562
  columns = []; // TODO: fetchPropertiesMapColumns(propertiesMap);
1554
1563
  }
1555
1564
  if (columns) {
1556
1565
  // Iterating through all the columns and fetching the numeric and non primary key columns
1557
- _.forEach(Object.keys(columns), (key) => {
1566
+ lodashEs.forEach(Object.keys(columns), (key) => {
1558
1567
  type = columns[key].type;
1559
1568
  if (i1.isNumberType(type)) {
1560
1569
  this.numericColumns.push(key);
@@ -1577,9 +1586,9 @@
1577
1586
  this.axisoptions = null;
1578
1587
  }
1579
1588
  // liveVariables contain data in 'data' property' of the variable
1580
- this.chartData = this.isLiveVariable ? newVal || '' : (newVal && newVal.dataValue === '' && _.keys(newVal).length === 1) ? '' : newVal;
1589
+ this.chartData = this.isLiveVariable ? newVal || '' : (newVal && newVal.dataValue === '' && lodashEs.keys(newVal).length === 1) ? '' : newVal;
1581
1590
  // if the data returned is an object make it an array of object
1582
- if (!_.isArray(this.chartData) && _.isObject(this.chartData)) {
1591
+ if (!lodashEs.isArray(this.chartData) && lodashEs.isObject(this.chartData)) {
1583
1592
  this.chartData = [this.chartData];
1584
1593
  }
1585
1594
  if (newVal && newVal.filterFields) {
@@ -1649,7 +1658,7 @@
1649
1658
  this._plotChartProxy();
1650
1659
  break;
1651
1660
  }
1652
- if (_.includes(advanceDataProps, key)) {
1661
+ if (lodashEs.includes(advanceDataProps, key)) {
1653
1662
  this._plotChartProxy();
1654
1663
  }
1655
1664
  }
@@ -1688,7 +1697,7 @@
1688
1697
  this.chartData = [];
1689
1698
  this._processedData = [];
1690
1699
  this._subsciptions = [];
1691
- this._plotChartProxy = _.debounce(this.plotChartProxy.bind(this), 100);
1700
+ this._plotChartProxy = lodashEs.debounce(this.plotChartProxy.bind(this), 100);
1692
1701
  this.redraw = this._plotChartProxy.bind(this);
1693
1702
  base.styler(this.nativeElement, this, base.APPLY_STYLES_TYPE.CONTAINER, ['fontsize', 'fontunit', 'color', 'fontfamily', 'fontweight', 'fontstyle', 'textdecoration']);
1694
1703
  // generate unique id for the component
@@ -1705,7 +1714,7 @@
1705
1714
  ngAfterViewInit() {
1706
1715
  super.ngAfterViewInit();
1707
1716
  // For old projects
1708
- if (!_.includes(['outside', 'inside', 'hide'], this.showlabels)) {
1717
+ if (!lodashEs.includes(['outside', 'inside', 'hide'], this.showlabels)) {
1709
1718
  this.showlabels = getBooleanValue(this.showlabels);
1710
1719
  this.showlabelsoutside = getBooleanValue(this.showlabelsoutside);
1711
1720
  this.showlabels = this.showlabels ? (this.showlabelsoutside ? 'outside' : 'inside') : 'hide';
@@ -1764,7 +1773,7 @@
1764
1773
  type: i0.HostBinding,
1765
1774
  args: ['class.panel']
1766
1775
  }] }); })();
1767
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ChartComponent, { className: "ChartComponent", filePath: "chart.component.ts", lineNumber: 122 }); })();
1776
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ChartComponent, { className: "ChartComponent", filePath: "chart.component.ts", lineNumber: 139 }); })();
1768
1777
 
1769
1778
  const components = [
1770
1779
  ChartComponent
@@ -84,7 +84,7 @@ export declare class ChartComponent extends StylableComponent implements AfterVi
84
84
  getCutomizedOptions(prop: any, fields: any): any;
85
85
  setNumericandNonPrimaryColumns(): void;
86
86
  handleDataSet(newVal: any): void;
87
- _plotChartProxy: any;
87
+ _plotChartProxy: import("lodash").DebouncedFunc<any>;
88
88
  setDonutCenterLabel(labelValue: any): void;
89
89
  onPropertyChange(key: any, newVal: any, oldVal?: any): void;
90
90
  handleLoading(data: any): void;
@@ -7,9 +7,9 @@ export declare const isBubbleChart: (type: any) => boolean;
7
7
  export declare const isColumnChart: (type: any) => boolean;
8
8
  export declare const isAreaChart: (type: any) => boolean;
9
9
  export declare const isPieType: (type: any) => boolean;
10
- export declare const isChartDataJSON: (type: any) => any;
11
- export declare const isChartDataArray: (type: any) => any;
12
- export declare const isLineTypeChart: (type: any) => any;
10
+ export declare const isChartDataJSON: (type: any) => boolean;
11
+ export declare const isChartDataArray: (type: any) => boolean;
12
+ export declare const isLineTypeChart: (type: any) => boolean;
13
13
  export declare const isAxisDomainSupported: (type: any) => boolean;
14
14
  export declare const getBarSpacingValue: (value: any, prop: any) => any;
15
15
  export declare const getRadiusValue: (value: any, prop: any) => any;