@coolon/angular-ui-powerups 16.1.0-aplpha.188 → 16.1.0-aplpha.19

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 (249) hide show
  1. package/assets/activities/activities.scss +3 -5
  2. package/assets/activities/input-activities.scss +6 -14
  3. package/assets/form.scss +27 -74
  4. package/assets/icons.scss +0 -1
  5. package/assets/styles.scss +0 -2
  6. package/assets/table.scss +19 -41
  7. package/assets/tabs.scss +5 -15
  8. package/esm2022/lib/animations/slide-animations.mjs +10 -15
  9. package/esm2022/lib/components/cards/abstract-card-container.component.mjs +5 -28
  10. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
  11. package/esm2022/lib/components/commands/command/command.component.mjs +29 -34
  12. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +3 -11
  13. package/esm2022/lib/components/commands/command-face.mjs +11 -12
  14. package/esm2022/lib/components/commands/group/popup-aware.component.mjs +8 -31
  15. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +13 -15
  16. package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +20 -11
  17. package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -12
  18. package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +20 -11
  19. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +2 -2
  20. package/esm2022/lib/components/commands/separator.component.mjs +12 -6
  21. package/esm2022/lib/components/components.module.mjs +30 -55
  22. package/esm2022/lib/components/disposable-component.mjs +7 -32
  23. package/esm2022/lib/components/exports.mjs +6 -14
  24. package/esm2022/lib/components/forms/abstract-input.component.mjs +12 -55
  25. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +4 -4
  26. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -8
  27. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +4 -4
  28. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +9 -86
  29. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +3 -40
  30. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +10 -11
  31. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +11 -30
  32. package/esm2022/lib/components/forms/text-input/text-input.component.mjs +4 -8
  33. package/esm2022/lib/components/icon/icon.component.mjs +4 -7
  34. package/esm2022/lib/components/loadable-component.mjs +10 -32
  35. package/esm2022/lib/components/resize-aware.component.mjs +24 -61
  36. package/esm2022/lib/components/switch-case/switch-case.component.mjs +7 -5
  37. package/esm2022/lib/components/tables/abstract-table-model.mjs +63 -112
  38. package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -19
  39. package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
  40. package/esm2022/lib/components/tables/column/column-model.mjs +6 -16
  41. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  42. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
  43. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
  44. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -3
  45. package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
  46. package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
  47. package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +2 -2
  48. package/esm2022/lib/components/tables/editor/edit-session.mjs +1 -1
  49. package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
  50. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +2 -4
  51. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
  52. package/esm2022/lib/components/tables/paginator/paginator.component.mjs +1 -1
  53. package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +5 -23
  54. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +3 -3
  55. package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +4 -7
  56. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +40 -150
  57. package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +6 -6
  58. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +33 -0
  59. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +60 -0
  60. package/esm2022/lib/components/tables/table/table-model.mjs +3 -12
  61. package/esm2022/lib/components/tables/table/table.component.mjs +61 -39
  62. package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
  63. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
  64. package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +1 -1
  65. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
  66. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +5 -12
  67. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
  68. package/esm2022/lib/components/text/markdown/markdown.component.mjs +2 -2
  69. package/esm2022/lib/components/types/loadable.mjs +2 -0
  70. package/esm2022/lib/directives/command.directive.mjs +7 -18
  71. package/esm2022/lib/directives/directives.module.mjs +1 -1
  72. package/esm2022/lib/directives/exports.mjs +1 -2
  73. package/esm2022/lib/directives/highlight.pipe.mjs +8 -9
  74. package/esm2022/lib/interaction/abstract-interaction-context.mjs +7 -6
  75. package/esm2022/lib/interaction/activity.mjs +21 -20
  76. package/esm2022/lib/interaction/alert.mjs +2 -2
  77. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +8 -11
  78. package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +41 -1
  79. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +16 -28
  80. package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +2 -8
  81. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +15 -46
  82. package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +15 -53
  83. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +4 -4
  84. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
  85. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
  86. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +1 -1
  87. package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +10 -10
  88. package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +8 -4
  89. package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +8 -4
  90. package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +9 -7
  91. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  92. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +4 -4
  93. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +5 -21
  94. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +2 -2
  95. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +35 -40
  96. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +9 -10
  97. package/esm2022/lib/interaction/confirm.mjs +2 -26
  98. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +2 -2
  99. package/esm2022/lib/interaction/exports.mjs +1 -6
  100. package/esm2022/lib/interaction/interaction-context.mjs +2 -3
  101. package/esm2022/lib/interaction/interaction.module.mjs +14 -22
  102. package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
  103. package/esm2022/lib/interaction/services/interaction.service.mjs +6 -18
  104. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +2 -2
  105. package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +4 -23
  106. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +5 -4
  107. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +9 -7
  108. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +2 -2
  109. package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +1 -1
  110. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  111. package/esm2022/lib/place/guards/place.guard.mjs +5 -6
  112. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  113. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +6 -3
  114. package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
  115. package/esm2022/lib/place/place-auth-service.mjs +6 -7
  116. package/esm2022/lib/place/place-component.mjs +19 -29
  117. package/esm2022/lib/place/place-definition.mjs +4 -15
  118. package/esm2022/lib/place/place-history.mjs +2 -2
  119. package/esm2022/lib/place/place-router.mjs +53 -67
  120. package/esm2022/lib/place/place.decorator.mjs +2 -2
  121. package/esm2022/lib/place/place.module.mjs +5 -1
  122. package/esm2022/lib/place/route/formatter.mjs +2 -2
  123. package/esm2022/lib/place/route/parameter-decorators.mjs +50 -54
  124. package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
  125. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  126. package/esm2022/lib/place/visit-segment.mjs +2 -2
  127. package/esm2022/lib/place/visit.mjs +2 -2
  128. package/fesm2022/coolon-angular-ui-powerups.mjs +1128 -2536
  129. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  130. package/lib/animations/slide-animations.d.ts +0 -1
  131. package/lib/components/cards/abstract-card-container.component.d.ts +3 -6
  132. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  133. package/lib/components/commands/command/command.component.d.ts +8 -8
  134. package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
  135. package/lib/components/commands/command-face.d.ts +9 -8
  136. package/lib/components/commands/group/popup-aware.component.d.ts +4 -9
  137. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
  138. package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -2
  139. package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +0 -2
  140. package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +4 -2
  141. package/lib/components/commands/separator.component.d.ts +4 -2
  142. package/lib/components/components.module.d.ts +55 -60
  143. package/lib/components/disposable-component.d.ts +3 -16
  144. package/lib/components/exports.d.ts +5 -13
  145. package/lib/components/forms/abstract-input.component.d.ts +5 -13
  146. package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
  147. package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
  148. package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
  149. package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
  150. package/lib/components/forms/string-input/string-input.component.d.ts +1 -7
  151. package/lib/components/forms/text-input/text-input.component.d.ts +0 -3
  152. package/lib/components/loadable-component.d.ts +5 -11
  153. package/lib/components/resize-aware.component.d.ts +5 -24
  154. package/lib/components/switch-case/switch-case.component.d.ts +3 -2
  155. package/lib/components/tables/abstract-table-model.d.ts +25 -50
  156. package/lib/components/tables/abstract-table.component.d.ts +3 -4
  157. package/lib/components/tables/column/column-list-model.d.ts +13 -0
  158. package/lib/components/tables/column/column-model.d.ts +3 -7
  159. package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
  160. package/lib/components/tables/column/custom-value-column-model.d.ts +2 -3
  161. package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -3
  162. package/lib/components/tables/column/list-propery-column-model.d.ts +2 -3
  163. package/lib/components/tables/column/property-column-model.d.ts +2 -3
  164. package/lib/components/tables/column/selection-column-model.d.ts +4 -10
  165. package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +1 -1
  166. package/lib/components/tables/editor/edit-session.d.ts +1 -1
  167. package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
  168. package/lib/components/tables/renderer/cell-portal-ref.d.ts +12 -20
  169. package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -1
  170. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +16 -40
  171. package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -2
  172. package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +15 -0
  173. package/lib/components/tables/renderer/{table-custom-more-menu/table-custom-more-menu.component.d.ts → table-more-menu/table-more-menu.component.d.ts} +7 -8
  174. package/lib/components/tables/table/table-model.d.ts +4 -4
  175. package/lib/components/tables/table/table.component.d.ts +10 -14
  176. package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +28 -0
  177. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
  178. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
  179. package/lib/components/tables/tree-table/tree-table-component.d.ts +0 -3
  180. package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
  181. package/lib/components/types/loadable.d.ts +5 -0
  182. package/lib/directives/command.directive.d.ts +4 -6
  183. package/lib/directives/exports.d.ts +0 -1
  184. package/lib/interaction/abstract-interaction-context.d.ts +1 -1
  185. package/lib/interaction/activity.d.ts +7 -7
  186. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -2
  187. package/lib/interaction/components/abstract-dialog.component.d.ts +14 -5
  188. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
  189. package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -2
  190. package/lib/interaction/components/activity-container/activity-container.component.d.ts +4 -10
  191. package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -3
  192. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  193. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
  194. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  195. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +3 -5
  196. package/lib/interaction/confirm.d.ts +0 -4
  197. package/lib/interaction/exports.d.ts +0 -5
  198. package/lib/interaction/interaction-context.d.ts +1 -7
  199. package/lib/interaction/interaction.module.d.ts +33 -35
  200. package/lib/interaction/services/interaction-service-routing-adapter.d.ts +2 -2
  201. package/lib/interaction/services/interaction.service.d.ts +1 -2
  202. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +1 -1
  203. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +1 -3
  204. package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -3
  205. package/lib/place/place-auth-service.d.ts +4 -4
  206. package/lib/place/place-component.d.ts +5 -7
  207. package/lib/place/place-definition.d.ts +0 -2
  208. package/lib/place/place-router.d.ts +3 -8
  209. package/lib/place/place.module.d.ts +5 -4
  210. package/package.json +4 -6
  211. package/assets/draw.scss +0 -20
  212. package/assets/layout.scss +0 -3
  213. package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
  214. package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -89
  215. package/esm2022/lib/components/forms/form-field.mjs +0 -2
  216. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
  217. package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
  218. package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
  219. package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -38
  220. package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
  221. package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +0 -2
  222. package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +0 -153
  223. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +0 -45
  224. package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +0 -71
  225. package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -30
  226. package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
  227. package/esm2022/lib/interaction/activity-context.mjs +0 -4
  228. package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
  229. package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
  230. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
  231. package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
  232. package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
  233. package/lib/components/file/file-download/file-download.component.d.ts +0 -45
  234. package/lib/components/forms/form-field.d.ts +0 -5
  235. package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
  236. package/lib/components/tables/column/column-manager.d.ts +0 -19
  237. package/lib/components/tables/column/column-order-manager.d.ts +0 -20
  238. package/lib/components/tables/footer/footer-row-model.d.ts +0 -22
  239. package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
  240. package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +0 -7
  241. package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +0 -42
  242. package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +0 -19
  243. package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -11
  244. package/lib/directives/resize-observer.directive.d.ts +0 -16
  245. package/lib/interaction/activity-context.d.ts +0 -9
  246. package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
  247. package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
  248. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
  249. package/lib/interaction/interaction-context-provider.d.ts +0 -11
@@ -1,134 +0,0 @@
1
- import { Component, HostBinding, Inject, Input, Optional, ViewChild } from "@angular/core";
2
- import { MAT_TABS_CONFIG } from "@angular/material/tabs";
3
- import { slideDownWhenOpenAnimation } from "../../../animations/slide-animations";
4
- import { DisposableComponent } from "../../../components/disposable-component";
5
- import { INTERACTION_CONTEXT } from "../../interaction-context";
6
- import { InteractionService } from "../../services/interaction.service";
7
- import { ActivityContainerComponent } from "../activity-container/activity-container.component";
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "../activity-container/activity-container.component";
10
- const cssDurationRegex = /(\d+)(m?s)/;
11
- /**
12
- * This interaction context remains hidden (height: 0) until it is active.
13
- * @example
14
- * <aup-slide-down-interaction-context #inPlaceInteractionContext>
15
- * </aup-slide-down-interaction-context>
16
- *
17
- * in your component
18
- * @ViewChild(SlideDownInteractionContextComponent)
19
- * interactionContext: InteractionContext;
20
- *
21
- *
22
- */
23
- export class SlideDownInteractionContextComponent extends DisposableComponent {
24
- tabConfig;
25
- activityContainerComponent;
26
- // NOTE: disabling this as I'm using the initialise callback to release the hacky height clamp.
27
- // The whole registration thing is a bit naf so I should really clean that up at some point.
28
- // /**
29
- // * If true the activity will sync with the router to enable back button support. This is a work around for
30
- // * deeply nested activities that can't be linked with the root place interactionContext hook for cancelling
31
- // * active interactions.
32
- // */
33
- // @Input()
34
- // syncWithRoutes = true;
35
- dynamicHeight = true;
36
- get active() {
37
- return this.isActive();
38
- }
39
- // Horrible hack to stop the div and activity container bouncing back for a bit in after closing. No idea why it's doing that.
40
- clampShut = true;
41
- interactionService = this.inject(InteractionService);
42
- constructor(tabConfig) {
43
- super();
44
- this.tabConfig = tabConfig;
45
- }
46
- ngAfterViewInit() {
47
- // NOTE: this is a temp work around to detach inplace contexts from the router until AUP-88 is implemented.
48
- // https://coolon.atlassian.net/browse/AUP-88?atlOrigin=eyJpIjoiOTg5YjEzZGUzZjRmNDg0NmExOWU3ZGJmMzJiNTRmNGYiLCJwIjoiaiJ9
49
- const self = this;
50
- this.activityContainerComponent.initialise("dont-care", {
51
- async notifyActive(interactionContext) {
52
- self.clampShut = false;
53
- return undefined;
54
- },
55
- async notifyFinished(interactionContext) {
56
- return undefined;
57
- }
58
- });
59
- // if (this.syncWithRoutes) {
60
- // this.interactionService.registerInplaceInteractionContext(this);
61
- // }
62
- }
63
- getAnimationState() {
64
- return {
65
- value: this.isActive() ? "open" : "closed",
66
- params: { duration: "200ms" }
67
- };
68
- }
69
- // this is a regsitration callback from the interaction service
70
- // @Trace() // webstorm says no usages... but I'm not sure.
71
- onInplaceInteractionContextRegistered(id, api) {
72
- this.activityContainerComponent.initialise(id, api);
73
- }
74
- get identifier() {
75
- return this.activityContainerComponent.identifier;
76
- }
77
- alert(alert) {
78
- return this.activityContainerComponent.alert(alert);
79
- }
80
- cancelActiveActivity() {
81
- return this.activityContainerComponent.cancelActiveActivity();
82
- }
83
- confirm(confirm) {
84
- return this.activityContainerComponent.confirm(confirm);
85
- }
86
- confirmOrReject(confirm) {
87
- return this.activityContainerComponent.confirmOrReject(confirm);
88
- }
89
- confirmThen(confirm, activityType, data) {
90
- return this.activityContainerComponent.confirmThen(confirm, activityType);
91
- }
92
- confirmThenExecute(confirm, operation) {
93
- return this.activityContainerComponent.confirmThenExecute(confirm, operation);
94
- }
95
- isActive() {
96
- return this.activityContainerComponent.isActive();
97
- }
98
- startActivity(activityType, data, options) {
99
- return this.activityContainerComponent.startActivity(activityType, data, options);
100
- }
101
- onAnimationDone() {
102
- if (!this.isActive()) {
103
- this.clampShut = true;
104
- }
105
- }
106
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, deps: [{ token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
107
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SlideDownInteractionContextComponent, selector: "aup-slide-down-interaction-context", inputs: { dynamicHeight: "dynamicHeight" }, host: { properties: { "class.active": "this.active" } }, providers: [
108
- { provide: INTERACTION_CONTEXT, useExisting: SlideDownInteractionContextComponent }
109
- ], viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"], dependencies: [{ kind: "component", type: i1.ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight", "animationDuration"] }], animations: [
110
- slideDownWhenOpenAnimation
111
- ] });
112
- }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, decorators: [{
114
- type: Component,
115
- args: [{ selector: "aup-slide-down-interaction-context", providers: [
116
- { provide: INTERACTION_CONTEXT, useExisting: SlideDownInteractionContextComponent }
117
- ], animations: [
118
- slideDownWhenOpenAnimation
119
- ], template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"] }]
120
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
121
- type: Inject,
122
- args: [MAT_TABS_CONFIG]
123
- }, {
124
- type: Optional
125
- }] }]; }, propDecorators: { activityContainerComponent: [{
126
- type: ViewChild,
127
- args: ["activityContainer", { static: true }]
128
- }], dynamicHeight: [{
129
- type: Input
130
- }], active: [{
131
- type: HostBinding,
132
- args: ["class.active"]
133
- }] } });
134
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUtZG93bi1pbnRlcmFjdGlvbi1jb250Z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QW5pbWF0aW9uU3RhdGUoKVwiIChAc2xpZGVEb3duV2hlbk9wZW4uZG9uZSk9XCJvbkFuaW1hdGlvbkRvbmUoKVwiIFtzdHlsZS5tYXgtaGVpZ2h0LnB4XT1cImNsYW1wU2h1dCA/IDAgOiB1bmRlZmluZWRcIj5cbiAgPGF1cC1hY3Rpdml0eS1jb250YWluZXIgI2FjdGl2aXR5Q29udGFpbmVyICBbZHluYW1pY0hlaWdodF09XCJkeW5hbWljSGVpZ2h0XCI+PC9hdXAtYWN0aXZpdHktY29udGFpbmVyPlxuPC9kaXY+XG5cbiJdfQ==
@@ -1,17 +0,0 @@
1
- export class InteractionContextProvider {
2
- static forActivity(activity) {
3
- return new class extends InteractionContextProvider {
4
- getInteractionContext() {
5
- return activity.interactionContext;
6
- }
7
- };
8
- }
9
- static forInteractionContext(interactionContext) {
10
- return new class extends InteractionContextProvider {
11
- getInteractionContext() {
12
- return interactionContext;
13
- }
14
- };
15
- }
16
- }
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3Rpb24tY29udGV4dC1wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2ludGVyYWN0aW9uL2ludGVyYWN0aW9uLWNvbnRleHQtcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFnQiwwQkFBMEI7SUFDOUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxRQUE0QjtRQUM3QyxPQUFPLElBQUksS0FBTSxTQUFRLDBCQUEwQjtZQUNqRCxxQkFBcUI7Z0JBQ25CLE9BQU8sUUFBUSxDQUFDLGtCQUFrQixDQUFDO1lBQ3JDLENBQUM7U0FDRixDQUFBO0lBQ0gsQ0FBQztJQUNELE1BQU0sQ0FBQyxxQk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b25Db250ZXh0XG59XG5cblxuIl19
@@ -1,30 +0,0 @@
1
- import { MatButton } from "@angular/material/button";
2
- import { ThemePalette } from "@angular/material/core";
3
- import { MatMenuItem } from "@angular/material/menu";
4
- import { BooleanValueModelChain, CommandFace, ListModel, ValueModel, ValueModelChain } from "@coolon/pectin";
5
- import { HorizontalAlignment } from "../../alignment";
6
- import { CommandFace as CommandFaceUtils } from '../command-face';
7
- import { PopupAwareComponent } from "../group/popup-aware.component";
8
- import * as i0 from "@angular/core";
9
- export declare class ButtonRendererComponent extends PopupAwareComponent {
10
- accessor faces$: ListModel<CommandFace>;
11
- accessor faces: CommandFace[];
12
- accessor enabled$: ValueModel<boolean>;
13
- accessor enabled: boolean;
14
- accessor busy$: ValueModel<boolean>;
15
- accessor busy: boolean;
16
- alignFace: HorizontalAlignment;
17
- forceRenderAsButton: boolean;
18
- matControl: MatMenuItem | MatButton;
19
- readonly buttonStyle$: ValueModelChain<string>;
20
- readonly color$: ValueModelChain<ThemePalette>;
21
- private activeFace$;
22
- readonly iconOnly$: BooleanValueModelChain;
23
- readonly tooltip$: ValueModelChain<string>;
24
- CommandFaceUtils: typeof CommandFaceUtils;
25
- constructor();
26
- get renderAsMenuItem(): boolean;
27
- focus(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRendererComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonRendererComponent, "aup-button-renderer", never, { "faces$": { "alias": "faces$"; "required": false; }; "faces": { "alias": "faces"; "required": false; }; "enabled$": { "alias": "enabled$"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "busy$": { "alias": "busy$"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; "forceRenderAsButton": { "alias": "forceRenderAsButton"; "required": false; }; }, {}, never, never, false, never>;
30
- }
@@ -1,45 +0,0 @@
1
- import { ThemePalette } from '@angular/material/core';
2
- import { CommandFace, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
3
- import { HorizontalAlignment } from '../../alignment';
4
- import { CommandFace as CommandFaceUtil } from '../../commands/command-face';
5
- import { PopupAwareComponent } from '../../commands/group/popup-aware.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- *
9
- */
10
- export declare class FileDownloadComponent extends PopupAwareComponent {
11
- protected readonly CommandFaceUtil: typeof CommandFaceUtil;
12
- accessor download$: ValueModel<FileDownloadComponent.DownloadInfo>;
13
- accessor download: FileDownloadComponent.DownloadInfo;
14
- alignFace: HorizontalAlignment;
15
- readonly faces$: ListModel<FileDownloadComponent.DownloadInfo>;
16
- protected readonly buttonStyle$: ValueModelChain<string>;
17
- protected readonly color$: ValueModelChain<ThemePalette>;
18
- protected readonly tooltip$: ValueModelChain<string>;
19
- protected readonly document: Document;
20
- constructor();
21
- downloadFile(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadComponent, "aup-file-download", never, { "download$": { "alias": "download$"; "required": false; }; "download": { "alias": "download"; "required": false; }; "alignFace": { "alias": "alignFace"; "required": false; }; }, {}, never, never, false, never>;
24
- }
25
- export declare namespace FileDownloadComponent {
26
- function createInfo(options: {
27
- face: CommandFace;
28
- url: string;
29
- saveAs: string;
30
- }): {
31
- text?(): string;
32
- icon?(): string;
33
- iconPosition?(): string;
34
- tooltip?(): string;
35
- color?(): string;
36
- style?(): string;
37
- face: CommandFace;
38
- url: string;
39
- saveAs: string;
40
- };
41
- interface DownloadInfo extends CommandFace {
42
- saveAs: string;
43
- url: string;
44
- }
45
- }
@@ -1,5 +0,0 @@
1
- export interface FormField {
2
- label(): string;
3
- hint?(): string;
4
- placeholder?(): string;
5
- }
@@ -1,10 +0,0 @@
1
- import { Command } from '@coolon/pectin';
2
- import { AbstractValueInputComponent } from '../abstract-value-input.component';
3
- import * as i0 from "@angular/core";
4
- export declare class SearchInputComponent extends AbstractValueInputComponent<string> {
5
- autocomplete: string;
6
- readonly clearCommand: Command<void>;
7
- constructor();
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "aup-search-input", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, false, never>;
10
- }
@@ -1,19 +0,0 @@
1
- import { GarbageCollector, ListModel, WatchList } from '@coolon/pectin';
2
- import { ColumnModel } from './column-model';
3
- import { ColumnOrderManager } from "./column-order-manager";
4
- export declare class ColumnManager<Row extends object> extends GarbageCollector implements ColumnOrderManager {
5
- private readonly _columnRefs$;
6
- private readonly orderedColumnRefs$;
7
- private readonly _columnsById$;
8
- readonly allColumns$: ListModel<ColumnModel<Row>>;
9
- readonly columnVisibilities$: WatchList<boolean>;
10
- readonly visibleColumns$: ListModel<ColumnModel<Row>>;
11
- constructor();
12
- position(column: ColumnModel<any>, newPosition: ColumnOrderManager.Position): void;
13
- getColumn(id: string): ColumnModel<Row>;
14
- hasColumn(id: string): boolean;
15
- hasMatchingColumn(row: Row, regex: RegExp): boolean;
16
- addColumn<C extends ColumnModel<Row>>(column: C, position?: ColumnOrderManager.Position): C;
17
- computePosition(position?: ColumnOrderManager.Position): string;
18
- doComputeValue(): ColumnModel<Row>[];
19
- }
@@ -1,20 +0,0 @@
1
- import { ColumnModel } from "./column-model";
2
- export interface ColumnOrderManager {
3
- position(column: ColumnModel<any>, position: ColumnOrderManager.Position): void;
4
- }
5
- export declare namespace ColumnOrderManager {
6
- interface Before {
7
- before: ColumnModel<any> | null;
8
- }
9
- interface After {
10
- after: ColumnModel<any> | null;
11
- }
12
- export type Position = Before | After;
13
- export function processPosition(position: Position | undefined, callback: {
14
- before(col: ColumnModel<any> | null): string;
15
- after(col: ColumnModel<any> | null): string;
16
- first(): string;
17
- last(): string;
18
- }): string;
19
- export {};
20
- }
@@ -1,22 +0,0 @@
1
- import { ComponentType } from "@angular/cdk/overlay";
2
- import { ComponentPortal } from "@angular/cdk/portal";
3
- declare class RowClass {
4
- readonly className: string;
5
- readonly matches: () => boolean;
6
- constructor(className: string, matches: () => boolean);
7
- }
8
- export declare abstract class FooterRowModel<C> {
9
- protected readonly _rowClasses: RowClass[];
10
- noPadding(): void;
11
- addClass(className: string, condition?: () => boolean): void;
12
- }
13
- export declare namespace FooterRowModel {
14
- class Impl<C> extends FooterRowModel<C> {
15
- protected readonly component: ComponentType<C>;
16
- readonly onInit?: (component: C) => void;
17
- readonly portal: ComponentPortal<C>;
18
- constructor(component: ComponentType<C>, onInit?: (component: C) => void);
19
- getActiveRowClasses(): string;
20
- }
21
- }
22
- export {};
@@ -1,6 +0,0 @@
1
- import { LoadableComponent } from "../../loadable-component";
2
- import { CellRenderer } from "./cell-renderer";
3
- export declare abstract class AbstractCellRenderer<T> extends LoadableComponent implements CellRenderer<T> {
4
- abstract accessor value: T;
5
- protected constructor();
6
- }
@@ -1,7 +0,0 @@
1
- import { Command, CommandFace } from '@coolon/pectin';
2
- import { FileDownloadComponent } from '../../../file/file-download/file-download.component';
3
- export interface MenuBuilder<Row extends object> {
4
- addCommand(factory: Command.Factory<Row>, face: CommandFace): void;
5
- addDownload(callback: (row: Row) => FileDownloadComponent.DownloadInfo): void;
6
- addSeparator(): void;
7
- }
@@ -1,42 +0,0 @@
1
- import { MatMenuTrigger } from '@angular/material/menu';
2
- import { Command } from '@coolon/pectin';
3
- import { CommandFace } from '../../../commands/command-face';
4
- import { DisposableComponent } from '../../../disposable-component';
5
- import { FileDownloadComponent } from '../../../file/file-download/file-download.component';
6
- import { CellRenderer } from '../cell-renderer';
7
- import { MenuBuilder } from './menu-builder';
8
- import * as i0 from "@angular/core";
9
- declare class CommandData<T extends object> {
10
- readonly factory: Command.Factory<T, void>;
11
- readonly face: CommandFace;
12
- constructor(factory: Command.Factory<T, void>, face: CommandFace);
13
- }
14
- declare class DownloadData<T extends object> {
15
- private createInfo;
16
- private cache;
17
- constructor(createInfo: (value: T) => FileDownloadComponent.DownloadInfo);
18
- createDownloadInfo(value: T): FileDownloadComponent.DownloadInfo;
19
- }
20
- type MenuItem<T extends object> = CommandData<T> | DownloadData<T> | null;
21
- /**
22
- *
23
- */
24
- export declare class TableActionColumnComponent<T extends object> extends DisposableComponent implements CellRenderer<T>, MenuBuilder<T> {
25
- value: T;
26
- menu: MatMenuTrigger;
27
- readonly actions: MenuItem<T>[];
28
- readonly moreActions: MenuItem<T>[];
29
- readonly trackByIndex: import("@angular/core").TrackByFunction<any>;
30
- constructor();
31
- addCommand(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
32
- addSeparator(): void;
33
- addDownload(factory: (row: T) => FileDownloadComponent.DownloadInfo): void;
34
- addMoreMenu(builder: (menu: MenuBuilder<T>) => void): void;
35
- private closeMoreMenu;
36
- isCommand(item: MenuItem<T>): item is CommandData<T>;
37
- isDownload(item: MenuItem<T>): item is DownloadData<T>;
38
- isSeparator(item: MenuItem<T>): boolean;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<TableActionColumnComponent<any>, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<TableActionColumnComponent<any>, "aup-table-action-column", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
41
- }
42
- export {};
@@ -1,19 +0,0 @@
1
- import { Command, ValueModel } from "@coolon/pectin";
2
- import { PopupAwareComponent } from "../../../commands/group/popup-aware.component";
3
- import { PopupContainer } from "../../../commands/group/popup-container";
4
- import { LoadableComponent } from "../../../loadable-component";
5
- import * as i0 from "@angular/core";
6
- export declare class TableCustomMoreMenuPopupComponent<T> extends LoadableComponent implements PopupContainer {
7
- private _value$;
8
- private readonly _visible$;
9
- private readonly _closeCommand;
10
- constructor();
11
- initialise(row$: ValueModel<T>, closeCommand: Command<void>): void;
12
- protected visibleWhile(condition: ValueModel<boolean>): this;
13
- get visible$(): ValueModel<boolean>;
14
- get closeCommand(): Command<void>;
15
- get value$(): ValueModel<T>;
16
- register(comp: PopupAwareComponent): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCustomMoreMenuPopupComponent<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TableCustomMoreMenuPopupComponent<any>, "aup-table-more-menu-popup", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,11 +0,0 @@
1
- import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
2
- import { FooterRowModel } from "../../footer/footer-row-model";
3
- import * as i0 from "@angular/core";
4
- export declare class TableFooterRow {
5
- row: FooterRowModel.Impl<any>;
6
- defaultClassNames: string;
7
- get rowClasses(): string;
8
- initialise($event: CdkPortalOutletAttachedRef): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterRow, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TableFooterRow, "aup-table-footer-row", never, { "row": { "alias": "row"; "required": false; }; }, {}, never, never, false, never>;
11
- }
@@ -1,16 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, NgZone } from '@angular/core';
2
- import { ValueModel } from '@coolon/pectin';
3
- import { DisposableComponent } from '../components/disposable-component';
4
- import { Bounds } from '../components/types/bounds.class';
5
- import * as i0 from "@angular/core";
6
- export declare class ResizeObserverDirective extends DisposableComponent implements AfterViewInit {
7
- aupOnResize: EventEmitter<Bounds>;
8
- protected readonly elementRef: ElementRef<any>;
9
- protected readonly ngZone: NgZone;
10
- private _bounds$;
11
- ngAfterViewInit(): void;
12
- get bounds$(): ValueModel<Bounds>;
13
- private _updateBounds;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeObserverDirective, "[aupOnResize]", never, {}, { "aupOnResize": "aupOnResize"; }, never, never, true, never>;
16
- }
@@ -1,9 +0,0 @@
1
- import { Command } from "@coolon/pectin";
2
- import { InteractionContext } from "./interaction-context";
3
- import { InteractionContextProvider } from "./interaction-context-provider";
4
- export declare abstract class ActivityContext extends InteractionContextProvider {
5
- abstract readonly interactionContext: InteractionContext;
6
- abstract readonly confirmCommand: Command;
7
- abstract readonly cancelCommand: Command;
8
- abstract onActivityReady(callback: () => void): void;
9
- }
@@ -1,17 +0,0 @@
1
- import { Command } from "@coolon/pectin";
2
- import { CommandFace } from "../../../components/commands/command-face";
3
- import { DisposableComponent } from "../../../components/disposable-component";
4
- import { ActivityContext } from "../../activity-context";
5
- import { Alert } from "../../alert";
6
- import * as i0 from "@angular/core";
7
- export declare class AlertRendererComponent<T extends Alert = Alert> extends DisposableComponent {
8
- config: T;
9
- accessor confirmCommand: Command;
10
- protected confirmFace: CommandFace;
11
- protected title: string;
12
- protected content: string[];
13
- protected color?: 'primary' | 'accent' | 'warn';
14
- constructor(activityContext: ActivityContext);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertRendererComponent<any>, [{ optional: true; }]>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertRendererComponent<any>, "aup-alert-renderer", never, { "config": { "alias": "config"; "required": false; }; "confirmCommand": { "alias": "confirmCommand"; "required": false; }; }, {}, never, never, false, never>;
17
- }
@@ -1,15 +0,0 @@
1
- import { Command } from "@coolon/pectin";
2
- import { CommandFace } from "../../../components/commands/command-face";
3
- import { ActivityContext } from "../../activity-context";
4
- import { Confirm } from "../../confirm";
5
- import { ActivityActionsComponent } from "../activity-actions/activity-actions.component";
6
- import { AlertRendererComponent } from "../alert-renderer/alert-renderer.component";
7
- import * as i0 from "@angular/core";
8
- export declare class ConfirmRendererComponent extends AlertRendererComponent<Confirm> {
9
- accessor cancelCommand: Command;
10
- protected activityActions: ActivityActionsComponent;
11
- protected cancelFace: CommandFace;
12
- constructor(activityContext: ActivityContext);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRendererComponent, [{ optional: true; }]>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmRendererComponent, "aup-confirm-renderer", never, { "cancelCommand": { "alias": "cancelCommand"; "required": false; }; }, {}, never, never, false, never>;
15
- }
@@ -1,53 +0,0 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatTabsConfig } from "@angular/material/tabs";
3
- import { Constructable } from "@coolon/pectin";
4
- import { DisposableComponent } from "../../../components/disposable-component";
5
- import { Activity } from "../../activity";
6
- import { Alert } from "../../alert";
7
- import { Confirm } from "../../confirm";
8
- import { InPlaceInteractionContext } from "../../in-place-interaction-context";
9
- import { InteractionContext } from "../../interaction-context";
10
- import { InteractionService } from "../../services/interaction.service";
11
- import { ActivityContainerComponent } from "../activity-container/activity-container.component";
12
- import * as i0 from "@angular/core";
13
- /**
14
- * This interaction context remains hidden (height: 0) until it is active.
15
- * @example
16
- * <aup-slide-down-interaction-context #inPlaceInteractionContext>
17
- * </aup-slide-down-interaction-context>
18
- *
19
- * in your component
20
- * @ViewChild(SlideDownInteractionContextComponent)
21
- * interactionContext: InteractionContext;
22
- *
23
- *
24
- */
25
- export declare class SlideDownInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
26
- private readonly tabConfig;
27
- activityContainerComponent: ActivityContainerComponent<any, any, any>;
28
- dynamicHeight: boolean;
29
- get active(): boolean;
30
- protected clampShut: boolean;
31
- readonly interactionService: InteractionService;
32
- constructor(tabConfig: MatTabsConfig);
33
- ngAfterViewInit(): void;
34
- getAnimationState(): {
35
- value: string;
36
- params: {
37
- duration: string;
38
- };
39
- };
40
- onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): void;
41
- get identifier(): string;
42
- alert(alert: Alert): Promise<void>;
43
- cancelActiveActivity(): Promise<boolean>;
44
- confirm(confirm: Confirm): Promise<boolean>;
45
- confirmOrReject(confirm: Confirm): Promise<void>;
46
- confirmThen<D1, R1, E1>(confirm: Confirm, activityType: Constructable<Activity<D1, R1, E1>>, data?: D1): Promise<R1>;
47
- confirmThenExecute<R1>(confirm: Confirm, operation: (interactionContext: InteractionContext) => (Promise<R1> | R1)): Promise<R1>;
48
- isActive(): boolean;
49
- startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
50
- onAnimationDone(): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<SlideDownInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<SlideDownInteractionContextComponent<any, any, any>, "aup-slide-down-interaction-context", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
53
- }
@@ -1,11 +0,0 @@
1
- import { Activity } from "./activity";
2
- import { InteractionContext } from "./interaction-context";
3
- export declare abstract class InteractionContextProvider {
4
- static forActivity(activity: Activity<any, any>): {
5
- getInteractionContext(): InteractionContext;
6
- };
7
- static forInteractionContext(interactionContext: InteractionContext): {
8
- getInteractionContext(): InteractionContext;
9
- };
10
- abstract getInteractionContext(): InteractionContext;
11
- }