@tmagic/editor 1.3.0-alpha.20 → 1.3.0-alpha.21
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.
|
@@ -2757,7 +2757,7 @@
|
|
|
2757
2757
|
};
|
|
2758
2758
|
|
|
2759
2759
|
const _hoisted_1$p = { class: "m-fields-code-select-col" };
|
|
2760
|
-
const _hoisted_2$
|
|
2760
|
+
const _hoisted_2$g = { class: "code-select-container" };
|
|
2761
2761
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
2762
2762
|
...{
|
|
2763
2763
|
name: "MEditorCodeSelectCol"
|
|
@@ -2825,7 +2825,7 @@
|
|
|
2825
2825
|
return (_ctx, _cache) => {
|
|
2826
2826
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
2827
2827
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
|
|
2828
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2828
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
2829
2829
|
vue.createVNode(_component_m_form_container, {
|
|
2830
2830
|
class: "select",
|
|
2831
2831
|
config: selectConfig,
|
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
});
|
|
2862
2862
|
|
|
2863
2863
|
const _hoisted_1$o = { class: "m-editor-data-source-fields" };
|
|
2864
|
-
const _hoisted_2$
|
|
2864
|
+
const _hoisted_2$f = { class: "m-editor-data-source-fields-footer" };
|
|
2865
2865
|
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
2866
2866
|
...{
|
|
2867
2867
|
name: "MEditorDataSourceFields"
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
data: _ctx.model[_ctx.name],
|
|
3017
3017
|
columns: fieldColumns
|
|
3018
3018
|
}, null, 8, ["data"]),
|
|
3019
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3019
|
+
vue.createElementVNode("div", _hoisted_2$f, [
|
|
3020
3020
|
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
3021
3021
|
size: "small",
|
|
3022
3022
|
type: "primary",
|
|
@@ -3094,7 +3094,7 @@
|
|
|
3094
3094
|
});
|
|
3095
3095
|
|
|
3096
3096
|
const _hoisted_1$n = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
|
|
3097
|
-
const _hoisted_2$
|
|
3097
|
+
const _hoisted_2$e = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
|
|
3098
3098
|
const _hoisted_3$5 = { class: "el-input__inner" };
|
|
3099
3099
|
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
3100
3100
|
...{
|
|
@@ -3289,7 +3289,7 @@
|
|
|
3289
3289
|
default: vue.withCtx(({ item }) => [
|
|
3290
3290
|
vue.createElementVNode("div", _hoisted_1$n, [
|
|
3291
3291
|
vue.createElementVNode("div", null, vue.toDisplayString(item.text), 1),
|
|
3292
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
3292
|
+
vue.createElementVNode("span", _hoisted_2$e, vue.toDisplayString(item.value), 1)
|
|
3293
3293
|
])
|
|
3294
3294
|
]),
|
|
3295
3295
|
_: 1
|
|
@@ -3403,7 +3403,7 @@
|
|
|
3403
3403
|
};
|
|
3404
3404
|
|
|
3405
3405
|
const _hoisted_1$m = { class: "m-editor-data-source-methods" };
|
|
3406
|
-
const _hoisted_2$
|
|
3406
|
+
const _hoisted_2$d = { class: "m-editor-data-source-methods-footer" };
|
|
3407
3407
|
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
3408
3408
|
...{
|
|
3409
3409
|
name: "MEditorDataSourceMethods"
|
|
@@ -3478,7 +3478,7 @@
|
|
|
3478
3478
|
data: _ctx.model[_ctx.name],
|
|
3479
3479
|
columns: methodColumns
|
|
3480
3480
|
}, null, 8, ["data"]),
|
|
3481
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3481
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
3482
3482
|
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
3483
3483
|
size: "small",
|
|
3484
3484
|
type: "primary",
|
|
@@ -3507,7 +3507,7 @@
|
|
|
3507
3507
|
});
|
|
3508
3508
|
|
|
3509
3509
|
const _hoisted_1$l = { class: "m-fields-data-source-method-select" };
|
|
3510
|
-
const _hoisted_2$
|
|
3510
|
+
const _hoisted_2$c = { class: "data-source-method-select-container" };
|
|
3511
3511
|
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
3512
3512
|
...{
|
|
3513
3513
|
name: "MEditorDataSourceMethodSelect"
|
|
@@ -3587,7 +3587,7 @@
|
|
|
3587
3587
|
return (_ctx, _cache) => {
|
|
3588
3588
|
const _component_m_form_container = vue.resolveComponent("m-form-container");
|
|
3589
3589
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
3590
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3590
|
+
vue.createElementVNode("div", _hoisted_2$c, [
|
|
3591
3591
|
vue.createVNode(_component_m_form_container, {
|
|
3592
3592
|
class: "select",
|
|
3593
3593
|
config: cascaderConfig,
|
|
@@ -3679,7 +3679,7 @@
|
|
|
3679
3679
|
});
|
|
3680
3680
|
|
|
3681
3681
|
const _hoisted_1$k = { class: "m-fields-event-select" };
|
|
3682
|
-
const _hoisted_2$
|
|
3682
|
+
const _hoisted_2$b = {
|
|
3683
3683
|
key: 1,
|
|
3684
3684
|
class: "fullWidth"
|
|
3685
3685
|
};
|
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
model: _ctx.model,
|
|
3884
3884
|
config: tableConfig.value,
|
|
3885
3885
|
onChange: onChangeHandler
|
|
3886
|
-
}, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
3886
|
+
}, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, [
|
|
3887
3887
|
vue.createVNode(vue.unref(design.TMagicButton), {
|
|
3888
3888
|
class: "create-button",
|
|
3889
3889
|
type: "primary",
|
|
@@ -3933,7 +3933,7 @@
|
|
|
3933
3933
|
});
|
|
3934
3934
|
|
|
3935
3935
|
const _hoisted_1$j = { class: "m-fields-key-value" };
|
|
3936
|
-
const _hoisted_2$
|
|
3936
|
+
const _hoisted_2$a = /* @__PURE__ */ vue.createElementVNode("span", { class: "m-fileds-key-value-delimiter" }, ":", -1);
|
|
3937
3937
|
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
3938
3938
|
...{
|
|
3939
3939
|
name: "MEditorKeyValue"
|
|
@@ -3993,7 +3993,7 @@
|
|
|
3993
3993
|
size: _ctx.size,
|
|
3994
3994
|
onChange: keyChangeHandler
|
|
3995
3995
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
|
|
3996
|
-
_hoisted_2$
|
|
3996
|
+
_hoisted_2$a,
|
|
3997
3997
|
vue.createVNode(vue.unref(design.TMagicInput), {
|
|
3998
3998
|
placeholder: "value",
|
|
3999
3999
|
modelValue: records.value[index][1],
|
|
@@ -4372,7 +4372,7 @@
|
|
|
4372
4372
|
});
|
|
4373
4373
|
|
|
4374
4374
|
const _hoisted_1$h = { class: "m-editor-empty-panel" };
|
|
4375
|
-
const _hoisted_2$
|
|
4375
|
+
const _hoisted_2$9 = { class: "m-editor-empty-content" };
|
|
4376
4376
|
const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("p", null, "新增页面", -1);
|
|
4377
4377
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
4378
4378
|
...{
|
|
@@ -4395,7 +4395,7 @@
|
|
|
4395
4395
|
};
|
|
4396
4396
|
return (_ctx, _cache) => {
|
|
4397
4397
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
4398
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
4398
|
+
vue.createElementVNode("div", _hoisted_2$9, [
|
|
4399
4399
|
vue.createElementVNode("div", {
|
|
4400
4400
|
class: "m-editor-empty-button",
|
|
4401
4401
|
onClick: clickHandler
|
|
@@ -4546,7 +4546,7 @@
|
|
|
4546
4546
|
key: 1,
|
|
4547
4547
|
class: "menu-item-text"
|
|
4548
4548
|
};
|
|
4549
|
-
const _hoisted_2$
|
|
4549
|
+
const _hoisted_2$8 = { class: "el-dropdown-link menubar-menu-button" };
|
|
4550
4550
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
4551
4551
|
...{
|
|
4552
4552
|
name: "MEditorToolButton"
|
|
@@ -4690,7 +4690,7 @@
|
|
|
4690
4690
|
})) : vue.createCommentVNode("", true)
|
|
4691
4691
|
]),
|
|
4692
4692
|
default: vue.withCtx(() => [
|
|
4693
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
4693
|
+
vue.createElementVNode("span", _hoisted_2$8, [
|
|
4694
4694
|
vue.createTextVNode(vue.toDisplayString(_ctx.data.text), 1),
|
|
4695
4695
|
vue.createVNode(vue.unref(design.TMagicIcon), { class: "el-icon--right" }, {
|
|
4696
4696
|
default: vue.withCtx(() => [
|
|
@@ -4991,7 +4991,7 @@
|
|
|
4991
4991
|
});
|
|
4992
4992
|
|
|
4993
4993
|
const _hoisted_1$e = { xmlns: "http://www.w3.org/2000/svg" };
|
|
4994
|
-
const _hoisted_2$
|
|
4994
|
+
const _hoisted_2$7 = /* @__PURE__ */ vue.createElementVNode("g", {
|
|
4995
4995
|
fill: "#7C878E",
|
|
4996
4996
|
"fill-rule": "evenodd"
|
|
4997
4997
|
}, [
|
|
@@ -5002,7 +5002,7 @@
|
|
|
5002
5002
|
/* @__PURE__ */ vue.createElementVNode("path", { d: "M8 13.5L2.3 9.2 0.7 10.5 8 16 15.3 10.5 13.7 9.2z" })
|
|
5003
5003
|
], -1);
|
|
5004
5004
|
const _hoisted_3$3 = [
|
|
5005
|
-
_hoisted_2$
|
|
5005
|
+
_hoisted_2$7
|
|
5006
5006
|
];
|
|
5007
5007
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
5008
5008
|
...{
|
|
@@ -5022,9 +5022,9 @@
|
|
|
5022
5022
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5023
5023
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
5024
5024
|
};
|
|
5025
|
-
const _hoisted_2$
|
|
5025
|
+
const _hoisted_2$6 = /* @__PURE__ */ vue.createStaticVNode('<defs><rect id="path-1" x="0" y="0" width="32" height="32"></rect></defs><g id="组件规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="03图标" transform="translate(-561.000000, -2356.000000)"><g id="icon/line/Universal/code" transform="translate(561.000000, 2356.000000)"><g id="路径"><mask id="mask-2" fill="white"><use xlink:href="#path-1"></use></mask><use id="蒙版" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use><path d="M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z" id="形状" fill="#1D1F24" mask="url(#mask-2)"></path></g></g><g id="icon切图" transform="translate(226.000000, 1782.000000)"></g></g></g>', 2);
|
|
5026
5026
|
const _hoisted_4$1 = [
|
|
5027
|
-
_hoisted_2$
|
|
5027
|
+
_hoisted_2$6
|
|
5028
5028
|
];
|
|
5029
5029
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
5030
5030
|
...{
|
|
@@ -5039,7 +5039,7 @@
|
|
|
5039
5039
|
});
|
|
5040
5040
|
|
|
5041
5041
|
const _hoisted_1$c = ["id"];
|
|
5042
|
-
const _hoisted_2$
|
|
5042
|
+
const _hoisted_2$5 = { class: "list-item" };
|
|
5043
5043
|
const _hoisted_3$2 = {
|
|
5044
5044
|
key: 2,
|
|
5045
5045
|
class: "right-tool"
|
|
@@ -5145,7 +5145,7 @@
|
|
|
5145
5145
|
id: data.id,
|
|
5146
5146
|
class: "list-container"
|
|
5147
5147
|
}, [
|
|
5148
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5148
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
5149
5149
|
data.type === "code" ? (vue.openBlock(), vue.createBlock(_sfc_main$l, {
|
|
5150
5150
|
key: 0,
|
|
5151
5151
|
class: "codeIcon"
|
|
@@ -5340,7 +5340,7 @@
|
|
|
5340
5340
|
});
|
|
5341
5341
|
|
|
5342
5342
|
const _hoisted_1$a = ["id"];
|
|
5343
|
-
const _hoisted_2$
|
|
5343
|
+
const _hoisted_2$4 = { class: "list-item" };
|
|
5344
5344
|
const _hoisted_3$1 = {
|
|
5345
5345
|
key: 2,
|
|
5346
5346
|
class: "right-tool"
|
|
@@ -5440,7 +5440,7 @@
|
|
|
5440
5440
|
id: data.id,
|
|
5441
5441
|
class: "list-container"
|
|
5442
5442
|
}, [
|
|
5443
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5443
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
5444
5444
|
data.type === "code" ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
5445
5445
|
key: 0,
|
|
5446
5446
|
class: "codeIcon",
|
|
@@ -5575,6 +5575,7 @@
|
|
|
5575
5575
|
});
|
|
5576
5576
|
|
|
5577
5577
|
const _hoisted_1$8 = ["onClick", "onDragstart"];
|
|
5578
|
+
const _hoisted_2$3 = ["title"];
|
|
5578
5579
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
5579
5580
|
...{
|
|
5580
5581
|
name: "MEditorComponentListPanel"
|
|
@@ -5678,18 +5679,12 @@
|
|
|
5678
5679
|
}, [
|
|
5679
5680
|
vue.renderSlot(_ctx.$slots, "component-list-item", { component: item }, () => [
|
|
5680
5681
|
vue.createVNode(_sfc_main$F, {
|
|
5682
|
+
title: item.text,
|
|
5681
5683
|
icon: item.icon
|
|
5682
|
-
}, null, 8, ["icon"]),
|
|
5683
|
-
vue.
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
content: item.text
|
|
5687
|
-
}, {
|
|
5688
|
-
default: vue.withCtx(() => [
|
|
5689
|
-
vue.createElementVNode("span", null, vue.toDisplayString(item.text), 1)
|
|
5690
|
-
]),
|
|
5691
|
-
_: 2
|
|
5692
|
-
}, 1032, ["content"])
|
|
5684
|
+
}, null, 8, ["title", "icon"]),
|
|
5685
|
+
vue.createElementVNode("span", {
|
|
5686
|
+
title: item.text
|
|
5687
|
+
}, vue.toDisplayString(item.text), 9, _hoisted_2$3)
|
|
5693
5688
|
])
|
|
5694
5689
|
], 40, _hoisted_1$8);
|
|
5695
5690
|
}), 128))
|