@quadrel-enterprise-ui/framework 1.0.0 → 18.19.2

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 (1596) hide show
  1. package/esm2022/global-vars.json +18 -0
  2. package/esm2022/lib/button/__mocks__/mock-button-grid.component.mjs +14 -0
  3. package/esm2022/lib/button/__mocks__/mock-button-stack-button.component.mjs +21 -0
  4. package/esm2022/lib/button/__mocks__/mock-button-stack.component.mjs +14 -0
  5. package/esm2022/lib/button/__mocks__/mock-button.component.mjs +30 -0
  6. package/esm2022/lib/button/__mocks__/mock-button.directives.mjs +19 -0
  7. package/esm2022/lib/button/__mocks__/mock-button.module.mjs +52 -0
  8. package/esm2022/lib/button/__mocks__/mock-icon-button.component.mjs +17 -0
  9. package/esm2022/lib/button/button/additional-info/button-additional-info.component.mjs +48 -0
  10. package/esm2022/lib/button/button/button.component.mjs +98 -0
  11. package/esm2022/lib/button/button-grid/button-grid.component.mjs +16 -0
  12. package/esm2022/lib/button/button-stack/button-stack-button/button-stack-button.component.mjs +46 -0
  13. package/esm2022/lib/button/button-stack/button-stack-container/button-stack.component.mjs +39 -0
  14. package/esm2022/lib/button/button.module.mjs +89 -0
  15. package/esm2022/lib/button/directives/button.directives.mjs +40 -0
  16. package/esm2022/lib/button/icon-button/icon-button.component.mjs +51 -0
  17. package/esm2022/lib/button/menu-button/menu-button.component.mjs +95 -0
  18. package/esm2022/lib/button/model/button-config.mjs +2 -0
  19. package/esm2022/lib/button/model/button.types.mjs +2 -0
  20. package/esm2022/lib/chips/__mocks__/mock-chip.component.mjs +42 -0
  21. package/esm2022/lib/chips/__mocks__/mock-chips.module.mjs +19 -0
  22. package/esm2022/lib/chips/chip/chip.component.mjs +79 -0
  23. package/esm2022/lib/chips/chips.module.mjs +20 -0
  24. package/esm2022/lib/chips/interfaces/chip.interface.mjs +2 -0
  25. package/esm2022/lib/comments/add-comment/add-comment-dialog.component.mjs +138 -0
  26. package/esm2022/lib/comments/comments.component.mjs +73 -0
  27. package/esm2022/lib/comments/comments.module.mjs +60 -0
  28. package/esm2022/lib/comments/menu/comment-menu.component.mjs +19 -0
  29. package/esm2022/lib/comments/model/comments.interface.mjs +2 -0
  30. package/esm2022/lib/comments/pipes/stripe-html.pipe.mjs +18 -0
  31. package/esm2022/lib/contact-card/__mocks__/mock-contact-card.component.mjs +19 -0
  32. package/esm2022/lib/contact-card/__mocks__/mock-contact-card.module.mjs +19 -0
  33. package/esm2022/lib/contact-card/contact-card.component.mjs +285 -0
  34. package/esm2022/lib/contact-card/contact-card.module.mjs +25 -0
  35. package/esm2022/lib/contact-card/menu/contact-card-menu.component.mjs +80 -0
  36. package/esm2022/lib/contact-card/model/contact-card-actions-config.interface.mjs +2 -0
  37. package/esm2022/lib/contact-card/model/contact-data.interface.mjs +2 -0
  38. package/esm2022/lib/container/__mocks__/mock-action-footer.component.mjs +14 -0
  39. package/esm2022/lib/container/__mocks__/mock-container-create-content.component.mjs +22 -0
  40. package/esm2022/lib/container/__mocks__/mock-container-create-default.component.mjs +18 -0
  41. package/esm2022/lib/container/__mocks__/mock-container-section.component.mjs +18 -0
  42. package/esm2022/lib/container/__mocks__/mock-container-toolbar-action.component.mjs +41 -0
  43. package/esm2022/lib/container/__mocks__/mock-container-toolbar-filter.component.mjs +14 -0
  44. package/esm2022/lib/container/__mocks__/mock-container-toolbar-title.component.mjs +14 -0
  45. package/esm2022/lib/container/__mocks__/mock-container-toolbar.component.mjs +17 -0
  46. package/esm2022/lib/container/__mocks__/mock-container.component.mjs +40 -0
  47. package/esm2022/lib/container/__mocks__/mock-container.module.mjs +85 -0
  48. package/esm2022/lib/container/__mocks__/mock-create-delete-alert.component.mjs +20 -0
  49. package/esm2022/lib/container/__mocks__/mock-form-group.component.mjs +39 -0
  50. package/esm2022/lib/container/container.component.mjs +217 -0
  51. package/esm2022/lib/container/container.module.mjs +64 -0
  52. package/esm2022/lib/container/model/container-type.mjs +2 -0
  53. package/esm2022/lib/container/model/toolbar.interface.mjs +2 -0
  54. package/esm2022/lib/container/section/container-section.component.mjs +41 -0
  55. package/esm2022/lib/container/section/header/container-section-header.component.mjs +16 -0
  56. package/esm2022/lib/container/section/info/container-section-info.component.mjs +14 -0
  57. package/esm2022/lib/container/services/container-action.service.mjs +19 -0
  58. package/esm2022/lib/container/services/container-layout.service.mjs +33 -0
  59. package/esm2022/lib/container/toolbar/action/container-toolbar-action.component.mjs +107 -0
  60. package/esm2022/lib/container/toolbar/container-toolbar.component.mjs +76 -0
  61. package/esm2022/lib/container/toolbar/filter/container-toolbar-filter.component.mjs +17 -0
  62. package/esm2022/lib/container/toolbar/title/container-toolbar-title.component.mjs +16 -0
  63. package/esm2022/lib/content-grid/__mocks__/mock-content-grid-column.mjs +14 -0
  64. package/esm2022/lib/content-grid/__mocks__/mock-content-grid-row.mjs +14 -0
  65. package/esm2022/lib/content-grid/__mocks__/mock-content-grid.mjs +14 -0
  66. package/esm2022/lib/content-grid/__mocks__/mock-content-grid.module.mjs +19 -0
  67. package/esm2022/lib/content-grid/content-grid/content-grid.component.mjs +31 -0
  68. package/esm2022/lib/content-grid/content-grid-column/content-grid-column.component.mjs +17 -0
  69. package/esm2022/lib/content-grid/content-grid-row/content-grid-row.component.mjs +18 -0
  70. package/esm2022/lib/content-grid/content-grid.module.mjs +21 -0
  71. package/esm2022/lib/core/__mocks__/mock-breakpoint.service.mjs +8 -0
  72. package/esm2022/lib/core/__mocks__/mock-core.module.mjs +42 -0
  73. package/esm2022/lib/core/__mocks__/mock-disabled.directive.mjs +14 -0
  74. package/esm2022/lib/core/__mocks__/mock-popover-on-click.directive.mjs +107 -0
  75. package/esm2022/lib/core/__mocks__/mock-rwd-disabled.directive.mjs +14 -0
  76. package/esm2022/lib/core/__mocks__/mock-translate.pipe.mjs +14 -0
  77. package/esm2022/lib/core/__mocks__/mock-visually-hidden.directive.mjs +14 -0
  78. package/esm2022/lib/core/autofocus/autofocus.directive.mjs +42 -0
  79. package/esm2022/lib/core/autofocus/autofocus.module.mjs +18 -0
  80. package/esm2022/lib/core/autofocus/autofocus.service.mjs +20 -0
  81. package/esm2022/lib/core/breadcrumbs/breadcrumbs.component.mjs +154 -0
  82. package/esm2022/lib/core/breadcrumbs/breadcrumbs.module.mjs +21 -0
  83. package/esm2022/lib/core/breadcrumbs/model/breadcrumbs.interface.mjs +2 -0
  84. package/esm2022/lib/core/breadcrumbs/services/breadcrumbs.service.mjs +61 -0
  85. package/esm2022/lib/core/breadcrumbs/services/dialog-breadcrumbs.service.mjs +15 -0
  86. package/esm2022/lib/core/core.module.mjs +54 -0
  87. package/esm2022/lib/core/data-facets/blank/data-facets-blank.component.mjs +34 -0
  88. package/esm2022/lib/core/data-facets/boolean/data-facets-boolean.component.mjs +23 -0
  89. package/esm2022/lib/core/data-facets/chip/data-facets-chip.component.mjs +63 -0
  90. package/esm2022/lib/core/data-facets/chip/data-facets-chip.interfaces.mjs +2 -0
  91. package/esm2022/lib/core/data-facets/chip/truncated-indicator/data-facets-chip-truncated-indicator.component.mjs +98 -0
  92. package/esm2022/lib/core/data-facets/chip/truncated-tooltip/data-facets-chip-truncated-tooltip.component.mjs +139 -0
  93. package/esm2022/lib/core/data-facets/currency/data-facets-currency.component.mjs +71 -0
  94. package/esm2022/lib/core/data-facets/currency/data-facets-currency.interfaces.mjs +2 -0
  95. package/esm2022/lib/core/data-facets/data-facets-context.service.mjs +17 -0
  96. package/esm2022/lib/core/data-facets/data-facets.model.mjs +34 -0
  97. package/esm2022/lib/core/data-facets/data-facets.module.mjs +62 -0
  98. package/esm2022/lib/core/data-facets/date/data-facets-date.component.mjs +98 -0
  99. package/esm2022/lib/core/data-facets/date/data-facets-date.interfaces.mjs +2 -0
  100. package/esm2022/lib/core/data-facets/icon/data-facets-icon.component.mjs +24 -0
  101. package/esm2022/lib/core/data-facets/integer/data-facets-integer.component.mjs +22 -0
  102. package/esm2022/lib/core/data-facets/link/data-facets-link.component.mjs +70 -0
  103. package/esm2022/lib/core/data-facets/link/data-facets-link.interfaces.mjs +2 -0
  104. package/esm2022/lib/core/data-facets/progress/data-facets-progress.component.mjs +34 -0
  105. package/esm2022/lib/core/data-facets/status/data-facets-status.component.mjs +24 -0
  106. package/esm2022/lib/core/data-facets/status/data-facets-status.interfaces.mjs +2 -0
  107. package/esm2022/lib/core/data-facets/text/data-facets-text.component.mjs +49 -0
  108. package/esm2022/lib/core/data-facets/text/data-facets-text.interfaces.mjs +2 -0
  109. package/esm2022/lib/core/disabled/disabled.directive.mjs +14 -0
  110. package/esm2022/lib/core/focusable/focusable.directive.mjs +27 -0
  111. package/esm2022/lib/core/focusable/focusable.mjs +2 -0
  112. package/esm2022/lib/core/focusable/focusable.module.mjs +16 -0
  113. package/esm2022/lib/core/focusable/focusable.token.mjs +6 -0
  114. package/esm2022/lib/core/model/app-enviroment.interface.mjs +2 -0
  115. package/esm2022/lib/core/model/app-enviroment.token.mjs +3 -0
  116. package/esm2022/lib/core/model/breakpoint.interface.mjs +3 -0
  117. package/esm2022/lib/core/model/translation.interface.mjs +2 -0
  118. package/esm2022/lib/core/pipes/file-size.pipe.mjs +41 -0
  119. package/esm2022/lib/core/pipes/placeholder.pipe.mjs +17 -0
  120. package/esm2022/lib/core/pipes/placeholders.pipe.mjs +20 -0
  121. package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +20 -0
  122. package/esm2022/lib/core/popover/popover/popover.component.mjs +52 -0
  123. package/esm2022/lib/core/popover/popover-on-click/popover-on-click.directive.mjs +261 -0
  124. package/esm2022/lib/core/popover/popover-on-hover/popover-on-hover.directive.mjs +91 -0
  125. package/esm2022/lib/core/popover/popover-parent.service.mjs +11 -0
  126. package/esm2022/lib/core/popover/popover-sizing.service.mjs +163 -0
  127. package/esm2022/lib/core/popover/popover-top-first.token.mjs +3 -0
  128. package/esm2022/lib/core/popover/popover.module.mjs +22 -0
  129. package/esm2022/lib/core/popover/popover.service.mjs +18 -0
  130. package/esm2022/lib/core/projection-guard/projection-guard.component.mjs +33 -0
  131. package/esm2022/lib/core/rwd-disabled/rwd-disabled.directive.mjs +14 -0
  132. package/esm2022/lib/core/rxjs/delay-and-hold.operator.mjs +52 -0
  133. package/esm2022/lib/core/services/breakpoint.service.mjs +34 -0
  134. package/esm2022/lib/core/services/element.service.mjs +16 -0
  135. package/esm2022/lib/core/services/event-broker.service.mjs +76 -0
  136. package/esm2022/lib/core/services/push-events.service.mjs +153 -0
  137. package/esm2022/lib/core/services/scrolling.service.mjs +47 -0
  138. package/esm2022/lib/core/services/translate.service.mjs +48 -0
  139. package/esm2022/lib/core/tools/constantCase.tools.mjs +3 -0
  140. package/esm2022/lib/core/tools/convertPxToRem.tools.mjs +3 -0
  141. package/esm2022/lib/core/tooltip/model/tooltip-content.interface.mjs +2 -0
  142. package/esm2022/lib/core/tooltip/tooltip/tooltip.component.mjs +15 -0
  143. package/esm2022/lib/core/tooltip/tooltip-at-intersection/tooltip-at-intersection.directive.mjs +115 -0
  144. package/esm2022/lib/core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive.mjs +101 -0
  145. package/esm2022/lib/core/tooltip/tooltip.module.mjs +21 -0
  146. package/esm2022/lib/core/types/utility.types.mjs +2 -0
  147. package/esm2022/lib/core/visually-hidden/visually-hidden.directive.mjs +14 -0
  148. package/esm2022/lib/dialog/action/dialog-action.component.mjs +11 -0
  149. package/esm2022/lib/dialog/auth-session-end/dialog-auth-session-end.component.mjs +33 -0
  150. package/esm2022/lib/dialog/confirmation/dialog-confirmation.component.mjs +227 -0
  151. package/esm2022/lib/dialog/dialog.component.mjs +100 -0
  152. package/esm2022/lib/dialog/dialog.module.mjs +106 -0
  153. package/esm2022/lib/dialog/models/confirmation.model.mjs +6 -0
  154. package/esm2022/lib/dialog/models/dialog-config.model.mjs +10 -0
  155. package/esm2022/lib/dialog/models/record-stepper.model.mjs +2 -0
  156. package/esm2022/lib/dialog/models/session-end-result.model.mjs +2 -0
  157. package/esm2022/lib/dialog/page-dialog-with-breadcrumbs/page-dialog-with-breadcrumbs.component.mjs +14 -0
  158. package/esm2022/lib/dialog/record-stepper/dialog-record-stepper.component.mjs +80 -0
  159. package/esm2022/lib/dialog/services/dialog-auth-session-end.service.mjs +38 -0
  160. package/esm2022/lib/dialog/services/dialog.service.mjs +128 -0
  161. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-error.component.mjs +19 -0
  162. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item-progress.component.mjs +21 -0
  163. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-dialog-item.component.mjs +25 -0
  164. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-name.component.mjs +18 -0
  165. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-size.component.mjs +18 -0
  166. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item-tools.component.mjs +34 -0
  167. package/esm2022/lib/file-collector/__mocks__/mock-file-collector-item.component.mjs +40 -0
  168. package/esm2022/lib/file-collector/__mocks__/mock-file-collector.component.mjs +14 -0
  169. package/esm2022/lib/file-collector/__mocks__/mock-file-collector.module.mjs +42 -0
  170. package/esm2022/lib/file-collector/allowed-files-description/file-collector-allowed-files-description.component.mjs +34 -0
  171. package/esm2022/lib/file-collector/dialog/file-collector-dialog.component.mjs +47 -0
  172. package/esm2022/lib/file-collector/dialog/item/error/file-collector-dialog-item-error.component.mjs +39 -0
  173. package/esm2022/lib/file-collector/dialog/item/file-collector-dialog-item.component.mjs +41 -0
  174. package/esm2022/lib/file-collector/dialog/item/progress/file-collector-dialog-item-progress.component.mjs +64 -0
  175. package/esm2022/lib/file-collector/file-collector.component.mjs +256 -0
  176. package/esm2022/lib/file-collector/file-collector.module.mjs +95 -0
  177. package/esm2022/lib/file-collector/file-delete-dialog/file-delete-dialog.component.mjs +35 -0
  178. package/esm2022/lib/file-collector/item/file-collector-item.component.mjs +44 -0
  179. package/esm2022/lib/file-collector/item/name/file-collector-item-name.component.mjs +15 -0
  180. package/esm2022/lib/file-collector/item/size/file-collector-item-size.component.mjs +17 -0
  181. package/esm2022/lib/file-collector/item/tools/file-collector-item-tools.component.mjs +79 -0
  182. package/esm2022/lib/file-collector/item/upload-timestamp/upload-timestamp.component.mjs +16 -0
  183. package/esm2022/lib/file-collector/models/collected-file.mjs +2 -0
  184. package/esm2022/lib/file-collector/models/file-collector-config.mjs +2 -0
  185. package/esm2022/lib/file-collector/models/file-manager-token.mjs +3 -0
  186. package/esm2022/lib/file-collector/models/file-manager.mjs +2 -0
  187. package/esm2022/lib/file-collector/models/file-type.mjs +2 -0
  188. package/esm2022/lib/file-collector/models/file-upload.mjs +9 -0
  189. package/esm2022/lib/file-collector/models/upload-progress.mjs +12 -0
  190. package/esm2022/lib/file-collector/pipes/filesize.pipe.mjs +40 -0
  191. package/esm2022/lib/file-collector/pipes/upload-timestamp.pipe.mjs +26 -0
  192. package/esm2022/lib/file-collector/services/file-collector-validation.service.mjs +36 -0
  193. package/esm2022/lib/file-collector/services/file-collector.service.mjs +86 -0
  194. package/esm2022/lib/file-collector/services/file-type.service.mjs +119 -0
  195. package/esm2022/lib/filter/__mocks__/mock-filter-category-boolean.mjs +31 -0
  196. package/esm2022/lib/filter/__mocks__/mock-filter-category-date-range.mjs +35 -0
  197. package/esm2022/lib/filter/__mocks__/mock-filter-category-date.mjs +35 -0
  198. package/esm2022/lib/filter/__mocks__/mock-filter-category-free-text.mjs +34 -0
  199. package/esm2022/lib/filter/__mocks__/mock-filter-category-select.mjs +31 -0
  200. package/esm2022/lib/filter/__mocks__/mock-filter-category.mjs +35 -0
  201. package/esm2022/lib/filter/__mocks__/mock-filter-item-boolean.mjs +37 -0
  202. package/esm2022/lib/filter/__mocks__/mock-filter-item-date-range.mjs +38 -0
  203. package/esm2022/lib/filter/__mocks__/mock-filter-item-date.mjs +38 -0
  204. package/esm2022/lib/filter/__mocks__/mock-filter-item-free-text.mjs +37 -0
  205. package/esm2022/lib/filter/__mocks__/mock-filter-item-multi-select.mjs +34 -0
  206. package/esm2022/lib/filter/__mocks__/mock-filter-item-single-select.mjs +34 -0
  207. package/esm2022/lib/filter/__mocks__/mock-filter.mjs +32 -0
  208. package/esm2022/lib/filter/__mocks__/mock-filter.module.mjs +89 -0
  209. package/esm2022/lib/filter/__mocks__/mock-filter.service.mjs +87 -0
  210. package/esm2022/lib/filter/__mocks__/mock-localeDate.pipe.mjs +15 -0
  211. package/esm2022/lib/filter/category/boolean/filter-category-boolean.component.mjs +36 -0
  212. package/esm2022/lib/filter/category/date/filter-category-date.component.mjs +62 -0
  213. package/esm2022/lib/filter/category/date-range/filter-category-date-range.component.mjs +75 -0
  214. package/esm2022/lib/filter/category/filter-category.component.mjs +110 -0
  215. package/esm2022/lib/filter/category/free-text/filter-category-free-text.component.mjs +61 -0
  216. package/esm2022/lib/filter/category/select/filter-category-select.component.mjs +129 -0
  217. package/esm2022/lib/filter/filter-service/filter.service.mjs +206 -0
  218. package/esm2022/lib/filter/filter.component.mjs +308 -0
  219. package/esm2022/lib/filter/filter.module.mjs +101 -0
  220. package/esm2022/lib/filter/helpers/filter-active-items.helper.mjs +26 -0
  221. package/esm2022/lib/filter/helpers/filter-active.helper.mjs +6 -0
  222. package/esm2022/lib/filter/helpers/filter-get.helper.mjs +18 -0
  223. package/esm2022/lib/filter/helpers/filter-postbody.helper.mjs +6 -0
  224. package/esm2022/lib/filter/helpers/filter-query-parser.helper.mjs +27 -0
  225. package/esm2022/lib/filter/helpers/filter-query.helper.mjs +39 -0
  226. package/esm2022/lib/filter/helpers/filter-selection-validator.helper.mjs +33 -0
  227. package/esm2022/lib/filter/helpers/filter-state.helpers.mjs +88 -0
  228. package/esm2022/lib/filter/helpers/filter-update.helper.mjs +84 -0
  229. package/esm2022/lib/filter/item/boolean/filter-item-boolean.component.mjs +62 -0
  230. package/esm2022/lib/filter/item/date/filter-item-date.component.mjs +68 -0
  231. package/esm2022/lib/filter/item/date-range/filter-item-date-range.component.mjs +107 -0
  232. package/esm2022/lib/filter/item/free-text/filter-item-free-text.component.mjs +82 -0
  233. package/esm2022/lib/filter/item/multi-select/filter-item-multi-select.component.mjs +62 -0
  234. package/esm2022/lib/filter/item/single-select/filter-item-single-select.component.mjs +72 -0
  235. package/esm2022/lib/filter/model/filter-config.interface.mjs +2 -0
  236. package/esm2022/lib/filter/model/filter-post-body.interface.mjs +2 -0
  237. package/esm2022/lib/filter/model/filter-reducer.interface.mjs +2 -0
  238. package/esm2022/lib/filter/model/filter-state.interface.mjs +2 -0
  239. package/esm2022/lib/filter/model/filter-types.interface.mjs +2 -0
  240. package/esm2022/lib/filter/pipes/localeDate.pipe.mjs +54 -0
  241. package/esm2022/lib/filter/services/dependent-filters.service.mjs +61 -0
  242. package/esm2022/lib/filter/services/filter-rest-param.tools.mjs +27 -0
  243. package/esm2022/lib/filter/services/filter-router-connector.service.mjs +111 -0
  244. package/esm2022/lib/filter/store/filter.actions.mjs +25 -0
  245. package/esm2022/lib/filter/store/filter.reducer.mjs +98 -0
  246. package/esm2022/lib/filter/store/filter.selector.mjs +38 -0
  247. package/esm2022/lib/forms/__mocks__/mock-calendar.component.mjs +31 -0
  248. package/esm2022/lib/forms/__mocks__/mock-checkbox-chips-item.component.mjs +23 -0
  249. package/esm2022/lib/forms/__mocks__/mock-checkbox-chips.component.mjs +32 -0
  250. package/esm2022/lib/forms/__mocks__/mock-checkbox.component.mjs +38 -0
  251. package/esm2022/lib/forms/__mocks__/mock-checkboxes.component.mjs +35 -0
  252. package/esm2022/lib/forms/__mocks__/mock-datepicker.component.mjs +34 -0
  253. package/esm2022/lib/forms/__mocks__/mock-dropdown.component.mjs +44 -0
  254. package/esm2022/lib/forms/__mocks__/mock-filter-form-items.component.mjs +27 -0
  255. package/esm2022/lib/forms/__mocks__/mock-form-error.component.mjs +19 -0
  256. package/esm2022/lib/forms/__mocks__/mock-form-group-error.component.mjs +22 -0
  257. package/esm2022/lib/forms/__mocks__/mock-form-hint.component.mjs +31 -0
  258. package/esm2022/lib/forms/__mocks__/mock-form-label.component.mjs +39 -0
  259. package/esm2022/lib/forms/__mocks__/mock-form-readonly.component.mjs +26 -0
  260. package/esm2022/lib/forms/__mocks__/mock-form-viewonly.component.mjs +26 -0
  261. package/esm2022/lib/forms/__mocks__/mock-forms.module.mjs +118 -0
  262. package/esm2022/lib/forms/__mocks__/mock-input.component.mjs +95 -0
  263. package/esm2022/lib/forms/__mocks__/mock-pin-code.component.mjs +76 -0
  264. package/esm2022/lib/forms/__mocks__/mock-radio-buttons.component.mjs +38 -0
  265. package/esm2022/lib/forms/__mocks__/mock-switch.component.mjs +56 -0
  266. package/esm2022/lib/forms/__mocks__/mock-switches.component.mjs +54 -0
  267. package/esm2022/lib/forms/__mocks__/mock-textarea.component.mjs +50 -0
  268. package/esm2022/lib/forms/checkbox-chips/checkbox-chips.component.mjs +250 -0
  269. package/esm2022/lib/forms/checkbox-chips/item/checkbox-chips-item.component.mjs +34 -0
  270. package/esm2022/lib/forms/checkbox-chips/services/checkbox-chips.service.mjs +33 -0
  271. package/esm2022/lib/forms/checkboxes/checkbox/checkbox.component.mjs +93 -0
  272. package/esm2022/lib/forms/checkboxes/checkboxes-service/checkboxes.service.mjs +106 -0
  273. package/esm2022/lib/forms/checkboxes/checkboxes.component.mjs +354 -0
  274. package/esm2022/lib/forms/datepicker/adapter/date-adapter.mjs +116 -0
  275. package/esm2022/lib/forms/datepicker/calendar/calendar.component.mjs +186 -0
  276. package/esm2022/lib/forms/datepicker/datepicker.component.mjs +490 -0
  277. package/esm2022/lib/forms/datepicker/service/timepicker.service.mjs +68 -0
  278. package/esm2022/lib/forms/dropdown/dropdown.component.mjs +491 -0
  279. package/esm2022/lib/forms/dropdown/options/dropdown-options.component.mjs +90 -0
  280. package/esm2022/lib/forms/file-upload/file-upload.component.mjs +333 -0
  281. package/esm2022/lib/forms/file-upload/model/file-upload.model.mjs +46 -0
  282. package/esm2022/lib/forms/file-upload/services/file-upload.service.mjs +61 -0
  283. package/esm2022/lib/forms/forms/forms.component.mjs +16 -0
  284. package/esm2022/lib/forms/input/helpers/get-value-with-unit.mjs +22 -0
  285. package/esm2022/lib/forms/input/input.component.mjs +601 -0
  286. package/esm2022/lib/forms/input/options/input-options.component.mjs +64 -0
  287. package/esm2022/lib/forms/input/options/input-options.directive.mjs +281 -0
  288. package/esm2022/lib/forms/input/units/input-units.component.mjs +62 -0
  289. package/esm2022/lib/forms/model/datepicker.mjs +7 -0
  290. package/esm2022/lib/forms/model/form-options-resolver.mjs +22 -0
  291. package/esm2022/lib/forms/model/forms.interface.mjs +2 -0
  292. package/esm2022/lib/forms/model/options.interface.mjs +2 -0
  293. package/esm2022/lib/forms/model/radio-buttons.mjs +2 -0
  294. package/esm2022/lib/forms/multi-input/interfaces/multi-input-chip.interface.mjs +2 -0
  295. package/esm2022/lib/forms/multi-input/multi-input-chip/multi-input-chip.component.mjs +95 -0
  296. package/esm2022/lib/forms/multi-input/multi-input-menu/multi-input-menu.component.mjs +83 -0
  297. package/esm2022/lib/forms/multi-input/multi-input-service/multi-input.service.mjs +102 -0
  298. package/esm2022/lib/forms/multi-input/multi-input.component.mjs +540 -0
  299. package/esm2022/lib/forms/pin-code/pin-code-service/pin-code.service.mjs +90 -0
  300. package/esm2022/lib/forms/pin-code/pin-code.component.mjs +454 -0
  301. package/esm2022/lib/forms/qd-form.module.mjs +189 -0
  302. package/esm2022/lib/forms/radio-buttons/radio-buttons-service/radio-buttons.service.mjs +45 -0
  303. package/esm2022/lib/forms/radio-buttons/radio-buttons.component.mjs +326 -0
  304. package/esm2022/lib/forms/reactive-forms/controls/form-array-factory.service.mjs +72 -0
  305. package/esm2022/lib/forms/reactive-forms/controls/form-array.mjs +320 -0
  306. package/esm2022/lib/forms/reactive-forms/controls/form-builder.mjs +126 -0
  307. package/esm2022/lib/forms/reactive-forms/controls/form-control.mjs +61 -0
  308. package/esm2022/lib/forms/reactive-forms/controls/form-group.mjs +4 -0
  309. package/esm2022/lib/forms/richtext/richtext.component.mjs +214 -0
  310. package/esm2022/lib/forms/shared/components/filter-form-items/filter-form-items.component.mjs +34 -0
  311. package/esm2022/lib/forms/shared/components/form-error/form-error.component.mjs +48 -0
  312. package/esm2022/lib/forms/shared/components/form-hint/form-hint.component.mjs +40 -0
  313. package/esm2022/lib/forms/shared/components/form-input/form-input.component.mjs +43 -0
  314. package/esm2022/lib/forms/shared/components/form-label/form-label.component.mjs +59 -0
  315. package/esm2022/lib/forms/shared/components/form-readonly/form-readonly.component.mjs +45 -0
  316. package/esm2022/lib/forms/shared/components/form-viewonly/form-viewonly.component.mjs +50 -0
  317. package/esm2022/lib/forms/shared/helpers/forms-options.helpers.mjs +21 -0
  318. package/esm2022/lib/forms/shared/helpers/forms.helpers.mjs +87 -0
  319. package/esm2022/lib/forms/shared/helpers/has-validators.helpers.mjs +10 -0
  320. package/esm2022/lib/forms/shared/services/action-emitter.service.mjs +17 -0
  321. package/esm2022/lib/forms/shared/services/form-keyboard.service.mjs +52 -0
  322. package/esm2022/lib/forms/shared/services/form-options.service.mjs +102 -0
  323. package/esm2022/lib/forms/shared/services/options-resolver.registry.mjs +32 -0
  324. package/esm2022/lib/forms/shared/validators/validators.mjs +247 -0
  325. package/esm2022/lib/forms/switches/switch/switch.component.mjs +102 -0
  326. package/esm2022/lib/forms/switches/switches-service/switches.service.mjs +67 -0
  327. package/esm2022/lib/forms/switches/switches.component.mjs +300 -0
  328. package/esm2022/lib/forms/textarea/textarea.component.mjs +296 -0
  329. package/esm2022/lib/grid/__mocks__/mock-column.directive.mjs +17 -0
  330. package/esm2022/lib/grid/__mocks__/mock-columns.directive.mjs +26 -0
  331. package/esm2022/lib/grid/__mocks__/mock-grid.module.mjs +18 -0
  332. package/esm2022/lib/grid/directives/column-auto-fill.directive.mjs +54 -0
  333. package/esm2022/lib/grid/directives/column-break-before.directive.mjs +55 -0
  334. package/esm2022/lib/grid/directives/column-disable-responsive-colspans.directive.mjs +60 -0
  335. package/esm2022/lib/grid/directives/column-full-grid-width.directive.mjs +56 -0
  336. package/esm2022/lib/grid/directives/column-next-in-same-row.directive.mjs +79 -0
  337. package/esm2022/lib/grid/directives/column.directive.mjs +91 -0
  338. package/esm2022/lib/grid/directives/columns-disable-auto-fill.directive.mjs +55 -0
  339. package/esm2022/lib/grid/directives/columns-disable-responsive-colspans.directive.mjs +56 -0
  340. package/esm2022/lib/grid/directives/columns-max.directive.mjs +67 -0
  341. package/esm2022/lib/grid/directives/columns.directive.mjs +83 -0
  342. package/esm2022/lib/grid/grid.component.mjs +67 -0
  343. package/esm2022/lib/grid/grid.module.mjs +77 -0
  344. package/esm2022/lib/grid/model/grid-config.interface.mjs +2 -0
  345. package/esm2022/lib/grid/model/subgrid-config.interface.mjs +2 -0
  346. package/esm2022/lib/grid/services/grid-auto-fill.service.mjs +165 -0
  347. package/esm2022/lib/grid/services/grid.service.mjs +22 -0
  348. package/esm2022/lib/grid/subgrid/subgrid.component.mjs +77 -0
  349. package/esm2022/lib/helpers/html-plaintext.helper.mjs +11 -0
  350. package/esm2022/lib/helpers/language.helper.mjs +5 -0
  351. package/esm2022/lib/helpers/load-javascript-asset.helper.mjs +10 -0
  352. package/esm2022/lib/helpers/relative-time.helper.mjs +22 -0
  353. package/esm2022/lib/icon/__mocks__/mock-icon.component.mjs +36 -0
  354. package/esm2022/lib/icon/__mocks__/mock-icon.module.mjs +17 -0
  355. package/esm2022/lib/icon/custom-icons/logo.mjs +201 -0
  356. package/esm2022/lib/icon/icon/icon-definitions.mjs +287 -0
  357. package/esm2022/lib/icon/icon/icon.component.mjs +78 -0
  358. package/esm2022/lib/icon/icon.module.mjs +19 -0
  359. package/esm2022/lib/image/__mocks__/mock-image.component.mjs +30 -0
  360. package/esm2022/lib/image/__mocks__/mock-image.module.mjs +17 -0
  361. package/esm2022/lib/image/image/image.component.mjs +83 -0
  362. package/esm2022/lib/image/image.module.mjs +21 -0
  363. package/esm2022/lib/layout/__mocks__/mock-action-bar.component.mjs +37 -0
  364. package/esm2022/lib/layout/__mocks__/mock-active-content-tab.directive.mjs +18 -0
  365. package/esm2022/lib/layout/__mocks__/mock-button-enabled.directive.mjs +21 -0
  366. package/esm2022/lib/layout/__mocks__/mock-layout-container.component.mjs +14 -0
  367. package/esm2022/lib/layout/__mocks__/mock-layout-renderer.component.mjs +37 -0
  368. package/esm2022/lib/layout/__mocks__/mock-layout.module.mjs +97 -0
  369. package/esm2022/lib/layout/__mocks__/mock-page-process-header-title.component.mjs +14 -0
  370. package/esm2022/lib/layout/__mocks__/mock-page-process-header.component.mjs +66 -0
  371. package/esm2022/lib/layout/__mocks__/mock-page-title.component.mjs +16 -0
  372. package/esm2022/lib/layout/__mocks__/mock-panel-title.component.mjs +18 -0
  373. package/esm2022/lib/layout/__mocks__/mock-panel.component.mjs +24 -0
  374. package/esm2022/lib/layout/__mocks__/mock-truncated-text.directive.mjs +43 -0
  375. package/esm2022/lib/layout/action-bar/action-bar.component.mjs +78 -0
  376. package/esm2022/lib/layout/action-bar/button-enabled.directive.mjs +63 -0
  377. package/esm2022/lib/layout/container/container.component.mjs +153 -0
  378. package/esm2022/lib/layout/content/page-process-header/page-process-header/page-process-header.component.mjs +181 -0
  379. package/esm2022/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.mjs +17 -0
  380. package/esm2022/lib/layout/content/page-title/page-title.component.mjs +37 -0
  381. package/esm2022/lib/layout/directives/active-content-tab.directive.mjs +55 -0
  382. package/esm2022/lib/layout/directives/calculate-full-height.directive.mjs +57 -0
  383. package/esm2022/lib/layout/directives/viewport-adaptive.directive.mjs +25 -0
  384. package/esm2022/lib/layout/force-line-break/force-line-break.directive.mjs +17 -0
  385. package/esm2022/lib/layout/interfaces/process-list.mjs +2 -0
  386. package/esm2022/lib/layout/layout-renderer/layout-renderer.component.mjs +79 -0
  387. package/esm2022/lib/layout/layout.module.mjs +175 -0
  388. package/esm2022/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.mjs +157 -0
  389. package/esm2022/lib/layout/panel/container/panel.component.mjs +80 -0
  390. package/esm2022/lib/layout/panel/title/panel-title.component.mjs +50 -0
  391. package/esm2022/lib/layout/panel/types/panel-types.mjs +2 -0
  392. package/esm2022/lib/layout/service/layout.service.mjs +42 -0
  393. package/esm2022/lib/layout/service/panel.service.mjs +43 -0
  394. package/esm2022/lib/lists/__mocks__/mock-container-pairs-caption.component.mjs +14 -0
  395. package/esm2022/lib/lists/__mocks__/mock-container-pairs-container.component.mjs +14 -0
  396. package/esm2022/lib/lists/__mocks__/mock-container-pairs-header.component.mjs +14 -0
  397. package/esm2022/lib/lists/__mocks__/mock-container-pairs-item.component.mjs +14 -0
  398. package/esm2022/lib/lists/__mocks__/mock-container-pairs-value.component.mjs +14 -0
  399. package/esm2022/lib/lists/__mocks__/mock-list.module.mjs +86 -0
  400. package/esm2022/lib/lists/__mocks__/mock-status-error.component.mjs +14 -0
  401. package/esm2022/lib/lists/__mocks__/mock-status-pairs-caption.component.mjs +14 -0
  402. package/esm2022/lib/lists/__mocks__/mock-status-pairs-item.component.mjs +14 -0
  403. package/esm2022/lib/lists/__mocks__/mock-status-pairs-value.component.mjs +14 -0
  404. package/esm2022/lib/lists/__mocks__/mock-status-pairs.component.mjs +14 -0
  405. package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-caption.component.mjs +18 -0
  406. package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-item.component.mjs +14 -0
  407. package/esm2022/lib/lists/__mocks__/mock-vertical-pairs-value.component.mjs +18 -0
  408. package/esm2022/lib/lists/__mocks__/mock-vertical-pairs.component.mjs +14 -0
  409. package/esm2022/lib/lists/list.module.mjs +111 -0
  410. package/esm2022/lib/lists/model/list.interface.mjs +2 -0
  411. package/esm2022/lib/lists/pairs/container-pairs/container-pairs-caption/container-pairs-caption.component.mjs +16 -0
  412. package/esm2022/lib/lists/pairs/container-pairs/container-pairs-container/container-pairs-container.component.mjs +30 -0
  413. package/esm2022/lib/lists/pairs/container-pairs/container-pairs-header/container-pairs-header.component.mjs +16 -0
  414. package/esm2022/lib/lists/pairs/container-pairs/container-pairs-item/container-pairs-item.component.mjs +17 -0
  415. package/esm2022/lib/lists/pairs/container-pairs/container-pairs-value/container-pairs-value.component.mjs +16 -0
  416. package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-caption/horizontal-pairs-caption.component.mjs +16 -0
  417. package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.mjs +41 -0
  418. package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-item/horizontal-pairs-item.component.mjs +17 -0
  419. package/esm2022/lib/lists/pairs/horizontal-pairs/horizontal-pairs-value/horizontal-pairs-value.component.mjs +16 -0
  420. package/esm2022/lib/lists/pairs/status-pairs/status-pairs-caption/status-pairs-caption.component.mjs +16 -0
  421. package/esm2022/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.mjs +65 -0
  422. package/esm2022/lib/lists/pairs/status-pairs/status-pairs-error/status-pairs-error.component.mjs +29 -0
  423. package/esm2022/lib/lists/pairs/status-pairs/status-pairs-item/status-pairs-item.component.mjs +29 -0
  424. package/esm2022/lib/lists/pairs/status-pairs/status-pairs-value/status-pairs-value.component.mjs +16 -0
  425. package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.mjs +16 -0
  426. package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.mjs +41 -0
  427. package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.mjs +27 -0
  428. package/esm2022/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.mjs +16 -0
  429. package/esm2022/lib/master-layout/__mocks__/mock-header-widget.component.mjs +45 -0
  430. package/esm2022/lib/master-layout/__mocks__/mock-master-layout-banner.component.mjs +14 -0
  431. package/esm2022/lib/master-layout/__mocks__/mock-master-layout-footer.component.mjs +14 -0
  432. package/esm2022/lib/master-layout/__mocks__/mock-master-layout-header.component.mjs +43 -0
  433. package/esm2022/lib/master-layout/__mocks__/mock-master-layout.component.mjs +27 -0
  434. package/esm2022/lib/master-layout/__mocks__/mock-master-layout.module.mjs +43 -0
  435. package/esm2022/lib/master-layout/header-widget/header-widget.component.mjs +164 -0
  436. package/esm2022/lib/master-layout/master-layout/master-layout.component.mjs +132 -0
  437. package/esm2022/lib/master-layout/master-layout-banner/master-layout-banner.component.mjs +47 -0
  438. package/esm2022/lib/master-layout/master-layout-footer/master-layout-footer.component.mjs +20 -0
  439. package/esm2022/lib/master-layout/master-layout-header/master-layout-header.component.mjs +98 -0
  440. package/esm2022/lib/master-layout/master-layout.module.mjs +82 -0
  441. package/esm2022/lib/master-layout/model/page-level.mjs +7 -0
  442. package/esm2022/lib/master-layout/model/service-navigation.mjs +2 -0
  443. package/esm2022/lib/master-layout/service/language-from-url.service.mjs +63 -0
  444. package/esm2022/lib/master-layout/service/master-layout.service.mjs +43 -0
  445. package/esm2022/lib/master-layout/service-navigation/service-navigation.component.mjs +21 -0
  446. package/esm2022/lib/navigation/stepper/__mocks__/mock-step-action.component.mjs +49 -0
  447. package/esm2022/lib/navigation/stepper/__mocks__/mock-step-item.component.mjs +53 -0
  448. package/esm2022/lib/navigation/stepper/__mocks__/mock-step.component.mjs +50 -0
  449. package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.component.mjs +25 -0
  450. package/esm2022/lib/navigation/stepper/__mocks__/mock-stepper.module.mjs +22 -0
  451. package/esm2022/lib/navigation/stepper/interfaces/stepper.mjs +2 -0
  452. package/esm2022/lib/navigation/stepper/step/step.component.mjs +182 -0
  453. package/esm2022/lib/navigation/stepper/step-action/step-action.component.mjs +73 -0
  454. package/esm2022/lib/navigation/stepper/step-item/step-item.component.mjs +108 -0
  455. package/esm2022/lib/navigation/stepper/stepper/stepper.component.mjs +368 -0
  456. package/esm2022/lib/navigation/stepper/stepper.module.mjs +27 -0
  457. package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.mjs +20 -0
  458. package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.mjs +23 -0
  459. package/esm2022/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.mjs +15 -0
  460. package/esm2022/lib/navigation/tab-bar/tab-bar.module.mjs +21 -0
  461. package/esm2022/lib/navigation/tab-bar/tab-link/tab-link.component.mjs +52 -0
  462. package/esm2022/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.mjs +17 -0
  463. package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-action.component.mjs +34 -0
  464. package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-item.component.mjs +51 -0
  465. package/esm2022/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.mjs +29 -0
  466. package/esm2022/lib/navigation/tabs/__mocks__/mock-tab.component.mjs +54 -0
  467. package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.mjs +25 -0
  468. package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.component.mjs +43 -0
  469. package/esm2022/lib/navigation/tabs/__mocks__/mock-tabs.module.mjs +48 -0
  470. package/esm2022/lib/navigation/tabs/interfaces/tabs.interface.mjs +2 -0
  471. package/esm2022/lib/navigation/tabs/services/tabs.service.mjs +72 -0
  472. package/esm2022/lib/navigation/tabs/tab/tab.component.mjs +135 -0
  473. package/esm2022/lib/navigation/tabs/tab-action/tab-action.component.mjs +33 -0
  474. package/esm2022/lib/navigation/tabs/tab-item/tab-item.component.mjs +92 -0
  475. package/esm2022/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.mjs +36 -0
  476. package/esm2022/lib/navigation/tabs/tabs/tabs.component.mjs +245 -0
  477. package/esm2022/lib/navigation/tabs/tabs.module.mjs +51 -0
  478. package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tile.component.mjs +21 -0
  479. package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.component.mjs +14 -0
  480. package/esm2022/lib/navigation-tiles/__mocks__/mock-navigation-tiles.module.mjs +18 -0
  481. package/esm2022/lib/navigation-tiles/navigation-tile/navigation-tile.component.mjs +42 -0
  482. package/esm2022/lib/navigation-tiles/navigation-tiles/navigation-tiles.component.mjs +23 -0
  483. package/esm2022/lib/navigation-tiles/navigation-tiles.module.mjs +22 -0
  484. package/esm2022/lib/notifications/__mocks__/mock-notification.component.mjs +29 -0
  485. package/esm2022/lib/notifications/__mocks__/mock-notification.content.component.mjs +15 -0
  486. package/esm2022/lib/notifications/__mocks__/mock-notifications-service.service.mjs +32 -0
  487. package/esm2022/lib/notifications/__mocks__/mock-notifications.component.mjs +17 -0
  488. package/esm2022/lib/notifications/__mocks__/mock-notifications.module.mjs +24 -0
  489. package/esm2022/lib/notifications/directives/snackbar-listener.directive.mjs +70 -0
  490. package/esm2022/lib/notifications/interfaces/notifications.mjs +2 -0
  491. package/esm2022/lib/notifications/notification/notification.component.mjs +547 -0
  492. package/esm2022/lib/notifications/notification-content/notification-content.component.mjs +14 -0
  493. package/esm2022/lib/notifications/notifications/notifications.component.mjs +35 -0
  494. package/esm2022/lib/notifications/notifications.module.mjs +47 -0
  495. package/esm2022/lib/notifications/services/notifications-http-interceptor.service.mjs +111 -0
  496. package/esm2022/lib/notifications/services/notifications-service.service.mjs +122 -0
  497. package/esm2022/lib/notifications/services/os-notifications/desktop-notifications.service.mjs +85 -0
  498. package/esm2022/lib/notifications/services/os-notifications/os-notifications.service.mjs +29 -0
  499. package/esm2022/lib/notifications/services/snackbar.service.mjs +65 -0
  500. package/esm2022/lib/notifications/snackbar/snackbar.component.mjs +25 -0
  501. package/esm2022/lib/page/__mocks__/mock-page-footer.component.mjs +14 -0
  502. package/esm2022/lib/page/__mocks__/mock-page-header.component.mjs +14 -0
  503. package/esm2022/lib/page/__mocks__/mock-page.component.mjs +19 -0
  504. package/esm2022/lib/page/__mocks__/mock-page.module.mjs +21 -0
  505. package/esm2022/lib/page/cancel-confirmation-dialog/page-cancel-confirmation-dialog.component.mjs +38 -0
  506. package/esm2022/lib/page/control-panel/page-control-panel.component.mjs +55 -0
  507. package/esm2022/lib/page/footer/page-footer-custom-content.directive.mjs +25 -0
  508. package/esm2022/lib/page/footer/page-footer.component.mjs +30 -0
  509. package/esm2022/lib/page/info-banner/page-info-banner.component.mjs +124 -0
  510. package/esm2022/lib/page/model/page-config.interface.mjs +2 -0
  511. package/esm2022/lib/page/model/page-control-panel-config.interface.mjs +2 -0
  512. package/esm2022/lib/page/model/page-footer-action.interface.mjs +9 -0
  513. package/esm2022/lib/page/model/page-header-facet.interface.mjs +2 -0
  514. package/esm2022/lib/page/model/page-info-banner.interface.mjs +2 -0
  515. package/esm2022/lib/page/model/page-object-resolver.mjs +6 -0
  516. package/esm2022/lib/page/object-header/context-select-dialog/context-select-dialog.component.mjs +95 -0
  517. package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.component.mjs +53 -0
  518. package/esm2022/lib/page/object-header/dynamic-facet/dynamic-facet.directive.mjs +17 -0
  519. package/esm2022/lib/page/object-header/dynamic-facets.service.mjs +38 -0
  520. package/esm2022/lib/page/object-header/facets/crititcality-facet/criticality-facet.component.mjs +29 -0
  521. package/esm2022/lib/page/object-header/facets/date-facet/date-facet.component.mjs +22 -0
  522. package/esm2022/lib/page/object-header/facets/multi-select-facet/multi-select-facet.component.mjs +27 -0
  523. package/esm2022/lib/page/object-header/facets/progress-facet/progress-facet.component.mjs +21 -0
  524. package/esm2022/lib/page/object-header/facets/references-facet/references-facet.component.mjs +22 -0
  525. package/esm2022/lib/page/object-header/facets/single-select-facet/single-select-facet.component.mjs +27 -0
  526. package/esm2022/lib/page/object-header/facets/status-facet/status-facet.component.mjs +25 -0
  527. package/esm2022/lib/page/object-header/facets/value-facet/value-facet.component.mjs +21 -0
  528. package/esm2022/lib/page/object-header/page-object-header.component.mjs +307 -0
  529. package/esm2022/lib/page/page.component.mjs +632 -0
  530. package/esm2022/lib/page/page.module.mjs +168 -0
  531. package/esm2022/lib/page/shared/directives/connect-form-state-to-page.directive.mjs +91 -0
  532. package/esm2022/lib/page/shared/services/context.service.mjs +75 -0
  533. package/esm2022/lib/page/shared/services/form-group-manager.service.mjs +180 -0
  534. package/esm2022/lib/page/shared/services/page-footer.service.mjs +54 -0
  535. package/esm2022/lib/page/shared/services/page-store.service.mjs +33 -0
  536. package/esm2022/lib/page/shared/services/page-submit-action.service.mjs +69 -0
  537. package/esm2022/lib/page/shared/services/resolver-trigger.service.mjs +57 -0
  538. package/esm2022/lib/page-stepper/adaptors/page-stepper-adapter.directive.mjs +66 -0
  539. package/esm2022/lib/page-stepper/cancel-dialog/page-stepper-cancel-dialog.component.mjs +50 -0
  540. package/esm2022/lib/page-stepper/header/page-step-header.component.mjs +60 -0
  541. package/esm2022/lib/page-stepper/model/page-step-resolver.token.mjs +3 -0
  542. package/esm2022/lib/page-stepper/model/page-step.resolver.mjs +2 -0
  543. package/esm2022/lib/page-stepper/model/qd-page-stepper-config.mjs +2 -0
  544. package/esm2022/lib/page-stepper/page-step/page-step.component.mjs +79 -0
  545. package/esm2022/lib/page-stepper/page-stepper.component.mjs +295 -0
  546. package/esm2022/lib/page-stepper/page-stepper.module.mjs +61 -0
  547. package/esm2022/lib/page-tabs/adaptors/page-tabs-adapter.directive.mjs +68 -0
  548. package/esm2022/lib/page-tabs/model/page-tabs-config.mjs +2 -0
  549. package/esm2022/lib/page-tabs/model/page-tabs-selection-event.mjs +2 -0
  550. package/esm2022/lib/page-tabs/page-tab/page-tab.component.mjs +84 -0
  551. package/esm2022/lib/page-tabs/page-tab-header/counter/page-tab-header-counters.component.mjs +33 -0
  552. package/esm2022/lib/page-tabs/page-tab-header/page-tab-header.component.mjs +57 -0
  553. package/esm2022/lib/page-tabs/page-tabs.component.mjs +314 -0
  554. package/esm2022/lib/page-tabs/page-tabs.module.mjs +54 -0
  555. package/esm2022/lib/panel-section/actions/panel-section-actions.component.mjs +61 -0
  556. package/esm2022/lib/panel-section/model/panel-section-config.interface.mjs +2 -0
  557. package/esm2022/lib/panel-section/model/panel-section-status-config.interface.mjs +2 -0
  558. package/esm2022/lib/panel-section/model/panel-section-text-paragraph-config.interface.mjs +2 -0
  559. package/esm2022/lib/panel-section/panel-section.component.mjs +98 -0
  560. package/esm2022/lib/panel-section/panel-section.module.mjs +41 -0
  561. package/esm2022/lib/panel-section/services/panel-section-action.service.mjs +18 -0
  562. package/esm2022/lib/panel-section/status/panel-section-status.component.mjs +23 -0
  563. package/esm2022/lib/panel-section/text-paragraph/panel-section-text-paragraph.component.mjs +19 -0
  564. package/esm2022/lib/place-holder/__mocks__/mock-place-holder.component.mjs +19 -0
  565. package/esm2022/lib/place-holder/__mocks__/mock-place-holder.module.mjs +17 -0
  566. package/esm2022/lib/place-holder/place-holder/place-holder.component.mjs +21 -0
  567. package/esm2022/lib/place-holder/place-holder.module.mjs +19 -0
  568. package/esm2022/lib/progress-bar/__mocks__/mock-indeterminate-progress-bar.component.mjs +15 -0
  569. package/esm2022/lib/progress-bar/__mocks__/mock-percentage-progress-bar.component.mjs +28 -0
  570. package/esm2022/lib/progress-bar/__mocks__/mock-progress-bar.module.mjs +19 -0
  571. package/esm2022/lib/progress-bar/indeterminate/indeterminate-progress-bar.component.mjs +14 -0
  572. package/esm2022/lib/progress-bar/percentage/percentage-progress-bar.component.mjs +51 -0
  573. package/esm2022/lib/progress-bar/progress-bar.module.mjs +21 -0
  574. package/esm2022/lib/qd-ui-mock.module.mjs +149 -0
  575. package/esm2022/lib/qd-ui.module.mjs +233 -0
  576. package/esm2022/lib/quick-edit/model/quick-edit-config.mjs +2 -0
  577. package/esm2022/lib/quick-edit/model/quick-edit-data.mjs +2 -0
  578. package/esm2022/lib/quick-edit/qd-ng-for.directive.mjs +58 -0
  579. package/esm2022/lib/quick-edit/quick-edit.component.mjs +391 -0
  580. package/esm2022/lib/quick-edit/quick-edit.module.mjs +62 -0
  581. package/esm2022/lib/search/__mocks__/mock-search.component.mjs +19 -0
  582. package/esm2022/lib/search/__mocks__/mock-search.module.mjs +19 -0
  583. package/esm2022/lib/search/helpers/search-update.helper.mjs +19 -0
  584. package/esm2022/lib/search/model/search-options.interface.mjs +2 -0
  585. package/esm2022/lib/search/model/search-post-body.mjs +2 -0
  586. package/esm2022/lib/search/model/search-store.interface.mjs +2 -0
  587. package/esm2022/lib/search/search.component.mjs +209 -0
  588. package/esm2022/lib/search/search.module.mjs +45 -0
  589. package/esm2022/lib/search/services/search-router-connector.service.mjs +109 -0
  590. package/esm2022/lib/search/services/search-store.service.mjs +34 -0
  591. package/esm2022/lib/search/services/search.service.mjs +106 -0
  592. package/esm2022/lib/search/store/search.actions.mjs +10 -0
  593. package/esm2022/lib/search/store/search.reducer.mjs +10 -0
  594. package/esm2022/lib/search/store/search.selector.mjs +8 -0
  595. package/esm2022/lib/section/__mocks__/mock-section-toolbar.component.mjs +19 -0
  596. package/esm2022/lib/section/__mocks__/mock-section.component.mjs +19 -0
  597. package/esm2022/lib/section/__mocks__/mock-section.module.mjs +20 -0
  598. package/esm2022/lib/section/adaptors/section-adapter.directive.mjs +66 -0
  599. package/esm2022/lib/section/connectors/table/connector-table-context.directive.mjs +150 -0
  600. package/esm2022/lib/section/connectors/table/connector-table-filter.directive.mjs +97 -0
  601. package/esm2022/lib/section/connectors/table/connector-table-search.directive.mjs +91 -0
  602. package/esm2022/lib/section/model/section-config.interface.mjs +2 -0
  603. package/esm2022/lib/section/model/toolbar-components.interface.mjs +2 -0
  604. package/esm2022/lib/section/section.component.mjs +185 -0
  605. package/esm2022/lib/section/section.module.mjs +77 -0
  606. package/esm2022/lib/section/services/section-toolbar-action.service.mjs +18 -0
  607. package/esm2022/lib/section/services/toolbar-components.service.mjs +17 -0
  608. package/esm2022/lib/section/toolbar/action/section-toolbar-action.component.mjs +158 -0
  609. package/esm2022/lib/section/toolbar/section-toolbar.component.mjs +59 -0
  610. package/esm2022/lib/shell/__mocks__/mock-counter-badge.component.mjs +14 -0
  611. package/esm2022/lib/shell/__mocks__/mock-header-widget-desktop.component.mjs +37 -0
  612. package/esm2022/lib/shell/__mocks__/mock-header-widget-mobile.component.mjs +37 -0
  613. package/esm2022/lib/shell/__mocks__/mock-shell-footer.component.mjs +14 -0
  614. package/esm2022/lib/shell/__mocks__/mock-shell-header-banner.component.mjs +14 -0
  615. package/esm2022/lib/shell/__mocks__/mock-shell-header-search.component.mjs +14 -0
  616. package/esm2022/lib/shell/__mocks__/mock-shell-header-widget.component.mjs +18 -0
  617. package/esm2022/lib/shell/__mocks__/mock-shell-header.component.mjs +19 -0
  618. package/esm2022/lib/shell/__mocks__/mock-shell-toolbar-item.component.mjs +19 -0
  619. package/esm2022/lib/shell/__mocks__/mock-shell-toolbar.component.mjs +14 -0
  620. package/esm2022/lib/shell/__mocks__/mock-shell.component.mjs +19 -0
  621. package/esm2022/lib/shell/__mocks__/mock-shell.module.mjs +69 -0
  622. package/esm2022/lib/shell/footer/shell-footer.component.mjs +24 -0
  623. package/esm2022/lib/shell/header/banner/shell-header-banner.component.mjs +33 -0
  624. package/esm2022/lib/shell/header/counter-badge/counter-badge.component.mjs +18 -0
  625. package/esm2022/lib/shell/header/search/shell-header-search.component.mjs +16 -0
  626. package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.component.mjs +156 -0
  627. package/esm2022/lib/shell/header/service-navigation/shell-service-navigation.module.mjs +19 -0
  628. package/esm2022/lib/shell/header/shell-header.component.mjs +193 -0
  629. package/esm2022/lib/shell/header/toolbar/shell-toolbar.component.mjs +20 -0
  630. package/esm2022/lib/shell/header/toolbar/toolbar-item/shell-toolbar-item.component.mjs +25 -0
  631. package/esm2022/lib/shell/header/widget/shell-header-widget.component.mjs +115 -0
  632. package/esm2022/lib/shell/left/navigation/link/shell-left-navigation-link.component.mjs +27 -0
  633. package/esm2022/lib/shell/left/navigation/shell-left-navigation.component.mjs +17 -0
  634. package/esm2022/lib/shell/left/shell-left.component.mjs +29 -0
  635. package/esm2022/lib/shell/model/default-config.mjs +8 -0
  636. package/esm2022/lib/shell/model/eportal.interface.mjs +2 -0
  637. package/esm2022/lib/shell/model/route-data.interface.mjs +2 -0
  638. package/esm2022/lib/shell/model/shell-config.interface.mjs +2 -0
  639. package/esm2022/lib/shell/model/shell-footer-copyright-info.interface.mjs +2 -0
  640. package/esm2022/lib/shell/model/shell-header-widget-config.interface.mjs +2 -0
  641. package/esm2022/lib/shell/model/shell-navigation-config.interface.mjs +2 -0
  642. package/esm2022/lib/shell/model/shell-service-navigation-config.interface.mjs +2 -0
  643. package/esm2022/lib/shell/model/shell-toolbar-config.interface.mjs +2 -0
  644. package/esm2022/lib/shell/right/notification/shell-notification.component.mjs +95 -0
  645. package/esm2022/lib/shell/right/notifications/shell-notifications.component.mjs +25 -0
  646. package/esm2022/lib/shell/right/shell-right.component.mjs +56 -0
  647. package/esm2022/lib/shell/right/toolbar/shell-right-toolbar.component.mjs +28 -0
  648. package/esm2022/lib/shell/services/banner.service.mjs +27 -0
  649. package/esm2022/lib/shell/services/eportal-language.service.mjs +44 -0
  650. package/esm2022/lib/shell/services/navigation.service.mjs +60 -0
  651. package/esm2022/lib/shell/services/pams-environment.service.mjs +22 -0
  652. package/esm2022/lib/shell/services/service-navigation.service.mjs +208 -0
  653. package/esm2022/lib/shell/services/shell-header-minimization.service.mjs +37 -0
  654. package/esm2022/lib/shell/services/shell-header-widget.service.mjs +178 -0
  655. package/esm2022/lib/shell/services/shell-left.service.mjs +27 -0
  656. package/esm2022/lib/shell/services/shell-right.service.mjs +46 -0
  657. package/esm2022/lib/shell/shell.component.mjs +199 -0
  658. package/esm2022/lib/shell/shell.module.mjs +134 -0
  659. package/esm2022/lib/spinner/spinner.component.mjs +11 -0
  660. package/esm2022/lib/spinner/spinner.module.mjs +19 -0
  661. package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-cpation.component.mjs +14 -0
  662. package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator-item.component.mjs +22 -0
  663. package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.component.mjs +33 -0
  664. package/esm2022/lib/status-indicator/__mocks__/mock-status-indicator.module.mjs +27 -0
  665. package/esm2022/lib/status-indicator/interfaces/status-indicator.interface.mjs +2 -0
  666. package/esm2022/lib/status-indicator/status-indicator/status-indicator.component.mjs +48 -0
  667. package/esm2022/lib/status-indicator/status-indicator-caption/status-indicator-caption.component.mjs +14 -0
  668. package/esm2022/lib/status-indicator/status-indicator-item/status-indicator-item.component.mjs +45 -0
  669. package/esm2022/lib/status-indicator/status-indicator.module.mjs +21 -0
  670. package/esm2022/lib/table/__mocks__/mock-sort.component.mjs +29 -0
  671. package/esm2022/lib/table/__mocks__/mock-table-body-plain.component.mjs +27 -0
  672. package/esm2022/lib/table/__mocks__/mock-table-body-tree.component.mjs +27 -0
  673. package/esm2022/lib/table/__mocks__/mock-table-data-blank.component.mjs +15 -0
  674. package/esm2022/lib/table/__mocks__/mock-table-data-boolean.component.mjs +19 -0
  675. package/esm2022/lib/table/__mocks__/mock-table-data-date.component.mjs +23 -0
  676. package/esm2022/lib/table/__mocks__/mock-table-data-integer.component.mjs +19 -0
  677. package/esm2022/lib/table/__mocks__/mock-table-data-link.component.mjs +29 -0
  678. package/esm2022/lib/table/__mocks__/mock-table-data-progress.component.mjs +19 -0
  679. package/esm2022/lib/table/__mocks__/mock-table-data-text.component.mjs +26 -0
  680. package/esm2022/lib/table/__mocks__/mock-table-empty-state.component.mjs +22 -0
  681. package/esm2022/lib/table/__mocks__/mock-table-head.component.mjs +24 -0
  682. package/esm2022/lib/table/__mocks__/mock-table-paginator-page-size.directive.mjs +18 -0
  683. package/esm2022/lib/table/__mocks__/mock-table-paginator.component.mjs +24 -0
  684. package/esm2022/lib/table/__mocks__/mock-table.component.mjs +33 -0
  685. package/esm2022/lib/table/__mocks__/mock-table.module.mjs +63 -0
  686. package/esm2022/lib/table/body/table-body.component.mjs +57 -0
  687. package/esm2022/lib/table/empty-state/table-empty-state.component.mjs +34 -0
  688. package/esm2022/lib/table/head/table-head.component.mjs +65 -0
  689. package/esm2022/lib/table/helpers/spring-tools.mjs +20 -0
  690. package/esm2022/lib/table/model/connectors-state.enum.mjs +7 -0
  691. package/esm2022/lib/table/model/paginator-direction.enum.mjs +8 -0
  692. package/esm2022/lib/table/model/sort-direction.enum.mjs +7 -0
  693. package/esm2022/lib/table/model/table-config-actions.interface.mjs +2 -0
  694. package/esm2022/lib/table/model/table-config-content.interface.mjs +2 -0
  695. package/esm2022/lib/table/model/table-config.interface.mjs +2 -0
  696. package/esm2022/lib/table/model/table-data-resolver.mjs +10 -0
  697. package/esm2022/lib/table/model/table-data-resolver.token.mjs +6 -0
  698. package/esm2022/lib/table/model/table-data.interface.mjs +2 -0
  699. package/esm2022/lib/table/model/table-row-selection.interface.mjs +2 -0
  700. package/esm2022/lib/table/model/table-store.interface.mjs +2 -0
  701. package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.component.mjs +104 -0
  702. package/esm2022/lib/table/paginator/page-size/table-paginator-page-size.directive.mjs +53 -0
  703. package/esm2022/lib/table/paginator/scroll-to-pagination.directive.mjs +77 -0
  704. package/esm2022/lib/table/paginator/table-paginator.component.mjs +128 -0
  705. package/esm2022/lib/table/row/actions/secondary/menu/table-row-actions-secondary-menu.component.mjs +94 -0
  706. package/esm2022/lib/table/row/selection/table-row-selection.component.mjs +49 -0
  707. package/esm2022/lib/table/row/table-row.component.mjs +102 -0
  708. package/esm2022/lib/table/services/empty-state.service.mjs +25 -0
  709. package/esm2022/lib/table/services/external-action-result.service.mjs +16 -0
  710. package/esm2022/lib/table/services/filling-width.service.mjs +174 -0
  711. package/esm2022/lib/table/services/resolver.service.mjs +82 -0
  712. package/esm2022/lib/table/services/responsive-row.service.mjs +106 -0
  713. package/esm2022/lib/table/services/row-selection.service.mjs +60 -0
  714. package/esm2022/lib/table/services/secondary-actions.service.mjs +18 -0
  715. package/esm2022/lib/table/sort/table-sort.component.mjs +126 -0
  716. package/esm2022/lib/table/store/table-store-selector.service.mjs +123 -0
  717. package/esm2022/lib/table/store/table-store.service.mjs +138 -0
  718. package/esm2022/lib/table/store/table-update.helper.mjs +81 -0
  719. package/esm2022/lib/table/store/table.actions.mjs +40 -0
  720. package/esm2022/lib/table/store/table.reducer.mjs +21 -0
  721. package/esm2022/lib/table/table.component.mjs +472 -0
  722. package/esm2022/lib/table/table.module.mjs +105 -0
  723. package/esm2022/lib/text-section/__mocks__/mock-text-section-headline.component.mjs +14 -0
  724. package/esm2022/lib/text-section/__mocks__/mock-text-section-paragraph.component.mjs +14 -0
  725. package/esm2022/lib/text-section/__mocks__/mock-text-section.component.mjs +14 -0
  726. package/esm2022/lib/text-section/__mocks__/mock-text-section.module.mjs +19 -0
  727. package/esm2022/lib/text-section/text-section-headline/text-section-headline.component.mjs +16 -0
  728. package/esm2022/lib/text-section/text-section-paragraph/text-section-paragraph.component.mjs +16 -0
  729. package/esm2022/lib/text-section/text-section.component.mjs +28 -0
  730. package/esm2022/lib/text-section/text-section.module.mjs +21 -0
  731. package/esm2022/lib/tiles/__mocks__/mock-tile-button-list.component.mjs +14 -0
  732. package/esm2022/lib/tiles/__mocks__/mock-tile-text-list-item.component.mjs +14 -0
  733. package/esm2022/lib/tiles/__mocks__/mock-tile-text-list.component.mjs +14 -0
  734. package/esm2022/lib/tiles/__mocks__/mock-tile-title.component.mjs +14 -0
  735. package/esm2022/lib/tiles/__mocks__/mock-tile.component.mjs +18 -0
  736. package/esm2022/lib/tiles/__mocks__/mock-tiles-container-title.component.mjs +14 -0
  737. package/esm2022/lib/tiles/__mocks__/mock-tiles-container.component.mjs +18 -0
  738. package/esm2022/lib/tiles/__mocks__/mock-tiles.module.mjs +51 -0
  739. package/esm2022/lib/tiles/model/tile-config.mjs +2 -0
  740. package/esm2022/lib/tiles/model/tiles-config.mjs +2 -0
  741. package/esm2022/lib/tiles/tile/tile.component.mjs +42 -0
  742. package/esm2022/lib/tiles/tile-button-list/tile-button-list.component.mjs +15 -0
  743. package/esm2022/lib/tiles/tile-text-list/tile-text-list.component.mjs +11 -0
  744. package/esm2022/lib/tiles/tile-text-list-item/tile-text-list-item.component.mjs +11 -0
  745. package/esm2022/lib/tiles/tile-title/tile-title.component.mjs +11 -0
  746. package/esm2022/lib/tiles/tiles-title/tiles-title.component.mjs +11 -0
  747. package/esm2022/lib/tiles/tiles.component.mjs +22 -0
  748. package/esm2022/lib/tiles/tiles.module.mjs +55 -0
  749. package/esm2022/lib/tree/body/tree-body.component.mjs +46 -0
  750. package/esm2022/lib/tree/empty-state/tree-empty-state.component.mjs +34 -0
  751. package/esm2022/lib/tree/error/grouped-indices-not-consecutive.error.mjs +7 -0
  752. package/esm2022/lib/tree/head/tree-head.component.mjs +64 -0
  753. package/esm2022/lib/tree/model/tree-column-detail.interface.mjs +2 -0
  754. package/esm2022/lib/tree/model/tree-config-actions.interface.mjs +2 -0
  755. package/esm2022/lib/tree/model/tree-config.interface.mjs +2 -0
  756. package/esm2022/lib/tree/model/tree-data.interface.mjs +2 -0
  757. package/esm2022/lib/tree/row/actions/secondary/menu/tree-row-actions-secondary-menu.component.mjs +98 -0
  758. package/esm2022/lib/tree/row/tree-row.component.mjs +85 -0
  759. package/esm2022/lib/tree/services/row-expander.service.mjs +117 -0
  760. package/esm2022/lib/tree/services/tree-group.service.mjs +87 -0
  761. package/esm2022/lib/tree/services/tree-rows.service.mjs +151 -0
  762. package/esm2022/lib/tree/tree.component.mjs +244 -0
  763. package/esm2022/lib/tree/tree.module.mjs +80 -0
  764. package/esm2022/public-api.mjs +79 -0
  765. package/esm2022/quadrel-ui-qd-ui.mjs +5 -0
  766. package/fesm2022/quadrel-ui-qd-ui.mjs +37960 -0
  767. package/fesm2022/quadrel-ui-qd-ui.mjs.map +1 -0
  768. package/index.d.ts +5 -0
  769. package/lib/button/__mocks__/mock-button-grid.component.d.ts +5 -0
  770. package/lib/button/__mocks__/mock-button-stack-button.component.d.ts +7 -0
  771. package/lib/button/__mocks__/mock-button-stack.component.d.ts +5 -0
  772. package/lib/button/__mocks__/mock-button.component.d.ts +10 -0
  773. package/lib/button/__mocks__/mock-button.directives.d.ts +9 -0
  774. package/lib/button/__mocks__/mock-button.module.d.ts +20 -0
  775. package/lib/button/__mocks__/mock-icon-button.component.d.ts +7 -0
  776. package/lib/button/button/additional-info/button-additional-info.component.d.ts +14 -0
  777. package/lib/button/button/button.component.d.ts +40 -0
  778. package/lib/button/button-grid/button-grid.component.d.ts +10 -0
  779. package/lib/button/button-stack/button-stack-button/button-stack-button.component.d.ts +23 -0
  780. package/lib/button/button-stack/button-stack-container/button-stack.component.d.ts +16 -0
  781. package/lib/button/button.module.d.ts +31 -0
  782. package/lib/button/directives/button.directives.d.ts +24 -0
  783. package/lib/button/icon-button/icon-button.component.d.ts +25 -0
  784. package/lib/button/menu-button/menu-button.component.d.ts +57 -0
  785. package/lib/button/model/button-config.d.ts +75 -0
  786. package/lib/button/model/button.types.d.ts +1 -0
  787. package/lib/chips/__mocks__/mock-chip.component.d.ts +14 -0
  788. package/lib/chips/__mocks__/mock-chips.module.d.ts +10 -0
  789. package/lib/chips/chip/chip.component.d.ts +42 -0
  790. package/lib/chips/chips.module.d.ts +12 -0
  791. package/lib/chips/interfaces/chip.interface.d.ts +2 -0
  792. package/lib/comments/add-comment/add-comment-dialog.component.d.ts +29 -0
  793. package/lib/comments/comments.component.d.ts +21 -0
  794. package/lib/comments/comments.module.d.ts +22 -0
  795. package/lib/comments/menu/comment-menu.component.d.ts +8 -0
  796. package/lib/comments/model/comments.interface.d.ts +192 -0
  797. package/lib/comments/pipes/stripe-html.pipe.d.ts +7 -0
  798. package/lib/contact-card/__mocks__/mock-contact-card.component.d.ts +7 -0
  799. package/lib/contact-card/__mocks__/mock-contact-card.module.d.ts +10 -0
  800. package/lib/contact-card/contact-card.component.d.ts +166 -0
  801. package/lib/contact-card/contact-card.module.d.ts +16 -0
  802. package/lib/contact-card/menu/contact-card-menu.component.d.ts +31 -0
  803. package/lib/contact-card/model/contact-card-actions-config.interface.d.ts +43 -0
  804. package/lib/contact-card/model/contact-data.interface.d.ts +162 -0
  805. package/lib/container/__mocks__/mock-action-footer.component.d.ts +5 -0
  806. package/lib/container/__mocks__/mock-container-create-content.component.d.ts +9 -0
  807. package/lib/container/__mocks__/mock-container-create-default.component.d.ts +7 -0
  808. package/lib/container/__mocks__/mock-container-section.component.d.ts +7 -0
  809. package/lib/container/__mocks__/mock-container-toolbar-action.component.d.ts +16 -0
  810. package/lib/container/__mocks__/mock-container-toolbar-filter.component.d.ts +5 -0
  811. package/lib/container/__mocks__/mock-container-toolbar-title.component.d.ts +5 -0
  812. package/lib/container/__mocks__/mock-container-toolbar.component.d.ts +8 -0
  813. package/lib/container/__mocks__/mock-container.component.d.ts +17 -0
  814. package/lib/container/__mocks__/mock-container.module.d.ts +30 -0
  815. package/lib/container/__mocks__/mock-create-delete-alert.component.d.ts +7 -0
  816. package/lib/container/__mocks__/mock-form-group.component.d.ts +14 -0
  817. package/lib/container/container.component.d.ts +86 -0
  818. package/lib/container/container.module.d.ts +31 -0
  819. package/lib/container/model/container-type.d.ts +12 -0
  820. package/lib/container/model/toolbar.interface.d.ts +40 -0
  821. package/lib/container/section/container-section.component.d.ts +22 -0
  822. package/lib/container/section/header/container-section-header.component.d.ts +10 -0
  823. package/lib/container/section/info/container-section-info.component.d.ts +8 -0
  824. package/lib/container/services/container-action.service.d.ts +10 -0
  825. package/lib/container/services/container-layout.service.d.ts +20 -0
  826. package/lib/container/toolbar/action/container-toolbar-action.component.d.ts +45 -0
  827. package/lib/container/toolbar/container-toolbar.component.d.ts +26 -0
  828. package/lib/container/toolbar/filter/container-toolbar-filter.component.d.ts +11 -0
  829. package/lib/container/toolbar/title/container-toolbar-title.component.d.ts +10 -0
  830. package/lib/content-grid/__mocks__/mock-content-grid-column.d.ts +5 -0
  831. package/lib/content-grid/__mocks__/mock-content-grid-row.d.ts +5 -0
  832. package/lib/content-grid/__mocks__/mock-content-grid.d.ts +5 -0
  833. package/lib/content-grid/__mocks__/mock-content-grid.module.d.ts +13 -0
  834. package/lib/content-grid/content-grid/content-grid.component.d.ts +15 -0
  835. package/lib/content-grid/content-grid-column/content-grid-column.component.d.ts +11 -0
  836. package/lib/content-grid/content-grid-row/content-grid-row.component.d.ts +12 -0
  837. package/lib/content-grid/content-grid.module.d.ts +14 -0
  838. package/lib/core/__mocks__/mock-breakpoint.service.d.ts +5 -0
  839. package/lib/core/__mocks__/mock-core.module.d.ts +18 -0
  840. package/lib/core/__mocks__/mock-disabled.directive.d.ts +5 -0
  841. package/lib/core/__mocks__/mock-popover-on-click.directive.d.ts +33 -0
  842. package/lib/core/__mocks__/mock-rwd-disabled.directive.d.ts +5 -0
  843. package/lib/core/__mocks__/mock-translate.pipe.d.ts +7 -0
  844. package/lib/core/__mocks__/mock-visually-hidden.directive.d.ts +5 -0
  845. package/lib/core/autofocus/autofocus.directive.d.ts +13 -0
  846. package/lib/core/autofocus/autofocus.module.d.ts +8 -0
  847. package/lib/core/autofocus/autofocus.service.d.ts +8 -0
  848. package/lib/core/breadcrumbs/breadcrumbs.component.d.ts +124 -0
  849. package/lib/core/breadcrumbs/breadcrumbs.module.d.ts +11 -0
  850. package/lib/core/breadcrumbs/model/breadcrumbs.interface.d.ts +26 -0
  851. package/lib/core/breadcrumbs/services/breadcrumbs.service.d.ts +20 -0
  852. package/lib/core/breadcrumbs/services/dialog-breadcrumbs.service.d.ts +7 -0
  853. package/lib/core/core.module.d.ts +28 -0
  854. package/lib/core/data-facets/blank/data-facets-blank.component.d.ts +14 -0
  855. package/lib/core/data-facets/boolean/data-facets-boolean.component.d.ts +12 -0
  856. package/lib/core/data-facets/chip/data-facets-chip.component.d.ts +27 -0
  857. package/lib/core/data-facets/chip/data-facets-chip.interfaces.d.ts +43 -0
  858. package/lib/core/data-facets/chip/truncated-indicator/data-facets-chip-truncated-indicator.component.d.ts +30 -0
  859. package/lib/core/data-facets/chip/truncated-tooltip/data-facets-chip-truncated-tooltip.component.d.ts +38 -0
  860. package/lib/core/data-facets/currency/data-facets-currency.component.d.ts +26 -0
  861. package/lib/core/data-facets/currency/data-facets-currency.interfaces.d.ts +17 -0
  862. package/lib/core/data-facets/data-facets-context.service.d.ts +12 -0
  863. package/lib/core/data-facets/data-facets.model.d.ts +36 -0
  864. package/lib/core/data-facets/data-facets.module.d.ts +32 -0
  865. package/lib/core/data-facets/date/data-facets-date.component.d.ts +33 -0
  866. package/lib/core/data-facets/date/data-facets-date.interfaces.d.ts +47 -0
  867. package/lib/core/data-facets/icon/data-facets-icon.component.d.ts +12 -0
  868. package/lib/core/data-facets/integer/data-facets-integer.component.d.ts +12 -0
  869. package/lib/core/data-facets/link/data-facets-link.component.d.ts +24 -0
  870. package/lib/core/data-facets/link/data-facets-link.interfaces.d.ts +49 -0
  871. package/lib/core/data-facets/progress/data-facets-progress.component.d.ts +17 -0
  872. package/lib/core/data-facets/status/data-facets-status.component.d.ts +13 -0
  873. package/lib/core/data-facets/status/data-facets-status.interfaces.d.ts +14 -0
  874. package/lib/core/data-facets/text/data-facets-text.component.d.ts +19 -0
  875. package/lib/core/data-facets/text/data-facets-text.interfaces.d.ts +17 -0
  876. package/lib/core/disabled/disabled.directive.d.ts +5 -0
  877. package/lib/core/focusable/focusable.d.ts +9 -0
  878. package/lib/core/focusable/focusable.directive.d.ts +9 -0
  879. package/lib/core/focusable/focusable.module.d.ts +7 -0
  880. package/lib/core/focusable/focusable.token.d.ts +5 -0
  881. package/lib/core/model/app-enviroment.interface.d.ts +32 -0
  882. package/lib/core/model/app-enviroment.token.d.ts +4 -0
  883. package/lib/core/model/breakpoint.interface.d.ts +9 -0
  884. package/lib/core/model/translation.interface.d.ts +20 -0
  885. package/lib/core/pipes/file-size.pipe.d.ts +10 -0
  886. package/lib/core/pipes/placeholder.pipe.d.ts +7 -0
  887. package/lib/core/pipes/placeholders.pipe.d.ts +9 -0
  888. package/lib/core/pipes/sanitize-html.pipe.d.ts +10 -0
  889. package/lib/core/popover/popover/popover.component.d.ts +22 -0
  890. package/lib/core/popover/popover-on-click/popover-on-click.directive.d.ts +54 -0
  891. package/lib/core/popover/popover-on-hover/popover-on-hover.directive.d.ts +26 -0
  892. package/lib/core/popover/popover-parent.service.d.ts +7 -0
  893. package/lib/core/popover/popover-sizing.service.d.ts +62 -0
  894. package/lib/core/popover/popover-top-first.token.d.ts +2 -0
  895. package/lib/core/popover/popover.module.d.ts +10 -0
  896. package/lib/core/popover/popover.service.d.ts +11 -0
  897. package/lib/core/projection-guard/projection-guard.component.d.ts +13 -0
  898. package/lib/core/rwd-disabled/rwd-disabled.directive.d.ts +5 -0
  899. package/lib/core/rxjs/delay-and-hold.operator.d.ts +51 -0
  900. package/lib/core/services/breakpoint.service.d.ts +18 -0
  901. package/lib/core/services/element.service.d.ts +6 -0
  902. package/lib/core/services/event-broker.service.d.ts +55 -0
  903. package/lib/core/services/push-events.service.d.ts +77 -0
  904. package/lib/core/services/scrolling.service.d.ts +14 -0
  905. package/lib/core/services/translate.service.d.ts +15 -0
  906. package/lib/core/tools/constantCase.tools.d.ts +1 -0
  907. package/lib/core/tools/convertPxToRem.tools.d.ts +1 -0
  908. package/lib/core/tooltip/model/tooltip-content.interface.d.ts +17 -0
  909. package/lib/core/tooltip/tooltip/tooltip.component.d.ts +9 -0
  910. package/lib/core/tooltip/tooltip-at-intersection/tooltip-at-intersection.directive.d.ts +36 -0
  911. package/lib/core/tooltip/tooltip-on-tap-hover/tooltip-on-click.directive.d.ts +23 -0
  912. package/lib/core/tooltip/tooltip.module.d.ts +11 -0
  913. package/lib/core/types/utility.types.d.ts +2 -0
  914. package/lib/core/visually-hidden/visually-hidden.directive.d.ts +5 -0
  915. package/lib/dialog/action/dialog-action.component.d.ts +5 -0
  916. package/lib/dialog/auth-session-end/dialog-auth-session-end.component.d.ts +15 -0
  917. package/lib/dialog/confirmation/dialog-confirmation.component.d.ts +121 -0
  918. package/lib/dialog/dialog.component.d.ts +60 -0
  919. package/lib/dialog/dialog.module.d.ts +36 -0
  920. package/lib/dialog/models/confirmation.model.d.ts +116 -0
  921. package/lib/dialog/models/dialog-config.model.d.ts +50 -0
  922. package/lib/dialog/models/record-stepper.model.d.ts +25 -0
  923. package/lib/dialog/models/session-end-result.model.d.ts +13 -0
  924. package/lib/dialog/page-dialog-with-breadcrumbs/page-dialog-with-breadcrumbs.component.d.ts +5 -0
  925. package/lib/dialog/record-stepper/dialog-record-stepper.component.d.ts +33 -0
  926. package/lib/dialog/services/dialog-auth-session-end.service.d.ts +20 -0
  927. package/lib/dialog/services/dialog.service.d.ts +49 -0
  928. package/lib/file-collector/__mocks__/mock-file-collector-dialog-item-error.component.d.ts +7 -0
  929. package/lib/file-collector/__mocks__/mock-file-collector-dialog-item-progress.component.d.ts +7 -0
  930. package/lib/file-collector/__mocks__/mock-file-collector-dialog-item.component.d.ts +10 -0
  931. package/lib/file-collector/__mocks__/mock-file-collector-item-name.component.d.ts +7 -0
  932. package/lib/file-collector/__mocks__/mock-file-collector-item-size.component.d.ts +7 -0
  933. package/lib/file-collector/__mocks__/mock-file-collector-item-tools.component.d.ts +13 -0
  934. package/lib/file-collector/__mocks__/mock-file-collector-item.component.d.ts +15 -0
  935. package/lib/file-collector/__mocks__/mock-file-collector.component.d.ts +5 -0
  936. package/lib/file-collector/__mocks__/mock-file-collector.module.d.ts +17 -0
  937. package/lib/file-collector/allowed-files-description/file-collector-allowed-files-description.component.d.ts +13 -0
  938. package/lib/file-collector/dialog/file-collector-dialog.component.d.ts +17 -0
  939. package/lib/file-collector/dialog/item/error/file-collector-dialog-item-error.component.d.ts +15 -0
  940. package/lib/file-collector/dialog/item/file-collector-dialog-item.component.d.ts +13 -0
  941. package/lib/file-collector/dialog/item/progress/file-collector-dialog-item-progress.component.d.ts +21 -0
  942. package/lib/file-collector/file-collector.component.d.ts +131 -0
  943. package/lib/file-collector/file-collector.module.d.ts +36 -0
  944. package/lib/file-collector/file-delete-dialog/file-delete-dialog.component.d.ts +13 -0
  945. package/lib/file-collector/item/file-collector-item.component.d.ts +15 -0
  946. package/lib/file-collector/item/name/file-collector-item-name.component.d.ts +6 -0
  947. package/lib/file-collector/item/size/file-collector-item-size.component.d.ts +6 -0
  948. package/lib/file-collector/item/tools/file-collector-item-tools.component.d.ts +23 -0
  949. package/lib/file-collector/item/upload-timestamp/upload-timestamp.component.d.ts +6 -0
  950. package/lib/file-collector/models/collected-file.d.ts +32 -0
  951. package/lib/file-collector/models/file-collector-config.d.ts +75 -0
  952. package/lib/file-collector/models/file-manager-token.d.ts +2 -0
  953. package/lib/file-collector/models/file-manager.d.ts +17 -0
  954. package/lib/file-collector/models/file-type.d.ts +6 -0
  955. package/lib/file-collector/models/file-upload.d.ts +14 -0
  956. package/lib/file-collector/models/upload-progress.d.ts +32 -0
  957. package/lib/file-collector/pipes/filesize.pipe.d.ts +9 -0
  958. package/lib/file-collector/pipes/upload-timestamp.pipe.d.ts +10 -0
  959. package/lib/file-collector/services/file-collector-validation.service.d.ts +13 -0
  960. package/lib/file-collector/services/file-collector.service.d.ts +21 -0
  961. package/lib/file-collector/services/file-type.service.d.ts +10 -0
  962. package/lib/filter/__mocks__/mock-filter-category-boolean.d.ts +9 -0
  963. package/lib/filter/__mocks__/mock-filter-category-date-range.d.ts +11 -0
  964. package/lib/filter/__mocks__/mock-filter-category-date.d.ts +11 -0
  965. package/lib/filter/__mocks__/mock-filter-category-free-text.d.ts +10 -0
  966. package/lib/filter/__mocks__/mock-filter-category-select.d.ts +9 -0
  967. package/lib/filter/__mocks__/mock-filter-category.d.ts +10 -0
  968. package/lib/filter/__mocks__/mock-filter-item-boolean.d.ts +11 -0
  969. package/lib/filter/__mocks__/mock-filter-item-date-range.d.ts +12 -0
  970. package/lib/filter/__mocks__/mock-filter-item-date.d.ts +12 -0
  971. package/lib/filter/__mocks__/mock-filter-item-free-text.d.ts +11 -0
  972. package/lib/filter/__mocks__/mock-filter-item-multi-select.d.ts +10 -0
  973. package/lib/filter/__mocks__/mock-filter-item-single-select.d.ts +10 -0
  974. package/lib/filter/__mocks__/mock-filter.d.ts +10 -0
  975. package/lib/filter/__mocks__/mock-filter.module.d.ts +37 -0
  976. package/lib/filter/__mocks__/mock-filter.service.d.ts +35 -0
  977. package/lib/filter/__mocks__/mock-localeDate.pipe.d.ts +8 -0
  978. package/lib/filter/category/boolean/filter-category-boolean.component.d.ts +15 -0
  979. package/lib/filter/category/date/filter-category-date.component.d.ts +26 -0
  980. package/lib/filter/category/date-range/filter-category-date-range.component.d.ts +31 -0
  981. package/lib/filter/category/filter-category.component.d.ts +35 -0
  982. package/lib/filter/category/free-text/filter-category-free-text.component.d.ts +21 -0
  983. package/lib/filter/category/select/filter-category-select.component.d.ts +34 -0
  984. package/lib/filter/filter-service/filter.service.d.ts +54 -0
  985. package/lib/filter/filter.component.d.ts +122 -0
  986. package/lib/filter/filter.module.d.ts +36 -0
  987. package/lib/filter/helpers/filter-active-items.helper.d.ts +3 -0
  988. package/lib/filter/helpers/filter-active.helper.d.ts +3 -0
  989. package/lib/filter/helpers/filter-get.helper.d.ts +12 -0
  990. package/lib/filter/helpers/filter-postbody.helper.d.ts +3 -0
  991. package/lib/filter/helpers/filter-query-parser.helper.d.ts +2 -0
  992. package/lib/filter/helpers/filter-query.helper.d.ts +8 -0
  993. package/lib/filter/helpers/filter-selection-validator.helper.d.ts +2 -0
  994. package/lib/filter/helpers/filter-state.helpers.d.ts +10 -0
  995. package/lib/filter/helpers/filter-update.helper.d.ts +12 -0
  996. package/lib/filter/item/boolean/filter-item-boolean.component.d.ts +21 -0
  997. package/lib/filter/item/date/filter-item-date.component.d.ts +24 -0
  998. package/lib/filter/item/date-range/filter-item-date-range.component.d.ts +31 -0
  999. package/lib/filter/item/free-text/filter-item-free-text.component.d.ts +25 -0
  1000. package/lib/filter/item/multi-select/filter-item-multi-select.component.d.ts +21 -0
  1001. package/lib/filter/item/single-select/filter-item-single-select.component.d.ts +24 -0
  1002. package/lib/filter/model/filter-config.interface.d.ts +83 -0
  1003. package/lib/filter/model/filter-post-body.interface.d.ts +8 -0
  1004. package/lib/filter/model/filter-reducer.interface.d.ts +4 -0
  1005. package/lib/filter/model/filter-state.interface.d.ts +12 -0
  1006. package/lib/filter/model/filter-types.interface.d.ts +1 -0
  1007. package/lib/filter/pipes/localeDate.pipe.d.ts +15 -0
  1008. package/lib/filter/services/dependent-filters.service.d.ts +19 -0
  1009. package/lib/filter/services/filter-rest-param.tools.d.ts +22 -0
  1010. package/lib/filter/services/filter-router-connector.service.d.ts +23 -0
  1011. package/lib/filter/store/filter.actions.d.ts +91 -0
  1012. package/lib/filter/store/filter.reducer.d.ts +3 -0
  1013. package/lib/filter/store/filter.selector.d.ts +128 -0
  1014. package/lib/forms/__mocks__/mock-calendar.component.d.ts +11 -0
  1015. package/lib/forms/__mocks__/mock-checkbox-chips-item.component.d.ts +8 -0
  1016. package/lib/forms/__mocks__/mock-checkbox-chips.component.d.ts +10 -0
  1017. package/lib/forms/__mocks__/mock-checkbox.component.d.ts +14 -0
  1018. package/lib/forms/__mocks__/mock-checkboxes.component.d.ts +11 -0
  1019. package/lib/forms/__mocks__/mock-datepicker.component.d.ts +12 -0
  1020. package/lib/forms/__mocks__/mock-dropdown.component.d.ts +15 -0
  1021. package/lib/forms/__mocks__/mock-filter-form-items.component.d.ts +8 -0
  1022. package/lib/forms/__mocks__/mock-form-error.component.d.ts +7 -0
  1023. package/lib/forms/__mocks__/mock-form-group-error.component.d.ts +8 -0
  1024. package/lib/forms/__mocks__/mock-form-hint.component.d.ts +10 -0
  1025. package/lib/forms/__mocks__/mock-form-label.component.d.ts +12 -0
  1026. package/lib/forms/__mocks__/mock-form-readonly.component.d.ts +8 -0
  1027. package/lib/forms/__mocks__/mock-form-viewonly.component.d.ts +8 -0
  1028. package/lib/forms/__mocks__/mock-forms.module.d.ts +48 -0
  1029. package/lib/forms/__mocks__/mock-input.component.d.ts +25 -0
  1030. package/lib/forms/__mocks__/mock-pin-code.component.d.ts +21 -0
  1031. package/lib/forms/__mocks__/mock-radio-buttons.component.d.ts +14 -0
  1032. package/lib/forms/__mocks__/mock-switch.component.d.ts +19 -0
  1033. package/lib/forms/__mocks__/mock-switches.component.d.ts +19 -0
  1034. package/lib/forms/__mocks__/mock-textarea.component.d.ts +19 -0
  1035. package/lib/forms/checkbox-chips/checkbox-chips.component.d.ts +116 -0
  1036. package/lib/forms/checkbox-chips/item/checkbox-chips-item.component.d.ts +10 -0
  1037. package/lib/forms/checkbox-chips/services/checkbox-chips.service.d.ts +10 -0
  1038. package/lib/forms/checkboxes/checkbox/checkbox.component.d.ts +24 -0
  1039. package/lib/forms/checkboxes/checkboxes-service/checkboxes.service.d.ts +23 -0
  1040. package/lib/forms/checkboxes/checkboxes.component.d.ts +135 -0
  1041. package/lib/forms/datepicker/adapter/date-adapter.d.ts +55 -0
  1042. package/lib/forms/datepicker/calendar/calendar.component.d.ts +57 -0
  1043. package/lib/forms/datepicker/datepicker.component.d.ts +158 -0
  1044. package/lib/forms/datepicker/service/timepicker.service.d.ts +12 -0
  1045. package/lib/forms/dropdown/dropdown.component.d.ts +186 -0
  1046. package/lib/forms/dropdown/options/dropdown-options.component.d.ts +30 -0
  1047. package/lib/forms/file-upload/file-upload.component.d.ts +164 -0
  1048. package/lib/forms/file-upload/model/file-upload.model.d.ts +91 -0
  1049. package/lib/forms/file-upload/services/file-upload.service.d.ts +13 -0
  1050. package/lib/forms/forms/forms.component.d.ts +10 -0
  1051. package/lib/forms/input/helpers/get-value-with-unit.d.ts +2 -0
  1052. package/lib/forms/input/input.component.d.ts +334 -0
  1053. package/lib/forms/input/options/input-options.component.d.ts +26 -0
  1054. package/lib/forms/input/options/input-options.directive.d.ts +81 -0
  1055. package/lib/forms/input/units/input-units.component.d.ts +21 -0
  1056. package/lib/forms/model/datepicker.d.ts +35 -0
  1057. package/lib/forms/model/form-options-resolver.d.ts +65 -0
  1058. package/lib/forms/model/forms.interface.d.ts +520 -0
  1059. package/lib/forms/model/options.interface.d.ts +84 -0
  1060. package/lib/forms/model/radio-buttons.d.ts +6 -0
  1061. package/lib/forms/multi-input/interfaces/multi-input-chip.interface.d.ts +1 -0
  1062. package/lib/forms/multi-input/multi-input-chip/multi-input-chip.component.d.ts +26 -0
  1063. package/lib/forms/multi-input/multi-input-menu/multi-input-menu.component.d.ts +35 -0
  1064. package/lib/forms/multi-input/multi-input-service/multi-input.service.d.ts +27 -0
  1065. package/lib/forms/multi-input/multi-input.component.d.ts +166 -0
  1066. package/lib/forms/pin-code/pin-code-service/pin-code.service.d.ts +28 -0
  1067. package/lib/forms/pin-code/pin-code.component.d.ts +154 -0
  1068. package/lib/forms/qd-form.module.d.ts +72 -0
  1069. package/lib/forms/radio-buttons/radio-buttons-service/radio-buttons.service.d.ts +16 -0
  1070. package/lib/forms/radio-buttons/radio-buttons.component.d.ts +125 -0
  1071. package/lib/forms/reactive-forms/controls/form-array-factory.service.d.ts +13 -0
  1072. package/lib/forms/reactive-forms/controls/form-array.d.ts +236 -0
  1073. package/lib/forms/reactive-forms/controls/form-builder.d.ts +98 -0
  1074. package/lib/forms/reactive-forms/controls/form-control.d.ts +18 -0
  1075. package/lib/forms/reactive-forms/controls/form-group.d.ts +3 -0
  1076. package/lib/forms/richtext/richtext.component.d.ts +108 -0
  1077. package/lib/forms/shared/components/filter-form-items/filter-form-items.component.d.ts +12 -0
  1078. package/lib/forms/shared/components/form-error/form-error.component.d.ts +17 -0
  1079. package/lib/forms/shared/components/form-hint/form-hint.component.d.ts +14 -0
  1080. package/lib/forms/shared/components/form-input/form-input.component.d.ts +18 -0
  1081. package/lib/forms/shared/components/form-label/form-label.component.d.ts +17 -0
  1082. package/lib/forms/shared/components/form-readonly/form-readonly.component.d.ts +15 -0
  1083. package/lib/forms/shared/components/form-viewonly/form-viewonly.component.d.ts +18 -0
  1084. package/lib/forms/shared/helpers/forms-options.helpers.d.ts +5 -0
  1085. package/lib/forms/shared/helpers/forms.helpers.d.ts +81 -0
  1086. package/lib/forms/shared/helpers/has-validators.helpers.d.ts +2 -0
  1087. package/lib/forms/shared/services/action-emitter.service.d.ts +12 -0
  1088. package/lib/forms/shared/services/form-keyboard.service.d.ts +15 -0
  1089. package/lib/forms/shared/services/form-options.service.d.ts +33 -0
  1090. package/lib/forms/shared/services/options-resolver.registry.d.ts +11 -0
  1091. package/lib/forms/shared/validators/validators.d.ts +126 -0
  1092. package/lib/forms/switches/switch/switch.component.d.ts +27 -0
  1093. package/lib/forms/switches/switches-service/switches.service.d.ts +14 -0
  1094. package/lib/forms/switches/switches.component.d.ts +125 -0
  1095. package/lib/forms/textarea/textarea.component.d.ts +118 -0
  1096. package/lib/grid/__mocks__/mock-column.directive.d.ts +6 -0
  1097. package/lib/grid/__mocks__/mock-columns.directive.d.ts +11 -0
  1098. package/lib/grid/__mocks__/mock-grid.module.d.ts +11 -0
  1099. package/lib/grid/directives/column-auto-fill.directive.d.ts +30 -0
  1100. package/lib/grid/directives/column-break-before.directive.d.ts +30 -0
  1101. package/lib/grid/directives/column-disable-responsive-colspans.directive.d.ts +35 -0
  1102. package/lib/grid/directives/column-full-grid-width.directive.d.ts +31 -0
  1103. package/lib/grid/directives/column-next-in-same-row.directive.d.ts +35 -0
  1104. package/lib/grid/directives/column.directive.d.ts +49 -0
  1105. package/lib/grid/directives/columns-disable-auto-fill.directive.d.ts +32 -0
  1106. package/lib/grid/directives/columns-disable-responsive-colspans.directive.d.ts +30 -0
  1107. package/lib/grid/directives/columns-max.directive.d.ts +35 -0
  1108. package/lib/grid/directives/columns.directive.d.ts +43 -0
  1109. package/lib/grid/grid.component.d.ts +31 -0
  1110. package/lib/grid/grid.module.d.ts +34 -0
  1111. package/lib/grid/model/grid-config.interface.d.ts +34 -0
  1112. package/lib/grid/model/subgrid-config.interface.d.ts +27 -0
  1113. package/lib/grid/services/grid-auto-fill.service.d.ts +39 -0
  1114. package/lib/grid/services/grid.service.d.ts +12 -0
  1115. package/lib/grid/subgrid/subgrid.component.d.ts +43 -0
  1116. package/lib/helpers/html-plaintext.helper.d.ts +1 -0
  1117. package/lib/helpers/language.helper.d.ts +1 -0
  1118. package/lib/helpers/load-javascript-asset.helper.d.ts +1 -0
  1119. package/lib/helpers/relative-time.helper.d.ts +3 -0
  1120. package/lib/icon/__mocks__/mock-icon.component.d.ts +9 -0
  1121. package/lib/icon/__mocks__/mock-icon.module.d.ts +9 -0
  1122. package/lib/icon/custom-icons/logo.d.ts +1 -0
  1123. package/lib/icon/icon/icon-definitions.d.ts +6 -0
  1124. package/lib/icon/icon/icon.component.d.ts +28 -0
  1125. package/lib/icon/icon.module.d.ts +10 -0
  1126. package/lib/image/__mocks__/mock-image.component.d.ts +10 -0
  1127. package/lib/image/__mocks__/mock-image.module.d.ts +9 -0
  1128. package/lib/image/image/image.component.d.ts +63 -0
  1129. package/lib/image/image.module.d.ts +12 -0
  1130. package/lib/layout/__mocks__/mock-action-bar.component.d.ts +14 -0
  1131. package/lib/layout/__mocks__/mock-active-content-tab.directive.d.ts +7 -0
  1132. package/lib/layout/__mocks__/mock-button-enabled.directive.d.ts +7 -0
  1133. package/lib/layout/__mocks__/mock-layout-container.component.d.ts +5 -0
  1134. package/lib/layout/__mocks__/mock-layout-renderer.component.d.ts +13 -0
  1135. package/lib/layout/__mocks__/mock-layout.module.d.ts +30 -0
  1136. package/lib/layout/__mocks__/mock-page-process-header-title.component.d.ts +5 -0
  1137. package/lib/layout/__mocks__/mock-page-process-header.component.d.ts +26 -0
  1138. package/lib/layout/__mocks__/mock-page-title.component.d.ts +7 -0
  1139. package/lib/layout/__mocks__/mock-panel-title.component.d.ts +7 -0
  1140. package/lib/layout/__mocks__/mock-panel.component.d.ts +9 -0
  1141. package/lib/layout/__mocks__/mock-truncated-text.directive.d.ts +12 -0
  1142. package/lib/layout/action-bar/action-bar.component.d.ts +33 -0
  1143. package/lib/layout/action-bar/button-enabled.directive.d.ts +25 -0
  1144. package/lib/layout/container/container.component.d.ts +67 -0
  1145. package/lib/layout/content/page-process-header/page-process-header/page-process-header.component.d.ts +101 -0
  1146. package/lib/layout/content/page-process-header/page-process-header-title/page-process-header-title.component.d.ts +10 -0
  1147. package/lib/layout/content/page-title/page-title.component.d.ts +22 -0
  1148. package/lib/layout/directives/active-content-tab.directive.d.ts +21 -0
  1149. package/lib/layout/directives/calculate-full-height.directive.d.ts +21 -0
  1150. package/lib/layout/directives/viewport-adaptive.directive.d.ts +7 -0
  1151. package/lib/layout/force-line-break/force-line-break.directive.d.ts +8 -0
  1152. package/lib/layout/interfaces/process-list.d.ts +9 -0
  1153. package/lib/layout/layout-renderer/layout-renderer.component.d.ts +26 -0
  1154. package/lib/layout/layout.module.d.ts +49 -0
  1155. package/lib/layout/modal-fullscreen-container/modal-fullscreen-container.component.d.ts +47 -0
  1156. package/lib/layout/panel/container/panel.component.d.ts +29 -0
  1157. package/lib/layout/panel/title/panel-title.component.d.ts +23 -0
  1158. package/lib/layout/panel/types/panel-types.d.ts +5 -0
  1159. package/lib/layout/service/layout.service.d.ts +24 -0
  1160. package/lib/layout/service/panel.service.d.ts +13 -0
  1161. package/lib/lists/__mocks__/mock-container-pairs-caption.component.d.ts +5 -0
  1162. package/lib/lists/__mocks__/mock-container-pairs-container.component.d.ts +5 -0
  1163. package/lib/lists/__mocks__/mock-container-pairs-header.component.d.ts +5 -0
  1164. package/lib/lists/__mocks__/mock-container-pairs-item.component.d.ts +5 -0
  1165. package/lib/lists/__mocks__/mock-container-pairs-value.component.d.ts +5 -0
  1166. package/lib/lists/__mocks__/mock-list.module.d.ts +35 -0
  1167. package/lib/lists/__mocks__/mock-status-error.component.d.ts +5 -0
  1168. package/lib/lists/__mocks__/mock-status-pairs-caption.component.d.ts +5 -0
  1169. package/lib/lists/__mocks__/mock-status-pairs-item.component.d.ts +5 -0
  1170. package/lib/lists/__mocks__/mock-status-pairs-value.component.d.ts +5 -0
  1171. package/lib/lists/__mocks__/mock-status-pairs.component.d.ts +5 -0
  1172. package/lib/lists/__mocks__/mock-vertical-pairs-caption.component.d.ts +6 -0
  1173. package/lib/lists/__mocks__/mock-vertical-pairs-item.component.d.ts +5 -0
  1174. package/lib/lists/__mocks__/mock-vertical-pairs-value.component.d.ts +6 -0
  1175. package/lib/lists/__mocks__/mock-vertical-pairs.component.d.ts +5 -0
  1176. package/lib/lists/list.module.d.ts +45 -0
  1177. package/lib/lists/model/list.interface.d.ts +5 -0
  1178. package/lib/lists/pairs/container-pairs/container-pairs-caption/container-pairs-caption.component.d.ts +10 -0
  1179. package/lib/lists/pairs/container-pairs/container-pairs-container/container-pairs-container.component.d.ts +24 -0
  1180. package/lib/lists/pairs/container-pairs/container-pairs-header/container-pairs-header.component.d.ts +10 -0
  1181. package/lib/lists/pairs/container-pairs/container-pairs-item/container-pairs-item.component.d.ts +11 -0
  1182. package/lib/lists/pairs/container-pairs/container-pairs-value/container-pairs-value.component.d.ts +10 -0
  1183. package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-caption/horizontal-pairs-caption.component.d.ts +10 -0
  1184. package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-container/horizontal-pairs.component.d.ts +25 -0
  1185. package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-item/horizontal-pairs-item.component.d.ts +11 -0
  1186. package/lib/lists/pairs/horizontal-pairs/horizontal-pairs-value/horizontal-pairs-value.component.d.ts +10 -0
  1187. package/lib/lists/pairs/status-pairs/status-pairs-caption/status-pairs-caption.component.d.ts +10 -0
  1188. package/lib/lists/pairs/status-pairs/status-pairs-container/status-pairs.component.d.ts +36 -0
  1189. package/lib/lists/pairs/status-pairs/status-pairs-error/status-pairs-error.component.d.ts +16 -0
  1190. package/lib/lists/pairs/status-pairs/status-pairs-item/status-pairs-item.component.d.ts +17 -0
  1191. package/lib/lists/pairs/status-pairs/status-pairs-value/status-pairs-value.component.d.ts +10 -0
  1192. package/lib/lists/pairs/vertical-pairs/vertical-pairs-caption/vertical-pairs-caption.component.d.ts +10 -0
  1193. package/lib/lists/pairs/vertical-pairs/vertical-pairs-container/vertical-pairs.component.d.ts +25 -0
  1194. package/lib/lists/pairs/vertical-pairs/vertical-pairs-item/vertical-pairs-item.component.d.ts +20 -0
  1195. package/lib/lists/pairs/vertical-pairs/vertical-pairs-value/vertical-pairs-value.component.d.ts +10 -0
  1196. package/lib/master-layout/__mocks__/mock-header-widget.component.d.ts +16 -0
  1197. package/lib/master-layout/__mocks__/mock-master-layout-banner.component.d.ts +5 -0
  1198. package/lib/master-layout/__mocks__/mock-master-layout-footer.component.d.ts +5 -0
  1199. package/lib/master-layout/__mocks__/mock-master-layout-header.component.d.ts +15 -0
  1200. package/lib/master-layout/__mocks__/mock-master-layout.component.d.ts +9 -0
  1201. package/lib/master-layout/__mocks__/mock-master-layout.module.d.ts +18 -0
  1202. package/lib/master-layout/header-widget/header-widget.component.d.ts +55 -0
  1203. package/lib/master-layout/master-layout/master-layout.component.d.ts +48 -0
  1204. package/lib/master-layout/master-layout-banner/master-layout-banner.component.d.ts +25 -0
  1205. package/lib/master-layout/master-layout-footer/master-layout-footer.component.d.ts +10 -0
  1206. package/lib/master-layout/master-layout-header/master-layout-header.component.d.ts +48 -0
  1207. package/lib/master-layout/master-layout.module.d.ts +30 -0
  1208. package/lib/master-layout/model/page-level.d.ts +5 -0
  1209. package/lib/master-layout/model/service-navigation.d.ts +3 -0
  1210. package/lib/master-layout/service/language-from-url.service.d.ts +14 -0
  1211. package/lib/master-layout/service/master-layout.service.d.ts +16 -0
  1212. package/lib/master-layout/service-navigation/service-navigation.component.d.ts +13 -0
  1213. package/lib/navigation/stepper/__mocks__/mock-step-action.component.d.ts +16 -0
  1214. package/lib/navigation/stepper/__mocks__/mock-step-item.component.d.ts +17 -0
  1215. package/lib/navigation/stepper/__mocks__/mock-step.component.d.ts +18 -0
  1216. package/lib/navigation/stepper/__mocks__/mock-stepper.component.d.ts +7 -0
  1217. package/lib/navigation/stepper/__mocks__/mock-stepper.module.d.ts +16 -0
  1218. package/lib/navigation/stepper/interfaces/stepper.d.ts +12 -0
  1219. package/lib/navigation/stepper/step/step.component.d.ts +125 -0
  1220. package/lib/navigation/stepper/step-action/step-action.component.d.ts +29 -0
  1221. package/lib/navigation/stepper/step-item/step-item.component.d.ts +35 -0
  1222. package/lib/navigation/stepper/stepper/stepper.component.d.ts +127 -0
  1223. package/lib/navigation/stepper/stepper.module.d.ts +21 -0
  1224. package/lib/navigation/tab-bar/__mocks__/mock-tab-bar.module.d.ts +12 -0
  1225. package/lib/navigation/tab-bar/__mocks__/mock-tab-link.component.d.ts +7 -0
  1226. package/lib/navigation/tab-bar/__mocks__/mock-tab-nav-bar.component.d.ts +5 -0
  1227. package/lib/navigation/tab-bar/tab-bar.module.d.ts +13 -0
  1228. package/lib/navigation/tab-bar/tab-link/tab-link.component.d.ts +26 -0
  1229. package/lib/navigation/tab-bar/tab-nav-bar/tab-nav-bar.component.d.ts +11 -0
  1230. package/lib/navigation/tabs/__mocks__/mock-tab-action.component.d.ts +11 -0
  1231. package/lib/navigation/tabs/__mocks__/mock-tab-item.component.d.ts +17 -0
  1232. package/lib/navigation/tabs/__mocks__/mock-tab-pending-tasks.component.d.ts +9 -0
  1233. package/lib/navigation/tabs/__mocks__/mock-tab.component.d.ts +19 -0
  1234. package/lib/navigation/tabs/__mocks__/mock-tabs-page-leave-handler.component.d.ts +7 -0
  1235. package/lib/navigation/tabs/__mocks__/mock-tabs.component.d.ts +15 -0
  1236. package/lib/navigation/tabs/__mocks__/mock-tabs.module.d.ts +20 -0
  1237. package/lib/navigation/tabs/interfaces/tabs.interface.d.ts +27 -0
  1238. package/lib/navigation/tabs/services/tabs.service.d.ts +25 -0
  1239. package/lib/navigation/tabs/tab/tab.component.d.ts +79 -0
  1240. package/lib/navigation/tabs/tab-action/tab-action.component.d.ts +16 -0
  1241. package/lib/navigation/tabs/tab-item/tab-item.component.d.ts +34 -0
  1242. package/lib/navigation/tabs/tab-pending-tasks/tab-pending-tasks.component.d.ts +21 -0
  1243. package/lib/navigation/tabs/tabs/tabs.component.d.ts +81 -0
  1244. package/lib/navigation/tabs/tabs.module.d.ts +22 -0
  1245. package/lib/navigation-tiles/__mocks__/mock-navigation-tile.component.d.ts +7 -0
  1246. package/lib/navigation-tiles/__mocks__/mock-navigation-tiles.component.d.ts +5 -0
  1247. package/lib/navigation-tiles/__mocks__/mock-navigation-tiles.module.d.ts +11 -0
  1248. package/lib/navigation-tiles/navigation-tile/navigation-tile.component.d.ts +22 -0
  1249. package/lib/navigation-tiles/navigation-tiles/navigation-tiles.component.d.ts +17 -0
  1250. package/lib/navigation-tiles/navigation-tiles.module.d.ts +14 -0
  1251. package/lib/notifications/__mocks__/mock-notification.component.d.ts +10 -0
  1252. package/lib/notifications/__mocks__/mock-notification.content.component.d.ts +5 -0
  1253. package/lib/notifications/__mocks__/mock-notifications-service.service.d.ts +24 -0
  1254. package/lib/notifications/__mocks__/mock-notifications.component.d.ts +6 -0
  1255. package/lib/notifications/__mocks__/mock-notifications.module.d.ts +15 -0
  1256. package/lib/notifications/directives/snackbar-listener.directive.d.ts +21 -0
  1257. package/lib/notifications/interfaces/notifications.d.ts +119 -0
  1258. package/lib/notifications/notification/notification.component.d.ts +498 -0
  1259. package/lib/notifications/notification-content/notification-content.component.d.ts +8 -0
  1260. package/lib/notifications/notifications/notifications.component.d.ts +19 -0
  1261. package/lib/notifications/notifications.module.d.ts +23 -0
  1262. package/lib/notifications/services/notifications-http-interceptor.service.d.ts +24 -0
  1263. package/lib/notifications/services/notifications-service.service.d.ts +32 -0
  1264. package/lib/notifications/services/os-notifications/desktop-notifications.service.d.ts +19 -0
  1265. package/lib/notifications/services/os-notifications/os-notifications.service.d.ts +12 -0
  1266. package/lib/notifications/services/snackbar.service.d.ts +20 -0
  1267. package/lib/notifications/snackbar/snackbar.component.d.ts +15 -0
  1268. package/lib/page/__mocks__/mock-page-footer.component.d.ts +5 -0
  1269. package/lib/page/__mocks__/mock-page-header.component.d.ts +5 -0
  1270. package/lib/page/__mocks__/mock-page.component.d.ts +6 -0
  1271. package/lib/page/__mocks__/mock-page.module.d.ts +12 -0
  1272. package/lib/page/cancel-confirmation-dialog/page-cancel-confirmation-dialog.component.d.ts +14 -0
  1273. package/lib/page/control-panel/page-control-panel.component.d.ts +46 -0
  1274. package/lib/page/footer/page-footer-custom-content.directive.d.ts +11 -0
  1275. package/lib/page/footer/page-footer.component.d.ts +18 -0
  1276. package/lib/page/info-banner/page-info-banner.component.d.ts +93 -0
  1277. package/lib/page/model/page-config.interface.d.ts +494 -0
  1278. package/lib/page/model/page-control-panel-config.interface.d.ts +23 -0
  1279. package/lib/page/model/page-footer-action.interface.d.ts +45 -0
  1280. package/lib/page/model/page-header-facet.interface.d.ts +85 -0
  1281. package/lib/page/model/page-info-banner.interface.d.ts +28 -0
  1282. package/lib/page/model/page-object-resolver.d.ts +48 -0
  1283. package/lib/page/object-header/context-select-dialog/context-select-dialog.component.d.ts +34 -0
  1284. package/lib/page/object-header/dynamic-facet/dynamic-facet.component.d.ts +21 -0
  1285. package/lib/page/object-header/dynamic-facet/dynamic-facet.directive.d.ts +8 -0
  1286. package/lib/page/object-header/dynamic-facets.service.d.ts +11 -0
  1287. package/lib/page/object-header/facets/crititcality-facet/criticality-facet.component.d.ts +11 -0
  1288. package/lib/page/object-header/facets/date-facet/date-facet.component.d.ts +9 -0
  1289. package/lib/page/object-header/facets/multi-select-facet/multi-select-facet.component.d.ts +10 -0
  1290. package/lib/page/object-header/facets/progress-facet/progress-facet.component.d.ts +9 -0
  1291. package/lib/page/object-header/facets/references-facet/references-facet.component.d.ts +12 -0
  1292. package/lib/page/object-header/facets/single-select-facet/single-select-facet.component.d.ts +10 -0
  1293. package/lib/page/object-header/facets/status-facet/status-facet.component.d.ts +10 -0
  1294. package/lib/page/object-header/facets/value-facet/value-facet.component.d.ts +9 -0
  1295. package/lib/page/object-header/page-object-header.component.d.ts +79 -0
  1296. package/lib/page/page.component.d.ts +445 -0
  1297. package/lib/page/page.module.d.ts +52 -0
  1298. package/lib/page/shared/directives/connect-form-state-to-page.directive.d.ts +47 -0
  1299. package/lib/page/shared/services/context.service.d.ts +50 -0
  1300. package/lib/page/shared/services/form-group-manager.service.d.ts +86 -0
  1301. package/lib/page/shared/services/page-footer.service.d.ts +23 -0
  1302. package/lib/page/shared/services/page-store.service.d.ts +15 -0
  1303. package/lib/page/shared/services/page-submit-action.service.d.ts +22 -0
  1304. package/lib/page/shared/services/resolver-trigger.service.d.ts +13 -0
  1305. package/lib/page-stepper/adaptors/page-stepper-adapter.directive.d.ts +46 -0
  1306. package/lib/page-stepper/cancel-dialog/page-stepper-cancel-dialog.component.d.ts +9 -0
  1307. package/lib/page-stepper/header/page-step-header.component.d.ts +32 -0
  1308. package/lib/page-stepper/model/page-step-resolver.token.d.ts +3 -0
  1309. package/lib/page-stepper/model/page-step.resolver.d.ts +10 -0
  1310. package/lib/page-stepper/model/qd-page-stepper-config.d.ts +86 -0
  1311. package/lib/page-stepper/page-step/page-step.component.d.ts +32 -0
  1312. package/lib/page-stepper/page-stepper.component.d.ts +62 -0
  1313. package/lib/page-stepper/page-stepper.module.d.ts +26 -0
  1314. package/lib/page-tabs/adaptors/page-tabs-adapter.directive.d.ts +48 -0
  1315. package/lib/page-tabs/model/page-tabs-config.d.ts +125 -0
  1316. package/lib/page-tabs/model/page-tabs-selection-event.d.ts +22 -0
  1317. package/lib/page-tabs/page-tab/page-tab.component.d.ts +33 -0
  1318. package/lib/page-tabs/page-tab-header/counter/page-tab-header-counters.component.d.ts +13 -0
  1319. package/lib/page-tabs/page-tab-header/page-tab-header.component.d.ts +34 -0
  1320. package/lib/page-tabs/page-tabs.component.d.ts +154 -0
  1321. package/lib/page-tabs/page-tabs.module.d.ts +22 -0
  1322. package/lib/panel-section/actions/panel-section-actions.component.d.ts +15 -0
  1323. package/lib/panel-section/model/panel-section-config.interface.d.ts +68 -0
  1324. package/lib/panel-section/model/panel-section-status-config.interface.d.ts +12 -0
  1325. package/lib/panel-section/model/panel-section-text-paragraph-config.interface.d.ts +15 -0
  1326. package/lib/panel-section/panel-section.component.d.ts +55 -0
  1327. package/lib/panel-section/panel-section.module.d.ts +19 -0
  1328. package/lib/panel-section/services/panel-section-action.service.d.ts +9 -0
  1329. package/lib/panel-section/status/panel-section-status.component.d.ts +8 -0
  1330. package/lib/panel-section/text-paragraph/panel-section-text-paragraph.component.d.ts +10 -0
  1331. package/lib/place-holder/__mocks__/mock-place-holder.component.d.ts +6 -0
  1332. package/lib/place-holder/__mocks__/mock-place-holder.module.d.ts +9 -0
  1333. package/lib/place-holder/place-holder/place-holder.component.d.ts +11 -0
  1334. package/lib/place-holder/place-holder.module.d.ts +10 -0
  1335. package/lib/progress-bar/__mocks__/mock-indeterminate-progress-bar.component.d.ts +5 -0
  1336. package/lib/progress-bar/__mocks__/mock-percentage-progress-bar.component.d.ts +8 -0
  1337. package/lib/progress-bar/__mocks__/mock-progress-bar.module.d.ts +12 -0
  1338. package/lib/progress-bar/indeterminate/indeterminate-progress-bar.component.d.ts +8 -0
  1339. package/lib/progress-bar/percentage/percentage-progress-bar.component.d.ts +24 -0
  1340. package/lib/progress-bar/progress-bar.module.d.ts +13 -0
  1341. package/lib/qd-ui-mock.module.d.ts +33 -0
  1342. package/lib/qd-ui.module.d.ts +47 -0
  1343. package/lib/quick-edit/model/quick-edit-config.d.ts +171 -0
  1344. package/lib/quick-edit/model/quick-edit-data.d.ts +13 -0
  1345. package/lib/quick-edit/qd-ng-for.directive.d.ts +16 -0
  1346. package/lib/quick-edit/quick-edit.component.d.ts +198 -0
  1347. package/lib/quick-edit/quick-edit.module.d.ts +23 -0
  1348. package/lib/search/__mocks__/mock-search.component.d.ts +7 -0
  1349. package/lib/search/__mocks__/mock-search.module.d.ts +10 -0
  1350. package/lib/search/helpers/search-update.helper.d.ts +4 -0
  1351. package/lib/search/model/search-options.interface.d.ts +133 -0
  1352. package/lib/search/model/search-post-body.d.ts +10 -0
  1353. package/lib/search/model/search-store.interface.d.ts +10 -0
  1354. package/lib/search/search.component.d.ts +84 -0
  1355. package/lib/search/search.module.d.ts +18 -0
  1356. package/lib/search/services/search-router-connector.service.d.ts +25 -0
  1357. package/lib/search/services/search-store.service.d.ts +14 -0
  1358. package/lib/search/services/search.service.d.ts +27 -0
  1359. package/lib/search/store/search.actions.d.ts +25 -0
  1360. package/lib/search/store/search.reducer.d.ts +3 -0
  1361. package/lib/search/store/search.selector.d.ts +14 -0
  1362. package/lib/section/__mocks__/mock-section-toolbar.component.d.ts +6 -0
  1363. package/lib/section/__mocks__/mock-section.component.d.ts +6 -0
  1364. package/lib/section/__mocks__/mock-section.module.d.ts +11 -0
  1365. package/lib/section/adaptors/section-adapter.directive.d.ts +46 -0
  1366. package/lib/section/connectors/table/connector-table-context.directive.d.ts +122 -0
  1367. package/lib/section/connectors/table/connector-table-filter.directive.d.ts +52 -0
  1368. package/lib/section/connectors/table/connector-table-search.directive.d.ts +51 -0
  1369. package/lib/section/model/section-config.interface.d.ts +243 -0
  1370. package/lib/section/model/toolbar-components.interface.d.ts +27 -0
  1371. package/lib/section/section.component.d.ts +115 -0
  1372. package/lib/section/section.module.d.ts +28 -0
  1373. package/lib/section/services/section-toolbar-action.service.d.ts +10 -0
  1374. package/lib/section/services/toolbar-components.service.d.ts +9 -0
  1375. package/lib/section/toolbar/action/section-toolbar-action.component.d.ts +35 -0
  1376. package/lib/section/toolbar/section-toolbar.component.d.ts +23 -0
  1377. package/lib/shell/__mocks__/mock-counter-badge.component.d.ts +5 -0
  1378. package/lib/shell/__mocks__/mock-header-widget-desktop.component.d.ts +15 -0
  1379. package/lib/shell/__mocks__/mock-header-widget-mobile.component.d.ts +15 -0
  1380. package/lib/shell/__mocks__/mock-shell-footer.component.d.ts +5 -0
  1381. package/lib/shell/__mocks__/mock-shell-header-banner.component.d.ts +5 -0
  1382. package/lib/shell/__mocks__/mock-shell-header-search.component.d.ts +5 -0
  1383. package/lib/shell/__mocks__/mock-shell-header-widget.component.d.ts +6 -0
  1384. package/lib/shell/__mocks__/mock-shell-header.component.d.ts +6 -0
  1385. package/lib/shell/__mocks__/mock-shell-toolbar-item.component.d.ts +6 -0
  1386. package/lib/shell/__mocks__/mock-shell-toolbar.component.d.ts +5 -0
  1387. package/lib/shell/__mocks__/mock-shell.component.d.ts +6 -0
  1388. package/lib/shell/__mocks__/mock-shell.module.d.ts +28 -0
  1389. package/lib/shell/footer/shell-footer.component.d.ts +10 -0
  1390. package/lib/shell/header/banner/shell-header-banner.component.d.ts +11 -0
  1391. package/lib/shell/header/counter-badge/counter-badge.component.d.ts +9 -0
  1392. package/lib/shell/header/search/shell-header-search.component.d.ts +7 -0
  1393. package/lib/shell/header/service-navigation/shell-service-navigation.component.d.ts +43 -0
  1394. package/lib/shell/header/service-navigation/shell-service-navigation.module.d.ts +8 -0
  1395. package/lib/shell/header/shell-header.component.d.ts +71 -0
  1396. package/lib/shell/header/toolbar/shell-toolbar.component.d.ts +10 -0
  1397. package/lib/shell/header/toolbar/toolbar-item/shell-toolbar-item.component.d.ts +11 -0
  1398. package/lib/shell/header/widget/shell-header-widget.component.d.ts +33 -0
  1399. package/lib/shell/left/navigation/link/shell-left-navigation-link.component.d.ts +8 -0
  1400. package/lib/shell/left/navigation/shell-left-navigation.component.d.ts +7 -0
  1401. package/lib/shell/left/shell-left.component.d.ts +11 -0
  1402. package/lib/shell/model/default-config.d.ts +2 -0
  1403. package/lib/shell/model/eportal.interface.d.ts +19 -0
  1404. package/lib/shell/model/route-data.interface.d.ts +2 -0
  1405. package/lib/shell/model/shell-config.interface.d.ts +80 -0
  1406. package/lib/shell/model/shell-footer-copyright-info.interface.d.ts +15 -0
  1407. package/lib/shell/model/shell-header-widget-config.interface.d.ts +307 -0
  1408. package/lib/shell/model/shell-navigation-config.interface.d.ts +24 -0
  1409. package/lib/shell/model/shell-service-navigation-config.interface.d.ts +341 -0
  1410. package/lib/shell/model/shell-toolbar-config.interface.d.ts +21 -0
  1411. package/lib/shell/right/notification/shell-notification.component.d.ts +31 -0
  1412. package/lib/shell/right/notifications/shell-notifications.component.d.ts +13 -0
  1413. package/lib/shell/right/shell-right.component.d.ts +19 -0
  1414. package/lib/shell/right/toolbar/shell-right-toolbar.component.d.ts +12 -0
  1415. package/lib/shell/services/banner.service.d.ts +11 -0
  1416. package/lib/shell/services/eportal-language.service.d.ts +14 -0
  1417. package/lib/shell/services/navigation.service.d.ts +23 -0
  1418. package/lib/shell/services/pams-environment.service.d.ts +8 -0
  1419. package/lib/shell/services/service-navigation.service.d.ts +58 -0
  1420. package/lib/shell/services/shell-header-minimization.service.d.ts +18 -0
  1421. package/lib/shell/services/shell-header-widget.service.d.ts +33 -0
  1422. package/lib/shell/services/shell-left.service.d.ts +15 -0
  1423. package/lib/shell/services/shell-right.service.d.ts +23 -0
  1424. package/lib/shell/shell.component.d.ts +102 -0
  1425. package/lib/shell/shell.module.d.ts +33 -0
  1426. package/lib/spinner/spinner.component.d.ts +5 -0
  1427. package/lib/spinner/spinner.module.d.ts +10 -0
  1428. package/lib/status-indicator/__mocks__/mock-status-indicator-cpation.component.d.ts +5 -0
  1429. package/lib/status-indicator/__mocks__/mock-status-indicator-item.component.d.ts +8 -0
  1430. package/lib/status-indicator/__mocks__/mock-status-indicator.component.d.ts +11 -0
  1431. package/lib/status-indicator/__mocks__/mock-status-indicator.module.d.ts +14 -0
  1432. package/lib/status-indicator/interfaces/status-indicator.interface.d.ts +8 -0
  1433. package/lib/status-indicator/status-indicator/status-indicator.component.d.ts +27 -0
  1434. package/lib/status-indicator/status-indicator-caption/status-indicator-caption.component.d.ts +8 -0
  1435. package/lib/status-indicator/status-indicator-item/status-indicator-item.component.d.ts +20 -0
  1436. package/lib/status-indicator/status-indicator.module.d.ts +12 -0
  1437. package/lib/table/__mocks__/mock-sort.component.d.ts +9 -0
  1438. package/lib/table/__mocks__/mock-table-body-plain.component.d.ts +8 -0
  1439. package/lib/table/__mocks__/mock-table-body-tree.component.d.ts +8 -0
  1440. package/lib/table/__mocks__/mock-table-data-blank.component.d.ts +5 -0
  1441. package/lib/table/__mocks__/mock-table-data-boolean.component.d.ts +6 -0
  1442. package/lib/table/__mocks__/mock-table-data-date.component.d.ts +7 -0
  1443. package/lib/table/__mocks__/mock-table-data-integer.component.d.ts +6 -0
  1444. package/lib/table/__mocks__/mock-table-data-link.component.d.ts +9 -0
  1445. package/lib/table/__mocks__/mock-table-data-progress.component.d.ts +6 -0
  1446. package/lib/table/__mocks__/mock-table-data-text.component.d.ts +8 -0
  1447. package/lib/table/__mocks__/mock-table-empty-state.component.d.ts +8 -0
  1448. package/lib/table/__mocks__/mock-table-head.component.d.ts +7 -0
  1449. package/lib/table/__mocks__/mock-table-paginator-page-size.directive.d.ts +6 -0
  1450. package/lib/table/__mocks__/mock-table-paginator.component.d.ts +7 -0
  1451. package/lib/table/__mocks__/mock-table.component.d.ts +14 -0
  1452. package/lib/table/__mocks__/mock-table.module.d.ts +24 -0
  1453. package/lib/table/body/table-body.component.d.ts +22 -0
  1454. package/lib/table/empty-state/table-empty-state.component.d.ts +12 -0
  1455. package/lib/table/head/table-head.component.d.ts +24 -0
  1456. package/lib/table/helpers/spring-tools.d.ts +5 -0
  1457. package/lib/table/model/connectors-state.enum.d.ts +5 -0
  1458. package/lib/table/model/paginator-direction.enum.d.ts +6 -0
  1459. package/lib/table/model/sort-direction.enum.d.ts +5 -0
  1460. package/lib/table/model/table-config-actions.interface.d.ts +164 -0
  1461. package/lib/table/model/table-config-content.interface.d.ts +199 -0
  1462. package/lib/table/model/table-config.interface.d.ts +261 -0
  1463. package/lib/table/model/table-data-resolver.d.ts +75 -0
  1464. package/lib/table/model/table-data-resolver.token.d.ts +5 -0
  1465. package/lib/table/model/table-data.interface.d.ts +78 -0
  1466. package/lib/table/model/table-row-selection.interface.d.ts +11 -0
  1467. package/lib/table/model/table-store.interface.d.ts +54 -0
  1468. package/lib/table/paginator/page-size/table-paginator-page-size.component.d.ts +36 -0
  1469. package/lib/table/paginator/page-size/table-paginator-page-size.directive.d.ts +22 -0
  1470. package/lib/table/paginator/scroll-to-pagination.directive.d.ts +27 -0
  1471. package/lib/table/paginator/table-paginator.component.d.ts +43 -0
  1472. package/lib/table/row/actions/secondary/menu/table-row-actions-secondary-menu.component.d.ts +34 -0
  1473. package/lib/table/row/selection/table-row-selection.component.d.ts +17 -0
  1474. package/lib/table/row/table-row.component.d.ts +34 -0
  1475. package/lib/table/services/empty-state.service.d.ts +12 -0
  1476. package/lib/table/services/external-action-result.service.d.ts +8 -0
  1477. package/lib/table/services/filling-width.service.d.ts +38 -0
  1478. package/lib/table/services/resolver.service.d.ts +25 -0
  1479. package/lib/table/services/responsive-row.service.d.ts +27 -0
  1480. package/lib/table/services/row-selection.service.d.ts +24 -0
  1481. package/lib/table/services/secondary-actions.service.d.ts +10 -0
  1482. package/lib/table/sort/table-sort.component.d.ts +38 -0
  1483. package/lib/table/store/table-store-selector.service.d.ts +47 -0
  1484. package/lib/table/store/table-store.service.d.ts +64 -0
  1485. package/lib/table/store/table-update.helper.d.ts +22 -0
  1486. package/lib/table/store/table.actions.d.ts +153 -0
  1487. package/lib/table/store/table.reducer.d.ts +3 -0
  1488. package/lib/table/table.component.d.ts +248 -0
  1489. package/lib/table/table.module.d.ts +42 -0
  1490. package/lib/text-section/__mocks__/mock-text-section-headline.component.d.ts +5 -0
  1491. package/lib/text-section/__mocks__/mock-text-section-paragraph.component.d.ts +5 -0
  1492. package/lib/text-section/__mocks__/mock-text-section.component.d.ts +5 -0
  1493. package/lib/text-section/__mocks__/mock-text-section.module.d.ts +13 -0
  1494. package/lib/text-section/text-section-headline/text-section-headline.component.d.ts +10 -0
  1495. package/lib/text-section/text-section-paragraph/text-section-paragraph.component.d.ts +10 -0
  1496. package/lib/text-section/text-section.component.d.ts +22 -0
  1497. package/lib/text-section/text-section.module.d.ts +14 -0
  1498. package/lib/tiles/__mocks__/mock-tile-button-list.component.d.ts +5 -0
  1499. package/lib/tiles/__mocks__/mock-tile-text-list-item.component.d.ts +5 -0
  1500. package/lib/tiles/__mocks__/mock-tile-text-list.component.d.ts +5 -0
  1501. package/lib/tiles/__mocks__/mock-tile-title.component.d.ts +5 -0
  1502. package/lib/tiles/__mocks__/mock-tile.component.d.ts +6 -0
  1503. package/lib/tiles/__mocks__/mock-tiles-container-title.component.d.ts +5 -0
  1504. package/lib/tiles/__mocks__/mock-tiles-container.component.d.ts +6 -0
  1505. package/lib/tiles/__mocks__/mock-tiles.module.d.ts +21 -0
  1506. package/lib/tiles/model/tile-config.d.ts +24 -0
  1507. package/lib/tiles/model/tiles-config.d.ts +9 -0
  1508. package/lib/tiles/tile/tile.component.d.ts +22 -0
  1509. package/lib/tiles/tile-button-list/tile-button-list.component.d.ts +5 -0
  1510. package/lib/tiles/tile-text-list/tile-text-list.component.d.ts +5 -0
  1511. package/lib/tiles/tile-text-list-item/tile-text-list-item.component.d.ts +5 -0
  1512. package/lib/tiles/tile-title/tile-title.component.d.ts +5 -0
  1513. package/lib/tiles/tiles-title/tiles-title.component.d.ts +5 -0
  1514. package/lib/tiles/tiles.component.d.ts +13 -0
  1515. package/lib/tiles/tiles.module.d.ts +26 -0
  1516. package/lib/tree/body/tree-body.component.d.ts +22 -0
  1517. package/lib/tree/empty-state/tree-empty-state.component.d.ts +12 -0
  1518. package/lib/tree/error/grouped-indices-not-consecutive.error.d.ts +3 -0
  1519. package/lib/tree/head/tree-head.component.d.ts +24 -0
  1520. package/lib/tree/model/tree-column-detail.interface.d.ts +52 -0
  1521. package/lib/tree/model/tree-config-actions.interface.d.ts +57 -0
  1522. package/lib/tree/model/tree-config.interface.d.ts +237 -0
  1523. package/lib/tree/model/tree-data.interface.d.ts +43 -0
  1524. package/lib/tree/row/actions/secondary/menu/tree-row-actions-secondary-menu.component.d.ts +32 -0
  1525. package/lib/tree/row/tree-row.component.d.ts +27 -0
  1526. package/lib/tree/services/row-expander.service.d.ts +53 -0
  1527. package/lib/tree/services/tree-group.service.d.ts +27 -0
  1528. package/lib/tree/services/tree-rows.service.d.ts +29 -0
  1529. package/lib/tree/tree.component.d.ts +114 -0
  1530. package/lib/tree/tree.module.d.ts +28 -0
  1531. package/package.json +14 -7
  1532. package/public-api.d.ts +80 -0
  1533. package/src/assets/i18n/de.json +483 -0
  1534. package/src/assets/i18n/en.json +414 -0
  1535. package/src/assets/i18n/fr.json +336 -0
  1536. package/src/assets/i18n/it.json +336 -0
  1537. package/src/assets/styles/components/_components.all.scss +11 -0
  1538. package/src/assets/styles/components/_components.button.scss +213 -0
  1539. package/src/assets/styles/components/_components.chips.scss +205 -0
  1540. package/src/assets/styles/components/_components.datePicker.scss +204 -0
  1541. package/src/assets/styles/components/_components.dialog.scss +31 -0
  1542. package/src/assets/styles/components/_components.grid.scss +37 -0
  1543. package/src/assets/styles/components/_components.master-layout.scss +97 -0
  1544. package/src/assets/styles/components/_components.menuPanel.scss +49 -0
  1545. package/src/assets/styles/components/_components.paginator.scss +43 -0
  1546. package/src/assets/styles/components/_components.radio-button.scss +17 -0
  1547. package/src/assets/styles/components/_components.table.scss +230 -0
  1548. package/src/assets/styles/components/forms/_components.forms.all.scss +8 -0
  1549. package/src/assets/styles/components/forms/_components.forms.dropdown.scss +19 -0
  1550. package/src/assets/styles/components/forms/_components.forms.inputFields.scss +260 -0
  1551. package/src/assets/styles/components/forms/_components.forms.selectBox.scss +245 -0
  1552. package/src/assets/styles/components/forms/_components.forms.textField.scss +126 -0
  1553. package/src/assets/styles/elements/_elements.all.scss +1 -0
  1554. package/src/assets/styles/generic/_generic.all.scss +6 -0
  1555. package/src/assets/styles/generic/_generic.checkbox.scss +1 -0
  1556. package/src/assets/styles/generic/_generic.fonts.scss +7 -0
  1557. package/src/assets/styles/generic/_generic.layout.scss +19 -0
  1558. package/src/assets/styles/generic/_generic.material.scss +0 -0
  1559. package/src/assets/styles/generic/_generic.normalize.scss +356 -0
  1560. package/src/assets/styles/generic/_generic.resetButton.scss +6 -0
  1561. package/src/assets/styles/index.scss +9 -0
  1562. package/src/assets/styles/objects/_objects.a11y.scss +24 -0
  1563. package/src/assets/styles/objects/_objects.all.scss +3 -0
  1564. package/src/assets/styles/objects/_objects.forceLineBreak.scss +7 -0
  1565. package/src/assets/styles/objects/_objects.hasTooltip.scss +3 -0
  1566. package/src/assets/styles/settings/_setting.all.scss +13 -0
  1567. package/src/assets/styles/settings/_settings.colors.scss +50 -0
  1568. package/src/assets/styles/settings/_settings.fonts.scss +39 -0
  1569. package/src/assets/styles/settings/_settings.formFields.scss +4 -0
  1570. package/src/assets/styles/settings/_settings.globalVars.scss +18 -0
  1571. package/src/assets/styles/settings/_settings.grid.scss +43 -0
  1572. package/src/assets/styles/settings/_settings.horizontalSpacing.scss +5 -0
  1573. package/src/assets/styles/settings/_settings.iconFont.scss +4 -0
  1574. package/src/assets/styles/settings/_settings.layoutHeader.scss +15 -0
  1575. package/src/assets/styles/settings/_settings.material.scss +98 -0
  1576. package/src/assets/styles/settings/_settings.page.scss +4 -0
  1577. package/src/assets/styles/settings/_settings.shell.scss +6 -0
  1578. package/src/assets/styles/settings/_settings.variables.scss +17 -0
  1579. package/src/assets/styles/settings/_settings.verticalRythm.scss +6 -0
  1580. package/src/assets/styles/tools/_tools.all.scss +15 -0
  1581. package/src/assets/styles/tools/_tools.boxShadowOverlay.scss +6 -0
  1582. package/src/assets/styles/tools/_tools.breakpoints.scss +117 -0
  1583. package/src/assets/styles/tools/_tools.colorMapper.scss +21 -0
  1584. package/src/assets/styles/tools/_tools.convertPxToRem.scss +60 -0
  1585. package/src/assets/styles/tools/_tools.fonts.scss +51 -0
  1586. package/src/assets/styles/tools/_tools.getBaseFontSize.scss +15 -0
  1587. package/src/assets/styles/tools/_tools.grid.scss +163 -0
  1588. package/src/assets/styles/tools/_tools.layoutHeader.scss +15 -0
  1589. package/src/assets/styles/tools/_tools.layoutWidth.scss +18 -0
  1590. package/src/assets/styles/tools/_tools.mixins.scss +99 -0
  1591. package/src/assets/styles/tools/_tools.overlayBackdrop.scss +12 -0
  1592. package/src/assets/styles/tools/_tools.rwdDisabled.scss +33 -0
  1593. package/src/assets/styles/tools/_tools.text.scss +19 -0
  1594. package/src/assets/styles/tools/_tools.toolTip.scss +17 -0
  1595. package/src/assets/styles/utilities/_utilities.all.scss +1 -0
  1596. package/src/assets/styles/utilities/_utilities.display.scss +3 -0
@@ -0,0 +1,47 @@
1
+ import { Component, SkipSelf } from '@angular/core';
2
+ import { DialogRef } from '@angular/cdk/dialog';
3
+ import { QdFileCollectorService } from '../services/file-collector.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../services/file-collector.service";
6
+ import * as i2 from "@angular/cdk/dialog";
7
+ import * as i3 from "@angular/common";
8
+ import * as i4 from "../../button/button/button.component";
9
+ import * as i5 from "../../dialog/action/dialog-action.component";
10
+ import * as i6 from "../../dialog/dialog.component";
11
+ import * as i7 from "./item/file-collector-dialog-item.component";
12
+ import * as i8 from "@ngx-translate/core";
13
+ export class QdFileCollectorDialogComponent {
14
+ fileCollectorService;
15
+ dialogFileCollectorService;
16
+ dialogRef;
17
+ get fileUploads() {
18
+ return this.dialogFileCollectorService.fileUploads;
19
+ }
20
+ constructor(fileCollectorService, dialogFileCollectorService, dialogRef) {
21
+ this.fileCollectorService = fileCollectorService;
22
+ this.dialogFileCollectorService = dialogFileCollectorService;
23
+ this.dialogRef = dialogRef;
24
+ this.dialogFileCollectorService.config = this.fileCollectorService.config;
25
+ }
26
+ uploadFiles(files) {
27
+ Array.from(files).forEach((file) => this.dialogFileCollectorService.uploadFile(file));
28
+ }
29
+ close() {
30
+ this.dialogRef.close(this.fileUploads);
31
+ }
32
+ isCloseButtonDisabled() {
33
+ return !this.fileUploads.every(this._isFileUploadCompleted);
34
+ }
35
+ _isFileUploadCompleted(fileUpload) {
36
+ return !!fileUpload.error || fileUpload.progress === 100;
37
+ }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogComponent, deps: [{ token: i1.QdFileCollectorService, skipSelf: true }, { token: i1.QdFileCollectorService }, { token: i2.DialogRef }], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdFileCollectorDialogComponent, selector: "qd-file-collector-dialog", providers: [QdFileCollectorService], ngImport: i0, template: "<qd-dialog>\n <qd-file-collector-dialog-item\n *ngFor=\"let fileUpload of this.fileUploads\"\n [progress]=\"fileUpload.progress\"\n [collectedFile]=\"fileUpload.collectedFile\"\n [error]=\"fileUpload.error\"\n ></qd-file-collector-dialog-item>\n <qd-dialog-action>\n <button qdButton (click)=\"close()\" [disabled]=\"isCloseButtonDisabled()\">\n {{ \"i18n.qd.fileCollector.button.finish\" | translate }}\n </button>\n </qd-dialog-action>\n</qd-dialog>\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.QdButtonComponent, selector: "button[qdButton], a[qdButton], button[qd-button]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "component", type: i5.QdDialogActionComponent, selector: "qd-dialog-action" }, { kind: "component", type: i6.QdDialogComponent, selector: "qd-dialog" }, { kind: "component", type: i7.QdFileCollectorDialogItemComponent, selector: "qd-file-collector-dialog-item", inputs: ["progress", "collectedFile", "error"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
40
+ }
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: 'qd-file-collector-dialog', providers: [QdFileCollectorService], template: "<qd-dialog>\n <qd-file-collector-dialog-item\n *ngFor=\"let fileUpload of this.fileUploads\"\n [progress]=\"fileUpload.progress\"\n [collectedFile]=\"fileUpload.collectedFile\"\n [error]=\"fileUpload.error\"\n ></qd-file-collector-dialog-item>\n <qd-dialog-action>\n <button qdButton (click)=\"close()\" [disabled]=\"isCloseButtonDisabled()\">\n {{ \"i18n.qd.fileCollector.button.finish\" | translate }}\n </button>\n </qd-dialog-action>\n</qd-dialog>\n" }]
44
+ }], ctorParameters: () => [{ type: i1.QdFileCollectorService, decorators: [{
45
+ type: SkipSelf
46
+ }] }, { type: i1.QdFileCollectorService }, { type: i2.DialogRef }] });
47
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1jb2xsZWN0b3ItZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLC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core';
3
+ import { QdUploadErrorType } from '../../../models/file-upload';
4
+ import { QdFileCollectorService } from '../../../services/file-collector.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../services/file-collector.service";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@ngx-translate/core";
9
+ import * as i4 from "../../../../core/pipes/placeholder.pipe";
10
+ import * as i5 from "../../../pipes/filesize.pipe";
11
+ export class QdFileCollectorDialogItemErrorComponent {
12
+ fileCollectorService;
13
+ error;
14
+ QdUploadErrorType = QdUploadErrorType;
15
+ get maxFileSizeInBytes() {
16
+ return this.config?.maxFileSizeInBytes;
17
+ }
18
+ get invalidMimeTypeErrorMessageI18n() {
19
+ return this.config?.invalidMimeTypeErrorMessageI18n;
20
+ }
21
+ get invalidFileNameErrorMessageI18n() {
22
+ return this.config?.invalidFileNameErrorMessageI18n;
23
+ }
24
+ get config() {
25
+ return this.fileCollectorService.config;
26
+ }
27
+ constructor(fileCollectorService) {
28
+ this.fileCollectorService = fileCollectorService;
29
+ }
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemErrorComponent, deps: [{ token: i1.QdFileCollectorService }], target: i0.ɵɵFactoryTarget.Component });
31
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdFileCollectorDialogItemErrorComponent, selector: "qd-file-collector-dialog-item-error", inputs: { error: "error" }, ngImport: i0, template: "<span *ngIf=\"error.message; else errorMessageNotGiven\">{{ error.message }}</span>\n<ng-template #errorMessageNotGiven [ngSwitch]=\"error.type\">\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_MIME_TYPE\">{{\n invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_FILE_SIZE\">{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder: \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_FILE_NAME\">{{\n invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.UNKNOWN_ERROR\">{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n</ng-template>\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "pipe", type: i4.QdPlaceholderPipe, name: "placeholder" }, { kind: "pipe", type: i5.QdFileSizePipe, name: "filesize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemErrorComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ selector: 'qd-file-collector-dialog-item-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span *ngIf=\"error.message; else errorMessageNotGiven\">{{ error.message }}</span>\n<ng-template #errorMessageNotGiven [ngSwitch]=\"error.type\">\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_MIME_TYPE\">{{\n invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_FILE_SIZE\">{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder: \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.INVALID_FILE_NAME\">{{\n invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate\n }}</span>\n <span *ngSwitchCase=\"QdUploadErrorType.UNKNOWN_ERROR\">{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n</ng-template>\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"] }]
36
+ }], ctorParameters: () => [{ type: i1.QdFileCollectorService }], propDecorators: { error: [{
37
+ type: Input
38
+ }] } });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1jb2xsZWN0b3ItZGlhbG9nLWl0ZW0tZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2ZpbGUtY29sbGVjdG9yL2RpYWxvZy9pdGVtL2Vycm9yL2ZpbGUtY29sbGVjdG9yLWRpYWxvZy1pdGVtLWVycm9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9maWxlLWNvbGxlY3Rvci9kaWFsb2cvaXRlbS9lcnJvci9maWxlLWNvbGxlY3Rvci1kaWFsb2ctaXRlbS1lcnJvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUUsT0FBTyxFQUFpQixpQkFBaUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9FLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOzs7Ozs7O0FBU2xGLE1B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VcGxvYWRFcnJvclR5cGUuSU5WQUxJRF9GSUxFX05BTUVcIj57e1xuICAgIGludmFsaWRGaWxlTmFtZUVycm9yTWVzc2FnZUkxOG4gfHwgXCJpMThuLnFkLmZpbGVDb2xsZWN0b3IuaW52YWxpZC5maWxlTmFtZVwiIHwgdHJhbnNsYXRlXG4gIH19PC9zcGFuPlxuICA8c3BhbiAqbmdTd2l0Y2hDYXNlPVwiUWRVcGxvYWRFcnJvclR5cGUuVU5LTk9XTl9FUlJPUlwiPnt7IFwiaTE4bi5xZC5maWxlQ29sbGVjdG9yLmludmFsaWQudW5rbm93blwiIHwgdHJhbnNsYXRlIH19PC9zcGFuPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -0,0 +1,41 @@
1
+ // @ts-strict-ignore
2
+ import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../../../icon/icon/icon.component";
6
+ import * as i3 from "./progress/file-collector-dialog-item-progress.component";
7
+ import * as i4 from "./error/file-collector-dialog-item-error.component";
8
+ import * as i5 from "../../pipes/filesize.pipe";
9
+ export class QdFileCollectorDialogItemComponent {
10
+ progress;
11
+ collectedFile;
12
+ error;
13
+ get isSuccessful() {
14
+ return !this.error && this.progress === 100;
15
+ }
16
+ get hasError() {
17
+ return !!this.error;
18
+ }
19
+ canUpload() {
20
+ return false; // TODO discuss whether we want this feature; return !!this.error;
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdFileCollectorDialogItemComponent, selector: "qd-file-collector-dialog-item", inputs: { progress: "progress", collectedFile: "collectedFile", error: "error" }, host: { properties: { "class.success": "this.isSuccessful", "class.error": "this.hasError" } }, ngImport: i0, template: "<span class=\"name\">{{ this.collectedFile.name }}</span>\n<qd-file-collector-dialog-item-progress\n [progress]=\"this.progress\"\n [error]=\"this.error\"\n></qd-file-collector-dialog-item-progress>\n<span class=\"filesize\">{{ this.collectedFile.size | filesize | async }}</span>\n<qd-icon class=\"upload\" icon=\"dataUpload\" *ngIf=\"canUpload()\"></qd-icon>\n<qd-file-collector-dialog-item-error [error]=\"this.error\" *ngIf=\"!!this.error\"></qd-file-collector-dialog-item-error>\n", styles: [":host{color:#333;font-size:.875rem;font-weight:400;line-height:1.3125rem;position:relative;display:grid;align-items:self-start;padding:.625rem 1rem .625rem 2.875rem;border-left:transparent .1875rem solid;margin-bottom:.75rem;background:#fff;gap:.25rem 1rem;grid-template-columns:30rem auto max-content;outline:rgb(151,151,151) .0625rem solid}:host qd-file-collector-dialog-item-error{grid-column:span 2}:host .filesize{text-align:right}@media (max-width: 959.98px){:host{grid-template-columns:18.75rem auto max-content}:host .name{overflow:auto;overflow-wrap:break-word}}@media (max-width: 599.98px){:host{grid-template-columns:auto auto auto}:host .name,:host qd-file-collector-dialog-item-progress{grid-column:span 2}:host qd-file-collector-dialog-item-progress,:host .filesize{order:-1}}:host:last-child{margin-bottom:0}:host.error{border-left-color:#c70023}:host.success{border-left-color:#00813a}:host:before{position:absolute;top:.5625rem;left:.875rem;content:\"\\e964\";font-family:Quadrel-Icon,sans-serif;font-size:1.25rem}:host .upload{color:#454545;cursor:pointer;font-size:1rem}:host .upload:hover,:host .upload:focus{color:#171717}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.QdIconComponent, selector: "qd-icon", inputs: ["icon"] }, { kind: "component", type: i3.QdFileCollectorDialogItemProgressComponent, selector: "qd-file-collector-dialog-item-progress", inputs: ["progress", "error"] }, { kind: "component", type: i4.QdFileCollectorDialogItemErrorComponent, selector: "qd-file-collector-dialog-item-error", inputs: ["error"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.QdFileSizePipe, name: "filesize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'qd-file-collector-dialog-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"name\">{{ this.collectedFile.name }}</span>\n<qd-file-collector-dialog-item-progress\n [progress]=\"this.progress\"\n [error]=\"this.error\"\n></qd-file-collector-dialog-item-progress>\n<span class=\"filesize\">{{ this.collectedFile.size | filesize | async }}</span>\n<qd-icon class=\"upload\" icon=\"dataUpload\" *ngIf=\"canUpload()\"></qd-icon>\n<qd-file-collector-dialog-item-error [error]=\"this.error\" *ngIf=\"!!this.error\"></qd-file-collector-dialog-item-error>\n", styles: [":host{color:#333;font-size:.875rem;font-weight:400;line-height:1.3125rem;position:relative;display:grid;align-items:self-start;padding:.625rem 1rem .625rem 2.875rem;border-left:transparent .1875rem solid;margin-bottom:.75rem;background:#fff;gap:.25rem 1rem;grid-template-columns:30rem auto max-content;outline:rgb(151,151,151) .0625rem solid}:host qd-file-collector-dialog-item-error{grid-column:span 2}:host .filesize{text-align:right}@media (max-width: 959.98px){:host{grid-template-columns:18.75rem auto max-content}:host .name{overflow:auto;overflow-wrap:break-word}}@media (max-width: 599.98px){:host{grid-template-columns:auto auto auto}:host .name,:host qd-file-collector-dialog-item-progress{grid-column:span 2}:host qd-file-collector-dialog-item-progress,:host .filesize{order:-1}}:host:last-child{margin-bottom:0}:host.error{border-left-color:#c70023}:host.success{border-left-color:#00813a}:host:before{position:absolute;top:.5625rem;left:.875rem;content:\"\\e964\";font-family:Quadrel-Icon,sans-serif;font-size:1.25rem}:host .upload{color:#454545;cursor:pointer;font-size:1rem}:host .upload:hover,:host .upload:focus{color:#171717}\n"] }]
28
+ }], propDecorators: { progress: [{
29
+ type: Input
30
+ }], collectedFile: [{
31
+ type: Input
32
+ }], error: [{
33
+ type: Input
34
+ }], isSuccessful: [{
35
+ type: HostBinding,
36
+ args: ['class.success']
37
+ }], hasError: [{
38
+ type: HostBinding,
39
+ args: ['class.error']
40
+ }] } });
41
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1jb2xsZWN0b3ItZGlhbG9nLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2ZpbGUtY29sbGVjdG9yL2RpYWxvZy9pdGVtL2ZpbGUtY29sbGVjdG9yLWRpYWxvZy1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9maWxlLWNvbGxlY3Rvci9kaWFsb2cvaXRlbS9maWxlLWNvbGxlY3Rvci1kaWFsb2ctaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0FBVXZGLE1BQU0sT0FBTyxrQ0FBa0M7SUFDcEMsUUFBUSxDQUFTO0lBQ2pCLGFBQWEsQ0FBa0I7SUFDL0IsS0FBSyxDQUFnQjtJQUU5QixJQUFrQyxZQUFZO1FBQzVDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxJQUFJLElBQUksQ0FBQyxRQUFRLEtBQUssR0FBRyxDQUFDO0lBQzlDLENBQUM7SUFFRCxJQUFnQyxRQUFRO1FBQ3RDLE9BQU8sQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEN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vbiBjbGFzcz1cInVwbG9hZFwiIGljb249XCJkYXRhVXBsb2FkXCIgKm5nSWY9XCJjYW5VcGxvYWQoKVwiPjwvcWQtaWNvbj5cbjxxZC1maWxlLWNvbGxlY3Rvci1kaWFsb2ctaXRlbS1lcnJvciBbZXJyb3JdPVwidGhpcy5lcnJvclwiICpuZ0lmPVwiISF0aGlzLmVycm9yXCI+PC9xZC1maWxlLWNvbGxlY3Rvci1kaWFsb2ctaXRlbS1lcnJvcj5cbiJdfQ==
@@ -0,0 +1,64 @@
1
+ // @ts-strict-ignore
2
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
+ import { QdUploadProgressState } from '../../../models/upload-progress';
4
+ import { BehaviorSubject, NEVER, Subject, switchMap, timer } from 'rxjs';
5
+ import { takeUntil } from 'rxjs/operators';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "@ngx-translate/core";
9
+ export class QdFileCollectorDialogItemProgressComponent {
10
+ progress = 0;
11
+ error;
12
+ _uploadStateSubject = new BehaviorSubject(QdUploadProgressState.STARTING);
13
+ _destroyed$ = new Subject();
14
+ uploadState$ = this._uploadStateSubject.asObservable();
15
+ changeUploadStateFinishingToSuccessDelay = 1000;
16
+ ngOnInit() {
17
+ this.updateUploadState();
18
+ this.changeUploadStateFinishingToSuccessAfterDelay();
19
+ }
20
+ changeUploadStateFinishingToSuccessAfterDelay() {
21
+ this.uploadState$
22
+ .pipe(switchMap(uploadState => uploadState === QdUploadProgressState.FINISHING ? timer(this.changeUploadStateFinishingToSuccessDelay) : NEVER), takeUntil(this._destroyed$))
23
+ .subscribe(() => {
24
+ this._uploadStateSubject.next(QdUploadProgressState.SUCCESS);
25
+ });
26
+ }
27
+ ngOnDestroy() {
28
+ this._destroyed$.complete();
29
+ }
30
+ ngOnChanges(changes) {
31
+ if ((changes['progress'] && !changes['progress'].firstChange) ||
32
+ (changes['error'] && !changes['error'].firstChange)) {
33
+ this.updateUploadState();
34
+ }
35
+ }
36
+ updateUploadState() {
37
+ this._uploadStateSubject.next(this.getUploadState());
38
+ }
39
+ getUploadState() {
40
+ if (this.error)
41
+ return QdUploadProgressState.ERROR;
42
+ if (this.progress === 0) {
43
+ return QdUploadProgressState.STARTING;
44
+ }
45
+ else if (this.progress === 100) {
46
+ return QdUploadProgressState.FINISHING;
47
+ }
48
+ else {
49
+ return QdUploadProgressState.IN_PROGRESS;
50
+ }
51
+ }
52
+ QdUploadState = QdUploadProgressState;
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
54
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdFileCollectorDialogItemProgressComponent, selector: "qd-file-collector-dialog-item-progress", inputs: { progress: "progress", error: "error" }, host: { classAttribute: "qd-file-collector-dialog-item-progress" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"uploadState$ | async as uploadState\">\n <span\n [class]=\"'upload-progress-bar-container'\"\n *ngIf=\"\n [QdUploadState.STARTING, QdUploadState.IN_PROGRESS, QdUploadState.FINISHING].includes(uploadState);\n else completed\n \"\n >\n <span\n [ngClass]=\"{\n 'upload-progress-bar-progress': true,\n filled: [QdUploadState.IN_PROGRESS, QdUploadState.FINISHING].includes(uploadState),\n success: QdUploadState.FINISHING === uploadState\n }\"\n [class]=\"'upload-progress-bar-progress'\"\n [ngStyle]=\"{ minWidth: progress + '%' }\"\n >\n {{ progress ? progress : 0 }}%\n </span>\n </span>\n <ng-template #completed>\n <span [class]=\"'upload-state-chip ' + uploadState\">\n {{ \"i18n.qd.fileCollector.uploadState.\" + uploadState | translate }}\n </span>\n </ng-template>\n</ng-container>\n", styles: [":host{position:relative;display:flex;margin-top:.0625rem}:host .upload-progress-bar-container{width:12.5rem}:host .upload-progress-bar-progress,:host .upload-state-chip{color:#e97e00;font-size:.625rem;font-weight:500;line-height:1rem;display:inline-block;padding-right:.375rem;padding-left:.5rem;border:solid .0625rem rgb(233,126,0);border-radius:.5rem;background:#fff;transition:min-width 1s}:host .upload-progress-bar-progress.filled,:host .upload-state-chip.filled{border-color:#e97e00;background:#e97e00;color:#fff}:host .upload-progress-bar-progress.success,:host .upload-state-chip.success{border-color:#00813a;background:#fff;color:#00813a}:host .upload-progress-bar-progress.success.filled,:host .upload-state-chip.success.filled{border-color:#00813a;background:#00813a;color:#fff}:host .upload-progress-bar-progress.error,:host .upload-state-chip.error{border-color:#c70023;background:#fff;color:#c70023}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorDialogItemProgressComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'qd-file-collector-dialog-item-progress', host: { class: 'qd-file-collector-dialog-item-progress' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"uploadState$ | async as uploadState\">\n <span\n [class]=\"'upload-progress-bar-container'\"\n *ngIf=\"\n [QdUploadState.STARTING, QdUploadState.IN_PROGRESS, QdUploadState.FINISHING].includes(uploadState);\n else completed\n \"\n >\n <span\n [ngClass]=\"{\n 'upload-progress-bar-progress': true,\n filled: [QdUploadState.IN_PROGRESS, QdUploadState.FINISHING].includes(uploadState),\n success: QdUploadState.FINISHING === uploadState\n }\"\n [class]=\"'upload-progress-bar-progress'\"\n [ngStyle]=\"{ minWidth: progress + '%' }\"\n >\n {{ progress ? progress : 0 }}%\n </span>\n </span>\n <ng-template #completed>\n <span [class]=\"'upload-state-chip ' + uploadState\">\n {{ \"i18n.qd.fileCollector.uploadState.\" + uploadState | translate }}\n </span>\n </ng-template>\n</ng-container>\n", styles: [":host{position:relative;display:flex;margin-top:.0625rem}:host .upload-progress-bar-container{width:12.5rem}:host .upload-progress-bar-progress,:host .upload-state-chip{color:#e97e00;font-size:.625rem;font-weight:500;line-height:1rem;display:inline-block;padding-right:.375rem;padding-left:.5rem;border:solid .0625rem rgb(233,126,0);border-radius:.5rem;background:#fff;transition:min-width 1s}:host .upload-progress-bar-progress.filled,:host .upload-state-chip.filled{border-color:#e97e00;background:#e97e00;color:#fff}:host .upload-progress-bar-progress.success,:host .upload-state-chip.success{border-color:#00813a;background:#fff;color:#00813a}:host .upload-progress-bar-progress.success.filled,:host .upload-state-chip.success.filled{border-color:#00813a;background:#00813a;color:#fff}:host .upload-progress-bar-progress.error,:host .upload-state-chip.error{border-color:#c70023;background:#fff;color:#c70023}\n"] }]
59
+ }], propDecorators: { progress: [{
60
+ type: Input
61
+ }], error: [{
62
+ type: Input
63
+ }] } });
64
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1jb2xsZWN0b3ItZGlhbG9nLWl0ZW0tcHJvZ3Jlc3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9xZC11aS9zcmMvbGliL2ZpbGUtY29sbGVjdG9yL2RpYWxvZy9pdGVtL3Byb2dyZXNzL2ZpbGUtY29sbGVjdG9yLWRpYWxvZy1pdGVtLXByb2dyZXNzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcWQtdWkvc3JjL2xpYi9maWxlLWNvbGxlY3Rvci9kaWFsb2cvaXRlbS9wcm9ncmVzcy9maWxlL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G4gID5cbiAgICA8c3BhblxuICAgICAgW25nQ2xhc3NdPVwie1xuICAgICAgICAndXBsb2FkLXByb2dyZXNzLWJhci1wcm9ncmVzcyc6IHRydWUsXG4gICAgICAgIGZpbGxlZDogW1FkVXBsb2FkU3RhdGUuSU5fUFJPR1JFU1MsIFFkVXBsb2FkU3RhdGUuRklOSVNISU5HXS5pbmNsdWRlcyh1cGxvYWRTdGF0ZSksXG4gICAgICAgIHN1Y2Nlc3M6IFFkVXBsb2FkU3RhdGUuRklOSVNISU5HID09PSB1cGxvYWRTdGF0ZVxuICAgICAgfVwiXG4gICAgICBbY2xhc3NdPVwiJ3VwbG9hZC1wcm9ncmVzcy1iYXItcHJvZ3Jlc3MnXCJcbiAgICAgIFtuZ1N0eWxlXT1cInsgbWluV2lkdGg6IHByb2dyZXNzICsgJyUnIH1cIlxuICAgID5cbiAgICAgIHt7IHByb2dyZXNzID8gcHJvZ3Jlc3MgOiAwIH19JVxuICAgIDwvc3Bhbj5cbiAgPC9zcGFuPlxuICA8bmctdGVtcGxhdGUgI2NvbXBsZXRlZD5cbiAgICA8c3BhbiBbY2xhc3NdPVwiJ3VwbG9hZC1zdGF0ZS1jaGlwICcgKyB1cGxvYWRTdGF0ZVwiPlxuICAgICAge3sgXCJpMThuLnFkLmZpbGVDb2xsZWN0b3IudXBsb2FkU3RhdGUuXCIgKyB1cGxvYWRTdGF0ZSB8IHRyYW5zbGF0ZSB9fVxuICAgIDwvc3Bhbj5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -0,0 +1,256 @@
1
+ // @ts-strict-ignore
2
+ import { Component, ElementRef, HostBinding, Input, Optional, ViewChild, ViewContainerRef } from '@angular/core';
3
+ import isEqual from 'lodash/isEqual';
4
+ import { BehaviorSubject, Subscription } from 'rxjs';
5
+ import { filter } from 'rxjs/operators';
6
+ import { QdContainerActionService } from '../container/services/container-action.service';
7
+ import { QdDialogSize } from '../dialog/models/dialog-config.model';
8
+ import { QdDialogService } from '../dialog/services/dialog.service';
9
+ import { QdSectionToolbarActionService } from '../section/services/section-toolbar-action.service';
10
+ import { QdFileCollectorDialogComponent } from './dialog/file-collector-dialog.component';
11
+ import { QdFileCollectorValidationService } from './services/file-collector-validation.service';
12
+ import { QdFileCollectorService } from './services/file-collector.service';
13
+ import { QdEventBrokerService } from '../core/services/event-broker.service';
14
+ import { QdFileTypeService } from './services/file-type.service';
15
+ import * as i0 from "@angular/core";
16
+ import * as i1 from "../container/services/container-action.service";
17
+ import * as i2 from "../section/services/section-toolbar-action.service";
18
+ import * as i3 from "../core/services/event-broker.service";
19
+ import * as i4 from "./services/file-collector.service";
20
+ import * as i5 from "./services/file-collector-validation.service";
21
+ import * as i6 from "./services/file-type.service";
22
+ import * as i7 from "../dialog/services/dialog.service";
23
+ import * as i8 from "@angular/common";
24
+ import * as i9 from "../button/button/button.component";
25
+ import * as i10 from "../button/directives/button.directives";
26
+ import * as i11 from "./allowed-files-description/file-collector-allowed-files-description.component";
27
+ import * as i12 from "./item/file-collector-item.component";
28
+ import * as i13 from "@ngx-translate/core";
29
+ /**
30
+ * **QdFileCollectorComponent** is a flexible component for managing files within an application.
31
+ * It supports uploading, downloading, and displaying files, offering various options for customization and configuration.
32
+ *
33
+ * #### **Features**
34
+ *
35
+ * - **Upload**: Allows users to add new files with restrictions on file type and size.
36
+ * - **Download**: Enables downloads directly via URL or, if needed, through Angular’s `HttpClient`, for example, to support authorization.
37
+ * - **Customizable Error Handling**: Validates file size, type, and name pattern, with customizable error messages for user guidance.
38
+ * - **Read-only Mode**: Disables interactions in read-only mode, allowing only viewing or downloading of files.
39
+ * - **Standalone Enabled**: Detects if used within or outside a QLS section structure and, if outside, enables file uploads in standalone mode.
40
+ *
41
+ * #### **Interactions**
42
+ *
43
+ * File interactions are managed through several key functions:
44
+ *
45
+ * - **upload**: Adds a file to the files list if validation is successful.
46
+ * - **delete**: Opens a confirmation dialog that, if confirmed, removes the file from the list.
47
+ * - **readonly/viewonly**: In read-only or view-only mode, upload and delete functions are disabled, limiting user actions.
48
+ *
49
+ * #### **Standalone Mode**
50
+ *
51
+ * Following Quadrel’s design principles, QdFileCollector includes a standalone mode, allowing it to work independently.
52
+ * It automatically detects when used outside a QLS section structure and, in standalone mode, displays an "Add New" button to support file uploads.
53
+ *
54
+ * #### **File Restrictions**
55
+ *
56
+ * - **allowedFileTypes** and **allowedMimeTypes** should not be used together; using both will trigger an error log.
57
+ * - **maxFileSizeInBytes** sets a maximum file size allowed for uploads.
58
+ * - **allowedFileNamePattern** defines a regex pattern for file names; files that don’t match the pattern are rejected.
59
+ *
60
+ * #### **Error Handling**
61
+ *
62
+ * Upload errors can occur in the following cases:
63
+ * - **Invalid MIME Type**: When the file type is not in `allowedMimeTypes`.
64
+ * - **Invalid File Size**: When the file size exceeds `maxFileSizeInBytes`.
65
+ * - **Invalid File Name Pattern**: When the file name does not match `allowedFileNamePattern`.
66
+ *
67
+ * Error messages can be customized:
68
+ * - **invalidMimeTypeErrorMessageI18n**: Custom message for unsupported MIME types.
69
+ * - **invalidFileNameErrorMessageI18n**: Custom message for unsupported file names.
70
+ *
71
+ * #### **File Manager**
72
+ *
73
+ * QdFileManager is an interface that provides methods for uploading and deleting files.
74
+ * To use it with QdFileCollectorComponent, implement this interface in a custom service and provide it via the `QD_FILE_MANAGER_TOKEN` token.
75
+ * This service enables you to create custom file-handling logic.
76
+ *
77
+ * #### **Usage**
78
+ *
79
+ * ```typescript
80
+ * @Injectable()
81
+ * export class MyFileManager implements QdFileManager {
82
+ * upload(file: File): Observable<QdUploadProgress> {
83
+ * // custom implementation here
84
+ * }
85
+ *
86
+ * delete(collectedFile: QdCollectedFile): Observable<boolean> {
87
+ * // custom implementation here
88
+ * }
89
+ * }
90
+ *
91
+ * @Component({
92
+ * selector: 'my-file-collector',
93
+ * providers: [
94
+ * {
95
+ * provide: QD_FILE_MANAGER_TOKEN,
96
+ * useClass: MyFileManager
97
+ * }
98
+ * ]
99
+ * })
100
+ * class MyFileCollectorComponent {
101
+ * fileCollectorConfig: QdFileCollectorConfig = {
102
+ * // configuration options here
103
+ * };
104
+ * }
105
+ * ```
106
+ *
107
+ * ```html
108
+ * <qd-file-collector [config]="fileCollectorConfig"></qd-file-collector>
109
+ * ```
110
+ */
111
+ export class QdFileCollectorComponent {
112
+ containerActionService;
113
+ sectionActionService;
114
+ eventBroker;
115
+ fileCollectorService;
116
+ fileCollectorValidationService;
117
+ fileTypeService;
118
+ dialogService;
119
+ viewContainerRef;
120
+ /**
121
+ * Configuration settings for the file collector.
122
+ */
123
+ config;
124
+ /**
125
+ * Static test ID for integration testing.
126
+ */
127
+ testId = 'file-collector';
128
+ fileInput;
129
+ get hasContainer() {
130
+ return !!this.containerActionService;
131
+ }
132
+ _subscriptions = new Subscription();
133
+ _viewonly$ = new BehaviorSubject(false);
134
+ get fileUploads() {
135
+ return this.fileCollectorService.fileUploads;
136
+ }
137
+ get canShowAddButton() {
138
+ return (!this.containerActionService && !this.sectionActionService && !this.config?.readonly && !this._viewonly$.value);
139
+ }
140
+ constructor(containerActionService, sectionActionService, eventBroker, fileCollectorService, fileCollectorValidationService, fileTypeService, dialogService, viewContainerRef) {
141
+ this.containerActionService = containerActionService;
142
+ this.sectionActionService = sectionActionService;
143
+ this.eventBroker = eventBroker;
144
+ this.fileCollectorService = fileCollectorService;
145
+ this.fileCollectorValidationService = fileCollectorValidationService;
146
+ this.fileTypeService = fileTypeService;
147
+ this.dialogService = dialogService;
148
+ this.viewContainerRef = viewContainerRef;
149
+ }
150
+ ngOnInit() {
151
+ this.initializeConfig(this.config);
152
+ this.fileCollectorService.initialize(this.config);
153
+ this.fileCollectorValidationService.initialize(this.config);
154
+ this.initViewMode();
155
+ if (this.containerActionService) {
156
+ this._subscriptions.add(this.containerActionService.action$.subscribe(() => this.clickFileInput()));
157
+ }
158
+ if (this.sectionActionService) {
159
+ this._subscriptions.add(this.sectionActionService.action$.pipe(filter(type => type === 'addNew')).subscribe(() => this.clickFileInput()));
160
+ }
161
+ }
162
+ ngOnChanges(changes) {
163
+ if (changes['config'] && !changes['config'].firstChange) {
164
+ this.fileCollectorService.initialize(this.config);
165
+ this.fileCollectorValidationService.initialize(this.config);
166
+ }
167
+ }
168
+ ngOnDestroy() {
169
+ this._subscriptions.unsubscribe();
170
+ }
171
+ handleFiles(event) {
172
+ const dialogRef = this.dialogService.open(QdFileCollectorDialogComponent, {
173
+ dialogSize: QdDialogSize.Default,
174
+ hideCloseHeaderButton: true,
175
+ disableClose: true,
176
+ title: { i18n: 'i18n.qd.fileCollector.title' },
177
+ viewContainerRef: this.viewContainerRef
178
+ });
179
+ dialogRef.closed.subscribe((fileUploads = []) => {
180
+ fileUploads
181
+ .filter(fileUpload => !fileUpload.error && fileUpload.progress === 100)
182
+ .forEach(fileUpload => this.fileUploads.push({ ...fileUpload, newlyUploaded: true }));
183
+ });
184
+ const fileCollectorDialog = dialogRef.componentInstance;
185
+ fileCollectorDialog.uploadFiles(event.target.files);
186
+ event.target.value = '';
187
+ }
188
+ clickFileInput() {
189
+ if (this.fileInput.nativeElement.disabled) {
190
+ this.logError('Uploads disabled via config (readonly/viewonly). Remove the flag or the addNew button.');
191
+ return;
192
+ }
193
+ this.fileInput.nativeElement.click();
194
+ }
195
+ initializeConfig(config) {
196
+ if (!this.validateConfig(config))
197
+ return;
198
+ if (config?.allowedFileTypes) {
199
+ config.allowedMimeTypes = this.fileTypeService.getMimeTypes(config.allowedFileTypes);
200
+ config.allowedFileNamePattern = this.fileTypeService.getFileNamePattern(config.allowedFileTypes);
201
+ }
202
+ }
203
+ validateConfig(config) {
204
+ if (!config)
205
+ return true;
206
+ if (this.hasIncompatibleFileTypeSettings(config) && !this.isConfigConsistentWithAllowedFileTypes(config)) {
207
+ this.logError('Use either "allowedFileTypes" alone or "allowedMimeTypes" + "allowedFileNamePattern", not both.');
208
+ return false;
209
+ }
210
+ return true;
211
+ }
212
+ hasIncompatibleFileTypeSettings(config) {
213
+ return !!config.allowedFileTypes && (!!config.allowedMimeTypes || !!config.allowedFileNamePattern);
214
+ }
215
+ initViewMode() {
216
+ if (typeof this.config?.viewonly === 'boolean') {
217
+ this._viewonly$.next(this.config.viewonly);
218
+ return;
219
+ }
220
+ if (this.eventBroker)
221
+ this._subscriptions.add(this.eventBroker
222
+ .consume('operation_mode_changed')
223
+ .subscribe(({ payload }) => this._viewonly$.next(payload.isViewonly)));
224
+ }
225
+ isConfigConsistentWithAllowedFileTypes(config) {
226
+ return (isEqual(config.allowedMimeTypes, this.fileTypeService.getMimeTypes(config.allowedFileTypes)) &&
227
+ isEqual(config.allowedFileNamePattern, this.fileTypeService.getFileNamePattern(config.allowedFileTypes)));
228
+ }
229
+ logError(message) {
230
+ console.error(`QD-UI | QdFileCollector - ${message}`);
231
+ }
232
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorComponent, deps: [{ token: i1.QdContainerActionService, optional: true }, { token: i2.QdSectionToolbarActionService, optional: true }, { token: i3.QdEventBrokerService, optional: true }, { token: i4.QdFileCollectorService }, { token: i5.QdFileCollectorValidationService }, { token: i6.QdFileTypeService }, { token: i7.QdDialogService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
233
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: QdFileCollectorComponent, selector: "qd-file-collector", inputs: { config: "config", testId: ["data-test-id", "testId"] }, host: { properties: { "class.has-container": "this.hasContainer" } }, providers: [QdFileCollectorService, QdFileCollectorValidationService], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<button\n qdButton\n qdButtonGhost\n icon=\"plus\"\n *ngIf=\"canShowAddButton\"\n (click)=\"clickFileInput()\"\n [data-test-id]=\"testId + '-button-add-new'\"\n>\n {{ config?.standaloneAddNewLabel?.i18n || \"i18n.qd.fileCollector.standalone.addNew\" | translate }}\n</button>\n\n<input\n [disabled]=\"config?.readonly || config?.viewonly\"\n type=\"file\"\n (change)=\"handleFiles($event)\"\n #fileInput\n hidden\n multiple=\"multiple\"\n/>\n\n<qd-file-collector-allowed-files-description\n *ngIf=\"!config?.readonly && !config?.viewonly\"\n></qd-file-collector-allowed-files-description>\n\n<ng-container *ngFor=\"let fileUpload of this.fileUploads\">\n <qd-file-collector-item\n *ngIf=\"!fileUpload.error && fileUpload.progress === 100\"\n [progress]=\"fileUpload.progress\"\n [newlyUploaded]=\"fileUpload.newlyUploaded\"\n [collectedFile]=\"fileUpload.collectedFile\"\n [error]=\"fileUpload.error\"\n [readonly]=\"config?.readonly\"\n [viewonly]=\"config?.viewonly\"\n [downloadFilesWithHttpClient]=\"config?.downloadFilesWithHttpClient\"\n ></qd-file-collector-item>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column}:host>.qd-button{align-self:end;margin-bottom:1.5rem}\n"], dependencies: [{ kind: "directive", type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9.QdButtonComponent, selector: "button[qdButton], a[qdButton], button[qd-button]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: i10.QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "component", type: i11.QdFileCollectorAllowedFilesDescriptionComponent, selector: "qd-file-collector-allowed-files-description" }, { kind: "component", type: i12.QdFileCollectorItemComponent, selector: "qd-file-collector-item", inputs: ["progress", "newlyUploaded", "collectedFile", "error", "readonly", "viewonly", "downloadFilesWithHttpClient"] }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] });
234
+ }
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: QdFileCollectorComponent, decorators: [{
236
+ type: Component,
237
+ args: [{ selector: 'qd-file-collector', providers: [QdFileCollectorService, QdFileCollectorValidationService], template: "<button\n qdButton\n qdButtonGhost\n icon=\"plus\"\n *ngIf=\"canShowAddButton\"\n (click)=\"clickFileInput()\"\n [data-test-id]=\"testId + '-button-add-new'\"\n>\n {{ config?.standaloneAddNewLabel?.i18n || \"i18n.qd.fileCollector.standalone.addNew\" | translate }}\n</button>\n\n<input\n [disabled]=\"config?.readonly || config?.viewonly\"\n type=\"file\"\n (change)=\"handleFiles($event)\"\n #fileInput\n hidden\n multiple=\"multiple\"\n/>\n\n<qd-file-collector-allowed-files-description\n *ngIf=\"!config?.readonly && !config?.viewonly\"\n></qd-file-collector-allowed-files-description>\n\n<ng-container *ngFor=\"let fileUpload of this.fileUploads\">\n <qd-file-collector-item\n *ngIf=\"!fileUpload.error && fileUpload.progress === 100\"\n [progress]=\"fileUpload.progress\"\n [newlyUploaded]=\"fileUpload.newlyUploaded\"\n [collectedFile]=\"fileUpload.collectedFile\"\n [error]=\"fileUpload.error\"\n [readonly]=\"config?.readonly\"\n [viewonly]=\"config?.viewonly\"\n [downloadFilesWithHttpClient]=\"config?.downloadFilesWithHttpClient\"\n ></qd-file-collector-item>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column}:host>.qd-button{align-self:end;margin-bottom:1.5rem}\n"] }]
238
+ }], ctorParameters: () => [{ type: i1.QdContainerActionService, decorators: [{
239
+ type: Optional
240
+ }] }, { type: i2.QdSectionToolbarActionService, decorators: [{
241
+ type: Optional
242
+ }] }, { type: i3.QdEventBrokerService, decorators: [{
243
+ type: Optional
244
+ }] }, { type: i4.QdFileCollectorService }, { type: i5.QdFileCollectorValidationService }, { type: i6.QdFileTypeService }, { type: i7.QdDialogService }, { type: i0.ViewContainerRef }], propDecorators: { config: [{
245
+ type: Input
246
+ }], testId: [{
247
+ type: Input,
248
+ args: ['data-test-id']
249
+ }], fileInput: [{
250
+ type: ViewChild,
251
+ args: ['fileInput']
252
+ }], hasContainer: [{
253
+ type: Host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