@qin-ui/antd-vue-pro 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/form/index.js +6 -33
- package/es/index.d.ts +8 -20
- package/package.json +1 -1
package/es/form/index.js
CHANGED
|
@@ -11669,24 +11669,21 @@ const _export_sfc = (sfc, props) => {
|
|
|
11669
11669
|
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-02f40823"]]);
|
|
11670
11670
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
11671
11671
|
...{
|
|
11672
|
-
name: "ContainerFragment"
|
|
11672
|
+
name: "ContainerFragment",
|
|
11673
|
+
inheritAttrs: false
|
|
11673
11674
|
},
|
|
11674
11675
|
__name: "index",
|
|
11675
11676
|
props: {
|
|
11676
|
-
component: {}
|
|
11677
|
-
path: {}
|
|
11677
|
+
component: {}
|
|
11678
11678
|
},
|
|
11679
11679
|
setup(__props) {
|
|
11680
11680
|
return (_ctx, _cache) => {
|
|
11681
|
-
return _ctx.component ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.component), {
|
|
11682
|
-
key: 0,
|
|
11683
|
-
path: _ctx.path
|
|
11684
|
-
}, {
|
|
11681
|
+
return _ctx.component ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.component), normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs)), {
|
|
11685
11682
|
default: withCtx(() => [
|
|
11686
11683
|
renderSlot(_ctx.$slots, "default")
|
|
11687
11684
|
]),
|
|
11688
11685
|
_: 3
|
|
11689
|
-
},
|
|
11686
|
+
}, 16)) : renderSlot(_ctx.$slots, "default", { key: 1 });
|
|
11690
11687
|
};
|
|
11691
11688
|
}
|
|
11692
11689
|
});
|
|
@@ -11717,31 +11714,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11717
11714
|
formData: { default: () => ({}) },
|
|
11718
11715
|
fields: { default: () => [] },
|
|
11719
11716
|
grid: { type: [Boolean, Object], default: false },
|
|
11720
|
-
autoCommandDisabled: { type: Boolean, default: false }
|
|
11721
|
-
scrollToFirstError: { type: [Boolean, Object] },
|
|
11722
|
-
layout: {},
|
|
11723
|
-
labelCol: {},
|
|
11724
|
-
wrapperCol: {},
|
|
11725
|
-
colon: { type: Boolean },
|
|
11726
|
-
labelAlign: {},
|
|
11727
|
-
labelWrap: { type: Boolean },
|
|
11728
|
-
prefixCls: {},
|
|
11729
|
-
requiredMark: {},
|
|
11730
|
-
hideRequiredMark: { type: Boolean },
|
|
11731
|
-
model: {},
|
|
11732
|
-
rules: {},
|
|
11733
|
-
validateMessages: {},
|
|
11734
|
-
validateOnRuleChange: { type: Boolean },
|
|
11735
|
-
onSubmit: {},
|
|
11736
|
-
name: {},
|
|
11737
|
-
validateTrigger: {},
|
|
11738
|
-
size: {},
|
|
11739
|
-
disabled: { type: Boolean },
|
|
11740
|
-
onValuesChange: {},
|
|
11741
|
-
onFieldsChange: {},
|
|
11742
|
-
onFinish: {},
|
|
11743
|
-
onFinishFailed: {},
|
|
11744
|
-
onValidate: {}
|
|
11717
|
+
autoCommandDisabled: { type: Boolean, default: false }
|
|
11745
11718
|
},
|
|
11746
11719
|
emits: ["update:formData"],
|
|
11747
11720
|
setup(__props, { expose: __expose, emit }) {
|
package/es/index.d.ts
CHANGED
|
@@ -234,26 +234,16 @@ export declare type Condition = {
|
|
|
234
234
|
disabled?: boolean;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
export declare type ContainerComponent = FunctionalComponent
|
|
238
|
-
path?: string;
|
|
239
|
-
}> | DefineComponent<{
|
|
240
|
-
path?: string;
|
|
241
|
-
}, object, any>;
|
|
237
|
+
export declare type ContainerComponent = FunctionalComponent | DefineComponent;
|
|
242
238
|
|
|
243
239
|
export declare const ContainerFragment: __VLS_WithTemplateSlots_3<DefineComponent<{
|
|
244
240
|
component: {
|
|
245
241
|
type: PropType<any>;
|
|
246
242
|
};
|
|
247
|
-
path: {
|
|
248
|
-
type: PropType<string>;
|
|
249
|
-
};
|
|
250
243
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
251
244
|
component: {
|
|
252
245
|
type: PropType<any>;
|
|
253
246
|
};
|
|
254
|
-
path: {
|
|
255
|
-
type: PropType<string>;
|
|
256
|
-
};
|
|
257
247
|
}>>, {}, {}>, {
|
|
258
248
|
default?(_: {}): any;
|
|
259
249
|
}>;
|
|
@@ -273,7 +263,7 @@ declare const _default_2: __VLS_WithTemplateSlots<DefineComponent<{
|
|
|
273
263
|
type: PropType<string>;
|
|
274
264
|
};
|
|
275
265
|
size: {
|
|
276
|
-
type: PropType<"
|
|
266
|
+
type: PropType<"middle" | "small" | "large">;
|
|
277
267
|
};
|
|
278
268
|
disabled: {
|
|
279
269
|
type: PropType<boolean>;
|
|
@@ -450,7 +440,7 @@ declare const _default_2: __VLS_WithTemplateSlots<DefineComponent<{
|
|
|
450
440
|
type: PropType<string>;
|
|
451
441
|
};
|
|
452
442
|
size: {
|
|
453
|
-
type: PropType<"
|
|
443
|
+
type: PropType<"middle" | "small" | "large">;
|
|
454
444
|
};
|
|
455
445
|
disabled: {
|
|
456
446
|
type: PropType<boolean>;
|
|
@@ -991,7 +981,7 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
991
981
|
autoCommandDisabled?: boolean | undefined;
|
|
992
982
|
readonly prefixCls?: string | undefined;
|
|
993
983
|
readonly name?: string | undefined;
|
|
994
|
-
readonly size?: "
|
|
984
|
+
readonly size?: "middle" | "small" | "large" | undefined;
|
|
995
985
|
readonly disabled?: boolean | undefined;
|
|
996
986
|
readonly labelCol?: (Partial<ExtractPropTypes<{
|
|
997
987
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -1148,7 +1138,7 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
1148
1138
|
type: PropType<string>;
|
|
1149
1139
|
};
|
|
1150
1140
|
size: {
|
|
1151
|
-
type: PropType<"
|
|
1141
|
+
type: PropType<"middle" | "small" | "large">;
|
|
1152
1142
|
};
|
|
1153
1143
|
disabled: {
|
|
1154
1144
|
type: PropType<boolean>;
|
|
@@ -1353,7 +1343,7 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
1353
1343
|
type: PropType<string>;
|
|
1354
1344
|
};
|
|
1355
1345
|
size: {
|
|
1356
|
-
type: PropType<"
|
|
1346
|
+
type: PropType<"middle" | "small" | "large">;
|
|
1357
1347
|
};
|
|
1358
1348
|
disabled: {
|
|
1359
1349
|
type: PropType<boolean>;
|
|
@@ -1534,7 +1524,7 @@ export declare const ProForm: SFCWithInstall<{
|
|
|
1534
1524
|
type: PropType<string>;
|
|
1535
1525
|
};
|
|
1536
1526
|
size: {
|
|
1537
|
-
type: PropType<"
|
|
1527
|
+
type: PropType<"middle" | "small" | "large">;
|
|
1538
1528
|
};
|
|
1539
1529
|
disabled: {
|
|
1540
1530
|
type: PropType<boolean>;
|
|
@@ -1794,9 +1784,7 @@ export declare const SlotComponent: DefineComponent<{
|
|
|
1794
1784
|
};
|
|
1795
1785
|
}>>, {}, {}>;
|
|
1796
1786
|
|
|
1797
|
-
export declare type SlotComponentType = string | VNode | FunctionalComponent
|
|
1798
|
-
path?: string;
|
|
1799
|
-
}>;
|
|
1787
|
+
export declare type SlotComponentType = string | VNode | FunctionalComponent;
|
|
1800
1788
|
|
|
1801
1789
|
declare type SwitchSlots = FieldSlot<'checkedChildren' | 'unCheckedChildren'>;
|
|
1802
1790
|
|