@wavemaker/app-ng-runtime 11.8.0-next.141669 → 11.8.0-next.141671

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 (1448) hide show
  1. package/build-task/bundles/index.umd.js +33 -9
  2. package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
  3. package/build-task/esm2022/advanced/carousel/carousel.build.mjs +1 -1
  4. package/build-task/esm2022/basic/default/label/label.build.mjs +1 -1
  5. package/build-task/esm2022/basic/progress/progress-bar/progress-bar.build.mjs +1 -1
  6. package/build-task/esm2022/containers/accordion/accordion.build.mjs +1 -1
  7. package/build-task/esm2022/containers/repeat-template.build.mjs +4 -2
  8. package/build-task/esm2022/containers/tabs/tabs.build.mjs +1 -1
  9. package/build-task/esm2022/data/form/form-field/form-field.build.mjs +1 -1
  10. package/build-task/esm2022/data/form/form.build.mjs +5 -2
  11. package/build-task/esm2022/data/list/list.build.mjs +1 -1
  12. package/build-task/esm2022/data/media-list/media-list.build.mjs +1 -1
  13. package/build-task/esm2022/data/table/table-column/table-column.build.mjs +1 -1
  14. package/build-task/esm2022/data/table/table.build.mjs +1 -1
  15. package/build-task/esm2022/dialogs/partial-dialog/partial-dialog.build.mjs +1 -1
  16. package/build-task/esm2022/input/file-upload/file-upload.build.mjs +1 -1
  17. package/build-task/esm2022/navigation/menu/menu.build.mjs +19 -2
  18. package/build-task/esm2022/navigation/popover/popover.build.mjs +1 -1
  19. package/build-task/esm2022/page/page-content/page-content.build.mjs +1 -1
  20. package/build-task/esm2022/page/page.build.mjs +3 -2
  21. package/build-task/esm2022/utils/utils.mjs +1 -1
  22. package/build-task/fesm2022/index.mjs +31 -6
  23. package/build-task/fesm2022/index.mjs.map +1 -1
  24. package/components/advanced/carousel/bundles/index.umd.js +26 -16
  25. package/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -2
  26. package/components/advanced/carousel/carousel.directive.d.ts +2 -2
  27. package/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +12 -7
  28. package/components/advanced/carousel/esm2022/carousel.animator.mjs +3 -2
  29. package/components/advanced/carousel/esm2022/carousel.directive.mjs +12 -7
  30. package/components/advanced/carousel/esm2022/carousel.module.mjs +2 -2
  31. package/components/advanced/carousel/fesm2022/index.mjs +25 -14
  32. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  33. package/components/advanced/login/bundles/index.umd.js +19 -13
  34. package/components/advanced/login/esm2022/login.component.mjs +17 -10
  35. package/components/advanced/login/esm2022/login.module.mjs +2 -2
  36. package/components/advanced/login/fesm2022/index.mjs +18 -11
  37. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  38. package/components/advanced/login/login.component.d.ts +2 -2
  39. package/components/advanced/marquee/bundles/index.umd.js +11 -6
  40. package/components/advanced/marquee/esm2022/marquee.directive.mjs +12 -7
  41. package/components/advanced/marquee/esm2022/marquee.module.mjs +2 -2
  42. package/components/advanced/marquee/fesm2022/index.mjs +13 -8
  43. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  44. package/components/advanced/marquee/marquee.directive.d.ts +2 -2
  45. package/components/base/bundles/index.umd.js +357 -270
  46. package/components/base/esm2022/components.module.mjs +2 -2
  47. package/components/base/esm2022/directives/show-in-device.directive.mjs +4 -4
  48. package/components/base/esm2022/pipes/custom-pipes.mjs +35 -34
  49. package/components/base/esm2022/pipes/image.pipe.mjs +2 -2
  50. package/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -3
  51. package/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -3
  52. package/components/base/esm2022/pipes/wm-pipe.mjs +3 -2
  53. package/components/base/esm2022/utils/data-utils.mjs +29 -28
  54. package/components/base/esm2022/utils/form-utils.mjs +48 -42
  55. package/components/base/esm2022/utils/live-utils.mjs +8 -7
  56. package/components/base/esm2022/utils/widget-utils.mjs +28 -27
  57. package/components/base/esm2022/widgets/common/base/base-container.component.mjs +8 -7
  58. package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +24 -21
  59. package/components/base/esm2022/widgets/common/base/base.component.mjs +42 -16
  60. package/components/base/esm2022/widgets/common/base/dataset-aware-nav.component.mjs +52 -18
  61. package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +6 -5
  62. package/components/base/esm2022/widgets/common/base/stylable.component.mjs +3 -3
  63. package/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -3
  64. package/components/base/esm2022/widgets/common/container/container.directive.mjs +12 -7
  65. package/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +5 -4
  66. package/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +12 -7
  67. package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -3
  68. package/components/base/esm2022/widgets/common/message/message.component.mjs +16 -10
  69. package/components/base/esm2022/widgets/common/partial/partial.directive.mjs +14 -8
  70. package/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +9 -8
  71. package/components/base/esm2022/widgets/common/pull-to-refresh/pull-to-refresh.mjs +1 -1
  72. package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +4 -4
  73. package/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +12 -7
  74. package/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +11 -10
  75. package/components/base/esm2022/widgets/framework/deviceview.mjs +1 -1
  76. package/components/base/esm2022/widgets/framework/property-change-handler.mjs +3 -2
  77. package/components/base/esm2022/widgets/framework/styler.mjs +1 -1
  78. package/components/base/esm2022/widgets/framework/widget-props.mjs +1 -1
  79. package/components/base/esm2022/widgets/framework/widget-proxy-provider.mjs +4 -3
  80. package/components/base/esm2022/widgets/framework/widget-registry.mjs +1 -1
  81. package/components/base/fesm2022/index.mjs +362 -272
  82. package/components/base/fesm2022/index.mjs.map +1 -1
  83. package/components/base/pipes/custom-pipes.d.ts +1 -1
  84. package/components/base/utils/widget-utils.d.ts +2 -2
  85. package/components/base/widgets/common/base/base-container.component.d.ts +1 -1
  86. package/components/base/widgets/common/base/base-field-validations.d.ts +1 -1
  87. package/components/base/widgets/common/base/base.component.d.ts +4 -2
  88. package/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -1
  89. package/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
  90. package/components/base/widgets/common/container/container.directive.d.ts +2 -2
  91. package/components/base/widgets/common/item-template/item-template.directive.d.ts +2 -2
  92. package/components/base/widgets/common/message/message.component.d.ts +2 -2
  93. package/components/base/widgets/common/partial/partial.directive.d.ts +2 -2
  94. package/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -2
  95. package/components/basic/default/anchor/anchor.component.d.ts +2 -2
  96. package/components/basic/default/audio/audio.component.d.ts +3 -2
  97. package/components/basic/default/bundles/index.umd.js +163 -119
  98. package/components/basic/default/esm2022/anchor/anchor.component.mjs +31 -27
  99. package/components/basic/default/esm2022/audio/audio.component.mjs +18 -11
  100. package/components/basic/default/esm2022/basic.module.mjs +2 -2
  101. package/components/basic/default/esm2022/html/html.directive.mjs +13 -8
  102. package/components/basic/default/esm2022/icon/icon.component.mjs +19 -14
  103. package/components/basic/default/esm2022/iframe/iframe.component.mjs +15 -9
  104. package/components/basic/default/esm2022/label/label.directive.mjs +15 -9
  105. package/components/basic/default/esm2022/picture/picture.directive.mjs +12 -7
  106. package/components/basic/default/esm2022/picture/picture.props.mjs +1 -1
  107. package/components/basic/default/esm2022/spinner/spinner.component.mjs +34 -30
  108. package/components/basic/default/esm2022/video/video.component.mjs +21 -17
  109. package/components/basic/default/fesm2022/index.mjs +162 -117
  110. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  111. package/components/basic/default/html/html.directive.d.ts +2 -2
  112. package/components/basic/default/icon/icon.component.d.ts +2 -2
  113. package/components/basic/default/iframe/iframe.component.d.ts +2 -2
  114. package/components/basic/default/label/label.directive.d.ts +2 -2
  115. package/components/basic/default/picture/picture.directive.d.ts +2 -2
  116. package/components/basic/default/spinner/spinner.component.d.ts +2 -2
  117. package/components/basic/default/video/video.component.d.ts +2 -2
  118. package/components/basic/progress/bundles/index.umd.js +45 -32
  119. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +24 -17
  120. package/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +20 -12
  121. package/components/basic/progress/esm2022/progress.module.mjs +2 -2
  122. package/components/basic/progress/esm2022/utils.mjs +3 -3
  123. package/components/basic/progress/fesm2022/index.mjs +44 -30
  124. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  125. package/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -2
  126. package/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -2
  127. package/components/basic/rich-text-editor/bundles/index.umd.js +19 -13
  128. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +17 -10
  129. package/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +2 -2
  130. package/components/basic/rich-text-editor/fesm2022/index.mjs +18 -11
  131. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  132. package/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -2
  133. package/components/basic/search/bundles/index.umd.js +185 -175
  134. package/components/basic/search/esm2022/data-provider/data-provider.mjs +1 -1
  135. package/components/basic/search/esm2022/data-provider/local-data-provider.mjs +26 -23
  136. package/components/basic/search/esm2022/data-provider/remote-data-provider.mjs +12 -11
  137. package/components/basic/search/esm2022/scrollable.directive.mjs +3 -3
  138. package/components/basic/search/esm2022/search.component.mjs +147 -138
  139. package/components/basic/search/esm2022/search.module.mjs +2 -2
  140. package/components/basic/search/fesm2022/index.mjs +185 -174
  141. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  142. package/components/basic/search/search.component.d.ts +2 -2
  143. package/components/basic/tree/bundles/index.umd.js +23 -17
  144. package/components/basic/tree/esm2022/tree.component.mjs +21 -14
  145. package/components/basic/tree/esm2022/tree.module.mjs +2 -2
  146. package/components/basic/tree/fesm2022/index.mjs +22 -15
  147. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  148. package/components/basic/tree/tree.component.d.ts +2 -2
  149. package/components/chart/bundles/index.umd.js +97 -84
  150. package/components/chart/chart.component.d.ts +3 -3
  151. package/components/chart/chart.utils.d.ts +3 -3
  152. package/components/chart/esm2022/chart.component.mjs +82 -68
  153. package/components/chart/esm2022/chart.module.mjs +2 -2
  154. package/components/chart/esm2022/chart.utils.mjs +14 -13
  155. package/components/chart/fesm2022/index.mjs +95 -81
  156. package/components/chart/fesm2022/index.mjs.map +1 -1
  157. package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -2
  158. package/components/containers/accordion/accordion.directive.d.ts +2 -2
  159. package/components/containers/accordion/bundles/index.umd.js +51 -40
  160. package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +23 -17
  161. package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.props.mjs +4 -4
  162. package/components/containers/accordion/esm2022/accordion.directive.mjs +25 -19
  163. package/components/containers/accordion/esm2022/accordion.module.mjs +2 -2
  164. package/components/containers/accordion/fesm2022/index.mjs +50 -38
  165. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  166. package/components/containers/layout-grid/bundles/index.umd.js +32 -17
  167. package/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +13 -8
  168. package/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +12 -7
  169. package/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +12 -7
  170. package/components/containers/layout-grid/esm2022/layout-grid.module.mjs +2 -2
  171. package/components/containers/layout-grid/fesm2022/index.mjs +34 -19
  172. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  173. package/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +2 -2
  174. package/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -2
  175. package/components/containers/layout-grid/layout-grid.directive.d.ts +2 -2
  176. package/components/containers/linear-layout/bundles/index.umd.js +21 -11
  177. package/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +12 -7
  178. package/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +12 -7
  179. package/components/containers/linear-layout/esm2022/linear-layout.module.mjs +2 -2
  180. package/components/containers/linear-layout/fesm2022/index.mjs +23 -13
  181. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  182. package/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -2
  183. package/components/containers/linear-layout/linear-layout.directive.d.ts +2 -2
  184. package/components/containers/panel/bundles/index.umd.js +85 -85
  185. package/components/containers/panel/esm2022/panel.component.mjs +83 -82
  186. package/components/containers/panel/esm2022/panel.module.mjs +2 -2
  187. package/components/containers/panel/fesm2022/index.mjs +84 -83
  188. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  189. package/components/containers/panel/panel.component.d.ts +3 -3
  190. package/components/containers/tabs/bundles/index.umd.js +74 -63
  191. package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +14 -8
  192. package/components/containers/tabs/esm2022/tab-pane/tab-pane.props.mjs +4 -4
  193. package/components/containers/tabs/esm2022/tabs.animator.mjs +1 -1
  194. package/components/containers/tabs/esm2022/tabs.component.mjs +57 -51
  195. package/components/containers/tabs/esm2022/tabs.module.mjs +2 -2
  196. package/components/containers/tabs/esm2022/tabs.props.mjs +1 -1
  197. package/components/containers/tabs/fesm2022/index.mjs +73 -61
  198. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  199. package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -2
  200. package/components/containers/tabs/tabs.component.d.ts +2 -2
  201. package/components/containers/tile/bundles/index.umd.js +11 -6
  202. package/components/containers/tile/esm2022/tile.directive.mjs +12 -7
  203. package/components/containers/tile/esm2022/tile.module.mjs +2 -2
  204. package/components/containers/tile/fesm2022/index.mjs +13 -8
  205. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  206. package/components/containers/tile/tile.directive.d.ts +2 -2
  207. package/components/containers/wizard/bundles/index.umd.js +102 -98
  208. package/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +13 -8
  209. package/components/containers/wizard/esm2022/wizard.component.mjs +92 -93
  210. package/components/containers/wizard/esm2022/wizard.module.mjs +2 -2
  211. package/components/containers/wizard/fesm2022/index.mjs +104 -100
  212. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  213. package/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -2
  214. package/components/containers/wizard/wizard.component.d.ts +2 -2
  215. package/components/data/card/bundles/index.umd.js +70 -50
  216. package/components/data/card/card-actions/card-actions.directive.d.ts +2 -2
  217. package/components/data/card/card-content/card-content.component.d.ts +2 -2
  218. package/components/data/card/card-footer/card-footer.directive.d.ts +2 -2
  219. package/components/data/card/card.component.d.ts +2 -2
  220. package/components/data/card/esm2022/card-actions/card-actions.directive.mjs +12 -7
  221. package/components/data/card/esm2022/card-content/card-content.component.mjs +15 -9
  222. package/components/data/card/esm2022/card-footer/card-footer.directive.mjs +12 -7
  223. package/components/data/card/esm2022/card.component.mjs +38 -34
  224. package/components/data/card/esm2022/card.module.mjs +2 -2
  225. package/components/data/card/fesm2022/index.mjs +72 -52
  226. package/components/data/card/fesm2022/index.mjs.map +1 -1
  227. package/components/data/form/bundles/index.umd.js +202 -188
  228. package/components/data/form/esm2022/form-action/form-action.directive.mjs +15 -9
  229. package/components/data/form/esm2022/form-field/form-field.directive.mjs +21 -16
  230. package/components/data/form/esm2022/form-field/form-field.props.mjs +1 -1
  231. package/components/data/form/esm2022/form-widget.directive.mjs +4 -4
  232. package/components/data/form/esm2022/form.component.mjs +139 -135
  233. package/components/data/form/esm2022/form.module.mjs +2 -2
  234. package/components/data/form/esm2022/form.props.mjs +1 -1
  235. package/components/data/form/esm2022/live-actions/dependson.directive.mjs +4 -4
  236. package/components/data/form/esm2022/live-actions/live-actions.directive.mjs +4 -4
  237. package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +7 -6
  238. package/components/data/form/esm2022/live-form/live-form.directive.mjs +18 -15
  239. package/components/data/form/fesm2022/index.mjs +206 -191
  240. package/components/data/form/fesm2022/index.mjs.map +1 -1
  241. package/components/data/form/form-action/form-action.directive.d.ts +2 -2
  242. package/components/data/form/form-field/form-field.directive.d.ts +2 -2
  243. package/components/data/form/form.component.d.ts +4 -4
  244. package/components/data/form/live-form/live-form.directive.d.ts +1 -1
  245. package/components/data/list/bundles/index.umd.js +826 -818
  246. package/components/data/list/esm2022/list-item.directive.mjs +4 -4
  247. package/components/data/list/esm2022/list.animator.mjs +5 -3
  248. package/components/data/list/esm2022/list.component.mjs +818 -810
  249. package/components/data/list/esm2022/list.module.mjs +2 -2
  250. package/components/data/list/fesm2022/index.mjs +825 -816
  251. package/components/data/list/fesm2022/index.mjs.map +1 -1
  252. package/components/data/list/list.component.d.ts +55 -54
  253. package/components/data/live-table/bundles/index.umd.js +13 -7
  254. package/components/data/live-table/esm2022/live-table.component.mjs +14 -8
  255. package/components/data/live-table/esm2022/live-table.module.mjs +2 -2
  256. package/components/data/live-table/fesm2022/index.mjs +15 -9
  257. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  258. package/components/data/live-table/live-table.component.d.ts +2 -2
  259. package/components/data/pagination/bundles/index.umd.js +111 -109
  260. package/components/data/pagination/esm2022/pagination.component.mjs +109 -106
  261. package/components/data/pagination/esm2022/pagination.module.mjs +2 -2
  262. package/components/data/pagination/fesm2022/index.mjs +110 -107
  263. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  264. package/components/data/pagination/pagination.component.d.ts +2 -2
  265. package/components/data/table/bundles/index.umd.js +311 -268
  266. package/components/data/table/esm2022/table-action/table-action.directive.mjs +15 -9
  267. package/components/data/table/esm2022/table-column/table-column.directive.mjs +40 -25
  268. package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -2
  269. package/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +13 -8
  270. package/components/data/table/esm2022/table-cud.directive.mjs +10 -9
  271. package/components/data/table/esm2022/table-filter.directive.mjs +56 -58
  272. package/components/data/table/esm2022/table-row/table-row.directive.mjs +13 -8
  273. package/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +14 -8
  274. package/components/data/table/esm2022/table.component.mjs +162 -149
  275. package/components/data/table/esm2022/table.module.mjs +2 -2
  276. package/components/data/table/esm2022/table.props.mjs +2 -2
  277. package/components/data/table/fesm2022/index.mjs +310 -266
  278. package/components/data/table/fesm2022/index.mjs.map +1 -1
  279. package/components/data/table/table-action/table-action.directive.d.ts +2 -2
  280. package/components/data/table/table-column/table-column.directive.d.ts +8 -8
  281. package/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -2
  282. package/components/data/table/table-row/table-row.directive.d.ts +2 -2
  283. package/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -2
  284. package/components/data/table/table.component.d.ts +4 -4
  285. package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -2
  286. package/components/dialogs/alert-dialog/bundles/index.umd.js +15 -9
  287. package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +16 -10
  288. package/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +2 -2
  289. package/components/dialogs/alert-dialog/fesm2022/index.mjs +17 -11
  290. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  291. package/components/dialogs/confirm-dialog/bundles/index.umd.js +17 -11
  292. package/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
  293. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +18 -12
  294. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +2 -2
  295. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +19 -13
  296. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  297. package/components/dialogs/default/base-dialog.d.ts +2 -2
  298. package/components/dialogs/default/bundles/index.umd.js +75 -71
  299. package/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -2
  300. package/components/dialogs/default/esm2022/base-dialog.mjs +14 -9
  301. package/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +4 -4
  302. package/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +12 -7
  303. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +49 -55
  304. package/components/dialogs/default/esm2022/dialog.module.mjs +2 -2
  305. package/components/dialogs/default/fesm2022/index.mjs +76 -72
  306. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  307. package/components/dialogs/design-dialog/bundles/index.umd.js +20 -14
  308. package/components/dialogs/design-dialog/dialog.component.d.ts +2 -2
  309. package/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +2 -2
  310. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +21 -15
  311. package/components/dialogs/design-dialog/fesm2022/index.mjs +22 -16
  312. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  313. package/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -14
  314. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -15
  315. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +2 -2
  316. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +22 -16
  317. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  318. package/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -2
  319. package/components/dialogs/login-dialog/bundles/index.umd.js +4 -4
  320. package/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +4 -4
  321. package/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +2 -2
  322. package/components/dialogs/login-dialog/fesm2022/index.mjs +4 -4
  323. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  324. package/components/dialogs/partial-dialog/bundles/index.umd.js +16 -10
  325. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +17 -11
  326. package/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +2 -2
  327. package/components/dialogs/partial-dialog/fesm2022/index.mjs +18 -12
  328. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  329. package/components/dialogs/partial-dialog/partial-dialog.component.d.ts +2 -2
  330. package/components/input/calendar/bundles/index.umd.js +46 -38
  331. package/components/input/calendar/calendar.component.d.ts +2 -2
  332. package/components/input/calendar/esm2022/calendar.component.mjs +44 -35
  333. package/components/input/calendar/esm2022/calendar.module.mjs +2 -2
  334. package/components/input/calendar/fesm2022/index.mjs +45 -36
  335. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  336. package/components/input/chips/bundles/index.umd.js +69 -61
  337. package/components/input/chips/chips.component.d.ts +3 -3
  338. package/components/input/chips/esm2022/chips.component.mjs +67 -58
  339. package/components/input/chips/esm2022/chips.module.mjs +2 -2
  340. package/components/input/chips/fesm2022/index.mjs +67 -58
  341. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  342. package/components/input/color-picker/bundles/index.umd.js +24 -11
  343. package/components/input/color-picker/color-picker.component.d.ts +2 -2
  344. package/components/input/color-picker/esm2022/color-picker.component.mjs +25 -12
  345. package/components/input/color-picker/esm2022/color-picker.module.mjs +2 -2
  346. package/components/input/color-picker/fesm2022/index.mjs +25 -12
  347. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  348. package/components/input/currency/bundles/index.umd.js +18 -11
  349. package/components/input/currency/currency.component.d.ts +2 -2
  350. package/components/input/currency/esm2022/currency.component.mjs +19 -12
  351. package/components/input/currency/esm2022/currency.module.mjs +2 -2
  352. package/components/input/currency/fesm2022/index.mjs +19 -12
  353. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  354. package/components/input/default/base-form.component.d.ts +3 -3
  355. package/components/input/default/bundles/index.umd.js +600 -482
  356. package/components/input/default/button/button.component.d.ts +2 -2
  357. package/components/input/default/button-group/button-group.directive.d.ts +2 -2
  358. package/components/input/default/checkbox/checkbox.component.d.ts +3 -2
  359. package/components/input/default/checkboxset/checkboxset.component.d.ts +2 -2
  360. package/components/input/default/composite/composite.directive.d.ts +2 -2
  361. package/components/input/default/dataset-aware-form.component.d.ts +4 -4
  362. package/components/input/default/esm2022/base-form-custom.component.mjs +3 -3
  363. package/components/input/default/esm2022/base-form.component.mjs +17 -11
  364. package/components/input/default/esm2022/button/button.component.mjs +32 -28
  365. package/components/input/default/esm2022/button-group/button-group.directive.mjs +12 -7
  366. package/components/input/default/esm2022/caption-position.directive.mjs +6 -6
  367. package/components/input/default/esm2022/checkbox/checkbox.component.mjs +24 -15
  368. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +107 -103
  369. package/components/input/default/esm2022/composite/composite.directive.mjs +12 -7
  370. package/components/input/default/esm2022/dataset-aware-form.component.mjs +32 -26
  371. package/components/input/default/esm2022/input.module.mjs +2 -2
  372. package/components/input/default/esm2022/number/number.component.mjs +17 -10
  373. package/components/input/default/esm2022/radioset/radioset.component.mjs +105 -102
  374. package/components/input/default/esm2022/select/select.component.mjs +69 -68
  375. package/components/input/default/esm2022/switch/switch.component.mjs +38 -31
  376. package/components/input/default/esm2022/text/base/base-input.mjs +16 -10
  377. package/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +21 -11
  378. package/components/input/default/esm2022/text/color/input-color.component.mjs +21 -11
  379. package/components/input/default/esm2022/text/email/input-email.component.mjs +20 -11
  380. package/components/input/default/esm2022/text/locale/number-locale.mjs +35 -24
  381. package/components/input/default/esm2022/text/number/input-number.component.mjs +21 -12
  382. package/components/input/default/esm2022/text/text/input-text.component.mjs +20 -11
  383. package/components/input/default/esm2022/textarea/textarea.component.mjs +21 -12
  384. package/components/input/default/fesm2022/index.mjs +603 -483
  385. package/components/input/default/fesm2022/index.mjs.map +1 -1
  386. package/components/input/default/number/number.component.d.ts +2 -2
  387. package/components/input/default/radioset/radioset.component.d.ts +2 -2
  388. package/components/input/default/select/select.component.d.ts +3 -4
  389. package/components/input/default/switch/switch.component.d.ts +2 -2
  390. package/components/input/default/text/base/base-input.d.ts +2 -2
  391. package/components/input/default/text/calendar/input-calendar.component.d.ts +2 -2
  392. package/components/input/default/text/color/input-color.component.d.ts +2 -2
  393. package/components/input/default/text/email/input-email.component.d.ts +2 -2
  394. package/components/input/default/text/locale/number-locale.d.ts +1 -1
  395. package/components/input/default/text/number/input-number.component.d.ts +2 -2
  396. package/components/input/default/text/text/input-text.component.d.ts +2 -2
  397. package/components/input/default/textarea/textarea.component.d.ts +2 -2
  398. package/components/input/epoch/base-date-time.component.d.ts +2 -2
  399. package/components/input/epoch/bundles/index.umd.js +221 -162
  400. package/components/input/epoch/date/date.component.d.ts +3 -2
  401. package/components/input/epoch/date-time/date-time.component.d.ts +2 -2
  402. package/components/input/epoch/esm2022/base-date-time.component.mjs +45 -36
  403. package/components/input/epoch/esm2022/date/date.component.mjs +48 -23
  404. package/components/input/epoch/esm2022/date/date.props.mjs +2 -2
  405. package/components/input/epoch/esm2022/date/imaskUtil.mjs +8 -2
  406. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +42 -41
  407. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +47 -36
  408. package/components/input/epoch/esm2022/epoch.module.mjs +2 -2
  409. package/components/input/epoch/esm2022/picker/picker.component.mjs +7 -5
  410. package/components/input/epoch/esm2022/time/time.component.mjs +33 -23
  411. package/components/input/epoch/fesm2022/index.mjs +219 -159
  412. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  413. package/components/input/epoch/time/time.component.d.ts +2 -2
  414. package/components/input/file-upload/bundles/index.umd.js +133 -135
  415. package/components/input/file-upload/esm2022/file-upload.component.mjs +131 -132
  416. package/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
  417. package/components/input/file-upload/fesm2022/index.mjs +132 -133
  418. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  419. package/components/input/file-upload/file-upload.component.d.ts +2 -2
  420. package/components/input/rating/bundles/index.umd.js +57 -50
  421. package/components/input/rating/esm2022/rating.component.mjs +55 -47
  422. package/components/input/rating/esm2022/rating.module.mjs +2 -2
  423. package/components/input/rating/fesm2022/index.mjs +55 -47
  424. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  425. package/components/input/rating/rating.component.d.ts +2 -2
  426. package/components/input/slider/bundles/index.umd.js +21 -12
  427. package/components/input/slider/esm2022/slider.component.mjs +22 -13
  428. package/components/input/slider/esm2022/slider.module.mjs +2 -2
  429. package/components/input/slider/fesm2022/index.mjs +22 -13
  430. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  431. package/components/input/slider/slider.component.d.ts +2 -2
  432. package/components/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
  433. package/components/navigation/breadcrumb/bundles/index.umd.js +33 -28
  434. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +34 -29
  435. package/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +2 -2
  436. package/components/navigation/breadcrumb/fesm2022/index.mjs +35 -30
  437. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  438. package/components/navigation/menu/bundles/index.umd.js +154 -137
  439. package/components/navigation/menu/esm2022/menu-adapator.component.mjs +13 -7
  440. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +5 -4
  441. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +27 -26
  442. package/components/navigation/menu/esm2022/menu.component.mjs +44 -40
  443. package/components/navigation/menu/esm2022/menu.module.mjs +2 -2
  444. package/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +12 -7
  445. package/components/navigation/menu/esm2022/nav/nav.component.mjs +60 -56
  446. package/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +3 -3
  447. package/components/navigation/menu/fesm2022/index.mjs +153 -135
  448. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  449. package/components/navigation/menu/menu-adapator.component.d.ts +1 -1
  450. package/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +12 -1
  451. package/components/navigation/menu/menu.component.d.ts +2 -2
  452. package/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -2
  453. package/components/navigation/menu/nav/nav.component.d.ts +2 -2
  454. package/components/navigation/navbar/bundles/index.umd.js +29 -22
  455. package/components/navigation/navbar/esm2022/navbar.component.mjs +30 -23
  456. package/components/navigation/navbar/esm2022/navbar.module.mjs +2 -2
  457. package/components/navigation/navbar/fesm2022/index.mjs +31 -24
  458. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  459. package/components/navigation/navbar/navbar.component.d.ts +2 -2
  460. package/components/navigation/popover/bundles/index.umd.js +18 -11
  461. package/components/navigation/popover/esm2022/popover.component.mjs +19 -12
  462. package/components/navigation/popover/esm2022/popover.module.mjs +2 -2
  463. package/components/navigation/popover/fesm2022/index.mjs +20 -13
  464. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  465. package/components/navigation/popover/popover.component.d.ts +2 -2
  466. package/components/page/default/bundles/index.umd.js +63 -31
  467. package/components/page/default/content/content.component.d.ts +2 -2
  468. package/components/page/default/esm2022/content/content.component.mjs +13 -7
  469. package/components/page/default/esm2022/layout.directive.mjs +12 -7
  470. package/components/page/default/esm2022/page-content/page-content.component.mjs +13 -7
  471. package/components/page/default/esm2022/page.directive.mjs +12 -7
  472. package/components/page/default/esm2022/page.module.mjs +2 -2
  473. package/components/page/default/esm2022/router-outlet.directive.mjs +12 -7
  474. package/components/page/default/esm2022/spa-page.directive.mjs +12 -7
  475. package/components/page/default/fesm2022/index.mjs +65 -33
  476. package/components/page/default/fesm2022/index.mjs.map +1 -1
  477. package/components/page/default/layout.directive.d.ts +2 -2
  478. package/components/page/default/page-content/page-content.component.d.ts +2 -2
  479. package/components/page/default/page.directive.d.ts +2 -2
  480. package/components/page/default/router-outlet.directive.d.ts +2 -2
  481. package/components/page/default/spa-page.directive.d.ts +2 -2
  482. package/components/page/footer/bundles/index.umd.js +11 -6
  483. package/components/page/footer/esm2022/footer.directive.mjs +12 -7
  484. package/components/page/footer/esm2022/footer.module.mjs +2 -2
  485. package/components/page/footer/fesm2022/index.mjs +13 -8
  486. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  487. package/components/page/footer/footer.directive.d.ts +2 -2
  488. package/components/page/header/bundles/index.umd.js +12 -6
  489. package/components/page/header/esm2022/header.component.mjs +13 -7
  490. package/components/page/header/esm2022/header.module.mjs +2 -2
  491. package/components/page/header/fesm2022/index.mjs +14 -8
  492. package/components/page/header/fesm2022/index.mjs.map +1 -1
  493. package/components/page/header/header.component.d.ts +2 -2
  494. package/components/page/left-panel/bundles/index.umd.js +12 -7
  495. package/components/page/left-panel/esm2022/left-panel.animator.mjs +1 -1
  496. package/components/page/left-panel/esm2022/left-panel.directive.mjs +13 -8
  497. package/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
  498. package/components/page/left-panel/fesm2022/index.mjs +14 -9
  499. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  500. package/components/page/left-panel/left-panel.directive.d.ts +2 -2
  501. package/components/page/right-panel/bundles/index.umd.js +11 -6
  502. package/components/page/right-panel/esm2022/right-panel.directive.mjs +12 -7
  503. package/components/page/right-panel/esm2022/right-panel.module.mjs +2 -2
  504. package/components/page/right-panel/fesm2022/index.mjs +13 -8
  505. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  506. package/components/page/right-panel/right-panel.directive.d.ts +2 -2
  507. package/components/page/top-nav/bundles/index.umd.js +11 -6
  508. package/components/page/top-nav/esm2022/top-nav.directive.mjs +12 -7
  509. package/components/page/top-nav/esm2022/top-nav.module.mjs +2 -2
  510. package/components/page/top-nav/fesm2022/index.mjs +13 -8
  511. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  512. package/components/page/top-nav/top-nav.directive.d.ts +2 -2
  513. package/components/prefab/bundles/index.umd.js +28 -18
  514. package/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +14 -8
  515. package/components/prefab/esm2022/prefab.directive.mjs +15 -9
  516. package/components/prefab/esm2022/prefab.module.mjs +2 -2
  517. package/components/prefab/fesm2022/index.mjs +26 -15
  518. package/components/prefab/fesm2022/index.mjs.map +1 -1
  519. package/components/prefab/prefab-container/prefab-container.directive.d.ts +2 -2
  520. package/components/prefab/prefab.directive.d.ts +2 -2
  521. package/core/bundles/index.umd.js +135 -146
  522. package/core/esm2022/core.module.mjs +2 -2
  523. package/core/esm2022/public_api.mjs +2 -2
  524. package/core/esm2022/services/constant.service.mjs +2 -2
  525. package/core/esm2022/services/field-type.service.mjs +5 -4
  526. package/core/esm2022/services/field-widget.service.mjs +5 -4
  527. package/core/esm2022/services/pagination.service.mjs +8 -7
  528. package/core/esm2022/services/script-loader.service.mjs +3 -3
  529. package/core/esm2022/services/state-persistence.service.mjs +18 -17
  530. package/core/esm2022/services/user-custom-pipe-manager.service.mjs +2 -2
  531. package/core/esm2022/services/utils.service.mjs +5 -4
  532. package/core/esm2022/services/viewport.service.mjs +5 -4
  533. package/core/esm2022/utils/build-utils.mjs +5 -4
  534. package/core/esm2022/utils/dom.mjs +1 -1
  535. package/core/esm2022/utils/event-notifier.mjs +1 -1
  536. package/core/esm2022/utils/expression-parser.mjs +6 -5
  537. package/core/esm2022/utils/id-generator.mjs +1 -1
  538. package/core/esm2022/utils/lru-cache.mjs +3 -2
  539. package/core/esm2022/utils/utils.mjs +79 -82
  540. package/core/esm2022/utils/watcher.mjs +9 -7
  541. package/core/esm2022/utils/wm-project-properties.mjs +1 -1
  542. package/core/fesm2022/index.mjs +134 -140
  543. package/core/fesm2022/index.mjs.map +1 -1
  544. package/core/public_api.d.ts +1 -1
  545. package/core/services/pagination.service.d.ts +1 -1
  546. package/core/utils/utils.d.ts +5 -9
  547. package/http/bundles/index.umd.js +10 -10
  548. package/http/esm2022/http-service.module.mjs +2 -2
  549. package/http/esm2022/http.service.mjs +7 -6
  550. package/http/esm2022/wm-http-request.mjs +1 -1
  551. package/http/esm2022/wm-http-response.mjs +1 -1
  552. package/http/fesm2022/index.mjs +7 -6
  553. package/http/fesm2022/index.mjs.map +1 -1
  554. package/locales/angular/global/af-na.js +4 -4
  555. package/locales/angular/global/af.js +4 -4
  556. package/locales/angular/global/agq.js +4 -4
  557. package/locales/angular/global/ak.js +4 -4
  558. package/locales/angular/global/am.js +4 -4
  559. package/locales/angular/global/ar-ae.js +4 -4
  560. package/locales/angular/global/ar-bh.js +4 -4
  561. package/locales/angular/global/ar-dj.js +4 -4
  562. package/locales/angular/global/ar-dz.js +4 -4
  563. package/locales/angular/global/ar-eg.js +4 -4
  564. package/locales/angular/global/ar-eh.js +4 -4
  565. package/locales/angular/global/ar-er.js +4 -4
  566. package/locales/angular/global/ar-il.js +4 -4
  567. package/locales/angular/global/ar-iq.js +4 -4
  568. package/locales/angular/global/ar-jo.js +4 -4
  569. package/locales/angular/global/ar-km.js +4 -4
  570. package/locales/angular/global/ar-kw.js +4 -4
  571. package/locales/angular/global/ar-lb.js +4 -4
  572. package/locales/angular/global/ar-ly.js +4 -4
  573. package/locales/angular/global/ar-ma.js +4 -4
  574. package/locales/angular/global/ar-mr.js +4 -4
  575. package/locales/angular/global/ar-om.js +4 -4
  576. package/locales/angular/global/ar-ps.js +4 -4
  577. package/locales/angular/global/ar-qa.js +4 -4
  578. package/locales/angular/global/ar-sa.js +4 -4
  579. package/locales/angular/global/ar-sd.js +4 -4
  580. package/locales/angular/global/ar-so.js +4 -4
  581. package/locales/angular/global/ar-ss.js +4 -4
  582. package/locales/angular/global/ar-sy.js +4 -4
  583. package/locales/angular/global/ar-td.js +4 -4
  584. package/locales/angular/global/ar-tn.js +4 -4
  585. package/locales/angular/global/ar-ye.js +4 -4
  586. package/locales/angular/global/ar.js +4 -4
  587. package/locales/angular/global/as.js +4 -4
  588. package/locales/angular/global/asa.js +4 -4
  589. package/locales/angular/global/ast.js +4 -4
  590. package/locales/angular/global/az-cyrl.js +4 -4
  591. package/locales/angular/global/az-latn.js +4 -4
  592. package/locales/angular/global/az.js +4 -4
  593. package/locales/angular/global/bas.js +4 -4
  594. package/locales/angular/global/be-tarask.js +4 -4
  595. package/locales/angular/global/be.js +4 -4
  596. package/locales/angular/global/bem.js +4 -4
  597. package/locales/angular/global/bez.js +4 -4
  598. package/locales/angular/global/bg.js +4 -4
  599. package/locales/angular/global/bm.js +4 -4
  600. package/locales/angular/global/bn-in.js +4 -4
  601. package/locales/angular/global/bn.js +4 -4
  602. package/locales/angular/global/bo-in.js +4 -4
  603. package/locales/angular/global/bo.js +4 -4
  604. package/locales/angular/global/br.js +4 -4
  605. package/locales/angular/global/brx.js +4 -4
  606. package/locales/angular/global/bs-cyrl.js +4 -4
  607. package/locales/angular/global/bs-latn.js +4 -4
  608. package/locales/angular/global/bs.js +4 -4
  609. package/locales/angular/global/ca-ad.js +4 -4
  610. package/locales/angular/global/ca-es-valencia.js +4 -4
  611. package/locales/angular/global/ca-fr.js +4 -4
  612. package/locales/angular/global/ca-it.js +4 -4
  613. package/locales/angular/global/ca.js +4 -4
  614. package/locales/angular/global/ccp-in.js +4 -4
  615. package/locales/angular/global/ccp.js +4 -4
  616. package/locales/angular/global/ce.js +4 -4
  617. package/locales/angular/global/ceb.js +4 -4
  618. package/locales/angular/global/cgg.js +4 -4
  619. package/locales/angular/global/chr.js +4 -4
  620. package/locales/angular/global/ckb-ir.js +4 -4
  621. package/locales/angular/global/ckb.js +4 -4
  622. package/locales/angular/global/cs.js +4 -4
  623. package/locales/angular/global/cy.js +4 -4
  624. package/locales/angular/global/da-gl.js +4 -4
  625. package/locales/angular/global/da.js +4 -4
  626. package/locales/angular/global/dav.js +4 -4
  627. package/locales/angular/global/de-at.js +4 -4
  628. package/locales/angular/global/de-be.js +4 -4
  629. package/locales/angular/global/de-ch.js +4 -4
  630. package/locales/angular/global/de-it.js +4 -4
  631. package/locales/angular/global/de-li.js +4 -4
  632. package/locales/angular/global/de-lu.js +4 -4
  633. package/locales/angular/global/de.js +4 -4
  634. package/locales/angular/global/dje.js +4 -4
  635. package/locales/angular/global/doi.js +4 -4
  636. package/locales/angular/global/dsb.js +4 -4
  637. package/locales/angular/global/dua.js +4 -4
  638. package/locales/angular/global/dyo.js +4 -4
  639. package/locales/angular/global/dz.js +4 -4
  640. package/locales/angular/global/ebu.js +4 -4
  641. package/locales/angular/global/ee-tg.js +4 -4
  642. package/locales/angular/global/ee.js +4 -4
  643. package/locales/angular/global/el-cy.js +4 -4
  644. package/locales/angular/global/el.js +4 -4
  645. package/locales/angular/global/en-001.js +4 -4
  646. package/locales/angular/global/en-150.js +4 -4
  647. package/locales/angular/global/en-ae.js +4 -4
  648. package/locales/angular/global/en-ag.js +4 -4
  649. package/locales/angular/global/en-ai.js +4 -4
  650. package/locales/angular/global/en-as.js +4 -4
  651. package/locales/angular/global/en-at.js +4 -4
  652. package/locales/angular/global/en-au.js +4 -4
  653. package/locales/angular/global/en-bb.js +4 -4
  654. package/locales/angular/global/en-be.js +4 -4
  655. package/locales/angular/global/en-bi.js +4 -4
  656. package/locales/angular/global/en-bm.js +4 -4
  657. package/locales/angular/global/en-bs.js +4 -4
  658. package/locales/angular/global/en-bw.js +4 -4
  659. package/locales/angular/global/en-bz.js +4 -4
  660. package/locales/angular/global/en-ca.js +4 -4
  661. package/locales/angular/global/en-cc.js +4 -4
  662. package/locales/angular/global/en-ch.js +4 -4
  663. package/locales/angular/global/en-ck.js +4 -4
  664. package/locales/angular/global/en-cm.js +4 -4
  665. package/locales/angular/global/en-cx.js +4 -4
  666. package/locales/angular/global/en-cy.js +4 -4
  667. package/locales/angular/global/en-de.js +4 -4
  668. package/locales/angular/global/en-dg.js +4 -4
  669. package/locales/angular/global/en-dk.js +4 -4
  670. package/locales/angular/global/en-dm.js +4 -4
  671. package/locales/angular/global/en-er.js +4 -4
  672. package/locales/angular/global/en-fi.js +4 -4
  673. package/locales/angular/global/en-fj.js +4 -4
  674. package/locales/angular/global/en-fk.js +4 -4
  675. package/locales/angular/global/en-fm.js +4 -4
  676. package/locales/angular/global/en-gb.js +4 -4
  677. package/locales/angular/global/en-gd.js +4 -4
  678. package/locales/angular/global/en-gg.js +4 -4
  679. package/locales/angular/global/en-gh.js +4 -4
  680. package/locales/angular/global/en-gi.js +4 -4
  681. package/locales/angular/global/en-gm.js +4 -4
  682. package/locales/angular/global/en-gu.js +4 -4
  683. package/locales/angular/global/en-gy.js +4 -4
  684. package/locales/angular/global/en-hk.js +4 -4
  685. package/locales/angular/global/en-ie.js +4 -4
  686. package/locales/angular/global/en-il.js +4 -4
  687. package/locales/angular/global/en-im.js +4 -4
  688. package/locales/angular/global/en-in.js +4 -4
  689. package/locales/angular/global/en-io.js +4 -4
  690. package/locales/angular/global/en-je.js +4 -4
  691. package/locales/angular/global/en-jm.js +4 -4
  692. package/locales/angular/global/en-ke.js +4 -4
  693. package/locales/angular/global/en-ki.js +4 -4
  694. package/locales/angular/global/en-kn.js +4 -4
  695. package/locales/angular/global/en-ky.js +4 -4
  696. package/locales/angular/global/en-lc.js +4 -4
  697. package/locales/angular/global/en-lr.js +4 -4
  698. package/locales/angular/global/en-ls.js +4 -4
  699. package/locales/angular/global/en-mg.js +4 -4
  700. package/locales/angular/global/en-mh.js +4 -4
  701. package/locales/angular/global/en-mo.js +4 -4
  702. package/locales/angular/global/en-mp.js +4 -4
  703. package/locales/angular/global/en-ms.js +4 -4
  704. package/locales/angular/global/en-mt.js +4 -4
  705. package/locales/angular/global/en-mu.js +4 -4
  706. package/locales/angular/global/en-mv.js +4 -4
  707. package/locales/angular/global/en-mw.js +4 -4
  708. package/locales/angular/global/en-my.js +4 -4
  709. package/locales/angular/global/en-na.js +4 -4
  710. package/locales/angular/global/en-nf.js +4 -4
  711. package/locales/angular/global/en-ng.js +4 -4
  712. package/locales/angular/global/en-nl.js +4 -4
  713. package/locales/angular/global/en-nr.js +4 -4
  714. package/locales/angular/global/en-nu.js +4 -4
  715. package/locales/angular/global/en-nz.js +4 -4
  716. package/locales/angular/global/en-pg.js +4 -4
  717. package/locales/angular/global/en-ph.js +4 -4
  718. package/locales/angular/global/en-pk.js +4 -4
  719. package/locales/angular/global/en-pn.js +4 -4
  720. package/locales/angular/global/en-pr.js +4 -4
  721. package/locales/angular/global/en-pw.js +4 -4
  722. package/locales/angular/global/en-rw.js +4 -4
  723. package/locales/angular/global/en-sb.js +4 -4
  724. package/locales/angular/global/en-sc.js +4 -4
  725. package/locales/angular/global/en-sd.js +4 -4
  726. package/locales/angular/global/en-se.js +4 -4
  727. package/locales/angular/global/en-sg.js +4 -4
  728. package/locales/angular/global/en-sh.js +4 -4
  729. package/locales/angular/global/en-si.js +4 -4
  730. package/locales/angular/global/en-sl.js +4 -4
  731. package/locales/angular/global/en-ss.js +4 -4
  732. package/locales/angular/global/en-sx.js +4 -4
  733. package/locales/angular/global/en-sz.js +4 -4
  734. package/locales/angular/global/en-tc.js +4 -4
  735. package/locales/angular/global/en-tk.js +4 -4
  736. package/locales/angular/global/en-to.js +4 -4
  737. package/locales/angular/global/en-tt.js +4 -4
  738. package/locales/angular/global/en-tv.js +4 -4
  739. package/locales/angular/global/en-tz.js +4 -4
  740. package/locales/angular/global/en-ug.js +4 -4
  741. package/locales/angular/global/en-um.js +4 -4
  742. package/locales/angular/global/en-vc.js +4 -4
  743. package/locales/angular/global/en-vg.js +4 -4
  744. package/locales/angular/global/en-vi.js +4 -4
  745. package/locales/angular/global/en-vu.js +4 -4
  746. package/locales/angular/global/en-ws.js +4 -4
  747. package/locales/angular/global/en-za.js +4 -4
  748. package/locales/angular/global/en-zm.js +4 -4
  749. package/locales/angular/global/en-zw.js +4 -4
  750. package/locales/angular/global/en.js +4 -4
  751. package/locales/angular/global/eo.js +4 -4
  752. package/locales/angular/global/es-419.js +4 -4
  753. package/locales/angular/global/es-ar.js +4 -4
  754. package/locales/angular/global/es-bo.js +4 -4
  755. package/locales/angular/global/es-br.js +4 -4
  756. package/locales/angular/global/es-bz.js +4 -4
  757. package/locales/angular/global/es-cl.js +4 -4
  758. package/locales/angular/global/es-co.js +4 -4
  759. package/locales/angular/global/es-cr.js +4 -4
  760. package/locales/angular/global/es-cu.js +4 -4
  761. package/locales/angular/global/es-do.js +4 -4
  762. package/locales/angular/global/es-ea.js +4 -4
  763. package/locales/angular/global/es-ec.js +4 -4
  764. package/locales/angular/global/es-gq.js +4 -4
  765. package/locales/angular/global/es-gt.js +4 -4
  766. package/locales/angular/global/es-hn.js +4 -4
  767. package/locales/angular/global/es-ic.js +4 -4
  768. package/locales/angular/global/es-mx.js +4 -4
  769. package/locales/angular/global/es-ni.js +4 -4
  770. package/locales/angular/global/es-pa.js +4 -4
  771. package/locales/angular/global/es-pe.js +4 -4
  772. package/locales/angular/global/es-ph.js +4 -4
  773. package/locales/angular/global/es-pr.js +4 -4
  774. package/locales/angular/global/es-py.js +4 -4
  775. package/locales/angular/global/es-sv.js +4 -4
  776. package/locales/angular/global/es-us.js +4 -4
  777. package/locales/angular/global/es-uy.js +4 -4
  778. package/locales/angular/global/es-ve.js +4 -4
  779. package/locales/angular/global/es.js +4 -4
  780. package/locales/angular/global/et.js +4 -4
  781. package/locales/angular/global/eu.js +4 -4
  782. package/locales/angular/global/ewo.js +4 -4
  783. package/locales/angular/global/fa-af.js +4 -4
  784. package/locales/angular/global/fa.js +4 -4
  785. package/locales/angular/global/ff-adlm-bf.js +4 -4
  786. package/locales/angular/global/ff-adlm-cm.js +4 -4
  787. package/locales/angular/global/ff-adlm-gh.js +4 -4
  788. package/locales/angular/global/ff-adlm-gm.js +4 -4
  789. package/locales/angular/global/ff-adlm-gw.js +4 -4
  790. package/locales/angular/global/ff-adlm-lr.js +4 -4
  791. package/locales/angular/global/ff-adlm-mr.js +4 -4
  792. package/locales/angular/global/ff-adlm-ne.js +4 -4
  793. package/locales/angular/global/ff-adlm-ng.js +4 -4
  794. package/locales/angular/global/ff-adlm-sl.js +4 -4
  795. package/locales/angular/global/ff-adlm-sn.js +4 -4
  796. package/locales/angular/global/ff-adlm.js +4 -4
  797. package/locales/angular/global/ff-cm.js +58 -44
  798. package/locales/angular/global/ff-gn.js +58 -44
  799. package/locales/angular/global/ff-latn-bf.js +4 -4
  800. package/locales/angular/global/ff-latn-cm.js +4 -4
  801. package/locales/angular/global/ff-latn-gh.js +4 -4
  802. package/locales/angular/global/ff-latn-gm.js +4 -4
  803. package/locales/angular/global/ff-latn-gn.js +4 -4
  804. package/locales/angular/global/ff-latn-gw.js +4 -4
  805. package/locales/angular/global/ff-latn-lr.js +4 -4
  806. package/locales/angular/global/ff-latn-mr.js +4 -4
  807. package/locales/angular/global/ff-latn-ne.js +4 -4
  808. package/locales/angular/global/ff-latn-ng.js +4 -4
  809. package/locales/angular/global/ff-latn-sl.js +4 -4
  810. package/locales/angular/global/ff-latn.js +4 -4
  811. package/locales/angular/global/ff-mr.js +58 -44
  812. package/locales/angular/global/ff.js +4 -4
  813. package/locales/angular/global/fi.js +4 -4
  814. package/locales/angular/global/fil.js +4 -4
  815. package/locales/angular/global/fo-dk.js +4 -4
  816. package/locales/angular/global/fo.js +4 -4
  817. package/locales/angular/global/fr-be.js +4 -4
  818. package/locales/angular/global/fr-bf.js +4 -4
  819. package/locales/angular/global/fr-bi.js +4 -4
  820. package/locales/angular/global/fr-bj.js +4 -4
  821. package/locales/angular/global/fr-bl.js +4 -4
  822. package/locales/angular/global/fr-ca.js +4 -4
  823. package/locales/angular/global/fr-cd.js +4 -4
  824. package/locales/angular/global/fr-cf.js +4 -4
  825. package/locales/angular/global/fr-cg.js +4 -4
  826. package/locales/angular/global/fr-ch.js +4 -4
  827. package/locales/angular/global/fr-ci.js +4 -4
  828. package/locales/angular/global/fr-cm.js +4 -4
  829. package/locales/angular/global/fr-dj.js +4 -4
  830. package/locales/angular/global/fr-dz.js +4 -4
  831. package/locales/angular/global/fr-ga.js +4 -4
  832. package/locales/angular/global/fr-gf.js +4 -4
  833. package/locales/angular/global/fr-gn.js +4 -4
  834. package/locales/angular/global/fr-gp.js +4 -4
  835. package/locales/angular/global/fr-gq.js +4 -4
  836. package/locales/angular/global/fr-ht.js +4 -4
  837. package/locales/angular/global/fr-km.js +4 -4
  838. package/locales/angular/global/fr-lu.js +4 -4
  839. package/locales/angular/global/fr-ma.js +4 -4
  840. package/locales/angular/global/fr-mc.js +4 -4
  841. package/locales/angular/global/fr-mf.js +4 -4
  842. package/locales/angular/global/fr-mg.js +4 -4
  843. package/locales/angular/global/fr-ml.js +4 -4
  844. package/locales/angular/global/fr-mq.js +4 -4
  845. package/locales/angular/global/fr-mr.js +4 -4
  846. package/locales/angular/global/fr-mu.js +4 -4
  847. package/locales/angular/global/fr-nc.js +4 -4
  848. package/locales/angular/global/fr-ne.js +4 -4
  849. package/locales/angular/global/fr-pf.js +4 -4
  850. package/locales/angular/global/fr-pm.js +4 -4
  851. package/locales/angular/global/fr-re.js +4 -4
  852. package/locales/angular/global/fr-rw.js +4 -4
  853. package/locales/angular/global/fr-sc.js +4 -4
  854. package/locales/angular/global/fr-sn.js +4 -4
  855. package/locales/angular/global/fr-sy.js +4 -4
  856. package/locales/angular/global/fr-td.js +4 -4
  857. package/locales/angular/global/fr-tg.js +4 -4
  858. package/locales/angular/global/fr-tn.js +4 -4
  859. package/locales/angular/global/fr-vu.js +4 -4
  860. package/locales/angular/global/fr-wf.js +4 -4
  861. package/locales/angular/global/fr-yt.js +4 -4
  862. package/locales/angular/global/fr.js +4 -4
  863. package/locales/angular/global/fur.js +4 -4
  864. package/locales/angular/global/fy.js +4 -4
  865. package/locales/angular/global/ga-gb.js +4 -4
  866. package/locales/angular/global/ga.js +4 -4
  867. package/locales/angular/global/gd.js +4 -4
  868. package/locales/angular/global/gl.js +4 -4
  869. package/locales/angular/global/gsw-fr.js +4 -4
  870. package/locales/angular/global/gsw-li.js +4 -4
  871. package/locales/angular/global/gsw.js +4 -4
  872. package/locales/angular/global/gu.js +4 -4
  873. package/locales/angular/global/guz.js +4 -4
  874. package/locales/angular/global/gv.js +4 -4
  875. package/locales/angular/global/ha-gh.js +4 -4
  876. package/locales/angular/global/ha-ne.js +4 -4
  877. package/locales/angular/global/ha.js +4 -4
  878. package/locales/angular/global/haw.js +4 -4
  879. package/locales/angular/global/he.js +4 -4
  880. package/locales/angular/global/hi-latn.js +4 -4
  881. package/locales/angular/global/hi.js +4 -4
  882. package/locales/angular/global/hr-ba.js +4 -4
  883. package/locales/angular/global/hr.js +4 -4
  884. package/locales/angular/global/hsb.js +4 -4
  885. package/locales/angular/global/hu.js +4 -4
  886. package/locales/angular/global/hy.js +4 -4
  887. package/locales/angular/global/ia.js +4 -4
  888. package/locales/angular/global/id.js +4 -4
  889. package/locales/angular/global/ig.js +4 -4
  890. package/locales/angular/global/ii.js +4 -4
  891. package/locales/angular/global/is.js +4 -4
  892. package/locales/angular/global/it-ch.js +4 -4
  893. package/locales/angular/global/it-sm.js +4 -4
  894. package/locales/angular/global/it-va.js +4 -4
  895. package/locales/angular/global/it.js +4 -4
  896. package/locales/angular/global/ja.js +4 -4
  897. package/locales/angular/global/jgo.js +4 -4
  898. package/locales/angular/global/jmc.js +4 -4
  899. package/locales/angular/global/jv.js +4 -4
  900. package/locales/angular/global/ka.js +4 -4
  901. package/locales/angular/global/kab.js +4 -4
  902. package/locales/angular/global/kam.js +4 -4
  903. package/locales/angular/global/kde.js +4 -4
  904. package/locales/angular/global/kea.js +4 -4
  905. package/locales/angular/global/kgp.js +4 -4
  906. package/locales/angular/global/khq.js +4 -4
  907. package/locales/angular/global/ki.js +4 -4
  908. package/locales/angular/global/kk.js +4 -4
  909. package/locales/angular/global/kkj.js +4 -4
  910. package/locales/angular/global/kl.js +4 -4
  911. package/locales/angular/global/kln.js +4 -4
  912. package/locales/angular/global/km.js +4 -4
  913. package/locales/angular/global/kn.js +4 -4
  914. package/locales/angular/global/ko-kp.js +4 -4
  915. package/locales/angular/global/ko.js +4 -4
  916. package/locales/angular/global/kok.js +4 -4
  917. package/locales/angular/global/ks-arab.js +4 -4
  918. package/locales/angular/global/ks-deva.js +4 -4
  919. package/locales/angular/global/ks.js +4 -4
  920. package/locales/angular/global/ksb.js +4 -4
  921. package/locales/angular/global/ksf.js +4 -4
  922. package/locales/angular/global/ksh.js +4 -4
  923. package/locales/angular/global/ku.js +4 -4
  924. package/locales/angular/global/kw.js +4 -4
  925. package/locales/angular/global/ky.js +4 -4
  926. package/locales/angular/global/lag.js +4 -4
  927. package/locales/angular/global/lb.js +4 -4
  928. package/locales/angular/global/lg.js +4 -4
  929. package/locales/angular/global/lkt.js +4 -4
  930. package/locales/angular/global/ln-ao.js +4 -4
  931. package/locales/angular/global/ln-cf.js +4 -4
  932. package/locales/angular/global/ln-cg.js +4 -4
  933. package/locales/angular/global/ln.js +4 -4
  934. package/locales/angular/global/lo.js +4 -4
  935. package/locales/angular/global/lrc-iq.js +4 -4
  936. package/locales/angular/global/lrc.js +4 -4
  937. package/locales/angular/global/lt.js +4 -4
  938. package/locales/angular/global/lu.js +4 -4
  939. package/locales/angular/global/luo.js +4 -4
  940. package/locales/angular/global/luy.js +4 -4
  941. package/locales/angular/global/lv.js +4 -4
  942. package/locales/angular/global/mai.js +4 -4
  943. package/locales/angular/global/mas-tz.js +4 -4
  944. package/locales/angular/global/mas.js +4 -4
  945. package/locales/angular/global/mer.js +4 -4
  946. package/locales/angular/global/mfe.js +4 -4
  947. package/locales/angular/global/mg.js +4 -4
  948. package/locales/angular/global/mgh.js +4 -4
  949. package/locales/angular/global/mgo.js +4 -4
  950. package/locales/angular/global/mi.js +4 -4
  951. package/locales/angular/global/mk.js +4 -4
  952. package/locales/angular/global/ml.js +4 -4
  953. package/locales/angular/global/mn.js +4 -4
  954. package/locales/angular/global/mni-beng.js +4 -4
  955. package/locales/angular/global/mni.js +4 -4
  956. package/locales/angular/global/mr.js +4 -4
  957. package/locales/angular/global/ms-bn.js +4 -4
  958. package/locales/angular/global/ms-id.js +4 -4
  959. package/locales/angular/global/ms-sg.js +4 -4
  960. package/locales/angular/global/ms.js +4 -4
  961. package/locales/angular/global/mt.js +4 -4
  962. package/locales/angular/global/mua.js +4 -4
  963. package/locales/angular/global/my.js +4 -4
  964. package/locales/angular/global/mzn.js +4 -4
  965. package/locales/angular/global/naq.js +4 -4
  966. package/locales/angular/global/nb-sj.js +4 -4
  967. package/locales/angular/global/nb.js +4 -4
  968. package/locales/angular/global/nd.js +4 -4
  969. package/locales/angular/global/nds-nl.js +4 -4
  970. package/locales/angular/global/nds.js +4 -4
  971. package/locales/angular/global/ne-in.js +4 -4
  972. package/locales/angular/global/ne.js +4 -4
  973. package/locales/angular/global/nl-aw.js +4 -4
  974. package/locales/angular/global/nl-be.js +4 -4
  975. package/locales/angular/global/nl-bq.js +4 -4
  976. package/locales/angular/global/nl-cw.js +4 -4
  977. package/locales/angular/global/nl-sr.js +4 -4
  978. package/locales/angular/global/nl-sx.js +4 -4
  979. package/locales/angular/global/nl.js +4 -4
  980. package/locales/angular/global/nmg.js +4 -4
  981. package/locales/angular/global/nn.js +4 -4
  982. package/locales/angular/global/nnh.js +4 -4
  983. package/locales/angular/global/no.js +4 -4
  984. package/locales/angular/global/nus.js +4 -4
  985. package/locales/angular/global/nyn.js +4 -4
  986. package/locales/angular/global/om-ke.js +4 -4
  987. package/locales/angular/global/om.js +4 -4
  988. package/locales/angular/global/or.js +4 -4
  989. package/locales/angular/global/os-ru.js +4 -4
  990. package/locales/angular/global/os.js +4 -4
  991. package/locales/angular/global/pa-arab.js +4 -4
  992. package/locales/angular/global/pa-guru.js +4 -4
  993. package/locales/angular/global/pa.js +4 -4
  994. package/locales/angular/global/pcm.js +4 -4
  995. package/locales/angular/global/pl.js +4 -4
  996. package/locales/angular/global/ps-pk.js +4 -4
  997. package/locales/angular/global/ps.js +4 -4
  998. package/locales/angular/global/pt-ao.js +4 -4
  999. package/locales/angular/global/pt-ch.js +4 -4
  1000. package/locales/angular/global/pt-cv.js +4 -4
  1001. package/locales/angular/global/pt-gq.js +4 -4
  1002. package/locales/angular/global/pt-gw.js +4 -4
  1003. package/locales/angular/global/pt-lu.js +4 -4
  1004. package/locales/angular/global/pt-mo.js +4 -4
  1005. package/locales/angular/global/pt-mz.js +4 -4
  1006. package/locales/angular/global/pt-pt.js +4 -4
  1007. package/locales/angular/global/pt-st.js +4 -4
  1008. package/locales/angular/global/pt-tl.js +4 -4
  1009. package/locales/angular/global/pt.js +4 -4
  1010. package/locales/angular/global/qu-bo.js +4 -4
  1011. package/locales/angular/global/qu-ec.js +4 -4
  1012. package/locales/angular/global/qu.js +4 -4
  1013. package/locales/angular/global/rm.js +4 -4
  1014. package/locales/angular/global/rn.js +4 -4
  1015. package/locales/angular/global/ro-md.js +4 -4
  1016. package/locales/angular/global/ro.js +4 -4
  1017. package/locales/angular/global/rof.js +4 -4
  1018. package/locales/angular/global/ru-by.js +4 -4
  1019. package/locales/angular/global/ru-kg.js +4 -4
  1020. package/locales/angular/global/ru-kz.js +4 -4
  1021. package/locales/angular/global/ru-md.js +4 -4
  1022. package/locales/angular/global/ru-ua.js +4 -4
  1023. package/locales/angular/global/ru.js +4 -4
  1024. package/locales/angular/global/rw.js +4 -4
  1025. package/locales/angular/global/rwk.js +4 -4
  1026. package/locales/angular/global/sa.js +4 -4
  1027. package/locales/angular/global/sah.js +4 -4
  1028. package/locales/angular/global/saq.js +4 -4
  1029. package/locales/angular/global/sat-olck.js +4 -4
  1030. package/locales/angular/global/sat.js +4 -4
  1031. package/locales/angular/global/sbp.js +4 -4
  1032. package/locales/angular/global/sc.js +4 -4
  1033. package/locales/angular/global/sd-arab.js +4 -4
  1034. package/locales/angular/global/sd-deva.js +4 -4
  1035. package/locales/angular/global/sd.js +4 -4
  1036. package/locales/angular/global/se-fi.js +4 -4
  1037. package/locales/angular/global/se-se.js +4 -4
  1038. package/locales/angular/global/se.js +4 -4
  1039. package/locales/angular/global/seh.js +4 -4
  1040. package/locales/angular/global/ses.js +4 -4
  1041. package/locales/angular/global/sg.js +4 -4
  1042. package/locales/angular/global/shi-latn.js +4 -4
  1043. package/locales/angular/global/shi-tfng.js +4 -4
  1044. package/locales/angular/global/shi.js +4 -4
  1045. package/locales/angular/global/si.js +4 -4
  1046. package/locales/angular/global/sk.js +4 -4
  1047. package/locales/angular/global/sl.js +4 -4
  1048. package/locales/angular/global/smn.js +4 -4
  1049. package/locales/angular/global/sn.js +4 -4
  1050. package/locales/angular/global/so-dj.js +4 -4
  1051. package/locales/angular/global/so-et.js +4 -4
  1052. package/locales/angular/global/so-ke.js +4 -4
  1053. package/locales/angular/global/so.js +4 -4
  1054. package/locales/angular/global/sq-mk.js +4 -4
  1055. package/locales/angular/global/sq-xk.js +4 -4
  1056. package/locales/angular/global/sq.js +4 -4
  1057. package/locales/angular/global/sr-cyrl-ba.js +4 -4
  1058. package/locales/angular/global/sr-cyrl-me.js +4 -4
  1059. package/locales/angular/global/sr-cyrl-xk.js +4 -4
  1060. package/locales/angular/global/sr-cyrl.js +4 -4
  1061. package/locales/angular/global/sr-latn-ba.js +4 -4
  1062. package/locales/angular/global/sr-latn-me.js +4 -4
  1063. package/locales/angular/global/sr-latn-xk.js +4 -4
  1064. package/locales/angular/global/sr-latn.js +4 -4
  1065. package/locales/angular/global/sr.js +4 -4
  1066. package/locales/angular/global/su-latn.js +4 -4
  1067. package/locales/angular/global/su.js +4 -4
  1068. package/locales/angular/global/sv-ax.js +4 -4
  1069. package/locales/angular/global/sv-fi.js +4 -4
  1070. package/locales/angular/global/sv.js +4 -4
  1071. package/locales/angular/global/sw-cd.js +4 -4
  1072. package/locales/angular/global/sw-ke.js +4 -4
  1073. package/locales/angular/global/sw-ug.js +4 -4
  1074. package/locales/angular/global/sw.js +4 -4
  1075. package/locales/angular/global/ta-lk.js +4 -4
  1076. package/locales/angular/global/ta-my.js +4 -4
  1077. package/locales/angular/global/ta-sg.js +4 -4
  1078. package/locales/angular/global/ta.js +4 -4
  1079. package/locales/angular/global/te.js +4 -4
  1080. package/locales/angular/global/teo-ke.js +4 -4
  1081. package/locales/angular/global/teo.js +4 -4
  1082. package/locales/angular/global/tg.js +4 -4
  1083. package/locales/angular/global/th.js +4 -4
  1084. package/locales/angular/global/ti-er.js +4 -4
  1085. package/locales/angular/global/ti.js +4 -4
  1086. package/locales/angular/global/tk.js +4 -4
  1087. package/locales/angular/global/to.js +4 -4
  1088. package/locales/angular/global/tr-cy.js +4 -4
  1089. package/locales/angular/global/tr.js +4 -4
  1090. package/locales/angular/global/tt.js +4 -4
  1091. package/locales/angular/global/twq.js +4 -4
  1092. package/locales/angular/global/tzm.js +4 -4
  1093. package/locales/angular/global/ug.js +4 -4
  1094. package/locales/angular/global/uk.js +4 -4
  1095. package/locales/angular/global/und.js +4 -4
  1096. package/locales/angular/global/ur-in.js +4 -4
  1097. package/locales/angular/global/ur.js +4 -4
  1098. package/locales/angular/global/uz-arab.js +4 -4
  1099. package/locales/angular/global/uz-cyrl.js +4 -4
  1100. package/locales/angular/global/uz-latn.js +4 -4
  1101. package/locales/angular/global/uz.js +4 -4
  1102. package/locales/angular/global/vai-latn.js +4 -4
  1103. package/locales/angular/global/vai-vaii.js +4 -4
  1104. package/locales/angular/global/vai.js +4 -4
  1105. package/locales/angular/global/vi.js +4 -4
  1106. package/locales/angular/global/vun.js +4 -4
  1107. package/locales/angular/global/wae.js +4 -4
  1108. package/locales/angular/global/wo.js +4 -4
  1109. package/locales/angular/global/xh.js +4 -4
  1110. package/locales/angular/global/xog.js +4 -4
  1111. package/locales/angular/global/yav.js +4 -4
  1112. package/locales/angular/global/yi.js +4 -4
  1113. package/locales/angular/global/yo-bj.js +4 -4
  1114. package/locales/angular/global/yo.js +4 -4
  1115. package/locales/angular/global/yrl-co.js +4 -4
  1116. package/locales/angular/global/yrl-ve.js +4 -4
  1117. package/locales/angular/global/yrl.js +4 -4
  1118. package/locales/angular/global/yue-hans.js +4 -4
  1119. package/locales/angular/global/yue-hant.js +4 -4
  1120. package/locales/angular/global/yue.js +4 -4
  1121. package/locales/angular/global/zgh.js +4 -4
  1122. package/locales/angular/global/zh-hans-hk.js +4 -4
  1123. package/locales/angular/global/zh-hans-mo.js +4 -4
  1124. package/locales/angular/global/zh-hans-sg.js +4 -4
  1125. package/locales/angular/global/zh-hans.js +4 -4
  1126. package/locales/angular/global/zh-hant-hk.js +4 -4
  1127. package/locales/angular/global/zh-hant-mo.js +4 -4
  1128. package/locales/angular/global/zh-hant.js +4 -4
  1129. package/locales/angular/global/zh.js +4 -4
  1130. package/locales/angular/global/zu.js +4 -4
  1131. package/mobile/components/basic/default/bundles/index.umd.js +148 -143
  1132. package/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +8 -7
  1133. package/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +7 -6
  1134. package/mobile/components/basic/default/esm2022/basic.module.mjs +2 -2
  1135. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +47 -43
  1136. package/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +7 -5
  1137. package/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +6 -5
  1138. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +49 -47
  1139. package/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +2 -2
  1140. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +31 -32
  1141. package/mobile/components/basic/default/fesm2022/index.mjs +146 -140
  1142. package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  1143. package/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +2 -2
  1144. package/mobile/components/basic/search/bundles/index.umd.js +3 -3
  1145. package/mobile/components/basic/search/esm2022/search.directive.mjs +3 -3
  1146. package/mobile/components/basic/search/esm2022/search.module.mjs +2 -2
  1147. package/mobile/components/basic/search/fesm2022/index.mjs +3 -3
  1148. package/mobile/components/basic/search/fesm2022/index.mjs.map +1 -1
  1149. package/mobile/components/containers/segmented-control/bundles/index.umd.js +42 -30
  1150. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +14 -8
  1151. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +28 -21
  1152. package/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +2 -2
  1153. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +41 -28
  1154. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  1155. package/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -2
  1156. package/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -2
  1157. package/mobile/components/data/media-list/bundles/index.umd.js +53 -48
  1158. package/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +2 -2
  1159. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +48 -42
  1160. package/mobile/components/data/media-list/esm2022/media-list.module.mjs +2 -2
  1161. package/mobile/components/data/media-list/fesm2022/index.mjs +50 -44
  1162. package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  1163. package/mobile/components/data/media-list/media-list.component.d.ts +2 -2
  1164. package/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -2
  1165. package/mobile/components/device/barcode-scanner/bundles/index.umd.js +14 -8
  1166. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +15 -9
  1167. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +2 -2
  1168. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs +16 -10
  1169. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
  1170. package/mobile/components/device/camera/bundles/index.umd.js +15 -9
  1171. package/mobile/components/device/camera/camera.component.d.ts +2 -2
  1172. package/mobile/components/device/camera/esm2022/camera.component.mjs +16 -10
  1173. package/mobile/components/device/camera/esm2022/camera.module.mjs +2 -2
  1174. package/mobile/components/device/camera/fesm2022/index.mjs +17 -11
  1175. package/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
  1176. package/mobile/components/input/file-upload/bundles/index.umd.js +3 -3
  1177. package/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +3 -3
  1178. package/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +2 -2
  1179. package/mobile/components/input/file-upload/fesm2022/index.mjs +3 -3
  1180. package/mobile/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  1181. package/mobile/components/page/default/bundles/index.umd.js +11 -10
  1182. package/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +4 -3
  1183. package/mobile/components/page/default/esm2022/page.directive.mjs +5 -4
  1184. package/mobile/components/page/default/esm2022/page.module.mjs +2 -2
  1185. package/mobile/components/page/default/fesm2022/index.mjs +8 -6
  1186. package/mobile/components/page/default/fesm2022/index.mjs.map +1 -1
  1187. package/mobile/components/page/left-panel/bundles/index.umd.js +3 -3
  1188. package/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
  1189. package/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +2 -2
  1190. package/mobile/components/page/left-panel/fesm2022/index.mjs +3 -3
  1191. package/mobile/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  1192. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +40 -35
  1193. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +41 -36
  1194. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +2 -2
  1195. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +41 -36
  1196. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
  1197. package/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +2 -2
  1198. package/mobile/components/page/tab-bar/bundles/index.umd.js +52 -46
  1199. package/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +2 -2
  1200. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +50 -43
  1201. package/mobile/components/page/tab-bar/fesm2022/index.mjs +51 -44
  1202. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  1203. package/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -2
  1204. package/mobile/core/bundles/index.umd.js +43 -43
  1205. package/mobile/core/esm2022/core.module.mjs +3 -3
  1206. package/mobile/core/esm2022/native.xhr.mjs +1 -1
  1207. package/mobile/core/esm2022/services/device-file-cache.service.mjs +3 -3
  1208. package/mobile/core/esm2022/services/device-file-download.service.mjs +7 -6
  1209. package/mobile/core/esm2022/services/device-file-opener.service.mjs +5 -4
  1210. package/mobile/core/esm2022/services/device-file-upload.service.mjs +6 -5
  1211. package/mobile/core/esm2022/services/device-file.service.mjs +8 -7
  1212. package/mobile/core/esm2022/services/device.service.mjs +5 -4
  1213. package/mobile/core/esm2022/services/ext-app-message.service.mjs +7 -6
  1214. package/mobile/core/esm2022/services/network.service.mjs +11 -10
  1215. package/mobile/core/fesm2022/index.mjs +40 -39
  1216. package/mobile/core/fesm2022/index.mjs.map +1 -1
  1217. package/mobile/core/services/ext-app-message.service.d.ts +1 -1
  1218. package/mobile/core/services/network.service.d.ts +7 -1
  1219. package/mobile/offline/bundles/index.umd.js +176 -159
  1220. package/mobile/offline/esm2022/models/local-db-store.mjs +23 -21
  1221. package/mobile/offline/esm2022/offline.module.mjs +3 -3
  1222. package/mobile/offline/esm2022/services/change-log.service.mjs +9 -8
  1223. package/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +39 -37
  1224. package/mobile/offline/esm2022/services/local-db-management.service.mjs +56 -47
  1225. package/mobile/offline/esm2022/services/local-db.service.mjs +7 -6
  1226. package/mobile/offline/esm2022/services/local-key-value.service.mjs +2 -2
  1227. package/mobile/offline/esm2022/services/push.service.mjs +3 -3
  1228. package/mobile/offline/esm2022/services/workers/error-blocker.mjs +4 -3
  1229. package/mobile/offline/esm2022/services/workers/file-handler.mjs +18 -13
  1230. package/mobile/offline/esm2022/services/workers/id-resolver.mjs +3 -3
  1231. package/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +9 -5
  1232. package/mobile/offline/esm2022/utils/file-upload.utils.mjs +1 -1
  1233. package/mobile/offline/esm2022/utils/live-variable.utils.mjs +12 -11
  1234. package/mobile/offline/esm2022/utils/query-executor.utils.mjs +5 -4
  1235. package/mobile/offline/esm2022/utils/security.utils.mjs +3 -2
  1236. package/mobile/offline/esm2022/utils/utils.mjs +1 -1
  1237. package/mobile/offline/fesm2022/index.mjs +171 -153
  1238. package/mobile/offline/fesm2022/index.mjs.map +1 -1
  1239. package/mobile/placeholder/runtime/bundles/index.umd.js +3 -2
  1240. package/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +3 -2
  1241. package/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +2 -2
  1242. package/mobile/placeholder/runtime/fesm2022/index.mjs +3 -2
  1243. package/mobile/placeholder/runtime/fesm2022/index.mjs.map +1 -1
  1244. package/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +1 -1
  1245. package/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
  1246. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +1 -1
  1247. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +1 -1
  1248. package/mobile/runtime/bundles/index.umd.js +21 -17
  1249. package/mobile/runtime/esm2022/components/app-ext.component.mjs +4 -3
  1250. package/mobile/runtime/esm2022/mobile-runtime.module.mjs +5 -4
  1251. package/mobile/runtime/esm2022/services/cookie.service.mjs +7 -3
  1252. package/mobile/runtime/esm2022/services/http-interceptor.service.mjs +6 -5
  1253. package/mobile/runtime/esm2022/services/webprocess.service.mjs +3 -3
  1254. package/mobile/runtime/fesm2022/index.mjs +18 -13
  1255. package/mobile/runtime/fesm2022/index.mjs.map +1 -1
  1256. package/mobile/runtime-dynamic/bundles/index.umd.js +5 -5
  1257. package/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +2 -2
  1258. package/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +5 -5
  1259. package/mobile/runtime-dynamic/fesm2022/index.mjs +5 -5
  1260. package/mobile/runtime-dynamic/fesm2022/index.mjs.map +1 -1
  1261. package/mobile/variables/bundles/index.umd.js +28 -21
  1262. package/mobile/variables/esm2022/services/camera-service.mjs +5 -5
  1263. package/mobile/variables/esm2022/services/contacts-service.mjs +1 -1
  1264. package/mobile/variables/esm2022/services/datasync-service.mjs +10 -9
  1265. package/mobile/variables/esm2022/services/device-service/device-service.mjs +1 -1
  1266. package/mobile/variables/esm2022/services/device-service/location-service.mjs +1 -1
  1267. package/mobile/variables/esm2022/services/file-service.mjs +11 -3
  1268. package/mobile/variables/esm2022/services/scan-service.mjs +1 -1
  1269. package/mobile/variables/esm2022/variables.module.mjs +3 -3
  1270. package/mobile/variables/fesm2022/index.mjs +24 -16
  1271. package/mobile/variables/fesm2022/index.mjs.map +1 -1
  1272. package/oAuth/bundles/index.umd.js +15 -15
  1273. package/oAuth/esm2022/oAuth.module.mjs +2 -2
  1274. package/oAuth/esm2022/oAuth.service.mjs +6 -5
  1275. package/oAuth/esm2022/oAuth.utils.mjs +8 -7
  1276. package/oAuth/fesm2022/index.mjs +12 -11
  1277. package/oAuth/fesm2022/index.mjs.map +1 -1
  1278. package/package.json +1 -1
  1279. package/runtime/base/bundles/index.umd.js +243 -237
  1280. package/runtime/base/esm2022/components/app-component/app.component.mjs +27 -27
  1281. package/runtime/base/esm2022/components/app-spinner.component.mjs +9 -8
  1282. package/runtime/base/esm2022/components/base-layout.component.mjs +5 -4
  1283. package/runtime/base/esm2022/components/base-page.component.mjs +16 -15
  1284. package/runtime/base/esm2022/components/base-partial.component.mjs +15 -14
  1285. package/runtime/base/esm2022/components/base-prefab.component.mjs +17 -16
  1286. package/runtime/base/esm2022/components/base-spa-page.component.mjs +16 -15
  1287. package/runtime/base/esm2022/components/custom-toaster.component.mjs +17 -15
  1288. package/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
  1289. package/runtime/base/esm2022/components/prefab-preview.component.mjs +4 -3
  1290. package/runtime/base/esm2022/directives/accessroles.directive.mjs +13 -12
  1291. package/runtime/base/esm2022/directives/prefab.directive.mjs +4 -4
  1292. package/runtime/base/esm2022/guards/auth.guard.mjs +3 -3
  1293. package/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +3 -3
  1294. package/runtime/base/esm2022/guards/page-not-found.guard.mjs +3 -3
  1295. package/runtime/base/esm2022/guards/role.guard.mjs +5 -4
  1296. package/runtime/base/esm2022/overrides/wm_dom_renderer.mjs +4 -4
  1297. package/runtime/base/esm2022/overrides/wm_shared_styles_host.mjs +5 -5
  1298. package/runtime/base/esm2022/resolves/app-extension.resolve.mjs +3 -3
  1299. package/runtime/base/esm2022/resolves/app-js.resolve.mjs +3 -3
  1300. package/runtime/base/esm2022/resolves/app-variables.resolve.mjs +3 -3
  1301. package/runtime/base/esm2022/resolves/i18n.resolve.mjs +3 -3
  1302. package/runtime/base/esm2022/resolves/metadata.resolve.mjs +3 -3
  1303. package/runtime/base/esm2022/resolves/security-config.resolve.mjs +3 -3
  1304. package/runtime/base/esm2022/runtime-base.module.mjs +3 -3
  1305. package/runtime/base/esm2022/services/app-defaults.service.mjs +3 -3
  1306. package/runtime/base/esm2022/services/app.manager.service.mjs +19 -16
  1307. package/runtime/base/esm2022/services/app.service.mjs +9 -8
  1308. package/runtime/base/esm2022/services/dynamic-component-ref-provider.service.mjs +5 -4
  1309. package/runtime/base/esm2022/services/http-interceptor.services.mjs +6 -5
  1310. package/runtime/base/esm2022/services/i18n.service.mjs +15 -13
  1311. package/runtime/base/esm2022/services/navigation.service.mjs +10 -9
  1312. package/runtime/base/esm2022/services/pipe-provider.service.mjs +3 -3
  1313. package/runtime/base/esm2022/services/pipe.service.mjs +3 -3
  1314. package/runtime/base/esm2022/services/prefab-manager.service.mjs +5 -4
  1315. package/runtime/base/esm2022/services/spinner.service.mjs +9 -8
  1316. package/runtime/base/esm2022/services/toaster.service.mjs +8 -7
  1317. package/runtime/base/esm2022/util/fragment-monitor.mjs +3 -3
  1318. package/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +7 -8
  1319. package/runtime/base/fesm2022/index.mjs +253 -247
  1320. package/runtime/base/fesm2022/index.mjs.map +1 -1
  1321. package/runtime/base/overrides/wm_dom_renderer.d.ts +2 -2
  1322. package/runtime/base/services/i18n.service.d.ts +1 -1
  1323. package/runtime/dynamic/bundles/index.umd.js +22 -21
  1324. package/runtime/dynamic/esm2022/app/app.module.mjs +1 -1
  1325. package/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +4 -3
  1326. package/runtime/dynamic/esm2022/app/services/app-extension.service.mjs +3 -3
  1327. package/runtime/dynamic/esm2022/app/services/app-js-provider.service.mjs +3 -3
  1328. package/runtime/dynamic/esm2022/app/services/app-resource-manager.service.mjs +3 -3
  1329. package/runtime/dynamic/esm2022/app/services/app-variables-provider.service.mjs +3 -3
  1330. package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +6 -5
  1331. package/runtime/dynamic/esm2022/app/services/prefab-config-provider.service.mjs +3 -3
  1332. package/runtime/dynamic/esm2022/main.mjs +3 -2
  1333. package/runtime/dynamic/fesm2022/index.mjs +21 -19
  1334. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  1335. package/scripts/datatable/datatable.js +2 -1
  1336. package/scripts/jquery-ui/ui/widgets/droppable.js +7 -7
  1337. package/scripts/jquery-ui/ui/widgets/resizable.js +13 -10
  1338. package/scripts/jquery-ui/ui/widgets/sortable.js +7 -7
  1339. package/security/bundles/index.umd.js +17 -17
  1340. package/security/esm2022/security.module.mjs +2 -2
  1341. package/security/esm2022/security.service.mjs +14 -13
  1342. package/security/fesm2022/index.mjs +14 -13
  1343. package/security/fesm2022/index.mjs.map +1 -1
  1344. package/security/security.service.d.ts +1 -1
  1345. package/swipey/esm2022/swipe.animation.mjs +1 -1
  1346. package/swipey/fesm2022/index.mjs.map +1 -1
  1347. package/transpiler/bundles/index.umd.js +10 -9
  1348. package/transpiler/esm2022/build.mjs +8 -6
  1349. package/transpiler/fesm2022/index.mjs +7 -5
  1350. package/transpiler/fesm2022/index.mjs.map +1 -1
  1351. package/variables/bundles/index.umd.js +160 -150
  1352. package/variables/esm2022/factory/variable.factory.mjs +1 -1
  1353. package/variables/esm2022/manager/action/login-action.manager.mjs +15 -14
  1354. package/variables/esm2022/manager/action/logout-action.manager.mjs +1 -1
  1355. package/variables/esm2022/manager/action/notification-action.manager.mjs +9 -8
  1356. package/variables/esm2022/manager/variable/base-variable.manager.mjs +3 -2
  1357. package/variables/esm2022/manager/variable/device-variable-manager.mjs +1 -1
  1358. package/variables/esm2022/manager/variable/device-variable-service.mjs +1 -1
  1359. package/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +11 -10
  1360. package/variables/esm2022/model/action/notification-action.mjs +1 -1
  1361. package/variables/esm2022/service/metadata-service/metadata.service.mjs +3 -3
  1362. package/variables/esm2022/service/variables.service.mjs +9 -8
  1363. package/variables/esm2022/util/action/navigation-action.utils.mjs +4 -4
  1364. package/variables/esm2022/util/variable/pagination.utils.mjs +30 -23
  1365. package/variables/esm2022/util/variable/service-variable.utils.mjs +29 -28
  1366. package/variables/esm2022/util/variable/variables.utils.mjs +75 -70
  1367. package/variables/esm2022/variables.module.mjs +2 -2
  1368. package/variables/fesm2022/index.mjs +174 -163
  1369. package/variables/fesm2022/index.mjs.map +1 -1
  1370. package/variables/util/variable/service-variable.utils.d.ts +1 -1
  1371. package/build-task/package.json +0 -28
  1372. package/components/advanced/carousel/package.json +0 -23
  1373. package/components/advanced/login/package.json +0 -23
  1374. package/components/advanced/marquee/package.json +0 -23
  1375. package/components/base/package.json +0 -28
  1376. package/components/basic/default/package.json +0 -23
  1377. package/components/basic/progress/package.json +0 -23
  1378. package/components/basic/rich-text-editor/package.json +0 -23
  1379. package/components/basic/search/package.json +0 -23
  1380. package/components/basic/tree/package.json +0 -23
  1381. package/components/chart/package.json +0 -23
  1382. package/components/containers/accordion/package.json +0 -23
  1383. package/components/containers/layout-grid/package.json +0 -23
  1384. package/components/containers/linear-layout/package.json +0 -23
  1385. package/components/containers/panel/package.json +0 -23
  1386. package/components/containers/tabs/package.json +0 -23
  1387. package/components/containers/tile/package.json +0 -23
  1388. package/components/containers/wizard/package.json +0 -23
  1389. package/components/data/card/package.json +0 -23
  1390. package/components/data/form/package.json +0 -23
  1391. package/components/data/list/package.json +0 -23
  1392. package/components/data/live-table/package.json +0 -23
  1393. package/components/data/pagination/package.json +0 -23
  1394. package/components/data/table/package.json +0 -23
  1395. package/components/dialogs/alert-dialog/package.json +0 -23
  1396. package/components/dialogs/confirm-dialog/package.json +0 -23
  1397. package/components/dialogs/default/package.json +0 -23
  1398. package/components/dialogs/design-dialog/package.json +0 -23
  1399. package/components/dialogs/iframe-dialog/package.json +0 -23
  1400. package/components/dialogs/login-dialog/package.json +0 -23
  1401. package/components/dialogs/partial-dialog/package.json +0 -23
  1402. package/components/input/calendar/package.json +0 -23
  1403. package/components/input/chips/package.json +0 -23
  1404. package/components/input/color-picker/package.json +0 -23
  1405. package/components/input/currency/package.json +0 -23
  1406. package/components/input/default/package.json +0 -23
  1407. package/components/input/epoch/package.json +0 -23
  1408. package/components/input/file-upload/package.json +0 -23
  1409. package/components/input/rating/package.json +0 -23
  1410. package/components/input/slider/package.json +0 -23
  1411. package/components/navigation/breadcrumb/package.json +0 -23
  1412. package/components/navigation/menu/package.json +0 -23
  1413. package/components/navigation/navbar/package.json +0 -23
  1414. package/components/navigation/popover/package.json +0 -23
  1415. package/components/page/default/package.json +0 -23
  1416. package/components/page/footer/package.json +0 -23
  1417. package/components/page/header/package.json +0 -23
  1418. package/components/page/left-panel/package.json +0 -23
  1419. package/components/page/right-panel/package.json +0 -23
  1420. package/components/page/top-nav/package.json +0 -23
  1421. package/components/prefab/package.json +0 -23
  1422. package/core/package.json +0 -29
  1423. package/http/package.json +0 -28
  1424. package/mobile/components/basic/default/package.json +0 -23
  1425. package/mobile/components/basic/search/package.json +0 -23
  1426. package/mobile/components/containers/segmented-control/package.json +0 -23
  1427. package/mobile/components/data/media-list/package.json +0 -23
  1428. package/mobile/components/device/barcode-scanner/package.json +0 -23
  1429. package/mobile/components/device/camera/package.json +0 -23
  1430. package/mobile/components/input/file-upload/package.json +0 -23
  1431. package/mobile/components/page/default/package.json +0 -23
  1432. package/mobile/components/page/left-panel/package.json +0 -23
  1433. package/mobile/components/page/mobile-navbar/package.json +0 -23
  1434. package/mobile/components/page/tab-bar/package.json +0 -23
  1435. package/mobile/core/package.json +0 -28
  1436. package/mobile/offline/package.json +0 -28
  1437. package/mobile/placeholder/runtime/package.json +0 -27
  1438. package/mobile/placeholder/runtime-dynamic/package.json +0 -23
  1439. package/mobile/runtime/package.json +0 -28
  1440. package/mobile/runtime-dynamic/package.json +0 -23
  1441. package/mobile/variables/package.json +0 -28
  1442. package/oAuth/package.json +0 -28
  1443. package/runtime/base/package.json +0 -28
  1444. package/runtime/dynamic/package.json +0 -28
  1445. package/security/package.json +0 -28
  1446. package/swipey/package.json +0 -28
  1447. package/transpiler/package.json +0 -29
  1448. package/variables/package.json +0 -28
@@ -1,16 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ViewContainerRef, Directive, Optional, HostBinding, HostListener, Input, Component, Attribute, ContentChild, ContentChildren, ViewChild, ViewChildren, NgModule } from '@angular/core';
2
+ import { ViewContainerRef, Directive, Optional, HostBinding, HostListener, Input, Component, Attribute, Inject, ContentChild, ContentChildren, ViewChild, ViewChildren, NgModule } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i1 from '@wm/components/base';
6
- import { register, PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER, StylableComponent, styler, APPLY_STYLES_TYPE, extractDataSourceName, NAVIGATION_TYPE, getOrderedDataset, groupData, unsupportedStatePersistenceTypes, DEBOUNCE_TIMES, configureDnD, handleHeaderClick, toggleAllHeaders, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
6
+ import { PROP_BOOLEAN, PROP_STRING, PROP_ANY, PROP_NUMBER, register, StylableComponent, APPLY_STYLES_TYPE, styler, extractDataSourceName, DEBOUNCE_TIMES, handleHeaderClick, toggleAllHeaders, NAVIGATION_TYPE, getOrderedDataset, groupData, unsupportedStatePersistenceTypes, configureDnD, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
7
7
  import * as i2$1 from '@wm/components/data/pagination';
8
8
  import { PaginationComponent, PaginationModule } from '@wm/components/data/pagination';
9
9
  import * as i2 from '@wm/core';
10
- import { isMobileApp, $watch, getClonedObject, isDefined, $appDigest, noop, generateGUId, $invokeWatchers, DataSource, isDataSourceEqual, isObject, isMobile, switchClass, setListClass, isNumber } from '@wm/core';
10
+ import { isMobileApp, $watch, noop, generateGUId, getClonedObject, $appDigest, isDefined, DataSource, isDataSourceEqual, isObject, switchClass, setListClass, isMobile, $invokeWatchers } from '@wm/core';
11
11
  import { ButtonComponent } from '@wm/components/input';
12
12
  import { Subject } from 'rxjs';
13
13
  import { SwipeAnimation } from '@swipey';
14
+ import { reduce, map, get, isEmpty, isArray, forEach, isEqual, isUndefined, includes, last, cloneDeep, isString, has, clone, remove, some, pullAllWith, toNumber, min, max, pullAt, isNumber } from 'lodash-es';
14
15
 
15
16
  const registerProps = () => {
16
17
  register('wm-list', new Map([
@@ -168,15 +169,15 @@ class ListItemDirective {
168
169
  i0.ɵɵclassProp("active", ctx.isActive)("disable-item", ctx.disableItem);
169
170
  } }, inputs: { wmListItem: "wmListItem" }, exportAs: ["listItemRef"] }); }
170
171
  }
171
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListItemDirective, [{
172
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListItemDirective, [{
172
173
  type: Directive,
173
174
  args: [{
174
175
  selector: '[wmListItem]',
175
176
  exportAs: 'listItemRef'
176
177
  }]
177
- }], function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.App }, { type: ListComponent, decorators: [{
178
+ }], () => [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.App }, { type: ListComponent, decorators: [{
178
179
  type: Optional
179
- }] }]; }, { isActive: [{
180
+ }] }], { isActive: [{
180
181
  type: HostBinding,
181
182
  args: ['class.active']
182
183
  }], disableItem: [{
@@ -218,7 +219,7 @@ class ListAnimator extends SwipeAnimation {
218
219
  }
219
220
  // Returns the total width occupied by all the children inside the element
220
221
  computeTotalChildrenWidth($ele) {
221
- return _.reduce($ele.children(), (totalWidth, el) => {
222
+ return reduce($ele.children(), (totalWidth, el) => {
222
223
  return totalWidth + $(el).outerWidth();
223
224
  }, 0);
224
225
  }
@@ -227,7 +228,8 @@ class ListAnimator extends SwipeAnimation {
227
228
  const totalWidth = this.computeTotalChildrenWidth($ele);
228
229
  const reverse = this.position === 'right';
229
230
  let d = 0;
230
- return _.map($ele.children(), e => {
231
+ // @ts-ignore
232
+ return map($ele.children(), e => {
231
233
  const f = (totalWidth - d) / totalWidth;
232
234
  d += $(e).outerWidth();
233
235
  return reverse ? f : (d / totalWidth);
@@ -423,30 +425,32 @@ const _c0 = ["listTemplate"];
423
425
  const _c1 = ["listLeftActionTemplate"];
424
426
  const _c2 = ["listRightActionTemplate"];
425
427
  const _c3 = ["wmList", ""];
428
+ const _c4 = a0 => ({ "disabled": a0 });
429
+ const _c5 = (a0, a1, a2, a3, a4, a5) => ({ item: a0, $index: a1, itemRef: a2, $first: a3, $last: a4, currentItemWidgets: a5 });
430
+ const _c6 = a0 => ({ "collapsible-content": a0 });
426
431
  function ListComponent_div_0_Template(rf, ctx) { if (rf & 1) {
427
- i0.ɵɵelementStart(0, "div", 13)(1, "h3", 14)(2, "div", 15);
428
- i0.ɵɵelement(3, "i", 16);
432
+ i0.ɵɵelementStart(0, "div", 14)(1, "h3", 15)(2, "div", 16);
433
+ i0.ɵɵelement(3, "i", 17);
429
434
  i0.ɵɵelementEnd();
430
- i0.ɵɵelementStart(4, "div", 15);
431
- i0.ɵɵelement(5, "div", 17)(6, "div", 18);
435
+ i0.ɵɵelementStart(4, "div", 16);
436
+ i0.ɵɵelement(5, "div", 18)(6, "div", 19);
432
437
  i0.ɵɵelementEnd()()();
433
438
  } if (rf & 2) {
434
- const ctx_r0 = i0.ɵɵnextContext();
439
+ const ctx_r1 = i0.ɵɵnextContext();
435
440
  i0.ɵɵadvance(3);
436
- i0.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r0.iconclass, "");
437
- i0.ɵɵproperty("hidden", !ctx_r0.iconclass);
441
+ i0.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r1.iconclass, "");
442
+ i0.ɵɵproperty("hidden", !ctx_r1.iconclass);
438
443
  i0.ɵɵadvance(2);
439
- i0.ɵɵproperty("innerHTML", ctx_r0.title, i0.ɵɵsanitizeHtml);
440
- i0.ɵɵadvance(1);
441
- i0.ɵɵproperty("innerHTML", ctx_r0.subheading, i0.ɵɵsanitizeHtml);
444
+ i0.ɵɵproperty("innerHTML", ctx_r1.title, i0.ɵɵsanitizeHtml);
445
+ i0.ɵɵadvance();
446
+ i0.ɵɵproperty("innerHTML", ctx_r1.subheading, i0.ɵɵsanitizeHtml);
442
447
  } }
443
- const _c4 = function (a0) { return { "disabled": a0 }; };
444
448
  function ListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
445
- const _r13 = i0.ɵɵgetCurrentView();
446
- i0.ɵɵelementStart(0, "div", 19)(1, "ul", 20)(2, "li", 21)(3, "a", 22);
447
- i0.ɵɵlistener("click", function ListComponent_div_1_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.dataNavigator.navigatePage("prev", $event)); });
448
- i0.ɵɵelement(4, "i", 23);
449
- i0.ɵɵelementStart(5, "span", 24);
449
+ const _r3 = i0.ɵɵgetCurrentView();
450
+ i0.ɵɵelementStart(0, "div", 20)(1, "ul", 21)(2, "li", 22)(3, "a", 23);
451
+ i0.ɵɵlistener("click", function ListComponent_div_1_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.dataNavigator.navigatePage("prev", $event)); });
452
+ i0.ɵɵelement(4, "i", 24);
453
+ i0.ɵɵelementStart(5, "span", 25);
450
454
  i0.ɵɵtext(6);
451
455
  i0.ɵɵelementEnd()()()()();
452
456
  } if (rf & 2) {
@@ -454,108 +458,107 @@ function ListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
454
458
  i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisablePrevious);
455
459
  i0.ɵɵadvance(2);
456
460
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4, ctx_r1.dataNavigator ? ctx_r1.dataNavigator.isDisablePrevious : true));
457
- i0.ɵɵadvance(1);
461
+ i0.ɵɵadvance();
458
462
  i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisablePrevious);
459
463
  i0.ɵɵadvance(3);
460
464
  i0.ɵɵtextInterpolate1("Go to Previous page ", ctx_r1.dataNavigator.isDisablePrevious ? ", Disabled" : "", "");
461
465
  } }
462
466
  function ListComponent_div_2_Template(rf, ctx) { if (rf & 1) {
463
- i0.ɵɵelementStart(0, "div", 25);
467
+ i0.ɵɵelementStart(0, "div", 26);
464
468
  i0.ɵɵtext(1);
465
469
  i0.ɵɵelementEnd();
466
470
  } if (rf & 2) {
467
- const ctx_r2 = i0.ɵɵnextContext();
468
- i0.ɵɵadvance(1);
469
- i0.ɵɵtextInterpolate1(" ", "Page " + ctx_r2.dataNavigator.dn.currentPage + " of " + ctx_r2.dataNavigator.pageCount, "");
471
+ const ctx_r1 = i0.ɵɵnextContext();
472
+ i0.ɵɵadvance();
473
+ i0.ɵɵtextInterpolate1(" ", "Page " + ctx_r1.dataNavigator.dn.currentPage + " of " + ctx_r1.dataNavigator.pageCount, "");
470
474
  } }
471
475
  function ListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
472
- i0.ɵɵelementStart(0, "div", 26);
476
+ i0.ɵɵelementStart(0, "div", 27);
473
477
  i0.ɵɵtext(1, " Press space bar to toggle drag drop mode, use arrow keys to move selected elements. ");
474
478
  i0.ɵɵelementEnd();
475
479
  } if (rf & 2) {
476
- const ctx_r3 = i0.ɵɵnextContext();
477
- i0.ɵɵpropertyInterpolate("id", ctx_r3.titleId);
480
+ const ctx_r1 = i0.ɵɵnextContext();
481
+ i0.ɵɵpropertyInterpolate("id", ctx_r1.titleId);
478
482
  } }
479
483
  function ListComponent_div_5_Template(rf, ctx) { if (rf & 1) {
480
- i0.ɵɵelementStart(0, "div", 27);
484
+ i0.ɵɵelementStart(0, "div", 28);
481
485
  i0.ɵɵtext(1);
482
486
  i0.ɵɵelementEnd();
483
487
  } if (rf & 2) {
484
- const ctx_r4 = i0.ɵɵnextContext();
485
- i0.ɵɵadvance(1);
486
- i0.ɵɵtextInterpolate1(" ", ctx_r4.ariaText + ctx_r4.currentIndex + " of " + ctx_r4.listItems.length, " ");
488
+ const ctx_r1 = i0.ɵɵnextContext();
489
+ i0.ɵɵadvance();
490
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.ariaText + ctx_r1.currentIndex + " of " + ctx_r1.listItems.length, " ");
487
491
  } }
488
- const _c5 = function (a0, a1, a2, a3, a4, a5) { return { item: a0, $index: a1, itemRef: a2, $first: a3, $last: a4, currentItemWidgets: a5 }; };
489
492
  function ListComponent_ng_template_7_li_0_Template(rf, ctx) { if (rf & 1) {
490
- i0.ɵɵelementStart(0, "li", 29, 30);
493
+ i0.ɵɵelementStart(0, "li", 30, 1);
491
494
  i0.ɵɵelementContainer(2, 31);
492
495
  i0.ɵɵelementEnd();
493
496
  } if (rf & 2) {
494
- const item_r15 = ctx.$implicit;
495
- const $index_r16 = ctx.index;
496
- const $first_r17 = ctx.first;
497
- const $last_r18 = ctx.last;
498
- const _r19 = i0.ɵɵreference(1);
499
- const ctx_r14 = i0.ɵɵnextContext(2);
500
- i0.ɵɵclassMapInterpolate1("app-list-item ", ctx_r14.direction === "horizontal" ? "" : ctx_r14.itemsPerRowClass, "");
501
- i0.ɵɵproperty("ngClass", _r19.itemClass)("wmListItem", item_r15);
502
- i0.ɵɵattribute("tabindex", ctx_r14.tabindex);
497
+ const item_r4 = ctx.$implicit;
498
+ const $index_r5 = ctx.index;
499
+ const $first_r6 = ctx.first;
500
+ const $last_r7 = ctx.last;
501
+ const listItemRef_r8 = i0.ɵɵreference(1);
502
+ const ctx_r1 = i0.ɵɵnextContext(2);
503
+ i0.ɵɵclassMapInterpolate1("app-list-item ", ctx_r1.direction === "horizontal" ? "" : ctx_r1.itemsPerRowClass, "");
504
+ i0.ɵɵproperty("ngClass", listItemRef_r8.itemClass)("wmListItem", item_r4);
505
+ i0.ɵɵattribute("tabindex", ctx_r1.tabindex);
503
506
  i0.ɵɵadvance(2);
504
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r14.listTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction6(8, _c5, item_r15, $index_r16, _r19, $first_r17, $last_r18, _r19.currentItemWidgets));
507
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.listTemplate)("ngTemplateOutletInjector", ctx_r1.createCustomInjector("flat_" + $index_r5, i0.ɵɵpureFunction6(9, _c5, item_r4, $index_r5, listItemRef_r8, $first_r6, $last_r7, listItemRef_r8.currentItemWidgets)))("ngTemplateOutletContext", i0.ɵɵpureFunction6(16, _c5, item_r4, $index_r5, listItemRef_r8, $first_r6, $last_r7, listItemRef_r8.currentItemWidgets));
505
508
  } }
506
509
  function ListComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
507
- i0.ɵɵtemplate(0, ListComponent_ng_template_7_li_0_Template, 3, 15, "li", 28);
510
+ i0.ɵɵtemplate(0, ListComponent_ng_template_7_li_0_Template, 3, 23, "li", 29);
508
511
  } if (rf & 2) {
509
- const ctx_r5 = i0.ɵɵnextContext();
510
- i0.ɵɵproperty("ngForOf", ctx_r5.fieldDefs);
512
+ const ctx_r1 = i0.ɵɵnextContext();
513
+ i0.ɵɵproperty("ngForOf", ctx_r1.fieldDefs);
511
514
  } }
512
515
  function ListComponent_div_10_Template(rf, ctx) { if (rf & 1) {
513
516
  i0.ɵɵelement(0, "div", 32);
514
517
  } if (rf & 2) {
515
- const ctx_r6 = i0.ɵɵnextContext();
516
- i0.ɵɵproperty("textContent", ctx_r6.nodatamessage);
518
+ const ctx_r1 = i0.ɵɵnextContext();
519
+ i0.ɵɵproperty("textContent", ctx_r1.nodatamessage);
517
520
  } }
518
521
  function ListComponent_div_11_Template(rf, ctx) { if (rf & 1) {
519
522
  i0.ɵɵelementStart(0, "div", 33)(1, "span");
520
523
  i0.ɵɵelement(2, "i", 34);
521
- i0.ɵɵelementStart(3, "span", 24);
524
+ i0.ɵɵelementStart(3, "span", 25);
522
525
  i0.ɵɵtext(4, "Loading");
523
526
  i0.ɵɵelementEnd();
524
527
  i0.ɵɵelement(5, "span", 35);
525
528
  i0.ɵɵelementEnd()();
526
529
  } if (rf & 2) {
527
- const ctx_r7 = i0.ɵɵnextContext();
530
+ const ctx_r1 = i0.ɵɵnextContext();
528
531
  i0.ɵɵadvance(2);
529
- i0.ɵɵproperty("ngClass", ctx_r7.loadingicon);
532
+ i0.ɵɵproperty("ngClass", ctx_r1.loadingicon);
530
533
  i0.ɵɵadvance(3);
531
- i0.ɵɵproperty("textContent", ctx_r7.loadingdatamsg);
534
+ i0.ɵɵproperty("textContent", ctx_r1.loadingdatamsg);
532
535
  } }
533
536
  function ListComponent_div_12_Template(rf, ctx) { if (rf & 1) {
534
- const _r21 = i0.ɵɵgetCurrentView();
535
- i0.ɵɵelementStart(0, "div", 36)(1, "ul", 20)(2, "li", 37)(3, "a", 22);
536
- i0.ɵɵlistener("click", function ListComponent_div_12_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.dataNavigator.navigatePage("next", $event)); });
537
+ const _r9 = i0.ɵɵgetCurrentView();
538
+ i0.ɵɵelementStart(0, "div", 36)(1, "ul", 21)(2, "li", 37)(3, "a", 23);
539
+ i0.ɵɵlistener("click", function ListComponent_div_12_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.dataNavigator.navigatePage("next", $event)); });
537
540
  i0.ɵɵelement(4, "i", 38);
538
- i0.ɵɵelementStart(5, "span", 24);
541
+ i0.ɵɵelementStart(5, "span", 25);
539
542
  i0.ɵɵtext(6);
540
543
  i0.ɵɵelementEnd()()()()();
541
544
  } if (rf & 2) {
542
- const ctx_r8 = i0.ɵɵnextContext();
543
- i0.ɵɵattribute("aria-disabled", ctx_r8.dataNavigator.isDisableNext);
545
+ const ctx_r1 = i0.ɵɵnextContext();
546
+ i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisableNext);
544
547
  i0.ɵɵadvance(2);
545
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4, ctx_r8.dataNavigator ? ctx_r8.dataNavigator.isDisableNext : true));
546
- i0.ɵɵadvance(1);
547
- i0.ɵɵattribute("aria-disabled", ctx_r8.dataNavigator.isDisableNext);
548
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c4, ctx_r1.dataNavigator ? ctx_r1.dataNavigator.isDisableNext : true));
549
+ i0.ɵɵadvance();
550
+ i0.ɵɵattribute("aria-disabled", ctx_r1.dataNavigator.isDisableNext);
548
551
  i0.ɵɵadvance(3);
549
- i0.ɵɵtextInterpolate1("Go to Next page ", ctx_r8.dataNavigator.isDisableNext ? ", Disabled" : "", "");
552
+ i0.ɵɵtextInterpolate1("Go to Next page ", ctx_r1.dataNavigator.isDisableNext ? ", Disabled" : "", "");
550
553
  } }
551
554
  function ListComponent_div_13_a_2_Template(rf, ctx) { if (rf & 1) {
552
- const _r24 = i0.ɵɵgetCurrentView();
555
+ const _r10 = i0.ɵɵgetCurrentView();
553
556
  i0.ɵɵelementStart(0, "a", 42);
554
- i0.ɵɵlistener("click", function ListComponent_div_13_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.dataNavigator.navigatePage("next", $event)); });
557
+ i0.ɵɵlistener("click", function ListComponent_div_13_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.dataNavigator.navigatePage("next", $event)); });
555
558
  i0.ɵɵelementEnd();
556
559
  } if (rf & 2) {
557
- const ctx_r22 = i0.ɵɵnextContext(2);
558
- i0.ɵɵproperty("ngClass", ctx_r22.paginationclass)("textContent", ctx_r22.ondemandmessage);
560
+ const ctx_r1 = i0.ɵɵnextContext(2);
561
+ i0.ɵɵproperty("ngClass", ctx_r1.paginationclass)("textContent", ctx_r1.ondemandmessage);
559
562
  } }
560
563
  function ListComponent_div_13_Template(rf, ctx) { if (rf & 1) {
561
564
  i0.ɵɵelementStart(0, "div", 39);
@@ -563,10 +566,10 @@ function ListComponent_div_13_Template(rf, ctx) { if (rf & 1) {
563
566
  i0.ɵɵtemplate(2, ListComponent_div_13_a_2_Template, 1, 2, "a", 41);
564
567
  i0.ɵɵelementEnd();
565
568
  } if (rf & 2) {
566
- const ctx_r9 = i0.ɵɵnextContext();
567
- i0.ɵɵproperty("hidden", !ctx_r9.showNavigation || ctx_r9.onDemandLoad && ctx_r9.dataNavigator.isDisableNext || ctx_r9.dataNavigator.dataSize <= ctx_r9.pagesize || !ctx_r9.dataNavigator.dataSize && !(ctx_r9.dataNavigator.datasource == null ? null : ctx_r9.dataNavigator.datasource.pagination == null ? null : ctx_r9.dataNavigator.datasource.pagination.next));
569
+ const ctx_r1 = i0.ɵɵnextContext();
570
+ i0.ɵɵproperty("hidden", !ctx_r1.showNavigation || ctx_r1.onDemandLoad && ctx_r1.dataNavigator.isDisableNext || ctx_r1.dataNavigator.dataSize <= ctx_r1.pagesize || !ctx_r1.dataNavigator.dataSize && !(ctx_r1.dataNavigator.datasource == null ? null : ctx_r1.dataNavigator.datasource.pagination == null ? null : ctx_r1.dataNavigator.datasource.pagination.next));
568
571
  i0.ɵɵadvance(2);
569
- i0.ɵɵproperty("ngIf", ctx_r9.onDemandLoad);
572
+ i0.ɵɵproperty("ngIf", ctx_r1.onDemandLoad);
570
573
  } }
571
574
  function ListComponent_ng_template_14_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
572
575
  i0.ɵɵelement(0, "i", 51);
@@ -576,138 +579,73 @@ function ListComponent_ng_template_14_li_0_span_7_Template(rf, ctx) { if (rf & 1
576
579
  i0.ɵɵtext(1);
577
580
  i0.ɵɵelementEnd();
578
581
  } if (rf & 2) {
579
- const groupObj_r26 = i0.ɵɵnextContext().$implicit;
580
- i0.ɵɵadvance(1);
581
- i0.ɵɵtextInterpolate(groupObj_r26.data.length);
582
+ const groupObj_r12 = i0.ɵɵnextContext().$implicit;
583
+ i0.ɵɵadvance();
584
+ i0.ɵɵtextInterpolate(groupObj_r12.data.length);
582
585
  } }
583
586
  function ListComponent_ng_template_14_li_0_li_9_Template(rf, ctx) { if (rf & 1) {
584
- i0.ɵɵelementStart(0, "li", 53, 30);
587
+ i0.ɵɵelementStart(0, "li", 53, 1);
585
588
  i0.ɵɵelementContainer(2, 31);
586
589
  i0.ɵɵelementEnd();
587
590
  } if (rf & 2) {
588
- const item_r31 = ctx.$implicit;
589
- const $index_r32 = ctx.index;
590
- const $first_r33 = ctx.first;
591
- const $last_r34 = ctx.last;
592
- const _r35 = i0.ɵɵreference(1);
593
- const ctx_r29 = i0.ɵɵnextContext(3);
594
- i0.ɵɵclassMapInterpolate1("app-list-item group-list-item ", ctx_r29.itemsPerRowClass, "");
595
- i0.ɵɵproperty("ngClass", _r35.itemClass)("wmListItem", item_r31);
596
- i0.ɵɵattribute("tabindex", ctx_r29.tabindex);
591
+ const item_r13 = ctx.$implicit;
592
+ const $index_r14 = ctx.index;
593
+ const $first_r15 = ctx.first;
594
+ const $last_r16 = ctx.last;
595
+ const listItemRef_r17 = i0.ɵɵreference(1);
596
+ const groupIndex_r18 = i0.ɵɵnextContext().index;
597
+ const ctx_r1 = i0.ɵɵnextContext(2);
598
+ i0.ɵɵclassMapInterpolate1("app-list-item group-list-item ", ctx_r1.itemsPerRowClass, "");
599
+ i0.ɵɵproperty("ngClass", listItemRef_r17.itemClass)("wmListItem", item_r13);
600
+ i0.ɵɵattribute("tabindex", ctx_r1.tabindex);
597
601
  i0.ɵɵadvance(2);
598
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r29.listTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction6(8, _c5, item_r31, $index_r32, _r35, $first_r33, $last_r34, _r35.currentItemWidgets));
602
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.listTemplate)("ngTemplateOutletInjector", ctx_r1.createCustomInjector("group_" + groupIndex_r18 + "_item_" + $index_r14, i0.ɵɵpureFunction6(9, _c5, item_r13, $index_r14, listItemRef_r17, $first_r15, $last_r16, listItemRef_r17.currentItemWidgets)))("ngTemplateOutletContext", i0.ɵɵpureFunction6(16, _c5, item_r13, $index_r14, listItemRef_r17, $first_r15, $last_r16, listItemRef_r17.currentItemWidgets));
599
603
  } }
600
- const _c6 = function (a0) { return { "collapsible-content": a0 }; };
601
604
  function ListComponent_ng_template_14_li_0_Template(rf, ctx) { if (rf & 1) {
602
- const _r37 = i0.ɵɵgetCurrentView();
605
+ const _r11 = i0.ɵɵgetCurrentView();
603
606
  i0.ɵɵelementStart(0, "li", 44)(1, "ul", 45)(2, "li", 46);
604
- i0.ɵɵlistener("click", function ListComponent_ng_template_14_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.handleHeaderClick($event)); });
607
+ i0.ɵɵlistener("click", function ListComponent_ng_template_14_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleHeaderClick($event)); });
605
608
  i0.ɵɵelementStart(3, "h4");
606
609
  i0.ɵɵtext(4);
607
610
  i0.ɵɵelementStart(5, "div", 47);
608
- i0.ɵɵtemplate(6, ListComponent_ng_template_14_li_0_i_6_Template, 1, 0, "i", 48);
609
- i0.ɵɵtemplate(7, ListComponent_ng_template_14_li_0_span_7_Template, 2, 1, "span", 49);
611
+ i0.ɵɵtemplate(6, ListComponent_ng_template_14_li_0_i_6_Template, 1, 0, "i", 48)(7, ListComponent_ng_template_14_li_0_span_7_Template, 2, 1, "span", 49);
610
612
  i0.ɵɵelementEnd()()();
611
613
  i0.ɵɵelementStart(8, "ul");
612
- i0.ɵɵtemplate(9, ListComponent_ng_template_14_li_0_li_9_Template, 3, 15, "li", 50);
614
+ i0.ɵɵtemplate(9, ListComponent_ng_template_14_li_0_li_9_Template, 3, 23, "li", 50);
613
615
  i0.ɵɵelementEnd()()();
614
616
  } if (rf & 2) {
615
- const groupObj_r26 = ctx.$implicit;
616
- const ctx_r25 = i0.ɵɵnextContext(2);
617
- i0.ɵɵadvance(1);
618
- i0.ɵɵproperty("ngClass", ctx_r25.listclass);
619
- i0.ɵɵattribute("tabindex", ctx_r25.tabindex);
620
- i0.ɵɵadvance(1);
621
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c6, ctx_r25.collapsible));
617
+ const groupObj_r12 = ctx.$implicit;
618
+ const ctx_r1 = i0.ɵɵnextContext(2);
619
+ i0.ɵɵadvance();
620
+ i0.ɵɵproperty("ngClass", ctx_r1.listclass);
621
+ i0.ɵɵattribute("tabindex", ctx_r1.tabindex);
622
+ i0.ɵɵadvance();
623
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c6, ctx_r1.collapsible));
622
624
  i0.ɵɵadvance(2);
623
- i0.ɵɵtextInterpolate1("", groupObj_r26.key, " ");
625
+ i0.ɵɵtextInterpolate1("", groupObj_r12.key, " ");
624
626
  i0.ɵɵadvance(2);
625
- i0.ɵɵproperty("ngIf", ctx_r25.collapsible);
626
- i0.ɵɵadvance(1);
627
- i0.ɵɵproperty("ngIf", ctx_r25.showcount);
628
- i0.ɵɵadvance(1);
629
- i0.ɵɵclassMapInterpolate1("list-group clearfix ", ctx_r25.direction === "horizontal" ? "app-horizontal-list" : "", "");
630
- i0.ɵɵadvance(1);
631
- i0.ɵɵproperty("ngForOf", groupObj_r26.data);
627
+ i0.ɵɵproperty("ngIf", ctx_r1.collapsible);
628
+ i0.ɵɵadvance();
629
+ i0.ɵɵproperty("ngIf", ctx_r1.showcount);
630
+ i0.ɵɵadvance();
631
+ i0.ɵɵclassMapInterpolate1("list-group clearfix ", ctx_r1.direction === "horizontal" ? "app-horizontal-list" : "", "");
632
+ i0.ɵɵadvance();
633
+ i0.ɵɵproperty("ngForOf", groupObj_r12.data)("ngForTrackBy", ctx_r1.trackByFn);
632
634
  } }
633
635
  function ListComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
634
- i0.ɵɵtemplate(0, ListComponent_ng_template_14_li_0_Template, 10, 12, "li", 43);
636
+ i0.ɵɵtemplate(0, ListComponent_ng_template_14_li_0_Template, 10, 13, "li", 43);
635
637
  } if (rf & 2) {
636
- const ctx_r11 = i0.ɵɵnextContext();
637
- i0.ɵɵproperty("ngForOf", ctx_r11.groupedData);
638
+ const ctx_r1 = i0.ɵɵnextContext();
639
+ i0.ɵɵproperty("ngForOf", ctx_r1.groupedData);
638
640
  } }
639
641
  const DEFAULT_CLS = 'app-livelist app-panel';
640
642
  const WIDGET_CONFIG = { widgetType: 'wm-list', hostClass: DEFAULT_CLS };
641
643
  class ListComponent extends StylableComponent {
642
644
  static { this.initializeProps = registerProps(); }
643
- get selecteditem() {
644
- if (this.multiselect) {
645
- return getClonedObject(this._items);
646
- }
647
- if (_.isEmpty(this._items)) {
648
- return {};
649
- }
650
- return getClonedObject(this._items[0]);
651
- }
652
- /**
653
- * Returns list of widgets present on list item by considering name and index of the widget.
654
- * If we did'nt pass index, it returns array of all the widgets which are matching to widget name
655
- * @param widgteName: Name of the widget
656
- * @param index: Index of the widget
657
- */
658
- getWidgets(widgteName, index) {
659
- let $target;
660
- const retVal = [];
661
- if (!widgteName) {
662
- return;
663
- }
664
- if (!isDefined(index)) {
665
- _.forEach(this.listItems.toArray(), (el) => {
666
- $target = _.get(el.currentItemWidgets, widgteName);
667
- if ($target) {
668
- retVal.push($target);
669
- }
670
- });
671
- return retVal;
672
- }
673
- index = +index || 0;
674
- $target = _.get(this.listItems.toArray(), index);
675
- if ($target) {
676
- return [_.get($target.currentItemWidgets, widgteName)];
677
- }
678
- }
679
- // returns listitem reference by index value. This refers to the same method getListItemByIndex.
680
- getItem(index) {
681
- return this.getListItemByIndex(index);
682
- }
683
- /**
684
- * Returns index of listItem(listItemDirective / listItemObject)
685
- * If item is a directive, index is fetched from listItems
686
- * If item is an object, index is fetched from fieldDefs
687
- */
688
- getIndex(item) {
689
- if (item instanceof ListItemDirective) {
690
- return this.getListItemIndex(item);
691
- }
692
- else if (item) {
693
- return this.fieldDefs.findIndex((obj) => _.isEqual(obj, item));
694
- }
695
- }
696
- set selecteditem(items) {
697
- this._items.length = 0;
698
- this.deselectListItems();
699
- if (_.isArray(items)) {
700
- items.forEach(item => this.selectItem(item));
701
- }
702
- else {
703
- this.selectItem(items);
704
- }
705
- $appDigest();
706
- }
707
- constructor(inj, cdRef, datePipe, app, appDefaults, ngZone, binditemclass, binddisableitem, binddataset, binddatasource, mouseEnterCB, mouseLeaveCB, statePersistence, paginationService) {
645
+ constructor(inj, cdRef, datePipe, app, appDefaults, ngZone, binditemclass, binddisableitem, binddataset, binddatasource, mouseEnterCB, mouseLeaveCB, statePersistence, paginationService, explicitContext) {
708
646
  let resolveFn = noop;
709
647
  const propsInitPromise = new Promise(res => resolveFn = res);
710
- super(inj, WIDGET_CONFIG, propsInitPromise);
648
+ super(inj, WIDGET_CONFIG, explicitContext, propsInitPromise);
711
649
  this.propsInitPromise = propsInitPromise;
712
650
  this.promiseResolverFn = resolveFn;
713
651
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);
@@ -731,12 +669,12 @@ class ListComponent extends StylableComponent {
731
669
  // Updates pagination, filter, sort etc options for service and crud variables
732
670
  this._listenerDestroyers = [
733
671
  this.app.subscribe('check-state-persistence-options', options => {
734
- let dataSourceName = _.get(this.datasource, 'name');
672
+ let dataSourceName = get(this.datasource, 'name');
735
673
  // in Prefabs, this.datasource is not resolved at the time of variable invocation, so additional check is required.
736
674
  if (!dataSourceName) {
737
675
  dataSourceName = extractDataSourceName(this.binddatasource);
738
676
  }
739
- if (_.get(options, 'variable.name') !== dataSourceName) {
677
+ if (get(options, 'variable.name') !== dataSourceName) {
740
678
  return;
741
679
  }
742
680
  this.handleStateParams(options);
@@ -751,31 +689,69 @@ class ListComponent extends StylableComponent {
751
689
  })
752
690
  ];
753
691
  }
754
- getConfiguredState() {
755
- const mode = this.statePersistence.computeMode(this.statehandler);
756
- return mode && mode.toLowerCase();
692
+ get selecteditem() {
693
+ if (this.multiselect) {
694
+ return getClonedObject(this._items);
695
+ }
696
+ if (isEmpty(this._items)) {
697
+ return {};
698
+ }
699
+ return getClonedObject(this._items[0]);
757
700
  }
758
- handleStateParams(options) {
759
- if (this._pageLoad && this.getConfiguredState() !== 'none') {
760
- this._pageLoad = false;
761
- const widgetState = this.statePersistence.getWidgetState(this);
762
- if (_.get(widgetState, 'pagination')) {
763
- options.options = options.options || {};
764
- options.options.page = widgetState.pagination;
765
- }
766
- if (_.get(widgetState, 'selectedItem')) {
767
- this._selectedItemsExist = true;
768
- }
701
+ set selecteditem(items) {
702
+ this._items.length = 0;
703
+ this.deselectListItems();
704
+ if (isArray(items)) {
705
+ items.forEach(item => this.selectItem(item));
706
+ }
707
+ else {
708
+ this.selectItem(items);
769
709
  }
710
+ $appDigest();
770
711
  }
771
- triggerWMEvent(eventName, item) {
772
- $invokeWatchers(true);
773
- // If we have multiselect for the livelist(List with form template), in run mode deleting a record is getting failed. Becuase the selecteditem will be array of objects. So consider the last object.
774
- let row = this.multiselect ? _.last(this.selecteditem) : this.selecteditem;
775
- if (item) {
776
- row = item;
712
+ /**
713
+ * Returns list of widgets present on list item by considering name and index of the widget.
714
+ * If we did'nt pass index, it returns array of all the widgets which are matching to widget name
715
+ * @param widgteName: Name of the widget
716
+ * @param index: Index of the widget
717
+ */
718
+ getWidgets(widgteName, index) {
719
+ let $target;
720
+ const retVal = [];
721
+ if (!widgteName) {
722
+ return;
723
+ }
724
+ if (!isDefined(index)) {
725
+ forEach(this.listItems.toArray(), (el) => {
726
+ $target = get(el.currentItemWidgets, widgteName);
727
+ if ($target) {
728
+ retVal.push($target);
729
+ }
730
+ });
731
+ return retVal;
732
+ }
733
+ index = +index || 0;
734
+ $target = get(this.listItems.toArray(), index);
735
+ if ($target) {
736
+ return [get($target.currentItemWidgets, widgteName)];
737
+ }
738
+ }
739
+ // returns listitem reference by index value. This refers to the same method getListItemByIndex.
740
+ getItem(index) {
741
+ return this.getListItemByIndex(index);
742
+ }
743
+ /**
744
+ * Returns index of listItem(listItemDirective / listItemObject)
745
+ * If item is a directive, index is fetched from listItems
746
+ * If item is an object, index is fetched from fieldDefs
747
+ */
748
+ getIndex(item) {
749
+ if (item instanceof ListItemDirective) {
750
+ return this.getListItemIndex(item);
751
+ }
752
+ else if (item) {
753
+ return this.fieldDefs.findIndex((obj) => isEqual(obj, item));
777
754
  }
778
- this.app.notify('wm-event', { eventName, widgetName: this.name, row: row });
779
755
  }
780
756
  create() {
781
757
  if (this._isDependent) {
@@ -814,129 +790,521 @@ class ListComponent extends StylableComponent {
814
790
  this.variableInflight = data.active;
815
791
  // Fix for [WMS-23772] Update nodatafound flag once the response is recieved from the server
816
792
  const totalEle = data.data?.pagination?.totalElements;
817
- if (!_.isUndefined(totalEle)) {
793
+ if (!isUndefined(totalEle)) {
818
794
  this.noDataFound = totalEle === 0 ? true : false;
819
795
  }
820
796
  else { // totalelements is undefined
821
- this.noDataFound = _.isEmpty(data.data?.data);
797
+ this.noDataFound = isEmpty(data.data?.data);
822
798
  }
823
799
  });
824
800
  }
825
801
  }
826
- resetNavigation() {
827
- this.showNavigation = false;
828
- this.navControls = undefined;
829
- this.infScroll = false;
830
- this.onDemandLoad = false;
831
- }
832
- enableBasicNavigation() {
833
- this.navControls = NAVIGATION_TYPE.BASIC;
834
- this.showNavigation = true;
835
- }
836
- enableInlineNavigation() {
837
- this.navControls = NAVIGATION_TYPE.INLINE;
838
- }
839
- enableClassicNavigation() {
840
- this.navControls = NAVIGATION_TYPE.CLASSIC;
841
- this.showNavigation = true;
842
- }
843
- enablePagerNavigation() {
844
- this.navControls = NAVIGATION_TYPE.PAGER;
845
- this.showNavigation = true;
846
- }
847
- setNavigationTypeNone() {
848
- this.navControls = NAVIGATION_TYPE.NONE;
849
- this.showNavigation = false;
850
- }
851
- enableInfiniteScroll() {
852
- this.infScroll = true;
853
- }
854
- enableOnDemandLoad() {
855
- this.onDemandLoad = true;
856
- this.showNavigation = true;
857
- }
858
- /**
859
- * Sets Navigation type for the list.
860
- * @param type
861
- */
862
- onNavigationTypeChange(type) {
863
- this.resetNavigation();
864
- switch (type) {
865
- case NAVIGATION_TYPE.BASIC:
866
- this.enableBasicNavigation();
867
- break;
868
- case NAVIGATION_TYPE.INLINE:
869
- this.enableInlineNavigation();
870
- break;
871
- case NAVIGATION_TYPE.ADVANCED:
872
- case NAVIGATION_TYPE.CLASSIC:
873
- this.enableClassicNavigation();
874
- break;
875
- case NAVIGATION_TYPE.PAGER:
876
- this.enablePagerNavigation();
877
- break;
878
- case NAVIGATION_TYPE.NONE:
879
- this.setNavigationTypeNone();
880
- break;
881
- case NAVIGATION_TYPE.SCROLL:
882
- this.enableInfiniteScroll();
883
- break;
884
- case NAVIGATION_TYPE.ONDEMAND:
885
- this.enableOnDemandLoad();
886
- break;
802
+ triggerListItemSelection($el, $event) {
803
+ if ($el && $el[0]) {
804
+ const listItemContext = $el.data('listItemContext');
805
+ // Trigger click event only if the list item is from the corresponding list.
806
+ if (listItemContext.listComponent === this) {
807
+ this.onItemClick($event, listItemContext);
808
+ }
887
809
  }
888
810
  }
889
- /**
890
- * Update fieldDefs property, fieldDefs is the model of the List Component.
891
- * fieldDefs is an Array type.
892
- * @param newVal
893
- */
894
- updateFieldDefs(newVal) {
895
- if (this.infScroll || this.onDemandLoad) {
896
- [this.fieldDefs, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newVal);
897
- }
898
- else {
899
- this.fieldDefs = newVal;
900
- }
901
- if (this.orderby) {
902
- this.fieldDefs = getOrderedDataset(this.fieldDefs, this.orderby);
903
- }
904
- if (this.groupby) {
905
- this.groupedData = groupData(this, this.fieldDefs, this.groupby, this.match, this.orderby, this.dateformat, this.datePipe, undefined, this.appDefaults);
906
- }
907
- if (!this.fieldDefs.length) {
908
- this.noDataFound = true;
909
- this.selecteditem = undefined;
811
+ // this method is called form other data widgets like table.
812
+ execute(operation, options) {
813
+ if ([DataSource.Operation.IS_API_AWARE, DataSource.Operation.IS_PAGEABLE, DataSource.Operation.SUPPORTS_SERVER_FILTER].includes(operation)) {
814
+ return false;
910
815
  }
911
- $appDigest();
912
- this.listItems.setDirty();
816
+ return this.datasource.execute(operation, options);
913
817
  }
914
- onDataChange(newVal) {
915
- // Check for newVal is not empty
916
- if (!_.isEmpty(newVal)) {
917
- this.noDataFound = false;
918
- this.isDataChanged = true;
919
- if (this.datasource && this.datasource.execute(DataSource.Operation.IS_API_AWARE)) {
920
- // clone the the data in case of live and service variables to prevent the two-way binding for these variables.
921
- newVal = _.cloneDeep(newVal);
922
- }
923
- if (isObject(newVal) && !_.isArray(newVal)) {
924
- newVal = _.isEmpty(newVal) ? [] : [newVal];
925
- }
926
- if (_.isString(newVal)) {
927
- newVal = newVal.split(',');
928
- }
929
- // if the page number is greater than 1 on initial load then we render the first page.
930
- if (this.datasource && this.datasource.owner === 'App' && (this.infScroll || this.onDemandLoad) && !this.currentPage && this.datasource.execute(DataSource.Operation.GET_PAGING_OPTIONS).number > 0) {
931
- newVal = this.datasource.execute(DataSource.Operation.LIST_RECORDS, {
932
- 'page': 1
933
- });
934
- }
935
- if (_.isArray(newVal)) {
936
- if (newVal.length) {
937
- this.invokeEventCallback('beforedatarender', { $data: newVal });
938
- }
939
- this.updateFieldDefs(newVal);
818
+ handleKeyDown($event, action) {
819
+ $event.stopPropagation();
820
+ if ($event.keyCode !== 13 && $event.keyCode !== 9 && !(($event.target.classList.contains('form-control') || $event.target.classList.contains('note-editable')) && $event.keyCode === 32)) {
821
+ $event.preventDefault();
822
+ }
823
+ const listItems = this.listItems;
824
+ let presentIndex = this.getListItemIndex(this.lastSelectedItem);
825
+ if (this.multiselect) {
826
+ const firstIndex = this.getListItemIndex(this.firstSelectedItem);
827
+ const selectCount = isArray(this.selecteditem) ? this.selecteditem.length : (isObject(this.selecteditem) ? 1 : 0);
828
+ if (action === 'selectPrev') {
829
+ if (presentIndex > 0) {
830
+ if ((presentIndex <= firstIndex) && this.checkSelectionLimit(selectCount)) {
831
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
832
+ this.toggleListItemSelection(this.lastSelectedItem);
833
+ }
834
+ else if (presentIndex > firstIndex) {
835
+ this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
836
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
837
+ }
838
+ else {
839
+ this.invokeEventCallback('selectionlimitexceed', { $event });
840
+ }
841
+ }
842
+ }
843
+ else if (action === 'selectNext') {
844
+ if (presentIndex < listItems.length - 1) {
845
+ if ((presentIndex >= firstIndex) && this.checkSelectionLimit(selectCount)) {
846
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
847
+ this.toggleListItemSelection(this.lastSelectedItem);
848
+ }
849
+ else if (presentIndex < firstIndex) {
850
+ this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
851
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
852
+ }
853
+ else {
854
+ this.invokeEventCallback('selectionlimitexceed', { $event });
855
+ }
856
+ }
857
+ }
858
+ }
859
+ if (action === 'focusPrev') {
860
+ if (this.isListElementMovable) {
861
+ presentIndex = presentIndex <= 0 ? 0 : (presentIndex);
862
+ if (presentIndex === 0) {
863
+ return;
864
+ }
865
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex);
866
+ const prevElt = this.getListItemByIndex(presentIndex - 1);
867
+ prevElt.nativeElement.before(this.lastSelectedItem.nativeElement);
868
+ this.lastSelectedItem.nativeElement.focus();
869
+ this.statePersistence.removeWidgetState(this, 'selectedItem');
870
+ const arr = this.listItems.toArray();
871
+ [arr[presentIndex - 1], arr[presentIndex]] = [arr[presentIndex], arr[presentIndex - 1]];
872
+ this.listItems.reset(arr);
873
+ this.currentIndex = presentIndex;
874
+ this.ariaText = "selected ";
875
+ }
876
+ else {
877
+ presentIndex = presentIndex <= 0 ? 0 : (presentIndex - 1);
878
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex);
879
+ this.lastSelectedItem.nativeElement.focus();
880
+ this.currentIndex = presentIndex + 1;
881
+ this.ariaText = "selected ";
882
+ }
883
+ }
884
+ else if (action === 'focusNext') {
885
+ if (this.isListElementMovable) {
886
+ presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex) : (listItems.length - 1);
887
+ if (presentIndex === this.listItems.length - 1) {
888
+ return;
889
+ }
890
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex);
891
+ const nextElt = this.getListItemByIndex(presentIndex + 1);
892
+ nextElt.nativeElement.after(this.lastSelectedItem.nativeElement);
893
+ this.lastSelectedItem.nativeElement.focus();
894
+ this.statePersistence.removeWidgetState(this, 'selectedItem');
895
+ const arr = this.listItems.toArray();
896
+ [arr[presentIndex], arr[presentIndex + 1]] = [arr[presentIndex + 1], arr[presentIndex]];
897
+ this.listItems.reset(arr);
898
+ this.currentIndex = presentIndex + 2;
899
+ this.ariaText = "selected ";
900
+ }
901
+ else {
902
+ presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex + 1) : (listItems.length - 1);
903
+ this.lastSelectedItem = this.getListItemByIndex(presentIndex);
904
+ this.lastSelectedItem.nativeElement.focus();
905
+ this.currentIndex = presentIndex + 1;
906
+ this.ariaText = "selected ";
907
+ }
908
+ }
909
+ else if (action === 'select') {
910
+ // if the enter click is pressed on the item which is not the last selected item, the find the item from which the event is originated.
911
+ if (presentIndex === -1 || !$($event.target).closest(this.lastSelectedItem.nativeElement)) {
912
+ const $li = $($event.target).closest('li.app-list-item');
913
+ const $ul = $li.closest('ul.app-livelist-container');
914
+ presentIndex = $ul.find('li.app-list-item').index($li);
915
+ }
916
+ this.onItemClick($event, this.getListItemByIndex(presentIndex));
917
+ }
918
+ else if (action === 'space') {
919
+ if (!this.enablereorder) {
920
+ return;
921
+ }
922
+ this.isListElementMovable = !this.isListElementMovable;
923
+ this.onItemClick($event, this.getListItemByIndex(presentIndex));
924
+ this.currentIndex = presentIndex + 1;
925
+ if (this.isListElementMovable) {
926
+ this.ariaText = `Item ${this.currentIndex} grabbed, current position `;
927
+ this.$ulEle.data('oldIndex', presentIndex);
928
+ }
929
+ else {
930
+ this.ariaText = `Item ${this.currentIndex} dropped, final position `;
931
+ this.onUpdate($event, undefined, presentIndex);
932
+ }
933
+ }
934
+ }
935
+ onPropertyChange(key, nv, ov) {
936
+ if (key === 'dataset') {
937
+ if (!nv && this.binddatasource && !this.datasource) {
938
+ return;
939
+ }
940
+ this.onDataSetChange(nv);
941
+ }
942
+ else if (key === 'datasource') {
943
+ if (this.dataset) {
944
+ this.onDataSetChange(this.dataset);
945
+ }
946
+ }
947
+ else if (key === 'navigation') {
948
+ // Support for older projects where navigation type was advanced instead of classic
949
+ if (nv === 'Advanced') {
950
+ this.navigation = 'Classic';
951
+ return;
952
+ }
953
+ switchClass(this.nativeElement, nv, ov);
954
+ this.onNavigationTypeChange(nv);
955
+ if (this.dataNavigator) {
956
+ this.dataNavigator.navigationClass = this.paginationclass;
957
+ }
958
+ }
959
+ else if (key === 'itemsperrow') {
960
+ setListClass(this);
961
+ }
962
+ else if (key === 'tabindex') {
963
+ return;
964
+ }
965
+ else if (key === 'pulltorefresh' && nv) {
966
+ this.app.notify('pullToRefresh:enable');
967
+ this.subscribeToPullToRefresh();
968
+ }
969
+ else if (key === 'paginationclass') {
970
+ if (this.dataNavigator) {
971
+ // Adding setTimeout because in pagination component updateNavSize method is overriding navigationclass
972
+ setTimeout(() => this.dataNavigator.navigationClass = nv);
973
+ }
974
+ }
975
+ else if (key === 'pagesize') {
976
+ this.dataNavigator.options = {
977
+ maxResults: nv
978
+ };
979
+ this.dataNavigator.widget.maxResults = nv;
980
+ this.dataNavigator.maxResults = nv;
981
+ }
982
+ else if (key === 'enablereorder') {
983
+ if (nv && this.$ulEle) {
984
+ this.$ulEle.attr('aria-describedby', this.titleId);
985
+ this.configureDnD();
986
+ this.$ulEle.sortable('enable');
987
+ }
988
+ else if (this.$ulEle && !nv) {
989
+ this.$ulEle.removeAttr('aria-describedby');
990
+ this.$ulEle.sortable('disable');
991
+ }
992
+ }
993
+ else {
994
+ super.onPropertyChange(key, nv, ov);
995
+ }
996
+ }
997
+ onItemClick(evt, $listItem) {
998
+ let selectCount;
999
+ if (!$listItem.disableItem) {
1000
+ this.firstSelectedItem = this.firstSelectedItem || $listItem;
1001
+ // Setting selectCount value based number of items selected.
1002
+ selectCount = isArray(this.selecteditem) ? this.selecteditem.length : (isObject(this.selecteditem) ? 1 : 0);
1003
+ // Handling multiselect for mobile device
1004
+ if (this.multiselect && isMobile()) {
1005
+ if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
1006
+ this.toggleListItemSelection($listItem);
1007
+ }
1008
+ else {
1009
+ this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1010
+ }
1011
+ }
1012
+ else if ((evt.ctrlKey || evt.metaKey) && this.multiselect) {
1013
+ if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
1014
+ this.firstSelectedItem = this.lastSelectedItem = $listItem;
1015
+ this.toggleListItemSelection($listItem);
1016
+ }
1017
+ else {
1018
+ this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1019
+ }
1020
+ }
1021
+ else if (evt.shiftKey && this.multiselect) {
1022
+ let first = $listItem.context.index;
1023
+ let last = this.firstSelectedItem.context.index;
1024
+ // if first is greater than last, then swap values
1025
+ if (first > last) {
1026
+ last = [first, first = last][0];
1027
+ }
1028
+ if (this.checkSelectionLimit(last - first)) {
1029
+ this.clearSelectedItems();
1030
+ this.listItems.forEach(($liItem) => {
1031
+ const index = $liItem.context.index;
1032
+ if (index >= first && index <= last) {
1033
+ this.toggleListItemSelection($liItem);
1034
+ }
1035
+ });
1036
+ this.lastSelectedItem = $listItem;
1037
+ }
1038
+ else {
1039
+ this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1040
+ }
1041
+ }
1042
+ else {
1043
+ if (!$listItem.isActive || selectCount > 1) {
1044
+ this.clearSelectedItems();
1045
+ this.toggleListItemSelection($listItem);
1046
+ this.firstSelectedItem = this.lastSelectedItem = $listItem;
1047
+ }
1048
+ }
1049
+ $appDigest();
1050
+ }
1051
+ }
1052
+ // Empty the list content on clear
1053
+ clear() {
1054
+ this.updateFieldDefs([]);
1055
+ }
1056
+ /**
1057
+ * deselects item in the list.
1058
+ * @param val: index | model of the list item.
1059
+ */
1060
+ deselectItem(val) {
1061
+ const listItem = this.getItemRefByIndexOrModel(val);
1062
+ if (listItem && listItem.isActive) {
1063
+ this.toggleListItemSelection(listItem);
1064
+ }
1065
+ }
1066
+ /**
1067
+ * selects item in the list.
1068
+ * @param val: index | model of the list item.
1069
+ */
1070
+ selectItem(val, statePersistenceTriggered) {
1071
+ const listItem = this.getItemRefByIndexOrModel(val);
1072
+ if (!listItem) {
1073
+ return;
1074
+ }
1075
+ if (!listItem.isActive) {
1076
+ this.toggleListItemSelection(listItem, statePersistenceTriggered);
1077
+ }
1078
+ // focus the element.
1079
+ listItem.nativeElement.focus();
1080
+ }
1081
+ ngOnInit() {
1082
+ super.ngOnInit();
1083
+ this.handleHeaderClick = noop;
1084
+ setTimeout(() => {
1085
+ this.debouncedFetchNextDatasetOnScroll = this.paginationService.debouncedFetchNextDatasetOnScroll(this.dataNavigator, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME, this);
1086
+ }, 0);
1087
+ this._items = [];
1088
+ this.fieldDefs = [];
1089
+ this.reorderProps = {
1090
+ minIndex: null,
1091
+ maxIndex: null
1092
+ };
1093
+ }
1094
+ ngAfterViewInit() {
1095
+ this.promiseResolverFn();
1096
+ this.propsInitPromise.then(() => {
1097
+ super.ngAfterViewInit();
1098
+ this.setUpCUDHandlers();
1099
+ this.selectedItemWidgets = this.multiselect ? [] : {};
1100
+ var ele = $(this.nativeElement).find('.app-livelist-container');
1101
+ if (this.enablereorder && !this.groupby) {
1102
+ if (ele) {
1103
+ ele.attr('aria-describedby', this.titleId);
1104
+ }
1105
+ this.configureDnD();
1106
+ }
1107
+ if (!this.enablereorder) {
1108
+ if (ele) {
1109
+ ele.removeAttr('aria-describedby');
1110
+ }
1111
+ }
1112
+ if (this.groupby && this.collapsible) {
1113
+ this.handleHeaderClick = handleHeaderClick;
1114
+ this.toggleAllHeaders = toggleAllHeaders.bind(undefined, this);
1115
+ }
1116
+ setListClass(this);
1117
+ });
1118
+ this.setupHandlers();
1119
+ const $ul = this.nativeElement.querySelector('ul.app-livelist-container');
1120
+ styler($ul, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
1121
+ if (this.enablereorder) {
1122
+ if ($ul) {
1123
+ $ul.setAttribute('aria-describedby', this.titleId);
1124
+ }
1125
+ }
1126
+ if (!this.enablereorder) {
1127
+ if ($ul) {
1128
+ $ul.removeAttribute('aria-describedby');
1129
+ }
1130
+ }
1131
+ if (isMobileApp() && $ul.querySelector('.app-list-item-action-panel')) {
1132
+ this._listAnimator = new ListAnimator(this);
1133
+ }
1134
+ }
1135
+ ngOnDestroy() {
1136
+ if (this._listAnimator && this._listAnimator.$btnSubscription) {
1137
+ this._listAnimator.$btnSubscription.unsubscribe();
1138
+ }
1139
+ this._listenerDestroyers.forEach(d => d && d());
1140
+ super.ngOnDestroy();
1141
+ }
1142
+ ngOnDetach() {
1143
+ super.ngOnDetach();
1144
+ this._pageLoad = true;
1145
+ }
1146
+ handleEvent(node, eventName, eventCallback, locals) {
1147
+ // tap and doubleTap events are not getting propagated.So, using mouse events instead.
1148
+ const touchToMouse = {
1149
+ tap: 'click',
1150
+ doubletap: 'dblclick'
1151
+ };
1152
+ if (includes(['click', 'tap', 'dblclick', 'doubletap'], eventName)) {
1153
+ this.eventManager.addEventListener(this.nativeElement, touchToMouse[eventName] || eventName, (evt) => {
1154
+ const target = $(evt.target).closest('.app-list-item');
1155
+ if (target.length) {
1156
+ const listItemContext = target.data('listItemContext');
1157
+ if (!listItemContext.disableItem) {
1158
+ this.invokeEventCallback(eventName, {
1159
+ widget: listItemContext,
1160
+ $event: evt,
1161
+ item: listItemContext.item
1162
+ });
1163
+ }
1164
+ }
1165
+ });
1166
+ }
1167
+ }
1168
+ getConfiguredState() {
1169
+ const mode = this.statePersistence.computeMode(this.statehandler);
1170
+ return mode && mode.toLowerCase();
1171
+ }
1172
+ handleStateParams(options) {
1173
+ if (this._pageLoad && this.getConfiguredState() !== 'none') {
1174
+ this._pageLoad = false;
1175
+ const widgetState = this.statePersistence.getWidgetState(this);
1176
+ if (get(widgetState, 'pagination')) {
1177
+ options.options = options.options || {};
1178
+ options.options.page = widgetState.pagination;
1179
+ }
1180
+ if (get(widgetState, 'selectedItem')) {
1181
+ this._selectedItemsExist = true;
1182
+ }
1183
+ }
1184
+ }
1185
+ triggerWMEvent(eventName, item) {
1186
+ $invokeWatchers(true);
1187
+ // If we have multiselect for the livelist(List with form template), in run mode deleting a record is getting failed. Becuase the selecteditem will be array of objects. So consider the last object.
1188
+ let row = this.multiselect ? last(this.selecteditem) : this.selecteditem;
1189
+ if (item) {
1190
+ row = item;
1191
+ }
1192
+ this.app.notify('wm-event', { eventName, widgetName: this.name, row: row });
1193
+ }
1194
+ resetNavigation() {
1195
+ this.showNavigation = false;
1196
+ this.navControls = undefined;
1197
+ this.infScroll = false;
1198
+ this.onDemandLoad = false;
1199
+ }
1200
+ enableBasicNavigation() {
1201
+ this.navControls = NAVIGATION_TYPE.BASIC;
1202
+ this.showNavigation = true;
1203
+ }
1204
+ enableInlineNavigation() {
1205
+ this.navControls = NAVIGATION_TYPE.INLINE;
1206
+ }
1207
+ enableClassicNavigation() {
1208
+ this.navControls = NAVIGATION_TYPE.CLASSIC;
1209
+ this.showNavigation = true;
1210
+ }
1211
+ enablePagerNavigation() {
1212
+ this.navControls = NAVIGATION_TYPE.PAGER;
1213
+ this.showNavigation = true;
1214
+ }
1215
+ setNavigationTypeNone() {
1216
+ this.navControls = NAVIGATION_TYPE.NONE;
1217
+ this.showNavigation = false;
1218
+ }
1219
+ enableInfiniteScroll() {
1220
+ this.infScroll = true;
1221
+ }
1222
+ enableOnDemandLoad() {
1223
+ this.onDemandLoad = true;
1224
+ this.showNavigation = true;
1225
+ }
1226
+ /**
1227
+ * Sets Navigation type for the list.
1228
+ * @param type
1229
+ */
1230
+ onNavigationTypeChange(type) {
1231
+ this.resetNavigation();
1232
+ switch (type) {
1233
+ case NAVIGATION_TYPE.BASIC:
1234
+ this.enableBasicNavigation();
1235
+ break;
1236
+ case NAVIGATION_TYPE.INLINE:
1237
+ this.enableInlineNavigation();
1238
+ break;
1239
+ case NAVIGATION_TYPE.ADVANCED:
1240
+ case NAVIGATION_TYPE.CLASSIC:
1241
+ this.enableClassicNavigation();
1242
+ break;
1243
+ case NAVIGATION_TYPE.PAGER:
1244
+ this.enablePagerNavigation();
1245
+ break;
1246
+ case NAVIGATION_TYPE.NONE:
1247
+ this.setNavigationTypeNone();
1248
+ break;
1249
+ case NAVIGATION_TYPE.SCROLL:
1250
+ this.enableInfiniteScroll();
1251
+ break;
1252
+ case NAVIGATION_TYPE.ONDEMAND:
1253
+ this.enableOnDemandLoad();
1254
+ break;
1255
+ }
1256
+ }
1257
+ /**
1258
+ * Update fieldDefs property, fieldDefs is the model of the List Component.
1259
+ * fieldDefs is an Array type.
1260
+ * @param newVal
1261
+ */
1262
+ updateFieldDefs(newVal) {
1263
+ if (this.infScroll || this.onDemandLoad) {
1264
+ [this.fieldDefs, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newVal);
1265
+ }
1266
+ else {
1267
+ this.fieldDefs = newVal;
1268
+ }
1269
+ if (this.orderby) {
1270
+ this.fieldDefs = getOrderedDataset(this.fieldDefs, this.orderby);
1271
+ }
1272
+ if (this.groupby) {
1273
+ this.groupedData = groupData(this, this.fieldDefs, this.groupby, this.match, this.orderby, this.dateformat, this.datePipe, undefined, this.appDefaults);
1274
+ }
1275
+ if (!this.fieldDefs.length) {
1276
+ this.noDataFound = true;
1277
+ this.selecteditem = undefined;
1278
+ }
1279
+ $appDigest();
1280
+ this.listItems.setDirty();
1281
+ }
1282
+ onDataChange(newVal) {
1283
+ // Check for newVal is not empty
1284
+ if (!isEmpty(newVal)) {
1285
+ this.noDataFound = false;
1286
+ this.isDataChanged = true;
1287
+ if (this.datasource && this.datasource.execute(DataSource.Operation.IS_API_AWARE)) {
1288
+ // clone the the data in case of live and service variables to prevent the two-way binding for these variables.
1289
+ newVal = cloneDeep(newVal);
1290
+ }
1291
+ if (isObject(newVal) && !isArray(newVal)) {
1292
+ newVal = isEmpty(newVal) ? [] : [newVal];
1293
+ }
1294
+ if (isString(newVal)) {
1295
+ newVal = newVal.split(',');
1296
+ }
1297
+ // if the page number is greater than 1 on initial load then we render the first page.
1298
+ if (this.datasource && this.datasource.owner === 'App' && (this.infScroll || this.onDemandLoad) && !this.currentPage && this.datasource.execute(DataSource.Operation.GET_PAGING_OPTIONS).number > 0) {
1299
+ newVal = this.datasource.execute(DataSource.Operation.LIST_RECORDS, {
1300
+ 'page': 1
1301
+ });
1302
+ }
1303
+ if (isArray(newVal)) {
1304
+ if (newVal.length) {
1305
+ this.invokeEventCallback('beforedatarender', { $data: newVal });
1306
+ }
1307
+ this.updateFieldDefs(newVal);
940
1308
  }
941
1309
  }
942
1310
  else {
@@ -973,13 +1341,13 @@ class ListComponent extends StylableComponent {
973
1341
  this.dataNavigator.setBindDataSet(this.binddataset, this.viewParent, datasetBoundExpr ? this.context : this.datasource, this.dataset, this.binddatasource, datasetBoundExpr, this.statehandler);
974
1342
  }
975
1343
  onDataSetChange(newVal) {
976
- if (_.get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none' && this._pageLoad) {
1344
+ if (get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none' && this._pageLoad) {
977
1345
  const widgetState = this.statePersistence.getWidgetState(this);
978
1346
  this._pageLoad = false;
979
- if (_.get(widgetState, 'pagination')) {
1347
+ if (get(widgetState, 'pagination')) {
980
1348
  this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
981
1349
  }
982
- if (_.get(widgetState, 'selectedItem')) {
1350
+ if (get(widgetState, 'selectedItem')) {
983
1351
  this._selectedItemsExist = true;
984
1352
  }
985
1353
  }
@@ -1014,29 +1382,29 @@ class ListComponent extends StylableComponent {
1014
1382
  getListItemByModel(listModel) {
1015
1383
  return this.listItems.find((listItem) => {
1016
1384
  let itemObj = listItem.item;
1017
- if (this.groupby && !_.has(listModel, '_groupIndex')) {
1385
+ if (this.groupby && !has(listModel, '_groupIndex')) {
1018
1386
  // If groupby is enabled, item contains _groupIndex property which should be excluded while comparing model.
1019
- itemObj = _.clone(itemObj);
1387
+ itemObj = clone(itemObj);
1020
1388
  delete itemObj._groupIndex;
1021
1389
  }
1022
- if (_.isEqual(itemObj, listModel)) {
1390
+ if (isEqual(itemObj, listModel)) {
1023
1391
  return true;
1024
1392
  }
1025
1393
  }) || null;
1026
1394
  }
1027
1395
  updateSelectedItemsWidgets(statePersistenceTriggered) {
1028
1396
  let obj = {}, widgetState;
1029
- const pageNum = _.get(this.dataNavigator, 'dn.currentPage') || 1;
1397
+ const pageNum = get(this.dataNavigator, 'dn.currentPage') || 1;
1030
1398
  if (this.getConfiguredState() !== 'none') {
1031
1399
  // remove previously configured selected items for current page and construct new ones later below.
1032
1400
  widgetState = this.statePersistence.getWidgetState(this) || {};
1033
- if (_.get(widgetState, 'selectedItem')) {
1401
+ if (get(widgetState, 'selectedItem')) {
1034
1402
  // when multiselect is on and an item is selected without pressing CTRL, previously selected items in state should be empty.
1035
1403
  if (this.multiselect && this.selecteditem.length === 1) {
1036
1404
  widgetState.selectedItem = [];
1037
1405
  }
1038
1406
  else {
1039
- _.remove(widgetState.selectedItem, function (selectedItem) {
1407
+ remove(widgetState.selectedItem, function (selectedItem) {
1040
1408
  return selectedItem.page === pageNum;
1041
1409
  });
1042
1410
  }
@@ -1054,8 +1422,8 @@ class ListComponent extends StylableComponent {
1054
1422
  this.selectedItemWidgets = item.currentItemWidgets;
1055
1423
  }
1056
1424
  obj = { page: pageNum, index: index };
1057
- if (_.get(widgetState, 'selectedItem') && this.multiselect) {
1058
- if (!_.some(widgetState.selectedItem, obj)) {
1425
+ if (get(widgetState, 'selectedItem') && this.multiselect) {
1426
+ if (!some(widgetState.selectedItem, obj)) {
1059
1427
  widgetState.selectedItem.push(obj);
1060
1428
  }
1061
1429
  }
@@ -1083,13 +1451,13 @@ class ListComponent extends StylableComponent {
1083
1451
  // item is not allowed to get selected if it is disabled.
1084
1452
  if ($listItem && !$listItem.disableItem) {
1085
1453
  let item = $listItem.item;
1086
- if (this.groupby && _.has(item, '_groupIndex')) {
1454
+ if (this.groupby && has(item, '_groupIndex')) {
1087
1455
  // If groupby is enabled, item contains _groupIndex property which should be excluded from selecteditem.
1088
- item = _.clone(item);
1456
+ item = clone(item);
1089
1457
  delete item._groupIndex;
1090
1458
  }
1091
1459
  if ($listItem.isActive) {
1092
- this._items = _.pullAllWith(this._items, [item], _.isEqual);
1460
+ this._items = pullAllWith(this._items, [item], isEqual);
1093
1461
  $listItem.isActive = false;
1094
1462
  }
1095
1463
  else {
@@ -1117,10 +1485,10 @@ class ListComponent extends StylableComponent {
1117
1485
  }
1118
1486
  if (this.isDataChanged && this.getConfiguredState() !== 'none' && listItems.length && this._selectedItemsExist) {
1119
1487
  const widgetState = this.statePersistence.getWidgetState(this);
1120
- if (_.get(widgetState, 'selectedItem')) {
1488
+ if (get(widgetState, 'selectedItem')) {
1121
1489
  this._selectedItemsExist = false;
1122
- const selectedItemsLength = _.isArray(this.selecteditem) ? this.selecteditem.length : _.toNumber(!_.isEmpty(this.selecteditem));
1123
- const currentPage = _.get(this.dataNavigator, 'dn.currentPage') || 1;
1490
+ const selectedItemsLength = isArray(this.selecteditem) ? this.selecteditem.length : toNumber(!isEmpty(this.selecteditem));
1491
+ const currentPage = get(this.dataNavigator, 'dn.currentPage') || 1;
1124
1492
  widgetState.pagination = widgetState.pagination || 1;
1125
1493
  // to prevent item selection from being triggered more than once
1126
1494
  if (selectedItemsLength !== widgetState.selectedItem.length && widgetState.pagination === currentPage) {
@@ -1132,7 +1500,7 @@ class ListComponent extends StylableComponent {
1132
1500
  }
1133
1501
  }
1134
1502
  }
1135
- const selectedItems = _.isArray(this.selecteditem) ? this.selecteditem : [this.selecteditem];
1503
+ const selectedItems = isArray(this.selecteditem) ? this.selecteditem : [this.selecteditem];
1136
1504
  this.firstSelectedItem = this.lastSelectedItem = null;
1137
1505
  // don't select first item if multi-select is enabled and at least item is already selected in the list.
1138
1506
  // don't select first item if state information has selected items
@@ -1170,25 +1538,16 @@ class ListComponent extends StylableComponent {
1170
1538
  }
1171
1539
  else {
1172
1540
  // In case of mobile app when modal exists, and list items height is greater than the modal content provide ccontainer a scrollable height
1173
- const modalBody = this.$element.closest('.modal-body');
1174
- const listHt = this.$element.find('ul').height();
1175
- const modalHt = window.innerHeight - 140;
1176
- if (isMobile() && modalBody.length && listHt > modalHt) {
1177
- this.$element.css('height', modalHt + 'px');
1178
- }
1179
- this.paginationService.bindScrollEvt(this, '> ul', DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);
1180
- }
1181
- }
1182
- this.isDataChanged = false;
1183
- }
1184
- triggerListItemSelection($el, $event) {
1185
- if ($el && $el[0]) {
1186
- const listItemContext = $el.data('listItemContext');
1187
- // Trigger click event only if the list item is from the corresponding list.
1188
- if (listItemContext.listComponent === this) {
1189
- this.onItemClick($event, listItemContext);
1541
+ const modalBody = this.$element.closest('.modal-body');
1542
+ const listHt = this.$element.find('ul').height();
1543
+ const modalHt = window.innerHeight - 140;
1544
+ if (isMobile() && modalBody.length && listHt > modalHt) {
1545
+ this.$element.css('height', modalHt + 'px');
1546
+ }
1547
+ this.paginationService.bindScrollEvt(this, '> ul', DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME);
1190
1548
  }
1191
1549
  }
1550
+ this.isDataChanged = false;
1192
1551
  }
1193
1552
  setupHandlers() {
1194
1553
  this.listItems.changes.subscribe(listItems => {
@@ -1228,344 +1587,99 @@ class ListComponent extends StylableComponent {
1228
1587
  // If ui is not present then it is called from drag and drop using keyboard
1229
1588
  const newIndex = ui === undefined ? presentIndex : ui.item.index();
1230
1589
  const oldIndex = this.$ulEle.data('oldIndex');
1231
- const minIndex = _.min([newIndex, oldIndex]);
1232
- const maxIndex = _.max([newIndex, oldIndex]);
1233
- const draggedItem = _.pullAt(data, oldIndex)[0];
1590
+ const minIndex = min([newIndex, oldIndex]);
1591
+ const maxIndex = max([newIndex, oldIndex]);
1592
+ const draggedItem = pullAt(data, oldIndex)[0];
1234
1593
  // Modify the data list only if we find a draggedItem
1235
1594
  if (draggedItem) {
1236
- if (this.getConfiguredState() !== 'none') {
1237
- this.statePersistence.removeWidgetState(this, 'selectedItem');
1238
- }
1239
- this.reorderProps.minIndex = _.min([minIndex, this.reorderProps.minIndex]);
1240
- this.reorderProps.maxIndex = _.max([maxIndex, this.reorderProps.maxIndex]);
1241
- data.splice(newIndex, 0, draggedItem);
1242
- this.cdRef.markForCheck();
1243
- this.cdRef.detectChanges();
1244
- const $changedItem = {
1245
- oldIndex: oldIndex,
1246
- newIndex: newIndex,
1247
- item: data[newIndex]
1248
- };
1249
- this.invokeEventCallback('reorder', { $event: evt, $data: data, $changedItem });
1250
- this.$ulEle.removeData('oldIndex');
1251
- }
1252
- }
1253
- // configures reordering the list items.
1254
- configureDnD() {
1255
- let appendTo;
1256
- const modalEl = $(document).find('.modal');
1257
- if (this.getAttr('height')) { // when height is applied to the list, append should be the ul's parent as scroll is applied to the parent
1258
- appendTo = 'parent';
1259
- }
1260
- else if (modalEl.length) { // In case of dialog, appendTo should be the modal ele
1261
- appendTo = modalEl[modalEl.length - 1];
1262
- }
1263
- else { // As default append to should be body
1264
- appendTo = 'body';
1265
- }
1266
- const options = isMobileApp() ? {} : {
1267
- appendTo: appendTo,
1268
- };
1269
- const $el = $(this.nativeElement);
1270
- this.$ulEle = $el.find('.app-livelist-container');
1271
- configureDnD(this.$ulEle, options, this.onReorderStart.bind(this), this.onUpdate.bind(this), this.onSort.bind(this));
1272
- this.$ulEle.droppable({ 'accept': '.app-list-item' });
1273
- if (isMobileApp()) {
1274
- this.$ulEle.sortable('disable');
1275
- this.$ulEle.on('touchstart', function (event) {
1276
- let self = this;
1277
- if (!self.touching) {
1278
- if (self.touched) {
1279
- clearTimeout(self.touched);
1280
- }
1281
- setTimeout(() => {
1282
- //Prevent context menu on mobile (IOS/ANDROID)
1283
- if (event.cancelable) {
1284
- event.preventDefault();
1285
- }
1286
- }, 50);
1287
- self.touched = setTimeout(() => {
1288
- $(event.currentTarget).addClass('no-selection');
1289
- //Enable draggable
1290
- $(event.currentTarget).sortable('enable');
1291
- //Set internal flag
1292
- self.touching = true;
1293
- //trigger touchstart again to enable draggable through touch punch
1294
- $(self).trigger(event);
1295
- //Choose preferred duration for taphold
1296
- }, 350);
1297
- }
1298
- }).on('touchend', function (event) {
1299
- this.touching = false;
1300
- $(event.currentTarget).removeClass('no-selection');
1301
- //Disable draggable to enable default behaviour
1302
- $(event.currentTarget).sortable('disable');
1303
- clearTimeout(this.touched);
1304
- }).on('touchmove', function () {
1305
- clearTimeout(this.touched);
1306
- });
1307
- }
1308
- }
1309
- // returns true if the selection limit is reached.
1310
- checkSelectionLimit(count) {
1311
- return (!this.selectionlimit || count < this.selectionlimit);
1312
- }
1313
- // returns listitem reference by index value.
1314
- getListItemByIndex(index) {
1315
- return this.listItems.toArray()[index];
1316
- }
1317
- /**
1318
- * return index of an (listItemDirective) in the listItem
1319
- * @param {ListItemDirective} item
1320
- * @returns {number}
1321
- */
1322
- getListItemIndex(item) {
1323
- return this.listItems.toArray().indexOf(item);
1324
- }
1325
- // this method is called form other data widgets like table.
1326
- execute(operation, options) {
1327
- if ([DataSource.Operation.IS_API_AWARE, DataSource.Operation.IS_PAGEABLE, DataSource.Operation.SUPPORTS_SERVER_FILTER].includes(operation)) {
1328
- return false;
1329
- }
1330
- return this.datasource.execute(operation, options);
1331
- }
1332
- handleKeyDown($event, action) {
1333
- $event.stopPropagation();
1334
- if ($event.keyCode !== 13 && $event.keyCode !== 9 && !(($event.target.classList.contains('form-control') || $event.target.classList.contains('note-editable')) && $event.keyCode === 32)) {
1335
- $event.preventDefault();
1336
- }
1337
- const listItems = this.listItems;
1338
- let presentIndex = this.getListItemIndex(this.lastSelectedItem);
1339
- if (this.multiselect) {
1340
- const firstIndex = this.getListItemIndex(this.firstSelectedItem);
1341
- const selectCount = _.isArray(this.selecteditem) ? this.selecteditem.length : (_.isObject(this.selecteditem) ? 1 : 0);
1342
- if (action === 'selectPrev') {
1343
- if (presentIndex > 0) {
1344
- if ((presentIndex <= firstIndex) && this.checkSelectionLimit(selectCount)) {
1345
- this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
1346
- this.toggleListItemSelection(this.lastSelectedItem);
1347
- }
1348
- else if (presentIndex > firstIndex) {
1349
- this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
1350
- this.lastSelectedItem = this.getListItemByIndex(presentIndex - 1);
1351
- }
1352
- else {
1353
- this.invokeEventCallback('selectionlimitexceed', { $event });
1354
- }
1355
- }
1356
- }
1357
- else if (action === 'selectNext') {
1358
- if (presentIndex < listItems.length - 1) {
1359
- if ((presentIndex >= firstIndex) && this.checkSelectionLimit(selectCount)) {
1360
- this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
1361
- this.toggleListItemSelection(this.lastSelectedItem);
1362
- }
1363
- else if (presentIndex < firstIndex) {
1364
- this.toggleListItemSelection(this.getListItemByIndex(presentIndex));
1365
- this.lastSelectedItem = this.getListItemByIndex(presentIndex + 1);
1366
- }
1367
- else {
1368
- this.invokeEventCallback('selectionlimitexceed', { $event });
1369
- }
1370
- }
1371
- }
1372
- }
1373
- if (action === 'focusPrev') {
1374
- if (this.isListElementMovable) {
1375
- presentIndex = presentIndex <= 0 ? 0 : (presentIndex);
1376
- if (presentIndex === 0) {
1377
- return;
1378
- }
1379
- this.lastSelectedItem = this.getListItemByIndex(presentIndex);
1380
- const prevElt = this.getListItemByIndex(presentIndex - 1);
1381
- prevElt.nativeElement.before(this.lastSelectedItem.nativeElement);
1382
- this.lastSelectedItem.nativeElement.focus();
1383
- this.statePersistence.removeWidgetState(this, 'selectedItem');
1384
- const arr = this.listItems.toArray();
1385
- [arr[presentIndex - 1], arr[presentIndex]] = [arr[presentIndex], arr[presentIndex - 1]];
1386
- this.listItems.reset(arr);
1387
- this.currentIndex = presentIndex;
1388
- this.ariaText = "selected ";
1389
- }
1390
- else {
1391
- presentIndex = presentIndex <= 0 ? 0 : (presentIndex - 1);
1392
- this.lastSelectedItem = this.getListItemByIndex(presentIndex);
1393
- this.lastSelectedItem.nativeElement.focus();
1394
- this.currentIndex = presentIndex + 1;
1395
- this.ariaText = "selected ";
1396
- }
1397
- }
1398
- else if (action === 'focusNext') {
1399
- if (this.isListElementMovable) {
1400
- presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex) : (listItems.length - 1);
1401
- if (presentIndex === this.listItems.length - 1) {
1402
- return;
1403
- }
1404
- this.lastSelectedItem = this.getListItemByIndex(presentIndex);
1405
- const nextElt = this.getListItemByIndex(presentIndex + 1);
1406
- nextElt.nativeElement.after(this.lastSelectedItem.nativeElement);
1407
- this.lastSelectedItem.nativeElement.focus();
1408
- this.statePersistence.removeWidgetState(this, 'selectedItem');
1409
- const arr = this.listItems.toArray();
1410
- [arr[presentIndex], arr[presentIndex + 1]] = [arr[presentIndex + 1], arr[presentIndex]];
1411
- this.listItems.reset(arr);
1412
- this.currentIndex = presentIndex + 2;
1413
- this.ariaText = "selected ";
1414
- }
1415
- else {
1416
- presentIndex = presentIndex < (listItems.length - 1) ? (presentIndex + 1) : (listItems.length - 1);
1417
- this.lastSelectedItem = this.getListItemByIndex(presentIndex);
1418
- this.lastSelectedItem.nativeElement.focus();
1419
- this.currentIndex = presentIndex + 1;
1420
- this.ariaText = "selected ";
1421
- }
1422
- }
1423
- else if (action === 'select') {
1424
- // if the enter click is pressed on the item which is not the last selected item, the find the item from which the event is originated.
1425
- if (presentIndex === -1 || !$($event.target).closest(this.lastSelectedItem.nativeElement)) {
1426
- const $li = $($event.target).closest('li.app-list-item');
1427
- const $ul = $li.closest('ul.app-livelist-container');
1428
- presentIndex = $ul.find('li.app-list-item').index($li);
1429
- }
1430
- this.onItemClick($event, this.getListItemByIndex(presentIndex));
1431
- }
1432
- else if (action === 'space') {
1433
- if (!this.enablereorder) {
1434
- return;
1435
- }
1436
- this.isListElementMovable = !this.isListElementMovable;
1437
- this.onItemClick($event, this.getListItemByIndex(presentIndex));
1438
- this.currentIndex = presentIndex + 1;
1439
- if (this.isListElementMovable) {
1440
- this.ariaText = `Item ${this.currentIndex} grabbed, current position `;
1441
- this.$ulEle.data('oldIndex', presentIndex);
1442
- }
1443
- else {
1444
- this.ariaText = `Item ${this.currentIndex} dropped, final position `;
1445
- this.onUpdate($event, undefined, presentIndex);
1446
- }
1447
- }
1448
- }
1449
- onPropertyChange(key, nv, ov) {
1450
- if (key === 'dataset') {
1451
- if (!nv && this.binddatasource && !this.datasource) {
1452
- return;
1453
- }
1454
- this.onDataSetChange(nv);
1455
- }
1456
- else if (key === 'datasource') {
1457
- if (this.dataset) {
1458
- this.onDataSetChange(this.dataset);
1459
- }
1460
- }
1461
- else if (key === 'navigation') {
1462
- // Support for older projects where navigation type was advanced instead of classic
1463
- if (nv === 'Advanced') {
1464
- this.navigation = 'Classic';
1465
- return;
1466
- }
1467
- switchClass(this.nativeElement, nv, ov);
1468
- this.onNavigationTypeChange(nv);
1469
- if (this.dataNavigator) {
1470
- this.dataNavigator.navigationClass = this.paginationclass;
1471
- }
1472
- }
1473
- else if (key === 'itemsperrow') {
1474
- setListClass(this);
1475
- }
1476
- else if (key === 'tabindex') {
1477
- return;
1478
- }
1479
- else if (key === 'pulltorefresh' && nv) {
1480
- this.app.notify('pullToRefresh:enable');
1481
- this.subscribeToPullToRefresh();
1482
- }
1483
- else if (key === 'paginationclass') {
1484
- if (this.dataNavigator) {
1485
- // Adding setTimeout because in pagination component updateNavSize method is overriding navigationclass
1486
- setTimeout(() => this.dataNavigator.navigationClass = nv);
1595
+ if (this.getConfiguredState() !== 'none') {
1596
+ this.statePersistence.removeWidgetState(this, 'selectedItem');
1487
1597
  }
1488
- }
1489
- else if (key === 'pagesize') {
1490
- this.dataNavigator.options = {
1491
- maxResults: nv
1598
+ this.reorderProps.minIndex = min([minIndex, this.reorderProps.minIndex]);
1599
+ this.reorderProps.maxIndex = max([maxIndex, this.reorderProps.maxIndex]);
1600
+ data.splice(newIndex, 0, draggedItem);
1601
+ this.cdRef.markForCheck();
1602
+ this.cdRef.detectChanges();
1603
+ const $changedItem = {
1604
+ oldIndex: oldIndex,
1605
+ newIndex: newIndex,
1606
+ item: data[newIndex]
1492
1607
  };
1493
- this.dataNavigator.widget.maxResults = nv;
1494
- this.dataNavigator.maxResults = nv;
1608
+ this.invokeEventCallback('reorder', { $event: evt, $data: data, $changedItem });
1609
+ this.$ulEle.removeData('oldIndex');
1495
1610
  }
1496
- else if (key === 'enablereorder') {
1497
- if (nv && this.$ulEle) {
1498
- this.$ulEle.attr('aria-describedby', this.titleId);
1499
- this.configureDnD();
1500
- this.$ulEle.sortable('enable');
1501
- }
1502
- else if (this.$ulEle && !nv) {
1503
- this.$ulEle.removeAttr('aria-describedby');
1504
- this.$ulEle.sortable('disable');
1505
- }
1611
+ }
1612
+ // configures reordering the list items.
1613
+ configureDnD() {
1614
+ let appendTo;
1615
+ const modalEl = $(document).find('.modal');
1616
+ if (this.getAttr('height')) { // when height is applied to the list, append should be the ul's parent as scroll is applied to the parent
1617
+ appendTo = 'parent';
1506
1618
  }
1507
- else {
1508
- super.onPropertyChange(key, nv, ov);
1619
+ else if (modalEl.length) { // In case of dialog, appendTo should be the modal ele
1620
+ appendTo = modalEl[modalEl.length - 1];
1509
1621
  }
1510
- }
1511
- onItemClick(evt, $listItem) {
1512
- let selectCount;
1513
- if (!$listItem.disableItem) {
1514
- this.firstSelectedItem = this.firstSelectedItem || $listItem;
1515
- // Setting selectCount value based number of items selected.
1516
- selectCount = _.isArray(this.selecteditem) ? this.selecteditem.length : (_.isObject(this.selecteditem) ? 1 : 0);
1517
- // Handling multiselect for mobile device
1518
- if (this.multiselect && isMobile()) {
1519
- if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
1520
- this.toggleListItemSelection($listItem);
1521
- }
1522
- else {
1523
- this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1524
- }
1525
- }
1526
- else if ((evt.ctrlKey || evt.metaKey) && this.multiselect) {
1527
- if (this.checkSelectionLimit(selectCount) || $listItem.isActive) {
1528
- this.firstSelectedItem = this.lastSelectedItem = $listItem;
1529
- this.toggleListItemSelection($listItem);
1530
- }
1531
- else {
1532
- this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1533
- }
1534
- }
1535
- else if (evt.shiftKey && this.multiselect) {
1536
- let first = $listItem.context.index;
1537
- let last = this.firstSelectedItem.context.index;
1538
- // if first is greater than last, then swap values
1539
- if (first > last) {
1540
- last = [first, first = last][0];
1541
- }
1542
- if (this.checkSelectionLimit(last - first)) {
1543
- this.clearSelectedItems();
1544
- this.listItems.forEach(($liItem) => {
1545
- const index = $liItem.context.index;
1546
- if (index >= first && index <= last) {
1547
- this.toggleListItemSelection($liItem);
1622
+ else { // As default append to should be body
1623
+ appendTo = 'body';
1624
+ }
1625
+ const options = isMobileApp() ? {} : {
1626
+ appendTo: appendTo,
1627
+ };
1628
+ const $el = $(this.nativeElement);
1629
+ this.$ulEle = $el.find('.app-livelist-container');
1630
+ configureDnD(this.$ulEle, options, this.onReorderStart.bind(this), this.onUpdate.bind(this), this.onSort.bind(this));
1631
+ this.$ulEle.droppable({ 'accept': '.app-list-item' });
1632
+ if (isMobileApp()) {
1633
+ this.$ulEle.sortable('disable');
1634
+ this.$ulEle.on('touchstart', function (event) {
1635
+ let self = this;
1636
+ if (!self.touching) {
1637
+ if (self.touched) {
1638
+ clearTimeout(self.touched);
1639
+ }
1640
+ setTimeout(() => {
1641
+ //Prevent context menu on mobile (IOS/ANDROID)
1642
+ if (event.cancelable) {
1643
+ event.preventDefault();
1548
1644
  }
1549
- });
1550
- this.lastSelectedItem = $listItem;
1551
- }
1552
- else {
1553
- this.invokeEventCallback('selectionlimitexceed', { $event: evt });
1554
- }
1555
- }
1556
- else {
1557
- if (!$listItem.isActive || selectCount > 1) {
1558
- this.clearSelectedItems();
1559
- this.toggleListItemSelection($listItem);
1560
- this.firstSelectedItem = this.lastSelectedItem = $listItem;
1645
+ }, 50);
1646
+ self.touched = setTimeout(() => {
1647
+ $(event.currentTarget).addClass('no-selection');
1648
+ //Enable draggable
1649
+ $(event.currentTarget).sortable('enable');
1650
+ //Set internal flag
1651
+ self.touching = true;
1652
+ //trigger touchstart again to enable draggable through touch punch
1653
+ $(self).trigger(event);
1654
+ //Choose preferred duration for taphold
1655
+ }, 350);
1561
1656
  }
1562
- }
1563
- $appDigest();
1657
+ }).on('touchend', function (event) {
1658
+ this.touching = false;
1659
+ $(event.currentTarget).removeClass('no-selection');
1660
+ //Disable draggable to enable default behaviour
1661
+ $(event.currentTarget).sortable('disable');
1662
+ clearTimeout(this.touched);
1663
+ }).on('touchmove', function () {
1664
+ clearTimeout(this.touched);
1665
+ });
1564
1666
  }
1565
1667
  }
1566
- // Empty the list content on clear
1567
- clear() {
1568
- this.updateFieldDefs([]);
1668
+ // returns true if the selection limit is reached.
1669
+ checkSelectionLimit(count) {
1670
+ return (!this.selectionlimit || count < this.selectionlimit);
1671
+ }
1672
+ // returns listitem reference by index value.
1673
+ getListItemByIndex(index) {
1674
+ return this.listItems.toArray()[index];
1675
+ }
1676
+ /**
1677
+ * return index of an (listItemDirective) in the listItem
1678
+ * @param {ListItemDirective} item
1679
+ * @returns {number}
1680
+ */
1681
+ getListItemIndex(item) {
1682
+ return this.listItems.toArray().indexOf(item);
1569
1683
  }
1570
1684
  /**
1571
1685
  * Returns ListItem Reference based on the input provided.
@@ -1582,51 +1696,11 @@ class ListComponent extends StylableComponent {
1582
1696
  }
1583
1697
  return listItem;
1584
1698
  }
1585
- /**
1586
- * deselects item in the list.
1587
- * @param val: index | model of the list item.
1588
- */
1589
- deselectItem(val) {
1590
- const listItem = this.getItemRefByIndexOrModel(val);
1591
- if (listItem && listItem.isActive) {
1592
- this.toggleListItemSelection(listItem);
1593
- }
1594
- }
1595
- /**
1596
- * selects item in the list.
1597
- * @param val: index | model of the list item.
1598
- */
1599
- selectItem(val, statePersistenceTriggered) {
1600
- const listItem = this.getItemRefByIndexOrModel(val);
1601
- if (!listItem) {
1602
- return;
1603
- }
1604
- if (!listItem.isActive) {
1605
- this.toggleListItemSelection(listItem, statePersistenceTriggered);
1606
- }
1607
- // focus the element.
1608
- listItem.nativeElement.focus();
1609
- }
1610
1699
  beforePaginationChange($event, $index) {
1611
1700
  this.invokeEventCallback('paginationchange', { $event, $index });
1612
1701
  }
1613
- handleEvent(node, eventName, eventCallback, locals) {
1614
- // tap and doubleTap events are not getting propagated.So, using mouse events instead.
1615
- const touchToMouse = {
1616
- tap: 'click',
1617
- doubletap: 'dblclick'
1618
- };
1619
- if (_.includes(['click', 'tap', 'dblclick', 'doubletap'], eventName)) {
1620
- this.eventManager.addEventListener(this.nativeElement, touchToMouse[eventName] || eventName, (evt) => {
1621
- const target = $(evt.target).closest('.app-list-item');
1622
- if (target.length) {
1623
- const listItemContext = target.data('listItemContext');
1624
- if (!listItemContext.disableItem) {
1625
- this.invokeEventCallback(eventName, { widget: listItemContext, $event: evt, item: listItemContext.item });
1626
- }
1627
- }
1628
- });
1629
- }
1702
+ trackByFn($index) {
1703
+ return $index; // Return a unique identifier for each item
1630
1704
  }
1631
1705
  // Invoke the datasource variable by default when pulltorefresh event is not specified.
1632
1706
  subscribeToPullToRefresh() {
@@ -1636,19 +1710,6 @@ class ListComponent extends StylableComponent {
1636
1710
  }
1637
1711
  }));
1638
1712
  }
1639
- ngOnInit() {
1640
- super.ngOnInit();
1641
- this.handleHeaderClick = noop;
1642
- setTimeout(() => {
1643
- this.debouncedFetchNextDatasetOnScroll = this.paginationService.debouncedFetchNextDatasetOnScroll(this.dataNavigator, DEBOUNCE_TIMES.PAGINATION_DEBOUNCE_TIME, this);
1644
- }, 0);
1645
- this._items = [];
1646
- this.fieldDefs = [];
1647
- this.reorderProps = {
1648
- minIndex: null,
1649
- maxIndex: null
1650
- };
1651
- }
1652
1713
  setUpCUDHandlers() {
1653
1714
  const $addItem = document.getElementsByClassName("add-list-item")[0];
1654
1715
  if ($addItem) {
@@ -1658,59 +1719,7 @@ class ListComponent extends StylableComponent {
1658
1719
  });
1659
1720
  }
1660
1721
  }
1661
- ngAfterViewInit() {
1662
- this.promiseResolverFn();
1663
- this.propsInitPromise.then(() => {
1664
- super.ngAfterViewInit();
1665
- this.setUpCUDHandlers();
1666
- this.selectedItemWidgets = this.multiselect ? [] : {};
1667
- var ele = $(this.nativeElement).find('.app-livelist-container');
1668
- if (this.enablereorder && !this.groupby) {
1669
- if (ele) {
1670
- ele.attr('aria-describedby', this.titleId);
1671
- }
1672
- this.configureDnD();
1673
- }
1674
- if (!this.enablereorder) {
1675
- if (ele) {
1676
- ele.removeAttr('aria-describedby');
1677
- }
1678
- }
1679
- if (this.groupby && this.collapsible) {
1680
- this.handleHeaderClick = handleHeaderClick;
1681
- this.toggleAllHeaders = toggleAllHeaders.bind(undefined, this);
1682
- }
1683
- setListClass(this);
1684
- });
1685
- this.setupHandlers();
1686
- const $ul = this.nativeElement.querySelector('ul.app-livelist-container');
1687
- styler($ul, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
1688
- if (this.enablereorder) {
1689
- if ($ul) {
1690
- $ul.setAttribute('aria-describedby', this.titleId);
1691
- }
1692
- }
1693
- if (!this.enablereorder) {
1694
- if ($ul) {
1695
- $ul.removeAttribute('aria-describedby');
1696
- }
1697
- }
1698
- if (isMobileApp() && $ul.querySelector('.app-list-item-action-panel')) {
1699
- this._listAnimator = new ListAnimator(this);
1700
- }
1701
- }
1702
- ngOnDestroy() {
1703
- if (this._listAnimator && this._listAnimator.$btnSubscription) {
1704
- this._listAnimator.$btnSubscription.unsubscribe();
1705
- }
1706
- this._listenerDestroyers.forEach(d => d && d());
1707
- super.ngOnDestroy();
1708
- }
1709
- ngOnDetach() {
1710
- super.ngOnDetach();
1711
- this._pageLoad = true;
1712
- }
1713
- static { this.ɵfac = function ListComponent_Factory(t) { return new (t || ListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.ToDatePipe), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2.AppDefaults), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵinjectAttribute('itemclass.bind'), i0.ɵɵinjectAttribute('disableitem.bind'), i0.ɵɵinjectAttribute('dataset.bind'), i0.ɵɵinjectAttribute('datasource.bind'), i0.ɵɵinjectAttribute('mouseenter.event'), i0.ɵɵinjectAttribute('mouseleave.event'), i0.ɵɵdirectiveInject(i2.StatePersistence), i0.ɵɵdirectiveInject(i2.PaginationService)); }; }
1722
+ static { this.ɵfac = function ListComponent_Factory(t) { return new (t || ListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.ToDatePipe), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2.AppDefaults), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵinjectAttribute('itemclass.bind'), i0.ɵɵinjectAttribute('disableitem.bind'), i0.ɵɵinjectAttribute('dataset.bind'), i0.ɵɵinjectAttribute('datasource.bind'), i0.ɵɵinjectAttribute('mouseenter.event'), i0.ɵɵinjectAttribute('mouseleave.event'), i0.ɵɵdirectiveInject(i2.StatePersistence), i0.ɵɵdirectiveInject(i2.PaginationService), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
1714
1723
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ListComponent, selectors: [["div", "wmList", ""]], contentQueries: function ListComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1715
1724
  i0.ɵɵcontentQuery(dirIndex, _c0, 5);
1716
1725
  i0.ɵɵcontentQuery(dirIndex, _c1, 5);
@@ -1731,61 +1740,55 @@ class ListComponent extends StylableComponent {
1731
1740
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listItems = _t);
1732
1741
  } }, features: [i0.ɵɵProvidersFeature([
1733
1742
  provideAsWidgetRef(ListComponent)
1734
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, decls: 16, vars: 19, consts: [["class", "panel-heading", 4, "ngIf"], ["class", "app-datanavigator", "aria-label", "Page navigation", 4, "ngIf"], ["aria-live", "polite", "aria-atomic", "true", "class", "sr-only", 4, "ngIf"], ["class", "sr-only", 3, "id", 4, "ngIf"], ["aria-live", "assertive", "class", "sr-only", 4, "ngIf"], ["role", "list", 3, "hidden", "keydown.enter", "keydown.space", "keydown.arrowup", "keydown.arrowdown", "keydown.arrowleft", "keydown.arrowright", "keydown.shift.arrowup", "keydown.shift.arrowdown", "keydown.shift.arrowleft", "keydown.shift.arrowright"], [3, "ngIf", "ngIfElse"], [3, "ngTemplateOutlet"], ["class", "no-data-msg", 3, "textContent", 4, "ngIf"], ["class", "loading-data-msg", 4, "ngIf"], ["class", "app-datanavigator", 4, "ngIf"], ["class", "panel-footer", 3, "hidden", 4, "ngIf"], ["groupedListTemplate", ""], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], ["aria-hidden", "true", 3, "hidden"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], ["aria-label", "Page navigation", 1, "app-datanavigator"], [1, "pager"], [1, "previous", 3, "ngClass"], ["href", "javascript:void(0);", 3, "click"], ["aria-hidden", "true", 1, "wi", "wi-chevron-left"], [1, "sr-only"], ["aria-live", "polite", "aria-atomic", "true", 1, "sr-only"], [1, "sr-only", 3, "id"], ["aria-live", "assertive", 1, "sr-only"], ["role", "listitem", 3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf"], ["role", "listitem", 3, "ngClass", "wmListItem"], ["listItemRef", "listItemRef"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "no-data-msg", 3, "textContent"], [1, "loading-data-msg"], ["aria-hidden", "true", 1, "app-icon", "panel-icon", "fa-spin", 3, "ngClass"], [1, "loading-text", 3, "textContent"], [1, "app-datanavigator"], [1, "next", 3, "ngClass"], ["aria-hidden", "true", 1, "wi", "wi-chevron-right"], [1, "panel-footer", 3, "hidden"], ["wmPagination", "", "navigationalign.bind", "navigationalign", "navigation.bind", "navControls", "showrecordcount.bind", "showrecordcount", "maxsize.bind", "maxsize", "boundarylinks.bind", "boundarylinks", "forceellipses.bind", "forceellipses", "directionlinks.bind", "directionlinks", "show.bind", "!onDemandLoad", "paginationchange.event", "beforePaginationChange($event, $index)"], ["href", "javascript:void(0);", "class", "app-button btn btn-block", 3, "ngClass", "textContent", "click", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-button", "btn", "btn-block", 3, "ngClass", "textContent", "click"], ["class", "app-list-item-group clearfix", 4, "ngFor", "ngForOf"], [1, "app-list-item-group", "clearfix"], [1, "list-group", "item-group", 3, "ngClass"], [1, "app-list-item-header", "list-item", "list-group-header", 3, "ngClass", "click"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 4, "ngIf"], ["class", "label label-default", 4, "ngIf"], [3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up"], [1, "label", "label-default"], [3, "ngClass", "wmListItem"]], template: function ListComponent_Template(rf, ctx) { if (rf & 1) {
1735
- i0.ɵɵtemplate(0, ListComponent_div_0_Template, 7, 6, "div", 0);
1736
- i0.ɵɵtemplate(1, ListComponent_div_1_Template, 7, 6, "div", 1);
1737
- i0.ɵɵtemplate(2, ListComponent_div_2_Template, 2, 1, "div", 2);
1743
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, decls: 16, vars: 19, consts: [["groupedListTemplate", ""], ["listItemRef", "listItemRef"], ["class", "panel-heading", 4, "ngIf"], ["class", "app-datanavigator", "aria-label", "Page navigation", 4, "ngIf"], ["aria-live", "polite", "aria-atomic", "true", "class", "sr-only", 4, "ngIf"], ["class", "sr-only", 3, "id", 4, "ngIf"], ["aria-live", "assertive", "class", "sr-only", 4, "ngIf"], ["role", "list", 3, "keydown.enter", "keydown.space", "keydown.arrowup", "keydown.arrowdown", "keydown.arrowleft", "keydown.arrowright", "keydown.shift.arrowup", "keydown.shift.arrowdown", "keydown.shift.arrowleft", "keydown.shift.arrowright", "hidden"], [3, "ngIf", "ngIfElse"], [3, "ngTemplateOutlet"], ["class", "no-data-msg", 3, "textContent", 4, "ngIf"], ["class", "loading-data-msg", 4, "ngIf"], ["class", "app-datanavigator", 4, "ngIf"], ["class", "panel-footer", 3, "hidden", 4, "ngIf"], [1, "panel-heading"], [1, "panel-title"], [1, "pull-left"], ["aria-hidden", "true", 3, "hidden"], [1, "heading", 3, "innerHTML"], [1, "description", 3, "innerHTML"], ["aria-label", "Page navigation", 1, "app-datanavigator"], [1, "pager"], [1, "previous", 3, "ngClass"], ["href", "javascript:void(0);", 3, "click"], ["aria-hidden", "true", 1, "wi", "wi-chevron-left"], [1, "sr-only"], ["aria-live", "polite", "aria-atomic", "true", 1, "sr-only"], [1, "sr-only", 3, "id"], ["aria-live", "assertive", 1, "sr-only"], ["role", "listitem", 3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf"], ["role", "listitem", 3, "ngClass", "wmListItem"], [3, "ngTemplateOutlet", "ngTemplateOutletInjector", "ngTemplateOutletContext"], [1, "no-data-msg", 3, "textContent"], [1, "loading-data-msg"], ["aria-hidden", "true", 1, "app-icon", "panel-icon", "fa-spin", 3, "ngClass"], [1, "loading-text", 3, "textContent"], [1, "app-datanavigator"], [1, "next", 3, "ngClass"], ["aria-hidden", "true", 1, "wi", "wi-chevron-right"], [1, "panel-footer", 3, "hidden"], ["wmPagination", "", "navigationalign.bind", "navigationalign", "navigation.bind", "navControls", "showrecordcount.bind", "showrecordcount", "maxsize.bind", "maxsize", "boundarylinks.bind", "boundarylinks", "forceellipses.bind", "forceellipses", "directionlinks.bind", "directionlinks", "show.bind", "!onDemandLoad", "paginationchange.event", "beforePaginationChange($event, $index)"], ["href", "javascript:void(0);", "class", "app-button btn btn-block", 3, "ngClass", "textContent", "click", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-button", "btn", "btn-block", 3, "click", "ngClass", "textContent"], ["class", "app-list-item-group clearfix", 4, "ngFor", "ngForOf"], [1, "app-list-item-group", "clearfix"], [1, "list-group", "item-group", 3, "ngClass"], [1, "app-list-item-header", "list-item", "list-group-header", 3, "click", "ngClass"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 4, "ngIf"], ["class", "label label-default", 4, "ngIf"], [3, "class", "ngClass", "wmListItem", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "app-icon", "wi", "action", "wi-chevron-up"], [1, "label", "label-default"], [3, "ngClass", "wmListItem"]], template: function ListComponent_Template(rf, ctx) { if (rf & 1) {
1744
+ const _r1 = i0.ɵɵgetCurrentView();
1745
+ i0.ɵɵtemplate(0, ListComponent_div_0_Template, 7, 6, "div", 2)(1, ListComponent_div_1_Template, 7, 6, "div", 3)(2, ListComponent_div_2_Template, 2, 1, "div", 4);
1738
1746
  i0.ɵɵelementStart(3, "div");
1739
- i0.ɵɵtemplate(4, ListComponent_div_4_Template, 2, 1, "div", 3);
1740
- i0.ɵɵtemplate(5, ListComponent_div_5_Template, 2, 1, "div", 4);
1747
+ i0.ɵɵtemplate(4, ListComponent_div_4_Template, 2, 1, "div", 5)(5, ListComponent_div_5_Template, 2, 1, "div", 6);
1741
1748
  i0.ɵɵelementEnd();
1742
- i0.ɵɵelementStart(6, "ul", 5);
1743
- i0.ɵɵlistener("keydown.enter", function ListComponent_Template_ul_keydown_enter_6_listener($event) { return ctx.handleKeyDown($event, "select"); })("keydown.space", function ListComponent_Template_ul_keydown_space_6_listener($event) { return ctx.handleKeyDown($event, "space"); })("keydown.arrowup", function ListComponent_Template_ul_keydown_arrowup_6_listener($event) { return ctx.handleKeyDown($event, "focusPrev"); })("keydown.arrowdown", function ListComponent_Template_ul_keydown_arrowdown_6_listener($event) { return ctx.handleKeyDown($event, "focusNext"); })("keydown.arrowleft", function ListComponent_Template_ul_keydown_arrowleft_6_listener($event) { return ctx.handleKeyDown($event, "focusPrev"); })("keydown.arrowright", function ListComponent_Template_ul_keydown_arrowright_6_listener($event) { return ctx.handleKeyDown($event, "focusNext"); })("keydown.shift.arrowup", function ListComponent_Template_ul_keydown_shift_arrowup_6_listener($event) { return ctx.handleKeyDown($event, "selectPrev"); })("keydown.shift.arrowdown", function ListComponent_Template_ul_keydown_shift_arrowdown_6_listener($event) { return ctx.handleKeyDown($event, "selectNext"); })("keydown.shift.arrowleft", function ListComponent_Template_ul_keydown_shift_arrowleft_6_listener($event) { return ctx.handleKeyDown($event, "selectPrev"); })("keydown.shift.arrowright", function ListComponent_Template_ul_keydown_shift_arrowright_6_listener($event) { return ctx.handleKeyDown($event, "selectNext"); });
1744
- i0.ɵɵtemplate(7, ListComponent_ng_template_7_Template, 1, 1, "ng-template", 6);
1745
- i0.ɵɵelementContainer(8, 7)(9, 7);
1749
+ i0.ɵɵelementStart(6, "ul", 7);
1750
+ i0.ɵɵlistener("keydown.enter", function ListComponent_Template_ul_keydown_enter_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "select")); })("keydown.space", function ListComponent_Template_ul_keydown_space_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "space")); })("keydown.arrowup", function ListComponent_Template_ul_keydown_arrowup_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "focusPrev")); })("keydown.arrowdown", function ListComponent_Template_ul_keydown_arrowdown_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "focusNext")); })("keydown.arrowleft", function ListComponent_Template_ul_keydown_arrowleft_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "focusPrev")); })("keydown.arrowright", function ListComponent_Template_ul_keydown_arrowright_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "focusNext")); })("keydown.shift.arrowup", function ListComponent_Template_ul_keydown_shift_arrowup_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "selectPrev")); })("keydown.shift.arrowdown", function ListComponent_Template_ul_keydown_shift_arrowdown_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "selectNext")); })("keydown.shift.arrowleft", function ListComponent_Template_ul_keydown_shift_arrowleft_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "selectPrev")); })("keydown.shift.arrowright", function ListComponent_Template_ul_keydown_shift_arrowright_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleKeyDown($event, "selectNext")); });
1751
+ i0.ɵɵtemplate(7, ListComponent_ng_template_7_Template, 1, 1, "ng-template", 8);
1752
+ i0.ɵɵelementContainer(8, 9)(9, 9);
1746
1753
  i0.ɵɵelementEnd();
1747
- i0.ɵɵtemplate(10, ListComponent_div_10_Template, 1, 1, "div", 8);
1748
- i0.ɵɵtemplate(11, ListComponent_div_11_Template, 6, 2, "div", 9);
1749
- i0.ɵɵtemplate(12, ListComponent_div_12_Template, 7, 6, "div", 10);
1750
- i0.ɵɵtemplate(13, ListComponent_div_13_Template, 3, 2, "div", 11);
1751
- i0.ɵɵtemplate(14, ListComponent_ng_template_14_Template, 1, 1, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
1754
+ i0.ɵɵtemplate(10, ListComponent_div_10_Template, 1, 1, "div", 10)(11, ListComponent_div_11_Template, 6, 2, "div", 11)(12, ListComponent_div_12_Template, 7, 6, "div", 12)(13, ListComponent_div_13_Template, 3, 2, "div", 13)(14, ListComponent_ng_template_14_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
1752
1755
  } if (rf & 2) {
1753
- const _r10 = i0.ɵɵreference(15);
1756
+ const groupedListTemplate_r19 = i0.ɵɵreference(15);
1754
1757
  i0.ɵɵproperty("ngIf", ctx.title || ctx.subheading || ctx.iconclass);
1755
- i0.ɵɵadvance(1);
1758
+ i0.ɵɵadvance();
1756
1759
  i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
1757
- i0.ɵɵadvance(1);
1760
+ i0.ɵɵadvance();
1758
1761
  i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
1759
1762
  i0.ɵɵadvance(2);
1760
1763
  i0.ɵɵproperty("ngIf", ctx.enablereorder);
1761
- i0.ɵɵadvance(1);
1764
+ i0.ɵɵadvance();
1762
1765
  i0.ɵɵproperty("ngIf", ctx.listItems && ctx.enablereorder && ctx.currentIndex);
1763
- i0.ɵɵadvance(1);
1766
+ i0.ɵɵadvance();
1764
1767
  i0.ɵɵclassMapInterpolate2("app-livelist-container clearfix ", ctx.direction === "horizontal" ? "app-horizontal-list" : "", " ", ctx.listclass, "");
1765
1768
  i0.ɵɵproperty("hidden", ctx.noDataFound && !ctx.variableInflight);
1766
1769
  i0.ɵɵattribute("tabindex", ctx.tabindex);
1767
- i0.ɵɵadvance(1);
1768
- i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", _r10);
1769
- i0.ɵɵadvance(1);
1770
+ i0.ɵɵadvance();
1771
+ i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r19);
1772
+ i0.ɵɵadvance();
1770
1773
  i0.ɵɵproperty("ngTemplateOutlet", ctx.listLeftActionTemplate);
1771
- i0.ɵɵadvance(1);
1774
+ i0.ɵɵadvance();
1772
1775
  i0.ɵɵproperty("ngTemplateOutlet", ctx.listRightActionTemplate);
1773
- i0.ɵɵadvance(1);
1776
+ i0.ɵɵadvance();
1774
1777
  i0.ɵɵproperty("ngIf", ctx.noDataFound && !ctx.variableInflight);
1775
- i0.ɵɵadvance(1);
1778
+ i0.ɵɵadvance();
1776
1779
  i0.ɵɵproperty("ngIf", ctx.variableInflight && !ctx.pulltorefresh);
1777
- i0.ɵɵadvance(1);
1780
+ i0.ɵɵadvance();
1778
1781
  i0.ɵɵproperty("ngIf", ctx.navigation === "Inline" && !ctx.noDataFound);
1779
- i0.ɵɵadvance(1);
1782
+ i0.ɵɵadvance();
1780
1783
  i0.ɵɵproperty("ngIf", ctx.navigation !== "None");
1781
1784
  } }, encapsulation: 2 }); }
1782
1785
  }
1783
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListComponent, [{
1786
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListComponent, [{
1784
1787
  type: Component,
1785
1788
  args: [{ selector: 'div[wmList]', providers: [
1786
1789
  provideAsWidgetRef(ListComponent)
1787
- ], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </h3>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n<div *ngIf=\"navigation === 'Inline' && !noDataFound\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n\n<div>\n <div id={{titleId}} class=\"sr-only\" *ngIf=\"enablereorder\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n\n <div aria-live=\"assertive\" *ngIf=\"listItems && enablereorder && currentIndex\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n>\n <ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li *ngFor=\"let item of fieldDefs; index as $index; first as $first; last as $last;\" class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\" [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n<div class=\"no-data-msg\" *ngIf=\"noDataFound && !variableInflight\" [textContent]=\"nodatamessage\"></div>\n\n<div class=\"loading-data-msg\" *ngIf=\"variableInflight && !pulltorefresh\">\n <span>\n <i class=\"app-icon panel-icon fa-spin\" aria-hidden=\"true\" [ngClass]=\"loadingicon\"></i>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n\n<div class=\"panel-footer\" *ngIf=\"navigation !== 'None'\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator.dataSize <= pagesize) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n <a *ngIf=\"onDemandLoad\" href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n</div>\n\n<!--This template will be displayed when groupby is specified-->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\">{{groupObj.data.length}}</span>\n </div>\n </h4>\n </li>\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\">\n <li *ngFor=\"let item of groupObj.data; index as $index; first as $first; last as $last;\" [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\" [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ul>\n </ul>\n </li>\n</ng-template>\n" }]
1788
- }], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1.ToDatePipe }, { type: i2.App }, { type: i2.AppDefaults }, { type: i0.NgZone }, { type: undefined, decorators: [{
1790
+ ], template: "<div class=\"panel-heading\" *ngIf=\"title || subheading || iconclass\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </h3>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n<div *ngIf=\"navigation === 'Inline' && !noDataFound\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n\n<div>\n <div id={{titleId}} class=\"sr-only\" *ngIf=\"enablereorder\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n\n <div aria-live=\"assertive\" *ngIf=\"listItems && enablereorder && currentIndex\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n>\n <ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li *ngFor=\"let item of fieldDefs; index as $index; first as $first; last as $last;\" class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('flat_' + $index, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n<div class=\"no-data-msg\" *ngIf=\"noDataFound && !variableInflight\" [textContent]=\"nodatamessage\"></div>\n\n<div class=\"loading-data-msg\" *ngIf=\"variableInflight && !pulltorefresh\">\n <span>\n <i class=\"app-icon panel-icon fa-spin\" aria-hidden=\"true\" [ngClass]=\"loadingicon\"></i>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n</div>\n\n<div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\" *ngIf=\"navigation === 'Inline' && !noDataFound\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n</div>\n\n<div class=\"panel-footer\" *ngIf=\"navigation !== 'None'\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator.dataSize <= pagesize) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n <a *ngIf=\"onDemandLoad\" href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n</div>\n\n<!--This template will be displayed when groupby is specified-->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData; let groupIndex = index;\" class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\">{{groupObj.data.length}}</span>\n </div>\n </h4>\n </li>\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\">\n <li *ngFor=\"let item of groupObj.data; index as $index; trackBy: trackByFn; first as $first; last as $last;\" [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('group_' + groupIndex + '_item_' + $index, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n </ul>\n </ul>\n </li>\n</ng-template>\n" }]
1791
+ }], () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1.ToDatePipe }, { type: i2.App }, { type: i2.AppDefaults }, { type: i0.NgZone }, { type: undefined, decorators: [{
1789
1792
  type: Attribute,
1790
1793
  args: ['itemclass.bind']
1791
1794
  }] }, { type: undefined, decorators: [{
@@ -1803,7 +1806,12 @@ class ListComponent extends StylableComponent {
1803
1806
  }] }, { type: undefined, decorators: [{
1804
1807
  type: Attribute,
1805
1808
  args: ['mouseleave.event']
1806
- }] }, { type: i2.StatePersistence }, { type: i2.PaginationService }]; }, { listTemplate: [{
1809
+ }] }, { type: i2.StatePersistence }, { type: i2.PaginationService }, { type: undefined, decorators: [{
1810
+ type: Inject,
1811
+ args: ['EXPLICIT_CONTEXT']
1812
+ }, {
1813
+ type: Optional
1814
+ }] }], { listTemplate: [{
1807
1815
  type: ContentChild,
1808
1816
  args: ['listTemplate']
1809
1817
  }], listLeftActionTemplate: [{
@@ -1822,6 +1830,7 @@ class ListComponent extends StylableComponent {
1822
1830
  type: ViewChildren,
1823
1831
  args: [ListItemDirective]
1824
1832
  }] }); })();
1833
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListComponent, { className: "ListComponent", filePath: "list.component.ts", lineNumber: 91 }); })();
1825
1834
 
1826
1835
  const components = [
1827
1836
  ListComponent,
@@ -1834,7 +1843,7 @@ class ListModule {
1834
1843
  PaginationModule,
1835
1844
  WmComponentsModule] }); }
1836
1845
  }
1837
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListModule, [{
1846
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListModule, [{
1838
1847
  type: NgModule,
1839
1848
  args: [{
1840
1849
  imports: [