@vrojs/element-plus 0.0.6 → 0.0.8
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/index.d.ts +5 -0
- package/dist/index.js +125 -83
- package/dist/locale/index.js +6 -7
- package/dist/locale/lang/en.d.ts +8 -0
- package/dist/locale/lang/en.js +8 -0
- package/dist/locale/lang/zh-cn.d.ts +8 -0
- package/dist/locale/lang/zh-cn.js +8 -0
- package/dist/locale/useLocale.d.ts +1 -48
- package/dist/locale/useLocale.js +16 -17
- package/dist/style/deps.js +7 -0
- package/dist/style/index.css +1 -1
- package/dist/style/index.js +7 -0
- package/dist/utils/elTableColumnProps.d.ts +149 -0
- package/dist/utils/elTableColumnProps.js +152 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -2
- package/dist/vro-el-checkbox-group/index.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +10 -10
- package/dist/vro-el-config-provider/config.d.ts +14 -0
- package/dist/vro-el-config-provider/config.js +36 -0
- package/dist/vro-el-config-provider/index.d.ts +16 -0
- package/dist/vro-el-config-provider/index.js +8 -2
- package/dist/vro-el-config-provider/types.d.ts +7 -0
- package/dist/vro-el-config-provider/types.js +7 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +9 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +11 -11
- package/dist/vro-el-file-upload/index.d.ts +6 -6
- package/dist/vro-el-file-upload/style/index.css +1 -1
- package/dist/vro-el-file-upload/types.d.ts +9 -2
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +7 -6
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +55 -51
- package/dist/vro-el-icon/index.d.ts +28 -40
- package/dist/vro-el-icon/style/css.js +1 -0
- package/dist/vro-el-icon/style/deps.js +1 -1
- package/dist/vro-el-icon/style/index.js +1 -1
- package/dist/vro-el-icon/types.d.ts +16 -13
- package/dist/vro-el-icon/types.js +8 -1
- package/dist/vro-el-icon/vro-el-icon.vue.d.ts +18 -27
- package/dist/vro-el-icon/vro-el-icon.vue.js +27 -23
- package/dist/vro-el-image/index.d.ts +10 -4
- package/dist/vro-el-image/style/css.js +4 -0
- package/dist/vro-el-image/style/index.css +1 -0
- package/dist/vro-el-image/style/index.js +4 -0
- package/dist/vro-el-image/types.d.ts +35 -0
- package/dist/vro-el-image/types.js +24 -1
- package/dist/vro-el-image/utils.d.ts +1 -1
- package/dist/vro-el-image/vro-el-image.vue.d.ts +7 -2
- package/dist/vro-el-image/vro-el-image.vue.js +55 -24
- package/dist/vro-el-image-upload/index.d.ts +1 -1
- package/dist/vro-el-image-upload/style/css.js +4 -0
- package/dist/vro-el-image-upload/style/index.css +1 -1
- package/dist/vro-el-image-upload/style/index.js +4 -0
- package/dist/vro-el-image-upload/types.d.ts +24 -7
- package/dist/vro-el-image-upload/types.js +21 -7
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +1 -1
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +82 -68
- package/dist/vro-el-radio-group/index.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +12 -12
- package/dist/vro-el-schema-filter/index.d.ts +27 -31
- package/dist/vro-el-schema-filter/style/css.js +5 -0
- package/dist/vro-el-schema-filter/style/index.css +1 -1
- package/dist/vro-el-schema-filter/style/index.js +5 -0
- package/dist/vro-el-schema-filter/types.d.ts +17 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +38 -43
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +63 -44
- package/dist/vro-el-schema-form/index.d.ts +16 -18
- package/dist/vro-el-schema-form/style/css.js +5 -0
- package/dist/vro-el-schema-form/style/index.css +1 -1
- package/dist/vro-el-schema-form/style/index.js +5 -0
- package/dist/vro-el-schema-form/types.d.ts +65 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +33 -37
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +13 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +11 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +79 -79
- package/dist/vro-el-schema-form-dialog/function-call.js +10 -7
- package/dist/vro-el-schema-form-dialog/index.d.ts +111 -142
- package/dist/vro-el-schema-form-dialog/style/css.js +5 -0
- package/dist/vro-el-schema-form-dialog/style/index.css +1 -1
- package/dist/vro-el-schema-form-dialog/style/index.js +5 -0
- package/dist/vro-el-schema-form-dialog/types.d.ts +25 -16
- package/dist/vro-el-schema-form-dialog/types.js +6 -11
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +92 -113
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +83 -87
- package/dist/vro-el-schema-form-drawer/function-call.d.ts +4 -0
- package/dist/vro-el-schema-form-drawer/function-call.js +20 -0
- package/dist/vro-el-schema-form-drawer/index.d.ts +2207 -0
- package/dist/vro-el-schema-form-drawer/index.js +16 -0
- package/dist/vro-el-schema-form-drawer/injection.d.ts +9 -0
- package/dist/vro-el-schema-form-drawer/injection.js +9 -0
- package/dist/vro-el-schema-form-drawer/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/css.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/deps.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/index.css +1 -0
- package/dist/vro-el-schema-form-drawer/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/index.js +48 -0
- package/dist/vro-el-schema-form-drawer/types.d.ts +110 -0
- package/dist/vro-el-schema-form-drawer/types.js +75 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.d.ts +14 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js +18 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +1832 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.js +134 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue2.js +4 -0
- package/dist/vro-el-select/index.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.js +11 -11
- package/dist/vro-el-skeleton/index.d.ts +9 -73
- package/dist/vro-el-skeleton/style/index.css +1 -1
- package/dist/vro-el-skeleton/types.d.ts +32 -24
- package/dist/vro-el-skeleton/types.js +3 -23
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +7 -48
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +48 -46
- package/dist/vro-el-table/createUseVroElTable.d.ts +9 -0
- package/dist/vro-el-table/createUseVroElTable.js +7 -0
- package/dist/vro-el-table/index.js +13 -0
- package/dist/vro-el-table/style/css.d.ts +0 -0
- package/dist/vro-el-table/style/css.js +29 -0
- package/dist/vro-el-table/style/deps.d.ts +0 -0
- package/dist/vro-el-table/style/deps.js +28 -0
- package/dist/vro-el-table/style/index.css +1 -0
- package/dist/vro-el-table/style/index.d.ts +0 -0
- package/dist/vro-el-table/style/index.js +57 -0
- package/dist/vro-el-table/types.d.ts +97 -0
- package/dist/vro-el-table/types.js +66 -0
- package/dist/vro-el-table/useVroElTable.d.ts +43 -0
- package/dist/vro-el-table/useVroElTable.js +47 -0
- package/dist/vro-el-table/vro-el-table.vue.js +94 -0
- package/dist/vro-el-table/vro-el-table.vue2.js +4 -0
- package/dist/vro-el-table-actions-column/index.d.ts +269 -0
- package/dist/vro-el-table-actions-column/index.js +9 -0
- package/dist/vro-el-table-actions-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/css.js +4 -0
- package/dist/vro-el-table-actions-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/deps.js +5 -0
- package/dist/vro-el-table-actions-column/style/index.css +1 -0
- package/dist/vro-el-table-actions-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/index.js +9 -0
- package/dist/vro-el-table-actions-column/types.d.ts +139 -0
- package/dist/vro-el-table-actions-column/types.js +37 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +167 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.js +101 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue2.js +4 -0
- package/dist/vro-el-table-column/index.d.ts +257 -0
- package/dist/vro-el-table-column/index.js +9 -0
- package/dist/vro-el-table-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-column/style/css.js +6 -0
- package/dist/vro-el-table-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column/style/deps.js +1 -0
- package/dist/vro-el-table-column/style/index.css +1 -0
- package/dist/vro-el-table-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-column/style/index.js +7 -0
- package/dist/vro-el-table-column/types.d.ts +141 -0
- package/dist/vro-el-table-column/types.js +43 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +161 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.js +66 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue2.js +4 -0
- package/dist/vro-el-table-column-group/index.d.ts +23 -0
- package/dist/vro-el-table-column-group/index.js +13 -0
- package/dist/vro-el-table-column-group/style/css.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/css.js +9 -0
- package/dist/vro-el-table-column-group/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/deps.js +5 -0
- package/dist/vro-el-table-column-group/style/index.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/index.js +14 -0
- package/dist/vro-el-table-column-group/types.d.ts +87 -0
- package/dist/vro-el-table-column-group/types.js +12 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.d.ts +2 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.js +10 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.d.ts +14 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.js +29 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue2.js +4 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.d.ts +2 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.js +9 -0
- package/dist/vro-el-tags/index.d.ts +234 -187
- package/dist/vro-el-tags/style/css.js +1 -0
- package/dist/vro-el-tags/style/index.css +1 -0
- package/dist/vro-el-tags/style/index.js +1 -0
- package/dist/vro-el-tags/types.d.ts +37 -1
- package/dist/vro-el-tags/types.js +17 -1
- package/dist/vro-el-tags/vro-el-tags.vue.d.ts +219 -8
- package/dist/vro-el-tags/vro-el-tags.vue.js +55 -45
- package/dist/vro-el-tree/index.d.ts +3235 -32
- package/dist/vro-el-tree/style/index.css +1 -1
- package/dist/vro-el-tree/types.d.ts +124 -5
- package/dist/vro-el-tree/types.js +12 -6
- package/dist/vro-el-tree/vro-el-tree.vue.d.ts +6020 -20
- package/dist/vro-el-tree/vro-el-tree.vue.js +54 -36
- package/package.json +10 -12
|
@@ -29,11 +29,11 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
29
29
|
default: () => {};
|
|
30
30
|
};
|
|
31
31
|
}>> & Readonly<{
|
|
32
|
-
onReset?: ((
|
|
33
|
-
onQuery?: ((
|
|
32
|
+
onReset?: (() => any) | undefined;
|
|
33
|
+
onQuery?: ((value: import('./types').VroElSchemaFilterQueryValue) => any) | undefined;
|
|
34
34
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
reset: (
|
|
36
|
-
query: (
|
|
35
|
+
reset: () => any;
|
|
36
|
+
query: (value: import('./types').VroElSchemaFilterQueryValue) => any;
|
|
37
37
|
}, import('vue').PublicProps, {
|
|
38
38
|
loading: boolean;
|
|
39
39
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -43,7 +43,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
43
43
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
44
44
|
schema: import('..').VroElSchemaFormSchema;
|
|
45
45
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
46
|
-
|
|
46
|
+
schemaFormRef: ({
|
|
47
47
|
$: import('vue').ComponentInternalInstance;
|
|
48
48
|
$data: {};
|
|
49
49
|
$props: Partial<{
|
|
@@ -58,8 +58,8 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
58
58
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
59
59
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
60
60
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
61
|
-
readonly "onChange-field"?: ((
|
|
62
|
-
readonly "onInput-field"?: ((
|
|
61
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
62
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
63
63
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
64
64
|
$attrs: {
|
|
65
65
|
[x: string]: unknown;
|
|
@@ -67,7 +67,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
67
67
|
$refs: {
|
|
68
68
|
[x: string]: unknown;
|
|
69
69
|
} & {
|
|
70
|
-
|
|
70
|
+
formRef: ({
|
|
71
71
|
$: import('vue').ComponentInternalInstance;
|
|
72
72
|
$data: {};
|
|
73
73
|
$props: {
|
|
@@ -168,7 +168,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
168
168
|
default?: (props: {}) => any;
|
|
169
169
|
};
|
|
170
170
|
}) | null;
|
|
171
|
-
|
|
171
|
+
componentRefs: unknown;
|
|
172
172
|
};
|
|
173
173
|
$slots: Readonly<{
|
|
174
174
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -176,7 +176,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
176
176
|
$root: import('vue').ComponentPublicInstance | null;
|
|
177
177
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
178
178
|
$host: Element | null;
|
|
179
|
-
$emit: ((event: "change-field",
|
|
179
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
180
180
|
$el: any;
|
|
181
181
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
182
182
|
formProps: {
|
|
@@ -200,10 +200,10 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
200
200
|
default: () => {};
|
|
201
201
|
};
|
|
202
202
|
}>> & Readonly<{
|
|
203
|
-
"onChange-field"?: ((
|
|
204
|
-
"onInput-field"?: ((
|
|
203
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
204
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
205
205
|
}>, {
|
|
206
|
-
|
|
206
|
+
elForm: {
|
|
207
207
|
$: import('vue').ComponentInternalInstance;
|
|
208
208
|
$data: {};
|
|
209
209
|
$props: {
|
|
@@ -314,8 +314,8 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
314
314
|
extractValues: () => Promise<Record<string, any>>;
|
|
315
315
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
316
316
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
317
|
-
"change-field": (
|
|
318
|
-
"input-field": (
|
|
317
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
318
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
319
319
|
}, string, {
|
|
320
320
|
colProps: Partial<import('element-plus').ColProps>;
|
|
321
321
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -370,10 +370,10 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
370
370
|
default: () => {};
|
|
371
371
|
};
|
|
372
372
|
}>> & Readonly<{
|
|
373
|
-
"onChange-field"?: ((
|
|
374
|
-
"onInput-field"?: ((
|
|
375
|
-
}>, "
|
|
376
|
-
|
|
373
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
374
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
375
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
376
|
+
elForm: {
|
|
377
377
|
$: import('vue').ComponentInternalInstance;
|
|
378
378
|
$data: {};
|
|
379
379
|
$props: {
|
|
@@ -484,9 +484,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
484
484
|
extractValues: () => Promise<Record<string, any>>;
|
|
485
485
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
486
486
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
487
|
-
$slots:
|
|
488
|
-
default?(_: {}): any;
|
|
489
|
-
};
|
|
487
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
490
488
|
}) | null;
|
|
491
489
|
}, any, import('vue').ComponentProvideOptions, {
|
|
492
490
|
P: {};
|
|
@@ -524,8 +522,8 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
524
522
|
default: () => {};
|
|
525
523
|
};
|
|
526
524
|
}>> & Readonly<{
|
|
527
|
-
onReset?: ((
|
|
528
|
-
onQuery?: ((
|
|
525
|
+
onReset?: (() => any) | undefined;
|
|
526
|
+
onQuery?: ((value: import('./types').VroElSchemaFilterQueryValue) => any) | undefined;
|
|
529
527
|
}>, {}, {}, {}, {}, {
|
|
530
528
|
loading: boolean;
|
|
531
529
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -567,11 +565,11 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
567
565
|
default: () => {};
|
|
568
566
|
};
|
|
569
567
|
}>> & Readonly<{
|
|
570
|
-
onReset?: ((
|
|
571
|
-
onQuery?: ((
|
|
568
|
+
onReset?: (() => any) | undefined;
|
|
569
|
+
onQuery?: ((value: import('./types').VroElSchemaFilterQueryValue) => any) | undefined;
|
|
572
570
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
573
|
-
reset: (
|
|
574
|
-
query: (
|
|
571
|
+
reset: () => any;
|
|
572
|
+
query: (value: import('./types').VroElSchemaFilterQueryValue) => any;
|
|
575
573
|
}, string, {
|
|
576
574
|
loading: boolean;
|
|
577
575
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -581,9 +579,7 @@ export declare const VroElSchemaFilter: import('@vrojs/base').WithInstall<{
|
|
|
581
579
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
582
580
|
schema: import('..').VroElSchemaFormSchema;
|
|
583
581
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
584
|
-
$slots:
|
|
585
|
-
default?(_: {}): any;
|
|
586
|
-
};
|
|
582
|
+
$slots: Readonly<import('./types').VroElSchemaFilterSlots> & import('./types').VroElSchemaFilterSlots;
|
|
587
583
|
})>;
|
|
588
584
|
export default VroElSchemaFilter;
|
|
589
585
|
export type VroElSchemaFilterInstance = InstanceType<typeof VroElSchemaFilter>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import '../../style/base.css';
|
|
2
2
|
import '../../vro-el-file-upload/style/index.css';
|
|
3
3
|
import '../../vro-el-image-upload/style/index.css';
|
|
4
|
+
import '../../vro-el-image/style/index.css';
|
|
4
5
|
import './index.css';
|
|
5
6
|
import '../../vro-el-schema-form/style/index.css';
|
|
7
|
+
import '../../vro-el-tags/style/index.css';
|
|
6
8
|
import '../../vro-el-tree/style/index.css';
|
|
7
9
|
/* empty css */
|
|
8
10
|
/* empty css */
|
|
9
11
|
/* empty css */
|
|
12
|
+
import "@vrojs/base/src/vro-loading/style/css";
|
|
13
|
+
import "@vrojs/base/src/vro-icon/style/css";
|
|
14
|
+
/* empty css */
|
|
10
15
|
/* empty css */
|
|
11
16
|
/* empty css */
|
|
12
17
|
/* empty css */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vro-el-schema-filter{display:block;box-sizing:border-box;overflow:hidden;padding:
|
|
1
|
+
:root,:host{--vro-el-schema-filter-padding: 0 16px 16px;--vro-el-schema-filter-background: var(--el-bg-color);--vro-el-schema-filter-col-margin-top: 16px}.vro-el-schema-filter{display:block;box-sizing:border-box;overflow:hidden;padding:var(--vro-el-schema-filter-padding);background-color:var(--vro-el-schema-filter-background)}.vro-el-schema-filter .el-form-item__label{display:flex;align-items:center;text-align:right;line-height:1.1;margin-bottom:0}.vro-el-schema-filter .el-form-item{margin-bottom:0}.vro-el-schema-filter .el-col{margin-top:var(--vro-el-schema-filter-col-margin-top)}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import '../../style/base.css';
|
|
2
2
|
import '../../vro-el-file-upload/style/index.css';
|
|
3
3
|
import '../../vro-el-image-upload/style/index.css';
|
|
4
|
+
import '../../vro-el-image/style/index.css';
|
|
4
5
|
import './index.css';
|
|
5
6
|
import '../../vro-el-schema-form/style/index.css';
|
|
7
|
+
import '../../vro-el-tags/style/index.css';
|
|
6
8
|
import '../../vro-el-tree/style/index.css';
|
|
7
9
|
import "element-plus/es/components/checkbox-group/style/css";
|
|
8
10
|
import "element-plus/es/components/checkbox/style/css";
|
|
@@ -29,6 +31,9 @@ import "element-plus/es/components/tree-select/style/css";
|
|
|
29
31
|
/* empty css */
|
|
30
32
|
/* empty css */
|
|
31
33
|
/* empty css */
|
|
34
|
+
import "@vrojs/base/src/vro-loading/style/css";
|
|
35
|
+
import "@vrojs/base/src/vro-icon/style/css";
|
|
36
|
+
/* empty css */
|
|
32
37
|
/* empty css */
|
|
33
38
|
/* empty css */
|
|
34
39
|
/* empty css */
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { VroSlot } from '@vrojs/base';
|
|
1
2
|
import { ColProps } from 'element-plus';
|
|
2
3
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
import { VroElSchemaFormSlotProps } from '../vro-el-schema-form';
|
|
5
|
+
export type VroElSchemaFilterQueryValue = Record<string, any>;
|
|
6
|
+
export interface VroElSchemaFilterEmits {
|
|
7
|
+
query: [value: VroElSchemaFilterQueryValue];
|
|
8
|
+
reset: [];
|
|
9
|
+
}
|
|
3
10
|
export declare const vroElSchemaFilterProps: {
|
|
4
11
|
/**
|
|
5
12
|
* 筛选项默认栅格配置。
|
|
@@ -39,3 +46,13 @@ export declare const vroElSchemaFilterProps: {
|
|
|
39
46
|
};
|
|
40
47
|
};
|
|
41
48
|
export type VroElSchemaFilterProps = ExtractPropTypes<typeof vroElSchemaFilterProps>;
|
|
49
|
+
export interface VroElSchemaFilterSlots {
|
|
50
|
+
/**
|
|
51
|
+
* 搜索、重置按钮后的自定义内容。
|
|
52
|
+
*/
|
|
53
|
+
default?: VroSlot;
|
|
54
|
+
/**
|
|
55
|
+
* 转发给内部 VroElSchemaForm 的字段插槽。
|
|
56
|
+
*/
|
|
57
|
+
[key: string]: ((props: VroElSchemaFormSlotProps) => any) | VroSlot | undefined;
|
|
58
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
import { VroElSchemaFilterSlots } from './types';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
|
-
slots:
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
4
|
+
slots: Readonly<VroElSchemaFilterSlots> & VroElSchemaFilterSlots;
|
|
6
5
|
refs: {
|
|
7
|
-
|
|
6
|
+
schemaFormRef: ({
|
|
8
7
|
$: import('vue').ComponentInternalInstance;
|
|
9
8
|
$data: {};
|
|
10
9
|
$props: Partial<{
|
|
@@ -19,8 +18,8 @@ declare function __VLS_template(): {
|
|
|
19
18
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
20
19
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
21
20
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
22
|
-
readonly "onChange-field"?: ((
|
|
23
|
-
readonly "onInput-field"?: ((
|
|
21
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
22
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
24
23
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
25
24
|
$attrs: {
|
|
26
25
|
[x: string]: unknown;
|
|
@@ -28,7 +27,7 @@ declare function __VLS_template(): {
|
|
|
28
27
|
$refs: {
|
|
29
28
|
[x: string]: unknown;
|
|
30
29
|
} & {
|
|
31
|
-
|
|
30
|
+
formRef: ({
|
|
32
31
|
$: import('vue').ComponentInternalInstance;
|
|
33
32
|
$data: {};
|
|
34
33
|
$props: {
|
|
@@ -129,7 +128,7 @@ declare function __VLS_template(): {
|
|
|
129
128
|
default?: (props: {}) => any;
|
|
130
129
|
};
|
|
131
130
|
}) | null;
|
|
132
|
-
|
|
131
|
+
componentRefs: unknown;
|
|
133
132
|
};
|
|
134
133
|
$slots: Readonly<{
|
|
135
134
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -137,7 +136,7 @@ declare function __VLS_template(): {
|
|
|
137
136
|
$root: import('vue').ComponentPublicInstance | null;
|
|
138
137
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
139
138
|
$host: Element | null;
|
|
140
|
-
$emit: ((event: "change-field",
|
|
139
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
141
140
|
$el: any;
|
|
142
141
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
143
142
|
formProps: {
|
|
@@ -161,10 +160,10 @@ declare function __VLS_template(): {
|
|
|
161
160
|
default: () => {};
|
|
162
161
|
};
|
|
163
162
|
}>> & Readonly<{
|
|
164
|
-
"onChange-field"?: ((
|
|
165
|
-
"onInput-field"?: ((
|
|
163
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
164
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
166
165
|
}>, {
|
|
167
|
-
|
|
166
|
+
elForm: {
|
|
168
167
|
$: import('vue').ComponentInternalInstance;
|
|
169
168
|
$data: {};
|
|
170
169
|
$props: {
|
|
@@ -275,8 +274,8 @@ declare function __VLS_template(): {
|
|
|
275
274
|
extractValues: () => Promise<Record<string, any>>;
|
|
276
275
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
277
276
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
278
|
-
"change-field": (
|
|
279
|
-
"input-field": (
|
|
277
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
278
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
280
279
|
}, string, {
|
|
281
280
|
colProps: Partial<import('element-plus').ColProps>;
|
|
282
281
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -331,10 +330,10 @@ declare function __VLS_template(): {
|
|
|
331
330
|
default: () => {};
|
|
332
331
|
};
|
|
333
332
|
}>> & Readonly<{
|
|
334
|
-
"onChange-field"?: ((
|
|
335
|
-
"onInput-field"?: ((
|
|
336
|
-
}>, "
|
|
337
|
-
|
|
333
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
334
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
335
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
336
|
+
elForm: {
|
|
338
337
|
$: import('vue').ComponentInternalInstance;
|
|
339
338
|
$data: {};
|
|
340
339
|
$props: {
|
|
@@ -445,9 +444,7 @@ declare function __VLS_template(): {
|
|
|
445
444
|
extractValues: () => Promise<Record<string, any>>;
|
|
446
445
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
447
446
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
448
|
-
$slots:
|
|
449
|
-
default?(_: {}): any;
|
|
450
|
-
};
|
|
447
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
451
448
|
}) | null;
|
|
452
449
|
};
|
|
453
450
|
rootEl: any;
|
|
@@ -482,8 +479,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
482
479
|
default: () => {};
|
|
483
480
|
};
|
|
484
481
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
485
|
-
reset: (
|
|
486
|
-
query: (
|
|
482
|
+
reset: () => any;
|
|
483
|
+
query: (value: import('./types').VroElSchemaFilterQueryValue) => any;
|
|
487
484
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
488
485
|
colProps: {
|
|
489
486
|
type: import('vue').PropType<Partial<import('element-plus').ColProps>>;
|
|
@@ -513,8 +510,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
513
510
|
default: () => {};
|
|
514
511
|
};
|
|
515
512
|
}>> & Readonly<{
|
|
516
|
-
onReset?: ((
|
|
517
|
-
onQuery?: ((
|
|
513
|
+
onReset?: (() => any) | undefined;
|
|
514
|
+
onQuery?: ((value: import('./types').VroElSchemaFilterQueryValue) => any) | undefined;
|
|
518
515
|
}>, {
|
|
519
516
|
loading: boolean;
|
|
520
517
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -524,7 +521,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
524
521
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
525
522
|
schema: import('..').VroElSchemaFormSchema;
|
|
526
523
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
527
|
-
|
|
524
|
+
schemaFormRef: ({
|
|
528
525
|
$: import('vue').ComponentInternalInstance;
|
|
529
526
|
$data: {};
|
|
530
527
|
$props: Partial<{
|
|
@@ -539,8 +536,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
539
536
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
540
537
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
541
538
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
542
|
-
readonly "onChange-field"?: ((
|
|
543
|
-
readonly "onInput-field"?: ((
|
|
539
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
540
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
544
541
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
545
542
|
$attrs: {
|
|
546
543
|
[x: string]: unknown;
|
|
@@ -548,7 +545,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
548
545
|
$refs: {
|
|
549
546
|
[x: string]: unknown;
|
|
550
547
|
} & {
|
|
551
|
-
|
|
548
|
+
formRef: ({
|
|
552
549
|
$: import('vue').ComponentInternalInstance;
|
|
553
550
|
$data: {};
|
|
554
551
|
$props: {
|
|
@@ -649,7 +646,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
649
646
|
default?: (props: {}) => any;
|
|
650
647
|
};
|
|
651
648
|
}) | null;
|
|
652
|
-
|
|
649
|
+
componentRefs: unknown;
|
|
653
650
|
};
|
|
654
651
|
$slots: Readonly<{
|
|
655
652
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -657,7 +654,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
657
654
|
$root: import('vue').ComponentPublicInstance | null;
|
|
658
655
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
659
656
|
$host: Element | null;
|
|
660
|
-
$emit: ((event: "change-field",
|
|
657
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
661
658
|
$el: any;
|
|
662
659
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
663
660
|
formProps: {
|
|
@@ -681,10 +678,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
681
678
|
default: () => {};
|
|
682
679
|
};
|
|
683
680
|
}>> & Readonly<{
|
|
684
|
-
"onChange-field"?: ((
|
|
685
|
-
"onInput-field"?: ((
|
|
681
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
682
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
686
683
|
}>, {
|
|
687
|
-
|
|
684
|
+
elForm: {
|
|
688
685
|
$: import('vue').ComponentInternalInstance;
|
|
689
686
|
$data: {};
|
|
690
687
|
$props: {
|
|
@@ -795,8 +792,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
795
792
|
extractValues: () => Promise<Record<string, any>>;
|
|
796
793
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
797
794
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
798
|
-
"change-field": (
|
|
799
|
-
"input-field": (
|
|
795
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
796
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
800
797
|
}, string, {
|
|
801
798
|
colProps: Partial<import('element-plus').ColProps>;
|
|
802
799
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -851,10 +848,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
851
848
|
default: () => {};
|
|
852
849
|
};
|
|
853
850
|
}>> & Readonly<{
|
|
854
|
-
"onChange-field"?: ((
|
|
855
|
-
"onInput-field"?: ((
|
|
856
|
-
}>, "
|
|
857
|
-
|
|
851
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
852
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
853
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
854
|
+
elForm: {
|
|
858
855
|
$: import('vue').ComponentInternalInstance;
|
|
859
856
|
$data: {};
|
|
860
857
|
$props: {
|
|
@@ -965,9 +962,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
965
962
|
extractValues: () => Promise<Record<string, any>>;
|
|
966
963
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
967
964
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
968
|
-
$slots:
|
|
969
|
-
default?(_: {}): any;
|
|
970
|
-
};
|
|
965
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
971
966
|
}) | null;
|
|
972
967
|
}, any>;
|
|
973
968
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,60 +1,72 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { filterEmptyValue as
|
|
3
|
-
import { Search as
|
|
4
|
-
import { ElCol as
|
|
5
|
-
import { useLocale as
|
|
6
|
-
import { VroElSchemaForm as
|
|
7
|
-
import { vroElSchemaFilterProps as
|
|
8
|
-
|
|
1
|
+
import { defineComponent as V, useSlots as b, computed as p, useTemplateRef as w, createBlock as C, openBlock as T, unref as t, mergeProps as _, withKeys as j, withModifiers as B, createSlots as K, withCtx as s, createVNode as l, normalizeProps as m, guardReactiveProps as c, renderSlot as d, createTextVNode as h, toDisplayString as y, renderList as N } from "vue";
|
|
2
|
+
import { pick as O, typedKeys as q, filterEmptyValue as I, isUndefined as L, isFunction as W, isArray as $, isObject as x } from "@daysnap/utils";
|
|
3
|
+
import { Search as z, RefreshRight as A } from "@element-plus/icons-vue";
|
|
4
|
+
import { ElCol as D, ElFormItem as M, ElButton as v } from "element-plus";
|
|
5
|
+
import { useLocale as Q } from "../locale/useLocale.js";
|
|
6
|
+
import { VroElSchemaForm as U } from "../vro-el-schema-form/index.js";
|
|
7
|
+
import { vroElSchemaFilterProps as G } from "./types.js";
|
|
8
|
+
import { vroElSchemaFormProps as H } from "../vro-el-schema-form/types.js";
|
|
9
|
+
const se = /* @__PURE__ */ V({
|
|
9
10
|
name: "VroElSchemaFilter",
|
|
10
11
|
__name: "vro-el-schema-filter",
|
|
11
|
-
props:
|
|
12
|
+
props: G,
|
|
12
13
|
emits: ["query", "reset"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
setup(F, { emit: g }) {
|
|
15
|
+
const f = g, S = b(), a = F, { t: u } = Q(), P = p(() => Object.keys(S).filter((e) => e !== "default")), E = p(() => {
|
|
16
|
+
const e = O(a, q(H));
|
|
17
|
+
return {
|
|
18
|
+
...e,
|
|
19
|
+
formProps: {
|
|
20
|
+
labelWidth: a.labelWidth,
|
|
21
|
+
...e.formProps
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}), i = w("schemaFormRef"), n = async () => {
|
|
25
|
+
if (a.loading)
|
|
26
|
+
return;
|
|
27
|
+
const e = await i.value?.extractValues() ?? {};
|
|
28
|
+
f("query", I(e, !0));
|
|
29
|
+
}, R = async () => {
|
|
30
|
+
a.loading || (Object.values(a.schema).forEach((e) => {
|
|
31
|
+
let { value: r, resetValue: o } = e;
|
|
32
|
+
L(o) ? $(r) ? r = [] : x(r) ? r = {} : r = "" : r = W(o) ? o(r) : o, e.value = r;
|
|
33
|
+
}), i.value?.resetFields(), f("reset"), await n());
|
|
22
34
|
};
|
|
23
|
-
return (
|
|
24
|
-
ref_key: "
|
|
35
|
+
return (e, r) => (T(), C(t(U), _(E.value, {
|
|
36
|
+
ref_key: "schemaFormRef",
|
|
25
37
|
ref: i,
|
|
26
38
|
class: "vro-el-schema-filter",
|
|
27
|
-
onSubmit:
|
|
39
|
+
onSubmit: r[0] || (r[0] = B(() => {
|
|
28
40
|
}, ["prevent"])),
|
|
29
|
-
onKeyup:
|
|
30
|
-
}), {
|
|
31
|
-
default:
|
|
32
|
-
l(
|
|
33
|
-
default:
|
|
34
|
-
l(
|
|
35
|
-
default:
|
|
36
|
-
l(
|
|
41
|
+
onKeyup: j(n, ["enter"])
|
|
42
|
+
}), K({
|
|
43
|
+
default: s(() => [
|
|
44
|
+
l(t(D), m(c(e.colProps)), {
|
|
45
|
+
default: s(() => [
|
|
46
|
+
l(t(M), m(c(e.formItemProps)), {
|
|
47
|
+
default: s(() => [
|
|
48
|
+
l(t(v), {
|
|
37
49
|
type: "primary",
|
|
38
|
-
icon:
|
|
39
|
-
loading:
|
|
40
|
-
onClick:
|
|
50
|
+
icon: t(z),
|
|
51
|
+
loading: e.loading,
|
|
52
|
+
onClick: n
|
|
41
53
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
|
|
54
|
+
default: s(() => [
|
|
55
|
+
h(y(t(u)("schemaFilter.searchText")), 1)
|
|
44
56
|
]),
|
|
45
57
|
_: 1
|
|
46
58
|
}, 8, ["icon", "loading"]),
|
|
47
|
-
l(
|
|
48
|
-
icon:
|
|
49
|
-
loading:
|
|
50
|
-
onClick:
|
|
59
|
+
l(t(v), {
|
|
60
|
+
icon: t(A),
|
|
61
|
+
loading: e.loading,
|
|
62
|
+
onClick: R
|
|
51
63
|
}, {
|
|
52
|
-
default:
|
|
53
|
-
|
|
64
|
+
default: s(() => [
|
|
65
|
+
h(y(t(u)("schemaFilter.resetText")), 1)
|
|
54
66
|
]),
|
|
55
67
|
_: 1
|
|
56
68
|
}, 8, ["icon", "loading"]),
|
|
57
|
-
|
|
69
|
+
d(e.$slots, "default")
|
|
58
70
|
]),
|
|
59
71
|
_: 3
|
|
60
72
|
}, 16)
|
|
@@ -62,10 +74,17 @@ const $ = /* @__PURE__ */ g({
|
|
|
62
74
|
_: 3
|
|
63
75
|
}, 16)
|
|
64
76
|
]),
|
|
65
|
-
_:
|
|
66
|
-
},
|
|
77
|
+
_: 2
|
|
78
|
+
}, [
|
|
79
|
+
N(P.value, (o) => ({
|
|
80
|
+
name: o,
|
|
81
|
+
fn: s((k) => [
|
|
82
|
+
d(e.$slots, o, m(c(k ?? {})))
|
|
83
|
+
])
|
|
84
|
+
}))
|
|
85
|
+
]), 1040));
|
|
67
86
|
}
|
|
68
87
|
});
|
|
69
88
|
export {
|
|
70
|
-
|
|
89
|
+
se as default
|
|
71
90
|
};
|