starfish-form-custom 1.0.34 → 1.0.36

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.
@@ -11,7 +11,7 @@ import 'element-plus/es/components/button/style/css';
11
11
  import 'element-plus/es/components/tooltip/style/css';
12
12
  import { defineComponent, inject, ref, getCurrentInstance, reactive, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, Fragment, renderList, withModifiers, createTextVNode } from 'vue';
13
13
  import { Codemirror } from 'vue-codemirror';
14
- import { _ as _export_sfc } from './main-0192f89c.mjs';
14
+ import { _ as _export_sfc } from './main-b7ba7952.mjs';
15
15
  import 'element-plus/es/components/icon/style/css';
16
16
  import 'element-plus/es/components/checkbox/style/css';
17
17
  import '@element-plus/icons-vue';
@@ -32,7 +32,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
32
32
  import 'element-plus/es/components/color-picker/style/css';
33
33
  import 'element-plus/es/components/date-picker/style/css';
34
34
  import 'element-plus/es/components/radio/style/css';
35
- import 'remixicon/fonts/remixicon.symbol.svg';
36
35
  import 'element-plus/es/components/slider/style/css';
37
36
  import 'element-plus/es/components/switch/style/css';
38
37
  import 'element-plus/es/components/time-select/style/css';
@@ -13,9 +13,9 @@ import 'element-plus/es/components/dropdown-item/style/css';
13
13
  import 'element-plus/es/components/button/style/css';
14
14
  import 'element-plus/es/components/tooltip/style/css';
15
15
  import { defineComponent, getCurrentInstance, inject, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, Fragment, renderList, createTextVNode } from 'vue';
16
- import { _ as _export_sfc, b as _, f as fieldProps, r as ruleList, c as ruleJsonData } from './main-0192f89c.mjs';
16
+ import { _ as _export_sfc, b as _, f as fieldProps, r as ruleList, c as ruleJsonData } from './main-b7ba7952.mjs';
17
17
  import { Delete } from '@element-plus/icons-vue';
18
- import Dynamicform from './starfish-form-12edcb0d.mjs';
18
+ import Dynamicform from './starfish-form-a5d43f95.mjs';
19
19
  import { Codemirror } from 'vue-codemirror';
20
20
  import 'element-plus/es/components/input/style/css';
21
21
  import 'element-plus/es/components/checkbox/style/css';
@@ -31,7 +31,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
31
31
  import 'element-plus/es/components/color-picker/style/css';
32
32
  import 'element-plus/es/components/date-picker/style/css';
33
33
  import 'element-plus/es/components/radio/style/css';
34
- import 'remixicon/fonts/remixicon.symbol.svg';
35
34
  import 'element-plus/es/components/slider/style/css';
36
35
  import 'element-plus/es/components/switch/style/css';
37
36
  import 'element-plus/es/components/time-select/style/css';
@@ -6,7 +6,7 @@ import 'element-plus/es/components/button/style/css';
6
6
  import 'element-plus/es/components/main/style/css';
7
7
  import 'element-plus/es/components/tooltip/style/css';
8
8
  import { defineComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, createTextVNode } from 'vue';
9
- import { _ as _export_sfc, b as _, g as getFormConfig, f as fieldProps, u as useWatch } from './main-0192f89c.mjs';
9
+ import { _ as _export_sfc, b as _, g as getFormConfig, f as fieldProps, u as useWatch } from './main-b7ba7952.mjs';
10
10
  import JSONEditor from 'jsoneditor';
11
11
  import 'element-plus/es/components/icon/style/css';
12
12
  import 'element-plus/es/components/input/style/css';
@@ -29,7 +29,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
29
29
  import 'element-plus/es/components/color-picker/style/css';
30
30
  import 'element-plus/es/components/date-picker/style/css';
31
31
  import 'element-plus/es/components/radio/style/css';
32
- import 'remixicon/fonts/remixicon.symbol.svg';
33
32
  import 'element-plus/es/components/slider/style/css';
34
33
  import 'element-plus/es/components/switch/style/css';
35
34
  import 'element-plus/es/components/time-select/style/css';
@@ -1,8 +1,8 @@
1
- import { _ as _export_sfc, g as getFormConfig, f as fieldProps, a as __unplugin_components_1, u as useWatch } from './main-0192f89c.mjs';
1
+ import { _ as _export_sfc, g as getFormConfig, f as fieldProps, a as __unplugin_components_1, u as useWatch } from './main-b7ba7952.mjs';
2
2
  import { ElTooltip } from 'element-plus/es';
3
3
  import 'element-plus/es/components/base/style/css';
4
4
  import 'element-plus/es/components/tooltip/style/css';
5
- import { defineComponent, watch, onUnmounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createCommentVNode, toDisplayString, createBlock, withCtx, createVNode, pushScopeId, popScopeId } from 'vue';
5
+ import { defineComponent, ref, watch, onMounted, onUnmounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createCommentVNode, toDisplayString, createBlock, withCtx, createVNode, pushScopeId, popScopeId } from 'vue';
6
6
  import { EditorContent, useEditor } from '@tiptap/vue-3';
7
7
  import StarterKit from '@tiptap/starter-kit';
8
8
  import Code from '@tiptap/extension-code';
@@ -31,7 +31,6 @@ import 'element-plus/es/components/checkbox-group/style/css';
31
31
  import 'element-plus/es/components/color-picker/style/css';
32
32
  import 'element-plus/es/components/date-picker/style/css';
33
33
  import 'element-plus/es/components/radio/style/css';
34
- import 'remixicon/fonts/remixicon.symbol.svg';
35
34
  import 'element-plus/es/components/slider/style/css';
36
35
  import 'element-plus/es/components/switch/style/css';
37
36
  import 'element-plus/es/components/time-select/style/css';
@@ -57,6 +56,9 @@ const _sfc_main = defineComponent({
57
56
  MenuBar: __unplugin_components_1
58
57
  },
59
58
  setup(props) {
59
+ useWatch(props);
60
+ const isInternalUpdate = ref(false);
61
+ const lastContent = ref("");
60
62
  const editor = useEditor({
61
63
  content: props.data[props.item.data.fieldName] || props.item.data.defaultValue || "",
62
64
  extensions: [
@@ -88,22 +90,30 @@ const _sfc_main = defineComponent({
88
90
  editorProps: {
89
91
  attributes: {
90
92
  class: "prose focus:outline-none max-w-none",
91
- style: "min-height: 200px; border: 1px solid #DCDFE6; border-radius: 4px; padding: 8px 12px;"
93
+ style: "min-height: 200px; border: 1px solid #DCDFE6; padding: 8px 12px; background-color: #fff;"
92
94
  }
93
95
  },
94
96
  onUpdate: ({ editor: editor2 }) => {
95
97
  const html = editor2.getHTML();
96
- props.data[props.item.data.fieldName] = html;
98
+ if (html !== lastContent.value) {
99
+ isInternalUpdate.value = true;
100
+ lastContent.value = html;
101
+ props.data[props.item.data.fieldName] = html;
102
+ setTimeout(() => {
103
+ isInternalUpdate.value = false;
104
+ }, 0);
105
+ }
97
106
  },
98
107
  onBlur: ({ editor: editor2 }) => {
99
108
  const html = editor2.getHTML();
100
- props.data[props.item.data.fieldName] = html;
101
- }
102
- });
103
- useWatch(props);
104
- watch(() => props.item.data.defaultValue, (newVal) => {
105
- if (editor.value && newVal) {
106
- editor.value.commands.setContent(newVal, false);
109
+ if (html !== lastContent.value) {
110
+ isInternalUpdate.value = true;
111
+ lastContent.value = html;
112
+ props.data[props.item.data.fieldName] = html;
113
+ setTimeout(() => {
114
+ isInternalUpdate.value = false;
115
+ }, 0);
116
+ }
107
117
  }
108
118
  });
109
119
  watch(() => props.readonly, (newVal) => {
@@ -111,6 +121,11 @@ const _sfc_main = defineComponent({
111
121
  editor.value.setEditable(!newVal);
112
122
  }
113
123
  });
124
+ onMounted(() => {
125
+ if (editor.value) {
126
+ lastContent.value = editor.value.getHTML();
127
+ }
128
+ });
114
129
  onUnmounted(() => {
115
130
  if (editor.value) {
116
131
  editor.value.destroy();
@@ -121,7 +136,7 @@ const _sfc_main = defineComponent({
121
136
  };
122
137
  }
123
138
  });
124
- const _withScopeId = (n) => (pushScopeId("data-v-544977e4"), n = n(), popScopeId(), n);
139
+ const _withScopeId = (n) => (pushScopeId("data-v-7adb62dc"), n = n(), popScopeId(), n);
125
140
  const _hoisted_1 = {
126
141
  key: 0,
127
142
  class: "item_require"
@@ -159,7 +174,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
174
  style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
160
175
  }, [
161
176
  createElementVNode("div", _hoisted_3, [
162
- _ctx.editor && !_ctx.readonly ? (openBlock(), createBlock(_component_MenuBar, {
177
+ !_ctx.readonly ? (openBlock(), createBlock(_component_MenuBar, {
163
178
  key: 0,
164
179
  editor: _ctx.editor
165
180
  }, null, 8, ["editor"])) : createCommentVNode("", true),
@@ -171,6 +186,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
171
186
  ], 4)
172
187
  ], 2);
173
188
  }
174
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-544977e4"]]);
189
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7adb62dc"]]);
175
190
 
176
191
  export { index as default };
@@ -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,11 +1101,11 @@ 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);
1108
+ const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1110
1109
  const _hoisted_3$g = { class: "keyValueSelect" };
1111
1110
  const _hoisted_4$4 = { class: "keyValueInput" };
1112
1111
  const _hoisted_5$2 = { class: "inputItem" };
@@ -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)
@@ -1336,11 +1335,11 @@ 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);
1342
+ const _hoisted_2$k = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1344
1343
  const _hoisted_3$f = { class: "keyValueSelect" };
1345
1344
  const _hoisted_4$3 = { class: "keyValueInput" };
1346
1345
  const _hoisted_5$1 = { class: "inputItem" };
@@ -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)
@@ -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,11 +1529,11 @@ 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);
1536
+ const _hoisted_2$j = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
1538
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;
@@ -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)
@@ -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,8 +1838,8 @@ 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);
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);
1844
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;
@@ -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"]),
@@ -1992,8 +1991,8 @@ 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
  };
@@ -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",
@@ -2066,11 +2065,11 @@ 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);
2072
+ const _hoisted_2$g = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2074
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;
@@ -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)
@@ -2175,11 +2174,11 @@ 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));
2181
+ const _hoisted_2$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
2183
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) {
@@ -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)
@@ -2313,11 +2312,11 @@ 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);
2319
+ const _hoisted_2$e = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2321
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;
@@ -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)
@@ -2431,11 +2430,11 @@ 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);
2437
+ const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2439
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;
@@ -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)
@@ -2540,11 +2539,11 @@ 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);
2546
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2548
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;
@@ -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)
@@ -2629,11 +2628,11 @@ 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);
2635
+ const _hoisted_2$b = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
2637
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;
@@ -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)
@@ -2770,13 +2769,10 @@ const _sfc_main$g = defineComponent({
2770
2769
  return titleMap[props.title] || props.title;
2771
2770
  });
2772
2771
  return {
2773
- remixiconUrl,
2774
2772
  chineseTitle
2775
2773
  };
2776
2774
  }
2777
2775
  });
2778
- const _hoisted_1$g = { class: "remix" };
2779
- const _hoisted_2$b = ["xlink:href"];
2780
2776
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2781
2777
  const _component_el_tooltip = ElTooltip;
2782
2778
  return openBlock(), createBlock(_component_el_tooltip, {
@@ -2789,17 +2785,15 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2789
2785
  class: normalizeClass(["menu-item", { "is-active": _ctx.isActive && _ctx.isActive() }]),
2790
2786
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.action && _ctx.action(...args))
2791
2787
  }, [
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
- ]))
2788
+ createElementVNode("i", {
2789
+ class: normalizeClass([`ri-${_ctx.icon}`, "menu-icon"])
2790
+ }, null, 2)
2797
2791
  ], 2)
2798
2792
  ]),
2799
2793
  _: 1
2800
2794
  }, 8, ["content"]);
2801
2795
  }
2802
- const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-083dc03b"]]);
2796
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-6c37ffa3"]]);
2803
2797
 
2804
2798
  const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2805
2799
  __proto__: null,
@@ -2938,7 +2932,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2938
2932
  }), 128))
2939
2933
  ]);
2940
2934
  }
2941
- const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-45d3fb0a"]]);
2935
+ const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-714af93c"]]);
2942
2936
 
2943
2937
  const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2944
2938
  __proto__: null,
@@ -5589,7 +5583,7 @@ Object.keys(files).forEach((fileName) => {
5589
5583
  }
5590
5584
  });
5591
5585
  const RichText = defineAsyncComponent({
5592
- loader: () => import('./index-33672dc8.mjs'),
5586
+ loader: () => import('./index-e7ab76ff.mjs'),
5593
5587
  loadingComponent: Loading
5594
5588
  });
5595
5589
  RichText.ControlType = "RichText";
@@ -5598,7 +5592,7 @@ RichText.icon = "icon-textEdit";
5598
5592
  RichText.formConfig = getFormConfig("RichText");
5599
5593
  utilFuns[RichText.ControlType] = RichText;
5600
5594
  const jsonEditor = defineAsyncComponent({
5601
- loader: () => import('./index-31213a51.mjs'),
5595
+ loader: () => import('./index-da008a01.mjs'),
5602
5596
  loadingComponent: Loading
5603
5597
  });
5604
5598
  jsonEditor.ControlType = "JsonEditor";
@@ -5608,14 +5602,14 @@ jsonEditor.formConfig = getFormConfig("JsonEditor", [{ fieldName: "default", com
5608
5602
  jsonEditor.rule = _.getJsonValidate();
5609
5603
  utilFuns[jsonEditor.ControlType] = jsonEditor;
5610
5604
  const formAction = defineAsyncComponent({
5611
- loader: () => import('./formAction-128c0254.mjs'),
5605
+ loader: () => import('./formAction-fda21a39.mjs'),
5612
5606
  loadingComponent: Loading
5613
5607
  });
5614
5608
  formAction.ControlType = "FormAction";
5615
5609
  formAction.isHide = true;
5616
5610
  utilFuns[formAction.ControlType] = formAction;
5617
5611
  const Rule = defineAsyncComponent({
5618
- loader: () => import('./index-931dd4ed.mjs'),
5612
+ loader: () => import('./index-d372b287.mjs'),
5619
5613
  loadingComponent: Loading
5620
5614
  });
5621
5615
  Rule.ControlType = "Rule";
@@ -5624,7 +5618,7 @@ utilFuns[Rule.ControlType] = Rule;
5624
5618
  const install = (app) => {
5625
5619
  app.config.globalProperties.$formcomponents = utilFuns;
5626
5620
  };
5627
- const Dynamicform = defineAsyncComponent(() => import('./starfish-form-12edcb0d.mjs'));
5621
+ const Dynamicform = defineAsyncComponent(() => import('./starfish-form-a5d43f95.mjs'));
5628
5622
  const main = {
5629
5623
  install
5630
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-0192f89c.mjs';
6
+ import { _ as _export_sfc } from './main-b7ba7952.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-0192f89c.mjs';
1
+ export { D as Dynamicform, m as default } from './main-b7ba7952.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';