@qin-ui/antd-vue-pro 1.0.6 → 1.0.7
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 +3 -12
- package/es/index.d.ts +4 -10
- package/es/style.css +1 -1
- package/package.json +1 -1
package/es/form/index.js
CHANGED
|
@@ -16433,15 +16433,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16433
16433
|
style: unref(attrs).componentStyle,
|
|
16434
16434
|
path: _ctx.path
|
|
16435
16435
|
}), createSlots({ _: 2 }, [
|
|
16436
|
-
!unref(COMPONENT_MAP).has(_ctx.component) ? {
|
|
16437
|
-
name: "default",
|
|
16438
|
-
fn: withCtx(() => [
|
|
16439
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.$slots, (slot, name) => {
|
|
16440
|
-
return renderSlot(_ctx.$slots, name, { key: name }, void 0, true);
|
|
16441
|
-
}), 128))
|
|
16442
|
-
]),
|
|
16443
|
-
key: "0"
|
|
16444
|
-
} : void 0,
|
|
16445
16436
|
renderList(unref(attrs).slots, (slot, name) => {
|
|
16446
16437
|
return {
|
|
16447
16438
|
name,
|
|
@@ -16455,12 +16446,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16455
16446
|
})
|
|
16456
16447
|
]), 1040, ["value", "class", "style", "path"]))
|
|
16457
16448
|
]),
|
|
16458
|
-
_:
|
|
16449
|
+
_: 1
|
|
16459
16450
|
}, 8, ["component", "path"]);
|
|
16460
16451
|
};
|
|
16461
16452
|
}
|
|
16462
16453
|
});
|
|
16463
|
-
const
|
|
16454
|
+
const index_vue_vue_type_style_index_0_scoped_188e985a_lang = "";
|
|
16464
16455
|
const _export_sfc = (sfc, props) => {
|
|
16465
16456
|
const target = sfc.__vccOpts || sfc;
|
|
16466
16457
|
for (const [key, val] of props) {
|
|
@@ -16468,7 +16459,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
16468
16459
|
}
|
|
16469
16460
|
return target;
|
|
16470
16461
|
};
|
|
16471
|
-
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
16462
|
+
const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-188e985a"]]);
|
|
16472
16463
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
16473
16464
|
...{
|
|
16474
16465
|
name: "ContainerFragment",
|
package/es/index.d.ts
CHANGED
|
@@ -69,12 +69,6 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
73
|
-
new (): {
|
|
74
|
-
$slots: S;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
|
|
78
72
|
export declare type AppendField = (path: string, field: Field) => void;
|
|
79
73
|
|
|
80
74
|
/**
|
|
@@ -89,7 +83,7 @@ export declare type AutoCommand = Record<CommandTrigger, Commands>;
|
|
|
89
83
|
|
|
90
84
|
export declare type BaseComponentStringName = Exclude<Field['component'], RenderComponentType | undefined>;
|
|
91
85
|
|
|
92
|
-
export declare const BaseField:
|
|
86
|
+
export declare const BaseField: DefineComponent<{
|
|
93
87
|
path: {
|
|
94
88
|
type: PropType<string>;
|
|
95
89
|
default: string;
|
|
@@ -125,7 +119,7 @@ export declare const BaseField: __VLS_WithTemplateSlots_2<DefineComponent<{
|
|
|
125
119
|
path: string;
|
|
126
120
|
label: SlotComponentType;
|
|
127
121
|
component: RenderComponentType | "input" | "textarea" | "input-password" | "input-search" | "input-number" | "select" | "cascader" | "date-picker" | "range-picker" | "time-picker" | "checkbox-group" | "radio-group" | "switch" | "slider" | "tree-select" | "transfer" | undefined;
|
|
128
|
-
}, {}
|
|
122
|
+
}, {}>;
|
|
129
123
|
|
|
130
124
|
export declare type BaseFieldAttrs = FieldAttrsType[keyof FieldAttrsType];
|
|
131
125
|
|
|
@@ -236,7 +230,7 @@ export declare type Condition = {
|
|
|
236
230
|
|
|
237
231
|
export declare type ContainerComponent = FunctionalComponent | DefineComponent;
|
|
238
232
|
|
|
239
|
-
export declare const ContainerFragment:
|
|
233
|
+
export declare const ContainerFragment: __VLS_WithTemplateSlots_2<DefineComponent<{
|
|
240
234
|
component: {
|
|
241
235
|
type: PropType<any>;
|
|
242
236
|
};
|
|
@@ -1720,7 +1714,7 @@ export declare type Refs = {
|
|
|
1720
1714
|
* @description 自定义组件
|
|
1721
1715
|
* @example (renderProps, ctx) => h('div', ctx.attrs)
|
|
1722
1716
|
*/
|
|
1723
|
-
export declare type RenderComponentType = FunctionalComponent<RenderProps>;
|
|
1717
|
+
export declare type RenderComponentType = FunctionalComponent<RenderProps> | DefineComponent<RenderProps>;
|
|
1724
1718
|
|
|
1725
1719
|
declare type RenderProps = {
|
|
1726
1720
|
path: string;
|
package/es/style.css
CHANGED