starfish-form-custom 1.0.33 → 1.0.35

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,7 +24,6 @@ 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';
28
27
  import 'element-plus/es/components/slider/style/css';
29
28
  import 'element-plus/es/components/switch/style/css';
30
29
  import 'element-plus/es/components/time-select/style/css';
@@ -1102,12 +1101,12 @@ const _sfc_main$t = defineComponent({
1102
1101
  };
1103
1102
  }
1104
1103
  });
1105
- const _hoisted_1$t = {
1104
+ const _hoisted_1$s = {
1106
1105
  key: 0,
1107
1106
  class: "item_require"
1108
1107
  };
1109
- const _hoisted_2$m = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1110
- const _hoisted_3$h = { class: "keyValueSelect" };
1108
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1109
+ const _hoisted_3$g = { class: "keyValueSelect" };
1111
1110
  const _hoisted_4$4 = { class: "keyValueInput" };
1112
1111
  const _hoisted_5$2 = { class: "inputItem" };
1113
1112
  const _hoisted_6$2 = /* @__PURE__ */ createElementVNode("span", null, "\u6587\u672C\uFF1A", -1);
@@ -1138,7 +1137,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
1138
1137
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1139
1138
  }, [
1140
1139
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1141
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$t, "*")) : createCommentVNode("", true),
1140
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$s, "*")) : createCommentVNode("", true),
1142
1141
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1143
1142
  key: 1,
1144
1143
  class: "item",
@@ -1147,7 +1146,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
1147
1146
  placement: "top"
1148
1147
  }, {
1149
1148
  default: withCtx(() => [
1150
- _hoisted_2$m
1149
+ _hoisted_2$l
1151
1150
  ]),
1152
1151
  _: 1
1153
1152
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1161,7 +1160,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
1161
1160
  class: "starfish-keyValueItem",
1162
1161
  key: index
1163
1162
  }, [
1164
- createElementVNode("div", _hoisted_3$h, [
1163
+ createElementVNode("div", _hoisted_3$g, [
1165
1164
  createVNode(_component_el_checkbox, {
1166
1165
  modelValue: items.select,
1167
1166
  "onUpdate:modelValue": ($event) => items.select = $event,
@@ -1336,12 +1335,12 @@ const _sfc_main$s = defineComponent({
1336
1335
  };
1337
1336
  }
1338
1337
  });
1339
- const _hoisted_1$s = {
1338
+ const _hoisted_1$r = {
1340
1339
  key: 0,
1341
1340
  class: "item_require"
1342
1341
  };
1343
- const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1344
- const _hoisted_3$g = { class: "keyValueSelect" };
1342
+ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1343
+ const _hoisted_3$f = { class: "keyValueSelect" };
1345
1344
  const _hoisted_4$3 = { class: "keyValueInput" };
1346
1345
  const _hoisted_5$1 = { class: "inputItem" };
1347
1346
  const _hoisted_6$1 = /* @__PURE__ */ createElementVNode("span", null, "\u6587\u672C\uFF1A", -1);
@@ -1372,7 +1371,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
1372
1371
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1373
1372
  }, [
1374
1373
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1375
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$s, "*")) : createCommentVNode("", true),
1374
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$r, "*")) : createCommentVNode("", true),
1376
1375
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1377
1376
  key: 1,
1378
1377
  class: "item",
@@ -1381,7 +1380,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
1381
1380
  placement: "top"
1382
1381
  }, {
1383
1382
  default: withCtx(() => [
1384
- _hoisted_2$l
1383
+ _hoisted_2$k
1385
1384
  ]),
1386
1385
  _: 1
1387
1386
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1395,7 +1394,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
1395
1394
  class: "starfish-keyValueItem",
1396
1395
  key: index
1397
1396
  }, [
1398
- createElementVNode("div", _hoisted_3$g, [
1397
+ createElementVNode("div", _hoisted_3$f, [
1399
1398
  createVNode(_component_el_checkbox, {
1400
1399
  modelValue: items.select,
1401
1400
  "onUpdate:modelValue": ($event) => items.select = $event,
@@ -1483,12 +1482,12 @@ const __vite_glob_0_1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
1483
1482
  /* unplugin-vue-components disabled */const Loading_vue_vue_type_style_index_0_scoped_true_lang$1 = '';
1484
1483
 
1485
1484
  const _sfc_main$r = {};
1486
- const _hoisted_1$r = { class: "loading" };
1485
+ const _hoisted_1$q = { class: "loading" };
1487
1486
 
1488
1487
  function _sfc_render$r(_ctx, _cache) {
1489
1488
  const _directive_loading = ElLoadingDirective;
1490
1489
 
1491
- return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$r, null, 512)), [
1490
+ return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$q, null, 512)), [
1492
1491
  [_directive_loading, true]
1493
1492
  ])
1494
1493
  }
@@ -1530,12 +1529,12 @@ const _sfc_main$q = defineComponent({
1530
1529
  };
1531
1530
  }
1532
1531
  });
1533
- const _hoisted_1$q = {
1532
+ const _hoisted_1$p = {
1534
1533
  key: 0,
1535
1534
  class: "item_require"
1536
1535
  };
1537
- const _hoisted_2$k = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1538
- const _hoisted_3$f = /* @__PURE__ */ createTextVNode(" \u65B0\u5EFA\u52A8\u4F5C+ ");
1536
+ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1537
+ const _hoisted_3$e = /* @__PURE__ */ createTextVNode(" \u65B0\u5EFA\u52A8\u4F5C+ ");
1539
1538
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1540
1539
  const _component_el_tooltip = ElTooltip;
1541
1540
  const _component_el_option = ElOption;
@@ -1560,7 +1559,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1560
1559
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
1561
1560
  }, [
1562
1561
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
1563
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$q, "*")) : createCommentVNode("", true),
1562
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$p, "*")) : createCommentVNode("", true),
1564
1563
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
1565
1564
  key: 1,
1566
1565
  class: "item",
@@ -1569,7 +1568,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1569
1568
  placement: "top"
1570
1569
  }, {
1571
1570
  default: withCtx(() => [
1572
- _hoisted_2$k
1571
+ _hoisted_2$j
1573
1572
  ]),
1574
1573
  _: 1
1575
1574
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -1692,7 +1691,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
1692
1691
  size: _ctx.size
1693
1692
  }, {
1694
1693
  default: withCtx(() => [
1695
- _hoisted_3$f
1694
+ _hoisted_3$e
1696
1695
  ]),
1697
1696
  _: 1
1698
1697
  }, 8, ["size"])
@@ -1740,7 +1739,7 @@ const _sfc_main$p = defineComponent({
1740
1739
  };
1741
1740
  }
1742
1741
  });
1743
- const _hoisted_1$p = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0");
1742
+ const _hoisted_1$o = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0");
1744
1743
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
1745
1744
  const _component_el_input_number = ElInputNumber;
1746
1745
  const _component_Delete = resolveComponent("Delete");
@@ -1802,7 +1801,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
1802
1801
  size: "default"
1803
1802
  }, {
1804
1803
  default: withCtx(() => [
1805
- _hoisted_1$p
1804
+ _hoisted_1$o
1806
1805
  ]),
1807
1806
  _: 1
1808
1807
  }, 8, ["onClick"])
@@ -1839,9 +1838,9 @@ const _sfc_main$o = defineComponent({
1839
1838
  };
1840
1839
  }
1841
1840
  });
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);
1844
- const _hoisted_3$e = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0\u9762\u677F");
1841
+ const _hoisted_1$n = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1842
+ const _hoisted_2$i = /* @__PURE__ */ createElementVNode("i", { class: "iconfontui icon-bars handle" }, null, -1);
1843
+ const _hoisted_3$d = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0\u9762\u677F");
1845
1844
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1846
1845
  const _component_el_tooltip = ElTooltip;
1847
1846
  const _component_el_col = ElCol;
@@ -1866,7 +1865,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1866
1865
  placement: "top"
1867
1866
  }, {
1868
1867
  default: withCtx(() => [
1869
- _hoisted_1$o
1868
+ _hoisted_1$n
1870
1869
  ]),
1871
1870
  _: 1
1872
1871
  })
@@ -1891,7 +1890,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1891
1890
  default: withCtx(() => [
1892
1891
  createVNode(_component_el_col, { span: 1.5 }, {
1893
1892
  default: withCtx(() => [
1894
- _hoisted_2$j
1893
+ _hoisted_2$i
1895
1894
  ]),
1896
1895
  _: 1
1897
1896
  }, 8, ["span"]),
@@ -1946,7 +1945,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1946
1945
  size: "default"
1947
1946
  }, {
1948
1947
  default: withCtx(() => [
1949
- _hoisted_3$e
1948
+ _hoisted_3$d
1950
1949
  ]),
1951
1950
  _: 1
1952
1951
  }, 8, ["onClick"])
@@ -1992,12 +1991,12 @@ const _sfc_main$n = defineComponent({
1992
1991
  useWatch(props);
1993
1992
  }
1994
1993
  });
1995
- const _hoisted_1$n = { class: "label" };
1996
- const _hoisted_2$i = {
1994
+ const _hoisted_1$m = { class: "label" };
1995
+ const _hoisted_2$h = {
1997
1996
  key: 0,
1998
1997
  class: "item_require"
1999
1998
  };
2000
- const _hoisted_3$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1999
+ const _hoisted_3$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2001
2000
  const _hoisted_4$2 = { class: "control" };
2002
2001
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2003
2002
  const _component_el_tooltip = ElTooltip;
@@ -2006,9 +2005,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2006
2005
  return openBlock(), createElementBlock("div", {
2007
2006
  class: normalizeClass(["starfish-formitem", _ctx.drag ? "formCover" : ""])
2008
2007
  }, [
2009
- createElementVNode("div", _hoisted_1$n, [
2008
+ createElementVNode("div", _hoisted_1$m, [
2010
2009
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label), 1),
2011
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true),
2010
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true),
2012
2011
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2013
2012
  key: 1,
2014
2013
  class: "item",
@@ -2017,7 +2016,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2017
2016
  placement: "top"
2018
2017
  }, {
2019
2018
  default: withCtx(() => [
2020
- _hoisted_3$d
2019
+ _hoisted_3$c
2021
2020
  ]),
2022
2021
  _: 1
2023
2022
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2066,12 +2065,12 @@ const _sfc_main$m = defineComponent({
2066
2065
  useWatch(props);
2067
2066
  }
2068
2067
  });
2069
- const _hoisted_1$m = {
2068
+ const _hoisted_1$l = {
2070
2069
  key: 0,
2071
2070
  class: "item_require"
2072
2071
  };
2073
- const _hoisted_2$h = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2074
- const _hoisted_3$c = { key: 0 };
2072
+ const _hoisted_2$g = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2073
+ const _hoisted_3$b = { key: 0 };
2075
2074
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2076
2075
  const _component_el_tooltip = ElTooltip;
2077
2076
  const _component_el_checkbox = ElCheckbox;
@@ -2083,7 +2082,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2083
2082
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2084
2083
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2085
2084
  }, [
2086
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$m, "*")) : createCommentVNode("", true),
2085
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$l, "*")) : createCommentVNode("", true),
2087
2086
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2088
2087
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2089
2088
  key: 1,
@@ -2093,7 +2092,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2093
2092
  placement: "top"
2094
2093
  }, {
2095
2094
  default: withCtx(() => [
2096
- _hoisted_2$h
2095
+ _hoisted_2$g
2097
2096
  ]),
2098
2097
  _: 1
2099
2098
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2102,7 +2101,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2102
2101
  class: "control",
2103
2102
  style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
2104
2103
  }, [
2105
- !_ctx.drag && _ctx.data[_ctx.item.data.fieldName] && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(Array.isArray(_ctx.data[_ctx.item.data.fieldName]) ? _ctx.data[_ctx.item.data.fieldName].join(",") || "--" : _ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag && _ctx.data[_ctx.item.data.fieldName] ? (openBlock(), createBlock(_component_el_checkbox_group, {
2104
+ !_ctx.drag && _ctx.data[_ctx.item.data.fieldName] && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString(Array.isArray(_ctx.data[_ctx.item.data.fieldName]) ? _ctx.data[_ctx.item.data.fieldName].join(",") || "--" : _ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag && _ctx.data[_ctx.item.data.fieldName] ? (openBlock(), createBlock(_component_el_checkbox_group, {
2106
2105
  key: 1,
2107
2106
  modelValue: _ctx.data[_ctx.item.data.fieldName],
2108
2107
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
@@ -2175,12 +2174,12 @@ const _sfc_main$l = defineComponent({
2175
2174
  }
2176
2175
  });
2177
2176
  const _withScopeId = (n) => (pushScopeId("data-v-4ce4907e"), n = n(), popScopeId(), n);
2178
- const _hoisted_1$l = {
2177
+ const _hoisted_1$k = {
2179
2178
  key: 0,
2180
2179
  class: "item_require"
2181
2180
  };
2182
- const _hoisted_2$g = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
2183
- const _hoisted_3$b = { key: 0 };
2181
+ const _hoisted_2$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
2182
+ const _hoisted_3$a = { key: 0 };
2184
2183
  const _hoisted_4$1 = { key: 1 };
2185
2184
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2186
2185
  const _component_el_tooltip = ElTooltip;
@@ -2194,7 +2193,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2194
2193
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2195
2194
  }, [
2196
2195
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2197
- _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$l, "*")) : createCommentVNode("", true),
2196
+ _ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$k, "*")) : createCommentVNode("", true),
2198
2197
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2199
2198
  key: 1,
2200
2199
  class: "item",
@@ -2203,7 +2202,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2203
2202
  placement: "top"
2204
2203
  }, {
2205
2204
  default: withCtx(() => [
2206
- _hoisted_2$g
2205
+ _hoisted_2$f
2207
2206
  ]),
2208
2207
  _: 1
2209
2208
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2212,7 +2211,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2212
2211
  class: "control",
2213
2212
  style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
2214
2213
  }, [
2215
- _ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
2214
+ _ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
2216
2215
  createVNode(_component_el_input, {
2217
2216
  modelValue: _ctx.item.data.default,
2218
2217
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.item.data.default = $event),
@@ -2313,12 +2312,12 @@ const _sfc_main$k = defineComponent({
2313
2312
  };
2314
2313
  }
2315
2314
  });
2316
- const _hoisted_1$k = {
2315
+ const _hoisted_1$j = {
2317
2316
  key: 0,
2318
2317
  class: "item_require"
2319
2318
  };
2320
- const _hoisted_2$f = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2321
- const _hoisted_3$a = { key: 1 };
2319
+ const _hoisted_2$e = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2320
+ const _hoisted_3$9 = { key: 1 };
2322
2321
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2323
2322
  const _component_el_tooltip = ElTooltip;
2324
2323
  const _component_el_date_picker = ElDatePicker;
@@ -2329,7 +2328,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2329
2328
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2330
2329
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2331
2330
  }, [
2332
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$k, "*")) : createCommentVNode("", true),
2331
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$j, "*")) : createCommentVNode("", true),
2333
2332
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2334
2333
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2335
2334
  key: 1,
@@ -2339,7 +2338,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2339
2338
  placement: "top"
2340
2339
  }, {
2341
2340
  default: withCtx(() => [
2342
- _hoisted_2$f
2341
+ _hoisted_2$e
2343
2342
  ]),
2344
2343
  _: 1
2345
2344
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2361,7 +2360,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
2361
2360
  disabled: _ctx.item.data.state === "disabled",
2362
2361
  readonly: _ctx.item.data.state === "readonly"
2363
2362
  }, null, 8, ["modelValue", "type", "format", "value-format", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
2364
- !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$a, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
2363
+ !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
2365
2364
  key: 2,
2366
2365
  modelValue: _ctx.data[_ctx.item.data.fieldName],
2367
2366
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
@@ -2431,12 +2430,12 @@ const _sfc_main$j = defineComponent({
2431
2430
  };
2432
2431
  }
2433
2432
  });
2434
- const _hoisted_1$j = {
2433
+ const _hoisted_1$i = {
2435
2434
  key: 0,
2436
2435
  class: "item_require"
2437
2436
  };
2438
- const _hoisted_2$e = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2439
- const _hoisted_3$9 = { key: 1 };
2437
+ const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2438
+ const _hoisted_3$8 = { key: 1 };
2440
2439
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2441
2440
  const _component_el_tooltip = ElTooltip;
2442
2441
  const _component_el_date_picker = ElDatePicker;
@@ -2447,7 +2446,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2447
2446
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2448
2447
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2449
2448
  }, [
2450
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$j, "*")) : createCommentVNode("", true),
2449
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$i, "*")) : createCommentVNode("", true),
2451
2450
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2452
2451
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2453
2452
  key: 1,
@@ -2457,7 +2456,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2457
2456
  placement: "top"
2458
2457
  }, {
2459
2458
  default: withCtx(() => [
2460
- _hoisted_2$e
2459
+ _hoisted_2$d
2461
2460
  ]),
2462
2461
  _: 1
2463
2462
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2476,7 +2475,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2476
2475
  disabled: _ctx.item.data.state === "disabled",
2477
2476
  readonly: _ctx.item.data.state === "readonly"
2478
2477
  }, null, 8, ["modelValue", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
2479
- !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
2478
+ !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$8, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
2480
2479
  key: 2,
2481
2480
  modelValue: _ctx.data[_ctx.item.data.fieldName],
2482
2481
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
@@ -2540,12 +2539,12 @@ const _sfc_main$i = defineComponent({
2540
2539
  };
2541
2540
  }
2542
2541
  });
2543
- const _hoisted_1$i = {
2542
+ const _hoisted_1$h = {
2544
2543
  key: 0,
2545
2544
  class: "item_require"
2546
2545
  };
2547
- const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2548
- const _hoisted_3$8 = { key: 1 };
2546
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2547
+ const _hoisted_3$7 = { key: 1 };
2549
2548
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2550
2549
  const _component_el_tooltip = ElTooltip;
2551
2550
  const _component_el_input_number = ElInputNumber;
@@ -2560,7 +2559,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2560
2559
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2561
2560
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2562
2561
  }, [
2563
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$i, "*")) : createCommentVNode("", true),
2562
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$h, "*")) : createCommentVNode("", true),
2564
2563
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2565
2564
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2566
2565
  key: 1,
@@ -2570,7 +2569,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2570
2569
  placement: "top"
2571
2570
  }, {
2572
2571
  default: withCtx(() => [
2573
- _hoisted_2$d
2572
+ _hoisted_2$c
2574
2573
  ]),
2575
2574
  _: 1
2576
2575
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2589,7 +2588,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
2589
2588
  precision: _ctx.item.data.precision,
2590
2589
  disabled: _ctx.item.data.state === "disabled" || _ctx.item.data.state === "readonly"
2591
2590
  }, null, 8, ["modelValue", "controls-position", "size", "precision", "disabled"])) : createCommentVNode("", true),
2592
- !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$8, toDisplayString(_ctx.formatReadonlyNumber(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.precision)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_input_number, {
2591
+ !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(_ctx.formatReadonlyNumber(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.precision)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_input_number, {
2593
2592
  key: 2,
2594
2593
  modelValue: _ctx.data[_ctx.item.data.fieldName],
2595
2594
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
@@ -2629,12 +2628,12 @@ const _sfc_main$h = defineComponent({
2629
2628
  useWatch(props);
2630
2629
  }
2631
2630
  });
2632
- const _hoisted_1$h = {
2631
+ const _hoisted_1$g = {
2633
2632
  key: 0,
2634
2633
  class: "item_require"
2635
2634
  };
2636
- const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2637
- const _hoisted_3$7 = { key: 0 };
2635
+ const _hoisted_2$b = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2636
+ const _hoisted_3$6 = { key: 0 };
2638
2637
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2639
2638
  const _component_el_tooltip = ElTooltip;
2640
2639
  const _component_el_radio = ElRadio;
@@ -2650,7 +2649,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2650
2649
  class: normalizeClass(["label", "label_" + _ctx.labelalign]),
2651
2650
  style: normalizeStyle({ width: _ctx.labelWidth + "px" })
2652
2651
  }, [
2653
- _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$h, "*")) : createCommentVNode("", true),
2652
+ _ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$g, "*")) : createCommentVNode("", true),
2654
2653
  createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
2655
2654
  _ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
2656
2655
  key: 1,
@@ -2660,7 +2659,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2660
2659
  placement: "top"
2661
2660
  }, {
2662
2661
  default: withCtx(() => [
2663
- _hoisted_2$c
2662
+ _hoisted_2$b
2664
2663
  ]),
2665
2664
  _: 1
2666
2665
  }, 8, ["content"])) : createCommentVNode("", true)
@@ -2669,7 +2668,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2669
2668
  class: "control",
2670
2669
  style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
2671
2670
  }, [
2672
- !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_radio_group, {
2671
+ !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$6, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_radio_group, {
2673
2672
  key: 1,
2674
2673
  modelValue: _ctx.data[_ctx.item.data.fieldName],
2675
2674
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
@@ -2749,29 +2748,52 @@ const _sfc_main$g = defineComponent({
2749
2748
  default: null
2750
2749
  }
2751
2750
  },
2752
- setup() {
2751
+ setup(props) {
2752
+ const titleMap = {
2753
+ "Bold": "\u7C97\u4F53",
2754
+ "Italic": "\u659C\u4F53",
2755
+ "Strike": "\u5220\u9664\u7EBF",
2756
+ "Code": "\u884C\u5185\u4EE3\u7801",
2757
+ "Heading 1": "\u6807\u9898 1",
2758
+ "Heading 2": "\u6807\u9898 2",
2759
+ "Paragraph": "\u6BB5\u843D",
2760
+ "Bullet list": "\u65E0\u5E8F\u5217\u8868",
2761
+ "Ordered list": "\u6709\u5E8F\u5217\u8868",
2762
+ "Code block": "\u4EE3\u7801\u5757",
2763
+ "Blockquote": "\u5F15\u7528\u5757",
2764
+ "Horizontal rule": "\u6C34\u5E73\u5206\u5272\u7EBF",
2765
+ "Undo": "\u64A4\u9500",
2766
+ "Redo": "\u91CD\u505A"
2767
+ };
2768
+ const chineseTitle = computed(() => {
2769
+ return titleMap[props.title] || props.title;
2770
+ });
2753
2771
  return {
2754
- remixiconUrl
2772
+ chineseTitle
2755
2773
  };
2756
2774
  }
2757
2775
  });
2758
- const _hoisted_1$g = ["title"];
2759
- const _hoisted_2$b = { class: "remix" };
2760
- const _hoisted_3$6 = ["xlink:href"];
2761
2776
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2762
- return openBlock(), createElementBlock("button", {
2763
- class: normalizeClass(["menu-item", { "is-active": _ctx.isActive && _ctx.isActive() }]),
2764
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.action && _ctx.action(...args)),
2765
- title: _ctx.title
2766
- }, [
2767
- (openBlock(), createElementBlock("svg", _hoisted_2$b, [
2768
- createElementVNode("use", {
2769
- "xlink:href": `${_ctx.remixiconUrl}#ri-${_ctx.icon}`
2770
- }, null, 8, _hoisted_3$6)
2771
- ]))
2772
- ], 10, _hoisted_1$g);
2777
+ const _component_el_tooltip = ElTooltip;
2778
+ return openBlock(), createBlock(_component_el_tooltip, {
2779
+ effect: "dark",
2780
+ content: _ctx.chineseTitle,
2781
+ placement: "top"
2782
+ }, {
2783
+ default: withCtx(() => [
2784
+ createElementVNode("button", {
2785
+ class: normalizeClass(["menu-item", { "is-active": _ctx.isActive && _ctx.isActive() }]),
2786
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.action && _ctx.action(...args))
2787
+ }, [
2788
+ createElementVNode("i", {
2789
+ class: normalizeClass([`ri-${_ctx.icon}`, "menu-icon"])
2790
+ }, null, 2)
2791
+ ], 2)
2792
+ ]),
2793
+ _: 1
2794
+ }, 8, ["content"]);
2773
2795
  }
2774
- const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-398f2226"]]);
2796
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-6c37ffa3"]]);
2775
2797
 
2776
2798
  const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2777
2799
  __proto__: null,
@@ -5561,7 +5583,7 @@ Object.keys(files).forEach((fileName) => {
5561
5583
  }
5562
5584
  });
5563
5585
  const RichText = defineAsyncComponent({
5564
- loader: () => import('./index-89d6b690.mjs'),
5586
+ loader: () => import('./index-a1e32b9f.mjs'),
5565
5587
  loadingComponent: Loading
5566
5588
  });
5567
5589
  RichText.ControlType = "RichText";
@@ -5570,7 +5592,7 @@ RichText.icon = "icon-textEdit";
5570
5592
  RichText.formConfig = getFormConfig("RichText");
5571
5593
  utilFuns[RichText.ControlType] = RichText;
5572
5594
  const jsonEditor = defineAsyncComponent({
5573
- loader: () => import('./index-cdc52674.mjs'),
5595
+ loader: () => import('./index-4dabe1d8.mjs'),
5574
5596
  loadingComponent: Loading
5575
5597
  });
5576
5598
  jsonEditor.ControlType = "JsonEditor";
@@ -5580,14 +5602,14 @@ jsonEditor.formConfig = getFormConfig("JsonEditor", [{ fieldName: "default", com
5580
5602
  jsonEditor.rule = _.getJsonValidate();
5581
5603
  utilFuns[jsonEditor.ControlType] = jsonEditor;
5582
5604
  const formAction = defineAsyncComponent({
5583
- loader: () => import('./formAction-cfa5fd87.mjs'),
5605
+ loader: () => import('./formAction-5d0e6e20.mjs'),
5584
5606
  loadingComponent: Loading
5585
5607
  });
5586
5608
  formAction.ControlType = "FormAction";
5587
5609
  formAction.isHide = true;
5588
5610
  utilFuns[formAction.ControlType] = formAction;
5589
5611
  const Rule = defineAsyncComponent({
5590
- loader: () => import('./index-b6de786a.mjs'),
5612
+ loader: () => import('./index-2fe91869.mjs'),
5591
5613
  loadingComponent: Loading
5592
5614
  });
5593
5615
  Rule.ControlType = "Rule";
@@ -5596,7 +5618,7 @@ utilFuns[Rule.ControlType] = Rule;
5596
5618
  const install = (app) => {
5597
5619
  app.config.globalProperties.$formcomponents = utilFuns;
5598
5620
  };
5599
- const Dynamicform = defineAsyncComponent(() => import('./starfish-form-4c2ab774.mjs'));
5621
+ const Dynamicform = defineAsyncComponent(() => import('./starfish-form-54bcfdaa.mjs'));
5600
5622
  const main = {
5601
5623
  install
5602
5624
  };
@@ -3,7 +3,7 @@ import 'element-plus/es/components/base/style/css';
3
3
  import 'element-plus/es/components/form/style/css';
4
4
  import 'element-plus/es/components/form-item/style/css';
5
5
  import { defineComponent, getCurrentInstance, ref, onMounted, openBlock, createElementBlock, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock, resolveDynamicComponent, createCommentVNode, toRaw } from 'vue';
6
- import { _ as _export_sfc } from './main-8dad66de.mjs';
6
+ import { _ as _export_sfc } from './main-b0acaeb8.mjs';
7
7
  import 'element-plus/es/components/icon/style/css';
8
8
  import 'element-plus/es/components/input/style/css';
9
9
  import 'element-plus/es/components/checkbox/style/css';
@@ -27,7 +27,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
27
27
  import 'element-plus/es/components/color-picker/style/css';
28
28
  import 'element-plus/es/components/date-picker/style/css';
29
29
  import 'element-plus/es/components/radio/style/css';
30
- import 'remixicon/fonts/remixicon.symbol.svg';
31
30
  import 'element-plus/es/components/slider/style/css';
32
31
  import 'element-plus/es/components/switch/style/css';
33
32
  import 'element-plus/es/components/time-select/style/css';
@@ -1,4 +1,4 @@
1
- export { D as Dynamicform, m as default } from './main-8dad66de.mjs';
1
+ export { D as Dynamicform, m as default } from './main-b0acaeb8.mjs';
2
2
  import 'vue';
3
3
  import 'element-plus/es';
4
4
  import 'element-plus/es/components/base/style/css';
@@ -25,7 +25,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
25
25
  import 'element-plus/es/components/color-picker/style/css';
26
26
  import 'element-plus/es/components/date-picker/style/css';
27
27
  import 'element-plus/es/components/radio/style/css';
28
- import 'remixicon/fonts/remixicon.symbol.svg';
29
28
  import 'element-plus/es/components/slider/style/css';
30
29
  import 'element-plus/es/components/switch/style/css';
31
30
  import 'element-plus/es/components/time-select/style/css';