yc-pro-components 0.0.12 → 0.0.13
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 +14 -2
- package/es/components/dialog-form/src/index.vue.d.ts +14 -2
- package/es/components/display-item/index.d.ts +42 -6
- package/es/components/display-item/src/index.vue.d.ts +42 -6
- package/es/components/drawer-form/index.d.ts +14 -2
- package/es/components/drawer-form/src/index.vue.d.ts +14 -2
- package/es/components/form/index.d.ts +28 -4
- package/es/components/form/src/form-content.vue.d.ts +42 -6
- package/es/components/form/src/index.vue.d.ts +28 -4
- package/es/components/form-item/index.d.ts +88 -16
- package/es/components/form-item/src/index.vue.d.ts +35 -4
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- package/es/components/page/index.d.ts +224 -32
- package/es/components/page/src/index.vue.d.ts +84 -12
- package/es/components/page/src/index.vue2.mjs +1 -1
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +98 -14
- package/es/components/search/src/index.vue.d.ts +42 -6
- package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column.vue.d.ts +42 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +154 -22
- package/es/constants/dict.d.ts +78 -0
- package/es/constants/dict.mjs +3 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDictInjection.d.ts +38 -0
- package/es/hooks/useDictInjection.mjs +18 -0
- package/es/hooks/useGetOptions.mjs +118 -30
- package/es/hooks/usePlusFormReset.d.ts +84 -12
- package/es/index.d.ts +1 -1
- package/es/index.mjs +2 -0
- package/es/types/plus.d.ts +74 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +165 -59
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +165 -61
- package/lib/components/dialog-form/index.d.ts +14 -2
- package/lib/components/dialog-form/src/index.vue.d.ts +14 -2
- package/lib/components/display-item/index.d.ts +42 -6
- package/lib/components/display-item/src/index.vue.d.ts +42 -6
- package/lib/components/drawer-form/index.d.ts +14 -2
- package/lib/components/drawer-form/src/index.vue.d.ts +14 -2
- package/lib/components/form/index.d.ts +28 -4
- package/lib/components/form/src/form-content.vue.d.ts +42 -6
- package/lib/components/form/src/index.vue.d.ts +28 -4
- package/lib/components/form-item/index.d.ts +88 -16
- package/lib/components/form-item/src/index.vue.d.ts +35 -4
- package/lib/components/form-item/src/index.vue2.js +1 -0
- package/lib/components/page/index.d.ts +224 -32
- package/lib/components/page/src/index.vue.d.ts +84 -12
- package/lib/components/page/src/index.vue2.js +1 -1
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +98 -14
- package/lib/components/search/src/index.vue.d.ts +42 -6
- package/lib/components/table/src/table-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +42 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +154 -22
- package/lib/constants/dict.d.ts +78 -0
- package/lib/constants/dict.js +5 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useDictInjection.d.ts +38 -0
- package/lib/hooks/useDictInjection.js +20 -0
- package/lib/hooks/useGetOptions.js +117 -29
- package/lib/hooks/usePlusFormReset.d.ts +84 -12
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -0
- package/lib/types/plus.d.ts +74 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +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
|
@@ -124,6 +124,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
124
124
|
}) => RenderTypes) | undefined;
|
|
125
125
|
order?: number | ComputedRef<number> | undefined;
|
|
126
126
|
children?: PlusColumn[] | undefined;
|
|
127
|
+
autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
128
|
+
store?: any;
|
|
129
|
+
method?: string | undefined;
|
|
130
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
131
|
+
dictCode?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
127
133
|
headerFilter?: boolean | undefined;
|
|
128
134
|
disabledHeaderFilter?: boolean | undefined;
|
|
129
135
|
headerIsChecked?: boolean | undefined;
|
|
@@ -159,7 +165,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
159
165
|
};
|
|
160
166
|
rows: number;
|
|
161
167
|
autocomplete: string;
|
|
162
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
168
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
163
169
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
164
170
|
step: string | number;
|
|
165
171
|
format: string | ProgressFn | undefined;
|
|
@@ -191,7 +197,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
191
197
|
label?: string | undefined;
|
|
192
198
|
}) => RenderTypes) | undefined;
|
|
193
199
|
}) => any>> & Partial<Record<string, (_: {
|
|
194
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
200
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
195
201
|
readonly label: string | ComputedRef<string>;
|
|
196
202
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
197
203
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -220,7 +226,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
220
226
|
};
|
|
221
227
|
rows: number;
|
|
222
228
|
autocomplete: string;
|
|
223
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
229
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
224
230
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
225
231
|
step: string | number;
|
|
226
232
|
format: string | ProgressFn | undefined;
|
|
@@ -247,6 +253,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
247
253
|
label?: string | undefined;
|
|
248
254
|
value?: string | undefined;
|
|
249
255
|
} | undefined;
|
|
256
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
257
|
+
store?: any;
|
|
258
|
+
method?: string | undefined;
|
|
259
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
260
|
+
dictCode?: string | undefined;
|
|
261
|
+
} | undefined;
|
|
250
262
|
readonly clearable: boolean;
|
|
251
263
|
readonly index: number;
|
|
252
264
|
} & {
|
|
@@ -284,10 +296,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
296
|
label?: string | undefined;
|
|
285
297
|
value?: string | undefined;
|
|
286
298
|
} | undefined;
|
|
299
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
300
|
+
store?: any;
|
|
301
|
+
method?: string | undefined;
|
|
302
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
303
|
+
dictCode?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
287
305
|
clearable: boolean;
|
|
288
306
|
index: number;
|
|
289
307
|
}) => any>> & Partial<Record<string, (_: {
|
|
290
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
308
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
291
309
|
readonly label: string | ComputedRef<string>;
|
|
292
310
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
293
311
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -316,7 +334,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
334
|
};
|
|
317
335
|
rows: number;
|
|
318
336
|
autocomplete: string;
|
|
319
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
337
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
320
338
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
321
339
|
step: string | number;
|
|
322
340
|
format: string | ProgressFn | undefined;
|
|
@@ -343,6 +361,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
343
361
|
label?: string | undefined;
|
|
344
362
|
value?: string | undefined;
|
|
345
363
|
} | undefined;
|
|
364
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
365
|
+
store?: any;
|
|
366
|
+
method?: string | undefined;
|
|
367
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
368
|
+
dictCode?: string | undefined;
|
|
369
|
+
} | undefined;
|
|
346
370
|
readonly clearable: boolean;
|
|
347
371
|
readonly index: number;
|
|
348
372
|
} & {
|
|
@@ -380,6 +404,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
404
|
label?: string | undefined;
|
|
381
405
|
value?: string | undefined;
|
|
382
406
|
} | undefined;
|
|
407
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
408
|
+
store?: any;
|
|
409
|
+
method?: string | undefined;
|
|
410
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
411
|
+
dictCode?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
383
413
|
clearable: boolean;
|
|
384
414
|
index: number;
|
|
385
415
|
}) => any>> & Partial<Record<string, (_: {
|
|
@@ -435,6 +465,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
435
465
|
}) => RenderTypes) | undefined;
|
|
436
466
|
order?: number | ComputedRef<number> | undefined;
|
|
437
467
|
children?: PlusColumn[] | undefined;
|
|
468
|
+
autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
469
|
+
store?: any;
|
|
470
|
+
method?: string | undefined;
|
|
471
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
472
|
+
dictCode?: string | undefined;
|
|
473
|
+
} | undefined;
|
|
438
474
|
headerFilter?: boolean | undefined;
|
|
439
475
|
disabledHeaderFilter?: boolean | undefined;
|
|
440
476
|
headerIsChecked?: boolean | undefined;
|
|
@@ -470,7 +506,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
470
506
|
};
|
|
471
507
|
rows: number;
|
|
472
508
|
autocomplete: string;
|
|
473
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
509
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
474
510
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
475
511
|
step: string | number;
|
|
476
512
|
format: string | ProgressFn | undefined;
|
|
@@ -399,7 +399,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
399
399
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
400
400
|
columns?: PlusColumn[] | undefined;
|
|
401
401
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
402
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
402
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
403
403
|
readonly label: string | ComputedRef<string>;
|
|
404
404
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
405
405
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -428,7 +428,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
428
428
|
};
|
|
429
429
|
rows: number;
|
|
430
430
|
autocomplete: string;
|
|
431
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
431
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
432
432
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
433
433
|
step: string | number;
|
|
434
434
|
format: string | ProgressFn | undefined;
|
|
@@ -455,6 +455,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
455
455
|
label?: string | undefined;
|
|
456
456
|
value?: string | undefined;
|
|
457
457
|
} | undefined;
|
|
458
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
459
|
+
store?: any;
|
|
460
|
+
method?: string | undefined;
|
|
461
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
462
|
+
dictCode?: string | undefined;
|
|
463
|
+
} | undefined;
|
|
458
464
|
readonly clearable: boolean;
|
|
459
465
|
readonly index: number;
|
|
460
466
|
} & {
|
|
@@ -492,10 +498,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
492
498
|
label?: string | undefined;
|
|
493
499
|
value?: string | undefined;
|
|
494
500
|
} | undefined;
|
|
501
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
502
|
+
store?: any;
|
|
503
|
+
method?: string | undefined;
|
|
504
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
505
|
+
dictCode?: string | undefined;
|
|
506
|
+
} | undefined;
|
|
495
507
|
clearable: boolean;
|
|
496
508
|
index: number;
|
|
497
509
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
498
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
510
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
499
511
|
readonly label: string | ComputedRef<string>;
|
|
500
512
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
501
513
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -524,7 +536,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
524
536
|
};
|
|
525
537
|
rows: number;
|
|
526
538
|
autocomplete: string;
|
|
527
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
539
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
528
540
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
529
541
|
step: string | number;
|
|
530
542
|
format: string | ProgressFn | undefined;
|
|
@@ -551,6 +563,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
551
563
|
label?: string | undefined;
|
|
552
564
|
value?: string | undefined;
|
|
553
565
|
} | undefined;
|
|
566
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
567
|
+
store?: any;
|
|
568
|
+
method?: string | undefined;
|
|
569
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
570
|
+
dictCode?: string | undefined;
|
|
571
|
+
} | undefined;
|
|
554
572
|
readonly clearable: boolean;
|
|
555
573
|
readonly index: number;
|
|
556
574
|
} & {
|
|
@@ -588,6 +606,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
588
606
|
label?: string | undefined;
|
|
589
607
|
value?: string | undefined;
|
|
590
608
|
} | undefined;
|
|
609
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
610
|
+
store?: any;
|
|
611
|
+
method?: string | undefined;
|
|
612
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
613
|
+
dictCode?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
591
615
|
clearable: boolean;
|
|
592
616
|
index: number;
|
|
593
617
|
}) => any>> & {
|
|
@@ -53,7 +53,7 @@ export declare const PlusFormItem: {
|
|
|
53
53
|
};
|
|
54
54
|
rows: number;
|
|
55
55
|
autocomplete: string;
|
|
56
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
56
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
57
57
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
58
58
|
step: string | number;
|
|
59
59
|
format: string | ProgressFn | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const PlusFormItem: {
|
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
94
|
valueType: {
|
|
95
|
-
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
95
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
|
|
96
96
|
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
renderField: {
|
|
@@ -118,6 +118,15 @@ export declare const PlusFormItem: {
|
|
|
118
118
|
}>;
|
|
119
119
|
default: undefined;
|
|
120
120
|
};
|
|
121
|
+
autoDict: {
|
|
122
|
+
type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
123
|
+
store?: any;
|
|
124
|
+
method?: string | undefined;
|
|
125
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
126
|
+
dictCode?: string | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
121
130
|
}>> & {
|
|
122
131
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
123
132
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -503,7 +512,7 @@ export declare const PlusFormItem: {
|
|
|
503
512
|
};
|
|
504
513
|
rows: number;
|
|
505
514
|
autocomplete: string;
|
|
506
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
515
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
507
516
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
508
517
|
step: string | number;
|
|
509
518
|
format: string | ProgressFn | undefined;
|
|
@@ -542,7 +551,7 @@ export declare const PlusFormItem: {
|
|
|
542
551
|
default: boolean;
|
|
543
552
|
};
|
|
544
553
|
valueType: {
|
|
545
|
-
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
554
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
|
|
546
555
|
default: undefined;
|
|
547
556
|
};
|
|
548
557
|
renderField: {
|
|
@@ -568,6 +577,15 @@ export declare const PlusFormItem: {
|
|
|
568
577
|
}>;
|
|
569
578
|
default: undefined;
|
|
570
579
|
};
|
|
580
|
+
autoDict: {
|
|
581
|
+
type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
582
|
+
store?: any;
|
|
583
|
+
method?: string | undefined;
|
|
584
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
585
|
+
dictCode?: string | undefined;
|
|
586
|
+
}>;
|
|
587
|
+
default: undefined;
|
|
588
|
+
};
|
|
571
589
|
}>> & {
|
|
572
590
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
573
591
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -599,7 +617,7 @@ export declare const PlusFormItem: {
|
|
|
599
617
|
};
|
|
600
618
|
rows: number;
|
|
601
619
|
autocomplete: string;
|
|
602
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
620
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
603
621
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
604
622
|
step: string | number;
|
|
605
623
|
format: string | ProgressFn | undefined;
|
|
@@ -617,7 +635,7 @@ export declare const PlusFormItem: {
|
|
|
617
635
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
618
636
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
619
637
|
clearable: boolean;
|
|
620
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
638
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
621
639
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
622
640
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
623
641
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -629,6 +647,12 @@ export declare const PlusFormItem: {
|
|
|
629
647
|
label?: string | undefined;
|
|
630
648
|
value?: string | undefined;
|
|
631
649
|
};
|
|
650
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
651
|
+
store?: any;
|
|
652
|
+
method?: string | undefined;
|
|
653
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
654
|
+
dictCode?: string | undefined;
|
|
655
|
+
};
|
|
632
656
|
}, true, {}, {}, {
|
|
633
657
|
P: {};
|
|
634
658
|
B: {};
|
|
@@ -681,7 +705,7 @@ export declare const PlusFormItem: {
|
|
|
681
705
|
};
|
|
682
706
|
rows: number;
|
|
683
707
|
autocomplete: string;
|
|
684
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
708
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
685
709
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
686
710
|
step: string | number;
|
|
687
711
|
format: string | ProgressFn | undefined;
|
|
@@ -720,7 +744,7 @@ export declare const PlusFormItem: {
|
|
|
720
744
|
default: boolean;
|
|
721
745
|
};
|
|
722
746
|
valueType: {
|
|
723
|
-
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
747
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
|
|
724
748
|
default: undefined;
|
|
725
749
|
};
|
|
726
750
|
renderField: {
|
|
@@ -746,6 +770,15 @@ export declare const PlusFormItem: {
|
|
|
746
770
|
}>;
|
|
747
771
|
default: undefined;
|
|
748
772
|
};
|
|
773
|
+
autoDict: {
|
|
774
|
+
type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
775
|
+
store?: any;
|
|
776
|
+
method?: string | undefined;
|
|
777
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
778
|
+
dictCode?: string | undefined;
|
|
779
|
+
}>;
|
|
780
|
+
default: undefined;
|
|
781
|
+
};
|
|
749
782
|
}>> & {
|
|
750
783
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
751
784
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -1111,7 +1144,7 @@ export declare const PlusFormItem: {
|
|
|
1111
1144
|
};
|
|
1112
1145
|
rows: number;
|
|
1113
1146
|
autocomplete: string;
|
|
1114
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1147
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1115
1148
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1116
1149
|
step: string | number;
|
|
1117
1150
|
format: string | ProgressFn | undefined;
|
|
@@ -1129,7 +1162,7 @@ export declare const PlusFormItem: {
|
|
|
1129
1162
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1130
1163
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1131
1164
|
clearable: boolean;
|
|
1132
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
1165
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
1133
1166
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1134
1167
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1135
1168
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -1141,6 +1174,12 @@ export declare const PlusFormItem: {
|
|
|
1141
1174
|
label?: string | undefined;
|
|
1142
1175
|
value?: string | undefined;
|
|
1143
1176
|
};
|
|
1177
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1178
|
+
store?: any;
|
|
1179
|
+
method?: string | undefined;
|
|
1180
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1181
|
+
dictCode?: string | undefined;
|
|
1182
|
+
};
|
|
1144
1183
|
}>;
|
|
1145
1184
|
__isFragment?: undefined;
|
|
1146
1185
|
__isTeleport?: undefined;
|
|
@@ -1190,7 +1229,7 @@ export declare const PlusFormItem: {
|
|
|
1190
1229
|
};
|
|
1191
1230
|
rows: number;
|
|
1192
1231
|
autocomplete: string;
|
|
1193
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1232
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1194
1233
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1195
1234
|
step: string | number;
|
|
1196
1235
|
format: string | ProgressFn | undefined;
|
|
@@ -1229,7 +1268,7 @@ export declare const PlusFormItem: {
|
|
|
1229
1268
|
default: boolean;
|
|
1230
1269
|
};
|
|
1231
1270
|
valueType: {
|
|
1232
|
-
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
1271
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
|
|
1233
1272
|
default: undefined;
|
|
1234
1273
|
};
|
|
1235
1274
|
renderField: {
|
|
@@ -1255,6 +1294,15 @@ export declare const PlusFormItem: {
|
|
|
1255
1294
|
}>;
|
|
1256
1295
|
default: undefined;
|
|
1257
1296
|
};
|
|
1297
|
+
autoDict: {
|
|
1298
|
+
type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1299
|
+
store?: any;
|
|
1300
|
+
method?: string | undefined;
|
|
1301
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1302
|
+
dictCode?: string | undefined;
|
|
1303
|
+
}>;
|
|
1304
|
+
default: undefined;
|
|
1305
|
+
};
|
|
1258
1306
|
}>> & {
|
|
1259
1307
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1308
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -1623,7 +1671,7 @@ export declare const PlusFormItem: {
|
|
|
1623
1671
|
};
|
|
1624
1672
|
rows: number;
|
|
1625
1673
|
autocomplete: string;
|
|
1626
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1674
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1627
1675
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1628
1676
|
step: string | number;
|
|
1629
1677
|
format: string | ProgressFn | undefined;
|
|
@@ -1641,7 +1689,7 @@ export declare const PlusFormItem: {
|
|
|
1641
1689
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1642
1690
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1643
1691
|
clearable: boolean;
|
|
1644
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "
|
|
1692
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
1645
1693
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1646
1694
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1647
1695
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -1653,6 +1701,12 @@ export declare const PlusFormItem: {
|
|
|
1653
1701
|
label?: string | undefined;
|
|
1654
1702
|
value?: string | undefined;
|
|
1655
1703
|
};
|
|
1704
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1705
|
+
store?: any;
|
|
1706
|
+
method?: string | undefined;
|
|
1707
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1708
|
+
dictCode?: string | undefined;
|
|
1709
|
+
};
|
|
1656
1710
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1657
1711
|
$slots: Partial<Record<string, (_: {
|
|
1658
1712
|
label: string;
|
|
@@ -1687,10 +1741,16 @@ export declare const PlusFormItem: {
|
|
|
1687
1741
|
label?: string | undefined;
|
|
1688
1742
|
value?: string | undefined;
|
|
1689
1743
|
} | undefined;
|
|
1744
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1745
|
+
store?: any;
|
|
1746
|
+
method?: string | undefined;
|
|
1747
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1748
|
+
dictCode?: string | undefined;
|
|
1749
|
+
} | undefined;
|
|
1690
1750
|
clearable: boolean;
|
|
1691
1751
|
index: number;
|
|
1692
1752
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1753
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1694
1754
|
readonly label: string | ComputedRef<string>;
|
|
1695
1755
|
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1756
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1719,7 +1779,7 @@ export declare const PlusFormItem: {
|
|
|
1719
1779
|
};
|
|
1720
1780
|
rows: number;
|
|
1721
1781
|
autocomplete: string;
|
|
1722
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1782
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1723
1783
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1724
1784
|
step: string | number;
|
|
1725
1785
|
format: string | ProgressFn | undefined;
|
|
@@ -1746,6 +1806,12 @@ export declare const PlusFormItem: {
|
|
|
1746
1806
|
label?: string | undefined;
|
|
1747
1807
|
value?: string | undefined;
|
|
1748
1808
|
} | undefined;
|
|
1809
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1810
|
+
store?: any;
|
|
1811
|
+
method?: string | undefined;
|
|
1812
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1813
|
+
dictCode?: string | undefined;
|
|
1814
|
+
} | undefined;
|
|
1749
1815
|
readonly clearable: boolean;
|
|
1750
1816
|
readonly index: number;
|
|
1751
1817
|
} & {
|
|
@@ -1783,6 +1849,12 @@ export declare const PlusFormItem: {
|
|
|
1783
1849
|
label?: string | undefined;
|
|
1784
1850
|
value?: string | undefined;
|
|
1785
1851
|
} | undefined;
|
|
1852
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1853
|
+
store?: any;
|
|
1854
|
+
method?: string | undefined;
|
|
1855
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1856
|
+
dictCode?: string | undefined;
|
|
1857
|
+
} | undefined;
|
|
1786
1858
|
clearable: boolean;
|
|
1787
1859
|
index: number;
|
|
1788
1860
|
}) => any>> & {
|