yc-pro-components 0.0.11 → 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/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +44 -32
- package/es/components/dialog-form/src/index.vue.d.ts +22 -10
- package/es/components/display-item/index.d.ts +80 -44
- package/es/components/display-item/src/index.vue.d.ts +61 -25
- package/es/components/drawer-form/index.d.ts +63 -51
- package/es/components/drawer-form/src/index.vue.d.ts +23 -11
- package/es/components/form/index.d.ts +71 -47
- package/es/components/form/src/form-content.vue.d.ts +60 -24
- package/es/components/form/src/index.vue.d.ts +43 -19
- package/es/components/form-item/index.d.ts +129 -57
- package/es/components/form-item/src/index.vue.d.ts +46 -15
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +751 -469
- package/es/components/page/src/index.vue.d.ts +263 -161
- package/es/components/page/src/index.vue2.mjs +1 -1
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- 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 +284 -162
- package/es/components/search/src/index.vue.d.ts +95 -53
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- 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 +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +76 -40
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- 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 +286 -214
- package/es/index.css +1 -1
- 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.css +9 -5
- package/index.js +187 -65
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +187 -67
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +44 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
- package/lib/components/display-item/index.d.ts +80 -44
- package/lib/components/display-item/src/index.vue.d.ts +61 -25
- package/lib/components/drawer-form/index.d.ts +63 -51
- package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
- package/lib/components/form/index.d.ts +71 -47
- package/lib/components/form/src/form-content.vue.d.ts +60 -24
- package/lib/components/form/src/index.vue.d.ts +43 -19
- package/lib/components/form-item/index.d.ts +129 -57
- package/lib/components/form-item/src/index.vue.d.ts +46 -15
- package/lib/components/form-item/src/index.vue2.js +1 -0
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +751 -469
- package/lib/components/page/src/index.vue.d.ts +263 -161
- package/lib/components/page/src/index.vue2.js +1 -1
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- 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 +284 -162
- package/lib/components/search/src/index.vue.d.ts +95 -53
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- 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 +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +76 -40
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- 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 +286 -214
- package/lib/index.css +1 -1
- 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
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, FieldValues, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
|
|
7
7
|
import { default as DialogForm } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,10 +10,6 @@ export type { PlusDialogFormProps } from './src/index.vue';
|
|
|
10
10
|
export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
|
|
11
11
|
export declare const PlusDialogForm: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
dialog: {
|
|
18
14
|
type: PropType<PlusDialogProps>;
|
|
19
15
|
default: () => {};
|
|
@@ -26,14 +22,18 @@ export declare const PlusDialogForm: {
|
|
|
26
22
|
type: PropType<boolean>;
|
|
27
23
|
default: boolean;
|
|
28
24
|
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: PropType<FieldValues>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
29
|
hasErrorTip: {
|
|
30
30
|
type: PropType<boolean>;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>> & {
|
|
34
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
35
34
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
36
35
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
37
37
|
onClose?: (() => any) | undefined;
|
|
38
38
|
onCancel?: (() => any) | undefined;
|
|
39
39
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -332,10 +332,6 @@ export declare const PlusDialogForm: {
|
|
|
332
332
|
close: () => void;
|
|
333
333
|
confirmError: (errors: unknown) => void;
|
|
334
334
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
335
|
-
modelValue: {
|
|
336
|
-
type: PropType<FieldValues>;
|
|
337
|
-
default: () => {};
|
|
338
|
-
};
|
|
339
335
|
dialog: {
|
|
340
336
|
type: PropType<PlusDialogProps>;
|
|
341
337
|
default: () => {};
|
|
@@ -348,23 +344,27 @@ export declare const PlusDialogForm: {
|
|
|
348
344
|
type: PropType<boolean>;
|
|
349
345
|
default: boolean;
|
|
350
346
|
};
|
|
347
|
+
modelValue: {
|
|
348
|
+
type: PropType<FieldValues>;
|
|
349
|
+
default: () => {};
|
|
350
|
+
};
|
|
351
351
|
hasErrorTip: {
|
|
352
352
|
type: PropType<boolean>;
|
|
353
353
|
default: boolean;
|
|
354
354
|
};
|
|
355
355
|
}>> & {
|
|
356
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
357
356
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
358
357
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
358
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
359
359
|
onClose?: (() => any) | undefined;
|
|
360
360
|
onCancel?: (() => any) | undefined;
|
|
361
361
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
362
362
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
363
363
|
}, {
|
|
364
|
-
modelValue: FieldValues;
|
|
365
364
|
dialog: PlusDialogProps;
|
|
366
365
|
form: PlusFormProps;
|
|
367
366
|
visible: boolean;
|
|
367
|
+
modelValue: FieldValues;
|
|
368
368
|
hasErrorTip: boolean;
|
|
369
369
|
}, true, {}, {}, {
|
|
370
370
|
P: {};
|
|
@@ -374,10 +374,6 @@ export declare const PlusDialogForm: {
|
|
|
374
374
|
M: {};
|
|
375
375
|
Defaults: {};
|
|
376
376
|
}, Readonly< ExtractPropTypes<{
|
|
377
|
-
modelValue: {
|
|
378
|
-
type: PropType<FieldValues>;
|
|
379
|
-
default: () => {};
|
|
380
|
-
};
|
|
381
377
|
dialog: {
|
|
382
378
|
type: PropType<PlusDialogProps>;
|
|
383
379
|
default: () => {};
|
|
@@ -390,14 +386,18 @@ export declare const PlusDialogForm: {
|
|
|
390
386
|
type: PropType<boolean>;
|
|
391
387
|
default: boolean;
|
|
392
388
|
};
|
|
389
|
+
modelValue: {
|
|
390
|
+
type: PropType<FieldValues>;
|
|
391
|
+
default: () => {};
|
|
392
|
+
};
|
|
393
393
|
hasErrorTip: {
|
|
394
394
|
type: PropType<boolean>;
|
|
395
395
|
default: boolean;
|
|
396
396
|
};
|
|
397
397
|
}>> & {
|
|
398
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
399
398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
400
399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
400
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
401
401
|
onClose?: (() => any) | undefined;
|
|
402
402
|
onCancel?: (() => any) | undefined;
|
|
403
403
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -688,20 +688,16 @@ export declare const PlusDialogForm: {
|
|
|
688
688
|
readonly scrollToError: boolean;
|
|
689
689
|
}>>;
|
|
690
690
|
}, {}, {}, {}, {
|
|
691
|
-
modelValue: FieldValues;
|
|
692
691
|
dialog: PlusDialogProps;
|
|
693
692
|
form: PlusFormProps;
|
|
694
693
|
visible: boolean;
|
|
694
|
+
modelValue: FieldValues;
|
|
695
695
|
hasErrorTip: boolean;
|
|
696
696
|
}>;
|
|
697
697
|
__isFragment?: undefined;
|
|
698
698
|
__isTeleport?: undefined;
|
|
699
699
|
__isSuspense?: undefined;
|
|
700
700
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
701
|
-
modelValue: {
|
|
702
|
-
type: PropType<FieldValues>;
|
|
703
|
-
default: () => {};
|
|
704
|
-
};
|
|
705
701
|
dialog: {
|
|
706
702
|
type: PropType<PlusDialogProps>;
|
|
707
703
|
default: () => {};
|
|
@@ -714,14 +710,18 @@ export declare const PlusDialogForm: {
|
|
|
714
710
|
type: PropType<boolean>;
|
|
715
711
|
default: boolean;
|
|
716
712
|
};
|
|
713
|
+
modelValue: {
|
|
714
|
+
type: PropType<FieldValues>;
|
|
715
|
+
default: () => {};
|
|
716
|
+
};
|
|
717
717
|
hasErrorTip: {
|
|
718
718
|
type: PropType<boolean>;
|
|
719
719
|
default: boolean;
|
|
720
720
|
};
|
|
721
721
|
}>> & {
|
|
722
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
723
722
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
724
723
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
724
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
725
725
|
onClose?: (() => any) | undefined;
|
|
726
726
|
onCancel?: (() => any) | undefined;
|
|
727
727
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1020,21 +1020,21 @@ export declare const PlusDialogForm: {
|
|
|
1020
1020
|
close: () => void;
|
|
1021
1021
|
confirmError: (errors: unknown) => void;
|
|
1022
1022
|
}, string, {
|
|
1023
|
-
modelValue: FieldValues;
|
|
1024
1023
|
dialog: PlusDialogProps;
|
|
1025
1024
|
form: PlusFormProps;
|
|
1026
1025
|
visible: boolean;
|
|
1026
|
+
modelValue: FieldValues;
|
|
1027
1027
|
hasErrorTip: boolean;
|
|
1028
1028
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1029
1029
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1030
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1030
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1031
1031
|
readonly label: string | ComputedRef<string>;
|
|
1032
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1032
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1033
1033
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1034
|
-
readonly tooltip: string |
|
|
1034
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1035
1035
|
style?: CSSProperties | undefined;
|
|
1036
1036
|
class?: any;
|
|
1037
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1037
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1038
1038
|
style?: CSSProperties | undefined;
|
|
1039
1039
|
class?: any;
|
|
1040
1040
|
} & RecordType>>;
|
|
@@ -1056,7 +1056,7 @@ export declare const PlusDialogForm: {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
rows: number;
|
|
1058
1058
|
autocomplete: string;
|
|
1059
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1059
|
+
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";
|
|
1060
1060
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1061
1061
|
step: string | number;
|
|
1062
1062
|
format: string | ProgressFn | undefined;
|
|
@@ -1083,6 +1083,12 @@ export declare const PlusDialogForm: {
|
|
|
1083
1083
|
label?: string | undefined;
|
|
1084
1084
|
value?: string | undefined;
|
|
1085
1085
|
} | undefined;
|
|
1086
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1087
|
+
store?: any;
|
|
1088
|
+
method?: string | undefined;
|
|
1089
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1090
|
+
dictCode?: string | undefined;
|
|
1091
|
+
} | undefined;
|
|
1086
1092
|
readonly clearable: boolean;
|
|
1087
1093
|
readonly index: number;
|
|
1088
1094
|
} & {
|
|
@@ -1095,12 +1101,12 @@ export declare const PlusDialogForm: {
|
|
|
1095
1101
|
fieldInstance?: any;
|
|
1096
1102
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1097
1103
|
prop: string;
|
|
1098
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1104
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1099
1105
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1100
|
-
tooltip: string |
|
|
1106
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1101
1107
|
style?: CSSProperties | undefined;
|
|
1102
1108
|
class?: any;
|
|
1103
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1109
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1104
1110
|
style?: CSSProperties | undefined;
|
|
1105
1111
|
class?: any;
|
|
1106
1112
|
} & RecordType>>;
|
|
@@ -1120,6 +1126,12 @@ export declare const PlusDialogForm: {
|
|
|
1120
1126
|
label?: string | undefined;
|
|
1121
1127
|
value?: string | undefined;
|
|
1122
1128
|
} | undefined;
|
|
1129
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1130
|
+
store?: any;
|
|
1131
|
+
method?: string | undefined;
|
|
1132
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1133
|
+
dictCode?: string | undefined;
|
|
1134
|
+
} | undefined;
|
|
1123
1135
|
clearable: boolean;
|
|
1124
1136
|
index: number;
|
|
1125
1137
|
}) => any>> & {
|
|
@@ -330,28 +330,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
330
330
|
dialog: () => {};
|
|
331
331
|
form: () => {};
|
|
332
332
|
}>>> & {
|
|
333
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
334
333
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
335
334
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
335
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
336
336
|
onClose?: (() => any) | undefined;
|
|
337
337
|
onCancel?: (() => any) | undefined;
|
|
338
338
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
339
339
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
modelValue: FieldValues;
|
|
342
341
|
dialog: PlusDialogProps;
|
|
343
342
|
form: PlusFormProps;
|
|
344
343
|
visible: boolean;
|
|
344
|
+
modelValue: FieldValues;
|
|
345
345
|
hasErrorTip: boolean;
|
|
346
346
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
347
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
347
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
348
348
|
readonly label: string | ComputedRef<string>;
|
|
349
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
349
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
350
350
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
351
|
-
readonly tooltip: string |
|
|
351
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
352
352
|
style?: CSSProperties | undefined;
|
|
353
353
|
class?: any;
|
|
354
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
354
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
355
355
|
style?: CSSProperties | undefined;
|
|
356
356
|
class?: any;
|
|
357
357
|
} & RecordType>>;
|
|
@@ -373,7 +373,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
373
373
|
};
|
|
374
374
|
rows: number;
|
|
375
375
|
autocomplete: string;
|
|
376
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
376
|
+
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";
|
|
377
377
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
378
378
|
step: string | number;
|
|
379
379
|
format: string | ProgressFn | undefined;
|
|
@@ -400,6 +400,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
400
400
|
label?: string | undefined;
|
|
401
401
|
value?: string | undefined;
|
|
402
402
|
} | undefined;
|
|
403
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
404
|
+
store?: any;
|
|
405
|
+
method?: string | undefined;
|
|
406
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
407
|
+
dictCode?: string | undefined;
|
|
408
|
+
} | undefined;
|
|
403
409
|
readonly clearable: boolean;
|
|
404
410
|
readonly index: number;
|
|
405
411
|
} & {
|
|
@@ -412,12 +418,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
412
418
|
fieldInstance?: any;
|
|
413
419
|
valueIsReady?: Ref<boolean> | undefined;
|
|
414
420
|
prop: string;
|
|
415
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
421
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
416
422
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
417
|
-
tooltip: string |
|
|
423
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
418
424
|
style?: CSSProperties | undefined;
|
|
419
425
|
class?: any;
|
|
420
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
426
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
421
427
|
style?: CSSProperties | undefined;
|
|
422
428
|
class?: any;
|
|
423
429
|
} & RecordType>>;
|
|
@@ -437,6 +443,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
437
443
|
label?: string | undefined;
|
|
438
444
|
value?: string | undefined;
|
|
439
445
|
} | undefined;
|
|
446
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
447
|
+
store?: any;
|
|
448
|
+
method?: string | undefined;
|
|
449
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
450
|
+
dictCode?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
440
452
|
clearable: boolean;
|
|
441
453
|
index: number;
|
|
442
454
|
}) => any>> & {
|
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { LooseRequired } from '@vue/shared';
|
|
5
|
-
import {
|
|
5
|
+
import { RecordType, PlusFormProps, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
|
|
7
7
|
import { default as DisplayItem } from './src/index.vue';
|
|
8
8
|
|
|
@@ -14,14 +14,14 @@ export declare const PlusDisplayItem: {
|
|
|
14
14
|
type: PropType<number>;
|
|
15
15
|
default: number;
|
|
16
16
|
};
|
|
17
|
-
formProps: {
|
|
18
|
-
type: PropType<PlusFormProps>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
17
|
rest: {
|
|
22
18
|
type: PropType<RecordType>;
|
|
23
19
|
default: () => {};
|
|
24
20
|
};
|
|
21
|
+
formProps: {
|
|
22
|
+
type: PropType<PlusFormProps>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
25
|
column: {
|
|
26
26
|
type: PropType<PlusColumn>;
|
|
27
27
|
required: true;
|
|
@@ -67,14 +67,14 @@ export declare const PlusDisplayItem: {
|
|
|
67
67
|
type: PropType<number>;
|
|
68
68
|
default: number;
|
|
69
69
|
};
|
|
70
|
-
formProps: {
|
|
71
|
-
type: PropType<PlusFormProps>;
|
|
72
|
-
default: () => {};
|
|
73
|
-
};
|
|
74
70
|
rest: {
|
|
75
71
|
type: PropType<RecordType>;
|
|
76
72
|
default: () => {};
|
|
77
73
|
};
|
|
74
|
+
formProps: {
|
|
75
|
+
type: PropType<PlusFormProps>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
78
|
column: {
|
|
79
79
|
type: PropType<PlusColumn>;
|
|
80
80
|
required: true;
|
|
@@ -100,8 +100,8 @@ export declare const PlusDisplayItem: {
|
|
|
100
100
|
}) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
index: number;
|
|
103
|
-
formProps: PlusFormProps;
|
|
104
103
|
rest: RecordType;
|
|
104
|
+
formProps: PlusFormProps;
|
|
105
105
|
column: PlusColumn;
|
|
106
106
|
row: RecordType;
|
|
107
107
|
editable: boolean | "click" | "dblclick";
|
|
@@ -117,14 +117,14 @@ export declare const PlusDisplayItem: {
|
|
|
117
117
|
type: PropType<number>;
|
|
118
118
|
default: number;
|
|
119
119
|
};
|
|
120
|
-
formProps: {
|
|
121
|
-
type: PropType<PlusFormProps>;
|
|
122
|
-
default: () => {};
|
|
123
|
-
};
|
|
124
120
|
rest: {
|
|
125
121
|
type: PropType<RecordType>;
|
|
126
122
|
default: () => {};
|
|
127
123
|
};
|
|
124
|
+
formProps: {
|
|
125
|
+
type: PropType<PlusFormProps>;
|
|
126
|
+
default: () => {};
|
|
127
|
+
};
|
|
128
128
|
column: {
|
|
129
129
|
type: PropType<PlusColumn>;
|
|
130
130
|
required: true;
|
|
@@ -161,8 +161,8 @@ export declare const PlusDisplayItem: {
|
|
|
161
161
|
};
|
|
162
162
|
}, {}, {}, {}, {
|
|
163
163
|
index: number;
|
|
164
|
-
formProps: PlusFormProps;
|
|
165
164
|
rest: RecordType;
|
|
165
|
+
formProps: PlusFormProps;
|
|
166
166
|
column: PlusColumn;
|
|
167
167
|
row: RecordType;
|
|
168
168
|
editable: boolean | "click" | "dblclick";
|
|
@@ -175,14 +175,14 @@ export declare const PlusDisplayItem: {
|
|
|
175
175
|
type: PropType<number>;
|
|
176
176
|
default: number;
|
|
177
177
|
};
|
|
178
|
-
formProps: {
|
|
179
|
-
type: PropType<PlusFormProps>;
|
|
180
|
-
default: () => {};
|
|
181
|
-
};
|
|
182
178
|
rest: {
|
|
183
179
|
type: PropType<RecordType>;
|
|
184
180
|
default: () => {};
|
|
185
181
|
};
|
|
182
|
+
formProps: {
|
|
183
|
+
type: PropType<PlusFormProps>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
186
186
|
column: {
|
|
187
187
|
type: PropType<PlusColumn>;
|
|
188
188
|
required: true;
|
|
@@ -225,21 +225,21 @@ export declare const PlusDisplayItem: {
|
|
|
225
225
|
}) => void;
|
|
226
226
|
}, string, {
|
|
227
227
|
index: number;
|
|
228
|
-
formProps: PlusFormProps;
|
|
229
228
|
rest: RecordType;
|
|
229
|
+
formProps: PlusFormProps;
|
|
230
230
|
column: PlusColumn;
|
|
231
231
|
row: RecordType;
|
|
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" | "
|
|
235
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
236
236
|
readonly label: string | ComputedRef<string>;
|
|
237
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
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>;
|
|
239
|
-
readonly tooltip: string |
|
|
239
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
240
240
|
style?: CSSProperties | undefined;
|
|
241
241
|
class?: any;
|
|
242
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
242
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
243
243
|
style?: CSSProperties | undefined;
|
|
244
244
|
class?: any;
|
|
245
245
|
} & RecordType>>;
|
|
@@ -261,7 +261,7 @@ export declare const PlusDisplayItem: {
|
|
|
261
261
|
};
|
|
262
262
|
rows: number;
|
|
263
263
|
autocomplete: string;
|
|
264
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
264
|
+
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";
|
|
265
265
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
266
266
|
step: string | number;
|
|
267
267
|
format: string | ProgressFn | undefined;
|
|
@@ -288,6 +288,12 @@ export declare const PlusDisplayItem: {
|
|
|
288
288
|
label?: string | undefined;
|
|
289
289
|
value?: string | undefined;
|
|
290
290
|
} | undefined;
|
|
291
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
292
|
+
store?: any;
|
|
293
|
+
method?: string | undefined;
|
|
294
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
295
|
+
dictCode?: string | undefined;
|
|
296
|
+
} | undefined;
|
|
291
297
|
readonly clearable: boolean;
|
|
292
298
|
readonly index: number;
|
|
293
299
|
} & {
|
|
@@ -300,12 +306,12 @@ export declare const PlusDisplayItem: {
|
|
|
300
306
|
fieldInstance?: any;
|
|
301
307
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
308
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
309
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
310
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string |
|
|
311
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
312
|
style?: CSSProperties | undefined;
|
|
307
313
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
314
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
309
315
|
style?: CSSProperties | undefined;
|
|
310
316
|
class?: any;
|
|
311
317
|
} & RecordType>>;
|
|
@@ -325,17 +331,23 @@ export declare const PlusDisplayItem: {
|
|
|
325
331
|
label?: string | undefined;
|
|
326
332
|
value?: string | undefined;
|
|
327
333
|
} | undefined;
|
|
334
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
335
|
+
store?: any;
|
|
336
|
+
method?: string | undefined;
|
|
337
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
338
|
+
dictCode?: string | undefined;
|
|
339
|
+
} | undefined;
|
|
328
340
|
clearable: boolean;
|
|
329
341
|
index: number;
|
|
330
342
|
}) => any>> & Partial<Record<string, (_: {
|
|
331
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
343
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
332
344
|
readonly label: string | ComputedRef<string>;
|
|
333
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
345
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
334
346
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
335
|
-
readonly tooltip: string |
|
|
347
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
336
348
|
style?: CSSProperties | undefined;
|
|
337
349
|
class?: any;
|
|
338
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
350
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
339
351
|
style?: CSSProperties | undefined;
|
|
340
352
|
class?: any;
|
|
341
353
|
} & RecordType>>;
|
|
@@ -357,7 +369,7 @@ export declare const PlusDisplayItem: {
|
|
|
357
369
|
};
|
|
358
370
|
rows: number;
|
|
359
371
|
autocomplete: string;
|
|
360
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
372
|
+
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";
|
|
361
373
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
362
374
|
step: string | number;
|
|
363
375
|
format: string | ProgressFn | undefined;
|
|
@@ -384,6 +396,12 @@ export declare const PlusDisplayItem: {
|
|
|
384
396
|
label?: string | undefined;
|
|
385
397
|
value?: string | undefined;
|
|
386
398
|
} | undefined;
|
|
399
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
400
|
+
store?: any;
|
|
401
|
+
method?: string | undefined;
|
|
402
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
403
|
+
dictCode?: string | undefined;
|
|
404
|
+
} | undefined;
|
|
387
405
|
readonly clearable: boolean;
|
|
388
406
|
readonly index: number;
|
|
389
407
|
} & {
|
|
@@ -396,12 +414,12 @@ export declare const PlusDisplayItem: {
|
|
|
396
414
|
fieldInstance?: any;
|
|
397
415
|
valueIsReady?: Ref<boolean> | undefined;
|
|
398
416
|
prop: string;
|
|
399
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
417
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
400
418
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
401
|
-
tooltip: string |
|
|
419
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
402
420
|
style?: CSSProperties | undefined;
|
|
403
421
|
class?: any;
|
|
404
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
422
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
405
423
|
style?: CSSProperties | undefined;
|
|
406
424
|
class?: any;
|
|
407
425
|
} & RecordType>>;
|
|
@@ -421,17 +439,23 @@ export declare const PlusDisplayItem: {
|
|
|
421
439
|
label?: string | undefined;
|
|
422
440
|
value?: string | undefined;
|
|
423
441
|
} | undefined;
|
|
442
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
443
|
+
store?: any;
|
|
444
|
+
method?: string | undefined;
|
|
445
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
446
|
+
dictCode?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
424
448
|
clearable: boolean;
|
|
425
449
|
index: number;
|
|
426
450
|
}) => any>> & Partial<Record<string, (_: {
|
|
427
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
451
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
428
452
|
readonly label: string | ComputedRef<string>;
|
|
429
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
453
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
430
454
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
431
|
-
readonly tooltip: string |
|
|
455
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
432
456
|
style?: CSSProperties | undefined;
|
|
433
457
|
class?: any;
|
|
434
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
458
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
435
459
|
style?: CSSProperties | undefined;
|
|
436
460
|
class?: any;
|
|
437
461
|
} & RecordType>>;
|
|
@@ -453,7 +477,7 @@ export declare const PlusDisplayItem: {
|
|
|
453
477
|
};
|
|
454
478
|
rows: number;
|
|
455
479
|
autocomplete: string;
|
|
456
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
480
|
+
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";
|
|
457
481
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
458
482
|
step: string | number;
|
|
459
483
|
format: string | ProgressFn | undefined;
|
|
@@ -480,6 +504,12 @@ export declare const PlusDisplayItem: {
|
|
|
480
504
|
label?: string | undefined;
|
|
481
505
|
value?: string | undefined;
|
|
482
506
|
} | undefined;
|
|
507
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
508
|
+
store?: any;
|
|
509
|
+
method?: string | undefined;
|
|
510
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
511
|
+
dictCode?: string | undefined;
|
|
512
|
+
} | undefined;
|
|
483
513
|
readonly clearable: boolean;
|
|
484
514
|
readonly index: number;
|
|
485
515
|
} & {
|
|
@@ -492,12 +522,12 @@ export declare const PlusDisplayItem: {
|
|
|
492
522
|
fieldInstance?: any;
|
|
493
523
|
valueIsReady?: Ref<boolean> | undefined;
|
|
494
524
|
prop: string;
|
|
495
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
525
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
496
526
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
497
|
-
tooltip: string |
|
|
527
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
498
528
|
style?: CSSProperties | undefined;
|
|
499
529
|
class?: any;
|
|
500
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
530
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
501
531
|
style?: CSSProperties | undefined;
|
|
502
532
|
class?: any;
|
|
503
533
|
} & RecordType>>;
|
|
@@ -517,6 +547,12 @@ export declare const PlusDisplayItem: {
|
|
|
517
547
|
label?: string | undefined;
|
|
518
548
|
value?: string | undefined;
|
|
519
549
|
} | undefined;
|
|
550
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
551
|
+
store?: any;
|
|
552
|
+
method?: string | undefined;
|
|
553
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
554
|
+
dictCode?: string | undefined;
|
|
555
|
+
} | undefined;
|
|
520
556
|
clearable: boolean;
|
|
521
557
|
index: number;
|
|
522
558
|
}) => any>> & Partial<Record<string, (_: {
|