@tmagic/editor 1.7.0-beta.5 → 1.7.0
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/dist/style.css +12 -0
- package/dist/tmagic-editor.js +353 -286
- package/dist/tmagic-editor.umd.cjs +382 -314
- package/package.json +7 -7
- package/src/components/CodeBlockEditor.vue +1 -1
- package/src/fields/Code.vue +1 -0
- package/src/fields/DataSourceFields.vue +2 -2
- package/src/fields/DataSourceMocks.vue +1 -1
- package/src/fields/KeyValue.vue +4 -1
- package/src/index.ts +1 -0
- package/src/layouts/CodeEditor.vue +77 -5
- package/src/layouts/sidebar/data-source/DataSourceAddButton.vue +46 -0
- package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +8 -23
- package/src/layouts/sidebar/layer/LayerNodeTool.vue +8 -3
- package/src/theme/layer-panel.scss +16 -0
- package/src/utils/data-source/index.ts +2 -2
- package/types/index.d.ts +95 -76
|
@@ -4821,7 +4821,7 @@
|
|
|
4821
4821
|
}
|
|
4822
4822
|
|
|
4823
4823
|
const _hoisted_1$$ = ["src"];
|
|
4824
|
-
const _sfc_main$
|
|
4824
|
+
const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
|
|
4825
4825
|
...{
|
|
4826
4826
|
name: "MEditorIcon"
|
|
4827
4827
|
},
|
|
@@ -4889,7 +4889,7 @@
|
|
|
4889
4889
|
ref: "codeEditor",
|
|
4890
4890
|
class: "magic-code-editor-content"
|
|
4891
4891
|
};
|
|
4892
|
-
const _sfc_main$
|
|
4892
|
+
const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
|
|
4893
4893
|
...{
|
|
4894
4894
|
name: "MEditorCodeEditor"
|
|
4895
4895
|
},
|
|
@@ -4905,12 +4905,50 @@
|
|
|
4905
4905
|
height: {},
|
|
4906
4906
|
autoSave: { type: Boolean, default: true },
|
|
4907
4907
|
parse: { type: Boolean, default: false },
|
|
4908
|
-
disabledFullScreen: { type: Boolean, default: false }
|
|
4908
|
+
disabledFullScreen: { type: Boolean, default: false },
|
|
4909
|
+
autosize: {}
|
|
4909
4910
|
},
|
|
4910
4911
|
emits: ["initd", "save"],
|
|
4911
4912
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
4912
4913
|
const props = __props;
|
|
4913
4914
|
const emit = __emit;
|
|
4915
|
+
const autoHeight = vue.ref("");
|
|
4916
|
+
const computeHeight = vue.computed(() => {
|
|
4917
|
+
if (fullScreen.value) {
|
|
4918
|
+
return "100%";
|
|
4919
|
+
}
|
|
4920
|
+
if (props.height) {
|
|
4921
|
+
return props.height;
|
|
4922
|
+
}
|
|
4923
|
+
if (props.autosize) {
|
|
4924
|
+
return autoHeight.value;
|
|
4925
|
+
}
|
|
4926
|
+
return "100%";
|
|
4927
|
+
});
|
|
4928
|
+
const setAutoHeight = (v = "") => {
|
|
4929
|
+
let lines = Math.max(v.split("\n").length, props.autosize?.minRows || 1);
|
|
4930
|
+
if (v) {
|
|
4931
|
+
if (props.autosize?.maxRows) {
|
|
4932
|
+
lines = Math.min(lines, props.autosize.maxRows);
|
|
4933
|
+
}
|
|
4934
|
+
}
|
|
4935
|
+
let lineHeight = 20;
|
|
4936
|
+
if (vsEditor) {
|
|
4937
|
+
const editorOptions = vsEditor.getOptions();
|
|
4938
|
+
lineHeight = editorOptions.get(monaco__namespace.editor.EditorOption.lineHeight) || 20;
|
|
4939
|
+
}
|
|
4940
|
+
const newHeight = `${lines * lineHeight + 10}px`;
|
|
4941
|
+
if (autoHeight.value !== newHeight) {
|
|
4942
|
+
autoHeight.value = newHeight;
|
|
4943
|
+
vue.nextTick(() => {
|
|
4944
|
+
vsEditor?.layout();
|
|
4945
|
+
if (vsEditor) {
|
|
4946
|
+
vsEditor.setScrollTop(0);
|
|
4947
|
+
vsEditor.revealLine(1);
|
|
4948
|
+
}
|
|
4949
|
+
});
|
|
4950
|
+
}
|
|
4951
|
+
};
|
|
4914
4952
|
const toString = (v, language) => {
|
|
4915
4953
|
let value;
|
|
4916
4954
|
if (typeof v !== "string") {
|
|
@@ -4952,6 +4990,7 @@
|
|
|
4952
4990
|
);
|
|
4953
4991
|
const setEditorValue = (v, m) => {
|
|
4954
4992
|
values.value = toString(v, props.language.toLocaleLowerCase());
|
|
4993
|
+
setAutoHeight(values.value);
|
|
4955
4994
|
if (props.type === "diff") {
|
|
4956
4995
|
const originalModel = monaco__namespace.editor.createModel(values.value, "text/javascript");
|
|
4957
4996
|
const modifiedModel = monaco__namespace.editor.createModel(toString(m, props.language), "text/javascript");
|
|
@@ -4997,8 +5036,18 @@
|
|
|
4997
5036
|
};
|
|
4998
5037
|
if (props.type === "diff") {
|
|
4999
5038
|
vsDiffEditor = getEditorConfig("customCreateMonacoDiffEditor")(monaco__namespace, codeEditorEl.value, options);
|
|
5039
|
+
vsDiffEditor.getModifiedEditor().onDidChangeModelContent(() => {
|
|
5040
|
+
if (props.autosize) {
|
|
5041
|
+
setAutoHeight(getEditorValue());
|
|
5042
|
+
}
|
|
5043
|
+
});
|
|
5000
5044
|
} else {
|
|
5001
5045
|
vsEditor = getEditorConfig("customCreateMonacoEditor")(monaco__namespace, codeEditorEl.value, options);
|
|
5046
|
+
vsEditor.onDidChangeModelContent(() => {
|
|
5047
|
+
if (props.autosize) {
|
|
5048
|
+
setAutoHeight(getEditorValue());
|
|
5049
|
+
}
|
|
5050
|
+
});
|
|
5002
5051
|
}
|
|
5003
5052
|
setEditorValue(props.initValues, props.modifiedValues);
|
|
5004
5053
|
emit("initd", vsEditor);
|
|
@@ -5088,8 +5137,8 @@
|
|
|
5088
5137
|
vue.createElementVNode(
|
|
5089
5138
|
"div",
|
|
5090
5139
|
{
|
|
5091
|
-
class: vue.normalizeClass(
|
|
5092
|
-
style: vue.normalizeStyle(
|
|
5140
|
+
class: vue.normalizeClass({ "magic-code-editor-wrapper": true, "full-screen": fullScreen.value }),
|
|
5141
|
+
style: vue.normalizeStyle({ height: computeHeight.value })
|
|
5093
5142
|
},
|
|
5094
5143
|
[
|
|
5095
5144
|
!__props.disabledFullScreen ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
|
|
@@ -5100,7 +5149,7 @@
|
|
|
5100
5149
|
onClick: fullScreenHandler
|
|
5101
5150
|
}, {
|
|
5102
5151
|
default: vue.withCtx(() => [
|
|
5103
|
-
vue.createVNode(_sfc_main$
|
|
5152
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.FullScreen) }, null, 8, ["icon"])
|
|
5104
5153
|
]),
|
|
5105
5154
|
_: 1
|
|
5106
5155
|
/* STABLE */
|
|
@@ -5122,7 +5171,7 @@
|
|
|
5122
5171
|
}
|
|
5123
5172
|
});
|
|
5124
5173
|
|
|
5125
|
-
const _sfc_main$
|
|
5174
|
+
const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
5126
5175
|
...{
|
|
5127
5176
|
name: "MFieldsVsCode"
|
|
5128
5177
|
},
|
|
@@ -5146,7 +5195,7 @@
|
|
|
5146
5195
|
emit("change", v);
|
|
5147
5196
|
};
|
|
5148
5197
|
return (_ctx, _cache) => {
|
|
5149
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
5198
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1r, {
|
|
5150
5199
|
height: __props.config.height,
|
|
5151
5200
|
"init-values": __props.model[__props.name],
|
|
5152
5201
|
language: __props.config.language,
|
|
@@ -5154,14 +5203,15 @@
|
|
|
5154
5203
|
...__props.config.options,
|
|
5155
5204
|
readOnly: __props.disabled
|
|
5156
5205
|
},
|
|
5206
|
+
autosize: __props.config.autosize,
|
|
5157
5207
|
parse: __props.config.parse,
|
|
5158
5208
|
onSave: save
|
|
5159
|
-
}, null, 8, ["height", "init-values", "language", "options", "parse"]);
|
|
5209
|
+
}, null, 8, ["height", "init-values", "language", "options", "autosize", "parse"]);
|
|
5160
5210
|
};
|
|
5161
5211
|
}
|
|
5162
5212
|
});
|
|
5163
5213
|
|
|
5164
|
-
const _sfc_main$
|
|
5214
|
+
const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
5165
5215
|
...{
|
|
5166
5216
|
name: "MFieldsCodeLink"
|
|
5167
5217
|
},
|
|
@@ -5249,7 +5299,7 @@
|
|
|
5249
5299
|
return services;
|
|
5250
5300
|
};
|
|
5251
5301
|
|
|
5252
|
-
const _sfc_main$
|
|
5302
|
+
const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
5253
5303
|
...{
|
|
5254
5304
|
name: "MFieldsCodeSelect"
|
|
5255
5305
|
},
|
|
@@ -7602,7 +7652,7 @@
|
|
|
7602
7652
|
name: "beforeRequest",
|
|
7603
7653
|
type: "vs-code",
|
|
7604
7654
|
parse: true,
|
|
7605
|
-
|
|
7655
|
+
autosize: { minRows: 10, maxRows: 30 }
|
|
7606
7656
|
}
|
|
7607
7657
|
]
|
|
7608
7658
|
},
|
|
@@ -7614,7 +7664,7 @@
|
|
|
7614
7664
|
name: "afterResponse",
|
|
7615
7665
|
type: "vs-code",
|
|
7616
7666
|
parse: true,
|
|
7617
|
-
|
|
7667
|
+
autosize: { minRows: 10, maxRows: 30 }
|
|
7618
7668
|
}
|
|
7619
7669
|
]
|
|
7620
7670
|
}
|
|
@@ -7999,7 +8049,7 @@
|
|
|
7999
8049
|
const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
|
|
8000
8050
|
const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
|
|
8001
8051
|
|
|
8002
|
-
const _sfc_main$
|
|
8052
|
+
const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
8003
8053
|
...{
|
|
8004
8054
|
name: "MEditorCodeParams"
|
|
8005
8055
|
},
|
|
@@ -8060,7 +8110,7 @@
|
|
|
8060
8110
|
|
|
8061
8111
|
const _hoisted_1$Z = { class: "m-fields-code-select-col" };
|
|
8062
8112
|
const _hoisted_2$n = { class: "code-select-container" };
|
|
8063
|
-
const _sfc_main$
|
|
8113
|
+
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
8064
8114
|
...{
|
|
8065
8115
|
name: "MFieldsCodeSelectCol"
|
|
8066
8116
|
},
|
|
@@ -8169,7 +8219,7 @@
|
|
|
8169
8219
|
onClick: _cache[0] || (_cache[0] = ($event) => editCode(__props.model[__props.name]))
|
|
8170
8220
|
}, {
|
|
8171
8221
|
default: vue.withCtx(() => [
|
|
8172
|
-
vue.createVNode(_sfc_main$
|
|
8222
|
+
vue.createVNode(_sfc_main$1s, {
|
|
8173
8223
|
icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
|
|
8174
8224
|
}, null, 8, ["icon"])
|
|
8175
8225
|
]),
|
|
@@ -8178,7 +8228,7 @@
|
|
|
8178
8228
|
}, 8, ["size"])) : vue.createCommentVNode("v-if", true)
|
|
8179
8229
|
]),
|
|
8180
8230
|
vue.createCommentVNode(" 参数填写框 "),
|
|
8181
|
-
paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8231
|
+
paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
|
|
8182
8232
|
name: "params",
|
|
8183
8233
|
key: __props.model[__props.name],
|
|
8184
8234
|
model: __props.model,
|
|
@@ -8192,7 +8242,7 @@
|
|
|
8192
8242
|
}
|
|
8193
8243
|
});
|
|
8194
8244
|
|
|
8195
|
-
const _sfc_main$
|
|
8245
|
+
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
8196
8246
|
...{
|
|
8197
8247
|
name: "MFieldsCondOpSelect"
|
|
8198
8248
|
},
|
|
@@ -8295,7 +8345,7 @@
|
|
|
8295
8345
|
ref: "title",
|
|
8296
8346
|
class: "m-editor-float-box-title"
|
|
8297
8347
|
};
|
|
8298
|
-
const _sfc_main$
|
|
8348
|
+
const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
8299
8349
|
__name: "FloatingBox",
|
|
8300
8350
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
8301
8351
|
position: { default: () => ({ left: 0, top: 0 }) },
|
|
@@ -8457,7 +8507,7 @@
|
|
|
8457
8507
|
onClick: closeHandler
|
|
8458
8508
|
}, {
|
|
8459
8509
|
default: vue.withCtx(() => [
|
|
8460
|
-
vue.createVNode(_sfc_main$
|
|
8510
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
|
|
8461
8511
|
]),
|
|
8462
8512
|
_: 1
|
|
8463
8513
|
/* STABLE */
|
|
@@ -8990,7 +9040,7 @@
|
|
|
8990
9040
|
|
|
8991
9041
|
const _hoisted_1$X = { class: "m-editor-data-source-fields" };
|
|
8992
9042
|
const _hoisted_2$m = { class: "m-editor-data-source-fields-footer" };
|
|
8993
|
-
const _sfc_main$
|
|
9043
|
+
const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
8994
9044
|
...{
|
|
8995
9045
|
name: "MFieldsDataSourceFields"
|
|
8996
9046
|
},
|
|
@@ -9164,7 +9214,6 @@
|
|
|
9164
9214
|
{
|
|
9165
9215
|
name: "defaultValue",
|
|
9166
9216
|
text: "默认值",
|
|
9167
|
-
height: "200px",
|
|
9168
9217
|
parse: true,
|
|
9169
9218
|
type: (mForm, { model }) => {
|
|
9170
9219
|
if (model.type === "number") return "number";
|
|
@@ -9172,6 +9221,7 @@
|
|
|
9172
9221
|
if (model.type === "string") return "text";
|
|
9173
9222
|
return "vs-code";
|
|
9174
9223
|
},
|
|
9224
|
+
autosize: { minRows: 1, maxRows: 30 },
|
|
9175
9225
|
options: [
|
|
9176
9226
|
{ text: "true", value: true },
|
|
9177
9227
|
{ text: "false", value: false }
|
|
@@ -9196,7 +9246,7 @@
|
|
|
9196
9246
|
type: "vs-code",
|
|
9197
9247
|
labelWidth: "0",
|
|
9198
9248
|
language: "json",
|
|
9199
|
-
|
|
9249
|
+
autosize: { minRows: 30, maxRows: 50 },
|
|
9200
9250
|
options: vue.inject("codeOptions", {})
|
|
9201
9251
|
}
|
|
9202
9252
|
];
|
|
@@ -9297,7 +9347,7 @@
|
|
|
9297
9347
|
/* STABLE */
|
|
9298
9348
|
}, 8, ["disabled"])
|
|
9299
9349
|
]),
|
|
9300
|
-
vue.createVNode(_sfc_main$
|
|
9350
|
+
vue.createVNode(_sfc_main$1k, {
|
|
9301
9351
|
visible: addDialogVisible.value,
|
|
9302
9352
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => addDialogVisible.value = $event),
|
|
9303
9353
|
width: width.value,
|
|
@@ -9321,7 +9371,7 @@
|
|
|
9321
9371
|
_: 1
|
|
9322
9372
|
/* STABLE */
|
|
9323
9373
|
}, 8, ["visible", "width", "height", "title", "position"]),
|
|
9324
|
-
vue.createVNode(_sfc_main$
|
|
9374
|
+
vue.createVNode(_sfc_main$1k, {
|
|
9325
9375
|
visible: addFromJsonDialogVisible.value,
|
|
9326
9376
|
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => addFromJsonDialogVisible.value = $event),
|
|
9327
9377
|
width: width.value,
|
|
@@ -9348,7 +9398,7 @@
|
|
|
9348
9398
|
});
|
|
9349
9399
|
|
|
9350
9400
|
const _hoisted_1$W = { class: "m-editor-data-source-field-select" };
|
|
9351
|
-
const _sfc_main$
|
|
9401
|
+
const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
9352
9402
|
__name: "FieldSelect",
|
|
9353
9403
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9354
9404
|
value: {},
|
|
@@ -9516,7 +9566,7 @@
|
|
|
9516
9566
|
onClick: _cache[0] || (_cache[0] = ($event) => editHandler(selectDataSourceId.value))
|
|
9517
9567
|
}, {
|
|
9518
9568
|
default: vue.withCtx(() => [
|
|
9519
|
-
vue.createVNode(_sfc_main$
|
|
9569
|
+
vue.createVNode(_sfc_main$1s, {
|
|
9520
9570
|
icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
|
|
9521
9571
|
}, null, 8, ["icon"])
|
|
9522
9572
|
]),
|
|
@@ -9533,7 +9583,7 @@
|
|
|
9533
9583
|
});
|
|
9534
9584
|
|
|
9535
9585
|
const _hoisted_1$V = { class: "m-fields-data-source-field-select" };
|
|
9536
|
-
const _sfc_main$
|
|
9586
|
+
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
9537
9587
|
...{
|
|
9538
9588
|
name: "MFieldsDataSourceFieldSelect"
|
|
9539
9589
|
},
|
|
@@ -9637,7 +9687,7 @@
|
|
|
9637
9687
|
};
|
|
9638
9688
|
return (_ctx, _cache) => {
|
|
9639
9689
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
9640
|
-
!disabledDataSource.value && (showDataSourceFieldSelect.value || !__props.config.fieldConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9690
|
+
!disabledDataSource.value && (showDataSourceFieldSelect.value || !__props.config.fieldConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$1i, {
|
|
9641
9691
|
key: 0,
|
|
9642
9692
|
"model-value": __props.model[__props.name],
|
|
9643
9693
|
disabled: __props.disabled,
|
|
@@ -9671,7 +9721,7 @@
|
|
|
9671
9721
|
onClick: _cache[0] || (_cache[0] = ($event) => showDataSourceFieldSelect.value = !showDataSourceFieldSelect.value)
|
|
9672
9722
|
}, {
|
|
9673
9723
|
default: vue.withCtx(() => [
|
|
9674
|
-
vue.createVNode(_sfc_main$
|
|
9724
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
|
|
9675
9725
|
]),
|
|
9676
9726
|
_: 1
|
|
9677
9727
|
/* STABLE */
|
|
@@ -9687,7 +9737,7 @@
|
|
|
9687
9737
|
|
|
9688
9738
|
const _hoisted_1$U = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
|
|
9689
9739
|
const _hoisted_2$l = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
|
|
9690
|
-
const _sfc_main$
|
|
9740
|
+
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
9691
9741
|
...{
|
|
9692
9742
|
name: "MFieldsDataSourceInput"
|
|
9693
9743
|
},
|
|
@@ -9897,7 +9947,7 @@
|
|
|
9897
9947
|
}
|
|
9898
9948
|
), {
|
|
9899
9949
|
suffix: vue.withCtx(() => [
|
|
9900
|
-
vue.createVNode(_sfc_main$
|
|
9950
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
|
|
9901
9951
|
]),
|
|
9902
9952
|
default: vue.withCtx(({ item }) => [
|
|
9903
9953
|
vue.createElementVNode("div", _hoisted_1$U, [
|
|
@@ -9992,7 +10042,7 @@
|
|
|
9992
10042
|
256
|
|
9993
10043
|
/* UNKEYED_FRAGMENT */
|
|
9994
10044
|
)),
|
|
9995
|
-
vue.createVNode(_sfc_main$
|
|
10045
|
+
vue.createVNode(_sfc_main$1s, {
|
|
9996
10046
|
class: "tmagic-data-source-input-icon",
|
|
9997
10047
|
icon: vue.unref(iconsVue.Coin)
|
|
9998
10048
|
}, null, 8, ["icon"])
|
|
@@ -10016,7 +10066,7 @@
|
|
|
10016
10066
|
const _hoisted_2$k = { style: { "flex": "1" } };
|
|
10017
10067
|
const _hoisted_3$7 = { style: { "flex": "1" } };
|
|
10018
10068
|
const _hoisted_4$5 = { class: "dialog-footer" };
|
|
10019
|
-
const _sfc_main$
|
|
10069
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
10020
10070
|
...{
|
|
10021
10071
|
name: "MEditorCodeBlockEditor"
|
|
10022
10072
|
},
|
|
@@ -10132,7 +10182,7 @@
|
|
|
10132
10182
|
name: "content",
|
|
10133
10183
|
type: "vs-code",
|
|
10134
10184
|
options: vue.inject("codeOptions", {}),
|
|
10135
|
-
|
|
10185
|
+
autosize: { minRows: 10, maxRows: 30 },
|
|
10136
10186
|
onChange: (formState, code) => {
|
|
10137
10187
|
try {
|
|
10138
10188
|
getEditorConfig("parseDSL")(code);
|
|
@@ -10202,7 +10252,7 @@
|
|
|
10202
10252
|
null,
|
|
10203
10253
|
[
|
|
10204
10254
|
vue.createCommentVNode(" 代码块编辑区 "),
|
|
10205
|
-
vue.createVNode(_sfc_main$
|
|
10255
|
+
vue.createVNode(_sfc_main$1k, {
|
|
10206
10256
|
visible: boxVisible.value,
|
|
10207
10257
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => boxVisible.value = $event),
|
|
10208
10258
|
width: width.value,
|
|
@@ -10331,7 +10381,7 @@
|
|
|
10331
10381
|
})
|
|
10332
10382
|
])
|
|
10333
10383
|
]),
|
|
10334
|
-
vue.createVNode(_sfc_main$
|
|
10384
|
+
vue.createVNode(_sfc_main$1r, {
|
|
10335
10385
|
ref: "magicVsEditor",
|
|
10336
10386
|
type: "diff",
|
|
10337
10387
|
language: "json",
|
|
@@ -10355,7 +10405,7 @@
|
|
|
10355
10405
|
|
|
10356
10406
|
const _hoisted_1$S = { class: "m-editor-data-source-methods" };
|
|
10357
10407
|
const _hoisted_2$j = { class: "m-editor-data-source-methods-footer" };
|
|
10358
|
-
const _sfc_main$
|
|
10408
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
10359
10409
|
...{
|
|
10360
10410
|
name: "MFieldsDataSourceMethods"
|
|
10361
10411
|
},
|
|
@@ -10498,7 +10548,7 @@
|
|
|
10498
10548
|
/* STABLE */
|
|
10499
10549
|
}, 8, ["disabled"])
|
|
10500
10550
|
]),
|
|
10501
|
-
codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
10551
|
+
codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1f, {
|
|
10502
10552
|
key: 0,
|
|
10503
10553
|
ref: "codeBlockEditor",
|
|
10504
10554
|
disabled: __props.disabled,
|
|
@@ -10514,7 +10564,7 @@
|
|
|
10514
10564
|
|
|
10515
10565
|
const _hoisted_1$R = { class: "m-fields-data-source-method-select" };
|
|
10516
10566
|
const _hoisted_2$i = { class: "data-source-method-select-container" };
|
|
10517
|
-
const _sfc_main$
|
|
10567
|
+
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
10518
10568
|
...{
|
|
10519
10569
|
name: "MFieldsDataSourceMethodSelect"
|
|
10520
10570
|
},
|
|
@@ -10627,7 +10677,7 @@
|
|
|
10627
10677
|
onClick: editCodeHandler
|
|
10628
10678
|
}, {
|
|
10629
10679
|
default: vue.withCtx(() => [
|
|
10630
|
-
vue.createVNode(_sfc_main$
|
|
10680
|
+
vue.createVNode(_sfc_main$1s, {
|
|
10631
10681
|
icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
|
|
10632
10682
|
}, null, 8, ["icon"])
|
|
10633
10683
|
]),
|
|
@@ -10639,7 +10689,7 @@
|
|
|
10639
10689
|
/* STABLE */
|
|
10640
10690
|
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
10641
10691
|
]),
|
|
10642
|
-
paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
10692
|
+
paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
|
|
10643
10693
|
name: "params",
|
|
10644
10694
|
key: __props.model[__props.name],
|
|
10645
10695
|
model: __props.model,
|
|
@@ -10655,7 +10705,7 @@
|
|
|
10655
10705
|
|
|
10656
10706
|
const _hoisted_1$Q = { class: "m-editor-data-source-fields" };
|
|
10657
10707
|
const _hoisted_2$h = { class: "m-editor-data-source-fields-footer" };
|
|
10658
|
-
const _sfc_main$
|
|
10708
|
+
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
10659
10709
|
...{
|
|
10660
10710
|
name: "MFieldsDataSourceMocks"
|
|
10661
10711
|
},
|
|
@@ -10722,7 +10772,7 @@
|
|
|
10722
10772
|
language: "json",
|
|
10723
10773
|
options: vue.inject("codeOptions", {}),
|
|
10724
10774
|
defaultValue: "{}",
|
|
10725
|
-
|
|
10775
|
+
autosize: { minRows: 30, maxRows: 50 },
|
|
10726
10776
|
onChange: (formState, v) => {
|
|
10727
10777
|
if (typeof v !== "string") return v;
|
|
10728
10778
|
return JSON.parse(v);
|
|
@@ -10745,7 +10795,7 @@
|
|
|
10745
10795
|
const columns = [
|
|
10746
10796
|
{
|
|
10747
10797
|
type: "expand",
|
|
10748
|
-
component: _sfc_main$
|
|
10798
|
+
component: _sfc_main$1r,
|
|
10749
10799
|
props: (row) => ({
|
|
10750
10800
|
initValues: row.data,
|
|
10751
10801
|
language: "json",
|
|
@@ -10884,7 +10934,7 @@
|
|
|
10884
10934
|
/* STABLE */
|
|
10885
10935
|
}, 8, ["disabled"])
|
|
10886
10936
|
]),
|
|
10887
|
-
vue.createVNode(_sfc_main$
|
|
10937
|
+
vue.createVNode(_sfc_main$1k, {
|
|
10888
10938
|
visible: addDialogVisible.value,
|
|
10889
10939
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => addDialogVisible.value = $event),
|
|
10890
10940
|
width: width.value,
|
|
@@ -10913,7 +10963,7 @@
|
|
|
10913
10963
|
});
|
|
10914
10964
|
|
|
10915
10965
|
const _hoisted_1$P = { class: "m-fields-data-source-select" };
|
|
10916
|
-
const _sfc_main$
|
|
10966
|
+
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
10917
10967
|
...{
|
|
10918
10968
|
name: "MFieldsDataSourceSelect"
|
|
10919
10969
|
},
|
|
@@ -10993,7 +11043,7 @@
|
|
|
10993
11043
|
onClick: editHandler
|
|
10994
11044
|
}, {
|
|
10995
11045
|
default: vue.withCtx(() => [
|
|
10996
|
-
vue.createVNode(_sfc_main$
|
|
11046
|
+
vue.createVNode(_sfc_main$1s, {
|
|
10997
11047
|
icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
|
|
10998
11048
|
}, null, 8, ["icon"])
|
|
10999
11049
|
]),
|
|
@@ -11009,7 +11059,7 @@
|
|
|
11009
11059
|
}
|
|
11010
11060
|
});
|
|
11011
11061
|
|
|
11012
|
-
const _sfc_main$
|
|
11062
|
+
const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
11013
11063
|
...{
|
|
11014
11064
|
name: "m-fields-display-conds"
|
|
11015
11065
|
},
|
|
@@ -11147,7 +11197,7 @@
|
|
|
11147
11197
|
key: 1,
|
|
11148
11198
|
class: "fullWidth"
|
|
11149
11199
|
};
|
|
11150
|
-
const _sfc_main$
|
|
11200
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
11151
11201
|
...{
|
|
11152
11202
|
name: "MFieldsEventSelect"
|
|
11153
11203
|
},
|
|
@@ -11503,7 +11553,7 @@
|
|
|
11503
11553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11504
11554
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
11505
11555
|
};
|
|
11506
|
-
const _sfc_main$
|
|
11556
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
11507
11557
|
...{
|
|
11508
11558
|
name: "MEditorCodeIcon"
|
|
11509
11559
|
},
|
|
@@ -11519,7 +11569,7 @@
|
|
|
11519
11569
|
|
|
11520
11570
|
const _hoisted_1$M = { class: "m-fields-key-value" };
|
|
11521
11571
|
const _hoisted_2$f = { key: 0 };
|
|
11522
|
-
const _sfc_main$
|
|
11572
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
11523
11573
|
...{
|
|
11524
11574
|
name: "MFieldsKeyValue"
|
|
11525
11575
|
},
|
|
@@ -11649,14 +11699,17 @@
|
|
|
11649
11699
|
/* STABLE */
|
|
11650
11700
|
}, 8, ["size", "disabled", "icon"])
|
|
11651
11701
|
])) : vue.createCommentVNode("v-if", true),
|
|
11652
|
-
__props.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
11702
|
+
__props.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
|
|
11653
11703
|
key: 1,
|
|
11654
|
-
height: "200px",
|
|
11655
11704
|
"init-values": __props.model[__props.name],
|
|
11656
11705
|
language: "javascript",
|
|
11657
11706
|
options: {
|
|
11658
11707
|
readOnly: __props.disabled
|
|
11659
11708
|
},
|
|
11709
|
+
autosize: {
|
|
11710
|
+
minRows: 1,
|
|
11711
|
+
maxRows: 20
|
|
11712
|
+
},
|
|
11660
11713
|
parse: true,
|
|
11661
11714
|
onSave: save
|
|
11662
11715
|
}, null, 8, ["init-values", "options"])) : vue.createCommentVNode("v-if", true),
|
|
@@ -11665,7 +11718,7 @@
|
|
|
11665
11718
|
size: "default",
|
|
11666
11719
|
disabled: __props.disabled,
|
|
11667
11720
|
link: "",
|
|
11668
|
-
icon: _sfc_main$
|
|
11721
|
+
icon: _sfc_main$18,
|
|
11669
11722
|
onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
|
|
11670
11723
|
}, null, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
|
|
11671
11724
|
]);
|
|
@@ -11675,7 +11728,7 @@
|
|
|
11675
11728
|
|
|
11676
11729
|
const _hoisted_1$L = { class: "m-fields-page-fragment-select" };
|
|
11677
11730
|
const _hoisted_2$e = { class: "page-fragment-select-container" };
|
|
11678
|
-
const _sfc_main$
|
|
11731
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
11679
11732
|
...{
|
|
11680
11733
|
name: "MFieldsPageFragmentSelect"
|
|
11681
11734
|
},
|
|
@@ -11733,7 +11786,7 @@
|
|
|
11733
11786
|
onChange: changeHandler
|
|
11734
11787
|
}, null, 8, ["model", "name", "size", "prop", "disabled"]),
|
|
11735
11788
|
vue.createCommentVNode(" 编辑按钮 "),
|
|
11736
|
-
__props.model[__props.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
11789
|
+
__props.model[__props.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
|
|
11737
11790
|
key: 0,
|
|
11738
11791
|
class: "icon",
|
|
11739
11792
|
icon: vue.unref(iconsVue.Edit),
|
|
@@ -11748,7 +11801,7 @@
|
|
|
11748
11801
|
const _hoisted_1$K = { class: "background-position-container" };
|
|
11749
11802
|
const _hoisted_2$d = { class: "presets-value-list" };
|
|
11750
11803
|
const _hoisted_3$6 = { class: "custom-value" };
|
|
11751
|
-
const _sfc_main$
|
|
11804
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
11752
11805
|
__name: "BackgroundPosition",
|
|
11753
11806
|
props: {
|
|
11754
11807
|
config: {},
|
|
@@ -11860,7 +11913,7 @@
|
|
|
11860
11913
|
return target;
|
|
11861
11914
|
};
|
|
11862
11915
|
|
|
11863
|
-
const _sfc_main$
|
|
11916
|
+
const _sfc_main$14 = { };
|
|
11864
11917
|
|
|
11865
11918
|
const _hoisted_1$J = {
|
|
11866
11919
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11872,9 +11925,9 @@
|
|
|
11872
11925
|
vue.createStaticVNode("<path d=\"M884.736 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C696.32 311.296 712.704 327.68 733.184 327.68l147.456 0c20.48 0 36.864-16.384 36.864-36.864L917.504 139.264C921.6 118.784 905.216 102.4 884.736 102.4zM884.736 290.816l-147.456 0L737.28 139.264l147.456 0L884.736 290.816z\"></path><path d=\"M884.736 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 712.704 905.216 696.32 884.736 696.32zM884.736 884.736l-147.456 0 0-147.456 147.456 0L884.736 884.736z\"></path><path d=\"M884.736 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 417.792 905.216 401.408 884.736 401.408zM884.736 585.728l-147.456 0 0-147.456 147.456 0L884.736 585.728z\"></path><path d=\"M585.728 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 417.792 606.208 401.408 585.728 401.408zM585.728 585.728l-147.456 0 0-147.456 147.456 0L585.728 585.728z\"></path><path d=\"M585.728 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864L622.592 139.264C622.592 118.784 606.208 102.4 585.728 102.4zM585.728 290.816l-147.456 0L438.272 139.264l147.456 0L585.728 290.816z\"></path><path d=\"M585.728 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 712.704 606.208 696.32 585.728 696.32zM585.728 884.736l-147.456 0 0-147.456 147.456 0L585.728 884.736z\"></path><path d=\"M290.816 696.32 139.264 696.32c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 712.704 311.296 696.32 290.816 696.32zM290.816 884.736 139.264 884.736l0-147.456 147.456 0L286.72 884.736z\"></path><path d=\"M290.816 401.408 139.264 401.408c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 417.792 311.296 401.408 290.816 401.408zM290.816 585.728 139.264 585.728l0-147.456 147.456 0L286.72 585.728z\"></path><path d=\"M290.816 102.4 139.264 102.4c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C102.4 311.296 118.784 327.68 139.264 327.68l147.456 0C311.296 327.68 327.68 311.296 327.68 290.816L327.68 139.264C327.68 118.784 311.296 102.4 290.816 102.4zM290.816 290.816 139.264 290.816 139.264 139.264l147.456 0L286.72 290.816z\"></path>", 9)
|
|
11873
11926
|
]))]))
|
|
11874
11927
|
}
|
|
11875
|
-
const BackgroundRepeat = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
11928
|
+
const BackgroundRepeat = /*#__PURE__*/_export_sfc(_sfc_main$14, [['render',_sfc_render$k]]);
|
|
11876
11929
|
|
|
11877
|
-
const _sfc_main$
|
|
11930
|
+
const _sfc_main$13 = { };
|
|
11878
11931
|
|
|
11879
11932
|
const _hoisted_1$I = {
|
|
11880
11933
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11889,9 +11942,9 @@
|
|
|
11889
11942
|
}, null, -1 /* CACHED */)
|
|
11890
11943
|
]))]))
|
|
11891
11944
|
}
|
|
11892
|
-
const BackgroundRepeatX = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
11945
|
+
const BackgroundRepeatX = /*#__PURE__*/_export_sfc(_sfc_main$13, [['render',_sfc_render$j]]);
|
|
11893
11946
|
|
|
11894
|
-
const _sfc_main$
|
|
11947
|
+
const _sfc_main$12 = { };
|
|
11895
11948
|
|
|
11896
11949
|
const _hoisted_1$H = {
|
|
11897
11950
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11906,9 +11959,9 @@
|
|
|
11906
11959
|
}, null, -1 /* CACHED */)
|
|
11907
11960
|
]))]))
|
|
11908
11961
|
}
|
|
11909
|
-
const BackgroundRepeatY = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
11962
|
+
const BackgroundRepeatY = /*#__PURE__*/_export_sfc(_sfc_main$12, [['render',_sfc_render$i]]);
|
|
11910
11963
|
|
|
11911
|
-
const _sfc_main$
|
|
11964
|
+
const _sfc_main$11 = { };
|
|
11912
11965
|
|
|
11913
11966
|
const _hoisted_1$G = {
|
|
11914
11967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11923,9 +11976,9 @@
|
|
|
11923
11976
|
}, null, -1 /* CACHED */)
|
|
11924
11977
|
]))]))
|
|
11925
11978
|
}
|
|
11926
|
-
const BackgroundNoRepeat = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
11979
|
+
const BackgroundNoRepeat = /*#__PURE__*/_export_sfc(_sfc_main$11, [['render',_sfc_render$h]]);
|
|
11927
11980
|
|
|
11928
|
-
const _sfc_main
|
|
11981
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
11929
11982
|
__name: "Background",
|
|
11930
11983
|
props: {
|
|
11931
11984
|
values: {},
|
|
@@ -11984,7 +12037,7 @@
|
|
|
11984
12037
|
name: "backgroundPosition",
|
|
11985
12038
|
text: "背景定位",
|
|
11986
12039
|
type: "component",
|
|
11987
|
-
component: _sfc_main$
|
|
12040
|
+
component: _sfc_main$15,
|
|
11988
12041
|
labelWidth: "68px"
|
|
11989
12042
|
}
|
|
11990
12043
|
]
|
|
@@ -12004,7 +12057,7 @@
|
|
|
12004
12057
|
}
|
|
12005
12058
|
});
|
|
12006
12059
|
|
|
12007
|
-
const _sfc_main
|
|
12060
|
+
const _sfc_main$$ = { };
|
|
12008
12061
|
|
|
12009
12062
|
const _hoisted_1$F = {
|
|
12010
12063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12016,9 +12069,9 @@
|
|
|
12016
12069
|
vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m0-170.666667h512v85.333333H128z m0-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m0 170.666667h512v85.333333H128z" }, null, -1 /* CACHED */)
|
|
12017
12070
|
]))]))
|
|
12018
12071
|
}
|
|
12019
|
-
const AlignLeft = /*#__PURE__*/_export_sfc(_sfc_main
|
|
12072
|
+
const AlignLeft = /*#__PURE__*/_export_sfc(_sfc_main$$, [['render',_sfc_render$g]]);
|
|
12020
12073
|
|
|
12021
|
-
const _sfc_main$
|
|
12074
|
+
const _sfc_main$_ = { };
|
|
12022
12075
|
|
|
12023
12076
|
const _hoisted_1$E = {
|
|
12024
12077
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12030,9 +12083,9 @@
|
|
|
12030
12083
|
vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m128-170.666667h512v85.333333H256z m-128-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m128 170.666667h512v85.333333H256z" }, null, -1 /* CACHED */)
|
|
12031
12084
|
]))]))
|
|
12032
12085
|
}
|
|
12033
|
-
const AlignCenter = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12086
|
+
const AlignCenter = /*#__PURE__*/_export_sfc(_sfc_main$_, [['render',_sfc_render$f]]);
|
|
12034
12087
|
|
|
12035
|
-
const _sfc_main$
|
|
12088
|
+
const _sfc_main$Z = { };
|
|
12036
12089
|
|
|
12037
12090
|
const _hoisted_1$D = {
|
|
12038
12091
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12044,9 +12097,9 @@
|
|
|
12044
12097
|
vue.createElementVNode("path", { d: "M128 128h768v85.333333H128z m0 682.666667h768v85.333333H128z m213.333333-170.666667h554.666667v85.333333H341.333333z m-213.333333-170.666667h768v85.333334H128z m213.333333-170.666666h554.666667v85.333333H341.333333z" }, null, -1 /* CACHED */)
|
|
12045
12098
|
]))]))
|
|
12046
12099
|
}
|
|
12047
|
-
const AlignRight = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12100
|
+
const AlignRight = /*#__PURE__*/_export_sfc(_sfc_main$Z, [['render',_sfc_render$e]]);
|
|
12048
12101
|
|
|
12049
|
-
const _sfc_main$
|
|
12102
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
12050
12103
|
__name: "Font",
|
|
12051
12104
|
props: {
|
|
12052
12105
|
values: {},
|
|
@@ -12141,7 +12194,7 @@
|
|
|
12141
12194
|
};
|
|
12142
12195
|
const _hoisted_3$5 = { class: "next-input" };
|
|
12143
12196
|
const _hoisted_4$4 = ["model-value", "title", "disabled", "onChange"];
|
|
12144
|
-
const _sfc_main$
|
|
12197
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
12145
12198
|
__name: "Box",
|
|
12146
12199
|
props: {
|
|
12147
12200
|
disabled: { type: Boolean },
|
|
@@ -12234,7 +12287,7 @@
|
|
|
12234
12287
|
}
|
|
12235
12288
|
});
|
|
12236
12289
|
|
|
12237
|
-
const _sfc_main$
|
|
12290
|
+
const _sfc_main$W = { };
|
|
12238
12291
|
|
|
12239
12292
|
const _hoisted_1$B = {
|
|
12240
12293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12246,9 +12299,9 @@
|
|
|
12246
12299
|
vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1 /* CACHED */)
|
|
12247
12300
|
]))]))
|
|
12248
12301
|
}
|
|
12249
|
-
const DisplayBlock = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12302
|
+
const DisplayBlock = /*#__PURE__*/_export_sfc(_sfc_main$W, [['render',_sfc_render$d]]);
|
|
12250
12303
|
|
|
12251
|
-
const _sfc_main$
|
|
12304
|
+
const _sfc_main$V = { };
|
|
12252
12305
|
|
|
12253
12306
|
const _hoisted_1$A = {
|
|
12254
12307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12260,9 +12313,9 @@
|
|
|
12260
12313
|
vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1 /* CACHED */)
|
|
12261
12314
|
]))]))
|
|
12262
12315
|
}
|
|
12263
|
-
const DisplayFlex = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12316
|
+
const DisplayFlex = /*#__PURE__*/_export_sfc(_sfc_main$V, [['render',_sfc_render$c]]);
|
|
12264
12317
|
|
|
12265
|
-
const _sfc_main$
|
|
12318
|
+
const _sfc_main$U = { };
|
|
12266
12319
|
|
|
12267
12320
|
const _hoisted_1$z = {
|
|
12268
12321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12274,9 +12327,9 @@
|
|
|
12274
12327
|
vue.createElementVNode("path", { d: "M787.616 651.36a142.72 142.72 0 0 0 52.864 31.904 205.504 205.504 0 0 0 67.264 10.848 245.76 245.76 0 0 0 38.784-2.4c9.504-1.6 19.36-4 30.208-7.04 8.16-2.24 15.968-5.12 23.36-8.32l23.392-10.816V587.52h-8.736c-3.968 3.424-8.96 7.648-15.104 12.544a190.272 190.272 0 0 1-19.936 13.504 120.32 120.32 0 0 1-27.616 12.544 102.528 102.528 0 0 1-62.72-0.576 80 80 0 0 1-29.824-17.088 89.28 89.28 0 0 1-21.664-32.512c-5.696-13.664-8.64-30.784-8.64-51.296 0-19.744 2.72-36.384 7.968-50.08 5.248-13.664 12.384-24.896 20.992-33.056 9.12-8.832 18.816-14.816 29.632-18.816a101.824 101.824 0 0 1 63.68-0.736c9.408 3.136 18.08 7.04 26.112 11.68 13.024 7.808 25.28 16.768 36.672 26.784H1024v-78.72c-6.08-2.88-13.12-6.08-21.12-9.6a205.984 205.984 0 0 0-57.152-15.36 270.016 270.016 0 0 0-37.056-2.304c-24.864 0-47.744 4-68.704 11.84-20.992 7.776-38.432 18.784-52.64 33.6a144.256 144.256 0 0 0-33.632 54.176 207.68 207.68 0 0 0-12.48 70.176c0 27.84 3.968 52.352 12.16 73.568a146.08 146.08 0 0 0 34.176 53.184l0.064 0.416z m-186.112 34.656a122.912 122.912 0 0 0 42.784-21.504c11.2-8.32 20.224-19.296 26.24-31.936 6.56-13.664 9.888-28.704 9.664-43.904 0-22.784-6.272-41.024-18.912-54.72-12.544-13.92-29.664-23.04-51.104-27.36v-2.304c14.4-6.24 26.688-16.448 35.52-29.408 8.384-12.544 12.544-27.008 12.544-43.52 0-14.24-2.944-26.784-9.12-37.6a65.696 65.696 0 0 0-27.936-26.24 117.44 117.44 0 0 0-36.48-12.096A437.312 437.312 0 0 0 526.656 352h-127.552v340.384h143.392c23.84 0 43.52-2.112 59.008-6.4z m-118.112-271.584h7.968c16.544 0 29.472 0.128 38.656 0.352 9.248 0.576 16.864 1.728 23.04 4a26.24 26.24 0 0 1 14.4 13.12c2.656 5.28 4.064 11.072 4.128 16.96 0.16 6.656-1.056 13.248-3.52 19.392a28.064 28.064 0 0 1-15.04 13.696c-7.04 2.912-14.56 4.48-22.208 4.576-9.472 0.32-20.864 0.544-34.24 0.544h-13.184v-72.64z m6.144 215.52h-6.144v-84.8h18.464c12.64 0 24.736 0 36.384 0.256 9.216-0.16 18.432 0.896 27.36 3.2 9.696 2.848 16.544 7.232 20.512 13.12 4 5.92 6.08 14.24 6.08 25.088 0 8.192-1.728 15.488-4.992 21.824-3.232 6.336-9.696 11.392-18.24 15.392-8.544 4-18.24 5.696-28.48 6.272-10.304 0.224-27.392 0.224-51.328 0.224l0.384-0.576z m-378.56-6.016h124.672l23.36 68.416H348.8L224.32 353.728H124.416L0 692.384h87.52l23.488-68.416-0.064-0.032z m62.336-183.552l41.472 121.44h-82.88l41.408-121.44z" }, null, -1 /* CACHED */)
|
|
12275
12328
|
]))]))
|
|
12276
12329
|
}
|
|
12277
|
-
const DisplayInline = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12330
|
+
const DisplayInline = /*#__PURE__*/_export_sfc(_sfc_main$U, [['render',_sfc_render$b]]);
|
|
12278
12331
|
|
|
12279
|
-
const _sfc_main$
|
|
12332
|
+
const _sfc_main$T = { };
|
|
12280
12333
|
|
|
12281
12334
|
const _hoisted_1$y = {
|
|
12282
12335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12288,9 +12341,9 @@
|
|
|
12288
12341
|
vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-131.936 158.496c65.984 1.824 109.024 32.512 129.184 92.064l-65.952 15.136-1.856-5.664c-9.984-27.52-30.432-42.112-61.376-43.84-46.72 2.784-71.456 35.296-74.208 97.6 1.856 63.2 26.56 96.64 74.24 100.32 37.536-0.928 59.52-23.36 65.92-67.328L960 559.36l-1.792 7.232c-16.96 63.872-60.352 95.84-130.144 95.84-93.44-4.608-142.464-56.8-147.04-156.672 4.576-98.048 53.6-149.792 147.04-155.296z m-568.928 4.128l114.08 302.336H297.6l-22.016-65.984H160.192L138.24 656.96H64l112.672-302.336h82.464z m278.976 0l7.68 0.32c62.816 3.36 96 27.104 99.52 71.136 0 35.744-19.712 59.552-59.104 71.456 42.144 9.184 65.952 32.544 71.456 70.08 0 59.552-37.568 89.344-112.672 89.344h-148.416v-302.336h141.536z m-4.128 173.152H465.28v81.088h67.328c33.92 0 51.296-13.76 52.224-41.248-2.752-25.632-19.68-38.912-50.848-39.84zM217.92 408.224h-1.376l-0.96 7.36c-1.184 7.232-3.168 13.92-5.92 20.128l-34.336 103.04h87.936l-38.464-104.416-2.624-9.024c-1.6-5.888-3.04-11.584-4.256-17.088z m309.184-2.752H465.28v71.456h61.824c29.344-0.928 44.448-13.76 45.376-38.464-0.96-22.016-16.032-32.992-45.376-32.992z" }, null, -1 /* CACHED */)
|
|
12289
12342
|
]))]))
|
|
12290
12343
|
}
|
|
12291
|
-
const DisplayInlineBlock = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12344
|
+
const DisplayInlineBlock = /*#__PURE__*/_export_sfc(_sfc_main$T, [['render',_sfc_render$a]]);
|
|
12292
12345
|
|
|
12293
|
-
const _sfc_main$
|
|
12346
|
+
const _sfc_main$S = { };
|
|
12294
12347
|
|
|
12295
12348
|
const _hoisted_1$x = {
|
|
12296
12349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12302,9 +12355,9 @@
|
|
|
12302
12355
|
vue.createElementVNode("path", { d: "M931.37 477.14c-43.94-69.49-93.39-125.03-147.99-166.35L663.31 441.46c8.79 21.36 13.63 44.91 13.63 69.62 0 96.27-73.84 174.32-164.95 174.32-21.63 0-42.28-4.39-61.32-12.47l-94.09 102.52a455.097 455.097 0 0 0 155.41 26.2c172.62 0 312.43-85.54 419.59-256.63 12.83-20.43 12.72-47.45-0.21-67.88zM795.52 127.99L682.24 252.82C627.73 231 570.1 220.04 512.11 220.5c-171.15 0-310.99 85.66-419.48 256.75-12.93 20.43-13.04 47.33-0.2 67.78 46.95 75.15 100.3 133.68 160.01 175.82L131.9 853.65l38.9 42.36 663.6-725.76-38.88-42.26zM519.68 438.37c-3.72-0.59-7.46-0.81-11.27-0.81-45.63 0-82.43 39.03-82.43 87.16 0 4.97 0.42 9.81 1.14 14.54l-57.15 60.14-5.92 8.33c-13.15-24.94-20.5-53.68-20.5-84.28 0-96.3 73.84-174.45 164.95-174.45 27.2 0 52.76 6.93 75.4 19.29l-64.22 70.08z m52.05 135.53c21.74-23.26 27.17-55.48 16.31-81.39l-96.42 103.16c26.59 9.08 58.38 1.48 80.11-21.77z" }, null, -1 /* CACHED */)
|
|
12303
12356
|
]))]))
|
|
12304
12357
|
}
|
|
12305
|
-
const DisplayNone = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12358
|
+
const DisplayNone = /*#__PURE__*/_export_sfc(_sfc_main$S, [['render',_sfc_render$9]]);
|
|
12306
12359
|
|
|
12307
|
-
const _sfc_main$
|
|
12360
|
+
const _sfc_main$R = { };
|
|
12308
12361
|
|
|
12309
12362
|
const _hoisted_1$w = {
|
|
12310
12363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12316,9 +12369,9 @@
|
|
|
12316
12369
|
vue.createElementVNode("path", { d: "M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z" }, null, -1 /* CACHED */)
|
|
12317
12370
|
]))]))
|
|
12318
12371
|
}
|
|
12319
|
-
const FlexDirectionColumn = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12372
|
+
const FlexDirectionColumn = /*#__PURE__*/_export_sfc(_sfc_main$R, [['render',_sfc_render$8]]);
|
|
12320
12373
|
|
|
12321
|
-
const _sfc_main$
|
|
12374
|
+
const _sfc_main$Q = { };
|
|
12322
12375
|
|
|
12323
12376
|
const _hoisted_1$v = {
|
|
12324
12377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12330,9 +12383,9 @@
|
|
|
12330
12383
|
vue.createElementVNode("path", { d: "M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z" }, null, -1 /* CACHED */)
|
|
12331
12384
|
]))]))
|
|
12332
12385
|
}
|
|
12333
|
-
const FlexDirectionColumnReverse = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12386
|
+
const FlexDirectionColumnReverse = /*#__PURE__*/_export_sfc(_sfc_main$Q, [['render',_sfc_render$7]]);
|
|
12334
12387
|
|
|
12335
|
-
const _sfc_main$
|
|
12388
|
+
const _sfc_main$P = { };
|
|
12336
12389
|
|
|
12337
12390
|
const _hoisted_1$u = {
|
|
12338
12391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12344,9 +12397,9 @@
|
|
|
12344
12397
|
vue.createElementVNode("path", { d: "M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z" }, null, -1 /* CACHED */)
|
|
12345
12398
|
]))]))
|
|
12346
12399
|
}
|
|
12347
|
-
const FlexDirectionRow = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12400
|
+
const FlexDirectionRow = /*#__PURE__*/_export_sfc(_sfc_main$P, [['render',_sfc_render$6]]);
|
|
12348
12401
|
|
|
12349
|
-
const _sfc_main$
|
|
12402
|
+
const _sfc_main$O = { };
|
|
12350
12403
|
|
|
12351
12404
|
const _hoisted_1$t = {
|
|
12352
12405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12358,9 +12411,9 @@
|
|
|
12358
12411
|
vue.createElementVNode("path", { d: "M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z" }, null, -1 /* CACHED */)
|
|
12359
12412
|
]))]))
|
|
12360
12413
|
}
|
|
12361
|
-
const FlexDirectionRowReverse = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12414
|
+
const FlexDirectionRowReverse = /*#__PURE__*/_export_sfc(_sfc_main$O, [['render',_sfc_render$5]]);
|
|
12362
12415
|
|
|
12363
|
-
const _sfc_main$
|
|
12416
|
+
const _sfc_main$N = { };
|
|
12364
12417
|
|
|
12365
12418
|
const _hoisted_1$s = {
|
|
12366
12419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12372,9 +12425,9 @@
|
|
|
12372
12425
|
vue.createElementVNode("path", { d: "M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z" }, null, -1 /* CACHED */)
|
|
12373
12426
|
]))]))
|
|
12374
12427
|
}
|
|
12375
|
-
const JustifyContentCenter = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12428
|
+
const JustifyContentCenter = /*#__PURE__*/_export_sfc(_sfc_main$N, [['render',_sfc_render$4]]);
|
|
12376
12429
|
|
|
12377
|
-
const _sfc_main$
|
|
12430
|
+
const _sfc_main$M = { };
|
|
12378
12431
|
|
|
12379
12432
|
const _hoisted_1$r = {
|
|
12380
12433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12386,9 +12439,9 @@
|
|
|
12386
12439
|
vue.createElementVNode("path", { d: "M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z" }, null, -1 /* CACHED */)
|
|
12387
12440
|
]))]))
|
|
12388
12441
|
}
|
|
12389
|
-
const JustifyContentFlexEnd = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12442
|
+
const JustifyContentFlexEnd = /*#__PURE__*/_export_sfc(_sfc_main$M, [['render',_sfc_render$3]]);
|
|
12390
12443
|
|
|
12391
|
-
const _sfc_main$
|
|
12444
|
+
const _sfc_main$L = { };
|
|
12392
12445
|
|
|
12393
12446
|
const _hoisted_1$q = {
|
|
12394
12447
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12400,9 +12453,9 @@
|
|
|
12400
12453
|
vue.createElementVNode("path", { d: "M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z" }, null, -1 /* CACHED */)
|
|
12401
12454
|
]))]))
|
|
12402
12455
|
}
|
|
12403
|
-
const JustifyContentFlexStart = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12456
|
+
const JustifyContentFlexStart = /*#__PURE__*/_export_sfc(_sfc_main$L, [['render',_sfc_render$2]]);
|
|
12404
12457
|
|
|
12405
|
-
const _sfc_main$
|
|
12458
|
+
const _sfc_main$K = { };
|
|
12406
12459
|
|
|
12407
12460
|
const _hoisted_1$p = {
|
|
12408
12461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12414,9 +12467,9 @@
|
|
|
12414
12467
|
vue.createElementVNode("path", { d: "M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z" }, null, -1 /* CACHED */)
|
|
12415
12468
|
]))]))
|
|
12416
12469
|
}
|
|
12417
|
-
const JustifyContentSpaceAround = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12470
|
+
const JustifyContentSpaceAround = /*#__PURE__*/_export_sfc(_sfc_main$K, [['render',_sfc_render$1]]);
|
|
12418
12471
|
|
|
12419
|
-
const _sfc_main$
|
|
12472
|
+
const _sfc_main$J = { };
|
|
12420
12473
|
|
|
12421
12474
|
const _hoisted_1$o = {
|
|
12422
12475
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12428,9 +12481,9 @@
|
|
|
12428
12481
|
vue.createElementVNode("path", { d: "M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z" }, null, -1 /* CACHED */)
|
|
12429
12482
|
]))]))
|
|
12430
12483
|
}
|
|
12431
|
-
const JustifyContentSpaceBetween = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
12484
|
+
const JustifyContentSpaceBetween = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render]]);
|
|
12432
12485
|
|
|
12433
|
-
const _sfc_main$
|
|
12486
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
12434
12487
|
__name: "Layout",
|
|
12435
12488
|
props: {
|
|
12436
12489
|
values: {},
|
|
@@ -12594,7 +12647,7 @@
|
|
|
12594
12647
|
disabled: __props.disabled,
|
|
12595
12648
|
onChange: change
|
|
12596
12649
|
}, null, 8, ["model", "size", "disabled"]),
|
|
12597
|
-
vue.withDirectives(vue.createVNode(_sfc_main$
|
|
12650
|
+
vue.withDirectives(vue.createVNode(_sfc_main$X, {
|
|
12598
12651
|
model: __props.values,
|
|
12599
12652
|
size: __props.size,
|
|
12600
12653
|
disabled: __props.disabled,
|
|
@@ -12610,7 +12663,7 @@
|
|
|
12610
12663
|
}
|
|
12611
12664
|
});
|
|
12612
12665
|
|
|
12613
|
-
const _sfc_main$
|
|
12666
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
12614
12667
|
__name: "Position",
|
|
12615
12668
|
props: {
|
|
12616
12669
|
values: {},
|
|
@@ -12721,7 +12774,7 @@
|
|
|
12721
12774
|
const _hoisted_4$3 = { class: "border-icon-container-row" };
|
|
12722
12775
|
const _hoisted_5$1 = { class: "border-icon-container-row" };
|
|
12723
12776
|
const _hoisted_6$1 = { class: "border-value-container" };
|
|
12724
|
-
const _sfc_main$
|
|
12777
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
12725
12778
|
__name: "Border",
|
|
12726
12779
|
props: {
|
|
12727
12780
|
model: {},
|
|
@@ -12849,7 +12902,7 @@
|
|
|
12849
12902
|
}
|
|
12850
12903
|
});
|
|
12851
12904
|
|
|
12852
|
-
const _sfc_main$
|
|
12905
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
12853
12906
|
__name: "Border",
|
|
12854
12907
|
props: {
|
|
12855
12908
|
values: {},
|
|
@@ -12887,7 +12940,7 @@
|
|
|
12887
12940
|
disabled: __props.disabled,
|
|
12888
12941
|
onChange: change
|
|
12889
12942
|
}, null, 8, ["model", "size", "disabled"]),
|
|
12890
|
-
vue.createVNode(_sfc_main$
|
|
12943
|
+
vue.createVNode(_sfc_main$G, {
|
|
12891
12944
|
model: __props.values,
|
|
12892
12945
|
size: __props.size,
|
|
12893
12946
|
disabled: __props.disabled,
|
|
@@ -12901,7 +12954,7 @@
|
|
|
12901
12954
|
}
|
|
12902
12955
|
});
|
|
12903
12956
|
|
|
12904
|
-
const _sfc_main$
|
|
12957
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
12905
12958
|
...{
|
|
12906
12959
|
name: "MFieldsStyleSetter"
|
|
12907
12960
|
},
|
|
@@ -12926,23 +12979,23 @@
|
|
|
12926
12979
|
{
|
|
12927
12980
|
name: "font",
|
|
12928
12981
|
title: "布局",
|
|
12929
|
-
component: _sfc_main$
|
|
12982
|
+
component: _sfc_main$I
|
|
12930
12983
|
},
|
|
12931
12984
|
{
|
|
12932
12985
|
title: "位置",
|
|
12933
|
-
component: _sfc_main$
|
|
12986
|
+
component: _sfc_main$H
|
|
12934
12987
|
},
|
|
12935
12988
|
{
|
|
12936
12989
|
title: "背景",
|
|
12937
|
-
component: _sfc_main
|
|
12990
|
+
component: _sfc_main$10
|
|
12938
12991
|
},
|
|
12939
12992
|
{
|
|
12940
12993
|
title: "文字",
|
|
12941
|
-
component: _sfc_main$
|
|
12994
|
+
component: _sfc_main$Y
|
|
12942
12995
|
},
|
|
12943
12996
|
{
|
|
12944
12997
|
title: "边框与圆角",
|
|
12945
|
-
component: _sfc_main$
|
|
12998
|
+
component: _sfc_main$F
|
|
12946
12999
|
}
|
|
12947
13000
|
];
|
|
12948
13001
|
const collapseValue = vue.shallowRef(
|
|
@@ -12970,7 +13023,7 @@
|
|
|
12970
13023
|
name: `${index}`
|
|
12971
13024
|
}, {
|
|
12972
13025
|
title: vue.withCtx(() => [
|
|
12973
|
-
vue.createVNode(_sfc_main$
|
|
13026
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
|
|
12974
13027
|
vue.createTextVNode(
|
|
12975
13028
|
vue.toDisplayString(item.title),
|
|
12976
13029
|
1
|
|
@@ -13006,7 +13059,7 @@
|
|
|
13006
13059
|
class: "m-fields-ui-select",
|
|
13007
13060
|
style: { "display": "flex" }
|
|
13008
13061
|
};
|
|
13009
|
-
const _sfc_main$
|
|
13062
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
13010
13063
|
...{
|
|
13011
13064
|
name: "MFieldsUISelect"
|
|
13012
13065
|
},
|
|
@@ -13189,7 +13242,7 @@
|
|
|
13189
13242
|
}
|
|
13190
13243
|
});
|
|
13191
13244
|
|
|
13192
|
-
const _sfc_main$
|
|
13245
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
13193
13246
|
...{
|
|
13194
13247
|
name: "MEditorResizer"
|
|
13195
13248
|
},
|
|
@@ -13216,7 +13269,7 @@
|
|
|
13216
13269
|
}
|
|
13217
13270
|
});
|
|
13218
13271
|
|
|
13219
|
-
const _sfc_main$
|
|
13272
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
13220
13273
|
...{
|
|
13221
13274
|
name: "MEditorSplitView"
|
|
13222
13275
|
},
|
|
@@ -13370,7 +13423,7 @@
|
|
|
13370
13423
|
6
|
|
13371
13424
|
/* CLASS, STYLE */
|
|
13372
13425
|
),
|
|
13373
|
-
vue.createVNode(_sfc_main$
|
|
13426
|
+
vue.createVNode(_sfc_main$C, { onChange: changeLeft })
|
|
13374
13427
|
],
|
|
13375
13428
|
64
|
|
13376
13429
|
/* STABLE_FRAGMENT */
|
|
@@ -13391,7 +13444,7 @@
|
|
|
13391
13444
|
vue.Fragment,
|
|
13392
13445
|
{ key: 1 },
|
|
13393
13446
|
[
|
|
13394
|
-
vue.createVNode(_sfc_main$
|
|
13447
|
+
vue.createVNode(_sfc_main$C, { onChange: changeRight }),
|
|
13395
13448
|
vue.createElementVNode(
|
|
13396
13449
|
"div",
|
|
13397
13450
|
{
|
|
@@ -13421,7 +13474,7 @@
|
|
|
13421
13474
|
class: "menu-item-text"
|
|
13422
13475
|
};
|
|
13423
13476
|
const _hoisted_2$a = { class: "el-dropdown-link menubar-menu-button" };
|
|
13424
|
-
const _sfc_main$
|
|
13477
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
13425
13478
|
...{
|
|
13426
13479
|
name: "MEditorToolButton"
|
|
13427
13480
|
},
|
|
@@ -13523,7 +13576,7 @@
|
|
|
13523
13576
|
__props.data.icon ? {
|
|
13524
13577
|
name: "icon",
|
|
13525
13578
|
fn: vue.withCtx(() => [
|
|
13526
|
-
vue.createVNode(_sfc_main$
|
|
13579
|
+
vue.createVNode(_sfc_main$1s, {
|
|
13527
13580
|
icon: __props.data.icon
|
|
13528
13581
|
}, null, 8, ["icon"])
|
|
13529
13582
|
]),
|
|
@@ -13557,7 +13610,7 @@
|
|
|
13557
13610
|
__props.data.icon ? {
|
|
13558
13611
|
name: "icon",
|
|
13559
13612
|
fn: vue.withCtx(() => [
|
|
13560
|
-
vue.createVNode(_sfc_main$
|
|
13613
|
+
vue.createVNode(_sfc_main$1s, {
|
|
13561
13614
|
icon: __props.data.icon
|
|
13562
13615
|
}, null, 8, ["icon"])
|
|
13563
13616
|
]),
|
|
@@ -13656,7 +13709,7 @@
|
|
|
13656
13709
|
key: 1,
|
|
13657
13710
|
style: { "width": "21px" }
|
|
13658
13711
|
};
|
|
13659
|
-
const _sfc_main$
|
|
13712
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
13660
13713
|
...{
|
|
13661
13714
|
name: "MEditorPageBarAddButton"
|
|
13662
13715
|
},
|
|
@@ -13678,10 +13731,10 @@
|
|
|
13678
13731
|
return showAddPageButton.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
|
|
13679
13732
|
vue.createVNode(vue.unref(designPlugin.TMagicPopover), { "popper-class": "data-source-list-panel-add-menu" }, {
|
|
13680
13733
|
reference: vue.withCtx(() => [
|
|
13681
|
-
vue.createVNode(_sfc_main$
|
|
13734
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
|
|
13682
13735
|
]),
|
|
13683
13736
|
default: vue.withCtx(() => [
|
|
13684
|
-
vue.createVNode(_sfc_main$
|
|
13737
|
+
vue.createVNode(_sfc_main$A, {
|
|
13685
13738
|
data: {
|
|
13686
13739
|
type: "button",
|
|
13687
13740
|
text: "页面",
|
|
@@ -13690,7 +13743,7 @@
|
|
|
13690
13743
|
}
|
|
13691
13744
|
}
|
|
13692
13745
|
}, null, 8, ["data"]),
|
|
13693
|
-
vue.createVNode(_sfc_main$
|
|
13746
|
+
vue.createVNode(_sfc_main$A, {
|
|
13694
13747
|
data: {
|
|
13695
13748
|
type: "button",
|
|
13696
13749
|
text: "页面片",
|
|
@@ -13717,7 +13770,7 @@
|
|
|
13717
13770
|
class: "m-editor-page-bar-items",
|
|
13718
13771
|
ref: "itemsContainer"
|
|
13719
13772
|
};
|
|
13720
|
-
const _sfc_main$
|
|
13773
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
13721
13774
|
...{
|
|
13722
13775
|
name: "MEditorPageBarScrollContainer"
|
|
13723
13776
|
},
|
|
@@ -13855,14 +13908,14 @@
|
|
|
13855
13908
|
class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-item-left-icon",
|
|
13856
13909
|
onClick: _cache[0] || (_cache[0] = ($event) => scroll("left"))
|
|
13857
13910
|
}, [
|
|
13858
|
-
vue.createVNode(_sfc_main$
|
|
13911
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.ArrowLeftBold) }, null, 8, ["icon"])
|
|
13859
13912
|
])) : vue.createCommentVNode("v-if", true),
|
|
13860
13913
|
canScroll.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
13861
13914
|
key: 2,
|
|
13862
13915
|
class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-item-right-icon",
|
|
13863
13916
|
onClick: _cache[1] || (_cache[1] = ($event) => scroll("right"))
|
|
13864
13917
|
}, [
|
|
13865
|
-
vue.createVNode(_sfc_main$
|
|
13918
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.ArrowRightBold) }, null, 8, ["icon"])
|
|
13866
13919
|
])) : vue.createCommentVNode("v-if", true)
|
|
13867
13920
|
],
|
|
13868
13921
|
512
|
|
@@ -13879,7 +13932,7 @@
|
|
|
13879
13932
|
};
|
|
13880
13933
|
const _hoisted_2$7 = { class: "page-bar-popover-wrapper" };
|
|
13881
13934
|
const _hoisted_3$3 = { class: "page-bar-popover-inner" };
|
|
13882
|
-
const _sfc_main$
|
|
13935
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
13883
13936
|
...{
|
|
13884
13937
|
name: "MEditorPageList"
|
|
13885
13938
|
},
|
|
@@ -13920,7 +13973,7 @@
|
|
|
13920
13973
|
vue.Fragment,
|
|
13921
13974
|
null,
|
|
13922
13975
|
vue.renderList(__props.list, (item, index) => {
|
|
13923
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13976
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
13924
13977
|
data: {
|
|
13925
13978
|
type: "button",
|
|
13926
13979
|
text: item.devconfig?.tabName || item.name || item.id,
|
|
@@ -13946,7 +13999,7 @@
|
|
|
13946
13999
|
});
|
|
13947
14000
|
|
|
13948
14001
|
const _hoisted_1$h = { class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-search" };
|
|
13949
|
-
const _sfc_main$
|
|
14002
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
13950
14003
|
__name: "Search",
|
|
13951
14004
|
props: {
|
|
13952
14005
|
"query": {},
|
|
@@ -13985,7 +14038,7 @@
|
|
|
13985
14038
|
};
|
|
13986
14039
|
return (_ctx, _cache) => {
|
|
13987
14040
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
13988
|
-
vue.createVNode(_sfc_main$
|
|
14041
|
+
vue.createVNode(_sfc_main$1s, {
|
|
13989
14042
|
icon: vue.unref(iconsVue.Search),
|
|
13990
14043
|
onClick: _cache[0] || (_cache[0] = ($event) => visible.value = !visible.value),
|
|
13991
14044
|
class: vue.normalizeClass({ "icon-active": visible.value })
|
|
@@ -14013,7 +14066,7 @@
|
|
|
14013
14066
|
const _hoisted_2$6 = ["data-page-id", "onClick"];
|
|
14014
14067
|
const _hoisted_3$2 = { class: "m-editor-page-bar-title" };
|
|
14015
14068
|
const _hoisted_4$2 = ["title"];
|
|
14016
|
-
const _sfc_main$
|
|
14069
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
14017
14070
|
...{
|
|
14018
14071
|
name: "MEditorPageBar"
|
|
14019
14072
|
},
|
|
@@ -14089,20 +14142,20 @@
|
|
|
14089
14142
|
});
|
|
14090
14143
|
return (_ctx, _cache) => {
|
|
14091
14144
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
|
|
14092
|
-
vue.createVNode(_sfc_main$
|
|
14145
|
+
vue.createVNode(_sfc_main$y, {
|
|
14093
14146
|
ref: "pageBarScrollContainer",
|
|
14094
14147
|
"page-bar-sort-options": __props.pageBarSortOptions,
|
|
14095
14148
|
length: list.value.length
|
|
14096
14149
|
}, {
|
|
14097
14150
|
prepend: vue.withCtx(() => [
|
|
14098
14151
|
vue.renderSlot(_ctx.$slots, "page-bar-add-button", {}, () => [
|
|
14099
|
-
vue.createVNode(_sfc_main$
|
|
14152
|
+
vue.createVNode(_sfc_main$z)
|
|
14100
14153
|
]),
|
|
14101
|
-
vue.createVNode(_sfc_main$
|
|
14154
|
+
vue.createVNode(_sfc_main$w, {
|
|
14102
14155
|
query: query.value,
|
|
14103
14156
|
"onUpdate:query": _cache[0] || (_cache[0] = ($event) => query.value = $event)
|
|
14104
14157
|
}, null, 8, ["query"]),
|
|
14105
|
-
vue.createVNode(_sfc_main$
|
|
14158
|
+
vue.createVNode(_sfc_main$x, { list: list.value }, {
|
|
14106
14159
|
"page-list-popover": vue.withCtx(({ list: list2 }) => [
|
|
14107
14160
|
vue.renderSlot(_ctx.$slots, "page-list-popover", { list: list2 })
|
|
14108
14161
|
]),
|
|
@@ -14152,7 +14205,7 @@
|
|
|
14152
14205
|
default: vue.withCtx(() => [
|
|
14153
14206
|
vue.createElementVNode("div", null, [
|
|
14154
14207
|
vue.renderSlot(_ctx.$slots, "page-bar-popover", { page: item }, () => [
|
|
14155
|
-
vue.createVNode(_sfc_main$
|
|
14208
|
+
vue.createVNode(_sfc_main$A, {
|
|
14156
14209
|
data: {
|
|
14157
14210
|
type: "button",
|
|
14158
14211
|
text: "复制",
|
|
@@ -14160,7 +14213,7 @@
|
|
|
14160
14213
|
handler: () => copy(item)
|
|
14161
14214
|
}
|
|
14162
14215
|
}, null, 8, ["data"]),
|
|
14163
|
-
vue.createVNode(_sfc_main$
|
|
14216
|
+
vue.createVNode(_sfc_main$A, {
|
|
14164
14217
|
data: {
|
|
14165
14218
|
type: "button",
|
|
14166
14219
|
text: "删除",
|
|
@@ -14193,7 +14246,7 @@
|
|
|
14193
14246
|
|
|
14194
14247
|
const _hoisted_1$f = { class: "m-editor-empty-panel" };
|
|
14195
14248
|
const _hoisted_2$5 = { class: "m-editor-empty-content" };
|
|
14196
|
-
const _sfc_main$
|
|
14249
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
14197
14250
|
...{
|
|
14198
14251
|
name: "MEditorAddPageBox"
|
|
14199
14252
|
},
|
|
@@ -14220,7 +14273,7 @@
|
|
|
14220
14273
|
onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE))
|
|
14221
14274
|
}, [
|
|
14222
14275
|
vue.createElementVNode("div", null, [
|
|
14223
|
-
vue.createVNode(_sfc_main$
|
|
14276
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
|
|
14224
14277
|
]),
|
|
14225
14278
|
_cache[2] || (_cache[2] = vue.createElementVNode(
|
|
14226
14279
|
"p",
|
|
@@ -14236,7 +14289,7 @@
|
|
|
14236
14289
|
onClick: _cache[1] || (_cache[1] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE_FRAGMENT))
|
|
14237
14290
|
}, [
|
|
14238
14291
|
vue.createElementVNode("div", null, [
|
|
14239
|
-
vue.createVNode(_sfc_main$
|
|
14292
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
|
|
14240
14293
|
]),
|
|
14241
14294
|
_cache[3] || (_cache[3] = vue.createElementVNode(
|
|
14242
14295
|
"p",
|
|
@@ -14257,7 +14310,7 @@
|
|
|
14257
14310
|
ref: "content",
|
|
14258
14311
|
style: { "min-width": "900px" }
|
|
14259
14312
|
};
|
|
14260
|
-
const _sfc_main$
|
|
14313
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
14261
14314
|
...{
|
|
14262
14315
|
name: "MEditorFramework"
|
|
14263
14316
|
},
|
|
@@ -14329,13 +14382,13 @@
|
|
|
14329
14382
|
vue.renderSlot(_ctx.$slots, "nav"),
|
|
14330
14383
|
vue.renderSlot(_ctx.$slots, "content-before"),
|
|
14331
14384
|
showSrc.value ? vue.renderSlot(_ctx.$slots, "src-code", { key: 0 }, () => [
|
|
14332
|
-
vue.createVNode(_sfc_main$
|
|
14385
|
+
vue.createVNode(_sfc_main$1r, {
|
|
14333
14386
|
class: "m-editor-content",
|
|
14334
14387
|
"init-values": root.value,
|
|
14335
14388
|
options: vue.unref(codeOptions),
|
|
14336
14389
|
onSave: saveCode
|
|
14337
14390
|
}, null, 8, ["init-values", "options"])
|
|
14338
|
-
]) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14391
|
+
]) : (vue.openBlock(), vue.createBlock(_sfc_main$B, {
|
|
14339
14392
|
key: 1,
|
|
14340
14393
|
ref: "splitView",
|
|
14341
14394
|
class: "m-editor-content",
|
|
@@ -14355,10 +14408,10 @@
|
|
|
14355
14408
|
]),
|
|
14356
14409
|
center: vue.withCtx(() => [
|
|
14357
14410
|
page.value ? vue.renderSlot(_ctx.$slots, "workspace", { key: 0 }) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
|
|
14358
|
-
vue.createVNode(_sfc_main$
|
|
14411
|
+
vue.createVNode(_sfc_main$u, { "disabled-page-fragment": __props.disabledPageFragment }, null, 8, ["disabled-page-fragment"])
|
|
14359
14412
|
]),
|
|
14360
14413
|
vue.renderSlot(_ctx.$slots, "page-bar", {}, () => [
|
|
14361
|
-
vue.createVNode(_sfc_main$
|
|
14414
|
+
vue.createVNode(_sfc_main$v, {
|
|
14362
14415
|
"disabled-page-fragment": __props.disabledPageFragment,
|
|
14363
14416
|
"page-bar-sort-options": __props.pageBarSortOptions,
|
|
14364
14417
|
"filter-function": __props.pageFilterFunction
|
|
@@ -14401,7 +14454,7 @@
|
|
|
14401
14454
|
}
|
|
14402
14455
|
});
|
|
14403
14456
|
|
|
14404
|
-
const _sfc_main$
|
|
14457
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
14405
14458
|
...{
|
|
14406
14459
|
name: "MEditorNavMenu"
|
|
14407
14460
|
},
|
|
@@ -14593,7 +14646,7 @@
|
|
|
14593
14646
|
vue.Fragment,
|
|
14594
14647
|
null,
|
|
14595
14648
|
vue.renderList(buttons.value[key], (item, index) => {
|
|
14596
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14649
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
14597
14650
|
data: item,
|
|
14598
14651
|
key: index
|
|
14599
14652
|
}, null, 8, ["data"]);
|
|
@@ -14618,7 +14671,7 @@
|
|
|
14618
14671
|
});
|
|
14619
14672
|
|
|
14620
14673
|
const _hoisted_1$d = { class: "m-editor-props-form-panel" };
|
|
14621
|
-
const _sfc_main$
|
|
14674
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
14622
14675
|
...{
|
|
14623
14676
|
name: "MEditorFormPanel"
|
|
14624
14677
|
},
|
|
@@ -14703,12 +14756,12 @@
|
|
|
14703
14756
|
onClick: _cache[0] || (_cache[0] = ($event) => showSrc.value = !showSrc.value)
|
|
14704
14757
|
}, {
|
|
14705
14758
|
default: vue.withCtx(() => [
|
|
14706
|
-
vue.createVNode(_sfc_main$
|
|
14759
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Document) }, null, 8, ["icon"])
|
|
14707
14760
|
]),
|
|
14708
14761
|
_: 1
|
|
14709
14762
|
/* STABLE */
|
|
14710
14763
|
}, 8, ["type"])) : vue.createCommentVNode("v-if", true),
|
|
14711
|
-
showSrc.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14764
|
+
showSrc.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
|
|
14712
14765
|
key: 1,
|
|
14713
14766
|
class: "m-editor-props-panel-src-code",
|
|
14714
14767
|
height: `${vue.unref(editorContentHeight)}px`,
|
|
@@ -14773,7 +14826,7 @@
|
|
|
14773
14826
|
class: "m-editor-props-panel"
|
|
14774
14827
|
};
|
|
14775
14828
|
const _hoisted_2$4 = { class: "m-editor-props-style-panel-title" };
|
|
14776
|
-
const _sfc_main$
|
|
14829
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
14777
14830
|
...{
|
|
14778
14831
|
name: "MEditorPropsPanel"
|
|
14779
14832
|
},
|
|
@@ -14891,7 +14944,7 @@
|
|
|
14891
14944
|
_hoisted_1$c,
|
|
14892
14945
|
[
|
|
14893
14946
|
vue.renderSlot(_ctx.$slots, "props-panel-header"),
|
|
14894
|
-
vue.createVNode(_sfc_main$
|
|
14947
|
+
vue.createVNode(_sfc_main$r, {
|
|
14895
14948
|
ref: "propertyFormPanel",
|
|
14896
14949
|
class: vue.normalizeClass(["m-editor-props-property-panel", { "show-style-panel": vue.unref(showStylePanel) }]),
|
|
14897
14950
|
config: curFormConfig.value,
|
|
@@ -14904,11 +14957,11 @@
|
|
|
14904
14957
|
onMounted: mountedHandler,
|
|
14905
14958
|
onUnmounted: unmountedHandler
|
|
14906
14959
|
}, null, 8, ["class", "config", "values", "disabledShowSrc", "extendState"]),
|
|
14907
|
-
vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14960
|
+
vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
|
|
14908
14961
|
key: 0,
|
|
14909
14962
|
onChange: widthChange
|
|
14910
14963
|
})) : vue.createCommentVNode("v-if", true),
|
|
14911
|
-
vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14964
|
+
vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
14912
14965
|
key: 1,
|
|
14913
14966
|
class: "m-editor-props-style-panel",
|
|
14914
14967
|
"label-position": "top",
|
|
@@ -14937,7 +14990,7 @@
|
|
|
14937
14990
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(toggleStylePanel)(false))
|
|
14938
14991
|
}, {
|
|
14939
14992
|
default: vue.withCtx(() => [
|
|
14940
|
-
vue.createVNode(_sfc_main$
|
|
14993
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
|
|
14941
14994
|
]),
|
|
14942
14995
|
_: 1
|
|
14943
14996
|
/* STABLE */
|
|
@@ -14955,7 +15008,7 @@
|
|
|
14955
15008
|
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(toggleStylePanel)(true))
|
|
14956
15009
|
}, {
|
|
14957
15010
|
default: vue.withCtx(() => [
|
|
14958
|
-
vue.createVNode(_sfc_main$
|
|
15011
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Sugar) }, null, 8, ["icon"])
|
|
14959
15012
|
]),
|
|
14960
15013
|
_: 1
|
|
14961
15014
|
/* STABLE */
|
|
@@ -14970,7 +15023,7 @@
|
|
|
14970
15023
|
}
|
|
14971
15024
|
});
|
|
14972
15025
|
|
|
14973
|
-
const _sfc_main$
|
|
15026
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
14974
15027
|
...{
|
|
14975
15028
|
name: "MEditorContentMenu"
|
|
14976
15029
|
},
|
|
@@ -15110,7 +15163,7 @@
|
|
|
15110
15163
|
vue.Fragment,
|
|
15111
15164
|
null,
|
|
15112
15165
|
vue.renderList(__props.menuData, (item, index) => {
|
|
15113
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15166
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
15114
15167
|
"event-type": "mouseup",
|
|
15115
15168
|
ref_for: true,
|
|
15116
15169
|
ref: "buttons",
|
|
@@ -15150,7 +15203,7 @@
|
|
|
15150
15203
|
}
|
|
15151
15204
|
});
|
|
15152
15205
|
|
|
15153
|
-
const _sfc_main$
|
|
15206
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
15154
15207
|
...{
|
|
15155
15208
|
name: "MEditorSearchInput"
|
|
15156
15209
|
},
|
|
@@ -15200,7 +15253,7 @@
|
|
|
15200
15253
|
key: 0,
|
|
15201
15254
|
class: "m-editor-tree-node-children"
|
|
15202
15255
|
};
|
|
15203
|
-
const _sfc_main$
|
|
15256
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
15204
15257
|
...{
|
|
15205
15258
|
name: "MEditorTreeNode"
|
|
15206
15259
|
},
|
|
@@ -15277,7 +15330,7 @@
|
|
|
15277
15330
|
onMouseenter: mouseenterHandler
|
|
15278
15331
|
},
|
|
15279
15332
|
[
|
|
15280
|
-
vue.createVNode(_sfc_main$
|
|
15333
|
+
vue.createVNode(_sfc_main$1s, {
|
|
15281
15334
|
class: "expand-icon",
|
|
15282
15335
|
style: vue.normalizeStyle(hasChildren.value ? "" : "color: transparent; cursor: default"),
|
|
15283
15336
|
icon: expanded.value ? vue.unref(iconsVue.ArrowDown) : vue.unref(iconsVue.ArrowRight),
|
|
@@ -15347,7 +15400,7 @@
|
|
|
15347
15400
|
key: 1,
|
|
15348
15401
|
class: "m-editor-tree-empty"
|
|
15349
15402
|
};
|
|
15350
|
-
const _sfc_main$
|
|
15403
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
15351
15404
|
...{
|
|
15352
15405
|
name: "MEditorTree"
|
|
15353
15406
|
},
|
|
@@ -15378,7 +15431,7 @@
|
|
|
15378
15431
|
vue.Fragment,
|
|
15379
15432
|
{ key: 0 },
|
|
15380
15433
|
vue.renderList(__props.data, (item) => {
|
|
15381
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15434
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$n, {
|
|
15382
15435
|
key: item.id,
|
|
15383
15436
|
data: item,
|
|
15384
15437
|
indent: __props.indent,
|
|
@@ -15417,7 +15470,7 @@
|
|
|
15417
15470
|
}
|
|
15418
15471
|
});
|
|
15419
15472
|
|
|
15420
|
-
const _sfc_main$
|
|
15473
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
15421
15474
|
...{
|
|
15422
15475
|
name: "MEditorCodeBlockList"
|
|
15423
15476
|
},
|
|
@@ -15523,7 +15576,7 @@
|
|
|
15523
15576
|
deleteCode
|
|
15524
15577
|
});
|
|
15525
15578
|
return (_ctx, _cache) => {
|
|
15526
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15579
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$m, {
|
|
15527
15580
|
data: codeList.value,
|
|
15528
15581
|
"node-status-map": vue.unref(nodeStatusMap),
|
|
15529
15582
|
indent: __props.indent,
|
|
@@ -15554,7 +15607,7 @@
|
|
|
15554
15607
|
placement: "bottom"
|
|
15555
15608
|
}, {
|
|
15556
15609
|
default: vue.withCtx(() => [
|
|
15557
|
-
vue.createVNode(_sfc_main$
|
|
15610
|
+
vue.createVNode(_sfc_main$1s, {
|
|
15558
15611
|
icon: editable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View),
|
|
15559
15612
|
class: "edit-icon",
|
|
15560
15613
|
onClick: vue.withModifiers(($event) => editCode(`${data.key}`), ["stop"])
|
|
@@ -15573,7 +15626,7 @@
|
|
|
15573
15626
|
},
|
|
15574
15627
|
{
|
|
15575
15628
|
default: vue.withCtx(() => [
|
|
15576
|
-
vue.createVNode(_sfc_main$
|
|
15629
|
+
vue.createVNode(_sfc_main$1s, {
|
|
15577
15630
|
icon: vue.unref(iconsVue.Close),
|
|
15578
15631
|
class: "edit-icon",
|
|
15579
15632
|
onClick: vue.withModifiers(($event) => deleteCode(`${data.key}`), ["stop"])
|
|
@@ -15664,7 +15717,7 @@
|
|
|
15664
15717
|
};
|
|
15665
15718
|
|
|
15666
15719
|
const _hoisted_1$9 = { class: "search-wrapper" };
|
|
15667
|
-
const _sfc_main$
|
|
15720
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
15668
15721
|
...{
|
|
15669
15722
|
name: "MEditorCodeBlockListPanel"
|
|
15670
15723
|
},
|
|
@@ -15719,7 +15772,7 @@
|
|
|
15719
15772
|
default: vue.withCtx(() => [
|
|
15720
15773
|
vue.renderSlot(_ctx.$slots, "code-block-panel-header", {}, () => [
|
|
15721
15774
|
vue.createElementVNode("div", _hoisted_1$9, [
|
|
15722
|
-
vue.createVNode(_sfc_main$
|
|
15775
|
+
vue.createVNode(_sfc_main$o, { onSearch: filterTextChangeHandler }),
|
|
15723
15776
|
editable.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
|
|
15724
15777
|
key: 0,
|
|
15725
15778
|
class: "create-code-button",
|
|
@@ -15741,7 +15794,7 @@
|
|
|
15741
15794
|
])
|
|
15742
15795
|
]),
|
|
15743
15796
|
vue.createCommentVNode(" 代码块列表 "),
|
|
15744
|
-
vue.createVNode(_sfc_main$
|
|
15797
|
+
vue.createVNode(_sfc_main$l, {
|
|
15745
15798
|
ref: "codeBlockList",
|
|
15746
15799
|
"custom-error": __props.customError,
|
|
15747
15800
|
indent: __props.indent,
|
|
@@ -15763,7 +15816,7 @@
|
|
|
15763
15816
|
_: 3
|
|
15764
15817
|
/* FORWARDED */
|
|
15765
15818
|
}),
|
|
15766
|
-
vue.unref(codeConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15819
|
+
vue.unref(codeConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$1f, {
|
|
15767
15820
|
key: 0,
|
|
15768
15821
|
ref_key: "codeBlockEditor",
|
|
15769
15822
|
ref: codeBlockEditor,
|
|
@@ -15773,7 +15826,7 @@
|
|
|
15773
15826
|
onClose: editDialogCloseHandler
|
|
15774
15827
|
}, null, 8, ["disabled", "content", "onSubmit"])) : vue.createCommentVNode("v-if", true),
|
|
15775
15828
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
15776
|
-
menuData.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15829
|
+
menuData.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
|
|
15777
15830
|
key: 0,
|
|
15778
15831
|
"menu-data": menuData.value,
|
|
15779
15832
|
ref: "menu",
|
|
@@ -15820,6 +15873,71 @@
|
|
|
15820
15873
|
};
|
|
15821
15874
|
};
|
|
15822
15875
|
|
|
15876
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
15877
|
+
...{
|
|
15878
|
+
name: "MEditorDataSourceAddButton"
|
|
15879
|
+
},
|
|
15880
|
+
__name: "DataSourceAddButton",
|
|
15881
|
+
props: {
|
|
15882
|
+
datasourceTypeList: {},
|
|
15883
|
+
addButtonConfig: {},
|
|
15884
|
+
addButtonText: {}
|
|
15885
|
+
},
|
|
15886
|
+
emits: ["add"],
|
|
15887
|
+
setup(__props) {
|
|
15888
|
+
return (_ctx, _cache) => {
|
|
15889
|
+
return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicPopover), {
|
|
15890
|
+
placement: "right",
|
|
15891
|
+
trigger: "hover",
|
|
15892
|
+
"popper-class": "data-source-list-panel-add-menu",
|
|
15893
|
+
"destroy-on-close": true
|
|
15894
|
+
}, {
|
|
15895
|
+
reference: vue.withCtx(() => [
|
|
15896
|
+
vue.createVNode(
|
|
15897
|
+
vue.unref(designPlugin.TMagicButton),
|
|
15898
|
+
vue.normalizeProps(vue.guardReactiveProps(__props.addButtonConfig || {})),
|
|
15899
|
+
{
|
|
15900
|
+
default: vue.withCtx(() => [
|
|
15901
|
+
vue.createTextVNode(
|
|
15902
|
+
vue.toDisplayString(__props.addButtonText || ""),
|
|
15903
|
+
1
|
|
15904
|
+
/* TEXT */
|
|
15905
|
+
)
|
|
15906
|
+
]),
|
|
15907
|
+
_: 1
|
|
15908
|
+
/* STABLE */
|
|
15909
|
+
},
|
|
15910
|
+
16
|
|
15911
|
+
/* FULL_PROPS */
|
|
15912
|
+
)
|
|
15913
|
+
]),
|
|
15914
|
+
default: vue.withCtx(() => [
|
|
15915
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
15916
|
+
vue.Fragment,
|
|
15917
|
+
null,
|
|
15918
|
+
vue.renderList(__props.datasourceTypeList, (item, index) => {
|
|
15919
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
15920
|
+
data: {
|
|
15921
|
+
type: "button",
|
|
15922
|
+
text: item.text,
|
|
15923
|
+
handler: () => {
|
|
15924
|
+
_ctx.$emit("add", item.type);
|
|
15925
|
+
}
|
|
15926
|
+
},
|
|
15927
|
+
key: index
|
|
15928
|
+
}, null, 8, ["data"]);
|
|
15929
|
+
}),
|
|
15930
|
+
128
|
|
15931
|
+
/* KEYED_FRAGMENT */
|
|
15932
|
+
))
|
|
15933
|
+
]),
|
|
15934
|
+
_: 1
|
|
15935
|
+
/* STABLE */
|
|
15936
|
+
});
|
|
15937
|
+
};
|
|
15938
|
+
}
|
|
15939
|
+
});
|
|
15940
|
+
|
|
15823
15941
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
15824
15942
|
...{
|
|
15825
15943
|
name: "MEditorDataSourceConfigPanel"
|
|
@@ -15876,7 +15994,7 @@
|
|
|
15876
15994
|
}
|
|
15877
15995
|
});
|
|
15878
15996
|
return (_ctx, _cache) => {
|
|
15879
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
15997
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1k, {
|
|
15880
15998
|
visible: boxVisible.value,
|
|
15881
15999
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => boxVisible.value = $event),
|
|
15882
16000
|
width: width.value,
|
|
@@ -16005,7 +16123,7 @@
|
|
|
16005
16123
|
filter: filterTextChangeHandler
|
|
16006
16124
|
});
|
|
16007
16125
|
return (_ctx, _cache) => {
|
|
16008
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
16126
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$m, {
|
|
16009
16127
|
data: list.value,
|
|
16010
16128
|
"node-status-map": vue.unref(nodeStatusMap),
|
|
16011
16129
|
indent: __props.indent,
|
|
@@ -16036,7 +16154,7 @@
|
|
|
16036
16154
|
placement: "bottom"
|
|
16037
16155
|
}, {
|
|
16038
16156
|
default: vue.withCtx(() => [
|
|
16039
|
-
vue.createVNode(_sfc_main$
|
|
16157
|
+
vue.createVNode(_sfc_main$1s, {
|
|
16040
16158
|
icon: editable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View),
|
|
16041
16159
|
class: "edit-icon",
|
|
16042
16160
|
onClick: vue.withModifiers(($event) => editHandler(`${data.key}`), ["stop"])
|
|
@@ -16055,7 +16173,7 @@
|
|
|
16055
16173
|
},
|
|
16056
16174
|
{
|
|
16057
16175
|
default: vue.withCtx(() => [
|
|
16058
|
-
vue.createVNode(_sfc_main$
|
|
16176
|
+
vue.createVNode(_sfc_main$1s, {
|
|
16059
16177
|
icon: vue.unref(iconsVue.Close),
|
|
16060
16178
|
class: "edit-icon",
|
|
16061
16179
|
onClick: vue.withModifiers(($event) => removeHandler(`${data.key}`), ["stop"])
|
|
@@ -16222,53 +16340,14 @@
|
|
|
16222
16340
|
vue.createVNode(vue.unref(designPlugin.TMagicScrollbar), { class: "data-source-list-panel m-editor-layer-panel" }, {
|
|
16223
16341
|
default: vue.withCtx(() => [
|
|
16224
16342
|
vue.createElementVNode("div", _hoisted_1$8, [
|
|
16225
|
-
vue.createVNode(_sfc_main$
|
|
16226
|
-
vue.unref(editable) ? (vue.openBlock(), vue.createBlock(
|
|
16343
|
+
vue.createVNode(_sfc_main$o, { onSearch: filterTextChangeHandler }),
|
|
16344
|
+
vue.unref(editable) ? (vue.openBlock(), vue.createBlock(_sfc_main$j, {
|
|
16227
16345
|
key: 0,
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
"
|
|
16231
|
-
|
|
16232
|
-
},
|
|
16233
|
-
reference: vue.withCtx(() => [
|
|
16234
|
-
vue.createVNode(vue.unref(designPlugin.TMagicButton), {
|
|
16235
|
-
type: "primary",
|
|
16236
|
-
size: "small"
|
|
16237
|
-
}, {
|
|
16238
|
-
default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
16239
|
-
vue.createTextVNode(
|
|
16240
|
-
"新增",
|
|
16241
|
-
-1
|
|
16242
|
-
/* CACHED */
|
|
16243
|
-
)
|
|
16244
|
-
])]),
|
|
16245
|
-
_: 1
|
|
16246
|
-
/* STABLE */
|
|
16247
|
-
})
|
|
16248
|
-
]),
|
|
16249
|
-
default: vue.withCtx(() => [
|
|
16250
|
-
(vue.openBlock(true), vue.createElementBlock(
|
|
16251
|
-
vue.Fragment,
|
|
16252
|
-
null,
|
|
16253
|
-
vue.renderList(datasourceTypeList.value, (item, index) => {
|
|
16254
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$z, {
|
|
16255
|
-
data: {
|
|
16256
|
-
type: "button",
|
|
16257
|
-
text: item.text,
|
|
16258
|
-
handler: () => {
|
|
16259
|
-
addHandler(item.type);
|
|
16260
|
-
}
|
|
16261
|
-
},
|
|
16262
|
-
key: index
|
|
16263
|
-
}, null, 8, ["data"]);
|
|
16264
|
-
}),
|
|
16265
|
-
128
|
|
16266
|
-
/* KEYED_FRAGMENT */
|
|
16267
|
-
))
|
|
16268
|
-
]),
|
|
16269
|
-
_: 1
|
|
16270
|
-
/* STABLE */
|
|
16271
|
-
})) : vue.createCommentVNode("v-if", true),
|
|
16346
|
+
"add-button-text": "新增",
|
|
16347
|
+
"add-button-config": { type: "primary", size: "small" },
|
|
16348
|
+
"datasource-type-list": datasourceTypeList.value,
|
|
16349
|
+
onAdd: addHandler
|
|
16350
|
+
}, null, 8, ["datasource-type-list"])) : vue.createCommentVNode("v-if", true),
|
|
16272
16351
|
vue.renderSlot(_ctx.$slots, "data-source-panel-search")
|
|
16273
16352
|
]),
|
|
16274
16353
|
vue.createCommentVNode(" 数据源列表 "),
|
|
@@ -16294,7 +16373,7 @@
|
|
|
16294
16373
|
onClose: editDialogCloseHandler
|
|
16295
16374
|
}, null, 8, ["disabled", "values", "title", "onSubmit"]),
|
|
16296
16375
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
16297
|
-
menuData.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
16376
|
+
menuData.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
|
|
16298
16377
|
key: 0,
|
|
16299
16378
|
"menu-data": menuData.value,
|
|
16300
16379
|
ref: "menu",
|
|
@@ -16517,7 +16596,7 @@
|
|
|
16517
16596
|
show
|
|
16518
16597
|
});
|
|
16519
16598
|
return (_ctx, _cache) => {
|
|
16520
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
16599
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$p, {
|
|
16521
16600
|
"menu-data": menuData.value,
|
|
16522
16601
|
ref: "menu",
|
|
16523
16602
|
style: { "overflow": "initial" }
|
|
@@ -16541,26 +16620,14 @@
|
|
|
16541
16620
|
});
|
|
16542
16621
|
};
|
|
16543
16622
|
return (_ctx, _cache) => {
|
|
16544
|
-
return __props.data.type !== "page" ? (vue.openBlock(), vue.
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
title: "点击显示"
|
|
16553
|
-
}, null, 8, ["icon"])) : (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
|
|
16554
|
-
key: 1,
|
|
16555
|
-
icon: vue.unref(iconsVue.View),
|
|
16556
|
-
onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => setNodeVisible(false), ["stop"])),
|
|
16557
|
-
class: "node-lock",
|
|
16558
|
-
title: "点击隐藏"
|
|
16559
|
-
}, null, 8, ["icon"]))
|
|
16560
|
-
],
|
|
16561
|
-
64
|
|
16562
|
-
/* STABLE_FRAGMENT */
|
|
16563
|
-
)) : vue.createCommentVNode("v-if", true);
|
|
16623
|
+
return __props.data.type !== "page" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
|
|
16624
|
+
key: 0,
|
|
16625
|
+
link: "",
|
|
16626
|
+
type: __props.data.visible === false ? "primary" : "default",
|
|
16627
|
+
icon: __props.data.visible === false ? vue.unref(iconsVue.Hide) : vue.unref(iconsVue.View),
|
|
16628
|
+
title: __props.data.visible === false ? "点击显示" : "点击隐藏",
|
|
16629
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => setNodeVisible(__props.data.visible === false), ["stop"]))
|
|
16630
|
+
}, null, 8, ["type", "icon", "title"])) : vue.createCommentVNode("v-if", true);
|
|
16564
16631
|
};
|
|
16565
16632
|
}
|
|
16566
16633
|
});
|
|
@@ -17081,8 +17148,8 @@
|
|
|
17081
17148
|
return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicScrollbar), { class: "m-editor-layer-panel" }, {
|
|
17082
17149
|
default: vue.withCtx(() => [
|
|
17083
17150
|
vue.renderSlot(_ctx.$slots, "layer-panel-header"),
|
|
17084
|
-
vue.createVNode(_sfc_main$
|
|
17085
|
-
page.value && vue.unref(nodeStatusMap) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
17151
|
+
vue.createVNode(_sfc_main$o, { onSearch: vue.unref(filterTextChangeHandler) }, null, 8, ["onSearch"]),
|
|
17152
|
+
page.value && vue.unref(nodeStatusMap) ? (vue.openBlock(), vue.createBlock(_sfc_main$m, {
|
|
17086
17153
|
key: 0,
|
|
17087
17154
|
tabindex: "-1",
|
|
17088
17155
|
ref: "tree",
|
|
@@ -17211,7 +17278,7 @@
|
|
|
17211
17278
|
return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicScrollbar), null, {
|
|
17212
17279
|
default: vue.withCtx(() => [
|
|
17213
17280
|
vue.renderSlot(_ctx.$slots, "component-list-panel-header"),
|
|
17214
|
-
vue.createVNode(_sfc_main$
|
|
17281
|
+
vue.createVNode(_sfc_main$o, { onSearch: filterTextChangeHandler }),
|
|
17215
17282
|
vue.renderSlot(_ctx.$slots, "component-list", { componentGroupList: list.value }, () => [
|
|
17216
17283
|
vue.createVNode(vue.unref(designPlugin.TMagicCollapse), {
|
|
17217
17284
|
class: "ui-component-panel",
|
|
@@ -17232,7 +17299,7 @@
|
|
|
17232
17299
|
name: `${index}`
|
|
17233
17300
|
}, {
|
|
17234
17301
|
title: vue.withCtx(() => [
|
|
17235
|
-
vue.createVNode(_sfc_main$
|
|
17302
|
+
vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
|
|
17236
17303
|
vue.createTextVNode(
|
|
17237
17304
|
vue.toDisplayString(group.title),
|
|
17238
17305
|
1
|
|
@@ -17260,7 +17327,7 @@
|
|
|
17260
17327
|
content: item.desc
|
|
17261
17328
|
}, {
|
|
17262
17329
|
default: vue.withCtx(() => [
|
|
17263
|
-
vue.createVNode(_sfc_main$
|
|
17330
|
+
vue.createVNode(_sfc_main$1s, {
|
|
17264
17331
|
icon: item.icon
|
|
17265
17332
|
}, null, 8, ["icon"])
|
|
17266
17333
|
]),
|
|
@@ -17385,7 +17452,7 @@
|
|
|
17385
17452
|
type: "component",
|
|
17386
17453
|
icon: iconsVue.EditPen,
|
|
17387
17454
|
text: "代码编辑",
|
|
17388
|
-
component: _sfc_main$
|
|
17455
|
+
component: _sfc_main$k,
|
|
17389
17456
|
props: {
|
|
17390
17457
|
indent: props.indent,
|
|
17391
17458
|
nextLevelIndentIncrement: props.nextLevelIndentIncrement,
|
|
@@ -17486,7 +17553,7 @@
|
|
|
17486
17553
|
(...args) => vue.unref(dragstartHandler) && vue.unref(dragstartHandler)(...args)),
|
|
17487
17554
|
onDragend: ($event) => vue.unref(dragendHandler)(config.$key, $event)
|
|
17488
17555
|
}, [
|
|
17489
|
-
config.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
17556
|
+
config.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
|
|
17490
17557
|
key: 0,
|
|
17491
17558
|
icon: config.icon
|
|
17492
17559
|
}, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true),
|
|
@@ -17666,7 +17733,7 @@
|
|
|
17666
17733
|
1
|
|
17667
17734
|
/* TEXT */
|
|
17668
17735
|
),
|
|
17669
|
-
vue.createVNode(_sfc_main$
|
|
17736
|
+
vue.createVNode(_sfc_main$1s, {
|
|
17670
17737
|
icon: vue.unref(iconsVue.Close),
|
|
17671
17738
|
class: "close-icon",
|
|
17672
17739
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => tipsBarVisible.value = false, ["stop"]))
|
|
@@ -17682,7 +17749,7 @@
|
|
|
17682
17749
|
vue.Fragment,
|
|
17683
17750
|
null,
|
|
17684
17751
|
[
|
|
17685
|
-
vue.unref(floatBoxStates)[config.$key]?.status ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
17752
|
+
vue.unref(floatBoxStates)[config.$key]?.status ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
|
|
17686
17753
|
key: config.$key ?? index,
|
|
17687
17754
|
visible: vue.unref(floatBoxStates)[config.$key].status,
|
|
17688
17755
|
"onUpdate:visible": ($event) => vue.unref(floatBoxStates)[config.$key].status = $event,
|
|
@@ -18030,7 +18097,7 @@
|
|
|
18030
18097
|
_: 1
|
|
18031
18098
|
/* STABLE */
|
|
18032
18099
|
})) : vue.createCommentVNode("v-if", true),
|
|
18033
|
-
page.value && vue.unref(nodeStatusMap) && buttonVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
18100
|
+
page.value && vue.unref(nodeStatusMap) && buttonVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
|
|
18034
18101
|
key: 1,
|
|
18035
18102
|
ref: "box",
|
|
18036
18103
|
visible: visible.value,
|
|
@@ -18039,7 +18106,7 @@
|
|
|
18039
18106
|
position: menuPosition.value
|
|
18040
18107
|
}, {
|
|
18041
18108
|
body: vue.withCtx(() => [
|
|
18042
|
-
vue.createVNode(_sfc_main$
|
|
18109
|
+
vue.createVNode(_sfc_main$m, {
|
|
18043
18110
|
class: "m-editor-node-list-menu magic-editor-layer-tree",
|
|
18044
18111
|
data: nodeData.value,
|
|
18045
18112
|
"node-status-map": vue.unref(nodeStatusMap),
|
|
@@ -18329,7 +18396,7 @@
|
|
|
18329
18396
|
};
|
|
18330
18397
|
__expose({ show });
|
|
18331
18398
|
return (_ctx, _cache) => {
|
|
18332
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
18399
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$p, {
|
|
18333
18400
|
"menu-data": menuData.value,
|
|
18334
18401
|
ref: "menu"
|
|
18335
18402
|
}, null, 8, ["menu-data"]);
|
|
@@ -21452,7 +21519,7 @@
|
|
|
21452
21519
|
};
|
|
21453
21520
|
__expose(services);
|
|
21454
21521
|
return (_ctx, _cache) => {
|
|
21455
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
21522
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
21456
21523
|
"disabled-page-fragment": __props.disabledPageFragment,
|
|
21457
21524
|
"page-bar-sort-options": __props.pageBarSortOptions,
|
|
21458
21525
|
"page-filter-function": __props.pageFilterFunction
|
|
@@ -21462,7 +21529,7 @@
|
|
|
21462
21529
|
]),
|
|
21463
21530
|
nav: vue.withCtx(() => [
|
|
21464
21531
|
vue.renderSlot(_ctx.$slots, "nav", { editorService: vue.unref(editorService) }, () => [
|
|
21465
|
-
vue.createVNode(_sfc_main$
|
|
21532
|
+
vue.createVNode(_sfc_main$s, { data: __props.menu }, null, 8, ["data"])
|
|
21466
21533
|
])
|
|
21467
21534
|
]),
|
|
21468
21535
|
"content-before": vue.withCtx(() => [
|
|
@@ -21544,7 +21611,7 @@
|
|
|
21544
21611
|
]),
|
|
21545
21612
|
"props-panel": vue.withCtx(() => [
|
|
21546
21613
|
vue.renderSlot(_ctx.$slots, "props-panel", {}, () => [
|
|
21547
|
-
vue.createVNode(_sfc_main$
|
|
21614
|
+
vue.createVNode(_sfc_main$q, {
|
|
21548
21615
|
"extend-state": __props.extendFormState,
|
|
21549
21616
|
"disabled-show-src": __props.disabledShowSrc,
|
|
21550
21617
|
onMounted: propsPanelMountedHandler,
|
|
@@ -21606,25 +21673,25 @@
|
|
|
21606
21673
|
app.config.globalProperties.$TMAGIC_EDITOR = option;
|
|
21607
21674
|
setEditorConfig(option);
|
|
21608
21675
|
app.component(`${_sfc_main.name || "MEditor"}`, _sfc_main);
|
|
21609
|
-
app.component("magic-code-editor", _sfc_main$
|
|
21610
|
-
app.component("m-fields-ui-select", _sfc_main$
|
|
21611
|
-
app.component("m-fields-code-link", _sfc_main$
|
|
21612
|
-
app.component("m-fields-vs-code", _sfc_main$
|
|
21613
|
-
app.component("m-fields-code-select", _sfc_main$
|
|
21614
|
-
app.component("m-fields-code-select-col", _sfc_main$
|
|
21615
|
-
app.component("m-fields-event-select", _sfc_main$
|
|
21616
|
-
app.component("m-fields-data-source-fields", _sfc_main$
|
|
21617
|
-
app.component("m-fields-data-source-mocks", _sfc_main$
|
|
21618
|
-
app.component("m-fields-key-value", _sfc_main$
|
|
21619
|
-
app.component("m-fields-data-source-input", _sfc_main$
|
|
21620
|
-
app.component("m-fields-data-source-select", _sfc_main$
|
|
21621
|
-
app.component("m-fields-data-source-methods", _sfc_main$
|
|
21622
|
-
app.component("m-fields-data-source-method-select", _sfc_main$
|
|
21623
|
-
app.component("m-fields-data-source-field-select", _sfc_main$
|
|
21624
|
-
app.component("m-fields-page-fragment-select", _sfc_main$
|
|
21625
|
-
app.component("m-fields-display-conds", _sfc_main$
|
|
21626
|
-
app.component("m-fields-cond-op-select", _sfc_main$
|
|
21627
|
-
app.component("m-form-style-setter", _sfc_main$
|
|
21676
|
+
app.component("magic-code-editor", _sfc_main$1r);
|
|
21677
|
+
app.component("m-fields-ui-select", _sfc_main$D);
|
|
21678
|
+
app.component("m-fields-code-link", _sfc_main$1p);
|
|
21679
|
+
app.component("m-fields-vs-code", _sfc_main$1q);
|
|
21680
|
+
app.component("m-fields-code-select", _sfc_main$1o);
|
|
21681
|
+
app.component("m-fields-code-select-col", _sfc_main$1m);
|
|
21682
|
+
app.component("m-fields-event-select", _sfc_main$19);
|
|
21683
|
+
app.component("m-fields-data-source-fields", _sfc_main$1j);
|
|
21684
|
+
app.component("m-fields-data-source-mocks", _sfc_main$1c);
|
|
21685
|
+
app.component("m-fields-key-value", _sfc_main$17);
|
|
21686
|
+
app.component("m-fields-data-source-input", _sfc_main$1g);
|
|
21687
|
+
app.component("m-fields-data-source-select", _sfc_main$1b);
|
|
21688
|
+
app.component("m-fields-data-source-methods", _sfc_main$1e);
|
|
21689
|
+
app.component("m-fields-data-source-method-select", _sfc_main$1d);
|
|
21690
|
+
app.component("m-fields-data-source-field-select", _sfc_main$1h);
|
|
21691
|
+
app.component("m-fields-page-fragment-select", _sfc_main$16);
|
|
21692
|
+
app.component("m-fields-display-conds", _sfc_main$1a);
|
|
21693
|
+
app.component("m-fields-cond-op-select", _sfc_main$1l);
|
|
21694
|
+
app.component("m-form-style-setter", _sfc_main$E);
|
|
21628
21695
|
}
|
|
21629
21696
|
};
|
|
21630
21697
|
|
|
@@ -21640,60 +21707,61 @@
|
|
|
21640
21707
|
exports.COPY_CODE_STORAGE_KEY = COPY_CODE_STORAGE_KEY;
|
|
21641
21708
|
exports.COPY_DS_STORAGE_KEY = COPY_DS_STORAGE_KEY;
|
|
21642
21709
|
exports.COPY_STORAGE_KEY = COPY_STORAGE_KEY;
|
|
21643
|
-
exports.CodeBlockEditor = _sfc_main$
|
|
21644
|
-
exports.CodeBlockList = _sfc_main$
|
|
21645
|
-
exports.CodeBlockListPanel = _sfc_main$
|
|
21710
|
+
exports.CodeBlockEditor = _sfc_main$1f;
|
|
21711
|
+
exports.CodeBlockList = _sfc_main$l;
|
|
21712
|
+
exports.CodeBlockListPanel = _sfc_main$k;
|
|
21646
21713
|
exports.CodeDeleteErrorType = CodeDeleteErrorType;
|
|
21647
|
-
exports.CodeSelect = _sfc_main$
|
|
21648
|
-
exports.CodeSelectCol = _sfc_main$
|
|
21714
|
+
exports.CodeSelect = _sfc_main$1o;
|
|
21715
|
+
exports.CodeSelectCol = _sfc_main$1m;
|
|
21649
21716
|
exports.ColumnLayout = ColumnLayout;
|
|
21650
21717
|
exports.ComponentListPanel = _sfc_main$b;
|
|
21651
|
-
exports.CondOpSelect = _sfc_main$
|
|
21652
|
-
exports.ContentMenu = _sfc_main$
|
|
21718
|
+
exports.CondOpSelect = _sfc_main$1l;
|
|
21719
|
+
exports.ContentMenu = _sfc_main$p;
|
|
21653
21720
|
exports.DEFAULT_LEFT_COLUMN_WIDTH = DEFAULT_LEFT_COLUMN_WIDTH;
|
|
21654
21721
|
exports.DEFAULT_RIGHT_COLUMN_WIDTH = DEFAULT_RIGHT_COLUMN_WIDTH;
|
|
21722
|
+
exports.DataSourceAddButton = _sfc_main$j;
|
|
21655
21723
|
exports.DataSourceConfigPanel = _sfc_main$i;
|
|
21656
|
-
exports.DataSourceFieldSelect = _sfc_main$
|
|
21657
|
-
exports.DataSourceFields = _sfc_main$
|
|
21658
|
-
exports.DataSourceInput = _sfc_main$
|
|
21659
|
-
exports.DataSourceMethodSelect = _sfc_main$
|
|
21660
|
-
exports.DataSourceMethods = _sfc_main$
|
|
21661
|
-
exports.DataSourceMocks = _sfc_main$
|
|
21662
|
-
exports.DataSourceSelect = _sfc_main$
|
|
21663
|
-
exports.DisplayConds = _sfc_main$
|
|
21724
|
+
exports.DataSourceFieldSelect = _sfc_main$1h;
|
|
21725
|
+
exports.DataSourceFields = _sfc_main$1j;
|
|
21726
|
+
exports.DataSourceInput = _sfc_main$1g;
|
|
21727
|
+
exports.DataSourceMethodSelect = _sfc_main$1d;
|
|
21728
|
+
exports.DataSourceMethods = _sfc_main$1e;
|
|
21729
|
+
exports.DataSourceMocks = _sfc_main$1c;
|
|
21730
|
+
exports.DataSourceSelect = _sfc_main$1b;
|
|
21731
|
+
exports.DisplayConds = _sfc_main$1a;
|
|
21664
21732
|
exports.DragType = DragType;
|
|
21665
|
-
exports.EventSelect = _sfc_main$
|
|
21733
|
+
exports.EventSelect = _sfc_main$19;
|
|
21666
21734
|
exports.Fixed2Other = Fixed2Other;
|
|
21667
|
-
exports.FloatingBox = _sfc_main$
|
|
21735
|
+
exports.FloatingBox = _sfc_main$1k;
|
|
21668
21736
|
exports.H_GUIDE_LINE_STORAGE_KEY = H_GUIDE_LINE_STORAGE_KEY;
|
|
21669
|
-
exports.Icon = _sfc_main$
|
|
21737
|
+
exports.Icon = _sfc_main$1s;
|
|
21670
21738
|
exports.IdleTask = IdleTask;
|
|
21671
21739
|
exports.KeyBindingCommand = KeyBindingCommand;
|
|
21672
|
-
exports.KeyValue = _sfc_main$
|
|
21740
|
+
exports.KeyValue = _sfc_main$17;
|
|
21673
21741
|
exports.Keys = Keys;
|
|
21674
21742
|
exports.LEFT_COLUMN_WIDTH_STORAGE_KEY = LEFT_COLUMN_WIDTH_STORAGE_KEY;
|
|
21675
21743
|
exports.LayerOffset = LayerOffset;
|
|
21676
21744
|
exports.LayerPanel = _sfc_main$c;
|
|
21677
21745
|
exports.Layout = Layout;
|
|
21678
|
-
exports.LayoutContainer = _sfc_main$
|
|
21746
|
+
exports.LayoutContainer = _sfc_main$B;
|
|
21679
21747
|
exports.MIN_CENTER_COLUMN_WIDTH = MIN_CENTER_COLUMN_WIDTH;
|
|
21680
21748
|
exports.MIN_LEFT_COLUMN_WIDTH = MIN_LEFT_COLUMN_WIDTH;
|
|
21681
21749
|
exports.MIN_RIGHT_COLUMN_WIDTH = MIN_RIGHT_COLUMN_WIDTH;
|
|
21682
21750
|
exports.PROPS_PANEL_WIDTH_STORAGE_KEY = PROPS_PANEL_WIDTH_STORAGE_KEY;
|
|
21683
|
-
exports.PageFragmentSelect = _sfc_main$
|
|
21684
|
-
exports.PropsFormPanel = _sfc_main$
|
|
21685
|
-
exports.PropsPanel = _sfc_main$
|
|
21751
|
+
exports.PageFragmentSelect = _sfc_main$16;
|
|
21752
|
+
exports.PropsFormPanel = _sfc_main$r;
|
|
21753
|
+
exports.PropsPanel = _sfc_main$q;
|
|
21686
21754
|
exports.RIGHT_COLUMN_WIDTH_STORAGE_KEY = RIGHT_COLUMN_WIDTH_STORAGE_KEY;
|
|
21687
|
-
exports.Resizer = _sfc_main$
|
|
21755
|
+
exports.Resizer = _sfc_main$C;
|
|
21688
21756
|
exports.ScrollViewer = ScrollViewer;
|
|
21689
21757
|
exports.SideItemKey = SideItemKey;
|
|
21690
|
-
exports.SplitView = _sfc_main$
|
|
21691
|
-
exports.StyleSetter = _sfc_main$
|
|
21692
|
-
exports.TMagicCodeEditor = _sfc_main$
|
|
21758
|
+
exports.SplitView = _sfc_main$B;
|
|
21759
|
+
exports.StyleSetter = _sfc_main$E;
|
|
21760
|
+
exports.TMagicCodeEditor = _sfc_main$1r;
|
|
21693
21761
|
exports.TMagicEditor = _sfc_main;
|
|
21694
|
-
exports.ToolButton = _sfc_main$
|
|
21695
|
-
exports.Tree = _sfc_main$
|
|
21696
|
-
exports.TreeNode = _sfc_main$
|
|
21762
|
+
exports.ToolButton = _sfc_main$A;
|
|
21763
|
+
exports.Tree = _sfc_main$m;
|
|
21764
|
+
exports.TreeNode = _sfc_main$n;
|
|
21697
21765
|
exports.UI_SELECT_MODE_EVENT_NAME = UI_SELECT_MODE_EVENT_NAME;
|
|
21698
21766
|
exports.UndoRedo = UndoRedo;
|
|
21699
21767
|
exports.V_GUIDE_LINE_STORAGE_KEY = V_GUIDE_LINE_STORAGE_KEY;
|