yc-pro-components 0.0.82 → 0.0.84
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 +34 -34
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +20 -20
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +19 -19
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +57 -57
- package/es/components/dialog/src/index.vue.d.ts +5 -5
- package/es/components/dialog-form/index.d.ts +14 -14
- package/es/components/dialog-form/src/index.vue.d.ts +8 -8
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +103 -103
- package/es/components/drawer-form/src/index.vue.d.ts +27 -27
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +27 -27
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +21 -13
- package/es/components/form-item/src/index.vue2.mjs +429 -301
- package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +283 -283
- package/es/components/page/src/index.vue.d.ts +97 -97
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +31 -31
- 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 +128 -128
- package/es/components/search/src/index.vue.d.ts +41 -41
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +11 -5
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/table/src/use-table-density.d.ts +8 -0
- package/es/components/table/src/use-table-density.mjs +24 -0
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +288 -288
- package/es/index.css +8 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +525 -306
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +525 -306
- package/lib/components/check-card/index.d.ts +34 -34
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +20 -20
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +19 -19
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +57 -57
- package/lib/components/dialog/src/index.vue.d.ts +5 -5
- package/lib/components/dialog-form/index.d.ts +14 -14
- package/lib/components/dialog-form/src/index.vue.d.ts +8 -8
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +103 -103
- package/lib/components/drawer-form/src/index.vue.d.ts +27 -27
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +27 -27
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +21 -13
- package/lib/components/form-item/src/index.vue2.js +428 -300
- package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/lib/components/form-item/src/overflow-tooltip.js +71 -0
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +283 -283
- package/lib/components/page/src/index.vue.d.ts +97 -97
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +31 -31
- 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 +128 -128
- package/lib/components/search/src/index.vue.d.ts +41 -41
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +10 -4
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/table/src/use-table-density.d.ts +8 -0
- package/lib/components/table/src/use-table-density.js +28 -0
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +288 -288
- package/lib/index.css +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- 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
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +56 -0
|
@@ -42,12 +42,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
42
42
|
$: ComponentInternalInstance;
|
|
43
43
|
$data: {};
|
|
44
44
|
$props: Partial<{
|
|
45
|
-
modelValue: FieldValues;
|
|
46
45
|
collapseDuration: number;
|
|
47
46
|
collapseTransition: boolean;
|
|
48
47
|
columns: PlusColumn[];
|
|
49
48
|
group: false | PlusFormGroupRow[];
|
|
50
49
|
layout: "grid" | "flex";
|
|
50
|
+
modelValue: FieldValues;
|
|
51
51
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
52
52
|
labelPosition: "top" | "right" | "left";
|
|
53
53
|
labelWidth: string | number;
|
|
@@ -68,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
68
68
|
submitText: string;
|
|
69
69
|
resetText: string;
|
|
70
70
|
submitLoading: boolean;
|
|
71
|
-
footerAlign: "
|
|
71
|
+
footerAlign: "right" | "left" | "center";
|
|
72
72
|
cardProps: Partial< Mutable<CardProps> & {
|
|
73
73
|
style?: CSSProperties | undefined;
|
|
74
74
|
class?: any;
|
|
@@ -76,9 +76,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
76
76
|
prevent: boolean;
|
|
77
77
|
clearable: boolean;
|
|
78
78
|
}> & Omit<{
|
|
79
|
-
readonly modelValue: FieldValues;
|
|
80
79
|
readonly columns: PlusColumn[];
|
|
81
80
|
readonly group: false | PlusFormGroupRow[];
|
|
81
|
+
readonly modelValue: FieldValues;
|
|
82
82
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
83
83
|
readonly labelPosition: "top" | "right" | "left";
|
|
84
84
|
readonly labelWidth: string | number;
|
|
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
99
99
|
readonly submitText: string;
|
|
100
100
|
readonly resetText: string;
|
|
101
101
|
readonly submitLoading: boolean;
|
|
102
|
-
readonly footerAlign: "
|
|
102
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
103
103
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
104
104
|
style?: CSSProperties | undefined;
|
|
105
105
|
class?: any;
|
|
@@ -116,10 +116,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
116
116
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
118
118
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
119
|
-
modelValue: {
|
|
120
|
-
type: PropType<FieldValues>;
|
|
121
|
-
default: () => {};
|
|
122
|
-
};
|
|
123
119
|
collapseDuration: {
|
|
124
120
|
type: PropType<number>;
|
|
125
121
|
default: undefined;
|
|
@@ -140,6 +136,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
140
136
|
type: PropType<"grid" | "flex">;
|
|
141
137
|
default: undefined;
|
|
142
138
|
};
|
|
139
|
+
modelValue: {
|
|
140
|
+
type: PropType<FieldValues>;
|
|
141
|
+
default: () => {};
|
|
142
|
+
};
|
|
143
143
|
rules: {
|
|
144
144
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
145
145
|
default: () => {};
|
|
@@ -203,7 +203,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
203
203
|
default: boolean;
|
|
204
204
|
};
|
|
205
205
|
footerAlign: {
|
|
206
|
-
type: PropType<"
|
|
206
|
+
type: PropType<"right" | "left" | "center">;
|
|
207
207
|
default: string;
|
|
208
208
|
};
|
|
209
209
|
cardProps: {
|
|
@@ -228,7 +228,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
228
228
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
229
229
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
230
230
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
231
|
-
}, "
|
|
231
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
232
232
|
$attrs: {
|
|
233
233
|
[x: string]: unknown;
|
|
234
234
|
};
|
|
@@ -243,10 +243,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
243
243
|
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
244
244
|
$el: any;
|
|
245
245
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
246
|
-
modelValue: {
|
|
247
|
-
type: PropType<FieldValues>;
|
|
248
|
-
default: () => {};
|
|
249
|
-
};
|
|
250
246
|
collapseDuration: {
|
|
251
247
|
type: PropType<number>;
|
|
252
248
|
default: undefined;
|
|
@@ -267,6 +263,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
267
263
|
type: PropType<"grid" | "flex">;
|
|
268
264
|
default: undefined;
|
|
269
265
|
};
|
|
266
|
+
modelValue: {
|
|
267
|
+
type: PropType<FieldValues>;
|
|
268
|
+
default: () => {};
|
|
269
|
+
};
|
|
270
270
|
rules: {
|
|
271
271
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
272
272
|
default: () => {};
|
|
@@ -330,7 +330,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
330
330
|
default: boolean;
|
|
331
331
|
};
|
|
332
332
|
footerAlign: {
|
|
333
|
-
type: PropType<"
|
|
333
|
+
type: PropType<"right" | "left" | "center">;
|
|
334
334
|
default: string;
|
|
335
335
|
};
|
|
336
336
|
cardProps: {
|
|
@@ -367,12 +367,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
367
367
|
submitError: (errors: unknown) => void;
|
|
368
368
|
validate: (...args: any[]) => void;
|
|
369
369
|
}, string, {
|
|
370
|
-
modelValue: FieldValues;
|
|
371
370
|
collapseDuration: number;
|
|
372
371
|
collapseTransition: boolean;
|
|
373
372
|
columns: PlusColumn[];
|
|
374
373
|
group: false | PlusFormGroupRow[];
|
|
375
374
|
layout: "grid" | "flex";
|
|
375
|
+
modelValue: FieldValues;
|
|
376
376
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
377
377
|
labelPosition: "top" | "right" | "left";
|
|
378
378
|
labelWidth: string | number;
|
|
@@ -393,7 +393,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
393
393
|
submitText: string;
|
|
394
394
|
resetText: string;
|
|
395
395
|
submitLoading: boolean;
|
|
396
|
-
footerAlign: "
|
|
396
|
+
footerAlign: "right" | "left" | "center";
|
|
397
397
|
cardProps: Partial< Mutable<CardProps> & {
|
|
398
398
|
style?: CSSProperties | undefined;
|
|
399
399
|
class?: any;
|
|
@@ -421,10 +421,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
421
421
|
$nextTick: nextTick;
|
|
422
422
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
423
423
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
424
|
-
modelValue: {
|
|
425
|
-
type: PropType<FieldValues>;
|
|
426
|
-
default: () => {};
|
|
427
|
-
};
|
|
428
424
|
collapseDuration: {
|
|
429
425
|
type: PropType<number>;
|
|
430
426
|
default: undefined;
|
|
@@ -445,6 +441,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
445
441
|
type: PropType<"grid" | "flex">;
|
|
446
442
|
default: undefined;
|
|
447
443
|
};
|
|
444
|
+
modelValue: {
|
|
445
|
+
type: PropType<FieldValues>;
|
|
446
|
+
default: () => {};
|
|
447
|
+
};
|
|
448
448
|
rules: {
|
|
449
449
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
450
450
|
default: () => {};
|
|
@@ -508,7 +508,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
508
508
|
default: boolean;
|
|
509
509
|
};
|
|
510
510
|
footerAlign: {
|
|
511
|
-
type: PropType<"
|
|
511
|
+
type: PropType<"right" | "left" | "center">;
|
|
512
512
|
default: string;
|
|
513
513
|
};
|
|
514
514
|
cardProps: {
|
|
@@ -550,10 +550,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
550
550
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
551
551
|
columns?: PlusColumn[] | undefined;
|
|
552
552
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
553
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
553
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
554
554
|
readonly label: string | ComputedRef<string>;
|
|
555
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
556
|
-
readonly hasLabel: boolean |
|
|
555
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
556
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
557
557
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
558
558
|
style?: CSSProperties | undefined;
|
|
559
559
|
class?: any;
|
|
@@ -579,7 +579,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
579
579
|
};
|
|
580
580
|
rows: number;
|
|
581
581
|
autocomplete: string;
|
|
582
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
582
|
+
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" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
583
583
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
584
584
|
step: string | number;
|
|
585
585
|
format: string | ProgressFn | undefined;
|
|
@@ -624,8 +624,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
624
624
|
fieldInstance?: any;
|
|
625
625
|
valueIsReady?: Ref<boolean> | undefined;
|
|
626
626
|
prop: string;
|
|
627
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
628
|
-
hasLabel: boolean |
|
|
627
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
628
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
629
629
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
630
630
|
style?: CSSProperties | undefined;
|
|
631
631
|
class?: any;
|
|
@@ -658,10 +658,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
658
658
|
clearable: boolean;
|
|
659
659
|
index: number;
|
|
660
660
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
661
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
661
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
662
662
|
readonly label: string | ComputedRef<string>;
|
|
663
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
664
|
-
readonly hasLabel: boolean |
|
|
663
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
664
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
665
665
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
666
666
|
style?: CSSProperties | undefined;
|
|
667
667
|
class?: any;
|
|
@@ -687,7 +687,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
687
|
};
|
|
688
688
|
rows: number;
|
|
689
689
|
autocomplete: string;
|
|
690
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
690
|
+
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" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
691
691
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
692
692
|
step: string | number;
|
|
693
693
|
format: string | ProgressFn | undefined;
|
|
@@ -732,8 +732,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
732
732
|
fieldInstance?: any;
|
|
733
733
|
valueIsReady?: Ref<boolean> | undefined;
|
|
734
734
|
prop: string;
|
|
735
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
736
|
-
hasLabel: boolean |
|
|
735
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
736
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
737
737
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
738
738
|
style?: CSSProperties | undefined;
|
|
739
739
|
class?: any;
|
|
@@ -825,9 +825,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
825
825
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
826
826
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
827
827
|
}, {
|
|
828
|
-
modelValue: FieldValues;
|
|
829
828
|
columns: PlusColumn[];
|
|
830
829
|
layout: "grid" | "flex";
|
|
830
|
+
modelValue: FieldValues;
|
|
831
831
|
labelPosition: "top" | "right" | "left";
|
|
832
832
|
inline: boolean;
|
|
833
833
|
showNumber: number;
|
|
@@ -853,10 +853,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
853
853
|
searchIcon: Component | null;
|
|
854
854
|
resetIcon: Component | null;
|
|
855
855
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
856
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
856
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
857
857
|
readonly label: string | ComputedRef<string>;
|
|
858
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
859
|
-
readonly hasLabel: boolean |
|
|
858
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
859
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
860
860
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
861
861
|
style?: CSSProperties | undefined;
|
|
862
862
|
class?: any;
|
|
@@ -882,7 +882,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
882
882
|
};
|
|
883
883
|
rows: number;
|
|
884
884
|
autocomplete: string;
|
|
885
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
885
|
+
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" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
886
886
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
887
887
|
step: string | number;
|
|
888
888
|
format: string | ProgressFn | undefined;
|
|
@@ -927,8 +927,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
927
927
|
fieldInstance?: any;
|
|
928
928
|
valueIsReady?: Ref<boolean> | undefined;
|
|
929
929
|
prop: string;
|
|
930
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
931
|
-
hasLabel: boolean |
|
|
930
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
931
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
932
932
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
933
933
|
style?: CSSProperties | undefined;
|
|
934
934
|
class?: any;
|
|
@@ -60,7 +60,7 @@ export declare const PlusSidebar: {
|
|
|
60
60
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
61
61
|
readonly uniqueOpened: BooleanConstructor;
|
|
62
62
|
readonly router: BooleanConstructor;
|
|
63
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
63
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
64
64
|
readonly collapse: BooleanConstructor;
|
|
65
65
|
readonly backgroundColor: StringConstructor;
|
|
66
66
|
readonly textColor: StringConstructor;
|
|
@@ -97,7 +97,7 @@ export declare const PlusSidebar: {
|
|
|
97
97
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
98
98
|
readonly uniqueOpened: BooleanConstructor;
|
|
99
99
|
readonly router: BooleanConstructor;
|
|
100
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
100
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
101
101
|
readonly collapse: BooleanConstructor;
|
|
102
102
|
readonly backgroundColor: StringConstructor;
|
|
103
103
|
readonly textColor: StringConstructor;
|
|
@@ -131,7 +131,7 @@ export declare const PlusSidebar: {
|
|
|
131
131
|
readonly hideTimeout: number;
|
|
132
132
|
readonly defaultActive: string;
|
|
133
133
|
readonly defaultOpeneds: string[];
|
|
134
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
134
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
135
135
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
136
136
|
readonly popperOffset: number;
|
|
137
137
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -152,7 +152,7 @@ export declare const PlusSidebar: {
|
|
|
152
152
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
153
153
|
readonly uniqueOpened: BooleanConstructor;
|
|
154
154
|
readonly router: BooleanConstructor;
|
|
155
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
155
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
156
156
|
readonly collapse: BooleanConstructor;
|
|
157
157
|
readonly backgroundColor: StringConstructor;
|
|
158
158
|
readonly textColor: StringConstructor;
|
|
@@ -188,7 +188,7 @@ export declare const PlusSidebar: {
|
|
|
188
188
|
readonly hideTimeout: number;
|
|
189
189
|
readonly defaultActive: string;
|
|
190
190
|
readonly defaultOpeneds: string[];
|
|
191
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
191
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
192
192
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
193
193
|
readonly popperOffset: number;
|
|
194
194
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -315,7 +315,7 @@ export declare const PlusSidebar: {
|
|
|
315
315
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
316
316
|
readonly uniqueOpened: BooleanConstructor;
|
|
317
317
|
readonly router: BooleanConstructor;
|
|
318
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
318
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
319
319
|
readonly collapse: BooleanConstructor;
|
|
320
320
|
readonly backgroundColor: StringConstructor;
|
|
321
321
|
readonly textColor: StringConstructor;
|
|
@@ -352,7 +352,7 @@ export declare const PlusSidebar: {
|
|
|
352
352
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
353
353
|
readonly uniqueOpened: BooleanConstructor;
|
|
354
354
|
readonly router: BooleanConstructor;
|
|
355
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
355
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
356
356
|
readonly collapse: BooleanConstructor;
|
|
357
357
|
readonly backgroundColor: StringConstructor;
|
|
358
358
|
readonly textColor: StringConstructor;
|
|
@@ -386,7 +386,7 @@ export declare const PlusSidebar: {
|
|
|
386
386
|
readonly hideTimeout: number;
|
|
387
387
|
readonly defaultActive: string;
|
|
388
388
|
readonly defaultOpeneds: string[];
|
|
389
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
389
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
390
390
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
391
391
|
readonly popperOffset: number;
|
|
392
392
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -407,7 +407,7 @@ export declare const PlusSidebar: {
|
|
|
407
407
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
408
408
|
readonly uniqueOpened: BooleanConstructor;
|
|
409
409
|
readonly router: BooleanConstructor;
|
|
410
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
410
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
411
411
|
readonly collapse: BooleanConstructor;
|
|
412
412
|
readonly backgroundColor: StringConstructor;
|
|
413
413
|
readonly textColor: StringConstructor;
|
|
@@ -443,7 +443,7 @@ export declare const PlusSidebar: {
|
|
|
443
443
|
readonly hideTimeout: number;
|
|
444
444
|
readonly defaultActive: string;
|
|
445
445
|
readonly defaultOpeneds: string[];
|
|
446
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
446
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
447
447
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
448
448
|
readonly popperOffset: number;
|
|
449
449
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -521,7 +521,7 @@ export declare const PlusSidebar: {
|
|
|
521
521
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
522
522
|
readonly uniqueOpened: BooleanConstructor;
|
|
523
523
|
readonly router: BooleanConstructor;
|
|
524
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
524
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
525
525
|
readonly collapse: BooleanConstructor;
|
|
526
526
|
readonly backgroundColor: StringConstructor;
|
|
527
527
|
readonly textColor: StringConstructor;
|
|
@@ -558,7 +558,7 @@ export declare const PlusSidebar: {
|
|
|
558
558
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
559
559
|
readonly uniqueOpened: BooleanConstructor;
|
|
560
560
|
readonly router: BooleanConstructor;
|
|
561
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
561
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
562
562
|
readonly collapse: BooleanConstructor;
|
|
563
563
|
readonly backgroundColor: StringConstructor;
|
|
564
564
|
readonly textColor: StringConstructor;
|
|
@@ -592,7 +592,7 @@ export declare const PlusSidebar: {
|
|
|
592
592
|
readonly hideTimeout: number;
|
|
593
593
|
readonly defaultActive: string;
|
|
594
594
|
readonly defaultOpeneds: string[];
|
|
595
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
595
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
596
596
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
597
597
|
readonly popperOffset: number;
|
|
598
598
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -613,7 +613,7 @@ export declare const PlusSidebar: {
|
|
|
613
613
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
614
614
|
readonly uniqueOpened: BooleanConstructor;
|
|
615
615
|
readonly router: BooleanConstructor;
|
|
616
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
616
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
617
617
|
readonly collapse: BooleanConstructor;
|
|
618
618
|
readonly backgroundColor: StringConstructor;
|
|
619
619
|
readonly textColor: StringConstructor;
|
|
@@ -649,7 +649,7 @@ export declare const PlusSidebar: {
|
|
|
649
649
|
readonly hideTimeout: number;
|
|
650
650
|
readonly defaultActive: string;
|
|
651
651
|
readonly defaultOpeneds: string[];
|
|
652
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
652
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
653
653
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
654
654
|
readonly popperOffset: number;
|
|
655
655
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
29
29
|
readonly uniqueOpened: BooleanConstructor;
|
|
30
30
|
readonly router: BooleanConstructor;
|
|
31
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
31
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
32
32
|
readonly collapse: BooleanConstructor;
|
|
33
33
|
readonly backgroundColor: StringConstructor;
|
|
34
34
|
readonly textColor: StringConstructor;
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
65
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
66
66
|
readonly uniqueOpened: BooleanConstructor;
|
|
67
67
|
readonly router: BooleanConstructor;
|
|
68
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
68
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
69
69
|
readonly collapse: BooleanConstructor;
|
|
70
70
|
readonly backgroundColor: StringConstructor;
|
|
71
71
|
readonly textColor: StringConstructor;
|
|
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
99
99
|
readonly hideTimeout: number;
|
|
100
100
|
readonly defaultActive: string;
|
|
101
101
|
readonly defaultOpeneds: string[];
|
|
102
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
102
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
103
103
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
104
|
readonly popperOffset: number;
|
|
105
105
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -120,7 +120,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
120
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
121
121
|
readonly uniqueOpened: BooleanConstructor;
|
|
122
122
|
readonly router: BooleanConstructor;
|
|
123
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
123
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
124
124
|
readonly collapse: BooleanConstructor;
|
|
125
125
|
readonly backgroundColor: StringConstructor;
|
|
126
126
|
readonly textColor: StringConstructor;
|
|
@@ -156,7 +156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
156
156
|
readonly hideTimeout: number;
|
|
157
157
|
readonly defaultActive: string;
|
|
158
158
|
readonly defaultOpeneds: string[];
|
|
159
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
159
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
160
160
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
161
161
|
readonly popperOffset: number;
|
|
162
162
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -11,14 +11,14 @@ export declare const PlusStepsForm: {
|
|
|
11
11
|
type: PropType< PlusStepFromRow[]>;
|
|
12
12
|
default: () => never[];
|
|
13
13
|
};
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: PropType<number>;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
14
|
nextText: {
|
|
19
15
|
type: PropType<string>;
|
|
20
16
|
default: undefined;
|
|
21
17
|
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<number>;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
22
|
submitText: {
|
|
23
23
|
type: PropType<string>;
|
|
24
24
|
default: undefined;
|
|
@@ -44,14 +44,14 @@ export declare const PlusStepsForm: {
|
|
|
44
44
|
type: PropType< PlusStepFromRow[]>;
|
|
45
45
|
default: () => never[];
|
|
46
46
|
};
|
|
47
|
-
modelValue: {
|
|
48
|
-
type: PropType<number>;
|
|
49
|
-
default: number;
|
|
50
|
-
};
|
|
51
47
|
nextText: {
|
|
52
48
|
type: PropType<string>;
|
|
53
49
|
default: undefined;
|
|
54
50
|
};
|
|
51
|
+
modelValue: {
|
|
52
|
+
type: PropType<number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
55
|
submitText: {
|
|
56
56
|
type: PropType<string>;
|
|
57
57
|
default: undefined;
|
|
@@ -68,8 +68,8 @@ export declare const PlusStepsForm: {
|
|
|
68
68
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
data: PlusStepFromRow[];
|
|
71
|
-
modelValue: number;
|
|
72
71
|
nextText: string;
|
|
72
|
+
modelValue: number;
|
|
73
73
|
submitText: string;
|
|
74
74
|
preText: string;
|
|
75
75
|
}, true, {}, {}, {
|
|
@@ -84,14 +84,14 @@ export declare const PlusStepsForm: {
|
|
|
84
84
|
type: PropType< PlusStepFromRow[]>;
|
|
85
85
|
default: () => never[];
|
|
86
86
|
};
|
|
87
|
-
modelValue: {
|
|
88
|
-
type: PropType<number>;
|
|
89
|
-
default: number;
|
|
90
|
-
};
|
|
91
87
|
nextText: {
|
|
92
88
|
type: PropType<string>;
|
|
93
89
|
default: undefined;
|
|
94
90
|
};
|
|
91
|
+
modelValue: {
|
|
92
|
+
type: PropType<number>;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
95
|
submitText: {
|
|
96
96
|
type: PropType<string>;
|
|
97
97
|
default: undefined;
|
|
@@ -108,8 +108,8 @@ export declare const PlusStepsForm: {
|
|
|
108
108
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
109
109
|
}, {}, {}, {}, {}, {
|
|
110
110
|
data: PlusStepFromRow[];
|
|
111
|
-
modelValue: number;
|
|
112
111
|
nextText: string;
|
|
112
|
+
modelValue: number;
|
|
113
113
|
submitText: string;
|
|
114
114
|
preText: string;
|
|
115
115
|
}>;
|
|
@@ -121,14 +121,14 @@ export declare const PlusStepsForm: {
|
|
|
121
121
|
type: PropType< PlusStepFromRow[]>;
|
|
122
122
|
default: () => never[];
|
|
123
123
|
};
|
|
124
|
-
modelValue: {
|
|
125
|
-
type: PropType<number>;
|
|
126
|
-
default: number;
|
|
127
|
-
};
|
|
128
124
|
nextText: {
|
|
129
125
|
type: PropType<string>;
|
|
130
126
|
default: undefined;
|
|
131
127
|
};
|
|
128
|
+
modelValue: {
|
|
129
|
+
type: PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
132
|
submitText: {
|
|
133
133
|
type: PropType<string>;
|
|
134
134
|
default: undefined;
|
|
@@ -151,8 +151,8 @@ export declare const PlusStepsForm: {
|
|
|
151
151
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
152
152
|
}, string, {
|
|
153
153
|
data: PlusStepFromRow[];
|
|
154
|
-
modelValue: number;
|
|
155
154
|
nextText: string;
|
|
155
|
+
modelValue: number;
|
|
156
156
|
submitText: string;
|
|
157
157
|
preText: string;
|
|
158
158
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -73,8 +73,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
73
73
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
data: PlusStepFromRow[];
|
|
76
|
-
modelValue: number;
|
|
77
76
|
nextText: string;
|
|
77
|
+
modelValue: number;
|
|
78
78
|
submitText: string;
|
|
79
79
|
preText: string;
|
|
80
80
|
}, {}>, Partial<Record<string, (_: {
|
|
@@ -15,6 +15,7 @@ var tableColumn = require('./table-column.vue.js');
|
|
|
15
15
|
var tableColumnIndex = require('./table-column-index.vue.js');
|
|
16
16
|
var tableColumnDragSort = require('./table-column-drag-sort.vue.js');
|
|
17
17
|
var tableTitleBar = require('./table-title-bar.vue.js');
|
|
18
|
+
var useTableDensity = require('./use-table-density.js');
|
|
18
19
|
var is = require('../../utils/is.js');
|
|
19
20
|
|
|
20
21
|
const _hoisted_1 = { class: "plus-table-expand-col" };
|
|
@@ -62,7 +63,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
63
|
},
|
|
63
64
|
emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
|
|
64
65
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
65
|
-
var _a, _b;
|
|
66
|
+
var _a, _b, _c;
|
|
66
67
|
const props = __props;
|
|
67
68
|
const emit = __emit;
|
|
68
69
|
const radioRow = vue.ref();
|
|
@@ -81,9 +82,14 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
81
82
|
subPageInfo: {
|
|
82
83
|
...((_a = props.pagination) == null ? void 0 : _a.modelValue) || page.DefaultPageInfo
|
|
83
84
|
},
|
|
84
|
-
size: props.defaultSize
|
|
85
|
+
size: (_b = useTableDensity.sharedTableDensity.value) != null ? _b : props.defaultSize
|
|
85
86
|
});
|
|
86
87
|
const cachedTableData = vue.ref([]);
|
|
88
|
+
vue.watch(useTableDensity.sharedTableDensity, (val) => {
|
|
89
|
+
if (val) {
|
|
90
|
+
state.size = val;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
87
93
|
vue.watchEffect(() => {
|
|
88
94
|
var _a2;
|
|
89
95
|
cachedTableData.value = ((_a2 = props.tableData) == null ? void 0 : _a2.length) ? props.tableData : props.data;
|
|
@@ -140,7 +146,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
140
146
|
);
|
|
141
147
|
};
|
|
142
148
|
const handleClickDensity = (size2) => {
|
|
143
|
-
|
|
149
|
+
useTableDensity.applyTableDensity(size2);
|
|
144
150
|
};
|
|
145
151
|
const handleDragSortEnd = (newIndex, oldIndex) => {
|
|
146
152
|
emit("dragSortEnd", newIndex, oldIndex);
|
|
@@ -223,7 +229,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
223
229
|
};
|
|
224
230
|
const debounceSetAdaptive = lodashEs.debounce(
|
|
225
231
|
setAdaptive,
|
|
226
|
-
is.isPlainObject(props.adaptive) ? (
|
|
232
|
+
is.isPlainObject(props.adaptive) ? (_c = props.adaptive.timeout) != null ? _c : 60 : 60
|
|
227
233
|
);
|
|
228
234
|
vue.onMounted(() => {
|
|
229
235
|
if (hasAdaptive.value) {
|