yc-pro-components 0.0.83 → 0.0.85
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/dialog-form/index.d.ts +4 -1
- package/es/components/dialog-form/src/index.vue.d.ts +4 -1
- package/es/components/display-item/index.d.ts +12 -3
- package/es/components/display-item/src/index.vue.d.ts +12 -3
- package/es/components/drawer-form/index.d.ts +4 -1
- package/es/components/drawer-form/src/index.vue.d.ts +4 -1
- package/es/components/form/index.d.ts +27 -2
- package/es/components/form/src/form-content.vue.d.ts +17 -2
- package/es/components/form/src/form-content.vue2.mjs +11 -2
- package/es/components/form/src/index.vue.d.ts +11 -2
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +5 -0
- package/es/components/form-item/index.d.ts +24 -1
- package/es/components/form-item/src/index.vue.d.ts +28 -5
- package/es/components/form-item/src/index.vue2.mjs +437 -303
- 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/page/index.d.ts +208 -25
- package/es/components/page/src/index.vue.d.ts +72 -9
- package/es/components/search/index.d.ts +95 -10
- package/es/components/search/src/index.vue.d.ts +31 -4
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +5 -0
- package/es/components/table/src/table-column.vue.d.ts +12 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +140 -17
- package/es/hooks/usePlusFormReset.d.ts +24 -6
- package/es/index.css +10 -10
- package/es/types/form.d.ts +5 -0
- 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 +522 -309
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +522 -309
- package/lib/components/dialog-form/index.d.ts +4 -1
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -1
- package/lib/components/display-item/index.d.ts +12 -3
- package/lib/components/display-item/src/index.vue.d.ts +12 -3
- package/lib/components/drawer-form/index.d.ts +4 -1
- package/lib/components/drawer-form/src/index.vue.d.ts +4 -1
- package/lib/components/form/index.d.ts +27 -2
- package/lib/components/form/src/form-content.vue.d.ts +17 -2
- package/lib/components/form/src/form-content.vue2.js +11 -2
- package/lib/components/form/src/index.vue.d.ts +11 -2
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +5 -0
- package/lib/components/form-item/index.d.ts +24 -1
- package/lib/components/form-item/src/index.vue.d.ts +28 -5
- package/lib/components/form-item/src/index.vue2.js +436 -302
- 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/page/index.d.ts +208 -25
- package/lib/components/page/src/index.vue.d.ts +72 -9
- package/lib/components/search/index.d.ts +95 -10
- package/lib/components/search/src/index.vue.d.ts +31 -4
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +5 -0
- package/lib/components/table/src/table-column.vue.d.ts +12 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +140 -17
- package/lib/hooks/usePlusFormReset.d.ts +24 -6
- package/lib/index.css +9 -9
- package/lib/types/form.d.ts +5 -0
- 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 +77 -0
|
@@ -184,7 +184,7 @@ export declare const PlusDialogForm: {
|
|
|
184
184
|
hasErrorTip: boolean;
|
|
185
185
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
186
186
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
187
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
187
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
188
188
|
readonly label: string | ComputedRef<string>;
|
|
189
189
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
190
190
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -247,8 +247,10 @@ export declare const PlusDialogForm: {
|
|
|
247
247
|
dictCode?: string | undefined;
|
|
248
248
|
} | undefined;
|
|
249
249
|
readonly clearable: boolean;
|
|
250
|
+
readonly ellipsis: boolean;
|
|
250
251
|
readonly index: number;
|
|
251
252
|
} & {
|
|
253
|
+
readonly ellipsis: boolean;
|
|
252
254
|
readonly clearable: boolean;
|
|
253
255
|
};
|
|
254
256
|
label: string;
|
|
@@ -290,6 +292,7 @@ export declare const PlusDialogForm: {
|
|
|
290
292
|
dictCode?: string | undefined;
|
|
291
293
|
} | undefined;
|
|
292
294
|
clearable: boolean;
|
|
295
|
+
ellipsis: boolean;
|
|
293
296
|
index: number;
|
|
294
297
|
}) => any>> & {
|
|
295
298
|
"dialog-header"?(_: {}): any;
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
62
62
|
modelValue: FieldValues;
|
|
63
63
|
hasErrorTip: boolean;
|
|
64
64
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
65
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
65
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
66
66
|
readonly label: string | ComputedRef<string>;
|
|
67
67
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
68
68
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -125,8 +125,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
125
125
|
dictCode?: string | undefined;
|
|
126
126
|
} | undefined;
|
|
127
127
|
readonly clearable: boolean;
|
|
128
|
+
readonly ellipsis: boolean;
|
|
128
129
|
readonly index: number;
|
|
129
130
|
} & {
|
|
131
|
+
readonly ellipsis: boolean;
|
|
130
132
|
readonly clearable: boolean;
|
|
131
133
|
};
|
|
132
134
|
label: string;
|
|
@@ -168,6 +170,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
168
170
|
dictCode?: string | undefined;
|
|
169
171
|
} | undefined;
|
|
170
172
|
clearable: boolean;
|
|
173
|
+
ellipsis: boolean;
|
|
171
174
|
index: number;
|
|
172
175
|
}) => any>> & {
|
|
173
176
|
"dialog-header"?(_: {}): any;
|
|
@@ -232,7 +232,7 @@ export declare const PlusDisplayItem: {
|
|
|
232
232
|
editable: boolean | "click" | "dblclick";
|
|
233
233
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
234
234
|
$slots: Partial<Record<string, (_: {
|
|
235
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
235
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
236
236
|
readonly label: string | ComputedRef<string>;
|
|
237
237
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
238
238
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -295,8 +295,10 @@ export declare const PlusDisplayItem: {
|
|
|
295
295
|
dictCode?: string | undefined;
|
|
296
296
|
} | undefined;
|
|
297
297
|
readonly clearable: boolean;
|
|
298
|
+
readonly ellipsis: boolean;
|
|
298
299
|
readonly index: number;
|
|
299
300
|
} & {
|
|
301
|
+
readonly ellipsis: boolean;
|
|
300
302
|
readonly clearable: boolean;
|
|
301
303
|
};
|
|
302
304
|
label: string;
|
|
@@ -338,9 +340,10 @@ export declare const PlusDisplayItem: {
|
|
|
338
340
|
dictCode?: string | undefined;
|
|
339
341
|
} | undefined;
|
|
340
342
|
clearable: boolean;
|
|
343
|
+
ellipsis: boolean;
|
|
341
344
|
index: number;
|
|
342
345
|
}) => any>> & Partial<Record<string, (_: {
|
|
343
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
346
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
344
347
|
readonly label: string | ComputedRef<string>;
|
|
345
348
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
349
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -403,8 +406,10 @@ export declare const PlusDisplayItem: {
|
|
|
403
406
|
dictCode?: string | undefined;
|
|
404
407
|
} | undefined;
|
|
405
408
|
readonly clearable: boolean;
|
|
409
|
+
readonly ellipsis: boolean;
|
|
406
410
|
readonly index: number;
|
|
407
411
|
} & {
|
|
412
|
+
readonly ellipsis: boolean;
|
|
408
413
|
readonly clearable: boolean;
|
|
409
414
|
};
|
|
410
415
|
label: string;
|
|
@@ -446,9 +451,10 @@ export declare const PlusDisplayItem: {
|
|
|
446
451
|
dictCode?: string | undefined;
|
|
447
452
|
} | undefined;
|
|
448
453
|
clearable: boolean;
|
|
454
|
+
ellipsis: boolean;
|
|
449
455
|
index: number;
|
|
450
456
|
}) => any>> & Partial<Record<string, (_: {
|
|
451
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
457
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
452
458
|
readonly label: string | ComputedRef<string>;
|
|
453
459
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
454
460
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -511,8 +517,10 @@ export declare const PlusDisplayItem: {
|
|
|
511
517
|
dictCode?: string | undefined;
|
|
512
518
|
} | undefined;
|
|
513
519
|
readonly clearable: boolean;
|
|
520
|
+
readonly ellipsis: boolean;
|
|
514
521
|
readonly index: number;
|
|
515
522
|
} & {
|
|
523
|
+
readonly ellipsis: boolean;
|
|
516
524
|
readonly clearable: boolean;
|
|
517
525
|
};
|
|
518
526
|
label: string;
|
|
@@ -554,6 +562,7 @@ export declare const PlusDisplayItem: {
|
|
|
554
562
|
dictCode?: string | undefined;
|
|
555
563
|
} | undefined;
|
|
556
564
|
clearable: boolean;
|
|
565
|
+
ellipsis: boolean;
|
|
557
566
|
index: number;
|
|
558
567
|
}) => any>> & Partial<Record<string, (_: {
|
|
559
568
|
column: any;
|
|
@@ -76,7 +76,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
76
76
|
row: RecordType;
|
|
77
77
|
editable: boolean | "click" | "dblclick";
|
|
78
78
|
}, {}>, Partial<Record<string, (_: {
|
|
79
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
79
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
80
80
|
readonly label: string | ComputedRef<string>;
|
|
81
81
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
82
82
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -139,8 +139,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
139
139
|
dictCode?: string | undefined;
|
|
140
140
|
} | undefined;
|
|
141
141
|
readonly clearable: boolean;
|
|
142
|
+
readonly ellipsis: boolean;
|
|
142
143
|
readonly index: number;
|
|
143
144
|
} & {
|
|
145
|
+
readonly ellipsis: boolean;
|
|
144
146
|
readonly clearable: boolean;
|
|
145
147
|
};
|
|
146
148
|
label: string;
|
|
@@ -182,9 +184,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
182
184
|
dictCode?: string | undefined;
|
|
183
185
|
} | undefined;
|
|
184
186
|
clearable: boolean;
|
|
187
|
+
ellipsis: boolean;
|
|
185
188
|
index: number;
|
|
186
189
|
}) => any>> & Partial<Record<string, (_: {
|
|
187
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
190
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
188
191
|
readonly label: string | ComputedRef<string>;
|
|
189
192
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
190
193
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -247,8 +250,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
247
250
|
dictCode?: string | undefined;
|
|
248
251
|
} | undefined;
|
|
249
252
|
readonly clearable: boolean;
|
|
253
|
+
readonly ellipsis: boolean;
|
|
250
254
|
readonly index: number;
|
|
251
255
|
} & {
|
|
256
|
+
readonly ellipsis: boolean;
|
|
252
257
|
readonly clearable: boolean;
|
|
253
258
|
};
|
|
254
259
|
label: string;
|
|
@@ -290,9 +295,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
295
|
dictCode?: string | undefined;
|
|
291
296
|
} | undefined;
|
|
292
297
|
clearable: boolean;
|
|
298
|
+
ellipsis: boolean;
|
|
293
299
|
index: number;
|
|
294
300
|
}) => any>> & Partial<Record<string, (_: {
|
|
295
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
301
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
296
302
|
readonly label: string | ComputedRef<string>;
|
|
297
303
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
298
304
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -355,8 +361,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
355
361
|
dictCode?: string | undefined;
|
|
356
362
|
} | undefined;
|
|
357
363
|
readonly clearable: boolean;
|
|
364
|
+
readonly ellipsis: boolean;
|
|
358
365
|
readonly index: number;
|
|
359
366
|
} & {
|
|
367
|
+
readonly ellipsis: boolean;
|
|
360
368
|
readonly clearable: boolean;
|
|
361
369
|
};
|
|
362
370
|
label: string;
|
|
@@ -398,6 +406,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
398
406
|
dictCode?: string | undefined;
|
|
399
407
|
} | undefined;
|
|
400
408
|
clearable: boolean;
|
|
409
|
+
ellipsis: boolean;
|
|
401
410
|
index: number;
|
|
402
411
|
}) => any>> & Partial<Record<string, (_: {
|
|
403
412
|
column: any;
|
|
@@ -1465,7 +1465,7 @@ export declare const PlusDrawerForm: {
|
|
|
1465
1465
|
} & RecordType>;
|
|
1466
1466
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1467
1467
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
1470
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1471
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1528,8 +1528,10 @@ export declare const PlusDrawerForm: {
|
|
|
1528
1528
|
dictCode?: string | undefined;
|
|
1529
1529
|
} | undefined;
|
|
1530
1530
|
readonly clearable: boolean;
|
|
1531
|
+
readonly ellipsis: boolean;
|
|
1531
1532
|
readonly index: number;
|
|
1532
1533
|
} & {
|
|
1534
|
+
readonly ellipsis: boolean;
|
|
1533
1535
|
readonly clearable: boolean;
|
|
1534
1536
|
};
|
|
1535
1537
|
label: string;
|
|
@@ -1571,6 +1573,7 @@ export declare const PlusDrawerForm: {
|
|
|
1571
1573
|
dictCode?: string | undefined;
|
|
1572
1574
|
} | undefined;
|
|
1573
1575
|
clearable: boolean;
|
|
1576
|
+
ellipsis: boolean;
|
|
1574
1577
|
index: number;
|
|
1575
1578
|
}) => any>> & {
|
|
1576
1579
|
"drawer-header"?(_: {}): any;
|
|
@@ -481,7 +481,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
481
481
|
class?: any;
|
|
482
482
|
} & RecordType>;
|
|
483
483
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
484
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
484
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
485
485
|
readonly label: string | ComputedRef<string>;
|
|
486
486
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
487
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -544,8 +544,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
544
544
|
dictCode?: string | undefined;
|
|
545
545
|
} | undefined;
|
|
546
546
|
readonly clearable: boolean;
|
|
547
|
+
readonly ellipsis: boolean;
|
|
547
548
|
readonly index: number;
|
|
548
549
|
} & {
|
|
550
|
+
readonly ellipsis: boolean;
|
|
549
551
|
readonly clearable: boolean;
|
|
550
552
|
};
|
|
551
553
|
label: string;
|
|
@@ -587,6 +589,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
587
589
|
dictCode?: string | undefined;
|
|
588
590
|
} | undefined;
|
|
589
591
|
clearable: boolean;
|
|
592
|
+
ellipsis: boolean;
|
|
590
593
|
index: number;
|
|
591
594
|
}) => any>> & {
|
|
592
595
|
"drawer-header"?(_: {}): any;
|
|
@@ -51,6 +51,10 @@ export declare const PlusForm: {
|
|
|
51
51
|
type: PropType<string>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
ellipsis: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
defaultValues: {
|
|
55
59
|
type: PropType<FieldValues>;
|
|
56
60
|
default: () => {};
|
|
@@ -175,6 +179,10 @@ export declare const PlusForm: {
|
|
|
175
179
|
type: PropType<string>;
|
|
176
180
|
default: string;
|
|
177
181
|
};
|
|
182
|
+
ellipsis: {
|
|
183
|
+
type: PropType<boolean>;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
178
186
|
defaultValues: {
|
|
179
187
|
type: PropType<FieldValues>;
|
|
180
188
|
default: () => {};
|
|
@@ -258,6 +266,7 @@ export declare const PlusForm: {
|
|
|
258
266
|
labelPosition: "top" | "right" | "left";
|
|
259
267
|
labelWidth: string | number;
|
|
260
268
|
labelSuffix: string;
|
|
269
|
+
ellipsis: boolean;
|
|
261
270
|
defaultValues: FieldValues;
|
|
262
271
|
rowProps: Partial< Mutable<RowProps> & {
|
|
263
272
|
style?: CSSProperties | undefined;
|
|
@@ -329,6 +338,10 @@ export declare const PlusForm: {
|
|
|
329
338
|
type: PropType<string>;
|
|
330
339
|
default: string;
|
|
331
340
|
};
|
|
341
|
+
ellipsis: {
|
|
342
|
+
type: PropType<boolean>;
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
332
345
|
defaultValues: {
|
|
333
346
|
type: PropType<FieldValues>;
|
|
334
347
|
default: () => {};
|
|
@@ -416,6 +429,7 @@ export declare const PlusForm: {
|
|
|
416
429
|
labelPosition: "top" | "right" | "left";
|
|
417
430
|
labelWidth: string | number;
|
|
418
431
|
labelSuffix: string;
|
|
432
|
+
ellipsis: boolean;
|
|
419
433
|
defaultValues: FieldValues;
|
|
420
434
|
rowProps: Partial< Mutable<RowProps> & {
|
|
421
435
|
style?: CSSProperties | undefined;
|
|
@@ -484,6 +498,10 @@ export declare const PlusForm: {
|
|
|
484
498
|
type: PropType<string>;
|
|
485
499
|
default: string;
|
|
486
500
|
};
|
|
501
|
+
ellipsis: {
|
|
502
|
+
type: PropType<boolean>;
|
|
503
|
+
default: boolean;
|
|
504
|
+
};
|
|
487
505
|
defaultValues: {
|
|
488
506
|
type: PropType<FieldValues>;
|
|
489
507
|
default: () => {};
|
|
@@ -578,6 +596,7 @@ export declare const PlusForm: {
|
|
|
578
596
|
labelPosition: "top" | "right" | "left";
|
|
579
597
|
labelWidth: string | number;
|
|
580
598
|
labelSuffix: string;
|
|
599
|
+
ellipsis: boolean;
|
|
581
600
|
defaultValues: FieldValues;
|
|
582
601
|
rowProps: Partial< Mutable<RowProps> & {
|
|
583
602
|
style?: CSSProperties | undefined;
|
|
@@ -614,7 +633,7 @@ export declare const PlusForm: {
|
|
|
614
633
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
615
634
|
columns?: PlusColumn[] | undefined;
|
|
616
635
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
617
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
636
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
618
637
|
readonly label: string | ComputedRef<string>;
|
|
619
638
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
620
639
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -677,8 +696,10 @@ export declare const PlusForm: {
|
|
|
677
696
|
dictCode?: string | undefined;
|
|
678
697
|
} | undefined;
|
|
679
698
|
readonly clearable: boolean;
|
|
699
|
+
readonly ellipsis: boolean;
|
|
680
700
|
readonly index: number;
|
|
681
701
|
} & {
|
|
702
|
+
readonly ellipsis: boolean;
|
|
682
703
|
readonly clearable: boolean;
|
|
683
704
|
};
|
|
684
705
|
label: string;
|
|
@@ -720,9 +741,10 @@ export declare const PlusForm: {
|
|
|
720
741
|
dictCode?: string | undefined;
|
|
721
742
|
} | undefined;
|
|
722
743
|
clearable: boolean;
|
|
744
|
+
ellipsis: boolean;
|
|
723
745
|
index: number;
|
|
724
746
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
725
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
747
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
726
748
|
readonly label: string | ComputedRef<string>;
|
|
727
749
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
728
750
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -785,8 +807,10 @@ export declare const PlusForm: {
|
|
|
785
807
|
dictCode?: string | undefined;
|
|
786
808
|
} | undefined;
|
|
787
809
|
readonly clearable: boolean;
|
|
810
|
+
readonly ellipsis: boolean;
|
|
788
811
|
readonly index: number;
|
|
789
812
|
} & {
|
|
813
|
+
readonly ellipsis: boolean;
|
|
790
814
|
readonly clearable: boolean;
|
|
791
815
|
};
|
|
792
816
|
label: string;
|
|
@@ -828,6 +852,7 @@ export declare const PlusForm: {
|
|
|
828
852
|
dictCode?: string | undefined;
|
|
829
853
|
} | undefined;
|
|
830
854
|
clearable: boolean;
|
|
855
|
+
ellipsis: boolean;
|
|
831
856
|
index: number;
|
|
832
857
|
}) => any>> & {
|
|
833
858
|
default?(_: {}): any;
|
|
@@ -33,6 +33,10 @@ export interface PlusFormContentProps {
|
|
|
33
33
|
* @version v0.1.18
|
|
34
34
|
*/
|
|
35
35
|
clearable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 标签和占位符超出时省略。字段 ellipsis 优先。
|
|
38
|
+
*/
|
|
39
|
+
ellipsis?: boolean;
|
|
36
40
|
}
|
|
37
41
|
export interface PlusFormContentEmits {
|
|
38
42
|
(e: 'update:modelValue', values: FieldValues): void;
|
|
@@ -48,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
52
|
collapseDuration: undefined;
|
|
49
53
|
collapseTransition: undefined;
|
|
50
54
|
clearable: boolean;
|
|
55
|
+
ellipsis: boolean;
|
|
51
56
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
57
|
"update:modelValue": (values: FieldValues) => void;
|
|
53
58
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
@@ -61,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
61
66
|
collapseDuration: undefined;
|
|
62
67
|
collapseTransition: undefined;
|
|
63
68
|
clearable: boolean;
|
|
69
|
+
ellipsis: boolean;
|
|
64
70
|
}>>> & {
|
|
65
71
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
66
72
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -70,6 +76,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
70
76
|
columns: PlusColumn[];
|
|
71
77
|
layout: "grid" | "flex";
|
|
72
78
|
modelValue: FieldValues;
|
|
79
|
+
ellipsis: boolean;
|
|
73
80
|
rowProps: Partial< Mutable<RowProps> & {
|
|
74
81
|
style?: CSSProperties | undefined;
|
|
75
82
|
class?: any;
|
|
@@ -197,6 +204,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
197
204
|
class?: any;
|
|
198
205
|
} & RecordType>> | undefined;
|
|
199
206
|
hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
207
|
+
ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
200
208
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
201
209
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
202
210
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -210,7 +218,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
218
|
label?: string | undefined;
|
|
211
219
|
}) => RenderTypes) | undefined;
|
|
212
220
|
}) => any>> & Partial<Record<string, (_: {
|
|
213
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
221
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
214
222
|
readonly label: string | ComputedRef<string>;
|
|
215
223
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
216
224
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -273,8 +281,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
273
281
|
dictCode?: string | undefined;
|
|
274
282
|
} | undefined;
|
|
275
283
|
readonly clearable: boolean;
|
|
284
|
+
readonly ellipsis: boolean;
|
|
276
285
|
readonly index: number;
|
|
277
286
|
} & {
|
|
287
|
+
readonly ellipsis: boolean;
|
|
278
288
|
readonly clearable: boolean;
|
|
279
289
|
};
|
|
280
290
|
label: string;
|
|
@@ -316,9 +326,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
326
|
dictCode?: string | undefined;
|
|
317
327
|
} | undefined;
|
|
318
328
|
clearable: boolean;
|
|
329
|
+
ellipsis: boolean;
|
|
319
330
|
index: number;
|
|
320
331
|
}) => any>> & Partial<Record<string, (_: {
|
|
321
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
332
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
322
333
|
readonly label: string | ComputedRef<string>;
|
|
323
334
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
324
335
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -381,8 +392,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
381
392
|
dictCode?: string | undefined;
|
|
382
393
|
} | undefined;
|
|
383
394
|
readonly clearable: boolean;
|
|
395
|
+
readonly ellipsis: boolean;
|
|
384
396
|
readonly index: number;
|
|
385
397
|
} & {
|
|
398
|
+
readonly ellipsis: boolean;
|
|
386
399
|
readonly clearable: boolean;
|
|
387
400
|
};
|
|
388
401
|
label: string;
|
|
@@ -424,6 +437,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
424
437
|
dictCode?: string | undefined;
|
|
425
438
|
} | undefined;
|
|
426
439
|
clearable: boolean;
|
|
440
|
+
ellipsis: boolean;
|
|
427
441
|
index: number;
|
|
428
442
|
}) => any>> & Partial<Record<string, (_: {
|
|
429
443
|
[x: string]: any;
|
|
@@ -542,6 +556,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
542
556
|
class?: any;
|
|
543
557
|
} & RecordType>> | undefined;
|
|
544
558
|
hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
559
|
+
ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
545
560
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
546
561
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
547
562
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -31,7 +31,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
31
|
colProps: { default: () => ({}) },
|
|
32
32
|
collapseDuration: { default: void 0 },
|
|
33
33
|
collapseTransition: { type: Boolean, default: void 0 },
|
|
34
|
-
clearable: { type: Boolean, default: true }
|
|
34
|
+
clearable: { type: Boolean, default: true },
|
|
35
|
+
ellipsis: { type: Boolean, default: false }
|
|
35
36
|
},
|
|
36
37
|
emits: ["update:modelValue", "change"],
|
|
37
38
|
setup(__props, { emit: __emit }) {
|
|
@@ -58,6 +59,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
59
|
}
|
|
59
60
|
return props.hasLabel;
|
|
60
61
|
};
|
|
62
|
+
const getEllipsis = (ellipsis) => {
|
|
63
|
+
const value = vue.unref(ellipsis);
|
|
64
|
+
if (is.isBoolean(value)) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return props.ellipsis;
|
|
68
|
+
};
|
|
61
69
|
vue.watch(
|
|
62
70
|
() => props.modelValue,
|
|
63
71
|
(val) => {
|
|
@@ -112,6 +120,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
112
120
|
}, item, {
|
|
113
121
|
clearable: _ctx.clearable,
|
|
114
122
|
"has-label": getHasLabel(item.hasLabel),
|
|
123
|
+
ellipsis: getEllipsis(item.ellipsis),
|
|
115
124
|
onChange: (value) => handleChange(value, item)
|
|
116
125
|
}), vue.createSlots({
|
|
117
126
|
_: 2
|
|
@@ -138,7 +147,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
147
|
]),
|
|
139
148
|
key: "2"
|
|
140
149
|
} : void 0
|
|
141
|
-
]), 1040, ["model-value", "clearable", "has-label", "onChange"]),
|
|
150
|
+
]), 1040, ["model-value", "clearable", "has-label", "ellipsis", "onChange"]),
|
|
142
151
|
vue.createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
|
|
143
152
|
item.renderExtra || _ctx.$slots[vue.unref(index.getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
144
153
|
item.renderExtra && vue.unref(is.isFunction)(item.renderExtra) ? (vue.openBlock(), vue.createBlock(
|
|
@@ -19,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
19
19
|
hasFooter: boolean;
|
|
20
20
|
hasReset: boolean;
|
|
21
21
|
hasLabel: boolean;
|
|
22
|
+
ellipsis: boolean;
|
|
22
23
|
submitLoading: boolean;
|
|
23
24
|
submitText: string;
|
|
24
25
|
resetText: string;
|
|
@@ -55,6 +56,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
55
56
|
hasFooter: boolean;
|
|
56
57
|
hasReset: boolean;
|
|
57
58
|
hasLabel: boolean;
|
|
59
|
+
ellipsis: boolean;
|
|
58
60
|
submitLoading: boolean;
|
|
59
61
|
submitText: string;
|
|
60
62
|
resetText: string;
|
|
@@ -85,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
85
87
|
labelPosition: "top" | "right" | "left";
|
|
86
88
|
labelWidth: string | number;
|
|
87
89
|
labelSuffix: string;
|
|
90
|
+
ellipsis: boolean;
|
|
88
91
|
defaultValues: FieldValues;
|
|
89
92
|
rowProps: Partial< Mutable<RowProps> & {
|
|
90
93
|
style?: CSSProperties | undefined;
|
|
@@ -120,7 +123,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
123
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
121
124
|
columns?: PlusColumn[] | undefined;
|
|
122
125
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
123
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
126
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
124
127
|
readonly label: string | ComputedRef<string>;
|
|
125
128
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
126
129
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -183,8 +186,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
183
186
|
dictCode?: string | undefined;
|
|
184
187
|
} | undefined;
|
|
185
188
|
readonly clearable: boolean;
|
|
189
|
+
readonly ellipsis: boolean;
|
|
186
190
|
readonly index: number;
|
|
187
191
|
} & {
|
|
192
|
+
readonly ellipsis: boolean;
|
|
188
193
|
readonly clearable: boolean;
|
|
189
194
|
};
|
|
190
195
|
label: string;
|
|
@@ -226,9 +231,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
231
|
dictCode?: string | undefined;
|
|
227
232
|
} | undefined;
|
|
228
233
|
clearable: boolean;
|
|
234
|
+
ellipsis: boolean;
|
|
229
235
|
index: number;
|
|
230
236
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
231
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
237
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
232
238
|
readonly label: string | ComputedRef<string>;
|
|
233
239
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
234
240
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -291,8 +297,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
291
297
|
dictCode?: string | undefined;
|
|
292
298
|
} | undefined;
|
|
293
299
|
readonly clearable: boolean;
|
|
300
|
+
readonly ellipsis: boolean;
|
|
294
301
|
readonly index: number;
|
|
295
302
|
} & {
|
|
303
|
+
readonly ellipsis: boolean;
|
|
296
304
|
readonly clearable: boolean;
|
|
297
305
|
};
|
|
298
306
|
label: string;
|
|
@@ -334,6 +342,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
342
|
dictCode?: string | undefined;
|
|
335
343
|
} | undefined;
|
|
336
344
|
clearable: boolean;
|
|
345
|
+
ellipsis: boolean;
|
|
337
346
|
index: number;
|
|
338
347
|
}) => any>> & {
|
|
339
348
|
default?(_: {}): any;
|
|
@@ -32,6 +32,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
32
32
|
hasFooter: { type: Boolean, default: true },
|
|
33
33
|
hasReset: { type: Boolean, default: true },
|
|
34
34
|
hasLabel: { type: Boolean, default: true },
|
|
35
|
+
ellipsis: { type: Boolean, default: false },
|
|
35
36
|
submitText: { default: "" },
|
|
36
37
|
resetText: { default: "" },
|
|
37
38
|
submitLoading: { type: Boolean, default: false },
|
|
@@ -209,6 +210,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
209
210
|
layout: _ctx.layout,
|
|
210
211
|
columns: filterHide(groupItem.columns),
|
|
211
212
|
"has-label": _ctx.hasLabel,
|
|
213
|
+
ellipsis: _ctx.ellipsis,
|
|
212
214
|
"collapse-transition": _ctx.collapseTransition,
|
|
213
215
|
"collapse-duration": _ctx.collapseDuration,
|
|
214
216
|
clearable: _ctx.clearable,
|
|
@@ -225,7 +227,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
225
227
|
])
|
|
226
228
|
};
|
|
227
229
|
})
|
|
228
|
-
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"]))
|
|
230
|
+
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "ellipsis", "collapse-transition", "collapse-duration", "clearable"]))
|
|
229
231
|
]),
|
|
230
232
|
_: 2
|
|
231
233
|
/* DYNAMIC */
|
|
@@ -249,6 +251,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
249
251
|
layout: _ctx.layout,
|
|
250
252
|
columns: subColumns.value,
|
|
251
253
|
"has-label": _ctx.hasLabel,
|
|
254
|
+
ellipsis: _ctx.ellipsis,
|
|
252
255
|
"collapse-transition": _ctx.collapseTransition,
|
|
253
256
|
"collapse-duration": _ctx.collapseDuration,
|
|
254
257
|
clearable: _ctx.clearable,
|
|
@@ -265,7 +268,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
265
268
|
])
|
|
266
269
|
};
|
|
267
270
|
})
|
|
268
|
-
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "collapse-transition", "collapse-duration", "clearable"])
|
|
271
|
+
]), 1032, ["modelValue", "row-props", "col-props", "layout", "columns", "has-label", "ellipsis", "collapse-transition", "collapse-duration", "clearable"])
|
|
269
272
|
],
|
|
270
273
|
64
|
|
271
274
|
/* STABLE_FRAGMENT */
|