@cniot/mdd-editor 0.2.0-beta.31 → 0.2.0-beta.33
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 +6 -0
- package/build/index.cjs.js +10 -10
- package/build/index.es.js +32 -7
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -18031,6 +18031,36 @@ const formilySchema = ({ moduleDataSource = {} }) => {
|
|
|
18031
18031
|
}
|
|
18032
18032
|
},
|
|
18033
18033
|
"x-designable-id": "jtknf7sgpow"
|
|
18034
|
+
},
|
|
18035
|
+
delayLoadingMessageDuration: {
|
|
18036
|
+
type: "string",
|
|
18037
|
+
title: "loading\u63D0\u793A\u6700\u957F\u65F6\u957F",
|
|
18038
|
+
"x-decorator": "CnFormItem",
|
|
18039
|
+
"x-component": "Input",
|
|
18040
|
+
"x-validator": [],
|
|
18041
|
+
"x-component-props": {
|
|
18042
|
+
innerAfter: "\u6BEB\u79D2"
|
|
18043
|
+
},
|
|
18044
|
+
"x-decorator-props": {
|
|
18045
|
+
tip: "\u4EC5\u5F53 \u8BE5\u63A5\u53E3 \u54CD\u5E94\u65F6\u95F4 \u8FC7\u957F(\u4F8B\u5982 \u8D85\u8FC710\u79D2)\u65F6\u4F7F\u7528\uFF0C\u5176\u4ED6\u60C5\u51B5\u4E0D\u63A8\u8350\u4F7F\u7528\u3002key\uFF1AdelayLoadingMessageDuration"
|
|
18046
|
+
},
|
|
18047
|
+
name: "delayLoadingMessageDuration",
|
|
18048
|
+
"x-reactions": {
|
|
18049
|
+
dependencies: [
|
|
18050
|
+
{
|
|
18051
|
+
property: "value",
|
|
18052
|
+
type: "string | number",
|
|
18053
|
+
source: "action.type",
|
|
18054
|
+
name: "type"
|
|
18055
|
+
}
|
|
18056
|
+
],
|
|
18057
|
+
fulfill: {
|
|
18058
|
+
state: {
|
|
18059
|
+
visible: "{{$deps.type === 'ajax'}}"
|
|
18060
|
+
}
|
|
18061
|
+
}
|
|
18062
|
+
},
|
|
18063
|
+
"x-designable-id": "9ifgussstsh"
|
|
18034
18064
|
}
|
|
18035
18065
|
}
|
|
18036
18066
|
},
|
|
@@ -24647,13 +24677,8 @@ const TitleRender$2 = (props) => {
|
|
|
24647
24677
|
onClick: onRemove
|
|
24648
24678
|
}));
|
|
24649
24679
|
};
|
|
24650
|
-
const watchFields = (listSchema) => {
|
|
24651
|
-
const fieldStringArray = listSchema.map((item) => {
|
|
24652
|
-
return `${item.label}_${item.name}`;
|
|
24653
|
-
});
|
|
24654
|
-
return fieldStringArray.join(",");
|
|
24655
|
-
};
|
|
24656
24680
|
const ContentRender$2 = (props) => {
|
|
24681
|
+
var _a2, _b2;
|
|
24657
24682
|
const { values, effects, onChange, schema, index: index2, extraFieldSchema: extraFieldSchema2, updateForceFLag, listSchema } = props;
|
|
24658
24683
|
const { type, label, name } = values;
|
|
24659
24684
|
const { formilySchema: formilySchema2, dataAdaptor: dataAdaptor2 } = schema || {};
|
|
@@ -24665,7 +24690,7 @@ const ContentRender$2 = (props) => {
|
|
|
24665
24690
|
debounce_1(() => {
|
|
24666
24691
|
setUuid(uuidv4());
|
|
24667
24692
|
}, 500),
|
|
24668
|
-
[
|
|
24693
|
+
[`${(_a2 = props == null ? void 0 : props.values) == null ? void 0 : _a2.label}_${(_b2 = props == null ? void 0 : props.values) == null ? void 0 : _b2.name}`]
|
|
24669
24694
|
);
|
|
24670
24695
|
const realSchema = useMemo(() => {
|
|
24671
24696
|
const srcSchema = getRealSchema(formilySchema2 || schema, { moduleDataSource, listSchema, blocksDataSource });
|