@coolon/angular-ui-powerups 16.1.0-aplpha.9 → 16.1.0-aplpha.90

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 (145) hide show
  1. package/assets/activities/input-activities.scss +10 -2
  2. package/assets/form.scss +62 -27
  3. package/assets/table.scss +13 -24
  4. package/assets/tabs.scss +2 -6
  5. package/esm2022/lib/animations/slide-animations.mjs +6 -1
  6. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
  7. package/esm2022/lib/components/commands/command/command.component.mjs +24 -10
  8. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +11 -3
  9. package/esm2022/lib/components/commands/command-face.mjs +11 -11
  10. package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +11 -11
  11. package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +6 -4
  12. package/esm2022/lib/components/components.module.mjs +22 -8
  13. package/esm2022/lib/components/disposable-component.mjs +19 -37
  14. package/esm2022/lib/components/exports.mjs +6 -2
  15. package/esm2022/lib/components/forms/abstract-input.component.mjs +55 -12
  16. package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +2 -2
  17. package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +3 -3
  18. package/esm2022/lib/components/forms/form-field.mjs +2 -0
  19. package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +2 -2
  20. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +49 -10
  21. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +40 -3
  22. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
  23. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +11 -10
  24. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +21 -9
  25. package/esm2022/lib/components/icon/icon.component.mjs +7 -4
  26. package/esm2022/lib/components/loadable-component.mjs +49 -0
  27. package/esm2022/lib/components/resize-aware.component.mjs +61 -24
  28. package/esm2022/lib/components/switch-case/switch-case.component.mjs +5 -7
  29. package/esm2022/lib/components/tables/abstract-table-model.mjs +42 -25
  30. package/esm2022/lib/components/tables/abstract-table.component.mjs +19 -5
  31. package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
  32. package/esm2022/lib/components/tables/column/column-model.mjs +13 -3
  33. package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
  34. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  35. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
  36. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
  37. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -3
  38. package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
  39. package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
  40. package/esm2022/lib/components/tables/editor/edit-session.mjs +4 -2
  41. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +4 -2
  42. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
  43. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +3 -3
  44. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +132 -41
  45. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +7 -2
  46. package/esm2022/lib/components/tables/table/table.component.mjs +19 -68
  47. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +5 -4
  48. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
  49. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +7 -4
  50. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +3 -3
  51. package/esm2022/lib/components/text/markdown/markdown.component.mjs +2 -2
  52. package/esm2022/lib/directives/directives.module.mjs +1 -1
  53. package/esm2022/lib/directives/exports.mjs +2 -1
  54. package/esm2022/lib/directives/highlight.pipe.mjs +2 -2
  55. package/esm2022/lib/directives/resize-observer.directive.mjs +40 -0
  56. package/esm2022/lib/interaction/activity.mjs +3 -4
  57. package/esm2022/lib/interaction/alert.mjs +2 -2
  58. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +8 -4
  59. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +7 -9
  60. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +28 -11
  61. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +4 -4
  62. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  63. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +2 -2
  64. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +3 -3
  65. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +2 -2
  66. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +3 -1
  67. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +8 -4
  68. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +129 -0
  69. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +2 -2
  70. package/esm2022/lib/interaction/exports.mjs +2 -1
  71. package/esm2022/lib/interaction/interaction.module.mjs +7 -9
  72. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +3 -4
  73. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +7 -9
  74. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +2 -2
  75. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  76. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  77. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +3 -6
  78. package/esm2022/lib/place/place-component.mjs +7 -7
  79. package/esm2022/lib/place/place-definition.mjs +3 -3
  80. package/esm2022/lib/place/place-history.mjs +2 -2
  81. package/esm2022/lib/place/place.decorator.mjs +2 -2
  82. package/esm2022/lib/place/place.module.mjs +1 -5
  83. package/esm2022/lib/place/route/formatter.mjs +2 -2
  84. package/esm2022/lib/place/route/parameter-decorators.mjs +54 -50
  85. package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
  86. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  87. package/esm2022/lib/place/visit-segment.mjs +2 -2
  88. package/esm2022/lib/place/visit.mjs +2 -2
  89. package/fesm2022/coolon-angular-ui-powerups.mjs +1075 -485
  90. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  91. package/lib/animations/slide-animations.d.ts +1 -0
  92. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  93. package/lib/components/commands/command/command.component.d.ts +2 -1
  94. package/lib/components/commands/command-face/command-face.component.d.ts +2 -0
  95. package/lib/components/commands/command-face.d.ts +5 -7
  96. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
  97. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
  98. package/lib/components/components.module.d.ts +55 -53
  99. package/lib/components/disposable-component.d.ts +11 -8
  100. package/lib/components/exports.d.ts +5 -1
  101. package/lib/components/forms/abstract-input.component.d.ts +13 -5
  102. package/lib/components/forms/form-field.d.ts +5 -0
  103. package/lib/components/forms/number-input/number-input.component.d.ts +8 -4
  104. package/lib/components/forms/password-input/password-input.component.d.ts +7 -1
  105. package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
  106. package/lib/components/forms/select-input/select-input.component.d.ts +4 -3
  107. package/lib/components/forms/string-input/string-input.component.d.ts +3 -1
  108. package/lib/components/loadable-component.d.ts +17 -0
  109. package/lib/components/resize-aware.component.d.ts +24 -5
  110. package/lib/components/switch-case/switch-case.component.d.ts +2 -3
  111. package/lib/components/tables/abstract-table-model.d.ts +10 -5
  112. package/lib/components/tables/abstract-table.component.d.ts +3 -2
  113. package/lib/components/tables/column/column-manager.d.ts +19 -0
  114. package/lib/components/tables/column/column-model.d.ts +5 -1
  115. package/lib/components/tables/column/column-order-manager.d.ts +20 -0
  116. package/lib/components/tables/column/custom-template-column-model.d.ts +2 -1
  117. package/lib/components/tables/column/custom-value-column-model.d.ts +2 -1
  118. package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -1
  119. package/lib/components/tables/column/list-propery-column-model.d.ts +2 -1
  120. package/lib/components/tables/column/property-column-model.d.ts +2 -1
  121. package/lib/components/tables/column/selection-column-model.d.ts +2 -1
  122. package/lib/components/tables/filter/text-search-predicate.d.ts +9 -0
  123. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +35 -16
  124. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +2 -1
  125. package/lib/components/tables/table/table.component.d.ts +5 -10
  126. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -1
  127. package/lib/components/tables/tree-table/tree-table-component.d.ts +3 -0
  128. package/lib/directives/exports.d.ts +1 -0
  129. package/lib/directives/resize-observer.directive.d.ts +16 -0
  130. package/lib/interaction/activity.d.ts +2 -2
  131. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -0
  132. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +1 -3
  133. package/lib/interaction/components/activity-container/activity-container.component.d.ts +7 -3
  134. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  135. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  136. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
  137. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
  138. package/lib/interaction/exports.d.ts +1 -0
  139. package/lib/interaction/interaction.module.d.ts +28 -28
  140. package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -4
  141. package/lib/place/place-component.d.ts +4 -4
  142. package/lib/place/place.module.d.ts +4 -5
  143. package/package.json +7 -5
  144. package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
  145. package/lib/components/tables/column/column-list-model.d.ts +0 -13
@@ -6,33 +6,33 @@ import * as i4 from "./components/confirm-then-execute-dialog/confirm-then-execu
6
6
  import * as i5 from "./components/alert-dialog/alert-dialog.component";
7
7
  import * as i6 from "./components/activity-container/activity-outlet/activity-outlet.component";
8
8
  import * as i7 from "./components/inplace-interaction-context/in-place-interaction-context.component";
9
- import * as i8 from "./components/add-item-interaction-context/add-item-interaction-context.component";
10
- import * as i9 from "./components/activity-actions/activity-actions.component";
11
- import * as i10 from "./components/popup-interaction-context/popup-interaction-context.component";
12
- import * as i11 from "./components/input-activities/string-input-activity";
13
- import * as i12 from "./components/input-activities/select-input-activity";
14
- import * as i13 from "./components/input-activities/input-activity";
15
- import * as i14 from "./directives/interaction-context-trigger-for.directive";
16
- import * as i15 from "./activity";
17
- import * as i16 from "./components/activity-title/activity-title.component";
18
- import * as i17 from "./components/activity-body/activity-body.component";
19
- import * as i18 from "./components/activity-triggers/abstract-activity-trigger.component";
20
- import * as i19 from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
21
- import * as i20 from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
22
- import * as i21 from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
23
- import * as i22 from "./components/add-card-activity/add-card-activity.component";
24
- import * as i23 from "./components/editors/inline-string-editor/inline-string-editor.component";
25
- import * as i24 from "./components/abstract-dialog.component";
26
- import * as i25 from "./components/abstract-confirm-dialog.component";
27
- import * as i26 from "@angular/common";
28
- import * as i27 from "@angular/material/button";
29
- import * as i28 from "@angular/material/dialog";
30
- import * as i29 from "@angular/material/tabs";
31
- import * as i30 from "@angular/cdk/portal";
32
- import * as i31 from "@angular/router";
33
- import * as i32 from "@angular/material/icon";
34
- import * as i33 from "../directives/directives.module";
35
- import * as i34 from "@angular/flex-layout";
9
+ import * as i8 from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
10
+ import * as i9 from "./components/add-item-interaction-context/add-item-interaction-context.component";
11
+ import * as i10 from "./components/activity-actions/activity-actions.component";
12
+ import * as i11 from "./components/popup-interaction-context/popup-interaction-context.component";
13
+ import * as i12 from "./components/input-activities/string-input-activity";
14
+ import * as i13 from "./components/input-activities/select-input-activity";
15
+ import * as i14 from "./components/input-activities/input-activity";
16
+ import * as i15 from "./directives/interaction-context-trigger-for.directive";
17
+ import * as i16 from "./activity";
18
+ import * as i17 from "./components/activity-title/activity-title.component";
19
+ import * as i18 from "./components/activity-body/activity-body.component";
20
+ import * as i19 from "./components/activity-triggers/abstract-activity-trigger.component";
21
+ import * as i20 from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
22
+ import * as i21 from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
23
+ import * as i22 from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
24
+ import * as i23 from "./components/add-card-activity/add-card-activity.component";
25
+ import * as i24 from "./components/editors/inline-string-editor/inline-string-editor.component";
26
+ import * as i25 from "./components/abstract-dialog.component";
27
+ import * as i26 from "./components/abstract-confirm-dialog.component";
28
+ import * as i27 from "@angular/common";
29
+ import * as i28 from "@angular/material/button";
30
+ import * as i29 from "@angular/material/dialog";
31
+ import * as i30 from "@angular/material/tabs";
32
+ import * as i31 from "@angular/cdk/portal";
33
+ import * as i32 from "@angular/router";
34
+ import * as i33 from "@angular/material/icon";
35
+ import * as i34 from "../directives/directives.module";
36
36
  import * as i35 from "../components/components.module";
37
37
  import * as i36 from "@angular/forms";
38
38
  import * as i37 from "@angular/material/input";
@@ -40,6 +40,6 @@ import * as i38 from "@angular/material/form-field";
40
40
  import * as i39 from "@angular/cdk/a11y";
41
41
  export declare class InteractionModule {
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractionModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.AddItemInteractionContextComponent, typeof i9.ActivityActionsComponent, typeof i10.PopupInteractionContextComponent, typeof i11.StringInputActivity, typeof i12.SelectInputActivity, typeof i13.InputActivity, typeof i14.InteractionContextTriggerForDirective, typeof i15.Activity, typeof i16.ActivityTitleComponent, typeof i17.ActivityBodyComponent, typeof i9.ActivityActionsComponent, typeof i18.AbstractActivityTriggerComponent, typeof i19.PopupActivityTriggerComponent, typeof i20.InlineActivityTriggerComponent, typeof i21.ModalActivityTriggerComponent, typeof i22.AddCardActivityComponent, typeof i23.InlineStringEditorComponent, typeof i24.AbstractDialogComponent, typeof i25.AbstractConfirmDialogComponent], [typeof i26.CommonModule, typeof i27.MatButtonModule, typeof i28.MatDialogModule, typeof i29.MatTabsModule, typeof i30.PortalModule, typeof i31.RouterModule, typeof i32.MatIconModule, typeof i33.DirectivesModule, typeof i34.FlexModule, typeof i34.GridModule, typeof i35.ComponentsModule, typeof i36.FormsModule, typeof i37.MatInputModule, typeof i38.MatFormFieldModule, typeof i39.A11yModule], [typeof i1.ActivityContainerComponent, typeof i6.ActivityOutletComponent, typeof i16.ActivityTitleComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.AddItemInteractionContextComponent, typeof i9.ActivityActionsComponent, typeof i10.PopupInteractionContextComponent, typeof i14.InteractionContextTriggerForDirective, typeof i11.StringInputActivity, typeof i12.SelectInputActivity, typeof i17.ActivityBodyComponent, typeof i19.PopupActivityTriggerComponent, typeof i20.InlineActivityTriggerComponent, typeof i21.ModalActivityTriggerComponent, typeof i22.AddCardActivityComponent, typeof i23.InlineStringEditorComponent]>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.SlideDownInteractionContextComponent, typeof i9.AddItemInteractionContextComponent, typeof i10.ActivityActionsComponent, typeof i11.PopupInteractionContextComponent, typeof i12.StringInputActivity, typeof i13.SelectInputActivity, typeof i14.InputActivity, typeof i15.InteractionContextTriggerForDirective, typeof i16.Activity, typeof i17.ActivityTitleComponent, typeof i18.ActivityBodyComponent, typeof i10.ActivityActionsComponent, typeof i19.AbstractActivityTriggerComponent, typeof i20.PopupActivityTriggerComponent, typeof i21.InlineActivityTriggerComponent, typeof i22.ModalActivityTriggerComponent, typeof i23.AddCardActivityComponent, typeof i24.InlineStringEditorComponent, typeof i25.AbstractDialogComponent, typeof i26.AbstractConfirmDialogComponent], [typeof i27.CommonModule, typeof i28.MatButtonModule, typeof i29.MatDialogModule, typeof i30.MatTabsModule, typeof i31.PortalModule, typeof i32.RouterModule, typeof i33.MatIconModule, typeof i34.DirectivesModule, typeof i35.ComponentsModule, typeof i36.FormsModule, typeof i37.MatInputModule, typeof i38.MatFormFieldModule, typeof i39.A11yModule], [typeof i1.ActivityContainerComponent, typeof i6.ActivityOutletComponent, typeof i17.ActivityTitleComponent, typeof i7.InPlaceInteractionContextComponent, typeof i9.AddItemInteractionContextComponent, typeof i10.ActivityActionsComponent, typeof i11.PopupInteractionContextComponent, typeof i15.InteractionContextTriggerForDirective, typeof i12.StringInputActivity, typeof i13.SelectInputActivity, typeof i18.ActivityBodyComponent, typeof i20.PopupActivityTriggerComponent, typeof i21.InlineActivityTriggerComponent, typeof i22.ModalActivityTriggerComponent, typeof i23.AddCardActivityComponent, typeof i24.InlineStringEditorComponent, typeof i8.SlideDownInteractionContextComponent]>;
44
44
  static ɵinj: i0.ɵɵInjectorDeclaration<InteractionModule>;
45
45
  }
@@ -1,5 +1,5 @@
1
1
  import { ComponentPortal } from '@angular/cdk/portal';
2
- import { ChangeDetectorRef, EventEmitter, InjectionToken } from '@angular/core';
2
+ import { EventEmitter, InjectionToken } from '@angular/core';
3
3
  import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
4
4
  import { BooleanValueModelChain, Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
5
5
  import { DisposableComponent } from '../../../components/disposable-component';
@@ -13,7 +13,6 @@ export declare class PlaceOutletComponent extends DisposableComponent {
13
13
  private readonly router;
14
14
  private readonly placeRouter;
15
15
  readonly placeConfig: PlaceConfig;
16
- private readonly cdr;
17
16
  accessor animate$: ValueModel<boolean>;
18
17
  accessor animate: boolean;
19
18
  accessor customPlaceAnimationOrder$: ListModel<Constructable<PlaceComponent>>;
@@ -37,7 +36,7 @@ export declare class PlaceOutletComponent extends DisposableComponent {
37
36
  readonly animationEnabled: BooleanValueModelChain;
38
37
  readonly authorised: ValueModelChain<boolean>;
39
38
  readonly notAuthorisedNoticePortal: ComponentPortal<any>;
40
- constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent, cdr: ChangeDetectorRef);
39
+ constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent);
41
40
  getAnimationOrder(): number;
42
41
  get animationDuration(): string;
43
42
  get isAuthorised(): boolean;
@@ -53,6 +52,6 @@ export declare class PlaceOutletComponent extends DisposableComponent {
53
52
  private notifyComponentVisitSegmentChanged;
54
53
  animationStarted(): void;
55
54
  animationDone(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }, null]>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }]>;
57
56
  static ɵcmp: i0.ɵɵComponentDeclaration<PlaceOutletComponent, "aup-place-outlet", never, { "animate$": { "alias": "animate$"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "customPlaceAnimationOrder$": { "alias": "placeAnimationOrderModel"; "required": false; }; "customPlaceAnimationOrder": { "alias": "placeAnimationOrder"; "required": false; }; }, { "placeChanged": "placeChanged"; }, never, never, false, never>;
58
57
  }
@@ -1,7 +1,7 @@
1
1
  import { ActivatedRouteSnapshot } from '@angular/router';
2
- import { Constructable, ListModel, ValueModel } from '@coolon/pectin';
2
+ import { Constructable, ListModel } from '@coolon/pectin';
3
3
  import 'reflect-metadata';
4
- import { DisposableComponent } from '../components/disposable-component';
4
+ import { LoadableComponent } from "../components/loadable-component";
5
5
  import { InteractionContext } from '../interaction/interaction-context';
6
6
  import { PlaceDefinition } from './place-definition';
7
7
  import { PlaceRouter } from "./place-router";
@@ -11,7 +11,7 @@ import { VisitSegment } from './visit-segment';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare const DEFINITION_META_DATA_KEY = "PLACE_DEFINITION_OPTIONS";
13
13
  export declare const ROUTE_PARAMETER_LIST_KEY: unique symbol;
14
- export declare class PlaceComponent extends DisposableComponent {
14
+ export declare class PlaceComponent extends LoadableComponent {
15
15
  private readonly _placeReadyCallbacks;
16
16
  private visitModel;
17
17
  private _inVisitUpdate;
@@ -32,7 +32,7 @@ export declare class PlaceComponent extends DisposableComponent {
32
32
  */
33
33
  private installAndInitialiseBinding;
34
34
  get placeDefinition(): PlaceDefinition;
35
- get active(): ValueModel<boolean>;
35
+ get active(): import("@coolon/pectin").ValueModel<boolean>;
36
36
  /**
37
37
  * Called by the router to see if this component can deactivate. This isn't called for route parameter changes.
38
38
  * @param interactionContext
@@ -14,12 +14,11 @@ import * as i12 from "@angular/material/list";
14
14
  import * as i13 from "@angular/material/tooltip";
15
15
  import * as i14 from "@angular/material/icon";
16
16
  import * as i15 from "../directives/directives.module";
17
- import * as i16 from "@angular/flex-layout";
18
- import * as i17 from "../components/components.module";
19
- import * as i18 from "@angular/cdk/portal";
20
- import * as i19 from "@angular/material/card";
17
+ import * as i16 from "../components/components.module";
18
+ import * as i17 from "@angular/cdk/portal";
19
+ import * as i18 from "@angular/material/card";
21
20
  export declare class PlaceModule {
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PlaceModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatTabsModule, typeof i12.MatListModule, typeof i13.MatTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.FlexModule, typeof i17.ComponentsModule, typeof i18.PortalModule, typeof i19.MatCardModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatTabsModule, typeof i12.MatListModule, typeof i13.MatTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.ComponentsModule, typeof i17.PortalModule, typeof i18.MatCardModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
24
23
  static ɵinj: i0.ɵɵInjectorDeclaration<PlaceModule>;
25
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.9",
3
+ "version": "16.1.0-aplpha.90",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,17 +12,19 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.0",
16
- "@typescript-plus/fast-memoize-decorator": "^0.2.1",
15
+ "@coolon/pectin": "^5.0.0-alpha.37",
16
+ "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",
19
19
  "reflect-metadata": "^0.1.13",
20
20
  "resize-observer-polyfill": "^1.5.1",
21
21
  "typescript-string-enums": "^1.0.0",
22
22
  "json5": "^2.1.0",
23
- "immer": ">=7.0.15",
23
+ "immer": ">=10.0.3",
24
24
  "escape-string-regexp": "^5.0.0",
25
- "@coolon/typescript-utilities": "^5.0.0-alpha.3"
25
+ "@coolon/typescript-utilities": "^5.0.0-alpha.8",
26
+ "fractional-indexing": "^3.2.0",
27
+ "ng-table-virtual-scroll": "^1.6.1"
26
28
  },
27
29
  "optionalDependencies": {
28
30
  "@fortawesome/fontawesome-free": "^6.0.0"
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWxpc3QtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXItdWktcG93ZXJ1cHMvc3JjL2xpYi9jb21wb25lbnRzL3RhYmxlcy9jb2x1bW4vY29sdW1uLWxpc3QtbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHlCQUF5QixFQUFFLEdBQUcsRUFBRSxJQUFJLEVBQTRCLGdCQUFnQixFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFaEgsT0FBTyxFQUFDLEtBQUssRUFBQyxNQUFNLFFBQVEsQ0FBQztBQUc3QixNQUFNLE9BQU8sZUFBcUIsU0FBUSx5QkFBb0Q7SUFFM0UsWUFBWSxHQUFHLElBQUksZ0JBQWdCLEVBQW9CLENBQUM7SUFDeEQsWUFBWSxDQUEwQztJQUV2RTtRQUNFLEtBQUssRUFBRSxDQUFDO1FBQ1IsTUFBTSxFQUFFLEtBQUssRUFBRSxHQUFHLEdBQUcsQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDeEMsSUFBSSxDQUFDLFlBQVksR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxDQUFDLE9BQU8sQ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sdW1uSWR9IGFscmVhZHkgZXhpc3RzYCk7XG4gICAgfVxuICAgIHRoaXMucmVnaXN0ZXJEaXNwb3NhYmxlKGNvbHVtbik7XG4gICAgdGhpcy5ydW5JblRyYW5zYWN0aW9uKCgpID0+IHtcbiAgICAgIGlmICghaXNOaWwoaW5kZXgpKSB7XG4gICAgICAgIHRoaXMuX2FsbENvbHVtbnMkLmluc2VydChpbmRleCwgY29sdW1uKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuX2FsbENvbHVtbnMkLnB1c2goY29sdW1uKTtcbiAgICAgIH1cbiAgICAgIHRoaXMucmVnaXN0ZXJEaXNwb3NhYmxlKHRoaXMudHJhY2tTb3VyY2UoY29sdW1uLnZpc2libGUkKSk7XG4gICAgfSk7XG4gICAgcmV0dXJuIGNvbHVtbjtcbiAgfVxuXG4gIGRvQ29tcHV0ZVZhbHVlKCk6IENvbHVtbk1vZGVsPFJvdz5bXSB7XG4gICAgcmV0dXJuIHRoaXMuX2FsbENvbHVtbnMkLnZhbHVlLmZpbHRlcihjID0+IGMudmlzaWJsZSQudmFsdWUpO1xuICB9XG59XG4iXX0=
@@ -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
- }