@dsivd/prestations-ng 18.8.0-beta.13 → 19.0.0-beta.1

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 (298) hide show
  1. package/.browserslistrc +12 -21
  2. package/ANGULAR_SIGNALS.md +856 -0
  3. package/CHANGELOG.md +333 -312
  4. package/COMPONENTS.md +350 -0
  5. package/CONTRIBUTING.md +2 -4
  6. package/ESLINT_MIGRATION_GUIDE.md +64 -67
  7. package/IAM_ACV_MIGRATION_OIDC.md +138 -0
  8. package/MULTI_ETAPES.md +1 -1
  9. package/README.md +4 -2
  10. package/UPGRADING_V12.md +0 -10
  11. package/UPGRADING_V16.md +0 -1
  12. package/UPGRADING_V18.md +398 -233
  13. package/UPGRADING_V19.md +174 -0
  14. package/dsivd-prestations-ng-19.0.0-beta.1.tgz +0 -0
  15. package/fesm2022/dsivd-prestations-ng.mjs +9333 -10485
  16. package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
  17. package/index.html +1 -1
  18. package/package.json +18 -17
  19. package/schematics/utility/add-allow-synthetic-default-imports.js +2 -2
  20. package/schematics/utility/add-allowed-common-js-dependencies.js +3 -3
  21. package/schematics/utility/foehn2-bootstrap5-migration.js +21 -21
  22. package/schematics/utility/migrate-to-karma-coverage.js +2 -2
  23. package/schematics/utility/remove-emit-decorator-metadata.js +2 -2
  24. package/types/dsivd-prestations-ng.d.ts +3699 -0
  25. package/MODULES.md +0 -371
  26. package/abstract-page-component.d.ts +0 -57
  27. package/directives/currency-formatter.directive.d.ts +0 -20
  28. package/directives/formatter.module.d.ts +0 -11
  29. package/directives/iban-formatter.directive.d.ts +0 -10
  30. package/directives/ide-formatter.directive.d.ts +0 -17
  31. package/directives/ndc-formatter.directive.d.ts +0 -24
  32. package/dsivd-prestations-ng-18.8.0-beta.13.tgz +0 -0
  33. package/foehn-address/address.type.d.ts +0 -27
  34. package/foehn-address/foehn-address.module.d.ts +0 -15
  35. package/foehn-address/foehn-display-address.component.d.ts +0 -16
  36. package/foehn-address/foehn-input-address.component.d.ts +0 -107
  37. package/foehn-address/foehn-input-foreign-locality.component.d.ts +0 -16
  38. package/foehn-address/foehn-input-foreign-street.component.d.ts +0 -12
  39. package/foehn-agenda/calendar.type.d.ts +0 -9
  40. package/foehn-agenda/current-week.type.d.ts +0 -5
  41. package/foehn-agenda/day-slots.type.d.ts +0 -5
  42. package/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.d.ts +0 -21
  43. package/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.d.ts +0 -51
  44. package/foehn-agenda/foehn-agenda.component.d.ts +0 -29
  45. package/foehn-agenda/foehn-agenda.module.d.ts +0 -17
  46. package/foehn-agenda/pagination-week.type.d.ts +0 -5
  47. package/foehn-agenda/selected-slot.type.d.ts +0 -7
  48. package/foehn-autocomplete/foehn-autocomplete.component.d.ts +0 -126
  49. package/foehn-autocomplete/foehn-autocomplete.module.d.ts +0 -13
  50. package/foehn-boolean/foehn-boolean-checkbox.component.d.ts +0 -6
  51. package/foehn-boolean/foehn-boolean-radio.component.d.ts +0 -9
  52. package/foehn-boolean/foehn-boolean.module.d.ts +0 -12
  53. package/foehn-breadcrumb/breadcrumb-event.service.d.ts +0 -48
  54. package/foehn-breadcrumb/breadcrumb.d.ts +0 -19
  55. package/foehn-breadcrumb/foehn-breadcrumb.component.d.ts +0 -30
  56. package/foehn-breadcrumb/foehn-breadcrumb.module.d.ts +0 -10
  57. package/foehn-checkables/foehn-checkable-group.component.d.ts +0 -64
  58. package/foehn-checkables/foehn-checkables.module.d.ts +0 -17
  59. package/foehn-checkables/foehn-checkbox.component.d.ts +0 -9
  60. package/foehn-checkables/foehn-radio.component.d.ts +0 -12
  61. package/foehn-checkables/foehn-select.component.d.ts +0 -22
  62. package/foehn-checkables/form-select-option-group.d.ts +0 -4
  63. package/foehn-checkables/form-select-option.d.ts +0 -5
  64. package/foehn-confirm-modal/foehn-confirm-modal-content.d.ts +0 -9
  65. package/foehn-confirm-modal/foehn-confirm-modal.component.d.ts +0 -17
  66. package/foehn-confirm-modal/foehn-confirm-modal.module.d.ts +0 -9
  67. package/foehn-confirm-modal/foehn-confirm-modal.service.d.ts +0 -18
  68. package/foehn-date-picker/date-picker-navigation.helper.d.ts +0 -26
  69. package/foehn-date-picker/date-picker.helper.d.ts +0 -30
  70. package/foehn-date-picker/day-month.type.d.ts +0 -8
  71. package/foehn-date-picker/focused-day.type.d.ts +0 -6
  72. package/foehn-date-picker/foehn-date-picker.component.d.ts +0 -78
  73. package/foehn-date-picker/foehn-date-picker.module.d.ts +0 -13
  74. package/foehn-date-picker/month-year.type.d.ts +0 -4
  75. package/foehn-date-picker-button/foehn-date-picker-button.component.d.ts +0 -31
  76. package/foehn-date-picker-button/foehn-date-picker-button.module.d.ts +0 -12
  77. package/foehn-debug-summary/foehn-debug-summary.component.d.ts +0 -21
  78. package/foehn-debug-summary/foehn-debug-summary.component.module.d.ts +0 -9
  79. package/foehn-decision-electronique/foehn-decision-electronique.component.d.ts +0 -11
  80. package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +0 -11
  81. package/foehn-dropdown-menu/dropdown-menu-group.type.d.ts +0 -5
  82. package/foehn-dropdown-menu/dropdown-menu-item.type.d.ts +0 -9
  83. package/foehn-dropdown-menu/foehn-dropdown-menu.component.d.ts +0 -42
  84. package/foehn-dropdown-menu/foehn-dropdown-menu.module.d.ts +0 -11
  85. package/foehn-feedback-notification/foehn-feedback-notification.component.d.ts +0 -32
  86. package/foehn-feedback-notification/foehn-feedback-notification.module.d.ts +0 -11
  87. package/foehn-feedback-notification/foehn-feedback-notification.type.d.ts +0 -8
  88. package/foehn-footer/foehn-footer.component.d.ts +0 -44
  89. package/foehn-footer/foehn-footer.module.d.ts +0 -9
  90. package/foehn-footer/footer-link.type.d.ts +0 -4
  91. package/foehn-form/foehn-form.component.d.ts +0 -27
  92. package/foehn-form/foehn-form.module.d.ts +0 -10
  93. package/foehn-form/register-ng-model.service.d.ts +0 -9
  94. package/foehn-growl/foehn-growl.component.d.ts +0 -17
  95. package/foehn-growl/foehn-growl.module.d.ts +0 -8
  96. package/foehn-growl/growl-broker.service.d.ts +0 -12
  97. package/foehn-growl/growl-message.d.ts +0 -7
  98. package/foehn-growl/growl-types.d.ts +0 -6
  99. package/foehn-header/foehn-header.component.d.ts +0 -47
  100. package/foehn-header/foehn-header.module.d.ts +0 -14
  101. package/foehn-header/foehn-skip-link.component.d.ts +0 -23
  102. package/foehn-help-modal/foehn-help-modal.component.d.ts +0 -17
  103. package/foehn-help-modal/foehn-help-modal.module.d.ts +0 -10
  104. package/foehn-help-modal/foehn-help-modal.type.d.ts +0 -13
  105. package/foehn-icons/abstract-icon-component.d.ts +0 -9
  106. package/foehn-icons/foehn-icon-calendar.component.d.ts +0 -8
  107. package/foehn-icons/foehn-icon-check-square-o.component.d.ts +0 -8
  108. package/foehn-icons/foehn-icon-check.component.d.ts +0 -8
  109. package/foehn-icons/foehn-icon-chevron-down.component.d.ts +0 -8
  110. package/foehn-icons/foehn-icon-chevron-left.component.d.ts +0 -8
  111. package/foehn-icons/foehn-icon-chevron-right.component.d.ts +0 -8
  112. package/foehn-icons/foehn-icon-chevron-up.component.d.ts +0 -8
  113. package/foehn-icons/foehn-icon-clock.component.d.ts +0 -8
  114. package/foehn-icons/foehn-icon-comment-dots.component.d.ts +0 -8
  115. package/foehn-icons/foehn-icon-edit.component.d.ts +0 -8
  116. package/foehn-icons/foehn-icon-external-link-alt.component.d.ts +0 -8
  117. package/foehn-icons/foehn-icon-file-pdf.component.d.ts +0 -8
  118. package/foehn-icons/foehn-icon-info-circle.component.d.ts +0 -8
  119. package/foehn-icons/foehn-icon-lock.component.d.ts +0 -8
  120. package/foehn-icons/foehn-icon-map-marker.component.d.ts +0 -8
  121. package/foehn-icons/foehn-icon-minus-circle.component.d.ts +0 -8
  122. package/foehn-icons/foehn-icon-pencil.component.d.ts +0 -8
  123. package/foehn-icons/foehn-icon-plus-circle.component.d.ts +0 -8
  124. package/foehn-icons/foehn-icon-plus-square.component.d.ts +0 -8
  125. package/foehn-icons/foehn-icon-search.component.d.ts +0 -8
  126. package/foehn-icons/foehn-icon-times.component.d.ts +0 -8
  127. package/foehn-icons/foehn-icon-trash-alt.component.d.ts +0 -8
  128. package/foehn-icons/foehn-icon-unlock-alt.component.d.ts +0 -8
  129. package/foehn-icons/foehn-icon-user.component.d.ts +0 -8
  130. package/foehn-icons/foehn-icons.module.d.ts +0 -31
  131. package/foehn-input/foehn-input-email.component.d.ts +0 -15
  132. package/foehn-input/foehn-input-hidden.component.d.ts +0 -14
  133. package/foehn-input/foehn-input-number.component.d.ts +0 -42
  134. package/foehn-input/foehn-input-password.component.d.ts +0 -12
  135. package/foehn-input/foehn-input-phone.component.d.ts +0 -25
  136. package/foehn-input/foehn-input-prefixed-text.component.d.ts +0 -26
  137. package/foehn-input/foehn-input-string.component.d.ts +0 -9
  138. package/foehn-input/foehn-input-text.component.d.ts +0 -11
  139. package/foehn-input/foehn-input-textarea.component.d.ts +0 -22
  140. package/foehn-input/foehn-input.component.d.ts +0 -127
  141. package/foehn-input/foehn-input.module.d.ts +0 -24
  142. package/foehn-input/pattern.const.d.ts +0 -11
  143. package/foehn-input-date/foehn-input-date.component.d.ts +0 -33
  144. package/foehn-input-date-time/foehn-input-date-time.component.d.ts +0 -40
  145. package/foehn-input-time/foehn-input-time.component.d.ts +0 -19
  146. package/foehn-list/foehn-list.component.d.ts +0 -27
  147. package/foehn-list/foehn-list.module.d.ts +0 -9
  148. package/foehn-list/page-change-event.d.ts +0 -5
  149. package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +0 -35
  150. package/foehn-menu-prestation/abstract-menu-page.component.d.ts +0 -13
  151. package/foehn-menu-prestation/abstract-page-from-menu.component.d.ts +0 -20
  152. package/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.d.ts +0 -12
  153. package/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.d.ts +0 -6
  154. package/foehn-menu-prestation/foehn-list-summary/foehn-list-item.d.ts +0 -5
  155. package/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.d.ts +0 -40
  156. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.d.ts +0 -16
  157. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.d.ts +0 -23
  158. package/foehn-menu-prestation/foehn-menu-prestation.module.d.ts +0 -18
  159. package/foehn-misc/foehn-abbr.component.d.ts +0 -7
  160. package/foehn-misc/foehn-misc.module.d.ts +0 -7
  161. package/foehn-modal/foehn-modal.component.d.ts +0 -24
  162. package/foehn-modal/foehn-modal.module.d.ts +0 -11
  163. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +0 -54
  164. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.d.ts +0 -13
  165. package/foehn-nav13/foehn-input-nav13.component.d.ts +0 -20
  166. package/foehn-nav13/foehn-input-nav13.module.d.ts +0 -11
  167. package/foehn-navigation/abstract-foehn-navigation.component.d.ts +0 -19
  168. package/foehn-navigation/foehn-navigation/foehn-navigation.component.d.ts +0 -22
  169. package/foehn-navigation/foehn-navigation.module.d.ts +0 -13
  170. package/foehn-navigation/foehn-navigation.service.d.ts +0 -69
  171. package/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.d.ts +0 -8
  172. package/foehn-notfound/foehn-notfound.component.d.ts +0 -19
  173. package/foehn-notfound/foehn-notfound.module.d.ts +0 -10
  174. package/foehn-page/foehn-page-counter.component.d.ts +0 -15
  175. package/foehn-page/foehn-page-expiration-timer/current-session-expiration.d.ts +0 -5
  176. package/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.d.ts +0 -15
  177. package/foehn-page/foehn-page-expiration-timer/demande-expiration.service.d.ts +0 -16
  178. package/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.d.ts +0 -36
  179. package/foehn-page/foehn-page-expiration-timer/interval.helper.d.ts +0 -3
  180. package/foehn-page/foehn-page-modal.component.d.ts +0 -23
  181. package/foehn-page/foehn-page-modal.service.d.ts +0 -12
  182. package/foehn-page/foehn-page.component.d.ts +0 -80
  183. package/foehn-page/foehn-page.module.d.ts +0 -24
  184. package/foehn-page/foehn-page.service.d.ts +0 -19
  185. package/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.d.ts +0 -16
  186. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.d.ts +0 -11
  187. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.d.ts +0 -11
  188. package/foehn-recap-section/foehn-recap-section.component.d.ts +0 -21
  189. package/foehn-recap-section/foehn-recap-section.module.d.ts +0 -10
  190. package/foehn-recap-section/foehn-recap-section.type.d.ts +0 -17
  191. package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +0 -20
  192. package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.d.ts +0 -8
  193. package/foehn-status-progress-bar/foehn-status-progress-bar.component.d.ts +0 -23
  194. package/foehn-status-progress-bar/foehn-status-progress-bar.module.d.ts +0 -10
  195. package/foehn-table/foehn-table-column-configuration.d.ts +0 -14
  196. package/foehn-table/foehn-table-page-change-event.d.ts +0 -5
  197. package/foehn-table/foehn-table.component.d.ts +0 -40
  198. package/foehn-table/foehn-table.module.d.ts +0 -13
  199. package/foehn-table/row-element.type.d.ts +0 -4
  200. package/foehn-table/tableSort.d.ts +0 -4
  201. package/foehn-upload/abstract-foehn-uploader.component.d.ts +0 -68
  202. package/foehn-upload/document-reference.d.ts +0 -12
  203. package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +0 -27
  204. package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.d.ts +0 -11
  205. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +0 -38
  206. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.d.ts +0 -13
  207. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.d.ts +0 -42
  208. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +0 -13
  209. package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +0 -29
  210. package/foehn-upload/foehn-multi-upload/multi-upload.type.d.ts +0 -11
  211. package/foehn-upload/foehn-multi-upload/pending-upload.service.d.ts +0 -26
  212. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +0 -38
  213. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +0 -14
  214. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +0 -22
  215. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +0 -11
  216. package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +0 -19
  217. package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +0 -6
  218. package/foehn-upload/page-upload-limit.service.d.ts +0 -22
  219. package/foehn-upload/pending-upload.type.d.ts +0 -9
  220. package/foehn-upload/uploader.helper.d.ts +0 -66
  221. package/foehn-user-connected-as/foehn-user-connected-as.component.d.ts +0 -12
  222. package/foehn-user-connected-as/foehn-user-connected-as.module.d.ts +0 -9
  223. package/foehn-validation-alert-summary/foehn-validation-alert-summary.component.d.ts +0 -20
  224. package/foehn-validation-alert-summary/foehn-validation-alert-summary.module.d.ts +0 -9
  225. package/foehn-validation-alerts/foehn-validation-alerts.component.d.ts +0 -14
  226. package/foehn-validation-alerts/foehn-validation-alerts.module.d.ts +0 -8
  227. package/form-error.d.ts +0 -5
  228. package/form-post-response.d.ts +0 -19
  229. package/gesdem/gesdem-error-handler.service.d.ts +0 -22
  230. package/gesdem/gesdem-event.service.d.ts +0 -16
  231. package/gesdem/gesdem-handler.service.d.ts +0 -52
  232. package/gesdem/gesdem-loader.guard.d.ts +0 -2
  233. package/gesdem/gesdem-statut-utils.d.ts +0 -12
  234. package/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.d.ts +0 -39
  235. package/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.d.ts +0 -59
  236. package/gesdem-action-recovery/gesdem-action-recovery.module.d.ts +0 -17
  237. package/gesdem-action-recovery/gesdem-action-recovery.service.d.ts +0 -24
  238. package/gesdem-action-recovery/reprise-info.d.ts +0 -6
  239. package/gesdem-confirmation/gesdem-confirmation.component.d.ts +0 -65
  240. package/gesdem-confirmation/gesdem-confirmation.module.d.ts +0 -12
  241. package/gesdem-error/gesdem-error.component.d.ts +0 -34
  242. package/gesdem-error/gesdem-error.module.d.ts +0 -12
  243. package/global.const.d.ts +0 -1
  244. package/helpers/demande.helper.d.ts +0 -3
  245. package/helpers/object.helper.d.ts +0 -30
  246. package/i18n-form.d.ts +0 -5
  247. package/index.d.ts +0 -5
  248. package/pipes/currency.pipe.d.ts +0 -10
  249. package/pipes/date.pipe.d.ts +0 -12
  250. package/pipes/formatIde.pipe.d.ts +0 -7
  251. package/pipes/pipes.module.d.ts +0 -9
  252. package/prestations-ng-core.module.d.ts +0 -12
  253. package/public-api.d.ts +0 -238
  254. package/refinf/model/address-type-light.d.ts +0 -5
  255. package/refinf/model/canton.d.ts +0 -4
  256. package/refinf/model/district.d.ts +0 -7
  257. package/refinf/model/municipality.d.ts +0 -9
  258. package/refinf/model/place-of-origin.d.ts +0 -9
  259. package/refinf/model/postal-locality.d.ts +0 -11
  260. package/sdk-appinfo/application-info.d.ts +0 -61
  261. package/sdk-appinfo/application-info.service.d.ts +0 -32
  262. package/sdk-currency/currency.helper.d.ts +0 -9
  263. package/sdk-date/date.helper.d.ts +0 -20
  264. package/sdk-dictionary/default-dictionary.d.ts +0 -2
  265. package/sdk-dictionary/sdk-dictionary.module.d.ts +0 -7
  266. package/sdk-dictionary/sdk-dictionary.pipe.d.ts +0 -12
  267. package/sdk-dictionary/sdk-dictionary.service.d.ts +0 -44
  268. package/sdk-drafts/draft.model.d.ts +0 -5
  269. package/sdk-drafts/drafts-container.component.d.ts +0 -33
  270. package/sdk-drafts/drafts.module.d.ts +0 -14
  271. package/sdk-drafts/drafts.service.d.ts +0 -20
  272. package/sdk-epayment/model/EPaymentParameters.d.ts +0 -21
  273. package/sdk-epayment/pending-payment/pending-payment.component.d.ts +0 -9
  274. package/sdk-epayment/sdk-epayment.component.d.ts +0 -33
  275. package/sdk-epayment/sdk-epayment.module.d.ts +0 -11
  276. package/sdk-epayment/sdk-epayment.service.d.ts +0 -21
  277. package/sdk-events-logger/sdk-event-type.d.ts +0 -12
  278. package/sdk-events-logger/sdk-event.d.ts +0 -8
  279. package/sdk-events-logger/sdk-events-logger.service.d.ts +0 -18
  280. package/sdk-recaptcha/grecaptcha/grecaptcha.component.d.ts +0 -39
  281. package/sdk-recaptcha/recaptcha.service.d.ts +0 -44
  282. package/sdk-recaptcha/sdk-recaptcha.component.d.ts +0 -27
  283. package/sdk-recaptcha/sdk-recaptcha.module.d.ts +0 -9
  284. package/sdk-redirect/iam-expired-interceptor.service.d.ts +0 -12
  285. package/sdk-redirect/redirect.component.d.ts +0 -22
  286. package/sdk-redirect/sdk-redirect.module.d.ts +0 -9
  287. package/sdk-session-info/session-info-data.d.ts +0 -29
  288. package/sdk-session-info/session-info-with-application.service.d.ts +0 -20
  289. package/sdk-session-info/session-info.service.d.ts +0 -17
  290. package/sdk-statistics/sdk-statistics.service.d.ts +0 -24
  291. package/sdk-support-alert/support-alert-container.component.d.ts +0 -20
  292. package/sdk-support-alert/support-alert.component.d.ts +0 -12
  293. package/sdk-support-alert/support-alert.model.d.ts +0 -12
  294. package/sdk-support-alert/support-alert.module.d.ts +0 -10
  295. package/sdk-support-alert/support-alert.service.d.ts +0 -34
  296. package/service-locator.d.ts +0 -4
  297. package/supported-browser.d.ts +0 -1
  298. package/validation/validation-handler.service.d.ts +0 -15
@@ -1,23 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { Subscription } from 'rxjs';
4
- import { FoehnNavigationService } from '../foehn-navigation/foehn-navigation.service';
5
- import { GesdemEventService } from '../gesdem/gesdem-event.service';
6
- import { GesdemHandlerService } from '../gesdem/gesdem-handler.service';
7
- import * as i0 from "@angular/core";
8
- export declare class FoehnStatusProgressBarComponent implements OnInit, OnDestroy {
9
- protected activatedRoute: ActivatedRoute;
10
- private navigation;
11
- private gesdemEventService;
12
- private gesdemHand;
13
- hidden: boolean;
14
- isTransmitted: boolean;
15
- isTransmittedSub: Subscription;
16
- constructor(activatedRoute: ActivatedRoute, navigation: FoehnNavigationService, gesdemEventService: GesdemEventService, gesdemHand: GesdemHandlerService);
17
- isEnabled(): boolean;
18
- isStep2Active(): boolean;
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnStatusProgressBarComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnStatusProgressBarComponent, "foehn-status-progress-bar", never, { "hidden": { "alias": "hidden"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-status-progress-bar.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/router";
5
- import * as i4 from "../sdk-dictionary/sdk-dictionary.module";
6
- export declare class FoehnStatusProgressBarModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnStatusProgressBarModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnStatusProgressBarModule, [typeof i1.FoehnStatusProgressBarComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.SdkDictionaryModule], [typeof i1.FoehnStatusProgressBarComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnStatusProgressBarModule>;
10
- }
@@ -1,14 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { IconDefinition } from '@fortawesome/fontawesome-common-types';
3
- export declare class FoehnTableColumnConfiguration<T> {
4
- id: string;
5
- columnLabelKey: string;
6
- isImportant?: (item: T) => boolean;
7
- iconGetter?: (item: T) => {
8
- icon: IconDefinition;
9
- label: string;
10
- };
11
- valueGetter?: (item: T) => string;
12
- template?: TemplateRef<unknown>;
13
- sortAttribute?: string;
14
- }
@@ -1,5 +0,0 @@
1
- export declare class FoehnTablePageChangeEvent {
2
- previousPage: number;
3
- currentPage: number;
4
- pageCount: number;
5
- }
@@ -1,40 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges, TrackByFunction } from '@angular/core';
2
- import { FoehnInputComponent } from '../foehn-input/foehn-input.component';
3
- import { FoehnTableColumnConfiguration } from './foehn-table-column-configuration';
4
- import { FoehnTablePageChangeEvent } from './foehn-table-page-change-event';
5
- import { RowElement } from './row-element.type';
6
- import { TableSort } from './tableSort';
7
- import * as i0 from "@angular/core";
8
- export declare class FoehnTableComponent extends FoehnInputComponent<unknown[]> implements OnChanges {
9
- itemsPerPage: number;
10
- title: string;
11
- titleSrOnly: boolean;
12
- previousLabel: string;
13
- nextLabel: string;
14
- totalElements: number;
15
- fixedPageCount: number;
16
- columnsConfiguration: FoehnTableColumnConfiguration<any>[];
17
- pageChange: EventEmitter<FoehnTablePageChangeEvent>;
18
- sort: TableSort;
19
- tableClass: string;
20
- sortChange: EventEmitter<TableSort>;
21
- rowClick: EventEmitter<RowElement>;
22
- currentPage: number;
23
- filteredList: unknown[];
24
- private _list;
25
- trackByFn: TrackByFunction<unknown>;
26
- onModelChange(value: unknown[]): void;
27
- trackFoehnTableColumnConfiguration: TrackByFunction<FoehnTableColumnConfiguration<unknown>>;
28
- ngOnChanges(changes: SimpleChanges): void;
29
- previousPage(): void;
30
- hasPreviousPage(): boolean;
31
- nextPage(): void;
32
- hasNextPage(): boolean;
33
- showPage(page: number, emitPageChangeEvent?: boolean): void;
34
- pagesCount(): number;
35
- triggerSort(sortAttribute: string): void;
36
- manageRowClick(rowElem: HTMLTableRowElement, item: unknown): void;
37
- private buildFilteredList;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnTableComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnTableComponent, "foehn-table", never, { "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleSrOnly": { "alias": "titleSrOnly"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "fixedPageCount": { "alias": "fixedPageCount"; "required": false; }; "columnsConfiguration": { "alias": "columnsConfiguration"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "rowClick": "rowClick"; }, never, ["*"], false, never>;
40
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-table.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../foehn-icons/foehn-icons.module";
5
- import * as i4 from "../sdk-dictionary/sdk-dictionary.module";
6
- import * as i5 from "@angular/router";
7
- import * as i6 from "../foehn-validation-alerts/foehn-validation-alerts.module";
8
- import * as i7 from "@angular/forms";
9
- export declare class FoehnTableModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnTableModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnTableModule, [typeof i1.FoehnTableComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.SdkDictionaryModule, typeof i5.RouterModule, typeof i6.FoehnValidationAlertsModule, typeof i7.FormsModule], [typeof i1.FoehnTableComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnTableModule>;
13
- }
@@ -1,4 +0,0 @@
1
- export declare class RowElement {
2
- indexInArray: number;
3
- element: HTMLTableRowElement;
4
- }
@@ -1,4 +0,0 @@
1
- export declare class TableSort {
2
- sortDirection: 'DESC' | 'ASC';
3
- sortAttribute?: string;
4
- }
@@ -1,68 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { BehaviorSubject, Subscription } from 'rxjs';
3
- import { FoehnConfirmModalService } from '../foehn-confirm-modal/foehn-confirm-modal.service';
4
- import { GrowlBrokerService } from '../foehn-growl/growl-broker.service';
5
- import { FoehnInputComponent } from '../foehn-input/foehn-input.component';
6
- import { FormError } from '../form-error';
7
- import { ApplicationInfoService } from '../sdk-appinfo/application-info.service';
8
- import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
9
- import { DocumentReference } from './document-reference';
10
- import { UploaderHelper } from './uploader.helper';
11
- import * as i0 from "@angular/core";
12
- export declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInputComponent<T> implements OnInit, OnDestroy {
13
- protected applicationInfoService: ApplicationInfoService;
14
- protected confirmModalService: FoehnConfirmModalService;
15
- protected dictionaryService: SdkDictionaryService;
16
- protected growlService: GrowlBrokerService;
17
- dragAndDrop: boolean;
18
- showUploadButton: boolean;
19
- readonly: boolean;
20
- hideGlobalInfos: boolean;
21
- multiple: boolean;
22
- key: string;
23
- chooseButtonLabel: string;
24
- chooseButtonLabelMultiple: string;
25
- dropZoneLabel: string;
26
- dropZoneLabelMultiple: string;
27
- overrideAcceptedExtensions: string;
28
- overrideMaxFileNameLength: number;
29
- overrideIllegalCharacters: string;
30
- showDeleteConfirmationMessage: boolean;
31
- deleteConfirmationMessage: string;
32
- maxSimultaneousSelectedFiles: number;
33
- shouldDisplayFileSavedConfirmation: boolean;
34
- maxFilesCount: number;
35
- maxFilesSizeInMo: number;
36
- uploaderHelper: UploaderHelper;
37
- showDropZone: boolean;
38
- protected deleteDocumentSubject: BehaviorSubject<DocumentReference>;
39
- protected deleteDocumentSubscription: Subscription;
40
- protected uploadFilesSubject: BehaviorSubject<File[]>;
41
- protected uploadFilesSubscription: Subscription;
42
- protected currentLanguageSubscription: Subscription;
43
- protected currentLanguage: string;
44
- protected constructor(applicationInfoService: ApplicationInfoService, confirmModalService: FoehnConfirmModalService, dictionaryService: SdkDictionaryService, growlService: GrowlBrokerService);
45
- abstract get addedFiles(): unknown[];
46
- onDocumentDragOver(event: any): void;
47
- onDocumentDragLeave(event: any): void;
48
- onDocumentDrop(event: any): void;
49
- ngOnInit(): void;
50
- ngOnDestroy(): void;
51
- trackByDocument(index: number, document: DocumentReference): string;
52
- removeFile(document: any): void;
53
- showGlobalInfos(data: any): boolean;
54
- getGlobalInfos(data: any): string;
55
- toMegaOctets(size: number): string;
56
- onDragenter(event: any): void;
57
- onDragleave(event: any): void;
58
- onDragover(event: any): void;
59
- hasLiveUploadErrors(): boolean;
60
- protected removeFileOnConfirmation(document: any): void;
61
- protected displayLocalErrors(files: File[]): FormError[];
62
- protected isMaxSelectionReached(files: File[]): boolean;
63
- protected isMaxFilesCountReached(files: File[]): boolean;
64
- protected isMaxFilesSizeReached(files: File[]): boolean;
65
- abstract getTotalFilesSize(): number;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFoehnUploaderComponent<any>, never>;
67
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFoehnUploaderComponent<any>, never, never, { "dragAndDrop": { "alias": "dragAndDrop"; "required": false; }; "showUploadButton": { "alias": "showUploadButton"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideGlobalInfos": { "alias": "hideGlobalInfos"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "key": { "alias": "key"; "required": false; }; "chooseButtonLabel": { "alias": "chooseButtonLabel"; "required": false; }; "chooseButtonLabelMultiple": { "alias": "chooseButtonLabelMultiple"; "required": false; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; }; "dropZoneLabelMultiple": { "alias": "dropZoneLabelMultiple"; "required": false; }; "overrideAcceptedExtensions": { "alias": "overrideAcceptedExtensions"; "required": false; }; "overrideMaxFileNameLength": { "alias": "overrideMaxFileNameLength"; "required": false; }; "overrideIllegalCharacters": { "alias": "overrideIllegalCharacters"; "required": false; }; "showDeleteConfirmationMessage": { "alias": "showDeleteConfirmationMessage"; "required": false; }; "deleteConfirmationMessage": { "alias": "deleteConfirmationMessage"; "required": false; }; "maxSimultaneousSelectedFiles": { "alias": "maxSimultaneousSelectedFiles"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; "maxFilesCount": { "alias": "maxFilesCount"; "required": false; }; "maxFilesSizeInMo": { "alias": "maxFilesSizeInMo"; "required": false; }; }, {}, never, never, true, never>;
68
- }
@@ -1,12 +0,0 @@
1
- export declare class DocumentReference {
2
- reference: string;
3
- filename: string;
4
- key: string;
5
- label: string;
6
- mimeType: string;
7
- fileSize: number;
8
- readonly?: boolean;
9
- }
10
- export declare class DocumentReferenceWithFile extends DocumentReference {
11
- file: File;
12
- }
@@ -1,27 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
4
- import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
5
- import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
6
- import { DocumentReference } from '../document-reference';
7
- import { UploadProgressService } from '../foehn-upload-progress-bar/upload-progress.service';
8
- import { BoDocumentsWithErrors } from './bo-multi-upload.type';
9
- import * as i0 from "@angular/core";
10
- export declare class BoMultiUploadService {
11
- private httpClient;
12
- private growlService;
13
- private applicationInfoService;
14
- private dictionaryService;
15
- private uploadProgressService;
16
- private globalSequence;
17
- private uploaderHelper;
18
- private readonly NB_CONCURRENT_FILES_TO_UPLOAD;
19
- constructor(httpClient: HttpClient, growlService: GrowlBrokerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService, uploadProgressService: UploadProgressService);
20
- uploadDocuments(url: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, language: string, shouldDisplayFileSavedConfirmation: boolean): Observable<BoDocumentsWithErrors>;
21
- deleteDocument(baseUrl: string, document: DocumentReference): Observable<DocumentReference>;
22
- getDownloadUrl(baseUrl: string, document: DocumentReference): string;
23
- private getDocumentsWithErrorsObservable;
24
- private mergeDocumentsWithErrors;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BoMultiUploadService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<BoMultiUploadService>;
27
- }
@@ -1,11 +0,0 @@
1
- import { DocumentReference } from '../document-reference';
2
- export declare class BoDocumentError {
3
- key: string;
4
- label: string;
5
- formKey: string;
6
- errorCode: string;
7
- }
8
- export declare class BoDocumentsWithErrors {
9
- documents: DocumentReference[];
10
- errors: BoDocumentError[];
11
- }
@@ -1,38 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { FoehnConfirmModalService } from '../../foehn-confirm-modal/foehn-confirm-modal.service';
3
- import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
4
- import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
5
- import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
6
- import { AbstractFoehnUploaderComponent } from '../abstract-foehn-uploader.component';
7
- import { DocumentReference } from '../document-reference';
8
- import { PageUploadLimitService } from '../page-upload-limit.service';
9
- import { BoMultiUploadService } from './bo-multi-upload.service';
10
- import * as i0 from "@angular/core";
11
- export declare class FoehnBoMultiUploadComponent extends AbstractFoehnUploaderComponent<DocumentReference[]> implements OnInit, OnDestroy {
12
- protected applicationInfoService: ApplicationInfoService;
13
- protected confirmModalService: FoehnConfirmModalService;
14
- protected dictionaryService: SdkDictionaryService;
15
- protected growlService: GrowlBrokerService;
16
- protected pageUploadLimitService: PageUploadLimitService;
17
- uploadUrl: string;
18
- deleteUrl: string;
19
- downloadUrl: string;
20
- optionalLabelKey: string;
21
- documentDeleted: EventEmitter<DocumentReference>;
22
- boMultiUploadService: BoMultiUploadService;
23
- constructor(boMultiUploadService: BoMultiUploadService, applicationInfoService: ApplicationInfoService, confirmModalService: FoehnConfirmModalService, dictionaryService: SdkDictionaryService, growlService: GrowlBrokerService, pageUploadLimitService: PageUploadLimitService);
24
- get addedFiles(): DocumentReference[];
25
- ngOnInit(): void;
26
- ngOnDestroy(): void;
27
- getTotalFilesSize(): number;
28
- canAddMoreFiles(): boolean;
29
- onFileChange(event: Event): void;
30
- onDrop(event: any): void;
31
- private populateFileItemList;
32
- private displayResultFromServer;
33
- private removeDocumentFromModel;
34
- private displayErrorsFromServer;
35
- private manageSingleFile;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnBoMultiUploadComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnBoMultiUploadComponent, "foehn-bo-multi-upload", never, { "uploadUrl": { "alias": "uploadUrl"; "required": false; }; "deleteUrl": { "alias": "deleteUrl"; "required": false; }; "downloadUrl": { "alias": "downloadUrl"; "required": false; }; "optionalLabelKey": { "alias": "optionalLabelKey"; "required": false; }; }, { "documentDeleted": "documentDeleted"; }, never, ["*"], false, never>;
38
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-bo-multi-upload.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../foehn-icons/foehn-icons.module";
5
- import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
6
- import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "../foehn-upload-progress-bar/foehn-upload-progress-bar.module";
9
- export declare class FoehnBoMultiUploadModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnBoMultiUploadModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnBoMultiUploadModule, [typeof i1.FoehnBoMultiUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.FoehnUploadProgressBarModule], [typeof i1.FoehnBoMultiUploadComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnBoMultiUploadModule>;
13
- }
@@ -1,42 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { FoehnConfirmModalService } from '../../foehn-confirm-modal/foehn-confirm-modal.service';
3
- import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
4
- import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
5
- import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
6
- import { AbstractFoehnUploaderComponent } from '../abstract-foehn-uploader.component';
7
- import { DocumentReference } from '../document-reference';
8
- import { PageUploadLimitService } from '../page-upload-limit.service';
9
- import { MultiUploadService } from './multi-upload.service';
10
- import { PendingUploadService } from './pending-upload.service';
11
- import * as i0 from "@angular/core";
12
- export declare class FoehnMultiUploadComponent extends AbstractFoehnUploaderComponent<DocumentReference[]> implements OnInit, OnDestroy {
13
- protected applicationInfoService: ApplicationInfoService;
14
- protected confirmModalService: FoehnConfirmModalService;
15
- protected dictionaryService: SdkDictionaryService;
16
- protected growlService: GrowlBrokerService;
17
- protected pageUploadLimitService: PageUploadLimitService;
18
- url: string;
19
- reference: string;
20
- multiUploadService: MultiUploadService;
21
- pendingUploadService: PendingUploadService;
22
- private pendingUploadedErrorsSubscription;
23
- constructor(multiUploadService: MultiUploadService, pendingUploadService: PendingUploadService, applicationInfoService: ApplicationInfoService, confirmModalService: FoehnConfirmModalService, dictionaryService: SdkDictionaryService, growlService: GrowlBrokerService, pageUploadLimitService: PageUploadLimitService);
24
- get pendingFiles(): File[];
25
- get addedFiles(): File[] | DocumentReference[];
26
- ngOnInit(): void;
27
- ngOnDestroy(): void;
28
- trackByPending(index: number, pending: File): number;
29
- getTotalFilesSize(): number;
30
- canAddMoreFiles(): boolean;
31
- onFileChange(event: Event): void;
32
- onDrop(event: any): void;
33
- protected removeFileOnConfirmation(document: any): void;
34
- private populateFileItemList;
35
- private displayPendingUploadedErrorsFromServerByFormKey;
36
- private displayResultFromServer;
37
- private removeDocumentFromModel;
38
- private displayErrorsFromServer;
39
- private manageSingleFile;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnMultiUploadComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnMultiUploadComponent, "foehn-multi-upload", never, { "url": { "alias": "url"; "required": false; }; "reference": { "alias": "reference"; "required": false; }; }, {}, never, ["*"], false, never>;
42
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-multi-upload.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../foehn-icons/foehn-icons.module";
5
- import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
6
- import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "../foehn-upload-progress-bar/foehn-upload-progress-bar.module";
9
- export declare class FoehnMultiUploadModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnMultiUploadModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnMultiUploadModule, [typeof i1.FoehnMultiUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.FoehnUploadProgressBarModule], [typeof i1.FoehnMultiUploadComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnMultiUploadModule>;
13
- }
@@ -1,29 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
4
- import { GesdemHandlerService } from '../../gesdem/gesdem-handler.service';
5
- import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
6
- import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
7
- import { DocumentReference } from '../document-reference';
8
- import { UploadProgressService } from '../foehn-upload-progress-bar/upload-progress.service';
9
- import { DocumentsWithErrors } from './multi-upload.type';
10
- import * as i0 from "@angular/core";
11
- export declare class MultiUploadService {
12
- private httpClient;
13
- private growlService;
14
- private gesdemHandlerService;
15
- private applicationInfoService;
16
- private dictionaryService;
17
- private uploadProgressService;
18
- private globalSequence;
19
- private uploaderHelper;
20
- private readonly NB_CONCURRENT_FILES_TO_UPLOAD;
21
- constructor(httpClient: HttpClient, growlService: GrowlBrokerService, gesdemHandlerService: GesdemHandlerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService, uploadProgressService: UploadProgressService);
22
- uploadDocuments(baseUrl: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, language: string, shouldDisplayFileSavedConfirmation: boolean): Observable<DocumentsWithErrors>;
23
- deleteDocument(baseUrl: string, document: DocumentReference): Observable<DocumentReference>;
24
- getDownloadUrl(baseUrl: string, document: DocumentReference): string;
25
- private getDocumentsWithErrorsObservable;
26
- private mergeDocumentsWithErrors;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiUploadService, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<MultiUploadService>;
29
- }
@@ -1,11 +0,0 @@
1
- import { DocumentReference } from '../document-reference';
2
- export declare class DocumentError {
3
- key: string;
4
- label: string;
5
- formKey: string;
6
- errorCode: string;
7
- }
8
- export declare class DocumentsWithErrors {
9
- documents: DocumentReference[];
10
- errors: DocumentError[];
11
- }
@@ -1,26 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { GesdemEventService } from '../../gesdem/gesdem-event.service';
3
- import { GesdemHandlerService } from '../../gesdem/gesdem-handler.service';
4
- import { MultiUploadService } from './multi-upload.service';
5
- import { DocumentsWithErrors } from './multi-upload.type';
6
- import * as i0 from "@angular/core";
7
- export declare class PendingUploadService {
8
- private multiUploadService;
9
- private gesdemService;
10
- private gesdemEventService;
11
- private pendingFilesByFormKey;
12
- private attachmentsUploadedSubject;
13
- private pendingUploadedErrorsSubject;
14
- constructor(multiUploadService: MultiUploadService, gesdemService: GesdemHandlerService, gesdemEventService: GesdemEventService);
15
- get attachmentsUploaded(): Observable<any>;
16
- get pendingUploadedErrors(): Observable<DocumentsWithErrors>;
17
- getPendingFiles(formKey: string): File[];
18
- hasPendingFiles(formKey?: string): boolean;
19
- addPendingFiles(baseUrl: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, shouldDisplayFileSavedConfirmation: boolean): void;
20
- removePendingFile(file: File, formKey: string): void;
21
- private uploadPendingFilesAndSaveForm;
22
- private mergePendingUploadedServerResult;
23
- private setNestedValue;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<PendingUploadService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<PendingUploadService>;
26
- }
@@ -1,38 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ImageCroppedEvent } from 'ngx-image-cropper';
3
- import { Subscription } from 'rxjs';
4
- import { FoehnInputComponent } from '../../foehn-input/foehn-input.component';
5
- import { DocumentReference } from '../../foehn-upload/document-reference';
6
- import { MultiUploadService } from '../../foehn-upload/foehn-multi-upload/multi-upload.service';
7
- import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
8
- import * as i0 from "@angular/core";
9
- export declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentReference[]> implements OnInit {
10
- private uploadService;
11
- private dictionaryService;
12
- key: string;
13
- baseUrl: string;
14
- croppedPictureFilename: string;
15
- resizeToWidth: number;
16
- resizeToHeight: number;
17
- shouldDisplayFileSavedConfirmation: boolean;
18
- readonly acceptFormats = ".jpeg,.jpg,.png";
19
- pictureToCrop: Event;
20
- croppedPictureAsBlob: Blob;
21
- loading: boolean;
22
- protected currentLanguageSubscription: Subscription;
23
- protected currentLanguage: string;
24
- constructor(uploadService: MultiUploadService, dictionaryService: SdkDictionaryService);
25
- get hasPicture(): boolean;
26
- ngOnInit(): void;
27
- onPictureSelection(imgEvent: Event): void;
28
- onPictureSelectionFailed(): void;
29
- onImageCropped(croppedEvent: ImageCroppedEvent): void;
30
- resetPictureSelection(): void;
31
- savePicture(): void;
32
- deleteFile(): void;
33
- getDownloadUrl(): string;
34
- refreshErrors(results: any[]): void;
35
- private isValidFileType;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPictureUploadComponent, "foehn-picture-upload", never, { "key": { "alias": "key"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "croppedPictureFilename": { "alias": "croppedPictureFilename"; "required": false; }; "resizeToWidth": { "alias": "resizeToWidth"; "required": false; }; "resizeToHeight": { "alias": "resizeToHeight"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; }, {}, never, ["*"], false, never>;
38
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-picture-upload.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../../foehn-icons/foehn-icons.module";
5
- import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
6
- import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "ngx-image-cropper";
9
- import * as i8 from "../foehn-upload-progress-bar/foehn-upload-progress-bar.module";
10
- export declare class FoehnPictureUploadModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnPictureUploadModule, [typeof i1.FoehnPictureUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.ImageCropperComponent, typeof i8.FoehnUploadProgressBarModule], [typeof i1.FoehnPictureUploadComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnPictureUploadModule>;
14
- }
@@ -1,22 +0,0 @@
1
- import { ElementRef, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { UploadProgressService } from './upload-progress.service';
4
- import { UploadProgress } from './upload-progress.type';
5
- import * as i0 from "@angular/core";
6
- export declare class FoehnUploadProgressBarComponent implements OnDestroy {
7
- private uploadProgressService;
8
- progressBarTriggerHtmlElement: HTMLElement;
9
- progressBarPanel: ElementRef;
10
- showProgress: Observable<boolean>;
11
- analysisProgress: Observable<boolean>;
12
- currentUploadPercentage: Observable<number>;
13
- hasUploadPackages: Observable<boolean>;
14
- uploadPackage: Observable<UploadProgress>;
15
- private readonly progressBarTriggerSubscription;
16
- constructor(uploadProgressService: UploadProgressService);
17
- ngOnDestroy(): void;
18
- private calculateProgressPercentage;
19
- private focusOnContainer;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnUploadProgressBarComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnUploadProgressBarComponent, "foehn-upload-progress-bar", never, { "progressBarTriggerHtmlElement": { "alias": "progressBarTriggerHtmlElement"; "required": false; }; }, {}, never, never, false, never>;
22
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./foehn-upload-progress-bar.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/cdk/a11y";
5
- import * as i4 from "../../pipes/pipes.module";
6
- import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
- export declare class FoehnUploadProgressBarModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FoehnUploadProgressBarModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnUploadProgressBarModule, [typeof i1.FoehnUploadProgressBarComponent], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PipeModule, typeof i5.SdkDictionaryModule], [typeof i1.FoehnUploadProgressBarComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<FoehnUploadProgressBarModule>;
11
- }
@@ -1,19 +0,0 @@
1
- import { HttpEvent } from '@angular/common/http';
2
- import { BehaviorSubject, Observable } from 'rxjs';
3
- import { DocumentsWithErrors } from '../foehn-multi-upload/multi-upload.type';
4
- import { UploadProgress } from './upload-progress.type';
5
- import * as i0 from "@angular/core";
6
- export declare class UploadProgressService {
7
- private _uploadProgressSubject;
8
- private _analysisProgressSubject;
9
- private _showProgress;
10
- get uploadProgress(): BehaviorSubject<UploadProgress>;
11
- get uploadProgressSubject(): Observable<UploadProgress>;
12
- get analysisProgress(): BehaviorSubject<boolean>;
13
- get analysisProgressSubject(): Observable<boolean>;
14
- get showProgress(): BehaviorSubject<boolean>;
15
- get showProgressSubject(): Observable<boolean>;
16
- manageUploadEventFilter(event: HttpEvent<DocumentsWithErrors>, packageIndex?: number, nbPackages?: number): boolean;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadProgressService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<UploadProgressService>;
19
- }
@@ -1,6 +0,0 @@
1
- export declare class UploadProgress {
2
- loaded: number;
3
- total: number;
4
- packageIndex?: number;
5
- nbPackages?: number;
6
- }
@@ -1,22 +0,0 @@
1
- import { GrowlBrokerService } from '../foehn-growl/growl-broker.service';
2
- import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
3
- import { AbstractFoehnUploaderComponent } from './abstract-foehn-uploader.component';
4
- import { DocumentReference } from './document-reference';
5
- import * as i0 from "@angular/core";
6
- export declare class PageUploadLimitService {
7
- private dictionaryService;
8
- private growlService;
9
- private pageMaxFilesCount;
10
- private pageMaxFilesSizeInMo;
11
- private registeredUploaders;
12
- constructor(dictionaryService: SdkDictionaryService, growlService: GrowlBrokerService);
13
- setPageMaxFilesCount(countLimit: number): void;
14
- setPageMaxFilesSizeInMo(maxSizeInMo: number): void;
15
- registerUploader(uploader: AbstractFoehnUploaderComponent<unknown>): void;
16
- unregisterUploader(uploader: AbstractFoehnUploaderComponent<DocumentReference[]>): void;
17
- canUploadMoreFiles(filesToUpload: File[]): boolean;
18
- private willTotalCountExceedLimit;
19
- private willTotalSizeExceedLimit;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<PageUploadLimitService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<PageUploadLimitService>;
22
- }
@@ -1,9 +0,0 @@
1
- export declare class PendingFiles {
2
- url: string;
3
- formKey: string;
4
- label: string;
5
- files: File[];
6
- key: string;
7
- isMultiple: boolean;
8
- shouldDisplayFileSavedConfirmation: boolean;
9
- }