yc-pro-components 0.0.59 → 0.0.60
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 +6 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +77 -77
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +6 -1
- package/es/components/yc-plus-page/src/use-header-filter.mjs +15 -0
- 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 +12 -12
- package/index.js +30 -4
- package/index.min.css +2 -2
- package/index.min.js +10 -10
- package/index.min.mjs +11 -11
- package/index.mjs +30 -4
- 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 +6 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +77 -77
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +6 -1
- package/lib/components/yc-plus-page/src/use-header-filter.js +15 -0
- 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 +12 -12
- 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
|
-
rest: RecordType;
|
|
30
29
|
formProps: PlusFormProps;
|
|
30
|
+
rest: RecordType;
|
|
31
31
|
column: PlusColumn;
|
|
32
32
|
row: RecordType;
|
|
33
33
|
editable: boolean | "click" | "dblclick";
|
|
34
34
|
}> & Omit<{
|
|
35
35
|
readonly index: number;
|
|
36
|
-
readonly rest: RecordType;
|
|
37
36
|
readonly formProps: PlusFormProps;
|
|
37
|
+
readonly rest: RecordType;
|
|
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
|
-
rest: {
|
|
52
|
-
type: PropType<RecordType>;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
51
|
formProps: {
|
|
56
52
|
type: PropType<PlusFormProps>;
|
|
57
53
|
default: () => {};
|
|
58
54
|
};
|
|
55
|
+
rest: {
|
|
56
|
+
type: PropType<RecordType>;
|
|
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" | "formProps" | "rest" | "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
|
-
rest: {
|
|
106
|
-
type: PropType<RecordType>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
105
|
formProps: {
|
|
110
106
|
type: PropType<PlusFormProps>;
|
|
111
107
|
default: () => {};
|
|
112
108
|
};
|
|
109
|
+
rest: {
|
|
110
|
+
type: PropType<RecordType>;
|
|
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
|
-
rest: RecordType;
|
|
156
155
|
formProps: PlusFormProps;
|
|
156
|
+
rest: RecordType;
|
|
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
|
-
rest: {
|
|
186
|
-
type: PropType<RecordType>;
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
185
|
formProps: {
|
|
190
186
|
type: PropType<PlusFormProps>;
|
|
191
187
|
default: () => {};
|
|
192
188
|
};
|
|
189
|
+
rest: {
|
|
190
|
+
type: PropType<RecordType>;
|
|
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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
233
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
235
235
|
class?: any;
|
|
236
|
-
} & RecordType> | ComputedRef<
|
|
236
|
+
} & RecordType> | 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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
258
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
305
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
306
306
|
style?: CSSProperties | undefined;
|
|
307
307
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<
|
|
308
|
+
} & RecordType> | 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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
340
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
341
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
342
342
|
style?: CSSProperties | undefined;
|
|
343
343
|
class?: any;
|
|
344
|
-
} & RecordType> | ComputedRef<
|
|
344
|
+
} & RecordType> | 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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
366
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
412
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
413
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
414
414
|
style?: CSSProperties | undefined;
|
|
415
415
|
class?: any;
|
|
416
|
-
} & RecordType> | ComputedRef<
|
|
416
|
+
} & RecordType> | 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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
448
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
449
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
|
-
} & RecordType> | ComputedRef<
|
|
452
|
+
} & RecordType> | 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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
474
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "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] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
520
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
521
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
522
522
|
style?: CSSProperties | undefined;
|
|
523
523
|
class?: any;
|
|
524
|
-
} & RecordType> | ComputedRef<
|
|
524
|
+
} & RecordType> | 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
|
-
duration: number;
|
|
130
129
|
color: string;
|
|
130
|
+
duration: number;
|
|
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
|
-
duration: number;
|
|
123
122
|
color: string;
|
|
123
|
+
duration: number;
|
|
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
|
-
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;
|
|
@@ -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-b8a5728d"], ["__file", "header-filter-cell.vue"]]);
|
|
5
5
|
|
|
6
6
|
export { YcTableHeaderFilterCellComponent as default };
|
|
@@ -90,6 +90,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
const field = fieldRef.value;
|
|
91
91
|
return (_b = (_a = props.filters) == null ? void 0 : _a.some((i) => String(i.field) === field)) != null ? _b : false;
|
|
92
92
|
});
|
|
93
|
+
watch(isActive, (active, prevActive) => {
|
|
94
|
+
if (!active && prevActive) {
|
|
95
|
+
state.inputVal = "";
|
|
96
|
+
popVisible.value = false;
|
|
97
|
+
}
|
|
98
|
+
});
|
|
93
99
|
const isAscActive = computed(
|
|
94
100
|
() => {
|
|
95
101
|
var _a;
|