@tmagic/form 1.1.0-beta.3 → 1.1.0-beta.6
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/{tmagic-form.es.js → tmagic-form.mjs} +131 -115
- package/dist/tmagic-form.mjs.map +1 -0
- package/dist/tmagic-form.umd.js +134 -118
- package/dist/tmagic-form.umd.js.map +1 -1
- package/package.json +16 -14
- package/src/Form.vue +3 -7
- package/src/fields/Cascader.vue +3 -5
- package/src/fields/ColorPicker.vue +19 -26
- package/src/fields/Display.vue +13 -23
- package/src/fields/Hidden.vue +10 -20
- package/src/fields/Select.vue +1 -2
- package/src/index.ts +3 -3
- package/tsconfig.build.json +13 -0
- package/types/Form.vue.d.ts +125 -0
- package/types/FormDialog.vue.d.ts +300 -0
- package/{dist/types/src → types}/containers/Col.vue.d.ts +4 -4
- package/types/containers/Container.vue.d.ts +70 -0
- package/types/containers/Fieldset.vue.d.ts +118 -0
- package/{dist/types/src → types}/containers/GroupList.vue.d.ts +6 -6
- package/{dist/types/src → types}/containers/GroupListItem.vue.d.ts +15 -15
- package/{dist/types/src → types}/containers/Panel.vue.d.ts +6 -6
- package/{dist/types/src → types}/containers/Row.vue.d.ts +3 -3
- package/{dist/types/src → types}/containers/Step.vue.d.ts +4 -4
- package/types/containers/Table.vue.d.ts +128 -0
- package/{dist/types/src → types}/containers/Tabs.vue.d.ts +11 -7
- package/types/fields/Cascader.vue.d.ts +74 -0
- package/{dist/types/src → types}/fields/Checkbox.vue.d.ts +5 -5
- package/{dist/types/src → types}/fields/CheckboxGroup.vue.d.ts +3 -3
- package/types/fields/ColorPicker.vue.d.ts +100 -0
- package/{dist/types/src → types}/fields/Date.vue.d.ts +3 -3
- package/{dist/types/src → types}/fields/DateTime.vue.d.ts +3 -3
- package/{dist/types/src → types}/fields/Daterange.vue.d.ts +4 -4
- package/types/fields/Display.vue.d.ts +84 -0
- package/{dist/types/src → types}/fields/DynamicField.vue.d.ts +4 -4
- package/types/fields/Hidden.vue.d.ts +84 -0
- package/types/fields/Link.vue.d.ts +686 -0
- package/{dist/types/src → types}/fields/Number.vue.d.ts +3 -3
- package/{dist/types/src → types}/fields/RadioGroup.vue.d.ts +4 -5
- package/types/fields/Select.vue.d.ts +67 -0
- package/types/fields/SelectOptionGroups.vue.d.ts +64 -0
- package/types/fields/SelectOptions.vue.d.ts +68 -0
- package/{dist/types/src → types}/fields/Switch.vue.d.ts +6 -6
- package/{dist/types/src → types}/fields/Text.vue.d.ts +4 -4
- package/{dist/types/src → types}/fields/Textarea.vue.d.ts +10 -4
- package/{dist/types/src → types}/fields/Time.vue.d.ts +8 -4
- package/{dist/types/src → types}/index.d.ts +1 -0
- package/{dist/types/src → types}/schema.d.ts +0 -0
- package/{dist/types/src → types}/utils/config.d.ts +0 -0
- package/types/utils/containerProps.d.ts +26 -0
- package/types/utils/createForm.d.ts +3 -0
- package/{dist/types/src → types}/utils/fieldProps.d.ts +0 -0
- package/{dist/types/src → types}/utils/form.d.ts +0 -0
- package/types/utils/useAddField.d.ts +1 -0
- package/dist/tmagic-form.es.js.map +0 -1
- package/dist/types/src/containers/Container.vue.d.ts +0 -70
- package/dist/types/src/containers/Fieldset.vue.d.ts +0 -79
- package/dist/types/src/containers/Table.vue.d.ts +0 -128
- package/dist/types/src/fields/Display.vue.d.ts +0 -3
- package/dist/types/src/fields/Hidden.vue.d.ts +0 -3
- package/dist/types/src/fields/SelectOptionGroups.vue.d.ts +0 -13
- package/dist/types/src/fields/SelectOptions.vue.d.ts +0 -21
- package/dist/types/src/shims-vue.d.ts +0 -6
- package/dist/types/src/utils/useAddField.d.ts +0 -1
- package/dist/types/src/vite-env.d.ts +0 -1
- package/src/vite-env.d.ts +0 -1
package/dist/tmagic-form.umd.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.TMagicForm = {}, global.Vue, global.iconsVue, global.lodashEs, global.ElementPlus, global.Sortable, global.utils));
|
|
5
5
|
})(this, (function (exports, vue, iconsVue, lodashEs, elementPlus, Sortable, utils) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e };
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const Sortable__default = /*#__PURE__*/_interopDefaultLegacy(Sortable);
|
|
10
10
|
|
|
11
11
|
const isTableSelect = (type) => typeof type === "string" && ["table-select", "tableSelect"].includes(type);
|
|
12
12
|
const asyncLoadConfig = (value, initValue2, { asyncLoad, name, type }) => {
|
|
@@ -161,15 +161,7 @@
|
|
|
161
161
|
return valuesTmp || {};
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
const target = sfc.__vccOpts || sfc;
|
|
166
|
-
for (const [key, val] of props) {
|
|
167
|
-
target[key] = val;
|
|
168
|
-
}
|
|
169
|
-
return target;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
const _sfc_main$v = vue.defineComponent({
|
|
164
|
+
const _sfc_main$u = vue.defineComponent({
|
|
173
165
|
name: "m-form-container",
|
|
174
166
|
components: { WarningFilled: iconsVue.WarningFilled },
|
|
175
167
|
props: {
|
|
@@ -314,7 +306,16 @@
|
|
|
314
306
|
};
|
|
315
307
|
}
|
|
316
308
|
});
|
|
317
|
-
|
|
309
|
+
|
|
310
|
+
const _export_sfc = (sfc, props) => {
|
|
311
|
+
const target = sfc.__vccOpts || sfc;
|
|
312
|
+
for (const [key, val] of props) {
|
|
313
|
+
target[key] = val;
|
|
314
|
+
}
|
|
315
|
+
return target;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
const _hoisted_1$c = ["innerHTML"];
|
|
318
319
|
const _hoisted_2$7 = ["innerHTML"];
|
|
319
320
|
const _hoisted_3$7 = ["innerHTML"];
|
|
320
321
|
const _hoisted_4$6 = ["innerHTML"];
|
|
@@ -364,7 +365,7 @@
|
|
|
364
365
|
label: vue.withCtx(() => [
|
|
365
366
|
vue.createElementVNode("span", {
|
|
366
367
|
innerHTML: _ctx.type === "checkbox" ? "" : _ctx.config.text
|
|
367
|
-
}, null, 8, _hoisted_1$
|
|
368
|
+
}, null, 8, _hoisted_1$c)
|
|
368
369
|
]),
|
|
369
370
|
default: vue.withCtx(() => [
|
|
370
371
|
_ctx.tooltip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, { key: 0 }, {
|
|
@@ -449,9 +450,9 @@
|
|
|
449
450
|
])) : vue.createCommentVNode("", true)
|
|
450
451
|
], 6)) : vue.createCommentVNode("", true);
|
|
451
452
|
}
|
|
452
|
-
|
|
453
|
+
const Container = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$p]]);
|
|
453
454
|
|
|
454
|
-
const _hoisted_1$
|
|
455
|
+
const _hoisted_1$b = ["innerHTML"];
|
|
455
456
|
const _hoisted_2$6 = ["innerHTML"];
|
|
456
457
|
const _hoisted_3$6 = { key: 1 };
|
|
457
458
|
const _hoisted_4$5 = ["innerHTML"];
|
|
@@ -462,7 +463,7 @@
|
|
|
462
463
|
};
|
|
463
464
|
const _hoisted_7$2 = { style: { "flex": "1" } };
|
|
464
465
|
const _hoisted_8$1 = ["src"];
|
|
465
|
-
const _sfc_main$
|
|
466
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
466
467
|
__name: "Fieldset",
|
|
467
468
|
props: {
|
|
468
469
|
labelWidth: null,
|
|
@@ -518,7 +519,7 @@
|
|
|
518
519
|
default: vue.withCtx(() => [
|
|
519
520
|
vue.createElementVNode("span", {
|
|
520
521
|
innerHTML: __props.config.legend
|
|
521
|
-
}, null, 8, _hoisted_1$
|
|
522
|
+
}, null, 8, _hoisted_1$b),
|
|
522
523
|
__props.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
523
524
|
key: 0,
|
|
524
525
|
innerHTML: __props.config.extra,
|
|
@@ -575,7 +576,7 @@
|
|
|
575
576
|
}
|
|
576
577
|
});
|
|
577
578
|
|
|
578
|
-
const _sfc_main$
|
|
579
|
+
const _sfc_main$s = vue.defineComponent({
|
|
579
580
|
name: "m-form-group-list-item",
|
|
580
581
|
components: { CaretBottom: iconsVue.CaretBottom, CaretRight: iconsVue.CaretRight, CaretTop: iconsVue.CaretTop },
|
|
581
582
|
props: {
|
|
@@ -659,7 +660,8 @@
|
|
|
659
660
|
};
|
|
660
661
|
}
|
|
661
662
|
});
|
|
662
|
-
|
|
663
|
+
|
|
664
|
+
const _hoisted_1$a = { class: "m-fields-group-list-item" };
|
|
663
665
|
const _hoisted_2$5 = /* @__PURE__ */ vue.createTextVNode("\u4E0A\u79FB");
|
|
664
666
|
const _hoisted_3$5 = /* @__PURE__ */ vue.createTextVNode("\u4E0B\u79FB");
|
|
665
667
|
const _hoisted_4$4 = ["innerHTML"];
|
|
@@ -670,7 +672,7 @@
|
|
|
670
672
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
671
673
|
const _component_CaretTop = vue.resolveComponent("CaretTop");
|
|
672
674
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
673
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
675
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
674
676
|
vue.createElementVNode("div", null, [
|
|
675
677
|
vue.createVNode(_component_el_icon, {
|
|
676
678
|
style: { "margin-right": "7px" },
|
|
@@ -753,9 +755,9 @@
|
|
|
753
755
|
}, null, 8, ["config", "model", "labelWidth", "prop", "size", "onChange"])) : vue.createCommentVNode("", true)
|
|
754
756
|
]);
|
|
755
757
|
}
|
|
756
|
-
|
|
758
|
+
const MFieldsGroupListItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$o]]);
|
|
757
759
|
|
|
758
|
-
const _sfc_main$
|
|
760
|
+
const _sfc_main$r = vue.defineComponent({
|
|
759
761
|
name: "m-form-group-list",
|
|
760
762
|
components: { MFieldsGroupListItem },
|
|
761
763
|
props: {
|
|
@@ -851,7 +853,8 @@
|
|
|
851
853
|
};
|
|
852
854
|
}
|
|
853
855
|
});
|
|
854
|
-
|
|
856
|
+
|
|
857
|
+
const _hoisted_1$9 = { class: "m-fields-group-list" };
|
|
855
858
|
const _hoisted_2$4 = ["innerHTML"];
|
|
856
859
|
const _hoisted_3$4 = {
|
|
857
860
|
key: 1,
|
|
@@ -866,7 +869,7 @@
|
|
|
866
869
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
867
870
|
const _component_m_fields_group_list_item = vue.resolveComponent("m-fields-group-list-item");
|
|
868
871
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
869
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
872
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
870
873
|
_ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
871
874
|
key: 0,
|
|
872
875
|
innerHTML: _ctx.config.extra,
|
|
@@ -910,9 +913,9 @@
|
|
|
910
913
|
}, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
911
914
|
]);
|
|
912
915
|
}
|
|
913
|
-
|
|
916
|
+
const GroupList = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$n]]);
|
|
914
917
|
|
|
915
|
-
const _sfc_main$
|
|
918
|
+
const _sfc_main$q = vue.defineComponent({
|
|
916
919
|
name: "m-form-panel",
|
|
917
920
|
components: { CaretBottom: iconsVue.CaretBottom, CaretRight: iconsVue.CaretRight },
|
|
918
921
|
props: {
|
|
@@ -945,7 +948,8 @@
|
|
|
945
948
|
};
|
|
946
949
|
}
|
|
947
950
|
});
|
|
948
|
-
|
|
951
|
+
|
|
952
|
+
const _hoisted_1$8 = { class: "clearfix" };
|
|
949
953
|
const _hoisted_2$3 = ["innerHTML"];
|
|
950
954
|
const _hoisted_3$3 = {
|
|
951
955
|
key: 0,
|
|
@@ -965,7 +969,7 @@
|
|
|
965
969
|
"body-style": { display: _ctx.expand ? "block" : "none" }
|
|
966
970
|
}, {
|
|
967
971
|
header: vue.withCtx(() => [
|
|
968
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
972
|
+
vue.createElementVNode("div", _hoisted_1$8, [
|
|
969
973
|
vue.createElementVNode("a", {
|
|
970
974
|
href: "javascript:",
|
|
971
975
|
style: { "width": "100%", "display": "block" },
|
|
@@ -1023,9 +1027,9 @@
|
|
|
1023
1027
|
_: 3
|
|
1024
1028
|
}, 8, ["body-style"])) : vue.createCommentVNode("", true);
|
|
1025
1029
|
}
|
|
1026
|
-
|
|
1030
|
+
const Panel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$m]]);
|
|
1027
1031
|
|
|
1028
|
-
const _sfc_main$
|
|
1032
|
+
const _sfc_main$p = vue.defineComponent({
|
|
1029
1033
|
props: {
|
|
1030
1034
|
labelWidth: String,
|
|
1031
1035
|
expandMore: Boolean,
|
|
@@ -1052,6 +1056,7 @@
|
|
|
1052
1056
|
};
|
|
1053
1057
|
}
|
|
1054
1058
|
});
|
|
1059
|
+
|
|
1055
1060
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1056
1061
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
1057
1062
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
@@ -1072,9 +1077,9 @@
|
|
|
1072
1077
|
[vue.vShow, _ctx.display && _ctx.config.type !== "hidden"]
|
|
1073
1078
|
]);
|
|
1074
1079
|
}
|
|
1075
|
-
|
|
1080
|
+
const Col = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$l]]);
|
|
1076
1081
|
|
|
1077
|
-
const _sfc_main$
|
|
1082
|
+
const _sfc_main$o = vue.defineComponent({
|
|
1078
1083
|
name: "m-form-row",
|
|
1079
1084
|
components: { Col },
|
|
1080
1085
|
props: {
|
|
@@ -1102,6 +1107,7 @@
|
|
|
1102
1107
|
};
|
|
1103
1108
|
}
|
|
1104
1109
|
});
|
|
1110
|
+
|
|
1105
1111
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1106
1112
|
const _component_Col = vue.resolveComponent("Col");
|
|
1107
1113
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
@@ -1124,9 +1130,9 @@
|
|
|
1124
1130
|
_: 1
|
|
1125
1131
|
});
|
|
1126
1132
|
}
|
|
1127
|
-
|
|
1133
|
+
const Row = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$k]]);
|
|
1128
1134
|
|
|
1129
|
-
const _sfc_main$
|
|
1135
|
+
const _sfc_main$n = vue.defineComponent({
|
|
1130
1136
|
name: "m-form-step",
|
|
1131
1137
|
props: {
|
|
1132
1138
|
model: {
|
|
@@ -1161,6 +1167,7 @@
|
|
|
1161
1167
|
return { mForm, active, stepClick, changeHandler };
|
|
1162
1168
|
}
|
|
1163
1169
|
});
|
|
1170
|
+
|
|
1164
1171
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1165
1172
|
const _component_el_step = vue.resolveComponent("el-step");
|
|
1166
1173
|
const _component_el_steps = vue.resolveComponent("el-steps");
|
|
@@ -1204,11 +1211,11 @@
|
|
|
1204
1211
|
}), 256))
|
|
1205
1212
|
]);
|
|
1206
1213
|
}
|
|
1207
|
-
|
|
1214
|
+
const MStep = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$j]]);
|
|
1208
1215
|
|
|
1209
1216
|
let loadedAMapJS = false;
|
|
1210
1217
|
let firstLoadingAMapJS = true;
|
|
1211
|
-
const _sfc_main$
|
|
1218
|
+
const _sfc_main$m = vue.defineComponent({
|
|
1212
1219
|
name: "m-form-table",
|
|
1213
1220
|
props: {
|
|
1214
1221
|
name: {
|
|
@@ -1284,7 +1291,7 @@
|
|
|
1284
1291
|
const tableEl = elTable.value?.$el;
|
|
1285
1292
|
if (tableEl?.querySelectorAll(".el-table__body > tbody")) {
|
|
1286
1293
|
const el = tableEl.querySelectorAll(".el-table__body > tbody")[0];
|
|
1287
|
-
const sortable = Sortable__default
|
|
1294
|
+
const sortable = Sortable__default.default.create(el, {
|
|
1288
1295
|
onEnd: ({ newIndex, oldIndex }) => {
|
|
1289
1296
|
if (typeof newIndex === "undefined")
|
|
1290
1297
|
return;
|
|
@@ -1577,7 +1584,8 @@
|
|
|
1577
1584
|
};
|
|
1578
1585
|
}
|
|
1579
1586
|
});
|
|
1580
|
-
|
|
1587
|
+
|
|
1588
|
+
const _hoisted_1$7 = ["innerHTML"];
|
|
1581
1589
|
const _hoisted_2$2 = { class: "el-form-item__content" };
|
|
1582
1590
|
const _hoisted_3$2 = ["innerHTML"];
|
|
1583
1591
|
const _hoisted_4$1 = /* @__PURE__ */ vue.createTextVNode("\u6DFB\u52A0");
|
|
@@ -1606,7 +1614,7 @@
|
|
|
1606
1614
|
key: 0,
|
|
1607
1615
|
style: { "color": "rgba(0, 0, 0, 0.45)" },
|
|
1608
1616
|
innerHTML: _ctx.config.extra
|
|
1609
|
-
}, null, 8, _hoisted_1$
|
|
1617
|
+
}, null, 8, _hoisted_1$7)) : vue.createCommentVNode("", true),
|
|
1610
1618
|
vue.createElementVNode("div", _hoisted_2$2, [
|
|
1611
1619
|
vue.createVNode(_component_el_tooltip, {
|
|
1612
1620
|
content: "\u62D6\u62FD\u53EF\u6392\u5E8F",
|
|
@@ -1839,7 +1847,7 @@
|
|
|
1839
1847
|
])
|
|
1840
1848
|
], 2);
|
|
1841
1849
|
}
|
|
1842
|
-
|
|
1850
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$i]]);
|
|
1843
1851
|
|
|
1844
1852
|
const getActive = (mForm, props, activeTabName) => {
|
|
1845
1853
|
const { config, model, prop } = props;
|
|
@@ -1958,7 +1966,7 @@
|
|
|
1958
1966
|
};
|
|
1959
1967
|
}
|
|
1960
1968
|
});
|
|
1961
|
-
|
|
1969
|
+
|
|
1962
1970
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1963
1971
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
1964
1972
|
const _component_el_tab_pane = vue.resolveComponent("el-tab-pane");
|
|
@@ -2005,7 +2013,7 @@
|
|
|
2005
2013
|
_: 1
|
|
2006
2014
|
}, 8, ["modelValue", "class", "type", "editable", "tab-position", "onTabClick", "onTabAdd", "onTabRemove"]);
|
|
2007
2015
|
}
|
|
2008
|
-
|
|
2016
|
+
const Tabs = /* @__PURE__ */ _export_sfc(Tab, [["render", _sfc_render$h]]);
|
|
2009
2017
|
|
|
2010
2018
|
let $MAGIC_FORM = {};
|
|
2011
2019
|
const setConfig = (option) => {
|
|
@@ -2013,7 +2021,7 @@
|
|
|
2013
2021
|
};
|
|
2014
2022
|
const getConfig = (key) => $MAGIC_FORM[key];
|
|
2015
2023
|
|
|
2016
|
-
|
|
2024
|
+
const fieldProps = {
|
|
2017
2025
|
model: {
|
|
2018
2026
|
type: Object,
|
|
2019
2027
|
required: true,
|
|
@@ -2064,8 +2072,8 @@
|
|
|
2064
2072
|
const vm = vue.getCurrentInstance();
|
|
2065
2073
|
useAddField(props.prop);
|
|
2066
2074
|
const requestFunc = getConfig("request");
|
|
2067
|
-
const cascader = vue.ref(
|
|
2068
|
-
const dialog = vue.ref(
|
|
2075
|
+
const cascader = vue.ref();
|
|
2076
|
+
const dialog = vue.ref();
|
|
2069
2077
|
const options = Array.isArray(props.config.options) ? vue.ref(props.config.options) : vue.ref([]);
|
|
2070
2078
|
const remoteData = vue.ref(null);
|
|
2071
2079
|
const setRemoteOptions = async function() {
|
|
@@ -2142,13 +2150,14 @@
|
|
|
2142
2150
|
};
|
|
2143
2151
|
}
|
|
2144
2152
|
});
|
|
2145
|
-
|
|
2153
|
+
|
|
2154
|
+
const _hoisted_1$6 = {
|
|
2146
2155
|
class: "m-cascader",
|
|
2147
2156
|
style: { "width": "100%" }
|
|
2148
2157
|
};
|
|
2149
2158
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2150
2159
|
const _component_el_cascader = vue.resolveComponent("el-cascader");
|
|
2151
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2160
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
2152
2161
|
vue.createVNode(_component_el_cascader, {
|
|
2153
2162
|
modelValue: _ctx.model[_ctx.name],
|
|
2154
2163
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
|
|
@@ -2165,7 +2174,7 @@
|
|
|
2165
2174
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "options", "props", "onChange"])
|
|
2166
2175
|
]);
|
|
2167
2176
|
}
|
|
2168
|
-
|
|
2177
|
+
const Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$g]]);
|
|
2169
2178
|
|
|
2170
2179
|
const _sfc_main$k = vue.defineComponent({
|
|
2171
2180
|
name: "m-fields-checkbox",
|
|
@@ -2206,6 +2215,7 @@
|
|
|
2206
2215
|
};
|
|
2207
2216
|
}
|
|
2208
2217
|
});
|
|
2218
|
+
|
|
2209
2219
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2210
2220
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
2211
2221
|
return vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
@@ -2219,7 +2229,7 @@
|
|
|
2219
2229
|
onChange: _ctx.changeHandler
|
|
2220
2230
|
}, null, 8, ["modelValue", "size", "trueLabel", "falseLabel", "disabled", "label", "onChange"]);
|
|
2221
2231
|
}
|
|
2222
|
-
|
|
2232
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$f]]);
|
|
2223
2233
|
|
|
2224
2234
|
const _sfc_main$j = vue.defineComponent({
|
|
2225
2235
|
name: "m-fields-checkbox-group",
|
|
@@ -2243,6 +2253,7 @@
|
|
|
2243
2253
|
};
|
|
2244
2254
|
}
|
|
2245
2255
|
});
|
|
2256
|
+
|
|
2246
2257
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2247
2258
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
2248
2259
|
const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
|
|
@@ -2269,20 +2280,19 @@
|
|
|
2269
2280
|
_: 1
|
|
2270
2281
|
}, 8, ["modelValue", "size", "disabled", "onChange"]);
|
|
2271
2282
|
}
|
|
2272
|
-
|
|
2283
|
+
const CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$e]]);
|
|
2273
2284
|
|
|
2274
|
-
const _hoisted_1$6 = { key: 0 };
|
|
2275
|
-
const __default__$2 = vue.defineComponent({
|
|
2276
|
-
name: "m-fields-color-picker"
|
|
2277
|
-
});
|
|
2278
2285
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
2279
|
-
|
|
2286
|
+
__name: "ColorPicker",
|
|
2280
2287
|
props: {
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2288
|
+
config: null,
|
|
2289
|
+
model: null,
|
|
2290
|
+
initValues: null,
|
|
2291
|
+
values: null,
|
|
2292
|
+
name: null,
|
|
2293
|
+
prop: null,
|
|
2294
|
+
disabled: { type: Boolean },
|
|
2295
|
+
size: null
|
|
2286
2296
|
},
|
|
2287
2297
|
emits: ["change"],
|
|
2288
2298
|
setup(__props, { emit }) {
|
|
@@ -2291,16 +2301,14 @@
|
|
|
2291
2301
|
const changeHandler = (value) => emit("change", value);
|
|
2292
2302
|
return (_ctx, _cache) => {
|
|
2293
2303
|
const _component_el_color_picker = vue.resolveComponent("el-color-picker");
|
|
2294
|
-
return
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
}, null, 8, ["modelValue", "size", "disabled"])
|
|
2303
|
-
])) : vue.createCommentVNode("", true);
|
|
2304
|
+
return vue.openBlock(), vue.createBlock(_component_el_color_picker, {
|
|
2305
|
+
modelValue: __props.model[__props.name],
|
|
2306
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
|
|
2307
|
+
size: __props.size,
|
|
2308
|
+
disabled: __props.disabled,
|
|
2309
|
+
showAlpha: true,
|
|
2310
|
+
onChange: changeHandler
|
|
2311
|
+
}, null, 8, ["modelValue", "size", "disabled"]);
|
|
2304
2312
|
};
|
|
2305
2313
|
}
|
|
2306
2314
|
});
|
|
@@ -2325,6 +2333,7 @@
|
|
|
2325
2333
|
};
|
|
2326
2334
|
}
|
|
2327
2335
|
});
|
|
2336
|
+
|
|
2328
2337
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2329
2338
|
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2330
2339
|
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
@@ -2339,7 +2348,7 @@
|
|
|
2339
2348
|
onChange: _ctx.changeHandler
|
|
2340
2349
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format", "onChange"]);
|
|
2341
2350
|
}
|
|
2342
|
-
|
|
2351
|
+
const Date$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$d]]);
|
|
2343
2352
|
|
|
2344
2353
|
const _sfc_main$g = vue.defineComponent({
|
|
2345
2354
|
name: "m-fields-daterange",
|
|
@@ -2390,6 +2399,7 @@
|
|
|
2390
2399
|
};
|
|
2391
2400
|
}
|
|
2392
2401
|
});
|
|
2402
|
+
|
|
2393
2403
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2394
2404
|
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2395
2405
|
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
@@ -2406,7 +2416,7 @@
|
|
|
2406
2416
|
onChange: _ctx.changeHandler
|
|
2407
2417
|
}, null, 8, ["modelValue", "size", "disabled", "default-time", "onChange"]);
|
|
2408
2418
|
}
|
|
2409
|
-
|
|
2419
|
+
const Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$c]]);
|
|
2410
2420
|
|
|
2411
2421
|
const _sfc_main$f = vue.defineComponent({
|
|
2412
2422
|
name: "m-fields-datetime",
|
|
@@ -2436,6 +2446,7 @@
|
|
|
2436
2446
|
};
|
|
2437
2447
|
}
|
|
2438
2448
|
});
|
|
2449
|
+
|
|
2439
2450
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2440
2451
|
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
2441
2452
|
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
@@ -2452,30 +2463,27 @@
|
|
|
2452
2463
|
onChange: _ctx.changeHandler
|
|
2453
2464
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format", "default-time", "onChange"]);
|
|
2454
2465
|
}
|
|
2455
|
-
|
|
2466
|
+
const DateTime = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$b]]);
|
|
2456
2467
|
|
|
2457
2468
|
const _hoisted_1$5 = { key: 0 };
|
|
2458
|
-
const __default__$1 = vue.defineComponent({
|
|
2459
|
-
name: "m-fields-display"
|
|
2460
|
-
});
|
|
2461
2469
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
2462
|
-
|
|
2470
|
+
__name: "Display",
|
|
2463
2471
|
props: {
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2472
|
+
config: null,
|
|
2473
|
+
model: null,
|
|
2474
|
+
initValues: null,
|
|
2475
|
+
values: null,
|
|
2476
|
+
name: null,
|
|
2477
|
+
prop: null
|
|
2469
2478
|
},
|
|
2470
2479
|
setup(__props) {
|
|
2471
2480
|
const props = __props;
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
props.model[n.value] = props.config.initValue;
|
|
2481
|
+
if (props.config.initValue && props.model) {
|
|
2482
|
+
props.model[props.name] = props.config.initValue;
|
|
2475
2483
|
}
|
|
2476
2484
|
useAddField(props.prop);
|
|
2477
2485
|
return (_ctx, _cache) => {
|
|
2478
|
-
return
|
|
2486
|
+
return __props.model ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$5, vue.toDisplayString(__props.model[__props.name]), 1)) : vue.createCommentVNode("", true);
|
|
2479
2487
|
};
|
|
2480
2488
|
}
|
|
2481
2489
|
});
|
|
@@ -2545,6 +2553,7 @@
|
|
|
2545
2553
|
}
|
|
2546
2554
|
}
|
|
2547
2555
|
});
|
|
2556
|
+
|
|
2548
2557
|
const _hoisted_1$4 = { class: "m-fields-dynamic-field" };
|
|
2549
2558
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2550
2559
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
@@ -2574,31 +2583,28 @@
|
|
|
2574
2583
|
})
|
|
2575
2584
|
]);
|
|
2576
2585
|
}
|
|
2577
|
-
|
|
2586
|
+
const DynamicField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$a]]);
|
|
2578
2587
|
|
|
2579
|
-
const __default__ = vue.defineComponent({
|
|
2580
|
-
name: "m-fields-hidden"
|
|
2581
|
-
});
|
|
2582
2588
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
2583
|
-
|
|
2589
|
+
__name: "Hidden",
|
|
2584
2590
|
props: {
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2591
|
+
config: null,
|
|
2592
|
+
model: null,
|
|
2593
|
+
initValues: null,
|
|
2594
|
+
values: null,
|
|
2595
|
+
name: null,
|
|
2596
|
+
prop: null
|
|
2590
2597
|
},
|
|
2591
2598
|
setup(__props) {
|
|
2592
2599
|
const props = __props;
|
|
2593
|
-
const n = vue.computed(() => props.name || props.config.name || "");
|
|
2594
2600
|
useAddField(props.prop);
|
|
2595
2601
|
return (_ctx, _cache) => {
|
|
2596
|
-
return
|
|
2602
|
+
return __props.model ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
2597
2603
|
key: 0,
|
|
2598
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
2604
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
|
|
2599
2605
|
type: "hidden"
|
|
2600
2606
|
}, null, 512)), [
|
|
2601
|
-
[vue.vModelText,
|
|
2607
|
+
[vue.vModelText, __props.model[__props.name]]
|
|
2602
2608
|
]) : vue.createCommentVNode("", true);
|
|
2603
2609
|
};
|
|
2604
2610
|
}
|
|
@@ -2672,6 +2678,7 @@
|
|
|
2672
2678
|
};
|
|
2673
2679
|
}
|
|
2674
2680
|
});
|
|
2681
|
+
|
|
2675
2682
|
const _hoisted_1$3 = ["href"];
|
|
2676
2683
|
const _hoisted_2$1 = {
|
|
2677
2684
|
key: 2,
|
|
@@ -2712,7 +2719,7 @@
|
|
|
2712
2719
|
}, null, 8, ["title", "width", "values", "config", "parentValues", "fullscreen", "onSubmit"])
|
|
2713
2720
|
]));
|
|
2714
2721
|
}
|
|
2715
|
-
|
|
2722
|
+
const Link = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$9]]);
|
|
2716
2723
|
|
|
2717
2724
|
const _sfc_main$a = vue.defineComponent({
|
|
2718
2725
|
name: "m-fields-number",
|
|
@@ -2739,6 +2746,7 @@
|
|
|
2739
2746
|
};
|
|
2740
2747
|
}
|
|
2741
2748
|
});
|
|
2749
|
+
|
|
2742
2750
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2743
2751
|
const _component_el_input_number = vue.resolveComponent("el-input-number");
|
|
2744
2752
|
return _ctx.model ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
|
|
@@ -2757,7 +2765,7 @@
|
|
|
2757
2765
|
onInput: _ctx.inputHandler
|
|
2758
2766
|
}, null, 8, ["modelValue", "size", "max", "min", "step", "placeholder", "disabled", "onChange", "onInput"])) : vue.createCommentVNode("", true);
|
|
2759
2767
|
}
|
|
2760
|
-
|
|
2768
|
+
const Number$1 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$8]]);
|
|
2761
2769
|
|
|
2762
2770
|
const _sfc_main$9 = vue.defineComponent({
|
|
2763
2771
|
name: "m-fields-radio-group",
|
|
@@ -2776,6 +2784,7 @@
|
|
|
2776
2784
|
};
|
|
2777
2785
|
}
|
|
2778
2786
|
});
|
|
2787
|
+
|
|
2779
2788
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2780
2789
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
2781
2790
|
const _component_el_radio_group = vue.resolveComponent("el-radio-group");
|
|
@@ -2803,7 +2812,7 @@
|
|
|
2803
2812
|
_: 1
|
|
2804
2813
|
}, 8, ["modelValue", "size", "disabled", "onChange"])) : vue.createCommentVNode("", true);
|
|
2805
2814
|
}
|
|
2806
|
-
|
|
2815
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$7]]);
|
|
2807
2816
|
|
|
2808
2817
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
2809
2818
|
__name: "SelectOptionGroups",
|
|
@@ -3128,6 +3137,7 @@
|
|
|
3128
3137
|
};
|
|
3129
3138
|
}
|
|
3130
3139
|
});
|
|
3140
|
+
|
|
3131
3141
|
const _hoisted_1$2 = { key: 2 };
|
|
3132
3142
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3133
3143
|
const _component_select_option_groups = vue.resolveComponent("select-option-groups");
|
|
@@ -3171,7 +3181,7 @@
|
|
|
3171
3181
|
[_directive_loading, _ctx.loading]
|
|
3172
3182
|
]) : vue.createCommentVNode("", true);
|
|
3173
3183
|
}
|
|
3174
|
-
|
|
3184
|
+
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
3175
3185
|
|
|
3176
3186
|
const _sfc_main$5 = vue.defineComponent({
|
|
3177
3187
|
name: "m-fields-switch",
|
|
@@ -3213,6 +3223,7 @@
|
|
|
3213
3223
|
};
|
|
3214
3224
|
}
|
|
3215
3225
|
});
|
|
3226
|
+
|
|
3216
3227
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3217
3228
|
const _component_el_switch = vue.resolveComponent("el-switch");
|
|
3218
3229
|
return _ctx.model ? (vue.openBlock(), vue.createBlock(_component_el_switch, {
|
|
@@ -3226,7 +3237,7 @@
|
|
|
3226
3237
|
onChange: _ctx.changeHandler
|
|
3227
3238
|
}, null, 8, ["modelValue", "size", "activeValue", "inactiveValue", "disabled", "onChange"])) : vue.createCommentVNode("", true);
|
|
3228
3239
|
}
|
|
3229
|
-
|
|
3240
|
+
const Switch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
3230
3241
|
|
|
3231
3242
|
const _sfc_main$4 = vue.defineComponent({
|
|
3232
3243
|
name: "m-fields-text",
|
|
@@ -3315,6 +3326,7 @@
|
|
|
3315
3326
|
};
|
|
3316
3327
|
}
|
|
3317
3328
|
});
|
|
3329
|
+
|
|
3318
3330
|
const _hoisted_1$1 = { key: 0 };
|
|
3319
3331
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3320
3332
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
@@ -3349,7 +3361,7 @@
|
|
|
3349
3361
|
} : void 0
|
|
3350
3362
|
]), 1032, ["modelValue", "size", "placeholder", "disabled", "onChange", "onInput"]);
|
|
3351
3363
|
}
|
|
3352
|
-
|
|
3364
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
|
|
3353
3365
|
|
|
3354
3366
|
const _sfc_main$3 = vue.defineComponent({
|
|
3355
3367
|
name: "m-fields-textarea",
|
|
@@ -3383,6 +3395,7 @@
|
|
|
3383
3395
|
};
|
|
3384
3396
|
}
|
|
3385
3397
|
});
|
|
3398
|
+
|
|
3386
3399
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3387
3400
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
3388
3401
|
return vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
@@ -3397,7 +3410,7 @@
|
|
|
3397
3410
|
onInput: _ctx.inputHandler
|
|
3398
3411
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "onChange", "onInput"]);
|
|
3399
3412
|
}
|
|
3400
|
-
|
|
3413
|
+
const Textarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
|
|
3401
3414
|
|
|
3402
3415
|
const _sfc_main$2 = vue.defineComponent({
|
|
3403
3416
|
name: "m-fields-time",
|
|
@@ -3422,6 +3435,7 @@
|
|
|
3422
3435
|
};
|
|
3423
3436
|
}
|
|
3424
3437
|
});
|
|
3438
|
+
|
|
3425
3439
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3426
3440
|
const _component_el_time_picker = vue.resolveComponent("el-time-picker");
|
|
3427
3441
|
return vue.openBlock(), vue.createBlock(_component_el_time_picker, {
|
|
@@ -3434,7 +3448,7 @@
|
|
|
3434
3448
|
onChange: _ctx.changeHandler
|
|
3435
3449
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "onChange"]);
|
|
3436
3450
|
}
|
|
3437
|
-
|
|
3451
|
+
const Time = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
3438
3452
|
|
|
3439
3453
|
const _sfc_main$1 = vue.defineComponent({
|
|
3440
3454
|
name: "m-form",
|
|
@@ -3560,6 +3574,7 @@
|
|
|
3560
3574
|
};
|
|
3561
3575
|
}
|
|
3562
3576
|
});
|
|
3577
|
+
|
|
3563
3578
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3564
3579
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
3565
3580
|
const _component_el_form = vue.resolveComponent("el-form");
|
|
@@ -3589,7 +3604,7 @@
|
|
|
3589
3604
|
_: 1
|
|
3590
3605
|
}, 8, ["model", "label-width", "disabled", "style", "inline", "label-position"]);
|
|
3591
3606
|
}
|
|
3592
|
-
|
|
3607
|
+
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
3593
3608
|
|
|
3594
3609
|
const _sfc_main = vue.defineComponent({
|
|
3595
3610
|
name: "m-form-dialog",
|
|
@@ -3679,6 +3694,7 @@
|
|
|
3679
3694
|
};
|
|
3680
3695
|
}
|
|
3681
3696
|
});
|
|
3697
|
+
|
|
3682
3698
|
const _hoisted_1 = { style: { "min-height": "1px" } };
|
|
3683
3699
|
const _hoisted_2 = /* @__PURE__ */ vue.createTextVNode("\u53D6 \u6D88");
|
|
3684
3700
|
const _hoisted_3 = /* @__PURE__ */ vue.createTextVNode("\u4E0A\u4E00\u6B65");
|
|
@@ -3791,9 +3807,9 @@
|
|
|
3791
3807
|
}, 8, ["modelValue", "title", "width", "fullscreen", "onClose"])
|
|
3792
3808
|
]);
|
|
3793
3809
|
}
|
|
3794
|
-
|
|
3810
|
+
const FormDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
3795
3811
|
|
|
3796
|
-
|
|
3812
|
+
const index$1 = '';
|
|
3797
3813
|
|
|
3798
3814
|
const defaultInstallOpt = {};
|
|
3799
3815
|
const install = (app, opt) => {
|
|
@@ -3803,7 +3819,7 @@
|
|
|
3803
3819
|
app.component(Form.name, Form);
|
|
3804
3820
|
app.component(FormDialog.name, FormDialog);
|
|
3805
3821
|
app.component(Container.name, Container);
|
|
3806
|
-
app.component("m-form-fieldset", _sfc_main$
|
|
3822
|
+
app.component("m-form-fieldset", _sfc_main$t);
|
|
3807
3823
|
app.component(GroupList.name, GroupList);
|
|
3808
3824
|
app.component(Panel.name, Panel);
|
|
3809
3825
|
app.component(Row.name, Row);
|
|
@@ -3813,23 +3829,23 @@
|
|
|
3813
3829
|
app.component(Text.name, Text);
|
|
3814
3830
|
app.component(Number$1.name, Number$1);
|
|
3815
3831
|
app.component(Textarea.name, Textarea);
|
|
3816
|
-
app.component(
|
|
3832
|
+
app.component("m-fields-hidden", _sfc_main$c);
|
|
3817
3833
|
app.component(Date$1.name, Date$1);
|
|
3818
3834
|
app.component(DateTime.name, DateTime);
|
|
3819
3835
|
app.component(Time.name, Time);
|
|
3820
3836
|
app.component(Checkbox.name, Checkbox);
|
|
3821
3837
|
app.component(Switch.name, Switch);
|
|
3822
3838
|
app.component(Daterange.name, Daterange);
|
|
3823
|
-
app.component(
|
|
3839
|
+
app.component("m-fields-color-picker", _sfc_main$i);
|
|
3824
3840
|
app.component(CheckboxGroup.name, CheckboxGroup);
|
|
3825
3841
|
app.component(RadioGroup.name, RadioGroup);
|
|
3826
|
-
app.component(
|
|
3842
|
+
app.component("m-fields-display", _sfc_main$e);
|
|
3827
3843
|
app.component(Link.name, Link);
|
|
3828
3844
|
app.component(Select.name, Select);
|
|
3829
3845
|
app.component(Cascader.name, Cascader);
|
|
3830
3846
|
app.component(DynamicField.name, DynamicField);
|
|
3831
3847
|
};
|
|
3832
|
-
|
|
3848
|
+
const index = {
|
|
3833
3849
|
install
|
|
3834
3850
|
};
|
|
3835
3851
|
|
|
@@ -3843,7 +3859,7 @@
|
|
|
3843
3859
|
exports.MDaterange = Daterange;
|
|
3844
3860
|
exports.MDisplay = _sfc_main$e;
|
|
3845
3861
|
exports.MDynamicField = DynamicField;
|
|
3846
|
-
exports.MFieldset = _sfc_main$
|
|
3862
|
+
exports.MFieldset = _sfc_main$t;
|
|
3847
3863
|
exports.MForm = Form;
|
|
3848
3864
|
exports.MFormDialog = FormDialog;
|
|
3849
3865
|
exports.MGroupList = GroupList;
|
|
@@ -3860,7 +3876,7 @@
|
|
|
3860
3876
|
exports.MText = Text;
|
|
3861
3877
|
exports.MTextarea = Textarea;
|
|
3862
3878
|
exports.MTime = Time;
|
|
3863
|
-
exports
|
|
3879
|
+
exports.default = index;
|
|
3864
3880
|
exports.display = display;
|
|
3865
3881
|
exports.fieldProps = fieldProps;
|
|
3866
3882
|
exports.filterFunction = filterFunction;
|