@magmonium/one 0.2.25 → 0.2.27
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.
- package/assets/icons/redo.svg +4 -0
- package/assets/icons/svg.json +2 -0
- package/assets/icons/undo.svg +4 -0
- package/fesm2022/{magmonium-one-magmonium-one-39v09CW3.mjs → magmonium-one-magmonium-one-BudsrBEI.mjs} +9019 -8350
- package/fesm2022/magmonium-one-magmonium-one-BudsrBEI.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-DpHvMD-U.mjs → magmonium-one-otp-CGJwpx2O.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-DpHvMD-U.mjs.map → magmonium-one-otp-CGJwpx2O.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-BzPq0-OQ.mjs → magmonium-one-password-C_iu89uG.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-BzPq0-OQ.mjs.map → magmonium-one-password-C_iu89uG.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-BuLdrdrD.mjs → magmonium-one-toggle-OB-u7l7C.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-BuLdrdrD.mjs.map → magmonium-one-toggle-OB-u7l7C.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +493 -68
- package/fesm2022/magmonium-one-magmonium-one-39v09CW3.mjs.map +0 -1
package/types/magmonium-one.d.ts
CHANGED
|
@@ -1028,13 +1028,32 @@ type DraggableState = {
|
|
|
1028
1028
|
declare class DraggableDirective {
|
|
1029
1029
|
mDraggable: _angular_core.ModelSignal<Draggable>;
|
|
1030
1030
|
handleSelector: _angular_core.InputSignal<string | undefined>;
|
|
1031
|
+
/**
|
|
1032
|
+
* The bounds, read at drag time and never written into `mDraggable`.
|
|
1033
|
+
*
|
|
1034
|
+
* They used to be merged in by a setter, which lost them the moment a parent
|
|
1035
|
+
* replaced its Draggable — a `linkedSignal` recomputed from the value the
|
|
1036
|
+
* drag itself writes back, which is what both Ranges do. Angular memoizes an
|
|
1037
|
+
* inline object literal in a template, so `[min]="{ x: 0, y: 3 }"` is the
|
|
1038
|
+
* same reference on the next pass and its setter never fires again to put
|
|
1039
|
+
* the bound back. The config then had no `max`, `isWithinBoundary` fell
|
|
1040
|
+
* through to `window.innerWidth`, and the thumb slid off the track.
|
|
1041
|
+
*
|
|
1042
|
+
* A bound is what the caller says the drag may not pass, not state the drag
|
|
1043
|
+
* mutates — so it stays an input and the two never share an object.
|
|
1044
|
+
*/
|
|
1045
|
+
readonly min: _angular_core.InputSignal<Position | undefined>;
|
|
1046
|
+
readonly max: _angular_core.InputSignal<Position | undefined>;
|
|
1031
1047
|
readonly dragStart: _angular_core.OutputEmitterRef<void>;
|
|
1032
1048
|
readonly dragEnd: _angular_core.OutputEmitterRef<void>;
|
|
1033
1049
|
protected readonly cursor: _angular_core.Signal<"ew-resize" | "ns-resize" | "move">;
|
|
1034
1050
|
protected state: DraggableState;
|
|
1035
1051
|
set pos(position: Position);
|
|
1036
|
-
|
|
1037
|
-
|
|
1052
|
+
/**
|
|
1053
|
+
* The config a move is clamped against: the bounds on the tag win, and a
|
|
1054
|
+
* caller that carries them inside its own Draggable keeps working.
|
|
1055
|
+
*/
|
|
1056
|
+
private readonly bounded;
|
|
1038
1057
|
protected handleMouseDown(event: MouseEvent): void;
|
|
1039
1058
|
protected handleMouseMove(event: MouseEvent): void;
|
|
1040
1059
|
protected handleMouseUp(event: MouseEvent): void;
|
|
@@ -1042,7 +1061,7 @@ declare class DraggableDirective {
|
|
|
1042
1061
|
protected handleTouchMove(event: TouchEvent): void;
|
|
1043
1062
|
protected handleTouchEnd(event: TouchEvent): void;
|
|
1044
1063
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DraggableDirective, never>;
|
|
1045
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DraggableDirective, "[mDraggable]", never, { "mDraggable": { "alias": "mDraggable"; "required": true; "isSignal": true; }; "handleSelector": { "alias": "handleSelector"; "required": false; "isSignal": true; }; "
|
|
1064
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DraggableDirective, "[mDraggable]", never, { "mDraggable": { "alias": "mDraggable"; "required": true; "isSignal": true; }; "handleSelector": { "alias": "handleSelector"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "pos": { "alias": "pos"; "required": false; }; }, { "mDraggable": "mDraggableChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; }, never, never, true, never>;
|
|
1046
1065
|
}
|
|
1047
1066
|
|
|
1048
1067
|
interface DragListReorder {
|
|
@@ -2580,11 +2599,72 @@ declare class SectionSearchComponent extends BaseTextInputComponent<SearchInput>
|
|
|
2580
2599
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionSearchComponent, "m-section-search, m-one-section-search", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "startOpen": { "alias": "startOpen"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "element": { "alias": "element"; "required": false; "isSignal": true; }; "resultInput": { "alias": "resultInput"; "required": false; "isSignal": true; }; "elementInputs": { "alias": "elementInputs"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; "searchChange": "searchChange"; }, never, ["*"], true, never>;
|
|
2581
2600
|
}
|
|
2582
2601
|
|
|
2602
|
+
type BadgeVariant = 'saas' | 'status' | 'minimal' | 'default' | 'primary' | 'danger' | 'chip';
|
|
2603
|
+
type BadgePosition = 'static' | 'absolute' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
2604
|
+
type BadgeAnimation = 'pulse' | 'shimmer' | 'none';
|
|
2605
|
+
type Badge = Config & {
|
|
2606
|
+
variant?: BadgeVariant;
|
|
2607
|
+
icon?: string;
|
|
2608
|
+
position?: BadgePosition;
|
|
2609
|
+
ping?: boolean;
|
|
2610
|
+
animation?: BadgeAnimation;
|
|
2611
|
+
};
|
|
2612
|
+
|
|
2583
2613
|
type FilterOption = {
|
|
2584
2614
|
value: string;
|
|
2585
2615
|
label: string;
|
|
2586
2616
|
disabled?: boolean;
|
|
2587
2617
|
};
|
|
2618
|
+
/**
|
|
2619
|
+
* Which affordance a Filter draws, and what its key carries as a result — the
|
|
2620
|
+
* one axis a Filter is authored along. `single` picks one option and its key
|
|
2621
|
+
* carries that value; `multi` picks any number and its key carries the list;
|
|
2622
|
+
* `range` picks two numeric bounds and its key carries them as a `[min, max]`
|
|
2623
|
+
* pair, which is a list to every reader that already existed (ADR 0026).
|
|
2624
|
+
*
|
|
2625
|
+
* `single` is the default: a Filter that says nothing about itself asks one
|
|
2626
|
+
* question and takes one answer, and the two variants that hold more than one
|
|
2627
|
+
* value say so on the tag.
|
|
2628
|
+
*
|
|
2629
|
+
* Replaces the `multiple` boolean, which spelled two of these three and had no
|
|
2630
|
+
* room for the third. Not a visual variant in the sense a Badge or a Button
|
|
2631
|
+
* carries one — those choose a skin, and this chooses what leaves the Filter.
|
|
2632
|
+
*/
|
|
2633
|
+
type FilterVariant = 'single' | 'multi' | 'range';
|
|
2634
|
+
declare const FILTER_VARIANTS: readonly FilterVariant[];
|
|
2635
|
+
/** The default a Filter falls back to, and the one variant left off the tag. */
|
|
2636
|
+
declare const DEFAULT_FILTER_VARIANT: FilterVariant;
|
|
2637
|
+
/**
|
|
2638
|
+
* How many numbers a `range` Filter picks. `range` takes two and its key
|
|
2639
|
+
* carries the `[min, max]` pair; `single` takes one and its key carries that
|
|
2640
|
+
* number alone — one thumb on the slider, one box beneath it.
|
|
2641
|
+
*
|
|
2642
|
+
* A second axis rather than a fourth FilterVariant: both modes are authored
|
|
2643
|
+
* the same way — bounds, never an OptionSet — and open the same
|
|
2644
|
+
* panel. What differs is how many answers come back, which is why the author
|
|
2645
|
+
* picks it on a toggle beside the bounds rather than on the variant dropdown.
|
|
2646
|
+
* Ignored by the option-picking variants, which have no bounds to halve.
|
|
2647
|
+
*/
|
|
2648
|
+
type FilterRangeMode = 'range' | 'single';
|
|
2649
|
+
declare const FILTER_RANGE_MODES: readonly FilterRangeMode[];
|
|
2650
|
+
/** The mode a `range` Filter falls back to, and the one left off the tag. */
|
|
2651
|
+
declare const DEFAULT_FILTER_RANGE_MODE: FilterRangeMode;
|
|
2652
|
+
/**
|
|
2653
|
+
* Whether this Filter's key carries a list rather than one value. A `range`
|
|
2654
|
+
* counts, because a pair is a list — which is what keeps `FilterValue`
|
|
2655
|
+
* unchanged and `filterList` working over every variant that has ever shipped.
|
|
2656
|
+
*
|
|
2657
|
+
* `mode` is the exception a pair-shaped variant needs: a `range` in `single`
|
|
2658
|
+
* mode picks one number, so its key carries that number the way `single` does
|
|
2659
|
+
* rather than a one-entry list nothing would read.
|
|
2660
|
+
*/
|
|
2661
|
+
declare const filterHoldsList: (variant: FilterVariant, mode?: FilterRangeMode) => boolean;
|
|
2662
|
+
/** Whether this Filter draws one thumb rather than two. */
|
|
2663
|
+
declare const filterHoldsOneBound: (variant: FilterVariant, mode?: FilterRangeMode) => boolean;
|
|
2664
|
+
/** Whether this variant is authored with bounds rather than with options. */
|
|
2665
|
+
declare const filterHoldsRange: (variant: FilterVariant) => boolean;
|
|
2666
|
+
/** Whether this variant picks from an OptionSet. The complement of the above. */
|
|
2667
|
+
declare const filterHoldsOptions: (variant: FilterVariant) => boolean;
|
|
2588
2668
|
|
|
2589
2669
|
/**
|
|
2590
2670
|
* What one Filter's key carries in a group's selection. A scalar for a
|
|
@@ -2617,28 +2697,34 @@ interface SectionFilterGroupConfig extends Config {
|
|
|
2617
2697
|
align?: 'left' | 'center' | 'right';
|
|
2618
2698
|
}
|
|
2619
2699
|
|
|
2620
|
-
declare class SectionFilterPanelComponent {
|
|
2621
|
-
readonly options: _angular_core.InputSignal<FilterOption[]>;
|
|
2622
|
-
readonly selected: _angular_core.InputSignal<string[]>;
|
|
2623
|
-
readonly multiple: _angular_core.InputSignal<boolean>;
|
|
2624
|
-
readonly action: _angular_core.OutputEmitterRef<FilterOption>;
|
|
2625
|
-
protected readonly isSelected: (val: string) => boolean;
|
|
2626
|
-
protected readonly selectOption: (opt: FilterOption) => void;
|
|
2627
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterPanelComponent, never>;
|
|
2628
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterPanelComponent, "m-section-filter-panel", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
2629
|
-
}
|
|
2630
|
-
|
|
2631
2700
|
declare class SectionFilterComponent {
|
|
2632
2701
|
readonly label: _angular_core.InputSignal<string>;
|
|
2633
2702
|
/**
|
|
2634
|
-
* The key this Filter's slice carries in a FilterGroup's
|
|
2703
|
+
* The key this Filter's slice carries in a FilterGroup's payload.
|
|
2635
2704
|
* Falls back to `label`, which is a TranslationAsset key rather than an
|
|
2636
2705
|
* identity — good enough alone, wrong to rely on in a group (ADR 0025).
|
|
2637
2706
|
*/
|
|
2638
2707
|
readonly name: _angular_core.InputSignal<string>;
|
|
2639
2708
|
readonly options: _angular_core.InputSignal<FilterOption[]>;
|
|
2640
2709
|
readonly optionsAsset: _angular_core.InputSignal<string | undefined>;
|
|
2641
|
-
|
|
2710
|
+
/**
|
|
2711
|
+
* Which question this Filter asks and what its key carries as a result.
|
|
2712
|
+
* `single` by default: a Filter that says nothing about itself takes one
|
|
2713
|
+
* answer, and the variants holding more than one value say so on the tag.
|
|
2714
|
+
*
|
|
2715
|
+
* Replaces the `multiple` boolean, which spelled two of three variants and
|
|
2716
|
+
* had no room for `range`.
|
|
2717
|
+
*/
|
|
2718
|
+
readonly variant: _angular_core.InputSignal<FilterVariant>;
|
|
2719
|
+
/** A `range` variant's bounds. Ignored by the option-picking variants. */
|
|
2720
|
+
readonly min: _angular_core.InputSignal<number | undefined>;
|
|
2721
|
+
readonly max: _angular_core.InputSignal<number | undefined>;
|
|
2722
|
+
/**
|
|
2723
|
+
* How many numbers a `range` Filter picks: two by default, one under
|
|
2724
|
+
* `single`, where its key carries that number rather than a pair
|
|
2725
|
+
* (CONTEXT.md FilterRangeMode). Ignored by the option-picking variants.
|
|
2726
|
+
*/
|
|
2727
|
+
readonly mode: _angular_core.InputSignal<FilterRangeMode>;
|
|
2642
2728
|
/**
|
|
2643
2729
|
* The glyph on the dropdown toggle, an IconAsset name. Unset keeps the
|
|
2644
2730
|
* `adjust` tuning icon every Filter wears by default — this replaces that
|
|
@@ -2646,13 +2732,18 @@ declare class SectionFilterComponent {
|
|
|
2646
2732
|
* therefore one place for an icon to sit.
|
|
2647
2733
|
*/
|
|
2648
2734
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
2649
|
-
|
|
2735
|
+
/**
|
|
2736
|
+
* A list whatever the variant: the badges and every panel read one, and only
|
|
2737
|
+
* what *leaves* the component is narrowed. A `range` holds its pair here,
|
|
2738
|
+
* which is why the entries are no longer `string` alone.
|
|
2739
|
+
*/
|
|
2740
|
+
readonly value: _angular_core.ModelSignal<(string | number)[]>;
|
|
2650
2741
|
/**
|
|
2651
2742
|
* The picked value, shaped the way this Filter was authored: the value
|
|
2652
|
-
* itself under single
|
|
2653
|
-
* slice a FilterGroup's key would carry (ADR 0026). A single
|
|
2654
|
-
*
|
|
2655
|
-
*
|
|
2743
|
+
* itself under `single` and the list under `multi` and `range`, matching the
|
|
2744
|
+
* slice a FilterGroup's key would carry (ADR 0026). A `single` cleared emits
|
|
2745
|
+
* `''` — a group deletes the key instead, and a bare Filter has no key to
|
|
2746
|
+
* delete.
|
|
2656
2747
|
*/
|
|
2657
2748
|
readonly filterChange: _angular_core.OutputEmitterRef<FilterValue>;
|
|
2658
2749
|
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
@@ -2668,48 +2759,59 @@ declare class SectionFilterComponent {
|
|
|
2668
2759
|
protected readonly noBorder: _angular_core.Signal<boolean>;
|
|
2669
2760
|
protected readonly resolvedName: _angular_core.Signal<string>;
|
|
2670
2761
|
/** The group's slice when there is one, this Filter's own model otherwise. */
|
|
2671
|
-
protected readonly selected: _angular_core.Signal<string[]>;
|
|
2762
|
+
protected readonly selected: _angular_core.Signal<readonly (string | number)[]>;
|
|
2672
2763
|
protected readonly toggleConfig: _angular_core.Signal<Button>;
|
|
2764
|
+
protected readonly chipConfig: _angular_core.Signal<Partial<Badge>>;
|
|
2673
2765
|
private readonly dropdownRef;
|
|
2674
|
-
private readonly
|
|
2675
|
-
private readonly assetOptionsResource;
|
|
2766
|
+
private readonly namedOptions;
|
|
2676
2767
|
protected readonly resolvedOptions: _angular_core.Signal<FilterOption[]>;
|
|
2677
2768
|
protected readonly hasSelection: _angular_core.Signal<boolean>;
|
|
2678
2769
|
protected readonly selectedOptions: _angular_core.Signal<FilterOption[]>;
|
|
2679
|
-
|
|
2770
|
+
/**
|
|
2771
|
+
* The numeric answer drawn as one chip, or `undefined` for the option
|
|
2772
|
+
* variants. One chip whether it is a pair or a lone number: a range is one
|
|
2773
|
+
* answer, and its × clears the whole key.
|
|
2774
|
+
*/
|
|
2775
|
+
protected readonly rangeLabel: _angular_core.Signal<string | undefined>;
|
|
2776
|
+
protected readonly selectorConfig: _angular_core.Signal<SelectorConfig<unknown>>;
|
|
2680
2777
|
protected readonly selectOption: (opt: FilterOption) => void;
|
|
2681
|
-
protected readonly removeOption: (val: string) => void;
|
|
2682
2778
|
/**
|
|
2683
|
-
*
|
|
2779
|
+
* A bound moved. Stays open whichever half was typed: a range is two numbers
|
|
2780
|
+
* and closing on the first would take the box away mid-answer. `single` mode
|
|
2781
|
+
* stays open too — one thumb is dragged, and a drag that closed the panel
|
|
2782
|
+
* under the cursor could not be corrected.
|
|
2783
|
+
*/
|
|
2784
|
+
protected readonly writeRange: (next: readonly number[] | undefined) => void;
|
|
2785
|
+
protected readonly clearRange: () => void;
|
|
2786
|
+
protected readonly removeOption: (val: string | number) => void;
|
|
2787
|
+
/**
|
|
2788
|
+
* The model is a list whatever the variant, the badges and every panel
|
|
2684
2789
|
* reading one; only what leaves the component is narrowed.
|
|
2685
2790
|
*/
|
|
2686
2791
|
private readonly write;
|
|
2687
2792
|
constructor();
|
|
2688
2793
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterComponent, never>;
|
|
2689
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterComponent, "m-section-filter", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionsAsset": { "alias": "optionsAsset"; "required": false; "isSignal": true; }; "
|
|
2794
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterComponent, "m-section-filter", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionsAsset": { "alias": "optionsAsset"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; }, never, never, true, never>;
|
|
2690
2795
|
}
|
|
2691
2796
|
|
|
2692
|
-
type BadgeVariant = 'saas' | 'status' | 'minimal' | 'default' | 'primary' | 'danger' | 'chip';
|
|
2693
|
-
type BadgePosition = 'static' | 'absolute' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
2694
|
-
type BadgeAnimation = 'pulse' | 'shimmer' | 'none';
|
|
2695
|
-
type Badge = Config & {
|
|
2696
|
-
variant?: BadgeVariant;
|
|
2697
|
-
icon?: string;
|
|
2698
|
-
position?: BadgePosition;
|
|
2699
|
-
ping?: boolean;
|
|
2700
|
-
animation?: BadgeAnimation;
|
|
2701
|
-
};
|
|
2702
|
-
|
|
2703
2797
|
/**
|
|
2704
|
-
* What a Filter registers about itself so the group can
|
|
2705
|
-
*
|
|
2798
|
+
* What a Filter registers about itself so the group can draw the squeezed
|
|
2799
|
+
* drill-in without rendering the Filter's own bar. Signals rather than values —
|
|
2706
2800
|
* a Filter's options arrive asynchronously when they come from an OptionSet.
|
|
2801
|
+
*
|
|
2802
|
+
* Carries everything a panel needs and not only what a menu row needed: the
|
|
2803
|
+
* group opens the *same* panel component the Filter's own dropdown opens
|
|
2804
|
+
* (`filterPanelOf`), so a `range` Filter's bounds have to reach the group the
|
|
2805
|
+
* way its options always did.
|
|
2707
2806
|
*/
|
|
2708
2807
|
interface FilterGroupMember {
|
|
2709
2808
|
readonly name: Signal<string>;
|
|
2710
2809
|
readonly label: Signal<string>;
|
|
2711
2810
|
readonly options: Signal<readonly FilterOption[]>;
|
|
2712
|
-
readonly
|
|
2811
|
+
readonly variant: Signal<FilterVariant>;
|
|
2812
|
+
readonly min: Signal<number | undefined>;
|
|
2813
|
+
readonly max: Signal<number | undefined>;
|
|
2814
|
+
readonly mode: Signal<FilterRangeMode>;
|
|
2713
2815
|
}
|
|
2714
2816
|
/**
|
|
2715
2817
|
* The group's side of the contract. A Filter injects this optionally: with one
|
|
@@ -2723,22 +2825,90 @@ interface FilterGroupContext {
|
|
|
2723
2825
|
readonly squeeze: Signal<boolean>;
|
|
2724
2826
|
register(member: FilterGroupMember): void;
|
|
2725
2827
|
unregister(member: FilterGroupMember): void;
|
|
2726
|
-
/**
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2828
|
+
/**
|
|
2829
|
+
* Reactive: called from a `computed` in the Filter, tracks the group's value.
|
|
2830
|
+
* Widened past `string[]` for `range`, whose pair is numeric — the exported
|
|
2831
|
+
* `filterList` still narrows to strings for the generated code that reads a
|
|
2832
|
+
* payload, and this is the in-component read that must not.
|
|
2833
|
+
*/
|
|
2834
|
+
valueOf(name: string): readonly (string | number)[];
|
|
2835
|
+
toggle(name: string, option: FilterOption, variant: FilterVariant): void;
|
|
2836
|
+
/**
|
|
2837
|
+
* A `range` member's new pair, or the one number its `single` mode picks;
|
|
2838
|
+
* `undefined` deletes the key.
|
|
2839
|
+
*/
|
|
2840
|
+
setRange(name: string, next: readonly number[] | undefined): void;
|
|
2841
|
+
remove(name: string, value: string | number): void;
|
|
2730
2842
|
}
|
|
2731
2843
|
declare const FILTER_GROUP_CONTEXT: InjectionToken<FilterGroupContext>;
|
|
2732
2844
|
|
|
2845
|
+
type MenuRow = {
|
|
2846
|
+
readonly name: string;
|
|
2847
|
+
readonly label: string;
|
|
2848
|
+
/** What this Filter currently holds, drawn beside its name. */
|
|
2849
|
+
readonly detail: string;
|
|
2850
|
+
readonly selected: boolean;
|
|
2851
|
+
};
|
|
2852
|
+
/**
|
|
2853
|
+
* What a squeezed FilterGroup opens: one row per Filter beneath it, drilling
|
|
2854
|
+
* into that Filter's *own* panel rather than into a list of MenuItems.
|
|
2855
|
+
*
|
|
2856
|
+
* A ContextMenuBox was what this used to be, and it could only ever draw rows
|
|
2857
|
+
* — which is a `range` Filter's bounds spelled as a list of options it does
|
|
2858
|
+
* not have. Drilling into `filterPanelOf` instead means the group draws
|
|
2859
|
+
* whatever the Filter draws, and a fourth variant needs nothing here at all
|
|
2860
|
+
* (ADR 0025 superseded).
|
|
2861
|
+
*/
|
|
2862
|
+
declare class SectionFilterMenuComponent {
|
|
2863
|
+
readonly members: _angular_core.InputSignal<readonly FilterGroupMember[]>;
|
|
2864
|
+
/**
|
|
2865
|
+
* The group's own contract, handed in rather than injected: this component
|
|
2866
|
+
* is created by the selector outside the group's element injector, so DI
|
|
2867
|
+
* would not reach it.
|
|
2868
|
+
*/
|
|
2869
|
+
readonly ctx: _angular_core.InputSignal<FilterGroupContext | undefined>;
|
|
2870
|
+
protected readonly activeName: _angular_core.WritableSignal<string | undefined>;
|
|
2871
|
+
protected readonly backConfig: _angular_core.Signal<Button>;
|
|
2872
|
+
protected readonly forwardIcon: _angular_core.Signal<{
|
|
2873
|
+
name: string;
|
|
2874
|
+
}>;
|
|
2875
|
+
protected readonly rows: _angular_core.Signal<MenuRow[]>;
|
|
2876
|
+
private readonly active;
|
|
2877
|
+
protected readonly activeRow: _angular_core.Signal<{
|
|
2878
|
+
name: string;
|
|
2879
|
+
label: string;
|
|
2880
|
+
} | undefined>;
|
|
2881
|
+
private readonly panelHost;
|
|
2882
|
+
private readonly activeVariant;
|
|
2883
|
+
private readonly activeLabel;
|
|
2884
|
+
private readonly activeOptions;
|
|
2885
|
+
private readonly activeSelected;
|
|
2886
|
+
private readonly activeMin;
|
|
2887
|
+
private readonly activeMax;
|
|
2888
|
+
private readonly activeMode;
|
|
2889
|
+
constructor();
|
|
2890
|
+
private readonly pick;
|
|
2891
|
+
private readonly setRange;
|
|
2892
|
+
/**
|
|
2893
|
+
* A range says what it holds and an option list says how many: two picked
|
|
2894
|
+
* options are two of a set the row cannot show, while two bounds *are* the
|
|
2895
|
+
* answer and fit.
|
|
2896
|
+
*/
|
|
2897
|
+
private readonly detailOf;
|
|
2898
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterMenuComponent, never>;
|
|
2899
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterMenuComponent, "m-section-filter-menu", never, { "members": { "alias": "members"; "required": false; "isSignal": true; }; "ctx": { "alias": "ctx"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2733
2902
|
/**
|
|
2734
2903
|
* A Row-like container that owns the selection for every Filter beneath it and
|
|
2735
2904
|
* emits one aggregate whenever any of them changes (ADR 0025). Admits Cols, so
|
|
2736
2905
|
* a Filter may sit any depth down — DI, not a content query, is what finds it.
|
|
2737
2906
|
*
|
|
2738
2907
|
* Squeezed, it collapses to one icon whose menu drills into each Filter in
|
|
2739
|
-
* turn
|
|
2740
|
-
*
|
|
2741
|
-
*
|
|
2908
|
+
* turn — into that Filter's own panel, so a `range` Filter offers its bounds
|
|
2909
|
+
* there exactly as it would in its own dropdown. The children are still
|
|
2910
|
+
* projected in that mode, only hidden: a Filter that never instantiates never
|
|
2911
|
+
* registers, and the menu is built from registrations.
|
|
2742
2912
|
*/
|
|
2743
2913
|
declare class SectionFilterGroupComponent {
|
|
2744
2914
|
readonly squeeze: _angular_core.InputSignal<boolean | undefined>;
|
|
@@ -2750,18 +2920,16 @@ declare class SectionFilterGroupComponent {
|
|
|
2750
2920
|
readonly config: _angular_core.InputSignal<SectionFilterGroupConfig | undefined>;
|
|
2751
2921
|
/**
|
|
2752
2922
|
* The whole group's selection, keyed by each Filter's `name` — one key per
|
|
2753
|
-
* Filter holding something, and none for a Filter holding nothing. A
|
|
2754
|
-
*
|
|
2755
|
-
* value itself (ADR 0026).
|
|
2923
|
+
* Filter holding something, and none for a Filter holding nothing. A `multi`
|
|
2924
|
+
* Filter's key carries its list, a `range` one's carries its `[min, max]`
|
|
2925
|
+
* pair, and a `single` one's carries the value itself (ADR 0026).
|
|
2756
2926
|
*/
|
|
2757
2927
|
readonly value: _angular_core.ModelSignal<FilterSelectionMap>;
|
|
2758
2928
|
readonly filterChange: _angular_core.OutputEmitterRef<FilterSelectionMap>;
|
|
2759
2929
|
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
2760
2930
|
private readonly members;
|
|
2761
2931
|
protected readonly isDesignMode: boolean;
|
|
2762
|
-
private readonly translateService;
|
|
2763
2932
|
private readonly sectionContext;
|
|
2764
|
-
private readonly selectorDir;
|
|
2765
2933
|
protected readonly squeezed: _angular_core.Signal<boolean>;
|
|
2766
2934
|
protected readonly resolvedPadding: _angular_core.Signal<boolean>;
|
|
2767
2935
|
protected readonly resolvedPaddingX: _angular_core.Signal<boolean>;
|
|
@@ -2778,14 +2946,13 @@ declare class SectionFilterGroupComponent {
|
|
|
2778
2946
|
protected readonly toggleConfig: _angular_core.Signal<Button>;
|
|
2779
2947
|
protected readonly countBadgeConfig: _angular_core.Signal<Partial<Badge>>;
|
|
2780
2948
|
/**
|
|
2781
|
-
*
|
|
2782
|
-
*
|
|
2783
|
-
*
|
|
2784
|
-
*
|
|
2949
|
+
* The drill-in, handed the registrations and this group's own contract. Not
|
|
2950
|
+
* a ContextMenuBox: a MenuItem is a row with a nested list of rows, which is
|
|
2951
|
+
* the one shape a `range` Filter's bounds do not take. What it opens per
|
|
2952
|
+
* Filter is `filterPanelOf` — the same answer the Filter's own dropdown gets
|
|
2953
|
+
* (ADR 0025 superseded).
|
|
2785
2954
|
*/
|
|
2786
|
-
protected readonly
|
|
2787
|
-
protected readonly selectorConfig: _angular_core.Signal<SelectorConfig<ContextMenuBoxComponent>>;
|
|
2788
|
-
private readonly onMenuAction;
|
|
2955
|
+
protected readonly selectorConfig: _angular_core.Signal<SelectorConfig<SectionFilterMenuComponent>>;
|
|
2789
2956
|
/**
|
|
2790
2957
|
* A Filter reads its slice as the list it draws badges from, whatever shape
|
|
2791
2958
|
* the key holds — the map is the payload's shape and not the row's, so the
|
|
@@ -2794,14 +2961,27 @@ declare class SectionFilterGroupComponent {
|
|
|
2794
2961
|
*/
|
|
2795
2962
|
private readonly valueOf;
|
|
2796
2963
|
/**
|
|
2797
|
-
*
|
|
2798
|
-
* than passed in, because `remove` is called from a badge and knows
|
|
2799
|
-
* value it is dropping. An unregistered name
|
|
2800
|
-
* default.
|
|
2964
|
+
* Which variant this Filter was authored as. Read off the registration
|
|
2965
|
+
* rather than passed in, because `remove` is called from a badge and knows
|
|
2966
|
+
* only the value it is dropping. An unregistered name reads as the input's
|
|
2967
|
+
* own default.
|
|
2968
|
+
*/
|
|
2969
|
+
private readonly variantOf;
|
|
2970
|
+
/**
|
|
2971
|
+
* A `range` member's thumb count, which decides whether its key carries a
|
|
2972
|
+
* pair or one number. Read off the member rather than passed with the value,
|
|
2973
|
+
* the way `variantOf` is — the group owns the selection and the member owns
|
|
2974
|
+
* how it was authored.
|
|
2801
2975
|
*/
|
|
2802
|
-
private readonly
|
|
2976
|
+
private readonly modeOf;
|
|
2803
2977
|
private readonly write;
|
|
2804
2978
|
private readonly toggle;
|
|
2979
|
+
/**
|
|
2980
|
+
* A `range` member's new pair — or the one number its `single` mode picks,
|
|
2981
|
+
* or the deletion of its key. Goes through the same `write` every other
|
|
2982
|
+
* variant does; `write` asks the member which shape its key holds (ADR 0025).
|
|
2983
|
+
*/
|
|
2984
|
+
private readonly setRange;
|
|
2805
2985
|
readonly context: FilterGroupContext;
|
|
2806
2986
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterGroupComponent, never>;
|
|
2807
2987
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterGroupComponent, "m-section-filter-group", never, { "squeeze": { "alias": "squeeze"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "paddingX": { "alias": "paddingX"; "required": false; "isSignal": true; }; "paddingY": { "alias": "paddingY"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; }, never, ["*"], true, never>;
|
|
@@ -3347,6 +3527,211 @@ declare class SectionTabsComponent extends ConfigComponent<TabGroup> implements
|
|
|
3347
3527
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionTabsComponent, "m-section-tabs", never, { "xs": { "alias": "xs"; "required": false; "isSignal": true; }; "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "xl": { "alias": "xl"; "required": false; "isSignal": true; }; "xxl": { "alias": "xxl"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
3348
3528
|
}
|
|
3349
3529
|
|
|
3530
|
+
/**
|
|
3531
|
+
* One option's row, with the configs both controls need built once per option
|
|
3532
|
+
* rather than per change detection — an inline config object is a new
|
|
3533
|
+
* reference every check, and `no-inline-config` refuses one anyway.
|
|
3534
|
+
*
|
|
3535
|
+
* Both are built whatever the variant: a flat object rather than a union arm,
|
|
3536
|
+
* because the `assets:wc` build runs without `strict` and a union does not
|
|
3537
|
+
* narrow there.
|
|
3538
|
+
*/
|
|
3539
|
+
type PanelRow = {
|
|
3540
|
+
readonly option: FilterOption;
|
|
3541
|
+
readonly checkbox: Partial<Input>;
|
|
3542
|
+
readonly radio: Partial<RadioInput>;
|
|
3543
|
+
};
|
|
3544
|
+
declare class SectionFilterPanelComponent {
|
|
3545
|
+
readonly options: _angular_core.InputSignal<readonly FilterOption[]>;
|
|
3546
|
+
readonly selected: _angular_core.InputSignal<readonly (string | number)[]>;
|
|
3547
|
+
/**
|
|
3548
|
+
* The two option-picking variants and no others: a `range` Filter opens
|
|
3549
|
+
* `SectionFilterRangePanelComponent` instead, the two panels being what the
|
|
3550
|
+
* variant chooses between rather than a mode inside one of them.
|
|
3551
|
+
*/
|
|
3552
|
+
readonly variant: _angular_core.InputSignal<FilterVariant>;
|
|
3553
|
+
readonly action: _angular_core.OutputEmitterRef<FilterOption>;
|
|
3554
|
+
protected readonly multiple: _angular_core.Signal<boolean>;
|
|
3555
|
+
/**
|
|
3556
|
+
* Unique per panel instance: a radio's `name` is what groups its buttons in
|
|
3557
|
+
* the DOM, and its `id` is what a label points at. Two panels open at once
|
|
3558
|
+
* — a Filter's own dropdown and a group's drill-in — would otherwise share
|
|
3559
|
+
* both and steer each other's rings.
|
|
3560
|
+
*/
|
|
3561
|
+
private readonly uid;
|
|
3562
|
+
protected readonly rows: _angular_core.Signal<PanelRow[]>;
|
|
3563
|
+
protected readonly isSelected: (val: string | number) => boolean;
|
|
3564
|
+
protected readonly selectOption: (opt: FilterOption) => void;
|
|
3565
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterPanelComponent, never>;
|
|
3566
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterPanelComponent, "m-section-filter-panel", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
type BoundConfig = Partial<Input> & {
|
|
3570
|
+
type: InputType.NUMBER;
|
|
3571
|
+
min?: number;
|
|
3572
|
+
max?: number;
|
|
3573
|
+
};
|
|
3574
|
+
/**
|
|
3575
|
+
* The panel a `range` Filter opens: a slider over the authored bounds, and the
|
|
3576
|
+
* numeric boxes under it. Two thumbs and two boxes by default; one of each in
|
|
3577
|
+
* `single` mode, where the Filter picks one number rather than a pair
|
|
3578
|
+
* (CONTEXT.md FilterRangeMode). One panel for both, because the modes differ
|
|
3579
|
+
* only in how many answers come back — the bounds and the fallbacks are the
|
|
3580
|
+
* same authoring either way.
|
|
3581
|
+
*
|
|
3582
|
+
* Both, not one. The slider is how a range is *picked* — dragging is the
|
|
3583
|
+
* gesture the shape asks for, and the fill says at a glance how much of the
|
|
3584
|
+
* span is being kept. The boxes are how it is *stated*: a thumb cannot land on
|
|
3585
|
+
* an exact number at 260px, and they are the only affordance a keyboard has.
|
|
3586
|
+
* They drive one value between them, so a drag retypes the boxes and a typed
|
|
3587
|
+
* bound moves the thumb.
|
|
3588
|
+
*
|
|
3589
|
+
* The slider needs real bounds to draw against and falls back to 0–100 when
|
|
3590
|
+
* the author gave none, which is the same span `m-multi-range` assumes
|
|
3591
|
+
* everywhere else.
|
|
3592
|
+
*
|
|
3593
|
+
* The two boxes are prefixed `≥` and `≤` rather than labelled with words. A
|
|
3594
|
+
* bound reads the same in every locale, and libs/one's TranslationAssets carry
|
|
3595
|
+
* ~150 languages each — two of them for a mark the symbol already makes.
|
|
3596
|
+
*/
|
|
3597
|
+
declare class SectionFilterRangePanelComponent {
|
|
3598
|
+
/**
|
|
3599
|
+
* The pair this Filter's key carries, read the way every other panel reads
|
|
3600
|
+
* its slice — as the list the group hands down. Empty when nothing is picked,
|
|
3601
|
+
* because a Filter holding nothing carries no key (ADR 0026).
|
|
3602
|
+
*/
|
|
3603
|
+
readonly value: _angular_core.InputSignal<readonly (string | number)[]>;
|
|
3604
|
+
readonly min: _angular_core.InputSignal<number | undefined>;
|
|
3605
|
+
readonly max: _angular_core.InputSignal<number | undefined>;
|
|
3606
|
+
/** One thumb or two. `range` by default (CONTEXT.md FilterRangeMode). */
|
|
3607
|
+
readonly mode: _angular_core.InputSignal<FilterRangeMode>;
|
|
3608
|
+
/** The Filter's own heading, already a TranslationAsset key. */
|
|
3609
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
3610
|
+
/**
|
|
3611
|
+
* What was picked — the pair under `range`, the one number under `single` —
|
|
3612
|
+
* or `undefined` once the boxes are empty, which is what deletes the key
|
|
3613
|
+
* rather than writing blanks into it.
|
|
3614
|
+
*
|
|
3615
|
+
* A list either way, not a union of a pair and a number: the `assets:wc`
|
|
3616
|
+
* build runs without `strict`, where a union arm does not narrow, and the
|
|
3617
|
+
* Filter is the one that knows which shape its key carries.
|
|
3618
|
+
*/
|
|
3619
|
+
readonly action: _angular_core.OutputEmitterRef<readonly number[] | undefined>;
|
|
3620
|
+
protected readonly isSingle: _angular_core.Signal<boolean>;
|
|
3621
|
+
protected readonly from: _angular_core.Signal<number | undefined>;
|
|
3622
|
+
protected readonly to: _angular_core.Signal<number | undefined>;
|
|
3623
|
+
protected readonly fromText: _angular_core.Signal<string>;
|
|
3624
|
+
protected readonly toText: _angular_core.Signal<string>;
|
|
3625
|
+
/**
|
|
3626
|
+
* Where the thumbs sit. An empty half is not a thumb in the middle of
|
|
3627
|
+
* nowhere — it rests on the bound it falls back to, which is exactly what
|
|
3628
|
+
* that half filters from.
|
|
3629
|
+
*/
|
|
3630
|
+
protected readonly sliderValue: _angular_core.Signal<number[]>;
|
|
3631
|
+
/**
|
|
3632
|
+
* No label on the slider: in the Filter's own dropdown the bar above it
|
|
3633
|
+
* already carries the Filter's name, and in a squeezed group's drill-in the
|
|
3634
|
+
* back row does. `label` stays an input because `filterPanelOf` binds it for
|
|
3635
|
+
* both panels.
|
|
3636
|
+
*/
|
|
3637
|
+
protected readonly sliderConfig: _angular_core.Signal<MultiRangeInput>;
|
|
3638
|
+
/**
|
|
3639
|
+
* `single` mode's one thumb. Empty rests on the low bound rather than in the
|
|
3640
|
+
* middle of nowhere — the same fallback each half of a pair makes.
|
|
3641
|
+
*/
|
|
3642
|
+
protected readonly oneSliderText: _angular_core.Signal<string>;
|
|
3643
|
+
protected readonly oneText: _angular_core.Signal<string>;
|
|
3644
|
+
/** No label, for the reason `sliderConfig` carries none. */
|
|
3645
|
+
protected readonly oneSliderConfig: _angular_core.Signal<RangeInput>;
|
|
3646
|
+
/**
|
|
3647
|
+
* No `≥` prefix: one box is not a half of anything, and the bound it clamps
|
|
3648
|
+
* to is already the placeholder.
|
|
3649
|
+
*/
|
|
3650
|
+
protected readonly oneConfig: _angular_core.Signal<BoundConfig>;
|
|
3651
|
+
protected readonly fromConfig: _angular_core.Signal<BoundConfig>;
|
|
3652
|
+
protected readonly toConfig: _angular_core.Signal<BoundConfig>;
|
|
3653
|
+
/**
|
|
3654
|
+
* A drag moved a thumb. Goes through the same `emit` a typed bound does —
|
|
3655
|
+
* one pair leaves this panel however it was picked.
|
|
3656
|
+
*/
|
|
3657
|
+
protected readonly writeSlider: (next: number[]) => void;
|
|
3658
|
+
/** The single thumb moved. `m-range` speaks text, as every text input does. */
|
|
3659
|
+
protected readonly writeOneSlider: (raw: string) => void;
|
|
3660
|
+
protected readonly writeOne: (raw: string) => void;
|
|
3661
|
+
private readonly lowBound;
|
|
3662
|
+
private readonly highBound;
|
|
3663
|
+
protected readonly writeFrom: (raw: string) => void;
|
|
3664
|
+
protected readonly writeTo: (raw: string) => void;
|
|
3665
|
+
/**
|
|
3666
|
+
* The authored bound stands in as the placeholder: it says what the box will
|
|
3667
|
+
* do if left empty, which is the one thing a range's empty half means.
|
|
3668
|
+
*/
|
|
3669
|
+
private readonly boundConfig;
|
|
3670
|
+
private readonly bound;
|
|
3671
|
+
/**
|
|
3672
|
+
* A half-filled range is still a range: the empty side falls back to the
|
|
3673
|
+
* authored bound, so typing one number filters from it rather than waiting
|
|
3674
|
+
* for the other box. Both empty and there is nothing to filter on, which is
|
|
3675
|
+
* the `undefined` that drops the key.
|
|
3676
|
+
*/
|
|
3677
|
+
private readonly emit;
|
|
3678
|
+
/**
|
|
3679
|
+
* `single` mode's one answer. An emptied box drops the key the way an
|
|
3680
|
+
* emptied pair does — there is no bound left to filter from.
|
|
3681
|
+
*/
|
|
3682
|
+
private readonly emitOne;
|
|
3683
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFilterRangePanelComponent, never>;
|
|
3684
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFilterRangePanelComponent, "m-section-filter-range-panel", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* What a host hands a Filter's panel, whichever variant it turns out to be.
|
|
3689
|
+
* Signals rather than values: a Filter's options arrive asynchronously when
|
|
3690
|
+
* they come from an OptionSet, and its slice changes under it while the panel
|
|
3691
|
+
* is open.
|
|
3692
|
+
*/
|
|
3693
|
+
type FilterPanelIo = {
|
|
3694
|
+
readonly variant: Signal<FilterVariant>;
|
|
3695
|
+
readonly label: Signal<string>;
|
|
3696
|
+
readonly options: Signal<readonly FilterOption[]>;
|
|
3697
|
+
readonly selected: Signal<readonly (string | number)[]>;
|
|
3698
|
+
readonly min: Signal<number | undefined>;
|
|
3699
|
+
readonly max: Signal<number | undefined>;
|
|
3700
|
+
/** A `range` variant's thumb count. Ignored by the option-picking ones. */
|
|
3701
|
+
readonly mode: Signal<FilterRangeMode>;
|
|
3702
|
+
/** An option-picking variant picked one. */
|
|
3703
|
+
readonly pick: (option: FilterOption) => void;
|
|
3704
|
+
/**
|
|
3705
|
+
* A `range` variant moved a bound — the pair, or the one number `single`
|
|
3706
|
+
* mode picks; `undefined` once the boxes are empty.
|
|
3707
|
+
*/
|
|
3708
|
+
readonly setRange: (next: readonly number[] | undefined) => void;
|
|
3709
|
+
};
|
|
3710
|
+
/** A component and the bindings that drive it, ready for `createComponent`. */
|
|
3711
|
+
type FilterPanel = {
|
|
3712
|
+
readonly component: Type<unknown>;
|
|
3713
|
+
readonly bindings: Binding[];
|
|
3714
|
+
};
|
|
3715
|
+
/**
|
|
3716
|
+
* Which panel a variant opens, and what drives it — the one place that answers
|
|
3717
|
+
* it, because two hosts ask: a Filter's own dropdown, and the drill-in a
|
|
3718
|
+
* squeezed FilterGroup draws for each Filter beneath it. A `switch` in each
|
|
3719
|
+
* would be the same answer written twice, and the second copy is the one that
|
|
3720
|
+
* would be forgotten when a fourth variant lands (ADR 0025 superseded).
|
|
3721
|
+
*
|
|
3722
|
+
* A flat result object rather than a discriminated union: the `assets:wc`
|
|
3723
|
+
* build runs without `strict`, where a union arm does not narrow, so a shape
|
|
3724
|
+
* that type-checks here would fail to build there.
|
|
3725
|
+
*/
|
|
3726
|
+
declare const filterPanelOf: (io: FilterPanelIo) => FilterPanel;
|
|
3727
|
+
/**
|
|
3728
|
+
* How wide that panel wants to be. A range's two boxes need more than an
|
|
3729
|
+
* option list's rows, and the group's drill-in is the narrower of the two
|
|
3730
|
+
* hosts — so the width rides with the panel rather than being guessed at each
|
|
3731
|
+
* call site.
|
|
3732
|
+
*/
|
|
3733
|
+
declare const filterPanelWidth: (variant: FilterVariant) => string;
|
|
3734
|
+
|
|
3350
3735
|
/**
|
|
3351
3736
|
* One key of a group's selection read as the list a `multiple` Filter carries.
|
|
3352
3737
|
* A scalar is widened back into a one-element list and an absent key reads as
|
|
@@ -3378,6 +3763,28 @@ declare function filterOne(selection: FilterSelectionMap | undefined, name: stri
|
|
|
3378
3763
|
* picked, and a group writes no key at all for nothing.
|
|
3379
3764
|
*/
|
|
3380
3765
|
declare function filterValueList(value: FilterValue | undefined): string[];
|
|
3766
|
+
/**
|
|
3767
|
+
* One key read without the narrowing `filterList` does — the entries as the
|
|
3768
|
+
* map actually holds them. What a panel inside the library reads, because a
|
|
3769
|
+
* `range` key's pair is numeric and `String`-ing it would make a bound into
|
|
3770
|
+
* text the boxes then have to parse back.
|
|
3771
|
+
*
|
|
3772
|
+
* Not what generated code reads: a payload leaving the library goes through
|
|
3773
|
+
* `filterList` or `filterOne`, whose `string` return is what a StoreMethod
|
|
3774
|
+
* parameter takes (ADR 0026).
|
|
3775
|
+
*/
|
|
3776
|
+
declare function filterValues(selection: FilterSelectionMap | undefined, name: string): readonly (string | number)[];
|
|
3777
|
+
/**
|
|
3778
|
+
* One key read as the numeric pair a `range` Filter carries, or `undefined`
|
|
3779
|
+
* when the Filter holds nothing — a Filter holding nothing carries no key at
|
|
3780
|
+
* all, which is the absence a consumer drops from a query rather than sending
|
|
3781
|
+
* as a pair of blanks (ADR 0026).
|
|
3782
|
+
*
|
|
3783
|
+
* A key holding anything but two finite numbers reads as `undefined`: a
|
|
3784
|
+
* variant flipped after a selection was made leaves an option list behind, and
|
|
3785
|
+
* a list of labels is not a range whatever its length.
|
|
3786
|
+
*/
|
|
3787
|
+
declare function filterRange(selection: FilterSelectionMap | undefined, name: string): [number, number] | undefined;
|
|
3381
3788
|
|
|
3382
3789
|
type ColSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3383
3790
|
type ColBreakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
@@ -3968,6 +4375,15 @@ declare class RangeInputComponent extends BaseTextInputComponent<RangeInput> {
|
|
|
3968
4375
|
private readonly _track;
|
|
3969
4376
|
protected readonly _trackWidth: _angular_core.WritableSignal<number>;
|
|
3970
4377
|
protected readonly _TRACK_HALF_H = 3;
|
|
4378
|
+
/**
|
|
4379
|
+
* Measured live rather than once. The track shares its row with the value
|
|
4380
|
+
* readout and opens inside panels that animate in, and a width read mid
|
|
4381
|
+
* animation is the scaled one — `getBoundingClientRect` counts transforms
|
|
4382
|
+
* where a ResizeObserver's box does not. A stale width is a thumb that stops
|
|
4383
|
+
* short of the track's end or, before the bounds became inputs on the
|
|
4384
|
+
* Draggable, ran clean past it.
|
|
4385
|
+
*/
|
|
4386
|
+
private readonly _measure;
|
|
3971
4387
|
thumbDraggable: _angular_core.WritableSignal<Draggable>;
|
|
3972
4388
|
readonly _displayValue: _angular_core.Signal<number>;
|
|
3973
4389
|
constructor();
|
|
@@ -3996,6 +4412,15 @@ declare class MultiRangeInputComponent extends BaseArrayInputComponent {
|
|
|
3996
4412
|
private readonly _track;
|
|
3997
4413
|
protected readonly _trackWidth: _angular_core.WritableSignal<number>;
|
|
3998
4414
|
protected readonly _TRACK_HALF_H = 3;
|
|
4415
|
+
/**
|
|
4416
|
+
* Measured live rather than once. The track fills its row and opens inside
|
|
4417
|
+
* panels that animate in, and a width read mid
|
|
4418
|
+
* animation is the scaled one — `getBoundingClientRect` counts transforms
|
|
4419
|
+
* where a ResizeObserver's box does not. A stale width is a thumb that stops
|
|
4420
|
+
* short of the track's end or, before the bounds became inputs on the
|
|
4421
|
+
* Draggable, ran clean past it.
|
|
4422
|
+
*/
|
|
4423
|
+
private readonly _measure;
|
|
3999
4424
|
readonly minThumb: _angular_core.WritableSignal<Draggable>;
|
|
4000
4425
|
readonly maxThumb: _angular_core.WritableSignal<Draggable>;
|
|
4001
4426
|
readonly fillWidth: _angular_core.Signal<number>;
|
|
@@ -8527,5 +8952,5 @@ interface AuthResult {
|
|
|
8527
8952
|
}
|
|
8528
8953
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
8529
8954
|
|
|
8530
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UlComponent, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, filterList, filterOne, filterValueList, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navToId, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
8531
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterSelectionMap, FilterValue, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|
|
8955
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UlComponent, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navToId, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
8956
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|