@wavemaker/app-ng-runtime 11.10.5-rc.6100 → 11.11.0-rc.6106

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 (1167) hide show
  1. package/build-task/bundles/index.umd.js +94 -68
  2. package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +8 -8
  3. package/build-task/esm2022/containers/repeat-template.build.mjs +5 -5
  4. package/build-task/esm2022/containers/wizard/wizard-step/wizard-step.build.mjs +2 -2
  5. package/build-task/esm2022/containers/wizard/wizard.build.mjs +33 -4
  6. package/build-task/esm2022/data/form/form-field/form-field.build.mjs +10 -10
  7. package/build-task/esm2022/data/table/table-column/table-column.build.mjs +15 -11
  8. package/build-task/esm2022/page/page.build.mjs +2 -8
  9. package/build-task/esm2022/public_api.mjs +1 -1
  10. package/build-task/fesm2022/index.mjs +95 -69
  11. package/build-task/fesm2022/index.mjs.map +1 -1
  12. package/components/advanced/carousel/bundles/index.umd.js +8 -36
  13. package/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +1 -1
  14. package/components/advanced/carousel/carousel.directive.d.ts +1 -1
  15. package/components/advanced/carousel/esm2022/carousel-template/carousel-template.directive.mjs +3 -2
  16. package/components/advanced/carousel/esm2022/carousel.directive.mjs +3 -2
  17. package/components/advanced/carousel/esm2022/public_api.mjs +1 -2
  18. package/components/advanced/carousel/fesm2022/index.mjs +8 -36
  19. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  20. package/components/advanced/carousel/public_api.d.ts +0 -1
  21. package/components/advanced/custom/bundles/index.umd.js +8 -33
  22. package/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +1 -1
  23. package/components/advanced/custom/custom-widget.directive.d.ts +1 -1
  24. package/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +3 -2
  25. package/components/advanced/custom/esm2022/custom-widget.directive.mjs +3 -2
  26. package/components/advanced/custom/esm2022/public_api.mjs +1 -2
  27. package/components/advanced/custom/fesm2022/index.mjs +7 -32
  28. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  29. package/components/advanced/custom/public_api.d.ts +0 -1
  30. package/components/advanced/login/bundles/index.umd.js +10 -34
  31. package/components/advanced/login/esm2022/login.component.mjs +7 -6
  32. package/components/advanced/login/esm2022/public_api.mjs +1 -2
  33. package/components/advanced/login/fesm2022/index.mjs +8 -32
  34. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  35. package/components/advanced/login/login.component.d.ts +1 -1
  36. package/components/advanced/login/public_api.d.ts +0 -1
  37. package/components/advanced/marquee/bundles/index.umd.js +6 -29
  38. package/components/advanced/marquee/esm2022/marquee.directive.mjs +3 -2
  39. package/components/advanced/marquee/esm2022/public_api.mjs +1 -2
  40. package/components/advanced/marquee/fesm2022/index.mjs +5 -28
  41. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  42. package/components/advanced/marquee/marquee.directive.d.ts +1 -1
  43. package/components/advanced/marquee/public_api.d.ts +0 -1
  44. package/components/base/bundles/index.umd.js +76 -274
  45. package/components/base/components.module.d.ts +13 -15
  46. package/components/base/directives/show-in-device.directive.d.ts +1 -1
  47. package/components/base/esm2022/components.module.mjs +7 -13
  48. package/components/base/esm2022/directives/show-in-device.directive.mjs +3 -2
  49. package/components/base/esm2022/pipes/custom-pipes.mjs +32 -16
  50. package/components/base/esm2022/pipes/image.pipe.mjs +3 -2
  51. package/components/base/esm2022/pipes/sanitize.pipe.mjs +3 -2
  52. package/components/base/esm2022/pipes/trust-as.pipe.mjs +3 -2
  53. package/components/base/esm2022/public_api.mjs +1 -2
  54. package/components/base/esm2022/utils/form-utils.mjs +2 -1
  55. package/components/base/esm2022/utils/live-utils.mjs +3 -7
  56. package/components/base/esm2022/widgets/common/base/base.component.mjs +3 -5
  57. package/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +3 -2
  58. package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +3 -2
  59. package/components/base/esm2022/widgets/common/base/text-content.directive.mjs +3 -2
  60. package/components/base/esm2022/widgets/common/container/container.directive.mjs +3 -2
  61. package/components/base/esm2022/widgets/common/dialog/dialog.service.mjs +3 -3
  62. package/components/base/esm2022/widgets/common/item-template/item-template.directive.mjs +3 -2
  63. package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -2
  64. package/components/base/esm2022/widgets/common/message/message.component.mjs +5 -5
  65. package/components/base/esm2022/widgets/common/partial/partial.directive.mjs +3 -2
  66. package/components/base/esm2022/widgets/common/partial-param/partial-param.directive.mjs +5 -3
  67. package/components/base/esm2022/widgets/common/redraw/redrawable.directive.mjs +3 -2
  68. package/components/base/esm2022/widgets/common/repeat-template/repeat-template.directive.mjs +3 -2
  69. package/components/base/fesm2022/index.mjs +76 -272
  70. package/components/base/fesm2022/index.mjs.map +1 -1
  71. package/components/base/pipes/custom-pipes.d.ts +16 -16
  72. package/components/base/pipes/image.pipe.d.ts +1 -1
  73. package/components/base/pipes/sanitize.pipe.d.ts +1 -1
  74. package/components/base/pipes/trust-as.pipe.d.ts +1 -1
  75. package/components/base/public_api.d.ts +0 -1
  76. package/components/base/widgets/common/base/custom-widget-container.directive.d.ts +1 -1
  77. package/components/base/widgets/common/base/partial-container.directive.d.ts +1 -1
  78. package/components/base/widgets/common/base/text-content.directive.d.ts +1 -1
  79. package/components/base/widgets/common/container/container.directive.d.ts +1 -1
  80. package/components/base/widgets/common/item-template/item-template.directive.d.ts +1 -1
  81. package/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +1 -1
  82. package/components/base/widgets/common/message/message.component.d.ts +1 -1
  83. package/components/base/widgets/common/partial/partial.directive.d.ts +1 -1
  84. package/components/base/widgets/common/partial-param/partial-param.directive.d.ts +2 -2
  85. package/components/base/widgets/common/redraw/redrawable.directive.d.ts +1 -1
  86. package/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +1 -1
  87. package/components/basic/default/anchor/anchor.component.d.ts +1 -1
  88. package/components/basic/default/audio/audio.component.d.ts +1 -1
  89. package/components/basic/default/bundles/index.umd.js +100 -148
  90. package/components/basic/default/esm2022/anchor/anchor.component.mjs +23 -21
  91. package/components/basic/default/esm2022/audio/audio.component.mjs +7 -6
  92. package/components/basic/default/esm2022/html/html.directive.mjs +3 -2
  93. package/components/basic/default/esm2022/icon/icon.component.mjs +17 -16
  94. package/components/basic/default/esm2022/iframe/iframe.component.mjs +14 -13
  95. package/components/basic/default/esm2022/label/label.directive.mjs +3 -2
  96. package/components/basic/default/esm2022/picture/picture.directive.mjs +3 -2
  97. package/components/basic/default/esm2022/picture/picture.props.mjs +1 -5
  98. package/components/basic/default/esm2022/public_api.mjs +1 -2
  99. package/components/basic/default/esm2022/spinner/spinner.component.mjs +26 -24
  100. package/components/basic/default/esm2022/video/video.component.mjs +19 -18
  101. package/components/basic/default/fesm2022/index.mjs +101 -148
  102. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  103. package/components/basic/default/html/html.directive.d.ts +1 -1
  104. package/components/basic/default/icon/icon.component.d.ts +1 -1
  105. package/components/basic/default/iframe/iframe.component.d.ts +1 -1
  106. package/components/basic/default/label/label.directive.d.ts +1 -1
  107. package/components/basic/default/picture/picture.directive.d.ts +1 -1
  108. package/components/basic/default/public_api.d.ts +0 -1
  109. package/components/basic/default/spinner/spinner.component.d.ts +1 -1
  110. package/components/basic/default/video/video.component.d.ts +1 -1
  111. package/components/basic/progress/bundles/index.umd.js +20 -51
  112. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +12 -11
  113. package/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
  114. package/components/basic/progress/esm2022/public_api.mjs +1 -2
  115. package/components/basic/progress/fesm2022/index.mjs +19 -49
  116. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  117. package/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -1
  118. package/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -1
  119. package/components/basic/progress/public_api.d.ts +0 -1
  120. package/components/basic/rich-text-editor/bundles/index.umd.js +15 -40
  121. package/components/basic/rich-text-editor/esm2022/public_api.mjs +1 -2
  122. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +13 -12
  123. package/components/basic/rich-text-editor/fesm2022/index.mjs +13 -37
  124. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  125. package/components/basic/rich-text-editor/public_api.d.ts +0 -1
  126. package/components/basic/rich-text-editor/rich-text-editor.component.d.ts +1 -1
  127. package/components/basic/search/bundles/index.umd.js +170 -207
  128. package/components/basic/search/esm2022/public_api.mjs +1 -2
  129. package/components/basic/search/esm2022/scrollable.directive.mjs +3 -2
  130. package/components/basic/search/esm2022/search.component.mjs +76 -72
  131. package/components/basic/search/fesm2022/index.mjs +107 -143
  132. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  133. package/components/basic/search/public_api.d.ts +0 -1
  134. package/components/basic/search/scrollable.directive.d.ts +1 -1
  135. package/components/basic/search/search.component.d.ts +1 -1
  136. package/components/basic/tree/bundles/index.umd.js +9 -33
  137. package/components/basic/tree/esm2022/public_api.mjs +1 -2
  138. package/components/basic/tree/esm2022/tree.component.mjs +7 -6
  139. package/components/basic/tree/fesm2022/index.mjs +8 -32
  140. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  141. package/components/basic/tree/public_api.d.ts +0 -1
  142. package/components/basic/tree/tree.component.d.ts +1 -1
  143. package/components/chart/bundles/index.umd.js +25 -53
  144. package/components/chart/chart.component.d.ts +1 -1
  145. package/components/chart/esm2022/chart.component.mjs +26 -24
  146. package/components/chart/esm2022/chart.utils.mjs +2 -1
  147. package/components/chart/esm2022/public_api.mjs +1 -2
  148. package/components/chart/fesm2022/index.mjs +26 -52
  149. package/components/chart/fesm2022/index.mjs.map +1 -1
  150. package/components/chart/public_api.d.ts +0 -1
  151. package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +1 -1
  152. package/components/containers/accordion/accordion.directive.d.ts +1 -1
  153. package/components/containers/accordion/bundles/index.umd.js +208 -237
  154. package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +10 -11
  155. package/components/containers/accordion/esm2022/accordion.directive.mjs +5 -4
  156. package/components/containers/accordion/esm2022/public_api.mjs +1 -2
  157. package/components/containers/accordion/fesm2022/index.mjs +189 -217
  158. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  159. package/components/containers/accordion/public_api.d.ts +0 -1
  160. package/components/containers/layout-grid/bundles/index.umd.js +13 -43
  161. package/components/containers/layout-grid/esm2022/layout-grid-column/layout-grid-column.directive.mjs +7 -9
  162. package/components/containers/layout-grid/esm2022/layout-grid-row/layout-grid-row.directive.mjs +3 -2
  163. package/components/containers/layout-grid/esm2022/layout-grid.directive.mjs +3 -2
  164. package/components/containers/layout-grid/esm2022/public_api.mjs +1 -2
  165. package/components/containers/layout-grid/fesm2022/index.mjs +13 -43
  166. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  167. package/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +1 -1
  168. package/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +1 -1
  169. package/components/containers/layout-grid/layout-grid.directive.d.ts +1 -1
  170. package/components/containers/layout-grid/public_api.d.ts +0 -1
  171. package/components/containers/linear-layout/bundles/index.umd.js +8 -33
  172. package/components/containers/linear-layout/esm2022/linear-layout-item/linear-layout-item.directive.mjs +3 -2
  173. package/components/containers/linear-layout/esm2022/linear-layout.directive.mjs +3 -2
  174. package/components/containers/linear-layout/esm2022/public_api.mjs +1 -2
  175. package/components/containers/linear-layout/fesm2022/index.mjs +7 -32
  176. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  177. package/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +1 -1
  178. package/components/containers/linear-layout/linear-layout.directive.d.ts +1 -1
  179. package/components/containers/linear-layout/public_api.d.ts +0 -1
  180. package/components/containers/panel/bundles/index.umd.js +87 -118
  181. package/components/containers/panel/esm2022/panel.component.mjs +48 -46
  182. package/components/containers/panel/esm2022/public_api.mjs +1 -2
  183. package/components/containers/panel/fesm2022/index.mjs +49 -79
  184. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  185. package/components/containers/panel/panel.component.d.ts +1 -1
  186. package/components/containers/panel/public_api.d.ts +0 -1
  187. package/components/containers/tabs/bundles/index.umd.js +84 -116
  188. package/components/containers/tabs/esm2022/public_api.mjs +1 -2
  189. package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +8 -10
  190. package/components/containers/tabs/esm2022/tabs.component.mjs +35 -33
  191. package/components/containers/tabs/esm2022/tabs.props.mjs +1 -5
  192. package/components/containers/tabs/fesm2022/index.mjs +45 -76
  193. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  194. package/components/containers/tabs/public_api.d.ts +0 -1
  195. package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +1 -1
  196. package/components/containers/tabs/tabs.component.d.ts +1 -1
  197. package/components/containers/tile/bundles/index.umd.js +6 -29
  198. package/components/containers/tile/esm2022/public_api.mjs +1 -2
  199. package/components/containers/tile/esm2022/tile.directive.mjs +3 -2
  200. package/components/containers/tile/fesm2022/index.mjs +5 -28
  201. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  202. package/components/containers/tile/public_api.d.ts +0 -1
  203. package/components/containers/tile/tile.directive.d.ts +1 -1
  204. package/components/containers/wizard/bundles/index.umd.js +355 -186
  205. package/components/containers/wizard/esm2022/public_api.mjs +2 -3
  206. package/components/containers/wizard/esm2022/wizard-action/wizard-action.directive.mjs +3 -2
  207. package/components/containers/wizard/esm2022/wizard-step/wizard-step.component.mjs +176 -0
  208. package/components/containers/wizard/esm2022/wizard-step/wizard-step.props.mjs +8 -5
  209. package/components/containers/wizard/esm2022/wizard.component.mjs +264 -102
  210. package/components/containers/wizard/esm2022/wizard.props.mjs +8 -4
  211. package/components/containers/wizard/fesm2022/index.mjs +323 -152
  212. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  213. package/components/containers/wizard/public_api.d.ts +1 -2
  214. package/components/containers/wizard/wizard-action/wizard-action.directive.d.ts +1 -1
  215. package/components/containers/wizard/wizard-step/{wizard-step.directive.d.ts → wizard-step.component.d.ts} +12 -6
  216. package/components/containers/wizard/wizard.component.d.ts +64 -18
  217. package/components/data/card/bundles/index.umd.js +92 -135
  218. package/components/data/card/card-actions/card-actions.directive.d.ts +1 -1
  219. package/components/data/card/card-content/card-content.component.d.ts +1 -1
  220. package/components/data/card/card-footer/card-footer.directive.d.ts +1 -1
  221. package/components/data/card/card.component.d.ts +1 -1
  222. package/components/data/card/esm2022/card-actions/card-actions.directive.mjs +3 -2
  223. package/components/data/card/esm2022/card-content/card-content.component.mjs +7 -6
  224. package/components/data/card/esm2022/card-footer/card-footer.directive.mjs +3 -2
  225. package/components/data/card/esm2022/card.component.mjs +39 -38
  226. package/components/data/card/esm2022/public_api.mjs +1 -2
  227. package/components/data/card/fesm2022/index.mjs +49 -92
  228. package/components/data/card/fesm2022/index.mjs.map +1 -1
  229. package/components/data/card/public_api.d.ts +0 -1
  230. package/components/data/form/bundles/index.umd.js +115 -182
  231. package/components/data/form/esm2022/form-action/form-action.directive.mjs +3 -2
  232. package/components/data/form/esm2022/form-field/form-field.directive.mjs +3 -2
  233. package/components/data/form/esm2022/form-widget.directive.mjs +3 -2
  234. package/components/data/form/esm2022/form.component.mjs +101 -104
  235. package/components/data/form/esm2022/form.props.mjs +1 -11
  236. package/components/data/form/esm2022/live-actions/dependson.directive.mjs +3 -2
  237. package/components/data/form/esm2022/live-actions/live-actions.directive.mjs +3 -2
  238. package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +3 -2
  239. package/components/data/form/esm2022/live-form/live-form.directive.mjs +3 -6
  240. package/components/data/form/esm2022/public_api.mjs +1 -2
  241. package/components/data/form/fesm2022/index.mjs +117 -184
  242. package/components/data/form/fesm2022/index.mjs.map +1 -1
  243. package/components/data/form/form-action/form-action.directive.d.ts +1 -1
  244. package/components/data/form/form-field/form-field.directive.d.ts +1 -1
  245. package/components/data/form/form-widget.directive.d.ts +1 -1
  246. package/components/data/form/form.component.d.ts +1 -1
  247. package/components/data/form/live-actions/dependson.directive.d.ts +1 -1
  248. package/components/data/form/live-actions/live-actions.directive.d.ts +1 -1
  249. package/components/data/form/live-filter/live-filter.directive.d.ts +1 -1
  250. package/components/data/form/live-form/live-form.directive.d.ts +1 -1
  251. package/components/data/form/public_api.d.ts +0 -1
  252. package/components/data/list/bundles/index.umd.js +195 -504
  253. package/components/data/list/esm2022/list-item.directive.mjs +4 -3
  254. package/components/data/list/esm2022/list.component.mjs +187 -232
  255. package/components/data/list/esm2022/list.props.mjs +2 -3
  256. package/components/data/list/esm2022/public_api.mjs +1 -2
  257. package/components/data/list/fesm2022/index.mjs +193 -502
  258. package/components/data/list/fesm2022/index.mjs.map +1 -1
  259. package/components/data/list/list-item.directive.d.ts +1 -1
  260. package/components/data/list/list.component.d.ts +1 -1
  261. package/components/data/list/public_api.d.ts +0 -1
  262. package/components/data/live-table/bundles/index.umd.js +9 -33
  263. package/components/data/live-table/esm2022/live-table.component.mjs +7 -6
  264. package/components/data/live-table/esm2022/public_api.mjs +1 -2
  265. package/components/data/live-table/fesm2022/index.mjs +8 -32
  266. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  267. package/components/data/live-table/live-table.component.d.ts +1 -1
  268. package/components/data/live-table/public_api.d.ts +0 -1
  269. package/components/data/pagination/bundles/index.umd.js +80 -110
  270. package/components/data/pagination/esm2022/pagination.component.mjs +80 -76
  271. package/components/data/pagination/esm2022/public_api.mjs +1 -2
  272. package/components/data/pagination/fesm2022/index.mjs +81 -110
  273. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  274. package/components/data/pagination/pagination.component.d.ts +1 -1
  275. package/components/data/pagination/public_api.d.ts +0 -1
  276. package/components/data/table/bundles/index.umd.js +66 -135
  277. package/components/data/table/esm2022/public_api.mjs +1 -2
  278. package/components/data/table/esm2022/table-action/table-action.directive.mjs +3 -2
  279. package/components/data/table/esm2022/table-column/table-column.directive.mjs +3 -2
  280. package/components/data/table/esm2022/table-column-group/table-column-group.directive.mjs +3 -2
  281. package/components/data/table/esm2022/table-cud.directive.mjs +3 -2
  282. package/components/data/table/esm2022/table-filter.directive.mjs +4 -2
  283. package/components/data/table/esm2022/table-row/table-row.directive.mjs +3 -2
  284. package/components/data/table/esm2022/table-row-action/table-row-action.directive.mjs +3 -2
  285. package/components/data/table/esm2022/table.component.mjs +50 -49
  286. package/components/data/table/fesm2022/index.mjs +70 -140
  287. package/components/data/table/fesm2022/index.mjs.map +1 -1
  288. package/components/data/table/public_api.d.ts +0 -1
  289. package/components/data/table/table-action/table-action.directive.d.ts +1 -1
  290. package/components/data/table/table-column/table-column.directive.d.ts +1 -1
  291. package/components/data/table/table-column-group/table-column-group.directive.d.ts +1 -1
  292. package/components/data/table/table-cud.directive.d.ts +1 -1
  293. package/components/data/table/table-filter.directive.d.ts +1 -1
  294. package/components/data/table/table-row/table-row.directive.d.ts +1 -1
  295. package/components/data/table/table-row-action/table-row-action.directive.d.ts +1 -1
  296. package/components/data/table/table.component.d.ts +1 -1
  297. package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
  298. package/components/dialogs/alert-dialog/bundles/index.umd.js +32 -64
  299. package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +10 -10
  300. package/components/dialogs/alert-dialog/esm2022/public_api.mjs +1 -2
  301. package/components/dialogs/alert-dialog/fesm2022/index.mjs +11 -43
  302. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  303. package/components/dialogs/alert-dialog/public_api.d.ts +0 -1
  304. package/components/dialogs/confirm-dialog/bundles/index.umd.js +10 -42
  305. package/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
  306. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -9
  307. package/components/dialogs/confirm-dialog/esm2022/public_api.mjs +1 -2
  308. package/components/dialogs/confirm-dialog/fesm2022/index.mjs +10 -42
  309. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  310. package/components/dialogs/confirm-dialog/public_api.d.ts +0 -1
  311. package/components/dialogs/default/bundles/index.umd.js +76 -136
  312. package/components/dialogs/default/dialog-body/dialog-body.directive.d.ts +1 -1
  313. package/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +1 -1
  314. package/components/dialogs/default/dialog-header/dialog-header.component.d.ts +1 -1
  315. package/components/dialogs/default/esm2022/base-dialog.mjs +3 -3
  316. package/components/dialogs/default/esm2022/dialog-body/dialog-body.directive.mjs +3 -2
  317. package/components/dialogs/default/esm2022/dialog-footer/dialog-footer.directive.mjs +3 -2
  318. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +70 -97
  319. package/components/dialogs/default/esm2022/public_api.mjs +1 -2
  320. package/components/dialogs/default/fesm2022/index.mjs +78 -137
  321. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  322. package/components/dialogs/default/public_api.d.ts +0 -1
  323. package/components/dialogs/design-dialog/bundles/index.umd.js +16 -47
  324. package/components/dialogs/design-dialog/dialog.component.d.ts +1 -1
  325. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +14 -13
  326. package/components/dialogs/design-dialog/esm2022/public_api.mjs +1 -2
  327. package/components/dialogs/design-dialog/fesm2022/index.mjs +14 -45
  328. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  329. package/components/dialogs/design-dialog/public_api.d.ts +0 -1
  330. package/components/dialogs/iframe-dialog/bundles/index.umd.js +20 -57
  331. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +21 -21
  332. package/components/dialogs/iframe-dialog/esm2022/public_api.mjs +1 -2
  333. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +21 -57
  334. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  335. package/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +1 -1
  336. package/components/dialogs/iframe-dialog/public_api.d.ts +0 -1
  337. package/components/dialogs/login-dialog/bundles/index.umd.js +6 -38
  338. package/components/dialogs/login-dialog/esm2022/login-dialog.directive.mjs +3 -2
  339. package/components/dialogs/login-dialog/esm2022/public_api.mjs +1 -2
  340. package/components/dialogs/login-dialog/fesm2022/index.mjs +6 -41
  341. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  342. package/components/dialogs/login-dialog/login-dialog.directive.d.ts +1 -1
  343. package/components/dialogs/login-dialog/public_api.d.ts +0 -1
  344. package/components/dialogs/partial-dialog/bundles/index.umd.js +17 -49
  345. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +16 -15
  346. package/components/dialogs/partial-dialog/esm2022/public_api.mjs +1 -2
  347. package/components/dialogs/partial-dialog/fesm2022/index.mjs +16 -47
  348. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  349. package/components/dialogs/partial-dialog/partial-dialog.component.d.ts +1 -1
  350. package/components/dialogs/partial-dialog/public_api.d.ts +0 -1
  351. package/components/input/calendar/bundles/index.umd.js +19 -46
  352. package/components/input/calendar/calendar.component.d.ts +1 -1
  353. package/components/input/calendar/esm2022/calendar.component.mjs +24 -10
  354. package/components/input/calendar/esm2022/calendar.props.mjs +1 -1
  355. package/components/input/calendar/esm2022/public_api.mjs +1 -2
  356. package/components/input/calendar/fesm2022/index.mjs +26 -48
  357. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  358. package/components/input/calendar/public_api.d.ts +0 -1
  359. package/components/input/chips/bundles/index.umd.js +86 -114
  360. package/components/input/chips/chips.component.d.ts +1 -1
  361. package/components/input/chips/esm2022/chips.component.mjs +28 -27
  362. package/components/input/chips/esm2022/public_api.mjs +1 -2
  363. package/components/input/chips/fesm2022/index.mjs +29 -56
  364. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  365. package/components/input/chips/public_api.d.ts +0 -1
  366. package/components/input/color-picker/bundles/index.umd.js +10 -40
  367. package/components/input/color-picker/color-picker.component.d.ts +1 -1
  368. package/components/input/color-picker/esm2022/color-picker.component.mjs +10 -6
  369. package/components/input/color-picker/esm2022/public_api.mjs +1 -2
  370. package/components/input/color-picker/fesm2022/index.mjs +11 -40
  371. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  372. package/components/input/color-picker/public_api.d.ts +0 -1
  373. package/components/input/currency/bundles/index.umd.js +11 -41
  374. package/components/input/currency/currency.component.d.ts +1 -1
  375. package/components/input/currency/esm2022/currency.component.mjs +8 -6
  376. package/components/input/currency/esm2022/public_api.mjs +1 -2
  377. package/components/input/currency/fesm2022/index.mjs +11 -41
  378. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  379. package/components/input/currency/public_api.d.ts +0 -1
  380. package/components/input/default/bundles/index.umd.js +2183 -2263
  381. package/components/input/default/button/button.component.d.ts +1 -1
  382. package/components/input/default/button-group/button-group.directive.d.ts +1 -1
  383. package/components/input/default/caption-position.directive.d.ts +1 -1
  384. package/components/input/default/checkbox/checkbox.component.d.ts +1 -1
  385. package/components/input/default/checkboxset/checkboxset.component.d.ts +1 -1
  386. package/components/input/default/composite/composite.directive.d.ts +1 -1
  387. package/components/input/default/esm2022/button/button.component.mjs +23 -21
  388. package/components/input/default/esm2022/button-group/button-group.directive.mjs +3 -2
  389. package/components/input/default/esm2022/caption-position.directive.mjs +3 -2
  390. package/components/input/default/esm2022/checkbox/checkbox.component.mjs +9 -6
  391. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +73 -72
  392. package/components/input/default/esm2022/composite/composite.directive.mjs +3 -2
  393. package/components/input/default/esm2022/number/number.component.mjs +9 -6
  394. package/components/input/default/esm2022/public_api.mjs +1 -2
  395. package/components/input/default/esm2022/radioset/radioset.component.mjs +73 -72
  396. package/components/input/default/esm2022/select/select.component.mjs +29 -32
  397. package/components/input/default/esm2022/switch/switch.component.mjs +29 -27
  398. package/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +9 -6
  399. package/components/input/default/esm2022/text/color/input-color.component.mjs +9 -6
  400. package/components/input/default/esm2022/text/email/input-email.component.mjs +9 -6
  401. package/components/input/default/esm2022/text/number/input-number.component.mjs +9 -6
  402. package/components/input/default/esm2022/text/text/input-text.component.mjs +10 -6
  403. package/components/input/default/esm2022/textarea/textarea.component.mjs +14 -11
  404. package/components/input/default/fesm2022/index.mjs +2198 -2277
  405. package/components/input/default/fesm2022/index.mjs.map +1 -1
  406. package/components/input/default/number/number.component.d.ts +1 -1
  407. package/components/input/default/public_api.d.ts +0 -1
  408. package/components/input/default/radioset/radioset.component.d.ts +1 -1
  409. package/components/input/default/select/select.component.d.ts +1 -1
  410. package/components/input/default/switch/switch.component.d.ts +1 -1
  411. package/components/input/default/text/calendar/input-calendar.component.d.ts +1 -1
  412. package/components/input/default/text/color/input-color.component.d.ts +1 -1
  413. package/components/input/default/text/email/input-email.component.d.ts +1 -1
  414. package/components/input/default/text/number/input-number.component.d.ts +1 -1
  415. package/components/input/default/text/text/input-text.component.d.ts +1 -1
  416. package/components/input/default/textarea/textarea.component.d.ts +1 -1
  417. package/components/input/epoch/base-date-time.component.d.ts +0 -1
  418. package/components/input/epoch/bundles/index.umd.js +181 -229
  419. package/components/input/epoch/date/date.component.d.ts +1 -1
  420. package/components/input/epoch/date/imaskUtil.d.ts +2 -2
  421. package/components/input/epoch/date-time/date-time-picker.component.d.ts +6 -6
  422. package/components/input/epoch/date-time/date-time.component.d.ts +1 -1
  423. package/components/input/epoch/esm2022/base-date-time.component.mjs +5 -9
  424. package/components/input/epoch/esm2022/date/date.component.mjs +19 -18
  425. package/components/input/epoch/esm2022/date/imaskUtil.mjs +2 -1
  426. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +75 -62
  427. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +27 -24
  428. package/components/input/epoch/esm2022/picker/picker.component.mjs +33 -28
  429. package/components/input/epoch/esm2022/public_api.mjs +1 -2
  430. package/components/input/epoch/esm2022/time/time.component.mjs +24 -21
  431. package/components/input/epoch/fesm2022/index.mjs +158 -204
  432. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  433. package/components/input/epoch/picker/picker.component.d.ts +2 -2
  434. package/components/input/epoch/public_api.d.ts +0 -1
  435. package/components/input/epoch/time/time.component.d.ts +1 -1
  436. package/components/input/file-upload/bundles/index.umd.js +135 -178
  437. package/components/input/file-upload/esm2022/file-upload.component.mjs +133 -150
  438. package/components/input/file-upload/esm2022/public_api.mjs +1 -2
  439. package/components/input/file-upload/fesm2022/index.mjs +133 -175
  440. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  441. package/components/input/file-upload/file-upload.component.d.ts +1 -2
  442. package/components/input/file-upload/public_api.d.ts +0 -1
  443. package/components/input/rating/bundles/index.umd.js +50 -77
  444. package/components/input/rating/esm2022/public_api.mjs +1 -2
  445. package/components/input/rating/esm2022/rating.component.mjs +23 -20
  446. package/components/input/rating/fesm2022/index.mjs +23 -49
  447. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  448. package/components/input/rating/public_api.d.ts +0 -1
  449. package/components/input/rating/rating.component.d.ts +1 -1
  450. package/components/input/slider/bundles/index.umd.js +35 -63
  451. package/components/input/slider/esm2022/public_api.mjs +1 -2
  452. package/components/input/slider/esm2022/slider.component.mjs +15 -13
  453. package/components/input/slider/fesm2022/index.mjs +15 -42
  454. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  455. package/components/input/slider/public_api.d.ts +0 -1
  456. package/components/input/slider/slider.component.d.ts +1 -1
  457. package/components/navigation/breadcrumb/breadcrumb.component.d.ts +1 -1
  458. package/components/navigation/breadcrumb/bundles/index.umd.js +40 -67
  459. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +23 -21
  460. package/components/navigation/breadcrumb/esm2022/public_api.mjs +1 -2
  461. package/components/navigation/breadcrumb/fesm2022/index.mjs +23 -50
  462. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  463. package/components/navigation/breadcrumb/public_api.d.ts +0 -1
  464. package/components/navigation/menu/bundles/index.umd.js +642 -696
  465. package/components/navigation/menu/esm2022/menu-adapator.component.mjs +1 -1
  466. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +11 -9
  467. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +24 -18
  468. package/components/navigation/menu/esm2022/menu.component.mjs +34 -31
  469. package/components/navigation/menu/esm2022/nav/nav-item/nav-item.directive.mjs +3 -2
  470. package/components/navigation/menu/esm2022/nav/nav.component.mjs +39 -29
  471. package/components/navigation/menu/esm2022/nav/navigation-control.directive.mjs +6 -3
  472. package/components/navigation/menu/esm2022/public_api.mjs +1 -2
  473. package/components/navigation/menu/fesm2022/index.mjs +534 -587
  474. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  475. package/components/navigation/menu/menu-dropdown/menu-dropdown.component.d.ts +1 -1
  476. package/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +1 -1
  477. package/components/navigation/menu/menu.component.d.ts +1 -1
  478. package/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +1 -1
  479. package/components/navigation/menu/nav/nav.component.d.ts +1 -1
  480. package/components/navigation/menu/nav/navigation-control.directive.d.ts +1 -1
  481. package/components/navigation/menu/public_api.d.ts +0 -1
  482. package/components/navigation/navbar/bundles/index.umd.js +20 -44
  483. package/components/navigation/navbar/esm2022/navbar.component.mjs +18 -16
  484. package/components/navigation/navbar/esm2022/public_api.mjs +1 -2
  485. package/components/navigation/navbar/fesm2022/index.mjs +18 -41
  486. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  487. package/components/navigation/navbar/navbar.component.d.ts +1 -1
  488. package/components/navigation/navbar/public_api.d.ts +0 -1
  489. package/components/navigation/popover/bundles/index.umd.js +12 -43
  490. package/components/navigation/popover/esm2022/popover.component.mjs +11 -9
  491. package/components/navigation/popover/esm2022/public_api.mjs +1 -2
  492. package/components/navigation/popover/fesm2022/index.mjs +11 -41
  493. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  494. package/components/navigation/popover/popover.component.d.ts +1 -1
  495. package/components/navigation/popover/public_api.d.ts +0 -1
  496. package/components/page/default/bundles/index.umd.js +96 -138
  497. package/components/page/default/content/content.component.d.ts +1 -1
  498. package/components/page/default/esm2022/content/content.component.mjs +7 -6
  499. package/components/page/default/esm2022/layout.directive.mjs +3 -2
  500. package/components/page/default/esm2022/page-content/page-content.component.mjs +7 -6
  501. package/components/page/default/esm2022/page-content/page-content.props.mjs +2 -3
  502. package/components/page/default/esm2022/page.directive.mjs +3 -2
  503. package/components/page/default/esm2022/public_api.mjs +1 -2
  504. package/components/page/default/esm2022/router-outlet.directive.mjs +3 -2
  505. package/components/page/default/esm2022/spa-page.directive.mjs +3 -2
  506. package/components/page/default/fesm2022/index.mjs +96 -138
  507. package/components/page/default/fesm2022/index.mjs.map +1 -1
  508. package/components/page/default/layout.directive.d.ts +1 -1
  509. package/components/page/default/page-content/page-content.component.d.ts +1 -1
  510. package/components/page/default/page.directive.d.ts +1 -1
  511. package/components/page/default/public_api.d.ts +0 -1
  512. package/components/page/default/router-outlet.directive.d.ts +1 -1
  513. package/components/page/default/spa-page.directive.d.ts +1 -1
  514. package/components/page/footer/bundles/index.umd.js +6 -29
  515. package/components/page/footer/esm2022/footer.directive.mjs +3 -2
  516. package/components/page/footer/esm2022/public_api.mjs +1 -2
  517. package/components/page/footer/fesm2022/index.mjs +5 -28
  518. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  519. package/components/page/footer/footer.directive.d.ts +1 -1
  520. package/components/page/footer/public_api.d.ts +0 -1
  521. package/components/page/header/bundles/index.umd.js +9 -33
  522. package/components/page/header/esm2022/header.component.mjs +7 -6
  523. package/components/page/header/esm2022/public_api.mjs +1 -2
  524. package/components/page/header/fesm2022/index.mjs +8 -32
  525. package/components/page/header/fesm2022/index.mjs.map +1 -1
  526. package/components/page/header/header.component.d.ts +1 -1
  527. package/components/page/header/public_api.d.ts +0 -1
  528. package/components/page/left-panel/bundles/index.umd.js +6 -29
  529. package/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -2
  530. package/components/page/left-panel/esm2022/public_api.mjs +1 -2
  531. package/components/page/left-panel/fesm2022/index.mjs +5 -28
  532. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  533. package/components/page/left-panel/left-panel.directive.d.ts +1 -1
  534. package/components/page/left-panel/public_api.d.ts +0 -1
  535. package/components/page/right-panel/bundles/index.umd.js +6 -29
  536. package/components/page/right-panel/esm2022/public_api.mjs +1 -2
  537. package/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -2
  538. package/components/page/right-panel/fesm2022/index.mjs +5 -28
  539. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  540. package/components/page/right-panel/public_api.d.ts +0 -1
  541. package/components/page/right-panel/right-panel.directive.d.ts +1 -1
  542. package/components/page/top-nav/bundles/index.umd.js +6 -29
  543. package/components/page/top-nav/esm2022/public_api.mjs +1 -2
  544. package/components/page/top-nav/esm2022/top-nav.directive.mjs +3 -2
  545. package/components/page/top-nav/fesm2022/index.mjs +5 -28
  546. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  547. package/components/page/top-nav/public_api.d.ts +0 -1
  548. package/components/page/top-nav/top-nav.directive.d.ts +1 -1
  549. package/components/prefab/bundles/index.umd.js +8 -33
  550. package/components/prefab/esm2022/prefab-container/prefab-container.directive.mjs +3 -2
  551. package/components/prefab/esm2022/prefab.directive.mjs +3 -2
  552. package/components/prefab/esm2022/public_api.mjs +1 -2
  553. package/components/prefab/fesm2022/index.mjs +7 -32
  554. package/components/prefab/fesm2022/index.mjs.map +1 -1
  555. package/components/prefab/prefab-container/prefab-container.directive.d.ts +1 -1
  556. package/components/prefab/prefab.directive.d.ts +1 -1
  557. package/components/prefab/public_api.d.ts +0 -1
  558. package/core/bundles/index.umd.js +30 -85
  559. package/core/esm2022/public_api.mjs +2 -3
  560. package/core/esm2022/utils/build-utils.mjs +9 -5
  561. package/core/esm2022/utils/utils.mjs +11 -40
  562. package/core/fesm2022/index.mjs +31 -81
  563. package/core/fesm2022/index.mjs.map +1 -1
  564. package/core/public_api.d.ts +1 -2
  565. package/core/utils/utils.d.ts +1 -3
  566. package/http/bundles/index.umd.js +9 -34
  567. package/http/esm2022/http.service.mjs +6 -3
  568. package/http/esm2022/public_api.mjs +4 -2
  569. package/http/fesm2022/index.mjs +9 -34
  570. package/http/fesm2022/index.mjs.map +1 -1
  571. package/http/public_api.d.ts +3 -1
  572. package/npm-shrinkwrap.json +2 -2
  573. package/oAuth/bundles/index.umd.js +7 -42
  574. package/oAuth/esm2022/oAuth.utils.mjs +6 -23
  575. package/oAuth/esm2022/public_api.mjs +1 -2
  576. package/oAuth/fesm2022/index.mjs +7 -40
  577. package/oAuth/fesm2022/index.mjs.map +1 -1
  578. package/oAuth/public_api.d.ts +0 -1
  579. package/package-lock.json +2 -2
  580. package/package.json +1 -1
  581. package/runtime/base/bundles/index.umd.js +681 -596
  582. package/runtime/base/components/app-component/app.component.d.ts +1 -1
  583. package/runtime/base/components/app-spinner.component.d.ts +1 -1
  584. package/runtime/base/components/custom-toaster.component.d.ts +1 -1
  585. package/runtime/base/components/empty-component/empty-page.component.d.ts +1 -1
  586. package/runtime/base/components/prefab-preview.component.d.ts +1 -1
  587. package/runtime/base/directives/accessroles.directive.d.ts +1 -1
  588. package/runtime/base/directives/prefab.directive.d.ts +1 -1
  589. package/runtime/base/esm2022/components/app-component/app.component.mjs +42 -49
  590. package/runtime/base/esm2022/components/app-spinner.component.mjs +29 -21
  591. package/runtime/base/esm2022/components/base-page.component.mjs +3 -11
  592. package/runtime/base/esm2022/components/base-spa-page.component.mjs +3 -11
  593. package/runtime/base/esm2022/components/custom-toaster.component.mjs +20 -14
  594. package/runtime/base/esm2022/components/empty-component/empty-page.component.mjs +4 -3
  595. package/runtime/base/esm2022/components/prefab-preview.component.mjs +8 -6
  596. package/runtime/base/esm2022/directives/accessroles.directive.mjs +3 -2
  597. package/runtime/base/esm2022/directives/prefab.directive.mjs +3 -2
  598. package/runtime/base/esm2022/public_api.mjs +1 -1
  599. package/runtime/base/esm2022/resolves/security-config.resolve.mjs +4 -6
  600. package/runtime/base/esm2022/runtime-base.module.mjs +486 -337
  601. package/runtime/base/esm2022/services/app.manager.service.mjs +31 -48
  602. package/runtime/base/esm2022/services/i18n.service.mjs +37 -72
  603. package/runtime/base/fesm2022/index.mjs +689 -605
  604. package/runtime/base/fesm2022/index.mjs.map +1 -1
  605. package/runtime/base/runtime-base.module.d.ts +115 -84
  606. package/runtime/base/services/i18n.service.d.ts +1 -1
  607. package/runtime/dynamic/app/components/page-wrapper.component.d.ts +1 -1
  608. package/runtime/dynamic/bundles/index.umd.js +113 -69
  609. package/runtime/dynamic/esm2022/app/app.module.mjs +151 -105
  610. package/runtime/dynamic/esm2022/app/components/page-wrapper.component.mjs +7 -4
  611. package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +4 -2
  612. package/runtime/dynamic/esm2022/main.mjs +2 -7
  613. package/runtime/dynamic/fesm2022/index.mjs +159 -114
  614. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  615. package/security/bundles/index.umd.js +3 -34
  616. package/security/esm2022/public_api.mjs +1 -2
  617. package/security/esm2022/security.service.mjs +4 -15
  618. package/security/fesm2022/index.mjs +5 -32
  619. package/security/fesm2022/index.mjs.map +1 -1
  620. package/security/public_api.d.ts +0 -1
  621. package/transpiler/bundles/index.umd.js +271 -168
  622. package/transpiler/esm2022/build.mjs +1 -6
  623. package/transpiler/esm2022/imports.mjs +268 -161
  624. package/transpiler/fesm2022/index.mjs +267 -165
  625. package/transpiler/fesm2022/index.mjs.map +1 -1
  626. package/variables/bundles/index.umd.js +14 -198
  627. package/variables/constants/variables.constants.d.ts +0 -2
  628. package/variables/esm2022/constants/variables.constants.mjs +1 -3
  629. package/variables/esm2022/factory/variable-manager.factory.mjs +1 -3
  630. package/variables/esm2022/factory/variable.factory.mjs +1 -5
  631. package/variables/esm2022/manager/action/logout-action.manager.mjs +5 -7
  632. package/variables/esm2022/manager/variable/web-socket-variable.manager.mjs +3 -3
  633. package/variables/esm2022/public_api.mjs +1 -5
  634. package/variables/esm2022/service/metadata-service/metadata.service.mjs +6 -11
  635. package/variables/esm2022/util/variable/service-variable.utils.mjs +1 -4
  636. package/variables/esm2022/util/variable/variables.utils.mjs +4 -19
  637. package/variables/fesm2022/index.mjs +15 -198
  638. package/variables/fesm2022/index.mjs.map +1 -1
  639. package/variables/public_api.d.ts +0 -4
  640. package/components/advanced/carousel/carousel.module.d.ts +0 -11
  641. package/components/advanced/carousel/esm2022/carousel.module.mjs +0 -36
  642. package/components/advanced/custom/custom-widget.module.d.ts +0 -10
  643. package/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
  644. package/components/advanced/login/esm2022/login.module.mjs +0 -28
  645. package/components/advanced/login/login.module.d.ts +0 -9
  646. package/components/advanced/marquee/esm2022/marquee.module.mjs +0 -28
  647. package/components/advanced/marquee/marquee.module.d.ts +0 -9
  648. package/components/base/esm2022/widgets/common/smooth-scroll/smooth-scroll.directive.mjs +0 -221
  649. package/components/base/widgets/common/smooth-scroll/smooth-scroll.directive.d.ts +0 -22
  650. package/components/basic/default/basic.module.d.ts +0 -17
  651. package/components/basic/default/esm2022/basic.module.mjs +0 -60
  652. package/components/basic/progress/esm2022/progress.module.mjs +0 -36
  653. package/components/basic/progress/progress.module.d.ts +0 -11
  654. package/components/basic/rich-text-editor/esm2022/rich-text-editor.module.mjs +0 -28
  655. package/components/basic/rich-text-editor/rich-text-editor.module.d.ts +0 -9
  656. package/components/basic/search/esm2022/search.module.mjs +0 -45
  657. package/components/basic/search/search.module.d.ts +0 -12
  658. package/components/basic/tree/esm2022/tree.module.mjs +0 -28
  659. package/components/basic/tree/tree.module.d.ts +0 -9
  660. package/components/chart/chart.module.d.ts +0 -10
  661. package/components/chart/esm2022/chart.module.mjs +0 -32
  662. package/components/containers/accordion/accordion.module.d.ts +0 -10
  663. package/components/containers/accordion/esm2022/accordion.module.mjs +0 -32
  664. package/components/containers/layout-grid/esm2022/layout-grid.module.mjs +0 -36
  665. package/components/containers/layout-grid/layout-grid.module.d.ts +0 -11
  666. package/components/containers/linear-layout/esm2022/linear-layout.module.mjs +0 -32
  667. package/components/containers/linear-layout/linear-layout.module.d.ts +0 -10
  668. package/components/containers/panel/esm2022/panel.module.mjs +0 -36
  669. package/components/containers/panel/panel.module.d.ts +0 -11
  670. package/components/containers/tabs/esm2022/tabs.module.mjs +0 -32
  671. package/components/containers/tabs/tabs.module.d.ts +0 -10
  672. package/components/containers/tile/esm2022/tile.module.mjs +0 -28
  673. package/components/containers/tile/tile.module.d.ts +0 -9
  674. package/components/containers/wizard/esm2022/wizard-step/wizard-step.directive.mjs +0 -140
  675. package/components/containers/wizard/esm2022/wizard.module.mjs +0 -40
  676. package/components/containers/wizard/wizard.module.d.ts +0 -12
  677. package/components/data/card/card.module.d.ts +0 -15
  678. package/components/data/card/esm2022/card.module.mjs +0 -52
  679. package/components/data/form/esm2022/form.module.mjs +0 -68
  680. package/components/data/form/form.module.d.ts +0 -19
  681. package/components/data/list/esm2022/list.module.mjs +0 -40
  682. package/components/data/list/list.module.d.ts +0 -11
  683. package/components/data/live-table/esm2022/live-table.module.mjs +0 -28
  684. package/components/data/live-table/live-table.module.d.ts +0 -9
  685. package/components/data/pagination/esm2022/pagination.module.mjs +0 -36
  686. package/components/data/pagination/pagination.module.d.ts +0 -11
  687. package/components/data/table/esm2022/table.module.mjs +0 -91
  688. package/components/data/table/table.module.d.ts +0 -24
  689. package/components/dialogs/alert-dialog/alert-dialog.module.d.ts +0 -11
  690. package/components/dialogs/alert-dialog/esm2022/alert-dialog.module.mjs +0 -36
  691. package/components/dialogs/confirm-dialog/confirm-dialog.module.d.ts +0 -11
  692. package/components/dialogs/confirm-dialog/esm2022/confirm-dialog.module.mjs +0 -36
  693. package/components/dialogs/default/dialog.module.d.ts +0 -12
  694. package/components/dialogs/default/esm2022/dialog.module.mjs +0 -40
  695. package/components/dialogs/design-dialog/design-dialog.module.d.ts +0 -11
  696. package/components/dialogs/design-dialog/esm2022/design-dialog.module.mjs +0 -36
  697. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.module.mjs +0 -40
  698. package/components/dialogs/iframe-dialog/iframe-dialog.module.d.ts +0 -12
  699. package/components/dialogs/login-dialog/esm2022/login-dialog.module.mjs +0 -40
  700. package/components/dialogs/login-dialog/login-dialog.module.d.ts +0 -12
  701. package/components/dialogs/partial-dialog/esm2022/partial-dialog.module.mjs +0 -36
  702. package/components/dialogs/partial-dialog/partial-dialog.module.d.ts +0 -11
  703. package/components/input/calendar/calendar.module.d.ts +0 -12
  704. package/components/input/calendar/esm2022/calendar.module.mjs +0 -40
  705. package/components/input/chips/chips.module.d.ts +0 -10
  706. package/components/input/chips/esm2022/chips.module.mjs +0 -32
  707. package/components/input/color-picker/color-picker.module.d.ts +0 -11
  708. package/components/input/color-picker/esm2022/color-picker.module.mjs +0 -36
  709. package/components/input/currency/currency.module.d.ts +0 -11
  710. package/components/input/currency/esm2022/currency.module.mjs +0 -36
  711. package/components/input/default/esm2022/input.module.mjs +0 -96
  712. package/components/input/default/input.module.d.ts +0 -26
  713. package/components/input/epoch/epoch.module.d.ts +0 -18
  714. package/components/input/epoch/esm2022/epoch.module.mjs +0 -70
  715. package/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
  716. package/components/input/file-upload/file-upload.module.d.ts +0 -9
  717. package/components/input/rating/esm2022/rating.module.mjs +0 -32
  718. package/components/input/rating/rating.module.d.ts +0 -10
  719. package/components/input/slider/esm2022/slider.module.mjs +0 -32
  720. package/components/input/slider/slider.module.d.ts +0 -10
  721. package/components/navigation/breadcrumb/breadcrumb.module.d.ts +0 -10
  722. package/components/navigation/breadcrumb/esm2022/breadcrumb.module.mjs +0 -32
  723. package/components/navigation/menu/esm2022/menu.module.mjs +0 -71
  724. package/components/navigation/menu/menu.module.d.ts +0 -17
  725. package/components/navigation/navbar/esm2022/navbar.module.mjs +0 -28
  726. package/components/navigation/navbar/navbar.module.d.ts +0 -9
  727. package/components/navigation/popover/esm2022/popover.module.mjs +0 -36
  728. package/components/navigation/popover/popover.module.d.ts +0 -11
  729. package/components/page/default/esm2022/page.module.mjs +0 -55
  730. package/components/page/default/page.module.d.ts +0 -14
  731. package/components/page/footer/esm2022/footer.module.mjs +0 -28
  732. package/components/page/footer/footer.module.d.ts +0 -9
  733. package/components/page/header/esm2022/header.module.mjs +0 -28
  734. package/components/page/header/header.module.d.ts +0 -9
  735. package/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
  736. package/components/page/left-panel/left-panel.module.d.ts +0 -9
  737. package/components/page/right-panel/esm2022/right-panel.module.mjs +0 -28
  738. package/components/page/right-panel/right-panel.module.d.ts +0 -9
  739. package/components/page/top-nav/esm2022/top-nav.module.mjs +0 -28
  740. package/components/page/top-nav/top-nav.module.d.ts +0 -9
  741. package/components/prefab/esm2022/prefab.module.mjs +0 -32
  742. package/components/prefab/prefab.module.d.ts +0 -10
  743. package/core/core.module.d.ts +0 -9
  744. package/core/esm2022/core.module.mjs +0 -27
  745. package/http/esm2022/http-service.module.mjs +0 -36
  746. package/http/http-service.module.d.ts +0 -14
  747. package/locales/fullcalendar/af.js +0 -27
  748. package/locales/fullcalendar/ar-dz.js +0 -28
  749. package/locales/fullcalendar/ar-kw.js +0 -28
  750. package/locales/fullcalendar/ar-ly.js +0 -28
  751. package/locales/fullcalendar/ar-ma.js +0 -28
  752. package/locales/fullcalendar/ar-sa.js +0 -28
  753. package/locales/fullcalendar/ar-tn.js +0 -28
  754. package/locales/fullcalendar/ar.js +0 -28
  755. package/locales/fullcalendar/az.js +0 -29
  756. package/locales/fullcalendar/bg.js +0 -28
  757. package/locales/fullcalendar/bs.js +0 -29
  758. package/locales/fullcalendar/ca.js +0 -27
  759. package/locales/fullcalendar/cs.js +0 -29
  760. package/locales/fullcalendar/da.js +0 -27
  761. package/locales/fullcalendar/de.js +0 -30
  762. package/locales/fullcalendar/el.js +0 -27
  763. package/locales/fullcalendar/en-au.js +0 -14
  764. package/locales/fullcalendar/en-gb.js +0 -14
  765. package/locales/fullcalendar/en-nz.js +0 -14
  766. package/locales/fullcalendar/es-us.js +0 -27
  767. package/locales/fullcalendar/es.js +0 -27
  768. package/locales/fullcalendar/et.js +0 -29
  769. package/locales/fullcalendar/eu.js +0 -27
  770. package/locales/fullcalendar/fa.js +0 -30
  771. package/locales/fullcalendar/fi.js +0 -27
  772. package/locales/fullcalendar/fr-ca.js +0 -24
  773. package/locales/fullcalendar/fr-ch.js +0 -28
  774. package/locales/fullcalendar/fr.js +0 -28
  775. package/locales/fullcalendar/gl.js +0 -27
  776. package/locales/fullcalendar/he.js +0 -24
  777. package/locales/fullcalendar/hi.js +0 -29
  778. package/locales/fullcalendar/hr.js +0 -29
  779. package/locales/fullcalendar/hu.js +0 -27
  780. package/locales/fullcalendar/id.js +0 -27
  781. package/locales/fullcalendar/is.js +0 -27
  782. package/locales/fullcalendar/it.js +0 -29
  783. package/locales/fullcalendar/ja.js +0 -25
  784. package/locales/fullcalendar/ka.js +0 -29
  785. package/locales/fullcalendar/kk.js +0 -29
  786. package/locales/fullcalendar/ko.js +0 -23
  787. package/locales/fullcalendar/lb.js +0 -27
  788. package/locales/fullcalendar/lt.js +0 -27
  789. package/locales/fullcalendar/lv.js +0 -29
  790. package/locales/fullcalendar/mk.js +0 -25
  791. package/locales/fullcalendar/ms.js +0 -29
  792. package/locales/fullcalendar/nb.js +0 -27
  793. package/locales/fullcalendar/ne.js +0 -27
  794. package/locales/fullcalendar/nl.js +0 -27
  795. package/locales/fullcalendar/nn.js +0 -27
  796. package/locales/fullcalendar/pl.js +0 -27
  797. package/locales/fullcalendar/pt-br.js +0 -25
  798. package/locales/fullcalendar/pt.js +0 -27
  799. package/locales/fullcalendar/ro.js +0 -29
  800. package/locales/fullcalendar/ru.js +0 -29
  801. package/locales/fullcalendar/sk.js +0 -29
  802. package/locales/fullcalendar/sl.js +0 -27
  803. package/locales/fullcalendar/sq.js +0 -29
  804. package/locales/fullcalendar/sr-cyrl.js +0 -29
  805. package/locales/fullcalendar/sr.js +0 -29
  806. package/locales/fullcalendar/sv.js +0 -27
  807. package/locales/fullcalendar/th.js +0 -30
  808. package/locales/fullcalendar/tr.js +0 -27
  809. package/locales/fullcalendar/ug.js +0 -17
  810. package/locales/fullcalendar/uk.js +0 -29
  811. package/locales/fullcalendar/uz.js +0 -21
  812. package/locales/fullcalendar/vi.js +0 -29
  813. package/locales/fullcalendar/zh-cn.js +0 -30
  814. package/locales/fullcalendar/zh-tw.js +0 -23
  815. package/mobile/components/basic/default/.npmignore +0 -2
  816. package/mobile/components/basic/default/anchor/anchor.directive.d.ts +0 -8
  817. package/mobile/components/basic/default/app-update/app-update.component.d.ts +0 -26
  818. package/mobile/components/basic/default/basic.module.d.ts +0 -15
  819. package/mobile/components/basic/default/bundles/index.umd.js +0 -980
  820. package/mobile/components/basic/default/esm2022/anchor/anchor.directive.mjs +0 -44
  821. package/mobile/components/basic/default/esm2022/app-update/app-update.component.mjs +0 -116
  822. package/mobile/components/basic/default/esm2022/basic.module.mjs +0 -52
  823. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +0 -236
  824. package/mobile/components/basic/default/esm2022/file-browser/file-selector.service.mjs +0 -85
  825. package/mobile/components/basic/default/esm2022/image-cache/image-cache.directive.mjs +0 -61
  826. package/mobile/components/basic/default/esm2022/index.mjs +0 -5
  827. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +0 -183
  828. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.props.mjs +0 -5
  829. package/mobile/components/basic/default/esm2022/process-manager/process-management.service.mjs +0 -47
  830. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +0 -175
  831. package/mobile/components/basic/default/esm2022/public_api.mjs +0 -10
  832. package/mobile/components/basic/default/fesm2022/index.mjs +0 -958
  833. package/mobile/components/basic/default/fesm2022/index.mjs.map +0 -1
  834. package/mobile/components/basic/default/file-browser/file-browser.component.d.ts +0 -39
  835. package/mobile/components/basic/default/file-browser/file-selector.service.d.ts +0 -27
  836. package/mobile/components/basic/default/image-cache/image-cache.directive.d.ts +0 -18
  837. package/mobile/components/basic/default/index.d.ts +0 -5
  838. package/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +0 -28
  839. package/mobile/components/basic/default/network-info-toaster/network-info-toaster.props.d.ts +0 -1
  840. package/mobile/components/basic/default/package.json +0 -23
  841. package/mobile/components/basic/default/process-manager/process-management.service.d.ts +0 -36
  842. package/mobile/components/basic/default/process-manager/process-manager.component.d.ts +0 -33
  843. package/mobile/components/basic/default/public_api.d.ts +0 -9
  844. package/mobile/components/basic/search/.npmignore +0 -2
  845. package/mobile/components/basic/search/bundles/index.umd.js +0 -66
  846. package/mobile/components/basic/search/esm2022/index.mjs +0 -5
  847. package/mobile/components/basic/search/esm2022/public_api.mjs +0 -3
  848. package/mobile/components/basic/search/esm2022/search.directive.mjs +0 -17
  849. package/mobile/components/basic/search/esm2022/search.module.mjs +0 -28
  850. package/mobile/components/basic/search/fesm2022/index.mjs +0 -49
  851. package/mobile/components/basic/search/fesm2022/index.mjs.map +0 -1
  852. package/mobile/components/basic/search/index.d.ts +0 -5
  853. package/mobile/components/basic/search/package.json +0 -23
  854. package/mobile/components/basic/search/public_api.d.ts +0 -2
  855. package/mobile/components/basic/search/search.directive.d.ts +0 -7
  856. package/mobile/components/basic/search/search.module.d.ts +0 -9
  857. package/mobile/components/containers/segmented-control/.npmignore +0 -2
  858. package/mobile/components/containers/segmented-control/bundles/index.umd.js +0 -281
  859. package/mobile/components/containers/segmented-control/esm2022/index.mjs +0 -5
  860. package/mobile/components/containers/segmented-control/esm2022/public_api.mjs +0 -4
  861. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +0 -70
  862. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.props.mjs +0 -14
  863. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +0 -147
  864. package/mobile/components/containers/segmented-control/esm2022/segmented-control.module.mjs +0 -32
  865. package/mobile/components/containers/segmented-control/esm2022/segmented-control.props.mjs +0 -9
  866. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +0 -264
  867. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +0 -1
  868. package/mobile/components/containers/segmented-control/index.d.ts +0 -5
  869. package/mobile/components/containers/segmented-control/package.json +0 -23
  870. package/mobile/components/containers/segmented-control/public_api.d.ts +0 -3
  871. package/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +0 -18
  872. package/mobile/components/containers/segmented-control/segment-content/segment-content.props.d.ts +0 -1
  873. package/mobile/components/containers/segmented-control/segmented-control.component.d.ts +0 -20
  874. package/mobile/components/containers/segmented-control/segmented-control.module.d.ts +0 -10
  875. package/mobile/components/containers/segmented-control/segmented-control.props.d.ts +0 -1
  876. package/mobile/components/data/media-list/.npmignore +0 -2
  877. package/mobile/components/data/media-list/bundles/index.umd.js +0 -310
  878. package/mobile/components/data/media-list/esm2022/index.mjs +0 -5
  879. package/mobile/components/data/media-list/esm2022/media-list-item/media-list-item.directive.mjs +0 -24
  880. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +0 -213
  881. package/mobile/components/data/media-list/esm2022/media-list.module.mjs +0 -48
  882. package/mobile/components/data/media-list/esm2022/media-list.props.mjs +0 -16
  883. package/mobile/components/data/media-list/esm2022/public_api.mjs +0 -4
  884. package/mobile/components/data/media-list/fesm2022/index.mjs +0 -297
  885. package/mobile/components/data/media-list/fesm2022/index.mjs.map +0 -1
  886. package/mobile/components/data/media-list/index.d.ts +0 -5
  887. package/mobile/components/data/media-list/media-list-item/media-list-item.directive.d.ts +0 -8
  888. package/mobile/components/data/media-list/media-list.component.d.ts +0 -33
  889. package/mobile/components/data/media-list/media-list.module.d.ts +0 -14
  890. package/mobile/components/data/media-list/media-list.props.d.ts +0 -1
  891. package/mobile/components/data/media-list/package.json +0 -23
  892. package/mobile/components/data/media-list/public_api.d.ts +0 -3
  893. package/mobile/components/device/barcode-scanner/.npmignore +0 -2
  894. package/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +0 -18
  895. package/mobile/components/device/barcode-scanner/barcode-scanner.module.d.ts +0 -9
  896. package/mobile/components/device/barcode-scanner/barcode-scanner.props.d.ts +0 -1
  897. package/mobile/components/device/barcode-scanner/bundles/index.umd.js +0 -129
  898. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.component.mjs +0 -69
  899. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.module.mjs +0 -28
  900. package/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +0 -15
  901. package/mobile/components/device/barcode-scanner/esm2022/index.mjs +0 -5
  902. package/mobile/components/device/barcode-scanner/esm2022/public_api.mjs +0 -3
  903. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs +0 -112
  904. package/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +0 -1
  905. package/mobile/components/device/barcode-scanner/index.d.ts +0 -5
  906. package/mobile/components/device/barcode-scanner/package.json +0 -23
  907. package/mobile/components/device/barcode-scanner/public_api.d.ts +0 -2
  908. package/mobile/components/device/camera/.npmignore +0 -2
  909. package/mobile/components/device/camera/bundles/index.umd.js +0 -170
  910. package/mobile/components/device/camera/camera.component.d.ts +0 -37
  911. package/mobile/components/device/camera/camera.module.d.ts +0 -9
  912. package/mobile/components/device/camera/camera.props.d.ts +0 -1
  913. package/mobile/components/device/camera/esm2022/camera.component.mjs +0 -101
  914. package/mobile/components/device/camera/esm2022/camera.module.mjs +0 -28
  915. package/mobile/components/device/camera/esm2022/camera.props.mjs +0 -25
  916. package/mobile/components/device/camera/esm2022/index.mjs +0 -5
  917. package/mobile/components/device/camera/esm2022/public_api.mjs +0 -3
  918. package/mobile/components/device/camera/fesm2022/index.mjs +0 -153
  919. package/mobile/components/device/camera/fesm2022/index.mjs.map +0 -1
  920. package/mobile/components/device/camera/index.d.ts +0 -5
  921. package/mobile/components/device/camera/package.json +0 -23
  922. package/mobile/components/device/camera/public_api.d.ts +0 -2
  923. package/mobile/components/input/file-upload/.npmignore +0 -2
  924. package/mobile/components/input/file-upload/bundles/index.umd.js +0 -88
  925. package/mobile/components/input/file-upload/esm2022/file-upload.directive.mjs +0 -41
  926. package/mobile/components/input/file-upload/esm2022/file-upload.module.mjs +0 -28
  927. package/mobile/components/input/file-upload/esm2022/index.mjs +0 -5
  928. package/mobile/components/input/file-upload/esm2022/public_api.mjs +0 -3
  929. package/mobile/components/input/file-upload/fesm2022/index.mjs +0 -71
  930. package/mobile/components/input/file-upload/fesm2022/index.mjs.map +0 -1
  931. package/mobile/components/input/file-upload/file-upload.directive.d.ts +0 -11
  932. package/mobile/components/input/file-upload/file-upload.module.d.ts +0 -9
  933. package/mobile/components/input/file-upload/index.d.ts +0 -5
  934. package/mobile/components/input/file-upload/package.json +0 -23
  935. package/mobile/components/input/file-upload/public_api.d.ts +0 -2
  936. package/mobile/components/page/default/.npmignore +0 -2
  937. package/mobile/components/page/default/bundles/index.umd.js +0 -127
  938. package/mobile/components/page/default/esm2022/index.mjs +0 -5
  939. package/mobile/components/page/default/esm2022/page-content-loader/page-content-loader.component.mjs +0 -24
  940. package/mobile/components/page/default/esm2022/page.directive.mjs +0 -58
  941. package/mobile/components/page/default/esm2022/page.module.mjs +0 -32
  942. package/mobile/components/page/default/esm2022/public_api.mjs +0 -4
  943. package/mobile/components/page/default/fesm2022/index.mjs +0 -110
  944. package/mobile/components/page/default/fesm2022/index.mjs.map +0 -1
  945. package/mobile/components/page/default/index.d.ts +0 -5
  946. package/mobile/components/page/default/package.json +0 -23
  947. package/mobile/components/page/default/page-content-loader/page-content-loader.component.d.ts +0 -7
  948. package/mobile/components/page/default/page.directive.d.ts +0 -19
  949. package/mobile/components/page/default/page.module.d.ts +0 -10
  950. package/mobile/components/page/default/public_api.d.ts +0 -3
  951. package/mobile/components/page/left-panel/.npmignore +0 -2
  952. package/mobile/components/page/left-panel/bundles/index.umd.js +0 -91
  953. package/mobile/components/page/left-panel/esm2022/index.mjs +0 -5
  954. package/mobile/components/page/left-panel/esm2022/left-panel.directive.mjs +0 -45
  955. package/mobile/components/page/left-panel/esm2022/left-panel.module.mjs +0 -28
  956. package/mobile/components/page/left-panel/esm2022/public_api.mjs +0 -3
  957. package/mobile/components/page/left-panel/fesm2022/index.mjs +0 -74
  958. package/mobile/components/page/left-panel/fesm2022/index.mjs.map +0 -1
  959. package/mobile/components/page/left-panel/index.d.ts +0 -5
  960. package/mobile/components/page/left-panel/left-panel.directive.d.ts +0 -16
  961. package/mobile/components/page/left-panel/left-panel.module.d.ts +0 -9
  962. package/mobile/components/page/left-panel/package.json +0 -23
  963. package/mobile/components/page/left-panel/public_api.d.ts +0 -2
  964. package/mobile/components/page/mobile-navbar/.npmignore +0 -2
  965. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +0 -332
  966. package/mobile/components/page/mobile-navbar/esm2022/index.mjs +0 -5
  967. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +0 -247
  968. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.module.mjs +0 -32
  969. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.props.mjs +0 -41
  970. package/mobile/components/page/mobile-navbar/esm2022/public_api.mjs +0 -3
  971. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +0 -317
  972. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +0 -1
  973. package/mobile/components/page/mobile-navbar/index.d.ts +0 -5
  974. package/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +0 -50
  975. package/mobile/components/page/mobile-navbar/mobile-navbar.module.d.ts +0 -10
  976. package/mobile/components/page/mobile-navbar/mobile-navbar.props.d.ts +0 -2
  977. package/mobile/components/page/mobile-navbar/package.json +0 -23
  978. package/mobile/components/page/mobile-navbar/public_api.d.ts +0 -2
  979. package/mobile/components/page/tab-bar/.npmignore +0 -2
  980. package/mobile/components/page/tab-bar/bundles/index.umd.js +0 -279
  981. package/mobile/components/page/tab-bar/esm2022/index.mjs +0 -5
  982. package/mobile/components/page/tab-bar/esm2022/public_api.mjs +0 -3
  983. package/mobile/components/page/tab-bar/esm2022/tab-bar.module.mjs +0 -28
  984. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +0 -219
  985. package/mobile/components/page/tab-bar/esm2022/tabbar.props.mjs +0 -15
  986. package/mobile/components/page/tab-bar/fesm2022/index.mjs +0 -262
  987. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +0 -1
  988. package/mobile/components/page/tab-bar/index.d.ts +0 -5
  989. package/mobile/components/page/tab-bar/package.json +0 -23
  990. package/mobile/components/page/tab-bar/public_api.d.ts +0 -2
  991. package/mobile/components/page/tab-bar/tab-bar.module.d.ts +0 -9
  992. package/mobile/components/page/tab-bar/tabbar.component.d.ts +0 -40
  993. package/mobile/components/page/tab-bar/tabbar.props.d.ts +0 -1
  994. package/mobile/core/.npmignore +0 -2
  995. package/mobile/core/bundles/index.umd.js +0 -1658
  996. package/mobile/core/core.module.d.ts +0 -15
  997. package/mobile/core/esm2022/core.module.mjs +0 -79
  998. package/mobile/core/esm2022/index.mjs +0 -5
  999. package/mobile/core/esm2022/native.xhr.mjs +0 -340
  1000. package/mobile/core/esm2022/public_api.mjs +0 -12
  1001. package/mobile/core/esm2022/services/device-file-cache.service.mjs +0 -92
  1002. package/mobile/core/esm2022/services/device-file-download.service.mjs +0 -154
  1003. package/mobile/core/esm2022/services/device-file-opener.service.mjs +0 -112
  1004. package/mobile/core/esm2022/services/device-file-upload.service.mjs +0 -91
  1005. package/mobile/core/esm2022/services/device-file.service.mjs +0 -237
  1006. package/mobile/core/esm2022/services/device-start-up-service.mjs +0 -2
  1007. package/mobile/core/esm2022/services/device.service.mjs +0 -150
  1008. package/mobile/core/esm2022/services/ext-app-message.service.mjs +0 -114
  1009. package/mobile/core/esm2022/services/network.service.mjs +0 -358
  1010. package/mobile/core/fesm2022/index.mjs +0 -1660
  1011. package/mobile/core/fesm2022/index.mjs.map +0 -1
  1012. package/mobile/core/index.d.ts +0 -5
  1013. package/mobile/core/native.xhr.d.ts +0 -36
  1014. package/mobile/core/package.json +0 -28
  1015. package/mobile/core/public_api.d.ts +0 -11
  1016. package/mobile/core/services/device-file-cache.service.d.ts +0 -24
  1017. package/mobile/core/services/device-file-download.service.d.ts +0 -36
  1018. package/mobile/core/services/device-file-opener.service.d.ts +0 -25
  1019. package/mobile/core/services/device-file-upload.service.d.ts +0 -27
  1020. package/mobile/core/services/device-file.service.d.ts +0 -45
  1021. package/mobile/core/services/device-start-up-service.d.ts +0 -4
  1022. package/mobile/core/services/device.service.d.ts +0 -52
  1023. package/mobile/core/services/ext-app-message.service.d.ts +0 -24
  1024. package/mobile/core/services/network.service.d.ts +0 -118
  1025. package/mobile/offline/.npmignore +0 -2
  1026. package/mobile/offline/bundles/index.umd.js +0 -3512
  1027. package/mobile/offline/esm2022/index.mjs +0 -5
  1028. package/mobile/offline/esm2022/models/config.mjs +0 -64
  1029. package/mobile/offline/esm2022/models/local-db-store.mjs +0 -412
  1030. package/mobile/offline/esm2022/offline.module.mjs +0 -100
  1031. package/mobile/offline/esm2022/public_api.mjs +0 -7
  1032. package/mobile/offline/esm2022/services/change-log.service.mjs +0 -332
  1033. package/mobile/offline/esm2022/services/local-db-data-pull.service.mjs +0 -525
  1034. package/mobile/offline/esm2022/services/local-db-management.service.mjs +0 -855
  1035. package/mobile/offline/esm2022/services/local-db.service.mjs +0 -193
  1036. package/mobile/offline/esm2022/services/local-key-value.service.mjs +0 -87
  1037. package/mobile/offline/esm2022/services/push.service.mjs +0 -49
  1038. package/mobile/offline/esm2022/services/workers/error-blocker.mjs +0 -115
  1039. package/mobile/offline/esm2022/services/workers/file-handler.mjs +0 -162
  1040. package/mobile/offline/esm2022/services/workers/id-resolver.mjs +0 -154
  1041. package/mobile/offline/esm2022/services/workers/multi-part-param-transformer.mjs +0 -63
  1042. package/mobile/offline/esm2022/utils/file-upload.utils.mjs +0 -59
  1043. package/mobile/offline/esm2022/utils/live-variable.utils.mjs +0 -232
  1044. package/mobile/offline/esm2022/utils/query-executor.utils.mjs +0 -82
  1045. package/mobile/offline/esm2022/utils/security.utils.mjs +0 -119
  1046. package/mobile/offline/esm2022/utils/utils.mjs +0 -8
  1047. package/mobile/offline/fesm2022/index.mjs +0 -3529
  1048. package/mobile/offline/fesm2022/index.mjs.map +0 -1
  1049. package/mobile/offline/index.d.ts +0 -5
  1050. package/mobile/offline/models/config.d.ts +0 -80
  1051. package/mobile/offline/models/local-db-store.d.ts +0 -119
  1052. package/mobile/offline/offline.module.d.ts +0 -17
  1053. package/mobile/offline/package.json +0 -28
  1054. package/mobile/offline/public_api.d.ts +0 -6
  1055. package/mobile/offline/services/change-log.service.d.ts +0 -112
  1056. package/mobile/offline/services/local-db-data-pull.service.d.ts +0 -139
  1057. package/mobile/offline/services/local-db-management.service.d.ts +0 -179
  1058. package/mobile/offline/services/local-db.service.d.ts +0 -83
  1059. package/mobile/offline/services/local-key-value.service.d.ts +0 -38
  1060. package/mobile/offline/services/push.service.d.ts +0 -11
  1061. package/mobile/offline/services/workers/error-blocker.d.ts +0 -26
  1062. package/mobile/offline/services/workers/file-handler.d.ts +0 -56
  1063. package/mobile/offline/services/workers/id-resolver.d.ts +0 -26
  1064. package/mobile/offline/services/workers/multi-part-param-transformer.d.ts +0 -11
  1065. package/mobile/offline/utils/file-upload.utils.d.ts +0 -14
  1066. package/mobile/offline/utils/live-variable.utils.d.ts +0 -24
  1067. package/mobile/offline/utils/query-executor.utils.d.ts +0 -15
  1068. package/mobile/offline/utils/security.utils.d.ts +0 -19
  1069. package/mobile/offline/utils/utils.d.ts +0 -2
  1070. package/mobile/placeholder/runtime/.npmignore +0 -2
  1071. package/mobile/placeholder/runtime/bundles/index.umd.js +0 -70
  1072. package/mobile/placeholder/runtime/components/app-ext.component.d.ts +0 -5
  1073. package/mobile/placeholder/runtime/esm2022/components/app-ext.component.mjs +0 -19
  1074. package/mobile/placeholder/runtime/esm2022/index.mjs +0 -5
  1075. package/mobile/placeholder/runtime/esm2022/mobile-runtime.module.mjs +0 -27
  1076. package/mobile/placeholder/runtime/esm2022/public_api.mjs +0 -3
  1077. package/mobile/placeholder/runtime/fesm2022/index.mjs +0 -50
  1078. package/mobile/placeholder/runtime/fesm2022/index.mjs.map +0 -1
  1079. package/mobile/placeholder/runtime/index.d.ts +0 -5
  1080. package/mobile/placeholder/runtime/mobile-runtime.module.d.ts +0 -9
  1081. package/mobile/placeholder/runtime/package.json +0 -27
  1082. package/mobile/placeholder/runtime/public_api.d.ts +0 -2
  1083. package/mobile/placeholder/runtime-dynamic/.npmignore +0 -2
  1084. package/mobile/placeholder/runtime-dynamic/bundles/index.umd.js +0 -40
  1085. package/mobile/placeholder/runtime-dynamic/esm2022/index.mjs +0 -5
  1086. package/mobile/placeholder/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -13
  1087. package/mobile/placeholder/runtime-dynamic/esm2022/public_api.mjs +0 -2
  1088. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs +0 -20
  1089. package/mobile/placeholder/runtime-dynamic/fesm2022/index.mjs.map +0 -1
  1090. package/mobile/placeholder/runtime-dynamic/index.d.ts +0 -5
  1091. package/mobile/placeholder/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -7
  1092. package/mobile/placeholder/runtime-dynamic/package.json +0 -23
  1093. package/mobile/placeholder/runtime-dynamic/public_api.d.ts +0 -1
  1094. package/mobile/runtime/.npmignore +0 -2
  1095. package/mobile/runtime/bundles/index.umd.js +0 -732
  1096. package/mobile/runtime/components/app-ext.component.d.ts +0 -14
  1097. package/mobile/runtime/esm2022/components/app-ext.component.mjs +0 -59
  1098. package/mobile/runtime/esm2022/index.mjs +0 -5
  1099. package/mobile/runtime/esm2022/mobile-runtime.module.mjs +0 -351
  1100. package/mobile/runtime/esm2022/public_api.mjs +0 -6
  1101. package/mobile/runtime/esm2022/services/cookie.service.mjs +0 -135
  1102. package/mobile/runtime/esm2022/services/http-interceptor.service.mjs +0 -147
  1103. package/mobile/runtime/esm2022/services/webprocess.service.mjs +0 -76
  1104. package/mobile/runtime/fesm2022/index.mjs +0 -742
  1105. package/mobile/runtime/fesm2022/index.mjs.map +0 -1
  1106. package/mobile/runtime/index.d.ts +0 -5
  1107. package/mobile/runtime/mobile-runtime.module.d.ts +0 -51
  1108. package/mobile/runtime/package.json +0 -28
  1109. package/mobile/runtime/public_api.d.ts +0 -5
  1110. package/mobile/runtime/services/cookie.service.d.ts +0 -31
  1111. package/mobile/runtime/services/http-interceptor.service.d.ts +0 -19
  1112. package/mobile/runtime/services/webprocess.service.d.ts +0 -15
  1113. package/mobile/runtime-dynamic/.npmignore +0 -2
  1114. package/mobile/runtime-dynamic/bundles/index.umd.js +0 -461
  1115. package/mobile/runtime-dynamic/esm2022/index.mjs +0 -5
  1116. package/mobile/runtime-dynamic/esm2022/mobile-runtime-dynamic.module.mjs +0 -48
  1117. package/mobile/runtime-dynamic/esm2022/public_api.mjs +0 -2
  1118. package/mobile/runtime-dynamic/esm2022/services/live-sync.service.mjs +0 -404
  1119. package/mobile/runtime-dynamic/fesm2022/index.mjs +0 -454
  1120. package/mobile/runtime-dynamic/fesm2022/index.mjs.map +0 -1
  1121. package/mobile/runtime-dynamic/index.d.ts +0 -5
  1122. package/mobile/runtime-dynamic/mobile-runtime-dynamic.module.d.ts +0 -8
  1123. package/mobile/runtime-dynamic/package.json +0 -23
  1124. package/mobile/runtime-dynamic/public_api.d.ts +0 -1
  1125. package/mobile/runtime-dynamic/services/live-sync.service.d.ts +0 -38
  1126. package/mobile/variables/.npmignore +0 -2
  1127. package/mobile/variables/bundles/index.umd.js +0 -1166
  1128. package/mobile/variables/esm2022/index.mjs +0 -5
  1129. package/mobile/variables/esm2022/public_api.mjs +0 -10
  1130. package/mobile/variables/esm2022/services/calendar-service.mjs +0 -77
  1131. package/mobile/variables/esm2022/services/camera-service.mjs +0 -70
  1132. package/mobile/variables/esm2022/services/contacts-service.mjs +0 -74
  1133. package/mobile/variables/esm2022/services/datasync-service.mjs +0 -363
  1134. package/mobile/variables/esm2022/services/device-service/device-service.mjs +0 -161
  1135. package/mobile/variables/esm2022/services/device-service/location-service.mjs +0 -200
  1136. package/mobile/variables/esm2022/services/file-service.mjs +0 -87
  1137. package/mobile/variables/esm2022/services/scan-service.mjs +0 -60
  1138. package/mobile/variables/esm2022/variables.module.mjs +0 -78
  1139. package/mobile/variables/fesm2022/index.mjs +0 -1143
  1140. package/mobile/variables/fesm2022/index.mjs.map +0 -1
  1141. package/mobile/variables/index.d.ts +0 -5
  1142. package/mobile/variables/package.json +0 -28
  1143. package/mobile/variables/public_api.d.ts +0 -9
  1144. package/mobile/variables/services/calendar-service.d.ts +0 -10
  1145. package/mobile/variables/services/camera-service.d.ts +0 -8
  1146. package/mobile/variables/services/contacts-service.d.ts +0 -6
  1147. package/mobile/variables/services/datasync-service.d.ts +0 -11
  1148. package/mobile/variables/services/device-service/device-service.d.ts +0 -17
  1149. package/mobile/variables/services/device-service/location-service.d.ts +0 -63
  1150. package/mobile/variables/services/file-service.d.ts +0 -7
  1151. package/mobile/variables/services/scan-service.d.ts +0 -7
  1152. package/mobile/variables/variables.module.d.ts +0 -25
  1153. package/oAuth/esm2022/oAuth.module.mjs +0 -19
  1154. package/oAuth/oAuth.module.d.ts +0 -8
  1155. package/scripts/fullcalendar/main.min.js +0 -6
  1156. package/security/esm2022/security.module.mjs +0 -19
  1157. package/security/security.module.d.ts +0 -8
  1158. package/variables/esm2022/manager/variable/device-variable-manager.mjs +0 -48
  1159. package/variables/esm2022/manager/variable/device-variable-operation.mjs +0 -2
  1160. package/variables/esm2022/manager/variable/device-variable-service.mjs +0 -45
  1161. package/variables/esm2022/model/variable/device-variable.mjs +0 -19
  1162. package/variables/esm2022/variables.module.mjs +0 -52
  1163. package/variables/manager/variable/device-variable-manager.d.ts +0 -26
  1164. package/variables/manager/variable/device-variable-operation.d.ts +0 -37
  1165. package/variables/manager/variable/device-variable-service.d.ts +0 -6
  1166. package/variables/model/variable/device-variable.d.ts +0 -6
  1167. package/variables/variables.module.d.ts +0 -16
@@ -1,21 +1,122 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, Attribute, Inject, Optional, Self, HostListener, Input, Directive, ContentChild, NgModule, ViewChildren } from '@angular/core';
3
1
  import * as i3 from '@angular/common';
4
2
  import { CommonModule } from '@angular/common';
5
- import * as i2$1 from 'ngx-bootstrap/dropdown';
6
- import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
7
3
  import * as i5 from '@wm/components/base';
8
- import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, DatasetAwareNavComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, PROP_NUMBER, AUTOCLOSE_TYPE, hasLinkToCurrentPage, StylableComponent, WmComponentsModule, BaseContainerComponent } from '@wm/components/base';
9
- import * as i1$1 from '@wm/components/basic';
10
- import { AnchorComponent, BasicModule } from '@wm/components/basic';
11
- import * as i4 from '@wm/components/input';
12
- import { InputModule } from '@wm/components/input';
13
- import * as i1 from '@angular/router';
4
+ import { register, PROP_STRING, PROP_BOOLEAN, StylableComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, PROP_ANY, DatasetAwareNavComponent, WmComponentsModule, hasLinkToCurrentPage, PROP_NUMBER, AUTOCLOSE_TYPE, BaseContainerComponent } from '@wm/components/base';
5
+ import { ButtonComponent } from '@wm/components/input';
6
+ import * as i0 from '@angular/core';
7
+ import { Directive, Input, Inject, Optional, ContentChild, HostListener, Component, forwardRef, Attribute, Self, ViewChildren } from '@angular/core';
14
8
  import * as i2 from '@wm/core';
15
- import { triggerItemAction, addClass, $appDigest, toggleClass, removeClass, setAttr } from '@wm/core';
9
+ import { setAttr, addClass, removeClass, triggerItemAction, toggleClass, $appDigest } from '@wm/core';
10
+ import { AnchorComponent } from '@wm/components/basic';
11
+ import * as i1 from '@angular/router';
16
12
  import { isEmpty, forEach, omit, find, clone, includes } from 'lodash-es';
13
+ import * as i3$1 from 'ngx-bootstrap/dropdown';
14
+ import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
15
+
16
+ const disableContextMenu = ($event) => {
17
+ $event.preventDefault();
18
+ };
19
+ class NavigationControlDirective {
20
+ set wmNavigationControl(val) {
21
+ this._link = val;
22
+ if (val && !this.disableMenuContext) {
23
+ setAttr(this.nativeElement, 'href', val);
24
+ this.nativeElement.removeEventListener('contextmenu', disableContextMenu);
25
+ }
26
+ else {
27
+ setAttr(this.nativeElement, 'href', 'javascript:void(0)');
28
+ this.nativeElement.addEventListener('contextmenu', disableContextMenu);
29
+ }
30
+ }
31
+ constructor(eleRef) {
32
+ this.nativeElement = eleRef.nativeElement;
33
+ }
34
+ static { this.ɵfac = function NavigationControlDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationControlDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
35
+ static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NavigationControlDirective, selectors: [["", "wmNavigationControl", ""]], inputs: { disableMenuContext: "disableMenuContext", wmNavigationControl: "wmNavigationControl" }, standalone: true }); }
36
+ }
37
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationControlDirective, [{
38
+ type: Directive,
39
+ args: [{
40
+ standalone: true,
41
+ selector: '[wmNavigationControl]'
42
+ }]
43
+ }], () => [{ type: i0.ElementRef }], { disableMenuContext: [{
44
+ type: Input
45
+ }], wmNavigationControl: [{
46
+ type: Input
47
+ }] }); })();
17
48
 
18
49
  const registerProps$2 = () => {
50
+ register('wm-nav-item', new Map([
51
+ ['class', PROP_STRING],
52
+ ['name', PROP_STRING],
53
+ ['show', { value: true, ...PROP_BOOLEAN }]
54
+ ]));
55
+ };
56
+
57
+ const DEFAULT_CLS$2 = 'app-nav-item';
58
+ const WIDGET_CONFIG$2 = { widgetType: 'wm-nav-item', hostClass: DEFAULT_CLS$2 };
59
+ class NavItemDirective extends StylableComponent {
60
+ static { this.initializeProps = registerProps$2(); }
61
+ makeActive() {
62
+ const parentNode = this.nativeElement.parentNode;
63
+ $(parentNode).find('> li.active').removeClass('active');
64
+ if (this.isAttached) {
65
+ addClass(this.nativeElement, 'active');
66
+ }
67
+ }
68
+ constructor(inj, explicitContext) {
69
+ super(inj, WIDGET_CONFIG$2, explicitContext);
70
+ styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
71
+ }
72
+ ngAfterViewInit() {
73
+ if (this.innerLink) {
74
+ this.innerLink.onActive(() => this.makeActive());
75
+ }
76
+ }
77
+ ngOnDetach() {
78
+ removeClass(this.nativeElement, 'active', true);
79
+ super.ngOnDetach();
80
+ }
81
+ static { this.ɵfac = function NavItemDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavItemDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
82
+ static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NavItemDirective, selectors: [["", "wmNavItem", ""]], contentQueries: function NavItemDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
83
+ i0.ɵɵcontentQuery(dirIndex, AnchorComponent, 5);
84
+ } if (rf & 2) {
85
+ let _t;
86
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.innerLink = _t.first);
87
+ } }, hostBindings: function NavItemDirective_HostBindings(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵlistener("click", function NavItemDirective_click_HostBindingHandler() { return ctx.makeActive(); })("keydown.enter", function NavItemDirective_keydown_enter_HostBindingHandler() { return ctx.makeActive(); });
89
+ } }, exportAs: ["navItemRef"], standalone: true, features: [i0.ɵɵProvidersFeature([
90
+ provideAsWidgetRef(NavItemDirective)
91
+ ]), i0.ɵɵInheritDefinitionFeature] }); }
92
+ }
93
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavItemDirective, [{
94
+ type: Directive,
95
+ args: [{
96
+ standalone: true,
97
+ selector: '[wmNavItem]',
98
+ exportAs: 'navItemRef',
99
+ providers: [
100
+ provideAsWidgetRef(NavItemDirective)
101
+ ]
102
+ }]
103
+ }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
104
+ type: Inject,
105
+ args: ['EXPLICIT_CONTEXT']
106
+ }, {
107
+ type: Optional
108
+ }] }], { innerLink: [{
109
+ type: ContentChild,
110
+ args: [AnchorComponent]
111
+ }], makeActive: [{
112
+ type: HostListener,
113
+ args: ['click']
114
+ }, {
115
+ type: HostListener,
116
+ args: ['keydown.enter']
117
+ }] }); })();
118
+
119
+ const registerProps$1 = () => {
19
120
  register('wm-nav', new Map([
20
121
  ['autoclose', { value: 'always', ...PROP_STRING }],
21
122
  ['autoopen', { value: 'never', ...PROP_STRING }],
@@ -49,41 +150,41 @@ const _c3 = a0 => ({ active: a0 });
49
150
  const _c4 = (a0, a1, a2) => ({ item: a0, index: a1, liRef: a2 });
50
151
  const _c5 = (a0, a1) => ({ item: a0, index: a1 });
51
152
  function NavComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
52
- i0.ɵɵelement(0, "div", 5);
153
+ i0.ɵɵelement(0, "div", 4);
53
154
  } }
54
155
  function NavComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
55
- i0.ɵɵelement(0, "a", 6);
156
+ i0.ɵɵelement(0, "a", 5);
56
157
  } if (rf & 2) {
57
158
  const item_r1 = ctx.item;
58
159
  const ctx_r1 = i0.ɵɵnextContext();
59
160
  i0.ɵɵproperty("disableMenuContext", ctx_r1.disableMenuContext || !!item_r1.action)("wmNavigationControl", item_r1.link);
60
161
  i0.ɵɵattribute("aria-current", item_r1._selected || !ctx_r1.isactive && item_r1.link === "#/" + ctx_r1.activePageName ? "page" : "");
61
162
  } }
62
- function NavComponent_li_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
63
- i0.ɵɵelementContainer(0, 9);
163
+ function NavComponent_For_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
164
+ i0.ɵɵelementContainer(0, 7);
64
165
  } if (rf & 2) {
65
166
  const ctx_r2 = i0.ɵɵnextContext();
66
167
  const item_r4 = ctx_r2.$implicit;
67
- const index_r5 = ctx_r2.index;
168
+ const ɵ$index_9_r5 = ctx_r2.$index;
68
169
  const liRef_r6 = i0.ɵɵreference(1);
69
170
  const ctx_r1 = i0.ɵɵnextContext();
70
171
  const anchorRef_r7 = i0.ɵɵreference(3);
71
- i0.ɵɵproperty("ngTemplateOutlet", anchorRef_r7)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c4, item_r4, index_r5, liRef_r6))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("anchor_" + liRef_r6.trackId, i0.ɵɵpureFunction3(7, _c4, item_r4, index_r5, liRef_r6)));
172
+ i0.ɵɵproperty("ngTemplateOutlet", anchorRef_r7)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c4, item_r4, ɵ$index_9_r5, liRef_r6))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("anchor_" + liRef_r6.trackId, i0.ɵɵpureFunction3(7, _c4, item_r4, ɵ$index_9_r5, liRef_r6)));
72
173
  } }
73
- function NavComponent_li_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
74
- i0.ɵɵelementContainer(0, 9);
174
+ function NavComponent_For_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
175
+ i0.ɵɵelementContainer(0, 7);
75
176
  } if (rf & 2) {
76
177
  const ctx_r2 = i0.ɵɵnextContext();
77
178
  const item_r4 = ctx_r2.$implicit;
78
- const index_r5 = ctx_r2.index;
179
+ const ɵ$index_9_r5 = ctx_r2.$index;
79
180
  const liRef_r6 = i0.ɵɵreference(1);
80
181
  const ctx_r1 = i0.ɵɵnextContext();
81
182
  const menuRef_r8 = i0.ɵɵreference(1);
82
- i0.ɵɵproperty("ngTemplateOutlet", menuRef_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c5, item_r4, index_r5))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("menu_" + liRef_r6.trackId, i0.ɵɵpureFunction2(6, _c5, item_r4, index_r5)));
183
+ i0.ɵɵproperty("ngTemplateOutlet", menuRef_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c5, item_r4, ɵ$index_9_r5))("ngTemplateOutletInjector", ctx_r1.createCustomInjector("menu_" + liRef_r6.trackId, i0.ɵɵpureFunction2(6, _c5, item_r4, ɵ$index_9_r5)));
83
184
  } }
84
- function NavComponent_li_4_Template(rf, ctx) { if (rf & 1) {
85
- i0.ɵɵelementStart(0, "li", 7, 2);
86
- i0.ɵɵtemplate(2, NavComponent_li_4_ng_container_2_Template, 1, 11, "ng-container", 8)(3, NavComponent_li_4_ng_container_3_Template, 1, 9, "ng-container", 8);
185
+ function NavComponent_For_5_Template(rf, ctx) { if (rf & 1) {
186
+ i0.ɵɵelementStart(0, "li", 6, 2);
187
+ i0.ɵɵtemplate(2, NavComponent_For_5_Conditional_2_Template, 1, 11, "ng-container", 7)(3, NavComponent_For_5_Conditional_3_Template, 1, 9, "ng-container", 7);
87
188
  i0.ɵɵelementEnd();
88
189
  } if (rf & 2) {
89
190
  const item_r4 = ctx.$implicit;
@@ -91,27 +192,27 @@ function NavComponent_li_4_Template(rf, ctx) { if (rf & 1) {
91
192
  i0.ɵɵclassMapInterpolate1("app-nav-item ", item_r4.class, "");
92
193
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c3, item_r4._selected || !ctx_r1.isactive && item_r4.link === "#/" + ctx_r1.activePageName));
93
194
  i0.ɵɵadvance(2);
94
- i0.ɵɵproperty("ngIf", !item_r4.children.length);
195
+ i0.ɵɵconditional(!item_r4.children.length ? 2 : -1);
95
196
  i0.ɵɵadvance();
96
- i0.ɵɵproperty("ngIf", item_r4.children.length);
197
+ i0.ɵɵconditional(item_r4.children.length ? 3 : -1);
97
198
  } }
98
- function NavComponent_ng_content_5_Template(rf, ctx) { if (rf & 1) {
99
- i0.ɵɵprojection(0, 0, ["*ngIf", "!nodes.length"]);
199
+ function NavComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
200
+ i0.ɵɵprojection(0);
100
201
  } }
101
- const DEFAULT_CLS$2 = 'nav app-nav';
102
- const WIDGET_CONFIG$2 = { widgetType: 'wm-nav', hostClass: DEFAULT_CLS$2 };
202
+ const DEFAULT_CLS$1 = 'nav app-nav';
203
+ const WIDGET_CONFIG$1 = { widgetType: 'wm-nav', hostClass: DEFAULT_CLS$1 };
103
204
  const NavClassMap = {
104
205
  pills: 'nav-pills',
105
206
  tabs: 'nav-tabs',
106
207
  navbar: 'navbar-nav'
107
208
  };
108
209
  class NavComponent extends DatasetAwareNavComponent {
109
- static { this.initializeProps = registerProps$2(); }
210
+ static { this.initializeProps = registerProps$1(); }
110
211
  get activePageName() {
111
212
  return this.app.activePageName;
112
213
  }
113
214
  constructor(inj, cdRef, route, userDefinedExecutionContext, app, selectEventCB, explicitContext) {
114
- super(inj, WIDGET_CONFIG$2, explicitContext);
215
+ super(inj, WIDGET_CONFIG$1, explicitContext);
115
216
  this.cdRef = cdRef;
116
217
  this.route = route;
117
218
  this.userDefinedExecutionContext = userDefinedExecutionContext;
@@ -184,23 +285,25 @@ class NavComponent extends DatasetAwareNavComponent {
184
285
  this.invokeEventCallback('select', { $event, $item: this.selecteditem });
185
286
  }
186
287
  static { this.ɵfac = function NavComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
187
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavComponent, selectors: [["", "wmNav", ""]], features: [i0.ɵɵProvidersFeature([
288
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavComponent, selectors: [["", "wmNav", ""]], standalone: true, features: [i0.ɵɵProvidersFeature([
188
289
  provideAsWidgetRef(NavComponent)
189
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$3, ngContentSelectors: _c2, decls: 6, vars: 2, consts: [["menuRef", ""], ["anchorRef", ""], ["liRef", "navItemRef"], ["wmNavItem", "", 3, "ngClass", "class", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["wmMenu", "", "dropdown", "", "type", "anchor", "autoclose.bind", "autoclose", "iconclass.bind", "item.icon", "autoopen.bind", "autoopen", "caption.bind", "item.label", "hint.bind", "item.hint", "dataset.bind", "item.children", "badgevalue.bind", "item.badge", "iconposition.bind", "iconposition", "showonhover.bind", "showonhover", "select.event", "onMenuItemSelect($event, widget, $item)"], ["wmAnchor", "", "caption.bind", "item.label", "hint.bind", "item.hint", "iconclass.bind", "item.icon", "badgevalue.bind", "item.badge", "iconposition.bind", "iconposition", "click.event", "onNavSelect($event, item)", 3, "disableMenuContext", "wmNavigationControl"], ["wmNavItem", "", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector"]], template: function NavComponent_Template(rf, ctx) { if (rf & 1) {
290
+ ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0$3, ngContentSelectors: _c2, decls: 7, vars: 1, consts: [["menuRef", ""], ["anchorRef", ""], ["liRef", "navItemRef"], ["wmNavItem", "", 3, "ngClass", "class"], ["wmMenu", "", "dropdown", "", "type", "anchor", "autoclose.bind", "autoclose", "iconclass.bind", "item.icon", "autoopen.bind", "autoopen", "caption.bind", "item.label", "hint.bind", "item.hint", "dataset.bind", "item.children", "badgevalue.bind", "item.badge", "iconposition.bind", "iconposition", "showonhover.bind", "showonhover", "select.event", "onMenuItemSelect($event, widget, $item)"], ["wmAnchor", "", "caption.bind", "item.label", "hint.bind", "item.hint", "iconclass.bind", "item.icon", "badgevalue.bind", "item.badge", "iconposition.bind", "iconposition", "click.event", "onNavSelect($event, item)", 3, "disableMenuContext", "wmNavigationControl"], ["wmNavItem", "", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", "ngTemplateOutletInjector"]], template: function NavComponent_Template(rf, ctx) { if (rf & 1) {
190
291
  i0.ɵɵprojectionDef(_c1$3);
191
- i0.ɵɵtemplate(0, NavComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, NavComponent_ng_template_2_Template, 1, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(4, NavComponent_li_4_Template, 4, 8, "li", 3)(5, NavComponent_ng_content_5_Template, 1, 0, "ng-content", 4);
292
+ i0.ɵɵtemplate(0, NavComponent_ng_template_0_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, NavComponent_ng_template_2_Template, 1, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
293
+ i0.ɵɵrepeaterCreate(4, NavComponent_For_5_Template, 4, 8, "li", 3, i0.ɵɵrepeaterTrackByIdentity);
294
+ i0.ɵɵtemplate(6, NavComponent_Conditional_6_Template, 1, 0);
192
295
  } if (rf & 2) {
193
296
  i0.ɵɵadvance(4);
194
- i0.ɵɵproperty("ngForOf", ctx.nodes);
195
- i0.ɵɵadvance();
196
- i0.ɵɵproperty("ngIf", !ctx.nodes.length);
197
- } }, encapsulation: 2 }); }
297
+ i0.ɵɵrepeater(ctx.nodes);
298
+ i0.ɵɵadvance(2);
299
+ i0.ɵɵconditional(!ctx.nodes.length ? 6 : -1);
300
+ } }, dependencies: () => [CommonModule, i3.NgClass, i3.NgTemplateOutlet, WmComponentsModule, BsDropdownModule, i3$1.BsDropdownDirective, AnchorComponent, MenuComponent, NavItemDirective], encapsulation: 2 }); }
198
301
  }
199
302
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavComponent, [{
200
303
  type: Component,
201
- args: [{ selector: '[wmNav]', providers: [
304
+ args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, BsDropdownModule, AnchorComponent, forwardRef(() => MenuComponent), NavItemDirective,], selector: '[wmNav]', providers: [
202
305
  provideAsWidgetRef(NavComponent)
203
- ], template: "<ng-template #menuRef let-item=\"item\" let-index=\"index\">\n <div wmMenu dropdown\n type=\"anchor\"\n autoclose.bind=\"autoclose\"\n iconclass.bind=\"item.icon\"\n autoopen.bind=\"autoopen\"\n caption.bind=\"item.label\"\n hint.bind=\"item.hint\"\n dataset.bind=\"item.children\"\n badgevalue.bind=\"item.badge\"\n iconposition.bind=\"iconposition\"\n showonhover.bind=\"showonhover\"\n select.event=\"onMenuItemSelect($event, widget, $item)\"></div>\n</ng-template>\n\n<ng-template #anchorRef let-item=\"item\" let-index=\"index\" let-liRef=\"liRef\">\n <a wmAnchor\n [disableMenuContext]=\"disableMenuContext || !!item.action\"\n [wmNavigationControl]=\"item.link\"\n [attr.aria-current]=\"item._selected || (!isactive && item.link === '#/' + activePageName) ? 'page' : ''\"\n caption.bind=\"item.label\"\n hint.bind=\"item.hint\"\n iconclass.bind=\"item.icon\"\n badgevalue.bind=\"item.badge\"\n iconposition.bind=\"iconposition\"\n click.event=\"onNavSelect($event, item)\"></a>\n</ng-template>\n\n<li #liRef=\"navItemRef\" *ngFor=\"let item of nodes; let index = index;\"\n [ngClass]=\"{active: item._selected || (!isactive && item.link === '#/' + activePageName)}\"\n class=\"app-nav-item {{item.class}}\"\n wmNavItem>\n <ng-container [ngTemplateOutlet]=\"anchorRef\"\n [ngTemplateOutletContext]=\"{item: item, index:index, liRef: liRef}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('anchor_' + liRef.trackId, {item: item, index:index, liRef: liRef})\"\n *ngIf=\"!item.children.length\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"menuRef\"\n [ngTemplateOutletContext]=\"{item: item, index:index}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('menu_' + liRef.trackId, {item: item, index:index})\"\n *ngIf=\"item.children.length\"></ng-container>\n</li>\n\n<ng-content *ngIf=\"!nodes.length\" select=\"[wmNavItem]\"></ng-content>\n" }]
306
+ ], template: "<ng-template #menuRef let-item=\"item\" let-index=\"index\">\n <div wmMenu dropdown\n type=\"anchor\"\n autoclose.bind=\"autoclose\"\n iconclass.bind=\"item.icon\"\n autoopen.bind=\"autoopen\"\n caption.bind=\"item.label\"\n hint.bind=\"item.hint\"\n dataset.bind=\"item.children\"\n badgevalue.bind=\"item.badge\"\n iconposition.bind=\"iconposition\"\n showonhover.bind=\"showonhover\"\n select.event=\"onMenuItemSelect($event, widget, $item)\"></div>\n</ng-template>\n\n<ng-template #anchorRef let-item=\"item\" let-index=\"index\" let-liRef=\"liRef\">\n <a wmAnchor\n [disableMenuContext]=\"disableMenuContext || !!item.action\"\n [wmNavigationControl]=\"item.link\"\n [attr.aria-current]=\"item._selected || (!isactive && item.link === '#/' + activePageName) ? 'page' : ''\"\n caption.bind=\"item.label\"\n hint.bind=\"item.hint\"\n iconclass.bind=\"item.icon\"\n badgevalue.bind=\"item.badge\"\n iconposition.bind=\"iconposition\"\n click.event=\"onNavSelect($event, item)\"></a>\n</ng-template>\n\n@for (item of nodes; track item; let index = $index) {\n <li #liRef=\"navItemRef\"\n [ngClass]=\"{active: item._selected || (!isactive && item.link === '#/' + activePageName)}\"\n class=\"app-nav-item {{item.class}}\"\n wmNavItem>\n @if (!item.children.length) {\n <ng-container [ngTemplateOutlet]=\"anchorRef\"\n [ngTemplateOutletContext]=\"{item: item, index:index, liRef: liRef}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('anchor_' + liRef.trackId, {item: item, index:index, liRef: liRef})\"\n ></ng-container>\n }\n @if (item.children.length) {\n <ng-container [ngTemplateOutlet]=\"menuRef\"\n [ngTemplateOutletContext]=\"{item: item, index:index}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('menu_' + liRef.trackId, {item: item, index:index})\"\n ></ng-container>\n }\n </li>\n}\n\n@if (!nodes.length) {\n <ng-content select=\"[wmNavItem]\"></ng-content>\n}\n" }]
204
307
  }], () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1.Router }, { type: i2.UserDefinedExecutionContext }, { type: i2.App }, { type: undefined, decorators: [{
205
308
  type: Attribute,
206
309
  args: ['select.event']
@@ -210,415 +313,69 @@ class NavComponent extends DatasetAwareNavComponent {
210
313
  }, {
211
314
  type: Optional
212
315
  }] }], null); })();
213
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NavComponent, { className: "NavComponent", filePath: "nav/nav.component.ts", lineNumber: 26 }); })();
214
-
215
- const registerProps$1 = () => {
216
- register('wm-menu', new Map([
217
- ['accessroles', { value: 'Everyone', ...PROP_STRING }],
218
- ['animateitems', PROP_STRING],
219
- ['autoclose', { value: 'always', ...PROP_STRING }],
220
- ['autoopen', { value: 'never', ...PROP_STRING }],
221
- ['caption', PROP_STRING],
222
- ['class', PROP_STRING],
223
- ['dataset', { value: 'Menu Item 1, Menu Item 2, Menu Item 3', ...PROP_ANY }],
224
- ['hint', { value: '', ...PROP_STRING }],
225
- ['arialabel', PROP_STRING],
226
- ['isactive', PROP_STRING],
227
- ['iconclass', PROP_STRING],
228
- ['iconposition', { value: 'left', ...PROP_STRING }],
229
- ['itemaction', PROP_STRING],
230
- ['itemchildren', PROP_STRING],
231
- ['itemclass', PROP_STRING],
232
- ['itemicon', PROP_STRING],
233
- ['itemlabel', PROP_STRING],
234
- ['itemlink', PROP_STRING],
235
- ['itemtarget', PROP_STRING],
236
- ['linktarget', { value: '_self', ...PROP_STRING }],
237
- ['menuclass', PROP_STRING],
238
- ['menulayout', PROP_STRING],
239
- ['menuposition', PROP_STRING],
240
- ['name', PROP_STRING],
241
- ['orderby', PROP_STRING],
242
- ['shortcutkey', PROP_STRING],
243
- ['show', { value: true, ...PROP_BOOLEAN }],
244
- ['showonhover', { value: false, ...PROP_BOOLEAN }],
245
- ['tabindex', { value: 0, ...PROP_NUMBER }],
246
- ['type', { value: 'menu', ...PROP_STRING }],
247
- ['userrole', PROP_STRING]
248
- ]));
249
- };
316
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NavComponent, { className: "NavComponent", filePath: "nav/nav.component.ts", lineNumber: 34 }); })();
250
317
 
251
- const _c0$2 = ["wmMenu", ""];
252
- const _c1$2 = a0 => [a0];
253
- function MenuComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
254
- i0.ɵɵelementStart(0, "button", 4);
255
- i0.ɵɵelement(1, "span", 5);
256
- i0.ɵɵelementEnd();
318
+ const _c0$2 = ["wmMenuDropdownItem", ""];
319
+ const _c1$2 = a0 => ({ item: a0 });
320
+ function MenuDropdownItemComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
321
+ i0.ɵɵelement(0, "span");
257
322
  } if (rf & 2) {
258
323
  const ctx_r0 = i0.ɵɵnextContext();
259
- i0.ɵɵclassMapInterpolate1("btn app-button dropdown-toggle ", ctx_r0.menuclass, "");
260
- i0.ɵɵattribute("aria-label", ctx_r0.arialabel || "Menu");
261
- i0.ɵɵadvance();
262
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$2, ctx_r0.menuCaret));
324
+ i0.ɵɵclassMapInterpolate1("pull-right fa caret ", ctx_r0.menualign, "");
263
325
  } }
264
- function MenuComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
265
- i0.ɵɵelement(0, "i")(1, "span", 6)(2, "span");
326
+ function MenuDropdownItemComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
327
+ i0.ɵɵelement(0, "span", 4);
266
328
  } if (rf & 2) {
267
329
  const ctx_r0 = i0.ɵɵnextContext();
268
- i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
269
- i0.ɵɵadvance();
270
- i0.ɵɵproperty("textContent", ctx_r0.caption);
271
- i0.ɵɵadvance();
272
- i0.ɵɵclassMapInterpolate1("pull-right caret fa ", ctx_r0.menuCaret, "");
330
+ i0.ɵɵproperty("textContent", ctx_r0.item.badge);
273
331
  } }
274
- function MenuComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
275
- i0.ɵɵelementContainerStart(0);
276
- i0.ɵɵelementStart(1, "a", 7);
277
- i0.ɵɵelement(2, "span", 5);
278
- i0.ɵɵelementEnd();
279
- i0.ɵɵelementContainerEnd();
332
+ function MenuDropdownItemComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
333
+ i0.ɵɵelementContainer(0, 5);
280
334
  } if (rf & 2) {
281
335
  const ctx_r0 = i0.ɵɵnextContext();
282
- i0.ɵɵadvance();
283
- i0.ɵɵclassMapInterpolate1("dropdown-toggle ", ctx_r0.menuclass, "");
284
- i0.ɵɵattribute("aria-label", ctx_r0.arialabel || "Menu");
285
- i0.ɵɵadvance();
286
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$2, ctx_r0.menuCaret));
336
+ const nestedMenuDropdown_r2 = i0.ɵɵreference(8);
337
+ i0.ɵɵproperty("ngTemplateOutlet", nestedMenuDropdown_r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$2, ctx_r0.item));
287
338
  } }
288
- function MenuComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
289
- i0.ɵɵelement(0, "ul", 8);
339
+ function MenuDropdownItemComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
340
+ i0.ɵɵelement(0, "ul", 6);
290
341
  } if (rf & 2) {
291
- const ctx_r0 = i0.ɵɵnextContext();
292
- i0.ɵɵclassMapInterpolate1("icon-position-", ctx_r0.iconposition, "");
293
- i0.ɵɵproperty("items", ctx_r0.nodes)("ngClass", ctx_r0.menulayout);
342
+ const item_r3 = ctx.item;
343
+ i0.ɵɵproperty("items", item_r3.children);
294
344
  } }
295
- const KEYBOARD_MOVEMENTS = {
296
- MOVE_UP: 'UP-ARROW',
297
- MOVE_LEFT: 'LEFT-ARROW',
298
- MOVE_RIGHT: 'RIGHT-ARROW',
299
- MOVE_DOWN: 'DOWN-ARROW',
300
- ON_ENTER: 'ENTER',
301
- ON_MOUSE_ENTER: 'MOUSE-ENTER',
302
- ON_MOUSE_LEAVE: 'MOUSE-LEAVE',
303
- ON_TAB: 'TAB',
304
- ON_SHIFT_TAB: 'SHIFT-TAB',
305
- ON_ESCAPE: 'ESC'
306
- };
307
- const MENU_POSITION = {
308
- UP_LEFT: 'up,left',
309
- UP_RIGHT: 'up,right',
310
- DOWN_LEFT: 'down,left',
311
- DOWN_RIGHT: 'down,right',
312
- INLINE: 'inline'
313
- };
314
- const POSITION = {
315
- DOWN_RIGHT: 'down,right',
316
- DOWN_LEFT: 'down,left',
317
- UP_RIGHT: 'up,right',
318
- UP_LEFT: 'up,left',
319
- INLINE: 'inline'
320
- };
321
- const CARET_CLS = {
322
- UP: 'fa-caret-up',
323
- DOWN: 'fa-caret-down'
324
- };
325
- const PULL_CLS = {
326
- LEFT: 'pull-left',
327
- RIGHT: 'pull-right'
345
+ const menuAlignClass = {
346
+ 'pull-right': 'fa-caret-left',
347
+ 'dropinline-menu': 'fa-caret-down',
348
+ 'pull-left': 'fa-caret-right'
328
349
  };
329
- const AUTO_OPEN = {
330
- NEVER: 'never',
331
- ACTIVE_PAGE: 'activepage',
332
- ALWAYS: 'always'
350
+ const MENU_LAYOUT_TYPE = {
351
+ HORIZONTAL: 'horizontal',
352
+ VERTICAL: 'vertical'
333
353
  };
334
- const WIDGET_CONFIG$1 = { widgetType: 'wm-menu', hostClass: 'dropdown app-menu' };
335
- class MenuComponent extends DatasetAwareNavComponent {
336
- static { this.initializeProps = registerProps$1(); }
337
- onShow() {
338
- this._menuposition = this.menuposition;
339
- if (this._selectFirstItem) {
340
- setTimeout(() => {
341
- this.$element.find('> ul[wmmenudropdown] li.app-menu-item').first().find('> a').focus();
342
- });
343
- }
344
- $appDigest();
345
- }
346
- onHide() {
347
- this.$element.find('li').removeClass('open');
348
- this._selectFirstItem = false;
349
- // reset the menuposition when dropdown is closed
350
- this.menuposition = this._menuposition ? this._menuposition : MENU_POSITION.DOWN_RIGHT;
351
- this.setMenuPosition();
352
- $appDigest();
353
- }
354
- onKeyDown($event, eventAction) {
355
- const KEY_MOVEMENTS = clone(KEYBOARD_MOVEMENTS);
356
- if (this.menuposition === MENU_POSITION.UP_RIGHT) {
357
- KEY_MOVEMENTS.MOVE_UP = 'DOWN-ARROW';
358
- KEY_MOVEMENTS.MOVE_DOWN = 'UP-ARROW';
359
- }
360
- else if (this.menuposition === MENU_POSITION.UP_LEFT) {
361
- KEY_MOVEMENTS.MOVE_UP = 'DOWN-ARROW';
362
- KEY_MOVEMENTS.MOVE_DOWN = 'UP-ARROW';
363
- KEY_MOVEMENTS.MOVE_LEFT = 'RIGHT-ARROW';
364
- KEY_MOVEMENTS.MOVE_RIGHT = 'LEFT-ARROW';
365
- }
366
- else if (this.menuposition === MENU_POSITION.DOWN_LEFT) {
367
- KEY_MOVEMENTS.MOVE_LEFT = 'RIGHT-ARROW';
368
- KEY_MOVEMENTS.MOVE_RIGHT = 'LEFT-ARROW';
369
- }
370
- if (includes([KEY_MOVEMENTS.MOVE_DOWN, KEY_MOVEMENTS.MOVE_RIGHT], eventAction)) {
371
- if (!this.bsDropdown.isOpen) {
372
- this._selectFirstItem = true;
373
- this.bsDropdown.show();
374
- }
375
- else {
376
- this.$element.find('> ul[wmmenudropdown] li.app-menu-item').first().find('> a').focus();
377
- }
378
- }
379
- else if (eventAction === KEY_MOVEMENTS.ON_ENTER || (eventAction === KEY_MOVEMENTS.ON_MOUSE_ENTER && this.showonhover)) {
380
- this.bsDropdown.toggle(true);
381
- }
382
- else if (includes([KEY_MOVEMENTS.MOVE_UP, KEY_MOVEMENTS.MOVE_LEFT], eventAction) || (eventAction == KEY_MOVEMENTS.ON_MOUSE_LEAVE && this.autoclose == AUTOCLOSE_TYPE.ALWAYS && this.showonhover)) {
383
- this.bsDropdown.hide();
384
- }
385
- $event.preventDefault();
386
- }
387
- constructor(inj, route, userDefinedExecutionContext, app, bsDropdown, parentNav, selectEventCB, explicitContext) {
388
- super(inj, WIDGET_CONFIG$1, explicitContext);
389
- this.route = route;
390
- this.userDefinedExecutionContext = userDefinedExecutionContext;
391
- this.app = app;
392
- this.bsDropdown = bsDropdown;
393
- this.parentNav = parentNav;
394
- this.selectEventCB = selectEventCB;
395
- this.menuCaret = 'fa-caret-down';
396
- this._selectFirstItem = false;
397
- if (parentNav) {
398
- this.disableMenuContext = !!parentNav.disableMenuContext;
399
- }
400
- else {
401
- this.disableMenuContext = !!selectEventCB;
402
- }
403
- // For selecting the item on load
404
- const datasetSubscription = this.nodes$.subscribe(() => {
405
- if (!isEmpty(this.nodes)) {
406
- if (hasLinkToCurrentPage(this.nodes, this.route.url)) {
407
- addClass(this.nativeElement.querySelector('.dropdown-toggle'), 'active');
408
- }
409
- // If menu widget is inside nav widget then dont check for item isactive property because these will be handled form nav widget.
410
- if (this.parentNav) {
411
- return;
412
- }
413
- let itemFound = false;
414
- const getItem = (nodes) => {
415
- forEach(nodes, (item) => {
416
- if (itemFound) {
417
- return;
418
- }
419
- if (item.isactive) {
420
- itemFound = true;
421
- this.onMenuItemSelect({ $event: {}, $item: item });
422
- // Trigger the action associated with active item
423
- triggerItemAction(this, item);
424
- return false;
425
- }
426
- if (!isEmpty(item.children)) {
427
- getItem(item.children);
428
- }
429
- });
430
- };
431
- getItem(this.nodes);
432
- }
433
- });
434
- this.registerDestroyListener(() => datasetSubscription.unsubscribe());
435
- }
436
- resetNodes() {
437
- super.resetNodes();
438
- // open the menu if any of its menu items has link to current page and if autoopen value is 'active page'
439
- if ((this.autoopen === AUTO_OPEN.ACTIVE_PAGE && hasLinkToCurrentPage(this.nodes, this.route.url)) || this.autoopen === AUTO_OPEN.ALWAYS) {
440
- this.bsDropdown.show();
441
- }
442
- }
443
- ngOnInit() {
444
- super.ngOnInit();
445
- this.setMenuPosition();
446
- const cancelSubscription = this.app.subscribe("highlightActiveLink", (data) => {
447
- toggleClass(this.nativeElement.querySelector('.dropdown-toggle'), 'active', hasLinkToCurrentPage(this.nodes, this.route.url));
448
- });
449
- this.registerDestroyListener(() => cancelSubscription());
450
- }
451
- onPropertyChange(key, nv, ov) {
452
- if (key === 'tabindex') {
453
- return;
454
- }
455
- if (key === 'autoclose') {
456
- this.bsDropdown.autoClose = nv !== AUTOCLOSE_TYPE.DISABLED;
457
- this.autoclose = nv;
458
- }
459
- else {
460
- super.onPropertyChange(key, nv, ov);
461
- }
462
- }
463
- setMenuPosition() {
464
- switch (this.menuposition) {
465
- case POSITION.DOWN_RIGHT:
466
- removeClass(this.nativeElement, 'dropup');
467
- this.menualign = PULL_CLS.LEFT;
468
- this.menuCaret = CARET_CLS.DOWN;
469
- break;
470
- case POSITION.DOWN_LEFT:
471
- removeClass(this.nativeElement, 'dropup');
472
- this.menualign = PULL_CLS.RIGHT;
473
- this.menuCaret = CARET_CLS.DOWN;
474
- break;
475
- case POSITION.UP_LEFT:
476
- addClass(this.nativeElement, 'dropup');
477
- this.menualign = PULL_CLS.RIGHT;
478
- this.menuCaret = CARET_CLS.UP;
479
- break;
480
- case POSITION.UP_RIGHT:
481
- addClass(this.nativeElement, 'dropup');
482
- this.menualign = PULL_CLS.LEFT;
483
- this.menuCaret = CARET_CLS.UP;
484
- break;
485
- case POSITION.INLINE:
486
- this.menualign = 'dropinline-menu';
487
- break;
488
- }
489
- }
490
- onMenuItemSelect(args) {
491
- const { $event } = args;
492
- const $item = args.$item.value;
493
- this.invokeEventCallback('select', { $event, $item });
494
- }
495
- ngAfterViewInit() {
496
- super.ngAfterViewInit();
497
- styler(this.nativeElement.querySelector('.dropdown-toggle'), this);
498
- }
499
- static { this.ɵfac = function MenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i2$1.BsDropdownDirective, 10), i0.ɵɵdirectiveInject(NavComponent, 8), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
500
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent, selectors: [["", "wmMenu", ""]], hostBindings: function MenuComponent_HostBindings(rf, ctx) { if (rf & 1) {
501
- i0.ɵɵlistener("onShown", function MenuComponent_onShown_HostBindingHandler() { return ctx.onShow(); })("onHidden", function MenuComponent_onHidden_HostBindingHandler() { return ctx.onHide(); })("keydown.arrowup", function MenuComponent_keydown_arrowup_HostBindingHandler($event) { return ctx.onKeyDown($event, "UP-ARROW"); })("mouseenter", function MenuComponent_mouseenter_HostBindingHandler($event) { return ctx.onKeyDown($event, "MOUSE-ENTER"); })("mouseleave", function MenuComponent_mouseleave_HostBindingHandler($event) { return ctx.onKeyDown($event, "MOUSE-LEAVE"); })("keydown.arrowdown", function MenuComponent_keydown_arrowdown_HostBindingHandler($event) { return ctx.onKeyDown($event, "DOWN-ARROW"); })("keydown.arrowright", function MenuComponent_keydown_arrowright_HostBindingHandler($event) { return ctx.onKeyDown($event, "RIGHT-ARROW"); })("keydown.arrowleft", function MenuComponent_keydown_arrowleft_HostBindingHandler($event) { return ctx.onKeyDown($event, "LEFT-ARROW"); })("keydown.enter", function MenuComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
502
- } }, features: [i0.ɵɵProvidersFeature([
503
- provideAsWidgetRef(MenuComponent)
504
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$2, decls: 6, vars: 2, consts: [["menuTemplate", ""], ["innerTemplate", ""], [4, "ngIf", "ngIfElse"], ["role", "menubar", "wmMenuDropdown", "", 3, "items", "ngClass", "class", 4, "dropdownMenu"], ["wmButton", "", "dropdownToggle", "", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition"], [1, "pull-right", "caret", "fa", 3, "ngClass"], [1, "caption", 3, "textContent"], ["wmAnchor", "", "dropdownToggle", "", "href", "javascript:void(0);", "role", "button", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition", "badgevalue.bind", "badgevalue"], ["role", "menubar", "wmMenuDropdown", "", 3, "items", "ngClass"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) {
505
- i0.ɵɵtemplate(0, MenuComponent_ng_template_0_Template, 2, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, MenuComponent_ng_template_2_Template, 3, 7, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(4, MenuComponent_ng_container_4_Template, 3, 7, "ng-container", 2)(5, MenuComponent_ul_5_Template, 1, 5, "ul", 3);
506
- } if (rf & 2) {
507
- const menuTemplate_r2 = i0.ɵɵreference(1);
508
- i0.ɵɵadvance(4);
509
- i0.ɵɵproperty("ngIf", ctx.type === "anchor")("ngIfElse", menuTemplate_r2);
510
- } }, encapsulation: 2 }); }
511
- }
512
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuComponent, [{
513
- type: Component,
514
- args: [{ selector: '[wmMenu]', providers: [
515
- provideAsWidgetRef(MenuComponent)
516
- ], template: "<ng-template #menuTemplate>\n <button wmButton\n dropdownToggle\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n [attr.aria-label]=\"arialabel || 'Menu'\"\n class=\"btn app-button dropdown-toggle {{menuclass}}\"\n hint.bind=\"hint\"\n shortcutkey.bind=\"shortcutkey\"\n tabindex.bind=\"tabindex\"\n caption.bind=\"caption\"\n iconclass.bind=\"iconclass\"\n iconposition.bind=\"iconposition\">\n <span class=\"pull-right caret fa\" [ngClass]=\"[menuCaret]\"></span>\n </button>\n</ng-template>\n\n<ng-template #innerTemplate>\n <i class=\"app-icon {{iconclass}}\"></i>\n <span class=\"caption\" [textContent]=\"caption\"></span>\n <span class=\"pull-right caret fa {{menuCaret}}\"></span>\n</ng-template>\n\n<ng-container *ngIf=\"type === 'anchor'; else menuTemplate\">\n <a wmAnchor\n dropdownToggle\n [attr.aria-label]=\"arialabel || 'Menu'\"\n href=\"javascript:void(0);\"\n role=\"button\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n\n hint.bind=\"hint\"\n class=\"dropdown-toggle {{menuclass}}\"\n shortcutkey.bind=\"shortcutkey\"\n tabindex.bind=\"tabindex\"\n caption.bind=\"caption\"\n iconclass.bind=\"iconclass\"\n iconposition.bind=\"iconposition\"\n badgevalue.bind=\"badgevalue\"\n >\n <span class=\"pull-right caret fa\" [ngClass]=\"[menuCaret]\"></span>\n </a>\n</ng-container>\n\n<ul *dropdownMenu [items]=\"nodes\" [ngClass]=\"menulayout\" class=\"icon-position-{{iconposition}}\" role=\"menubar\"\n wmMenuDropdown></ul>\n" }]
517
- }], () => [{ type: i0.Injector }, { type: i1.Router }, { type: i2.UserDefinedExecutionContext }, { type: i2.App }, { type: i2$1.BsDropdownDirective, decorators: [{
518
- type: Self
519
- }, {
520
- type: Optional
521
- }] }, { type: NavComponent, decorators: [{
522
- type: Optional
523
- }] }, { type: undefined, decorators: [{
524
- type: Attribute,
525
- args: ['select.event']
526
- }] }, { type: undefined, decorators: [{
527
- type: Inject,
528
- args: ['EXPLICIT_CONTEXT']
529
- }, {
530
- type: Optional
531
- }] }], { onShow: [{
532
- type: HostListener,
533
- args: ['onShown']
534
- }], onHide: [{
535
- type: HostListener,
536
- args: ['onHidden']
537
- }], onKeyDown: [{
538
- type: HostListener,
539
- args: ['keydown.arrowup', ['$event', '"UP-ARROW"']]
540
- }, {
541
- type: HostListener,
542
- args: ['mouseenter', ['$event', '"MOUSE-ENTER"']]
543
- }, {
544
- type: HostListener,
545
- args: ['mouseleave', ['$event', '"MOUSE-LEAVE"']]
546
- }, {
547
- type: HostListener,
548
- args: ['keydown.arrowdown', ['$event', '"DOWN-ARROW"']]
549
- }, {
550
- type: HostListener,
551
- args: ['keydown.arrowright', ['$event', '"RIGHT-ARROW"']]
552
- }, {
553
- type: HostListener,
554
- args: ['keydown.arrowleft', ['$event', '"LEFT-ARROW"']]
555
- }, {
556
- type: HostListener,
557
- args: ['keydown.enter', ['$event', '"ENTER"']]
558
- }] }); })();
559
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuComponent, { className: "MenuComponent", filePath: "menu.component.ts", lineNumber: 89 }); })();
560
-
561
- const _c0$1 = ["wmMenuDropdownItem", ""];
562
- const _c1$1 = a0 => ({ item: a0 });
563
- function MenuDropdownItemComponent_span_1_Template(rf, ctx) { if (rf & 1) {
564
- i0.ɵɵelement(0, "span");
565
- } if (rf & 2) {
566
- const ctx_r0 = i0.ɵɵnextContext();
567
- i0.ɵɵclassMapInterpolate1("pull-right fa caret ", ctx_r0.menualign, "");
568
- } }
569
- function MenuDropdownItemComponent_span_5_Template(rf, ctx) { if (rf & 1) {
570
- i0.ɵɵelement(0, "span", 6);
571
- } if (rf & 2) {
572
- const ctx_r0 = i0.ɵɵnextContext();
573
- i0.ɵɵproperty("textContent", ctx_r0.item.badge);
574
- } }
575
- function MenuDropdownItemComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
576
- i0.ɵɵelementContainer(0, 7);
577
- } if (rf & 2) {
578
- const ctx_r0 = i0.ɵɵnextContext();
579
- const nestedMenuDropdown_r2 = i0.ɵɵreference(8);
580
- i0.ɵɵproperty("ngTemplateOutlet", nestedMenuDropdown_r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$1, ctx_r0.item));
581
- } }
582
- function MenuDropdownItemComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
583
- i0.ɵɵelement(0, "ul", 8);
584
- } if (rf & 2) {
585
- const item_r3 = ctx.item;
586
- i0.ɵɵproperty("items", item_r3.children);
587
- } }
588
- const menuAlignClass = {
589
- 'pull-right': 'fa-caret-left',
590
- 'dropinline-menu': 'fa-caret-down',
591
- 'pull-left': 'fa-caret-right'
592
- };
593
- const MENU_LAYOUT_TYPE = {
594
- HORIZONTAL: 'horizontal',
595
- VERTICAL: 'vertical'
596
- };
597
- class MenuDropdownItemComponent {
598
- constructor(app, menuRef, userDefinedExecutionContext, parentNav, elRef) {
599
- this.app = app;
600
- this.menuRef = menuRef;
601
- this.userDefinedExecutionContext = userDefinedExecutionContext;
602
- this.parentNav = parentNav;
603
- this.onSelect = ($event, item) => {
604
- if (this.nativeElement !== $($event.target).closest('.app-menu-item').get(0)) {
605
- return;
606
- }
607
- // prevent event event propagation if auto close is outside click.
608
- if (this.menuRef.autoclose === 'outsideClick') {
609
- $event.stopPropagation();
610
- }
611
- $event.preventDefault();
612
- const args = { $event, $item: item };
613
- this.menuRef.onMenuItemSelect(args);
614
- const selectedItem = clone(item);
615
- selectedItem.target = selectedItem.target || this.menuRef.linktarget;
616
- // Trigger the action associated with active item
617
- triggerItemAction(this, selectedItem);
618
- };
619
- this.nativeElement = elRef.nativeElement;
620
- addClass(this.nativeElement, 'app-menu-item');
621
- this.menualign = menuAlignClass[this.menuRef.menualign] || menuAlignClass['pull-left'];
354
+ class MenuDropdownItemComponent {
355
+ constructor(app, menuRef, userDefinedExecutionContext, parentNav, elRef) {
356
+ this.app = app;
357
+ this.menuRef = menuRef;
358
+ this.userDefinedExecutionContext = userDefinedExecutionContext;
359
+ this.parentNav = parentNav;
360
+ this.onSelect = ($event, item) => {
361
+ if (this.nativeElement !== $($event.target).closest('.app-menu-item').get(0)) {
362
+ return;
363
+ }
364
+ // prevent event event propagation if auto close is outside click.
365
+ if (this.menuRef.autoclose === 'outsideClick') {
366
+ $event.stopPropagation();
367
+ }
368
+ $event.preventDefault();
369
+ const args = { $event, $item: item };
370
+ this.menuRef.onMenuItemSelect(args);
371
+ const selectedItem = clone(item);
372
+ selectedItem.target = selectedItem.target || this.menuRef.linktarget;
373
+ // Trigger the action associated with active item
374
+ triggerItemAction(this, selectedItem);
375
+ };
376
+ this.nativeElement = elRef.nativeElement;
377
+ addClass(this.nativeElement, 'app-menu-item');
378
+ this.menualign = menuAlignClass[this.menuRef.menualign] || menuAlignClass['pull-left'];
622
379
  }
623
380
  ngOnInit() {
624
381
  // add active class to the item only if it is in nav component.
@@ -729,33 +486,33 @@ class MenuDropdownItemComponent {
729
486
  static { this.ɵfac = function MenuDropdownItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuDropdownItemComponent)(i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(MenuComponent), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext), i0.ɵɵdirectiveInject(NavComponent, 8), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
730
487
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuDropdownItemComponent, selectors: [["li", "wmMenuDropdownItem", ""]], hostBindings: function MenuDropdownItemComponent_HostBindings(rf, ctx) { if (rf & 1) {
731
488
  i0.ɵɵlistener("keydown.tab", function MenuDropdownItemComponent_keydown_tab_HostBindingHandler($event) { return ctx.onKeyDown($event, "TAB"); })("keydown.shift.tab", function MenuDropdownItemComponent_keydown_shift_tab_HostBindingHandler($event) { return ctx.onKeyDown($event, "SHIFT-TAB"); })("keydown.escape", function MenuDropdownItemComponent_keydown_escape_HostBindingHandler($event) { return ctx.onKeyDown($event, "ESC"); })("keydown.enter", function MenuDropdownItemComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); })("keydown.arrowup", function MenuDropdownItemComponent_keydown_arrowup_HostBindingHandler($event) { return ctx.onKeyDown($event, "UP-ARROW"); })("keydown.arrowdown", function MenuDropdownItemComponent_keydown_arrowdown_HostBindingHandler($event) { return ctx.onKeyDown($event, "DOWN-ARROW"); })("keydown.arrowright", function MenuDropdownItemComponent_keydown_arrowright_HostBindingHandler($event) { return ctx.onKeyDown($event, "RIGHT-ARROW"); })("keydown.arrowleft", function MenuDropdownItemComponent_keydown_arrowleft_HostBindingHandler($event) { return ctx.onKeyDown($event, "LEFT-ARROW"); })("click", function MenuDropdownItemComponent_click_HostBindingHandler($event) { return ctx.onSelect($event, ctx.item); });
732
- } }, inputs: { item: "item" }, attrs: _c0$1, decls: 9, vars: 10, consts: [["nestedMenuDropdown", ""], ["href", "javascript:void(0);", 3, "title", "wmNavigationControl", "disableMenuContext"], [3, "class", 4, "ngIf"], [1, "anchor-caption"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], [1, "badge", "pull-right", 3, "textContent"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["wmMenuDropdown", "", 3, "items"]], template: function MenuDropdownItemComponent_Template(rf, ctx) { if (rf & 1) {
489
+ } }, inputs: { item: "item" }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$2, decls: 9, vars: 10, consts: [["nestedMenuDropdown", ""], ["href", "javascript:void(0);", 3, "title", "wmNavigationControl", "disableMenuContext"], [3, "class"], [1, "anchor-caption"], [1, "badge", "pull-right", 3, "textContent"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["wmMenuDropdown", "", 3, "items"]], template: function MenuDropdownItemComponent_Template(rf, ctx) { if (rf & 1) {
733
490
  i0.ɵɵelementStart(0, "a", 1);
734
- i0.ɵɵtemplate(1, MenuDropdownItemComponent_span_1_Template, 1, 3, "span", 2);
491
+ i0.ɵɵtemplate(1, MenuDropdownItemComponent_Conditional_1_Template, 1, 3, "span", 2);
735
492
  i0.ɵɵelement(2, "i");
736
493
  i0.ɵɵelementStart(3, "span", 3);
737
494
  i0.ɵɵtext(4);
738
495
  i0.ɵɵelementEnd();
739
- i0.ɵɵtemplate(5, MenuDropdownItemComponent_span_5_Template, 1, 1, "span", 4);
496
+ i0.ɵɵtemplate(5, MenuDropdownItemComponent_Conditional_5_Template, 1, 1, "span", 4);
740
497
  i0.ɵɵelementEnd();
741
- i0.ɵɵtemplate(6, MenuDropdownItemComponent_ng_container_6_Template, 1, 4, "ng-container", 5)(7, MenuDropdownItemComponent_ng_template_7_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
498
+ i0.ɵɵtemplate(6, MenuDropdownItemComponent_Conditional_6_Template, 1, 4, "ng-container", 5)(7, MenuDropdownItemComponent_ng_template_7_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
742
499
  } if (rf & 2) {
743
500
  i0.ɵɵproperty("title", ctx.item.label)("wmNavigationControl", ctx.item.link)("disableMenuContext", ctx.menuRef.disableMenuContext || !!ctx.item.action);
744
501
  i0.ɵɵadvance();
745
- i0.ɵɵproperty("ngIf", ctx.item.children.length);
502
+ i0.ɵɵconditional(ctx.item.children.length ? 1 : -1);
746
503
  i0.ɵɵadvance();
747
504
  i0.ɵɵclassMapInterpolate1("app-icon ", ctx.item.icon, "");
748
505
  i0.ɵɵadvance(2);
749
506
  i0.ɵɵtextInterpolate(ctx.item.label);
750
507
  i0.ɵɵadvance();
751
- i0.ɵɵproperty("ngIf", ctx.item.badge);
508
+ i0.ɵɵconditional(ctx.item.badge ? 5 : -1);
752
509
  i0.ɵɵadvance();
753
- i0.ɵɵproperty("ngIf", ctx.item.children.length);
754
- } }, encapsulation: 2 }); }
510
+ i0.ɵɵconditional(ctx.item.children.length ? 6 : -1);
511
+ } }, dependencies: () => [CommonModule, i3.NgTemplateOutlet, WmComponentsModule, i5.TextContentDirective, MenuDropdownComponent, NavigationControlDirective], encapsulation: 2 }); }
755
512
  }
756
513
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuDropdownItemComponent, [{
757
514
  type: Component,
758
- args: [{ selector: 'li[wmMenuDropdownItem]', template: "<a href=\"javascript:void(0);\" [title]=\"item.label\" [wmNavigationControl]=\"item.link\" [disableMenuContext]=\"menuRef.disableMenuContext || !!item.action\">\n <span *ngIf=\"item.children.length\" class=\"pull-right fa caret {{menualign}}\"></span>\n <i class=\"app-icon {{item.icon}}\"></i>\n <span class=\"anchor-caption\">{{item.label}}</span>\n <span *ngIf=\"item.badge\" class=\"badge pull-right\" [textContent]=\"item.badge\"></span>\n</a>\n<ng-container [ngTemplateOutlet]=\"nestedMenuDropdown\" *ngIf=\"item.children.length\" [ngTemplateOutletContext]=\"{item: item}\"></ng-container>\n\n<ng-template #nestedMenuDropdown let-item=\"item\">\n <ul wmMenuDropdown [items]=\"item.children\"></ul>\n</ng-template>\n" }]
515
+ args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, forwardRef(() => MenuDropdownComponent), NavigationControlDirective], selector: 'li[wmMenuDropdownItem]', template: "<a href=\"javascript:void(0);\" [title]=\"item.label\" [wmNavigationControl]=\"item.link\" [disableMenuContext]=\"menuRef.disableMenuContext || !!item.action\">\n @if (item.children.length) {\n <span class=\"pull-right fa caret {{menualign}}\"></span>\n }\n <i class=\"app-icon {{item.icon}}\"></i>\n <span class=\"anchor-caption\">{{item.label}}</span>\n @if (item.badge) {\n <span class=\"badge pull-right\" [textContent]=\"item.badge\"></span>\n }\n</a>\n@if (item.children.length) {\n <ng-container [ngTemplateOutlet]=\"nestedMenuDropdown\" [ngTemplateOutletContext]=\"{item: item}\"></ng-container>\n}\n\n<ng-template #nestedMenuDropdown let-item=\"item\">\n <ul wmMenuDropdown [items]=\"item.children\"></ul>\n</ng-template>\n" }]
759
516
  }], () => [{ type: i2.App }, { type: MenuComponent }, { type: i2.UserDefinedExecutionContext }, { type: NavComponent, decorators: [{
760
517
  type: Optional
761
518
  }] }, { type: i0.ElementRef }], { item: [{
@@ -788,16 +545,16 @@ class MenuDropdownItemComponent {
788
545
  type: HostListener,
789
546
  args: ['click', ['$event', 'item']]
790
547
  }] }); })();
791
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuDropdownItemComponent, { className: "MenuDropdownItemComponent", filePath: "menu-dropdown-item/menu-dropdown-item.component.ts", lineNumber: 27 }); })();
548
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuDropdownItemComponent, { className: "MenuDropdownItemComponent", filePath: "menu-dropdown-item/menu-dropdown-item.component.ts", lineNumber: 33 }); })();
792
549
 
793
- const _c0 = ["wmMenuDropdown", ""];
794
- const _c1 = (a0, a1) => ({ disabled: a0, "dropdown-submenu": a1 });
795
- function MenuDropdownComponent_li_0_Template(rf, ctx) { if (rf & 1) {
550
+ const _c0$1 = ["wmMenuDropdown", ""];
551
+ const _c1$1 = (a0, a1) => ({ disabled: a0, "dropdown-submenu": a1 });
552
+ function MenuDropdownComponent_For_1_Template(rf, ctx) { if (rf & 1) {
796
553
  i0.ɵɵelement(0, "li", 1);
797
554
  } if (rf & 2) {
798
555
  const item_r1 = ctx.$implicit;
799
556
  i0.ɵɵclassMap(item_r1.class);
800
- i0.ɵɵproperty("item", item_r1)("ngClass", i0.ɵɵpureFunction2(5, _c1, item_r1.disabled, item_r1.children.length > 0));
557
+ i0.ɵɵproperty("item", item_r1)("ngClass", i0.ɵɵpureFunction2(5, _c1$1, item_r1.disabled, item_r1.children.length > 0));
801
558
  } }
802
559
  const animationClasses = {
803
560
  scale: {
@@ -822,13 +579,13 @@ const animationClasses = {
822
579
  'up,left': 'wmSlideInUp'
823
580
  }
824
581
  };
825
- const DEFAULT_CLS$1 = 'dropdown-menu';
582
+ const DEFAULT_CLS = 'dropdown-menu';
826
583
  class MenuDropdownComponent {
827
584
  constructor(elRef, menuRef) {
828
585
  this.menuRef = menuRef;
829
586
  this.nativeElement = elRef.nativeElement;
830
587
  this.hasExecutedCallback = false;
831
- addClass(this.nativeElement, DEFAULT_CLS$1);
588
+ addClass(this.nativeElement, DEFAULT_CLS);
832
589
  }
833
590
  ngAfterViewInit() {
834
591
  const animateItems = this.menuRef.animateitems;
@@ -888,171 +645,361 @@ class MenuDropdownComponent {
888
645
  observer.observe(target.nativeElement);
889
646
  }
890
647
  static { this.ɵfac = function MenuDropdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuDropdownComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(MenuComponent)); }; }
891
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuDropdownComponent, selectors: [["ul", "wmMenuDropdown", ""]], inputs: { items: "items" }, attrs: _c0, decls: 1, vars: 1, consts: [["wmMenuDropdownItem", "", "role", "menuitem", 3, "item", "ngClass", "class", 4, "ngFor", "ngForOf"], ["wmMenuDropdownItem", "", "role", "menuitem", 3, "item", "ngClass"]], template: function MenuDropdownComponent_Template(rf, ctx) { if (rf & 1) {
892
- i0.ɵɵtemplate(0, MenuDropdownComponent_li_0_Template, 1, 8, "li", 0);
648
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuDropdownComponent, selectors: [["ul", "wmMenuDropdown", ""]], inputs: { items: "items" }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$1, decls: 2, vars: 0, consts: [["wmMenuDropdownItem", "", "role", "menuitem", 3, "item", "ngClass", "class"], ["wmMenuDropdownItem", "", "role", "menuitem", 3, "item", "ngClass"]], template: function MenuDropdownComponent_Template(rf, ctx) { if (rf & 1) {
649
+ i0.ɵɵrepeaterCreate(0, MenuDropdownComponent_For_1_Template, 1, 8, "li", 0, i0.ɵɵrepeaterTrackByIdentity);
893
650
  } if (rf & 2) {
894
- i0.ɵɵproperty("ngForOf", ctx.items);
895
- } }, dependencies: [i3.NgClass, i3.NgForOf, MenuDropdownItemComponent], encapsulation: 2 }); }
651
+ i0.ɵɵrepeater(ctx.items);
652
+ } }, dependencies: [CommonModule, i3.NgClass, WmComponentsModule, MenuDropdownItemComponent], encapsulation: 2 }); }
896
653
  }
897
654
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuDropdownComponent, [{
898
655
  type: Component,
899
- args: [{ selector: 'ul[wmMenuDropdown]', template: "<li wmMenuDropdownItem *ngFor=\"let item of items\"\n [item]=\"item\"\n [ngClass]=\"{disabled: item.disabled, 'dropdown-submenu': item.children.length > 0}\"\n class=\"{{item.class}}\"\n role=\"menuitem\">\n</li>\n" }]
656
+ args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, MenuDropdownItemComponent], selector: 'ul[wmMenuDropdown]', template: "@for (item of items; track item) {\n <li wmMenuDropdownItem\n [item]=\"item\"\n [ngClass]=\"{disabled: item.disabled, 'dropdown-submenu': item.children.length > 0}\"\n class=\"{{item.class}}\"\n role=\"menuitem\">\n </li>\n}\n" }]
900
657
  }], () => [{ type: i0.ElementRef }, { type: MenuComponent }], { items: [{
901
658
  type: Input
902
659
  }] }); })();
903
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuDropdownComponent, { className: "MenuDropdownComponent", filePath: "menu-dropdown/menu-dropdown.component.ts", lineNumber: 37 }); })();
660
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuDropdownComponent, { className: "MenuDropdownComponent", filePath: "menu-dropdown/menu-dropdown.component.ts", lineNumber: 42 }); })();
904
661
 
905
662
  const registerProps = () => {
906
- register('wm-nav-item', new Map([
907
- ['class', PROP_STRING],
663
+ register('wm-menu', new Map([
664
+ ['accessroles', { value: 'Everyone', ...PROP_STRING }],
665
+ ['animateitems', PROP_STRING],
666
+ ['autoclose', { value: 'always', ...PROP_STRING }],
667
+ ['autoopen', { value: 'never', ...PROP_STRING }],
668
+ ['caption', PROP_STRING],
669
+ ['class', PROP_STRING],
670
+ ['dataset', { value: 'Menu Item 1, Menu Item 2, Menu Item 3', ...PROP_ANY }],
671
+ ['hint', { value: '', ...PROP_STRING }],
672
+ ['arialabel', PROP_STRING],
673
+ ['isactive', PROP_STRING],
674
+ ['iconclass', PROP_STRING],
675
+ ['iconposition', { value: 'left', ...PROP_STRING }],
676
+ ['itemaction', PROP_STRING],
677
+ ['itemchildren', PROP_STRING],
678
+ ['itemclass', PROP_STRING],
679
+ ['itemicon', PROP_STRING],
680
+ ['itemlabel', PROP_STRING],
681
+ ['itemlink', PROP_STRING],
682
+ ['itemtarget', PROP_STRING],
683
+ ['linktarget', { value: '_self', ...PROP_STRING }],
684
+ ['menuclass', PROP_STRING],
685
+ ['menulayout', PROP_STRING],
686
+ ['menuposition', PROP_STRING],
908
687
  ['name', PROP_STRING],
909
- ['show', { value: true, ...PROP_BOOLEAN }]
688
+ ['orderby', PROP_STRING],
689
+ ['shortcutkey', PROP_STRING],
690
+ ['show', { value: true, ...PROP_BOOLEAN }],
691
+ ['showonhover', { value: false, ...PROP_BOOLEAN }],
692
+ ['tabindex', { value: 0, ...PROP_NUMBER }],
693
+ ['type', { value: 'menu', ...PROP_STRING }],
694
+ ['userrole', PROP_STRING]
910
695
  ]));
911
696
  };
912
697
 
913
- const DEFAULT_CLS = 'app-nav-item';
914
- const WIDGET_CONFIG = { widgetType: 'wm-nav-item', hostClass: DEFAULT_CLS };
915
- class NavItemDirective extends StylableComponent {
698
+ const _c0 = ["wmMenu", ""];
699
+ const _c1 = a0 => [a0];
700
+ function MenuComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
701
+ i0.ɵɵelement(0, "i")(1, "span", 4)(2, "span");
702
+ } if (rf & 2) {
703
+ const ctx_r0 = i0.ɵɵnextContext();
704
+ i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
705
+ i0.ɵɵadvance();
706
+ i0.ɵɵproperty("textContent", ctx_r0.caption);
707
+ i0.ɵɵadvance();
708
+ i0.ɵɵclassMapInterpolate1("pull-right caret fa ", ctx_r0.menuCaret, "");
709
+ } }
710
+ function MenuComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
711
+ i0.ɵɵelementStart(0, "a", 5);
712
+ i0.ɵɵelement(1, "span", 6);
713
+ i0.ɵɵelementEnd();
714
+ } if (rf & 2) {
715
+ const ctx_r0 = i0.ɵɵnextContext();
716
+ i0.ɵɵclassMapInterpolate1("dropdown-toggle ", ctx_r0.menuclass, "");
717
+ i0.ɵɵattribute("aria-label", ctx_r0.arialabel || "Menu");
718
+ i0.ɵɵadvance();
719
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r0.menuCaret));
720
+ } }
721
+ function MenuComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
722
+ i0.ɵɵelementStart(0, "button", 7);
723
+ i0.ɵɵelement(1, "span", 6);
724
+ i0.ɵɵelementEnd();
725
+ } if (rf & 2) {
726
+ const ctx_r0 = i0.ɵɵnextContext();
727
+ i0.ɵɵclassMapInterpolate1("btn app-button dropdown-toggle ", ctx_r0.menuclass, "");
728
+ i0.ɵɵattribute("aria-label", ctx_r0.arialabel || "Menu");
729
+ i0.ɵɵadvance();
730
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r0.menuCaret));
731
+ } }
732
+ function MenuComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
733
+ i0.ɵɵelement(0, "ul", 8);
734
+ } if (rf & 2) {
735
+ const ctx_r0 = i0.ɵɵnextContext();
736
+ i0.ɵɵclassMapInterpolate1("icon-position-", ctx_r0.iconposition, "");
737
+ i0.ɵɵproperty("items", ctx_r0.nodes)("ngClass", ctx_r0.menulayout);
738
+ } }
739
+ const KEYBOARD_MOVEMENTS = {
740
+ MOVE_UP: 'UP-ARROW',
741
+ MOVE_LEFT: 'LEFT-ARROW',
742
+ MOVE_RIGHT: 'RIGHT-ARROW',
743
+ MOVE_DOWN: 'DOWN-ARROW',
744
+ ON_ENTER: 'ENTER',
745
+ ON_MOUSE_ENTER: 'MOUSE-ENTER',
746
+ ON_MOUSE_LEAVE: 'MOUSE-LEAVE',
747
+ ON_TAB: 'TAB',
748
+ ON_SHIFT_TAB: 'SHIFT-TAB',
749
+ ON_ESCAPE: 'ESC'
750
+ };
751
+ const MENU_POSITION = {
752
+ UP_LEFT: 'up,left',
753
+ UP_RIGHT: 'up,right',
754
+ DOWN_LEFT: 'down,left',
755
+ DOWN_RIGHT: 'down,right',
756
+ INLINE: 'inline'
757
+ };
758
+ const POSITION = {
759
+ DOWN_RIGHT: 'down,right',
760
+ DOWN_LEFT: 'down,left',
761
+ UP_RIGHT: 'up,right',
762
+ UP_LEFT: 'up,left',
763
+ INLINE: 'inline'
764
+ };
765
+ const CARET_CLS = {
766
+ UP: 'fa-caret-up',
767
+ DOWN: 'fa-caret-down'
768
+ };
769
+ const PULL_CLS = {
770
+ LEFT: 'pull-left',
771
+ RIGHT: 'pull-right'
772
+ };
773
+ const AUTO_OPEN = {
774
+ NEVER: 'never',
775
+ ACTIVE_PAGE: 'activepage',
776
+ ALWAYS: 'always'
777
+ };
778
+ const WIDGET_CONFIG = { widgetType: 'wm-menu', hostClass: 'dropdown app-menu' };
779
+ class MenuComponent extends DatasetAwareNavComponent {
916
780
  static { this.initializeProps = registerProps(); }
917
- makeActive() {
918
- const parentNode = this.nativeElement.parentNode;
919
- $(parentNode).find('> li.active').removeClass('active');
920
- if (this.isAttached) {
921
- addClass(this.nativeElement, 'active');
781
+ onShow() {
782
+ this._menuposition = this.menuposition;
783
+ if (this._selectFirstItem) {
784
+ setTimeout(() => {
785
+ this.$element.find('> ul[wmmenudropdown] li.app-menu-item').first().find('> a').focus();
786
+ });
922
787
  }
788
+ $appDigest();
923
789
  }
924
- constructor(inj, explicitContext) {
790
+ onHide() {
791
+ this.$element.find('li').removeClass('open');
792
+ this._selectFirstItem = false;
793
+ // reset the menuposition when dropdown is closed
794
+ this.menuposition = this._menuposition ? this._menuposition : MENU_POSITION.DOWN_RIGHT;
795
+ this.setMenuPosition();
796
+ $appDigest();
797
+ }
798
+ onKeyDown($event, eventAction) {
799
+ const KEY_MOVEMENTS = clone(KEYBOARD_MOVEMENTS);
800
+ if (this.menuposition === MENU_POSITION.UP_RIGHT) {
801
+ KEY_MOVEMENTS.MOVE_UP = 'DOWN-ARROW';
802
+ KEY_MOVEMENTS.MOVE_DOWN = 'UP-ARROW';
803
+ }
804
+ else if (this.menuposition === MENU_POSITION.UP_LEFT) {
805
+ KEY_MOVEMENTS.MOVE_UP = 'DOWN-ARROW';
806
+ KEY_MOVEMENTS.MOVE_DOWN = 'UP-ARROW';
807
+ KEY_MOVEMENTS.MOVE_LEFT = 'RIGHT-ARROW';
808
+ KEY_MOVEMENTS.MOVE_RIGHT = 'LEFT-ARROW';
809
+ }
810
+ else if (this.menuposition === MENU_POSITION.DOWN_LEFT) {
811
+ KEY_MOVEMENTS.MOVE_LEFT = 'RIGHT-ARROW';
812
+ KEY_MOVEMENTS.MOVE_RIGHT = 'LEFT-ARROW';
813
+ }
814
+ if (includes([KEY_MOVEMENTS.MOVE_DOWN, KEY_MOVEMENTS.MOVE_RIGHT], eventAction)) {
815
+ if (!this.bsDropdown.isOpen) {
816
+ this._selectFirstItem = true;
817
+ this.bsDropdown.show();
818
+ }
819
+ else {
820
+ this.$element.find('> ul[wmmenudropdown] li.app-menu-item').first().find('> a').focus();
821
+ }
822
+ }
823
+ else if (eventAction === KEY_MOVEMENTS.ON_ENTER || (eventAction === KEY_MOVEMENTS.ON_MOUSE_ENTER && this.showonhover)) {
824
+ this.bsDropdown.toggle(true);
825
+ }
826
+ else if (includes([KEY_MOVEMENTS.MOVE_UP, KEY_MOVEMENTS.MOVE_LEFT], eventAction) || (eventAction == KEY_MOVEMENTS.ON_MOUSE_LEAVE && this.autoclose == AUTOCLOSE_TYPE.ALWAYS && this.showonhover)) {
827
+ this.bsDropdown.hide();
828
+ }
829
+ $event.preventDefault();
830
+ }
831
+ constructor(inj, route, userDefinedExecutionContext, app, bsDropdown, parentNav, selectEventCB, explicitContext) {
925
832
  super(inj, WIDGET_CONFIG, explicitContext);
926
- styler(this.nativeElement, this, APPLY_STYLES_TYPE.CONTAINER);
833
+ this.route = route;
834
+ this.userDefinedExecutionContext = userDefinedExecutionContext;
835
+ this.app = app;
836
+ this.bsDropdown = bsDropdown;
837
+ this.parentNav = parentNav;
838
+ this.selectEventCB = selectEventCB;
839
+ this.menuCaret = 'fa-caret-down';
840
+ this._selectFirstItem = false;
841
+ if (parentNav) {
842
+ this.disableMenuContext = !!parentNav.disableMenuContext;
843
+ }
844
+ else {
845
+ this.disableMenuContext = !!selectEventCB;
846
+ }
847
+ // For selecting the item on load
848
+ const datasetSubscription = this.nodes$.subscribe(() => {
849
+ if (!isEmpty(this.nodes)) {
850
+ if (hasLinkToCurrentPage(this.nodes, this.route.url)) {
851
+ addClass(this.nativeElement.querySelector('.dropdown-toggle'), 'active');
852
+ }
853
+ // If menu widget is inside nav widget then dont check for item isactive property because these will be handled form nav widget.
854
+ if (this.parentNav) {
855
+ return;
856
+ }
857
+ let itemFound = false;
858
+ const getItem = (nodes) => {
859
+ forEach(nodes, (item) => {
860
+ if (itemFound) {
861
+ return;
862
+ }
863
+ if (item.isactive) {
864
+ itemFound = true;
865
+ this.onMenuItemSelect({ $event: {}, $item: item });
866
+ // Trigger the action associated with active item
867
+ triggerItemAction(this, item);
868
+ return false;
869
+ }
870
+ if (!isEmpty(item.children)) {
871
+ getItem(item.children);
872
+ }
873
+ });
874
+ };
875
+ getItem(this.nodes);
876
+ }
877
+ });
878
+ this.registerDestroyListener(() => datasetSubscription.unsubscribe());
927
879
  }
928
- ngAfterViewInit() {
929
- if (this.innerLink) {
930
- this.innerLink.onActive(() => this.makeActive());
880
+ resetNodes() {
881
+ super.resetNodes();
882
+ // open the menu if any of its menu items has link to current page and if autoopen value is 'active page'
883
+ if ((this.autoopen === AUTO_OPEN.ACTIVE_PAGE && hasLinkToCurrentPage(this.nodes, this.route.url)) || this.autoopen === AUTO_OPEN.ALWAYS) {
884
+ this.bsDropdown.show();
931
885
  }
932
886
  }
933
- ngOnDetach() {
934
- removeClass(this.nativeElement, 'active', true);
935
- super.ngOnDetach();
887
+ ngOnInit() {
888
+ super.ngOnInit();
889
+ this.setMenuPosition();
890
+ const cancelSubscription = this.app.subscribe("highlightActiveLink", (data) => {
891
+ toggleClass(this.nativeElement.querySelector('.dropdown-toggle'), 'active', hasLinkToCurrentPage(this.nodes, this.route.url));
892
+ });
893
+ this.registerDestroyListener(() => cancelSubscription());
936
894
  }
937
- static { this.ɵfac = function NavItemDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavItemDirective)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
938
- static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NavItemDirective, selectors: [["", "wmNavItem", ""]], contentQueries: function NavItemDirective_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
939
- i0.ɵɵcontentQuery(dirIndex, AnchorComponent, 5);
895
+ onPropertyChange(key, nv, ov) {
896
+ if (key === 'tabindex') {
897
+ return;
898
+ }
899
+ if (key === 'autoclose') {
900
+ this.bsDropdown.autoClose = nv !== AUTOCLOSE_TYPE.DISABLED;
901
+ this.autoclose = nv;
902
+ }
903
+ else {
904
+ super.onPropertyChange(key, nv, ov);
905
+ }
906
+ }
907
+ setMenuPosition() {
908
+ switch (this.menuposition) {
909
+ case POSITION.DOWN_RIGHT:
910
+ removeClass(this.nativeElement, 'dropup');
911
+ this.menualign = PULL_CLS.LEFT;
912
+ this.menuCaret = CARET_CLS.DOWN;
913
+ break;
914
+ case POSITION.DOWN_LEFT:
915
+ removeClass(this.nativeElement, 'dropup');
916
+ this.menualign = PULL_CLS.RIGHT;
917
+ this.menuCaret = CARET_CLS.DOWN;
918
+ break;
919
+ case POSITION.UP_LEFT:
920
+ addClass(this.nativeElement, 'dropup');
921
+ this.menualign = PULL_CLS.RIGHT;
922
+ this.menuCaret = CARET_CLS.UP;
923
+ break;
924
+ case POSITION.UP_RIGHT:
925
+ addClass(this.nativeElement, 'dropup');
926
+ this.menualign = PULL_CLS.LEFT;
927
+ this.menuCaret = CARET_CLS.UP;
928
+ break;
929
+ case POSITION.INLINE:
930
+ this.menualign = 'dropinline-menu';
931
+ break;
932
+ }
933
+ }
934
+ onMenuItemSelect(args) {
935
+ const { $event } = args;
936
+ const $item = args.$item.value;
937
+ this.invokeEventCallback('select', { $event, $item });
938
+ }
939
+ ngAfterViewInit() {
940
+ super.ngAfterViewInit();
941
+ styler(this.nativeElement.querySelector('.dropdown-toggle'), this);
942
+ }
943
+ static { this.ɵfac = function MenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext), i0.ɵɵdirectiveInject(i2.App), i0.ɵɵdirectiveInject(i3$1.BsDropdownDirective, 10), i0.ɵɵdirectiveInject(NavComponent, 8), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
944
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent, selectors: [["", "wmMenu", ""]], hostBindings: function MenuComponent_HostBindings(rf, ctx) { if (rf & 1) {
945
+ i0.ɵɵlistener("onShown", function MenuComponent_onShown_HostBindingHandler() { return ctx.onShow(); })("onHidden", function MenuComponent_onHidden_HostBindingHandler() { return ctx.onHide(); })("keydown.arrowup", function MenuComponent_keydown_arrowup_HostBindingHandler($event) { return ctx.onKeyDown($event, "UP-ARROW"); })("mouseenter", function MenuComponent_mouseenter_HostBindingHandler($event) { return ctx.onKeyDown($event, "MOUSE-ENTER"); })("mouseleave", function MenuComponent_mouseleave_HostBindingHandler($event) { return ctx.onKeyDown($event, "MOUSE-LEAVE"); })("keydown.arrowdown", function MenuComponent_keydown_arrowdown_HostBindingHandler($event) { return ctx.onKeyDown($event, "DOWN-ARROW"); })("keydown.arrowright", function MenuComponent_keydown_arrowright_HostBindingHandler($event) { return ctx.onKeyDown($event, "RIGHT-ARROW"); })("keydown.arrowleft", function MenuComponent_keydown_arrowleft_HostBindingHandler($event) { return ctx.onKeyDown($event, "LEFT-ARROW"); })("keydown.enter", function MenuComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
946
+ } }, standalone: true, features: [i0.ɵɵProvidersFeature([
947
+ provideAsWidgetRef(MenuComponent)
948
+ ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], attrs: _c0, decls: 5, vars: 1, consts: [["innerTemplate", ""], ["wmAnchor", "", "dropdownToggle", "", "href", "javascript:void(0);", "role", "button", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition", "badgevalue.bind", "badgevalue", 3, "class"], ["wmButton", "", "dropdownToggle", "", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition", 3, "class"], ["role", "menubar", "wmMenuDropdown", "", 3, "items", "ngClass", "class", 4, "dropdownMenu"], [1, "caption", 3, "textContent"], ["wmAnchor", "", "dropdownToggle", "", "href", "javascript:void(0);", "role", "button", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition", "badgevalue.bind", "badgevalue"], [1, "pull-right", "caret", "fa", 3, "ngClass"], ["wmButton", "", "dropdownToggle", "", "aria-haspopup", "true", "aria-expanded", "false", "hint.bind", "hint", "shortcutkey.bind", "shortcutkey", "tabindex.bind", "tabindex", "caption.bind", "caption", "iconclass.bind", "iconclass", "iconposition.bind", "iconposition"], ["role", "menubar", "wmMenuDropdown", "", 3, "items", "ngClass"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) {
949
+ i0.ɵɵtemplate(0, MenuComponent_ng_template_0_Template, 3, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, MenuComponent_Conditional_2_Template, 2, 7, "a", 1)(3, MenuComponent_Conditional_3_Template, 2, 7, "button", 2)(4, MenuComponent_ul_4_Template, 1, 5, "ul", 3);
940
950
  } if (rf & 2) {
941
- let _t;
942
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.innerLink = _t.first);
943
- } }, hostBindings: function NavItemDirective_HostBindings(rf, ctx) { if (rf & 1) {
944
- i0.ɵɵlistener("click", function NavItemDirective_click_HostBindingHandler() { return ctx.makeActive(); })("keydown.enter", function NavItemDirective_keydown_enter_HostBindingHandler() { return ctx.makeActive(); });
945
- } }, exportAs: ["navItemRef"], features: [i0.ɵɵProvidersFeature([
946
- provideAsWidgetRef(NavItemDirective)
947
- ]), i0.ɵɵInheritDefinitionFeature] }); }
951
+ i0.ɵɵadvance(2);
952
+ i0.ɵɵconditional(ctx.type === "anchor" ? 2 : 3);
953
+ } }, dependencies: [CommonModule, i3.NgClass, WmComponentsModule, i5.TextContentDirective, AnchorComponent, ButtonComponent, MenuDropdownComponent, BsDropdownModule, i3$1.BsDropdownMenuDirective, i3$1.BsDropdownToggleDirective], encapsulation: 2 }); }
948
954
  }
949
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavItemDirective, [{
950
- type: Directive,
951
- args: [{
952
- selector: '[wmNavItem]',
953
- exportAs: 'navItemRef',
954
- providers: [
955
- provideAsWidgetRef(NavItemDirective)
956
- ]
957
- }]
958
- }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
955
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuComponent, [{
956
+ type: Component,
957
+ args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, AnchorComponent, ButtonComponent, MenuDropdownComponent, BsDropdownModule], selector: '[wmMenu]', providers: [
958
+ provideAsWidgetRef(MenuComponent)
959
+ ], template: "\n\n<ng-template #innerTemplate>\n <i class=\"app-icon {{iconclass}}\"></i>\n <span class=\"caption\" [textContent]=\"caption\"></span>\n <span class=\"pull-right caret fa {{menuCaret}}\"></span>\n</ng-template>\n\n@if (type === 'anchor') {\n <a wmAnchor\n dropdownToggle\n [attr.aria-label]=\"arialabel || 'Menu'\"\n href=\"javascript:void(0);\"\n role=\"button\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n hint.bind=\"hint\"\n class=\"dropdown-toggle {{menuclass}}\"\n shortcutkey.bind=\"shortcutkey\"\n tabindex.bind=\"tabindex\"\n caption.bind=\"caption\"\n iconclass.bind=\"iconclass\"\n iconposition.bind=\"iconposition\"\n badgevalue.bind=\"badgevalue\"\n >\n <span class=\"pull-right caret fa\" [ngClass]=\"[menuCaret]\"></span>\n </a>\n} @else {\n <button wmButton\n dropdownToggle\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n [attr.aria-label]=\"arialabel || 'Menu'\"\n class=\"btn app-button dropdown-toggle {{menuclass}}\"\n hint.bind=\"hint\"\n shortcutkey.bind=\"shortcutkey\"\n tabindex.bind=\"tabindex\"\n caption.bind=\"caption\"\n iconclass.bind=\"iconclass\"\n iconposition.bind=\"iconposition\">\n <span class=\"pull-right caret fa\" [ngClass]=\"[menuCaret]\"></span>\n </button>\n}\n\n<ul *dropdownMenu [items]=\"nodes\" [ngClass]=\"menulayout\" class=\"icon-position-{{iconposition}}\" role=\"menubar\"\nwmMenuDropdown></ul>\n" }]
960
+ }], () => [{ type: i0.Injector }, { type: i1.Router }, { type: i2.UserDefinedExecutionContext }, { type: i2.App }, { type: i3$1.BsDropdownDirective, decorators: [{
961
+ type: Self
962
+ }, {
963
+ type: Optional
964
+ }] }, { type: NavComponent, decorators: [{
965
+ type: Optional
966
+ }] }, { type: undefined, decorators: [{
967
+ type: Attribute,
968
+ args: ['select.event']
969
+ }] }, { type: undefined, decorators: [{
959
970
  type: Inject,
960
971
  args: ['EXPLICIT_CONTEXT']
961
972
  }, {
962
973
  type: Optional
963
- }] }], { innerLink: [{
964
- type: ContentChild,
965
- args: [AnchorComponent]
966
- }], makeActive: [{
974
+ }] }], { onShow: [{
967
975
  type: HostListener,
968
- args: ['click']
976
+ args: ['onShown']
977
+ }], onHide: [{
978
+ type: HostListener,
979
+ args: ['onHidden']
980
+ }], onKeyDown: [{
981
+ type: HostListener,
982
+ args: ['keydown.arrowup', ['$event', '"UP-ARROW"']]
969
983
  }, {
970
984
  type: HostListener,
971
- args: ['keydown.enter']
972
- }] }); })();
973
-
974
- const disableContextMenu = ($event) => {
975
- $event.preventDefault();
976
- };
977
- class NavigationControlDirective {
978
- set wmNavigationControl(val) {
979
- this._link = val;
980
- if (val && !this.disableMenuContext) {
981
- setAttr(this.nativeElement, 'href', val);
982
- this.nativeElement.removeEventListener('contextmenu', disableContextMenu);
983
- }
984
- else {
985
- setAttr(this.nativeElement, 'href', 'javascript:void(0)');
986
- this.nativeElement.addEventListener('contextmenu', disableContextMenu);
987
- }
988
- }
989
- constructor(eleRef) {
990
- this.nativeElement = eleRef.nativeElement;
991
- }
992
- static { this.ɵfac = function NavigationControlDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationControlDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
993
- static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NavigationControlDirective, selectors: [["", "wmNavigationControl", ""]], inputs: { disableMenuContext: "disableMenuContext", wmNavigationControl: "wmNavigationControl" } }); }
994
- }
995
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationControlDirective, [{
996
- type: Directive,
997
- args: [{ selector: '[wmNavigationControl]' }]
998
- }], () => [{ type: i0.ElementRef }], { disableMenuContext: [{
999
- type: Input
1000
- }], wmNavigationControl: [{
1001
- type: Input
985
+ args: ['mouseenter', ['$event', '"MOUSE-ENTER"']]
986
+ }, {
987
+ type: HostListener,
988
+ args: ['mouseleave', ['$event', '"MOUSE-LEAVE"']]
989
+ }, {
990
+ type: HostListener,
991
+ args: ['keydown.arrowdown', ['$event', '"DOWN-ARROW"']]
992
+ }, {
993
+ type: HostListener,
994
+ args: ['keydown.arrowright', ['$event', '"RIGHT-ARROW"']]
995
+ }, {
996
+ type: HostListener,
997
+ args: ['keydown.arrowleft', ['$event', '"LEFT-ARROW"']]
998
+ }, {
999
+ type: HostListener,
1000
+ args: ['keydown.enter', ['$event', '"ENTER"']]
1002
1001
  }] }); })();
1003
-
1004
- const components = [
1005
- MenuComponent,
1006
- MenuDropdownComponent,
1007
- MenuDropdownItemComponent,
1008
- NavigationControlDirective,
1009
- NavComponent,
1010
- NavItemDirective
1011
- ];
1012
- class MenuModule {
1013
- static { this.ɵfac = function MenuModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuModule)(); }; }
1014
- static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MenuModule }); }
1015
- static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [BasicModule,
1016
- BsDropdownModule,
1017
- CommonModule,
1018
- InputModule,
1019
- WmComponentsModule] }); }
1020
- }
1021
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuModule, [{
1022
- type: NgModule,
1023
- args: [{
1024
- imports: [
1025
- BasicModule,
1026
- BsDropdownModule,
1027
- CommonModule,
1028
- InputModule,
1029
- WmComponentsModule
1030
- ],
1031
- declarations: [...components],
1032
- exports: [...components]
1033
- }]
1034
- }], null, null); })();
1035
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MenuModule, { declarations: [MenuComponent,
1036
- MenuDropdownComponent,
1037
- MenuDropdownItemComponent,
1038
- NavigationControlDirective,
1039
- NavComponent,
1040
- NavItemDirective], imports: [BasicModule,
1041
- BsDropdownModule,
1042
- CommonModule,
1043
- InputModule,
1044
- WmComponentsModule], exports: [MenuComponent,
1045
- MenuDropdownComponent,
1046
- MenuDropdownItemComponent,
1047
- NavigationControlDirective,
1048
- NavComponent,
1049
- NavItemDirective] }); })();
1050
- i0.ɵɵsetComponentScope(MenuComponent, [i1$1.AnchorComponent, i2$1.BsDropdownMenuDirective, i2$1.BsDropdownToggleDirective, i3.NgClass, i3.NgIf, i4.ButtonComponent, i5.TextContentDirective, MenuDropdownComponent], []);
1051
- i0.ɵɵsetComponentScope(MenuDropdownItemComponent, [i3.NgIf, i3.NgTemplateOutlet, i5.TextContentDirective, MenuDropdownComponent,
1052
- NavigationControlDirective], []);
1053
- i0.ɵɵsetComponentScope(NavComponent, [i1$1.AnchorComponent, i2$1.BsDropdownDirective, i3.NgClass, i3.NgForOf, i3.NgIf, i3.NgTemplateOutlet, MenuComponent,
1054
- NavigationControlDirective,
1055
- NavItemDirective], []);
1002
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuComponent, { className: "MenuComponent", filePath: "menu.component.ts", lineNumber: 96 }); })();
1056
1003
 
1057
1004
  const menuProps = ['itemlabel', 'itemicon', 'itemlink', 'itemaction', 'itemchildren', 'userrole'];
1058
1005
  class MenuAdapterComponent extends BaseContainerComponent {
@@ -1124,5 +1071,5 @@ class MenuAdapterComponent extends BaseContainerComponent {
1124
1071
  * Generated bundle index. Do not edit.
1125
1072
  */
1126
1073
 
1127
- export { KEYBOARD_MOVEMENTS, MENU_POSITION, MenuAdapterComponent, MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, MenuModule, NavComponent, NavItemDirective, NavigationControlDirective, disableContextMenu };
1074
+ export { KEYBOARD_MOVEMENTS, MENU_POSITION, MenuAdapterComponent, MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavComponent, NavItemDirective, NavigationControlDirective, disableContextMenu };
1128
1075
  //# sourceMappingURL=index.mjs.map