@ironsource/shared-ui 2.0.0-rc.6 → 2.0.0-rc.7
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/ButtonV4.vue_vue_type_style_index_0_scoped_3fd2281b_lang.css +1 -0
- package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_7a670808_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_e8324d12_lang.css +1 -0
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_1320b13b_lang.css +1 -0
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +1 -0
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_2a01a791_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_85bff8f4_lang.css +1 -0
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +1 -0
- package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +1 -0
- package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_92add735_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +1 -0
- package/RadioGroup.vue_vue_type_style_index_0_scoped_3071ef24_lang.css +1 -0
- package/RadioGroupV4.vue_vue_type_style_index_0_scoped_f8e8cbab_lang.css +1 -0
- package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +1 -0
- package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +3 -3
- package/components/button/common/ButtonSuper.vue.d.ts +6 -6
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v4/ButtonV4.vue.d.ts +11 -6
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +13 -10
- package/components/button/v4/index.d.ts +34 -15
- package/components/checkbox/common/Checkbox.common.d.ts +11 -0
- package/components/checkbox/common/Checkbox.common.js +32 -0
- package/components/checkbox/v3/Checkbox.vue.js +7 -0
- package/components/checkbox/v3/Checkbox.vue2.js +99 -0
- package/components/checkbox/{icons → v3/icons}/checked.vue.js +1 -1
- package/components/checkbox/{icons → v3/icons}/indeterminate.vue.js +1 -1
- package/components/checkbox/{icons → v3/icons}/unchecked.vue.js +1 -1
- package/components/checkbox/v4/CheckboxV4.vue.d.ts +53 -0
- package/components/checkbox/v4/CheckboxV4.vue.js +7 -0
- package/components/checkbox/v4/CheckboxV4.vue2.js +107 -0
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +38 -0
- package/components/checkbox/v4/icons/CheckedState.vue.d.ts +2 -0
- package/components/checkbox/v4/icons/CheckedState.vue.js +38 -0
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +2 -0
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +40 -0
- package/components/checkbox/v4/icons/IndeterminateState.vue.d.ts +2 -0
- package/components/checkbox/v4/icons/IndeterminateState.vue.js +40 -0
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +2 -0
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +31 -0
- package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +2 -0
- package/components/checkbox/v4/icons/UncheckedState.vue.js +31 -0
- package/components/checkbox/v4/index.d.ts +152 -0
- package/components/checkbox/v4/index.js +6 -0
- package/components/dropdown/v3/Dropdown.vue.js +2 -2
- package/components/dropdown/v3/Dropdown.vue2.js +3 -3
- package/components/dropdown/v3/Label.vue.js +7 -0
- package/components/dropdown/{common → v3}/Label.vue2.js +2 -2
- package/components/dropdown/v3/Option.vue.js +7 -0
- package/components/dropdown/{common → v3}/Option.vue2.js +3 -3
- package/components/dropdown/{common → v3}/SearchInput.vue.js +2 -2
- package/components/dropdown/{common → v3}/SearchInput.vue2.js +2 -2
- package/components/dropdown/v3/index.d.ts +3 -3
- package/components/dropdown/v3/index.js +3 -3
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +2 -2
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/FilterDropdown.vue.js +2 -2
- package/components/filterDropdown/FilterDropdown.vue2.js +4 -4
- package/components/filterDropdown/index.d.ts +2 -2
- package/components/filtersPanel/v3/FilterSearchInput.vue.d.ts +2 -0
- package/components/filtersPanel/v3/FilterSearchInput.vue.js +7 -0
- package/components/filtersPanel/{FilterSearchInput.vue2.js → v3/FilterSearchInput.vue2.js} +6 -6
- package/components/filtersPanel/v3/FiltersPanel.vue.js +7 -0
- package/components/filtersPanel/{FiltersPanel.vue2.js → v3/FiltersPanel.vue2.js} +1 -1
- package/components/filtersPanel/v4/FiltersPanelV4.vue.d.ts +44 -0
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +7 -0
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +23 -0
- package/components/filtersPanel/v4/index.d.ts +101 -0
- package/components/filtersPanel/v4/index.js +6 -0
- package/components/filtersPanel/v4/storyConsts.d.ts +20 -0
- package/components/icon/icons/FiltersSearch.vue.d.ts +2 -0
- package/components/icon/v3/icons/index.d.ts +3 -0
- package/components/icon/v3/icons/index.js +3 -0
- package/components/icon/v3/index.d.ts +3 -0
- package/components/includeExclude/IncludeExclude.vue.js +3 -3
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeOption.vue2.js +2 -2
- package/components/radioButton/common/radioGroup.common.d.ts +3 -0
- package/components/radioButton/common/radioGroup.common.js +26 -0
- package/components/radioButton/v3/RadioButton.vue.js +7 -0
- package/components/radioButton/v3/RadioButton.vue2.js +79 -0
- package/components/radioButton/v3/RadioGroup.vue.js +7 -0
- package/components/radioButton/v3/RadioGroup.vue2.js +29 -0
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +59 -0
- package/components/radioButton/v4/RadioButtonV4.vue.js +7 -0
- package/components/radioButton/v4/RadioButtonV4.vue2.js +67 -0
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +61 -0
- package/components/radioButton/v4/RadioGroupV4.vue.js +7 -0
- package/components/radioButton/v4/RadioGroupV4.vue2.js +29 -0
- package/components/radioButton/v4/index.d.ts +334 -0
- package/components/radioButton/v4/index.js +8 -0
- package/components/snackbar/common/notify.d.ts +3 -0
- package/components/snackbar/common/notify.js +82 -0
- package/components/snackbar/common/snackbar.common.d.ts +11 -0
- package/components/snackbar/common/snackbar.common.js +51 -0
- package/components/snackbar/v3/Snackbar.vue.js +7 -0
- package/components/snackbar/v3/Snackbar.vue2.js +129 -0
- package/components/snackbar/v3/index.d.ts +3 -0
- package/components/snackbar/v3/index.js +10 -0
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +186 -0
- package/components/snackbar/v4/SnackbarV4.vue.js +7 -0
- package/components/snackbar/v4/SnackbarV4.vue2.js +137 -0
- package/components/snackbar/v4/index.d.ts +4 -0
- package/components/snackbar/v4/index.js +11 -0
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +28 -29
- package/index.d.ts +1255 -34
- package/index.js +145 -152
- package/package.json +40 -15
- package/testids/index.d.ts +8 -0
- package/testids/index.js +14 -13
- package/ButtonV4.vue_vue_type_style_index_0_scoped_43578f8c_lang.css +0 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_518c02d0_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_0114904e_lang.css +0 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_b25c5605_lang.css +0 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_9198bf4e_lang.css +0 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_2996b384_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_2c9debd6_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_ff32d111_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_4a87e4fd_lang.css +0 -1
- package/Label.vue_vue_type_style_index_0_scoped_5faaafce_lang.css +0 -1
- package/Option.vue_vue_type_style_index_0_scoped_2432f13f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b879fe79_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_f5d3359c_lang.css +0 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_50bc6963_lang.css +0 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_0b1ea2f6_lang.css +0 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_d14230ca_lang.css +0 -1
- package/components/checkbox/Checkbox.vue.js +0 -7
- package/components/checkbox/Checkbox.vue2.js +0 -97
- package/components/dropdown/common/Label.vue.js +0 -7
- package/components/dropdown/common/Option.vue.js +0 -7
- package/components/filtersPanel/FilterSearchInput.vue.js +0 -7
- package/components/filtersPanel/FiltersPanel.vue.js +0 -7
- package/components/radioButton/RadioButton.vue.js +0 -7
- package/components/radioButton/RadioButton.vue2.js +0 -82
- package/components/radioButton/RadioGroup.vue.js +0 -7
- package/components/radioButton/RadioGroup.vue2.js +0 -44
- package/components/snackbar/Snackbar.vue.js +0 -7
- package/components/snackbar/Snackbar.vue2.js +0 -150
- package/components/snackbar/index.d.ts +0 -3
- package/components/snackbar/index.js +0 -6
- package/components/snackbar/notify.js +0 -84
- /package/components/checkbox/{Checkbox.vue.d.ts → v3/Checkbox.vue.d.ts} +0 -0
- /package/components/checkbox/{icons → v3/icons}/checked.vue.d.ts +0 -0
- /package/components/checkbox/{icons → v3/icons}/indeterminate.vue.d.ts +0 -0
- /package/components/checkbox/{icons → v3/icons}/unchecked.vue.d.ts +0 -0
- /package/components/checkbox/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/checkbox/{index.js → v3/index.js} +0 -0
- /package/components/{filtersPanel/FilterSearchInput.vue.d.ts → checkbox/v4/icons/CheckedDisabledState.vue.d.ts} +0 -0
- /package/components/dropdown/{common → v3}/Label.vue.d.ts +0 -0
- /package/components/dropdown/{common → v3}/Option.vue.d.ts +0 -0
- /package/components/dropdown/{common → v3}/SearchInput.vue.d.ts +0 -0
- /package/components/filtersPanel/{Filter.d.ts → v3/Filter.d.ts} +0 -0
- /package/components/filtersPanel/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/filtersPanel/{index.js → v3/index.js} +0 -0
- /package/components/filtersPanel/{useHiddenFilter.d.ts → v3/useHiddenFilter.d.ts} +0 -0
- /package/components/filtersPanel/{useHiddenFilter.js → v3/useHiddenFilter.js} +0 -0
- /package/components/radioButton/{useRadio.d.ts → common/useRadio.d.ts} +0 -0
- /package/components/radioButton/{useRadio.js → common/useRadio.js} +0 -0
- /package/components/radioButton/{RadioButton.vue.d.ts → v3/RadioButton.vue.d.ts} +0 -0
- /package/components/radioButton/{RadioGroup.vue.d.ts → v3/RadioGroup.vue.d.ts} +0 -0
- /package/components/radioButton/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/radioButton/{index.js → v3/index.js} +0 -0
- /package/components/snackbar/{notify.d.ts → common/notify_old.d.ts} +0 -0
- /package/components/snackbar/{snackbar.types.d.ts → common/snackbar.types.d.ts} +0 -0
- /package/components/snackbar/{snackbar.types.js → common/snackbar.types.js} +0 -0
- /package/components/snackbar/{Snackbar.vue.d.ts → v3/Snackbar.vue.d.ts} +0 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { default as RadioButton } from './RadioButtonV4.vue';
|
|
2
|
+
import { default as RadioGroup } from './RadioGroupV4.vue';
|
|
3
|
+
declare const RadioButtonTypes: () => (({
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
name: string;
|
|
9
|
+
label: string;
|
|
10
|
+
testId: string;
|
|
11
|
+
modelValue: string;
|
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
value: {
|
|
14
|
+
type: import("vue").PropType<unknown>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
name: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
testId: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
onChange?: (...args: any[]) => any;
|
|
36
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
37
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "label" | "testId" | "modelValue">;
|
|
38
|
+
$attrs: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
$refs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
[name: string]: import("vue").Slot;
|
|
46
|
+
}>;
|
|
47
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
48
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
49
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
|
|
50
|
+
$el: any;
|
|
51
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
value: {
|
|
53
|
+
type: import("vue").PropType<unknown>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
name: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
label: {
|
|
61
|
+
type: import("vue").PropType<string>;
|
|
62
|
+
required: true;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
testId: {
|
|
66
|
+
type: import("vue").PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
modelValue: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
}>> & {
|
|
74
|
+
onChange?: (...args: any[]) => any;
|
|
75
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
76
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
"update:modelValue": (...args: any[]) => void;
|
|
78
|
+
change: (...args: any[]) => void;
|
|
79
|
+
}, string, {
|
|
80
|
+
name: string;
|
|
81
|
+
label: string;
|
|
82
|
+
testId: string;
|
|
83
|
+
modelValue: string;
|
|
84
|
+
}, {}, string> & {
|
|
85
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
86
|
+
created?: (() => void) | (() => void)[];
|
|
87
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
88
|
+
mounted?: (() => void) | (() => void)[];
|
|
89
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
90
|
+
updated?: (() => void) | (() => void)[];
|
|
91
|
+
activated?: (() => void) | (() => void)[];
|
|
92
|
+
deactivated?: (() => void) | (() => void)[];
|
|
93
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
94
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
95
|
+
destroyed?: (() => void) | (() => void)[];
|
|
96
|
+
unmounted?: (() => void) | (() => void)[];
|
|
97
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
98
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
99
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
100
|
+
};
|
|
101
|
+
$forceUpdate: () => void;
|
|
102
|
+
$nextTick: typeof import("vue").nextTick;
|
|
103
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
104
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
value: {
|
|
106
|
+
type: import("vue").PropType<unknown>;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
name: {
|
|
110
|
+
type: import("vue").PropType<string>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
label: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
required: true;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
testId: {
|
|
119
|
+
type: import("vue").PropType<string>;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
modelValue: {
|
|
123
|
+
type: import("vue").PropType<string>;
|
|
124
|
+
default: any;
|
|
125
|
+
};
|
|
126
|
+
}>> & {
|
|
127
|
+
onChange?: (...args: any[]) => any;
|
|
128
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
129
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
130
|
+
__isFragment?: never;
|
|
131
|
+
__isTeleport?: never;
|
|
132
|
+
__isSuspense?: never;
|
|
133
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
value: {
|
|
135
|
+
type: import("vue").PropType<unknown>;
|
|
136
|
+
required: true;
|
|
137
|
+
};
|
|
138
|
+
name: {
|
|
139
|
+
type: import("vue").PropType<string>;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
label: {
|
|
143
|
+
type: import("vue").PropType<string>;
|
|
144
|
+
required: true;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
testId: {
|
|
148
|
+
type: import("vue").PropType<string>;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: import("vue").PropType<string>;
|
|
153
|
+
default: any;
|
|
154
|
+
};
|
|
155
|
+
}>> & {
|
|
156
|
+
onChange?: (...args: any[]) => any;
|
|
157
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
158
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
159
|
+
"update:modelValue": (...args: any[]) => void;
|
|
160
|
+
change: (...args: any[]) => void;
|
|
161
|
+
}, string, {
|
|
162
|
+
name: string;
|
|
163
|
+
label: string;
|
|
164
|
+
testId: string;
|
|
165
|
+
modelValue: string;
|
|
166
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
167
|
+
$slots: {
|
|
168
|
+
default?(_: {}): any;
|
|
169
|
+
};
|
|
170
|
+
})) | ({
|
|
171
|
+
new (...args: any[]): {
|
|
172
|
+
$: import("vue").ComponentInternalInstance;
|
|
173
|
+
$data: {};
|
|
174
|
+
$props: Partial<{
|
|
175
|
+
name: string;
|
|
176
|
+
testId: string;
|
|
177
|
+
disabled: boolean;
|
|
178
|
+
row: boolean;
|
|
179
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
180
|
+
name: {
|
|
181
|
+
type: import("vue").PropType<string>;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
testId: {
|
|
185
|
+
type: import("vue").PropType<string>;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
disabled: {
|
|
189
|
+
type: import("vue").PropType<boolean>;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
modelValue: {
|
|
193
|
+
type: import("vue").PropType<string>;
|
|
194
|
+
required: true;
|
|
195
|
+
};
|
|
196
|
+
row: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
}>> & {
|
|
201
|
+
onChange?: (...args: any[]) => any;
|
|
202
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
203
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "testId" | "disabled" | "row">;
|
|
204
|
+
$attrs: {
|
|
205
|
+
[x: string]: unknown;
|
|
206
|
+
};
|
|
207
|
+
$refs: {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
};
|
|
210
|
+
$slots: Readonly<{
|
|
211
|
+
[name: string]: import("vue").Slot;
|
|
212
|
+
}>;
|
|
213
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
214
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
215
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
|
|
216
|
+
$el: any;
|
|
217
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
218
|
+
name: {
|
|
219
|
+
type: import("vue").PropType<string>;
|
|
220
|
+
default: string;
|
|
221
|
+
};
|
|
222
|
+
testId: {
|
|
223
|
+
type: import("vue").PropType<string>;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
disabled: {
|
|
227
|
+
type: import("vue").PropType<boolean>;
|
|
228
|
+
default: boolean;
|
|
229
|
+
};
|
|
230
|
+
modelValue: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
required: true;
|
|
233
|
+
};
|
|
234
|
+
row: {
|
|
235
|
+
type: import("vue").PropType<boolean>;
|
|
236
|
+
default: boolean;
|
|
237
|
+
};
|
|
238
|
+
}>> & {
|
|
239
|
+
onChange?: (...args: any[]) => any;
|
|
240
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
241
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
242
|
+
"update:modelValue": (...args: any[]) => void;
|
|
243
|
+
change: (...args: any[]) => void;
|
|
244
|
+
}, string, {
|
|
245
|
+
name: string;
|
|
246
|
+
testId: string;
|
|
247
|
+
disabled: boolean;
|
|
248
|
+
row: boolean;
|
|
249
|
+
}, {}, string> & {
|
|
250
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
251
|
+
created?: (() => void) | (() => void)[];
|
|
252
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
253
|
+
mounted?: (() => void) | (() => void)[];
|
|
254
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
255
|
+
updated?: (() => void) | (() => void)[];
|
|
256
|
+
activated?: (() => void) | (() => void)[];
|
|
257
|
+
deactivated?: (() => void) | (() => void)[];
|
|
258
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
259
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
260
|
+
destroyed?: (() => void) | (() => void)[];
|
|
261
|
+
unmounted?: (() => void) | (() => void)[];
|
|
262
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
263
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
264
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
265
|
+
};
|
|
266
|
+
$forceUpdate: () => void;
|
|
267
|
+
$nextTick: typeof import("vue").nextTick;
|
|
268
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
269
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
270
|
+
name: {
|
|
271
|
+
type: import("vue").PropType<string>;
|
|
272
|
+
default: string;
|
|
273
|
+
};
|
|
274
|
+
testId: {
|
|
275
|
+
type: import("vue").PropType<string>;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
278
|
+
disabled: {
|
|
279
|
+
type: import("vue").PropType<boolean>;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
modelValue: {
|
|
283
|
+
type: import("vue").PropType<string>;
|
|
284
|
+
required: true;
|
|
285
|
+
};
|
|
286
|
+
row: {
|
|
287
|
+
type: import("vue").PropType<boolean>;
|
|
288
|
+
default: boolean;
|
|
289
|
+
};
|
|
290
|
+
}>> & {
|
|
291
|
+
onChange?: (...args: any[]) => any;
|
|
292
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
293
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
294
|
+
__isFragment?: never;
|
|
295
|
+
__isTeleport?: never;
|
|
296
|
+
__isSuspense?: never;
|
|
297
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
298
|
+
name: {
|
|
299
|
+
type: import("vue").PropType<string>;
|
|
300
|
+
default: string;
|
|
301
|
+
};
|
|
302
|
+
testId: {
|
|
303
|
+
type: import("vue").PropType<string>;
|
|
304
|
+
default: string;
|
|
305
|
+
};
|
|
306
|
+
disabled: {
|
|
307
|
+
type: import("vue").PropType<boolean>;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
modelValue: {
|
|
311
|
+
type: import("vue").PropType<string>;
|
|
312
|
+
required: true;
|
|
313
|
+
};
|
|
314
|
+
row: {
|
|
315
|
+
type: import("vue").PropType<boolean>;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
318
|
+
}>> & {
|
|
319
|
+
onChange?: (...args: any[]) => any;
|
|
320
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
321
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
322
|
+
"update:modelValue": (...args: any[]) => void;
|
|
323
|
+
change: (...args: any[]) => void;
|
|
324
|
+
}, string, {
|
|
325
|
+
name: string;
|
|
326
|
+
testId: string;
|
|
327
|
+
disabled: boolean;
|
|
328
|
+
row: boolean;
|
|
329
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
330
|
+
$slots: {
|
|
331
|
+
default?(_: {}): any;
|
|
332
|
+
};
|
|
333
|
+
})))[];
|
|
334
|
+
export { RadioButton, RadioGroup, RadioButtonTypes };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { isVNode as x, createVNode as N, render as v } from "vue";
|
|
2
|
+
import { snackbarTypes as C } from "./snackbar.types.js";
|
|
3
|
+
const p = {
|
|
4
|
+
"top-left": [],
|
|
5
|
+
"top-right": [],
|
|
6
|
+
"bottom-left": [],
|
|
7
|
+
"bottom-right": []
|
|
8
|
+
}, g = 16;
|
|
9
|
+
let A = 1;
|
|
10
|
+
const E = 2e3, H = (h) => {
|
|
11
|
+
const i = function(e = {}, t = null) {
|
|
12
|
+
(typeof e == "string" || x(e)) && (e = { message: e });
|
|
13
|
+
const o = e.position || "top-right";
|
|
14
|
+
let n = e.zIndex || E, s = p[o].reduce(
|
|
15
|
+
(m, { vm: b }) => m + (b.el?.offsetHeight || 0) + g,
|
|
16
|
+
e.offset || 0
|
|
17
|
+
);
|
|
18
|
+
s += g;
|
|
19
|
+
const l = () => n++, d = `notification_${A++}`, u = e.onClose, f = {
|
|
20
|
+
...e,
|
|
21
|
+
zIndex: l(),
|
|
22
|
+
offset: s,
|
|
23
|
+
id: d,
|
|
24
|
+
onClose: () => {
|
|
25
|
+
y(d, o, u);
|
|
26
|
+
}
|
|
27
|
+
}, c = document.body, a = document.createElement("div"), r = N(
|
|
28
|
+
h,
|
|
29
|
+
f,
|
|
30
|
+
x(f.message) ? {
|
|
31
|
+
default: () => f.message
|
|
32
|
+
} : null
|
|
33
|
+
);
|
|
34
|
+
return r.appContext = t ?? i._context, r.props.onDestroy = () => {
|
|
35
|
+
v(null, a);
|
|
36
|
+
}, v(r, a), p[o].push({ vm: r }), c.appendChild(a?.firstElementChild), {
|
|
37
|
+
// instead of calling the onClose function directly, setting this value so that we can have the full lifecycle
|
|
38
|
+
// for out component, so that all closing steps will not be skipped.
|
|
39
|
+
close: () => {
|
|
40
|
+
const m = r.component?.proxy;
|
|
41
|
+
m && (m.visible = !1);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
function y(e, t, o) {
|
|
46
|
+
const n = p[t], s = n.findIndex(
|
|
47
|
+
({ vm: c }) => c.component?.props.id === e
|
|
48
|
+
);
|
|
49
|
+
if (s === -1)
|
|
50
|
+
return;
|
|
51
|
+
const { vm: l } = n[s];
|
|
52
|
+
if (!l)
|
|
53
|
+
return;
|
|
54
|
+
o?.(l);
|
|
55
|
+
const d = l.el?.offsetHeight, u = t.split("-")[0];
|
|
56
|
+
n.splice(s, 1);
|
|
57
|
+
const f = n.length;
|
|
58
|
+
for (let c = s; c < f; c++) {
|
|
59
|
+
const { el: a, component: r } = n[c].vm;
|
|
60
|
+
r.props.offset = Number.parseInt(a.style[u], 10) - d - g;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
C.forEach((e) => {
|
|
64
|
+
i[e] = (t = {}) => ((typeof t == "string" || x(t)) && (t = {
|
|
65
|
+
message: t
|
|
66
|
+
}), i({
|
|
67
|
+
...t,
|
|
68
|
+
type: e
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
function I() {
|
|
72
|
+
for (const e of Object.values(p))
|
|
73
|
+
e.forEach(({ vm: t }) => {
|
|
74
|
+
const o = t.component?.proxy;
|
|
75
|
+
o && (o.visible = !1);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return i.closeAll = I, i._context = null, i;
|
|
79
|
+
};
|
|
80
|
+
export {
|
|
81
|
+
H as default
|
|
82
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
export declare const snackbarCommon: (props: any) => {
|
|
3
|
+
visible: import("vue").Ref<boolean>;
|
|
4
|
+
horizontalClass: import("vue").ComputedRef<"right" | "left">;
|
|
5
|
+
positionStyle: import("vue").ComputedRef<CSSProperties>;
|
|
6
|
+
clearTimer: () => void;
|
|
7
|
+
startTimer: () => void;
|
|
8
|
+
iconComponent: import("vue").ComputedRef<any>;
|
|
9
|
+
typeClass: import("vue").ComputedRef<any>;
|
|
10
|
+
close: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ref as v, computed as n, onMounted as p } from "vue";
|
|
2
|
+
import { useEventListener as C, useTimeoutFn as h } from "@vueuse/core";
|
|
3
|
+
import k from "../../icon/v3/icons/Close.vue.js";
|
|
4
|
+
import x from "../../icon/v3/icons/Check.vue.js";
|
|
5
|
+
const w = (t) => {
|
|
6
|
+
const r = {
|
|
7
|
+
success: x,
|
|
8
|
+
error: k
|
|
9
|
+
}, o = v(!1);
|
|
10
|
+
let c;
|
|
11
|
+
const a = n(() => {
|
|
12
|
+
const e = t.type;
|
|
13
|
+
return e && r[t.type] ? e : "";
|
|
14
|
+
}), l = n(() => r[t.type] || t.icon || ""), f = n(
|
|
15
|
+
() => t.position.endsWith("right") ? "right" : "left"
|
|
16
|
+
), m = n(
|
|
17
|
+
() => t.position.startsWith("top") ? "top" : "bottom"
|
|
18
|
+
), y = n(() => ({
|
|
19
|
+
[m.value]: `${t.offset}px`,
|
|
20
|
+
zIndex: t.zIndex
|
|
21
|
+
}));
|
|
22
|
+
function i() {
|
|
23
|
+
t.duration > 0 && ({ stop: c } = h(() => {
|
|
24
|
+
o.value && s();
|
|
25
|
+
}, t.duration));
|
|
26
|
+
}
|
|
27
|
+
function u() {
|
|
28
|
+
c?.();
|
|
29
|
+
}
|
|
30
|
+
function s() {
|
|
31
|
+
o.value = !1;
|
|
32
|
+
}
|
|
33
|
+
function d({ code: e }) {
|
|
34
|
+
e === "Delete" || e === "Backspace" ? u() : e === "Escape" ? o.value && s() : i();
|
|
35
|
+
}
|
|
36
|
+
return p(() => {
|
|
37
|
+
i(), o.value = !0;
|
|
38
|
+
}), C(document, "keydown", d), {
|
|
39
|
+
visible: o,
|
|
40
|
+
horizontalClass: f,
|
|
41
|
+
positionStyle: y,
|
|
42
|
+
clearTimer: u,
|
|
43
|
+
startTimer: i,
|
|
44
|
+
iconComponent: l,
|
|
45
|
+
typeClass: a,
|
|
46
|
+
close: s
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
w as snackbarCommon
|
|
51
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Snackbar.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-cec4f8e5"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import "../../../Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css"; import { defineComponent as w, openBlock as n, createBlock as s, Transition as x, withCtx as i, withDirectives as k, createElementVNode as a, normalizeClass as y, unref as e, normalizeStyle as v, createElementBlock as g, createVNode as r, resolveDynamicComponent as H, createCommentVNode as m, renderSlot as N, createTextVNode as V, toDisplayString as p, vShow as z, withModifiers as D } from "vue";
|
|
2
|
+
import T from "../../icon/v3/Icon.vue.js";
|
|
3
|
+
import I from "../../icon/v3/icons/Close.vue.js";
|
|
4
|
+
import "../../button/v3/Button.vue.js";
|
|
5
|
+
import $ from "../../button/v3/IconButton.vue.js";
|
|
6
|
+
import "../../button/v3/ScrollButton.vue.js";
|
|
7
|
+
import B from "../../typography/Text.vue.js";
|
|
8
|
+
import { snackbarCommon as E } from "../common/snackbar.common.js";
|
|
9
|
+
const U = ["id"], A = { class: "container" }, j = { class: "texts" }, q = ["innerHTML"], W = /* @__PURE__ */ w({
|
|
10
|
+
__name: "Snackbar",
|
|
11
|
+
props: {
|
|
12
|
+
customClass: null,
|
|
13
|
+
dangerouslyUseHTMLString: { type: Boolean },
|
|
14
|
+
duration: { default: 3e3 },
|
|
15
|
+
icon: null,
|
|
16
|
+
id: null,
|
|
17
|
+
message: null,
|
|
18
|
+
offset: null,
|
|
19
|
+
onClick: null,
|
|
20
|
+
onClose: null,
|
|
21
|
+
type: { default: null },
|
|
22
|
+
position: { default: "top-right" },
|
|
23
|
+
showClose: { type: Boolean, default: !0 },
|
|
24
|
+
title: { default: "" },
|
|
25
|
+
zIndex: { default: 0 }
|
|
26
|
+
},
|
|
27
|
+
emits: ["destroy"],
|
|
28
|
+
setup(t) {
|
|
29
|
+
const S = t, {
|
|
30
|
+
visible: b,
|
|
31
|
+
horizontalClass: h,
|
|
32
|
+
positionStyle: L,
|
|
33
|
+
clearTimer: d,
|
|
34
|
+
startTimer: u,
|
|
35
|
+
iconComponent: c,
|
|
36
|
+
typeClass: f,
|
|
37
|
+
close: M
|
|
38
|
+
} = E(S);
|
|
39
|
+
return (C, o) => (n(), s(x, {
|
|
40
|
+
name: "snackbar",
|
|
41
|
+
onBeforeLeave: t.onClose,
|
|
42
|
+
onAfterLeave: o[3] || (o[3] = (l) => C.$emit("destroy"))
|
|
43
|
+
}, {
|
|
44
|
+
default: i(() => [
|
|
45
|
+
k(a("div", {
|
|
46
|
+
id: t.id,
|
|
47
|
+
class: y(["snackbar", [t.customClass, e(h)]]),
|
|
48
|
+
style: v(e(L)),
|
|
49
|
+
role: "alert",
|
|
50
|
+
onMouseenter: o[0] || (o[0] = //@ts-ignore
|
|
51
|
+
(...l) => e(d) && e(d)(...l)),
|
|
52
|
+
onMouseleave: o[1] || (o[1] = //@ts-ignore
|
|
53
|
+
(...l) => e(u) && e(u)(...l)),
|
|
54
|
+
onClick: o[2] || (o[2] = //@ts-ignore
|
|
55
|
+
(...l) => t.onClick && t.onClick(...l))
|
|
56
|
+
}, [
|
|
57
|
+
e(c) ? (n(), g("div", {
|
|
58
|
+
key: 0,
|
|
59
|
+
class: y(["start-icon-container", [e(f)]])
|
|
60
|
+
}, [
|
|
61
|
+
r(e(T), {
|
|
62
|
+
"font-size": e(f) ? "sm" : "lg"
|
|
63
|
+
}, {
|
|
64
|
+
default: i(() => [
|
|
65
|
+
(n(), s(H(e(c))))
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["font-size"])
|
|
69
|
+
], 2)) : m("", !0),
|
|
70
|
+
a("div", A, [
|
|
71
|
+
a("div", j, [
|
|
72
|
+
t.title ? (n(), s(B, {
|
|
73
|
+
key: 0,
|
|
74
|
+
size: "md",
|
|
75
|
+
strong: "",
|
|
76
|
+
class: "title"
|
|
77
|
+
})) : m("", !0),
|
|
78
|
+
k(a("div", {
|
|
79
|
+
class: "message",
|
|
80
|
+
style: v(t.title ? void 0 : { margin: 0 })
|
|
81
|
+
}, [
|
|
82
|
+
N(C.$slots, "default", {}, () => [
|
|
83
|
+
t.dangerouslyUseHTMLString ? (n(), g("div", {
|
|
84
|
+
key: 1,
|
|
85
|
+
innerHTML: t.message
|
|
86
|
+
}, null, 8, q)) : (n(), s(B, {
|
|
87
|
+
key: 0,
|
|
88
|
+
size: "sm"
|
|
89
|
+
}, {
|
|
90
|
+
default: i(() => [
|
|
91
|
+
V(p(t.message), 1)
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}))
|
|
95
|
+
], !0)
|
|
96
|
+
], 4), [
|
|
97
|
+
[z, t.message]
|
|
98
|
+
])
|
|
99
|
+
]),
|
|
100
|
+
t.showClose ? (n(), s(e($), {
|
|
101
|
+
key: 0,
|
|
102
|
+
theme: "third",
|
|
103
|
+
size: "sm",
|
|
104
|
+
class: "snackbar-close-button",
|
|
105
|
+
variant: "colorized",
|
|
106
|
+
onClick: D(e(M), ["stop"])
|
|
107
|
+
}, {
|
|
108
|
+
default: i(() => [
|
|
109
|
+
r(e(T), null, {
|
|
110
|
+
default: i(() => [
|
|
111
|
+
r(I)
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
})
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["onClick"])) : m("", !0)
|
|
118
|
+
])
|
|
119
|
+
], 46, U), [
|
|
120
|
+
[z, e(b)]
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 3
|
|
124
|
+
}, 8, ["onBeforeLeave"]));
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
export {
|
|
128
|
+
W as default
|
|
129
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import r from "./Snackbar.vue.js";
|
|
2
|
+
import a from "../common/notify.js";
|
|
3
|
+
import { snackbarEmits as m, snackbarTypes as n } from "../common/snackbar.types.js";
|
|
4
|
+
const c = a(r);
|
|
5
|
+
export {
|
|
6
|
+
c as Snackbar,
|
|
7
|
+
c as default,
|
|
8
|
+
m as snackbarEmits,
|
|
9
|
+
n as snackbarTypes
|
|
10
|
+
};
|