@wavemaker/app-ng-runtime 12.0.0-next.141165 → 12.0.0-next.141174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) 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 +1 -1
  36. app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
  37. app-ng-runtime/components/base/fesm2022/index.mjs +1 -1
  38. app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
  39. app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
  40. app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
  41. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
  42. app-ng-runtime/components/basic/default/bundles/index.umd.js +27 -18
  43. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
  44. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
  45. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
  46. app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
  47. app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
  48. app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -7
  49. app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
  50. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
  51. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
  52. app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +1 -1
  53. app-ng-runtime/components/basic/default/esm2022/picture/picture.directive.mjs +2 -2
  54. app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +3 -1
  55. app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
  56. app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
  57. app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
  58. app-ng-runtime/components/basic/default/fesm2022/index.mjs +27 -18
  59. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  60. app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
  61. app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
  62. app-ng-runtime/components/basic/default/picture/picture.directive.d.ts +2 -1
  63. app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
  64. app-ng-runtime/components/basic/progress/bundles/index.umd.js +12 -8
  65. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +4 -4
  66. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
  67. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
  68. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
  69. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +12 -8
  70. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  71. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
  72. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +3 -1
  73. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -0
  74. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +2 -1
  75. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
  76. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +2 -0
  77. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  78. app-ng-runtime/components/basic/search/bundles/index.umd.js +11 -9
  79. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +14 -13
  80. app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
  81. app-ng-runtime/components/basic/search/fesm2022/index.mjs +11 -9
  82. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  83. app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
  84. app-ng-runtime/components/containers/accordion/bundles/index.umd.js +3 -3
  85. app-ng-runtime/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +4 -4
  86. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs +3 -3
  87. app-ng-runtime/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  88. app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
  89. app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
  90. app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
  91. app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
  92. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
  93. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
  94. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
  95. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  96. app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
  97. app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
  98. app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
  99. app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
  100. app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -2
  101. app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -3
  102. app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -2
  103. app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
  104. app-ng-runtime/components/data/table/bundles/index.umd.js +14 -5
  105. app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
  106. app-ng-runtime/components/data/table/esm2022/table.component.mjs +2 -2
  107. app-ng-runtime/components/data/table/fesm2022/index.mjs +14 -5
  108. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  109. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
  110. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
  111. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
  112. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  113. app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -5
  114. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -6
  115. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -5
  116. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  117. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +9 -3
  118. app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
  119. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +2 -1
  120. app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
  121. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +9 -3
  122. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  123. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
  124. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
  125. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
  126. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  127. app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
  128. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
  129. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
  130. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  131. app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
  132. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
  133. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
  134. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  135. app-ng-runtime/components/input/calendar/bundles/index.umd.js +2 -4
  136. app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +3 -5
  137. app-ng-runtime/components/input/calendar/fesm2022/index.mjs +2 -4
  138. app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
  139. app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
  140. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
  141. app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
  142. app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
  143. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  144. app-ng-runtime/components/input/color-picker/bundles/index.umd.js +5 -3
  145. app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
  146. app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +6 -5
  147. app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
  148. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +5 -3
  149. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  150. app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
  151. app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
  152. app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
  153. app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
  154. app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
  155. app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
  156. app-ng-runtime/components/input/default/bundles/index.umd.js +96 -74
  157. app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
  158. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
  159. app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
  160. app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
  161. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +7 -7
  162. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
  163. app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +21 -16
  164. app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +6 -6
  165. app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
  166. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +28 -23
  167. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +7 -7
  168. app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
  169. app-ng-runtime/components/input/default/esm2022/switch/switch.component.mjs +6 -5
  170. app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
  171. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
  172. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
  173. app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
  174. app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
  175. app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
  176. app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
  177. app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
  178. app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
  179. app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
  180. app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
  181. app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
  182. app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
  183. app-ng-runtime/components/input/default/fesm2022/index.mjs +97 -75
  184. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  185. app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
  186. app-ng-runtime/components/input/default/select/select.component.d.ts +2 -0
  187. app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
  188. app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
  189. app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
  190. app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
  191. app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
  192. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
  193. app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
  194. app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
  195. app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
  196. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
  197. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
  198. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
  199. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
  200. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
  201. app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
  202. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
  203. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  204. app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
  205. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +187 -100
  206. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +184 -102
  207. app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +6 -1
  208. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +187 -100
  209. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  210. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +12 -10
  211. app-ng-runtime/components/input/slider/bundles/index.umd.js +5 -6
  212. app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +6 -8
  213. app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
  214. app-ng-runtime/components/input/slider/fesm2022/index.mjs +5 -6
  215. app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
  216. app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
  217. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +8 -6
  218. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +8 -7
  219. app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
  220. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +8 -6
  221. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  222. app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
  223. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +102 -10
  224. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +102 -11
  225. app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
  226. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +102 -10
  227. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  228. app-ng-runtime/components/navigation/popover/popover.component.d.ts +11 -0
  229. app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
  230. app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
  231. app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
  232. app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
  233. app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
  234. app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
  235. app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
  236. app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
  237. app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
  238. app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
  239. app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
  240. app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
  241. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
  242. app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
  243. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
  244. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  245. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
  246. app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
  247. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
  248. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  249. app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
  250. app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
  251. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
  252. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  253. app-ng-runtime/core/bundles/index.umd.js +10 -8
  254. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  255. app-ng-runtime/core/esm2022/utils/build-utils.mjs +7 -7
  256. app-ng-runtime/core/esm2022/utils/utils.mjs +3 -3
  257. app-ng-runtime/core/fesm2022/index.mjs +10 -9
  258. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  259. app-ng-runtime/core/public_api.d.ts +1 -1
  260. app-ng-runtime/core/utils/utils.d.ts +1 -0
  261. app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
  262. app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
  263. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
  264. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
  265. app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
  266. app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
  267. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
  268. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
  269. app-ng-runtime/package.json +1 -1
  270. app-ng-runtime/runtime/base/bundles/index.umd.js +6 -4
  271. app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
  272. app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
  273. app-ng-runtime/runtime/base/esm2022/guards/can-deactivate-page.guard.mjs +5 -4
  274. app-ng-runtime/runtime/base/fesm2022/index.mjs +6 -4
  275. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  276. app-ng-runtime/runtime/base/guards/can-deactivate-page.guard.d.ts +2 -1
@@ -18,6 +18,7 @@ export declare class TimeComponent extends BaseDateTimeComponent implements OnDe
18
18
  mintime: any;
19
19
  maxtime: any;
20
20
  hint: string;
21
+ arialabel: string;
21
22
  private deregisterEventListener;
22
23
  private app;
23
24
  private displayInputElem;
@@ -30,6 +30,8 @@
30
30
  i3.register('wm-fileupload', new Map([
31
31
  ['caption', i3.PROP_STRING],
32
32
  ['name', i3.PROP_STRING],
33
+ ['hint', i3.PROP_STRING],
34
+ ['arialabel', i3.PROP_STRING],
33
35
  ['tabindex', i3.PROP_NUMBER],
34
36
  ['multiple', i3.PROP_BOOLEAN],
35
37
  ['fileuploadmessage', i3.PROP_STRING],
@@ -46,6 +48,9 @@
46
48
  ['selectedFiles', i3.PROP_STRING],
47
49
  ['destination', i3.PROP_STRING],
48
50
  ['filelistheight', i3.PROP_NUMBER],
51
+ ['width', { value: 'auto', ...i3.PROP_STRING }],
52
+ ['showprogressbar', i3.PROP_BOOLEAN],
53
+ ['showprogressbarpercentage', i3.PROP_BOOLEAN]
49
54
  ]));
50
55
  i3.registerFormWidget(i1.FormWidgetType.UPLOAD, new Map([
51
56
  ['disabled', i3.PROP_BOOLEAN],
@@ -63,7 +68,7 @@
63
68
  const _c3 = a0 => ({ width: a0 });
64
69
  function FileUploadComponent_div_1_input_6_Template(rf, ctx) { if (rf & 1) {
65
70
  const _r3 = i0__namespace.ɵɵgetCurrentView();
66
- i0__namespace.ɵɵelementStart(0, "input", 13);
71
+ i0__namespace.ɵɵelementStart(0, "input", 15);
67
72
  i0__namespace.ɵɵlistener("click", function FileUploadComponent_div_1_input_6_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_div_1_input_6_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
68
73
  i0__namespace.ɵɵelementEnd();
69
74
  } if (rf & 2) {
@@ -71,6 +76,23 @@
71
76
  i0__namespace.ɵɵproperty("disabled", ctx_r1.disabled)("accept", ctx_r1.chooseFilter);
72
77
  i0__namespace.ɵɵattribute("aria-label", ctx_r1.hint || "File selection field");
73
78
  } }
79
+ function FileUploadComponent_div_1_label_9_Template(rf, ctx) { if (rf & 1) {
80
+ i0__namespace.ɵɵelement(0, "label", 16);
81
+ } if (rf & 2) {
82
+ const ctx_r1 = i0__namespace.ɵɵnextContext(2);
83
+ i0__namespace.ɵɵproperty("innerHtml", ctx_r1.chooseFilter + " only ", i0__namespace.ɵɵsanitizeHtml);
84
+ } }
85
+ function FileUploadComponent_div_1_span_10_Template(rf, ctx) { if (rf & 1) {
86
+ i0__namespace.ɵɵelementStart(0, "span", 17);
87
+ i0__namespace.ɵɵtext(1, " . ");
88
+ i0__namespace.ɵɵelementEnd();
89
+ } }
90
+ function FileUploadComponent_div_1_label_11_Template(rf, ctx) { if (rf & 1) {
91
+ i0__namespace.ɵɵelement(0, "label", 16);
92
+ } if (rf & 2) {
93
+ const ctx_r1 = i0__namespace.ɵɵnextContext(2);
94
+ i0__namespace.ɵɵproperty("innerHtml", ctx_r1.maxfilesize + "MB max", i0__namespace.ɵɵsanitizeHtml);
95
+ } }
74
96
  function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
75
97
  const _r1 = i0__namespace.ɵɵgetCurrentView();
76
98
  i0__namespace.ɵɵelementStart(0, "div", 6)(1, "div", 7);
@@ -82,11 +104,13 @@
82
104
  i0__namespace.ɵɵtemplate(6, FileUploadComponent_div_1_input_6_Template, 1, 3, "input", 11);
83
105
  i0__namespace.ɵɵelementStart(7, "a", 12);
84
106
  i0__namespace.ɵɵtext(8);
85
- i0__namespace.ɵɵelementEnd()()()()();
107
+ i0__namespace.ɵɵelementEnd()();
108
+ i0__namespace.ɵɵtemplate(9, FileUploadComponent_div_1_label_9_Template, 1, 1, "label", 13)(10, FileUploadComponent_div_1_span_10_Template, 2, 0, "span", 14)(11, FileUploadComponent_div_1_label_11_Template, 1, 1, "label", 13);
109
+ i0__namespace.ɵɵelementEnd()()();
86
110
  } if (rf & 2) {
87
111
  const ctx_r1 = i0__namespace.ɵɵnextContext();
88
112
  i0__namespace.ɵɵadvance();
89
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1, ctx_r1.highlightDropArea));
113
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c1, ctx_r1.highlightDropArea));
90
114
  i0__namespace.ɵɵadvance();
91
115
  i0__namespace.ɵɵclassMap(ctx_r1.iconclass);
92
116
  i0__namespace.ɵɵadvance(2);
@@ -97,34 +121,40 @@
97
121
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.multiple);
98
122
  i0__namespace.ɵɵadvance(2);
99
123
  i0__namespace.ɵɵtextInterpolate(ctx_r1.fileUploadMessage);
124
+ i0__namespace.ɵɵadvance();
125
+ i0__namespace.ɵɵproperty("ngIf", ctx_r1.chooseFilter);
126
+ i0__namespace.ɵɵadvance();
127
+ i0__namespace.ɵɵproperty("ngIf", ctx_r1.chooseFilter && ctx_r1.maxfilesize);
128
+ i0__namespace.ɵɵadvance();
129
+ i0__namespace.ɵɵproperty("ngIf", ctx_r1.maxfilesize);
100
130
  } }
101
131
  function FileUploadComponent_div_2_input_3_Template(rf, ctx) { if (rf & 1) {
102
132
  const _r4 = i0__namespace.ɵɵgetCurrentView();
103
- i0__namespace.ɵɵelementStart(0, "input", 13);
104
- i0__namespace.ɵɵlistener("click", function FileUploadComponent_div_2_input_3_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_div_2_input_3_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
133
+ i0__namespace.ɵɵelementStart(0, "input", 26);
134
+ i0__namespace.ɵɵlistener("change", function FileUploadComponent_div_2_input_3_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_3_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
105
135
  i0__namespace.ɵɵelementEnd();
106
136
  } if (rf & 2) {
107
137
  const ctx_r1 = i0__namespace.ɵɵnextContext(2);
108
- i0__namespace.ɵɵproperty("disabled", ctx_r1.disabled)("accept", ctx_r1.chooseFilter);
109
- i0__namespace.ɵɵattribute("aria-label", ctx_r1.hint || "File selection field");
138
+ i0__namespace.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
139
+ i0__namespace.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
110
140
  } }
111
141
  function FileUploadComponent_div_2_input_4_Template(rf, ctx) { if (rf & 1) {
112
142
  const _r5 = i0__namespace.ɵɵgetCurrentView();
113
- i0__namespace.ɵɵelementStart(0, "input", 21);
114
- i0__namespace.ɵɵlistener("click", function FileUploadComponent_div_2_input_4_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_div_2_input_4_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
143
+ i0__namespace.ɵɵelementStart(0, "input", 27);
144
+ i0__namespace.ɵɵlistener("change", function FileUploadComponent_div_2_input_4_Template_input_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_4_Template_input_click_0_listener($event) { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
115
145
  i0__namespace.ɵɵelementEnd();
116
146
  } if (rf & 2) {
117
147
  const ctx_r1 = i0__namespace.ɵɵnextContext(2);
118
- i0__namespace.ɵɵproperty("disabled", ctx_r1.disabled)("accept", ctx_r1.chooseFilter);
119
- i0__namespace.ɵɵattribute("aria-label", ctx_r1.hint || "File selection field");
148
+ i0__namespace.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
149
+ i0__namespace.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
120
150
  } }
121
151
  function FileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
122
- i0__namespace.ɵɵelementStart(0, "div", 14)(1, "div", 15)(2, "form", 10);
123
- i0__namespace.ɵɵtemplate(3, FileUploadComponent_div_2_input_3_Template, 1, 3, "input", 11)(4, FileUploadComponent_div_2_input_4_Template, 1, 3, "input", 16);
124
- i0__namespace.ɵɵelementStart(5, "button", 17);
125
- i0__namespace.ɵɵelement(6, "i", 18)(7, "span", 19);
152
+ i0__namespace.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "form", 10);
153
+ i0__namespace.ɵɵtemplate(3, FileUploadComponent_div_2_input_3_Template, 1, 3, "input", 20)(4, FileUploadComponent_div_2_input_4_Template, 1, 3, "input", 21);
154
+ i0__namespace.ɵɵelementStart(5, "button", 22);
155
+ i0__namespace.ɵɵelement(6, "i", 23)(7, "span", 24);
126
156
  i0__namespace.ɵɵelementEnd()()();
127
- i0__namespace.ɵɵelement(8, "div", 20);
157
+ i0__namespace.ɵɵelement(8, "div", 25);
128
158
  i0__namespace.ɵɵelementEnd();
129
159
  } if (rf & 2) {
130
160
  const ctx_r1 = i0__namespace.ɵɵnextContext();
@@ -143,9 +173,9 @@
143
173
  } }
144
174
  function FileUploadComponent_button_3_Template(rf, ctx) { if (rf & 1) {
145
175
  const _r6 = i0__namespace.ɵɵgetCurrentView();
146
- i0__namespace.ɵɵelementStart(0, "button", 22);
176
+ i0__namespace.ɵɵelementStart(0, "button", 28);
147
177
  i0__namespace.ɵɵlistener("click", function FileUploadComponent_button_3_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r6); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.openFileSelector()); });
148
- i0__namespace.ɵɵelement(1, "i")(2, "span", 19);
178
+ i0__namespace.ɵɵelement(1, "i")(2, "span", 24);
149
179
  i0__namespace.ɵɵelementEnd();
150
180
  } if (rf & 2) {
151
181
  const ctx_r1 = i0__namespace.ɵɵnextContext();
@@ -155,8 +185,15 @@
155
185
  i0__namespace.ɵɵadvance();
156
186
  i0__namespace.ɵɵproperty("innerHTML", ctx_r1.caption, i0__namespace.ɵɵsanitizeHtml);
157
187
  } }
158
- function FileUploadComponent_ul_4_div_1_li_1_span_9_Template(rf, ctx) { if (rf & 1) {
159
- i0__namespace.ɵɵelementStart(0, "span", 36);
188
+ function FileUploadComponent_ul_4_div_1_li_1_span_8_Template(rf, ctx) { if (rf & 1) {
189
+ i0__namespace.ɵɵelement(0, "span");
190
+ i0__namespace.ɵɵpipe(1, "stateClass");
191
+ } if (rf & 2) {
192
+ const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit;
193
+ i0__namespace.ɵɵclassMapInterpolate1("status-icon ", i0__namespace.ɵɵpipeBind1(1, 3, ft_r7.status), "");
194
+ } }
195
+ function FileUploadComponent_ul_4_div_1_li_1_span_10_Template(rf, ctx) { if (rf & 1) {
196
+ i0__namespace.ɵɵelementStart(0, "span", 47);
160
197
  i0__namespace.ɵɵtext(1);
161
198
  i0__namespace.ɵɵpipe(2, "filesize");
162
199
  i0__namespace.ɵɵelementEnd();
@@ -165,95 +202,113 @@
165
202
  i0__namespace.ɵɵadvance();
166
203
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ft_r7.size, 0));
167
204
  } }
168
- function FileUploadComponent_ul_4_div_1_li_1_div_10_Template(rf, ctx) { if (rf & 1) {
169
- i0__namespace.ɵɵelementStart(0, "div", 37);
170
- i0__namespace.ɵɵelement(1, "div", 38);
205
+ function FileUploadComponent_ul_4_div_1_li_1_span_11_Template(rf, ctx) { if (rf & 1) {
206
+ i0__namespace.ɵɵelement(0, "span", 34);
207
+ i0__namespace.ɵɵpipe(1, "stateClass");
208
+ } if (rf & 2) {
209
+ const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit;
210
+ const ctx_r1 = i0__namespace.ɵɵnextContext(2);
211
+ i0__namespace.ɵɵclassMapInterpolate1("status-icon ", i0__namespace.ɵɵpipeBind1(1, 4, ft_r7.status), "");
212
+ i0__namespace.ɵɵpropertyInterpolate("title", ft_r7.errMsg || ctx_r1.appLocale.MESSAGE_FILE_UPLOAD_FAILED);
213
+ } }
214
+ function FileUploadComponent_ul_4_div_1_li_1_span_12_Template(rf, ctx) { if (rf & 1) {
215
+ i0__namespace.ɵɵelementStart(0, "span", 48);
216
+ i0__namespace.ɵɵtext(1, "Upload Failed");
217
+ i0__namespace.ɵɵelementEnd();
218
+ } }
219
+ function FileUploadComponent_ul_4_div_1_li_1_div_13_Template(rf, ctx) { if (rf & 1) {
220
+ i0__namespace.ɵɵelementStart(0, "div", 49);
221
+ i0__namespace.ɵɵelement(1, "div", 50);
171
222
  i0__namespace.ɵɵelementEnd();
172
223
  } if (rf & 2) {
173
224
  const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit;
174
225
  i0__namespace.ɵɵadvance();
175
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(1, _c3, ft_r7.progress + "%"));
226
+ i0__namespace.ɵɵproperty("ngClass", ft_r7.status === "error" ? "progress-bar-danger" : "progress-bar-info")("ngStyle", i0__namespace.ɵɵpureFunction1(2, _c3, ft_r7.progress + "%"));
176
227
  } }
177
- function FileUploadComponent_ul_4_div_1_li_1_div_11_Template(rf, ctx) { if (rf & 1) {
178
- const _r8 = i0__namespace.ɵɵgetCurrentView();
179
- i0__namespace.ɵɵelementStart(0, "div", 39)(1, "a", 40);
180
- i0__namespace.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_11_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r8); const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
181
- i0__namespace.ɵɵelement(2, "i", 41);
182
- i0__namespace.ɵɵelementEnd()();
183
- } }
184
- function FileUploadComponent_ul_4_div_1_li_1_div_12_Template(rf, ctx) { if (rf & 1) {
185
- i0__namespace.ɵɵelementStart(0, "div", 39);
186
- i0__namespace.ɵɵelement(1, "span");
187
- i0__namespace.ɵɵpipe(2, "stateClass");
228
+ function FileUploadComponent_ul_4_div_1_li_1_div_14_Template(rf, ctx) { if (rf & 1) {
229
+ i0__namespace.ɵɵelementStart(0, "div", 51);
230
+ i0__namespace.ɵɵtext(1);
188
231
  i0__namespace.ɵɵelementEnd();
189
232
  } if (rf & 2) {
190
233
  const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit;
191
234
  i0__namespace.ɵɵadvance();
192
- i0__namespace.ɵɵclassMapInterpolate1("status-icon ", i0__namespace.ɵɵpipeBind1(2, 3, ft_r7.status), "");
235
+ i0__namespace.ɵɵtextInterpolate1("", ft_r7.progress + "%", " ");
193
236
  } }
194
- function FileUploadComponent_ul_4_div_1_li_1_div_13_Template(rf, ctx) { if (rf & 1) {
195
- const _r9 = i0__namespace.ɵɵgetCurrentView();
196
- i0__namespace.ɵɵelementStart(0, "div", 39)(1, "a", 42);
197
- i0__namespace.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_13_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r9); const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.clear(ft_r7)); });
198
- i0__namespace.ɵɵelement(2, "i");
237
+ function FileUploadComponent_ul_4_div_1_li_1_div_15_Template(rf, ctx) { if (rf & 1) {
238
+ const _r8 = i0__namespace.ɵɵgetCurrentView();
239
+ i0__namespace.ɵɵelementStart(0, "div", 45)(1, "a", 52);
240
+ i0__namespace.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_15_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r8); const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
241
+ i0__namespace.ɵɵelement(2, "i", 53);
199
242
  i0__namespace.ɵɵelementEnd()();
243
+ } }
244
+ function FileUploadComponent_ul_4_div_1_li_1_a_17_Template(rf, ctx) { if (rf & 1) {
245
+ const _r9 = i0__namespace.ɵɵgetCurrentView();
246
+ i0__namespace.ɵɵelementStart(0, "a", 54);
247
+ i0__namespace.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_a_17_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9); const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.clear(ft_r7)); });
248
+ i0__namespace.ɵɵelement(1, "i");
249
+ i0__namespace.ɵɵelementEnd();
200
250
  } if (rf & 2) {
201
251
  const ctx_r1 = i0__namespace.ɵɵnextContext(4);
202
- i0__namespace.ɵɵadvance();
203
252
  i0__namespace.ɵɵpropertyInterpolate("title", ctx_r1.cleariconhint);
204
253
  i0__namespace.ɵɵadvance();
205
254
  i0__namespace.ɵɵclassMap(ctx_r1.cleariconclass);
206
255
  } }
207
- function FileUploadComponent_ul_4_div_1_li_1_div_14_Template(rf, ctx) { if (rf & 1) {
208
- i0__namespace.ɵɵelementStart(0, "div", 43);
209
- i0__namespace.ɵɵelement(1, "span");
210
- i0__namespace.ɵɵpipe(2, "stateClass");
211
- i0__namespace.ɵɵelementEnd();
212
- } if (rf & 2) {
213
- const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit;
214
- const ctx_r1 = i0__namespace.ɵɵnextContext(2);
215
- i0__namespace.ɵɵpropertyInterpolate("title", ft_r7.errMsg || ctx_r1.appLocale.MESSAGE_FILE_UPLOAD_FAILED);
216
- i0__namespace.ɵɵadvance();
217
- i0__namespace.ɵɵclassMapInterpolate1("status-icon ", i0__namespace.ɵɵpipeBind1(2, 4, ft_r7.status), "");
256
+ function FileUploadComponent_ul_4_div_1_li_1_div_18_Template(rf, ctx) { if (rf & 1) {
257
+ const _r10 = i0__namespace.ɵɵgetCurrentView();
258
+ i0__namespace.ɵɵelementStart(0, "div", 45)(1, "a", 55);
259
+ i0__namespace.ɵɵlistener("click", function FileUploadComponent_ul_4_div_1_li_1_div_18_Template_a_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r10); const ft_r7 = i0__namespace.ɵɵnextContext(2).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileDelete($event, ft_r7)); });
260
+ i0__namespace.ɵɵelement(2, "i", 56);
261
+ i0__namespace.ɵɵelementEnd()();
218
262
  } }
219
263
  function FileUploadComponent_ul_4_div_1_li_1_Template(rf, ctx) { if (rf & 1) {
220
- i0__namespace.ɵɵelementStart(0, "li", 26)(1, "div", 27);
221
- i0__namespace.ɵɵelement(2, "div", 28);
264
+ i0__namespace.ɵɵelementStart(0, "li", 32)(1, "div", 33);
265
+ i0__namespace.ɵɵelement(2, "div", 34);
222
266
  i0__namespace.ɵɵpipe(3, "fileIconClass");
223
- i0__namespace.ɵɵelementStart(4, "div", 29)(5, "p", 30)(6, "label", 31);
267
+ i0__namespace.ɵɵelementStart(4, "div", 35)(5, "p", 36)(6, "span", 37);
224
268
  i0__namespace.ɵɵtext(7);
225
269
  i0__namespace.ɵɵelementEnd();
226
- i0__namespace.ɵɵelement(8, "br");
227
- i0__namespace.ɵɵtemplate(9, FileUploadComponent_ul_4_div_1_li_1_span_9_Template, 3, 4, "span", 32);
270
+ i0__namespace.ɵɵtemplate(8, FileUploadComponent_ul_4_div_1_li_1_span_8_Template, 2, 5, "span", 38);
271
+ i0__namespace.ɵɵelement(9, "br");
272
+ i0__namespace.ɵɵtemplate(10, FileUploadComponent_ul_4_div_1_li_1_span_10_Template, 3, 4, "span", 39)(11, FileUploadComponent_ul_4_div_1_li_1_span_11_Template, 2, 6, "span", 40)(12, FileUploadComponent_ul_4_div_1_li_1_span_12_Template, 2, 0, "span", 41);
273
+ i0__namespace.ɵɵelementEnd();
274
+ i0__namespace.ɵɵtemplate(13, FileUploadComponent_ul_4_div_1_li_1_div_13_Template, 2, 4, "div", 42)(14, FileUploadComponent_ul_4_div_1_li_1_div_14_Template, 2, 1, "div", 43);
228
275
  i0__namespace.ɵɵelementEnd();
229
- i0__namespace.ɵɵtemplate(10, FileUploadComponent_ul_4_div_1_li_1_div_10_Template, 2, 3, "div", 33);
276
+ i0__namespace.ɵɵtemplate(15, FileUploadComponent_ul_4_div_1_li_1_div_15_Template, 3, 0, "div", 44);
277
+ i0__namespace.ɵɵelementStart(16, "div", 45);
278
+ i0__namespace.ɵɵtemplate(17, FileUploadComponent_ul_4_div_1_li_1_a_17_Template, 2, 4, "a", 46);
230
279
  i0__namespace.ɵɵelementEnd();
231
- i0__namespace.ɵɵtemplate(11, FileUploadComponent_ul_4_div_1_li_1_div_11_Template, 3, 0, "div", 34)(12, FileUploadComponent_ul_4_div_1_li_1_div_12_Template, 3, 5, "div", 34)(13, FileUploadComponent_ul_4_div_1_li_1_div_13_Template, 3, 4, "div", 34)(14, FileUploadComponent_ul_4_div_1_li_1_div_14_Template, 3, 6, "div", 35);
280
+ i0__namespace.ɵɵtemplate(18, FileUploadComponent_ul_4_div_1_li_1_div_18_Template, 3, 0, "div", 44);
232
281
  i0__namespace.ɵɵelementEnd()();
233
282
  } if (rf & 2) {
234
283
  const ft_r7 = i0__namespace.ɵɵnextContext().$implicit;
235
284
  const ctx_r1 = i0__namespace.ɵɵnextContext(2);
236
285
  i0__namespace.ɵɵadvance(2);
237
- i0__namespace.ɵɵclassMapInterpolate1("media-left media-middle file-icon ", i0__namespace.ɵɵpipeBind1(3, 11, ctx_r1.getFileExtension(ft_r7.name)), "");
286
+ i0__namespace.ɵɵclassMapInterpolate1("media-left media-middle file-icon ", i0__namespace.ɵɵpipeBind1(3, 14, ctx_r1.getFileExtension(ft_r7.name)), "");
238
287
  i0__namespace.ɵɵpropertyInterpolate("title", ctx_r1.getFileExtension(ft_r7.name));
239
288
  i0__namespace.ɵɵadvance(5);
240
- i0__namespace.ɵɵtextInterpolate(ft_r7.name);
289
+ i0__namespace.ɵɵtextInterpolate(ft_r7.storageName || ft_r7.name);
290
+ i0__namespace.ɵɵadvance();
291
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "success");
241
292
  i0__namespace.ɵɵadvance(2);
242
293
  i0__namespace.ɵɵproperty("ngIf", ft_r7.fileLength !== 0);
243
294
  i0__namespace.ɵɵadvance();
244
- i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "onProgress");
295
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "error");
245
296
  i0__namespace.ɵɵadvance();
246
- i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ft_r7.status === "queued");
297
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "error");
247
298
  i0__namespace.ɵɵadvance();
248
- i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "success");
299
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ctx_r1.showprogressbar);
300
+ i0__namespace.ɵɵadvance();
301
+ i0__namespace.ɵɵproperty("ngIf", (ft_r7.status === "onProgress" || ctx_r1.showprogressbar && ctx_r1.showprogressbarpercentage) && ft_r7.progress);
249
302
  i0__namespace.ɵɵadvance();
303
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ft_r7.status === "queued");
304
+ i0__namespace.ɵɵadvance(2);
250
305
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.cleariconclass !== "" && ft_r7.status !== "onProgress");
251
306
  i0__namespace.ɵɵadvance();
252
- i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "error");
307
+ i0__namespace.ɵɵproperty("ngIf", ft_r7.status === "success");
253
308
  } }
254
309
  function FileUploadComponent_ul_4_div_1_Template(rf, ctx) { if (rf & 1) {
255
310
  i0__namespace.ɵɵelementStart(0, "div");
256
- i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_li_1_Template, 15, 13, "li", 25);
311
+ i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_li_1_Template, 19, 16, "li", 31);
257
312
  i0__namespace.ɵɵelementEnd();
258
313
  } if (rf & 2) {
259
314
  const ft_r7 = ctx.$implicit;
@@ -261,34 +316,34 @@
261
316
  i0__namespace.ɵɵproperty("ngIf", ft_r7.status !== "abort");
262
317
  } }
263
318
  function FileUploadComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
264
- i0__namespace.ɵɵelementStart(0, "ul", 23);
265
- i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_Template, 2, 1, "div", 24);
319
+ i0__namespace.ɵɵelementStart(0, "ul", 29);
320
+ i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_4_div_1_Template, 2, 1, "div", 30);
266
321
  i0__namespace.ɵɵelementEnd();
267
322
  } if (rf & 2) {
268
323
  const ctx_r1 = i0__namespace.ɵɵnextContext();
269
324
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(2, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
270
325
  i0__namespace.ɵɵadvance();
271
- i0__namespace.ɵɵproperty("ngForOf", ctx_r1.multiple ? ctx_r1.multipleSelectedFiles : ctx_r1.selectedFiles);
326
+ i0__namespace.ɵɵproperty("ngForOf", ctx_r1.uploadedFiles);
272
327
  } }
273
328
  function FileUploadComponent_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
274
- i0__namespace.ɵɵelementStart(0, "li", 26)(1, "div", 27);
275
- i0__namespace.ɵɵelement(2, "div", 46);
276
- i0__namespace.ɵɵelementStart(3, "div", 29)(4, "p", 30)(5, "label", 31);
329
+ i0__namespace.ɵɵelementStart(0, "li", 32)(1, "div", 33);
330
+ i0__namespace.ɵɵelement(2, "div", 59);
331
+ i0__namespace.ɵɵelementStart(3, "div", 35)(4, "p", 60)(5, "label", 37);
277
332
  i0__namespace.ɵɵtext(6);
278
333
  i0__namespace.ɵɵelementEnd();
279
334
  i0__namespace.ɵɵelement(7, "br");
280
335
  i0__namespace.ɵɵelementEnd()();
281
- i0__namespace.ɵɵelementStart(8, "div", 39);
282
- i0__namespace.ɵɵelement(9, "span", 47);
336
+ i0__namespace.ɵɵelementStart(8, "div", 45);
337
+ i0__namespace.ɵɵelement(9, "span", 61);
283
338
  i0__namespace.ɵɵelementEnd()()();
284
339
  } if (rf & 2) {
285
- const ft_r10 = ctx.$implicit;
340
+ const ft_r11 = ctx.$implicit;
286
341
  i0__namespace.ɵɵadvance(6);
287
- i0__namespace.ɵɵtextInterpolate(ft_r10.name);
342
+ i0__namespace.ɵɵtextInterpolate(ft_r11.name);
288
343
  } }
289
344
  function FileUploadComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
290
- i0__namespace.ɵɵelementStart(0, "ul", 44);
291
- i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_5_li_1_Template, 10, 1, "li", 45);
345
+ i0__namespace.ɵɵelementStart(0, "ul", 57);
346
+ i0__namespace.ɵɵtemplate(1, FileUploadComponent_ul_5_li_1_Template, 10, 1, "li", 58);
292
347
  i0__namespace.ɵɵelementEnd();
293
348
  } if (rf & 2) {
294
349
  const ctx_r1 = i0__namespace.ɵɵnextContext();
@@ -405,8 +460,8 @@
405
460
  * @param $files
406
461
  */
407
462
  onSelectEventCall($event, $files) {
408
- this.multipleSelectedFiles = this.multiple ? [...this.multipleSelectedFiles, ...$files] : $files;
409
463
  this.selectedFiles = $files;
464
+ this.uploadedFiles = this.multiple ? [...this.uploadedFiles, ...$files] : $files;
410
465
  setTimeout(() => {
411
466
  this.invokeEventCallback('select', {
412
467
  $event: $.extend($event.$files || {}, $files),
@@ -428,12 +483,11 @@
428
483
  }
429
484
  /*this function to clear the specified file. if argument is not provided, it clears the complete list */
430
485
  clear(fileObj) {
431
- if (this.multiple) {
432
- this.multipleSelectedFiles = (fileObj) ? this.multipleSelectedFiles.filter((file) => file !== fileObj) : [];
433
- }
434
- else {
435
- this.selectedFiles = (fileObj) ? this.selectedFiles.filter((file) => file !== fileObj) : [];
436
- }
486
+ this.selectedFiles = (fileObj) ? this.clearFile(this.selectedFiles, fileObj) : [];
487
+ this.uploadedFiles = (fileObj) ? this.clearFile(this.uploadedFiles, fileObj) : [];
488
+ }
489
+ clearFile(files, fileObj) {
490
+ return files.filter((file) => file?._response?.fileName !== fileObj?._response?.fileName || file?.name !== fileObj?.name || file !== fileObj);
437
491
  }
438
492
  /*this function to set the class names for clear icon */
439
493
  setClearIconClass(classValue) {
@@ -499,6 +553,44 @@
499
553
  }
500
554
  }
501
555
  }
556
+ onFileDelete($event, file) {
557
+ if (!file) {
558
+ return;
559
+ }
560
+ const beforeDeleteVal = this.invokeEventCallback('beforedelete', { $event: file });
561
+ if (beforeDeleteVal !== false) {
562
+ this.dialogService.showAppConfirmDialog({
563
+ title: "Delete file",
564
+ message: "Are you sure you want to delete this file?",
565
+ oktext: "Ok",
566
+ canceltext: "Cancel",
567
+ onOk: () => {
568
+ if (this.deletedatasource) {
569
+ this.deletedatasource.setInput('file', file._response.fileName || file.name);
570
+ this.deleteFileObservable = new rxjs.Subject();
571
+ this.deletedatasource._deleteFileObservable = this.deleteFileObservable;
572
+ this.deletedatasource._deleteFileObservable.asObservable().subscribe((response) => {
573
+ if (response.status === "success") {
574
+ this.selectedFiles = this.selectedFiles.filter((fileObj) => file !== fileObj) || [];
575
+ this.uploadedFiles = this.uploadedFiles.filter((fileObj) => file !== fileObj) || [];
576
+ this.deletedatasource._deleteFileObservable.unsubscribe();
577
+ }
578
+ }, (error) => {
579
+ this.deletedatasource._deleteFileObservable.unsubscribe();
580
+ });
581
+ }
582
+ this.invokeEventCallback('delete', { $event: file });
583
+ this.dialogService.closeAppConfirmDialog();
584
+ },
585
+ onCancel: () => {
586
+ this.dialogService.closeAppConfirmDialog();
587
+ },
588
+ onOpen: () => {
589
+ $('.cancel-action').focus();
590
+ }
591
+ });
592
+ }
593
+ }
502
594
  // Prevent default behavior (Prevent file from being opened)
503
595
  dragOverHandler($event) {
504
596
  $event.preventDefault();
@@ -576,12 +668,13 @@
576
668
  }
577
669
  super.onPropertyChange(key, nv, ov);
578
670
  }
579
- constructor(inj, app, onSelectEvt, explicitContext) {
671
+ constructor(inj, app, onSelectEvt, dialogService, explicitContext) {
580
672
  super(inj, WIDGET_CONFIG, explicitContext);
581
673
  this.app = app;
582
674
  this.onSelectEvt = onSelectEvt;
675
+ this.dialogService = dialogService;
583
676
  this.selectedFiles = [];
584
- this.multipleSelectedFiles = [];
677
+ this.uploadedFiles = [];
585
678
  this.selectedFolders = [];
586
679
  this.fileTransfers = {};
587
680
  this.caption = 'Upload';
@@ -607,12 +700,6 @@
607
700
  this.defaultAllowedExtensions = this.allowedFileUploadExtensions.split(',').map(item => item.trim()).map(item => item.endsWith('/*') ? item : `.${item}`);
608
701
  this.chooseFilter = this.defaultAllowedExtensions.includes('*/*') ? '' : this.defaultAllowedExtensions;
609
702
  this.fileUploadMessage = 'Drop your files here or click here to browse';
610
- this.uploadedFiles = {
611
- fileName: '',
612
- path: '',
613
- length: '',
614
- status: ''
615
- };
616
703
  this.uploadUrl = 'services';
617
704
  // styler(this.nativeElement, this);
618
705
  }
@@ -633,12 +720,12 @@
633
720
  document.removeEventListener('mouseleave', this.dropCb);
634
721
  super.ngOnDestroy();
635
722
  }
636
- static { this.ɵfac = function FileUploadComponent_Factory(t) { return new (t || FileUploadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵinjectAttribute('select.event'), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
723
+ static { this.ɵfac = function FileUploadComponent_Factory(t) { return new (t || FileUploadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.App), i0__namespace.ɵɵinjectAttribute('select.event'), i0__namespace.ɵɵdirectiveInject(i1__namespace.AbstractDialogService), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
637
724
  static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FileUploadComponent, selectors: [["", "wmFileUpload", ""]], features: [i0__namespace.ɵɵProvidersFeature([
638
725
  i3.provideAsWidgetRef(FileUploadComponent)
639
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], ["class", "app-multi-file-upload", 4, "ngIf"], ["class", "app-single-file-upload", 4, "ngIf"], ["focus-target", "", "class", "app-button btn btn-default", 3, "disabled", "click", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", "title", 4, "ngIf"], [1, "app-multi-file-upload"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "caption", 3, "innerHtml"], [1, "form-horizontal", 3, "name"], ["class", "file-input", "type", "file", "name", "files", "multiple", "", 3, "disabled", "accept", "click", "change", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-anchor"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "click", "change", "disabled", "accept"], [1, "app-single-file-upload"], [1, "app-button-wrapper"], ["class", "file-input", "type", "file", "name", "files", 3, "disabled", "accept", "click", "change", 4, "ngIf"], ["id", "dropzone", "focus-target", "", 1, "app-button", "btn", "btn-default", 3, "ngClass"], ["aria-hidden", "true"], [1, "caption", 3, "innerHTML"], [1, "app-files-upload-status", "single"], ["type", "file", "name", "files", 1, "file-input", 3, "click", "change", "disabled", "accept"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "click", "disabled"], [1, "list-group", "file-upload", 3, "ngStyle"], [4, "ngFor", "ngForOf"], ["class", "list-group-item file-upload-status", 4, "ngIf"], [1, "list-group-item", "file-upload-status"], [1, "media", "upload-file-list"], [3, "title"], [1, "media-body", "media-middle", "file-details"], [1, "uploaddetails"], [1, "upload-title"], ["class", "filesize", 4, "ngIf"], ["class", "progress", 4, "ngIf"], ["class", "media-right media-middle", 4, "ngIf"], ["class", "media-right media-middle", 3, "title", 4, "ngIf"], [1, "filesize"], [1, "progress"], [1, "progress-bar", "progress-bar-striped", "progress-bar-info", 3, "ngStyle"], [1, "media-right", "media-middle"], ["type", "button", 1, "btn", "btn-transparent", "file-upload-stop", 3, "click"], [1, "wi", "wi-close"], ["type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click", "title"], [1, "media-right", "media-middle", 3, "title"], [1, "list-group", "file-upload", 3, "ngStyle", "title"], ["class", "list-group-item file-upload-status", 4, "ngFor", "ngForOf"], [1, "media-left", "media-middle", "file-icon", "fa", "fa-folder-o"], [1, "status-icon", "wi", "wi-cancel", "text-danger"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
726
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], ["class", "app-multi-file-upload", 4, "ngIf"], ["class", "app-single-file-upload", 4, "ngIf"], ["focus-target", "", "class", "app-button btn btn-default", 3, "disabled", "click", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", "title", 4, "ngIf"], [1, "app-multi-file-upload"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "upload-label", 3, "innerHtml"], [1, "form-horizontal", 3, "name"], ["class", "file-input", "type", "file", "name", "files", "multiple", "", 3, "disabled", "accept", "click", "change", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-anchor", "upload-label"], ["class", "upload-extensions", 3, "innerHtml", 4, "ngIf"], ["class", "upload-extensions", 4, "ngIf"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "click", "change", "disabled", "accept"], [1, "upload-extensions", 3, "innerHtml"], [1, "upload-extensions"], [1, "app-single-file-upload"], [1, "app-button-wrapper"], ["class", "file-input", "multiple", "", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["class", "file-input", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["id", "dropzone", "focus-target", "", 1, "app-button", "btn", "btn-default", 3, "ngClass"], ["aria-hidden", "true"], [1, "caption", 3, "innerHTML"], [1, "app-files-upload-status", "single"], ["multiple", "", "name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "click", "disabled"], [1, "list-group", "file-upload", 3, "ngStyle"], [4, "ngFor", "ngForOf"], ["class", "list-group-item file-upload-status", 4, "ngIf"], [1, "list-group-item", "file-upload-status"], [1, "media", "upload-file-list"], [3, "title"], [1, "media-body", "media-middle", "file-details"], [1, "uploaddetails", "col-md-3"], [1, "upload-title"], [3, "class", 4, "ngIf"], ["class", "filesize", 4, "ngIf"], [3, "class", "title", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["class", "progress col-md-7 upload-progress", 4, "ngIf"], ["class", "col-md-1 upload-progress-percentage", 4, "ngIf"], ["class", "media-right media-middle", 4, "ngIf"], [1, "media-right", "media-middle"], ["class", "btn btn-transparent btn-default status-icon", "type", "button", 3, "title", "click", 4, "ngIf"], [1, "filesize"], [1, "error-message"], [1, "progress", "col-md-7", "upload-progress"], [1, "progress-bar", "progress-bar-striped", 3, "ngClass", "ngStyle"], [1, "col-md-1", "upload-progress-percentage"], ["type", "button", 1, "btn", "btn-transparent", "file-upload-stop", 3, "click"], [1, "wi", "wi-close"], ["type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click", "title"], ["title", "delete", "type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click"], [1, "wi", "wi-delete"], [1, "list-group", "file-upload", 3, "ngStyle", "title"], ["class", "list-group-item file-upload-status", 4, "ngFor", "ngForOf"], [1, "media-left", "media-middle", "file-icon", "fa", "fa-folder-o"], [1, "uploaddetails"], [1, "status-icon", "wi", "wi-cancel", "text-danger"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
640
727
  i0__namespace.ɵɵelementStart(0, "div", 0);
641
- i0__namespace.ɵɵtemplate(1, FileUploadComponent_div_1_Template, 9, 10, "div", 1)(2, FileUploadComponent_div_2_Template, 9, 10, "div", 2)(3, FileUploadComponent_button_3_Template, 3, 5, "button", 3)(4, FileUploadComponent_ul_4_Template, 2, 5, "ul", 4)(5, FileUploadComponent_ul_5_Template, 2, 6, "ul", 5);
728
+ i0__namespace.ɵɵtemplate(1, FileUploadComponent_div_1_Template, 12, 13, "div", 1)(2, FileUploadComponent_div_2_Template, 9, 10, "div", 2)(3, FileUploadComponent_button_3_Template, 3, 5, "button", 3)(4, FileUploadComponent_ul_4_Template, 2, 5, "ul", 4)(5, FileUploadComponent_ul_5_Template, 2, 6, "ul", 5);
642
729
  i0__namespace.ɵɵelementEnd();
643
730
  } if (rf & 2) {
644
731
  i0__namespace.ɵɵadvance();
@@ -648,7 +735,7 @@
648
735
  i0__namespace.ɵɵadvance();
649
736
  i0__namespace.ɵɵproperty("ngIf", ctx._isCordova);
650
737
  i0__namespace.ɵɵadvance();
651
- i0__namespace.ɵɵproperty("ngIf", ctx.selectedFiles.length > 0);
738
+ i0__namespace.ɵɵproperty("ngIf", ctx.uploadedFiles.length > 0);
652
739
  i0__namespace.ɵɵadvance();
653
740
  i0__namespace.ɵɵproperty("ngIf", ctx.selectedFolders.length > 0);
654
741
  } }, dependencies: [i2__namespace.NgClass, i2__namespace.NgForOf, i2__namespace.NgIf, i2__namespace.NgStyle, i3__namespace.FileIconClassPipe, i3__namespace.FileSizePipe, i3__namespace.StateClassPipe], encapsulation: 2 }); }
@@ -657,11 +744,11 @@
657
744
  type: i0.Component,
658
745
  args: [{ selector: '[wmFileUpload]', providers: [
659
746
  i3.provideAsWidgetRef(FileUploadComponent)
660
- ], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n <div class=\"app-multi-file-upload\" *ngIf=\"!_isMobileType && multiple\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"caption\"></label>\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple >\n <a href=\"javascript:void(0);\" class=\"app-anchor\">{{fileUploadMessage}}</a>\n </form>\n </div>\n </div>\n </div>\n <!-- single file upload in web and single , multiple file upload UI in mobile runmode -->\n <div class=\"app-single-file-upload\" *ngIf=\"!_isCordova && (!multiple || _isMobileType)\">\n <div class=\"app-button-wrapper\">\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <!-- support for file upload in Mobileapp in its runmode (Web) -->\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple>\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"!multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" >\n <button id=\"dropzone\" focus-target class=\"app-button btn btn-default\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\">\n <i class=\"{{iconclass}}\" aria-hidden=\"true\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n </form>\n </div>\n <div class=\"app-files-upload-status single\"></div>\n </div>\n <!-- support for file upload in Mobile Application (device) -->\n <button *ngIf=\"_isCordova\" focus-target class=\"app-button btn btn-default\" (click)=\"openFileSelector()\" [disabled]=\"disabled\">\n <i class=\"{{iconclass}}\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n <!-- list of selectedfiles UI -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" *ngIf=\"selectedFiles.length > 0\" >\n <div *ngFor=\"let ft of (multiple ? multipleSelectedFiles : selectedFiles)\">\n <li class=\"list-group-item file-upload-status\" *ngIf=\"ft.status !== 'abort'\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon {{getFileExtension(ft.name) | fileIconClass}}\" title=\"{{getFileExtension(ft.name)}}\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n <span class=\"filesize\" *ngIf=\"ft.fileLength !== 0\">{{ft.size | filesize:0}}</span>\n </p>\n <div class=\"progress\" *ngIf=\"ft.status === 'onProgress'\">\n <div class=\"progress-bar progress-bar-striped progress-bar-info\" [ngStyle]=\"{width: (ft.progress +'%')}\"></div>\n </div>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'onProgress' || ft.status === 'queued'\">\n <a class=\"btn btn-transparent file-upload-stop\" type=\"button\" (click)=\"abortFileUpload(ft)\">\n <i class=\"wi wi-close\"></i>\n </a>\n </div>\n\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'success'\">\n <span class=\"status-icon {{ft.status | stateClass }}\"></span>\n </div>\n <div *ngIf=\"cleariconclass !== '' && ft.status !== 'onProgress'\" class=\"media-right media-middle\">\n <a (click)=\"clear(ft)\" class=\"btn btn-transparent btn-default status-icon\" title=\"{{cleariconhint}}\" type=\"button\">\n <i class=\"{{cleariconclass}}\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'error'\" title=\"{{ft.errMsg || this.appLocale.MESSAGE_FILE_UPLOAD_FAILED}}\">\n <span class=\"status-icon {{ft.status | stateClass }}\"></span>\n </div>\n </div>\n </li>\n </div>\n </ul>\n <!-- list of selectedfolders UI to show the error in title -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" title=\"{{this.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED}}\" *ngIf=\"selectedFolders.length > 0\" >\n <li *ngFor=\"let ft of selectedFolders\" class=\"list-group-item file-upload-status\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon fa fa-folder-o\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n </p>\n </div>\n <div class=\"media-right media-middle\" >\n <span class=\"status-icon wi wi-cancel text-danger\"></span>\n </div>\n </div>\n </li>\n </ul>\n</div>\n" }]
747
+ ], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n <div class=\"app-multi-file-upload\" *ngIf=\"!_isMobileType && multiple\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"upload-label\"></label>\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple >\n <a class=\"app-anchor upload-label\" href=\"javascript:void(0);\">{{ fileUploadMessage }}</a>\n </form>\n <label *ngIf=\"chooseFilter\" [innerHtml]=\"chooseFilter + ' only '\" class=\"upload-extensions\"></label>\n <span *ngIf=\"chooseFilter && maxfilesize\" class=\"upload-extensions\"> . </span>\n <label *ngIf=\"maxfilesize\" [innerHtml]=\"maxfilesize + 'MB max'\" class=\"upload-extensions\"></label>\n </div>\n </div>\n </div>\n <!-- single file upload in web and single , multiple file upload UI in mobile runmode -->\n <div class=\"app-single-file-upload\" *ngIf=\"!_isCordova && (!multiple || _isMobileType)\">\n <div class=\"app-button-wrapper\">\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <!-- support for file upload in Mobileapp in its runmode (Web) -->\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n multiple name=\"files\" type=\"file\">\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"!multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n name=\"files\" type=\"file\">\n <button id=\"dropzone\" focus-target class=\"app-button btn btn-default\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\">\n <i class=\"{{iconclass}}\" aria-hidden=\"true\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n </form>\n </div>\n <div class=\"app-files-upload-status single\"></div>\n </div>\n <!-- support for file upload in Mobile Application (device) -->\n <button *ngIf=\"_isCordova\" focus-target class=\"app-button btn btn-default\" (click)=\"openFileSelector()\" [disabled]=\"disabled\">\n <i class=\"{{iconclass}}\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n <!-- list of selectedfiles UI -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" *ngIf=\"uploadedFiles.length > 0\" >\n <div *ngFor=\"let ft of uploadedFiles\">\n <li class=\"list-group-item file-upload-status\" *ngIf=\"ft.status !== 'abort'\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon {{getFileExtension(ft.name) | fileIconClass}}\" title=\"{{getFileExtension(ft.name)}}\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails col-md-3\">\n <span class=\"upload-title\">{{ ft.storageName || ft.name }}</span>\n <span *ngIf=\"ft.status === 'success'\"\n class=\"status-icon {{ft.status | stateClass }}\"></span>\n <br/>\n <span class=\"filesize\" *ngIf=\"ft.fileLength !== 0\">{{ft.size | filesize:0}}</span>\n <span *ngIf=\"ft.status === 'error'\"\n class=\"status-icon {{ft.status | stateClass }}\"\n title=\"{{ft.errMsg || this.appLocale.MESSAGE_FILE_UPLOAD_FAILED}}\"></span>\n <span *ngIf=\"ft.status === 'error'\" class=\"error-message\">Upload Failed</span>\n </p>\n <div *ngIf=\"ft.status === 'onProgress' || showprogressbar\"\n class=\"progress col-md-7 upload-progress\">\n <div [ngClass]=\"ft.status === 'error' ? 'progress-bar-danger' : 'progress-bar-info'\"\n [ngStyle]=\"{width: (ft.progress +'%')}\"\n class=\"progress-bar progress-bar-striped\"></div>\n </div>\n <div *ngIf=\"(ft.status === 'onProgress' || showprogressbar && showprogressbarpercentage) && ft.progress \"\n class=\"col-md-1 upload-progress-percentage\">{{ ft.progress + '%' }}\n </div>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'onProgress' || ft.status === 'queued'\">\n <a class=\"btn btn-transparent file-upload-stop\" type=\"button\" (click)=\"abortFileUpload(ft)\">\n <i class=\"wi wi-close\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\">\n <a (click)=\"clear(ft)\" *ngIf=\"cleariconclass !== '' && ft.status !== 'onProgress'\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{cleariconhint}}\" type=\"button\">\n <i class=\"{{cleariconclass}}\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'success'\">\n <a (click)=\"onFileDelete($event, ft)\" class=\"btn btn-transparent btn-default status-icon\" title=\"delete\" type=\"button\">\n <i class=\"wi wi-delete\"></i>\n </a>\n </div>\n </div>\n </li>\n </div>\n </ul>\n <!-- list of selectedfolders UI to show the error in title -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" title=\"{{this.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED}}\" *ngIf=\"selectedFolders.length > 0\" >\n <li *ngFor=\"let ft of selectedFolders\" class=\"list-group-item file-upload-status\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon fa fa-folder-o\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n </p>\n </div>\n <div class=\"media-right media-middle\" >\n <span class=\"status-icon wi wi-cancel text-danger\"></span>\n </div>\n </div>\n </li>\n </ul>\n</div>\n" }]
661
748
  }], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
662
749
  type: i0.Attribute,
663
750
  args: ['select.event']
664
- }] }, { type: undefined, decorators: [{
751
+ }] }, { type: i1__namespace.AbstractDialogService }, { type: undefined, decorators: [{
665
752
  type: i0.Inject,
666
753
  args: ['EXPLICIT_CONTEXT']
667
754
  }, {