@coolon/angular-ui-powerups 16.1.0-aplpha.4 → 16.1.0-aplpha.41

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 (274) hide show
  1. package/assets/activities/activities.scss +3 -3
  2. package/assets/activities/input-activities.scss +10 -2
  3. package/assets/form.scss +54 -29
  4. package/assets/icons.scss +1 -1
  5. package/assets/interaction/editor/inline-string-editor.scss +4 -0
  6. package/assets/interaction.scss +1 -1
  7. package/assets/place.scss +31 -0
  8. package/assets/styles.scss +2 -0
  9. package/assets/table.scss +19 -17
  10. package/assets/tabs.scss +2 -3
  11. package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
  12. package/esm2022/lib/components/alignment.mjs +1 -1
  13. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +7 -12
  14. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +4 -4
  15. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
  16. package/esm2022/lib/components/commands/command/command.component.mjs +7 -10
  17. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +13 -5
  18. package/esm2022/lib/components/commands/flex.component.mjs +4 -4
  19. package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
  20. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +1 -1
  21. package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
  22. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +14 -14
  23. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +8 -8
  24. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -7
  25. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +9 -9
  26. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +11 -18
  27. package/esm2022/lib/components/commands/separator.component.mjs +4 -4
  28. package/esm2022/lib/components/components.module.mjs +41 -38
  29. package/esm2022/lib/components/disposable-component.mjs +11 -40
  30. package/esm2022/lib/components/empty-state/empty-state.component.mjs +5 -9
  31. package/esm2022/lib/components/exports.mjs +4 -3
  32. package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -4
  33. package/esm2022/lib/components/focusable.component.mjs +5 -5
  34. package/esm2022/lib/components/forms/abstract-input.component.mjs +20 -9
  35. package/esm2022/lib/components/forms/abstract-list-input.component.mjs +4 -4
  36. package/esm2022/lib/components/forms/abstract-value-input.component.mjs +4 -4
  37. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +11 -12
  38. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -6
  39. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +10 -10
  40. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +7 -7
  41. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -7
  42. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
  43. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +12 -12
  44. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +9 -9
  45. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +7 -7
  46. package/esm2022/lib/components/icon/icon.component.mjs +9 -6
  47. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
  48. package/esm2022/lib/components/loadable-component.mjs +47 -0
  49. package/esm2022/lib/components/loading-container/loading-container.component.mjs +7 -12
  50. package/esm2022/lib/components/noop/noop.component.mjs +5 -7
  51. package/esm2022/lib/components/resize-aware.component.mjs +64 -27
  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 +12 -12
  55. package/esm2022/lib/components/tables/abstract-table-model.mjs +21 -21
  56. package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -5
  57. package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
  58. package/esm2022/lib/components/tables/column/column-model.mjs +17 -6
  59. package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
  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 +6 -5
  65. package/esm2022/lib/components/tables/column/property-column-model.mjs +5 -5
  66. package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
  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 +4 -2
  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 +3 -2
  72. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +11 -8
  73. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
  74. package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
  75. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +1 -3
  76. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +5 -7
  77. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
  78. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +14 -7
  79. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
  80. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +28 -28
  81. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +4 -4
  82. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
  83. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +4 -4
  84. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +7 -7
  85. package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
  86. package/esm2022/lib/components/tables/table/table.component.mjs +6 -6
  87. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +5 -5
  88. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +1 -1
  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 +5 -7
  92. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
  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 +6 -6
  95. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +2 -2
  96. package/esm2022/lib/components/text/markdown/markdown.component.mjs +5 -5
  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/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
  100. package/esm2022/lib/directives/command.directive.mjs +11 -11
  101. package/esm2022/lib/directives/directives.module.mjs +10 -10
  102. package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
  103. package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
  104. package/esm2022/lib/directives/focus-binding.mjs +1 -1
  105. package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
  106. package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
  107. package/esm2022/lib/directives/highlight.pipe.mjs +4 -4
  108. package/esm2022/lib/interaction/abstract-interaction-context.mjs +1 -1
  109. package/esm2022/lib/interaction/activity-ref.mjs +2 -2
  110. package/esm2022/lib/interaction/activity.mjs +5 -4
  111. package/esm2022/lib/interaction/alert.mjs +1 -1
  112. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +4 -4
  113. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +5 -6
  114. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +4 -4
  115. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -4
  116. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +6 -6
  117. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +4 -6
  118. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +3 -3
  119. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
  120. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -4
  121. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -4
  122. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -4
  123. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
  124. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -4
  125. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +5 -5
  126. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +5 -5
  127. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +5 -5
  128. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
  129. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  130. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
  131. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +8 -8
  132. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +6 -6
  133. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -4
  134. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +7 -4
  135. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +11 -6
  136. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +6 -5
  137. package/esm2022/lib/interaction/confirm.mjs +1 -1
  138. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +5 -5
  139. package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
  140. package/esm2022/lib/interaction/interaction-context.mjs +1 -1
  141. package/esm2022/lib/interaction/interaction.module.mjs +23 -23
  142. package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
  143. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +1 -1
  144. package/esm2022/lib/interaction/services/interaction.service.mjs +6 -6
  145. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +8 -9
  146. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +1 -2
  147. package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
  148. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +15 -5
  149. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +6 -6
  150. package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
  151. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +5 -5
  152. package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
  153. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +15 -10
  154. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
  155. package/esm2022/lib/place/guards/consolidated-param-map.mjs +1 -1
  156. package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
  157. package/esm2022/lib/place/guards/place.guard.mjs +5 -5
  158. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +1 -1
  159. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
  160. package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
  161. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
  162. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
  163. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
  164. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
  165. package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
  166. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
  167. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +1 -1
  168. package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
  169. package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
  170. package/esm2022/lib/place/navigation/session/navigation-session.mjs +1 -1
  171. package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
  172. package/esm2022/lib/place/place-access-guard.mjs +1 -1
  173. package/esm2022/lib/place/place-component.mjs +27 -41
  174. package/esm2022/lib/place/place-config.mjs +1 -1
  175. package/esm2022/lib/place/place-definition.mjs +1 -1
  176. package/esm2022/lib/place/place-history.mjs +5 -7
  177. package/esm2022/lib/place/place-router.mjs +20 -18
  178. package/esm2022/lib/place/place.decorator.mjs +1 -1
  179. package/esm2022/lib/place/place.module.mjs +16 -12
  180. package/esm2022/lib/place/route/formatter.mjs +2 -2
  181. package/esm2022/lib/place/route/json-types.mjs +1 -1
  182. package/esm2022/lib/place/route/parameter-decorators.mjs +1 -1
  183. package/esm2022/lib/place/route/parameter-definition.mjs +1 -1
  184. package/esm2022/lib/place/route/parameter-sanitiser.mjs +1 -1
  185. package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
  186. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
  187. package/esm2022/lib/place/url-service.mjs +4 -4
  188. package/esm2022/lib/place/url-snapshot.mjs +1 -1
  189. package/esm2022/lib/place/visit-segment.mjs +1 -1
  190. package/esm2022/lib/place/visit.mjs +1 -1
  191. package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
  192. package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
  193. package/esm2022/lib/services/visibility-service.mjs +7 -7
  194. package/fesm2022/coolon-angular-ui-powerups.mjs +2041 -1966
  195. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  196. package/lib/angular-ui-powerups.module.d.ts +5 -5
  197. package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -4
  198. package/lib/components/commands/command/command.component.d.ts +3 -4
  199. package/lib/components/commands/command-face/command-face.component.d.ts +2 -0
  200. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -3
  201. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
  202. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
  203. package/lib/components/components.module.d.ts +20 -20
  204. package/lib/components/disposable-component.d.ts +3 -8
  205. package/lib/components/empty-state/empty-state.component.d.ts +1 -4
  206. package/lib/components/exports.d.ts +3 -2
  207. package/lib/components/forms/abstract-input.component.d.ts +6 -4
  208. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
  209. package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
  210. package/lib/components/loadable-component.d.ts +14 -0
  211. package/lib/components/loading-container/loading-container.component.d.ts +1 -4
  212. package/lib/components/noop/noop.component.d.ts +0 -1
  213. package/lib/components/resize-aware.component.d.ts +25 -6
  214. package/lib/components/switch-case/switch-case.component.d.ts +4 -4
  215. package/lib/components/tables/abstract-table-model.d.ts +6 -4
  216. package/lib/components/tables/abstract-table.component.d.ts +2 -2
  217. package/lib/components/tables/column/column-manager.d.ts +19 -0
  218. package/lib/components/tables/column/column-model.d.ts +6 -2
  219. package/lib/components/tables/column/column-order-manager.d.ts +20 -0
  220. package/lib/components/tables/column/custom-template-column-model.d.ts +2 -1
  221. package/lib/components/tables/column/custom-value-column-model.d.ts +2 -1
  222. package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -1
  223. package/lib/components/tables/column/list-propery-column-model.d.ts +2 -1
  224. package/lib/components/tables/column/property-column-model.d.ts +2 -1
  225. package/lib/components/tables/column/selection-column-model.d.ts +2 -1
  226. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
  227. package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
  228. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  229. package/lib/components/tables/renderer/cell-portal-ref.d.ts +2 -3
  230. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
  231. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
  232. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -0
  233. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +9 -9
  234. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
  235. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +1 -1
  236. package/lib/components/tables/table/table.component.d.ts +2 -2
  237. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +1 -1
  238. package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
  239. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +0 -1
  240. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -1
  241. package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
  242. package/lib/components/text/markdown/markdown.component.d.ts +1 -1
  243. package/lib/directives/command.directive.d.ts +2 -2
  244. package/lib/directives/directives.module.d.ts +5 -5
  245. package/lib/interaction/activity-ref.d.ts +2 -2
  246. package/lib/interaction/components/activity-container/activity-container.component.d.ts +1 -1
  247. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +2 -3
  248. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  249. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
  250. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  251. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
  252. package/lib/interaction/interaction.module.d.ts +6 -6
  253. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -2
  254. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +1 -2
  255. package/lib/place/components/abstract-place-navigation.component.d.ts +1 -0
  256. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
  257. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +2 -1
  258. package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
  259. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
  260. package/lib/place/place-component.d.ts +1 -11
  261. package/lib/place/place-history.d.ts +0 -1
  262. package/lib/place/place-router.d.ts +2 -2
  263. package/lib/place/place.decorator.d.ts +1 -1
  264. package/lib/place/place.module.d.ts +6 -5
  265. package/lib/place/route/json-types.d.ts +1 -3
  266. package/lib/place/visit-segment.d.ts +4 -4
  267. package/lib/place/visit.d.ts +2 -2
  268. package/lib/services/markdown/markdown.service.d.ts +0 -1
  269. package/lib/services/visibility-service.d.ts +1 -1
  270. package/package.json +16 -19
  271. package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
  272. package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
  273. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
  274. package/lib/components/tables/column/column-list-model.d.ts +0 -13
@@ -7,18 +7,19 @@ import * as i5 from "./components/abstract-place-navigation.component";
7
7
  import * as i6 from "./components/not-authorised-notice/not-authorised-notice.component";
8
8
  import * as i7 from "@angular/common";
9
9
  import * as i8 from "@angular/platform-browser/animations";
10
- import * as i9 from "@angular/material/legacy-progress-spinner";
10
+ import * as i9 from "@angular/material/progress-spinner";
11
11
  import * as i10 from "@angular/router";
12
- import * as i11 from "@angular/material/legacy-tabs";
13
- import * as i12 from "@angular/material/legacy-list";
14
- import * as i13 from "@angular/material/legacy-tooltip";
12
+ import * as i11 from "@angular/material/tabs";
13
+ import * as i12 from "@angular/material/list";
14
+ import * as i13 from "@angular/material/tooltip";
15
15
  import * as i14 from "@angular/material/icon";
16
16
  import * as i15 from "../directives/directives.module";
17
17
  import * as i16 from "@angular/flex-layout";
18
18
  import * as i17 from "../components/components.module";
19
19
  import * as i18 from "@angular/cdk/portal";
20
+ import * as i19 from "@angular/material/card";
20
21
  export declare class PlaceModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PlaceModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatLegacyProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatLegacyTabsModule, typeof i12.MatLegacyListModule, typeof i13.MatLegacyTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.FlexModule, typeof i17.ComponentsModule, typeof i18.PortalModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatTabsModule, typeof i12.MatListModule, typeof i13.MatTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.FlexModule, typeof i17.ComponentsModule, typeof i18.PortalModule, typeof i19.MatCardModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<PlaceModule>;
24
25
  }
@@ -1,7 +1,5 @@
1
1
  export type JsonPrimitive = boolean | number | string;
2
- export type AnyJson = JsonPrimitive | null | JsonArray | JsonMap;
3
- export interface JsonArray extends Array<AnyJson> {
4
- }
2
+ export type AnyJson = JsonPrimitive | null | Array<AnyJson> | JsonMap;
5
3
  export interface JsonMap {
6
4
  [key: string]: AnyJson;
7
5
  }
@@ -4,7 +4,7 @@ export declare class VisitSegment {
4
4
  readonly placeDefinition: PlaceDefinition;
5
5
  readonly visitParameters: Record<string, any>;
6
6
  constructor(placeDefinition: PlaceDefinition, visitParameters?: Record<string, any>);
7
- getRouteId(): any;
7
+ getRouteId(): string | null;
8
8
  hasRouteId(): boolean;
9
9
  /**
10
10
  * Returns the value of the place parameter with the specified name. The parameter
@@ -13,9 +13,9 @@ export declare class VisitSegment {
13
13
  * @param parameter the visit parameter definition
14
14
  */
15
15
  getParameterValue<T, S>(parameter: ParameterDefinition<T, S> | string): T;
16
- hasParameter(parameterDef: ParameterDefinition<any>): boolean;
17
- replace<T>(parameter: ParameterDefinition<T, any>, value: T): VisitSegment;
18
- mergeRouteParameters<S>(routeParams: Record<string, any>): VisitSegment;
16
+ hasParameter(parameterDef: ParameterDefinition<unknown>): boolean;
17
+ replace<T>(parameter: ParameterDefinition<T, unknown>, value: T): VisitSegment;
18
+ mergeRouteParameters(routeParams: Record<string, unknown>): VisitSegment;
19
19
  hasRoutingChangedFrom(other: VisitSegment): boolean;
20
20
  hasChangedFrom(other: VisitSegment): boolean;
21
21
  createRouterCommands(): string[];
@@ -7,11 +7,11 @@ export declare class Visit {
7
7
  protected segmentsByPlaceComponent: Map<Constructable<PlaceComponent>, VisitSegment>;
8
8
  protected readonly destinationSegment: VisitSegment;
9
9
  protected readonly destinationPlaceDef: PlaceDefinition;
10
- static goto(placeComponent: Constructable<PlaceComponent>, visitParameters?: Record<string, any>): Visit;
10
+ static goto(placeComponent: Constructable<PlaceComponent>, visitParameters?: Record<string, unknown>): Visit;
11
11
  static fromSegments(segments: VisitSegment[]): Visit;
12
12
  protected constructor(segments: VisitSegment[]);
13
13
  protected get definedSegments(): Map<Constructable<PlaceComponent>, VisitSegment>;
14
- withAncestorParameters(placeComponent: Constructable<PlaceComponent>, parameters: Record<string, any>): this;
14
+ withAncestorParameters(placeComponent: Constructable<PlaceComponent>, parameters: Record<string, unknown>): this;
15
15
  get segments(): VisitSegment[];
16
16
  private resolveSegments;
17
17
  copyWithDefaultsFrom(other: Visit | undefined): Visit;
@@ -1,6 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class MarkdownService {
3
- constructor();
4
3
  render(content: string): string;
5
4
  renderInline(content: string): string;
6
5
  usePillExtension(renderer?: (content: string) => string): void;
@@ -5,7 +5,7 @@ export declare class VisibilityService extends GarbageCollector {
5
5
  private readonly attributeName;
6
6
  private readonly eventName;
7
7
  private _visible$;
8
- constructor(document: any);
8
+ constructor(document: Document);
9
9
  protected updateVisibilityState(): void;
10
10
  /**
11
11
  * @deprecated use visible$ instead.
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.4",
4
- "schematics": "./schematics/collection.json",
3
+ "version": "16.1.0-aplpha.41",
5
4
  "peerDependencies": {
6
- "@angular/animations": "^16.2.1",
7
- "@angular/common": "^16.2.1",
8
- "@angular/core": "^16.2.1",
9
- "@angular/cdk": "^16.2.1",
10
- "@angular/forms": "^16.2.1",
11
- "@angular/material": "^16.2.1",
12
- "@angular/platform-browser": "^16.2.1",
13
- "@angular/platform-browser-dynamic": "^16.2.1",
14
- "@angular/router": "^16.2.1",
15
- "@coolon/pectin": "^5.0.0-alpha.0",
5
+ "@angular/animations": "^16.2.9",
6
+ "@angular/common": "^16.2.9",
7
+ "@angular/core": "^16.2.9",
8
+ "@angular/cdk": "^16.2.10",
9
+ "@angular/forms": "^16.2.9",
10
+ "@angular/material": "^16.2.10",
11
+ "@angular/platform-browser": "^16.2.9",
12
+ "@angular/platform-browser-dynamic": "^16.2.9",
13
+ "@angular/material-moment-adapter": "^16.2.10",
14
+ "@angular/router": "^16.2.9",
15
+ "@coolon/pectin": "^5.0.0-alpha.12",
16
16
  "@typescript-plus/fast-memoize-decorator": "^0.2.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",
@@ -20,13 +20,10 @@
20
20
  "resize-observer-polyfill": "^1.5.1",
21
21
  "typescript-string-enums": "^1.0.0",
22
22
  "json5": "^2.1.0",
23
- "immer": ">=7.0.15",
23
+ "immer": ">=10.0.3",
24
24
  "escape-string-regexp": "^5.0.0",
25
- "@coolon/typescript-utilities": "^5.0.0-alpha.3",
26
- "ts-morph": "9.1.0",
27
- "@angular/flex-layout": "15.0.0-beta.42",
28
- "@teppeis/multimaps": "2.0.0",
29
- "zone.js": "0.13.1"
25
+ "@coolon/typescript-utilities": "^5.0.0-alpha.4",
26
+ "fractional-indexing": "^3.2.0"
30
27
  },
31
28
  "optionalDependencies": {
32
29
  "@fortawesome/fontawesome-free": "^6.0.0"
@@ -48,4 +45,4 @@
48
45
  }
49
46
  },
50
47
  "sideEffects": false
51
- }
48
+ }
@@ -1,81 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { AbstractCardContainerComponent } from '../abstract-card-container.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../../../directives/command.directive";
6
- import * as i3 from "../../icon/icon.component";
7
- import * as i4 from "../../commands/command-face/command-face.component";
8
- /**
9
- * @deprecated deprecated, use `aup-card-container [columnCount]="1"` instead.
10
- * @example
11
- * // basic usage
12
- * <aup-card-stack>
13
- * <my-card *ngFor="..."></my-card>
14
- * </aup-card-stack>
15
- *
16
- * // adds an add button with a the '+' icon to the end of the card list.
17
- * <aup-card-stack [addCardCommand]="addCard">
18
- * <my-card *ngFor="..."></my-card>
19
- * </aup-card-stack>
20
- *
21
- * // adds an add button with the specified face
22
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
23
- * <my-card *ngFor="..."></my-card>
24
- * </aup-card-stack>
25
- *
26
- * // use the aup-add-card-activity to display as the new card place holder and to run
27
- * // the activity inside teh card
28
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
29
- * <my-card *ngFor="..."></my-card>
30
- * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
31
- * </aup-card-stack>
32
- *
33
- * // adds an add card component using the specified template. The template
34
- * // will fill it's container in the grid.
35
- * <aup-card-stack>
36
- * <my-card *ngFor="..."></my-card>
37
- * <ng-template #addCardTemplate>
38
- * <div>This is a new card template, it will the the size of the other cards.</div>
39
- * </ng-template>
40
- * </aup-card-stack>
41
- *
42
- * // sing the default new card styles for your template
43
- * @import "../../../../assets/styles";
44
- * .my-new-card {
45
- * @include aup-card-stack-new-card-style();
46
- * // OR
47
- * @include aup-card-stack-new-card-style(
48
- * $color: rgba(0,0,0,0.54),
49
- * $background-color: rgba(255,255,255,0.8),
50
- * $hover-color: $color,
51
- * $background-hover-color: white
52
- * )
53
- * }
54
- * <aup-card-stack>
55
- * <my-card *ngFor="..."></my-card>
56
- * <ng-template #addCardTemplate>
57
- * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
58
- * </ng-template>
59
- * </aup-card-stack>
60
- *
61
- * // CSS Vars
62
- * aup-card-stack {
63
- * --card-gap: var(--card-gap, 16px);
64
- * --card-height: var(--card-height, auto);
65
- * --card-min-height: var(--card-min-height, auto);
66
- * --card-background: var(--card-background, #fcfcfb);
67
- * }
68
- */
69
- export class CardStackComponent extends AbstractCardContainerComponent {
70
- constructor() {
71
- super();
72
- console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
73
- }
74
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: CardStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
75
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: CardStackComponent, selector: "aup-card-stack", usesInheritance: true, ngImport: i0, template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled$.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i3.IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: i4.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
76
- }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: CardStackComponent, decorators: [{
78
- type: Component,
79
- args: [{ selector: 'aup-card-stack', template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled$.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n", styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"] }]
80
- }], ctorParameters: function () { return []; } });
81
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1zdGFjay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3J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
@@ -1,44 +0,0 @@
1
- import { AbstractComputedListModel, Dsl, lang, MutableListModel } from '@coolon/pectin';
2
- import { isNil } from 'lodash';
3
- export class ColumnListModel extends AbstractComputedListModel {
4
- _allColumns$ = new MutableListModel();
5
- columnsById$;
6
- constructor() {
7
- super();
8
- const { chain } = Dsl.disposeWith(this);
9
- this.columnsById$ = chain(this._allColumns$).indexBy('columnId');
10
- }
11
- get allColumns$() {
12
- return this._allColumns$.readonly$;
13
- }
14
- getColumn(id) {
15
- return this.columnsById$.get(id);
16
- }
17
- hasColumn(id) {
18
- return !!this.columnsById$.get(id);
19
- }
20
- hasMatchingColumn(row, regex) {
21
- // only search the visible columns
22
- return !!this.value.find(c => regex.test(c.getSearchTextFor(row)));
23
- }
24
- addColumn(column, index) {
25
- if (this.hasColumn(column.columnId)) {
26
- lang.illegalState(`Column with id=${column.columnId} already exists`);
27
- }
28
- this.registerDisposable(column);
29
- this.runInTransaction(() => {
30
- if (!isNil(index)) {
31
- this._allColumns$.insert(index, column);
32
- }
33
- else {
34
- this._allColumns$.push(column);
35
- }
36
- this.registerDisposable(this.trackSource(column.visible$));
37
- });
38
- return column;
39
- }
40
- doComputeValue() {
41
- return this._allColumns$.value.filter(c => c.visible$.value);
42
- }
43
- }
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWxpc3QtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3RhYmxlcy9jb2x1bW4vY29sdW1uLWxpc3QtbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLEdBQUcsRUFBRSxJQUFJLEVBQTRCLGdCQUFnQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Q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ByZWdleDogUmVnRXhwKTogYm9vbGVhbiB7XG4gICAgLy8gb25seSBzZWFyY2ggdGhlIHZpc2libGUgY29sdW1uc1xuICAgIHJldHVybiAhIXRoaXMudmFsdWUuZmluZChjID0+IHJlZ2V4LnRlc3QoYy5nZXRTZWFyY2hUZXh0Rm9yKHJvdykpKTtcbiAgfVxuXG4gIGFkZENvbHVtbjxDIGV4dGVuZHMgQ29sdW1uTW9kZWw8Um93Pj4oY29sdW1uOiBDLCBpbmRleD86IG51bWJlcik6IEMge1xuICAgIGlmICh0aGlzLmhhc0NvbHVtbihjb2x1bW4uY29sdW1uSWQpKSB7XG4gICAgICBsYW5nLmlsbGVnYWxTdGF0ZShgQ29sdW1uIHdpdGggaWQ9JHtjb2x1bW4uY29sdW1uSWR9IGFscmVhZHkgZXhpc3RzYCk7XG4gICAgfVxuICAgIHRoaXMucmVnaXN0ZXJEaXNwb3NhYmxlKGNvbHVtbik7XG4gICAgdGhpcy5ydW5JblRyYW5zYWN0aW9uKCgpID0+IHtcbiAgICAgIGlmICghaXNOaWwoaW5kZXgpKSB7XG4gICAgICAgIHRoaXMuX2FsbENvbHVtbnMkLmluc2VydChpbmRleCwgY29sdW1uKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuX2FsbENvbHVtbnMkLnB1c2goY29sdW1uKTtcbiAgICAgIH1cbiAgICAgIHRoaXMucmVnaXN0ZXJEaXNwb3NhYmxlKHRoaXMudHJhY2tTb3VyY2UoY29sdW1uLnZpc2libGUkKSk7XG4gICAgfSk7XG4gICAgcmV0dXJuIGNvbHVtbjtcbiAgfVxuXG4gIGRvQ29tcHV0ZVZhbHVlKCk6IENvbHVtbk1vZGVsPFJvdz5bXSB7XG4gICAgcmV0dXJuIHRoaXMuX2FsbENvbHVtbnMkLnZhbHVlLmZpbHRlcihjID0+IGMudmlzaWJsZSQudmFsdWUpO1xuICB9XG59XG4iXX0=
@@ -1,68 +0,0 @@
1
- import { AbstractCardContainerComponent } from '../abstract-card-container.component';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated deprecated, use `aup-card-container [columnCount]="1"` instead.
5
- * @example
6
- * // basic usage
7
- * <aup-card-stack>
8
- * <my-card *ngFor="..."></my-card>
9
- * </aup-card-stack>
10
- *
11
- * // adds an add button with a the '+' icon to the end of the card list.
12
- * <aup-card-stack [addCardCommand]="addCard">
13
- * <my-card *ngFor="..."></my-card>
14
- * </aup-card-stack>
15
- *
16
- * // adds an add button with the specified face
17
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
18
- * <my-card *ngFor="..."></my-card>
19
- * </aup-card-stack>
20
- *
21
- * // use the aup-add-card-activity to display as the new card place holder and to run
22
- * // the activity inside teh card
23
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
24
- * <my-card *ngFor="..."></my-card>
25
- * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
26
- * </aup-card-stack>
27
- *
28
- * // adds an add card component using the specified template. The template
29
- * // will fill it's container in the grid.
30
- * <aup-card-stack>
31
- * <my-card *ngFor="..."></my-card>
32
- * <ng-template #addCardTemplate>
33
- * <div>This is a new card template, it will the the size of the other cards.</div>
34
- * </ng-template>
35
- * </aup-card-stack>
36
- *
37
- * // sing the default new card styles for your template
38
- * @import "../../../../assets/styles";
39
- * .my-new-card {
40
- * @include aup-card-stack-new-card-style();
41
- * // OR
42
- * @include aup-card-stack-new-card-style(
43
- * $color: rgba(0,0,0,0.54),
44
- * $background-color: rgba(255,255,255,0.8),
45
- * $hover-color: $color,
46
- * $background-hover-color: white
47
- * )
48
- * }
49
- * <aup-card-stack>
50
- * <my-card *ngFor="..."></my-card>
51
- * <ng-template #addCardTemplate>
52
- * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
53
- * </ng-template>
54
- * </aup-card-stack>
55
- *
56
- * // CSS Vars
57
- * aup-card-stack {
58
- * --card-gap: var(--card-gap, 16px);
59
- * --card-height: var(--card-height, auto);
60
- * --card-min-height: var(--card-min-height, auto);
61
- * --card-background: var(--card-background, #fcfcfb);
62
- * }
63
- */
64
- export declare class CardStackComponent extends AbstractCardContainerComponent {
65
- constructor();
66
- static ɵfac: i0.ɵɵFactoryDeclaration<CardStackComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<CardStackComponent, "aup-card-stack", never, {}, {}, never, ["*", "[aup-card-stack-footer]"], false, never>;
68
- }
@@ -1,13 +0,0 @@
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
- }