yc-pro-components 0.0.68 → 0.0.69
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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- 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 +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- 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/src/table-column.vue.d.ts +37 -37
- 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 +235 -235
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
- package/es/components/yc-plus-page/src/type.d.ts +4 -0
- 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/defaults.mjs +2 -9
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +13 -13
- package/es/index.mjs +1 -1
- package/index.css +6 -6
- package/index.js +17 -12
- package/index.min.css +1 -1
- package/index.min.js +10 -10
- package/index.min.mjs +11 -11
- package/index.mjs +10 -8
- 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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- 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 +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- 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/src/table-column.vue.d.ts +37 -37
- 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 +235 -235
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
- package/lib/components/yc-plus-page/src/type.d.ts +4 -0
- 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/defaults.js +2 -9
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +11 -11
- package/lib/index.js +7 -2
- 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/es/directives/dist/fn-perm.mjs +0 -12
- package/lib/directives/dist/fn-perm.js +0 -14
|
@@ -218,7 +218,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
218
218
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
219
219
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
220
220
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
221
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
221
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
222
222
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
223
223
|
readonly startPlaceholder: StringConstructor;
|
|
224
224
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -419,7 +419,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
419
419
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
420
420
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
421
421
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
422
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
422
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
423
423
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
424
424
|
readonly startPlaceholder: StringConstructor;
|
|
425
425
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -443,7 +443,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
443
443
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
444
444
|
readonly type: EpPropMergeType<(new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
445
445
|
readonly placeholder: string;
|
|
446
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] |
|
|
446
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
447
447
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
448
448
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
449
449
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -652,7 +652,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
652
652
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
653
653
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
654
654
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
655
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
655
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
656
656
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
657
657
|
readonly startPlaceholder: StringConstructor;
|
|
658
658
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -676,7 +676,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
676
676
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
677
677
|
readonly type: EpPropMergeType<(new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
678
678
|
readonly placeholder: string;
|
|
679
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] |
|
|
679
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
680
680
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
681
681
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
682
682
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -879,7 +879,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
879
879
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
880
880
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
881
881
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
882
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
882
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
883
883
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
884
884
|
readonly startPlaceholder: StringConstructor;
|
|
885
885
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -1080,7 +1080,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1080
1080
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1081
1081
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1082
1082
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
1083
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
1083
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
1084
1084
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
1085
1085
|
readonly startPlaceholder: StringConstructor;
|
|
1086
1086
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -1104,7 +1104,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1104
1104
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
1105
1105
|
readonly type: EpPropMergeType<(new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
1106
1106
|
readonly placeholder: string;
|
|
1107
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] |
|
|
1107
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
1108
1108
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
1109
1109
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
1110
1110
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -1313,7 +1313,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1313
1313
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1314
1314
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1315
1315
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial< Options>) | (() => Partial< Options>) | ((new (...args: any[]) => Partial< Options>) | (() => Partial< Options>))[], unknown, unknown, () => {}, boolean>;
|
|
1316
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
1316
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
1317
1317
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
1318
1318
|
readonly startPlaceholder: StringConstructor;
|
|
1319
1319
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -1337,7 +1337,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1337
1337
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
1338
1338
|
readonly type: EpPropMergeType<(new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType) | ((new (...args: any[]) => "datetimerange" | "daterange" | "monthrange" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange") | (() => DatePickerType))[], unknown, unknown>;
|
|
1339
1339
|
readonly placeholder: string;
|
|
1340
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] |
|
|
1340
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null))[], unknown, unknown>;
|
|
1341
1341
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
|
1342
1342
|
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
1343
1343
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -1373,13 +1373,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1373
1373
|
startDisabledDate: (startTime: any, endValue: any) => boolean;
|
|
1374
1374
|
endDisabledDate: (endTime: any, startValue: any) => boolean;
|
|
1375
1375
|
}>>> & {
|
|
1376
|
-
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1377
1376
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1378
1377
|
onChange?: ((value: string[]) => any) | undefined;
|
|
1378
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1379
1379
|
}, {
|
|
1380
1380
|
type: "date" | "year" | "month" | "dates" | "week" | "datetime";
|
|
1381
|
-
modelValue: string[];
|
|
1382
1381
|
disabled: boolean;
|
|
1382
|
+
modelValue: string[];
|
|
1383
1383
|
valueFormat: string;
|
|
1384
1384
|
rangeSeparator: string;
|
|
1385
1385
|
startProps: Partial<DatePickerProps>;
|
|
@@ -5,10 +5,6 @@ export type PlusDialogInstance = InstanceType<typeof Dialog>;
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export declare const PlusDialog: {
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: PropType<boolean>;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
8
|
title: {
|
|
13
9
|
type: PropType<string>;
|
|
14
10
|
default: string;
|
|
@@ -21,12 +17,16 @@ export declare const PlusDialog: {
|
|
|
21
17
|
type: PropType<string>;
|
|
22
18
|
default: string;
|
|
23
19
|
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
24
|
hasFooter: {
|
|
25
25
|
type: PropType<boolean>;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
footerAlign: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"right" | "left" | "center">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
confirmLoading: {
|
|
@@ -53,10 +53,6 @@ export declare const PlusDialog: {
|
|
|
53
53
|
cancel: () => void;
|
|
54
54
|
confirm: () => void;
|
|
55
55
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
56
|
-
modelValue: {
|
|
57
|
-
type: PropType<boolean>;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
56
|
title: {
|
|
61
57
|
type: PropType<string>;
|
|
62
58
|
default: string;
|
|
@@ -69,12 +65,16 @@ export declare const PlusDialog: {
|
|
|
69
65
|
type: PropType<string>;
|
|
70
66
|
default: string;
|
|
71
67
|
};
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
72
|
hasFooter: {
|
|
73
73
|
type: PropType<boolean>;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
76
|
footerAlign: {
|
|
77
|
-
type: PropType<"
|
|
77
|
+
type: PropType<"right" | "left" | "center">;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
80
|
confirmLoading: {
|
|
@@ -97,12 +97,12 @@ export declare const PlusDialog: {
|
|
|
97
97
|
onCancel?: (() => any) | undefined;
|
|
98
98
|
onConfirm?: (() => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
modelValue: boolean;
|
|
101
100
|
title: string;
|
|
102
101
|
width: string | number;
|
|
103
102
|
top: string;
|
|
103
|
+
modelValue: boolean;
|
|
104
104
|
hasFooter: boolean;
|
|
105
|
-
footerAlign: "
|
|
105
|
+
footerAlign: "right" | "left" | "center";
|
|
106
106
|
confirmLoading: boolean;
|
|
107
107
|
cancelText: string;
|
|
108
108
|
confirmText: string;
|
|
@@ -114,10 +114,6 @@ export declare const PlusDialog: {
|
|
|
114
114
|
M: {};
|
|
115
115
|
Defaults: {};
|
|
116
116
|
}, Readonly< ExtractPropTypes<{
|
|
117
|
-
modelValue: {
|
|
118
|
-
type: PropType<boolean>;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
117
|
title: {
|
|
122
118
|
type: PropType<string>;
|
|
123
119
|
default: string;
|
|
@@ -130,12 +126,16 @@ export declare const PlusDialog: {
|
|
|
130
126
|
type: PropType<string>;
|
|
131
127
|
default: string;
|
|
132
128
|
};
|
|
129
|
+
modelValue: {
|
|
130
|
+
type: PropType<boolean>;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
133
|
hasFooter: {
|
|
134
134
|
type: PropType<boolean>;
|
|
135
135
|
default: boolean;
|
|
136
136
|
};
|
|
137
137
|
footerAlign: {
|
|
138
|
-
type: PropType<"
|
|
138
|
+
type: PropType<"right" | "left" | "center">;
|
|
139
139
|
default: string;
|
|
140
140
|
};
|
|
141
141
|
confirmLoading: {
|
|
@@ -158,12 +158,12 @@ export declare const PlusDialog: {
|
|
|
158
158
|
onCancel?: (() => any) | undefined;
|
|
159
159
|
onConfirm?: (() => any) | undefined;
|
|
160
160
|
}, {}, {}, {}, {}, {
|
|
161
|
-
modelValue: boolean;
|
|
162
161
|
title: string;
|
|
163
162
|
width: string | number;
|
|
164
163
|
top: string;
|
|
164
|
+
modelValue: boolean;
|
|
165
165
|
hasFooter: boolean;
|
|
166
|
-
footerAlign: "
|
|
166
|
+
footerAlign: "right" | "left" | "center";
|
|
167
167
|
confirmLoading: boolean;
|
|
168
168
|
cancelText: string;
|
|
169
169
|
confirmText: string;
|
|
@@ -172,10 +172,6 @@ export declare const PlusDialog: {
|
|
|
172
172
|
__isTeleport?: undefined;
|
|
173
173
|
__isSuspense?: undefined;
|
|
174
174
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
175
|
-
modelValue: {
|
|
176
|
-
type: PropType<boolean>;
|
|
177
|
-
default: boolean;
|
|
178
|
-
};
|
|
179
175
|
title: {
|
|
180
176
|
type: PropType<string>;
|
|
181
177
|
default: string;
|
|
@@ -188,12 +184,16 @@ export declare const PlusDialog: {
|
|
|
188
184
|
type: PropType<string>;
|
|
189
185
|
default: string;
|
|
190
186
|
};
|
|
187
|
+
modelValue: {
|
|
188
|
+
type: PropType<boolean>;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
191
|
hasFooter: {
|
|
192
192
|
type: PropType<boolean>;
|
|
193
193
|
default: boolean;
|
|
194
194
|
};
|
|
195
195
|
footerAlign: {
|
|
196
|
-
type: PropType<"
|
|
196
|
+
type: PropType<"right" | "left" | "center">;
|
|
197
197
|
default: string;
|
|
198
198
|
};
|
|
199
199
|
confirmLoading: {
|
|
@@ -220,12 +220,12 @@ export declare const PlusDialog: {
|
|
|
220
220
|
cancel: () => void;
|
|
221
221
|
confirm: () => void;
|
|
222
222
|
}, string, {
|
|
223
|
-
modelValue: boolean;
|
|
224
223
|
title: string;
|
|
225
224
|
width: string | number;
|
|
226
225
|
top: string;
|
|
226
|
+
modelValue: boolean;
|
|
227
227
|
hasFooter: boolean;
|
|
228
|
-
footerAlign: "
|
|
228
|
+
footerAlign: "right" | "left" | "center";
|
|
229
229
|
confirmLoading: boolean;
|
|
230
230
|
cancelText: string;
|
|
231
231
|
confirmText: string;
|
|
@@ -30,12 +30,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
onCancel?: (() => any) | undefined;
|
|
31
31
|
onConfirm?: (() => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
modelValue: boolean;
|
|
34
33
|
title: string;
|
|
35
34
|
width: string | number;
|
|
36
35
|
top: string;
|
|
36
|
+
modelValue: boolean;
|
|
37
37
|
hasFooter: boolean;
|
|
38
|
-
footerAlign: "
|
|
38
|
+
footerAlign: "right" | "left" | "center";
|
|
39
39
|
confirmLoading: boolean;
|
|
40
40
|
cancelText: string;
|
|
41
41
|
confirmText: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
|
-
import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
5
4
|
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } 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;
|
|
@@ -51,10 +51,6 @@ export declare const PlusDialogForm: {
|
|
|
51
51
|
close: () => void;
|
|
52
52
|
confirmError: (errors: unknown) => void;
|
|
53
53
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
54
|
-
modelValue: {
|
|
55
|
-
type: PropType<FieldValues>;
|
|
56
|
-
default: () => {};
|
|
57
|
-
};
|
|
58
54
|
dialog: {
|
|
59
55
|
type: PropType<PlusDialogProps>;
|
|
60
56
|
default: () => {};
|
|
@@ -67,23 +63,27 @@ export declare const PlusDialogForm: {
|
|
|
67
63
|
type: PropType<boolean>;
|
|
68
64
|
default: boolean;
|
|
69
65
|
};
|
|
66
|
+
modelValue: {
|
|
67
|
+
type: PropType<FieldValues>;
|
|
68
|
+
default: () => {};
|
|
69
|
+
};
|
|
70
70
|
hasErrorTip: {
|
|
71
71
|
type: PropType<boolean>;
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
}>> & {
|
|
75
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
76
75
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
77
76
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
77
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
78
78
|
onClose?: (() => any) | undefined;
|
|
79
79
|
onCancel?: (() => any) | undefined;
|
|
80
80
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
81
81
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
modelValue: FieldValues;
|
|
84
83
|
dialog: PlusDialogProps;
|
|
85
84
|
form: PlusFormProps;
|
|
86
85
|
visible: boolean;
|
|
86
|
+
modelValue: FieldValues;
|
|
87
87
|
hasErrorTip: boolean;
|
|
88
88
|
}, true, {}, {}, {
|
|
89
89
|
P: {};
|
|
@@ -93,10 +93,6 @@ export declare const PlusDialogForm: {
|
|
|
93
93
|
M: {};
|
|
94
94
|
Defaults: {};
|
|
95
95
|
}, Readonly< ExtractPropTypes<{
|
|
96
|
-
modelValue: {
|
|
97
|
-
type: PropType<FieldValues>;
|
|
98
|
-
default: () => {};
|
|
99
|
-
};
|
|
100
96
|
dialog: {
|
|
101
97
|
type: PropType<PlusDialogProps>;
|
|
102
98
|
default: () => {};
|
|
@@ -109,14 +105,18 @@ export declare const PlusDialogForm: {
|
|
|
109
105
|
type: PropType<boolean>;
|
|
110
106
|
default: boolean;
|
|
111
107
|
};
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: PropType<FieldValues>;
|
|
110
|
+
default: () => {};
|
|
111
|
+
};
|
|
112
112
|
hasErrorTip: {
|
|
113
113
|
type: PropType<boolean>;
|
|
114
114
|
default: boolean;
|
|
115
115
|
};
|
|
116
116
|
}>> & {
|
|
117
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
118
117
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
119
118
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
119
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
120
|
onClose?: (() => any) | undefined;
|
|
121
121
|
onCancel?: (() => any) | undefined;
|
|
122
122
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -126,20 +126,16 @@ export declare const PlusDialogForm: {
|
|
|
126
126
|
handleCancel: () => void;
|
|
127
127
|
formInstance: ComputedRef<FormInstance>;
|
|
128
128
|
}, {}, {}, {}, {
|
|
129
|
-
modelValue: FieldValues;
|
|
130
129
|
dialog: PlusDialogProps;
|
|
131
130
|
form: PlusFormProps;
|
|
132
131
|
visible: boolean;
|
|
132
|
+
modelValue: FieldValues;
|
|
133
133
|
hasErrorTip: boolean;
|
|
134
134
|
}>;
|
|
135
135
|
__isFragment?: undefined;
|
|
136
136
|
__isTeleport?: undefined;
|
|
137
137
|
__isSuspense?: undefined;
|
|
138
138
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
139
|
-
modelValue: {
|
|
140
|
-
type: PropType<FieldValues>;
|
|
141
|
-
default: () => {};
|
|
142
|
-
};
|
|
143
139
|
dialog: {
|
|
144
140
|
type: PropType<PlusDialogProps>;
|
|
145
141
|
default: () => {};
|
|
@@ -152,14 +148,18 @@ export declare const PlusDialogForm: {
|
|
|
152
148
|
type: PropType<boolean>;
|
|
153
149
|
default: boolean;
|
|
154
150
|
};
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: PropType<FieldValues>;
|
|
153
|
+
default: () => {};
|
|
154
|
+
};
|
|
155
155
|
hasErrorTip: {
|
|
156
156
|
type: PropType<boolean>;
|
|
157
157
|
default: boolean;
|
|
158
158
|
};
|
|
159
159
|
}>> & {
|
|
160
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
161
160
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
162
161
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
162
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
163
163
|
onClose?: (() => any) | undefined;
|
|
164
164
|
onCancel?: (() => any) | undefined;
|
|
165
165
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -177,21 +177,21 @@ export declare const PlusDialogForm: {
|
|
|
177
177
|
close: () => void;
|
|
178
178
|
confirmError: (errors: unknown) => void;
|
|
179
179
|
}, string, {
|
|
180
|
-
modelValue: FieldValues;
|
|
181
180
|
dialog: PlusDialogProps;
|
|
182
181
|
form: PlusFormProps;
|
|
183
182
|
visible: boolean;
|
|
183
|
+
modelValue: FieldValues;
|
|
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" | "
|
|
187
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
188
188
|
readonly label: string | ComputedRef<string>;
|
|
189
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
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>;
|
|
191
|
-
readonly tooltip: string |
|
|
191
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
192
192
|
style?: CSSProperties | undefined;
|
|
193
193
|
class?: any;
|
|
194
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
194
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
195
195
|
style?: CSSProperties | undefined;
|
|
196
196
|
class?: any;
|
|
197
197
|
} & RecordType>>;
|
|
@@ -258,12 +258,12 @@ export declare const PlusDialogForm: {
|
|
|
258
258
|
fieldInstance?: any;
|
|
259
259
|
valueIsReady?: Ref<boolean> | undefined;
|
|
260
260
|
prop: string;
|
|
261
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
261
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
262
262
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
263
|
-
tooltip: string |
|
|
263
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
264
264
|
style?: CSSProperties | undefined;
|
|
265
265
|
class?: any;
|
|
266
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
266
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
267
267
|
style?: CSSProperties | undefined;
|
|
268
268
|
class?: any;
|
|
269
269
|
} & RecordType>>;
|
|
@@ -48,28 +48,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
dialog: () => {};
|
|
49
49
|
form: () => {};
|
|
50
50
|
}>>> & {
|
|
51
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
52
51
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
53
52
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
53
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
54
54
|
onClose?: (() => any) | undefined;
|
|
55
55
|
onCancel?: (() => any) | undefined;
|
|
56
56
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
57
57
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
modelValue: FieldValues;
|
|
60
59
|
dialog: PlusDialogProps;
|
|
61
60
|
form: PlusFormProps;
|
|
62
61
|
visible: boolean;
|
|
62
|
+
modelValue: FieldValues;
|
|
63
63
|
hasErrorTip: boolean;
|
|
64
64
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
65
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
65
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
66
66
|
readonly label: string | ComputedRef<string>;
|
|
67
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
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>;
|
|
69
|
-
readonly tooltip: string |
|
|
69
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
70
70
|
style?: CSSProperties | undefined;
|
|
71
71
|
class?: any;
|
|
72
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
72
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
73
73
|
style?: CSSProperties | undefined;
|
|
74
74
|
class?: any;
|
|
75
75
|
} & RecordType>>;
|
|
@@ -136,12 +136,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
136
136
|
fieldInstance?: any;
|
|
137
137
|
valueIsReady?: Ref<boolean> | undefined;
|
|
138
138
|
prop: string;
|
|
139
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
139
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
140
140
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
141
|
-
tooltip: string |
|
|
141
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
142
142
|
style?: CSSProperties | undefined;
|
|
143
143
|
class?: any;
|
|
144
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
144
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
145
145
|
style?: CSSProperties | undefined;
|
|
146
146
|
class?: any;
|
|
147
147
|
} & RecordType>>;
|