@coolon/angular-ui-powerups 16.1.0-aplpha.189 → 16.1.0-aplpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/README.md +0 -4
  2. package/assets/activities/activities.scss +6 -8
  3. package/assets/activities/input-activities.scss +6 -14
  4. package/assets/form.scss +23 -77
  5. package/assets/icons.scss +1 -2
  6. package/assets/interaction/editor/inline-string-editor.scss +0 -4
  7. package/assets/interaction.scss +1 -1
  8. package/assets/styles.scss +0 -4
  9. package/assets/table.scss +30 -55
  10. package/assets/tabs.scss +2 -15
  11. package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
  12. package/esm2022/lib/animations/slide-animations.mjs +10 -15
  13. package/esm2022/lib/components/alignment.mjs +1 -1
  14. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +12 -7
  15. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +7 -30
  16. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +6 -6
  17. package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
  18. package/esm2022/lib/components/commands/command/command.component.mjs +33 -35
  19. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +5 -13
  20. package/esm2022/lib/components/commands/command-face.mjs +11 -12
  21. package/esm2022/lib/components/commands/flex.component.mjs +4 -4
  22. package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
  23. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +8 -31
  24. package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
  25. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +25 -27
  26. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +22 -13
  27. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +12 -17
  28. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +23 -14
  29. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +19 -12
  30. package/esm2022/lib/components/commands/separator.component.mjs +14 -8
  31. package/esm2022/lib/components/components.module.mjs +59 -79
  32. package/esm2022/lib/components/disposable-component.mjs +42 -38
  33. package/esm2022/lib/components/empty-state/empty-state.component.mjs +9 -5
  34. package/esm2022/lib/components/exports.mjs +7 -15
  35. package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -4
  36. package/esm2022/lib/components/focusable.component.mjs +5 -5
  37. package/esm2022/lib/components/forms/abstract-input.component.mjs +18 -66
  38. package/esm2022/lib/components/forms/abstract-list-input.component.mjs +4 -4
  39. package/esm2022/lib/components/forms/abstract-value-input.component.mjs +4 -4
  40. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +13 -12
  41. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +8 -10
  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 +13 -90
  44. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -44
  45. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +16 -17
  46. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +16 -35
  47. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +8 -12
  48. package/esm2022/lib/components/icon/icon.component.mjs +7 -10
  49. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
  50. package/esm2022/lib/components/loading-container/loading-container.component.mjs +12 -7
  51. package/esm2022/lib/components/noop/noop.component.mjs +7 -5
  52. package/esm2022/lib/components/resize-aware.component.mjs +27 -64
  53. package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +5 -5
  54. package/esm2022/lib/components/section-header/section-header.component.mjs +4 -4
  55. package/esm2022/lib/components/switch-case/switch-case.component.mjs +17 -15
  56. package/esm2022/lib/components/tables/abstract-table-model.mjs +63 -112
  57. package/esm2022/lib/components/tables/abstract-table.component.mjs +8 -22
  58. package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
  59. package/esm2022/lib/components/tables/column/column-model.mjs +10 -21
  60. package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
  61. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  62. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
  63. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
  64. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +5 -6
  65. package/esm2022/lib/components/tables/column/property-column-model.mjs +5 -5
  66. package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
  67. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +7 -7
  68. package/esm2022/lib/components/tables/editor/edit-session.mjs +2 -4
  69. package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
  70. package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
  71. package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +2 -3
  72. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +9 -14
  73. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
  74. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
  75. package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
  76. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +7 -23
  77. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +8 -6
  78. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +7 -5
  79. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +8 -18
  80. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +8 -11
  81. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +51 -161
  82. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +9 -9
  83. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +7 -5
  84. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +33 -0
  85. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +60 -0
  86. package/esm2022/lib/components/tables/table/table-model.mjs +3 -12
  87. package/esm2022/lib/components/tables/table/table.component.mjs +64 -42
  88. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
  89. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
  90. package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
  91. package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +1 -1
  92. package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +7 -5
  93. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
  94. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -4
  95. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +8 -15
  96. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
  97. package/esm2022/lib/components/text/markdown/markdown.component.mjs +6 -6
  98. package/esm2022/lib/components/track.mjs +1 -1
  99. package/esm2022/lib/components/types/bounds.class.mjs +1 -1
  100. package/esm2022/lib/components/types/loadable.mjs +2 -0
  101. package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
  102. package/esm2022/lib/directives/command.directive.mjs +14 -25
  103. package/esm2022/lib/directives/directives.module.mjs +10 -10
  104. package/esm2022/lib/directives/exports.mjs +1 -2
  105. package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
  106. package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
  107. package/esm2022/lib/directives/focus-binding.mjs +1 -1
  108. package/esm2022/lib/directives/garbage-collector.directive.mjs +4 -5
  109. package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
  110. package/esm2022/lib/directives/highlight.pipe.mjs +11 -12
  111. package/esm2022/lib/interaction/abstract-interaction-context.mjs +7 -6
  112. package/esm2022/lib/interaction/activity-ref.mjs +2 -2
  113. package/esm2022/lib/interaction/activity.mjs +23 -23
  114. package/esm2022/lib/interaction/alert.mjs +2 -2
  115. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +10 -13
  116. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +45 -4
  117. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +17 -29
  118. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -10
  119. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +19 -50
  120. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +19 -55
  121. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -6
  122. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
  123. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -4
  124. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -4
  125. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -4
  126. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
  127. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -4
  128. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
  129. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +10 -6
  130. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +10 -6
  131. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +11 -9
  132. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  133. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
  134. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +9 -9
  135. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +9 -25
  136. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -6
  137. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +38 -44
  138. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +12 -14
  139. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +5 -6
  140. package/esm2022/lib/interaction/confirm.mjs +2 -26
  141. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
  142. package/esm2022/lib/interaction/exports.mjs +1 -6
  143. package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
  144. package/esm2022/lib/interaction/interaction-context.mjs +2 -3
  145. package/esm2022/lib/interaction/interaction.module.mjs +36 -44
  146. package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
  147. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
  148. package/esm2022/lib/interaction/services/interaction.service.mjs +10 -22
  149. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +10 -9
  150. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +5 -23
  151. package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
  152. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +5 -15
  153. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +9 -8
  154. package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +7 -5
  155. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +12 -10
  156. package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
  157. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +10 -15
  158. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
  159. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  160. package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +7 -5
  161. package/esm2022/lib/place/guards/place.guard.mjs +9 -10
  162. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  163. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
  164. package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
  165. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
  166. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
  167. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
  168. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
  169. package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
  170. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
  171. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +6 -3
  172. package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
  173. package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
  174. package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
  175. package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
  176. package/esm2022/lib/place/place-access-guard.mjs +1 -1
  177. package/esm2022/lib/place/place-auth-service.mjs +6 -7
  178. package/esm2022/lib/place/place-component.mjs +58 -54
  179. package/esm2022/lib/place/place-config.mjs +1 -1
  180. package/esm2022/lib/place/place-definition.mjs +4 -15
  181. package/esm2022/lib/place/place-history.mjs +8 -6
  182. package/esm2022/lib/place/place-router.mjs +68 -84
  183. package/esm2022/lib/place/place.decorator.mjs +2 -2
  184. package/esm2022/lib/place/place.module.mjs +16 -16
  185. package/esm2022/lib/place/route/formatter.mjs +2 -2
  186. package/esm2022/lib/place/route/json-types.mjs +1 -1
  187. package/esm2022/lib/place/route/parameter-decorators.mjs +50 -54
  188. package/esm2022/lib/place/route/parameter-definition.mjs +2 -6
  189. package/esm2022/lib/place/route/parameter-sanitiser.mjs +2 -7
  190. package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
  191. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
  192. package/esm2022/lib/place/url-service.mjs +4 -4
  193. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  194. package/esm2022/lib/place/visit-segment.mjs +2 -2
  195. package/esm2022/lib/place/visit.mjs +2 -2
  196. package/esm2022/lib/services/markdown/markdown.service.mjs +7 -5
  197. package/esm2022/lib/services/markdown/pill-plugin.mjs +3 -1
  198. package/esm2022/lib/services/visibility-service.mjs +7 -7
  199. package/fesm2022/coolon-angular-ui-powerups.mjs +3003 -4341
  200. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  201. package/lib/angular-ui-powerups.module.d.ts +5 -5
  202. package/lib/animations/slide-animations.d.ts +0 -1
  203. package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
  204. package/lib/components/cards/abstract-card-container.component.d.ts +3 -6
  205. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  206. package/lib/components/cards/card-stack/card-stack.component.d.ts +68 -0
  207. package/lib/components/commands/command/command.component.d.ts +10 -9
  208. package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
  209. package/lib/components/commands/command-face.d.ts +9 -8
  210. package/lib/components/commands/group/popup-aware.component.d.ts +4 -9
  211. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +5 -5
  212. package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -2
  213. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -3
  214. package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +4 -2
  215. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +7 -3
  216. package/lib/components/commands/separator.component.d.ts +4 -2
  217. package/lib/components/components.module.d.ts +53 -57
  218. package/lib/components/disposable-component.d.ts +9 -17
  219. package/lib/components/empty-state/empty-state.component.d.ts +4 -1
  220. package/lib/components/exports.d.ts +6 -14
  221. package/lib/components/forms/abstract-input.component.d.ts +7 -16
  222. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
  223. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
  224. package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
  225. package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
  226. package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
  227. package/lib/components/forms/string-input/string-input.component.d.ts +1 -7
  228. package/lib/components/forms/text-input/text-input.component.d.ts +0 -3
  229. package/lib/components/loading-container/loading-container.component.d.ts +4 -1
  230. package/lib/components/noop/noop.component.d.ts +1 -0
  231. package/lib/components/resize-aware.component.d.ts +6 -25
  232. package/lib/components/switch-case/switch-case.component.d.ts +7 -6
  233. package/lib/components/tables/abstract-table-model.d.ts +25 -50
  234. package/lib/components/tables/abstract-table.component.d.ts +5 -6
  235. package/lib/components/tables/column/column-list-model.d.ts +13 -0
  236. package/lib/components/tables/column/column-model.d.ts +4 -8
  237. package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
  238. package/lib/components/tables/column/custom-value-column-model.d.ts +2 -3
  239. package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -3
  240. package/lib/components/tables/column/list-propery-column-model.d.ts +2 -3
  241. package/lib/components/tables/column/property-column-model.d.ts +2 -3
  242. package/lib/components/tables/column/selection-column-model.d.ts +4 -10
  243. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
  244. package/lib/components/tables/editor/edit-session.d.ts +1 -1
  245. package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
  246. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  247. package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
  248. package/lib/components/tables/renderer/cell-portal-ref.d.ts +14 -21
  249. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -0
  250. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -0
  251. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -2
  252. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +19 -43
  253. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -2
  254. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -0
  255. package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +15 -0
  256. package/lib/components/tables/renderer/{table-custom-more-menu/table-custom-more-menu.component.d.ts → table-more-menu/table-more-menu.component.d.ts} +8 -9
  257. package/lib/components/tables/table/table-model.d.ts +4 -4
  258. package/lib/components/tables/table/table.component.d.ts +11 -15
  259. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +28 -0
  260. package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
  261. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -0
  262. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
  263. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
  264. package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -5
  265. package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
  266. package/lib/components/text/markdown/markdown.component.d.ts +1 -1
  267. package/lib/components/types/loadable.d.ts +5 -0
  268. package/lib/directives/command.directive.d.ts +5 -7
  269. package/lib/directives/directives.module.d.ts +5 -5
  270. package/lib/directives/exports.d.ts +0 -1
  271. package/lib/interaction/abstract-interaction-context.d.ts +1 -1
  272. package/lib/interaction/activity-ref.d.ts +2 -2
  273. package/lib/interaction/activity.d.ts +7 -7
  274. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -2
  275. package/lib/interaction/components/abstract-dialog.component.d.ts +14 -5
  276. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
  277. package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -2
  278. package/lib/interaction/components/activity-container/activity-container.component.d.ts +5 -11
  279. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +5 -4
  280. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  281. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
  282. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  283. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +4 -6
  284. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  285. package/lib/interaction/confirm.d.ts +0 -4
  286. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
  287. package/lib/interaction/exports.d.ts +0 -5
  288. package/lib/interaction/interaction-context.d.ts +1 -7
  289. package/lib/interaction/interaction.module.d.ts +33 -35
  290. package/lib/interaction/services/interaction-service-routing-adapter.d.ts +2 -2
  291. package/lib/interaction/services/interaction.service.d.ts +1 -2
  292. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +3 -2
  293. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +3 -4
  294. package/lib/place/components/abstract-place-navigation.component.d.ts +0 -1
  295. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -0
  296. package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -3
  297. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -2
  298. package/lib/place/guards/noop-auth-guard.service.d.ts +1 -0
  299. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +1 -0
  300. package/lib/place/place-auth-service.d.ts +4 -4
  301. package/lib/place/place-component.d.ts +16 -8
  302. package/lib/place/place-definition.d.ts +0 -2
  303. package/lib/place/place-history.d.ts +1 -0
  304. package/lib/place/place-router.d.ts +5 -10
  305. package/lib/place/place.decorator.d.ts +1 -1
  306. package/lib/place/place.module.d.ts +8 -8
  307. package/lib/place/route/json-types.d.ts +3 -1
  308. package/lib/place/route/parameter-decorators.d.ts +4 -3
  309. package/lib/place/route/parameter-definition.d.ts +2 -2
  310. package/lib/place/route/parameter-sanitiser.d.ts +0 -7
  311. package/lib/place/visit-segment.d.ts +4 -4
  312. package/lib/place/visit.d.ts +2 -2
  313. package/lib/services/markdown/markdown.service.d.ts +1 -0
  314. package/lib/services/visibility-service.d.ts +1 -1
  315. package/package.json +19 -18
  316. package/assets/draw.scss +0 -20
  317. package/assets/layout.scss +0 -3
  318. package/assets/place.scss +0 -31
  319. package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
  320. package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -89
  321. package/esm2022/lib/components/forms/form-field.mjs +0 -2
  322. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
  323. package/esm2022/lib/components/loadable-component.mjs +0 -69
  324. package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
  325. package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
  326. package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -38
  327. package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
  328. package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +0 -2
  329. package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +0 -153
  330. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +0 -45
  331. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +0 -71
  332. package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -30
  333. package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
  334. package/esm2022/lib/interaction/activity-context.mjs +0 -4
  335. package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
  336. package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
  337. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
  338. package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
  339. package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
  340. package/lib/components/file/file-download/file-download.component.d.ts +0 -45
  341. package/lib/components/forms/form-field.d.ts +0 -5
  342. package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
  343. package/lib/components/loadable-component.d.ts +0 -20
  344. package/lib/components/tables/column/column-manager.d.ts +0 -19
  345. package/lib/components/tables/column/column-order-manager.d.ts +0 -20
  346. package/lib/components/tables/footer/footer-row-model.d.ts +0 -22
  347. package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
  348. package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +0 -7
  349. package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +0 -42
  350. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +0 -19
  351. package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -11
  352. package/lib/directives/resize-observer.directive.d.ts +0 -16
  353. package/lib/interaction/activity-context.d.ts +0 -9
  354. package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
  355. package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
  356. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
  357. package/lib/interaction/interaction-context-provider.d.ts +0 -11
@@ -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 object> extends DisposableComponent implements CellRenderer<T>, OnInit {
8
+ export declare class TreeLabelCellRendererComponent<T> extends DisposableComponent implements CellRenderer<T>, OnInit {
9
9
  private node$;
10
10
  accessor value: T;
11
11
  label: string;
@@ -1,14 +1,13 @@
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";
5
4
  import { TreeLabelCellRendererComponent } from './tree-label-cell-renderer/tree-label-cell-renderer.component';
6
5
  import { TreeTableModel } from './tree-table-model';
7
- export declare class TreeLabelColumnModel<Row extends object> extends ColumnModel<Row> {
6
+ export declare class TreeLabelColumnModel<Row> extends ColumnModel<Row> {
8
7
  readonly expansionModel: TreeTableModel<Row>;
9
8
  private labelFactory;
10
9
  private iconFactory;
11
- constructor(columnId: string, order: ColumnOrderManager, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
10
+ constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
12
11
  pluck<P extends Types.StringValuePropertiesOf<Row>>(property: P): void;
13
12
  useLabel(factory: (row: Row) => string): void;
14
13
  /**
@@ -1,9 +1,7 @@
1
- import { Injector, OnInit } from "@angular/core";
2
- import { ValueModel } from '@coolon/pectin';
1
+ import { Injector } from "@angular/core";
3
2
  import { TreeNode } from '@coolon/typescript-utilities';
4
3
  import { AbstractTableModel } from '../abstract-table-model';
5
4
  import { AbstractTableComponent } from '../abstract-table.component';
6
- import { TableBodyComponent } from "../renderer/table-body/table-body.component";
7
5
  import { TreeExpansionModel } from "./tree-expansion-model";
8
6
  import { TreeTableModel } from './tree-table-model';
9
7
  import * as i0 from "@angular/core";
@@ -67,10 +65,9 @@ import * as i0 from "@angular/core";
67
65
  * }
68
66
  * }
69
67
  */
70
- export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> implements OnInit {
68
+ export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> {
71
69
  accessor treeTableModel: TreeTableModel<T>;
72
70
  accessor expansionModel: TreeExpansionModel<T>;
73
- protected readonly scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
74
71
  constructor(injector: Injector);
75
72
  ngOnInit(): void;
76
73
  getModel(): AbstractTableModel<T>;
@@ -1,25 +1,26 @@
1
- import { ChangeDetectorRef } from "@angular/core";
2
- import { ListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
1
+ import { ListModel, MutableValueModel, SelectionModel, ValueModel } from '@coolon/pectin';
3
2
  import { AbstractTableModel } from '../abstract-table-model';
3
+ import { SelectionColumnModel } from "../column/selection-column-model";
4
4
  import { TreeExpansionModel } from './tree-expansion-model';
5
5
  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 object> extends AbstractTableModel<Row> {
9
+ export declare class TreeTableModel<Row> extends AbstractTableModel<Row> {
10
10
  private treeExpansionModel;
11
11
  private readonly flattenedDataSource;
12
12
  readonly childExtractor: (row: Row) => Row[];
13
13
  private _isExpandedPredicate$;
14
14
  constructor(source$: ListModel<Row>, childAccessor: ChildArrayPropertiesOf<Row> | ((node: Row) => Row[]), builder?: (model: TreeTableModel<Row>) => void);
15
15
  get isExpandedPredicate$(): ValueModel<(node: Row) => boolean>;
16
- bindToTable(expansionModel: TreeExpansionModel<Row>, filteredRows$: ListModel<Row>, visibleRows$: ListModel<Row>, cdr: ChangeDetectorRef): void;
16
+ bindToTable(expansionModel: TreeExpansionModel<Row>, filteredRows$: ListModel<Row>, visibleRows$: ListModel<Row>): void;
17
17
  treeControlColumn(builder: (column: TreeLabelColumnModel<Row>) => void): void;
18
18
  expand(node: Row): void;
19
19
  collapse(node: Row): void;
20
20
  isCollapsed(node: Row): boolean;
21
21
  ensureAncestorsAndSelfVisible(node: Row): void;
22
22
  isExpanded(row: Row): boolean;
23
+ addSelectionColumn(selectionModel?: SelectionModel<Row>, showSelectionColumn?: ValueModel<boolean> | boolean): SelectionColumnModel<Row>;
23
24
  }
24
25
  export declare namespace TreeTableModel {
25
26
  interface Options<T, K extends keyof T> {
@@ -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>;
@@ -0,0 +1,5 @@
1
+ import { ValueModel } from "@coolon/pectin";
2
+ export interface Loadable {
3
+ loaded$: ValueModel<boolean>;
4
+ ensureLoaded(): Promise<unknown>;
5
+ }
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { MatButton } from '@angular/material/button';
3
- import { MatMenu, MatMenuItem } from '@angular/material/menu';
2
+ import { MatLegacyButton as MatButton } from '@angular/material/legacy-button';
3
+ import { MatLegacyMenuItem as MatMenuItem } from '@angular/material/legacy-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 {
@@ -8,20 +8,18 @@ export declare class CommandDirective<P = any> extends GarbageCollector implemen
8
8
  private _command;
9
9
  private _commandEnabled;
10
10
  private matControl;
11
- private isInPopupMenu;
12
11
  set pectinCommand(command: Command<any> | UnaryCommand<P>);
13
12
  get pectinCommand(): Command<any> | UnaryCommand<P>;
14
13
  private _commandParameter;
15
14
  private _commandParameterProvided;
16
15
  set commandParameter(value: P);
17
16
  get commandParameter(): P;
18
- preventDefault: boolean;
19
- constructor(elementRef: ElementRef, matButton: MatButton, matMenuItem: MatMenuItem, matMenu?: MatMenu);
17
+ constructor(elementRef: ElementRef, matButton: MatButton, matMenuItem: MatMenuItem);
20
18
  ngOnInit(): void;
21
19
  ngAfterViewInit(): void;
22
20
  updateEnabledState(enabled: boolean): void;
23
21
  ngOnDestroy(): void;
24
22
  notifyClick($event: Event): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<CommandDirective<any>, [null, { optional: true; host: true; }, { optional: true; host: true; }, { optional: true; }]>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<CommandDirective<any>, "[pectinCommand]", never, { "pectinCommand": { "alias": "pectinCommand"; "required": false; }; "commandParameter": { "alias": "commandParameter"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; }, {}, never, never, false, never>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandDirective<any>, [null, { optional: true; host: true; }, { optional: true; host: true; }]>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CommandDirective<any>, "[pectinCommand]", never, { "pectinCommand": { "alias": "pectinCommand"; "required": false; }; "commandParameter": { "alias": "commandParameter"; "required": false; }; }, {}, never, never, false, never>;
27
25
  }
@@ -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/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";
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";
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.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]>;
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]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
18
18
  }
@@ -9,4 +9,3 @@ 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";
@@ -9,7 +9,7 @@ export declare abstract class AbstractInteractionContext implements InteractionC
9
9
  abstract dispose(): void;
10
10
  abstract registerDisposable<T extends Disposable>(disposable: T): T;
11
11
  abstract isActive(): boolean;
12
- protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, options?: InteractionContext.Options): Promise<R>;
12
+ protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, disableClose: boolean): Promise<R>;
13
13
  startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D, options?: InteractionContext.Options): Promise<R>;
14
14
  confirm(confirm: Confirm): Promise<boolean>;
15
15
  alert(alert: Alert): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { Constructable, Deferred } from '@coolon/pectin';
1
+ import { Constructable, Deferred, ValueModel } 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(): import("@coolon/pectin").ValueModel<boolean>;
23
+ get activityBusy(): ValueModel<boolean>;
24
24
  }
@@ -1,18 +1,19 @@
1
- import { InjectionToken } from "@angular/core";
1
+ import { AfterViewInit, InjectionToken } from "@angular/core";
2
2
  import { Command, Disposable, ValueModel } from "@coolon/pectin";
3
- import { LoadableComponent } from "../components/loadable-component";
3
+ import { DisposableComponent } from "../components/disposable-component";
4
+ import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
4
5
  import { InteractionContext } from "./interaction-context";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare const ACTIVITY_DATA: InjectionToken<any>;
7
8
  type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
8
- export declare class Activity<D, R, E = any> extends LoadableComponent {
9
- #private;
9
+ export declare class Activity<D, R, E = any> extends DisposableComponent implements AfterViewInit {
10
10
  readonly activityData: D;
11
11
  private readonly activityReadyListeners;
12
12
  private readonly _busy$;
13
13
  private _focused$;
14
14
  private _activityContext;
15
15
  private readonly _ready$;
16
+ protected activityActions: ActivityActionsComponent;
16
17
  accessor confirmCommand: Command<unknown>;
17
18
  accessor cancelCommand: Command<unknown>;
18
19
  private _interactionContext;
@@ -20,6 +21,8 @@ export declare class Activity<D, R, E = any> extends LoadableComponent {
20
21
  get isFocused(): boolean;
21
22
  constructor();
22
23
  initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Context<R, E>): void;
24
+ ngAfterViewInit(): void;
25
+ protected initialiseActivityAction(activityActions: ActivityActionsComponent): void;
23
26
  get interactionContext(): InteractionContext;
24
27
  done(result?: R): void;
25
28
  cancel(error?: E): void;
@@ -37,12 +40,9 @@ export declare class Activity<D, R, E = any> extends LoadableComponent {
37
40
  }): Disposable;
38
41
  get ready$(): ValueModel<boolean>;
39
42
  get busy$(): ValueModel<boolean>;
40
- get disableClose$(): ValueModel<boolean>;
41
43
  get focused$(): ValueModel<boolean>;
42
44
  busyWhile(busyModel: ValueModel<boolean>): void;
43
45
  isBusy(): boolean;
44
- get disableClose(): boolean;
45
- disableCloseWhile(condition: ValueModel<boolean>): void;
46
46
  isInitialised(): boolean;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<Activity<any, any, any>, never>;
48
48
  static ɵcmp: i0.ɵɵComponentDeclaration<Activity<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
@@ -2,9 +2,8 @@ import { CommandFace } from '../../components/commands/command-face';
2
2
  import { Confirm } from '../confirm';
3
3
  import { AbstractDialogComponent } from './abstract-dialog.component';
4
4
  import * as i0 from "@angular/core";
5
- export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<Confirm, D, R, E> {
5
+ export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<D, R, E> {
6
6
  readonly cancelFace: CommandFace;
7
- confirmClass: string;
8
7
  constructor(config: Confirm);
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfirmDialogComponent<any, any, any>, never>;
10
9
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConfirmDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
@@ -1,11 +1,20 @@
1
1
  import { InjectionToken } from '@angular/core';
2
+ import { CommandFace } from '../../components/commands/command-face';
2
3
  import { Activity } from '../activity';
3
4
  import { Alert } from '../alert';
5
+ import { Confirm } from '../confirm';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare const ALERT_CONFIG: InjectionToken<any>;
6
- export declare class AbstractDialogComponent<C extends Alert, D, R, E = any> extends Activity<D, R, E> {
7
- protected readonly config: C;
8
- constructor(config: C);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogComponent<any, any, any, any>, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialogComponent<any, any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
8
+ export declare class AbstractDialogComponent<D, R, E = any> extends Activity<D, R, E> {
9
+ protected readonly config: Alert | Confirm;
10
+ readonly confirmFace: CommandFace;
11
+ readonly title: string;
12
+ readonly content: string[];
13
+ readonly color?: 'primary' | 'accent' | 'warn';
14
+ constructor(config: Alert | Confirm);
15
+ getConfig(): Alert | Confirm;
16
+ protected checkColor(rawColor: string): 'primary' | 'accent' | 'warn';
17
+ isDestructive(): boolean;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogComponent<any, any, any>, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
11
20
  }
@@ -1,9 +1,9 @@
1
+ import { ChangeDetectorRef } from "@angular/core";
1
2
  import { Command } from '@coolon/pectin';
2
3
  import { Enum } from 'typescript-string-enums';
3
4
  import { CommandFace } from '../../../components/commands/command-face';
4
5
  import { CommandComponent } from "../../../components/commands/command/command.component";
5
6
  import { DisposableComponent } from '../../../components/disposable-component';
6
- import { ActivityContext } from "../../activity-context";
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * @example
@@ -27,6 +27,7 @@ import * as i0 from "@angular/core";
27
27
  * </aup-activity-actions>
28
28
  */
29
29
  export declare class ActivityActionsComponent extends DisposableComponent {
30
+ private readonly cdr;
30
31
  protected confirmCommandComponent: CommandComponent;
31
32
  protected cancelCommandComponent: CommandComponent;
32
33
  /**
@@ -46,15 +47,17 @@ export declare class ActivityActionsComponent extends DisposableComponent {
46
47
  set style(style: ActivityActionsComponent.Style);
47
48
  layout: ActivityActionsComponent.Layout;
48
49
  align: ActivityActionsComponent.Align;
49
- alignContent: ActivityActionsComponent.AlignContent;
50
- protected readonly activityContext: ActivityContext;
51
- constructor();
50
+ constructor(cdr: ChangeDetectorRef);
52
51
  hasConfirmFace(): boolean;
53
52
  hasCancelFace(): boolean;
53
+ initCommands(activity: {
54
+ confirmCommand: Command<unknown>;
55
+ cancelCommand: Command<unknown>;
56
+ }): void;
54
57
  focusConfirm(): void;
55
58
  focusCancel(): void;
56
59
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityActionsComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityActionsComponent, "aup-activity-actions", never, { "confirmCommand": { "alias": "confirmCommand"; "required": false; }; "cancelCommand": { "alias": "cancelCommand"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "confirmFace": { "alias": "confirmFace"; "required": false; }; "cancelFace": { "alias": "cancelFace"; "required": false; }; "style": { "alias": "style"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignContent": { "alias": "alignContent"; "required": false; }; }, {}, never, ["*"], false, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityActionsComponent, "aup-activity-actions", never, { "confirmCommand": { "alias": "confirmCommand"; "required": false; }; "cancelCommand": { "alias": "cancelCommand"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "confirmFace": { "alias": "confirmFace"; "required": false; }; "cancelFace": { "alias": "cancelFace"; "required": false; }; "style": { "alias": "style"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "align": { "alias": "align"; "required": false; }; }, {}, never, ["*"], false, never>;
58
61
  }
59
62
  export declare namespace ActivityActionsComponent {
60
63
  const Layout: {
@@ -64,16 +67,10 @@ export declare namespace ActivityActionsComponent {
64
67
  type Layout = Enum<typeof Layout>;
65
68
  const Align: {
66
69
  START: "start";
67
- STRETCH: "stretch";
68
70
  END: "end";
71
+ STRETCH: "stretch";
69
72
  };
70
73
  type Align = Enum<typeof Align>;
71
- const AlignContent: {
72
- START: "start";
73
- CENTER: "center";
74
- END: "end";
75
- };
76
- type AlignContent = Enum<typeof AlignContent>;
77
74
  interface Style {
78
75
  confirm: CommandFace;
79
76
  cancel: CommandFace;
@@ -2,7 +2,6 @@ import { DisposableComponent } from '../../../components/disposable-component';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ActivityBodyComponent extends DisposableComponent {
4
4
  fullWidth: boolean;
5
- fullHeight: boolean;
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBodyComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBodyComponent, "aup-activity-body", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, ["*"], false, never>;
8
7
  }
@@ -1,11 +1,10 @@
1
1
  import { QueryList } from "@angular/core";
2
- import { MatTabGroup } from "@angular/material/tabs";
2
+ import { MatLegacyTabGroup as MatTabGroup } from "@angular/material/legacy-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";
6
6
  import { Activity } from "../../activity";
7
7
  import { ActivityRef } from "../../activity-ref";
8
- import { InteractionContext } from "../../interaction-context";
9
8
  import { InteractionService } from "../../services/interaction.service";
10
9
  import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.component";
11
10
  import * as i0 from "@angular/core";
@@ -15,7 +14,6 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
15
14
  tabs: MatTabGroup;
16
15
  activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;
17
16
  activityRefs: ActivityRef<any, any, any>[];
18
- animationDuration: string;
19
17
  private _identifier;
20
18
  private _deferredCleanUp;
21
19
  private interactionServiceApi;
@@ -28,7 +26,6 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
28
26
  readonly busy: DelegatingValueModel<boolean>;
29
27
  readonly syncTabsJob: () => void;
30
28
  readonly stable$: BooleanValueModelChain;
31
- private wasActive;
32
29
  constructor(placeRouter: PlaceRouter);
33
30
  get started$(): import("@coolon/pectin").ValueModel<boolean>;
34
31
  get ready$(): import("@coolon/pectin").ValueModel<boolean>;
@@ -44,13 +41,12 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
44
41
  registerDisposable<T extends Disposable>(disposable: T): T;
45
42
  dispose(): void;
46
43
  getActiveActivityRef(): ActivityRef<any, any, any>;
47
- get disableClose(): boolean;
48
44
  /**
49
45
  * Cancels the current activity and returns true the context is no longer active, false if
50
46
  * there is still another activity running.
51
47
  */
52
48
  cancelActiveActivity(): Promise<boolean>;
53
- protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, options?: InteractionContext.Options): Promise<R1>;
49
+ protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, disableClose: boolean): Promise<R1>;
54
50
  private getActiveActivityCount;
55
51
  /**
56
52
  * Checks if this interaction context has finished an is in the process of waiting
@@ -65,13 +61,11 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
65
61
  * Synchronises the selected tab index.
66
62
  */
67
63
  private synchroniseSelectedTabIndex;
68
- finaliseActivityStates(): void;
64
+ private finaliseActivityStates;
69
65
  private getSelectedOutlet;
70
- protected getTabAnimationDuration(): string;
71
- protected getTabAnimationDurationInMillis(): number;
66
+ private getTabAnimationDuration;
72
67
  getSelectedTabIndex(): number;
73
68
  private triggerTabSynchronisation;
74
- onAnimationDone(): void;
75
69
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityContainerComponent<any, any, any>, never>;
76
- 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>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
77
71
  }
@@ -1,4 +1,4 @@
1
- import { Injector, ViewContainerRef } from '@angular/core';
1
+ import { ComponentFactoryResolver, Injector, OnInit, 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,8 +7,8 @@ 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> {
11
- private interactionContext;
10
+ export declare class ActivityOutletComponent<D, R, E> implements OnInit {
11
+ private componentFactoryResolver;
12
12
  private viewContainerRef;
13
13
  private injector;
14
14
  private activityComponentRef;
@@ -16,7 +16,8 @@ export declare class ActivityOutletComponent<D, R, E> {
16
16
  private _activityRef;
17
17
  set activityRef(activityRef: ActivityRef<D, R, E>);
18
18
  get activityRef(): ActivityRef<D, R, E>;
19
- constructor(interactionContext: InteractionContext, viewContainerRef: ViewContainerRef, injector: Injector);
19
+ constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, injector: Injector);
20
+ ngOnInit(): void;
20
21
  loadActivity(activityRef: ActivityRef<D, R, E>): void;
21
22
  get component(): Activity<D, R, E>;
22
23
  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, ["*", "[slot='title-end']"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
17
17
  }
@@ -1,12 +1,7 @@
1
- import { CommandFace } from "../../../components/commands/command-face";
2
1
  import { Alert } from '../../alert';
3
2
  import { AbstractDialogComponent } from '../abstract-dialog.component';
4
3
  import * as i0 from "@angular/core";
5
- export declare class AlertDialogComponent extends AbstractDialogComponent<Alert, Alert, void> {
6
- readonly confirmFace: CommandFace;
7
- readonly title: string;
8
- readonly content: string[];
9
- readonly color?: 'primary' | 'accent' | 'warn';
4
+ export declare class AlertDialogComponent extends AbstractDialogComponent<Alert, void> {
10
5
  constructor(alert: Alert);
11
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
12
7
  static ɵcmp: i0.ɵɵComponentDeclaration<AlertDialogComponent, "aup-alert-dialog", never, {}, {}, never, never, false, never>;
@@ -1,3 +1,3 @@
1
1
  export interface EditContext<T> {
2
- injectError(error: string): void;
2
+ injectError(error: string): any;
3
3
  }
@@ -1,5 +1,5 @@
1
- import { AfterViewInit, EventEmitter } from "@angular/core";
2
- import { MatTabChangeEvent, MatTabsConfig } from "@angular/material/tabs";
1
+ import { AfterViewInit } from "@angular/core";
2
+ import { MatLegacyTabChangeEvent as MatTabChangeEvent, MatLegacyTabsConfig as MatTabsConfig } from "@angular/material/legacy-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(InPlaceInteractionContextComponent)
19
+ * @ViewChild('inPlaceInteractionContext', { static: true })
20
20
  * interactionContext: InteractionContext;
21
21
  *
22
22
  *
@@ -35,8 +35,6 @@ 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>;
40
38
  get animationDuration(): string;
41
39
  get animationDurationMillis(): number;
42
40
  get active(): boolean;
@@ -55,5 +53,5 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
55
53
  startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
56
54
  onTabChanged($event: MatTabChangeEvent): void;
57
55
  static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
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>;
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>;
59
57
  }
@@ -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
  }
@@ -3,7 +3,3 @@ export interface Confirm extends Alert {
3
3
  destructive?: () => boolean;
4
4
  cancel(): string;
5
5
  }
6
- export declare namespace Confirm {
7
- function checkColor(config: Alert | Confirm): 'primary' | 'accent' | 'warn';
8
- function isDestructive(config: Alert | Confirm): boolean;
9
- }
@@ -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 InteractionContextTriggerForDirective<D, R, E> extends GarbageCollector {
6
+ export declare class InteractionContextTriggerFor<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 InteractionContextTriggerForDirective<D, R, E> extends Garb
15
15
  onClick(event: MouseEvent): void;
16
16
  protected startActivity(): void;
17
17
  prepareActivityData(): D;
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>;
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>;
20
20
  }
@@ -2,13 +2,11 @@
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
4
  export * from "./abstract-interaction-context";
5
- export * from "./activity-context";
6
5
  export * from "./activity-ref";
7
6
  export * from "./activity";
8
7
  export * from "./alert";
9
8
  export * from "./confirm";
10
9
  export * from "./in-place-interaction-context";
11
- export * from "./interaction-context-provider";
12
10
  export * from "./interaction-context";
13
11
  export * from "./interaction.module";
14
12
  export * from "./route-synchronisation-adapter";
@@ -26,8 +24,6 @@ export * from "./components/activity-triggers/popup-activity-trigger/popup-activ
26
24
  export * from "./components/add-card-activity/add-card-activity.component";
27
25
  export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
28
26
  export * from "./components/alert-dialog/alert-dialog.component";
29
- export * from "./components/alert-renderer/alert-renderer.component";
30
- export * from "./components/confirm-renderer/confirm-renderer.component";
31
27
  export * from "./components/confirm-then-dialog/confirm-then-dialog.component";
32
28
  export * from "./components/confirm-then-execute-dialog/confirm-then-execute-dialog.component";
33
29
  export * from "./components/confirmation-dialog/confirmation-dialog.component";
@@ -39,7 +35,6 @@ export * from "./components/input-activities/input-activity";
39
35
  export * from "./components/input-activities/select-input-activity";
40
36
  export * from "./components/input-activities/string-input-activity";
41
37
  export * from "./components/popup-interaction-context/popup-interaction-context.component";
42
- export * from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
43
38
  export * from "./directives/interaction-context-trigger-for.directive";
44
39
  export * from "./services/interaction-service-routing-adapter";
45
40
  export * from "./services/interaction.service";
@@ -1,9 +1,7 @@
1
- import { InjectionToken } from "@angular/core";
2
1
  import { Constructable, Disposable } from '@coolon/pectin';
3
2
  import { Activity } from './activity';
4
3
  import { Alert } from './alert';
5
4
  import { Confirm } from './confirm';
6
- export declare const INTERACTION_CONTEXT: InjectionToken<InteractionContext>;
7
5
  export interface InteractionContext extends Disposable, Disposable.Collector {
8
6
  readonly identifier: string;
9
7
  isActive(): boolean;
@@ -17,10 +15,6 @@ export interface InteractionContext extends Disposable, Disposable.Collector {
17
15
  }
18
16
  export declare namespace InteractionContext {
19
17
  interface Options {
20
- /**
21
- * @deprecated use Activity.disableCloseWhile(condition$);
22
- */
23
- disableClose?: boolean;
24
- enableCloseOnBackdropClick?: boolean;
18
+ disableClose: boolean;
25
19
  }
26
20
  }