yc-pro-components 0.0.60 → 0.0.61
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/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +10 -10
- package/es/components/dialog-form/index.d.ts +7 -7
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- 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/drawer-form/index.d.ts +32 -32
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +14 -14
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +38 -38
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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/page/index.d.ts +112 -112
- package/es/components/page/src/index.vue.d.ts +42 -42
- package/es/components/radio/index.d.ts +23 -23
- package/es/components/radio/src/index.vue.d.ts +23 -23
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +49 -49
- package/es/components/search/src/index.vue.d.ts +21 -21
- 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-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +0 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +77 -77
- 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 +102 -102
- package/es/index.css +11 -11
- package/index.css +6 -6
- package/index.js +2 -8
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +10 -10
- package/index.mjs +2 -8
- 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/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +10 -10
- package/lib/components/dialog-form/index.d.ts +7 -7
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- 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/drawer-form/index.d.ts +32 -32
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +14 -14
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +38 -38
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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/page/index.d.ts +112 -112
- package/lib/components/page/src/index.vue.d.ts +42 -42
- package/lib/components/radio/index.d.ts +23 -23
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +49 -49
- package/lib/components/search/src/index.vue.d.ts +21 -21
- 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-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +0 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +77 -77
- 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 +102 -102
- package/lib/index.css +10 -10
- 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
|
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
$data: {};
|
|
27
27
|
$props: Partial<{
|
|
28
28
|
index: number;
|
|
29
|
-
formProps: PlusFormProps;
|
|
30
29
|
rest: RecordType;
|
|
30
|
+
formProps: PlusFormProps;
|
|
31
31
|
column: PlusColumn;
|
|
32
32
|
row: RecordType;
|
|
33
33
|
editable: boolean | "click" | "dblclick";
|
|
34
34
|
}> & Omit<{
|
|
35
35
|
readonly index: number;
|
|
36
|
-
readonly formProps: PlusFormProps;
|
|
37
36
|
readonly rest: RecordType;
|
|
37
|
+
readonly formProps: PlusFormProps;
|
|
38
38
|
readonly column: PlusColumn;
|
|
39
39
|
readonly row: RecordType;
|
|
40
40
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
type: PropType<number>;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
formProps: {
|
|
52
|
-
type: PropType<PlusFormProps>;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
51
|
rest: {
|
|
56
52
|
type: PropType<RecordType>;
|
|
57
53
|
default: () => {};
|
|
58
54
|
};
|
|
55
|
+
formProps: {
|
|
56
|
+
type: PropType<PlusFormProps>;
|
|
57
|
+
default: () => {};
|
|
58
|
+
};
|
|
59
59
|
column: {
|
|
60
60
|
type: PropType<PlusColumn>;
|
|
61
61
|
required: true;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
79
79
|
prop: string;
|
|
80
80
|
row: RecordType;
|
|
81
81
|
}) => any) | undefined;
|
|
82
|
-
}, "index" | "
|
|
82
|
+
}, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
|
|
83
83
|
$attrs: {
|
|
84
84
|
[x: string]: unknown;
|
|
85
85
|
};
|
|
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
102
102
|
type: PropType<number>;
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
|
-
formProps: {
|
|
106
|
-
type: PropType<PlusFormProps>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
105
|
rest: {
|
|
110
106
|
type: PropType<RecordType>;
|
|
111
107
|
default: () => {};
|
|
112
108
|
};
|
|
109
|
+
formProps: {
|
|
110
|
+
type: PropType<PlusFormProps>;
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
113
|
column: {
|
|
114
114
|
type: PropType<PlusColumn>;
|
|
115
115
|
required: true;
|
|
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
152
152
|
}) => void;
|
|
153
153
|
}, string, {
|
|
154
154
|
index: number;
|
|
155
|
-
formProps: PlusFormProps;
|
|
156
155
|
rest: RecordType;
|
|
156
|
+
formProps: PlusFormProps;
|
|
157
157
|
column: PlusColumn;
|
|
158
158
|
row: RecordType;
|
|
159
159
|
editable: boolean | "click" | "dblclick";
|
|
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
182
182
|
type: PropType<number>;
|
|
183
183
|
default: number;
|
|
184
184
|
};
|
|
185
|
-
formProps: {
|
|
186
|
-
type: PropType<PlusFormProps>;
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
185
|
rest: {
|
|
190
186
|
type: PropType<RecordType>;
|
|
191
187
|
default: () => {};
|
|
192
188
|
};
|
|
189
|
+
formProps: {
|
|
190
|
+
type: PropType<PlusFormProps>;
|
|
191
|
+
default: () => {};
|
|
192
|
+
};
|
|
193
193
|
column: {
|
|
194
194
|
type: PropType<PlusColumn>;
|
|
195
195
|
required: true;
|
|
@@ -228,12 +228,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
228
228
|
$slots: Partial<Record<string, (_: {
|
|
229
229
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
230
230
|
readonly label: string | ComputedRef<string>;
|
|
231
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
231
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
|
-
readonly tooltip: string |
|
|
233
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
235
235
|
class?: any;
|
|
236
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
236
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
237
237
|
style?: CSSProperties | undefined;
|
|
238
238
|
class?: any;
|
|
239
239
|
} & RecordType>>;
|
|
@@ -255,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
};
|
|
256
256
|
rows: number;
|
|
257
257
|
autocomplete: string;
|
|
258
|
-
type: "" | "number" | "default" | "
|
|
258
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
259
259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
260
260
|
step: string | number;
|
|
261
261
|
format: string | ProgressFn | undefined;
|
|
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
300
|
fieldInstance?: any;
|
|
301
301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
302
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
303
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string |
|
|
305
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
306
|
style?: CSSProperties | undefined;
|
|
307
307
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
308
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
309
309
|
style?: CSSProperties | undefined;
|
|
310
310
|
class?: any;
|
|
311
311
|
} & RecordType>>;
|
|
@@ -336,12 +336,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
336
336
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
337
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
338
338
|
readonly label: string | ComputedRef<string>;
|
|
339
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
339
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
340
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
|
-
readonly tooltip: string |
|
|
341
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
342
|
style?: CSSProperties | undefined;
|
|
343
343
|
class?: any;
|
|
344
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
344
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
345
345
|
style?: CSSProperties | undefined;
|
|
346
346
|
class?: any;
|
|
347
347
|
} & RecordType>>;
|
|
@@ -363,7 +363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
363
363
|
};
|
|
364
364
|
rows: number;
|
|
365
365
|
autocomplete: string;
|
|
366
|
-
type: "" | "number" | "default" | "
|
|
366
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
367
367
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
368
368
|
step: string | number;
|
|
369
369
|
format: string | ProgressFn | undefined;
|
|
@@ -408,12 +408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
408
408
|
fieldInstance?: any;
|
|
409
409
|
valueIsReady?: Ref<boolean> | undefined;
|
|
410
410
|
prop: string;
|
|
411
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
411
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
412
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
|
-
tooltip: string |
|
|
413
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
414
|
style?: CSSProperties | undefined;
|
|
415
415
|
class?: any;
|
|
416
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
416
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
417
417
|
style?: CSSProperties | undefined;
|
|
418
418
|
class?: any;
|
|
419
419
|
} & RecordType>>;
|
|
@@ -444,12 +444,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
444
444
|
}) => any>> & Partial<Record<string, (_: {
|
|
445
445
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
446
446
|
readonly label: string | ComputedRef<string>;
|
|
447
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
447
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
448
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
|
-
readonly tooltip: string |
|
|
449
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
452
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
453
453
|
style?: CSSProperties | undefined;
|
|
454
454
|
class?: any;
|
|
455
455
|
} & RecordType>>;
|
|
@@ -471,7 +471,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
471
471
|
};
|
|
472
472
|
rows: number;
|
|
473
473
|
autocomplete: string;
|
|
474
|
-
type: "" | "number" | "default" | "
|
|
474
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
475
475
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
476
476
|
step: string | number;
|
|
477
477
|
format: string | ProgressFn | undefined;
|
|
@@ -516,12 +516,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
516
516
|
fieldInstance?: any;
|
|
517
517
|
valueIsReady?: Ref<boolean> | undefined;
|
|
518
518
|
prop: string;
|
|
519
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
519
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
520
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
|
-
tooltip: string |
|
|
521
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
522
|
style?: CSSProperties | undefined;
|
|
523
523
|
class?: any;
|
|
524
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
524
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
525
525
|
style?: CSSProperties | undefined;
|
|
526
526
|
class?: any;
|
|
527
527
|
} & 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
|
-
color: string;
|
|
130
129
|
duration: number;
|
|
130
|
+
color: string;
|
|
131
131
|
separator: string;
|
|
132
132
|
decimal: string;
|
|
133
133
|
fontSize: 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
|
-
color: string;
|
|
123
122
|
duration: number;
|
|
123
|
+
color: string;
|
|
124
124
|
separator: string;
|
|
125
125
|
decimal: string;
|
|
126
126
|
fontSize: 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
|
-
size: {
|
|
10
|
-
type: PropType<DialogSize>;
|
|
11
|
-
};
|
|
12
9
|
width: {
|
|
13
10
|
type: PropType<string | number>;
|
|
14
11
|
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
25
|
-
type: PropType<DialogSize>;
|
|
26
|
-
};
|
|
27
24
|
width: {
|
|
28
25
|
type: PropType<string | number>;
|
|
29
26
|
};
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
50
|
-
type: PropType<DialogSize>;
|
|
51
|
-
};
|
|
52
49
|
width: {
|
|
53
50
|
type: PropType<string | number>;
|
|
54
51
|
};
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
72
|
-
type: PropType<DialogSize>;
|
|
73
|
-
};
|
|
74
71
|
width: {
|
|
75
72
|
type: PropType<string | number>;
|
|
76
73
|
};
|
|
74
|
+
size: {
|
|
75
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
98
|
-
type: PropType<DialogSize>;
|
|
99
|
-
};
|
|
100
97
|
width: {
|
|
101
98
|
type: PropType<string | number>;
|
|
102
99
|
};
|
|
100
|
+
size: {
|
|
101
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
113
|
-
type: PropType<DialogSize>;
|
|
114
|
-
};
|
|
115
112
|
width: {
|
|
116
113
|
type: PropType<string | number>;
|
|
117
114
|
};
|
|
115
|
+
size: {
|
|
116
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
138
|
-
type: PropType<DialogSize>;
|
|
139
|
-
};
|
|
140
137
|
width: {
|
|
141
138
|
type: PropType<string | number>;
|
|
142
139
|
};
|
|
140
|
+
size: {
|
|
141
|
+
type: PropType<DialogSize>;
|
|
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
|
-
size: {
|
|
160
|
-
type: PropType<DialogSize>;
|
|
161
|
-
};
|
|
162
159
|
width: {
|
|
163
160
|
type: PropType<string | number>;
|
|
164
161
|
};
|
|
162
|
+
size: {
|
|
163
|
+
type: PropType<DialogSize>;
|
|
164
|
+
};
|
|
165
165
|
maxHeight: {
|
|
166
166
|
type: PropType<string | number | false>;
|
|
167
167
|
default: string;
|
|
@@ -5,21 +5,21 @@ 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<
|
|
10
|
-
default:
|
|
11
|
-
};
|
|
12
|
-
disabled: {
|
|
13
|
-
type: PropType<boolean>;
|
|
14
|
-
default: boolean;
|
|
8
|
+
placement: {
|
|
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;
|
|
15
11
|
};
|
|
16
12
|
trigger: {
|
|
17
13
|
type: PropType<"hover" | "click" | "contextmenu">;
|
|
18
14
|
default: string;
|
|
19
15
|
};
|
|
20
|
-
|
|
21
|
-
type: PropType<
|
|
22
|
-
default:
|
|
16
|
+
disabled: {
|
|
17
|
+
type: PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
showArrow: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
context: {
|
|
25
25
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -54,21 +54,21 @@ 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<
|
|
59
|
-
default:
|
|
60
|
-
};
|
|
61
|
-
disabled: {
|
|
62
|
-
type: PropType<boolean>;
|
|
63
|
-
default: boolean;
|
|
57
|
+
placement: {
|
|
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;
|
|
64
60
|
};
|
|
65
61
|
trigger: {
|
|
66
62
|
type: PropType<"hover" | "click" | "contextmenu">;
|
|
67
63
|
default: string;
|
|
68
64
|
};
|
|
69
|
-
|
|
70
|
-
type: PropType<
|
|
71
|
-
default:
|
|
65
|
+
disabled: {
|
|
66
|
+
type: PropType<boolean>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
showArrow: {
|
|
70
|
+
type: PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
context: {
|
|
74
74
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -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
|
-
showArrow: boolean;
|
|
107
|
-
disabled: boolean;
|
|
108
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
109
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
|
+
showArrow: boolean;
|
|
110
110
|
stopPropagation: boolean;
|
|
111
111
|
actions: MoreActionItem[];
|
|
112
112
|
triggerButton: TriggerButtonProps;
|
|
@@ -114,21 +114,21 @@ 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<
|
|
119
|
-
default:
|
|
120
|
-
};
|
|
121
|
-
disabled: {
|
|
122
|
-
type: PropType<boolean>;
|
|
123
|
-
default: boolean;
|
|
117
|
+
placement: {
|
|
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;
|
|
124
120
|
};
|
|
125
121
|
trigger: {
|
|
126
122
|
type: PropType<"hover" | "click" | "contextmenu">;
|
|
127
123
|
default: string;
|
|
128
124
|
};
|
|
129
|
-
|
|
130
|
-
type: PropType<
|
|
131
|
-
default:
|
|
125
|
+
disabled: {
|
|
126
|
+
type: PropType<boolean>;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
showArrow: {
|
|
130
|
+
type: PropType<boolean>;
|
|
131
|
+
default: boolean;
|
|
132
132
|
};
|
|
133
133
|
context: {
|
|
134
134
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -163,21 +163,21 @@ 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<
|
|
168
|
-
default:
|
|
169
|
-
};
|
|
170
|
-
disabled: {
|
|
171
|
-
type: PropType<boolean>;
|
|
172
|
-
default: boolean;
|
|
166
|
+
placement: {
|
|
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;
|
|
173
169
|
};
|
|
174
170
|
trigger: {
|
|
175
171
|
type: PropType<"hover" | "click" | "contextmenu">;
|
|
176
172
|
default: string;
|
|
177
173
|
};
|
|
178
|
-
|
|
179
|
-
type: PropType<
|
|
180
|
-
default:
|
|
174
|
+
disabled: {
|
|
175
|
+
type: PropType<boolean>;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
showArrow: {
|
|
179
|
+
type: PropType<boolean>;
|
|
180
|
+
default: boolean;
|
|
181
181
|
};
|
|
182
182
|
context: {
|
|
183
183
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -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
|
-
showArrow: boolean;
|
|
216
|
-
disabled: boolean;
|
|
217
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
218
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
|
+
showArrow: boolean;
|
|
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
|
-
showArrow: boolean;
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
44
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
|
+
showArrow: boolean;
|
|
45
45
|
stopPropagation: boolean;
|
|
46
46
|
actions: MoreActionItem[];
|
|
47
47
|
triggerButton: TriggerButtonProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sfc_main from './header-filter-cell.vue2.mjs';
|
|
2
2
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
3
|
|
|
4
|
-
var YcTableHeaderFilterCellComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var YcTableHeaderFilterCellComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-218b6c5c"], ["__file", "header-filter-cell.vue"]]);
|
|
5
5
|
|
|
6
6
|
export { YcTableHeaderFilterCellComponent as default };
|
|
@@ -228,12 +228,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
228
228
|
};
|
|
229
229
|
if (t === "date-picker" && isRangeType(fp.type)) {
|
|
230
230
|
if (state.selectedOp !== "between") state.selectedOp = "between";
|
|
231
|
-
if (!state.inputVal) {
|
|
232
|
-
const now = /* @__PURE__ */ new Date();
|
|
233
|
-
const y = now.getFullYear();
|
|
234
|
-
const m = String(now.getMonth() + 1).padStart(2, "0");
|
|
235
|
-
state.inputVal = `${y}-${m},${y}-${m}`;
|
|
236
|
-
}
|
|
237
231
|
} else if (t === "checkbox" || t === "select" && ((_a = customConfig.props) == null ? void 0 : _a.multiple) || t === "tree-select" && ((_b = customConfig.props) == null ? void 0 : _b.multiple)) {
|
|
238
232
|
if (state.selectedOp !== "in") state.selectedOp = "in";
|
|
239
233
|
}
|