@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 +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,CA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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,EAAA,CAAA,CAAA,EAAA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tB;;AAEG;;;;"}
@@ -1,9 +1,7 @@
1
1
  import { ElementRef, Injector, TemplateRef } from '@angular/core';
2
- import { UserDefinedExecutionContext } from '@wm/core';
3
2
  import { StylableComponent } from '@wm/components/base';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class MediaListComponent extends StylableComponent {
6
- _viewParent: UserDefinedExecutionContext;
7
5
  static initializeProps: void;
8
6
  private $fullScreenEle;
9
7
  binddataset: any;
@@ -12,7 +10,7 @@ export declare class MediaListComponent extends StylableComponent {
12
10
  thumbnailurl: string;
13
11
  selectedMediaIndex: number;
14
12
  mediaListTemplate: TemplateRef<ElementRef>;
15
- constructor(inj: Injector, _viewParent: UserDefinedExecutionContext);
13
+ constructor(inj: Injector);
16
14
  appendToBody(): boolean;
17
15
  onPropertyChange(key: any, nv: any, ov?: any): void;
18
16
  exitFullScreen(): void;
@@ -30,6 +28,6 @@ export declare class MediaListComponent extends StylableComponent {
30
28
  * @returns {number} index.
31
29
  */
32
30
  private listTrackByFn;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<MediaListComponent, [null, { optional: true; }]>;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaListComponent, never>;
34
32
  static ɵcmp: i0.ɵɵComponentDeclaration<MediaListComponent, "[wmMediaList]", never, {}, {}, ["mediaListTemplate"], never, false, never>;
35
33
  }
@@ -1,20 +1,18 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';
3
3
  import { StylableComponent } from '@wm/components/base';
4
- import { UserDefinedExecutionContext } from '@wm/core';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class BarcodeScannerComponent extends StylableComponent {
7
6
  private scanner;
8
- _viewParent: UserDefinedExecutionContext;
9
7
  static initializeProps: void;
10
8
  barcodeformat: string;
11
9
  datavalue: string;
12
10
  iconclass: any;
13
11
  iconsize: any;
14
12
  caption: any;
15
- constructor(scanner: BarcodeScanner, inj: Injector, _viewParent: UserDefinedExecutionContext);
13
+ constructor(scanner: BarcodeScanner, inj: Injector);
16
14
  openBarcodescanner($event: any): void;
17
15
  private scan;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeScannerComponent, [null, null, { optional: true; }]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BarcodeScannerComponent, never>;
19
17
  static ɵcmp: i0.ɵɵComponentDeclaration<BarcodeScannerComponent, "button[wmBarcodescanner]", ["wmBarcodescanner"], {}, {}, never, never, false, never>;
20
18
  }
@@ -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('@awesome-cordova-plugins/barcode-scanner/ngx'), require('@angular/common')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', '@wm/core', '@awesome-cordova-plugins/barcode-scanner/ngx', '@angular/common'], 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.device = global.wm.mobile.components.device || {}, global.wm.mobile.components.device.barcodescanner = {}), global.ng.core, global.wm.components.base, global.wm.core, global.awesomeCordova.plugins, global.ng.common));
5
- })(this, (function (exports, i0, i4, i2, i1, i3) { 'use strict';
5
+ })(this, (function (exports, i0, i3, core, i1, i2) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -22,21 +22,20 @@
22
22
  }
23
23
 
24
24
  var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
25
- var i4__namespace = /*#__PURE__*/_interopNamespaceDefault(i4);
26
- var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
27
- var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
28
25
  var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
27
+ var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
29
28
 
30
29
  const registerProps = () => {
31
- i4.register('wm-barcodescanner', new Map([
32
- ['barcodeformat', Object.assign({ value: 'ALL' }, i4.PROP_STRING)],
33
- ['caption', Object.assign({ value: '' }, i4.PROP_STRING)],
34
- ['class', i4.PROP_STRING],
35
- ['iconclass', Object.assign({ value: 'glyphicon glyphicon-barcode' }, i4.PROP_STRING)],
36
- ['iconsize', Object.assign({ value: '2em' }, i4.PROP_STRING)],
37
- ['name', i4.PROP_STRING],
38
- ['show', Object.assign({ value: true }, i4.PROP_BOOLEAN)],
39
- ['hint', i4.PROP_STRING]
30
+ i3.register('wm-barcodescanner', new Map([
31
+ ['barcodeformat', Object.assign({ value: 'ALL' }, i3.PROP_STRING)],
32
+ ['caption', Object.assign({ value: '' }, i3.PROP_STRING)],
33
+ ['class', i3.PROP_STRING],
34
+ ['iconclass', Object.assign({ value: 'glyphicon glyphicon-barcode' }, i3.PROP_STRING)],
35
+ ['iconsize', Object.assign({ value: '2em' }, i3.PROP_STRING)],
36
+ ['name', i3.PROP_STRING],
37
+ ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
38
+ ['hint', i3.PROP_STRING]
40
39
  ]));
41
40
  };
42
41
 
@@ -44,12 +43,11 @@
44
43
  const _c1 = function (a0) { return { "font-size": a0 }; };
45
44
  const DEFAULT_CLS = 'btn app-barcode';
46
45
  const WIDGET_CONFIG = { widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS };
47
- class BarcodeScannerComponent extends i4.StylableComponent {
48
- constructor(scanner, inj, _viewParent) {
49
- super(inj, WIDGET_CONFIG, _viewParent);
46
+ class BarcodeScannerComponent extends i3.StylableComponent {
47
+ constructor(scanner, inj) {
48
+ super(inj, WIDGET_CONFIG);
50
49
  this.scanner = scanner;
51
- this._viewParent = _viewParent;
52
- i4.styler(this.nativeElement, this, i4.APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
50
+ i3.styler(this.nativeElement, this, i3.APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
53
51
  }
54
52
  openBarcodescanner($event) {
55
53
  this.scan().then(text => {
@@ -62,7 +60,7 @@
62
60
  showFlipCameraButton: true,
63
61
  showTorchButton: true
64
62
  };
65
- if (i2.hasCordova()) {
63
+ if (core.hasCordova()) {
66
64
  if (this.barcodeformat && this.barcodeformat !== 'ALL') {
67
65
  options.formats = this.barcodeformat;
68
66
  }
@@ -73,13 +71,13 @@
73
71
  }
74
72
  }
75
73
  BarcodeScannerComponent.initializeProps = registerProps();
76
- BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.BarcodeScanner), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i2__namespace.UserDefinedExecutionContext, 8)); };
74
+ BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.BarcodeScanner), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
77
75
  BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: BarcodeScannerComponent, selectors: [["button", "wmBarcodescanner", ""]], hostBindings: function BarcodeScannerComponent_HostBindings(rf, ctx) {
78
76
  if (rf & 1) {
79
77
  i0__namespace.ɵɵlistener("click", function BarcodeScannerComponent_click_HostBindingHandler($event) { return ctx.openBarcodescanner($event); });
80
78
  }
81
79
  }, exportAs: ["wmBarcodescanner"], features: [i0__namespace.ɵɵProvidersFeature([
82
- i4.provideAsWidgetRef(BarcodeScannerComponent)
80
+ i3.provideAsWidgetRef(BarcodeScannerComponent)
83
81
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 2, vars: 5, consts: [[3, "ngClass", "ngStyle"], [1, "btn-caption", 3, "textContent"]], template: function BarcodeScannerComponent_Template(rf, ctx) {
84
82
  if (rf & 1) {
85
83
  i0__namespace.ɵɵelement(0, "i", 0)(1, "span", 1);
@@ -89,18 +87,14 @@
89
87
  i0__namespace.ɵɵadvance(1);
90
88
  i0__namespace.ɵɵproperty("textContent", ctx.caption);
91
89
  }
92
- }, dependencies: [i3__namespace.NgClass, i3__namespace.NgStyle, i4__namespace.TextContentDirective], encapsulation: 2 });
90
+ }, dependencies: [i2__namespace.NgClass, i2__namespace.NgStyle, i3__namespace.TextContentDirective], encapsulation: 2 });
93
91
  (function () {
94
92
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BarcodeScannerComponent, [{
95
93
  type: i0.Component,
96
94
  args: [{ selector: 'button[wmBarcodescanner]', providers: [
97
- i4.provideAsWidgetRef(BarcodeScannerComponent)
95
+ i3.provideAsWidgetRef(BarcodeScannerComponent)
98
96
  ], exportAs: 'wmBarcodescanner', template: "<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>" }]
99
- }], function () {
100
- return [{ type: i1__namespace.BarcodeScanner }, { type: i0__namespace.Injector }, { type: i2__namespace.UserDefinedExecutionContext, decorators: [{
101
- type: i0.Optional
102
- }] }];
103
- }, { openBarcodescanner: [{
97
+ }], function () { return [{ type: i1__namespace.BarcodeScanner }, { type: i0__namespace.Injector }]; }, { openBarcodescanner: [{
104
98
  type: i0.HostListener,
105
99
  args: ['click', ['$event']]
106
100
  }] });
@@ -113,15 +107,15 @@
113
107
  }
114
108
  BarcodeScannerModule.ɵfac = function BarcodeScannerModule_Factory(t) { return new (t || BarcodeScannerModule)(); };
115
109
  BarcodeScannerModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: BarcodeScannerModule });
116
- BarcodeScannerModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i3.CommonModule,
117
- i4.WmComponentsModule] });
110
+ BarcodeScannerModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
111
+ i3.WmComponentsModule] });
118
112
  (function () {
119
113
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BarcodeScannerModule, [{
120
114
  type: i0.NgModule,
121
115
  args: [{
122
116
  imports: [
123
- i3.CommonModule,
124
- i4.WmComponentsModule
117
+ i2.CommonModule,
118
+ i3.WmComponentsModule
125
119
  ],
126
120
  declarations: [...components],
127
121
  exports: [...components]
@@ -129,8 +123,8 @@
129
123
  }], null, null);
130
124
  })();
131
125
  (function () {
132
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(BarcodeScannerModule, { declarations: [BarcodeScannerComponent], imports: [i3.CommonModule,
133
- i4.WmComponentsModule], exports: [BarcodeScannerComponent] });
126
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(BarcodeScannerModule, { declarations: [BarcodeScannerComponent], imports: [i2.CommonModule,
127
+ i3.WmComponentsModule], exports: [BarcodeScannerComponent] });
134
128
  })();
135
129
 
136
130
  exports.BarcodeScannerComponent = BarcodeScannerComponent;
@@ -1,22 +1,20 @@
1
- import { Component, HostListener, Injector, Optional } from '@angular/core';
1
+ import { Component, HostListener, Injector } from '@angular/core';
2
2
  import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';
3
3
  import { APPLY_STYLES_TYPE, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';
4
- import { hasCordova, UserDefinedExecutionContext } from '@wm/core';
4
+ import { hasCordova } from '@wm/core';
5
5
  import { registerProps } from './barcode-scanner.props';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@awesome-cordova-plugins/barcode-scanner/ngx";
8
- import * as i2 from "@wm/core";
9
- import * as i3 from "@angular/common";
10
- import * as i4 from "@wm/components/base";
8
+ import * as i2 from "@angular/common";
9
+ import * as i3 from "@wm/components/base";
11
10
  const _c0 = ["wmBarcodescanner", ""];
12
11
  const _c1 = function (a0) { return { "font-size": a0 }; };
13
12
  const DEFAULT_CLS = 'btn app-barcode';
14
13
  const WIDGET_CONFIG = { widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS };
15
14
  export class BarcodeScannerComponent extends StylableComponent {
16
- constructor(scanner, inj, _viewParent) {
17
- super(inj, WIDGET_CONFIG, _viewParent);
15
+ constructor(scanner, inj) {
16
+ super(inj, WIDGET_CONFIG);
18
17
  this.scanner = scanner;
19
- this._viewParent = _viewParent;
20
18
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
21
19
  }
22
20
  openBarcodescanner($event) {
@@ -41,7 +39,7 @@ export class BarcodeScannerComponent extends StylableComponent {
41
39
  }
42
40
  }
43
41
  BarcodeScannerComponent.initializeProps = registerProps();
44
- BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
42
+ BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector)); };
45
43
  BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BarcodeScannerComponent, selectors: [["button", "wmBarcodescanner", ""]], hostBindings: function BarcodeScannerComponent_HostBindings(rf, ctx) { if (rf & 1) {
46
44
  i0.ɵɵlistener("click", function BarcodeScannerComponent_click_HostBindingHandler($event) { return ctx.openBarcodescanner($event); });
47
45
  } }, exportAs: ["wmBarcodescanner"], features: [i0.ɵɵProvidersFeature([
@@ -52,16 +50,14 @@ BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Bar
52
50
  i0.ɵɵproperty("ngClass", ctx.iconclass)("ngStyle", i0.ɵɵpureFunction1(3, _c1, ctx.iconsize));
53
51
  i0.ɵɵadvance(1);
54
52
  i0.ɵɵproperty("textContent", ctx.caption);
55
- } }, dependencies: [i3.NgClass, i3.NgStyle, i4.TextContentDirective], encapsulation: 2 });
53
+ } }, dependencies: [i2.NgClass, i2.NgStyle, i3.TextContentDirective], encapsulation: 2 });
56
54
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BarcodeScannerComponent, [{
57
55
  type: Component,
58
56
  args: [{ selector: 'button[wmBarcodescanner]', providers: [
59
57
  provideAsWidgetRef(BarcodeScannerComponent)
60
58
  ], exportAs: 'wmBarcodescanner', template: "<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>" }]
61
- }], function () { return [{ type: i1.BarcodeScanner }, { type: i0.Injector }, { type: i2.UserDefinedExecutionContext, decorators: [{
62
- type: Optional
63
- }] }]; }, { openBarcodescanner: [{
59
+ }], function () { return [{ type: i1.BarcodeScanner }, { type: i0.Injector }]; }, { openBarcodescanner: [{
64
60
  type: HostListener,
65
61
  args: ['click', ['$event']]
66
62
  }] }); })();
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY29kZS1zY2FubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vYmlsZS9jb21wb25lbnRzL2RldmljZS9iYXJjb2RlLXNjYW5uZXIvc3JjL2JhcmNvZGUtc2Nhbm5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb2JpbGUvY29tcG9uZW50cy9kZXZpY2UvYmFyY29kZS1zY2FubmVyL3NyYy9iYXJj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B7JGV2ZW50fSk7XG4gICAgICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHNjYW4oKTogUHJvbWlzZTxzdHJpbmc+IHtcbiAgICAgICAgbGV0IG9wdGlvbnMgPSB7XG4gICAgICAgICAgICBzaG93RmxpcENhbWVyYUJ1dHRvbiA6IHRydWUsXG4gICAgICAgICAgICBzaG93VG9yY2hCdXR0b24gOiB0cnVlXG4gICAgICAgIH0gYXMgYW55O1xuICAgICAgICBpZiAoaGFzQ29yZG92YSgpKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5iYXJjb2RlZm9ybWF0ICYmIHRoaXMuYmFyY29kZWZvcm1hdCAhPT0gJ0FMTCcpIHtcbiAgICAgICAgICAgICAgICBvcHRpb25zLmZvcm1hdHMgPSB0aGlzLmJhcmNvZGVmb3JtYXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5zY2FubmVyLnNjYW4ob3B0aW9ucylcbiAgICAgICAgICAgICAgICAudGhlbihkYXRhID0+IGRhdGEudGV4dCk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSgnQkFSX0NPREUnKTtcbiAgICB9XG59XG4iLCI8aSBbbmdDbGFzc109XCJpY29uY2xhc3NcIiBbbmdTdHlsZV09XCJ7J2ZvbnQtc2l6ZSc6IGljb25zaXplfVwiPjwvaT5cbjxzcGFuIGNsYXNzPVwiYnRuLWNhcHRpb25cIiBbdGV4dENvbnRlbnRdPVwiY2FwdGlvblwiPjwvc3Bhbj4iXX0=
63
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyY29kZS1zY2FubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vYmlsZS9jb21wb25lbnRzL2RldmljZS9iYXJjb2RlLXNjYW5uZXIv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AgICBwcml2YXRlIHNjYW4oKTogUHJvbWlzZTxzdHJpbmc+IHtcbiAgICAgICAgbGV0IG9wdGlvbnMgPSB7XG4gICAgICAgICAgICBzaG93RmxpcENhbWVyYUJ1dHRvbiA6IHRydWUsXG4gICAgICAgICAgICBzaG93VG9yY2hCdXR0b24gOiB0cnVlXG4gICAgICAgIH0gYXMgYW55O1xuICAgICAgICBpZiAoaGFzQ29yZG92YSgpKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5iYXJjb2RlZm9ybWF0ICYmIHRoaXMuYmFyY29kZWZvcm1hdCAhPT0gJ0FMTCcpIHtcbiAgICAgICAgICAgICAgICBvcHRpb25zLmZvcm1hdHMgPSB0aGlzLmJhcmNvZGVmb3JtYXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5zY2FubmVyLnNjYW4ob3B0aW9ucylcbiAgICAgICAgICAgICAgICAudGhlbihkYXRhID0+IGRhdGEudGV4dCk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSgnQkFSX0NPREUnKTtcbiAgICB9XG59XG4iLCI8aSBbbmdDbGFzc109XCJpY29uY2xhc3NcIiBbbmdTdHlsZV09XCJ7J2ZvbnQtc2l6ZSc6IGljb25zaXplfVwiPjwvaT5cbjxzcGFuIGNsYXNzPVwiYnRuLWNhcHRpb25cIiBbdGV4dENvbnRlbnRdPVwiY2FwdGlvblwiPjwvc3Bhbj4iXX0=
@@ -1,11 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Optional, HostListener, NgModule } from '@angular/core';
3
- import * as i4 from '@wm/components/base';
2
+ import { Component, HostListener, NgModule } from '@angular/core';
3
+ import * as i3 from '@wm/components/base';
4
4
  import { register, PROP_STRING, PROP_BOOLEAN, StylableComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
5
- import * as i2 from '@wm/core';
6
5
  import { hasCordova } from '@wm/core';
7
6
  import * as i1 from '@awesome-cordova-plugins/barcode-scanner/ngx';
8
- import * as i3 from '@angular/common';
7
+ import * as i2 from '@angular/common';
9
8
  import { CommonModule } from '@angular/common';
10
9
 
11
10
  const registerProps = () => {
@@ -26,10 +25,9 @@ const _c1 = function (a0) { return { "font-size": a0 }; };
26
25
  const DEFAULT_CLS = 'btn app-barcode';
27
26
  const WIDGET_CONFIG = { widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS };
28
27
  class BarcodeScannerComponent extends StylableComponent {
29
- constructor(scanner, inj, _viewParent) {
30
- super(inj, WIDGET_CONFIG, _viewParent);
28
+ constructor(scanner, inj) {
29
+ super(inj, WIDGET_CONFIG);
31
30
  this.scanner = scanner;
32
- this._viewParent = _viewParent;
33
31
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
34
32
  }
35
33
  openBarcodescanner($event) {
@@ -54,7 +52,7 @@ class BarcodeScannerComponent extends StylableComponent {
54
52
  }
55
53
  }
56
54
  BarcodeScannerComponent.initializeProps = registerProps();
57
- BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
55
+ BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector)); };
58
56
  BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BarcodeScannerComponent, selectors: [["button", "wmBarcodescanner", ""]], hostBindings: function BarcodeScannerComponent_HostBindings(rf, ctx) {
59
57
  if (rf & 1) {
60
58
  i0.ɵɵlistener("click", function BarcodeScannerComponent_click_HostBindingHandler($event) { return ctx.openBarcodescanner($event); });
@@ -70,18 +68,14 @@ BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Bar
70
68
  i0.ɵɵadvance(1);
71
69
  i0.ɵɵproperty("textContent", ctx.caption);
72
70
  }
73
- }, dependencies: [i3.NgClass, i3.NgStyle, i4.TextContentDirective], encapsulation: 2 });
71
+ }, dependencies: [i2.NgClass, i2.NgStyle, i3.TextContentDirective], encapsulation: 2 });
74
72
  (function () {
75
73
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BarcodeScannerComponent, [{
76
74
  type: Component,
77
75
  args: [{ selector: 'button[wmBarcodescanner]', providers: [
78
76
  provideAsWidgetRef(BarcodeScannerComponent)
79
77
  ], exportAs: 'wmBarcodescanner', template: "<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>" }]
80
- }], function () {
81
- return [{ type: i1.BarcodeScanner }, { type: i0.Injector }, { type: i2.UserDefinedExecutionContext, decorators: [{
82
- type: Optional
83
- }] }];
84
- }, { openBarcodescanner: [{
78
+ }], function () { return [{ type: i1.BarcodeScanner }, { type: i0.Injector }]; }, { openBarcodescanner: [{
85
79
  type: HostListener,
86
80
  args: ['click', ['$event']]
87
81
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.props.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.html","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.module.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-barcodescanner',\n new Map(\n [\n ['barcodeformat', {value: 'ALL', ...PROP_STRING}],\n ['caption', {value: '', ...PROP_STRING}],\n ['class', PROP_STRING],\n ['iconclass', {value: 'glyphicon glyphicon-barcode', ...PROP_STRING}],\n ['iconsize', {value: '2em', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Component, HostListener, Injector, Optional} from '@angular/core';\n\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport {hasCordova, UserDefinedExecutionContext} from '@wm/core';\n\nimport { registerProps } from './barcode-scanner.props';\n\nconst DEFAULT_CLS = 'btn app-barcode';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS};\n\n@Component({\n selector: 'button[wmBarcodescanner]',\n templateUrl: './barcode-scanner.component.html',\n providers: [\n provideAsWidgetRef(BarcodeScannerComponent)\n ],\n exportAs: 'wmBarcodescanner'\n})\nexport class BarcodeScannerComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n public barcodeformat: string;\n public datavalue: string;\n public iconclass: any;\n public iconsize: any;\n public caption: any;\n\n\n constructor(private scanner: BarcodeScanner, 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 @HostListener('click', ['$event'])\n public openBarcodescanner($event) {\n this.scan().then(text => {\n this.datavalue = text;\n this.invokeEventCallback('success', {$event});\n });\n }\n\n private scan(): Promise<string> {\n let options = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (hasCordova()) {\n if (this.barcodeformat && this.barcodeformat !== 'ALL') {\n options.formats = this.barcodeformat;\n }\n return this.scanner.scan(options)\n .then(data => data.text);\n }\n return Promise.resolve('BAR_CODE');\n }\n}\n","<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { BarcodeScannerComponent } from './barcode-scanner.component';\n\nconst components = [\n BarcodeScannerComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class BarcodeScannerModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,mBAAmB,EACnB,IAAI,GAAG,CACH;AACI,QAAA,CAAC,eAAe,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,KAAK,EAAA,EAAK,WAAW,CAAE,CAAA;AACjD,QAAA,CAAC,SAAS,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,EAAE,EAAA,EAAK,WAAW,CAAE,CAAA;QACxC,CAAC,OAAO,EAAE,WAAW,CAAC;AACtB,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAK,WAAW,CAAE,CAAA;AACrE,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,KAAK,EAAA,EAAK,WAAW,CAAE,CAAA;QAC5C,CAAC,MAAM,EAAE,WAAW,CAAC;AACrB,QAAA,CAAC,MAAM,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,EAAA,EAAK,YAAY,CAAE,CAAA;QACxC,CAAC,MAAM,EAAE,WAAW,CAAC;AACxB,KAAA,CACJ,CACJ,CAAC;AACN,CAAC;;;;ACTD,MAAM,WAAW,GAAG,iBAAiB,CAAC;AACtC,MAAM,aAAa,GAAkB,EAAC,UAAU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AA,QAAA,CAAA,CAAA,CAAA;AACE,YAAA,EAAuB,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;YAAvB,EAAuB,CAAA,UAAA,CAAA,aAAA,EAAA,GAAA,CAAA,OAAA,CAAA,CAAA;;;;4EDmBpC,uBAAuB,EAAA,CAAA;kBARnC,SAAS;YACI,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAEzB,SAAA,EAAA;wBACP,kBAAkB,CAAyB,uBAAA,CAAA;qBAC9C,EAAA,QAAA,EACS,kBAAkB,EAAA,QAAA,EAAA,sIAAA,EAAA,CAAA;;;8BAYiC,QAAQ;;SAM9D,kBAAkB,EAAA,CAAA;sBADxB,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAA;;;;AE5BrC,MAAM,UAAU,GAAG;IACf,uBAAuB;CAC1B,CAAC;MAUW,oBAAoB,CAAA;;wFAApB,oBAAoB,GAAA,CAAA,EAAA,CAAA;sEAApB,oBAAoB,EAAA,CAAA,CAAA;0EANzB,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4EAKb,oBAAoB,EAAA,CAAA;kBARhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;iBAC3B,CAAA;;;;6EACY,oBAAoB,EAAA,EAAA,YAAA,EAAA,CAX7B,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAKnB,YAAY;YACZ,kBAAkB,aANtB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACR3B;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.props.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.html","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.module.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-barcodescanner',\n new Map(\n [\n ['barcodeformat', {value: 'ALL', ...PROP_STRING}],\n ['caption', {value: '', ...PROP_STRING}],\n ['class', PROP_STRING],\n ['iconclass', {value: 'glyphicon glyphicon-barcode', ...PROP_STRING}],\n ['iconsize', {value: '2em', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Component, HostListener, Injector, Optional} from '@angular/core';\n\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport {hasCordova, UserDefinedExecutionContext} from '@wm/core';\n\nimport { registerProps } from './barcode-scanner.props';\n\nconst DEFAULT_CLS = 'btn app-barcode';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS};\n\n@Component({\n selector: 'button[wmBarcodescanner]',\n templateUrl: './barcode-scanner.component.html',\n providers: [\n provideAsWidgetRef(BarcodeScannerComponent)\n ],\n exportAs: 'wmBarcodescanner'\n})\nexport class BarcodeScannerComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n public barcodeformat: string;\n public datavalue: string;\n public iconclass: any;\n public iconsize: any;\n public caption: any;\n\n\n constructor(private scanner: BarcodeScanner, inj: Injector) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);\n }\n\n @HostListener('click', ['$event'])\n public openBarcodescanner($event) {\n this.scan().then(text => {\n this.datavalue = text;\n this.invokeEventCallback('success', {$event});\n });\n }\n\n private scan(): Promise<string> {\n let options = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (hasCordova()) {\n if (this.barcodeformat && this.barcodeformat !== 'ALL') {\n options.formats = this.barcodeformat;\n }\n return this.scanner.scan(options)\n .then(data => data.text);\n }\n return Promise.resolve('BAR_CODE');\n }\n}\n","<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { BarcodeScannerComponent } from './barcode-scanner.component';\n\nconst components = [\n BarcodeScannerComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class BarcodeScannerModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,mBAAmB,EACnB,IAAI,GAAG,CACH;AACI,QAAA,CAAC,eAAe,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,KAAK,EAAA,EAAK,WAAW,CAAE,CAAA;AACjD,QAAA,CAAC,SAAS,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,EAAE,EAAA,EAAK,WAAW,CAAE,CAAA;QACxC,CAAC,OAAO,EAAE,WAAW,CAAC;AACtB,QAAA,CAAC,WAAW,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAK,WAAW,CAAE,CAAA;AACrE,QAAA,CAAC,UAAU,EAAG,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,KAAK,EAAA,EAAK,WAAW,CAAE,CAAA;QAC5C,CAAC,MAAM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;;;"}
@@ -1,11 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Optional, HostListener, NgModule } from '@angular/core';
2
+ import { Component, HostListener, NgModule } from '@angular/core';
3
3
  import * as i1 from '@awesome-cordova-plugins/barcode-scanner/ngx';
4
- import * as i4 from '@wm/components/base';
4
+ import * as i3 from '@wm/components/base';
5
5
  import { register, PROP_STRING, PROP_BOOLEAN, StylableComponent, styler, APPLY_STYLES_TYPE, provideAsWidgetRef, WmComponentsModule } from '@wm/components/base';
6
- import * as i2 from '@wm/core';
7
6
  import { hasCordova } from '@wm/core';
8
- import * as i3 from '@angular/common';
7
+ import * as i2 from '@angular/common';
9
8
  import { CommonModule } from '@angular/common';
10
9
 
11
10
  const registerProps = () => {
@@ -26,10 +25,9 @@ const _c1 = function (a0) { return { "font-size": a0 }; };
26
25
  const DEFAULT_CLS = 'btn app-barcode';
27
26
  const WIDGET_CONFIG = { widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS };
28
27
  class BarcodeScannerComponent extends StylableComponent {
29
- constructor(scanner, inj, _viewParent) {
30
- super(inj, WIDGET_CONFIG, _viewParent);
28
+ constructor(scanner, inj) {
29
+ super(inj, WIDGET_CONFIG);
31
30
  this.scanner = scanner;
32
- this._viewParent = _viewParent;
33
31
  styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
34
32
  }
35
33
  openBarcodescanner($event) {
@@ -54,7 +52,7 @@ class BarcodeScannerComponent extends StylableComponent {
54
52
  }
55
53
  }
56
54
  BarcodeScannerComponent.initializeProps = registerProps();
57
- BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i2.UserDefinedExecutionContext, 8)); };
55
+ BarcodeScannerComponent.ɵfac = function BarcodeScannerComponent_Factory(t) { return new (t || BarcodeScannerComponent)(i0.ɵɵdirectiveInject(i1.BarcodeScanner), i0.ɵɵdirectiveInject(i0.Injector)); };
58
56
  BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BarcodeScannerComponent, selectors: [["button", "wmBarcodescanner", ""]], hostBindings: function BarcodeScannerComponent_HostBindings(rf, ctx) { if (rf & 1) {
59
57
  i0.ɵɵlistener("click", function BarcodeScannerComponent_click_HostBindingHandler($event) { return ctx.openBarcodescanner($event); });
60
58
  } }, exportAs: ["wmBarcodescanner"], features: [i0.ɵɵProvidersFeature([
@@ -65,15 +63,13 @@ BarcodeScannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Bar
65
63
  i0.ɵɵproperty("ngClass", ctx.iconclass)("ngStyle", i0.ɵɵpureFunction1(3, _c1, ctx.iconsize));
66
64
  i0.ɵɵadvance(1);
67
65
  i0.ɵɵproperty("textContent", ctx.caption);
68
- } }, dependencies: [i3.NgClass, i3.NgStyle, i4.TextContentDirective], encapsulation: 2 });
66
+ } }, dependencies: [i2.NgClass, i2.NgStyle, i3.TextContentDirective], encapsulation: 2 });
69
67
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BarcodeScannerComponent, [{
70
68
  type: Component,
71
69
  args: [{ selector: 'button[wmBarcodescanner]', providers: [
72
70
  provideAsWidgetRef(BarcodeScannerComponent)
73
71
  ], exportAs: 'wmBarcodescanner', template: "<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>" }]
74
- }], function () { return [{ type: i1.BarcodeScanner }, { type: i0.Injector }, { type: i2.UserDefinedExecutionContext, decorators: [{
75
- type: Optional
76
- }] }]; }, { openBarcodescanner: [{
72
+ }], function () { return [{ type: i1.BarcodeScanner }, { type: i0.Injector }]; }, { openBarcodescanner: [{
77
73
  type: HostListener,
78
74
  args: ['click', ['$event']]
79
75
  }] }); })();
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.props.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.html","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.module.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-barcodescanner',\n new Map(\n [\n ['barcodeformat', {value: 'ALL', ...PROP_STRING}],\n ['caption', {value: '', ...PROP_STRING}],\n ['class', PROP_STRING],\n ['iconclass', {value: 'glyphicon glyphicon-barcode', ...PROP_STRING}],\n ['iconsize', {value: '2em', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Component, HostListener, Injector, Optional} from '@angular/core';\n\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport {hasCordova, UserDefinedExecutionContext} from '@wm/core';\n\nimport { registerProps } from './barcode-scanner.props';\n\nconst DEFAULT_CLS = 'btn app-barcode';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS};\n\n@Component({\n selector: 'button[wmBarcodescanner]',\n templateUrl: './barcode-scanner.component.html',\n providers: [\n provideAsWidgetRef(BarcodeScannerComponent)\n ],\n exportAs: 'wmBarcodescanner'\n})\nexport class BarcodeScannerComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n public barcodeformat: string;\n public datavalue: string;\n public iconclass: any;\n public iconsize: any;\n public caption: any;\n\n\n constructor(private scanner: BarcodeScanner, 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 @HostListener('click', ['$event'])\n public openBarcodescanner($event) {\n this.scan().then(text => {\n this.datavalue = text;\n this.invokeEventCallback('success', {$event});\n });\n }\n\n private scan(): Promise<string> {\n let options = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (hasCordova()) {\n if (this.barcodeformat && this.barcodeformat !== 'ALL') {\n options.formats = this.barcodeformat;\n }\n return this.scanner.scan(options)\n .then(data => data.text);\n }\n return Promise.resolve('BAR_CODE');\n }\n}\n","<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { BarcodeScannerComponent } from './barcode-scanner.component';\n\nconst components = [\n BarcodeScannerComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class BarcodeScannerModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,mBAAmB,EACnB,IAAI,GAAG,CACH;QACI,CAAC,eAAe,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,EAAC,CAAC;QACjD,CAAC,SAAS,EAAE,EAAC,KAAK,EAAE,EAAE,EAAE,GAAG,WAAW,EAAC,CAAC;QACxC,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,6BAA6B,EAAE,GAAG,WAAW,EAAC,CAAC;QACrE,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,EA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B,EAAA,EAAA,YAAA,EAAA,CAX7B,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAKnB,YAAY;AACZ,QAAA,kBAAkB,aANtB,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACR3B;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.props.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.html","../../../../../../projects/mobile/components/device/barcode-scanner/src/barcode-scanner.module.ts","../../../../../../projects/mobile/components/device/barcode-scanner/src/index.ts"],"sourcesContent":["import { PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-barcodescanner',\n new Map(\n [\n ['barcodeformat', {value: 'ALL', ...PROP_STRING}],\n ['caption', {value: '', ...PROP_STRING}],\n ['class', PROP_STRING],\n ['iconclass', {value: 'glyphicon glyphicon-barcode', ...PROP_STRING}],\n ['iconsize', {value: '2em', ...PROP_STRING}],\n ['name', PROP_STRING],\n ['show', {value: true, ...PROP_BOOLEAN}],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","import {Component, HostListener, Injector, Optional} from '@angular/core';\n\nimport { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner/ngx';\n\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, StylableComponent, styler } from '@wm/components/base';\nimport {hasCordova, UserDefinedExecutionContext} from '@wm/core';\n\nimport { registerProps } from './barcode-scanner.props';\n\nconst DEFAULT_CLS = 'btn app-barcode';\nconst WIDGET_CONFIG: IWidgetConfig = {widgetType: 'wm-barcodescanner', hostClass: DEFAULT_CLS};\n\n@Component({\n selector: 'button[wmBarcodescanner]',\n templateUrl: './barcode-scanner.component.html',\n providers: [\n provideAsWidgetRef(BarcodeScannerComponent)\n ],\n exportAs: 'wmBarcodescanner'\n})\nexport class BarcodeScannerComponent extends StylableComponent {\n static initializeProps = registerProps();\n\n public barcodeformat: string;\n public datavalue: string;\n public iconclass: any;\n public iconsize: any;\n public caption: any;\n\n\n constructor(private scanner: BarcodeScanner, inj: Injector) {\n super(inj, WIDGET_CONFIG);\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);\n }\n\n @HostListener('click', ['$event'])\n public openBarcodescanner($event) {\n this.scan().then(text => {\n this.datavalue = text;\n this.invokeEventCallback('success', {$event});\n });\n }\n\n private scan(): Promise<string> {\n let options = {\n showFlipCameraButton : true,\n showTorchButton : true\n } as any;\n if (hasCordova()) {\n if (this.barcodeformat && this.barcodeformat !== 'ALL') {\n options.formats = this.barcodeformat;\n }\n return this.scanner.scan(options)\n .then(data => data.text);\n }\n return Promise.resolve('BAR_CODE');\n }\n}\n","<i [ngClass]=\"iconclass\" [ngStyle]=\"{'font-size': iconsize}\"></i>\n<span class=\"btn-caption\" [textContent]=\"caption\"></span>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\n\nimport { BarcodeScannerComponent } from './barcode-scanner.component';\n\nconst components = [\n BarcodeScannerComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class BarcodeScannerModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,mBAAmB,EACnB,IAAI,GAAG,CACH;QACI,CAAC,eAAe,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,EAAC,CAAC;QACjD,CAAC,SAAS,EAAE,EAAC,KAAK,EAAE,EAAE,EAAE,GAAG,WAAW,EAAC,CAAC;QACxC,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,WAAW,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