yc-pro-components 0.0.59 → 0.0.60
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +10 -10
- package/es/components/dialog-form/index.d.ts +7 -7
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- 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 +32 -32
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +14 -14
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +38 -38
- 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 +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +112 -112
- package/es/components/page/src/index.vue.d.ts +42 -42
- package/es/components/radio/index.d.ts +23 -23
- package/es/components/radio/src/index.vue.d.ts +23 -23
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +49 -49
- package/es/components/search/src/index.vue.d.ts +21 -21
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- 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/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +6 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +77 -77
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +6 -1
- package/es/components/yc-plus-page/src/use-header-filter.mjs +15 -0
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +102 -102
- package/es/index.css +11 -11
- package/index.css +12 -12
- package/index.js +30 -4
- package/index.min.css +2 -2
- package/index.min.js +10 -10
- package/index.min.mjs +11 -11
- package/index.mjs +30 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +10 -10
- package/lib/components/dialog-form/index.d.ts +7 -7
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- 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 +32 -32
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +14 -14
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +38 -38
- 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 +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +112 -112
- package/lib/components/page/src/index.vue.d.ts +42 -42
- package/lib/components/radio/index.d.ts +23 -23
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +49 -49
- package/lib/components/search/src/index.vue.d.ts +21 -21
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- 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/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +6 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +77 -77
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +6 -1
- package/lib/components/yc-plus-page/src/use-header-filter.js +15 -0
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +102 -102
- package/lib/index.css +12 -12
- 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
|
@@ -1198,12 +1198,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1198
1198
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1199
1199
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1200
1200
|
readonly label: string | ComputedRef<string>;
|
|
1201
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1201
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1202
1202
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1203
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1203
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1204
1204
|
style?: CSSProperties | undefined;
|
|
1205
1205
|
class?: any;
|
|
1206
|
-
} & RecordType> | ComputedRef<
|
|
1206
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1207
1207
|
style?: CSSProperties | undefined;
|
|
1208
1208
|
class?: any;
|
|
1209
1209
|
} & RecordType>>;
|
|
@@ -1225,7 +1225,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1225
1225
|
};
|
|
1226
1226
|
rows: number;
|
|
1227
1227
|
autocomplete: string;
|
|
1228
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
1228
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1229
1229
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1230
1230
|
step: string | number;
|
|
1231
1231
|
format: string | ProgressFn | undefined;
|
|
@@ -1270,12 +1270,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1270
1270
|
fieldInstance?: any;
|
|
1271
1271
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1272
1272
|
prop: string;
|
|
1273
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1273
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1274
1274
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1275
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1275
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1276
1276
|
style?: CSSProperties | undefined;
|
|
1277
1277
|
class?: any;
|
|
1278
|
-
} & RecordType> | ComputedRef<
|
|
1278
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1279
1279
|
style?: CSSProperties | undefined;
|
|
1280
1280
|
class?: any;
|
|
1281
1281
|
} & RecordType>>;
|
|
@@ -1306,12 +1306,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1306
1306
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1307
1307
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1308
1308
|
readonly label: string | ComputedRef<string>;
|
|
1309
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1309
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1310
1310
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1311
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1311
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1312
1312
|
style?: CSSProperties | undefined;
|
|
1313
1313
|
class?: any;
|
|
1314
|
-
} & RecordType> | ComputedRef<
|
|
1314
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1315
1315
|
style?: CSSProperties | undefined;
|
|
1316
1316
|
class?: any;
|
|
1317
1317
|
} & RecordType>>;
|
|
@@ -1333,7 +1333,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1333
1333
|
};
|
|
1334
1334
|
rows: number;
|
|
1335
1335
|
autocomplete: string;
|
|
1336
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
1336
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1337
1337
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1338
1338
|
step: string | number;
|
|
1339
1339
|
format: string | ProgressFn | undefined;
|
|
@@ -1378,12 +1378,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1378
1378
|
fieldInstance?: any;
|
|
1379
1379
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1380
1380
|
prop: string;
|
|
1381
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1381
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1382
1382
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1383
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1383
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1384
1384
|
style?: CSSProperties | undefined;
|
|
1385
1385
|
class?: any;
|
|
1386
|
-
} & RecordType> | ComputedRef<
|
|
1386
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1387
1387
|
style?: CSSProperties | undefined;
|
|
1388
1388
|
class?: any;
|
|
1389
1389
|
} & RecordType>>;
|
|
@@ -2110,12 +2110,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2110
2110
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2111
2111
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2112
2112
|
readonly label: string | ComputedRef<string>;
|
|
2113
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2113
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2114
2114
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2115
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2115
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2116
2116
|
style?: CSSProperties | undefined;
|
|
2117
2117
|
class?: any;
|
|
2118
|
-
} & RecordType> | ComputedRef<
|
|
2118
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2119
2119
|
style?: CSSProperties | undefined;
|
|
2120
2120
|
class?: any;
|
|
2121
2121
|
} & RecordType>>;
|
|
@@ -2137,7 +2137,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2137
2137
|
};
|
|
2138
2138
|
rows: number;
|
|
2139
2139
|
autocomplete: string;
|
|
2140
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
2140
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2141
2141
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2142
2142
|
step: string | number;
|
|
2143
2143
|
format: string | ProgressFn | undefined;
|
|
@@ -2182,12 +2182,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2182
2182
|
fieldInstance?: any;
|
|
2183
2183
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2184
2184
|
prop: string;
|
|
2185
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2185
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2186
2186
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2187
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2187
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2188
2188
|
style?: CSSProperties | undefined;
|
|
2189
2189
|
class?: any;
|
|
2190
|
-
} & RecordType> | ComputedRef<
|
|
2190
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2191
2191
|
style?: CSSProperties | undefined;
|
|
2192
2192
|
class?: any;
|
|
2193
2193
|
} & RecordType>>;
|
|
@@ -2218,12 +2218,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2218
2218
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2219
2219
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2220
2220
|
readonly label: string | ComputedRef<string>;
|
|
2221
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2221
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2222
2222
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2223
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2223
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2224
2224
|
style?: CSSProperties | undefined;
|
|
2225
2225
|
class?: any;
|
|
2226
|
-
} & RecordType> | ComputedRef<
|
|
2226
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2227
2227
|
style?: CSSProperties | undefined;
|
|
2228
2228
|
class?: any;
|
|
2229
2229
|
} & RecordType>>;
|
|
@@ -2245,7 +2245,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2245
2245
|
};
|
|
2246
2246
|
rows: number;
|
|
2247
2247
|
autocomplete: string;
|
|
2248
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
2248
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2249
2249
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2250
2250
|
step: string | number;
|
|
2251
2251
|
format: string | ProgressFn | undefined;
|
|
@@ -2290,12 +2290,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2290
2290
|
fieldInstance?: any;
|
|
2291
2291
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2292
2292
|
prop: string;
|
|
2293
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2293
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2294
2294
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2295
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2295
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2296
2296
|
style?: CSSProperties | undefined;
|
|
2297
2297
|
class?: any;
|
|
2298
|
-
} & RecordType> | ComputedRef<
|
|
2298
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2299
2299
|
style?: CSSProperties | undefined;
|
|
2300
2300
|
class?: any;
|
|
2301
2301
|
} & RecordType>>;
|
|
@@ -2344,12 +2344,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2344
2344
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2345
2345
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2346
2346
|
readonly label: string | ComputedRef<string>;
|
|
2347
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2347
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2348
2348
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2349
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2349
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2350
2350
|
style?: CSSProperties | undefined;
|
|
2351
2351
|
class?: any;
|
|
2352
|
-
} & RecordType> | ComputedRef<
|
|
2352
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2353
2353
|
style?: CSSProperties | undefined;
|
|
2354
2354
|
class?: any;
|
|
2355
2355
|
} & RecordType>>;
|
|
@@ -2371,7 +2371,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2371
2371
|
};
|
|
2372
2372
|
rows: number;
|
|
2373
2373
|
autocomplete: string;
|
|
2374
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
2374
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2375
2375
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2376
2376
|
step: string | number;
|
|
2377
2377
|
format: string | ProgressFn | undefined;
|
|
@@ -2416,12 +2416,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2416
2416
|
fieldInstance?: any;
|
|
2417
2417
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2418
2418
|
prop: string;
|
|
2419
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2419
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2420
2420
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2421
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2421
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2422
2422
|
style?: CSSProperties | undefined;
|
|
2423
2423
|
class?: any;
|
|
2424
|
-
} & RecordType> | ComputedRef<
|
|
2424
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2425
2425
|
style?: CSSProperties | undefined;
|
|
2426
2426
|
class?: any;
|
|
2427
2427
|
} & RecordType>>;
|
|
@@ -4669,12 +4669,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4669
4669
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4670
4670
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4671
4671
|
readonly label: string | ComputedRef<string>;
|
|
4672
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4672
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4673
4673
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4674
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4674
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4675
4675
|
style?: CSSProperties | undefined;
|
|
4676
4676
|
class?: any;
|
|
4677
|
-
} & RecordType> | ComputedRef<
|
|
4677
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4678
4678
|
style?: CSSProperties | undefined;
|
|
4679
4679
|
class?: any;
|
|
4680
4680
|
} & RecordType>>;
|
|
@@ -4696,7 +4696,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4696
4696
|
};
|
|
4697
4697
|
rows: number;
|
|
4698
4698
|
autocomplete: string;
|
|
4699
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
4699
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4700
4700
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4701
4701
|
step: string | number;
|
|
4702
4702
|
format: string | ProgressFn | undefined;
|
|
@@ -4741,12 +4741,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4741
4741
|
fieldInstance?: any;
|
|
4742
4742
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4743
4743
|
prop: string;
|
|
4744
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4744
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4745
4745
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4746
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4746
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4747
4747
|
style?: CSSProperties | undefined;
|
|
4748
4748
|
class?: any;
|
|
4749
|
-
} & RecordType> | ComputedRef<
|
|
4749
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4750
4750
|
style?: CSSProperties | undefined;
|
|
4751
4751
|
class?: any;
|
|
4752
4752
|
} & RecordType>>;
|
|
@@ -4777,12 +4777,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4777
4777
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4778
4778
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4779
4779
|
readonly label: string | ComputedRef<string>;
|
|
4780
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4780
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4781
4781
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4782
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4782
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4783
4783
|
style?: CSSProperties | undefined;
|
|
4784
4784
|
class?: any;
|
|
4785
|
-
} & RecordType> | ComputedRef<
|
|
4785
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4786
4786
|
style?: CSSProperties | undefined;
|
|
4787
4787
|
class?: any;
|
|
4788
4788
|
} & RecordType>>;
|
|
@@ -4804,7 +4804,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4804
4804
|
};
|
|
4805
4805
|
rows: number;
|
|
4806
4806
|
autocomplete: string;
|
|
4807
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
4807
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4808
4808
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4809
4809
|
step: string | number;
|
|
4810
4810
|
format: string | ProgressFn | undefined;
|
|
@@ -4849,12 +4849,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4849
4849
|
fieldInstance?: any;
|
|
4850
4850
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4851
4851
|
prop: string;
|
|
4852
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4852
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4853
4853
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4854
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4854
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4855
4855
|
style?: CSSProperties | undefined;
|
|
4856
4856
|
class?: any;
|
|
4857
|
-
} & RecordType> | ComputedRef<
|
|
4857
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4858
4858
|
style?: CSSProperties | undefined;
|
|
4859
4859
|
class?: any;
|
|
4860
4860
|
} & RecordType>>;
|
|
@@ -5581,12 +5581,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5581
5581
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5582
5582
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5583
5583
|
readonly label: string | ComputedRef<string>;
|
|
5584
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5584
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5585
5585
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5586
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5586
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5587
5587
|
style?: CSSProperties | undefined;
|
|
5588
5588
|
class?: any;
|
|
5589
|
-
} & RecordType> | ComputedRef<
|
|
5589
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5590
5590
|
style?: CSSProperties | undefined;
|
|
5591
5591
|
class?: any;
|
|
5592
5592
|
} & RecordType>>;
|
|
@@ -5608,7 +5608,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5608
5608
|
};
|
|
5609
5609
|
rows: number;
|
|
5610
5610
|
autocomplete: string;
|
|
5611
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
5611
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5612
5612
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5613
5613
|
step: string | number;
|
|
5614
5614
|
format: string | ProgressFn | undefined;
|
|
@@ -5653,12 +5653,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5653
5653
|
fieldInstance?: any;
|
|
5654
5654
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5655
5655
|
prop: string;
|
|
5656
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5656
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5657
5657
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5658
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5658
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5659
5659
|
style?: CSSProperties | undefined;
|
|
5660
5660
|
class?: any;
|
|
5661
|
-
} & RecordType> | ComputedRef<
|
|
5661
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5662
5662
|
style?: CSSProperties | undefined;
|
|
5663
5663
|
class?: any;
|
|
5664
5664
|
} & RecordType>>;
|
|
@@ -5689,12 +5689,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5689
5689
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5690
5690
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5691
5691
|
readonly label: string | ComputedRef<string>;
|
|
5692
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5692
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5693
5693
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5694
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5694
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5695
5695
|
style?: CSSProperties | undefined;
|
|
5696
5696
|
class?: any;
|
|
5697
|
-
} & RecordType> | ComputedRef<
|
|
5697
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5698
5698
|
style?: CSSProperties | undefined;
|
|
5699
5699
|
class?: any;
|
|
5700
5700
|
} & RecordType>>;
|
|
@@ -5716,7 +5716,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5716
5716
|
};
|
|
5717
5717
|
rows: number;
|
|
5718
5718
|
autocomplete: string;
|
|
5719
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
5719
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5720
5720
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5721
5721
|
step: string | number;
|
|
5722
5722
|
format: string | ProgressFn | undefined;
|
|
@@ -5761,12 +5761,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5761
5761
|
fieldInstance?: any;
|
|
5762
5762
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5763
5763
|
prop: string;
|
|
5764
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5764
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5765
5765
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5766
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5766
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5767
5767
|
style?: CSSProperties | undefined;
|
|
5768
5768
|
class?: any;
|
|
5769
|
-
} & RecordType> | ComputedRef<
|
|
5769
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5770
5770
|
style?: CSSProperties | undefined;
|
|
5771
5771
|
class?: any;
|
|
5772
5772
|
} & RecordType>>;
|
|
@@ -5815,12 +5815,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5815
5815
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5816
5816
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5817
5817
|
readonly label: string | ComputedRef<string>;
|
|
5818
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5818
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5819
5819
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5820
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5820
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5821
5821
|
style?: CSSProperties | undefined;
|
|
5822
5822
|
class?: any;
|
|
5823
|
-
} & RecordType> | ComputedRef<
|
|
5823
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5824
5824
|
style?: CSSProperties | undefined;
|
|
5825
5825
|
class?: any;
|
|
5826
5826
|
} & RecordType>>;
|
|
@@ -5842,7 +5842,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5842
5842
|
};
|
|
5843
5843
|
rows: number;
|
|
5844
5844
|
autocomplete: string;
|
|
5845
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
5845
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5846
5846
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5847
5847
|
step: string | number;
|
|
5848
5848
|
format: string | ProgressFn | undefined;
|
|
@@ -5887,12 +5887,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5887
5887
|
fieldInstance?: any;
|
|
5888
5888
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5889
5889
|
prop: string;
|
|
5890
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5890
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5891
5891
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5892
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5892
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5893
5893
|
style?: CSSProperties | undefined;
|
|
5894
5894
|
class?: any;
|
|
5895
|
-
} & RecordType> | ComputedRef<
|
|
5895
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5896
5896
|
style?: CSSProperties | undefined;
|
|
5897
5897
|
class?: any;
|
|
5898
5898
|
} & RecordType>>;
|
|
@@ -7169,12 +7169,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7169
7169
|
$slots: Partial<Record<never, (_: {
|
|
7170
7170
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7171
7171
|
readonly label: string | ComputedRef<string>;
|
|
7172
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7172
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7173
7173
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7174
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7174
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7175
7175
|
style?: CSSProperties | undefined;
|
|
7176
7176
|
class?: any;
|
|
7177
|
-
} & RecordType> | ComputedRef<
|
|
7177
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7178
7178
|
style?: CSSProperties | undefined;
|
|
7179
7179
|
class?: any;
|
|
7180
7180
|
} & RecordType>>;
|
|
@@ -7196,7 +7196,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7196
7196
|
};
|
|
7197
7197
|
rows: number;
|
|
7198
7198
|
autocomplete: string;
|
|
7199
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
7199
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
7200
7200
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
7201
7201
|
step: string | number;
|
|
7202
7202
|
format: string | ProgressFn | undefined;
|
|
@@ -7241,12 +7241,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7241
7241
|
fieldInstance?: any;
|
|
7242
7242
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7243
7243
|
prop: string;
|
|
7244
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7244
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7245
7245
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7246
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7246
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7247
7247
|
style?: CSSProperties | undefined;
|
|
7248
7248
|
class?: any;
|
|
7249
|
-
} & RecordType> | ComputedRef<
|
|
7249
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7250
7250
|
style?: CSSProperties | undefined;
|
|
7251
7251
|
class?: any;
|
|
7252
7252
|
} & RecordType>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sfc_main from './index.vue2.mjs';
|
|
2
2
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
3
|
|
|
4
|
-
var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53b16de1"], ["__file", "index.vue"]]);
|
|
5
5
|
|
|
6
6
|
export { YcPlusPageComponent as default };
|
|
@@ -96,7 +96,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
const handleFilterConfirm = (payload) => {
|
|
97
97
|
var _a;
|
|
98
98
|
const field = String(((_a = payload.column) == null ? void 0 : _a.prop) || "");
|
|
99
|
-
|
|
99
|
+
const isEmpty = payload.value == null || String(payload.value).trim() === "";
|
|
100
|
+
if (isEmpty) {
|
|
101
|
+
removeHeaderFilter(field);
|
|
102
|
+
} else {
|
|
103
|
+
upsertHeaderFilter(field, payload.op, payload.value);
|
|
104
|
+
}
|
|
100
105
|
refreshList();
|
|
101
106
|
emit("header-filter-confirm", payload);
|
|
102
107
|
};
|
|
@@ -132,15 +132,30 @@ function useHeaderFilter(options = {}) {
|
|
|
132
132
|
};
|
|
133
133
|
const getMergedQuery = (baseQuery) => {
|
|
134
134
|
const normalizeFilters = (filters) => {
|
|
135
|
+
const noValueOps = /* @__PURE__ */ new Set([
|
|
136
|
+
"empty",
|
|
137
|
+
"not_empty",
|
|
138
|
+
"is null",
|
|
139
|
+
"is not null",
|
|
140
|
+
"is true",
|
|
141
|
+
"is false"
|
|
142
|
+
]);
|
|
135
143
|
return filters.map((f) => {
|
|
136
144
|
if (f.op === "in" && typeof f.value === "string" && f.value) {
|
|
137
145
|
const arr = f.value.split(",").filter(Boolean).map((s) => {
|
|
138
146
|
const n = Number(s);
|
|
139
147
|
return Number.isNaN(n) ? s : n;
|
|
140
148
|
});
|
|
149
|
+
if (arr.length === 0) return null;
|
|
141
150
|
return { ...f, value: arr };
|
|
142
151
|
}
|
|
143
152
|
return f;
|
|
153
|
+
}).filter((f) => {
|
|
154
|
+
if (f === null) return false;
|
|
155
|
+
if (noValueOps.has(f.op)) return true;
|
|
156
|
+
if (f.value == null || String(f.value).trim() === "") return false;
|
|
157
|
+
if (Array.isArray(f.value) && f.value.length === 0) return false;
|
|
158
|
+
return true;
|
|
144
159
|
});
|
|
145
160
|
};
|
|
146
161
|
let mergedFilters = baseQuery.filters;
|
|
@@ -47,11 +47,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
47
47
|
onChange?: ((value: SelectValueType) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
disabled: boolean;
|
|
51
50
|
filterable: boolean;
|
|
51
|
+
disabled: boolean;
|
|
52
52
|
options: SelectOption[];
|
|
53
53
|
pageSize: number;
|
|
54
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
54
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
55
55
|
multiple: boolean;
|
|
56
56
|
clearable: boolean;
|
|
57
57
|
placeholder: string;
|
|
@@ -28,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
onCancel?: (() => any) | undefined;
|
|
29
29
|
onConfirm?: (() => any) | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
content: string;
|
|
32
31
|
title: string;
|
|
33
32
|
width: string | number;
|
|
33
|
+
content: string;
|
|
34
34
|
visible: boolean;
|
|
35
35
|
status: StatusType;
|
|
36
36
|
cancelText: string;
|
|
@@ -18,9 +18,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
18
18
|
}>>>, {
|
|
19
19
|
size: string | number;
|
|
20
20
|
color: string;
|
|
21
|
-
opacity: number;
|
|
22
21
|
preserveColor: boolean;
|
|
23
22
|
grayscale: boolean;
|
|
23
|
+
opacity: number;
|
|
24
24
|
customFilter: string;
|
|
25
25
|
}, {}>;
|
|
26
26
|
export default _default;
|