@tmagic/editor 1.6.0 → 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.
@@ -4820,7 +4820,7 @@
4820
4820
  return (array && array.length) ? baseUniq(array) : [];
4821
4821
  }
4822
4822
 
4823
- const _hoisted_1$10 = ["src"];
4823
+ const _hoisted_1$$ = ["src"];
4824
4824
  const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
4825
4825
  ...{
4826
4826
  name: "MEditorIcon"
@@ -4832,7 +4832,7 @@
4832
4832
  setup(__props) {
4833
4833
  const isRelativePath = (str) => /^(\.|(\.\.)?\/)/.test(str);
4834
4834
  return (_ctx, _cache) => {
4835
- return !_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicIcon), {
4835
+ return !__props.icon ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicIcon), {
4836
4836
  key: 0,
4837
4837
  class: "magic-editor-icon"
4838
4838
  }, {
@@ -4841,20 +4841,20 @@
4841
4841
  ]),
4842
4842
  _: 1
4843
4843
  /* STABLE */
4844
- })) : typeof _ctx.icon === "string" && (_ctx.icon.startsWith("http") || isRelativePath(_ctx.icon)) ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicIcon), {
4844
+ })) : typeof __props.icon === "string" && (__props.icon.startsWith("http") || isRelativePath(__props.icon)) ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicIcon), {
4845
4845
  key: 1,
4846
4846
  class: "magic-editor-icon"
4847
4847
  }, {
4848
4848
  default: vue.withCtx(() => [
4849
- vue.createElementVNode("img", { src: _ctx.icon }, null, 8, _hoisted_1$10)
4849
+ vue.createElementVNode("img", { src: __props.icon }, null, 8, _hoisted_1$$)
4850
4850
  ]),
4851
4851
  _: 1
4852
4852
  /* STABLE */
4853
- })) : typeof _ctx.icon === "string" ? (vue.openBlock(), vue.createElementBlock(
4853
+ })) : typeof __props.icon === "string" ? (vue.openBlock(), vue.createElementBlock(
4854
4854
  "i",
4855
4855
  {
4856
4856
  key: 2,
4857
- class: vue.normalizeClass(["magic-editor-icon", _ctx.icon])
4857
+ class: vue.normalizeClass(["magic-editor-icon", __props.icon])
4858
4858
  },
4859
4859
  null,
4860
4860
  2
@@ -4864,7 +4864,7 @@
4864
4864
  class: "magic-editor-icon"
4865
4865
  }, {
4866
4866
  default: vue.withCtx(() => [
4867
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.toRaw(_ctx.icon))))
4867
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.toRaw(__props.icon))))
4868
4868
  ]),
4869
4869
  _: 1
4870
4870
  /* STABLE */
@@ -4882,10 +4882,10 @@
4882
4882
  emmetMonacoEs.emmetHTML(monaco__namespace);
4883
4883
  emmetMonacoEs.emmetCSS(monaco__namespace, ["css", "scss"]);
4884
4884
 
4885
- const _hoisted_1$$ = {
4885
+ const _hoisted_1$_ = {
4886
4886
  class: /* @__PURE__ */ vue.normalizeClass(`magic-code-editor`)
4887
4887
  };
4888
- const _hoisted_2$n = {
4888
+ const _hoisted_2$o = {
4889
4889
  ref: "codeEditor",
4890
4890
  class: "magic-code-editor-content"
4891
4891
  };
@@ -5080,7 +5080,7 @@
5080
5080
  }
5081
5081
  });
5082
5082
  return (_ctx, _cache) => {
5083
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
5083
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
5084
5084
  (vue.openBlock(), vue.createBlock(vue.Teleport, {
5085
5085
  to: "body",
5086
5086
  disabled: !fullScreen.value
@@ -5089,10 +5089,10 @@
5089
5089
  "div",
5090
5090
  {
5091
5091
  class: vue.normalizeClass(`magic-code-editor-wrapper${fullScreen.value ? " full-screen" : ""}`),
5092
- style: vue.normalizeStyle(!fullScreen.value && _ctx.height ? `height: ${_ctx.height}` : "100%")
5092
+ style: vue.normalizeStyle(!fullScreen.value && __props.height ? `height: ${__props.height}` : "100%")
5093
5093
  },
5094
5094
  [
5095
- !_ctx.disabledFullScreen ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
5095
+ !__props.disabledFullScreen ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
5096
5096
  key: 0,
5097
5097
  class: "magic-code-editor-full-screen-icon",
5098
5098
  circle: "",
@@ -5107,7 +5107,7 @@
5107
5107
  })) : vue.createCommentVNode("v-if", true),
5108
5108
  vue.createElementVNode(
5109
5109
  "div",
5110
- _hoisted_2$n,
5110
+ _hoisted_2$o,
5111
5111
  null,
5112
5112
  512
5113
5113
  /* NEED_PATCH */
@@ -5146,14 +5146,14 @@
5146
5146
  };
5147
5147
  return (_ctx, _cache) => {
5148
5148
  return vue.openBlock(), vue.createBlock(_sfc_main$1q, {
5149
- height: _ctx.config.height,
5150
- "init-values": _ctx.model[_ctx.name],
5151
- language: _ctx.config.language,
5149
+ height: __props.config.height,
5150
+ "init-values": __props.model[__props.name],
5151
+ language: __props.config.language,
5152
5152
  options: {
5153
- ..._ctx.config.options,
5154
- readOnly: _ctx.disabled
5153
+ ...__props.config.options,
5154
+ readOnly: __props.disabled
5155
5155
  },
5156
- parse: _ctx.config.parse,
5156
+ parse: __props.config.parse,
5157
5157
  onSave: save
5158
5158
  }, null, 8, ["height", "init-values", "language", "options", "parse"]);
5159
5159
  };
@@ -5347,18 +5347,18 @@
5347
5347
  return vue.openBlock(), vue.createElementBlock(
5348
5348
  "div",
5349
5349
  {
5350
- class: vue.normalizeClass(["m-fields-code-select", _ctx.config.className])
5350
+ class: vue.normalizeClass(["m-fields-code-select", __props.config.className])
5351
5351
  },
5352
5352
  [
5353
5353
  vue.createVNode(vue.unref(designPlugin.TMagicCard), null, {
5354
5354
  default: vue.withCtx(() => [
5355
5355
  vue.createVNode(vue.unref(formPlugin.MContainer), {
5356
5356
  config: codeConfig.value,
5357
- size: _ctx.size,
5358
- prop: _ctx.prop,
5359
- disabled: _ctx.disabled,
5360
- lastValues: _ctx.lastValues,
5361
- model: _ctx.model[_ctx.name],
5357
+ size: __props.size,
5358
+ prop: __props.prop,
5359
+ disabled: __props.disabled,
5360
+ lastValues: __props.lastValues,
5361
+ model: __props.model[__props.name],
5362
5362
  onChange: changeHandler
5363
5363
  }, null, 8, ["config", "size", "prop", "disabled", "lastValues", "model"])
5364
5364
  ]),
@@ -5509,8 +5509,19 @@
5509
5509
  };
5510
5510
  const displayTabConfig = {
5511
5511
  title: "显示条件",
5512
- display: (_vm, { model }) => model.type !== "page",
5512
+ display: (_state, { model }) => model.type !== "page",
5513
5513
  items: [
5514
+ {
5515
+ name: core.NODE_CONDS_RESULT_KEY,
5516
+ type: "select",
5517
+ text: "条件成立时",
5518
+ defaultValue: false,
5519
+ options: [
5520
+ { text: "显示", value: false },
5521
+ { text: "隐藏", value: true }
5522
+ ],
5523
+ extra: (_state, { model }) => `条件成立时${model[core.NODE_CONDS_RESULT_KEY] ? "隐藏" : "显示"},不成立时${model[core.NODE_CONDS_RESULT_KEY] ? "显示" : "隐藏"};<br />同一条件组内的所有条件配置同时成立时表示该条件组成立,任意一个条件组成立时表示条件成立(条件组内为且的关系,条件组间为或的关系);<br />条件为空时表示成立;`
5524
+ },
5514
5525
  {
5515
5526
  type: "display-conds",
5516
5527
  name: core.NODE_CONDS_KEY,
@@ -8033,9 +8044,9 @@
8033
8044
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MForm), {
8034
8045
  ref: "form",
8035
8046
  config: codeParamsConfig.value,
8036
- "init-values": _ctx.model,
8037
- disabled: _ctx.disabled,
8038
- size: _ctx.size,
8047
+ "init-values": __props.model,
8048
+ disabled: __props.disabled,
8049
+ size: __props.size,
8039
8050
  "watch-props": false,
8040
8051
  onChange: onParamsChangeHandler
8041
8052
  }, null, 8, ["config", "init-values", "disabled", "size"]);
@@ -8043,8 +8054,8 @@
8043
8054
  }
8044
8055
  });
8045
8056
 
8046
- const _hoisted_1$_ = { class: "m-fields-code-select-col" };
8047
- const _hoisted_2$m = { class: "code-select-container" };
8057
+ const _hoisted_1$Z = { class: "m-fields-code-select-col" };
8058
+ const _hoisted_2$n = { class: "code-select-container" };
8048
8059
  const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
8049
8060
  ...{
8050
8061
  name: "MFieldsCodeSelectCol"
@@ -8144,22 +8155,22 @@
8144
8155
  eventBus?.emit("edit-code", id);
8145
8156
  };
8146
8157
  return (_ctx, _cache) => {
8147
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
8148
- vue.createElementVNode("div", _hoisted_2$m, [
8158
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
8159
+ vue.createElementVNode("div", _hoisted_2$n, [
8149
8160
  vue.createCommentVNode(" 代码块下拉框 "),
8150
8161
  vue.createVNode(vue.unref(formPlugin.MContainer), {
8151
8162
  class: "select",
8152
8163
  config: selectConfig,
8153
- model: _ctx.model,
8154
- size: _ctx.size,
8164
+ model: __props.model,
8165
+ size: __props.size,
8155
8166
  onChange: onCodeIdChangeHandler
8156
8167
  }, null, 8, ["model", "size"]),
8157
8168
  vue.createCommentVNode(" 查看/编辑按钮 "),
8158
- _ctx.model[_ctx.name] && hasCodeBlockSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
8169
+ __props.model[__props.name] && hasCodeBlockSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
8159
8170
  key: 0,
8160
8171
  class: "m-fields-select-action-button",
8161
- size: _ctx.size,
8162
- onClick: _cache[0] || (_cache[0] = ($event) => editCode(_ctx.model[_ctx.name]))
8172
+ size: __props.size,
8173
+ onClick: _cache[0] || (_cache[0] = ($event) => editCode(__props.model[__props.name]))
8163
8174
  }, {
8164
8175
  default: vue.withCtx(() => [
8165
8176
  vue.createVNode(_sfc_main$1r, {
@@ -8173,9 +8184,9 @@
8173
8184
  vue.createCommentVNode(" 参数填写框 "),
8174
8185
  paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
8175
8186
  name: "params",
8176
- key: _ctx.model[_ctx.name],
8177
- model: _ctx.model,
8178
- size: _ctx.size,
8187
+ key: __props.model[__props.name],
8188
+ model: __props.model,
8189
+ size: __props.size,
8179
8190
  "params-config": paramsConfig.value,
8180
8191
  onChange: onParamsChangeHandler
8181
8192
  }, null, 8, ["model", "size", "params-config"])) : vue.createCommentVNode("v-if", true)
@@ -8238,12 +8249,12 @@
8238
8249
  };
8239
8250
  return (_ctx, _cache) => {
8240
8251
  return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicSelect), {
8241
- modelValue: _ctx.model[_ctx.name],
8242
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
8252
+ modelValue: __props.model[__props.name],
8253
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
8243
8254
  clearable: "",
8244
8255
  filterable: "",
8245
- size: _ctx.size,
8246
- disabled: _ctx.disabled,
8256
+ size: __props.size,
8257
+ disabled: __props.disabled,
8247
8258
  onChange: fieldChangeHandler
8248
8259
  }, {
8249
8260
  default: vue.withCtx(() => [
@@ -8283,7 +8294,7 @@
8283
8294
  }
8284
8295
  });
8285
8296
 
8286
- const _hoisted_1$Z = {
8297
+ const _hoisted_1$Y = {
8287
8298
  ref: "title",
8288
8299
  class: "m-editor-float-box-title"
8289
8300
  };
@@ -8431,13 +8442,13 @@
8431
8442
  [
8432
8443
  vue.createElementVNode(
8433
8444
  "div",
8434
- _hoisted_1$Z,
8445
+ _hoisted_1$Y,
8435
8446
  [
8436
8447
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
8437
8448
  vue.createElementVNode(
8438
8449
  "span",
8439
8450
  null,
8440
- vue.toDisplayString(_ctx.title),
8451
+ vue.toDisplayString(__props.title),
8441
8452
  1
8442
8453
  /* TEXT */
8443
8454
  )
@@ -8980,8 +8991,8 @@
8980
8991
  };
8981
8992
  };
8982
8993
 
8983
- const _hoisted_1$Y = { class: "m-editor-data-source-fields" };
8984
- const _hoisted_2$l = { class: "m-editor-data-source-fields-footer" };
8994
+ const _hoisted_1$X = { class: "m-editor-data-source-fields" };
8995
+ const _hoisted_2$m = { class: "m-editor-data-source-fields-footer" };
8985
8996
  const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
8986
8997
  ...{
8987
8998
  name: "MFieldsDataSourceFields"
@@ -9247,16 +9258,16 @@
9247
9258
  const parentFloating = vue.inject("parentFloating", vue.ref(null));
9248
9259
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, parentFloating);
9249
9260
  return (_ctx, _cache) => {
9250
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
9261
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
9251
9262
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
9252
- data: _ctx.model[_ctx.name],
9263
+ data: __props.model[__props.name],
9253
9264
  columns: fieldColumns,
9254
9265
  border: true
9255
9266
  }, null, 8, ["data"]),
9256
- vue.createElementVNode("div", _hoisted_2$l, [
9267
+ vue.createElementVNode("div", _hoisted_2$m, [
9257
9268
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9258
9269
  size: "small",
9259
- disabled: _ctx.disabled,
9270
+ disabled: __props.disabled,
9260
9271
  plain: "",
9261
9272
  onClick: _cache[0] || (_cache[0] = ($event) => newFromJsonHandler())
9262
9273
  }, {
@@ -9273,7 +9284,7 @@
9273
9284
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9274
9285
  size: "small",
9275
9286
  type: "primary",
9276
- disabled: _ctx.disabled,
9287
+ disabled: __props.disabled,
9277
9288
  plain: "",
9278
9289
  onClick: _cache[1] || (_cache[1] = ($event) => newHandler())
9279
9290
  }, {
@@ -9304,8 +9315,8 @@
9304
9315
  title: fieldTitle.value,
9305
9316
  config: dataSourceFieldsConfig,
9306
9317
  values: fieldValues.value,
9307
- parentValues: _ctx.model[_ctx.name],
9308
- disabled: _ctx.disabled,
9318
+ parentValues: __props.model[__props.name],
9319
+ disabled: __props.disabled,
9309
9320
  onSubmit: fieldChange
9310
9321
  }, null, 8, ["title", "values", "parentValues", "disabled"])
9311
9322
  ]),
@@ -9326,7 +9337,7 @@
9326
9337
  vue.createVNode(vue.unref(formPlugin.MFormBox), {
9327
9338
  config: jsonFromConfig,
9328
9339
  values: jsonFromValues.value,
9329
- disabled: _ctx.disabled,
9340
+ disabled: __props.disabled,
9330
9341
  onSubmit: addFromJsonFromChange
9331
9342
  }, null, 8, ["values", "disabled"])
9332
9343
  ]),
@@ -9338,7 +9349,7 @@
9338
9349
  }
9339
9350
  });
9340
9351
 
9341
- const _hoisted_1$X = { class: "m-editor-data-source-field-select" };
9352
+ const _hoisted_1$W = { class: "m-editor-data-source-field-select" };
9342
9353
  const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
9343
9354
  __name: "FieldSelect",
9344
9355
  props: /* @__PURE__ */ vue.mergeModels({
@@ -9420,8 +9431,8 @@
9420
9431
  eventBus?.emit("edit-data-source", removeDataSourceFieldPrefix(id));
9421
9432
  };
9422
9433
  return (_ctx, _cache) => {
9423
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
9424
- _ctx.checkStrictly ? (vue.openBlock(), vue.createElementBlock(
9434
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
9435
+ __props.checkStrictly ? (vue.openBlock(), vue.createElementBlock(
9425
9436
  vue.Fragment,
9426
9437
  { key: 0 },
9427
9438
  [
@@ -9429,8 +9440,8 @@
9429
9440
  "model-value": selectDataSourceId.value,
9430
9441
  clearable: "",
9431
9442
  filterable: "",
9432
- size: _ctx.size,
9433
- disabled: _ctx.disabled,
9443
+ size: __props.size,
9444
+ disabled: __props.disabled,
9434
9445
  onChange: dsChangeHandler
9435
9446
  }, {
9436
9447
  default: vue.withCtx(() => [
@@ -9472,11 +9483,11 @@
9472
9483
  "model-value": selectFieldsId.value,
9473
9484
  clearable: "",
9474
9485
  filterable: "",
9475
- size: _ctx.size,
9476
- disabled: _ctx.disabled,
9486
+ size: __props.size,
9487
+ disabled: __props.disabled,
9477
9488
  options: fieldsOptions.value,
9478
9489
  props: {
9479
- checkStrictly: _ctx.checkStrictly
9490
+ checkStrictly: __props.checkStrictly
9480
9491
  },
9481
9492
  onChange: fieldChangeHandler
9482
9493
  }, null, 8, ["model-value", "size", "disabled", "options", "props"])
@@ -9488,11 +9499,11 @@
9488
9499
  clearable: "",
9489
9500
  filterable: "",
9490
9501
  "model-value": modelValue.value,
9491
- disabled: _ctx.disabled,
9492
- size: _ctx.size,
9502
+ disabled: __props.disabled,
9503
+ size: __props.size,
9493
9504
  options: cascaderOptions.value,
9494
9505
  props: {
9495
- checkStrictly: _ctx.checkStrictly
9506
+ checkStrictly: __props.checkStrictly
9496
9507
  },
9497
9508
  onChange: onChangeHandler
9498
9509
  }, null, 8, ["model-value", "disabled", "size", "options", "props"])),
@@ -9503,7 +9514,7 @@
9503
9514
  default: vue.withCtx(() => [
9504
9515
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9505
9516
  class: "m-fields-select-action-button",
9506
- size: _ctx.size,
9517
+ size: __props.size,
9507
9518
  onClick: _cache[0] || (_cache[0] = ($event) => editHandler(selectDataSourceId.value))
9508
9519
  }, {
9509
9520
  default: vue.withCtx(() => [
@@ -9523,7 +9534,7 @@
9523
9534
  }
9524
9535
  });
9525
9536
 
9526
- const _hoisted_1$W = { class: "m-fields-data-source-field-select" };
9537
+ const _hoisted_1$V = { class: "m-fields-data-source-field-select" };
9527
9538
  const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
9528
9539
  ...{
9529
9540
  name: "MFieldsDataSourceFieldSelect"
@@ -9626,39 +9637,38 @@
9626
9637
  }
9627
9638
  };
9628
9639
  return (_ctx, _cache) => {
9629
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
9630
- !disabledDataSource.value && (showDataSourceFieldSelect.value || !_ctx.config.fieldConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$1h, {
9640
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
9641
+ !disabledDataSource.value && (showDataSourceFieldSelect.value || !__props.config.fieldConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$1h, {
9631
9642
  key: 0,
9632
- "model-value": _ctx.model[_ctx.name],
9633
- disabled: _ctx.disabled,
9634
- size: _ctx.size,
9635
- value: _ctx.config.value,
9643
+ "model-value": __props.model[__props.name],
9644
+ disabled: __props.disabled,
9645
+ size: __props.size,
9646
+ value: __props.config.value,
9636
9647
  checkStrictly: checkStrictly.value,
9637
- dataSourceFieldType: _ctx.config.dataSourceFieldType,
9648
+ dataSourceFieldType: __props.config.dataSourceFieldType,
9638
9649
  onChange: onChangeHandler
9639
9650
  }, null, 8, ["model-value", "disabled", "size", "value", "checkStrictly", "dataSourceFieldType"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tagName.value), {
9640
9651
  key: 1,
9641
- config: _ctx.config.fieldConfig,
9642
- model: _ctx.model,
9643
- name: _ctx.name,
9644
- disabled: _ctx.disabled,
9645
- size: _ctx.size,
9646
- "last-values": _ctx.lastValues,
9647
- "init-values": _ctx.initValues,
9648
- values: _ctx.values,
9649
- prop: _ctx.prop,
9652
+ config: __props.config.fieldConfig,
9653
+ model: __props.model,
9654
+ name: __props.name,
9655
+ disabled: __props.disabled,
9656
+ size: __props.size,
9657
+ "last-values": __props.lastValues,
9658
+ "init-values": __props.initValues,
9659
+ values: __props.values,
9660
+ prop: __props.prop,
9650
9661
  onChange: onChangeHandler
9651
9662
  }, null, 40, ["config", "model", "name", "disabled", "size", "last-values", "init-values", "values", "prop"])),
9652
- _ctx.config.fieldConfig && !disabledDataSource.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
9663
+ __props.config.fieldConfig && !disabledDataSource.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
9653
9664
  key: 2,
9654
9665
  disabled: showDataSourceFieldSelect.value,
9655
9666
  content: "选择数据源"
9656
9667
  }, {
9657
9668
  default: vue.withCtx(() => [
9658
9669
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9659
- style: { "margin-left": "5px" },
9660
9670
  type: showDataSourceFieldSelect.value ? "primary" : "default",
9661
- size: _ctx.size,
9671
+ size: __props.size,
9662
9672
  onClick: _cache[0] || (_cache[0] = ($event) => showDataSourceFieldSelect.value = !showDataSourceFieldSelect.value)
9663
9673
  }, {
9664
9674
  default: vue.withCtx(() => [
@@ -9676,9 +9686,9 @@
9676
9686
  }
9677
9687
  });
9678
9688
 
9679
- const _hoisted_1$V = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
9680
- const _hoisted_2$k = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
9681
- const _hoisted_3$7 = { class: "el-input__inner t-input__inner" };
9689
+ const _hoisted_1$U = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
9690
+ const _hoisted_2$l = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
9691
+ const _hoisted_3$8 = { class: "el-input__inner t-input__inner" };
9682
9692
  const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
9683
9693
  ...{
9684
9694
  name: "MFieldsDataSourceInput"
@@ -9860,11 +9870,11 @@
9860
9870
  key: 0,
9861
9871
  modelValue: state.value,
9862
9872
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
9863
- disabled: _ctx.disabled,
9864
- size: _ctx.size,
9873
+ disabled: __props.disabled,
9874
+ size: __props.size,
9865
9875
  clearable: true,
9866
9876
  onChange: changeHandler
9867
- }, null, 8, ["modelValue", "disabled", "size"])) : _ctx.disabled || isFocused.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(designPlugin.getDesignConfig)("components")?.autocomplete.component || "el-autocomplete"), vue.mergeProps(
9877
+ }, null, 8, ["modelValue", "disabled", "size"])) : __props.disabled || isFocused.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(designPlugin.getDesignConfig)("components")?.autocomplete.component || "el-autocomplete"), vue.mergeProps(
9868
9878
  {
9869
9879
  key: 1,
9870
9880
  class: "tmagic-design-auto-complete",
@@ -9873,8 +9883,8 @@
9873
9883
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.value = $event)
9874
9884
  },
9875
9885
  vue.unref(designPlugin.getDesignConfig)("components")?.autocomplete.props({
9876
- disabled: _ctx.disabled,
9877
- size: _ctx.size,
9886
+ disabled: __props.disabled,
9887
+ size: __props.size,
9878
9888
  fetchSuggestions: querySearch,
9879
9889
  triggerOnFocus: false,
9880
9890
  clearable: true
@@ -9890,7 +9900,7 @@
9890
9900
  vue.createVNode(_sfc_main$1r, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
9891
9901
  ]),
9892
9902
  default: vue.withCtx(({ item }) => [
9893
- vue.createElementVNode("div", _hoisted_1$V, [
9903
+ vue.createElementVNode("div", _hoisted_1$U, [
9894
9904
  vue.createElementVNode(
9895
9905
  "div",
9896
9906
  null,
@@ -9900,7 +9910,7 @@
9900
9910
  ),
9901
9911
  vue.createElementVNode(
9902
9912
  "span",
9903
- _hoisted_2$k,
9913
+ _hoisted_2$l,
9904
9914
  vue.toDisplayString(item.value),
9905
9915
  1
9906
9916
  /* TEXT */
@@ -9913,7 +9923,7 @@
9913
9923
  "div",
9914
9924
  {
9915
9925
  key: 2,
9916
- class: vue.normalizeClass(`tmagic-data-source-input-text el-input t-input t-size-${_ctx.size?.[0]} el-input--${_ctx.size}`),
9926
+ class: vue.normalizeClass(`tmagic-data-source-input-text el-input t-input t-size-${__props.size?.[0]} el-input--${__props.size}`),
9917
9927
  onMouseup: mouseupHandler
9918
9928
  },
9919
9929
  [
@@ -9923,7 +9933,7 @@
9923
9933
  class: vue.normalizeClass(`tmagic-data-source-input-text-wrapper el-input__wrapper ${isFocused.value ? " is-focus" : ""}`)
9924
9934
  },
9925
9935
  [
9926
- vue.createElementVNode("div", _hoisted_3$7, [
9936
+ vue.createElementVNode("div", _hoisted_3$8, [
9927
9937
  (vue.openBlock(true), vue.createElementBlock(
9928
9938
  vue.Fragment,
9929
9939
  null,
@@ -9944,7 +9954,7 @@
9944
9954
  )) : vue.createCommentVNode("v-if", true),
9945
9955
  item.type === "var" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTag), {
9946
9956
  key: index,
9947
- size: _ctx.size
9957
+ size: __props.size
9948
9958
  }, {
9949
9959
  default: vue.withCtx(() => [
9950
9960
  vue.createTextVNode(
@@ -9981,9 +9991,9 @@
9981
9991
  }
9982
9992
  });
9983
9993
 
9984
- const _hoisted_1$U = { style: { "display": "flex", "margin-bottom": "10px" } };
9985
- const _hoisted_2$j = { style: { "flex": "1" } };
9986
- const _hoisted_3$6 = { style: { "flex": "1" } };
9994
+ const _hoisted_1$T = { style: { "display": "flex", "margin-bottom": "10px" } };
9995
+ const _hoisted_2$k = { style: { "flex": "1" } };
9996
+ const _hoisted_3$7 = { style: { "flex": "1" } };
9987
9997
  const _hoisted_4$5 = { class: "dialog-footer" };
9988
9998
  const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
9989
9999
  ...{
@@ -10178,7 +10188,7 @@
10178
10188
  "onUpdate:width": _cache[2] || (_cache[2] = ($event) => width.value = $event),
10179
10189
  height: vue.unref(codeBlockEditorHeight),
10180
10190
  "onUpdate:height": _cache[3] || (_cache[3] = ($event) => vue.isRef(codeBlockEditorHeight) ? codeBlockEditorHeight.value = $event : null),
10181
- title: _ctx.content.name ? `${_ctx.disabled ? "查看" : "编辑"}${_ctx.content.name}` : "新增代码",
10191
+ title: __props.content.name ? `${__props.disabled ? "查看" : "编辑"}${__props.content.name}` : "新增代码",
10182
10192
  position: vue.unref(boxPosition),
10183
10193
  "before-close": beforeClose
10184
10194
  }, {
@@ -10189,10 +10199,10 @@
10189
10199
  ref: formBox,
10190
10200
  "label-width": "80px",
10191
10201
  "close-on-press-escape": false,
10192
- title: _ctx.content.name,
10202
+ title: __props.content.name,
10193
10203
  config: functionConfig.value,
10194
- values: _ctx.content,
10195
- disabled: _ctx.disabled,
10204
+ values: __props.content,
10205
+ disabled: __props.disabled,
10196
10206
  style: { "height": "100%" },
10197
10207
  onChange: changeHandler,
10198
10208
  onSubmit: submitForm,
@@ -10200,7 +10210,7 @@
10200
10210
  onClosed: closedHandler
10201
10211
  }, {
10202
10212
  left: vue.withCtx(() => [
10203
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
10213
+ !__props.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
10204
10214
  key: 0,
10205
10215
  type: "primary",
10206
10216
  link: "",
@@ -10266,8 +10276,8 @@
10266
10276
  ])
10267
10277
  ]),
10268
10278
  default: vue.withCtx(() => [
10269
- vue.createElementVNode("div", _hoisted_1$U, [
10270
- vue.createElementVNode("div", _hoisted_2$j, [
10279
+ vue.createElementVNode("div", _hoisted_1$T, [
10280
+ vue.createElementVNode("div", _hoisted_2$k, [
10271
10281
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
10272
10282
  size: "small",
10273
10283
  type: "info"
@@ -10283,7 +10293,7 @@
10283
10293
  /* STABLE */
10284
10294
  })
10285
10295
  ]),
10286
- vue.createElementVNode("div", _hoisted_3$6, [
10296
+ vue.createElementVNode("div", _hoisted_3$7, [
10287
10297
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
10288
10298
  size: "small",
10289
10299
  type: "success"
@@ -10305,7 +10315,7 @@
10305
10315
  type: "diff",
10306
10316
  language: "json",
10307
10317
  "disabled-full-screen": true,
10308
- initValues: _ctx.content.content,
10318
+ initValues: __props.content.content,
10309
10319
  modifiedValues: formBox.value?.form?.values.content,
10310
10320
  height: `${vue.unref(windowRect).height - 150}px`
10311
10321
  }, null, 8, ["initValues", "modifiedValues", "height"])
@@ -10322,8 +10332,8 @@
10322
10332
  }
10323
10333
  });
10324
10334
 
10325
- const _hoisted_1$T = { class: "m-editor-data-source-methods" };
10326
- const _hoisted_2$i = { class: "m-editor-data-source-methods-footer" };
10335
+ const _hoisted_1$S = { class: "m-editor-data-source-methods" };
10336
+ const _hoisted_2$j = { class: "m-editor-data-source-methods-footer" };
10327
10337
  const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
10328
10338
  ...{
10329
10339
  name: "MFieldsDataSourceMethods"
@@ -10441,17 +10451,17 @@
10441
10451
  codeBlockEditorRef.value?.hide();
10442
10452
  };
10443
10453
  return (_ctx, _cache) => {
10444
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
10454
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
10445
10455
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
10446
- data: _ctx.model[_ctx.name],
10456
+ data: __props.model[__props.name],
10447
10457
  columns: methodColumns,
10448
10458
  border: true
10449
10459
  }, null, 8, ["data"]),
10450
- vue.createElementVNode("div", _hoisted_2$i, [
10460
+ vue.createElementVNode("div", _hoisted_2$j, [
10451
10461
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10452
10462
  size: "small",
10453
10463
  type: "primary",
10454
- disabled: _ctx.disabled,
10464
+ disabled: __props.disabled,
10455
10465
  plain: "",
10456
10466
  onClick: createCodeHandler
10457
10467
  }, {
@@ -10469,10 +10479,10 @@
10469
10479
  codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1e, {
10470
10480
  key: 0,
10471
10481
  ref: "codeBlockEditor",
10472
- disabled: _ctx.disabled,
10482
+ disabled: __props.disabled,
10473
10483
  content: codeConfig.value,
10474
10484
  "is-data-source": true,
10475
- "data-source-type": _ctx.model.type,
10485
+ "data-source-type": __props.model.type,
10476
10486
  onSubmit: submitCodeHandler
10477
10487
  }, null, 8, ["disabled", "content", "data-source-type"])) : vue.createCommentVNode("v-if", true)
10478
10488
  ]);
@@ -10480,8 +10490,8 @@
10480
10490
  }
10481
10491
  });
10482
10492
 
10483
- const _hoisted_1$S = { class: "m-fields-data-source-method-select" };
10484
- const _hoisted_2$h = { class: "data-source-method-select-container" };
10493
+ const _hoisted_1$R = { class: "m-fields-data-source-method-select" };
10494
+ const _hoisted_2$i = { class: "data-source-method-select-container" };
10485
10495
  const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
10486
10496
  ...{
10487
10497
  name: "MFieldsDataSourceMethodSelect"
@@ -10567,23 +10577,23 @@
10567
10577
  eventBus?.emit("edit-data-source", id);
10568
10578
  };
10569
10579
  return (_ctx, _cache) => {
10570
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
10571
- vue.createElementVNode("div", _hoisted_2$h, [
10580
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
10581
+ vue.createElementVNode("div", _hoisted_2$i, [
10572
10582
  vue.createVNode(vue.unref(formPlugin.MContainer), {
10573
10583
  class: "select",
10574
10584
  config: cascaderConfig.value,
10575
- model: _ctx.model,
10576
- size: _ctx.size,
10585
+ model: __props.model,
10586
+ size: __props.size,
10577
10587
  onChange: onChangeHandler
10578
10588
  }, null, 8, ["config", "model", "size"]),
10579
- _ctx.model[_ctx.name] && isCustomMethod.value && hasDataSourceSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
10589
+ __props.model[__props.name] && isCustomMethod.value && hasDataSourceSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
10580
10590
  key: 0,
10581
10591
  content: notEditable.value ? "查看" : "编辑"
10582
10592
  }, {
10583
10593
  default: vue.withCtx(() => [
10584
10594
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10585
10595
  class: "m-fields-select-action-button",
10586
- size: _ctx.size,
10596
+ size: __props.size,
10587
10597
  onClick: editCodeHandler
10588
10598
  }, {
10589
10599
  default: vue.withCtx(() => [
@@ -10602,9 +10612,9 @@
10602
10612
  paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
10603
10613
  key: 0,
10604
10614
  name: "params",
10605
- model: _ctx.model,
10606
- size: _ctx.size,
10607
- disabled: _ctx.disabled,
10615
+ model: __props.model,
10616
+ size: __props.size,
10617
+ disabled: __props.disabled,
10608
10618
  "params-config": paramsConfig.value,
10609
10619
  onChange: onChangeHandler
10610
10620
  }, null, 8, ["model", "size", "disabled", "params-config"])) : vue.createCommentVNode("v-if", true)
@@ -10613,8 +10623,8 @@
10613
10623
  }
10614
10624
  });
10615
10625
 
10616
- const _hoisted_1$R = { class: "m-editor-data-source-fields" };
10617
- const _hoisted_2$g = { class: "m-editor-data-source-fields-footer" };
10626
+ const _hoisted_1$Q = { class: "m-editor-data-source-fields" };
10627
+ const _hoisted_2$h = { class: "m-editor-data-source-fields-footer" };
10618
10628
  const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
10619
10629
  ...{
10620
10630
  name: "MFieldsDataSourceMocks"
@@ -10819,16 +10829,16 @@
10819
10829
  const parentFloating = vue.inject("parentFloating", vue.ref(null));
10820
10830
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, parentFloating);
10821
10831
  return (_ctx, _cache) => {
10822
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
10832
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
10823
10833
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
10824
- data: _ctx.model[_ctx.name],
10834
+ data: __props.model[__props.name],
10825
10835
  columns
10826
10836
  }, null, 8, ["data"]),
10827
- vue.createElementVNode("div", _hoisted_2$g, [
10837
+ vue.createElementVNode("div", _hoisted_2$h, [
10828
10838
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10829
10839
  size: "small",
10830
10840
  type: "primary",
10831
- disabled: _ctx.disabled,
10841
+ disabled: __props.disabled,
10832
10842
  plain: "",
10833
10843
  onClick: _cache[0] || (_cache[0] = ($event) => newHandler())
10834
10844
  }, {
@@ -10858,8 +10868,8 @@
10858
10868
  "label-width": "120px",
10859
10869
  config: formConfig,
10860
10870
  values: formValues.value,
10861
- parentValues: _ctx.model[_ctx.name],
10862
- disabled: _ctx.disabled,
10871
+ parentValues: __props.model[__props.name],
10872
+ disabled: __props.disabled,
10863
10873
  onSubmit: formChangeHandler
10864
10874
  }, null, 8, ["values", "parentValues", "disabled"])
10865
10875
  ]),
@@ -10871,7 +10881,7 @@
10871
10881
  }
10872
10882
  });
10873
10883
 
10874
- const _hoisted_1$Q = { class: "m-fields-data-source-select" };
10884
+ const _hoisted_1$P = { class: "m-fields-data-source-select" };
10875
10885
  const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
10876
10886
  ...{
10877
10887
  name: "MFieldsDataSourceSelect"
@@ -10929,25 +10939,25 @@
10929
10939
  eventBus?.emit("edit-data-source", id);
10930
10940
  };
10931
10941
  return (_ctx, _cache) => {
10932
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
10942
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
10933
10943
  vue.createVNode(vue.unref(formPlugin.MSelect), {
10934
- model: _ctx.model,
10935
- name: _ctx.name,
10936
- size: _ctx.size,
10937
- prop: _ctx.prop,
10938
- disabled: _ctx.disabled,
10944
+ model: __props.model,
10945
+ name: __props.name,
10946
+ size: __props.size,
10947
+ prop: __props.prop,
10948
+ disabled: __props.disabled,
10939
10949
  config: selectConfig.value,
10940
- "last-values": _ctx.lastValues,
10950
+ "last-values": __props.lastValues,
10941
10951
  onChange: changeHandler
10942
10952
  }, null, 8, ["model", "name", "size", "prop", "disabled", "config", "last-values"]),
10943
- _ctx.model[_ctx.name] && hasDataSourceSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
10953
+ __props.model[__props.name] && hasDataSourceSidePanel.value ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
10944
10954
  key: 0,
10945
10955
  content: notEditable.value ? "查看" : "编辑"
10946
10956
  }, {
10947
10957
  default: vue.withCtx(() => [
10948
10958
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10949
10959
  class: "m-fields-select-action-button",
10950
- size: _ctx.size,
10960
+ size: __props.size,
10951
10961
  onClick: editHandler
10952
10962
  }, {
10953
10963
  default: vue.withCtx(() => [
@@ -11087,20 +11097,20 @@
11087
11097
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MGroupList), {
11088
11098
  style: { "width": "100%" },
11089
11099
  config: config.value,
11090
- name: _ctx.name,
11091
- disabled: _ctx.disabled,
11092
- model: _ctx.model,
11093
- "last-values": _ctx.lastValues,
11094
- prop: _ctx.prop,
11095
- size: _ctx.size,
11100
+ name: __props.name,
11101
+ disabled: __props.disabled,
11102
+ model: __props.model,
11103
+ "last-values": __props.lastValues,
11104
+ prop: __props.prop,
11105
+ size: __props.size,
11096
11106
  onChange: changeHandler
11097
11107
  }, null, 8, ["config", "name", "disabled", "model", "last-values", "prop", "size"]);
11098
11108
  };
11099
11109
  }
11100
11110
  });
11101
11111
 
11102
- const _hoisted_1$P = { class: "m-fields-event-select" };
11103
- const _hoisted_2$f = {
11112
+ const _hoisted_1$O = { class: "m-fields-event-select" };
11113
+ const _hoisted_2$g = {
11104
11114
  key: 1,
11105
11115
  class: "fullWidth"
11106
11116
  };
@@ -11381,21 +11391,21 @@
11381
11391
  const onChangeHandler = (v, eventData) => emit("change", props.model[props.name], eventData);
11382
11392
  return (_ctx, _cache) => {
11383
11393
  const _component_m_form_table = vue.resolveComponent("m-form-table");
11384
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
11394
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
11385
11395
  isOldVersion.value ? (vue.openBlock(), vue.createBlock(_component_m_form_table, {
11386
11396
  key: 0,
11387
11397
  name: "events",
11388
- size: _ctx.size,
11389
- disabled: _ctx.disabled,
11390
- model: _ctx.model,
11398
+ size: __props.size,
11399
+ disabled: __props.disabled,
11400
+ model: __props.model,
11391
11401
  config: tableConfig.value,
11392
11402
  onChange: onChangeHandler
11393
- }, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
11403
+ }, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
11394
11404
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11395
11405
  class: "create-button",
11396
11406
  type: "primary",
11397
- size: _ctx.size,
11398
- disabled: _ctx.disabled,
11407
+ size: __props.size,
11408
+ disabled: __props.disabled,
11399
11409
  onClick: _cache[0] || (_cache[0] = ($event) => addEvent())
11400
11410
  }, {
11401
11411
  default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
@@ -11411,15 +11421,15 @@
11411
11421
  (vue.openBlock(true), vue.createElementBlock(
11412
11422
  vue.Fragment,
11413
11423
  null,
11414
- vue.renderList(_ctx.model[_ctx.name], (cardItem, index) => {
11424
+ vue.renderList(__props.model[__props.name], (cardItem, index) => {
11415
11425
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MPanel), {
11416
11426
  key: index,
11417
- disabled: _ctx.disabled,
11418
- size: _ctx.size,
11419
- prop: `${_ctx.prop}.${index}`,
11427
+ disabled: __props.disabled,
11428
+ size: __props.size,
11429
+ prop: `${__props.prop}.${index}`,
11420
11430
  config: actionsConfig.value,
11421
11431
  model: cardItem,
11422
- "label-width": _ctx.config.labelWidth || "100px",
11432
+ "label-width": __props.config.labelWidth || "100px",
11423
11433
  onChange: onChangeHandler
11424
11434
  }, {
11425
11435
  header: vue.withCtx(() => [
@@ -11427,17 +11437,17 @@
11427
11437
  class: "fullWidth",
11428
11438
  config: eventNameConfig.value,
11429
11439
  model: cardItem,
11430
- disabled: _ctx.disabled,
11431
- size: _ctx.size,
11432
- prop: `${_ctx.prop}.${index}`,
11440
+ disabled: __props.disabled,
11441
+ size: __props.size,
11442
+ prop: `${__props.prop}.${index}`,
11433
11443
  onChange: eventNameChangeHandler
11434
11444
  }, null, 8, ["config", "model", "disabled", "size", "prop"]),
11435
11445
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11436
11446
  style: { "color": "#f56c6c" },
11437
11447
  link: "",
11438
11448
  icon: vue.unref(iconsVue.Delete),
11439
- disabled: _ctx.disabled,
11440
- size: _ctx.size,
11449
+ disabled: __props.disabled,
11450
+ size: __props.size,
11441
11451
  onClick: ($event) => removeEvent(index)
11442
11452
  }, null, 8, ["icon", "disabled", "size", "onClick"])
11443
11453
  ]),
@@ -11454,7 +11464,7 @@
11454
11464
  }
11455
11465
  });
11456
11466
 
11457
- const _hoisted_1$O = {
11467
+ const _hoisted_1$N = {
11458
11468
  viewBox: "0 0 32 32",
11459
11469
  version: "1.1",
11460
11470
  xmlns: "http://www.w3.org/2000/svg",
@@ -11467,15 +11477,15 @@
11467
11477
  __name: "CodeIcon",
11468
11478
  setup(__props) {
11469
11479
  return (_ctx, _cache) => {
11470
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$O, [..._cache[0] || (_cache[0] = [
11480
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
11471
11481
  vue.createStaticVNode('<defs><rect id="path-1" x="0" y="0" width="32" height="32"></rect></defs><g id="组件规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="03图标" transform="translate(-561.000000, -2356.000000)"><g id="icon/line/Universal/code" transform="translate(561.000000, 2356.000000)"><g id="路径"><mask id="mask-2" fill="white"><use xlink:href="#path-1"></use></mask><use id="蒙版" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use><path d="M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z" id="形状" fill="#1D1F24" mask="url(#mask-2)"></path></g></g><g id="icon切图" transform="translate(226.000000, 1782.000000)"></g></g></g>', 2)
11472
11482
  ])]);
11473
11483
  };
11474
11484
  }
11475
11485
  });
11476
11486
 
11477
- const _hoisted_1$N = { class: "m-fields-key-value" };
11478
- const _hoisted_2$e = { key: 0 };
11487
+ const _hoisted_1$M = { class: "m-fields-key-value" };
11488
+ const _hoisted_2$f = { key: 0 };
11479
11489
  const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
11480
11490
  ...{
11481
11491
  name: "MFieldsKeyValue"
@@ -11538,8 +11548,8 @@
11538
11548
  emit("change", v);
11539
11549
  };
11540
11550
  return (_ctx, _cache) => {
11541
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
11542
- !showCode.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
11551
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
11552
+ !showCode.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
11543
11553
  (vue.openBlock(true), vue.createElementBlock(
11544
11554
  vue.Fragment,
11545
11555
  null,
@@ -11552,8 +11562,8 @@
11552
11562
  placeholder: "key",
11553
11563
  modelValue: records.value[index][0],
11554
11564
  "onUpdate:modelValue": ($event) => records.value[index][0] = $event,
11555
- disabled: _ctx.disabled,
11556
- size: _ctx.size,
11565
+ disabled: __props.disabled,
11566
+ size: __props.size,
11557
11567
  onChange: keyChangeHandler
11558
11568
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
11559
11569
  _cache[1] || (_cache[1] = vue.createElementVNode(
@@ -11567,15 +11577,15 @@
11567
11577
  placeholder: "value",
11568
11578
  modelValue: records.value[index][1],
11569
11579
  "onUpdate:modelValue": ($event) => records.value[index][1] = $event,
11570
- disabled: _ctx.disabled,
11571
- size: _ctx.size,
11580
+ disabled: __props.disabled,
11581
+ size: __props.size,
11572
11582
  onChange: valueChangeHandler
11573
11583
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
11574
11584
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11575
11585
  class: "m-fields-key-value-delete",
11576
11586
  type: "danger",
11577
- size: _ctx.size,
11578
- disabled: _ctx.disabled,
11587
+ size: __props.size,
11588
+ disabled: __props.disabled,
11579
11589
  circle: "",
11580
11590
  plain: "",
11581
11591
  icon: vue.unref(iconsVue.Delete),
@@ -11588,8 +11598,8 @@
11588
11598
  )),
11589
11599
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11590
11600
  type: "primary",
11591
- size: _ctx.size,
11592
- disabled: _ctx.disabled,
11601
+ size: __props.size,
11602
+ disabled: __props.disabled,
11593
11603
  plain: "",
11594
11604
  icon: vue.unref(iconsVue.Plus),
11595
11605
  onClick: addHandler
@@ -11605,21 +11615,21 @@
11605
11615
  /* STABLE */
11606
11616
  }, 8, ["size", "disabled", "icon"])
11607
11617
  ])) : vue.createCommentVNode("v-if", true),
11608
- _ctx.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
11618
+ __props.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
11609
11619
  key: 1,
11610
11620
  height: "200px",
11611
- "init-values": _ctx.model[_ctx.name],
11621
+ "init-values": __props.model[__props.name],
11612
11622
  language: "javascript",
11613
11623
  options: {
11614
- readOnly: _ctx.disabled
11624
+ readOnly: __props.disabled
11615
11625
  },
11616
11626
  parse: true,
11617
11627
  onSave: save
11618
11628
  }, null, 8, ["init-values", "options"])) : vue.createCommentVNode("v-if", true),
11619
- _ctx.config.advanced ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11629
+ __props.config.advanced ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11620
11630
  key: 2,
11621
11631
  size: "default",
11622
- disabled: _ctx.disabled,
11632
+ disabled: __props.disabled,
11623
11633
  link: "",
11624
11634
  icon: _sfc_main$17,
11625
11635
  onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
@@ -11629,8 +11639,8 @@
11629
11639
  }
11630
11640
  });
11631
11641
 
11632
- const _hoisted_1$M = { class: "m-fields-page-fragment-select" };
11633
- const _hoisted_2$d = { class: "page-fragment-select-container" };
11642
+ const _hoisted_1$L = { class: "m-fields-page-fragment-select" };
11643
+ const _hoisted_2$e = { class: "page-fragment-select-container" };
11634
11644
  const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
11635
11645
  ...{
11636
11646
  name: "MFieldsPageFragmentSelect"
@@ -11677,22 +11687,22 @@
11677
11687
  };
11678
11688
  return (_ctx, _cache) => {
11679
11689
  const _component_m_form_container = vue.resolveComponent("m-form-container");
11680
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
11681
- vue.createElementVNode("div", _hoisted_2$d, [
11690
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
11691
+ vue.createElementVNode("div", _hoisted_2$e, [
11682
11692
  vue.createCommentVNode(" 页面片下拉框 "),
11683
11693
  vue.createVNode(_component_m_form_container, {
11684
11694
  class: "select",
11685
11695
  config: selectConfig,
11686
- model: _ctx.model,
11687
- size: _ctx.size,
11696
+ model: __props.model,
11697
+ size: __props.size,
11688
11698
  onChange: changeHandler
11689
11699
  }, null, 8, ["model", "size"]),
11690
11700
  vue.createCommentVNode(" 编辑按钮 "),
11691
- _ctx.model[_ctx.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
11701
+ __props.model[__props.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
11692
11702
  key: 0,
11693
11703
  class: "icon",
11694
11704
  icon: vue.unref(iconsVue.Edit),
11695
- onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(_ctx.model[_ctx.name]))
11705
+ onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(__props.model[__props.name]))
11696
11706
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true)
11697
11707
  ])
11698
11708
  ]);
@@ -11700,9 +11710,9 @@
11700
11710
  }
11701
11711
  });
11702
11712
 
11703
- const _hoisted_1$L = { class: "background-position-container" };
11704
- const _hoisted_2$c = { class: "presets-value-list" };
11705
- const _hoisted_3$5 = { class: "custom-value" };
11713
+ const _hoisted_1$K = { class: "background-position-container" };
11714
+ const _hoisted_2$d = { class: "presets-value-list" };
11715
+ const _hoisted_3$6 = { class: "custom-value" };
11706
11716
  const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
11707
11717
  __name: "BackgroundPosition",
11708
11718
  props: {
@@ -11758,8 +11768,8 @@
11758
11768
  emit("change", v);
11759
11769
  };
11760
11770
  return (_ctx, _cache) => {
11761
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
11762
- vue.createElementVNode("div", _hoisted_2$c, [
11771
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
11772
+ vue.createElementVNode("div", _hoisted_2$d, [
11763
11773
  (vue.openBlock(true), vue.createElementBlock(
11764
11774
  vue.Fragment,
11765
11775
  null,
@@ -11767,14 +11777,15 @@
11767
11777
  return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11768
11778
  key: index,
11769
11779
  link: "",
11770
- class: vue.normalizeClass(_ctx.model[_ctx.name] === item.value && "btn-active"),
11780
+ class: vue.normalizeClass(__props.model[__props.name] === item.value && "btn-active"),
11781
+ disabled: __props.disabled,
11771
11782
  onClick: ($event) => changeHandler(item.value)
11772
11783
  }, {
11773
11784
  default: vue.withCtx(() => [
11774
11785
  vue.createElementVNode(
11775
11786
  "div",
11776
11787
  {
11777
- class: vue.normalizeClass(["position-icon", item.class, _ctx.model[_ctx.name] === item.value && "active"])
11788
+ class: vue.normalizeClass(["position-icon", item.class, __props.model[__props.name] === item.value && "active"])
11778
11789
  },
11779
11790
  null,
11780
11791
  2
@@ -11783,21 +11794,22 @@
11783
11794
  ]),
11784
11795
  _: 2
11785
11796
  /* DYNAMIC */
11786
- }, 1032, ["class", "onClick"]);
11797
+ }, 1032, ["class", "disabled", "onClick"]);
11787
11798
  }),
11788
11799
  128
11789
11800
  /* KEYED_FRAGMENT */
11790
11801
  ))
11791
11802
  ]),
11792
- vue.createElementVNode("div", _hoisted_3$5, [
11803
+ vue.createElementVNode("div", _hoisted_3$6, [
11793
11804
  vue.createVNode(vue.unref(designPlugin.TMagicInput), {
11794
- modelValue: _ctx.model[_ctx.name],
11795
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
11796
- size: "small",
11805
+ modelValue: __props.model[__props.name],
11806
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
11797
11807
  placeholder: "自定义背景位置",
11798
11808
  clearable: "",
11809
+ size: __props.size,
11810
+ disabled: __props.disabled,
11799
11811
  onChange: changeHandler
11800
- }, null, 8, ["modelValue"])
11812
+ }, null, 8, ["modelValue", "size", "disabled"])
11801
11813
  ])
11802
11814
  ]);
11803
11815
  };
@@ -11814,13 +11826,13 @@
11814
11826
 
11815
11827
  const _sfc_main$13 = { };
11816
11828
 
11817
- const _hoisted_1$K = {
11829
+ const _hoisted_1$J = {
11818
11830
  xmlns: "http://www.w3.org/2000/svg",
11819
11831
  viewBox: "0 0 1024 1024"
11820
11832
  };
11821
11833
 
11822
11834
  function _sfc_render$k(_ctx, _cache) {
11823
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$K, [...(_cache[0] || (_cache[0] = [
11835
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$J, [...(_cache[0] || (_cache[0] = [
11824
11836
  vue.createStaticVNode("<path d=\"M884.736 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C696.32 311.296 712.704 327.68 733.184 327.68l147.456 0c20.48 0 36.864-16.384 36.864-36.864L917.504 139.264C921.6 118.784 905.216 102.4 884.736 102.4zM884.736 290.816l-147.456 0L737.28 139.264l147.456 0L884.736 290.816z\"></path><path d=\"M884.736 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 712.704 905.216 696.32 884.736 696.32zM884.736 884.736l-147.456 0 0-147.456 147.456 0L884.736 884.736z\"></path><path d=\"M884.736 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 417.792 905.216 401.408 884.736 401.408zM884.736 585.728l-147.456 0 0-147.456 147.456 0L884.736 585.728z\"></path><path d=\"M585.728 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 417.792 606.208 401.408 585.728 401.408zM585.728 585.728l-147.456 0 0-147.456 147.456 0L585.728 585.728z\"></path><path d=\"M585.728 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864L622.592 139.264C622.592 118.784 606.208 102.4 585.728 102.4zM585.728 290.816l-147.456 0L438.272 139.264l147.456 0L585.728 290.816z\"></path><path d=\"M585.728 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 712.704 606.208 696.32 585.728 696.32zM585.728 884.736l-147.456 0 0-147.456 147.456 0L585.728 884.736z\"></path><path d=\"M290.816 696.32 139.264 696.32c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 712.704 311.296 696.32 290.816 696.32zM290.816 884.736 139.264 884.736l0-147.456 147.456 0L286.72 884.736z\"></path><path d=\"M290.816 401.408 139.264 401.408c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 417.792 311.296 401.408 290.816 401.408zM290.816 585.728 139.264 585.728l0-147.456 147.456 0L286.72 585.728z\"></path><path d=\"M290.816 102.4 139.264 102.4c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C102.4 311.296 118.784 327.68 139.264 327.68l147.456 0C311.296 327.68 327.68 311.296 327.68 290.816L327.68 139.264C327.68 118.784 311.296 102.4 290.816 102.4zM290.816 290.816 139.264 290.816 139.264 139.264l147.456 0L286.72 290.816z\"></path>", 9)
11825
11837
  ]))]))
11826
11838
  }
@@ -11828,13 +11840,13 @@
11828
11840
 
11829
11841
  const _sfc_main$12 = { };
11830
11842
 
11831
- const _hoisted_1$J = {
11843
+ const _hoisted_1$I = {
11832
11844
  xmlns: "http://www.w3.org/2000/svg",
11833
11845
  viewBox: "0 0 1024 1024"
11834
11846
  };
11835
11847
 
11836
11848
  function _sfc_render$j(_ctx, _cache) {
11837
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$J, [...(_cache[0] || (_cache[0] = [
11849
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$I, [...(_cache[0] || (_cache[0] = [
11838
11850
  vue.createElementVNode("path", {
11839
11851
  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",
11840
11852
  fill: "#333333"
@@ -11845,13 +11857,13 @@
11845
11857
 
11846
11858
  const _sfc_main$11 = { };
11847
11859
 
11848
- const _hoisted_1$I = {
11860
+ const _hoisted_1$H = {
11849
11861
  xmlns: "http://www.w3.org/2000/svg",
11850
11862
  viewBox: "0 0 1024 1024"
11851
11863
  };
11852
11864
 
11853
11865
  function _sfc_render$i(_ctx, _cache) {
11854
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$I, [...(_cache[0] || (_cache[0] = [
11866
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$H, [...(_cache[0] || (_cache[0] = [
11855
11867
  vue.createElementVNode("path", {
11856
11868
  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",
11857
11869
  fill: "#333333"
@@ -11862,13 +11874,13 @@
11862
11874
 
11863
11875
  const _sfc_main$10 = { };
11864
11876
 
11865
- const _hoisted_1$H = {
11877
+ const _hoisted_1$G = {
11866
11878
  xmlns: "http://www.w3.org/2000/svg",
11867
11879
  viewBox: "0 0 1024 1024"
11868
11880
  };
11869
11881
 
11870
11882
  function _sfc_render$h(_ctx, _cache) {
11871
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$H, [...(_cache[0] || (_cache[0] = [
11883
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$G, [...(_cache[0] || (_cache[0] = [
11872
11884
  vue.createElementVNode("path", {
11873
11885
  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",
11874
11886
  fill: "#5D5D5D"
@@ -11880,7 +11892,9 @@
11880
11892
  const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
11881
11893
  __name: "Background",
11882
11894
  props: {
11883
- values: {}
11895
+ values: {},
11896
+ disabled: { type: Boolean },
11897
+ size: {}
11884
11898
  },
11885
11899
  emits: ["change"],
11886
11900
  setup(__props, { emit: __emit }) {
@@ -11945,22 +11959,24 @@
11945
11959
  return (_ctx, _cache) => {
11946
11960
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
11947
11961
  config,
11948
- model: _ctx.values,
11962
+ model: __props.values,
11963
+ size: __props.size,
11964
+ disabled: __props.disabled,
11949
11965
  onChange: change
11950
- }, null, 8, ["model"]);
11966
+ }, null, 8, ["model", "size", "disabled"]);
11951
11967
  };
11952
11968
  }
11953
11969
  });
11954
11970
 
11955
11971
  const _sfc_main$_ = { };
11956
11972
 
11957
- const _hoisted_1$G = {
11973
+ const _hoisted_1$F = {
11958
11974
  xmlns: "http://www.w3.org/2000/svg",
11959
11975
  viewBox: "0 0 1024 1024"
11960
11976
  };
11961
11977
 
11962
11978
  function _sfc_render$g(_ctx, _cache) {
11963
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$G, [...(_cache[0] || (_cache[0] = [
11979
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$F, [...(_cache[0] || (_cache[0] = [
11964
11980
  vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m0-170.666667h512v85.333333H128z m0-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m0 170.666667h512v85.333333H128z" }, null, -1 /* CACHED */)
11965
11981
  ]))]))
11966
11982
  }
@@ -11968,13 +11984,13 @@
11968
11984
 
11969
11985
  const _sfc_main$Z = { };
11970
11986
 
11971
- const _hoisted_1$F = {
11987
+ const _hoisted_1$E = {
11972
11988
  xmlns: "http://www.w3.org/2000/svg",
11973
11989
  viewBox: "0 0 1024 1024"
11974
11990
  };
11975
11991
 
11976
11992
  function _sfc_render$f(_ctx, _cache) {
11977
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$F, [...(_cache[0] || (_cache[0] = [
11993
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$E, [...(_cache[0] || (_cache[0] = [
11978
11994
  vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m128-170.666667h512v85.333333H256z m-128-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m128 170.666667h512v85.333333H256z" }, null, -1 /* CACHED */)
11979
11995
  ]))]))
11980
11996
  }
@@ -11982,13 +11998,13 @@
11982
11998
 
11983
11999
  const _sfc_main$Y = { };
11984
12000
 
11985
- const _hoisted_1$E = {
12001
+ const _hoisted_1$D = {
11986
12002
  xmlns: "http://www.w3.org/2000/svg",
11987
12003
  viewBox: "0 0 1024 1024"
11988
12004
  };
11989
12005
 
11990
12006
  function _sfc_render$e(_ctx, _cache) {
11991
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$E, [...(_cache[0] || (_cache[0] = [
12007
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, [...(_cache[0] || (_cache[0] = [
11992
12008
  vue.createElementVNode("path", { d: "M128 128h768v85.333333H128z m0 682.666667h768v85.333333H128z m213.333333-170.666667h554.666667v85.333333H341.333333z m-213.333333-170.666667h768v85.333334H128z m213.333333-170.666666h554.666667v85.333333H341.333333z" }, null, -1 /* CACHED */)
11993
12009
  ]))]))
11994
12010
  }
@@ -11997,7 +12013,9 @@
11997
12013
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
11998
12014
  __name: "Font",
11999
12015
  props: {
12000
- values: {}
12016
+ values: {},
12017
+ disabled: { type: Boolean },
12018
+ size: {}
12001
12019
  },
12002
12020
  emits: ["change"],
12003
12021
  setup(__props, { emit: __emit }) {
@@ -12071,23 +12089,27 @@
12071
12089
  return (_ctx, _cache) => {
12072
12090
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
12073
12091
  config,
12074
- model: _ctx.values,
12092
+ model: __props.values,
12093
+ size: __props.size,
12094
+ disabled: __props.disabled,
12075
12095
  onChange: change
12076
- }, null, 8, ["model"]);
12096
+ }, null, 8, ["model", "size", "disabled"]);
12077
12097
  };
12078
12098
  }
12079
12099
  });
12080
12100
 
12081
- const _hoisted_1$D = { class: "layout-box-container" };
12082
- const _hoisted_2$b = {
12101
+ const _hoisted_1$C = { class: "layout-box-container" };
12102
+ const _hoisted_2$c = {
12083
12103
  key: 0,
12084
12104
  class: "help-txt"
12085
12105
  };
12086
- const _hoisted_3$4 = { class: "next-input" };
12087
- const _hoisted_4$4 = ["onUpdate:modelValue", "title", "onChange"];
12106
+ const _hoisted_3$5 = { class: "next-input" };
12107
+ const _hoisted_4$4 = ["onUpdate:modelValue", "title", "disabled", "onChange"];
12088
12108
  const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
12089
12109
  __name: "Box",
12090
12110
  props: {
12111
+ disabled: { type: Boolean },
12112
+ size: {},
12091
12113
  model: {}
12092
12114
  },
12093
12115
  emits: ["change"],
@@ -12135,7 +12157,7 @@
12135
12157
  });
12136
12158
  };
12137
12159
  return (_ctx, _cache) => {
12138
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
12160
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
12139
12161
  (vue.openBlock(), vue.createElementBlock(
12140
12162
  vue.Fragment,
12141
12163
  null,
@@ -12149,19 +12171,20 @@
12149
12171
  [
12150
12172
  item.text ? (vue.openBlock(), vue.createElementBlock(
12151
12173
  "span",
12152
- _hoisted_2$b,
12174
+ _hoisted_2$c,
12153
12175
  vue.toDisplayString(item.text),
12154
12176
  1
12155
12177
  /* TEXT */
12156
12178
  )) : vue.createCommentVNode("v-if", true),
12157
- vue.createElementVNode("span", _hoisted_3$4, [
12179
+ vue.createElementVNode("span", _hoisted_3$5, [
12158
12180
  vue.withDirectives(vue.createElementVNode("input", {
12159
- "onUpdate:modelValue": ($event) => _ctx.model[item.name] = $event,
12160
- title: _ctx.model[item.name],
12161
- onChange: ($event) => change($event, item.name),
12162
- placeholder: "0"
12181
+ "onUpdate:modelValue": ($event) => __props.model[item.name] = $event,
12182
+ placeholder: "0",
12183
+ title: __props.model[item.name],
12184
+ disabled: __props.disabled,
12185
+ onChange: ($event) => change($event, item.name)
12163
12186
  }, null, 40, _hoisted_4$4), [
12164
- [vue.vModelText, _ctx.model[item.name]]
12187
+ [vue.vModelText, __props.model[item.name]]
12165
12188
  ])
12166
12189
  ])
12167
12190
  ],
@@ -12179,13 +12202,13 @@
12179
12202
 
12180
12203
  const _sfc_main$V = { };
12181
12204
 
12182
- const _hoisted_1$C = {
12205
+ const _hoisted_1$B = {
12183
12206
  xmlns: "http://www.w3.org/2000/svg",
12184
12207
  viewBox: "0 0 1024 1024"
12185
12208
  };
12186
12209
 
12187
12210
  function _sfc_render$d(_ctx, _cache) {
12188
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$C, [...(_cache[0] || (_cache[0] = [
12211
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$B, [...(_cache[0] || (_cache[0] = [
12189
12212
  vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1 /* CACHED */)
12190
12213
  ]))]))
12191
12214
  }
@@ -12193,13 +12216,13 @@
12193
12216
 
12194
12217
  const _sfc_main$U = { };
12195
12218
 
12196
- const _hoisted_1$B = {
12219
+ const _hoisted_1$A = {
12197
12220
  xmlns: "http://www.w3.org/2000/svg",
12198
12221
  viewBox: "0 0 1024 1024"
12199
12222
  };
12200
12223
 
12201
12224
  function _sfc_render$c(_ctx, _cache) {
12202
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$B, [...(_cache[0] || (_cache[0] = [
12225
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, [...(_cache[0] || (_cache[0] = [
12203
12226
  vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1 /* CACHED */)
12204
12227
  ]))]))
12205
12228
  }
@@ -12207,13 +12230,13 @@
12207
12230
 
12208
12231
  const _sfc_main$T = { };
12209
12232
 
12210
- const _hoisted_1$A = {
12233
+ const _hoisted_1$z = {
12211
12234
  xmlns: "http://www.w3.org/2000/svg",
12212
12235
  viewBox: "0 0 1024 1024"
12213
12236
  };
12214
12237
 
12215
12238
  function _sfc_render$b(_ctx, _cache) {
12216
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, [...(_cache[0] || (_cache[0] = [
12239
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$z, [...(_cache[0] || (_cache[0] = [
12217
12240
  vue.createElementVNode("path", { d: "M787.616 651.36a142.72 142.72 0 0 0 52.864 31.904 205.504 205.504 0 0 0 67.264 10.848 245.76 245.76 0 0 0 38.784-2.4c9.504-1.6 19.36-4 30.208-7.04 8.16-2.24 15.968-5.12 23.36-8.32l23.392-10.816V587.52h-8.736c-3.968 3.424-8.96 7.648-15.104 12.544a190.272 190.272 0 0 1-19.936 13.504 120.32 120.32 0 0 1-27.616 12.544 102.528 102.528 0 0 1-62.72-0.576 80 80 0 0 1-29.824-17.088 89.28 89.28 0 0 1-21.664-32.512c-5.696-13.664-8.64-30.784-8.64-51.296 0-19.744 2.72-36.384 7.968-50.08 5.248-13.664 12.384-24.896 20.992-33.056 9.12-8.832 18.816-14.816 29.632-18.816a101.824 101.824 0 0 1 63.68-0.736c9.408 3.136 18.08 7.04 26.112 11.68 13.024 7.808 25.28 16.768 36.672 26.784H1024v-78.72c-6.08-2.88-13.12-6.08-21.12-9.6a205.984 205.984 0 0 0-57.152-15.36 270.016 270.016 0 0 0-37.056-2.304c-24.864 0-47.744 4-68.704 11.84-20.992 7.776-38.432 18.784-52.64 33.6a144.256 144.256 0 0 0-33.632 54.176 207.68 207.68 0 0 0-12.48 70.176c0 27.84 3.968 52.352 12.16 73.568a146.08 146.08 0 0 0 34.176 53.184l0.064 0.416z m-186.112 34.656a122.912 122.912 0 0 0 42.784-21.504c11.2-8.32 20.224-19.296 26.24-31.936 6.56-13.664 9.888-28.704 9.664-43.904 0-22.784-6.272-41.024-18.912-54.72-12.544-13.92-29.664-23.04-51.104-27.36v-2.304c14.4-6.24 26.688-16.448 35.52-29.408 8.384-12.544 12.544-27.008 12.544-43.52 0-14.24-2.944-26.784-9.12-37.6a65.696 65.696 0 0 0-27.936-26.24 117.44 117.44 0 0 0-36.48-12.096A437.312 437.312 0 0 0 526.656 352h-127.552v340.384h143.392c23.84 0 43.52-2.112 59.008-6.4z m-118.112-271.584h7.968c16.544 0 29.472 0.128 38.656 0.352 9.248 0.576 16.864 1.728 23.04 4a26.24 26.24 0 0 1 14.4 13.12c2.656 5.28 4.064 11.072 4.128 16.96 0.16 6.656-1.056 13.248-3.52 19.392a28.064 28.064 0 0 1-15.04 13.696c-7.04 2.912-14.56 4.48-22.208 4.576-9.472 0.32-20.864 0.544-34.24 0.544h-13.184v-72.64z m6.144 215.52h-6.144v-84.8h18.464c12.64 0 24.736 0 36.384 0.256 9.216-0.16 18.432 0.896 27.36 3.2 9.696 2.848 16.544 7.232 20.512 13.12 4 5.92 6.08 14.24 6.08 25.088 0 8.192-1.728 15.488-4.992 21.824-3.232 6.336-9.696 11.392-18.24 15.392-8.544 4-18.24 5.696-28.48 6.272-10.304 0.224-27.392 0.224-51.328 0.224l0.384-0.576z m-378.56-6.016h124.672l23.36 68.416H348.8L224.32 353.728H124.416L0 692.384h87.52l23.488-68.416-0.064-0.032z m62.336-183.552l41.472 121.44h-82.88l41.408-121.44z" }, null, -1 /* CACHED */)
12218
12241
  ]))]))
12219
12242
  }
@@ -12221,13 +12244,13 @@
12221
12244
 
12222
12245
  const _sfc_main$S = { };
12223
12246
 
12224
- const _hoisted_1$z = {
12247
+ const _hoisted_1$y = {
12225
12248
  xmlns: "http://www.w3.org/2000/svg",
12226
12249
  viewBox: "0 0 1024 1024"
12227
12250
  };
12228
12251
 
12229
12252
  function _sfc_render$a(_ctx, _cache) {
12230
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$z, [...(_cache[0] || (_cache[0] = [
12253
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, [...(_cache[0] || (_cache[0] = [
12231
12254
  vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-131.936 158.496c65.984 1.824 109.024 32.512 129.184 92.064l-65.952 15.136-1.856-5.664c-9.984-27.52-30.432-42.112-61.376-43.84-46.72 2.784-71.456 35.296-74.208 97.6 1.856 63.2 26.56 96.64 74.24 100.32 37.536-0.928 59.52-23.36 65.92-67.328L960 559.36l-1.792 7.232c-16.96 63.872-60.352 95.84-130.144 95.84-93.44-4.608-142.464-56.8-147.04-156.672 4.576-98.048 53.6-149.792 147.04-155.296z m-568.928 4.128l114.08 302.336H297.6l-22.016-65.984H160.192L138.24 656.96H64l112.672-302.336h82.464z m278.976 0l7.68 0.32c62.816 3.36 96 27.104 99.52 71.136 0 35.744-19.712 59.552-59.104 71.456 42.144 9.184 65.952 32.544 71.456 70.08 0 59.552-37.568 89.344-112.672 89.344h-148.416v-302.336h141.536z m-4.128 173.152H465.28v81.088h67.328c33.92 0 51.296-13.76 52.224-41.248-2.752-25.632-19.68-38.912-50.848-39.84zM217.92 408.224h-1.376l-0.96 7.36c-1.184 7.232-3.168 13.92-5.92 20.128l-34.336 103.04h87.936l-38.464-104.416-2.624-9.024c-1.6-5.888-3.04-11.584-4.256-17.088z m309.184-2.752H465.28v71.456h61.824c29.344-0.928 44.448-13.76 45.376-38.464-0.96-22.016-16.032-32.992-45.376-32.992z" }, null, -1 /* CACHED */)
12232
12255
  ]))]))
12233
12256
  }
@@ -12235,13 +12258,13 @@
12235
12258
 
12236
12259
  const _sfc_main$R = { };
12237
12260
 
12238
- const _hoisted_1$y = {
12261
+ const _hoisted_1$x = {
12239
12262
  xmlns: "http://www.w3.org/2000/svg",
12240
12263
  viewBox: "0 0 1024 1024"
12241
12264
  };
12242
12265
 
12243
12266
  function _sfc_render$9(_ctx, _cache) {
12244
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, [...(_cache[0] || (_cache[0] = [
12267
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [...(_cache[0] || (_cache[0] = [
12245
12268
  vue.createElementVNode("path", { d: "M931.37 477.14c-43.94-69.49-93.39-125.03-147.99-166.35L663.31 441.46c8.79 21.36 13.63 44.91 13.63 69.62 0 96.27-73.84 174.32-164.95 174.32-21.63 0-42.28-4.39-61.32-12.47l-94.09 102.52a455.097 455.097 0 0 0 155.41 26.2c172.62 0 312.43-85.54 419.59-256.63 12.83-20.43 12.72-47.45-0.21-67.88zM795.52 127.99L682.24 252.82C627.73 231 570.1 220.04 512.11 220.5c-171.15 0-310.99 85.66-419.48 256.75-12.93 20.43-13.04 47.33-0.2 67.78 46.95 75.15 100.3 133.68 160.01 175.82L131.9 853.65l38.9 42.36 663.6-725.76-38.88-42.26zM519.68 438.37c-3.72-0.59-7.46-0.81-11.27-0.81-45.63 0-82.43 39.03-82.43 87.16 0 4.97 0.42 9.81 1.14 14.54l-57.15 60.14-5.92 8.33c-13.15-24.94-20.5-53.68-20.5-84.28 0-96.3 73.84-174.45 164.95-174.45 27.2 0 52.76 6.93 75.4 19.29l-64.22 70.08z m52.05 135.53c21.74-23.26 27.17-55.48 16.31-81.39l-96.42 103.16c26.59 9.08 58.38 1.48 80.11-21.77z" }, null, -1 /* CACHED */)
12246
12269
  ]))]))
12247
12270
  }
@@ -12249,13 +12272,13 @@
12249
12272
 
12250
12273
  const _sfc_main$Q = { };
12251
12274
 
12252
- const _hoisted_1$x = {
12275
+ const _hoisted_1$w = {
12253
12276
  xmlns: "http://www.w3.org/2000/svg",
12254
12277
  viewBox: "0 0 1024 1024"
12255
12278
  };
12256
12279
 
12257
12280
  function _sfc_render$8(_ctx, _cache) {
12258
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [...(_cache[0] || (_cache[0] = [
12281
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [...(_cache[0] || (_cache[0] = [
12259
12282
  vue.createElementVNode("path", { d: "M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z" }, null, -1 /* CACHED */)
12260
12283
  ]))]))
12261
12284
  }
@@ -12263,13 +12286,13 @@
12263
12286
 
12264
12287
  const _sfc_main$P = { };
12265
12288
 
12266
- const _hoisted_1$w = {
12289
+ const _hoisted_1$v = {
12267
12290
  xmlns: "http://www.w3.org/2000/svg",
12268
12291
  viewBox: "0 0 1024 1024"
12269
12292
  };
12270
12293
 
12271
12294
  function _sfc_render$7(_ctx, _cache) {
12272
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [...(_cache[0] || (_cache[0] = [
12295
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, [...(_cache[0] || (_cache[0] = [
12273
12296
  vue.createElementVNode("path", { d: "M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z" }, null, -1 /* CACHED */)
12274
12297
  ]))]))
12275
12298
  }
@@ -12277,13 +12300,13 @@
12277
12300
 
12278
12301
  const _sfc_main$O = { };
12279
12302
 
12280
- const _hoisted_1$v = {
12303
+ const _hoisted_1$u = {
12281
12304
  xmlns: "http://www.w3.org/2000/svg",
12282
12305
  viewBox: "0 0 1024 1024"
12283
12306
  };
12284
12307
 
12285
12308
  function _sfc_render$6(_ctx, _cache) {
12286
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, [...(_cache[0] || (_cache[0] = [
12309
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$u, [...(_cache[0] || (_cache[0] = [
12287
12310
  vue.createElementVNode("path", { d: "M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z" }, null, -1 /* CACHED */)
12288
12311
  ]))]))
12289
12312
  }
@@ -12291,13 +12314,13 @@
12291
12314
 
12292
12315
  const _sfc_main$N = { };
12293
12316
 
12294
- const _hoisted_1$u = {
12317
+ const _hoisted_1$t = {
12295
12318
  xmlns: "http://www.w3.org/2000/svg",
12296
12319
  viewBox: "0 0 1024 1024"
12297
12320
  };
12298
12321
 
12299
12322
  function _sfc_render$5(_ctx, _cache) {
12300
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$u, [...(_cache[0] || (_cache[0] = [
12323
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$t, [...(_cache[0] || (_cache[0] = [
12301
12324
  vue.createElementVNode("path", { d: "M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z" }, null, -1 /* CACHED */)
12302
12325
  ]))]))
12303
12326
  }
@@ -12305,13 +12328,13 @@
12305
12328
 
12306
12329
  const _sfc_main$M = { };
12307
12330
 
12308
- const _hoisted_1$t = {
12331
+ const _hoisted_1$s = {
12309
12332
  xmlns: "http://www.w3.org/2000/svg",
12310
12333
  viewBox: "0 0 1024 1024"
12311
12334
  };
12312
12335
 
12313
12336
  function _sfc_render$4(_ctx, _cache) {
12314
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$t, [...(_cache[0] || (_cache[0] = [
12337
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$s, [...(_cache[0] || (_cache[0] = [
12315
12338
  vue.createElementVNode("path", { d: "M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z" }, null, -1 /* CACHED */)
12316
12339
  ]))]))
12317
12340
  }
@@ -12319,13 +12342,13 @@
12319
12342
 
12320
12343
  const _sfc_main$L = { };
12321
12344
 
12322
- const _hoisted_1$s = {
12345
+ const _hoisted_1$r = {
12323
12346
  xmlns: "http://www.w3.org/2000/svg",
12324
12347
  viewBox: "0 0 1024 1024"
12325
12348
  };
12326
12349
 
12327
12350
  function _sfc_render$3(_ctx, _cache) {
12328
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$s, [...(_cache[0] || (_cache[0] = [
12351
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, [...(_cache[0] || (_cache[0] = [
12329
12352
  vue.createElementVNode("path", { d: "M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z" }, null, -1 /* CACHED */)
12330
12353
  ]))]))
12331
12354
  }
@@ -12333,13 +12356,13 @@
12333
12356
 
12334
12357
  const _sfc_main$K = { };
12335
12358
 
12336
- const _hoisted_1$r = {
12359
+ const _hoisted_1$q = {
12337
12360
  xmlns: "http://www.w3.org/2000/svg",
12338
12361
  viewBox: "0 0 1024 1024"
12339
12362
  };
12340
12363
 
12341
12364
  function _sfc_render$2(_ctx, _cache) {
12342
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, [...(_cache[0] || (_cache[0] = [
12365
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$q, [...(_cache[0] || (_cache[0] = [
12343
12366
  vue.createElementVNode("path", { d: "M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z" }, null, -1 /* CACHED */)
12344
12367
  ]))]))
12345
12368
  }
@@ -12347,13 +12370,13 @@
12347
12370
 
12348
12371
  const _sfc_main$J = { };
12349
12372
 
12350
- const _hoisted_1$q = {
12373
+ const _hoisted_1$p = {
12351
12374
  xmlns: "http://www.w3.org/2000/svg",
12352
12375
  viewBox: "0 0 1024 1024"
12353
12376
  };
12354
12377
 
12355
12378
  function _sfc_render$1(_ctx, _cache) {
12356
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$q, [...(_cache[0] || (_cache[0] = [
12379
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$p, [...(_cache[0] || (_cache[0] = [
12357
12380
  vue.createElementVNode("path", { d: "M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z" }, null, -1 /* CACHED */)
12358
12381
  ]))]))
12359
12382
  }
@@ -12361,13 +12384,13 @@
12361
12384
 
12362
12385
  const _sfc_main$I = { };
12363
12386
 
12364
- const _hoisted_1$p = {
12387
+ const _hoisted_1$o = {
12365
12388
  xmlns: "http://www.w3.org/2000/svg",
12366
12389
  viewBox: "0 0 1024 1024"
12367
12390
  };
12368
12391
 
12369
12392
  function _sfc_render(_ctx, _cache) {
12370
- return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$p, [...(_cache[0] || (_cache[0] = [
12393
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$o, [...(_cache[0] || (_cache[0] = [
12371
12394
  vue.createElementVNode("path", { d: "M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z" }, null, -1 /* CACHED */)
12372
12395
  ]))]))
12373
12396
  }
@@ -12376,7 +12399,9 @@
12376
12399
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
12377
12400
  __name: "Layout",
12378
12401
  props: {
12379
- values: {}
12402
+ values: {},
12403
+ disabled: { type: Boolean },
12404
+ size: {}
12380
12405
  },
12381
12406
  emits: ["change"],
12382
12407
  setup(__props, { emit: __emit }) {
@@ -12530,14 +12555,18 @@
12530
12555
  [
12531
12556
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12532
12557
  config,
12533
- model: _ctx.values,
12558
+ model: __props.values,
12559
+ size: __props.size,
12560
+ disabled: __props.disabled,
12534
12561
  onChange: change
12535
- }, null, 8, ["model"]),
12562
+ }, null, 8, ["model", "size", "disabled"]),
12536
12563
  vue.withDirectives(vue.createVNode(_sfc_main$W, {
12537
- model: _ctx.values,
12564
+ model: __props.values,
12565
+ size: __props.size,
12566
+ disabled: __props.disabled,
12538
12567
  onChange: change
12539
- }, null, 8, ["model"]), [
12540
- [vue.vShow, !["fixed", "absolute"].includes(_ctx.values.position)]
12568
+ }, null, 8, ["model", "size", "disabled"]), [
12569
+ [vue.vShow, !["fixed", "absolute"].includes(__props.values.position)]
12541
12570
  ])
12542
12571
  ],
12543
12572
  64
@@ -12550,7 +12579,9 @@
12550
12579
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
12551
12580
  __name: "Position",
12552
12581
  props: {
12553
- values: {}
12582
+ values: {},
12583
+ disabled: { type: Boolean },
12584
+ size: {}
12554
12585
  },
12555
12586
  emits: ["change"],
12556
12587
  setup(__props, { emit: __emit }) {
@@ -12641,23 +12672,27 @@
12641
12672
  return (_ctx, _cache) => {
12642
12673
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
12643
12674
  config,
12644
- model: _ctx.values,
12675
+ model: __props.values,
12676
+ size: __props.size,
12677
+ disabled: __props.disabled,
12645
12678
  onChange: change
12646
- }, null, 8, ["model"]);
12679
+ }, null, 8, ["model", "size", "disabled"]);
12647
12680
  };
12648
12681
  }
12649
12682
  });
12650
12683
 
12651
- const _hoisted_1$o = { class: "border-box-container" };
12652
- const _hoisted_2$a = { class: "border-icon-container" };
12653
- const _hoisted_3$3 = { class: "border-icon-container-row" };
12684
+ const _hoisted_1$n = { class: "border-box-container" };
12685
+ const _hoisted_2$b = { class: "border-icon-container" };
12686
+ const _hoisted_3$4 = { class: "border-icon-container-row" };
12654
12687
  const _hoisted_4$3 = { class: "border-icon-container-row" };
12655
12688
  const _hoisted_5$1 = { class: "border-icon-container-row" };
12656
12689
  const _hoisted_6$1 = { class: "border-value-container" };
12657
12690
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
12658
12691
  __name: "Border",
12659
12692
  props: {
12660
- model: {}
12693
+ model: {},
12694
+ disabled: { type: Boolean },
12695
+ size: {}
12661
12696
  },
12662
12697
  emits: ["change"],
12663
12698
  setup(__props, { emit: __emit }) {
@@ -12707,9 +12742,9 @@
12707
12742
  });
12708
12743
  };
12709
12744
  return (_ctx, _cache) => {
12710
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
12711
- vue.createElementVNode("div", _hoisted_2$a, [
12712
- vue.createElementVNode("div", _hoisted_3$3, [
12745
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
12746
+ vue.createElementVNode("div", _hoisted_2$b, [
12747
+ vue.createElementVNode("div", _hoisted_3$4, [
12713
12748
  vue.createElementVNode(
12714
12749
  "div",
12715
12750
  {
@@ -12769,9 +12804,11 @@
12769
12804
  vue.createElementVNode("div", _hoisted_6$1, [
12770
12805
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12771
12806
  config: config.value,
12772
- model: _ctx.model,
12807
+ model: __props.model,
12808
+ size: __props.size,
12809
+ disabled: __props.disabled,
12773
12810
  onChange: change
12774
- }, null, 8, ["config", "model"])
12811
+ }, null, 8, ["config", "model", "size", "disabled"])
12775
12812
  ])
12776
12813
  ]);
12777
12814
  };
@@ -12781,7 +12818,9 @@
12781
12818
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
12782
12819
  __name: "Border",
12783
12820
  props: {
12784
- values: {}
12821
+ values: {},
12822
+ disabled: { type: Boolean },
12823
+ size: {}
12785
12824
  },
12786
12825
  emits: ["change"],
12787
12826
  setup(__props, { emit: __emit }) {
@@ -12809,13 +12848,17 @@
12809
12848
  [
12810
12849
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12811
12850
  config,
12812
- model: _ctx.values,
12851
+ model: __props.values,
12852
+ size: __props.size,
12853
+ disabled: __props.disabled,
12813
12854
  onChange: change
12814
- }, null, 8, ["model"]),
12855
+ }, null, 8, ["model", "size", "disabled"]),
12815
12856
  vue.createVNode(_sfc_main$F, {
12816
- model: _ctx.values,
12857
+ model: __props.values,
12858
+ size: __props.size,
12859
+ disabled: __props.disabled,
12817
12860
  onChange: change
12818
- }, null, 8, ["model"])
12861
+ }, null, 8, ["model", "size", "disabled"])
12819
12862
  ],
12820
12863
  64
12821
12864
  /* STABLE_FRAGMENT */
@@ -12824,7 +12867,6 @@
12824
12867
  }
12825
12868
  });
12826
12869
 
12827
- const _hoisted_1$n = { class: "m-fields-style-setter" };
12828
12870
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
12829
12871
  ...{
12830
12872
  name: "MFieldsStyleSetter"
@@ -12878,44 +12920,47 @@
12878
12920
  emit("change", v, eventData);
12879
12921
  };
12880
12922
  return (_ctx, _cache) => {
12881
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
12882
- vue.createVNode(vue.unref(designPlugin.TMagicCollapse), { "model-value": collapseValue.value }, {
12883
- default: vue.withCtx(() => [
12884
- (vue.openBlock(), vue.createElementBlock(
12885
- vue.Fragment,
12886
- null,
12887
- vue.renderList(list, (item, index) => {
12888
- return vue.createVNode(vue.unref(designPlugin.TMagicCollapseItem), {
12889
- key: index,
12890
- name: `${index}`
12891
- }, {
12892
- title: vue.withCtx(() => [
12893
- vue.createVNode(_sfc_main$1r, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
12894
- vue.createTextVNode(
12895
- vue.toDisplayString(item.title),
12896
- 1
12897
- /* TEXT */
12898
- )
12899
- ]),
12900
- default: vue.withCtx(() => [
12901
- item.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.component), {
12902
- key: 0,
12903
- values: _ctx.model[_ctx.name],
12904
- onChange: change
12905
- }, null, 40, ["values"])) : vue.createCommentVNode("v-if", true)
12906
- ]),
12907
- _: 2
12908
- /* DYNAMIC */
12909
- }, 1032, ["name"]);
12910
- }),
12911
- 64
12912
- /* STABLE_FRAGMENT */
12913
- ))
12914
- ]),
12915
- _: 1
12916
- /* STABLE */
12917
- }, 8, ["model-value"])
12918
- ]);
12923
+ return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicCollapse), {
12924
+ class: "m-fields-style-setter",
12925
+ "model-value": collapseValue.value
12926
+ }, {
12927
+ default: vue.withCtx(() => [
12928
+ (vue.openBlock(), vue.createElementBlock(
12929
+ vue.Fragment,
12930
+ null,
12931
+ vue.renderList(list, (item, index) => {
12932
+ return vue.createVNode(vue.unref(designPlugin.TMagicCollapseItem), {
12933
+ key: index,
12934
+ name: `${index}`
12935
+ }, {
12936
+ title: vue.withCtx(() => [
12937
+ vue.createVNode(_sfc_main$1r, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
12938
+ vue.createTextVNode(
12939
+ vue.toDisplayString(item.title),
12940
+ 1
12941
+ /* TEXT */
12942
+ )
12943
+ ]),
12944
+ default: vue.withCtx(() => [
12945
+ item.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.component), {
12946
+ key: 0,
12947
+ values: __props.model[__props.name],
12948
+ size: __props.size,
12949
+ disabled: __props.disabled,
12950
+ onChange: change
12951
+ }, null, 40, ["values", "size", "disabled"])) : vue.createCommentVNode("v-if", true)
12952
+ ]),
12953
+ _: 2
12954
+ /* DYNAMIC */
12955
+ }, 1032, ["name"]);
12956
+ }),
12957
+ 64
12958
+ /* STABLE_FRAGMENT */
12959
+ ))
12960
+ ]),
12961
+ _: 1
12962
+ /* STABLE */
12963
+ }, 8, ["model-value"]);
12919
12964
  };
12920
12965
  }
12921
12966
  });
@@ -13008,8 +13053,8 @@
13008
13053
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
13009
13054
  type: "danger",
13010
13055
  icon: vue.unref(iconsVue.Delete),
13011
- disabled: _ctx.disabled,
13012
- size: _ctx.size,
13056
+ disabled: __props.disabled,
13057
+ size: __props.size,
13013
13058
  link: "",
13014
13059
  style: { "padding": "0" }
13015
13060
  }, {
@@ -13037,8 +13082,8 @@
13037
13082
  style: { "padding": "0" },
13038
13083
  type: "danger",
13039
13084
  icon: vue.unref(iconsVue.Close),
13040
- disabled: _ctx.disabled,
13041
- size: _ctx.size,
13085
+ disabled: __props.disabled,
13086
+ size: __props.size,
13042
13087
  link: "",
13043
13088
  onClick: vue.withModifiers(deleteHandler, ["stop"])
13044
13089
  }, null, 8, ["icon", "disabled", "size"])
@@ -13054,8 +13099,8 @@
13054
13099
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
13055
13100
  link: "",
13056
13101
  style: { "padding": "0", "margin": "0" },
13057
- disabled: _ctx.disabled,
13058
- size: _ctx.size,
13102
+ disabled: __props.disabled,
13103
+ size: __props.size,
13059
13104
  onClick: _cache[0] || (_cache[0] = ($event) => selectNode(val.value)),
13060
13105
  onMouseenter: _cache[1] || (_cache[1] = ($event) => vue.unref(highlight)(val.value)),
13061
13106
  onMouseleave: unhighlight
@@ -13086,8 +13131,8 @@
13086
13131
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
13087
13132
  link: "",
13088
13133
  style: { "padding": "0", "margin": "0" },
13089
- disabled: _ctx.disabled,
13090
- size: _ctx.size,
13134
+ disabled: __props.disabled,
13135
+ size: __props.size,
13091
13136
  onClick: startSelect
13092
13137
  }, {
13093
13138
  default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
@@ -13281,8 +13326,8 @@
13281
13326
  vue.createElementVNode(
13282
13327
  "div",
13283
13328
  {
13284
- class: vue.normalizeClass(["m-editor-layout-left", _ctx.leftClass]),
13285
- style: vue.normalizeStyle(`width: ${_ctx.left}px`)
13329
+ class: vue.normalizeClass(["m-editor-layout-left", __props.leftClass]),
13330
+ style: vue.normalizeStyle(`width: ${__props.left}px`)
13286
13331
  },
13287
13332
  [
13288
13333
  vue.renderSlot(_ctx.$slots, "left")
@@ -13298,7 +13343,7 @@
13298
13343
  vue.createElementVNode(
13299
13344
  "div",
13300
13345
  {
13301
- class: vue.normalizeClass(["m-editor-layout-center", _ctx.centerClass]),
13346
+ class: vue.normalizeClass(["m-editor-layout-center", __props.centerClass]),
13302
13347
  style: vue.normalizeStyle(`width: ${center.value}px`)
13303
13348
  },
13304
13349
  [
@@ -13315,8 +13360,8 @@
13315
13360
  vue.createElementVNode(
13316
13361
  "div",
13317
13362
  {
13318
- class: vue.normalizeClass(["m-editor-layout-right", _ctx.rightClass]),
13319
- style: vue.normalizeStyle(`width: ${_ctx.right}px`)
13363
+ class: vue.normalizeClass(["m-editor-layout-right", __props.rightClass]),
13364
+ style: vue.normalizeStyle(`width: ${__props.right}px`)
13320
13365
  },
13321
13366
  [
13322
13367
  vue.renderSlot(_ctx.$slots, "right")
@@ -13340,7 +13385,7 @@
13340
13385
  key: 1,
13341
13386
  class: "menu-item-text"
13342
13387
  };
13343
- const _hoisted_2$9 = { class: "el-dropdown-link menubar-menu-button" };
13388
+ const _hoisted_2$a = { class: "el-dropdown-link menubar-menu-button" };
13344
13389
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
13345
13390
  ...{
13346
13391
  name: "MEditorToolButton"
@@ -13406,30 +13451,30 @@
13406
13451
  "div",
13407
13452
  {
13408
13453
  key: 0,
13409
- class: vue.normalizeClass(["menu-item", `${_ctx.data.type} ${_ctx.data.className || ""}`]),
13410
- onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(_ctx.data, $event)),
13411
- onMousedown: _cache[1] || (_cache[1] = ($event) => mousedownHandler(_ctx.data, $event)),
13412
- onMouseup: _cache[2] || (_cache[2] = ($event) => mouseupHandler(_ctx.data, $event))
13454
+ class: vue.normalizeClass(["menu-item", `${__props.data.type} ${__props.data.className || ""}`]),
13455
+ onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(__props.data, $event)),
13456
+ onMousedown: _cache[1] || (_cache[1] = ($event) => mousedownHandler(__props.data, $event)),
13457
+ onMouseup: _cache[2] || (_cache[2] = ($event) => mouseupHandler(__props.data, $event))
13413
13458
  },
13414
13459
  [
13415
- _ctx.data.type === "divider" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDivider), {
13460
+ __props.data.type === "divider" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDivider), {
13416
13461
  key: 0,
13417
- direction: _ctx.data.direction || "vertical"
13418
- }, null, 8, ["direction"])) : _ctx.data.type === "text" ? (vue.openBlock(), vue.createElementBlock(
13462
+ direction: __props.data.direction || "vertical"
13463
+ }, null, 8, ["direction"])) : __props.data.type === "text" ? (vue.openBlock(), vue.createElementBlock(
13419
13464
  "div",
13420
13465
  _hoisted_1$l,
13421
- vue.toDisplayString(_ctx.data.text),
13466
+ vue.toDisplayString(__props.data.text),
13422
13467
  1
13423
13468
  /* TEXT */
13424
- )) : _ctx.data.type === "button" ? (vue.openBlock(), vue.createElementBlock(
13469
+ )) : __props.data.type === "button" ? (vue.openBlock(), vue.createElementBlock(
13425
13470
  vue.Fragment,
13426
13471
  { key: 2 },
13427
13472
  [
13428
- _ctx.data.tooltip ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
13473
+ __props.data.tooltip ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
13429
13474
  key: 0,
13430
13475
  effect: "dark",
13431
13476
  placement: "bottom-start",
13432
- content: _ctx.data.tooltip
13477
+ content: __props.data.tooltip
13433
13478
  }, {
13434
13479
  default: vue.withCtx(() => [
13435
13480
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
@@ -13438,14 +13483,14 @@
13438
13483
  disabled: disabled.value
13439
13484
  }, {
13440
13485
  default: vue.withCtx(() => [
13441
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13486
+ __props.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13442
13487
  key: 0,
13443
- icon: _ctx.data.icon
13488
+ icon: __props.data.icon
13444
13489
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true),
13445
13490
  vue.createElementVNode(
13446
13491
  "span",
13447
13492
  null,
13448
- vue.toDisplayString(_ctx.data.text),
13493
+ vue.toDisplayString(__props.data.text),
13449
13494
  1
13450
13495
  /* TEXT */
13451
13496
  )
@@ -13461,17 +13506,17 @@
13461
13506
  size: "small",
13462
13507
  link: "",
13463
13508
  disabled: disabled.value,
13464
- title: _ctx.data.text
13509
+ title: __props.data.text
13465
13510
  }, {
13466
13511
  default: vue.withCtx(() => [
13467
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13512
+ __props.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13468
13513
  key: 0,
13469
- icon: _ctx.data.icon
13514
+ icon: __props.data.icon
13470
13515
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true),
13471
13516
  vue.createElementVNode(
13472
13517
  "span",
13473
13518
  null,
13474
- vue.toDisplayString(_ctx.data.text),
13519
+ vue.toDisplayString(__props.data.text),
13475
13520
  1
13476
13521
  /* TEXT */
13477
13522
  )
@@ -13482,22 +13527,22 @@
13482
13527
  ],
13483
13528
  64
13484
13529
  /* STABLE_FRAGMENT */
13485
- )) : _ctx.data.type === "dropdown" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdown), {
13530
+ )) : __props.data.type === "dropdown" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdown), {
13486
13531
  key: 3,
13487
13532
  trigger: "click",
13488
13533
  disabled: disabled.value,
13489
13534
  onCommand: dropdownHandler
13490
13535
  }, {
13491
13536
  dropdown: vue.withCtx(() => [
13492
- _ctx.data.items && _ctx.data.items.length ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdownMenu), { key: 0 }, {
13537
+ __props.data.items && __props.data.items.length ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdownMenu), { key: 0 }, {
13493
13538
  default: vue.withCtx(() => [
13494
13539
  (vue.openBlock(true), vue.createElementBlock(
13495
13540
  vue.Fragment,
13496
13541
  null,
13497
- vue.renderList(_ctx.data.items, (subItem, index) => {
13542
+ vue.renderList(__props.data.items, (subItem, index) => {
13498
13543
  return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdownItem), {
13499
13544
  key: index,
13500
- command: { data: _ctx.data, subItem }
13545
+ command: { data: __props.data, subItem }
13501
13546
  }, {
13502
13547
  default: vue.withCtx(() => [
13503
13548
  vue.createTextVNode(
@@ -13519,9 +13564,9 @@
13519
13564
  })) : vue.createCommentVNode("v-if", true)
13520
13565
  ]),
13521
13566
  default: vue.withCtx(() => [
13522
- vue.createElementVNode("span", _hoisted_2$9, [
13567
+ vue.createElementVNode("span", _hoisted_2$a, [
13523
13568
  vue.createTextVNode(
13524
- vue.toDisplayString(_ctx.data.text),
13569
+ vue.toDisplayString(__props.data.text),
13525
13570
  1
13526
13571
  /* TEXT */
13527
13572
  ),
@@ -13536,9 +13581,9 @@
13536
13581
  ]),
13537
13582
  _: 1
13538
13583
  /* STABLE */
13539
- }, 8, ["disabled"])) : _ctx.data.type === "component" ? (vue.openBlock(), vue.createBlock(
13540
- vue.resolveDynamicComponent(_ctx.data.component),
13541
- vue.mergeProps({ key: 4 }, _ctx.data.props || {}, vue.toHandlers(_ctx.data.listeners || {})),
13584
+ }, 8, ["disabled"])) : __props.data.type === "component" ? (vue.openBlock(), vue.createBlock(
13585
+ vue.resolveDynamicComponent(__props.data.component),
13586
+ vue.mergeProps({ key: 4 }, __props.data.props || {}, vue.toHandlers(__props.data.listeners || {})),
13542
13587
  null,
13543
13588
  16
13544
13589
  /* FULL_PROPS */
@@ -13556,7 +13601,7 @@
13556
13601
  id: "m-editor-page-bar-add-icon",
13557
13602
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
13558
13603
  };
13559
- const _hoisted_2$8 = {
13604
+ const _hoisted_2$9 = {
13560
13605
  key: 1,
13561
13606
  style: { "width": "21px" }
13562
13607
  };
@@ -13607,7 +13652,7 @@
13607
13652
  _: 1
13608
13653
  /* STABLE */
13609
13654
  })
13610
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8));
13655
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9));
13611
13656
  };
13612
13657
  }
13613
13658
  });
@@ -13616,7 +13661,7 @@
13616
13661
  class: "m-editor-page-bar",
13617
13662
  ref: "pageBar"
13618
13663
  };
13619
- const _hoisted_2$7 = {
13664
+ const _hoisted_2$8 = {
13620
13665
  key: 0,
13621
13666
  class: "m-editor-page-bar-items",
13622
13667
  ref: "itemsContainer"
@@ -13745,9 +13790,9 @@
13745
13790
  _hoisted_1$j,
13746
13791
  [
13747
13792
  vue.renderSlot(_ctx.$slots, "prepend"),
13748
- _ctx.length ? (vue.openBlock(), vue.createElementBlock(
13793
+ __props.length ? (vue.openBlock(), vue.createElementBlock(
13749
13794
  "div",
13750
- _hoisted_2$7,
13795
+ _hoisted_2$8,
13751
13796
  [
13752
13797
  vue.renderSlot(_ctx.$slots, "default")
13753
13798
  ],
@@ -13781,6 +13826,8 @@
13781
13826
  id: "m-editor-page-bar-list-icon",
13782
13827
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
13783
13828
  };
13829
+ const _hoisted_2$7 = { class: "page-bar-popover-wrapper" };
13830
+ const _hoisted_3$3 = { class: "page-bar-popover-inner" };
13784
13831
  const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
13785
13832
  ...{
13786
13833
  name: "MEditorPageList"
@@ -13815,25 +13862,27 @@
13815
13862
  })
13816
13863
  ]),
13817
13864
  default: vue.withCtx(() => [
13818
- vue.createElementVNode("div", null, [
13819
- vue.renderSlot(_ctx.$slots, "page-list-popover", { list: _ctx.list }, () => [
13820
- (vue.openBlock(true), vue.createElementBlock(
13821
- vue.Fragment,
13822
- null,
13823
- vue.renderList(_ctx.list, (item, index) => {
13824
- return vue.openBlock(), vue.createBlock(_sfc_main$z, {
13825
- data: {
13826
- type: "button",
13827
- text: item.devconfig?.tabName || item.name || item.id,
13828
- className: item.id === page.value?.id ? "active" : "",
13829
- handler: () => switchPage(item.id)
13830
- },
13831
- key: index
13832
- }, null, 8, ["data"]);
13833
- }),
13834
- 128
13835
- /* KEYED_FRAGMENT */
13836
- ))
13865
+ vue.createElementVNode("div", _hoisted_2$7, [
13866
+ vue.createElementVNode("div", _hoisted_3$3, [
13867
+ vue.renderSlot(_ctx.$slots, "page-list-popover", { list: __props.list }, () => [
13868
+ (vue.openBlock(true), vue.createElementBlock(
13869
+ vue.Fragment,
13870
+ null,
13871
+ vue.renderList(__props.list, (item, index) => {
13872
+ return vue.openBlock(), vue.createBlock(_sfc_main$z, {
13873
+ data: {
13874
+ type: "button",
13875
+ text: item.devconfig?.tabName || item.name || item.id,
13876
+ className: item.id === page.value?.id ? "active" : "",
13877
+ handler: () => switchPage(item.id)
13878
+ },
13879
+ key: index
13880
+ }, null, 8, ["data"]);
13881
+ }),
13882
+ 128
13883
+ /* KEYED_FRAGMENT */
13884
+ ))
13885
+ ])
13837
13886
  ])
13838
13887
  ])
13839
13888
  ]),
@@ -13991,7 +14040,7 @@
13991
14040
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
13992
14041
  vue.createVNode(_sfc_main$x, {
13993
14042
  ref: "pageBarScrollContainer",
13994
- "page-bar-sort-options": _ctx.pageBarSortOptions,
14043
+ "page-bar-sort-options": __props.pageBarSortOptions,
13995
14044
  length: list.value.length
13996
14045
  }, {
13997
14046
  prepend: vue.withCtx(() => [
@@ -14130,7 +14179,7 @@
14130
14179
  /* CACHED */
14131
14180
  ))
14132
14181
  ]),
14133
- !_ctx.disabledPageFragment ? (vue.openBlock(), vue.createElementBlock("div", {
14182
+ !__props.disabledPageFragment ? (vue.openBlock(), vue.createElementBlock("div", {
14134
14183
  key: 0,
14135
14184
  class: "m-editor-empty-button",
14136
14185
  onClick: _cache[1] || (_cache[1] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE_FRAGMENT))
@@ -14255,13 +14304,13 @@
14255
14304
  ]),
14256
14305
  center: vue.withCtx(() => [
14257
14306
  page.value ? vue.renderSlot(_ctx.$slots, "workspace", { key: 0 }) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
14258
- vue.createVNode(_sfc_main$t, { "disabled-page-fragment": _ctx.disabledPageFragment }, null, 8, ["disabled-page-fragment"])
14307
+ vue.createVNode(_sfc_main$t, { "disabled-page-fragment": __props.disabledPageFragment }, null, 8, ["disabled-page-fragment"])
14259
14308
  ]),
14260
14309
  vue.renderSlot(_ctx.$slots, "page-bar", {}, () => [
14261
14310
  vue.createVNode(_sfc_main$u, {
14262
- "disabled-page-fragment": _ctx.disabledPageFragment,
14263
- "page-bar-sort-options": _ctx.pageBarSortOptions,
14264
- "filter-function": _ctx.pageFilterFunction
14311
+ "disabled-page-fragment": __props.disabledPageFragment,
14312
+ "page-bar-sort-options": __props.pageBarSortOptions,
14313
+ "filter-function": __props.pageFilterFunction
14265
14314
  }, {
14266
14315
  "page-bar-add-button": vue.withCtx(() => [
14267
14316
  vue.renderSlot(_ctx.$slots, "page-bar-add-button")
@@ -14473,7 +14522,7 @@
14473
14522
  "div",
14474
14523
  {
14475
14524
  class: "m-editor-nav-menu",
14476
- style: vue.normalizeStyle({ height: `${_ctx.height}px` }),
14525
+ style: vue.normalizeStyle({ height: `${__props.height}px` }),
14477
14526
  ref: "navMenu"
14478
14527
  },
14479
14528
  [
@@ -14581,12 +14630,12 @@
14581
14630
  ref: "configForm",
14582
14631
  class: vue.normalizeClass(propsPanelSize.value),
14583
14632
  "popper-class": `m-editor-props-panel-popper ${propsPanelSize.value}`,
14584
- "label-width": _ctx.labelWidth,
14585
- "label-position": _ctx.labelPosition,
14633
+ "label-width": __props.labelWidth,
14634
+ "label-position": __props.labelPosition,
14586
14635
  size: propsPanelSize.value,
14587
- "init-values": _ctx.values,
14588
- config: _ctx.config,
14589
- "extend-state": _ctx.extendState,
14636
+ "init-values": __props.values,
14637
+ config: __props.config,
14638
+ "extend-state": __props.extendState,
14590
14639
  onChange: submit,
14591
14640
  onError: errorHandler
14592
14641
  }, null, 8, ["class", "popper-class", "label-width", "label-position", "size", "init-values", "config", "extend-state"])
@@ -14594,7 +14643,7 @@
14594
14643
  _: 1
14595
14644
  /* STABLE */
14596
14645
  }),
14597
- !_ctx.disabledShowSrc ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
14646
+ !__props.disabledShowSrc ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
14598
14647
  key: 0,
14599
14648
  class: "m-editor-props-panel-src-icon",
14600
14649
  circle: "",
@@ -14612,7 +14661,7 @@
14612
14661
  key: 1,
14613
14662
  class: "m-editor-props-panel-src-code",
14614
14663
  height: `${vue.unref(editorContentHeight)}px`,
14615
- "init-values": _ctx.codeValueKey ? _ctx.values[_ctx.codeValueKey] : _ctx.values,
14664
+ "init-values": __props.codeValueKey ? __props.values[__props.codeValueKey] : __props.values,
14616
14665
  options: vue.unref(codeOptions),
14617
14666
  parse: true,
14618
14667
  onSave: saveCode
@@ -14796,8 +14845,8 @@
14796
14845
  class: vue.normalizeClass(["m-editor-props-property-panel", { "show-style-panel": vue.unref(showStylePanel) }]),
14797
14846
  config: curFormConfig.value,
14798
14847
  values: values.value,
14799
- disabledShowSrc: _ctx.disabledShowSrc,
14800
- extendState: _ctx.extendState,
14848
+ disabledShowSrc: __props.disabledShowSrc,
14849
+ extendState: __props.extendState,
14801
14850
  onSubmit: submit,
14802
14851
  onSubmitError: errorHandler,
14803
14852
  onFormError: errorHandler,
@@ -14815,8 +14864,8 @@
14815
14864
  "code-value-key": "style",
14816
14865
  config: styleFormConfig,
14817
14866
  values: values.value,
14818
- disabledShowSrc: _ctx.disabledShowSrc,
14819
- extendState: _ctx.extendState,
14867
+ disabledShowSrc: __props.disabledShowSrc,
14868
+ extendState: __props.extendState,
14820
14869
  onSubmit: submit,
14821
14870
  onSubmitError: errorHandler,
14822
14871
  onFormError: errorHandler
@@ -15009,12 +15058,12 @@
15009
15058
  (vue.openBlock(true), vue.createElementBlock(
15010
15059
  vue.Fragment,
15011
15060
  null,
15012
- vue.renderList(_ctx.menuData, (item, index) => {
15061
+ vue.renderList(__props.menuData, (item, index) => {
15013
15062
  return vue.openBlock(), vue.createBlock(_sfc_main$z, {
15014
15063
  "event-type": "mouseup",
15015
15064
  ref_for: true,
15016
15065
  ref: "buttons",
15017
- class: vue.normalizeClass({ active: _ctx.active && item.id === _ctx.active }),
15066
+ class: vue.normalizeClass({ active: __props.active && item.id === __props.active }),
15018
15067
  data: item,
15019
15068
  key: index,
15020
15069
  onMouseup: clickHandler,
@@ -15030,7 +15079,7 @@
15030
15079
  key: 0,
15031
15080
  class: "sub-menu",
15032
15081
  ref: "subMenu",
15033
- active: _ctx.active,
15082
+ active: __props.active,
15034
15083
  "menu-data": subMenuData.value,
15035
15084
  "is-sub-menu": true,
15036
15085
  onHide: hide
@@ -15160,10 +15209,10 @@
15160
15209
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
15161
15210
  class: "m-editor-tree-node",
15162
15211
  draggable: draggable.value,
15163
- "data-node-id": _ctx.data.id,
15164
- "data-parent-id": _ctx.parent?.id,
15165
- "data-parents-id": _ctx.parentsId,
15166
- "data-is-container": Array.isArray(_ctx.data.items),
15212
+ "data-node-id": __props.data.id,
15213
+ "data-parent-id": __props.parent?.id,
15214
+ "data-parents-id": __props.parentsId,
15215
+ "data-is-container": Array.isArray(__props.data.items),
15167
15216
  onDragstart: handleDragStart,
15168
15217
  onDragleave: handleDragLeave,
15169
15218
  onDragend: handleDragEnd
@@ -15172,7 +15221,7 @@
15172
15221
  "div",
15173
15222
  {
15174
15223
  class: vue.normalizeClass(["tree-node", { selected: selected.value, expanded: expanded.value }]),
15175
- style: vue.normalizeStyle(`padding-left: ${_ctx.indent}px`),
15224
+ style: vue.normalizeStyle(`padding-left: ${__props.indent}px`),
15176
15225
  onContextmenu: nodeContextmenuHandler,
15177
15226
  onMouseenter: mouseenterHandler
15178
15227
  },
@@ -15187,18 +15236,18 @@
15187
15236
  class: "tree-node-content",
15188
15237
  onClick: nodeClickHandler
15189
15238
  }, [
15190
- vue.renderSlot(_ctx.$slots, "tree-node-content", { data: _ctx.data }, () => [
15239
+ vue.renderSlot(_ctx.$slots, "tree-node-content", { data: __props.data }, () => [
15191
15240
  vue.createElementVNode("div", _hoisted_2$3, [
15192
- vue.renderSlot(_ctx.$slots, "tree-node-label", { data: _ctx.data }, () => [
15241
+ vue.renderSlot(_ctx.$slots, "tree-node-label", { data: __props.data }, () => [
15193
15242
  vue.createTextVNode(
15194
- vue.toDisplayString(`${_ctx.data.name} (${_ctx.data.id})`),
15243
+ vue.toDisplayString(`${__props.data.name} (${__props.data.id})`),
15195
15244
  1
15196
15245
  /* TEXT */
15197
15246
  )
15198
15247
  ])
15199
15248
  ]),
15200
15249
  vue.createElementVNode("div", _hoisted_3$1, [
15201
- vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: _ctx.data })
15250
+ vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: __props.data })
15202
15251
  ])
15203
15252
  ])
15204
15253
  ])
@@ -15210,14 +15259,14 @@
15210
15259
  (vue.openBlock(true), vue.createElementBlock(
15211
15260
  vue.Fragment,
15212
15261
  null,
15213
- vue.renderList(_ctx.data.items, (item) => {
15262
+ vue.renderList(__props.data.items, (item) => {
15214
15263
  return vue.openBlock(), vue.createBlock(_component_TreeNode, {
15215
15264
  key: item.id,
15216
15265
  data: item,
15217
- parent: _ctx.data,
15218
- parentsId: [..._ctx.parentsId, _ctx.data.id],
15219
- "node-status-map": _ctx.nodeStatusMap,
15220
- indent: _ctx.indent + _ctx.nextLevelIndentIncrement
15266
+ parent: __props.data,
15267
+ parentsId: [...__props.parentsId, __props.data.id],
15268
+ "node-status-map": __props.nodeStatusMap,
15269
+ indent: __props.indent + __props.nextLevelIndentIncrement
15221
15270
  }, {
15222
15271
  "tree-node-content": vue.withCtx(({ data: nodeData }) => [
15223
15272
  vue.renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -15228,9 +15277,9 @@
15228
15277
  "tree-node-tool": vue.withCtx(({ data: nodeData }) => [
15229
15278
  vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
15230
15279
  ]),
15231
- _: 2
15232
- /* DYNAMIC */
15233
- }, 1032, ["data", "parent", "parentsId", "node-status-map", "indent"]);
15280
+ _: 3
15281
+ /* FORWARDED */
15282
+ }, 8, ["data", "parent", "parentsId", "node-status-map", "indent"]);
15234
15283
  }),
15235
15284
  128
15236
15285
  /* KEYED_FRAGMENT */
@@ -15274,16 +15323,16 @@
15274
15323
  onDragover: handleDragOver
15275
15324
  },
15276
15325
  [
15277
- _ctx.data?.length ? (vue.openBlock(true), vue.createElementBlock(
15326
+ __props.data?.length ? (vue.openBlock(true), vue.createElementBlock(
15278
15327
  vue.Fragment,
15279
15328
  { key: 0 },
15280
- vue.renderList(_ctx.data, (item) => {
15329
+ vue.renderList(__props.data, (item) => {
15281
15330
  return vue.openBlock(), vue.createBlock(_sfc_main$m, {
15282
15331
  key: item.id,
15283
15332
  data: item,
15284
- indent: _ctx.indent,
15285
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15286
- "node-status-map": _ctx.nodeStatusMap
15333
+ indent: __props.indent,
15334
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15335
+ "node-status-map": __props.nodeStatusMap
15287
15336
  }, {
15288
15337
  "tree-node-content": vue.withCtx(({ data: nodeData }) => [
15289
15338
  vue.renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -15294,9 +15343,9 @@
15294
15343
  "tree-node-tool": vue.withCtx(({ data: nodeData }) => [
15295
15344
  vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
15296
15345
  ]),
15297
- _: 2
15298
- /* DYNAMIC */
15299
- }, 1032, ["data", "indent", "next-level-indent-increment", "node-status-map"]);
15346
+ _: 3
15347
+ /* FORWARDED */
15348
+ }, 8, ["data", "indent", "next-level-indent-increment", "node-status-map"]);
15300
15349
  }),
15301
15350
  128
15302
15351
  /* KEYED_FRAGMENT */
@@ -15304,7 +15353,7 @@
15304
15353
  vue.createElementVNode(
15305
15354
  "p",
15306
15355
  null,
15307
- vue.toDisplayString(_ctx.emptyText),
15356
+ vue.toDisplayString(__props.emptyText),
15308
15357
  1
15309
15358
  /* TEXT */
15310
15359
  )
@@ -15426,8 +15475,8 @@
15426
15475
  return vue.openBlock(), vue.createBlock(_sfc_main$l, {
15427
15476
  data: codeList.value,
15428
15477
  "node-status-map": vue.unref(nodeStatusMap),
15429
- indent: _ctx.indent,
15430
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15478
+ indent: __props.indent,
15479
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15431
15480
  onNodeClick: clickHandler,
15432
15481
  onNodeContextmenu: nodeContentMenuHandler
15433
15482
  }, {
@@ -15643,9 +15692,9 @@
15643
15692
  vue.createCommentVNode(" 代码块列表 "),
15644
15693
  vue.createVNode(_sfc_main$k, {
15645
15694
  ref: "codeBlockList",
15646
- "custom-error": _ctx.customError,
15647
- indent: _ctx.indent,
15648
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15695
+ "custom-error": __props.customError,
15696
+ indent: __props.indent,
15697
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15649
15698
  onEdit: vue.unref(editCode),
15650
15699
  onRemove: vue.unref(deleteCode),
15651
15700
  onNodeContextmenu: vue.unref(nodeContentMenuHandler)
@@ -15783,16 +15832,16 @@
15783
15832
  "onUpdate:width": _cache[1] || (_cache[1] = ($event) => width.value = $event),
15784
15833
  height: vue.unref(editorHeight),
15785
15834
  "onUpdate:height": _cache[2] || (_cache[2] = ($event) => vue.isRef(editorHeight) ? editorHeight.value = $event : null),
15786
- title: _ctx.title,
15835
+ title: __props.title,
15787
15836
  position: vue.unref(boxPosition)
15788
15837
  }, {
15789
15838
  body: vue.withCtx(() => [
15790
15839
  vue.createVNode(vue.unref(formPlugin.MFormBox), {
15791
15840
  "label-width": "80px",
15792
- title: _ctx.title,
15841
+ title: __props.title,
15793
15842
  config: dataSourceConfig.value,
15794
15843
  values: initValues.value,
15795
- disabled: _ctx.disabled,
15844
+ disabled: __props.disabled,
15796
15845
  style: { "height": "100%" },
15797
15846
  onSubmit: submitHandler,
15798
15847
  onError: errorHandler
@@ -15908,8 +15957,8 @@
15908
15957
  return vue.openBlock(), vue.createBlock(_sfc_main$l, {
15909
15958
  data: list.value,
15910
15959
  "node-status-map": vue.unref(nodeStatusMap),
15911
- indent: _ctx.indent,
15912
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15960
+ indent: __props.indent,
15961
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15913
15962
  onNodeClick: clickHandler,
15914
15963
  onNodeContextmenu: nodeContentMenuHandler
15915
15964
  }, {
@@ -16174,8 +16223,8 @@
16174
16223
  vue.createCommentVNode(" 数据源列表 "),
16175
16224
  vue.createVNode(_sfc_main$h, {
16176
16225
  ref: "dataSourceList",
16177
- indent: _ctx.indent,
16178
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
16226
+ indent: __props.indent,
16227
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
16179
16228
  onEdit: vue.unref(editHandler),
16180
16229
  onRemove: removeHandler,
16181
16230
  onNodeContextmenu: vue.unref(nodeContentMenuHandler)
@@ -16441,11 +16490,11 @@
16441
16490
  });
16442
16491
  };
16443
16492
  return (_ctx, _cache) => {
16444
- return _ctx.data.type !== "page" ? (vue.openBlock(), vue.createElementBlock(
16493
+ return __props.data.type !== "page" ? (vue.openBlock(), vue.createElementBlock(
16445
16494
  vue.Fragment,
16446
16495
  { key: 0 },
16447
16496
  [
16448
- _ctx.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
16497
+ __props.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
16449
16498
  key: 0,
16450
16499
  icon: vue.unref(iconsVue.Hide),
16451
16500
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => setNodeVisible(true), ["stop"])),
@@ -16988,8 +17037,8 @@
16988
17037
  ref: "tree",
16989
17038
  data: nodeData.value,
16990
17039
  "node-status-map": vue.unref(nodeStatusMap),
16991
- indent: _ctx.indent,
16992
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
17040
+ indent: __props.indent,
17041
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
16993
17042
  onNodeDragover: vue.unref(handleDragOver),
16994
17043
  onNodeDragstart: vue.unref(handleDragStart),
16995
17044
  onNodeDragleave: vue.unref(handleDragLeave),
@@ -17015,8 +17064,8 @@
17015
17064
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
17016
17065
  vue.createVNode(_sfc_main$e, {
17017
17066
  ref: "menu",
17018
- "layer-content-menu": _ctx.layerContentMenu,
17019
- "custom-content-menu": _ctx.customContentMenu,
17067
+ "layer-content-menu": __props.layerContentMenu,
17068
+ "custom-content-menu": __props.customContentMenu,
17020
17069
  onCollapseAll: collapseAllHandler
17021
17070
  }, null, 8, ["layer-content-menu", "custom-content-menu"])
17022
17071
  ]))
@@ -17362,7 +17411,7 @@
17362
17411
  vue.Fragment,
17363
17412
  null,
17364
17413
  [
17365
- _ctx.data.type === "tabs" && _ctx.data.items.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
17414
+ __props.data.type === "tabs" && __props.data.items.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
17366
17415
  vue.createElementVNode("div", _hoisted_2$1, [
17367
17416
  (vue.openBlock(true), vue.createElementBlock(
17368
17417
  vue.Fragment,
@@ -17694,7 +17743,7 @@
17694
17743
  "div",
17695
17744
  {
17696
17745
  ref: "bar",
17697
- class: vue.normalizeClass(["m-editor-scroll-bar", _ctx.isHorizontal ? "horizontal" : "vertical"])
17746
+ class: vue.normalizeClass(["m-editor-scroll-bar", __props.isHorizontal ? "horizontal" : "vertical"])
17698
17747
  },
17699
17748
  [
17700
17749
  vue.createElementVNode(
@@ -17810,19 +17859,19 @@
17810
17859
  /* STYLE */
17811
17860
  ),
17812
17861
  vue.renderSlot(_ctx.$slots, "content"),
17813
- scrollHeight.value > _ctx.wrapHeight ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17862
+ scrollHeight.value > __props.wrapHeight ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17814
17863
  key: 0,
17815
17864
  "scroll-size": scrollHeight.value,
17816
17865
  pos: vOffset.value,
17817
- size: _ctx.wrapHeight,
17866
+ size: __props.wrapHeight,
17818
17867
  onScroll: vScrollHandler
17819
17868
  }, null, 8, ["scroll-size", "pos", "size"])) : vue.createCommentVNode("v-if", true),
17820
- scrollWidth.value > _ctx.wrapWidth ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17869
+ scrollWidth.value > __props.wrapWidth ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17821
17870
  key: 1,
17822
17871
  "is-horizontal": true,
17823
17872
  "scroll-size": scrollWidth.value,
17824
17873
  pos: hOffset.value,
17825
- size: _ctx.wrapWidth,
17874
+ size: __props.wrapWidth,
17826
17875
  onScroll: hScrollHandler
17827
17876
  }, null, 8, ["scroll-size", "pos", "size"])) : vue.createCommentVNode("v-if", true)
17828
17877
  ],
@@ -18409,13 +18458,13 @@
18409
18458
  onClick: _cache[0] || (_cache[0] = ($event) => stageWrapRef.value?.container?.focus())
18410
18459
  }, {
18411
18460
  content: vue.withCtx(() => [
18412
- !_ctx.disabledStageOverlay ? (vue.openBlock(), vue.createBlock(_sfc_main$6, { key: 0 })) : vue.createCommentVNode("v-if", true),
18461
+ !__props.disabledStageOverlay ? (vue.openBlock(), vue.createBlock(_sfc_main$6, { key: 0 })) : vue.createCommentVNode("v-if", true),
18413
18462
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
18414
18463
  vue.createVNode(_sfc_main$4, {
18415
18464
  ref: "menu",
18416
18465
  "is-multi-select": isMultiSelect.value,
18417
- "stage-content-menu": _ctx.stageContentMenu,
18418
- "custom-content-menu": _ctx.customContentMenu
18466
+ "stage-content-menu": __props.stageContentMenu,
18467
+ "custom-content-menu": __props.customContentMenu
18419
18468
  }, null, 8, ["is-multi-select", "stage-content-menu", "custom-content-menu"])
18420
18469
  ]))
18421
18470
  ]),
@@ -18528,9 +18577,9 @@
18528
18577
  page.value && (vue.unref(stageOptions)?.render || vue.unref(stageOptions)?.runtimeUrl) ? (vue.openBlock(), vue.createBlock(_sfc_main$3, {
18529
18578
  key: 0,
18530
18579
  "stage-options": vue.unref(stageOptions),
18531
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
18532
- "stage-content-menu": _ctx.stageContentMenu,
18533
- "custom-content-menu": _ctx.customContentMenu
18580
+ "disabled-stage-overlay": __props.disabledStageOverlay,
18581
+ "stage-content-menu": __props.stageContentMenu,
18582
+ "custom-content-menu": __props.customContentMenu
18534
18583
  }, null, 8, ["stage-options", "disabled-stage-overlay", "stage-content-menu", "custom-content-menu"])) : vue.createCommentVNode("v-if", true)
18535
18584
  ]),
18536
18585
  vue.renderSlot(_ctx.$slots, "workspace-content")
@@ -21345,16 +21394,16 @@
21345
21394
  __expose(services);
21346
21395
  return (_ctx, _cache) => {
21347
21396
  return vue.openBlock(), vue.createBlock(_sfc_main$s, {
21348
- "disabled-page-fragment": _ctx.disabledPageFragment,
21349
- "page-bar-sort-options": _ctx.pageBarSortOptions,
21350
- "page-filter-function": _ctx.pageFilterFunction
21397
+ "disabled-page-fragment": __props.disabledPageFragment,
21398
+ "page-bar-sort-options": __props.pageBarSortOptions,
21399
+ "page-filter-function": __props.pageFilterFunction
21351
21400
  }, {
21352
21401
  header: vue.withCtx(() => [
21353
21402
  vue.renderSlot(_ctx.$slots, "header")
21354
21403
  ]),
21355
21404
  nav: vue.withCtx(() => [
21356
21405
  vue.renderSlot(_ctx.$slots, "nav", { editorService: vue.unref(editorService) }, () => [
21357
- vue.createVNode(_sfc_main$r, { data: _ctx.menu }, null, 8, ["data"])
21406
+ vue.createVNode(_sfc_main$r, { data: __props.menu }, null, 8, ["data"])
21358
21407
  ])
21359
21408
  ]),
21360
21409
  "content-before": vue.withCtx(() => [
@@ -21366,11 +21415,11 @@
21366
21415
  sidebar: vue.withCtx(() => [
21367
21416
  vue.renderSlot(_ctx.$slots, "sidebar", { editorService: vue.unref(editorService) }, () => [
21368
21417
  vue.createVNode(_sfc_main$a, {
21369
- data: _ctx.sidebar,
21370
- "layer-content-menu": _ctx.layerContentMenu,
21371
- "custom-content-menu": _ctx.customContentMenu,
21372
- indent: _ctx.treeIndent,
21373
- "next-level-indent-increment": _ctx.treeNextLevelIndentIncrement
21418
+ data: __props.sidebar,
21419
+ "layer-content-menu": __props.layerContentMenu,
21420
+ "custom-content-menu": __props.customContentMenu,
21421
+ indent: __props.treeIndent,
21422
+ "next-level-indent-increment": __props.treeNextLevelIndentIncrement
21374
21423
  }, {
21375
21424
  "layer-panel-header": vue.withCtx(() => [
21376
21425
  vue.renderSlot(_ctx.$slots, "layer-panel-header")
@@ -21419,9 +21468,9 @@
21419
21468
  workspace: vue.withCtx(() => [
21420
21469
  vue.renderSlot(_ctx.$slots, "workspace", { editorService: vue.unref(editorService) }, () => [
21421
21470
  vue.createVNode(_sfc_main$1, {
21422
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
21423
- "stage-content-menu": _ctx.stageContentMenu,
21424
- "custom-content-menu": _ctx.customContentMenu
21471
+ "disabled-stage-overlay": __props.disabledStageOverlay,
21472
+ "stage-content-menu": __props.stageContentMenu,
21473
+ "custom-content-menu": __props.customContentMenu
21425
21474
  }, {
21426
21475
  stage: vue.withCtx(() => [
21427
21476
  vue.renderSlot(_ctx.$slots, "stage")
@@ -21437,8 +21486,8 @@
21437
21486
  "props-panel": vue.withCtx(() => [
21438
21487
  vue.renderSlot(_ctx.$slots, "props-panel", {}, () => [
21439
21488
  vue.createVNode(_sfc_main$p, {
21440
- "extend-state": _ctx.extendFormState,
21441
- "disabled-show-src": _ctx.disabledShowSrc,
21489
+ "extend-state": __props.extendFormState,
21490
+ "disabled-show-src": __props.disabledShowSrc,
21442
21491
  onMounted: propsPanelMountedHandler,
21443
21492
  onUnmounted: propsPanelUnmountedHandler,
21444
21493
  onFormError: propsPanelFormErrorHandler,