@tmagic/form 1.3.0-alpha.13 → 1.3.0-alpha.15
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/style.css +13 -0
- package/dist/tmagic-form.js +258 -107
- package/dist/tmagic-form.js.map +1 -1
- package/dist/tmagic-form.umd.cjs +284 -132
- package/dist/tmagic-form.umd.cjs.map +1 -1
- package/package.json +4 -4
- package/src/FormDialog.vue +14 -4
- package/src/FormDrawer.vue +130 -0
- package/src/containers/Container.vue +1 -2
- package/src/index.ts +1 -0
- package/src/schema.ts +1 -1
- package/src/theme/form-drawer.scss +11 -0
- package/src/theme/index.scss +1 -0
- package/src/theme/panel.scss +6 -0
- package/types/FormDialog.vue.d.ts +2 -0
- package/types/FormDrawer.vue.d.ts +333 -0
- package/types/index.d.ts +1 -0
- package/types/schema.d.ts +1 -1
package/dist/tmagic-form.umd.cjs
CHANGED
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
return valuesTmp || {};
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
const _hoisted_1$
|
|
167
|
+
const _hoisted_1$c = ["innerHTML"];
|
|
168
168
|
const _hoisted_2$6 = ["innerHTML"];
|
|
169
169
|
const _hoisted_3$4 = ["innerHTML"];
|
|
170
170
|
const _hoisted_4$4 = ["innerHTML"];
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
key: 5,
|
|
181
181
|
style: { "text-align": "center" }
|
|
182
182
|
};
|
|
183
|
-
const _sfc_main$
|
|
183
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
184
184
|
...{
|
|
185
185
|
name: "MFormContainer"
|
|
186
186
|
},
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
return _ctx.config ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
329
329
|
key: 0,
|
|
330
330
|
style: vue.normalizeStyle(_ctx.config.tip ? "display: flex;align-items: baseline;" : ""),
|
|
331
|
-
class: vue.normalizeClass(
|
|
331
|
+
class: vue.normalizeClass(`m-form-container m-container-${type.value || ""} ${_ctx.config.className || ""}`)
|
|
332
332
|
}, [
|
|
333
333
|
type.value === "hidden" ? (vue.openBlock(), vue.createBlock(_component_m_fields_hidden, {
|
|
334
334
|
key: 0,
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
label: vue.withCtx(() => [
|
|
364
364
|
vue.createElementVNode("span", {
|
|
365
365
|
innerHTML: type.value === "checkbox" ? "" : _ctx.config.text
|
|
366
|
-
}, null, 8, _hoisted_1$
|
|
366
|
+
}, null, 8, _hoisted_1$c)
|
|
367
367
|
]),
|
|
368
368
|
default: vue.withCtx(() => [
|
|
369
369
|
tooltip.value ? (vue.openBlock(), vue.createBlock(vue.unref(design.TMagicTooltip), { key: 0 }, {
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
}
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
const _hoisted_1$
|
|
600
|
+
const _hoisted_1$b = ["innerHTML"];
|
|
601
601
|
const _hoisted_2$5 = ["innerHTML"];
|
|
602
602
|
const _hoisted_3$3 = { key: 1 };
|
|
603
603
|
const _hoisted_4$3 = ["innerHTML"];
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
};
|
|
609
609
|
const _hoisted_7 = { style: { "flex": "1" } };
|
|
610
610
|
const _hoisted_8 = ["src"];
|
|
611
|
-
const _sfc_main$
|
|
611
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
612
612
|
...{
|
|
613
613
|
name: "MFormFieldset"
|
|
614
614
|
},
|
|
@@ -667,7 +667,7 @@
|
|
|
667
667
|
default: vue.withCtx(() => [
|
|
668
668
|
vue.createElementVNode("span", {
|
|
669
669
|
innerHTML: _ctx.config.legend
|
|
670
|
-
}, null, 8, _hoisted_1$
|
|
670
|
+
}, null, 8, _hoisted_1$b),
|
|
671
671
|
_ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
672
672
|
key: 0,
|
|
673
673
|
innerHTML: _ctx.config.extra,
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
_ctx.config.schematic && show.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
692
692
|
vue.createElementVNode("div", _hoisted_7, [
|
|
693
693
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.items, (item, index) => {
|
|
694
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
694
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
695
695
|
key: key(item, index),
|
|
696
696
|
model: name.value ? _ctx.model[name.value] : _ctx.model,
|
|
697
697
|
lastValues: name.value ? _ctx.lastValues[name.value] : _ctx.lastValues,
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
src: _ctx.config.schematic
|
|
713
713
|
}, null, 8, _hoisted_8)
|
|
714
714
|
])) : show.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 3 }, vue.renderList(_ctx.config.items, (item, index) => {
|
|
715
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
715
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
716
716
|
key: key(item, index),
|
|
717
717
|
model: name.value ? _ctx.model[name.value] : _ctx.model,
|
|
718
718
|
lastValues: name.value ? _ctx.lastValues[name.value] : _ctx.lastValues,
|
|
@@ -732,9 +732,9 @@
|
|
|
732
732
|
}
|
|
733
733
|
});
|
|
734
734
|
|
|
735
|
-
const _hoisted_1$
|
|
735
|
+
const _hoisted_1$a = { class: "m-fields-group-list-item" };
|
|
736
736
|
const _hoisted_2$4 = ["innerHTML"];
|
|
737
|
-
const _sfc_main$
|
|
737
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
738
738
|
...{
|
|
739
739
|
name: "MFormGroupListItem"
|
|
740
740
|
},
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
};
|
|
796
796
|
const onAddDiffCount = () => emit("addDiffCount");
|
|
797
797
|
return (_ctx, _cache) => {
|
|
798
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
798
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
799
799
|
vue.createElementVNode("div", null, [
|
|
800
800
|
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
801
801
|
text: "",
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
class: "m-form-tip"
|
|
864
864
|
}, null, 8, _hoisted_2$4)) : vue.createCommentVNode("", true)
|
|
865
865
|
]),
|
|
866
|
-
expand.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
866
|
+
expand.value ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
867
867
|
key: 0,
|
|
868
868
|
config: rowConfig.value,
|
|
869
869
|
model: _ctx.model,
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
}
|
|
882
882
|
});
|
|
883
883
|
|
|
884
|
-
const _hoisted_1$
|
|
884
|
+
const _hoisted_1$9 = { class: "m-fields-group-list" };
|
|
885
885
|
const _hoisted_2$3 = ["innerHTML"];
|
|
886
886
|
const _hoisted_3$2 = {
|
|
887
887
|
key: 1,
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
const _hoisted_5$1 = [
|
|
892
892
|
_hoisted_4$2
|
|
893
893
|
];
|
|
894
|
-
const _sfc_main$
|
|
894
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
895
895
|
...{
|
|
896
896
|
name: "MFormGroupList"
|
|
897
897
|
},
|
|
@@ -974,14 +974,14 @@
|
|
|
974
974
|
const onAddDiffCount = () => emit("addDiffCount");
|
|
975
975
|
const getLastValues = (item, index) => item?.[index] || {};
|
|
976
976
|
return (_ctx, _cache) => {
|
|
977
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
977
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
978
978
|
_ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
979
979
|
key: 0,
|
|
980
980
|
innerHTML: _ctx.config.extra,
|
|
981
981
|
style: { "color": "rgba(0, 0, 0, 0.45)" }
|
|
982
982
|
}, null, 8, _hoisted_2$3)) : vue.createCommentVNode("", true),
|
|
983
983
|
!_ctx.model[_ctx.name] || !_ctx.model[_ctx.name].length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$2, _hoisted_5$1)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 2 }, vue.renderList(_ctx.model[_ctx.name], (item, index) => {
|
|
984
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
984
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
985
985
|
key: index,
|
|
986
986
|
model: item,
|
|
987
987
|
lastValues: getLastValues(_ctx.lastValues[_ctx.name], index),
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
}
|
|
1027
1027
|
});
|
|
1028
1028
|
|
|
1029
|
-
const _hoisted_1$
|
|
1029
|
+
const _hoisted_1$8 = { style: { "width": "100%", "display": "flex", "align-items": "center" } };
|
|
1030
1030
|
const _hoisted_2$2 = ["innerHTML"];
|
|
1031
1031
|
const _hoisted_3$1 = {
|
|
1032
1032
|
key: 0,
|
|
@@ -1034,7 +1034,7 @@
|
|
|
1034
1034
|
};
|
|
1035
1035
|
const _hoisted_4$1 = { style: { "flex": "1" } };
|
|
1036
1036
|
const _hoisted_5 = ["src"];
|
|
1037
|
-
const _sfc_main$
|
|
1037
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
1038
1038
|
...{
|
|
1039
1039
|
name: "MFormPanel"
|
|
1040
1040
|
},
|
|
@@ -1066,7 +1066,7 @@
|
|
|
1066
1066
|
"body-style": { display: expand.value ? "block" : "none" }
|
|
1067
1067
|
}, {
|
|
1068
1068
|
header: vue.withCtx(() => [
|
|
1069
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
1069
|
+
vue.createElementVNode("div", _hoisted_1$8, [
|
|
1070
1070
|
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
1071
1071
|
style: { "padding": "0" },
|
|
1072
1072
|
text: "",
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
_ctx.config.schematic ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
1090
1090
|
vue.createElementVNode("div", _hoisted_4$1, [
|
|
1091
1091
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item, index) => {
|
|
1092
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1092
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1093
1093
|
key: item[vue.unref(mForm)?.keyProp || "__key"] ?? index,
|
|
1094
1094
|
config: item,
|
|
1095
1095
|
model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
|
|
@@ -1109,7 +1109,7 @@
|
|
|
1109
1109
|
src: _ctx.config.schematic
|
|
1110
1110
|
}, null, 8, _hoisted_5)
|
|
1111
1111
|
])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(items.value, (item, index) => {
|
|
1112
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1112
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1113
1113
|
key: item[vue.unref(mForm)?.keyProp || "__key"] ?? index,
|
|
1114
1114
|
config: item,
|
|
1115
1115
|
model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
|
|
@@ -1131,7 +1131,7 @@
|
|
|
1131
1131
|
}
|
|
1132
1132
|
});
|
|
1133
1133
|
|
|
1134
|
-
const _sfc_main$
|
|
1134
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
1135
1135
|
...{
|
|
1136
1136
|
name: "MFormCol"
|
|
1137
1137
|
},
|
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
return (_ctx, _cache) => {
|
|
1159
1159
|
return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(design.TMagicCol), { span: _ctx.span }, {
|
|
1160
1160
|
default: vue.withCtx(() => [
|
|
1161
|
-
vue.createVNode(_sfc_main$
|
|
1161
|
+
vue.createVNode(_sfc_main$w, {
|
|
1162
1162
|
model: _ctx.model,
|
|
1163
1163
|
lastValues: _ctx.lastValues,
|
|
1164
1164
|
"is-compare": _ctx.isCompare,
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
}
|
|
1181
1181
|
});
|
|
1182
1182
|
|
|
1183
|
-
const _sfc_main$
|
|
1183
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
1184
1184
|
...{
|
|
1185
1185
|
name: "MFormRow"
|
|
1186
1186
|
},
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
return vue.openBlock(), vue.createBlock(vue.unref(design.TMagicRow), { gutter: 10 }, {
|
|
1208
1208
|
default: vue.withCtx(() => [
|
|
1209
1209
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.items, (col, index) => {
|
|
1210
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1210
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
1211
1211
|
key: col[vue.unref(mForm)?.keyProp || "__key"] ?? index,
|
|
1212
1212
|
span: col.span || _ctx.config.span || 24 / _ctx.config.items.length,
|
|
1213
1213
|
config: col,
|
|
@@ -1230,7 +1230,7 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
});
|
|
1232
1232
|
|
|
1233
|
-
const _sfc_main$
|
|
1233
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
1234
1234
|
...{
|
|
1235
1235
|
name: "MFormStep"
|
|
1236
1236
|
},
|
|
@@ -1284,7 +1284,7 @@
|
|
|
1284
1284
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
1285
1285
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(step.items, (item) => {
|
|
1286
1286
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
1287
|
-
item ? vue.withDirectives((vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1287
|
+
item ? vue.withDirectives((vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1288
1288
|
key: item[vue.unref(mForm)?.keyProp || "__key"],
|
|
1289
1289
|
config: item,
|
|
1290
1290
|
model: step.name ? _ctx.model[step.name] : _ctx.model,
|
|
@@ -1308,7 +1308,7 @@
|
|
|
1308
1308
|
}
|
|
1309
1309
|
});
|
|
1310
1310
|
|
|
1311
|
-
const _hoisted_1$
|
|
1311
|
+
const _hoisted_1$7 = ["innerHTML"];
|
|
1312
1312
|
const _hoisted_2$1 = { class: "el-form-item__content" };
|
|
1313
1313
|
const _hoisted_3 = ["innerHTML"];
|
|
1314
1314
|
const _hoisted_4 = {
|
|
@@ -1316,7 +1316,7 @@
|
|
|
1316
1316
|
class: "bottom",
|
|
1317
1317
|
style: { "text-align": "right" }
|
|
1318
1318
|
};
|
|
1319
|
-
const _sfc_main$
|
|
1319
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
1320
1320
|
...{
|
|
1321
1321
|
name: "MFormTable"
|
|
1322
1322
|
},
|
|
@@ -1671,7 +1671,7 @@
|
|
|
1671
1671
|
key: 0,
|
|
1672
1672
|
style: { "color": "rgba(0, 0, 0, 0.45)" },
|
|
1673
1673
|
innerHTML: _ctx.config.extra
|
|
1674
|
-
}, null, 8, _hoisted_1$
|
|
1674
|
+
}, null, 8, _hoisted_1$7)) : vue.createCommentVNode("", true),
|
|
1675
1675
|
vue.createElementVNode("div", _hoisted_2$1, [
|
|
1676
1676
|
vue.createVNode(vue.unref(design.TMagicTooltip), {
|
|
1677
1677
|
content: "拖拽可排序",
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
"class-name": _ctx.config.dropSort === true ? "el-table__column--dropable" : ""
|
|
1807
1807
|
}, {
|
|
1808
1808
|
default: vue.withCtx((scope) => [
|
|
1809
|
-
scope.$index > -1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1809
|
+
scope.$index > -1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
1810
1810
|
key: 0,
|
|
1811
1811
|
labelWidth: "0",
|
|
1812
1812
|
disabled: _ctx.disabled,
|
|
@@ -1927,7 +1927,7 @@
|
|
|
1927
1927
|
}
|
|
1928
1928
|
});
|
|
1929
1929
|
|
|
1930
|
-
const _sfc_main$
|
|
1930
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
1931
1931
|
...{
|
|
1932
1932
|
name: "MFormTabs"
|
|
1933
1933
|
},
|
|
@@ -2081,7 +2081,7 @@
|
|
|
2081
2081
|
]),
|
|
2082
2082
|
default: vue.withCtx(() => [
|
|
2083
2083
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(tabItems(tab), (item) => {
|
|
2084
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2084
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
2085
2085
|
key: item[vue.unref(mForm)?.keyProp || "__key"],
|
|
2086
2086
|
config: item,
|
|
2087
2087
|
disabled: _ctx.disabled,
|
|
@@ -2133,7 +2133,7 @@
|
|
|
2133
2133
|
);
|
|
2134
2134
|
};
|
|
2135
2135
|
|
|
2136
|
-
const _sfc_main$
|
|
2136
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
2137
2137
|
...{
|
|
2138
2138
|
name: "MFormCascader"
|
|
2139
2139
|
},
|
|
@@ -2221,7 +2221,7 @@
|
|
|
2221
2221
|
}
|
|
2222
2222
|
});
|
|
2223
2223
|
|
|
2224
|
-
const _sfc_main$
|
|
2224
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
2225
2225
|
...{
|
|
2226
2226
|
name: "MFormCheckbox"
|
|
2227
2227
|
},
|
|
@@ -2283,7 +2283,7 @@
|
|
|
2283
2283
|
}
|
|
2284
2284
|
});
|
|
2285
2285
|
|
|
2286
|
-
const _sfc_main$
|
|
2286
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
2287
2287
|
...{
|
|
2288
2288
|
name: "MFormCheckGroup"
|
|
2289
2289
|
},
|
|
@@ -2346,7 +2346,7 @@
|
|
|
2346
2346
|
}
|
|
2347
2347
|
});
|
|
2348
2348
|
|
|
2349
|
-
const _sfc_main$
|
|
2349
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
2350
2350
|
...{
|
|
2351
2351
|
name: "MFormColorPicker"
|
|
2352
2352
|
},
|
|
@@ -2380,7 +2380,7 @@
|
|
|
2380
2380
|
}
|
|
2381
2381
|
});
|
|
2382
2382
|
|
|
2383
|
-
const _sfc_main$
|
|
2383
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
2384
2384
|
...{
|
|
2385
2385
|
name: "MFormDate"
|
|
2386
2386
|
},
|
|
@@ -2420,7 +2420,7 @@
|
|
|
2420
2420
|
}
|
|
2421
2421
|
});
|
|
2422
2422
|
|
|
2423
|
-
const _sfc_main$
|
|
2423
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
2424
2424
|
...{
|
|
2425
2425
|
name: "MFormDateRange"
|
|
2426
2426
|
},
|
|
@@ -2522,7 +2522,7 @@
|
|
|
2522
2522
|
}
|
|
2523
2523
|
});
|
|
2524
2524
|
|
|
2525
|
-
const _sfc_main$
|
|
2525
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
2526
2526
|
...{
|
|
2527
2527
|
name: "MFormDateTime"
|
|
2528
2528
|
},
|
|
@@ -2571,8 +2571,8 @@
|
|
|
2571
2571
|
}
|
|
2572
2572
|
});
|
|
2573
2573
|
|
|
2574
|
-
const _hoisted_1$
|
|
2575
|
-
const _sfc_main$
|
|
2574
|
+
const _hoisted_1$6 = { key: 0 };
|
|
2575
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
2576
2576
|
...{
|
|
2577
2577
|
name: "MFormDisplay"
|
|
2578
2578
|
},
|
|
@@ -2593,13 +2593,13 @@
|
|
|
2593
2593
|
}
|
|
2594
2594
|
useAddField(props.prop);
|
|
2595
2595
|
return (_ctx, _cache) => {
|
|
2596
|
-
return _ctx.model ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2596
|
+
return _ctx.model ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$6, vue.toDisplayString(_ctx.model[_ctx.name]), 1)) : vue.createCommentVNode("", true);
|
|
2597
2597
|
};
|
|
2598
2598
|
}
|
|
2599
2599
|
});
|
|
2600
2600
|
|
|
2601
|
-
const _hoisted_1$
|
|
2602
|
-
const _sfc_main$
|
|
2601
|
+
const _hoisted_1$5 = { class: "m-fields-dynamic-field" };
|
|
2602
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
2603
2603
|
...{
|
|
2604
2604
|
name: "MFormDynamicField"
|
|
2605
2605
|
},
|
|
@@ -2664,7 +2664,7 @@
|
|
|
2664
2664
|
emit("change", fieldMap.value[key], key);
|
|
2665
2665
|
};
|
|
2666
2666
|
return (_ctx, _cache) => {
|
|
2667
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2667
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
|
|
2668
2668
|
vue.createVNode(vue.unref(design.TMagicForm), { size: "small" }, {
|
|
2669
2669
|
default: vue.withCtx(() => [
|
|
2670
2670
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.keys(fieldMap.value), (key) => {
|
|
@@ -2691,7 +2691,7 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
});
|
|
2693
2693
|
|
|
2694
|
-
const _sfc_main$
|
|
2694
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
2695
2695
|
...{
|
|
2696
2696
|
name: "MFormHidden"
|
|
2697
2697
|
},
|
|
@@ -2720,7 +2720,7 @@
|
|
|
2720
2720
|
}
|
|
2721
2721
|
});
|
|
2722
2722
|
|
|
2723
|
-
const _sfc_main$
|
|
2723
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
2724
2724
|
...{
|
|
2725
2725
|
name: "MForm"
|
|
2726
2726
|
},
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
}, {
|
|
2860
2860
|
default: vue.withCtx(() => [
|
|
2861
2861
|
initialized.value && Array.isArray(_ctx.config) ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.config, (item, index) => {
|
|
2862
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
2862
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
2863
2863
|
disabled: _ctx.disabled,
|
|
2864
2864
|
key: item[_ctx.keyProp] ?? index,
|
|
2865
2865
|
config: item,
|
|
@@ -2879,8 +2879,8 @@
|
|
|
2879
2879
|
}
|
|
2880
2880
|
});
|
|
2881
2881
|
|
|
2882
|
-
const _hoisted_1$
|
|
2883
|
-
const _sfc_main$
|
|
2882
|
+
const _hoisted_1$4 = { style: { "min-height": "1px" } };
|
|
2883
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
2884
2884
|
...{
|
|
2885
2885
|
name: "MFormDialog"
|
|
2886
2886
|
},
|
|
@@ -2924,9 +2924,6 @@
|
|
|
2924
2924
|
}
|
|
2925
2925
|
return false;
|
|
2926
2926
|
});
|
|
2927
|
-
const cancel = () => {
|
|
2928
|
-
dialogVisible.value = false;
|
|
2929
|
-
};
|
|
2930
2927
|
const closeHandler = () => {
|
|
2931
2928
|
stepActive.value = 1;
|
|
2932
2929
|
emit("close");
|
|
@@ -2948,12 +2945,23 @@
|
|
|
2948
2945
|
const changeHandler = (value) => {
|
|
2949
2946
|
emit("change", value);
|
|
2950
2947
|
};
|
|
2948
|
+
const show = () => {
|
|
2949
|
+
dialogVisible.value = true;
|
|
2950
|
+
};
|
|
2951
|
+
const hide = () => {
|
|
2952
|
+
dialogVisible.value = false;
|
|
2953
|
+
};
|
|
2954
|
+
const cancel = () => {
|
|
2955
|
+
hide();
|
|
2956
|
+
};
|
|
2951
2957
|
__expose({
|
|
2952
2958
|
form,
|
|
2953
2959
|
saveFetch,
|
|
2954
2960
|
dialogVisible,
|
|
2955
2961
|
cancel,
|
|
2956
|
-
save
|
|
2962
|
+
save,
|
|
2963
|
+
show,
|
|
2964
|
+
hide
|
|
2957
2965
|
});
|
|
2958
2966
|
return (_ctx, _cache) => {
|
|
2959
2967
|
return vue.openBlock(), vue.createBlock(vue.unref(design.TMagicDialog), {
|
|
@@ -2977,7 +2985,7 @@
|
|
|
2977
2985
|
style: { "text-align": "left" }
|
|
2978
2986
|
}, {
|
|
2979
2987
|
default: vue.withCtx(() => [
|
|
2980
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
2988
|
+
vue.createElementVNode("div", _hoisted_1$4, [
|
|
2981
2989
|
vue.renderSlot(_ctx.$slots, "left")
|
|
2982
2990
|
])
|
|
2983
2991
|
]),
|
|
@@ -3042,7 +3050,7 @@
|
|
|
3042
3050
|
class: "m-dialog-body",
|
|
3043
3051
|
style: vue.normalizeStyle(`max-height: ${bodyHeight.value}; overflow-y: auto; overflow-x: hidden;`)
|
|
3044
3052
|
}, [
|
|
3045
|
-
vue.createVNode(_sfc_main$
|
|
3053
|
+
vue.createVNode(_sfc_main$c, {
|
|
3046
3054
|
modelValue: stepActive.value,
|
|
3047
3055
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => stepActive.value = $event),
|
|
3048
3056
|
ref_key: "form",
|
|
@@ -3064,12 +3072,12 @@
|
|
|
3064
3072
|
}
|
|
3065
3073
|
});
|
|
3066
3074
|
|
|
3067
|
-
const _hoisted_1$
|
|
3075
|
+
const _hoisted_1$3 = ["href"];
|
|
3068
3076
|
const _hoisted_2 = {
|
|
3069
3077
|
key: 2,
|
|
3070
3078
|
class: "m-fields-link"
|
|
3071
3079
|
};
|
|
3072
|
-
const _sfc_main$
|
|
3080
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
3073
3081
|
...{
|
|
3074
3082
|
name: "MFormLink"
|
|
3075
3083
|
},
|
|
@@ -3137,7 +3145,7 @@
|
|
|
3137
3145
|
target: "_blank",
|
|
3138
3146
|
href: href.value,
|
|
3139
3147
|
style: vue.normalizeStyle(_ctx.config.css || {})
|
|
3140
|
-
}, vue.toDisplayString(displayText.value), 13, _hoisted_1$
|
|
3148
|
+
}, vue.toDisplayString(displayText.value), 13, _hoisted_1$3)) : _ctx.config.href && _ctx.disabled ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
3141
3149
|
key: 1,
|
|
3142
3150
|
style: vue.normalizeStyle(_ctx.config.disabledCss || {})
|
|
3143
3151
|
}, vue.toDisplayString(displayText.value), 5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
@@ -3151,7 +3159,7 @@
|
|
|
3151
3159
|
]),
|
|
3152
3160
|
_: 1
|
|
3153
3161
|
}),
|
|
3154
|
-
vue.createVNode(_sfc_main$
|
|
3162
|
+
vue.createVNode(_sfc_main$b, {
|
|
3155
3163
|
ref_key: "editor",
|
|
3156
3164
|
ref: editor,
|
|
3157
3165
|
title: _ctx.config.formTitle || "编辑扩展配置",
|
|
@@ -3167,7 +3175,7 @@
|
|
|
3167
3175
|
}
|
|
3168
3176
|
});
|
|
3169
3177
|
|
|
3170
|
-
const _sfc_main$
|
|
3178
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
3171
3179
|
...{
|
|
3172
3180
|
name: "MFormNumber"
|
|
3173
3181
|
},
|
|
@@ -3215,7 +3223,7 @@
|
|
|
3215
3223
|
}
|
|
3216
3224
|
});
|
|
3217
3225
|
|
|
3218
|
-
const _sfc_main$
|
|
3226
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
3219
3227
|
...{
|
|
3220
3228
|
name: "MFormRadioGroup"
|
|
3221
3229
|
},
|
|
@@ -3267,7 +3275,7 @@
|
|
|
3267
3275
|
}
|
|
3268
3276
|
});
|
|
3269
3277
|
|
|
3270
|
-
const _sfc_main$
|
|
3278
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
3271
3279
|
...{
|
|
3272
3280
|
name: "MFormSelectOptionGroups"
|
|
3273
3281
|
},
|
|
@@ -3301,7 +3309,7 @@
|
|
|
3301
3309
|
}
|
|
3302
3310
|
});
|
|
3303
3311
|
|
|
3304
|
-
const _sfc_main$
|
|
3312
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
3305
3313
|
...{
|
|
3306
3314
|
name: "MFormSelectOptions"
|
|
3307
3315
|
},
|
|
@@ -3324,8 +3332,8 @@
|
|
|
3324
3332
|
}
|
|
3325
3333
|
});
|
|
3326
3334
|
|
|
3327
|
-
const _hoisted_1$
|
|
3328
|
-
const _sfc_main$
|
|
3335
|
+
const _hoisted_1$2 = { key: 2 };
|
|
3336
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
3329
3337
|
...{
|
|
3330
3338
|
name: "MFormSelect"
|
|
3331
3339
|
},
|
|
@@ -3665,14 +3673,14 @@
|
|
|
3665
3673
|
onVisibleChange: visibleHandler
|
|
3666
3674
|
}, {
|
|
3667
3675
|
default: vue.withCtx(() => [
|
|
3668
|
-
_ctx.config.group ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3676
|
+
_ctx.config.group ? (vue.openBlock(), vue.createBlock(_sfc_main$7, {
|
|
3669
3677
|
key: 0,
|
|
3670
3678
|
options: vue.unref(groupOptions)
|
|
3671
|
-
}, null, 8, ["options"])) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
3679
|
+
}, null, 8, ["options"])) : (vue.openBlock(), vue.createBlock(_sfc_main$6, {
|
|
3672
3680
|
key: 1,
|
|
3673
3681
|
options: vue.unref(itemOptions)
|
|
3674
3682
|
}, null, 8, ["options"])),
|
|
3675
|
-
moreLoadingVisible.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3683
|
+
moreLoadingVisible.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, null, 512)), [
|
|
3676
3684
|
[_directive_loading, true]
|
|
3677
3685
|
]) : vue.createCommentVNode("", true)
|
|
3678
3686
|
]),
|
|
@@ -3684,7 +3692,7 @@
|
|
|
3684
3692
|
}
|
|
3685
3693
|
});
|
|
3686
3694
|
|
|
3687
|
-
const _sfc_main$
|
|
3695
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
3688
3696
|
...{
|
|
3689
3697
|
name: "MFormSwitch"
|
|
3690
3698
|
},
|
|
@@ -3741,8 +3749,8 @@
|
|
|
3741
3749
|
}
|
|
3742
3750
|
});
|
|
3743
3751
|
|
|
3744
|
-
const _hoisted_1 = { key: 0 };
|
|
3745
|
-
const _sfc_main$
|
|
3752
|
+
const _hoisted_1$1 = { key: 0 };
|
|
3753
|
+
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
3746
3754
|
...{
|
|
3747
3755
|
name: "MFormText"
|
|
3748
3756
|
},
|
|
@@ -3846,7 +3854,7 @@
|
|
|
3846
3854
|
_ctx.config.append ? {
|
|
3847
3855
|
name: "append",
|
|
3848
3856
|
fn: vue.withCtx(() => [
|
|
3849
|
-
typeof _ctx.config.append === "string" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(_ctx.config.append), 1)) : vue.createCommentVNode("", true),
|
|
3857
|
+
typeof _ctx.config.append === "string" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$1, vue.toDisplayString(_ctx.config.append), 1)) : vue.createCommentVNode("", true),
|
|
3850
3858
|
typeof _ctx.config.append === "object" && _ctx.config.append.type === "button" ? (vue.openBlock(), vue.createBlock(vue.unref(design.TMagicButton), {
|
|
3851
3859
|
key: 1,
|
|
3852
3860
|
style: { "color": "#409eff" },
|
|
@@ -3866,7 +3874,7 @@
|
|
|
3866
3874
|
}
|
|
3867
3875
|
});
|
|
3868
3876
|
|
|
3869
|
-
const _sfc_main$
|
|
3877
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
3870
3878
|
...{
|
|
3871
3879
|
name: "MFormTextarea"
|
|
3872
3880
|
},
|
|
@@ -3910,7 +3918,7 @@
|
|
|
3910
3918
|
}
|
|
3911
3919
|
});
|
|
3912
3920
|
|
|
3913
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
3921
|
+
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
3914
3922
|
...{
|
|
3915
3923
|
name: "MFormTime"
|
|
3916
3924
|
},
|
|
@@ -3950,70 +3958,214 @@
|
|
|
3950
3958
|
|
|
3951
3959
|
const index$1 = '';
|
|
3952
3960
|
|
|
3961
|
+
const _hoisted_1 = { style: { "min-height": "1px" } };
|
|
3962
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
3963
|
+
...{
|
|
3964
|
+
name: "MFormDialog"
|
|
3965
|
+
},
|
|
3966
|
+
__name: "FormDrawer",
|
|
3967
|
+
props: {
|
|
3968
|
+
config: { default: () => [] },
|
|
3969
|
+
values: { default: () => ({}) },
|
|
3970
|
+
parentValues: {},
|
|
3971
|
+
width: {},
|
|
3972
|
+
labelWidth: {},
|
|
3973
|
+
disabled: { type: Boolean },
|
|
3974
|
+
title: {},
|
|
3975
|
+
zIndex: {},
|
|
3976
|
+
size: {},
|
|
3977
|
+
confirmText: { default: "确定" }
|
|
3978
|
+
},
|
|
3979
|
+
emits: ["close", "submit", "error", "change", "open", "opened"],
|
|
3980
|
+
setup(__props, { expose: __expose, emit }) {
|
|
3981
|
+
const form = vue.ref();
|
|
3982
|
+
const drawerBody = vue.ref();
|
|
3983
|
+
const visible = vue.ref(false);
|
|
3984
|
+
const saveFetch = vue.ref(false);
|
|
3985
|
+
const bodyHeight = vue.ref(0);
|
|
3986
|
+
vue.watchEffect(() => {
|
|
3987
|
+
if (drawerBody.value) {
|
|
3988
|
+
bodyHeight.value = drawerBody.value.clientHeight;
|
|
3989
|
+
}
|
|
3990
|
+
});
|
|
3991
|
+
const submitHandler = async () => {
|
|
3992
|
+
try {
|
|
3993
|
+
const values = await form.value?.submitForm();
|
|
3994
|
+
emit("submit", values);
|
|
3995
|
+
} catch (e) {
|
|
3996
|
+
emit("error", e);
|
|
3997
|
+
}
|
|
3998
|
+
};
|
|
3999
|
+
const changeHandler = (value) => {
|
|
4000
|
+
emit("change", value);
|
|
4001
|
+
};
|
|
4002
|
+
const openHandler = (value) => {
|
|
4003
|
+
emit("open", value);
|
|
4004
|
+
};
|
|
4005
|
+
const openedHandler = (value) => {
|
|
4006
|
+
emit("opened", value);
|
|
4007
|
+
};
|
|
4008
|
+
const show = () => {
|
|
4009
|
+
visible.value = true;
|
|
4010
|
+
};
|
|
4011
|
+
const hide = () => {
|
|
4012
|
+
visible.value = false;
|
|
4013
|
+
};
|
|
4014
|
+
__expose({
|
|
4015
|
+
form,
|
|
4016
|
+
saveFetch,
|
|
4017
|
+
bodyHeight,
|
|
4018
|
+
show,
|
|
4019
|
+
hide
|
|
4020
|
+
});
|
|
4021
|
+
return (_ctx, _cache) => {
|
|
4022
|
+
return vue.openBlock(), vue.createBlock(vue.unref(design.TMagicDrawer), {
|
|
4023
|
+
class: "m-form-drawer",
|
|
4024
|
+
modelValue: visible.value,
|
|
4025
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
4026
|
+
title: _ctx.title,
|
|
4027
|
+
"close-on-press-escape": true,
|
|
4028
|
+
"append-to-body": true,
|
|
4029
|
+
"show-close": true,
|
|
4030
|
+
"close-on-click-modal": true,
|
|
4031
|
+
size: _ctx.width,
|
|
4032
|
+
zIndex: _ctx.zIndex,
|
|
4033
|
+
onOpen: openHandler,
|
|
4034
|
+
onOpened: openedHandler
|
|
4035
|
+
}, {
|
|
4036
|
+
footer: vue.withCtx(() => [
|
|
4037
|
+
vue.createVNode(vue.unref(design.TMagicRow), { class: "dialog-footer" }, {
|
|
4038
|
+
default: vue.withCtx(() => [
|
|
4039
|
+
vue.createVNode(vue.unref(design.TMagicCol), {
|
|
4040
|
+
span: 12,
|
|
4041
|
+
style: { "text-align": "left" }
|
|
4042
|
+
}, {
|
|
4043
|
+
default: vue.withCtx(() => [
|
|
4044
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
4045
|
+
vue.renderSlot(_ctx.$slots, "left")
|
|
4046
|
+
])
|
|
4047
|
+
]),
|
|
4048
|
+
_: 3
|
|
4049
|
+
}),
|
|
4050
|
+
vue.createVNode(vue.unref(design.TMagicCol), { span: 12 }, {
|
|
4051
|
+
default: vue.withCtx(() => [
|
|
4052
|
+
vue.renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
4053
|
+
vue.createVNode(vue.unref(design.TMagicButton), { onClick: hide }, {
|
|
4054
|
+
default: vue.withCtx(() => [
|
|
4055
|
+
vue.createTextVNode("关闭")
|
|
4056
|
+
]),
|
|
4057
|
+
_: 1
|
|
4058
|
+
}),
|
|
4059
|
+
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
4060
|
+
type: "primary",
|
|
4061
|
+
onClick: submitHandler,
|
|
4062
|
+
loading: saveFetch.value
|
|
4063
|
+
}, {
|
|
4064
|
+
default: vue.withCtx(() => [
|
|
4065
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.confirmText), 1)
|
|
4066
|
+
]),
|
|
4067
|
+
_: 1
|
|
4068
|
+
}, 8, ["loading"])
|
|
4069
|
+
])
|
|
4070
|
+
]),
|
|
4071
|
+
_: 3
|
|
4072
|
+
})
|
|
4073
|
+
]),
|
|
4074
|
+
_: 3
|
|
4075
|
+
})
|
|
4076
|
+
]),
|
|
4077
|
+
default: vue.withCtx(() => [
|
|
4078
|
+
visible.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
4079
|
+
key: 0,
|
|
4080
|
+
ref_key: "drawerBody",
|
|
4081
|
+
ref: drawerBody,
|
|
4082
|
+
class: "m-drawer-body"
|
|
4083
|
+
}, [
|
|
4084
|
+
vue.createVNode(_sfc_main$c, {
|
|
4085
|
+
ref_key: "form",
|
|
4086
|
+
ref: form,
|
|
4087
|
+
size: _ctx.size,
|
|
4088
|
+
disabled: _ctx.disabled,
|
|
4089
|
+
config: _ctx.config,
|
|
4090
|
+
"init-values": _ctx.values,
|
|
4091
|
+
"parent-values": _ctx.parentValues,
|
|
4092
|
+
"label-width": _ctx.labelWidth,
|
|
4093
|
+
onChange: changeHandler
|
|
4094
|
+
}, null, 8, ["size", "disabled", "config", "init-values", "parent-values", "label-width"]),
|
|
4095
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
4096
|
+
], 512)) : vue.createCommentVNode("", true)
|
|
4097
|
+
]),
|
|
4098
|
+
_: 3
|
|
4099
|
+
}, 8, ["modelValue", "title", "size", "zIndex"]);
|
|
4100
|
+
};
|
|
4101
|
+
}
|
|
4102
|
+
});
|
|
4103
|
+
|
|
3953
4104
|
const defaultInstallOpt = {};
|
|
3954
4105
|
const index = {
|
|
3955
4106
|
install(app, opt = {}) {
|
|
3956
4107
|
const option = Object.assign(defaultInstallOpt, opt);
|
|
3957
4108
|
app.config.globalProperties.$MAGIC_FORM = option;
|
|
3958
4109
|
setConfig(option);
|
|
3959
|
-
app.component("m-form", _sfc_main$
|
|
3960
|
-
app.component("m-form-dialog", _sfc_main$
|
|
3961
|
-
app.component("m-form-container", _sfc_main$
|
|
3962
|
-
app.component("m-form-fieldset", _sfc_main$
|
|
3963
|
-
app.component("m-form-group-list", _sfc_main$
|
|
3964
|
-
app.component("m-form-panel", _sfc_main$
|
|
3965
|
-
app.component("m-form-row", _sfc_main$
|
|
3966
|
-
app.component("m-form-step", _sfc_main$
|
|
3967
|
-
app.component("m-form-table", _sfc_main$
|
|
3968
|
-
app.component("m-form-tab", _sfc_main$
|
|
3969
|
-
app.component("m-fields-text", _sfc_main$
|
|
3970
|
-
app.component("m-fields-number", _sfc_main$
|
|
3971
|
-
app.component("m-fields-textarea", _sfc_main$
|
|
3972
|
-
app.component("m-fields-hidden", _sfc_main$
|
|
3973
|
-
app.component("m-fields-date", _sfc_main$
|
|
3974
|
-
app.component("m-fields-datetime", _sfc_main$
|
|
3975
|
-
app.component("m-fields-daterange", _sfc_main$
|
|
3976
|
-
app.component("m-fields-time", _sfc_main);
|
|
3977
|
-
app.component("m-fields-checkbox", _sfc_main$
|
|
3978
|
-
app.component("m-fields-switch", _sfc_main$
|
|
3979
|
-
app.component("m-fields-color-picker", _sfc_main$
|
|
3980
|
-
app.component("m-fields-checkbox-group", _sfc_main$
|
|
3981
|
-
app.component("m-fields-radio-group", _sfc_main$
|
|
3982
|
-
app.component("m-fields-display", _sfc_main$
|
|
3983
|
-
app.component("m-fields-link", _sfc_main$
|
|
3984
|
-
app.component("m-fields-select", _sfc_main$
|
|
3985
|
-
app.component("m-fields-cascader", _sfc_main$
|
|
3986
|
-
app.component("m-fields-dynamic-field", _sfc_main$
|
|
4110
|
+
app.component("m-form", _sfc_main$c);
|
|
4111
|
+
app.component("m-form-dialog", _sfc_main$b);
|
|
4112
|
+
app.component("m-form-container", _sfc_main$w);
|
|
4113
|
+
app.component("m-form-fieldset", _sfc_main$v);
|
|
4114
|
+
app.component("m-form-group-list", _sfc_main$t);
|
|
4115
|
+
app.component("m-form-panel", _sfc_main$s);
|
|
4116
|
+
app.component("m-form-row", _sfc_main$q);
|
|
4117
|
+
app.component("m-form-step", _sfc_main$p);
|
|
4118
|
+
app.component("m-form-table", _sfc_main$o);
|
|
4119
|
+
app.component("m-form-tab", _sfc_main$n);
|
|
4120
|
+
app.component("m-fields-text", _sfc_main$3);
|
|
4121
|
+
app.component("m-fields-number", _sfc_main$9);
|
|
4122
|
+
app.component("m-fields-textarea", _sfc_main$2);
|
|
4123
|
+
app.component("m-fields-hidden", _sfc_main$d);
|
|
4124
|
+
app.component("m-fields-date", _sfc_main$i);
|
|
4125
|
+
app.component("m-fields-datetime", _sfc_main$g);
|
|
4126
|
+
app.component("m-fields-daterange", _sfc_main$h);
|
|
4127
|
+
app.component("m-fields-time", _sfc_main$1);
|
|
4128
|
+
app.component("m-fields-checkbox", _sfc_main$l);
|
|
4129
|
+
app.component("m-fields-switch", _sfc_main$4);
|
|
4130
|
+
app.component("m-fields-color-picker", _sfc_main$j);
|
|
4131
|
+
app.component("m-fields-checkbox-group", _sfc_main$k);
|
|
4132
|
+
app.component("m-fields-radio-group", _sfc_main$8);
|
|
4133
|
+
app.component("m-fields-display", _sfc_main$f);
|
|
4134
|
+
app.component("m-fields-link", _sfc_main$a);
|
|
4135
|
+
app.component("m-fields-select", _sfc_main$5);
|
|
4136
|
+
app.component("m-fields-cascader", _sfc_main$m);
|
|
4137
|
+
app.component("m-fields-dynamic-field", _sfc_main$e);
|
|
3987
4138
|
}
|
|
3988
4139
|
};
|
|
3989
4140
|
|
|
3990
|
-
exports.MCascader = _sfc_main$
|
|
3991
|
-
exports.MCheckbox = _sfc_main$
|
|
3992
|
-
exports.MCheckboxGroup = _sfc_main$
|
|
3993
|
-
exports.MColorPicker = _sfc_main$
|
|
3994
|
-
exports.MContainer = _sfc_main$
|
|
3995
|
-
exports.MDate = _sfc_main$
|
|
3996
|
-
exports.MDateTime = _sfc_main$
|
|
3997
|
-
exports.MDaterange = _sfc_main$
|
|
3998
|
-
exports.MDisplay = _sfc_main$
|
|
3999
|
-
exports.MDynamicField = _sfc_main$
|
|
4000
|
-
exports.MFieldset = _sfc_main$
|
|
4001
|
-
exports.MForm = _sfc_main$
|
|
4002
|
-
exports.MFormDialog = _sfc_main$
|
|
4003
|
-
exports.
|
|
4004
|
-
exports.
|
|
4005
|
-
exports.
|
|
4006
|
-
exports.
|
|
4007
|
-
exports.
|
|
4008
|
-
exports.
|
|
4009
|
-
exports.
|
|
4010
|
-
exports.
|
|
4011
|
-
exports.
|
|
4012
|
-
exports.
|
|
4013
|
-
exports.
|
|
4014
|
-
exports.
|
|
4015
|
-
exports.
|
|
4016
|
-
exports.
|
|
4141
|
+
exports.MCascader = _sfc_main$m;
|
|
4142
|
+
exports.MCheckbox = _sfc_main$l;
|
|
4143
|
+
exports.MCheckboxGroup = _sfc_main$k;
|
|
4144
|
+
exports.MColorPicker = _sfc_main$j;
|
|
4145
|
+
exports.MContainer = _sfc_main$w;
|
|
4146
|
+
exports.MDate = _sfc_main$i;
|
|
4147
|
+
exports.MDateTime = _sfc_main$g;
|
|
4148
|
+
exports.MDaterange = _sfc_main$h;
|
|
4149
|
+
exports.MDisplay = _sfc_main$f;
|
|
4150
|
+
exports.MDynamicField = _sfc_main$e;
|
|
4151
|
+
exports.MFieldset = _sfc_main$v;
|
|
4152
|
+
exports.MForm = _sfc_main$c;
|
|
4153
|
+
exports.MFormDialog = _sfc_main$b;
|
|
4154
|
+
exports.MFormDrawer = _sfc_main;
|
|
4155
|
+
exports.MGroupList = _sfc_main$t;
|
|
4156
|
+
exports.MHidden = _sfc_main$d;
|
|
4157
|
+
exports.MLink = _sfc_main$a;
|
|
4158
|
+
exports.MNumber = _sfc_main$9;
|
|
4159
|
+
exports.MPanel = _sfc_main$s;
|
|
4160
|
+
exports.MRadioGroup = _sfc_main$8;
|
|
4161
|
+
exports.MRow = _sfc_main$q;
|
|
4162
|
+
exports.MSelect = _sfc_main$5;
|
|
4163
|
+
exports.MSwitch = _sfc_main$4;
|
|
4164
|
+
exports.MTable = _sfc_main$o;
|
|
4165
|
+
exports.MTabs = _sfc_main$n;
|
|
4166
|
+
exports.MText = _sfc_main$3;
|
|
4167
|
+
exports.MTextarea = _sfc_main$2;
|
|
4168
|
+
exports.MTime = _sfc_main$1;
|
|
4017
4169
|
exports.createValues = createValues;
|
|
4018
4170
|
exports.default = index;
|
|
4019
4171
|
exports.display = display;
|