@magmonium/one 0.0.24 → 0.0.26
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/fesm2022/{magmonium-one-magmonium-one-aTcXylIr.mjs → magmonium-one-magmonium-one-DNWyMp3r.mjs} +325 -186
- package/fesm2022/magmonium-one-magmonium-one-DNWyMp3r.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-B4_lw4eB.mjs → magmonium-one-otp-CO5CHVV4.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-B4_lw4eB.mjs.map → magmonium-one-otp-CO5CHVV4.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-B-yqDvug.mjs → magmonium-one-password-CIKDqcyv.mjs} +3 -3
- package/fesm2022/{magmonium-one-password-B-yqDvug.mjs.map → magmonium-one-password-CIKDqcyv.mjs.map} +1 -1
- package/fesm2022/magmonium-one-toggle-Cjhb-4Y_.mjs +62 -0
- package/fesm2022/{magmonium-one-toggle-BcLIviQU.mjs.map → magmonium-one-toggle-Cjhb-4Y_.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/sass/mixins/_checkbox.sass +23 -22
- package/types/magmonium-one.d.ts +65 -23
- package/fesm2022/magmonium-one-magmonium-one-aTcXylIr.mjs.map +0 -1
- package/fesm2022/magmonium-one-toggle-BcLIviQU.mjs +0 -62
package/types/magmonium-one.d.ts
CHANGED
|
@@ -966,6 +966,7 @@ declare class ConfigComponent<T extends Config = Config> {
|
|
|
966
966
|
name: _angular_core.InputSignal<string>;
|
|
967
967
|
baseUrl: _angular_core.InputSignal<string>;
|
|
968
968
|
protected readonly subFolder: string | undefined;
|
|
969
|
+
protected readonly resolvesConfigAsset: boolean;
|
|
969
970
|
one: _angular_core.InputSignal<boolean>;
|
|
970
971
|
protected readonly elementRef: ElementRef<any>;
|
|
971
972
|
protected readonly isFromOne: _angular_core.Signal<any>;
|
|
@@ -1012,7 +1013,7 @@ declare class ConfigComponent<T extends Config = Config> {
|
|
|
1012
1013
|
}>;
|
|
1013
1014
|
private readonly http;
|
|
1014
1015
|
private readonly previousName;
|
|
1015
|
-
|
|
1016
|
+
protected readonly remoteBaseUrl: _angular_core.Signal<string>;
|
|
1016
1017
|
private readonly assetsPath;
|
|
1017
1018
|
private readonly storedConfig;
|
|
1018
1019
|
protected readonly declaredName: _angular_core.Signal<string>;
|
|
@@ -1102,6 +1103,7 @@ declare class ButtonComponent extends ReactiveElementComponent<Button> {
|
|
|
1102
1103
|
subFolder: string;
|
|
1103
1104
|
label: _angular_core.InputSignal<string>;
|
|
1104
1105
|
noTranslate: _angular_core.InputSignal<string | boolean>;
|
|
1106
|
+
noNative: _angular_core.InputSignal<string | boolean>;
|
|
1105
1107
|
icon: _angular_core.InputSignal<string>;
|
|
1106
1108
|
isRightIcon: _angular_core.InputSignal<string | boolean>;
|
|
1107
1109
|
iconOnly: _angular_core.InputSignal<string | boolean>;
|
|
@@ -1135,7 +1137,7 @@ declare class ButtonComponent extends ReactiveElementComponent<Button> {
|
|
|
1135
1137
|
onClick(): void;
|
|
1136
1138
|
protected readonly formatBadgeCount: (count: number, max?: number) => string;
|
|
1137
1139
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
1138
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "m-button,m-one-button", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "nav": { "alias": "nav"; "required": false; "isSignal": true; }; "navParams": { "alias": "navParams"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "baseUrl": { "alias": "baseUrl"; "required": false; "isSignal": true; }; "one": { "alias": "one"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noTranslate": { "alias": "noTranslate"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "isRightIcon": { "alias": "isRightIcon"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "imgSrc": { "alias": "imgSrc"; "required": false; "isSignal": true; }; "nonClickable": { "alias": "nonClickable"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "clicked": "clicked"; }, never, never, true, never>;
|
|
1140
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "m-button,m-one-button", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "nav": { "alias": "nav"; "required": false; "isSignal": true; }; "navParams": { "alias": "navParams"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "baseUrl": { "alias": "baseUrl"; "required": false; "isSignal": true; }; "one": { "alias": "one"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "noTranslate": { "alias": "noTranslate"; "required": false; "isSignal": true; }; "noNative": { "alias": "noNative"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "isRightIcon": { "alias": "isRightIcon"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "imgSrc": { "alias": "imgSrc"; "required": false; "isSignal": true; }; "nonClickable": { "alias": "nonClickable"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "clicked": "clicked"; }, never, never, true, never>;
|
|
1139
1141
|
}
|
|
1140
1142
|
|
|
1141
1143
|
declare enum Direction$1 {
|
|
@@ -3078,8 +3080,20 @@ declare class WrapperInputComponent<T extends Input = Input> extends ConfigCompo
|
|
|
3078
3080
|
protected readonly isVisible: Signal<boolean>;
|
|
3079
3081
|
protected readonly isButtonEnabled: Signal<boolean>;
|
|
3080
3082
|
protected readonly hasLabel: Signal<boolean>;
|
|
3083
|
+
protected readonly isInlineLabel: Signal<boolean>;
|
|
3081
3084
|
private isDestroyed;
|
|
3082
3085
|
private dynamicSeq;
|
|
3086
|
+
/**
|
|
3087
|
+
* What actually decides which component sits in the container: the input type
|
|
3088
|
+
* and whether there is a FieldTree node to bind directives against. Every
|
|
3089
|
+
* other config key rides on the `config` signal already bound into that
|
|
3090
|
+
* child, so a caller rebuilding an unrelated key (a `fieldConfigs` override
|
|
3091
|
+
* that arms a button, say) reaches the live input without going through a
|
|
3092
|
+
* teardown — which re-runs the async import and leaves the field empty for
|
|
3093
|
+
* as long as it takes, or lands the default text input when the override
|
|
3094
|
+
* that arrived carries no `type` of its own.
|
|
3095
|
+
*/
|
|
3096
|
+
private readonly inputShape;
|
|
3083
3097
|
constructor();
|
|
3084
3098
|
ngOnDestroy(): void;
|
|
3085
3099
|
protected onButtonClick(): void;
|
|
@@ -3395,6 +3409,20 @@ interface SectionFormConfig extends Form {
|
|
|
3395
3409
|
align?: 'left' | 'right' | 'center';
|
|
3396
3410
|
}
|
|
3397
3411
|
|
|
3412
|
+
type AssetMap = Record<string, Record<string, Record<string, unknown>>>;
|
|
3413
|
+
declare const AssetStore: _angular_core.Type<{
|
|
3414
|
+
map: _angular_core.Signal<AssetMap>;
|
|
3415
|
+
isCachingDisabled: _angular_core.Signal<boolean>;
|
|
3416
|
+
appLink: _angular_core.Signal<string>;
|
|
3417
|
+
setAppLink: (appLink: string) => void;
|
|
3418
|
+
setCachingDisabled: (isDisabled: boolean) => void;
|
|
3419
|
+
resolve: <T>(type: string, name: string, isOne?: boolean, remoteBaseUrl?: string) => Observable<T>;
|
|
3420
|
+
} & _ngrx_signals.StateSource<{
|
|
3421
|
+
map: AssetMap;
|
|
3422
|
+
isCachingDisabled: boolean;
|
|
3423
|
+
appLink: string | undefined;
|
|
3424
|
+
}>>;
|
|
3425
|
+
|
|
3398
3426
|
/**
|
|
3399
3427
|
* What one Field declares about the shapes its value may take: the rules
|
|
3400
3428
|
* themselves, and the message that speaks for the Field when several rules
|
|
@@ -3403,6 +3431,13 @@ interface SectionFormConfig extends Form {
|
|
|
3403
3431
|
type FieldPatterns = {
|
|
3404
3432
|
rules: PatternRule[];
|
|
3405
3433
|
message?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* The names on the tag are still being resolved. The Field is invalid while
|
|
3436
|
+
* this is true: `registerField` runs before the rules land, so a Field that
|
|
3437
|
+
* validated nothing in that window would be briefly valid over a value it is
|
|
3438
|
+
* about to reject — and a fast submit would carry it (libs/one ADR 0018).
|
|
3439
|
+
*/
|
|
3440
|
+
pending?: boolean;
|
|
3406
3441
|
};
|
|
3407
3442
|
/**
|
|
3408
3443
|
* Reads a resolved Field config into the pair the schema needs, or `undefined`
|
|
@@ -3411,6 +3446,24 @@ type FieldPatterns = {
|
|
|
3411
3446
|
* written asset can put anything under `patterns`.
|
|
3412
3447
|
*/
|
|
3413
3448
|
declare function readFieldPatterns(config: Partial<Input> | undefined | null): FieldPatterns | undefined;
|
|
3449
|
+
/**
|
|
3450
|
+
* The names a Field's `patterns` attribute holds. A list cannot be an array
|
|
3451
|
+
* literal in markup — that is a lint error and would put the same YAML in two
|
|
3452
|
+
* places — so the tag spells it as one scalar and this is what reads it back.
|
|
3453
|
+
* A bound `string[]` is accepted too, for a caller building the list in code.
|
|
3454
|
+
*/
|
|
3455
|
+
declare function parsePatternNames(value: string | string[] | undefined | null): string[];
|
|
3456
|
+
/**
|
|
3457
|
+
* Resolves the names on a Field's tag into the rules it validates with.
|
|
3458
|
+
*
|
|
3459
|
+
* The app's own `patterns/<name>.json` is asked first and `@magmonium/one`'s
|
|
3460
|
+
* copy second, so an app that authors a shape of its own shadows the shipped
|
|
3461
|
+
* one — the same precedence FieldCompiler applies at build and the design
|
|
3462
|
+
* editor applies on its Canvas. A name neither tier answers is dropped rather
|
|
3463
|
+
* than failing the Field: a rule nobody can satisfy locks a form over a shape
|
|
3464
|
+
* that does not exist.
|
|
3465
|
+
*/
|
|
3466
|
+
declare function resolvePatternRules(assetStore: InstanceType<typeof AssetStore>, names: string[], remoteBaseUrl?: string): Observable<PatternRule[]>;
|
|
3414
3467
|
/**
|
|
3415
3468
|
* Identity by content, not by reference. A Field re-registers from an effect on
|
|
3416
3469
|
* every config change, and `config()` is a fresh object each time — comparing
|
|
@@ -3419,7 +3472,7 @@ declare function readFieldPatterns(config: Partial<Input> | undefined | null): F
|
|
|
3419
3472
|
declare function samePatterns(a: FieldPatterns | undefined, b: FieldPatterns | undefined): boolean;
|
|
3420
3473
|
|
|
3421
3474
|
declare class SectionFormComponent<T extends Record<string, unknown> = Record<string, unknown>> extends ConfigComponent<SectionFormConfig> {
|
|
3422
|
-
|
|
3475
|
+
protected readonly resolvesConfigAsset = false;
|
|
3423
3476
|
readonly variant: _angular_core.InputSignal<string>;
|
|
3424
3477
|
readonly maxWidth: _angular_core.InputSignal<string>;
|
|
3425
3478
|
readonly heightMode: _angular_core.InputSignal<"fixed" | "full">;
|
|
@@ -3471,7 +3524,7 @@ declare class SectionFormComponent<T extends Record<string, unknown> = Record<st
|
|
|
3471
3524
|
|
|
3472
3525
|
type LabelOrientation = 'horizontal' | 'vertical';
|
|
3473
3526
|
declare class SectionFormItemComponent extends ConfigComponent<Input> implements OnDestroy {
|
|
3474
|
-
|
|
3527
|
+
protected readonly resolvesConfigAsset = false;
|
|
3475
3528
|
readonly span: _angular_core.InputSignal<number>;
|
|
3476
3529
|
readonly labelOrientation: _angular_core.InputSignal<LabelOrientation>;
|
|
3477
3530
|
readonly gap: _angular_core.InputSignal<string | number>;
|
|
@@ -3514,6 +3567,8 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
3514
3567
|
readonly iconOnly: _angular_core.InputSignal<string | boolean>;
|
|
3515
3568
|
readonly isCheckboxVisible: _angular_core.InputSignal<string | boolean>;
|
|
3516
3569
|
readonly optionsAsset: _angular_core.InputSignal<string>;
|
|
3570
|
+
readonly patterns: _angular_core.InputSignal<string | string[]>;
|
|
3571
|
+
readonly patternMessage: _angular_core.InputSignal<string>;
|
|
3517
3572
|
value: _angular_core.ModelSignal<InputValue>;
|
|
3518
3573
|
readonly act: _angular_core.OutputEmitterRef<Record<string, unknown>>;
|
|
3519
3574
|
readonly fieldKey: _angular_core.OutputEmitterRef<string>;
|
|
@@ -3524,7 +3579,8 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
3524
3579
|
protected readonly modelKey: Signal<string>;
|
|
3525
3580
|
protected readonly field: Signal<FieldTree<string, string>>;
|
|
3526
3581
|
protected readonly isRequired: Signal<boolean>;
|
|
3527
|
-
|
|
3582
|
+
private readonly taggedPatterns;
|
|
3583
|
+
protected readonly fieldPatterns: Signal<FieldPatterns>;
|
|
3528
3584
|
protected readonly isVisible: Signal<boolean>;
|
|
3529
3585
|
protected readonly spanClass: Signal<string>;
|
|
3530
3586
|
protected readonly itemClass: Signal<string>;
|
|
@@ -3540,7 +3596,7 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
3540
3596
|
type?: InputType;
|
|
3541
3597
|
label?: string;
|
|
3542
3598
|
required?: true;
|
|
3543
|
-
patterns?:
|
|
3599
|
+
patterns?: PatternRule[];
|
|
3544
3600
|
patternMessage?: string;
|
|
3545
3601
|
icon?: string;
|
|
3546
3602
|
placeholder?: string;
|
|
@@ -3565,7 +3621,7 @@ declare class SectionFormItemComponent extends ConfigComponent<Input> implements
|
|
|
3565
3621
|
private readonly createDynamicComponent;
|
|
3566
3622
|
private readonly createDynamicInput;
|
|
3567
3623
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFormItemComponent, never>;
|
|
3568
|
-
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; }; "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; }; "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; }; "optionsAsset": { "alias": "optionsAsset"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "act": "act"; "fieldKey": "fieldKey"; }, never, never, true, never>;
|
|
3624
|
+
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; }; "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; }; "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; }; "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"; }, never, never, true, never>;
|
|
3569
3625
|
}
|
|
3570
3626
|
|
|
3571
3627
|
/**
|
|
@@ -3602,7 +3658,7 @@ declare const patternValidation: (schemaPath: SchemaPath<string>, regex: RegExp,
|
|
|
3602
3658
|
* One rule speaks for itself; several cannot, so `message` names what the Field
|
|
3603
3659
|
* as a whole wanted and is what shows.
|
|
3604
3660
|
*/
|
|
3605
|
-
declare const patternsValidation: (schemaPath: SchemaPath<string>, rules: PatternRule[], message?: string) => void;
|
|
3661
|
+
declare const patternsValidation: (schemaPath: SchemaPath<string>, rules: PatternRule[], message?: string, pending?: boolean) => void;
|
|
3606
3662
|
|
|
3607
3663
|
/**
|
|
3608
3664
|
* Published by `<m-section-form>` for projected `<m-section-form-item>`s.
|
|
@@ -6772,20 +6828,6 @@ declare function calculateLuminance(rgb: RgbColor): number;
|
|
|
6772
6828
|
declare function deriveContrastColor(color: string): string;
|
|
6773
6829
|
declare function deriveOppositeColor(color: string): string;
|
|
6774
6830
|
|
|
6775
|
-
type AssetMap = Record<string, Record<string, Record<string, unknown>>>;
|
|
6776
|
-
declare const AssetStore: _angular_core.Type<{
|
|
6777
|
-
map: _angular_core.Signal<AssetMap>;
|
|
6778
|
-
isCachingDisabled: _angular_core.Signal<boolean>;
|
|
6779
|
-
appLink: _angular_core.Signal<string>;
|
|
6780
|
-
setAppLink: (appLink: string) => void;
|
|
6781
|
-
setCachingDisabled: (isDisabled: boolean) => void;
|
|
6782
|
-
resolve: <T>(type: string, name: string, isOne?: boolean, remoteBaseUrl?: string) => Observable<T>;
|
|
6783
|
-
} & _ngrx_signals.StateSource<{
|
|
6784
|
-
map: AssetMap;
|
|
6785
|
-
isCachingDisabled: boolean;
|
|
6786
|
-
appLink: string | undefined;
|
|
6787
|
-
}>>;
|
|
6788
|
-
|
|
6789
6831
|
/**
|
|
6790
6832
|
* Resolves a config asset by name via `AssetStore`, outside any component
|
|
6791
6833
|
* injection context — callable from directives, stores, or components alike.
|
|
@@ -7506,5 +7548,5 @@ declare class DotGridComponent {
|
|
|
7506
7548
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DotGridComponent, "m-dot-grid", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7507
7549
|
}
|
|
7508
7550
|
|
|
7509
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COLOR_SCHEMES, 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, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GEN_NAV_DISPLAY_ORDER, 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_FORM_GROUP, LOGIN_PROCESS, LOGIN_STORE, LanguageComponent, LoginDataService, LoginOneComponent, LoginStore, 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_DISPLAY_ORDER, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, 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, SectionComponent, SectionFilterComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, Sex, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, 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, authGuard, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, coerceSize, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, loginState, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navToId, parentNavId, parseAddress, parseColor, patternValidation, patternsValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
7551
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COLOR_SCHEMES, 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, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GEN_NAV_DISPLAY_ORDER, 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_FORM_GROUP, LOGIN_PROCESS, LOGIN_STORE, LanguageComponent, LoginDataService, LoginOneComponent, LoginStore, 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_DISPLAY_ORDER, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, 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, SectionComponent, SectionFilterComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, Sex, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, 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, authGuard, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, coerceSize, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, loginState, 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, 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 };
|
|
7510
7552
|
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, Auth, AuthResult, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColorScheme, 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, FilterOption, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridBreakpoint, Header, HeaderLevel, HeroDataRecord, HeroDimensions, HslColor, Icon, IdentityInfo, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginState, 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, Option, OtpInput, OverlayConfig, PageChangeEvent, Pagination, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionFormConfig, SectionFormContext, SectionToggleItem, SectionToggleItemContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, 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, Token, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|