@coolon/angular-ui-powerups 16.1.0-alpha.319 → 16.1.0-alpha.321

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 (41) hide show
  1. package/esm2022/lib/components/exports.mjs +2 -1
  2. package/esm2022/lib/components/forms/select-input/select-input.component.mjs +132 -14
  3. package/esm2022/lib/components/forms/select-input/select-option-list.mjs +17 -0
  4. package/esm2022/lib/interaction/abstract-interaction-context.mjs +3 -1
  5. package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
  6. package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
  7. package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +1 -1
  8. package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +1 -1
  9. package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +16 -2
  10. package/esm2022/lib/interaction/components/input-activities/option-list-activity/activity-select-option-list.mjs +63 -0
  11. package/esm2022/lib/interaction/components/input-activities/option-list-activity/option-list-activity.mjs +175 -0
  12. package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +1 -1
  13. package/esm2022/lib/interaction/components/popup-interaction-context/popup-activity.mjs +54 -0
  14. package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +9 -48
  15. package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +16 -2
  16. package/esm2022/lib/interaction/delegating-interaction-context.mjs +63 -0
  17. package/esm2022/lib/interaction/exports.mjs +10 -4
  18. package/esm2022/lib/interaction/interaction-context.mjs +1 -1
  19. package/esm2022/lib/interaction/interaction.module.mjs +16 -3
  20. package/esm2022/lib/interaction/services/hosted-interaction-context.mjs +2 -1
  21. package/esm2022/lib/interaction/services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context.mjs +3 -1
  22. package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +15 -3
  23. package/fesm2022/coolon-angular-ui-powerups.mjs +635 -156
  24. package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
  25. package/lib/components/exports.d.ts +1 -0
  26. package/lib/components/forms/select-input/select-input.component.d.ts +51 -3
  27. package/lib/components/forms/select-input/select-option-list.d.ts +69 -0
  28. package/lib/interaction/abstract-interaction-context.d.ts +2 -0
  29. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +5 -1
  30. package/lib/interaction/components/input-activities/option-list-activity/activity-select-option-list.d.ts +21 -0
  31. package/lib/interaction/components/input-activities/option-list-activity/option-list-activity.d.ts +74 -0
  32. package/lib/interaction/components/popup-interaction-context/popup-activity.d.ts +29 -0
  33. package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +0 -3
  34. package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +5 -1
  35. package/lib/interaction/delegating-interaction-context.d.ts +34 -0
  36. package/lib/interaction/exports.d.ts +9 -3
  37. package/lib/interaction/interaction-context.d.ts +9 -0
  38. package/lib/interaction/interaction.module.d.ts +32 -30
  39. package/lib/interaction/services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context.d.ts +3 -0
  40. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +4 -0
  41. package/package.json +1 -1
@@ -40,6 +40,7 @@ export * from "./forms/number-input/number-input.component";
40
40
  export * from "./forms/password-input/password-input.component";
41
41
  export * from "./forms/search-input/search-input.component";
42
42
  export * from "./forms/select-input/select-input.component";
43
+ export * from "./forms/select-input/select-option-list";
43
44
  export * from "./forms/select-input/select-overlay-origin.directive";
44
45
  export * from "./forms/string-input/string-input.component";
45
46
  export * from "./forms/sub-form-list/sub-form-list-column";
@@ -1,6 +1,7 @@
1
1
  import { AfterContentInit, AfterViewChecked, DoCheck, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
2
2
  import { BooleanValueModelChain, ListModel, ListModelChain, MutableValueModel, Predicate, ValueModel } from '@coolon/pectin';
3
3
  import { AbstractValueInputComponent } from '../abstract-value-input.component';
4
+ import { SelectOptionList } from './select-option-list';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Using templates:
@@ -36,6 +37,20 @@ import * as i0 from "@angular/core";
36
37
  * selector rather than a form field, so label, hint and error do not exist there (binding label or
37
38
  * hint warns in development mode) and the panel sizes to its longest option. The option list, search
38
39
  * box, nil row, templates and footer slot are the same in both. See {@link appearance}.
40
+ *
41
+ * How the options open is decided by where the select is drawn:
42
+ * <aup-select-input listTitle="Hero" placeholder="All heros" [allowNil]="true"
43
+ * [optionIcon]="hero => hero.icon" [optionCounts]="countsOf" ...></aup-select-input>
44
+ * On a page or in a dialog the select drops Material's panel. In a bottom sheet or a popup, whose interaction
45
+ * context opens choices as a list (`InteractionContext.opensChoicesAs`), it slides an `aup-option-list-activity`
46
+ * in over the activity it is drawn in, and Back returns there: a panel dropped there would float over the
47
+ * sheet, or stack a second overlay on the popup. So the same template does the right thing in a dialog on a
48
+ * desktop and in a sheet on a phone. Both presentations tick the chosen option, show an icon and a count beside
49
+ * each option, search when `searchable`, and offer the nil option. `opens` overrides the decision for one
50
+ * select; a list opened where its context does not open one is a popup under the select. The list needs
51
+ * `InteractionModule`, which starts the activity (see {@link SelectOptionList}). #optionTemplate,
52
+ * #nilOptionTemplate, #selectedOptionTemplate in a field, and the footer slot are the panel's alone: the list
53
+ * shows labels from optionLabelFormat and the placeholder for the nil option.
39
54
  */
40
55
  export declare class SelectInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit, AfterContentInit, DoCheck, AfterViewChecked {
41
56
  /** Keys the search box hands back to MatSelect's key manager instead of consuming itself. */
@@ -48,7 +63,25 @@ export declare class SelectInputComponent<T = any> extends AbstractValueInputCom
48
63
  /** `field` wraps the select in a mat-form-field; `button` renders a compact bordered trigger with no form field. */
49
64
  appearance: SelectInputComponent.Appearance;
50
65
  get buttonAppearance(): boolean;
66
+ /**
67
+ * Overrides how the options open, which is otherwise decided by where the select is drawn: `panel` drops
68
+ * Material's panel, `list` opens a list activity. See the class docs.
69
+ */
70
+ opens?: SelectInputComponent.Opens;
71
+ /** Whether the options open as a list, as decided once the inputs are bound. */
72
+ opensList: boolean;
73
+ /** The list's title, a list being an activity of its own. Defaults to the label, else the placeholder. */
74
+ listTitle?: string;
75
+ /** An icon drawn before an option's label, in the list and in the panel. */
76
+ optionIcon?: (option: T) => string | undefined;
77
+ /** The counts shown beside the options, in the list and in the panel, built as they open. */
78
+ optionCounts?: SelectOptionList.Counts<T>;
79
+ /** The counts the open panel shows, in the order of the options; none while it is closed. */
80
+ private readonly panelCounts$;
81
+ private panelCountsWhileOpen?;
51
82
  private readonly matSelectConfig;
83
+ private readonly optionList;
84
+ private readonly injector;
52
85
  /**
53
86
  * What the field appearance binds to mat-select's panelWidth: whatever the app configured, else
54
87
  * Material's own default - so no existing consumer moves. (Binding undefined would NOT be a
@@ -62,9 +95,14 @@ export declare class SelectInputComponent<T = any> extends AbstractValueInputCom
62
95
  /** Opt-in: renders a search box at the top of the dropdown panel that filters the options. */
63
96
  searchable: boolean;
64
97
  /** Placeholder for the in-panel search box. {@link FormField} has no slot for this. */
65
- searchPlaceholder: string;
98
+ searchPlaceholder?: string;
66
99
  /** Shown inside the panel when the search matches nothing. */
67
- noResultsText: string;
100
+ noResultsText?: string;
101
+ private readonly listDefaults;
102
+ /** The search box's placeholder: the select's own, else the app's (`OPTION_LIST_DEFAULTS`), else English. */
103
+ get searchPlaceholderText(): string;
104
+ /** What the search says when nothing matches: the select's own, else the app's, else English. */
105
+ get noResultsMessage(): string;
68
106
  /** Bindable so a host can pre-seed or observe the search text. Cleared when the panel closes. */
69
107
  accessor searchText$: MutableValueModel<string>;
70
108
  private readonly defaultOptionSearchText;
@@ -103,10 +141,18 @@ export declare class SelectInputComponent<T = any> extends AbstractValueInputCom
103
141
  private readonly filterPredicate$;
104
142
  private searchInputRef;
105
143
  private matSelect;
144
+ private listButtonRef;
145
+ get hasValue(): boolean;
146
+ /** Whether the select's list is open, when its options open as a list. */
147
+ listOpen: boolean;
106
148
  private readonly delegatedIdentityOf;
107
149
  readonly trackByIdentity: TrackByFunction<T>;
108
150
  constructor();
109
151
  select(item: T): void;
152
+ /** How many the open panel says [option] would leave, beside it; undefined without counts. */
153
+ panelCount(option: T): number | undefined;
154
+ /** For `opens="list"`: opens the list, and chooses what is chosen there. Closing it without choosing changes nothing. */
155
+ openList(): Promise<void>;
110
156
  /** Lower-cased, nil-free rows for one option. Matched row by row so a term cannot straddle two. */
111
157
  private searchRows;
112
158
  /**
@@ -147,11 +193,13 @@ export declare class SelectInputComponent<T = any> extends AbstractValueInputCom
147
193
  private isSelectedOption;
148
194
  ngOnInit(): void;
149
195
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputComponent<any>, never>;
150
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent<any>, "aup-select-input", never, { "options$": { "alias": "options$"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "allowNil$": { "alias": "allowNil$"; "required": false; }; "allowNil": { "alias": "allowNil"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "optionLabelFormat": { "alias": "optionLabelFormat"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; "searchText$": { "alias": "searchText$"; "required": false; }; "optionSearchText": { "alias": "optionSearchText"; "required": false; }; "filterFactory": { "alias": "filterFactory"; "required": false; }; }, {}, ["selectedOptionTemplateRef", "optionTemplateRef", "nilOptionTemplateRef"], ["[select-option-footer]"], false, never>;
196
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent<any>, "aup-select-input", never, { "options$": { "alias": "options$"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "allowNil$": { "alias": "allowNil$"; "required": false; }; "allowNil": { "alias": "allowNil"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "opens": { "alias": "opens"; "required": false; }; "listTitle": { "alias": "listTitle"; "required": false; }; "optionIcon": { "alias": "optionIcon"; "required": false; }; "optionCounts": { "alias": "optionCounts"; "required": false; }; "optionLabelFormat": { "alias": "optionLabelFormat"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; "searchText$": { "alias": "searchText$"; "required": false; }; "optionSearchText": { "alias": "optionSearchText"; "required": false; }; "filterFactory": { "alias": "filterFactory"; "required": false; }; }, {}, ["selectedOptionTemplateRef", "optionTemplateRef", "nilOptionTemplateRef"], ["[select-option-footer]"], false, never>;
151
197
  }
152
198
  export declare namespace SelectInputComponent {
153
199
  /** One row of an option's searchable text. Nil rows are skipped; numbers are matched by their text. */
154
200
  type SearchText = string | number | null | undefined;
155
201
  /** See the class docs: `field` is a mat-form-field, `button` a compact bordered trigger without one. */
156
202
  type Appearance = 'field' | 'button';
203
+ /** See the class docs: `panel` drops Material's panel, `list` opens a list activity. */
204
+ type Opens = 'panel' | 'list';
157
205
  }
@@ -0,0 +1,69 @@
1
+ import { ElementRef, InjectionToken, Injector } from '@angular/core';
2
+ import { CommandFace, GarbageCollector, ValueModel } from '@coolon/pectin';
3
+ /**
4
+ * Opens a choice's options as a list to choose one from, in an activity. Where the interaction context the chooser is
5
+ * drawn in opens its choices as a list (`InteractionContext.opensChoicesAs`), as a sheet or a popup does, the list
6
+ * slides in over the chooser's activity and Back returns to it; anywhere else it opens in a popup anchored to the
7
+ * chooser. `aup-select-input` uses it, and so can a chooser of its own that wants the same list. This folder cannot
8
+ * import the interaction layer that starts activities, so `InteractionModule` provides it.
9
+ */
10
+ /**
11
+ * How an app words its option lists and select panels, provided once, as in its root module: Back's face, and the
12
+ * search box's placeholder and what it says when nothing matches. Without it they are English. A list's or a select's
13
+ * own words still win.
14
+ */
15
+ export declare const OPTION_LIST_DEFAULTS: InjectionToken<SelectOptionList.Defaults>;
16
+ export declare abstract class SelectOptionList {
17
+ /**
18
+ * Whether a chooser with [injector] is drawn where choices open as a list. `aup-select-input` asks it to decide
19
+ * between its list and Material's panel.
20
+ */
21
+ abstract opensAsList(injector: Injector): boolean;
22
+ /**
23
+ * Resolves with the option chosen, or undefined for the nil option. Closing the list without choosing rejects with
24
+ * a handled AbortError, as a cancelled activity does. Focus goes back to the element that had it as the list closes.
25
+ */
26
+ abstract open<T>(request: SelectOptionList.Request<T>): Promise<T | undefined>;
27
+ }
28
+ export declare namespace SelectOptionList {
29
+ /** What the list shows. */
30
+ interface List<T> {
31
+ /** The list's title, such as "Device type". */
32
+ readonly title: string;
33
+ readonly options: readonly T[];
34
+ /** The option chosen now, which is ticked; nil ticks the nil option. */
35
+ readonly value?: T;
36
+ /** Matches [value] to its option. Defaults to the option itself. */
37
+ readonly identityOf?: (option: T) => unknown;
38
+ readonly optionLabelFormat: (option: T) => string;
39
+ /** An icon drawn before an option's label. While any option has one, every label starts in line. */
40
+ readonly optionIcon?: (option: T) => string | undefined;
41
+ /**
42
+ * How many of something each option would leave, in the order of [options], such as the rows a filter would
43
+ * show. A count of nought is greyed but can still be chosen.
44
+ */
45
+ readonly counts$?: ValueModel<readonly number[] | undefined>;
46
+ /** The face of Back, which leaves a list that slid in over an activity; `OPTION_LIST_DEFAULTS`' by default. */
47
+ readonly backFace?: CommandFace;
48
+ /** The label of a first option that chooses nothing, such as "All"; without it there is none. */
49
+ readonly nilLabel?: string;
50
+ /** A search box above the options, filtering them by their labels. */
51
+ readonly searchable?: boolean;
52
+ readonly searchPlaceholder?: string;
53
+ readonly noResultsText?: string;
54
+ }
55
+ interface Request<T> extends List<T> {
56
+ /** What a popup is anchored to, when there is no activity to slide in over. */
57
+ readonly origin: ElementRef<HTMLElement>;
58
+ /** The chooser's injector, which finds the interaction context it is drawn in, if any. */
59
+ readonly injector: Injector;
60
+ }
61
+ /** See `OPTION_LIST_DEFAULTS`. */
62
+ interface Defaults {
63
+ readonly backFace?: CommandFace;
64
+ readonly searchPlaceholder?: string;
65
+ readonly noResultsText?: string;
66
+ }
67
+ /** Builds the counts for [options] as the list opens; whatever they hold on to goes in [whileOpen]. */
68
+ type Counts<T> = (options: readonly T[], whileOpen: GarbageCollector) => ValueModel<readonly number[] | undefined>;
69
+ }
@@ -5,6 +5,8 @@ import type { Confirm } from './confirm';
5
5
  import type { InteractionContext } from './interaction-context';
6
6
  export declare abstract class AbstractInteractionContext implements InteractionContext {
7
7
  abstract readonly identifier: string;
8
+ /** A dialog's and a page's default; a sheet's is `list`. Set it to change it for this context. */
9
+ opensChoicesAs: InteractionContext.ChoicePresentation;
8
10
  abstract cancelActiveActivity(): Promise<boolean>;
9
11
  abstract dispose(): void;
10
12
  abstract registerDisposable<T extends Disposable>(disposable: T): T;
@@ -24,6 +24,10 @@ import * as i0 from "@angular/core";
24
24
  export declare class InPlaceInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
25
25
  private readonly tabConfig;
26
26
  activityContainerComponent: ActivityContainerComponent<unknown, unknown, unknown>;
27
+ private _opensChoicesAs;
28
+ /** How choices drawn in its activities open (see `InteractionContext.opensChoicesAs`); a page's are a `panel`. */
29
+ set opensChoicesAs(opensChoicesAs: InteractionContext.ChoicePresentation);
30
+ get opensChoicesAs(): InteractionContext.ChoicePresentation;
27
31
  /**
28
32
  * If true then the first startActivity call will slide the activity into view. If false
29
33
  * the activity will replace the existing content immediately.
@@ -55,5 +59,5 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
55
59
  startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
56
60
  onTabChanged($event: MatTabChangeEvent): void;
57
61
  static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceInteractionContextComponent<any, any, any>, [{ optional: true; }]>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, { "started": "started"; "finished": "finished"; }, never, ["*"], false, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceInteractionContextComponent<any, any, any>, "aup-in-place-interaction-context", never, { "opensChoicesAs": { "alias": "opensChoicesAs"; "required": false; }; "animateFirstActivity": { "alias": "animateFirstActivity"; "required": false; }; "syncWithRoutes": { "alias": "syncWithRoutes"; "required": false; }; }, { "started": "started"; "finished": "finished"; }, never, ["*"], false, never>;
59
63
  }
@@ -0,0 +1,21 @@
1
+ import { Injector } from '@angular/core';
2
+ import { SelectOptionList } from '../../../../components/forms/select-input/select-option-list';
3
+ import * as i0 from "@angular/core";
4
+ /** `SelectOptionList` as `InteractionModule` provides it: an `aup-option-list-activity`. */
5
+ export declare class ActivitySelectOptionList extends SelectOptionList {
6
+ /** Under the chooser, or over it where there is no room below. */
7
+ private static readonly POSITIONS;
8
+ private readonly overlay;
9
+ opensAsList(injector: Injector): boolean;
10
+ open<T>(request: SelectOptionList.Request<T>): Promise<T | undefined>;
11
+ /** The context the chooser is drawn in, where its choices open as a list (`InteractionContext.opensChoicesAs`). */
12
+ private static nestedIn;
13
+ /**
14
+ * A list over an activity takes that activity out of the page until the list has slid away, and the activity stays
15
+ * hidden while it slides back. Focusing the chooser then does nothing, so it is tried again each frame, for up to a
16
+ * second, while focus is nowhere or still in the list going away. Once anything else has focus, it is left there.
17
+ */
18
+ private static returnFocus;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivitySelectOptionList, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivitySelectOptionList>;
21
+ }
@@ -0,0 +1,74 @@
1
+ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
2
+ import { AfterViewInit } from '@angular/core';
3
+ import { MatOption, MatOptionSelectionChange } from '@angular/material/core';
4
+ import { Command, CommandFace, MutableValueModel, ValueModel } from '@coolon/pectin';
5
+ import { type SelectOptionList } from '../../../../components/forms/select-input/select-option-list';
6
+ import { Activity } from '../../../activity';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * A choice's options as a list to choose one from, drawn with `mat-option`s so it looks and reads as a select's panel
10
+ * does: the chosen option tinted and checked, an optional icon before each label and an optional count after it.
11
+ * Choosing one finishes the activity with it, or with undefined for the nil option. Started over another activity it
12
+ * slides in over it, under a title whose Back leaves it. In a popup of its own it has no title and is as wide as its
13
+ * options, as a select's panel is, and Esc or a click outside closes it. As in a select's panel,
14
+ * focus stays on the list while the arrow keys, Home, End and typing a label's start move between the options, and
15
+ * Enter or Space chooses one.
16
+ *
17
+ * `SelectOptionList` starts it; `aup-select-input opens="list"` is the usual way in.
18
+ *
19
+ * Styling hook: `--aup-option-list-width`, its width over another activity. In a bottom sheet it takes the sheet's
20
+ * width.
21
+ */
22
+ export declare class OptionListActivity<T> extends Activity<OptionListActivity.Data<T>, T | undefined> implements AfterViewInit {
23
+ static readonly DEFAULT_BACK_FACE: CommandFace;
24
+ private readonly defaults;
25
+ /** The list's own words, else the app's (`OPTION_LIST_DEFAULTS`), else English. */
26
+ protected readonly searchPlaceholder: string;
27
+ protected readonly noResultsText: string;
28
+ protected readonly ownPopup: boolean;
29
+ protected readonly leaveCommand: Command<void>;
30
+ protected readonly counts$: ValueModel<readonly number[] | undefined>;
31
+ protected readonly searchText$: MutableValueModel<string>;
32
+ protected readonly rows$: ValueModel<OptionListActivity.Row<T>[]>;
33
+ /** Whether any option has an icon, so that every label starts in line, the ones without an icon included. */
34
+ protected readonly withIcons: boolean;
35
+ private readonly options;
36
+ private readonly optionElements;
37
+ private readonly listbox;
38
+ private readonly searchInput?;
39
+ protected keyManager?: ActiveDescendantKeyManager<MatOption<OptionListActivity.Row<T>>>;
40
+ constructor();
41
+ ngAfterViewInit(): void;
42
+ protected onSelectionChange(event: MatOptionSelectionChange<OptionListActivity.Row<T>>): void;
43
+ protected count(row: OptionListActivity.Row<T>): number | undefined;
44
+ protected onSearchInput(event: Event): void;
45
+ /** Down moves from the search box into the list, and Enter chooses the first match. */
46
+ protected onSearchKeydown(event: KeyboardEvent): void;
47
+ /** Up from the first option goes back to the search box, where there is one. */
48
+ protected onListKeydown(event: KeyboardEvent): void;
49
+ protected readonly trackRow: (index: number, row: OptionListActivity.Row<T>) => number;
50
+ /** The chosen option is selected as a select's is, which tints and checks it. Searching rebuilds the options. */
51
+ private markChosen;
52
+ /** The search box when there is one, else the list on its chosen option, else on its first. */
53
+ private focusFirst;
54
+ private buildRows;
55
+ /** The nil option is choosing nothing rather than one of the options, so a search never hides it. */
56
+ private matching;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionListActivity<any>, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionListActivity<any>, "aup-option-list-activity", never, {}, {}, never, never, false, never>;
59
+ }
60
+ export declare namespace OptionListActivity {
61
+ interface Data<T> extends SelectOptionList.List<T> {
62
+ /** Whether it slid in over another activity, which leaving it returns to. Otherwise it is a popup's own. */
63
+ readonly nested: boolean;
64
+ }
65
+ interface Row<T> {
66
+ /** Undefined for the nil option. */
67
+ readonly option: T | undefined;
68
+ /** Its place in the options, for its count; undefined for the nil option. */
69
+ readonly index?: number;
70
+ readonly label: string;
71
+ readonly icon?: string;
72
+ readonly chosen: boolean;
73
+ }
74
+ }
@@ -0,0 +1,29 @@
1
+ import { CdkScrollable, ConnectedPosition, Overlay } from '@angular/cdk/overlay';
2
+ import { ElementRef } from '@angular/core';
3
+ import { Constructable } from '@coolon/pectin';
4
+ import type { Activity } from '../../activity';
5
+ import type { InteractionContext } from '../../interaction-context';
6
+ import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
7
+ /**
8
+ * Starts an activity in a popup anchored to [origin], which closes as the activity finishes. A click on the backdrop
9
+ * cancels every activity in it, and Esc the one in front while [options.cancelOnEscape] says so.
10
+ * `aup-popup-interaction-context` starts its activities with it, and so does a select that opens its options as a list.
11
+ */
12
+ export declare function startActivityInPopup<D, R, E>(overlay: Overlay, origin: ElementRef, options: startActivityInPopup.Options, activityType: Constructable<Activity<D, R, E>>, data?: D): startActivityInPopup.Popup<R>;
13
+ export declare namespace startActivityInPopup {
14
+ interface Popup<R> {
15
+ /** The popup's own context, where the activity runs and any it starts are stacked over it. */
16
+ readonly interactionContext: InPlaceInteractionContextComponent<unknown, unknown, unknown>;
17
+ readonly result: Promise<R>;
18
+ }
19
+ interface Options {
20
+ readonly positions: ConnectedPosition[];
21
+ readonly cancelOnEscape: () => boolean;
22
+ readonly scrollContainers?: CdkScrollable[];
23
+ /**
24
+ * How choices drawn in its activities open. A panel dropped there would stack a second overlay on the popup, so
25
+ * by default they slide in over the activity as a `list`.
26
+ */
27
+ readonly opensChoicesAs?: InteractionContext.ChoicePresentation;
28
+ }
29
+ }
@@ -1,10 +1,8 @@
1
1
  import { CdkScrollable, ConnectedPosition, Overlay } from '@angular/cdk/overlay';
2
- import { ComponentPortal } from '@angular/cdk/portal';
3
2
  import { ElementRef } from '@angular/core';
4
3
  import { Constructable, ValueModel } from '@coolon/pectin';
5
4
  import { DisposableComponent } from '../../../components/disposable-component';
6
5
  import type { Activity } from '../../activity';
7
- import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
8
6
  import * as i0 from "@angular/core";
9
7
  /**
10
8
  * <aup-popup-interaction-context #ctx></aup-popup-interaction-context>
@@ -22,7 +20,6 @@ export declare class PopupInteractionContextComponent extends DisposableComponen
22
20
  private interactionContext;
23
21
  private scrollContainers;
24
22
  get active(): boolean;
25
- readonly outputPortal: ComponentPortal<InPlaceInteractionContextComponent<unknown, unknown, unknown>>;
26
23
  anchorX: 'start' | 'end';
27
24
  anchorY: 'top' | 'bottom';
28
25
  accessor cancelOnEscape$: ValueModel<boolean>;
@@ -25,6 +25,10 @@ import * as i0 from "@angular/core";
25
25
  export declare class SlideDownInteractionContextComponent<D, R, E> extends DisposableComponent implements InPlaceInteractionContext, AfterViewInit {
26
26
  private readonly tabConfig;
27
27
  activityContainerComponent: ActivityContainerComponent<unknown, unknown, unknown>;
28
+ private _opensChoicesAs;
29
+ /** How choices drawn in its activities open (see `InteractionContext.opensChoicesAs`); a page's are a `panel`. */
30
+ set opensChoicesAs(opensChoicesAs: InteractionContext.ChoicePresentation);
31
+ get opensChoicesAs(): InteractionContext.ChoicePresentation;
28
32
  dynamicHeight: boolean;
29
33
  get active(): boolean;
30
34
  protected clampShut: boolean;
@@ -49,5 +53,5 @@ export declare class SlideDownInteractionContextComponent<D, R, E> extends Dispo
49
53
  startActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data?: D1, options?: InteractionContext.Options): Promise<R1>;
50
54
  onAnimationDone(): void;
51
55
  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>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideDownInteractionContextComponent<any, any, any>, "aup-slide-down-interaction-context", never, { "opensChoicesAs": { "alias": "opensChoicesAs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; }, {}, never, never, false, never>;
53
57
  }
@@ -0,0 +1,34 @@
1
+ import { Constructable, Disposable } from '@coolon/pectin';
2
+ import type { Activity } from './activity';
3
+ import type { Alert } from './alert';
4
+ import type { Confirm } from './confirm';
5
+ import type { InteractionContext } from './interaction-context';
6
+ /**
7
+ * An interaction context that is another one, chosen afresh at each call. Content that cannot see where it is drawn
8
+ * reaches the right context through it. Content projected into a component resolves its injections through the
9
+ * element it is projected into, wherever the component then draws it. So a component that draws its projected content
10
+ * in an activity of its own, as a filter bar draws its filters in a panel, provides one of these as
11
+ * `INTERACTION_CONTEXT`, giving that activity's context while it is open and the one around it otherwise.
12
+ *
13
+ * Every call is passed on as it is, so the context it reaches keeps its own ways of alerting, confirming and closing.
14
+ * It owns nothing it passes calls to: disposing it disposes only what was registered with it. With no context to give,
15
+ * its choices open as a `panel`, it is inactive, and starting anything in it fails.
16
+ */
17
+ export declare class DelegatingInteractionContext implements InteractionContext {
18
+ readonly identifier: string;
19
+ private readonly delegate;
20
+ private readonly garbage;
21
+ constructor(identifier: string, delegate: () => InteractionContext | null | undefined);
22
+ get opensChoicesAs(): InteractionContext.ChoicePresentation;
23
+ isActive(): boolean;
24
+ startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D, options?: InteractionContext.Options): Promise<R>;
25
+ cancelActiveActivity(): Promise<boolean>;
26
+ confirm(confirm: Confirm): Promise<boolean>;
27
+ alert(alert: Alert): Promise<void>;
28
+ confirmOrReject(confirm: Confirm): Promise<void>;
29
+ confirmThen<D, R, E>(confirm: Confirm, activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R>;
30
+ confirmThenExecute<R>(confirm: Confirm, operation: (interactionContext: InteractionContext) => R | Promise<R>): Promise<R>;
31
+ registerDisposable<T extends Disposable>(disposable: T): T;
32
+ dispose(): void;
33
+ private target;
34
+ }
@@ -8,6 +8,7 @@ export * from "./activity-ref";
8
8
  export * from "./activity";
9
9
  export * from "./alert";
10
10
  export * from "./confirm";
11
+ export * from "./delegating-interaction-context";
11
12
  export * from "./in-place-interaction-context";
12
13
  export * from "./interaction-context-provider";
13
14
  export * from "./interaction-context";
@@ -37,16 +38,21 @@ export * from "./components/editors/inline-string-editor/inline-editor-model";
37
38
  export * from "./components/editors/inline-string-editor/inline-string-editor.component";
38
39
  export * from "./components/inplace-interaction-context/in-place-interaction-context.component";
39
40
  export * from "./components/input-activities/input-activity";
41
+ export * from "./components/input-activities/register-validators";
40
42
  export * from "./components/input-activities/select-input-activity";
41
43
  export * from "./components/input-activities/string-input-activity";
44
+ export * from "./components/input-activities/option-list-activity/activity-select-option-list";
45
+ export * from "./components/input-activities/option-list-activity/option-list-activity";
46
+ export * from "./components/popup-interaction-context/popup-activity";
42
47
  export * from "./components/popup-interaction-context/popup-interaction-context.component";
43
48
  export * from "./components/slide-down-interaction-context/slide-down-interaction-context.component";
44
49
  export * from "./directives/interaction-context-trigger-for.directive";
50
+ export * from "./services/hosted-interaction-context";
45
51
  export * from "./services/interaction-service-routing-adapter";
46
52
  export * from "./services/interaction.service";
47
53
  export * from "./services/modal-interaction-context.factory";
48
- export * from "./services/mat-dialog-interaction/dialog-interaction-context-factory";
49
- export * from "./services/mat-dialog-interaction/dialog-interaction-context";
50
- export * from "./services/hosted-interaction-context";
51
54
  export * from "./services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context-factory";
52
55
  export * from "./services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context";
56
+ export * from "./services/mat-bottom-sheet-interaction/sheet-swipe";
57
+ export * from "./services/mat-dialog-interaction/dialog-interaction-context-factory";
58
+ export * from "./services/mat-dialog-interaction/dialog-interaction-context";
@@ -6,6 +6,13 @@ import type { Confirm } from './confirm';
6
6
  export declare const INTERACTION_CONTEXT: InjectionToken<InteractionContext>;
7
7
  export interface InteractionContext extends Disposable, Disposable.Collector {
8
8
  readonly identifier: string;
9
+ /**
10
+ * How a choice drawn in this context opens its options, such as `aup-select-input`'s. A dialog or a page drops a
11
+ * panel under the chooser, as Material's select does. A sheet or a popup slides a list in over the activity the
12
+ * chooser is drawn in, as a panel dropped there would float over the sheet or stack a second overlay on the popup.
13
+ * Each kind of context has its default, and whoever creates one can set another. Absent, it is `panel`.
14
+ */
15
+ readonly opensChoicesAs?: InteractionContext.ChoicePresentation;
9
16
  isActive(): boolean;
10
17
  startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D, options?: InteractionContext.Options): Promise<R>;
11
18
  cancelActiveActivity(): Promise<boolean>;
@@ -16,6 +23,8 @@ export interface InteractionContext extends Disposable, Disposable.Collector {
16
23
  confirmThenExecute<R>(confirm: Confirm, operation: (interactionContext: InteractionContext) => R | Promise<R>): Promise<R>;
17
24
  }
18
25
  export declare namespace InteractionContext {
26
+ /** See {@link InteractionContext.opensChoicesAs}. */
27
+ type ChoicePresentation = 'panel' | 'list';
19
28
  interface Options {
20
29
  /**
21
30
  * @deprecated use Activity.disableCloseWhile(condition$);
@@ -12,37 +12,39 @@ import * as i10 from "./components/activity-actions/activity-actions.component";
12
12
  import * as i11 from "./components/popup-interaction-context/popup-interaction-context.component";
13
13
  import * as i12 from "./components/input-activities/string-input-activity";
14
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 "./components/confirm-renderer/confirm-renderer.component";
29
- import * as i28 from "./components/alert-renderer/alert-renderer.component";
30
- import * as i29 from "@angular/common";
31
- import * as i30 from "@angular/material/button";
32
- import * as i31 from "@angular/material/dialog";
33
- import * as i32 from "@angular/material/bottom-sheet";
34
- import * as i33 from "@angular/material/tabs";
35
- import * as i34 from "@angular/cdk/portal";
36
- import * as i35 from "@angular/router";
37
- import * as i36 from "@angular/material/icon";
38
- import * as i37 from "../directives/directives.module";
39
- import * as i38 from "../components/components.module";
40
- import * as i39 from "@angular/forms";
41
- import * as i40 from "@angular/material/input";
42
- import * as i41 from "@angular/material/form-field";
43
- import * as i42 from "@angular/cdk/a11y";
15
+ import * as i14 from "./components/input-activities/option-list-activity/option-list-activity";
16
+ import * as i15 from "./components/input-activities/input-activity";
17
+ import * as i16 from "./directives/interaction-context-trigger-for.directive";
18
+ import * as i17 from "./activity";
19
+ import * as i18 from "./components/activity-title/activity-title.component";
20
+ import * as i19 from "./components/activity-body/activity-body.component";
21
+ import * as i20 from "./components/activity-triggers/abstract-activity-trigger.component";
22
+ import * as i21 from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
23
+ import * as i22 from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
24
+ import * as i23 from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
25
+ import * as i24 from "./components/add-card-activity/add-card-activity.component";
26
+ import * as i25 from "./components/editors/inline-string-editor/inline-string-editor.component";
27
+ import * as i26 from "./components/abstract-dialog.component";
28
+ import * as i27 from "./components/abstract-confirm-dialog.component";
29
+ import * as i28 from "./components/confirm-renderer/confirm-renderer.component";
30
+ import * as i29 from "./components/alert-renderer/alert-renderer.component";
31
+ import * as i30 from "@angular/common";
32
+ import * as i31 from "@angular/material/button";
33
+ import * as i32 from "@angular/material/dialog";
34
+ import * as i33 from "@angular/material/bottom-sheet";
35
+ import * as i34 from "@angular/material/tabs";
36
+ import * as i35 from "@angular/cdk/portal";
37
+ import * as i36 from "@angular/router";
38
+ import * as i37 from "@angular/material/icon";
39
+ import * as i38 from "../directives/directives.module";
40
+ import * as i39 from "../components/components.module";
41
+ import * as i40 from "@angular/forms";
42
+ import * as i41 from "@angular/material/input";
43
+ import * as i42 from "@angular/material/form-field";
44
+ import * as i43 from "@angular/cdk/a11y";
45
+ import * as i44 from "@angular/material/core";
44
46
  export declare class InteractionModule {
45
47
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractionModule, never>;
46
- 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.ConfirmRendererComponent, typeof i28.AlertRendererComponent], [typeof i29.CommonModule, typeof i30.MatButtonModule, typeof i31.MatDialogModule, typeof i32.MatBottomSheetModule, typeof i33.MatTabsModule, typeof i34.PortalModule, typeof i35.RouterModule, typeof i36.MatIconModule, typeof i37.DirectivesModule, typeof i38.ComponentsModule, typeof i39.FormsModule, typeof i40.MatInputModule, typeof i41.MatFormFieldModule, typeof i42.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, typeof i27.ConfirmRendererComponent, typeof i28.AlertRendererComponent]>;
48
+ 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.OptionListActivity, typeof i15.InputActivity, typeof i16.InteractionContextTriggerForDirective, typeof i17.Activity, typeof i18.ActivityTitleComponent, typeof i19.ActivityBodyComponent, typeof i10.ActivityActionsComponent, typeof i20.AbstractActivityTriggerComponent, typeof i21.PopupActivityTriggerComponent, typeof i22.InlineActivityTriggerComponent, typeof i23.ModalActivityTriggerComponent, typeof i24.AddCardActivityComponent, typeof i25.InlineStringEditorComponent, typeof i26.AbstractDialogComponent, typeof i27.AbstractConfirmDialogComponent, typeof i28.ConfirmRendererComponent, typeof i29.AlertRendererComponent], [typeof i30.CommonModule, typeof i31.MatButtonModule, typeof i32.MatDialogModule, typeof i33.MatBottomSheetModule, typeof i34.MatTabsModule, typeof i35.PortalModule, typeof i36.RouterModule, typeof i37.MatIconModule, typeof i38.DirectivesModule, typeof i39.ComponentsModule, typeof i40.FormsModule, typeof i41.MatInputModule, typeof i42.MatFormFieldModule, typeof i43.A11yModule, typeof i44.MatOptionModule], [typeof i1.ActivityContainerComponent, typeof i6.ActivityOutletComponent, typeof i18.ActivityTitleComponent, typeof i7.InPlaceInteractionContextComponent, typeof i9.AddItemInteractionContextComponent, typeof i10.ActivityActionsComponent, typeof i11.PopupInteractionContextComponent, typeof i16.InteractionContextTriggerForDirective, typeof i12.StringInputActivity, typeof i13.SelectInputActivity, typeof i14.OptionListActivity, typeof i19.ActivityBodyComponent, typeof i21.PopupActivityTriggerComponent, typeof i22.InlineActivityTriggerComponent, typeof i23.ModalActivityTriggerComponent, typeof i24.AddCardActivityComponent, typeof i25.InlineStringEditorComponent, typeof i8.SlideDownInteractionContextComponent, typeof i28.ConfirmRendererComponent, typeof i29.AlertRendererComponent]>;
47
49
  static ɵinj: i0.ɵɵInjectorDeclaration<InteractionModule>;
48
50
  }
@@ -1,4 +1,5 @@
1
1
  import { MatBottomSheet, MatBottomSheetConfig } from '@angular/material/bottom-sheet';
2
+ import type { InteractionContext } from '../../interaction-context';
2
3
  import { ActivityHost, HostedInteractionContext } from '../hosted-interaction-context';
3
4
  import type { InteractionService } from '../interaction.service';
4
5
  /**
@@ -10,6 +11,8 @@ import type { InteractionService } from '../interaction.service';
10
11
  export declare class BottomSheetInteractionContext extends HostedInteractionContext {
11
12
  private readonly bottomSheet;
12
13
  readonly config: MatBottomSheetConfig;
14
+ /** A panel dropped from a chooser would float over the sheet, so its choices slide in over it instead. */
15
+ opensChoicesAs: InteractionContext.ChoicePresentation;
13
16
  constructor(identifier: string, api: InteractionService.Api, bottomSheet: MatBottomSheet, config: MatBottomSheetConfig);
14
17
  protected openHost(): ActivityHost;
15
18
  }
@@ -41,6 +41,10 @@ export declare class RemoveLastInteractionFromUrlNavigationSession extends Navig
41
41
  * outside an interaction pushes an entry too (PlaceRouter.notifyVisitSegmentChanged), so Back undoes either.
42
42
  */
43
43
  onRouterEnd(event: NavigationEnd): void;
44
+ /**
45
+ * Location.path() drops a trailing slash, which the router's url keeps for a place whose route id is still empty
46
+ * (`groups/`). The interaction-free url is compared in the location's form, or the two never match on such a place.
47
+ */
44
48
  private poppedUrlLostPlaceParameters;
45
49
  handleCanDeactivateCancelledEventScenario(locationTriggerUrl: string): void;
46
50
  get finishedPromise(): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.319",
3
+ "version": "16.1.0-alpha.321",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",