@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
@@ -626,7 +626,7 @@ export class ChipsComponent extends DatasetAwareFormComponent {
626
626
  } }, features: [i0.ɵɵProvidersFeature([
627
627
  provideAs(ChipsComponent, NG_VALUE_ACCESSOR, true),
628
628
  provideAsWidgetRef(ChipsComponent)
629
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 4, vars: 4, consts: [["search", ""], ["role", "option", 3, "class", "ngClass", 4, "ngFor", "ngForOf"], [1, "app-chip-search", 3, "ngClass"], ["wmSearch", "", "name", "app-chip-search", "submit.event", "addItem($event, widget)", "beforeservicecall.event", "invokeOnBeforeServiceCall(inputData)", "disabled.bind", "disabled || readonly || saturate", "datafield.bind", "datafield", "allowonlyselect.bind", "allowonlyselect", "searchkey.bind", "searchkey", "orderby.bind", "orderby", "placeholder.bind", "saturate ? maxSizeReached : placeholder", "showsearchicon.bind", "showsearchicon", "tabindex.bind", "tabindex", "minchars.bind", "minchars", "debouncetime.bind", "debouncetime", "matchmode.bind", "matchmode", "groupby.bind", "groupby", "match.bind", "match", "dateformat.bind", "dateformat", 1, "app-chip-input", 3, "keydown.enter", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright"], ["role", "option", 3, "ngClass"], ["href", "javascript:void(0);", "tabindex", "-1", 1, "app-chip", 3, "click", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright", "focus", "blur", "ngClass"], ["data-identifier", "img", "alt", "Chip Image", "class", "button-image-icon", 3, "src", 4, "ngIf"], [1, "app-chip-title", 3, "textContent", "title"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", "class", "btn btn-transparent", 3, "click", 4, "ngIf"], ["data-identifier", "img", "alt", "Chip Image", 1, "button-image-icon", 3, "src"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", 1, "btn", "btn-transparent", 3, "click"], [1, "app-icon", "wi", "wi-close"]], template: function ChipsComponent_Template(rf, ctx) { if (rf & 1) {
629
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 4, vars: 4, consts: [["search", ""], ["role", "option", 3, "class", "ngClass", 4, "ngFor", "ngForOf"], [1, "app-chip-search", 3, "ngClass"], ["wmSearch", "", "name", "app-chip-search", "submit.event", "addItem($event, widget)", "beforeservicecall.event", "invokeOnBeforeServiceCall(inputData)", "disabled.bind", "disabled || readonly || saturate", "datafield.bind", "datafield", "allowonlyselect.bind", "allowonlyselect", "searchkey.bind", "searchkey", "orderby.bind", "orderby", "placeholder.bind", "saturate ? maxSizeReached : placeholder", "showsearchicon.bind", "showsearchicon", "tabindex.bind", "tabindex", "minchars.bind", "minchars", "debouncetime.bind", "debouncetime", "matchmode.bind", "matchmode", "datacompletemsg.bind", "datacompletemsg", "groupby.bind", "groupby", "match.bind", "match", "dateformat.bind", "dateformat", 1, "app-chip-input", 3, "keydown.enter", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright"], ["role", "option", 3, "ngClass"], ["tabindex", "-1", 1, "app-chip", 3, "click", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright", "focus", "blur", "ngClass"], ["data-identifier", "img", "alt", "Chip Image", "class", "button-image-icon", 3, "src", 4, "ngIf"], [1, "app-chip-title", 3, "textContent", "title"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", "class", "btn btn-transparent", 3, "click", 4, "ngIf"], ["data-identifier", "img", "alt", "Chip Image", 1, "button-image-icon", 3, "src"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", 1, "btn", "btn-transparent", 3, "click"], [1, "app-icon", "wi", "wi-close"]], template: function ChipsComponent_Template(rf, ctx) { if (rf & 1) {
630
630
  const _r1 = i0.ɵɵgetCurrentView();
631
631
  i0.ɵɵtemplate(0, ChipsComponent_li_0_Template, 5, 15, "li", 1);
632
632
  i0.ɵɵelementStart(1, "li", 2)(2, "div", 3, 0);
@@ -643,7 +643,7 @@ export class ChipsComponent extends DatasetAwareFormComponent {
643
643
  args: [{ selector: '[wmChips]', providers: [
644
644
  provideAs(ChipsComponent, NG_VALUE_ACCESSOR, true),
645
645
  provideAsWidgetRef(ChipsComponent)
646
- ], template: "<li class=\"chip-item {{chipclass && !bindChipclass ? chipclass : ''}}\" role=\"option\" *ngFor=\"let item of chipsList; let $index = index;\"\n [ngClass]=\"{'active': item.active, 'disabled': disabled}\">\n <a class=\"app-chip\" href=\"javascript:void(0);\" tabindex=\"-1\"\n (click)=\"handleChipClick($event, item)\"\n (keydown.delete)=\"onDelete($event, item, $index)\"\n (keydown.backspace)=\"onBackspace($event, item, $index)\"\n (keydown.arrowleft)=\"onArrowLeft(item, $index)\"\n (keydown.arrowright)=\"onArrowRight(item, $index)\"\n (focus)=\"handleChipFocus($event, item)\"\n (blur)=\"readonly ? 0 : item.active = false\"\n [ngClass]=\"{'chip-duplicate bg-danger': item.isDuplicate, 'chip-picture': item.imgSrc}\">\n <img data-identifier=\"img\" alt=\"Chip Image\" class=\"button-image-icon\" [src]=\"item.imgSrc\" *ngIf=\"item.imgSrc\"/>\n <span class=\"app-chip-title\" [textContent]=\"item.label\" [title]=\"item.label\"></span>\n <button type=\"button\" tabindex=\"-1\" aria-label=\"Clear Button\" class=\"btn btn-transparent\" (click)=\"removeItem($event, item, $index);\" *ngIf=\"!readonly\">\n <i class=\"app-icon wi wi-close\"></i>\n </button>\n </a>\n</li>\n<li class=\"app-chip-search\" [ngClass]=\"{'full-width': inputwidth === 'full'}\">\n <div #search wmSearch class=\"app-chip-input\"\n name=\"app-chip-search\"\n submit.event=\"addItem($event, widget)\"\n beforeservicecall.event=\"invokeOnBeforeServiceCall(inputData)\"\n disabled.bind=\"disabled || readonly || saturate\"\n datafield.bind=\"datafield\"\n allowonlyselect.bind=\"allowonlyselect\"\n searchkey.bind=\"searchkey\"\n orderby.bind=\"orderby\"\n placeholder.bind=\"saturate ? maxSizeReached : placeholder\"\n showsearchicon.bind=\"showsearchicon\"\n tabindex.bind=\"tabindex\"\n minchars.bind=\"minchars\"\n debouncetime.bind=\"debouncetime\"\n matchmode.bind=\"matchmode\"\n groupby.bind=\"groupby\"\n match.bind=\"match\"\n dateformat.bind=\"dateformat\"\n (keydown.enter)=\"stopEvent($event)\"\n (keydown.delete)=\"onTextDelete($event)\"\n (keydown.backspace)=\"onInputClear($event)\"\n (keydown.arrowleft)=\"onArrowLeft()\"\n (keydown.arrowright)=\"onArrowRight()\">\n </div>\n</li>\n" }]
646
+ ], template: "<li class=\"chip-item {{chipclass && !bindChipclass ? chipclass : ''}}\" role=\"option\" *ngFor=\"let item of chipsList; let $index = index;\"\n [ngClass]=\"{'active': item.active, 'disabled': disabled}\">\n <a class=\"app-chip\" tabindex=\"-1\"\n (click)=\"handleChipClick($event, item)\"\n (keydown.delete)=\"onDelete($event, item, $index)\"\n (keydown.backspace)=\"onBackspace($event, item, $index)\"\n (keydown.arrowleft)=\"onArrowLeft(item, $index)\"\n (keydown.arrowright)=\"onArrowRight(item, $index)\"\n (focus)=\"handleChipFocus($event, item)\"\n (blur)=\"readonly ? 0 : item.active = false\"\n [ngClass]=\"{'chip-duplicate bg-danger': item.isDuplicate, 'chip-picture': item.imgSrc}\">\n <img data-identifier=\"img\" alt=\"Chip Image\" class=\"button-image-icon\" [src]=\"item.imgSrc\" *ngIf=\"item.imgSrc\"/>\n <span class=\"app-chip-title\" [textContent]=\"item.label\" [title]=\"item.label\"></span>\n <button type=\"button\" tabindex=\"-1\" aria-label=\"Clear Button\" class=\"btn btn-transparent\" (click)=\"removeItem($event, item, $index);\" *ngIf=\"!readonly\">\n <i class=\"app-icon wi wi-close\"></i>\n </button>\n </a>\n</li>\n<li class=\"app-chip-search\" [ngClass]=\"{'full-width': inputwidth === 'full'}\">\n <div #search wmSearch class=\"app-chip-input\"\n name=\"app-chip-search\"\n submit.event=\"addItem($event, widget)\"\n beforeservicecall.event=\"invokeOnBeforeServiceCall(inputData)\"\n disabled.bind=\"disabled || readonly || saturate\"\n datafield.bind=\"datafield\"\n allowonlyselect.bind=\"allowonlyselect\"\n searchkey.bind=\"searchkey\"\n orderby.bind=\"orderby\"\n placeholder.bind=\"saturate ? maxSizeReached : placeholder\"\n showsearchicon.bind=\"showsearchicon\"\n tabindex.bind=\"tabindex\"\n minchars.bind=\"minchars\"\n debouncetime.bind=\"debouncetime\"\n matchmode.bind=\"matchmode\"\n datacompletemsg.bind = \"datacompletemsg\"\n groupby.bind=\"groupby\"\n match.bind=\"match\"\n dateformat.bind=\"dateformat\"\n (keydown.enter)=\"stopEvent($event)\"\n (keydown.delete)=\"onTextDelete($event)\"\n (keydown.backspace)=\"onInputClear($event)\"\n (keydown.arrowleft)=\"onArrowLeft()\"\n (keydown.arrowright)=\"onArrowRight()\">\n </div>\n</li>\n" }]
647
647
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
648
648
  type: Attribute,
649
649
  args: ['displayfield.bind']
@@ -672,4 +672,4 @@ export class ChipsComponent extends DatasetAwareFormComponent {
672
672
  args: [SearchComponent, /* TODO: add static flag */ { static: true }]
673
673
  }] }); })();
674
674
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChipsComponent, { className: "ChipsComponent", filePath: "chips.component.ts", lineNumber: 54 }); })();
675
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2lucHV0L2NoaXBzL3NyYy9jaGlwcy5jb21wb25lbnQudHMiLCIuLi8uLi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gKCFpc09iamVjdCh2YWwpKSB7XG4gICAgICAgICAgICAgICAgICAgIGRhdGFPYmogPSB0aGlzLmNyZWF0ZUN1c3RvbURhdGFNb2RlbCh2YWwpO1xuICAgICAgICAgICAgICAgICAgICBpc0N1c3RvbSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGlmIChkYXRhT2JqKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhLnNwbGljZShpLCAxLCBkYXRhT2JqKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGlmIGN1c3RvbSBjaGlwcyBpcyBhbHJlYWR5IGdlbmVyYXRlZCwgdmFsIHdpbGwgYmUgb2JqZWN0IGFzIHsnZGF0YUZpZWxkX3ZhbCc6ICdlbnRlcmVkX3ZhbCd9XG4gICAgICAgICAgICAgICAgICAgIC8vIEhlbmNlIGNoZWNrIHRoaXMgdmFsIGluIHByZXZpb3VzIGNoaXBMaXN0IGFuZCBhc3NpZ24gdGhlIGlzY3VzdG9tIGZsYWdcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcHJldkNoaXBPYmogPSBwcmV2Q2hpcHNMaXN0LmZpbmQob2JqID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBpc0VxdWFsKG9iai52YWx1ZSwgdmFsKTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChwcmV2Q2hpcE9iaikge1xuICAgICAgICAgICAgICAgICAgICAgICAgaXNDdXN0b20gPSBwcmV2Q2hpcE9iai5pc2N1c3RvbTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBkYXRhT2JqID0gZGF0YU9iaiB8fCB2YWw7XG5cbiAgICAgICAgICAgICAgICBjb25zdCB0cmFuc2Zvcm1lZERhdGEgPSB0aGlzLmdldFRyYW5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C50b1N0cmluZygpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaXNFeGlzdHMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5hbGxvd29ubHlzZWxlY3QpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgaW5kZXggPSBkYXRhLmluZGV4T2YodmFsKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGluZGV4ID4gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGEuc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRyYW5zZm9ybWVkRGF0YSA9IHRoaXMuZ2V0VHJhbnNmb3JtZWREYXRhKHZhbCwgdHJ1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgY2hpcE9iaiA9IHRyYW5zZm9ybWVkRGF0YVswXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2hpcE9iaiBhcyBhbnkpLmlzY3VzdG9tID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmNoaXBzTGlzdC5wdXNoKGNoaXBPYmopO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9KSk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBkZWZhdWx0IGNoaXAgZGF0YSBpcyBhZGRpbmcgZm9jdXMgb24gdG8gdGhlIHNlYXJjaCBpbnB1dC4gSGVuY2UgdGhpcyBmbGFnIGhlbHBzIG5vdCB0byBmb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HByaXZhdGUgYWRkSXRlbSgkZXZlbnQ6IEV2ZW50LCB3aWRnZXQ/OiBTZWFyY2hDb21wb25lbnQpIHtcbiAgICAgICAgY29uc3Qgc2VhcmNoQ29tcG9uZW50ID0gd2lkZ2V0O1xuICAgICAgICBsZXQgYWxsb3dBZGQ7XG4gICAgICAgIGxldCBjaGlwT2JqO1xuXG4gICAgICAgIGlmIChzZWFyY2hDb21wb25lbnQgJiYgaXNEZWZpbmVkKHNlYXJjaENvbXBvbmVudC5kYXRhdmFsdWUpICYmIHNlYXJjaENvbXBvbmVudC5xdWVyeU1vZGVsICE9PSAnJykge1xuICAgICAgICAgICAgaWYgKCFzZWFyY2hDb21wb25lbnQucXVlcnkgfHwgIXRyaW0oc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNoaXBPYmogPSBzZWFyY2hDb21wb25lbnQucXVlcnlNb2RlbDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGlmICh0aGlzLmFsbG93b25seXNlbGVjdCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGxldCBkYXRhT2JqO1xuICAgICAgICAgICAgaWYgKHRoaXMuZGF0YWZpZWxkID09PSBBTExGSUVMRFMpIHtcbiAgICAgICAgICAgICAgICBpZiAoIWlzT2JqZWN0KHRoaXMuc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSAmJiB0cmltKHRoaXMuc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSkge1xuICAgICAgICAgICAgICAgICAgICBkYXRhT2JqID0gdGhpcy5jcmVhdGVDdXN0b21EYXRhTW9kZWwodGhpcy5zZWFyY2hDb21wb25lbnQucXVlcnkpO1xuICAgICAgICAgICAgICAgICAgICAvLyByZXR1cm4gaWYgdGhlIGN1c3RvbSBjaGlwIGlzIGVtcHR5XG4gICAgICAgICAgICAgICAgICAgIGlmICghZGF0YU9iaikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZXNldFNlYXJjaE1vZGVsKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNvbnN0IGRhdGEgPSBkYXRhT2JqIHx8IHRyaW0odGhpcy5zZWFyY2hDb21wb25lbnQucXVlcnkpO1xuICAgICAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgICAgICBjb25zdCB0cmFuc2Zvcm1lZERhdGEgPSB0aGlzLmdldFRyYW5zZm9ybWVkRGF0YShkYXRhLCB0cnVlKTtcbiAgICAgICAgICAgICAgICBjaGlwT2JqID0gdHJhbnNmb3JtZWREYXRhWzBdO1xuICAgICAgICAgICAgICAgIGNoaXBPYmouaXNjdXN0b20gPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFpc0RlZmluZWQoY2hpcE9iaikgfHwgY2hpcE9iaiA9PT0gJycpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGFsbG93QWRkID0gdGhpcy5pbnZva2VFdmVudENhbGxiYWNrKCdiZWZvcmVhZGQnLCB7JGV2ZW50LCBuZXdJdGVtOiBjaGlwT2JqfSk7XG5cbiAgICAgICAgaWYgKGlzRGVmaW5lZChhbGxvd0FkZCkgJiYgIXRvQm9vbGVhbihhbGxvd0FkZCkpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLmlzRHVwbGljYXRlKGNoaXBPYmopKSB7XG4gICAgICAgICAgICB0aGlzLnJlc2V0U2VhcmNoTW9kZWwoKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnJlZ2l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gICAgIHRoaXMuc2VhcmNoQ29tcG9uZW50LmxpbWl0ID0gdGhpcy5saW1pdDtcbiAgICAgICAgfVxuICAgICAgICBpZiAoa2V5ID09PSAnbWF0Y2htb2RlJykge1xuICAgICAgICAgICAgdGhpcy5zZWFyY2hDb21wb25lbnQubWF0Y2htb2RlID0gdGhpcy5tYXRjaG1vZGU7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGtleSA9PT0gJ2dyb3VwYnknKSB7XG4gICAgICAgICAgICB0aGlzLnNlYXJjaENvbXBvbmVudC5ncm91cGJ5ID0gdGhpcy5ncm91cGJ5O1xuICAgICAgICB9XG4gICAgICAgIGlmIChrZXkgPT09ICdlbmFibGVyZW9yZGVyJykge1xuICAgICAgICAgICAgaWYgKHRoaXMuJGVsZW1lbnQuaGFzQ2xhc3MoJ3VpLXNvcnRhYmxlJykpIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LnNvcnRhYmxlKCdvcHRpb24nLCAnZGlzYWJsZWQnLCAhbnYgKTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAobnYpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNvbmZpZ3VyZURuRCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmIChrZXkgPT09ICdyZWFkb25seScpIHtcbiAgICAgICAgICAgIGlmIChudikge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQuYWRkQ2xhc3MoJ3JlYWRvbmx5Jyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQucmVtb3ZlQ2xhc3MoJ3JlYWRvbmx5Jyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGtleSA9PT0gJ2lucHV0cG9zaXRpb24nKSB7XG4gICAgICAgICAgICBjb25zdCAkaW5wdXRFbCA9IHRoaXMuJGVsZW1lbnQuZmluZCgnbGkuYXBwLWNoaXA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dHVyYXRlID8gbWF4U2l6ZVJlYWNoZWQgOiBwbGFjZWhvbGRlclwiXG4gICAgICAgICBzaG93c2VhcmNoaWNvbi5iaW5kPVwic2hvd3NlYXJjaGljb25cIlxuICAgICAgICAgdGFiaW5kZXguYmluZD1cInRhYmluZGV4XCJcbiAgICAgICAgIG1pbmNoYXJzLmJpbmQ9XCJtaW5jaGFyc1wiXG4gICAgICAgICBkZWJvdW5jZXRpbWUuYmluZD1cImRlYm91bmNldGltZVwiXG4gICAgICAgICBtYXRjaG1vZGUuYmluZD1cIm1hdGNobW9kZVwiXG4gICAgICAgICBncm91cGJ5LmJpbmQ9XCJncm91cGJ5XCJcbiAgICAgICAgIG1hdGNoLmJpbmQ9XCJtYXRjaFwiXG4gICAgICAgICBkYXRlZm9ybWF0LmJpbmQ9XCJkYXRlZm9ybWF0XCJcbiAgICAgICAgIChrZXlkb3duLmVudGVyKT1cInN0b3BFdmVudCgkZXZlbnQpXCJcbiAgICAgICAgIChrZXlkb3duLmRlbGV0ZSk9XCJvblRleHREZWxldGUoJGV2ZW50KVwiXG4gICAgICAgICAoa2V5ZG93bi5iYWNrc3BhY2UpPVwib25JbnB1dENsZWFyKCRldmVudClcIlxuICAgICAgICAgKGtleWRvd24uYXJyb3dsZWZ0KT1cIm9uQXJyb3dMZWZ0KClcIlxuICAgICAgICAgKGtleWRvd24uYXJyb3dyaWdodCk9XCJvbkFycm93UmlnaHQoKVwiPlxuICAgIDwvZGl2PlxuPC9saT5cbiJdfQ==
675
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy93aWRnZXRzL2lucHV0L2NoaXBzL3NyYy9jaGlwcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnR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gICAgICAgICAgIGRhdGFPYmogPSB0aGlzLmNyZWF0ZUN1c3RvbURhdGFNb2RlbCh2YWwpO1xuICAgICAgICAgICAgICAgICAgICBpc0N1c3RvbSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGlmIChkYXRhT2JqKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhLnNwbGljZShpLCAxLCBkYXRhT2JqKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGlmIGN1c3RvbSBjaGlwcyBpcyBhbHJlYWR5IGdlbmVyYXRlZCwgdmFsIHdpbGwgYmUgb2JqZWN0IGFzIHsnZGF0YUZpZWxkX3ZhbCc6ICdlbnRlcmVkX3ZhbCd9XG4gICAgICAgICAgICAgICAgICAgIC8vIEhlbmNlIGNoZWNrIHRoaXMgdmFsIGluIHByZXZpb3VzIGNoaXBMaXN0IGFuZCBhc3NpZ24gdGhlIGlzY3VzdG9tIGZsYWdcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcHJldkNoaXBPYmogPSBwcmV2Q2hpcHNMaXN0LmZpbmQob2JqID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBpc0VxdWFsKG9iai52YWx1ZSwgdmFsKTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChwcmV2Q2hpcE9iaikge1xuICAgICAgICAgICAgICAgICAgICAgICAgaXNDdXN0b20gPSBwcmV2Q2hpcE9iai5pc2N1c3RvbTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBkYXRhT2JqID0gZGF0YU9iaiB8fCB2YWw7XG5cbiAgICAgICAgICAgICAgICBjb25zdCB0cmFuc2Zvcm1lZERhdGEgPSB0aGlzLmdldFRyYW5zZm9ybWVkRGF0YShkYXRhT2JqLCBpc0N1c3RvbSk7XG4gICAgICAgICAgICAgICAgY29uc3QgY2hpcE9iaiA9IHRyYW5zZm9ybWVkRGF0YVswXTtcbiAgICAgICAgICAgICAgICBpZiAoaXNDdXN0b20pIHtcbiAgICAgICAgICAgICAgICAgICAgKGNoaXBPYmogYXMgYW55KS5pc2N1c3RvbSA9IGlzQ3VzdG9tO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzLmNoaXBzTGlzdC5wdXNoKGNoaXBPYmopO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcblxuICAgICAgICAvLyBtYWtlIGRlZmF1bHQgcXVlcnkgd2l0aCBhbGwgdGhlIHZhbHVlcyBhbmQgaWYgcmVzcG9uc2UgZm9yIHRoZSB2YWx1ZSBpcyBub3QgaW4gZGF0YXZhbHVlIHRoZW4gYWRkIGEgY3VzdG9tIGNoaXAgb2JqZWN0LlxuICAgICAgICBpZiAoc2VhcmNoUXVlcnkubGVuZ3RoKSB7XG4gICAgICAgICAgICBwcm9taXNlcy5wdXNoKHRoaXMuZ2V0RGVmYXVsdE1vZGVsKHNlYXJjaFF1ZXJ5LCB0aGlzLm5leHRJdGVtSW5kZXgpXG4gICAgICAgICAgICAgICAgLnRoZW4ocmVzcG9uc2UgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmNoaXBzTGlzdCA9IHRoaXMuY2hpcHNMaXN0LmNvbmNhdChyZXNwb25zZSB8fCBbXSk7XG4gICAgICAgICAgICAgICAgICAgIGRhdGFWYWx1ZS5mb3JFYWNoKCh2YWw6IGFueSwgaTogbnVtYmVyKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBpc0V4aXN0cyA9IGZpbmQodGhpcy5jaGlwc0xpc3QsIChvYmopID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2JqLnZhbHVlLnRvU3RyaW5nKCkgPT09IHZhbC50b1N0cmluZygpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaXNFeGlzdHMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5hbGxvd29ubHlzZWxlY3QpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgaW5kZXggPSBkYXRhLmluZGV4T2YodmFsKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGluZGV4ID4gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGEuc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRyYW5zZm9ybWVkRGF0YSA9IHRoaXMuZ2V0VHJhbnNmb3JtZWREYXRhKHZhbCwgdHJ1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgY2hpcE9iaiA9IHRyYW5zZm9ybWVkRGF0YVswXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2hpcE9iaiBhcyBhbnkpLmlzY3VzdG9tID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmNoaXBzTGlzdC5wdXNoKGNoaXBPYmopO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9KSk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBkZWZhdWx0IGNoaXAgZGF0YSBpcyBhZGRpbmcgZm9jdXMgb24gdG8gdGhlIHNlYXJjaCBpbnB1dC4gSGVuY2UgdGhpcyBmbGFnIGhlbHBzIG5vdCB0byBmb2N1cy5cbiAgICAgICAgdGhpcy5yZXNldFNlYXJ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ZW50LCB3aWRnZXQ/OiBTZWFyY2hDb21wb25lbnQpIHtcbiAgICAgICAgY29uc3Qgc2VhcmNoQ29tcG9uZW50ID0gd2lkZ2V0O1xuICAgICAgICBsZXQgYWxsb3dBZGQ7XG4gICAgICAgIGxldCBjaGlwT2JqO1xuXG4gICAgICAgIGlmIChzZWFyY2hDb21wb25lbnQgJiYgaXNEZWZpbmVkKHNlYXJjaENvbXBvbmVudC5kYXRhdmFsdWUpICYmIHNlYXJjaENvbXBvbmVudC5xdWVyeU1vZGVsICE9PSAnJykge1xuICAgICAgICAgICAgaWYgKCFzZWFyY2hDb21wb25lbnQucXVlcnkgfHwgIXRyaW0oc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNoaXBPYmogPSBzZWFyY2hDb21wb25lbnQucXVlcnlNb2RlbDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGlmICh0aGlzLmFsbG93b25seXNlbGVjdCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGxldCBkYXRhT2JqO1xuICAgICAgICAgICAgaWYgKHRoaXMuZGF0YWZpZWxkID09PSBBTExGSUVMRFMpIHtcbiAgICAgICAgICAgICAgICBpZiAoIWlzT2JqZWN0KHRoaXMuc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSAmJiB0cmltKHRoaXMuc2VhcmNoQ29tcG9uZW50LnF1ZXJ5KSkge1xuICAgICAgICAgICAgICAgICAgICBkYXRhT2JqID0gdGhpcy5jcmVhdGVDdXN0b21EYXRhTW9kZWwodGhpcy5zZWFyY2hDb21wb25lbnQucXVlcnkpO1xuICAgICAgICAgICAgICAgICAgICAvLyByZXR1cm4gaWYgdGhlIGN1c3RvbSBjaGlwIGlzIGVtcHR5XG4gICAgICAgICAgICAgICAgICAgIGlmICghZGF0YU9iaikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZXNldFNlYXJjaE1vZGVsKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNvbnN0IGRhdGEgPSBkYXRhT2JqIHx8IHRyaW0odGhpcy5zZWFyY2hDb21wb25lbnQucXVlcnkpO1xuICAgICAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICAgICAgICBjb25zdCB0cmFuc2Zvcm1lZERhdGEgPSB0aGlzLmdldFRyYW5zZm9ybWVkRGF0YShkYXRhLCB0cnVlKTtcbiAgICAgICAgICAgICAgICBjaGlwT2JqID0gdHJhbnNmb3JtZWREYXRhWzBdO1xuICAgICAgICAgICAgICAgIGNoaXBPYmouaXNjdXN0b20gPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFpc0RlZmluZWQoY2hpcE9iaikgfHwgY2hpcE9iaiA9PT0gJycpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGFsbG93QWRkID0gdGhpcy5pbnZva2VFdmVudENhbGxiYWNrKCdiZWZvcmVhZGQnLCB7JGV2ZW50LCBuZXdJdGVtOiBjaGlwT2JqfSk7XG5cbiAgICAgICAgaWYgKGlzRGVmaW5lZChhbGxvd0FkZCkgJiYgIXRvQm9vbGVhbihhbGxvd0FkZCkpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLmlzRHVwbGljYXRlKGNoaXBPYmopKSB7XG4gICAgICAgICAgICB0aGlzLnJlc2V0U2VhcmNoTW9kZWwoKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnJlZ2lzdGVyQ2hpcEl0ZW1DbGFzcyhjaGlwT2Jq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bWl0ID0gdGhpcy5saW1pdDtcbiAgICAgICAgfVxuICAgICAgICBpZiAoa2V5ID09PSAnbWF0Y2htb2RlJykge1xuICAgICAgICAgICAgdGhpcy5zZWFyY2hDb21wb25lbnQubWF0Y2htb2RlID0gdGhpcy5tYXRjaG1vZGU7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGtleSA9PT0gJ2dyb3VwYnknKSB7XG4gICAgICAgICAgICB0aGlzLnNlYXJjaENvbXBvbmVudC5ncm91cGJ5ID0gdGhpcy5ncm91cGJ5O1xuICAgICAgICB9XG4gICAgICAgIGlmIChrZXkgPT09ICdlbmFibGVyZW9yZGVyJykge1xuICAgICAgICAgICAgaWYgKHRoaXMuJGVsZW1lbnQuaGFzQ2xhc3MoJ3VpLXNvcnRhYmxlJykpIHtcbiAgICAgICAgICAgICAgICB0aGlzLiRlbGVtZW50LnNvcnRhYmxlKCdvcHRpb24nLCAnZGlzYWJsZWQnLCAhbnYgKTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAobnYpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNvbmZpZ3VyZURuRCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmIChrZXkgPT09ICdyZWFkb25seScpIHtcbiAgICAgICAgICAgIGlmIChudikge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQuYWRkQ2xhc3MoJ3JlYWRvbmx5Jyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMuJGVsZW1lbnQucmVtb3ZlQ2xhc3MoJ3JlYWRvbmx5Jyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGtleSA9PT0gJ2lucHV0cG9zaXRpb24nKSB7XG4gICAgICAgICAgICBjb25zdCAkaW5wdXRFbCA9IHRoaXMuJGVsZW1lbnQuZmluZCgnbGkuYXBwLWNoaXAtc2VhcmNoJyk7XG4gICAgICAgICAgICBpZiAobnY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vd3NlYXJjaGljb24uYmluZD1cInNob3dzZWFyY2hpY29uXCJcbiAgICAgICAgIHRhYmluZGV4LmJpbmQ9XCJ0YWJpbmRleFwiXG4gICAgICAgICBtaW5jaGFycy5iaW5kPVwibWluY2hhcnNcIlxuICAgICAgICAgZGVib3VuY2V0aW1lLmJpbmQ9XCJkZWJvdW5jZXRpbWVcIlxuICAgICAgICAgbWF0Y2htb2RlLmJpbmQ9XCJtYXRjaG1vZGVcIlxuICAgICAgICAgZGF0YWNvbXBsZXRlbXNnLmJpbmQgPSBcImRhdGFjb21wbGV0ZW1zZ1wiXG4gICAgICAgICBncm91cGJ5LmJpbmQ9XCJncm91cGJ5XCJcbiAgICAgICAgIG1hdGNoLmJpbmQ9XCJtYXRjaFwiXG4gICAgICAgICBkYXRlZm9ybWF0LmJpbmQ9XCJkYXRlZm9ybWF0XCJcbiAgICAgICAgIChrZXlkb3duLmVudGVyKT1cInN0b3BFdmVudCgkZXZlbnQpXCJcbiAgICAgICAgIChrZXlkb3duLmRlbGV0ZSk9XCJvblRleHREZWxldGUoJGV2ZW50KVwiXG4gICAgICAgICAoa2V5ZG93bi5iYWNrc3BhY2UpPVwib25JbnB1dENsZWFyKCRldmVudClcIlxuICAgICAgICAgKGtleWRvd24uYXJyb3dsZWZ0KT1cIm9uQXJyb3dMZWZ0KClcIlxuICAgICAgICAgKGtleWRvd24uYXJyb3dyaWdodCk9XCJvbkFycm93UmlnaHQoKVwiPlxuICAgIDwvZGl2PlxuPC9saT5cbiJdfQ==
@@ -40,9 +40,10 @@ export const chipsProps = new Map([
40
40
  ['tabindex', { value: 0, ...PROP_NUMBER }],
41
41
  ['type', { value: 'search', ...PROP_STRING }],
42
42
  ['debouncetime', { value: 250, ...PROP_NUMBER }],
43
+ ['datacompletemsg', { value: 'No more data to load', ...PROP_STRING }],
43
44
  ]);
44
45
  export const registerProps = () => {
45
46
  register('wm-chips', chipsProps);
46
47
  registerFormWidget(FormWidgetType.CHIPS, new Map(chipsProps));
47
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5HXSxcbiAgICAgICAgWydwbGFjZWhvbGRlcicsIHt2YWx1ZTogJ1R5cGUgaGVyZS4uJywgLi4uUFJPUF9TVFJJTkd9XSxcbiAgICAgICAgWydxdWVyeScsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgWydyZWFkb25seScsIFBST1BfQk9PTEVBTl0sXG4gICAgICAgIFsnc2VhcmNoa2V5JywgUFJPUF9TVFJJTkddLFxuICAgICAgICBbJ3Nob3J0Y3V0a2V5JywgUFJPUF9TVFJJTkddLFxuICAgICAgICBbJ3Nob3cnLCB7dmFsdWU6IHRydWUsIC4uLlBST1BfQk9PTEVBTn1dLFxuICAgICAgICBbJ3Nob3dzZWFyY2hpY29uJywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgWyd0YWJpbmRleCcsIHt2YWx1ZTogMCwgLi4uUFJPUF9OVU1CRVJ9XSxcbiAgICAgICAgWyd0eXBlJywge3ZhbHVlOiAnc2VhcmNoJywgLi4uUFJPUF9TVFJJTkd9XSxcbiAgICAgICAgWydkZWJvdW5jZXRpbWUnLCB7dmFsdWU6IDI1MCwgLi4uUFJPUF9OVU1CRVJ9XSxcbiAgICAgICAgWydkYXRhY29tcGxldGVtc2cnLCB7IHZhbHVlOiAnTm8gbW9yZSBkYXRhIHRvIGxvYWQnLCAuLi5QUk9QX1NUUklORyB9XSxcbiAgICBdXG4pO1xuXG5leHBvcnQgY29uc3QgcmVnaXN0ZXJQcm9wcyA9ICgpID0+IHtcbiAgICByZWdpc3RlcihcbiAgICAgICAgJ3dtLWNoaXBzJyxcbiAgICAgICAgY2hpcHNQcm9wc1xuICAgICk7XG4gICAgcmVnaXN0ZXJGb3JtV2lkZ2V0KFxuICAgICAgICBGb3JtV2lkZ2V0VHlwZS5DSElQUyxcbiAgICAgICAgbmV3IE1hcChjaGlwc1Byb3BzKVxuICAgICk7XG59O1xuXG4iXX0=
@@ -51,6 +51,7 @@ const chipsProps = new Map([
51
51
  ['tabindex', { value: 0, ...PROP_NUMBER }],
52
52
  ['type', { value: 'search', ...PROP_STRING }],
53
53
  ['debouncetime', { value: 250, ...PROP_NUMBER }],
54
+ ['datacompletemsg', { value: 'No more data to load', ...PROP_STRING }],
54
55
  ]);
55
56
  const registerProps = () => {
56
57
  register('wm-chips', chipsProps);
@@ -673,7 +674,7 @@ class ChipsComponent extends DatasetAwareFormComponent {
673
674
  } }, features: [i0.ɵɵProvidersFeature([
674
675
  provideAs(ChipsComponent, NG_VALUE_ACCESSOR, true),
675
676
  provideAsWidgetRef(ChipsComponent)
676
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 4, vars: 4, consts: [["search", ""], ["role", "option", 3, "class", "ngClass", 4, "ngFor", "ngForOf"], [1, "app-chip-search", 3, "ngClass"], ["wmSearch", "", "name", "app-chip-search", "submit.event", "addItem($event, widget)", "beforeservicecall.event", "invokeOnBeforeServiceCall(inputData)", "disabled.bind", "disabled || readonly || saturate", "datafield.bind", "datafield", "allowonlyselect.bind", "allowonlyselect", "searchkey.bind", "searchkey", "orderby.bind", "orderby", "placeholder.bind", "saturate ? maxSizeReached : placeholder", "showsearchicon.bind", "showsearchicon", "tabindex.bind", "tabindex", "minchars.bind", "minchars", "debouncetime.bind", "debouncetime", "matchmode.bind", "matchmode", "groupby.bind", "groupby", "match.bind", "match", "dateformat.bind", "dateformat", 1, "app-chip-input", 3, "keydown.enter", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright"], ["role", "option", 3, "ngClass"], ["href", "javascript:void(0);", "tabindex", "-1", 1, "app-chip", 3, "click", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright", "focus", "blur", "ngClass"], ["data-identifier", "img", "alt", "Chip Image", "class", "button-image-icon", 3, "src", 4, "ngIf"], [1, "app-chip-title", 3, "textContent", "title"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", "class", "btn btn-transparent", 3, "click", 4, "ngIf"], ["data-identifier", "img", "alt", "Chip Image", 1, "button-image-icon", 3, "src"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", 1, "btn", "btn-transparent", 3, "click"], [1, "app-icon", "wi", "wi-close"]], template: function ChipsComponent_Template(rf, ctx) { if (rf & 1) {
677
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 4, vars: 4, consts: [["search", ""], ["role", "option", 3, "class", "ngClass", 4, "ngFor", "ngForOf"], [1, "app-chip-search", 3, "ngClass"], ["wmSearch", "", "name", "app-chip-search", "submit.event", "addItem($event, widget)", "beforeservicecall.event", "invokeOnBeforeServiceCall(inputData)", "disabled.bind", "disabled || readonly || saturate", "datafield.bind", "datafield", "allowonlyselect.bind", "allowonlyselect", "searchkey.bind", "searchkey", "orderby.bind", "orderby", "placeholder.bind", "saturate ? maxSizeReached : placeholder", "showsearchicon.bind", "showsearchicon", "tabindex.bind", "tabindex", "minchars.bind", "minchars", "debouncetime.bind", "debouncetime", "matchmode.bind", "matchmode", "datacompletemsg.bind", "datacompletemsg", "groupby.bind", "groupby", "match.bind", "match", "dateformat.bind", "dateformat", 1, "app-chip-input", 3, "keydown.enter", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright"], ["role", "option", 3, "ngClass"], ["tabindex", "-1", 1, "app-chip", 3, "click", "keydown.delete", "keydown.backspace", "keydown.arrowleft", "keydown.arrowright", "focus", "blur", "ngClass"], ["data-identifier", "img", "alt", "Chip Image", "class", "button-image-icon", 3, "src", 4, "ngIf"], [1, "app-chip-title", 3, "textContent", "title"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", "class", "btn btn-transparent", 3, "click", 4, "ngIf"], ["data-identifier", "img", "alt", "Chip Image", 1, "button-image-icon", 3, "src"], ["type", "button", "tabindex", "-1", "aria-label", "Clear Button", 1, "btn", "btn-transparent", 3, "click"], [1, "app-icon", "wi", "wi-close"]], template: function ChipsComponent_Template(rf, ctx) { if (rf & 1) {
677
678
  const _r1 = i0.ɵɵgetCurrentView();
678
679
  i0.ɵɵtemplate(0, ChipsComponent_li_0_Template, 5, 15, "li", 1);
679
680
  i0.ɵɵelementStart(1, "li", 2)(2, "div", 3, 0);
@@ -690,7 +691,7 @@ class ChipsComponent extends DatasetAwareFormComponent {
690
691
  args: [{ selector: '[wmChips]', providers: [
691
692
  provideAs(ChipsComponent, NG_VALUE_ACCESSOR, true),
692
693
  provideAsWidgetRef(ChipsComponent)
693
- ], template: "<li class=\"chip-item {{chipclass && !bindChipclass ? chipclass : ''}}\" role=\"option\" *ngFor=\"let item of chipsList; let $index = index;\"\n [ngClass]=\"{'active': item.active, 'disabled': disabled}\">\n <a class=\"app-chip\" href=\"javascript:void(0);\" tabindex=\"-1\"\n (click)=\"handleChipClick($event, item)\"\n (keydown.delete)=\"onDelete($event, item, $index)\"\n (keydown.backspace)=\"onBackspace($event, item, $index)\"\n (keydown.arrowleft)=\"onArrowLeft(item, $index)\"\n (keydown.arrowright)=\"onArrowRight(item, $index)\"\n (focus)=\"handleChipFocus($event, item)\"\n (blur)=\"readonly ? 0 : item.active = false\"\n [ngClass]=\"{'chip-duplicate bg-danger': item.isDuplicate, 'chip-picture': item.imgSrc}\">\n <img data-identifier=\"img\" alt=\"Chip Image\" class=\"button-image-icon\" [src]=\"item.imgSrc\" *ngIf=\"item.imgSrc\"/>\n <span class=\"app-chip-title\" [textContent]=\"item.label\" [title]=\"item.label\"></span>\n <button type=\"button\" tabindex=\"-1\" aria-label=\"Clear Button\" class=\"btn btn-transparent\" (click)=\"removeItem($event, item, $index);\" *ngIf=\"!readonly\">\n <i class=\"app-icon wi wi-close\"></i>\n </button>\n </a>\n</li>\n<li class=\"app-chip-search\" [ngClass]=\"{'full-width': inputwidth === 'full'}\">\n <div #search wmSearch class=\"app-chip-input\"\n name=\"app-chip-search\"\n submit.event=\"addItem($event, widget)\"\n beforeservicecall.event=\"invokeOnBeforeServiceCall(inputData)\"\n disabled.bind=\"disabled || readonly || saturate\"\n datafield.bind=\"datafield\"\n allowonlyselect.bind=\"allowonlyselect\"\n searchkey.bind=\"searchkey\"\n orderby.bind=\"orderby\"\n placeholder.bind=\"saturate ? maxSizeReached : placeholder\"\n showsearchicon.bind=\"showsearchicon\"\n tabindex.bind=\"tabindex\"\n minchars.bind=\"minchars\"\n debouncetime.bind=\"debouncetime\"\n matchmode.bind=\"matchmode\"\n groupby.bind=\"groupby\"\n match.bind=\"match\"\n dateformat.bind=\"dateformat\"\n (keydown.enter)=\"stopEvent($event)\"\n (keydown.delete)=\"onTextDelete($event)\"\n (keydown.backspace)=\"onInputClear($event)\"\n (keydown.arrowleft)=\"onArrowLeft()\"\n (keydown.arrowright)=\"onArrowRight()\">\n </div>\n</li>\n" }]
694
+ ], template: "<li class=\"chip-item {{chipclass && !bindChipclass ? chipclass : ''}}\" role=\"option\" *ngFor=\"let item of chipsList; let $index = index;\"\n [ngClass]=\"{'active': item.active, 'disabled': disabled}\">\n <a class=\"app-chip\" tabindex=\"-1\"\n (click)=\"handleChipClick($event, item)\"\n (keydown.delete)=\"onDelete($event, item, $index)\"\n (keydown.backspace)=\"onBackspace($event, item, $index)\"\n (keydown.arrowleft)=\"onArrowLeft(item, $index)\"\n (keydown.arrowright)=\"onArrowRight(item, $index)\"\n (focus)=\"handleChipFocus($event, item)\"\n (blur)=\"readonly ? 0 : item.active = false\"\n [ngClass]=\"{'chip-duplicate bg-danger': item.isDuplicate, 'chip-picture': item.imgSrc}\">\n <img data-identifier=\"img\" alt=\"Chip Image\" class=\"button-image-icon\" [src]=\"item.imgSrc\" *ngIf=\"item.imgSrc\"/>\n <span class=\"app-chip-title\" [textContent]=\"item.label\" [title]=\"item.label\"></span>\n <button type=\"button\" tabindex=\"-1\" aria-label=\"Clear Button\" class=\"btn btn-transparent\" (click)=\"removeItem($event, item, $index);\" *ngIf=\"!readonly\">\n <i class=\"app-icon wi wi-close\"></i>\n </button>\n </a>\n</li>\n<li class=\"app-chip-search\" [ngClass]=\"{'full-width': inputwidth === 'full'}\">\n <div #search wmSearch class=\"app-chip-input\"\n name=\"app-chip-search\"\n submit.event=\"addItem($event, widget)\"\n beforeservicecall.event=\"invokeOnBeforeServiceCall(inputData)\"\n disabled.bind=\"disabled || readonly || saturate\"\n datafield.bind=\"datafield\"\n allowonlyselect.bind=\"allowonlyselect\"\n searchkey.bind=\"searchkey\"\n orderby.bind=\"orderby\"\n placeholder.bind=\"saturate ? maxSizeReached : placeholder\"\n showsearchicon.bind=\"showsearchicon\"\n tabindex.bind=\"tabindex\"\n minchars.bind=\"minchars\"\n debouncetime.bind=\"debouncetime\"\n matchmode.bind=\"matchmode\"\n datacompletemsg.bind = \"datacompletemsg\"\n groupby.bind=\"groupby\"\n match.bind=\"match\"\n dateformat.bind=\"dateformat\"\n (keydown.enter)=\"stopEvent($event)\"\n (keydown.delete)=\"onTextDelete($event)\"\n (keydown.backspace)=\"onInputClear($event)\"\n (keydown.arrowleft)=\"onArrowLeft()\"\n (keydown.arrowright)=\"onArrowRight()\">\n </div>\n</li>\n" }]
694
695
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
695
696
  type: Attribute,
696
697
  args: ['displayfield.bind']