@lmvz-ds/components 0.20.0 → 0.22.0
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/CHANGELOG.md +12 -0
- package/assets/icons/close-sm.svg +3 -0
- package/cjs/{component-Csg9MtNK.js → component-C7cavwmZ.js} +3 -0
- package/cjs/{index-C2yDXRqP.js → index-lW-SEvL7.js} +67 -3
- package/cjs/lmvz-action.cjs.entry.js +2 -2
- package/cjs/{lmvz-button.cjs.entry.js → lmvz-button_2.cjs.entry.js} +139 -14
- package/cjs/lmvz-card.cjs.entry.js +2 -2
- package/cjs/lmvz-checkbox.cjs.entry.js +3 -3
- package/cjs/lmvz-chip.cjs.entry.js +4 -4
- package/cjs/lmvz-components.cjs.js +2 -2
- package/cjs/lmvz-header_2.cjs.entry.js +3 -3
- package/cjs/lmvz-input.cjs.entry.js +4 -4
- package/cjs/lmvz-menuitem.cjs.entry.js +3 -3
- package/cjs/lmvz-modal.cjs.entry.js +349 -0
- package/cjs/lmvz-select.cjs.entry.js +4 -4
- package/cjs/lmvz-toggle.cjs.entry.js +96 -0
- package/cjs/loader.cjs.js +2 -2
- package/cjs/{reactive-controller-host-BA4ZhjKA.js → reactive-controller-host-DnSTWHCF.js} +1 -1
- package/collection/assets/icons/close-sm.svg +3 -0
- package/collection/collection-manifest.json +2 -0
- package/collection/components/lmvz-button/lmvz-button.js +98 -10
- package/collection/components/lmvz-chip/lmvz-chip.js +2 -2
- package/collection/components/lmvz-modal/lmvz-modal.css +120 -0
- package/collection/components/lmvz-modal/lmvz-modal.js +448 -0
- package/collection/components/lmvz-select/lmvz-select.js +1 -1
- package/collection/components/lmvz-toggle/lmvz-toggle.css +118 -0
- package/collection/components/lmvz-toggle/lmvz-toggle.js +358 -0
- package/collection/integration/header-integration/header-integration.js +1 -1
- package/components/index.d.ts +4 -0
- package/components/index.d.ts.bak +4 -0
- package/components/index.js +1 -1
- package/components/lmvz-action.js +1 -1
- package/components/lmvz-button.js +1 -1
- package/components/lmvz-card.js +1 -1
- package/components/lmvz-checkbox.js +1 -1
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-header.js +1 -1
- package/components/lmvz-icon.js +1 -1
- package/components/lmvz-input.js +1 -1
- package/components/lmvz-menuitem.js +1 -1
- package/components/lmvz-modal.d.ts +11 -0
- package/components/lmvz-modal.d.ts.bak +11 -0
- package/components/lmvz-modal.js +1 -0
- package/components/lmvz-select.js +1 -1
- package/components/lmvz-toggle.d.ts +11 -0
- package/components/lmvz-toggle.d.ts.bak +11 -0
- package/components/lmvz-toggle.js +1 -0
- package/components/p-Boj0PCdB.js +1 -0
- package/components/p-CK8cAKcB.js +1 -0
- package/components/p-Cc6dOWwS.js +1 -0
- package/components/{p-BuFx0tTm.js → p-DBc1BzQb.js} +1 -1
- package/components/p-DOTK1OW3.js +1 -0
- package/esm/{component-DIrAQ4IB.js → component-DOTK1OW3.js} +3 -0
- package/esm/{index-saW7O-EW.js → index-Aa_425iY.js} +67 -3
- package/esm/lmvz-action.entry.js +2 -2
- package/esm/{lmvz-button.entry.js → lmvz-button_2.entry.js} +139 -15
- package/esm/lmvz-card.entry.js +2 -2
- package/esm/lmvz-checkbox.entry.js +3 -3
- package/esm/lmvz-chip.entry.js +4 -4
- package/esm/lmvz-components.js +3 -3
- package/esm/lmvz-header_2.entry.js +3 -3
- package/esm/lmvz-input.entry.js +4 -4
- package/esm/lmvz-menuitem.entry.js +3 -3
- package/esm/lmvz-modal.entry.js +347 -0
- package/esm/lmvz-select.entry.js +4 -4
- package/esm/lmvz-toggle.entry.js +94 -0
- package/esm/loader.js +3 -3
- package/esm/{reactive-controller-host-DHcPpJW7.js → reactive-controller-host-lF2kXM1x.js} +1 -1
- package/hydrate/index.js +559 -24
- package/hydrate/index.mjs +559 -24
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/p-08a08b63.entry.js +1 -0
- package/lmvz-components/p-1b181e90.entry.js +1 -0
- package/lmvz-components/p-23fb2476.entry.js +1 -0
- package/lmvz-components/p-3846ba08.entry.js +1 -0
- package/lmvz-components/p-6bb145e4.entry.js +1 -0
- package/lmvz-components/{p-2f83d7a2.entry.js → p-7a310b1e.entry.js} +1 -1
- package/lmvz-components/p-Aa_425iY.js +2 -0
- package/lmvz-components/{p-GdMr6Qlp.js → p-DCTzMRMQ.js} +1 -1
- package/lmvz-components/p-DOTK1OW3.js +1 -0
- package/lmvz-components/p-b7940687.entry.js +1 -0
- package/lmvz-components/p-d984e118.entry.js +1 -0
- package/lmvz-components/p-db8306a5.entry.js +1 -0
- package/lmvz-components/p-ea335543.entry.js +1 -0
- package/lmvz-components/p-f8ea0eb2.entry.js +1 -0
- package/manifest.json +599 -5
- package/package.json +9 -1
- package/types/api/index.d.ts +6 -0
- package/types/components/lmvz-button/lmvz-button.d.ts +4 -0
- package/types/components/lmvz-modal/lmvz-modal.d.ts +58 -0
- package/types/components/lmvz-toggle/lmvz-toggle.d.ts +31 -0
- package/types/components.d.ts +196 -0
- package/cjs/lmvz-icon.cjs.entry.js +0 -100
- package/components/p-C_bScbrd.js +0 -1
- package/components/p-DIrAQ4IB.js +0 -1
- package/esm/lmvz-icon.entry.js +0 -98
- package/lmvz-components/p-0f7a4236.entry.js +0 -1
- package/lmvz-components/p-32171f4f.entry.js +0 -1
- package/lmvz-components/p-400b2318.entry.js +0 -1
- package/lmvz-components/p-43e295ba.entry.js +0 -1
- package/lmvz-components/p-851969bd.entry.js +0 -1
- package/lmvz-components/p-9f9d845d.entry.js +0 -1
- package/lmvz-components/p-DIrAQ4IB.js +0 -1
- package/lmvz-components/p-a12f95da.entry.js +0 -1
- package/lmvz-components/p-ab4437dc.entry.js +0 -1
- package/lmvz-components/p-d0a0e206.entry.js +0 -1
- package/lmvz-components/p-saW7O-EW.js +0 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type AriaValidationHost } from '../../utils/aria/aria-validation-controller';
|
|
3
|
+
import { ReactiveControllerHost } from '../../utils/reactive-controller-host';
|
|
4
|
+
export declare class LmvzModal extends ReactiveControllerHost implements AriaValidationHost {
|
|
5
|
+
readonly el: HTMLLmvzModalElement;
|
|
6
|
+
private inheritedAriaAttributes;
|
|
7
|
+
private dialogEl?;
|
|
8
|
+
private dialogStateObserver?;
|
|
9
|
+
private actionsStateObserver?;
|
|
10
|
+
private headerSlot?;
|
|
11
|
+
private actionsSlot?;
|
|
12
|
+
private closeButtonEl?;
|
|
13
|
+
private previouslyFocusedElement;
|
|
14
|
+
private wrappedDialogShowModal?;
|
|
15
|
+
private lastActionValidationMessage?;
|
|
16
|
+
private pendingCloseReturnValue;
|
|
17
|
+
private readonly dialogTitleId;
|
|
18
|
+
private hasActions;
|
|
19
|
+
private hasHeader;
|
|
20
|
+
open: boolean;
|
|
21
|
+
closeLabel: string;
|
|
22
|
+
dialogClose: EventEmitter<void>;
|
|
23
|
+
dialogCancel: EventEmitter<void>;
|
|
24
|
+
get dialog(): HTMLDialogElement | undefined;
|
|
25
|
+
get validationEl(): HTMLDialogElement | HTMLLmvzModalElement;
|
|
26
|
+
get validationSlot(): HTMLSlotElement | undefined;
|
|
27
|
+
constructor();
|
|
28
|
+
protected handleFormDialogSubmit(event: SubmitEvent): void;
|
|
29
|
+
connectedCallback(): void;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
componentDidRender(): void;
|
|
33
|
+
protected handleOpenChange(): void;
|
|
34
|
+
private get dialogAccessibilityAttributes();
|
|
35
|
+
private get actionButtons();
|
|
36
|
+
private get enabledActionButtons();
|
|
37
|
+
private get assignedActionElements();
|
|
38
|
+
private isDisabledActionButton;
|
|
39
|
+
private getActionVariant;
|
|
40
|
+
private getActionValidationResult;
|
|
41
|
+
private hasAssignedContent;
|
|
42
|
+
private observeDialogState;
|
|
43
|
+
private isVisibleActionButton;
|
|
44
|
+
private capturePreviouslyFocusedElement;
|
|
45
|
+
private ensureDialogShowModalCapture;
|
|
46
|
+
private syncDialogVisibility;
|
|
47
|
+
private focusPrimaryAction;
|
|
48
|
+
private restoreFocus;
|
|
49
|
+
private readonly handleCloseButtonClick;
|
|
50
|
+
private readonly handleDialogCancel;
|
|
51
|
+
private readonly handleDialogClose;
|
|
52
|
+
private readonly handleHeaderSlotChange;
|
|
53
|
+
private observeActionState;
|
|
54
|
+
private syncActionsState;
|
|
55
|
+
private handleActionsSlotChange;
|
|
56
|
+
private checkActions;
|
|
57
|
+
render(): any;
|
|
58
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type AriaValidationHost } from '../../utils/aria/aria-validation-controller';
|
|
3
|
+
import { ReactiveControllerHost } from '../../utils/reactive-controller-host';
|
|
4
|
+
export declare class LmvzToggle extends ReactiveControllerHost implements AriaValidationHost {
|
|
5
|
+
readonly el: HTMLElement;
|
|
6
|
+
get validationEl(): HTMLElement;
|
|
7
|
+
internals: ElementInternals;
|
|
8
|
+
private nativeInputElement?;
|
|
9
|
+
private toggleId;
|
|
10
|
+
lmvzChange: EventEmitter<boolean>;
|
|
11
|
+
label: string;
|
|
12
|
+
checked: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
required: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
value: string;
|
|
17
|
+
form?: string;
|
|
18
|
+
constructor();
|
|
19
|
+
formAssociatedCallback(_form: HTMLFormElement | undefined): void;
|
|
20
|
+
formResetCallback(): void;
|
|
21
|
+
formStateRestoreCallback(state: string): void;
|
|
22
|
+
handleCheckedChange(checked: boolean): void;
|
|
23
|
+
handleDisabledChange(disabled: boolean): void;
|
|
24
|
+
focusToggle(): Promise<void>;
|
|
25
|
+
blurToggle(): Promise<void>;
|
|
26
|
+
checkValidity(): Promise<boolean>;
|
|
27
|
+
reportValidity(): Promise<boolean>;
|
|
28
|
+
getInputElement(): Promise<HTMLInputElement | undefined>;
|
|
29
|
+
private handleChange;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
package/types/components.d.ts
CHANGED
|
@@ -27,6 +27,14 @@ export declare namespace Components {
|
|
|
27
27
|
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
28
28
|
*/
|
|
29
29
|
"form"?: FormRef;
|
|
30
|
+
/**
|
|
31
|
+
* Native formmethod value forwarded to the hidden native submit button. Use `dialog` to support native dialog close/confirm flows from `lmvz-button`.
|
|
32
|
+
*/
|
|
33
|
+
"formMethod"?: 'dialog' | 'get' | 'post';
|
|
34
|
+
/**
|
|
35
|
+
* Native button name forwarded to the hidden native submit button.
|
|
36
|
+
*/
|
|
37
|
+
"name"?: string;
|
|
30
38
|
/**
|
|
31
39
|
* Scale of the button
|
|
32
40
|
* @default 'default'
|
|
@@ -42,6 +50,10 @@ export declare namespace Components {
|
|
|
42
50
|
* @default 'button'
|
|
43
51
|
*/
|
|
44
52
|
"type": 'submit' | 'button';
|
|
53
|
+
/**
|
|
54
|
+
* Native button value forwarded to the hidden native submit button. For `formmethod="dialog"` flows this becomes the dialog `returnValue`.
|
|
55
|
+
*/
|
|
56
|
+
"value"?: string;
|
|
45
57
|
/**
|
|
46
58
|
* Variant of the button
|
|
47
59
|
* @default 'secondary', since the primary button should be marked as such in context
|
|
@@ -364,6 +376,22 @@ export declare namespace Components {
|
|
|
364
376
|
*/
|
|
365
377
|
"ti": number;
|
|
366
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Native dialog-backed modal with inline `header`, body, and `actions` regions.
|
|
381
|
+
* The implementation intentionally ignores Figma preview container sizes and instead sizes against the viewport plus LMVZ spacing tokens.
|
|
382
|
+
*/
|
|
383
|
+
export interface LmvzModal {
|
|
384
|
+
/**
|
|
385
|
+
* Accessible label for the internal close button.
|
|
386
|
+
* @default 'Schliessen'
|
|
387
|
+
*/
|
|
388
|
+
"closeLabel": string;
|
|
389
|
+
/**
|
|
390
|
+
* Controls the native dialog visibility.
|
|
391
|
+
* @default false
|
|
392
|
+
*/
|
|
393
|
+
"open": boolean;
|
|
394
|
+
}
|
|
367
395
|
/**
|
|
368
396
|
* Select component with floating label and pill-shaped trigger.
|
|
369
397
|
* Wraps a native `<select>` element for full keyboard and form support.
|
|
@@ -407,6 +435,66 @@ export declare namespace Components {
|
|
|
407
435
|
*/
|
|
408
436
|
"value"?: string;
|
|
409
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Toggle (switch) component. Wraps a native `<input type="checkbox" role="switch">` for full keyboard and form support.
|
|
440
|
+
* @example ```html
|
|
441
|
+
* <lmvz-toggle label="Enable notifications" name="notifications" required></lmvz-toggle>
|
|
442
|
+
* ```
|
|
443
|
+
*/
|
|
444
|
+
export interface LmvzToggle {
|
|
445
|
+
/**
|
|
446
|
+
* Removes focus from the toggle
|
|
447
|
+
*/
|
|
448
|
+
"blurToggle": () => Promise<void>;
|
|
449
|
+
/**
|
|
450
|
+
* Returns whether the toggle satisfies its validation constraints
|
|
451
|
+
*/
|
|
452
|
+
"checkValidity": () => Promise<boolean>;
|
|
453
|
+
/**
|
|
454
|
+
* Whether the toggle is checked
|
|
455
|
+
* @default false
|
|
456
|
+
*/
|
|
457
|
+
"checked": boolean;
|
|
458
|
+
/**
|
|
459
|
+
* Whether the toggle is disabled
|
|
460
|
+
* @default false
|
|
461
|
+
*/
|
|
462
|
+
"disabled": boolean;
|
|
463
|
+
/**
|
|
464
|
+
* Sets focus on the toggle
|
|
465
|
+
*/
|
|
466
|
+
"focusToggle": () => Promise<void>;
|
|
467
|
+
/**
|
|
468
|
+
* Form id to associate with
|
|
469
|
+
*/
|
|
470
|
+
"form"?: string;
|
|
471
|
+
/**
|
|
472
|
+
* Returns the native HTMLInputElement. Promise resolves when the element is ready and the input is available.
|
|
473
|
+
*/
|
|
474
|
+
"getInputElement": () => Promise<HTMLInputElement | undefined>;
|
|
475
|
+
/**
|
|
476
|
+
* Label text for the toggle
|
|
477
|
+
*/
|
|
478
|
+
"label": string;
|
|
479
|
+
/**
|
|
480
|
+
* Name attribute for form integration
|
|
481
|
+
*/
|
|
482
|
+
"name"?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Reports validation errors to the user
|
|
485
|
+
*/
|
|
486
|
+
"reportValidity": () => Promise<boolean>;
|
|
487
|
+
/**
|
|
488
|
+
* Whether the toggle is required
|
|
489
|
+
* @default false
|
|
490
|
+
*/
|
|
491
|
+
"required": boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Value submitted with the form when checked
|
|
494
|
+
* @default 'on'
|
|
495
|
+
*/
|
|
496
|
+
"value": string;
|
|
497
|
+
}
|
|
410
498
|
}
|
|
411
499
|
|
|
412
500
|
export declare type FormRef = string | HTMLFormElement | undefined;
|
|
@@ -445,6 +533,14 @@ export declare namespace JSX {
|
|
|
445
533
|
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
446
534
|
*/
|
|
447
535
|
"form"?: FormRef;
|
|
536
|
+
/**
|
|
537
|
+
* Native formmethod value forwarded to the hidden native submit button. Use `dialog` to support native dialog close/confirm flows from `lmvz-button`.
|
|
538
|
+
*/
|
|
539
|
+
"formMethod"?: 'dialog' | 'get' | 'post';
|
|
540
|
+
/**
|
|
541
|
+
* Native button name forwarded to the hidden native submit button.
|
|
542
|
+
*/
|
|
543
|
+
"name"?: string;
|
|
448
544
|
/**
|
|
449
545
|
* Event emitted when the button is activated, either by a click or by pressing "Enter" when the button is focused.
|
|
450
546
|
*/
|
|
@@ -464,6 +560,10 @@ export declare namespace JSX {
|
|
|
464
560
|
* @default 'button'
|
|
465
561
|
*/
|
|
466
562
|
"type"?: 'submit' | 'button';
|
|
563
|
+
/**
|
|
564
|
+
* Native button value forwarded to the hidden native submit button. For `formmethod="dialog"` flows this becomes the dialog `returnValue`.
|
|
565
|
+
*/
|
|
566
|
+
"value"?: string;
|
|
467
567
|
/**
|
|
468
568
|
* Variant of the button
|
|
469
569
|
* @default 'secondary', since the primary button should be marked as such in context
|
|
@@ -762,6 +862,30 @@ export declare namespace JSX {
|
|
|
762
862
|
*/
|
|
763
863
|
"ti"?: number;
|
|
764
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* Native dialog-backed modal with inline `header`, body, and `actions` regions.
|
|
867
|
+
* The implementation intentionally ignores Figma preview container sizes and instead sizes against the viewport plus LMVZ spacing tokens.
|
|
868
|
+
*/
|
|
869
|
+
export interface LmvzModal {
|
|
870
|
+
/**
|
|
871
|
+
* Accessible label for the internal close button.
|
|
872
|
+
* @default 'Schliessen'
|
|
873
|
+
*/
|
|
874
|
+
"closeLabel"?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Re-emitted from the host whenever the native dialog receives a `cancel` event (e.g. Escape key). Call `event.preventDefault()` to keep the dialog open.
|
|
877
|
+
*/
|
|
878
|
+
"onCancel"?: (event: LmvzModalCustomEvent<void>) => void;
|
|
879
|
+
/**
|
|
880
|
+
* Re-emitted from the host whenever the native dialog closes so framework wrappers can synchronize bound state.
|
|
881
|
+
*/
|
|
882
|
+
"onClose"?: (event: LmvzModalCustomEvent<void>) => void;
|
|
883
|
+
/**
|
|
884
|
+
* Controls the native dialog visibility.
|
|
885
|
+
* @default false
|
|
886
|
+
*/
|
|
887
|
+
"open"?: boolean;
|
|
888
|
+
}
|
|
765
889
|
/**
|
|
766
890
|
* Select component with floating label and pill-shaped trigger.
|
|
767
891
|
* Wraps a native `<select>` element for full keyboard and form support.
|
|
@@ -809,6 +933,50 @@ export declare namespace JSX {
|
|
|
809
933
|
*/
|
|
810
934
|
"value"?: string;
|
|
811
935
|
}
|
|
936
|
+
/**
|
|
937
|
+
* Toggle (switch) component. Wraps a native `<input type="checkbox" role="switch">` for full keyboard and form support.
|
|
938
|
+
* @example ```html
|
|
939
|
+
* <lmvz-toggle label="Enable notifications" name="notifications" required></lmvz-toggle>
|
|
940
|
+
* ```
|
|
941
|
+
*/
|
|
942
|
+
export interface LmvzToggle {
|
|
943
|
+
/**
|
|
944
|
+
* Whether the toggle is checked
|
|
945
|
+
* @default false
|
|
946
|
+
*/
|
|
947
|
+
"checked"?: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* Whether the toggle is disabled
|
|
950
|
+
* @default false
|
|
951
|
+
*/
|
|
952
|
+
"disabled"?: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Form id to associate with
|
|
955
|
+
*/
|
|
956
|
+
"form"?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Label text for the toggle
|
|
959
|
+
*/
|
|
960
|
+
"label": string;
|
|
961
|
+
/**
|
|
962
|
+
* Name attribute for form integration
|
|
963
|
+
*/
|
|
964
|
+
"name"?: string;
|
|
965
|
+
/**
|
|
966
|
+
* Emitted when the toggle is switched. Event detail is the new checked state.
|
|
967
|
+
*/
|
|
968
|
+
"onLmvzChange"?: (event: LmvzToggleCustomEvent<boolean>) => void;
|
|
969
|
+
/**
|
|
970
|
+
* Whether the toggle is required
|
|
971
|
+
* @default false
|
|
972
|
+
*/
|
|
973
|
+
"required"?: boolean;
|
|
974
|
+
/**
|
|
975
|
+
* Value submitted with the form when checked
|
|
976
|
+
* @default 'on'
|
|
977
|
+
*/
|
|
978
|
+
"value"?: string;
|
|
979
|
+
}
|
|
812
980
|
|
|
813
981
|
export interface LmvzButtonAttributes {
|
|
814
982
|
"ti": number;
|
|
@@ -817,6 +985,9 @@ export declare namespace JSX {
|
|
|
817
985
|
"disabled": boolean;
|
|
818
986
|
"type": 'submit' | 'button';
|
|
819
987
|
"form": FormRef;
|
|
988
|
+
"formMethod": 'dialog' | 'get' | 'post';
|
|
989
|
+
"name": string;
|
|
990
|
+
"value": string;
|
|
820
991
|
}
|
|
821
992
|
export interface LmvzCardAttributes {
|
|
822
993
|
"cardTitle": string;
|
|
@@ -882,6 +1053,10 @@ export declare namespace JSX {
|
|
|
882
1053
|
"role": string;
|
|
883
1054
|
"ti": number;
|
|
884
1055
|
}
|
|
1056
|
+
export interface LmvzModalAttributes {
|
|
1057
|
+
"open": boolean;
|
|
1058
|
+
"closeLabel": string;
|
|
1059
|
+
}
|
|
885
1060
|
export interface LmvzSelectAttributes {
|
|
886
1061
|
"value": string;
|
|
887
1062
|
"label": string;
|
|
@@ -890,6 +1065,15 @@ export declare namespace JSX {
|
|
|
890
1065
|
"required": boolean;
|
|
891
1066
|
"name": string;
|
|
892
1067
|
}
|
|
1068
|
+
export interface LmvzToggleAttributes {
|
|
1069
|
+
"label": string;
|
|
1070
|
+
"checked": boolean;
|
|
1071
|
+
"disabled": boolean;
|
|
1072
|
+
"required": boolean;
|
|
1073
|
+
"name": string;
|
|
1074
|
+
"value": string;
|
|
1075
|
+
"form": string;
|
|
1076
|
+
}
|
|
893
1077
|
|
|
894
1078
|
export interface IntrinsicElements {
|
|
895
1079
|
"lmvz-action": LmvzAction;
|
|
@@ -901,7 +1085,9 @@ export declare namespace JSX {
|
|
|
901
1085
|
"lmvz-icon": Omit<LmvzIcon, keyof LmvzIconAttributes> & { [K in keyof LmvzIcon & keyof LmvzIconAttributes]?: LmvzIcon[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `attr:${K}`]?: LmvzIconAttributes[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `prop:${K}`]?: LmvzIcon[K] } & OneOf<"icon", LmvzIcon["icon"], LmvzIconAttributes["icon"]>;
|
|
902
1086
|
"lmvz-input": Omit<LmvzInput, keyof LmvzInputAttributes> & { [K in keyof LmvzInput & keyof LmvzInputAttributes]?: LmvzInput[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `attr:${K}`]?: LmvzInputAttributes[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `prop:${K}`]?: LmvzInput[K] } & OneOf<"label", LmvzInput["label"], LmvzInputAttributes["label"]>;
|
|
903
1087
|
"lmvz-menuitem": Omit<LmvzMenuitem, keyof LmvzMenuitemAttributes> & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes]?: LmvzMenuitem[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `attr:${K}`]?: LmvzMenuitemAttributes[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `prop:${K}`]?: LmvzMenuitem[K] };
|
|
1088
|
+
"lmvz-modal": Omit<LmvzModal, keyof LmvzModalAttributes> & { [K in keyof LmvzModal & keyof LmvzModalAttributes]?: LmvzModal[K] } & { [K in keyof LmvzModal & keyof LmvzModalAttributes as `attr:${K}`]?: LmvzModalAttributes[K] } & { [K in keyof LmvzModal & keyof LmvzModalAttributes as `prop:${K}`]?: LmvzModal[K] };
|
|
904
1089
|
"lmvz-select": Omit<LmvzSelect, keyof LmvzSelectAttributes> & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes]?: LmvzSelect[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `attr:${K}`]?: LmvzSelectAttributes[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `prop:${K}`]?: LmvzSelect[K] } & OneOf<"label", LmvzSelect["label"], LmvzSelectAttributes["label"]>;
|
|
1090
|
+
"lmvz-toggle": Omit<LmvzToggle, keyof LmvzToggleAttributes> & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes]?: LmvzToggle[K] } & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes as `attr:${K}`]?: LmvzToggleAttributes[K] } & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes as `prop:${K}`]?: LmvzToggle[K] } & OneOf<"label", LmvzToggle["label"], LmvzToggleAttributes["label"]>;
|
|
905
1091
|
}
|
|
906
1092
|
}
|
|
907
1093
|
|
|
@@ -940,11 +1126,21 @@ export declare interface LmvzMenuitemCustomEvent<T> extends CustomEvent<T> {
|
|
|
940
1126
|
target: HTMLLmvzMenuitemElement;
|
|
941
1127
|
}
|
|
942
1128
|
|
|
1129
|
+
export declare interface LmvzModalCustomEvent<T> extends CustomEvent<T> {
|
|
1130
|
+
detail: T;
|
|
1131
|
+
target: HTMLLmvzModalElement;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
943
1134
|
export declare interface LmvzSelectCustomEvent<T> extends CustomEvent<T> {
|
|
944
1135
|
detail: T;
|
|
945
1136
|
target: HTMLLmvzSelectElement;
|
|
946
1137
|
}
|
|
947
1138
|
|
|
1139
|
+
export declare interface LmvzToggleCustomEvent<T> extends CustomEvent<T> {
|
|
1140
|
+
detail: T;
|
|
1141
|
+
target: HTMLLmvzToggleElement;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
948
1144
|
declare const scaleValues: readonly ["small", "default", "large"];
|
|
949
1145
|
|
|
950
1146
|
declare const sizes: readonly ["xs", "sm", "md", "lg"];
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-C2yDXRqP.js');
|
|
4
|
-
var svg = require('./svg-BMBduILB.js');
|
|
5
|
-
var reactiveControllerHost = require('./reactive-controller-host-BA4ZhjKA.js');
|
|
6
|
-
var icons = require('./icons-BQASWgk-.js');
|
|
7
|
-
require('./logger-DsM6xg6V.js');
|
|
8
|
-
require('./aria-loader-Cec1zR2g.js');
|
|
9
|
-
|
|
10
|
-
const lmvzIconCss = () => `.sc-lmvz-icon-h{--lmvz-icon-color:var(--lmvz-component-color, var(--lmvz-semantic-color-on-surface-input-primary, #000000));--lmvz-icon-size:var(--lmvz-component-size, var(--lmvz-component-icon-size-md, clamp(1rem, 0.94rem + 0.26vw, 1.25rem)));display:inline-block;line-height:0;svg{display:block;height:var(--lmvz-icon-size);width:auto}svg path{stroke:var(--lmvz-icon-color);fill:none}}[size='xs'].sc-lmvz-icon-h{svg{--lmvz-icon-size:var(--lmvz-component-icon-size-xs, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem))}}[size='sm'].sc-lmvz-icon-h{svg{--lmvz-icon-size:var(--lmvz-component-icon-size-sm, clamp(0.88rem, 0.84rem + 0.13vw, 1rem))}}[size='md'].sc-lmvz-icon-h{svg{--lmvz-icon-size:var(--lmvz-component-icon-size-md, clamp(1rem, 0.94rem + 0.26vw, 1.25rem))}}[size='lg'].sc-lmvz-icon-h{svg{--lmvz-icon-size:var(--lmvz-component-icon-size-lg, clamp(1.5rem, 1.44rem + 0.26vw, 1.75rem))}}[size='inherit'].sc-lmvz-icon-h{svg{height:var(--lmvz-component-size, inherit)}}[weight='light'].sc-lmvz-icon-h{svg path{stroke-width:1}}[weight='medium'].sc-lmvz-icon-h{svg path{stroke-width:1.5}}[weight='bold'].sc-lmvz-icon-h{svg path{stroke-width:2}}[weight='filled'].sc-lmvz-icon-h{svg path{stroke-width:2;fill:var(--lmvz-icon-color)}}`;
|
|
11
|
-
|
|
12
|
-
const LmvzIcon = class extends reactiveControllerHost.ReactiveControllerHost {
|
|
13
|
-
intersectionObserver;
|
|
14
|
-
ariaValidationController = new reactiveControllerHost.AriaValidationController(this);
|
|
15
|
-
get el() { return index.getElement(this); }
|
|
16
|
-
validationEl;
|
|
17
|
-
icon;
|
|
18
|
-
weight = 'medium';
|
|
19
|
-
size = 'md';
|
|
20
|
-
iconset;
|
|
21
|
-
iconData;
|
|
22
|
-
visible = false;
|
|
23
|
-
ariaLabel;
|
|
24
|
-
get ariaHidden() {
|
|
25
|
-
return !this.ariaLabel;
|
|
26
|
-
}
|
|
27
|
-
constructor(hostRef) {
|
|
28
|
-
super();
|
|
29
|
-
index.registerInstance(this, hostRef);
|
|
30
|
-
this.addController(this.ariaValidationController);
|
|
31
|
-
}
|
|
32
|
-
connectedCallback() {
|
|
33
|
-
this.waitUntilVisible(() => {
|
|
34
|
-
this.visible = true;
|
|
35
|
-
this.loadIconPathData();
|
|
36
|
-
});
|
|
37
|
-
super.connectedCallback();
|
|
38
|
-
}
|
|
39
|
-
disconnectedCallback() {
|
|
40
|
-
if (this.intersectionObserver && typeof this.intersectionObserver.disconnect === 'function') {
|
|
41
|
-
this.intersectionObserver.disconnect();
|
|
42
|
-
}
|
|
43
|
-
this.intersectionObserver = undefined;
|
|
44
|
-
super.disconnectedCallback();
|
|
45
|
-
}
|
|
46
|
-
async loadIconPathData() {
|
|
47
|
-
const { icon, iconset, visible } = this;
|
|
48
|
-
if (!icon || !visible) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
const maybeIcon = svg.parseSvgString(icon);
|
|
52
|
-
if (maybeIcon) {
|
|
53
|
-
this.iconData = maybeIcon;
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
this.iconData = await icons.resolveIconSvg({
|
|
57
|
-
icon,
|
|
58
|
-
iconset,
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
componentDidRender() {
|
|
62
|
-
this.validationEl = this.el.querySelector('svg');
|
|
63
|
-
this.ariaValidationController.revalidateAria();
|
|
64
|
-
super.componentDidRender();
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
return index.h(index.Host, { key: 'e76fe28500b3545b8917ecdad590da5bc04ed38f', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
|
|
68
|
-
}
|
|
69
|
-
waitUntilVisible(callback, rootMargin = 50) {
|
|
70
|
-
if (typeof window === 'undefined' || !window.IntersectionObserver) {
|
|
71
|
-
callback();
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
this.intersectionObserver = new IntersectionObserver((entries) => {
|
|
75
|
-
entries.some((entry) => {
|
|
76
|
-
if (entry.isIntersecting) {
|
|
77
|
-
if (this.intersectionObserver && typeof this.intersectionObserver.disconnect === 'function') {
|
|
78
|
-
this.intersectionObserver.disconnect();
|
|
79
|
-
}
|
|
80
|
-
this.intersectionObserver = undefined;
|
|
81
|
-
callback();
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
return false;
|
|
85
|
-
});
|
|
86
|
-
}, { rootMargin: `${rootMargin}px` });
|
|
87
|
-
this.intersectionObserver.observe(this.el);
|
|
88
|
-
}
|
|
89
|
-
static get watchers() { return {
|
|
90
|
-
"icon": [{
|
|
91
|
-
"loadIconPathData": 0
|
|
92
|
-
}],
|
|
93
|
-
"iconset": [{
|
|
94
|
-
"loadIconPathData": 0
|
|
95
|
-
}]
|
|
96
|
-
}; }
|
|
97
|
-
};
|
|
98
|
-
LmvzIcon.style = lmvzIconCss();
|
|
99
|
-
|
|
100
|
-
exports.lmvz_icon = LmvzIcon;
|
package/components/p-C_bScbrd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t={isDev:!1},n=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(n||{}),e=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(e||{}),o="type",l="value",s="serialized:";function r(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var i,c=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=r(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},u=(t,n)=>n in t,a=(t,n)=>(0,console.error)(t,n),d=new Map,$="s-id",p="sty-id",h="c-id",v="http://www.w3.org/1999/xlink",y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],b="undefined"!=typeof window?window:{},m=b.HTMLElement||class{},g={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},w=(()=>{try{return!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),j=!!w&&(()=>!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable)(),O=!1,S=[],k=[],N=(t,n)=>e=>{t.push(e),O||(O=!0,n&&4&g.i?C(M):g.raf(M))},x=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){a(t)}t.length=0},M=()=>{x(S),x(k),(O=S.length>0)&&g.raf(M)},C=t=>Promise.resolve(undefined).then(t),E=N(k,!0),A=t=>{const n=new URL(t,g.u);return n.origin!==b.location.origin?n.href:n.pathname},I=t=>g.u=t;function L(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.i);const e=this.attachShadow(n);void 0===i&&(i=null),i&&(j?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i])}var R=t=>{const n=V(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&_(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!D(t,F(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&V(t,"childNodes").length&&R(t)}};function _(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||F(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,..._(o.childNodes,n,e)]}return s}var D=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)F(l)!==n||!e&&l["s-sr"]||o.push(l);return o},T=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,B=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,r=V(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=V(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]},F=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function U(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===F(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function V(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var H=new WeakMap,P=(t,n,e)=>{let o=d.get(t);w&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,d.set(t,o)},W=(t,n)=>{var e,o,l;const s=z(n),r=d.get(s);if(!b.document)return s;if(t=11===t.nodeType?t:b.document,r)if("string"==typeof r){let l,i=H.get(t=t.head||t);i||H.set(t,i=new Set);const c=t.querySelector(`[${p}="${s}"]`);if(c)c.textContent=r;else if(!i.has(s)){l=b.document.createElement("style"),l.textContent=r;const c=null!=(e=g.$)?e:function(){var t,n,e;return null!=(e=null==(n=null==(t=b.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();if(null!=c&&l.setAttribute("nonce",c),!(1&n.i))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(w){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),j?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=r+n.textContent:t.prepend(l)}else t.append(l);1&n.i&&t.insertBefore(l,null),4&n.i&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),i&&i.add(s)}}else{let n=H.get(t);if(n||H.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(r.constructor===e.CSSStyleSheet)o=r;else{o=new e.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}if(j?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s),"host"in t){const n=t.querySelector(`[${p}="${s}"]`);n&&E((()=>n.remove()))}}}return s},z=t=>"sc-"+t.p,q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,n,...e)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],f=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!q(o))&&(o=String(o)),r&&i?c[c.length-1].h+=o:c.push(r?J(null,o):o),i=r)};if(f(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const u=J(t,null);return u.v=n,c.length>0&&(u.m=c),u.j=l,u.O=s,u},J=(t,n)=>({i:0,S:t,h:null!=n?n:null,k:null,m:null,v:null,j:null,O:null}),Z={},G=(t,n,e,o,l,s,r,i=[])=>{let c,f,u,a;const d=l["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(h),c&&(f=c.split("."),f[0]===r||"0"===f[0])){u=Q({i:0,N:f[0],M:f[1],C:f[2],A:f[3],S:s.tagName.toLowerCase(),k:s,v:{class:s.className||""}}),n.push(u),s.removeAttribute(h),t.m||(t.m=[]),d&&f[0]===r&&(s["s-si"]=d,u.v.class+=" "+d);const l=u.k.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===u.S&&(X(l,f[2],u,s,t,n,e,o,i),d&&s.classList.add(d)),u.k["s-sn"]=l,u.k.removeAttribute("s-sn")),void 0!==u.A&&(t.m[u.A]=u),t=u,o&&"0"===u.C&&(o[u.A]=u.k)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)G(t,n,e,o,l,s.shadowRoot.childNodes[a],r,i);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)G(t,n,e,o,l,$[a],r,i)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===r||"0"===f[1])&&(c=f[0],u=Q({N:f[1],M:f[2],C:f[3],A:f[4]||"0",k:s,v:null,m:null,j:null,O:null,S:null,h:null}),"t"===c?(u.k=nt(s,3),u.k&&3===u.k.nodeType&&(u.h=u.k.textContent,n.push(u),s.remove(),r===u.N&&(t.m||(t.m=[]),t.m[u.A]=u),o&&"0"===u.C&&(o[u.A]=u.k))):"c"===c?(u.k=nt(s,8),u.k&&8===u.k.nodeType&&(n.push(u),s.remove())):u.N===r&&("s"===c?X(s["s-sn"]=f[5]||"",f[2],u,s,t,n,e,o,i):"r"===c&&(o?s.remove():(l["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.S){const n=J(null,s.textContent);n.k=s,n.A="0",t.m=[n]}return t},K=(t,n)=>{if(1===t.nodeType){const e=t[$]||t.getAttribute($);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)K(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)K(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},Q=t=>({i:0,N:null,M:null,C:null,A:"0",k:null,v:null,m:null,j:null,O:null,S:null,h:null,...t});function X(t,n,e,o,l,s,r,i,c){o["s-sr"]=!0,e.O=t||null,e.S="slot";const f=(null==l?void 0:l.k)?l.k["s-id"]||l.k.getAttribute("s-id"):"";if(i&&b.document){const s=e.k=b.document.createElement(e.S);e.O&&e.k.setAttribute("name",t),l.k.shadowRoot&&f&&f!==e.N?V(l.k,"insertBefore")(s,V(l.k,"children")[0]):V(V(o,"parentNode"),"insertBefore")(s,o),tt(c,n,t,o,e.N),o.remove(),"0"===e.C&&(i[e.A]=e.k)}else{const s=e.k,r=f&&f!==e.N&&l.k.shadowRoot;tt(c,n,t,o,r?f:e.N),U(o),r&&l.k.insertBefore(s,l.k.children[0])}s.push(e),r.push(e),l.m||(l.m=[]),l.m[e.A]=e}var tt=(t,n,e,o,l)=>{var s,r;let i=o.nextSibling;if(t[n]=t[n]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==e&&(""!==e||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=e,t[n].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},nt=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},et=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},ot=class t{static fromLocalValue(n){const e=n[o],s=l in n?n[l]:void 0;switch(e){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((n=>t.fromLocalValue(n)));case"date":return new Date(s);case"map":const n=new Map;for(const[e,o]of s){const l="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(o);n.set(l,s)}return n;case"object":const o={};for(const[n,e]of s)o[n]=t.fromLocalValue(e);return o;case"regexp":const{pattern:l,flags:r}=s;return new RegExp(l,r);case"set":const i=new Set;for(const n of s)i.add(t.fromLocalValue(n));return i;case"symbol":return Symbol(s);default:throw new Error(`Unsupported type: ${e}`)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(o))return!1;const s=t[o];return!!Object.values({...n,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(l))}};var lt,st,rt,it=(t,n,e)=>{return"string"==typeof t&&t.startsWith(s)?t="string"==typeof(o=t)&&o.startsWith(s)?ot.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(o.slice(11)))):o:null==t||q(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t;var o},ct=(t,n)=>{const e=t;return{emit:t=>ft(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ft=(t,n,e)=>{const o=g.ce(n,e);return t.dispatchEvent(o),o},ut=(t,n,e,o,l,s,r)=>{if(e===o)return;let i=u(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,l=dt(e);let s=dt(o);if((t["s-si"]||t["s-sc"])&&r){const e=t["s-sc"]||t["s-si"];s.push(e),l.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),n.add(...s)}else n.remove(...l.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&Rt(o,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=f(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const r=q(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?i=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,f=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(n)||(f?t.removeAttributeNS(v,n):t.removeAttribute(n)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,f?t.setAttributeNS(v,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):u(b,c)?c.slice(2):c[2]+n.slice(3),e||o){const l=n.endsWith($t);n=n.replace(pt,""),e&&g.rel(t,n,e,l),o&&g.ael(t,n,o,l)}},at=/\s/,dt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(at):[]),$t="Capture",pt=new RegExp($t+"$"),ht=(t,n,e,o)=>{const l=11===n.k.nodeType&&n.k.host?n.k.host:n.k,s=t&&t.v||{},r=n.v||{};for(const t of vt(Object.keys(s)))t in r||ut(l,t,s[t],void 0,e,n.i,o);for(const t of vt(Object.keys(r)))ut(l,t,s[t],r[t],e,n.i,o)};function vt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,bt=!1,mt=!1,gt=!1,wt=[],jt=[],Ot=(t,n,e)=>{var o;const l=n.m[e];let s,r,i,c=0;if(yt||(mt=!0,"slot"===l.S&&(l.i|=l.m?2:1)),null!=l.h)s=l.k=b.document.createTextNode(l.h);else if(1&l.i)s=l.k=b.document.createTextNode(""),ht(null,l,gt);else{if(!b.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=b.document.createElement(!yt&&2&l.i?"slot-fb":l.S),ht(null,l,gt),null!=(f=lt)&&void 0!==f&&s["s-si"]!==lt&&s.classList.add(s["s-si"]=lt),l.m){const n="template"===l.S?s.content:s;for(c=0;c<l.m.length;++c)r=Ot(t,l,c),r&&n.appendChild(r)}}var f;return s["s-hn"]=rt,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=st,s["s-sn"]=l.O||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,U(s),i=t&&t.m&&t.m[e],i&&i.S===l.S&&t.k&&St(t.k),Dt(st,s,n.k,null==t?void 0:t.k)),s},St=t=>{g.i|=1;const n=t.closest(rt.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(_t(n,t,null!=e?e:null),t["s-sh"]=void 0,mt=!0)}g.i&=-2},kt=(t,n)=>{g.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===rt&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==rt&&o["s-ol"]&&(_t(Ct(o).parentNode,o,Ct(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,mt=!0),n&&kt(o,n)}g.i&=-2},Nt=(t,n,e,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===rt&&(i=i.shadowRoot),"template"===e.S&&(i=i.content);l<=s;++l)o[l]&&(r=Ot(null,e,l),r&&(o[l].k=r,_t(i,r,Ct(n))))},xt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;Lt(n),t&&(bt=!0,t["s-ol"]?t["s-ol"].remove():kt(t,!0),t.remove())}}},Mt=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),Ct=t=>t&&t["s-ol"]||t,Et=(t,n,e=!1)=>{const o=n.k=t.k,l=t.m,s=n.m,r=n.h;let i;null==r?("slot"!==n.S||yt||t.O!==n.O&&(n.k["s-sn"]=n.O||"",St(n.k.parentElement)),ht(t,n,gt,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,r,i=0,c=0,f=0,u=0,a=n.length-1,d=n[0],$=n[a],p=o.length-1,h=o[0],v=o[p];const y="template"===e.S?t.content:t;for(;i<=a&&c<=p;)if(null==d)d=n[++i];else if(null==$)$=n[--a];else if(null==h)h=o[++c];else if(null==v)v=o[--p];else if(Mt(d,h,l))Et(d,h,l),d=n[++i],h=o[++c];else if(Mt($,v,l))Et($,v,l),$=n[--a],v=o[--p];else if(Mt(d,v,l))"slot"!==d.S&&"slot"!==v.S||kt(d.k.parentNode,!1),Et(d,v,l),_t(y,d.k,$.k.nextSibling),d=n[++i],v=o[--p];else if(Mt($,h,l))"slot"!==d.S&&"slot"!==v.S||kt($.k.parentNode,!1),Et($,h,l),_t(y,$.k,d.k),$=n[--a],h=o[++c];else{for(f=-1,u=i;u<=a;++u)if(n[u]&&null!==n[u].j&&n[u].j===h.j){f=u;break}f>=0?(r=n[f],r.S!==h.S?s=Ot(n&&n[c],e,f):(Et(r,h,l),n[f]=void 0,s=r.k),h=o[++c]):(s=Ot(n&&n[c],e,c),h=o[++c]),s&&_t(Ct(d.k).parentNode,s,Ct(d.k))}i>a?Nt(t,null==o[p+1]?null:o[p+1].k,e,o,c,p):c>p&&xt(n,i,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),Nt(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.m=l):xt(l,0,l.length-1)):(i=o["s-cr"])?i.parentNode.textContent=r:t.h!==r&&(o.data=r)},At=[],It=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(T(n,l)){let e=At.find((t=>t.I===n));bt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.I["s-sh"]=t["s-hn"],e.L=t):(n["s-sh"]=t["s-hn"],At.push({L:t,I:n})),n["s-sr"]&&At.map((t=>{T(t.I,n["s-sn"])&&(e=At.find((t=>t.I===n)),e&&!t.L&&(t.L=e.L))}))}else At.some((t=>t.I===n))||At.push({I:n})}1===t.nodeType&&It(t)}},Lt=t=>{t.v&&t.v.ref&&wt.push((()=>t.v.ref(null))),t.m&&t.m.map(Lt)},Rt=(t,n)=>{jt.push((()=>t(n)))},_t=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Dt(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=F(t)||"";return{slotNode:_(V(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Dt(t,n,e,o){var l,s;let r;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],i=n["s-hn"];if(null==(l=e.classList)||l.add(r+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(r+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===i&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(r+"-s")}}}var Tt=(t,n,e=!1)=>{var o,l,s,r,i;const c=t.$hostElement$,f=t.o,u=t.R||J(null,null);var a;const d=(a=n)&&a.S===Z?n:Y(null,null,n);if(rt=c.tagName,f._&&(d.v=d.v||{},f._.forEach((([t,n])=>{d.v[n]=c[t]}))),e&&d.v)for(const t of Object.keys(d.v))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.v[t]=c[t]);if(d.S=null,d.i|=4,t.R=d,d.k=u.k=c.shadowRoot||c,lt=c["s-sc"],yt=!(!(1&f.i)||128&f.i),st=c["s-cr"],bt=!1,Et(u,d,e),g.i|=1,mt){It(d.k);for(const t of At){const n=t.I;if(!n["s-ol"]&&b.document){const t=b.document.createTextNode("");t["s-nr"]=n,_t(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of At){const n=t.I,i=t.L;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),i){const t=i.parentNode;let o=i.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(_t(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=b.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(r=n["s-ih"])&&r)}n&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===n.nodeType&&(n.hidden=!0)}}if(bt&&R(d.k),g.i&=-2,At.length=0,!yt&&!(1&f.i)&&c["s-cr"]){const t=d.k.__childNodes||d.k.childNodes;for(const n of t)if(n["s-hn"]!==rt&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(i=n.hidden)&&i),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=b.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}st=void 0,wt.forEach((t=>t())),wt.length=0,jt.forEach((t=>t())),jt.length=0},Bt=(t,n)=>{if(n&&!t.D&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.D=()=>{n["s-p"].splice(e-1,1),o()})))}},Ft=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);Bt(t,t.T);const e=()=>Ut(t,n);if(!n)return E(e);queueMicrotask((()=>{e()}))},Ut=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=Yt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=Vt(l,(()=>Yt(o,"componentWillRender",void 0,e))),Vt(l,(()=>Pt(t,o,n)))},Vt=(t,n)=>Ht(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ht=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.i,l=W(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);Wt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>zt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},Wt=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,Tt(t,n,o)}catch(n){a(n,t.$hostElement$)}return null},zt=t=>{const n=t.$hostElement$,e=n,o=t.T;Yt(e,"componentDidRender",void 0,n),64&t.i?Yt(e,"componentDidUpdate",void 0,n):(t.i|=64,Jt(n),Yt(e,"componentDidLoad",void 0,n),t.B(n),o||qt()),t.D&&(t.D(),t.D=void 0),512&t.i&&C((()=>Ft(t,!1))),t.i&=-517},qt=()=>{var t;C((()=>ft(b,"appload",{detail:{namespace:"lmvz-components"}}))),(null==(t=g.F)?void 0:t.size)&&g.F.clear()},Yt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){a(t,o)}},Jt=t=>t.classList.add("hydrated"),Zt=(t,n,e,o)=>{const l=f(t);if(!l)return;const s=t,r=l.l.get(n),i=l.i,c=s;e=it(e,o.t[n][0],!!(64&o.i));const u=Number.isNaN(r)&&Number.isNaN(e);if(e!==r&&!u){if(l.l.set(n,e),o.U){const t=o.U[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&i||1&s)&&(c?c[o](e,r,n):l.V.push((()=>{l.H[o](e,r,n)})))}catch(t){a(t,s)}}))}if(2&i){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,r,n)&&!(16&i))return;16&i||Ft(l,!1)}}},Gt=(t,n,e)=>{var o,l;const s=t.prototype;64&n.i&&1&e&&y.forEach((t=>{const n=s[t];Object.defineProperty(s,t,{value(...e){var o;const l=f(this),s=this;s?"function"==typeof n&&n.call(s,...e):null==(o=null==l?void 0:l.P)||o.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{t.watchers&&!n.U&&(n.U=et(t.watchers)),t.deserializers&&!n.W&&(n.W=t.deserializers),t.serializers&&!n.q&&(n.q=t.serializers);const e=Object.entries(null!=(o=n.t)?o:{});e.map((([t,[e]])=>{if(31&e||32&e){const{get:o,set:l}=r(s,t)||{};o&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return o?o.apply(this):(n=t,f(this).l.get(n));var n},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(o){const s=f(this);if(s){if(l)return void 0===(32&e?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(o=s.l.get(t)),l.apply(this,[it(o,e,!!(64&n.i))]),void Zt(this,t,o=32&e?this[t]:s.$hostElement$[t],n);Zt(this,t,o,n)}}})}}));{const o=new Map;s.attributeChangedCallback=function(t,l,r){g.jmp((()=>{var i;const c=o.get(t),u=f(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==r)return;if(null==c){const e=null==u?void 0:u.i;if(u&&e&&!(8&e)&&r!==l){const o=this,s=null==(i=n.U)?void 0:i[t];null==s||s.forEach((n=>{const[[s,i]]=Object.entries(n);null!=o[s]&&(128&e||1&i)&&o[s].call(o,r,l,t)}))}return}const a=e.find((([t])=>t===c)),d=a&&4&a[1][0],$=d&&null===r&&void 0===this[c];d&&(r=null!==r&&"false"!==r);const p=Object.getOwnPropertyDescriptor(s,c);$||r==this[c]||p.get&&!p.set||(this[c]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.U)?l:{}),...e.filter((([t,n])=>31&n[0])).map((([t,e])=>{var l;const s=e[1]||t;return o.set(s,t),512&e[0]&&(null==(l=n._)||l.push([t,s])),s}))]))}}return t},Kt=t=>{if(!b.document)return;const n=t["s-cr"]=b.document.createComment("");n["s-cn"]=!0,_t(t,n,t.firstChild)},Qt=(t,n)=>{const e={i:n[0],p:n[1]};try{e.t=n[2],e.U=et(t.U),e.W=t.W,e.q=t.q,e._=[],(()=>{if(!b.document)return;const t=b.document.querySelectorAll(`[${p}]`);let n=0;for(;n<t.length;n++)P(t[n].getAttribute(p),t[n].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)})();const o=t.prototype.connectedCallback,l=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,n)=>{const e={i:0,$hostElement$:t,o:n,l:new Map,Y:new Map};e.P=new Promise((t=>e.B=t)),t["s-p"]=[],t["s-rc"]=[];const o=e;t.__stencil__getHostRef=()=>o,512&n.i&&c(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!f(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&g.i)){const n=f(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.i)(null==n?void 0:n.H)||(null==n?void 0:n.P)&&n.P.then((()=>{}));else{let o;if(n.i|=1,o=t.getAttribute($),o){if(1&e.i){const n=W(t.shadowRoot,e);t.classList.remove(n+"-h",n+"-s")}else if(2&e.i){const n=z(e);t["s-sc"]=n}((t,n,e,o)=>{var l,s,r,i;const c=t.shadowRoot,u=[],a=[],d=[],p=c?[]:null,h=J(n,null);let v;h.k=t;{const n=o.o;n&&10&n.i&&t["s-sc"]?(v=t["s-sc"],t.classList.add(v+"-h")):t["s-sc"]&&delete t["s-sc"]}!b.document||g.F&&g.F.size||K(b.document.body,g.F=new Map),t[$]=e,t.removeAttribute($),o.R=G(h,u,a,p,t,t,e,d);let y=0;const m=u.length;let w;for(;y<m;y++){w=u[y];const e=w.N+"."+w.M,o=g.F.get(e),s=w.k;if(c){if((null==(l=w.S)?void 0:l.toString().includes("-"))&&"slot-fb"!==w.S&&!w.k.shadowRoot){const t=f(w.k);if(t){const n=z(t.o),e=b.document.querySelector(`style[sty-id="${n}"]`);e&&p.unshift(e.cloneNode(!0))}}}else s["s-hn"]=n.toUpperCase(),"slot"===w.S&&(s["s-cr"]=t["s-cr"]);"slot"===w.S&&(w.O=w.k["s-sn"]||w.k.name||null,w.m?(w.i|=2,w.k.childNodes.length||w.m.forEach((t=>{w.k.appendChild(t.k)}))):w.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),c||(s["s-oo"]=parseInt(w.M))),o&&!o["s-id"]&&g.F.delete(e)}const j=[],O=d.length;let S,k,N,x,M=0,C=0;for(;M<O;M++)if(S=d[M],S&&S.length)for(N=S.length,k=0;k<N;k++){if(x=S[k],j[x.hostId]||(j[x.hostId]=g.F.get(x.hostId)),!j[x.hostId])continue;const t=j[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.insertBefore(x.node,null==(r=null==(s=S[k-1])?void 0:s.node)?void 0:r.nextSibling),t.shadowRoot&&c||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),B(x.node,x.slot,0,x.node["s-oo"]||C),(null==(i=x.node.parentElement)?void 0:i.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot")),C=(x.node["s-oo"]||C)+1}if(v&&a.length&&a.forEach((t=>{t.k.parentElement.classList.add(v+"-s")})),c&&!c.childNodes.length){let n=0;const e=p.length;if(e){for(;n<e;n++){const t=p[n];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,e.p,o,n)}o||12&e.i&&Kt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Bt(n,n.T=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.i)&&(n.i|=32,o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.i|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const n=z(e);if(!d.has(n)){const o=()=>{};P(n,t,!!(1&e.i)),o()}}const l=n.T,s=()=>Ft(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){a(e,t),n.D&&(n.D(),n.D=void 0),n.B&&n.B(t)}})(t,n,e)}o()}})(this),o&&o.call(this)},disconnectedCallback(){(async t=>{1&g.i||f(t),H.has(t)&&H.delete(t),t.shadowRoot&&H.has(t.shadowRoot)&&H.delete(t.shadowRoot)})(this),l&&l.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${e.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else L.call(this,e)}}),Object.defineProperty(t,"is",{value:e.p,configurable:!0}),Gt(t,e,3)}catch(n){return a(n),t}},Xt=t=>g.$=t,tn=t=>Object.assign(g,t),nn=new WeakMap;function en(t,n){let e=nn.get(n);e||(e={i:0,o:{i:0,p:n.tagName},$hostElement$:n},nn.set(n,e)),Tt(e,t)}function on(t){return t}export{t as B,m as H,Xt as a,tn as b,ct as c,Z as d,A as g,Y as h,Qt as p,en as r,I as s,on as t}
|
package/components/p-DIrAQ4IB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a=(a,e)=>{a.componentOnReady?a.componentOnReady().then((a=>e(a))):i((()=>e(a)))},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],r=a=>((a,e=[])=>{const r={};return e.forEach((e=>{a.hasAttribute(e)&&(null!==a.getAttribute(e)&&(r[e]=a.getAttribute(e)),a.removeAttribute(e))})),r})(a,e),i=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a);function t(a=document){let e=a.activeElement;if(!e)return null;for(;e?.shadowRoot;){const a=e.shadowRoot.activeElement;if(!a)break;e=a}return e}function n(a){return!!a&&a instanceof HTMLElement&&a.tabIndex>=0&&!a.hasAttribute("disabled")&&"true"!==a.getAttribute("aria-hidden")&&a.checkVisibility()&&null!==a.offsetParent}function o(a,e){if(a instanceof HTMLFormElement)return a;if("string"==typeof a){const e=document.getElementById(a);return e?e instanceof HTMLFormElement?e:(console.warn(`No Form found with selector: "#${a}". Verify that the element with id exists and is actually a <form> element.`,e),null):(console.warn(`No Form found with selector: "#${a}". Verify that the id is correct and the form is rendered in the DOM.`,e),null)}return void 0!==a?(console.warn('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',e),null):e.closest("form")}export{n as a,a as c,o as f,t as g,r as i}
|