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

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 +2 -10
  2. package/assets/form.scss +27 -62
  3. package/assets/table.scss +24 -13
  4. package/assets/tabs.scss +6 -2
  5. package/esm2022/lib/animations/slide-animations.mjs +1 -6
  6. package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
  7. package/esm2022/lib/components/commands/command/command.component.mjs +10 -24
  8. package/esm2022/lib/components/commands/command-face/command-face.component.mjs +3 -11
  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 +4 -6
  12. package/esm2022/lib/components/components.module.mjs +8 -22
  13. package/esm2022/lib/components/disposable-component.mjs +37 -19
  14. package/esm2022/lib/components/exports.mjs +2 -6
  15. package/esm2022/lib/components/forms/abstract-input.component.mjs +12 -55
  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/multiple-select-input/multiple-select-input.component.mjs +2 -2
  19. package/esm2022/lib/components/forms/number-input/number-input.component.mjs +10 -49
  20. package/esm2022/lib/components/forms/password-input/password-input.component.mjs +3 -40
  21. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +10 -11
  22. package/esm2022/lib/components/forms/string-input/string-input.component.mjs +9 -21
  23. package/esm2022/lib/components/icon/icon.component.mjs +4 -7
  24. package/esm2022/lib/components/resize-aware.component.mjs +24 -61
  25. package/esm2022/lib/components/switch-case/switch-case.component.mjs +7 -5
  26. package/esm2022/lib/components/tables/abstract-table-model.mjs +25 -42
  27. package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -19
  28. package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
  29. package/esm2022/lib/components/tables/column/column-model.mjs +3 -13
  30. package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
  31. package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
  32. package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
  33. package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -3
  34. package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
  35. package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
  36. package/esm2022/lib/components/tables/editor/edit-session.mjs +2 -4
  37. package/esm2022/lib/components/tables/filter/table-filter-model.mjs +2 -4
  38. package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
  39. package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +3 -3
  40. package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +41 -132
  41. package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +2 -7
  42. package/esm2022/lib/components/tables/table/table.component.mjs +68 -19
  43. package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
  44. package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
  45. package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +4 -7
  46. package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +3 -3
  47. package/esm2022/lib/components/text/markdown/markdown.component.mjs +2 -2
  48. package/esm2022/lib/directives/directives.module.mjs +1 -1
  49. package/esm2022/lib/directives/exports.mjs +1 -2
  50. package/esm2022/lib/directives/highlight.pipe.mjs +2 -2
  51. package/esm2022/lib/interaction/activity.mjs +4 -3
  52. package/esm2022/lib/interaction/alert.mjs +2 -2
  53. package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +4 -8
  54. package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +9 -7
  55. package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +11 -28
  56. package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +4 -4
  57. package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
  58. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +2 -2
  59. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +3 -3
  60. package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +2 -2
  61. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +1 -3
  62. package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +4 -8
  63. package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +2 -2
  64. package/esm2022/lib/interaction/exports.mjs +1 -2
  65. package/esm2022/lib/interaction/interaction.module.mjs +9 -7
  66. package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +4 -3
  67. package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +9 -7
  68. package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +2 -2
  69. package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
  70. package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
  71. package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +6 -3
  72. package/esm2022/lib/place/place-component.mjs +7 -7
  73. package/esm2022/lib/place/place-definition.mjs +3 -3
  74. package/esm2022/lib/place/place-history.mjs +2 -2
  75. package/esm2022/lib/place/place.decorator.mjs +2 -2
  76. package/esm2022/lib/place/place.module.mjs +5 -1
  77. package/esm2022/lib/place/route/formatter.mjs +2 -2
  78. package/esm2022/lib/place/route/parameter-decorators.mjs +50 -54
  79. package/esm2022/lib/place/route/parameter-definition.mjs +2 -2
  80. package/esm2022/lib/place/url-snapshot.mjs +3 -3
  81. package/esm2022/lib/place/visit-segment.mjs +2 -2
  82. package/esm2022/lib/place/visit.mjs +2 -2
  83. package/fesm2022/coolon-angular-ui-powerups.mjs +488 -1078
  84. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  85. package/lib/animations/slide-animations.d.ts +0 -1
  86. package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
  87. package/lib/components/commands/command/command.component.d.ts +1 -2
  88. package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
  89. package/lib/components/commands/command-face.d.ts +7 -5
  90. package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +2 -2
  91. package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
  92. package/lib/components/components.module.d.ts +53 -55
  93. package/lib/components/disposable-component.d.ts +8 -11
  94. package/lib/components/exports.d.ts +1 -5
  95. package/lib/components/forms/abstract-input.component.d.ts +5 -13
  96. package/lib/components/forms/number-input/number-input.component.d.ts +4 -8
  97. package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
  98. package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
  99. package/lib/components/forms/string-input/string-input.component.d.ts +1 -3
  100. package/lib/components/resize-aware.component.d.ts +5 -24
  101. package/lib/components/switch-case/switch-case.component.d.ts +3 -2
  102. package/lib/components/tables/abstract-table-model.d.ts +5 -10
  103. package/lib/components/tables/abstract-table.component.d.ts +2 -3
  104. package/lib/components/tables/column/column-list-model.d.ts +13 -0
  105. package/lib/components/tables/column/column-model.d.ts +1 -5
  106. package/lib/components/tables/column/custom-template-column-model.d.ts +1 -2
  107. package/lib/components/tables/column/custom-value-column-model.d.ts +1 -2
  108. package/lib/components/tables/column/editor-controls-column-model.d.ts +1 -2
  109. package/lib/components/tables/column/list-propery-column-model.d.ts +1 -2
  110. package/lib/components/tables/column/property-column-model.d.ts +1 -2
  111. package/lib/components/tables/column/selection-column-model.d.ts +1 -2
  112. package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
  113. package/lib/components/tables/renderer/table-body/table-body.component.d.ts +16 -35
  114. package/lib/components/tables/renderer/table-more-menu/table-more-menu.component.d.ts +1 -2
  115. package/lib/components/tables/table/table.component.d.ts +10 -5
  116. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +1 -2
  117. package/lib/components/tables/tree-table/tree-table-component.d.ts +0 -3
  118. package/lib/directives/exports.d.ts +0 -1
  119. package/lib/interaction/activity.d.ts +2 -2
  120. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +0 -1
  121. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -1
  122. package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -7
  123. package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
  124. package/lib/interaction/components/editors/edit-context.d.ts +1 -1
  125. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
  126. package/lib/interaction/exports.d.ts +0 -1
  127. package/lib/interaction/interaction.module.d.ts +28 -28
  128. package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -3
  129. package/lib/place/place-component.d.ts +4 -4
  130. package/lib/place/place.module.d.ts +5 -4
  131. package/package.json +5 -7
  132. package/esm2022/lib/components/forms/form-field.mjs +0 -2
  133. package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
  134. package/esm2022/lib/components/loadable-component.mjs +0 -49
  135. package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
  136. package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
  137. package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
  138. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -129
  139. package/lib/components/forms/form-field.d.ts +0 -5
  140. package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
  141. package/lib/components/loadable-component.d.ts +0 -17
  142. package/lib/components/tables/column/column-manager.d.ts +0 -19
  143. package/lib/components/tables/column/column-order-manager.d.ts +0 -20
  144. package/lib/directives/resize-observer.directive.d.ts +0 -16
  145. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
@@ -7,7 +7,6 @@ import { ColumnTextSearchFormatter } from "../filter/column-text-search-formatte
7
7
  import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from "../renderer/cell-portal-ref";
8
8
  import { TableCellComponent } from "../renderer/table-cell/table-cell.component";
9
9
  import { TableHeaderCellComponent } from "../renderer/table-header-cell/table-header-cell.component";
10
- import { ColumnOrderManager } from "./column-order-manager";
11
10
  import { ColumnTextProperties } from "./column-text-properties";
12
11
  export interface RowData<Row> {
13
12
  row: Row;
@@ -24,7 +23,6 @@ export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends
24
23
  }
25
24
  export declare class ColumnModel<Row> extends GarbageCollector {
26
25
  readonly columnId: string;
27
- private readonly order;
28
26
  private textPropertiesProvider;
29
27
  private _columnTextProperties;
30
28
  private _columnHeaderPortalRef;
@@ -38,7 +36,7 @@ export declare class ColumnModel<Row> extends GarbageCollector {
38
36
  readonly dasherisedColumnId: string;
39
37
  private readonly textSearchDelegate;
40
38
  readonly visible$: ValueModel<boolean>;
41
- constructor(columnId: string, order: ColumnOrderManager, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
39
+ constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
42
40
  protected installHeaderRenderer(): void;
43
41
  getHeaderText(): string;
44
42
  isVisible(): boolean;
@@ -53,8 +51,6 @@ export declare class ColumnModel<Row> extends GarbageCollector {
53
51
  */
54
52
  textProperties(columnTextProperties: ColumnTextProperties): this;
55
53
  columnTextProperties(columnTextProperties: ColumnTextProperties): this;
56
- positionAfter(column: ColumnModel<any>): this;
57
- positionBefore(column: ColumnModel<any>): this;
58
54
  getSearchTextFor(row: Row): string;
59
55
  configureColumnTextSearch(formatter: ColumnTextSearchFormatter<Row>): this;
60
56
  configureColumnTextSearch<T>(formatter: ColumnTextSearchFormatter<T>, mapper: (row: Row) => T): this;
@@ -1,9 +1,8 @@
1
1
  import { TemplateRef, ViewContainerRef } from "@angular/core";
2
2
  import { ColumnModel } from "./column-model";
3
- import { ColumnOrderManager } from "./column-order-manager";
4
3
  export declare class CustomTemplateColumnModel<Row> extends ColumnModel<Row> {
5
4
  private readonly config;
6
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider);
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider);
7
6
  setTemplate(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
8
7
  selectRowOnClick(selectOnRowClick: boolean): this;
9
8
  }
@@ -1,9 +1,8 @@
1
1
  import { ComponentType } from "@angular/cdk/overlay";
2
2
  import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column-model";
3
- import { ColumnOrderManager } from "./column-order-manager";
4
3
  export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
5
4
  private getValue;
6
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
5
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
7
6
  cellRenderer<C extends {
8
7
  value: Partial<V>;
9
8
  }>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
@@ -2,9 +2,8 @@ import { ComponentType } from "@angular/cdk/overlay";
2
2
  import { Command, DirtyTrackingForm } from "@coolon/pectin";
3
3
  import { EditSession } from "../editor/edit-session";
4
4
  import { ColumnModel } from "./column-model";
5
- import { ColumnOrderManager } from "./column-order-manager";
6
5
  export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
7
- constructor(columnId: string, order: ColumnOrderManager, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
6
+ constructor(columnId: string, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
8
7
  cellRenderer(componentType: ComponentType<{
9
8
  row: Row;
10
9
  editSession: EditSession<Row>;
@@ -3,12 +3,11 @@ import { Types, Validator } from "@coolon/pectin";
3
3
  import { CellListEditorComponent } from "../renderer/cell-editors";
4
4
  import { CellRenderer } from "../renderer/cell-renderer";
5
5
  import { ColumnModel } from "./column-model";
6
- import { ColumnOrderManager } from "./column-order-manager";
7
6
  export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
8
7
  readonly property: P;
9
8
  private _userFormat;
10
9
  private _defaultSearchTextFormat;
11
- constructor(id: string, order: ColumnOrderManager, property: P, defaults: ColumnModel.TextPropertiesProvider);
10
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
12
11
  cellRenderer(componentType: ComponentType<CellRenderer<Types.ArrayElementType<Row, P>[]>>): Omit<this, "format">;
13
12
  cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, validators?: Validator<Types.ArrayElementType<Row, P>[]>[], initialiseComponent?: (component: C) => void): this;
14
13
  cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, initialiseComponent?: (component: C) => void): this;
@@ -4,12 +4,11 @@ import { EditableCellRenderer } from "../editor/editable-cell-renderer";
4
4
  import { CellEditorComponent } from "../renderer/cell-editors";
5
5
  import { CellRenderer } from "../renderer/cell-renderer";
6
6
  import { CellRendererOptions, ColumnModel, MutableCellRendererOptions, OnComponentInit } from "./column-model";
7
- import { ColumnOrderManager } from "./column-order-manager";
8
7
  export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
9
8
  readonly property: P;
10
9
  private _userFormat;
11
10
  private _defaultSearchTextFormatter;
12
- constructor(id: string, order: ColumnOrderManager, property: P, defaults: ColumnModel.TextPropertiesProvider);
11
+ constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
13
12
  cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): Omit<this, "format">;
14
13
  cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): Omit<this, "format">;
15
14
  liveEditCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
@@ -1,12 +1,11 @@
1
1
  import { ThemePalette } from "@angular/material/core";
2
2
  import { Proxified, SelectionModel } from "@coolon/pectin";
3
3
  import { ColumnModel } from "./column-model";
4
- import { ColumnOrderManager } from "./column-order-manager";
5
4
  export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
6
5
  readonly selectionModel: Proxified<SelectionModel<Row>>;
7
6
  private _enableHeaderControls;
8
7
  private _color;
9
- constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider, selectionModel: Proxified<SelectionModel<Row>>);
8
+ constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: Proxified<SelectionModel<Row>>);
10
9
  useSelectionModel(selectionModel: SelectionModel<Row>): void;
11
10
  protected getDefaultHeaderText(): string;
12
11
  enableHeaderControls(enable: boolean): this;
@@ -1,10 +1 @@
1
- import { AbstractConstructable } from "@coolon/restilence-plugin";
2
1
  export type TextSearchPredicate<Row> = (row: Row, regex: RegExp) => boolean;
3
- export declare class TextSearchContext<Row> {
4
- readonly row: Row;
5
- readonly searchText: string;
6
- readonly searchRegex: RegExp;
7
- constructor(row: Row, searchText: string, searchRegex: RegExp);
8
- getOrCreate<T>(type: AbstractConstructable<T>, create: () => T): void;
9
- matchesText(text: string): boolean;
10
- }
@@ -1,55 +1,36 @@
1
- import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
2
- import { AfterViewInit, ElementRef, InjectionToken, OnInit } from "@angular/core";
3
- import { ListModel, ListModelChain, MutableValueModel, ValueModel } from "@coolon/pectin";
4
- import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
1
+ import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
2
+ import { ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
5
3
  import { ResizeAwareComponent } from "../../../resize-aware.component";
6
4
  import { AbstractTableModel } from "../../abstract-table-model";
7
5
  import { ColumnModel } from "../../column/column-model";
8
6
  import * as i0 from "@angular/core";
9
- export declare const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER: InjectionToken<number>;
10
- export declare class TableRowAttributesDirective implements OnInit {
11
- protected readonly elementRef: ElementRef<HTMLElement>;
12
- aupTableRowAttributes: Record<string, string>;
13
- constructor(elementRef: ElementRef<HTMLElement>);
14
- ngOnInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
17
- }
18
- export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements AfterViewInit {
19
- protected bufferMultiplier: number;
7
+ export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements OnInit {
20
8
  accessor data$: ListModel<Row>;
21
9
  accessor tableModel: AbstractTableModel<Row>;
22
10
  accessor showHeader$: ValueModel<boolean>;
23
11
  accessor showHeader: boolean;
12
+ readonly visibleRowCount: EventEmitter<number>;
24
13
  trackBy: (index: number, item: Row) => any;
25
- accessor scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
26
- accessor scrollMode: TableBodyComponent.ScrollMode;
27
- scrollViewport: CdkVirtualScrollViewport;
14
+ /**
15
+ * Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
16
+ * need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
17
+ * containment area.
18
+ */
19
+ enableScrolling: boolean;
28
20
  columns$: ListModelChain<ColumnModel<Row>>;
29
21
  columnIds$: ListModelChain<string>;
30
22
  private columnsById$;
31
- protected readonly headerHeight$: MutableValueModel<number>;
32
- protected rowHeight$: MutableValueModel<number>;
23
+ readonly _visibleRowCount$: ValueModel<number>;
24
+ private readonly headerHeight$;
25
+ private readonly rowHeight$;
33
26
  baseCssClass: string;
34
- protected virtualScrollDataSource: TableVirtualScrollDataSource<Row>;
35
- private virtualScrollActive$;
36
- private scrollTimeout;
37
- constructor(bufferMultiplier?: number);
38
- ngAfterViewInit(): void;
27
+ constructor(elementRef: ElementRef, ngZone: NgZone);
39
28
  get hideHeader(): boolean;
40
- get headerHeightCssVar(): string;
41
- get rowHeightCssVar(): string;
42
29
  isEditing(row: Row): boolean;
43
30
  notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
44
31
  isFirstVisibleColumn(columnId: string): boolean;
45
32
  isLastVisibleColumn(columnId: string): boolean;
46
33
  getColumnClasses(columnId: string): string[];
47
- private scheduleTableHeightCheck;
48
- private notifyScrolled;
49
- private clearScrollTimeout;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, [{ optional: true; }]>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "scrollMode$": { "alias": "scrollMode$"; "required": false; }; "scrollMode": { "alias": "scrollMode"; "required": false; }; }, {}, never, never, false, never>;
52
- }
53
- export declare namespace TableBodyComponent {
54
- type ScrollMode = "none" | "classic" | "virtual";
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "enableScrolling": { "alias": "enableScrolling"; "required": false; }; }, { "visibleRowCount": "visibleRowCount"; }, never, never, false, never>;
55
36
  }
@@ -13,9 +13,8 @@ export declare class TableMoreMenuComponent<T> extends DisposableComponent imple
13
13
  private readonly popupType$;
14
14
  popupComponentPortal$: ValueModelChain<ComponentPortal<TableMoreMenuPopupComponent<T>>>;
15
15
  private readonly _visible$;
16
- private initialiseCallback?;
17
16
  constructor();
18
- configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>, configureCallback?: (component: TableMoreMenuPopupComponent<T>) => void): void;
17
+ configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>): void;
19
18
  preventDefault($event: MouseEvent): void;
20
19
  initialise($event: CdkPortalOutletAttachedRef): void;
21
20
  get visible$(): import("@coolon/pectin").ValueModel<boolean>;
@@ -1,9 +1,8 @@
1
1
  import { Injector, OnInit } from "@angular/core";
2
- import { ValueModelChain } from "@coolon/pectin";
2
+ import { ValueModel } from "@coolon/pectin";
3
3
  import { AbstractTableModel } from '../abstract-table-model';
4
4
  import { AbstractTableComponent } from '../abstract-table.component';
5
5
  import { TableFilterModel } from "../filter/table-filter-model";
6
- import { TableBodyComponent } from "../renderer/table-body/table-body.component";
7
6
  import { TableModel } from "./table-model";
8
7
  import * as i0 from "@angular/core";
9
8
  /**
@@ -69,14 +68,20 @@ import * as i0 from "@angular/core";
69
68
  export declare class TableComponent<Row> extends AbstractTableComponent<Row> implements OnInit {
70
69
  accessor tableModel: TableModel<Row>;
71
70
  accessor filterModel: TableFilterModel<Row>;
72
- tableBody: TableBodyComponent<Row>;
71
+ accessor enablePaging$: ValueModel<boolean>;
72
+ accessor enablePaging: boolean;
73
73
  private _footerContentAdded;
74
74
  private readonly _filteredRows$;
75
- protected readonly scrollMode$: ValueModelChain<TableBodyComponent.ScrollMode>;
75
+ private _pageSize;
76
+ private pagedListModel;
76
77
  constructor(injector: Injector);
77
78
  ngOnInit(): void;
78
79
  protected getModel(): AbstractTableModel<Row>;
80
+ get pageController(): import("@coolon/pectin").PageController;
81
+ private configurePaging;
82
+ private disposeOfPagedListModel;
79
83
  footerContentChanged($event: any): void;
84
+ updatePageSize(count: number): void;
80
85
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; }, {}, never, ["[footer], [slot=footer]"], false, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "enablePaging$": { "alias": "enablePaging$"; "required": false; }; "enablePaging": { "alias": "enablePaging"; "required": false; }; }, {}, never, ["[footer]"], false, never>;
82
87
  }
@@ -1,14 +1,13 @@
1
1
  import { ComponentType } from '@angular/cdk/overlay';
2
2
  import { Types } from '@coolon/pectin';
3
3
  import { ColumnModel } from '../column/column-model';
4
- import { ColumnOrderManager } from "../column/column-order-manager";
5
4
  import { TreeLabelCellRendererComponent } from './tree-label-cell-renderer/tree-label-cell-renderer.component';
6
5
  import { TreeTableModel } from './tree-table-model';
7
6
  export declare class TreeLabelColumnModel<Row> extends ColumnModel<Row> {
8
7
  readonly expansionModel: TreeTableModel<Row>;
9
8
  private labelFactory;
10
9
  private iconFactory;
11
- constructor(columnId: string, order: ColumnOrderManager, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
10
+ constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
12
11
  pluck<P extends Types.StringValuePropertiesOf<Row>>(property: P): void;
13
12
  useLabel(factory: (row: Row) => string): void;
14
13
  /**
@@ -1,9 +1,7 @@
1
1
  import { Injector, OnInit } from "@angular/core";
2
- import { ValueModel } from '@coolon/pectin';
3
2
  import { TreeNode } from '@coolon/typescript-utilities';
4
3
  import { AbstractTableModel } from '../abstract-table-model';
5
4
  import { AbstractTableComponent } from '../abstract-table.component';
6
- import { TableBodyComponent } from "../renderer/table-body/table-body.component";
7
5
  import { TreeExpansionModel } from "./tree-expansion-model";
8
6
  import { TreeTableModel } from './tree-table-model';
9
7
  import * as i0 from "@angular/core";
@@ -70,7 +68,6 @@ import * as i0 from "@angular/core";
70
68
  export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> implements OnInit {
71
69
  accessor treeTableModel: TreeTableModel<T>;
72
70
  accessor expansionModel: TreeExpansionModel<T>;
73
- protected readonly scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
74
71
  constructor(injector: Injector);
75
72
  ngOnInit(): void;
76
73
  getModel(): AbstractTableModel<T>;
@@ -9,4 +9,3 @@ export * from "./focus-binding";
9
9
  export * from "./garbage-collector.directive";
10
10
  export * from "./highlight-text-model.directive";
11
11
  export * from "./highlight.pipe";
12
- export * from "./resize-observer.directive";
@@ -1,12 +1,12 @@
1
1
  import { AfterViewInit, InjectionToken } from "@angular/core";
2
2
  import { Command, Disposable, ValueModel } from "@coolon/pectin";
3
- import { LoadableComponent } from "../components/loadable-component";
3
+ import { DisposableComponent } from "../components/disposable-component";
4
4
  import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
5
5
  import { InteractionContext } from "./interaction-context";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare const ACTIVITY_DATA: InjectionToken<any>;
8
8
  type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
9
- export declare class Activity<D, R, E = any> extends LoadableComponent implements AfterViewInit {
9
+ export declare class Activity<D, R, E = any> extends DisposableComponent implements AfterViewInit {
10
10
  readonly activityData: D;
11
11
  private readonly activityReadyListeners;
12
12
  private readonly _busy$;
@@ -4,7 +4,6 @@ import { AbstractDialogComponent } from './abstract-dialog.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AbstractConfirmDialogComponent<D, R, E = any> extends AbstractDialogComponent<D, R, E> {
6
6
  readonly cancelFace: CommandFace;
7
- confirmClass: string;
8
7
  constructor(config: Confirm);
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfirmDialogComponent<any, any, any>, never>;
10
9
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConfirmDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, false, never>;
@@ -1,3 +1,4 @@
1
+ import { ChangeDetectorRef } from "@angular/core";
1
2
  import { Command } from '@coolon/pectin';
2
3
  import { Enum } from 'typescript-string-enums';
3
4
  import { CommandFace } from '../../../components/commands/command-face';
@@ -26,6 +27,7 @@ import * as i0 from "@angular/core";
26
27
  * </aup-activity-actions>
27
28
  */
28
29
  export declare class ActivityActionsComponent extends DisposableComponent {
30
+ private readonly cdr;
29
31
  protected confirmCommandComponent: CommandComponent;
30
32
  protected cancelCommandComponent: CommandComponent;
31
33
  /**
@@ -45,7 +47,7 @@ export declare class ActivityActionsComponent extends DisposableComponent {
45
47
  set style(style: ActivityActionsComponent.Style);
46
48
  layout: ActivityActionsComponent.Layout;
47
49
  align: ActivityActionsComponent.Align;
48
- constructor();
50
+ constructor(cdr: ChangeDetectorRef);
49
51
  hasConfirmFace(): boolean;
50
52
  hasCancelFace(): boolean;
51
53
  initCommands(activity: {
@@ -14,7 +14,6 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
14
14
  tabs: MatTabGroup;
15
15
  activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;
16
16
  activityRefs: ActivityRef<any, any, any>[];
17
- animationDuration: string;
18
17
  private _identifier;
19
18
  private _deferredCleanUp;
20
19
  private interactionServiceApi;
@@ -27,7 +26,6 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
27
26
  readonly busy: DelegatingValueModel<boolean>;
28
27
  readonly syncTabsJob: () => void;
29
28
  readonly stable$: BooleanValueModelChain;
30
- private wasActive;
31
29
  constructor(placeRouter: PlaceRouter);
32
30
  get started$(): import("@coolon/pectin").ValueModel<boolean>;
33
31
  get ready$(): import("@coolon/pectin").ValueModel<boolean>;
@@ -63,13 +61,11 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
63
61
  * Synchronises the selected tab index.
64
62
  */
65
63
  private synchroniseSelectedTabIndex;
66
- finaliseActivityStates(): void;
64
+ private finaliseActivityStates;
67
65
  private getSelectedOutlet;
68
- protected getTabAnimationDuration(): string;
69
- protected getTabAnimationDurationInMillis(): number;
66
+ private getTabAnimationDuration;
70
67
  getSelectedTabIndex(): number;
71
68
  private triggerTabSynchronisation;
72
- onAnimationDone(): void;
73
69
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityContainerComponent<any, any, any>, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, never, false, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityContainerComponent<any, any, any>, "aup-activity-container", never, { "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
75
71
  }
@@ -13,5 +13,5 @@ export declare class ActivityTitleComponent extends DisposableComponent {
13
13
  set color(color: ThemePalette);
14
14
  get color(): ThemePalette;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTitleComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[slot='title-end']"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTitleComponent, "aup-activity-title", never, { "hasTransparentBackground": { "alias": "hasTransparentBackground"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
17
17
  }
@@ -1,3 +1,3 @@
1
1
  export interface EditContext<T> {
2
- injectError(error: string): void;
2
+ injectError(error: string): any;
3
3
  }
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
16
16
  * </aup-in-place-interaction-context>
17
17
  *
18
18
  * in your component
19
- * @ViewChild(InPlaceInteractionContextComponent)
19
+ * @ViewChild('inPlaceInteractionContext', { static: true })
20
20
  * interactionContext: InteractionContext;
21
21
  *
22
22
  *
@@ -35,7 +35,6 @@ export * from "./components/input-activities/input-activity";
35
35
  export * from "./components/input-activities/select-input-activity";
36
36
  export * from "./components/input-activities/string-input-activity";
37
37
  export * from "./components/popup-interaction-context/popup-interaction-context.component";
38
- export * from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
39
38
  export * from "./directives/interaction-context-trigger-for.directive";
40
39
  export * from "./services/interaction-service-routing-adapter";
41
40
  export * from "./services/interaction.service";
@@ -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/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";
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";
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.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]>;
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]>;
44
44
  static ɵinj: i0.ɵɵInjectorDeclaration<InteractionModule>;
45
45
  }
@@ -1,5 +1,5 @@
1
1
  import { ComponentPortal } from '@angular/cdk/portal';
2
- import { EventEmitter, InjectionToken } from '@angular/core';
2
+ import { ChangeDetectorRef, 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,6 +13,7 @@ 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;
16
17
  accessor animate$: ValueModel<boolean>;
17
18
  accessor animate: boolean;
18
19
  accessor customPlaceAnimationOrder$: ListModel<Constructable<PlaceComponent>>;
@@ -36,7 +37,7 @@ export declare class PlaceOutletComponent extends DisposableComponent {
36
37
  readonly animationEnabled: BooleanValueModelChain;
37
38
  readonly authorised: ValueModelChain<boolean>;
38
39
  readonly notAuthorisedNoticePortal: ComponentPortal<any>;
39
- constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent);
40
+ constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent, cdr: ChangeDetectorRef);
40
41
  getAnimationOrder(): number;
41
42
  get animationDuration(): string;
42
43
  get isAuthorised(): boolean;
@@ -52,6 +53,6 @@ export declare class PlaceOutletComponent extends DisposableComponent {
52
53
  private notifyComponentVisitSegmentChanged;
53
54
  animationStarted(): void;
54
55
  animationDone(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }]>;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }, null]>;
56
57
  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>;
57
58
  }
@@ -1,7 +1,7 @@
1
1
  import { ActivatedRouteSnapshot } from '@angular/router';
2
- import { Constructable, ListModel } from '@coolon/pectin';
2
+ import { Constructable, ListModel, ValueModel } from '@coolon/pectin';
3
3
  import 'reflect-metadata';
4
- import { LoadableComponent } from "../components/loadable-component";
4
+ import { DisposableComponent } from '../components/disposable-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 LoadableComponent {
14
+ export declare class PlaceComponent extends DisposableComponent {
15
15
  private readonly _placeReadyCallbacks;
16
16
  private visitModel;
17
17
  private _inVisitUpdate;
@@ -32,7 +32,7 @@ export declare class PlaceComponent extends LoadableComponent {
32
32
  */
33
33
  private installAndInitialiseBinding;
34
34
  get placeDefinition(): PlaceDefinition;
35
- get active(): import("@coolon/pectin").ValueModel<boolean>;
35
+ get active(): 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,11 +14,12 @@ 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 "../components/components.module";
18
- import * as i17 from "@angular/cdk/portal";
19
- import * as i18 from "@angular/material/card";
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";
20
21
  export declare class PlaceModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PlaceModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.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]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PlaceModule, [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent, typeof i6.NotAuthorisedNoticeComponent], [typeof i7.CommonModule, typeof i8.BrowserAnimationsModule, typeof i9.MatProgressSpinnerModule, typeof i10.RouterModule, typeof i11.MatTabsModule, typeof i12.MatListModule, typeof i13.MatTooltipModule, typeof i14.MatIconModule, typeof i15.DirectivesModule, typeof i16.FlexModule, typeof i17.ComponentsModule, typeof i18.PortalModule, typeof i19.MatCardModule], [typeof i1.PlaceOutletComponent, typeof i2.TabbedPlaceNavigationComponent, typeof i3.ListPlaceNavComponent, typeof i4.SidePlaceNavigationComponent, typeof i5.AbstractPlaceNavigationComponent]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<PlaceModule>;
24
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.88",
3
+ "version": "16.1.0-aplpha.9",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,19 +12,17 @@
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.37",
16
- "fast-typescript-memoize": "^1.1.1",
15
+ "@coolon/pectin": "^5.0.0-alpha.0",
16
+ "@typescript-plus/fast-memoize-decorator": "^0.2.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": ">=10.0.3",
23
+ "immer": ">=7.0.15",
24
24
  "escape-string-regexp": "^5.0.0",
25
- "@coolon/typescript-utilities": "^5.0.0-alpha.8",
26
- "fractional-indexing": "^3.2.0",
27
- "ng-table-virtual-scroll": "^1.6.1"
25
+ "@coolon/typescript-utilities": "^5.0.0-alpha.3"
28
26
  },
29
27
  "optionalDependencies": {
30
28
  "@fortawesome/fontawesome-free": "^6.0.0"