starfish-form-custom 1.0.32 → 1.0.34

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.
@@ -24,6 +24,7 @@ import 'element-plus/es/components/checkbox-group/style/css';
24
24
  import 'element-plus/es/components/color-picker/style/css';
25
25
  import 'element-plus/es/components/date-picker/style/css';
26
26
  import 'element-plus/es/components/radio/style/css';
27
+ import remixiconUrl from 'remixicon/fonts/remixicon.symbol.svg';
27
28
  import 'element-plus/es/components/slider/style/css';
28
29
  import 'element-plus/es/components/switch/style/css';
29
30
  import 'element-plus/es/components/time-select/style/css';
@@ -1005,7 +1006,7 @@ const _export_sfc = (sfc, props) => {
1005
1006
  return target;
1006
1007
  };
1007
1008
 
1008
- const _sfc_main$r = defineComponent({
1009
+ const _sfc_main$t = defineComponent({
1009
1010
  ControlType: "KeyValueConfig",
1010
1011
  // 必须与文件名匹配
1011
1012
  nameCn: "\u952E\u503C\u5BF9\u5339\u914D",
@@ -1101,11 +1102,11 @@ const _sfc_main$r = defineComponent({
1101
1102
  };
1102
1103
  }
1103
1104
  });
1104
- const _hoisted_1$r = {
1105
+ const _hoisted_1$t = {
1105
1106
  key: 0,
1106
1107
  class: "item_require"
1107
1108
  };
1108
- const _hoisted_2$k = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1109
+ const _hoisted_2$m = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1109
1110
  const _hoisted_3$g = { class: "keyValueSelect" };
1110
1111
  const _hoisted_4$4 = { class: "keyValueInput" };
1111
1112
  const _hoisted_5$2 = { class: "inputItem" };
@@ -1121,7 +1122,7 @@ const _hoisted_12$1 = [
1121
1122
  const _hoisted_13$1 = ["onClick"];
1122
1123
  const _hoisted_14$1 = ["onClick"];
1123
1124
  const _hoisted_15$1 = ["onClick"];
1124
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
1125
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
1125
1126
  const _component_el_tooltip = ElTooltip;
1126
1127
  const _component_el_checkbox = ElCheckbox;
1127
1128
  const _component_el_input = ElInput;
@@ -1137,7 +1138,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
1137
1138
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1138
1139
  }, [
1139
1140
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1140
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$r, "*")) : createCommentVNode("", true),
1141
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$t, "*")) : createCommentVNode("", true),
1141
1142
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1142
1143
  key: 1,
1143
1144
  class: "item",
@@ -1146,7 +1147,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
1146
1147
  placement: "top"
1147
1148
  }, {
1148
1149
  default: withCtx(() => [
1149
- _hoisted_2$k
1150
+ _hoisted_2$m
1150
1151
  ]),
1151
1152
  _: 1
1152
1153
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1238,14 +1239,14 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
1238
1239
  ], 4)
1239
1240
  ], 2);
1240
1241
  }
1241
- const KeyValueConfig = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
1242
+ const KeyValueConfig = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
1242
1243
 
1243
1244
  const __vite_glob_0_0 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1244
1245
  __proto__: null,
1245
1246
  default: KeyValueConfig
1246
1247
  }, Symbol.toStringTag, { value: 'Module' }));
1247
1248
 
1248
- const _sfc_main$q = defineComponent({
1249
+ const _sfc_main$s = defineComponent({
1249
1250
  ControlType: "KeyValueConfigMult",
1250
1251
  // 必须与文件名匹配
1251
1252
  nameCn: "\u591A\u9009\u952E\u503C\u5BF9\u5339\u914D",
@@ -1335,11 +1336,11 @@ const _sfc_main$q = defineComponent({
1335
1336
  };
1336
1337
  }
1337
1338
  });
1338
- const _hoisted_1$q = {
1339
+ const _hoisted_1$s = {
1339
1340
  key: 0,
1340
1341
  class: "item_require"
1341
1342
  };
1342
- const _hoisted_2$j = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1343
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1343
1344
  const _hoisted_3$f = { class: "keyValueSelect" };
1344
1345
  const _hoisted_4$3 = { class: "keyValueInput" };
1345
1346
  const _hoisted_5$1 = { class: "inputItem" };
@@ -1355,7 +1356,7 @@ const _hoisted_12 = [
1355
1356
  const _hoisted_13 = ["onClick"];
1356
1357
  const _hoisted_14 = ["onClick"];
1357
1358
  const _hoisted_15 = ["onClick"];
1358
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1359
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
1359
1360
  const _component_el_tooltip = ElTooltip;
1360
1361
  const _component_el_checkbox = ElCheckbox;
1361
1362
  const _component_el_input = ElInput;
@@ -1371,7 +1372,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1371
1372
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1372
1373
  }, [
1373
1374
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1374
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$q, "*")) : createCommentVNode("", true),
1375
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$s, "*")) : createCommentVNode("", true),
1375
1376
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1376
1377
  key: 1,
1377
1378
  class: "item",
@@ -1380,7 +1381,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1380
1381
  placement: "top"
1381
1382
  }, {
1382
1383
  default: withCtx(() => [
1383
- _hoisted_2$j
1384
+ _hoisted_2$l
1384
1385
  ]),
1385
1386
  _: 1
1386
1387
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1472,7 +1473,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1472
1473
  ], 4)
1473
1474
  ], 2);
1474
1475
  }
1475
- const KeyValueConfigMult = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
1476
+ const KeyValueConfigMult = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s]]);
1476
1477
 
1477
1478
  const __vite_glob_0_1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1478
1479
  __proto__: null,
@@ -1481,24 +1482,24 @@ const __vite_glob_0_1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
1481
1482
 
1482
1483
  /* unplugin-vue-components disabled */const Loading_vue_vue_type_style_index_0_scoped_true_lang$1 = '';
1483
1484
 
1484
- const _sfc_main$p = {};
1485
- const _hoisted_1$p = { class: "loading" };
1485
+ const _sfc_main$r = {};
1486
+ const _hoisted_1$r = { class: "loading" };
1486
1487
 
1487
- function _sfc_render$p(_ctx, _cache) {
1488
+ function _sfc_render$r(_ctx, _cache) {
1488
1489
  const _directive_loading = ElLoadingDirective;
1489
1490
 
1490
- return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$p, null, 512)), [
1491
+ return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$r, null, 512)), [
1491
1492
  [_directive_loading, true]
1492
1493
  ])
1493
1494
  }
1494
- const Loading$1 = /*#__PURE__*/_export_sfc(_sfc_main$p, [['render',_sfc_render$p],['__scopeId',"data-v-2b901926"]]);
1495
+ const Loading$1 = /*#__PURE__*/_export_sfc(_sfc_main$r, [['render',_sfc_render$r],['__scopeId',"data-v-2b901926"]]);
1495
1496
 
1496
1497
  const __vite_glob_0_2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1497
1498
  __proto__: null,
1498
1499
  default: Loading$1
1499
1500
  }, Symbol.toStringTag, { value: 'Module' }));
1500
1501
 
1501
- const _sfc_main$o = defineComponent({
1502
+ const _sfc_main$q = defineComponent({
1502
1503
  ControlType: "Action",
1503
1504
  // 必须与文件名匹配
1504
1505
  isHide: true,
@@ -1529,13 +1530,13 @@ const _sfc_main$o = defineComponent({
1529
1530
  };
1530
1531
  }
1531
1532
  });
1532
- const _hoisted_1$o = {
1533
+ const _hoisted_1$q = {
1533
1534
  key: 0,
1534
1535
  class: "item_require"
1535
1536
  };
1536
- const _hoisted_2$i = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1537
+ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1537
1538
  const _hoisted_3$e = /* @__PURE__ */ createTextVNode(" \u65B0\u5EFA\u52A8\u4F5C+ ");
1538
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1539
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1539
1540
  const _component_el_tooltip = ElTooltip;
1540
1541
  const _component_el_option = ElOption;
1541
1542
  const _component_el_select = ElSelect;
@@ -1559,7 +1560,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1559
1560
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1560
1561
  }, [
1561
1562
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1562
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$o, "*")) : createCommentVNode("", true),
1563
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$q, "*")) : createCommentVNode("", true),
1563
1564
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1564
1565
  key: 1,
1565
1566
  class: "item",
@@ -1568,7 +1569,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1568
1569
  placement: "top"
1569
1570
  }, {
1570
1571
  default: withCtx(() => [
1571
- _hoisted_2$i
1572
+ _hoisted_2$k
1572
1573
  ]),
1573
1574
  _: 1
1574
1575
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1707,14 +1708,14 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1707
1708
  }, null, 8, ["item", "data"])
1708
1709
  ], 2);
1709
1710
  }
1710
- const action = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
1711
+ const action = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
1711
1712
 
1712
1713
  const __vite_glob_0_3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1713
1714
  __proto__: null,
1714
1715
  default: action
1715
1716
  }, Symbol.toStringTag, { value: 'Module' }));
1716
1717
 
1717
- const _sfc_main$n = defineComponent({
1718
+ const _sfc_main$p = defineComponent({
1718
1719
  ControlType: "ListConfig",
1719
1720
  // 必须与文件名匹配
1720
1721
  nameCn: "\u6805\u683C\u5217\u8868\u914D\u7F6E",
@@ -1739,8 +1740,8 @@ const _sfc_main$n = defineComponent({
1739
1740
  };
1740
1741
  }
1741
1742
  });
1742
- const _hoisted_1$n = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0");
1743
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
1743
+ const _hoisted_1$p = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0");
1744
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
1744
1745
  const _component_el_input_number = ElInputNumber;
1745
1746
  const _component_Delete = resolveComponent("Delete");
1746
1747
  const _component_el_icon = ElIcon;
@@ -1801,21 +1802,21 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
1801
1802
  size: "default"
1802
1803
  }, {
1803
1804
  default: withCtx(() => [
1804
- _hoisted_1$n
1805
+ _hoisted_1$p
1805
1806
  ]),
1806
1807
  _: 1
1807
1808
  }, 8, ["onClick"])
1808
1809
  ], 4)
1809
1810
  ], 2);
1810
1811
  }
1811
- const listConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
1812
+ const listConfig = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p]]);
1812
1813
 
1813
1814
  const __vite_glob_0_4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1814
1815
  __proto__: null,
1815
1816
  default: listConfig
1816
1817
  }, Symbol.toStringTag, { value: 'Module' }));
1817
1818
 
1818
- const _sfc_main$m = defineComponent({
1819
+ const _sfc_main$o = defineComponent({
1819
1820
  ControlType: "Panel",
1820
1821
  // 必须与文件名匹配
1821
1822
  isHide: true,
@@ -1838,10 +1839,10 @@ const _sfc_main$m = defineComponent({
1838
1839
  };
1839
1840
  }
1840
1841
  });
1841
- const _hoisted_1$m = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1842
- const _hoisted_2$h = /* @__PURE__ */ createElementVNode("i", { class: "iconfontui icon-bars handle" }, null, -1);
1842
+ const _hoisted_1$o = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1843
+ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("i", { class: "iconfontui icon-bars handle" }, null, -1);
1843
1844
  const _hoisted_3$d = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0\u9762\u677F");
1844
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1845
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1845
1846
  const _component_el_tooltip = ElTooltip;
1846
1847
  const _component_el_col = ElCol;
1847
1848
  const _component_el_input = ElInput;
@@ -1865,7 +1866,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1865
1866
  placement: "top"
1866
1867
  }, {
1867
1868
  default: withCtx(() => [
1868
- _hoisted_1$m
1869
+ _hoisted_1$o
1869
1870
  ]),
1870
1871
  _: 1
1871
1872
  })
@@ -1890,7 +1891,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1890
1891
  default: withCtx(() => [
1891
1892
  createVNode(_component_el_col, { span: 1.5 }, {
1892
1893
  default: withCtx(() => [
1893
- _hoisted_2$h
1894
+ _hoisted_2$j
1894
1895
  ]),
1895
1896
  _: 1
1896
1897
  }, 8, ["span"]),
@@ -1955,7 +1956,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1955
1956
  ], 4)
1956
1957
  ], 2);
1957
1958
  }
1958
- const panel = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
1959
+ const panel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
1959
1960
 
1960
1961
  const __vite_glob_0_5 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
1961
1962
  __proto__: null,
@@ -1980,7 +1981,7 @@ function useWatch(props) {
1980
1981
  }
1981
1982
  }
1982
1983
 
1983
- const _sfc_main$l = defineComponent({
1984
+ const _sfc_main$n = defineComponent({
1984
1985
  ControlType: "RadioGroup",
1985
1986
  // 必须与文件名匹配
1986
1987
  isHide: true,
@@ -1991,23 +1992,23 @@ const _sfc_main$l = defineComponent({
1991
1992
  useWatch(props);
1992
1993
  }
1993
1994
  });
1994
- const _hoisted_1$l = { class: "label" };
1995
- const _hoisted_2$g = {
1995
+ const _hoisted_1$n = { class: "label" };
1996
+ const _hoisted_2$i = {
1996
1997
  key: 0,
1997
1998
  class: "item_require"
1998
1999
  };
1999
2000
  const _hoisted_3$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2000
2001
  const _hoisted_4$2 = { class: "control" };
2001
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2002
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2002
2003
  const _component_el_tooltip = ElTooltip;
2003
2004
  const _component_el_radio_button = ElRadioButton;
2004
2005
  const _component_el_radio_group = ElRadioGroup;
2005
2006
  return openBlock(), createElementBlock("div", {
2006
2007
  class: normalizeClass(["starfish-formitem", _ctx.drag ? "formCover" : ""])
2007
2008
  }, [
2008
- createElementVNode("div", _hoisted_1$l, [
2009
+ createElementVNode("div", _hoisted_1$n, [
2009
2010
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label), 1),
2010
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true),
2011
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true),
2011
2012
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2012
2013
  key: 1,
2013
2014
  class: "item",
@@ -2040,14 +2041,14 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2040
2041
  ])
2041
2042
  ], 2);
2042
2043
  }
2043
- const radiogroup = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l]]);
2044
+ const radiogroup = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
2044
2045
 
2045
2046
  const __vite_glob_0_6 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2046
2047
  __proto__: null,
2047
2048
  default: radiogroup
2048
2049
  }, Symbol.toStringTag, { value: 'Module' }));
2049
2050
 
2050
- const _sfc_main$k = defineComponent({
2051
+ const _sfc_main$m = defineComponent({
2051
2052
  ControlType: "CheckBox",
2052
2053
  // 必须与文件名匹配
2053
2054
  nameCn: "\u590D\u9009\u6846",
@@ -2065,13 +2066,13 @@ const _sfc_main$k = defineComponent({
2065
2066
  useWatch(props);
2066
2067
  }
2067
2068
  });
2068
- const _hoisted_1$k = {
2069
+ const _hoisted_1$m = {
2069
2070
  key: 0,
2070
2071
  class: "item_require"
2071
2072
  };
2072
- const _hoisted_2$f = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2073
+ const _hoisted_2$h = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2073
2074
  const _hoisted_3$b = { key: 0 };
2074
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2075
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2075
2076
  const _component_el_tooltip = ElTooltip;
2076
2077
  const _component_el_checkbox = ElCheckbox;
2077
2078
  const _component_el_checkbox_group = ElCheckboxGroup;
@@ -2082,7 +2083,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2082
2083
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2083
2084
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2084
2085
  }, [
2085
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$k, "*")) : createCommentVNode("", true),
2086
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$m, "*")) : createCommentVNode("", true),
2086
2087
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2087
2088
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2088
2089
  key: 1,
@@ -2092,7 +2093,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2092
2093
  placement: "top"
2093
2094
  }, {
2094
2095
  default: withCtx(() => [
2095
- _hoisted_2$f
2096
+ _hoisted_2$h
2096
2097
  ]),
2097
2098
  _: 1
2098
2099
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2150,7 +2151,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2150
2151
  ], 4)
2151
2152
  ], 2);
2152
2153
  }
2153
- const index$e = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k]]);
2154
+ const index$e = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
2154
2155
 
2155
2156
  const __vite_glob_0_7 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2156
2157
  __proto__: null,
@@ -2159,7 +2160,7 @@ const __vite_glob_0_7 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
2159
2160
 
2160
2161
  /* unplugin-vue-components disabled */const index_vue_vue_type_style_index_0_scoped_true_lang = '';
2161
2162
 
2162
- const _sfc_main$j = defineComponent({
2163
+ const _sfc_main$l = defineComponent({
2163
2164
  ControlType: "ColorSelect",
2164
2165
  // 必须与文件名匹配
2165
2166
  nameCn: "\u989C\u8272\u9009\u62E9",
@@ -2174,14 +2175,14 @@ const _sfc_main$j = defineComponent({
2174
2175
  }
2175
2176
  });
2176
2177
  const _withScopeId = (n) => (pushScopeId("data-v-4ce4907e"), n = n(), popScopeId(), n);
2177
- const _hoisted_1$j = {
2178
+ const _hoisted_1$l = {
2178
2179
  key: 0,
2179
2180
  class: "item_require"
2180
2181
  };
2181
- const _hoisted_2$e = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
2182
+ const _hoisted_2$g = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
2182
2183
  const _hoisted_3$a = { key: 0 };
2183
2184
  const _hoisted_4$1 = { key: 1 };
2184
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2185
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2185
2186
  const _component_el_tooltip = ElTooltip;
2186
2187
  const _component_el_input = ElInput;
2187
2188
  const _component_el_color_picker = ElColorPicker;
@@ -2193,7 +2194,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2193
2194
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2194
2195
  }, [
2195
2196
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2196
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$j, "*")) : createCommentVNode("", true),
2197
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$l, "*")) : createCommentVNode("", true),
2197
2198
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2198
2199
  key: 1,
2199
2200
  class: "item",
@@ -2202,7 +2203,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2202
2203
  placement: "top"
2203
2204
  }, {
2204
2205
  default: withCtx(() => [
2205
- _hoisted_2$e
2206
+ _hoisted_2$g
2206
2207
  ]),
2207
2208
  _: 1
2208
2209
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2244,14 +2245,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2244
2245
  ], 4)
2245
2246
  ], 2);
2246
2247
  }
2247
- const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-4ce4907e"]]);
2248
+ const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-4ce4907e"]]);
2248
2249
 
2249
2250
  const __vite_glob_0_8 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2250
2251
  __proto__: null,
2251
2252
  default: index$d
2252
2253
  }, Symbol.toStringTag, { value: 'Module' }));
2253
2254
 
2254
- const _sfc_main$i = defineComponent({
2255
+ const _sfc_main$k = defineComponent({
2255
2256
  ControlType: "Date",
2256
2257
  // 必须与文件名匹配
2257
2258
  nameCn: "\u65E5\u671F",
@@ -2312,13 +2313,13 @@ const _sfc_main$i = defineComponent({
2312
2313
  };
2313
2314
  }
2314
2315
  });
2315
- const _hoisted_1$i = {
2316
+ const _hoisted_1$k = {
2316
2317
  key: 0,
2317
2318
  class: "item_require"
2318
2319
  };
2319
- const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2320
+ const _hoisted_2$f = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2320
2321
  const _hoisted_3$9 = { key: 1 };
2321
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2322
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2322
2323
  const _component_el_tooltip = ElTooltip;
2323
2324
  const _component_el_date_picker = ElDatePicker;
2324
2325
  return openBlock(), createElementBlock("div", {
@@ -2328,7 +2329,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2328
2329
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2329
2330
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2330
2331
  }, [
2331
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$i, "*")) : createCommentVNode("", true),
2332
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$k, "*")) : createCommentVNode("", true),
2332
2333
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2333
2334
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2334
2335
  key: 1,
@@ -2338,7 +2339,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2338
2339
  placement: "top"
2339
2340
  }, {
2340
2341
  default: withCtx(() => [
2341
- _hoisted_2$d
2342
+ _hoisted_2$f
2342
2343
  ]),
2343
2344
  _: 1
2344
2345
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2376,14 +2377,14 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2376
2377
  ], 4)
2377
2378
  ], 2);
2378
2379
  }
2379
- const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i]]);
2380
+ const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k]]);
2380
2381
 
2381
2382
  const __vite_glob_0_9 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2382
2383
  __proto__: null,
2383
2384
  default: index$c
2384
2385
  }, Symbol.toStringTag, { value: 'Module' }));
2385
2386
 
2386
- const _sfc_main$h = defineComponent({
2387
+ const _sfc_main$j = defineComponent({
2387
2388
  ControlType: "DateTime",
2388
2389
  // 必须与文件名匹配
2389
2390
  nameCn: "\u65E5\u671F\u65F6\u95F4",
@@ -2430,13 +2431,13 @@ const _sfc_main$h = defineComponent({
2430
2431
  };
2431
2432
  }
2432
2433
  });
2433
- const _hoisted_1$h = {
2434
+ const _hoisted_1$j = {
2434
2435
  key: 0,
2435
2436
  class: "item_require"
2436
2437
  };
2437
- const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2438
+ const _hoisted_2$e = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2438
2439
  const _hoisted_3$8 = { key: 1 };
2439
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2440
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2440
2441
  const _component_el_tooltip = ElTooltip;
2441
2442
  const _component_el_date_picker = ElDatePicker;
2442
2443
  return openBlock(), createElementBlock("div", {
@@ -2446,7 +2447,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2446
2447
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2447
2448
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2448
2449
  }, [
2449
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$h, "*")) : createCommentVNode("", true),
2450
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$j, "*")) : createCommentVNode("", true),
2450
2451
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2451
2452
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2452
2453
  key: 1,
@@ -2456,7 +2457,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2456
2457
  placement: "top"
2457
2458
  }, {
2458
2459
  default: withCtx(() => [
2459
- _hoisted_2$c
2460
+ _hoisted_2$e
2460
2461
  ]),
2461
2462
  _: 1
2462
2463
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2488,14 +2489,14 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2488
2489
  ], 4)
2489
2490
  ], 2);
2490
2491
  }
2491
- const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h]]);
2492
+ const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
2492
2493
 
2493
2494
  const __vite_glob_0_10 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2494
2495
  __proto__: null,
2495
2496
  default: index$b
2496
2497
  }, Symbol.toStringTag, { value: 'Module' }));
2497
2498
 
2498
- const _sfc_main$g = defineComponent({
2499
+ const _sfc_main$i = defineComponent({
2499
2500
  ControlType: "InputNumber",
2500
2501
  // 必须与文件名匹配
2501
2502
  nameCn: "\u8BA1\u6570\u5668",
@@ -2539,13 +2540,13 @@ const _sfc_main$g = defineComponent({
2539
2540
  };
2540
2541
  }
2541
2542
  });
2542
- const _hoisted_1$g = {
2543
+ const _hoisted_1$i = {
2543
2544
  key: 0,
2544
2545
  class: "item_require"
2545
2546
  };
2546
- const _hoisted_2$b = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2547
+ const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2547
2548
  const _hoisted_3$7 = { key: 1 };
2548
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2549
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2549
2550
  const _component_el_tooltip = ElTooltip;
2550
2551
  const _component_el_input_number = ElInputNumber;
2551
2552
  return openBlock(), createElementBlock("div", {
@@ -2559,7 +2560,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2559
2560
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2560
2561
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2561
2562
  }, [
2562
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$g, "*")) : createCommentVNode("", true),
2563
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$i, "*")) : createCommentVNode("", true),
2563
2564
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2564
2565
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2565
2566
  key: 1,
@@ -2569,7 +2570,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2569
2570
  placement: "top"
2570
2571
  }, {
2571
2572
  default: withCtx(() => [
2572
- _hoisted_2$b
2573
+ _hoisted_2$d
2573
2574
  ]),
2574
2575
  _: 1
2575
2576
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2603,14 +2604,14 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2603
2604
  ], 4)
2604
2605
  ], 2);
2605
2606
  }
2606
- const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g]]);
2607
+ const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i]]);
2607
2608
 
2608
2609
  const __vite_glob_0_11 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2609
2610
  __proto__: null,
2610
2611
  default: index$a
2611
2612
  }, Symbol.toStringTag, { value: 'Module' }));
2612
2613
 
2613
- const _sfc_main$f = defineComponent({
2614
+ const _sfc_main$h = defineComponent({
2614
2615
  ControlType: "Radio",
2615
2616
  // 必须与文件名匹配
2616
2617
  nameCn: "\u5355\u9009\u6846",
@@ -2628,13 +2629,13 @@ const _sfc_main$f = defineComponent({
2628
2629
  useWatch(props);
2629
2630
  }
2630
2631
  });
2631
- const _hoisted_1$f = {
2632
+ const _hoisted_1$h = {
2632
2633
  key: 0,
2633
2634
  class: "item_require"
2634
2635
  };
2635
- const _hoisted_2$a = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2636
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2636
2637
  const _hoisted_3$6 = { key: 0 };
2637
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2638
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2638
2639
  const _component_el_tooltip = ElTooltip;
2639
2640
  const _component_el_radio = ElRadio;
2640
2641
  const _component_el_radio_group = ElRadioGroup;
@@ -2649,7 +2650,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2649
2650
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2650
2651
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2651
2652
  }, [
2652
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$f, "*")) : createCommentVNode("", true),
2653
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$h, "*")) : createCommentVNode("", true),
2653
2654
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2654
2655
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2655
2656
  key: 1,
@@ -2659,7 +2660,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2659
2660
  placement: "top"
2660
2661
  }, {
2661
2662
  default: withCtx(() => [
2662
- _hoisted_2$a
2663
+ _hoisted_2$c
2663
2664
  ]),
2664
2665
  _: 1
2665
2666
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2719,13 +2720,231 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2719
2720
  [vShow, _ctx.item.data.label !== "\u8BA1\u6570\u5668\u5C3A\u5BF8\u7C7B\u578B"]
2720
2721
  ]);
2721
2722
  }
2722
- const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
2723
+ const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h]]);
2723
2724
 
2724
2725
  const __vite_glob_0_12 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2725
2726
  __proto__: null,
2726
2727
  default: index$9
2727
2728
  }, Symbol.toStringTag, { value: 'Module' }));
2728
2729
 
2730
+ /* unplugin-vue-components disabled */const MenuItem_vue_vue_type_style_index_0_scoped_true_lang = '';
2731
+
2732
+ const _sfc_main$g = defineComponent({
2733
+ name: "MenuItem",
2734
+ props: {
2735
+ icon: {
2736
+ type: String,
2737
+ required: true
2738
+ },
2739
+ title: {
2740
+ type: String,
2741
+ required: true
2742
+ },
2743
+ action: {
2744
+ type: Function,
2745
+ required: true
2746
+ },
2747
+ isActive: {
2748
+ type: Function,
2749
+ default: null
2750
+ }
2751
+ },
2752
+ setup(props) {
2753
+ const titleMap = {
2754
+ "Bold": "\u7C97\u4F53",
2755
+ "Italic": "\u659C\u4F53",
2756
+ "Strike": "\u5220\u9664\u7EBF",
2757
+ "Code": "\u884C\u5185\u4EE3\u7801",
2758
+ "Heading 1": "\u6807\u9898 1",
2759
+ "Heading 2": "\u6807\u9898 2",
2760
+ "Paragraph": "\u6BB5\u843D",
2761
+ "Bullet list": "\u65E0\u5E8F\u5217\u8868",
2762
+ "Ordered list": "\u6709\u5E8F\u5217\u8868",
2763
+ "Code block": "\u4EE3\u7801\u5757",
2764
+ "Blockquote": "\u5F15\u7528\u5757",
2765
+ "Horizontal rule": "\u6C34\u5E73\u5206\u5272\u7EBF",
2766
+ "Undo": "\u64A4\u9500",
2767
+ "Redo": "\u91CD\u505A"
2768
+ };
2769
+ const chineseTitle = computed(() => {
2770
+ return titleMap[props.title] || props.title;
2771
+ });
2772
+ return {
2773
+ remixiconUrl,
2774
+ chineseTitle
2775
+ };
2776
+ }
2777
+ });
2778
+ const _hoisted_1$g = { class: "remix" };
2779
+ const _hoisted_2$b = ["xlink:href"];
2780
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2781
+ const _component_el_tooltip = ElTooltip;
2782
+ return openBlock(), createBlock(_component_el_tooltip, {
2783
+ effect: "dark",
2784
+ content: _ctx.chineseTitle,
2785
+ placement: "top"
2786
+ }, {
2787
+ default: withCtx(() => [
2788
+ createElementVNode("button", {
2789
+ class: normalizeClass(["menu-item", { "is-active": _ctx.isActive && _ctx.isActive() }]),
2790
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.action && _ctx.action(...args))
2791
+ }, [
2792
+ (openBlock(), createElementBlock("svg", _hoisted_1$g, [
2793
+ createElementVNode("use", {
2794
+ "xlink:href": `${_ctx.remixiconUrl}#ri-${_ctx.icon}`
2795
+ }, null, 8, _hoisted_2$b)
2796
+ ]))
2797
+ ], 2)
2798
+ ]),
2799
+ _: 1
2800
+ }, 8, ["content"]);
2801
+ }
2802
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-083dc03b"]]);
2803
+
2804
+ const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2805
+ __proto__: null,
2806
+ default: __unplugin_components_0
2807
+ }, Symbol.toStringTag, { value: 'Module' }));
2808
+
2809
+ /* unplugin-vue-components disabled */const MenuBar_vue_vue_type_style_index_0_scoped_true_lang = '';
2810
+
2811
+ const _sfc_main$f = defineComponent({
2812
+ name: "MenuBar",
2813
+ components: {
2814
+ MenuItem: __unplugin_components_0
2815
+ },
2816
+ props: {
2817
+ editor: {
2818
+ type: Object,
2819
+ required: true
2820
+ }
2821
+ },
2822
+ setup(props) {
2823
+ const items = [
2824
+ {
2825
+ icon: "bold",
2826
+ title: "Bold",
2827
+ action: () => props.editor.chain().focus().toggleBold().run(),
2828
+ isActive: () => props.editor.isActive("bold")
2829
+ },
2830
+ {
2831
+ icon: "italic",
2832
+ title: "Italic",
2833
+ action: () => props.editor.chain().focus().toggleItalic().run(),
2834
+ isActive: () => props.editor.isActive("italic")
2835
+ },
2836
+ {
2837
+ icon: "strikethrough",
2838
+ title: "Strike",
2839
+ action: () => props.editor.chain().focus().toggleStrike().run(),
2840
+ isActive: () => props.editor.isActive("strike")
2841
+ },
2842
+ {
2843
+ icon: "code-view",
2844
+ title: "Code",
2845
+ action: () => props.editor.chain().focus().toggleCode().run(),
2846
+ isActive: () => props.editor.isActive("code")
2847
+ },
2848
+ {
2849
+ type: "divider"
2850
+ },
2851
+ {
2852
+ icon: "h-1",
2853
+ title: "Heading 1",
2854
+ action: () => props.editor.chain().focus().toggleHeading({ level: 1 }).run(),
2855
+ isActive: () => props.editor.isActive("heading", { level: 1 })
2856
+ },
2857
+ {
2858
+ icon: "h-2",
2859
+ title: "Heading 2",
2860
+ action: () => props.editor.chain().focus().toggleHeading({ level: 2 }).run(),
2861
+ isActive: () => props.editor.isActive("heading", { level: 2 })
2862
+ },
2863
+ {
2864
+ icon: "paragraph",
2865
+ title: "Paragraph",
2866
+ action: () => props.editor.chain().focus().setParagraph().run(),
2867
+ isActive: () => props.editor.isActive("paragraph")
2868
+ },
2869
+ {
2870
+ icon: "list-unordered",
2871
+ title: "Bullet list",
2872
+ action: () => props.editor.chain().focus().toggleBulletList().run(),
2873
+ isActive: () => props.editor.isActive("bulletList")
2874
+ },
2875
+ {
2876
+ icon: "list-ordered",
2877
+ title: "Ordered list",
2878
+ action: () => props.editor.chain().focus().toggleOrderedList().run(),
2879
+ isActive: () => props.editor.isActive("orderedList")
2880
+ },
2881
+ {
2882
+ icon: "code-box-line",
2883
+ title: "Code block",
2884
+ action: () => props.editor.chain().focus().toggleCodeBlock().run(),
2885
+ isActive: () => props.editor.isActive("codeBlock")
2886
+ },
2887
+ {
2888
+ type: "divider"
2889
+ },
2890
+ {
2891
+ icon: "double-quotes-l",
2892
+ title: "Blockquote",
2893
+ action: () => props.editor.chain().focus().toggleBlockquote().run(),
2894
+ isActive: () => props.editor.isActive("blockquote")
2895
+ },
2896
+ {
2897
+ icon: "separator",
2898
+ title: "Horizontal rule",
2899
+ action: () => props.editor.chain().focus().setHorizontalRule().run()
2900
+ },
2901
+ {
2902
+ type: "divider"
2903
+ },
2904
+ {
2905
+ icon: "arrow-go-back-line",
2906
+ title: "Undo",
2907
+ action: () => props.editor.chain().focus().undo().run()
2908
+ },
2909
+ {
2910
+ icon: "arrow-go-forward-line",
2911
+ title: "Redo",
2912
+ action: () => props.editor.chain().focus().redo().run()
2913
+ }
2914
+ ];
2915
+ return {
2916
+ items
2917
+ };
2918
+ }
2919
+ });
2920
+ const _hoisted_1$f = { class: "editor__header" };
2921
+ const _hoisted_2$a = {
2922
+ key: 0,
2923
+ class: "divider"
2924
+ };
2925
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2926
+ const _component_MenuItem = __unplugin_components_0;
2927
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
2928
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
2929
+ return openBlock(), createElementBlock(Fragment, { key: index }, [
2930
+ item.type === "divider" ? (openBlock(), createElementBlock("div", _hoisted_2$a)) : (openBlock(), createBlock(_component_MenuItem, {
2931
+ key: 1,
2932
+ icon: item.icon,
2933
+ title: item.title,
2934
+ action: item.action,
2935
+ "is-active": item.isActive
2936
+ }, null, 8, ["icon", "title", "action", "is-active"]))
2937
+ ], 64);
2938
+ }), 128))
2939
+ ]);
2940
+ }
2941
+ const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-45d3fb0a"]]);
2942
+
2943
+ const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2944
+ __proto__: null,
2945
+ default: __unplugin_components_1
2946
+ }, Symbol.toStringTag, { value: 'Module' }));
2947
+
2729
2948
  const ruleJson = [
2730
2949
  {
2731
2950
  ControlType: "Radio",
@@ -3047,7 +3266,7 @@ const ruleJsonData = {
3047
3266
  ruleJson: ruleJson
3048
3267
  };
3049
3268
 
3050
- const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3269
+ const __vite_glob_0_15 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3051
3270
  __proto__: null,
3052
3271
  default: ruleJsonData,
3053
3272
  ruleJson
@@ -3144,7 +3363,7 @@ const ruleList = [
3144
3363
  },
3145
3364
  ];
3146
3365
 
3147
- const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3366
+ const __vite_glob_0_16 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3148
3367
  __proto__: null,
3149
3368
  default: ruleList
3150
3369
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3264,7 +3483,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
3264
3483
  }
3265
3484
  const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
3266
3485
 
3267
- const __vite_glob_0_15 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3486
+ const __vite_glob_0_17 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3268
3487
  __proto__: null,
3269
3488
  default: index$8
3270
3489
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3402,7 +3621,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
3402
3621
  }
3403
3622
  const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
3404
3623
 
3405
- const __vite_glob_0_16 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3624
+ const __vite_glob_0_18 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3406
3625
  __proto__: null,
3407
3626
  default: index$7
3408
3627
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3532,7 +3751,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
3532
3751
  }
3533
3752
  const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
3534
3753
 
3535
- const __vite_glob_0_17 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3754
+ const __vite_glob_0_19 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3536
3755
  __proto__: null,
3537
3756
  default: index$6
3538
3757
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3610,7 +3829,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
3610
3829
  }
3611
3830
  const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
3612
3831
 
3613
- const __vite_glob_0_18 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3832
+ const __vite_glob_0_20 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3614
3833
  __proto__: null,
3615
3834
  default: index$5
3616
3835
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3689,7 +3908,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
3689
3908
  }
3690
3909
  const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
3691
3910
 
3692
- const __vite_glob_0_19 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3911
+ const __vite_glob_0_21 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3693
3912
  __proto__: null,
3694
3913
  default: index$4
3695
3914
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3800,7 +4019,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3800
4019
  }
3801
4020
  const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
3802
4021
 
3803
- const __vite_glob_0_20 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4022
+ const __vite_glob_0_22 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3804
4023
  __proto__: null,
3805
4024
  default: index$3
3806
4025
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3908,7 +4127,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
3908
4127
  }
3909
4128
  const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
3910
4129
 
3911
- const __vite_glob_0_21 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4130
+ const __vite_glob_0_23 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3912
4131
  __proto__: null,
3913
4132
  default: index$2
3914
4133
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -3992,7 +4211,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
3992
4211
  }
3993
4212
  const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
3994
4213
 
3995
- const __vite_glob_0_22 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4214
+ const __vite_glob_0_24 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3996
4215
  __proto__: null,
3997
4216
  default: index$1
3998
4217
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4033,7 +4252,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4033
4252
  }
4034
4253
  const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
4035
4254
 
4036
- const __vite_glob_0_23 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4255
+ const __vite_glob_0_25 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4037
4256
  __proto__: null,
4038
4257
  default: Divider
4039
4258
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4117,7 +4336,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
4117
4336
  }
4118
4337
  const Info = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
4119
4338
 
4120
- const __vite_glob_0_24 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4339
+ const __vite_glob_0_26 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4121
4340
  __proto__: null,
4122
4341
  default: Info
4123
4342
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4259,7 +4478,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4259
4478
  }
4260
4479
  const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
4261
4480
 
4262
- const __vite_glob_0_25 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4481
+ const __vite_glob_0_27 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4263
4482
  __proto__: null,
4264
4483
  default: Tabs
4265
4484
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4405,7 +4624,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
4405
4624
  }
4406
4625
  const collapse = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
4407
4626
 
4408
- const __vite_glob_0_26 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4627
+ const __vite_glob_0_28 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4409
4628
  __proto__: null,
4410
4629
  default: collapse
4411
4630
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4575,7 +4794,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
4575
4794
  }
4576
4795
  const grid = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
4577
4796
 
4578
- const __vite_glob_0_27 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4797
+ const __vite_glob_0_29 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4579
4798
  __proto__: null,
4580
4799
  default: grid
4581
4800
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -4721,7 +4940,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
4721
4940
  }
4722
4941
  const table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
4723
4942
 
4724
- const __vite_glob_0_28 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4943
+ const __vite_glob_0_30 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
4725
4944
  __proto__: null,
4726
4945
  default: table
4727
4946
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -5362,7 +5581,7 @@ function _sfc_render(_ctx, _cache) {
5362
5581
  const Loading = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__scopeId',"data-v-5c6e2e4a"]]);
5363
5582
 
5364
5583
  const utilFuns = {};
5365
- const files = /* #__PURE__ */ Object.assign({"./common/KeyValueConfig.vue": __vite_glob_0_0,"./common/KeyValueConfigMult.vue": __vite_glob_0_1,"./common/Loading.vue": __vite_glob_0_2,"./common/action.vue": __vite_glob_0_3,"./common/listConfig.vue": __vite_glob_0_4,"./common/panel.vue": __vite_glob_0_5,"./common/radiogroup.vue": __vite_glob_0_6,"./components/CheckBox/index.vue": __vite_glob_0_7,"./components/ColorSelect/index.vue": __vite_glob_0_8,"./components/Date/index.vue": __vite_glob_0_9,"./components/DateTime/index.vue": __vite_glob_0_10,"./components/InputNumber/index.vue": __vite_glob_0_11,"./components/Radio/index.vue": __vite_glob_0_12,"./components/Rule/ruleform.json": __vite_glob_0_13,"./components/Rule/rules.js": __vite_glob_0_14,"./components/Selected/index.vue": __vite_glob_0_15,"./components/Selecteds/index.vue": __vite_glob_0_16,"./components/ShowRule/index.vue": __vite_glob_0_17,"./components/Slider/index.vue": __vite_glob_0_18,"./components/Switch/index.vue": __vite_glob_0_19,"./components/Text/index.vue": __vite_glob_0_20,"./components/TextArea/index.vue": __vite_glob_0_21,"./components/Time/index.vue": __vite_glob_0_22,"./layout/Divider.vue": __vite_glob_0_23,"./layout/Info.vue": __vite_glob_0_24,"./layout/Tabs.vue": __vite_glob_0_25,"./layout/collapse.vue": __vite_glob_0_26,"./layout/grid.vue": __vite_glob_0_27,"./layout/table.vue": __vite_glob_0_28});
5584
+ const files = /* #__PURE__ */ Object.assign({"./common/KeyValueConfig.vue": __vite_glob_0_0,"./common/KeyValueConfigMult.vue": __vite_glob_0_1,"./common/Loading.vue": __vite_glob_0_2,"./common/action.vue": __vite_glob_0_3,"./common/listConfig.vue": __vite_glob_0_4,"./common/panel.vue": __vite_glob_0_5,"./common/radiogroup.vue": __vite_glob_0_6,"./components/CheckBox/index.vue": __vite_glob_0_7,"./components/ColorSelect/index.vue": __vite_glob_0_8,"./components/Date/index.vue": __vite_glob_0_9,"./components/DateTime/index.vue": __vite_glob_0_10,"./components/InputNumber/index.vue": __vite_glob_0_11,"./components/Radio/index.vue": __vite_glob_0_12,"./components/RichText/MenuBar.vue": __vite_glob_0_13,"./components/RichText/MenuItem.vue": __vite_glob_0_14,"./components/Rule/ruleform.json": __vite_glob_0_15,"./components/Rule/rules.js": __vite_glob_0_16,"./components/Selected/index.vue": __vite_glob_0_17,"./components/Selecteds/index.vue": __vite_glob_0_18,"./components/ShowRule/index.vue": __vite_glob_0_19,"./components/Slider/index.vue": __vite_glob_0_20,"./components/Switch/index.vue": __vite_glob_0_21,"./components/Text/index.vue": __vite_glob_0_22,"./components/TextArea/index.vue": __vite_glob_0_23,"./components/Time/index.vue": __vite_glob_0_24,"./layout/Divider.vue": __vite_glob_0_25,"./layout/Info.vue": __vite_glob_0_26,"./layout/Tabs.vue": __vite_glob_0_27,"./layout/collapse.vue": __vite_glob_0_28,"./layout/grid.vue": __vite_glob_0_29,"./layout/table.vue": __vite_glob_0_30});
5366
5585
  Object.keys(files).forEach((fileName) => {
5367
5586
  const result = files[fileName].default;
5368
5587
  if (fileName.indexOf(".vue") != -1) {
@@ -5370,7 +5589,7 @@ Object.keys(files).forEach((fileName) => {
5370
5589
  }
5371
5590
  });
5372
5591
  const RichText = defineAsyncComponent({
5373
- loader: () => import('./index-79d4fa2d.mjs'),
5592
+ loader: () => import('./index-33672dc8.mjs'),
5374
5593
  loadingComponent: Loading
5375
5594
  });
5376
5595
  RichText.ControlType = "RichText";
@@ -5379,7 +5598,7 @@ RichText.icon = "icon-textEdit";
5379
5598
  RichText.formConfig = getFormConfig("RichText");
5380
5599
  utilFuns[RichText.ControlType] = RichText;
5381
5600
  const jsonEditor = defineAsyncComponent({
5382
- loader: () => import('./index-d956c92a.mjs'),
5601
+ loader: () => import('./index-31213a51.mjs'),
5383
5602
  loadingComponent: Loading
5384
5603
  });
5385
5604
  jsonEditor.ControlType = "JsonEditor";
@@ -5389,14 +5608,14 @@ jsonEditor.formConfig = getFormConfig("JsonEditor", [{ fieldName: "default", com
5389
5608
  jsonEditor.rule = _.getJsonValidate();
5390
5609
  utilFuns[jsonEditor.ControlType] = jsonEditor;
5391
5610
  const formAction = defineAsyncComponent({
5392
- loader: () => import('./formAction-b8438d67.mjs'),
5611
+ loader: () => import('./formAction-128c0254.mjs'),
5393
5612
  loadingComponent: Loading
5394
5613
  });
5395
5614
  formAction.ControlType = "FormAction";
5396
5615
  formAction.isHide = true;
5397
5616
  utilFuns[formAction.ControlType] = formAction;
5398
5617
  const Rule = defineAsyncComponent({
5399
- loader: () => import('./index-99d5ce16.mjs'),
5618
+ loader: () => import('./index-931dd4ed.mjs'),
5400
5619
  loadingComponent: Loading
5401
5620
  });
5402
5621
  Rule.ControlType = "Rule";
@@ -5405,9 +5624,9 @@ utilFuns[Rule.ControlType] = Rule;
5405
5624
  const install = (app) => {
5406
5625
  app.config.globalProperties.$formcomponents = utilFuns;
5407
5626
  };
5408
- const Dynamicform = defineAsyncComponent(() => import('./starfish-form-627ee711.mjs'));
5627
+ const Dynamicform = defineAsyncComponent(() => import('./starfish-form-12edcb0d.mjs'));
5409
5628
  const main = {
5410
5629
  install
5411
5630
  };
5412
5631
 
5413
- export { Dynamicform as D, _export_sfc as _, _ as a, ruleJsonData as b, fieldProps as f, getFormConfig as g, main as m, ruleList as r, useWatch as u };
5632
+ export { Dynamicform as D, _export_sfc as _, __unplugin_components_1 as a, _ as b, ruleJsonData as c, fieldProps as f, getFormConfig as g, main as m, ruleList as r, useWatch as u };