@faasjs/ant-design 0.0.2-beta.451 → 0.0.2-beta.452
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.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -273,7 +273,8 @@ function DescriptionItemContent(props) {
|
|
|
273
273
|
case "object":
|
|
274
274
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Description, {
|
|
275
275
|
items: computedProps.item.object,
|
|
276
|
-
dataSource: computedProps.value
|
|
276
|
+
dataSource: computedProps.value,
|
|
277
|
+
column: 1
|
|
277
278
|
});
|
|
278
279
|
case "object[]":
|
|
279
280
|
if (!((_a = computedProps.value) == null ? void 0 : _a.length))
|
|
@@ -282,7 +283,8 @@ function DescriptionItemContent(props) {
|
|
|
282
283
|
direction: "vertical",
|
|
283
284
|
children: computedProps.value.map((value, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Description, {
|
|
284
285
|
items: computedProps.item.object,
|
|
285
|
-
dataSource: value
|
|
286
|
+
dataSource: value,
|
|
287
|
+
column: 1
|
|
286
288
|
}, index))
|
|
287
289
|
});
|
|
288
290
|
default:
|
|
@@ -687,7 +689,7 @@ function FormItem(props) {
|
|
|
687
689
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_antd5.Row, {
|
|
688
690
|
gutter: 24,
|
|
689
691
|
children: computedProps.object.map((o) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_antd5.Col, {
|
|
690
|
-
span: o.col ||
|
|
692
|
+
span: o.col || 24,
|
|
691
693
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(FormItem, {
|
|
692
694
|
...o,
|
|
693
695
|
name: [field.name, o.id]
|
package/dist/index.mjs
CHANGED
|
@@ -234,7 +234,8 @@ function DescriptionItemContent(props) {
|
|
|
234
234
|
case "object":
|
|
235
235
|
return /* @__PURE__ */ jsx3(Description, {
|
|
236
236
|
items: computedProps.item.object,
|
|
237
|
-
dataSource: computedProps.value
|
|
237
|
+
dataSource: computedProps.value,
|
|
238
|
+
column: 1
|
|
238
239
|
});
|
|
239
240
|
case "object[]":
|
|
240
241
|
if (!((_a = computedProps.value) == null ? void 0 : _a.length))
|
|
@@ -243,7 +244,8 @@ function DescriptionItemContent(props) {
|
|
|
243
244
|
direction: "vertical",
|
|
244
245
|
children: computedProps.value.map((value, index) => /* @__PURE__ */ jsx3(Description, {
|
|
245
246
|
items: computedProps.item.object,
|
|
246
|
-
dataSource: value
|
|
247
|
+
dataSource: value,
|
|
248
|
+
column: 1
|
|
247
249
|
}, index))
|
|
248
250
|
});
|
|
249
251
|
default:
|
|
@@ -667,7 +669,7 @@ function FormItem(props) {
|
|
|
667
669
|
/* @__PURE__ */ jsx6(Row, {
|
|
668
670
|
gutter: 24,
|
|
669
671
|
children: computedProps.object.map((o) => /* @__PURE__ */ jsx6(Col, {
|
|
670
|
-
span: o.col ||
|
|
672
|
+
span: o.col || 24,
|
|
671
673
|
children: /* @__PURE__ */ jsx6(FormItem, {
|
|
672
674
|
...o,
|
|
673
675
|
name: [field.name, o.id]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/ant-design",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.452",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lodash": "*",
|
|
29
29
|
"react": "*",
|
|
30
30
|
"react-dom": "*",
|
|
31
|
-
"@faasjs/react": "^0.0.2-beta.
|
|
31
|
+
"@faasjs/react": "^0.0.2-beta.452",
|
|
32
32
|
"react-router-dom": "*",
|
|
33
33
|
"dayjs": "*"
|
|
34
34
|
},
|