@magmonium/one 0.2.79 → 0.2.81
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/i18n/en.json +10 -1
- package/assets/index.json +1 -1
- package/assets/options/file_accept.json +89 -0
- package/assets/patterns/aspect-ratio.json +5 -0
- package/fesm2022/magmonium-one-image-editor-aBl2dVEc.mjs +290 -0
- package/fesm2022/magmonium-one-image-editor-aBl2dVEc.mjs.map +1 -0
- package/fesm2022/{magmonium-one-magmonium-one-CVuP1oHe.mjs → magmonium-one-magmonium-one-CWtMvVOS.mjs} +1089 -74
- package/fesm2022/magmonium-one-magmonium-one-CWtMvVOS.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-T4eYO6SM.mjs → magmonium-one-otp-B-oUlDWY.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-T4eYO6SM.mjs.map → magmonium-one-otp-B-oUlDWY.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-rGcfKu8z.mjs → magmonium-one-password-7gmB_RWb.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-rGcfKu8z.mjs.map → magmonium-one-password-7gmB_RWb.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-DBQMTJ6O.mjs → magmonium-one-toggle-DL3lH7Xo.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-DBQMTJ6O.mjs.map → magmonium-one-toggle-DL3lH7Xo.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +262 -14
- package/fesm2022/magmonium-one-magmonium-one-CVuP1oHe.mjs.map +0 -1
package/types/magmonium-one.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { ThemeColor, Theme, ThemeList, WebComponentConfig as WebComponentConfig$
|
|
|
8
8
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
9
9
|
import * as _ngrx_signals_rxjs_interop from '@ngrx/signals/rxjs-interop';
|
|
10
10
|
import * as _angular_router from '@angular/router';
|
|
11
|
-
import { Router, Route, Routes, RouterStateSnapshot, UrlSerializer, UrlTree, ActivatedRouteSnapshot } from '@angular/router';
|
|
11
|
+
import { Router, Route, Routes, RouterStateSnapshot, UrlSerializer, UrlTree, CanActivateFn, ActivatedRouteSnapshot } from '@angular/router';
|
|
12
12
|
import * as dist_libs_cli_src from 'dist/libs/cli/src';
|
|
13
13
|
import * as _magmonium_one from '@magmonium/one';
|
|
14
14
|
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
@@ -2503,7 +2503,7 @@ type MultiRangeInput = Input & {
|
|
|
2503
2503
|
max?: number;
|
|
2504
2504
|
step?: number;
|
|
2505
2505
|
};
|
|
2506
|
-
type InputValue = boolean | string | number | string[] | undefined;
|
|
2506
|
+
type InputValue = boolean | string | number | string[] | File | File[] | undefined;
|
|
2507
2507
|
type InputState = {
|
|
2508
2508
|
focused?: true;
|
|
2509
2509
|
touched?: true;
|
|
@@ -4520,15 +4520,40 @@ interface ComponentInput extends TextInput {
|
|
|
4520
4520
|
iconFromValue?: boolean;
|
|
4521
4521
|
}
|
|
4522
4522
|
|
|
4523
|
+
type FileReadAs = 'file' | 'text';
|
|
4523
4524
|
interface FileUploadInput extends Omit<TextInput, 'type'> {
|
|
4524
4525
|
type: InputType.FILE | InputType.FOLDER;
|
|
4525
|
-
/**
|
|
4526
|
-
|
|
4526
|
+
/**
|
|
4527
|
+
* MIME types or extensions the Field takes (`file` mode only). A list in a
|
|
4528
|
+
* `fields/<name>.yml`; one comma-separated scalar on a tag.
|
|
4529
|
+
*/
|
|
4530
|
+
accept?: string[] | string;
|
|
4527
4531
|
/**
|
|
4528
4532
|
* `file` opens a file picker; `folder` opens a directory picker when supported.
|
|
4529
4533
|
* `type: folder` always picks a folder — `mode` is ignored in that case.
|
|
4530
4534
|
*/
|
|
4531
4535
|
mode?: 'file' | 'folder';
|
|
4536
|
+
/** Largest file taken, in bytes. A bigger one is reported, never kept. */
|
|
4537
|
+
maxSize?: number;
|
|
4538
|
+
/** Holds a list, and a new pick appends to it rather than replacing it. */
|
|
4539
|
+
multiple?: boolean;
|
|
4540
|
+
/** Renders a DropZone in place of the picker button. */
|
|
4541
|
+
dropZone?: boolean;
|
|
4542
|
+
/**
|
|
4543
|
+
* What the value holds: the `File` itself (default), or its text for a Field
|
|
4544
|
+
* that wants content rather than a file — an SVG, a JSON import.
|
|
4545
|
+
*/
|
|
4546
|
+
readAs?: FileReadAs;
|
|
4547
|
+
/**
|
|
4548
|
+
* Opens each picked raster image in the ImageEditor before the Field keeps
|
|
4549
|
+
* it. Needs `ratio` and `width`; ignored without them, and for `readAs: text`
|
|
4550
|
+
* or a folder.
|
|
4551
|
+
*/
|
|
4552
|
+
editor?: boolean;
|
|
4553
|
+
/** The ImageEditor's box, `W:H` — `'1:1'`, `'16:9'`. */
|
|
4554
|
+
ratio?: string;
|
|
4555
|
+
/** Pixel width an edited image comes out at; its height follows `ratio`. */
|
|
4556
|
+
width?: number;
|
|
4532
4557
|
}
|
|
4533
4558
|
|
|
4534
4559
|
declare class RangeInputComponent extends BaseTextInputComponent<RangeInput> {
|
|
@@ -4711,20 +4736,88 @@ declare class ComponentInputComponent extends BaseTextInputComponent<ComponentIn
|
|
|
4711
4736
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ComponentInputComponent, "m-component-input", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "component": { "alias": "component"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4712
4737
|
}
|
|
4713
4738
|
|
|
4714
|
-
|
|
4739
|
+
type FileRejectionReason = 'type' | 'size' | 'unreadable';
|
|
4740
|
+
type FileRejection = {
|
|
4741
|
+
name: string;
|
|
4742
|
+
reason: FileRejectionReason;
|
|
4743
|
+
};
|
|
4744
|
+
|
|
4745
|
+
/** What a `file` Field holds: the file(s), their text, or a folder's name. */
|
|
4746
|
+
type FileFieldValue = File | File[] | string | string[] | undefined;
|
|
4747
|
+
type HeldFile = {
|
|
4748
|
+
name: string;
|
|
4749
|
+
/** What the value holds for it — the File, or the text read from it. */
|
|
4750
|
+
source: unknown;
|
|
4751
|
+
/** Extension shown on a tile that has no preview, e.g. `PDF`. */
|
|
4752
|
+
kind: string;
|
|
4753
|
+
icon: string;
|
|
4754
|
+
/** Object URL of an image's preview. */
|
|
4755
|
+
preview?: string;
|
|
4756
|
+
};
|
|
4757
|
+
type RejectionMessage = {
|
|
4758
|
+
key: string;
|
|
4759
|
+
params: Record<string, string>;
|
|
4760
|
+
};
|
|
4761
|
+
declare class FileUploadInputComponent extends BaseInputComponent<FileUploadInput> implements FormValueControl<FileFieldValue> {
|
|
4715
4762
|
config: _angular_core.InputSignal<Partial<FileUploadInput> | undefined>;
|
|
4763
|
+
value: ModelSignal<FileFieldValue>;
|
|
4716
4764
|
private readonly files;
|
|
4765
|
+
private readonly translate;
|
|
4717
4766
|
private readonly folderPickListener;
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4767
|
+
private readonly modalStore;
|
|
4768
|
+
/**
|
|
4769
|
+
* Names of what `readAs: text` read, and of a folder picked. The value holds
|
|
4770
|
+
* the text or the folder's name, so the file names survive only here.
|
|
4771
|
+
*/
|
|
4772
|
+
private readonly pickedNames;
|
|
4773
|
+
protected readonly rejections: _angular_core.WritableSignal<FileRejection[]>;
|
|
4774
|
+
protected readonly isDragging: _angular_core.WritableSignal<boolean>;
|
|
4775
|
+
private readonly syncPickedNames;
|
|
4721
4776
|
private readonly isFolderMode;
|
|
4777
|
+
protected readonly isMultiple: _angular_core.Signal<boolean>;
|
|
4778
|
+
protected readonly hasDropZone: _angular_core.Signal<boolean>;
|
|
4779
|
+
private readonly readsText;
|
|
4780
|
+
private readonly accept;
|
|
4781
|
+
/**
|
|
4782
|
+
* The pixels the ImageEditor frames to, or undefined when this Field has no
|
|
4783
|
+
* ImageEditor: `editor` off, `ratio` or `width` missing, a text read or a
|
|
4784
|
+
* folder — none of which hold a picture to frame.
|
|
4785
|
+
*/
|
|
4786
|
+
private readonly editorSize;
|
|
4787
|
+
private readonly maxSize;
|
|
4788
|
+
protected readonly isLocked: _angular_core.Signal<boolean>;
|
|
4789
|
+
/** Object URLs of the previews on show, keyed by what the value holds. */
|
|
4790
|
+
private readonly previews;
|
|
4791
|
+
protected readonly heldFiles: _angular_core.Signal<HeldFile[]>;
|
|
4792
|
+
private readonly releasePreviews;
|
|
4793
|
+
private readonly releaseAllPreviews;
|
|
4794
|
+
/** A `file` Field has no placeholder: it names the types it takes instead. */
|
|
4795
|
+
private readonly acceptLabel;
|
|
4796
|
+
protected readonly dropPlaceholder: _angular_core.Signal<string>;
|
|
4797
|
+
protected readonly removeButton: _angular_core.Signal<Button>;
|
|
4798
|
+
protected readonly rejectionMessages: _angular_core.Signal<RejectionMessage[]>;
|
|
4722
4799
|
protected readonly buttonConfig: _angular_core.Signal<Button>;
|
|
4723
4800
|
protected openPicker: () => void;
|
|
4724
|
-
|
|
4801
|
+
protected onSpace: (event: Event) => void;
|
|
4802
|
+
protected onDragOver: (event: DragEvent) => void;
|
|
4803
|
+
protected onDrop: (event: DragEvent) => void;
|
|
4804
|
+
protected removeAt: (index: number, event: Event) => void;
|
|
4805
|
+
private pickFiles;
|
|
4806
|
+
private take;
|
|
4807
|
+
/**
|
|
4808
|
+
* The files this Field keeps. Without an ImageEditor, `accept` and `maxSize`
|
|
4809
|
+
* in one pass. With one, each raster image is framed first and the size limit
|
|
4810
|
+
* judged on what the framing produced, since that is what gets uploaded.
|
|
4811
|
+
*/
|
|
4812
|
+
private screen;
|
|
4813
|
+
private openEditor;
|
|
4725
4814
|
private pickFolder;
|
|
4815
|
+
private readonly previewFor;
|
|
4816
|
+
private readonly toHeld;
|
|
4817
|
+
private readonly setValue;
|
|
4818
|
+
private readonly isEmpty;
|
|
4726
4819
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileUploadInputComponent, never>;
|
|
4727
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileUploadInputComponent, "m-file-upload-input", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4820
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileUploadInputComponent, "m-file-upload-input", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4728
4821
|
}
|
|
4729
4822
|
|
|
4730
4823
|
/**
|
|
@@ -5109,6 +5202,13 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
5109
5202
|
readonly isCheckboxVisible: _angular_core.InputSignal<string | boolean | undefined>;
|
|
5110
5203
|
readonly enlarge: _angular_core.InputSignal<string | boolean | undefined>;
|
|
5111
5204
|
readonly optionsAsset: _angular_core.InputSignal<string | undefined>;
|
|
5205
|
+
readonly accept: _angular_core.InputSignal<string | string[] | undefined>;
|
|
5206
|
+
readonly maxSize: _angular_core.InputSignal<string | number | undefined>;
|
|
5207
|
+
readonly dropZone: _angular_core.InputSignal<string | boolean | undefined>;
|
|
5208
|
+
readonly readAs: _angular_core.InputSignal<string | undefined>;
|
|
5209
|
+
readonly editor: _angular_core.InputSignal<string | boolean | undefined>;
|
|
5210
|
+
readonly ratio: _angular_core.InputSignal<string | undefined>;
|
|
5211
|
+
readonly width: _angular_core.InputSignal<string | number | undefined>;
|
|
5112
5212
|
readonly patterns: _angular_core.InputSignal<string | string[] | undefined>;
|
|
5113
5213
|
readonly patternMessage: _angular_core.InputSignal<string | undefined>;
|
|
5114
5214
|
value: _angular_core.ModelSignal<InputValue>;
|
|
@@ -5164,7 +5264,7 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
5164
5264
|
private readonly createDynamicComponent;
|
|
5165
5265
|
private readonly createDynamicInput;
|
|
5166
5266
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFormItemComponent, never>;
|
|
5167
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFormItemComponent, "m-section-form-item, m-one-section-form-item", never, { "span": { "alias": "span"; "required": false; "isSignal": true; }; "labelOrientation": { "alias": "labelOrientation"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "element": { "alias": "element"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "aclResolver": { "alias": "aclResolver"; "required": false; "isSignal": true; }; "formValues": { "alias": "formValues"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "params": { "alias": "params"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "button": { "alias": "button"; "required": false; "isSignal": true; }; "buttonAction": { "alias": "buttonAction"; "required": false; "isSignal": true; }; "buttonAcl": { "alias": "buttonAcl"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "acl": { "alias": "acl"; "required": false; "isSignal": true; }; "testid": { "alias": "testid"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "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; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; "equalWidth": { "alias": "equalWidth"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "isCheckboxVisible": { "alias": "isCheckboxVisible"; "required": false; "isSignal": true; }; "enlarge": { "alias": "enlarge"; "required": false; "isSignal": true; }; "optionsAsset": { "alias": "optionsAsset"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "patternMessage": { "alias": "patternMessage"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "act": "act"; "fieldKey": "fieldKey"; }, ["projectedTemplate"], never, true, never>;
|
|
5267
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFormItemComponent, "m-section-form-item, m-one-section-form-item", never, { "span": { "alias": "span"; "required": false; "isSignal": true; }; "labelOrientation": { "alias": "labelOrientation"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "element": { "alias": "element"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "aclResolver": { "alias": "aclResolver"; "required": false; "isSignal": true; }; "formValues": { "alias": "formValues"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "params": { "alias": "params"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "button": { "alias": "button"; "required": false; "isSignal": true; }; "buttonAction": { "alias": "buttonAction"; "required": false; "isSignal": true; }; "buttonAcl": { "alias": "buttonAcl"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "acl": { "alias": "acl"; "required": false; "isSignal": true; }; "testid": { "alias": "testid"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "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; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; "equalWidth": { "alias": "equalWidth"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "isCheckboxVisible": { "alias": "isCheckboxVisible"; "required": false; "isSignal": true; }; "enlarge": { "alias": "enlarge"; "required": false; "isSignal": true; }; "optionsAsset": { "alias": "optionsAsset"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "dropZone": { "alias": "dropZone"; "required": false; "isSignal": true; }; "readAs": { "alias": "readAs"; "required": false; "isSignal": true; }; "editor": { "alias": "editor"; "required": false; "isSignal": true; }; "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "patternMessage": { "alias": "patternMessage"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "act": "act"; "fieldKey": "fieldKey"; }, ["projectedTemplate"], never, true, never>;
|
|
5168
5268
|
}
|
|
5169
5269
|
|
|
5170
5270
|
/**
|
|
@@ -7364,7 +7464,67 @@ interface NavInstanceConfig {
|
|
|
7364
7464
|
*/
|
|
7365
7465
|
navInstanceLoad?: (params: Record<string, string>) => void;
|
|
7366
7466
|
}
|
|
7367
|
-
|
|
7467
|
+
/**
|
|
7468
|
+
* What a gate answers (m-one-ui CONTEXT.md NavVisibilitySource).
|
|
7469
|
+
*
|
|
7470
|
+
* **Three states, and one of them is a promise.** `true` / `false` are the
|
|
7471
|
+
* answer; `undefined` is *not answerable yet* — the state the gate reads has
|
|
7472
|
+
* not arrived, the same window `NavRowsConfig.loading` exists for and the same
|
|
7473
|
+
* answer `navInstance` gives a cold deep link; a `Promise` is a gate that has
|
|
7474
|
+
* to ask, which an entitlement routinely does.
|
|
7475
|
+
*
|
|
7476
|
+
* The promise is why this is a union rather than two members. A gate that
|
|
7477
|
+
* fetches and a gate that reads are the same question asked of the same
|
|
7478
|
+
* registration, and splitting them would make every consumer branch on which
|
|
7479
|
+
* kind it was looking at before it could ask at all.
|
|
7480
|
+
*/
|
|
7481
|
+
type NavVisibleAnswer = boolean | undefined | Promise<boolean>;
|
|
7482
|
+
/**
|
|
7483
|
+
* Whether one Nav is shown and reachable at all (m-one-ui CONTEXT.md
|
|
7484
|
+
* NavVisibilitySource). Registered under that Nav's own NavId beside whatever
|
|
7485
|
+
* else it registers — the configs are not exclusive, which is why every guard
|
|
7486
|
+
* here tests for its own key rather than for the absence of another's.
|
|
7487
|
+
*
|
|
7488
|
+
* Takes the path parameters for the reason `navInstance` does: a gate on
|
|
7489
|
+
* `/book/:isbn/admin` is routinely a question about the book above it, and a
|
|
7490
|
+
* signal could not have read one — the Router holds it, not a store.
|
|
7491
|
+
*
|
|
7492
|
+
* The two consumers part ways on everything but `true` and `false`, because a
|
|
7493
|
+
* Router can hold a navigation where a panel cannot hold a render. On
|
|
7494
|
+
* `undefined` the panel hides the row and the guard waits. On a `Promise` the
|
|
7495
|
+
* guard awaits it, and the panel — which has already rendered — hides the row,
|
|
7496
|
+
* resolves it once, remembers the answer and draws again.
|
|
7497
|
+
*
|
|
7498
|
+
* Hiding rather than showing while the answer is outstanding is the half that
|
|
7499
|
+
* is not symmetric: flashing a row the User may not be allowed to have leaks
|
|
7500
|
+
* the existence of the thing the gate was written to hide.
|
|
7501
|
+
*/
|
|
7502
|
+
interface NavVisibilityConfig {
|
|
7503
|
+
navVisible: (params: Record<string, string>) => NavVisibleAnswer;
|
|
7504
|
+
/**
|
|
7505
|
+
* Fired before the gate is believed, so a gate reading state the store does
|
|
7506
|
+
* not hold yet has something filling it (m-one-ui CONTEXT.md
|
|
7507
|
+
* NavVisibilitySource).
|
|
7508
|
+
*
|
|
7509
|
+
* This is what makes *is this app's uid the signed-in user* answerable on a
|
|
7510
|
+
* cold deep link: with no app loaded the gate reads `undefined`, answers
|
|
7511
|
+
* `undefined`, and both consumers would otherwise wait forever on a fetch
|
|
7512
|
+
* nobody started. What it names is a CacheMethod — state first, HTTP only on
|
|
7513
|
+
* a miss — so firing it on every navigation costs a state read in the warm
|
|
7514
|
+
* case, which is why it is not gated on the answer being missing.
|
|
7515
|
+
*
|
|
7516
|
+
* Optional: a gate reading only route parameters, or state some earlier
|
|
7517
|
+
* Screen always fills, needs no call of its own. The sibling of
|
|
7518
|
+
* `navInstanceLoad`.
|
|
7519
|
+
*
|
|
7520
|
+
* May answer a promise that settles when the load is done — hit, landed,
|
|
7521
|
+
* failed or dropped. The route guard waits on it before it asks the gate, so
|
|
7522
|
+
* a gate reading state that is partly filled (a map holding other keys) is
|
|
7523
|
+
* not believed until this load has had its say.
|
|
7524
|
+
*/
|
|
7525
|
+
navVisibleLoad?: (params: Record<string, string>) => void | Promise<void>;
|
|
7526
|
+
}
|
|
7527
|
+
type NavWidgetEntry = Type<unknown> | NavWidgetConfig | NavMenuConfig | NavRowsConfig | NavInstanceConfig | NavVisibilityConfig;
|
|
7368
7528
|
/**
|
|
7369
7529
|
* What an app hands `provideNavWidgets`. Keyed by NavId and nothing else — the
|
|
7370
7530
|
* same string as the nav asset filename and the route stamp (ADR 0014).
|
|
@@ -7373,6 +7533,7 @@ type NavWidgetMap = Partial<Record<NavIdKey, NavWidgetEntry>>;
|
|
|
7373
7533
|
declare function isNavMenuConfig(entry: NavWidgetEntry): entry is NavMenuConfig;
|
|
7374
7534
|
declare function isNavRowsConfig(entry: NavWidgetEntry): entry is NavRowsConfig;
|
|
7375
7535
|
declare function isNavInstanceConfig(entry: NavWidgetEntry): entry is NavInstanceConfig;
|
|
7536
|
+
declare function isNavVisibilityConfig(entry: NavWidgetEntry): entry is NavVisibilityConfig;
|
|
7376
7537
|
/**
|
|
7377
7538
|
* Multi-provided, and resolved **last-wins**: the library provides its own
|
|
7378
7539
|
* Platform Nav panels first so an app registering at the same NavId replaces
|
|
@@ -7408,6 +7569,7 @@ declare class FrameComponent {
|
|
|
7408
7569
|
navMap: _angular_core.Signal<_magmonium_one.NavMap>;
|
|
7409
7570
|
wcConfigMap: _angular_core.Signal<Record<string, dist_libs_cli_src.WebComponentConfig>>;
|
|
7410
7571
|
navLoading: _angular_core.Signal<boolean>;
|
|
7572
|
+
visibilityAnswers: _angular_core.Signal<Record<string, boolean>>;
|
|
7411
7573
|
navigationEnd: _angular_core.Signal<_angular_router.RouterStateSnapshot>;
|
|
7412
7574
|
router: _angular_router.Router;
|
|
7413
7575
|
id: _angular_core.Signal<string>;
|
|
@@ -7429,6 +7591,16 @@ declare class FrameComponent {
|
|
|
7429
7591
|
params: Record<string, string>;
|
|
7430
7592
|
load: (params: Record<string, string>) => void;
|
|
7431
7593
|
}[]>;
|
|
7594
|
+
hiddenNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
7595
|
+
visibilityPending: _angular_core.Signal<{
|
|
7596
|
+
key: string;
|
|
7597
|
+
answer: Promise<boolean>;
|
|
7598
|
+
}[]>;
|
|
7599
|
+
visibilityLoaders: _angular_core.Signal<{
|
|
7600
|
+
key: string;
|
|
7601
|
+
params: Record<string, string>;
|
|
7602
|
+
load: (params: Record<string, string>) => void;
|
|
7603
|
+
}[]>;
|
|
7432
7604
|
addressFor: (navId: string, params?: Record<string, string | number>) => string;
|
|
7433
7605
|
goToNav: (navId: string, params?: Record<string, string | number>, options?: {
|
|
7434
7606
|
keepPanel?: boolean;
|
|
@@ -7467,6 +7639,7 @@ declare class FrameComponent {
|
|
|
7467
7639
|
navMap: _magmonium_one.NavMap;
|
|
7468
7640
|
wcConfigMap: Record<string, dist_libs_cli_src.WebComponentConfig>;
|
|
7469
7641
|
navLoading: boolean;
|
|
7642
|
+
visibilityAnswers: Record<string, boolean>;
|
|
7470
7643
|
}>;
|
|
7471
7644
|
protected readonly device: DeviceService;
|
|
7472
7645
|
protected readonly isPreview: boolean;
|
|
@@ -7579,6 +7752,7 @@ declare const NavStore: _angular_core.Type<{
|
|
|
7579
7752
|
navMap: Signal<NavMap>;
|
|
7580
7753
|
wcConfigMap: Signal<Record<string, WebComponentConfig$1>>;
|
|
7581
7754
|
navLoading: Signal<boolean>;
|
|
7755
|
+
visibilityAnswers: Signal<Record<string, boolean>>;
|
|
7582
7756
|
navigationEnd: Signal<RouterStateSnapshot>;
|
|
7583
7757
|
router: Router;
|
|
7584
7758
|
id: Signal<string>;
|
|
@@ -7600,6 +7774,16 @@ declare const NavStore: _angular_core.Type<{
|
|
|
7600
7774
|
params: Record<string, string>;
|
|
7601
7775
|
load: (params: Record<string, string>) => void;
|
|
7602
7776
|
}[]>;
|
|
7777
|
+
hiddenNavIds: Signal<ReadonlySet<string>>;
|
|
7778
|
+
visibilityPending: Signal<{
|
|
7779
|
+
key: string;
|
|
7780
|
+
answer: Promise<boolean>;
|
|
7781
|
+
}[]>;
|
|
7782
|
+
visibilityLoaders: Signal<{
|
|
7783
|
+
key: string;
|
|
7784
|
+
params: Record<string, string>;
|
|
7785
|
+
load: (params: Record<string, string>) => void;
|
|
7786
|
+
}[]>;
|
|
7603
7787
|
addressFor: (navId: string, params?: Record<string, string | number>) => string;
|
|
7604
7788
|
goToNav: (navId: string, params?: Record<string, string | number>, options?: {
|
|
7605
7789
|
keepPanel?: boolean;
|
|
@@ -7638,6 +7822,7 @@ declare const NavStore: _angular_core.Type<{
|
|
|
7638
7822
|
navMap: NavMap;
|
|
7639
7823
|
wcConfigMap: Record<string, WebComponentConfig$1>;
|
|
7640
7824
|
navLoading: boolean;
|
|
7825
|
+
visibilityAnswers: Record<string, boolean>;
|
|
7641
7826
|
}>>;
|
|
7642
7827
|
|
|
7643
7828
|
interface GetNavContext {
|
|
@@ -7852,6 +8037,45 @@ declare const toHostNavId: (localNavId: string, hostNavId: string) => string;
|
|
|
7852
8037
|
/** Inverse of `toHostNavId`, for asking a Remote for its own asset. */
|
|
7853
8038
|
declare const toLocalNavId: (hostScopedNavId: string, hostNavId: string) => string | undefined;
|
|
7854
8039
|
|
|
8040
|
+
/**
|
|
8041
|
+
* The route half of a [NavVisibilityRule] (m-one-ui CONTEXT.md). One guard for
|
|
8042
|
+
* the whole tree rather than one per rule: every emitted route already carries
|
|
8043
|
+
* `data: { navId }` (libs/one ADR 0014), and a NavId *is* its ancestry, so the
|
|
8044
|
+
* guard walks up from the route it was stamped on and asks every ancestor's
|
|
8045
|
+
* registration in turn.
|
|
8046
|
+
*
|
|
8047
|
+
* That ancestry walk is why the cascade works at all. Routes are emitted flat
|
|
8048
|
+
* until a Screen draws a RouterOutletControl, so a child Nav is routinely a
|
|
8049
|
+
* *sibling* route rather than a nested one — a `canActivate` on the parent
|
|
8050
|
+
* entry would guard nothing below it. Walking the id covers both shapes with
|
|
8051
|
+
* one stamp and no knowledge of which one the emitter chose.
|
|
8052
|
+
*
|
|
8053
|
+
* It **waits** where the menu hides. `navVisible` answering `undefined` means
|
|
8054
|
+
* the state the gate reads has not arrived, and a Router can hold a navigation
|
|
8055
|
+
* where a panel cannot hold a render: refusing on `undefined` would bounce
|
|
8056
|
+
* every cold deep link into a guarded page, which is the whole case the gate's
|
|
8057
|
+
* arguments are resolved before it is called for.
|
|
8058
|
+
*
|
|
8059
|
+
* It also **fires the loads itself, and waits for them** before it asks any
|
|
8060
|
+
* gate. The nav store fires them too, but a deep link is precisely the
|
|
8061
|
+
* navigation that happens before any panel has drawn — the store's own effect
|
|
8062
|
+
* has not run for this address yet, and waiting for it would be waiting for the
|
|
8063
|
+
* thing the wait is supposed to end. A load answers a promise that settles when
|
|
8064
|
+
* its request is done, and a gate is only asked after every one has: a gate
|
|
8065
|
+
* reading a map that already holds *other* keys answers `false`, not
|
|
8066
|
+
* `undefined`, and believing it before the load landed would bounce a
|
|
8067
|
+
* reachable page. A CacheMethod shares one in-flight request per argument set,
|
|
8068
|
+
* so the two firings cost one request between them.
|
|
8069
|
+
*
|
|
8070
|
+
* And it **awaits** where the menu remembers. A gate may be `async` — an
|
|
8071
|
+
* entitlement is routinely a call the client has to make — and awaiting it is
|
|
8072
|
+
* the plainest thing a `canActivate` does. The panel cannot: it has already
|
|
8073
|
+
* rendered, so the nav store settles the same promise once and keeps the
|
|
8074
|
+
* answer.
|
|
8075
|
+
*/
|
|
8076
|
+
|
|
8077
|
+
declare const navVisibilityGuard: CanActivateFn;
|
|
8078
|
+
|
|
7855
8079
|
declare class NavComponent {
|
|
7856
8080
|
#private;
|
|
7857
8081
|
isHost: _angular_core.InputSignal<boolean>;
|
|
@@ -7910,6 +8134,7 @@ declare class NavDetailsComponent {
|
|
|
7910
8134
|
navMap: _angular_core.Signal<_magmonium_one.NavMap>;
|
|
7911
8135
|
wcConfigMap: _angular_core.Signal<Record<string, dist_libs_cli_src.WebComponentConfig>>;
|
|
7912
8136
|
navLoading: _angular_core.Signal<boolean>;
|
|
8137
|
+
visibilityAnswers: _angular_core.Signal<Record<string, boolean>>;
|
|
7913
8138
|
navigationEnd: _angular_core.Signal<_angular_router.RouterStateSnapshot>;
|
|
7914
8139
|
router: _angular_router.Router;
|
|
7915
8140
|
id: _angular_core.Signal<string>;
|
|
@@ -7931,6 +8156,16 @@ declare class NavDetailsComponent {
|
|
|
7931
8156
|
params: Record<string, string>;
|
|
7932
8157
|
load: (params: Record<string, string>) => void;
|
|
7933
8158
|
}[]>;
|
|
8159
|
+
hiddenNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
8160
|
+
visibilityPending: _angular_core.Signal<{
|
|
8161
|
+
key: string;
|
|
8162
|
+
answer: Promise<boolean>;
|
|
8163
|
+
}[]>;
|
|
8164
|
+
visibilityLoaders: _angular_core.Signal<{
|
|
8165
|
+
key: string;
|
|
8166
|
+
params: Record<string, string>;
|
|
8167
|
+
load: (params: Record<string, string>) => void;
|
|
8168
|
+
}[]>;
|
|
7934
8169
|
addressFor: (navId: string, params?: Record<string, string | number>) => string;
|
|
7935
8170
|
goToNav: (navId: string, params?: Record<string, string | number>, options?: {
|
|
7936
8171
|
keepPanel?: boolean;
|
|
@@ -7969,6 +8204,7 @@ declare class NavDetailsComponent {
|
|
|
7969
8204
|
navMap: _magmonium_one.NavMap;
|
|
7970
8205
|
wcConfigMap: Record<string, dist_libs_cli_src.WebComponentConfig>;
|
|
7971
8206
|
navLoading: boolean;
|
|
8207
|
+
visibilityAnswers: Record<string, boolean>;
|
|
7972
8208
|
}>;
|
|
7973
8209
|
_device: DeviceService;
|
|
7974
8210
|
private readonly _settingsSearch;
|
|
@@ -8028,6 +8264,7 @@ declare class NavHeaderComponent {
|
|
|
8028
8264
|
navMap: _angular_core.Signal<_magmonium_one.NavMap>;
|
|
8029
8265
|
wcConfigMap: _angular_core.Signal<Record<string, dist_libs_cli_src.WebComponentConfig>>;
|
|
8030
8266
|
navLoading: _angular_core.Signal<boolean>;
|
|
8267
|
+
visibilityAnswers: _angular_core.Signal<Record<string, boolean>>;
|
|
8031
8268
|
navigationEnd: _angular_core.Signal<_angular_router.RouterStateSnapshot>;
|
|
8032
8269
|
router: _angular_router.Router;
|
|
8033
8270
|
id: _angular_core.Signal<string>;
|
|
@@ -8049,6 +8286,16 @@ declare class NavHeaderComponent {
|
|
|
8049
8286
|
params: Record<string, string>;
|
|
8050
8287
|
load: (params: Record<string, string>) => void;
|
|
8051
8288
|
}[]>;
|
|
8289
|
+
hiddenNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
8290
|
+
visibilityPending: _angular_core.Signal<{
|
|
8291
|
+
key: string;
|
|
8292
|
+
answer: Promise<boolean>;
|
|
8293
|
+
}[]>;
|
|
8294
|
+
visibilityLoaders: _angular_core.Signal<{
|
|
8295
|
+
key: string;
|
|
8296
|
+
params: Record<string, string>;
|
|
8297
|
+
load: (params: Record<string, string>) => void;
|
|
8298
|
+
}[]>;
|
|
8052
8299
|
addressFor: (navId: string, params?: Record<string, string | number>) => string;
|
|
8053
8300
|
goToNav: (navId: string, params?: Record<string, string | number>, options?: {
|
|
8054
8301
|
keepPanel?: boolean;
|
|
@@ -8087,6 +8334,7 @@ declare class NavHeaderComponent {
|
|
|
8087
8334
|
navMap: _magmonium_one.NavMap;
|
|
8088
8335
|
wcConfigMap: Record<string, dist_libs_cli_src.WebComponentConfig>;
|
|
8089
8336
|
navLoading: boolean;
|
|
8337
|
+
visibilityAnswers: Record<string, boolean>;
|
|
8090
8338
|
}>;
|
|
8091
8339
|
_searchStore: {
|
|
8092
8340
|
query: _angular_core.Signal<string>;
|
|
@@ -9467,5 +9715,5 @@ interface AuthResult {
|
|
|
9467
9715
|
}
|
|
9468
9716
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
9469
9717
|
|
|
9470
|
-
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, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, 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, ListComponent, 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, 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, assetOptions, 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, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, 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, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, 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, navParamOf, navToId, normalizeAssetOptions, 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, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
9471
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, 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, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, 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, FilteredTreeGrid, 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, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, 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, ScreenOverlayTrigger, 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, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|
|
9718
|
+
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, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, 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, ListComponent, 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, 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, assetOptions, 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, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, 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, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, 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, navParamOf, navToId, navVisibilityGuard, normalizeAssetOptions, 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, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
9719
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, 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, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, 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, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, 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, ScreenOverlayTrigger, 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, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|