@coolon/angular-ui-powerups 16.1.0-aplpha.1 → 16.1.0-aplpha.100

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 (309) hide show
  1. package/assets/activities/activities.scss +3 -3
  2. package/assets/activities/input-activities.scss +10 -2
  3. package/assets/form.scss +77 -23
  4. package/assets/icons.scss +1 -1
  5. package/assets/interaction/editor/inline-string-editor.scss +4 -0
  6. package/assets/interaction.scss +1 -1
  7. package/assets/place.scss +31 -0
  8. package/assets/styles.scss +2 -0
  9. package/assets/table.scss +39 -24
  10. package/assets/tabs.scss +2 -3
  11. package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
  12. package/esm2022/lib/animations/slide-animations.mjs +6 -1
  13. package/esm2022/lib/components/alignment.mjs +1 -1
  14. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +7 -12
  15. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +4 -4
  16. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +6 -6
  17. package/esm2022/lib/components/commands/command/command.component.mjs +29 -18
  18. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +13 -5
  19. package/esm2022/lib/components/commands/command-face.mjs +11 -11
  20. package/esm2022/lib/components/commands/flex.component.mjs +4 -4
  21. package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
  22. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +1 -1
  23. package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
  24. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +14 -14
  25. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +8 -8
  26. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -7
  27. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +9 -9
  28. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +11 -18
  29. package/esm2022/lib/components/commands/separator.component.mjs +4 -4
  30. package/esm2022/lib/components/components.module.mjs +52 -38
  31. package/esm2022/lib/components/disposable-component.mjs +22 -40
  32. package/esm2022/lib/components/empty-state/empty-state.component.mjs +5 -9
  33. package/esm2022/lib/components/exports.mjs +8 -3
  34. package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -4
  35. package/esm2022/lib/components/focusable.component.mjs +5 -5
  36. package/esm2022/lib/components/forms/abstract-input.component.mjs +66 -18
  37. package/esm2022/lib/components/forms/abstract-list-input.component.mjs +4 -4
  38. package/esm2022/lib/components/forms/abstract-value-input.component.mjs +4 -4
  39. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +12 -13
  40. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +7 -7
  41. package/esm2022/lib/components/forms/form-field.mjs +2 -0
  42. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +10 -10
  43. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +53 -14
  44. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +44 -7
  45. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
  46. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +17 -16
  47. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +26 -14
  48. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +7 -7
  49. package/esm2022/lib/components/icon/icon.component.mjs +10 -7
  50. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
  51. package/esm2022/lib/components/loadable-component.mjs +49 -0
  52. package/esm2022/lib/components/loading-container/loading-container.component.mjs +7 -12
  53. package/esm2022/lib/components/noop/noop.component.mjs +5 -7
  54. package/esm2022/lib/components/resize-aware.component.mjs +64 -27
  55. package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +5 -5
  56. package/esm2022/lib/components/section-header/section-header.component.mjs +4 -4
  57. package/esm2022/lib/components/switch-case/switch-case.component.mjs +15 -17
  58. package/esm2022/lib/components/tables/abstract-table-model.mjs +50 -26
  59. package/esm2022/lib/components/tables/abstract-table.component.mjs +22 -8
  60. package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
  61. package/esm2022/lib/components/tables/column/column-model.mjs +18 -7
  62. package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
  63. package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
  64. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  65. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
  66. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
  67. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +6 -5
  68. package/esm2022/lib/components/tables/column/property-column-model.mjs +5 -5
  69. package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
  70. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +7 -7
  71. package/esm2022/lib/components/tables/editor/edit-session.mjs +4 -2
  72. package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
  73. package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
  74. package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +3 -2
  75. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +14 -9
  76. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
  77. package/esm2022/lib/components/tables/footer/footer-row-model.mjs +38 -0
  78. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
  79. package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
  80. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +19 -3
  81. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +6 -8
  82. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
  83. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +16 -8
  84. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
  85. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +161 -51
  86. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +4 -4
  87. package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +30 -0
  88. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
  89. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +4 -4
  90. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +13 -8
  91. package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
  92. package/esm2022/lib/components/tables/table/table.component.mjs +39 -64
  93. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +5 -5
  94. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +5 -4
  95. package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
  96. package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +1 -1
  97. package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +5 -7
  98. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
  99. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -4
  100. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +10 -7
  101. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +3 -3
  102. package/esm2022/lib/components/text/markdown/markdown.component.mjs +6 -6
  103. package/esm2022/lib/components/track.mjs +1 -1
  104. package/esm2022/lib/components/types/bounds.class.mjs +1 -1
  105. package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
  106. package/esm2022/lib/directives/command.directive.mjs +11 -11
  107. package/esm2022/lib/directives/directives.module.mjs +10 -10
  108. package/esm2022/lib/directives/exports.mjs +2 -1
  109. package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
  110. package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
  111. package/esm2022/lib/directives/focus-binding.mjs +1 -1
  112. package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
  113. package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
  114. package/esm2022/lib/directives/highlight.pipe.mjs +5 -5
  115. package/esm2022/lib/directives/resize-observer.directive.mjs +40 -0
  116. package/esm2022/lib/interaction/abstract-interaction-context.mjs +1 -1
  117. package/esm2022/lib/interaction/activity-ref.mjs +2 -2
  118. package/esm2022/lib/interaction/activity.mjs +7 -7
  119. package/esm2022/lib/interaction/alert.mjs +2 -2
  120. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +10 -6
  121. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +5 -6
  122. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +8 -10
  123. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -4
  124. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +32 -15
  125. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +4 -6
  126. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -6
  127. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
  128. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -4
  129. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -4
  130. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -4
  131. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
  132. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -4
  133. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +5 -5
  134. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +5 -5
  135. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +5 -5
  136. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
  137. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  138. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
  139. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +9 -9
  140. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +19 -8
  141. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +6 -5
  142. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +7 -4
  143. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +12 -7
  144. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +6 -5
  145. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +129 -0
  146. package/esm2022/lib/interaction/confirm.mjs +1 -1
  147. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
  148. package/esm2022/lib/interaction/exports.mjs +2 -1
  149. package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
  150. package/esm2022/lib/interaction/interaction-context.mjs +1 -1
  151. package/esm2022/lib/interaction/interaction.module.mjs +29 -31
  152. package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
  153. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +1 -1
  154. package/esm2022/lib/interaction/services/interaction.service.mjs +6 -6
  155. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +8 -9
  156. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +1 -2
  157. package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
  158. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +15 -5
  159. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +7 -8
  160. package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
  161. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +10 -12
  162. package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
  163. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +15 -10
  164. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
  165. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  166. package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
  167. package/esm2022/lib/place/guards/place.guard.mjs +6 -5
  168. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  169. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
  170. package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
  171. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
  172. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
  173. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
  174. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
  175. package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
  176. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
  177. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +3 -6
  178. package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
  179. package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
  180. package/esm2022/lib/place/navigation/session/navigation-session.mjs +1 -1
  181. package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
  182. package/esm2022/lib/place/place-access-guard.mjs +1 -1
  183. package/esm2022/lib/place/place-component.mjs +33 -47
  184. package/esm2022/lib/place/place-config.mjs +1 -1
  185. package/esm2022/lib/place/place-definition.mjs +3 -3
  186. package/esm2022/lib/place/place-history.mjs +6 -8
  187. package/esm2022/lib/place/place-router.mjs +39 -35
  188. package/esm2022/lib/place/place.decorator.mjs +2 -2
  189. package/esm2022/lib/place/place.module.mjs +16 -16
  190. package/esm2022/lib/place/route/formatter.mjs +2 -2
  191. package/esm2022/lib/place/route/json-types.mjs +1 -1
  192. package/esm2022/lib/place/route/parameter-decorators.mjs +54 -50
  193. package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
  194. package/esm2022/lib/place/route/parameter-sanitiser.mjs +1 -1
  195. package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
  196. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
  197. package/esm2022/lib/place/url-service.mjs +4 -4
  198. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  199. package/esm2022/lib/place/visit-segment.mjs +2 -2
  200. package/esm2022/lib/place/visit.mjs +2 -2
  201. package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
  202. package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
  203. package/esm2022/lib/services/visibility-service.mjs +7 -7
  204. package/fesm2022/coolon-angular-ui-powerups.mjs +2913 -2275
  205. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  206. package/lib/angular-ui-powerups.module.d.ts +5 -5
  207. package/lib/animations/slide-animations.d.ts +1 -0
  208. package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -4
  209. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  210. package/lib/components/commands/command/command.component.d.ts +5 -5
  211. package/lib/components/commands/command-face/command-face.component.d.ts +2 -0
  212. package/lib/components/commands/command-face.d.ts +5 -7
  213. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -3
  214. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
  215. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
  216. package/lib/components/components.module.d.ts +55 -53
  217. package/lib/components/disposable-component.d.ts +12 -9
  218. package/lib/components/empty-state/empty-state.component.d.ts +1 -4
  219. package/lib/components/exports.d.ts +7 -2
  220. package/lib/components/forms/abstract-input.component.d.ts +16 -7
  221. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
  222. package/lib/components/forms/form-field.d.ts +5 -0
  223. package/lib/components/forms/number-input/number-input.component.d.ts +8 -4
  224. package/lib/components/forms/password-input/password-input.component.d.ts +7 -1
  225. package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
  226. package/lib/components/forms/select-input/select-input.component.d.ts +4 -3
  227. package/lib/components/forms/string-input/string-input.component.d.ts +3 -1
  228. package/lib/components/loadable-component.d.ts +17 -0
  229. package/lib/components/loading-container/loading-container.component.d.ts +1 -4
  230. package/lib/components/noop/noop.component.d.ts +0 -1
  231. package/lib/components/resize-aware.component.d.ts +25 -6
  232. package/lib/components/switch-case/switch-case.component.d.ts +6 -7
  233. package/lib/components/tables/abstract-table-model.d.ts +15 -7
  234. package/lib/components/tables/abstract-table.component.d.ts +6 -5
  235. package/lib/components/tables/column/column-manager.d.ts +19 -0
  236. package/lib/components/tables/column/column-model.d.ts +8 -4
  237. package/lib/components/tables/column/column-order-manager.d.ts +20 -0
  238. package/lib/components/tables/column/custom-template-column-model.d.ts +3 -2
  239. package/lib/components/tables/column/custom-value-column-model.d.ts +3 -2
  240. package/lib/components/tables/column/editor-controls-column-model.d.ts +3 -2
  241. package/lib/components/tables/column/list-propery-column-model.d.ts +3 -2
  242. package/lib/components/tables/column/property-column-model.d.ts +3 -2
  243. package/lib/components/tables/column/selection-column-model.d.ts +3 -2
  244. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
  245. package/lib/components/tables/editor/edit-session.d.ts +1 -1
  246. package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
  247. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  248. package/lib/components/tables/filter/text-search-predicate.d.ts +9 -0
  249. package/lib/components/tables/footer/footer-row-model.d.ts +22 -0
  250. package/lib/components/tables/renderer/cell-portal-ref.d.ts +16 -9
  251. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
  252. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
  253. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -0
  254. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +43 -19
  255. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +1 -1
  256. package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +11 -0
  257. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
  258. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +3 -2
  259. package/lib/components/tables/table/table-model.d.ts +1 -1
  260. package/lib/components/tables/table/table.component.d.ts +15 -11
  261. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +1 -1
  262. package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
  263. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +0 -1
  264. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
  265. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -2
  266. package/lib/components/tables/tree-table/tree-table-component.d.ts +5 -2
  267. package/lib/components/tables/tree-table/tree-table-model.d.ts +1 -1
  268. package/lib/components/text/markdown/markdown.component.d.ts +1 -1
  269. package/lib/directives/command.directive.d.ts +2 -2
  270. package/lib/directives/directives.module.d.ts +5 -5
  271. package/lib/directives/exports.d.ts +1 -0
  272. package/lib/directives/resize-observer.directive.d.ts +16 -0
  273. package/lib/interaction/activity-ref.d.ts +2 -2
  274. package/lib/interaction/activity.d.ts +2 -2
  275. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -0
  276. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +1 -3
  277. package/lib/interaction/components/activity-container/activity-container.component.d.ts +8 -4
  278. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +2 -3
  279. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  280. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  281. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +6 -4
  282. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  283. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
  284. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
  285. package/lib/interaction/exports.d.ts +1 -0
  286. package/lib/interaction/interaction.module.d.ts +30 -30
  287. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -2
  288. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +1 -2
  289. package/lib/place/components/abstract-place-navigation.component.d.ts +1 -0
  290. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
  291. package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -4
  292. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +2 -1
  293. package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
  294. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
  295. package/lib/place/place-component.d.ts +5 -15
  296. package/lib/place/place-history.d.ts +0 -1
  297. package/lib/place/place-router.d.ts +6 -2
  298. package/lib/place/place.decorator.d.ts +1 -1
  299. package/lib/place/place.module.d.ts +8 -8
  300. package/lib/place/route/json-types.d.ts +1 -3
  301. package/lib/place/visit-segment.d.ts +4 -4
  302. package/lib/place/visit.d.ts +2 -2
  303. package/lib/services/markdown/markdown.service.d.ts +0 -1
  304. package/lib/services/visibility-service.d.ts +1 -1
  305. package/package.json +19 -20
  306. package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
  307. package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
  308. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
  309. package/lib/components/tables/column/column-list-model.d.ts +0 -13
@@ -1,36 +1,60 @@
1
- import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
2
- import { ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
1
+ import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
2
+ import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
3
+ import { AfterViewInit, ElementRef, InjectionToken, OnInit } from "@angular/core";
4
+ import { ListModel, ListModelChain, MutableValueModel, Proxify, ValueModel } from "@coolon/pectin";
5
+ import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
3
6
  import { ResizeAwareComponent } from "../../../resize-aware.component";
4
7
  import { AbstractTableModel } from "../../abstract-table-model";
5
8
  import { ColumnModel } from "../../column/column-model";
9
+ import { FooterRowModel } from "../../footer/footer-row-model";
6
10
  import * as i0 from "@angular/core";
7
- export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements OnInit {
11
+ export declare const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER: InjectionToken<number>;
12
+ export declare class TableRowAttributesDirective implements OnInit {
13
+ protected readonly elementRef: ElementRef<HTMLElement>;
14
+ aupTableRowAttributes: Record<string, string>;
15
+ constructor(elementRef: ElementRef<HTMLElement>);
16
+ ngOnInit(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
19
+ }
20
+ export declare class TableBodyComponent<Row extends object> extends ResizeAwareComponent implements AfterViewInit {
21
+ protected bufferMultiplier: number;
8
22
  accessor data$: ListModel<Row>;
9
23
  accessor tableModel: AbstractTableModel<Row>;
24
+ accessor footerRow: FooterRowModel.Impl<any>;
10
25
  accessor showHeader$: ValueModel<boolean>;
11
26
  accessor showHeader: boolean;
12
- readonly visibleRowCount: EventEmitter<number>;
13
27
  trackBy: (index: number, item: Row) => any;
14
- /**
15
- * Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
16
- * need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
17
- * containment area.
18
- */
19
- enableScrolling: boolean;
20
- columns: ListModelChain<ColumnModel<Row>>;
21
- columnIds: ListModelChain<string>;
22
- private columnsById;
23
- readonly _visibleRowCount: ValueModel<number>;
24
- private readonly headerHeight;
25
- private readonly rowHeight;
28
+ accessor scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
29
+ accessor scrollMode: TableBodyComponent.ScrollMode;
30
+ scrollViewport: CdkVirtualScrollViewport;
31
+ columns$: ListModelChain<ColumnModel<Row>>;
32
+ columnIds$: ListModelChain<string>;
33
+ private columnsById$;
34
+ protected readonly headerHeight$: MutableValueModel<number>;
35
+ protected rowHeight$: MutableValueModel<number>;
26
36
  baseCssClass: string;
27
- constructor(elementRef: ElementRef, ngZone: NgZone);
37
+ protected virtualScrollDataSource: TableVirtualScrollDataSource<Row>;
38
+ private virtualScrollActive$;
39
+ private scrollTimeout;
40
+ constructor(bufferMultiplier?: number);
41
+ ngAfterViewInit(): void;
28
42
  get hideHeader(): boolean;
43
+ get headerHeightCssVar(): string;
44
+ get rowHeightCssVar(): string;
29
45
  isEditing(row: Row): boolean;
30
46
  notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
31
47
  isFirstVisibleColumn(columnId: string): boolean;
32
48
  isLastVisibleColumn(columnId: string): boolean;
33
49
  getColumnClasses(columnId: string): string[];
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "enableScrolling": { "alias": "enableScrolling"; "required": false; }; }, { "visibleRowCount": "visibleRowCount"; }, never, never, false, never>;
50
+ private scheduleTableHeightCheck;
51
+ private notifyScrolled;
52
+ private clearScrollTimeout;
53
+ initialiseFooter($event: CdkPortalOutletAttachedRef): void;
54
+ protected readonly Proxify: typeof Proxify;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, [{ optional: true; }]>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "footerRow": { "alias": "footerRow"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "scrollMode$": { "alias": "scrollMode$"; "required": false; }; "scrollMode": { "alias": "scrollMode"; "required": false; }; }, {}, never, never, false, never>;
57
+ }
58
+ export declare namespace TableBodyComponent {
59
+ type ScrollMode = "none" | "classic" | "virtual";
36
60
  }
@@ -6,7 +6,7 @@ import { ColumnModel, RowData } from "../../column/column-model";
6
6
  import { EditSession } from "../../editor/edit-session";
7
7
  import { CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL } from "../cell-portal-ref";
8
8
  import * as i0 from "@angular/core";
9
- export declare class TableCellComponent<Row> extends DisposableComponent implements OnChanges {
9
+ export declare class TableCellComponent<Row extends object> extends DisposableComponent implements OnChanges {
10
10
  row: Row;
11
11
  column: ColumnModel<Row>;
12
12
  editSession: EditSession<Row>;
@@ -0,0 +1,11 @@
1
+ import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
2
+ import { FooterRowModel } from "../../footer/footer-row-model";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TableFooterRow {
5
+ row: FooterRowModel.Impl<any>;
6
+ defaultClassNames: string;
7
+ get rowClasses(): string;
8
+ initialise($event: CdkPortalOutletAttachedRef): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterRow, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableFooterRow, "aup-table-footer-row", never, { "row": { "alias": "row"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -7,7 +7,6 @@ export declare class TableHeaderCellComponent implements OnInit {
7
7
  column: ColumnModel<any>;
8
8
  defaultClassNames: string;
9
9
  [HEADER_CELL_RENDERER_PORTAL]: Portal<any>;
10
- constructor();
11
10
  ngOnInit(): void;
12
11
  initialiseHeader(ref: CdkPortalOutletAttachedRef): void;
13
12
  getPortal(): Portal<any>;
@@ -1,5 +1,5 @@
1
1
  import { CdkPortalOutletAttachedRef, ComponentPortal } from "@angular/cdk/portal";
2
- import { MatLegacyMenuTrigger as MatMenuTrigger } from "@angular/material/legacy-menu";
2
+ import { MatMenuTrigger } from "@angular/material/menu";
3
3
  import { ValueModelChain } from "@coolon/pectin";
4
4
  import { Constructable } from "@coolon/typescript-utilities";
5
5
  import { DisposableComponent } from "../../../disposable-component";
@@ -13,8 +13,9 @@ export declare class TableMoreMenuComponent<T> extends DisposableComponent imple
13
13
  private readonly popupType$;
14
14
  popupComponentPortal$: ValueModelChain<ComponentPortal<TableMoreMenuPopupComponent<T>>>;
15
15
  private readonly _visible$;
16
+ private initialiseCallback?;
16
17
  constructor();
17
- configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>): void;
18
+ configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>, configureCallback?: (component: TableMoreMenuPopupComponent<T>) => void): void;
18
19
  preventDefault($event: MouseEvent): void;
19
20
  initialise($event: CdkPortalOutletAttachedRef): void;
20
21
  get visible$(): import("@coolon/pectin").ValueModel<boolean>;
@@ -80,7 +80,7 @@ import { SelectionColumnModel } from "../column/selection-column-model";
80
80
  * table.columnTextProperties(I18n.table.columns); // <- configures all columns
81
81
  * });
82
82
  */
83
- export declare class TableModel<Row> extends AbstractTableModel<Row> {
83
+ export declare class TableModel<Row extends object> extends AbstractTableModel<Row> {
84
84
  constructor(sourceOfTruth?: ListModel<Row>, builder?: (table: TableModel<Row>) => void);
85
85
  bindToTable(filteredRows$: ListModel<Row>, visibleRows$: ListModel<Row>): void;
86
86
  addSelectionColumn(selectionModel?: SelectionModel<Row>, showSelectionColumn?: ValueModel<boolean> | boolean): SelectionColumnModel<Row>;
@@ -1,8 +1,9 @@
1
- import { Injector } from "@angular/core";
1
+ import { Injector, OnInit } from "@angular/core";
2
2
  import { ValueModel } from "@coolon/pectin";
3
3
  import { AbstractTableModel } from '../abstract-table-model';
4
4
  import { AbstractTableComponent } from '../abstract-table.component';
5
5
  import { TableFilterModel } from "../filter/table-filter-model";
6
+ import { TableBodyComponent } from "../renderer/table-body/table-body.component";
6
7
  import { TableModel } from "./table-model";
7
8
  import * as i0 from "@angular/core";
8
9
  /**
@@ -65,23 +66,26 @@ import * as i0 from "@angular/core";
65
66
  * }
66
67
  * }
67
68
  */
68
- export declare class TableComponent<Row> extends AbstractTableComponent<Row> {
69
+ export declare class TableComponent<Row extends object> extends AbstractTableComponent<Row> implements OnInit {
69
70
  accessor tableModel: TableModel<Row>;
70
71
  accessor filterModel: TableFilterModel<Row>;
71
- accessor enablePaging$: ValueModel<boolean>;
72
- accessor enablePaging: boolean;
72
+ tableBody: TableBodyComponent<Row>;
73
+ /**
74
+ * Set to true to scroll mode to classic or virtual (default). Virtual scrolll performs better for large data sets but clamps the row height. Classic scroll
75
+ * renders all rows but allows row heights to grow.
76
+ */
77
+ accessor scrollMode$: ValueModel<TableComponent.ScrollMode>;
78
+ accessor scrollMode: TableComponent.ScrollMode;
73
79
  private _footerContentAdded;
74
80
  private readonly _filteredRows$;
75
- private _pageSize;
76
- private pagedListModel;
81
+ protected readonly tableBodyScrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
77
82
  constructor(injector: Injector);
78
83
  ngOnInit(): void;
79
84
  protected getModel(): AbstractTableModel<Row>;
80
- get pageController(): import("@coolon/pectin").PageController;
81
- private configurePaging;
82
- private disposeOfPagedListModel;
83
85
  footerContentChanged($event: any): void;
84
- updatePageSize(count: number): void;
85
86
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "enablePaging$": { "alias": "enablePaging$"; "required": false; }; "enablePaging": { "alias": "enablePaging"; "required": false; }; }, {}, never, ["[footer]"], false, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "scrollMode$": { "alias": "scrollMode$"; "required": false; }; "scrollMode": { "alias": "scrollMode"; "required": false; }; }, {}, never, ["[footer], [slot=footer]"], false, never>;
88
+ }
89
+ export declare namespace TableComponent {
90
+ type ScrollMode = Omit<TableBodyComponent.ScrollMode, 'none'>;
87
91
  }
@@ -1,4 +1,4 @@
1
- import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
1
+ import { MatMenuTrigger } from '@angular/material/menu';
2
2
  import { Command } from '@coolon/pectin';
3
3
  import { CommandFace } from '../../commands/command-face';
4
4
  import { DisposableComponent } from '../../disposable-component';
@@ -1,4 +1,4 @@
1
- import { Disposable, DisposedWith, GarbageCollector, ListModel, ValueModel } from '@coolon/pectin';
1
+ import { Disposable, DisposedWith, GarbageCollector, ListModel } from '@coolon/pectin';
2
2
  export declare class TreeExpansionModel<T> extends GarbageCollector {
3
3
  private readonly _source$;
4
4
  private readonly collapsedIds;
@@ -8,7 +8,7 @@ export declare class TreeExpansionModel<T> extends GarbageCollector {
8
8
  bindToTable(source$: ListModel<T>, visibleRows$: ListModel<T>): Disposable;
9
9
  get visibleRows$(): ListModel<T>;
10
10
  protected identityOf(row: T): any;
11
- get isExpandedPredicate$(): ValueModel<(node: T) => boolean>;
11
+ get isExpandedPredicate$(): import("@coolon/pectin").ValueModel<(node: T) => boolean>;
12
12
  expand(node: T): void;
13
13
  collapse(node: T): void;
14
14
  canExpand(node: T): boolean;
@@ -4,7 +4,6 @@ export declare class TreeInheritanceIconComponent<T> {
4
4
  type: TreeInheritanceIconComponent.Type | string;
5
5
  pixelWidth: number;
6
6
  pixelHeight: number;
7
- constructor();
8
7
  get heightOffset(): number;
9
8
  get viewBox(): string;
10
9
  hasHead(): boolean;
@@ -5,7 +5,7 @@ import { CellRenderer } from '../../renderer/cell-renderer';
5
5
  import { TreeInheritanceIconComponent } from '../tree-inheritance-icon/tree-inheritance-icon.component';
6
6
  import { TreeTableModel } from '../tree-table-model';
7
7
  import * as i0 from "@angular/core";
8
- export declare class TreeLabelCellRendererComponent<T> extends DisposableComponent implements CellRenderer<T>, OnInit {
8
+ export declare class TreeLabelCellRendererComponent<T extends object> extends DisposableComponent implements CellRenderer<T>, OnInit {
9
9
  private node$;
10
10
  accessor value: T;
11
11
  label: string;
@@ -1,13 +1,14 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
2
  import { Types } from '@coolon/pectin';
3
3
  import { ColumnModel } from '../column/column-model';
4
+ import { ColumnOrderManager } from "../column/column-order-manager";
4
5
  import { TreeLabelCellRendererComponent } from './tree-label-cell-renderer/tree-label-cell-renderer.component';
5
6
  import { TreeTableModel } from './tree-table-model';
6
- export declare class TreeLabelColumnModel<Row> extends ColumnModel<Row> {
7
+ export declare class TreeLabelColumnModel<Row extends object> extends ColumnModel<Row> {
7
8
  readonly expansionModel: TreeTableModel<Row>;
8
9
  private labelFactory;
9
10
  private iconFactory;
10
- constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
11
+ constructor(columnId: string, order: ColumnOrderManager, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
11
12
  pluck<P extends Types.StringValuePropertiesOf<Row>>(property: P): void;
12
13
  useLabel(factory: (row: Row) => string): void;
13
14
  /**
@@ -1,7 +1,9 @@
1
- import { Injector } from "@angular/core";
1
+ import { Injector, OnInit } from "@angular/core";
2
+ import { ValueModel } from '@coolon/pectin';
2
3
  import { TreeNode } from '@coolon/typescript-utilities';
3
4
  import { AbstractTableModel } from '../abstract-table-model';
4
5
  import { AbstractTableComponent } from '../abstract-table.component';
6
+ import { TableBodyComponent } from "../renderer/table-body/table-body.component";
5
7
  import { TreeExpansionModel } from "./tree-expansion-model";
6
8
  import { TreeTableModel } from './tree-table-model';
7
9
  import * as i0 from "@angular/core";
@@ -65,9 +67,10 @@ import * as i0 from "@angular/core";
65
67
  * }
66
68
  * }
67
69
  */
68
- export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> {
70
+ export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> implements OnInit {
69
71
  accessor treeTableModel: TreeTableModel<T>;
70
72
  accessor expansionModel: TreeExpansionModel<T>;
73
+ protected readonly scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
71
74
  constructor(injector: Injector);
72
75
  ngOnInit(): void;
73
76
  getModel(): AbstractTableModel<T>;
@@ -6,7 +6,7 @@ import { TreeLabelColumnModel } from './tree-label-column-model';
6
6
  export type ChildArrayPropertiesOf<T> = {
7
7
  [K in keyof T]: T[K] extends T[] ? K : never;
8
8
  }[keyof T];
9
- export declare class TreeTableModel<Row> extends AbstractTableModel<Row> {
9
+ export declare class TreeTableModel<Row extends object> extends AbstractTableModel<Row> {
10
10
  private treeExpansionModel;
11
11
  private readonly flattenedDataSource;
12
12
  readonly childExtractor: (row: Row) => Row[];
@@ -22,7 +22,7 @@ export declare class MarkdownComponent extends DisposableComponent implements On
22
22
  accessor content$: ValueModel<string>;
23
23
  accessor content: string;
24
24
  inline: boolean;
25
- constructor(platform: Object, element: ElementRef<HTMLElement>, markdownService: MarkdownService);
25
+ constructor(platform: object, element: ElementRef<HTMLElement>, markdownService: MarkdownService);
26
26
  private extractInnerContent;
27
27
  private renderContent;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownComponent, never>;
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { MatLegacyButton as MatButton } from '@angular/material/legacy-button';
3
- import { MatLegacyMenuItem as MatMenuItem } from '@angular/material/legacy-menu';
2
+ import { MatButton } from '@angular/material/button';
3
+ import { MatMenuItem } from '@angular/material/menu';
4
4
  import { Command, GarbageCollector, UnaryCommand } from '@coolon/pectin';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CommandDirective<P = any> extends GarbageCollector implements OnInit, OnDestroy, AfterViewInit {
@@ -7,12 +7,12 @@ import * as i5 from "./garbage-collector.directive";
7
7
  import * as i6 from "@angular/common";
8
8
  import * as i7 from "@angular/platform-browser/animations";
9
9
  import * as i8 from "@angular/forms";
10
- import * as i9 from "@angular/material/legacy-input";
11
- import * as i10 from "@angular/material/legacy-form-field";
12
- import * as i11 from "@angular/material/legacy-select";
13
- import * as i12 from "@angular/material/legacy-tabs";
10
+ import * as i9 from "@angular/material/input";
11
+ import * as i10 from "@angular/material/form-field";
12
+ import * as i11 from "@angular/material/select";
13
+ import * as i12 from "@angular/material/tabs";
14
14
  export declare class DirectivesModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatLegacyInputModule, typeof i10.MatLegacyFormFieldModule, typeof i11.MatLegacySelectModule, typeof i12.MatLegacyTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatInputModule, typeof i10.MatFormFieldModule, typeof i11.MatSelectModule, typeof i12.MatTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
18
18
  }
@@ -9,3 +9,4 @@ export * from "./focus-binding";
9
9
  export * from "./garbage-collector.directive";
10
10
  export * from "./highlight-text-model.directive";
11
11
  export * from "./highlight.pipe";
12
+ export * from "./resize-observer.directive";
@@ -0,0 +1,16 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
2
+ import { ValueModel } from '@coolon/pectin';
3
+ import { DisposableComponent } from '../components/disposable-component';
4
+ import { Bounds } from '../components/types/bounds.class';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResizeObserverDirective extends DisposableComponent implements AfterViewInit {
7
+ aupOnResize: EventEmitter<Bounds>;
8
+ protected readonly elementRef: ElementRef<any>;
9
+ protected readonly ngZone: NgZone;
10
+ private _bounds$;
11
+ ngAfterViewInit(): void;
12
+ get bounds$(): ValueModel<Bounds>;
13
+ private _updateBounds;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never, true, never>;
16
+ }
@@ -1,4 +1,4 @@
1
- import { Constructable, Deferred, ValueModel } from '@coolon/pectin';
1
+ import { Constructable, Deferred } from '@coolon/pectin';
2
2
  import { Activity } from './activity';
3
3
  import { InteractionContext } from './interaction-context';
4
4
  export declare class ActivityRef<D, R, E> {
@@ -20,5 +20,5 @@ export declare class ActivityRef<D, R, E> {
20
20
  protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void): void;
21
21
  cancel(): void;
22
22
  get activityResult(): Promise<R>;
23
- get activityBusy(): ValueModel<boolean>;
23
+ get activityBusy(): import("@coolon/pectin").ValueModel<boolean>;
24
24
  }
@@ -1,12 +1,12 @@
1
1
  import { AfterViewInit, InjectionToken } from "@angular/core";
2
2
  import { Command, Disposable, ValueModel } from "@coolon/pectin";
3
- import { DisposableComponent } from "../components/disposable-component";
3
+ import { LoadableComponent } from "../components/loadable-component";
4
4
  import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
5
5
  import { InteractionContext } from "./interaction-context";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare const ACTIVITY_DATA: InjectionToken<any>;
8
8
  type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
9
- export declare class Activity<D, R, E = any> extends DisposableComponent implements AfterViewInit {
9
+ export declare class Activity<D, R, E = any> extends LoadableComponent implements AfterViewInit {
10
10
  readonly activityData: D;
11
11
  private readonly activityReadyListeners;
12
12
  private readonly _busy$;
@@ -4,6 +4,7 @@ import { AbstractDialogComponent } from './abstract-dialog.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<D, R, E> {
6
6
  readonly cancelFace: CommandFace;
7
+ confirmClass: string;
7
8
  constructor(config: Confirm);
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfirmDialogComponent<any, any, any>, never>;
9
10
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConfirmDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
@@ -1,4 +1,3 @@
1
- import { ChangeDetectorRef } from "@angular/core";
2
1
  import { Command } from '@coolon/pectin';
3
2
  import { Enum } from 'typescript-string-enums';
4
3
  import { CommandFace } from '../../../components/commands/command-face';
@@ -27,7 +26,6 @@ import * as i0 from "@angular/core";
27
26
  * </aup-activity-actions>
28
27
  */
29
28
  export declare class ActivityActionsComponent extends DisposableComponent {
30
- private readonly cdr;
31
29
  protected confirmCommandComponent: CommandComponent;
32
30
  protected cancelCommandComponent: CommandComponent;
33
31
  /**
@@ -47,7 +45,7 @@ export declare class ActivityActionsComponent extends DisposableComponent {
47
45
  set style(style: ActivityActionsComponent.Style);
48
46
  layout: ActivityActionsComponent.Layout;
49
47
  align: ActivityActionsComponent.Align;
50
- constructor(cdr: ChangeDetectorRef);
48
+ constructor();
51
49
  hasConfirmFace(): boolean;
52
50
  hasCancelFace(): boolean;
53
51
  initCommands(activity: {
@@ -1,5 +1,5 @@
1
1
  import { QueryList } from "@angular/core";
2
- import { MatLegacyTabGroup as MatTabGroup } from "@angular/material/legacy-tabs";
2
+ import { MatTabGroup } from "@angular/material/tabs";
3
3
  import { BooleanValueModelChain, Constructable, DelegatingValueModel, Disposable, MutableValueModel } from "@coolon/pectin";
4
4
  import { PlaceRouter } from "../../../place/place-router";
5
5
  import { AbstractInteractionContext } from "../../abstract-interaction-context";
@@ -14,6 +14,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
14
14
  tabs: MatTabGroup;
15
15
  activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;
16
16
  activityRefs: ActivityRef<any, any, any>[];
17
+ animationDuration: string;
17
18
  private _identifier;
18
19
  private _deferredCleanUp;
19
20
  private interactionServiceApi;
@@ -26,6 +27,7 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
26
27
  readonly busy: DelegatingValueModel<boolean>;
27
28
  readonly syncTabsJob: () => void;
28
29
  readonly stable$: BooleanValueModelChain;
30
+ private wasActive;
29
31
  constructor(placeRouter: PlaceRouter);
30
32
  get started$(): import("@coolon/pectin").ValueModel<boolean>;
31
33
  get ready$(): import("@coolon/pectin").ValueModel<boolean>;
@@ -61,11 +63,13 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
61
63
  * Synchronises the selected tab index.
62
64
  */
63
65
  private synchroniseSelectedTabIndex;
64
- private finaliseActivityStates;
66
+ finaliseActivityStates(): void;
65
67
  private getSelectedOutlet;
66
- private getTabAnimationDuration;
68
+ protected getTabAnimationDuration(): string;
69
+ protected getTabAnimationDurationInMillis(): number;
67
70
  getSelectedTabIndex(): number;
68
71
  private triggerTabSynchronisation;
72
+ onAnimationDone(): void;
69
73
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityContainerComponent<any, any, any>, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, never, false, never>;
71
75
  }
@@ -1,4 +1,4 @@
1
- import { ComponentFactoryResolver, Injector, OnInit, ViewContainerRef } from '@angular/core';
1
+ import { ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';
2
2
  import { Activity } from '../../../activity';
3
3
  import { ActivityRef } from '../../../activity-ref';
4
4
  import { InteractionContext } from '../../../interaction-context';
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
7
7
  * ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
8
8
  * external service.
9
9
  */
10
- export declare class ActivityOutletComponent<D, R, E> implements OnInit {
10
+ export declare class ActivityOutletComponent<D, R, E> {
11
11
  private componentFactoryResolver;
12
12
  private viewContainerRef;
13
13
  private injector;
@@ -17,7 +17,6 @@ export declare class ActivityOutletComponent<D, R, E> implements OnInit {
17
17
  set activityRef(activityRef: ActivityRef<D, R, E>);
18
18
  get activityRef(): ActivityRef<D, R, E>;
19
19
  constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, injector: Injector);
20
- ngOnInit(): void;
21
20
  loadActivity(activityRef: ActivityRef<D, R, E>): void;
22
21
  get component(): Activity<D, R, E>;
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityOutletComponent<any, any, any>, never>;
@@ -13,5 +13,5 @@ export declare class ActivityTitleComponent extends DisposableComponent {
13
13
  set color(color: ThemePalette);
14
14
  get color(): ThemePalette;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTitleComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[slot='title-end']"], false, never>;
17
17
  }
@@ -1,3 +1,3 @@
1
1
  export interface EditContext<T> {
2
- injectError(error: string): any;
2
+ injectError(error: string): void;
3
3
  }
@@ -1,5 +1,5 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatLegacyTabChangeEvent as MatTabChangeEvent, MatLegacyTabsConfig as MatTabsConfig } from "@angular/material/legacy-tabs";
1
+ import { AfterViewInit, EventEmitter } from "@angular/core";
2
+ import { MatTabChangeEvent, MatTabsConfig } from "@angular/material/tabs";
3
3
  import { Constructable } from "@coolon/pectin";
4
4
  import { DisposableComponent } from "../../../components/disposable-component";
5
5
  import { Activity } from "../../activity";
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
16
16
  * </aup-in-place-interaction-context>
17
17
  *
18
18
  * in your component
19
- * @ViewChild('inPlaceInteractionContext', { static: true })
19
+ * @ViewChild(InPlaceInteractionContextComponent)
20
20
  * interactionContext: InteractionContext;
21
21
  *
22
22
  *
@@ -35,6 +35,8 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
35
35
  * active interactions.
36
36
  */
37
37
  syncWithRoutes: boolean;
38
+ started: EventEmitter<void>;
39
+ finished: EventEmitter<void>;
38
40
  get animationDuration(): string;
39
41
  get animationDurationMillis(): number;
40
42
  get active(): boolean;
@@ -53,5 +55,5 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
53
55
  startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
54
56
  onTabChanged($event: MatTabChangeEvent): void;
55
57
  static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, {}, never, ["*"], false, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, { "started": "started"; "finished": "finished"; }, never, ["*"], false, never>;
57
59
  }
@@ -5,6 +5,6 @@ export declare class StringInputActivity extends InputActivity<string> {
5
5
  static ɵcmp: i0.ɵɵComponentDeclaration<StringInputActivity, "aup-string-input-activity", never, {}, {}, never, never, false, never>;
6
6
  }
7
7
  export declare namespace StringInputActivity {
8
- interface Data extends InputActivity.Data<String> {
8
+ interface Data extends InputActivity.Data<string> {
9
9
  }
10
10
  }
@@ -0,0 +1,53 @@
1
+ import { AfterViewInit } from "@angular/core";
2
+ import { MatTabsConfig } from "@angular/material/tabs";
3
+ import { Constructable } from "@coolon/pectin";
4
+ import { DisposableComponent } from "../../../components/disposable-component";
5
+ import { Activity } from "../../activity";
6
+ import { Alert } from "../../alert";
7
+ import { Confirm } from "../../confirm";
8
+ import { InPlaceInteractionContext } from "../../in-place-interaction-context";
9
+ import { InteractionContext } from "../../interaction-context";
10
+ import { InteractionService } from "../../services/interaction.service";
11
+ import { ActivityContainerComponent } from "../activity-container/activity-container.component";
12
+ import * as i0 from "@angular/core";
13
+ /**
14
+ * This interaction context remains hidden (height: 0) until it is active.
15
+ * @example
16
+ * <aup-slide-down-interaction-context #inPlaceInteractionContext>
17
+ * </aup-slide-down-interaction-context>
18
+ *
19
+ * in your component
20
+ * @ViewChild(SlideDownInteractionContextComponent)
21
+ * interactionContext: InteractionContext;
22
+ *
23
+ *
24
+ */
25
+ export declare class SlideDownInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
26
+ private readonly tabConfig;
27
+ activityContainerComponent: ActivityContainerComponent<any, any, any>;
28
+ dynamicHeight: boolean;
29
+ get active(): boolean;
30
+ protected clampShut: boolean;
31
+ readonly interactionService: InteractionService;
32
+ constructor(tabConfig: MatTabsConfig);
33
+ ngAfterViewInit(): void;
34
+ getAnimationState(): {
35
+ value: string;
36
+ params: {
37
+ duration: string;
38
+ };
39
+ };
40
+ onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): void;
41
+ get identifier(): string;
42
+ alert(alert: Alert): Promise<void>;
43
+ cancelActiveActivity(): Promise<boolean>;
44
+ confirm(confirm: Confirm): Promise<boolean>;
45
+ confirmOrReject(confirm: Confirm): Promise<void>;
46
+ confirmThen<D1, R1, E1>(confirm: Confirm, activityType: Constructable<Activity<D1, R1, E1>>, data?: D1): Promise<R1>;
47
+ confirmThenExecute<R1>(confirm: Confirm, operation: (interactionContext: InteractionContext) => (Promise<R1> | R1)): Promise<R1>;
48
+ isActive(): boolean;
49
+ startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
50
+ onAnimationDone(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlideDownInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideDownInteractionContextComponent<any, any, any>, "aup-slide-down-interaction-context", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
53
+ }
@@ -3,7 +3,7 @@ import { Constructable, GarbageCollector } from '@coolon/pectin';
3
3
  import { Activity } from '../activity';
4
4
  import { InteractionContext } from '../interaction-context';
5
5
  import * as i0 from "@angular/core";
6
- export declare class InteractionContextTriggerFor<D, R, E> extends GarbageCollector {
6
+ export declare class InteractionContextTriggerForDirective<D, R, E> extends GarbageCollector {
7
7
  aupInteractionContextTriggerFor: Pick<InteractionContext, 'startActivity' | 'isActive' | 'cancelActiveActivity'>;
8
8
  activityClass: Constructable<Activity<D, R, E>>;
9
9
  activityData?: D;
@@ -15,6 +15,6 @@ export declare class InteractionContextTriggerFor<D, R, E> extends GarbageCollec
15
15
  onClick(event: MouseEvent): void;
16
16
  protected startActivity(): void;
17
17
  prepareActivityData(): D;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<InteractionContextTriggerFor<any, any, any>, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<InteractionContextTriggerFor<any, any, any>, "[aupInteractionContextTriggerFor]", never, { "aupInteractionContextTriggerFor": { "alias": "aupInteractionContextTriggerFor"; "required": false; }; "activityClass": { "alias": "activityClass"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "activityDataFactory": { "alias": "activityDataFactory"; "required": false; }; }, { "activityDone": "activityDone"; "activityCancelled": "activityCancelled"; }, never, never, false, never>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<InteractionContextTriggerForDirective<any, any, any>, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InteractionContextTriggerForDirective<any, any, any>, "[aupInteractionContextTriggerFor]", never, { "aupInteractionContextTriggerFor": { "alias": "aupInteractionContextTriggerFor"; "required": false; }; "activityClass": { "alias": "activityClass"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "activityDataFactory": { "alias": "activityDataFactory"; "required": false; }; }, { "activityDone": "activityDone"; "activityCancelled": "activityCancelled"; }, never, never, false, never>;
20
20
  }