@tmagic/editor 1.6.0-beta.6 → 1.6.1

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.
@@ -13,7 +13,7 @@ import { throttle, isEmpty, isObject, cloneDeep, mergeWith, uniq, get, map, has,
13
13
  import serialize from 'serialize-javascript';
14
14
  import { emmetHTML, emmetCSS } from 'emmet-monaco-es';
15
15
  import * as monaco from 'monaco-editor';
16
- import { HookCodeType, HookType, NODE_DISABLE_CODE_BLOCK_KEY, NODE_DISABLE_DATA_SOURCE_KEY, NODE_CONDS_KEY, Target, Watcher, NodeType, ActionType, DepTargetType, traverseTarget, createCodeBlockTarget, createDataSourceTarget, createDataSourceCondTarget, createDataSourceMethodTarget, updateNode } from '@tmagic/core';
16
+ import { HookCodeType, HookType, NODE_DISABLE_CODE_BLOCK_KEY, NODE_DISABLE_DATA_SOURCE_KEY, NODE_CONDS_RESULT_KEY, NODE_CONDS_KEY, Target, Watcher, NodeType, ActionType, DepTargetType, traverseTarget, createCodeBlockTarget, createDataSourceTarget, createDataSourceCondTarget, createDataSourceMethodTarget, updateNode } from '@tmagic/core';
17
17
  export { DepTargetType } from '@tmagic/core';
18
18
  import { isPage, isPageFragment, isPop, getNodePath, isNumber, getElById, calcValueByFontsize, isValueIncludeDataSource, toLine, guid, getValueByKeyPath, setValueByKeyPath, getNodeInfo, DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX, dataSourceTemplateRegExp, getKeysArray, getKeys, convertToNumber, getIdFromEl, traverseNode, getDefaultValueFromFields, DATA_SOURCE_FIELDS_CHANGE_EVENT_PREFIX, removeClassName, addClassName, removeClassNameByClassName, getNodes, getDepNodeIds } from '@tmagic/utils';
19
19
  export * from '@tmagic/utils';
@@ -27,7 +27,7 @@ import { detailedDiff } from 'deep-object-diff';
27
27
  import Sortable from 'sortablejs';
28
28
  import KeyController from 'keycon';
29
29
 
30
- const _hoisted_1$10 = ["src"];
30
+ const _hoisted_1$$ = ["src"];
31
31
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
32
32
  ...{
33
33
  name: "MEditorIcon"
@@ -39,7 +39,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
39
39
  setup(__props) {
40
40
  const isRelativePath = (str) => /^(\.|(\.\.)?\/)/.test(str);
41
41
  return (_ctx, _cache) => {
42
- return !_ctx.icon ? (openBlock(), createBlock(unref(TMagicIcon), {
42
+ return !__props.icon ? (openBlock(), createBlock(unref(TMagicIcon), {
43
43
  key: 0,
44
44
  class: "magic-editor-icon"
45
45
  }, {
@@ -48,20 +48,20 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
48
48
  ]),
49
49
  _: 1
50
50
  /* STABLE */
51
- })) : typeof _ctx.icon === "string" && (_ctx.icon.startsWith("http") || isRelativePath(_ctx.icon)) ? (openBlock(), createBlock(unref(TMagicIcon), {
51
+ })) : typeof __props.icon === "string" && (__props.icon.startsWith("http") || isRelativePath(__props.icon)) ? (openBlock(), createBlock(unref(TMagicIcon), {
52
52
  key: 1,
53
53
  class: "magic-editor-icon"
54
54
  }, {
55
55
  default: withCtx(() => [
56
- createElementVNode("img", { src: _ctx.icon }, null, 8, _hoisted_1$10)
56
+ createElementVNode("img", { src: __props.icon }, null, 8, _hoisted_1$$)
57
57
  ]),
58
58
  _: 1
59
59
  /* STABLE */
60
- })) : typeof _ctx.icon === "string" ? (openBlock(), createElementBlock(
60
+ })) : typeof __props.icon === "string" ? (openBlock(), createElementBlock(
61
61
  "i",
62
62
  {
63
63
  key: 2,
64
- class: normalizeClass(["magic-editor-icon", _ctx.icon])
64
+ class: normalizeClass(["magic-editor-icon", __props.icon])
65
65
  },
66
66
  null,
67
67
  2
@@ -71,7 +71,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
71
71
  class: "magic-editor-icon"
72
72
  }, {
73
73
  default: withCtx(() => [
74
- (openBlock(), createBlock(resolveDynamicComponent(toRaw(_ctx.icon))))
74
+ (openBlock(), createBlock(resolveDynamicComponent(toRaw(__props.icon))))
75
75
  ]),
76
76
  _: 1
77
77
  /* STABLE */
@@ -89,10 +89,10 @@ const getEditorConfig = (key) => $TMAGIC_EDITOR[key];
89
89
  emmetHTML(monaco);
90
90
  emmetCSS(monaco, ["css", "scss"]);
91
91
 
92
- const _hoisted_1$$ = {
92
+ const _hoisted_1$_ = {
93
93
  class: /* @__PURE__ */ normalizeClass(`magic-code-editor`)
94
94
  };
95
- const _hoisted_2$n = {
95
+ const _hoisted_2$o = {
96
96
  ref: "codeEditor",
97
97
  class: "magic-code-editor-content"
98
98
  };
@@ -287,7 +287,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
287
287
  }
288
288
  });
289
289
  return (_ctx, _cache) => {
290
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
290
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
291
291
  (openBlock(), createBlock(Teleport, {
292
292
  to: "body",
293
293
  disabled: !fullScreen.value
@@ -296,10 +296,10 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
296
296
  "div",
297
297
  {
298
298
  class: normalizeClass(`magic-code-editor-wrapper${fullScreen.value ? " full-screen" : ""}`),
299
- style: normalizeStyle(!fullScreen.value && _ctx.height ? `height: ${_ctx.height}` : "100%")
299
+ style: normalizeStyle(!fullScreen.value && __props.height ? `height: ${__props.height}` : "100%")
300
300
  },
301
301
  [
302
- !_ctx.disabledFullScreen ? (openBlock(), createBlock(unref(TMagicButton), {
302
+ !__props.disabledFullScreen ? (openBlock(), createBlock(unref(TMagicButton), {
303
303
  key: 0,
304
304
  class: "magic-code-editor-full-screen-icon",
305
305
  circle: "",
@@ -314,7 +314,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
314
314
  })) : createCommentVNode("v-if", true),
315
315
  createElementVNode(
316
316
  "div",
317
- _hoisted_2$n,
317
+ _hoisted_2$o,
318
318
  null,
319
319
  512
320
320
  /* NEED_PATCH */
@@ -353,14 +353,14 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
353
353
  };
354
354
  return (_ctx, _cache) => {
355
355
  return openBlock(), createBlock(_sfc_main$1q, {
356
- height: _ctx.config.height,
357
- "init-values": _ctx.model[_ctx.name],
358
- language: _ctx.config.language,
356
+ height: __props.config.height,
357
+ "init-values": __props.model[__props.name],
358
+ language: __props.config.language,
359
359
  options: {
360
- ..._ctx.config.options,
361
- readOnly: _ctx.disabled
360
+ ...__props.config.options,
361
+ readOnly: __props.disabled
362
362
  },
363
- parse: _ctx.config.parse,
363
+ parse: __props.config.parse,
364
364
  onSave: save
365
365
  }, null, 8, ["height", "init-values", "language", "options", "parse"]);
366
366
  };
@@ -554,18 +554,18 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
554
554
  return openBlock(), createElementBlock(
555
555
  "div",
556
556
  {
557
- class: normalizeClass(["m-fields-code-select", _ctx.config.className])
557
+ class: normalizeClass(["m-fields-code-select", __props.config.className])
558
558
  },
559
559
  [
560
560
  createVNode(unref(TMagicCard), null, {
561
561
  default: withCtx(() => [
562
562
  createVNode(unref(MContainer), {
563
563
  config: codeConfig.value,
564
- size: _ctx.size,
565
- prop: _ctx.prop,
566
- disabled: _ctx.disabled,
567
- lastValues: _ctx.lastValues,
568
- model: _ctx.model[_ctx.name],
564
+ size: __props.size,
565
+ prop: __props.prop,
566
+ disabled: __props.disabled,
567
+ lastValues: __props.lastValues,
568
+ model: __props.model[__props.name],
569
569
  onChange: changeHandler
570
570
  }, null, 8, ["config", "size", "prop", "disabled", "lastValues", "model"])
571
571
  ]),
@@ -716,8 +716,19 @@ const advancedTabConfig = {
716
716
  };
717
717
  const displayTabConfig = {
718
718
  title: "显示条件",
719
- display: (_vm, { model }) => model.type !== "page",
719
+ display: (_state, { model }) => model.type !== "page",
720
720
  items: [
721
+ {
722
+ name: NODE_CONDS_RESULT_KEY,
723
+ type: "select",
724
+ text: "条件成立时",
725
+ defaultValue: false,
726
+ options: [
727
+ { text: "显示", value: false },
728
+ { text: "隐藏", value: true }
729
+ ],
730
+ extra: (_state, { model }) => `条件成立时${model[NODE_CONDS_RESULT_KEY] ? "隐藏" : "显示"},不成立时${model[NODE_CONDS_RESULT_KEY] ? "显示" : "隐藏"};<br />同一条件组内的所有条件配置同时成立时表示该条件组成立,任意一个条件组成立时表示条件成立(条件组内为且的关系,条件组间为或的关系);<br />条件为空时表示成立;`
731
+ },
721
732
  {
722
733
  type: "display-conds",
723
734
  name: NODE_CONDS_KEY,
@@ -3240,9 +3251,9 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
3240
3251
  return openBlock(), createBlock(unref(MForm), {
3241
3252
  ref: "form",
3242
3253
  config: codeParamsConfig.value,
3243
- "init-values": _ctx.model,
3244
- disabled: _ctx.disabled,
3245
- size: _ctx.size,
3254
+ "init-values": __props.model,
3255
+ disabled: __props.disabled,
3256
+ size: __props.size,
3246
3257
  "watch-props": false,
3247
3258
  onChange: onParamsChangeHandler
3248
3259
  }, null, 8, ["config", "init-values", "disabled", "size"]);
@@ -3250,8 +3261,8 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
3250
3261
  }
3251
3262
  });
3252
3263
 
3253
- const _hoisted_1$_ = { class: "m-fields-code-select-col" };
3254
- const _hoisted_2$m = { class: "code-select-container" };
3264
+ const _hoisted_1$Z = { class: "m-fields-code-select-col" };
3265
+ const _hoisted_2$n = { class: "code-select-container" };
3255
3266
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
3256
3267
  ...{
3257
3268
  name: "MFieldsCodeSelectCol"
@@ -3351,22 +3362,22 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
3351
3362
  eventBus?.emit("edit-code", id);
3352
3363
  };
3353
3364
  return (_ctx, _cache) => {
3354
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
3355
- createElementVNode("div", _hoisted_2$m, [
3365
+ return openBlock(), createElementBlock("div", _hoisted_1$Z, [
3366
+ createElementVNode("div", _hoisted_2$n, [
3356
3367
  createCommentVNode(" 代码块下拉框 "),
3357
3368
  createVNode(unref(MContainer), {
3358
3369
  class: "select",
3359
3370
  config: selectConfig,
3360
- model: _ctx.model,
3361
- size: _ctx.size,
3371
+ model: __props.model,
3372
+ size: __props.size,
3362
3373
  onChange: onCodeIdChangeHandler
3363
3374
  }, null, 8, ["model", "size"]),
3364
3375
  createCommentVNode(" 查看/编辑按钮 "),
3365
- _ctx.model[_ctx.name] && hasCodeBlockSidePanel.value ? (openBlock(), createBlock(unref(TMagicButton), {
3376
+ __props.model[__props.name] && hasCodeBlockSidePanel.value ? (openBlock(), createBlock(unref(TMagicButton), {
3366
3377
  key: 0,
3367
3378
  class: "m-fields-select-action-button",
3368
- size: _ctx.size,
3369
- onClick: _cache[0] || (_cache[0] = ($event) => editCode(_ctx.model[_ctx.name]))
3379
+ size: __props.size,
3380
+ onClick: _cache[0] || (_cache[0] = ($event) => editCode(__props.model[__props.name]))
3370
3381
  }, {
3371
3382
  default: withCtx(() => [
3372
3383
  createVNode(_sfc_main$1r, {
@@ -3380,9 +3391,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
3380
3391
  createCommentVNode(" 参数填写框 "),
3381
3392
  paramsConfig.value.length ? (openBlock(), createBlock(_sfc_main$1m, {
3382
3393
  name: "params",
3383
- key: _ctx.model[_ctx.name],
3384
- model: _ctx.model,
3385
- size: _ctx.size,
3394
+ key: __props.model[__props.name],
3395
+ model: __props.model,
3396
+ size: __props.size,
3386
3397
  "params-config": paramsConfig.value,
3387
3398
  onChange: onParamsChangeHandler
3388
3399
  }, null, 8, ["model", "size", "params-config"])) : createCommentVNode("v-if", true)
@@ -3445,12 +3456,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
3445
3456
  };
3446
3457
  return (_ctx, _cache) => {
3447
3458
  return openBlock(), createBlock(unref(TMagicSelect), {
3448
- modelValue: _ctx.model[_ctx.name],
3449
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
3459
+ modelValue: __props.model[__props.name],
3460
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
3450
3461
  clearable: "",
3451
3462
  filterable: "",
3452
- size: _ctx.size,
3453
- disabled: _ctx.disabled,
3463
+ size: __props.size,
3464
+ disabled: __props.disabled,
3454
3465
  onChange: fieldChangeHandler
3455
3466
  }, {
3456
3467
  default: withCtx(() => [
@@ -3490,7 +3501,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
3490
3501
  }
3491
3502
  });
3492
3503
 
3493
- const _hoisted_1$Z = {
3504
+ const _hoisted_1$Y = {
3494
3505
  ref: "title",
3495
3506
  class: "m-editor-float-box-title"
3496
3507
  };
@@ -3638,13 +3649,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
3638
3649
  [
3639
3650
  createElementVNode(
3640
3651
  "div",
3641
- _hoisted_1$Z,
3652
+ _hoisted_1$Y,
3642
3653
  [
3643
3654
  renderSlot(_ctx.$slots, "title", {}, () => [
3644
3655
  createElementVNode(
3645
3656
  "span",
3646
3657
  null,
3647
- toDisplayString(_ctx.title),
3658
+ toDisplayString(__props.title),
3648
3659
  1
3649
3660
  /* TEXT */
3650
3661
  )
@@ -4187,8 +4198,8 @@ const useNodeStatus$1 = (nodeData) => {
4187
4198
  };
4188
4199
  };
4189
4200
 
4190
- const _hoisted_1$Y = { class: "m-editor-data-source-fields" };
4191
- const _hoisted_2$l = { class: "m-editor-data-source-fields-footer" };
4201
+ const _hoisted_1$X = { class: "m-editor-data-source-fields" };
4202
+ const _hoisted_2$m = { class: "m-editor-data-source-fields-footer" };
4192
4203
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4193
4204
  ...{
4194
4205
  name: "MFieldsDataSourceFields"
@@ -4454,37 +4465,45 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4454
4465
  const parentFloating = inject("parentFloating", ref(null));
4455
4466
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, parentFloating);
4456
4467
  return (_ctx, _cache) => {
4457
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
4468
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
4458
4469
  createVNode(unref(MagicTable), {
4459
- data: _ctx.model[_ctx.name],
4470
+ data: __props.model[__props.name],
4460
4471
  columns: fieldColumns,
4461
4472
  border: true
4462
4473
  }, null, 8, ["data"]),
4463
- createElementVNode("div", _hoisted_2$l, [
4474
+ createElementVNode("div", _hoisted_2$m, [
4464
4475
  createVNode(unref(TMagicButton), {
4465
4476
  size: "small",
4466
- disabled: _ctx.disabled,
4477
+ disabled: __props.disabled,
4467
4478
  plain: "",
4468
4479
  onClick: _cache[0] || (_cache[0] = ($event) => newFromJsonHandler())
4469
4480
  }, {
4470
- default: withCtx(() => _cache[8] || (_cache[8] = [
4471
- createTextVNode("快速添加")
4472
- ])),
4473
- _: 1,
4474
- __: [8]
4481
+ default: withCtx(() => [..._cache[8] || (_cache[8] = [
4482
+ createTextVNode(
4483
+ "快速添加",
4484
+ -1
4485
+ /* CACHED */
4486
+ )
4487
+ ])]),
4488
+ _: 1
4489
+ /* STABLE */
4475
4490
  }, 8, ["disabled"]),
4476
4491
  createVNode(unref(TMagicButton), {
4477
4492
  size: "small",
4478
4493
  type: "primary",
4479
- disabled: _ctx.disabled,
4494
+ disabled: __props.disabled,
4480
4495
  plain: "",
4481
4496
  onClick: _cache[1] || (_cache[1] = ($event) => newHandler())
4482
4497
  }, {
4483
- default: withCtx(() => _cache[9] || (_cache[9] = [
4484
- createTextVNode("添加")
4485
- ])),
4486
- _: 1,
4487
- __: [9]
4498
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
4499
+ createTextVNode(
4500
+ "添加",
4501
+ -1
4502
+ /* CACHED */
4503
+ )
4504
+ ])]),
4505
+ _: 1
4506
+ /* STABLE */
4488
4507
  }, 8, ["disabled"])
4489
4508
  ]),
4490
4509
  createVNode(_sfc_main$1j, {
@@ -4503,8 +4522,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4503
4522
  title: fieldTitle.value,
4504
4523
  config: dataSourceFieldsConfig,
4505
4524
  values: fieldValues.value,
4506
- parentValues: _ctx.model[_ctx.name],
4507
- disabled: _ctx.disabled,
4525
+ parentValues: __props.model[__props.name],
4526
+ disabled: __props.disabled,
4508
4527
  onSubmit: fieldChange
4509
4528
  }, null, 8, ["title", "values", "parentValues", "disabled"])
4510
4529
  ]),
@@ -4525,7 +4544,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4525
4544
  createVNode(unref(MFormBox), {
4526
4545
  config: jsonFromConfig,
4527
4546
  values: jsonFromValues.value,
4528
- disabled: _ctx.disabled,
4547
+ disabled: __props.disabled,
4529
4548
  onSubmit: addFromJsonFromChange
4530
4549
  }, null, 8, ["values", "disabled"])
4531
4550
  ]),
@@ -4537,7 +4556,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4537
4556
  }
4538
4557
  });
4539
4558
 
4540
- const _hoisted_1$X = { class: "m-editor-data-source-field-select" };
4559
+ const _hoisted_1$W = { class: "m-editor-data-source-field-select" };
4541
4560
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4542
4561
  __name: "FieldSelect",
4543
4562
  props: /* @__PURE__ */ mergeModels({
@@ -4619,8 +4638,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4619
4638
  eventBus?.emit("edit-data-source", removeDataSourceFieldPrefix(id));
4620
4639
  };
4621
4640
  return (_ctx, _cache) => {
4622
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
4623
- _ctx.checkStrictly ? (openBlock(), createElementBlock(
4641
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
4642
+ __props.checkStrictly ? (openBlock(), createElementBlock(
4624
4643
  Fragment,
4625
4644
  { key: 0 },
4626
4645
  [
@@ -4628,8 +4647,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4628
4647
  "model-value": selectDataSourceId.value,
4629
4648
  clearable: "",
4630
4649
  filterable: "",
4631
- size: _ctx.size,
4632
- disabled: _ctx.disabled,
4650
+ size: __props.size,
4651
+ disabled: __props.disabled,
4633
4652
  onChange: dsChangeHandler
4634
4653
  }, {
4635
4654
  default: withCtx(() => [
@@ -4671,11 +4690,11 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4671
4690
  "model-value": selectFieldsId.value,
4672
4691
  clearable: "",
4673
4692
  filterable: "",
4674
- size: _ctx.size,
4675
- disabled: _ctx.disabled,
4693
+ size: __props.size,
4694
+ disabled: __props.disabled,
4676
4695
  options: fieldsOptions.value,
4677
4696
  props: {
4678
- checkStrictly: _ctx.checkStrictly
4697
+ checkStrictly: __props.checkStrictly
4679
4698
  },
4680
4699
  onChange: fieldChangeHandler
4681
4700
  }, null, 8, ["model-value", "size", "disabled", "options", "props"])
@@ -4687,11 +4706,11 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4687
4706
  clearable: "",
4688
4707
  filterable: "",
4689
4708
  "model-value": modelValue.value,
4690
- disabled: _ctx.disabled,
4691
- size: _ctx.size,
4709
+ disabled: __props.disabled,
4710
+ size: __props.size,
4692
4711
  options: cascaderOptions.value,
4693
4712
  props: {
4694
- checkStrictly: _ctx.checkStrictly
4713
+ checkStrictly: __props.checkStrictly
4695
4714
  },
4696
4715
  onChange: onChangeHandler
4697
4716
  }, null, 8, ["model-value", "disabled", "size", "options", "props"])),
@@ -4702,7 +4721,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4702
4721
  default: withCtx(() => [
4703
4722
  createVNode(unref(TMagicButton), {
4704
4723
  class: "m-fields-select-action-button",
4705
- size: _ctx.size,
4724
+ size: __props.size,
4706
4725
  onClick: _cache[0] || (_cache[0] = ($event) => editHandler(selectDataSourceId.value))
4707
4726
  }, {
4708
4727
  default: withCtx(() => [
@@ -4722,7 +4741,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4722
4741
  }
4723
4742
  });
4724
4743
 
4725
- const _hoisted_1$W = { class: "m-fields-data-source-field-select" };
4744
+ const _hoisted_1$V = { class: "m-fields-data-source-field-select" };
4726
4745
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4727
4746
  ...{
4728
4747
  name: "MFieldsDataSourceFieldSelect"
@@ -4825,39 +4844,38 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4825
4844
  }
4826
4845
  };
4827
4846
  return (_ctx, _cache) => {
4828
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
4829
- !disabledDataSource.value && (showDataSourceFieldSelect.value || !_ctx.config.fieldConfig) ? (openBlock(), createBlock(_sfc_main$1h, {
4847
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
4848
+ !disabledDataSource.value && (showDataSourceFieldSelect.value || !__props.config.fieldConfig) ? (openBlock(), createBlock(_sfc_main$1h, {
4830
4849
  key: 0,
4831
- "model-value": _ctx.model[_ctx.name],
4832
- disabled: _ctx.disabled,
4833
- size: _ctx.size,
4834
- value: _ctx.config.value,
4850
+ "model-value": __props.model[__props.name],
4851
+ disabled: __props.disabled,
4852
+ size: __props.size,
4853
+ value: __props.config.value,
4835
4854
  checkStrictly: checkStrictly.value,
4836
- dataSourceFieldType: _ctx.config.dataSourceFieldType,
4855
+ dataSourceFieldType: __props.config.dataSourceFieldType,
4837
4856
  onChange: onChangeHandler
4838
4857
  }, null, 8, ["model-value", "disabled", "size", "value", "checkStrictly", "dataSourceFieldType"])) : (openBlock(), createBlock(resolveDynamicComponent(tagName.value), {
4839
4858
  key: 1,
4840
- config: _ctx.config.fieldConfig,
4841
- model: _ctx.model,
4842
- name: _ctx.name,
4843
- disabled: _ctx.disabled,
4844
- size: _ctx.size,
4845
- "last-values": _ctx.lastValues,
4846
- "init-values": _ctx.initValues,
4847
- values: _ctx.values,
4848
- prop: _ctx.prop,
4859
+ config: __props.config.fieldConfig,
4860
+ model: __props.model,
4861
+ name: __props.name,
4862
+ disabled: __props.disabled,
4863
+ size: __props.size,
4864
+ "last-values": __props.lastValues,
4865
+ "init-values": __props.initValues,
4866
+ values: __props.values,
4867
+ prop: __props.prop,
4849
4868
  onChange: onChangeHandler
4850
4869
  }, null, 40, ["config", "model", "name", "disabled", "size", "last-values", "init-values", "values", "prop"])),
4851
- _ctx.config.fieldConfig && !disabledDataSource.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
4870
+ __props.config.fieldConfig && !disabledDataSource.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
4852
4871
  key: 2,
4853
4872
  disabled: showDataSourceFieldSelect.value,
4854
4873
  content: "选择数据源"
4855
4874
  }, {
4856
4875
  default: withCtx(() => [
4857
4876
  createVNode(unref(TMagicButton), {
4858
- style: { "margin-left": "5px" },
4859
4877
  type: showDataSourceFieldSelect.value ? "primary" : "default",
4860
- size: _ctx.size,
4878
+ size: __props.size,
4861
4879
  onClick: _cache[0] || (_cache[0] = ($event) => showDataSourceFieldSelect.value = !showDataSourceFieldSelect.value)
4862
4880
  }, {
4863
4881
  default: withCtx(() => [
@@ -4875,9 +4893,9 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4875
4893
  }
4876
4894
  });
4877
4895
 
4878
- const _hoisted_1$V = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
4879
- const _hoisted_2$k = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
4880
- const _hoisted_3$7 = { class: "el-input__inner t-input__inner" };
4896
+ const _hoisted_1$U = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
4897
+ const _hoisted_2$l = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
4898
+ const _hoisted_3$8 = { class: "el-input__inner t-input__inner" };
4881
4899
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4882
4900
  ...{
4883
4901
  name: "MFieldsDataSourceInput"
@@ -5059,11 +5077,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5059
5077
  key: 0,
5060
5078
  modelValue: state.value,
5061
5079
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
5062
- disabled: _ctx.disabled,
5063
- size: _ctx.size,
5080
+ disabled: __props.disabled,
5081
+ size: __props.size,
5064
5082
  clearable: true,
5065
5083
  onChange: changeHandler
5066
- }, null, 8, ["modelValue", "disabled", "size"])) : _ctx.disabled || isFocused.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(getDesignConfig)("components")?.autocomplete.component || "el-autocomplete"), mergeProps(
5084
+ }, null, 8, ["modelValue", "disabled", "size"])) : __props.disabled || isFocused.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(getDesignConfig)("components")?.autocomplete.component || "el-autocomplete"), mergeProps(
5067
5085
  {
5068
5086
  key: 1,
5069
5087
  class: "tmagic-design-auto-complete",
@@ -5072,8 +5090,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5072
5090
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.value = $event)
5073
5091
  },
5074
5092
  unref(getDesignConfig)("components")?.autocomplete.props({
5075
- disabled: _ctx.disabled,
5076
- size: _ctx.size,
5093
+ disabled: __props.disabled,
5094
+ size: __props.size,
5077
5095
  fetchSuggestions: querySearch,
5078
5096
  triggerOnFocus: false,
5079
5097
  clearable: true
@@ -5089,7 +5107,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5089
5107
  createVNode(_sfc_main$1r, { icon: unref(Coin) }, null, 8, ["icon"])
5090
5108
  ]),
5091
5109
  default: withCtx(({ item }) => [
5092
- createElementVNode("div", _hoisted_1$V, [
5110
+ createElementVNode("div", _hoisted_1$U, [
5093
5111
  createElementVNode(
5094
5112
  "div",
5095
5113
  null,
@@ -5099,7 +5117,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5099
5117
  ),
5100
5118
  createElementVNode(
5101
5119
  "span",
5102
- _hoisted_2$k,
5120
+ _hoisted_2$l,
5103
5121
  toDisplayString(item.value),
5104
5122
  1
5105
5123
  /* TEXT */
@@ -5112,7 +5130,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5112
5130
  "div",
5113
5131
  {
5114
5132
  key: 2,
5115
- class: normalizeClass(`tmagic-data-source-input-text el-input t-input t-size-${_ctx.size?.[0]} el-input--${_ctx.size}`),
5133
+ class: normalizeClass(`tmagic-data-source-input-text el-input t-input t-size-${__props.size?.[0]} el-input--${__props.size}`),
5116
5134
  onMouseup: mouseupHandler
5117
5135
  },
5118
5136
  [
@@ -5122,7 +5140,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5122
5140
  class: normalizeClass(`tmagic-data-source-input-text-wrapper el-input__wrapper ${isFocused.value ? " is-focus" : ""}`)
5123
5141
  },
5124
5142
  [
5125
- createElementVNode("div", _hoisted_3$7, [
5143
+ createElementVNode("div", _hoisted_3$8, [
5126
5144
  (openBlock(true), createElementBlock(
5127
5145
  Fragment,
5128
5146
  null,
@@ -5143,7 +5161,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5143
5161
  )) : createCommentVNode("v-if", true),
5144
5162
  item.type === "var" ? (openBlock(), createBlock(unref(TMagicTag), {
5145
5163
  key: index,
5146
- size: _ctx.size
5164
+ size: __props.size
5147
5165
  }, {
5148
5166
  default: withCtx(() => [
5149
5167
  createTextVNode(
@@ -5180,9 +5198,9 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5180
5198
  }
5181
5199
  });
5182
5200
 
5183
- const _hoisted_1$U = { style: { "display": "flex", "margin-bottom": "10px" } };
5184
- const _hoisted_2$j = { style: { "flex": "1" } };
5185
- const _hoisted_3$6 = { style: { "flex": "1" } };
5201
+ const _hoisted_1$T = { style: { "display": "flex", "margin-bottom": "10px" } };
5202
+ const _hoisted_2$k = { style: { "flex": "1" } };
5203
+ const _hoisted_3$7 = { style: { "flex": "1" } };
5186
5204
  const _hoisted_4$5 = { class: "dialog-footer" };
5187
5205
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5188
5206
  ...{
@@ -5377,7 +5395,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5377
5395
  "onUpdate:width": _cache[2] || (_cache[2] = ($event) => width.value = $event),
5378
5396
  height: unref(codeBlockEditorHeight),
5379
5397
  "onUpdate:height": _cache[3] || (_cache[3] = ($event) => isRef(codeBlockEditorHeight) ? codeBlockEditorHeight.value = $event : null),
5380
- title: _ctx.content.name ? `${_ctx.disabled ? "查看" : "编辑"}${_ctx.content.name}` : "新增代码",
5398
+ title: __props.content.name ? `${__props.disabled ? "查看" : "编辑"}${__props.content.name}` : "新增代码",
5381
5399
  position: unref(boxPosition),
5382
5400
  "before-close": beforeClose
5383
5401
  }, {
@@ -5388,10 +5406,10 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5388
5406
  ref: formBox,
5389
5407
  "label-width": "80px",
5390
5408
  "close-on-press-escape": false,
5391
- title: _ctx.content.name,
5409
+ title: __props.content.name,
5392
5410
  config: functionConfig.value,
5393
- values: _ctx.content,
5394
- disabled: _ctx.disabled,
5411
+ values: __props.content,
5412
+ disabled: __props.disabled,
5395
5413
  style: { "height": "100%" },
5396
5414
  onChange: changeHandler,
5397
5415
  onSubmit: submitForm,
@@ -5399,17 +5417,21 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5399
5417
  onClosed: closedHandler
5400
5418
  }, {
5401
5419
  left: withCtx(() => [
5402
- !_ctx.disabled ? (openBlock(), createBlock(unref(TMagicButton), {
5420
+ !__props.disabled ? (openBlock(), createBlock(unref(TMagicButton), {
5403
5421
  key: 0,
5404
5422
  type: "primary",
5405
5423
  link: "",
5406
5424
  onClick: _cache[0] || (_cache[0] = ($event) => difVisible.value = true)
5407
5425
  }, {
5408
- default: withCtx(() => _cache[6] || (_cache[6] = [
5409
- createTextVNode("查看修改")
5410
- ])),
5411
- _: 1,
5412
- __: [6]
5426
+ default: withCtx(() => [..._cache[6] || (_cache[6] = [
5427
+ createTextVNode(
5428
+ "查看修改",
5429
+ -1
5430
+ /* CACHED */
5431
+ )
5432
+ ])]),
5433
+ _: 1
5434
+ /* STABLE */
5413
5435
  })) : createCommentVNode("v-if", true)
5414
5436
  ]),
5415
5437
  _: 1
@@ -5433,49 +5455,65 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5433
5455
  size: "small",
5434
5456
  onClick: _cache[4] || (_cache[4] = ($event) => difVisible.value = false)
5435
5457
  }, {
5436
- default: withCtx(() => _cache[9] || (_cache[9] = [
5437
- createTextVNode("取消")
5438
- ])),
5439
- _: 1,
5440
- __: [9]
5458
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
5459
+ createTextVNode(
5460
+ "取消",
5461
+ -1
5462
+ /* CACHED */
5463
+ )
5464
+ ])]),
5465
+ _: 1
5466
+ /* STABLE */
5441
5467
  }),
5442
5468
  createVNode(unref(TMagicButton), {
5443
5469
  size: "small",
5444
5470
  type: "primary",
5445
5471
  onClick: diffChange
5446
5472
  }, {
5447
- default: withCtx(() => _cache[10] || (_cache[10] = [
5448
- createTextVNode("确定")
5449
- ])),
5450
- _: 1,
5451
- __: [10]
5473
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
5474
+ createTextVNode(
5475
+ "确定",
5476
+ -1
5477
+ /* CACHED */
5478
+ )
5479
+ ])]),
5480
+ _: 1
5481
+ /* STABLE */
5452
5482
  })
5453
5483
  ])
5454
5484
  ]),
5455
5485
  default: withCtx(() => [
5456
- createElementVNode("div", _hoisted_1$U, [
5457
- createElementVNode("div", _hoisted_2$j, [
5486
+ createElementVNode("div", _hoisted_1$T, [
5487
+ createElementVNode("div", _hoisted_2$k, [
5458
5488
  createVNode(unref(TMagicTag), {
5459
5489
  size: "small",
5460
5490
  type: "info"
5461
5491
  }, {
5462
- default: withCtx(() => _cache[7] || (_cache[7] = [
5463
- createTextVNode("修改前")
5464
- ])),
5465
- _: 1,
5466
- __: [7]
5492
+ default: withCtx(() => [..._cache[7] || (_cache[7] = [
5493
+ createTextVNode(
5494
+ "修改前",
5495
+ -1
5496
+ /* CACHED */
5497
+ )
5498
+ ])]),
5499
+ _: 1
5500
+ /* STABLE */
5467
5501
  })
5468
5502
  ]),
5469
- createElementVNode("div", _hoisted_3$6, [
5503
+ createElementVNode("div", _hoisted_3$7, [
5470
5504
  createVNode(unref(TMagicTag), {
5471
5505
  size: "small",
5472
5506
  type: "success"
5473
5507
  }, {
5474
- default: withCtx(() => _cache[8] || (_cache[8] = [
5475
- createTextVNode("修改后")
5476
- ])),
5477
- _: 1,
5478
- __: [8]
5508
+ default: withCtx(() => [..._cache[8] || (_cache[8] = [
5509
+ createTextVNode(
5510
+ "修改后",
5511
+ -1
5512
+ /* CACHED */
5513
+ )
5514
+ ])]),
5515
+ _: 1
5516
+ /* STABLE */
5479
5517
  })
5480
5518
  ])
5481
5519
  ]),
@@ -5484,7 +5522,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5484
5522
  type: "diff",
5485
5523
  language: "json",
5486
5524
  "disabled-full-screen": true,
5487
- initValues: _ctx.content.content,
5525
+ initValues: __props.content.content,
5488
5526
  modifiedValues: formBox.value?.form?.values.content,
5489
5527
  height: `${unref(windowRect).height - 150}px`
5490
5528
  }, null, 8, ["initValues", "modifiedValues", "height"])
@@ -5501,8 +5539,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5501
5539
  }
5502
5540
  });
5503
5541
 
5504
- const _hoisted_1$T = { class: "m-editor-data-source-methods" };
5505
- const _hoisted_2$i = { class: "m-editor-data-source-methods-footer" };
5542
+ const _hoisted_1$S = { class: "m-editor-data-source-methods" };
5543
+ const _hoisted_2$j = { class: "m-editor-data-source-methods-footer" };
5506
5544
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5507
5545
  ...{
5508
5546
  name: "MFieldsDataSourceMethods"
@@ -5620,34 +5658,38 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5620
5658
  codeBlockEditorRef.value?.hide();
5621
5659
  };
5622
5660
  return (_ctx, _cache) => {
5623
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
5661
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
5624
5662
  createVNode(unref(MagicTable), {
5625
- data: _ctx.model[_ctx.name],
5663
+ data: __props.model[__props.name],
5626
5664
  columns: methodColumns,
5627
5665
  border: true
5628
5666
  }, null, 8, ["data"]),
5629
- createElementVNode("div", _hoisted_2$i, [
5667
+ createElementVNode("div", _hoisted_2$j, [
5630
5668
  createVNode(unref(TMagicButton), {
5631
5669
  size: "small",
5632
5670
  type: "primary",
5633
- disabled: _ctx.disabled,
5671
+ disabled: __props.disabled,
5634
5672
  plain: "",
5635
5673
  onClick: createCodeHandler
5636
5674
  }, {
5637
- default: withCtx(() => _cache[0] || (_cache[0] = [
5638
- createTextVNode("添加")
5639
- ])),
5640
- _: 1,
5641
- __: [0]
5675
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
5676
+ createTextVNode(
5677
+ "添加",
5678
+ -1
5679
+ /* CACHED */
5680
+ )
5681
+ ])]),
5682
+ _: 1
5683
+ /* STABLE */
5642
5684
  }, 8, ["disabled"])
5643
5685
  ]),
5644
5686
  codeConfig.value ? (openBlock(), createBlock(_sfc_main$1e, {
5645
5687
  key: 0,
5646
5688
  ref: "codeBlockEditor",
5647
- disabled: _ctx.disabled,
5689
+ disabled: __props.disabled,
5648
5690
  content: codeConfig.value,
5649
5691
  "is-data-source": true,
5650
- "data-source-type": _ctx.model.type,
5692
+ "data-source-type": __props.model.type,
5651
5693
  onSubmit: submitCodeHandler
5652
5694
  }, null, 8, ["disabled", "content", "data-source-type"])) : createCommentVNode("v-if", true)
5653
5695
  ]);
@@ -5655,8 +5697,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5655
5697
  }
5656
5698
  });
5657
5699
 
5658
- const _hoisted_1$S = { class: "m-fields-data-source-method-select" };
5659
- const _hoisted_2$h = { class: "data-source-method-select-container" };
5700
+ const _hoisted_1$R = { class: "m-fields-data-source-method-select" };
5701
+ const _hoisted_2$i = { class: "data-source-method-select-container" };
5660
5702
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5661
5703
  ...{
5662
5704
  name: "MFieldsDataSourceMethodSelect"
@@ -5742,23 +5784,23 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5742
5784
  eventBus?.emit("edit-data-source", id);
5743
5785
  };
5744
5786
  return (_ctx, _cache) => {
5745
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
5746
- createElementVNode("div", _hoisted_2$h, [
5787
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
5788
+ createElementVNode("div", _hoisted_2$i, [
5747
5789
  createVNode(unref(MContainer), {
5748
5790
  class: "select",
5749
5791
  config: cascaderConfig.value,
5750
- model: _ctx.model,
5751
- size: _ctx.size,
5792
+ model: __props.model,
5793
+ size: __props.size,
5752
5794
  onChange: onChangeHandler
5753
5795
  }, null, 8, ["config", "model", "size"]),
5754
- _ctx.model[_ctx.name] && isCustomMethod.value && hasDataSourceSidePanel.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
5796
+ __props.model[__props.name] && isCustomMethod.value && hasDataSourceSidePanel.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
5755
5797
  key: 0,
5756
5798
  content: notEditable.value ? "查看" : "编辑"
5757
5799
  }, {
5758
5800
  default: withCtx(() => [
5759
5801
  createVNode(unref(TMagicButton), {
5760
5802
  class: "m-fields-select-action-button",
5761
- size: _ctx.size,
5803
+ size: __props.size,
5762
5804
  onClick: editCodeHandler
5763
5805
  }, {
5764
5806
  default: withCtx(() => [
@@ -5777,9 +5819,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5777
5819
  paramsConfig.value.length ? (openBlock(), createBlock(_sfc_main$1m, {
5778
5820
  key: 0,
5779
5821
  name: "params",
5780
- model: _ctx.model,
5781
- size: _ctx.size,
5782
- disabled: _ctx.disabled,
5822
+ model: __props.model,
5823
+ size: __props.size,
5824
+ disabled: __props.disabled,
5783
5825
  "params-config": paramsConfig.value,
5784
5826
  onChange: onChangeHandler
5785
5827
  }, null, 8, ["model", "size", "disabled", "params-config"])) : createCommentVNode("v-if", true)
@@ -5788,8 +5830,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5788
5830
  }
5789
5831
  });
5790
5832
 
5791
- const _hoisted_1$R = { class: "m-editor-data-source-fields" };
5792
- const _hoisted_2$g = { class: "m-editor-data-source-fields-footer" };
5833
+ const _hoisted_1$Q = { class: "m-editor-data-source-fields" };
5834
+ const _hoisted_2$h = { class: "m-editor-data-source-fields-footer" };
5793
5835
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5794
5836
  ...{
5795
5837
  name: "MFieldsDataSourceMocks"
@@ -5994,24 +6036,28 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5994
6036
  const parentFloating = inject("parentFloating", ref(null));
5995
6037
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, parentFloating);
5996
6038
  return (_ctx, _cache) => {
5997
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
6039
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
5998
6040
  createVNode(unref(MagicTable), {
5999
- data: _ctx.model[_ctx.name],
6041
+ data: __props.model[__props.name],
6000
6042
  columns
6001
6043
  }, null, 8, ["data"]),
6002
- createElementVNode("div", _hoisted_2$g, [
6044
+ createElementVNode("div", _hoisted_2$h, [
6003
6045
  createVNode(unref(TMagicButton), {
6004
6046
  size: "small",
6005
6047
  type: "primary",
6006
- disabled: _ctx.disabled,
6048
+ disabled: __props.disabled,
6007
6049
  plain: "",
6008
6050
  onClick: _cache[0] || (_cache[0] = ($event) => newHandler())
6009
6051
  }, {
6010
- default: withCtx(() => _cache[4] || (_cache[4] = [
6011
- createTextVNode("添加")
6012
- ])),
6013
- _: 1,
6014
- __: [4]
6052
+ default: withCtx(() => [..._cache[4] || (_cache[4] = [
6053
+ createTextVNode(
6054
+ "添加",
6055
+ -1
6056
+ /* CACHED */
6057
+ )
6058
+ ])]),
6059
+ _: 1
6060
+ /* STABLE */
6015
6061
  }, 8, ["disabled"])
6016
6062
  ]),
6017
6063
  createVNode(_sfc_main$1j, {
@@ -6029,8 +6075,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
6029
6075
  "label-width": "120px",
6030
6076
  config: formConfig,
6031
6077
  values: formValues.value,
6032
- parentValues: _ctx.model[_ctx.name],
6033
- disabled: _ctx.disabled,
6078
+ parentValues: __props.model[__props.name],
6079
+ disabled: __props.disabled,
6034
6080
  onSubmit: formChangeHandler
6035
6081
  }, null, 8, ["values", "parentValues", "disabled"])
6036
6082
  ]),
@@ -6042,7 +6088,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
6042
6088
  }
6043
6089
  });
6044
6090
 
6045
- const _hoisted_1$Q = { class: "m-fields-data-source-select" };
6091
+ const _hoisted_1$P = { class: "m-fields-data-source-select" };
6046
6092
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
6047
6093
  ...{
6048
6094
  name: "MFieldsDataSourceSelect"
@@ -6100,25 +6146,25 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
6100
6146
  eventBus?.emit("edit-data-source", id);
6101
6147
  };
6102
6148
  return (_ctx, _cache) => {
6103
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
6149
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
6104
6150
  createVNode(unref(MSelect), {
6105
- model: _ctx.model,
6106
- name: _ctx.name,
6107
- size: _ctx.size,
6108
- prop: _ctx.prop,
6109
- disabled: _ctx.disabled,
6151
+ model: __props.model,
6152
+ name: __props.name,
6153
+ size: __props.size,
6154
+ prop: __props.prop,
6155
+ disabled: __props.disabled,
6110
6156
  config: selectConfig.value,
6111
- "last-values": _ctx.lastValues,
6157
+ "last-values": __props.lastValues,
6112
6158
  onChange: changeHandler
6113
6159
  }, null, 8, ["model", "name", "size", "prop", "disabled", "config", "last-values"]),
6114
- _ctx.model[_ctx.name] && hasDataSourceSidePanel.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
6160
+ __props.model[__props.name] && hasDataSourceSidePanel.value ? (openBlock(), createBlock(unref(TMagicTooltip), {
6115
6161
  key: 0,
6116
6162
  content: notEditable.value ? "查看" : "编辑"
6117
6163
  }, {
6118
6164
  default: withCtx(() => [
6119
6165
  createVNode(unref(TMagicButton), {
6120
6166
  class: "m-fields-select-action-button",
6121
- size: _ctx.size,
6167
+ size: __props.size,
6122
6168
  onClick: editHandler
6123
6169
  }, {
6124
6170
  default: withCtx(() => [
@@ -6258,20 +6304,20 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
6258
6304
  return openBlock(), createBlock(unref(MGroupList), {
6259
6305
  style: { "width": "100%" },
6260
6306
  config: config.value,
6261
- name: _ctx.name,
6262
- disabled: _ctx.disabled,
6263
- model: _ctx.model,
6264
- "last-values": _ctx.lastValues,
6265
- prop: _ctx.prop,
6266
- size: _ctx.size,
6307
+ name: __props.name,
6308
+ disabled: __props.disabled,
6309
+ model: __props.model,
6310
+ "last-values": __props.lastValues,
6311
+ prop: __props.prop,
6312
+ size: __props.size,
6267
6313
  onChange: changeHandler
6268
6314
  }, null, 8, ["config", "name", "disabled", "model", "last-values", "prop", "size"]);
6269
6315
  };
6270
6316
  }
6271
6317
  });
6272
6318
 
6273
- const _hoisted_1$P = { class: "m-fields-event-select" };
6274
- const _hoisted_2$f = {
6319
+ const _hoisted_1$O = { class: "m-fields-event-select" };
6320
+ const _hoisted_2$g = {
6275
6321
  key: 1,
6276
6322
  class: "fullWidth"
6277
6323
  };
@@ -6552,41 +6598,45 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6552
6598
  const onChangeHandler = (v, eventData) => emit("change", props.model[props.name], eventData);
6553
6599
  return (_ctx, _cache) => {
6554
6600
  const _component_m_form_table = resolveComponent("m-form-table");
6555
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
6601
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
6556
6602
  isOldVersion.value ? (openBlock(), createBlock(_component_m_form_table, {
6557
6603
  key: 0,
6558
6604
  name: "events",
6559
- size: _ctx.size,
6560
- disabled: _ctx.disabled,
6561
- model: _ctx.model,
6605
+ size: __props.size,
6606
+ disabled: __props.disabled,
6607
+ model: __props.model,
6562
6608
  config: tableConfig.value,
6563
6609
  onChange: onChangeHandler
6564
- }, null, 8, ["size", "disabled", "model", "config"])) : (openBlock(), createElementBlock("div", _hoisted_2$f, [
6610
+ }, null, 8, ["size", "disabled", "model", "config"])) : (openBlock(), createElementBlock("div", _hoisted_2$g, [
6565
6611
  createVNode(unref(TMagicButton), {
6566
6612
  class: "create-button",
6567
6613
  type: "primary",
6568
- size: _ctx.size,
6569
- disabled: _ctx.disabled,
6614
+ size: __props.size,
6615
+ disabled: __props.disabled,
6570
6616
  onClick: _cache[0] || (_cache[0] = ($event) => addEvent())
6571
6617
  }, {
6572
- default: withCtx(() => _cache[1] || (_cache[1] = [
6573
- createTextVNode("添加事件")
6574
- ])),
6575
- _: 1,
6576
- __: [1]
6618
+ default: withCtx(() => [..._cache[1] || (_cache[1] = [
6619
+ createTextVNode(
6620
+ "添加事件",
6621
+ -1
6622
+ /* CACHED */
6623
+ )
6624
+ ])]),
6625
+ _: 1
6626
+ /* STABLE */
6577
6627
  }, 8, ["size", "disabled"]),
6578
6628
  (openBlock(true), createElementBlock(
6579
6629
  Fragment,
6580
6630
  null,
6581
- renderList(_ctx.model[_ctx.name], (cardItem, index) => {
6631
+ renderList(__props.model[__props.name], (cardItem, index) => {
6582
6632
  return openBlock(), createBlock(unref(MPanel), {
6583
6633
  key: index,
6584
- disabled: _ctx.disabled,
6585
- size: _ctx.size,
6586
- prop: `${_ctx.prop}.${index}`,
6634
+ disabled: __props.disabled,
6635
+ size: __props.size,
6636
+ prop: `${__props.prop}.${index}`,
6587
6637
  config: actionsConfig.value,
6588
6638
  model: cardItem,
6589
- "label-width": _ctx.config.labelWidth || "100px",
6639
+ "label-width": __props.config.labelWidth || "100px",
6590
6640
  onChange: onChangeHandler
6591
6641
  }, {
6592
6642
  header: withCtx(() => [
@@ -6594,17 +6644,17 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6594
6644
  class: "fullWidth",
6595
6645
  config: eventNameConfig.value,
6596
6646
  model: cardItem,
6597
- disabled: _ctx.disabled,
6598
- size: _ctx.size,
6599
- prop: `${_ctx.prop}.${index}`,
6647
+ disabled: __props.disabled,
6648
+ size: __props.size,
6649
+ prop: `${__props.prop}.${index}`,
6600
6650
  onChange: eventNameChangeHandler
6601
6651
  }, null, 8, ["config", "model", "disabled", "size", "prop"]),
6602
6652
  createVNode(unref(TMagicButton), {
6603
6653
  style: { "color": "#f56c6c" },
6604
6654
  link: "",
6605
6655
  icon: unref(Delete),
6606
- disabled: _ctx.disabled,
6607
- size: _ctx.size,
6656
+ disabled: __props.disabled,
6657
+ size: __props.size,
6608
6658
  onClick: ($event) => removeEvent(index)
6609
6659
  }, null, 8, ["icon", "disabled", "size", "onClick"])
6610
6660
  ]),
@@ -6621,7 +6671,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6621
6671
  }
6622
6672
  });
6623
6673
 
6624
- const _hoisted_1$O = {
6674
+ const _hoisted_1$N = {
6625
6675
  viewBox: "0 0 32 32",
6626
6676
  version: "1.1",
6627
6677
  xmlns: "http://www.w3.org/2000/svg",
@@ -6634,15 +6684,15 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
6634
6684
  __name: "CodeIcon",
6635
6685
  setup(__props) {
6636
6686
  return (_ctx, _cache) => {
6637
- return openBlock(), createElementBlock("svg", _hoisted_1$O, _cache[0] || (_cache[0] = [
6687
+ return openBlock(), createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
6638
6688
  createStaticVNode('<defs><rect id="path-1" x="0" y="0" width="32" height="32"></rect></defs><g id="组件规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="03图标" transform="translate(-561.000000, -2356.000000)"><g id="icon/line/Universal/code" transform="translate(561.000000, 2356.000000)"><g id="路径"><mask id="mask-2" fill="white"><use xlink:href="#path-1"></use></mask><use id="蒙版" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use><path d="M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z" id="形状" fill="#1D1F24" mask="url(#mask-2)"></path></g></g><g id="icon切图" transform="translate(226.000000, 1782.000000)"></g></g></g>', 2)
6639
- ]));
6689
+ ])]);
6640
6690
  };
6641
6691
  }
6642
6692
  });
6643
6693
 
6644
- const _hoisted_1$N = { class: "m-fields-key-value" };
6645
- const _hoisted_2$e = { key: 0 };
6694
+ const _hoisted_1$M = { class: "m-fields-key-value" };
6695
+ const _hoisted_2$f = { key: 0 };
6646
6696
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6647
6697
  ...{
6648
6698
  name: "MFieldsKeyValue"
@@ -6705,8 +6755,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6705
6755
  emit("change", v);
6706
6756
  };
6707
6757
  return (_ctx, _cache) => {
6708
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
6709
- !showCode.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
6758
+ return openBlock(), createElementBlock("div", _hoisted_1$M, [
6759
+ !showCode.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
6710
6760
  (openBlock(true), createElementBlock(
6711
6761
  Fragment,
6712
6762
  null,
@@ -6719,8 +6769,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6719
6769
  placeholder: "key",
6720
6770
  modelValue: records.value[index][0],
6721
6771
  "onUpdate:modelValue": ($event) => records.value[index][0] = $event,
6722
- disabled: _ctx.disabled,
6723
- size: _ctx.size,
6772
+ disabled: __props.disabled,
6773
+ size: __props.size,
6724
6774
  onChange: keyChangeHandler
6725
6775
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
6726
6776
  _cache[1] || (_cache[1] = createElementVNode(
@@ -6734,15 +6784,15 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6734
6784
  placeholder: "value",
6735
6785
  modelValue: records.value[index][1],
6736
6786
  "onUpdate:modelValue": ($event) => records.value[index][1] = $event,
6737
- disabled: _ctx.disabled,
6738
- size: _ctx.size,
6787
+ disabled: __props.disabled,
6788
+ size: __props.size,
6739
6789
  onChange: valueChangeHandler
6740
6790
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
6741
6791
  createVNode(unref(TMagicButton), {
6742
6792
  class: "m-fields-key-value-delete",
6743
6793
  type: "danger",
6744
- size: _ctx.size,
6745
- disabled: _ctx.disabled,
6794
+ size: __props.size,
6795
+ disabled: __props.disabled,
6746
6796
  circle: "",
6747
6797
  plain: "",
6748
6798
  icon: unref(Delete),
@@ -6755,34 +6805,38 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6755
6805
  )),
6756
6806
  createVNode(unref(TMagicButton), {
6757
6807
  type: "primary",
6758
- size: _ctx.size,
6759
- disabled: _ctx.disabled,
6808
+ size: __props.size,
6809
+ disabled: __props.disabled,
6760
6810
  plain: "",
6761
6811
  icon: unref(Plus),
6762
6812
  onClick: addHandler
6763
6813
  }, {
6764
- default: withCtx(() => _cache[2] || (_cache[2] = [
6765
- createTextVNode("添加")
6766
- ])),
6767
- _: 1,
6768
- __: [2]
6814
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
6815
+ createTextVNode(
6816
+ "添加",
6817
+ -1
6818
+ /* CACHED */
6819
+ )
6820
+ ])]),
6821
+ _: 1
6822
+ /* STABLE */
6769
6823
  }, 8, ["size", "disabled", "icon"])
6770
6824
  ])) : createCommentVNode("v-if", true),
6771
- _ctx.config.advanced && showCode.value ? (openBlock(), createBlock(_sfc_main$1q, {
6825
+ __props.config.advanced && showCode.value ? (openBlock(), createBlock(_sfc_main$1q, {
6772
6826
  key: 1,
6773
6827
  height: "200px",
6774
- "init-values": _ctx.model[_ctx.name],
6828
+ "init-values": __props.model[__props.name],
6775
6829
  language: "javascript",
6776
6830
  options: {
6777
- readOnly: _ctx.disabled
6831
+ readOnly: __props.disabled
6778
6832
  },
6779
6833
  parse: true,
6780
6834
  onSave: save
6781
6835
  }, null, 8, ["init-values", "options"])) : createCommentVNode("v-if", true),
6782
- _ctx.config.advanced ? (openBlock(), createBlock(unref(TMagicButton), {
6836
+ __props.config.advanced ? (openBlock(), createBlock(unref(TMagicButton), {
6783
6837
  key: 2,
6784
6838
  size: "default",
6785
- disabled: _ctx.disabled,
6839
+ disabled: __props.disabled,
6786
6840
  link: "",
6787
6841
  icon: _sfc_main$17,
6788
6842
  onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
@@ -6792,8 +6846,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6792
6846
  }
6793
6847
  });
6794
6848
 
6795
- const _hoisted_1$M = { class: "m-fields-page-fragment-select" };
6796
- const _hoisted_2$d = { class: "page-fragment-select-container" };
6849
+ const _hoisted_1$L = { class: "m-fields-page-fragment-select" };
6850
+ const _hoisted_2$e = { class: "page-fragment-select-container" };
6797
6851
  const _sfc_main$15 = /* @__PURE__ */ defineComponent({
6798
6852
  ...{
6799
6853
  name: "MFieldsPageFragmentSelect"
@@ -6840,22 +6894,22 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
6840
6894
  };
6841
6895
  return (_ctx, _cache) => {
6842
6896
  const _component_m_form_container = resolveComponent("m-form-container");
6843
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
6844
- createElementVNode("div", _hoisted_2$d, [
6897
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
6898
+ createElementVNode("div", _hoisted_2$e, [
6845
6899
  createCommentVNode(" 页面片下拉框 "),
6846
6900
  createVNode(_component_m_form_container, {
6847
6901
  class: "select",
6848
6902
  config: selectConfig,
6849
- model: _ctx.model,
6850
- size: _ctx.size,
6903
+ model: __props.model,
6904
+ size: __props.size,
6851
6905
  onChange: changeHandler
6852
6906
  }, null, 8, ["model", "size"]),
6853
6907
  createCommentVNode(" 编辑按钮 "),
6854
- _ctx.model[_ctx.name] ? (openBlock(), createBlock(_sfc_main$1r, {
6908
+ __props.model[__props.name] ? (openBlock(), createBlock(_sfc_main$1r, {
6855
6909
  key: 0,
6856
6910
  class: "icon",
6857
6911
  icon: unref(Edit),
6858
- onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(_ctx.model[_ctx.name]))
6912
+ onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(__props.model[__props.name]))
6859
6913
  }, null, 8, ["icon"])) : createCommentVNode("v-if", true)
6860
6914
  ])
6861
6915
  ]);
@@ -6863,9 +6917,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
6863
6917
  }
6864
6918
  });
6865
6919
 
6866
- const _hoisted_1$L = { class: "background-position-container" };
6867
- const _hoisted_2$c = { class: "presets-value-list" };
6868
- const _hoisted_3$5 = { class: "custom-value" };
6920
+ const _hoisted_1$K = { class: "background-position-container" };
6921
+ const _hoisted_2$d = { class: "presets-value-list" };
6922
+ const _hoisted_3$6 = { class: "custom-value" };
6869
6923
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
6870
6924
  __name: "BackgroundPosition",
6871
6925
  props: {
@@ -6921,8 +6975,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
6921
6975
  emit("change", v);
6922
6976
  };
6923
6977
  return (_ctx, _cache) => {
6924
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
6925
- createElementVNode("div", _hoisted_2$c, [
6978
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
6979
+ createElementVNode("div", _hoisted_2$d, [
6926
6980
  (openBlock(true), createElementBlock(
6927
6981
  Fragment,
6928
6982
  null,
@@ -6930,14 +6984,15 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
6930
6984
  return openBlock(), createBlock(unref(TMagicButton), {
6931
6985
  key: index,
6932
6986
  link: "",
6933
- class: normalizeClass(_ctx.model[_ctx.name] === item.value && "btn-active"),
6987
+ class: normalizeClass(__props.model[__props.name] === item.value && "btn-active"),
6988
+ disabled: __props.disabled,
6934
6989
  onClick: ($event) => changeHandler(item.value)
6935
6990
  }, {
6936
6991
  default: withCtx(() => [
6937
6992
  createElementVNode(
6938
6993
  "div",
6939
6994
  {
6940
- class: normalizeClass(["position-icon", item.class, _ctx.model[_ctx.name] === item.value && "active"])
6995
+ class: normalizeClass(["position-icon", item.class, __props.model[__props.name] === item.value && "active"])
6941
6996
  },
6942
6997
  null,
6943
6998
  2
@@ -6946,21 +7001,22 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
6946
7001
  ]),
6947
7002
  _: 2
6948
7003
  /* DYNAMIC */
6949
- }, 1032, ["class", "onClick"]);
7004
+ }, 1032, ["class", "disabled", "onClick"]);
6950
7005
  }),
6951
7006
  128
6952
7007
  /* KEYED_FRAGMENT */
6953
7008
  ))
6954
7009
  ]),
6955
- createElementVNode("div", _hoisted_3$5, [
7010
+ createElementVNode("div", _hoisted_3$6, [
6956
7011
  createVNode(unref(TMagicInput), {
6957
- modelValue: _ctx.model[_ctx.name],
6958
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
6959
- size: "small",
7012
+ modelValue: __props.model[__props.name],
7013
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
6960
7014
  placeholder: "自定义背景位置",
6961
7015
  clearable: "",
7016
+ size: __props.size,
7017
+ disabled: __props.disabled,
6962
7018
  onChange: changeHandler
6963
- }, null, 8, ["modelValue"])
7019
+ }, null, 8, ["modelValue", "size", "disabled"])
6964
7020
  ])
6965
7021
  ]);
6966
7022
  };
@@ -6977,73 +7033,75 @@ const _export_sfc = (sfc, props) => {
6977
7033
 
6978
7034
  const _sfc_main$13 = { };
6979
7035
 
6980
- const _hoisted_1$K = {
7036
+ const _hoisted_1$J = {
6981
7037
  xmlns: "http://www.w3.org/2000/svg",
6982
7038
  viewBox: "0 0 1024 1024"
6983
7039
  };
6984
7040
 
6985
7041
  function _sfc_render$k(_ctx, _cache) {
6986
- return (openBlock(), createElementBlock("svg", _hoisted_1$K, _cache[0] || (_cache[0] = [
7042
+ return (openBlock(), createElementBlock("svg", _hoisted_1$J, [...(_cache[0] || (_cache[0] = [
6987
7043
  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)
6988
- ])))
7044
+ ]))]))
6989
7045
  }
6990
7046
  const BackgroundRepeat = /*#__PURE__*/_export_sfc(_sfc_main$13, [['render',_sfc_render$k]]);
6991
7047
 
6992
7048
  const _sfc_main$12 = { };
6993
7049
 
6994
- const _hoisted_1$J = {
7050
+ const _hoisted_1$I = {
6995
7051
  xmlns: "http://www.w3.org/2000/svg",
6996
7052
  viewBox: "0 0 1024 1024"
6997
7053
  };
6998
7054
 
6999
7055
  function _sfc_render$j(_ctx, _cache) {
7000
- return (openBlock(), createElementBlock("svg", _hoisted_1$J, _cache[0] || (_cache[0] = [
7056
+ return (openBlock(), createElementBlock("svg", _hoisted_1$I, [...(_cache[0] || (_cache[0] = [
7001
7057
  createElementVNode("path", {
7002
7058
  d: "M796.444444 170.666667h-227.555555v682.666666h227.555555V170.666667z m-56.888888 625.777777h-113.777778V227.555556h113.777778v568.888888zM455.111111 170.666667H227.555556v682.666666h227.555555V170.666667zM398.222222 796.444444H284.444444V227.555556h113.777778v568.888888zM910.222222 56.888889h56.888889v910.222222h-56.888889zM56.888889 56.888889h56.888889v910.222222H56.888889z",
7003
7059
  fill: "#333333"
7004
7060
  }, null, -1 /* CACHED */)
7005
- ])))
7061
+ ]))]))
7006
7062
  }
7007
7063
  const BackgroundRepeatX = /*#__PURE__*/_export_sfc(_sfc_main$12, [['render',_sfc_render$j]]);
7008
7064
 
7009
7065
  const _sfc_main$11 = { };
7010
7066
 
7011
- const _hoisted_1$I = {
7067
+ const _hoisted_1$H = {
7012
7068
  xmlns: "http://www.w3.org/2000/svg",
7013
7069
  viewBox: "0 0 1024 1024"
7014
7070
  };
7015
7071
 
7016
7072
  function _sfc_render$i(_ctx, _cache) {
7017
- return (openBlock(), createElementBlock("svg", _hoisted_1$I, _cache[0] || (_cache[0] = [
7073
+ return (openBlock(), createElementBlock("svg", _hoisted_1$H, [...(_cache[0] || (_cache[0] = [
7018
7074
  createElementVNode("path", {
7019
7075
  d: "M170.666667 227.555556v227.555555h682.666666V227.555556H170.666667z m625.777777 56.888888v113.777778H227.555556V284.444444h568.888888zM170.666667 568.888889v227.555555h682.666666v-227.555555H170.666667z m625.777777 56.888889v113.777778H227.555556v-113.777778h568.888888zM56.888889 56.888889h910.222222v56.888889H56.888889zM56.888889 910.222222h910.222222v56.888889H56.888889z",
7020
7076
  fill: "#333333"
7021
7077
  }, null, -1 /* CACHED */)
7022
- ])))
7078
+ ]))]))
7023
7079
  }
7024
7080
  const BackgroundRepeatY = /*#__PURE__*/_export_sfc(_sfc_main$11, [['render',_sfc_render$i]]);
7025
7081
 
7026
7082
  const _sfc_main$10 = { };
7027
7083
 
7028
- const _hoisted_1$H = {
7084
+ const _hoisted_1$G = {
7029
7085
  xmlns: "http://www.w3.org/2000/svg",
7030
7086
  viewBox: "0 0 1024 1024"
7031
7087
  };
7032
7088
 
7033
7089
  function _sfc_render$h(_ctx, _cache) {
7034
- return (openBlock(), createElementBlock("svg", _hoisted_1$H, _cache[0] || (_cache[0] = [
7090
+ return (openBlock(), createElementBlock("svg", _hoisted_1$G, [...(_cache[0] || (_cache[0] = [
7035
7091
  createElementVNode("path", {
7036
7092
  d: "M912.526651 867.741144 555.540144 510.712681l356.986507-357.000833c11.171434-11.18576 11.171434-29.257348 0-40.443108-11.20111-11.18576-29.272697-11.18576-40.444131 0L515.096013 470.267527 158.096203 113.267716c-11.187807-11.159154-29.258371-11.159154-40.444131 0-11.186783 11.186783-11.186783 29.286 0 40.47176L474.623229 510.712681 117.623419 867.741144c-11.159154 11.172457-11.159154 29.216415 0 40.443108 11.18576 11.17348 29.284977 11.17348 40.47176 0l357.000833-357.027439 356.985484 357.027439c11.171434 11.17348 29.243021 11.17348 40.444131 0C923.698085 896.957559 923.725714 878.913601 912.526651 867.741144z",
7037
7093
  fill: "#5D5D5D"
7038
7094
  }, null, -1 /* CACHED */)
7039
- ])))
7095
+ ]))]))
7040
7096
  }
7041
7097
  const BackgroundNoRepeat = /*#__PURE__*/_export_sfc(_sfc_main$10, [['render',_sfc_render$h]]);
7042
7098
 
7043
7099
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7044
7100
  __name: "Background",
7045
7101
  props: {
7046
- values: {}
7102
+ values: {},
7103
+ disabled: { type: Boolean },
7104
+ size: {}
7047
7105
  },
7048
7106
  emits: ["change"],
7049
7107
  setup(__props, { emit: __emit }) {
@@ -7108,59 +7166,63 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
7108
7166
  return (_ctx, _cache) => {
7109
7167
  return openBlock(), createBlock(unref(MContainer), {
7110
7168
  config,
7111
- model: _ctx.values,
7169
+ model: __props.values,
7170
+ size: __props.size,
7171
+ disabled: __props.disabled,
7112
7172
  onChange: change
7113
- }, null, 8, ["model"]);
7173
+ }, null, 8, ["model", "size", "disabled"]);
7114
7174
  };
7115
7175
  }
7116
7176
  });
7117
7177
 
7118
7178
  const _sfc_main$_ = { };
7119
7179
 
7120
- const _hoisted_1$G = {
7180
+ const _hoisted_1$F = {
7121
7181
  xmlns: "http://www.w3.org/2000/svg",
7122
7182
  viewBox: "0 0 1024 1024"
7123
7183
  };
7124
7184
 
7125
7185
  function _sfc_render$g(_ctx, _cache) {
7126
- return (openBlock(), createElementBlock("svg", _hoisted_1$G, _cache[0] || (_cache[0] = [
7186
+ return (openBlock(), createElementBlock("svg", _hoisted_1$F, [...(_cache[0] || (_cache[0] = [
7127
7187
  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 */)
7128
- ])))
7188
+ ]))]))
7129
7189
  }
7130
7190
  const AlignLeft = /*#__PURE__*/_export_sfc(_sfc_main$_, [['render',_sfc_render$g]]);
7131
7191
 
7132
7192
  const _sfc_main$Z = { };
7133
7193
 
7134
- const _hoisted_1$F = {
7194
+ const _hoisted_1$E = {
7135
7195
  xmlns: "http://www.w3.org/2000/svg",
7136
7196
  viewBox: "0 0 1024 1024"
7137
7197
  };
7138
7198
 
7139
7199
  function _sfc_render$f(_ctx, _cache) {
7140
- return (openBlock(), createElementBlock("svg", _hoisted_1$F, _cache[0] || (_cache[0] = [
7200
+ return (openBlock(), createElementBlock("svg", _hoisted_1$E, [...(_cache[0] || (_cache[0] = [
7141
7201
  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 */)
7142
- ])))
7202
+ ]))]))
7143
7203
  }
7144
7204
  const AlignCenter = /*#__PURE__*/_export_sfc(_sfc_main$Z, [['render',_sfc_render$f]]);
7145
7205
 
7146
7206
  const _sfc_main$Y = { };
7147
7207
 
7148
- const _hoisted_1$E = {
7208
+ const _hoisted_1$D = {
7149
7209
  xmlns: "http://www.w3.org/2000/svg",
7150
7210
  viewBox: "0 0 1024 1024"
7151
7211
  };
7152
7212
 
7153
7213
  function _sfc_render$e(_ctx, _cache) {
7154
- return (openBlock(), createElementBlock("svg", _hoisted_1$E, _cache[0] || (_cache[0] = [
7214
+ return (openBlock(), createElementBlock("svg", _hoisted_1$D, [...(_cache[0] || (_cache[0] = [
7155
7215
  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 */)
7156
- ])))
7216
+ ]))]))
7157
7217
  }
7158
7218
  const AlignRight = /*#__PURE__*/_export_sfc(_sfc_main$Y, [['render',_sfc_render$e]]);
7159
7219
 
7160
7220
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
7161
7221
  __name: "Font",
7162
7222
  props: {
7163
- values: {}
7223
+ values: {},
7224
+ disabled: { type: Boolean },
7225
+ size: {}
7164
7226
  },
7165
7227
  emits: ["change"],
7166
7228
  setup(__props, { emit: __emit }) {
@@ -7234,23 +7296,27 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
7234
7296
  return (_ctx, _cache) => {
7235
7297
  return openBlock(), createBlock(unref(MContainer), {
7236
7298
  config,
7237
- model: _ctx.values,
7299
+ model: __props.values,
7300
+ size: __props.size,
7301
+ disabled: __props.disabled,
7238
7302
  onChange: change
7239
- }, null, 8, ["model"]);
7303
+ }, null, 8, ["model", "size", "disabled"]);
7240
7304
  };
7241
7305
  }
7242
7306
  });
7243
7307
 
7244
- const _hoisted_1$D = { class: "layout-box-container" };
7245
- const _hoisted_2$b = {
7308
+ const _hoisted_1$C = { class: "layout-box-container" };
7309
+ const _hoisted_2$c = {
7246
7310
  key: 0,
7247
7311
  class: "help-txt"
7248
7312
  };
7249
- const _hoisted_3$4 = { class: "next-input" };
7250
- const _hoisted_4$4 = ["onUpdate:modelValue", "title", "onChange"];
7313
+ const _hoisted_3$5 = { class: "next-input" };
7314
+ const _hoisted_4$4 = ["onUpdate:modelValue", "title", "disabled", "onChange"];
7251
7315
  const _sfc_main$W = /* @__PURE__ */ defineComponent({
7252
7316
  __name: "Box",
7253
7317
  props: {
7318
+ disabled: { type: Boolean },
7319
+ size: {},
7254
7320
  model: {}
7255
7321
  },
7256
7322
  emits: ["change"],
@@ -7298,7 +7364,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
7298
7364
  });
7299
7365
  };
7300
7366
  return (_ctx, _cache) => {
7301
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
7367
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
7302
7368
  (openBlock(), createElementBlock(
7303
7369
  Fragment,
7304
7370
  null,
@@ -7312,19 +7378,20 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
7312
7378
  [
7313
7379
  item.text ? (openBlock(), createElementBlock(
7314
7380
  "span",
7315
- _hoisted_2$b,
7381
+ _hoisted_2$c,
7316
7382
  toDisplayString(item.text),
7317
7383
  1
7318
7384
  /* TEXT */
7319
7385
  )) : createCommentVNode("v-if", true),
7320
- createElementVNode("span", _hoisted_3$4, [
7386
+ createElementVNode("span", _hoisted_3$5, [
7321
7387
  withDirectives(createElementVNode("input", {
7322
- "onUpdate:modelValue": ($event) => _ctx.model[item.name] = $event,
7323
- title: _ctx.model[item.name],
7324
- onChange: ($event) => change($event, item.name),
7325
- placeholder: "0"
7388
+ "onUpdate:modelValue": ($event) => __props.model[item.name] = $event,
7389
+ placeholder: "0",
7390
+ title: __props.model[item.name],
7391
+ disabled: __props.disabled,
7392
+ onChange: ($event) => change($event, item.name)
7326
7393
  }, null, 40, _hoisted_4$4), [
7327
- [vModelText, _ctx.model[item.name]]
7394
+ [vModelText, __props.model[item.name]]
7328
7395
  ])
7329
7396
  ])
7330
7397
  ],
@@ -7342,204 +7409,206 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
7342
7409
 
7343
7410
  const _sfc_main$V = { };
7344
7411
 
7345
- const _hoisted_1$C = {
7412
+ const _hoisted_1$B = {
7346
7413
  xmlns: "http://www.w3.org/2000/svg",
7347
7414
  viewBox: "0 0 1024 1024"
7348
7415
  };
7349
7416
 
7350
7417
  function _sfc_render$d(_ctx, _cache) {
7351
- return (openBlock(), createElementBlock("svg", _hoisted_1$C, _cache[0] || (_cache[0] = [
7418
+ return (openBlock(), createElementBlock("svg", _hoisted_1$B, [...(_cache[0] || (_cache[0] = [
7352
7419
  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 */)
7353
- ])))
7420
+ ]))]))
7354
7421
  }
7355
7422
  const DisplayBlock = /*#__PURE__*/_export_sfc(_sfc_main$V, [['render',_sfc_render$d]]);
7356
7423
 
7357
7424
  const _sfc_main$U = { };
7358
7425
 
7359
- const _hoisted_1$B = {
7426
+ const _hoisted_1$A = {
7360
7427
  xmlns: "http://www.w3.org/2000/svg",
7361
7428
  viewBox: "0 0 1024 1024"
7362
7429
  };
7363
7430
 
7364
7431
  function _sfc_render$c(_ctx, _cache) {
7365
- return (openBlock(), createElementBlock("svg", _hoisted_1$B, _cache[0] || (_cache[0] = [
7432
+ return (openBlock(), createElementBlock("svg", _hoisted_1$A, [...(_cache[0] || (_cache[0] = [
7366
7433
  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 */)
7367
- ])))
7434
+ ]))]))
7368
7435
  }
7369
7436
  const DisplayFlex = /*#__PURE__*/_export_sfc(_sfc_main$U, [['render',_sfc_render$c]]);
7370
7437
 
7371
7438
  const _sfc_main$T = { };
7372
7439
 
7373
- const _hoisted_1$A = {
7440
+ const _hoisted_1$z = {
7374
7441
  xmlns: "http://www.w3.org/2000/svg",
7375
7442
  viewBox: "0 0 1024 1024"
7376
7443
  };
7377
7444
 
7378
7445
  function _sfc_render$b(_ctx, _cache) {
7379
- return (openBlock(), createElementBlock("svg", _hoisted_1$A, _cache[0] || (_cache[0] = [
7446
+ return (openBlock(), createElementBlock("svg", _hoisted_1$z, [...(_cache[0] || (_cache[0] = [
7380
7447
  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 */)
7381
- ])))
7448
+ ]))]))
7382
7449
  }
7383
7450
  const DisplayInline = /*#__PURE__*/_export_sfc(_sfc_main$T, [['render',_sfc_render$b]]);
7384
7451
 
7385
7452
  const _sfc_main$S = { };
7386
7453
 
7387
- const _hoisted_1$z = {
7454
+ const _hoisted_1$y = {
7388
7455
  xmlns: "http://www.w3.org/2000/svg",
7389
7456
  viewBox: "0 0 1024 1024"
7390
7457
  };
7391
7458
 
7392
7459
  function _sfc_render$a(_ctx, _cache) {
7393
- return (openBlock(), createElementBlock("svg", _hoisted_1$z, _cache[0] || (_cache[0] = [
7460
+ return (openBlock(), createElementBlock("svg", _hoisted_1$y, [...(_cache[0] || (_cache[0] = [
7394
7461
  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 */)
7395
- ])))
7462
+ ]))]))
7396
7463
  }
7397
7464
  const DisplayInlineBlock = /*#__PURE__*/_export_sfc(_sfc_main$S, [['render',_sfc_render$a]]);
7398
7465
 
7399
7466
  const _sfc_main$R = { };
7400
7467
 
7401
- const _hoisted_1$y = {
7468
+ const _hoisted_1$x = {
7402
7469
  xmlns: "http://www.w3.org/2000/svg",
7403
7470
  viewBox: "0 0 1024 1024"
7404
7471
  };
7405
7472
 
7406
7473
  function _sfc_render$9(_ctx, _cache) {
7407
- return (openBlock(), createElementBlock("svg", _hoisted_1$y, _cache[0] || (_cache[0] = [
7474
+ return (openBlock(), createElementBlock("svg", _hoisted_1$x, [...(_cache[0] || (_cache[0] = [
7408
7475
  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 */)
7409
- ])))
7476
+ ]))]))
7410
7477
  }
7411
7478
  const DisplayNone = /*#__PURE__*/_export_sfc(_sfc_main$R, [['render',_sfc_render$9]]);
7412
7479
 
7413
7480
  const _sfc_main$Q = { };
7414
7481
 
7415
- const _hoisted_1$x = {
7482
+ const _hoisted_1$w = {
7416
7483
  xmlns: "http://www.w3.org/2000/svg",
7417
7484
  viewBox: "0 0 1024 1024"
7418
7485
  };
7419
7486
 
7420
7487
  function _sfc_render$8(_ctx, _cache) {
7421
- return (openBlock(), createElementBlock("svg", _hoisted_1$x, _cache[0] || (_cache[0] = [
7488
+ return (openBlock(), createElementBlock("svg", _hoisted_1$w, [...(_cache[0] || (_cache[0] = [
7422
7489
  createElementVNode("path", { d: "M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z" }, null, -1 /* CACHED */)
7423
- ])))
7490
+ ]))]))
7424
7491
  }
7425
7492
  const FlexDirectionColumn = /*#__PURE__*/_export_sfc(_sfc_main$Q, [['render',_sfc_render$8]]);
7426
7493
 
7427
7494
  const _sfc_main$P = { };
7428
7495
 
7429
- const _hoisted_1$w = {
7496
+ const _hoisted_1$v = {
7430
7497
  xmlns: "http://www.w3.org/2000/svg",
7431
7498
  viewBox: "0 0 1024 1024"
7432
7499
  };
7433
7500
 
7434
7501
  function _sfc_render$7(_ctx, _cache) {
7435
- return (openBlock(), createElementBlock("svg", _hoisted_1$w, _cache[0] || (_cache[0] = [
7502
+ return (openBlock(), createElementBlock("svg", _hoisted_1$v, [...(_cache[0] || (_cache[0] = [
7436
7503
  createElementVNode("path", { d: "M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z" }, null, -1 /* CACHED */)
7437
- ])))
7504
+ ]))]))
7438
7505
  }
7439
7506
  const FlexDirectionColumnReverse = /*#__PURE__*/_export_sfc(_sfc_main$P, [['render',_sfc_render$7]]);
7440
7507
 
7441
7508
  const _sfc_main$O = { };
7442
7509
 
7443
- const _hoisted_1$v = {
7510
+ const _hoisted_1$u = {
7444
7511
  xmlns: "http://www.w3.org/2000/svg",
7445
7512
  viewBox: "0 0 1024 1024"
7446
7513
  };
7447
7514
 
7448
7515
  function _sfc_render$6(_ctx, _cache) {
7449
- return (openBlock(), createElementBlock("svg", _hoisted_1$v, _cache[0] || (_cache[0] = [
7516
+ return (openBlock(), createElementBlock("svg", _hoisted_1$u, [...(_cache[0] || (_cache[0] = [
7450
7517
  createElementVNode("path", { d: "M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z" }, null, -1 /* CACHED */)
7451
- ])))
7518
+ ]))]))
7452
7519
  }
7453
7520
  const FlexDirectionRow = /*#__PURE__*/_export_sfc(_sfc_main$O, [['render',_sfc_render$6]]);
7454
7521
 
7455
7522
  const _sfc_main$N = { };
7456
7523
 
7457
- const _hoisted_1$u = {
7524
+ const _hoisted_1$t = {
7458
7525
  xmlns: "http://www.w3.org/2000/svg",
7459
7526
  viewBox: "0 0 1024 1024"
7460
7527
  };
7461
7528
 
7462
7529
  function _sfc_render$5(_ctx, _cache) {
7463
- return (openBlock(), createElementBlock("svg", _hoisted_1$u, _cache[0] || (_cache[0] = [
7530
+ return (openBlock(), createElementBlock("svg", _hoisted_1$t, [...(_cache[0] || (_cache[0] = [
7464
7531
  createElementVNode("path", { d: "M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z" }, null, -1 /* CACHED */)
7465
- ])))
7532
+ ]))]))
7466
7533
  }
7467
7534
  const FlexDirectionRowReverse = /*#__PURE__*/_export_sfc(_sfc_main$N, [['render',_sfc_render$5]]);
7468
7535
 
7469
7536
  const _sfc_main$M = { };
7470
7537
 
7471
- const _hoisted_1$t = {
7538
+ const _hoisted_1$s = {
7472
7539
  xmlns: "http://www.w3.org/2000/svg",
7473
7540
  viewBox: "0 0 1024 1024"
7474
7541
  };
7475
7542
 
7476
7543
  function _sfc_render$4(_ctx, _cache) {
7477
- return (openBlock(), createElementBlock("svg", _hoisted_1$t, _cache[0] || (_cache[0] = [
7544
+ return (openBlock(), createElementBlock("svg", _hoisted_1$s, [...(_cache[0] || (_cache[0] = [
7478
7545
  createElementVNode("path", { d: "M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z" }, null, -1 /* CACHED */)
7479
- ])))
7546
+ ]))]))
7480
7547
  }
7481
7548
  const JustifyContentCenter = /*#__PURE__*/_export_sfc(_sfc_main$M, [['render',_sfc_render$4]]);
7482
7549
 
7483
7550
  const _sfc_main$L = { };
7484
7551
 
7485
- const _hoisted_1$s = {
7552
+ const _hoisted_1$r = {
7486
7553
  xmlns: "http://www.w3.org/2000/svg",
7487
7554
  viewBox: "0 0 1024 1024"
7488
7555
  };
7489
7556
 
7490
7557
  function _sfc_render$3(_ctx, _cache) {
7491
- return (openBlock(), createElementBlock("svg", _hoisted_1$s, _cache[0] || (_cache[0] = [
7558
+ return (openBlock(), createElementBlock("svg", _hoisted_1$r, [...(_cache[0] || (_cache[0] = [
7492
7559
  createElementVNode("path", { d: "M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z" }, null, -1 /* CACHED */)
7493
- ])))
7560
+ ]))]))
7494
7561
  }
7495
7562
  const JustifyContentFlexEnd = /*#__PURE__*/_export_sfc(_sfc_main$L, [['render',_sfc_render$3]]);
7496
7563
 
7497
7564
  const _sfc_main$K = { };
7498
7565
 
7499
- const _hoisted_1$r = {
7566
+ const _hoisted_1$q = {
7500
7567
  xmlns: "http://www.w3.org/2000/svg",
7501
7568
  viewBox: "0 0 1024 1024"
7502
7569
  };
7503
7570
 
7504
7571
  function _sfc_render$2(_ctx, _cache) {
7505
- return (openBlock(), createElementBlock("svg", _hoisted_1$r, _cache[0] || (_cache[0] = [
7572
+ return (openBlock(), createElementBlock("svg", _hoisted_1$q, [...(_cache[0] || (_cache[0] = [
7506
7573
  createElementVNode("path", { d: "M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z" }, null, -1 /* CACHED */)
7507
- ])))
7574
+ ]))]))
7508
7575
  }
7509
7576
  const JustifyContentFlexStart = /*#__PURE__*/_export_sfc(_sfc_main$K, [['render',_sfc_render$2]]);
7510
7577
 
7511
7578
  const _sfc_main$J = { };
7512
7579
 
7513
- const _hoisted_1$q = {
7580
+ const _hoisted_1$p = {
7514
7581
  xmlns: "http://www.w3.org/2000/svg",
7515
7582
  viewBox: "0 0 1024 1024"
7516
7583
  };
7517
7584
 
7518
7585
  function _sfc_render$1(_ctx, _cache) {
7519
- return (openBlock(), createElementBlock("svg", _hoisted_1$q, _cache[0] || (_cache[0] = [
7586
+ return (openBlock(), createElementBlock("svg", _hoisted_1$p, [...(_cache[0] || (_cache[0] = [
7520
7587
  createElementVNode("path", { d: "M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z" }, null, -1 /* CACHED */)
7521
- ])))
7588
+ ]))]))
7522
7589
  }
7523
7590
  const JustifyContentSpaceAround = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render$1]]);
7524
7591
 
7525
7592
  const _sfc_main$I = { };
7526
7593
 
7527
- const _hoisted_1$p = {
7594
+ const _hoisted_1$o = {
7528
7595
  xmlns: "http://www.w3.org/2000/svg",
7529
7596
  viewBox: "0 0 1024 1024"
7530
7597
  };
7531
7598
 
7532
7599
  function _sfc_render(_ctx, _cache) {
7533
- return (openBlock(), createElementBlock("svg", _hoisted_1$p, _cache[0] || (_cache[0] = [
7600
+ return (openBlock(), createElementBlock("svg", _hoisted_1$o, [...(_cache[0] || (_cache[0] = [
7534
7601
  createElementVNode("path", { d: "M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z" }, null, -1 /* CACHED */)
7535
- ])))
7602
+ ]))]))
7536
7603
  }
7537
7604
  const JustifyContentSpaceBetween = /*#__PURE__*/_export_sfc(_sfc_main$I, [['render',_sfc_render]]);
7538
7605
 
7539
7606
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
7540
7607
  __name: "Layout",
7541
7608
  props: {
7542
- values: {}
7609
+ values: {},
7610
+ disabled: { type: Boolean },
7611
+ size: {}
7543
7612
  },
7544
7613
  emits: ["change"],
7545
7614
  setup(__props, { emit: __emit }) {
@@ -7693,14 +7762,18 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7693
7762
  [
7694
7763
  createVNode(unref(MContainer), {
7695
7764
  config,
7696
- model: _ctx.values,
7765
+ model: __props.values,
7766
+ size: __props.size,
7767
+ disabled: __props.disabled,
7697
7768
  onChange: change
7698
- }, null, 8, ["model"]),
7769
+ }, null, 8, ["model", "size", "disabled"]),
7699
7770
  withDirectives(createVNode(_sfc_main$W, {
7700
- model: _ctx.values,
7771
+ model: __props.values,
7772
+ size: __props.size,
7773
+ disabled: __props.disabled,
7701
7774
  onChange: change
7702
- }, null, 8, ["model"]), [
7703
- [vShow, !["fixed", "absolute"].includes(_ctx.values.position)]
7775
+ }, null, 8, ["model", "size", "disabled"]), [
7776
+ [vShow, !["fixed", "absolute"].includes(__props.values.position)]
7704
7777
  ])
7705
7778
  ],
7706
7779
  64
@@ -7713,7 +7786,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7713
7786
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
7714
7787
  __name: "Position",
7715
7788
  props: {
7716
- values: {}
7789
+ values: {},
7790
+ disabled: { type: Boolean },
7791
+ size: {}
7717
7792
  },
7718
7793
  emits: ["change"],
7719
7794
  setup(__props, { emit: __emit }) {
@@ -7804,23 +7879,27 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7804
7879
  return (_ctx, _cache) => {
7805
7880
  return openBlock(), createBlock(unref(MContainer), {
7806
7881
  config,
7807
- model: _ctx.values,
7882
+ model: __props.values,
7883
+ size: __props.size,
7884
+ disabled: __props.disabled,
7808
7885
  onChange: change
7809
- }, null, 8, ["model"]);
7886
+ }, null, 8, ["model", "size", "disabled"]);
7810
7887
  };
7811
7888
  }
7812
7889
  });
7813
7890
 
7814
- const _hoisted_1$o = { class: "border-box-container" };
7815
- const _hoisted_2$a = { class: "border-icon-container" };
7816
- const _hoisted_3$3 = { class: "border-icon-container-row" };
7891
+ const _hoisted_1$n = { class: "border-box-container" };
7892
+ const _hoisted_2$b = { class: "border-icon-container" };
7893
+ const _hoisted_3$4 = { class: "border-icon-container-row" };
7817
7894
  const _hoisted_4$3 = { class: "border-icon-container-row" };
7818
7895
  const _hoisted_5$1 = { class: "border-icon-container-row" };
7819
7896
  const _hoisted_6$1 = { class: "border-value-container" };
7820
7897
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
7821
7898
  __name: "Border",
7822
7899
  props: {
7823
- model: {}
7900
+ model: {},
7901
+ disabled: { type: Boolean },
7902
+ size: {}
7824
7903
  },
7825
7904
  emits: ["change"],
7826
7905
  setup(__props, { emit: __emit }) {
@@ -7870,9 +7949,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7870
7949
  });
7871
7950
  };
7872
7951
  return (_ctx, _cache) => {
7873
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
7874
- createElementVNode("div", _hoisted_2$a, [
7875
- createElementVNode("div", _hoisted_3$3, [
7952
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
7953
+ createElementVNode("div", _hoisted_2$b, [
7954
+ createElementVNode("div", _hoisted_3$4, [
7876
7955
  createElementVNode(
7877
7956
  "div",
7878
7957
  {
@@ -7932,9 +8011,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7932
8011
  createElementVNode("div", _hoisted_6$1, [
7933
8012
  createVNode(unref(MContainer), {
7934
8013
  config: config.value,
7935
- model: _ctx.model,
8014
+ model: __props.model,
8015
+ size: __props.size,
8016
+ disabled: __props.disabled,
7936
8017
  onChange: change
7937
- }, null, 8, ["config", "model"])
8018
+ }, null, 8, ["config", "model", "size", "disabled"])
7938
8019
  ])
7939
8020
  ]);
7940
8021
  };
@@ -7944,7 +8025,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7944
8025
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
7945
8026
  __name: "Border",
7946
8027
  props: {
7947
- values: {}
8028
+ values: {},
8029
+ disabled: { type: Boolean },
8030
+ size: {}
7948
8031
  },
7949
8032
  emits: ["change"],
7950
8033
  setup(__props, { emit: __emit }) {
@@ -7972,13 +8055,17 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7972
8055
  [
7973
8056
  createVNode(unref(MContainer), {
7974
8057
  config,
7975
- model: _ctx.values,
8058
+ model: __props.values,
8059
+ size: __props.size,
8060
+ disabled: __props.disabled,
7976
8061
  onChange: change
7977
- }, null, 8, ["model"]),
8062
+ }, null, 8, ["model", "size", "disabled"]),
7978
8063
  createVNode(_sfc_main$F, {
7979
- model: _ctx.values,
8064
+ model: __props.values,
8065
+ size: __props.size,
8066
+ disabled: __props.disabled,
7980
8067
  onChange: change
7981
- }, null, 8, ["model"])
8068
+ }, null, 8, ["model", "size", "disabled"])
7982
8069
  ],
7983
8070
  64
7984
8071
  /* STABLE_FRAGMENT */
@@ -7987,7 +8074,6 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7987
8074
  }
7988
8075
  });
7989
8076
 
7990
- const _hoisted_1$n = { class: "m-fields-style-setter" };
7991
8077
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
7992
8078
  ...{
7993
8079
  name: "MFieldsStyleSetter"
@@ -8041,44 +8127,47 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
8041
8127
  emit("change", v, eventData);
8042
8128
  };
8043
8129
  return (_ctx, _cache) => {
8044
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
8045
- createVNode(unref(TMagicCollapse), { "model-value": collapseValue.value }, {
8046
- default: withCtx(() => [
8047
- (openBlock(), createElementBlock(
8048
- Fragment,
8049
- null,
8050
- renderList(list, (item, index) => {
8051
- return createVNode(unref(TMagicCollapseItem), {
8052
- key: index,
8053
- name: `${index}`
8054
- }, {
8055
- title: withCtx(() => [
8056
- createVNode(_sfc_main$1r, { icon: unref(Grid) }, null, 8, ["icon"]),
8057
- createTextVNode(
8058
- toDisplayString(item.title),
8059
- 1
8060
- /* TEXT */
8061
- )
8062
- ]),
8063
- default: withCtx(() => [
8064
- item.component ? (openBlock(), createBlock(resolveDynamicComponent(item.component), {
8065
- key: 0,
8066
- values: _ctx.model[_ctx.name],
8067
- onChange: change
8068
- }, null, 40, ["values"])) : createCommentVNode("v-if", true)
8069
- ]),
8070
- _: 2
8071
- /* DYNAMIC */
8072
- }, 1032, ["name"]);
8073
- }),
8074
- 64
8075
- /* STABLE_FRAGMENT */
8076
- ))
8077
- ]),
8078
- _: 1
8079
- /* STABLE */
8080
- }, 8, ["model-value"])
8081
- ]);
8130
+ return openBlock(), createBlock(unref(TMagicCollapse), {
8131
+ class: "m-fields-style-setter",
8132
+ "model-value": collapseValue.value
8133
+ }, {
8134
+ default: withCtx(() => [
8135
+ (openBlock(), createElementBlock(
8136
+ Fragment,
8137
+ null,
8138
+ renderList(list, (item, index) => {
8139
+ return createVNode(unref(TMagicCollapseItem), {
8140
+ key: index,
8141
+ name: `${index}`
8142
+ }, {
8143
+ title: withCtx(() => [
8144
+ createVNode(_sfc_main$1r, { icon: unref(Grid) }, null, 8, ["icon"]),
8145
+ createTextVNode(
8146
+ toDisplayString(item.title),
8147
+ 1
8148
+ /* TEXT */
8149
+ )
8150
+ ]),
8151
+ default: withCtx(() => [
8152
+ item.component ? (openBlock(), createBlock(resolveDynamicComponent(item.component), {
8153
+ key: 0,
8154
+ values: __props.model[__props.name],
8155
+ size: __props.size,
8156
+ disabled: __props.disabled,
8157
+ onChange: change
8158
+ }, null, 40, ["values", "size", "disabled"])) : createCommentVNode("v-if", true)
8159
+ ]),
8160
+ _: 2
8161
+ /* DYNAMIC */
8162
+ }, 1032, ["name"]);
8163
+ }),
8164
+ 64
8165
+ /* STABLE_FRAGMENT */
8166
+ ))
8167
+ ]),
8168
+ _: 1
8169
+ /* STABLE */
8170
+ }, 8, ["model-value"]);
8082
8171
  };
8083
8172
  }
8084
8173
  });
@@ -8171,16 +8260,20 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8171
8260
  createVNode(unref(TMagicButton), {
8172
8261
  type: "danger",
8173
8262
  icon: unref(Delete),
8174
- disabled: _ctx.disabled,
8175
- size: _ctx.size,
8263
+ disabled: __props.disabled,
8264
+ size: __props.size,
8176
8265
  link: "",
8177
8266
  style: { "padding": "0" }
8178
8267
  }, {
8179
- default: withCtx(() => _cache[2] || (_cache[2] = [
8180
- createTextVNode("取消")
8181
- ])),
8182
- _: 1,
8183
- __: [2]
8268
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
8269
+ createTextVNode(
8270
+ "取消",
8271
+ -1
8272
+ /* CACHED */
8273
+ )
8274
+ ])]),
8275
+ _: 1
8276
+ /* STABLE */
8184
8277
  }, 8, ["icon", "disabled", "size"])
8185
8278
  ])) : (openBlock(), createElementBlock("div", _hoisted_1$m, [
8186
8279
  val.value ? (openBlock(), createElementBlock(
@@ -8196,8 +8289,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8196
8289
  style: { "padding": "0" },
8197
8290
  type: "danger",
8198
8291
  icon: unref(Close),
8199
- disabled: _ctx.disabled,
8200
- size: _ctx.size,
8292
+ disabled: __props.disabled,
8293
+ size: __props.size,
8201
8294
  link: "",
8202
8295
  onClick: withModifiers(deleteHandler, ["stop"])
8203
8296
  }, null, 8, ["icon", "disabled", "size"])
@@ -8213,8 +8306,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8213
8306
  createVNode(unref(TMagicButton), {
8214
8307
  link: "",
8215
8308
  style: { "padding": "0", "margin": "0" },
8216
- disabled: _ctx.disabled,
8217
- size: _ctx.size,
8309
+ disabled: __props.disabled,
8310
+ size: __props.size,
8218
8311
  onClick: _cache[0] || (_cache[0] = ($event) => selectNode(val.value)),
8219
8312
  onMouseenter: _cache[1] || (_cache[1] = ($event) => unref(highlight)(val.value)),
8220
8313
  onMouseleave: unhighlight
@@ -8245,15 +8338,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8245
8338
  createVNode(unref(TMagicButton), {
8246
8339
  link: "",
8247
8340
  style: { "padding": "0", "margin": "0" },
8248
- disabled: _ctx.disabled,
8249
- size: _ctx.size,
8341
+ disabled: __props.disabled,
8342
+ size: __props.size,
8250
8343
  onClick: startSelect
8251
8344
  }, {
8252
- default: withCtx(() => _cache[3] || (_cache[3] = [
8253
- createTextVNode("点击此处选择")
8254
- ])),
8255
- _: 1,
8256
- __: [3]
8345
+ default: withCtx(() => [..._cache[3] || (_cache[3] = [
8346
+ createTextVNode(
8347
+ "点击此处选择",
8348
+ -1
8349
+ /* CACHED */
8350
+ )
8351
+ ])]),
8352
+ _: 1
8353
+ /* STABLE */
8257
8354
  }, 8, ["disabled", "size"])
8258
8355
  ]),
8259
8356
  _: 1
@@ -8436,8 +8533,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8436
8533
  createElementVNode(
8437
8534
  "div",
8438
8535
  {
8439
- class: normalizeClass(["m-editor-layout-left", _ctx.leftClass]),
8440
- style: normalizeStyle(`width: ${_ctx.left}px`)
8536
+ class: normalizeClass(["m-editor-layout-left", __props.leftClass]),
8537
+ style: normalizeStyle(`width: ${__props.left}px`)
8441
8538
  },
8442
8539
  [
8443
8540
  renderSlot(_ctx.$slots, "left")
@@ -8453,7 +8550,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8453
8550
  createElementVNode(
8454
8551
  "div",
8455
8552
  {
8456
- class: normalizeClass(["m-editor-layout-center", _ctx.centerClass]),
8553
+ class: normalizeClass(["m-editor-layout-center", __props.centerClass]),
8457
8554
  style: normalizeStyle(`width: ${center.value}px`)
8458
8555
  },
8459
8556
  [
@@ -8470,8 +8567,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8470
8567
  createElementVNode(
8471
8568
  "div",
8472
8569
  {
8473
- class: normalizeClass(["m-editor-layout-right", _ctx.rightClass]),
8474
- style: normalizeStyle(`width: ${_ctx.right}px`)
8570
+ class: normalizeClass(["m-editor-layout-right", __props.rightClass]),
8571
+ style: normalizeStyle(`width: ${__props.right}px`)
8475
8572
  },
8476
8573
  [
8477
8574
  renderSlot(_ctx.$slots, "right")
@@ -8495,7 +8592,7 @@ const _hoisted_1$l = {
8495
8592
  key: 1,
8496
8593
  class: "menu-item-text"
8497
8594
  };
8498
- const _hoisted_2$9 = { class: "el-dropdown-link menubar-menu-button" };
8595
+ const _hoisted_2$a = { class: "el-dropdown-link menubar-menu-button" };
8499
8596
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
8500
8597
  ...{
8501
8598
  name: "MEditorToolButton"
@@ -8561,30 +8658,30 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8561
8658
  "div",
8562
8659
  {
8563
8660
  key: 0,
8564
- class: normalizeClass(["menu-item", `${_ctx.data.type} ${_ctx.data.className || ""}`]),
8565
- onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(_ctx.data, $event)),
8566
- onMousedown: _cache[1] || (_cache[1] = ($event) => mousedownHandler(_ctx.data, $event)),
8567
- onMouseup: _cache[2] || (_cache[2] = ($event) => mouseupHandler(_ctx.data, $event))
8661
+ class: normalizeClass(["menu-item", `${__props.data.type} ${__props.data.className || ""}`]),
8662
+ onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(__props.data, $event)),
8663
+ onMousedown: _cache[1] || (_cache[1] = ($event) => mousedownHandler(__props.data, $event)),
8664
+ onMouseup: _cache[2] || (_cache[2] = ($event) => mouseupHandler(__props.data, $event))
8568
8665
  },
8569
8666
  [
8570
- _ctx.data.type === "divider" ? (openBlock(), createBlock(unref(TMagicDivider), {
8667
+ __props.data.type === "divider" ? (openBlock(), createBlock(unref(TMagicDivider), {
8571
8668
  key: 0,
8572
- direction: _ctx.data.direction || "vertical"
8573
- }, null, 8, ["direction"])) : _ctx.data.type === "text" ? (openBlock(), createElementBlock(
8669
+ direction: __props.data.direction || "vertical"
8670
+ }, null, 8, ["direction"])) : __props.data.type === "text" ? (openBlock(), createElementBlock(
8574
8671
  "div",
8575
8672
  _hoisted_1$l,
8576
- toDisplayString(_ctx.data.text),
8673
+ toDisplayString(__props.data.text),
8577
8674
  1
8578
8675
  /* TEXT */
8579
- )) : _ctx.data.type === "button" ? (openBlock(), createElementBlock(
8676
+ )) : __props.data.type === "button" ? (openBlock(), createElementBlock(
8580
8677
  Fragment,
8581
8678
  { key: 2 },
8582
8679
  [
8583
- _ctx.data.tooltip ? (openBlock(), createBlock(unref(TMagicTooltip), {
8680
+ __props.data.tooltip ? (openBlock(), createBlock(unref(TMagicTooltip), {
8584
8681
  key: 0,
8585
8682
  effect: "dark",
8586
8683
  placement: "bottom-start",
8587
- content: _ctx.data.tooltip
8684
+ content: __props.data.tooltip
8588
8685
  }, {
8589
8686
  default: withCtx(() => [
8590
8687
  createVNode(unref(TMagicButton), {
@@ -8593,14 +8690,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8593
8690
  disabled: disabled.value
8594
8691
  }, {
8595
8692
  default: withCtx(() => [
8596
- _ctx.data.icon ? (openBlock(), createBlock(_sfc_main$1r, {
8693
+ __props.data.icon ? (openBlock(), createBlock(_sfc_main$1r, {
8597
8694
  key: 0,
8598
- icon: _ctx.data.icon
8695
+ icon: __props.data.icon
8599
8696
  }, null, 8, ["icon"])) : createCommentVNode("v-if", true),
8600
8697
  createElementVNode(
8601
8698
  "span",
8602
8699
  null,
8603
- toDisplayString(_ctx.data.text),
8700
+ toDisplayString(__props.data.text),
8604
8701
  1
8605
8702
  /* TEXT */
8606
8703
  )
@@ -8616,17 +8713,17 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8616
8713
  size: "small",
8617
8714
  link: "",
8618
8715
  disabled: disabled.value,
8619
- title: _ctx.data.text
8716
+ title: __props.data.text
8620
8717
  }, {
8621
8718
  default: withCtx(() => [
8622
- _ctx.data.icon ? (openBlock(), createBlock(_sfc_main$1r, {
8719
+ __props.data.icon ? (openBlock(), createBlock(_sfc_main$1r, {
8623
8720
  key: 0,
8624
- icon: _ctx.data.icon
8721
+ icon: __props.data.icon
8625
8722
  }, null, 8, ["icon"])) : createCommentVNode("v-if", true),
8626
8723
  createElementVNode(
8627
8724
  "span",
8628
8725
  null,
8629
- toDisplayString(_ctx.data.text),
8726
+ toDisplayString(__props.data.text),
8630
8727
  1
8631
8728
  /* TEXT */
8632
8729
  )
@@ -8637,22 +8734,22 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8637
8734
  ],
8638
8735
  64
8639
8736
  /* STABLE_FRAGMENT */
8640
- )) : _ctx.data.type === "dropdown" ? (openBlock(), createBlock(unref(TMagicDropdown), {
8737
+ )) : __props.data.type === "dropdown" ? (openBlock(), createBlock(unref(TMagicDropdown), {
8641
8738
  key: 3,
8642
8739
  trigger: "click",
8643
8740
  disabled: disabled.value,
8644
8741
  onCommand: dropdownHandler
8645
8742
  }, {
8646
8743
  dropdown: withCtx(() => [
8647
- _ctx.data.items && _ctx.data.items.length ? (openBlock(), createBlock(unref(TMagicDropdownMenu), { key: 0 }, {
8744
+ __props.data.items && __props.data.items.length ? (openBlock(), createBlock(unref(TMagicDropdownMenu), { key: 0 }, {
8648
8745
  default: withCtx(() => [
8649
8746
  (openBlock(true), createElementBlock(
8650
8747
  Fragment,
8651
8748
  null,
8652
- renderList(_ctx.data.items, (subItem, index) => {
8749
+ renderList(__props.data.items, (subItem, index) => {
8653
8750
  return openBlock(), createBlock(unref(TMagicDropdownItem), {
8654
8751
  key: index,
8655
- command: { data: _ctx.data, subItem }
8752
+ command: { data: __props.data, subItem }
8656
8753
  }, {
8657
8754
  default: withCtx(() => [
8658
8755
  createTextVNode(
@@ -8674,9 +8771,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8674
8771
  })) : createCommentVNode("v-if", true)
8675
8772
  ]),
8676
8773
  default: withCtx(() => [
8677
- createElementVNode("span", _hoisted_2$9, [
8774
+ createElementVNode("span", _hoisted_2$a, [
8678
8775
  createTextVNode(
8679
- toDisplayString(_ctx.data.text),
8776
+ toDisplayString(__props.data.text),
8680
8777
  1
8681
8778
  /* TEXT */
8682
8779
  ),
@@ -8691,9 +8788,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8691
8788
  ]),
8692
8789
  _: 1
8693
8790
  /* STABLE */
8694
- }, 8, ["disabled"])) : _ctx.data.type === "component" ? (openBlock(), createBlock(
8695
- resolveDynamicComponent(_ctx.data.component),
8696
- mergeProps({ key: 4 }, _ctx.data.props || {}, toHandlers(_ctx.data.listeners || {})),
8791
+ }, 8, ["disabled"])) : __props.data.type === "component" ? (openBlock(), createBlock(
8792
+ resolveDynamicComponent(__props.data.component),
8793
+ mergeProps({ key: 4 }, __props.data.props || {}, toHandlers(__props.data.listeners || {})),
8697
8794
  null,
8698
8795
  16
8699
8796
  /* FULL_PROPS */
@@ -8711,7 +8808,7 @@ const _hoisted_1$k = {
8711
8808
  id: "m-editor-page-bar-add-icon",
8712
8809
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
8713
8810
  };
8714
- const _hoisted_2$8 = {
8811
+ const _hoisted_2$9 = {
8715
8812
  key: 1,
8716
8813
  style: { "width": "21px" }
8717
8814
  };
@@ -8762,7 +8859,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8762
8859
  _: 1
8763
8860
  /* STABLE */
8764
8861
  })
8765
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$8));
8862
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$9));
8766
8863
  };
8767
8864
  }
8768
8865
  });
@@ -8771,7 +8868,7 @@ const _hoisted_1$j = {
8771
8868
  class: "m-editor-page-bar",
8772
8869
  ref: "pageBar"
8773
8870
  };
8774
- const _hoisted_2$7 = {
8871
+ const _hoisted_2$8 = {
8775
8872
  key: 0,
8776
8873
  class: "m-editor-page-bar-items",
8777
8874
  ref: "itemsContainer"
@@ -8900,9 +8997,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8900
8997
  _hoisted_1$j,
8901
8998
  [
8902
8999
  renderSlot(_ctx.$slots, "prepend"),
8903
- _ctx.length ? (openBlock(), createElementBlock(
9000
+ __props.length ? (openBlock(), createElementBlock(
8904
9001
  "div",
8905
- _hoisted_2$7,
9002
+ _hoisted_2$8,
8906
9003
  [
8907
9004
  renderSlot(_ctx.$slots, "default")
8908
9005
  ],
@@ -8936,6 +9033,8 @@ const _hoisted_1$i = {
8936
9033
  id: "m-editor-page-bar-list-icon",
8937
9034
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
8938
9035
  };
9036
+ const _hoisted_2$7 = { class: "page-bar-popover-wrapper" };
9037
+ const _hoisted_3$3 = { class: "page-bar-popover-inner" };
8939
9038
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
8940
9039
  ...{
8941
9040
  name: "MEditorPageList"
@@ -8970,25 +9069,27 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8970
9069
  })
8971
9070
  ]),
8972
9071
  default: withCtx(() => [
8973
- createElementVNode("div", null, [
8974
- renderSlot(_ctx.$slots, "page-list-popover", { list: _ctx.list }, () => [
8975
- (openBlock(true), createElementBlock(
8976
- Fragment,
8977
- null,
8978
- renderList(_ctx.list, (item, index) => {
8979
- return openBlock(), createBlock(_sfc_main$z, {
8980
- data: {
8981
- type: "button",
8982
- text: item.devconfig?.tabName || item.name || item.id,
8983
- className: item.id === page.value?.id ? "active" : "",
8984
- handler: () => switchPage(item.id)
8985
- },
8986
- key: index
8987
- }, null, 8, ["data"]);
8988
- }),
8989
- 128
8990
- /* KEYED_FRAGMENT */
8991
- ))
9072
+ createElementVNode("div", _hoisted_2$7, [
9073
+ createElementVNode("div", _hoisted_3$3, [
9074
+ renderSlot(_ctx.$slots, "page-list-popover", { list: __props.list }, () => [
9075
+ (openBlock(true), createElementBlock(
9076
+ Fragment,
9077
+ null,
9078
+ renderList(__props.list, (item, index) => {
9079
+ return openBlock(), createBlock(_sfc_main$z, {
9080
+ data: {
9081
+ type: "button",
9082
+ text: item.devconfig?.tabName || item.name || item.id,
9083
+ className: item.id === page.value?.id ? "active" : "",
9084
+ handler: () => switchPage(item.id)
9085
+ },
9086
+ key: index
9087
+ }, null, 8, ["data"]);
9088
+ }),
9089
+ 128
9090
+ /* KEYED_FRAGMENT */
9091
+ ))
9092
+ ])
8992
9093
  ])
8993
9094
  ])
8994
9095
  ]),
@@ -9146,7 +9247,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9146
9247
  return openBlock(), createElementBlock("div", _hoisted_1$g, [
9147
9248
  createVNode(_sfc_main$x, {
9148
9249
  ref: "pageBarScrollContainer",
9149
- "page-bar-sort-options": _ctx.pageBarSortOptions,
9250
+ "page-bar-sort-options": __props.pageBarSortOptions,
9150
9251
  length: list.value.length
9151
9252
  }, {
9152
9253
  prepend: withCtx(() => [
@@ -9285,7 +9386,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9285
9386
  /* CACHED */
9286
9387
  ))
9287
9388
  ]),
9288
- !_ctx.disabledPageFragment ? (openBlock(), createElementBlock("div", {
9389
+ !__props.disabledPageFragment ? (openBlock(), createElementBlock("div", {
9289
9390
  key: 0,
9290
9391
  class: "m-editor-empty-button",
9291
9392
  onClick: _cache[1] || (_cache[1] = ($event) => clickHandler(unref(NodeType).PAGE_FRAGMENT))
@@ -9410,13 +9511,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9410
9511
  ]),
9411
9512
  center: withCtx(() => [
9412
9513
  page.value ? renderSlot(_ctx.$slots, "workspace", { key: 0 }) : renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
9413
- createVNode(_sfc_main$t, { "disabled-page-fragment": _ctx.disabledPageFragment }, null, 8, ["disabled-page-fragment"])
9514
+ createVNode(_sfc_main$t, { "disabled-page-fragment": __props.disabledPageFragment }, null, 8, ["disabled-page-fragment"])
9414
9515
  ]),
9415
9516
  renderSlot(_ctx.$slots, "page-bar", {}, () => [
9416
9517
  createVNode(_sfc_main$u, {
9417
- "disabled-page-fragment": _ctx.disabledPageFragment,
9418
- "page-bar-sort-options": _ctx.pageBarSortOptions,
9419
- "filter-function": _ctx.pageFilterFunction
9518
+ "disabled-page-fragment": __props.disabledPageFragment,
9519
+ "page-bar-sort-options": __props.pageBarSortOptions,
9520
+ "filter-function": __props.pageFilterFunction
9420
9521
  }, {
9421
9522
  "page-bar-add-button": withCtx(() => [
9422
9523
  renderSlot(_ctx.$slots, "page-bar-add-button")
@@ -9628,7 +9729,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9628
9729
  "div",
9629
9730
  {
9630
9731
  class: "m-editor-nav-menu",
9631
- style: normalizeStyle({ height: `${_ctx.height}px` }),
9732
+ style: normalizeStyle({ height: `${__props.height}px` }),
9632
9733
  ref: "navMenu"
9633
9734
  },
9634
9735
  [
@@ -9736,12 +9837,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9736
9837
  ref: "configForm",
9737
9838
  class: normalizeClass(propsPanelSize.value),
9738
9839
  "popper-class": `m-editor-props-panel-popper ${propsPanelSize.value}`,
9739
- "label-width": _ctx.labelWidth,
9740
- "label-position": _ctx.labelPosition,
9840
+ "label-width": __props.labelWidth,
9841
+ "label-position": __props.labelPosition,
9741
9842
  size: propsPanelSize.value,
9742
- "init-values": _ctx.values,
9743
- config: _ctx.config,
9744
- "extend-state": _ctx.extendState,
9843
+ "init-values": __props.values,
9844
+ config: __props.config,
9845
+ "extend-state": __props.extendState,
9745
9846
  onChange: submit,
9746
9847
  onError: errorHandler
9747
9848
  }, null, 8, ["class", "popper-class", "label-width", "label-position", "size", "init-values", "config", "extend-state"])
@@ -9749,7 +9850,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9749
9850
  _: 1
9750
9851
  /* STABLE */
9751
9852
  }),
9752
- !_ctx.disabledShowSrc ? (openBlock(), createBlock(unref(TMagicButton), {
9853
+ !__props.disabledShowSrc ? (openBlock(), createBlock(unref(TMagicButton), {
9753
9854
  key: 0,
9754
9855
  class: "m-editor-props-panel-src-icon",
9755
9856
  circle: "",
@@ -9767,7 +9868,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9767
9868
  key: 1,
9768
9869
  class: "m-editor-props-panel-src-code",
9769
9870
  height: `${unref(editorContentHeight)}px`,
9770
- "init-values": _ctx.codeValueKey ? _ctx.values[_ctx.codeValueKey] : _ctx.values,
9871
+ "init-values": __props.codeValueKey ? __props.values[__props.codeValueKey] : __props.values,
9771
9872
  options: unref(codeOptions),
9772
9873
  parse: true,
9773
9874
  onSave: saveCode
@@ -9951,8 +10052,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9951
10052
  class: normalizeClass(["m-editor-props-property-panel", { "show-style-panel": unref(showStylePanel) }]),
9952
10053
  config: curFormConfig.value,
9953
10054
  values: values.value,
9954
- disabledShowSrc: _ctx.disabledShowSrc,
9955
- extendState: _ctx.extendState,
10055
+ disabledShowSrc: __props.disabledShowSrc,
10056
+ extendState: __props.extendState,
9956
10057
  onSubmit: submit,
9957
10058
  onSubmitError: errorHandler,
9958
10059
  onFormError: errorHandler,
@@ -9970,8 +10071,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9970
10071
  "code-value-key": "style",
9971
10072
  config: styleFormConfig,
9972
10073
  values: values.value,
9973
- disabledShowSrc: _ctx.disabledShowSrc,
9974
- extendState: _ctx.extendState,
10074
+ disabledShowSrc: __props.disabledShowSrc,
10075
+ extendState: __props.extendState,
9975
10076
  onSubmit: submit,
9976
10077
  onSubmitError: errorHandler,
9977
10078
  onFormError: errorHandler
@@ -10164,12 +10265,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10164
10265
  (openBlock(true), createElementBlock(
10165
10266
  Fragment,
10166
10267
  null,
10167
- renderList(_ctx.menuData, (item, index) => {
10268
+ renderList(__props.menuData, (item, index) => {
10168
10269
  return openBlock(), createBlock(_sfc_main$z, {
10169
10270
  "event-type": "mouseup",
10170
10271
  ref_for: true,
10171
10272
  ref: "buttons",
10172
- class: normalizeClass({ active: _ctx.active && item.id === _ctx.active }),
10273
+ class: normalizeClass({ active: __props.active && item.id === __props.active }),
10173
10274
  data: item,
10174
10275
  key: index,
10175
10276
  onMouseup: clickHandler,
@@ -10185,7 +10286,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10185
10286
  key: 0,
10186
10287
  class: "sub-menu",
10187
10288
  ref: "subMenu",
10188
- active: _ctx.active,
10289
+ active: __props.active,
10189
10290
  "menu-data": subMenuData.value,
10190
10291
  "is-sub-menu": true,
10191
10292
  onHide: hide
@@ -10315,10 +10416,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10315
10416
  return withDirectives((openBlock(), createElementBlock("div", {
10316
10417
  class: "m-editor-tree-node",
10317
10418
  draggable: draggable.value,
10318
- "data-node-id": _ctx.data.id,
10319
- "data-parent-id": _ctx.parent?.id,
10320
- "data-parents-id": _ctx.parentsId,
10321
- "data-is-container": Array.isArray(_ctx.data.items),
10419
+ "data-node-id": __props.data.id,
10420
+ "data-parent-id": __props.parent?.id,
10421
+ "data-parents-id": __props.parentsId,
10422
+ "data-is-container": Array.isArray(__props.data.items),
10322
10423
  onDragstart: handleDragStart,
10323
10424
  onDragleave: handleDragLeave,
10324
10425
  onDragend: handleDragEnd
@@ -10327,7 +10428,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10327
10428
  "div",
10328
10429
  {
10329
10430
  class: normalizeClass(["tree-node", { selected: selected.value, expanded: expanded.value }]),
10330
- style: normalizeStyle(`padding-left: ${_ctx.indent}px`),
10431
+ style: normalizeStyle(`padding-left: ${__props.indent}px`),
10331
10432
  onContextmenu: nodeContextmenuHandler,
10332
10433
  onMouseenter: mouseenterHandler
10333
10434
  },
@@ -10342,18 +10443,18 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10342
10443
  class: "tree-node-content",
10343
10444
  onClick: nodeClickHandler
10344
10445
  }, [
10345
- renderSlot(_ctx.$slots, "tree-node-content", { data: _ctx.data }, () => [
10446
+ renderSlot(_ctx.$slots, "tree-node-content", { data: __props.data }, () => [
10346
10447
  createElementVNode("div", _hoisted_2$3, [
10347
- renderSlot(_ctx.$slots, "tree-node-label", { data: _ctx.data }, () => [
10448
+ renderSlot(_ctx.$slots, "tree-node-label", { data: __props.data }, () => [
10348
10449
  createTextVNode(
10349
- toDisplayString(`${_ctx.data.name} (${_ctx.data.id})`),
10450
+ toDisplayString(`${__props.data.name} (${__props.data.id})`),
10350
10451
  1
10351
10452
  /* TEXT */
10352
10453
  )
10353
10454
  ])
10354
10455
  ]),
10355
10456
  createElementVNode("div", _hoisted_3$1, [
10356
- renderSlot(_ctx.$slots, "tree-node-tool", { data: _ctx.data })
10457
+ renderSlot(_ctx.$slots, "tree-node-tool", { data: __props.data })
10357
10458
  ])
10358
10459
  ])
10359
10460
  ])
@@ -10365,14 +10466,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10365
10466
  (openBlock(true), createElementBlock(
10366
10467
  Fragment,
10367
10468
  null,
10368
- renderList(_ctx.data.items, (item) => {
10469
+ renderList(__props.data.items, (item) => {
10369
10470
  return openBlock(), createBlock(_component_TreeNode, {
10370
10471
  key: item.id,
10371
10472
  data: item,
10372
- parent: _ctx.data,
10373
- parentsId: [..._ctx.parentsId, _ctx.data.id],
10374
- "node-status-map": _ctx.nodeStatusMap,
10375
- indent: _ctx.indent + _ctx.nextLevelIndentIncrement
10473
+ parent: __props.data,
10474
+ parentsId: [...__props.parentsId, __props.data.id],
10475
+ "node-status-map": __props.nodeStatusMap,
10476
+ indent: __props.indent + __props.nextLevelIndentIncrement
10376
10477
  }, {
10377
10478
  "tree-node-content": withCtx(({ data: nodeData }) => [
10378
10479
  renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -10383,9 +10484,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10383
10484
  "tree-node-tool": withCtx(({ data: nodeData }) => [
10384
10485
  renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
10385
10486
  ]),
10386
- _: 2
10387
- /* DYNAMIC */
10388
- }, 1032, ["data", "parent", "parentsId", "node-status-map", "indent"]);
10487
+ _: 3
10488
+ /* FORWARDED */
10489
+ }, 8, ["data", "parent", "parentsId", "node-status-map", "indent"]);
10389
10490
  }),
10390
10491
  128
10391
10492
  /* KEYED_FRAGMENT */
@@ -10429,16 +10530,16 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10429
10530
  onDragover: handleDragOver
10430
10531
  },
10431
10532
  [
10432
- _ctx.data?.length ? (openBlock(true), createElementBlock(
10533
+ __props.data?.length ? (openBlock(true), createElementBlock(
10433
10534
  Fragment,
10434
10535
  { key: 0 },
10435
- renderList(_ctx.data, (item) => {
10536
+ renderList(__props.data, (item) => {
10436
10537
  return openBlock(), createBlock(_sfc_main$m, {
10437
10538
  key: item.id,
10438
10539
  data: item,
10439
- indent: _ctx.indent,
10440
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
10441
- "node-status-map": _ctx.nodeStatusMap
10540
+ indent: __props.indent,
10541
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
10542
+ "node-status-map": __props.nodeStatusMap
10442
10543
  }, {
10443
10544
  "tree-node-content": withCtx(({ data: nodeData }) => [
10444
10545
  renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -10449,9 +10550,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10449
10550
  "tree-node-tool": withCtx(({ data: nodeData }) => [
10450
10551
  renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
10451
10552
  ]),
10452
- _: 2
10453
- /* DYNAMIC */
10454
- }, 1032, ["data", "indent", "next-level-indent-increment", "node-status-map"]);
10553
+ _: 3
10554
+ /* FORWARDED */
10555
+ }, 8, ["data", "indent", "next-level-indent-increment", "node-status-map"]);
10455
10556
  }),
10456
10557
  128
10457
10558
  /* KEYED_FRAGMENT */
@@ -10459,7 +10560,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10459
10560
  createElementVNode(
10460
10561
  "p",
10461
10562
  null,
10462
- toDisplayString(_ctx.emptyText),
10563
+ toDisplayString(__props.emptyText),
10463
10564
  1
10464
10565
  /* TEXT */
10465
10566
  )
@@ -10581,8 +10682,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
10581
10682
  return openBlock(), createBlock(_sfc_main$l, {
10582
10683
  data: codeList.value,
10583
10684
  "node-status-map": unref(nodeStatusMap),
10584
- indent: _ctx.indent,
10585
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
10685
+ indent: __props.indent,
10686
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
10586
10687
  onNodeClick: clickHandler,
10587
10688
  onNodeContextmenu: nodeContentMenuHandler
10588
10689
  }, {
@@ -10782,11 +10883,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
10782
10883
  size: "small",
10783
10884
  onClick: unref(createCodeBlock)
10784
10885
  }, {
10785
- default: withCtx(() => _cache[0] || (_cache[0] = [
10786
- createTextVNode("新增")
10787
- ])),
10788
- _: 1,
10789
- __: [0]
10886
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
10887
+ createTextVNode(
10888
+ "新增",
10889
+ -1
10890
+ /* CACHED */
10891
+ )
10892
+ ])]),
10893
+ _: 1
10894
+ /* STABLE */
10790
10895
  }, 8, ["onClick"])) : createCommentVNode("v-if", true),
10791
10896
  renderSlot(_ctx.$slots, "code-block-panel-search")
10792
10897
  ])
@@ -10794,9 +10899,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
10794
10899
  createCommentVNode(" 代码块列表 "),
10795
10900
  createVNode(_sfc_main$k, {
10796
10901
  ref: "codeBlockList",
10797
- "custom-error": _ctx.customError,
10798
- indent: _ctx.indent,
10799
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
10902
+ "custom-error": __props.customError,
10903
+ indent: __props.indent,
10904
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
10800
10905
  onEdit: unref(editCode),
10801
10906
  onRemove: unref(deleteCode),
10802
10907
  onNodeContextmenu: unref(nodeContentMenuHandler)
@@ -10934,16 +11039,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
10934
11039
  "onUpdate:width": _cache[1] || (_cache[1] = ($event) => width.value = $event),
10935
11040
  height: unref(editorHeight),
10936
11041
  "onUpdate:height": _cache[2] || (_cache[2] = ($event) => isRef(editorHeight) ? editorHeight.value = $event : null),
10937
- title: _ctx.title,
11042
+ title: __props.title,
10938
11043
  position: unref(boxPosition)
10939
11044
  }, {
10940
11045
  body: withCtx(() => [
10941
11046
  createVNode(unref(MFormBox), {
10942
11047
  "label-width": "80px",
10943
- title: _ctx.title,
11048
+ title: __props.title,
10944
11049
  config: dataSourceConfig.value,
10945
11050
  values: initValues.value,
10946
- disabled: _ctx.disabled,
11051
+ disabled: __props.disabled,
10947
11052
  style: { "height": "100%" },
10948
11053
  onSubmit: submitHandler,
10949
11054
  onError: errorHandler
@@ -11059,8 +11164,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11059
11164
  return openBlock(), createBlock(_sfc_main$l, {
11060
11165
  data: list.value,
11061
11166
  "node-status-map": unref(nodeStatusMap),
11062
- indent: _ctx.indent,
11063
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
11167
+ indent: __props.indent,
11168
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
11064
11169
  onNodeClick: clickHandler,
11065
11170
  onNodeContextmenu: nodeContentMenuHandler
11066
11171
  }, {
@@ -11286,11 +11391,15 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
11286
11391
  type: "primary",
11287
11392
  size: "small"
11288
11393
  }, {
11289
- default: withCtx(() => _cache[0] || (_cache[0] = [
11290
- createTextVNode("新增")
11291
- ])),
11292
- _: 1,
11293
- __: [0]
11394
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
11395
+ createTextVNode(
11396
+ "新增",
11397
+ -1
11398
+ /* CACHED */
11399
+ )
11400
+ ])]),
11401
+ _: 1
11402
+ /* STABLE */
11294
11403
  })
11295
11404
  ]),
11296
11405
  default: withCtx(() => [
@@ -11321,8 +11430,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
11321
11430
  createCommentVNode(" 数据源列表 "),
11322
11431
  createVNode(_sfc_main$h, {
11323
11432
  ref: "dataSourceList",
11324
- indent: _ctx.indent,
11325
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
11433
+ indent: __props.indent,
11434
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
11326
11435
  onEdit: unref(editHandler),
11327
11436
  onRemove: removeHandler,
11328
11437
  onNodeContextmenu: unref(nodeContentMenuHandler)
@@ -11372,7 +11481,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
11372
11481
  __name: "FolderMinusIcon",
11373
11482
  setup(__props) {
11374
11483
  return (_ctx, _cache) => {
11375
- return openBlock(), createElementBlock("svg", _hoisted_1$7, _cache[0] || (_cache[0] = [
11484
+ return openBlock(), createElementBlock("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
11376
11485
  createElementVNode(
11377
11486
  "path",
11378
11487
  {
@@ -11393,7 +11502,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
11393
11502
  -1
11394
11503
  /* CACHED */
11395
11504
  )
11396
- ]));
11505
+ ])]);
11397
11506
  };
11398
11507
  }
11399
11508
  });
@@ -11588,11 +11697,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
11588
11697
  });
11589
11698
  };
11590
11699
  return (_ctx, _cache) => {
11591
- return _ctx.data.type !== "page" ? (openBlock(), createElementBlock(
11700
+ return __props.data.type !== "page" ? (openBlock(), createElementBlock(
11592
11701
  Fragment,
11593
11702
  { key: 0 },
11594
11703
  [
11595
- _ctx.data.visible === false ? (openBlock(), createBlock(_sfc_main$1r, {
11704
+ __props.data.visible === false ? (openBlock(), createBlock(_sfc_main$1r, {
11596
11705
  key: 0,
11597
11706
  icon: unref(Hide),
11598
11707
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => setNodeVisible(true), ["stop"])),
@@ -12135,8 +12244,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
12135
12244
  ref: "tree",
12136
12245
  data: nodeData.value,
12137
12246
  "node-status-map": unref(nodeStatusMap),
12138
- indent: _ctx.indent,
12139
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
12247
+ indent: __props.indent,
12248
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
12140
12249
  onNodeDragover: unref(handleDragOver),
12141
12250
  onNodeDragstart: unref(handleDragStart),
12142
12251
  onNodeDragleave: unref(handleDragLeave),
@@ -12162,8 +12271,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
12162
12271
  (openBlock(), createBlock(Teleport, { to: "body" }, [
12163
12272
  createVNode(_sfc_main$e, {
12164
12273
  ref: "menu",
12165
- "layer-content-menu": _ctx.layerContentMenu,
12166
- "custom-content-menu": _ctx.customContentMenu,
12274
+ "layer-content-menu": __props.layerContentMenu,
12275
+ "custom-content-menu": __props.customContentMenu,
12167
12276
  onCollapseAll: collapseAllHandler
12168
12277
  }, null, 8, ["layer-content-menu", "custom-content-menu"])
12169
12278
  ]))
@@ -12509,7 +12618,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
12509
12618
  Fragment,
12510
12619
  null,
12511
12620
  [
12512
- _ctx.data.type === "tabs" && _ctx.data.items.length ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
12621
+ __props.data.type === "tabs" && __props.data.items.length ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
12513
12622
  createElementVNode("div", _hoisted_2$1, [
12514
12623
  (openBlock(true), createElementBlock(
12515
12624
  Fragment,
@@ -12841,7 +12950,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
12841
12950
  "div",
12842
12951
  {
12843
12952
  ref: "bar",
12844
- class: normalizeClass(["m-editor-scroll-bar", _ctx.isHorizontal ? "horizontal" : "vertical"])
12953
+ class: normalizeClass(["m-editor-scroll-bar", __props.isHorizontal ? "horizontal" : "vertical"])
12845
12954
  },
12846
12955
  [
12847
12956
  createElementVNode(
@@ -12957,19 +13066,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12957
13066
  /* STYLE */
12958
13067
  ),
12959
13068
  renderSlot(_ctx.$slots, "content"),
12960
- scrollHeight.value > _ctx.wrapHeight ? (openBlock(), createBlock(_sfc_main$9, {
13069
+ scrollHeight.value > __props.wrapHeight ? (openBlock(), createBlock(_sfc_main$9, {
12961
13070
  key: 0,
12962
13071
  "scroll-size": scrollHeight.value,
12963
13072
  pos: vOffset.value,
12964
- size: _ctx.wrapHeight,
13073
+ size: __props.wrapHeight,
12965
13074
  onScroll: vScrollHandler
12966
13075
  }, null, 8, ["scroll-size", "pos", "size"])) : createCommentVNode("v-if", true),
12967
- scrollWidth.value > _ctx.wrapWidth ? (openBlock(), createBlock(_sfc_main$9, {
13076
+ scrollWidth.value > __props.wrapWidth ? (openBlock(), createBlock(_sfc_main$9, {
12968
13077
  key: 1,
12969
13078
  "is-horizontal": true,
12970
13079
  "scroll-size": scrollWidth.value,
12971
13080
  pos: hOffset.value,
12972
- size: _ctx.wrapWidth,
13081
+ size: __props.wrapWidth,
12973
13082
  onScroll: hScrollHandler
12974
13083
  }, null, 8, ["scroll-size", "pos", "size"])) : createCommentVNode("v-if", true)
12975
13084
  ],
@@ -13204,7 +13313,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
13204
13313
  __name: "CenterIcon",
13205
13314
  setup(__props) {
13206
13315
  return (_ctx, _cache) => {
13207
- return openBlock(), createElementBlock("svg", _hoisted_1$2, _cache[0] || (_cache[0] = [
13316
+ return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
13208
13317
  createElementVNode(
13209
13318
  "path",
13210
13319
  {
@@ -13244,7 +13353,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
13244
13353
  -1
13245
13354
  /* CACHED */
13246
13355
  )
13247
- ]));
13356
+ ])]);
13248
13357
  };
13249
13358
  }
13250
13359
  });
@@ -13556,13 +13665,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13556
13665
  onClick: _cache[0] || (_cache[0] = ($event) => stageWrapRef.value?.container?.focus())
13557
13666
  }, {
13558
13667
  content: withCtx(() => [
13559
- !_ctx.disabledStageOverlay ? (openBlock(), createBlock(_sfc_main$6, { key: 0 })) : createCommentVNode("v-if", true),
13668
+ !__props.disabledStageOverlay ? (openBlock(), createBlock(_sfc_main$6, { key: 0 })) : createCommentVNode("v-if", true),
13560
13669
  (openBlock(), createBlock(Teleport, { to: "body" }, [
13561
13670
  createVNode(_sfc_main$4, {
13562
13671
  ref: "menu",
13563
13672
  "is-multi-select": isMultiSelect.value,
13564
- "stage-content-menu": _ctx.stageContentMenu,
13565
- "custom-content-menu": _ctx.customContentMenu
13673
+ "stage-content-menu": __props.stageContentMenu,
13674
+ "custom-content-menu": __props.customContentMenu
13566
13675
  }, null, 8, ["is-multi-select", "stage-content-menu", "custom-content-menu"])
13567
13676
  ]))
13568
13677
  ]),
@@ -13675,9 +13784,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
13675
13784
  page.value && (unref(stageOptions)?.render || unref(stageOptions)?.runtimeUrl) ? (openBlock(), createBlock(_sfc_main$3, {
13676
13785
  key: 0,
13677
13786
  "stage-options": unref(stageOptions),
13678
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
13679
- "stage-content-menu": _ctx.stageContentMenu,
13680
- "custom-content-menu": _ctx.customContentMenu
13787
+ "disabled-stage-overlay": __props.disabledStageOverlay,
13788
+ "stage-content-menu": __props.stageContentMenu,
13789
+ "custom-content-menu": __props.customContentMenu
13681
13790
  }, null, 8, ["stage-options", "disabled-stage-overlay", "stage-content-menu", "custom-content-menu"])) : createCommentVNode("v-if", true)
13682
13791
  ]),
13683
13792
  renderSlot(_ctx.$slots, "workspace-content")
@@ -15155,7 +15264,7 @@ const jsContent = `(function () {
15155
15264
 
15156
15265
  })();
15157
15266
  `;
15158
- const blob = typeof self !== "undefined" && self.Blob && new Blob([jsContent], { type: "text/javascript;charset=utf-8" });
15267
+ const blob = typeof self !== "undefined" && self.Blob && new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);", jsContent], { type: "text/javascript;charset=utf-8" });
15159
15268
  function WorkerWrapper(options) {
15160
15269
  let objURL;
15161
15270
  try {
@@ -15175,8 +15284,6 @@ function WorkerWrapper(options) {
15175
15284
  name: options?.name
15176
15285
  }
15177
15286
  );
15178
- } finally {
15179
- objURL && (self.URL || self.webkitURL).revokeObjectURL(objURL);
15180
15287
  }
15181
15288
  }
15182
15289
 
@@ -16494,16 +16601,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16494
16601
  __expose(services);
16495
16602
  return (_ctx, _cache) => {
16496
16603
  return openBlock(), createBlock(_sfc_main$s, {
16497
- "disabled-page-fragment": _ctx.disabledPageFragment,
16498
- "page-bar-sort-options": _ctx.pageBarSortOptions,
16499
- "page-filter-function": _ctx.pageFilterFunction
16604
+ "disabled-page-fragment": __props.disabledPageFragment,
16605
+ "page-bar-sort-options": __props.pageBarSortOptions,
16606
+ "page-filter-function": __props.pageFilterFunction
16500
16607
  }, {
16501
16608
  header: withCtx(() => [
16502
16609
  renderSlot(_ctx.$slots, "header")
16503
16610
  ]),
16504
16611
  nav: withCtx(() => [
16505
16612
  renderSlot(_ctx.$slots, "nav", { editorService: unref(editorService) }, () => [
16506
- createVNode(_sfc_main$r, { data: _ctx.menu }, null, 8, ["data"])
16613
+ createVNode(_sfc_main$r, { data: __props.menu }, null, 8, ["data"])
16507
16614
  ])
16508
16615
  ]),
16509
16616
  "content-before": withCtx(() => [
@@ -16515,11 +16622,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16515
16622
  sidebar: withCtx(() => [
16516
16623
  renderSlot(_ctx.$slots, "sidebar", { editorService: unref(editorService) }, () => [
16517
16624
  createVNode(_sfc_main$a, {
16518
- data: _ctx.sidebar,
16519
- "layer-content-menu": _ctx.layerContentMenu,
16520
- "custom-content-menu": _ctx.customContentMenu,
16521
- indent: _ctx.treeIndent,
16522
- "next-level-indent-increment": _ctx.treeNextLevelIndentIncrement
16625
+ data: __props.sidebar,
16626
+ "layer-content-menu": __props.layerContentMenu,
16627
+ "custom-content-menu": __props.customContentMenu,
16628
+ indent: __props.treeIndent,
16629
+ "next-level-indent-increment": __props.treeNextLevelIndentIncrement
16523
16630
  }, {
16524
16631
  "layer-panel-header": withCtx(() => [
16525
16632
  renderSlot(_ctx.$slots, "layer-panel-header")
@@ -16568,9 +16675,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16568
16675
  workspace: withCtx(() => [
16569
16676
  renderSlot(_ctx.$slots, "workspace", { editorService: unref(editorService) }, () => [
16570
16677
  createVNode(_sfc_main$1, {
16571
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
16572
- "stage-content-menu": _ctx.stageContentMenu,
16573
- "custom-content-menu": _ctx.customContentMenu
16678
+ "disabled-stage-overlay": __props.disabledStageOverlay,
16679
+ "stage-content-menu": __props.stageContentMenu,
16680
+ "custom-content-menu": __props.customContentMenu
16574
16681
  }, {
16575
16682
  stage: withCtx(() => [
16576
16683
  renderSlot(_ctx.$slots, "stage")
@@ -16586,8 +16693,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16586
16693
  "props-panel": withCtx(() => [
16587
16694
  renderSlot(_ctx.$slots, "props-panel", {}, () => [
16588
16695
  createVNode(_sfc_main$p, {
16589
- "extend-state": _ctx.extendFormState,
16590
- "disabled-show-src": _ctx.disabledShowSrc,
16696
+ "extend-state": __props.extendFormState,
16697
+ "disabled-show-src": __props.disabledShowSrc,
16591
16698
  onMounted: propsPanelMountedHandler,
16592
16699
  onUnmounted: propsPanelUnmountedHandler,
16593
16700
  onFormError: propsPanelFormErrorHandler,