starfish-form-custom 1.0.32 → 1.0.33
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.
- package/.pnpm-debug.log +829 -0
- package/components.d.ts +2 -0
- package/dist/{formAction-b8438d67.mjs → formAction-cfa5fd87.mjs} +2 -1
- package/dist/{index-79d4fa2d.mjs → index-89d6b690.mjs} +66 -36
- package/dist/{index-99d5ce16.mjs → index-b6de786a.mjs} +3 -2
- package/dist/{index-d956c92a.mjs → index-cdc52674.mjs} +2 -1
- package/dist/{main-a797684b.mjs → main-8dad66de.mjs} +323 -132
- package/dist/{starfish-form-627ee711.mjs → starfish-form-4c2ab774.mjs} +2 -1
- package/dist/starfish-form.mjs +2 -1
- package/dist/style.css +63 -2
- package/dist/types/form/src/common/formAction.vue.d.ts +1 -1
- package/dist/types/form/src/components/RichText/MenuBar.vue.d.ts +34 -0
- package/dist/types/form/src/components/RichText/MenuItem.vue.d.ts +41 -0
- package/package.json +51 -42
- package/src/components/RichText/MenuBar.vue +145 -0
- package/src/components/RichText/MenuItem.vue +74 -0
- package/src/components/RichText/index.vue +104 -44
- package/stats.html +1 -1
|
@@ -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$
|
|
1009
|
+
const _sfc_main$t = defineComponent({
|
|
1009
1010
|
ControlType: "KeyValueConfig",
|
|
1010
1011
|
// 必须与文件名匹配
|
|
1011
1012
|
nameCn: "\u952E\u503C\u5BF9\u5339\u914D",
|
|
@@ -1101,12 +1102,12 @@ const _sfc_main$r = defineComponent({
|
|
|
1101
1102
|
};
|
|
1102
1103
|
}
|
|
1103
1104
|
});
|
|
1104
|
-
const _hoisted_1$
|
|
1105
|
+
const _hoisted_1$t = {
|
|
1105
1106
|
key: 0,
|
|
1106
1107
|
class: "item_require"
|
|
1107
1108
|
};
|
|
1108
|
-
const _hoisted_2$
|
|
1109
|
-
const _hoisted_3$
|
|
1109
|
+
const _hoisted_2$m = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
1110
|
+
const _hoisted_3$h = { class: "keyValueSelect" };
|
|
1110
1111
|
const _hoisted_4$4 = { class: "keyValueInput" };
|
|
1111
1112
|
const _hoisted_5$2 = { class: "inputItem" };
|
|
1112
1113
|
const _hoisted_6$2 = /* @__PURE__ */ createElementVNode("span", null, "\u6587\u672C\uFF1A", -1);
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
1150
|
+
_hoisted_2$m
|
|
1150
1151
|
]),
|
|
1151
1152
|
_: 1
|
|
1152
1153
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -1160,7 +1161,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1160
1161
|
class: "starfish-keyValueItem",
|
|
1161
1162
|
key: index
|
|
1162
1163
|
}, [
|
|
1163
|
-
createElementVNode("div", _hoisted_3$
|
|
1164
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
1164
1165
|
createVNode(_component_el_checkbox, {
|
|
1165
1166
|
modelValue: items.select,
|
|
1166
1167
|
"onUpdate:modelValue": ($event) => items.select = $event,
|
|
@@ -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$
|
|
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$
|
|
1249
|
+
const _sfc_main$s = defineComponent({
|
|
1249
1250
|
ControlType: "KeyValueConfigMult",
|
|
1250
1251
|
// 必须与文件名匹配
|
|
1251
1252
|
nameCn: "\u591A\u9009\u952E\u503C\u5BF9\u5339\u914D",
|
|
@@ -1335,12 +1336,12 @@ const _sfc_main$q = defineComponent({
|
|
|
1335
1336
|
};
|
|
1336
1337
|
}
|
|
1337
1338
|
});
|
|
1338
|
-
const _hoisted_1$
|
|
1339
|
+
const _hoisted_1$s = {
|
|
1339
1340
|
key: 0,
|
|
1340
1341
|
class: "item_require"
|
|
1341
1342
|
};
|
|
1342
|
-
const _hoisted_2$
|
|
1343
|
-
const _hoisted_3$
|
|
1343
|
+
const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
1344
|
+
const _hoisted_3$g = { class: "keyValueSelect" };
|
|
1344
1345
|
const _hoisted_4$3 = { class: "keyValueInput" };
|
|
1345
1346
|
const _hoisted_5$1 = { class: "inputItem" };
|
|
1346
1347
|
const _hoisted_6$1 = /* @__PURE__ */ createElementVNode("span", null, "\u6587\u672C\uFF1A", -1);
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
1384
|
+
_hoisted_2$l
|
|
1384
1385
|
]),
|
|
1385
1386
|
_: 1
|
|
1386
1387
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -1394,7 +1395,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1394
1395
|
class: "starfish-keyValueItem",
|
|
1395
1396
|
key: index
|
|
1396
1397
|
}, [
|
|
1397
|
-
createElementVNode("div", _hoisted_3$
|
|
1398
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
1398
1399
|
createVNode(_component_el_checkbox, {
|
|
1399
1400
|
modelValue: items.select,
|
|
1400
1401
|
"onUpdate:modelValue": ($event) => items.select = $event,
|
|
@@ -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$
|
|
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$
|
|
1485
|
-
const _hoisted_1$
|
|
1485
|
+
const _sfc_main$r = {};
|
|
1486
|
+
const _hoisted_1$r = { class: "loading" };
|
|
1486
1487
|
|
|
1487
|
-
function _sfc_render$
|
|
1488
|
+
function _sfc_render$r(_ctx, _cache) {
|
|
1488
1489
|
const _directive_loading = ElLoadingDirective;
|
|
1489
1490
|
|
|
1490
|
-
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
1533
|
+
const _hoisted_1$q = {
|
|
1533
1534
|
key: 0,
|
|
1534
1535
|
class: "item_require"
|
|
1535
1536
|
};
|
|
1536
|
-
const _hoisted_2$
|
|
1537
|
-
const _hoisted_3$
|
|
1538
|
-
function _sfc_render$
|
|
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+ ");
|
|
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$
|
|
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$
|
|
1572
|
+
_hoisted_2$k
|
|
1572
1573
|
]),
|
|
1573
1574
|
_: 1
|
|
1574
1575
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -1691,7 +1692,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1691
1692
|
size: _ctx.size
|
|
1692
1693
|
}, {
|
|
1693
1694
|
default: withCtx(() => [
|
|
1694
|
-
_hoisted_3$
|
|
1695
|
+
_hoisted_3$f
|
|
1695
1696
|
]),
|
|
1696
1697
|
_: 1
|
|
1697
1698
|
}, 8, ["size"])
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
1743
|
-
function _sfc_render$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1842
|
-
const _hoisted_2$
|
|
1843
|
-
const _hoisted_3$
|
|
1844
|
-
function _sfc_render$
|
|
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");
|
|
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$
|
|
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$
|
|
1894
|
+
_hoisted_2$j
|
|
1894
1895
|
]),
|
|
1895
1896
|
_: 1
|
|
1896
1897
|
}, 8, ["span"]),
|
|
@@ -1945,7 +1946,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1945
1946
|
size: "default"
|
|
1946
1947
|
}, {
|
|
1947
1948
|
default: withCtx(() => [
|
|
1948
|
-
_hoisted_3$
|
|
1949
|
+
_hoisted_3$e
|
|
1949
1950
|
]),
|
|
1950
1951
|
_: 1
|
|
1951
1952
|
}, 8, ["onClick"])
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
1995
|
-
const _hoisted_2$
|
|
1995
|
+
const _hoisted_1$n = { class: "label" };
|
|
1996
|
+
const _hoisted_2$i = {
|
|
1996
1997
|
key: 0,
|
|
1997
1998
|
class: "item_require"
|
|
1998
1999
|
};
|
|
1999
|
-
const _hoisted_3$
|
|
2000
|
+
const _hoisted_3$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2000
2001
|
const _hoisted_4$2 = { class: "control" };
|
|
2001
|
-
function _sfc_render$
|
|
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$
|
|
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$
|
|
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",
|
|
@@ -2016,7 +2017,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2016
2017
|
placement: "top"
|
|
2017
2018
|
}, {
|
|
2018
2019
|
default: withCtx(() => [
|
|
2019
|
-
_hoisted_3$
|
|
2020
|
+
_hoisted_3$d
|
|
2020
2021
|
]),
|
|
2021
2022
|
_: 1
|
|
2022
2023
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2069
|
+
const _hoisted_1$m = {
|
|
2069
2070
|
key: 0,
|
|
2070
2071
|
class: "item_require"
|
|
2071
2072
|
};
|
|
2072
|
-
const _hoisted_2$
|
|
2073
|
-
const _hoisted_3$
|
|
2074
|
-
function _sfc_render$
|
|
2073
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2074
|
+
const _hoisted_3$c = { key: 0 };
|
|
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$
|
|
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$
|
|
2096
|
+
_hoisted_2$h
|
|
2096
2097
|
]),
|
|
2097
2098
|
_: 1
|
|
2098
2099
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2101,7 +2102,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2101
2102
|
class: "control",
|
|
2102
2103
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2103
2104
|
}, [
|
|
2104
|
-
!_ctx.drag && _ctx.data[_ctx.item.data.fieldName] && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
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, {
|
|
2105
2106
|
key: 1,
|
|
2106
2107
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2107
2108
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2178
|
+
const _hoisted_1$l = {
|
|
2178
2179
|
key: 0,
|
|
2179
2180
|
class: "item_require"
|
|
2180
2181
|
};
|
|
2181
|
-
const _hoisted_2$
|
|
2182
|
-
const _hoisted_3$
|
|
2182
|
+
const _hoisted_2$g = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1));
|
|
2183
|
+
const _hoisted_3$b = { key: 0 };
|
|
2183
2184
|
const _hoisted_4$1 = { key: 1 };
|
|
2184
|
-
function _sfc_render$
|
|
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$
|
|
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$
|
|
2206
|
+
_hoisted_2$g
|
|
2206
2207
|
]),
|
|
2207
2208
|
_: 1
|
|
2208
2209
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2211,7 +2212,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2211
2212
|
class: "control",
|
|
2212
2213
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2213
2214
|
}, [
|
|
2214
|
-
_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2215
|
+
_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
2215
2216
|
createVNode(_component_el_input, {
|
|
2216
2217
|
modelValue: _ctx.item.data.default,
|
|
2217
2218
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.item.data.default = $event),
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2316
|
+
const _hoisted_1$k = {
|
|
2316
2317
|
key: 0,
|
|
2317
2318
|
class: "item_require"
|
|
2318
2319
|
};
|
|
2319
|
-
const _hoisted_2$
|
|
2320
|
-
const _hoisted_3$
|
|
2321
|
-
function _sfc_render$
|
|
2320
|
+
const _hoisted_2$f = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2321
|
+
const _hoisted_3$a = { key: 1 };
|
|
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$
|
|
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$
|
|
2342
|
+
_hoisted_2$f
|
|
2342
2343
|
]),
|
|
2343
2344
|
_: 1
|
|
2344
2345
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2360,7 +2361,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2360
2361
|
disabled: _ctx.item.data.state === "disabled",
|
|
2361
2362
|
readonly: _ctx.item.data.state === "readonly"
|
|
2362
2363
|
}, null, 8, ["modelValue", "type", "format", "value-format", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
|
|
2363
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
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, {
|
|
2364
2365
|
key: 2,
|
|
2365
2366
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2366
2367
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2434
|
+
const _hoisted_1$j = {
|
|
2434
2435
|
key: 0,
|
|
2435
2436
|
class: "item_require"
|
|
2436
2437
|
};
|
|
2437
|
-
const _hoisted_2$
|
|
2438
|
-
const _hoisted_3$
|
|
2439
|
-
function _sfc_render$
|
|
2438
|
+
const _hoisted_2$e = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2439
|
+
const _hoisted_3$9 = { key: 1 };
|
|
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$
|
|
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$
|
|
2460
|
+
_hoisted_2$e
|
|
2460
2461
|
]),
|
|
2461
2462
|
_: 1
|
|
2462
2463
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2475,7 +2476,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2475
2476
|
disabled: _ctx.item.data.state === "disabled",
|
|
2476
2477
|
readonly: _ctx.item.data.state === "readonly"
|
|
2477
2478
|
}, null, 8, ["modelValue", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
|
|
2478
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
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, {
|
|
2479
2480
|
key: 2,
|
|
2480
2481
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2481
2482
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2543
|
+
const _hoisted_1$i = {
|
|
2543
2544
|
key: 0,
|
|
2544
2545
|
class: "item_require"
|
|
2545
2546
|
};
|
|
2546
|
-
const _hoisted_2$
|
|
2547
|
-
const _hoisted_3$
|
|
2548
|
-
function _sfc_render$
|
|
2547
|
+
const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2548
|
+
const _hoisted_3$8 = { key: 1 };
|
|
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$
|
|
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$
|
|
2573
|
+
_hoisted_2$d
|
|
2573
2574
|
]),
|
|
2574
2575
|
_: 1
|
|
2575
2576
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2588,7 +2589,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2588
2589
|
precision: _ctx.item.data.precision,
|
|
2589
2590
|
disabled: _ctx.item.data.state === "disabled" || _ctx.item.data.state === "readonly"
|
|
2590
2591
|
}, null, 8, ["modelValue", "controls-position", "size", "precision", "disabled"])) : createCommentVNode("", true),
|
|
2591
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
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, {
|
|
2592
2593
|
key: 2,
|
|
2593
2594
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2594
2595
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -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$
|
|
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$
|
|
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$
|
|
2632
|
+
const _hoisted_1$h = {
|
|
2632
2633
|
key: 0,
|
|
2633
2634
|
class: "item_require"
|
|
2634
2635
|
};
|
|
2635
|
-
const _hoisted_2$
|
|
2636
|
-
const _hoisted_3$
|
|
2637
|
-
function _sfc_render$
|
|
2636
|
+
const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
2637
|
+
const _hoisted_3$7 = { key: 0 };
|
|
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$
|
|
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$
|
|
2663
|
+
_hoisted_2$c
|
|
2663
2664
|
]),
|
|
2664
2665
|
_: 1
|
|
2665
2666
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
@@ -2668,7 +2669,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2668
2669
|
class: "control",
|
|
2669
2670
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2670
2671
|
}, [
|
|
2671
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
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, {
|
|
2672
2673
|
key: 1,
|
|
2673
2674
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2674
2675
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2719,13 +2720,203 @@ 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$
|
|
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() {
|
|
2753
|
+
return {
|
|
2754
|
+
remixiconUrl
|
|
2755
|
+
};
|
|
2756
|
+
}
|
|
2757
|
+
});
|
|
2758
|
+
const _hoisted_1$g = ["title"];
|
|
2759
|
+
const _hoisted_2$b = { class: "remix" };
|
|
2760
|
+
const _hoisted_3$6 = ["xlink:href"];
|
|
2761
|
+
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);
|
|
2773
|
+
}
|
|
2774
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-398f2226"]]);
|
|
2775
|
+
|
|
2776
|
+
const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2777
|
+
__proto__: null,
|
|
2778
|
+
default: __unplugin_components_0
|
|
2779
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2780
|
+
|
|
2781
|
+
/* unplugin-vue-components disabled */const MenuBar_vue_vue_type_style_index_0_scoped_true_lang = '';
|
|
2782
|
+
|
|
2783
|
+
const _sfc_main$f = defineComponent({
|
|
2784
|
+
name: "MenuBar",
|
|
2785
|
+
components: {
|
|
2786
|
+
MenuItem: __unplugin_components_0
|
|
2787
|
+
},
|
|
2788
|
+
props: {
|
|
2789
|
+
editor: {
|
|
2790
|
+
type: Object,
|
|
2791
|
+
required: true
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
setup(props) {
|
|
2795
|
+
const items = [
|
|
2796
|
+
{
|
|
2797
|
+
icon: "bold",
|
|
2798
|
+
title: "Bold",
|
|
2799
|
+
action: () => props.editor.chain().focus().toggleBold().run(),
|
|
2800
|
+
isActive: () => props.editor.isActive("bold")
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
icon: "italic",
|
|
2804
|
+
title: "Italic",
|
|
2805
|
+
action: () => props.editor.chain().focus().toggleItalic().run(),
|
|
2806
|
+
isActive: () => props.editor.isActive("italic")
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
icon: "strikethrough",
|
|
2810
|
+
title: "Strike",
|
|
2811
|
+
action: () => props.editor.chain().focus().toggleStrike().run(),
|
|
2812
|
+
isActive: () => props.editor.isActive("strike")
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
icon: "code-view",
|
|
2816
|
+
title: "Code",
|
|
2817
|
+
action: () => props.editor.chain().focus().toggleCode().run(),
|
|
2818
|
+
isActive: () => props.editor.isActive("code")
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
type: "divider"
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
icon: "h-1",
|
|
2825
|
+
title: "Heading 1",
|
|
2826
|
+
action: () => props.editor.chain().focus().toggleHeading({ level: 1 }).run(),
|
|
2827
|
+
isActive: () => props.editor.isActive("heading", { level: 1 })
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
icon: "h-2",
|
|
2831
|
+
title: "Heading 2",
|
|
2832
|
+
action: () => props.editor.chain().focus().toggleHeading({ level: 2 }).run(),
|
|
2833
|
+
isActive: () => props.editor.isActive("heading", { level: 2 })
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
icon: "paragraph",
|
|
2837
|
+
title: "Paragraph",
|
|
2838
|
+
action: () => props.editor.chain().focus().setParagraph().run(),
|
|
2839
|
+
isActive: () => props.editor.isActive("paragraph")
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
icon: "list-unordered",
|
|
2843
|
+
title: "Bullet list",
|
|
2844
|
+
action: () => props.editor.chain().focus().toggleBulletList().run(),
|
|
2845
|
+
isActive: () => props.editor.isActive("bulletList")
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
icon: "list-ordered",
|
|
2849
|
+
title: "Ordered list",
|
|
2850
|
+
action: () => props.editor.chain().focus().toggleOrderedList().run(),
|
|
2851
|
+
isActive: () => props.editor.isActive("orderedList")
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
icon: "code-box-line",
|
|
2855
|
+
title: "Code block",
|
|
2856
|
+
action: () => props.editor.chain().focus().toggleCodeBlock().run(),
|
|
2857
|
+
isActive: () => props.editor.isActive("codeBlock")
|
|
2858
|
+
},
|
|
2859
|
+
{
|
|
2860
|
+
type: "divider"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
icon: "double-quotes-l",
|
|
2864
|
+
title: "Blockquote",
|
|
2865
|
+
action: () => props.editor.chain().focus().toggleBlockquote().run(),
|
|
2866
|
+
isActive: () => props.editor.isActive("blockquote")
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
icon: "separator",
|
|
2870
|
+
title: "Horizontal rule",
|
|
2871
|
+
action: () => props.editor.chain().focus().setHorizontalRule().run()
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
type: "divider"
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
icon: "arrow-go-back-line",
|
|
2878
|
+
title: "Undo",
|
|
2879
|
+
action: () => props.editor.chain().focus().undo().run()
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
icon: "arrow-go-forward-line",
|
|
2883
|
+
title: "Redo",
|
|
2884
|
+
action: () => props.editor.chain().focus().redo().run()
|
|
2885
|
+
}
|
|
2886
|
+
];
|
|
2887
|
+
return {
|
|
2888
|
+
items
|
|
2889
|
+
};
|
|
2890
|
+
}
|
|
2891
|
+
});
|
|
2892
|
+
const _hoisted_1$f = { class: "editor__header" };
|
|
2893
|
+
const _hoisted_2$a = {
|
|
2894
|
+
key: 0,
|
|
2895
|
+
class: "divider"
|
|
2896
|
+
};
|
|
2897
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2898
|
+
const _component_MenuItem = __unplugin_components_0;
|
|
2899
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
2900
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
2901
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
2902
|
+
item.type === "divider" ? (openBlock(), createElementBlock("div", _hoisted_2$a)) : (openBlock(), createBlock(_component_MenuItem, {
|
|
2903
|
+
key: 1,
|
|
2904
|
+
icon: item.icon,
|
|
2905
|
+
title: item.title,
|
|
2906
|
+
action: item.action,
|
|
2907
|
+
"is-active": item.isActive
|
|
2908
|
+
}, null, 8, ["icon", "title", "action", "is-active"]))
|
|
2909
|
+
], 64);
|
|
2910
|
+
}), 128))
|
|
2911
|
+
]);
|
|
2912
|
+
}
|
|
2913
|
+
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-45d3fb0a"]]);
|
|
2914
|
+
|
|
2915
|
+
const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2916
|
+
__proto__: null,
|
|
2917
|
+
default: __unplugin_components_1
|
|
2918
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2919
|
+
|
|
2729
2920
|
const ruleJson = [
|
|
2730
2921
|
{
|
|
2731
2922
|
ControlType: "Radio",
|
|
@@ -3047,7 +3238,7 @@ const ruleJsonData = {
|
|
|
3047
3238
|
ruleJson: ruleJson
|
|
3048
3239
|
};
|
|
3049
3240
|
|
|
3050
|
-
const
|
|
3241
|
+
const __vite_glob_0_15 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3051
3242
|
__proto__: null,
|
|
3052
3243
|
default: ruleJsonData,
|
|
3053
3244
|
ruleJson
|
|
@@ -3144,7 +3335,7 @@ const ruleList = [
|
|
|
3144
3335
|
},
|
|
3145
3336
|
];
|
|
3146
3337
|
|
|
3147
|
-
const
|
|
3338
|
+
const __vite_glob_0_16 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3148
3339
|
__proto__: null,
|
|
3149
3340
|
default: ruleList
|
|
3150
3341
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3264,7 +3455,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3264
3455
|
}
|
|
3265
3456
|
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
|
|
3266
3457
|
|
|
3267
|
-
const
|
|
3458
|
+
const __vite_glob_0_17 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3268
3459
|
__proto__: null,
|
|
3269
3460
|
default: index$8
|
|
3270
3461
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3402,7 +3593,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3402
3593
|
}
|
|
3403
3594
|
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
|
|
3404
3595
|
|
|
3405
|
-
const
|
|
3596
|
+
const __vite_glob_0_18 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3406
3597
|
__proto__: null,
|
|
3407
3598
|
default: index$7
|
|
3408
3599
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3532,7 +3723,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3532
3723
|
}
|
|
3533
3724
|
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
|
|
3534
3725
|
|
|
3535
|
-
const
|
|
3726
|
+
const __vite_glob_0_19 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3536
3727
|
__proto__: null,
|
|
3537
3728
|
default: index$6
|
|
3538
3729
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3610,7 +3801,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3610
3801
|
}
|
|
3611
3802
|
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
|
|
3612
3803
|
|
|
3613
|
-
const
|
|
3804
|
+
const __vite_glob_0_20 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3614
3805
|
__proto__: null,
|
|
3615
3806
|
default: index$5
|
|
3616
3807
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3689,7 +3880,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3689
3880
|
}
|
|
3690
3881
|
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
|
|
3691
3882
|
|
|
3692
|
-
const
|
|
3883
|
+
const __vite_glob_0_21 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3693
3884
|
__proto__: null,
|
|
3694
3885
|
default: index$4
|
|
3695
3886
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3800,7 +3991,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3800
3991
|
}
|
|
3801
3992
|
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
|
|
3802
3993
|
|
|
3803
|
-
const
|
|
3994
|
+
const __vite_glob_0_22 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3804
3995
|
__proto__: null,
|
|
3805
3996
|
default: index$3
|
|
3806
3997
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3908,7 +4099,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3908
4099
|
}
|
|
3909
4100
|
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
|
|
3910
4101
|
|
|
3911
|
-
const
|
|
4102
|
+
const __vite_glob_0_23 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3912
4103
|
__proto__: null,
|
|
3913
4104
|
default: index$2
|
|
3914
4105
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3992,7 +4183,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3992
4183
|
}
|
|
3993
4184
|
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
|
|
3994
4185
|
|
|
3995
|
-
const
|
|
4186
|
+
const __vite_glob_0_24 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3996
4187
|
__proto__: null,
|
|
3997
4188
|
default: index$1
|
|
3998
4189
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4033,7 +4224,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4033
4224
|
}
|
|
4034
4225
|
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
4035
4226
|
|
|
4036
|
-
const
|
|
4227
|
+
const __vite_glob_0_25 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4037
4228
|
__proto__: null,
|
|
4038
4229
|
default: Divider
|
|
4039
4230
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4117,7 +4308,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4117
4308
|
}
|
|
4118
4309
|
const Info = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
4119
4310
|
|
|
4120
|
-
const
|
|
4311
|
+
const __vite_glob_0_26 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4121
4312
|
__proto__: null,
|
|
4122
4313
|
default: Info
|
|
4123
4314
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4259,7 +4450,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4259
4450
|
}
|
|
4260
4451
|
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
|
|
4261
4452
|
|
|
4262
|
-
const
|
|
4453
|
+
const __vite_glob_0_27 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4263
4454
|
__proto__: null,
|
|
4264
4455
|
default: Tabs
|
|
4265
4456
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4405,7 +4596,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4405
4596
|
}
|
|
4406
4597
|
const collapse = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
|
|
4407
4598
|
|
|
4408
|
-
const
|
|
4599
|
+
const __vite_glob_0_28 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4409
4600
|
__proto__: null,
|
|
4410
4601
|
default: collapse
|
|
4411
4602
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4575,7 +4766,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4575
4766
|
}
|
|
4576
4767
|
const grid = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
4577
4768
|
|
|
4578
|
-
const
|
|
4769
|
+
const __vite_glob_0_29 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4579
4770
|
__proto__: null,
|
|
4580
4771
|
default: grid
|
|
4581
4772
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4721,7 +4912,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4721
4912
|
}
|
|
4722
4913
|
const table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
4723
4914
|
|
|
4724
|
-
const
|
|
4915
|
+
const __vite_glob_0_30 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4725
4916
|
__proto__: null,
|
|
4726
4917
|
default: table
|
|
4727
4918
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -5362,7 +5553,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
5362
5553
|
const Loading = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__scopeId',"data-v-5c6e2e4a"]]);
|
|
5363
5554
|
|
|
5364
5555
|
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":
|
|
5556
|
+
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
5557
|
Object.keys(files).forEach((fileName) => {
|
|
5367
5558
|
const result = files[fileName].default;
|
|
5368
5559
|
if (fileName.indexOf(".vue") != -1) {
|
|
@@ -5370,7 +5561,7 @@ Object.keys(files).forEach((fileName) => {
|
|
|
5370
5561
|
}
|
|
5371
5562
|
});
|
|
5372
5563
|
const RichText = defineAsyncComponent({
|
|
5373
|
-
loader: () => import('./index-
|
|
5564
|
+
loader: () => import('./index-89d6b690.mjs'),
|
|
5374
5565
|
loadingComponent: Loading
|
|
5375
5566
|
});
|
|
5376
5567
|
RichText.ControlType = "RichText";
|
|
@@ -5379,7 +5570,7 @@ RichText.icon = "icon-textEdit";
|
|
|
5379
5570
|
RichText.formConfig = getFormConfig("RichText");
|
|
5380
5571
|
utilFuns[RichText.ControlType] = RichText;
|
|
5381
5572
|
const jsonEditor = defineAsyncComponent({
|
|
5382
|
-
loader: () => import('./index-
|
|
5573
|
+
loader: () => import('./index-cdc52674.mjs'),
|
|
5383
5574
|
loadingComponent: Loading
|
|
5384
5575
|
});
|
|
5385
5576
|
jsonEditor.ControlType = "JsonEditor";
|
|
@@ -5389,14 +5580,14 @@ jsonEditor.formConfig = getFormConfig("JsonEditor", [{ fieldName: "default", com
|
|
|
5389
5580
|
jsonEditor.rule = _.getJsonValidate();
|
|
5390
5581
|
utilFuns[jsonEditor.ControlType] = jsonEditor;
|
|
5391
5582
|
const formAction = defineAsyncComponent({
|
|
5392
|
-
loader: () => import('./formAction-
|
|
5583
|
+
loader: () => import('./formAction-cfa5fd87.mjs'),
|
|
5393
5584
|
loadingComponent: Loading
|
|
5394
5585
|
});
|
|
5395
5586
|
formAction.ControlType = "FormAction";
|
|
5396
5587
|
formAction.isHide = true;
|
|
5397
5588
|
utilFuns[formAction.ControlType] = formAction;
|
|
5398
5589
|
const Rule = defineAsyncComponent({
|
|
5399
|
-
loader: () => import('./index-
|
|
5590
|
+
loader: () => import('./index-b6de786a.mjs'),
|
|
5400
5591
|
loadingComponent: Loading
|
|
5401
5592
|
});
|
|
5402
5593
|
Rule.ControlType = "Rule";
|
|
@@ -5405,9 +5596,9 @@ utilFuns[Rule.ControlType] = Rule;
|
|
|
5405
5596
|
const install = (app) => {
|
|
5406
5597
|
app.config.globalProperties.$formcomponents = utilFuns;
|
|
5407
5598
|
};
|
|
5408
|
-
const Dynamicform = defineAsyncComponent(() => import('./starfish-form-
|
|
5599
|
+
const Dynamicform = defineAsyncComponent(() => import('./starfish-form-4c2ab774.mjs'));
|
|
5409
5600
|
const main = {
|
|
5410
5601
|
install
|
|
5411
5602
|
};
|
|
5412
5603
|
|
|
5413
|
-
export { Dynamicform as D, _export_sfc as _,
|
|
5604
|
+
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 };
|