@layers.digital/layers-design-system-vue3 1.0.2 → 1.0.4
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/dist/components/LSwitch/LSwitch.vue.d.ts +357 -0
- package/dist/index.d.ts +1 -1
- package/dist/layers-design-system-vue3.cjs +1 -1
- package/dist/layers-design-system-vue3.js +14 -15
- package/dist/layers-design-system-vue310.cjs +1 -1
- package/dist/layers-design-system-vue310.js +44 -2
- package/dist/layers-design-system-vue311.cjs +1 -1
- package/dist/layers-design-system-vue311.js +2 -44
- package/dist/layers-design-system-vue312.cjs +1 -1
- package/dist/layers-design-system-vue312.js +7 -2
- package/dist/layers-design-system-vue313.cjs +1 -1
- package/dist/layers-design-system-vue313.js +40 -7
- package/dist/layers-design-system-vue314.cjs +1 -1
- package/dist/layers-design-system-vue314.js +2 -40
- package/dist/layers-design-system-vue315.cjs +1 -1
- package/dist/layers-design-system-vue315.js +46 -2
- package/dist/layers-design-system-vue316.cjs +1 -1
- package/dist/layers-design-system-vue316.js +2 -46
- package/dist/layers-design-system-vue317.cjs +1 -1
- package/dist/layers-design-system-vue317.js +2 -2
- package/dist/layers-design-system-vue318.cjs +1 -1
- package/dist/layers-design-system-vue318.js +1 -1
- package/dist/layers-design-system-vue319.cjs +1 -1
- package/dist/layers-design-system-vue319.js +24 -2
- package/dist/layers-design-system-vue32.cjs +1 -1
- package/dist/layers-design-system-vue32.js +3 -3
- package/dist/layers-design-system-vue320.cjs +1 -1
- package/dist/layers-design-system-vue320.js +2 -24
- package/dist/layers-design-system-vue321.cjs +1 -1
- package/dist/layers-design-system-vue321.js +2 -2
- package/dist/layers-design-system-vue322.cjs +1 -1
- package/dist/layers-design-system-vue322.js +25 -2
- package/dist/layers-design-system-vue323.cjs +1 -1
- package/dist/layers-design-system-vue323.js +2 -3
- package/dist/layers-design-system-vue326.cjs +3 -3
- package/dist/layers-design-system-vue326.js +98 -99
- package/dist/layers-design-system-vue327.cjs +1 -1
- package/dist/layers-design-system-vue327.js +209 -793
- package/dist/layers-design-system-vue328.cjs +12 -1
- package/dist/layers-design-system-vue328.js +1091 -2015
- package/dist/layers-design-system-vue329.cjs +13 -9
- package/dist/layers-design-system-vue329.js +1971 -526
- package/dist/layers-design-system-vue33.cjs +1 -1
- package/dist/layers-design-system-vue33.js +3 -3
- package/dist/layers-design-system-vue330.cjs +1 -12
- package/dist/layers-design-system-vue330.js +8 -1172
- package/dist/layers-design-system-vue331.cjs +1 -5
- package/dist/layers-design-system-vue331.js +1706 -979
- package/dist/layers-design-system-vue332.cjs +1 -13
- package/dist/layers-design-system-vue332.js +1994 -1878
- package/dist/layers-design-system-vue333.cjs +9 -1
- package/dist/layers-design-system-vue333.js +536 -2
- package/dist/layers-design-system-vue334.cjs +5 -1
- package/dist/layers-design-system-vue334.js +1010 -2
- package/dist/layers-design-system-vue335.cjs +1 -1
- package/dist/layers-design-system-vue335.js +2 -2
- package/dist/layers-design-system-vue338.cjs +1 -1
- package/dist/layers-design-system-vue338.js +2 -9
- package/dist/layers-design-system-vue339.cjs +1 -1
- package/dist/layers-design-system-vue339.js +2 -1737
- package/dist/layers-design-system-vue34.cjs +1 -1
- package/dist/layers-design-system-vue34.js +3 -3
- package/dist/layers-design-system-vue340.cjs +1 -1
- package/dist/layers-design-system-vue340.js +2 -2
- package/dist/layers-design-system-vue341.cjs +1 -1
- package/dist/layers-design-system-vue341.js +2 -2
- package/dist/layers-design-system-vue342.cjs +1 -1
- package/dist/layers-design-system-vue342.js +824 -2
- package/dist/layers-design-system-vue343.js +2 -2
- package/dist/layers-design-system-vue344.cjs +1 -1
- package/dist/layers-design-system-vue344.js +2 -2
- package/dist/layers-design-system-vue345.cjs +1 -1
- package/dist/layers-design-system-vue345.js +2 -113
- package/dist/layers-design-system-vue346.cjs +1 -1
- package/dist/layers-design-system-vue346.js +113 -2
- package/dist/layers-design-system-vue347.cjs +1 -1
- package/dist/layers-design-system-vue347.js +2 -240
- package/dist/layers-design-system-vue348.cjs +1 -1
- package/dist/layers-design-system-vue348.js +2 -2
- package/dist/layers-design-system-vue35.cjs +1 -1
- package/dist/layers-design-system-vue35.js +9 -9
- package/dist/layers-design-system-vue350.cjs +1 -0
- package/dist/layers-design-system-vue350.js +4 -0
- package/dist/layers-design-system-vue36.cjs +1 -1
- package/dist/layers-design-system-vue36.js +8 -8
- package/dist/layers-design-system-vue37.cjs +1 -1
- package/dist/layers-design-system-vue37.js +3 -3
- package/dist/layers-design-system-vue38.cjs +1 -1
- package/dist/layers-design-system-vue38.js +2 -2
- package/dist/layers-design-system-vue39.cjs +1 -1
- package/dist/layers-design-system-vue39.js +5 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/LLinearProgress/LLinearProgress.vue.d.ts +0 -29
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
loading: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
props: any;
|
|
24
|
+
readonly ElSwitch: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
25
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
26
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
27
|
+
readonly loading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
28
|
+
readonly size: {
|
|
29
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
30
|
+
readonly required: false;
|
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
|
+
__epPropKey: true;
|
|
33
|
+
};
|
|
34
|
+
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
35
|
+
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
36
|
+
readonly inactiveActionIcon: {
|
|
37
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
38
|
+
readonly required: false;
|
|
39
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
|
+
__epPropKey: true;
|
|
41
|
+
};
|
|
42
|
+
readonly activeActionIcon: {
|
|
43
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
44
|
+
readonly required: false;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
+
__epPropKey: true;
|
|
47
|
+
};
|
|
48
|
+
readonly activeIcon: {
|
|
49
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
54
|
+
readonly inactiveIcon: {
|
|
55
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
};
|
|
60
|
+
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
61
|
+
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
62
|
+
readonly activeValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, true, boolean>;
|
|
63
|
+
readonly inactiveValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
64
|
+
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
65
|
+
readonly inactiveColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
|
+
readonly borderColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
67
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
68
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
|
+
readonly beforeChange: {
|
|
70
|
+
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
71
|
+
readonly required: false;
|
|
72
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
|
+
__epPropKey: true;
|
|
74
|
+
};
|
|
75
|
+
readonly id: StringConstructor;
|
|
76
|
+
readonly tabindex: {
|
|
77
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
78
|
+
readonly required: false;
|
|
79
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
+
__epPropKey: true;
|
|
81
|
+
};
|
|
82
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
83
|
+
}, {
|
|
84
|
+
COMPONENT_NAME: string;
|
|
85
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
86
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
87
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
88
|
+
readonly loading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
89
|
+
readonly size: {
|
|
90
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
96
|
+
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
97
|
+
readonly inactiveActionIcon: {
|
|
98
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
};
|
|
103
|
+
readonly activeActionIcon: {
|
|
104
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
105
|
+
readonly required: false;
|
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
__epPropKey: true;
|
|
108
|
+
};
|
|
109
|
+
readonly activeIcon: {
|
|
110
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
111
|
+
readonly required: false;
|
|
112
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
+
__epPropKey: true;
|
|
114
|
+
};
|
|
115
|
+
readonly inactiveIcon: {
|
|
116
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
};
|
|
121
|
+
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
122
|
+
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
123
|
+
readonly activeValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, true, boolean>;
|
|
124
|
+
readonly inactiveValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
125
|
+
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
126
|
+
readonly inactiveColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
127
|
+
readonly borderColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
128
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
129
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
130
|
+
readonly beforeChange: {
|
|
131
|
+
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
132
|
+
readonly required: false;
|
|
133
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
134
|
+
__epPropKey: true;
|
|
135
|
+
};
|
|
136
|
+
readonly id: StringConstructor;
|
|
137
|
+
readonly tabindex: {
|
|
138
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
139
|
+
readonly required: false;
|
|
140
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
|
+
__epPropKey: true;
|
|
142
|
+
};
|
|
143
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
144
|
+
}>> & {
|
|
145
|
+
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
146
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
147
|
+
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
148
|
+
}>>;
|
|
149
|
+
emit: ((event: "update:modelValue", val: string | number | boolean) => void) & ((event: "change", val: string | number | boolean) => void) & ((event: "input", val: string | number | boolean) => void);
|
|
150
|
+
vm: import("vue").ComponentInternalInstance;
|
|
151
|
+
formItem: import("element-plus").FormItemContext | undefined;
|
|
152
|
+
switchSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
153
|
+
ns: {
|
|
154
|
+
namespace: import("vue").ComputedRef<string>;
|
|
155
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
156
|
+
e: (element?: string | undefined) => string;
|
|
157
|
+
m: (modifier?: string | undefined) => string;
|
|
158
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
159
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
160
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
161
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
162
|
+
is: {
|
|
163
|
+
(name: string, state: boolean | undefined): string;
|
|
164
|
+
(name: string): string;
|
|
165
|
+
};
|
|
166
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
167
|
+
cssVarName: (name: string) => string;
|
|
168
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
169
|
+
cssVarBlockName: (name: string) => string;
|
|
170
|
+
};
|
|
171
|
+
useBatchDeprecated: (list: string[][]) => void;
|
|
172
|
+
inputId: import("vue").Ref<string | undefined>;
|
|
173
|
+
switchDisabled: import("vue").ComputedRef<boolean>;
|
|
174
|
+
isControlled: import("vue").Ref<boolean>;
|
|
175
|
+
input: import("vue").Ref<HTMLInputElement | undefined>;
|
|
176
|
+
core: import("vue").Ref<HTMLSpanElement | undefined>;
|
|
177
|
+
switchKls: import("vue").ComputedRef<string[]>;
|
|
178
|
+
labelLeftKls: import("vue").ComputedRef<string[]>;
|
|
179
|
+
labelRightKls: import("vue").ComputedRef<string[]>;
|
|
180
|
+
coreStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
181
|
+
actualValue: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
182
|
+
checked: import("vue").ComputedRef<boolean>;
|
|
183
|
+
handleChange: () => void;
|
|
184
|
+
switchValue: () => void;
|
|
185
|
+
styles: import("vue").ComputedRef<Record<string, string>>;
|
|
186
|
+
focus: () => void;
|
|
187
|
+
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
188
|
+
readonly size: {
|
|
189
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
190
|
+
readonly required: false;
|
|
191
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
192
|
+
__epPropKey: true;
|
|
193
|
+
};
|
|
194
|
+
readonly color: {
|
|
195
|
+
readonly type: import("vue").PropType<string>;
|
|
196
|
+
readonly required: false;
|
|
197
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
|
+
__epPropKey: true;
|
|
199
|
+
};
|
|
200
|
+
}, {
|
|
201
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
202
|
+
readonly size: {
|
|
203
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
|
+
__epPropKey: true;
|
|
207
|
+
};
|
|
208
|
+
readonly color: {
|
|
209
|
+
readonly type: import("vue").PropType<string>;
|
|
210
|
+
readonly required: false;
|
|
211
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
|
+
__epPropKey: true;
|
|
213
|
+
};
|
|
214
|
+
}>> & {
|
|
215
|
+
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
216
|
+
}>>;
|
|
217
|
+
ns: {
|
|
218
|
+
namespace: import("vue").ComputedRef<string>;
|
|
219
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
220
|
+
e: (element?: string | undefined) => string;
|
|
221
|
+
m: (modifier?: string | undefined) => string;
|
|
222
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
223
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
224
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
225
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
226
|
+
is: {
|
|
227
|
+
(name: string, state: boolean | undefined): string;
|
|
228
|
+
(name: string): string;
|
|
229
|
+
};
|
|
230
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
231
|
+
cssVarName: (name: string) => string;
|
|
232
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
233
|
+
cssVarBlockName: (name: string) => string;
|
|
234
|
+
};
|
|
235
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
236
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
237
|
+
readonly size: {
|
|
238
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
239
|
+
readonly required: false;
|
|
240
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
241
|
+
__epPropKey: true;
|
|
242
|
+
};
|
|
243
|
+
readonly color: {
|
|
244
|
+
readonly type: import("vue").PropType<string>;
|
|
245
|
+
readonly required: false;
|
|
246
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
247
|
+
__epPropKey: true;
|
|
248
|
+
};
|
|
249
|
+
}>>, {}, {}>> & Record<string, any>;
|
|
250
|
+
Loading: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
251
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
252
|
+
"update:modelValue": (val: string | number | boolean) => boolean;
|
|
253
|
+
change: (val: string | number | boolean) => boolean;
|
|
254
|
+
input: (val: string | number | boolean) => boolean;
|
|
255
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
256
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
257
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
258
|
+
readonly loading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
259
|
+
readonly size: {
|
|
260
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => "" | "default" | "small" | "large") | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
261
|
+
readonly required: false;
|
|
262
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
263
|
+
__epPropKey: true;
|
|
264
|
+
};
|
|
265
|
+
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
266
|
+
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
267
|
+
readonly inactiveActionIcon: {
|
|
268
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
269
|
+
readonly required: false;
|
|
270
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
271
|
+
__epPropKey: true;
|
|
272
|
+
};
|
|
273
|
+
readonly activeActionIcon: {
|
|
274
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
275
|
+
readonly required: false;
|
|
276
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
277
|
+
__epPropKey: true;
|
|
278
|
+
};
|
|
279
|
+
readonly activeIcon: {
|
|
280
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
281
|
+
readonly required: false;
|
|
282
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
283
|
+
__epPropKey: true;
|
|
284
|
+
};
|
|
285
|
+
readonly inactiveIcon: {
|
|
286
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
287
|
+
readonly required: false;
|
|
288
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
289
|
+
__epPropKey: true;
|
|
290
|
+
};
|
|
291
|
+
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
292
|
+
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
293
|
+
readonly activeValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, true, boolean>;
|
|
294
|
+
readonly inactiveValue: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
295
|
+
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
296
|
+
readonly inactiveColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
297
|
+
readonly borderColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
298
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
299
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
300
|
+
readonly beforeChange: {
|
|
301
|
+
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
302
|
+
readonly required: false;
|
|
303
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
304
|
+
__epPropKey: true;
|
|
305
|
+
};
|
|
306
|
+
readonly id: StringConstructor;
|
|
307
|
+
readonly tabindex: {
|
|
308
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
309
|
+
readonly required: false;
|
|
310
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
+
__epPropKey: true;
|
|
312
|
+
};
|
|
313
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
|
314
|
+
}>> & {
|
|
315
|
+
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
316
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
317
|
+
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
318
|
+
}, {
|
|
319
|
+
readonly width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
320
|
+
readonly value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
321
|
+
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
322
|
+
readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
323
|
+
readonly name: string;
|
|
324
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
325
|
+
readonly borderColor: string;
|
|
326
|
+
readonly loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
327
|
+
readonly inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
328
|
+
readonly activeText: string;
|
|
329
|
+
readonly inactiveText: string;
|
|
330
|
+
readonly activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
331
|
+
readonly inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
332
|
+
readonly activeColor: string;
|
|
333
|
+
readonly inactiveColor: string;
|
|
334
|
+
}, {}>> & Record<string, any>;
|
|
335
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
+
value: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
required: true;
|
|
339
|
+
};
|
|
340
|
+
disabled: {
|
|
341
|
+
type: BooleanConstructor;
|
|
342
|
+
required: true;
|
|
343
|
+
};
|
|
344
|
+
loading: {
|
|
345
|
+
type: BooleanConstructor;
|
|
346
|
+
required: true;
|
|
347
|
+
};
|
|
348
|
+
size: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
required: true;
|
|
351
|
+
};
|
|
352
|
+
width: {
|
|
353
|
+
type: NumberConstructor;
|
|
354
|
+
required: true;
|
|
355
|
+
};
|
|
356
|
+
}>>, {}, {}>;
|
|
357
|
+
export default _sfc_main;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export { default as LSelect } from "./components/LSelect/LSelect.vue";
|
|
|
5
5
|
export { default as LSlider } from "./components/LSlider/LSlider.vue";
|
|
6
6
|
export { default as LAlert } from "./components/LAlert/LAlert.vue";
|
|
7
7
|
export { default as LBreadcrumb } from "./components/LBreadcrumb/LBreadcrumb.vue";
|
|
8
|
-
export { default as
|
|
8
|
+
export { default as LSwitch } from "./components/LSwitch/LSwitch.vue";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers-design-system-vue32.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers-design-system-vue32.cjs"),t=require("./layers-design-system-vue33.cjs"),r=require("./layers-design-system-vue34.cjs"),u=require("./layers-design-system-vue35.cjs"),_=require("./layers-design-system-vue36.cjs"),i=require("./layers-design-system-vue37.cjs"),c=require("./layers-design-system-vue38.cjs"),n=require("./layers-design-system-vue39.cjs");exports.LButton=e;exports.LRadio=t;exports.LInput=r;exports.LSelect=u;exports.LSlider=_;exports.LAlert=i;exports.LBreadcrumb=c;exports.LSwitch=n;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
1
|
+
import { default as r } from "./layers-design-system-vue32.js";
|
|
2
|
+
import { default as o } from "./layers-design-system-vue33.js";
|
|
3
|
+
import { default as d } from "./layers-design-system-vue34.js";
|
|
4
|
+
import { default as u } from "./layers-design-system-vue35.js";
|
|
5
|
+
import { default as p } from "./layers-design-system-vue36.js";
|
|
6
6
|
import { default as x } from "./layers-design-system-vue37.js";
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import "./layers-design-system-vue310.js";
|
|
7
|
+
import { default as c } from "./layers-design-system-vue38.js";
|
|
8
|
+
import { default as S } from "./layers-design-system-vue39.js";
|
|
10
9
|
export {
|
|
11
10
|
x as LAlert,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
c as LBreadcrumb,
|
|
12
|
+
r as LButton,
|
|
13
|
+
d as LInput,
|
|
14
|
+
o as LRadio,
|
|
15
|
+
u as LSelect,
|
|
16
|
+
p as LSlider,
|
|
17
|
+
S as LSwitch
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e="";module.exports=
|
|
1
|
+
"use strict";const t=require("vue");require("./layers-design-system-vue324.cjs");require("./layers-design-system-vue325.cjs");const a=require("./layers-design-system-vue326.cjs"),o=t.defineComponent({__name:"LButton",props:{text:{},color:{default:void 0},size:{default:"default"},disabled:{type:Boolean,default:!1},link:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},type:{default:"primary"},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},nativeType:{default:"button"},plain:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},setup(l){const e=l;return(n,i)=>(t.openBlock(),t.createBlock(t.unref(a.ElButton),{nativeType:e.nativeType,type:e.type,size:e.size,color:e.color,round:e.round,circle:e.circle,plain:e.plain,disabled:e.disabled,link:e.link,loading:e.loading,dark:e.dark,class:"button-class"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.text),1)]),_:1},8,["nativeType","type","size","color","round","circle","plain","disabled","link","loading","dark"]))}});module.exports=o;
|
|
@@ -1,4 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as a, openBlock as l, createBlock as o, unref as n, withCtx as i, createTextVNode as d, toDisplayString as r } from "vue";
|
|
2
|
+
import "./layers-design-system-vue324.js";
|
|
3
|
+
import "./layers-design-system-vue325.js";
|
|
4
|
+
import { ElButton as p } from "./layers-design-system-vue326.js";
|
|
5
|
+
const k = /* @__PURE__ */ a({
|
|
6
|
+
__name: "LButton",
|
|
7
|
+
props: {
|
|
8
|
+
text: {},
|
|
9
|
+
color: { default: void 0 },
|
|
10
|
+
size: { default: "default" },
|
|
11
|
+
disabled: { type: Boolean, default: !1 },
|
|
12
|
+
link: { type: Boolean, default: !1 },
|
|
13
|
+
loading: { type: Boolean, default: !1 },
|
|
14
|
+
type: { default: "primary" },
|
|
15
|
+
round: { type: Boolean, default: !1 },
|
|
16
|
+
circle: { type: Boolean, default: !1 },
|
|
17
|
+
nativeType: { default: "button" },
|
|
18
|
+
plain: { type: Boolean, default: !1 },
|
|
19
|
+
dark: { type: Boolean, default: !1 }
|
|
20
|
+
},
|
|
21
|
+
setup(t) {
|
|
22
|
+
const e = t;
|
|
23
|
+
return (s, f) => (l(), o(n(p), {
|
|
24
|
+
nativeType: e.nativeType,
|
|
25
|
+
type: e.type,
|
|
26
|
+
size: e.size,
|
|
27
|
+
color: e.color,
|
|
28
|
+
round: e.round,
|
|
29
|
+
circle: e.circle,
|
|
30
|
+
plain: e.plain,
|
|
31
|
+
disabled: e.disabled,
|
|
32
|
+
link: e.link,
|
|
33
|
+
loading: e.loading,
|
|
34
|
+
dark: e.dark,
|
|
35
|
+
class: "button-class"
|
|
36
|
+
}, {
|
|
37
|
+
default: i(() => [
|
|
38
|
+
d(r(e.text), 1)
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 8, ["nativeType", "type", "size", "color", "round", "circle", "plain", "disabled", "link", "loading", "dark"]));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
2
44
|
export {
|
|
3
|
-
|
|
45
|
+
k as default
|
|
4
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const _="";module.exports=_;
|
|
@@ -1,46 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import "./layers-design-system-vue324.js";
|
|
3
|
-
import "./layers-design-system-vue325.js";
|
|
4
|
-
import { ElButton as p } from "./layers-design-system-vue326.js";
|
|
5
|
-
const k = /* @__PURE__ */ a({
|
|
6
|
-
__name: "LButton",
|
|
7
|
-
props: {
|
|
8
|
-
text: {},
|
|
9
|
-
color: { default: void 0 },
|
|
10
|
-
size: { default: "default" },
|
|
11
|
-
disabled: { type: Boolean, default: !1 },
|
|
12
|
-
link: { type: Boolean, default: !1 },
|
|
13
|
-
loading: { type: Boolean, default: !1 },
|
|
14
|
-
type: { default: "primary" },
|
|
15
|
-
round: { type: Boolean, default: !1 },
|
|
16
|
-
circle: { type: Boolean, default: !1 },
|
|
17
|
-
nativeType: { default: "button" },
|
|
18
|
-
plain: { type: Boolean, default: !1 },
|
|
19
|
-
dark: { type: Boolean, default: !1 }
|
|
20
|
-
},
|
|
21
|
-
setup(t) {
|
|
22
|
-
const e = t;
|
|
23
|
-
return (s, f) => (l(), o(n(p), {
|
|
24
|
-
nativeType: e.nativeType,
|
|
25
|
-
type: e.type,
|
|
26
|
-
size: e.size,
|
|
27
|
-
color: e.color,
|
|
28
|
-
round: e.round,
|
|
29
|
-
circle: e.circle,
|
|
30
|
-
plain: e.plain,
|
|
31
|
-
disabled: e.disabled,
|
|
32
|
-
link: e.link,
|
|
33
|
-
loading: e.loading,
|
|
34
|
-
dark: e.dark,
|
|
35
|
-
class: "button-class"
|
|
36
|
-
}, {
|
|
37
|
-
default: i(() => [
|
|
38
|
-
d(r(e.text), 1)
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
}, 8, ["nativeType", "type", "size", "color", "round", "circle", "plain", "disabled", "link", "loading", "dark"]));
|
|
42
|
-
}
|
|
43
|
-
});
|
|
1
|
+
const _ = "";
|
|
44
2
|
export {
|
|
45
|
-
|
|
3
|
+
_ as default
|
|
46
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=(t,r)=>{const o=t.__vccOpts||t;for(const[s,c]of r)o[s]=c;return o};module.exports=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=(
|
|
1
|
+
"use strict";const e=require("vue"),i=require("./layers-design-system-vue327.cjs");require("./layers-design-system-vue328.cjs");require("./layers-design-system-vue329.cjs");const c=require("./layers-design-system-vue330.cjs"),p=e.defineComponent({__name:"LRadio",props:{modelValue:{},options:{},disabled:{type:Boolean},size:{},direction:{}},emits:["update:modelValue"],setup(n,{emit:u}){const t=n,o=c.useVModel(t,u,"modelValue"),s=e.computed(()=>t.size==="medium"?"default":t.size),a=e.computed(()=>t.direction=="vertical"?"vertical-direction":"");return(m,r)=>(e.openBlock(),e.createBlock(e.unref(i.ElRadioGroup),{modelValue:e.unref(o),"onUpdate:modelValue":r[0]||(r[0]=l=>e.isRef(o)?o.value=l:null),class:e.normalizeClass(a.value)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(l,d)=>(e.openBlock(),e.createBlock(e.unref(i.ElRadio),{key:d,label:l.label,disabled:t.disabled,size:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:2},1032,["label","disabled","size"]))),128))]),_:1},8,["modelValue","class"]))}});module.exports=p;
|
|
@@ -1,9 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as f, computed as a, openBlock as o, createBlock as n, unref as i, isRef as V, normalizeClass as b, withCtx as s, createElementBlock as z, Fragment as v, renderList as _, createTextVNode as x, toDisplayString as k } from "vue";
|
|
2
|
+
import { ElRadioGroup as B, ElRadio as R } from "./layers-design-system-vue327.js";
|
|
3
|
+
import "./layers-design-system-vue328.js";
|
|
4
|
+
import "./layers-design-system-vue329.js";
|
|
5
|
+
import { useVModel as y } from "./layers-design-system-vue330.js";
|
|
6
|
+
const w = /* @__PURE__ */ f({
|
|
7
|
+
__name: "LRadio",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
options: {},
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
size: {},
|
|
13
|
+
direction: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(d, { emit: u }) {
|
|
17
|
+
const e = d, l = y(e, u, "modelValue"), m = a(() => e.size === "medium" ? "default" : e.size), p = a(() => e.direction == "vertical" ? "vertical-direction" : "");
|
|
18
|
+
return (C, r) => (o(), n(i(B), {
|
|
19
|
+
modelValue: i(l),
|
|
20
|
+
"onUpdate:modelValue": r[0] || (r[0] = (t) => V(l) ? l.value = t : null),
|
|
21
|
+
class: b(p.value)
|
|
22
|
+
}, {
|
|
23
|
+
default: s(() => [
|
|
24
|
+
(o(!0), z(v, null, _(e.options, (t, c) => (o(), n(i(R), {
|
|
25
|
+
key: c,
|
|
26
|
+
label: t.label,
|
|
27
|
+
disabled: e.disabled,
|
|
28
|
+
size: m.value
|
|
29
|
+
}, {
|
|
30
|
+
default: s(() => [
|
|
31
|
+
x(k(t.text), 1)
|
|
32
|
+
]),
|
|
33
|
+
_: 2
|
|
34
|
+
}, 1032, ["label", "disabled", "size"]))), 128))
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}, 8, ["modelValue", "class"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
7
40
|
export {
|
|
8
|
-
|
|
41
|
+
w as default
|
|
9
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const _="";module.exports=_;
|