yc-pro-components 0.0.15 → 0.0.17
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/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/form/index.d.ts +5 -0
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form-item/index.d.ts +32 -32
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +25 -25
- package/es/components/radio/src/index.vue.d.ts +25 -25
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +97 -0
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/form/index.d.ts +5 -0
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form-item/index.d.ts +32 -32
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +25 -25
- package/lib/components/radio/src/index.vue.d.ts +25 -25
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +97 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -27,15 +27,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
27
|
$data: {};
|
|
28
28
|
$props: Partial<{
|
|
29
29
|
index: number;
|
|
30
|
-
rest: RecordType;
|
|
31
30
|
formProps: PlusFormProps;
|
|
31
|
+
rest: RecordType;
|
|
32
32
|
column: PlusColumn;
|
|
33
33
|
row: RecordType;
|
|
34
34
|
editable: boolean | "click" | "dblclick";
|
|
35
35
|
}> & Omit<{
|
|
36
36
|
readonly index: number;
|
|
37
|
-
readonly rest: RecordType;
|
|
38
37
|
readonly formProps: PlusFormProps;
|
|
38
|
+
readonly rest: RecordType;
|
|
39
39
|
readonly column: PlusColumn;
|
|
40
40
|
readonly row: RecordType;
|
|
41
41
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -49,14 +49,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
49
49
|
type: PropType<number>;
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
|
-
rest: {
|
|
53
|
-
type: PropType<RecordType>;
|
|
54
|
-
default: () => {};
|
|
55
|
-
};
|
|
56
52
|
formProps: {
|
|
57
53
|
type: PropType<PlusFormProps>;
|
|
58
54
|
default: () => {};
|
|
59
55
|
};
|
|
56
|
+
rest: {
|
|
57
|
+
type: PropType<RecordType>;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
60
|
column: {
|
|
61
61
|
type: PropType<PlusColumn>;
|
|
62
62
|
required: true;
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
80
80
|
prop: string;
|
|
81
81
|
row: RecordType;
|
|
82
82
|
}) => any) | undefined;
|
|
83
|
-
}, "index" | "
|
|
83
|
+
}, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -103,14 +103,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
103
103
|
type: PropType<number>;
|
|
104
104
|
default: number;
|
|
105
105
|
};
|
|
106
|
-
rest: {
|
|
107
|
-
type: PropType<RecordType>;
|
|
108
|
-
default: () => {};
|
|
109
|
-
};
|
|
110
106
|
formProps: {
|
|
111
107
|
type: PropType<PlusFormProps>;
|
|
112
108
|
default: () => {};
|
|
113
109
|
};
|
|
110
|
+
rest: {
|
|
111
|
+
type: PropType<RecordType>;
|
|
112
|
+
default: () => {};
|
|
113
|
+
};
|
|
114
114
|
column: {
|
|
115
115
|
type: PropType<PlusColumn>;
|
|
116
116
|
required: true;
|
|
@@ -153,8 +153,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
153
153
|
}) => void;
|
|
154
154
|
}, string, {
|
|
155
155
|
index: number;
|
|
156
|
-
rest: RecordType;
|
|
157
156
|
formProps: PlusFormProps;
|
|
157
|
+
rest: RecordType;
|
|
158
158
|
column: PlusColumn;
|
|
159
159
|
row: RecordType;
|
|
160
160
|
editable: boolean | "click" | "dblclick";
|
|
@@ -183,14 +183,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
183
183
|
type: PropType<number>;
|
|
184
184
|
default: number;
|
|
185
185
|
};
|
|
186
|
-
rest: {
|
|
187
|
-
type: PropType<RecordType>;
|
|
188
|
-
default: () => {};
|
|
189
|
-
};
|
|
190
186
|
formProps: {
|
|
191
187
|
type: PropType<PlusFormProps>;
|
|
192
188
|
default: () => {};
|
|
193
189
|
};
|
|
190
|
+
rest: {
|
|
191
|
+
type: PropType<RecordType>;
|
|
192
|
+
default: () => {};
|
|
193
|
+
};
|
|
194
194
|
column: {
|
|
195
195
|
type: PropType<PlusColumn>;
|
|
196
196
|
required: true;
|
|
@@ -229,12 +229,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
229
229
|
$slots: Partial<Record<string, (_: {
|
|
230
230
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
231
231
|
readonly label: string | ComputedRef<string>;
|
|
232
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
232
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
233
233
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
234
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
235
235
|
style?: CSSProperties | undefined;
|
|
236
236
|
class?: any;
|
|
237
|
-
} & RecordType> | ComputedRef<
|
|
237
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
238
238
|
style?: CSSProperties | undefined;
|
|
239
239
|
class?: any;
|
|
240
240
|
} & RecordType>>;
|
|
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
256
256
|
};
|
|
257
257
|
rows: number;
|
|
258
258
|
autocomplete: string;
|
|
259
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
259
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
260
260
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
261
261
|
step: string | number;
|
|
262
262
|
format: string | ProgressFn | undefined;
|
|
@@ -301,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
fieldInstance?: any;
|
|
302
302
|
valueIsReady?: Ref<boolean> | undefined;
|
|
303
303
|
prop: string;
|
|
304
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
304
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
305
305
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
306
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
307
307
|
style?: CSSProperties | undefined;
|
|
308
308
|
class?: any;
|
|
309
|
-
} & RecordType> | ComputedRef<
|
|
309
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
310
310
|
style?: CSSProperties | undefined;
|
|
311
311
|
class?: any;
|
|
312
312
|
} & RecordType>>;
|
|
@@ -337,12 +337,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
337
337
|
}) => any>> & Partial<Record<string, (_: {
|
|
338
338
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
339
339
|
readonly label: string | ComputedRef<string>;
|
|
340
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
340
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
341
341
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
342
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
343
343
|
style?: CSSProperties | undefined;
|
|
344
344
|
class?: any;
|
|
345
|
-
} & RecordType> | ComputedRef<
|
|
345
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
346
346
|
style?: CSSProperties | undefined;
|
|
347
347
|
class?: any;
|
|
348
348
|
} & RecordType>>;
|
|
@@ -364,7 +364,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
364
364
|
};
|
|
365
365
|
rows: number;
|
|
366
366
|
autocomplete: string;
|
|
367
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
367
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
368
368
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
369
369
|
step: string | number;
|
|
370
370
|
format: string | ProgressFn | undefined;
|
|
@@ -409,12 +409,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
409
409
|
fieldInstance?: any;
|
|
410
410
|
valueIsReady?: Ref<boolean> | undefined;
|
|
411
411
|
prop: string;
|
|
412
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
412
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
413
413
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
414
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
415
415
|
style?: CSSProperties | undefined;
|
|
416
416
|
class?: any;
|
|
417
|
-
} & RecordType> | ComputedRef<
|
|
417
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
418
418
|
style?: CSSProperties | undefined;
|
|
419
419
|
class?: any;
|
|
420
420
|
} & RecordType>>;
|
|
@@ -445,12 +445,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
445
445
|
}) => any>> & Partial<Record<string, (_: {
|
|
446
446
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
447
447
|
readonly label: string | ComputedRef<string>;
|
|
448
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
448
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
449
449
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
450
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
451
451
|
style?: CSSProperties | undefined;
|
|
452
452
|
class?: any;
|
|
453
|
-
} & RecordType> | ComputedRef<
|
|
453
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
454
454
|
style?: CSSProperties | undefined;
|
|
455
455
|
class?: any;
|
|
456
456
|
} & RecordType>>;
|
|
@@ -472,7 +472,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
472
472
|
};
|
|
473
473
|
rows: number;
|
|
474
474
|
autocomplete: string;
|
|
475
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
475
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
476
476
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
477
477
|
step: string | number;
|
|
478
478
|
format: string | ProgressFn | undefined;
|
|
@@ -517,12 +517,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
517
517
|
fieldInstance?: any;
|
|
518
518
|
valueIsReady?: Ref<boolean> | undefined;
|
|
519
519
|
prop: string;
|
|
520
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
520
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
521
521
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
522
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
523
523
|
style?: CSSProperties | undefined;
|
|
524
524
|
class?: any;
|
|
525
|
-
} & RecordType> | ComputedRef<
|
|
525
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
526
526
|
style?: CSSProperties | undefined;
|
|
527
527
|
class?: any;
|
|
528
528
|
} & RecordType>>;
|
|
@@ -126,8 +126,8 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
126
126
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
duration: number;
|
|
130
129
|
color: string;
|
|
130
|
+
duration: number;
|
|
131
131
|
separator: string;
|
|
132
132
|
fontSize: string;
|
|
133
133
|
prefix: string;
|
|
@@ -119,8 +119,8 @@ declare const _default: DefineComponent<{
|
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
duration: number;
|
|
123
122
|
color: string;
|
|
123
|
+
duration: number;
|
|
124
124
|
separator: string;
|
|
125
125
|
fontSize: string;
|
|
126
126
|
prefix: string;
|
|
@@ -6,12 +6,12 @@ export * from './src/type';
|
|
|
6
6
|
export type YcDialogInstance = InstanceType<typeof YcDialogComponent>;
|
|
7
7
|
export declare const YcDialog: {
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
width: {
|
|
10
|
-
type: PropType<string | number>;
|
|
11
|
-
};
|
|
12
9
|
size: {
|
|
13
10
|
type: PropType<DialogSize>;
|
|
14
11
|
};
|
|
12
|
+
width: {
|
|
13
|
+
type: PropType<string | number>;
|
|
14
|
+
};
|
|
15
15
|
maxHeight: {
|
|
16
16
|
type: PropType<string | number | false>;
|
|
17
17
|
default: string;
|
|
@@ -21,12 +21,12 @@ export declare const YcDialog: {
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
24
|
-
width: {
|
|
25
|
-
type: PropType<string | number>;
|
|
26
|
-
};
|
|
27
24
|
size: {
|
|
28
25
|
type: PropType<DialogSize>;
|
|
29
26
|
};
|
|
27
|
+
width: {
|
|
28
|
+
type: PropType<string | number>;
|
|
29
|
+
};
|
|
30
30
|
maxHeight: {
|
|
31
31
|
type: PropType<string | number | false>;
|
|
32
32
|
default: string;
|
|
@@ -46,12 +46,12 @@ export declare const YcDialog: {
|
|
|
46
46
|
M: {};
|
|
47
47
|
Defaults: {};
|
|
48
48
|
}, Readonly< ExtractPropTypes<{
|
|
49
|
-
width: {
|
|
50
|
-
type: PropType<string | number>;
|
|
51
|
-
};
|
|
52
49
|
size: {
|
|
53
50
|
type: PropType<DialogSize>;
|
|
54
51
|
};
|
|
52
|
+
width: {
|
|
53
|
+
type: PropType<string | number>;
|
|
54
|
+
};
|
|
55
55
|
maxHeight: {
|
|
56
56
|
type: PropType<string | number | false>;
|
|
57
57
|
default: string;
|
|
@@ -68,12 +68,12 @@ export declare const YcDialog: {
|
|
|
68
68
|
__isTeleport?: undefined;
|
|
69
69
|
__isSuspense?: undefined;
|
|
70
70
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
71
|
-
width: {
|
|
72
|
-
type: PropType<string | number>;
|
|
73
|
-
};
|
|
74
71
|
size: {
|
|
75
72
|
type: PropType<DialogSize>;
|
|
76
73
|
};
|
|
74
|
+
width: {
|
|
75
|
+
type: PropType<string | number>;
|
|
76
|
+
};
|
|
77
77
|
maxHeight: {
|
|
78
78
|
type: PropType<string | number | false>;
|
|
79
79
|
default: string;
|
|
@@ -94,12 +94,12 @@ export declare const YcDialog: {
|
|
|
94
94
|
});
|
|
95
95
|
export declare const ReDialog: {
|
|
96
96
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
97
|
-
width: {
|
|
98
|
-
type: PropType<string | number>;
|
|
99
|
-
};
|
|
100
97
|
size: {
|
|
101
98
|
type: PropType<DialogSize>;
|
|
102
99
|
};
|
|
100
|
+
width: {
|
|
101
|
+
type: PropType<string | number>;
|
|
102
|
+
};
|
|
103
103
|
maxHeight: {
|
|
104
104
|
type: PropType<string | number | false>;
|
|
105
105
|
default: string;
|
|
@@ -109,12 +109,12 @@ export declare const ReDialog: {
|
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
111
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
112
|
-
width: {
|
|
113
|
-
type: PropType<string | number>;
|
|
114
|
-
};
|
|
115
112
|
size: {
|
|
116
113
|
type: PropType<DialogSize>;
|
|
117
114
|
};
|
|
115
|
+
width: {
|
|
116
|
+
type: PropType<string | number>;
|
|
117
|
+
};
|
|
118
118
|
maxHeight: {
|
|
119
119
|
type: PropType<string | number | false>;
|
|
120
120
|
default: string;
|
|
@@ -134,12 +134,12 @@ export declare const ReDialog: {
|
|
|
134
134
|
M: {};
|
|
135
135
|
Defaults: {};
|
|
136
136
|
}, Readonly< ExtractPropTypes<{
|
|
137
|
-
width: {
|
|
138
|
-
type: PropType<string | number>;
|
|
139
|
-
};
|
|
140
137
|
size: {
|
|
141
138
|
type: PropType<DialogSize>;
|
|
142
139
|
};
|
|
140
|
+
width: {
|
|
141
|
+
type: PropType<string | number>;
|
|
142
|
+
};
|
|
143
143
|
maxHeight: {
|
|
144
144
|
type: PropType<string | number | false>;
|
|
145
145
|
default: string;
|
|
@@ -156,12 +156,12 @@ export declare const ReDialog: {
|
|
|
156
156
|
__isTeleport?: undefined;
|
|
157
157
|
__isSuspense?: undefined;
|
|
158
158
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
159
|
-
width: {
|
|
160
|
-
type: PropType<string | number>;
|
|
161
|
-
};
|
|
162
159
|
size: {
|
|
163
160
|
type: PropType<DialogSize>;
|
|
164
161
|
};
|
|
162
|
+
width: {
|
|
163
|
+
type: PropType<string | number>;
|
|
164
|
+
};
|
|
165
165
|
maxHeight: {
|
|
166
166
|
type: PropType<string | number | false>;
|
|
167
167
|
default: string;
|
|
@@ -5,22 +5,22 @@ import { default as YcMoreActionsComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcMoreActionsInstance = InstanceType<typeof YcMoreActionsComponent>;
|
|
7
7
|
export declare const YcMoreActions: DefineComponent<{
|
|
8
|
-
|
|
9
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
trigger: {
|
|
13
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
8
|
+
showArrow: {
|
|
17
9
|
type: PropType<boolean>;
|
|
18
10
|
default: boolean;
|
|
19
11
|
};
|
|
20
|
-
|
|
12
|
+
disabled: {
|
|
21
13
|
type: PropType<boolean>;
|
|
22
14
|
default: boolean;
|
|
23
15
|
};
|
|
16
|
+
trigger: {
|
|
17
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
placement: {
|
|
21
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
24
|
context: {
|
|
25
25
|
type: PropType<object | Record<string, unknown> | null>;
|
|
26
26
|
};
|
|
@@ -54,22 +54,22 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
54
54
|
"visible-change": (visible: boolean) => void;
|
|
55
55
|
"action-click": (key: string, context?: unknown) => void;
|
|
56
56
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
-
|
|
58
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
trigger: {
|
|
62
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
disabled: {
|
|
57
|
+
showArrow: {
|
|
66
58
|
type: PropType<boolean>;
|
|
67
59
|
default: boolean;
|
|
68
60
|
};
|
|
69
|
-
|
|
61
|
+
disabled: {
|
|
70
62
|
type: PropType<boolean>;
|
|
71
63
|
default: boolean;
|
|
72
64
|
};
|
|
65
|
+
trigger: {
|
|
66
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
placement: {
|
|
70
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
73
|
context: {
|
|
74
74
|
type: PropType<object | Record<string, unknown> | null>;
|
|
75
75
|
};
|
|
@@ -103,10 +103,10 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
103
103
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
104
104
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
107
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
108
|
-
disabled: boolean;
|
|
109
106
|
showArrow: boolean;
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
109
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
110
110
|
stopPropagation: boolean;
|
|
111
111
|
actions: MoreActionItem[];
|
|
112
112
|
triggerButton: TriggerButtonProps;
|
|
@@ -114,22 +114,22 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
114
114
|
dropdownStyle: Record<string, string | number>;
|
|
115
115
|
}, {}>;
|
|
116
116
|
export declare const ReMoreActions: DefineComponent<{
|
|
117
|
-
|
|
118
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
trigger: {
|
|
122
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
disabled: {
|
|
117
|
+
showArrow: {
|
|
126
118
|
type: PropType<boolean>;
|
|
127
119
|
default: boolean;
|
|
128
120
|
};
|
|
129
|
-
|
|
121
|
+
disabled: {
|
|
130
122
|
type: PropType<boolean>;
|
|
131
123
|
default: boolean;
|
|
132
124
|
};
|
|
125
|
+
trigger: {
|
|
126
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
placement: {
|
|
130
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
133
|
context: {
|
|
134
134
|
type: PropType<object | Record<string, unknown> | null>;
|
|
135
135
|
};
|
|
@@ -163,22 +163,22 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
163
163
|
"visible-change": (visible: boolean) => void;
|
|
164
164
|
"action-click": (key: string, context?: unknown) => void;
|
|
165
165
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
166
|
-
|
|
167
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
trigger: {
|
|
171
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
disabled: {
|
|
166
|
+
showArrow: {
|
|
175
167
|
type: PropType<boolean>;
|
|
176
168
|
default: boolean;
|
|
177
169
|
};
|
|
178
|
-
|
|
170
|
+
disabled: {
|
|
179
171
|
type: PropType<boolean>;
|
|
180
172
|
default: boolean;
|
|
181
173
|
};
|
|
174
|
+
trigger: {
|
|
175
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
placement: {
|
|
179
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
182
|
context: {
|
|
183
183
|
type: PropType<object | Record<string, unknown> | null>;
|
|
184
184
|
};
|
|
@@ -212,10 +212,10 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
212
212
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
213
213
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
216
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
217
|
-
disabled: boolean;
|
|
218
215
|
showArrow: boolean;
|
|
216
|
+
disabled: boolean;
|
|
217
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
218
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
219
219
|
stopPropagation: boolean;
|
|
220
220
|
actions: MoreActionItem[];
|
|
221
221
|
triggerButton: TriggerButtonProps;
|
|
@@ -38,10 +38,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
38
38
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
39
39
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
42
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
43
|
-
disabled: boolean;
|
|
44
41
|
showArrow: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
44
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
45
45
|
stopPropagation: boolean;
|
|
46
46
|
actions: MoreActionItem[];
|
|
47
47
|
triggerButton: TriggerButtonProps;
|
|
@@ -47,11 +47,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
47
47
|
onChange?: ((value: SelectValueType) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
disabled: boolean;
|
|
51
50
|
filterable: boolean;
|
|
51
|
+
disabled: boolean;
|
|
52
52
|
options: SelectOption[];
|
|
53
53
|
pageSize: number;
|
|
54
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
54
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
55
55
|
multiple: boolean;
|
|
56
56
|
clearable: boolean;
|
|
57
57
|
placeholder: string;
|
|
@@ -28,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
onCancel?: (() => any) | undefined;
|
|
29
29
|
onConfirm?: (() => any) | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
content: string;
|
|
32
31
|
title: string;
|
|
33
32
|
width: string | number;
|
|
33
|
+
content: string;
|
|
34
34
|
visible: boolean;
|
|
35
35
|
status: StatusType;
|
|
36
36
|
cancelText: string;
|
|
@@ -18,9 +18,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
18
18
|
}>>>, {
|
|
19
19
|
size: string | number;
|
|
20
20
|
color: string;
|
|
21
|
-
opacity: number;
|
|
22
21
|
preserveColor: boolean;
|
|
23
22
|
grayscale: boolean;
|
|
23
|
+
opacity: number;
|
|
24
24
|
customFilter: string;
|
|
25
25
|
}, {}>;
|
|
26
26
|
export default _default;
|
|
@@ -9,7 +9,7 @@ interface TippyOptions {
|
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
10
10
|
/** 行数限制 */
|
|
11
11
|
lineClamp: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
13
13
|
};
|
|
14
14
|
/** Tippy 配置 */
|
|
15
15
|
tippyProps: {
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
19
19
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
20
20
|
/** 行数限制 */
|
|
21
21
|
lineClamp: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
23
|
};
|
|
24
24
|
/** Tippy 配置 */
|
|
25
25
|
tippyProps: {
|