@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,15 +1,13 @@
1
1
  import { AfterViewInit, Injector } from '@angular/core';
2
2
  import { StylableComponent } from '@wm/components/base';
3
- import { UserDefinedExecutionContext } from '@wm/core';
4
3
  import { SegmentContentComponent } from './segment-content/segment-content.component';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class SegmentedControlComponent extends StylableComponent implements AfterViewInit {
7
- _viewParent: UserDefinedExecutionContext;
8
6
  static initializeProps: void;
9
7
  private _$container;
10
8
  contents: SegmentContentComponent[];
11
9
  currentSelectedIndex: number;
12
- constructor(inj: Injector, _viewParent: UserDefinedExecutionContext);
10
+ constructor(inj: Injector);
13
11
  addContent(content: SegmentContentComponent): void;
14
12
  goToNext(): void;
15
13
  goToPrev(): void;
@@ -17,6 +15,6 @@ export declare class SegmentedControlComponent extends StylableComponent impleme
17
15
  onPropertyChange(key: any, nv: any, ov?: any): void;
18
16
  removeContent(content: SegmentContentComponent): void;
19
17
  showContent(content: number | SegmentContentComponent, $event?: any, defaultLoad?: boolean): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, [null, { optional: true; }]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
21
19
  static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "[wmSegmentedControl]", never, {}, {}, never, ["*"], false, never>;
22
20
  }
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('@wm/core'), require('@wm/components/basic'), require('@angular/common'), require('@wm/mobile/components/basic'), require('@wm/mobile/components/page/mobile-navbar'), require('@wm/components/page')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/core', '@wm/components/basic', '@angular/common', '@wm/mobile/components/basic', '@wm/mobile/components/page/mobile-navbar', '@wm/components/page'], factory) :
4
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.data = global.wm.mobile.components.data || {}, global.wm.mobile.components.data.medialist = {}), global.ng.core, global.wm.components.base, global.wm.core, global.wm.components.basic, global.ng.common, global.wm.mobile.components.basic, global.wm.mobile.components.page.mobilenavbar, global.wm.components.page));
5
- })(this, (function (exports, i0, base, i1, i2, i3, i4, i5, i6) { 'use strict';
5
+ })(this, (function (exports, i0, base, core, i1, i2, i3, i4, i5) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -27,7 +27,6 @@
27
27
  var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
28
28
  var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
29
29
  var i5__namespace = /*#__PURE__*/_interopNamespaceDefault(i5);
30
- var i6__namespace = /*#__PURE__*/_interopNamespaceDefault(i6);
31
30
 
32
31
  class MediaListItemDirective {
33
32
  set wmMediaListItem(val) {
@@ -143,9 +142,8 @@
143
142
  Layout["MULTI_ROW"] = "Multi-row";
144
143
  })(Layout || (Layout = {}));
145
144
  class MediaListComponent extends base.StylableComponent {
146
- constructor(inj, _viewParent) {
147
- super(inj, WIDGET_CONFIG, _viewParent);
148
- this._viewParent = _viewParent;
145
+ constructor(inj) {
146
+ super(inj, WIDGET_CONFIG);
149
147
  this.selectedMediaIndex = -1;
150
148
  base.styler(this.nativeElement, this, base.APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
151
149
  }
@@ -164,10 +162,10 @@
164
162
  }
165
163
  else if (key === 'layout') {
166
164
  if (nv === Layout.SINGLE_ROW) {
167
- i1.addClass(this.nativeElement, 'singlerow');
165
+ core.addClass(this.nativeElement, 'singlerow');
168
166
  }
169
167
  else {
170
- i1.removeClass(this.nativeElement, 'singlerow');
168
+ core.removeClass(this.nativeElement, 'singlerow');
171
169
  }
172
170
  }
173
171
  else {
@@ -178,19 +176,19 @@
178
176
  this.selectedMediaIndex = -1;
179
177
  this.$fullScreenEle.appendTo(this.$element);
180
178
  this.$fullScreenEle = null;
181
- i1.$appDigest();
179
+ core.$appDigest();
182
180
  }
183
181
  getPicTitle() {
184
182
  return this.selectedMediaIndex + 1 + '/' + this.fieldDefs.length;
185
183
  }
186
184
  showFullScreen(i) {
187
185
  this.selectedMediaIndex = i;
188
- i1.$appDigest();
186
+ core.$appDigest();
189
187
  }
190
188
  showNext() {
191
189
  if (this.selectedMediaIndex < this.fieldDefs.length - 1) {
192
190
  this.selectedMediaIndex++;
193
- i1.$appDigest();
191
+ core.$appDigest();
194
192
  }
195
193
  }
196
194
  // Returns the field value (src) from the fieldDefs
@@ -203,20 +201,20 @@
203
201
  showPrev() {
204
202
  if (this.selectedMediaIndex > 0) {
205
203
  this.selectedMediaIndex--;
206
- i1.$appDigest();
204
+ core.$appDigest();
207
205
  }
208
206
  }
209
207
  onDataChange(nv) {
210
208
  if (nv) {
211
- if (i1.isObject(nv) && !i1.isArray(nv)) {
209
+ if (core.isObject(nv) && !core.isArray(nv)) {
212
210
  nv = [nv];
213
211
  }
214
212
  if (!this.binddataset) {
215
- if (i1.isString(nv)) {
213
+ if (core.isString(nv)) {
216
214
  nv = nv.split(',');
217
215
  }
218
216
  }
219
- if (i1.isArray(nv)) {
217
+ if (core.isArray(nv)) {
220
218
  this.updateFieldDefs(nv);
221
219
  }
222
220
  }
@@ -243,7 +241,7 @@
243
241
  }
244
242
  }
245
243
  MediaListComponent.initializeProps = registerProps();
246
- MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
244
+ MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
247
245
  MediaListComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: MediaListComponent, selectors: [["", "wmMediaList", ""]], contentQueries: function MediaListComponent_ContentQueries(rf, ctx, dirIndex) {
248
246
  if (rf & 1) {
249
247
  i0__namespace.ɵɵcontentQuery(dirIndex, _c0, 5);
@@ -268,18 +266,14 @@
268
266
  i0__namespace.ɵɵadvance(1);
269
267
  i0__namespace.ɵɵproperty("ngIf", ctx.selectedMediaIndex >= 0 && ctx.appendToBody());
270
268
  }
271
- }, dependencies: [i2__namespace.PictureDirective, i3__namespace.NgForOf, i3__namespace.NgIf, i3__namespace.NgTemplateOutlet, i3__namespace.NgStyle, i4__namespace.ImageCacheDirective, i5__namespace.MobileNavbarComponent, i6__namespace.ContentComponent, i6__namespace.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
269
+ }, dependencies: [i1__namespace.PictureDirective, i2__namespace.NgForOf, i2__namespace.NgIf, i2__namespace.NgTemplateOutlet, i2__namespace.NgStyle, i3__namespace.ImageCacheDirective, i4__namespace.MobileNavbarComponent, i5__namespace.ContentComponent, i5__namespace.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
272
270
  (function () {
273
271
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MediaListComponent, [{
274
272
  type: i0.Component,
275
273
  args: [{ selector: '[wmMediaList]', providers: [
276
274
  base.provideAsWidgetRef(MediaListComponent)
277
275
  ], template: "<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n" }]
278
- }], function () {
279
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
280
- type: i0.Optional
281
- }] }];
282
- }, { mediaListTemplate: [{
276
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { mediaListTemplate: [{
283
277
  type: i0.ContentChild,
284
278
  args: ['mediaListTemplate']
285
279
  }] });
@@ -293,22 +287,22 @@
293
287
  }
294
288
  MediaListModule.ɵfac = function MediaListModule_Factory(t) { return new (t || MediaListModule)(); };
295
289
  MediaListModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: MediaListModule });
296
- MediaListModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.BasicModule,
297
- i3.CommonModule,
298
- i4.BasicModule,
299
- i5.MobileNavbarModule,
300
- i6.PageModule,
290
+ MediaListModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1.BasicModule,
291
+ i2.CommonModule,
292
+ i3.BasicModule,
293
+ i4.MobileNavbarModule,
294
+ i5.PageModule,
301
295
  base.WmComponentsModule] });
302
296
  (function () {
303
297
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MediaListModule, [{
304
298
  type: i0.NgModule,
305
299
  args: [{
306
300
  imports: [
307
- i2.BasicModule,
308
- i3.CommonModule,
309
- i4.BasicModule,
310
- i5.MobileNavbarModule,
311
- i6.PageModule,
301
+ i1.BasicModule,
302
+ i2.CommonModule,
303
+ i3.BasicModule,
304
+ i4.MobileNavbarModule,
305
+ i5.PageModule,
312
306
  base.WmComponentsModule
313
307
  ],
314
308
  declarations: [...components],
@@ -318,11 +312,11 @@
318
312
  })();
319
313
  (function () {
320
314
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(MediaListModule, { declarations: [MediaListItemDirective,
321
- MediaListComponent], imports: [i2.BasicModule,
322
- i3.CommonModule,
323
- i4.BasicModule,
324
- i5.MobileNavbarModule,
325
- i6.PageModule,
315
+ MediaListComponent], imports: [i1.BasicModule,
316
+ i2.CommonModule,
317
+ i3.BasicModule,
318
+ i4.MobileNavbarModule,
319
+ i5.PageModule,
326
320
  base.WmComponentsModule], exports: [MediaListItemDirective,
327
321
  MediaListComponent] });
328
322
  })();
@@ -1,15 +1,14 @@
1
- import { Component, ContentChild, Injector, Optional, TemplateRef } from '@angular/core';
2
- import { $appDigest, addClass, isArray, isObject, isString, removeClass, UserDefinedExecutionContext } from '@wm/core';
1
+ import { Component, ContentChild, Injector, TemplateRef } from '@angular/core';
2
+ import { $appDigest, addClass, isArray, isObject, isString, removeClass } from '@wm/core';
3
3
  import { APPLY_STYLES_TYPE, getEvaluatedData, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
4
4
  import { registerProps } from './media-list.props';
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "@wm/core";
7
- import * as i2 from "@wm/components/basic";
8
- import * as i3 from "@angular/common";
9
- import * as i4 from "@wm/mobile/components/basic";
10
- import * as i5 from "@wm/mobile/components/page/mobile-navbar";
11
- import * as i6 from "@wm/components/page";
12
- import * as i7 from "./media-list-item/media-list-item.directive";
6
+ import * as i1 from "@wm/components/basic";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@wm/mobile/components/basic";
9
+ import * as i4 from "@wm/mobile/components/page/mobile-navbar";
10
+ import * as i5 from "@wm/components/page";
11
+ import * as i6 from "./media-list-item/media-list-item.directive";
13
12
  const _c0 = ["mediaListTemplate"];
14
13
  const _c1 = ["wmMediaList", ""];
15
14
  const _c2 = function (a0, a1) { return { width: a0, height: a1 }; };
@@ -77,9 +76,8 @@ var Layout;
77
76
  Layout["MULTI_ROW"] = "Multi-row";
78
77
  })(Layout || (Layout = {}));
79
78
  export class MediaListComponent extends StylableComponent {
80
- constructor(inj, _viewParent) {
81
- super(inj, WIDGET_CONFIG, _viewParent);
82
- this._viewParent = _viewParent;
79
+ constructor(inj) {
80
+ super(inj, WIDGET_CONFIG);
83
81
  this.selectedMediaIndex = -1;
84
82
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
85
83
  }
@@ -177,7 +175,7 @@ export class MediaListComponent extends StylableComponent {
177
175
  }
178
176
  }
179
177
  MediaListComponent.initializeProps = registerProps();
180
- MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.UserDefinedExecutionContext, 8)); };
178
+ MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
181
179
  MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaListComponent, selectors: [["", "wmMediaList", ""]], contentQueries: function MediaListComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
182
180
  i0.ɵɵcontentQuery(dirIndex, _c0, 5);
183
181
  } if (rf & 2) {
@@ -196,16 +194,14 @@ MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaLis
196
194
  i0.ɵɵproperty("ngForOf", ctx.fieldDefs);
197
195
  i0.ɵɵadvance(1);
198
196
  i0.ɵɵproperty("ngIf", ctx.selectedMediaIndex >= 0 && ctx.appendToBody());
199
- } }, dependencies: [i2.PictureDirective, i3.NgForOf, i3.NgIf, i3.NgTemplateOutlet, i3.NgStyle, i4.ImageCacheDirective, i5.MobileNavbarComponent, i6.ContentComponent, i6.PageContentComponent, i7.MediaListItemDirective], encapsulation: 2 });
197
+ } }, dependencies: [i1.PictureDirective, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, i3.ImageCacheDirective, i4.MobileNavbarComponent, i5.ContentComponent, i5.PageContentComponent, i6.MediaListItemDirective], encapsulation: 2 });
200
198
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MediaListComponent, [{
201
199
  type: Component,
202
200
  args: [{ selector: '[wmMediaList]', providers: [
203
201
  provideAsWidgetRef(MediaListComponent)
204
202
  ], template: "<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n" }]
205
- }], function () { return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
206
- type: Optional
207
- }] }]; }, { mediaListTemplate: [{
203
+ }], function () { return [{ type: i0.Injector }]; }, { mediaListTemplate: [{
208
204
  type: ContentChild,
209
205
  args: ['mediaListTemplate']
210
206
  }] }); })();
211
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb2JpbGUvY29tcG9uZW50cy9kYXRhL21lZGlhLWxpc3Qvc3JjL21lZGlhLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9iaWxlL2NvbXBvbmVudHMvZGF0YS9tZWRpYS1saXN0L3NyYy9tZWRpYS1saXN0LmNvbXBvbmVudC5od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2hvd1ByZXYoKSB7XG4gICAgICAgIGlmICh0aGlzLnNlbGVjdGVkTWVkaWFJbmRleCA+IDApIHtcbiAgICAgICAgICAgIHRoaXMuc2VsZWN0ZWRNZWRpYUluZGV4LS07XG4gICAgICAgICAgICAkYXBwRGlnZXN0KCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcml2YXRlIG9uRGF0YUNoYW5nZShudjogYW55KSB7XG4gICAgICAgIGlmIChudikge1xuXG4gICAgICAgICAgICBpZiAoaXNPYmplY3QobnYpICYmICFpc0FycmF5KG52KSkge1xuICAgICAgICAgICAgICAgIG52ID0gW252XTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICghdGhpcy5iaW5kZGF0YXNldCkge1xuICAgICAgICAgICAgICAgIGlmIChpc1N0cmluZyhudikpIHtcbiAgICAgICAgICAgICAgICAgICAgbnYgPSBudi5zcGxpdCgnLCcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChpc0FycmF5KG52KSkge1xuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlRmllbGREZWZzKG52IGFzIGFueVtdKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlRmllbGREZWZzKFtdKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8qKiBXaXRoIGdpdmVuIGRhdGEsIGNyZWF0ZXMgbWVkaWEgbGlzdCBpdGVtcyovXG4gICAgcHJpdmF0ZSB1cGRhdGVGaWVsZERlZnMoZGF0YTogYW55W10pIHtcbiAgICAgICAgdGhpcy5maWVsZERlZnMgPSBkYXRhO1xuICAgICAgICBkYXRhLmZvckVhY2goZmllbGQgPT4ge1xuICAgICAgICAgICAgZmllbGQubWVkaWFVcmxWYWwgICAgID0gZ2V0RXZhbHVhdGVkRGF0YShmaWVsZCwge2ZpZWxkOiB0aGlzLm1lZGlhdXJsfSwgdGhpc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T1cInNob3dOZXh0KClcIiAoc3dpcGVyaWdodCk9XCJzaG93UHJldigpXCI+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiaW1nVGVtcGxhdGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dF09XCJ7ZmllbGQ6ICdtZWRpYVVybFZhbCcsIGNsYXNzOiAnY2VudGVyLWJsb2NrJ31cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwiYXBwLW1lZGlhLWZ1bGxzY3JlZW4tbmF2LWNvbnRyb2wgbGVmdFwiIFtoaWRkZW5dPVwiIShzZWxlY3RlZE1lZGlhSW5kZXggPiAwKVwiIChjbGljayk9XCJzaG93UHJldigpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cIndpIHdpLWNoZXZyb24tbGVmdFwiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgICAgICA8YSBjbGFzcz1cImFwcC1tZWRpYS1mdWxsc2NyZWVuLW5hdi1jb250cm9sIHJpZ2h0XCIgW2hpZGRlbl09XCIhKHNlbGVjdGVkTWVkaWFJbmRleCA8IGZpZWxkRGVmcy5sZW5ndGgtMSlcIiAoY2xpY2spPVwic2hvd05leHQoKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJ3aSB3aS1jaGV2cm9uLXJpZ2h0XCI+PC9pPlxuICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj5cblxuPG5nLXRlbXBsYXRlICNpbWdUZW1wbGF0ZSBsZXQtc3JjPVwic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gICAgICAgdGhpcy5zZWxlY3RlZE1lZGlhSW5kZXgrKztcbiAgICAgICAgICAgICRhcHBEaWdlc3QoKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vIFJldHVybnMgdGhlIGZpZWxkIHZhbHVlIChzcmMpIGZyb20gdGhlIGZpZWxkRGVmc1xuICAgIHByaXZhdGUgZ2V0U3JjKGZpZWxkKSB7XG4gICAgICAgIGlmIChmaWVsZCkge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmllbGREZWZzW3RoaXMuc2VsZWN0ZWRNZWRpYUluZGV4XVtmaWVsZF07XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuICcnO1xuICAgIH1cblxuICAgIHB1YmxpYyBzaG93UHJldigpIHtcbiAgICAgICAgaWYgKHRoaXMuc2VsZWN0ZWRNZWRpYUluZGV4ID4gMCkge1xuICAgICAgICAgICAgdGhpcy5zZWxlY3RlZE1lZGlhSW5kZXgtLTtcbiAgICAgICAgICAgICRhcHBEaWdlc3QoKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByaXZhdGUgb25EYXRhQ2hhbmdlKG52OiBhbnkpIHtcbiAgICAgICAgaWYgKG52KSB7XG5cbiAgICAgICAgICAgIGlmIChpc09iamVjdChudikgJiYgIWlzQXJyYXkobnYpKSB7XG4gICAgICAgICAgICAgICAgbnYgPSBbbnZdO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKCF0aGlzLmJpbmRkYXRhc2V0KSB7XG4gICAgICAgICAgICAgICAgaWYgKGlzU3RyaW5nKG52KSkge1xuICAgICAgICAgICAgICAgICAgICBudiA9IG52LnNwbGl0KCcsJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGlzQXJyYXkobnYpKSB7XG4gICAgICAgICAgICAgICAgdGhpcy51cGRhdGVGaWVsZERlZnMobnYgYXMgYW55W10pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc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ZW4oKVwiXG4gICAgICAgICAgICBzaG93TGVmdG5hdmJ0bj1cImZhbHNlXCJcbiAgICAgICAgICAgIGJhY2tidXR0b25pY29uY2xhc3MuZXZlbnQ9XCJ3aSB3aS1jaGV2cm9uLWxlZnRcIlxuICAgICAgICAgICAgdGl0bGUuYmluZD1cImdldFBpY1RpdGxlKClcIj5cbiAgICA8L2hlYWRlcj5cbiAgICA8ZGl2IHdtQ29udGVudD5cbiAgICAgICAgPGRpdiB3bVBhZ2VDb250ZW50PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1lZGlhLWNvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW1hZ2UtY29udGFpbmVyXCIgIChzd2lwZWxlZnQpPVwic2hvd05leHQoKVwiIChzd2lwZXJpZ2h0KT1cInNob3dQcmV2KClcIj5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJpbWdUZW1wbGF0ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cIntmaWVsZDogJ21lZGlhVXJsVmFsJywgY2xhc3M6ICdjZW50ZXItYmxvY2snfVwiPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgPGEgY2xhc3M9XCJhcHAtbWVkaWEtZnVsbHNjcmVlbi1uYXYtY29udHJvbCBsZWZ0XCIgW2hpZGRlbl09XCIhKHNlbGVjdGVkTWVkaWFJbmRleCA+IDApXCIgKGNsaWNrKT1cInNob3dQcmV2KClcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwid2kgd2ktY2hldnJvbi1sZWZ0XCI+PC9pPlxuICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgIDxhIGNsYXNzPVwiYXBwLW1lZGlhLWZ1bGxzY3JlZW4tbmF2LWNvbnRyb2wgcmlnaHRcIiBbaGlkZGVuXT1cIiEoc2VsZWN0ZWRNZWRpYUluZGV4IDwgZmllbGREZWZzLmxlbmd0aC0xKVwiIChjbGljayk9XCJzaG93TmV4dCgpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cIndpIHdpLWNoZXZyb24tcmlnaHRcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuXG48bmctdGVtcGxhdGUgI2ltZ1RlbXBsYXRlIGxldC1zcmM9XCJzcmNcIiBsZXQtY2xhc3NuYW1lPVwiY2xhc3NcIiBsZXQtZmllbGQ9XCJmaWVsZFwiPlxuICAgIDxpbWcgd21QaWN0dXJlIGNsYXNzPVwie3tjbGFzc25hbWV9fVwiIHBpY3R1cmVzb3VyY2UuYmluZD1cInNyYyB8fCBnZXRTcmMoZmllbGQpXCIgd21JbWFnZUNhY2hlPVwie3tvZmZsaW5lfX1cIiAvPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -1,17 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, Optional, ContentChild, NgModule } from '@angular/core';
2
+ import { Directive, Input, Component, ContentChild, NgModule } from '@angular/core';
3
3
  import { provideAsWidgetRef, register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, APPLY_STYLES_TYPE, getEvaluatedData, WmComponentsModule } from '@wm/components/base';
4
- import * as i1 from '@wm/core';
5
4
  import { addClass, removeClass, $appDigest, isObject, isArray, isString } from '@wm/core';
6
- import * as i2 from '@wm/components/basic';
5
+ import * as i1 from '@wm/components/basic';
7
6
  import { BasicModule } from '@wm/components/basic';
8
- import * as i3 from '@angular/common';
7
+ import * as i2 from '@angular/common';
9
8
  import { CommonModule } from '@angular/common';
10
- import * as i4 from '@wm/mobile/components/basic';
9
+ import * as i3 from '@wm/mobile/components/basic';
11
10
  import { BasicModule as BasicModule$1 } from '@wm/mobile/components/basic';
12
- import * as i5 from '@wm/mobile/components/page/mobile-navbar';
11
+ import * as i4 from '@wm/mobile/components/page/mobile-navbar';
13
12
  import { MobileNavbarModule } from '@wm/mobile/components/page/mobile-navbar';
14
- import * as i6 from '@wm/components/page';
13
+ import * as i5 from '@wm/components/page';
15
14
  import { PageModule } from '@wm/components/page';
16
15
 
17
16
  class MediaListItemDirective {
@@ -128,9 +127,8 @@ var Layout;
128
127
  Layout["MULTI_ROW"] = "Multi-row";
129
128
  })(Layout || (Layout = {}));
130
129
  class MediaListComponent extends StylableComponent {
131
- constructor(inj, _viewParent) {
132
- super(inj, WIDGET_CONFIG, _viewParent);
133
- this._viewParent = _viewParent;
130
+ constructor(inj) {
131
+ super(inj, WIDGET_CONFIG);
134
132
  this.selectedMediaIndex = -1;
135
133
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
136
134
  }
@@ -228,7 +226,7 @@ class MediaListComponent extends StylableComponent {
228
226
  }
229
227
  }
230
228
  MediaListComponent.initializeProps = registerProps();
231
- MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.UserDefinedExecutionContext, 8)); };
229
+ MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
232
230
  MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaListComponent, selectors: [["", "wmMediaList", ""]], contentQueries: function MediaListComponent_ContentQueries(rf, ctx, dirIndex) {
233
231
  if (rf & 1) {
234
232
  i0.ɵɵcontentQuery(dirIndex, _c0, 5);
@@ -253,18 +251,14 @@ MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaLis
253
251
  i0.ɵɵadvance(1);
254
252
  i0.ɵɵproperty("ngIf", ctx.selectedMediaIndex >= 0 && ctx.appendToBody());
255
253
  }
256
- }, dependencies: [i2.PictureDirective, i3.NgForOf, i3.NgIf, i3.NgTemplateOutlet, i3.NgStyle, i4.ImageCacheDirective, i5.MobileNavbarComponent, i6.ContentComponent, i6.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
254
+ }, dependencies: [i1.PictureDirective, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, i3.ImageCacheDirective, i4.MobileNavbarComponent, i5.ContentComponent, i5.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
257
255
  (function () {
258
256
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MediaListComponent, [{
259
257
  type: Component,
260
258
  args: [{ selector: '[wmMediaList]', providers: [
261
259
  provideAsWidgetRef(MediaListComponent)
262
260
  ], template: "<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n" }]
263
- }], function () {
264
- return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
265
- type: Optional
266
- }] }];
267
- }, { mediaListTemplate: [{
261
+ }], function () { return [{ type: i0.Injector }]; }, { mediaListTemplate: [{
268
262
  type: ContentChild,
269
263
  args: ['mediaListTemplate']
270
264
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/data/media-list/src/media-list-item/media-list-item.directive.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.props.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.component.html","../../../../../../projects/mobile/components/data/media-list/src/media-list.component.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.module.ts","../../../../../../projects/mobile/components/data/media-list/src/index.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\n\nimport { provideAsWidgetRef } from '@wm/components/base';\n\n@Directive({\n selector: '[wmMediaListItem]',\n providers: [\n provideAsWidgetRef(MediaListItemDirective)\n ]\n})\nexport class MediaListItemDirective {\n\n public index;\n public item;\n\n @Input() set wmMediaListItem(val) {\n this.item = val;\n }\n}\n","import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-media-list',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['layout', {value: 'Single-row', ...PROP_STRING}],\n ['mediaurl', PROP_STRING],\n ['name', PROP_STRING],\n ['offline', {value: true, ...PROP_BOOLEAN}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['thumbnailheight', {value: '100pt', ...PROP_STRING}],\n ['thumbnailwidth', {value: '100pt', ...PROP_STRING}],\n ['thumbnailurl', PROP_STRING],\n ]\n )\n );\n};\n","<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n","import {Component, ContentChild, ElementRef, Injector, Optional, TemplateRef} from '@angular/core';\n\nimport {$appDigest, addClass, isArray, isObject, isString, removeClass, UserDefinedExecutionContext} from '@wm/core';\nimport {\n APPLY_STYLES_TYPE,\n getEvaluatedData,\n IWidgetConfig,\n provideAsWidgetRef,\n StylableComponent,\n styler\n} from '@wm/components/base';\n\nimport { registerProps } from './media-list.props';\n\nconst DEFAULT_CLS = 'app-medialist';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-media-list', hostClass: DEFAULT_CLS};\n\nenum Layout {\n SINGLE_ROW = 'Single-row',\n MULTI_ROW = 'Multi-row'\n}\n\n@Component({\n selector: '[wmMediaList]',\n templateUrl: './media-list.component.html',\n providers: [\n provideAsWidgetRef(MediaListComponent)\n ]\n})\nexport class MediaListComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n private $fullScreenEle;\n public binddataset;\n public fieldDefs: any[] [];\n public mediaurl: string;\n public thumbnailurl: string;\n public selectedMediaIndex = -1;\n\n @ContentChild('mediaListTemplate') mediaListTemplate: TemplateRef<ElementRef>;\n\n constructor(inj: Injector, @Optional() public _viewParent: UserDefinedExecutionContext) {\n super(inj, WIDGET_CONFIG, _viewParent);\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);\n }\n\n public appendToBody() {\n if (!this.$fullScreenEle) {\n setTimeout(() => {\n this.$fullScreenEle = this.$element.find('>.app-media-fullscreen');\n this.$fullScreenEle.appendTo('body');\n }, 100);\n }\n return true;\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'layout') {\n if (nv === Layout.SINGLE_ROW) {\n addClass(this.nativeElement, 'singlerow');\n } else {\n removeClass(this.nativeElement, 'singlerow');\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n public exitFullScreen() {\n this.selectedMediaIndex = -1;\n this.$fullScreenEle.appendTo(this.$element);\n this.$fullScreenEle = null;\n $appDigest();\n }\n\n public getPicTitle() {\n return this.selectedMediaIndex + 1 + '/' + this.fieldDefs.length;\n }\n\n public showFullScreen(i) {\n this.selectedMediaIndex = i;\n $appDigest();\n }\n\n public showNext() {\n if (this.selectedMediaIndex < this.fieldDefs.length - 1) {\n this.selectedMediaIndex++;\n $appDigest();\n }\n }\n\n // Returns the field value (src) from the fieldDefs\n private getSrc(field) {\n if (field) {\n return this.fieldDefs[this.selectedMediaIndex][field];\n }\n return '';\n }\n\n public showPrev() {\n if (this.selectedMediaIndex > 0) {\n this.selectedMediaIndex--;\n $appDigest();\n }\n }\n\n private onDataChange(nv: any) {\n if (nv) {\n\n if (isObject(nv) && !isArray(nv)) {\n nv = [nv];\n }\n if (!this.binddataset) {\n if (isString(nv)) {\n nv = nv.split(',');\n }\n }\n if (isArray(nv)) {\n this.updateFieldDefs(nv as any[]);\n }\n } else {\n this.updateFieldDefs([]);\n }\n }\n\n /** With given data, creates media list items*/\n private updateFieldDefs(data: any[]) {\n this.fieldDefs = data;\n data.forEach(field => {\n field.mediaUrlVal = getEvaluatedData(field, {field: this.mediaurl}, this.viewParent);\n field.thumbnailUrlVal = getEvaluatedData(field, this.thumbnailurl, this.viewParent);\n });\n this.fieldDefs = data;\n }\n\n /**\n * used to track list items by Index.\n * @param {number} index value of the list item\n * @returns {number} index.\n */\n private listTrackByFn(index: number): number {\n return index;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { BasicModule as MobileBasicModule } from '@wm/mobile/components/basic'\nimport { MobileNavbarModule } from '@wm/mobile/components/page/mobile-navbar';\nimport { PageModule } from '@wm/components/page';\nimport { BasicModule } from '@wm/components/basic';\n\nimport { MediaListComponent } from './media-list.component';\nimport { MediaListItemDirective } from './media-list-item/media-list-item.directive';\n\nconst components = [\n MediaListItemDirective,\n MediaListComponent\n];\n\n@NgModule({\n imports: [\n BasicModule,\n CommonModule,\n MobileBasicModule,\n MobileNavbarModule,\n PageModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class MediaListModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["MobileBasicModule"],"mappings":";;;;;;;;;;;;;;;;MAUa,sBAAsB,CAAA;IAK/B,IAAa,eAAe,CAAC,GAAG,EAAA;AAC5B,QAAA,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;KACnB;;4FAPQ,sBAAsB,GAAA,CAAA,EAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,IAAA,EAAA,sBAAsB,EAJpB,SAAA,EAAA,CAAA,CAAA,EAAA,EAAA,iBAAA,EAAA,EAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,CAAA,EAAA,CAAA,kBAAA,CAAA;YACP,kBAAkB,CAAC,sBAAsB,CAAC;SAC7C,CAAA,CAAA,EAAA,CAAA,CAAA;;4EAEQ,sBAAsB,EAAA,CAAA;kBANlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,SAAS,EAAE;wBACP,kBAAkB,CAAwB,sBAAA,CAAA;AAC7C,qBAAA;iBACJ,CAAA;oBAMgB,eA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ACdtB;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/data/media-list/src/media-list-item/media-list-item.directive.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.props.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.component.html","../../../../../../projects/mobile/components/data/media-list/src/media-list.component.ts","../../../../../../projects/mobile/components/data/media-list/src/media-list.module.ts","../../../../../../projects/mobile/components/data/media-list/src/index.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\n\nimport { provideAsWidgetRef } from '@wm/components/base';\n\n@Directive({\n selector: '[wmMediaListItem]',\n providers: [\n provideAsWidgetRef(MediaListItemDirective)\n ]\n})\nexport class MediaListItemDirective {\n\n public index;\n public item;\n\n @Input() set wmMediaListItem(val) {\n this.item = val;\n }\n}\n","import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-media-list',\n new Map(\n [\n ['class', PROP_STRING],\n ['dataset', PROP_ANY],\n ['layout', {value: 'Single-row', ...PROP_STRING}],\n ['mediaurl', PROP_STRING],\n ['name', PROP_STRING],\n ['offline', {value: true, ...PROP_BOOLEAN}],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['thumbnailheight', {value: '100pt', ...PROP_STRING}],\n ['thumbnailwidth', {value: '100pt', ...PROP_STRING}],\n ['thumbnailurl', PROP_STRING],\n ]\n )\n );\n};\n","<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n","import {Component, ContentChild, ElementRef, Injector, Optional, TemplateRef} from '@angular/core';\n\nimport {$appDigest, addClass, isArray, isObject, isString, removeClass, UserDefinedExecutionContext} from '@wm/core';\nimport {\n APPLY_STYLES_TYPE,\n getEvaluatedData,\n IWidgetConfig,\n provideAsWidgetRef,\n StylableComponent,\n styler\n} from '@wm/components/base';\n\nimport { registerProps } from './media-list.props';\n\nconst DEFAULT_CLS = 'app-medialist';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-media-list', hostClass: DEFAULT_CLS};\n\nenum Layout {\n SINGLE_ROW = 'Single-row',\n MULTI_ROW = 'Multi-row'\n}\n\n@Component({\n selector: '[wmMediaList]',\n templateUrl: './media-list.component.html',\n providers: [\n provideAsWidgetRef(MediaListComponent)\n ]\n})\nexport class MediaListComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n private $fullScreenEle;\n public binddataset;\n public fieldDefs: any[] [];\n public mediaurl: string;\n public thumbnailurl: string;\n public selectedMediaIndex = -1;\n\n @ContentChild('mediaListTemplate') mediaListTemplate: TemplateRef<ElementRef>;\n\n constructor(inj: Injector) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);\n }\n\n public appendToBody() {\n if (!this.$fullScreenEle) {\n setTimeout(() => {\n this.$fullScreenEle = this.$element.find('>.app-media-fullscreen');\n this.$fullScreenEle.appendTo('body');\n }, 100);\n }\n return true;\n }\n\n public onPropertyChange(key, nv, ov?) {\n if (key === 'dataset') {\n this.onDataChange(nv);\n } else if (key === 'layout') {\n if (nv === Layout.SINGLE_ROW) {\n addClass(this.nativeElement, 'singlerow');\n } else {\n removeClass(this.nativeElement, 'singlerow');\n }\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n public exitFullScreen() {\n this.selectedMediaIndex = -1;\n this.$fullScreenEle.appendTo(this.$element);\n this.$fullScreenEle = null;\n $appDigest();\n }\n\n public getPicTitle() {\n return this.selectedMediaIndex + 1 + '/' + this.fieldDefs.length;\n }\n\n public showFullScreen(i) {\n this.selectedMediaIndex = i;\n $appDigest();\n }\n\n public showNext() {\n if (this.selectedMediaIndex < this.fieldDefs.length - 1) {\n this.selectedMediaIndex++;\n $appDigest();\n }\n }\n\n // Returns the field value (src) from the fieldDefs\n private getSrc(field) {\n if (field) {\n return this.fieldDefs[this.selectedMediaIndex][field];\n }\n return '';\n }\n\n public showPrev() {\n if (this.selectedMediaIndex > 0) {\n this.selectedMediaIndex--;\n $appDigest();\n }\n }\n\n private onDataChange(nv: any) {\n if (nv) {\n\n if (isObject(nv) && !isArray(nv)) {\n nv = [nv];\n }\n if (!this.binddataset) {\n if (isString(nv)) {\n nv = nv.split(',');\n }\n }\n if (isArray(nv)) {\n this.updateFieldDefs(nv as any[]);\n }\n } else {\n this.updateFieldDefs([]);\n }\n }\n\n /** With given data, creates media list items*/\n private updateFieldDefs(data: any[]) {\n this.fieldDefs = data;\n data.forEach(field => {\n field.mediaUrlVal = getEvaluatedData(field, {field: this.mediaurl}, this.viewParent);\n field.thumbnailUrlVal = getEvaluatedData(field, this.thumbnailurl, this.viewParent);\n });\n this.fieldDefs = data;\n }\n\n /**\n * used to track list items by Index.\n * @param {number} index value of the list item\n * @returns {number} index.\n */\n private listTrackByFn(index: number): number {\n return index;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { BasicModule as MobileBasicModule } from '@wm/mobile/components/basic'\nimport { MobileNavbarModule } from '@wm/mobile/components/page/mobile-navbar';\nimport { PageModule } from '@wm/components/page';\nimport { BasicModule } from '@wm/components/basic';\n\nimport { MediaListComponent } from './media-list.component';\nimport { MediaListItemDirective } from './media-list-item/media-list-item.directive';\n\nconst components = [\n MediaListItemDirective,\n MediaListComponent\n];\n\n@NgModule({\n imports: [\n BasicModule,\n CommonModule,\n MobileBasicModule,\n MobileNavbarModule,\n PageModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class MediaListModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["MobileBasicModule"],"mappings":";;;;;;;;;;;;;;;MAUa,sBAAsB,CAAA;IAK/B,IAAa,eAAe,CAAC,GAAG,EAAA;AAC5B,QAAA,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;KACnB;;4FAPQ,sBAAsB,GAAA,CAAA,EAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,IAAA,EAAA,sBAAsB,EAJpB,SAAA,E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,IAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,eAAe,mBAhBxB,sBAAsB;AACtB,YAAA,kBAAkB,aAKd,WAAW;YACX,YAAY;YACZA,aAAiB;YACjB,kBAAkB;YAClB,UAAU;AACV,YAAA,kBAAkB,aAXtB,sBAAsB;YACtB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACdtB;;AAEG;;;;"}
@@ -1,17 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, Optional, ContentChild, NgModule } from '@angular/core';
2
+ import { Directive, Input, Component, ContentChild, NgModule } from '@angular/core';
3
3
  import { provideAsWidgetRef, register, PROP_STRING, PROP_ANY, PROP_BOOLEAN, StylableComponent, styler, APPLY_STYLES_TYPE, getEvaluatedData, WmComponentsModule } from '@wm/components/base';
4
- import * as i1 from '@wm/core';
5
4
  import { addClass, removeClass, $appDigest, isObject, isArray, isString } from '@wm/core';
6
- import * as i2 from '@wm/components/basic';
5
+ import * as i1 from '@wm/components/basic';
7
6
  import { BasicModule } from '@wm/components/basic';
8
- import * as i3 from '@angular/common';
7
+ import * as i2 from '@angular/common';
9
8
  import { CommonModule } from '@angular/common';
10
- import * as i4 from '@wm/mobile/components/basic';
9
+ import * as i3 from '@wm/mobile/components/basic';
11
10
  import { BasicModule as BasicModule$1 } from '@wm/mobile/components/basic';
12
- import * as i5 from '@wm/mobile/components/page/mobile-navbar';
11
+ import * as i4 from '@wm/mobile/components/page/mobile-navbar';
13
12
  import { MobileNavbarModule } from '@wm/mobile/components/page/mobile-navbar';
14
- import * as i6 from '@wm/components/page';
13
+ import * as i5 from '@wm/components/page';
15
14
  import { PageModule } from '@wm/components/page';
16
15
 
17
16
  class MediaListItemDirective {
@@ -117,9 +116,8 @@ var Layout;
117
116
  Layout["MULTI_ROW"] = "Multi-row";
118
117
  })(Layout || (Layout = {}));
119
118
  class MediaListComponent extends StylableComponent {
120
- constructor(inj, _viewParent) {
121
- super(inj, WIDGET_CONFIG, _viewParent);
122
- this._viewParent = _viewParent;
119
+ constructor(inj) {
120
+ super(inj, WIDGET_CONFIG);
123
121
  this.selectedMediaIndex = -1;
124
122
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
125
123
  }
@@ -217,7 +215,7 @@ class MediaListComponent extends StylableComponent {
217
215
  }
218
216
  }
219
217
  MediaListComponent.initializeProps = registerProps();
220
- MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.UserDefinedExecutionContext, 8)); };
218
+ MediaListComponent.ɵfac = function MediaListComponent_Factory(t) { return new (t || MediaListComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
221
219
  MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaListComponent, selectors: [["", "wmMediaList", ""]], contentQueries: function MediaListComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
222
220
  i0.ɵɵcontentQuery(dirIndex, _c0, 5);
223
221
  } if (rf & 2) {
@@ -236,15 +234,13 @@ MediaListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaLis
236
234
  i0.ɵɵproperty("ngForOf", ctx.fieldDefs);
237
235
  i0.ɵɵadvance(1);
238
236
  i0.ɵɵproperty("ngIf", ctx.selectedMediaIndex >= 0 && ctx.appendToBody());
239
- } }, dependencies: [i2.PictureDirective, i3.NgForOf, i3.NgIf, i3.NgTemplateOutlet, i3.NgStyle, i4.ImageCacheDirective, i5.MobileNavbarComponent, i6.ContentComponent, i6.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
237
+ } }, dependencies: [i1.PictureDirective, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, i3.ImageCacheDirective, i4.MobileNavbarComponent, i5.ContentComponent, i5.PageContentComponent, MediaListItemDirective], encapsulation: 2 });
240
238
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MediaListComponent, [{
241
239
  type: Component,
242
240
  args: [{ selector: '[wmMediaList]', providers: [
243
241
  provideAsWidgetRef(MediaListComponent)
244
242
  ], template: "<ul class=\"list-unstyled list-inline app-media-thumbnail\">\n <li *ngFor=\"let item of fieldDefs; index as index;\" [ngStyle]=\"{width: thumbnailwidth, height: thumbnailheight}\" (click)=\"showFullScreen(index)\">\n <div class=\"thumbnail\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{src: item.thumbnailUrlVal, class: 'thumbnail-image'}\">\n </ng-container>\n <div class=\"thumbnail-details\">\n <ng-container [ngTemplateOutlet]=\"mediaListTemplate\" [ngTemplateOutletContext]=\"{item:item, index:index}\" [wmMediaListItem]=\"item\">\n </ng-container>\n </div>\n </div>\n </li>\n</ul>\n<div class=\"app-media-fullscreen\" *ngIf=\"selectedMediaIndex >= 0 && appendToBody()\">\n <header wmMobileNavbar\n backbutton=\"true\"\n backbtnclick.event=\"exitFullScreen()\"\n showLeftnavbtn=\"false\"\n backbuttoniconclass.event=\"wi wi-chevron-left\"\n title.bind=\"getPicTitle()\">\n </header>\n <div wmContent>\n <div wmPageContent>\n <div class=\"media-content\">\n <div class=\"image-container\" (swipeleft)=\"showNext()\" (swiperight)=\"showPrev()\">\n <ng-container [ngTemplateOutlet]=\"imgTemplate\"\n [ngTemplateOutletContext]=\"{field: 'mediaUrlVal', class: 'center-block'}\">\n </ng-container>\n <a class=\"app-media-fullscreen-nav-control left\" [hidden]=\"!(selectedMediaIndex > 0)\" (click)=\"showPrev()\">\n <i class=\"wi wi-chevron-left\"></i>\n </a>\n <a class=\"app-media-fullscreen-nav-control right\" [hidden]=\"!(selectedMediaIndex < fieldDefs.length-1)\" (click)=\"showNext()\">\n <i class=\"wi wi-chevron-right\"></i>\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #imgTemplate let-src=\"src\" let-classname=\"class\" let-field=\"field\">\n <img wmPicture class=\"{{classname}}\" picturesource.bind=\"src || getSrc(field)\" wmImageCache=\"{{offline}}\" />\n</ng-template>\n" }]
245
- }], function () { return [{ type: i0.Injector }, { type: i1.UserDefinedExecutionContext, decorators: [{
246
- type: Optional
247
- }] }]; }, { mediaListTemplate: [{
243
+ }], function () { return [{ type: i0.Injector }]; }, { mediaListTemplate: [{
248
244
  type: ContentChild,
249
245
  args: ['mediaListTemplate']
250
246
  }] }); })();