@coolon/angular-ui-powerups 16.0.1 → 16.1.0-alpha.190

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 (537) hide show
  1. package/assets/activities/activities.scss +8 -6
  2. package/assets/activities/input-activities.scss +14 -6
  3. package/assets/draw.scss +20 -0
  4. package/assets/form.scss +77 -23
  5. package/assets/icons.scss +2 -1
  6. package/assets/interaction/editor/inline-string-editor.scss +4 -0
  7. package/assets/interaction.scss +1 -1
  8. package/assets/layout.scss +3 -0
  9. package/assets/place.scss +31 -0
  10. package/assets/styles.scss +4 -0
  11. package/assets/table.scss +60 -18
  12. package/assets/tabs.scss +15 -2
  13. package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
  14. package/esm2022/lib/animations/slide-animations.mjs +15 -10
  15. package/esm2022/lib/components/alignment.mjs +1 -1
  16. package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +19 -20
  17. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +36 -13
  18. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +7 -10
  19. package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +115 -0
  20. package/esm2022/lib/components/commands/command/command.component.mjs +66 -56
  21. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +21 -13
  22. package/esm2022/lib/components/commands/command-face.mjs +12 -11
  23. package/esm2022/lib/components/commands/flex.component.mjs +4 -6
  24. package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
  25. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +31 -8
  26. package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
  27. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +37 -31
  28. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +20 -27
  29. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +19 -14
  30. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +24 -29
  31. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +12 -19
  32. package/esm2022/lib/components/commands/separator.component.mjs +8 -16
  33. package/esm2022/lib/components/components.module.mjs +83 -53
  34. package/esm2022/lib/components/disposable-component.mjs +54 -7
  35. package/esm2022/lib/components/empty-state/empty-state.component.mjs +7 -11
  36. package/esm2022/lib/components/exports.mjs +16 -5
  37. package/esm2022/lib/components/file/file-download/file-download.component.mjs +89 -0
  38. package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -6
  39. package/esm2022/lib/components/focusable.component.mjs +5 -5
  40. package/esm2022/lib/components/forms/abstract-input.component.mjs +70 -24
  41. package/esm2022/lib/components/forms/abstract-list-input.component.mjs +11 -19
  42. package/esm2022/lib/components/forms/abstract-value-input.component.mjs +11 -19
  43. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +29 -37
  44. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +10 -10
  45. package/esm2022/lib/components/forms/form-field.mjs +2 -0
  46. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +22 -28
  47. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +89 -14
  48. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +43 -8
  49. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
  50. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +44 -45
  51. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +46 -25
  52. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +12 -10
  53. package/esm2022/lib/components/icon/icon.component.mjs +10 -7
  54. package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -6
  55. package/esm2022/lib/components/loadable-component.mjs +69 -0
  56. package/esm2022/lib/components/loading-container/loading-container.component.mjs +32 -29
  57. package/esm2022/lib/components/noop/noop.component.mjs +5 -7
  58. package/esm2022/lib/components/resize-aware.component.mjs +64 -27
  59. package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +17 -15
  60. package/esm2022/lib/components/section-header/section-header.component.mjs +4 -6
  61. package/esm2022/lib/components/switch-case/switch-case.component.mjs +28 -28
  62. package/esm2022/lib/components/tables/abstract-table-model.mjs +123 -64
  63. package/esm2022/lib/components/tables/abstract-table.component.mjs +34 -15
  64. package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
  65. package/esm2022/lib/components/tables/column/column-model.mjs +23 -12
  66. package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
  67. package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
  68. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  69. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
  70. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
  71. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +7 -6
  72. package/esm2022/lib/components/tables/column/property-column-model.mjs +6 -6
  73. package/esm2022/lib/components/tables/column/selection-column-model.mjs +35 -13
  74. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +13 -13
  75. package/esm2022/lib/components/tables/editor/edit-session.mjs +5 -3
  76. package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
  77. package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
  78. package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +3 -2
  79. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +16 -11
  80. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
  81. package/esm2022/lib/components/tables/footer/footer-row-model.mjs +38 -0
  82. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +12 -12
  83. package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +7 -0
  84. package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
  85. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +23 -7
  86. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +6 -8
  87. package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
  88. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +26 -14
  89. package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
  90. package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +2 -0
  91. package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +153 -0
  92. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +180 -63
  93. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +12 -12
  94. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +45 -0
  95. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +71 -0
  96. package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +30 -0
  97. package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
  98. package/esm2022/lib/components/tables/table/table-model.mjs +12 -3
  99. package/esm2022/lib/components/tables/table/table.component.mjs +54 -68
  100. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +5 -4
  101. package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
  102. package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +5 -5
  103. package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +5 -7
  104. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +16 -13
  105. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -7
  106. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +27 -16
  107. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +5 -8
  108. package/esm2022/lib/components/text/markdown/markdown.component.mjs +25 -22
  109. package/esm2022/lib/components/track.mjs +24 -0
  110. package/esm2022/lib/components/types/bounds.class.mjs +1 -5
  111. package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +17 -17
  112. package/esm2022/lib/directives/command.directive.mjs +25 -14
  113. package/esm2022/lib/directives/directives.module.mjs +10 -10
  114. package/esm2022/lib/directives/exports.mjs +2 -1
  115. package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
  116. package/esm2022/lib/directives/focus-binding.directive.mjs +6 -8
  117. package/esm2022/lib/directives/focus-binding.mjs +4 -5
  118. package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
  119. package/esm2022/lib/directives/highlight-text-model.directive.mjs +11 -9
  120. package/esm2022/lib/directives/highlight.pipe.mjs +12 -11
  121. package/esm2022/lib/directives/resize-observer.directive.mjs +40 -0
  122. package/esm2022/lib/interaction/abstract-interaction-context.mjs +6 -7
  123. package/esm2022/lib/interaction/activity-context.mjs +4 -0
  124. package/esm2022/lib/interaction/activity-ref.mjs +4 -4
  125. package/esm2022/lib/interaction/activity.mjs +39 -35
  126. package/esm2022/lib/interaction/alert.mjs +2 -2
  127. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +13 -10
  128. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +4 -45
  129. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +42 -28
  130. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +10 -6
  131. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +53 -22
  132. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +55 -19
  133. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -8
  134. package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +41 -31
  135. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +5 -5
  136. package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +5 -5
  137. package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +5 -5
  138. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +6 -8
  139. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +11 -11
  140. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
  141. package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +55 -0
  142. package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +54 -0
  143. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +6 -10
  144. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +6 -10
  145. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +9 -11
  146. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  147. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +5 -5
  148. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +55 -48
  149. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +32 -25
  150. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +21 -16
  151. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +49 -33
  152. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +30 -28
  153. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +18 -15
  154. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +134 -0
  155. package/esm2022/lib/interaction/confirm.mjs +26 -2
  156. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
  157. package/esm2022/lib/interaction/exports.mjs +6 -1
  158. package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
  159. package/esm2022/lib/interaction/interaction-context-provider.mjs +17 -0
  160. package/esm2022/lib/interaction/interaction-context.mjs +3 -2
  161. package/esm2022/lib/interaction/interaction.module.mjs +44 -29
  162. package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
  163. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
  164. package/esm2022/lib/interaction/services/interaction.service.mjs +23 -11
  165. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +9 -10
  166. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +23 -5
  167. package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
  168. package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +39 -31
  169. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +7 -7
  170. package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
  171. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +49 -44
  172. package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
  173. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +25 -16
  174. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
  175. package/esm2022/lib/place/exports.mjs +2 -1
  176. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  177. package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
  178. package/esm2022/lib/place/guards/place.guard.mjs +19 -16
  179. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  180. package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
  181. package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
  182. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
  183. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
  184. package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
  185. package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
  186. package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
  187. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
  188. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +3 -6
  189. package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
  190. package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
  191. package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
  192. package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
  193. package/esm2022/lib/place/place-access-guard.mjs +1 -1
  194. package/esm2022/lib/place/place-auth-service.mjs +152 -0
  195. package/esm2022/lib/place/place-component.mjs +62 -48
  196. package/esm2022/lib/place/place-config.mjs +1 -1
  197. package/esm2022/lib/place/place-definition.mjs +15 -4
  198. package/esm2022/lib/place/place-history.mjs +6 -8
  199. package/esm2022/lib/place/place-router.mjs +87 -94
  200. package/esm2022/lib/place/place.decorator.mjs +2 -2
  201. package/esm2022/lib/place/place.module.mjs +16 -12
  202. package/esm2022/lib/place/route/formatter.mjs +2 -2
  203. package/esm2022/lib/place/route/json-types.mjs +1 -1
  204. package/esm2022/lib/place/route/parameter-decorators.mjs +54 -50
  205. package/esm2022/lib/place/route/parameter-definition.mjs +6 -2
  206. package/esm2022/lib/place/route/parameter-sanitiser.mjs +7 -2
  207. package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
  208. package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
  209. package/esm2022/lib/place/url-service.mjs +4 -4
  210. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  211. package/esm2022/lib/place/visit-segment.mjs +2 -2
  212. package/esm2022/lib/place/visit.mjs +2 -2
  213. package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
  214. package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
  215. package/esm2022/lib/services/visibility-service.mjs +9 -9
  216. package/fesm2022/coolon-angular-ui-powerups.mjs +4720 -3041
  217. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  218. package/lib/angular-ui-powerups.module.d.ts +5 -5
  219. package/lib/animations/slide-animations.d.ts +1 -0
  220. package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -7
  221. package/lib/components/cards/abstract-card-container.component.d.ts +9 -7
  222. package/lib/components/cards/card-container/card-container.component.d.ts +3 -4
  223. package/lib/components/commands/button-renderer/button-renderer.component.d.ts +30 -0
  224. package/lib/components/commands/command/command.component.d.ts +15 -17
  225. package/lib/components/commands/command-face/command-face.component.d.ts +5 -5
  226. package/lib/components/commands/command-face.d.ts +8 -9
  227. package/lib/components/commands/flex.component.d.ts +1 -3
  228. package/lib/components/commands/group/popup-aware.component.d.ts +9 -4
  229. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +7 -7
  230. package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -6
  231. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +7 -5
  232. package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +5 -7
  233. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
  234. package/lib/components/commands/separator.component.d.ts +3 -6
  235. package/lib/components/components.module.d.ts +57 -51
  236. package/lib/components/disposable-component.d.ts +21 -3
  237. package/lib/components/empty-state/empty-state.component.d.ts +1 -4
  238. package/lib/components/exports.d.ts +15 -4
  239. package/lib/components/file/file-download/file-download.component.d.ts +45 -0
  240. package/lib/components/focus-container/focus-container.component.d.ts +1 -3
  241. package/lib/components/forms/abstract-input.component.d.ts +21 -13
  242. package/lib/components/forms/abstract-list-input.component.d.ts +4 -8
  243. package/lib/components/forms/abstract-value-input.component.d.ts +3 -7
  244. package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +8 -14
  245. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +3 -3
  246. package/lib/components/forms/form-field.d.ts +5 -0
  247. package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +3 -8
  248. package/lib/components/forms/number-input/number-input.component.d.ts +17 -7
  249. package/lib/components/forms/password-input/password-input.component.d.ts +8 -4
  250. package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
  251. package/lib/components/forms/select-input/select-input.component.d.ts +7 -10
  252. package/lib/components/forms/string-input/string-input.component.d.ts +10 -6
  253. package/lib/components/forms/text-input/text-input.component.d.ts +4 -3
  254. package/lib/components/labelled-value/labelled-value.component.d.ts +1 -3
  255. package/lib/components/loadable-component.d.ts +20 -0
  256. package/lib/components/loading-container/loading-container.component.d.ts +6 -9
  257. package/lib/components/noop/noop.component.d.ts +0 -1
  258. package/lib/components/resize-aware.component.d.ts +25 -6
  259. package/lib/components/scroll-container/scroll-container.component.d.ts +2 -3
  260. package/lib/components/section-header/section-header.component.d.ts +1 -3
  261. package/lib/components/switch-case/switch-case.component.d.ts +10 -12
  262. package/lib/components/tables/abstract-table-model.d.ts +50 -23
  263. package/lib/components/tables/abstract-table.component.d.ts +8 -7
  264. package/lib/components/tables/column/column-manager.d.ts +19 -0
  265. package/lib/components/tables/column/column-model.d.ts +8 -4
  266. package/lib/components/tables/column/column-order-manager.d.ts +20 -0
  267. package/lib/components/tables/column/custom-template-column-model.d.ts +3 -2
  268. package/lib/components/tables/column/custom-value-column-model.d.ts +3 -2
  269. package/lib/components/tables/column/editor-controls-column-model.d.ts +3 -2
  270. package/lib/components/tables/column/list-propery-column-model.d.ts +3 -2
  271. package/lib/components/tables/column/property-column-model.d.ts +3 -2
  272. package/lib/components/tables/column/selection-column-model.d.ts +10 -4
  273. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +4 -6
  274. package/lib/components/tables/editor/edit-session.d.ts +1 -1
  275. package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
  276. package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
  277. package/lib/components/tables/filter/text-search-predicate.d.ts +9 -0
  278. package/lib/components/tables/footer/footer-row-model.d.ts +22 -0
  279. package/lib/components/tables/paginator/paginator.component.d.ts +2 -4
  280. package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +6 -0
  281. package/lib/components/tables/renderer/cell-editors.d.ts +5 -5
  282. package/lib/components/tables/renderer/cell-portal-ref.d.ts +21 -14
  283. package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
  284. package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
  285. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +3 -2
  286. package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +7 -0
  287. package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +42 -0
  288. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +47 -24
  289. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -5
  290. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +19 -0
  291. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +24 -0
  292. package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +11 -0
  293. package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
  294. package/lib/components/tables/table/table-model.d.ts +4 -4
  295. package/lib/components/tables/table/table.component.d.ts +18 -14
  296. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -1
  297. package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
  298. package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +0 -1
  299. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -3
  300. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -3
  301. package/lib/components/tables/tree-table/tree-table-component.d.ts +7 -4
  302. package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
  303. package/lib/components/text/markdown/markdown.component.d.ts +3 -4
  304. package/lib/components/{track-by.d.ts → track.d.ts} +4 -7
  305. package/lib/components/types/bounds.class.d.ts +0 -2
  306. package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +3 -6
  307. package/lib/directives/command.directive.d.ts +7 -5
  308. package/lib/directives/directives.module.d.ts +5 -5
  309. package/lib/directives/exports.d.ts +1 -0
  310. package/lib/directives/focus-binding.directive.d.ts +2 -3
  311. package/lib/directives/highlight-text-model.directive.d.ts +1 -1
  312. package/lib/directives/resize-observer.directive.d.ts +16 -0
  313. package/lib/interaction/abstract-interaction-context.d.ts +1 -1
  314. package/lib/interaction/activity-context.d.ts +9 -0
  315. package/lib/interaction/activity-ref.d.ts +2 -2
  316. package/lib/interaction/activity.d.ts +9 -9
  317. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +2 -1
  318. package/lib/interaction/components/abstract-dialog.component.d.ts +5 -14
  319. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +15 -13
  320. package/lib/interaction/components/activity-body/activity-body.component.d.ts +3 -4
  321. package/lib/interaction/components/activity-container/activity-container.component.d.ts +11 -5
  322. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +4 -5
  323. package/lib/interaction/components/activity-title/activity-title.component.d.ts +2 -4
  324. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +7 -8
  325. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -3
  326. package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +2 -4
  327. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +6 -1
  328. package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +17 -0
  329. package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +15 -0
  330. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
  331. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  332. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +7 -9
  333. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +9 -7
  334. package/lib/interaction/components/input-activities/input-activity.d.ts +5 -3
  335. package/lib/interaction/components/input-activities/select-input-activity.d.ts +4 -2
  336. package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
  337. package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +4 -5
  338. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
  339. package/lib/interaction/confirm.d.ts +4 -0
  340. package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
  341. package/lib/interaction/exports.d.ts +5 -0
  342. package/lib/interaction/interaction-context-provider.d.ts +11 -0
  343. package/lib/interaction/interaction-context.d.ts +7 -1
  344. package/lib/interaction/interaction.module.d.ts +35 -32
  345. package/lib/interaction/services/interaction-service-routing-adapter.d.ts +3 -3
  346. package/lib/interaction/services/interaction.service.d.ts +2 -1
  347. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -3
  348. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +4 -3
  349. package/lib/place/components/abstract-place-navigation.component.d.ts +8 -8
  350. package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
  351. package/lib/place/components/place-outlet/place-outlet.component.d.ts +9 -11
  352. package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +4 -3
  353. package/lib/place/exports.d.ts +1 -0
  354. package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
  355. package/lib/place/guards/place.guard.d.ts +2 -2
  356. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
  357. package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +2 -2
  358. package/lib/place/place-access-guard.d.ts +2 -2
  359. package/lib/place/place-auth-service.d.ts +49 -0
  360. package/lib/place/place-component.d.ts +11 -12
  361. package/lib/place/place-definition.d.ts +2 -0
  362. package/lib/place/place-history.d.ts +0 -1
  363. package/lib/place/place-router.d.ts +11 -13
  364. package/lib/place/place.decorator.d.ts +1 -1
  365. package/lib/place/place.module.d.ts +6 -5
  366. package/lib/place/route/json-types.d.ts +1 -3
  367. package/lib/place/route/parameter-decorators.d.ts +3 -4
  368. package/lib/place/route/parameter-definition.d.ts +3 -3
  369. package/lib/place/route/parameter-sanitiser.d.ts +7 -0
  370. package/lib/place/url-snapshot.d.ts +3 -3
  371. package/lib/place/visit-segment.d.ts +4 -4
  372. package/lib/place/visit.d.ts +2 -2
  373. package/lib/services/markdown/markdown.service.d.ts +0 -1
  374. package/lib/services/visibility-service.d.ts +1 -1
  375. package/package.json +20 -18
  376. package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
  377. package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
  378. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +0 -84
  379. package/esm2022/lib/components/track-by.mjs +0 -24
  380. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
  381. package/lib/components/tables/column/column-list-model.d.ts +0 -13
  382. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +0 -28
  383. package/schematics/activity/index.d.ts +0 -3
  384. package/schematics/activity/index.js +0 -32
  385. package/schematics/activity/index.js.map +0 -1
  386. package/schematics/activity/index.spec.d.ts +0 -1
  387. package/schematics/activity/index.spec.js +0 -364
  388. package/schematics/activity/index.spec.js.map +0 -1
  389. package/schematics/activity/schema.d.ts +0 -4
  390. package/schematics/activity/schema.js +0 -3
  391. package/schematics/activity/schema.js.map +0 -1
  392. package/schematics/activity/schema.json +0 -27
  393. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +0 -5
  394. package/schematics/activity/templates/component/__name@dasherize__.component.scss.template +0 -4
  395. package/schematics/activity/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
  396. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +0 -40
  397. package/schematics/activity/templates/component/__name@dasherize__.i18n.yml.template +0 -9
  398. package/schematics/aup-i18n/index.d.ts +0 -4
  399. package/schematics/aup-i18n/index.js +0 -86
  400. package/schematics/aup-i18n/index.js.map +0 -1
  401. package/schematics/aup-i18n/schema.d.ts +0 -3
  402. package/schematics/aup-i18n/schema.js +0 -3
  403. package/schematics/aup-i18n/schema.js.map +0 -1
  404. package/schematics/aup-i18n/schema.json +0 -18
  405. package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
  406. package/schematics/bootstrap-app/index.d.ts +0 -4
  407. package/schematics/bootstrap-app/index.js +0 -109
  408. package/schematics/bootstrap-app/index.js.map +0 -1
  409. package/schematics/bootstrap-app/schema.d.ts +0 -3
  410. package/schematics/bootstrap-app/schema.js +0 -3
  411. package/schematics/bootstrap-app/schema.js.map +0 -1
  412. package/schematics/bootstrap-app/schema.json +0 -18
  413. package/schematics/bootstrap-app/templates/i18n.config.json.template +0 -11
  414. package/schematics/bootstrap-app/templates/src/app/app-routing.module.ts.template +0 -23
  415. package/schematics/bootstrap-app/templates/src/app/app.component.html.template +0 -7
  416. package/schematics/bootstrap-app/templates/src/app/app.component.scss.template +0 -12
  417. package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +0 -19
  418. package/schematics/bootstrap-app/templates/src/app/app.module.ts.template +0 -74
  419. package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +0 -16
  420. package/schematics/bootstrap-app/templates/src/app/i18n.ts.template +0 -9
  421. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
  422. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -1
  423. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -2373
  424. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
  425. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
  426. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
  427. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/README.md +0 -9
  428. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/codepoints +0 -932
  429. package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/material-icons.css +0 -36
  430. package/schematics/bootstrap-app/templates/src/index.html.template +0 -13
  431. package/schematics/bootstrap-app/templates/src/styles/global-variables.scss.template +0 -13
  432. package/schematics/bootstrap-app/templates/src/styles.scss.template +0 -85
  433. package/schematics/collection.json +0 -48
  434. package/schematics/component/index.d.ts +0 -3
  435. package/schematics/component/index.js +0 -36
  436. package/schematics/component/index.js.map +0 -1
  437. package/schematics/component/index.spec.d.ts +0 -1
  438. package/schematics/component/index.spec.js +0 -364
  439. package/schematics/component/index.spec.js.map +0 -1
  440. package/schematics/component/schema.d.ts +0 -5
  441. package/schematics/component/schema.js +0 -3
  442. package/schematics/component/schema.js.map +0 -1
  443. package/schematics/component/schema.json +0 -39
  444. package/schematics/component/templates/component/__name@dasherize__.component.html.template +0 -1
  445. package/schematics/component/templates/component/__name@dasherize__.component.scss.template +0 -4
  446. package/schematics/component/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
  447. package/schematics/component/templates/component/__name@dasherize__.component.ts.template +0 -24
  448. package/schematics/component/templates/component/__name@dasherize__.i18n.yml.template +0 -1
  449. package/schematics/ng-add/index.d.ts +0 -3
  450. package/schematics/ng-add/index.js +0 -37
  451. package/schematics/ng-add/index.js.map +0 -1
  452. package/schematics/package-util.d.ts +0 -13
  453. package/schematics/package-util.js +0 -61
  454. package/schematics/package-util.js.map +0 -1
  455. package/schematics/place-add/index.d.ts +0 -3
  456. package/schematics/place-add/index.js +0 -45
  457. package/schematics/place-add/index.js.map +0 -1
  458. package/schematics/place-add/index.spec.d.ts +0 -1
  459. package/schematics/place-add/index.spec.js +0 -364
  460. package/schematics/place-add/index.spec.js.map +0 -1
  461. package/schematics/place-add/schema.d.ts +0 -5
  462. package/schematics/place-add/schema.js +0 -3
  463. package/schematics/place-add/schema.js.map +0 -1
  464. package/schematics/place-add/schema.json +0 -33
  465. package/schematics/place-add/templates/component/__name@dasherize__.component.html.template +0 -1
  466. package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -4
  467. package/schematics/place-add/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
  468. package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +0 -35
  469. package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
  470. package/schematics/place-bootstrap/index.d.ts +0 -3
  471. package/schematics/place-bootstrap/index.js +0 -21
  472. package/schematics/place-bootstrap/index.js.map +0 -1
  473. package/schematics/place-bootstrap/schema.d.ts +0 -4
  474. package/schematics/place-bootstrap/schema.js +0 -3
  475. package/schematics/place-bootstrap/schema.js.map +0 -1
  476. package/schematics/place-bootstrap/schema.json +0 -28
  477. package/schematics/place-bootstrap/templates/__name@dasherize__/place-routes.ts.template +0 -3
  478. package/schematics/place-bootstrap/templates/__name@dasherize__/places.module.ts.template +0 -16
  479. package/schematics/place-routes/index.d.ts +0 -3
  480. package/schematics/place-routes/index.js +0 -24
  481. package/schematics/place-routes/index.js.map +0 -1
  482. package/schematics/place-routes/place-builder.d.ts +0 -18
  483. package/schematics/place-routes/place-builder.js +0 -123
  484. package/schematics/place-routes/place-builder.js.map +0 -1
  485. package/schematics/place-routes/place-class-scanner.d.ts +0 -47
  486. package/schematics/place-routes/place-class-scanner.js +0 -223
  487. package/schematics/place-routes/place-class-scanner.js.map +0 -1
  488. package/schematics/place-routes/place-def.d.ts +0 -62
  489. package/schematics/place-routes/place-def.js +0 -195
  490. package/schematics/place-routes/place-def.js.map +0 -1
  491. package/schematics/place-routes/schema.d.ts +0 -4
  492. package/schematics/place-routes/schema.js +0 -3
  493. package/schematics/place-routes/schema.js.map +0 -1
  494. package/schematics/place-routes/schema.json +0 -26
  495. package/schematics/place-routes/templates/place-routes.ts.template +0 -15
  496. package/schematics/utils/build-context.d.ts +0 -74
  497. package/schematics/utils/build-context.js +0 -189
  498. package/schematics/utils/build-context.js.map +0 -1
  499. package/schematics/utils/decorators/decorated-class.d.ts +0 -13
  500. package/schematics/utils/decorators/decorated-class.js +0 -28
  501. package/schematics/utils/decorators/decorated-class.js.map +0 -1
  502. package/schematics/utils/decorators/decorated-source-file.d.ts +0 -15
  503. package/schematics/utils/decorators/decorated-source-file.js +0 -27
  504. package/schematics/utils/decorators/decorated-source-file.js.map +0 -1
  505. package/schematics/utils/import-def.d.ts +0 -30
  506. package/schematics/utils/import-def.js +0 -97
  507. package/schematics/utils/import-def.js.map +0 -1
  508. package/schematics/utils/method-scanner.d.ts +0 -16
  509. package/schematics/utils/method-scanner.js +0 -70
  510. package/schematics/utils/method-scanner.js.map +0 -1
  511. package/schematics/utils/mixin.d.ts +0 -11
  512. package/schematics/utils/mixin.js +0 -27
  513. package/schematics/utils/mixin.js.map +0 -1
  514. package/schematics/utils/parameter-def.d.ts +0 -5
  515. package/schematics/utils/parameter-def.js +0 -3
  516. package/schematics/utils/parameter-def.js.map +0 -1
  517. package/schematics/utils/path-helper.d.ts +0 -14
  518. package/schematics/utils/path-helper.js +0 -30
  519. package/schematics/utils/path-helper.js.map +0 -1
  520. package/schematics/utils/schematic-tree-file-system.d.ts +0 -30
  521. package/schematics/utils/schematic-tree-file-system.js +0 -113
  522. package/schematics/utils/schematic-tree-file-system.js.map +0 -1
  523. package/schematics/utils/source-file-scanner.d.ts +0 -14
  524. package/schematics/utils/source-file-scanner.js +0 -89
  525. package/schematics/utils/source-file-scanner.js.map +0 -1
  526. package/schematics/utils/source-file-utilities.d.ts +0 -6
  527. package/schematics/utils/source-file-utilities.js +0 -36
  528. package/schematics/utils/source-file-utilities.js.map +0 -1
  529. package/schematics/utils/stringy.d.ts +0 -15
  530. package/schematics/utils/stringy.js +0 -50
  531. package/schematics/utils/stringy.js.map +0 -1
  532. package/schematics/utils/template-utilities.d.ts +0 -2
  533. package/schematics/utils/template-utilities.js +0 -24
  534. package/schematics/utils/template-utilities.js.map +0 -1
  535. package/schematics/utils/workspace.d.ts +0 -15
  536. package/schematics/utils/workspace.js +0 -59
  537. package/schematics/utils/workspace.js.map +0 -1
@@ -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.0.6", ngImport: i0, type: CardStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
75
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", 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.0.6", 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
- }], 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PG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJhZGRDYXJkVGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cbiAgPC9kaXY+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIlthdXAtY2FyZC1zdGFjay1mb290ZXJdXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWxpc3QtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2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XG5cbiAgZG9Db21wdXRlVmFsdWUoKTogQ29sdW1uTW9kZWw8Um93PltdIHtcbiAgICByZXR1cm4gdGhpcy5fYWxsQ29sdW1ucyQudmFsdWUuZmlsdGVyKGMgPT4gYy52aXNpYmxlJC52YWx1ZSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,84 +0,0 @@
1
- import { Component, Input, ViewChild } from '@angular/core';
2
- import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
3
- import { Dsl } from '@coolon/pectin';
4
- import { DisposableComponent } from '../../disposable-component';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "../../commands/group/tool-bar/tool-bar.component";
8
- import * as i3 from "../../commands/command/command.component";
9
- import * as i4 from "../../commands/group/popup-menu/more-menu.component";
10
- class MenuItemData {
11
- factory;
12
- face;
13
- constructor(factory, face) {
14
- this.factory = factory;
15
- this.face = face;
16
- }
17
- }
18
- /**
19
- *
20
- */
21
- export class TableRowMenuComponent extends DisposableComponent {
22
- value;
23
- menu;
24
- actions = [];
25
- moreActions = [];
26
- registerAction(commandFactory, properties) {
27
- this.actions.push(new MenuItemData(commandFactory, properties));
28
- }
29
- registerMoreAction(commandFactory, properties) {
30
- this.moreActions.push(new MenuItemData(commandFactory, properties));
31
- }
32
- constructor() {
33
- super();
34
- }
35
- createMoreMenuCommand(item, value) {
36
- const { when } = Dsl.disposeWith(this);
37
- const command = item.factory.create(value, { disposedWith: this });
38
- when(command.busy$).becomesFalsey(() => {
39
- this.closeMoreMenu();
40
- });
41
- return command;
42
- }
43
- closeMoreMenu() {
44
- this.menu.closeMenu();
45
- }
46
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: TableRowMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.6", type: TableRowMenuComponent, selector: "aup-table-row-menu", inputs: { value: "value" }, viewQueries: [{ propertyName: "menu", first: true, predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: `
48
- <aup-tool-bar>
49
- <aup-command *ngFor="let action of actions"
50
- #comp
51
- [command]="action.factory.create(value, {disposedWith: comp})"
52
- [face]="action.face"></aup-command>
53
- </aup-tool-bar>
54
- <ng-container *ngIf="moreActions.length > 0">
55
- <aup-more-menu>
56
- <aup-command *ngFor="let action of moreActions" #comp [command]="action.factory.create(value, {disposedWith: comp})"
57
- [face]="action.face"></aup-command>
58
- </aup-more-menu>
59
- </ng-container>
60
- `, isInline: true, styles: [":host{display:inline-flex;flex-direction:row;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ToolBarComponent, selector: "aup-tool-bar" }, { kind: "component", type: i3.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { kind: "component", type: i4.MoreMenuComponent, selector: "aup-more-menu", inputs: ["tooltip"] }] });
61
- }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.6", ngImport: i0, type: TableRowMenuComponent, decorators: [{
63
- type: Component,
64
- args: [{ selector: 'aup-table-row-menu', template: `
65
- <aup-tool-bar>
66
- <aup-command *ngFor="let action of actions"
67
- #comp
68
- [command]="action.factory.create(value, {disposedWith: comp})"
69
- [face]="action.face"></aup-command>
70
- </aup-tool-bar>
71
- <ng-container *ngIf="moreActions.length > 0">
72
- <aup-more-menu>
73
- <aup-command *ngFor="let action of moreActions" #comp [command]="action.factory.create(value, {disposedWith: comp})"
74
- [face]="action.face"></aup-command>
75
- </aup-more-menu>
76
- </ng-container>
77
- `, styles: [":host{display:inline-flex;flex-direction:row;align-items:center}\n"] }]
78
- }], ctorParameters: function () { return []; }, propDecorators: { value: [{
79
- type: Input
80
- }], menu: [{
81
- type: ViewChild,
82
- args: [MatMenuTrigger]
83
- }] } });
84
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy90YWJsZXMvdGFibGUtcm93LW1lbnUvdGFibGUtcm93LW1lbnUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUUsb0JBQW9CLElBQUksY0FBYyxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFFdkYsT0FBTyxFQUFXLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTlDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDOzs7Ozs7QUFJakUsTUFBTSxZQUFZO0lBQ0s7SUFBNEM7SUFBakUsWUFBcUIsT0FBaUMsRUFBVyxJQUFpQjtRQUE3RCxZQUFPLEdBQVAsT0FBTyxDQUEwQjtRQUFXLFNBQUksR0FBSixJQUFJLENBQWE7SUFDbEYsQ0FBQztDQUNGO0FBRUQ7O0dBRUc7QUF1QkgsTUFBTSxPQUFPLHFCQUF3QyxTQUFRLG1CQUFtQjtJQUc5RSxLQUFLLENBQUk7SUFHVCxJQUFJLENBQWlCO0lBRVosT0FBTyxHQUFzQixFQUFFLENBQUM7SUFDaEMsV0FBVyxHQUFzQixFQUFFLENBQUM7SUFFN0MsY0FBYyxDQUFDLGNBQXdDLEVBQU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fQ==
@@ -1,24 +0,0 @@
1
- export var TrackBy;
2
- (function (TrackBy) {
3
- TrackBy.byIndex = (index, item) => index;
4
- /**
5
- * @deprecated use #track(MyType).by("property") instead.
6
- * @param property
7
- */
8
- function trackByProperty(property) {
9
- return (index, item) => item[property];
10
- }
11
- TrackBy.trackByProperty = trackByProperty;
12
- function track(type) {
13
- return {
14
- by(property) {
15
- return (index, item) => item[property];
16
- },
17
- using(callback) {
18
- return (index, item) => callback(item);
19
- }
20
- };
21
- }
22
- TrackBy.track = track;
23
- })(TrackBy || (TrackBy = {}));
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhY2stYnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3RyYWNrLWJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE1BQU0sS0FBVyxPQUFPLENBcUJ2QjtBQXJCRCxXQUFpQixPQUFPO0lBQ1QsZUFBTyxHQUF5QixDQUFDLEtBQWEsRUFBRSxJQUFTLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQztJQUVqRjs7O09BR0c7SUFDSCxTQUFnQixlQUFlLENBQXVCLFFBQVc7UUFDL0QsT0FBTyxDQUFDLEtBQWEsRUFBRSxJQUFPLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUNwRCxDQUFDO0lBRmUsdUJBQWUsa0JBRTlCLENBQUE7SUFFRCxTQUFnQixLQUFLLENBQUksSUFBOEI7UUFDckQsT0FBTztZQUNMLEVBQUUsQ0FBaUMsUUFBVztnQkFDNUMsT0FBTyxDQUFDLEtBQWEsRUFBRSxJQUFPLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUNwRCx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6IEFic3RyYWN0Q29uc3RydWN0YWJsZTxUPikge1xuICAgIHJldHVybiB7XG4gICAgICBieTxQIGV4dGVuZHMgVmFsdWVQcm9wZXJ0aWVzT2Y8VD4+KHByb3BlcnR5OiBQKSB7XG4gICAgICAgIHJldHVybiAoaW5kZXg6IG51bWJlciwgaXRlbTogVCkgPT4gaXRlbVtwcm9wZXJ0eV07XG4gICAgICB9LFxuICAgICAgdXNpbmcoY2FsbGJhY2s6IChpbnN0YW5jZTogVCkgPT4gYW55KSB7XG4gICAgICAgIHJldHVybiAoaW5kZXg6IG51bWJlciwgaXRlbTogVCkgPT4gY2FsbGJhY2soaXRlbSk7XG4gICAgICB9XG4gICAgfTtcbiAgfVxufVxuIl19
@@ -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
- }
@@ -1,28 +0,0 @@
1
- import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
2
- import { Command } from '@coolon/pectin';
3
- import { CommandFace } from '../../commands/command-face';
4
- import { DisposableComponent } from '../../disposable-component';
5
- import { CellRenderer } from '../renderer/cell-renderer';
6
- import * as i0 from "@angular/core";
7
- declare class MenuItemData<T extends object> {
8
- readonly factory: Command.Factory<T, void>;
9
- readonly face: CommandFace;
10
- constructor(factory: Command.Factory<T, void>, face: CommandFace);
11
- }
12
- /**
13
- *
14
- */
15
- export declare class TableRowMenuComponent<T extends object> extends DisposableComponent implements CellRenderer<T> {
16
- value: T;
17
- menu: MatMenuTrigger;
18
- readonly actions: MenuItemData<T>[];
19
- readonly moreActions: MenuItemData<T>[];
20
- registerAction(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
21
- registerMoreAction(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
22
- constructor();
23
- createMoreMenuCommand(item: MenuItemData<T>, value: T): Command<void>;
24
- private closeMoreMenu;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowMenuComponent<any>, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TableRowMenuComponent<any>, "aup-table-row-menu", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
27
- }
28
- export {};
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export declare function addActivity(_options: Schema): Rule;
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addActivity = void 0;
4
- const schematics_1 = require("@angular-devkit/schematics");
5
- const stringy_1 = require("../utils/stringy");
6
- const template_utilities_1 = require("../utils/template-utilities");
7
- const workspace_1 = require("../utils/workspace");
8
- function addActivity(_options) {
9
- return (tree, context) => {
10
- const workspace = workspace_1.Workspace.load(tree, context);
11
- const buildContext = workspace.getProject(_options.project);
12
- const nameParts = _options.name.split('/');
13
- const componentName = nameParts[nameParts.length - 1];
14
- const componentPathParts = nameParts.slice(0, nameParts.length - 1);
15
- const pathToSourceRoot = [buildContext.sourceCodeRoot].concat(componentPathParts);
16
- // we'll let angular do it by just create a default component then we'll clobber it with our real templates later.
17
- const updateModule = (0, schematics_1.externalSchematic)('@schematics/angular', 'component', {
18
- project: _options.project,
19
- name: _options.name
20
- });
21
- const i18nNamespace = `I18n.${componentPathParts.concat(componentName).map(p => stringy_1.Stringy.from(p).camelizeLower().toString()).join('.')}`;
22
- const componentFiles = (0, template_utilities_1.applyTemplatesWithOverwrite)(tree, 'templates/component', {
23
- name: componentName,
24
- selectorPrefix: buildContext.selectorPrefix,
25
- pathToRoot: pathToSourceRoot.map(p => '..').join('/'),
26
- i18nNamespace
27
- }, `${(pathToSourceRoot.join('/'))}/${componentName}`);
28
- return (0, schematics_1.chain)([updateModule, componentFiles])(tree, context);
29
- };
30
- }
31
- exports.addActivity = addActivity;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/activity/index.ts"],"names":[],"mappings":";;;AAAA,2DAAoG;AACpG,8CAA2C;AAC3C,oEAA0E;AAC1E,kDAA+C;AAI/C,SAAgB,WAAW,CAAC,QAAgB;IAE1C,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAE/C,MAAM,SAAS,GAAG,qBAAS,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAEhD,MAAM,YAAY,GAAG,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAE5D,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC3C,MAAM,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACtD,MAAM,kBAAkB,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC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