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,56 +1,58 @@
|
|
|
1
|
-
import { O as Mutable$1, nn as SFCWithInstall, t as FormData } from "./index-
|
|
2
|
-
import { a as infoI, s as complexT, t as baseT } from "./index-
|
|
1
|
+
import { O as Mutable$1, nn as SFCWithInstall, t as FormData } from "./index-DbRrwdMu.cjs";
|
|
2
|
+
import { a as infoI, s as complexT, t as baseT } from "./index-1Pf2-Oor.cjs";
|
|
3
3
|
import * as _$vue from "vue";
|
|
4
4
|
import { Component, ExtractPropTypes, nextTick } from "vue";
|
|
5
5
|
import * as _$element_plus0 from "element-plus";
|
|
6
|
-
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";
|
|
6
|
+
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";
|
|
7
7
|
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
8
8
|
import * as _$element_plus_es_components_tree_src_model_node_mjs0 from "element-plus/es/components/tree/src/model/node.mjs";
|
|
9
9
|
import * as _$element_plus_es_components_segmented_src_types_mjs0 from "element-plus/es/components/segmented/src/types.mjs";
|
|
10
10
|
|
|
11
|
+
//#region \0rolldown/runtime.js
|
|
12
|
+
//#endregion
|
|
11
13
|
//#region src/packages/controls/MyButton/MyButton.vue.d.ts
|
|
12
|
-
type __VLS_Props$
|
|
14
|
+
type __VLS_Props$32 = {
|
|
13
15
|
type?: 'primary';
|
|
14
16
|
};
|
|
15
|
-
declare const __VLS_export$
|
|
16
|
-
declare const _default$28: typeof __VLS_export$
|
|
17
|
+
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>;
|
|
18
|
+
declare const _default$28: typeof __VLS_export$36;
|
|
17
19
|
//#endregion
|
|
18
20
|
//#region src/packages/controls/affix/affix.vue.d.ts
|
|
19
|
-
type __VLS_Props$
|
|
20
|
-
control: Partial<OptionT$
|
|
21
|
+
type __VLS_Props$31 = {
|
|
22
|
+
control: Partial<OptionT$38>;
|
|
21
23
|
};
|
|
22
|
-
declare const __VLS_export$
|
|
23
|
-
declare const _default$27: typeof __VLS_export$
|
|
24
|
+
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>;
|
|
25
|
+
declare const _default$27: typeof __VLS_export$35;
|
|
24
26
|
declare namespace affix_d_exports {
|
|
25
|
-
export { OptionT$
|
|
27
|
+
export { OptionT$38 as OptionT, Template$32 as Template, init$37 as init };
|
|
26
28
|
}
|
|
27
|
-
declare const Template$
|
|
28
|
-
type OptionT$
|
|
29
|
+
declare const Template$32: SFCWithInstall<typeof _default$27>;
|
|
30
|
+
type OptionT$38 = AffixProps & AffixEmits & baseT & {
|
|
29
31
|
default: any;
|
|
30
32
|
moduleName: string;
|
|
31
33
|
name: string;
|
|
32
34
|
};
|
|
33
|
-
declare function init$
|
|
35
|
+
declare function init$37(moduleName: string, name: string, options?: Partial<OptionT$38>): Partial<OptionT$38>;
|
|
34
36
|
//#endregion
|
|
35
37
|
//#region src/packages/controls/autocomplete/autocomplete.vue.d.ts
|
|
36
|
-
type __VLS_Props$
|
|
37
|
-
control: Partial<OptionT$
|
|
38
|
+
type __VLS_Props$30 = {
|
|
39
|
+
control: Partial<OptionT$37>;
|
|
38
40
|
};
|
|
39
41
|
type __VLS_ModelProps$1 = {
|
|
40
42
|
modelValue?: string;
|
|
41
43
|
};
|
|
42
|
-
type __VLS_PublicProps$1 = __VLS_Props$
|
|
43
|
-
declare const __VLS_export$
|
|
44
|
+
type __VLS_PublicProps$1 = __VLS_Props$30 & __VLS_ModelProps$1;
|
|
45
|
+
declare const __VLS_export$34: _$vue.DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
44
46
|
"update:modelValue": (value: string | undefined) => any;
|
|
45
47
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
46
48
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
47
49
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
48
|
-
declare const _default$26: typeof __VLS_export$
|
|
50
|
+
declare const _default$26: typeof __VLS_export$34;
|
|
49
51
|
declare namespace autocomplete_d_exports {
|
|
50
|
-
export { OptionT$
|
|
52
|
+
export { OptionT$37 as OptionT, Template$31 as Template, init$36 as init };
|
|
51
53
|
}
|
|
52
|
-
declare const Template$
|
|
53
|
-
type OptionT$
|
|
54
|
+
declare const Template$31: SFCWithInstall<typeof _default$26>;
|
|
55
|
+
type OptionT$37 = AutocompleteProps & AutocompleteEmits & baseT & {
|
|
54
56
|
placeholder: string;
|
|
55
57
|
default: any;
|
|
56
58
|
loadingSlot: any;
|
|
@@ -59,11 +61,11 @@ type OptionT$36 = AutocompleteProps & AutocompleteEmits & baseT & {
|
|
|
59
61
|
prefix: any;
|
|
60
62
|
suffix: any;
|
|
61
63
|
};
|
|
62
|
-
declare function init$
|
|
64
|
+
declare function init$36(moduleName: string, name: string, options?: Partial<OptionT$37>): Partial<OptionT$37>;
|
|
63
65
|
//#endregion
|
|
64
66
|
//#region src/packages/controls/button/button.vue.d.ts
|
|
65
|
-
type __VLS_Props$
|
|
66
|
-
control: Partial<OptionT$
|
|
67
|
+
type __VLS_Props$29 = {
|
|
68
|
+
control: Partial<OptionT$36>;
|
|
67
69
|
};
|
|
68
70
|
declare var __VLS_11$2: {}, __VLS_35$1: {}, __VLS_43: {};
|
|
69
71
|
type __VLS_Slots$16 = {} & {
|
|
@@ -73,23 +75,23 @@ type __VLS_Slots$16 = {} & {
|
|
|
73
75
|
} & {
|
|
74
76
|
icon?: (props: typeof __VLS_43) => any;
|
|
75
77
|
};
|
|
76
|
-
declare const __VLS_base$16: _$vue.DefineComponent<__VLS_Props$
|
|
78
|
+
declare const __VLS_base$16: _$vue.DefineComponent<__VLS_Props$29, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
77
79
|
click: (...args: any[]) => void;
|
|
78
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
80
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$29> & Readonly<{
|
|
79
81
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
80
82
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
81
|
-
declare const __VLS_export$
|
|
82
|
-
declare const _default_1$
|
|
83
|
+
declare const __VLS_export$33: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
84
|
+
declare const _default_1$7: typeof __VLS_export$33;
|
|
83
85
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
84
86
|
new (): {
|
|
85
87
|
$slots: S;
|
|
86
88
|
};
|
|
87
89
|
};
|
|
88
90
|
declare namespace button_d_exports {
|
|
89
|
-
export { OptionT$
|
|
91
|
+
export { OptionT$36 as OptionT, Template$30 as Template, init$35 as init };
|
|
90
92
|
}
|
|
91
|
-
declare const Template$
|
|
92
|
-
type OptionT$
|
|
93
|
+
declare const Template$30: SFCWithInstall<typeof _default_1$7>;
|
|
94
|
+
type OptionT$36 = Mutable$1<ButtonProps> & baseT & {
|
|
93
95
|
default: any;
|
|
94
96
|
loadingSlot: any;
|
|
95
97
|
iconSlot: any;
|
|
@@ -100,63 +102,63 @@ type OptionT$35 = Mutable$1<ButtonProps> & baseT & {
|
|
|
100
102
|
tag: any;
|
|
101
103
|
separator: boolean;
|
|
102
104
|
click: (e: any) => any | Promise<any>;
|
|
103
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
105
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$36>;
|
|
104
106
|
};
|
|
105
|
-
declare function init$
|
|
107
|
+
declare function init$35(moduleName: string, name: string, options?: Partial<OptionT$36>): Partial<OptionT$36>;
|
|
106
108
|
//#endregion
|
|
107
109
|
//#region src/packages/controls/buttonGroup/buttonGroup.vue.d.ts
|
|
108
|
-
type __VLS_Props$
|
|
109
|
-
control: OptionT$
|
|
110
|
+
type __VLS_Props$28 = {
|
|
111
|
+
control: OptionT$33;
|
|
110
112
|
statusData?: any;
|
|
111
113
|
};
|
|
112
|
-
declare const __VLS_export$
|
|
114
|
+
declare const __VLS_export$32: _$vue.DefineComponent<__VLS_Props$28, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
113
115
|
click: (...args: any[]) => void;
|
|
114
116
|
command: (...args: any[]) => void;
|
|
115
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
117
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$28> & Readonly<{
|
|
116
118
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
117
119
|
onCommand?: ((...args: any[]) => any) | undefined;
|
|
118
120
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
119
|
-
declare const _default_1$
|
|
121
|
+
declare const _default_1$6: typeof __VLS_export$32;
|
|
120
122
|
//#endregion
|
|
121
123
|
//#region src/packages/controls/popconfirm/popconfirm.vue.d.ts
|
|
122
|
-
type __VLS_Props$
|
|
123
|
-
control: OptionT$
|
|
124
|
+
type __VLS_Props$27 = {
|
|
125
|
+
control: OptionT$35;
|
|
124
126
|
};
|
|
125
|
-
declare const __VLS_export$
|
|
127
|
+
declare const __VLS_export$31: _$vue.DefineComponent<__VLS_Props$27, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
126
128
|
click: (...args: any[]) => void;
|
|
127
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
129
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
128
130
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
129
131
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
130
|
-
declare const _default$25: typeof __VLS_export$
|
|
132
|
+
declare const _default$25: typeof __VLS_export$31;
|
|
131
133
|
declare namespace popconfirm_d_exports {
|
|
132
|
-
export { OptionT$
|
|
134
|
+
export { OptionT$35 as OptionT, Template$29 as Template, init$34 as init };
|
|
133
135
|
}
|
|
134
|
-
declare const Template$
|
|
135
|
-
type OptionT$
|
|
136
|
+
declare const Template$29: SFCWithInstall<typeof _default$25>;
|
|
137
|
+
type OptionT$35 = PopconfirmProps & PopconfirmEmits & baseT & {
|
|
136
138
|
reference: any;
|
|
137
139
|
actions: any;
|
|
138
|
-
button: Partial<OptionT$
|
|
140
|
+
button: Partial<OptionT$36>;
|
|
139
141
|
text: boolean;
|
|
140
142
|
tag: string;
|
|
141
143
|
disabled: boolean;
|
|
142
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
144
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$35>;
|
|
143
145
|
};
|
|
144
|
-
declare function init$
|
|
146
|
+
declare function init$34(moduleName: string, name: string, options?: Partial<OptionT$35>): OptionT$35;
|
|
145
147
|
//#endregion
|
|
146
148
|
//#region src/packages/controls/dropdown/dropdown.vue.d.ts
|
|
147
|
-
type __VLS_Props$
|
|
148
|
-
control: OptionT$
|
|
149
|
+
type __VLS_Props$26 = {
|
|
150
|
+
control: OptionT$34;
|
|
149
151
|
};
|
|
150
|
-
declare const __VLS_export$
|
|
152
|
+
declare const __VLS_export$30: _$vue.DefineComponent<__VLS_Props$26, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
151
153
|
click: (...args: any[]) => void;
|
|
152
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
154
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$26> & Readonly<{
|
|
153
155
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
154
156
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
155
|
-
declare const _default_1$
|
|
157
|
+
declare const _default_1$5: typeof __VLS_export$30;
|
|
156
158
|
declare namespace dropdown_d_exports {
|
|
157
|
-
export { DropdownItemOptionT, DropdownItemProps, DropdownPlacement, DropdownProps, DropdownSize, DropdownTrigger, DropdownType, OptionT$
|
|
159
|
+
export { DropdownItemOptionT, DropdownItemProps, DropdownPlacement, DropdownProps, DropdownSize, DropdownTrigger, DropdownType, OptionT$34 as OptionT, Template$28 as Template, areaT, init$33 as init };
|
|
158
160
|
}
|
|
159
|
-
declare const Template$
|
|
161
|
+
declare const Template$28: SFCWithInstall<typeof _default_1$5>;
|
|
160
162
|
type DropdownSize = '' | 'large' | 'default' | 'small';
|
|
161
163
|
type DropdownType = '' | 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger' | 'text';
|
|
162
164
|
type DropdownPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
@@ -175,7 +177,7 @@ type DropdownItemOptionT = DropdownItemProps & baseT & {
|
|
|
175
177
|
show: boolean;
|
|
176
178
|
click: (e: MouseEvent) => any | Promise<any>;
|
|
177
179
|
};
|
|
178
|
-
type OptionT$
|
|
180
|
+
type OptionT$34 = DropdownProps & baseT & {
|
|
179
181
|
default: any;
|
|
180
182
|
dropdown: any;
|
|
181
183
|
statusData: any;
|
|
@@ -186,22 +188,22 @@ type OptionT$33 = DropdownProps & baseT & {
|
|
|
186
188
|
showCheck: boolean;
|
|
187
189
|
checked: boolean;
|
|
188
190
|
}>[];
|
|
189
|
-
button: Partial<OptionT$
|
|
191
|
+
button: Partial<OptionT$36>;
|
|
190
192
|
icon?: string | Component;
|
|
191
193
|
text: boolean;
|
|
192
194
|
id: string;
|
|
193
195
|
disabled: boolean;
|
|
194
196
|
addItem: (name: string, options?: Partial<DropdownItemOptionT>) => void;
|
|
195
197
|
setItemAttrib: (name: string, attrib: any, value: any) => void;
|
|
196
|
-
refreshButton?: (options: any, data?: any) => Partial<OptionT$
|
|
198
|
+
refreshButton?: (options: any, data?: any) => Partial<OptionT$34>;
|
|
197
199
|
};
|
|
198
|
-
declare function init$
|
|
200
|
+
declare function init$33(moduleName: string, name: string, options?: Partial<OptionT$34>): OptionT$34;
|
|
199
201
|
declare namespace buttonGroup_d_exports {
|
|
200
|
-
export { ButtonsAreaT, ControlT, ControlTypeEnum, OptionT$
|
|
202
|
+
export { ButtonsAreaT, ControlT, ControlTypeEnum, OptionT$33 as OptionT, Template$27 as Template, createComponent, init$32 as init };
|
|
201
203
|
}
|
|
202
|
-
declare const Template$
|
|
204
|
+
declare const Template$27: SFCWithInstall<typeof _default_1$6>;
|
|
203
205
|
type ControlTypeEnum = 'button' | 'popconfirm' | 'dropdown';
|
|
204
|
-
type ControlT = OptionT$
|
|
206
|
+
type ControlT = OptionT$36 | OptionT$35 | OptionT$34;
|
|
205
207
|
type ButtonItemT = baseT & {
|
|
206
208
|
moduleName: string;
|
|
207
209
|
name: string;
|
|
@@ -210,11 +212,11 @@ type ButtonItemT = baseT & {
|
|
|
210
212
|
config: any;
|
|
211
213
|
disabled?: boolean;
|
|
212
214
|
};
|
|
213
|
-
type ButtonOptions = Partial<OptionT$
|
|
214
|
-
type PopconfirmOptions = Partial<OptionT$
|
|
215
|
-
type DropdownOptions = Partial<OptionT$
|
|
215
|
+
type ButtonOptions = Partial<OptionT$36>;
|
|
216
|
+
type PopconfirmOptions = Partial<OptionT$35>;
|
|
217
|
+
type DropdownOptions = Partial<OptionT$34>;
|
|
216
218
|
type ButtonsAreaT = "form" | "search" | "operate" | "table" | "tableLine" | "custom";
|
|
217
|
-
type OptionT$
|
|
219
|
+
type OptionT$33 = baseT & {
|
|
218
220
|
size: 'large' | 'default' | 'small';
|
|
219
221
|
type: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
220
222
|
isGroup: boolean;
|
|
@@ -229,12 +231,12 @@ type OptionT$32 = baseT & {
|
|
|
229
231
|
setAttrib: (name: string, attrib: any, value: any) => void;
|
|
230
232
|
changeButton: (name: string, options: any) => boolean;
|
|
231
233
|
};
|
|
232
|
-
declare function init$
|
|
234
|
+
declare function init$32(moduleName: string, options?: Partial<OptionT$33>): OptionT$33;
|
|
233
235
|
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
236
|
//#endregion
|
|
235
237
|
//#region src/packages/controls/dialog/dialog.vue.d.ts
|
|
236
|
-
type __VLS_Props$
|
|
237
|
-
control: OptionT$
|
|
238
|
+
type __VLS_Props$25 = {
|
|
239
|
+
control: OptionT$32;
|
|
238
240
|
};
|
|
239
241
|
declare var __VLS_16$1: {}, __VLS_34$1: {};
|
|
240
242
|
type __VLS_Slots$15 = {} & {
|
|
@@ -242,22 +244,22 @@ type __VLS_Slots$15 = {} & {
|
|
|
242
244
|
} & {
|
|
243
245
|
footer?: (props: typeof __VLS_34$1) => any;
|
|
244
246
|
};
|
|
245
|
-
declare const __VLS_base$15: _$vue.DefineComponent<__VLS_Props$
|
|
247
|
+
declare const __VLS_base$15: _$vue.DefineComponent<__VLS_Props$25, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
246
248
|
refreshData: (...args: any[]) => void;
|
|
247
|
-
}, string, _$vue.PublicProps, Readonly<__VLS_Props$
|
|
249
|
+
}, string, _$vue.PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
248
250
|
onRefreshData?: ((...args: any[]) => any) | undefined;
|
|
249
251
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
250
|
-
declare const __VLS_export$
|
|
251
|
-
declare const _default_1$
|
|
252
|
+
declare const __VLS_export$29: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
253
|
+
declare const _default_1$4: typeof __VLS_export$29;
|
|
252
254
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
253
255
|
new (): {
|
|
254
256
|
$slots: S;
|
|
255
257
|
};
|
|
256
258
|
};
|
|
257
259
|
declare namespace dialog_d_exports {
|
|
258
|
-
export { DIALOG_FORM_INJECTION_KEY, OptionT$
|
|
260
|
+
export { DIALOG_FORM_INJECTION_KEY, OptionT$32 as OptionT, Template$26 as Template, init$31 as init };
|
|
259
261
|
}
|
|
260
|
-
type OptionT$
|
|
262
|
+
type OptionT$32 = baseT & DialogProps & DialogEmits & {
|
|
261
263
|
direction: 'rtl' | 'ltr' | 'ttb' | 'btt' | 'center';
|
|
262
264
|
idValue: number;
|
|
263
265
|
params: Record<string, any>;
|
|
@@ -270,17 +272,33 @@ type OptionT$31 = baseT & DialogProps & DialogEmits & {
|
|
|
270
272
|
footer: any;
|
|
271
273
|
show: boolean;
|
|
272
274
|
loading: boolean;
|
|
273
|
-
buttons: OptionT$
|
|
275
|
+
buttons: OptionT$33;
|
|
274
276
|
_autoFormButtons: {
|
|
275
|
-
buttonGroup: OptionT$
|
|
277
|
+
buttonGroup: OptionT$33;
|
|
276
278
|
originalFormRef: any;
|
|
277
279
|
handleButtonClick: (buttonName: string, event: any) => void;
|
|
278
280
|
};
|
|
279
281
|
_formRegistration: any;
|
|
280
282
|
};
|
|
281
|
-
declare const Template$
|
|
283
|
+
declare const Template$26: SFCWithInstall<typeof _default_1$4>;
|
|
282
284
|
declare const DIALOG_FORM_INJECTION_KEY: unique symbol;
|
|
283
|
-
declare function init$
|
|
285
|
+
declare function init$31(name: string, templateName: any, buttons?: OptionT$33, options?: Partial<OptionT$32>): OptionT$32;
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/packages/controls/divider/divider.vue.d.ts
|
|
288
|
+
type __VLS_Props$24 = {
|
|
289
|
+
control: Partial<OptionT$31>;
|
|
290
|
+
};
|
|
291
|
+
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>;
|
|
292
|
+
declare const _default_1$3: typeof __VLS_export$28;
|
|
293
|
+
declare namespace divider_d_exports {
|
|
294
|
+
export { OptionT$31 as OptionT, Template$25 as Template, init$30 as init };
|
|
295
|
+
}
|
|
296
|
+
declare const Template$25: SFCWithInstall<typeof _default_1$3>;
|
|
297
|
+
type OptionT$31 = DividerProps & baseT & {
|
|
298
|
+
default: any;
|
|
299
|
+
text: string;
|
|
300
|
+
};
|
|
301
|
+
declare function init$30(moduleName: string, name: string, options?: Partial<OptionT$31>): Partial<OptionT$31>;
|
|
284
302
|
//#endregion
|
|
285
303
|
//#region src/packages/controls/tabPane/tabPane.vue.d.ts
|
|
286
304
|
type __VLS_Props$23 = {
|
|
@@ -367,7 +385,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
367
385
|
$root: _$vue.ComponentPublicInstance | null;
|
|
368
386
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
369
387
|
$host: Element | null;
|
|
370
|
-
$emit: ((event: "
|
|
388
|
+
$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
389
|
$el: any;
|
|
372
390
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
373
391
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -464,7 +482,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
464
482
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
465
483
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
466
484
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
467
|
-
}>, "
|
|
485
|
+
}>, "type" | "clear" | "input" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
468
486
|
input: HTMLInputElement | undefined;
|
|
469
487
|
textarea: HTMLTextAreaElement | undefined;
|
|
470
488
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -549,7 +567,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
549
567
|
$root: _$vue.ComponentPublicInstance | null;
|
|
550
568
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
551
569
|
$host: Element | null;
|
|
552
|
-
$emit: ((event: "
|
|
570
|
+
$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
571
|
$el: any;
|
|
554
572
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
555
573
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -646,7 +664,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$22, {
|
|
|
646
664
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
647
665
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
648
666
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
649
|
-
}>, "
|
|
667
|
+
}>, "type" | "clear" | "input" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
650
668
|
input: HTMLInputElement | undefined;
|
|
651
669
|
textarea: HTMLTextAreaElement | undefined;
|
|
652
670
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -982,7 +1000,7 @@ type InputTypeT = 'input' | 'inputNumber' | 'autocomplete' | 'inputTag';
|
|
|
982
1000
|
type InputTypeProps = {
|
|
983
1001
|
input: OptionT$30;
|
|
984
1002
|
inputNumber: OptionT$27;
|
|
985
|
-
autocomplete: OptionT$
|
|
1003
|
+
autocomplete: OptionT$37;
|
|
986
1004
|
inputTag: OptionT$28;
|
|
987
1005
|
};
|
|
988
1006
|
type BaseOptionT = {
|
|
@@ -1515,7 +1533,7 @@ declare namespace table_d_exports {
|
|
|
1515
1533
|
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
1534
|
}
|
|
1517
1535
|
declare const Template$8: SFCWithInstall<typeof _default$12>;
|
|
1518
|
-
type ControlOptionT$1 = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$
|
|
1536
|
+
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
1537
|
type ExtendedControlOptionT$1 = ControlOptionT$1 & OptionT$17 & {
|
|
1520
1538
|
/** 隐藏手机号 */display?: 'hide'; /** 数字保留小数位 */
|
|
1521
1539
|
decimalPlaces?: number;
|
|
@@ -1546,11 +1564,11 @@ type OptionT$13 = baseT & TableProps<any> & {
|
|
|
1546
1564
|
selectionWidth: number; /** 显示索引 */
|
|
1547
1565
|
showIndex: boolean; /** 显示全选 */
|
|
1548
1566
|
showCheckAll: boolean; /** 表格内容操作区按钮 */
|
|
1549
|
-
lineButtons: OptionT$
|
|
1550
|
-
headerLineButtons: OptionT$
|
|
1567
|
+
lineButtons: OptionT$33;
|
|
1568
|
+
headerLineButtons: OptionT$33;
|
|
1551
1569
|
allForm: boolean;
|
|
1552
1570
|
changeForm?: (val: any, name: string, scope: any) => void;
|
|
1553
|
-
otherButtons: OptionT$
|
|
1571
|
+
otherButtons: OptionT$33;
|
|
1554
1572
|
lineButtonWidth?: string | number;
|
|
1555
1573
|
columns: OptionT$17[];
|
|
1556
1574
|
clickRow: infoI;
|
|
@@ -1615,7 +1633,7 @@ declare function init$12(moduleName: string, name: string, options?: Partial<Opt
|
|
|
1615
1633
|
declare namespace formItems_d_exports {
|
|
1616
1634
|
export { CheckT, ControlOptionT, ExtendedControlOptionT, FormItemT, MergeSelectExtendedOptionT, OptionT$11 as OptionT, TagExtendedOptionT, init$11 as init };
|
|
1617
1635
|
}
|
|
1618
|
-
type ControlOptionT = OptionT$30 | OptionT$29 | OptionT$28 | OptionT$
|
|
1636
|
+
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
1637
|
type ExtendedControlOptionT = ControlOptionT & {
|
|
1620
1638
|
labelShow?: boolean;
|
|
1621
1639
|
hideLabel?: boolean;
|
|
@@ -1816,7 +1834,7 @@ type OptionT$8 = FormEmits & baseT & {
|
|
|
1816
1834
|
contents: Array<RwFormItems.OptionT | OptionT$9>;
|
|
1817
1835
|
contentsMap: Map<string, any>;
|
|
1818
1836
|
customizedDisabled: boolean;
|
|
1819
|
-
buttons: OptionT$
|
|
1837
|
+
buttons: OptionT$33;
|
|
1820
1838
|
buttonsPosition: 'top' | 'bottom' | 'both';
|
|
1821
1839
|
buttonLocation: 'start' | 'center' | 'end';
|
|
1822
1840
|
hideSubmitClose: boolean;
|
|
@@ -1938,8 +1956,8 @@ type typeT = "table" | "form" | "info" | "query" | "customize";
|
|
|
1938
1956
|
type OptionT$7 = {
|
|
1939
1957
|
name: string;
|
|
1940
1958
|
type: typeT;
|
|
1941
|
-
dialogs: OptionT$
|
|
1942
|
-
pushDialog: (name: string, templateName: any, buttons?: OptionT$
|
|
1959
|
+
dialogs: OptionT$32[];
|
|
1960
|
+
pushDialog: (name: string, templateName: any, buttons?: OptionT$33, options?: Partial<OptionT$32>) => void;
|
|
1943
1961
|
showDialog: (name: string, id?: number, params?: Record<string, any>) => void;
|
|
1944
1962
|
};
|
|
1945
1963
|
declare const init$7: (name: string, pageType: typeT, options?: Partial<OptionT$7>) => OptionT$7;
|
|
@@ -2095,8 +2113,8 @@ declare namespace pageTable_d_exports {
|
|
|
2095
2113
|
declare const Template$2: SFCWithInstall<typeof _default$3>;
|
|
2096
2114
|
type OptionT$3 = {
|
|
2097
2115
|
struct: OptionT$5;
|
|
2098
|
-
operateButtons: OptionT$
|
|
2099
|
-
tableButtons: OptionT$
|
|
2116
|
+
operateButtons: OptionT$33;
|
|
2117
|
+
tableButtons: OptionT$33;
|
|
2100
2118
|
table: OptionT$13;
|
|
2101
2119
|
pagination: OptionT$1;
|
|
2102
2120
|
search: OptionT | false;
|
|
@@ -2203,7 +2221,7 @@ type OptionT = baseT & {
|
|
|
2203
2221
|
struct?: OptionT$5;
|
|
2204
2222
|
labelWidth?: string | number;
|
|
2205
2223
|
formItems: RwFormItems.OptionT;
|
|
2206
|
-
buttons?: OptionT$
|
|
2224
|
+
buttons?: OptionT$33;
|
|
2207
2225
|
complex: complexT;
|
|
2208
2226
|
defaultData: Record<string, any>;
|
|
2209
2227
|
getSearchData: (data: any) => Record<string, any>;
|
|
@@ -2217,7 +2235,7 @@ type OptionT = baseT & {
|
|
|
2217
2235
|
};
|
|
2218
2236
|
declare const init: (struct: OptionT$5, options?: Partial<OptionT>) => OptionT;
|
|
2219
2237
|
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 };
|
|
2238
|
+
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
2239
|
}
|
|
2222
2240
|
//#endregion
|
|
2223
|
-
export {
|
|
2241
|
+
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, __exportAll as H, 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 };
|