@wavemaker/app-ng-runtime 12.0.0-next.45503 → 12.0.0-rc.5849

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +46 -38
  2. app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
  3. app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
  4. app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
  5. app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
  6. app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
  7. app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
  8. app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
  9. app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
  10. app-ng-runtime/build-task/esm2022/containers/tile/tile.build.mjs +2 -2
  11. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -2
  12. app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
  13. app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
  14. app-ng-runtime/build-task/esm2022/dialogs/alert-dialog/alert-dialog.build.mjs +2 -2
  15. app-ng-runtime/build-task/esm2022/input/calendar/calendar.build.mjs +2 -2
  16. app-ng-runtime/build-task/esm2022/input/color-picker/color-picker.build.mjs +3 -3
  17. app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
  18. app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
  19. app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
  20. app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
  21. app-ng-runtime/build-task/esm2022/input/file-upload/file-upload.build.mjs +5 -1
  22. app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
  23. app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
  24. app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
  25. app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
  26. app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
  27. app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
  28. app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
  29. app-ng-runtime/build-task/fesm2022/index.mjs +46 -38
  30. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  31. app-ng-runtime/components/advanced/carousel/bundles/index.umd.js +1 -1
  32. app-ng-runtime/components/advanced/carousel/esm2022/carousel.animator.mjs +2 -2
  33. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs +1 -1
  34. app-ng-runtime/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  35. app-ng-runtime/components/base/bundles/index.umd.js +8 -2
  36. app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
  37. app-ng-runtime/components/base/esm2022/utils/live-utils.mjs +8 -2
  38. app-ng-runtime/components/base/fesm2022/index.mjs +8 -2
  39. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  40. app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
  41. app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
  42. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
  43. app-ng-runtime/components/basic/default/bundles/index.umd.js +27 -18
  44. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
  45. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
  46. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
  47. app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
  48. app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
  49. app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
  50. app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
  51. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
  52. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
  53. app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
  54. app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
  55. app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
  56. app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
  57. app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
  58. app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
  59. app-ng-runtime/components/basic/default/fesm2022/index.mjs +27 -18
  60. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  61. app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
  62. app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
  63. app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
  64. app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
  65. app-ng-runtime/components/basic/progress/bundles/index.umd.js +12 -8
  66. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +4 -4
  67. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
  68. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
  69. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
  70. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +12 -8
  71. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  72. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
  73. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
  74. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
  75. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
  76. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
  77. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
  78. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  79. app-ng-runtime/components/basic/search/bundles/index.umd.js +11 -9
  80. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +14 -13
  81. app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
  82. app-ng-runtime/components/basic/search/fesm2022/index.mjs +11 -9
  83. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  84. app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
  85. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +3 -3
  86. app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +4 -4
  87. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +3 -3
  88. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  89. app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
  90. app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
  91. app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
  92. app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
  93. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
  94. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
  95. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
  96. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  97. app-ng-runtime/components/data/form/bundles/index.umd.js +4 -0
  98. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +5 -1
  99. app-ng-runtime/components/data/form/fesm2022/index.mjs +4 -0
  100. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  101. app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +1 -0
  102. app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
  103. app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
  104. app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
  105. app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
  106. app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -0
  107. app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
  108. app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
  109. app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
  110. app-ng-runtime/components/data/table/bundles/index.umd.js +44 -10
  111. app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
  112. app-ng-runtime/components/data/table/esm2022/table.component.mjs +30 -7
  113. app-ng-runtime/components/data/table/esm2022/table.props.mjs +3 -1
  114. app-ng-runtime/components/data/table/fesm2022/index.mjs +45 -11
  115. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  116. app-ng-runtime/components/data/table/table.component.d.ts +8 -1
  117. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
  118. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
  119. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
  120. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  121. app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -5
  122. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -6
  123. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -5
  124. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  125. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +9 -3
  126. app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
  127. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +2 -1
  128. app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
  129. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +9 -3
  130. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  131. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
  132. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
  133. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
  134. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  135. app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
  136. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
  137. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
  138. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  139. app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
  140. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
  141. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
  142. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  143. app-ng-runtime/components/input/calendar/bundles/index.umd.js +2 -4
  144. app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +3 -5
  145. app-ng-runtime/components/input/calendar/fesm2022/index.mjs +2 -4
  146. app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
  147. app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
  148. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
  149. app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
  150. app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
  151. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  152. app-ng-runtime/components/input/color-picker/bundles/index.umd.js +5 -3
  153. app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
  154. app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +6 -5
  155. app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
  156. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +5 -3
  157. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  158. app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
  159. app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
  160. app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
  161. app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
  162. app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
  163. app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
  164. app-ng-runtime/components/input/default/bundles/index.umd.js +166 -103
  165. app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
  166. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
  167. app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
  168. app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
  169. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +8 -7
  170. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +7 -7
  171. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
  172. app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +21 -16
  173. app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +5 -5
  174. app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +3 -1
  175. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +28 -23
  176. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +20 -18
  177. app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
  178. app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
  179. app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
  180. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
  181. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
  182. app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
  183. app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
  184. app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
  185. app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
  186. app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +50 -13
  187. app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
  188. app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
  189. app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
  190. app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
  191. app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
  192. app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
  193. app-ng-runtime/components/input/default/fesm2022/index.mjs +166 -103
  194. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  195. app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
  196. app-ng-runtime/components/input/default/select/select.component.d.ts +2 -0
  197. app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
  198. app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
  199. app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
  200. app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -0
  201. app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
  202. app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
  203. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
  204. app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
  205. app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
  206. app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
  207. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
  208. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
  209. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
  210. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
  211. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
  212. app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
  213. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
  214. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  215. app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
  216. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +187 -100
  217. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +184 -102
  218. app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
  219. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +187 -100
  220. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  221. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +12 -10
  222. app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
  223. app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
  224. app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
  225. app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
  226. app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
  227. app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
  228. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +8 -6
  229. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
  230. app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
  231. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +8 -6
  232. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  233. app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
  234. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +121 -13
  235. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +122 -15
  236. app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
  237. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +121 -13
  238. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  239. app-ng-runtime/components/navigation/popover/popover.component.d.ts +15 -3
  240. app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
  241. app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
  242. app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
  243. app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
  244. app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
  245. app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
  246. app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
  247. app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
  248. app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
  249. app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
  250. app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
  251. app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
  252. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
  253. app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
  254. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
  255. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  256. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
  257. app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
  258. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
  259. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  260. app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
  261. app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
  262. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
  263. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  264. app-ng-runtime/core/bundles/index.umd.js +15 -13
  265. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  266. app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -7
  267. app-ng-runtime/core/esm2022/utils/utils.mjs +4 -5
  268. app-ng-runtime/core/fesm2022/index.mjs +11 -11
  269. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  270. app-ng-runtime/core/public_api.d.ts +1 -1
  271. app-ng-runtime/core/utils/utils.d.ts +1 -1
  272. app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
  273. app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
  274. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
  275. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
  276. app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
  277. app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
  278. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
  279. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
  280. app-ng-runtime/package.json +1 -1
  281. app-ng-runtime/runtime/base/bundles/index.umd.js +6 -4
  282. app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
  283. app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
  284. app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +5 -4
  285. app-ng-runtime/runtime/base/fesm2022/index.mjs +6 -4
  286. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  287. app-ng-runtime/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -1
  288. app-ng-runtime/scripts/datatable/datatable.js +24 -27
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../projects/components/transpile/src/advanced/carousel/carousel.build.ts","../../../projects/components/transpile/src/advanced/carousel/carousel-template/carousel-template.build.ts","../../../projects/components/transpile/src/advanced/login/login.build.ts","../../../projects/components/transpile/src/advanced/marquee/marquee.build.ts","../../../projects/components/transpile/src/basic/default/anchor/anchor.build.ts","../../../projects/components/transpile/src/basic/default/audio/audio.build.ts","../../../projects/components/transpile/src/basic/default/html/html.build.ts","../../../projects/components/transpile/src/basic/default/icon/icon.build.ts","../../../projects/components/transpile/src/basic/default/iframe/iframe.build.ts","../../../projects/components/transpile/src/basic/default/label/label.build.ts","../../../projects/components/transpile/src/basic/default/picture/picture.build.ts","../../../projects/components/transpile/src/basic/default/spinner/spinner.build.ts","../../../projects/components/transpile/src/basic/progress/progress-bar/progress-bar.build.ts","../../../projects/components/transpile/src/basic/progress/progress-circle/progress-circle.build.ts","../../../projects/components/transpile/src/basic/rich-text-editor/rich-text-editor.build.ts","../../../projects/components/transpile/src/basic/search/search.build.ts","../../../projects/components/transpile/src/basic/tree/tree.build.ts","../../../projects/components/transpile/src/data/card/card.build.ts","../../../projects/components/transpile/src/data/card/card-content/card-content.build.ts","../../../projects/components/transpile/src/data/card/card-actions/card-actions.build.ts","../../../projects/components/transpile/src/data/card/card-footer/card-footer.build.ts","../../../projects/components/transpile/src/chart/chart.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion-pane/accordion-pane.build.ts","../../../projects/components/transpile/src/containers/container.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-column/layout-grid-column.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-row/layout-grid-row.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid.build.ts","../../../projects/components/transpile/src/containers/panel/panel.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segmented-control.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segment-content/segment-content.build.ts","../../../projects/components/transpile/src/containers/repeat-template.build.ts","../../../projects/components/transpile/src/containers/tabs/tabs.build.ts","../../../projects/components/transpile/src/containers/tabs/tab-pane/tab-pane.build.ts","../../../projects/components/transpile/src/containers/tile/tile.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-step/wizard-step.build.ts","../../../projects/components/transpile/src/device/barcode-scanner/barcode-scanner.build.ts","../../../projects/components/transpile/src/device/camera/camera.build.ts","../../../projects/components/transpile/src/dialogs/alert-dialog/alert-dialog.build.ts","../../../projects/components/transpile/src/dialogs/confirm-dialog/confirm-dialog.build.ts","../../../projects/components/transpile/src/dialogs/base/dialog-footer/dialog-footer.build.ts","../../../projects/components/transpile/src/dialogs/design-dialog/dialog.build.ts","../../../projects/components/transpile/src/dialogs/iframe-dialog/iframe-dialog.build.ts","../../../projects/components/transpile/src/dialogs/login-dialog/login-dialog.build.ts","../../../projects/components/transpile/src/dialogs/partial-dialog/partial-dialog.build.ts","../../../projects/components/transpile/src/utils/utils.ts","../../../projects/components/transpile/src/data/form/form-field/form-field.build.ts","../../../projects/components/transpile/src/data/form/form-action/form-action.build.ts","../../../projects/components/transpile/src/data/form/form.build.ts","../../../projects/components/transpile/src/input/calendar/calendar.build.ts","../../../projects/components/transpile/src/input/chips/chips.build.ts","../../../projects/components/transpile/src/input/color-picker/color-picker.build.ts","../../../projects/components/transpile/src/input/currency/currency.build.ts","../../../projects/components/transpile/src/input/default/button-group/button-group.build.ts","../../../projects/components/transpile/src/input/default/button/button.build.ts","../../../projects/components/transpile/src/input/default/checkbox/checkbox.build.ts","../../../projects/components/transpile/src/input/default/checkboxset/checkboxset.build.ts","../../../projects/components/transpile/src/input/default/composite/composite.build.ts","../../../projects/components/transpile/src/input/default/number/number.build.ts","../../../projects/components/transpile/src/input/default/radioset/radioset.build.ts","../../../projects/components/transpile/src/input/default/select/select.build.ts","../../../projects/components/transpile/src/input/default/switch/switch.build.ts","../../../projects/components/transpile/src/input/default/text/text.build.ts","../../../projects/components/transpile/src/input/default/textarea/textarea.build.ts","../../../projects/components/transpile/src/input/epoch/date-time/date-time.build.ts","../../../projects/components/transpile/src/input/epoch/date/date.build.ts","../../../projects/components/transpile/src/input/epoch/time/time.build.ts","../../../projects/components/transpile/src/input/file-upload/file-upload.build.ts","../../../projects/components/transpile/src/input/rating/rating.build.ts","../../../projects/components/transpile/src/input/slider/slider.build.ts","../../../projects/components/transpile/src/data/media-list/media-list.build.ts","../../../projects/components/transpile/src/data/media-list/media-list-item/media-list-item.build.ts","../../../projects/components/transpile/src/data/list/list.build.ts","../../../projects/components/transpile/src/data/live-table/live-table.build.ts","../../../projects/components/transpile/src/message/message.build.ts","../../../projects/components/transpile/src/navigation/breadcrumb/breadcrumb.build.ts","../../../projects/components/transpile/src/navigation/menu/menu.build.ts","../../../projects/components/transpile/src/navigation/nav/nav-item/nav-item.build.ts","../../../projects/components/transpile/src/navigation/nav/nav.build.ts","../../../projects/components/transpile/src/navigation/navbar/navbar.build.ts","../../../projects/components/transpile/src/navigation/popover/popover.build.ts","../../../projects/components/transpile/src/page/page.build.ts","../../../projects/components/transpile/src/page/layout.build.ts","../../../projects/components/transpile/src/page/router-outlet/router-outlet.build.ts","../../../projects/components/transpile/src/data/pagination/pagination.build.ts","../../../projects/components/transpile/src/page/content/content.build.ts","../../../projects/components/transpile/src/page/footer/footer.build.ts","../../../projects/components/transpile/src/page/header/header.build.ts","../../../projects/components/transpile/src/page/left-panel/left-panel.build.ts","../../../projects/components/transpile/src/page/mobile-navbar/mobile-navbar.build.ts","../../../projects/components/transpile/src/page/right-panel/right-panel.build.ts","../../../projects/components/transpile/src/page/page-content/page-content.build.ts","../../../projects/components/transpile/src/page/tab-bar/tab-bar.build.ts","../../../projects/components/transpile/src/page/top-nav/top-nav.build.ts","../../../projects/components/transpile/src/partial/partial.build.ts","../../../projects/components/transpile/src/partial-param/partial-param.build.ts","../../../projects/components/transpile/src/prefab/prefab.build.ts","../../../projects/components/transpile/src/prefab/prefab-container/prefab-container.build.ts","../../../projects/components/transpile/src/data/table/table-action/table-action.build.ts","../../../projects/components/transpile/src/data/table/table-column-group/table-column-group.build.ts","../../../projects/components/transpile/src/data/table/table-column/table-column.build.ts","../../../projects/components/transpile/src/data/table/table-row/table-row.build.ts","../../../projects/components/transpile/src/data/table/table-row-action/table-row-action.build.ts","../../../projects/components/transpile/src/data/table/table.build.ts","../../../projects/components/transpile/src/basic/default/video/video.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout-item/linear-layout-item.build.ts","../../../projects/components/transpile/src/public_api.ts","../../../projects/components/transpile/src/index.ts"],"sourcesContent":["import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst carouselTagName = 'carousel';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_carousel_ref_');\n\nconst isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-carousel', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the carousel\n const counter = idGen.nextUid();\n shared.set('carousel_ref', counter);\n return `<div class=\"app-carousel carousel\"><${carouselTagName} wmCarousel #${counter}=\"wmCarousel\" ${getAttrMarkup(attrs)} interval=\"0\" [ngClass]=\"${counter}.navigationClass\">`;\n },\n post: () => `</${carouselTagName}></div>`,\n template: (node: Element) => {\n // check if the carousel is dynamic\n if (isDynamicCarousel(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent carousel reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('carousel_ref', shared.get('carousel_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst carouselContentTagName = 'slide';\nlet counter = 1;\n// For static carousel\nregister('wm-carousel-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)}>`,\n post: () => `</${carouselContentTagName}>`\n };\n});\n\n// For dynamic carousel\nregister('wm-carousel-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-carousel'],\n pre: (attrs, shared, parentCarousel) => {\n const carouselRef = parentCarousel.get('carousel_ref');\n return `<div *ngIf=\"!${carouselRef}.fieldDefs\">{{${carouselRef}.nodatamessage}}</div>\n <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef=\"carouselTemplateRef\" ${getAttrMarkup(attrs)} *ngFor=\"let item of ${carouselRef}.fieldDefs; let i = index;\">\n <ng-container [ngTemplateOutlet]=\"carouselTempRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})\"></ng-container>\n </${carouselContentTagName}>\n <ng-template #carouselTempRef${counter++} let-item=\"item\" let-index=\"index\">`;\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-login', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLogin ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\">`,\n post: () => `</${tagName}>`,\n provide: () => {\n const provider = new Map();\n provider.set('isLogin', true);\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'marquee';\n\nregister('wm-marquee', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} onmouseover=\"this.stop();\" onmouseout=\"this.start();\" wmMarquee role=\"marquee\" aria-live=\"off\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'a';\nconst idGen = new IDGenerator('wm_anchor');\n\nregister('wm-anchor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmAnchor #${counter}=\"wmAnchor\" role=\"link\" data-identifier=\"anchor\" [attr.aria-label]=\"${counter}.hint || ${counter}.caption\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-audio', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAudio ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_html');\n\nregister('wm-html', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmHtml #${counter}=\"wmHtml\" [attr.aria-label]=\"${counter}.hint || 'HTML content'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'span';\n\nregister('wm-icon', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIcon aria-hidden=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframe', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframe ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nlet tagName = 'p';\nconst idGen = new IDGenerator('wm_label');\n\nregister('wm-label', (): IBuildTaskDef => {\n return { \n pre: (attrs:any) => {\n if(!attrs.get(\"notag\")){\n if(!attrs.get('type')){\n const classList=attrs.get('class') ? attrs.get('class').split(' ').filter(element => [\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\"].includes(element)):[];\n attrs.set('type',classList.length ? classList[0] : \"p\");\n } \n tagName= attrs.get('type');\n }\n else{\n tagName='label';\n }\n const counter = idGen.nextUid();\n return `<${tagName} wmLabel #${counter}=\"wmLabel\" [attr.aria-label]=\"${counter}.hint\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'img';\nconst idGen = new IDGenerator('wm_picture');\n\nregister('wm-picture', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPicture #${counter}=\"wmPicture\" alt=\"image\" wmImageCache=\"${attrs.get('offline') || 'true'}\" [attr.aria-label]=\"${counter}.hint || 'Image'\" ${getAttrMarkup(attrs)}>`;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_spinner');\n\nregister('wm-spinner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSpinner #${counter}=\"wmSpinner\" role=\"alert\" [attr.aria-label]=\"${counter}.hint || 'Loading...'\" aria-live=\"assertive\" aria-busy=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst getAttr = (node: Element, attrName: string) => node.attrs.find(attr => attr.name === attrName);\n\nconst getAttrValue = (node: Element, attrName: string): string | undefined => {\n const match = getAttr(node, attrName);\n if (match) {\n return match.value;\n }\n};\n\nconst getReplaceRegex = (v: string) => new RegExp(`bind:(${v}|${v}\\\\[\\\\$i])\\\\.`, 'g');\n\nregister('wm-progress-bar', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const dataset = getAttrValue(node, 'dataset');\n const boundExpr = getBoundToExpr(dataset);\n\n if (boundExpr) {\n let type = getAttrValue(node, 'type');\n let datavalue = getAttrValue(node, 'datavalue');\n\n const replaceRegex = getReplaceRegex(boundExpr);\n\n if (type && type.includes(boundExpr)) {\n type = type.replace(replaceRegex, '');\n getAttr(node, 'type').value = type;\n }\n\n if (datavalue && datavalue.includes(boundExpr)) {\n datavalue = datavalue.replace(replaceRegex, '');\n getAttr(node, 'datavalue').value = datavalue;\n }\n }\n },\n pre: attrs => `<${tagName} wmProgressBar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-progress-circle', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmProgressCircle ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_richtexteditor');\n\nregister('wm-richtexteditor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRichTextEditor #${counter}=\"wmRichTextEditor\" role=\"textbox\" [attr.aria-label]=\"${counter}.hint || 'Richtext editor'\" ${getFormMarkupAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-search', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-tree', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTree class=\"ztree\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCard ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-actions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardActions ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-chart', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChart redrawable aria-label=\"${attrs.get('type')} Chart\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_accordion_ref_');\n\nconst isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-accordion', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the accordion\n const counter = idGen.nextUid();\n shared.set('accordion_ref', counter);\n return `<${tagName} wmAccordion #${counter}=\"wmAccordion\" role=\"tablist\" aria-multiselectable=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the accordion is dynamic\n if (isDynamicAccordion(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent accordion reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('accordion_ref', shared.get('accordion_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_accordionpane');\n\nregister('wm-accordionpane', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} #${counter}=\"wmAccordionPane\" [attr.aria-expanded]=\"${counter}.isActive\" wmAccordionPane partialContainer wm-navigable-element=\"true\" role=\"tab\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-container', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContainer partialContainer wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridcolumn', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridrow', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-layoutgrid', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGrid ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_panel');\n\nregister('wm-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPanel #${counter}=\"wmPanel\" partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nregister('wm-panel-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPanelFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-segmented-control', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentedControl ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-segment-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst dynamicTemplateTagName = 'div';\nlet counter = 1;\n\n\n// For dynamic accordion panes/tab panes\nregister('wm-repeat-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-accordion', 'wm-tabs'],\n pre: (attrs, shared, parentAccordion, parentTab) => {\n const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref'));\n if (widgetRef) {\n return `<div *ngIf=\"${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length\">{{${widgetRef}.nodatamessage}}</div>\n <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef=\"repeatItemRef\" ${getAttrMarkup(attrs)} *ngFor=\"let item of ${widgetRef}.fieldDefs; let i = index;\">\n <ng-container [ngTemplateOutlet]=\"widgetRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})\"></ng-container>\n </${dynamicTemplateTagName}>\n <ng-template #widgetRef${counter++} let-item=\"item\" let-index=\"index\">`;\n }\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_tabs_ref_');\n\nconst isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-tabs', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the tabs\n const counter = idGen.nextUid();\n shared.set('tabs_ref', counter);\n return `<${tagName} wmTabs #${counter}=\"wmTabs\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicTabs(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('tabs_ref', shared.get('tabs_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nregister('wm-tabpane', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element=\"true\" role=\"tabpanel\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-tile', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTile aria-describedby=\"Tile\" wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-wizard', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmWizard role=\"tablist\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IDGenerator } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('wizard_step_id_');\n\nregister('wm-wizardstep', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWizardStep #${counter}=\"wmWizardStep\" ${getAttrMarkup(attrs)}>\n <ng-template [ngIf]=\"${counter}.isInitialized\">`;\n },\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_barcodescanner');\n\nregister('wm-barcodescanner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmBarcodescanner #${counter}=\"wmBarcodescanner\" [attr.aria-label]=\"${counter}.hint || 'Barcode scanner'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_camera');\n\nregister('wm-camera', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} type='button' wmCamera #${counter}=\"wmCamera\" [attr.aria-label]=\"${counter}.hint || 'Camera'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-alertdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAlertDialog role=\"alertdialog\" wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-confirmdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmConfirmDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialogactions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #dialogFooter><${tagName} wmDialogFooter data-identfier=\"actions\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog ${getAttrMarkup(attrs)} aria-modal=\"true\" role=\"dialog\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\n// Todo:vinay remove wm-view in migration\nregister('wm-view', (): IBuildTaskDef => {\n return {\n pre: attrs => '',\n post: () => ''\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframedialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframeDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-logindialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-pagedialog', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const content = attrs.get('content');\n attrs.delete('content');\n\n const boundContent = attrs.get('content.bind');\n attrs.delete('content.bind');\n\n const onLoad = attrs.get('load.event');\n attrs.delete('load.event');\n\n let onLoadEvtMarkup = '';\n let contentMarkup = '';\n\n if (onLoad) {\n onLoadEvtMarkup = `load.event=\"${onLoad}\"`;\n }\n\n if (boundContent) {\n contentMarkup = `content.bind=\"${boundContent}\"`;\n } else if (content) {\n contentMarkup = `content=\"${content}\"`;\n }\n\n let containerMarkup = '';\n if (contentMarkup) {\n\n shared.set('hasPartialContent', true);\n containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width=\"100%\" height=\"100%\" ${onLoadEvtMarkup}>`;\n }\n\n return `<${tagName} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;\n },\n post: (attrs, shared) => {\n let preContent = '';\n if (shared.get('hasPartialContent')) {\n preContent = `</div></ng-template>`;\n }\n return `${preContent}</${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {DataType, FormWidgetType} from '@wm/core';\n\nexport const ALLFIELDS = 'All Fields';\nexport const EDIT_MODE = {\n QUICK_EDIT : 'quickedit',\n INLINE : 'inline',\n FORM : 'form',\n DIALOG : 'dialog'\n};\n\nconst fieldTypeWidgetTypeMap = {\n 'integer' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'short' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'float' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_decimal': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'number' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'double' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'long' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'byte' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'string' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'character' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'switch', 'currency', 'autocomplete', 'chips'],\n 'text' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'date' : ['date', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'time' : ['time', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'timestamp' : ['timestamp', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'datetime' : ['datetime', 'text', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'boolean' : ['checkbox', 'radioset', 'toggle', 'select'],\n 'list' : ['select', 'radioset', 'checkboxset', 'switch', 'autocomplete', 'chips'],\n 'clob' : ['text', 'textarea', 'richtext'],\n 'blob' : ['upload'],\n 'file' : ['upload'],\n 'custom' : ['text', 'number', 'textarea', 'password', 'checkbox', 'toggle', 'slider', 'richtext', 'currency', 'switch',\n 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'rating', 'datetime', 'autocomplete', 'chips', 'colorpicker']\n};\n\nconst DATASET_WIDGETS = new Set([FormWidgetType.SELECT, FormWidgetType.CHECKBOXSET, FormWidgetType.RADIOSET,\n FormWidgetType.SWITCH, FormWidgetType.AUTOCOMPLETE, FormWidgetType.CHIPS, FormWidgetType.TYPEAHEAD, FormWidgetType.RATING]);\n\nexport const isDataSetWidget = widget => {\n return DATASET_WIDGETS.has(widget);\n};\n\n// Get filter widget applicable to the given type\nexport const getDataTableFilterWidget = type => {\n let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];\n if (type === DataType.BOOLEAN) {\n widget = FormWidgetType.SELECT;\n }\n const filterWidgets = [FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,\n FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME];\n if (filterWidgets.includes(widget)) {\n return widget;\n }\n return FormWidgetType.TEXT;\n};\n\n/**\n * @ngdoc function\n * @name wm.widgets.live.getEditModeWidget\n * @methodOf wm.widgets.live.LiveWidgetUtils\n * @function\n *\n * @description\n * This function returns the default widget for grid\n *\n * @param {object} colDef field definition\n */\nexport const getEditModeWidget = colDef => {\n if (colDef['related-entity-name'] && colDef['primary-key']) {\n return FormWidgetType.SELECT;\n }\n return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;\n};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {\n FormWidgetType,\n generateGUId,\n getFormWidgetTemplate,\n getRequiredFormWidget,\n IDGenerator,\n isMobileApp\n} from '@wm/core';\n\nimport {ALLFIELDS, isDataSetWidget} from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('formfield_');\n\nconst getEventsTemplate = (attrs) => {\n const eventAttrs = new Map();\n if (!attrs.has('focus.event')) {\n attrs.set('focus.event', '');\n }\n if (!attrs.has('blur.event')) {\n attrs.set('blur.event', '');\n }\n attrs.forEach((value, key) => {\n if (key.endsWith('.event')) {\n if (key === 'focus.event') {\n value = `_onFocusField($event);${value}`;\n } else if (key === 'blur.event') {\n value = `_onBlurField($event);${value}`;\n }\n eventAttrs.set(key, value);\n attrs.delete(key);\n }\n });\n return getFormMarkupAttr(eventAttrs);\n};\n\nconst DEFAULT_PLACEHOLDERS = new Map([\n [FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],\n [FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],\n [FormWidgetType.TIME, ['Select Min time', 'Select Max time', 'Select time']],\n [FormWidgetType.DATE, ['Select Min date', 'Select Max date', 'Select date']],\n [FormWidgetType.TEXTAREA, ['', '', 'Enter value']],\n [FormWidgetType.RICHTEXT, ['', '', 'Enter value']],\n [FormWidgetType.COLORPICKER, ['Select Color', 'Select Color', 'Select Color']],\n [FormWidgetType.CHIPS, ['', '', 'Type here...']],\n [FormWidgetType.PASSWORD, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.NUMBER, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.TEXT, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.CURRENCY, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.AUTOCOMPLETE, ['', '', 'Search']],\n]);\n\nconst setDefaultPlaceholder = (attrs, widgetType, index) => {\n const prop = index === 1 ? 'maxplaceholder' : 'placeholder';\n let placeholder = attrs.get(prop);\n if (placeholder || placeholder === '') {\n return;\n }\n placeholder = DEFAULT_PLACEHOLDERS.get(widgetType) && DEFAULT_PLACEHOLDERS.get(widgetType)[index];\n if (placeholder) {\n attrs.set(prop, placeholder);\n }\n};\n\nconst getWidgetTemplate = (attrs, options) => {\n const name = attrs.get('name');\n const fieldName = (attrs.get('key') || name || '').trim();\n const formControl = options.isMaxWidget ? `formControlName=\"${fieldName}_max\"` : (options.isInList ? `[formControlName]=\"${options.counter}._fieldName\"` : `formControlName=\"${fieldName}\"`);\n const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;\n const widgetName = name ? (options.isMaxWidget ? `name=\"${name}_formWidgetMax\"` : `name=\"${name}_formWidget\"`) : '';\n const conditionalClass = `[ngClass]=\"${attrs.get('ngclass')}\"`;\n const defaultTmpl = `[class.hidden]=\"!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'\" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;\n return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, {counter: options.counter, pCounter: options.pCounter});\n};\n\n\nconst getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {\n const isRange = attrs.get('is-range') === 'true';\n if (!isRange) {\n return getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isInList});\n }\n const layoutClass = isMobileApp() ? 'col-xs-6' : 'col-sm-6';\n return `<div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter})}</div>\n <div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isMaxWidget: true})}</div>`;\n};\n\nconst getCaptionByWidget = (attrs, widgetType, counter) => {\n if (attrs.get('is-related') === 'true') {\n return `${counter}.getDisplayExpr()`;\n }\n if (widgetType === FormWidgetType.PASSWORD) {\n return '\\'********\\'';\n }\n let caption = `${counter}.value`;\n if (widgetType === FormWidgetType.DATETIME || widgetType === FormWidgetType.TIMESTAMP) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MM-dd hh:mm:ss a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.TIME) {\n caption += ` | toDate:${counter}.formWidget.timepattern || 'hh:mm a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.DATE) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MMM-dd'`;\n return caption;\n }\n if (widgetType === FormWidgetType.RATING || widgetType === FormWidgetType.UPLOAD) {\n return '';\n }\n if (isDataSetWidget(widgetType) && attrs.get('datafield') === ALLFIELDS) {\n return `${counter}.getDisplayExpr()`;\n }\n return `${counter}.getCaption()`;\n};\n\nconst registerFormField = (isFormField): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],\n pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {\n const counter = idGen.nextUid();\n const parent = parentForm || parentLiveForm || parentFilter;\n const pCounter = (parent && parent.get('form_reference')) || 'form';\n const widgetType = attrs.get('widget') || FormWidgetType.TEXT;\n const dataRole = isFormField ? 'form-field' : 'filter-field';\n const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();\n const validationMsg = isFormField ? `<p *ngIf=\"${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode\"\n class=\"help-block text-danger\" aria-hidden=\"false\"\n aria-live=\"assertive\" [attr.aria-label]=\"${counter}.validationmessage\" id=\"${formFieldErrorMsgId}\"><span aria-hidden=\"true\" [textContent]=\"${counter}.validationmessage\"></span></p>` : '';\n const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);\n const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';\n const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));\n attrs.set('__validationId', formFieldErrorMsgId);\n attrs.set('__widgetType', widgetType);\n attrs.delete('widget');\n shared.set('counter', counter);\n\n if (attrs.get('is-range') === 'true') {\n setDefaultPlaceholder(attrs, widgetType, 0);\n setDefaultPlaceholder(attrs, widgetType, 1);\n } else {\n setDefaultPlaceholder(attrs, widgetType, 2);\n }\n\n return `<${tagName} data-role=\"${dataRole}\" [formGroup]=\"${pCounter}.ngform\" wmFormField wmCaptionPosition #${counter}=\"wmFormField\" widgettype=\"${widgetType}\" ${getFormMarkupAttr(attrs)}>\n <div class=\"live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}\" widget=\"${widgetType}\">\n <label [hidden]=\"!${counter}.displayname\" class=\"app-label control-label formfield-label {{${pCounter}._captionClass}}\"\n [ngStyle]=\"{width: ${pCounter}.captionsize}\" [ngClass]=\"{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,\n required: ${pCounter}.isUpdateMode && ${counter}.required}\" [textContent]=\"${counter}.displayname\"> </label>\n <div [ngClass]=\"${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'\">\n <label class=\"form-control-static app-label\"\n [hidden]=\"${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'\" [innerHTML]=\"${getCaptionByWidget(attrs, widgetType, counter)}\"></label>\n ${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}\n <span aria-hidden=\"true\" *ngIf=\"${counter}.showPendingSpinner\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span>\n <p *ngIf=\"!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode\"\n class=\"help-block\" aria-hidden=\"true\" role=\"alert\" aria-live=\"polite\" [textContent]=\"${counter}.hint\"></p>\n ${validationMsg}\n </div>\n </div>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const requiredWidget = getRequiredFormWidget(attrs.get('__widgetType') || attrs.get('type'));\n attrs.delete('__widgetType');\n return [requiredWidget, 'wm-form'];\n }\n };\n};\n\nregister('wm-form-field', registerFormField.bind(this, true));\nregister('wm-filter-field', registerFormField.bind(this, false));\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst registerAction = (tmpl): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmFormAction name=\"${attrs.get('name') || attrs.get('key')}\" ${getAttrMarkup(attrs)} ${tmpl}>`,\n post: () => `</${tagName}>`\n };\n};\n\nregister('wm-form-action', registerAction.bind(this, ''));\nregister('wm-filter-action', registerAction.bind(this, ` update-mode=\"true\" `));\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register, getDataSource } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('form_');\n\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-richtexteditor',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-upload',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker',\n 'wm-table'\n]);\n\nlet numberOfFields;\n\nconst addFormControlName = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name === 'wm-form-field') {\n numberOfFields++;\n }\n if (formWidgets.has(childNode.name)) {\n let key = childNode.attrs.find((attr) => attr.name === 'key' || attr.name === 'name');\n key = key && key.value;\n if (!key) {\n // for checkbox inside table inside form, key and name attrs are not available. Using datavalue to construct formControlName instead.\n let dataValue = childNode.attrs.find((attr) => attr.name === 'datavalue');\n if (dataValue && dataValue.value) {\n const regex = /\\((.*)\\)/;\n dataValue = dataValue.value.match(regex);\n if (dataValue && dataValue.length > 1) {\n key = dataValue[1].replace(/[\"']/g, '');\n }\n }\n }\n childNode.attrs.push(new Attribute('formControlName', key, <any>1, <any>1, <any>1, undefined, undefined));\n childNode.attrs.push(new Attribute('wmFormWidget', '', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addFormControlName(childNode.children);\n });\n};\n\nconst updateFormDataSource = (attrMap) => {\n if (attrMap.get('formdata.bind')) {\n const formDataSource = getDataSource(attrMap.get('formdata.bind'));\n if (formDataSource) {\n attrMap.set('formdatasource.bind', formDataSource);\n }\n }\n};\n\nconst buildTask = (directiveAttr = ''): IBuildTaskDef => {\n return {\n requires: ['wm-livetable', 'wm-login'],\n template: (node: Element) => {\n numberOfFields = 0;\n addFormControlName(node.children);\n },\n pre: (attrs, shared, parentLiveTable, parentLoginWidget) => {\n let tmpl;\n let dialogId;\n const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';\n const counter = idGen.nextUid();\n const dependsOn = attrs.get('dependson') ? `dependson=\"${attrs.get('dependson')}\"` : '';\n if(dependsOn) {\n attrs.set('dependsontable', attrs.get('dependson'));\n }\n const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';\n const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];\n attrs.delete('dependson');\n const liveFormTmpl = `<${tagName} wmForm data-role=\"${role}\" ${directiveAttr} #${counter} ngNativeValidate [formGroup]=\"${counter}.ngform\" [noValidate]=\"${counter}.validationtype !== 'html'\"\n class=\"${classProp}\" [class]=\"${counter}.captionAlignClass\" [autocomplete]=\"${counter}.autocomplete ? 'on' : 'off'\" captionposition=${attrs.get('captionposition')}`;\n attrs.set('numberOfFields', `${numberOfFields}`);\n shared.set('counter', counter);\n updateFormDataSource(attrs);\n if (attrs.get('formlayout') === 'dialog') {\n dialogId = parentLiveTable ? parentLiveTable.get('liveform_dialog_id') : `liveform_dialog_id_${counter}`;\n attrs.set('dialogId', dialogId);\n const dialogAttrsMap = new Map<string, string>();\n dialogAttributes.forEach((attr) => {\n if (attrs.get(attr)) {\n dialogAttrsMap.set(attr, attrs.get(attr));\n }\n });\n attrs.set('width', '100%');\n tmpl = getAttrMarkup(attrs);\n return `<div data-identifier=\"liveform\" init-widget class=\"app-liveform liveform-dialog\" ${dependsOn} dialogid=\"${dialogId}\">\n <div wmDialog class=\"app-liveform-dialog\" name=\"${dialogId}\" role=\"form\" ${getAttrMarkup(dialogAttrsMap)} modal=\"true\">\n <ng-template #dialogBody>\n ${liveFormTmpl} ${tmpl}>`;\n }\n let mobileFormContentTmpl = '';\n let buttonTemplate = '';\n // Include mobile-navbar above the form when formlayout is set to page\n if (attrs.get('formlayout') === 'page') {\n const name = `device_liveform_header_${counter}`;\n const navbarAttrsMap = new Map<string, string>();\n navbarAttrsMap.set('title', attrs.get('title'));\n navbarAttrsMap.set('backbtnclick.event', attrs.get('backbtnclick.event'));\n buttonTemplate = `<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton name=\"{{btn.key}}\" class=\"navbar-btn btn-primary btn-transparent\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"${counter}.invokeActionEvent($event, btn.action)\" type.bind=\"btn.type\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\" disabled.bind=\"btn.disabled\"\n tabindex.bind=\"btn.tabindex\" [class.hidden]=\"btn.updateMode ? !${counter}.isUpdateMode : ${counter}.isUpdateMode\"></button>\n </ng-template>`;\n mobileFormContentTmpl = `<header wmMobileNavbar name=\"${name}\" ${getAttrMarkup(navbarAttrsMap)}>\n <ng-container *ngFor=\"let btn of ${counter}.buttonArray; let i = index\"\n [ngTemplateOutlet]=\"buttonRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"${counter}.createCustomInjector('mobile_' + i, {item:item, index:i})\">\n </ng-container>\n </header>\n <div class=\"form-elements panel-body\" >`;\n }\n\n tmpl = getAttrMarkup(attrs);\n const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';\n return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>\n ${buttonTemplate} ${mobileFormContentTmpl}`;\n },\n post: (attrs) => {\n if (attrs.get('formlayout') === 'dialog') {\n return '</form></ng-template></div></div>';\n }\n if (attrs.get('formlayout') === 'page') {\n return `</div></${tagName}>`;\n }\n if(attrs.get('dependsontable')) {\n return `</${tagName}></div>`;\n }\n return `</${tagName}>`;\n },\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n }\n };\n};\n\nregister('wm-form', buildTask);\nregister('wm-liveform', () => buildTask('wmLiveForm'));\nregister('wm-livefilter', () => buildTask('wmLiveFilter'));\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-calendar', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';\n return `<${tagName} wmCalendar redrawable style=\"width:100%\" aria-label=\"${viewType}\" ${getAttrMarkup(attrs)}>`\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-chips', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChips role=\"listbox\" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-colorpicker', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)} role=\"input\" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-currency', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)} role=\"input\" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-buttongroup', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmButtonGroup role=\"group\" aria-labelledby=\"button group\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_button');\n\nregister('wm-button', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmButton #${counter}=\"wmButton\" [attr.aria-label]=\"${counter}.hint || ${counter}.caption || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-checkbox', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-checkboxset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"group\" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, setChildAttrs, clearChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-composite', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}${clearChildAttrs()}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\n\nimport { getFormMarkupAttr,getChildAttrs , IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-number', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-radioset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"radiogroup\" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'wm-select';\n\nregister('wm-select', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getNgModelAttr, IDGenerator} from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_switch');\n\nregister('wm-switch', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return`<${tagName} wmSwitch #${counter}=\"wmSwitch\" [attr.aria-label]=\"${counter}.hint || 'Switch button'\" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-input';\n\nregister('wm-text', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-textarea';\n\nregister('wm-textarea', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-datetime', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-date', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-time', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, getDataSource, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-fileupload', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('select.event')) {\n const onSelectBinding = getDataSource(attrs.get('select.event'));\n attrs.set('datasource.bind', onSelectBinding);\n }\n return `<${tagName} wmFileUpload ${getAttrMarkup(attrs)} role=\"input\">`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-rating', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-slider', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmlistTag = 'wm-list';\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-media-list', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let bindDataset;\n const attrObj = node.attrs.find(attr => attr.name === dataSetKey),\n /**\n * Replacing binded property value with item\n * @param children\n */\n replaceBind = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name) {\n // return if the child Element is of wm-list .\n if (childNode.name !== wmlistTag) {\n childNode.attrs.forEach((attr) => {\n if (attr.value.startsWith(`bind:${bindDataset}.data[$i]`)) {\n attr.value = attr.value.replace(`${bindDataset}.data[$i]`, 'item');\n } else if (attr.value.startsWith(`bind:${bindDataset}`)) {\n attr.value = attr.value.replace(bindDataset, 'item');\n }\n });\n replaceBind(childNode.children);\n }\n }\n });\n };\n if (attrObj && attrObj.value.startsWith('bind:')) {\n bindDataset = attrObj.value.replace('bind:', '');\n }\n if (bindDataset) {\n replaceBind(node.children);\n }\n const template = <Element> node.children\n .find(e => e instanceof Element && (<Element> e).name === 'wm-media-template');\n if (template != null) {\n copyAttribute(template, 'width', node, 'thumbnailwidth');\n copyAttribute(template, 'height', node, 'thumbnailheight');\n }\n },\n pre: attrs => `<${tagName} wmMediaList ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ng-template';\n\nregister('wm-media-template', (): IBuildTaskDef => {\n return {\n pre: () => `<${tagName} #mediaListTemplate let-item=\"item\" let-index=\"index\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\nimport { updateTemplateAttrs } from '@wm/core';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmListTag = 'wm-list';\nconst listTagName = 'div';\nconst dataSetKey = 'dataset';\n\nregister(wmListTag, (): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform'],\n template: (node: Element) => {\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, 'itemRef.');\n },\n pre: (attrs, shared, parentForm, parentLiveForm) => {\n const parent = parentForm || parentLiveForm;\n shared.set('form_reference', parent && parent.get('form_reference'));\n return `<${listTagName} wmList wmLiveActions ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${listTagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('parent_form_reference', shared.get('form_reference'));\n return provider;\n }\n };\n});\n\nregister('wm-listtemplate', (): IBuildTaskDef => {\n return {\n pre: () => `<ng-template #listTemplate let-item=\"item\" let-$index=\"$index\" let-itemRef=\"itemRef\" let-$first=\"$first\" let-$last=\"$last\" let-currentItemWidgets=\"currentItemWidgets\" >`,\n post: () => `</ng-template>`\n };\n});\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-list-action-template', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n\n const position = node.attrs.find(attr => attr.name === 'position').value;\n\n const btns = <Element[]> node.children\n .filter(e => e instanceof Element && (<Element> e).name === 'wm-button');\n\n // add swipe-position on button nodes to identify whether buttons are from left or right action templates\n btns.forEach((btnNode) => {\n copyAttribute(node, 'position', btnNode, 'swipe-position');\n });\n },\n pre: (attrs, el) => {\n if (attrs.get('position') === 'left') {\n return `<ng-template #listLeftActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-left-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n if (attrs.get('position') === 'right') {\n return `<ng-template #listRightActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-right-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n },\n post: () => `</li></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('liveform_dialog_id_');\n\nregister('wm-livetable', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n return `<${tagName} wmLiveTable ${getAttrMarkup(attrs)} dialogid=\"${counter}\">`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('liveform_dialog_id', shared.get('counter'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'p';\nconst idGen = new IDGenerator('wm_message');\n\nregister('wm-message', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmMessage tabindex=\"0\" #${counter}=\"wmMessage\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ol';\n\nregister('wm-breadcrumb', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmBreadcrumb ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-menu', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const menuWidth = attrs.get(\"width\");\n let styleBinding = '';\n if(menuWidth){\n const units = ['%', 'px'];\n const hasUnit = units.some(unit => menuWidth.includes(unit));\n if(hasUnit){\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}'}\"`;\n }\n else{\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}px'}\"`;\n }\n\n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`\n } \n else{ \n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`\n }\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-nav-item', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavItem role=\"listitem\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-nav', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNav data-element-type=\"wmNav\" data-role=\"page-header\" role=\"list\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavbar data-element-type=\"wmNavbar\" role=\"navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'wm-popover';\n\nregister('wm-popover', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n pre: (attrs: Map<string, string>, shared: Map<string, any>, table) => {\n const contentSource = attrs.get('contentsource');\n let popoverTemplate;\n if (contentSource !== 'inline') {\n const content = attrs.get('content');\n const bindContent = attrs.get('content.bind');\n\n let contentMarkup = '';\n\n if (content) {\n contentMarkup = `content=\"${content}\"`;\n } else if (bindContent) {\n contentMarkup = `content.bind=\"${bindContent}\"`;\n }\n\n popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;\n shared.set('hasPopoverContent', true);\n }\n\n let markup = `<${tagName} wmPopover ${getAttrMarkup(attrs)}>`;\n const contextAttrs = table ? `let-row=\"row\"` : ``;\n\n markup += `<ng-template ${contextAttrs}><div tabindex=\"0\" class=\"popover-start sr-only\" aria-label=\"\">popover content start</div>`;\n\n // todo keyboard navigation - tab\n if (popoverTemplate) {\n markup += `${popoverTemplate ? popoverTemplate : ''}`;\n }\n\n return markup;\n },\n post: (attrs: Map<string, string>, shared: Map<string, any>) => {\n let markup = '';\n if (shared.get('hasPopoverContent')) {\n markup += `</div>`;\n }\n\n return `${markup}<div tabindex=\"0\" class=\"popover-end sr-only\" aria-label=\"\">popover content ended</div></ng-template></${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan, Text } from '@angular/compiler';\n\nimport {IDGenerator, isMobileApp} from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {forEach} from \"lodash-es\";\n\nconst tagName = 'div';\n\nconst findChild = (node: Element, childName: string): Element => {\n const child = node && node.children.find(e => (e instanceof Element && (e as Element).name === childName));\n return child as Element;\n};\n\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\n\nconst getElementNode = (name, node) => {\n let elementNode;\n if (!node) {\n return;\n }\n forEach(node.children, (child) => {\n if (child instanceof Element) {\n if ((child as Element).name === name) {\n elementNode = child;\n } else if (child.children) {\n elementNode = getElementNode(name, child);\n }\n }\n return !elementNode;\n });\n return elementNode;\n};\n\nconst noSpan = ({} as ParseSourceSpan);\nconst idGen = new IDGenerator('wm_page');\n\nregister('wm-page', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');\n if (!pageContentNode) {\n pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));\n }\n if (pageContentNode) {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compilePageContent');\n conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n pageContentNode.children = [conditionalNode];\n if (isMobileApp()) {\n const loader = createElement('div');\n addAtrribute(loader, 'wmPageContentLoader', '');\n addAtrribute(loader, '*ngIf', '!showPageContent');\n pageContentNode.children.push(loader);\n }\n }\n },\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPage #${counter}=\"wmPage\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.hint\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IDGenerator } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst idGen = new IDGenerator('wm_layout');\n\nregister('wm-layout', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLayout #${counter}=\"wmLayout\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.hint || 'Main page content'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'router-outlet';\n\nregister('wm-router-outlet', (): IBuildTaskDef => {\n return {\n pre: attrs => `<div wmRouterOutlet name=\"wmRouterOutlet\" ${getAttrMarkup(attrs)}><${tagName} (activate)=\"onActivate($event)\">`,\n post: () => `</${tagName}></div>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-pagination', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPagination data-identifier=\"pagination\" aria-label=\"Page navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'main';\n\nregister('wm-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContent data-role=\"page-content\" role=\"main\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'footer';\nconst idGen = new IDGenerator('wm_footer');\n\nregister('wm-footer', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmFooter #${counter}=\"wmFooter\" partialContainer data-role=\"page-footer\" role=\"contentinfo\" [attr.aria-label]=\"${counter}.hint || 'Page footer'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'header';\nconst idGen = new IDGenerator('wm_header');\n\nregister('wm-header', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmHeader #${counter}=\"wmHeader\" partialContainer data-role=\"page-header\" role=\"banner\" [attr.aria-label]=\"${counter}.hint || 'Page header'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_left_panel');\n\nregister('wm-left-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLeftPanel #${counter}=\"wmLeftPanel\" partialContainer data-role=\"page-left-panel\" [attr.aria-label]=\"${counter}.hint || 'Left navigation panel'\" wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'header';\n\nregister('wm-mobile-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileNavbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_right_panel');\n\nregister('wm-right-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRightPanel #${counter}=\"wmRightPanel\" partialContainer data-role=\"page-right-panel\" role=\"complementary\" [attr.aria-label]=\"${counter}.hint || 'Right navigation panel'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { Attribute, Element, ParseSourceSpan, Text } from \"@angular/compiler\";\n\nconst tagName = 'div';\n\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\n\nconst noSpan = ({} as ParseSourceSpan);\n\nregister('wm-page-content', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n for(let attr of node.attrs) {\n if(attr.name === 'spa' && attr.value === 'true') {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compilePageContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n node.children = [conditionalNode];\n break;\n }\n }\n },\n pre: attrs => `<${tagName} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-mobile-tabbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileTabbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'section';\nconst idGen = new IDGenerator('wm_top_nav');\n\nregister('wm-top-nav', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmTopNav #${counter}=\"wmTopNav\" partialContainer data-role=\"page-topnav\" role=\"navigation\" [attr.aria-label]=\"${counter}.hint || 'Second level navigation'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nregister('wm-partial', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPartial data-role=\"partial\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-param', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmParam hidden ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, register } from '@wm/transpiler';\n\nconst tagName = 'section';\n\nregister('wm-prefab', () => {\n return {\n pre: attrs => `<${tagName} wmPrefab redrawable data-role=\"prefab\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\n\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nconst tagName = 'div';\n\nregister('wm-prefab-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPrefabContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} name=\"${attrs.get('name') || attrs.get('key')}\" wmTableAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-column-group', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, Text } from '@angular/compiler';\n\nimport { DataType, FormWidgetType, getFormWidgetTemplate, getRequiredFormWidget, IDGenerator, isDateTimeType, checkIsCustomPipeExpression } from '@wm/core';\nimport {getAttrMarkup, getDataSource, IBuildTaskDef, ImportDef, register} from '@wm/transpiler';\n\nimport { EDIT_MODE, getDataTableFilterWidget, getEditModeWidget } from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('data_table_form_');\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker'\n]);\n\n// Add ngModelOptions standalone true as inner custom form widgets will be not part of table ngform\nconst addNgModelStandalone = (children = []) => {\n let formControlAttr = [];\n children.forEach(childNode => {\n if (formWidgets.has(childNode.name)) {\n // angular build is failing when formControlName is undefined for checkbox and mgModelOptions attr is present\n if (childNode.name === 'wm-checkbox') {\n formControlAttr = childNode.attrs.filter(function(attr) {\n return attr.name === 'formControlName';\n });\n if (formControlAttr.length) {\n return;\n }\n }\n childNode.attrs.push(new Attribute('[ngModelOptions]', '{standalone: true}', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addNgModelStandalone(childNode.children);\n });\n};\n\n// get the filter template (widget and filter menu) to be displayed in filter row\nconst getFilterTemplate = (attrs, pCounter) => {\n const widget = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n const fieldName = attrs.get('binding');\n const type = attrs.get('type') || 'string';\n let datasourceBinding, submitEventBinding;\n const datasetAttr = attrs.get('filterdataset.bind');\n // when multicolumn is selected and filterwidget as autocomplete is assigned to dataset.\n if (attrs.get('filterwidget') === 'autocomplete') {\n if (datasetAttr) {\n const binddatasource = getDataSource(datasetAttr);\n datasourceBinding = `dataset.bind=\"${datasetAttr}\" datasource.bind=\"${binddatasource}\"`;\n }\n submitEventBinding = `submit.event=\"changeFn('${fieldName}')\"`;\n }\n const innerTmpl = `#filterWidget formControlName=\"${fieldName + '_filter'}\" ${datasourceBinding} ${submitEventBinding} change.event=\"changeFn('${fieldName}')\"\n disabled.bind=\"isDisabled('${fieldName}')\"`;\n const options = {inputType: 'filterinputtype'} ;\n const widgetTmpl = `${getFormWidgetTemplate(widget, innerTmpl, attrs, options)}`;\n\n return `<ng-template #filterTmpl let-changeFn=\"changeFn\" let-isDisabled=\"isDisabled\">\n <div class=\"input-group ${widget}\" data-col-identifier=\"${fieldName}\">\n ${widgetTmpl}\n <span class=\"input-group-addon filter-clear-icon\" *ngIf=\"${pCounter}.showClearIcon('${fieldName}')\">\n <button class=\"btn-transparent btn app-button\" aria-label=\"Clear button\" type=\"button\" (click)=\"${pCounter}.clearRowFilter('${fieldName}')\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n </button>\n </span>\n <span class=\"input-group-addon\" dropdown container=\"body\" (onShown)=\"${pCounter}.adjustContainer('${fieldName}');\">\n <button class=\"btn-transparent btn app-button\" type=\"button\" dropdownToggle><i class=\"app-icon wi wi-filter-list\"></i></button>\n <ul class=\"matchmode-dropdown dropdown-menu\" *dropdownMenu>\n <li *ngFor=\"let matchMode of ${pCounter}.matchModeTypesMap['${type}']\"\n [ngClass]=\"{active: matchMode === (${pCounter}.rowFilter['${fieldName}'].matchMode || ${pCounter}.matchModeTypesMap['${type}'][0])}\">\n <a href=\"javascript:void(0);\" (click)=\"${pCounter}.onFilterConditionSelect('${fieldName}', matchMode)\" [innerText]=\"${pCounter}.matchModeMsgs[matchMode]\"></a>\n </li>\n </ul>\n </span>\n </div></ng-template>`;\n};\n\nconst getEventsTmpl = attrs => {\n let tmpl = '';\n attrs.forEach((val, key) => {\n if (key.endsWith('.event')) {\n tmpl += `${key}=\"${val}\" `;\n }\n });\n return tmpl;\n};\n\n// Generate inline edit properties template. Properties requiring row instance are generated here.\nconst getInlineEditRowPropsTmpl = attrs => {\n const propAttrs = new Map();\n const props = ['disabled', 'disabled.bind'];\n props.forEach(prop => {\n if (attrs.get(prop)) {\n propAttrs.set(prop, attrs.get(prop));\n attrs.delete(prop);\n }\n });\n return getAttrMarkup(propAttrs);\n};\n\n// get the inline widget template\nconst getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter?) => {\n const options: any = {};\n const fieldName = attrs.get('binding');\n const widget = attrs.get('edit-widget-type') || getEditModeWidget({\n 'type': attrs.get('type'),\n 'related-entity-name': attrs.get('related-entity-name'),\n 'primary-key': attrs.get('primary-key')\n });\n let widgetRef = '';\n let formControl = '';\n let wmFormWidget = '';\n if (widget === FormWidgetType.UPLOAD) {\n options.uploadProps = {\n formName: idGen.nextUid(),\n name: fieldName\n };\n options.counter = pCounter;\n } else {\n widgetRef = isNewRow ? '#inlineWidgetNew' : '#inlineWidget';\n formControl = isNewRow ? `formControlName=\"${fieldName}_new\"` : `formControlName=\"${fieldName}\"`;\n wmFormWidget = 'wmFormWidget';\n }\n options.inputType = 'editinputtype';\n const tmplRef = isNewRow ? '#inlineWidgetTmplNew' : '#inlineWidgetTmpl';\n const eventsTmpl = widget === FormWidgetType.UPLOAD ? '' : getEventsTmpl(attrs);\n const rowPropsTl = getInlineEditRowPropsTmpl(attrs);\n const innerTmpl = `${widgetRef} ${wmFormWidget} key=\"${fieldName}\" data-field-name=\"${fieldName}\" ${formControl} ${eventsTmpl} ${rowPropsTl}`;\n const widgetTmpl = getFormWidgetTemplate(widget, innerTmpl, attrs, options);\n const pendingSpinnerStatus = isNewRow ? 'getPendingSpinnerStatusNew' : 'getPendingSpinnerStatus';\n const validationErrorTmpl = getValiationErrorTemplate(errorstyle);\n /* This element with error message is used to run Automation checks if any error message is present */\n const errorMsgElementForAutomation = '<span class=\"sr-only\" *ngIf=\"getValidationMessage()\">{{getValidationMessage()}}</span>';\n\n return `<ng-template ${tmplRef} let-row=\"row\" let-getControl=\"getControl\" let-getValidationMessage=\"getValidationMessage\" let-${pendingSpinnerStatus}=\"${pendingSpinnerStatus}\">\n <div data-col-identifier=\"${fieldName}\" >\n ${widgetTmpl}\n ${validationErrorTmpl}\n <div class=\"overlay\" *ngIf=\"${pendingSpinnerStatus}()\"><span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span></div>\n ${errorMsgElementForAutomation}\n </div>\n </ng-template>`;\n};\n\nconst getValiationErrorTemplate = (errorTmplType) => {\n let validationErrorTmpl = '';\n switch (errorTmplType) {\n case 'bottom':\n validationErrorTmpl = `<span class=\"help-block text-danger\" *ngIf=\"getValidationMessage() && getControl() && getControl().invalid && getControl().touched\">{{getValidationMessage()}}</span>`;\n break;\n case 'hover':\n default:\n validationErrorTmpl = `<span placement=\"top\" container=\"body\" tooltip=\"{{getValidationMessage()}}\" class=\"text-danger wi wi-error\"\n *ngIf=\"getValidationMessage() && getControl() && getControl().invalid && getControl().touched\">\n </span>`;\n }\n return validationErrorTmpl;\n}\n\nconst getFormatExpression = (attrs) => {\n const columnValue = `row.getProperty('${attrs.get('binding')}')`;\n let formatPattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let colExpression = '';\n // For date time data types, if format pattern is not applied, Apply default toDate format\n if (isDateTimeType(attrs.get('type')) && (!formatPattern || formatPattern === 'None')) {\n attrs.set('formatpattern', 'toDate');\n attrs.delete('datepattern');\n formatPattern = 'toDate';\n }\n switch (formatPattern) {\n case 'toDate':\n colExpression = `{{${columnValue} | toDate: colDef.datepattern}}`;\n break;\n case 'toCurrency':\n if (attrs.get('currencypattern')) {\n colExpression = `{{${columnValue} | toCurrency: '${attrs.get('currencypattern')}`;\n\n if (attrs.get('fractionsize')) {\n colExpression += `': ${attrs.get('fractionsize')}}}`;\n } else {\n colExpression += `'}}`;\n }\n }\n break;\n case 'numberToString':\n if (attrs.get('fractionsize')) {\n colExpression = `{{${columnValue} | numberToString: '${attrs.get('fractionsize')}'}}`;\n }\n break;\n case 'stringToNumber':\n colExpression = `{{${columnValue} | stringToNumber}}`;\n break;\n case 'timeFromNow':\n colExpression = `{{${columnValue} | timeFromNow}}`;\n break;\n case 'prefix':\n if (attrs.get('prefix')) {\n colExpression = `{{${columnValue} | prefix: '${attrs.get('prefix')}'}}`;\n }\n break;\n case 'suffix':\n if (attrs.get('suffix')) {\n colExpression = `{{${columnValue} | suffix: '${attrs.get('suffix')}'}}`;\n }\n break;\n default:\n if(checkIsCustomPipeExpression(formatPattern)){\n colExpression = `{{${columnValue} | ${formatPattern} : ${`row`}}}` ;\n }\n\n break;\n }\n return colExpression;\n};\n\nregister('wm-table-column', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n template: (node: Element, shared) => {\n if (node.children.length) {\n // If node has children, but an empty text node dont generate custom expression\n if (node.children.length === 1 && node.children[0] instanceof Text && (node.children[0] as Text).value.trim().length === 0) {\n return;\n }\n shared.set('customExpression', true);\n addNgModelStandalone(node.children);\n }\n },\n pre: (attrs, shared, parentTable) => {\n let rowFilterTmpl = '';\n let inlineEditTmpl = '';\n let inlineNewEditTmpl = '';\n let parentForm = '';\n if (parentTable) {\n const pCounter = parentTable.get('table_reference');\n rowFilterTmpl = (parentTable.get('filtermode') === 'multicolumn' && attrs.get('searchable') !== 'false') ? getFilterTemplate(attrs, pCounter) : '';\n const editMode = parentTable.get('editmode');\n const isInlineEdit = (editMode !== EDIT_MODE.DIALOG && editMode !== EDIT_MODE.FORM && attrs.get('readonly') !== 'true');\n inlineEditTmpl = isInlineEdit ? getInlineEditWidgetTmpl(attrs, false, parentTable.get('errorstyle'), pCounter) : '';\n inlineNewEditTmpl = isInlineEdit && editMode === EDIT_MODE.QUICK_EDIT && parentTable.get('shownewrow') !== 'false' ? getInlineEditWidgetTmpl(attrs, true, attrs.get('errorstyle')) : '';\n parentForm = ` [formGroup]=\"${pCounter}.ngform\" `;\n }\n const formatPattern = attrs.get('formatpattern');\n const customExpr = `<ng-template #customExprTmpl let-row=\"row\" let-colDef=\"colDef\" let-editRow=\"editRow\" let-deleteRow=\"deleteRow\" let-addNewRow=\"addNewRow\">`;\n let customExprTmpl = '';\n let formatExprTmpl = '';\n\n if (shared.get('customExpression')) {\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\">`;\n } else if ((formatPattern && formatPattern !== 'None') || isDateTimeType(attrs.get('type'))) {\n formatExprTmpl = getFormatExpression(attrs);\n if (formatExprTmpl) {\n shared.set('customExpression', true);\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\" title=\"${formatExprTmpl}\">${formatExprTmpl}`;\n }\n }\n\n return `<${tagName} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>\n ${rowFilterTmpl}\n ${inlineEditTmpl}\n ${inlineNewEditTmpl}\n ${customExprTmpl}`;\n },\n post: (attrs, shared) => {\n let customExprTmpl = '';\n\n if (shared.get('customExpression')) {\n customExprTmpl = `</div></ng-template>`;\n }\n return `${customExprTmpl}</${tagName}>`;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const editWidgetType = attrs.get('edit-widget-type');\n const filterWidgetType = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n return [getRequiredFormWidget(editWidgetType), getRequiredFormWidget(filterWidgetType), 'wm-table'];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getRowExpansionActionTmpl = (attrs) => {\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n const title = attrs.get('display-name') || attrs.get('title') || 'Collapse/Expand';\n return `<ng-template #rowExpansionActionTmpl let-row=\"row\">\n <${tag} ${directive}\n ${getRowActionAttrs(attrs)}\n class=\"${attrs.get('class')} row-expansion-button\"\n iconclass=\"${attrs.get('collapseicon')}\"\n type=\"button\" aria-label=\"${title}\"></${tag}>\n </ng-template>`;\n};\n\nregister('wm-table-row', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n return `<${tagName} wmTableRow ${getAttrMarkup(attrs)}>\n ${getRowExpansionActionTmpl(attrs)}\n <ng-template #rowExpansionTmpl let-row=\"row\" let-rowDef=\"rowDef\" let-containerLoad=\"containerLoad\">\n <div wmContainer partialContainer content.bind=\"rowDef.content\" load.event=\"containerLoad(widget)\"\n [ngStyle]=\"{'height': rowDef.height, 'overflow-y': 'auto'}\">\n <div *ngFor=\"let param of rowDef.partialParams | keyvalue\" wmParam hidden\n [name]=\"param.key\" [value]=\"param.value\"></div>`;\n },\n post: () => `</div></ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getSaveCancelTemplate = () => {\n return `<button type=\"button\" aria-label=\"Save edit icon\" class=\"save row-action-button btn app-button btn-transparent save-edit-row-button hidden\" title=\"Save\">\n <i class=\"wi wi-done\" aria-hidden=\"true\"></i>\n </button>\n <button type=\"button\" aria-label=\"Cancel edit icon\" class=\"cancel row-action-button btn app-button btn-transparent cancel-edit-row-button hidden\" title=\"Cancel\">\n <i class=\"wi wi-cancel\" aria-hidden=\"true\"></i>\n </button>`;\n};\n\n// get the inline widget template\nconst getRowActionTmpl = (attrs) => {\n const action = attrs.get('action');\n const actionTmpl = action ? ` click.event.delayed=\"${action}\" ` : '';\n const saveCancelTmpl = action && action.includes('editRow(') ? getSaveCancelTemplate() : '';\n const btnClass = action ? (action.includes('editRow(') ? 'edit edit-row-button' :\n (action.includes('deleteRow(') ? 'delete delete-row-button' : '')) : '';\n const tabIndex = attrs.get('tabindex') ? `tabindex=\"${attrs.get('tabindex')}\"` : '';\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n return `<ng-template #rowActionTmpl let-row=\"row\">\n <${tag} ${directive} data-action-key=\"${attrs.get('key')}\"\n ${getRowActionAttrs(attrs)}\n class=\"row-action row-action-button ${attrs.get('class')} ${btnClass}\"\n iconclass=\"${attrs.get('iconclass')}\"\n ${actionTmpl}\n ${tabIndex}\n type=\"button\"></${tag}>\n ${saveCancelTmpl}\n </ng-template>`;\n};\n\nregister('wm-table-row-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableRowAction ${getAttrMarkup(attrs)}>\n ${getRowActionTmpl(attrs)}`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('table_');\nlet columnIndex = 0;\n\n/**\n * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order\n * as specified in the configuration.\n * Scenario: ordering the columns when accessrole is specified on column.\n *\n * headerIndex: ID | Name | Street | ==> top level header (ID has index 0, Name 1, Street 2)\n * index: ---- | fname | lname | --- | ==> sub level header ( ID 0, fname 1, lname 2, Street 3)\n * fname will have headerIndex as 1 and colIndex as 1. lname will have headerIndex as 1 and columnIndex as 2.\n * If suppose we have a group in the sub-level-header, then col index will be treated as the header index.\n *\n */\nfunction assignColumnIndex(node, parentIndex?: number) {\n let headerIndex = 0;\n node.forEach((childNode) => {\n const nodeName = (<any>childNode).name;\n const newheaderIndex = parentIndex !== undefined ? parentIndex : headerIndex;\n if (nodeName === 'wm-table-column' || nodeName === 'wm-table-column-group') {\n (childNode as any).attrs.push(new Attribute('index', '' + columnIndex, <any>1, <any>1, <any>1, undefined, undefined));\n (childNode as any).attrs.push(new Attribute('headerIndex', '' + newheaderIndex, <any>1, <any>1, <any>1, undefined, undefined));\n if (nodeName === 'wm-table-column-group') {\n assignColumnIndex(childNode.children, headerIndex);\n }\n columnIndex++;\n headerIndex++;\n }\n });\n}\n\nregister('wm-table', (): IBuildTaskDef => {\n return {\n template: (node: Element, shared) => {\n // If table does not have child columns, set isdynamictable to true\n if (node.children.length) {\n const isColumnsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-column' || (<any>childNode).name === 'wm-table-column-group';\n });\n assignColumnIndex(node.children);\n shared.set('isdynamictable', isColumnsPresent ? 'false' : 'true');\n // If table have row expansion enabled, set isrowexpansionenabled to true\n const isRowsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-row';\n });\n shared.set('isrowexpansionenabled', isRowsPresent ? 'true' : 'false');\n } else {\n shared.set('isdynamictable', 'true');\n }\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');\n },\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n attrs.set('isdynamictable', shared.get('isdynamictable'));\n attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));\n attrs.set('table_reference', counter);\n return `<${tagName} wmTable=\"${counter}\" wmTableFilterSort wmTableCUD #${counter} data-identifier=\"table\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('table_reference', shared.get('counter'));\n provider.set('filtermode', attrs.get('filtermode'));\n provider.set('errorstyle', attrs.get('errorstyle'));\n provider.set('editmode', attrs.get('editmode'));\n provider.set('shownewrow', attrs.get('shownewrow'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-video', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmVideo ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst SPACING_KEY = 'parentLinearLayout.spacing';\nregister('wm-linearlayout', (): IBuildTaskDef => {\n return {\n requires: ['wm-linearlayout'],\n pre: (attrs, shared, provider) => {\n let spacing = attrs.get('spacing');\n attrs.set('spacing',\n (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);\n return `<${tagName} wmLinearLayout ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set(SPACING_KEY, attrs.get('spacing'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-linearlayoutitem', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","export * as carouselBuild from './advanced/carousel/carousel.build';\nexport * as carouselTemplateBuild from './advanced/carousel/carousel-template/carousel-template.build';\nexport * as loginBuild from './advanced/login/login.build';\nexport * as marqueeBuild from './advanced/marquee/marquee.build';\nexport * as anchorBuild from './basic/default/anchor/anchor.build';\nexport * as audioBuild from './basic/default/audio/audio.build';\nexport * as htmlBuild from './basic/default/html/html.build';\nexport * as iconBuild from './basic/default/icon/icon.build';\nexport * as iframeBuild from './basic/default/iframe/iframe.build';\nexport * as labelBuild from './basic/default/label/label.build';\nexport * as pictureBuild from './basic/default/picture/picture.build';\nexport * as spinnerBuild from './basic/default/spinner/spinner.build';\nexport * as progressBarBuild from './basic/progress/progress-bar/progress-bar.build';\nexport * as progressCircleBuild from './basic/progress/progress-circle/progress-circle.build';\nexport * as rteBuild from './basic/rich-text-editor/rich-text-editor.build';\nexport * as searchBuild from './basic/search/search.build';\nexport * as treeBuild from './basic/tree/tree.build';\nexport * as cardBuild from './data/card/card.build';\nexport * as cardContentBuild from './data/card/card-content/card-content.build';\nexport * as cardActionsBuild from './data/card/card-actions/card-actions.build';\nexport * as cardFooterBuild from './data/card/card-footer/card-footer.build';\nexport * as chartBuild from './chart/chart.build';\nexport * as accordionBuild from './containers/accordion/accordion.build';\nexport * as accordionPaneBuild from './containers/accordion/accordion-pane/accordion-pane.build';\nexport * as containerBuild from './containers/container.build';\nexport * as lgcolBuild from './containers/layout-grid/layout-grid-column/layout-grid-column.build';\nexport * as lgrowBuild from './containers/layout-grid/layout-grid-row/layout-grid-row.build';\nexport * as lgBuild from './containers/layout-grid/layout-grid.build';\nexport * as panelBuild from './containers/panel/panel.build';\nexport * as segControlBuild from './containers/segmented-control/segmented-control.build';\nexport * as segContentBuild from './containers/segmented-control/segment-content/segment-content.build';\nexport * as repeatTemplateBuild from './containers/repeat-template.build';\nexport * as tabsBuild from './containers/tabs/tabs.build';\nexport * as tabPaneBuild from './containers/tabs/tab-pane/tab-pane.build';\nexport * as tileBuild from './containers/tile/tile.build';\nexport * as wizardBuild from './containers/wizard/wizard.build';\nexport * as wizardStepBuild from './containers/wizard/wizard-step/wizard-step.build';\nexport * as barcodeScannerBuild from './device/barcode-scanner/barcode-scanner.build';\nexport * as cameraBuild from './device/camera/camera.build';\nexport * as alertDlgBuild from './dialogs/alert-dialog/alert-dialog.build';\nexport * as confirmDlgBuild from './dialogs/confirm-dialog/confirm-dialog.build';\nexport * as dlgFooterBuild from './dialogs/base/dialog-footer/dialog-footer.build';\nexport * as dlgBuild from './dialogs/design-dialog/dialog.build';\nexport * as iframeDlgBuild from './dialogs/iframe-dialog/iframe-dialog.build';\nexport * as loginDlgBuild from './dialogs/login-dialog/login-dialog.build';\nexport * as partialDlgBuild from './dialogs/partial-dialog/partial-dialog.build';\nexport * as formFieldBuild from './data/form/form-field/form-field.build';\nexport * as formActionBuild from './data/form/form-action/form-action.build';\nexport * as formBuild from './data/form/form.build';\nexport * as calendarBuild from './input/calendar/calendar.build';\nexport * as chipsBuild from './input/chips/chips.build';\nexport * as colorPickerBuild from './input/color-picker/color-picker.build';\nexport * as currencyBuild from './input/currency/currency.build';\nexport * as buttonGroupBuild from './input/default/button-group/button-group.build';\nexport * as buttonBuild from './input/default/button/button.build';\nexport * as checkboxBuild from './input/default/checkbox/checkbox.build';\nexport * as checkboxSetBuild from './input/default/checkboxset/checkboxset.build';\nexport * as compositeBuild from './input/default/composite/composite.build';\nexport * as numberBuild from './input/default/number/number.build';\nexport * as radiosetBuild from './input/default/radioset/radioset.build';\nexport * as selectBuild from './input/default/select/select.build';\nexport * as switchBuild from './input/default/switch/switch.build';\nexport * as textBuild from './input/default/text/text.build';\nexport * as textAreaBuild from './input/default/textarea/textarea.build';\nexport * as dateTimeBuild from './input/epoch/date-time/date-time.build';\nexport * as dateBuild from './input/epoch/date/date.build';\nexport * as timeBuild from './input/epoch/time/time.build';\nexport * as fileUploadBuild from './input/file-upload/file-upload.build';\nexport * as ratingBuild from './input/rating/rating.build';\nexport * as sliderBuild from './input/slider/slider.build';\nexport * as mediaListBuild from './data/media-list/media-list.build';\nexport * as mediaListItemBuild from './data/media-list/media-list-item/media-list-item.build';\nexport * as listBuild from './data/list/list.build';\nexport * as liveTableBuild from './data/live-table/live-table.build';\nexport * as messageBuild from './message/message.build';\nexport * as breadcrumbBuild from './navigation/breadcrumb/breadcrumb.build';\nexport * as menuBuild from './navigation/menu/menu.build';\nexport * as navItemBuild from './navigation/nav/nav-item/nav-item.build';\nexport * as navBuild from './navigation/nav/nav.build';\nexport * as navbarBuild from './navigation/navbar/navbar.build';\nexport * as popoverBuild from './navigation/popover/popover.build';\nexport * as pageBuild from './page/page.build';\nexport * as layoutBuild from './page/layout.build';\nexport * as routerOutletBuild from './page/router-outlet/router-outlet.build';\nexport * as paginationBuild from './data/pagination/pagination.build';\nexport * as contentBuild from './page/content/content.build';\nexport * as footerBuild from './page/footer/footer.build';\nexport * as headerBuild from './page/header/header.build';\nexport * as leftPanelBuild from './page/left-panel/left-panel.build';\nexport * as mobileNavbarBuild from './page/mobile-navbar/mobile-navbar.build';\nexport * as rightPanelBuild from './page/right-panel/right-panel.build';\nexport * as pageContentBuild from './page/page-content/page-content.build';\nexport * as tabBarBuild from './page/tab-bar/tab-bar.build';\nexport * as topNavBuild from './page/top-nav/top-nav.build';\nexport * as partialBuild from './partial/partial.build';\nexport * as partialParamBuild from './partial-param/partial-param.build';\nexport * as prefabBuild from './prefab/prefab.build';\nexport * as prefabContainerBuild from './prefab/prefab-container/prefab-container.build';\nexport * as tableActionBuild from './data/table/table-action/table-action.build';\nexport * as tableColumnGroupBuild from './data/table/table-column-group/table-column-group.build';\nexport * as tableColumnBuild from './data/table/table-column/table-column.build';\nexport * as tableRowBuild from './data/table/table-row/table-row.build';\nexport * as tableRowActionBuild from './data/table/table-row-action/table-row-action.build';\nexport * as tableBuild from './data/table/table.build';\nexport * as videoBuild from './basic/default/video/video.build';\nexport * as linearLayoutBuild from './containers/linear-layout/linear-layout.build';\nexport * as linearLayoutItemBuild from './containers/linear-layout/linear-layout-item/linear-layout-item.build';\n\nexport * from '@wm/transpiler';\n\nexport const initComponentsBuildTask = () => {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["dataSetKey","idGen","counter","tagName","this","formWidgets","copyAttribute","createElement","noSpan","addAtrribute"],"mappings":";;;;;;AAIA,MAAM,eAAe,GAAG,UAAU,CAAC;AACnC,MAAMA,YAAU,GAAG,SAAS,CAAC;AAC7B,MAAMC,OAAK,GAAG,IAAI,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAElD,MAAM,iBAAiB,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC;AAE5G,QAAQ,CAAC,aAAa,EAAE,MAAoB;IACxC,OAAO;AACH,QAAA,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAI;;AAEnB,YAAA,MAAM,OAAO,GAAGA,OAAK,CAAC,OAAO,EAAE,CAAC;AAChC,YAAA,MAAM,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AACpC,YAAA,OAAO,CAAuC,oCAAA,EAAA,eAAe,CAAgB,aAAA,EAAA,OAAO,CAAkB,eAA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AG,CAAA,CAAA;AACvE,QAAA,IAAI,EAAE,MAAM,CAAA,EAAA,EAAK,OAAO,CAAG,CAAA,CAAA;KAC9B,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,6BAAe,MAAO,GAAC;;;;;;;MCmGV,uBAAuB,GAAG,MAAK;;AC9G5C;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../projects/components/transpile/src/advanced/carousel/carousel.build.ts","../../../projects/components/transpile/src/advanced/carousel/carousel-template/carousel-template.build.ts","../../../projects/components/transpile/src/advanced/login/login.build.ts","../../../projects/components/transpile/src/advanced/marquee/marquee.build.ts","../../../projects/components/transpile/src/basic/default/anchor/anchor.build.ts","../../../projects/components/transpile/src/basic/default/audio/audio.build.ts","../../../projects/components/transpile/src/basic/default/html/html.build.ts","../../../projects/components/transpile/src/basic/default/icon/icon.build.ts","../../../projects/components/transpile/src/basic/default/iframe/iframe.build.ts","../../../projects/components/transpile/src/basic/default/label/label.build.ts","../../../projects/components/transpile/src/basic/default/picture/picture.build.ts","../../../projects/components/transpile/src/basic/default/spinner/spinner.build.ts","../../../projects/components/transpile/src/basic/progress/progress-bar/progress-bar.build.ts","../../../projects/components/transpile/src/basic/progress/progress-circle/progress-circle.build.ts","../../../projects/components/transpile/src/basic/rich-text-editor/rich-text-editor.build.ts","../../../projects/components/transpile/src/basic/search/search.build.ts","../../../projects/components/transpile/src/basic/tree/tree.build.ts","../../../projects/components/transpile/src/data/card/card.build.ts","../../../projects/components/transpile/src/data/card/card-content/card-content.build.ts","../../../projects/components/transpile/src/data/card/card-actions/card-actions.build.ts","../../../projects/components/transpile/src/data/card/card-footer/card-footer.build.ts","../../../projects/components/transpile/src/chart/chart.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion-pane/accordion-pane.build.ts","../../../projects/components/transpile/src/containers/container.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-column/layout-grid-column.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-row/layout-grid-row.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid.build.ts","../../../projects/components/transpile/src/containers/panel/panel.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segmented-control.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segment-content/segment-content.build.ts","../../../projects/components/transpile/src/containers/repeat-template.build.ts","../../../projects/components/transpile/src/containers/tabs/tabs.build.ts","../../../projects/components/transpile/src/containers/tabs/tab-pane/tab-pane.build.ts","../../../projects/components/transpile/src/containers/tile/tile.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-step/wizard-step.build.ts","../../../projects/components/transpile/src/device/barcode-scanner/barcode-scanner.build.ts","../../../projects/components/transpile/src/device/camera/camera.build.ts","../../../projects/components/transpile/src/dialogs/alert-dialog/alert-dialog.build.ts","../../../projects/components/transpile/src/dialogs/confirm-dialog/confirm-dialog.build.ts","../../../projects/components/transpile/src/dialogs/base/dialog-footer/dialog-footer.build.ts","../../../projects/components/transpile/src/dialogs/design-dialog/dialog.build.ts","../../../projects/components/transpile/src/dialogs/iframe-dialog/iframe-dialog.build.ts","../../../projects/components/transpile/src/dialogs/login-dialog/login-dialog.build.ts","../../../projects/components/transpile/src/dialogs/partial-dialog/partial-dialog.build.ts","../../../projects/components/transpile/src/utils/utils.ts","../../../projects/components/transpile/src/data/form/form-field/form-field.build.ts","../../../projects/components/transpile/src/data/form/form-action/form-action.build.ts","../../../projects/components/transpile/src/data/form/form.build.ts","../../../projects/components/transpile/src/input/calendar/calendar.build.ts","../../../projects/components/transpile/src/input/chips/chips.build.ts","../../../projects/components/transpile/src/input/color-picker/color-picker.build.ts","../../../projects/components/transpile/src/input/currency/currency.build.ts","../../../projects/components/transpile/src/input/default/button-group/button-group.build.ts","../../../projects/components/transpile/src/input/default/button/button.build.ts","../../../projects/components/transpile/src/input/default/checkbox/checkbox.build.ts","../../../projects/components/transpile/src/input/default/checkboxset/checkboxset.build.ts","../../../projects/components/transpile/src/input/default/composite/composite.build.ts","../../../projects/components/transpile/src/input/default/number/number.build.ts","../../../projects/components/transpile/src/input/default/radioset/radioset.build.ts","../../../projects/components/transpile/src/input/default/select/select.build.ts","../../../projects/components/transpile/src/input/default/switch/switch.build.ts","../../../projects/components/transpile/src/input/default/text/text.build.ts","../../../projects/components/transpile/src/input/default/textarea/textarea.build.ts","../../../projects/components/transpile/src/input/epoch/date-time/date-time.build.ts","../../../projects/components/transpile/src/input/epoch/date/date.build.ts","../../../projects/components/transpile/src/input/epoch/time/time.build.ts","../../../projects/components/transpile/src/input/file-upload/file-upload.build.ts","../../../projects/components/transpile/src/input/rating/rating.build.ts","../../../projects/components/transpile/src/input/slider/slider.build.ts","../../../projects/components/transpile/src/data/media-list/media-list.build.ts","../../../projects/components/transpile/src/data/media-list/media-list-item/media-list-item.build.ts","../../../projects/components/transpile/src/data/list/list.build.ts","../../../projects/components/transpile/src/data/live-table/live-table.build.ts","../../../projects/components/transpile/src/message/message.build.ts","../../../projects/components/transpile/src/navigation/breadcrumb/breadcrumb.build.ts","../../../projects/components/transpile/src/navigation/menu/menu.build.ts","../../../projects/components/transpile/src/navigation/nav/nav-item/nav-item.build.ts","../../../projects/components/transpile/src/navigation/nav/nav.build.ts","../../../projects/components/transpile/src/navigation/navbar/navbar.build.ts","../../../projects/components/transpile/src/navigation/popover/popover.build.ts","../../../projects/components/transpile/src/page/page.build.ts","../../../projects/components/transpile/src/page/layout.build.ts","../../../projects/components/transpile/src/page/router-outlet/router-outlet.build.ts","../../../projects/components/transpile/src/data/pagination/pagination.build.ts","../../../projects/components/transpile/src/page/content/content.build.ts","../../../projects/components/transpile/src/page/footer/footer.build.ts","../../../projects/components/transpile/src/page/header/header.build.ts","../../../projects/components/transpile/src/page/left-panel/left-panel.build.ts","../../../projects/components/transpile/src/page/mobile-navbar/mobile-navbar.build.ts","../../../projects/components/transpile/src/page/right-panel/right-panel.build.ts","../../../projects/components/transpile/src/page/page-content/page-content.build.ts","../../../projects/components/transpile/src/page/tab-bar/tab-bar.build.ts","../../../projects/components/transpile/src/page/top-nav/top-nav.build.ts","../../../projects/components/transpile/src/partial/partial.build.ts","../../../projects/components/transpile/src/partial-param/partial-param.build.ts","../../../projects/components/transpile/src/prefab/prefab.build.ts","../../../projects/components/transpile/src/prefab/prefab-container/prefab-container.build.ts","../../../projects/components/transpile/src/data/table/table-action/table-action.build.ts","../../../projects/components/transpile/src/data/table/table-column-group/table-column-group.build.ts","../../../projects/components/transpile/src/data/table/table-column/table-column.build.ts","../../../projects/components/transpile/src/data/table/table-row/table-row.build.ts","../../../projects/components/transpile/src/data/table/table-row-action/table-row-action.build.ts","../../../projects/components/transpile/src/data/table/table.build.ts","../../../projects/components/transpile/src/basic/default/video/video.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout-item/linear-layout-item.build.ts","../../../projects/components/transpile/src/public_api.ts","../../../projects/components/transpile/src/index.ts"],"sourcesContent":["import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst carouselTagName = 'carousel';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_carousel_ref_');\n\nconst isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-carousel', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the carousel\n const counter = idGen.nextUid();\n shared.set('carousel_ref', counter);\n return `<div class=\"app-carousel carousel\"><${carouselTagName} wmCarousel #${counter}=\"wmCarousel\" ${getAttrMarkup(attrs)} interval=\"0\" [ngClass]=\"${counter}.navigationClass\">`;\n },\n post: () => `</${carouselTagName}></div>`,\n template: (node: Element) => {\n // check if the carousel is dynamic\n if (isDynamicCarousel(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent carousel reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('carousel_ref', shared.get('carousel_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst carouselContentTagName = 'slide';\nlet counter = 1;\n// For static carousel\nregister('wm-carousel-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)}>`,\n post: () => `</${carouselContentTagName}>`\n };\n});\n\n// For dynamic carousel\nregister('wm-carousel-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-carousel'],\n pre: (attrs, shared, parentCarousel) => {\n const carouselRef = parentCarousel.get('carousel_ref');\n return `<div *ngIf=\"!${carouselRef}.fieldDefs\">{{${carouselRef}.nodatamessage}}</div>\n <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef=\"carouselTemplateRef\" ${getAttrMarkup(attrs)} *ngFor=\"let item of ${carouselRef}.fieldDefs; let i = index;\">\n <ng-container [ngTemplateOutlet]=\"carouselTempRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})\"></ng-container>\n </${carouselContentTagName}>\n <ng-template #carouselTempRef${counter++} let-item=\"item\" let-index=\"index\">`;\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-login', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLogin ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\">`,\n post: () => `</${tagName}>`,\n provide: () => {\n const provider = new Map();\n provider.set('isLogin', true);\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'marquee';\n\nregister('wm-marquee', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} onmouseover=\"this.stop();\" onmouseout=\"this.start();\" wmMarquee role=\"marquee\" aria-live=\"off\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'a';\nconst idGen = new IDGenerator('wm_anchor');\n\nregister('wm-anchor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmAnchor #${counter}=\"wmAnchor\" role=\"link\" data-identifier=\"anchor\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-audio', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAudio ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_html');\n\nregister('wm-html', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmHtml #${counter}=\"wmHtml\" role=\"application\" [attr.aria-label]=\"${counter}.arialabel || 'HTML content'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'span';\n\nregister('wm-icon', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIcon ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframe', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframe ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nlet tagName = 'p';\nconst idGen = new IDGenerator('wm_label');\n\nregister('wm-label', (): IBuildTaskDef => {\n return {\n pre: (attrs:any) => {\n if(!attrs.get(\"notag\")){\n if(!attrs.get('type')){\n const classList=attrs.get('class') ? attrs.get('class').split(' ').filter(element => [\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\"].includes(element)):[];\n attrs.set('type',classList.length ? classList[0] : \"p\");\n }\n tagName= attrs.get('type');\n }\n else{\n tagName='label';\n }\n const counter = idGen.nextUid();\n return `<${tagName} wmLabel #${counter}=\"wmLabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'img';\nconst idGen = new IDGenerator('wm_picture');\n\nregister('wm-picture', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPicture #${counter}=\"wmPicture\" [alt]=\"${counter}.alttext\" wmImageCache=\"${attrs.get('offline') || 'true'}\" [attr.aria-label]=\"${counter}.arialabel || 'Image'\" ${getAttrMarkup(attrs)}>`;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_spinner');\n\nregister('wm-spinner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSpinner #${counter}=\"wmSpinner\" role=\"alert\" [attr.aria-label]=\"${counter}.arialabel || 'Loading...'\" aria-live=\"assertive\" aria-busy=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst getAttr = (node: Element, attrName: string) => node.attrs.find(attr => attr.name === attrName);\n\nconst getAttrValue = (node: Element, attrName: string): string | undefined => {\n const match = getAttr(node, attrName);\n if (match) {\n return match.value;\n }\n};\n\nconst getReplaceRegex = (v: string) => new RegExp(`bind:(${v}|${v}\\\\[\\\\$i])\\\\.`, 'g');\n\nregister('wm-progress-bar', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const dataset = getAttrValue(node, 'dataset');\n const boundExpr = getBoundToExpr(dataset);\n\n if (boundExpr) {\n let type = getAttrValue(node, 'type');\n let datavalue = getAttrValue(node, 'datavalue');\n\n const replaceRegex = getReplaceRegex(boundExpr);\n\n if (type && type.includes(boundExpr)) {\n type = type.replace(replaceRegex, '');\n getAttr(node, 'type').value = type;\n }\n\n if (datavalue && datavalue.includes(boundExpr)) {\n datavalue = datavalue.replace(replaceRegex, '');\n getAttr(node, 'datavalue').value = datavalue;\n }\n }\n },\n pre: attrs => `<${tagName} wmProgressBar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_progress_circle');\n\nregister('wm-progress-circle', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmProgressCircle #${counter}=\"wmProgressCircle\" role=\"progressbar\" [attr.aria-label]=\"${counter}.arialabel || 'circle-progress'\" [attr.hint]=\"${counter}.hint\" [attr.aria-valuetext]=\"${counter}.displayValue\" [attr.aria-valuemin]=\"${counter}.minvalue\" [attr.aria-valuemax]=\"${counter}.maxvalue\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_richtexteditor');\n\nregister('wm-richtexteditor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRichTextEditor #${counter}=\"wmRichTextEditor\" role=\"textbox\" [attr.aria-label]=\"${counter}.arialabel || 'Richtext editor'\" ${getFormMarkupAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-search', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-tree', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTree class=\"ztree\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCard ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-actions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardActions ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-chart', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChart redrawable aria-label=\"${attrs.get('type')} Chart\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_accordion_ref_');\n\nconst isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-accordion', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the accordion\n const counter = idGen.nextUid();\n shared.set('accordion_ref', counter);\n return `<${tagName} wmAccordion #${counter}=\"wmAccordion\" role=\"tablist\" aria-multiselectable=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the accordion is dynamic\n if (isDynamicAccordion(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent accordion reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('accordion_ref', shared.get('accordion_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_accordionpane');\n\nregister('wm-accordionpane', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} #${counter}=\"wmAccordionPane\" [attr.aria-expanded]=\"${counter}.isActive\" wmAccordionPane partialContainer wm-navigable-element=\"true\" role=\"tab\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-container', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContainer partialContainer wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridcolumn', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridrow', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-layoutgrid', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGrid ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_panel');\n\nregister('wm-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPanel #${counter}=\"wmPanel\" partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nregister('wm-panel-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPanelFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-segmented-control', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentedControl ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-segment-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst dynamicTemplateTagName = 'div';\nlet counter = 1;\n\n\n// For dynamic accordion panes/tab panes\nregister('wm-repeat-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-accordion', 'wm-tabs'],\n pre: (attrs, shared, parentAccordion, parentTab) => {\n const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref'));\n if (widgetRef) {\n return `<div *ngIf=\"${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length\">{{${widgetRef}.nodatamessage}}</div>\n <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef=\"repeatItemRef\" ${getAttrMarkup(attrs)} *ngFor=\"let item of ${widgetRef}.fieldDefs; let i = index;\">\n <ng-container [ngTemplateOutlet]=\"widgetRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})\"></ng-container>\n </${dynamicTemplateTagName}>\n <ng-template #widgetRef${counter++} let-item=\"item\" let-index=\"index\">`;\n }\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_tabs_ref_');\n\nconst isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-tabs', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the tabs\n const counter = idGen.nextUid();\n shared.set('tabs_ref', counter);\n return `<${tagName} wmTabs #${counter}=\"wmTabs\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicTabs(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('tabs_ref', shared.get('tabs_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nregister('wm-tabpane', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element=\"true\" role=\"tabpanel\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-tile', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTile wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-wizard', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmWizard role=\"tablist\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IDGenerator } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('wizard_step_id_');\n\nregister('wm-wizardstep', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWizardStep #${counter}=\"wmWizardStep\" ${getAttrMarkup(attrs)}>\n <ng-template [ngIf]=\"${counter}.isInitialized\">`;\n },\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_barcodescanner');\n\nregister('wm-barcodescanner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmBarcodescanner #${counter}=\"wmBarcodescanner\" [attr.aria-label]=\"${counter}.arialabel || 'Barcode scanner'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_camera');\n\nregister('wm-camera', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} type='button' wmCamera #${counter}=\"wmCamera\" [attr.aria-label]=\"${counter}.arialabel || 'Camera'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-alertdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAlertDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-confirmdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmConfirmDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialogactions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #dialogFooter><${tagName} wmDialogFooter data-identfier=\"actions\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog ${getAttrMarkup(attrs)} aria-modal=\"true\" role=\"dialog\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\n// Todo:vinay remove wm-view in migration\nregister('wm-view', (): IBuildTaskDef => {\n return {\n pre: attrs => '',\n post: () => ''\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframedialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframeDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-logindialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-pagedialog', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const content = attrs.get('content');\n attrs.delete('content');\n\n const boundContent = attrs.get('content.bind');\n attrs.delete('content.bind');\n\n const onLoad = attrs.get('load.event');\n attrs.delete('load.event');\n\n let onLoadEvtMarkup = '';\n let contentMarkup = '';\n\n if (onLoad) {\n onLoadEvtMarkup = `load.event=\"${onLoad}\"`;\n }\n\n if (boundContent) {\n contentMarkup = `content.bind=\"${boundContent}\"`;\n } else if (content) {\n contentMarkup = `content=\"${content}\"`;\n }\n\n let containerMarkup = '';\n if (contentMarkup) {\n\n shared.set('hasPartialContent', true);\n containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width=\"100%\" height=\"100%\" ${onLoadEvtMarkup}>`;\n }\n\n return `<${tagName} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;\n },\n post: (attrs, shared) => {\n let preContent = '';\n if (shared.get('hasPartialContent')) {\n preContent = `</div></ng-template>`;\n }\n return `${preContent}</${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {DataType, FormWidgetType} from '@wm/core';\n\nexport const ALLFIELDS = 'All Fields';\nexport const EDIT_MODE = {\n QUICK_EDIT : 'quickedit',\n INLINE : 'inline',\n FORM : 'form',\n DIALOG : 'dialog'\n};\n\nconst fieldTypeWidgetTypeMap = {\n 'integer' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'short' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'float' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_decimal': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'number' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'double' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'long' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'byte' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'string' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'character' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'switch', 'currency', 'autocomplete', 'chips'],\n 'text' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'date' : ['date', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'time' : ['time', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'timestamp' : ['timestamp', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'datetime' : ['datetime', 'text', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'boolean' : ['checkbox', 'radioset', 'toggle', 'select'],\n 'list' : ['select', 'radioset', 'checkboxset', 'switch', 'autocomplete', 'chips'],\n 'clob' : ['text', 'textarea', 'richtext'],\n 'blob' : ['upload'],\n 'file' : ['upload'],\n 'custom' : ['text', 'number', 'textarea', 'password', 'checkbox', 'toggle', 'slider', 'richtext', 'currency', 'switch',\n 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'rating', 'datetime', 'autocomplete', 'chips', 'colorpicker']\n};\n\nconst DATASET_WIDGETS = new Set([FormWidgetType.SELECT, FormWidgetType.CHECKBOXSET, FormWidgetType.RADIOSET,\n FormWidgetType.SWITCH, FormWidgetType.AUTOCOMPLETE, FormWidgetType.CHIPS, FormWidgetType.TYPEAHEAD, FormWidgetType.RATING]);\n\nexport const isDataSetWidget = widget => {\n return DATASET_WIDGETS.has(widget);\n};\n\n// Get filter widget applicable to the given type\nexport const getDataTableFilterWidget = type => {\n let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];\n if (type === DataType.BOOLEAN) {\n widget = FormWidgetType.SELECT;\n }\n const filterWidgets = [FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,\n FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME];\n if (filterWidgets.includes(widget)) {\n return widget;\n }\n return FormWidgetType.TEXT;\n};\n\n/**\n * @ngdoc function\n * @name wm.widgets.live.getEditModeWidget\n * @methodOf wm.widgets.live.LiveWidgetUtils\n * @function\n *\n * @description\n * This function returns the default widget for grid\n *\n * @param {object} colDef field definition\n */\nexport const getEditModeWidget = colDef => {\n if (colDef['related-entity-name'] && colDef['primary-key']) {\n return FormWidgetType.SELECT;\n }\n return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;\n};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {\n FormWidgetType,\n generateGUId,\n getFormWidgetTemplate,\n getRequiredFormWidget,\n IDGenerator,\n isMobileApp\n} from '@wm/core';\n\nimport {ALLFIELDS, isDataSetWidget} from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('formfield_');\n\nconst getEventsTemplate = (attrs) => {\n const eventAttrs = new Map();\n if (!attrs.has('focus.event')) {\n attrs.set('focus.event', '');\n }\n if (!attrs.has('blur.event')) {\n attrs.set('blur.event', '');\n }\n attrs.forEach((value, key) => {\n if (key.endsWith('.event')) {\n if (key === 'focus.event') {\n value = `_onFocusField($event);${value}`;\n } else if (key === 'blur.event') {\n value = `_onBlurField($event);${value}`;\n }\n eventAttrs.set(key, value);\n attrs.delete(key);\n }\n });\n return getFormMarkupAttr(eventAttrs);\n};\n\nconst DEFAULT_PLACEHOLDERS = new Map([\n [FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],\n [FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],\n [FormWidgetType.TIME, ['Select Min time', 'Select Max time', 'Select time']],\n [FormWidgetType.DATE, ['Select Min date', 'Select Max date', 'Select date']],\n [FormWidgetType.TEXTAREA, ['', '', 'Enter value']],\n [FormWidgetType.RICHTEXT, ['', '', 'Enter value']],\n [FormWidgetType.COLORPICKER, ['Select Color', 'Select Color', 'Select Color']],\n [FormWidgetType.CHIPS, ['', '', 'Type here...']],\n [FormWidgetType.PASSWORD, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.NUMBER, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.TEXT, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.CURRENCY, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.AUTOCOMPLETE, ['', '', 'Search']],\n]);\n\nconst setDefaultPlaceholder = (attrs, widgetType, index) => {\n const prop = index === 1 ? 'maxplaceholder' : 'placeholder';\n let placeholder = attrs.get(prop);\n if (placeholder || placeholder === '') {\n return;\n }\n placeholder = DEFAULT_PLACEHOLDERS.get(widgetType) && DEFAULT_PLACEHOLDERS.get(widgetType)[index];\n if (placeholder) {\n attrs.set(prop, placeholder);\n }\n};\n\nconst getWidgetTemplate = (attrs, options) => {\n const name = attrs.get('name');\n const fieldName = (attrs.get('key') || name || '').trim();\n const formControl = options.isMaxWidget ? `formControlName=\"${fieldName}_max\"` : (options.isInList ? `[formControlName]=\"${options.counter}._fieldName\"` : `formControlName=\"${fieldName}\"`);\n const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;\n const widgetName = name ? (options.isMaxWidget ? `name=\"${name}_formWidgetMax\"` : `name=\"${name}_formWidget\"`) : '';\n const conditionalClass = `[ngClass]=\"${attrs.get('ngclass')}\"`;\n const defaultTmpl = `[class.hidden]=\"!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'\" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;\n return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, {counter: options.counter, pCounter: options.pCounter});\n};\n\n\nconst getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {\n const isRange = attrs.get('is-range') === 'true';\n if (!isRange) {\n return getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isInList});\n }\n const layoutClass = isMobileApp() ? 'col-xs-6' : 'col-sm-6';\n return `<div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter})}</div>\n <div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isMaxWidget: true})}</div>`;\n};\n\nconst getCaptionByWidget = (attrs, widgetType, counter) => {\n if (attrs.get('is-related') === 'true') {\n return `${counter}.getDisplayExpr()`;\n }\n if (widgetType === FormWidgetType.PASSWORD) {\n return '\\'********\\'';\n }\n let caption = `${counter}.value`;\n if (widgetType === FormWidgetType.DATETIME || widgetType === FormWidgetType.TIMESTAMP) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MM-dd hh:mm:ss a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.TIME) {\n caption += ` | toDate:${counter}.formWidget.timepattern || 'hh:mm a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.DATE) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MMM-dd'`;\n return caption;\n }\n if (widgetType === FormWidgetType.RATING || widgetType === FormWidgetType.UPLOAD) {\n return '';\n }\n if (isDataSetWidget(widgetType) && attrs.get('datafield') === ALLFIELDS) {\n return `${counter}.getDisplayExpr()`;\n }\n return `${counter}.getCaption()`;\n};\n\nconst registerFormField = (isFormField): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],\n pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {\n const counter = idGen.nextUid();\n const parent = parentForm || parentLiveForm || parentFilter;\n const pCounter = (parent && parent.get('form_reference')) || 'form';\n const widgetType = attrs.get('widget') || FormWidgetType.TEXT;\n const dataRole = isFormField ? 'form-field' : 'filter-field';\n const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();\n const validationMsg = isFormField ? `<p *ngIf=\"${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode\"\n class=\"help-block text-danger\" aria-hidden=\"false\" role=\"alert\"\n aria-live=\"assertive\" [attr.aria-label]=\"${counter}.validationmessage\" id=\"${formFieldErrorMsgId}\"><span aria-hidden=\"true\" [textContent]=\"${counter}.validationmessage\"></span></p>` : '';\n const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);\n const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';\n const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));\n attrs.set('__validationId', formFieldErrorMsgId);\n attrs.set('__widgetType', widgetType);\n attrs.delete('widget');\n shared.set('counter', counter);\n\n if (attrs.get('is-range') === 'true') {\n setDefaultPlaceholder(attrs, widgetType, 0);\n setDefaultPlaceholder(attrs, widgetType, 1);\n } else {\n setDefaultPlaceholder(attrs, widgetType, 2);\n }\n\n return `<${tagName} data-role=\"${dataRole}\" [formGroup]=\"${pCounter}.ngform\" wmFormField wmCaptionPosition #${counter}=\"wmFormField\" widgettype=\"${widgetType}\" ${getFormMarkupAttr(attrs)}>\n <div class=\"live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}\" widget=\"${widgetType}\">\n <label [hidden]=\"!${counter}.displayname\" class=\"app-label control-label formfield-label {{${pCounter}._captionClass}}\"\n [ngStyle]=\"{width: ${pCounter}.captionsize}\" [ngClass]=\"{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,\n required: ${pCounter}.isUpdateMode && ${counter}.required}\" [textContent]=\"${counter}.displayname\"> </label>\n <div [ngClass]=\"${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'\">\n <label class=\"form-control-static app-label\"\n [hidden]=\"${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'\" [innerHTML]=\"${getCaptionByWidget(attrs, widgetType, counter)}\"></label>\n ${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}\n <span aria-hidden=\"true\" *ngIf=\"${counter}.showPendingSpinner\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span>\n <p *ngIf=\"!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode\"\n class=\"help-block\" aria-hidden=\"true\" role=\"alert\" aria-live=\"polite\" [textContent]=\"${counter}.hint\"></p>\n ${validationMsg}\n </div>\n </div>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const requiredWidget = getRequiredFormWidget(attrs.get('__widgetType') || attrs.get('type'));\n attrs.delete('__widgetType');\n return [requiredWidget, 'wm-form'];\n }\n };\n};\n\nregister('wm-form-field', registerFormField.bind(this, true));\nregister('wm-filter-field', registerFormField.bind(this, false));\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst registerAction = (tmpl): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmFormAction name=\"${attrs.get('name') || attrs.get('key')}\" ${getAttrMarkup(attrs)} ${tmpl}>`,\n post: () => `</${tagName}>`\n };\n};\n\nregister('wm-form-action', registerAction.bind(this, ''));\nregister('wm-filter-action', registerAction.bind(this, ` update-mode=\"true\" `));\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register, getDataSource } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('form_');\n\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-richtexteditor',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-upload',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker',\n 'wm-table'\n]);\n\nlet numberOfFields;\n\nconst addFormControlName = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name === 'wm-form-field') {\n numberOfFields++;\n }\n if (formWidgets.has(childNode.name)) {\n let key = childNode.attrs.find((attr) => attr.name === 'key' || attr.name === 'name');\n key = key && key.value;\n if (!key) {\n // for checkbox inside table inside form, key and name attrs are not available. Using datavalue to construct formControlName instead.\n let dataValue = childNode.attrs.find((attr) => attr.name === 'datavalue');\n if (dataValue && dataValue.value) {\n const regex = /\\((.*)\\)/;\n dataValue = dataValue.value.match(regex);\n if (dataValue && dataValue.length > 1) {\n key = dataValue[1].replace(/[\"']/g, '');\n }\n }\n }\n childNode.attrs.push(new Attribute('formControlName', key, <any>1, <any>1, <any>1, undefined, undefined));\n childNode.attrs.push(new Attribute('wmFormWidget', '', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addFormControlName(childNode.children);\n });\n};\n\nconst updateFormDataSource = (attrMap) => {\n if (attrMap.get('formdata.bind')) {\n const formDataSource = getDataSource(attrMap.get('formdata.bind'));\n if (formDataSource) {\n attrMap.set('formdatasource.bind', formDataSource);\n }\n }\n};\n\nconst buildTask = (directiveAttr = ''): IBuildTaskDef => {\n return {\n requires: ['wm-livetable', 'wm-login'],\n template: (node: Element) => {\n numberOfFields = 0;\n addFormControlName(node.children);\n },\n pre: (attrs, shared, parentLiveTable, parentLoginWidget) => {\n let tmpl;\n let dialogId;\n const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';\n const counter = idGen.nextUid();\n const dependsOn = attrs.get('dependson') ? `dependson=\"${attrs.get('dependson')}\"` : '';\n if(dependsOn) {\n attrs.set('dependsontable', attrs.get('dependson'));\n }\n const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';\n const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];\n attrs.delete('dependson');\n const liveFormTmpl = `<${tagName} wmForm data-role=\"${role}\" ${directiveAttr} #${counter} ngNativeValidate [formGroup]=\"${counter}.ngform\" [noValidate]=\"${counter}.validationtype !== 'html'\"\n class=\"${classProp}\" [class]=\"${counter}.captionAlignClass\" [autocomplete]=\"${counter}.autocomplete ? 'on' : 'off'\" captionposition=${attrs.get('captionposition')}`;\n attrs.set('numberOfFields', `${numberOfFields}`);\n shared.set('counter', counter);\n updateFormDataSource(attrs);\n if (attrs.get('formlayout') === 'dialog') {\n dialogId = parentLiveTable ? parentLiveTable.get('liveform_dialog_id') : `liveform_dialog_id_${counter}`;\n attrs.set('dialogId', dialogId);\n const dialogAttrsMap = new Map<string, string>();\n dialogAttributes.forEach((attr) => {\n if (attrs.get(attr)) {\n dialogAttrsMap.set(attr, attrs.get(attr));\n }\n });\n attrs.set('width', '100%');\n tmpl = getAttrMarkup(attrs);\n return `<div data-identifier=\"liveform\" init-widget class=\"app-liveform liveform-dialog\" ${dependsOn} dialogid=\"${dialogId}\">\n <div wmDialog class=\"app-liveform-dialog\" name=\"${dialogId}\" role=\"form\" ${getAttrMarkup(dialogAttrsMap)} modal=\"true\">\n <ng-template #dialogBody>\n ${liveFormTmpl} ${tmpl}>`;\n }\n let mobileFormContentTmpl = '';\n let buttonTemplate = '';\n // Include mobile-navbar above the form when formlayout is set to page\n if (attrs.get('formlayout') === 'page') {\n const name = `device_liveform_header_${counter}`;\n const navbarAttrsMap = new Map<string, string>();\n navbarAttrsMap.set('title', attrs.get('title'));\n navbarAttrsMap.set('backbtnclick.event', attrs.get('backbtnclick.event'));\n buttonTemplate = `<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton name=\"{{btn.key}}\" class=\"navbar-btn btn-primary btn-transparent\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"${counter}.invokeActionEvent($event, btn.action)\" type.bind=\"btn.type\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\" disabled.bind=\"btn.disabled\"\n tabindex.bind=\"btn.tabindex\" [class.hidden]=\"btn.updateMode ? !${counter}.isUpdateMode : ${counter}.isUpdateMode\"></button>\n </ng-template>`;\n mobileFormContentTmpl = `<header wmMobileNavbar name=\"${name}\" ${getAttrMarkup(navbarAttrsMap)}>\n <ng-container *ngFor=\"let btn of ${counter}.buttonArray; let i = index\"\n [ngTemplateOutlet]=\"buttonRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"${counter}.createCustomInjector('mobile_' + i, {item:item, index:i})\">\n </ng-container>\n </header>\n <div class=\"form-elements panel-body\" >`;\n }\n\n tmpl = getAttrMarkup(attrs);\n const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';\n return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>\n ${buttonTemplate} ${mobileFormContentTmpl}`;\n },\n post: (attrs) => {\n if (attrs.get('formlayout') === 'dialog') {\n return '</form></ng-template></div></div>';\n }\n if (attrs.get('formlayout') === 'page') {\n return `</div></${tagName}>`;\n }\n if(attrs.get('dependsontable')) {\n return `</${tagName}></div>`;\n }\n return `</${tagName}>`;\n },\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n }\n };\n};\n\nregister('wm-form', buildTask);\nregister('wm-liveform', () => buildTask('wmLiveForm'));\nregister('wm-livefilter', () => buildTask('wmLiveFilter'));\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-calendar', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';\n return `<${tagName} wmCalendar redrawable style=\"width:100%\" role=\"region\" aria-label=\"${viewType}\" ${getAttrMarkup(attrs)}>`\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-chips', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChips role=\"listbox\" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-colorpicker', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-currency', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-buttongroup', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmButtonGroup role=\"group\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_button');\n\nregister('wm-button', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmButton #${counter}=\"wmButton\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-checkbox', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-checkboxset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"group\" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, setChildAttrs, clearChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-composite', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}${clearChildAttrs()}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\n\nimport { getFormMarkupAttr,getChildAttrs , IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-number', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-radioset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"radiogroup\" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'wm-select';\n\nregister('wm-select', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getNgModelAttr, IDGenerator} from '@wm/core';\nimport {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_switch');\n\nregister('wm-switch', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSwitch #${counter}=\"wmSwitch\" role=\"group\" [attr.aria-label]=\"${counter}.arialabel || 'Switch choose options'\" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-input';\n\nregister('wm-text', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-textarea';\n\nregister('wm-textarea', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-datetime', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-date', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-time', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getDataSource, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-fileupload', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('select.event')) {\n const onSelectBinding = getDataSource(attrs.get('select.event'));\n attrs.set('datasource.bind', onSelectBinding);\n }\n if (attrs.get('delete.event')) {\n const onDeleteBinding = getDataSource(attrs.get('delete.event'));\n attrs.set('deletedatasource.bind', onDeleteBinding);\n }\n return `<${tagName} wmFileUpload ${getAttrMarkup(attrs)} role=\"input\">`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-rating', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-slider', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmlistTag = 'wm-list';\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-media-list', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let bindDataset;\n const attrObj = node.attrs.find(attr => attr.name === dataSetKey),\n /**\n * Replacing binded property value with item\n * @param children\n */\n replaceBind = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name) {\n // return if the child Element is of wm-list .\n if (childNode.name !== wmlistTag) {\n childNode.attrs.forEach((attr) => {\n if (attr.value.startsWith(`bind:${bindDataset}.data[$i]`)) {\n attr.value = attr.value.replace(`${bindDataset}.data[$i]`, 'item');\n } else if (attr.value.startsWith(`bind:${bindDataset}`)) {\n attr.value = attr.value.replace(bindDataset, 'item');\n }\n });\n replaceBind(childNode.children);\n }\n }\n });\n };\n if (attrObj && attrObj.value.startsWith('bind:')) {\n bindDataset = attrObj.value.replace('bind:', '');\n }\n if (bindDataset) {\n replaceBind(node.children);\n }\n const template = <Element> node.children\n .find(e => e instanceof Element && (<Element> e).name === 'wm-media-template');\n if (template != null) {\n copyAttribute(template, 'width', node, 'thumbnailwidth');\n copyAttribute(template, 'height', node, 'thumbnailheight');\n }\n },\n pre: attrs => `<${tagName} wmMediaList ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ng-template';\n\nregister('wm-media-template', (): IBuildTaskDef => {\n return {\n pre: () => `<${tagName} #mediaListTemplate let-item=\"item\" let-index=\"index\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\nimport { updateTemplateAttrs } from '@wm/core';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmListTag = 'wm-list';\nconst listTagName = 'div';\nconst dataSetKey = 'dataset';\n\nregister(wmListTag, (): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform'],\n template: (node: Element) => {\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, 'itemRef.');\n },\n pre: (attrs, shared, parentForm, parentLiveForm) => {\n const parent = parentForm || parentLiveForm;\n shared.set('form_reference', parent && parent.get('form_reference'));\n return `<${listTagName} wmList wmLiveActions ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${listTagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('parent_form_reference', shared.get('form_reference'));\n return provider;\n }\n };\n});\n\nregister('wm-listtemplate', (): IBuildTaskDef => {\n return {\n pre: () => `<ng-template #listTemplate let-item=\"item\" let-$index=\"$index\" let-itemRef=\"itemRef\" let-$first=\"$first\" let-$last=\"$last\" let-currentItemWidgets=\"currentItemWidgets\" >`,\n post: () => `</ng-template>`\n };\n});\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-list-action-template', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n\n const position = node.attrs.find(attr => attr.name === 'position').value;\n\n const btns = <Element[]> node.children\n .filter(e => e instanceof Element && (<Element> e).name === 'wm-button');\n\n // add swipe-position on button nodes to identify whether buttons are from left or right action templates\n btns.forEach((btnNode) => {\n copyAttribute(node, 'position', btnNode, 'swipe-position');\n });\n },\n pre: (attrs, el) => {\n if (attrs.get('position') === 'left') {\n return `<ng-template #listLeftActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-left-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n if (attrs.get('position') === 'right') {\n return `<ng-template #listRightActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-right-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n },\n post: () => `</li></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('liveform_dialog_id_');\n\nregister('wm-livetable', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n return `<${tagName} wmLiveTable ${getAttrMarkup(attrs)} dialogid=\"${counter}\">`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('liveform_dialog_id', shared.get('counter'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'p';\nconst idGen = new IDGenerator('wm_message');\n\nregister('wm-message', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmMessage tabindex=\"0\" #${counter}=\"wmMessage\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ol';\n\nregister('wm-breadcrumb', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmBreadcrumb ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-menu', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const menuWidth = attrs.get(\"width\");\n let styleBinding = '';\n if(menuWidth){\n const units = ['%', 'px'];\n const hasUnit = units.some(unit => menuWidth.includes(unit));\n if(hasUnit){\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}'}\"`;\n }\n else{\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}px'}\"`;\n }\n\n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`\n } \n else{ \n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`\n }\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-nav-item', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavItem role=\"listitem\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-nav', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNav data-element-type=\"wmNav\" data-role=\"page-header\" role=\"list\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavbar data-element-type=\"wmNavbar\" role=\"navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'wm-popover';\n\nregister('wm-popover', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n pre: (attrs: Map<string, string>, shared: Map<string, any>, table) => {\n const contentSource = attrs.get('contentsource');\n let popoverTemplate;\n if (contentSource !== 'inline') {\n const content = attrs.get('content');\n const bindContent = attrs.get('content.bind');\n\n let contentMarkup = '';\n\n if (content) {\n contentMarkup = `content=\"${content}\"`;\n } else if (bindContent) {\n contentMarkup = `content.bind=\"${bindContent}\"`;\n }\n\n popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;\n shared.set('hasPopoverContent', true);\n }\n\n let markup = `<${tagName} wmPopover ${getAttrMarkup(attrs)}>`;\n const contextAttrs = table ? `let-row=\"row\"` : ``;\n\n markup += `<ng-template ${contextAttrs}><div tabindex=\"0\" class=\"popover-start sr-only\" aria-label=\"\">popover content start</div>`;\n\n // todo keyboard navigation - tab\n if (popoverTemplate) {\n markup += `${popoverTemplate ? popoverTemplate : ''}`;\n }\n\n return markup;\n },\n post: (attrs: Map<string, string>, shared: Map<string, any>) => {\n let markup = '';\n if (shared.get('hasPopoverContent')) {\n markup += `</div>`;\n }\n\n return `${markup}<div tabindex=\"0\" class=\"popover-end sr-only\" aria-label=\"\">popover content ended</div></ng-template></${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {Attribute, Element, ParseSourceSpan, Text} from '@angular/compiler';\n\nimport {IDGenerator, isMobileApp} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {forEach} from \"lodash-es\";\n\nconst tagName = 'div';\n\nconst findChild = (node: Element, childName: string): Element => {\n const child = node && node.children.find(e => (e instanceof Element && (e as Element).name === childName));\n return child as Element;\n};\n\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\n\nconst getElementNode = (name, node) => {\n let elementNode;\n if (!node) {\n return;\n }\n forEach(node.children, (child) => {\n if (child instanceof Element) {\n if ((child as Element).name === name) {\n elementNode = child;\n } else if (child.children) {\n elementNode = getElementNode(name, child);\n }\n }\n return !elementNode;\n });\n return elementNode;\n};\n\nconst noSpan = ({} as ParseSourceSpan);\nconst idGen = new IDGenerator('wm_page');\n\nregister('wm-page', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');\n if (!pageContentNode) {\n pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));\n }\n if (pageContentNode) {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compilePageContent');\n conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n pageContentNode.children = [conditionalNode];\n if (isMobileApp()) {\n const loader = createElement('div');\n addAtrribute(loader, 'wmPageContentLoader', '');\n addAtrribute(loader, '*ngIf', '!showPageContent');\n pageContentNode.children.push(loader);\n }\n }\n },\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPage #${counter}=\"wmPage\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {IDGenerator} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst idGen = new IDGenerator('wm_layout');\n\nregister('wm-layout', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLayout #${counter}=\"wmLayout\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'router-outlet';\n\nregister('wm-router-outlet', (): IBuildTaskDef => {\n return {\n pre: attrs => `<div wmRouterOutlet name=\"wmRouterOutlet\" ${getAttrMarkup(attrs)}><${tagName} (activate)=\"onActivate($event)\">`,\n post: () => `</${tagName}></div>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-pagination', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPagination data-identifier=\"pagination\" aria-label=\"Page navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'main';\n\nregister('wm-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContent data-role=\"page-content\" role=\"main\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'footer';\nconst idGen = new IDGenerator('wm_footer');\n\nregister('wm-footer', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmFooter #${counter}=\"wmFooter\" partialContainer data-role=\"page-footer\" role=\"contentinfo\" [attr.aria-label]=\"${counter}.arialabel || 'Page footer'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'header';\nconst idGen = new IDGenerator('wm_header');\n\nregister('wm-header', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmHeader #${counter}=\"wmHeader\" partialContainer data-role=\"page-header\" role=\"banner\" [attr.aria-label]=\"${counter}.arialabel || 'Page header'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_left_panel');\n\nregister('wm-left-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLeftPanel #${counter}=\"wmLeftPanel\" partialContainer data-role=\"page-left-panel\" [attr.aria-label]=\"${counter}.arialabel || 'Left navigation panel'\" wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'header';\n\nregister('wm-mobile-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileNavbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_right_panel');\n\nregister('wm-right-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRightPanel #${counter}=\"wmRightPanel\" partialContainer data-role=\"page-right-panel\" role=\"complementary\" [attr.aria-label]=\"${counter}.arialabel || 'Right navigation panel'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { Attribute, Element, ParseSourceSpan, Text } from \"@angular/compiler\";\n\nconst tagName = 'div';\n\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\n\nconst noSpan = ({} as ParseSourceSpan);\n\nregister('wm-page-content', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n for(let attr of node.attrs) {\n if(attr.name === 'spa' && attr.value === 'true') {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compilePageContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n node.children = [conditionalNode];\n break;\n }\n }\n },\n pre: attrs => `<${tagName} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-mobile-tabbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileTabbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'section';\nconst idGen = new IDGenerator('wm_top_nav');\n\nregister('wm-top-nav', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmTopNav #${counter}=\"wmTopNav\" partialContainer data-role=\"page-topnav\" role=\"navigation\" [attr.aria-label]=\"${counter}.arialabel || 'Second level navigation'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nregister('wm-partial', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPartial data-role=\"partial\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-param', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmParam hidden ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, register } from '@wm/transpiler';\n\nconst tagName = 'section';\n\nregister('wm-prefab', () => {\n return {\n pre: attrs => `<${tagName} wmPrefab redrawable data-role=\"prefab\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\n\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], noSpan, noSpan, noSpan);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nconst tagName = 'div';\n\nregister('wm-prefab-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPrefabContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} name=\"${attrs.get('name') || attrs.get('key')}\" wmTableAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-column-group', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, Text } from '@angular/compiler';\n\nimport { DataType, FormWidgetType, getFormWidgetTemplate, getRequiredFormWidget, IDGenerator, isDateTimeType, checkIsCustomPipeExpression } from '@wm/core';\nimport {getAttrMarkup, getDataSource, IBuildTaskDef, ImportDef, register} from '@wm/transpiler';\n\nimport { EDIT_MODE, getDataTableFilterWidget, getEditModeWidget } from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('data_table_form_');\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker'\n]);\n\n// Add ngModelOptions standalone true as inner custom form widgets will be not part of table ngform\nconst addNgModelStandalone = (children = []) => {\n let formControlAttr = [];\n children.forEach(childNode => {\n if (formWidgets.has(childNode.name)) {\n // angular build is failing when formControlName is undefined for checkbox and mgModelOptions attr is present\n if (childNode.name === 'wm-checkbox') {\n formControlAttr = childNode.attrs.filter(function(attr) {\n return attr.name === 'formControlName';\n });\n if (formControlAttr.length) {\n return;\n }\n }\n childNode.attrs.push(new Attribute('[ngModelOptions]', '{standalone: true}', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addNgModelStandalone(childNode.children);\n });\n};\n\n// get the filter template (widget and filter menu) to be displayed in filter row\nconst getFilterTemplate = (attrs, pCounter) => {\n const widget = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n const fieldName = attrs.get('binding');\n const type = attrs.get('type') || 'string';\n let datasourceBinding, submitEventBinding;\n const datasetAttr = attrs.get('filterdataset.bind');\n // when multicolumn is selected and filterwidget as autocomplete is assigned to dataset.\n if (attrs.get('filterwidget') === 'autocomplete') {\n if (datasetAttr) {\n const binddatasource = getDataSource(datasetAttr);\n datasourceBinding = `dataset.bind=\"${datasetAttr}\" datasource.bind=\"${binddatasource}\"`;\n }\n submitEventBinding = `submit.event=\"changeFn('${fieldName}')\"`;\n }\n const innerTmpl = `#filterWidget formControlName=\"${fieldName + '_filter'}\" ${datasourceBinding} ${submitEventBinding} change.event=\"changeFn('${fieldName}')\"\n disabled.bind=\"isDisabled('${fieldName}')\"`;\n const options = {inputType: 'filterinputtype'} ;\n const widgetTmpl = `${getFormWidgetTemplate(widget, innerTmpl, attrs, options)}`;\n\n return `<ng-template #filterTmpl let-changeFn=\"changeFn\" let-isDisabled=\"isDisabled\">\n <div class=\"input-group ${widget}\" data-col-identifier=\"${fieldName}\">\n ${widgetTmpl}\n <span class=\"input-group-addon filter-clear-icon\" *ngIf=\"${pCounter}.showClearIcon('${fieldName}')\">\n <button class=\"btn-transparent btn app-button\" aria-label=\"Clear button\" type=\"button\" (click)=\"${pCounter}.clearRowFilter('${fieldName}')\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n </button>\n </span>\n <span class=\"input-group-addon\" dropdown container=\"body\" (onShown)=\"${pCounter}.adjustContainer('${fieldName}');\">\n <button class=\"btn-transparent btn app-button\" type=\"button\" dropdownToggle><i class=\"app-icon wi wi-filter-list\"></i></button>\n <ul class=\"matchmode-dropdown dropdown-menu\" *dropdownMenu>\n <li *ngFor=\"let matchMode of ${pCounter}.matchModeTypesMap['${type}']\"\n [ngClass]=\"{active: matchMode === (${pCounter}.rowFilter['${fieldName}'].matchMode || ${pCounter}.matchModeTypesMap['${type}'][0])}\">\n <a href=\"javascript:void(0);\" (click)=\"${pCounter}.onFilterConditionSelect('${fieldName}', matchMode)\" [innerText]=\"${pCounter}.matchModeMsgs[matchMode]\"></a>\n </li>\n </ul>\n </span>\n </div></ng-template>`;\n};\n\nconst getEventsTmpl = attrs => {\n let tmpl = '';\n attrs.forEach((val, key) => {\n if (key.endsWith('.event')) {\n tmpl += `${key}=\"${val}\" `;\n }\n });\n return tmpl;\n};\n\n// Generate inline edit properties template. Properties requiring row instance are generated here.\nconst getInlineEditRowPropsTmpl = attrs => {\n const propAttrs = new Map();\n const props = ['disabled', 'disabled.bind'];\n props.forEach(prop => {\n if (attrs.get(prop)) {\n propAttrs.set(prop, attrs.get(prop));\n attrs.delete(prop);\n }\n });\n return getAttrMarkup(propAttrs);\n};\n\n// get the inline widget template\nconst getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter?) => {\n const options: any = {};\n const fieldName = attrs.get('binding');\n const widget = attrs.get('edit-widget-type') || getEditModeWidget({\n 'type': attrs.get('type'),\n 'related-entity-name': attrs.get('related-entity-name'),\n 'primary-key': attrs.get('primary-key')\n });\n let widgetRef = '';\n let formControl = '';\n let wmFormWidget = '';\n if (widget === FormWidgetType.UPLOAD) {\n options.uploadProps = {\n formName: idGen.nextUid(),\n name: fieldName\n };\n options.counter = pCounter;\n } else {\n widgetRef = isNewRow ? '#inlineWidgetNew' : '#inlineWidget';\n formControl = isNewRow ? `formControlName=\"${fieldName}_new\"` : `formControlName=\"${fieldName}\"`;\n wmFormWidget = 'wmFormWidget';\n }\n options.inputType = 'editinputtype';\n const tmplRef = isNewRow ? '#inlineWidgetTmplNew' : '#inlineWidgetTmpl';\n const eventsTmpl = widget === FormWidgetType.UPLOAD ? '' : getEventsTmpl(attrs);\n const rowPropsTl = getInlineEditRowPropsTmpl(attrs);\n const innerTmpl = `${widgetRef} ${wmFormWidget} key=\"${fieldName}\" data-field-name=\"${fieldName}\" ${formControl} ${eventsTmpl} ${rowPropsTl}`;\n const widgetTmpl = getFormWidgetTemplate(widget, innerTmpl, attrs, options);\n const pendingSpinnerStatus = isNewRow ? 'getPendingSpinnerStatusNew' : 'getPendingSpinnerStatus';\n const validationErrorTmpl = getValiationErrorTemplate(errorstyle);\n /* This element with error message is used to run Automation checks if any error message is present */\n const errorMsgElementForAutomation = '<span class=\"sr-only\" *ngIf=\"getValidationMessage()\">{{getValidationMessage()}}</span>';\n\n return `<ng-template ${tmplRef} let-row=\"row\" let-getControl=\"getControl\" let-getValidationMessage=\"getValidationMessage\" let-${pendingSpinnerStatus}=\"${pendingSpinnerStatus}\">\n <div data-col-identifier=\"${fieldName}\" >\n ${widgetTmpl}\n ${validationErrorTmpl}\n <div class=\"overlay\" *ngIf=\"${pendingSpinnerStatus}()\"><span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span></div>\n ${errorMsgElementForAutomation}\n </div>\n </ng-template>`;\n};\n\nconst getValiationErrorTemplate = (errorTmplType) => {\n let validationErrorTmpl = '';\n switch (errorTmplType) {\n case 'bottom':\n validationErrorTmpl = `<span class=\"help-block text-danger\" *ngIf=\"getValidationMessage() && getControl() && getControl().invalid && getControl().touched\">{{getValidationMessage()}}</span>`;\n break;\n case 'hover':\n default:\n validationErrorTmpl = `<span placement=\"top\" container=\"body\" tooltip=\"{{getValidationMessage()}}\" class=\"text-danger wi wi-error\"\n *ngIf=\"getValidationMessage() && getControl() && getControl().invalid && getControl().touched\">\n </span>`;\n }\n return validationErrorTmpl;\n}\n\nconst getFormatExpression = (attrs) => {\n const columnValue = `row.getProperty('${attrs.get('binding')}')`;\n let formatPattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let colExpression = '';\n // For date time data types, if format pattern is not applied, Apply default toDate format\n if (isDateTimeType(attrs.get('type')) && (!formatPattern || formatPattern === 'None')) {\n attrs.set('formatpattern', 'toDate');\n attrs.delete('datepattern');\n formatPattern = 'toDate';\n }\n switch (formatPattern) {\n case 'toDate':\n colExpression = `{{${columnValue} | toDate: colDef.datepattern}}`;\n break;\n case 'toCurrency':\n if (attrs.get('currencypattern')) {\n colExpression = `{{${columnValue} | toCurrency: '${attrs.get('currencypattern')}`;\n\n if (attrs.get('fractionsize')) {\n colExpression += `': ${attrs.get('fractionsize')}}}`;\n } else {\n colExpression += `'}}`;\n }\n }\n break;\n case 'numberToString':\n if (attrs.get('fractionsize')) {\n colExpression = `{{${columnValue} | numberToString: '${attrs.get('fractionsize')}'}}`;\n }\n break;\n case 'stringToNumber':\n colExpression = `{{${columnValue} | stringToNumber}}`;\n break;\n case 'timeFromNow':\n colExpression = `{{${columnValue} | timeFromNow}}`;\n break;\n case 'prefix':\n if (attrs.get('prefix')) {\n colExpression = `{{${columnValue} | prefix: '${attrs.get('prefix')}'}}`;\n }\n break;\n case 'suffix':\n if (attrs.get('suffix')) {\n colExpression = `{{${columnValue} | suffix: '${attrs.get('suffix')}'}}`;\n }\n break;\n default:\n if(checkIsCustomPipeExpression(formatPattern)){\n colExpression = `{{${columnValue} | ${formatPattern} : ${`row`}}}` ;\n }\n\n break;\n }\n return colExpression;\n};\n\nregister('wm-table-column', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n template: (node: Element, shared) => {\n if (node.children.length) {\n // If node has children, but an empty text node dont generate custom expression\n if (node.children.length === 1 && node.children[0] instanceof Text && (node.children[0] as Text).value.trim().length === 0) {\n return;\n }\n shared.set('customExpression', true);\n addNgModelStandalone(node.children);\n }\n },\n pre: (attrs, shared, parentTable) => {\n let rowFilterTmpl = '';\n let inlineEditTmpl = '';\n let inlineNewEditTmpl = '';\n let parentForm = '';\n if (parentTable) {\n const pCounter = parentTable.get('table_reference');\n rowFilterTmpl = (parentTable.get('filtermode') === 'multicolumn' && attrs.get('searchable') !== 'false') ? getFilterTemplate(attrs, pCounter) : '';\n const editMode = parentTable.get('editmode');\n const isInlineEdit = (editMode !== EDIT_MODE.DIALOG && editMode !== EDIT_MODE.FORM && attrs.get('readonly') !== 'true');\n inlineEditTmpl = isInlineEdit ? getInlineEditWidgetTmpl(attrs, false, parentTable.get('errorstyle'), pCounter) : '';\n inlineNewEditTmpl = isInlineEdit && editMode === EDIT_MODE.QUICK_EDIT && parentTable.get('shownewrow') !== 'false' ? getInlineEditWidgetTmpl(attrs, true, attrs.get('errorstyle')) : '';\n parentForm = ` [formGroup]=\"${pCounter}.ngform\" `;\n }\n const formatPattern = attrs.get('formatpattern');\n const customExpr = `<ng-template #customExprTmpl let-row=\"row\" let-colDef=\"colDef\" let-editRow=\"editRow\" let-deleteRow=\"deleteRow\" let-addNewRow=\"addNewRow\">`;\n let customExprTmpl = '';\n let formatExprTmpl = '';\n\n if (shared.get('customExpression')) {\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\">`;\n } else if ((formatPattern && formatPattern !== 'None') || isDateTimeType(attrs.get('type'))) {\n formatExprTmpl = getFormatExpression(attrs);\n if (formatExprTmpl) {\n shared.set('customExpression', true);\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\" title=\"${formatExprTmpl}\">${formatExprTmpl}`;\n }\n }\n\n return `<${tagName} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>\n ${rowFilterTmpl}\n ${inlineEditTmpl}\n ${inlineNewEditTmpl}\n ${customExprTmpl}`;\n },\n post: (attrs, shared) => {\n let customExprTmpl = '';\n\n if (shared.get('customExpression')) {\n customExprTmpl = `</div></ng-template>`;\n }\n return `${customExprTmpl}</${tagName}>`;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const editWidgetType = attrs.get('edit-widget-type');\n const filterWidgetType = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n return [getRequiredFormWidget(editWidgetType), getRequiredFormWidget(filterWidgetType), 'wm-table'];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getRowExpansionActionTmpl = (attrs) => {\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n const title = attrs.get('display-name') || attrs.get('title') || 'Collapse/Expand';\n return `<ng-template #rowExpansionActionTmpl let-row=\"row\">\n <${tag} ${directive}\n ${getRowActionAttrs(attrs)}\n class=\"${attrs.get('class')} row-expansion-button\"\n iconclass=\"${attrs.get('collapseicon')}\"\n type=\"button\" aria-label=\"${title}\"></${tag}>\n </ng-template>`;\n};\n\nregister('wm-table-row', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n return `<${tagName} wmTableRow ${getAttrMarkup(attrs)}>\n ${getRowExpansionActionTmpl(attrs)}\n <ng-template #rowExpansionTmpl let-row=\"row\" let-rowDef=\"rowDef\" let-containerLoad=\"containerLoad\">\n <div wmContainer partialContainer content.bind=\"rowDef.content\" load.event=\"containerLoad(widget)\"\n [ngStyle]=\"{'height': rowDef.height, 'overflow-y': 'auto'}\">\n <div *ngFor=\"let param of rowDef.partialParams | keyvalue\" wmParam hidden\n [name]=\"param.key\" [value]=\"param.value\"></div>`;\n },\n post: () => `</div></ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getSaveCancelTemplate = () => {\n return `<button type=\"button\" aria-label=\"Save edit icon\" class=\"save row-action-button btn app-button btn-transparent save-edit-row-button hidden\" title=\"Save\">\n <i class=\"wi wi-done\" aria-hidden=\"true\"></i>\n </button>\n <button type=\"button\" aria-label=\"Cancel edit icon\" class=\"cancel row-action-button btn app-button btn-transparent cancel-edit-row-button hidden\" title=\"Cancel\">\n <i class=\"wi wi-cancel\" aria-hidden=\"true\"></i>\n </button>`;\n};\n\n// get the inline widget template\nconst getRowActionTmpl = (attrs) => {\n const action = attrs.get('action');\n const actionTmpl = action ? ` click.event.delayed=\"${action}\" ` : '';\n const saveCancelTmpl = action && action.includes('editRow(') ? getSaveCancelTemplate() : '';\n const btnClass = action ? (action.includes('editRow(') ? 'edit edit-row-button' :\n (action.includes('deleteRow(') ? 'delete delete-row-button' : '')) : '';\n const tabIndex = attrs.get('tabindex') ? `tabindex=\"${attrs.get('tabindex')}\"` : '';\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n return `<ng-template #rowActionTmpl let-row=\"row\">\n <${tag} ${directive} data-action-key=\"${attrs.get('key')}\"\n ${getRowActionAttrs(attrs)}\n class=\"row-action row-action-button ${attrs.get('class')} ${btnClass}\"\n iconclass=\"${attrs.get('iconclass')}\"\n ${actionTmpl}\n ${tabIndex}\n type=\"button\"></${tag}>\n ${saveCancelTmpl}\n </ng-template>`;\n};\n\nregister('wm-table-row-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableRowAction ${getAttrMarkup(attrs)}>\n ${getRowActionTmpl(attrs)}`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('table_');\nlet columnIndex = 0;\n\n/**\n * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order\n * as specified in the configuration.\n * Scenario: ordering the columns when accessrole is specified on column.\n *\n * headerIndex: ID | Name | Street | ==> top level header (ID has index 0, Name 1, Street 2)\n * index: ---- | fname | lname | --- | ==> sub level header ( ID 0, fname 1, lname 2, Street 3)\n * fname will have headerIndex as 1 and colIndex as 1. lname will have headerIndex as 1 and columnIndex as 2.\n * If suppose we have a group in the sub-level-header, then col index will be treated as the header index.\n *\n */\nfunction assignColumnIndex(node, parentIndex?: number) {\n let headerIndex = 0;\n node.forEach((childNode) => {\n const nodeName = (<any>childNode).name;\n const newheaderIndex = parentIndex !== undefined ? parentIndex : headerIndex;\n if (nodeName === 'wm-table-column' || nodeName === 'wm-table-column-group') {\n (childNode as any).attrs.push(new Attribute('index', '' + columnIndex, <any>1, <any>1, <any>1, undefined, undefined));\n (childNode as any).attrs.push(new Attribute('headerIndex', '' + newheaderIndex, <any>1, <any>1, <any>1, undefined, undefined));\n if (nodeName === 'wm-table-column-group') {\n assignColumnIndex(childNode.children, headerIndex);\n }\n columnIndex++;\n headerIndex++;\n }\n });\n}\n\nregister('wm-table', (): IBuildTaskDef => {\n return {\n template: (node: Element, shared) => {\n // If table does not have child columns, set isdynamictable to true\n if (node.children.length) {\n const isColumnsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-column' || (<any>childNode).name === 'wm-table-column-group';\n });\n assignColumnIndex(node.children);\n shared.set('isdynamictable', isColumnsPresent ? 'false' : 'true');\n // If table have row expansion enabled, set isrowexpansionenabled to true\n const isRowsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-row';\n });\n shared.set('isrowexpansionenabled', isRowsPresent ? 'true' : 'false');\n } else {\n shared.set('isdynamictable', 'true');\n }\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');\n },\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n attrs.set('isdynamictable', shared.get('isdynamictable'));\n attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));\n attrs.set('table_reference', counter);\n return `<${tagName} wmTable=\"${counter}\" wmTableFilterSort wmTableCUD #${counter} data-identifier=\"table\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('table_reference', shared.get('counter'));\n provider.set('filtermode', attrs.get('filtermode'));\n provider.set('errorstyle', attrs.get('errorstyle'));\n provider.set('editmode', attrs.get('editmode'));\n provider.set('shownewrow', attrs.get('shownewrow'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-video', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmVideo ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst SPACING_KEY = 'parentLinearLayout.spacing';\nregister('wm-linearlayout', (): IBuildTaskDef => {\n return {\n requires: ['wm-linearlayout'],\n pre: (attrs, shared, provider) => {\n let spacing = attrs.get('spacing');\n attrs.set('spacing',\n (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);\n return `<${tagName} wmLinearLayout ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set(SPACING_KEY, attrs.get('spacing'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-linearlayoutitem', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","export * as carouselBuild from './advanced/carousel/carousel.build';\nexport * as carouselTemplateBuild from './advanced/carousel/carousel-template/carousel-template.build';\nexport * as loginBuild from './advanced/login/login.build';\nexport * as marqueeBuild from './advanced/marquee/marquee.build';\nexport * as anchorBuild from './basic/default/anchor/anchor.build';\nexport * as audioBuild from './basic/default/audio/audio.build';\nexport * as htmlBuild from './basic/default/html/html.build';\nexport * as iconBuild from './basic/default/icon/icon.build';\nexport * as iframeBuild from './basic/default/iframe/iframe.build';\nexport * as labelBuild from './basic/default/label/label.build';\nexport * as pictureBuild from './basic/default/picture/picture.build';\nexport * as spinnerBuild from './basic/default/spinner/spinner.build';\nexport * as progressBarBuild from './basic/progress/progress-bar/progress-bar.build';\nexport * as progressCircleBuild from './basic/progress/progress-circle/progress-circle.build';\nexport * as rteBuild from './basic/rich-text-editor/rich-text-editor.build';\nexport * as searchBuild from './basic/search/search.build';\nexport * as treeBuild from './basic/tree/tree.build';\nexport * as cardBuild from './data/card/card.build';\nexport * as cardContentBuild from './data/card/card-content/card-content.build';\nexport * as cardActionsBuild from './data/card/card-actions/card-actions.build';\nexport * as cardFooterBuild from './data/card/card-footer/card-footer.build';\nexport * as chartBuild from './chart/chart.build';\nexport * as accordionBuild from './containers/accordion/accordion.build';\nexport * as accordionPaneBuild from './containers/accordion/accordion-pane/accordion-pane.build';\nexport * as containerBuild from './containers/container.build';\nexport * as lgcolBuild from './containers/layout-grid/layout-grid-column/layout-grid-column.build';\nexport * as lgrowBuild from './containers/layout-grid/layout-grid-row/layout-grid-row.build';\nexport * as lgBuild from './containers/layout-grid/layout-grid.build';\nexport * as panelBuild from './containers/panel/panel.build';\nexport * as segControlBuild from './containers/segmented-control/segmented-control.build';\nexport * as segContentBuild from './containers/segmented-control/segment-content/segment-content.build';\nexport * as repeatTemplateBuild from './containers/repeat-template.build';\nexport * as tabsBuild from './containers/tabs/tabs.build';\nexport * as tabPaneBuild from './containers/tabs/tab-pane/tab-pane.build';\nexport * as tileBuild from './containers/tile/tile.build';\nexport * as wizardBuild from './containers/wizard/wizard.build';\nexport * as wizardStepBuild from './containers/wizard/wizard-step/wizard-step.build';\nexport * as barcodeScannerBuild from './device/barcode-scanner/barcode-scanner.build';\nexport * as cameraBuild from './device/camera/camera.build';\nexport * as alertDlgBuild from './dialogs/alert-dialog/alert-dialog.build';\nexport * as confirmDlgBuild from './dialogs/confirm-dialog/confirm-dialog.build';\nexport * as dlgFooterBuild from './dialogs/base/dialog-footer/dialog-footer.build';\nexport * as dlgBuild from './dialogs/design-dialog/dialog.build';\nexport * as iframeDlgBuild from './dialogs/iframe-dialog/iframe-dialog.build';\nexport * as loginDlgBuild from './dialogs/login-dialog/login-dialog.build';\nexport * as partialDlgBuild from './dialogs/partial-dialog/partial-dialog.build';\nexport * as formFieldBuild from './data/form/form-field/form-field.build';\nexport * as formActionBuild from './data/form/form-action/form-action.build';\nexport * as formBuild from './data/form/form.build';\nexport * as calendarBuild from './input/calendar/calendar.build';\nexport * as chipsBuild from './input/chips/chips.build';\nexport * as colorPickerBuild from './input/color-picker/color-picker.build';\nexport * as currencyBuild from './input/currency/currency.build';\nexport * as buttonGroupBuild from './input/default/button-group/button-group.build';\nexport * as buttonBuild from './input/default/button/button.build';\nexport * as checkboxBuild from './input/default/checkbox/checkbox.build';\nexport * as checkboxSetBuild from './input/default/checkboxset/checkboxset.build';\nexport * as compositeBuild from './input/default/composite/composite.build';\nexport * as numberBuild from './input/default/number/number.build';\nexport * as radiosetBuild from './input/default/radioset/radioset.build';\nexport * as selectBuild from './input/default/select/select.build';\nexport * as switchBuild from './input/default/switch/switch.build';\nexport * as textBuild from './input/default/text/text.build';\nexport * as textAreaBuild from './input/default/textarea/textarea.build';\nexport * as dateTimeBuild from './input/epoch/date-time/date-time.build';\nexport * as dateBuild from './input/epoch/date/date.build';\nexport * as timeBuild from './input/epoch/time/time.build';\nexport * as fileUploadBuild from './input/file-upload/file-upload.build';\nexport * as ratingBuild from './input/rating/rating.build';\nexport * as sliderBuild from './input/slider/slider.build';\nexport * as mediaListBuild from './data/media-list/media-list.build';\nexport * as mediaListItemBuild from './data/media-list/media-list-item/media-list-item.build';\nexport * as listBuild from './data/list/list.build';\nexport * as liveTableBuild from './data/live-table/live-table.build';\nexport * as messageBuild from './message/message.build';\nexport * as breadcrumbBuild from './navigation/breadcrumb/breadcrumb.build';\nexport * as menuBuild from './navigation/menu/menu.build';\nexport * as navItemBuild from './navigation/nav/nav-item/nav-item.build';\nexport * as navBuild from './navigation/nav/nav.build';\nexport * as navbarBuild from './navigation/navbar/navbar.build';\nexport * as popoverBuild from './navigation/popover/popover.build';\nexport * as pageBuild from './page/page.build';\nexport * as layoutBuild from './page/layout.build';\nexport * as routerOutletBuild from './page/router-outlet/router-outlet.build';\nexport * as paginationBuild from './data/pagination/pagination.build';\nexport * as contentBuild from './page/content/content.build';\nexport * as footerBuild from './page/footer/footer.build';\nexport * as headerBuild from './page/header/header.build';\nexport * as leftPanelBuild from './page/left-panel/left-panel.build';\nexport * as mobileNavbarBuild from './page/mobile-navbar/mobile-navbar.build';\nexport * as rightPanelBuild from './page/right-panel/right-panel.build';\nexport * as pageContentBuild from './page/page-content/page-content.build';\nexport * as tabBarBuild from './page/tab-bar/tab-bar.build';\nexport * as topNavBuild from './page/top-nav/top-nav.build';\nexport * as partialBuild from './partial/partial.build';\nexport * as partialParamBuild from './partial-param/partial-param.build';\nexport * as prefabBuild from './prefab/prefab.build';\nexport * as prefabContainerBuild from './prefab/prefab-container/prefab-container.build';\nexport * as tableActionBuild from './data/table/table-action/table-action.build';\nexport * as tableColumnGroupBuild from './data/table/table-column-group/table-column-group.build';\nexport * as tableColumnBuild from './data/table/table-column/table-column.build';\nexport * as tableRowBuild from './data/table/table-row/table-row.build';\nexport * as tableRowActionBuild from './data/table/table-row-action/table-row-action.build';\nexport * as tableBuild from './data/table/table.build';\nexport * as videoBuild from './basic/default/video/video.build';\nexport * as linearLayoutBuild from './containers/linear-layout/linear-layout.build';\nexport * as linearLayoutItemBuild from './containers/linear-layout/linear-layout-item/linear-layout-item.build';\n\nexport * from '@wm/transpiler';\n\nexport const initComponentsBuildTask = () => {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["dataSetKey","idGen","counter","tagName","this","formWidgets","copyAttribute","createElement","noSpan","addAtrribute"],"mappings":";;;;;;AAIA,MAAM,eAAe,GAAG,UAAU,CAAC;AACnC,MAAMA,YAAU,GAAG,SAAS,CAAC;AAC7B,MAAMC,OAAK,GAAG,IAAI,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAElD,MAAM,iBAAiB,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,K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