@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
@@ -39,8 +39,27 @@ let NumberLocale = class NumberLocale extends BaseInput {
39
39
  if (this.isDefaultQuery) {
40
40
  const isLocalizedNumber = isString(value) && includes(value, this.DECIMAL);
41
41
  const parts = isLocalizedNumber ? value.split(this.DECIMAL) : isString(value) && value.split('.');
42
- this.decimalValue = parts[1] || '';
43
- value = isLocalizedNumber ? value : this.transformNumber(value);
42
+ let decimalPlacesAttrVal = this.getAttr('decimalplaces');
43
+ const decimalplaces = decimalPlacesAttrVal !== '' && decimalPlacesAttrVal !== undefined ? Number(decimalPlacesAttrVal) : NaN;
44
+ if (this.inputmode === INPUTMODE.NATURAL && !isNaN(decimalplaces)) {
45
+ if (decimalplaces === 0) {
46
+ this.decimalValue = '';
47
+ value = isLocalizedNumber ? parts[0] : this.transformNumber(parts[0]);
48
+ }
49
+ if (decimalplaces > 0) {
50
+ this.decimalValue = parts[1] && parts[1].substring(0, decimalplaces) || '';
51
+ if (isLocalizedNumber) {
52
+ value = this.decimalValue.length ? `${parts[0]}${this.DECIMAL}${this.decimalValue}` : parts[0];
53
+ }
54
+ else {
55
+ value = Number.parseFloat(String(value)).toFixed(decimalplaces);
56
+ }
57
+ }
58
+ }
59
+ else {
60
+ this.decimalValue = parts[1] || '';
61
+ value = isLocalizedNumber ? value : this.transformNumber(value);
62
+ }
44
63
  }
45
64
  const numberReg = /\d/;
46
65
  const strVal = value.toString();
@@ -89,8 +108,14 @@ let NumberLocale = class NumberLocale extends BaseInput {
89
108
  */
90
109
  isValid(val) {
91
110
  // id number is infinite then consider it as invalid value
92
- if (isNaN(val) || !isFinite(val) || (!Number.isInteger(this.step) &&
93
- this.countDecimals(val) > this.countDecimals(this.step))) {
111
+ let invalidDecimalPlaces = false;
112
+ if (this.inputmode === INPUTMODE.NATURAL && !isNaN(this.decimalplaces) && this.decimalplaces >= 0) {
113
+ invalidDecimalPlaces = this.countDecimals(val) > this.decimalplaces;
114
+ }
115
+ else if (!Number.isInteger(this.step) && this.countDecimals(val) > this.countDecimals(this.step)) {
116
+ invalidDecimalPlaces = true;
117
+ }
118
+ if (isNaN(val) || !isFinite(val) || invalidDecimalPlaces) {
94
119
  this.isInvalidNumber = true;
95
120
  return false;
96
121
  }
@@ -199,6 +224,9 @@ let NumberLocale = class NumberLocale extends BaseInput {
199
224
  }
200
225
  // This function returns the step length set in the studio
201
226
  stepLength() {
227
+ if (this.inputmode === 'INPUTMODE.NATURAL' && !isNaN(this.decimalplaces) && this.decimalplaces >= 0) {
228
+ return this.decimalplaces;
229
+ }
202
230
  const stepLen = this.step.toString().split('.');
203
231
  if (stepLen.length === 1) {
204
232
  return;
@@ -281,11 +309,10 @@ let NumberLocale = class NumberLocale extends BaseInput {
281
309
  * @returns {number}
282
310
  */
283
311
  countDecimals(value) {
284
- if ((value % 1) !== 0) {
285
- const decimalValue = value.toString().split('.')[1];
286
- return decimalValue && decimalValue.length;
287
- }
288
- return 0;
312
+ const valueStr = value.toString();
313
+ const isLocalizedNumber = includes(valueStr, this.DECIMAL);
314
+ const parts = isLocalizedNumber ? valueStr.split(this.DECIMAL) : valueStr.split('.');
315
+ return parts[1] ? parts[1].length : 0;
289
316
  }
290
317
  /**
291
318
  * handles the arrow press event. Increases or decreases the number. triggered fom the template
@@ -387,13 +414,23 @@ let NumberLocale = class NumberLocale extends BaseInput {
387
414
  }
388
415
  // validates entering of decimal values only when user provides decimal limit(i.e step contains decimal values).
389
416
  // Restrict user from entering only if the decimal limit is reached and the new digit is entered in decimal place
390
- if (!skipStepValidation && inputValue && this.countDecimals(this.step) && (this.countDecimals(inputValue) >= this.countDecimals(this.step)) && $event.target.selectionStart >= inputValue.length - 1) {
391
- return false;
392
- }
417
+ // if (!skipStepValidation && inputValue && this.countDecimals(this.step) && (this.countDecimals(inputValue) >= this.countDecimals(this.step)) && $event.target.selectionStart >= inputValue.length - 1) {
418
+ // return false;
419
+ // }
393
420
  // validates if user entered an invalid character.
394
421
  if (!validity.test($event.key)) {
395
422
  return false;
396
423
  }
424
+ if (this.inputmode === INPUTMODE.NATURAL && !isNaN(this.decimalplaces)) {
425
+ if (this.decimalplaces === 0 && this.DECIMAL === $event.key) {
426
+ return false;
427
+ }
428
+ const parts = includes(inputValue, this.DECIMAL) ? inputValue.split(this.DECIMAL) : inputValue.split('.');
429
+ const isCursorPositionAtDecimalPlace = $event.target.selectionStart > parts[0].length;
430
+ if (this.decimalplaces > 0 && this.countDecimals(inputValue) >= this.decimalplaces && isCursorPositionAtDecimalPlace) {
431
+ return false;
432
+ }
433
+ }
397
434
  // comma cannot be entered consecutively
398
435
  if (includes(inputValue, ',') && inputValue[inputValue.length - 1] === ',' && $event.key === ',') {
399
436
  return false;
@@ -449,4 +486,4 @@ NumberLocale = __decorate([
449
486
  TrailingZeroDecimalPipe, Object])
450
487
  ], NumberLocale);
451
488
  export { NumberLocale };
452
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWxvY2FsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9pbnB1dC9kZWZhdWx0L3NyYy90ZXh0L2xvY2FsZS9udW1iZXItbG9jYWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLFlBQVksRUF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W1iZXJ9IHZhbCBudW1iZXIgdG8gYmUgdmFsaWRhdGVkXG4gICAgICogQHJldHVybnMge251bWJlcn1cbiAgICAgKi9cbiAgICBwcml2YXRlIGlzVmFsaWQodmFsOiBudW1iZXIpOiBib29sZWFuIHtcbiAgICAgICAgLy8gaWQgbnVtYmVyIGlzIGluZmluaXRlIHRoZW4gY29uc2lkZXIgaXQgYXMgaW52YWxpZCB2YWx1ZVxuICAgICAgICBpZiAoaXNOYU4odmFsKSB8fCAhaXNGaW5pdGUodmFsKSB8fCAoIU51bWJlci5pc0ludGVnZXIodGhpcy5zdGVwKSAmJlxuICAgICAgICAgICAgdGhpcy5jb3VudERlY2ltYWxzKHZhbCkgPiB0aGlzLmNvdW50RGVjaW1hbHModGhpcy5zdGVwKSkpIHtcbiAgICAgICAgICAgIHRoaXMuaXNJbnZhbGlkTnVtYmVyID0gdHJ1ZTtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodmFsICE9PSB0aGlzLmdldFZhbHVlSW5SYW5nZSh2YWwpKSB7XG4gICAgICAgICAgICB0aGlzLm51bWJlck5vdEluUmFuZ2UgPSB0cnVlO1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5yZXNldFZhbGlkYXRpb25zKCk7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHJldHVybnMgYSB2YWxpZCBudW1iZXIgYnkgdmFsaWRhdGluZyB0aGUgbWluaW11bSBhbmQgbWF4aW11bSB2YWx1ZXMuXG4gICAgICogQHBhcmFtIHtudW1iZXJ9IHZhbHVlXG4gICAgICogQHJldHVybnMge251bWJlcn1cbiAgICAgKi9cbiAgICBwcml2YXRlIGdldFZhbHVlSW5SYW5nZSh2YWx1ZTogbnVtYmVyKTogbnVtYmVyIHtcbiAgICAgICAgaWYgKCFpc05hTih0aGlzLm1pbnZhbHVlKS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ICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmICgoa2V5ID09PSAnVVAnICYmIHByb3h5TW9kZWwgPD0gdmFsdWUpIHx8IChrZXkgPT09ICdET1dOJyAmJiBwcm94eU1vZGVsID49IHZhbHVlKSkge1xuICAgICAgICAgICAgY29uc3QgZGVjaW1hbFJvdW5kVmFsdWUgPSBNYXRoLm1heCh0aGlzLmNvdW50RGVjaW1hbHMocHJveHlNb2RlbCksIHRoaXMuY291bnREZWNpbWFscyh0aGlzLnN0ZXApKTtcblxuICAgICAgICAgICAgLy8gdXBkYXRlIHRoZSBtb2RlbFByb3h5LlxuICAgICAgICAgICAgdGhpcy5wcm94eU1vZGVsID0gcm91bmQodmFsdWUsIGRlY2ltYWxSb3VuZFZhbHVlKTtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlRGlzcGxheVRleHQoKTtcbiAgICAgICAgICAgIHRoaXMuaGFuZGxlQ2hhbmdlKHRoaXMucHJveHlNb2RlbCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBtZXRob2QgaXMgY2FsbGVkIGZyb20gdGhlIGZyb20gd2lkZ2V0LiB0byBjaGVjayB3aGV0aGVyIHRoZSB2YWx1ZSBlbnRlcmVkIGlzIHZhbGlkIG9yIG5vdC5cbiAgICAgKiBAcmV0dXJucyB7b2JqZWN0fVxuICAgICAqL1xuICAgIHB1YmxpYyB2YWxpZGF0ZShjOiBBYnN0cmFjdENvbnRyb2wpIHtcbiAgICAgICAgaWYgKHRoaXMuaXNJbnZhbGlkTnVtYmVyKSB7XG4gICAgICAgICAgICB0aGlzLnZhbGlkYXRlVHlwZSA9ICcnO1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBpbnZhbGlkTnVtYmVyOiB7XG4gICAgICAgICAgICAgICAgICAgIHZhbGlkOiBmYWxzZVxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG4gICAgICAgIG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QbGFjZXNBdHRyVmFsKSA6IE5hTjtcbiAgICAgICAgICAgIGlmKHRoaXMuaW5wdXRtb2RlID09PSBJTlBVVE1PREUuTkFUVVJBTCAmJiAhaXNOYU4oZGVjaW1hbHBsYWNlcykpIHtcbiAgICAgICAgICAgICAgICBpZihkZWNpbWFscGxhY2VzID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZGVjaW1hbFZhbHVlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICh2YWx1ZSBhcyBhbnkpID0gaXNMb2NhbGl6ZWROdW1iZXIgPyBwYXJ0c1swXSA6IHRoaXMudHJhbnNmb3JtTnVtYmVyKHBhcnRzWzBdKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYoZGVjaW1hbHBsYWNlcyA+IDApIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5kZWNpbWFsVmFsdWUgPSBwYXJ0c1sxXSAmJiBwYXJ0c1sxXS5zdWJzdHJpbmcoMCwgZGVjaW1hbHBsYWNlcykgfHwgJyc7XG4gICAgICAgICAgICAgICAgICAgIGlmKGlzTG9jYWxpemVkTnVtYmVyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAodmFsdWUgYXMgYW55KSA9IHRoaXMuZGVjaW1hbFZhbHVlLmxlbmd0aCA/IGAke3BhcnRzWzBdfSR7dGhpcy5ERUNJTUFMfSR7dGhpcy5kZWNpbWFsVmFsdWV9YCA6IHBhcnRzWzBdO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgKHZhbHVlIGFzIGFueSkgPSBOdW1iZXIucGFyc2VGbG9hdChTdHJpbmcodmFsdWUpKS50b0ZpeGVkKGRlY2ltYWxwbGFjZXMpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLmRlY2ltYWxW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gICAgIH1cbiAgICAgICAgaWYgKGlzTmFOKHZhbCkgfHwgIWlzRmluaXRlKHZhbCkgfHwgaW52YWxpZERlY2ltYWxQbGFjZXMpIHtcbiAgICAgICAgICAgIHRoaXMuaXNJbnZhbGlkTnVtYmVyID0gdHJ1ZTtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodmFsICE9PSB0aGlzLmdldFZhbHVlSW5SYW5nZSh2YWwpKSB7XG4gICAgICAgICAgICB0aGlzLm51bWJlck5vdEluUmFuZ2UgPSB0cnVlO1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5yZXNldFZhbGlkYXRpb25zKCk7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHJldHVybnMgYSB2YWxpZCBudW1iZXIgYnkgdmFsaWRhdGluZyB0aGUgbWluaW11bSBhbmQgbWF4aW11bSB2YWx1ZXMuXG4gICAgICogQHBhcmFtIHtudW1iZXJ9IHZhbHVlXG4gICAgICogQHJldHVybnMge251bWJlcn1cbiAgICAgKi9cbiAgICBwcml2YXRlIGdldFZhbHVlSW5SYW5nZSh2YWx1ZTogbnVtYmVyKTogbnVtYmVyIHtcbiAgICAgICAgaWYgKCFpc05hTih0aGlzLm1pbnZhbHVlKSAmJiB2YWx1ZSA8IHRoaXMubWludmFsdWUpIHtcbiAgICAgICAgICAgIHRoaXMudmFsaWRhdGVUeXBlID0gJ21pbnZhbHVlJztcbiAgICAgICAgICAgIHJldHVybiB0aGlzLm1pbnZhbHVlO1xuXG4gICAgICAgIH1cbiAgICAgICAgaWYgKCFpc05hTih0aGlzLm1heHZhbHVlKSAmJiB2YWx1ZSA+IHRoaXMubWF4dmFsdWUpIHtcbiAgICAgICAgICAgIHRoaXMudmFsaWRhdGVUeXBlID0gJ21heHZhbHVlJztcbiAgICAgICAgICAgIHJldHVybiB0aGlzLm1he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YgKChrZXkgPT09ICdVUCcgJiYgcHJveHlNb2RlbCA8PSB2YWx1ZSkgfHwgKGtleSA9PT0gJ0RPV04nICYmIHByb3h5TW9kZWwgPj0gdmFsdWUpKSB7XG4gICAgICAgICAgICBjb25zdCBkZWNpbWFsUm91bmRWYWx1ZSA9IE1hdGgubWF4KHRoaXMuY291bnREZWNpbWFscyhwcm94eU1vZGVsKSwgdGhpcy5jb3VudERlY2ltYWxzKHRoaXMuc3RlcCkpO1xuXG4gICAgICAgICAgICAvLyB1cGRhdGUgdGhlIG1vZGVsUHJveHkuXG4gICAgICAgICAgICB0aGlzLnByb3h5TW9kZWwgPSByb3VuZCh2YWx1ZSwgZGVjaW1hbFJvdW5kVmFsdWUpO1xuICAgICAgICAgICAgdGhpcy51cGRhdGVEaXNwbGF5VGV4dCgpO1xuICAgICAgICAgICAgdGhpcy5oYW5kbGVDaGFuZ2UodGhpcy5wcm94eU1vZGVsKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIG1ldGhvZCBpcyBjYWxsZWQgZnJvbSB0aGUgZnJvbSB3aWRnZXQuIHRvIGNoZWNrIHdoZXRoZXIgdGhlIHZhbHVlIGVudGVyZWQgaXMgdmFsaWQgb3Igbm90LlxuICAgICAqIEByZXR1cm5zIHtvYmplY3R9XG4gICAgICovXG4gICAgcHVibGljIHZhbGlkYXRlKGM6IEFic3RyYWN0Q29udHJvbCkge1xuICAgICAgICBpZiAodGhpcy5pc0ludmFsaWROdW1iZXIpIHtcbiAgICAgICAgICAgIHRoaXMudmFsaWRhdGVUeXBlID0gJyc7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIGludmFsaWROdW1iZXI6IHtcbiAgICAgICAgICAgICAgICAgICAgdmFsaWQ6IGZhbHNlXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMubnVtYmVyTm90SW5SYW5nZSkge1x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hdmFsdWUgPSAkZXZlbnQudGFyZ2V0LnZhbHVlO1xuICAgIH1cblxuICAgIG9uTW9kZWxDaGFuZ2UoJGV2ZW50KSB7XG4gICAgICAgIGlmICh0aGlzLmlucHV0bW9kZSA9PT0gSU5QVVRNT0RFLk5BVFVSQUwgfHwgKHRoaXMuaW5wdXRtb2RlID09PSBJTlBVVE1PREUuRklOQU5DSUFMICYmIHRoaXMubmdNb2RlbE9wdGlvbnMudXBkYXRlT24gPT09ICdibHVyJykpIHtcbiAgICAgICAgICAgIHRoaXMuZGF0YXZhbHVlID0gJGV2ZW50O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgb25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdj8pIHtcbiAgICAgICAgaWYgKGtleSA9PT0gJ21pbnZhbHVlJyB8fCBrZXkgPT09ICdtYXh2YWx1ZScpIHtcbiAgICAgICAgICAgIHRoaXMuaXNWYWxpZChudik7XG4gICAgICAgIH0gZWxzZSBpZiAoa2V5ID09PSAnZGF0YXZhbHVlJyAmJiAhb3YpIHtcbiAgICAgICAgICAgIGlmICh0aGlzLmlzTmF0dXJhbEN1cnJlbmN5KCkpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNoZWNrRm9yVHJhaWxpbmdaZXJvcyh7dHlwZTogJ2JsdXInfSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMub25JbnB1dENoYW5nZShudik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Component, ElementRef, Inject, Injector, Optional, ViewChild } from '@angular/core';
2
- import { NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
2
+ import { NG_VALIDATORS, NG_VALUE_ACCESSOR, NgModel } from '@angular/forms';
3
3
  import { provideAs, provideAsWidgetRef } from '@wm/components/base';
4
4
  import { registerProps } from './input-number.props';
5
5
  import { BaseInput } from '../base/base-input';
@@ -40,7 +40,7 @@ export class InputNumberComponent extends BaseInput {
40
40
  provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
41
41
  provideAs(InputNumberComponent, NG_VALIDATORS, true),
42
42
  provideAsWidgetRef(InputNumberComponent)
43
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
43
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 22, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "keyup.enter", "keydown.ArrowUp", "keydown.ArrowDown", "keypress", "ngClass", "type", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "min", "max", "step", "autofocus", "ngStyle", "autocomplete"]], template: function InputNumberComponent_Template(rf, ctx) { if (rf & 1) {
44
44
  const _r1 = i0.ɵɵgetCurrentView();
45
45
  i0.ɵɵelementStart(0, "input", 1, 0);
46
46
  i0.ɵɵtwoWayListener("ngModelChange", function InputNumberComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
@@ -50,7 +50,7 @@ export class InputNumberComponent extends BaseInput {
50
50
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c2, ctx.step === 0))("type", ctx.type);
51
51
  i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
52
52
  i0.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("min", ctx.minvalue)("max", ctx.maxvalue)("step", ctx.step)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
53
- i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.hint);
53
+ i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
54
54
  } }, dependencies: [i1.NgClass, i1.NgStyle, i2.DefaultValueAccessor, i2.NgControlStatus, i2.RequiredValidator, i2.MaxLengthValidator, i2.NgModel], encapsulation: 2 }); }
55
55
  }
56
56
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNumberComponent, [{
@@ -59,7 +59,7 @@ export class InputNumberComponent extends BaseInput {
59
59
  provideAs(InputNumberComponent, NG_VALUE_ACCESSOR, true),
60
60
  provideAs(InputNumberComponent, NG_VALIDATORS, true),
61
61
  provideAsWidgetRef(InputNumberComponent)
62
- ], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
62
+ ], template: "<input class=\"form-control app-textbox\"\n [ngClass]=\"{'step-hidden': step === 0}\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [min]=\"minvalue\"\n [max]=\"maxvalue\"\n [step]=\"step\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n (keydown.ArrowUp)=\"onArrowPress($event)\"\n (keydown.ArrowDown)=\"onArrowPress($event)\"\n (keypress)=\"validateInputEntry($event)\"\n #input>\n" }]
63
63
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
64
64
  type: Inject,
65
65
  args: ['EXPLICIT_CONTEXT']
@@ -73,4 +73,4 @@ export class InputNumberComponent extends BaseInput {
73
73
  args: [NgModel]
74
74
  }] }); })();
75
75
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputNumberComponent, { className: "InputNumberComponent", filePath: "text/number/input-number.component.ts", lineNumber: 22 }); })();
76
- //# sourceMappingURL=data:application/json;base64,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HQ6IGFueSkge1xuICAgICAgICBzdXBlcihpbmosIFdJREdFVF9DT05GSUcsIGV4cGxpY2l0Q29udGV4dCk7XG4gICAgfVxuXG4gICAgb25BcnJvd1ByZXNzKCRldmVudCkge1xuICAgICAgICBpZiAodGhpcy5zdGVwID09PSAwKSB7XG4gICAgICAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIHZhbGlkYXRlSW5wdXRFbnRyeSgkZXZlbnQpIHtcbiAgICAgICAgaWYgKCRldmVudC5rZXkgPT09ICdlJyAmJiAgJGV2ZW50LnRhcmdldC52YWx1ZS5pbmRleE9mKCRldmVudC5rZXkpICE9PSAtMSkge1xuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgfVxufVxuIiwiPGlucHV0IGNsYXNzPVwiZm9ybS1jb250cm9sIGFwcC10ZXh0Ym94XCJcbiAgICAgICBbbmdDbGFzc109XCJ7J3N0ZXAtaGlkZGVuJzogc3RlcCA9PT0gMH1cIlxuICAgICAgIGZvY3VzLXRhcmdldFxuICAgICAgIFt0eXBlXT1cInR5cGVcIlxuICAgICAgIFthdHRyLm5hbWVdPVwibmFtZVwiXG4gICAgICAgWyhuZ01vZGVsKV09XCJkYXRhdmFsdWVcIlxuICAgICAgIFtuZ01vZGVsT3B0aW9uc109XCJuZ01vZGVsT3B0aW9uc1wiXG4gICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5XCJcbiAgICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIlxuICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gICAgICAgW21heGxlbmd0aF09XCJtYXhjaGFyc1wiXG4gICAgICAgW21pbl09XCJtaW52YWx1ZVwiXG4gICAgICAgW21heF09XCJtYXh2YWx1ZVwiXG4gICAgICAgW3N0ZXBdPVwic3RlcFwiXG4gICAgICAgW2F0dHIudGFiaW5kZXhdPVwidGFiaW5kZXhcIlxuICAgICAgIFthdHRyLnBsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCJcbiAgICAgICBbYXR0ci5hY2Nlc3NrZXldPVwic2hvcnRjdXRrZXlcIlxuICAgICAgIFthdHRyLmFyaWEtbGFiZWxdPVwiYXJpYWxhYmVsXCJcbiAgICAgICBbYXV0b2ZvY3VzXT1cImF1dG9mb2N1c1wiXG4gICAgICAgW25nQ2xhc3NdPVwiY29uZGl0aW9uYWxjbGFzc1wiXG4gICAgICAgW25nU3R5bGVdPVwiY29uZGl0aW9uYWxzdHlsZVwiXG4gICAgICAgKGJsdXIpPVwiaGFuZGxlQmx1cigkZXZlbnQpXCJcbiAgICAgICAobmdNb2RlbENoYW5nZSk9XCJoYW5kbGVDaGFuZ2UoJGV2ZW50KVwiXG4gICAgICAgW2F1dG9jb21wbGV0ZV09XCJhdXRvY29tcGxldGUgPyAnb24nIDogJ29mZidcIlxuICAgICAgIChrZXl1cC5lbnRlcik9XCJmbHVzaFZpZXdDaGFuZ2VzKGlucHV0LnZhbHVlKVwiXG4gICAgICAgKGtleWRvd24uQXJyb3dVcCk9XCJvbkFycm93UHJlc3MoJGV2ZW50KVwiXG4gICAgICAgKGtleWRvd24uQXJyb3dEb3duKT1cIm9uQXJyb3dQcmVzcygkZXZlbnQpXCJcbiAgICAgICAoa2V5cHJlc3MpPVwidmFsaWRhdGVJbnB1dEVudHJ5KCRldmVudClcIlxuICAgICAgICNpbnB1dD5cbiJdfQ==
@@ -8,6 +8,7 @@ export const inputNumberTypeProps = new Map([
8
8
  ['datavalue', PROP_STRING],
9
9
  ['disabled', PROP_BOOLEAN],
10
10
  ['hint', PROP_STRING],
11
+ ['arialabel', PROP_STRING],
11
12
  ['maxchars', PROP_NUMBER],
12
13
  ['maxvalue', PROP_NUMBER],
13
14
  ['minvalue', PROP_NUMBER],
@@ -28,4 +29,4 @@ export const inputNumberTypeProps = new Map([
28
29
  export const registerProps = () => {
29
30
  register('wm-input-number', inputN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UF9OVU1CRVJdLFxuICAgICAgICBbJ25hbWUnLCBQUk9QX1NUUklOR10sXG4gICAgICAgIFsncGxhY2Vob2xkZXInLCB7dmFsdWU6ICdFbnRlciB0ZXh0JywgLi4uUFJPUF9TVFJJTkd9XSxcbiAgICAgICAgWydyZWFkb25seScsIFBST1BfQk9PTEVBTl0sXG4gICAgICAgIFsncmVnZXhwJywgUFJPUF9TVFJJTkddLFxuICAgICAgICBbJ3JlcXVpcmVkJywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgWydzaG9ydGN1dGtleScsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgWydzaG93Jywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XSxcbiAgICAgICAgWydzdGVwJywgUFJPUF9OVU1CRVJdLFxuICAgICAgICBbJ3RhYmluZGV4Jywge3ZhbHVlOiAwLCAuLi5QUk9QX05VTUJFUn1dLFxuICAgICAgICBbJ3R5cGUnLCB7dmFsdWU6ICdudW1iZXInLCAuLi5QUk9QX1NUUklOR31dLFxuICAgICAgICBbJ3VwZGF0ZW9uJywgUFJPUF9TVFJJTkddLFxuICAgICAgICBbJ2NvbmRpdGlvbmFsY2xhc3MnLCBQUk9QX0FOWV0sXG4gICAgICAgIFsnY29uZGl0aW9uYWxzdHlsZScsIFBST1BfQU5ZXVxuXG4gICAgXVxuKTtcblxuZXhwb3J0IGNvbnN0IHJlZ2lzdGVyUHJvcHMgPSAoKSA9PiB7XG4gICAgcmVnaXN0ZXIoXG4gICAgICAgICd3bS1pbnB1dC1udW1iZXInLFxuICAgICAgICBpbnB1dE51bWJlclR5cGVQcm9wc1xuICAgICk7XG59O1xuIl19
@@ -1,5 +1,5 @@
1
1
  import { Component, ElementRef, Inject, Injector, Optional, ViewChild } from '@angular/core';
2
- import { NgModel, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
2
+ import { NG_VALIDATORS, NG_VALUE_ACCESSOR, NgModel } from '@angular/forms';
3
3
  import { provideAs, provideAsWidgetRef } from '@wm/components/base';
4
4
  import { registerProps } from './input-text.props';
5
5
  import { BaseInput } from '../base/base-input';
@@ -102,7 +102,7 @@ export class InputTextComponent extends BaseInput {
102
102
  provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
103
103
  provideAs(InputTextComponent, NG_VALIDATORS, true),
104
104
  provideAsWidgetRef(InputTextComponent)
105
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", "role", "textbox", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
105
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c1, decls: 2, vars: 19, consts: [["input", ""], ["focus-target", "", 1, "form-control", "app-textbox", 3, "ngModelChange", "blur", "focus", "keyup.enter", "type", "ngModel", "imask", "unmask", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "pattern", "autofocus", "ngClass", "ngStyle", "autocomplete"]], template: function InputTextComponent_Template(rf, ctx) { if (rf & 1) {
106
106
  const _r1 = i0.ɵɵgetCurrentView();
107
107
  i0.ɵɵelementStart(0, "input", 1, 0);
108
108
  i0.ɵɵtwoWayListener("ngModelChange", function InputTextComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
@@ -112,7 +112,7 @@ export class InputTextComponent extends BaseInput {
112
112
  i0.ɵɵproperty("type", ctx.type);
113
113
  i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
114
114
  i0.ɵɵproperty("imask", ctx.mask)("unmask", true)("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("pattern", ctx.regexp)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle)("autocomplete", ctx.autocomplete ? "on" : "off");
115
- i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.hint)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
115
+ i0.ɵɵattribute("name", ctx.name)("aria-label", ctx.arialabel)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey);
116
116
  } }, dependencies: [i1.NgClass, i1.NgStyle, i2.DefaultValueAccessor, i2.NgControlStatus, i2.RequiredValidator, i2.MaxLengthValidator, i2.PatternValidator, i2.NgModel, i3.IMaskDirective], encapsulation: 2 }); }
117
117
  }
118
118
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
@@ -121,7 +121,7 @@ export class InputTextComponent extends BaseInput {
121
121
  provideAs(InputTextComponent, NG_VALUE_ACCESSOR, true),
122
122
  provideAs(InputTextComponent, NG_VALIDATORS, true),
123
123
  provideAsWidgetRef(InputTextComponent)
124
- ], template: "<input class=\"form-control app-textbox\"\n focus-target\n role=\"textbox\"\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
124
+ ], template: "<input class=\"form-control app-textbox\"\n focus-target\n [type]=\"type\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [(ngModel)]=\"datavalue\"\n [imask]=\"mask\"\n [unmask]=\"true\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [pattern]=\"regexp\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (ngModelChange)=\"handleChange($event)\"\n (blur)=\"handleBlur($event); checkForDisplayFormat($event)\"\n (focus)=\"checkForDisplayFormat($event)\"\n [autocomplete]=\"autocomplete ? 'on' : 'off'\"\n (keyup.enter)=\"flushViewChanges(input.value)\"\n #input>\n" }]
125
125
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
126
126
  type: Inject,
127
127
  args: ['EXPLICIT_CONTEXT']
@@ -138,4 +138,4 @@ export class InputTextComponent extends BaseInput {
138
138
  args: ['input', { read: IMaskDirective }]
139
139
  }] }); })();
140
140
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputTextComponent, { className: "InputTextComponent", filePath: "text/text/input-text.component.ts", lineNumber: 23 }); })();
141
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvaW5wdXQvZGVmYXVsdC9zcmMvdGV4dC90ZXh0L2lucHV0LXRleHQuY29tcG9uZW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Zvcm1hdCc6XG4gICAgICAgICAgICAgICAgdGhpcy5tYXNrVmFsID0gdGhpcy5kaXNwbGF5Zm9ybWF0O1xuICAgICAgICAgICAgICAgIHRoaXMuY2hlY2tGb3JEaXNwbGF5Rm9ybWF0KCk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdzaG93ZGlzcGxheWZvcm1hdG9uJzpcbiAgICAgICAgICAgICAgICB0aGlzLmxhenkgPSBudiA9PT0gJ2tleXByZXNzJyA/IHRydWUgOiBmYWxzZTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgc3VwZXIub25Qcm9wZXJ0eUNoYW5nZShrZXksIG52LCBvdik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXQgbWFzaygpIHtcbiAgICAgICAgaWYgKHRoaXMuZGlzcGxheWZvcm1hdCAmJiAoIXRoaXMucGxhY2Vob2xkZXIgfHwgKHRoaXMucGxhY2Vob2xkZXIgJiYgdGhpcy5pc0ZvY3VzZWQpKSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBtYXNrOiB0aGlzLm1hc2tWYWwsXG4gICAgICAgICAgICAgICAgbGF6eTogdGhpcy5sYXp5LFxuICAgICAgICAgICAgICAgIGRlZmluaXRpb25zOiB7XG4gICAgICAgICAgICAgICAgICAgICc5JzogL1xcZC8sXG4gICAgICAgICAgICAgICAgICAgICdBJzogL1thLXpBLVpdLyxcbiAgICAgICAgICAgICAgICAgICAgJ2EnOiAvW2Etel0vLFxuICAgICAgICAgICAgICAgICAgICAnKic6IC9cXHcvXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vIHNob3cgZGlzcGxheSBmb3JtYXQgb24gZm9j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dPVwidHJ1ZVwiXG4gICAgICAgW25nTW9kZWxPcHRpb25zXT1cIm5nTW9kZWxPcHRpb25zXCJcbiAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxuICAgICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiXG4gICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgICBbbWF4bGVuZ3RoXT1cIm1heGNoYXJzXCJcbiAgICAgICBbcGF0dGVybl09XCJyZWdleHBcIlxuICAgICAgIFthdHRyLnRhYmluZGV4XT1cInRhYmluZGV4XCJcbiAgICAgICBbYXR0ci5wbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXG4gICAgICAgW2F0dHIuYWNjZXNza2V5XT1cInNob3J0Y3V0a2V5XCJcbiAgICAgICBbYXV0b2ZvY3VzXT1cImF1dG9mb2N1c1wiXG4gICAgICAgW25nQ2xhc3NdPVwiY29uZGl0aW9uYWxjbGFzc1wiXG4gICAgICAgW25nU3R5bGVdPVwiY29uZGl0aW9uYWxzdHlsZVwiXG4gICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwiaGFuZGxlQ2hhbmdlKCRldmVudClcIlxuICAgICAgIChibHVyKT1cImhhbmRsZUJsdXIoJGV2ZW50KTsgY2hlY2tGb3JEaXNwbGF5Rm9ybWF0KCRldmVudClcIlxuICAgICAgIChmb2N1cyk9XCJjaGVja0ZvckRpc3BsYXlGb3JtYXQoJGV2ZW50KVwiXG4gICAgICAgW2F1dG9jb21wbGV0ZV09XCJhdXRvY29tcGxldGUgPyAnb24nIDogJ29mZidcIlxuICAgICAgIChrZXl1cC5lbnRlcik9XCJmbHVzaFZpZXdDaGFuZ2VzKGlucHV0LnZhbHVlKVwiXG4gICAgICAgI2lucHV0PlxuIl19
141
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291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jaGFuZ2VzIGZvciBzdHlsZXMgb3IgcHJvcGVydGllcyBhbmQgYWNjb3JkaW5nbHkgaGFuZGxpbmcgcmVzcGVjdGl2ZSBjaGFuZ2VzLiovXG4gICAgICAgIHN3aXRjaCAoa2V5KSB7XG4gICAgICAgICAgICBjYXNlICdkaXNwbGF5Zm9ybWF0JzpcbiAgICAgICAgICAgICAgICB0aGlzLm1hc2tWYWwgPSB0aGlzLmRpc3BsYXlmb3JtYXQ7XG4gICAgICAgICAgICAgICAgdGhpcy5jaGVja0ZvckRpc3BsYXlGb3JtYXQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3Nob3dkaXNwbGF5Zm9ybWF0b24nOlxuICAgICAgICAgICAgICAgIHRoaXMubGF6eSA9IG52ID09PSAna2V5cHJlc3MnID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBzdXBlci5vblByb3BlcnR5Q2hhbmdlKGtleSwgbnYsIG92KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGdldCBtYXNrKCkge1xuICAgICAgICBpZiAodGhpcy5kaXNwbGF5Zm9ybWF0ICYmICghdGhpcy5wbGFjZWhvbGRlciB8fCAodGhpcy5wbGFjZWhvbGRlciAmJiB0aGlzLmlzRm9jdXNlZCkpKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIG1hc2s6IHRoaXMubWFza1ZhbCxcbiAgICAgICAgICAgICAgICBsYXp5OiB0aGlzLmxhenksXG4gICAgICAgICAgICAgICAgZGVmaW5pdGlvbnM6IHtcbiAgICAgICAgICAgICAgICAgICAgJzknOiAvXFxkLyxcbiAgICAgICAgICAgICAgICAgICAgJ0EnOiAvW2EtekEtWl0vLFxuICAgICAgICAgICAgICAgICAgICAnYSc6IC9bYS16XS8sXG4gICAgICAgICAgICAgICAgICAgICcqJ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wiXG4gICAgICAgI2lucHV0PlxuIl19
@@ -14,6 +14,7 @@ export const inputTextTypeProps = new Map([
14
14
  ['disabled', PROP_BOOLEAN],
15
15
  ['displayformat', PROP_STRING],
16
16
  ['hint', PROP_STRING],
17
+ ['arialabel', PROP_STRING],
17
18
  ['maxchars', PROP_NUMBER],
18
19
  ['name', PROP_STRING],
19
20
  ['placeholder', { value: 'Enter text', ...PROP_STRING }],
@@ -42,4 +43,4 @@ export const registerProps = () => {
42
43
  mergeTextProps(inputNumberTypeProps);
43
44
  registerFormWidget(FormWidgetType.TEXT, new Map(formTextProps));
44
45
  };
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvd2lkZ2V0cy9pbnB1dC9kZWZhdWx0L3NyYy90ZXh0L3RleHQvaW5wdXQtdGV4dC5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFFLFFBQVEsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3JILE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFHMUMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDcEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDMUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDakUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFFakUsTUFBTSxDQUFDLE1BQU0s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