duck-vue-components 0.2.0 → 0.2.2
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/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/{controls-B7qU1vjR.cjs → controls-DORSbC6g.cjs} +180 -107
- package/dist/{controls-BXlqLD72.js → controls-Dqd6AD6_.js} +114 -64
- package/dist/controls.cjs +7 -1
- package/dist/controls.d.cts +2 -2
- package/dist/controls.d.ts +2 -2
- package/dist/controls.js +2 -2
- package/dist/hooks.cjs +2 -2
- package/dist/{index-DZ1BE9W4.d.cts → index-CHT-pkrY.d.cts} +117 -99
- package/dist/index-CmiTP4nh.d.cts +804 -0
- package/dist/index-CpIVvKpt.d.ts +804 -0
- package/dist/{index-wNtoh5Kh.d.ts → index-DiJRuXzE.d.ts} +113 -97
- package/dist/index.cjs +4 -12
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/{locale-DTHxb_wp.cjs → locale-BTmar3YP.cjs} +44 -2
- package/dist/locale.cjs +1 -1
- package/dist/pages.cjs +1638 -0
- package/dist/pages.d.cts +36 -0
- package/dist/pages.d.ts +36 -0
- package/dist/pages.js +1627 -0
- package/dist/stores.cjs +6 -6
- package/dist/stores.d.cts +1 -803
- package/dist/stores.d.ts +1 -803
- package/dist/style.css +12 -0
- package/dist/{utils-D8ZjYN3B.cjs → utils-D_H_FuDE.cjs} +5 -6
- package/dist/utils.cjs +2 -2
- package/dist/utils.d.cts +1 -1
- package/package.json +6 -5
- package/dist/chunk-CZWwpsFl.cjs +0 -43
- package/dist/config.cjs +0 -10
- package/dist/config.d.cts +0 -2
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -5
- /package/dist/{constants-CnfPtVsT.cjs → constants-Djb2MLAv.cjs} +0 -0
- /package/dist/{index-BCxPeUAH.d.cts → index-1Pf2-Oor.d.cts} +0 -0
- /package/dist/{index-DmYlGe4I.d.cts → index-DbRrwdMu.d.cts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { O as Mutable$1, nn as SFCWithInstall, t as FormData } from "./index-B-JdU485.js";
|
|
2
2
|
import { a as infoI, s as complexT, t as baseT } from "./index-HZiNsnNI.js";
|
|
3
3
|
import * as _$element_plus0 from "element-plus";
|
|
4
|
-
import { AffixEmits, AffixProps, AutocompleteEmits, AutocompleteProps, ButtonProps, ColProps, DialogEmits, DialogProps, FormEmits, FormItemProps, FormProps, FormRules, ImageEmits, ImageProps, InputEmits, InputNumberEmits, InputNumberProps, InputProps, InputTagEmits, InputTagProps, PaginationEmits, PaginationProps, PopconfirmEmits, PopconfirmProps, RowProps, SegmentedEmits, SegmentedProps, SelectProps, SliderEmits, SliderProps, SwitchEmits, SwitchProps, TabPaneProps, TableColumnCtx, TableProps, TabsEmits, TabsProps, TagEmits, TagProps, TextProps, TreeInstance, TreeNodeData, TreeNodeData as TreeNodeData$1, UploadFile, dropdownItemProps, dropdownProps, selectEmits } from "element-plus";
|
|
4
|
+
import { AffixEmits, AffixProps, AutocompleteEmits, AutocompleteProps, ButtonProps, ColProps, DialogEmits, DialogProps, DividerProps, FormEmits, FormItemProps, FormProps, FormRules, ImageEmits, ImageProps, InputEmits, InputNumberEmits, InputNumberProps, InputProps, InputTagEmits, InputTagProps, PaginationEmits, PaginationProps, PopconfirmEmits, PopconfirmProps, RowProps, SegmentedEmits, SegmentedProps, SelectProps, SliderEmits, SliderProps, SwitchEmits, SwitchProps, TabPaneProps, TableColumnCtx, TableProps, TabsEmits, TabsProps, TagEmits, TagProps, TextProps, TreeInstance, TreeNodeData, TreeNodeData as TreeNodeData$1, UploadFile, dropdownItemProps, dropdownProps, selectEmits } from "element-plus";
|
|
5
5
|
import * as _$vue from "vue";
|
|
6
6
|
import { Component, ExtractPropTypes, nextTick } from "vue";
|
|
7
7
|
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
@@ -9,48 +9,48 @@ import * as _$element_plus_es_components_tree_src_model_node_mjs0 from "element-
|
|
|
9
9
|
import * as _$element_plus_es_components_segmented_src_types_mjs0 from "element-plus/es/components/segmented/src/types.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/packages/controls/MyButton/MyButton.vue.d.ts
|
|
12
|
-
type __VLS_Props$
|
|
12
|
+
type __VLS_Props$32 = {
|
|
13
13
|
type?: 'primary';
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_export$
|
|
16
|
-
declare const _default$28: typeof __VLS_export$
|
|
15
|
+
declare const __VLS_export$36: _$vue.DefineComponent<__VLS_Props$32, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<__VLS_Props$32> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default$28: typeof __VLS_export$36;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/packages/controls/affix/affix.vue.d.ts
|
|
19
|
-
type __VLS_Props$
|
|
20
|
-
control: Partial<OptionT$
|
|
19
|
+
type __VLS_Props$31 = {
|
|
20
|
+
control: Partial<OptionT$38>;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_export$
|
|
23
|
-
declare const _default$27: typeof __VLS_export$
|
|
22
|
+
declare const __VLS_export$35: _$vue.DefineComponent<__VLS_Props$31, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<__VLS_Props$31> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default$27: typeof __VLS_export$35;
|
|
24
24
|
declare namespace affix_d_exports {
|
|
25
|
-
export { OptionT$
|
|
25
|
+
export { OptionT$38 as OptionT, Template$32 as Template, init$37 as init };
|
|
26
26
|
}
|
|
27
|
-
declare const Template$
|
|
28
|
-
type OptionT$
|
|
27
|
+
declare const Template$32: SFCWithInstall<typeof _default$27>;
|
|
28
|
+
type OptionT$38 = AffixProps & AffixEmits & baseT & {
|
|
29
29
|
default: any;
|
|
30
30
|
moduleName: string;
|
|
31
31
|
name: string;
|
|
32
32
|
};
|
|
33
|
-
declare function init$
|
|
33
|
+
declare function init$37(moduleName: string, name: string, options?: Partial<OptionT$38>): Partial<OptionT$38>;
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/packages/controls/autocomplete/autocomplete.vue.d.ts
|
|
36
|
-
type __VLS_Props$
|
|
37
|
-
control: Partial<OptionT$
|
|
36
|
+
type __VLS_Props$30 = {
|
|
37
|
+
control: Partial<OptionT$37>;
|
|
38
38
|
};
|
|
39
39
|
type __VLS_ModelProps$1 = {
|
|
40
40
|
modelValue?: string;
|
|
41
41
|
};
|
|
42
|
-
type __VLS_PublicProps$1 = __VLS_Props$
|
|
43
|
-
declare const __VLS_export$
|
|
42
|
+
type __VLS_PublicProps$1 = __VLS_Props$30 & __VLS_ModelProps$1;
|
|
43
|
+
declare const __VLS_export$34: _$vue.DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
44
44
|
"update:modelValue": (value: string | undefined) => any;
|
|
45
45
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
46
46
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
47
47
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
48
|
-
declare const _default$26: typeof __VLS_export$
|
|
48
|
+
declare const _default$26: typeof __VLS_export$34;
|
|
49
49
|
declare namespace autocomplete_d_exports {
|
|
50
|
-
export { OptionT$
|
|
50
|
+
export { OptionT$37 as OptionT, Template$31 as Template, init$36 as init };
|
|
51
51
|
}
|
|
52
|
-
declare const Template$
|
|
53
|
-
type OptionT$
|
|
52
|
+
declare const Template$31: SFCWithInstall<typeof _default$26>;
|
|
53
|
+
type OptionT$37 = AutocompleteProps & AutocompleteEmits & baseT & {
|
|
54
54
|
placeholder: string;
|
|
55
55
|
default: any;
|
|
56
56
|
loadingSlot: any;
|
|
@@ -59,11 +59,11 @@ type OptionT$36 = AutocompleteProps & AutocompleteEmits & baseT & {
|
|
|
59
59
|
prefix: any;
|
|
60
60
|
suffix: any;
|
|
61
61
|
};
|
|
62
|
-
declare function init$
|
|
62
|
+
declare function init$36(moduleName: string, name: string, options?: Partial<OptionT$37>): Partial<OptionT$37>;
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/packages/controls/button/button.vue.d.ts
|
|
65
|
-
type __VLS_Props$
|
|
66
|
-
control: Partial<OptionT$
|
|
65
|
+
type __VLS_Props$29 = {
|
|
66
|
+
control: Partial<OptionT$36>;
|
|
67
67
|
};
|
|
68
68
|
declare var __VLS_11$2: {}, __VLS_35$1: {}, __VLS_43: {};
|
|
69
69
|
type __VLS_Slots$16 = {} & {
|
|
@@ -73,23 +73,23 @@ type __VLS_Slots$16 = {} & {
|
|
|
73
73
|
} & {
|
|
74
74
|
icon?: (props: typeof __VLS_43) => any;
|
|
75
75
|
};
|
|
76
|
-
declare const __VLS_base$16: _$vue.DefineComponent<__VLS_Props$
|
|
76
|
+
declare const __VLS_base$16: _$vue.DefineComponent<__VLS_Props$29, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
77
77
|
click: (...args: any[]) => void;
|
|
78
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
78
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$29> & Readonly<{
|
|
79
79
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
81
|
-
declare const __VLS_export$
|
|
82
|
-
declare const _default_1$
|
|
81
|
+
declare const __VLS_export$33: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
82
|
+
declare const _default_1$7: typeof __VLS_export$33;
|
|
83
83
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
84
84
|
new (): {
|
|
85
85
|
$slots: S;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
declare namespace button_d_exports {
|
|
89
|
-
export { OptionT$
|
|
89
|
+
export { OptionT$36 as OptionT, Template$30 as Template, init$35 as init };
|
|
90
90
|
}
|
|
91
|
-
declare const Template$
|
|
92
|
-
type OptionT$
|
|
91
|
+
declare const Template$30: SFCWithInstall<typeof _default_1$7>;
|
|
92
|
+
type OptionT$36 = Mutable$1<ButtonProps> & baseT & {
|
|
93
93
|
default: any;
|
|
94
94
|
loadingSlot: any;
|
|
95
95
|
iconSlot: any;
|
|
@@ -100,63 +100,63 @@ type OptionT$35 = Mutable$1<ButtonProps> & baseT & {
|
|
|
100
100
|
tag: any;
|
|
101
101
|
separator: boolean;
|
|
102
102
|
click: (e: any) => any | Promise<any>;
|
|
103
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
103
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$36>;
|
|
104
104
|
};
|
|
105
|
-
declare function init$
|
|
105
|
+
declare function init$35(moduleName: string, name: string, options?: Partial<OptionT$36>): Partial<OptionT$36>;
|
|
106
106
|
//#endregion
|
|
107
107
|
//#region src/packages/controls/buttonGroup/buttonGroup.vue.d.ts
|
|
108
|
-
type __VLS_Props$
|
|
109
|
-
control: OptionT$
|
|
108
|
+
type __VLS_Props$28 = {
|
|
109
|
+
control: OptionT$33;
|
|
110
110
|
statusData?: any;
|
|
111
111
|
};
|
|
112
|
-
declare const __VLS_export$
|
|
112
|
+
declare const __VLS_export$32: _$vue.DefineComponent<__VLS_Props$28, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
113
113
|
click: (...args: any[]) => void;
|
|
114
114
|
command: (...args: any[]) => void;
|
|
115
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
115
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$28> & Readonly<{
|
|
116
116
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
onCommand?: ((...args: any[]) => any) | undefined;
|
|
118
118
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
119
|
-
declare const _default_1$
|
|
119
|
+
declare const _default_1$6: typeof __VLS_export$32;
|
|
120
120
|
//#endregion
|
|
121
121
|
//#region src/packages/controls/popconfirm/popconfirm.vue.d.ts
|
|
122
|
-
type __VLS_Props$
|
|
123
|
-
control: OptionT$
|
|
122
|
+
type __VLS_Props$27 = {
|
|
123
|
+
control: OptionT$35;
|
|
124
124
|
};
|
|
125
|
-
declare const __VLS_export$
|
|
125
|
+
declare const __VLS_export$31: _$vue.DefineComponent<__VLS_Props$27, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
126
126
|
click: (...args: any[]) => void;
|
|
127
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
127
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
128
128
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
130
|
-
declare const _default$25: typeof __VLS_export$
|
|
130
|
+
declare const _default$25: typeof __VLS_export$31;
|
|
131
131
|
declare namespace popconfirm_d_exports {
|
|
132
|
-
export { OptionT$
|
|
132
|
+
export { OptionT$35 as OptionT, Template$29 as Template, init$34 as init };
|
|
133
133
|
}
|
|
134
|
-
declare const Template$
|
|
135
|
-
type OptionT$
|
|
134
|
+
declare const Template$29: SFCWithInstall<typeof _default$25>;
|
|
135
|
+
type OptionT$35 = PopconfirmProps & PopconfirmEmits & baseT & {
|
|
136
136
|
reference: any;
|
|
137
137
|
actions: any;
|
|
138
|
-
button: Partial<OptionT$
|
|
138
|
+
button: Partial<OptionT$36>;
|
|
139
139
|
text: boolean;
|
|
140
140
|
tag: string;
|
|
141
141
|
disabled: boolean;
|
|
142
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
142
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$35>;
|
|
143
143
|
};
|
|
144
|
-
declare function init$
|
|
144
|
+
declare function init$34(moduleName: string, name: string, options?: Partial<OptionT$35>): OptionT$35;
|
|
145
145
|
//#endregion
|
|
146
146
|
//#region src/packages/controls/dropdown/dropdown.vue.d.ts
|
|
147
|
-
type __VLS_Props$
|
|
148
|
-
control: OptionT$
|
|
147
|
+
type __VLS_Props$26 = {
|
|
148
|
+
control: OptionT$34;
|
|
149
149
|
};
|
|
150
|
-
declare const __VLS_export$
|
|
150
|
+
declare const __VLS_export$30: _$vue.DefineComponent<__VLS_Props$26, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
151
151
|
click: (...args: any[]) => void;
|
|
152
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
152
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$26> & Readonly<{
|
|
153
153
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
155
|
-
declare const _default_1$
|
|
155
|
+
declare const _default_1$5: typeof __VLS_export$30;
|
|
156
156
|
declare namespace dropdown_d_exports {
|
|
157
|
-
export { DropdownItemOptionT, DropdownItemProps, DropdownPlacement, DropdownProps, DropdownSize, DropdownTrigger, DropdownType, OptionT$
|
|
157
|
+
export { DropdownItemOptionT, DropdownItemProps, DropdownPlacement, DropdownProps, DropdownSize, DropdownTrigger, DropdownType, OptionT$34 as OptionT, Template$28 as Template, areaT, init$33 as init };
|
|
158
158
|
}
|
|
159
|
-
declare const Template$
|
|
159
|
+
declare const Template$28: SFCWithInstall<typeof _default_1$5>;
|
|
160
160
|
type DropdownSize = '' | 'large' | 'default' | 'small';
|
|
161
161
|
type DropdownType = '' | 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger' | 'text';
|
|
162
162
|
type DropdownPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
@@ -175,7 +175,7 @@ type DropdownItemOptionT = DropdownItemProps & baseT & {
|
|
|
175
175
|
show: boolean;
|
|
176
176
|
click: (e: MouseEvent) => any | Promise<any>;
|
|
177
177
|
};
|
|
178
|
-
type OptionT$
|
|
178
|
+
type OptionT$34 = DropdownProps & baseT & {
|
|
179
179
|
default: any;
|
|
180
180
|
dropdown: any;
|
|
181
181
|
statusData: any;
|
|
@@ -186,22 +186,22 @@ type OptionT$33 = DropdownProps & baseT & {
|
|
|
186
186
|
showCheck: boolean;
|
|
187
187
|
checked: boolean;
|
|
188
188
|
}>[];
|
|
189
|
-
button: Partial<OptionT$
|
|
189
|
+
button: Partial<OptionT$36>;
|
|
190
190
|
icon?: string | Component;
|
|
191
191
|
text: boolean;
|
|
192
192
|
id: string;
|
|
193
193
|
disabled: boolean;
|
|
194
194
|
addItem: (name: string, options?: Partial<DropdownItemOptionT>) => void;
|
|
195
195
|
setItemAttrib: (name: string, attrib: any, value: any) => void;
|
|
196
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
196
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$34>;
|
|
197
197
|
};
|
|
198
|
-
declare function init$
|
|
198
|
+
declare function init$33(moduleName: string, name: string, options?: Partial<OptionT$34>): OptionT$34;
|
|
199
199
|
declare namespace buttonGroup_d_exports {
|
|
200
|
-
export { ButtonsAreaT, ControlT, ControlTypeEnum, OptionT$
|
|
200
|
+
export { ButtonsAreaT, ControlT, ControlTypeEnum, OptionT$33 as OptionT, Template$27 as Template, createComponent, init$32 as init };
|
|
201
201
|
}
|
|
202
|
-
declare const Template$
|
|
202
|
+
declare const Template$27: SFCWithInstall<typeof _default_1$6>;
|
|
203
203
|
type ControlTypeEnum = 'button' | 'popconfirm' | 'dropdown';
|
|
204
|
-
type ControlT = OptionT$
|
|
204
|
+
type ControlT = OptionT$36 | OptionT$35 | OptionT$34;
|
|
205
205
|
type ButtonItemT = baseT & {
|
|
206
206
|
moduleName: string;
|
|
207
207
|
name: string;
|
|
@@ -210,11 +210,11 @@ type ButtonItemT = baseT & {
|
|
|
210
210
|
config: any;
|
|
211
211
|
disabled?: boolean;
|
|
212
212
|
};
|
|
213
|
-
type ButtonOptions = Partial<OptionT$
|
|
214
|
-
type PopconfirmOptions = Partial<OptionT$
|
|
215
|
-
type DropdownOptions = Partial<OptionT$
|
|
213
|
+
type ButtonOptions = Partial<OptionT$36>;
|
|
214
|
+
type PopconfirmOptions = Partial<OptionT$35>;
|
|
215
|
+
type DropdownOptions = Partial<OptionT$34>;
|
|
216
216
|
type ButtonsAreaT = "form" | "search" | "operate" | "table" | "tableLine" | "custom";
|
|
217
|
-
type OptionT$
|
|
217
|
+
type OptionT$33 = baseT & {
|
|
218
218
|
size: 'large' | 'default' | 'small';
|
|
219
219
|
type: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
220
220
|
isGroup: boolean;
|
|
@@ -229,12 +229,12 @@ type OptionT$32 = baseT & {
|
|
|
229
229
|
setAttrib: (name: string, attrib: any, value: any) => void;
|
|
230
230
|
changeButton: (name: string, options: any) => boolean;
|
|
231
231
|
};
|
|
232
|
-
declare function init$
|
|
232
|
+
declare function init$32(moduleName: string, options?: Partial<OptionT$33>): OptionT$33;
|
|
233
233
|
declare function createComponent<T extends ControlTypeEnum>(controlType: T, moduleName: string, name: string, options: T extends 'button' ? ButtonOptions : T extends 'popconfirm' ? PopconfirmOptions : T extends 'dropdown' ? DropdownOptions : ButtonOptions, items: ButtonItemT[]): ButtonItemT | null;
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/packages/controls/dialog/dialog.vue.d.ts
|
|
236
|
-
type __VLS_Props$
|
|
237
|
-
control: OptionT$
|
|
236
|
+
type __VLS_Props$25 = {
|
|
237
|
+
control: OptionT$32;
|
|
238
238
|
};
|
|
239
239
|
declare var __VLS_16$1: {}, __VLS_34$1: {};
|
|
240
240
|
type __VLS_Slots$15 = {} & {
|
|
@@ -242,22 +242,22 @@ type __VLS_Slots$15 = {} & {
|
|
|
242
242
|
} & {
|
|
243
243
|
footer?: (props: typeof __VLS_34$1) => any;
|
|
244
244
|
};
|
|
245
|
-
declare const __VLS_base$15: _$vue.DefineComponent<__VLS_Props$
|
|
245
|
+
declare const __VLS_base$15: _$vue.DefineComponent<__VLS_Props$25, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
246
246
|
refreshData: (...args: any[]) => void;
|
|
247
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
247
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
248
248
|
onRefreshData?: ((...args: any[]) => any) | undefined;
|
|
249
249
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
250
|
-
declare const __VLS_export$
|
|
251
|
-
declare const _default_1$
|
|
250
|
+
declare const __VLS_export$29: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
251
|
+
declare const _default_1$4: typeof __VLS_export$29;
|
|
252
252
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
253
253
|
new (): {
|
|
254
254
|
$slots: S;
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
257
|
declare namespace dialog_d_exports {
|
|
258
|
-
export { DIALOG_FORM_INJECTION_KEY, OptionT$
|
|
258
|
+
export { DIALOG_FORM_INJECTION_KEY, OptionT$32 as OptionT, Template$26 as Template, init$31 as init };
|
|
259
259
|
}
|
|
260
|
-
type OptionT$
|
|
260
|
+
type OptionT$32 = baseT & DialogProps & DialogEmits & {
|
|
261
261
|
direction: 'rtl' | 'ltr' | 'ttb' | 'btt' | 'center';
|
|
262
262
|
idValue: number;
|
|
263
263
|
params: Record<string, any>;
|
|
@@ -270,17 +270,33 @@ type OptionT$31 = baseT & DialogProps & DialogEmits & {
|
|
|
270
270
|
footer: any;
|
|
271
271
|
show: boolean;
|
|
272
272
|
loading: boolean;
|
|
273
|
-
buttons: OptionT$
|
|
273
|
+
buttons: OptionT$33;
|
|
274
274
|
_autoFormButtons: {
|
|
275
|
-
buttonGroup: OptionT$
|
|
275
|
+
buttonGroup: OptionT$33;
|
|
276
276
|
originalFormRef: any;
|
|
277
277
|
handleButtonClick: (buttonName: string, event: any) => void;
|
|
278
278
|
};
|
|
279
279
|
_formRegistration: any;
|
|
280
280
|
};
|
|
281
|
-
declare const Template$
|
|
281
|
+
declare const Template$26: SFCWithInstall<typeof _default_1$4>;
|
|
282
282
|
declare const DIALOG_FORM_INJECTION_KEY: unique symbol;
|
|
283
|
-
declare function init$
|
|
283
|
+
declare function init$31(name: string, templateName: any, buttons?: OptionT$33, options?: Partial<OptionT$32>): OptionT$32;
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/packages/controls/divider/divider.vue.d.ts
|
|
286
|
+
type __VLS_Props$24 = {
|
|
287
|
+
control: Partial<OptionT$31>;
|
|
288
|
+
};
|
|
289
|
+
declare const __VLS_export$28: _$vue.DefineComponent<__VLS_Props$24, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<__VLS_Props$24> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
290
|
+
declare const _default_1$3: typeof __VLS_export$28;
|
|
291
|
+
declare namespace divider_d_exports {
|
|
292
|
+
export { OptionT$31 as OptionT, Template$25 as Template, init$30 as init };
|
|
293
|
+
}
|
|
294
|
+
declare const Template$25: SFCWithInstall<typeof _default_1$3>;
|
|
295
|
+
type OptionT$31 = DividerProps & baseT & {
|
|
296
|
+
default: any;
|
|
297
|
+
text: string;
|
|
298
|
+
};
|
|
299
|
+
declare function init$30(moduleName: string, name: string, options?: Partial<OptionT$31>): Partial<OptionT$31>;
|
|
284
300
|
//#endregion
|
|
285
301
|
//#region src/packages/controls/tabPane/tabPane.vue.d.ts
|
|
286
302
|
type __VLS_Props$23 = {
|
|
@@ -367,7 +383,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
367
383
|
$root: _$vue.ComponentPublicInstance | null;
|
|
368
384
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
369
385
|
$host: Element | null;
|
|
370
|
-
$emit: ((event: "
|
|
386
|
+
$emit: ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
371
387
|
$el: any;
|
|
372
388
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
373
389
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -464,7 +480,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
464
480
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
465
481
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
466
482
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
467
|
-
}>, "
|
|
483
|
+
}>, "type" | "clear" | "input" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
468
484
|
input: HTMLInputElement | undefined;
|
|
469
485
|
textarea: HTMLTextAreaElement | undefined;
|
|
470
486
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -549,7 +565,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
549
565
|
$root: _$vue.ComponentPublicInstance | null;
|
|
550
566
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
551
567
|
$host: Element | null;
|
|
552
|
-
$emit: ((event: "
|
|
568
|
+
$emit: ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
553
569
|
$el: any;
|
|
554
570
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
555
571
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -646,7 +662,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
646
662
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
647
663
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
648
664
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
649
|
-
}>, "
|
|
665
|
+
}>, "type" | "clear" | "input" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
650
666
|
input: HTMLInputElement | undefined;
|
|
651
667
|
textarea: HTMLTextAreaElement | undefined;
|
|
652
668
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -982,7 +998,7 @@ type InputTypeT = 'input' | 'inputNumber' | 'autocomplete' | 'inputTag';
|
|
|
982
998
|
type InputTypeProps = {
|
|
983
999
|
input: OptionT$30;
|
|
984
1000
|
inputNumber: OptionT$27;
|
|
985
|
-
autocomplete: OptionT$
|
|
1001
|
+
autocomplete: OptionT$37;
|
|
986
1002
|
inputTag: OptionT$28;
|
|
987
1003
|
};
|
|
988
1004
|
type BaseOptionT = {
|
|
@@ -1515,7 +1531,7 @@ declare namespace table_d_exports {
|
|
|
1515
1531
|
export { ControlOptionT$1 as ControlOptionT, DragState, ExtendedControlOptionT$1 as ExtendedControlOptionT, OptionT$13 as OptionT, TableMethods, Template$8 as Template, getFormContent, init$13 as init };
|
|
1516
1532
|
}
|
|
1517
1533
|
declare const Template$8: SFCWithInstall<typeof _default$12>;
|
|
1518
|
-
type ControlOptionT$1 = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$
|
|
1534
|
+
type ControlOptionT$1 = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$37 | OptionT$27 | OptionT$26 | OptionT$25 | OptionT$24 | OptionT$23 | OptionT$16 | OptionT$15 | OptionT$14 | OptionT$18 | OptionT$20;
|
|
1519
1535
|
type ExtendedControlOptionT$1 = ControlOptionT$1 & OptionT$17 & {
|
|
1520
1536
|
/** 隐藏手机号 */display?: 'hide'; /** 数字保留小数位 */
|
|
1521
1537
|
decimalPlaces?: number;
|
|
@@ -1546,11 +1562,11 @@ type OptionT$13 = baseT & TableProps<any> & {
|
|
|
1546
1562
|
selectionWidth: number; /** 显示索引 */
|
|
1547
1563
|
showIndex: boolean; /** 显示全选 */
|
|
1548
1564
|
showCheckAll: boolean; /** 表格内容操作区按钮 */
|
|
1549
|
-
lineButtons: OptionT$
|
|
1550
|
-
headerLineButtons: OptionT$
|
|
1565
|
+
lineButtons: OptionT$33;
|
|
1566
|
+
headerLineButtons: OptionT$33;
|
|
1551
1567
|
allForm: boolean;
|
|
1552
1568
|
changeForm?: (val: any, name: string, scope: any) => void;
|
|
1553
|
-
otherButtons: OptionT$
|
|
1569
|
+
otherButtons: OptionT$33;
|
|
1554
1570
|
lineButtonWidth?: string | number;
|
|
1555
1571
|
columns: OptionT$17[];
|
|
1556
1572
|
clickRow: infoI;
|
|
@@ -1615,7 +1631,7 @@ declare function init$12(moduleName: string, name: string, options?: Partial<Opt
|
|
|
1615
1631
|
declare namespace formItems_d_exports {
|
|
1616
1632
|
export { CheckT, ControlOptionT, ExtendedControlOptionT, FormItemT, MergeSelectExtendedOptionT, OptionT$11 as OptionT, TagExtendedOptionT, init$11 as init };
|
|
1617
1633
|
}
|
|
1618
|
-
type ControlOptionT = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$
|
|
1634
|
+
type ControlOptionT = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$37 | OptionT$27 | OptionT$26 | OptionT$25 | OptionT$24 | OptionT$23 | OptionT$22 | OptionT$21 | OptionT$20 | OptionT$19 | OptionT$18 | OptionT$13 | OptionT$12 | OptionT$14;
|
|
1619
1635
|
type ExtendedControlOptionT = ControlOptionT & {
|
|
1620
1636
|
labelShow?: boolean;
|
|
1621
1637
|
hideLabel?: boolean;
|
|
@@ -1816,7 +1832,7 @@ type OptionT$8 = FormEmits & baseT & {
|
|
|
1816
1832
|
contents: Array<RwFormItems.OptionT | OptionT$9>;
|
|
1817
1833
|
contentsMap: Map<string, any>;
|
|
1818
1834
|
customizedDisabled: boolean;
|
|
1819
|
-
buttons: OptionT$
|
|
1835
|
+
buttons: OptionT$33;
|
|
1820
1836
|
buttonsPosition: 'top' | 'bottom' | 'both';
|
|
1821
1837
|
buttonLocation: 'start' | 'center' | 'end';
|
|
1822
1838
|
hideSubmitClose: boolean;
|
|
@@ -1938,8 +1954,8 @@ type typeT = "table" | "form" | "info" | "query" | "customize";
|
|
|
1938
1954
|
type OptionT$7 = {
|
|
1939
1955
|
name: string;
|
|
1940
1956
|
type: typeT;
|
|
1941
|
-
dialogs: OptionT$
|
|
1942
|
-
pushDialog: (name: string, templateName: any, buttons?: OptionT$
|
|
1957
|
+
dialogs: OptionT$32[];
|
|
1958
|
+
pushDialog: (name: string, templateName: any, buttons?: OptionT$33, options?: Partial<OptionT$32>) => void;
|
|
1943
1959
|
showDialog: (name: string, id?: number, params?: Record<string, any>) => void;
|
|
1944
1960
|
};
|
|
1945
1961
|
declare const init$7: (name: string, pageType: typeT, options?: Partial<OptionT$7>) => OptionT$7;
|
|
@@ -2095,8 +2111,8 @@ declare namespace pageTable_d_exports {
|
|
|
2095
2111
|
declare const Template$2: SFCWithInstall<typeof _default$3>;
|
|
2096
2112
|
type OptionT$3 = {
|
|
2097
2113
|
struct: OptionT$5;
|
|
2098
|
-
operateButtons: OptionT$
|
|
2099
|
-
tableButtons: OptionT$
|
|
2114
|
+
operateButtons: OptionT$33;
|
|
2115
|
+
tableButtons: OptionT$33;
|
|
2100
2116
|
table: OptionT$13;
|
|
2101
2117
|
pagination: OptionT$1;
|
|
2102
2118
|
search: OptionT | false;
|
|
@@ -2203,7 +2219,7 @@ type OptionT = baseT & {
|
|
|
2203
2219
|
struct?: OptionT$5;
|
|
2204
2220
|
labelWidth?: string | number;
|
|
2205
2221
|
formItems: RwFormItems.OptionT;
|
|
2206
|
-
buttons?: OptionT$
|
|
2222
|
+
buttons?: OptionT$33;
|
|
2207
2223
|
complex: complexT;
|
|
2208
2224
|
defaultData: Record<string, any>;
|
|
2209
2225
|
getSearchData: (data: any) => Record<string, any>;
|
|
@@ -2217,7 +2233,7 @@ type OptionT = baseT & {
|
|
|
2217
2233
|
};
|
|
2218
2234
|
declare const init: (struct: OptionT$5, options?: Partial<OptionT>) => OptionT;
|
|
2219
2235
|
declare namespace index_d_exports {
|
|
2220
|
-
export { _default$28 as MyButton, affix_d_exports as RwAffix, autocomplete_d_exports as RwAutocomplete, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, dialog_d_exports as RwDialog, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, tableStruct_d_exports as tableStruct };
|
|
2236
|
+
export { _default$28 as MyButton, affix_d_exports as RwAffix, autocomplete_d_exports as RwAutocomplete, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, dialog_d_exports as RwDialog, divider_d_exports as RwDivider, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, tableStruct_d_exports as tableStruct };
|
|
2221
2237
|
}
|
|
2222
2238
|
//#endregion
|
|
2223
|
-
export {
|
|
2239
|
+
export { inputTag_d_exports as A, affix_d_exports as B, map_d_exports as C, mergeInput_d_exports as D, mergeSelect_d_exports as E, buttonGroup_d_exports as F, dropdown_d_exports as I, popconfirm_d_exports as L, input_d_exports as M, divider_d_exports as N, radio_d_exports as O, dialog_d_exports as P, button_d_exports as R, upload_d_exports as S, switch_d_exports as T, _default$28 as V, tagComp_d_exports as _, pageTable_d_exports as a, text_d_exports as b, pageStruct_d_exports as c, RwForm as d, tabs_d_exports as f, table_d_exports as g, segmented_d_exports as h, mTreeSTable_d_exports as i, select_d_exports as j, inputNumber_d_exports as k, tableStruct_d_exports as l, RwFormItems as m, search_d_exports as n, pageForm_d_exports as o, tabPane_d_exports as p, pagination_d_exports as r, OptionT$5 as s, index_d_exports as t, pageBase_d_exports as u, tag_d_exports as v, slider_d_exports as w, tree_d_exports as x, image_d_exports as y, autocomplete_d_exports as z };
|
package/dist/index.cjs
CHANGED
|
@@ -2,19 +2,17 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const require_controls = require("./controls-B7qU1vjR.cjs");
|
|
8
|
-
const require_locale = require("./locale-DTHxb_wp.cjs");
|
|
5
|
+
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
6
|
+
const require_controls = require("./controls-DORSbC6g.cjs");
|
|
9
7
|
require("element-plus/dist/index.css");
|
|
10
8
|
require("element-plus/theme-chalk/dark/css-vars.css");
|
|
11
9
|
let element_plus = require("element-plus");
|
|
12
|
-
element_plus =
|
|
10
|
+
element_plus = require_locale.__toESM(element_plus);
|
|
13
11
|
let pinia = require("pinia");
|
|
14
12
|
let vue_i18n = require("vue-i18n");
|
|
15
13
|
let vue = require("vue");
|
|
16
14
|
let pinia_plugin_persistedstate = require("pinia-plugin-persistedstate");
|
|
17
|
-
pinia_plugin_persistedstate =
|
|
15
|
+
pinia_plugin_persistedstate = require_locale.__toESM(pinia_plugin_persistedstate);
|
|
18
16
|
//#region src/packages/install/make-installer.ts
|
|
19
17
|
const makeInstaller = (components = []) => {
|
|
20
18
|
const install = (app, options) => {
|
|
@@ -62,12 +60,6 @@ var src_default = { install: makeInstaller([...[
|
|
|
62
60
|
i18n
|
|
63
61
|
]]).install };
|
|
64
62
|
//#endregion
|
|
65
|
-
Object.defineProperty(exports, "config", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function() {
|
|
68
|
-
return require_config.config_exports;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
63
|
Object.defineProperty(exports, "controls", {
|
|
72
64
|
enumerable: true,
|
|
73
65
|
get: function() {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as index_d_exports } from "./
|
|
2
|
-
import { t as index_d_exports$1 } from "./index-DZ1BE9W4.cjs";
|
|
1
|
+
import { t as index_d_exports } from "./index-CHT-pkrY.cjs";
|
|
3
2
|
import * as _$vue from "vue";
|
|
4
3
|
export * from "element-plus";
|
|
5
4
|
export * from "pinia";
|
|
@@ -10,4 +9,4 @@ declare const _default: {
|
|
|
10
9
|
install: (app: _$vue.App, options?: any) => void;
|
|
11
10
|
};
|
|
12
11
|
//#endregion
|
|
13
|
-
export { index_d_exports as
|
|
12
|
+
export { index_d_exports as controls, _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as index_d_exports } from "./
|
|
2
|
-
import { t as index_d_exports$1 } from "./index-wNtoh5Kh.js";
|
|
1
|
+
import { t as index_d_exports } from "./index-DiJRuXzE.js";
|
|
3
2
|
import * as _$vue from "vue";
|
|
4
3
|
export * from "element-plus";
|
|
5
4
|
export * from "pinia";
|
|
@@ -10,4 +9,4 @@ declare const _default: {
|
|
|
10
9
|
install: (app: _$vue.App, options?: any) => void;
|
|
11
10
|
};
|
|
12
11
|
//#endregion
|
|
13
|
-
export { index_d_exports as
|
|
12
|
+
export { index_d_exports as controls, _default as default };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as controls_exports } from "./controls-BXlqLD72.js";
|
|
1
|
+
import { t as controls_exports } from "./controls-Dqd6AD6_.js";
|
|
3
2
|
import { d as tw_default, f as en_default, p as cn_default } from "./locale-B3sWTtoq.js";
|
|
4
3
|
import "element-plus/dist/index.css";
|
|
5
4
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
@@ -57,4 +56,4 @@ var src_default = { install: makeInstaller([...[
|
|
|
57
56
|
})
|
|
58
57
|
]]).install };
|
|
59
58
|
//#endregion
|
|
60
|
-
export {
|
|
59
|
+
export { controls_exports as controls, src_default as default };
|
|
@@ -1,8 +1,38 @@
|
|
|
1
|
-
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __exportAll = (all, no_symbols) => {
|
|
9
|
+
let target = {};
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
+
return target;
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
+
key = keys[i];
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
+
get: ((k) => from[k]).bind(null, key),
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
//#endregion
|
|
2
32
|
let vue_i18n = require("vue-i18n");
|
|
3
33
|
let vue = require("vue");
|
|
4
34
|
let js_cookie = require("js-cookie");
|
|
5
|
-
js_cookie =
|
|
35
|
+
js_cookie = __toESM(js_cookie);
|
|
6
36
|
//#region src/packages/locale/langs/cn.ts
|
|
7
37
|
var cn_default = {
|
|
8
38
|
name: "cn",
|
|
@@ -596,6 +626,18 @@ const t = (key, values) => {
|
|
|
596
626
|
return i18n.global.t(key, values);
|
|
597
627
|
};
|
|
598
628
|
//#endregion
|
|
629
|
+
Object.defineProperty(exports, "__exportAll", {
|
|
630
|
+
enumerable: true,
|
|
631
|
+
get: function() {
|
|
632
|
+
return __exportAll;
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
Object.defineProperty(exports, "__toESM", {
|
|
636
|
+
enumerable: true,
|
|
637
|
+
get: function() {
|
|
638
|
+
return __toESM;
|
|
639
|
+
}
|
|
640
|
+
});
|
|
599
641
|
Object.defineProperty(exports, "cn_default", {
|
|
600
642
|
enumerable: true,
|
|
601
643
|
get: function() {
|
package/dist/locale.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_locale = require("./locale-
|
|
2
|
+
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
3
3
|
exports.i18n = require_locale.i18n;
|
|
4
4
|
exports.initLangOptions = require_locale.initLangOptions;
|
|
5
5
|
exports.initi18n = require_locale.initi18n;
|