@rft-rc/recycle-ui 0.0.3-rc.5 → 0.0.3-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/button/index.vue.d.ts +4 -0
- package/dist/components/button/index.vue.d.ts.map +1 -1
- package/dist/components/calendar/index.d.ts.map +1 -1
- package/dist/components/descriptions/index.d.ts +0 -6
- package/dist/components/descriptions/index.d.ts.map +1 -1
- package/dist/components/descriptions/index.vue.d.ts +1 -1
- package/dist/components/descriptions/index.vue.d.ts.map +1 -1
- package/dist/components/descriptions/item.vue.d.ts +0 -3
- package/dist/components/descriptions/item.vue.d.ts.map +1 -1
- package/dist/components/dropdown/index.d.ts.map +1 -1
- package/dist/components/dropdown/index.vue.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +8 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/form/index.vue.d.ts +76 -0
- package/dist/components/form/index.vue.d.ts.map +1 -0
- package/dist/components/form/item.vue.d.ts +49 -0
- package/dist/components/form/item.vue.d.ts.map +1 -0
- package/dist/components/icon/index.d.ts.map +1 -1
- package/dist/components/input/index.d.ts.map +1 -1
- package/dist/components/input/index.vue.d.ts +31 -12
- package/dist/components/input/index.vue.d.ts.map +1 -1
- package/dist/components/popup/index.d.ts.map +1 -1
- package/dist/components/popup/index.vue.d.ts.map +1 -1
- package/dist/components/search-area/index.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2072 -1598
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +15 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,MAAM,MAAM,aAAa,CAAC;AAOjC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAK/B;AAGD,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type ButtonType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
2
2
|
type ButtonSize = 'mini' | 'small' | 'medium' | 'large';
|
|
3
3
|
type ButtonMode = 'outline' | 'text';
|
|
4
|
+
type FormType = 'submit' | 'reset' | 'button';
|
|
4
5
|
interface Props {
|
|
5
6
|
type?: ButtonType;
|
|
6
7
|
size?: ButtonSize;
|
|
@@ -17,6 +18,8 @@ interface Props {
|
|
|
17
18
|
preIcon?: string;
|
|
18
19
|
/** 后置图标名称 */
|
|
19
20
|
suffixIcon?: string;
|
|
21
|
+
/** 表单按钮类型:submit 提交表单(支持回车提交),button 提交表单(不支持回车提交),reset 重置表单 */
|
|
22
|
+
formType?: FormType;
|
|
20
23
|
}
|
|
21
24
|
declare var __VLS_1: {}, __VLS_6: {}, __VLS_8: {};
|
|
22
25
|
type __VLS_Slots = {} & {
|
|
@@ -41,6 +44,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
41
44
|
loading: boolean;
|
|
42
45
|
preIcon: string;
|
|
43
46
|
suffixIcon: string;
|
|
47
|
+
formType: FormType;
|
|
44
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
49
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
46
50
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.vue"],"names":[],"mappings":"AAyNA,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC3E,KAAK,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACxD,KAAK,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AACrC,KAAK,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9C,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,kCAAkC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAwKD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyBlD,QAAA,MAAM,eAAe;;;;;UArNZ,UAAU;UADV,UAAU;WAMT,MAAM;UAHP,UAAU;WACT,OAAO;WAIP,MAAM,GAAG,MAAM,GAAG,OAAO;cACtB,OAAO;aACR,OAAO;aAEP,MAAM;gBAEH,MAAM;cAER,QAAQ;6EA8MnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,QAAQ,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,QAAQ,MAAM,aAAa,CAAC;AAQnC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAM/B;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -77,13 +77,11 @@ export declare const RcDescriptionsItem: {
|
|
|
77
77
|
value?: any;
|
|
78
78
|
labelWidth?: string | number;
|
|
79
79
|
span?: number | string;
|
|
80
|
-
labelPosition?: "left" | "top";
|
|
81
80
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
82
81
|
label: string | number;
|
|
83
82
|
span: number | string;
|
|
84
83
|
value: any;
|
|
85
84
|
labelWidth: string | number;
|
|
86
|
-
labelPosition: "left" | "top";
|
|
87
85
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
88
86
|
P: {};
|
|
89
87
|
B: {};
|
|
@@ -96,13 +94,11 @@ export declare const RcDescriptionsItem: {
|
|
|
96
94
|
value?: any;
|
|
97
95
|
labelWidth?: string | number;
|
|
98
96
|
span?: number | string;
|
|
99
|
-
labelPosition?: "left" | "top";
|
|
100
97
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
101
98
|
label: string | number;
|
|
102
99
|
span: number | string;
|
|
103
100
|
value: any;
|
|
104
101
|
labelWidth: string | number;
|
|
105
|
-
labelPosition: "left" | "top";
|
|
106
102
|
}>;
|
|
107
103
|
__isFragment?: never;
|
|
108
104
|
__isTeleport?: never;
|
|
@@ -112,13 +108,11 @@ export declare const RcDescriptionsItem: {
|
|
|
112
108
|
value?: any;
|
|
113
109
|
labelWidth?: string | number;
|
|
114
110
|
span?: number | string;
|
|
115
|
-
labelPosition?: "left" | "top";
|
|
116
111
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
117
112
|
label: string | number;
|
|
118
113
|
span: number | string;
|
|
119
114
|
value: any;
|
|
120
115
|
labelWidth: string | number;
|
|
121
|
-
labelPosition: "left" | "top";
|
|
122
116
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
123
117
|
$slots: {
|
|
124
118
|
label?: (props: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,YAAY,MAAM,aAAa,CAAC;AAMvC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAO/B;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AAC3C,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,YAAY,MAAM,aAAa,CAAC;AAMvC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAO/B;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AAC3C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmB,CAAC;AAEnD,eAAe,YAAY,CAAC"}
|
|
@@ -10,7 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
gap?: number | string;
|
|
11
11
|
/** label 固定宽度,数字代表 px,也可直接传入 '120px' */
|
|
12
12
|
labelWidth?: number | string | '';
|
|
13
|
-
/**
|
|
13
|
+
/** 标签位置,left 左侧,top 顶部 */
|
|
14
14
|
labelPosition?: 'left' | 'top';
|
|
15
15
|
/** 直接通过数据渲染 */
|
|
16
16
|
data?: Array<Record<string, any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/index.vue"],"names":[],"mappings":"AAgIA,KAAK,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAA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
labelWidth?: string | number;
|
|
5
5
|
/** 跨越的列数,默认 1,可传字符串数字 */
|
|
6
6
|
span?: number | string;
|
|
7
|
-
/** 标签位置,left 左侧,top 顶部。如果未设置,则继承父组件的 label-position */
|
|
8
|
-
labelPosition?: 'left' | 'top';
|
|
9
7
|
};
|
|
10
8
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
11
9
|
type __VLS_Slots = {} & {
|
|
@@ -18,7 +16,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
18
16
|
span: number | string;
|
|
19
17
|
value: any;
|
|
20
18
|
labelWidth: string | number;
|
|
21
|
-
labelPosition: "left" | "top";
|
|
22
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
21
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/item.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/descriptions/item.vue"],"names":[],"mappings":"AAyHA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AA+FF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuB/C,QAAA,MAAM,eAAe;WA9HX,MAAM,GAAG,MAAM;UAIhB,MAAM,GAAG,MAAM;WAHd,GAAG;gBACE,MAAM,GAAG,MAAM;6EAmI5B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,YAAY,MAAM,YAAY,CAAC;AACtC,OAAO,YAAY,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,YAAY,MAAM,YAAY,CAAC;AACtC,OAAO,YAAY,MAAM,YAAY,CAAC;AAYtC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAc/B;AAED,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AACtC,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/index.vue"],"names":[],"mappings":"AAqWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAIjD,UAAU,KAAK;IACb,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAuCD,iBAAS,IAAI,SAmBZ;AAGD,iBAAS,IAAI,SAgBZ;AAGD,iBAAS,MAAM,SAOd;AAkRD,QAAA,IAAI,OAAO,IAAU,EAAuB,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAgCjD,QAAA,MAAM,eAAe;;;;;;;;;;;;cAlZR,OAAO;YACT,MAAM,GAAG,OAAO;eACb,MAAM,GAAG,MAAM;eAJf,iBAAiB;aACnB,OAAO,GAAG,OAAO;iBAIb,OAAO;iBACP,MAAM;iBACN,MAAM;6EAsZpB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import Form from './index.vue';
|
|
3
|
+
import FormItem from './item.vue';
|
|
4
|
+
export declare function install(app: App): App<any>;
|
|
5
|
+
export default Form;
|
|
6
|
+
export { FormItem };
|
|
7
|
+
export type { FormRules, FormRule, ValidateCallback, ValidateFieldCallback } from './index.vue';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAUlC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAQ/B;AAED,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export interface FormRules {
|
|
2
|
+
[key: string]: FormRule | FormRule[];
|
|
3
|
+
}
|
|
4
|
+
export interface FormRule {
|
|
5
|
+
required?: boolean;
|
|
6
|
+
message?: string;
|
|
7
|
+
trigger?: 'blur' | 'change' | 'submit';
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
type?: 'string' | 'number' | 'boolean' | 'method' | 'regexp' | 'integer' | 'float' | 'array' | 'object' | 'enum' | 'date' | 'url' | 'hex' | 'email';
|
|
11
|
+
pattern?: RegExp | string;
|
|
12
|
+
validator?: (rule: FormRule, value: any, callback: (error?: Error) => void) => void | Promise<void>;
|
|
13
|
+
transform?: (value: any) => any;
|
|
14
|
+
}
|
|
15
|
+
export interface ValidateCallback {
|
|
16
|
+
(isValid: boolean, invalidFields?: Record<string, string[]>): void;
|
|
17
|
+
}
|
|
18
|
+
export interface ValidateFieldCallback {
|
|
19
|
+
(errorMessage?: string): void;
|
|
20
|
+
}
|
|
21
|
+
interface Props {
|
|
22
|
+
/** 表单数据对象 */
|
|
23
|
+
model?: Record<string, any>;
|
|
24
|
+
/** 表单验证规则 */
|
|
25
|
+
rules?: FormRules;
|
|
26
|
+
/** 表单域标签的宽度,例如 '50px'。作为 Form 直接子元素的 FormItem 会继承该值。支持 auto。 */
|
|
27
|
+
labelWidth?: string | number;
|
|
28
|
+
/** 表单域标签的位置,如果值为 left 时,则需要设置 label-width */
|
|
29
|
+
labelPosition?: 'left' | 'top';
|
|
30
|
+
/** 行内表单模式 */
|
|
31
|
+
inline?: boolean;
|
|
32
|
+
/** 用于控制该表单内组件的尺寸 */
|
|
33
|
+
size?: 'large' | 'default' | 'small';
|
|
34
|
+
/** 是否禁用该表单内的所有组件。若设置为 true,则表单内组件上的 disabled 属性不再生效 */
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
/** 是否在 rules 属性改变后立即触发一次验证 */
|
|
37
|
+
validateOnRuleChange?: boolean;
|
|
38
|
+
/** 是否显示必填字段的标签旁边的红色星号 */
|
|
39
|
+
hideRequiredAsterisk?: boolean;
|
|
40
|
+
/** 是否显示校验错误信息 */
|
|
41
|
+
showMessage?: boolean;
|
|
42
|
+
}
|
|
43
|
+
declare var __VLS_1: {};
|
|
44
|
+
type __VLS_Slots = {} & {
|
|
45
|
+
default?: (props: typeof __VLS_1) => any;
|
|
46
|
+
};
|
|
47
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
48
|
+
validate: (callback?: ValidateCallback) => Promise<boolean>;
|
|
49
|
+
validateField: (prop: string, callback?: ValidateFieldCallback) => Promise<void>;
|
|
50
|
+
resetFields: () => void;
|
|
51
|
+
clearValidate: (props?: string | string[]) => void;
|
|
52
|
+
formRef: import("vue").Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
53
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
|
+
validate: (prop: string, isValid: boolean, message: string) => any;
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
56
|
+
onValidate?: ((prop: string, isValid: boolean, message: string) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
size: "large" | "default" | "small";
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
labelWidth: string | number;
|
|
61
|
+
labelPosition: "left" | "top";
|
|
62
|
+
model: Record<string, any>;
|
|
63
|
+
rules: FormRules;
|
|
64
|
+
inline: boolean;
|
|
65
|
+
validateOnRuleChange: boolean;
|
|
66
|
+
hideRequiredAsterisk: boolean;
|
|
67
|
+
showMessage: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.vue"],"names":[],"mappings":"AAmWA,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GA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AAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB/C,QAAA,MAAM,eAAe;0BAlKQ,gBAAgB,KAAG,OAAO,CAAC,OAAO,CAAC;0BAqCnC,MAAM,aAAa,qBAAqB,KAAG,OAAO,CAAC,IAAI,CAAC;;4BA6BtD,MAAM,GAAG,MAAM,EAAE;;;;;;;UA1OvC,OAAO,GAAG,SAAS,GAAG,OAAO;cAEzB,OAAO;gBARL,MAAM,GAAG,MAAM;mBAEZ,MAAM,GAAG,KAAK;WANtB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WAEnB,SAAS;YAMR,OAAO;0BAMO,OAAO;0BAEP,OAAO;iBAEhB,OAAO;6EA2UrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { FormRule, ValidateFieldCallback } from './index.vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** 表单域 model 字段,在使用 validate、resetFields 方法的情况下,该属性是必填的 */
|
|
4
|
+
prop?: string;
|
|
5
|
+
/** 标签文本 */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** 表单域标签的的宽度,例如 '50px'。支持 auto。 */
|
|
8
|
+
labelWidth?: string | number;
|
|
9
|
+
/** 是否必填,如不设置,则会根据校验规则自动生成 */
|
|
10
|
+
required?: boolean;
|
|
11
|
+
/** 表单验证规则 */
|
|
12
|
+
rules?: FormRule | FormRule[];
|
|
13
|
+
/** 是否显示校验错误信息 */
|
|
14
|
+
showMessage?: boolean;
|
|
15
|
+
/** 以行内形式展示校验信息 */
|
|
16
|
+
inlineMessage?: boolean;
|
|
17
|
+
/** 自定义错误提示信息,设置该值会使表单验证状态变为 error,并显示该错误信息 */
|
|
18
|
+
error?: string;
|
|
19
|
+
}
|
|
20
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
label?: (props: typeof __VLS_1) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: typeof __VLS_3) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
27
|
+
validate: (trigger?: "blur" | "change" | "submit", callback?: ValidateFieldCallback) => Promise<void>;
|
|
28
|
+
resetField: () => void;
|
|
29
|
+
clearValidate: () => void;
|
|
30
|
+
validateState: import("vue").Ref<"" | "success" | "error" | "validating", "" | "success" | "error" | "validating">;
|
|
31
|
+
validateMessage: import("vue").Ref<string, string>;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
33
|
+
required: boolean;
|
|
34
|
+
label: string;
|
|
35
|
+
labelWidth: string | number;
|
|
36
|
+
error: string;
|
|
37
|
+
rules: FormRule | FormRule[];
|
|
38
|
+
showMessage: boolean;
|
|
39
|
+
prop: string;
|
|
40
|
+
inlineMessage: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=item.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/item.vue"],"names":[],"mappings":"AA8hBA,OAAO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AAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,IAAI,MAAM,aAAa,CAAC;AAM/B,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAM/B;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;6EAAO,CAAC;AAC3B,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;AAMhC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAK/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type InputValue = string | number | null | undefined;
|
|
2
2
|
type InputSize = 'large' | 'default' | 'small';
|
|
3
|
+
type InputType = 'text' | 'textarea' | 'password' | 'number';
|
|
3
4
|
type AutosizeConfig = boolean | {
|
|
4
5
|
minRows?: number;
|
|
5
6
|
maxRows?: number;
|
|
@@ -8,8 +9,8 @@ type DeviceType = 'pc' | 'mobile';
|
|
|
8
9
|
interface Props {
|
|
9
10
|
/** 双向绑定值 */
|
|
10
11
|
modelValue?: InputValue;
|
|
11
|
-
/**
|
|
12
|
-
type?:
|
|
12
|
+
/** 输入框类型:'text' 文本输入(默认)、'textarea' 文本域、'password' 密码输入、'number' 数字输入 */
|
|
13
|
+
type?: InputType;
|
|
13
14
|
/** 尺寸 */
|
|
14
15
|
size?: InputSize;
|
|
15
16
|
/** 占位符 */
|
|
@@ -54,6 +55,18 @@ interface Props {
|
|
|
54
55
|
parser?: (value: string) => string;
|
|
55
56
|
/** 设备类型,'pc' | 'mobile',默认从全局配置读取,全局配置默认为 'pc' */
|
|
56
57
|
deviceType?: DeviceType;
|
|
58
|
+
/** 数字输入模式:最小值 */
|
|
59
|
+
min?: number;
|
|
60
|
+
/** 数字输入模式:最大值 */
|
|
61
|
+
max?: number;
|
|
62
|
+
/** 数字输入模式:步进值 */
|
|
63
|
+
step?: number;
|
|
64
|
+
/** 数字输入模式:精度(小数位数) */
|
|
65
|
+
precision?: number;
|
|
66
|
+
/** 数字输入模式:是否显示控制按钮 */
|
|
67
|
+
controls?: boolean;
|
|
68
|
+
/** 数字输入模式:是否使用千分位分隔符 */
|
|
69
|
+
useGrouping?: boolean;
|
|
57
70
|
}
|
|
58
71
|
declare function resizeTextarea(): void;
|
|
59
72
|
declare function focus(): void;
|
|
@@ -82,31 +95,31 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
82
95
|
clear: () => any;
|
|
83
96
|
"update:modelValue": (value: InputValue) => any;
|
|
84
97
|
change: (value: InputValue) => any;
|
|
85
|
-
focus: (event: FocusEvent) => any;
|
|
86
98
|
blur: (event: FocusEvent) => any;
|
|
99
|
+
compositionend: (event: CompositionEvent) => any;
|
|
100
|
+
compositionstart: (event: CompositionEvent) => any;
|
|
101
|
+
compositionupdate: (event: CompositionEvent) => any;
|
|
102
|
+
focus: (event: FocusEvent) => any;
|
|
87
103
|
keydown: (event: KeyboardEvent) => any;
|
|
88
104
|
mouseenter: (event: MouseEvent) => any;
|
|
89
105
|
mouseleave: (event: MouseEvent) => any;
|
|
90
|
-
compositionstart: (event: CompositionEvent) => any;
|
|
91
|
-
compositionupdate: (event: CompositionEvent) => any;
|
|
92
|
-
compositionend: (event: CompositionEvent) => any;
|
|
93
106
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
94
107
|
onInput?: ((value: InputValue) => any) | undefined;
|
|
95
108
|
onClear?: (() => any) | undefined;
|
|
96
109
|
"onUpdate:modelValue"?: ((value: InputValue) => any) | undefined;
|
|
97
110
|
onChange?: ((value: InputValue) => any) | undefined;
|
|
98
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
99
111
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
112
|
+
onCompositionend?: ((event: CompositionEvent) => any) | undefined;
|
|
113
|
+
onCompositionstart?: ((event: CompositionEvent) => any) | undefined;
|
|
114
|
+
onCompositionupdate?: ((event: CompositionEvent) => any) | undefined;
|
|
115
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
100
116
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
101
117
|
onMouseenter?: ((event: MouseEvent) => any) | undefined;
|
|
102
118
|
onMouseleave?: ((event: MouseEvent) => any) | undefined;
|
|
103
|
-
onCompositionstart?: ((event: CompositionEvent) => any) | undefined;
|
|
104
|
-
onCompositionupdate?: ((event: CompositionEvent) => any) | undefined;
|
|
105
|
-
onCompositionend?: ((event: CompositionEvent) => any) | undefined;
|
|
106
119
|
}>, {
|
|
107
120
|
name: string;
|
|
108
121
|
size: InputSize;
|
|
109
|
-
type:
|
|
122
|
+
type: InputType;
|
|
110
123
|
form: string;
|
|
111
124
|
disabled: boolean;
|
|
112
125
|
suffixIcon: string;
|
|
@@ -114,6 +127,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
114
127
|
modelValue: string | number | null;
|
|
115
128
|
formatter: (value: string) => string;
|
|
116
129
|
readonly: boolean;
|
|
130
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
117
131
|
clearable: boolean;
|
|
118
132
|
showPassword: boolean;
|
|
119
133
|
maxlength: number;
|
|
@@ -121,13 +135,18 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
121
135
|
showWordLimit: boolean;
|
|
122
136
|
rows: number;
|
|
123
137
|
autosize: AutosizeConfig;
|
|
124
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
125
138
|
prefixIcon: string;
|
|
126
139
|
autocomplete: string;
|
|
127
140
|
autofocus: boolean;
|
|
128
141
|
tabindex: string | number;
|
|
129
142
|
parser: (value: string) => string;
|
|
130
143
|
deviceType: DeviceType;
|
|
144
|
+
min: number;
|
|
145
|
+
max: number;
|
|
146
|
+
step: number;
|
|
147
|
+
precision: number;
|
|
148
|
+
controls: boolean;
|
|
149
|
+
useGrouping: boolean;
|
|
131
150
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
151
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
133
152
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.vue"],"names":[],"mappings":"AAmnCA,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AACrD,KAAK,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAC/C,KAAK,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC7D,KAAK,cAAc,GAAG,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACvE,KAAK,UAAU,GAAG,IAAI,GAAG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AAG,YAAY,GAAG,UAAU;eAhBxC,OAAO;kBAEJ,OAAO;eAIV,MAAM;eAEN,MAAM;mBAEF,OAAO;UAEhB,MAAM;cAEF,cAAc;gBAIZ,MAAM;kBAIJ,MAAM;eAIT,OAAO;cAIR,MAAM,GAAG,MAAM;YAIjB,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;gBAErB,UAAU;SAEjB,MAAM;SAEN,MAAM;UAEL,MAAM;eAED,MAAM;cAEP,OAAO;iBAEJ,OAAO;6EA4hCrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,MAAM,aAAa,CAAC;AAQhC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,YAM/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popup/index.vue"],"names":[],"mappings":"AAyWA,KAAK,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,Q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RpB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search-area/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search-area/index.vue"],"names":[],"mappings":"AAguCA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,GAAG,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,cAAc;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,2GAA2G;IAC3G,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,aAAa,GAAG,eAAe,GAAG,OAAO,GAAG,UAAU,CAAC;IACrF,WAAW;IACX,OAAO,CAAC,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,CAAC;IACpC,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gGAAgG;IAChG,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,YAAY,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC;IAChD,yDAAyD;IACzD,UAAU,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,YAAY,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC;IACpD,qCAAqC;IACrC,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,YAAY,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC;IACtD,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC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