@coolon/angular-ui-powerups 16.1.0-alpha.237 → 16.1.0-aplpha.0

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 (400) hide show
  1. package/assets/activities/activities.scss +6 -8
  2. package/assets/activities/input-activities.scss +6 -14
  3. package/assets/form.scss +23 -77
  4. package/assets/icons.scss +1 -2
  5. package/assets/interaction/editor/inline-string-editor.scss +0 -4
  6. package/assets/interaction.scss +1 -1
  7. package/assets/styles.scss +0 -4
  8. package/assets/table.scss +31 -84
  9. package/assets/tabs.scss +2 -15
  10. package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
  11. package/esm2022/lib/animations/slide-animations.mjs +10 -15
  12. package/esm2022/lib/components/alignment.mjs +1 -1
  13. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +12 -7
  14. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +7 -31
  15. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +6 -6
  16. package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
  17. package/esm2022/lib/components/commands/command/command.component.mjs +33 -35
  18. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +5 -13
  19. package/esm2022/lib/components/commands/command-face.mjs +11 -12
  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 +8 -31
  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 +25 -27
  25. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +24 -15
  26. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +12 -18
  27. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +23 -14
  28. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +19 -12
  29. package/esm2022/lib/components/commands/separator.component.mjs +14 -8
  30. package/esm2022/lib/components/components.module.mjs +58 -73
  31. package/esm2022/lib/components/disposable-component.mjs +40 -74
  32. package/esm2022/lib/components/empty-state/empty-state.component.mjs +9 -5
  33. package/esm2022/lib/components/exports.mjs +12 -16
  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 +18 -67
  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 +15 -18
  40. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +8 -10
  41. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +11 -12
  42. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +13 -94
  43. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -44
  44. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +19 -21
  45. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +16 -35
  46. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +8 -12
  47. package/esm2022/lib/components/icon/icon.component.mjs +7 -10
  48. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
  49. package/esm2022/lib/components/loading-container/loading-container.component.mjs +12 -7
  50. package/esm2022/lib/components/noop/noop.component.mjs +7 -5
  51. package/esm2022/lib/components/resize-aware.component.mjs +27 -64
  52. package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +5 -5
  53. package/esm2022/lib/components/section-header/section-header.component.mjs +4 -4
  54. package/esm2022/lib/components/switch-case/switch-case.component.mjs +17 -15
  55. package/esm2022/lib/components/tables/abstract-table-model.mjs +113 -116
  56. package/esm2022/lib/components/tables/abstract-table.component.mjs +8 -23
  57. package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
  58. package/esm2022/lib/components/tables/column/column-model.mjs +23 -20
  59. package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -5
  60. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -4
  61. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
  62. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +21 -0
  63. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +21 -8
  64. package/esm2022/lib/components/tables/column/property-column-model.mjs +20 -7
  65. package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
  66. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +60 -0
  67. package/esm2022/lib/components/tables/editor/edit-session.mjs +26 -0
  68. package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +2 -0
  69. package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
  70. package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +2 -3
  71. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +12 -16
  72. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -17
  73. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
  74. package/esm2022/lib/components/tables/renderer/cell-editors.mjs +2 -0
  75. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +26 -22
  76. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +8 -6
  77. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +7 -5
  78. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +8 -19
  79. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +9 -18
  80. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +53 -266
  81. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +50 -9
  82. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +7 -5
  83. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +33 -0
  84. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +60 -0
  85. package/esm2022/lib/components/tables/table/table-model.mjs +35 -18
  86. package/esm2022/lib/components/tables/table/table.component.mjs +64 -42
  87. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
  88. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
  89. package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
  90. package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +1 -1
  91. package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +7 -5
  92. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +6 -6
  93. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -4
  94. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +8 -15
  95. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
  96. package/esm2022/lib/components/text/markdown/markdown.component.mjs +6 -6
  97. package/esm2022/lib/components/track.mjs +1 -1
  98. package/esm2022/lib/components/types/bounds.class.mjs +1 -1
  99. package/esm2022/lib/components/types/loadable.mjs +2 -0
  100. package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
  101. package/esm2022/lib/directives/command.directive.mjs +14 -26
  102. package/esm2022/lib/directives/directives.module.mjs +10 -10
  103. package/esm2022/lib/directives/exports.mjs +1 -2
  104. package/esm2022/lib/directives/focus-binding-factory.mjs +4 -5
  105. package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
  106. package/esm2022/lib/directives/focus-binding.mjs +2 -22
  107. package/esm2022/lib/directives/garbage-collector.directive.mjs +4 -5
  108. package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
  109. package/esm2022/lib/directives/highlight.pipe.mjs +13 -22
  110. package/esm2022/lib/interaction/abstract-interaction-context.mjs +8 -6
  111. package/esm2022/lib/interaction/activity-ref.mjs +2 -2
  112. package/esm2022/lib/interaction/activity.mjs +23 -24
  113. package/esm2022/lib/interaction/alert.mjs +2 -2
  114. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +10 -14
  115. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +45 -5
  116. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +17 -30
  117. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -10
  118. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +25 -119
  119. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +19 -55
  120. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -6
  121. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +4 -5
  122. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -5
  123. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -5
  124. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -5
  125. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
  126. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -5
  127. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
  128. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +10 -6
  129. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +10 -6
  130. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +11 -9
  131. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  132. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
  133. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +13 -13
  134. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +9 -25
  135. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -6
  136. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +38 -44
  137. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +12 -14
  138. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +5 -6
  139. package/esm2022/lib/interaction/confirm.mjs +2 -26
  140. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
  141. package/esm2022/lib/interaction/exports.mjs +1 -6
  142. package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
  143. package/esm2022/lib/interaction/interaction-context.mjs +2 -3
  144. package/esm2022/lib/interaction/interaction.module.mjs +36 -44
  145. package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
  146. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
  147. package/esm2022/lib/interaction/services/interaction.service.mjs +10 -23
  148. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +10 -16
  149. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +5 -29
  150. package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
  151. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +5 -15
  152. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +9 -8
  153. package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +7 -5
  154. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +21 -23
  155. package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
  156. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +11 -19
  157. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
  158. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  159. package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +7 -5
  160. package/esm2022/lib/place/guards/place.guard.mjs +14 -30
  161. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  162. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
  163. package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
  164. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
  165. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
  166. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
  167. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
  168. package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
  169. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +4 -39
  170. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +9 -9
  171. package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
  172. package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
  173. package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -11
  174. package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
  175. package/esm2022/lib/place/place-access-guard.mjs +1 -1
  176. package/esm2022/lib/place/place-auth-service.mjs +7 -8
  177. package/esm2022/lib/place/place-component.mjs +79 -82
  178. package/esm2022/lib/place/place-config.mjs +1 -1
  179. package/esm2022/lib/place/place-definition.mjs +5 -18
  180. package/esm2022/lib/place/place-history.mjs +8 -17
  181. package/esm2022/lib/place/place-router.mjs +70 -191
  182. package/esm2022/lib/place/place.decorator.mjs +3 -4
  183. package/esm2022/lib/place/place.module.mjs +17 -17
  184. package/esm2022/lib/place/route/formatter.mjs +2 -2
  185. package/esm2022/lib/place/route/json-types.mjs +1 -1
  186. package/esm2022/lib/place/route/parameter-decorators.mjs +51 -55
  187. package/esm2022/lib/place/route/parameter-definition.mjs +2 -6
  188. package/esm2022/lib/place/route/parameter-sanitiser.mjs +2 -7
  189. package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
  190. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
  191. package/esm2022/lib/place/url-service.mjs +4 -4
  192. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  193. package/esm2022/lib/place/visit-segment.mjs +2 -3
  194. package/esm2022/lib/place/visit.mjs +5 -5
  195. package/esm2022/lib/services/markdown/markdown.service.mjs +7 -5
  196. package/esm2022/lib/services/markdown/pill-plugin.mjs +3 -1
  197. package/esm2022/lib/services/visibility-service.mjs +7 -7
  198. package/fesm2022/coolon-angular-ui-powerups.mjs +3634 -5281
  199. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  200. package/lib/angular-ui-powerups.module.d.ts +5 -5
  201. package/lib/animations/slide-animations.d.ts +0 -1
  202. package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
  203. package/lib/components/cards/abstract-card-container.component.d.ts +3 -6
  204. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  205. package/lib/components/cards/card-stack/card-stack.component.d.ts +68 -0
  206. package/lib/components/commands/command/command.component.d.ts +10 -9
  207. package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
  208. package/lib/components/commands/command-face.d.ts +9 -8
  209. package/lib/components/commands/group/popup-aware.component.d.ts +5 -10
  210. package/lib/components/commands/group/popup-container.d.ts +1 -1
  211. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +6 -6
  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 +2 -4
  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 +30 -33
  218. package/lib/components/disposable-component.d.ts +9 -26
  219. package/lib/components/empty-state/empty-state.component.d.ts +4 -1
  220. package/lib/components/exports.d.ts +11 -15
  221. package/lib/components/forms/abstract-input.component.d.ts +7 -16
  222. package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
  223. package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
  224. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
  225. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
  226. package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
  227. package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
  228. package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
  229. package/lib/components/forms/string-input/string-input.component.d.ts +1 -7
  230. package/lib/components/forms/text-input/text-input.component.d.ts +0 -3
  231. package/lib/components/loading-container/loading-container.component.d.ts +4 -1
  232. package/lib/components/noop/noop.component.d.ts +1 -0
  233. package/lib/components/resize-aware.component.d.ts +7 -26
  234. package/lib/components/switch-case/switch-case.component.d.ts +7 -6
  235. package/lib/components/tables/abstract-table-model.d.ts +37 -51
  236. package/lib/components/tables/abstract-table.component.d.ts +7 -8
  237. package/lib/components/tables/column/column-list-model.d.ts +13 -0
  238. package/lib/components/tables/column/column-model.d.ts +17 -14
  239. package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
  240. package/lib/components/tables/column/custom-value-column-model.d.ts +3 -4
  241. package/lib/components/tables/column/editor-controls-column-model.d.ts +13 -0
  242. package/lib/components/tables/column/list-propery-column-model.d.ts +7 -5
  243. package/lib/components/tables/column/property-column-model.d.ts +9 -7
  244. package/lib/components/tables/column/selection-column-model.d.ts +4 -10
  245. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +17 -0
  246. package/lib/components/tables/editor/edit-session.d.ts +9 -0
  247. package/lib/components/tables/{renderer → editor}/editable-cell-renderer.d.ts +1 -1
  248. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  249. package/lib/components/tables/filter/table-filter-model.d.ts +1 -1
  250. package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
  251. package/lib/components/tables/renderer/cell-editors.d.ts +9 -0
  252. package/lib/components/tables/renderer/cell-portal-ref.d.ts +25 -22
  253. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +2 -1
  254. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -0
  255. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +2 -3
  256. package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +0 -1
  257. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +21 -55
  258. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +14 -5
  259. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -0
  260. package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +15 -0
  261. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +23 -0
  262. package/lib/components/tables/table/table-model.d.ts +36 -10
  263. package/lib/components/tables/table/table.component.d.ts +13 -17
  264. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +28 -0
  265. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -1
  266. package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
  267. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -0
  268. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -3
  269. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -4
  270. package/lib/components/tables/tree-table/tree-table-component.d.ts +3 -6
  271. package/lib/components/tables/tree-table/tree-table-model.d.ts +6 -5
  272. package/lib/components/text/markdown/markdown.component.d.ts +1 -1
  273. package/lib/components/types/loadable.d.ts +5 -0
  274. package/lib/directives/command.directive.d.ts +5 -7
  275. package/lib/directives/directives.module.d.ts +5 -5
  276. package/lib/directives/exports.d.ts +0 -1
  277. package/lib/directives/focus-binding.d.ts +0 -1
  278. package/lib/directives/highlight.pipe.d.ts +2 -8
  279. package/lib/interaction/abstract-interaction-context.d.ts +5 -5
  280. package/lib/interaction/activity-ref.d.ts +4 -4
  281. package/lib/interaction/activity.d.ts +8 -8
  282. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +2 -3
  283. package/lib/interaction/components/abstract-dialog.component.d.ts +15 -6
  284. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
  285. package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -2
  286. package/lib/interaction/components/activity-container/activity-container.component.d.ts +13 -32
  287. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +7 -6
  288. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  289. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +2 -2
  290. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
  291. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
  292. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
  293. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +2 -2
  294. package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +3 -3
  295. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
  296. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -2
  297. package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +2 -2
  298. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  299. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +1 -1
  300. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +2 -2
  301. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +10 -12
  302. package/lib/interaction/components/input-activities/input-activity.d.ts +1 -1
  303. package/lib/interaction/components/input-activities/select-input-activity.d.ts +2 -2
  304. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  305. package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +2 -2
  306. package/lib/interaction/confirm.d.ts +0 -4
  307. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +5 -5
  308. package/lib/interaction/exports.d.ts +0 -5
  309. package/lib/interaction/in-place-interaction-context.d.ts +2 -2
  310. package/lib/interaction/interaction-context.d.ts +4 -10
  311. package/lib/interaction/interaction.module.d.ts +33 -35
  312. package/lib/interaction/route-synchronisation-adapter.d.ts +3 -3
  313. package/lib/interaction/services/interaction-service-routing-adapter.d.ts +4 -4
  314. package/lib/interaction/services/interaction.service.d.ts +4 -5
  315. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +5 -4
  316. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +5 -6
  317. package/lib/interaction/services/modal-interaction-context.factory.d.ts +2 -2
  318. package/lib/place/components/abstract-place-navigation.component.d.ts +2 -3
  319. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -0
  320. package/lib/place/components/place-outlet/place-outlet.component.d.ts +7 -6
  321. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -2
  322. package/lib/place/guards/noop-auth-guard.service.d.ts +1 -0
  323. package/lib/place/guards/place.guard.d.ts +1 -8
  324. package/lib/place/navigation/place-component-deactivation-handler.d.ts +4 -4
  325. package/lib/place/navigation/session/abstract-pop-state-navigation.d.ts +1 -1
  326. package/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.d.ts +3 -3
  327. package/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts +3 -3
  328. package/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.d.ts +3 -3
  329. package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts +1 -1
  330. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +3 -16
  331. package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +1 -1
  332. package/lib/place/navigation/session/navigation-context.d.ts +5 -5
  333. package/lib/place/navigation/session/navigation-session.d.ts +8 -15
  334. package/lib/place/place-access-guard.d.ts +1 -1
  335. package/lib/place/place-auth-service.d.ts +8 -8
  336. package/lib/place/place-component.d.ts +23 -15
  337. package/lib/place/place-definition.d.ts +3 -6
  338. package/lib/place/place-history.d.ts +4 -5
  339. package/lib/place/place-router.d.ts +10 -41
  340. package/lib/place/place.decorator.d.ts +1 -9
  341. package/lib/place/place.module.d.ts +8 -8
  342. package/lib/place/route/json-types.d.ts +3 -1
  343. package/lib/place/route/parameter-decorators.d.ts +6 -5
  344. package/lib/place/route/parameter-definition.d.ts +5 -5
  345. package/lib/place/route/parameter-sanitiser.d.ts +1 -8
  346. package/lib/place/route/parameter-snapshot.d.ts +2 -2
  347. package/lib/place/route/visit-segment-sanitiser.d.ts +3 -3
  348. package/lib/place/url-service.d.ts +1 -1
  349. package/lib/place/url-snapshot.d.ts +1 -1
  350. package/lib/place/visit-segment.d.ts +6 -6
  351. package/lib/place/visit.d.ts +4 -4
  352. package/lib/services/markdown/markdown.service.d.ts +1 -0
  353. package/lib/services/visibility-service.d.ts +1 -1
  354. package/package.json +20 -19
  355. package/assets/draw.scss +0 -20
  356. package/assets/layout.scss +0 -3
  357. package/assets/place.scss +0 -31
  358. package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
  359. package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -89
  360. package/esm2022/lib/components/forms/form-field.mjs +0 -2
  361. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
  362. package/esm2022/lib/components/loadable-component.mjs +0 -69
  363. package/esm2022/lib/components/tables/column/column-manager.mjs +0 -82
  364. package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
  365. package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -135
  366. package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
  367. package/esm2022/lib/components/tables/renderer/editable-cell-renderer.mjs +0 -2
  368. package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +0 -2
  369. package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +0 -153
  370. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +0 -45
  371. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +0 -71
  372. package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -32
  373. package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
  374. package/esm2022/lib/interaction/activity-context.mjs +0 -4
  375. package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
  376. package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
  377. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
  378. package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
  379. package/esm2022/lib/place/place-metadata.mjs +0 -16
  380. package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
  381. package/lib/components/file/file-download/file-download.component.d.ts +0 -45
  382. package/lib/components/forms/form-field.d.ts +0 -5
  383. package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
  384. package/lib/components/loadable-component.d.ts +0 -20
  385. package/lib/components/tables/column/column-manager.d.ts +0 -19
  386. package/lib/components/tables/column/column-order-manager.d.ts +0 -20
  387. package/lib/components/tables/footer/footer-row-model.d.ts +0 -72
  388. package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
  389. package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +0 -7
  390. package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +0 -42
  391. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +0 -19
  392. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +0 -24
  393. package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -10
  394. package/lib/directives/resize-observer.directive.d.ts +0 -16
  395. package/lib/interaction/activity-context.d.ts +0 -9
  396. package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
  397. package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
  398. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
  399. package/lib/interaction/interaction-context-provider.d.ts +0 -11
  400. package/lib/place/place-metadata.d.ts +0 -8
@@ -0,0 +1,13 @@
1
+ import { AbstractComputedListModel, ListModel } from '@coolon/pectin';
2
+ import { ColumnModel } from './column-model';
3
+ export declare class ColumnListModel<Row> extends AbstractComputedListModel<ColumnModel<Row>, boolean> {
4
+ private readonly _allColumns$;
5
+ private readonly columnsById$;
6
+ constructor();
7
+ get allColumns$(): ListModel<ColumnModel<Row>>;
8
+ getColumn(id: string): ColumnModel<Row>;
9
+ hasColumn(id: string): boolean;
10
+ hasMatchingColumn(row: Row, regex: RegExp): boolean;
11
+ addColumn<C extends ColumnModel<Row>>(column: C, index?: number): C;
12
+ doComputeValue(): ColumnModel<Row>[];
13
+ }
@@ -1,15 +1,17 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
2
  import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
3
3
  import { Injector } from "@angular/core";
4
- import { GarbageCollector, ValueModel } from "@coolon/pectin";
4
+ import { Command, GarbageCollector, ValueModel } from "@coolon/pectin";
5
+ import { EditSession } from "../editor/edit-session";
6
+ import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from "../renderer/cell-portal-ref";
7
+ import { TableCellComponent } from "../renderer/table-cell/table-cell.component";
8
+ import { TableHeaderCellComponent } from "../renderer/table-header-cell/table-header-cell.component";
5
9
  import { ColumnTextSearchFormatter } from "../filter/column-text-search-formatter";
6
- import { CellHeaderPortalRef, type CellRendererPortalRef } from "../renderer/cell-portal-ref";
7
- import type { TableCellComponent } from "../renderer/table-cell/table-cell.component";
8
- import type { TableHeaderCellComponent } from "../renderer/table-header-cell/table-header-cell.component";
9
- import type { ColumnOrderManager } from "./column-order-manager";
10
- import type { ColumnTextProperties } from "./column-text-properties";
11
- export interface RowData<Row extends object> {
10
+ import { ColumnTextProperties } from "./column-text-properties";
11
+ export interface RowData<Row> {
12
12
  row: Row;
13
+ editSession?: EditSession<Row>;
14
+ editRowCommand: Command<void>;
13
15
  }
14
16
  export type OnComponentInit<C> = (component: C) => void;
15
17
  export interface CellRendererOptions<Row, E> {
@@ -19,13 +21,13 @@ export interface CellRendererOptions<Row, E> {
19
21
  export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends CellRendererOptions<Row, E> {
20
22
  onValueEdit: (row: Row, is: Row[P], was: Row[P]) => void;
21
23
  }
22
- export declare class ColumnModel<Row extends object> extends GarbageCollector {
24
+ export declare class ColumnModel<Row> extends GarbageCollector {
23
25
  readonly columnId: string;
24
- private readonly order;
25
26
  private textPropertiesProvider;
26
27
  private _columnTextProperties;
27
28
  private _columnHeaderPortalRef;
28
29
  private _cellRendererPortalRef;
30
+ private _cellEditorPortalRef;
29
31
  private _enableRowSelection;
30
32
  private _flex;
31
33
  private _defaultVisibility$;
@@ -34,7 +36,7 @@ export declare class ColumnModel<Row extends object> extends GarbageCollector {
34
36
  readonly dasherisedColumnId: string;
35
37
  private readonly textSearchDelegate;
36
38
  readonly visible$: ValueModel<boolean>;
37
- constructor(columnId: string, order: ColumnOrderManager, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
39
+ constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
38
40
  protected installHeaderRenderer(): void;
39
41
  getHeaderText(): string;
40
42
  isVisible(): boolean;
@@ -49,20 +51,21 @@ export declare class ColumnModel<Row extends object> extends GarbageCollector {
49
51
  */
50
52
  textProperties(columnTextProperties: ColumnTextProperties): this;
51
53
  columnTextProperties(columnTextProperties: ColumnTextProperties): this;
52
- positionAfter(column: ColumnModel<any>): this;
53
- positionBefore(column: ColumnModel<any>): this;
54
54
  getSearchTextFor(row: Row): string;
55
55
  configureColumnTextSearch(formatter: ColumnTextSearchFormatter<Row>): this;
56
56
  configureColumnTextSearch<T>(formatter: ColumnTextSearchFormatter<T>, mapper: (row: Row) => T): this;
57
- protected configureHeaderRenderer<C>(config: CellHeaderPortalRef<Row, unknown>): void;
58
- protected configureCellRenderer<C>(config: CellRendererPortalRef<Row, unknown>): void;
57
+ protected configureHeaderRenderer<C>(config: CellHeaderPortalRef<Row, any>): void;
58
+ protected configureCellRenderer<C>(config: CellRendererPortalRef<Row, any>): void;
59
+ protected configureCellEditor<E>(cellEditor: CellEditorPortalRef<Row, E>): void;
59
60
  cellHeaderRenderer<C>(componentType: ComponentType<C>, initialiser: (component: C, column: ColumnModel<Row>) => void): this;
60
61
  flex(flex?: boolean): void;
61
62
  isFlex(): boolean;
63
+ hasEditorPortal(): boolean;
62
64
  attachHeaderCell(host: any): void;
63
65
  attachCell(host: any): void;
64
66
  onHeaderAttached(host: TableHeaderCellComponent, ref: CdkPortalOutletAttachedRef): void;
65
67
  onRendererAttached(host: TableCellComponent<Row>, ref: CdkPortalOutletAttachedRef): void;
68
+ onEditorAttached(host: TableCellComponent<Row>, ref: CdkPortalOutletAttachedRef): void;
66
69
  updatePortalContent(host: TableCellComponent<Row>): void;
67
70
  protected _selectRowOnClick(selectRowOnClick: boolean): this;
68
71
  isRowSelectionEnabled(): boolean;
@@ -1,9 +1,8 @@
1
1
  import { TemplateRef, ViewContainerRef } from "@angular/core";
2
2
  import { ColumnModel } from "./column-model";
3
- import type { ColumnOrderManager } from "./column-order-manager";
4
- export declare class CustomTemplateColumnModel<Row extends object> extends ColumnModel<Row> {
3
+ export declare class CustomTemplateColumnModel<Row> extends ColumnModel<Row> {
5
4
  private readonly config;
6
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider);
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider);
7
6
  setTemplate(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
8
7
  selectRowOnClick(selectOnRowClick: boolean): this;
9
8
  }
@@ -1,9 +1,8 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
- import { type CellRendererOptions, ColumnModel, type OnComponentInit } from "./column-model";
3
- import type { ColumnOrderManager } from "./column-order-manager";
4
- export declare class CustomValueColumnModel<Row extends object, V> extends ColumnModel<Row> {
2
+ import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column-model";
3
+ export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
5
4
  private getValue;
6
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
7
6
  cellRenderer<C extends {
8
7
  value: Partial<V>;
9
8
  }>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
@@ -0,0 +1,13 @@
1
+ import { ComponentType } from "@angular/cdk/overlay";
2
+ import { Command, DirtyTrackingForm } from "@coolon/pectin";
3
+ import { EditSession } from "../editor/edit-session";
4
+ import { ColumnModel } from "./column-model";
5
+ export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
6
+ constructor(columnId: string, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
7
+ cellRenderer(componentType: ComponentType<{
8
+ row: Row;
9
+ editSession: EditSession<Row>;
10
+ editRowCommand: Command<void>;
11
+ }>): this;
12
+ protected getDefaultHeaderText(): string;
13
+ }
@@ -1,14 +1,16 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
- import { Types } from "@coolon/pectin";
3
- import type { CellRenderer } from "../renderer/cell-renderer";
2
+ import { Types, Validator } from "@coolon/pectin";
3
+ import { CellListEditorComponent } from "../renderer/cell-editors";
4
+ import { CellRenderer } from "../renderer/cell-renderer";
4
5
  import { ColumnModel } from "./column-model";
5
- import type { ColumnOrderManager } from "./column-order-manager";
6
- export declare class ListPropertyColumnModel<Row extends object, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
6
+ export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
7
7
  readonly property: P;
8
8
  private _userFormat;
9
9
  private _defaultSearchTextFormat;
10
- constructor(id: string, order: ColumnOrderManager, property: P, defaults: ColumnModel.TextPropertiesProvider);
10
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
11
11
  cellRenderer(componentType: ComponentType<CellRenderer<Types.ArrayElementType<Row, P>[]>>): Omit<this, "format">;
12
+ cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, validators?: Validator<Types.ArrayElementType<Row, P>[]>[], initialiseComponent?: (component: C) => void): this;
13
+ cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, initialiseComponent?: (component: C) => void): this;
12
14
  format(formatter: (value: Types.ArrayElementType<Row, P>[]) => any): Omit<this, "cellRenderer">;
13
15
  selectRowOnClick(selectRowOnClick: boolean): this;
14
16
  }
@@ -1,14 +1,14 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
- import { Types } from "@coolon/pectin";
3
- import type { CellRenderer } from "../renderer/cell-renderer";
4
- import type { EditableCellRenderer } from "../renderer/editable-cell-renderer";
5
- import { type CellRendererOptions, ColumnModel, type MutableCellRendererOptions, type OnComponentInit } from "./column-model";
6
- import type { ColumnOrderManager } from "./column-order-manager";
7
- export declare class PropertyColumnModel<Row extends object, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
2
+ import { Types, Validator } from "@coolon/pectin";
3
+ import { EditableCellRenderer } from "../editor/editable-cell-renderer";
4
+ import { CellEditorComponent } from "../renderer/cell-editors";
5
+ import { CellRenderer } from "../renderer/cell-renderer";
6
+ import { CellRendererOptions, ColumnModel, MutableCellRendererOptions, OnComponentInit } from "./column-model";
7
+ export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
8
8
  readonly property: P;
9
9
  private _userFormat;
10
10
  private _defaultSearchTextFormatter;
11
- constructor(id: string, order: ColumnOrderManager, property: P, defaults: ColumnModel.TextPropertiesProvider);
11
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
12
12
  cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): Omit<this, "format">;
13
13
  cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): Omit<this, "format">;
14
14
  liveEditCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
@@ -18,6 +18,8 @@ export declare class PropertyColumnModel<Row extends object, P extends Types.Val
18
18
  * @param options
19
19
  */
20
20
  mutableCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
21
+ cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, validators?: Validator<Row[P]>[], initialiseComponent?: (component: E) => void): this;
22
+ cellEditor<E extends CellEditorComponent<Row[P]>>(editor: ComponentType<E>, initialiseComponent?: (component: E) => void): this;
21
23
  format(formatter: (value: Row[P]) => any): Omit<this, "cellRenderer">;
22
24
  selectRowOnClick(selectOnRowClick: boolean): this;
23
25
  }
@@ -1,16 +1,11 @@
1
1
  import { ThemePalette } from "@angular/material/core";
2
- import { GarbageCollector, SelectionModel } from "@coolon/pectin";
2
+ import { Proxified, SelectionModel } from "@coolon/pectin";
3
3
  import { ColumnModel } from "./column-model";
4
- import type { ColumnOrderManager } from "./column-order-manager";
5
- export declare class SelectionColumnModel<Row extends object> extends ColumnModel<Row> {
4
+ export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
5
+ readonly selectionModel: Proxified<SelectionModel<Row>>;
6
6
  private _enableHeaderControls;
7
7
  private _color;
8
- private readonly _selectionModelProxy;
9
- private _isUsingTemporarySelection$;
10
- private _userSelectionModel;
11
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider);
12
- get selectionModel(): SelectionModel<Row>;
13
- get isUsingTemporarySelectionModel$(): import("@coolon/pectin").ValueModel<boolean>;
8
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: Proxified<SelectionModel<Row>>);
14
9
  useSelectionModel(selectionModel: SelectionModel<Row>): void;
15
10
  protected getDefaultHeaderText(): string;
16
11
  enableHeaderControls(enable: boolean): this;
@@ -20,5 +15,4 @@ export declare class SelectionColumnModel<Row extends object> extends ColumnMode
20
15
  color(color: ThemePalette): void;
21
16
  selectRow(row: Row): void;
22
17
  isSelected(row: Row): boolean;
23
- withTemporarySelectionModel<S extends SelectionModel<Row>, R>(createSelectionModel: (garbage: GarbageCollector) => S, process: (selectionModel: S) => Promise<R>): Promise<R>;
24
18
  }
@@ -0,0 +1,17 @@
1
+ import { Command, DirtyTrackingForm } from '@coolon/pectin';
2
+ import { DisposableComponent } from '../../../disposable-component';
3
+ import { EditSession } from '../edit-session';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EditRowControls<Row> extends DisposableComponent {
6
+ row: Row;
7
+ accessor editRowCommand: Command<void>;
8
+ private _session;
9
+ set editSession(session: EditSession<Row>);
10
+ get editSession(): EditSession<Row>;
11
+ readonly saveCommand: Command<void>;
12
+ readonly cancelCommand: Command<void>;
13
+ constructor();
14
+ get form(): DirtyTrackingForm<Row>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditRowControls<any>, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditRowControls<any>, "aup-row-editor-controls", never, { "row": { "alias": "row"; "required": false; }; "editRowCommand": { "alias": "editRowCommand"; "required": false; }; "editSession": { "alias": "editSession"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,9 @@
1
+ import { Command, DirtyTrackingForm, GarbageCollector } from '@coolon/pectin';
2
+ export declare class EditSession<Row> extends GarbageCollector {
3
+ readonly rowId: any;
4
+ readonly form: DirtyTrackingForm<Row>;
5
+ readonly saveCommand: Command<boolean | Promise<boolean>>;
6
+ private _liveRowValue$;
7
+ readonly liveRowValue$: import("@coolon/pectin").ValueModel<Row>;
8
+ constructor(rowId: any, row: Row, form: DirtyTrackingForm<Row>, saveCommand: Command<boolean | Promise<boolean>>);
9
+ }
@@ -1,5 +1,5 @@
1
+ import { CellRenderer } from '../renderer/cell-renderer';
1
2
  import { Disposable } from '@coolon/pectin';
2
- import type { CellRenderer } from './cell-renderer';
3
3
  export interface EditableCellRenderer<T> extends CellRenderer<T> {
4
4
  value: T;
5
5
  onValueEdited(callback: (is: T, was: T) => void): Disposable;
@@ -1,8 +1,8 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
2
  import { Constructable } from "@coolon/typescript-utilities";
3
3
  import { Enum } from "typescript-string-enums";
4
- import type { CellRenderer } from "../renderer/cell-renderer";
5
4
  import { ColumnTextSearchFormatter } from "./column-text-search-formatter";
5
+ import { CellRenderer } from "../renderer/cell-renderer";
6
6
  export declare const Keys: {
7
7
  useFunction: "useFunction";
8
8
  useInstance: "useInstance";
@@ -1,5 +1,5 @@
1
1
  import { Disposable, DisposedWith, GarbageCollector, ListModel, Predicate, ValueModel } from "@coolon/pectin";
2
- import type { TextSearchPredicate } from "./text-search-predicate";
2
+ import { TextSearchPredicate } from "./text-search-predicate";
3
3
  export declare class TableFilterModel<Row> extends GarbageCollector {
4
4
  private readonly _source$;
5
5
  private readonly _rowPredicate$;
@@ -1,10 +1 @@
1
- import { AbstractConstructable } from "@coolon/restilence-plugin";
2
1
  export type TextSearchPredicate<Row> = (row: Row, regex: RegExp) => boolean;
3
- export declare class TextSearchContext<Row> {
4
- readonly row: Row;
5
- readonly searchText: string;
6
- readonly searchRegex: RegExp;
7
- constructor(row: Row, searchText: string, searchRegex: RegExp);
8
- getOrCreate<T>(type: AbstractConstructable<T>, create: () => T): void;
9
- matchesText(text: string): boolean;
10
- }
@@ -0,0 +1,9 @@
1
+ import { FormListModel, FormValueModel, MutableListModel, MutableValueModel } from '@coolon/pectin';
2
+ export interface CellEditorComponent<T> {
3
+ value$: MutableValueModel<T> | FormValueModel<T>;
4
+ requestFocus?(): void;
5
+ }
6
+ export interface CellListEditorComponent<T> {
7
+ list$: MutableListModel<T> | FormListModel<T>;
8
+ requestFocus?(): void;
9
+ }
@@ -1,50 +1,53 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
- import { Host, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import type { ColumnModel, RowData } from '../column/column-model';
4
- import type { TableCellComponent } from './table-cell/table-cell.component';
5
- import type { TableHeaderCellComponent } from './table-header-cell/table-header-cell.component';
2
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
3
+ import { ColumnModel, RowData } from '../column/column-model';
4
+ import { EditSession } from '../editor/edit-session';
5
+ import { TableCellComponent } from './table-cell/table-cell.component';
6
+ import { TableHeaderCellComponent } from './table-header-cell/table-header-cell.component';
6
7
  export declare const HEADER_CELL_RENDERER_PORTAL: unique symbol;
7
- export declare const FOOTER_CELL_RENDERER_PORTAL: unique symbol;
8
8
  export declare const CELL_RENDERER_PORTAL: unique symbol;
9
+ export declare const CELL_EDITOR_PORTAL: unique symbol;
9
10
  export declare const PORTAL_RENDERER_COMPONENT: unique symbol;
10
- export declare abstract class CellPortalRef<Row extends object, Host, Portal> {
11
- abstract initialiseHost(host: Host): void;
12
- abstract onPortalAttached(host: Host, portalComponent: Portal): void;
11
+ export declare const PORTAL_EDITOR_COMPONENT: unique symbol;
12
+ export declare abstract class CellPortalRef<Row, Host, Portal> {
13
+ constructor();
14
+ abstract initialiseHost(host: Host, columnModel: ColumnModel<Row>): any;
15
+ abstract onPortalAttached(host: Host, portalComponent: Portal): any;
13
16
  }
14
- export declare class CellHeaderPortalRef<Row extends object, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
17
+ export declare class CellHeaderPortalRef<Row, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
15
18
  readonly componentType: ComponentType<C>;
16
19
  readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
17
20
  constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
18
- initialiseHost(host: Host): void;
21
+ initialiseHost(host: TableHeaderCellComponent, columnModel: ColumnModel<Row>): void;
19
22
  onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
20
23
  }
21
- export declare abstract class CellRendererPortalRef<Row extends object, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
24
+ export declare abstract class CellRendererPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
22
25
  abstract pushState(host: TableCellComponent<Row>): void;
23
26
  }
24
- export declare class ComponentCellRendererPortalRef<Row extends object, Portal> extends CellRendererPortalRef<Row, Portal> {
27
+ export declare class ComponentCellRendererPortalRef<Row, Portal> extends CellRendererPortalRef<Row, Portal> {
25
28
  readonly componentType: ComponentType<Portal>;
26
29
  readonly updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void;
27
30
  constructor(componentType: ComponentType<Portal>, updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void);
28
- initialiseHost(host: Host): void;
31
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
29
32
  onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
30
33
  pushState(host: TableCellComponent<Row>): void;
31
34
  }
32
- export declare class TemplateCellRendererPortalRef<Row extends object> extends CellRendererPortalRef<Row, undefined> {
35
+ export declare class CellEditorPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
36
+ readonly componentType: ComponentType<Portal>;
37
+ readonly initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void;
38
+ constructor(componentType: ComponentType<Portal>, initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void);
39
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
40
+ onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
41
+ }
42
+ export declare class TemplateCellRendererPortalRef<Row> extends CellRendererPortalRef<Row, undefined> {
33
43
  private templateRef;
34
44
  private viewContainer;
35
45
  private fillCell;
36
46
  private padChild;
37
47
  constructor();
38
48
  registerPortal(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
39
- initialiseHost(host: Host): void;
49
+ initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
40
50
  onPortalAttached(host: TableCellComponent<Row>, portalComponent: undefined): void;
41
51
  pushState(host: TableCellComponent<Row>): void;
42
52
  private createPortal;
43
53
  }
44
- export declare class CellFooterPortalRef<Row extends object, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
45
- readonly componentType: ComponentType<C>;
46
- readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
47
- constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
48
- initialiseHost(host: Host): void;
49
- onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
50
- }
@@ -1,9 +1,10 @@
1
- import type { CellRenderer } from "../cell-renderer";
1
+ import { CellRenderer } from "../cell-renderer";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class DefaultCellRendererComponent<T> implements CellRenderer<T> {
4
4
  private _value;
5
5
  set value(value: T);
6
6
  get value(): T;
7
+ constructor();
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultCellRendererComponent<any>, never>;
8
9
  static ɵcmp: i0.ɵɵComponentDeclaration<DefaultCellRendererComponent<any>, "aup-default-cell-renderer", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
9
10
  }
@@ -1,6 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DefaultHeaderCellRendererComponent {
3
3
  headerText: string;
4
+ constructor();
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderCellRendererComponent, never>;
5
6
  static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeaderCellRendererComponent, "aup-default-header-renderer", never, { "headerText": { "alias": "headerText"; "required": false; }; }, {}, never, never, false, never>;
6
7
  }
@@ -1,4 +1,4 @@
1
- import { ThemePalette } from '@angular/material/core';
1
+ import { ThemePalette } from "@angular/material/core";
2
2
  import { Command, MultipleSelectionModel, SelectionModel } from '@coolon/pectin';
3
3
  import { DisposableComponent } from '../../../disposable-component';
4
4
  import * as i0 from "@angular/core";
@@ -12,8 +12,7 @@ export declare class SelectionHeaderCellComponent<Row> extends DisposableCompone
12
12
  isIntermediate(): boolean;
13
13
  isVisible(): boolean;
14
14
  isMultiSelectionModel(): boolean;
15
- ifMultiSelectionModel<T>(runnable: (model$: MultipleSelectionModel<Row, unknown>) => T, otherwise?: T): T;
16
- handleClick(event$: Event): void;
15
+ ifMultiSelectionModel<T>(runnable: (model$: MultipleSelectionModel<Row, any>) => T, otherwise?: T): T;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionHeaderCellComponent<any>, never>;
18
17
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectionHeaderCellComponent<any>, "aup-selection-header-cell", never, {}, {}, never, never, false, never>;
19
18
  }
@@ -7,7 +7,6 @@ export declare class SelectionCellComponent<Row> extends DisposableComponent {
7
7
  row: Row;
8
8
  selectionModel: SelectionModel<Row>;
9
9
  color: ThemePalette;
10
- constructor();
11
10
  select($event: MouseEvent): void;
12
11
  isSelected(): boolean;
13
12
  isDisabled(): boolean;
@@ -1,70 +1,36 @@
1
- import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
2
- import { AfterViewInit, ElementRef, InjectionToken, OnChanges, OnDestroy } from "@angular/core";
3
- import { ListModel, ListModelChain, MutableValueModel, ValueModel } from "@coolon/pectin";
4
- import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
1
+ import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
2
+ import { ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
5
3
  import { ResizeAwareComponent } from "../../../resize-aware.component";
6
4
  import { AbstractTableModel } from "../../abstract-table-model";
7
- import type { ColumnModel } from "../../column/column-model";
8
- import { FooterRowModel, ResolvedFooterRow } from "../../footer/footer-row-model";
5
+ import { ColumnModel } from "../../column/column-model";
9
6
  import * as i0 from "@angular/core";
10
- export declare const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER: InjectionToken<number>;
11
- export declare const AUP_TABLE_OPTIMIZED_CHANGE_DETECTION: InjectionToken<boolean>;
12
- export declare class TableRowAttributesDirective implements OnChanges {
13
- protected readonly elementRef: ElementRef<HTMLElement>;
14
- aupTableRowAttributes: Record<string, string>;
15
- /** Attribute names applied on the previous pass, so ones that disappear can be removed. */
16
- private appliedAttributeNames;
17
- constructor(elementRef: ElementRef<HTMLElement>);
18
- ngOnChanges(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
21
- }
22
- export declare class TableBodyComponent<Row extends object> extends ResizeAwareComponent implements AfterViewInit, OnDestroy {
23
- protected bufferMultiplier: number;
7
+ export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements OnInit {
24
8
  accessor data$: ListModel<Row>;
25
9
  accessor tableModel: AbstractTableModel<Row>;
26
- footerRows: FooterRowModel.Impl[];
27
10
  accessor showHeader$: ValueModel<boolean>;
28
11
  accessor showHeader: boolean;
12
+ readonly visibleRowCount: EventEmitter<number>;
29
13
  trackBy: (index: number, item: Row) => any;
30
- accessor scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
31
- accessor scrollMode: TableBodyComponent.ScrollMode;
32
- scrollViewport: CdkVirtualScrollViewport;
33
- columns$: ListModelChain<ColumnModel<Row>>;
34
- columnIds$: ListModelChain<string>;
35
- footerRowDefs$: ValueModel<ResolvedFooterRow[]>;
36
- private columnsById$;
37
- protected readonly headerHeight$: MutableValueModel<number>;
38
- protected rowHeight$: MutableValueModel<number>;
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;
39
26
  baseCssClass: string;
40
- get animationsDisabledClass(): boolean;
41
- protected readonly virtualScrollDataSource: TableVirtualScrollDataSource<Row>;
42
- protected readonly virtualScrollActive$: MutableValueModel<boolean>;
43
- protected readonly animationsDisabled$: MutableValueModel<boolean>;
44
- private scrollTimeout;
45
- private animationsResetRafId;
46
- private scrollEndAbortController;
47
- protected readonly optimisedChangeDetectionEnabled: boolean;
48
- private viewInitialized;
49
- protected markForCheck(): void;
50
- constructor(bufferMultiplier?: number);
51
- ngAfterViewInit(): void;
27
+ constructor(elementRef: ElementRef, ngZone: NgZone);
52
28
  get hideHeader(): boolean;
53
- get headerHeightCssVar(): string;
54
- get rowHeightCssVar(): string;
29
+ isEditing(row: Row): boolean;
55
30
  notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
56
31
  isFirstVisibleColumn(columnId: string): boolean;
57
32
  isLastVisibleColumn(columnId: string): boolean;
58
33
  getColumnClasses(columnId: string): string[];
59
- private scheduleTableHeightCheck;
60
- private notifyScrolled;
61
- private notifyScrollEnded;
62
- ngOnDestroy(): void;
63
- private resetAnimationsAfterFrame;
64
- private clearScrollTimeout;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, [{ optional: true; }]>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "footerRows": { "alias": "footerRows"; "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>;
67
- }
68
- export declare namespace TableBodyComponent {
69
- type ScrollMode = "none" | "classic" | "virtual";
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>;
70
36
  }
@@ -1,23 +1,32 @@
1
1
  import { CdkPortalOutletAttachedRef, Portal } from "@angular/cdk/portal";
2
- import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { OnChanges, SimpleChanges } from "@angular/core";
3
3
  import { DisposableComponent } from "../../../disposable-component";
4
4
  import { AbstractTableModel } from "../../abstract-table-model";
5
- import { ColumnModel, type RowData } from "../../column/column-model";
6
- import { CELL_RENDERER_PORTAL } from "../cell-portal-ref";
5
+ import { ColumnModel, RowData } from "../../column/column-model";
6
+ import { EditSession } from "../../editor/edit-session";
7
+ import { CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL } from "../cell-portal-ref";
7
8
  import * as i0 from "@angular/core";
8
- export declare class TableCellComponent<Row extends object> extends DisposableComponent implements OnChanges {
9
+ export declare class TableCellComponent<Row> extends DisposableComponent implements OnChanges {
9
10
  row: Row;
10
11
  column: ColumnModel<Row>;
12
+ editSession: EditSession<Row>;
11
13
  tableModel: AbstractTableModel<Row>;
14
+ private editRowCommand;
12
15
  [CELL_RENDERER_PORTAL]: Portal<any>;
16
+ [CELL_EDITOR_PORTAL]: Portal<any>;
13
17
  defaultClassNames: string;
14
18
  fillCell: boolean;
15
19
  padChild: boolean;
20
+ private firstEditableColumn;
16
21
  constructor();
22
+ hasActiveEditor(): boolean;
17
23
  initialiseRenderer(ref: CdkPortalOutletAttachedRef): void;
24
+ initialiseEditor(ref: CdkPortalOutletAttachedRef): void;
25
+ private tryAndFocusEditor;
18
26
  ngOnChanges(changes: SimpleChanges): void;
19
27
  getRendererPortal(): Portal<any>;
28
+ getEditorPortal(): Portal<any>;
20
29
  getRowData(): RowData<Row>;
21
30
  static ɵfac: i0.ɵɵFactoryDeclaration<TableCellComponent<any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent<any>, "aup-table-cell", never, { "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; }, {}, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent<any>, "aup-table-cell", never, { "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; "editSession": { "alias": "editSession"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; }, {}, never, never, false, never>;
23
32
  }
@@ -7,6 +7,7 @@ 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();
10
11
  ngOnInit(): void;
11
12
  initialiseHeader(ref: CdkPortalOutletAttachedRef): void;
12
13
  getPortal(): Portal<any>;
@@ -0,0 +1,15 @@
1
+ import { Command, ValueModel } from "@coolon/pectin";
2
+ import { DisposableComponent } from "../../../../disposable-component";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TableMoreMenuPopupComponent<T> extends DisposableComponent {
5
+ private _value$;
6
+ private readonly _visible$;
7
+ private readonly _closeCommand;
8
+ initialise(row$: ValueModel<T>, closeCommand: Command<void>): void;
9
+ protected visibleWhile(condition: ValueModel<boolean>): this;
10
+ get visible$(): ValueModel<boolean>;
11
+ get closeCommand(): Command<void>;
12
+ get value$(): ValueModel<T>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableMoreMenuPopupComponent<any>, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableMoreMenuPopupComponent<any>, "aup-table-more-menu-popup", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,23 @@
1
+ import { CdkPortalOutletAttachedRef, ComponentPortal } from "@angular/cdk/portal";
2
+ import { MatLegacyMenuTrigger as MatMenuTrigger } from "@angular/material/legacy-menu";
3
+ import { ValueModelChain } from "@coolon/pectin";
4
+ import { Constructable } from "@coolon/typescript-utilities";
5
+ import { DisposableComponent } from "../../../disposable-component";
6
+ import { CellRenderer } from "../cell-renderer";
7
+ import { TableMoreMenuPopupComponent } from "./table-more-menu-popup/table-more-menu-popup.component";
8
+ import * as i0 from "@angular/core";
9
+ export declare class TableMoreMenuComponent<T> extends DisposableComponent implements CellRenderer<T> {
10
+ private value$;
11
+ accessor value: T;
12
+ matMenuTrigger: MatMenuTrigger;
13
+ private readonly popupType$;
14
+ popupComponentPortal$: ValueModelChain<ComponentPortal<TableMoreMenuPopupComponent<T>>>;
15
+ private readonly _visible$;
16
+ constructor();
17
+ configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>): void;
18
+ preventDefault($event: MouseEvent): void;
19
+ initialise($event: CdkPortalOutletAttachedRef): void;
20
+ get visible$(): import("@coolon/pectin").ValueModel<boolean>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableMoreMenuComponent<any>, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableMoreMenuComponent<any>, "aup-table-more-menu", never, {}, {}, never, never, false, never>;
23
+ }