@qin-ui/antd-vue-pro 1.1.3 → 1.1.4
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/README.md +3 -5
- package/es/form/{index-9d8a33fe.js → index-9f36cc9e.js} +6 -1
- package/es/form/index.js +1 -1
- package/es/index.d.ts +52 -43
- package/es/index.js +2 -2
- package/es/table/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -188,10 +188,10 @@ ant-design-vue ui组件库form组件的二次封装
|
|
|
188
188
|
|
|
189
189
|
+ UseForm
|
|
190
190
|
|
|
191
|
-
自定义hook
|
|
191
|
+
自定义hook,由数个hook(useFormData、useFields、useFormRef)内聚产生。接收两个参数(initFormData, initFields)返回一个对象
|
|
192
192
|
|
|
193
193
|
```typescript
|
|
194
|
-
type Form = ReturnType<UseFields> & ReturnType<UseFormData>;
|
|
194
|
+
type Form = ReturnType<UseFields> & ReturnType<UseFormData> & ReturnType<UseFormRef>;
|
|
195
195
|
|
|
196
196
|
type UseForm = <T extends FormData>(
|
|
197
197
|
initFormData?: T,
|
|
@@ -254,14 +254,11 @@ import {
|
|
|
254
254
|
useForm,
|
|
255
255
|
ProComponentProvider,
|
|
256
256
|
type ComponentVars,
|
|
257
|
-
type ProFormInstance,
|
|
258
257
|
type Field,
|
|
259
258
|
type Fields,
|
|
260
259
|
} from '@qin-ui/antd-vue-pro/src';
|
|
261
260
|
import { h, ref } from 'vue';
|
|
262
261
|
|
|
263
|
-
const proFormRef = ref<ProFormInstance | null>(null);
|
|
264
|
-
|
|
265
262
|
const CodeContainer: Field['componentContainer'] = (p, ctx) => {
|
|
266
263
|
return h(
|
|
267
264
|
'div',
|
|
@@ -320,6 +317,7 @@ const initFields: Fields = [
|
|
|
320
317
|
];
|
|
321
318
|
|
|
322
319
|
const form = useForm({}, initFields);
|
|
320
|
+
const { formRef: proFormRef } = form
|
|
323
321
|
|
|
324
322
|
const componentVars: ComponentVars = {
|
|
325
323
|
input: { maxlength: 50, valueFormatter: val => val?.trim() },
|
|
@@ -16031,10 +16031,15 @@ const useFormData = (initFormData) => {
|
|
|
16031
16031
|
};
|
|
16032
16032
|
return { formData, getFormData, setFormData, activePath, setActivePath };
|
|
16033
16033
|
};
|
|
16034
|
+
const useFormRef = () => {
|
|
16035
|
+
const formRef = ref();
|
|
16036
|
+
return { formRef };
|
|
16037
|
+
};
|
|
16034
16038
|
const useForm = (initFormData = {}, initFields = []) => {
|
|
16035
16039
|
return {
|
|
16036
16040
|
...useFormData(initFormData),
|
|
16037
|
-
...useFields(initFields)
|
|
16041
|
+
...useFields(initFields),
|
|
16042
|
+
...useFormRef()
|
|
16038
16043
|
};
|
|
16039
16044
|
};
|
|
16040
16045
|
const isFunctionString = (param) => {
|
package/es/form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l, B, d, i, C, b, f, F, k, R, e, j, U, h, _, m, p, n, s, q, u, r, t } from "./index-
|
|
1
|
+
import { l, B, d, i, C, b, f, F, k, R, e, j, U, h, _, m, p, n, s, q, u, r, t } from "./index-9f36cc9e.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ant-design-vue";
|
|
4
4
|
import "../component-provider/index.js";
|
package/es/index.d.ts
CHANGED
|
@@ -1856,7 +1856,7 @@ export declare type FieldType = {
|
|
|
1856
1856
|
} & Record<string, any>;
|
|
1857
1857
|
};
|
|
1858
1858
|
|
|
1859
|
-
export declare type Form<D extends FormData_2 = FormData_2> = ReturnType<UseFormData<D>> & ReturnType<UseFields>;
|
|
1859
|
+
export declare type Form<D extends FormData_2 = FormData_2> = ReturnType<UseFormData<D>> & ReturnType<UseFields> & ReturnType<UseFormRef>;
|
|
1860
1860
|
|
|
1861
1861
|
export declare const FORM_DATA: InjectionKey<Record<string, any>>;
|
|
1862
1862
|
|
|
@@ -2093,7 +2093,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2093
2093
|
} | undefined;
|
|
2094
2094
|
readonly validateTrigger?: string | string[] | undefined;
|
|
2095
2095
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
2096
|
-
readonly form?: Form | undefined;
|
|
2097
2096
|
readonly layout?: string | undefined;
|
|
2098
2097
|
readonly labelWrap?: boolean | undefined;
|
|
2099
2098
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -2109,6 +2108,7 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2109
2108
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
2110
2109
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
2111
2110
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
2111
|
+
readonly form?: Form | undefined;
|
|
2112
2112
|
readonly activePath?: string | undefined;
|
|
2113
2113
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
2114
2114
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -2224,10 +2224,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2224
2224
|
type: PropType<Fields>;
|
|
2225
2225
|
default: () => never[];
|
|
2226
2226
|
};
|
|
2227
|
-
form: {
|
|
2228
|
-
type: PropType<Form>;
|
|
2229
|
-
default: undefined;
|
|
2230
|
-
};
|
|
2231
2227
|
layout: {
|
|
2232
2228
|
type: PropType<string>;
|
|
2233
2229
|
};
|
|
@@ -2269,6 +2265,10 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2269
2265
|
onValidate: {
|
|
2270
2266
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
2271
2267
|
};
|
|
2268
|
+
form: {
|
|
2269
|
+
type: PropType<Form>;
|
|
2270
|
+
default: undefined;
|
|
2271
|
+
};
|
|
2272
2272
|
autoCommandDisabled: {
|
|
2273
2273
|
type: PropType<boolean>;
|
|
2274
2274
|
default: boolean;
|
|
@@ -2423,7 +2423,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2423
2423
|
} | undefined;
|
|
2424
2424
|
readonly validateTrigger?: string | string[] | undefined;
|
|
2425
2425
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
2426
|
-
readonly form?: Form | undefined;
|
|
2427
2426
|
readonly layout?: string | undefined;
|
|
2428
2427
|
readonly labelWrap?: boolean | undefined;
|
|
2429
2428
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -2439,6 +2438,7 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2439
2438
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
2440
2439
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
2441
2440
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
2441
|
+
readonly form?: Form | undefined;
|
|
2442
2442
|
readonly activePath?: string | undefined;
|
|
2443
2443
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
2444
2444
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -2554,10 +2554,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2554
2554
|
type: PropType<Fields>;
|
|
2555
2555
|
default: () => never[];
|
|
2556
2556
|
};
|
|
2557
|
-
form: {
|
|
2558
|
-
type: PropType<Form>;
|
|
2559
|
-
default: undefined;
|
|
2560
|
-
};
|
|
2561
2557
|
layout: {
|
|
2562
2558
|
type: PropType<string>;
|
|
2563
2559
|
};
|
|
@@ -2599,6 +2595,10 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2599
2595
|
onValidate: {
|
|
2600
2596
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
2601
2597
|
};
|
|
2598
|
+
form: {
|
|
2599
|
+
type: PropType<Form>;
|
|
2600
|
+
default: undefined;
|
|
2601
|
+
};
|
|
2602
2602
|
autoCommandDisabled: {
|
|
2603
2603
|
type: PropType<boolean>;
|
|
2604
2604
|
default: boolean;
|
|
@@ -2769,7 +2769,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2769
2769
|
} | undefined;
|
|
2770
2770
|
readonly validateTrigger?: string | string[] | undefined;
|
|
2771
2771
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
2772
|
-
readonly form?: Form | undefined;
|
|
2773
2772
|
readonly layout?: string | undefined;
|
|
2774
2773
|
readonly labelWrap?: boolean | undefined;
|
|
2775
2774
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -2785,6 +2784,7 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2785
2784
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
2786
2785
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
2787
2786
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
2787
|
+
readonly form?: Form | undefined;
|
|
2788
2788
|
readonly activePath?: string | undefined;
|
|
2789
2789
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
2790
2790
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -2900,10 +2900,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2900
2900
|
type: PropType<Fields>;
|
|
2901
2901
|
default: () => never[];
|
|
2902
2902
|
};
|
|
2903
|
-
form: {
|
|
2904
|
-
type: PropType<Form>;
|
|
2905
|
-
default: undefined;
|
|
2906
|
-
};
|
|
2907
2903
|
layout: {
|
|
2908
2904
|
type: PropType<string>;
|
|
2909
2905
|
};
|
|
@@ -2945,6 +2941,10 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
2945
2941
|
onValidate: {
|
|
2946
2942
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
2947
2943
|
};
|
|
2944
|
+
form: {
|
|
2945
|
+
type: PropType<Form>;
|
|
2946
|
+
default: undefined;
|
|
2947
|
+
};
|
|
2948
2948
|
autoCommandDisabled: {
|
|
2949
2949
|
type: PropType<boolean>;
|
|
2950
2950
|
default: boolean;
|
|
@@ -3121,7 +3121,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3121
3121
|
} | undefined;
|
|
3122
3122
|
readonly validateTrigger?: string | string[] | undefined;
|
|
3123
3123
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
3124
|
-
readonly form?: Form | undefined;
|
|
3125
3124
|
readonly layout?: string | undefined;
|
|
3126
3125
|
readonly labelWrap?: boolean | undefined;
|
|
3127
3126
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -3137,6 +3136,7 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3137
3136
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
3138
3137
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
3139
3138
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
3139
|
+
readonly form?: Form | undefined;
|
|
3140
3140
|
readonly activePath?: string | undefined;
|
|
3141
3141
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
3142
3142
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -3252,10 +3252,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3252
3252
|
type: PropType<Fields>;
|
|
3253
3253
|
default: () => never[];
|
|
3254
3254
|
};
|
|
3255
|
-
form: {
|
|
3256
|
-
type: PropType<Form>;
|
|
3257
|
-
default: undefined;
|
|
3258
|
-
};
|
|
3259
3255
|
layout: {
|
|
3260
3256
|
type: PropType<string>;
|
|
3261
3257
|
};
|
|
@@ -3297,6 +3293,10 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3297
3293
|
onValidate: {
|
|
3298
3294
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
3299
3295
|
};
|
|
3296
|
+
form: {
|
|
3297
|
+
type: PropType<Form>;
|
|
3298
|
+
default: undefined;
|
|
3299
|
+
};
|
|
3300
3300
|
autoCommandDisabled: {
|
|
3301
3301
|
type: PropType<boolean>;
|
|
3302
3302
|
default: boolean;
|
|
@@ -3457,7 +3457,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3457
3457
|
} | undefined;
|
|
3458
3458
|
readonly validateTrigger?: string | string[] | undefined;
|
|
3459
3459
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
3460
|
-
readonly form?: Form | undefined;
|
|
3461
3460
|
readonly layout?: string | undefined;
|
|
3462
3461
|
readonly labelWrap?: boolean | undefined;
|
|
3463
3462
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -3473,6 +3472,7 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3473
3472
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
3474
3473
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
3475
3474
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
3475
|
+
readonly form?: Form | undefined;
|
|
3476
3476
|
readonly activePath?: string | undefined;
|
|
3477
3477
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
3478
3478
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -3588,10 +3588,6 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3588
3588
|
type: PropType<Fields>;
|
|
3589
3589
|
default: () => never[];
|
|
3590
3590
|
};
|
|
3591
|
-
form: {
|
|
3592
|
-
type: PropType<Form>;
|
|
3593
|
-
default: undefined;
|
|
3594
|
-
};
|
|
3595
3591
|
layout: {
|
|
3596
3592
|
type: PropType<string>;
|
|
3597
3593
|
};
|
|
@@ -3633,6 +3629,10 @@ export declare const ProComponentProvider: SFCWithInstall<{
|
|
|
3633
3629
|
onValidate: {
|
|
3634
3630
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
3635
3631
|
};
|
|
3632
|
+
form: {
|
|
3633
|
+
type: PropType<Form>;
|
|
3634
|
+
default: undefined;
|
|
3635
|
+
};
|
|
3636
3636
|
autoCommandDisabled: {
|
|
3637
3637
|
type: PropType<boolean>;
|
|
3638
3638
|
default: boolean;
|
|
@@ -3795,7 +3795,6 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
3795
3795
|
} | undefined;
|
|
3796
3796
|
readonly validateTrigger?: string | string[] | undefined;
|
|
3797
3797
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
3798
|
-
readonly form?: Form | undefined;
|
|
3799
3798
|
readonly layout?: string | undefined;
|
|
3800
3799
|
readonly labelWrap?: boolean | undefined;
|
|
3801
3800
|
readonly requiredMark?: "" | RequiredMark | undefined;
|
|
@@ -3811,6 +3810,7 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
3811
3810
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
3812
3811
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
3813
3812
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
3813
|
+
readonly form?: Form | undefined;
|
|
3814
3814
|
readonly activePath?: string | undefined;
|
|
3815
3815
|
"onUpdate:formData"?: ((val: FormData_2) => any) | undefined;
|
|
3816
3816
|
"onUpdate:activePath"?: ((val: string | undefined) => any) | undefined;
|
|
@@ -3926,10 +3926,6 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
3926
3926
|
type: PropType<Fields>;
|
|
3927
3927
|
default: () => never[];
|
|
3928
3928
|
};
|
|
3929
|
-
form: {
|
|
3930
|
-
type: PropType<Form>;
|
|
3931
|
-
default: undefined;
|
|
3932
|
-
};
|
|
3933
3929
|
layout: {
|
|
3934
3930
|
type: PropType<string>;
|
|
3935
3931
|
};
|
|
@@ -3971,6 +3967,10 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
3971
3967
|
onValidate: {
|
|
3972
3968
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
3973
3969
|
};
|
|
3970
|
+
form: {
|
|
3971
|
+
type: PropType<Form>;
|
|
3972
|
+
default: undefined;
|
|
3973
|
+
};
|
|
3974
3974
|
autoCommandDisabled: {
|
|
3975
3975
|
type: PropType<boolean>;
|
|
3976
3976
|
default: boolean;
|
|
@@ -4108,10 +4108,6 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4108
4108
|
type: PropType<Fields>;
|
|
4109
4109
|
default: () => never[];
|
|
4110
4110
|
};
|
|
4111
|
-
form: {
|
|
4112
|
-
type: PropType<Form>;
|
|
4113
|
-
default: undefined;
|
|
4114
|
-
};
|
|
4115
4111
|
layout: {
|
|
4116
4112
|
type: PropType<string>;
|
|
4117
4113
|
};
|
|
@@ -4153,6 +4149,10 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4153
4149
|
onValidate: {
|
|
4154
4150
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
4155
4151
|
};
|
|
4152
|
+
form: {
|
|
4153
|
+
type: PropType<Form>;
|
|
4154
|
+
default: undefined;
|
|
4155
|
+
};
|
|
4156
4156
|
autoCommandDisabled: {
|
|
4157
4157
|
type: PropType<boolean>;
|
|
4158
4158
|
default: boolean;
|
|
@@ -4320,10 +4320,6 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4320
4320
|
type: PropType<Fields>;
|
|
4321
4321
|
default: () => never[];
|
|
4322
4322
|
};
|
|
4323
|
-
form: {
|
|
4324
|
-
type: PropType<Form>;
|
|
4325
|
-
default: undefined;
|
|
4326
|
-
};
|
|
4327
4323
|
layout: {
|
|
4328
4324
|
type: PropType<string>;
|
|
4329
4325
|
};
|
|
@@ -4365,6 +4361,10 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4365
4361
|
onValidate: {
|
|
4366
4362
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
4367
4363
|
};
|
|
4364
|
+
form: {
|
|
4365
|
+
type: PropType<Form>;
|
|
4366
|
+
default: undefined;
|
|
4367
|
+
};
|
|
4368
4368
|
autoCommandDisabled: {
|
|
4369
4369
|
type: PropType<boolean>;
|
|
4370
4370
|
default: boolean;
|
|
@@ -4506,10 +4506,6 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4506
4506
|
type: PropType<Fields>;
|
|
4507
4507
|
default: () => never[];
|
|
4508
4508
|
};
|
|
4509
|
-
form: {
|
|
4510
|
-
type: PropType<Form>;
|
|
4511
|
-
default: undefined;
|
|
4512
|
-
};
|
|
4513
4509
|
layout: {
|
|
4514
4510
|
type: PropType<string>;
|
|
4515
4511
|
};
|
|
@@ -4551,6 +4547,10 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
4551
4547
|
onValidate: {
|
|
4552
4548
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
4553
4549
|
};
|
|
4550
|
+
form: {
|
|
4551
|
+
type: PropType<Form>;
|
|
4552
|
+
default: undefined;
|
|
4553
|
+
};
|
|
4554
4554
|
autoCommandDisabled: {
|
|
4555
4555
|
type: PropType<boolean>;
|
|
4556
4556
|
default: boolean;
|
|
@@ -6117,6 +6117,15 @@ export declare type UseFormData<D extends FormData_2 = FormData_2> = (initFormDa
|
|
|
6117
6117
|
|
|
6118
6118
|
export declare const useFormData: UseFormData;
|
|
6119
6119
|
|
|
6120
|
+
/**
|
|
6121
|
+
* @description useFormRef hook
|
|
6122
|
+
* @returns {Object}
|
|
6123
|
+
*/
|
|
6124
|
+
export declare type UseFormRef = () => {
|
|
6125
|
+
/** 表单组件实例引用Ref */
|
|
6126
|
+
formRef: Ref<ProFormInstance | undefined>;
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6120
6129
|
export declare const useInitProps: () => {
|
|
6121
6130
|
getInitProps: (field: Field) => Record<string, any>;
|
|
6122
6131
|
};
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { _ as _sfc_main } from "./form/index-
|
|
3
|
-
import { l, B, d, i, C, b, f, F, k, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-
|
|
2
|
+
import { _ as _sfc_main } from "./form/index-9f36cc9e.js";
|
|
3
|
+
import { l, B, d, i, C, b, f, F, k, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-9f36cc9e.js";
|
|
4
4
|
import BaseTable from "./table/index.js";
|
|
5
5
|
import { useTable } from "./table/index.js";
|
|
6
6
|
import _sfc_main$1 from "./component-provider/index.js";
|
package/es/table/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createVNode, defineComponent, ref, onMounted, openBlock, createElementBlock, unref, normalizeStyle, createElementVNode, withCtx, createTextVNode, createBlock, toDisplayString, createCommentVNode, mergeModels, useModel, computed, watch, Fragment, renderList, withModifiers, renderSlot, useAttrs, useSlots, mergeProps, createSlots, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
|
2
2
|
import { Button, Space, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
|
|
3
3
|
import { useInjectProps, INJECT_KEYS } from "../component-provider/index.js";
|
|
4
|
-
import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-
|
|
4
|
+
import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-9f36cc9e.js";
|
|
5
5
|
var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
|
|
6
6
|
const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
|
|
7
7
|
function _objectSpread$2(target) {
|