@aplus-frontend/ui 0.0.1-beta.5 → 0.0.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +114 -83
- package/es/src/ap-action/constant.d.ts +0 -0
- package/es/src/ap-action/group/index.vue.d.ts +38 -0
- package/es/src/ap-action/group/index.vue.mjs +64 -0
- package/es/src/ap-action/group/index.vue2.mjs +4 -0
- package/es/src/ap-action/index.d.ts +14 -0
- package/es/src/ap-action/index.mjs +17 -0
- package/es/src/ap-action/interface.d.ts +81 -0
- package/es/src/ap-action/item/index.vue.d.ts +44 -0
- package/es/src/ap-action/item/index.vue.mjs +49 -0
- package/es/src/ap-action/item/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/es/src/ap-action/item-dropdown/index.vue.mjs +92 -0
- package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/es/src/ap-action/item-modal/index.vue.mjs +34 -0
- package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +37 -0
- package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
- package/es/src/ap-action/style/item-dropdown.css +11 -0
- package/es/src/ap-action/style/item.css +28 -0
- package/es/src/ap-field/checkbox/helper.mjs +5 -0
- package/es/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +56 -0
- package/es/src/ap-field/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-field/date/constant.mjs +50 -0
- package/es/src/ap-field/date/helper.d.ts +2 -0
- package/es/src/ap-field/date/helper.mjs +10 -0
- package/es/src/ap-field/date/index.vue.d.ts +57 -0
- package/es/src/ap-field/date/index.vue.mjs +75 -0
- package/es/src/ap-field/date/index.vue2.mjs +4 -0
- package/es/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/es/src/ap-field/date-range/index.vue.mjs +87 -0
- package/es/src/ap-field/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-field/index.d.ts +9 -3
- package/es/src/ap-field/interface.d.ts +65 -5
- package/es/src/ap-field/number/helper.d.ts +1 -0
- package/es/src/ap-field/number/helper.mjs +14 -0
- package/es/src/ap-field/number/index.vue.d.ts +72 -0
- package/es/src/ap-field/number/index.vue.mjs +108 -0
- package/es/src/ap-field/number/index.vue2.mjs +4 -0
- package/es/src/ap-field/number/style.css +6 -0
- package/es/src/ap-field/radio/helper.d.ts +4 -0
- package/es/src/ap-field/radio/helper.mjs +5 -0
- package/es/src/ap-field/radio/index.vue.d.ts +40 -0
- package/es/src/ap-field/radio/index.vue.mjs +68 -0
- package/es/src/ap-field/radio/index.vue2.mjs +4 -0
- package/es/src/ap-field/select/index.vue.d.ts +235 -0
- package/es/src/ap-field/select/index.vue.mjs +114 -0
- package/es/src/ap-field/select/index.vue2.mjs +4 -0
- package/es/src/ap-field/switch/index.vue.d.ts +54 -0
- package/es/src/ap-field/switch/index.vue.mjs +122 -0
- package/es/src/ap-field/switch/index.vue2.mjs +4 -0
- package/es/src/ap-field/text/index.vue.d.ts +63 -0
- package/es/src/ap-field/text/index.vue.mjs +132 -0
- package/es/src/ap-field/text/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/es/src/ap-field/text-area/index.vue.mjs +86 -0
- package/es/src/ap-field/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/style.css +5 -0
- package/es/src/ap-form/index.d.ts +64 -64
- package/es/src/base-button/index.d.ts +28 -28
- package/es/src/basic/help.vue.d.ts +1 -1
- package/es/src/basic/index.d.ts +3 -3
- package/es/src/config-provider/config-provider.d.ts +2 -2
- package/es/src/config-provider/index.d.ts +6 -6
- package/es/src/count-down/index.d.ts +12 -12
- package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/index.d.ts +42 -42
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/index.d.ts +3 -3
- package/es/src/design-token/index.d.ts +4 -0
- package/es/src/design-token/index.mjs +59 -0
- package/es/src/dropdown/dropdown.vue.d.ts +1 -1
- package/es/src/dropdown/index.d.ts +7 -7
- package/es/src/icon/index.d.ts +41 -41
- package/es/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/es/src/icon-picker/index.d.ts +45 -45
- package/es/src/index.d.ts +3 -0
- package/es/src/index.mjs +121 -90
- package/es/src/modal/basic.vue.d.ts +3 -2
- package/es/src/modal/basic.vue.mjs +53 -49
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +7 -8
- package/es/src/modal/index.mjs +2 -3
- package/es/src/modal/props.mjs +1 -1
- package/es/src/modal/style/index.css +29 -30
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-form-events.mjs +22 -22
- package/es/src/pro-form/hooks/use-form-values.mjs +12 -12
- package/es/src/pro-form/hooks/use-label-width.d.ts +5 -5
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.mjs +23 -23
- package/es/src/pro-table/hooks/use-columns.mjs +24 -24
- package/es/src/strength-meter/index.d.ts +12 -12
- package/es/src/theme/ap-action/item-dropdown.css +11 -0
- package/es/src/theme/ap-action/item.css +28 -0
- package/es/src/theme/ap-field/number.css +6 -0
- package/es/src/theme/ap-field/text-area.css +5 -0
- package/es/src/theme/modal/index.css +29 -30
- package/es/src/type.d.ts +3 -1
- package/es/src/utils/index.d.ts +7 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-action/constant.d.ts +0 -0
- package/lib/src/ap-action/group/index.vue.d.ts +38 -0
- package/lib/src/ap-action/group/index.vue.js +1 -0
- package/lib/src/ap-action/group/index.vue2.js +1 -0
- package/lib/src/ap-action/index.d.ts +14 -0
- package/lib/src/ap-action/index.js +1 -0
- package/lib/src/ap-action/interface.d.ts +81 -0
- package/lib/src/ap-action/item/index.vue.d.ts +44 -0
- package/lib/src/ap-action/item/index.vue.js +1 -0
- package/lib/src/ap-action/item/index.vue2.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/lib/src/ap-action/item-modal/index.vue.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
- package/lib/src/ap-action/style/item-dropdown.css +11 -0
- package/lib/src/ap-action/style/item.css +28 -0
- package/lib/src/ap-field/checkbox/helper.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-field/date/constant.js +1 -0
- package/lib/src/ap-field/date/helper.d.ts +2 -0
- package/lib/src/ap-field/date/helper.js +1 -0
- package/lib/src/ap-field/date/index.vue.d.ts +57 -0
- package/lib/src/ap-field/date/index.vue.js +1 -0
- package/lib/src/ap-field/date/index.vue2.js +1 -0
- package/lib/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/lib/src/ap-field/date-range/index.vue.js +1 -0
- package/lib/src/ap-field/date-range/index.vue2.js +1 -0
- package/lib/src/ap-field/index.d.ts +9 -3
- package/lib/src/ap-field/interface.d.ts +65 -5
- package/lib/src/ap-field/number/helper.d.ts +1 -0
- package/lib/src/ap-field/number/helper.js +1 -0
- package/lib/src/ap-field/number/index.vue.d.ts +72 -0
- package/lib/src/ap-field/number/index.vue.js +1 -0
- package/lib/src/ap-field/number/index.vue2.js +1 -0
- package/lib/src/ap-field/number/style.css +6 -0
- package/lib/src/ap-field/radio/helper.d.ts +4 -0
- package/lib/src/ap-field/radio/helper.js +1 -0
- package/lib/src/ap-field/radio/index.vue.d.ts +40 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -0
- package/lib/src/ap-field/radio/index.vue2.js +1 -0
- package/lib/src/ap-field/select/index.vue.d.ts +235 -0
- package/lib/src/ap-field/select/index.vue.js +1 -0
- package/lib/src/ap-field/select/index.vue2.js +1 -0
- package/lib/src/ap-field/switch/index.vue.d.ts +54 -0
- package/lib/src/ap-field/switch/index.vue.js +1 -0
- package/lib/src/ap-field/switch/index.vue2.js +1 -0
- package/lib/src/ap-field/text/index.vue.d.ts +63 -0
- package/lib/src/ap-field/text/index.vue.js +1 -0
- package/lib/src/ap-field/text/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/lib/src/ap-field/text-area/index.vue.js +1 -0
- package/lib/src/ap-field/text-area/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/style.css +5 -0
- package/lib/src/ap-form/index.d.ts +64 -64
- package/lib/src/base-button/index.d.ts +28 -28
- package/lib/src/basic/help.vue.d.ts +1 -1
- package/lib/src/basic/index.d.ts +3 -3
- package/lib/src/config-provider/config-provider.d.ts +2 -2
- package/lib/src/config-provider/index.d.ts +6 -6
- package/lib/src/count-down/index.d.ts +12 -12
- package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/index.d.ts +42 -42
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/index.d.ts +3 -3
- package/lib/src/design-token/index.d.ts +4 -0
- package/lib/src/design-token/index.js +1 -0
- package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/src/dropdown/index.d.ts +7 -7
- package/lib/src/icon/index.d.ts +41 -41
- package/lib/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/lib/src/icon-picker/index.d.ts +45 -45
- package/lib/src/index.d.ts +3 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +3 -2
- package/lib/src/modal/basic.vue.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +7 -8
- package/lib/src/modal/index.js +1 -1
- package/lib/src/modal/props.js +1 -1
- package/lib/src/modal/style/index.css +29 -30
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-values.js +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +5 -5
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.js +1 -1
- package/lib/src/pro-table/hooks/use-columns.js +1 -1
- package/lib/src/strength-meter/index.d.ts +12 -12
- package/lib/src/theme/ap-action/item-dropdown.css +11 -0
- package/lib/src/theme/ap-action/item.css +28 -0
- package/lib/src/theme/ap-field/number.css +6 -0
- package/lib/src/theme/ap-field/text-area.css +5 -0
- package/lib/src/theme/modal/index.css +29 -30
- package/lib/src/type.d.ts +3 -1
- package/lib/src/utils/index.d.ts +7 -0
- package/package.json +3 -3
|
@@ -4,14 +4,14 @@ import { ButtonProps } from '..';
|
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export declare const CropperImage: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
-
options: {
|
|
8
|
-
type: PropType<CropperOptions>;
|
|
9
|
-
default: () => {};
|
|
10
|
-
};
|
|
11
7
|
height: {
|
|
12
8
|
type: PropType<string | number>;
|
|
13
9
|
default: string;
|
|
14
10
|
};
|
|
11
|
+
options: {
|
|
12
|
+
type: PropType<CropperOptions>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
15
|
imageStyle: {
|
|
16
16
|
type: PropType<CSSProperties>;
|
|
17
17
|
default: () => {};
|
|
@@ -44,14 +44,14 @@ export declare const CropperImage: {
|
|
|
44
44
|
ready: (...args: any[]) => void;
|
|
45
45
|
cropendError: (...args: any[]) => void;
|
|
46
46
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
47
|
-
options: {
|
|
48
|
-
type: PropType<CropperOptions>;
|
|
49
|
-
default: () => {};
|
|
50
|
-
};
|
|
51
47
|
height: {
|
|
52
48
|
type: PropType<string | number>;
|
|
53
49
|
default: string;
|
|
54
50
|
};
|
|
51
|
+
options: {
|
|
52
|
+
type: PropType<CropperOptions>;
|
|
53
|
+
default: () => {};
|
|
54
|
+
};
|
|
55
55
|
imageStyle: {
|
|
56
56
|
type: PropType<CSSProperties>;
|
|
57
57
|
default: () => {};
|
|
@@ -80,8 +80,8 @@ export declare const CropperImage: {
|
|
|
80
80
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
onCropendError?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
options: CropperOptions;
|
|
84
83
|
height: string | number;
|
|
84
|
+
options: CropperOptions;
|
|
85
85
|
imageStyle: CSSProperties;
|
|
86
86
|
circled: boolean;
|
|
87
87
|
realTimePreview: boolean;
|
|
@@ -94,14 +94,14 @@ export declare const CropperImage: {
|
|
|
94
94
|
M: {};
|
|
95
95
|
Defaults: {};
|
|
96
96
|
}, Readonly< ExtractPropTypes<{
|
|
97
|
-
options: {
|
|
98
|
-
type: PropType<CropperOptions>;
|
|
99
|
-
default: () => {};
|
|
100
|
-
};
|
|
101
97
|
height: {
|
|
102
98
|
type: PropType<string | number>;
|
|
103
99
|
default: string;
|
|
104
100
|
};
|
|
101
|
+
options: {
|
|
102
|
+
type: PropType<CropperOptions>;
|
|
103
|
+
default: () => {};
|
|
104
|
+
};
|
|
105
105
|
imageStyle: {
|
|
106
106
|
type: PropType<CSSProperties>;
|
|
107
107
|
default: () => {};
|
|
@@ -130,8 +130,8 @@ export declare const CropperImage: {
|
|
|
130
130
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
onCropendError?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
}, {}, {}, {}, {}, {
|
|
133
|
-
options: CropperOptions;
|
|
134
133
|
height: string | number;
|
|
134
|
+
options: CropperOptions;
|
|
135
135
|
imageStyle: CSSProperties;
|
|
136
136
|
circled: boolean;
|
|
137
137
|
realTimePreview: boolean;
|
|
@@ -141,14 +141,14 @@ export declare const CropperImage: {
|
|
|
141
141
|
__isTeleport?: undefined;
|
|
142
142
|
__isSuspense?: undefined;
|
|
143
143
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
144
|
-
options: {
|
|
145
|
-
type: PropType<CropperOptions>;
|
|
146
|
-
default: () => {};
|
|
147
|
-
};
|
|
148
144
|
height: {
|
|
149
145
|
type: PropType<string | number>;
|
|
150
146
|
default: string;
|
|
151
147
|
};
|
|
148
|
+
options: {
|
|
149
|
+
type: PropType<CropperOptions>;
|
|
150
|
+
default: () => {};
|
|
151
|
+
};
|
|
152
152
|
imageStyle: {
|
|
153
153
|
type: PropType<CSSProperties>;
|
|
154
154
|
default: () => {};
|
|
@@ -181,8 +181,8 @@ export declare const CropperImage: {
|
|
|
181
181
|
ready: (...args: any[]) => void;
|
|
182
182
|
cropendError: (...args: any[]) => void;
|
|
183
183
|
}, string, {
|
|
184
|
-
options: CropperOptions;
|
|
185
184
|
height: string | number;
|
|
185
|
+
options: CropperOptions;
|
|
186
186
|
imageStyle: CSSProperties;
|
|
187
187
|
circled: boolean;
|
|
188
188
|
realTimePreview: boolean;
|
|
@@ -194,16 +194,16 @@ export declare const CropperImage: {
|
|
|
194
194
|
});
|
|
195
195
|
export declare const CropperAvatar: {
|
|
196
196
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
197
|
-
|
|
198
|
-
type: PropType<string>;
|
|
197
|
+
width: {
|
|
198
|
+
type: PropType<string | number>;
|
|
199
|
+
default: string;
|
|
199
200
|
};
|
|
200
201
|
size: {
|
|
201
202
|
type: PropType<number>;
|
|
202
203
|
default: number;
|
|
203
204
|
};
|
|
204
|
-
|
|
205
|
-
type: PropType<string
|
|
206
|
-
default: string;
|
|
205
|
+
value: {
|
|
206
|
+
type: PropType<string>;
|
|
207
207
|
};
|
|
208
208
|
uploadApi: {
|
|
209
209
|
type: PropType<({ file, name }: {
|
|
@@ -232,16 +232,16 @@ export declare const CropperAvatar: {
|
|
|
232
232
|
change: (...args: any[]) => void;
|
|
233
233
|
"update:value": (...args: any[]) => void;
|
|
234
234
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
235
|
-
|
|
236
|
-
type: PropType<string>;
|
|
235
|
+
width: {
|
|
236
|
+
type: PropType<string | number>;
|
|
237
|
+
default: string;
|
|
237
238
|
};
|
|
238
239
|
size: {
|
|
239
240
|
type: PropType<number>;
|
|
240
241
|
default: number;
|
|
241
242
|
};
|
|
242
|
-
|
|
243
|
-
type: PropType<string
|
|
244
|
-
default: string;
|
|
243
|
+
value: {
|
|
244
|
+
type: PropType<string>;
|
|
245
245
|
};
|
|
246
246
|
uploadApi: {
|
|
247
247
|
type: PropType<({ file, name }: {
|
|
@@ -264,8 +264,8 @@ export declare const CropperAvatar: {
|
|
|
264
264
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
266
266
|
}, {
|
|
267
|
-
size: number;
|
|
268
267
|
width: string | number;
|
|
268
|
+
size: number;
|
|
269
269
|
showBtn: boolean;
|
|
270
270
|
btnText: string;
|
|
271
271
|
}, true, {}, {}, {
|
|
@@ -276,16 +276,16 @@ export declare const CropperAvatar: {
|
|
|
276
276
|
M: {};
|
|
277
277
|
Defaults: {};
|
|
278
278
|
}, Readonly< ExtractPropTypes<{
|
|
279
|
-
|
|
280
|
-
type: PropType<string>;
|
|
279
|
+
width: {
|
|
280
|
+
type: PropType<string | number>;
|
|
281
|
+
default: string;
|
|
281
282
|
};
|
|
282
283
|
size: {
|
|
283
284
|
type: PropType<number>;
|
|
284
285
|
default: number;
|
|
285
286
|
};
|
|
286
|
-
|
|
287
|
-
type: PropType<string
|
|
288
|
-
default: string;
|
|
287
|
+
value: {
|
|
288
|
+
type: PropType<string>;
|
|
289
289
|
};
|
|
290
290
|
uploadApi: {
|
|
291
291
|
type: PropType<({ file, name }: {
|
|
@@ -311,8 +311,8 @@ export declare const CropperAvatar: {
|
|
|
311
311
|
openModal: (data?: unknown, openOnSet?: boolean | undefined) => void;
|
|
312
312
|
closeModal: () => void;
|
|
313
313
|
}, {}, {}, {}, {
|
|
314
|
-
size: number;
|
|
315
314
|
width: string | number;
|
|
315
|
+
size: number;
|
|
316
316
|
showBtn: boolean;
|
|
317
317
|
btnText: string;
|
|
318
318
|
}>;
|
|
@@ -320,16 +320,16 @@ export declare const CropperAvatar: {
|
|
|
320
320
|
__isTeleport?: undefined;
|
|
321
321
|
__isSuspense?: undefined;
|
|
322
322
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
323
|
-
|
|
324
|
-
type: PropType<string>;
|
|
323
|
+
width: {
|
|
324
|
+
type: PropType<string | number>;
|
|
325
|
+
default: string;
|
|
325
326
|
};
|
|
326
327
|
size: {
|
|
327
328
|
type: PropType<number>;
|
|
328
329
|
default: number;
|
|
329
330
|
};
|
|
330
|
-
|
|
331
|
-
type: PropType<string
|
|
332
|
-
default: string;
|
|
331
|
+
value: {
|
|
332
|
+
type: PropType<string>;
|
|
333
333
|
};
|
|
334
334
|
uploadApi: {
|
|
335
335
|
type: PropType<({ file, name }: {
|
|
@@ -358,8 +358,8 @@ export declare const CropperAvatar: {
|
|
|
358
358
|
change: (...args: any[]) => void;
|
|
359
359
|
"update:value": (...args: any[]) => void;
|
|
360
360
|
}, string, {
|
|
361
|
-
size: number;
|
|
362
361
|
width: string | number;
|
|
362
|
+
size: number;
|
|
363
363
|
showBtn: boolean;
|
|
364
364
|
btnText: string;
|
|
365
365
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
@@ -85,9 +85,9 @@ declare const _default: DefineComponent<{
|
|
|
85
85
|
}>> & {
|
|
86
86
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
}, {
|
|
88
|
+
title: string;
|
|
88
89
|
size: string;
|
|
89
90
|
bordered: boolean;
|
|
90
|
-
title: string;
|
|
91
91
|
column: number | Record<string, any>;
|
|
92
92
|
schema: DescItem[];
|
|
93
93
|
useCollapse: boolean;
|
|
@@ -89,9 +89,9 @@ export declare const Description: {
|
|
|
89
89
|
}>> & {
|
|
90
90
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
+
title: string;
|
|
92
93
|
size: string;
|
|
93
94
|
bordered: boolean;
|
|
94
|
-
title: string;
|
|
95
95
|
column: number | Record<string, any>;
|
|
96
96
|
schema: DescItem[];
|
|
97
97
|
useCollapse: boolean;
|
|
@@ -146,9 +146,9 @@ export declare const Description: {
|
|
|
146
146
|
}>> & {
|
|
147
147
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
148
148
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
149
|
+
title: string;
|
|
149
150
|
size: string;
|
|
150
151
|
bordered: boolean;
|
|
151
|
-
title: string;
|
|
152
152
|
column: number | Record<string, any>;
|
|
153
153
|
schema: DescItem[];
|
|
154
154
|
useCollapse: boolean;
|
|
@@ -200,9 +200,9 @@ export declare const Description: {
|
|
|
200
200
|
}>> & {
|
|
201
201
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
202
202
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "register"[], "register", {
|
|
203
|
+
title: string;
|
|
203
204
|
size: string;
|
|
204
205
|
bordered: boolean;
|
|
205
|
-
title: string;
|
|
206
206
|
column: number | Record<string, any>;
|
|
207
207
|
schema: DescItem[];
|
|
208
208
|
useCollapse: boolean;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
borderRadius: 4
|
|
3
|
+
}, r = {
|
|
4
|
+
...o,
|
|
5
|
+
// 主色
|
|
6
|
+
colorPrimary: "#0070FF",
|
|
7
|
+
colorPrimaryHover: "#66A9FF",
|
|
8
|
+
colorPrimaryActive: "#338CFF",
|
|
9
|
+
// 字体颜色
|
|
10
|
+
colorTextBase: "#182948",
|
|
11
|
+
colorText: "#182948",
|
|
12
|
+
colorTextSecondary: "#526A90",
|
|
13
|
+
colorTextTertiary: "#8896B0",
|
|
14
|
+
// 边框颜色
|
|
15
|
+
colorBorder: "#DEE4ED",
|
|
16
|
+
// 分割线颜色
|
|
17
|
+
colorSplit: "#E9EDF3",
|
|
18
|
+
// 信息色
|
|
19
|
+
colorInfo: "#0070FF",
|
|
20
|
+
// 成功色
|
|
21
|
+
colorSuccess: "#2ED1A3",
|
|
22
|
+
// 错误色
|
|
23
|
+
colorError: "#FF4D4F",
|
|
24
|
+
// 警告色
|
|
25
|
+
colorWarning: "#FFA940",
|
|
26
|
+
colorBgContainerDisabled: "#F9F9FA",
|
|
27
|
+
wireframe: !1,
|
|
28
|
+
colorBgLayout: "#F2F6F9"
|
|
29
|
+
}, c = {
|
|
30
|
+
...o,
|
|
31
|
+
// 主色
|
|
32
|
+
colorPrimary: "#34B77C",
|
|
33
|
+
colorPrimaryHover: "#85D4B0",
|
|
34
|
+
colorPrimaryActive: "#5DC596",
|
|
35
|
+
colorBgContainerDisabled: "#f5f5f5",
|
|
36
|
+
// 字体颜色
|
|
37
|
+
colorText: "#333333",
|
|
38
|
+
colorTextSecondary: "#666666",
|
|
39
|
+
colorTextTertiary: "#999999",
|
|
40
|
+
// 边框颜色
|
|
41
|
+
colorBorder: "#D9D9D9",
|
|
42
|
+
// 分割线颜色
|
|
43
|
+
colorSplit: "#E9E9E9",
|
|
44
|
+
// 信息色
|
|
45
|
+
colorInfo: "#1890FF",
|
|
46
|
+
// 成功色
|
|
47
|
+
colorSuccess: "#52C41A",
|
|
48
|
+
// 错误色
|
|
49
|
+
colorError: "#FF4D4F",
|
|
50
|
+
// 警告色
|
|
51
|
+
colorWarning: "#FAAD14",
|
|
52
|
+
colorLink: "#1890FF",
|
|
53
|
+
wireframe: !1,
|
|
54
|
+
colorBgLayout: "#FAFAFA"
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
c as adminToken,
|
|
58
|
+
r as aplusToken
|
|
59
|
+
};
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
15
15
|
}>>> & {
|
|
16
16
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
trigger: ("click" | "
|
|
18
|
+
trigger: ("click" | "hover" | "contextmenu")[];
|
|
19
19
|
selectedKeys: string[];
|
|
20
20
|
dropMenuList: (DropMenu & Recordable<any>)[];
|
|
21
21
|
}, {}>, {
|
|
@@ -5,7 +5,7 @@ export * from './interface';
|
|
|
5
5
|
export declare const Dropdown: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
7
|
trigger: {
|
|
8
|
-
type: PropType<("click" | "
|
|
8
|
+
type: PropType<("click" | "hover" | "contextmenu")[]>;
|
|
9
9
|
default: () => string[];
|
|
10
10
|
};
|
|
11
11
|
selectedKeys: {
|
|
@@ -25,7 +25,7 @@ export declare const Dropdown: {
|
|
|
25
25
|
menuEvent: (...args: any[]) => void;
|
|
26
26
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
27
27
|
trigger: {
|
|
28
|
-
type: PropType<("click" | "
|
|
28
|
+
type: PropType<("click" | "hover" | "contextmenu")[]>;
|
|
29
29
|
default: () => string[];
|
|
30
30
|
};
|
|
31
31
|
selectedKeys: {
|
|
@@ -42,7 +42,7 @@ export declare const Dropdown: {
|
|
|
42
42
|
}>> & {
|
|
43
43
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
trigger: ("click" | "
|
|
45
|
+
trigger: ("click" | "hover" | "contextmenu")[];
|
|
46
46
|
selectedKeys: string[];
|
|
47
47
|
dropMenuList: ( DropMenu & Recordable<any>)[];
|
|
48
48
|
}, true, {}, {}, {
|
|
@@ -54,7 +54,7 @@ export declare const Dropdown: {
|
|
|
54
54
|
Defaults: {};
|
|
55
55
|
}, Readonly< ExtractPropTypes<{
|
|
56
56
|
trigger: {
|
|
57
|
-
type: PropType<("click" | "
|
|
57
|
+
type: PropType<("click" | "hover" | "contextmenu")[]>;
|
|
58
58
|
default: () => string[];
|
|
59
59
|
};
|
|
60
60
|
selectedKeys: {
|
|
@@ -71,7 +71,7 @@ export declare const Dropdown: {
|
|
|
71
71
|
}>> & {
|
|
72
72
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
}, {}, {}, {}, {}, {
|
|
74
|
-
trigger: ("click" | "
|
|
74
|
+
trigger: ("click" | "hover" | "contextmenu")[];
|
|
75
75
|
selectedKeys: string[];
|
|
76
76
|
dropMenuList: ( DropMenu & Recordable<any>)[];
|
|
77
77
|
}>;
|
|
@@ -80,7 +80,7 @@ export declare const Dropdown: {
|
|
|
80
80
|
__isSuspense?: undefined;
|
|
81
81
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
82
82
|
trigger: {
|
|
83
|
-
type: PropType<("click" | "
|
|
83
|
+
type: PropType<("click" | "hover" | "contextmenu")[]>;
|
|
84
84
|
default: () => string[];
|
|
85
85
|
};
|
|
86
86
|
selectedKeys: {
|
|
@@ -99,7 +99,7 @@ export declare const Dropdown: {
|
|
|
99
99
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
100
|
menuEvent: (...args: any[]) => void;
|
|
101
101
|
}, string, {
|
|
102
|
-
trigger: ("click" | "
|
|
102
|
+
trigger: ("click" | "hover" | "contextmenu")[];
|
|
103
103
|
selectedKeys: string[];
|
|
104
104
|
dropMenuList: ( DropMenu & Recordable<any>)[];
|
|
105
105
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
package/es/src/icon/index.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
2
2
|
export * from './interface';
|
|
3
3
|
export declare const Icon: {
|
|
4
4
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
5
|
+
color: {
|
|
6
|
+
type: PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
5
12
|
size: {
|
|
6
13
|
type: PropType<string | number>;
|
|
7
14
|
default: number;
|
|
@@ -10,18 +17,18 @@ export declare const Icon: {
|
|
|
10
17
|
type: PropType<string>;
|
|
11
18
|
default: string;
|
|
12
19
|
};
|
|
13
|
-
color: {
|
|
14
|
-
type: PropType<string>;
|
|
15
|
-
};
|
|
16
20
|
spin: {
|
|
17
21
|
type: PropType<boolean>;
|
|
18
22
|
default: boolean;
|
|
19
23
|
};
|
|
24
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
25
|
+
color: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
};
|
|
20
28
|
icon: {
|
|
21
29
|
type: PropType<string>;
|
|
22
30
|
required: true;
|
|
23
31
|
};
|
|
24
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
25
32
|
size: {
|
|
26
33
|
type: PropType<string | number>;
|
|
27
34
|
default: number;
|
|
@@ -30,17 +37,10 @@ export declare const Icon: {
|
|
|
30
37
|
type: PropType<string>;
|
|
31
38
|
default: string;
|
|
32
39
|
};
|
|
33
|
-
color: {
|
|
34
|
-
type: PropType<string>;
|
|
35
|
-
};
|
|
36
40
|
spin: {
|
|
37
41
|
type: PropType<boolean>;
|
|
38
42
|
default: boolean;
|
|
39
43
|
};
|
|
40
|
-
icon: {
|
|
41
|
-
type: PropType<string>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
44
|
}>>, {
|
|
45
45
|
size: string | number;
|
|
46
46
|
prefix: string;
|
|
@@ -53,6 +53,13 @@ export declare const Icon: {
|
|
|
53
53
|
M: {};
|
|
54
54
|
Defaults: {};
|
|
55
55
|
}, Readonly< ExtractPropTypes<{
|
|
56
|
+
color: {
|
|
57
|
+
type: PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
icon: {
|
|
60
|
+
type: PropType<string>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
56
63
|
size: {
|
|
57
64
|
type: PropType<string | number>;
|
|
58
65
|
default: number;
|
|
@@ -61,17 +68,10 @@ export declare const Icon: {
|
|
|
61
68
|
type: PropType<string>;
|
|
62
69
|
default: string;
|
|
63
70
|
};
|
|
64
|
-
color: {
|
|
65
|
-
type: PropType<string>;
|
|
66
|
-
};
|
|
67
71
|
spin: {
|
|
68
72
|
type: PropType<boolean>;
|
|
69
73
|
default: boolean;
|
|
70
74
|
};
|
|
71
|
-
icon: {
|
|
72
|
-
type: PropType<string>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
75
|
}>>, {}, {}, {}, {}, {
|
|
76
76
|
size: string | number;
|
|
77
77
|
prefix: string;
|
|
@@ -81,6 +81,13 @@ export declare const Icon: {
|
|
|
81
81
|
__isTeleport?: undefined;
|
|
82
82
|
__isSuspense?: undefined;
|
|
83
83
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
84
|
+
color: {
|
|
85
|
+
type: PropType<string>;
|
|
86
|
+
};
|
|
87
|
+
icon: {
|
|
88
|
+
type: PropType<string>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
84
91
|
size: {
|
|
85
92
|
type: PropType<string | number>;
|
|
86
93
|
default: number;
|
|
@@ -89,17 +96,10 @@ export declare const Icon: {
|
|
|
89
96
|
type: PropType<string>;
|
|
90
97
|
default: string;
|
|
91
98
|
};
|
|
92
|
-
color: {
|
|
93
|
-
type: PropType<string>;
|
|
94
|
-
};
|
|
95
99
|
spin: {
|
|
96
100
|
type: PropType<boolean>;
|
|
97
101
|
default: boolean;
|
|
98
102
|
};
|
|
99
|
-
icon: {
|
|
100
|
-
type: PropType<string>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
103
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
104
104
|
size: string | number;
|
|
105
105
|
prefix: string;
|
|
@@ -111,14 +111,14 @@ export declare const Icon: {
|
|
|
111
111
|
});
|
|
112
112
|
export declare const SvgIcon: {
|
|
113
113
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
114
|
-
name: {
|
|
115
|
-
type: PropType<string>;
|
|
116
|
-
required: true;
|
|
117
|
-
};
|
|
118
114
|
size: {
|
|
119
115
|
type: PropType<string | number>;
|
|
120
116
|
default: number;
|
|
121
117
|
};
|
|
118
|
+
name: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
122
|
prefix: {
|
|
123
123
|
type: PropType<string>;
|
|
124
124
|
default: string;
|
|
@@ -128,14 +128,14 @@ export declare const SvgIcon: {
|
|
|
128
128
|
default: boolean;
|
|
129
129
|
};
|
|
130
130
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
131
|
-
name: {
|
|
132
|
-
type: PropType<string>;
|
|
133
|
-
required: true;
|
|
134
|
-
};
|
|
135
131
|
size: {
|
|
136
132
|
type: PropType<string | number>;
|
|
137
133
|
default: number;
|
|
138
134
|
};
|
|
135
|
+
name: {
|
|
136
|
+
type: PropType<string>;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
139
|
prefix: {
|
|
140
140
|
type: PropType<string>;
|
|
141
141
|
default: string;
|
|
@@ -156,14 +156,14 @@ export declare const SvgIcon: {
|
|
|
156
156
|
M: {};
|
|
157
157
|
Defaults: {};
|
|
158
158
|
}, Readonly< ExtractPropTypes<{
|
|
159
|
-
name: {
|
|
160
|
-
type: PropType<string>;
|
|
161
|
-
required: true;
|
|
162
|
-
};
|
|
163
159
|
size: {
|
|
164
160
|
type: PropType<string | number>;
|
|
165
161
|
default: number;
|
|
166
162
|
};
|
|
163
|
+
name: {
|
|
164
|
+
type: PropType<string>;
|
|
165
|
+
required: true;
|
|
166
|
+
};
|
|
167
167
|
prefix: {
|
|
168
168
|
type: PropType<string>;
|
|
169
169
|
default: string;
|
|
@@ -181,14 +181,14 @@ export declare const SvgIcon: {
|
|
|
181
181
|
__isTeleport?: undefined;
|
|
182
182
|
__isSuspense?: undefined;
|
|
183
183
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
184
|
-
name: {
|
|
185
|
-
type: PropType<string>;
|
|
186
|
-
required: true;
|
|
187
|
-
};
|
|
188
184
|
size: {
|
|
189
185
|
type: PropType<string | number>;
|
|
190
186
|
default: number;
|
|
191
187
|
};
|
|
188
|
+
name: {
|
|
189
|
+
type: PropType<string>;
|
|
190
|
+
required: true;
|
|
191
|
+
};
|
|
192
192
|
prefix: {
|
|
193
193
|
type: PropType<string>;
|
|
194
194
|
default: string;
|
|
@@ -24,12 +24,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
24
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
value: string;
|
|
28
27
|
mode: "svg" | "iconify";
|
|
29
|
-
readonly: boolean;
|
|
30
|
-
allowClear: boolean;
|
|
31
28
|
width: string;
|
|
29
|
+
value: string;
|
|
30
|
+
readonly: boolean;
|
|
32
31
|
copy: boolean;
|
|
32
|
+
allowClear: boolean;
|
|
33
33
|
pageSize: number;
|
|
34
34
|
}, {}>;
|
|
35
35
|
export default _default;
|