@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
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('angular-imask'), require('@wm/components/base'), require('@wm/core'), require('rxjs')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', 'angular-imask', '@wm/components/base', '@wm/core', 'rxjs'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = {}), global.ng.core, global.ng.common, global.ng.forms, global.IMask, global.wm.components.base, global.wm.core, global.rxjs));
5
- })(this, (function (exports, i0, i2, i3$1, i3$2, i3, i1, rxjs) { 'use strict';
5
+ })(this, (function (exports, i0, i1, i1$1, i2$1, i2, i1$2, rxjs) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -22,33 +22,33 @@
22
22
  }
23
23
 
24
24
  var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
25
- var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
26
- var i3$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i3$1);
27
- var i3$2__namespace = /*#__PURE__*/_interopNamespaceDefault(i3$2);
28
- var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
29
25
  var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
26
+ var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
27
+ var i2$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i2$1);
28
+ var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
29
+ var i1$2__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$2);
30
30
 
31
31
  const registerProps$e = () => {
32
- i3.register('wm-button', new Map([
33
- ['animation', i3.PROP_STRING],
34
- ['badgevalue', i3.PROP_STRING],
35
- ['caption', i3.PROP_STRING],
36
- ['class', i3.PROP_STRING],
37
- ['conditionalclass', i3.PROP_ANY],
38
- ['conditionalstyle', i3.PROP_ANY],
39
- ['disabled', i3.PROP_BOOLEAN],
40
- ['hint', i3.PROP_STRING],
41
- ['iconclass', i3.PROP_STRING],
42
- ['iconheight', i3.PROP_STRING],
43
- ['iconmargin', i3.PROP_STRING],
44
- ['iconposition', i3.PROP_STRING],
45
- ['iconurl', i3.PROP_STRING],
46
- ['iconwidth', i3.PROP_STRING],
47
- ['name', i3.PROP_STRING],
48
- ['shortcutkey', i3.PROP_STRING],
49
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
50
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
51
- ['type', i3.PROP_STRING]
32
+ i2.register('wm-button', new Map([
33
+ ['animation', i2.PROP_STRING],
34
+ ['badgevalue', i2.PROP_STRING],
35
+ ['caption', i2.PROP_STRING],
36
+ ['class', i2.PROP_STRING],
37
+ ['conditionalclass', i2.PROP_ANY],
38
+ ['conditionalstyle', i2.PROP_ANY],
39
+ ['disabled', i2.PROP_BOOLEAN],
40
+ ['hint', i2.PROP_STRING],
41
+ ['iconclass', i2.PROP_STRING],
42
+ ['iconheight', i2.PROP_STRING],
43
+ ['iconmargin', i2.PROP_STRING],
44
+ ['iconposition', i2.PROP_STRING],
45
+ ['iconurl', i2.PROP_STRING],
46
+ ['iconwidth', i2.PROP_STRING],
47
+ ['name', i2.PROP_STRING],
48
+ ['shortcutkey', i2.PROP_STRING],
49
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
50
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
51
+ ['type', i2.PROP_STRING]
52
52
  ]));
53
53
  };
54
54
 
@@ -102,24 +102,23 @@
102
102
  const WIDGET_CONFIG$e = {
103
103
  widgetType: 'wm-button',
104
104
  hostClass: DEFAULT_CLS$6,
105
- displayType: i3.DISPLAY_TYPE.INLINE_BLOCK
105
+ displayType: i2.DISPLAY_TYPE.INLINE_BLOCK
106
106
  };
107
- class ButtonComponent extends i3.StylableComponent {
108
- constructor(inj, _viewParent) {
109
- super(inj, WIDGET_CONFIG$e, _viewParent);
110
- this._viewParent = _viewParent;
111
- i3.styler(this.nativeElement, this);
107
+ class ButtonComponent extends i2.StylableComponent {
108
+ constructor(inj) {
109
+ super(inj, WIDGET_CONFIG$e);
110
+ i2.styler(this.nativeElement, this);
112
111
  }
113
112
  }
114
113
  ButtonComponent.initializeProps = registerProps$e();
115
- ButtonComponent.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
114
+ ButtonComponent.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
116
115
  ButtonComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["button", "wmButton", ""]], hostVars: 5, hostBindings: function ButtonComponent_HostBindings(rf, ctx) {
117
116
  if (rf & 2) {
118
117
  i0__namespace.ɵɵhostProperty("type", ctx.type)("tabIndex", ctx.tabindex)("disabled", ctx.disabled);
119
118
  i0__namespace.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
120
119
  }
121
120
  }, exportAs: ["wmButton"], features: [i0__namespace.ɵɵProvidersFeature([
122
- i3.provideAsWidgetRef(ButtonComponent)
121
+ i2.provideAsWidgetRef(ButtonComponent)
123
122
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c4$2, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "button image", "class", "button-image-icon", 3, "src", "ngStyle", 4, "ngIf"], ["aria-hidden", "true", 3, "class", "ngStyle", 4, "ngIf"], ["class", "sr-only", 4, "ngIf"], [1, "btn-caption", 3, "innerHTML"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], ["data-identifier", "img", "alt", "button image", 1, "button-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "ngStyle"], [1, "sr-only"], [1, "badge", "pull-right", 3, "textContent"]], template: function ButtonComponent_Template(rf, ctx) {
124
123
  if (rf & 1) {
125
124
  i0__namespace.ɵɵprojectionDef(_c3$2);
@@ -141,18 +140,14 @@
141
140
  i0__namespace.ɵɵadvance(2);
142
141
  i0__namespace.ɵɵproperty("ngIf", ctx.badgevalue);
143
142
  }
144
- }, dependencies: [i2__namespace.NgIf, i2__namespace.NgStyle, i3__namespace.TextContentDirective, i3__namespace.ImagePipe], encapsulation: 2 });
143
+ }, dependencies: [i1__namespace.NgIf, i1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 });
145
144
  (function () {
146
145
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonComponent, [{
147
146
  type: i0.Component,
148
147
  args: [{ selector: 'button[wmButton]', providers: [
149
- i3.provideAsWidgetRef(ButtonComponent)
148
+ i2.provideAsWidgetRef(ButtonComponent)
150
149
  ], exportAs: 'wmButton', template: "<img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
151
- }], function () {
152
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
153
- type: i0.Optional
154
- }] }];
155
- }, { type: [{
150
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { type: [{
156
151
  type: i0.HostBinding,
157
152
  args: ['type']
158
153
  }], tabindex: [{
@@ -171,11 +166,11 @@
171
166
  })();
172
167
 
173
168
  const registerProps$d = () => {
174
- i3.register('wm-buttongroup', new Map([
175
- ['class', i3.PROP_STRING],
176
- ['name', i3.PROP_STRING],
177
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
178
- ['vertical', i3.PROP_BOOLEAN]
169
+ i2.register('wm-buttongroup', new Map([
170
+ ['class', i2.PROP_STRING],
171
+ ['name', i2.PROP_STRING],
172
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
173
+ ['vertical', i2.PROP_BOOLEAN]
179
174
  ]));
180
175
  };
181
176
 
@@ -184,20 +179,19 @@
184
179
  widgetType: 'wm-buttongroup',
185
180
  hostClass: DEFAULT_CLS$5
186
181
  };
187
- class ButtonGroupDirective extends i3.StylableComponent {
182
+ class ButtonGroupDirective extends i2.StylableComponent {
188
183
  handleClick(event) {
189
184
  const $target = $(event.target).closest('.app-button');
190
185
  this.$element.find('.app-button').removeClass('selected');
191
186
  $target.addClass('selected');
192
187
  }
193
- constructor(inj, _viewParent) {
194
- super(inj, WIDGET_CONFIG$d, _viewParent);
195
- this._viewParent = _viewParent;
196
- i3.styler(this.nativeElement, this, i3.APPLY_STYLES_TYPE.CONTAINER);
188
+ constructor(inj) {
189
+ super(inj, WIDGET_CONFIG$d);
190
+ i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
197
191
  }
198
192
  }
199
193
  ButtonGroupDirective.initializeProps = registerProps$d();
200
- ButtonGroupDirective.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
194
+ ButtonGroupDirective.ɵfac = function ButtonGroupDirective_Factory(t) { return new (t || ButtonGroupDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
201
195
  ButtonGroupDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: ButtonGroupDirective, selectors: [["", "wmButtonGroup", ""]], hostVars: 2, hostBindings: function ButtonGroupDirective_HostBindings(rf, ctx) {
202
196
  if (rf & 1) {
203
197
  i0__namespace.ɵɵlistener("click", function ButtonGroupDirective_click_HostBindingHandler($event) { return ctx.handleClick($event); });
@@ -206,7 +200,7 @@
206
200
  i0__namespace.ɵɵclassProp("btn-group-vertical", ctx.vertical);
207
201
  }
208
202
  }, features: [i0__namespace.ɵɵProvidersFeature([
209
- i3.provideAsWidgetRef(ButtonGroupDirective)
203
+ i2.provideAsWidgetRef(ButtonGroupDirective)
210
204
  ]), i0__namespace.ɵɵInheritDefinitionFeature] });
211
205
  (function () {
212
206
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonGroupDirective, [{
@@ -214,14 +208,10 @@
214
208
  args: [{
215
209
  selector: '[wmButtonGroup]',
216
210
  providers: [
217
- i3.provideAsWidgetRef(ButtonGroupDirective)
211
+ i2.provideAsWidgetRef(ButtonGroupDirective)
218
212
  ]
219
213
  }]
220
- }], function () {
221
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
222
- type: i0.Optional
223
- }] }];
224
- }, { vertical: [{
214
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { vertical: [{
225
215
  type: i0.HostBinding,
226
216
  args: ['class.btn-group-vertical']
227
217
  }], handleClick: [{
@@ -230,9 +220,9 @@
230
220
  }] });
231
221
  })();
232
222
 
233
- class BaseFormComponent extends i3.StylableComponent {
234
- constructor(inj, config, _viewParent, initPromise) {
235
- super(inj, config, _viewParent, initPromise);
223
+ class BaseFormComponent extends i2.StylableComponent {
224
+ constructor(inj, config, initPromise) {
225
+ super(inj, config, initPromise);
236
226
  this.inj = inj;
237
227
  this.binddatavalue = this.$element.attr('datavalue.bind');
238
228
  }
@@ -249,7 +239,7 @@
249
239
  updateBoundVariable(value) {
250
240
  let binddatavalue = this.binddatavalue;
251
241
  // return if the variable bound is not static.
252
- if (this.datavaluesource && this.datavaluesource.execute(i1.DataSource.Operation.IS_API_AWARE)) {
242
+ if (this.datavaluesource && this.datavaluesource.execute(i1$2.DataSource.Operation.IS_API_AWARE)) {
253
243
  return;
254
244
  }
255
245
  else if (this.datavaluesource && !this.datavaluesource.twoWayBinding) {
@@ -299,7 +289,7 @@
299
289
  }
300
290
  }
301
291
  }
302
- BaseFormComponent.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i3.WidgetConfig), i0__namespace.ɵɵinject(i1__namespace.UserDefinedExecutionContext), i0__namespace.ɵɵinject(Promise)); };
292
+ BaseFormComponent.ɵfac = function BaseFormComponent_Factory(t) { return new (t || BaseFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinject(Promise)); };
303
293
  BaseFormComponent.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseFormComponent, factory: BaseFormComponent.ɵfac });
304
294
  (function () {
305
295
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseFormComponent, [{
@@ -307,8 +297,8 @@
307
297
  }], function () {
308
298
  return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
309
299
  type: i0.Inject,
310
- args: [i3.WidgetConfig]
311
- }] }, { type: i1__namespace.UserDefinedExecutionContext }, { type: Promise }];
300
+ args: [i2.WidgetConfig]
301
+ }] }, { type: Promise }];
312
302
  }, null);
313
303
  })();
314
304
 
@@ -342,7 +332,7 @@
342
332
  }
343
333
  ngOnInit() {
344
334
  super.ngOnInit();
345
- this._formControl = this.inj.get(i3$1.FormControlName, null);
335
+ this._formControl = this.inj.get(i1$1.FormControlName, null);
346
336
  }
347
337
  registerOnChange(fn) {
348
338
  this._onChange = fn;
@@ -396,27 +386,27 @@
396
386
  })();
397
387
 
398
388
  const checkboxProps = new Map([
399
- ['caption', i3.PROP_STRING],
400
- ['class', i3.PROP_STRING],
401
- ['conditionalclass', i3.PROP_ANY],
402
- ['conditionalstyle', i3.PROP_ANY],
403
- ['checkedvalue', Object.assign({ value: true }, i3.PROP_STRING)],
404
- ['datavaluesource', i3.PROP_ANY],
405
- ['datavalue', i3.PROP_STRING],
406
- ['disabled', i3.PROP_BOOLEAN],
407
- ['hint', i3.PROP_STRING],
408
- ['name', i3.PROP_STRING],
409
- ['readonly', i3.PROP_BOOLEAN],
410
- ['required', i3.PROP_BOOLEAN],
411
- ['shortcutkey', i3.PROP_STRING],
412
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
413
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
414
- ['uncheckedvalue', Object.assign({ value: false }, i3.PROP_STRING)]
389
+ ['caption', i2.PROP_STRING],
390
+ ['class', i2.PROP_STRING],
391
+ ['conditionalclass', i2.PROP_ANY],
392
+ ['conditionalstyle', i2.PROP_ANY],
393
+ ['checkedvalue', Object.assign({ value: true }, i2.PROP_STRING)],
394
+ ['datavaluesource', i2.PROP_ANY],
395
+ ['datavalue', i2.PROP_STRING],
396
+ ['disabled', i2.PROP_BOOLEAN],
397
+ ['hint', i2.PROP_STRING],
398
+ ['name', i2.PROP_STRING],
399
+ ['readonly', i2.PROP_BOOLEAN],
400
+ ['required', i2.PROP_BOOLEAN],
401
+ ['shortcutkey', i2.PROP_STRING],
402
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
403
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
404
+ ['uncheckedvalue', Object.assign({ value: false }, i2.PROP_STRING)]
415
405
  ]);
416
406
  const registerProps$c = () => {
417
- i3.register('wm-checkbox', checkboxProps);
418
- i3.registerFormWidget(i1.FormWidgetType.CHECKBOX, checkboxProps);
419
- i3.registerFormWidget(i1.FormWidgetType.TOGGLE, checkboxProps);
407
+ i2.register('wm-checkbox', checkboxProps);
408
+ i2.registerFormWidget(i1$2.FormWidgetType.CHECKBOX, checkboxProps);
409
+ i2.registerFormWidget(i1$2.FormWidgetType.TOGGLE, checkboxProps);
420
410
  };
421
411
 
422
412
  const _c0$b = ["checkbox"];
@@ -450,23 +440,22 @@
450
440
  // if the checkbox is checked, return checkedvalue else return uncheckedvalue
451
441
  // @ts-ignore
452
442
  get datavalue() {
453
- return i1.isDefined(this.proxyModel) ? (this.proxyModel ? this._checkedvalue : this._uncheckedvalue) : undefined;
443
+ return i1$2.isDefined(this.proxyModel) ? (this.proxyModel ? this._checkedvalue : this._uncheckedvalue) : undefined;
454
444
  }
455
445
  // when the datavalue is set, update the checked state
456
446
  // @ts-ignore
457
447
  set datavalue(v) {
458
- this.proxyModel = (i1.isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
448
+ this.proxyModel = (i1$2.isDefined(v) && v !== '') ? v === this._checkedvalue : undefined;
459
449
  this.updatePrevDatavalue(this.datavalue);
460
450
  }
461
- constructor(inj, checkedVal, uncheckedVal, type, _viewParent) {
462
- super(inj, WIDGET_CONFIG$c, _viewParent);
451
+ constructor(inj, checkedVal, uncheckedVal, type) {
452
+ super(inj, WIDGET_CONFIG$c);
463
453
  this.type = type;
464
- this._viewParent = _viewParent;
465
454
  this._caption = '&nbsp';
466
455
  this._checkedvalue = unStringify(checkedVal, true);
467
456
  this._uncheckedvalue = unStringify(uncheckedVal, false);
468
457
  // if the type of the checkbox is toggle update the related classes on the host node
469
- i1.toggleClass(this.nativeElement, 'app-toggle', type === 'toggle');
458
+ i1$2.toggleClass(this.nativeElement, 'app-toggle', type === 'toggle');
470
459
  }
471
460
  onPropertyChange(key, nv, ov) {
472
461
  if (key === 'tabindex') {
@@ -477,7 +466,7 @@
477
466
  return;
478
467
  }
479
468
  if (key === 'caption') {
480
- if (!i1.isDefined(nv) || nv === '') {
469
+ if (!i1$2.isDefined(nv) || nv === '') {
481
470
  this._caption = '&nbsp;';
482
471
  }
483
472
  else {
@@ -515,14 +504,14 @@
515
504
  }
516
505
  ngAfterViewInit() {
517
506
  super.ngAfterViewInit();
518
- i3.styler(this.nativeElement.querySelector('label'), this);
507
+ i2.styler(this.nativeElement.querySelector('label'), this);
519
508
  }
520
509
  }
521
510
  CheckboxComponent.initializeProps = registerProps$c();
522
- CheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type'), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
511
+ CheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵinjectAttribute('checkedvalue'), i0__namespace.ɵɵinjectAttribute('uncheckedvalue'), i0__namespace.ɵɵinjectAttribute('type')); };
523
512
  CheckboxComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["", "wmCheckbox", ""]], viewQuery: function CheckboxComponent_Query(rf, ctx) {
524
513
  if (rf & 1) {
525
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
514
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
526
515
  i0__namespace.ɵɵviewQuery(_c0$b, 7, i0.ElementRef);
527
516
  }
528
517
  if (rf & 2) {
@@ -535,9 +524,9 @@
535
524
  i0__namespace.ɵɵlistener("keydown.enter", function CheckboxComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
536
525
  }
537
526
  }, features: [i0__namespace.ɵɵProvidersFeature([
538
- i3.provideAs(CheckboxComponent, i3$1.NG_VALUE_ACCESSOR, true),
539
- i3.provideAs(CheckboxComponent, i3$1.NG_VALIDATORS, true),
540
- i3.provideAsWidgetRef(CheckboxComponent)
527
+ i2.provideAs(CheckboxComponent, i1$1.NG_VALUE_ACCESSOR, true),
528
+ i2.provideAs(CheckboxComponent, i1$1.NG_VALIDATORS, true),
529
+ i2.provideAsWidgetRef(CheckboxComponent)
541
530
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$a, decls: 6, vars: 17, consts: [[3, "ngClass"], ["type", "checkbox", "role", "checkbox", "focus-target", "", 3, "ngModel", "readonly", "required", "disabled", "tabindex", "ngModelChange", "blur"], ["checkbox", ""], [1, "caption", 3, "innerHtml"], ["alt", "Checkbox Image", "aria-hidden", "true", "src", "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", 1, "switch"], ["type", "hidden", "aria-hidden", "true", "tabindex", "-1", 1, "ng-hide", "model-holder", 3, "disabled", "value"]], template: function CheckboxComponent_Template(rf, ctx) {
542
531
  if (rf & 1) {
543
532
  i0__namespace.ɵɵelementStart(0, "label", 0)(1, "input", 1, 2);
@@ -557,14 +546,14 @@
557
546
  i0__namespace.ɵɵadvance(2);
558
547
  i0__namespace.ɵɵproperty("disabled", ctx.disabled)("value", ctx.proxyModel);
559
548
  }
560
- }, dependencies: [i2__namespace.NgClass, i3$1__namespace.CheckboxControlValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.CheckboxRequiredValidator, i3$1__namespace.NgModel], encapsulation: 2 });
549
+ }, dependencies: [i1__namespace.NgClass, i1$1__namespace.CheckboxControlValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.CheckboxRequiredValidator, i1$1__namespace.NgModel], encapsulation: 2 });
561
550
  (function () {
562
551
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxComponent, [{
563
552
  type: i0.Component,
564
553
  args: [{ selector: '[wmCheckbox]', providers: [
565
- i3.provideAs(CheckboxComponent, i3$1.NG_VALUE_ACCESSOR, true),
566
- i3.provideAs(CheckboxComponent, i3$1.NG_VALIDATORS, true),
567
- i3.provideAsWidgetRef(CheckboxComponent)
554
+ i2.provideAs(CheckboxComponent, i1$1.NG_VALUE_ACCESSOR, true),
555
+ i2.provideAs(CheckboxComponent, i1$1.NG_VALIDATORS, true),
556
+ i2.provideAsWidgetRef(CheckboxComponent)
568
557
  ], template: "<label [ngClass]=\"{'unchecked': !proxyModel, 'disabled': (disabled || readonly), 'required': (required && _caption)}\">\n <input type=\"checkbox\"\n role=\"checkbox\"\n #checkbox\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-checked]=\"!!proxyModel\"\n focus-target\n [(ngModel)]=\"proxyModel\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled || readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [tabindex]=\"tabindex\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\">\n <span class=\"caption\" [innerHtml]=\"_caption\"></span>\n <img alt=\"Checkbox Image\" aria-hidden=\"true\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"switch\"/>\n</label>\n<input type=\"hidden\" class=\"ng-hide model-holder\" aria-hidden=\"true\" tabindex=\"-1\" [disabled]=\"disabled\" [value]=\"proxyModel\">\n" }]
569
558
  }], function () {
570
559
  return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
@@ -576,12 +565,10 @@
576
565
  }] }, { type: undefined, decorators: [{
577
566
  type: i0.Attribute,
578
567
  args: ['type']
579
- }] }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
580
- type: i0.Optional
581
568
  }] }];
582
569
  }, { ngModel: [{
583
570
  type: i0.ViewChild,
584
- args: [i3$1.NgModel]
571
+ args: [i1$1.NgModel]
585
572
  }], checkboxEl: [{
586
573
  type: i0.ViewChild,
587
574
  args: ['checkbox', { static: true, read: i0.ElementRef }]
@@ -609,7 +596,7 @@
609
596
  // @ts-ignore
610
597
  set datavalue(val) {
611
598
  if (this.multiple) {
612
- val = i3.extractDataAsArray(val);
599
+ val = i2.extractDataAsArray(val);
613
600
  }
614
601
  this._modelByValue = val;
615
602
  this.selectByValue(val);
@@ -618,8 +605,8 @@
618
605
  // invoke on datavalue change.
619
606
  this.invokeOnChange(val, undefined, true);
620
607
  }
621
- constructor(inj, config, _viewParent, groupby) {
622
- super(inj, config, _viewParent);
608
+ constructor(inj, config, groupby) {
609
+ super(inj, config);
623
610
  this.groupby = groupby;
624
611
  this.datasetItems = [];
625
612
  this.acceptsArray = false; // set to true if proxyModel on widget accepts array type.
@@ -628,30 +615,30 @@
628
615
  this.allowempty = true;
629
616
  this._debounceDatavalueUpdation = _.debounce((values) => {
630
617
  // if no item is found in datasetItems, wait untill the dataset updates by preserving the datavalue in toBeProcessedDatavalue.
631
- if (!i1.isDefined(this._modelByKey) || (_.isArray(this._modelByKey) && !this._modelByKey.length)) {
618
+ if (!i1$2.isDefined(this._modelByKey) || (_.isArray(this._modelByKey) && !this._modelByKey.length)) {
632
619
  this.toBeProcessedDatavalue = values;
633
620
  this._modelByValue = '';
634
621
  }
635
- else if (i1.isDefined(this.toBeProcessedDatavalue)) {
622
+ else if (i1$2.isDefined(this.toBeProcessedDatavalue)) {
636
623
  // obtain the first array value when multiple is set to false.
637
624
  // set the modelByValue only when undefined.
638
- if (!i1.isDefined(this._modelByValue)) {
625
+ if (!i1$2.isDefined(this._modelByValue)) {
639
626
  this._modelByValue = (!this.multiple && _.isArray(this.toBeProcessedDatavalue)) ? this.toBeProcessedDatavalue[0] : this.toBeProcessedDatavalue;
640
627
  }
641
628
  this.toBeProcessedDatavalue = undefined;
642
629
  }
643
630
  this.initDisplayValues();
644
631
  }, 150);
645
- this.datePipe = this.inj.get(i3.ToDatePipe);
646
- this.appDefaults = this.inj.get(i1.AppDefaults);
632
+ this.datePipe = this.inj.get(i2.ToDatePipe);
633
+ this.appDefaults = this.inj.get(i1$2.AppDefaults);
647
634
  this.binddisplayexpression = this.nativeElement.getAttribute('displayexpression.bind');
648
635
  this.binddisplayimagesrc = this.nativeElement.getAttribute('displayimagesrc.bind');
649
636
  this.binddisplaylabel = this.nativeElement.getAttribute('displaylabel.bind');
650
- this._debouncedInitDatasetItems = i1.debounce(() => {
637
+ this._debouncedInitDatasetItems = i1$2.debounce(() => {
651
638
  this.initDatasetItems();
652
- i1.$appDigest();
639
+ i1$2.$appDigest();
653
640
  }, 150);
654
- this.handleHeaderClick = i1.noop;
641
+ this.handleHeaderClick = i1$2.noop;
655
642
  }
656
643
  /**
657
644
  * This function sets the _datavalue value from the model and sets the selected flag when item is found.
@@ -706,29 +693,29 @@
706
693
  selectByValue(values) {
707
694
  this.resetDatasetItems();
708
695
  // if datavalue is not defined or empty then set the model as undefined.
709
- if (!i1.isDefined(values) || values === '' || _.isNull(values) || (values instanceof Array && !values.length)) {
696
+ if (!i1$2.isDefined(values) || values === '' || _.isNull(values) || (values instanceof Array && !values.length)) {
710
697
  this._modelByKey = undefined;
711
698
  // do not return when allowempty is set to true.
712
- if (!this.allowempty || !i1.isDefined(values)) {
699
+ if (!this.allowempty || !i1$2.isDefined(values)) {
713
700
  return;
714
701
  }
715
702
  }
716
703
  if (this.acceptsArray && !_.isArray(values)) {
717
- values = this.allowempty ? [values] : i3.extractDataAsArray(values);
704
+ values = this.allowempty ? [values] : i2.extractDataAsArray(values);
718
705
  }
719
706
  // preserve the datavalue if datasetItems are empty.
720
- if (!this.datasetItems.length && i1.isDefined(values)) {
707
+ if (!this.datasetItems.length && i1$2.isDefined(values)) {
721
708
  this.toBeProcessedDatavalue = values;
722
709
  return;
723
710
  }
724
- const filterField = this.datafield === i3.ALLFIELDS ? 'dataObject' : 'key';
711
+ const filterField = this.datafield === i2.ALLFIELDS ? 'dataObject' : 'key';
725
712
  if (_.isArray(values)) {
726
713
  this._modelByKey = [];
727
714
  values.forEach(val => {
728
715
  const itemByValue = _.find(this.datasetItems, item => {
729
716
  if (filterField === 'dataObject') {
730
717
  if (this.compareby && this.compareby.length) {
731
- return i1.isEqualWithFields(item[filterField], val, this.compareby);
718
+ return i1$2.isEqualWithFields(item[filterField], val, this.compareby);
732
719
  }
733
720
  }
734
721
  return (_.isObject(item.value) ? _.isEqual(item.value, val) : (_.toString(item.value)).toLowerCase() === (_.toString(val)).toLowerCase());
@@ -744,7 +731,7 @@
744
731
  const itemByValue = _.find(this.datasetItems, item => {
745
732
  if (filterField === 'dataObject') {
746
733
  if (this.compareby && this.compareby.length) {
747
- return i1.isEqualWithFields(item[filterField], values, this.compareby);
734
+ return i1$2.isEqualWithFields(item[filterField], values, this.compareby);
748
735
  }
749
736
  }
750
737
  return (_.isObject(item.value) ? _.isEqual(item.value, values) : (_.toString(item.value)).toLowerCase() === (_.toString(values)).toLowerCase());
@@ -777,12 +764,12 @@
777
764
  return;
778
765
  }
779
766
  // convert any dataset to the object format.
780
- const orderedDataset = i3.getOrderedDataset(i3.convertDataToObject(this.dataset), this.orderby);
767
+ const orderedDataset = i2.getOrderedDataset(i2.convertDataToObject(this.dataset), this.orderby);
781
768
  if (this.usekeys) {
782
- this.datasetItems = i3.transformDataWithKeys(orderedDataset);
769
+ this.datasetItems = i2.transformDataWithKeys(orderedDataset);
783
770
  }
784
771
  else {
785
- const displayOptions = i3.transformFormData(this.viewParent, orderedDataset, this.datafield, {
772
+ const displayOptions = i2.transformFormData(this.viewParent, orderedDataset, this.datafield, {
786
773
  displayField: this.displayfield || this.displaylabel,
787
774
  displayExpr: this.displayexpression,
788
775
  bindDisplayExpr: this.binddisplayexpression || this.binddisplaylabel,
@@ -790,7 +777,7 @@
790
777
  displayImgSrc: this.displayimagesrc
791
778
  });
792
779
  // get the unique objects out of the extracted data. Notify change in datasetItems using [...datasetItems] notation
793
- this.datasetItems = [...i3.getUniqObjsByDataField(displayOptions, this.datafield, this.displayfield || this.displaylabel, i1.toBoolean(this.allowempty))];
780
+ this.datasetItems = [...i2.getUniqObjsByDataField(displayOptions, this.datafield, this.displayfield || this.displaylabel, i1$2.toBoolean(this.allowempty))];
794
781
  }
795
782
  this.postDatasetItemsInit();
796
783
  }
@@ -815,7 +802,7 @@
815
802
  }
816
803
  }
817
804
  getGroupedData() {
818
- return this.datasetItems.length ? i3.groupData(this, i3.convertDataToObject(this.datasetItems), this.groupby, this.match, this.orderby, this.dateformat, this.datePipe, 'dataObject', this.appDefaults) : [];
805
+ return this.datasetItems.length ? i2.groupData(this, i2.convertDataToObject(this.datasetItems), this.groupby, this.match, this.orderby, this.dateformat, this.datePipe, 'dataObject', this.appDefaults) : [];
819
806
  }
820
807
  datasetSubscription() {
821
808
  const datasetSubscription = this.dataset$.subscribe(() => {
@@ -859,12 +846,12 @@
859
846
  }
860
847
  // adding the handler for header click and toggle headers.
861
848
  if (this.groupby && this.collapsible) {
862
- this.handleHeaderClick = i3.handleHeaderClick;
863
- this.toggleAllHeaders = i3.toggleAllHeaders.bind(undefined, this);
849
+ this.handleHeaderClick = i2.handleHeaderClick;
850
+ this.toggleAllHeaders = i2.toggleAllHeaders.bind(undefined, this);
864
851
  }
865
852
  }
866
853
  }
867
- DatasetAwareFormComponent.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i3.WidgetConfig), i0__namespace.ɵɵinject(i1__namespace.UserDefinedExecutionContext), i0__namespace.ɵɵinjectAttribute('groupby')); };
854
+ DatasetAwareFormComponent.ɵfac = function DatasetAwareFormComponent_Factory(t) { return new (t || DatasetAwareFormComponent)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig), i0__namespace.ɵɵinjectAttribute('groupby')); };
868
855
  DatasetAwareFormComponent.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DatasetAwareFormComponent, factory: DatasetAwareFormComponent.ɵfac });
869
856
  (function () {
870
857
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatasetAwareFormComponent, [{
@@ -872,8 +859,8 @@
872
859
  }], function () {
873
860
  return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
874
861
  type: i0.Inject,
875
- args: [i3.WidgetConfig]
876
- }] }, { type: i1__namespace.UserDefinedExecutionContext }, { type: undefined, decorators: [{
862
+ args: [i2.WidgetConfig]
863
+ }] }, { type: undefined, decorators: [{
877
864
  type: i0.Attribute,
878
865
  args: ['groupby']
879
866
  }] }];
@@ -881,36 +868,36 @@
881
868
  })();
882
869
 
883
870
  const checkboxsetProps = new Map([
884
- ['class', i3.PROP_STRING],
885
- ['collapsible', i3.PROP_BOOLEAN],
886
- ['compareby', i3.PROP_STRING],
887
- ['datafield', i3.PROP_STRING],
888
- ['dataset', Object.assign({ value: 'Option 1, Option 2, Option 3' }, i3.PROP_ANY)],
889
- ['datavaluesource', i3.PROP_ANY],
890
- ['datavalue', i3.PROP_STRING],
891
- ['dateformat', i3.PROP_STRING],
892
- ['disabled', i3.PROP_BOOLEAN],
893
- ['displayexpression', i3.PROP_STRING],
894
- ['displayfield', i3.PROP_STRING],
895
- ['displayValue', i3.PROP_STRING],
896
- ['groupby', i3.PROP_STRING],
897
- ['itemclass', Object.assign({ value: '' }, i3.PROP_STRING)],
898
- ['itemsperrow', Object.assign({ value: 'xs-1 sm-1 md-1 lg-1' }, i3.PROP_STRING)],
899
- ['listclass', Object.assign({ value: '' }, i3.PROP_STRING)],
900
- ['match', i3.PROP_STRING],
901
- ['name', i3.PROP_STRING],
902
- ['orderby', i3.PROP_STRING],
903
- ['readonly', i3.PROP_BOOLEAN],
904
- ['required', i3.PROP_BOOLEAN],
905
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
906
- ['showcount', i3.PROP_BOOLEAN],
907
- ['showindevice', Object.assign({ displayType: 'inline-block', value: 'all' }, i3.PROP_STRING)],
908
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
909
- ['usekeys', i3.PROP_BOOLEAN]
871
+ ['class', i2.PROP_STRING],
872
+ ['collapsible', i2.PROP_BOOLEAN],
873
+ ['compareby', i2.PROP_STRING],
874
+ ['datafield', i2.PROP_STRING],
875
+ ['dataset', Object.assign({ value: 'Option 1, Option 2, Option 3' }, i2.PROP_ANY)],
876
+ ['datavaluesource', i2.PROP_ANY],
877
+ ['datavalue', i2.PROP_STRING],
878
+ ['dateformat', i2.PROP_STRING],
879
+ ['disabled', i2.PROP_BOOLEAN],
880
+ ['displayexpression', i2.PROP_STRING],
881
+ ['displayfield', i2.PROP_STRING],
882
+ ['displayValue', i2.PROP_STRING],
883
+ ['groupby', i2.PROP_STRING],
884
+ ['itemclass', Object.assign({ value: '' }, i2.PROP_STRING)],
885
+ ['itemsperrow', Object.assign({ value: 'xs-1 sm-1 md-1 lg-1' }, i2.PROP_STRING)],
886
+ ['listclass', Object.assign({ value: '' }, i2.PROP_STRING)],
887
+ ['match', i2.PROP_STRING],
888
+ ['name', i2.PROP_STRING],
889
+ ['orderby', i2.PROP_STRING],
890
+ ['readonly', i2.PROP_BOOLEAN],
891
+ ['required', i2.PROP_BOOLEAN],
892
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
893
+ ['showcount', i2.PROP_BOOLEAN],
894
+ ['showindevice', Object.assign({ displayType: 'inline-block', value: 'all' }, i2.PROP_STRING)],
895
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
896
+ ['usekeys', i2.PROP_BOOLEAN]
910
897
  ]);
911
898
  const registerProps$b = () => {
912
- i3.register('wm-checkboxset', checkboxsetProps);
913
- i3.registerFormWidget(i1.FormWidgetType.CHECKBOXSET, new Map(checkboxsetProps));
899
+ i2.register('wm-checkboxset', checkboxsetProps);
900
+ i2.registerFormWidget(i1$2.FormWidgetType.CHECKBOXSET, new Map(checkboxsetProps));
914
901
  };
915
902
 
916
903
  const _c0$a = ["wmCheckboxset", ""];
@@ -1103,11 +1090,10 @@
1103
1090
  const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
1104
1091
  const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
1105
1092
  class CheckboxsetComponent extends DatasetAwareFormComponent {
1106
- constructor(inj, _viewParent) {
1107
- super(inj, WIDGET_CONFIG$b, _viewParent);
1108
- this._viewParent = _viewParent;
1093
+ constructor(inj) {
1094
+ super(inj, WIDGET_CONFIG$b);
1109
1095
  this.layout = '';
1110
- i3.styler(this.nativeElement, this);
1096
+ i2.styler(this.nativeElement, this);
1111
1097
  this.multiple = true;
1112
1098
  }
1113
1099
  onCheckboxLabelClick($event, key) {
@@ -1153,7 +1139,7 @@
1153
1139
  return;
1154
1140
  }
1155
1141
  if (key === 'itemsperrow') {
1156
- i1.setListClass(this);
1142
+ i1$2.setListClass(this);
1157
1143
  }
1158
1144
  else {
1159
1145
  super.onPropertyChange(key, nv, ov);
@@ -1161,15 +1147,15 @@
1161
1147
  }
1162
1148
  }
1163
1149
  CheckboxsetComponent.initializeProps = registerProps$b();
1164
- CheckboxsetComponent.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
1150
+ CheckboxsetComponent.ɵfac = function CheckboxsetComponent_Factory(t) { return new (t || CheckboxsetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
1165
1151
  CheckboxsetComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: CheckboxsetComponent, selectors: [["", "wmCheckboxset", ""]], hostBindings: function CheckboxsetComponent_HostBindings(rf, ctx) {
1166
1152
  if (rf & 1) {
1167
1153
  i0__namespace.ɵɵlistener("keydown.enter", function CheckboxsetComponent_keydown_enter_HostBindingHandler($event) { return ctx.onKeyDown($event, "ENTER"); });
1168
1154
  }
1169
1155
  }, exportAs: ["wmCheckboxset"], features: [i0__namespace.ɵɵProvidersFeature([
1170
- i3.provideAs(CheckboxsetComponent, i3$1.NG_VALUE_ACCESSOR, true),
1171
- i3.provideAs(CheckboxsetComponent, i3$1.NG_VALIDATORS, true),
1172
- i3.provideAsWidgetRef(CheckboxsetComponent)
1156
+ i2.provideAs(CheckboxsetComponent, i1$1.NG_VALUE_ACCESSOR, true),
1157
+ i2.provideAs(CheckboxsetComponent, i1$1.NG_VALIDATORS, true),
1158
+ i2.provideAsWidgetRef(CheckboxsetComponent)
1173
1159
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "title", "ngClass", "click"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["type", "checkbox", "aria-label", "checkbox group", 3, "name", "tabindex", "disabled", "value", "checked"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) {
1174
1160
  if (rf & 1) {
1175
1161
  i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
@@ -1185,31 +1171,27 @@
1185
1171
  i0__namespace.ɵɵadvance(1);
1186
1172
  i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
1187
1173
  }
1188
- }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3__namespace.ItemTemplateDirective, i3__namespace.PartialParamHandlerDirective, i3__namespace.PartialContainerDirective, i3__namespace.TextContentDirective], encapsulation: 2 });
1174
+ }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 });
1189
1175
  (function () {
1190
1176
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxsetComponent, [{
1191
1177
  type: i0.Component,
1192
1178
  args: [{ selector: '[wmCheckboxset]', exportAs: 'wmCheckboxset', providers: [
1193
- i3.provideAs(CheckboxsetComponent, i3$1.NG_VALUE_ACCESSOR, true),
1194
- i3.provideAs(CheckboxsetComponent, i3$1.NG_VALIDATORS, true),
1195
- i3.provideAsWidgetRef(CheckboxsetComponent)
1179
+ i2.provideAs(CheckboxsetComponent, i1$1.NG_VALUE_ACCESSOR, true),
1180
+ i2.provideAs(CheckboxsetComponent, i1$1.NG_VALIDATORS, true),
1181
+ i2.provideAsWidgetRef(CheckboxsetComponent)
1196
1182
  ], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" [attr.aria-label]=\"item.key\"\n [tabindex]=\"tabindex\" [attr.aria-checked]=\"item.selected\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\" aria-label=\"checkbox group\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
1197
- }], function () {
1198
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
1199
- type: i0.Optional
1200
- }] }];
1201
- }, { onKeyDown: [{
1183
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { onKeyDown: [{
1202
1184
  type: i0.HostListener,
1203
1185
  args: ['keydown.enter', ['$event', '"ENTER"']]
1204
1186
  }] });
1205
1187
  })();
1206
1188
 
1207
1189
  const registerProps$a = () => {
1208
- i3.register('wm-form-group', new Map([
1209
- ['captionposition', i3.PROP_STRING],
1210
- ['name', i3.PROP_STRING],
1211
- ['required', i3.PROP_BOOLEAN],
1212
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)]
1190
+ i2.register('wm-form-group', new Map([
1191
+ ['captionposition', i2.PROP_STRING],
1192
+ ['name', i2.PROP_STRING],
1193
+ ['required', i2.PROP_BOOLEAN],
1194
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)]
1213
1195
  ]));
1214
1196
  };
1215
1197
 
@@ -1224,11 +1206,10 @@
1224
1206
  top: 'caption-top',
1225
1207
  floating: 'caption-floating'
1226
1208
  };
1227
- class CompositeDirective extends i3.StylableComponent {
1228
- constructor(inj, _viewParent) {
1229
- super(inj, WIDGET_CONFIG$a, _viewParent);
1230
- this._viewParent = _viewParent;
1231
- i3.styler(this.nativeElement, this, i3.APPLY_STYLES_TYPE.CONTAINER);
1209
+ class CompositeDirective extends i2.StylableComponent {
1210
+ constructor(inj) {
1211
+ super(inj, WIDGET_CONFIG$a);
1212
+ i2.styler(this.nativeElement, this, i2.APPLY_STYLES_TYPE.CONTAINER);
1232
1213
  }
1233
1214
  /**
1234
1215
  * this is onPropertyChange handler for the form-group component
@@ -1238,7 +1219,7 @@
1238
1219
  */
1239
1220
  onPropertyChange(key, nv, ov) {
1240
1221
  if (key === 'captionposition') {
1241
- i1.switchClass(this.nativeElement, CAPTION_POSITION[nv], CAPTION_POSITION[ov]);
1222
+ i1$2.switchClass(this.nativeElement, CAPTION_POSITION[nv], CAPTION_POSITION[ov]);
1242
1223
  }
1243
1224
  else if (key === 'required') {
1244
1225
  this.required = nv;
@@ -1260,22 +1241,22 @@
1260
1241
  }
1261
1242
  ngAfterViewInit() {
1262
1243
  super.ngAfterViewInit();
1263
- i1.addForIdAttributes(this.nativeElement);
1244
+ i1$2.addForIdAttributes(this.nativeElement);
1264
1245
  this.assignRequiredToSubComponents();
1265
1246
  }
1266
1247
  }
1267
1248
  CompositeDirective.initializeProps = registerProps$a();
1268
- CompositeDirective.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
1249
+ CompositeDirective.ɵfac = function CompositeDirective_Factory(t) { return new (t || CompositeDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
1269
1250
  CompositeDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CompositeDirective, selectors: [["div", "wmComposite", ""]], contentQueries: function CompositeDirective_ContentQueries(rf, ctx, dirIndex) {
1270
1251
  if (rf & 1) {
1271
- i0__namespace.ɵɵcontentQuery(dirIndex, i3.WidgetRef, 5);
1252
+ i0__namespace.ɵɵcontentQuery(dirIndex, i2.WidgetRef, 5);
1272
1253
  }
1273
1254
  if (rf & 2) {
1274
1255
  let _t;
1275
1256
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.componentRefs = _t);
1276
1257
  }
1277
1258
  }, features: [i0__namespace.ɵɵProvidersFeature([
1278
- i3.provideAsWidgetRef(CompositeDirective)
1259
+ i2.provideAsWidgetRef(CompositeDirective)
1279
1260
  ]), i0__namespace.ɵɵInheritDefinitionFeature] });
1280
1261
  (function () {
1281
1262
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CompositeDirective, [{
@@ -1283,46 +1264,42 @@
1283
1264
  args: [{
1284
1265
  selector: 'div[wmComposite]',
1285
1266
  providers: [
1286
- i3.provideAsWidgetRef(CompositeDirective)
1267
+ i2.provideAsWidgetRef(CompositeDirective)
1287
1268
  ]
1288
1269
  }]
1289
- }], function () {
1290
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
1291
- type: i0.Optional
1292
- }] }];
1293
- }, { componentRefs: [{
1270
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { componentRefs: [{
1294
1271
  type: i0.ContentChildren,
1295
- args: [i3.WidgetRef, { descendants: true }]
1272
+ args: [i2.WidgetRef, { descendants: true }]
1296
1273
  }] });
1297
1274
  })();
1298
1275
 
1299
1276
  const numberProps = new Map([
1300
- ['autofocus', i3.PROP_BOOLEAN],
1301
- ['class', i3.PROP_STRING],
1302
- ['datavaluesource', i3.PROP_ANY],
1303
- ['datavalue', i3.PROP_STRING],
1304
- ['disabled', i3.PROP_BOOLEAN],
1305
- ['hint', i3.PROP_STRING],
1306
- ['localefilter', i3.PROP_STRING],
1307
- ['minvalue', i3.PROP_NUMBER],
1308
- ['maxvalue', i3.PROP_NUMBER],
1309
- ['name', i3.PROP_STRING],
1310
- ['numberfilter', i3.PROP_STRING],
1311
- ['placeholder', Object.assign({ value: 'Enter number' }, i3.PROP_STRING)],
1312
- ['readonly', i3.PROP_BOOLEAN],
1313
- ['regexp', i3.PROP_STRING],
1314
- ['required', i3.PROP_BOOLEAN],
1315
- ['shortcutkey', i3.PROP_STRING],
1316
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
1317
- ['step', Object.assign({ value: 1 }, i3.PROP_NUMBER)],
1318
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
1319
- ['trailingzero', Object.assign({ value: false }, i3.PROP_BOOLEAN)],
1320
- ['updateon', i3.PROP_STRING],
1321
- ['inputmode', Object.assign({ value: 'natural' }, i3.PROP_STRING)]
1277
+ ['autofocus', i2.PROP_BOOLEAN],
1278
+ ['class', i2.PROP_STRING],
1279
+ ['datavaluesource', i2.PROP_ANY],
1280
+ ['datavalue', i2.PROP_STRING],
1281
+ ['disabled', i2.PROP_BOOLEAN],
1282
+ ['hint', i2.PROP_STRING],
1283
+ ['localefilter', i2.PROP_STRING],
1284
+ ['minvalue', i2.PROP_NUMBER],
1285
+ ['maxvalue', i2.PROP_NUMBER],
1286
+ ['name', i2.PROP_STRING],
1287
+ ['numberfilter', i2.PROP_STRING],
1288
+ ['placeholder', Object.assign({ value: 'Enter number' }, i2.PROP_STRING)],
1289
+ ['readonly', i2.PROP_BOOLEAN],
1290
+ ['regexp', i2.PROP_STRING],
1291
+ ['required', i2.PROP_BOOLEAN],
1292
+ ['shortcutkey', i2.PROP_STRING],
1293
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
1294
+ ['step', Object.assign({ value: 1 }, i2.PROP_NUMBER)],
1295
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
1296
+ ['trailingzero', Object.assign({ value: false }, i2.PROP_BOOLEAN)],
1297
+ ['updateon', i2.PROP_STRING],
1298
+ ['inputmode', Object.assign({ value: 'natural' }, i2.PROP_STRING)]
1322
1299
  ]);
1323
1300
  const registerProps$9 = () => {
1324
- i3.register('wm-number', numberProps);
1325
- i3.registerFormWidget(i1.FormWidgetType.NUMBER, new Map(numberProps));
1301
+ i2.register('wm-number', numberProps);
1302
+ i2.registerFormWidget(i1$2.FormWidgetType.NUMBER, new Map(numberProps));
1326
1303
  };
1327
1304
 
1328
1305
  class BaseInput extends BaseFormCustomComponent {
@@ -1337,7 +1314,7 @@
1337
1314
  }
1338
1315
  if (key === 'class') {
1339
1316
  if (this.inputEl.nativeElement) {
1340
- i1.switchClass(this.inputEl.nativeElement, nv, ov);
1317
+ i1$2.switchClass(this.inputEl.nativeElement, nv, ov);
1341
1318
  }
1342
1319
  }
1343
1320
  else if (key === 'datavalue') {
@@ -1372,18 +1349,18 @@
1372
1349
  const unMaskedVal = _.get(this.imask, 'maskRef.unmaskedValue');
1373
1350
  val = unMaskedVal ? unMaskedVal : val;
1374
1351
  this.ngModel.update.next(val);
1375
- i1.$appDigest();
1352
+ i1$2.$appDigest();
1376
1353
  }
1377
1354
  ngAfterViewInit() {
1378
1355
  super.ngAfterViewInit();
1379
1356
  // add the class on the input element
1380
1357
  if (this.class) {
1381
- i1.addClass(this.inputEl.nativeElement, this.class);
1358
+ i1$2.addClass(this.inputEl.nativeElement, this.class);
1382
1359
  }
1383
- i3.styler(this.inputEl.nativeElement, this);
1360
+ i2.styler(this.inputEl.nativeElement, this);
1384
1361
  }
1385
- constructor(inj, config, _viewParent) {
1386
- super(inj, config, _viewParent);
1362
+ constructor(inj, config) {
1363
+ super(inj, config);
1387
1364
  // possible values for ngModelOptions are 'blur' and 'change'
1388
1365
  // default is 'blur'
1389
1366
  this.ngModelOptions = {
@@ -1394,7 +1371,7 @@
1394
1371
  this.ngModelOptions.updateOn = updateOn;
1395
1372
  }
1396
1373
  }
1397
- BaseInput.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i3.WidgetConfig), i0__namespace.ɵɵinject(i1__namespace.UserDefinedExecutionContext)); };
1374
+ BaseInput.ɵfac = function BaseInput_Factory(t) { return new (t || BaseInput)(i0__namespace.ɵɵinject(i0__namespace.Injector), i0__namespace.ɵɵinject(i2.WidgetConfig)); };
1398
1375
  BaseInput.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: BaseInput, factory: BaseInput.ɵfac });
1399
1376
  (function () {
1400
1377
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BaseInput, [{
@@ -1402,21 +1379,21 @@
1402
1379
  }], function () {
1403
1380
  return [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
1404
1381
  type: i0.Inject,
1405
- args: [i3.WidgetConfig]
1406
- }] }, { type: i1__namespace.UserDefinedExecutionContext }];
1382
+ args: [i2.WidgetConfig]
1383
+ }] }];
1407
1384
  }, null);
1408
1385
  })();
1409
1386
 
1410
1387
  class NumberLocale extends BaseInput {
1411
- constructor(inj, config, _viewParent, i18nService, trailingZeroDecimalPipe) {
1412
- super(inj, config, _viewParent);
1388
+ constructor(inj, config, i18nService, trailingZeroDecimalPipe) {
1389
+ super(inj, config);
1413
1390
  this.i18nService = i18nService;
1414
1391
  this.trailingZeroDecimalPipe = trailingZeroDecimalPipe;
1415
1392
  this.isDefaultQuery = true;
1416
1393
  this.decimalValue = '';
1417
1394
  this.selectedLocale = i18nService.getSelectedLocale();
1418
- this.DECIMAL = i2.getLocaleNumberSymbol(this.localefilter || this.selectedLocale, i2.NumberSymbol.Decimal);
1419
- this.GROUP = i2.getLocaleNumberSymbol(this.localefilter || this.selectedLocale, i2.NumberSymbol.Group);
1395
+ this.DECIMAL = i1.getLocaleNumberSymbol(this.localefilter || this.selectedLocale, i1.NumberSymbol.Decimal);
1396
+ this.GROUP = i1.getLocaleNumberSymbol(this.localefilter || this.selectedLocale, i1.NumberSymbol.Group);
1420
1397
  this.numberfilter = '1.0-16';
1421
1398
  this.resetValidations();
1422
1399
  }
@@ -1593,7 +1570,7 @@
1593
1570
  this.decimalValue = parts[1] || '';
1594
1571
  }
1595
1572
  const stepVal = this.stepLength();
1596
- if (this.inputmode === i3.INPUTMODE.FINANCIAL && stepVal) {
1573
+ if (this.inputmode === i2.INPUTMODE.FINANCIAL && stepVal) {
1597
1574
  this.displayValue = input.value = this.transformNumber(this.proxyModel, `1.${stepVal}-${stepVal}`);
1598
1575
  this.decimalValue = this.decimalValue.replace(/\D/g, '');
1599
1576
  }
@@ -1618,7 +1595,7 @@
1618
1595
  }
1619
1596
  // This function checks if the currency widget has input mode as natural and trailing zero is defined or not
1620
1597
  isNaturalCurrency() {
1621
- return this.inputmode === i3.INPUTMODE.NATURAL && this.widgetType === 'wm-currency' && !!this.trailingzero;
1598
+ return this.inputmode === i2.INPUTMODE.NATURAL && this.widgetType === 'wm-currency' && !!this.trailingzero;
1622
1599
  }
1623
1600
  /**
1624
1601
  * @param value contains the value entered in the input box
@@ -1628,13 +1605,13 @@
1628
1605
  onInputChange(value) {
1629
1606
  const stepVal = this.stepLength();
1630
1607
  // WMS-22355, Trigger change cb if value exists or value is empty but datavalue exists (when value is selected and deleted).
1631
- if (i1.isDefined(value) && (value !== '' || this.datavalue)) {
1608
+ if (i1$2.isDefined(value) && (value !== '' || this.datavalue)) {
1632
1609
  this.handleChange(value);
1633
1610
  }
1634
1611
  else {
1635
1612
  return;
1636
1613
  }
1637
- if (!stepVal || this.inputmode !== i3.INPUTMODE.FINANCIAL) {
1614
+ if (!stepVal || this.inputmode !== i2.INPUTMODE.FINANCIAL) {
1638
1615
  return;
1639
1616
  }
1640
1617
  let financialVal;
@@ -1668,7 +1645,7 @@
1668
1645
  // In currency, inputmode is natural and trailing zero and step are defined, on blur display val to fixed point notation and on focus strip the zeros
1669
1646
  checkForTrailingZeros($event) {
1670
1647
  const stepVal = this.stepLength();
1671
- const financialMode = !this.trailingzero && this.inputmode === i3.INPUTMODE.FINANCIAL;
1648
+ const financialMode = !this.trailingzero && this.inputmode === i2.INPUTMODE.FINANCIAL;
1672
1649
  // If the user's last input is a decimal and not active on input field, throw error
1673
1650
  if (this.lastValIsDecimal) {
1674
1651
  this.onModelChange(this.displayValue);
@@ -1779,7 +1756,7 @@
1779
1756
  const validity = new RegExp(`^[\\d\\s-,.e+${this.GROUP}${this.DECIMAL}]$`, 'i');
1780
1757
  const inputValue = $event.target.value;
1781
1758
  // when input mode is financial, do not restrict user on entering the value when step value limit is reached.
1782
- const skipStepValidation = this.inputmode === i3.INPUTMODE.FINANCIAL;
1759
+ const skipStepValidation = this.inputmode === i2.INPUTMODE.FINANCIAL;
1783
1760
  // Validates if user eneters more than 16 digits
1784
1761
  if (inputValue) {
1785
1762
  const parsedVal = parseInt(inputValue.toString().replace(/\D/g, ''));
@@ -1830,7 +1807,7 @@
1830
1807
  this.datavalue = $event.target.value;
1831
1808
  }
1832
1809
  onModelChange($event) {
1833
- if (this.inputmode === i3.INPUTMODE.NATURAL || (this.inputmode === i3.INPUTMODE.FINANCIAL && this.ngModelOptions.updateOn === 'blur')) {
1810
+ if (this.inputmode === i2.INPUTMODE.NATURAL || (this.inputmode === i2.INPUTMODE.FINANCIAL && this.ngModelOptions.updateOn === 'blur')) {
1834
1811
  this.datavalue = $event;
1835
1812
  }
1836
1813
  }
@@ -1859,17 +1836,16 @@
1859
1836
  hostClass: 'app-input-wrapper'
1860
1837
  };
1861
1838
  class NumberComponent extends NumberLocale {
1862
- constructor(inj, i18nService, trailingZeroDecimalPipe, _viewParent) {
1863
- super(inj, WIDGET_CONFIG$9, _viewParent, i18nService, trailingZeroDecimalPipe);
1864
- this._viewParent = _viewParent;
1839
+ constructor(inj, i18nService, trailingZeroDecimalPipe) {
1840
+ super(inj, WIDGET_CONFIG$9, i18nService, trailingZeroDecimalPipe);
1865
1841
  }
1866
1842
  }
1867
1843
  NumberComponent.initializeProps = registerProps$9();
1868
- NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i3__namespace.TrailingZeroDecimalPipe), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
1844
+ NumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$2__namespace.AbstractI18nService), i0__namespace.ɵɵdirectiveInject(i2__namespace.TrailingZeroDecimalPipe)); };
1869
1845
  NumberComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NumberComponent, selectors: [["", "wmNumber", ""]], viewQuery: function NumberComponent_Query(rf, ctx) {
1870
1846
  if (rf & 1) {
1871
1847
  i0__namespace.ɵɵviewQuery(_c0$9, 7);
1872
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 7);
1848
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 7);
1873
1849
  }
1874
1850
  if (rf & 2) {
1875
1851
  let _t;
@@ -1877,9 +1853,9 @@
1877
1853
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
1878
1854
  }
1879
1855
  }, features: [i0__namespace.ɵɵProvidersFeature([
1880
- i3.provideAs(NumberComponent, i3$1.NG_VALUE_ACCESSOR, true),
1881
- i3.provideAs(NumberComponent, i3$1.NG_VALIDATORS, true),
1882
- i3.provideAsWidgetRef(NumberComponent)
1856
+ i2.provideAs(NumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
1857
+ i2.provideAs(NumberComponent, i1$1.NG_VALIDATORS, true),
1858
+ i2.provideAsWidgetRef(NumberComponent)
1883
1859
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$8, decls: 2, vars: 12, consts: [["inputmode", "decimal", "focus-target", "", "role", "textbox", "type", "text", 1, "form-control", "app-textbox", "app-number-input", 3, "ngModel", "readonly", "disabled", "pattern", "autofocus", "ngModelOptions", "required", "ngModelChange", "blur", "focus", "input", "keypress", "keydown.backspace", "keydown.enter", "keydown.ArrowUp", "keydown.ArrowDown"], ["input", ""]], template: function NumberComponent_Template(rf, ctx) {
1884
1860
  if (rf & 1) {
1885
1861
  i0__namespace.ɵɵelementStart(0, "input", 0, 1);
@@ -1890,59 +1866,55 @@
1890
1866
  i0__namespace.ɵɵproperty("ngModel", ctx.displayValue)("readonly", ctx.readonly)("disabled", ctx.disabled)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngModelOptions", ctx.ngModelOptions)("required", ctx.required);
1891
1867
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
1892
1868
  }
1893
- }, dependencies: [i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.PatternValidator, i3$1__namespace.NgModel], encapsulation: 2 });
1869
+ }, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.PatternValidator, i1$1__namespace.NgModel], encapsulation: 2 });
1894
1870
  (function () {
1895
1871
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NumberComponent, [{
1896
1872
  type: i0.Component,
1897
1873
  args: [{ selector: '[wmNumber]', providers: [
1898
- i3.provideAs(NumberComponent, i3$1.NG_VALUE_ACCESSOR, true),
1899
- i3.provideAs(NumberComponent, i3$1.NG_VALIDATORS, true),
1900
- i3.provideAsWidgetRef(NumberComponent)
1874
+ i2.provideAs(NumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
1875
+ i2.provideAs(NumberComponent, i1$1.NG_VALIDATORS, true),
1876
+ i2.provideAsWidgetRef(NumberComponent)
1901
1877
  ], template: "<input class=\"form-control app-textbox app-number-input\"\n inputmode=\"decimal\"\n focus-target\n [attr.name]=\"name\"\n role=\"textbox\"\n type=\"text\"\n [ngModel]=\"displayValue\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (ngModelChange)=\"onModelChange($event)\"\n (blur)=\"handleBlur($event); checkForTrailingZeros($event);\"\n (focus)=\"checkForTrailingZeros($event)\"\n (input)=\"onInputChange($event.target.value)\"\n [ngModelOptions]=\"ngModelOptions\"\n [required]=\"required\"\n (keypress)=\"validateInputEntry($event)\"\n (keydown.backspace)=\"onBackspace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.ArrowUp)=\"onArrowPress($event, 'UP')\"\n (keydown.ArrowDown)=\"onArrowPress($event, 'DOWN')\"\n #input>\n" }]
1902
- }], function () {
1903
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.AbstractI18nService }, { type: i3__namespace.TrailingZeroDecimalPipe }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
1904
- type: i0.Optional
1905
- }] }];
1906
- }, { inputEl: [{
1878
+ }], function () { return [{ type: i0__namespace.Injector }, { type: i1$2__namespace.AbstractI18nService }, { type: i2__namespace.TrailingZeroDecimalPipe }]; }, { inputEl: [{
1907
1879
  type: i0.ViewChild,
1908
1880
  args: ['input', { static: true }]
1909
1881
  }], ngModel: [{
1910
1882
  type: i0.ViewChild,
1911
- args: [i3$1.NgModel, { static: true }]
1883
+ args: [i1$1.NgModel, { static: true }]
1912
1884
  }] });
1913
1885
  })();
1914
1886
 
1915
1887
  const radiosetProps = new Map([
1916
- ['class', i3.PROP_STRING],
1917
- ['collapsible', i3.PROP_BOOLEAN],
1918
- ['compareby', i3.PROP_STRING],
1919
- ['datafield', i3.PROP_STRING],
1920
- ['dataset', Object.assign({ value: 'Option 1, Option 2, Option 3' }, i3.PROP_ANY)],
1921
- ['datavaluesource', i3.PROP_ANY],
1922
- ['datavalue', i3.PROP_ANY],
1923
- ['dateformat', i3.PROP_STRING],
1924
- ['disabled', i3.PROP_BOOLEAN],
1925
- ['displayexpression', i3.PROP_STRING],
1926
- ['displayfield', i3.PROP_STRING],
1927
- ['displayValue', i3.PROP_STRING],
1928
- ['groupby', i3.PROP_STRING],
1929
- ['itemclass', Object.assign({ value: '' }, i3.PROP_STRING)],
1930
- ['itemsperrow', Object.assign({ value: 'xs-1 sm-1 md-1 lg-1' }, i3.PROP_STRING)],
1931
- ['listclass', Object.assign({ value: '' }, i3.PROP_STRING)],
1932
- ['match', i3.PROP_STRING],
1933
- ['name', i3.PROP_STRING],
1934
- ['orderby', i3.PROP_STRING],
1935
- ['readonly', i3.PROP_BOOLEAN],
1936
- ['required', i3.PROP_BOOLEAN],
1937
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
1938
- ['showcount', i3.PROP_BOOLEAN],
1939
- ['showindevice', Object.assign({ displayType: 'inline-block', value: 'all' }, i3.PROP_STRING)],
1940
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
1941
- ['usekeys', i3.PROP_BOOLEAN]
1888
+ ['class', i2.PROP_STRING],
1889
+ ['collapsible', i2.PROP_BOOLEAN],
1890
+ ['compareby', i2.PROP_STRING],
1891
+ ['datafield', i2.PROP_STRING],
1892
+ ['dataset', Object.assign({ value: 'Option 1, Option 2, Option 3' }, i2.PROP_ANY)],
1893
+ ['datavaluesource', i2.PROP_ANY],
1894
+ ['datavalue', i2.PROP_ANY],
1895
+ ['dateformat', i2.PROP_STRING],
1896
+ ['disabled', i2.PROP_BOOLEAN],
1897
+ ['displayexpression', i2.PROP_STRING],
1898
+ ['displayfield', i2.PROP_STRING],
1899
+ ['displayValue', i2.PROP_STRING],
1900
+ ['groupby', i2.PROP_STRING],
1901
+ ['itemclass', Object.assign({ value: '' }, i2.PROP_STRING)],
1902
+ ['itemsperrow', Object.assign({ value: 'xs-1 sm-1 md-1 lg-1' }, i2.PROP_STRING)],
1903
+ ['listclass', Object.assign({ value: '' }, i2.PROP_STRING)],
1904
+ ['match', i2.PROP_STRING],
1905
+ ['name', i2.PROP_STRING],
1906
+ ['orderby', i2.PROP_STRING],
1907
+ ['readonly', i2.PROP_BOOLEAN],
1908
+ ['required', i2.PROP_BOOLEAN],
1909
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
1910
+ ['showcount', i2.PROP_BOOLEAN],
1911
+ ['showindevice', Object.assign({ displayType: 'inline-block', value: 'all' }, i2.PROP_STRING)],
1912
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
1913
+ ['usekeys', i2.PROP_BOOLEAN]
1942
1914
  ]);
1943
1915
  const registerProps$8 = () => {
1944
- i3.register('wm-radioset', radiosetProps);
1945
- i3.registerFormWidget(i1.FormWidgetType.RADIOSET, new Map(radiosetProps));
1916
+ i2.register('wm-radioset', radiosetProps);
1917
+ i2.registerFormWidget(i1$2.FormWidgetType.RADIOSET, new Map(radiosetProps));
1946
1918
  };
1947
1919
 
1948
1920
  const _c0$8 = ["wmRadioset", ""];
@@ -2135,11 +2107,10 @@
2135
2107
  const DEFAULT_CLS$1 = 'app-radioset list-group inline';
2136
2108
  const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
2137
2109
  class RadiosetComponent extends DatasetAwareFormComponent {
2138
- constructor(inj, _viewParent) {
2139
- super(inj, WIDGET_CONFIG$8, _viewParent);
2140
- this._viewParent = _viewParent;
2110
+ constructor(inj) {
2111
+ super(inj, WIDGET_CONFIG$8);
2141
2112
  this.layout = '';
2142
- i3.styler(this.nativeElement, this);
2113
+ i2.styler(this.nativeElement, this);
2143
2114
  this.multiple = false;
2144
2115
  }
2145
2116
  /**
@@ -2174,7 +2145,7 @@
2174
2145
  return;
2175
2146
  }
2176
2147
  if (key === 'itemsperrow') {
2177
- i1.setListClass(this);
2148
+ i1$2.setListClass(this);
2178
2149
  }
2179
2150
  else {
2180
2151
  super.onPropertyChange(key, nv, ov);
@@ -2182,11 +2153,11 @@
2182
2153
  }
2183
2154
  }
2184
2155
  RadiosetComponent.initializeProps = registerProps$8();
2185
- RadiosetComponent.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2156
+ RadiosetComponent.ɵfac = function RadiosetComponent_Factory(t) { return new (t || RadiosetComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2186
2157
  RadiosetComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: RadiosetComponent, selectors: [["", "wmRadioset", ""]], exportAs: ["wmRadioset"], features: [i0__namespace.ɵɵProvidersFeature([
2187
- i3.provideAs(RadiosetComponent, i3$1.NG_VALUE_ACCESSOR, true),
2188
- i3.provideAs(RadiosetComponent, i3$1.NG_VALIDATORS, true),
2189
- i3.provideAsWidgetRef(RadiosetComponent)
2158
+ i2.provideAs(RadiosetComponent, i1$1.NG_VALUE_ACCESSOR, true),
2159
+ i2.provideAs(RadiosetComponent, i1$1.NG_VALIDATORS, true),
2160
+ i2.provideAsWidgetRef(RadiosetComponent)
2190
2161
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [[3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["groupedListTemplate", ""], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", 4, "ngFor", "ngForOf"], [1, "app-list-item-group"], [1, "item-group"], [1, "list-group-header", 3, "title", "ngClass", "click"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams", "click"]], template: function RadiosetComponent_Template(rf, ctx) {
2191
2162
  if (rf & 1) {
2192
2163
  i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
@@ -2202,53 +2173,49 @@
2202
2173
  i0__namespace.ɵɵadvance(1);
2203
2174
  i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
2204
2175
  }
2205
- }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3__namespace.ItemTemplateDirective, i3__namespace.PartialParamHandlerDirective, i3__namespace.PartialContainerDirective, i3__namespace.TextContentDirective], encapsulation: 2 });
2176
+ }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 });
2206
2177
  (function () {
2207
2178
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RadiosetComponent, [{
2208
2179
  type: i0.Component,
2209
2180
  args: [{ selector: '[wmRadioset]', exportAs: 'wmRadioset', providers: [
2210
- i3.provideAs(RadiosetComponent, i3$1.NG_VALUE_ACCESSOR, true),
2211
- i3.provideAs(RadiosetComponent, i3$1.NG_VALIDATORS, true),
2212
- i3.provideAsWidgetRef(RadiosetComponent)
2181
+ i2.provideAs(RadiosetComponent, i1$1.NG_VALUE_ACCESSOR, true),
2182
+ i2.provideAs(RadiosetComponent, i1$1.NG_VALIDATORS, true),
2183
+ i2.provideAsWidgetRef(RadiosetComponent)
2213
2184
  ], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['radio', 'app-radio', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems;let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"\n [attr.aria-label]=\"item.key\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData\" class=\"app-list-item-group\">\n <ul class=\"item-group\">\n <li class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['radio', 'app-radio', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [name]=\"'radioset_' + widgetId\" type=\"radio\" [attr.aria-checked]=\"item.selected\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
2214
- }], function () {
2215
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2216
- type: i0.Optional
2217
- }] }];
2218
- }, null);
2185
+ }], function () { return [{ type: i0__namespace.Injector }]; }, null);
2219
2186
  })();
2220
2187
 
2221
2188
  const selectProps = new Map([
2222
- ['autofocus', i3.PROP_BOOLEAN],
2223
- ['class', Object.assign({ value: '' }, i3.PROP_STRING)],
2224
- ['compareby', i3.PROP_STRING],
2225
- ['datafield', i3.PROP_STRING],
2226
- ['dataset', i3.PROP_ANY],
2227
- ['datavaluesource', i3.PROP_ANY],
2228
- ['datavalue', i3.PROP_STRING],
2229
- ['dateformat', i3.PROP_STRING],
2230
- ['disabled', i3.PROP_BOOLEAN],
2231
- ['displayexpression', i3.PROP_STRING],
2232
- ['displayfield', i3.PROP_STRING],
2233
- ['displayValue', i3.PROP_STRING],
2234
- ['groupby', i3.PROP_STRING],
2235
- ['hint', i3.PROP_STRING],
2236
- ['match', i3.PROP_STRING],
2237
- ['multiple', Object.assign({ value: false }, i3.PROP_BOOLEAN)],
2238
- ['name', i3.PROP_STRING],
2239
- ['orderby', i3.PROP_STRING],
2240
- ['placeholder', i3.PROP_STRING],
2241
- ['readonly', i3.PROP_BOOLEAN],
2242
- ['required', i3.PROP_BOOLEAN],
2243
- ['shortcutkey', i3.PROP_STRING],
2244
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2245
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
2246
- ['usekeys', i3.PROP_BOOLEAN]
2189
+ ['autofocus', i2.PROP_BOOLEAN],
2190
+ ['class', Object.assign({ value: '' }, i2.PROP_STRING)],
2191
+ ['compareby', i2.PROP_STRING],
2192
+ ['datafield', i2.PROP_STRING],
2193
+ ['dataset', i2.PROP_ANY],
2194
+ ['datavaluesource', i2.PROP_ANY],
2195
+ ['datavalue', i2.PROP_STRING],
2196
+ ['dateformat', i2.PROP_STRING],
2197
+ ['disabled', i2.PROP_BOOLEAN],
2198
+ ['displayexpression', i2.PROP_STRING],
2199
+ ['displayfield', i2.PROP_STRING],
2200
+ ['displayValue', i2.PROP_STRING],
2201
+ ['groupby', i2.PROP_STRING],
2202
+ ['hint', i2.PROP_STRING],
2203
+ ['match', i2.PROP_STRING],
2204
+ ['multiple', Object.assign({ value: false }, i2.PROP_BOOLEAN)],
2205
+ ['name', i2.PROP_STRING],
2206
+ ['orderby', i2.PROP_STRING],
2207
+ ['placeholder', i2.PROP_STRING],
2208
+ ['readonly', i2.PROP_BOOLEAN],
2209
+ ['required', i2.PROP_BOOLEAN],
2210
+ ['shortcutkey', i2.PROP_STRING],
2211
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2212
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2213
+ ['usekeys', i2.PROP_BOOLEAN]
2247
2214
  ]);
2248
2215
  const registerProps$7 = () => {
2249
- i3.register('wm-select', selectProps);
2250
- i3.registerFormWidget(i1.FormWidgetType.SELECT, new Map(selectProps));
2251
- i3.registerFormWidget(i1.FormWidgetType.TYPEAHEAD, new Map(selectProps));
2216
+ i2.register('wm-select', selectProps);
2217
+ i2.registerFormWidget(i1$2.FormWidgetType.SELECT, new Map(selectProps));
2218
+ i2.registerFormWidget(i1$2.FormWidgetType.TYPEAHEAD, new Map(selectProps));
2252
2219
  };
2253
2220
 
2254
2221
  const _c0$7 = ["select"];
@@ -2311,18 +2278,17 @@
2311
2278
  const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
2312
2279
  class SelectComponent extends DatasetAwareFormComponent {
2313
2280
  set datasource(ds) {
2314
- if (ds && ds.execute && ds.execute(i1.DataSource.Operation.IS_BOUND_TO_LOCALE)) {
2315
- this.datavalue = ds.execute(i1.DataSource.Operation.GET_DEFAULT_LOCALE);
2281
+ if (ds && ds.execute && ds.execute(i1$2.DataSource.Operation.IS_BOUND_TO_LOCALE)) {
2282
+ this.datavalue = ds.execute(i1$2.DataSource.Operation.GET_DEFAULT_LOCALE);
2316
2283
  }
2317
2284
  }
2318
- constructor(inj, _viewParent) {
2319
- super(inj, WIDGET_CONFIG$7, _viewParent);
2320
- this._viewParent = _viewParent;
2285
+ constructor(inj) {
2286
+ super(inj, WIDGET_CONFIG$7);
2321
2287
  this.acceptsArray = true;
2322
2288
  }
2323
2289
  ngAfterViewInit() {
2324
2290
  super.ngAfterViewInit();
2325
- i3.styler(this.selectEl.nativeElement, this);
2291
+ i2.styler(this.selectEl.nativeElement, this);
2326
2292
  }
2327
2293
  // Change event is registered from the template, Prevent the framework from registering one more event
2328
2294
  handleEvent(node, eventName, eventCallback, locals) {
@@ -2354,7 +2320,7 @@
2354
2320
  return;
2355
2321
  }
2356
2322
  else if (key === 'readonly') {
2357
- (nv === true) ? i1.setAttr(this.selectEl.nativeElement, 'readonly', 'readonly') : i1.removeAttr(this.selectEl.nativeElement, 'readonly');
2323
+ (nv === true) ? i1$2.setAttr(this.selectEl.nativeElement, 'readonly', 'readonly') : i1$2.removeAttr(this.selectEl.nativeElement, 'readonly');
2358
2324
  }
2359
2325
  super.onPropertyChange(key, nv, ov);
2360
2326
  }
@@ -2378,7 +2344,7 @@
2378
2344
  }
2379
2345
  }
2380
2346
  SelectComponent.initializeProps = registerProps$7();
2381
- SelectComponent.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2347
+ SelectComponent.ɵfac = function SelectComponent_Factory(t) { return new (t || SelectComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2382
2348
  SelectComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SelectComponent, selectors: [["wm-select"]], viewQuery: function SelectComponent_Query(rf, ctx) {
2383
2349
  if (rf & 1) {
2384
2350
  i0__namespace.ɵɵviewQuery(_c0$7, 7, i0.ElementRef);
@@ -2388,9 +2354,9 @@
2388
2354
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.selectEl = _t.first);
2389
2355
  }
2390
2356
  }, features: [i0__namespace.ɵɵProvidersFeature([
2391
- i3.provideAs(SelectComponent, i3$1.NG_VALUE_ACCESSOR, true),
2392
- i3.provideAs(SelectComponent, i3$1.NG_VALIDATORS, true),
2393
- i3.provideAsWidgetRef(SelectComponent)
2357
+ i2.provideAs(SelectComponent, i1$1.NG_VALUE_ACCESSOR, true),
2358
+ i2.provideAs(SelectComponent, i1$1.NG_VALIDATORS, true),
2359
+ i2.provideAsWidgetRef(SelectComponent)
2394
2360
  ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars: 16, consts: [["role", "listbox", "aria-haspopup", "true", "aria-expanded", "false", "focus-target", "", 3, "ngClass", "disabled", "required", "tabindex", "ngModel", "multiple", "autofocus", "ngModelChange", "change", "focus", "blur"], ["select", ""], ["selected", "", "value", "undefined", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], ["role", "option", 3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], ["role", "option", 3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) {
2395
2361
  if (rf & 1) {
2396
2362
  i0__namespace.ɵɵelementStart(0, "select", 0, 1);
@@ -2410,47 +2376,43 @@
2410
2376
  i0__namespace.ɵɵadvance(1);
2411
2377
  i0__namespace.ɵɵproperty("ngIf", !ctx.groupby);
2412
2378
  }
2413
- }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3$1__namespace.NgSelectOption, i3$1__namespace.ɵNgSelectMultipleOption, i3$1__namespace.SelectMultipleControlValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.NgModel, i3__namespace.TextContentDirective], encapsulation: 2 });
2379
+ }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i1$1__namespace.NgSelectOption, i1$1__namespace.ɵNgSelectMultipleOption, i1$1__namespace.SelectMultipleControlValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 });
2414
2380
  (function () {
2415
2381
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectComponent, [{
2416
2382
  type: i0.Component,
2417
2383
  args: [{ selector: 'wm-select', providers: [
2418
- i3.provideAs(SelectComponent, i3$1.NG_VALUE_ACCESSOR, true),
2419
- i3.provideAs(SelectComponent, i3$1.NG_VALIDATORS, true),
2420
- i3.provideAsWidgetRef(SelectComponent)
2384
+ i2.provideAs(SelectComponent, i1$1.NG_VALUE_ACCESSOR, true),
2385
+ i2.provideAs(SelectComponent, i1$1.NG_VALIDATORS, true),
2386
+ i2.provideAsWidgetRef(SelectComponent)
2421
2387
  ], template: "<select role=\"listbox\" aria-haspopup=\"true\" aria-expanded=\"false\" #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [(ngModel)]=\"modelByKey\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (focus)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [attr.aria-multiselectable]=\"multiple\"\n [autofocus]=\"autofocus\"\n>\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </optgroup>\n </ng-container>\n\n <ng-container *ngIf=\"!groupby\">\n <option *ngFor=\"let item of datasetItems\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n role=\"option\"></option>\n </ng-container>\n</select>\n" }]
2422
- }], function () {
2423
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2424
- type: i0.Optional
2425
- }] }];
2426
- }, { selectEl: [{
2388
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { selectEl: [{
2427
2389
  type: i0.ViewChild,
2428
2390
  args: ['select', { static: true, read: i0.ElementRef }]
2429
2391
  }] });
2430
2392
  })();
2431
2393
 
2432
2394
  const switchProps = new Map([
2433
- ['class', i3.PROP_STRING],
2434
- ['compareby', i3.PROP_STRING],
2435
- ['datafield', i3.PROP_STRING],
2436
- ['dataset', Object.assign({ value: 'yes, no, maybe' }, i3.PROP_ANY)],
2437
- ['datavaluesource', i3.PROP_ANY],
2438
- ['datavalue', i3.PROP_STRING],
2439
- ['disabled', i3.PROP_BOOLEAN],
2440
- ['displayexpression', i3.PROP_STRING],
2441
- ['displayfield', i3.PROP_STRING],
2442
- ['hint', i3.PROP_STRING],
2443
- ['iconclass', i3.PROP_STRING],
2444
- ['name', i3.PROP_STRING],
2445
- ['orderby', i3.PROP_STRING],
2446
- ['required', i3.PROP_BOOLEAN],
2447
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2448
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)]
2395
+ ['class', i2.PROP_STRING],
2396
+ ['compareby', i2.PROP_STRING],
2397
+ ['datafield', i2.PROP_STRING],
2398
+ ['dataset', Object.assign({ value: 'yes, no, maybe' }, i2.PROP_ANY)],
2399
+ ['datavaluesource', i2.PROP_ANY],
2400
+ ['datavalue', i2.PROP_STRING],
2401
+ ['disabled', i2.PROP_BOOLEAN],
2402
+ ['displayexpression', i2.PROP_STRING],
2403
+ ['displayfield', i2.PROP_STRING],
2404
+ ['hint', i2.PROP_STRING],
2405
+ ['iconclass', i2.PROP_STRING],
2406
+ ['name', i2.PROP_STRING],
2407
+ ['orderby', i2.PROP_STRING],
2408
+ ['required', i2.PROP_BOOLEAN],
2409
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2410
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)]
2449
2411
  ]);
2450
2412
  const registerProps$6 = () => {
2451
- i3.register('wm-switch', switchProps);
2452
- i3.registerFormWidget(i1.FormWidgetType.SWITCH, new Map(switchProps));
2453
- i3.registerFormWidget(i1.FormWidgetType.TOGGLE, new Map(switchProps));
2413
+ i2.register('wm-switch', switchProps);
2414
+ i2.registerFormWidget(i1$2.FormWidgetType.SWITCH, new Map(switchProps));
2415
+ i2.registerFormWidget(i1$2.FormWidgetType.TOGGLE, new Map(switchProps));
2454
2416
  };
2455
2417
 
2456
2418
  const _c0$6 = ["wmSwitch", ""];
@@ -2497,16 +2459,15 @@
2497
2459
  const DEFAULT_CLS = 'app-switch';
2498
2460
  const WIDGET_CONFIG$6 = { widgetType: 'wm-switch', hostClass: DEFAULT_CLS };
2499
2461
  class SwitchComponent extends DatasetAwareFormComponent {
2500
- constructor(inj, _viewParent) {
2501
- super(inj, WIDGET_CONFIG$6, _viewParent);
2502
- this._viewParent = _viewParent;
2462
+ constructor(inj) {
2463
+ super(inj, WIDGET_CONFIG$6);
2503
2464
  this.options = [];
2504
- this._debounceSetSelectedValue = i1.debounce((val) => {
2465
+ this._debounceSetSelectedValue = i1$2.debounce((val) => {
2505
2466
  this.setSelectedValue();
2506
2467
  this.updateHighlighter(val);
2507
2468
  // only for default value trigger app digest to apply the selectedItem
2508
2469
  if (val) {
2509
- i1.$appDigest();
2470
+ i1$2.$appDigest();
2510
2471
  }
2511
2472
  }, 200);
2512
2473
  const datasetSubscription = this.dataset$.subscribe(() => this.updateSwitchOptions());
@@ -2518,11 +2479,11 @@
2518
2479
  }
2519
2480
  ngAfterViewInit() {
2520
2481
  super.ngAfterViewInit();
2521
- i3.styler(this.nativeElement, this);
2482
+ i2.styler(this.nativeElement, this);
2522
2483
  }
2523
2484
  onStyleChange(key, nv, ov) {
2524
2485
  if (key === 'height') {
2525
- i1.setCSS(this.nativeElement, 'overflow', nv ? 'auto' : '');
2486
+ i1$2.setCSS(this.nativeElement, 'overflow', nv ? 'auto' : '');
2526
2487
  }
2527
2488
  else {
2528
2489
  super.onStyleChange(key, nv, ov);
@@ -2530,7 +2491,7 @@
2530
2491
  }
2531
2492
  // This function sets the selectedItem by either using compareby fields or selected flag on datasetItems.
2532
2493
  setSelectedValue() {
2533
- if (i1.isDefined(this.datavalue) || i1.isDefined(this.toBeProcessedDatavalue)) {
2494
+ if (i1$2.isDefined(this.datavalue) || i1$2.isDefined(this.toBeProcessedDatavalue)) {
2534
2495
  this.selectedItem = _.find(this.datasetItems, { selected: true });
2535
2496
  return;
2536
2497
  }
@@ -2542,7 +2503,7 @@
2542
2503
  updateSwitchOptions() {
2543
2504
  if (this.datasetItems.length) {
2544
2505
  this.btnwidth = (100 / this.datasetItems.length);
2545
- i1.setCSS(this.nativeElement.querySelector('.app-switch-overlay'), 'width', this.btnwidth + '%');
2506
+ i1$2.setCSS(this.nativeElement.querySelector('.app-switch-overlay'), 'width', this.btnwidth + '%');
2546
2507
  }
2547
2508
  this._debounceSetSelectedValue(true);
2548
2509
  }
@@ -2592,10 +2553,10 @@
2592
2553
  this.updateHighlighter();
2593
2554
  // invoke on datavalue change.
2594
2555
  this.invokeOnChange(this.datavalue, $event || {}, true);
2595
- i1.$appDigest();
2556
+ i1$2.$appDigest();
2596
2557
  }
2597
2558
  onPropertyChange(key, nv, ov) {
2598
- if (key === 'disabled' && !i1.toBoolean(nv)) {
2559
+ if (key === 'disabled' && !i1$2.toBoolean(nv)) {
2599
2560
  this.nativeElement.removeAttribute(key);
2600
2561
  }
2601
2562
  else {
@@ -2604,10 +2565,10 @@
2604
2565
  }
2605
2566
  }
2606
2567
  SwitchComponent.initializeProps = registerProps$6();
2607
- SwitchComponent.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2568
+ SwitchComponent.ɵfac = function SwitchComponent_Factory(t) { return new (t || SwitchComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2608
2569
  SwitchComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0__namespace.ɵɵProvidersFeature([
2609
- i3.provideAs(SwitchComponent, i3$1.NG_VALUE_ACCESSOR, true),
2610
- i3.provideAsWidgetRef(SwitchComponent)
2570
+ i2.provideAs(SwitchComponent, i1$1.NG_VALUE_ACCESSOR, true),
2571
+ i2.provideAsWidgetRef(SwitchComponent)
2611
2572
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 6, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", 3, "name", "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "class", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", 1, "btn", "btn-default", 3, "name", "ngClass", "click"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"]], template: function SwitchComponent_Template(rf, ctx) {
2612
2573
  if (rf & 1) {
2613
2574
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -2631,45 +2592,41 @@
2631
2592
  i0__namespace.ɵɵadvance(1);
2632
2593
  i0__namespace.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
2633
2594
  }
2634
- }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i3__namespace.TextContentDirective], encapsulation: 2 });
2595
+ }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.TextContentDirective], encapsulation: 2 });
2635
2596
  (function () {
2636
2597
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SwitchComponent, [{
2637
2598
  type: i0.Component,
2638
2599
  args: [{ selector: '[wmSwitch]', providers: [
2639
- i3.provideAs(SwitchComponent, i3$1.NG_VALUE_ACCESSOR, true),
2640
- i3.provideAsWidgetRef(SwitchComponent)
2600
+ i2.provideAs(SwitchComponent, i1$1.NG_VALUE_ACCESSOR, true),
2601
+ i2.provideAsWidgetRef(SwitchComponent)
2641
2602
  ], exportAs: 'wmSwitch', template: "<div role=\"group\" class=\"btn-group btn-group-justified\">\n <a *ngFor=\"let opt of datasetItems; let $index = index;\"\n focus-target\n href=\"javascript:void(0);\"\n class=\"btn btn-default\"\n [name]=\"'wm-switch-' + opt.key\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n (click)=\"selectOpt($event, $index, opt)\"\n >\n <i *ngIf=\"opt.dataObject && opt.dataObject[iconclass]\" aria-hidden=\"true\" [ngClass]=\"['app-icon', opt.dataObject[iconclass] || opt['icon']]\"></i>\n <span class=\"caption\" [textContent]=\"opt[displayfield] || opt.label\"></span>\n </a>\n</div>\n<span [title]=\"selectedItem ? selectedItem.label : modelByKey\"\n class=\"btn btn-primary app-switch-overlay switch-handle\">\n <i *ngIf=\"iconclass\"\n class=\"app-icon {{(selectedItem && selectedItem.dataObject) && selectedItem.dataObject[iconclass]}}\"></i>\n {{selectedItem ? selectedItem.label : modelByKey}}\n</span>\n<input [name]=\"name\" class=\"model-holder ng-hide\" [disabled]=\"disabled\" [value]=\"modelByKey\" [required]=\"required\" aria-hidden=\"true\">\n" }]
2642
- }], function () {
2643
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2644
- type: i0.Optional
2645
- }] }];
2646
- }, null);
2603
+ }], function () { return [{ type: i0__namespace.Injector }]; }, null);
2647
2604
  })();
2648
2605
 
2649
2606
  const inputCalendarTypeProps = new Map([
2650
- ['autocomplete', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2651
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2652
- ['autofocus', i3.PROP_BOOLEAN],
2653
- ['class', i3.PROP_STRING],
2654
- ['datasource', i3.PROP_ANY],
2655
- ['datavalue', i3.PROP_STRING],
2656
- ['disabled', i3.PROP_BOOLEAN],
2657
- ['hint', i3.PROP_STRING],
2658
- ['maxvalue', i3.PROP_NUMBER],
2659
- ['minvalue', i3.PROP_NUMBER],
2660
- ['name', i3.PROP_STRING],
2661
- ['placeholder', Object.assign({ value: 'Enter text' }, i3.PROP_STRING)],
2662
- ['readonly', i3.PROP_BOOLEAN],
2663
- ['required', i3.PROP_BOOLEAN],
2664
- ['shortcutkey', i3.PROP_STRING],
2665
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2666
- ['step', i3.PROP_NUMBER],
2667
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
2668
- ['type', i3.PROP_STRING],
2669
- ['updateon', i3.PROP_STRING]
2607
+ ['autocomplete', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2608
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2609
+ ['autofocus', i2.PROP_BOOLEAN],
2610
+ ['class', i2.PROP_STRING],
2611
+ ['datasource', i2.PROP_ANY],
2612
+ ['datavalue', i2.PROP_STRING],
2613
+ ['disabled', i2.PROP_BOOLEAN],
2614
+ ['hint', i2.PROP_STRING],
2615
+ ['maxvalue', i2.PROP_NUMBER],
2616
+ ['minvalue', i2.PROP_NUMBER],
2617
+ ['name', i2.PROP_STRING],
2618
+ ['placeholder', Object.assign({ value: 'Enter text' }, i2.PROP_STRING)],
2619
+ ['readonly', i2.PROP_BOOLEAN],
2620
+ ['required', i2.PROP_BOOLEAN],
2621
+ ['shortcutkey', i2.PROP_STRING],
2622
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2623
+ ['step', i2.PROP_NUMBER],
2624
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2625
+ ['type', i2.PROP_STRING],
2626
+ ['updateon', i2.PROP_STRING]
2670
2627
  ]);
2671
2628
  const registerProps$5 = () => {
2672
- i3.register('wm-input-calendar', inputCalendarTypeProps);
2629
+ i2.register('wm-input-calendar', inputCalendarTypeProps);
2673
2630
  };
2674
2631
 
2675
2632
  const _c0$5 = ["input"];
@@ -2679,17 +2636,16 @@
2679
2636
  hostClass: 'app-input-wrapper'
2680
2637
  };
2681
2638
  class InputCalendarComponent extends BaseInput {
2682
- constructor(inj, _viewParent) {
2683
- super(inj, WIDGET_CONFIG$5, _viewParent);
2684
- this._viewParent = _viewParent;
2639
+ constructor(inj) {
2640
+ super(inj, WIDGET_CONFIG$5);
2685
2641
  }
2686
2642
  }
2687
2643
  InputCalendarComponent.initializeProps = registerProps$5();
2688
- InputCalendarComponent.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2644
+ InputCalendarComponent.ɵfac = function InputCalendarComponent_Factory(t) { return new (t || InputCalendarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2689
2645
  InputCalendarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputCalendarComponent, selectors: [["wm-input", "type", "date"], ["wm-input", "type", "datetime-local"], ["wm-input", "type", "month"], ["wm-input", "type", "time"], ["wm-input", "type", "week"]], viewQuery: function InputCalendarComponent_Query(rf, ctx) {
2690
2646
  if (rf & 1) {
2691
2647
  i0__namespace.ɵɵviewQuery(_c0$5, 7);
2692
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
2648
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
2693
2649
  }
2694
2650
  if (rf & 2) {
2695
2651
  let _t;
@@ -2697,9 +2653,9 @@
2697
2653
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
2698
2654
  }
2699
2655
  }, features: [i0__namespace.ɵɵProvidersFeature([
2700
- i3.provideAs(InputCalendarComponent, i3$1.NG_VALUE_ACCESSOR, true),
2701
- i3.provideAs(InputCalendarComponent, i3$1.NG_VALIDATORS, true),
2702
- i3.provideAsWidgetRef(InputCalendarComponent)
2656
+ i2.provideAs(InputCalendarComponent, i1$1.NG_VALUE_ACCESSOR, true),
2657
+ i2.provideAs(InputCalendarComponent, i1$1.NG_VALIDATORS, true),
2658
+ i2.provideAsWidgetRef(InputCalendarComponent)
2703
2659
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$4, decls: 2, vars: 15, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "min", "max", "step", "autofocus", "autocomplete", "ngModelChange", "blur"], ["input", ""]], template: function InputCalendarComponent_Template(rf, ctx) {
2704
2660
  if (rf & 1) {
2705
2661
  i0__namespace.ɵɵelementStart(0, "input", 0, 1);
@@ -2710,49 +2666,45 @@
2710
2666
  i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
2711
2667
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint || ctx.type + " field");
2712
2668
  }
2713
- }, dependencies: [i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.NgModel], encapsulation: 2 });
2669
+ }, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.NgModel], encapsulation: 2 });
2714
2670
  (function () {
2715
2671
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputCalendarComponent, [{
2716
2672
  type: i0.Component,
2717
2673
  args: [{ selector: 'wm-input[type="date"], wm-input[type="datetime-local"], wm-input[type="month"], wm-input[type="time"], wm-input[type="week"]', providers: [
2718
- i3.provideAs(InputCalendarComponent, i3$1.NG_VALUE_ACCESSOR, true),
2719
- i3.provideAs(InputCalendarComponent, i3$1.NG_VALIDATORS, true),
2720
- i3.provideAsWidgetRef(InputCalendarComponent)
2674
+ i2.provideAs(InputCalendarComponent, i1$1.NG_VALUE_ACCESSOR, true),
2675
+ i2.provideAs(InputCalendarComponent, i1$1.NG_VALIDATORS, true),
2676
+ i2.provideAsWidgetRef(InputCalendarComponent)
2721
2677
  ], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint || type + ' field'\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n #input>\n" }]
2722
- }], function () {
2723
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2724
- type: i0.Optional
2725
- }] }];
2726
- }, { inputEl: [{
2678
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
2727
2679
  type: i0.ViewChild,
2728
2680
  args: ['input', { static: true }]
2729
2681
  }], ngModel: [{
2730
2682
  type: i0.ViewChild,
2731
- args: [i3$1.NgModel]
2683
+ args: [i1$1.NgModel]
2732
2684
  }] });
2733
2685
  })();
2734
2686
 
2735
2687
  const inputColorTypeProps = new Map([
2736
- ['autocomplete', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2737
- ['autofocus', i3.PROP_BOOLEAN],
2738
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2739
- ['class', i3.PROP_STRING],
2740
- ['datavaluesource', i3.PROP_ANY],
2741
- ['datavalue', i3.PROP_STRING],
2742
- ['disabled', i3.PROP_BOOLEAN],
2743
- ['hint', i3.PROP_STRING],
2744
- ['name', i3.PROP_STRING],
2745
- ['placeholder', Object.assign({ value: 'Enter text' }, i3.PROP_STRING)],
2746
- ['readonly', i3.PROP_BOOLEAN],
2747
- ['required', i3.PROP_BOOLEAN],
2748
- ['shortcutkey', i3.PROP_STRING],
2749
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2750
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
2751
- ['type', Object.assign({ value: 'color' }, i3.PROP_STRING)],
2752
- ['updateon', i3.PROP_STRING]
2688
+ ['autocomplete', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2689
+ ['autofocus', i2.PROP_BOOLEAN],
2690
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2691
+ ['class', i2.PROP_STRING],
2692
+ ['datavaluesource', i2.PROP_ANY],
2693
+ ['datavalue', i2.PROP_STRING],
2694
+ ['disabled', i2.PROP_BOOLEAN],
2695
+ ['hint', i2.PROP_STRING],
2696
+ ['name', i2.PROP_STRING],
2697
+ ['placeholder', Object.assign({ value: 'Enter text' }, i2.PROP_STRING)],
2698
+ ['readonly', i2.PROP_BOOLEAN],
2699
+ ['required', i2.PROP_BOOLEAN],
2700
+ ['shortcutkey', i2.PROP_STRING],
2701
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2702
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2703
+ ['type', Object.assign({ value: 'color' }, i2.PROP_STRING)],
2704
+ ['updateon', i2.PROP_STRING]
2753
2705
  ]);
2754
2706
  const registerProps$4 = () => {
2755
- i3.register('wm-input-color', inputColorTypeProps);
2707
+ i2.register('wm-input-color', inputColorTypeProps);
2756
2708
  };
2757
2709
 
2758
2710
  const _c0$4 = ["input"];
@@ -2762,17 +2714,16 @@
2762
2714
  hostClass: 'app-input-wrapper'
2763
2715
  };
2764
2716
  class InputColorComponent extends BaseInput {
2765
- constructor(inj, _viewParent) {
2766
- super(inj, WIDGET_CONFIG$4, _viewParent);
2767
- this._viewParent = _viewParent;
2717
+ constructor(inj) {
2718
+ super(inj, WIDGET_CONFIG$4);
2768
2719
  }
2769
2720
  }
2770
2721
  InputColorComponent.initializeProps = registerProps$4();
2771
- InputColorComponent.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2722
+ InputColorComponent.ɵfac = function InputColorComponent_Factory(t) { return new (t || InputColorComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2772
2723
  InputColorComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputColorComponent, selectors: [["wm-input", "type", "color"]], viewQuery: function InputColorComponent_Query(rf, ctx) {
2773
2724
  if (rf & 1) {
2774
2725
  i0__namespace.ɵɵviewQuery(_c0$4, 7);
2775
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
2726
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
2776
2727
  }
2777
2728
  if (rf & 2) {
2778
2729
  let _t;
@@ -2780,9 +2731,9 @@
2780
2731
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
2781
2732
  }
2782
2733
  }, features: [i0__namespace.ɵɵProvidersFeature([
2783
- i3.provideAs(InputColorComponent, i3$1.NG_VALUE_ACCESSOR, true),
2784
- i3.provideAs(InputColorComponent, i3$1.NG_VALIDATORS, true),
2785
- i3.provideAsWidgetRef(InputColorComponent)
2734
+ i2.provideAs(InputColorComponent, i1$1.NG_VALUE_ACCESSOR, true),
2735
+ i2.provideAs(InputColorComponent, i1$1.NG_VALIDATORS, true),
2736
+ i2.provideAsWidgetRef(InputColorComponent)
2786
2737
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$3, decls: 2, vars: 12, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "readonly", "required", "disabled", "maxlength", "autofocus", "ngModelChange", "blur"], ["input", ""]], template: function InputColorComponent_Template(rf, ctx) {
2787
2738
  if (rf & 1) {
2788
2739
  i0__namespace.ɵɵelementStart(0, "input", 0, 1);
@@ -2793,51 +2744,47 @@
2793
2744
  i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus);
2794
2745
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2795
2746
  }
2796
- }, dependencies: [i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.MaxLengthValidator, i3$1__namespace.NgModel], encapsulation: 2 });
2747
+ }, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
2797
2748
  (function () {
2798
2749
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputColorComponent, [{
2799
2750
  type: i0.Component,
2800
2751
  args: [{ selector: 'wm-input[type="color"]', providers: [
2801
- i3.provideAs(InputColorComponent, i3$1.NG_VALUE_ACCESSOR, true),
2802
- i3.provideAs(InputColorComponent, i3$1.NG_VALIDATORS, true),
2803
- i3.provideAsWidgetRef(InputColorComponent)
2752
+ i2.provideAs(InputColorComponent, i1$1.NG_VALUE_ACCESSOR, true),
2753
+ i2.provideAs(InputColorComponent, i1$1.NG_VALIDATORS, true),
2754
+ i2.provideAsWidgetRef(InputColorComponent)
2804
2755
  ], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n #input>\n" }]
2805
- }], function () {
2806
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2807
- type: i0.Optional
2808
- }] }];
2809
- }, { inputEl: [{
2756
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
2810
2757
  type: i0.ViewChild,
2811
2758
  args: ['input', { static: true }]
2812
2759
  }], ngModel: [{
2813
2760
  type: i0.ViewChild,
2814
- args: [i3$1.NgModel]
2761
+ args: [i1$1.NgModel]
2815
2762
  }] });
2816
2763
  })();
2817
2764
 
2818
2765
  const inputEmailTypeProps = new Map([
2819
- ['autocomplete', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2820
- ['autofocus', i3.PROP_BOOLEAN],
2821
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2822
- ['class', i3.PROP_STRING],
2823
- ['datavaluesource', i3.PROP_ANY],
2824
- ['datavalue', i3.PROP_STRING],
2825
- ['disabled', i3.PROP_BOOLEAN],
2826
- ['hint', i3.PROP_STRING],
2827
- ['maxchars', i3.PROP_NUMBER],
2828
- ['name', i3.PROP_STRING],
2829
- ['placeholder', Object.assign({ value: 'Enter text' }, i3.PROP_STRING)],
2830
- ['readonly', i3.PROP_BOOLEAN],
2831
- ['regexp', i3.PROP_STRING],
2832
- ['required', i3.PROP_BOOLEAN],
2833
- ['shortcutkey', i3.PROP_STRING],
2834
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2835
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
2836
- ['type', Object.assign({ value: 'email' }, i3.PROP_STRING)],
2837
- ['updateon', i3.PROP_STRING]
2766
+ ['autocomplete', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2767
+ ['autofocus', i2.PROP_BOOLEAN],
2768
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2769
+ ['class', i2.PROP_STRING],
2770
+ ['datavaluesource', i2.PROP_ANY],
2771
+ ['datavalue', i2.PROP_STRING],
2772
+ ['disabled', i2.PROP_BOOLEAN],
2773
+ ['hint', i2.PROP_STRING],
2774
+ ['maxchars', i2.PROP_NUMBER],
2775
+ ['name', i2.PROP_STRING],
2776
+ ['placeholder', Object.assign({ value: 'Enter text' }, i2.PROP_STRING)],
2777
+ ['readonly', i2.PROP_BOOLEAN],
2778
+ ['regexp', i2.PROP_STRING],
2779
+ ['required', i2.PROP_BOOLEAN],
2780
+ ['shortcutkey', i2.PROP_STRING],
2781
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2782
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2783
+ ['type', Object.assign({ value: 'email' }, i2.PROP_STRING)],
2784
+ ['updateon', i2.PROP_STRING]
2838
2785
  ]);
2839
2786
  const registerProps$3 = () => {
2840
- i3.register('wm-input-email', inputEmailTypeProps);
2787
+ i2.register('wm-input-email', inputEmailTypeProps);
2841
2788
  };
2842
2789
 
2843
2790
  const _c0$3 = ["input"];
@@ -2847,17 +2794,16 @@
2847
2794
  hostClass: 'app-input-wrapper'
2848
2795
  };
2849
2796
  class InputEmailComponent extends BaseInput {
2850
- constructor(inj, _viewParent) {
2851
- super(inj, WIDGET_CONFIG$3, _viewParent);
2852
- this._viewParent = _viewParent;
2797
+ constructor(inj) {
2798
+ super(inj, WIDGET_CONFIG$3);
2853
2799
  }
2854
2800
  }
2855
2801
  InputEmailComponent.initializeProps = registerProps$3();
2856
- InputEmailComponent.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2802
+ InputEmailComponent.ɵfac = function InputEmailComponent_Factory(t) { return new (t || InputEmailComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2857
2803
  InputEmailComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputEmailComponent, selectors: [["wm-input", "type", "email"]], viewQuery: function InputEmailComponent_Query(rf, ctx) {
2858
2804
  if (rf & 1) {
2859
2805
  i0__namespace.ɵɵviewQuery(_c0$3, 7);
2860
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
2806
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
2861
2807
  }
2862
2808
  if (rf & 2) {
2863
2809
  let _t;
@@ -2865,9 +2811,9 @@
2865
2811
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
2866
2812
  }
2867
2813
  }, features: [i0__namespace.ɵɵProvidersFeature([
2868
- i3.provideAs(InputEmailComponent, i3$1.NG_VALUE_ACCESSOR, true),
2869
- i3.provideAs(InputEmailComponent, i3$1.NG_VALIDATORS, true),
2870
- i3.provideAsWidgetRef(InputEmailComponent)
2814
+ i2.provideAs(InputEmailComponent, i1$1.NG_VALUE_ACCESSOR, true),
2815
+ i2.provideAs(InputEmailComponent, i1$1.NG_VALIDATORS, true),
2816
+ i2.provideAsWidgetRef(InputEmailComponent)
2871
2817
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$2, decls: 2, vars: 15, consts: [["focus-target", "", "role", "textbox", "email", "", 1, "form-control", "app-textbox", 3, "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "autocomplete", "ngModelChange", "blur", "keyup.enter"], ["input", ""]], template: function InputEmailComponent_Template(rf, ctx) {
2872
2818
  if (rf & 1) {
2873
2819
  const _r1 = i0__namespace.ɵɵgetCurrentView();
@@ -2879,54 +2825,50 @@
2879
2825
  i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
2880
2826
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2881
2827
  }
2882
- }, dependencies: [i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.MaxLengthValidator, i3$1__namespace.PatternValidator, i3$1__namespace.EmailValidator, i3$1__namespace.NgModel], encapsulation: 2 });
2828
+ }, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.PatternValidator, i1$1__namespace.EmailValidator, i1$1__namespace.NgModel], encapsulation: 2 });
2883
2829
  (function () {
2884
2830
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputEmailComponent, [{
2885
2831
  type: i0.Component,
2886
2832
  args: [{ selector: 'wm-input[type="email"]', providers: [
2887
- i3.provideAs(InputEmailComponent, i3$1.NG_VALUE_ACCESSOR, true),
2888
- i3.provideAs(InputEmailComponent, i3$1.NG_VALIDATORS, true),
2889
- i3.provideAsWidgetRef(InputEmailComponent)
2833
+ i2.provideAs(InputEmailComponent, i1$1.NG_VALUE_ACCESSOR, true),
2834
+ i2.provideAs(InputEmailComponent, i1$1.NG_VALIDATORS, true),
2835
+ i2.provideAsWidgetRef(InputEmailComponent)
2890
2836
  ], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n email\n #input>\n" }]
2891
- }], function () {
2892
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2893
- type: i0.Optional
2894
- }] }];
2895
- }, { inputEl: [{
2837
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
2896
2838
  type: i0.ViewChild,
2897
2839
  args: ['input', { static: true }]
2898
2840
  }], ngModel: [{
2899
2841
  type: i0.ViewChild,
2900
- args: [i3$1.NgModel]
2842
+ args: [i1$1.NgModel]
2901
2843
  }] });
2902
2844
  })();
2903
2845
 
2904
2846
  const inputNumberTypeProps = new Map([
2905
- ['autocomplete', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2906
- ['autofocus', i3.PROP_BOOLEAN],
2907
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2908
- ['class', i3.PROP_STRING],
2909
- ['datavaluesource', i3.PROP_ANY],
2910
- ['datavalue', i3.PROP_STRING],
2911
- ['disabled', i3.PROP_BOOLEAN],
2912
- ['hint', i3.PROP_STRING],
2913
- ['maxchars', i3.PROP_NUMBER],
2914
- ['maxvalue', i3.PROP_NUMBER],
2915
- ['minvalue', i3.PROP_NUMBER],
2916
- ['name', i3.PROP_STRING],
2917
- ['placeholder', Object.assign({ value: 'Enter text' }, i3.PROP_STRING)],
2918
- ['readonly', i3.PROP_BOOLEAN],
2919
- ['regexp', i3.PROP_STRING],
2920
- ['required', i3.PROP_BOOLEAN],
2921
- ['shortcutkey', i3.PROP_STRING],
2922
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
2923
- ['step', i3.PROP_NUMBER],
2924
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
2925
- ['type', Object.assign({ value: 'number' }, i3.PROP_STRING)],
2926
- ['updateon', i3.PROP_STRING]
2847
+ ['autocomplete', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2848
+ ['autofocus', i2.PROP_BOOLEAN],
2849
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2850
+ ['class', i2.PROP_STRING],
2851
+ ['datavaluesource', i2.PROP_ANY],
2852
+ ['datavalue', i2.PROP_STRING],
2853
+ ['disabled', i2.PROP_BOOLEAN],
2854
+ ['hint', i2.PROP_STRING],
2855
+ ['maxchars', i2.PROP_NUMBER],
2856
+ ['maxvalue', i2.PROP_NUMBER],
2857
+ ['minvalue', i2.PROP_NUMBER],
2858
+ ['name', i2.PROP_STRING],
2859
+ ['placeholder', Object.assign({ value: 'Enter text' }, i2.PROP_STRING)],
2860
+ ['readonly', i2.PROP_BOOLEAN],
2861
+ ['regexp', i2.PROP_STRING],
2862
+ ['required', i2.PROP_BOOLEAN],
2863
+ ['shortcutkey', i2.PROP_STRING],
2864
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2865
+ ['step', i2.PROP_NUMBER],
2866
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2867
+ ['type', Object.assign({ value: 'number' }, i2.PROP_STRING)],
2868
+ ['updateon', i2.PROP_STRING]
2927
2869
  ]);
2928
2870
  const registerProps$2 = () => {
2929
- i3.register('wm-input-number', inputNumberTypeProps);
2871
+ i2.register('wm-input-number', inputNumberTypeProps);
2930
2872
  };
2931
2873
 
2932
2874
  const _c0$2 = ["input"];
@@ -2937,9 +2879,8 @@
2937
2879
  hostClass: 'app-input-wrapper'
2938
2880
  };
2939
2881
  class InputNumberComponent extends BaseInput {
2940
- constructor(inj, _viewParent) {
2941
- super(inj, WIDGET_CONFIG$2, _viewParent);
2942
- this._viewParent = _viewParent;
2882
+ constructor(inj) {
2883
+ super(inj, WIDGET_CONFIG$2);
2943
2884
  }
2944
2885
  onArrowPress($event) {
2945
2886
  if (this.step === 0) {
@@ -2953,11 +2894,11 @@
2953
2894
  }
2954
2895
  }
2955
2896
  InputNumberComponent.initializeProps = registerProps$2();
2956
- InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
2897
+ InputNumberComponent.ɵfac = function InputNumberComponent_Factory(t) { return new (t || InputNumberComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
2957
2898
  InputNumberComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputNumberComponent, selectors: [["wm-input", "type", "number"]], viewQuery: function InputNumberComponent_Query(rf, ctx) {
2958
2899
  if (rf & 1) {
2959
2900
  i0__namespace.ɵɵviewQuery(_c0$2, 7);
2960
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
2901
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
2961
2902
  }
2962
2903
  if (rf & 2) {
2963
2904
  let _t;
@@ -2965,9 +2906,9 @@
2965
2906
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
2966
2907
  }
2967
2908
  }, features: [i0__namespace.ɵɵProvidersFeature([
2968
- i3.provideAs(InputNumberComponent, i3$1.NG_VALUE_ACCESSOR, true),
2969
- i3.provideAs(InputNumberComponent, i3$1.NG_VALIDATORS, true),
2970
- i3.provideAsWidgetRef(InputNumberComponent)
2909
+ i2.provideAs(InputNumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
2910
+ i2.provideAs(InputNumberComponent, i1$1.NG_VALIDATORS, true),
2911
+ i2.provideAsWidgetRef(InputNumberComponent)
2971
2912
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1$1, decls: 2, vars: 20, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "autocomplete", "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress"], ["input", ""]], template: function InputNumberComponent_Template(rf, ctx) {
2972
2913
  if (rf & 1) {
2973
2914
  const _r1 = i0__namespace.ɵɵgetCurrentView();
@@ -2979,54 +2920,50 @@
2979
2920
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(18, _c2, ctx.step === 0))("type", ctx.type)("ngModel", ctx.datavalue)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
2980
2921
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
2981
2922
  }
2982
- }, dependencies: [i2__namespace.NgClass, i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.MaxLengthValidator, i3$1__namespace.NgModel], encapsulation: 2 });
2923
+ }, dependencies: [i1__namespace.NgClass, i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
2983
2924
  (function () {
2984
2925
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputNumberComponent, [{
2985
2926
  type: i0.Component,
2986
2927
  args: [{ selector: 'wm-input[type="number"]', providers: [
2987
- i3.provideAs(InputNumberComponent, i3$1.NG_VALUE_ACCESSOR, true),
2988
- i3.provideAs(InputNumberComponent, i3$1.NG_VALIDATORS, true),
2989
- i3.provideAsWidgetRef(InputNumberComponent)
2928
+ i2.provideAs(InputNumberComponent, i1$1.NG_VALUE_ACCESSOR, true),
2929
+ i2.provideAs(InputNumberComponent, i1$1.NG_VALIDATORS, true),
2930
+ i2.provideAsWidgetRef(InputNumberComponent)
2990
2931
  ], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
2991
- }], function () {
2992
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
2993
- type: i0.Optional
2994
- }] }];
2995
- }, { inputEl: [{
2932
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
2996
2933
  type: i0.ViewChild,
2997
2934
  args: ['input', { static: true }]
2998
2935
  }], ngModel: [{
2999
2936
  type: i0.ViewChild,
3000
- args: [i3$1.NgModel]
2937
+ args: [i1$1.NgModel]
3001
2938
  }] });
3002
2939
  })();
3003
2940
 
3004
2941
  const inputTextTypeProps = new Map([
3005
- ['autocomplete', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
3006
- ['autofocus', i3.PROP_BOOLEAN],
3007
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
3008
- ['class', i3.PROP_STRING],
3009
- ['datavaluesource', i3.PROP_ANY],
3010
- ['datavalue', i3.PROP_STRING],
3011
- ['disabled', i3.PROP_BOOLEAN],
3012
- ['displayformat', i3.PROP_STRING],
3013
- ['hint', i3.PROP_STRING],
3014
- ['maxchars', i3.PROP_NUMBER],
3015
- ['name', i3.PROP_STRING],
3016
- ['placeholder', Object.assign({ value: 'Enter text' }, i3.PROP_STRING)],
3017
- ['readonly', i3.PROP_BOOLEAN],
3018
- ['regexp', i3.PROP_STRING],
3019
- ['required', i3.PROP_BOOLEAN],
3020
- ['shortcutkey', i3.PROP_STRING],
3021
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
3022
- ['showdisplayformaton', Object.assign({ value: 'always' }, i3.PROP_ANY)],
3023
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
3024
- ['type', Object.assign({ value: 'text' }, i3.PROP_STRING)],
3025
- ['updateon', i3.PROP_STRING]
2942
+ ['autocomplete', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2943
+ ['autofocus', i2.PROP_BOOLEAN],
2944
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2945
+ ['class', i2.PROP_STRING],
2946
+ ['datavaluesource', i2.PROP_ANY],
2947
+ ['datavalue', i2.PROP_STRING],
2948
+ ['disabled', i2.PROP_BOOLEAN],
2949
+ ['displayformat', i2.PROP_STRING],
2950
+ ['hint', i2.PROP_STRING],
2951
+ ['maxchars', i2.PROP_NUMBER],
2952
+ ['name', i2.PROP_STRING],
2953
+ ['placeholder', Object.assign({ value: 'Enter text' }, i2.PROP_STRING)],
2954
+ ['readonly', i2.PROP_BOOLEAN],
2955
+ ['regexp', i2.PROP_STRING],
2956
+ ['required', i2.PROP_BOOLEAN],
2957
+ ['shortcutkey', i2.PROP_STRING],
2958
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
2959
+ ['showdisplayformaton', Object.assign({ value: 'always' }, i2.PROP_ANY)],
2960
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
2961
+ ['type', Object.assign({ value: 'text' }, i2.PROP_STRING)],
2962
+ ['updateon', i2.PROP_STRING]
3026
2963
  ]);
3027
2964
  const registerProps$1 = () => {
3028
- i3.register('wm-input-text', inputTextTypeProps);
3029
- i3.registerFormWidget(i1.FormWidgetType.PASSWORD, new Map(inputTextTypeProps));
2965
+ i2.register('wm-input-text', inputTextTypeProps);
2966
+ i2.registerFormWidget(i1$2.FormWidgetType.PASSWORD, new Map(inputTextTypeProps));
3030
2967
  const formTextProps = new Map(inputTextTypeProps);
3031
2968
  const mergeTextProps = (typeProps) => {
3032
2969
  typeProps.forEach((v, k) => formTextProps.set(k, v));
@@ -3035,7 +2972,7 @@
3035
2972
  mergeTextProps(inputColorTypeProps);
3036
2973
  mergeTextProps(inputEmailTypeProps);
3037
2974
  mergeTextProps(inputNumberTypeProps);
3038
- i3.registerFormWidget(i1.FormWidgetType.TEXT, new Map(formTextProps));
2975
+ i2.registerFormWidget(i1$2.FormWidgetType.TEXT, new Map(formTextProps));
3039
2976
  };
3040
2977
 
3041
2978
  const _c0$1 = ["input"];
@@ -3045,9 +2982,8 @@
3045
2982
  hostClass: 'app-input-wrapper'
3046
2983
  };
3047
2984
  class InputTextComponent extends BaseInput {
3048
- constructor(inj, _viewParent) {
3049
- super(inj, WIDGET_CONFIG$1, _viewParent);
3050
- this._viewParent = _viewParent;
2985
+ constructor(inj) {
2986
+ super(inj, WIDGET_CONFIG$1);
3051
2987
  this.lazy = false;
3052
2988
  }
3053
2989
  /* Define the property change handler. This function will be triggered when there is a change in the widget property */
@@ -3120,12 +3056,12 @@
3120
3056
  }
3121
3057
  }
3122
3058
  InputTextComponent.initializeProps = registerProps$1();
3123
- InputTextComponent.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
3059
+ InputTextComponent.ɵfac = function InputTextComponent_Factory(t) { return new (t || InputTextComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
3124
3060
  InputTextComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: InputTextComponent, selectors: [["wm-input", "type", "text"], ["wm-input", 3, "type", ""], ["wm-input", "type", "password"], ["wm-input", "type", "search"], ["wm-input", "type", "tel"], ["wm-input", "type", "url"]], viewQuery: function InputTextComponent_Query(rf, ctx) {
3125
3061
  if (rf & 1) {
3126
3062
  i0__namespace.ɵɵviewQuery(_c0$1, 7);
3127
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
3128
- i0__namespace.ɵɵviewQuery(_c0$1, 5, i3$2.IMaskDirective);
3063
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
3064
+ i0__namespace.ɵɵviewQuery(_c0$1, 5, i2$1.IMaskDirective);
3129
3065
  }
3130
3066
  if (rf & 2) {
3131
3067
  let _t;
@@ -3134,9 +3070,9 @@
3134
3070
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.imask = _t.first);
3135
3071
  }
3136
3072
  }, features: [i0__namespace.ɵɵProvidersFeature([
3137
- i3.provideAs(InputTextComponent, i3$1.NG_VALUE_ACCESSOR, true),
3138
- i3.provideAs(InputTextComponent, i3$1.NG_VALIDATORS, true),
3139
- i3.provideAsWidgetRef(InputTextComponent)
3073
+ i2.provideAs(InputTextComponent, i1$1.NG_VALUE_ACCESSOR, true),
3074
+ i2.provideAs(InputTextComponent, i1$1.NG_VALIDATORS, true),
3075
+ i2.provideAsWidgetRef(InputTextComponent)
3140
3076
  ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 17, consts: [["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "autocomplete", "ngModelChange", "blur", "focus", "keyup.enter"], ["input", ""]], template: function InputTextComponent_Template(rf, ctx) {
3141
3077
  if (rf & 1) {
3142
3078
  const _r1 = i0__namespace.ɵɵgetCurrentView();
@@ -3148,54 +3084,50 @@
3148
3084
  i0__namespace.ɵɵproperty("type", ctx.type)("ngModel", ctx.datavalue)("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("autocomplete", ctx.autocomplete ? "on" : "off");
3149
3085
  i0__namespace.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
3150
3086
  }
3151
- }, dependencies: [i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.MaxLengthValidator, i3$1__namespace.PatternValidator, i3$1__namespace.NgModel, i3$2__namespace.IMaskDirective], encapsulation: 2 });
3087
+ }, dependencies: [i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.PatternValidator, i1$1__namespace.NgModel, i2$1__namespace.IMaskDirective], encapsulation: 2 });
3152
3088
  (function () {
3153
3089
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputTextComponent, [{
3154
3090
  type: i0.Component,
3155
3091
  args: [{ selector: 'wm-input[type="text"], wm-input:not([type]), wm-input[type="password"], wm-input[type="search"], wm-input[type="tel"], wm-input[type="url"]', providers: [
3156
- i3.provideAs(InputTextComponent, i3$1.NG_VALUE_ACCESSOR, true),
3157
- i3.provideAs(InputTextComponent, i3$1.NG_VALIDATORS, true),
3158
- i3.provideAsWidgetRef(InputTextComponent)
3092
+ i2.provideAs(InputTextComponent, i1$1.NG_VALUE_ACCESSOR, true),
3093
+ i2.provideAs(InputTextComponent, i1$1.NG_VALIDATORS, true),
3094
+ i2.provideAsWidgetRef(InputTextComponent)
3159
3095
  ], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
3160
- }], function () {
3161
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
3162
- type: i0.Optional
3163
- }] }];
3164
- }, { inputEl: [{
3096
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
3165
3097
  type: i0.ViewChild,
3166
3098
  args: ['input', { static: true }]
3167
3099
  }], ngModel: [{
3168
3100
  type: i0.ViewChild,
3169
- args: [i3$1.NgModel]
3101
+ args: [i1$1.NgModel]
3170
3102
  }], imask: [{
3171
3103
  type: i0.ViewChild,
3172
- args: ['input', { read: i3$2.IMaskDirective }]
3104
+ args: ['input', { read: i2$1.IMaskDirective }]
3173
3105
  }] });
3174
3106
  })();
3175
3107
 
3176
3108
  const textareaProps = new Map([
3177
- ['autofocus', i3.PROP_BOOLEAN],
3178
- ['autotrim', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
3179
- ['class', i3.PROP_STRING],
3180
- ['datavaluesource', i3.PROP_ANY],
3181
- ['datavalue', i3.PROP_STRING],
3182
- ['disabled', i3.PROP_BOOLEAN],
3183
- ['hint', i3.PROP_STRING],
3184
- ['maxchars', i3.PROP_NUMBER],
3185
- ['name', i3.PROP_STRING],
3186
- ['placeholder', Object.assign({ value: 'Place your text' }, i3.PROP_STRING)],
3187
- ['readonly', i3.PROP_BOOLEAN],
3188
- ['required', i3.PROP_BOOLEAN],
3189
- ['shortcutkey', i3.PROP_STRING],
3190
- ['show', Object.assign({ value: true }, i3.PROP_BOOLEAN)],
3191
- ['tabindex', Object.assign({ value: 0 }, i3.PROP_NUMBER)],
3192
- ['updateon', i3.PROP_STRING],
3193
- ['limitdisplaytext', i3.PROP_STRING],
3194
- ['charlength', i3.PROP_NUMBER],
3109
+ ['autofocus', i2.PROP_BOOLEAN],
3110
+ ['autotrim', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
3111
+ ['class', i2.PROP_STRING],
3112
+ ['datavaluesource', i2.PROP_ANY],
3113
+ ['datavalue', i2.PROP_STRING],
3114
+ ['disabled', i2.PROP_BOOLEAN],
3115
+ ['hint', i2.PROP_STRING],
3116
+ ['maxchars', i2.PROP_NUMBER],
3117
+ ['name', i2.PROP_STRING],
3118
+ ['placeholder', Object.assign({ value: 'Place your text' }, i2.PROP_STRING)],
3119
+ ['readonly', i2.PROP_BOOLEAN],
3120
+ ['required', i2.PROP_BOOLEAN],
3121
+ ['shortcutkey', i2.PROP_STRING],
3122
+ ['show', Object.assign({ value: true }, i2.PROP_BOOLEAN)],
3123
+ ['tabindex', Object.assign({ value: 0 }, i2.PROP_NUMBER)],
3124
+ ['updateon', i2.PROP_STRING],
3125
+ ['limitdisplaytext', i2.PROP_STRING],
3126
+ ['charlength', i2.PROP_NUMBER],
3195
3127
  ]);
3196
3128
  const registerProps = () => {
3197
- i3.register('wm-textarea', textareaProps);
3198
- i3.registerFormWidget(i1.FormWidgetType.TEXTAREA, new Map(textareaProps));
3129
+ i2.register('wm-textarea', textareaProps);
3130
+ i2.registerFormWidget(i1$2.FormWidgetType.TEXTAREA, new Map(textareaProps));
3199
3131
  };
3200
3132
 
3201
3133
  const _c0 = ["textarea"];
@@ -3216,9 +3148,8 @@
3216
3148
  hostClass: 'app-input-wrapper'
3217
3149
  };
3218
3150
  class TextareaComponent extends BaseInput {
3219
- constructor(inj, _viewParent) {
3220
- super(inj, WIDGET_CONFIG, _viewParent);
3221
- this._viewParent = _viewParent;
3151
+ constructor(inj) {
3152
+ super(inj, WIDGET_CONFIG);
3222
3153
  this.charlength = 0;
3223
3154
  }
3224
3155
  onInputChange() {
@@ -3226,11 +3157,11 @@
3226
3157
  }
3227
3158
  }
3228
3159
  TextareaComponent.initializeProps = registerProps();
3229
- TextareaComponent.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.UserDefinedExecutionContext, 8)); };
3160
+ TextareaComponent.ɵfac = function TextareaComponent_Factory(t) { return new (t || TextareaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector)); };
3230
3161
  TextareaComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: TextareaComponent, selectors: [["wm-textarea"]], viewQuery: function TextareaComponent_Query(rf, ctx) {
3231
3162
  if (rf & 1) {
3232
3163
  i0__namespace.ɵɵviewQuery(_c0, 7);
3233
- i0__namespace.ɵɵviewQuery(i3$1.NgModel, 5);
3164
+ i0__namespace.ɵɵviewQuery(i1$1.NgModel, 5);
3234
3165
  }
3235
3166
  if (rf & 2) {
3236
3167
  let _t;
@@ -3238,9 +3169,9 @@
3238
3169
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.ngModel = _t.first);
3239
3170
  }
3240
3171
  }, features: [i0__namespace.ɵɵProvidersFeature([
3241
- i3.provideAs(TextareaComponent, i3$1.NG_VALUE_ACCESSOR, true),
3242
- i3.provideAs(TextareaComponent, i3$1.NG_VALIDATORS, true),
3243
- i3.provideAsWidgetRef(TextareaComponent)
3172
+ i2.provideAs(TextareaComponent, i1$1.NG_VALUE_ACCESSOR, true),
3173
+ i2.provideAs(TextareaComponent, i1$1.NG_VALIDATORS, true),
3174
+ i2.provideAsWidgetRef(TextareaComponent)
3244
3175
  ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 13, consts: [["focus-target", "", "role", "textbox", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngModelChange", "blur", "input"], ["textarea", ""], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) {
3245
3176
  if (rf & 1) {
3246
3177
  i0__namespace.ɵɵelementStart(0, "textarea", 0, 1);
@@ -3254,25 +3185,21 @@
3254
3185
  i0__namespace.ɵɵadvance(2);
3255
3186
  i0__namespace.ɵɵproperty("ngIf", ctx.maxchars);
3256
3187
  }
3257
- }, dependencies: [i2__namespace.NgIf, i3$1__namespace.DefaultValueAccessor, i3$1__namespace.NgControlStatus, i3$1__namespace.RequiredValidator, i3$1__namespace.MaxLengthValidator, i3$1__namespace.NgModel], encapsulation: 2 });
3188
+ }, dependencies: [i1__namespace.NgIf, i1$1__namespace.DefaultValueAccessor, i1$1__namespace.NgControlStatus, i1$1__namespace.RequiredValidator, i1$1__namespace.MaxLengthValidator, i1$1__namespace.NgModel], encapsulation: 2 });
3258
3189
  (function () {
3259
3190
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextareaComponent, [{
3260
3191
  type: i0.Component,
3261
3192
  args: [{ selector: 'wm-textarea', providers: [
3262
- i3.provideAs(TextareaComponent, i3$1.NG_VALUE_ACCESSOR, true),
3263
- i3.provideAs(TextareaComponent, i3$1.NG_VALIDATORS, true),
3264
- i3.provideAsWidgetRef(TextareaComponent)
3193
+ i2.provideAs(TextareaComponent, i1$1.NG_VALUE_ACCESSOR, true),
3194
+ i2.provideAs(TextareaComponent, i1$1.NG_VALIDATORS, true),
3195
+ i2.provideAsWidgetRef(TextareaComponent)
3265
3196
  ], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n role=\"textbox\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n<div *ngIf=\"maxchars\" class=\"textarea-count\" >{{limitdisplaytext}}</div>\n" }]
3266
- }], function () {
3267
- return [{ type: i0__namespace.Injector }, { type: i1__namespace.UserDefinedExecutionContext, decorators: [{
3268
- type: i0.Optional
3269
- }] }];
3270
- }, { inputEl: [{
3197
+ }], function () { return [{ type: i0__namespace.Injector }]; }, { inputEl: [{
3271
3198
  type: i0.ViewChild,
3272
3199
  args: ['textarea', { static: true }]
3273
3200
  }], ngModel: [{
3274
3201
  type: i0.ViewChild,
3275
- args: [i3$1.NgModel]
3202
+ args: [i1$1.NgModel]
3276
3203
  }] });
3277
3204
  })();
3278
3205
 
@@ -3432,7 +3359,7 @@
3432
3359
  }
3433
3360
  }
3434
3361
  }
3435
- CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App)); };
3362
+ CaptionPositionDirective.ɵfac = function CaptionPositionDirective_Factory(t) { return new (t || CaptionPositionDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1$2__namespace.App)); };
3436
3363
  CaptionPositionDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CaptionPositionDirective, selectors: [["", "captionPosition", ""]] });
3437
3364
  (function () {
3438
3365
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaptionPositionDirective, [{
@@ -3440,7 +3367,7 @@
3440
3367
  args: [{
3441
3368
  selector: '[captionPosition]'
3442
3369
  }]
3443
- }], function () { return [{ type: i0__namespace.Injector }, { type: i1__namespace.App }]; }, null);
3370
+ }], function () { return [{ type: i0__namespace.Injector }, { type: i1$2__namespace.App }]; }, null);
3444
3371
  })();
3445
3372
 
3446
3373
  const components = [
@@ -3465,19 +3392,19 @@
3465
3392
  }
3466
3393
  InputModule.ɵfac = function InputModule_Factory(t) { return new (t || InputModule)(); };
3467
3394
  InputModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: InputModule });
3468
- InputModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i2.CommonModule,
3469
- i3$1.FormsModule,
3470
- i3.WmComponentsModule,
3471
- i3$2.IMaskModule] });
3395
+ InputModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i1.CommonModule,
3396
+ i1$1.FormsModule,
3397
+ i2.WmComponentsModule,
3398
+ i2$1.IMaskModule] });
3472
3399
  (function () {
3473
3400
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(InputModule, [{
3474
3401
  type: i0.NgModule,
3475
3402
  args: [{
3476
3403
  imports: [
3477
- i2.CommonModule,
3478
- i3$1.FormsModule,
3479
- i3.WmComponentsModule,
3480
- i3$2.IMaskModule
3404
+ i1.CommonModule,
3405
+ i1$1.FormsModule,
3406
+ i2.WmComponentsModule,
3407
+ i2$1.IMaskModule
3481
3408
  ],
3482
3409
  declarations: [...components],
3483
3410
  exports: [...components]
@@ -3500,10 +3427,10 @@
3500
3427
  InputEmailComponent,
3501
3428
  InputNumberComponent,
3502
3429
  InputTextComponent,
3503
- TextareaComponent], imports: [i2.CommonModule,
3504
- i3$1.FormsModule,
3505
- i3.WmComponentsModule,
3506
- i3$2.IMaskModule], exports: [ButtonComponent,
3430
+ TextareaComponent], imports: [i1.CommonModule,
3431
+ i1$1.FormsModule,
3432
+ i2.WmComponentsModule,
3433
+ i2$1.IMaskModule], exports: [ButtonComponent,
3507
3434
  ButtonGroupDirective,
3508
3435
  CaptionPositionDirective,
3509
3436
  CheckboxComponent,