@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.
@@ -1,7 +1,7 @@
1
1
  import { toRaw, defineComponent, inject, ref, computed, resolveComponent, watchEffect, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createBlock, resolveDynamicComponent, Fragment, createVNode, unref, withCtx, createElementVNode, createCommentVNode, renderList, createTextVNode, toDisplayString, withDirectives, vShow, renderSlot, onMounted, toRefs, mergeProps, getCurrentInstance, reactive, onBeforeUnmount, vModelText, provide, onBeforeMount, resolveDirective, createSlots, withModifiers } from 'vue';
2
2
  import { WarningFilled, CaretBottom, CaretRight, Delete, CaretTop, Grid, ArrowUp, ArrowDown, FullScreen } from '@element-plus/icons-vue';
3
3
  import { cloneDeep, isEqual, isEmpty } from 'lodash-es';
4
- import { TMagicFormItem, TMagicTooltip, TMagicIcon, TMagicButton, TMagicCheckbox, TMagicCard, TMagicCol, TMagicRow, TMagicSteps, TMagicStep, TMagicTable, TMagicTableColumn, TMagicUpload, TMagicPagination, tMagicMessage, getConfig as getConfig$1, TMagicBadge, TMagicCascader, TMagicCheckboxGroup, TMagicColorPicker, TMagicDatePicker, TMagicForm, TMagicInput, TMagicDialog, TMagicInputNumber, TMagicRadioGroup, TMagicRadio, TMagicOptionGroup, TMagicOption, TMagicSelect, TMagicSwitch, TMagicTimePicker } from '@tmagic/design';
4
+ import { TMagicFormItem, TMagicTooltip, TMagicIcon, TMagicButton, TMagicCheckbox, TMagicCard, TMagicCol, TMagicRow, TMagicSteps, TMagicStep, TMagicTable, TMagicTableColumn, TMagicUpload, TMagicPagination, tMagicMessage, getConfig as getConfig$1, TMagicBadge, TMagicCascader, TMagicCheckboxGroup, TMagicColorPicker, TMagicDatePicker, TMagicForm, TMagicInput, TMagicDialog, TMagicInputNumber, TMagicRadioGroup, TMagicRadio, TMagicOptionGroup, TMagicOption, TMagicSelect, TMagicSwitch, TMagicTimePicker, TMagicDrawer } from '@tmagic/design';
5
5
  import Sortable from 'sortablejs';
6
6
  import { asyncLoadJs, sleep, datetimeFormatter, getValueByKeyPath, isNumber } from '@tmagic/utils';
7
7
  import cloneDeep$1 from 'lodash-es/cloneDeep';
@@ -166,7 +166,7 @@ const initValue = async (mForm, { initValues, config }) => {
166
166
  return valuesTmp || {};
167
167
  };
168
168
 
169
- const _hoisted_1$b = ["innerHTML"];
169
+ const _hoisted_1$c = ["innerHTML"];
170
170
  const _hoisted_2$6 = ["innerHTML"];
171
171
  const _hoisted_3$4 = ["innerHTML"];
172
172
  const _hoisted_4$4 = ["innerHTML"];
@@ -182,7 +182,7 @@ const _hoisted_13 = {
182
182
  key: 5,
183
183
  style: { "text-align": "center" }
184
184
  };
185
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
185
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
186
186
  ...{
187
187
  name: "MFormContainer"
188
188
  },
@@ -330,7 +330,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
330
330
  return _ctx.config ? (openBlock(), createElementBlock("div", {
331
331
  key: 0,
332
332
  style: normalizeStyle(_ctx.config.tip ? "display: flex;align-items: baseline;" : ""),
333
- class: normalizeClass([_ctx.config.className, "m-form-container"])
333
+ class: normalizeClass(`m-form-container m-container-${type.value || ""} ${_ctx.config.className || ""}`)
334
334
  }, [
335
335
  type.value === "hidden" ? (openBlock(), createBlock(_component_m_fields_hidden, {
336
336
  key: 0,
@@ -365,7 +365,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
365
365
  label: withCtx(() => [
366
366
  createElementVNode("span", {
367
367
  innerHTML: type.value === "checkbox" ? "" : _ctx.config.text
368
- }, null, 8, _hoisted_1$b)
368
+ }, null, 8, _hoisted_1$c)
369
369
  ]),
370
370
  default: withCtx(() => [
371
371
  tooltip.value ? (openBlock(), createBlock(unref(TMagicTooltip), { key: 0 }, {
@@ -599,7 +599,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
599
599
  }
600
600
  });
601
601
 
602
- const _hoisted_1$a = ["innerHTML"];
602
+ const _hoisted_1$b = ["innerHTML"];
603
603
  const _hoisted_2$5 = ["innerHTML"];
604
604
  const _hoisted_3$3 = { key: 1 };
605
605
  const _hoisted_4$3 = ["innerHTML"];
@@ -610,7 +610,7 @@ const _hoisted_6 = {
610
610
  };
611
611
  const _hoisted_7 = { style: { "flex": "1" } };
612
612
  const _hoisted_8 = ["src"];
613
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
613
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
614
614
  ...{
615
615
  name: "MFormFieldset"
616
616
  },
@@ -669,7 +669,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
669
669
  default: withCtx(() => [
670
670
  createElementVNode("span", {
671
671
  innerHTML: _ctx.config.legend
672
- }, null, 8, _hoisted_1$a),
672
+ }, null, 8, _hoisted_1$b),
673
673
  _ctx.config.extra ? (openBlock(), createElementBlock("span", {
674
674
  key: 0,
675
675
  innerHTML: _ctx.config.extra,
@@ -693,7 +693,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
693
693
  _ctx.config.schematic && show.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
694
694
  createElementVNode("div", _hoisted_7, [
695
695
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.items, (item, index) => {
696
- return openBlock(), createBlock(_sfc_main$v, {
696
+ return openBlock(), createBlock(_sfc_main$w, {
697
697
  key: key(item, index),
698
698
  model: name.value ? _ctx.model[name.value] : _ctx.model,
699
699
  lastValues: name.value ? _ctx.lastValues[name.value] : _ctx.lastValues,
@@ -714,7 +714,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
714
714
  src: _ctx.config.schematic
715
715
  }, null, 8, _hoisted_8)
716
716
  ])) : show.value ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(_ctx.config.items, (item, index) => {
717
- return openBlock(), createBlock(_sfc_main$v, {
717
+ return openBlock(), createBlock(_sfc_main$w, {
718
718
  key: key(item, index),
719
719
  model: name.value ? _ctx.model[name.value] : _ctx.model,
720
720
  lastValues: name.value ? _ctx.lastValues[name.value] : _ctx.lastValues,
@@ -734,9 +734,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
734
734
  }
735
735
  });
736
736
 
737
- const _hoisted_1$9 = { class: "m-fields-group-list-item" };
737
+ const _hoisted_1$a = { class: "m-fields-group-list-item" };
738
738
  const _hoisted_2$4 = ["innerHTML"];
739
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
739
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
740
740
  ...{
741
741
  name: "MFormGroupListItem"
742
742
  },
@@ -797,7 +797,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
797
797
  };
798
798
  const onAddDiffCount = () => emit("addDiffCount");
799
799
  return (_ctx, _cache) => {
800
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
800
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
801
801
  createElementVNode("div", null, [
802
802
  createVNode(unref(TMagicButton), {
803
803
  text: "",
@@ -865,7 +865,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
865
865
  class: "m-form-tip"
866
866
  }, null, 8, _hoisted_2$4)) : createCommentVNode("", true)
867
867
  ]),
868
- expand.value ? (openBlock(), createBlock(_sfc_main$v, {
868
+ expand.value ? (openBlock(), createBlock(_sfc_main$w, {
869
869
  key: 0,
870
870
  config: rowConfig.value,
871
871
  model: _ctx.model,
@@ -883,7 +883,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
883
883
  }
884
884
  });
885
885
 
886
- const _hoisted_1$8 = { class: "m-fields-group-list" };
886
+ const _hoisted_1$9 = { class: "m-fields-group-list" };
887
887
  const _hoisted_2$3 = ["innerHTML"];
888
888
  const _hoisted_3$2 = {
889
889
  key: 1,
@@ -893,7 +893,7 @@ const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("span", { class: "el-tab
893
893
  const _hoisted_5$1 = [
894
894
  _hoisted_4$2
895
895
  ];
896
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
896
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
897
897
  ...{
898
898
  name: "MFormGroupList"
899
899
  },
@@ -976,14 +976,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
976
976
  const onAddDiffCount = () => emit("addDiffCount");
977
977
  const getLastValues = (item, index) => item?.[index] || {};
978
978
  return (_ctx, _cache) => {
979
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
979
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
980
980
  _ctx.config.extra ? (openBlock(), createElementBlock("div", {
981
981
  key: 0,
982
982
  innerHTML: _ctx.config.extra,
983
983
  style: { "color": "rgba(0, 0, 0, 0.45)" }
984
984
  }, null, 8, _hoisted_2$3)) : createCommentVNode("", true),
985
985
  !_ctx.model[_ctx.name] || !_ctx.model[_ctx.name].length ? (openBlock(), createElementBlock("div", _hoisted_3$2, _hoisted_5$1)) : (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(_ctx.model[_ctx.name], (item, index) => {
986
- return openBlock(), createBlock(_sfc_main$t, {
986
+ return openBlock(), createBlock(_sfc_main$u, {
987
987
  key: index,
988
988
  model: item,
989
989
  lastValues: getLastValues(_ctx.lastValues[_ctx.name], index),
@@ -1028,7 +1028,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1028
1028
  }
1029
1029
  });
1030
1030
 
1031
- const _hoisted_1$7 = { style: { "width": "100%", "display": "flex", "align-items": "center" } };
1031
+ const _hoisted_1$8 = { style: { "width": "100%", "display": "flex", "align-items": "center" } };
1032
1032
  const _hoisted_2$2 = ["innerHTML"];
1033
1033
  const _hoisted_3$1 = {
1034
1034
  key: 0,
@@ -1036,7 +1036,7 @@ const _hoisted_3$1 = {
1036
1036
  };
1037
1037
  const _hoisted_4$1 = { style: { "flex": "1" } };
1038
1038
  const _hoisted_5 = ["src"];
1039
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
1039
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1040
1040
  ...{
1041
1041
  name: "MFormPanel"
1042
1042
  },
@@ -1068,7 +1068,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1068
1068
  "body-style": { display: expand.value ? "block" : "none" }
1069
1069
  }, {
1070
1070
  header: withCtx(() => [
1071
- createElementVNode("div", _hoisted_1$7, [
1071
+ createElementVNode("div", _hoisted_1$8, [
1072
1072
  createVNode(unref(TMagicButton), {
1073
1073
  style: { "padding": "0" },
1074
1074
  text: "",
@@ -1091,7 +1091,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1091
1091
  _ctx.config.schematic ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
1092
1092
  createElementVNode("div", _hoisted_4$1, [
1093
1093
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
1094
- return openBlock(), createBlock(_sfc_main$v, {
1094
+ return openBlock(), createBlock(_sfc_main$w, {
1095
1095
  key: item[unref(mForm)?.keyProp || "__key"] ?? index,
1096
1096
  config: item,
1097
1097
  model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
@@ -1111,7 +1111,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1111
1111
  src: _ctx.config.schematic
1112
1112
  }, null, 8, _hoisted_5)
1113
1113
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(items.value, (item, index) => {
1114
- return openBlock(), createBlock(_sfc_main$v, {
1114
+ return openBlock(), createBlock(_sfc_main$w, {
1115
1115
  key: item[unref(mForm)?.keyProp || "__key"] ?? index,
1116
1116
  config: item,
1117
1117
  model: _ctx.name ? _ctx.model[_ctx.name] : _ctx.model,
@@ -1133,7 +1133,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1133
1133
  }
1134
1134
  });
1135
1135
 
1136
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1136
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1137
1137
  ...{
1138
1138
  name: "MFormCol"
1139
1139
  },
@@ -1160,7 +1160,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1160
1160
  return (_ctx, _cache) => {
1161
1161
  return withDirectives((openBlock(), createBlock(unref(TMagicCol), { span: _ctx.span }, {
1162
1162
  default: withCtx(() => [
1163
- createVNode(_sfc_main$v, {
1163
+ createVNode(_sfc_main$w, {
1164
1164
  model: _ctx.model,
1165
1165
  lastValues: _ctx.lastValues,
1166
1166
  "is-compare": _ctx.isCompare,
@@ -1182,7 +1182,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1182
1182
  }
1183
1183
  });
1184
1184
 
1185
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
1185
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1186
1186
  ...{
1187
1187
  name: "MFormRow"
1188
1188
  },
@@ -1209,7 +1209,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1209
1209
  return openBlock(), createBlock(unref(TMagicRow), { gutter: 10 }, {
1210
1210
  default: withCtx(() => [
1211
1211
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.items, (col, index) => {
1212
- return openBlock(), createBlock(_sfc_main$q, {
1212
+ return openBlock(), createBlock(_sfc_main$r, {
1213
1213
  key: col[unref(mForm)?.keyProp || "__key"] ?? index,
1214
1214
  span: col.span || _ctx.config.span || 24 / _ctx.config.items.length,
1215
1215
  config: col,
@@ -1232,7 +1232,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1232
1232
  }
1233
1233
  });
1234
1234
 
1235
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
1235
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1236
1236
  ...{
1237
1237
  name: "MFormStep"
1238
1238
  },
@@ -1286,7 +1286,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1286
1286
  return openBlock(), createElementBlock(Fragment, null, [
1287
1287
  (openBlock(true), createElementBlock(Fragment, null, renderList(step.items, (item) => {
1288
1288
  return openBlock(), createElementBlock(Fragment, null, [
1289
- item ? withDirectives((openBlock(), createBlock(_sfc_main$v, {
1289
+ item ? withDirectives((openBlock(), createBlock(_sfc_main$w, {
1290
1290
  key: item[unref(mForm)?.keyProp || "__key"],
1291
1291
  config: item,
1292
1292
  model: step.name ? _ctx.model[step.name] : _ctx.model,
@@ -1310,7 +1310,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1310
1310
  }
1311
1311
  });
1312
1312
 
1313
- const _hoisted_1$6 = ["innerHTML"];
1313
+ const _hoisted_1$7 = ["innerHTML"];
1314
1314
  const _hoisted_2$1 = { class: "el-form-item__content" };
1315
1315
  const _hoisted_3 = ["innerHTML"];
1316
1316
  const _hoisted_4 = {
@@ -1318,7 +1318,7 @@ const _hoisted_4 = {
1318
1318
  class: "bottom",
1319
1319
  style: { "text-align": "right" }
1320
1320
  };
1321
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1321
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1322
1322
  ...{
1323
1323
  name: "MFormTable"
1324
1324
  },
@@ -1673,7 +1673,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1673
1673
  key: 0,
1674
1674
  style: { "color": "rgba(0, 0, 0, 0.45)" },
1675
1675
  innerHTML: _ctx.config.extra
1676
- }, null, 8, _hoisted_1$6)) : createCommentVNode("", true),
1676
+ }, null, 8, _hoisted_1$7)) : createCommentVNode("", true),
1677
1677
  createElementVNode("div", _hoisted_2$1, [
1678
1678
  createVNode(unref(TMagicTooltip), {
1679
1679
  content: "拖拽可排序",
@@ -1808,7 +1808,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1808
1808
  "class-name": _ctx.config.dropSort === true ? "el-table__column--dropable" : ""
1809
1809
  }, {
1810
1810
  default: withCtx((scope) => [
1811
- scope.$index > -1 ? (openBlock(), createBlock(_sfc_main$v, {
1811
+ scope.$index > -1 ? (openBlock(), createBlock(_sfc_main$w, {
1812
1812
  key: 0,
1813
1813
  labelWidth: "0",
1814
1814
  disabled: _ctx.disabled,
@@ -1929,7 +1929,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1929
1929
  }
1930
1930
  });
1931
1931
 
1932
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1932
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1933
1933
  ...{
1934
1934
  name: "MFormTabs"
1935
1935
  },
@@ -2083,7 +2083,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2083
2083
  ]),
2084
2084
  default: withCtx(() => [
2085
2085
  (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems(tab), (item) => {
2086
- return openBlock(), createBlock(_sfc_main$v, {
2086
+ return openBlock(), createBlock(_sfc_main$w, {
2087
2087
  key: item[unref(mForm)?.keyProp || "__key"],
2088
2088
  config: item,
2089
2089
  disabled: _ctx.disabled,
@@ -2135,7 +2135,7 @@ const useAddField = (prop) => {
2135
2135
  );
2136
2136
  };
2137
2137
 
2138
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
2138
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2139
2139
  ...{
2140
2140
  name: "MFormCascader"
2141
2141
  },
@@ -2223,7 +2223,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2223
2223
  }
2224
2224
  });
2225
2225
 
2226
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
2226
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2227
2227
  ...{
2228
2228
  name: "MFormCheckbox"
2229
2229
  },
@@ -2285,7 +2285,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2285
2285
  }
2286
2286
  });
2287
2287
 
2288
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
2288
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2289
2289
  ...{
2290
2290
  name: "MFormCheckGroup"
2291
2291
  },
@@ -2348,7 +2348,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2348
2348
  }
2349
2349
  });
2350
2350
 
2351
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
2351
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2352
2352
  ...{
2353
2353
  name: "MFormColorPicker"
2354
2354
  },
@@ -2382,7 +2382,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2382
2382
  }
2383
2383
  });
2384
2384
 
2385
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
2385
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2386
2386
  ...{
2387
2387
  name: "MFormDate"
2388
2388
  },
@@ -2422,7 +2422,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2422
2422
  }
2423
2423
  });
2424
2424
 
2425
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
2425
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2426
2426
  ...{
2427
2427
  name: "MFormDateRange"
2428
2428
  },
@@ -2524,7 +2524,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2524
2524
  }
2525
2525
  });
2526
2526
 
2527
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
2527
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2528
2528
  ...{
2529
2529
  name: "MFormDateTime"
2530
2530
  },
@@ -2573,8 +2573,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2573
2573
  }
2574
2574
  });
2575
2575
 
2576
- const _hoisted_1$5 = { key: 0 };
2577
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
2576
+ const _hoisted_1$6 = { key: 0 };
2577
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2578
2578
  ...{
2579
2579
  name: "MFormDisplay"
2580
2580
  },
@@ -2595,13 +2595,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2595
2595
  }
2596
2596
  useAddField(props.prop);
2597
2597
  return (_ctx, _cache) => {
2598
- return _ctx.model ? (openBlock(), createElementBlock("span", _hoisted_1$5, toDisplayString(_ctx.model[_ctx.name]), 1)) : createCommentVNode("", true);
2598
+ return _ctx.model ? (openBlock(), createElementBlock("span", _hoisted_1$6, toDisplayString(_ctx.model[_ctx.name]), 1)) : createCommentVNode("", true);
2599
2599
  };
2600
2600
  }
2601
2601
  });
2602
2602
 
2603
- const _hoisted_1$4 = { class: "m-fields-dynamic-field" };
2604
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2603
+ const _hoisted_1$5 = { class: "m-fields-dynamic-field" };
2604
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2605
2605
  ...{
2606
2606
  name: "MFormDynamicField"
2607
2607
  },
@@ -2666,7 +2666,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2666
2666
  emit("change", fieldMap.value[key], key);
2667
2667
  };
2668
2668
  return (_ctx, _cache) => {
2669
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
2669
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
2670
2670
  createVNode(unref(TMagicForm), { size: "small" }, {
2671
2671
  default: withCtx(() => [
2672
2672
  (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys(fieldMap.value), (key) => {
@@ -2693,7 +2693,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2693
2693
  }
2694
2694
  });
2695
2695
 
2696
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
2696
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2697
2697
  ...{
2698
2698
  name: "MFormHidden"
2699
2699
  },
@@ -2722,7 +2722,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2722
2722
  }
2723
2723
  });
2724
2724
 
2725
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
2725
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2726
2726
  ...{
2727
2727
  name: "MForm"
2728
2728
  },
@@ -2861,7 +2861,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2861
2861
  }, {
2862
2862
  default: withCtx(() => [
2863
2863
  initialized.value && Array.isArray(_ctx.config) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.config, (item, index) => {
2864
- return openBlock(), createBlock(_sfc_main$v, {
2864
+ return openBlock(), createBlock(_sfc_main$w, {
2865
2865
  disabled: _ctx.disabled,
2866
2866
  key: item[_ctx.keyProp] ?? index,
2867
2867
  config: item,
@@ -2881,8 +2881,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2881
2881
  }
2882
2882
  });
2883
2883
 
2884
- const _hoisted_1$3 = { style: { "min-height": "1px" } };
2885
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2884
+ const _hoisted_1$4 = { style: { "min-height": "1px" } };
2885
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2886
2886
  ...{
2887
2887
  name: "MFormDialog"
2888
2888
  },
@@ -2926,9 +2926,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2926
2926
  }
2927
2927
  return false;
2928
2928
  });
2929
- const cancel = () => {
2930
- dialogVisible.value = false;
2931
- };
2932
2929
  const closeHandler = () => {
2933
2930
  stepActive.value = 1;
2934
2931
  emit("close");
@@ -2950,12 +2947,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2950
2947
  const changeHandler = (value) => {
2951
2948
  emit("change", value);
2952
2949
  };
2950
+ const show = () => {
2951
+ dialogVisible.value = true;
2952
+ };
2953
+ const hide = () => {
2954
+ dialogVisible.value = false;
2955
+ };
2956
+ const cancel = () => {
2957
+ hide();
2958
+ };
2953
2959
  __expose({
2954
2960
  form,
2955
2961
  saveFetch,
2956
2962
  dialogVisible,
2957
2963
  cancel,
2958
- save
2964
+ save,
2965
+ show,
2966
+ hide
2959
2967
  });
2960
2968
  return (_ctx, _cache) => {
2961
2969
  return openBlock(), createBlock(unref(TMagicDialog), {
@@ -2979,7 +2987,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2979
2987
  style: { "text-align": "left" }
2980
2988
  }, {
2981
2989
  default: withCtx(() => [
2982
- createElementVNode("div", _hoisted_1$3, [
2990
+ createElementVNode("div", _hoisted_1$4, [
2983
2991
  renderSlot(_ctx.$slots, "left")
2984
2992
  ])
2985
2993
  ]),
@@ -3044,7 +3052,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3044
3052
  class: "m-dialog-body",
3045
3053
  style: normalizeStyle(`max-height: ${bodyHeight.value}; overflow-y: auto; overflow-x: hidden;`)
3046
3054
  }, [
3047
- createVNode(_sfc_main$b, {
3055
+ createVNode(_sfc_main$c, {
3048
3056
  modelValue: stepActive.value,
3049
3057
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => stepActive.value = $event),
3050
3058
  ref_key: "form",
@@ -3066,12 +3074,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3066
3074
  }
3067
3075
  });
3068
3076
 
3069
- const _hoisted_1$2 = ["href"];
3077
+ const _hoisted_1$3 = ["href"];
3070
3078
  const _hoisted_2 = {
3071
3079
  key: 2,
3072
3080
  class: "m-fields-link"
3073
3081
  };
3074
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3082
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3075
3083
  ...{
3076
3084
  name: "MFormLink"
3077
3085
  },
@@ -3139,7 +3147,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3139
3147
  target: "_blank",
3140
3148
  href: href.value,
3141
3149
  style: normalizeStyle(_ctx.config.css || {})
3142
- }, toDisplayString(displayText.value), 13, _hoisted_1$2)) : _ctx.config.href && _ctx.disabled ? (openBlock(), createElementBlock("span", {
3150
+ }, toDisplayString(displayText.value), 13, _hoisted_1$3)) : _ctx.config.href && _ctx.disabled ? (openBlock(), createElementBlock("span", {
3143
3151
  key: 1,
3144
3152
  style: normalizeStyle(_ctx.config.disabledCss || {})
3145
3153
  }, toDisplayString(displayText.value), 5)) : (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -3153,7 +3161,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3153
3161
  ]),
3154
3162
  _: 1
3155
3163
  }),
3156
- createVNode(_sfc_main$a, {
3164
+ createVNode(_sfc_main$b, {
3157
3165
  ref_key: "editor",
3158
3166
  ref: editor,
3159
3167
  title: _ctx.config.formTitle || "编辑扩展配置",
@@ -3169,7 +3177,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3169
3177
  }
3170
3178
  });
3171
3179
 
3172
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3180
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3173
3181
  ...{
3174
3182
  name: "MFormNumber"
3175
3183
  },
@@ -3217,7 +3225,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3217
3225
  }
3218
3226
  });
3219
3227
 
3220
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3228
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3221
3229
  ...{
3222
3230
  name: "MFormRadioGroup"
3223
3231
  },
@@ -3269,7 +3277,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3269
3277
  }
3270
3278
  });
3271
3279
 
3272
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3280
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3273
3281
  ...{
3274
3282
  name: "MFormSelectOptionGroups"
3275
3283
  },
@@ -3303,7 +3311,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3303
3311
  }
3304
3312
  });
3305
3313
 
3306
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3314
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3307
3315
  ...{
3308
3316
  name: "MFormSelectOptions"
3309
3317
  },
@@ -3326,8 +3334,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3326
3334
  }
3327
3335
  });
3328
3336
 
3329
- const _hoisted_1$1 = { key: 2 };
3330
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3337
+ const _hoisted_1$2 = { key: 2 };
3338
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3331
3339
  ...{
3332
3340
  name: "MFormSelect"
3333
3341
  },
@@ -3667,14 +3675,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3667
3675
  onVisibleChange: visibleHandler
3668
3676
  }, {
3669
3677
  default: withCtx(() => [
3670
- _ctx.config.group ? (openBlock(), createBlock(_sfc_main$6, {
3678
+ _ctx.config.group ? (openBlock(), createBlock(_sfc_main$7, {
3671
3679
  key: 0,
3672
3680
  options: unref(groupOptions)
3673
- }, null, 8, ["options"])) : (openBlock(), createBlock(_sfc_main$5, {
3681
+ }, null, 8, ["options"])) : (openBlock(), createBlock(_sfc_main$6, {
3674
3682
  key: 1,
3675
3683
  options: unref(itemOptions)
3676
3684
  }, null, 8, ["options"])),
3677
- moreLoadingVisible.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$1, null, 512)), [
3685
+ moreLoadingVisible.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$2, null, 512)), [
3678
3686
  [_directive_loading, true]
3679
3687
  ]) : createCommentVNode("", true)
3680
3688
  ]),
@@ -3686,7 +3694,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3686
3694
  }
3687
3695
  });
3688
3696
 
3689
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3697
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3690
3698
  ...{
3691
3699
  name: "MFormSwitch"
3692
3700
  },
@@ -3743,8 +3751,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3743
3751
  }
3744
3752
  });
3745
3753
 
3746
- const _hoisted_1 = { key: 0 };
3747
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3754
+ const _hoisted_1$1 = { key: 0 };
3755
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3748
3756
  ...{
3749
3757
  name: "MFormText"
3750
3758
  },
@@ -3848,7 +3856,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3848
3856
  _ctx.config.append ? {
3849
3857
  name: "append",
3850
3858
  fn: withCtx(() => [
3851
- typeof _ctx.config.append === "string" ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.config.append), 1)) : createCommentVNode("", true),
3859
+ typeof _ctx.config.append === "string" ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(_ctx.config.append), 1)) : createCommentVNode("", true),
3852
3860
  typeof _ctx.config.append === "object" && _ctx.config.append.type === "button" ? (openBlock(), createBlock(unref(TMagicButton), {
3853
3861
  key: 1,
3854
3862
  style: { "color": "#409eff" },
@@ -3868,7 +3876,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3868
3876
  }
3869
3877
  });
3870
3878
 
3871
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3879
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3872
3880
  ...{
3873
3881
  name: "MFormTextarea"
3874
3882
  },
@@ -3912,7 +3920,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3912
3920
  }
3913
3921
  });
3914
3922
 
3915
- const _sfc_main = /* @__PURE__ */ defineComponent({
3923
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3916
3924
  ...{
3917
3925
  name: "MFormTime"
3918
3926
  },
@@ -3952,42 +3960,185 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3952
3960
 
3953
3961
  const index$1 = '';
3954
3962
 
3963
+ const _hoisted_1 = { style: { "min-height": "1px" } };
3964
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3965
+ ...{
3966
+ name: "MFormDialog"
3967
+ },
3968
+ __name: "FormDrawer",
3969
+ props: {
3970
+ config: { default: () => [] },
3971
+ values: { default: () => ({}) },
3972
+ parentValues: {},
3973
+ width: {},
3974
+ labelWidth: {},
3975
+ disabled: { type: Boolean },
3976
+ title: {},
3977
+ zIndex: {},
3978
+ size: {},
3979
+ confirmText: { default: "确定" }
3980
+ },
3981
+ emits: ["close", "submit", "error", "change", "open", "opened"],
3982
+ setup(__props, { expose: __expose, emit }) {
3983
+ const form = ref();
3984
+ const drawerBody = ref();
3985
+ const visible = ref(false);
3986
+ const saveFetch = ref(false);
3987
+ const bodyHeight = ref(0);
3988
+ watchEffect(() => {
3989
+ if (drawerBody.value) {
3990
+ bodyHeight.value = drawerBody.value.clientHeight;
3991
+ }
3992
+ });
3993
+ const submitHandler = async () => {
3994
+ try {
3995
+ const values = await form.value?.submitForm();
3996
+ emit("submit", values);
3997
+ } catch (e) {
3998
+ emit("error", e);
3999
+ }
4000
+ };
4001
+ const changeHandler = (value) => {
4002
+ emit("change", value);
4003
+ };
4004
+ const openHandler = (value) => {
4005
+ emit("open", value);
4006
+ };
4007
+ const openedHandler = (value) => {
4008
+ emit("opened", value);
4009
+ };
4010
+ const show = () => {
4011
+ visible.value = true;
4012
+ };
4013
+ const hide = () => {
4014
+ visible.value = false;
4015
+ };
4016
+ __expose({
4017
+ form,
4018
+ saveFetch,
4019
+ bodyHeight,
4020
+ show,
4021
+ hide
4022
+ });
4023
+ return (_ctx, _cache) => {
4024
+ return openBlock(), createBlock(unref(TMagicDrawer), {
4025
+ class: "m-form-drawer",
4026
+ modelValue: visible.value,
4027
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
4028
+ title: _ctx.title,
4029
+ "close-on-press-escape": true,
4030
+ "append-to-body": true,
4031
+ "show-close": true,
4032
+ "close-on-click-modal": true,
4033
+ size: _ctx.width,
4034
+ zIndex: _ctx.zIndex,
4035
+ onOpen: openHandler,
4036
+ onOpened: openedHandler
4037
+ }, {
4038
+ footer: withCtx(() => [
4039
+ createVNode(unref(TMagicRow), { class: "dialog-footer" }, {
4040
+ default: withCtx(() => [
4041
+ createVNode(unref(TMagicCol), {
4042
+ span: 12,
4043
+ style: { "text-align": "left" }
4044
+ }, {
4045
+ default: withCtx(() => [
4046
+ createElementVNode("div", _hoisted_1, [
4047
+ renderSlot(_ctx.$slots, "left")
4048
+ ])
4049
+ ]),
4050
+ _: 3
4051
+ }),
4052
+ createVNode(unref(TMagicCol), { span: 12 }, {
4053
+ default: withCtx(() => [
4054
+ renderSlot(_ctx.$slots, "footer", {}, () => [
4055
+ createVNode(unref(TMagicButton), { onClick: hide }, {
4056
+ default: withCtx(() => [
4057
+ createTextVNode("关闭")
4058
+ ]),
4059
+ _: 1
4060
+ }),
4061
+ createVNode(unref(TMagicButton), {
4062
+ type: "primary",
4063
+ onClick: submitHandler,
4064
+ loading: saveFetch.value
4065
+ }, {
4066
+ default: withCtx(() => [
4067
+ createTextVNode(toDisplayString(_ctx.confirmText), 1)
4068
+ ]),
4069
+ _: 1
4070
+ }, 8, ["loading"])
4071
+ ])
4072
+ ]),
4073
+ _: 3
4074
+ })
4075
+ ]),
4076
+ _: 3
4077
+ })
4078
+ ]),
4079
+ default: withCtx(() => [
4080
+ visible.value ? (openBlock(), createElementBlock("div", {
4081
+ key: 0,
4082
+ ref_key: "drawerBody",
4083
+ ref: drawerBody,
4084
+ class: "m-drawer-body"
4085
+ }, [
4086
+ createVNode(_sfc_main$c, {
4087
+ ref_key: "form",
4088
+ ref: form,
4089
+ size: _ctx.size,
4090
+ disabled: _ctx.disabled,
4091
+ config: _ctx.config,
4092
+ "init-values": _ctx.values,
4093
+ "parent-values": _ctx.parentValues,
4094
+ "label-width": _ctx.labelWidth,
4095
+ onChange: changeHandler
4096
+ }, null, 8, ["size", "disabled", "config", "init-values", "parent-values", "label-width"]),
4097
+ renderSlot(_ctx.$slots, "default")
4098
+ ], 512)) : createCommentVNode("", true)
4099
+ ]),
4100
+ _: 3
4101
+ }, 8, ["modelValue", "title", "size", "zIndex"]);
4102
+ };
4103
+ }
4104
+ });
4105
+
3955
4106
  const defaultInstallOpt = {};
3956
4107
  const index = {
3957
4108
  install(app, opt = {}) {
3958
4109
  const option = Object.assign(defaultInstallOpt, opt);
3959
4110
  app.config.globalProperties.$MAGIC_FORM = option;
3960
4111
  setConfig(option);
3961
- app.component("m-form", _sfc_main$b);
3962
- app.component("m-form-dialog", _sfc_main$a);
3963
- app.component("m-form-container", _sfc_main$v);
3964
- app.component("m-form-fieldset", _sfc_main$u);
3965
- app.component("m-form-group-list", _sfc_main$s);
3966
- app.component("m-form-panel", _sfc_main$r);
3967
- app.component("m-form-row", _sfc_main$p);
3968
- app.component("m-form-step", _sfc_main$o);
3969
- app.component("m-form-table", _sfc_main$n);
3970
- app.component("m-form-tab", _sfc_main$m);
3971
- app.component("m-fields-text", _sfc_main$2);
3972
- app.component("m-fields-number", _sfc_main$8);
3973
- app.component("m-fields-textarea", _sfc_main$1);
3974
- app.component("m-fields-hidden", _sfc_main$c);
3975
- app.component("m-fields-date", _sfc_main$h);
3976
- app.component("m-fields-datetime", _sfc_main$f);
3977
- app.component("m-fields-daterange", _sfc_main$g);
3978
- app.component("m-fields-time", _sfc_main);
3979
- app.component("m-fields-checkbox", _sfc_main$k);
3980
- app.component("m-fields-switch", _sfc_main$3);
3981
- app.component("m-fields-color-picker", _sfc_main$i);
3982
- app.component("m-fields-checkbox-group", _sfc_main$j);
3983
- app.component("m-fields-radio-group", _sfc_main$7);
3984
- app.component("m-fields-display", _sfc_main$e);
3985
- app.component("m-fields-link", _sfc_main$9);
3986
- app.component("m-fields-select", _sfc_main$4);
3987
- app.component("m-fields-cascader", _sfc_main$l);
3988
- app.component("m-fields-dynamic-field", _sfc_main$d);
4112
+ app.component("m-form", _sfc_main$c);
4113
+ app.component("m-form-dialog", _sfc_main$b);
4114
+ app.component("m-form-container", _sfc_main$w);
4115
+ app.component("m-form-fieldset", _sfc_main$v);
4116
+ app.component("m-form-group-list", _sfc_main$t);
4117
+ app.component("m-form-panel", _sfc_main$s);
4118
+ app.component("m-form-row", _sfc_main$q);
4119
+ app.component("m-form-step", _sfc_main$p);
4120
+ app.component("m-form-table", _sfc_main$o);
4121
+ app.component("m-form-tab", _sfc_main$n);
4122
+ app.component("m-fields-text", _sfc_main$3);
4123
+ app.component("m-fields-number", _sfc_main$9);
4124
+ app.component("m-fields-textarea", _sfc_main$2);
4125
+ app.component("m-fields-hidden", _sfc_main$d);
4126
+ app.component("m-fields-date", _sfc_main$i);
4127
+ app.component("m-fields-datetime", _sfc_main$g);
4128
+ app.component("m-fields-daterange", _sfc_main$h);
4129
+ app.component("m-fields-time", _sfc_main$1);
4130
+ app.component("m-fields-checkbox", _sfc_main$l);
4131
+ app.component("m-fields-switch", _sfc_main$4);
4132
+ app.component("m-fields-color-picker", _sfc_main$j);
4133
+ app.component("m-fields-checkbox-group", _sfc_main$k);
4134
+ app.component("m-fields-radio-group", _sfc_main$8);
4135
+ app.component("m-fields-display", _sfc_main$f);
4136
+ app.component("m-fields-link", _sfc_main$a);
4137
+ app.component("m-fields-select", _sfc_main$5);
4138
+ app.component("m-fields-cascader", _sfc_main$m);
4139
+ app.component("m-fields-dynamic-field", _sfc_main$e);
3989
4140
  }
3990
4141
  };
3991
4142
 
3992
- export { _sfc_main$l as MCascader, _sfc_main$k as MCheckbox, _sfc_main$j as MCheckboxGroup, _sfc_main$i as MColorPicker, _sfc_main$v as MContainer, _sfc_main$h as MDate, _sfc_main$f as MDateTime, _sfc_main$g as MDaterange, _sfc_main$e as MDisplay, _sfc_main$d as MDynamicField, _sfc_main$u as MFieldset, _sfc_main$b as MForm, _sfc_main$a as MFormDialog, _sfc_main$s as MGroupList, _sfc_main$c as MHidden, _sfc_main$9 as MLink, _sfc_main$8 as MNumber, _sfc_main$r as MPanel, _sfc_main$7 as MRadioGroup, _sfc_main$p as MRow, _sfc_main$4 as MSelect, _sfc_main$3 as MSwitch, _sfc_main$n as MTable, _sfc_main$m as MTabs, _sfc_main$2 as MText, _sfc_main$1 as MTextarea, _sfc_main as MTime, createValues, index as default, display, filterFunction, getRules, initValue, useAddField };
4143
+ export { _sfc_main$m as MCascader, _sfc_main$l as MCheckbox, _sfc_main$k as MCheckboxGroup, _sfc_main$j as MColorPicker, _sfc_main$w as MContainer, _sfc_main$i as MDate, _sfc_main$g as MDateTime, _sfc_main$h as MDaterange, _sfc_main$f as MDisplay, _sfc_main$e as MDynamicField, _sfc_main$v as MFieldset, _sfc_main$c as MForm, _sfc_main$b as MFormDialog, _sfc_main as MFormDrawer, _sfc_main$t as MGroupList, _sfc_main$d as MHidden, _sfc_main$a as MLink, _sfc_main$9 as MNumber, _sfc_main$s as MPanel, _sfc_main$8 as MRadioGroup, _sfc_main$q as MRow, _sfc_main$5 as MSelect, _sfc_main$4 as MSwitch, _sfc_main$o as MTable, _sfc_main$n as MTabs, _sfc_main$3 as MText, _sfc_main$2 as MTextarea, _sfc_main$1 as MTime, createValues, index as default, display, filterFunction, getRules, initValue, useAddField };
3993
4144
  //# sourceMappingURL=tmagic-form.js.map