@hinen/pro-element-plus 1.3.5 → 1.5.0
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/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +2 -2
- package/dist/components/DataSelect/DataSelect.vue.d.ts +6 -6
- package/dist/components/DataTable/DataTable.vue.d.ts +16 -12
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/props.d.ts +5 -3
- package/dist/components/DataTable/props.d.ts.map +1 -1
- package/dist/components/DataTable/types.d.ts +4 -1
- package/dist/components/DataTable/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +5 -5
- package/dist/components/EllipsisText/EllipsisText.vue.d.ts +1 -1
- package/dist/components/FormFields/FormCascadeSelect/FormCascadeSelect.vue.d.ts +8 -8
- package/dist/components/FormFields/FormCascadeSelect/props.d.ts +1 -1
- package/dist/components/FormFields/FormCheckboxGroup/FormCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/FormFields/FormCheckboxGroup/props.d.ts +1 -1
- package/dist/components/FormFields/FormDatePicker/FormDatePicker.vue.d.ts +8 -8
- package/dist/components/FormFields/FormDatePicker/props.d.ts +1 -1
- package/dist/components/FormFields/FormItem/FormItem.vue.d.ts +3 -3
- package/dist/components/FormFields/FormItem/props.d.ts +1 -1
- package/dist/components/FormFields/FormItem/utils.d.ts +1 -1
- package/dist/components/FormFields/FormNumber/FormNumber.vue.d.ts +6 -6
- package/dist/components/FormFields/FormNumber/props.d.ts +1 -1
- package/dist/components/FormFields/FormRadioGroup/FormRadioGroup.vue.d.ts +4 -4
- package/dist/components/FormFields/FormRadioGroup/props.d.ts +1 -1
- package/dist/components/FormFields/FormRate/FormRate.vue.d.ts +5 -5
- package/dist/components/FormFields/FormRate/props.d.ts +1 -1
- package/dist/components/FormFields/FormSelect/FormSelect.vue.d.ts +8 -8
- package/dist/components/FormFields/FormSelect/props.d.ts +1 -1
- package/dist/components/FormFields/FormSwitch/FormSwitch.vue.d.ts +4 -4
- package/dist/components/FormFields/FormSwitch/props.d.ts +1 -1
- package/dist/components/FormFields/FormTagInput/FormTagInput.vue.d.ts +10 -10
- package/dist/components/FormFields/FormTagInput/props.d.ts +1 -1
- package/dist/components/FormFields/FormText/FormText.vue.d.ts +18 -18
- package/dist/components/FormFields/FormText/props.d.ts +1 -1
- package/dist/components/FormFields/FormTimePicker/FormTimePicker.vue.d.ts +8 -8
- package/dist/components/FormFields/FormTimePicker/props.d.ts +1 -1
- package/dist/components/FormFields/FormTreeSelect/FormTreeSelect.vue.d.ts +1 -1
- package/dist/components/FormFields/FormTreeSelect/props.d.ts +1 -1
- package/dist/components/FormFields/utils.d.ts +1 -1
- package/dist/components/Image/Image.vue.d.ts +5 -5
- package/dist/components/Modal/Modal.vue.d.ts +5 -5
- package/dist/components/QueryForm/QueryForm.vue.d.ts +5 -2
- package/dist/components/QueryForm/QueryForm.vue.d.ts.map +1 -1
- package/dist/components/QueryForm/TagContent.vue.d.ts +16 -0
- package/dist/components/QueryForm/TagContent.vue.d.ts.map +1 -0
- package/dist/components/QueryForm/contants.d.ts +2 -0
- package/dist/components/QueryForm/contants.d.ts.map +1 -0
- package/dist/components/QueryForm/props.d.ts +1 -0
- package/dist/components/QueryForm/props.d.ts.map +1 -1
- package/dist/components/QueryForm/types.d.ts +6 -1
- package/dist/components/QueryForm/types.d.ts.map +1 -1
- package/dist/components/QueryForm/utils.d.ts +1 -0
- package/dist/components/QueryForm/utils.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +2 -2
- package/dist/components/Select/Select.vue.d.ts +7 -6
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/types.d.ts +1 -0
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/index.cjs +38 -38
- package/dist/index.js +2602 -1873
- package/dist/style.css +1 -1
- package/package.json +3 -2
|
@@ -40,8 +40,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
40
|
readonly default: true;
|
|
41
41
|
};
|
|
42
42
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
-
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
44
43
|
change: (val: import('element-plus').CheckboxValueType[]) => void;
|
|
44
|
+
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
45
45
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
46
|
options: import('vue').PropType<import('./props').CheckboxGroupOptionType[]>;
|
|
47
47
|
ariaLabel: StringConstructor;
|
|
@@ -81,8 +81,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
81
81
|
readonly default: true;
|
|
82
82
|
};
|
|
83
83
|
}>> & Readonly<{
|
|
84
|
-
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
85
84
|
onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
|
|
85
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
modelValue: import('element-plus').CheckboxGroupValueType;
|
|
88
88
|
disabled: boolean;
|
|
@@ -234,11 +234,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
234
234
|
blur: () => void;
|
|
235
235
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
236
236
|
search: (value?: string | undefined) => void;
|
|
237
|
-
|
|
237
|
+
blur: (value: FocusEvent) => void;
|
|
238
238
|
change: (value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => void;
|
|
239
|
-
clear: () => void;
|
|
240
239
|
focus: (value: FocusEvent) => void;
|
|
241
|
-
|
|
240
|
+
"update:modelValue": (value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => void;
|
|
241
|
+
clear: () => void;
|
|
242
242
|
"visible-change": (visible: boolean) => void;
|
|
243
243
|
"remove-tag": (value: import('./props').DataSelectValueType) => void;
|
|
244
244
|
"popup-scroll": (data: {
|
|
@@ -474,11 +474,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
474
474
|
};
|
|
475
475
|
}>> & Readonly<{
|
|
476
476
|
onSearch?: ((value?: string | undefined) => any) | undefined;
|
|
477
|
-
|
|
477
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
478
478
|
onChange?: ((value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => any) | undefined;
|
|
479
|
-
onClear?: (() => any) | undefined;
|
|
480
479
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
481
|
-
|
|
480
|
+
"onUpdate:modelValue"?: ((value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => any) | undefined;
|
|
481
|
+
onClear?: (() => any) | undefined;
|
|
482
482
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
483
483
|
"onRemove-tag"?: ((value: import('./props').DataSelectValueType) => any) | undefined;
|
|
484
484
|
"onPopup-scroll"?: ((data: {
|
|
@@ -79,8 +79,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
queryKey: import('vue').PropType<import('./types').DataTableQueryKeyType>;
|
|
80
80
|
queryFn: import('vue').PropType<import('./types').DataTableQueryFnType>;
|
|
81
81
|
placeholderData: import('vue').PropType<import('./types').DataTableQueryPlaceholderDataType>;
|
|
82
|
-
|
|
83
|
-
type:
|
|
82
|
+
selectionBar: {
|
|
83
|
+
type: import('vue').PropType<boolean | import('./types').DataTableSelectionBarPropsType>;
|
|
84
84
|
default: boolean;
|
|
85
85
|
};
|
|
86
86
|
size: {
|
|
@@ -197,13 +197,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
197
197
|
getFormData: () => any;
|
|
198
198
|
getSearchParams: () => any;
|
|
199
199
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
200
|
-
select: (selection: any[], row: any) => void;
|
|
201
|
-
expandChange: (row: any, expandedRows: boolean | any[]) => void;
|
|
202
|
-
currentChange: (currentRow: any, oldCurrentRow: any) => void;
|
|
203
200
|
scroll: (event: {
|
|
204
201
|
scrollLeft: number;
|
|
205
202
|
scrollTop: number;
|
|
206
203
|
}) => void;
|
|
204
|
+
select: (selection: any[], row: any) => void;
|
|
205
|
+
expandChange: (row: any, expandedRows: boolean | any[]) => void;
|
|
206
|
+
currentChange: (currentRow: any, oldCurrentRow: any) => void;
|
|
207
207
|
selectAll: (selection: any[]) => void;
|
|
208
208
|
selectionChange: (selection: any[]) => void;
|
|
209
209
|
cellMouseEnter: (row: any, column: any, cell: HTMLTableCellElement, event: Event) => void;
|
|
@@ -223,6 +223,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
223
223
|
}) => void;
|
|
224
224
|
filterChange: (newFilters: any) => void;
|
|
225
225
|
headerDragend: (newWidth: number, oldWidth: number, column: any, event: MouseEvent) => void;
|
|
226
|
+
formDataChange: (data: any) => void;
|
|
227
|
+
searchParamsChange: (data: any) => void;
|
|
226
228
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
227
229
|
data: {
|
|
228
230
|
type: import('vue').PropType<any[]>;
|
|
@@ -299,8 +301,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
299
301
|
queryKey: import('vue').PropType<import('./types').DataTableQueryKeyType>;
|
|
300
302
|
queryFn: import('vue').PropType<import('./types').DataTableQueryFnType>;
|
|
301
303
|
placeholderData: import('vue').PropType<import('./types').DataTableQueryPlaceholderDataType>;
|
|
302
|
-
|
|
303
|
-
type:
|
|
304
|
+
selectionBar: {
|
|
305
|
+
type: import('vue').PropType<boolean | import('./types').DataTableSelectionBarPropsType>;
|
|
304
306
|
default: boolean;
|
|
305
307
|
};
|
|
306
308
|
size: {
|
|
@@ -389,13 +391,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
389
391
|
preserveExpandedContent: BooleanConstructor;
|
|
390
392
|
nativeScrollbar: BooleanConstructor;
|
|
391
393
|
}>> & Readonly<{
|
|
392
|
-
onSelect?: ((selection: any[], row: any) => any) | undefined;
|
|
393
|
-
onExpandChange?: ((row: any, expandedRows: boolean | any[]) => any) | undefined;
|
|
394
|
-
onCurrentChange?: ((currentRow: any, oldCurrentRow: any) => any) | undefined;
|
|
395
394
|
onScroll?: ((event: {
|
|
396
395
|
scrollLeft: number;
|
|
397
396
|
scrollTop: number;
|
|
398
397
|
}) => any) | undefined;
|
|
398
|
+
onSelect?: ((selection: any[], row: any) => any) | undefined;
|
|
399
|
+
onExpandChange?: ((row: any, expandedRows: boolean | any[]) => any) | undefined;
|
|
400
|
+
onCurrentChange?: ((currentRow: any, oldCurrentRow: any) => any) | undefined;
|
|
399
401
|
onSelectAll?: ((selection: any[]) => any) | undefined;
|
|
400
402
|
onSelectionChange?: ((selection: any[]) => any) | undefined;
|
|
401
403
|
onCellMouseEnter?: ((row: any, column: any, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
@@ -415,7 +417,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
415
417
|
}) => any) | undefined;
|
|
416
418
|
onFilterChange?: ((newFilters: any) => any) | undefined;
|
|
417
419
|
onHeaderDragend?: ((newWidth: number, oldWidth: number, column: any, event: MouseEvent) => any) | undefined;
|
|
420
|
+
onFormDataChange?: ((data: any) => any) | undefined;
|
|
421
|
+
onSearchParamsChange?: ((data: any) => any) | undefined;
|
|
418
422
|
}>, {
|
|
423
|
+
lazy: boolean;
|
|
419
424
|
border: boolean;
|
|
420
425
|
style: import('vue').CSSProperties;
|
|
421
426
|
loading: boolean;
|
|
@@ -430,7 +435,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
430
435
|
selectOnIndeterminate: boolean;
|
|
431
436
|
indent: number;
|
|
432
437
|
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
433
|
-
lazy: boolean;
|
|
434
438
|
tableLayout: "fixed" | "auto";
|
|
435
439
|
scrollbarAlwaysOn: boolean;
|
|
436
440
|
flexible: boolean;
|
|
@@ -453,7 +457,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
453
457
|
fixedFooter: boolean;
|
|
454
458
|
fixedFooterOffset: number;
|
|
455
459
|
forceRefetchOnSearch: boolean;
|
|
456
|
-
|
|
460
|
+
selectionBar: boolean | import('./types').DataTableSelectionBarPropsType;
|
|
457
461
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
458
462
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
459
463
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAeA,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAUL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,mBAAmB,EAEnB,kBAAkB,EAEnB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAeA,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAUL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,mBAAmB,EAEnB,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AA+fjB,iBAAS,cAAc,sDAidtB;AA8CD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAh0BO,uBAGjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAHiB,uBAGjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAq0BT,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@pinia/colada';
|
|
2
|
-
import { DataTableColumnType, DataTableToolbarPropsType, DataTableQueryKeyType, DataTableQueryInitialDataType, DataTableQueryFnType, DataTableQueryPlaceholderDataType, DataTableQueryEnabledType } from './types';
|
|
2
|
+
import { DataTableColumnType, DataTableToolbarPropsType, DataTableQueryKeyType, DataTableQueryInitialDataType, DataTableQueryFnType, DataTableQueryPlaceholderDataType, DataTableQueryEnabledType, DataTableSelectionBarPropsType } from './types';
|
|
3
3
|
import { PaginationProps } from 'element-plus';
|
|
4
4
|
import { QueryFormPropsType } from '../QueryForm';
|
|
5
5
|
import { MaybeRefOrGetter, ExtractPropTypes, PropType } from 'vue';
|
|
@@ -81,8 +81,8 @@ export declare const dataTableProps: {
|
|
|
81
81
|
queryKey: PropType<DataTableQueryKeyType>;
|
|
82
82
|
queryFn: PropType<DataTableQueryFnType>;
|
|
83
83
|
placeholderData: PropType<DataTableQueryPlaceholderDataType>;
|
|
84
|
-
|
|
85
|
-
type:
|
|
84
|
+
selectionBar: {
|
|
85
|
+
type: PropType<boolean | DataTableSelectionBarPropsType>;
|
|
86
86
|
default: boolean;
|
|
87
87
|
};
|
|
88
88
|
size: {
|
|
@@ -198,6 +198,8 @@ export declare const dataTableEmits: {
|
|
|
198
198
|
scrollLeft: number;
|
|
199
199
|
scrollTop: number;
|
|
200
200
|
}) => boolean;
|
|
201
|
+
formDataChange: (data: any) => boolean;
|
|
202
|
+
searchParamsChange: (data: any) => boolean;
|
|
201
203
|
};
|
|
202
204
|
export type DataTablePropsType = ExtractPropTypes<typeof dataTableProps>;
|
|
203
205
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/props.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACd,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,6BAA6B,EAC7B,oBAAoB,EACpB,iCAAiC,EACjC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/props.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACd,MAAM,KAAK,CA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,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA1DrgB,CAAC;AAEF,eAAO,MAAM,cAAc;wBACL,GAAG,EAAE,OAAO,GAAG;2BACZ,GAAG,EAAE;iCACC,GAAG,EAAE;0BAE3B,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;0BAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;qBAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;wBAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;2BAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;oBAEE,GAAG,UAAU,GAAG,SAAS,KAAK;0BACxB,GAAG,UAAU,GAAG,SAAS,KAAK;uBACjC,GAAG,UAAU,GAAG,SAAS,KAAK;0BAC3B,GAAG,SAAS,KAAK;gCACX,GAAG,SAAS,KAAK;uBAC1B;QAAE,MAAM,EAAE,GAAG,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE;+BACjC,GAAG;gCACF,GAAG,iBAAiB,GAAG;8BAEvC,MAAM,YACN,MAAM,UACR,GAAG,SACJ,UAAU;wBAEC,GAAG,gBAAgB,GAAG,EAAE,GAAG,OAAO;oBACtC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;2BAElC,GAAG;+BACC,GAAG;CAC/B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -8,6 +8,9 @@ import { BasicQueryFormItemPropsType, QueryFormInstanceType, QueryFormItemValueT
|
|
|
8
8
|
export type DataTableToolbarPropsType = {
|
|
9
9
|
class?: any;
|
|
10
10
|
};
|
|
11
|
+
export type DataTableSelectionBarPropsType = {
|
|
12
|
+
class?: any;
|
|
13
|
+
};
|
|
11
14
|
type PaginateParams = {
|
|
12
15
|
currentPage?: number;
|
|
13
16
|
pageSize?: number;
|
|
@@ -24,7 +27,7 @@ export type DataTableQueryFnReturnType<RecordType = any> = {
|
|
|
24
27
|
export type DataTableQueryEnabledType<QueryFormDataType = any> = (params: QueryFormDataType & PaginateParams, sort?: SortParams) => boolean;
|
|
25
28
|
export type DataTableQueryInitialDataType<RecordType = any, QueryFormDataType extends Record<string, any> = Record<string, any>> = (params: QueryFormDataType & PaginateParams, sort?: SortParams) => DataTableQueryFnReturnType<RecordType>;
|
|
26
29
|
export type DataTableQueryPlaceholderDataType<RecordType = any, QueryFormDataType extends Record<string, any> = Record<string, any>> = (previousData: DataTableQueryFnReturnType<RecordType> | undefined, params: QueryFormDataType & PaginateParams, sort?: SortParams) => DataTableQueryFnReturnType<RecordType>;
|
|
27
|
-
export type DataTableQueryKeyType<QueryFormDataType extends Record<string, any> = Record<string, any>> = (params: QueryFormDataType & PaginateParams, sort
|
|
30
|
+
export type DataTableQueryKeyType<QueryFormDataType extends Record<string, any> = Record<string, any>> = (params: QueryFormDataType & PaginateParams, sort: SortParams | undefined, originalQueryKey: EntryKey) => EntryKey;
|
|
28
31
|
export type DataTableQueryFnType<RecordType = any, QueryFormDataType extends Record<string, any> = Record<string, any>> = (params: QueryFormDataType & PaginateParams, sort?: SortParams) => Promise<DataTableQueryFnReturnType<RecordType>>;
|
|
29
32
|
export type ElTableColumnProps<RecordType = any> = Omit<ElTableColumnInstance['$props'], 'formatter'> & {
|
|
30
33
|
formatter?: (row: RecordType, column: ElTableColumnCtx<RecordType>, cellValue: any, index: number) => string | VNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AACtB,OA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F,CAAC;IACF,OAAO,EAAE,MAAM,OAAO,CACpB,SAAS,CACP,0BAA0B,CAAC,UAAU,CAAC,GAAG,SAAS,EAClD,KAAK,EACL,0BAA0B,CAAC,UAAU,CAAC,GAAG,SAAS,CACnD,CACF,CAAC;IACF,aAAa,EAAE,MAAM,UAAU,EAAE,CAAC;IAClC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAErC,SAAS,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAC;IAChD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB,WAAW,EAAE,MAAM,GAAG,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,CAAC;CAC5B,CAAC"}
|
|
@@ -195,10 +195,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
195
195
|
readonly default: "2";
|
|
196
196
|
};
|
|
197
197
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
198
|
-
"update:modelValue": (value: boolean) => void;
|
|
199
|
-
open: () => void;
|
|
200
198
|
cancel: () => void;
|
|
201
199
|
close: () => void;
|
|
200
|
+
"update:modelValue": (value: boolean) => void;
|
|
201
|
+
open: () => void;
|
|
202
202
|
closed: () => void;
|
|
203
203
|
ok: () => void;
|
|
204
204
|
opened: () => void;
|
|
@@ -400,10 +400,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
400
400
|
readonly default: "2";
|
|
401
401
|
};
|
|
402
402
|
}>> & Readonly<{
|
|
403
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
404
|
-
onOpen?: (() => any) | undefined;
|
|
405
403
|
onCancel?: (() => any) | undefined;
|
|
406
404
|
onClose?: (() => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
406
|
+
onOpen?: (() => any) | undefined;
|
|
407
407
|
onClosed?: (() => any) | undefined;
|
|
408
408
|
onOk?: (() => any) | undefined;
|
|
409
409
|
onOpened?: (() => any) | undefined;
|
|
@@ -419,6 +419,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
419
419
|
title: string;
|
|
420
420
|
center: boolean;
|
|
421
421
|
draggable: boolean;
|
|
422
|
+
ariaLevel: string;
|
|
422
423
|
fullscreen: boolean;
|
|
423
424
|
appendToBody: boolean;
|
|
424
425
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
@@ -440,7 +441,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
440
441
|
trapFocus: boolean;
|
|
441
442
|
alignCenter: boolean;
|
|
442
443
|
overflow: boolean;
|
|
443
|
-
ariaLevel: string;
|
|
444
444
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
445
445
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
446
446
|
export default _default;
|
|
@@ -143,7 +143,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
143
143
|
hideAfter: number;
|
|
144
144
|
autoClose: number;
|
|
145
145
|
enterable: boolean;
|
|
146
|
-
trigger: "
|
|
146
|
+
trigger: "click" | "contextmenu" | "focus" | "hover";
|
|
147
147
|
focusOnShow: boolean;
|
|
148
148
|
popperStyle: any;
|
|
149
149
|
truncated: boolean;
|
|
@@ -95,7 +95,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
};
|
|
96
96
|
error: StringConstructor;
|
|
97
97
|
validateStatus: {
|
|
98
|
-
readonly type: import('vue').PropType<"" | "
|
|
98
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
99
99
|
readonly required: false;
|
|
100
100
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
101
|
__epPropKey: true;
|
|
@@ -510,11 +510,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
510
510
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
511
511
|
field: import('vue').ShallowRef<CascaderInstance | undefined, CascaderInstance | undefined>;
|
|
512
512
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
513
|
-
|
|
513
|
+
blur: (evt: FocusEvent) => void;
|
|
514
514
|
change: (value: import('element-plus').CascaderValue | null | undefined) => void;
|
|
515
|
-
clear: () => void;
|
|
516
515
|
focus: (evt: FocusEvent) => void;
|
|
517
|
-
|
|
516
|
+
"update:modelValue": (value: import('element-plus').CascaderValue | null | undefined) => void;
|
|
517
|
+
clear: () => void;
|
|
518
518
|
visibleChange: (val: boolean) => void;
|
|
519
519
|
expandChange: (val: import('element-plus').CascaderValue) => void;
|
|
520
520
|
removeTag: (val: (string | number)[] | (string | number)) => void;
|
|
@@ -562,7 +562,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
562
562
|
};
|
|
563
563
|
error: StringConstructor;
|
|
564
564
|
validateStatus: {
|
|
565
|
-
readonly type: import('vue').PropType<"" | "
|
|
565
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
566
566
|
readonly required: false;
|
|
567
567
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
568
568
|
__epPropKey: true;
|
|
@@ -974,11 +974,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
974
974
|
default: () => {};
|
|
975
975
|
};
|
|
976
976
|
}>> & Readonly<{
|
|
977
|
-
|
|
977
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
978
978
|
onChange?: ((value: import('element-plus').CascaderValue | null | undefined) => any) | undefined;
|
|
979
|
-
onClear?: (() => any) | undefined;
|
|
980
979
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
981
|
-
|
|
980
|
+
"onUpdate:modelValue"?: ((value: import('element-plus').CascaderValue | null | undefined) => any) | undefined;
|
|
981
|
+
onClear?: (() => any) | undefined;
|
|
982
982
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
983
983
|
onExpandChange?: ((val: import('element-plus').CascaderValue) => any) | undefined;
|
|
984
984
|
onRemoveTag?: ((val: (string | number)[] | (string | number)) => any) | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const formCascadeSelectProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
66
66
|
};
|
|
67
67
|
error: StringConstructor;
|
|
68
68
|
validateStatus: {
|
|
69
|
-
readonly type: import('vue').PropType<"" | "
|
|
69
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
70
70
|
readonly required: false;
|
|
71
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -179,8 +179,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
179
179
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
180
180
|
field: import('vue').ShallowRef<any, any>;
|
|
181
181
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
182
|
-
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
183
182
|
change: (val: import('element-plus').CheckboxValueType[]) => void;
|
|
183
|
+
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
184
184
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
185
185
|
valueEnum: import('vue').PropType<Record<string, string>>;
|
|
186
186
|
htmlFor: StringConstructor;
|
|
@@ -226,7 +226,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
226
226
|
};
|
|
227
227
|
error: StringConstructor;
|
|
228
228
|
validateStatus: {
|
|
229
|
-
readonly type: import('vue').PropType<"" | "
|
|
229
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
230
230
|
readonly required: false;
|
|
231
231
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
232
232
|
__epPropKey: true;
|
|
@@ -336,8 +336,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
336
336
|
default: () => {};
|
|
337
337
|
};
|
|
338
338
|
}>> & Readonly<{
|
|
339
|
-
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
340
339
|
onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
|
|
340
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
341
341
|
}>, {
|
|
342
342
|
required: boolean;
|
|
343
343
|
modelValue: import('element-plus').CheckboxGroupValueType;
|
|
@@ -45,7 +45,7 @@ export declare const formCheckboxGroupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -69,7 +69,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
69
69
|
};
|
|
70
70
|
error: StringConstructor;
|
|
71
71
|
validateStatus: {
|
|
72
|
-
readonly type: import('vue').PropType<"" | "
|
|
72
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
73
73
|
readonly required: false;
|
|
74
74
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
75
|
__epPropKey: true;
|
|
@@ -548,11 +548,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
548
548
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
549
549
|
field: import('vue').ShallowRef<DatePickerInstance | undefined, DatePickerInstance | undefined>;
|
|
550
550
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
551
|
-
|
|
551
|
+
blur: (value: FocusEvent) => void;
|
|
552
552
|
change: (value: import('./props').FormDatePickerValueType) => void;
|
|
553
|
-
clear: () => void;
|
|
554
553
|
focus: (value: FocusEvent) => void;
|
|
555
|
-
|
|
554
|
+
"update:modelValue": (value: import('./props').FormDatePickerValueType) => void;
|
|
555
|
+
clear: () => void;
|
|
556
556
|
"visible-change": (visibility: boolean) => void;
|
|
557
557
|
"calendar-change": (value: [Date, Date | null]) => void;
|
|
558
558
|
"panel-change": (date: Date | [Date, Date], mode: "month" | "year", view?: string | undefined) => void;
|
|
@@ -600,7 +600,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
600
600
|
};
|
|
601
601
|
error: StringConstructor;
|
|
602
602
|
validateStatus: {
|
|
603
|
-
readonly type: import('vue').PropType<"" | "
|
|
603
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
604
604
|
readonly required: false;
|
|
605
605
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
606
606
|
__epPropKey: true;
|
|
@@ -1076,11 +1076,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1076
1076
|
default: () => {};
|
|
1077
1077
|
};
|
|
1078
1078
|
}>> & Readonly<{
|
|
1079
|
-
|
|
1079
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
1080
1080
|
onChange?: ((value: import('./props').FormDatePickerValueType) => any) | undefined;
|
|
1081
|
-
onClear?: (() => any) | undefined;
|
|
1082
1081
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
1083
|
-
|
|
1082
|
+
"onUpdate:modelValue"?: ((value: import('./props').FormDatePickerValueType) => any) | undefined;
|
|
1083
|
+
onClear?: (() => any) | undefined;
|
|
1084
1084
|
"onVisible-change"?: ((visibility: boolean) => any) | undefined;
|
|
1085
1085
|
"onCalendar-change"?: ((value: [Date, Date | null]) => any) | undefined;
|
|
1086
1086
|
"onPanel-change"?: ((date: Date | [Date, Date], mode: "month" | "year", view?: string | undefined) => any) | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const formDatePickerProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -65,7 +65,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
65
65
|
};
|
|
66
66
|
error: StringConstructor;
|
|
67
67
|
validateStatus: {
|
|
68
|
-
readonly type: import('vue').PropType<"" | "
|
|
68
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
69
69
|
readonly required: false;
|
|
70
70
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
71
|
__epPropKey: true;
|
|
@@ -95,7 +95,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
}>, {
|
|
96
96
|
size: "" | "small" | "default" | "large" | undefined;
|
|
97
97
|
validateMessage: string | undefined;
|
|
98
|
-
validateState: "" | "
|
|
98
|
+
validateState: "" | "error" | "success" | "validating" | undefined;
|
|
99
99
|
validate: (trigger: string, callback?: FormValidateCallback) => import('element-plus').FormValidationResult | undefined;
|
|
100
100
|
clearValidate: () => void | undefined;
|
|
101
101
|
resetField: () => void | undefined;
|
|
@@ -143,7 +143,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
143
143
|
};
|
|
144
144
|
error: StringConstructor;
|
|
145
145
|
validateStatus: {
|
|
146
|
-
readonly type: import('vue').PropType<"" | "
|
|
146
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
147
147
|
readonly required: false;
|
|
148
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
149
|
__epPropKey: true;
|
|
@@ -45,7 +45,7 @@ export declare const formItemProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -11,7 +11,7 @@ export declare const getTooltipProps: (options?: string | Partial<TooltipPropsTy
|
|
|
11
11
|
hideAfter?: number | undefined;
|
|
12
12
|
autoClose?: number | undefined;
|
|
13
13
|
enterable?: boolean | undefined;
|
|
14
|
-
trigger?: "
|
|
14
|
+
trigger?: "click" | "contextmenu" | "focus" | "hover" | undefined;
|
|
15
15
|
focusOnShow?: boolean | undefined;
|
|
16
16
|
popperStyle?: any;
|
|
17
17
|
transition?: string | undefined;
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
};
|
|
80
80
|
error: StringConstructor;
|
|
81
81
|
validateStatus: {
|
|
82
|
-
readonly type: import('vue').PropType<"" | "
|
|
82
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
83
83
|
readonly required: false;
|
|
84
84
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
85
|
__epPropKey: true;
|
|
@@ -336,11 +336,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
336
336
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
337
337
|
field: import('vue').ShallowRef<InputNumberInstance | undefined, InputNumberInstance | undefined>;
|
|
338
338
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
339
|
-
|
|
339
|
+
blur: (e: FocusEvent) => void;
|
|
340
340
|
change: (cur: number | undefined, prev: number | undefined) => void;
|
|
341
341
|
focus: (e: FocusEvent) => void;
|
|
342
|
-
blur: (e: FocusEvent) => void;
|
|
343
342
|
input: (val: number | null | undefined) => void;
|
|
343
|
+
"update:modelValue": (val: number | undefined) => void;
|
|
344
344
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
345
345
|
htmlFor: StringConstructor;
|
|
346
346
|
tooltip: {
|
|
@@ -385,7 +385,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
385
385
|
};
|
|
386
386
|
error: StringConstructor;
|
|
387
387
|
validateStatus: {
|
|
388
|
-
readonly type: import('vue').PropType<"" | "
|
|
388
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
389
389
|
readonly required: false;
|
|
390
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
391
|
__epPropKey: true;
|
|
@@ -639,11 +639,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
639
639
|
default: () => {};
|
|
640
640
|
};
|
|
641
641
|
}>> & Readonly<{
|
|
642
|
-
|
|
642
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
643
643
|
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
644
644
|
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
645
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
646
645
|
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
646
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
647
647
|
}>, {
|
|
648
648
|
required: boolean;
|
|
649
649
|
readonly disabled: boolean;
|
|
@@ -42,7 +42,7 @@ export declare const formNumberProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
66
66
|
};
|
|
67
67
|
error: StringConstructor;
|
|
68
68
|
validateStatus: {
|
|
69
|
-
readonly type: import('vue').PropType<"" | "
|
|
69
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
70
70
|
readonly required: false;
|
|
71
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -211,8 +211,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
211
211
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
212
212
|
field: import('vue').ShallowRef<any, any>;
|
|
213
213
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
214
|
-
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
215
214
|
change: (val: string | number | boolean | undefined) => void;
|
|
215
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
216
216
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
217
217
|
valueEnum: import('vue').PropType<Record<string, string>>;
|
|
218
218
|
htmlFor: StringConstructor;
|
|
@@ -258,7 +258,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
258
258
|
};
|
|
259
259
|
error: StringConstructor;
|
|
260
260
|
validateStatus: {
|
|
261
|
-
readonly type: import('vue').PropType<"" | "
|
|
261
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
262
262
|
readonly required: false;
|
|
263
263
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
264
264
|
__epPropKey: true;
|
|
@@ -400,8 +400,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
400
400
|
default: () => {};
|
|
401
401
|
};
|
|
402
402
|
}>> & Readonly<{
|
|
403
|
-
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
404
403
|
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
404
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
405
405
|
}>, {
|
|
406
406
|
required: boolean;
|
|
407
407
|
modelValue: string | number | boolean;
|
|
@@ -45,7 +45,7 @@ export declare const formRadioGroupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|