@rhino-design/vue 0.2.8 → 0.2.10
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/README.md +5 -0
- package/README.zh-CN.md +5 -0
- package/dist/chunks/a-014_quxiao-fzd0CnUS.cjs +1 -0
- package/dist/chunks/arrow-right-AiIZhvl9.cjs +1 -0
- package/dist/chunks/chat-full-CfhKU0wx.cjs +1 -0
- package/dist/chunks/disappointed-full-Rzb63h1r.cjs +1 -0
- package/dist/chunks/double-arrow-left-YCtb2fzp.cjs +1 -0
- package/dist/chunks/double-arrow-right-CkdsSA9c.cjs +1 -0
- package/dist/chunks/dropper-BxQ7qkKM.cjs +1 -0
- package/dist/chunks/dui-BxfJrmWe.cjs +1 -0
- package/dist/chunks/fanhui-Cp_SI-0t.cjs +1 -0
- package/dist/chunks/gengduo-sXLrEGrx.cjs +1 -0
- package/dist/chunks/happy-full-BX5_zgu0.cjs +1 -0
- package/dist/chunks/image-full-DVyh2Bse.cjs +1 -0
- package/dist/chunks/jiazai-C_p8-rI3.cjs +1 -0
- package/dist/chunks/link-full-C5jk7__F.cjs +1 -0
- package/dist/chunks/list-v2-full-CKjeeL0W.cjs +1 -0
- package/dist/chunks/list-v3-full-D0EHYxBf.cjs +1 -0
- package/dist/chunks/loading-C45HEhZS.cjs +1 -0
- package/dist/chunks/mic-on-DcOdOJoY.cjs +1 -0
- package/dist/chunks/mic-on-full-DXPp4UMD.cjs +1 -0
- package/dist/chunks/mono-left-full-gNLu6Ody.cjs +1 -0
- package/dist/chunks/mono-right-full-oVV5Re8l.cjs +1 -0
- package/dist/chunks/pause-CWUJjrEO.cjs +1 -0
- package/dist/chunks/play-CeVq2y8s.cjs +1 -0
- package/dist/chunks/program-code-full-DACeJ42v.cjs +1 -0
- package/dist/chunks/reset-full-DyyRi_KG.cjs +1 -0
- package/dist/chunks/rili-B9f-69lO.cjs +1 -0
- package/dist/chunks/shanchu-BI-3vNf6.cjs +1 -0
- package/dist/chunks/shuaxin-BepdhlYQ.cjs +1 -0
- package/dist/chunks/smile-full-Dpnhsf-y.cjs +1 -0
- package/dist/chunks/sousuo-CG_F43e1.cjs +1 -0
- package/dist/chunks/star-full-DheItPE_.cjs +1 -0
- package/dist/chunks/upload-BsJVD1hl.cjs +1 -0
- package/dist/chunks/user-full-Lz5jMYCI.cjs +1 -0
- package/dist/chunks/voiceprint-6DR2D5u6.cjs +1 -0
- package/dist/chunks/warning-JqazhYsI.cjs +1 -0
- package/dist/chunks/wenhao-ET6MFfPo.cjs +1 -0
- package/dist/chunks/xiangxia-2B4DA2OL.cjs +1 -0
- package/dist/chunks/yanjing-zhengyan-h7lkikit.cjs +1 -0
- package/dist/components/XAutoComplete.vue.d.ts +10 -10
- package/dist/components/XButton.vue.d.ts +1 -1
- package/dist/components/XButtonG.vue.d.ts +1 -1
- package/dist/components/XCard.vue.d.ts +1 -1
- package/dist/components/XCascader.vue.d.ts +1 -1
- package/dist/components/XChatInput.vue.d.ts +1 -1
- package/dist/components/XColorPicker.vue.d.ts +1 -1
- package/dist/components/XCountdown.vue.d.ts +1 -1
- package/dist/components/XInputComposite.vue.d.ts +5 -5
- package/dist/components/XInputPassword.vue.d.ts +10 -10
- package/dist/components/XInputSearch.vue.d.ts +11 -11
- package/dist/components/XMention.vue.d.ts +10 -10
- package/dist/components/XSelect.vue.d.ts +1 -1
- package/dist/components/XSkeleton.vue.d.ts +1 -1
- package/dist/components/XSpin.vue.d.ts +1 -1
- package/dist/components/XStatistic.vue.d.ts +1 -1
- package/dist/components/XSwitch.vue.d.ts +1 -1
- package/dist/components/XTag.vue.d.ts +1 -1
- package/dist/components/XTreeSelect.vue.d.ts +1 -1
- package/dist/components/XTypography.vue.d.ts +1 -1
- package/dist/components/index.d.ts +6 -6
- package/dist/components/x-icon-shared.d.ts +3 -1
- package/dist/components/x-icon-shared.js +60 -47
- package/dist/composables/form.d.ts +3 -3
- package/dist/iconfont/builtin-component-loaders.d.ts +3 -0
- package/dist/iconfont/builtin-component-loaders.js +45 -0
- package/dist/iconfont/generated/icons/a-014_quxiao.js +9 -0
- package/dist/iconfont/generated/icons/arrow-right.js +9 -0
- package/dist/iconfont/generated/icons/chat-full.js +9 -0
- package/dist/iconfont/generated/icons/disappointed-full.js +9 -0
- package/dist/iconfont/generated/icons/double-arrow-left.js +9 -0
- package/dist/iconfont/generated/icons/double-arrow-right.js +9 -0
- package/dist/iconfont/generated/icons/dropper.js +9 -0
- package/dist/iconfont/generated/icons/dui.js +9 -0
- package/dist/iconfont/generated/icons/fanhui.js +9 -0
- package/dist/iconfont/generated/icons/gengduo.js +9 -0
- package/dist/iconfont/generated/icons/guanbi.js +2 -0
- package/dist/iconfont/generated/icons/happy-full.js +9 -0
- package/dist/iconfont/generated/icons/image-full.js +9 -0
- package/dist/iconfont/generated/icons/jiazai.js +9 -0
- package/dist/iconfont/generated/icons/link-full.js +9 -0
- package/dist/iconfont/generated/icons/list-v2-full.js +9 -0
- package/dist/iconfont/generated/icons/list-v3-full.js +9 -0
- package/dist/iconfont/generated/icons/loading.js +9 -0
- package/dist/iconfont/generated/icons/mic-on-full.js +9 -0
- package/dist/iconfont/generated/icons/mic-on.js +9 -0
- package/dist/iconfont/generated/icons/mono-left-full.js +9 -0
- package/dist/iconfont/generated/icons/mono-right-full.js +9 -0
- package/dist/iconfont/generated/icons/pause.js +9 -0
- package/dist/iconfont/generated/icons/play.js +9 -0
- package/dist/iconfont/generated/icons/program-code-full.js +9 -0
- package/dist/iconfont/generated/icons/reset-full.js +9 -0
- package/dist/iconfont/generated/icons/rili.js +9 -0
- package/dist/iconfont/generated/icons/shanchu.js +9 -0
- package/dist/iconfont/generated/icons/shijian.js +2 -0
- package/dist/iconfont/generated/icons/shuaxin.js +9 -0
- package/dist/iconfont/generated/icons/smile-full.js +9 -0
- package/dist/iconfont/generated/icons/sousuo.js +9 -0
- package/dist/iconfont/generated/icons/star-full.js +9 -0
- package/dist/iconfont/generated/icons/upload.js +9 -0
- package/dist/iconfont/generated/icons/user-full.js +9 -0
- package/dist/iconfont/generated/icons/voiceprint.js +9 -0
- package/dist/iconfont/generated/icons/warning.js +9 -0
- package/dist/iconfont/generated/icons/wenhao.js +9 -0
- package/dist/iconfont/generated/icons/xiangxia.js +9 -0
- package/dist/iconfont/generated/icons/yanjing-zhengyan.js +9 -0
- package/dist/index.cjs +9 -9
- package/package.json +42 -1
|
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
readonly clearable?: boolean | undefined;
|
|
34
34
|
readonly allowClear?: boolean | undefined;
|
|
35
35
|
readonly error?: boolean | undefined;
|
|
36
|
-
readonly status?: ("error" | "
|
|
36
|
+
readonly status?: ("error" | "warning" | "success") | undefined;
|
|
37
37
|
readonly maxLength?: number | {
|
|
38
38
|
length: number;
|
|
39
39
|
errorOnly?: boolean;
|
|
@@ -100,7 +100,7 @@ declare function __VLS_template(): {
|
|
|
100
100
|
clearable?: boolean;
|
|
101
101
|
allowClear?: boolean;
|
|
102
102
|
error?: boolean;
|
|
103
|
-
status?: "error" | "
|
|
103
|
+
status?: "error" | "warning" | "success";
|
|
104
104
|
maxLength?: number | {
|
|
105
105
|
length: number;
|
|
106
106
|
errorOnly?: boolean;
|
|
@@ -169,7 +169,7 @@ declare function __VLS_template(): {
|
|
|
169
169
|
}, string, {
|
|
170
170
|
error: boolean;
|
|
171
171
|
type: string;
|
|
172
|
-
status: "error" | "
|
|
172
|
+
status: "error" | "warning" | "success";
|
|
173
173
|
defaultValue: string | number;
|
|
174
174
|
clearable: boolean;
|
|
175
175
|
allowClear: boolean;
|
|
@@ -211,7 +211,7 @@ declare function __VLS_template(): {
|
|
|
211
211
|
} & Readonly<{
|
|
212
212
|
error: boolean;
|
|
213
213
|
type: string;
|
|
214
|
-
status: "error" | "
|
|
214
|
+
status: "error" | "warning" | "success";
|
|
215
215
|
defaultValue: string | number;
|
|
216
216
|
clearable: boolean;
|
|
217
217
|
allowClear: boolean;
|
|
@@ -239,7 +239,7 @@ declare function __VLS_template(): {
|
|
|
239
239
|
clearable?: boolean;
|
|
240
240
|
allowClear?: boolean;
|
|
241
241
|
error?: boolean;
|
|
242
|
-
status?: "error" | "
|
|
242
|
+
status?: "error" | "warning" | "success";
|
|
243
243
|
maxLength?: number | {
|
|
244
244
|
length: number;
|
|
245
245
|
errorOnly?: boolean;
|
|
@@ -308,9 +308,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
308
308
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
309
309
|
onSearch?: ((value: string, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
310
310
|
}>, {
|
|
311
|
+
loading: boolean;
|
|
311
312
|
size: XSize;
|
|
312
313
|
disabled: boolean;
|
|
313
|
-
loading: boolean;
|
|
314
314
|
buttonProps: Record<string, unknown>;
|
|
315
315
|
searchButton: boolean;
|
|
316
316
|
buttonText: string;
|
|
@@ -327,7 +327,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
327
327
|
readonly clearable?: boolean | undefined;
|
|
328
328
|
readonly allowClear?: boolean | undefined;
|
|
329
329
|
readonly error?: boolean | undefined;
|
|
330
|
-
readonly status?: ("error" | "
|
|
330
|
+
readonly status?: ("error" | "warning" | "success") | undefined;
|
|
331
331
|
readonly maxLength?: number | {
|
|
332
332
|
length: number;
|
|
333
333
|
errorOnly?: boolean;
|
|
@@ -394,7 +394,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
394
394
|
clearable?: boolean;
|
|
395
395
|
allowClear?: boolean;
|
|
396
396
|
error?: boolean;
|
|
397
|
-
status?: "error" | "
|
|
397
|
+
status?: "error" | "warning" | "success";
|
|
398
398
|
maxLength?: number | {
|
|
399
399
|
length: number;
|
|
400
400
|
errorOnly?: boolean;
|
|
@@ -463,7 +463,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
463
463
|
}, string, {
|
|
464
464
|
error: boolean;
|
|
465
465
|
type: string;
|
|
466
|
-
status: "error" | "
|
|
466
|
+
status: "error" | "warning" | "success";
|
|
467
467
|
defaultValue: string | number;
|
|
468
468
|
clearable: boolean;
|
|
469
469
|
allowClear: boolean;
|
|
@@ -505,7 +505,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
505
505
|
} & Readonly<{
|
|
506
506
|
error: boolean;
|
|
507
507
|
type: string;
|
|
508
|
-
status: "error" | "
|
|
508
|
+
status: "error" | "warning" | "success";
|
|
509
509
|
defaultValue: string | number;
|
|
510
510
|
clearable: boolean;
|
|
511
511
|
allowClear: boolean;
|
|
@@ -533,7 +533,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
533
533
|
clearable?: boolean;
|
|
534
534
|
allowClear?: boolean;
|
|
535
535
|
error?: boolean;
|
|
536
|
-
status?: "error" | "
|
|
536
|
+
status?: "error" | "warning" | "success";
|
|
537
537
|
maxLength?: number | {
|
|
538
538
|
length: number;
|
|
539
539
|
errorOnly?: boolean;
|
|
@@ -183,7 +183,7 @@ declare function __VLS_template(): {
|
|
|
183
183
|
readonly clearable?: boolean | undefined;
|
|
184
184
|
readonly allowClear?: boolean | undefined;
|
|
185
185
|
readonly error?: boolean | undefined;
|
|
186
|
-
readonly status?: ("error" | "
|
|
186
|
+
readonly status?: ("error" | "warning" | "success") | undefined;
|
|
187
187
|
readonly maxLength?: number | {
|
|
188
188
|
length: number;
|
|
189
189
|
errorOnly?: boolean;
|
|
@@ -250,7 +250,7 @@ declare function __VLS_template(): {
|
|
|
250
250
|
clearable?: boolean;
|
|
251
251
|
allowClear?: boolean;
|
|
252
252
|
error?: boolean;
|
|
253
|
-
status?: "error" | "
|
|
253
|
+
status?: "error" | "warning" | "success";
|
|
254
254
|
maxLength?: number | {
|
|
255
255
|
length: number;
|
|
256
256
|
errorOnly?: boolean;
|
|
@@ -319,7 +319,7 @@ declare function __VLS_template(): {
|
|
|
319
319
|
}, string, {
|
|
320
320
|
error: boolean;
|
|
321
321
|
type: string;
|
|
322
|
-
status: "error" | "
|
|
322
|
+
status: "error" | "warning" | "success";
|
|
323
323
|
defaultValue: string | number;
|
|
324
324
|
clearable: boolean;
|
|
325
325
|
allowClear: boolean;
|
|
@@ -361,7 +361,7 @@ declare function __VLS_template(): {
|
|
|
361
361
|
} & Readonly<{
|
|
362
362
|
error: boolean;
|
|
363
363
|
type: string;
|
|
364
|
-
status: "error" | "
|
|
364
|
+
status: "error" | "warning" | "success";
|
|
365
365
|
defaultValue: string | number;
|
|
366
366
|
clearable: boolean;
|
|
367
367
|
allowClear: boolean;
|
|
@@ -389,7 +389,7 @@ declare function __VLS_template(): {
|
|
|
389
389
|
clearable?: boolean;
|
|
390
390
|
allowClear?: boolean;
|
|
391
391
|
error?: boolean;
|
|
392
|
-
status?: "error" | "
|
|
392
|
+
status?: "error" | "warning" | "success";
|
|
393
393
|
maxLength?: number | {
|
|
394
394
|
length: number;
|
|
395
395
|
errorOnly?: boolean;
|
|
@@ -626,7 +626,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
626
626
|
readonly clearable?: boolean | undefined;
|
|
627
627
|
readonly allowClear?: boolean | undefined;
|
|
628
628
|
readonly error?: boolean | undefined;
|
|
629
|
-
readonly status?: ("error" | "
|
|
629
|
+
readonly status?: ("error" | "warning" | "success") | undefined;
|
|
630
630
|
readonly maxLength?: number | {
|
|
631
631
|
length: number;
|
|
632
632
|
errorOnly?: boolean;
|
|
@@ -693,7 +693,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
693
693
|
clearable?: boolean;
|
|
694
694
|
allowClear?: boolean;
|
|
695
695
|
error?: boolean;
|
|
696
|
-
status?: "error" | "
|
|
696
|
+
status?: "error" | "warning" | "success";
|
|
697
697
|
maxLength?: number | {
|
|
698
698
|
length: number;
|
|
699
699
|
errorOnly?: boolean;
|
|
@@ -762,7 +762,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
762
762
|
}, string, {
|
|
763
763
|
error: boolean;
|
|
764
764
|
type: string;
|
|
765
|
-
status: "error" | "
|
|
765
|
+
status: "error" | "warning" | "success";
|
|
766
766
|
defaultValue: string | number;
|
|
767
767
|
clearable: boolean;
|
|
768
768
|
allowClear: boolean;
|
|
@@ -804,7 +804,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
804
804
|
} & Readonly<{
|
|
805
805
|
error: boolean;
|
|
806
806
|
type: string;
|
|
807
|
-
status: "error" | "
|
|
807
|
+
status: "error" | "warning" | "success";
|
|
808
808
|
defaultValue: string | number;
|
|
809
809
|
clearable: boolean;
|
|
810
810
|
allowClear: boolean;
|
|
@@ -832,7 +832,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
832
832
|
clearable?: boolean;
|
|
833
833
|
allowClear?: boolean;
|
|
834
834
|
error?: boolean;
|
|
835
|
-
status?: "error" | "
|
|
835
|
+
status?: "error" | "warning" | "success";
|
|
836
836
|
maxLength?: number | {
|
|
837
837
|
length: number;
|
|
838
838
|
errorOnly?: boolean;
|
|
@@ -175,6 +175,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
175
175
|
"onExceed-limit"?: ((value: XSelectValue | undefined, event: Event) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
177
|
error: boolean;
|
|
178
|
+
loading: boolean;
|
|
178
179
|
size: XSize;
|
|
179
180
|
disabled: boolean;
|
|
180
181
|
open: boolean;
|
|
@@ -187,7 +188,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
187
188
|
popupContainer: string | HTMLElement;
|
|
188
189
|
defaultOpen: boolean;
|
|
189
190
|
options: XSelectOptionLike[];
|
|
190
|
-
loading: boolean;
|
|
191
191
|
modelValue: XSelectValue | XSelectValue[];
|
|
192
192
|
defaultValue: XSelectValue | XSelectValue[];
|
|
193
193
|
allowClear: boolean;
|
|
@@ -66,9 +66,9 @@ declare const XSkeleton: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
68
|
title: boolean;
|
|
69
|
+
loading: boolean;
|
|
69
70
|
round: boolean;
|
|
70
71
|
animation: boolean;
|
|
71
|
-
loading: boolean;
|
|
72
72
|
avatar: boolean;
|
|
73
73
|
rows: number;
|
|
74
74
|
animated: boolean;
|
|
@@ -15,9 +15,9 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
loading: boolean;
|
|
18
19
|
size: "small" | "medium" | "large";
|
|
19
20
|
dot: boolean;
|
|
20
|
-
loading: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -53,13 +53,13 @@ declare function __VLS_template(): {
|
|
|
53
53
|
};
|
|
54
54
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
55
55
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
56
|
+
loading: boolean;
|
|
56
57
|
value: string | number | Date | null;
|
|
57
58
|
suffix: string | number;
|
|
58
59
|
start: boolean;
|
|
59
60
|
separator: string;
|
|
60
61
|
placeholder: string;
|
|
61
62
|
animation: boolean;
|
|
62
|
-
loading: boolean;
|
|
63
63
|
animationDuration: number;
|
|
64
64
|
prefix: string | number;
|
|
65
65
|
extra: string;
|
|
@@ -49,10 +49,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
49
49
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
50
50
|
"onUpdate:modelValue"?: ((value: XSwitchValue) => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
|
+
loading: boolean;
|
|
52
53
|
type: XSwitchType;
|
|
53
54
|
size: XSwitchSize;
|
|
54
55
|
disabled: boolean;
|
|
55
|
-
loading: boolean;
|
|
56
56
|
modelValue: XSwitchValue;
|
|
57
57
|
defaultChecked: boolean;
|
|
58
58
|
checkedValue: XSwitchValue;
|
|
@@ -33,11 +33,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
33
33
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
34
34
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
+
loading: boolean;
|
|
36
37
|
size: TagSize;
|
|
37
38
|
color: TagColor;
|
|
38
39
|
visible: boolean;
|
|
39
40
|
round: boolean;
|
|
40
|
-
loading: boolean;
|
|
41
41
|
closable: boolean;
|
|
42
42
|
bordered: boolean;
|
|
43
43
|
checked: boolean;
|
|
@@ -155,6 +155,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
155
155
|
}>, {
|
|
156
156
|
data: TreeNodeData[];
|
|
157
157
|
error: boolean;
|
|
158
|
+
loading: boolean;
|
|
158
159
|
size: XSize;
|
|
159
160
|
disabled: boolean;
|
|
160
161
|
open: boolean;
|
|
@@ -166,7 +167,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
166
167
|
defaultPopupVisible: boolean;
|
|
167
168
|
popupContainer: string | HTMLElement;
|
|
168
169
|
defaultOpen: boolean;
|
|
169
|
-
loading: boolean;
|
|
170
170
|
modelValue: TreeSelectValue;
|
|
171
171
|
defaultValue: TreeSelectValue;
|
|
172
172
|
clearable: boolean;
|
|
@@ -126,7 +126,7 @@ declare const XTypography: import('vue').DefineComponent<import('vue').ExtractPr
|
|
|
126
126
|
code: boolean;
|
|
127
127
|
mark: boolean;
|
|
128
128
|
content: string;
|
|
129
|
-
type: "
|
|
129
|
+
type: "warning" | "default" | "success" | "danger" | "secondary";
|
|
130
130
|
bold: boolean;
|
|
131
131
|
block: boolean;
|
|
132
132
|
underline: boolean;
|
|
@@ -326,7 +326,7 @@ declare const XDropdown: {
|
|
|
326
326
|
position?: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
327
327
|
popupContainer?: string | HTMLElement;
|
|
328
328
|
disabled?: boolean;
|
|
329
|
-
type?: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
329
|
+
type?: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
330
330
|
size?: "mini" | "small" | "medium" | "large";
|
|
331
331
|
buttonProps?: Record<string, any>;
|
|
332
332
|
hideOnSelect?: boolean;
|
|
@@ -345,7 +345,7 @@ declare const XDropdown: {
|
|
|
345
345
|
"popup-visible-change": (visible: boolean) => any;
|
|
346
346
|
"update:open": (visible: boolean) => any;
|
|
347
347
|
}, import('vue').PublicProps, {
|
|
348
|
-
type: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
348
|
+
type: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
349
349
|
size: "mini" | "small" | "medium" | "large";
|
|
350
350
|
disabled: boolean;
|
|
351
351
|
position: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
@@ -373,7 +373,7 @@ declare const XDropdown: {
|
|
|
373
373
|
position?: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
374
374
|
popupContainer?: string | HTMLElement;
|
|
375
375
|
disabled?: boolean;
|
|
376
|
-
type?: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
376
|
+
type?: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
377
377
|
size?: "mini" | "small" | "medium" | "large";
|
|
378
378
|
buttonProps?: Record<string, any>;
|
|
379
379
|
hideOnSelect?: boolean;
|
|
@@ -385,7 +385,7 @@ declare const XDropdown: {
|
|
|
385
385
|
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
|
386
386
|
"onUpdate:open"?: ((visible: boolean) => any) | undefined;
|
|
387
387
|
}>, {}, {}, {}, {}, {
|
|
388
|
-
type: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
388
|
+
type: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
389
389
|
size: "mini" | "small" | "medium" | "large";
|
|
390
390
|
disabled: boolean;
|
|
391
391
|
position: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
@@ -410,7 +410,7 @@ declare const XDropdown: {
|
|
|
410
410
|
position?: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
411
411
|
popupContainer?: string | HTMLElement;
|
|
412
412
|
disabled?: boolean;
|
|
413
|
-
type?: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
413
|
+
type?: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
414
414
|
size?: "mini" | "small" | "medium" | "large";
|
|
415
415
|
buttonProps?: Record<string, any>;
|
|
416
416
|
hideOnSelect?: boolean;
|
|
@@ -429,7 +429,7 @@ declare const XDropdown: {
|
|
|
429
429
|
"popup-visible-change": (visible: boolean) => any;
|
|
430
430
|
"update:open": (visible: boolean) => any;
|
|
431
431
|
}, string, {
|
|
432
|
-
type: "link" | "text" | "default" | "dashed" | "primary" | "success" | "info" | "
|
|
432
|
+
type: "link" | "text" | "warning" | "default" | "dashed" | "primary" | "success" | "info" | "danger" | "secondary" | "outline";
|
|
433
433
|
size: "mini" | "small" | "medium" | "large";
|
|
434
434
|
disabled: boolean;
|
|
435
435
|
position: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
@@ -14,7 +14,9 @@ export declare const XIconLoaders: {
|
|
|
14
14
|
register(name: string, loader: IconLoader): void;
|
|
15
15
|
registerMultiple(loaders: Record<string, IconLoader>): void;
|
|
16
16
|
has(name: string): boolean;
|
|
17
|
-
clear(
|
|
17
|
+
clear(options?: {
|
|
18
|
+
keepBuiltin?: boolean;
|
|
19
|
+
}): void;
|
|
18
20
|
};
|
|
19
21
|
export declare function createXIconComponent(componentName: string): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
22
|
name: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { internalIconDefinitions as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as p, ref as v, watch as w, computed as h, h as y } from "vue";
|
|
2
|
+
import { internalIconDefinitions as x } from "../iconfont/internal-icons.js";
|
|
3
|
+
import { xBuiltinComponentIconLoaders as I } from "../iconfont/builtin-component-loaders.js";
|
|
4
|
+
const i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
5
|
+
let c = !1, u = !1;
|
|
6
|
+
function b() {
|
|
6
7
|
if (typeof document > "u")
|
|
7
8
|
return;
|
|
8
9
|
const e = "x-icon-spin-style";
|
|
@@ -16,56 +17,68 @@ function w() {
|
|
|
16
17
|
}
|
|
17
18
|
`, document.head.appendChild(t);
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
-
c || (c = !0,
|
|
21
|
-
|
|
20
|
+
function f() {
|
|
21
|
+
c || (c = !0, x.forEach((e) => {
|
|
22
|
+
i.set(e.name, {
|
|
22
23
|
viewBox: e.viewBox,
|
|
23
24
|
content: e.content
|
|
24
25
|
});
|
|
25
26
|
}));
|
|
26
27
|
}
|
|
27
|
-
|
|
28
|
-
u()
|
|
29
|
-
|
|
28
|
+
function d() {
|
|
29
|
+
u || (u = !0, Object.entries(I).forEach(([e, t]) => {
|
|
30
|
+
o.has(e) || o.set(e, async () => {
|
|
31
|
+
const n = await t();
|
|
32
|
+
return {
|
|
33
|
+
viewBox: n.default.viewBox,
|
|
34
|
+
content: n.default.content
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
b();
|
|
40
|
+
f();
|
|
41
|
+
d();
|
|
42
|
+
const E = {
|
|
30
43
|
register(e, t) {
|
|
31
|
-
|
|
44
|
+
i.set(e, t);
|
|
32
45
|
},
|
|
33
46
|
registerMultiple(e) {
|
|
34
47
|
Object.entries(e).forEach(([t, n]) => {
|
|
35
|
-
|
|
48
|
+
i.set(t, n);
|
|
36
49
|
});
|
|
37
50
|
},
|
|
38
51
|
has(e) {
|
|
39
|
-
return
|
|
52
|
+
return i.has(e);
|
|
40
53
|
},
|
|
41
54
|
get(e) {
|
|
42
|
-
return
|
|
55
|
+
return i.get(e);
|
|
43
56
|
},
|
|
44
57
|
clear(e) {
|
|
45
|
-
|
|
58
|
+
i.clear(), (e == null ? void 0 : e.keepInternal) !== !1 && (c = !1, f());
|
|
46
59
|
}
|
|
47
|
-
},
|
|
60
|
+
}, z = {
|
|
48
61
|
register(e, t) {
|
|
49
|
-
|
|
62
|
+
o.set(e, t);
|
|
50
63
|
},
|
|
51
64
|
registerMultiple(e) {
|
|
52
65
|
Object.entries(e).forEach(([t, n]) => {
|
|
53
|
-
|
|
66
|
+
o.set(t, n);
|
|
54
67
|
});
|
|
55
68
|
},
|
|
56
69
|
has(e) {
|
|
57
|
-
return
|
|
70
|
+
return o.has(e);
|
|
58
71
|
},
|
|
59
|
-
clear() {
|
|
60
|
-
|
|
72
|
+
clear(e) {
|
|
73
|
+
o.clear(), u = !1, (e == null ? void 0 : e.keepBuiltin) !== !1 && d();
|
|
61
74
|
}
|
|
62
75
|
};
|
|
63
|
-
function
|
|
64
|
-
let n = e.replace(/\b(fill|stroke)="([^"]+)"/g, (
|
|
76
|
+
function k(e, t) {
|
|
77
|
+
let n = e.replace(/\b(fill|stroke)="([^"]+)"/g, (g, l) => `${l}="currentColor"`);
|
|
65
78
|
return n = n.replace(/<path(?![^>]*\bfill=)/g, '<path fill="currentColor"'), n = n.replace(/<path(?![^>]*\bstroke-width=)/g, `<path stroke-width="${t}"`), n;
|
|
66
79
|
}
|
|
67
|
-
function
|
|
68
|
-
return
|
|
80
|
+
function M(e) {
|
|
81
|
+
return p({
|
|
69
82
|
name: e,
|
|
70
83
|
props: {
|
|
71
84
|
name: {
|
|
@@ -90,36 +103,36 @@ function S(e) {
|
|
|
90
103
|
}
|
|
91
104
|
},
|
|
92
105
|
setup(t) {
|
|
93
|
-
const n =
|
|
94
|
-
if (
|
|
95
|
-
n.value =
|
|
106
|
+
const n = v(null), g = async (r) => {
|
|
107
|
+
if (f(), d(), i.has(r)) {
|
|
108
|
+
n.value = i.get(r) ?? null;
|
|
96
109
|
return;
|
|
97
110
|
}
|
|
98
|
-
const a =
|
|
111
|
+
const a = o.get(r);
|
|
99
112
|
if (!a) {
|
|
100
113
|
n.value = null;
|
|
101
114
|
return;
|
|
102
115
|
}
|
|
103
116
|
try {
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
} catch (
|
|
107
|
-
console.error(`Failed to load icon: ${r}`,
|
|
117
|
+
const s = await a();
|
|
118
|
+
i.set(r, s), n.value = s;
|
|
119
|
+
} catch (s) {
|
|
120
|
+
console.error(`Failed to load icon: ${r}`, s), n.value = null;
|
|
108
121
|
}
|
|
109
122
|
};
|
|
110
|
-
|
|
123
|
+
w(
|
|
111
124
|
() => t.name,
|
|
112
125
|
(r) => {
|
|
113
|
-
|
|
126
|
+
g(r);
|
|
114
127
|
},
|
|
115
128
|
{ immediate: !0 }
|
|
116
129
|
);
|
|
117
|
-
const l =
|
|
130
|
+
const l = h(() => {
|
|
118
131
|
if (!n.value)
|
|
119
132
|
return "";
|
|
120
|
-
const { viewBox: r, content: a } = n.value,
|
|
121
|
-
return `<svg viewBox="${r}" xmlns="http://www.w3.org/2000/svg">${
|
|
122
|
-
}),
|
|
133
|
+
const { viewBox: r, content: a } = n.value, s = typeof t.strokeWidth == "number" ? t.strokeWidth : parseFloat(t.strokeWidth) || 4;
|
|
134
|
+
return `<svg viewBox="${r}" xmlns="http://www.w3.org/2000/svg">${k(a, s)}</svg>`;
|
|
135
|
+
}), m = h(() => {
|
|
123
136
|
const r = typeof t.size == "number" ? `${t.size}px` : t.size;
|
|
124
137
|
return {
|
|
125
138
|
fontSize: r,
|
|
@@ -133,19 +146,19 @@ function S(e) {
|
|
|
133
146
|
transformOrigin: "center center"
|
|
134
147
|
};
|
|
135
148
|
});
|
|
136
|
-
return () => l.value ?
|
|
149
|
+
return () => l.value ? y("span", {
|
|
137
150
|
class: "x-icon",
|
|
138
|
-
style:
|
|
151
|
+
style: m.value,
|
|
139
152
|
innerHTML: l.value
|
|
140
|
-
}) :
|
|
153
|
+
}) : y("span", {
|
|
141
154
|
class: "x-icon x-icon--empty",
|
|
142
|
-
style:
|
|
155
|
+
style: m.value
|
|
143
156
|
});
|
|
144
157
|
}
|
|
145
158
|
});
|
|
146
159
|
}
|
|
147
160
|
export {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
161
|
+
z as XIconLoaders,
|
|
162
|
+
E as XIconRegistry,
|
|
163
|
+
M as createXIconComponent
|
|
151
164
|
};
|
|
@@ -112,7 +112,7 @@ export declare function validateFieldValue(params: {
|
|
|
112
112
|
message: string;
|
|
113
113
|
isRequiredError: boolean;
|
|
114
114
|
} | undefined>;
|
|
115
|
-
export declare function getFinalValidateStatus(validateStatus: Record<string, XValidateStatus | ''>): "" | "error" | "
|
|
115
|
+
export declare function getFinalValidateStatus(validateStatus: Record<string, XValidateStatus | ''>): "" | "error" | "warning" | "success" | "validating";
|
|
116
116
|
export declare function getFinalValidateMessage(validateMessage: Record<string, string>): string[];
|
|
117
117
|
export declare function provideXForm(context: XFormContext): void;
|
|
118
118
|
export declare function useXForm(): XFormContext | null;
|
|
@@ -128,7 +128,7 @@ export declare function useXFormItem(data?: {
|
|
|
128
128
|
mergedSize: ComputedRef<XSize>;
|
|
129
129
|
mergedDisabled: ComputedRef<boolean>;
|
|
130
130
|
mergedError: ComputedRef<boolean>;
|
|
131
|
-
feedback: ComputedRef<"error" | "
|
|
131
|
+
feedback: ComputedRef<"error" | "warning" | "success" | "validating" | undefined>;
|
|
132
132
|
eventHandlers: ComputedRef<XFormItemEventHandler>;
|
|
133
133
|
};
|
|
134
134
|
export declare function useXFormField(): {
|
|
@@ -136,7 +136,7 @@ export declare function useXFormField(): {
|
|
|
136
136
|
size: ComputedRef<XSize>;
|
|
137
137
|
disabled: ComputedRef<boolean>;
|
|
138
138
|
error: ComputedRef<boolean>;
|
|
139
|
-
feedback: ComputedRef<"error" | "
|
|
139
|
+
feedback: ComputedRef<"error" | "warning" | "success" | "validating" | undefined>;
|
|
140
140
|
eventHandlers: ComputedRef<XFormItemEventHandler>;
|
|
141
141
|
notifyChange: (ev?: Event) => void;
|
|
142
142
|
notifyInput: (ev?: Event) => void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { XIconDefinitionModuleLoader } from './iconfont-runtime';
|
|
2
|
+
export declare const xBuiltinComponentIconNames: readonly ["a-014_quxiao", "arrow-right", "chat-full", "disappointed-full", "double-arrow-left", "double-arrow-right", "dropper", "dui", "fanhui", "gengduo", "guanbi", "happy-full", "image-full", "jiazai", "link-full", "list-v2-full", "list-v3-full", "loading", "mic-on", "mic-on-full", "mono-left-full", "mono-right-full", "pause", "play", "program-code-full", "reset-full", "rili", "shanchu", "shijian", "shuaxin", "smile-full", "sousuo", "star-full", "upload", "user-full", "voiceprint", "warning", "wenhao", "xiangxia", "yanjing-zhengyan"];
|
|
3
|
+
export declare const xBuiltinComponentIconLoaders: Record<string, XIconDefinitionModuleLoader>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const i = {
|
|
2
|
+
"a-014_quxiao": () => import("./generated/icons/a-014_quxiao.js"),
|
|
3
|
+
"arrow-right": () => import("./generated/icons/arrow-right.js"),
|
|
4
|
+
"chat-full": () => import("./generated/icons/chat-full.js"),
|
|
5
|
+
"disappointed-full": () => import("./generated/icons/disappointed-full.js"),
|
|
6
|
+
"double-arrow-left": () => import("./generated/icons/double-arrow-left.js"),
|
|
7
|
+
"double-arrow-right": () => import("./generated/icons/double-arrow-right.js"),
|
|
8
|
+
dropper: () => import("./generated/icons/dropper.js"),
|
|
9
|
+
dui: () => import("./generated/icons/dui.js"),
|
|
10
|
+
fanhui: () => import("./generated/icons/fanhui.js"),
|
|
11
|
+
gengduo: () => import("./generated/icons/gengduo.js"),
|
|
12
|
+
guanbi: () => import("./generated/icons/guanbi.js"),
|
|
13
|
+
"happy-full": () => import("./generated/icons/happy-full.js"),
|
|
14
|
+
"image-full": () => import("./generated/icons/image-full.js"),
|
|
15
|
+
jiazai: () => import("./generated/icons/jiazai.js"),
|
|
16
|
+
"link-full": () => import("./generated/icons/link-full.js"),
|
|
17
|
+
"list-v2-full": () => import("./generated/icons/list-v2-full.js"),
|
|
18
|
+
"list-v3-full": () => import("./generated/icons/list-v3-full.js"),
|
|
19
|
+
loading: () => import("./generated/icons/loading.js"),
|
|
20
|
+
"mic-on": () => import("./generated/icons/mic-on.js"),
|
|
21
|
+
"mic-on-full": () => import("./generated/icons/mic-on-full.js"),
|
|
22
|
+
"mono-left-full": () => import("./generated/icons/mono-left-full.js"),
|
|
23
|
+
"mono-right-full": () => import("./generated/icons/mono-right-full.js"),
|
|
24
|
+
pause: () => import("./generated/icons/pause.js"),
|
|
25
|
+
play: () => import("./generated/icons/play.js"),
|
|
26
|
+
"program-code-full": () => import("./generated/icons/program-code-full.js"),
|
|
27
|
+
"reset-full": () => import("./generated/icons/reset-full.js"),
|
|
28
|
+
rili: () => import("./generated/icons/rili.js"),
|
|
29
|
+
shanchu: () => import("./generated/icons/shanchu.js"),
|
|
30
|
+
shijian: () => import("./generated/icons/shijian.js"),
|
|
31
|
+
shuaxin: () => import("./generated/icons/shuaxin.js"),
|
|
32
|
+
"smile-full": () => import("./generated/icons/smile-full.js"),
|
|
33
|
+
sousuo: () => import("./generated/icons/sousuo.js"),
|
|
34
|
+
"star-full": () => import("./generated/icons/star-full.js"),
|
|
35
|
+
upload: () => import("./generated/icons/upload.js"),
|
|
36
|
+
"user-full": () => import("./generated/icons/user-full.js"),
|
|
37
|
+
voiceprint: () => import("./generated/icons/voiceprint.js"),
|
|
38
|
+
warning: () => import("./generated/icons/warning.js"),
|
|
39
|
+
wenhao: () => import("./generated/icons/wenhao.js"),
|
|
40
|
+
xiangxia: () => import("./generated/icons/xiangxia.js"),
|
|
41
|
+
"yanjing-zhengyan": () => import("./generated/icons/yanjing-zhengyan.js")
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
i as xBuiltinComponentIconLoaders
|
|
45
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
name: "a-014_quxiao",
|
|
3
|
+
symbolId: "xl-icon-a-014_quxiao",
|
|
4
|
+
viewBox: "0 0 1024 1024",
|
|
5
|
+
content: '<path d="M512.43 884a371.54 371.54 0 1 1 262.44-108.71A370.06 370.06 0 0 1 512.43 884z m0-677.3a306.15 306.15 0 1 0 216.48 522.63A306.15 306.15 0 0 0 512.43 206.7z m239.46 545.61z" ></path><path d="M402.83 655a32.5 32.5 0 0 1-23-55.48l219.2-219.2a32.5 32.5 0 0 1 46 46l-219.2 219.2a32.38 32.38 0 0 1-23 9.48z" ></path><path d="M622 655a32.38 32.38 0 0 1-23-9.52l-219.2-219.2a32.5 32.5 0 0 1 46-46L645 599.47A32.5 32.5 0 0 1 622 655z" ></path>'
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
a as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const c = {
|
|
2
|
+
name: "arrow-right",
|
|
3
|
+
symbolId: "xl-icon-arrow-right",
|
|
4
|
+
viewBox: "0 0 1024 1024",
|
|
5
|
+
content: '<path d="M791.4 252.1l214 214c25 25 25 65.5 0 90.5l-215 215c-1.6 1.6-4.1 1.6-5.7 0L745.1 732c-1.6-1.6-1.6-4.1 0-5.7l175.7-175.7c2.5-2.5 0.7-6.8-2.8-6.8H4c-2.2 0-4-1.8-4-4v-56c0-2.2 1.8-4 4-4H919.1c3.6 0 5.3-4.3 2.8-6.8L746.2 297.3c-1.6-1.6-1.6-4.1 0-5.7l39.6-39.6c1.5-1.5 4.1-1.5 5.6 0.1z" ></path>'
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
c as default
|
|
9
|
+
};
|