@coolon/angular-ui-powerups 14.47.4 → 15.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/assets/table.scss +1 -18
  2. package/esm2022/lib/angular-ui-powerups.module.mjs +80 -0
  3. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +34 -0
  4. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +37 -0
  5. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +131 -0
  6. package/{esm2020 → esm2022}/lib/components/cards/card-stack/card-stack.component.mjs +4 -4
  7. package/esm2022/lib/components/commands/command/command.component.mjs +115 -0
  8. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +85 -0
  9. package/{esm2020 → esm2022}/lib/components/commands/command-face.mjs +2 -1
  10. package/{esm2020 → esm2022}/lib/components/commands/flex.component.mjs +4 -4
  11. package/esm2022/lib/components/commands/group/command-container.mjs +22 -0
  12. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +28 -0
  13. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +90 -0
  14. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +58 -0
  15. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +106 -0
  16. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +55 -0
  17. package/{esm2020 → esm2022}/lib/components/commands/group/tool-bar/tool-bar.component.mjs +4 -4
  18. package/esm2022/lib/components/commands/separator.component.mjs +42 -0
  19. package/esm2022/lib/components/components.module.mjs +340 -0
  20. package/{esm2020 → esm2022}/lib/components/disposable-component.mjs +4 -4
  21. package/esm2022/lib/components/empty-state/empty-state.component.mjs +23 -0
  22. package/esm2022/lib/components/exports.mjs +93 -0
  23. package/esm2022/lib/components/focus-container/focus-container.component.mjs +38 -0
  24. package/esm2022/lib/components/focusable.component.mjs +51 -0
  25. package/esm2022/lib/components/forms/abstract-input.component.mjs +175 -0
  26. package/esm2022/lib/components/forms/abstract-list-input.component.mjs +72 -0
  27. package/esm2022/lib/components/forms/abstract-value-input.component.mjs +72 -0
  28. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +133 -0
  29. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +29 -0
  30. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +86 -0
  31. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +35 -0
  32. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +25 -0
  33. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +130 -0
  34. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +53 -0
  35. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +31 -0
  36. package/{esm2020 → esm2022}/lib/components/icon/icon.component.mjs +11 -9
  37. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +22 -0
  38. package/esm2022/lib/components/loading-container/loading-container.component.mjs +54 -0
  39. package/{esm2020 → esm2022}/lib/components/noop/noop.component.mjs +4 -4
  40. package/esm2022/lib/components/resize-aware.component.mjs +47 -0
  41. package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +37 -0
  42. package/esm2022/lib/components/section-header/section-header.component.mjs +36 -0
  43. package/esm2022/lib/components/switch-case/switch-case.component.mjs +132 -0
  44. package/esm2022/lib/components/tables/abstract-table-model.mjs +254 -0
  45. package/esm2022/lib/components/tables/abstract-table.component.mjs +156 -0
  46. package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
  47. package/esm2022/lib/components/tables/column/column-model.mjs +190 -0
  48. package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +40 -0
  49. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +16 -0
  50. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +38 -0
  51. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +56 -0
  52. package/esm2022/lib/components/tables/column/property-column-model.mjs +98 -0
  53. package/esm2022/lib/components/tables/column/selection-column-model.mjs +51 -0
  54. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +60 -0
  55. package/esm2022/lib/components/tables/editor/edit-session.mjs +26 -0
  56. package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +53 -0
  57. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +58 -0
  58. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +45 -0
  59. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +103 -0
  60. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +23 -0
  61. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +16 -0
  62. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +51 -0
  63. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +33 -0
  64. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +129 -0
  65. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +101 -0
  66. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +34 -0
  67. package/esm2022/lib/components/tables/table/table.component.mjs +175 -0
  68. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
  69. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +174 -0
  70. package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +32 -0
  71. package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +70 -0
  72. package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +73 -0
  73. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +100 -0
  74. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +44 -0
  75. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +115 -0
  76. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +108 -0
  77. package/esm2022/lib/components/text/markdown/markdown.component.mjs +83 -0
  78. package/esm2022/lib/components/types/bounds.class.mjs +31 -0
  79. package/{esm2020 → esm2022}/lib/components/types/dimension.class.mjs +3 -1
  80. package/esm2022/lib/components/types/point.class.mjs +15 -0
  81. package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +80 -0
  82. package/esm2022/lib/directives/command.directive.mjs +126 -0
  83. package/esm2022/lib/directives/directives.module.mjs +68 -0
  84. package/esm2022/lib/directives/focus-binding-factory.mjs +32 -0
  85. package/esm2022/lib/directives/focus-binding.directive.mjs +66 -0
  86. package/esm2022/lib/directives/focus-binding.mjs +83 -0
  87. package/{esm2020 → esm2022}/lib/directives/garbage-collector.directive.mjs +4 -4
  88. package/esm2022/lib/directives/highlight-text-model.directive.mjs +28 -0
  89. package/esm2022/lib/directives/highlight.pipe.mjs +49 -0
  90. package/esm2022/lib/interaction/activity-ref.mjs +69 -0
  91. package/{esm2020 → esm2022}/lib/interaction/activity.mjs +19 -13
  92. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +28 -0
  93. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +66 -0
  94. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +135 -0
  95. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +20 -0
  96. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +250 -0
  97. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +65 -0
  98. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +43 -0
  99. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +96 -0
  100. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +25 -0
  101. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +23 -0
  102. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +31 -0
  103. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +94 -0
  104. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +79 -0
  105. package/{esm2020 → esm2022}/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +4 -4
  106. package/{esm2020 → esm2022}/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +4 -4
  107. package/{esm2020 → esm2022}/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +4 -4
  108. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +30 -0
  109. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +52 -0
  110. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +193 -0
  111. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +143 -0
  112. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +102 -0
  113. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +52 -0
  114. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +37 -0
  115. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +134 -0
  116. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +77 -0
  117. package/esm2022/lib/interaction/interaction.module.mjs +195 -0
  118. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +32 -0
  119. package/esm2022/lib/interaction/services/interaction.service.mjs +157 -0
  120. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +51 -0
  121. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +68 -0
  122. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +109 -0
  123. package/{esm2020 → esm2022}/lib/place/components/list-place-nav/list-place-nav.component.mjs +6 -6
  124. package/{esm2020 → esm2022}/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +4 -4
  125. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +279 -0
  126. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +97 -0
  127. package/{esm2020 → esm2022}/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +6 -6
  128. package/esm2022/lib/place/exports.mjs +48 -0
  129. package/{esm2020 → esm2022}/lib/place/guards/consolidated-param-map.mjs +3 -2
  130. package/{esm2020 → esm2022}/lib/place/guards/noop-auth-guard.service.mjs +4 -4
  131. package/esm2022/lib/place/guards/place.guard.mjs +158 -0
  132. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +87 -0
  133. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +15 -0
  134. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +45 -0
  135. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +159 -0
  136. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +66 -0
  137. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +35 -0
  138. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +54 -0
  139. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +89 -0
  140. package/{esm2020 → esm2022}/lib/place/navigation/session/navigating.mjs +4 -6
  141. package/esm2022/lib/place/navigation/session/navigation-context.mjs +19 -0
  142. package/esm2022/lib/place/navigation/session/navigation-session.mjs +176 -0
  143. package/esm2022/lib/place/place-access-guard.mjs +15 -0
  144. package/esm2022/lib/place/place-component.mjs +200 -0
  145. package/esm2022/lib/place/place-definition.mjs +213 -0
  146. package/esm2022/lib/place/place-history.mjs +148 -0
  147. package/esm2022/lib/place/place-router.mjs +352 -0
  148. package/esm2022/lib/place/place.module.mjs +94 -0
  149. package/esm2022/lib/place/route/parameter-definition.mjs +121 -0
  150. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +46 -0
  151. package/esm2022/lib/place/url-service.mjs +68 -0
  152. package/esm2022/lib/place/url-snapshot.mjs +125 -0
  153. package/esm2022/lib/place/visit-segment.mjs +88 -0
  154. package/esm2022/lib/place/visit.mjs +97 -0
  155. package/{esm2020 → esm2022}/lib/services/markdown/markdown.service.mjs +4 -4
  156. package/{esm2020 → esm2022}/lib/services/visibility-service.mjs +8 -5
  157. package/{fesm2020 → fesm2022}/coolon-angular-ui-powerups.mjs +1834 -1534
  158. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -0
  159. package/lib/angular-ui-powerups.module.d.ts +5 -5
  160. package/lib/components/alignment.d.ts +1 -1
  161. package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -1
  162. package/lib/components/cards/abstract-card-container.component.d.ts +1 -1
  163. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  164. package/lib/components/cards/card-stack/card-stack.component.d.ts +1 -1
  165. package/lib/components/commands/command/command.component.d.ts +2 -2
  166. package/lib/components/commands/command-face/command-face.component.d.ts +1 -1
  167. package/lib/components/commands/flex.component.d.ts +1 -1
  168. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
  169. package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +1 -1
  170. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +2 -2
  171. package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +1 -1
  172. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
  173. package/lib/components/commands/separator.component.d.ts +1 -1
  174. package/lib/components/components.module.d.ts +21 -23
  175. package/lib/components/disposable-component.d.ts +1 -1
  176. package/lib/components/empty-state/empty-state.component.d.ts +1 -1
  177. package/lib/components/exports.d.ts +0 -2
  178. package/lib/components/focus-container/focus-container.component.d.ts +1 -1
  179. package/lib/components/focusable.component.d.ts +1 -1
  180. package/lib/components/forms/abstract-input.component.d.ts +1 -1
  181. package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
  182. package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
  183. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +3 -3
  184. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +1 -1
  185. package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +1 -1
  186. package/lib/components/forms/number-input/number-input.component.d.ts +1 -1
  187. package/lib/components/forms/password-input/password-input.component.d.ts +1 -1
  188. package/lib/components/forms/select-input/select-input.component.d.ts +1 -2
  189. package/lib/components/forms/string-input/string-input.component.d.ts +1 -1
  190. package/lib/components/forms/text-input/text-input.component.d.ts +1 -1
  191. package/lib/components/icon/icon.component.d.ts +1 -1
  192. package/lib/components/labelled-value/labelled-value.component.d.ts +1 -1
  193. package/lib/components/loading-container/loading-container.component.d.ts +1 -1
  194. package/lib/components/noop/noop.component.d.ts +1 -1
  195. package/lib/components/resize-aware.component.d.ts +1 -1
  196. package/lib/components/scroll-container/scroll-container.component.d.ts +1 -1
  197. package/lib/components/section-header/section-header.component.d.ts +1 -1
  198. package/lib/components/switch-case/switch-case.component.d.ts +3 -3
  199. package/lib/components/tables/abstract-table-model.d.ts +1 -3
  200. package/lib/components/tables/abstract-table.component.d.ts +1 -1
  201. package/lib/components/tables/column/column-model.d.ts +1 -1
  202. package/lib/components/tables/column/column-template/column-template.directive.d.ts +1 -1
  203. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +1 -1
  204. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  205. package/lib/components/tables/filter/text-search-predicate.d.ts +1 -1
  206. package/lib/components/tables/paginator/paginator.component.d.ts +1 -1
  207. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -1
  208. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -1
  209. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -1
  210. package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +1 -1
  211. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +1 -1
  212. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +1 -1
  213. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -1
  214. package/lib/components/tables/table/table.component.d.ts +1 -1
  215. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +2 -2
  216. package/lib/components/tables/tree-table/decorated-tree-node.d.ts +1 -1
  217. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -1
  218. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
  219. package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
  220. package/lib/components/tables/tree-table/tree-table-model.d.ts +1 -1
  221. package/lib/components/text/markdown/markdown.component.d.ts +1 -1
  222. package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +1 -1
  223. package/lib/directives/command.directive.d.ts +3 -3
  224. package/lib/directives/directives.module.d.ts +5 -5
  225. package/lib/directives/focus-binding.directive.d.ts +1 -1
  226. package/lib/directives/garbage-collector.directive.d.ts +1 -1
  227. package/lib/directives/highlight-text-model.directive.d.ts +1 -1
  228. package/lib/interaction/activity.d.ts +2 -2
  229. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -1
  230. package/lib/interaction/components/abstract-dialog.component.d.ts +1 -1
  231. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +1 -1
  232. package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -1
  233. package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -2
  234. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +1 -1
  235. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  236. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  237. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
  238. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
  239. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
  240. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -1
  241. package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +1 -1
  242. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -1
  243. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
  244. package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +1 -1
  245. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -1
  246. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +1 -1
  247. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +2 -2
  248. package/lib/interaction/components/input-activities/input-activity.d.ts +3 -7
  249. package/lib/interaction/components/input-activities/select-input-activity.d.ts +2 -4
  250. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  251. package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +1 -1
  252. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +1 -1
  253. package/lib/interaction/interaction.module.d.ts +6 -6
  254. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -2
  255. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +2 -2
  256. package/lib/place/components/abstract-place-navigation.component.d.ts +3 -4
  257. package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +1 -1
  258. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -1
  259. package/lib/place/components/place-outlet/place-outlet.component.d.ts +1 -1
  260. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -1
  261. package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +1 -1
  262. package/lib/place/exports.d.ts +0 -1
  263. package/lib/place/guards/noop-auth-guard.service.d.ts +2 -2
  264. package/lib/place/guards/place.guard.d.ts +4 -4
  265. package/lib/place/place-access-guard.d.ts +2 -2
  266. package/lib/place/place-component.d.ts +3 -6
  267. package/lib/place/place-router.d.ts +9 -2
  268. package/lib/place/place.module.d.ts +5 -5
  269. package/lib/place/route/json-types.d.ts +2 -2
  270. package/package.json +16 -24
  271. package/schematics/activity/index.js +1 -2
  272. package/schematics/activity/index.js.map +1 -1
  273. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -4
  274. package/schematics/aup-i18n/index.js +6 -6
  275. package/schematics/aup-i18n/index.js.map +1 -1
  276. package/schematics/bootstrap-app/index.js +10 -10
  277. package/schematics/bootstrap-app/index.js.map +1 -1
  278. package/schematics/component/index.js +2 -2
  279. package/schematics/component/index.js.map +1 -1
  280. package/schematics/component/schema.d.ts +1 -1
  281. package/schematics/component/schema.json +6 -6
  282. package/schematics/place-add/index.js +3 -3
  283. package/schematics/place-add/index.js.map +1 -1
  284. package/schematics/place-add/schema.d.ts +1 -1
  285. package/schematics/place-add/schema.json +4 -4
  286. package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -1
  287. package/schematics/place-routes/index.js.map +1 -1
  288. package/schematics/place-routes/place-def.js +1 -1
  289. package/schematics/place-routes/place-def.js.map +1 -1
  290. package/schematics/place-routes/schema.json +2 -1
  291. package/schematics/place-routes/templates/place-routes.ts.template +3 -2
  292. package/schematics/utils/import-def.js +3 -3
  293. package/schematics/utils/import-def.js.map +1 -1
  294. package/schematics/utils/stringy.js +3 -3
  295. package/schematics/utils/stringy.js.map +1 -1
  296. package/schematics/utils/workspace.js +3 -3
  297. package/schematics/utils/workspace.js.map +1 -1
  298. package/esm2020/lib/angular-ui-powerups.module.mjs +0 -80
  299. package/esm2020/lib/components/busy-overlay/busy-overlay.component.mjs +0 -32
  300. package/esm2020/lib/components/cards/abstract-card-container.component.mjs +0 -34
  301. package/esm2020/lib/components/cards/card-container/card-container.component.mjs +0 -129
  302. package/esm2020/lib/components/commands/command/command.component.mjs +0 -103
  303. package/esm2020/lib/components/commands/command-face/command-face.component.mjs +0 -80
  304. package/esm2020/lib/components/commands/group/command-container.mjs +0 -21
  305. package/esm2020/lib/components/commands/group/popup-aware.component.mjs +0 -26
  306. package/esm2020/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +0 -84
  307. package/esm2020/lib/components/commands/group/popup-menu/more-menu.component.mjs +0 -57
  308. package/esm2020/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +0 -101
  309. package/esm2020/lib/components/commands/group/popup-menu/popup-menu.component.mjs +0 -53
  310. package/esm2020/lib/components/commands/separator.component.mjs +0 -41
  311. package/esm2020/lib/components/components.module.mjs +0 -350
  312. package/esm2020/lib/components/empty-state/empty-state.component.mjs +0 -23
  313. package/esm2020/lib/components/exports.mjs +0 -95
  314. package/esm2020/lib/components/focus-container/focus-container.component.mjs +0 -37
  315. package/esm2020/lib/components/focusable.component.mjs +0 -48
  316. package/esm2020/lib/components/forms/abstract-input.component.mjs +0 -154
  317. package/esm2020/lib/components/forms/abstract-list-input.component.mjs +0 -65
  318. package/esm2020/lib/components/forms/abstract-value-input.component.mjs +0 -65
  319. package/esm2020/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +0 -120
  320. package/esm2020/lib/components/forms/checkbox-input/checkbox-input.component.mjs +0 -29
  321. package/esm2020/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +0 -78
  322. package/esm2020/lib/components/forms/number-input/number-input.component.mjs +0 -33
  323. package/esm2020/lib/components/forms/password-input/password-input.component.mjs +0 -24
  324. package/esm2020/lib/components/forms/select-input/select-input.component.mjs +0 -121
  325. package/esm2020/lib/components/forms/string-input/string-input.component.mjs +0 -48
  326. package/esm2020/lib/components/forms/text-input/text-input.component.mjs +0 -30
  327. package/esm2020/lib/components/labelled-value/labelled-value.component.mjs +0 -20
  328. package/esm2020/lib/components/loading-container/loading-container.component.mjs +0 -50
  329. package/esm2020/lib/components/resize-aware.component.mjs +0 -45
  330. package/esm2020/lib/components/scroll-container/scroll-container.component.mjs +0 -35
  331. package/esm2020/lib/components/section-header/section-header.component.mjs +0 -36
  332. package/esm2020/lib/components/switch-case/switch-case.component.mjs +0 -126
  333. package/esm2020/lib/components/tables/abstract-table-model.mjs +0 -246
  334. package/esm2020/lib/components/tables/abstract-table.component.mjs +0 -149
  335. package/esm2020/lib/components/tables/column/column-list-model.mjs +0 -43
  336. package/esm2020/lib/components/tables/column/column-model.mjs +0 -184
  337. package/esm2020/lib/components/tables/column/column-template/column-template.directive.mjs +0 -35
  338. package/esm2020/lib/components/tables/column/custom-template-column-model.mjs +0 -16
  339. package/esm2020/lib/components/tables/column/custom-value-column-model.mjs +0 -37
  340. package/esm2020/lib/components/tables/column/list-propery-column-model.mjs +0 -54
  341. package/esm2020/lib/components/tables/column/property-column-model.mjs +0 -96
  342. package/esm2020/lib/components/tables/column/selection-column-model.mjs +0 -50
  343. package/esm2020/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +0 -55
  344. package/esm2020/lib/components/tables/editor/edit-session.mjs +0 -23
  345. package/esm2020/lib/components/tables/filter/column-text-search-formatter.mjs +0 -51
  346. package/esm2020/lib/components/tables/filter/table-filter-model.mjs +0 -56
  347. package/esm2020/lib/components/tables/paginator/paginator.component.mjs +0 -44
  348. package/esm2020/lib/components/tables/renderer/cell-portal-ref.mjs +0 -93
  349. package/esm2020/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +0 -22
  350. package/esm2020/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +0 -15
  351. package/esm2020/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +0 -47
  352. package/esm2020/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +0 -28
  353. package/esm2020/lib/components/tables/renderer/table-body/table-body.component.mjs +0 -120
  354. package/esm2020/lib/components/tables/renderer/table-cell/table-cell.component.mjs +0 -93
  355. package/esm2020/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +0 -32
  356. package/esm2020/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +0 -36
  357. package/esm2020/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +0 -55
  358. package/esm2020/lib/components/tables/table/table.component.mjs +0 -170
  359. package/esm2020/lib/components/tables/table-row-menu/table-row-menu.component.mjs +0 -80
  360. package/esm2020/lib/components/tables/tree-table/decorated-tree-node.mjs +0 -171
  361. package/esm2020/lib/components/tables/tree-table/flattened-tree-list-model.mjs +0 -29
  362. package/esm2020/lib/components/tables/tree-table/tree-expansion-model.mjs +0 -70
  363. package/esm2020/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +0 -72
  364. package/esm2020/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +0 -91
  365. package/esm2020/lib/components/tables/tree-table/tree-label-column-model.mjs +0 -42
  366. package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +0 -113
  367. package/esm2020/lib/components/tables/tree-table/tree-table-model.mjs +0 -105
  368. package/esm2020/lib/components/text/markdown/markdown.component.mjs +0 -78
  369. package/esm2020/lib/components/types/bounds.class.mjs +0 -27
  370. package/esm2020/lib/components/types/point.class.mjs +0 -13
  371. package/esm2020/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +0 -77
  372. package/esm2020/lib/directives/command.directive.mjs +0 -122
  373. package/esm2020/lib/directives/directives.module.mjs +0 -68
  374. package/esm2020/lib/directives/focus-binding-factory.mjs +0 -30
  375. package/esm2020/lib/directives/focus-binding.directive.mjs +0 -62
  376. package/esm2020/lib/directives/focus-binding.mjs +0 -79
  377. package/esm2020/lib/directives/highlight-text-model.directive.mjs +0 -27
  378. package/esm2020/lib/directives/highlight.pipe.mjs +0 -48
  379. package/esm2020/lib/interaction/activity-ref.mjs +0 -65
  380. package/esm2020/lib/interaction/components/abstract-confirm-dialog.component.mjs +0 -27
  381. package/esm2020/lib/interaction/components/abstract-dialog.component.mjs +0 -61
  382. package/esm2020/lib/interaction/components/activity-actions/activity-actions.component.mjs +0 -122
  383. package/esm2020/lib/interaction/components/activity-body/activity-body.component.mjs +0 -23
  384. package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +0 -241
  385. package/esm2020/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +0 -59
  386. package/esm2020/lib/interaction/components/activity-title/activity-title.component.mjs +0 -41
  387. package/esm2020/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +0 -89
  388. package/esm2020/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +0 -24
  389. package/esm2020/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +0 -22
  390. package/esm2020/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +0 -30
  391. package/esm2020/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +0 -91
  392. package/esm2020/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +0 -73
  393. package/esm2020/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -29
  394. package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +0 -50
  395. package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +0 -179
  396. package/esm2020/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +0 -133
  397. package/esm2020/lib/interaction/components/input-activities/input-activity.mjs +0 -103
  398. package/esm2020/lib/interaction/components/input-activities/select-input-activity.mjs +0 -65
  399. package/esm2020/lib/interaction/components/input-activities/string-input-activity.mjs +0 -37
  400. package/esm2020/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +0 -128
  401. package/esm2020/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +0 -73
  402. package/esm2020/lib/interaction/interaction.module.mjs +0 -195
  403. package/esm2020/lib/interaction/services/interaction-service-routing-adapter.mjs +0 -29
  404. package/esm2020/lib/interaction/services/interaction.service.mjs +0 -144
  405. package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +0 -47
  406. package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +0 -62
  407. package/esm2020/lib/place/components/abstract-place-navigation.component.mjs +0 -101
  408. package/esm2020/lib/place/components/place-outlet/place-outlet.component.mjs +0 -257
  409. package/esm2020/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +0 -94
  410. package/esm2020/lib/place/exports.mjs +0 -49
  411. package/esm2020/lib/place/guards/place.guard.mjs +0 -154
  412. package/esm2020/lib/place/navigation/place-component-deactivation-handler.mjs +0 -83
  413. package/esm2020/lib/place/navigation/session/abstract-pop-state-navigation.mjs +0 -14
  414. package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +0 -43
  415. package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +0 -152
  416. package/esm2020/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +0 -62
  417. package/esm2020/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +0 -38
  418. package/esm2020/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +0 -52
  419. package/esm2020/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +0 -88
  420. package/esm2020/lib/place/navigation/session/navigation-context.mjs +0 -14
  421. package/esm2020/lib/place/navigation/session/navigation-session.mjs +0 -173
  422. package/esm2020/lib/place/place-access-guard.mjs +0 -15
  423. package/esm2020/lib/place/place-auth-service.mjs +0 -142
  424. package/esm2020/lib/place/place-component.mjs +0 -203
  425. package/esm2020/lib/place/place-definition.mjs +0 -204
  426. package/esm2020/lib/place/place-history.mjs +0 -145
  427. package/esm2020/lib/place/place-router.mjs +0 -319
  428. package/esm2020/lib/place/place.module.mjs +0 -94
  429. package/esm2020/lib/place/route/parameter-definition.mjs +0 -122
  430. package/esm2020/lib/place/route/visit-segment-sanitiser.mjs +0 -41
  431. package/esm2020/lib/place/url-service.mjs +0 -65
  432. package/esm2020/lib/place/url-snapshot.mjs +0 -122
  433. package/esm2020/lib/place/visit-segment.mjs +0 -86
  434. package/esm2020/lib/place/visit.mjs +0 -95
  435. package/fesm2015/coolon-angular-ui-powerups.mjs +0 -11330
  436. package/fesm2015/coolon-angular-ui-powerups.mjs.map +0 -1
  437. package/fesm2020/coolon-angular-ui-powerups.mjs.map +0 -1
  438. package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +0 -15
  439. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +0 -23
  440. package/lib/place/place-auth-service.d.ts +0 -49
  441. /package/{esm2020 → esm2022}/coolon-angular-ui-powerups.mjs +0 -0
  442. /package/{esm2020 → esm2022}/index.mjs +0 -0
  443. /package/{esm2020 → esm2022}/lib/animations/exports.mjs +0 -0
  444. /package/{esm2020 → esm2022}/lib/animations/slide-animations.mjs +0 -0
  445. /package/{esm2020 → esm2022}/lib/components/alignment.mjs +0 -0
  446. /package/{esm2020 → esm2022}/lib/components/commands/group/popup-container.mjs +0 -0
  447. /package/{esm2020 → esm2022}/lib/components/tables/column/column-text-properties.mjs +0 -0
  448. /package/{esm2020 → esm2022}/lib/components/tables/column/editor-controls-column-model.mjs +0 -0
  449. /package/{esm2020 → esm2022}/lib/components/tables/editor/editable-cell-renderer.mjs +0 -0
  450. /package/{esm2020 → esm2022}/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +0 -0
  451. /package/{esm2020 → esm2022}/lib/components/tables/filter/text-search-predicate.mjs +0 -0
  452. /package/{esm2020 → esm2022}/lib/components/tables/renderer/cell-editors.mjs +0 -0
  453. /package/{esm2020 → esm2022}/lib/components/tables/renderer/cell-renderer.mjs +0 -0
  454. /package/{esm2020 → esm2022}/lib/components/tables/table/table-model.mjs +0 -0
  455. /package/{esm2020 → esm2022}/lib/components/track-by.mjs +0 -0
  456. /package/{esm2020 → esm2022}/lib/directives/exports.mjs +0 -0
  457. /package/{esm2020 → esm2022}/lib/interaction/abstract-interaction-context.mjs +0 -0
  458. /package/{esm2020 → esm2022}/lib/interaction/alert.mjs +0 -0
  459. /package/{esm2020 → esm2022}/lib/interaction/components/editors/edit-context.mjs +0 -0
  460. /package/{esm2020 → esm2022}/lib/interaction/confirm.mjs +0 -0
  461. /package/{esm2020 → esm2022}/lib/interaction/exports.mjs +0 -0
  462. /package/{esm2020 → esm2022}/lib/interaction/in-place-interaction-context.mjs +0 -0
  463. /package/{esm2020 → esm2022}/lib/interaction/interaction-context.mjs +0 -0
  464. /package/{esm2020 → esm2022}/lib/interaction/route-synchronisation-adapter.mjs +0 -0
  465. /package/{esm2020 → esm2022}/lib/interaction/services/modal-interaction-context.factory.mjs +0 -0
  466. /package/{esm2020 → esm2022}/lib/place/components/place-outlet/route-animations.mjs +0 -0
  467. /package/{esm2020 → esm2022}/lib/place/nav-item.mjs +0 -0
  468. /package/{esm2020 → esm2022}/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +0 -0
  469. /package/{esm2020 → esm2022}/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +0 -0
  470. /package/{esm2020 → esm2022}/lib/place/navigation/session/pop-state-navigation.mjs +0 -0
  471. /package/{esm2020 → esm2022}/lib/place/place-config.mjs +0 -0
  472. /package/{esm2020 → esm2022}/lib/place/place.decorator.mjs +0 -0
  473. /package/{esm2020 → esm2022}/lib/place/route/formatter.mjs +0 -0
  474. /package/{esm2020 → esm2022}/lib/place/route/json-types.mjs +0 -0
  475. /package/{esm2020 → esm2022}/lib/place/route/parameter-decorators.mjs +0 -0
  476. /package/{esm2020 → esm2022}/lib/place/route/parameter-sanitiser.mjs +0 -0
  477. /package/{esm2020 → esm2022}/lib/place/route/parameter-snapshot.mjs +0 -0
  478. /package/{esm2020 → esm2022}/lib/services/exports.mjs +0 -0
  479. /package/{esm2020 → esm2022}/lib/services/markdown/pill-plugin.mjs +0 -0
  480. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
@@ -1,48 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, Input } from '@angular/core';
3
- import { Command, Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
4
- import { AbstractValueInputComponent } from '../abstract-value-input.component';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/forms";
8
- import * as i3 from "@angular/material/form-field";
9
- import * as i4 from "@angular/material/input";
10
- import * as i5 from "../../../directives/command.directive";
11
- import * as i6 from "../../../directives/focus-binding.directive";
12
- import * as i7 from "@angular/material/button";
13
- import * as i8 from "../../icon/icon.component";
14
- export class StringInputComponent extends AbstractValueInputComponent {
15
- constructor() {
16
- super();
17
- const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
18
- this.clearCommand = Command.create(() => {
19
- this.componentValue$.value = "";
20
- });
21
- this.clearCommand.disableWhile(chain.stringValue(this.componentValue$).isBlank());
22
- }
23
- ngOnInit() {
24
- }
25
- }
26
- StringInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StringInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- StringInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: StringInputComponent, selector: "aup-string-input", inputs: { autocomplete: "autocomplete", enableClear$: "enableClear$", enableClear: "enableClear", iconPrefix: "iconPrefix" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i5.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "directive", type: i6.FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { kind: "component", type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.IconComponent, selector: "aup-icon", inputs: ["icon"] }] });
28
- __decorate([
29
- TrackExternal({ defaultValue: false }),
30
- __metadata("design:type", ValueModel)
31
- ], StringInputComponent.prototype, "enableClear$", void 0);
32
- __decorate([
33
- StoreInValueModel('enableClear$'),
34
- __metadata("design:type", Boolean)
35
- ], StringInputComponent.prototype, "enableClear", void 0);
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: StringInputComponent, decorators: [{
37
- type: Component,
38
- args: [{ selector: 'aup-string-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}\n"] }]
39
- }], ctorParameters: function () { return []; }, propDecorators: { autocomplete: [{
40
- type: Input
41
- }], enableClear$: [{
42
- type: Input
43
- }], enableClear: [{
44
- type: Input
45
- }], iconPrefix: [{
46
- type: Input
47
- }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvc3RyaW5nLWlucHV0L3N0cmluZy1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL3N0cmluZy1pbnB1dC9zdHJpbmctaW5wdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxPQUFPLEVBQUUsR0FBRyxFQUFFLGlCQUFpQixFQUFFLGFBQWEsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1RixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQzs7Ozs7Ozs7OztBQU9oRixNQUFNLE9BQU8sb0JBQXFCLFNBQVEsMkJBQW1DO0lBZTNFO1FBQ0UsS0FBSyxFQUFFLENBQUM7UUFDUixNQ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C9tYXQtZXJyb3I+XG4gIDxhdXAtaWNvbiAqbmdJZj1cImljb25QcmVmaXhcIiBtYXRQcmVmaXggW2ljb25dPVwiaWNvblByZWZpeFwiPjwvYXVwLWljb24+XG4gIDxidXR0b24gbWF0LWJ1dHRvbiBtYXQtaWNvbi1idXR0b24gbWF0U3VmZml4ICpuZ0lmPVwiZW5hYmxlQ2xlYXJcIiBbcGVjdGluQ29tbWFuZF09XCJjbGVhckNvbW1hbmRcIj5cbiAgICA8YXVwLWljb24gaWNvbj1cIm1hdDpjbG9zZVwiPjwvYXVwLWljb24+XG4gIDwvYnV0dG9uPlxuPC9tYXQtZm9ybS1maWVsZD5cblxuIl19
@@ -1,30 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { AbstractValueInputComponent } from '../abstract-value-input.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- import * as i3 from "@angular/material/form-field";
7
- import * as i4 from "@angular/material/input";
8
- import * as i5 from "../../../directives/focus-binding.directive";
9
- export class TextInputComponent extends AbstractValueInputComponent {
10
- constructor() {
11
- super();
12
- // @Input() @TrackExternal({ delegateTo: 'inputModel' })
13
- // valueModel: Form.ValueModelBase<string> | MutableValueModel<string>;
14
- this.rows = 2;
15
- // const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
16
- }
17
- ngOnInit() {
18
- }
19
- }
20
- TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- TextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TextInputComponent, selector: "aup-text-input", inputs: { rows: "rows", cols: "cols" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i5.FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }] });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextInputComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'aup-text-input', template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n", styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}\n"] }]
25
- }], ctorParameters: function () { return []; }, propDecorators: { rows: [{
26
- type: Input
27
- }], cols: [{
28
- type: Input
29
- }] } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL3RleHQtaW5wdXQvdGV4dC1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL3RleHQtaW5wdXQvdGV4dC1pbnB1dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0F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biAgICAgICAgICAgIFtyb3dzXT1cInJvd3NcIlxuICAgICAgICAgICAgW2NvbHNdPVwiY29sc1wiXG4gID5cbiAgPC90ZXh0YXJlYT5cbiAgPG1hdC1oaW50ICpuZ0lmPVwic2hvd0hpbnRcIj57e2hpbnR9fTwvbWF0LWhpbnQ+XG4gIDxtYXQtZXJyb3IgKm5nSWY9XCJoYXNFcnJvcnNcIj57e2ZpcnN0RXJyb3J9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cblxuIl19
@@ -1,20 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { DisposableComponent } from '../disposable-component';
3
- import * as i0 from "@angular/core";
4
- export class LabelledValueComponent extends DisposableComponent {
5
- constructor() {
6
- super();
7
- // const {chain} = Dsl.disposeWith(this);
8
- }
9
- ngOnInit() {
10
- }
11
- }
12
- LabelledValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LabelledValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- LabelledValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LabelledValueComponent, selector: "aup-labelled-value", inputs: { label: "label" }, usesInheritance: true, ngImport: i0, template: "<label>{{label}}</label>\n<ng-content></ng-content>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"] });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LabelledValueComponent, decorators: [{
15
- type: Component,
16
- args: [{ selector: 'aup-labelled-value', template: "<label>{{label}}</label>\n<ng-content></ng-content>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"] }]
17
- }], ctorParameters: function () { return []; }, propDecorators: { label: [{
18
- type: Input
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9uZW50KHtcbiAgc2VsZWN0b3I6ICdhdXAtbGFiZWxsZWQtdmFsdWUnLFxuICB0ZW1wbGF0ZVVybDogJy4vbGFiZWxsZWQtdmFsdWUuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9sYWJlbGxlZC12YWx1ZS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIExhYmVsbGVkVmFsdWVDb21wb25lbnQgZXh0ZW5kcyBEaXNwb3NhYmxlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICAvLyByZWFkb25seSBpMThuID0gSTE4bk1hcnNVaS5jb21wb25lbnRzLmxheW91dC52YWx1ZURpc3BsYXk7XG5cbiAgQElucHV0KClcbiAgbGFiZWw6IHN0cmluZztcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcigpO1xuICAgIC8vIGNvbnN0IHtjaGFpbn0gPSBEc2wuZGlzcG9zZVdpdGgodGhpcyk7XG4gIH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgfVxuXG59XG4iLCI8bGFiZWw+e3tsYWJlbH19PC9sYWJlbD5cbjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
@@ -1,50 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, HostBinding, Input } from '@angular/core';
3
- import { GarbageCollector, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "@angular/material/progress-bar";
7
- export class LoadingContainerComponent extends GarbageCollector {
8
- constructor() {
9
- super();
10
- }
11
- get state() {
12
- return this.loadingModel.value ? "loaded" : "loading";
13
- }
14
- ngOnInit() {
15
- }
16
- }
17
- LoadingContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
- LoadingContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LoadingContainerComponent, selector: "aup-loading-container", inputs: { loadingModel: "loadingModel", loading: "loading", messageModel: "messageModel", message: "message" }, host: { properties: { "class": "this.state" } }, usesInheritance: true, ngImport: i0, template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }] });
19
- __decorate([
20
- TrackExternal(),
21
- __metadata("design:type", ValueModel)
22
- ], LoadingContainerComponent.prototype, "loadingModel", void 0);
23
- __decorate([
24
- StoreInValueModel("loadingModel"),
25
- __metadata("design:type", Boolean)
26
- ], LoadingContainerComponent.prototype, "loading", void 0);
27
- __decorate([
28
- TrackExternal(),
29
- __metadata("design:type", ValueModel)
30
- ], LoadingContainerComponent.prototype, "messageModel", void 0);
31
- __decorate([
32
- StoreInValueModel("messageModel"),
33
- __metadata("design:type", String)
34
- ], LoadingContainerComponent.prototype, "message", void 0);
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingContainerComponent, decorators: [{
36
- type: Component,
37
- args: [{ selector: 'aup-loading-container', template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"] }]
38
- }], ctorParameters: function () { return []; }, propDecorators: { loadingModel: [{
39
- type: Input
40
- }], loading: [{
41
- type: Input
42
- }], messageModel: [{
43
- type: Input
44
- }], message: [{
45
- type: Input
46
- }], state: [{
47
- type: HostBinding,
48
- args: ["class"]
49
- }] } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9sb2FkaW5nLWNvbnRhaW5lci9sb2FkaW5nLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL2xvYWRpbmctY29udGFpbmVyL2xvYWRpbmctY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDdEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGlCQUFpQixFQUFFLGFBQWEsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQU9oRyxNQUFNLE9BQU8seUJBQTBCLFNBQVEsZ0JBQWdCO0lBd0I3RDtRQUNFLEtBQUssRUFBRSxDQUFBO0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52YWx1ZX19PC9wPlxuICAgIDxtYXQtcHJvZ3Jlc3MtYmFyIG1vZGU9XCJpbmRldGVybWluYXRlXCI+PC9tYXQtcHJvZ3Jlc3MtYmFyPlxuICA8L2Rpdj5cbjwvc2VjdGlvbj5cbiJdfQ==
@@ -1,45 +0,0 @@
1
- import { Directive, ElementRef, NgZone } from '@angular/core';
2
- import { MutableValueModel } from '@coolon/pectin';
3
- import ResizeObserver from 'resize-observer-polyfill';
4
- import { DisposableComponent } from './disposable-component';
5
- import { Bounds } from './types/bounds.class';
6
- import * as i0 from "@angular/core";
7
- export class ResizeAwareComponent extends DisposableComponent {
8
- constructor(elementRef, ngZone) {
9
- super();
10
- this.elementRef = elementRef;
11
- this.ngZone = ngZone;
12
- this._boundsModel = new MutableValueModel(new Bounds(0, 0, 0, 0));
13
- }
14
- ngAfterViewInit() {
15
- const element = this.elementRef.nativeElement;
16
- const ro = new ResizeObserver((entries, observer) => {
17
- this.ngZone.run(() => this._updateBounds());
18
- });
19
- ro.observe(element);
20
- this.onDispose(() => ro.disconnect());
21
- setTimeout(() => this._updateBounds());
22
- }
23
- get boundsModel() {
24
- return this._boundsModel.readonly;
25
- }
26
- get nativeElement() {
27
- return this.elementRef.nativeElement;
28
- }
29
- // TODO: Make this handle body scroll
30
- relativePositionOf(point) {
31
- return this.bounds.relativePositionOf(point);
32
- }
33
- get bounds() {
34
- return this._boundsModel.value;
35
- }
36
- _updateBounds() {
37
- this._boundsModel.value = Bounds.ofElement(this.nativeElement);
38
- }
39
- }
40
- ResizeAwareComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ResizeAwareComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
41
- ResizeAwareComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ResizeAwareComponent, usesInheritance: true, ngImport: i0 });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ResizeAwareComponent, decorators: [{
43
- type: Directive
44
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXplLWF3YXJlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvcmVzaXplLWF3YXJlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdFLE9BQU8sRUFBRSxpQkFBaUIsRUFBYyxNQUFNLGdCQUFnQixDQUFDO0FBQy9ELE9BQU8sY0FBYyxNQUFNLDBCQUEwQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzdELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFJOUMsTUFBTSxPQUFPLG9CQUFxQixTQUFRLG1CQUFtQjtJQUkzRCxZQUErQixVQUFzQixFQUFxQixNQUFjO1FBQ3RGLEtBQUssRUFBRSxDQUFDO1FBRHFCLGVBQVUsR0FBVixVQUFVLENBQVk7UUFBcUIsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUZoRixpQkFBWSxHQUFHLElBQUksaUJBQWlCLENBQVMsSUFBSSxNQUFNLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUk3RSxDQUFDO0lBRUQsZUFBZTtRQUNiLE1BQU0sT0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FtZXNwYWNlIFJlc2l6ZUF3YXJlQ29tcG9uZW50IHtcblxufVxuIl19
@@ -1,35 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, HostBinding, Input } from "@angular/core";
3
- import { StoreInValueModel, TrackExternal, ValueModel } from "@coolon/pectin";
4
- import { DisposableComponent } from "../disposable-component";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/cdk/scrolling";
7
- export class ScrollContainerComponent extends DisposableComponent {
8
- constructor() {
9
- super();
10
- }
11
- ngOnInit() {
12
- }
13
- }
14
- ScrollContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
- ScrollContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ScrollContainerComponent, selector: "aup-scroll-container", inputs: { disableScroll$: "disableScroll$", disableScroll: "disableScroll" }, host: { properties: { "class.disable-scroll": "this.disableScroll" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"scroll-container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host:not(.disable-scroll){min-height:0}:host:not(.disable-scroll)>.scroll-container{flex-basis:0;overflow-y:scroll;align-items:stretch}:host>.scroll-container{display:flex;flex-direction:column;flex:1}\n"], dependencies: [{ kind: "directive", type: i1.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
16
- __decorate([
17
- TrackExternal({ defaultValue: false }),
18
- __metadata("design:type", ValueModel)
19
- ], ScrollContainerComponent.prototype, "disableScroll$", void 0);
20
- __decorate([
21
- StoreInValueModel("disableScroll$"),
22
- __metadata("design:type", Boolean)
23
- ], ScrollContainerComponent.prototype, "disableScroll", void 0);
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ScrollContainerComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: "aup-scroll-container", template: "<div class=\"scroll-container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host:not(.disable-scroll){min-height:0}:host:not(.disable-scroll)>.scroll-container{flex-basis:0;overflow-y:scroll;align-items:stretch}:host>.scroll-container{display:flex;flex-direction:column;flex:1}\n"] }]
27
- }], ctorParameters: function () { return []; }, propDecorators: { disableScroll$: [{
28
- type: Input
29
- }], disableScroll: [{
30
- type: Input
31
- }, {
32
- type: HostBinding,
33
- args: ["class.disable-scroll"]
34
- }] } });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3Njcm9sbC1jb250YWluZXIvc2Nyb2xsLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3Njcm9sbC1jb250YWluZXIvc2Nyb2xsLWNvbnRhaW5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxhQUFhLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7OztBQU85RCxNQUFNLE9BQU8sd0JBQXlCLFNBQVEsbU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xuICBASW5wdXQoKVxuICBAVHJhY2tFeHRlcm5hbCh7ZGVmYXVsdFZhbHVlOiBmYWxzZX0pXG4gIGRpc2FibGVTY3JvbGwkOiBWYWx1ZU1vZGVsPGJvb2xlYW4+O1xuXG4gIEBJbnB1dCgpXG4gIEBTdG9yZUluVmFsdWVNb2RlbChcImRpc2FibGVTY3JvbGwkXCIpXG4gIEBIb3N0QmluZGluZyhcImNsYXNzLmRpc2FibGUtc2Nyb2xsXCIpXG4gIGRpc2FibGVTY3JvbGw6IGJvb2xlYW47XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbn1cbiIsIjxkaXYgY2xhc3M9XCJzY3JvbGwtY29udGFpbmVyXCIgY2RrU2Nyb2xsYWJsZT5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
@@ -1,36 +0,0 @@
1
- import { Component, HostBinding, Input } from '@angular/core';
2
- import { DisposableComponent } from '../disposable-component';
3
- import * as i0 from "@angular/core";
4
- export class SectionHeaderComponent extends DisposableComponent {
5
- constructor() {
6
- super();
7
- // readonly i18n = I18nMarsUi.components.layout.header;
8
- this.size = 'medium';
9
- this.borderTop = false;
10
- this.borderBottom = false;
11
- }
12
- ngOnInit() {
13
- }
14
- }
15
- SectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
16
- SectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SectionHeaderComponent, selector: "aup-section-header", inputs: { size: "size", borderTop: "borderTop", borderBottom: "borderBottom" }, host: { properties: { "class": "this.size", "class.border-top": "this.borderTop", "class.border-bottom": "this.borderBottom" } }, usesInheritance: true, ngImport: i0, template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n", styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding: var(--padding, var(--default-padding));--resolved-padding-right: var(--padding-right, calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:#000000ab}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:#000000ab}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:#000000ab}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:#000000ab}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}\n"] });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SectionHeaderComponent, decorators: [{
18
- type: Component,
19
- args: [{ selector: 'aup-section-header', template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n", styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding: var(--padding, var(--default-padding));--resolved-padding-right: var(--padding-right, calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:#000000ab}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:#000000ab}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:#000000ab}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:#000000ab}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}\n"] }]
20
- }], ctorParameters: function () { return []; }, propDecorators: { size: [{
21
- type: Input
22
- }, {
23
- type: HostBinding,
24
- args: ['class']
25
- }], borderTop: [{
26
- type: Input
27
- }, {
28
- type: HostBinding,
29
- args: ['class.border-top']
30
- }], borderBottom: [{
31
- type: Input
32
- }, {
33
- type: HostBinding,
34
- args: ['class.border-bottom']
35
- }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9zZWN0aW9uLWhlYWRlci9zZWN0aW9uLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3NlY3Rpb24taGVhZGVyL3NlY3Rpb24taGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7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uXG4gIC8vIHJlYWRvbmx5IGkxOG4gPSBJMThuTWFyc1VpLmNvbXBvbmVudHMubGF5b3V0LmhlYWRlcjtcblxuICBASW5wdXQoKVxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgc2l6ZTogJ3Rvb2xiYXInIHwgJ2xhcmdlJyB8ICdtZWRpdW0nIHwgJ3NtYWxsJyA9ICdtZWRpdW0nO1xuXG4gIEBJbnB1dCgpXG4gIEBIb3N0QmluZGluZygnY2xhc3MuYm9yZGVyLXRvcCcpXG4gIGJvcmRlclRvcCA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpXG4gIEBIb3N0QmluZGluZygnY2xhc3MuYm9yZGVyLWJvdHRvbScpXG4gIGJvcmRlckJvdHRvbSA9IGZhbHNlO1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgfVxuXG59XG4iLCI8c3BhbiBjbGFzcz1cImNvbnRhaW5lci1zdGFydFwiPjxuZy1jb250ZW50IHNlbGVjdD1cIltoZWFkZXItc3RhcnRdXCI+PC9uZy1jb250ZW50PjxuZy1jb250ZW50PjwvbmctY29udGVudD48L3NwYW4+XG48c3BhbiBjbGFzcz1cImNvbnRhaW5lci1taWRkbGVcIj48bmctY29udGVudCBzZWxlY3Q9XCJbaGVhZGVyLWNlbnRlcl1cIj48L25nLWNvbnRlbnQ+PC9zcGFuPlxuPHNwYW4gY2xhc3M9XCJjb250YWluZXItZW5kXCI+PG5nLWNvbnRlbnQgc2VsZWN0PVwiW2hlYWRlci1lbmRdXCI+PC9uZy1jb250ZW50Pjwvc3Bhbj5cbiJdfQ==
@@ -1,126 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { ChangeDetectorRef, Component, ContentChildren, Directive, Input, QueryList, TemplateRef } from '@angular/core';
3
- import { Dsl, StoreInValueModel, TrackExternal, ValueModel } from '@coolon/pectin';
4
- import { DisposableComponent } from '../disposable-component';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/material/tabs";
8
- export class SwitchCaseOption {
9
- constructor(templateRef) {
10
- this.templateRef = templateRef;
11
- }
12
- get name() {
13
- return this.constructor.name;
14
- }
15
- }
16
- export class SwitchCaseWhenDirective extends SwitchCaseOption {
17
- constructor(templateRef) {
18
- super(templateRef);
19
- this.isDefault = false;
20
- }
21
- matches(value) {
22
- return this.aupSwitchCaseWhen === value;
23
- }
24
- }
25
- SwitchCaseWhenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseWhenDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
26
- SwitchCaseWhenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SwitchCaseWhenDirective, selector: "[aupSwitchCaseWhen]", inputs: { aupSwitchCaseWhen: "aupSwitchCaseWhen" }, providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }], usesInheritance: true, ngImport: i0 });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseWhenDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- selector: '[aupSwitchCaseWhen]',
31
- providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseWhenDirective }]
32
- }]
33
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { aupSwitchCaseWhen: [{
34
- type: Input
35
- }] } });
36
- export class SwitchCaseDefaultDirective extends SwitchCaseOption {
37
- constructor(templateRef) {
38
- super(templateRef);
39
- this.isDefault = true;
40
- }
41
- matches(value) {
42
- return false;
43
- }
44
- }
45
- SwitchCaseDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseDefaultDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
46
- SwitchCaseDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SwitchCaseDefaultDirective, selector: "[aupSwitchCaseDefault]", providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }], usesInheritance: true, ngImport: i0 });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseDefaultDirective, decorators: [{
48
- type: Directive,
49
- args: [{
50
- selector: '[aupSwitchCaseDefault]',
51
- providers: [{ provide: SwitchCaseOption, useExisting: SwitchCaseDefaultDirective }]
52
- }]
53
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
54
- /**
55
- * @example
56
- * <aup-switch-case [switchModel]="booleanModel">
57
- * <div *aupSwitchCaseWhen="true"></div>
58
- * <div *aupSwitchCaseDefault>The default content</div>
59
- * </aup-switch-case>
60
- */
61
- export class SwitchCaseComponent extends DisposableComponent {
62
- constructor(cdr) {
63
- super();
64
- this.cdr = cdr;
65
- this.selectedIndex = 0;
66
- }
67
- ngOnInit() {
68
- }
69
- ngAfterContentInit() {
70
- const subscription = this.switchCaseOptions.changes.subscribe(change => this.updateSelection());
71
- this.onDispose(() => subscription.unsubscribe());
72
- const { chain, when } = Dsl.disposeWith(this);
73
- when(this.switchModel).changes(() => this.updateSelection(), { initialValue: 'triggerChange' });
74
- this.cdr.detectChanges();
75
- }
76
- updateSelection() {
77
- const matchingIndicies = [];
78
- this.switchCaseOptions.forEach((option, index) => {
79
- if (option.matches(this.switchModel.value)) {
80
- matchingIndicies.push(index);
81
- }
82
- });
83
- if (matchingIndicies.length > 1) {
84
- console.warn(`found ${matchingIndicies.length} matching case values, displaying the first.`);
85
- }
86
- if (matchingIndicies.length === 0) {
87
- this.switchCaseOptions.forEach((option, index) => {
88
- if (option.isDefault) {
89
- matchingIndicies.push(index);
90
- }
91
- });
92
- if (matchingIndicies.length > 1) {
93
- console.warn(`found ${matchingIndicies.length} default case values, displaying the first.`);
94
- }
95
- }
96
- if (matchingIndicies.length > 0) {
97
- this.selectedIndex = matchingIndicies[0];
98
- }
99
- else {
100
- console.warn(`found no matching or default case values.`);
101
- this.selectedIndex = -1;
102
- }
103
- }
104
- }
105
- SwitchCaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
106
- SwitchCaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SwitchCaseComponent, selector: "aup-switch-case", inputs: { switchModel: "switchModel", switch: "switch" }, queries: [{ propertyName: "switchCaseOptions", predicate: SwitchCaseOption }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }] });
107
- __decorate([
108
- TrackExternal(),
109
- __metadata("design:type", ValueModel)
110
- ], SwitchCaseComponent.prototype, "switchModel", void 0);
111
- __decorate([
112
- StoreInValueModel('switchModel'),
113
- __metadata("design:type", Object)
114
- ], SwitchCaseComponent.prototype, "switch", void 0);
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SwitchCaseComponent, decorators: [{
116
- type: Component,
117
- args: [{ selector: 'aup-switch-case', template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}\n"] }]
118
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { switchModel: [{
119
- type: Input
120
- }], switch: [{
121
- type: Input
122
- }], switchCaseOptions: [{
123
- type: ContentChildren,
124
- args: [SwitchCaseOption]
125
- }] } });
126
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLWNhc2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9zd2l0Y2gtY2FzZS9zd2l0Y2gtY2FzZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3N3aXRjaC1jYXNlL3N3aXRjaC1jYXNlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBRUwsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsU0FBUyxFQUNULEtBQUssRUFFTCxTQUFTLE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