@tmagic/form 1.0.2 → 1.0.3

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.
@@ -15,16 +15,7 @@
15
15
  value.asyncLoad = typeof initValue2.asyncLoad === "object" ? initValue2.asyncLoad : asyncLoad;
16
16
  }
17
17
  };
18
- const isMultipleValue = (type) => typeof type === "string" && [
19
- "checkbox-group",
20
- "checkboxGroup",
21
- "table",
22
- "cascader",
23
- "group-list",
24
- "groupList",
25
- "dynamic-tab",
26
- "dynamicTab"
27
- ].includes(type);
18
+ const isMultipleValue = (type) => typeof type === "string" && ["checkbox-group", "checkboxGroup", "table", "cascader", "group-list", "groupList"].includes(type);
28
19
  const initItemsValue = (mForm, value, initValue2, { items, name, extensible }) => {
29
20
  if (Array.isArray(initValue2[name])) {
30
21
  value[name] = initValue2[name].map((v, index) => init(mForm, items, v, value[name]?.[index]));
@@ -37,7 +28,7 @@
37
28
  };
38
29
  const setValue = (mForm, value, initValue2, item) => {
39
30
  const { items, name, type, checkbox } = item;
40
- if (isMultipleValue(type)) {
31
+ if (isMultipleValue(type) || type === "tab" && item.dynamic) {
41
32
  value[name] = initValue2[name] || [];
42
33
  }
43
34
  if (items) {
@@ -140,7 +131,7 @@
140
131
  const fnc = item.validator;
141
132
  item.validator = (rule, value, callback, source, options) => fnc({
142
133
  rule,
143
- value,
134
+ value: props.config.names ? props.model : value,
144
135
  callback,
145
136
  source,
146
137
  options
@@ -178,7 +169,7 @@
178
169
  return target;
179
170
  };
180
171
 
181
- const _sfc_main$t = vue.defineComponent({
172
+ const _sfc_main$v = vue.defineComponent({
182
173
  name: "m-form-container",
183
174
  components: { WarningFilled: icons.WarningFilled },
184
175
  props: {
@@ -331,7 +322,7 @@
331
322
  key: 4,
332
323
  style: { "text-align": "center" }
333
324
  };
334
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
325
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
335
326
  const _component_m_fields_hidden = vue.resolveComponent("m-fields-hidden");
336
327
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
337
328
  const _component_el_form_item = vue.resolveComponent("el-form-item");
@@ -458,32 +449,32 @@
458
449
  ])) : vue.createCommentVNode("", true)
459
450
  ], 6)) : vue.createCommentVNode("", true);
460
451
  }
461
- var Container = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$q]]);
452
+ var Container = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$p]]);
462
453
 
463
- const _sfc_main$s = vue.defineComponent({
464
- name: "m-form-fieldset",
454
+ const _hoisted_1$d = ["innerHTML"];
455
+ const _hoisted_2$6 = ["innerHTML"];
456
+ const _hoisted_3$6 = { key: 1 };
457
+ const _hoisted_4$5 = ["innerHTML"];
458
+ const _hoisted_5$3 = ["innerHTML"];
459
+ const _hoisted_6$2 = {
460
+ key: 2,
461
+ style: { "display": "flex" }
462
+ };
463
+ const _hoisted_7$2 = { style: { "flex": "1" } };
464
+ const _hoisted_8$1 = ["src"];
465
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
466
+ __name: "Fieldset",
465
467
  props: {
466
- labelWidth: String,
467
- model: {
468
- type: Object,
469
- default: () => ({})
470
- },
471
- config: {
472
- type: Object,
473
- default: () => ({})
474
- },
475
- rules: {
476
- type: Object,
477
- default: () => ({})
478
- },
479
- prop: {
480
- type: String,
481
- default: () => ""
482
- },
483
- size: String
468
+ labelWidth: null,
469
+ prop: { default: "" },
470
+ size: null,
471
+ model: null,
472
+ config: null,
473
+ rules: { default: {} }
484
474
  },
485
475
  emits: ["change"],
486
- setup(props, { emit }) {
476
+ setup(__props, { emit }) {
477
+ const props = __props;
487
478
  const mForm = vue.inject("mForm");
488
479
  const name = vue.computed(() => props.config.name || "");
489
480
  const show = vue.computed(() => {
@@ -502,125 +493,90 @@
502
493
  emit("change", props.model);
503
494
  };
504
495
  const key = (item, index) => item[mForm?.keyProp || "__key"] ?? index;
505
- return {
506
- show,
507
- name,
508
- mForm,
509
- lWidth,
510
- key,
511
- change
512
- };
513
- }
514
- });
515
- const _hoisted_1$d = ["innerHTML"];
516
- const _hoisted_2$6 = ["innerHTML"];
517
- const _hoisted_3$6 = { key: 1 };
518
- const _hoisted_4$5 = ["innerHTML"];
519
- const _hoisted_5$3 = ["innerHTML"];
520
- const _hoisted_6$2 = { key: 2 };
521
- const _hoisted_7$2 = ["innerHTML"];
522
- const _hoisted_8$1 = ["innerHTML"];
523
- const _hoisted_9$1 = {
524
- key: 3,
525
- style: { "display": "flex" }
526
- };
527
- const _hoisted_10$1 = { style: { "flex": "1" } };
528
- const _hoisted_11 = ["src"];
529
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
530
- const _component_el_checkbox = vue.resolveComponent("el-checkbox");
531
- const _component_m_form_container = vue.resolveComponent("m-form-container");
532
- return (_ctx.name ? _ctx.model[_ctx.name] : _ctx.model) ? (vue.openBlock(), vue.createElementBlock("fieldset", {
533
- key: 0,
534
- class: "m-fieldset",
535
- style: vue.normalizeStyle(_ctx.show ? "padding: 15px 15px 0 5px;" : "border: 0")
536
- }, [
537
- !_ctx.show && _ctx.name ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
538
- key: 0,
539
- modelValue: _ctx.model[_ctx.name].value,
540
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name].value = $event),
541
- prop: `${_ctx.prop}${_ctx.prop ? "." : ""}${_ctx.config.name}.value`,
542
- "true-label": 1,
543
- "false-label": 0,
544
- onChange: _ctx.change
545
- }, {
546
- default: vue.withCtx(() => [
547
- vue.createElementVNode("span", {
548
- innerHTML: _ctx.config.legend
549
- }, null, 8, _hoisted_1$d),
550
- _ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
551
- key: 0,
552
- innerHTML: _ctx.config.extra,
553
- class: "m-form-tip"
554
- }, null, 8, _hoisted_2$6)) : vue.createCommentVNode("", true)
555
- ]),
556
- _: 1
557
- }, 8, ["modelValue", "prop", "onChange"])) : _ctx.config.checkbox && _ctx.name ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_3$6, [
558
- vue.createVNode(_component_el_checkbox, {
559
- modelValue: _ctx.model[_ctx.name].value,
560
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model[_ctx.name].value = $event),
561
- prop: `${_ctx.prop}${_ctx.prop ? "." : ""}${_ctx.config.name}.value`,
562
- "true-label": 1,
563
- "false-label": 0,
564
- onChange: _ctx.change
565
- }, {
566
- default: vue.withCtx(() => [
496
+ if (props.config.checkbox && name.value) {
497
+ vue.watch(() => props.model[name.value]?.value, () => {
498
+ console.log(props.model);
499
+ emit("change", props.model);
500
+ });
501
+ }
502
+ return (_ctx, _cache) => {
503
+ const _component_el_checkbox = vue.resolveComponent("el-checkbox");
504
+ const _component_m_form_container = vue.resolveComponent("m-form-container");
505
+ return (vue.unref(name) ? __props.model[vue.unref(name)] : __props.model) ? (vue.openBlock(), vue.createElementBlock("fieldset", {
506
+ key: 0,
507
+ class: "m-fieldset",
508
+ style: vue.normalizeStyle(vue.unref(show) ? "padding: 15px 15px 0 5px;" : "border: 0")
509
+ }, [
510
+ vue.unref(name) && __props.config.checkbox ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(!vue.unref(show) ? "div" : "legend"), { key: 0 }, {
511
+ default: vue.withCtx(() => [
512
+ vue.createVNode(_component_el_checkbox, {
513
+ modelValue: __props.model[vue.unref(name)].value,
514
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[vue.unref(name)].value = $event),
515
+ prop: `${__props.prop}${__props.prop ? "." : ""}${__props.config.name}.value`,
516
+ "true-label": 1,
517
+ "false-label": 0
518
+ }, {
519
+ default: vue.withCtx(() => [
520
+ vue.createElementVNode("span", {
521
+ innerHTML: __props.config.legend
522
+ }, null, 8, _hoisted_1$d),
523
+ __props.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
524
+ key: 0,
525
+ innerHTML: __props.config.extra,
526
+ class: "m-form-tip"
527
+ }, null, 8, _hoisted_2$6)) : vue.createCommentVNode("", true)
528
+ ]),
529
+ _: 1
530
+ }, 8, ["modelValue", "prop"])
531
+ ]),
532
+ _: 1
533
+ })) : (vue.openBlock(), vue.createElementBlock("legend", _hoisted_3$6, [
567
534
  vue.createElementVNode("span", {
568
- innerHTML: _ctx.config.legend
535
+ innerHTML: __props.config.legend
569
536
  }, null, 8, _hoisted_4$5),
570
- _ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
537
+ __props.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
571
538
  key: 0,
572
- innerHTML: _ctx.config.extra,
539
+ innerHTML: __props.config.extra,
573
540
  class: "m-form-tip"
574
541
  }, null, 8, _hoisted_5$3)) : vue.createCommentVNode("", true)
575
- ]),
576
- _: 1
577
- }, 8, ["modelValue", "prop", "onChange"])
578
- ])) : (vue.openBlock(), vue.createElementBlock("legend", _hoisted_6$2, [
579
- vue.createElementVNode("span", {
580
- innerHTML: _ctx.config.legend
581
- }, null, 8, _hoisted_7$2),
582
- _ctx.config.extra ? (vue.openBlock(), vue.createElementBlock("span", {
583
- key: 0,
584
- innerHTML: _ctx.config.extra,
585
- class: "m-form-tip"
586
- }, null, 8, _hoisted_8$1)) : vue.createCommentVNode("", true)
587
- ])),
588
- _ctx.config.schematic && _ctx.show ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
589
- vue.createElementVNode("div", _hoisted_10$1, [
590
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.items, (item, index) => {
542
+ ])),
543
+ __props.config.schematic && vue.unref(show) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
544
+ vue.createElementVNode("div", _hoisted_7$2, [
545
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.config.items, (item, index) => {
546
+ return vue.openBlock(), vue.createBlock(_component_m_form_container, {
547
+ key: key(item, index),
548
+ model: vue.unref(name) ? __props.model[vue.unref(name)] : __props.model,
549
+ rules: vue.unref(name) ? __props.rules[vue.unref(name)] : [],
550
+ config: item,
551
+ prop: __props.prop,
552
+ labelWidth: vue.unref(lWidth),
553
+ size: __props.size,
554
+ onChange: change
555
+ }, null, 8, ["model", "rules", "config", "prop", "labelWidth", "size"]);
556
+ }), 128))
557
+ ]),
558
+ vue.createElementVNode("img", {
559
+ class: "m-form-schematic",
560
+ src: __props.config.schematic
561
+ }, null, 8, _hoisted_8$1)
562
+ ])) : vue.unref(show) ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 3 }, vue.renderList(__props.config.items, (item, index) => {
591
563
  return vue.openBlock(), vue.createBlock(_component_m_form_container, {
592
- key: _ctx.key(item, index),
593
- model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
594
- rules: _ctx.name ? _ctx.rules[_ctx.name] : [],
564
+ key: key(item, index),
565
+ model: vue.unref(name) ? __props.model[vue.unref(name)] : __props.model,
566
+ rules: vue.unref(name) ? __props.rules[vue.unref(name)] : [],
595
567
  config: item,
596
- prop: _ctx.prop,
597
- labelWidth: _ctx.lWidth,
598
- size: _ctx.size,
599
- onChange: _ctx.change
600
- }, null, 8, ["model", "rules", "config", "prop", "labelWidth", "size", "onChange"]);
601
- }), 128))
602
- ]),
603
- vue.createElementVNode("img", {
604
- class: "m-form-schematic",
605
- src: _ctx.config.schematic
606
- }, null, 8, _hoisted_11)
607
- ])) : _ctx.show ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 4 }, vue.renderList(_ctx.config.items, (item, index) => {
608
- return vue.openBlock(), vue.createBlock(_component_m_form_container, {
609
- key: _ctx.key(item, index),
610
- model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
611
- rules: _ctx.name ? _ctx.rules[_ctx.name] : [],
612
- config: item,
613
- prop: _ctx.prop,
614
- labelWidth: _ctx.lWidth,
615
- size: _ctx.size,
616
- onChange: _ctx.change
617
- }, null, 8, ["model", "rules", "config", "prop", "labelWidth", "size", "onChange"]);
618
- }), 128)) : vue.createCommentVNode("", true)
619
- ], 4)) : vue.createCommentVNode("", true);
620
- }
621
- var Fieldset = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$p]]);
568
+ prop: __props.prop,
569
+ labelWidth: vue.unref(lWidth),
570
+ size: __props.size,
571
+ onChange: change
572
+ }, null, 8, ["model", "rules", "config", "prop", "labelWidth", "size"]);
573
+ }), 128)) : vue.createCommentVNode("", true)
574
+ ], 4)) : vue.createCommentVNode("", true);
575
+ };
576
+ }
577
+ });
622
578
 
623
- const _sfc_main$r = vue.defineComponent({
579
+ const _sfc_main$t = vue.defineComponent({
624
580
  name: "m-form-group-list-item",
625
581
  components: { CaretRight: icons.CaretRight, CaretBottom: icons.CaretBottom },
626
582
  props: {
@@ -799,9 +755,9 @@
799
755
  }, null, 8, ["config", "model", "labelWidth", "prop", "size", "onChange"])) : vue.createCommentVNode("", true)
800
756
  ]);
801
757
  }
802
- var MFieldsGroupListItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$o]]);
758
+ var MFieldsGroupListItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$o]]);
803
759
 
804
- const _sfc_main$q = vue.defineComponent({
760
+ const _sfc_main$s = vue.defineComponent({
805
761
  name: "m-form-group-list",
806
762
  components: { MFieldsGroupListItem },
807
763
  props: {
@@ -956,9 +912,9 @@
956
912
  }, 8, ["onClick"])) : vue.createCommentVNode("", true)
957
913
  ]);
958
914
  }
959
- var GroupList = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$n]]);
915
+ var GroupList = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$n]]);
960
916
 
961
- const _sfc_main$p = vue.defineComponent({
917
+ const _sfc_main$r = vue.defineComponent({
962
918
  name: "m-form-panel",
963
919
  components: { CaretBottom: icons.CaretBottom, CaretRight: icons.CaretRight },
964
920
  props: {
@@ -1069,9 +1025,9 @@
1069
1025
  _: 3
1070
1026
  }, 8, ["body-style"])) : vue.createCommentVNode("", true);
1071
1027
  }
1072
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$m]]);
1028
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$m]]);
1073
1029
 
1074
- const _sfc_main$o = vue.defineComponent({
1030
+ const _sfc_main$q = vue.defineComponent({
1075
1031
  props: {
1076
1032
  labelWidth: String,
1077
1033
  expandMore: Boolean,
@@ -1118,9 +1074,9 @@
1118
1074
  [vue.vShow, _ctx.display && _ctx.config.type !== "hidden"]
1119
1075
  ]);
1120
1076
  }
1121
- var Col = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$l]]);
1077
+ var Col = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$l]]);
1122
1078
 
1123
- const _sfc_main$n = vue.defineComponent({
1079
+ const _sfc_main$p = vue.defineComponent({
1124
1080
  name: "m-form-row",
1125
1081
  components: { Col },
1126
1082
  props: {
@@ -1170,9 +1126,9 @@
1170
1126
  _: 1
1171
1127
  });
1172
1128
  }
1173
- var Row = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$k]]);
1129
+ var Row = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$k]]);
1174
1130
 
1175
- const _sfc_main$m = vue.defineComponent({
1131
+ const _sfc_main$o = vue.defineComponent({
1176
1132
  name: "m-form-step",
1177
1133
  props: {
1178
1134
  model: {
@@ -1250,11 +1206,11 @@
1250
1206
  }), 256))
1251
1207
  ]);
1252
1208
  }
1253
- var MStep = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$j]]);
1209
+ var MStep = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$j]]);
1254
1210
 
1255
1211
  let loadedAMapJS = false;
1256
1212
  let firstLoadingAMapJS = true;
1257
- const _sfc_main$l = vue.defineComponent({
1213
+ const _sfc_main$n = vue.defineComponent({
1258
1214
  name: "m-form-table",
1259
1215
  props: {
1260
1216
  name: {
@@ -1885,7 +1841,7 @@
1885
1841
  ])
1886
1842
  ], 2);
1887
1843
  }
1888
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$i]]);
1844
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$i]]);
1889
1845
 
1890
1846
  const getActive = (mForm, props, activeTabName) => {
1891
1847
  const { config, model, prop } = props;
@@ -1923,6 +1879,7 @@
1923
1879
  default: () => ({})
1924
1880
  },
1925
1881
  prop: String,
1882
+ name: String,
1926
1883
  size: String
1927
1884
  },
1928
1885
  emits: {
@@ -2003,7 +1960,7 @@
2003
1960
  };
2004
1961
  }
2005
1962
  });
2006
- const _sfc_main$k = Tab;
1963
+ const _sfc_main$m = Tab;
2007
1964
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2008
1965
  const _component_m_form_container = vue.resolveComponent("m-form-container");
2009
1966
  const _component_el_tab_pane = vue.resolveComponent("el-tab-pane");
@@ -2033,7 +1990,7 @@
2033
1990
  return vue.openBlock(), vue.createBlock(_component_m_form_container, {
2034
1991
  key: item[_ctx.mForm?.keyProp || "__key"],
2035
1992
  config: item,
2036
- model: _ctx.config.dynamic ? _ctx.model[_ctx.config.name || ""][tabIndex] : tab.name ? _ctx.model[tab.name] : _ctx.model,
1993
+ model: _ctx.config.dynamic ? (_ctx.name ? _ctx.model[_ctx.name] : _ctx.model)[tabIndex] : tab.name ? (_ctx.name ? _ctx.model[_ctx.name] : _ctx.model)[tab.name] : _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
2037
1994
  prop: _ctx.config.dynamic ? `${_ctx.prop}${_ctx.prop ? "." : ""}${String(tabIndex)}` : _ctx.prop,
2038
1995
  size: _ctx.size,
2039
1996
  "label-width": tab.labelWidth || _ctx.labelWidth,
@@ -2050,7 +2007,7 @@
2050
2007
  _: 1
2051
2008
  }, 8, ["modelValue", "class", "type", "editable", "tab-position", "onTabClick", "onTabAdd", "onTabRemove"]);
2052
2009
  }
2053
- var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$h]]);
2010
+ var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$h]]);
2054
2011
 
2055
2012
  let $MAGIC_FORM = {};
2056
2013
  const setConfig = (option) => {
@@ -2094,7 +2051,7 @@
2094
2051
  });
2095
2052
  };
2096
2053
 
2097
- const _sfc_main$j = vue.defineComponent({
2054
+ const _sfc_main$l = vue.defineComponent({
2098
2055
  name: "m-fields-cascader",
2099
2056
  props: {
2100
2057
  ...fieldProps,
@@ -2129,8 +2086,9 @@
2129
2086
  if (typeof body === "function" && props.model && mForm) {
2130
2087
  body = body(mForm, {
2131
2088
  model: props.model,
2132
- formValue: null,
2133
- formValues: mForm.values
2089
+ formValue: mForm.values,
2090
+ formValues: mForm.values,
2091
+ config: props.config
2134
2092
  });
2135
2093
  }
2136
2094
  postOptions.data = body;
@@ -2209,9 +2167,9 @@
2209
2167
  }, null, 8, ["modelValue", "size", "placeholder", "disabled", "options", "props", "onChange"])
2210
2168
  ]);
2211
2169
  }
2212
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$g]]);
2170
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$g]]);
2213
2171
 
2214
- const _sfc_main$i = vue.defineComponent({
2172
+ const _sfc_main$k = vue.defineComponent({
2215
2173
  name: "m-fields-checkbox",
2216
2174
  props: {
2217
2175
  ...fieldProps,
@@ -2263,9 +2221,9 @@
2263
2221
  onChange: _ctx.changeHandler
2264
2222
  }, null, 8, ["modelValue", "size", "trueLabel", "falseLabel", "disabled", "label", "onChange"]);
2265
2223
  }
2266
- var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$f]]);
2224
+ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$f]]);
2267
2225
 
2268
- const _sfc_main$h = vue.defineComponent({
2226
+ const _sfc_main$j = vue.defineComponent({
2269
2227
  name: "m-fields-checkbox-group",
2270
2228
  props: {
2271
2229
  ...fieldProps,
@@ -2313,13 +2271,13 @@
2313
2271
  _: 1
2314
2272
  }, 8, ["modelValue", "size", "disabled", "onChange"]);
2315
2273
  }
2316
- var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$e]]);
2274
+ var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$e]]);
2317
2275
 
2318
2276
  const _hoisted_1$7 = { key: 0 };
2319
2277
  const __default__$2 = vue.defineComponent({
2320
2278
  name: "m-fields-color-picker"
2321
2279
  });
2322
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2280
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
2323
2281
  ...__default__$2,
2324
2282
  props: {
2325
2283
  ...fieldProps,
@@ -2349,7 +2307,7 @@
2349
2307
  }
2350
2308
  });
2351
2309
 
2352
- const _sfc_main$f = vue.defineComponent({
2310
+ const _sfc_main$h = vue.defineComponent({
2353
2311
  name: "m-fields-date",
2354
2312
  props: {
2355
2313
  ...fieldProps,
@@ -2388,9 +2346,9 @@
2388
2346
  }, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format", "onChange"])
2389
2347
  ])) : vue.createCommentVNode("", true);
2390
2348
  }
2391
- var Date$1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$d]]);
2349
+ var Date$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$d]]);
2392
2350
 
2393
- const _sfc_main$e = vue.defineComponent({
2351
+ const _sfc_main$g = vue.defineComponent({
2394
2352
  name: "m-fields-daterange",
2395
2353
  props: {
2396
2354
  ...fieldProps,
@@ -2451,13 +2409,13 @@
2451
2409
  size: _ctx.size,
2452
2410
  "unlink-panels": true,
2453
2411
  disabled: _ctx.disabled,
2454
- "default-time": _ctx.config.defaultTime || [new Date(2e3, 1, 1, 23, 59, 59)],
2412
+ "default-time": _ctx.config.defaultTime,
2455
2413
  onChange: _ctx.changeHandler
2456
2414
  }, null, 8, ["modelValue", "size", "disabled", "default-time", "onChange"]);
2457
2415
  }
2458
- var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$c]]);
2416
+ var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$c]]);
2459
2417
 
2460
- const _sfc_main$d = vue.defineComponent({
2418
+ const _sfc_main$f = vue.defineComponent({
2461
2419
  name: "m-fields-datetime",
2462
2420
  props: {
2463
2421
  ...fieldProps,
@@ -2497,17 +2455,17 @@
2497
2455
  disabled: _ctx.disabled,
2498
2456
  format: _ctx.config.format || "YYYY-MM-DD HH:mm:ss",
2499
2457
  "value-format": _ctx.config.valueFormat || "YYYY-MM-DD HH:mm:ss",
2500
- "default-time": _ctx.config.defaultTime || [new Date(2e3, 1, 1, 23, 59, 59)],
2458
+ "default-time": _ctx.config.defaultTime,
2501
2459
  onChange: _ctx.changeHandler
2502
2460
  }, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format", "default-time", "onChange"]);
2503
2461
  }
2504
- var DateTime = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$b]]);
2462
+ var DateTime = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$b]]);
2505
2463
 
2506
2464
  const _hoisted_1$5 = { key: 0 };
2507
2465
  const __default__$1 = vue.defineComponent({
2508
2466
  name: "m-fields-display"
2509
2467
  });
2510
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
2468
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
2511
2469
  ...__default__$1,
2512
2470
  props: {
2513
2471
  ...fieldProps,
@@ -2529,7 +2487,7 @@
2529
2487
  }
2530
2488
  });
2531
2489
 
2532
- const _sfc_main$b = vue.defineComponent({
2490
+ const _sfc_main$d = vue.defineComponent({
2533
2491
  name: "m-fields-dynamic-field",
2534
2492
  props: {
2535
2493
  ...fieldProps,
@@ -2623,12 +2581,12 @@
2623
2581
  })
2624
2582
  ]);
2625
2583
  }
2626
- var DynamicField = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a]]);
2584
+ var DynamicField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$a]]);
2627
2585
 
2628
2586
  const __default__ = vue.defineComponent({
2629
2587
  name: "m-fields-hidden"
2630
2588
  });
2631
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
2589
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
2632
2590
  ...__default__,
2633
2591
  props: {
2634
2592
  ...fieldProps,
@@ -2653,7 +2611,7 @@
2653
2611
  }
2654
2612
  });
2655
2613
 
2656
- const _sfc_main$9 = vue.defineComponent({
2614
+ const _sfc_main$b = vue.defineComponent({
2657
2615
  name: "m-fields-link",
2658
2616
  props: {
2659
2617
  ...fieldProps,
@@ -2761,9 +2719,9 @@
2761
2719
  }, null, 8, ["title", "width", "values", "config", "parentValues", "fullscreen", "onSubmit"])
2762
2720
  ]));
2763
2721
  }
2764
- var Link = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
2722
+ var Link = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$9]]);
2765
2723
 
2766
- const _sfc_main$8 = vue.defineComponent({
2724
+ const _sfc_main$a = vue.defineComponent({
2767
2725
  name: "m-fields-number",
2768
2726
  props: {
2769
2727
  ...fieldProps,
@@ -2806,9 +2764,9 @@
2806
2764
  onInput: _ctx.inputHandler
2807
2765
  }, null, 8, ["modelValue", "size", "max", "min", "step", "placeholder", "disabled", "onChange", "onInput"])) : vue.createCommentVNode("", true);
2808
2766
  }
2809
- var Number$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
2767
+ var Number$1 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$8]]);
2810
2768
 
2811
- const _sfc_main$7 = vue.defineComponent({
2769
+ const _sfc_main$9 = vue.defineComponent({
2812
2770
  name: "m-fields-radio-group",
2813
2771
  props: {
2814
2772
  ...fieldProps,
@@ -2852,10 +2810,64 @@
2852
2810
  _: 1
2853
2811
  }, 8, ["modelValue", "size", "disabled", "onChange"])) : vue.createCommentVNode("", true);
2854
2812
  }
2855
- var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
2813
+ var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$7]]);
2814
+
2815
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
2816
+ __name: "SelectOptionGroups",
2817
+ props: {
2818
+ options: null
2819
+ },
2820
+ setup(__props) {
2821
+ return (_ctx, _cache) => {
2822
+ const _component_el_option = vue.resolveComponent("el-option");
2823
+ const _component_el_option_group = vue.resolveComponent("el-option-group");
2824
+ return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (group, index) => {
2825
+ return vue.openBlock(), vue.createBlock(_component_el_option_group, {
2826
+ key: index,
2827
+ label: group.label,
2828
+ disabled: group.disabled
2829
+ }, {
2830
+ default: vue.withCtx(() => [
2831
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(group.options, (item, index2) => {
2832
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
2833
+ key: index2,
2834
+ label: item.label,
2835
+ value: item.value,
2836
+ disabled: item.disabled
2837
+ }, null, 8, ["label", "value", "disabled"]);
2838
+ }), 128))
2839
+ ]),
2840
+ _: 2
2841
+ }, 1032, ["label", "disabled"]);
2842
+ }), 128);
2843
+ };
2844
+ }
2845
+ });
2846
+
2847
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
2848
+ __name: "SelectOptions",
2849
+ props: {
2850
+ options: null,
2851
+ valueKey: null
2852
+ },
2853
+ setup(__props) {
2854
+ return (_ctx, _cache) => {
2855
+ const _component_el_option = vue.resolveComponent("el-option");
2856
+ return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option) => {
2857
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
2858
+ label: option.text,
2859
+ value: option.value,
2860
+ key: __props.valueKey ? option.value[__props.valueKey] : option.value,
2861
+ disabled: option.disabled
2862
+ }, null, 8, ["label", "value", "disabled"]);
2863
+ }), 128);
2864
+ };
2865
+ }
2866
+ });
2856
2867
 
2857
2868
  const _sfc_main$6 = vue.defineComponent({
2858
2869
  name: "m-fields-select",
2870
+ components: { SelectOptions: _sfc_main$7, SelectOptionGroups: _sfc_main$8 },
2859
2871
  props: {
2860
2872
  ...fieldProps,
2861
2873
  config: {
@@ -3086,6 +3098,7 @@
3086
3098
  loading,
3087
3099
  remote,
3088
3100
  options,
3101
+ groupOptions: options,
3089
3102
  moreLoadingVisible,
3090
3103
  popperClass: mForm?.popperClass,
3091
3104
  getOptions,
@@ -3124,8 +3137,8 @@
3124
3137
  });
3125
3138
  const _hoisted_1$2 = { key: 2 };
3126
3139
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
3127
- const _component_el_option = vue.resolveComponent("el-option");
3128
- const _component_el_option_group = vue.resolveComponent("el-option-group");
3140
+ const _component_select_option_groups = vue.resolveComponent("select-option-groups");
3141
+ const _component_select_options = vue.resolveComponent("select-options");
3129
3142
  const _component_el_select = vue.resolveComponent("el-select");
3130
3143
  const _directive_loading = vue.resolveDirective("loading");
3131
3144
  return _ctx.model ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_el_select, {
@@ -3149,32 +3162,13 @@
3149
3162
  onVisibleChange: _ctx.visibleHandler
3150
3163
  }, {
3151
3164
  default: vue.withCtx(() => [
3152
- _ctx.config.group ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.options, (group, index) => {
3153
- return vue.openBlock(), vue.createBlock(_component_el_option_group, {
3154
- key: index,
3155
- label: group.label,
3156
- disabled: group.disabled
3157
- }, {
3158
- default: vue.withCtx(() => [
3159
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(group.options, (item, index2) => {
3160
- return vue.openBlock(), vue.createBlock(_component_el_option, {
3161
- key: index2,
3162
- label: item.label,
3163
- value: item.value,
3164
- disabled: item.disabled
3165
- }, null, 8, ["label", "value", "disabled"]);
3166
- }), 128))
3167
- ]),
3168
- _: 2
3169
- }, 1032, ["label", "disabled"]);
3170
- }), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(_ctx.options, (option) => {
3171
- return vue.openBlock(), vue.createBlock(_component_el_option, {
3172
- label: option.text,
3173
- value: option.value,
3174
- key: _ctx.config.valueKey ? option.value[_ctx.config.valueKey] : option.value,
3175
- disabled: option.disabled
3176
- }, null, 8, ["label", "value", "disabled"]);
3177
- }), 128)),
3165
+ _ctx.config.group ? (vue.openBlock(), vue.createBlock(_component_select_option_groups, {
3166
+ key: 0,
3167
+ options: _ctx.groupOptions
3168
+ }, null, 8, ["options"])) : (vue.openBlock(), vue.createBlock(_component_select_options, {
3169
+ key: 1,
3170
+ options: _ctx.options
3171
+ }, null, 8, ["options"])),
3178
3172
  _ctx.moreLoadingVisible ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, null, 512)), [
3179
3173
  [_directive_loading, true]
3180
3174
  ]) : vue.createCommentVNode("", true)
@@ -3808,7 +3802,7 @@
3808
3802
  }
3809
3803
  var FormDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
3810
3804
 
3811
- var index$1 = /* #__PURE__ */ (() => ".m-form-dialog .el-dialog__body {\n padding: 0 !important;\n}\n.m-form-dialog .m-dialog-body {\n padding: 0 20px;\n}\n.m-form-dialog .el-table .m-form-item .el-form-item {\n margin-bottom: 0;\n}\n\n.fade-enter-active,\n.fade-leave-active {\n transition: opacity 0.5s;\n}\n\n.fade-enter, .fade-leave-to {\n opacity: 0;\n}\n\n.m-form .m-form-tip {\n color: rgba(0, 0, 0, 0.45);\n font-size: 12px;\n transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.m-form .m-form-schematic {\n max-width: 50%;\n height: 100%;\n}\n.m-form .el-table .cell > div.m-form-container {\n display: block;\n}\n.m-form .el-tabs {\n margin-bottom: 10px;\n}\n.m-form .el-form-item.hidden .el-form-item__label {\n display: none;\n}\n\n.magic-datetime-picker-popper .el-picker-panel__footer button:first-child {\n display: none;\n}\n\ndiv.m-fields-link {\n width: fit-content;\n}\n\nfieldset.m-fieldset {\n position: relative;\n border: 1px solid rgb(229, 229, 229);\n margin-top: 10px;\n margin-bottom: 10px;\n min-inline-size: auto;\n}\nfieldset.m-fieldset legend {\n font-size: 14px;\n position: absolute;\n border: 0;\n top: -10px;\n left: 20px;\n background: rgb(255, 255, 255);\n width: auto;\n padding: 0px 3px;\n font-weight: bold;\n line-height: 20px;\n}\nfieldset.m-fieldset .m-form-tip {\n margin-left: 5px;\n}\n\n.m-fields-group-list .el-button--text {\n padding: 0;\n margin-bottom: 7px;\n}\n.m-fields-group-list .el-tree-node__expand-icon {\n padding: 0;\n margin-bottom: 7px;\n}\n.m-fields-group-list .el-tree-node__expand-icon.expand {\n transform: rotate(90deg);\n}\n.m-fields-group-list .m-fields-group-list-item {\n border-bottom: 1px solid #ebeef5;\n margin-bottom: 7px;\n}\n.m-fields-group-list .m-fields-group-list-item:last-of-type {\n border-bottom: 0;\n}\n\n.m-form-panel .el-card__header:hover {\n background: #f2f6fc;\n}\n.m-form-panel .el-card__header a {\n color: #409eff;\n}\n.m-form-panel .el-card__body {\n padding: 10px;\n}\n.m-form-panel .m-form-tip {\n margin-left: 5px;\n}\n\n.m-fields-table {\n width: 100%;\n}\n.m-fields-table.fixed {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n z-index: 100;\n}\n.m-fields-table.fixed::before {\n content: \" \";\n display: block;\n background: rgba(0, 0, 0, 0.5);\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n z-index: 100;\n}\n.m-fields-table.fixed > .el-form-item__content {\n z-index: 101;\n position: relative;\n margin: 10vh auto;\n max-width: fit-content;\n}\n.m-fields-table.fixed table {\n width: 95vw !important;\n}\n.m-fields-table th {\n background-color: #f2f2f2 !important;\n color: #333 !important;\n}\n.m-fields-table .el-table th {\n padding: 0 !important;\n}\n.m-fields-table .el-table__column--dropable {\n cursor: move;\n}\n.m-fields-table .el-form-item__content .el-input-group {\n vertical-align: middle;\n}\n.m-fields-table.m-fields-table-item-extra tr.expanded td {\n border-bottom: 0;\n}\n.m-fields-table .el-table__expanded-cell .m-form-tip {\n margin-left: 80px;\n}\n.m-fields-table .el-form-item {\n margin-bottom: 0;\n}\n\n.m-select {\n width: 100%;\n}")();
3805
+ var index$1 = /* #__PURE__ */ (() => ".m-form-dialog .el-dialog__body {\n padding: 0 !important;\n}\n.m-form-dialog .m-dialog-body {\n padding: 0 20px;\n}\n.m-form-dialog .el-table .m-form-item .el-form-item {\n margin-bottom: 0;\n}\n\n.fade-enter-active,\n.fade-leave-active {\n transition: opacity 0.5s;\n}\n\n.fade-enter, .fade-leave-to {\n opacity: 0;\n}\n\n.m-form .m-form-tip {\n color: rgba(0, 0, 0, 0.45);\n font-size: 12px;\n transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.m-form .m-form-schematic {\n max-width: 50%;\n height: 100%;\n}\n.m-form .el-table .cell > div.m-form-container {\n display: block;\n}\n.m-form .el-tabs {\n margin-bottom: 10px;\n}\n.m-form .el-form-item.hidden .el-form-item__label {\n display: none;\n}\n\n.magic-datetime-picker-popper .el-picker-panel__footer button:first-child {\n display: none;\n}\n\ndiv.m-fields-link {\n width: fit-content;\n}\n\nfieldset.m-fieldset {\n position: relative;\n border: 1px solid rgb(229, 229, 229);\n margin-top: 10px;\n margin-bottom: 10px;\n min-inline-size: auto;\n}\nfieldset.m-fieldset .el-checkbox {\n height: 22px;\n}\nfieldset.m-fieldset legend {\n font-size: 14px;\n position: absolute;\n border: 0;\n top: -10px;\n left: 20px;\n background: rgb(255, 255, 255);\n width: auto;\n padding: 0px 3px;\n font-weight: bold;\n line-height: 20px;\n}\nfieldset.m-fieldset .m-form-tip {\n margin-left: 5px;\n}\n\n.m-fields-group-list .el-button--text {\n padding: 0;\n margin-bottom: 7px;\n}\n.m-fields-group-list .el-tree-node__expand-icon {\n padding: 0;\n margin-bottom: 7px;\n}\n.m-fields-group-list .el-tree-node__expand-icon.expand {\n transform: rotate(90deg);\n}\n.m-fields-group-list .m-fields-group-list-item {\n border-bottom: 1px solid #ebeef5;\n margin-bottom: 7px;\n}\n.m-fields-group-list .m-fields-group-list-item:last-of-type {\n border-bottom: 0;\n}\n\n.m-form-panel .el-card__header:hover {\n background: #f2f6fc;\n}\n.m-form-panel .el-card__header a {\n color: #409eff;\n}\n.m-form-panel .el-card__body {\n padding: 10px;\n}\n.m-form-panel .m-form-tip {\n margin-left: 5px;\n}\n\n.m-fields-table {\n width: 100%;\n}\n.m-fields-table.fixed {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n z-index: 100;\n}\n.m-fields-table.fixed::before {\n content: \" \";\n display: block;\n background: rgba(0, 0, 0, 0.5);\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n z-index: 100;\n}\n.m-fields-table.fixed > .el-form-item__content {\n z-index: 101;\n position: relative;\n margin: 10vh auto;\n max-width: fit-content;\n}\n.m-fields-table.fixed table {\n width: 95vw !important;\n}\n.m-fields-table th {\n background-color: #f2f2f2 !important;\n color: #333 !important;\n}\n.m-fields-table .el-table th {\n padding: 0 !important;\n}\n.m-fields-table .el-table__column--dropable {\n cursor: move;\n}\n.m-fields-table .el-form-item__content .el-input-group {\n vertical-align: middle;\n}\n.m-fields-table.m-fields-table-item-extra tr.expanded td {\n border-bottom: 0;\n}\n.m-fields-table .el-table__expanded-cell .m-form-tip {\n margin-left: 80px;\n}\n.m-fields-table .el-form-item {\n margin-bottom: 0;\n}\n\n.m-select {\n width: 100%;\n}")();
3812
3806
 
3813
3807
  const defaultInstallOpt = {};
3814
3808
  const install = (app, opt) => {
@@ -3818,7 +3812,7 @@
3818
3812
  app.component(Form.name, Form);
3819
3813
  app.component(FormDialog.name, FormDialog);
3820
3814
  app.component(Container.name, Container);
3821
- app.component(Fieldset.name, Fieldset);
3815
+ app.component("m-form-fieldset", _sfc_main$u);
3822
3816
  app.component(GroupList.name, GroupList);
3823
3817
  app.component(Panel.name, Panel);
3824
3818
  app.component(Row.name, Row);
@@ -3828,17 +3822,17 @@
3828
3822
  app.component(Text.name, Text);
3829
3823
  app.component(Number$1.name, Number$1);
3830
3824
  app.component(Textarea.name, Textarea);
3831
- app.component(_sfc_main$a.name, _sfc_main$a);
3825
+ app.component(_sfc_main$c.name, _sfc_main$c);
3832
3826
  app.component(Date$1.name, Date$1);
3833
3827
  app.component(DateTime.name, DateTime);
3834
3828
  app.component(Time.name, Time);
3835
3829
  app.component(Checkbox.name, Checkbox);
3836
3830
  app.component(Switch.name, Switch);
3837
3831
  app.component(Daterange.name, Daterange);
3838
- app.component(_sfc_main$g.name, _sfc_main$g);
3832
+ app.component(_sfc_main$i.name, _sfc_main$i);
3839
3833
  app.component(CheckboxGroup.name, CheckboxGroup);
3840
3834
  app.component(RadioGroup.name, RadioGroup);
3841
- app.component(_sfc_main$c.name, _sfc_main$c);
3835
+ app.component(_sfc_main$e.name, _sfc_main$e);
3842
3836
  app.component(Link.name, Link);
3843
3837
  app.component(Select.name, Select);
3844
3838
  app.component(Cascader.name, Cascader);
@@ -3851,18 +3845,18 @@
3851
3845
  exports.MCascader = Cascader;
3852
3846
  exports.MCheckbox = Checkbox;
3853
3847
  exports.MCheckboxGroup = CheckboxGroup;
3854
- exports.MColorPicker = _sfc_main$g;
3848
+ exports.MColorPicker = _sfc_main$i;
3855
3849
  exports.MContainer = Container;
3856
3850
  exports.MDate = Date$1;
3857
3851
  exports.MDateTime = DateTime;
3858
3852
  exports.MDaterange = Daterange;
3859
- exports.MDisplay = _sfc_main$c;
3853
+ exports.MDisplay = _sfc_main$e;
3860
3854
  exports.MDynamicField = DynamicField;
3861
- exports.MFieldset = Fieldset;
3855
+ exports.MFieldset = _sfc_main$u;
3862
3856
  exports.MForm = Form;
3863
3857
  exports.MFormDialog = FormDialog;
3864
3858
  exports.MGroupList = GroupList;
3865
- exports.MHidden = _sfc_main$a;
3859
+ exports.MHidden = _sfc_main$c;
3866
3860
  exports.MLink = Link;
3867
3861
  exports.MNumber = Number$1;
3868
3862
  exports.MPanel = Panel;