@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
@@ -5,11 +5,12 @@ import { ActivatedRoute, Router, RouterOutlet, NavigationStart, NavigationEnd, N
5
5
  import * as i1$2 from '@angular/common';
6
6
  import { AsyncPipe, SlicePipe, PercentPipe, I18nPluralPipe, NgLocalization, I18nSelectPipe, KeyValuePipe, UpperCasePipe, LowerCasePipe, JsonPipe, DecimalPipe, TitleCasePipe, CurrencyPipe, DatePipe, DOCUMENT, ɵgetDOM as _getDOM, CommonModule } from '@angular/common';
7
7
  import * as i1 from '@wm/core';
8
- import { $appDigest, isDefined, triggerFn, fetchContent, stringStartsWith, loadStyleSheets, loadScripts, noop as noop$1, App, AbstractI18nService, ScriptLoaderService, Viewport, UtilsService, $invokeWatchers, registerFnByExpr, LRUCache, muteWatchers, AbstractNavigationService, getWmProjectProperties, isMobileApp, isIos, isAndroid, unMuteWatchers, $watch, isIE, CustomPipeManager, getSessionStorageItem, AbstractDialogService, StatePersistence, AbstractSpinnerService, AbstractToasterService, ConstantService, FieldTypeService, FieldWidgetService, DynamicComponentRefProvider, EventNotifier, isString, setCSS, _WM_APP_PROJECT, isMobile, setSessionStorageItem, replace, setPipeProvider, setNgZone, setAppRef, addClass, removeClass, hasCordova, extendProto, $parseExpr, AppDefaults, isObject, isIphone, isIpod, isIpad, CoreModule } from '@wm/core';
8
+ import { $appDigest, isDefined, triggerFn, fetchContent, stringStartsWith, loadStyleSheets, loadScripts, noop as noop$1, App, AbstractI18nService, ScriptLoaderService, Viewport, UtilsService, $invokeWatchers, registerFnByExpr, LRUCache, muteWatchers, AbstractNavigationService, getWmProjectProperties, isMobileApp, isIos, isAndroid, unMuteWatchers, $watch, isIE, CustomPipeManager, getSessionStorageItem, AbstractDialogService, StatePersistence, AbstractSpinnerService, AbstractToasterService, ConstantService, FieldTypeService, FieldWidgetService, DynamicComponentRefProvider, EventNotifier, setCSS, _WM_APP_PROJECT, isMobile, setSessionStorageItem, replace, setPipeProvider, setNgZone, setAppRef, addClass, removeClass, hasCordova, extendProto, $parseExpr, AppDefaults, isObject as isObject$1, isIphone, isIpod, isIpad, CoreModule } from '@wm/core';
9
9
  import * as i2 from '@wm/security';
10
10
  import { SecurityModule } from '@wm/security';
11
11
  import * as i4 from '@wm/variables';
12
12
  import { CONSTANTS, routerService, $rootScope, VariablesService, appManager, httpService, VariablesModule } from '@wm/variables';
13
+ import { trim, isEmpty, forEach, extend, get, merge, isUndefined, isObject, endsWith, each, isNil, startsWith, split, includes, isString, isNumber, find, intersection, toLower, map, values, keys, findKey, isEqual, filter } from 'lodash-es';
13
14
  import { SpaPageDirective, PageDirective, LayoutDirective, PageModule } from '@wm/components/page';
14
15
  import { Subject } from 'rxjs';
15
16
  import * as i3 from '@wm/components/base';
@@ -145,12 +146,12 @@ class AppManagerService {
145
146
  this.$variables.registerDependency('appManager', this);
146
147
  this.$app.subscribe('toggle-variable-state', (data) => {
147
148
  const variable = data.variable, active = data.active;
148
- if (!_.isEmpty(_.trim(variable.spinnerContext))) {
149
+ if (!isEmpty(trim(variable.spinnerContext))) {
149
150
  if (active) {
150
151
  let spinnerExists;
151
152
  // WMS-21117 : Do not trigger spinner, if the current variable is same as spinner which is in context
152
153
  if (variable._spinnerId && variable._spinnerId.length) {
153
- _.forEach(variable._spinnerId, (item) => {
154
+ forEach(variable._spinnerId, (item) => {
154
155
  if (item.slice(0, item.lastIndexOf('_')) === variable._id && this.$spinner.messagesByContext && this.$spinner.messagesByContext[variable.spinnerContext] &&
155
156
  (variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext]["finalMessage"] || variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext][item])) {
156
157
  spinnerExists = true;
@@ -218,8 +219,8 @@ class AppManagerService {
218
219
  const init = response => {
219
220
  const data = this.$variables.register('app', response, this.$app);
220
221
  // not assigning directly to this.$app to keep the reference in tact
221
- _.extend(this.$app.Variables, data.Variables);
222
- _.extend(this.$app.Actions, data.Actions);
222
+ extend(this.$app.Variables, data.Variables);
223
+ extend(this.$app.Actions, data.Actions);
223
224
  this.updateLoggedInUserVariable();
224
225
  this.updateSupportedLocaleVariable();
225
226
  this.appVariablesLoaded = true;
@@ -252,7 +253,7 @@ class AppManagerService {
252
253
  variable.tenantId = undefined;
253
254
  }
254
255
  updateLoggedInUserVariable() {
255
- const loggedInUser = _.get(this.$app, 'Variables.loggedInUser.dataSet');
256
+ const loggedInUser = get(this.$app, 'Variables.loggedInUser.dataSet');
256
257
  // sanity check
257
258
  if (!loggedInUser) {
258
259
  return;
@@ -291,7 +292,7 @@ class AppManagerService {
291
292
  *
292
293
  */
293
294
  updateSupportedLocaleVariable() {
294
- const supportedLocaleVar = _.get(this.$app, 'Variables.supportedLocale');
295
+ const supportedLocaleVar = get(this.$app, 'Variables.supportedLocale');
295
296
  }
296
297
  handleSSOLogin(config) {
297
298
  const SSO_URL = 'services/security/ssologin', PREVIEW_WINDOW_NAME = 'WM_PREVIEW_WINDOW';
@@ -301,11 +302,11 @@ class AppManagerService {
301
302
  page = this.$security.getRedirectPage(config);
302
303
  if (CONSTANTS.hasCordova) {
303
304
  // get previously loggedInUser name (if any)
304
- const lastLoggedInUsername = _.get(this.$security.get(), 'userInfo.userName');
305
+ const lastLoggedInUsername = get(this.$security.get(), 'userInfo.userName');
305
306
  this.$security.authInBrowser()
306
307
  .then(() => this.reloadAppData())
307
308
  .then(() => {
308
- const presentLoggedInUsername = _.get(this.$security.get(), 'userInfo.userName');
309
+ const presentLoggedInUsername = get(this.$security.get(), 'userInfo.userName');
309
310
  if (presentLoggedInUsername && presentLoggedInUsername === lastLoggedInUsername) {
310
311
  routerService.navigate([page]);
311
312
  }
@@ -319,7 +320,7 @@ class AppManagerService {
319
320
  pageParams = this.$security.getQueryString(this.$security.getRedirectedRouteQueryParams());
320
321
  pageParams = pageParams ? '?' + pageParams : '';
321
322
  // showing a redirecting message
322
- document.body.textContent = _.get(this.getAppLocale(), ['MESSAGE_LOGIN_REDIRECTION']) || 'Redirecting to sso login...';
323
+ document.body.textContent = get(this.getAppLocale(), ['MESSAGE_LOGIN_REDIRECTION']) || 'Redirecting to sso login...';
323
324
  // appending redirect to page and page params
324
325
  const ssoUrl = this.getDeployedURL() + SSO_URL + page + pageParams;
325
326
  /*
@@ -384,7 +385,7 @@ class AppManagerService {
384
385
  }
385
386
  queryParamsObj['redirectTo'] = page;
386
387
  // Adding query params(page params of page being redirected to) to the URL.
387
- queryParamsObj = _.merge(queryParamsObj, this.$security.getRedirectedRouteQueryParams());
388
+ queryParamsObj = merge(queryParamsObj, this.$security.getRedirectedRouteQueryParams());
388
389
  // the redirect page should not be same as session timeout login page
389
390
  if (page !== sessionTimeoutConfig.pageName) {
390
391
  this.$router.navigate([sessionTimeoutConfig.pageName], { queryParams: queryParamsObj });
@@ -412,7 +413,7 @@ class AppManagerService {
412
413
  page = this.$security.getRedirectPage(config, page);
413
414
  queryParamsObj['redirectTo'] = page;
414
415
  const extraQueryParams = (options && options.queryParams) || this.$security.getRedirectedRouteQueryParams();
415
- queryParamsObj = _.merge(queryParamsObj, extraQueryParams);
416
+ queryParamsObj = merge(queryParamsObj, extraQueryParams);
416
417
  this.$router.navigate([loginConfig.pageName], { queryParams: queryParamsObj });
417
418
  this.$app.landingPageName = loginConfig.pageName;
418
419
  break;
@@ -436,7 +437,7 @@ class AppManagerService {
436
437
  });
437
438
  }
438
439
  noRedirect(value) {
439
- if (_.isUndefined(value)) {
440
+ if (isUndefined(value)) {
440
441
  return this._noRedirect;
441
442
  }
442
443
  this._noRedirect = value;
@@ -551,15 +552,17 @@ class AppManagerService {
551
552
  postTemplateBundleInfo() {
552
553
  window.onmessage = (evt) => {
553
554
  const msgData = evt.data;
554
- if (!_.isObject(msgData)) {
555
+ if (!isObject(msgData)) {
555
556
  return;
556
557
  }
558
+ // @ts-ignore
557
559
  const key = msgData.key;
558
560
  switch (key) {
559
561
  case POST_MESSAGES.HIDE_TEMPLATES_SHOW_CASE:
560
562
  // scope.hideShowCase = true;
561
563
  break;
562
564
  case POST_MESSAGES.SELECT_TEMPLATE:
565
+ // @ts-ignore
563
566
  this.showTemplate(msgData.templateIndex);
564
567
  break;
565
568
  }
@@ -617,7 +620,7 @@ class PrefabManagerService {
617
620
  loadStyles(prefabName, { resources: { styles } } = { resources: { styles: [] } }) {
618
621
  const baseUrl = getPrefabBaseUrl(prefabName);
619
622
  const _styles = styles.map(url => {
620
- if (!_.endsWith(url, '/pages/Main/Main.css')) {
623
+ if (!endsWith(url, '/pages/Main/Main.css')) {
621
624
  return getPrefabResourceUrl(url, baseUrl);
622
625
  }
623
626
  return undefined;
@@ -817,7 +820,7 @@ class BasePartialComponent extends FragmentMonitor {
817
820
  */
818
821
  registerExpressions() {
819
822
  const expressions = this.getExpressions();
820
- _.each(expressions, (fn, expr) => {
823
+ each(expressions, (fn, expr) => {
821
824
  registerFnByExpr(expr, fn[0], fn[1]);
822
825
  });
823
826
  }
@@ -852,15 +855,15 @@ class BasePartialComponent extends FragmentMonitor {
852
855
  }
853
856
  mute() {
854
857
  const m = o => { o && o.mute && o.mute(); };
855
- _.each(this.Widgets, m);
856
- _.each(this.Variables, m);
857
- _.each(this.Actions, m);
858
+ each(this.Widgets, m);
859
+ each(this.Variables, m);
860
+ each(this.Actions, m);
858
861
  }
859
862
  unmute() {
860
863
  const um = o => { o && o.unmute && o.unmute(); };
861
- _.each(this.Widgets, um);
862
- _.each(this.Variables, um);
863
- _.each(this.Actions, um);
864
+ each(this.Widgets, um);
865
+ each(this.Variables, um);
866
+ each(this.Actions, um);
864
867
  }
865
868
  // ngOnInit() {
866
869
  // this.init();
@@ -881,14 +884,14 @@ class BasePartialComponent extends FragmentMonitor {
881
884
  this.unmute();
882
885
  if (refreshData) {
883
886
  const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
884
- _.each(this.Variables, refresh);
885
- _.each(this.Actions, refresh);
887
+ each(this.Variables, refresh);
888
+ each(this.Actions, refresh);
886
889
  }
887
- _.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
890
+ each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
888
891
  }
889
892
  ngOnDetach() {
890
893
  this.mute();
891
- _.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
894
+ each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
892
895
  }
893
896
  onReady(params) {
894
897
  }
@@ -928,12 +931,10 @@ let WmDefaultRouteReuseStrategy = class WmDefaultRouteReuseStrategy {
928
931
  });
929
932
  }
930
933
  getKey(route) {
931
- const queryParams = _.chain(route.queryParams)
932
- .keys()
933
- .filter(k => !_.includes(this.paramsToIgnore, k))
934
- .orderBy()
934
+ const queryParams = Object.keys(route.queryParams)
935
+ .filter(k => !this.paramsToIgnore.includes(k))
935
936
  .map(k => k + '=' + route.queryParams[k])
936
- .value().join('&');
937
+ .sort().join('&');
937
938
  let pageName = route.params.pageName;
938
939
  if (route.data.pageName && route.routeConfig.path === '') {
939
940
  pageName = route.data.pageName;
@@ -960,7 +961,7 @@ let WmDefaultRouteReuseStrategy = class WmDefaultRouteReuseStrategy {
960
961
  }
961
962
  isCacheEnabled(route, defaultValue) {
962
963
  const canReuse = route.queryParams[CACHE_PAGE];
963
- if (!_.isNil(canReuse)) {
964
+ if (!isNil(canReuse)) {
964
965
  return (canReuse === 'true' || canReuse === true);
965
966
  }
966
967
  return defaultValue;
@@ -1128,7 +1129,7 @@ class BasePageComponent extends FragmentMonitor {
1128
1129
  }
1129
1130
  }
1130
1131
  registerPageParams() {
1131
- const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = _.extend({}, params));
1132
+ const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = extend({}, params));
1132
1133
  this.registerDestroyListener(() => subscription.unsubscribe());
1133
1134
  }
1134
1135
  registerDestroyListener(fn) {
@@ -1180,7 +1181,7 @@ class BasePageComponent extends FragmentMonitor {
1180
1181
  */
1181
1182
  registerExpressions() {
1182
1183
  const expressions = this.getExpressions();
1183
- _.each(expressions, (fn, expr) => {
1184
+ each(expressions, (fn, expr) => {
1184
1185
  registerFnByExpr(expr, fn[0], fn[1]);
1185
1186
  });
1186
1187
  }
@@ -1372,15 +1373,15 @@ class BasePageComponent extends FragmentMonitor {
1372
1373
  }
1373
1374
  mute() {
1374
1375
  const m = o => { o && o.mute && o.mute(); };
1375
- _.each(this.Widgets, m);
1376
- _.each(this.Variables, m);
1377
- _.each(this.Actions, m);
1376
+ each(this.Widgets, m);
1377
+ each(this.Variables, m);
1378
+ each(this.Actions, m);
1378
1379
  }
1379
1380
  unmute(c = this) {
1380
1381
  const um = o => { o && o.unmute && o.unmute(); };
1381
- _.each(this.Widgets, um);
1382
- _.each(this.Variables, um);
1383
- _.each(this.Actions, um);
1382
+ each(this.Widgets, um);
1383
+ each(this.Variables, um);
1384
+ each(this.Actions, um);
1384
1385
  }
1385
1386
  ngOnAttach() {
1386
1387
  this.route.snapshot.data[CACHE_PAGE] = this.canReuse();
@@ -1395,12 +1396,12 @@ class BasePageComponent extends FragmentMonitor {
1395
1396
  this.App.Widgets = Object.create(this.Widgets);
1396
1397
  if (this.pageDirective && this.pageDirective.refreshdataonattach) {
1397
1398
  const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
1398
- _.each(this.Variables, refresh);
1399
- _.each(this.Actions, refresh);
1399
+ each(this.Variables, refresh);
1400
+ each(this.Actions, refresh);
1400
1401
  }
1401
1402
  this.runPageTransition().then(() => {
1402
1403
  setTimeout(() => this.restoreScrollPosition(), 100);
1403
- _.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
1404
+ each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
1404
1405
  this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
1405
1406
  });
1406
1407
  }
@@ -1408,7 +1409,7 @@ class BasePageComponent extends FragmentMonitor {
1408
1409
  this.saveScrollPosition();
1409
1410
  this.savePageSnapShot();
1410
1411
  this.mute();
1411
- _.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
1412
+ each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
1412
1413
  this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
1413
1414
  }
1414
1415
  ngAfterContentInit() {
@@ -1512,8 +1513,8 @@ class BasePrefabComponent extends FragmentMonitor {
1512
1513
  Object.entries((config.properties || {}))
1513
1514
  .forEach(([key, prop]) => {
1514
1515
  let expr;
1515
- const value = _.trim(prop.value);
1516
- if (_.startsWith(value, 'bind:')) {
1516
+ const value = trim(prop.value);
1517
+ if (startsWith(value, 'bind:')) {
1517
1518
  expr = value.replace('bind:', '');
1518
1519
  }
1519
1520
  Object.defineProperty(this, key, {
@@ -1578,7 +1579,7 @@ class BasePrefabComponent extends FragmentMonitor {
1578
1579
  */
1579
1580
  registerExpressions() {
1580
1581
  const expressions = this.getExpressions();
1581
- _.each(expressions, (fn, expr) => {
1582
+ each(expressions, (fn, expr) => {
1582
1583
  registerFnByExpr(expr, fn[0], fn[1]);
1583
1584
  });
1584
1585
  }
@@ -1606,28 +1607,28 @@ class BasePrefabComponent extends FragmentMonitor {
1606
1607
  }
1607
1608
  mute() {
1608
1609
  const m = o => { o && o.mute && o.mute(); };
1609
- _.each(this.Widgets, m);
1610
- _.each(this.Variables, m);
1611
- _.each(this.Actions, m);
1610
+ each(this.Widgets, m);
1611
+ each(this.Variables, m);
1612
+ each(this.Actions, m);
1612
1613
  }
1613
1614
  unmute() {
1614
1615
  const um = o => { o && o.unmute && o.unmute(); };
1615
- _.each(this.Widgets, um);
1616
- _.each(this.Variables, um);
1617
- _.each(this.Actions, um);
1616
+ each(this.Widgets, um);
1617
+ each(this.Variables, um);
1618
+ each(this.Actions, um);
1618
1619
  }
1619
1620
  ngOnAttach(refreshData) {
1620
1621
  this.unmute();
1621
1622
  if (refreshData) {
1622
1623
  const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
1623
- _.each(this.Variables, refresh);
1624
- _.each(this.Actions, refresh);
1624
+ each(this.Variables, refresh);
1625
+ each(this.Actions, refresh);
1625
1626
  }
1626
- _.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
1627
+ each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
1627
1628
  }
1628
1629
  ngOnDetach() {
1629
1630
  this.mute();
1630
- _.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
1631
+ each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
1631
1632
  }
1632
1633
  ngAfterViewInit() {
1633
1634
  this.loadScripts().then(() => {
@@ -1669,7 +1670,7 @@ class BaseLayoutComponent {
1669
1670
  */
1670
1671
  registerExpressions() {
1671
1672
  const expressions = this.getExpressions();
1672
- _.each(expressions, (fn, expr) => {
1673
+ each(expressions, (fn, expr) => {
1673
1674
  registerFnByExpr(expr, fn[0], fn[1]);
1674
1675
  });
1675
1676
  }
@@ -1710,7 +1711,7 @@ class BaseLayoutComponent {
1710
1711
  // This will be called when child route (Page component in the layout) is activated
1711
1712
  onActivate(pageComponent) {
1712
1713
  //Add page component scope to layout component so that bindings and watchers in the layout will use the page scope
1713
- _.extend(this, pageComponent);
1714
+ extend(this, pageComponent);
1714
1715
  }
1715
1716
  static { this.ɵfac = function BaseLayoutComponent_Factory(t) { return new (t || BaseLayoutComponent)(); }; }
1716
1717
  static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BaseLayoutComponent, viewQuery: function BaseLayoutComponent_Query(rf, ctx) { if (rf & 1) {
@@ -1781,7 +1782,7 @@ class BaseSpaPageComponent extends FragmentMonitor {
1781
1782
  }
1782
1783
  }
1783
1784
  registerPageParams() {
1784
- const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = _.extend({}, params));
1785
+ const subscription = this.route.queryParams.subscribe(params => this.pageParams = this.App.pageParams = extend({}, params));
1785
1786
  this.registerDestroyListener(() => subscription.unsubscribe());
1786
1787
  }
1787
1788
  registerDestroyListener(fn) {
@@ -1833,7 +1834,7 @@ class BaseSpaPageComponent extends FragmentMonitor {
1833
1834
  */
1834
1835
  registerExpressions() {
1835
1836
  const expressions = this.getExpressions();
1836
- _.each(expressions, (fn, expr) => {
1837
+ each(expressions, (fn, expr) => {
1837
1838
  registerFnByExpr(expr, fn[0], fn[1]);
1838
1839
  });
1839
1840
  }
@@ -1997,15 +1998,15 @@ class BaseSpaPageComponent extends FragmentMonitor {
1997
1998
  }
1998
1999
  mute() {
1999
2000
  const m = o => { o && o.mute && o.mute(); };
2000
- _.each(this.Widgets, m);
2001
- _.each(this.Variables, m);
2002
- _.each(this.Actions, m);
2001
+ each(this.Widgets, m);
2002
+ each(this.Variables, m);
2003
+ each(this.Actions, m);
2003
2004
  }
2004
2005
  unmute(c = this) {
2005
2006
  const um = o => { o && o.unmute && o.unmute(); };
2006
- _.each(this.Widgets, um);
2007
- _.each(this.Variables, um);
2008
- _.each(this.Actions, um);
2007
+ each(this.Widgets, um);
2008
+ each(this.Variables, um);
2009
+ each(this.Actions, um);
2009
2010
  }
2010
2011
  ngOnAttach() {
2011
2012
  this.route.snapshot.data[CACHE_PAGE] = this.canReuse();
@@ -2020,12 +2021,12 @@ class BaseSpaPageComponent extends FragmentMonitor {
2020
2021
  this.App.Widgets = Object.create(this.Widgets);
2021
2022
  if (this.spaPageDirective && this.spaPageDirective.refreshdataonattach) {
2022
2023
  const refresh = v => { v && v.startUpdate && v.invoke && v.invoke(); };
2023
- _.each(this.Variables, refresh);
2024
- _.each(this.Actions, refresh);
2024
+ each(this.Variables, refresh);
2025
+ each(this.Actions, refresh);
2025
2026
  }
2026
2027
  this.runPageTransition().then(() => {
2027
2028
  setTimeout(() => this.restoreScrollPosition(), 100);
2028
- _.each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
2029
+ each(this.Widgets, w => w && w.ngOnAttach && w.ngOnAttach());
2029
2030
  this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
2030
2031
  });
2031
2032
  this.appManager.notify('highlightActiveLink', { 'pageName': this.pageName });
@@ -2034,7 +2035,7 @@ class BaseSpaPageComponent extends FragmentMonitor {
2034
2035
  this.saveScrollPosition();
2035
2036
  this.savePageSnapShot();
2036
2037
  this.mute();
2037
- _.each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
2038
+ each(this.Widgets, w => w && w.ngOnDetach && w.ngOnDetach());
2038
2039
  this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
2039
2040
  }
2040
2041
  ngAfterContentInit() {
@@ -2080,9 +2081,9 @@ class AccessrolesDirective {
2080
2081
  this.inj = inj;
2081
2082
  this.processed = false;
2082
2083
  const securityConfig = this.securityService.get();
2083
- this.securityEnabled = _.get(securityConfig, 'securityEnabled');
2084
- this.isUserAuthenticated = _.get(securityConfig, 'authenticated');
2085
- this.userRoles = _.get(securityConfig, 'userInfo.userRoles');
2084
+ this.securityEnabled = get(securityConfig, 'securityEnabled');
2085
+ this.isUserAuthenticated = get(securityConfig, 'authenticated');
2086
+ this.userRoles = get(securityConfig, 'userInfo.userRoles');
2086
2087
  }
2087
2088
  /**
2088
2089
  * Returns array of roles from comma separated string of roles
@@ -2097,8 +2098,8 @@ class AccessrolesDirective {
2097
2098
  return [];
2098
2099
  }
2099
2100
  // replace the unicode equivalent of comma with comma
2100
- return _.split(val, ',').map(function (v) {
2101
- return _.trim(v).replace(UNICODE_COMMA_REGEX, ',');
2101
+ return split(val, ',').map(function (v) {
2102
+ return trim(v).replace(UNICODE_COMMA_REGEX, ',');
2102
2103
  });
2103
2104
  }
2104
2105
  /**
@@ -2109,7 +2110,7 @@ class AccessrolesDirective {
2109
2110
  */
2110
2111
  matchRoles(widgetRoles, userRoles) {
2111
2112
  return widgetRoles.some(function (item) {
2112
- return _.includes(userRoles, item);
2113
+ return includes(userRoles, item);
2113
2114
  });
2114
2115
  }
2115
2116
  /**
@@ -2120,15 +2121,15 @@ class AccessrolesDirective {
2120
2121
  */
2121
2122
  hasAccessToWidget(widgetRoles, userRoles) {
2122
2123
  // access the widget when 'Everyone' is chosen
2123
- if (_.includes(widgetRoles, USER_ROLE.EVERYONE)) {
2124
+ if (includes(widgetRoles, USER_ROLE.EVERYONE)) {
2124
2125
  return true;
2125
2126
  }
2126
2127
  // access the widget when 'Anonymous' is chosen and user is not authenticated
2127
- if (_.includes(widgetRoles, USER_ROLE.ANONYMOUS) && !this.isUserAuthenticated) {
2128
+ if (includes(widgetRoles, USER_ROLE.ANONYMOUS) && !this.isUserAuthenticated) {
2128
2129
  return true;
2129
2130
  }
2130
2131
  // access the widget when 'Only Authenticated Users' is chosen and user is authenticated
2131
- if (_.includes(widgetRoles, USER_ROLE.AUTHENTICATED) && this.isUserAuthenticated) {
2132
+ if (includes(widgetRoles, USER_ROLE.AUTHENTICATED) && this.isUserAuthenticated) {
2132
2133
  return true;
2133
2134
  }
2134
2135
  // access the widget when widget role and logged in user role matches
@@ -2247,8 +2248,8 @@ class CustomToasterComponent extends Toast {
2247
2248
  }
2248
2249
  // Generate the params for partial page. If bound, watch the expression and set the value
2249
2250
  generateParams() {
2250
- _.forEach(this.options.partialParams, (param) => {
2251
- if (_.isString(param.value) && param.value.indexOf('bind:') === 0) {
2251
+ forEach(this.options.partialParams, (param) => {
2252
+ if (isString(param.value) && param.value.indexOf('bind:') === 0) {
2252
2253
  //[Todo-CSP]: bind expr fn should be generated in the toaster action for this
2253
2254
  this.watchers.push($watch(param.value.substr(5), this.options.context, {}, nv => {
2254
2255
  this.params[param.name] = nv;
@@ -2269,7 +2270,7 @@ class CustomToasterComponent extends Toast {
2269
2270
  this.generateDynamicComponent();
2270
2271
  }
2271
2272
  ngOnDestroy() {
2272
- _.forEach(this.watchers, watcher => watcher());
2273
+ forEach(this.watchers, watcher => watcher());
2273
2274
  super.ngOnDestroy();
2274
2275
  }
2275
2276
  static { this.ɵfac = function CustomToasterComponent_Factory(t) { return new (t || CustomToasterComponent)(i0.ɵɵdirectiveInject(i1$3.ToastrService), i0.ɵɵdirectiveInject(i1$3.ToastPackage)); }; }
@@ -2308,7 +2309,7 @@ class CustomToasterComponent extends Toast {
2308
2309
  type: ViewChild,
2309
2310
  args: ['customToastTmpl']
2310
2311
  }] }); })();
2311
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CustomToasterComponent, { className: "CustomToasterComponent", filePath: "components/custom-toaster.component.ts", lineNumber: 22 }); })();
2312
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CustomToasterComponent, { className: "CustomToasterComponent", filePath: "components/custom-toaster.component.ts", lineNumber: 23 }); })();
2312
2313
 
2313
2314
  class EmptyPageComponent {
2314
2315
  constructor(route, securityService, router, app, appManger) {
@@ -2620,9 +2621,9 @@ class AppRef {
2620
2621
  * triggers the onSessionTimeout callback in app.js
2621
2622
  */
2622
2623
  on401() {
2623
- const userInfo = _.get(this.securityService.get(), 'userInfo');
2624
+ const userInfo = get(this.securityService.get(), 'userInfo');
2624
2625
  // if a previous user exists, a session time out triggered
2625
- if (!_.isEmpty(userInfo)) {
2626
+ if (!isEmpty(userInfo)) {
2626
2627
  this.onSessionTimeout();
2627
2628
  }
2628
2629
  }
@@ -2630,7 +2631,7 @@ class AppRef {
2630
2631
  return this._eventNotifier.subscribe(eventName, callback);
2631
2632
  }
2632
2633
  notifyApp(template, type, title) {
2633
- const notificationAction = _.get(this, 'Actions.appNotification');
2634
+ const notificationAction = get(this, 'Actions.appNotification');
2634
2635
  const EXCLUDE_NOTIFICATION_MESSAGES = ['PROCESS_REJECTED_IN_QUEUE'];
2635
2636
  const skipDefaultNotification = EXCLUDE_NOTIFICATION_MESSAGES.indexOf(template) !== -1;
2636
2637
  if (notificationAction) {
@@ -2659,7 +2660,7 @@ class AppRef {
2659
2660
  * @param expressions, map of bind expression vs generated function
2660
2661
  */
2661
2662
  registerExpressions(expressions) {
2662
- _.each(expressions, (fn, expr) => {
2663
+ each(expressions, (fn, expr) => {
2663
2664
  registerFnByExpr(expr, fn[0], fn[1]);
2664
2665
  });
2665
2666
  }
@@ -2677,7 +2678,7 @@ class ToasterServiceImpl extends AbstractToasterService {
2677
2678
  }
2678
2679
  _showToaster(type, title, desc, options) {
2679
2680
  // backward compatibility (in 9.x, 4th param is timeout value).
2680
- if (_.isNumber(options)) {
2681
+ if (isNumber(options)) {
2681
2682
  options = { timeOut: options };
2682
2683
  }
2683
2684
  options = options || {};
@@ -2688,7 +2689,7 @@ class ToasterServiceImpl extends AbstractToasterService {
2688
2689
  // pop the toaster only if either title or description are defined
2689
2690
  if (title || desc) {
2690
2691
  // if the desc is an object, stringify it.
2691
- if (!options.bodyOutputType && _.isObject(desc)) {
2692
+ if (!options.bodyOutputType && isObject(desc)) {
2692
2693
  desc = JSON.stringify(desc);
2693
2694
  }
2694
2695
  const fn = this.toaster[type];
@@ -2739,8 +2740,8 @@ class ToasterServiceImpl extends AbstractToasterService {
2739
2740
  * @param {options} Object
2740
2741
  */
2741
2742
  setToasterConfig(options) {
2742
- if (_.isObject(options)) {
2743
- _.merge(this.toaster.toastrConfig, options);
2743
+ if (isObject(options)) {
2744
+ merge(this.toaster.toastrConfig, options);
2744
2745
  }
2745
2746
  else {
2746
2747
  console.warn('Please pass a valid options object, For Example : {maxOpened: 1, autoDismiss: true}');
@@ -2899,7 +2900,7 @@ class I18nServiceImpl extends AbstractI18nService {
2899
2900
  if (localeIndex > 0) {
2900
2901
  locale = locale.substr(localeIndex);
2901
2902
  }
2902
- localeObj['timezone'] = _.find(moment.tz.names(), (timezoneName) => {
2903
+ localeObj['timezone'] = find(moment.tz.names(), (timezoneName) => {
2903
2904
  return locale === moment.tz(timezoneName).format('Z');
2904
2905
  });
2905
2906
  }
@@ -2936,8 +2937,8 @@ class I18nServiceImpl extends AbstractI18nService {
2936
2937
  this.loadMomentTimeZoneBundle(locale, compInstance);
2937
2938
  }
2938
2939
  getTimezone(compInstance) {
2939
- const pageConfig = _.get(this.app, 'activePage.formatsByLocale.timezone');
2940
- const compConfig = _.get(compInstance, 'formatsByLocale.timezone');
2940
+ const pageConfig = get(this.app, 'activePage.formatsByLocale.timezone');
2941
+ const compConfig = get(compInstance, 'formatsByLocale.timezone');
2941
2942
  if (compConfig) {
2942
2943
  return compConfig;
2943
2944
  }
@@ -2953,12 +2954,13 @@ class I18nServiceImpl extends AbstractI18nService {
2953
2954
  }
2954
2955
  setSelectedLocale(locale) {
2955
2956
  // check if the event is propagated from the select or any such widget
2956
- if (_.isObject(locale)) {
2957
+ if (isObject(locale)) {
2958
+ // @ts-ignore
2957
2959
  locale = locale.datavalue;
2958
2960
  }
2959
2961
  const libLocale = getWmProjectProperties().supportedLanguages[locale];
2960
2962
  const supportedLocale = Object.keys(getWmProjectProperties().supportedLanguages);
2961
- if (!_.includes(supportedLocale, locale)) {
2963
+ if (!includes(supportedLocale, locale)) {
2962
2964
  return Promise.resolve();
2963
2965
  }
2964
2966
  if (!locale || locale === this.selectedLocale) {
@@ -3004,8 +3006,8 @@ class I18nServiceImpl extends AbstractI18nService {
3004
3006
  */
3005
3007
  if (CONSTANTS.hasCordova) {
3006
3008
  let supportedLang = [];
3007
- _.forEach(_acceptLang, function (lang) {
3008
- let matchedLang = _.find(_supportedLang, (val) => lang === val) || _.find(_supportedLang, (val) => lang.startsWith(val));
3009
+ forEach(_acceptLang, function (lang) {
3010
+ let matchedLang = find(_supportedLang, (val) => lang === val) || find(_supportedLang, (val) => lang.startsWith(val));
3009
3011
  if (matchedLang) {
3010
3012
  supportedLang.push(matchedLang);
3011
3013
  }
@@ -3013,7 +3015,7 @@ class I18nServiceImpl extends AbstractI18nService {
3013
3015
  _appSupportedLang = supportedLang[0];
3014
3016
  }
3015
3017
  // check for the session storage to load any pre-requested locale
3016
- const _defaultLang = getSessionStorageItem('selectedLocale') || _selectedDefaultLang || _appSupportedLang || _.intersection(_acceptLang, _supportedLang)[0] || this.defaultSupportedLocale;
3018
+ const _defaultLang = getSessionStorageItem('selectedLocale') || _selectedDefaultLang || _appSupportedLang || intersection(_acceptLang, _supportedLang)[0] || this.defaultSupportedLocale;
3017
3019
  // if the supportedLocale is not available set it to defaultLocale
3018
3020
  _supportedLang = _supportedLang || [_defaultLang];
3019
3021
  const defaultLanguage = _defaultLang || _supportedLang[0];
@@ -3046,7 +3048,7 @@ class I18nServiceImpl extends AbstractI18nService {
3046
3048
  return locale.split(';')[0];
3047
3049
  });
3048
3050
  }
3049
- return _.map(languages, _.toLower);
3051
+ return map(languages, toLower);
3050
3052
  }
3051
3053
  initCalendarLocale() {
3052
3054
  if (this.selectedLocale !== 'en') {
@@ -3132,7 +3134,7 @@ class SpinnerServiceImpl extends AbstractSpinnerService {
3132
3134
  this.messageSource.next({
3133
3135
  show: true,
3134
3136
  message: msg,
3135
- messages: _.values(this.messagesByContext[ctx])
3137
+ messages: values(this.messagesByContext[ctx])
3136
3138
  });
3137
3139
  }
3138
3140
  /**
@@ -3173,8 +3175,8 @@ class SpinnerServiceImpl extends AbstractSpinnerService {
3173
3175
  */
3174
3176
  hide(id) {
3175
3177
  // find the spinner context of the id from the messagesByContext
3176
- const ctx = _.findKey(this.messagesByContext, function (obj) {
3177
- return _.includes(_.keys(obj), id);
3178
+ const ctx = findKey(this.messagesByContext, function (obj) {
3179
+ return includes(keys(obj), id);
3178
3180
  }) || 'page';
3179
3181
  // if spinnerContext exists just remove the spinner from the reference and destroy the scope associated.
3180
3182
  if (ctx !== 'page') {
@@ -3183,10 +3185,10 @@ class SpinnerServiceImpl extends AbstractSpinnerService {
3183
3185
  }
3184
3186
  if (id) {
3185
3187
  delete this.messagesByContext[ctx][id];
3186
- const messages = _.values(this.messagesByContext[ctx]);
3188
+ const messages = values(this.messagesByContext[ctx]);
3187
3189
  this.messageSource.next({
3188
3190
  show: messages.length ? true : false,
3189
- messages: _.values(this.messagesByContext[ctx])
3191
+ messages: values(this.messagesByContext[ctx])
3190
3192
  });
3191
3193
  }
3192
3194
  else {
@@ -3247,7 +3249,7 @@ class NavigationServiceImpl {
3247
3249
  });
3248
3250
  }
3249
3251
  getPageTransition() {
3250
- if (_.isEmpty(this.transition) || _.isEqual('none', this.transition)) {
3252
+ if (isEmpty(this.transition) || isEqual('none', this.transition)) {
3251
3253
  return null;
3252
3254
  }
3253
3255
  return this.transition;
@@ -3280,7 +3282,7 @@ class NavigationServiceImpl {
3280
3282
  goToPrevious() {
3281
3283
  if (this.history.getPagesCount()) {
3282
3284
  this.transition = this.history.getCurrentPage().transition;
3283
- if (!_.isEmpty(this.transition)) {
3285
+ if (!isEmpty(this.transition)) {
3284
3286
  this.transition += '-exit';
3285
3287
  }
3286
3288
  this.history.pop();
@@ -3387,8 +3389,8 @@ class NavigationServiceImpl {
3387
3389
  getViewElementInActivePage($el) {
3388
3390
  let selector;
3389
3391
  if ($el.length > 1) {
3390
- selector = _.filter($el, (childSelector) => {
3391
- if (_.isEmpty($(childSelector).closest('[data-role = "partial"]')) && _.isEmpty($(childSelector).closest('[wmprefabcontainer]'))) {
3392
+ selector = filter($el, (childSelector) => {
3393
+ if (isEmpty($(childSelector).closest('[data-role = "partial"]')) && isEmpty($(childSelector).closest('[wmprefabcontainer]'))) {
3392
3394
  return childSelector;
3393
3395
  }
3394
3396
  });
@@ -3465,10 +3467,10 @@ class PageInfo {
3465
3467
  this.name = name;
3466
3468
  this.urlParams = urlParams;
3467
3469
  this.transition = transition;
3468
- this.transition = _.isEmpty(this.transition) ? null : this.transition;
3470
+ this.transition = isEmpty(this.transition) ? null : this.transition;
3469
3471
  }
3470
3472
  isEqual(page1) {
3471
- return page1 && page1.name === this.name && _.isEqual(page1.urlParams, this.urlParams);
3473
+ return page1 && page1.name === this.name && isEqual(page1.urlParams, this.urlParams);
3472
3474
  }
3473
3475
  }
3474
3476
  class History {
@@ -3570,7 +3572,7 @@ class RoleGuard {
3570
3572
  .then((isLoggedIn) => {
3571
3573
  if (isLoggedIn) {
3572
3574
  const userRoles = this.securityService.get().userInfo.userRoles;
3573
- const hasAccess = _.intersection(allowedRoles, userRoles).length > 0;
3575
+ const hasAccess = intersection(allowedRoles, userRoles).length > 0;
3574
3576
  if (hasAccess) {
3575
3577
  return Promise.resolve(true);
3576
3578
  }
@@ -3942,7 +3944,7 @@ class HttpCallInterceptor {
3942
3944
  if (modifiedResp) {
3943
3945
  // Convert the wm HttpResponse to angular HttpResponse
3944
3946
  modifiedResp = this.wmHttpResponse.wmToAngularResponse(modifiedResp);
3945
- _.extend(response, modifiedResp);
3947
+ extend(response, modifiedResp);
3946
3948
  }
3947
3949
  }
3948
3950
  }, error => {
@@ -3958,7 +3960,7 @@ class HttpCallInterceptor {
3958
3960
  if (modifiedResp) {
3959
3961
  // Convert the wm HttpResponse to angular HttpResponse
3960
3962
  modifiedResp = this.wmHttpResponse.wmToAngularResponse(modifiedResp);
3961
- _.extend(error, modifiedResp);
3963
+ extend(error, modifiedResp);
3962
3964
  }
3963
3965
  }
3964
3966
  }));
@@ -4134,7 +4136,7 @@ class DynamicComponentRefProviderService {
4134
4136
  options.noCache = isDefined(options.noCache) ? options.noCache : true;
4135
4137
  options.selector = isDefined(options.selector) ? options.selector : 'wm-dynamic-component-' + this.counter++;
4136
4138
  const componentFactoryRef = await this.getComponentFactoryRef(options.selector, markup, options);
4137
- const component = this.app.dynamicComponentContainerRef.createComponent(componentFactoryRef, 0, _.get(options, 'inj'));
4139
+ const component = this.app.dynamicComponentContainerRef.createComponent(componentFactoryRef, 0, get(options, 'inj'));
4138
4140
  extendProto(component.instance, context);
4139
4141
  target.appendChild(component.location.nativeElement);
4140
4142
  }
@@ -4821,7 +4823,7 @@ class RuntimeBaseModule {
4821
4823
  // This is for preview page
4822
4824
  window.onmessage = function (msg) {
4823
4825
  const data = msg.data;
4824
- if (isObject(data) && data.key === 'switch-device') {
4826
+ if (isObject$1(data) && data.key === 'switch-device') {
4825
4827
  resolve(data.device);
4826
4828
  }
4827
4829
  };