@wavemaker/app-ng-runtime 11.4.1-next.141652 → 11.4.1-next.141654

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 (504) hide show
  1. app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +12 -23
  2. app-ng-runtime/components/advanced/carousel/carousel-template/carousel-template.directive.d.ts +2 -4
  3. app-ng-runtime/components/advanced/carousel/carousel.directive.d.ts +2 -4
  4. app-ng-runtime/components/advanced/carousel/esm2020/carousel-template/carousel-template.directive.mjs +6 -11
  5. app-ng-runtime/components/advanced/carousel/esm2020/carousel.directive.mjs +6 -11
  6. app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs +9 -20
  7. app-ng-runtime/components/advanced/carousel/fesm2015/index.mjs.map +1 -1
  8. app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs +9 -16
  9. app-ng-runtime/components/advanced/carousel/fesm2020/index.mjs.map +1 -1
  10. app-ng-runtime/components/advanced/login/bundles/index.umd.js +21 -27
  11. app-ng-runtime/components/advanced/login/esm2020/login.component.mjs +8 -13
  12. app-ng-runtime/components/advanced/login/fesm2015/index.mjs +7 -13
  13. app-ng-runtime/components/advanced/login/fesm2015/index.mjs.map +1 -1
  14. app-ng-runtime/components/advanced/login/fesm2020/index.mjs +7 -11
  15. app-ng-runtime/components/advanced/login/fesm2020/index.mjs.map +1 -1
  16. app-ng-runtime/components/advanced/login/login.component.d.ts +2 -4
  17. app-ng-runtime/components/advanced/marquee/bundles/index.umd.js +8 -14
  18. app-ng-runtime/components/advanced/marquee/esm2020/marquee.directive.mjs +6 -11
  19. app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs +5 -11
  20. app-ng-runtime/components/advanced/marquee/fesm2015/index.mjs.map +1 -1
  21. app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs +5 -9
  22. app-ng-runtime/components/advanced/marquee/fesm2020/index.mjs.map +1 -1
  23. app-ng-runtime/components/advanced/marquee/marquee.directive.d.ts +2 -4
  24. app-ng-runtime/components/base/bundles/index.umd.js +31 -61
  25. app-ng-runtime/components/base/esm2020/widgets/common/base/base-container.component.mjs +4 -6
  26. app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +5 -6
  27. app-ng-runtime/components/base/esm2020/widgets/common/base/dataset-aware-nav.component.mjs +3 -3
  28. app-ng-runtime/components/base/esm2020/widgets/common/container/container.directive.mjs +7 -11
  29. app-ng-runtime/components/base/esm2020/widgets/common/item-template/item-template.directive.mjs +7 -10
  30. app-ng-runtime/components/base/esm2020/widgets/common/lazy-load/lazy-load.directive.mjs +6 -10
  31. app-ng-runtime/components/base/esm2020/widgets/common/message/message.component.mjs +7 -11
  32. app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +7 -10
  33. app-ng-runtime/components/base/esm2020/widgets/common/repeat-template/repeat-template.directive.mjs +6 -11
  34. app-ng-runtime/components/base/fesm2015/index.mjs +32 -62
  35. app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
  36. app-ng-runtime/components/base/fesm2020/index.mjs +32 -50
  37. app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
  38. app-ng-runtime/components/base/widgets/common/base/base-container.component.d.ts +1 -2
  39. app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +2 -3
  40. app-ng-runtime/components/base/widgets/common/base/dataset-aware-nav.component.d.ts +1 -2
  41. app-ng-runtime/components/base/widgets/common/container/container.directive.d.ts +2 -4
  42. app-ng-runtime/components/base/widgets/common/item-template/item-template.directive.d.ts +3 -4
  43. app-ng-runtime/components/base/widgets/common/lazy-load/lazy-load.directive.d.ts +2 -4
  44. app-ng-runtime/components/base/widgets/common/message/message.component.d.ts +2 -4
  45. app-ng-runtime/components/base/widgets/common/partial/partial.directive.d.ts +3 -4
  46. app-ng-runtime/components/base/widgets/common/repeat-template/repeat-template.directive.d.ts +2 -4
  47. app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +3 -4
  48. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +2 -4
  49. app-ng-runtime/components/basic/default/bundles/index.umd.js +247 -290
  50. app-ng-runtime/components/basic/default/esm2020/anchor/anchor.component.mjs +7 -10
  51. app-ng-runtime/components/basic/default/esm2020/audio/audio.component.mjs +8 -13
  52. app-ng-runtime/components/basic/default/esm2020/html/html.directive.mjs +7 -11
  53. app-ng-runtime/components/basic/default/esm2020/icon/icon.component.mjs +9 -14
  54. app-ng-runtime/components/basic/default/esm2020/iframe/iframe.component.mjs +9 -13
  55. app-ng-runtime/components/basic/default/esm2020/label/label.directive.mjs +7 -11
  56. app-ng-runtime/components/basic/default/esm2020/picture/picture.directive.mjs +7 -11
  57. app-ng-runtime/components/basic/default/esm2020/spinner/spinner.component.mjs +9 -13
  58. app-ng-runtime/components/basic/default/esm2020/video/video.component.mjs +9 -13
  59. app-ng-runtime/components/basic/default/fesm2015/index.mjs +46 -89
  60. app-ng-runtime/components/basic/default/fesm2015/index.mjs.map +1 -1
  61. app-ng-runtime/components/basic/default/fesm2020/index.mjs +46 -73
  62. app-ng-runtime/components/basic/default/fesm2020/index.mjs.map +1 -1
  63. app-ng-runtime/components/basic/default/html/html.directive.d.ts +2 -4
  64. app-ng-runtime/components/basic/default/icon/icon.component.d.ts +2 -4
  65. app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +2 -4
  66. app-ng-runtime/components/basic/default/label/label.directive.d.ts +2 -4
  67. app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -4
  68. app-ng-runtime/components/basic/default/spinner/spinner.component.d.ts +2 -4
  69. app-ng-runtime/components/basic/default/video/video.component.d.ts +2 -4
  70. app-ng-runtime/components/basic/progress/bundles/index.umd.js +23 -32
  71. app-ng-runtime/components/basic/progress/esm2020/progress-bar/progress-bar.component.mjs +8 -12
  72. app-ng-runtime/components/basic/progress/esm2020/progress-circle/progress-circle.component.mjs +8 -13
  73. app-ng-runtime/components/basic/progress/fesm2015/index.mjs +12 -21
  74. app-ng-runtime/components/basic/progress/fesm2015/index.mjs.map +1 -1
  75. app-ng-runtime/components/basic/progress/fesm2020/index.mjs +12 -19
  76. app-ng-runtime/components/basic/progress/fesm2020/index.mjs.map +1 -1
  77. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +2 -4
  78. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -4
  79. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +14 -20
  80. app-ng-runtime/components/basic/rich-text-editor/esm2020/rich-text-editor.component.mjs +9 -13
  81. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs +7 -13
  82. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.mjs.map +1 -1
  83. app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs +7 -11
  84. app-ng-runtime/components/basic/rich-text-editor/fesm2020/index.mjs.map +1 -1
  85. app-ng-runtime/components/basic/rich-text-editor/rich-text-editor.component.d.ts +2 -4
  86. app-ng-runtime/components/basic/search/bundles/index.umd.js +3 -6
  87. app-ng-runtime/components/basic/search/esm2020/search.component.mjs +6 -9
  88. app-ng-runtime/components/basic/search/fesm2015/index.mjs +4 -7
  89. app-ng-runtime/components/basic/search/fesm2015/index.mjs.map +1 -1
  90. app-ng-runtime/components/basic/search/fesm2020/index.mjs +4 -7
  91. app-ng-runtime/components/basic/search/fesm2020/index.mjs.map +1 -1
  92. app-ng-runtime/components/basic/search/search.component.d.ts +3 -4
  93. app-ng-runtime/components/chart/bundles/index.umd.js +4 -9
  94. app-ng-runtime/components/chart/chart.component.d.ts +3 -4
  95. app-ng-runtime/components/chart/esm2020/chart.component.mjs +7 -10
  96. app-ng-runtime/components/chart/fesm2015/index.mjs +5 -10
  97. app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
  98. app-ng-runtime/components/chart/fesm2020/index.mjs +5 -8
  99. app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
  100. app-ng-runtime/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -4
  101. app-ng-runtime/components/containers/accordion/accordion.directive.d.ts +3 -4
  102. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +56 -66
  103. app-ng-runtime/components/containers/accordion/esm2020/accordion-pane/accordion-pane.component.mjs +10 -14
  104. app-ng-runtime/components/containers/accordion/esm2020/accordion.directive.mjs +7 -10
  105. app-ng-runtime/components/containers/accordion/fesm2015/index.mjs +12 -22
  106. app-ng-runtime/components/containers/accordion/fesm2015/index.mjs.map +1 -1
  107. app-ng-runtime/components/containers/accordion/fesm2020/index.mjs +12 -18
  108. app-ng-runtime/components/containers/accordion/fesm2020/index.mjs.map +1 -1
  109. app-ng-runtime/components/containers/layout-grid/bundles/index.umd.js +12 -25
  110. app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-column/layout-grid-column.directive.mjs +7 -10
  111. app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid-row/layout-grid-row.directive.mjs +6 -11
  112. app-ng-runtime/components/containers/layout-grid/esm2020/layout-grid.directive.mjs +6 -11
  113. app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs +13 -26
  114. app-ng-runtime/components/containers/layout-grid/fesm2015/index.mjs.map +1 -1
  115. app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs +13 -22
  116. app-ng-runtime/components/containers/layout-grid/fesm2020/index.mjs.map +1 -1
  117. app-ng-runtime/components/containers/layout-grid/layout-grid-column/layout-grid-column.directive.d.ts +3 -4
  118. app-ng-runtime/components/containers/layout-grid/layout-grid-row/layout-grid-row.directive.d.ts +2 -4
  119. app-ng-runtime/components/containers/layout-grid/layout-grid.directive.d.ts +2 -4
  120. app-ng-runtime/components/containers/linear-layout/bundles/index.umd.js +12 -23
  121. app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout-item/linear-layout-item.directive.mjs +6 -11
  122. app-ng-runtime/components/containers/linear-layout/esm2020/linear-layout.directive.mjs +6 -11
  123. app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs +9 -20
  124. app-ng-runtime/components/containers/linear-layout/fesm2015/index.mjs.map +1 -1
  125. app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs +9 -16
  126. app-ng-runtime/components/containers/linear-layout/fesm2020/index.mjs.map +1 -1
  127. app-ng-runtime/components/containers/linear-layout/linear-layout-item/linear-layout-item.directive.d.ts +2 -4
  128. app-ng-runtime/components/containers/linear-layout/linear-layout.directive.d.ts +2 -4
  129. app-ng-runtime/components/containers/panel/bundles/index.umd.js +65 -71
  130. app-ng-runtime/components/containers/panel/esm2020/panel.component.mjs +12 -16
  131. app-ng-runtime/components/containers/panel/fesm2015/index.mjs +10 -16
  132. app-ng-runtime/components/containers/panel/fesm2015/index.mjs.map +1 -1
  133. app-ng-runtime/components/containers/panel/fesm2020/index.mjs +10 -14
  134. app-ng-runtime/components/containers/panel/fesm2020/index.mjs.map +1 -1
  135. app-ng-runtime/components/containers/panel/panel.component.d.ts +2 -4
  136. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +57 -63
  137. app-ng-runtime/components/containers/tabs/esm2020/tab-pane/tab-pane.component.mjs +8 -12
  138. app-ng-runtime/components/containers/tabs/esm2020/tabs.component.mjs +7 -10
  139. app-ng-runtime/components/containers/tabs/fesm2015/index.mjs +12 -18
  140. app-ng-runtime/components/containers/tabs/fesm2015/index.mjs.map +1 -1
  141. app-ng-runtime/components/containers/tabs/fesm2020/index.mjs +12 -18
  142. app-ng-runtime/components/containers/tabs/fesm2020/index.mjs.map +1 -1
  143. app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -4
  144. app-ng-runtime/components/containers/tabs/tabs.component.d.ts +3 -4
  145. app-ng-runtime/components/containers/tile/bundles/index.umd.js +8 -14
  146. app-ng-runtime/components/containers/tile/esm2020/tile.directive.mjs +6 -11
  147. app-ng-runtime/components/containers/tile/fesm2015/index.mjs +5 -11
  148. app-ng-runtime/components/containers/tile/fesm2015/index.mjs.map +1 -1
  149. app-ng-runtime/components/containers/tile/fesm2020/index.mjs +5 -9
  150. app-ng-runtime/components/containers/tile/fesm2020/index.mjs.map +1 -1
  151. app-ng-runtime/components/containers/tile/tile.directive.d.ts +2 -4
  152. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +48 -57
  153. app-ng-runtime/components/containers/wizard/esm2020/wizard-step/wizard-step.directive.mjs +5 -10
  154. app-ng-runtime/components/containers/wizard/esm2020/wizard.component.mjs +10 -14
  155. app-ng-runtime/components/containers/wizard/fesm2015/index.mjs +11 -20
  156. app-ng-runtime/components/containers/wizard/fesm2015/index.mjs.map +1 -1
  157. app-ng-runtime/components/containers/wizard/fesm2020/index.mjs +11 -18
  158. app-ng-runtime/components/containers/wizard/fesm2020/index.mjs.map +1 -1
  159. app-ng-runtime/components/containers/wizard/wizard-step/wizard-step.directive.d.ts +2 -4
  160. app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -4
  161. app-ng-runtime/components/data/card/bundles/index.umd.js +83 -106
  162. app-ng-runtime/components/data/card/card-actions/card-actions.directive.d.ts +2 -4
  163. app-ng-runtime/components/data/card/card-content/card-content.component.d.ts +2 -4
  164. app-ng-runtime/components/data/card/card-footer/card-footer.directive.d.ts +2 -4
  165. app-ng-runtime/components/data/card/card.component.d.ts +2 -4
  166. app-ng-runtime/components/data/card/esm2020/card-actions/card-actions.directive.mjs +6 -11
  167. app-ng-runtime/components/data/card/esm2020/card-content/card-content.component.mjs +6 -11
  168. app-ng-runtime/components/data/card/esm2020/card-footer/card-footer.directive.mjs +6 -11
  169. app-ng-runtime/components/data/card/esm2020/card.component.mjs +12 -18
  170. app-ng-runtime/components/data/card/fesm2015/index.mjs +23 -46
  171. app-ng-runtime/components/data/card/fesm2015/index.mjs.map +1 -1
  172. app-ng-runtime/components/data/card/fesm2020/index.mjs +23 -38
  173. app-ng-runtime/components/data/card/fesm2020/index.mjs.map +1 -1
  174. app-ng-runtime/components/data/form/bundles/index.umd.js +128 -137
  175. app-ng-runtime/components/data/form/esm2020/form-action/form-action.directive.mjs +4 -9
  176. app-ng-runtime/components/data/form/esm2020/form-field/form-field.directive.mjs +5 -8
  177. app-ng-runtime/components/data/form/esm2020/form.component.mjs +5 -8
  178. app-ng-runtime/components/data/form/fesm2015/index.mjs +20 -29
  179. app-ng-runtime/components/data/form/fesm2015/index.mjs.map +1 -1
  180. app-ng-runtime/components/data/form/fesm2020/index.mjs +20 -29
  181. app-ng-runtime/components/data/form/fesm2020/index.mjs.map +1 -1
  182. app-ng-runtime/components/data/form/form-action/form-action.directive.d.ts +2 -4
  183. app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -4
  184. app-ng-runtime/components/data/form/form.component.d.ts +3 -4
  185. app-ng-runtime/components/data/list/bundles/index.umd.js +4 -7
  186. app-ng-runtime/components/data/list/esm2020/list.component.mjs +7 -10
  187. app-ng-runtime/components/data/list/fesm2015/index.mjs +4 -7
  188. app-ng-runtime/components/data/list/fesm2015/index.mjs.map +1 -1
  189. app-ng-runtime/components/data/list/fesm2020/index.mjs +4 -7
  190. app-ng-runtime/components/data/list/fesm2020/index.mjs.map +1 -1
  191. app-ng-runtime/components/data/list/list.component.d.ts +3 -4
  192. app-ng-runtime/components/data/live-table/bundles/index.umd.js +3 -6
  193. app-ng-runtime/components/data/live-table/esm2020/live-table.component.mjs +6 -9
  194. app-ng-runtime/components/data/live-table/fesm2015/index.mjs +4 -7
  195. app-ng-runtime/components/data/live-table/fesm2015/index.mjs.map +1 -1
  196. app-ng-runtime/components/data/live-table/fesm2020/index.mjs +4 -7
  197. app-ng-runtime/components/data/live-table/fesm2020/index.mjs.map +1 -1
  198. app-ng-runtime/components/data/live-table/live-table.component.d.ts +3 -4
  199. app-ng-runtime/components/data/pagination/bundles/index.umd.js +30 -34
  200. app-ng-runtime/components/data/pagination/esm2020/pagination.component.mjs +10 -14
  201. app-ng-runtime/components/data/pagination/fesm2015/index.mjs +8 -12
  202. app-ng-runtime/components/data/pagination/fesm2015/index.mjs.map +1 -1
  203. app-ng-runtime/components/data/pagination/fesm2020/index.mjs +8 -12
  204. app-ng-runtime/components/data/pagination/fesm2020/index.mjs.map +1 -1
  205. app-ng-runtime/components/data/pagination/pagination.component.d.ts +2 -4
  206. app-ng-runtime/components/data/table/bundles/index.umd.js +19 -37
  207. app-ng-runtime/components/data/table/esm2020/table-action/table-action.directive.mjs +4 -9
  208. app-ng-runtime/components/data/table/esm2020/table-column/table-column.directive.mjs +5 -8
  209. app-ng-runtime/components/data/table/esm2020/table-column-group/table-column-group.directive.mjs +4 -9
  210. app-ng-runtime/components/data/table/esm2020/table-row/table-row.directive.mjs +4 -9
  211. app-ng-runtime/components/data/table/esm2020/table-row-action/table-row-action.directive.mjs +4 -9
  212. app-ng-runtime/components/data/table/esm2020/table.component.mjs +6 -9
  213. app-ng-runtime/components/data/table/fesm2015/index.mjs +19 -37
  214. app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
  215. app-ng-runtime/components/data/table/fesm2020/index.mjs +19 -37
  216. app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
  217. app-ng-runtime/components/data/table/table-action/table-action.directive.d.ts +2 -4
  218. app-ng-runtime/components/data/table/table-column/table-column.directive.d.ts +3 -4
  219. app-ng-runtime/components/data/table/table-column-group/table-column-group.directive.d.ts +2 -4
  220. app-ng-runtime/components/data/table/table-row/table-row.directive.d.ts +2 -4
  221. app-ng-runtime/components/data/table/table-row-action/table-row-action.directive.d.ts +2 -4
  222. app-ng-runtime/components/data/table/table.component.d.ts +3 -4
  223. app-ng-runtime/components/dialogs/alert-dialog/alert-dialog.component.d.ts +2 -4
  224. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +40 -46
  225. app-ng-runtime/components/dialogs/alert-dialog/esm2020/alert-dialog.component.mjs +9 -15
  226. app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs +8 -14
  227. app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.mjs.map +1 -1
  228. app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs +8 -14
  229. app-ng-runtime/components/dialogs/alert-dialog/fesm2020/index.mjs.map +1 -1
  230. app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +16 -22
  231. app-ng-runtime/components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -4
  232. app-ng-runtime/components/dialogs/confirm-dialog/esm2020/confirm-dialog.component.mjs +8 -14
  233. app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs +7 -13
  234. app-ng-runtime/components/dialogs/confirm-dialog/fesm2015/index.mjs.map +1 -1
  235. app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs +7 -13
  236. app-ng-runtime/components/dialogs/confirm-dialog/fesm2020/index.mjs.map +1 -1
  237. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -2
  238. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +25 -31
  239. app-ng-runtime/components/dialogs/default/dialog-footer/dialog-footer.directive.d.ts +2 -4
  240. app-ng-runtime/components/dialogs/default/esm2020/base-dialog.mjs +7 -8
  241. app-ng-runtime/components/dialogs/default/esm2020/dialog-footer/dialog-footer.directive.mjs +6 -11
  242. app-ng-runtime/components/dialogs/default/fesm2015/index.mjs +11 -17
  243. app-ng-runtime/components/dialogs/default/fesm2015/index.mjs.map +1 -1
  244. app-ng-runtime/components/dialogs/default/fesm2020/index.mjs +11 -15
  245. app-ng-runtime/components/dialogs/default/fesm2020/index.mjs.map +1 -1
  246. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +17 -23
  247. app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +2 -4
  248. app-ng-runtime/components/dialogs/design-dialog/esm2020/dialog.component.mjs +8 -14
  249. app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs +7 -13
  250. app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.mjs.map +1 -1
  251. app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs +7 -13
  252. app-ng-runtime/components/dialogs/design-dialog/fesm2020/index.mjs.map +1 -1
  253. app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -30
  254. app-ng-runtime/components/dialogs/iframe-dialog/esm2020/iframe-dialog.component.mjs +10 -16
  255. app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs +9 -15
  256. app-ng-runtime/components/dialogs/iframe-dialog/fesm2015/index.mjs.map +1 -1
  257. app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs +9 -15
  258. app-ng-runtime/components/dialogs/iframe-dialog/fesm2020/index.mjs.map +1 -1
  259. app-ng-runtime/components/dialogs/iframe-dialog/iframe-dialog.component.d.ts +2 -4
  260. app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +3 -8
  261. app-ng-runtime/components/dialogs/partial-dialog/esm2020/partial-dialog.component.mjs +5 -10
  262. app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs +4 -9
  263. app-ng-runtime/components/dialogs/partial-dialog/fesm2015/index.mjs.map +1 -1
  264. app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs +4 -9
  265. app-ng-runtime/components/dialogs/partial-dialog/fesm2020/index.mjs.map +1 -1
  266. app-ng-runtime/components/dialogs/partial-dialog/partial-dialog.component.d.ts +3 -4
  267. app-ng-runtime/components/input/calendar/bundles/index.umd.js +5 -10
  268. app-ng-runtime/components/input/calendar/calendar.component.d.ts +3 -4
  269. app-ng-runtime/components/input/calendar/esm2020/calendar.component.mjs +8 -11
  270. app-ng-runtime/components/input/calendar/fesm2015/index.mjs +6 -11
  271. app-ng-runtime/components/input/calendar/fesm2015/index.mjs.map +1 -1
  272. app-ng-runtime/components/input/calendar/fesm2020/index.mjs +6 -9
  273. app-ng-runtime/components/input/calendar/fesm2020/index.mjs.map +1 -1
  274. app-ng-runtime/components/input/chips/bundles/index.umd.js +87 -93
  275. app-ng-runtime/components/input/chips/chips.component.d.ts +2 -4
  276. app-ng-runtime/components/input/chips/esm2020/chips.component.mjs +9 -15
  277. app-ng-runtime/components/input/chips/fesm2015/index.mjs +8 -14
  278. app-ng-runtime/components/input/chips/fesm2015/index.mjs.map +1 -1
  279. app-ng-runtime/components/input/chips/fesm2020/index.mjs +8 -14
  280. app-ng-runtime/components/input/chips/fesm2020/index.mjs.map +1 -1
  281. app-ng-runtime/components/input/color-picker/bundles/index.umd.js +22 -28
  282. app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +2 -4
  283. app-ng-runtime/components/input/color-picker/esm2020/color-picker.component.mjs +10 -14
  284. app-ng-runtime/components/input/color-picker/fesm2015/index.mjs +8 -14
  285. app-ng-runtime/components/input/color-picker/fesm2015/index.mjs.map +1 -1
  286. app-ng-runtime/components/input/color-picker/fesm2020/index.mjs +8 -12
  287. app-ng-runtime/components/input/color-picker/fesm2020/index.mjs.map +1 -1
  288. app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -9
  289. app-ng-runtime/components/input/currency/currency.component.d.ts +3 -4
  290. app-ng-runtime/components/input/currency/esm2020/currency.component.mjs +7 -10
  291. app-ng-runtime/components/input/currency/fesm2015/index.mjs +5 -10
  292. app-ng-runtime/components/input/currency/fesm2015/index.mjs.map +1 -1
  293. app-ng-runtime/components/input/currency/fesm2020/index.mjs +5 -8
  294. app-ng-runtime/components/input/currency/fesm2020/index.mjs.map +1 -1
  295. app-ng-runtime/components/input/default/base-form.component.d.ts +1 -2
  296. app-ng-runtime/components/input/default/bundles/index.umd.js +575 -648
  297. app-ng-runtime/components/input/default/button/button.component.d.ts +2 -4
  298. app-ng-runtime/components/input/default/button-group/button-group.directive.d.ts +2 -4
  299. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +2 -4
  300. app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +2 -4
  301. app-ng-runtime/components/input/default/composite/composite.directive.d.ts +2 -4
  302. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -3
  303. app-ng-runtime/components/input/default/esm2020/base-form.component.mjs +6 -7
  304. app-ng-runtime/components/input/default/esm2020/button/button.component.mjs +9 -14
  305. app-ng-runtime/components/input/default/esm2020/button-group/button-group.directive.mjs +6 -11
  306. app-ng-runtime/components/input/default/esm2020/checkbox/checkbox.component.mjs +9 -13
  307. app-ng-runtime/components/input/default/esm2020/checkboxset/checkboxset.component.mjs +10 -14
  308. app-ng-runtime/components/input/default/esm2020/composite/composite.directive.mjs +7 -11
  309. app-ng-runtime/components/input/default/esm2020/dataset-aware-form.component.mjs +6 -7
  310. app-ng-runtime/components/input/default/esm2020/number/number.component.mjs +7 -10
  311. app-ng-runtime/components/input/default/esm2020/radioset/radioset.component.mjs +10 -14
  312. app-ng-runtime/components/input/default/esm2020/select/select.component.mjs +11 -15
  313. app-ng-runtime/components/input/default/esm2020/switch/switch.component.mjs +10 -14
  314. app-ng-runtime/components/input/default/esm2020/text/base/base-input.mjs +6 -7
  315. app-ng-runtime/components/input/default/esm2020/text/calendar/input-calendar.component.mjs +8 -13
  316. app-ng-runtime/components/input/default/esm2020/text/color/input-color.component.mjs +8 -13
  317. app-ng-runtime/components/input/default/esm2020/text/email/input-email.component.mjs +8 -13
  318. app-ng-runtime/components/input/default/esm2020/text/locale/number-locale.mjs +3 -3
  319. app-ng-runtime/components/input/default/esm2020/text/number/input-number.component.mjs +9 -14
  320. app-ng-runtime/components/input/default/esm2020/text/text/input-text.component.mjs +9 -14
  321. app-ng-runtime/components/input/default/esm2020/textarea/textarea.component.mjs +9 -14
  322. app-ng-runtime/components/input/default/fesm2015/index.mjs +94 -167
  323. app-ng-runtime/components/input/default/fesm2015/index.mjs.map +1 -1
  324. app-ng-runtime/components/input/default/fesm2020/index.mjs +94 -139
  325. app-ng-runtime/components/input/default/fesm2020/index.mjs.map +1 -1
  326. app-ng-runtime/components/input/default/number/number.component.d.ts +3 -4
  327. app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +2 -4
  328. app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
  329. app-ng-runtime/components/input/default/switch/switch.component.d.ts +2 -4
  330. app-ng-runtime/components/input/default/text/base/base-input.d.ts +1 -2
  331. app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +2 -4
  332. app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +2 -4
  333. app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +2 -4
  334. app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +2 -2
  335. app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +2 -4
  336. app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +2 -4
  337. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +2 -4
  338. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -2
  339. app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -21
  340. app-ng-runtime/components/input/epoch/date/date.component.d.ts +3 -4
  341. app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +3 -4
  342. app-ng-runtime/components/input/epoch/esm2020/base-date-time.component.mjs +5 -6
  343. app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +6 -9
  344. app-ng-runtime/components/input/epoch/esm2020/date-time/date-time.component.mjs +6 -9
  345. app-ng-runtime/components/input/epoch/esm2020/time/time.component.mjs +6 -9
  346. app-ng-runtime/components/input/epoch/fesm2015/index.mjs +13 -22
  347. app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
  348. app-ng-runtime/components/input/epoch/fesm2020/index.mjs +13 -22
  349. app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
  350. app-ng-runtime/components/input/epoch/time/time.component.d.ts +3 -4
  351. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +3 -6
  352. app-ng-runtime/components/input/file-upload/esm2020/file-upload.component.mjs +6 -9
  353. app-ng-runtime/components/input/file-upload/fesm2015/index.mjs +4 -7
  354. app-ng-runtime/components/input/file-upload/fesm2015/index.mjs.map +1 -1
  355. app-ng-runtime/components/input/file-upload/fesm2020/index.mjs +4 -7
  356. app-ng-runtime/components/input/file-upload/fesm2020/index.mjs.map +1 -1
  357. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +3 -4
  358. app-ng-runtime/components/input/rating/bundles/index.umd.js +45 -51
  359. app-ng-runtime/components/input/rating/esm2020/rating.component.mjs +11 -15
  360. app-ng-runtime/components/input/rating/fesm2015/index.mjs +9 -15
  361. app-ng-runtime/components/input/rating/fesm2015/index.mjs.map +1 -1
  362. app-ng-runtime/components/input/rating/fesm2020/index.mjs +9 -13
  363. app-ng-runtime/components/input/rating/fesm2020/index.mjs.map +1 -1
  364. app-ng-runtime/components/input/rating/rating.component.d.ts +2 -4
  365. app-ng-runtime/components/input/slider/bundles/index.umd.js +37 -43
  366. app-ng-runtime/components/input/slider/esm2020/slider.component.mjs +10 -15
  367. app-ng-runtime/components/input/slider/fesm2015/index.mjs +9 -15
  368. app-ng-runtime/components/input/slider/fesm2015/index.mjs.map +1 -1
  369. app-ng-runtime/components/input/slider/fesm2020/index.mjs +9 -13
  370. app-ng-runtime/components/input/slider/fesm2020/index.mjs.map +1 -1
  371. app-ng-runtime/components/input/slider/slider.component.d.ts +2 -4
  372. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +13 -25
  373. app-ng-runtime/components/navigation/menu/esm2020/menu-adapator.component.mjs +4 -6
  374. app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +4 -7
  375. app-ng-runtime/components/navigation/menu/esm2020/nav/nav-item/nav-item.directive.mjs +7 -11
  376. app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +5 -9
  377. app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +14 -26
  378. app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
  379. app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +14 -24
  380. app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
  381. app-ng-runtime/components/navigation/menu/menu-adapator.component.d.ts +1 -2
  382. app-ng-runtime/components/navigation/menu/menu.component.d.ts +2 -3
  383. app-ng-runtime/components/navigation/menu/nav/nav-item/nav-item.directive.d.ts +2 -4
  384. app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +3 -3
  385. app-ng-runtime/components/navigation/navbar/bundles/index.umd.js +28 -34
  386. app-ng-runtime/components/navigation/navbar/esm2020/navbar.component.mjs +9 -14
  387. app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs +8 -14
  388. app-ng-runtime/components/navigation/navbar/fesm2015/index.mjs.map +1 -1
  389. app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs +8 -12
  390. app-ng-runtime/components/navigation/navbar/fesm2020/index.mjs.map +1 -1
  391. app-ng-runtime/components/navigation/navbar/navbar.component.d.ts +2 -4
  392. app-ng-runtime/components/page/default/bundles/index.umd.js +32 -64
  393. app-ng-runtime/components/page/default/content/content.component.d.ts +2 -4
  394. app-ng-runtime/components/page/default/esm2020/content/content.component.mjs +6 -11
  395. app-ng-runtime/components/page/default/esm2020/layout.directive.mjs +7 -11
  396. app-ng-runtime/components/page/default/esm2020/page-content/page-content.component.mjs +7 -10
  397. app-ng-runtime/components/page/default/esm2020/page.directive.mjs +7 -12
  398. app-ng-runtime/components/page/default/esm2020/router-outlet.directive.mjs +7 -11
  399. app-ng-runtime/components/page/default/esm2020/spa-page.directive.mjs +7 -10
  400. app-ng-runtime/components/page/default/fesm2015/index.mjs +26 -58
  401. app-ng-runtime/components/page/default/fesm2015/index.mjs.map +1 -1
  402. app-ng-runtime/components/page/default/fesm2020/index.mjs +26 -46
  403. app-ng-runtime/components/page/default/fesm2020/index.mjs.map +1 -1
  404. app-ng-runtime/components/page/default/layout.directive.d.ts +2 -4
  405. app-ng-runtime/components/page/default/page-content/page-content.component.d.ts +3 -4
  406. app-ng-runtime/components/page/default/page.directive.d.ts +3 -4
  407. app-ng-runtime/components/page/default/router-outlet.directive.d.ts +2 -4
  408. app-ng-runtime/components/page/default/spa-page.directive.d.ts +3 -4
  409. app-ng-runtime/components/page/footer/bundles/index.umd.js +8 -14
  410. app-ng-runtime/components/page/footer/esm2020/footer.directive.mjs +6 -11
  411. app-ng-runtime/components/page/footer/fesm2015/index.mjs +5 -11
  412. app-ng-runtime/components/page/footer/fesm2015/index.mjs.map +1 -1
  413. app-ng-runtime/components/page/footer/fesm2020/index.mjs +5 -9
  414. app-ng-runtime/components/page/footer/fesm2020/index.mjs.map +1 -1
  415. app-ng-runtime/components/page/footer/footer.directive.d.ts +2 -4
  416. app-ng-runtime/components/page/header/bundles/index.umd.js +8 -14
  417. app-ng-runtime/components/page/header/esm2020/header.component.mjs +6 -11
  418. app-ng-runtime/components/page/header/fesm2015/index.mjs +5 -11
  419. app-ng-runtime/components/page/header/fesm2015/index.mjs.map +1 -1
  420. app-ng-runtime/components/page/header/fesm2020/index.mjs +5 -9
  421. app-ng-runtime/components/page/header/fesm2020/index.mjs.map +1 -1
  422. app-ng-runtime/components/page/header/header.component.d.ts +2 -4
  423. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +4 -7
  424. app-ng-runtime/components/page/left-panel/esm2020/left-panel.directive.mjs +6 -9
  425. app-ng-runtime/components/page/left-panel/fesm2015/index.mjs +4 -7
  426. app-ng-runtime/components/page/left-panel/fesm2015/index.mjs.map +1 -1
  427. app-ng-runtime/components/page/left-panel/fesm2020/index.mjs +4 -7
  428. app-ng-runtime/components/page/left-panel/fesm2020/index.mjs.map +1 -1
  429. app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +3 -4
  430. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -12
  431. app-ng-runtime/components/page/right-panel/esm2020/right-panel.directive.mjs +7 -11
  432. app-ng-runtime/components/page/right-panel/fesm2015/index.mjs +5 -11
  433. app-ng-runtime/components/page/right-panel/fesm2015/index.mjs.map +1 -1
  434. app-ng-runtime/components/page/right-panel/fesm2020/index.mjs +5 -9
  435. app-ng-runtime/components/page/right-panel/fesm2020/index.mjs.map +1 -1
  436. app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -4
  437. app-ng-runtime/components/page/top-nav/bundles/index.umd.js +8 -14
  438. app-ng-runtime/components/page/top-nav/esm2020/top-nav.directive.mjs +6 -11
  439. app-ng-runtime/components/page/top-nav/fesm2015/index.mjs +5 -11
  440. app-ng-runtime/components/page/top-nav/fesm2015/index.mjs.map +1 -1
  441. app-ng-runtime/components/page/top-nav/fesm2020/index.mjs +5 -9
  442. app-ng-runtime/components/page/top-nav/fesm2020/index.mjs.map +1 -1
  443. app-ng-runtime/components/page/top-nav/top-nav.directive.d.ts +2 -4
  444. app-ng-runtime/components/prefab/bundles/index.umd.js +7 -15
  445. app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +7 -10
  446. app-ng-runtime/components/prefab/esm2020/prefab.directive.mjs +6 -10
  447. app-ng-runtime/components/prefab/fesm2015/index.mjs +8 -16
  448. app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
  449. app-ng-runtime/components/prefab/fesm2020/index.mjs +8 -14
  450. app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
  451. app-ng-runtime/components/prefab/prefab-container/prefab-container.directive.d.ts +3 -4
  452. app-ng-runtime/components/prefab/prefab.directive.d.ts +2 -4
  453. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +32 -37
  454. app-ng-runtime/mobile/components/basic/default/esm2020/network-info-toaster/network-info-toaster.component.mjs +7 -10
  455. app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +10 -15
  456. app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
  457. app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +10 -13
  458. app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
  459. app-ng-runtime/mobile/components/basic/default/network-info-toaster/network-info-toaster.component.d.ts +3 -4
  460. app-ng-runtime/mobile/components/containers/segmented-control/bundles/index.umd.js +18 -29
  461. app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segment-content/segment-content.component.mjs +8 -13
  462. app-ng-runtime/mobile/components/containers/segmented-control/esm2020/segmented-control.component.mjs +9 -13
  463. app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs +12 -23
  464. app-ng-runtime/mobile/components/containers/segmented-control/fesm2015/index.mjs.map +1 -1
  465. app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs +12 -19
  466. app-ng-runtime/mobile/components/containers/segmented-control/fesm2020/index.mjs.map +1 -1
  467. app-ng-runtime/mobile/components/containers/segmented-control/segment-content/segment-content.component.d.ts +2 -4
  468. app-ng-runtime/mobile/components/containers/segmented-control/segmented-control.component.d.ts +2 -4
  469. app-ng-runtime/mobile/components/data/media-list/bundles/index.umd.js +30 -36
  470. app-ng-runtime/mobile/components/data/media-list/esm2020/media-list.component.mjs +14 -18
  471. app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs +11 -17
  472. app-ng-runtime/mobile/components/data/media-list/fesm2015/index.mjs.map +1 -1
  473. app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs +11 -15
  474. app-ng-runtime/mobile/components/data/media-list/fesm2020/index.mjs.map +1 -1
  475. app-ng-runtime/mobile/components/data/media-list/media-list.component.d.ts +2 -4
  476. app-ng-runtime/mobile/components/device/barcode-scanner/barcode-scanner.component.d.ts +2 -4
  477. app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +28 -34
  478. app-ng-runtime/mobile/components/device/barcode-scanner/esm2020/barcode-scanner.component.mjs +10 -14
  479. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs +8 -14
  480. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2015/index.mjs.map +1 -1
  481. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs +8 -12
  482. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2020/index.mjs.map +1 -1
  483. app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +12 -18
  484. app-ng-runtime/mobile/components/device/camera/camera.component.d.ts +2 -4
  485. app-ng-runtime/mobile/components/device/camera/esm2020/camera.component.mjs +9 -13
  486. app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs +7 -13
  487. app-ng-runtime/mobile/components/device/camera/fesm2015/index.mjs.map +1 -1
  488. app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs +7 -11
  489. app-ng-runtime/mobile/components/device/camera/fesm2020/index.mjs.map +1 -1
  490. app-ng-runtime/mobile/components/page/mobile-navbar/bundles/index.umd.js +3 -6
  491. app-ng-runtime/mobile/components/page/mobile-navbar/esm2020/mobile-navbar.component.mjs +6 -9
  492. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs +4 -7
  493. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2015/index.mjs.map +1 -1
  494. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs +4 -7
  495. app-ng-runtime/mobile/components/page/mobile-navbar/fesm2020/index.mjs.map +1 -1
  496. app-ng-runtime/mobile/components/page/mobile-navbar/mobile-navbar.component.d.ts +3 -4
  497. app-ng-runtime/mobile/components/page/tab-bar/bundles/index.umd.js +32 -36
  498. app-ng-runtime/mobile/components/page/tab-bar/esm2020/tabbar.component.mjs +8 -13
  499. app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs +7 -11
  500. app-ng-runtime/mobile/components/page/tab-bar/fesm2015/index.mjs.map +1 -1
  501. app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs +7 -11
  502. app-ng-runtime/mobile/components/page/tab-bar/fesm2020/index.mjs.map +1 -1
  503. app-ng-runtime/mobile/components/page/tab-bar/tabbar.component.d.ts +2 -4
  504. app-ng-runtime/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('@wm/components/page'), require('@wm/core'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/components/page', '@wm/core', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.page = global.wm.mobile.components.page || {}, global.wm.mobile.components.page.tabbar = {}), global.ng.core, global.wm.components.base, global.wm.components.page, global.wm.core, global.ng.common));
5
- })(this, (function (exports, i0, i4, i1, i2, i3) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('@wm/components/page'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/components/page', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.page = global.wm.mobile.components.page || {}, global.wm.mobile.components.page.tabbar = {}), global.ng.core, global.wm.components.base, global.wm.components.page, global.ng.common));
5
+ })(this, (function (exports, i0, i3, i1, i2) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -22,22 +22,21 @@
22
22
  }
23
23
 
24
24
  var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
25
- var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
25
+ var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
26
26
  var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
27
27
  var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
28
- var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
29
28
 
30
29
  const registerProps = () => {
31
- i4.register('wm-mobile-tabbar', new Map([
32
- ['class', i4.PROP_STRING],
33
- ['dataset', i4.PROP_ANY],
34
- ['itemicon', Object.assign({ value: 'icon' }, i4.PROP_STRING)],
35
- ['itemlabel', Object.assign({ value: 'label' }, i4.PROP_STRING)],
36
- ['itemlink', Object.assign({ value: 'label' }, i4.PROP_STRING)],
37
- ['morebuttoniconclass', Object.assign({ value: 'wi wi-more-horiz' }, i4.PROP_STRING)],
38
- ['morebuttonlabel', Object.assign({ value: 'more' }, i4.PROP_STRING)],
39
- ['name', i4.PROP_STRING],
40
- ['show', Object.assign({ value: true }, i4.PROP_BOOLEAN)]
30
+ i3.register('wm-mobile-tabbar', new Map([
31
+ ['class', i3.PROP_STRING],
32
+ ['dataset', i3.PROP_ANY],
33
+ ['itemicon', Object.assign({ value: 'icon' }, i3.PROP_STRING)],
34
+ ['itemlabel', Object.assign({ value: 'label' }, i3.PROP_STRING)],
35
+ ['itemlink', Object.assign({ value: 'label' }, i3.PROP_STRING)],
36
+ ['morebuttoniconclass', Object.assign({ value: 'wi wi-more-horiz' }, i3.PROP_STRING)],
37
+ ['morebuttonlabel', Object.assign({ value: 'more' }, i3.PROP_STRING)],
38
+ ['name', i3.PROP_STRING],
39
+ ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)]
41
40
  ]));
42
41
  };
43
42
 
@@ -111,14 +110,13 @@
111
110
  const _c3 = function (a0) { return { dropup: a0 }; };
112
111
  const DEFAULT_CLS = 'app-tabbar app-top-nav';
113
112
  const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
114
- class MobileTabbarComponent extends i4.StylableComponent {
115
- constructor(page, inj, binditemlabel, binditemicon, binditemlink, _viewParent) {
116
- super(inj, WIDGET_CONFIG, _viewParent);
113
+ class MobileTabbarComponent extends i3.StylableComponent {
114
+ constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
115
+ super(inj, WIDGET_CONFIG);
117
116
  this.page = page;
118
117
  this.binditemlabel = binditemlabel;
119
118
  this.binditemicon = binditemicon;
120
119
  this.binditemlink = binditemlink;
121
- this._viewParent = _viewParent;
122
120
  this.tabItems = [];
123
121
  this.layout = {};
124
122
  this.showMoreMenu = false;
@@ -129,7 +127,7 @@
129
127
  { minwidth: 480, max: 5 },
130
128
  { minwidth: 0, max: 4 }
131
129
  ];
132
- i4.styler(this.nativeElement, this);
130
+ i3.styler(this.nativeElement, this);
133
131
  page.notify('wmMobileTabbar:ready', this);
134
132
  this.tabItems = this.getDefaultItems();
135
133
  }
@@ -190,11 +188,11 @@
190
188
  if (_.isArray(value)) {
191
189
  if (_.isObject(value[0])) {
192
190
  return value.map(item => {
193
- const link = i4.getEvaluatedData(item, { field: this.itemlink, 'bindExpression': this.binditemlink }, this.viewParent) || item.link;
191
+ const link = i3.getEvaluatedData(item, { field: this.itemlink, 'bindExpression': this.binditemlink }, this.viewParent) || item.link;
194
192
  const activePageName = window.location.hash.substr(2);
195
193
  return {
196
- label: i4.getEvaluatedData(item, { field: this.itemlabel, bindExpression: this.binditemlabel }, this.viewParent) || item.label,
197
- icon: i4.getEvaluatedData(item, { field: this.itemicon, bindExpression: this.binditemicon }, this.viewParent) || item.icon,
194
+ label: i3.getEvaluatedData(item, { field: this.itemlabel, bindExpression: this.binditemlabel }, this.viewParent) || item.label,
195
+ icon: i3.getEvaluatedData(item, { field: this.itemicon, bindExpression: this.binditemicon }, this.viewParent) || item.icon,
198
196
  link: link,
199
197
  active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)
200
198
  };
@@ -210,9 +208,9 @@
210
208
  }
211
209
  }
212
210
  MobileTabbarComponent.initializeProps = registerProps();
213
- MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.PageDirective), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('itemlabel.bind'), i0__namespace.ɵɵinjectAttribute('itemicon.bind'), i0__namespace.ɵɵinjectAttribute('itemlink.bind'), i0__namespace.ɵɵdirectiveInject(i2__namespace.UserDefinedExecutionContext, 8)); };
211
+ MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.PageDirective), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('itemlabel.bind'), i0__namespace.ɵɵinjectAttribute('itemicon.bind'), i0__namespace.ɵɵinjectAttribute('itemlink.bind')); };
214
212
  MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0__namespace.ɵɵProvidersFeature([
215
- i4.provideAsWidgetRef(MobileTabbarComponent)
213
+ i3.provideAsWidgetRef(MobileTabbarComponent)
216
214
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) {
217
215
  if (rf & 1) {
218
216
  i0__namespace.ɵɵelementStart(0, "nav", 0)(1, "ul", 1);
@@ -241,12 +239,12 @@
241
239
  i0__namespace.ɵɵadvance(1);
242
240
  i0__namespace.ɵɵproperty("ngIf", ctx.showMoreMenu);
243
241
  }
244
- }, dependencies: [i3__namespace.NgClass, i3__namespace.NgForOf, i3__namespace.NgIf, i4__namespace.TrustAsPipe], encapsulation: 2 });
242
+ }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3__namespace.TrustAsPipe], encapsulation: 2 });
245
243
  (function () {
246
244
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MobileTabbarComponent, [{
247
245
  type: i0.Component,
248
246
  args: [{ selector: 'div[wmMobileTabbar]', providers: [
249
- i4.provideAsWidgetRef(MobileTabbarComponent)
247
+ i3.provideAsWidgetRef(MobileTabbarComponent)
250
248
  ], template: "<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n" }]
251
249
  }], function () {
252
250
  return [{ type: i1__namespace.PageDirective }, { type: i0__namespace.Injector }, { type: undefined, decorators: [{
@@ -258,8 +256,6 @@
258
256
  }] }, { type: undefined, decorators: [{
259
257
  type: i0.Attribute,
260
258
  args: ['itemlink.bind']
261
- }] }, { type: i2__namespace.UserDefinedExecutionContext, decorators: [{
262
- type: i0.Optional
263
259
  }] }];
264
260
  }, null);
265
261
  })();
@@ -271,15 +267,15 @@
271
267
  }
272
268
  TabBarModule.ɵfac = function TabBarModule_Factory(t) { return new (t || TabBarModule)(); };
273
269
  TabBarModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: TabBarModule });
274
- TabBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i3.CommonModule,
275
- i4.WmComponentsModule] });
270
+ TabBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
271
+ i3.WmComponentsModule] });
276
272
  (function () {
277
273
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TabBarModule, [{
278
274
  type: i0.NgModule,
279
275
  args: [{
280
276
  imports: [
281
- i3.CommonModule,
282
- i4.WmComponentsModule
277
+ i2.CommonModule,
278
+ i3.WmComponentsModule
283
279
  ],
284
280
  declarations: [...components],
285
281
  exports: [...components]
@@ -287,8 +283,8 @@
287
283
  }], null, null);
288
284
  })();
289
285
  (function () {
290
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(TabBarModule, { declarations: [MobileTabbarComponent], imports: [i3.CommonModule,
291
- i4.WmComponentsModule], exports: [MobileTabbarComponent] });
286
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(TabBarModule, { declarations: [MobileTabbarComponent], imports: [i2.CommonModule,
287
+ i3.WmComponentsModule], exports: [MobileTabbarComponent] });
292
288
  })();
293
289
 
294
290
  exports.MobileTabbarComponent = MobileTabbarComponent;
@@ -1,13 +1,11 @@
1
- import { Attribute, Component, Injector, Optional } from '@angular/core';
1
+ import { Attribute, Component, Injector } from '@angular/core';
2
2
  import { getEvaluatedData, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
3
3
  import { PageDirective } from '@wm/components/page';
4
4
  import { registerProps } from './tabbar.props';
5
- import { UserDefinedExecutionContext } from '@wm/core';
6
5
  import * as i0 from "@angular/core";
7
6
  import * as i1 from "@wm/components/page";
8
- import * as i2 from "@wm/core";
9
- import * as i3 from "@angular/common";
10
- import * as i4 from "@wm/components/base";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@wm/components/base";
11
9
  const _c0 = ["wmMobileTabbar", ""];
12
10
  function MobileTabbarComponent_li_2_Template(rf, ctx) { if (rf & 1) {
13
11
  const _r5 = i0.ɵɵgetCurrentView();
@@ -70,13 +68,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
70
68
  const DEFAULT_CLS = 'app-tabbar app-top-nav';
71
69
  const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
72
70
  export class MobileTabbarComponent extends StylableComponent {
73
- constructor(page, inj, binditemlabel, binditemicon, binditemlink, _viewParent) {
74
- super(inj, WIDGET_CONFIG, _viewParent);
71
+ constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
72
+ super(inj, WIDGET_CONFIG);
75
73
  this.page = page;
76
74
  this.binditemlabel = binditemlabel;
77
75
  this.binditemicon = binditemicon;
78
76
  this.binditemlink = binditemlink;
79
- this._viewParent = _viewParent;
80
77
  this.tabItems = [];
81
78
  this.layout = {};
82
79
  this.showMoreMenu = false;
@@ -168,7 +165,7 @@ export class MobileTabbarComponent extends StylableComponent {
168
165
  }
169
166
  }
170
167
  MobileTabbarComponent.initializeProps = registerProps();
171
- MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind'), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
168
+ MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
172
169
  MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
173
170
  provideAsWidgetRef(MobileTabbarComponent)
174
171
  ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) { if (rf & 1) {
@@ -196,7 +193,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
196
193
  i0.ɵɵtextInterpolate(ctx.morebuttonlabel);
197
194
  i0.ɵɵadvance(1);
198
195
  i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
199
- } }, dependencies: [i3.NgClass, i3.NgForOf, i3.NgIf, i4.TrustAsPipe], encapsulation: 2 });
196
+ } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
200
197
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
201
198
  type: Component,
202
199
  args: [{ selector: 'div[wmMobileTabbar]', providers: [
@@ -211,7 +208,5 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
211
208
  }] }, { type: undefined, decorators: [{
212
209
  type: Attribute,
213
210
  args: ['itemlink.bind']
214
- }] }, { type: i2.UserDefinedExecutionContext, decorators: [{
215
- type: Optional
216
211
  }] }]; }, null); })();
217
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vYmlsZS9jb21wb25lbnRzL3BhZ2UvdGFiLWJhci9zcmMvdGFiYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vYmlsZS9jb21wb25lbnRzL3BhZ2UvdGFiLWJhci9zcmMvdGFiYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQWEsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUF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gICAgICAgICAgICAgICB0aGlzLnRhYkl0ZW1zID0gdGhpcy5nZXREZWZhdWx0SXRlbXMoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHN1cGVyLm9uUHJvcGVydHlDaGFuZ2Uoa2V5LCBudiwgb3YpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXREZWZhdWx0SXRlbXMoKSB7XG4gICAgICAgIHJldHVybiBbe1xuICAgICAgICAgICAgJ2xhYmVsJyA6ICdIb21lJyxcbiAgICAgICAgICAgICdpY29uJyAgOiAnd20tc2wtciBzbC1ob21lJ1xuICAgICAgICB9LHtcbiAgICAgICAgICAgICdsYWJlbCcgOiAnQW5hbHl0aWNzJyxcbiAgICAgICAgICAgICdpY29uJyAgOiAnd20tc2wtciBzbC1ncmFwaC1hc2NlbmQnXG4gICAgICAgIH0se1xuICAgICAgICAgICAgJ2xhYmVsJyA6ICdBbGVydHMnLFxuICAgICAgICAgICAgJ2ljb24nICA6ICd3bS1zbC1yIHNsLWFsYXJtLWJlbGwnXG4gICAgICAgIH0se1xuICAgICAgICAgICAgJ2xhYmVsJyA6ICdTZXR0aW5ncycsXG4gICAgICAgICAgICAnaWNvbicgIDogJ3dtLXNsLXIgc2wtc2V0dGluZ3MnXG4gICAgICAgIH1dO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ0FmdGVyVmlld0luaXQoKSB7XG4gICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5sYXlvdXQgPSB0aGlzLmdldFN1aXRhYmxlTGF5b3V0KCk7XG4gICAgICAgICAgICAkKHdpbmRvdykub24oJ3Jlc2l6ZS50YWJiYXInLCBfLmRlYm91bmNlKCgpID0+IHRoaXMubGF5b3V0ID0gdGhpcy5nZXRTdWl0YWJsZUxheW91dCgpLCAyMCkpO1xuICAgICAgICB9KTtcbiAgICAgICAgc3VwZXIubmdBZnRlclZpZXd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gICAgICAgICAgICAgcmV0dXJuICh2YWx1ZSBhcyBhbnlbXSkubWFwKGl0ZW0gPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBsaW5rID0gZ2V0RXZhbHVhdGVkRGF0YShpdGVtLCB7ZmllbGQ6IHRoaXMuaXRlbWxpbmssICdiaW5kRXhwcmVzc2lvbic6IHRoaXMuYmluZGl0ZW1saW5rfSwgdGhpcy52aWV3UGFyZW50KSB8fCBpdGVtLmxpbms7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGFjdGl2ZVBhZ2VOYW1lID0gd2luZG93LmxvY2F0aW9uLmhhc2guc3Vic3RyKDIpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6IGdldEV2YWx1YXRlZERhdGEoaXRlbSwge2ZpZWxkOiB0aGlzLml0ZW1sYWJlbCwgYmluZEV4cHJlc3Npb246IHRoaXMuYmluZGl0ZW1sYWJlbH0sIHRoaXMudmlld1BhcmVudCkgfHwgaXRlbS5sYWJlbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGljb246IGdldEV2YWx1YXRlZERhdGEoaXRlbSwge2ZpZWxkOiB0aGlzLml0ZW1pY29uLCBiaW5kRXhwcmVzc2lvbjogdGhpcy5iaW5kaXRlbWljb259LCB0aGlzLnZpZXdQYXJlbnQpIHx8IGl0ZW0uaWNvbixcbiAgICAgICAgICAgICAgICAgICAgICAgIGxpbms6IGxpbmssXG4gICAgICAgICAgICAgICAgICAgICAgICBhY3RpdmU6IF8uaW5jbHVkZXMoW2FjdGl2ZVBhZ2VOYW1lLCAnIycgKyBhY3RpdmVQYWdlTmFtZSwgJyMvJyArIGFjdGl2ZVBhZ2VOYW1lXSwgbGluaylcbiAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZ2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GFyaWEtaGlkZGVuPVwidHJ1ZVwiPjwvaT48bGFiZWw+e3tpdGVtLmxhYmVsfX08L2xhYmVsPlxuICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgIDwvdWw+XG4gICAgICAgIDwvbGk+XG4gICAgPC91bD5cbjwvbmF2PlxuIl19
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Attribute, Optional, NgModule } from '@angular/core';
3
- import * as i4 from '@wm/components/base';
2
+ import { Component, Attribute, NgModule } from '@angular/core';
3
+ import * as i3 from '@wm/components/base';
4
4
  import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, getEvaluatedData, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
5
5
  import * as i1 from '@wm/components/page';
6
- import * as i2 from '@wm/core';
7
- import * as i3 from '@angular/common';
6
+ import * as i2 from '@angular/common';
8
7
  import { CommonModule } from '@angular/common';
9
8
 
10
9
  const registerProps = () => {
@@ -92,13 +91,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
92
91
  const DEFAULT_CLS = 'app-tabbar app-top-nav';
93
92
  const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
94
93
  class MobileTabbarComponent extends StylableComponent {
95
- constructor(page, inj, binditemlabel, binditemicon, binditemlink, _viewParent) {
96
- super(inj, WIDGET_CONFIG, _viewParent);
94
+ constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
95
+ super(inj, WIDGET_CONFIG);
97
96
  this.page = page;
98
97
  this.binditemlabel = binditemlabel;
99
98
  this.binditemicon = binditemicon;
100
99
  this.binditemlink = binditemlink;
101
- this._viewParent = _viewParent;
102
100
  this.tabItems = [];
103
101
  this.layout = {};
104
102
  this.showMoreMenu = false;
@@ -190,7 +188,7 @@ class MobileTabbarComponent extends StylableComponent {
190
188
  }
191
189
  }
192
190
  MobileTabbarComponent.initializeProps = registerProps();
193
- MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind'), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
191
+ MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
194
192
  MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
195
193
  provideAsWidgetRef(MobileTabbarComponent)
196
194
  ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) {
@@ -221,7 +219,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
221
219
  i0.ɵɵadvance(1);
222
220
  i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
223
221
  }
224
- }, dependencies: [i3.NgClass, i3.NgForOf, i3.NgIf, i4.TrustAsPipe], encapsulation: 2 });
222
+ }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
225
223
  (function () {
226
224
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
227
225
  type: Component,
@@ -238,8 +236,6 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
238
236
  }] }, { type: undefined, decorators: [{
239
237
  type: Attribute,
240
238
  args: ['itemlink.bind']
241
- }] }, { type: i2.UserDefinedExecutionContext, decorators: [{
242
- type: Optional
243
239
  }] }];
244
240
  }, null);
245
241
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.props.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.html","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tab-bar.module.ts","../../../../../../projects/mobile/components/page/tab-bar/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-mobile-tabbar',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['itemicon', {value: 'icon', ...PROP_STRING}],\n ['itemlabel', {value: 'label', ...PROP_STRING}],\n ['itemlink', {value: 'label', ...PROP_STRING}],\n ['morebuttoniconclass', {value: 'wi wi-more-horiz', ...PROP_STRING}],\n ['morebuttonlabel', {value: 'more', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n","import {AfterViewInit, Attribute, Component, Injector, OnDestroy, Optional} from '@angular/core';\n\nimport { getEvaluatedData, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { PageDirective } from '@wm/components/page';\n\nimport { registerProps } from './tabbar.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const $;\ndeclare const _;\nconst DEFAULT_CLS = 'app-tabbar app-top-nav';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS};\n\ninterface TabItem {\n icon: string;\n label: string;\n link?: string;\n value?: string;\n}\n\n@Component({\n selector: 'div[wmMobileTabbar]',\n templateUrl: './tabbar.component.html',\n providers: [\n provideAsWidgetRef(MobileTabbarComponent)\n ]\n})\nexport class MobileTabbarComponent extends StylableComponent implements AfterViewInit, OnDestroy {\n static initializeProps = registerProps();\n\n public itemlabel: string;\n public itemlink: string;\n public itemicon: string;\n\n public tabItems = [];\n public layout: any = {};\n public position: any;\n public bottom: any;\n public morebuttoniconclass: any;\n public morebuttonlabel: any;\n public showMoreMenu: boolean = false;\n\n private readonly _layouts = [\n {minwidth: 2048, max: 12},\n {minwidth: 1024, max: 10},\n {minwidth: 768, max: 7},\n {minwidth: 480, max: 5},\n {minwidth: 0, max: 4}\n ];\n\n constructor(\n private page: PageDirective,\n inj: Injector,\n @Attribute('itemlabel.bind') public binditemlabel,\n @Attribute('itemicon.bind') public binditemicon,\n @Attribute('itemlink.bind') public binditemlink, @Optional() public _viewParent: UserDefinedExecutionContext\n ) {\n super(inj, WIDGET_CONFIG, _viewParent);\n styler(this.nativeElement, this);\n page.notify('wmMobileTabbar:ready', this);\n this.tabItems = this.getDefaultItems();\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n if (nv) {\n this.tabItems = this.getTabItems(nv);\n } else {\n this.tabItems = this.getDefaultItems();\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n private getDefaultItems() {\n return [{\n 'label' : 'Home',\n 'icon' : 'wm-sl-r sl-home'\n },{\n 'label' : 'Analytics',\n 'icon' : 'wm-sl-r sl-graph-ascend'\n },{\n 'label' : 'Alerts',\n 'icon' : 'wm-sl-r sl-alarm-bell'\n },{\n 'label' : 'Settings',\n 'icon' : 'wm-sl-r sl-settings'\n }];\n }\n\n public ngAfterViewInit() {\n setTimeout(() => {\n this.layout = this.getSuitableLayout();\n $(window).on('resize.tabbar', _.debounce(() => this.layout = this.getSuitableLayout(), 20));\n });\n super.ngAfterViewInit();\n }\n\n public ngOnDestroy() {\n $(window).off('.tabbar');\n super.ngOnDestroy();\n }\n\n // triggered on item selection\n public onItemSelect($event, selectedItem: TabItem) {\n this.invokeEventCallback('select', {$event, $item: selectedItem.value || selectedItem.label});\n }\n\n private getItems(itemArray: any[]): TabItem[] {\n return itemArray.map(item => ({\n label: item,\n icon: 'wi wi-' + item\n }));\n }\n\n private getSuitableLayout() {\n const avaiableWidth: number = $(this.nativeElement).parent().width();\n return this._layouts.find(l => avaiableWidth >= l.minwidth);\n }\n\n private getTabItems(value: any): TabItem[] {\n if (_.isArray(value)) {\n if (_.isObject(value[0])) {\n return (value as any[]).map(item => {\n const link = getEvaluatedData(item, {field: this.itemlink, 'bindExpression': this.binditemlink}, this.viewParent) || item.link;\n const activePageName = window.location.hash.substr(2);\n return {\n label: getEvaluatedData(item, {field: this.itemlabel, bindExpression: this.binditemlabel}, this.viewParent) || item.label,\n icon: getEvaluatedData(item, {field: this.itemicon, bindExpression: this.binditemicon}, this.viewParent) || item.icon,\n link: link,\n active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)\n };\n });\n } else {\n return this.getItems(value as any[]);\n }\n } else if (_.isString(value)) {\n return this.getItems((value as string).split(','));\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { MobileTabbarComponent } from './tabbar.component';\n\nconst components = [\n MobileTabbarComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TabBarModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;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;;wEAAZ,YAAY,GAAA,CAAA,EAAA,CAAA;8DAAZ,YAAY,EAAA,CAAA,CAAA;kEANjB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,YAAY,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;iBAC3B,CAAA;;;;6EACY,YAAY,EAAA,EAAA,YAAA,EAAA,CAXrB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAKjB,YAAY;YACZ,kBAAkB,aANtB,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACRzB;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.props.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.html","../../../../../../projects/mobile/components/page/tab-bar/src/tabbar.component.ts","../../../../../../projects/mobile/components/page/tab-bar/src/tab-bar.module.ts","../../../../../../projects/mobile/components/page/tab-bar/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-mobile-tabbar',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['itemicon', {value: 'icon', ...PROP_STRING}],\n ['itemlabel', {value: 'label', ...PROP_STRING}],\n ['itemlink', {value: 'label', ...PROP_STRING}],\n ['morebuttoniconclass', {value: 'wi wi-more-horiz', ...PROP_STRING}],\n ['morebuttonlabel', {value: 'more', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}]\n ]\n )\n );\n};\n","<nav class=\"navbar navbar-default\">\n <ul class=\"tab-items nav navbar-nav\">\n <li class=\"tab-item\" *ngFor=\"let item of tabItems; index as i\" [class.hidden]=\"!(tabItems.length === layout.max || i < layout.max)\" >\n <a [class.active]=\"item.active\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n <li class=\"menu-items dropdown\" [class.hidden]=\"tabItems.length <= layout.max\" [ngClass]=\"{dropup : position === bottom}\">\n <a (click)=\"showMoreMenu = !showMoreMenu\" href=\"javascript:void(0)\" role=\"link\" aria-label=\"More options\" [attr.aria-expanded]=\"showMoreMenu\">\n <i class=\"app-icon {{morebuttoniconclass}}\" aria-hidden=\"true\"></i><label>{{morebuttonlabel}}</label>\n </a>\n <ul class=\"dropdown-menu dropdown-menu-right\" [ngClass]=\"{'nav navbar-nav' : menutype === thumbnail}\" *ngIf=\"showMoreMenu\">\n <li role=\"menuitem\" class=\"menu-item\" *ngFor=\"let item of tabItems;index as i\" [class.hidden]=\"i < layout.max\">\n <a [ngClass]=\"{active : item.active}\" [href]=\"(item.link || 'javascript:void(0)')| trustAs: 'resource'\" (click)=\"onItemSelect($event, item)\" class=\"dropdown-item\" role=\"link\" [attr.aria-label]=\"item.label\" [attr.aria-current]=\"item.active ? 'page' : null\">\n <i class=\"app-icon\" [ngClass]=\"item.icon\" aria-hidden=\"true\"></i><label>{{item.label}}</label>\n </a>\n </li>\n </ul>\n </li>\n </ul>\n</nav>\n","import {AfterViewInit, Attribute, Component, Injector, OnDestroy, Optional} from '@angular/core';\n\nimport { getEvaluatedData, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport { PageDirective } from '@wm/components/page';\n\nimport { registerProps } from './tabbar.props';\nimport {UserDefinedExecutionContext} from '@wm/core';\n\ndeclare const $;\ndeclare const _;\nconst DEFAULT_CLS = 'app-tabbar app-top-nav';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS};\n\ninterface TabItem {\n icon: string;\n label: string;\n link?: string;\n value?: string;\n}\n\n@Component({\n selector: 'div[wmMobileTabbar]',\n templateUrl: './tabbar.component.html',\n providers: [\n provideAsWidgetRef(MobileTabbarComponent)\n ]\n})\nexport class MobileTabbarComponent extends StylableComponent implements AfterViewInit, OnDestroy {\n static initializeProps = registerProps();\n\n public itemlabel: string;\n public itemlink: string;\n public itemicon: string;\n\n public tabItems = [];\n public layout: any = {};\n public position: any;\n public bottom: any;\n public morebuttoniconclass: any;\n public morebuttonlabel: any;\n public showMoreMenu: boolean = false;\n\n private readonly _layouts = [\n {minwidth: 2048, max: 12},\n {minwidth: 1024, max: 10},\n {minwidth: 768, max: 7},\n {minwidth: 480, max: 5},\n {minwidth: 0, max: 4}\n ];\n\n constructor(\n private page: PageDirective,\n inj: Injector,\n @Attribute('itemlabel.bind') public binditemlabel,\n @Attribute('itemicon.bind') public binditemicon,\n @Attribute('itemlink.bind') public binditemlink\n ) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this);\n page.notify('wmMobileTabbar:ready', this);\n this.tabItems = this.getDefaultItems();\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n if (nv) {\n this.tabItems = this.getTabItems(nv);\n } else {\n this.tabItems = this.getDefaultItems();\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n private getDefaultItems() {\n return [{\n 'label' : 'Home',\n 'icon' : 'wm-sl-r sl-home'\n },{\n 'label' : 'Analytics',\n 'icon' : 'wm-sl-r sl-graph-ascend'\n },{\n 'label' : 'Alerts',\n 'icon' : 'wm-sl-r sl-alarm-bell'\n },{\n 'label' : 'Settings',\n 'icon' : 'wm-sl-r sl-settings'\n }];\n }\n\n public ngAfterViewInit() {\n setTimeout(() => {\n this.layout = this.getSuitableLayout();\n $(window).on('resize.tabbar', _.debounce(() => this.layout = this.getSuitableLayout(), 20));\n });\n super.ngAfterViewInit();\n }\n\n public ngOnDestroy() {\n $(window).off('.tabbar');\n super.ngOnDestroy();\n }\n\n // triggered on item selection\n public onItemSelect($event, selectedItem: TabItem) {\n this.invokeEventCallback('select', {$event, $item: selectedItem.value || selectedItem.label});\n }\n\n private getItems(itemArray: any[]): TabItem[] {\n return itemArray.map(item => ({\n label: item,\n icon: 'wi wi-' + item\n }));\n }\n\n private getSuitableLayout() {\n const avaiableWidth: number = $(this.nativeElement).parent().width();\n return this._layouts.find(l => avaiableWidth >= l.minwidth);\n }\n\n private getTabItems(value: any): TabItem[] {\n if (_.isArray(value)) {\n if (_.isObject(value[0])) {\n return (value as any[]).map(item => {\n const link = getEvaluatedData(item, {field: this.itemlink, 'bindExpression': this.binditemlink}, this.viewParent) || item.link;\n const activePageName = window.location.hash.substr(2);\n return {\n label: getEvaluatedData(item, {field: this.itemlabel, bindExpression: this.binditemlabel}, this.viewParent) || item.label,\n icon: getEvaluatedData(item, {field: this.itemicon, bindExpression: this.binditemicon}, this.viewParent) || item.icon,\n link: link,\n active: _.includes([activePageName, '#' + activePageName, '#/' + activePageName], link)\n };\n });\n } else {\n return this.getItems(value as any[]);\n }\n } else if (_.isString(value)) {\n return this.getItems((value as string).split(','));\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { MobileTabbarComponent } from './tabbar.component';\n\nconst components = [\n MobileTabbarComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class TabBarModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,kBAAkB,EAClB,IAAI,GAAG,C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rB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;iBAC3B,CAAA;;;;6EACY,YAAY,EAAA,EAAA,YAAA,EAAA,CAXrB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAKjB,YAAY;YACZ,kBAAkB,aANtB,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACRzB;;AAEG;;;;"}
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Attribute, Optional, NgModule } from '@angular/core';
3
- import * as i4 from '@wm/components/base';
2
+ import { Component, Attribute, NgModule } from '@angular/core';
3
+ import * as i3 from '@wm/components/base';
4
4
  import { register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, getEvaluatedData, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
5
5
  import * as i1 from '@wm/components/page';
6
- import * as i2 from '@wm/core';
7
- import * as i3 from '@angular/common';
6
+ import * as i2 from '@angular/common';
8
7
  import { CommonModule } from '@angular/common';
9
8
 
10
9
  const registerProps = () => {
@@ -83,13 +82,12 @@ const _c3 = function (a0) { return { dropup: a0 }; };
83
82
  const DEFAULT_CLS = 'app-tabbar app-top-nav';
84
83
  const WIDGET_CONFIG = { widgetType: 'wm-mobile-tabbar', hostClass: DEFAULT_CLS };
85
84
  class MobileTabbarComponent extends StylableComponent {
86
- constructor(page, inj, binditemlabel, binditemicon, binditemlink, _viewParent) {
87
- super(inj, WIDGET_CONFIG, _viewParent);
85
+ constructor(page, inj, binditemlabel, binditemicon, binditemlink) {
86
+ super(inj, WIDGET_CONFIG);
88
87
  this.page = page;
89
88
  this.binditemlabel = binditemlabel;
90
89
  this.binditemicon = binditemicon;
91
90
  this.binditemlink = binditemlink;
92
- this._viewParent = _viewParent;
93
91
  this.tabItems = [];
94
92
  this.layout = {};
95
93
  this.showMoreMenu = false;
@@ -181,7 +179,7 @@ class MobileTabbarComponent extends StylableComponent {
181
179
  }
182
180
  }
183
181
  MobileTabbarComponent.initializeProps = registerProps();
184
- MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind'), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
182
+ MobileTabbarComponent.ɵfac = function MobileTabbarComponent_Factory(t) { return new (t || MobileTabbarComponent)(i0.ɵɵdirectiveInject(i1.PageDirective), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵinjectAttribute('itemlabel.bind'), i0.ɵɵinjectAttribute('itemicon.bind'), i0.ɵɵinjectAttribute('itemlink.bind')); };
185
183
  MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileTabbarComponent, selectors: [["div", "wmMobileTabbar", ""]], features: [i0.ɵɵProvidersFeature([
186
184
  provideAsWidgetRef(MobileTabbarComponent)
187
185
  ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 9, vars: 12, consts: [[1, "navbar", "navbar-default"], [1, "tab-items", "nav", "navbar-nav"], ["class", "tab-item", 3, "hidden", 4, "ngFor", "ngForOf"], [1, "menu-items", "dropdown", 3, "ngClass"], ["href", "javascript:void(0)", "role", "link", "aria-label", "More options", 3, "click"], ["aria-hidden", "true"], ["class", "dropdown-menu dropdown-menu-right", 3, "ngClass", 4, "ngIf"], [1, "tab-item"], ["role", "link", 3, "href", "click"], ["aria-hidden", "true", 1, "app-icon", 3, "ngClass"], [1, "dropdown-menu", "dropdown-menu-right", 3, "ngClass"], ["role", "menuitem", "class", "menu-item", 3, "hidden", 4, "ngFor", "ngForOf"], ["role", "menuitem", 1, "menu-item"], ["role", "link", 1, "dropdown-item", 3, "ngClass", "href", "click"]], template: function MobileTabbarComponent_Template(rf, ctx) { if (rf & 1) {
@@ -209,7 +207,7 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
209
207
  i0.ɵɵtextInterpolate(ctx.morebuttonlabel);
210
208
  i0.ɵɵadvance(1);
211
209
  i0.ɵɵproperty("ngIf", ctx.showMoreMenu);
212
- } }, dependencies: [i3.NgClass, i3.NgForOf, i3.NgIf, i4.TrustAsPipe], encapsulation: 2 });
210
+ } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.TrustAsPipe], encapsulation: 2 });
213
211
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileTabbarComponent, [{
214
212
  type: Component,
215
213
  args: [{ selector: 'div[wmMobileTabbar]', providers: [
@@ -224,8 +222,6 @@ MobileTabbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mobil
224
222
  }] }, { type: undefined, decorators: [{
225
223
  type: Attribute,
226
224
  args: ['itemlink.bind']
227
- }] }, { type: i2.UserDefinedExecutionContext, decorators: [{
228
- type: Optional
229
225
  }] }]; }, null); })();
230
226
 
231
227
  const components = [