@tmagic/editor 1.6.0-beta.6 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,37 +9258,45 @@
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
  }, {
9263
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
9264
- vue.createTextVNode("快速添加")
9265
- ])),
9266
- _: 1,
9267
- __: [8]
9274
+ default: vue.withCtx(() => [..._cache[8] || (_cache[8] = [
9275
+ vue.createTextVNode(
9276
+ "快速添加",
9277
+ -1
9278
+ /* CACHED */
9279
+ )
9280
+ ])]),
9281
+ _: 1
9282
+ /* STABLE */
9268
9283
  }, 8, ["disabled"]),
9269
9284
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9270
9285
  size: "small",
9271
9286
  type: "primary",
9272
- disabled: _ctx.disabled,
9287
+ disabled: __props.disabled,
9273
9288
  plain: "",
9274
9289
  onClick: _cache[1] || (_cache[1] = ($event) => newHandler())
9275
9290
  }, {
9276
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
9277
- vue.createTextVNode("添加")
9278
- ])),
9279
- _: 1,
9280
- __: [9]
9291
+ default: vue.withCtx(() => [..._cache[9] || (_cache[9] = [
9292
+ vue.createTextVNode(
9293
+ "添加",
9294
+ -1
9295
+ /* CACHED */
9296
+ )
9297
+ ])]),
9298
+ _: 1
9299
+ /* STABLE */
9281
9300
  }, 8, ["disabled"])
9282
9301
  ]),
9283
9302
  vue.createVNode(_sfc_main$1j, {
@@ -9296,8 +9315,8 @@
9296
9315
  title: fieldTitle.value,
9297
9316
  config: dataSourceFieldsConfig,
9298
9317
  values: fieldValues.value,
9299
- parentValues: _ctx.model[_ctx.name],
9300
- disabled: _ctx.disabled,
9318
+ parentValues: __props.model[__props.name],
9319
+ disabled: __props.disabled,
9301
9320
  onSubmit: fieldChange
9302
9321
  }, null, 8, ["title", "values", "parentValues", "disabled"])
9303
9322
  ]),
@@ -9318,7 +9337,7 @@
9318
9337
  vue.createVNode(vue.unref(formPlugin.MFormBox), {
9319
9338
  config: jsonFromConfig,
9320
9339
  values: jsonFromValues.value,
9321
- disabled: _ctx.disabled,
9340
+ disabled: __props.disabled,
9322
9341
  onSubmit: addFromJsonFromChange
9323
9342
  }, null, 8, ["values", "disabled"])
9324
9343
  ]),
@@ -9330,7 +9349,7 @@
9330
9349
  }
9331
9350
  });
9332
9351
 
9333
- const _hoisted_1$X = { class: "m-editor-data-source-field-select" };
9352
+ const _hoisted_1$W = { class: "m-editor-data-source-field-select" };
9334
9353
  const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
9335
9354
  __name: "FieldSelect",
9336
9355
  props: /* @__PURE__ */ vue.mergeModels({
@@ -9412,8 +9431,8 @@
9412
9431
  eventBus?.emit("edit-data-source", removeDataSourceFieldPrefix(id));
9413
9432
  };
9414
9433
  return (_ctx, _cache) => {
9415
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
9416
- _ctx.checkStrictly ? (vue.openBlock(), vue.createElementBlock(
9434
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
9435
+ __props.checkStrictly ? (vue.openBlock(), vue.createElementBlock(
9417
9436
  vue.Fragment,
9418
9437
  { key: 0 },
9419
9438
  [
@@ -9421,8 +9440,8 @@
9421
9440
  "model-value": selectDataSourceId.value,
9422
9441
  clearable: "",
9423
9442
  filterable: "",
9424
- size: _ctx.size,
9425
- disabled: _ctx.disabled,
9443
+ size: __props.size,
9444
+ disabled: __props.disabled,
9426
9445
  onChange: dsChangeHandler
9427
9446
  }, {
9428
9447
  default: vue.withCtx(() => [
@@ -9464,11 +9483,11 @@
9464
9483
  "model-value": selectFieldsId.value,
9465
9484
  clearable: "",
9466
9485
  filterable: "",
9467
- size: _ctx.size,
9468
- disabled: _ctx.disabled,
9486
+ size: __props.size,
9487
+ disabled: __props.disabled,
9469
9488
  options: fieldsOptions.value,
9470
9489
  props: {
9471
- checkStrictly: _ctx.checkStrictly
9490
+ checkStrictly: __props.checkStrictly
9472
9491
  },
9473
9492
  onChange: fieldChangeHandler
9474
9493
  }, null, 8, ["model-value", "size", "disabled", "options", "props"])
@@ -9480,11 +9499,11 @@
9480
9499
  clearable: "",
9481
9500
  filterable: "",
9482
9501
  "model-value": modelValue.value,
9483
- disabled: _ctx.disabled,
9484
- size: _ctx.size,
9502
+ disabled: __props.disabled,
9503
+ size: __props.size,
9485
9504
  options: cascaderOptions.value,
9486
9505
  props: {
9487
- checkStrictly: _ctx.checkStrictly
9506
+ checkStrictly: __props.checkStrictly
9488
9507
  },
9489
9508
  onChange: onChangeHandler
9490
9509
  }, null, 8, ["model-value", "disabled", "size", "options", "props"])),
@@ -9495,7 +9514,7 @@
9495
9514
  default: vue.withCtx(() => [
9496
9515
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9497
9516
  class: "m-fields-select-action-button",
9498
- size: _ctx.size,
9517
+ size: __props.size,
9499
9518
  onClick: _cache[0] || (_cache[0] = ($event) => editHandler(selectDataSourceId.value))
9500
9519
  }, {
9501
9520
  default: vue.withCtx(() => [
@@ -9515,7 +9534,7 @@
9515
9534
  }
9516
9535
  });
9517
9536
 
9518
- const _hoisted_1$W = { class: "m-fields-data-source-field-select" };
9537
+ const _hoisted_1$V = { class: "m-fields-data-source-field-select" };
9519
9538
  const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
9520
9539
  ...{
9521
9540
  name: "MFieldsDataSourceFieldSelect"
@@ -9618,39 +9637,38 @@
9618
9637
  }
9619
9638
  };
9620
9639
  return (_ctx, _cache) => {
9621
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
9622
- !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, {
9623
9642
  key: 0,
9624
- "model-value": _ctx.model[_ctx.name],
9625
- disabled: _ctx.disabled,
9626
- size: _ctx.size,
9627
- value: _ctx.config.value,
9643
+ "model-value": __props.model[__props.name],
9644
+ disabled: __props.disabled,
9645
+ size: __props.size,
9646
+ value: __props.config.value,
9628
9647
  checkStrictly: checkStrictly.value,
9629
- dataSourceFieldType: _ctx.config.dataSourceFieldType,
9648
+ dataSourceFieldType: __props.config.dataSourceFieldType,
9630
9649
  onChange: onChangeHandler
9631
9650
  }, null, 8, ["model-value", "disabled", "size", "value", "checkStrictly", "dataSourceFieldType"])) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tagName.value), {
9632
9651
  key: 1,
9633
- config: _ctx.config.fieldConfig,
9634
- model: _ctx.model,
9635
- name: _ctx.name,
9636
- disabled: _ctx.disabled,
9637
- size: _ctx.size,
9638
- "last-values": _ctx.lastValues,
9639
- "init-values": _ctx.initValues,
9640
- values: _ctx.values,
9641
- 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,
9642
9661
  onChange: onChangeHandler
9643
9662
  }, null, 40, ["config", "model", "name", "disabled", "size", "last-values", "init-values", "values", "prop"])),
9644
- _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), {
9645
9664
  key: 2,
9646
9665
  disabled: showDataSourceFieldSelect.value,
9647
9666
  content: "选择数据源"
9648
9667
  }, {
9649
9668
  default: vue.withCtx(() => [
9650
9669
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
9651
- style: { "margin-left": "5px" },
9652
9670
  type: showDataSourceFieldSelect.value ? "primary" : "default",
9653
- size: _ctx.size,
9671
+ size: __props.size,
9654
9672
  onClick: _cache[0] || (_cache[0] = ($event) => showDataSourceFieldSelect.value = !showDataSourceFieldSelect.value)
9655
9673
  }, {
9656
9674
  default: vue.withCtx(() => [
@@ -9668,9 +9686,9 @@
9668
9686
  }
9669
9687
  });
9670
9688
 
9671
- const _hoisted_1$V = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
9672
- const _hoisted_2$k = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
9673
- 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" };
9674
9692
  const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
9675
9693
  ...{
9676
9694
  name: "MFieldsDataSourceInput"
@@ -9852,11 +9870,11 @@
9852
9870
  key: 0,
9853
9871
  modelValue: state.value,
9854
9872
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
9855
- disabled: _ctx.disabled,
9856
- size: _ctx.size,
9873
+ disabled: __props.disabled,
9874
+ size: __props.size,
9857
9875
  clearable: true,
9858
9876
  onChange: changeHandler
9859
- }, 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(
9860
9878
  {
9861
9879
  key: 1,
9862
9880
  class: "tmagic-design-auto-complete",
@@ -9865,8 +9883,8 @@
9865
9883
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.value = $event)
9866
9884
  },
9867
9885
  vue.unref(designPlugin.getDesignConfig)("components")?.autocomplete.props({
9868
- disabled: _ctx.disabled,
9869
- size: _ctx.size,
9886
+ disabled: __props.disabled,
9887
+ size: __props.size,
9870
9888
  fetchSuggestions: querySearch,
9871
9889
  triggerOnFocus: false,
9872
9890
  clearable: true
@@ -9882,7 +9900,7 @@
9882
9900
  vue.createVNode(_sfc_main$1r, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
9883
9901
  ]),
9884
9902
  default: vue.withCtx(({ item }) => [
9885
- vue.createElementVNode("div", _hoisted_1$V, [
9903
+ vue.createElementVNode("div", _hoisted_1$U, [
9886
9904
  vue.createElementVNode(
9887
9905
  "div",
9888
9906
  null,
@@ -9892,7 +9910,7 @@
9892
9910
  ),
9893
9911
  vue.createElementVNode(
9894
9912
  "span",
9895
- _hoisted_2$k,
9913
+ _hoisted_2$l,
9896
9914
  vue.toDisplayString(item.value),
9897
9915
  1
9898
9916
  /* TEXT */
@@ -9905,7 +9923,7 @@
9905
9923
  "div",
9906
9924
  {
9907
9925
  key: 2,
9908
- 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}`),
9909
9927
  onMouseup: mouseupHandler
9910
9928
  },
9911
9929
  [
@@ -9915,7 +9933,7 @@
9915
9933
  class: vue.normalizeClass(`tmagic-data-source-input-text-wrapper el-input__wrapper ${isFocused.value ? " is-focus" : ""}`)
9916
9934
  },
9917
9935
  [
9918
- vue.createElementVNode("div", _hoisted_3$7, [
9936
+ vue.createElementVNode("div", _hoisted_3$8, [
9919
9937
  (vue.openBlock(true), vue.createElementBlock(
9920
9938
  vue.Fragment,
9921
9939
  null,
@@ -9936,7 +9954,7 @@
9936
9954
  )) : vue.createCommentVNode("v-if", true),
9937
9955
  item.type === "var" ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTag), {
9938
9956
  key: index,
9939
- size: _ctx.size
9957
+ size: __props.size
9940
9958
  }, {
9941
9959
  default: vue.withCtx(() => [
9942
9960
  vue.createTextVNode(
@@ -9973,9 +9991,9 @@
9973
9991
  }
9974
9992
  });
9975
9993
 
9976
- const _hoisted_1$U = { style: { "display": "flex", "margin-bottom": "10px" } };
9977
- const _hoisted_2$j = { style: { "flex": "1" } };
9978
- 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" } };
9979
9997
  const _hoisted_4$5 = { class: "dialog-footer" };
9980
9998
  const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
9981
9999
  ...{
@@ -10170,7 +10188,7 @@
10170
10188
  "onUpdate:width": _cache[2] || (_cache[2] = ($event) => width.value = $event),
10171
10189
  height: vue.unref(codeBlockEditorHeight),
10172
10190
  "onUpdate:height": _cache[3] || (_cache[3] = ($event) => vue.isRef(codeBlockEditorHeight) ? codeBlockEditorHeight.value = $event : null),
10173
- title: _ctx.content.name ? `${_ctx.disabled ? "查看" : "编辑"}${_ctx.content.name}` : "新增代码",
10191
+ title: __props.content.name ? `${__props.disabled ? "查看" : "编辑"}${__props.content.name}` : "新增代码",
10174
10192
  position: vue.unref(boxPosition),
10175
10193
  "before-close": beforeClose
10176
10194
  }, {
@@ -10181,10 +10199,10 @@
10181
10199
  ref: formBox,
10182
10200
  "label-width": "80px",
10183
10201
  "close-on-press-escape": false,
10184
- title: _ctx.content.name,
10202
+ title: __props.content.name,
10185
10203
  config: functionConfig.value,
10186
- values: _ctx.content,
10187
- disabled: _ctx.disabled,
10204
+ values: __props.content,
10205
+ disabled: __props.disabled,
10188
10206
  style: { "height": "100%" },
10189
10207
  onChange: changeHandler,
10190
10208
  onSubmit: submitForm,
@@ -10192,17 +10210,21 @@
10192
10210
  onClosed: closedHandler
10193
10211
  }, {
10194
10212
  left: vue.withCtx(() => [
10195
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
10213
+ !__props.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
10196
10214
  key: 0,
10197
10215
  type: "primary",
10198
10216
  link: "",
10199
10217
  onClick: _cache[0] || (_cache[0] = ($event) => difVisible.value = true)
10200
10218
  }, {
10201
- default: vue.withCtx(() => _cache[6] || (_cache[6] = [
10202
- vue.createTextVNode("查看修改")
10203
- ])),
10204
- _: 1,
10205
- __: [6]
10219
+ default: vue.withCtx(() => [..._cache[6] || (_cache[6] = [
10220
+ vue.createTextVNode(
10221
+ "查看修改",
10222
+ -1
10223
+ /* CACHED */
10224
+ )
10225
+ ])]),
10226
+ _: 1
10227
+ /* STABLE */
10206
10228
  })) : vue.createCommentVNode("v-if", true)
10207
10229
  ]),
10208
10230
  _: 1
@@ -10226,49 +10248,65 @@
10226
10248
  size: "small",
10227
10249
  onClick: _cache[4] || (_cache[4] = ($event) => difVisible.value = false)
10228
10250
  }, {
10229
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
10230
- vue.createTextVNode("取消")
10231
- ])),
10232
- _: 1,
10233
- __: [9]
10251
+ default: vue.withCtx(() => [..._cache[9] || (_cache[9] = [
10252
+ vue.createTextVNode(
10253
+ "取消",
10254
+ -1
10255
+ /* CACHED */
10256
+ )
10257
+ ])]),
10258
+ _: 1
10259
+ /* STABLE */
10234
10260
  }),
10235
10261
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10236
10262
  size: "small",
10237
10263
  type: "primary",
10238
10264
  onClick: diffChange
10239
10265
  }, {
10240
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
10241
- vue.createTextVNode("确定")
10242
- ])),
10243
- _: 1,
10244
- __: [10]
10266
+ default: vue.withCtx(() => [..._cache[10] || (_cache[10] = [
10267
+ vue.createTextVNode(
10268
+ "确定",
10269
+ -1
10270
+ /* CACHED */
10271
+ )
10272
+ ])]),
10273
+ _: 1
10274
+ /* STABLE */
10245
10275
  })
10246
10276
  ])
10247
10277
  ]),
10248
10278
  default: vue.withCtx(() => [
10249
- vue.createElementVNode("div", _hoisted_1$U, [
10250
- vue.createElementVNode("div", _hoisted_2$j, [
10279
+ vue.createElementVNode("div", _hoisted_1$T, [
10280
+ vue.createElementVNode("div", _hoisted_2$k, [
10251
10281
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
10252
10282
  size: "small",
10253
10283
  type: "info"
10254
10284
  }, {
10255
- default: vue.withCtx(() => _cache[7] || (_cache[7] = [
10256
- vue.createTextVNode("修改前")
10257
- ])),
10258
- _: 1,
10259
- __: [7]
10285
+ default: vue.withCtx(() => [..._cache[7] || (_cache[7] = [
10286
+ vue.createTextVNode(
10287
+ "修改前",
10288
+ -1
10289
+ /* CACHED */
10290
+ )
10291
+ ])]),
10292
+ _: 1
10293
+ /* STABLE */
10260
10294
  })
10261
10295
  ]),
10262
- vue.createElementVNode("div", _hoisted_3$6, [
10296
+ vue.createElementVNode("div", _hoisted_3$7, [
10263
10297
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
10264
10298
  size: "small",
10265
10299
  type: "success"
10266
10300
  }, {
10267
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
10268
- vue.createTextVNode("修改后")
10269
- ])),
10270
- _: 1,
10271
- __: [8]
10301
+ default: vue.withCtx(() => [..._cache[8] || (_cache[8] = [
10302
+ vue.createTextVNode(
10303
+ "修改后",
10304
+ -1
10305
+ /* CACHED */
10306
+ )
10307
+ ])]),
10308
+ _: 1
10309
+ /* STABLE */
10272
10310
  })
10273
10311
  ])
10274
10312
  ]),
@@ -10277,7 +10315,7 @@
10277
10315
  type: "diff",
10278
10316
  language: "json",
10279
10317
  "disabled-full-screen": true,
10280
- initValues: _ctx.content.content,
10318
+ initValues: __props.content.content,
10281
10319
  modifiedValues: formBox.value?.form?.values.content,
10282
10320
  height: `${vue.unref(windowRect).height - 150}px`
10283
10321
  }, null, 8, ["initValues", "modifiedValues", "height"])
@@ -10294,8 +10332,8 @@
10294
10332
  }
10295
10333
  });
10296
10334
 
10297
- const _hoisted_1$T = { class: "m-editor-data-source-methods" };
10298
- 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" };
10299
10337
  const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
10300
10338
  ...{
10301
10339
  name: "MFieldsDataSourceMethods"
@@ -10413,34 +10451,38 @@
10413
10451
  codeBlockEditorRef.value?.hide();
10414
10452
  };
10415
10453
  return (_ctx, _cache) => {
10416
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
10454
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
10417
10455
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
10418
- data: _ctx.model[_ctx.name],
10456
+ data: __props.model[__props.name],
10419
10457
  columns: methodColumns,
10420
10458
  border: true
10421
10459
  }, null, 8, ["data"]),
10422
- vue.createElementVNode("div", _hoisted_2$i, [
10460
+ vue.createElementVNode("div", _hoisted_2$j, [
10423
10461
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10424
10462
  size: "small",
10425
10463
  type: "primary",
10426
- disabled: _ctx.disabled,
10464
+ disabled: __props.disabled,
10427
10465
  plain: "",
10428
10466
  onClick: createCodeHandler
10429
10467
  }, {
10430
- default: vue.withCtx(() => _cache[0] || (_cache[0] = [
10431
- vue.createTextVNode("添加")
10432
- ])),
10433
- _: 1,
10434
- __: [0]
10468
+ default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
10469
+ vue.createTextVNode(
10470
+ "添加",
10471
+ -1
10472
+ /* CACHED */
10473
+ )
10474
+ ])]),
10475
+ _: 1
10476
+ /* STABLE */
10435
10477
  }, 8, ["disabled"])
10436
10478
  ]),
10437
10479
  codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1e, {
10438
10480
  key: 0,
10439
10481
  ref: "codeBlockEditor",
10440
- disabled: _ctx.disabled,
10482
+ disabled: __props.disabled,
10441
10483
  content: codeConfig.value,
10442
10484
  "is-data-source": true,
10443
- "data-source-type": _ctx.model.type,
10485
+ "data-source-type": __props.model.type,
10444
10486
  onSubmit: submitCodeHandler
10445
10487
  }, null, 8, ["disabled", "content", "data-source-type"])) : vue.createCommentVNode("v-if", true)
10446
10488
  ]);
@@ -10448,8 +10490,8 @@
10448
10490
  }
10449
10491
  });
10450
10492
 
10451
- const _hoisted_1$S = { class: "m-fields-data-source-method-select" };
10452
- 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" };
10453
10495
  const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
10454
10496
  ...{
10455
10497
  name: "MFieldsDataSourceMethodSelect"
@@ -10535,23 +10577,23 @@
10535
10577
  eventBus?.emit("edit-data-source", id);
10536
10578
  };
10537
10579
  return (_ctx, _cache) => {
10538
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
10539
- vue.createElementVNode("div", _hoisted_2$h, [
10580
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
10581
+ vue.createElementVNode("div", _hoisted_2$i, [
10540
10582
  vue.createVNode(vue.unref(formPlugin.MContainer), {
10541
10583
  class: "select",
10542
10584
  config: cascaderConfig.value,
10543
- model: _ctx.model,
10544
- size: _ctx.size,
10585
+ model: __props.model,
10586
+ size: __props.size,
10545
10587
  onChange: onChangeHandler
10546
10588
  }, null, 8, ["config", "model", "size"]),
10547
- _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), {
10548
10590
  key: 0,
10549
10591
  content: notEditable.value ? "查看" : "编辑"
10550
10592
  }, {
10551
10593
  default: vue.withCtx(() => [
10552
10594
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10553
10595
  class: "m-fields-select-action-button",
10554
- size: _ctx.size,
10596
+ size: __props.size,
10555
10597
  onClick: editCodeHandler
10556
10598
  }, {
10557
10599
  default: vue.withCtx(() => [
@@ -10570,9 +10612,9 @@
10570
10612
  paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1m, {
10571
10613
  key: 0,
10572
10614
  name: "params",
10573
- model: _ctx.model,
10574
- size: _ctx.size,
10575
- disabled: _ctx.disabled,
10615
+ model: __props.model,
10616
+ size: __props.size,
10617
+ disabled: __props.disabled,
10576
10618
  "params-config": paramsConfig.value,
10577
10619
  onChange: onChangeHandler
10578
10620
  }, null, 8, ["model", "size", "disabled", "params-config"])) : vue.createCommentVNode("v-if", true)
@@ -10581,8 +10623,8 @@
10581
10623
  }
10582
10624
  });
10583
10625
 
10584
- const _hoisted_1$R = { class: "m-editor-data-source-fields" };
10585
- 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" };
10586
10628
  const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
10587
10629
  ...{
10588
10630
  name: "MFieldsDataSourceMocks"
@@ -10787,24 +10829,28 @@
10787
10829
  const parentFloating = vue.inject("parentFloating", vue.ref(null));
10788
10830
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(uiService, parentFloating);
10789
10831
  return (_ctx, _cache) => {
10790
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
10832
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
10791
10833
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
10792
- data: _ctx.model[_ctx.name],
10834
+ data: __props.model[__props.name],
10793
10835
  columns
10794
10836
  }, null, 8, ["data"]),
10795
- vue.createElementVNode("div", _hoisted_2$g, [
10837
+ vue.createElementVNode("div", _hoisted_2$h, [
10796
10838
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10797
10839
  size: "small",
10798
10840
  type: "primary",
10799
- disabled: _ctx.disabled,
10841
+ disabled: __props.disabled,
10800
10842
  plain: "",
10801
10843
  onClick: _cache[0] || (_cache[0] = ($event) => newHandler())
10802
10844
  }, {
10803
- default: vue.withCtx(() => _cache[4] || (_cache[4] = [
10804
- vue.createTextVNode("添加")
10805
- ])),
10806
- _: 1,
10807
- __: [4]
10845
+ default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
10846
+ vue.createTextVNode(
10847
+ "添加",
10848
+ -1
10849
+ /* CACHED */
10850
+ )
10851
+ ])]),
10852
+ _: 1
10853
+ /* STABLE */
10808
10854
  }, 8, ["disabled"])
10809
10855
  ]),
10810
10856
  vue.createVNode(_sfc_main$1j, {
@@ -10822,8 +10868,8 @@
10822
10868
  "label-width": "120px",
10823
10869
  config: formConfig,
10824
10870
  values: formValues.value,
10825
- parentValues: _ctx.model[_ctx.name],
10826
- disabled: _ctx.disabled,
10871
+ parentValues: __props.model[__props.name],
10872
+ disabled: __props.disabled,
10827
10873
  onSubmit: formChangeHandler
10828
10874
  }, null, 8, ["values", "parentValues", "disabled"])
10829
10875
  ]),
@@ -10835,7 +10881,7 @@
10835
10881
  }
10836
10882
  });
10837
10883
 
10838
- const _hoisted_1$Q = { class: "m-fields-data-source-select" };
10884
+ const _hoisted_1$P = { class: "m-fields-data-source-select" };
10839
10885
  const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
10840
10886
  ...{
10841
10887
  name: "MFieldsDataSourceSelect"
@@ -10893,25 +10939,25 @@
10893
10939
  eventBus?.emit("edit-data-source", id);
10894
10940
  };
10895
10941
  return (_ctx, _cache) => {
10896
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
10942
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
10897
10943
  vue.createVNode(vue.unref(formPlugin.MSelect), {
10898
- model: _ctx.model,
10899
- name: _ctx.name,
10900
- size: _ctx.size,
10901
- prop: _ctx.prop,
10902
- disabled: _ctx.disabled,
10944
+ model: __props.model,
10945
+ name: __props.name,
10946
+ size: __props.size,
10947
+ prop: __props.prop,
10948
+ disabled: __props.disabled,
10903
10949
  config: selectConfig.value,
10904
- "last-values": _ctx.lastValues,
10950
+ "last-values": __props.lastValues,
10905
10951
  onChange: changeHandler
10906
10952
  }, null, 8, ["model", "name", "size", "prop", "disabled", "config", "last-values"]),
10907
- _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), {
10908
10954
  key: 0,
10909
10955
  content: notEditable.value ? "查看" : "编辑"
10910
10956
  }, {
10911
10957
  default: vue.withCtx(() => [
10912
10958
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
10913
10959
  class: "m-fields-select-action-button",
10914
- size: _ctx.size,
10960
+ size: __props.size,
10915
10961
  onClick: editHandler
10916
10962
  }, {
10917
10963
  default: vue.withCtx(() => [
@@ -11051,20 +11097,20 @@
11051
11097
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MGroupList), {
11052
11098
  style: { "width": "100%" },
11053
11099
  config: config.value,
11054
- name: _ctx.name,
11055
- disabled: _ctx.disabled,
11056
- model: _ctx.model,
11057
- "last-values": _ctx.lastValues,
11058
- prop: _ctx.prop,
11059
- 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,
11060
11106
  onChange: changeHandler
11061
11107
  }, null, 8, ["config", "name", "disabled", "model", "last-values", "prop", "size"]);
11062
11108
  };
11063
11109
  }
11064
11110
  });
11065
11111
 
11066
- const _hoisted_1$P = { class: "m-fields-event-select" };
11067
- const _hoisted_2$f = {
11112
+ const _hoisted_1$O = { class: "m-fields-event-select" };
11113
+ const _hoisted_2$g = {
11068
11114
  key: 1,
11069
11115
  class: "fullWidth"
11070
11116
  };
@@ -11345,41 +11391,45 @@
11345
11391
  const onChangeHandler = (v, eventData) => emit("change", props.model[props.name], eventData);
11346
11392
  return (_ctx, _cache) => {
11347
11393
  const _component_m_form_table = vue.resolveComponent("m-form-table");
11348
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
11394
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
11349
11395
  isOldVersion.value ? (vue.openBlock(), vue.createBlock(_component_m_form_table, {
11350
11396
  key: 0,
11351
11397
  name: "events",
11352
- size: _ctx.size,
11353
- disabled: _ctx.disabled,
11354
- model: _ctx.model,
11398
+ size: __props.size,
11399
+ disabled: __props.disabled,
11400
+ model: __props.model,
11355
11401
  config: tableConfig.value,
11356
11402
  onChange: onChangeHandler
11357
- }, 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, [
11358
11404
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11359
11405
  class: "create-button",
11360
11406
  type: "primary",
11361
- size: _ctx.size,
11362
- disabled: _ctx.disabled,
11407
+ size: __props.size,
11408
+ disabled: __props.disabled,
11363
11409
  onClick: _cache[0] || (_cache[0] = ($event) => addEvent())
11364
11410
  }, {
11365
- default: vue.withCtx(() => _cache[1] || (_cache[1] = [
11366
- vue.createTextVNode("添加事件")
11367
- ])),
11368
- _: 1,
11369
- __: [1]
11411
+ default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
11412
+ vue.createTextVNode(
11413
+ "添加事件",
11414
+ -1
11415
+ /* CACHED */
11416
+ )
11417
+ ])]),
11418
+ _: 1
11419
+ /* STABLE */
11370
11420
  }, 8, ["size", "disabled"]),
11371
11421
  (vue.openBlock(true), vue.createElementBlock(
11372
11422
  vue.Fragment,
11373
11423
  null,
11374
- vue.renderList(_ctx.model[_ctx.name], (cardItem, index) => {
11424
+ vue.renderList(__props.model[__props.name], (cardItem, index) => {
11375
11425
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MPanel), {
11376
11426
  key: index,
11377
- disabled: _ctx.disabled,
11378
- size: _ctx.size,
11379
- prop: `${_ctx.prop}.${index}`,
11427
+ disabled: __props.disabled,
11428
+ size: __props.size,
11429
+ prop: `${__props.prop}.${index}`,
11380
11430
  config: actionsConfig.value,
11381
11431
  model: cardItem,
11382
- "label-width": _ctx.config.labelWidth || "100px",
11432
+ "label-width": __props.config.labelWidth || "100px",
11383
11433
  onChange: onChangeHandler
11384
11434
  }, {
11385
11435
  header: vue.withCtx(() => [
@@ -11387,17 +11437,17 @@
11387
11437
  class: "fullWidth",
11388
11438
  config: eventNameConfig.value,
11389
11439
  model: cardItem,
11390
- disabled: _ctx.disabled,
11391
- size: _ctx.size,
11392
- prop: `${_ctx.prop}.${index}`,
11440
+ disabled: __props.disabled,
11441
+ size: __props.size,
11442
+ prop: `${__props.prop}.${index}`,
11393
11443
  onChange: eventNameChangeHandler
11394
11444
  }, null, 8, ["config", "model", "disabled", "size", "prop"]),
11395
11445
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11396
11446
  style: { "color": "#f56c6c" },
11397
11447
  link: "",
11398
11448
  icon: vue.unref(iconsVue.Delete),
11399
- disabled: _ctx.disabled,
11400
- size: _ctx.size,
11449
+ disabled: __props.disabled,
11450
+ size: __props.size,
11401
11451
  onClick: ($event) => removeEvent(index)
11402
11452
  }, null, 8, ["icon", "disabled", "size", "onClick"])
11403
11453
  ]),
@@ -11414,7 +11464,7 @@
11414
11464
  }
11415
11465
  });
11416
11466
 
11417
- const _hoisted_1$O = {
11467
+ const _hoisted_1$N = {
11418
11468
  viewBox: "0 0 32 32",
11419
11469
  version: "1.1",
11420
11470
  xmlns: "http://www.w3.org/2000/svg",
@@ -11427,15 +11477,15 @@
11427
11477
  __name: "CodeIcon",
11428
11478
  setup(__props) {
11429
11479
  return (_ctx, _cache) => {
11430
- 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] = [
11431
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)
11432
- ]));
11482
+ ])]);
11433
11483
  };
11434
11484
  }
11435
11485
  });
11436
11486
 
11437
- const _hoisted_1$N = { class: "m-fields-key-value" };
11438
- const _hoisted_2$e = { key: 0 };
11487
+ const _hoisted_1$M = { class: "m-fields-key-value" };
11488
+ const _hoisted_2$f = { key: 0 };
11439
11489
  const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
11440
11490
  ...{
11441
11491
  name: "MFieldsKeyValue"
@@ -11498,8 +11548,8 @@
11498
11548
  emit("change", v);
11499
11549
  };
11500
11550
  return (_ctx, _cache) => {
11501
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
11502
- !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, [
11503
11553
  (vue.openBlock(true), vue.createElementBlock(
11504
11554
  vue.Fragment,
11505
11555
  null,
@@ -11512,8 +11562,8 @@
11512
11562
  placeholder: "key",
11513
11563
  modelValue: records.value[index][0],
11514
11564
  "onUpdate:modelValue": ($event) => records.value[index][0] = $event,
11515
- disabled: _ctx.disabled,
11516
- size: _ctx.size,
11565
+ disabled: __props.disabled,
11566
+ size: __props.size,
11517
11567
  onChange: keyChangeHandler
11518
11568
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
11519
11569
  _cache[1] || (_cache[1] = vue.createElementVNode(
@@ -11527,15 +11577,15 @@
11527
11577
  placeholder: "value",
11528
11578
  modelValue: records.value[index][1],
11529
11579
  "onUpdate:modelValue": ($event) => records.value[index][1] = $event,
11530
- disabled: _ctx.disabled,
11531
- size: _ctx.size,
11580
+ disabled: __props.disabled,
11581
+ size: __props.size,
11532
11582
  onChange: valueChangeHandler
11533
11583
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "size"]),
11534
11584
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11535
11585
  class: "m-fields-key-value-delete",
11536
11586
  type: "danger",
11537
- size: _ctx.size,
11538
- disabled: _ctx.disabled,
11587
+ size: __props.size,
11588
+ disabled: __props.disabled,
11539
11589
  circle: "",
11540
11590
  plain: "",
11541
11591
  icon: vue.unref(iconsVue.Delete),
@@ -11548,34 +11598,38 @@
11548
11598
  )),
11549
11599
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
11550
11600
  type: "primary",
11551
- size: _ctx.size,
11552
- disabled: _ctx.disabled,
11601
+ size: __props.size,
11602
+ disabled: __props.disabled,
11553
11603
  plain: "",
11554
11604
  icon: vue.unref(iconsVue.Plus),
11555
11605
  onClick: addHandler
11556
11606
  }, {
11557
- default: vue.withCtx(() => _cache[2] || (_cache[2] = [
11558
- vue.createTextVNode("添加")
11559
- ])),
11560
- _: 1,
11561
- __: [2]
11607
+ default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
11608
+ vue.createTextVNode(
11609
+ "添加",
11610
+ -1
11611
+ /* CACHED */
11612
+ )
11613
+ ])]),
11614
+ _: 1
11615
+ /* STABLE */
11562
11616
  }, 8, ["size", "disabled", "icon"])
11563
11617
  ])) : vue.createCommentVNode("v-if", true),
11564
- _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, {
11565
11619
  key: 1,
11566
11620
  height: "200px",
11567
- "init-values": _ctx.model[_ctx.name],
11621
+ "init-values": __props.model[__props.name],
11568
11622
  language: "javascript",
11569
11623
  options: {
11570
- readOnly: _ctx.disabled
11624
+ readOnly: __props.disabled
11571
11625
  },
11572
11626
  parse: true,
11573
11627
  onSave: save
11574
11628
  }, null, 8, ["init-values", "options"])) : vue.createCommentVNode("v-if", true),
11575
- _ctx.config.advanced ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11629
+ __props.config.advanced ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11576
11630
  key: 2,
11577
11631
  size: "default",
11578
- disabled: _ctx.disabled,
11632
+ disabled: __props.disabled,
11579
11633
  link: "",
11580
11634
  icon: _sfc_main$17,
11581
11635
  onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
@@ -11585,8 +11639,8 @@
11585
11639
  }
11586
11640
  });
11587
11641
 
11588
- const _hoisted_1$M = { class: "m-fields-page-fragment-select" };
11589
- 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" };
11590
11644
  const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
11591
11645
  ...{
11592
11646
  name: "MFieldsPageFragmentSelect"
@@ -11633,22 +11687,22 @@
11633
11687
  };
11634
11688
  return (_ctx, _cache) => {
11635
11689
  const _component_m_form_container = vue.resolveComponent("m-form-container");
11636
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
11637
- vue.createElementVNode("div", _hoisted_2$d, [
11690
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
11691
+ vue.createElementVNode("div", _hoisted_2$e, [
11638
11692
  vue.createCommentVNode(" 页面片下拉框 "),
11639
11693
  vue.createVNode(_component_m_form_container, {
11640
11694
  class: "select",
11641
11695
  config: selectConfig,
11642
- model: _ctx.model,
11643
- size: _ctx.size,
11696
+ model: __props.model,
11697
+ size: __props.size,
11644
11698
  onChange: changeHandler
11645
11699
  }, null, 8, ["model", "size"]),
11646
11700
  vue.createCommentVNode(" 编辑按钮 "),
11647
- _ctx.model[_ctx.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
11701
+ __props.model[__props.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
11648
11702
  key: 0,
11649
11703
  class: "icon",
11650
11704
  icon: vue.unref(iconsVue.Edit),
11651
- onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(_ctx.model[_ctx.name]))
11705
+ onClick: _cache[0] || (_cache[0] = ($event) => editPageFragment(__props.model[__props.name]))
11652
11706
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true)
11653
11707
  ])
11654
11708
  ]);
@@ -11656,9 +11710,9 @@
11656
11710
  }
11657
11711
  });
11658
11712
 
11659
- const _hoisted_1$L = { class: "background-position-container" };
11660
- const _hoisted_2$c = { class: "presets-value-list" };
11661
- 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" };
11662
11716
  const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
11663
11717
  __name: "BackgroundPosition",
11664
11718
  props: {
@@ -11714,8 +11768,8 @@
11714
11768
  emit("change", v);
11715
11769
  };
11716
11770
  return (_ctx, _cache) => {
11717
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
11718
- vue.createElementVNode("div", _hoisted_2$c, [
11771
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
11772
+ vue.createElementVNode("div", _hoisted_2$d, [
11719
11773
  (vue.openBlock(true), vue.createElementBlock(
11720
11774
  vue.Fragment,
11721
11775
  null,
@@ -11723,14 +11777,15 @@
11723
11777
  return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
11724
11778
  key: index,
11725
11779
  link: "",
11726
- 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,
11727
11782
  onClick: ($event) => changeHandler(item.value)
11728
11783
  }, {
11729
11784
  default: vue.withCtx(() => [
11730
11785
  vue.createElementVNode(
11731
11786
  "div",
11732
11787
  {
11733
- 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"])
11734
11789
  },
11735
11790
  null,
11736
11791
  2
@@ -11739,21 +11794,22 @@
11739
11794
  ]),
11740
11795
  _: 2
11741
11796
  /* DYNAMIC */
11742
- }, 1032, ["class", "onClick"]);
11797
+ }, 1032, ["class", "disabled", "onClick"]);
11743
11798
  }),
11744
11799
  128
11745
11800
  /* KEYED_FRAGMENT */
11746
11801
  ))
11747
11802
  ]),
11748
- vue.createElementVNode("div", _hoisted_3$5, [
11803
+ vue.createElementVNode("div", _hoisted_3$6, [
11749
11804
  vue.createVNode(vue.unref(designPlugin.TMagicInput), {
11750
- modelValue: _ctx.model[_ctx.name],
11751
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
11752
- size: "small",
11805
+ modelValue: __props.model[__props.name],
11806
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
11753
11807
  placeholder: "自定义背景位置",
11754
11808
  clearable: "",
11809
+ size: __props.size,
11810
+ disabled: __props.disabled,
11755
11811
  onChange: changeHandler
11756
- }, null, 8, ["modelValue"])
11812
+ }, null, 8, ["modelValue", "size", "disabled"])
11757
11813
  ])
11758
11814
  ]);
11759
11815
  };
@@ -11770,73 +11826,75 @@
11770
11826
 
11771
11827
  const _sfc_main$13 = { };
11772
11828
 
11773
- const _hoisted_1$K = {
11829
+ const _hoisted_1$J = {
11774
11830
  xmlns: "http://www.w3.org/2000/svg",
11775
11831
  viewBox: "0 0 1024 1024"
11776
11832
  };
11777
11833
 
11778
11834
  function _sfc_render$k(_ctx, _cache) {
11779
- 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] = [
11780
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)
11781
- ])))
11837
+ ]))]))
11782
11838
  }
11783
11839
  const BackgroundRepeat = /*#__PURE__*/_export_sfc(_sfc_main$13, [['render',_sfc_render$k]]);
11784
11840
 
11785
11841
  const _sfc_main$12 = { };
11786
11842
 
11787
- const _hoisted_1$J = {
11843
+ const _hoisted_1$I = {
11788
11844
  xmlns: "http://www.w3.org/2000/svg",
11789
11845
  viewBox: "0 0 1024 1024"
11790
11846
  };
11791
11847
 
11792
11848
  function _sfc_render$j(_ctx, _cache) {
11793
- 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] = [
11794
11850
  vue.createElementVNode("path", {
11795
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",
11796
11852
  fill: "#333333"
11797
11853
  }, null, -1 /* CACHED */)
11798
- ])))
11854
+ ]))]))
11799
11855
  }
11800
11856
  const BackgroundRepeatX = /*#__PURE__*/_export_sfc(_sfc_main$12, [['render',_sfc_render$j]]);
11801
11857
 
11802
11858
  const _sfc_main$11 = { };
11803
11859
 
11804
- const _hoisted_1$I = {
11860
+ const _hoisted_1$H = {
11805
11861
  xmlns: "http://www.w3.org/2000/svg",
11806
11862
  viewBox: "0 0 1024 1024"
11807
11863
  };
11808
11864
 
11809
11865
  function _sfc_render$i(_ctx, _cache) {
11810
- 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] = [
11811
11867
  vue.createElementVNode("path", {
11812
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",
11813
11869
  fill: "#333333"
11814
11870
  }, null, -1 /* CACHED */)
11815
- ])))
11871
+ ]))]))
11816
11872
  }
11817
11873
  const BackgroundRepeatY = /*#__PURE__*/_export_sfc(_sfc_main$11, [['render',_sfc_render$i]]);
11818
11874
 
11819
11875
  const _sfc_main$10 = { };
11820
11876
 
11821
- const _hoisted_1$H = {
11877
+ const _hoisted_1$G = {
11822
11878
  xmlns: "http://www.w3.org/2000/svg",
11823
11879
  viewBox: "0 0 1024 1024"
11824
11880
  };
11825
11881
 
11826
11882
  function _sfc_render$h(_ctx, _cache) {
11827
- 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] = [
11828
11884
  vue.createElementVNode("path", {
11829
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",
11830
11886
  fill: "#5D5D5D"
11831
11887
  }, null, -1 /* CACHED */)
11832
- ])))
11888
+ ]))]))
11833
11889
  }
11834
11890
  const BackgroundNoRepeat = /*#__PURE__*/_export_sfc(_sfc_main$10, [['render',_sfc_render$h]]);
11835
11891
 
11836
11892
  const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
11837
11893
  __name: "Background",
11838
11894
  props: {
11839
- values: {}
11895
+ values: {},
11896
+ disabled: { type: Boolean },
11897
+ size: {}
11840
11898
  },
11841
11899
  emits: ["change"],
11842
11900
  setup(__props, { emit: __emit }) {
@@ -11901,59 +11959,63 @@
11901
11959
  return (_ctx, _cache) => {
11902
11960
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
11903
11961
  config,
11904
- model: _ctx.values,
11962
+ model: __props.values,
11963
+ size: __props.size,
11964
+ disabled: __props.disabled,
11905
11965
  onChange: change
11906
- }, null, 8, ["model"]);
11966
+ }, null, 8, ["model", "size", "disabled"]);
11907
11967
  };
11908
11968
  }
11909
11969
  });
11910
11970
 
11911
11971
  const _sfc_main$_ = { };
11912
11972
 
11913
- const _hoisted_1$G = {
11973
+ const _hoisted_1$F = {
11914
11974
  xmlns: "http://www.w3.org/2000/svg",
11915
11975
  viewBox: "0 0 1024 1024"
11916
11976
  };
11917
11977
 
11918
11978
  function _sfc_render$g(_ctx, _cache) {
11919
- 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] = [
11920
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 */)
11921
- ])))
11981
+ ]))]))
11922
11982
  }
11923
11983
  const AlignLeft = /*#__PURE__*/_export_sfc(_sfc_main$_, [['render',_sfc_render$g]]);
11924
11984
 
11925
11985
  const _sfc_main$Z = { };
11926
11986
 
11927
- const _hoisted_1$F = {
11987
+ const _hoisted_1$E = {
11928
11988
  xmlns: "http://www.w3.org/2000/svg",
11929
11989
  viewBox: "0 0 1024 1024"
11930
11990
  };
11931
11991
 
11932
11992
  function _sfc_render$f(_ctx, _cache) {
11933
- 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] = [
11934
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 */)
11935
- ])))
11995
+ ]))]))
11936
11996
  }
11937
11997
  const AlignCenter = /*#__PURE__*/_export_sfc(_sfc_main$Z, [['render',_sfc_render$f]]);
11938
11998
 
11939
11999
  const _sfc_main$Y = { };
11940
12000
 
11941
- const _hoisted_1$E = {
12001
+ const _hoisted_1$D = {
11942
12002
  xmlns: "http://www.w3.org/2000/svg",
11943
12003
  viewBox: "0 0 1024 1024"
11944
12004
  };
11945
12005
 
11946
12006
  function _sfc_render$e(_ctx, _cache) {
11947
- 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] = [
11948
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 */)
11949
- ])))
12009
+ ]))]))
11950
12010
  }
11951
12011
  const AlignRight = /*#__PURE__*/_export_sfc(_sfc_main$Y, [['render',_sfc_render$e]]);
11952
12012
 
11953
12013
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
11954
12014
  __name: "Font",
11955
12015
  props: {
11956
- values: {}
12016
+ values: {},
12017
+ disabled: { type: Boolean },
12018
+ size: {}
11957
12019
  },
11958
12020
  emits: ["change"],
11959
12021
  setup(__props, { emit: __emit }) {
@@ -12027,23 +12089,27 @@
12027
12089
  return (_ctx, _cache) => {
12028
12090
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
12029
12091
  config,
12030
- model: _ctx.values,
12092
+ model: __props.values,
12093
+ size: __props.size,
12094
+ disabled: __props.disabled,
12031
12095
  onChange: change
12032
- }, null, 8, ["model"]);
12096
+ }, null, 8, ["model", "size", "disabled"]);
12033
12097
  };
12034
12098
  }
12035
12099
  });
12036
12100
 
12037
- const _hoisted_1$D = { class: "layout-box-container" };
12038
- const _hoisted_2$b = {
12101
+ const _hoisted_1$C = { class: "layout-box-container" };
12102
+ const _hoisted_2$c = {
12039
12103
  key: 0,
12040
12104
  class: "help-txt"
12041
12105
  };
12042
- const _hoisted_3$4 = { class: "next-input" };
12043
- 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"];
12044
12108
  const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
12045
12109
  __name: "Box",
12046
12110
  props: {
12111
+ disabled: { type: Boolean },
12112
+ size: {},
12047
12113
  model: {}
12048
12114
  },
12049
12115
  emits: ["change"],
@@ -12091,7 +12157,7 @@
12091
12157
  });
12092
12158
  };
12093
12159
  return (_ctx, _cache) => {
12094
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
12160
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
12095
12161
  (vue.openBlock(), vue.createElementBlock(
12096
12162
  vue.Fragment,
12097
12163
  null,
@@ -12105,19 +12171,20 @@
12105
12171
  [
12106
12172
  item.text ? (vue.openBlock(), vue.createElementBlock(
12107
12173
  "span",
12108
- _hoisted_2$b,
12174
+ _hoisted_2$c,
12109
12175
  vue.toDisplayString(item.text),
12110
12176
  1
12111
12177
  /* TEXT */
12112
12178
  )) : vue.createCommentVNode("v-if", true),
12113
- vue.createElementVNode("span", _hoisted_3$4, [
12179
+ vue.createElementVNode("span", _hoisted_3$5, [
12114
12180
  vue.withDirectives(vue.createElementVNode("input", {
12115
- "onUpdate:modelValue": ($event) => _ctx.model[item.name] = $event,
12116
- title: _ctx.model[item.name],
12117
- onChange: ($event) => change($event, item.name),
12118
- 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)
12119
12186
  }, null, 40, _hoisted_4$4), [
12120
- [vue.vModelText, _ctx.model[item.name]]
12187
+ [vue.vModelText, __props.model[item.name]]
12121
12188
  ])
12122
12189
  ])
12123
12190
  ],
@@ -12135,204 +12202,206 @@
12135
12202
 
12136
12203
  const _sfc_main$V = { };
12137
12204
 
12138
- const _hoisted_1$C = {
12205
+ const _hoisted_1$B = {
12139
12206
  xmlns: "http://www.w3.org/2000/svg",
12140
12207
  viewBox: "0 0 1024 1024"
12141
12208
  };
12142
12209
 
12143
12210
  function _sfc_render$d(_ctx, _cache) {
12144
- 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] = [
12145
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 */)
12146
- ])))
12213
+ ]))]))
12147
12214
  }
12148
12215
  const DisplayBlock = /*#__PURE__*/_export_sfc(_sfc_main$V, [['render',_sfc_render$d]]);
12149
12216
 
12150
12217
  const _sfc_main$U = { };
12151
12218
 
12152
- const _hoisted_1$B = {
12219
+ const _hoisted_1$A = {
12153
12220
  xmlns: "http://www.w3.org/2000/svg",
12154
12221
  viewBox: "0 0 1024 1024"
12155
12222
  };
12156
12223
 
12157
12224
  function _sfc_render$c(_ctx, _cache) {
12158
- 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] = [
12159
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 */)
12160
- ])))
12227
+ ]))]))
12161
12228
  }
12162
12229
  const DisplayFlex = /*#__PURE__*/_export_sfc(_sfc_main$U, [['render',_sfc_render$c]]);
12163
12230
 
12164
12231
  const _sfc_main$T = { };
12165
12232
 
12166
- const _hoisted_1$A = {
12233
+ const _hoisted_1$z = {
12167
12234
  xmlns: "http://www.w3.org/2000/svg",
12168
12235
  viewBox: "0 0 1024 1024"
12169
12236
  };
12170
12237
 
12171
12238
  function _sfc_render$b(_ctx, _cache) {
12172
- 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] = [
12173
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 */)
12174
- ])))
12241
+ ]))]))
12175
12242
  }
12176
12243
  const DisplayInline = /*#__PURE__*/_export_sfc(_sfc_main$T, [['render',_sfc_render$b]]);
12177
12244
 
12178
12245
  const _sfc_main$S = { };
12179
12246
 
12180
- const _hoisted_1$z = {
12247
+ const _hoisted_1$y = {
12181
12248
  xmlns: "http://www.w3.org/2000/svg",
12182
12249
  viewBox: "0 0 1024 1024"
12183
12250
  };
12184
12251
 
12185
12252
  function _sfc_render$a(_ctx, _cache) {
12186
- 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] = [
12187
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 */)
12188
- ])))
12255
+ ]))]))
12189
12256
  }
12190
12257
  const DisplayInlineBlock = /*#__PURE__*/_export_sfc(_sfc_main$S, [['render',_sfc_render$a]]);
12191
12258
 
12192
12259
  const _sfc_main$R = { };
12193
12260
 
12194
- const _hoisted_1$y = {
12261
+ const _hoisted_1$x = {
12195
12262
  xmlns: "http://www.w3.org/2000/svg",
12196
12263
  viewBox: "0 0 1024 1024"
12197
12264
  };
12198
12265
 
12199
12266
  function _sfc_render$9(_ctx, _cache) {
12200
- 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] = [
12201
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 */)
12202
- ])))
12269
+ ]))]))
12203
12270
  }
12204
12271
  const DisplayNone = /*#__PURE__*/_export_sfc(_sfc_main$R, [['render',_sfc_render$9]]);
12205
12272
 
12206
12273
  const _sfc_main$Q = { };
12207
12274
 
12208
- const _hoisted_1$x = {
12275
+ const _hoisted_1$w = {
12209
12276
  xmlns: "http://www.w3.org/2000/svg",
12210
12277
  viewBox: "0 0 1024 1024"
12211
12278
  };
12212
12279
 
12213
12280
  function _sfc_render$8(_ctx, _cache) {
12214
- 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] = [
12215
12282
  vue.createElementVNode("path", { d: "M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z" }, null, -1 /* CACHED */)
12216
- ])))
12283
+ ]))]))
12217
12284
  }
12218
12285
  const FlexDirectionColumn = /*#__PURE__*/_export_sfc(_sfc_main$Q, [['render',_sfc_render$8]]);
12219
12286
 
12220
12287
  const _sfc_main$P = { };
12221
12288
 
12222
- const _hoisted_1$w = {
12289
+ const _hoisted_1$v = {
12223
12290
  xmlns: "http://www.w3.org/2000/svg",
12224
12291
  viewBox: "0 0 1024 1024"
12225
12292
  };
12226
12293
 
12227
12294
  function _sfc_render$7(_ctx, _cache) {
12228
- 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] = [
12229
12296
  vue.createElementVNode("path", { d: "M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z" }, null, -1 /* CACHED */)
12230
- ])))
12297
+ ]))]))
12231
12298
  }
12232
12299
  const FlexDirectionColumnReverse = /*#__PURE__*/_export_sfc(_sfc_main$P, [['render',_sfc_render$7]]);
12233
12300
 
12234
12301
  const _sfc_main$O = { };
12235
12302
 
12236
- const _hoisted_1$v = {
12303
+ const _hoisted_1$u = {
12237
12304
  xmlns: "http://www.w3.org/2000/svg",
12238
12305
  viewBox: "0 0 1024 1024"
12239
12306
  };
12240
12307
 
12241
12308
  function _sfc_render$6(_ctx, _cache) {
12242
- 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] = [
12243
12310
  vue.createElementVNode("path", { d: "M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z" }, null, -1 /* CACHED */)
12244
- ])))
12311
+ ]))]))
12245
12312
  }
12246
12313
  const FlexDirectionRow = /*#__PURE__*/_export_sfc(_sfc_main$O, [['render',_sfc_render$6]]);
12247
12314
 
12248
12315
  const _sfc_main$N = { };
12249
12316
 
12250
- const _hoisted_1$u = {
12317
+ const _hoisted_1$t = {
12251
12318
  xmlns: "http://www.w3.org/2000/svg",
12252
12319
  viewBox: "0 0 1024 1024"
12253
12320
  };
12254
12321
 
12255
12322
  function _sfc_render$5(_ctx, _cache) {
12256
- 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] = [
12257
12324
  vue.createElementVNode("path", { d: "M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z" }, null, -1 /* CACHED */)
12258
- ])))
12325
+ ]))]))
12259
12326
  }
12260
12327
  const FlexDirectionRowReverse = /*#__PURE__*/_export_sfc(_sfc_main$N, [['render',_sfc_render$5]]);
12261
12328
 
12262
12329
  const _sfc_main$M = { };
12263
12330
 
12264
- const _hoisted_1$t = {
12331
+ const _hoisted_1$s = {
12265
12332
  xmlns: "http://www.w3.org/2000/svg",
12266
12333
  viewBox: "0 0 1024 1024"
12267
12334
  };
12268
12335
 
12269
12336
  function _sfc_render$4(_ctx, _cache) {
12270
- 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] = [
12271
12338
  vue.createElementVNode("path", { d: "M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z" }, null, -1 /* CACHED */)
12272
- ])))
12339
+ ]))]))
12273
12340
  }
12274
12341
  const JustifyContentCenter = /*#__PURE__*/_export_sfc(_sfc_main$M, [['render',_sfc_render$4]]);
12275
12342
 
12276
12343
  const _sfc_main$L = { };
12277
12344
 
12278
- const _hoisted_1$s = {
12345
+ const _hoisted_1$r = {
12279
12346
  xmlns: "http://www.w3.org/2000/svg",
12280
12347
  viewBox: "0 0 1024 1024"
12281
12348
  };
12282
12349
 
12283
12350
  function _sfc_render$3(_ctx, _cache) {
12284
- 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] = [
12285
12352
  vue.createElementVNode("path", { d: "M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z" }, null, -1 /* CACHED */)
12286
- ])))
12353
+ ]))]))
12287
12354
  }
12288
12355
  const JustifyContentFlexEnd = /*#__PURE__*/_export_sfc(_sfc_main$L, [['render',_sfc_render$3]]);
12289
12356
 
12290
12357
  const _sfc_main$K = { };
12291
12358
 
12292
- const _hoisted_1$r = {
12359
+ const _hoisted_1$q = {
12293
12360
  xmlns: "http://www.w3.org/2000/svg",
12294
12361
  viewBox: "0 0 1024 1024"
12295
12362
  };
12296
12363
 
12297
12364
  function _sfc_render$2(_ctx, _cache) {
12298
- 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] = [
12299
12366
  vue.createElementVNode("path", { d: "M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z" }, null, -1 /* CACHED */)
12300
- ])))
12367
+ ]))]))
12301
12368
  }
12302
12369
  const JustifyContentFlexStart = /*#__PURE__*/_export_sfc(_sfc_main$K, [['render',_sfc_render$2]]);
12303
12370
 
12304
12371
  const _sfc_main$J = { };
12305
12372
 
12306
- const _hoisted_1$q = {
12373
+ const _hoisted_1$p = {
12307
12374
  xmlns: "http://www.w3.org/2000/svg",
12308
12375
  viewBox: "0 0 1024 1024"
12309
12376
  };
12310
12377
 
12311
12378
  function _sfc_render$1(_ctx, _cache) {
12312
- 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] = [
12313
12380
  vue.createElementVNode("path", { d: "M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z" }, null, -1 /* CACHED */)
12314
- ])))
12381
+ ]))]))
12315
12382
  }
12316
12383
  const JustifyContentSpaceAround = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render$1]]);
12317
12384
 
12318
12385
  const _sfc_main$I = { };
12319
12386
 
12320
- const _hoisted_1$p = {
12387
+ const _hoisted_1$o = {
12321
12388
  xmlns: "http://www.w3.org/2000/svg",
12322
12389
  viewBox: "0 0 1024 1024"
12323
12390
  };
12324
12391
 
12325
12392
  function _sfc_render(_ctx, _cache) {
12326
- 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] = [
12327
12394
  vue.createElementVNode("path", { d: "M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z" }, null, -1 /* CACHED */)
12328
- ])))
12395
+ ]))]))
12329
12396
  }
12330
12397
  const JustifyContentSpaceBetween = /*#__PURE__*/_export_sfc(_sfc_main$I, [['render',_sfc_render]]);
12331
12398
 
12332
12399
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
12333
12400
  __name: "Layout",
12334
12401
  props: {
12335
- values: {}
12402
+ values: {},
12403
+ disabled: { type: Boolean },
12404
+ size: {}
12336
12405
  },
12337
12406
  emits: ["change"],
12338
12407
  setup(__props, { emit: __emit }) {
@@ -12486,14 +12555,18 @@
12486
12555
  [
12487
12556
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12488
12557
  config,
12489
- model: _ctx.values,
12558
+ model: __props.values,
12559
+ size: __props.size,
12560
+ disabled: __props.disabled,
12490
12561
  onChange: change
12491
- }, null, 8, ["model"]),
12562
+ }, null, 8, ["model", "size", "disabled"]),
12492
12563
  vue.withDirectives(vue.createVNode(_sfc_main$W, {
12493
- model: _ctx.values,
12564
+ model: __props.values,
12565
+ size: __props.size,
12566
+ disabled: __props.disabled,
12494
12567
  onChange: change
12495
- }, null, 8, ["model"]), [
12496
- [vue.vShow, !["fixed", "absolute"].includes(_ctx.values.position)]
12568
+ }, null, 8, ["model", "size", "disabled"]), [
12569
+ [vue.vShow, !["fixed", "absolute"].includes(__props.values.position)]
12497
12570
  ])
12498
12571
  ],
12499
12572
  64
@@ -12506,7 +12579,9 @@
12506
12579
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
12507
12580
  __name: "Position",
12508
12581
  props: {
12509
- values: {}
12582
+ values: {},
12583
+ disabled: { type: Boolean },
12584
+ size: {}
12510
12585
  },
12511
12586
  emits: ["change"],
12512
12587
  setup(__props, { emit: __emit }) {
@@ -12597,23 +12672,27 @@
12597
12672
  return (_ctx, _cache) => {
12598
12673
  return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
12599
12674
  config,
12600
- model: _ctx.values,
12675
+ model: __props.values,
12676
+ size: __props.size,
12677
+ disabled: __props.disabled,
12601
12678
  onChange: change
12602
- }, null, 8, ["model"]);
12679
+ }, null, 8, ["model", "size", "disabled"]);
12603
12680
  };
12604
12681
  }
12605
12682
  });
12606
12683
 
12607
- const _hoisted_1$o = { class: "border-box-container" };
12608
- const _hoisted_2$a = { class: "border-icon-container" };
12609
- 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" };
12610
12687
  const _hoisted_4$3 = { class: "border-icon-container-row" };
12611
12688
  const _hoisted_5$1 = { class: "border-icon-container-row" };
12612
12689
  const _hoisted_6$1 = { class: "border-value-container" };
12613
12690
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
12614
12691
  __name: "Border",
12615
12692
  props: {
12616
- model: {}
12693
+ model: {},
12694
+ disabled: { type: Boolean },
12695
+ size: {}
12617
12696
  },
12618
12697
  emits: ["change"],
12619
12698
  setup(__props, { emit: __emit }) {
@@ -12663,9 +12742,9 @@
12663
12742
  });
12664
12743
  };
12665
12744
  return (_ctx, _cache) => {
12666
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
12667
- vue.createElementVNode("div", _hoisted_2$a, [
12668
- 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, [
12669
12748
  vue.createElementVNode(
12670
12749
  "div",
12671
12750
  {
@@ -12725,9 +12804,11 @@
12725
12804
  vue.createElementVNode("div", _hoisted_6$1, [
12726
12805
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12727
12806
  config: config.value,
12728
- model: _ctx.model,
12807
+ model: __props.model,
12808
+ size: __props.size,
12809
+ disabled: __props.disabled,
12729
12810
  onChange: change
12730
- }, null, 8, ["config", "model"])
12811
+ }, null, 8, ["config", "model", "size", "disabled"])
12731
12812
  ])
12732
12813
  ]);
12733
12814
  };
@@ -12737,7 +12818,9 @@
12737
12818
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
12738
12819
  __name: "Border",
12739
12820
  props: {
12740
- values: {}
12821
+ values: {},
12822
+ disabled: { type: Boolean },
12823
+ size: {}
12741
12824
  },
12742
12825
  emits: ["change"],
12743
12826
  setup(__props, { emit: __emit }) {
@@ -12765,13 +12848,17 @@
12765
12848
  [
12766
12849
  vue.createVNode(vue.unref(formPlugin.MContainer), {
12767
12850
  config,
12768
- model: _ctx.values,
12851
+ model: __props.values,
12852
+ size: __props.size,
12853
+ disabled: __props.disabled,
12769
12854
  onChange: change
12770
- }, null, 8, ["model"]),
12855
+ }, null, 8, ["model", "size", "disabled"]),
12771
12856
  vue.createVNode(_sfc_main$F, {
12772
- model: _ctx.values,
12857
+ model: __props.values,
12858
+ size: __props.size,
12859
+ disabled: __props.disabled,
12773
12860
  onChange: change
12774
- }, null, 8, ["model"])
12861
+ }, null, 8, ["model", "size", "disabled"])
12775
12862
  ],
12776
12863
  64
12777
12864
  /* STABLE_FRAGMENT */
@@ -12780,7 +12867,6 @@
12780
12867
  }
12781
12868
  });
12782
12869
 
12783
- const _hoisted_1$n = { class: "m-fields-style-setter" };
12784
12870
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
12785
12871
  ...{
12786
12872
  name: "MFieldsStyleSetter"
@@ -12834,44 +12920,47 @@
12834
12920
  emit("change", v, eventData);
12835
12921
  };
12836
12922
  return (_ctx, _cache) => {
12837
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
12838
- vue.createVNode(vue.unref(designPlugin.TMagicCollapse), { "model-value": collapseValue.value }, {
12839
- default: vue.withCtx(() => [
12840
- (vue.openBlock(), vue.createElementBlock(
12841
- vue.Fragment,
12842
- null,
12843
- vue.renderList(list, (item, index) => {
12844
- return vue.createVNode(vue.unref(designPlugin.TMagicCollapseItem), {
12845
- key: index,
12846
- name: `${index}`
12847
- }, {
12848
- title: vue.withCtx(() => [
12849
- vue.createVNode(_sfc_main$1r, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
12850
- vue.createTextVNode(
12851
- vue.toDisplayString(item.title),
12852
- 1
12853
- /* TEXT */
12854
- )
12855
- ]),
12856
- default: vue.withCtx(() => [
12857
- item.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.component), {
12858
- key: 0,
12859
- values: _ctx.model[_ctx.name],
12860
- onChange: change
12861
- }, null, 40, ["values"])) : vue.createCommentVNode("v-if", true)
12862
- ]),
12863
- _: 2
12864
- /* DYNAMIC */
12865
- }, 1032, ["name"]);
12866
- }),
12867
- 64
12868
- /* STABLE_FRAGMENT */
12869
- ))
12870
- ]),
12871
- _: 1
12872
- /* STABLE */
12873
- }, 8, ["model-value"])
12874
- ]);
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"]);
12875
12964
  };
12876
12965
  }
12877
12966
  });
@@ -12964,16 +13053,20 @@
12964
13053
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
12965
13054
  type: "danger",
12966
13055
  icon: vue.unref(iconsVue.Delete),
12967
- disabled: _ctx.disabled,
12968
- size: _ctx.size,
13056
+ disabled: __props.disabled,
13057
+ size: __props.size,
12969
13058
  link: "",
12970
13059
  style: { "padding": "0" }
12971
13060
  }, {
12972
- default: vue.withCtx(() => _cache[2] || (_cache[2] = [
12973
- vue.createTextVNode("取消")
12974
- ])),
12975
- _: 1,
12976
- __: [2]
13061
+ default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
13062
+ vue.createTextVNode(
13063
+ "取消",
13064
+ -1
13065
+ /* CACHED */
13066
+ )
13067
+ ])]),
13068
+ _: 1
13069
+ /* STABLE */
12977
13070
  }, 8, ["icon", "disabled", "size"])
12978
13071
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
12979
13072
  val.value ? (vue.openBlock(), vue.createElementBlock(
@@ -12989,8 +13082,8 @@
12989
13082
  style: { "padding": "0" },
12990
13083
  type: "danger",
12991
13084
  icon: vue.unref(iconsVue.Close),
12992
- disabled: _ctx.disabled,
12993
- size: _ctx.size,
13085
+ disabled: __props.disabled,
13086
+ size: __props.size,
12994
13087
  link: "",
12995
13088
  onClick: vue.withModifiers(deleteHandler, ["stop"])
12996
13089
  }, null, 8, ["icon", "disabled", "size"])
@@ -13006,8 +13099,8 @@
13006
13099
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
13007
13100
  link: "",
13008
13101
  style: { "padding": "0", "margin": "0" },
13009
- disabled: _ctx.disabled,
13010
- size: _ctx.size,
13102
+ disabled: __props.disabled,
13103
+ size: __props.size,
13011
13104
  onClick: _cache[0] || (_cache[0] = ($event) => selectNode(val.value)),
13012
13105
  onMouseenter: _cache[1] || (_cache[1] = ($event) => vue.unref(highlight)(val.value)),
13013
13106
  onMouseleave: unhighlight
@@ -13038,15 +13131,19 @@
13038
13131
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
13039
13132
  link: "",
13040
13133
  style: { "padding": "0", "margin": "0" },
13041
- disabled: _ctx.disabled,
13042
- size: _ctx.size,
13134
+ disabled: __props.disabled,
13135
+ size: __props.size,
13043
13136
  onClick: startSelect
13044
13137
  }, {
13045
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
13046
- vue.createTextVNode("点击此处选择")
13047
- ])),
13048
- _: 1,
13049
- __: [3]
13138
+ default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
13139
+ vue.createTextVNode(
13140
+ "点击此处选择",
13141
+ -1
13142
+ /* CACHED */
13143
+ )
13144
+ ])]),
13145
+ _: 1
13146
+ /* STABLE */
13050
13147
  }, 8, ["disabled", "size"])
13051
13148
  ]),
13052
13149
  _: 1
@@ -13229,8 +13326,8 @@
13229
13326
  vue.createElementVNode(
13230
13327
  "div",
13231
13328
  {
13232
- class: vue.normalizeClass(["m-editor-layout-left", _ctx.leftClass]),
13233
- 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`)
13234
13331
  },
13235
13332
  [
13236
13333
  vue.renderSlot(_ctx.$slots, "left")
@@ -13246,7 +13343,7 @@
13246
13343
  vue.createElementVNode(
13247
13344
  "div",
13248
13345
  {
13249
- class: vue.normalizeClass(["m-editor-layout-center", _ctx.centerClass]),
13346
+ class: vue.normalizeClass(["m-editor-layout-center", __props.centerClass]),
13250
13347
  style: vue.normalizeStyle(`width: ${center.value}px`)
13251
13348
  },
13252
13349
  [
@@ -13263,8 +13360,8 @@
13263
13360
  vue.createElementVNode(
13264
13361
  "div",
13265
13362
  {
13266
- class: vue.normalizeClass(["m-editor-layout-right", _ctx.rightClass]),
13267
- 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`)
13268
13365
  },
13269
13366
  [
13270
13367
  vue.renderSlot(_ctx.$slots, "right")
@@ -13288,7 +13385,7 @@
13288
13385
  key: 1,
13289
13386
  class: "menu-item-text"
13290
13387
  };
13291
- const _hoisted_2$9 = { class: "el-dropdown-link menubar-menu-button" };
13388
+ const _hoisted_2$a = { class: "el-dropdown-link menubar-menu-button" };
13292
13389
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
13293
13390
  ...{
13294
13391
  name: "MEditorToolButton"
@@ -13354,30 +13451,30 @@
13354
13451
  "div",
13355
13452
  {
13356
13453
  key: 0,
13357
- class: vue.normalizeClass(["menu-item", `${_ctx.data.type} ${_ctx.data.className || ""}`]),
13358
- onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(_ctx.data, $event)),
13359
- onMousedown: _cache[1] || (_cache[1] = ($event) => mousedownHandler(_ctx.data, $event)),
13360
- 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))
13361
13458
  },
13362
13459
  [
13363
- _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), {
13364
13461
  key: 0,
13365
- direction: _ctx.data.direction || "vertical"
13366
- }, 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(
13367
13464
  "div",
13368
13465
  _hoisted_1$l,
13369
- vue.toDisplayString(_ctx.data.text),
13466
+ vue.toDisplayString(__props.data.text),
13370
13467
  1
13371
13468
  /* TEXT */
13372
- )) : _ctx.data.type === "button" ? (vue.openBlock(), vue.createElementBlock(
13469
+ )) : __props.data.type === "button" ? (vue.openBlock(), vue.createElementBlock(
13373
13470
  vue.Fragment,
13374
13471
  { key: 2 },
13375
13472
  [
13376
- _ctx.data.tooltip ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
13473
+ __props.data.tooltip ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicTooltip), {
13377
13474
  key: 0,
13378
13475
  effect: "dark",
13379
13476
  placement: "bottom-start",
13380
- content: _ctx.data.tooltip
13477
+ content: __props.data.tooltip
13381
13478
  }, {
13382
13479
  default: vue.withCtx(() => [
13383
13480
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
@@ -13386,14 +13483,14 @@
13386
13483
  disabled: disabled.value
13387
13484
  }, {
13388
13485
  default: vue.withCtx(() => [
13389
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13486
+ __props.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13390
13487
  key: 0,
13391
- icon: _ctx.data.icon
13488
+ icon: __props.data.icon
13392
13489
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true),
13393
13490
  vue.createElementVNode(
13394
13491
  "span",
13395
13492
  null,
13396
- vue.toDisplayString(_ctx.data.text),
13493
+ vue.toDisplayString(__props.data.text),
13397
13494
  1
13398
13495
  /* TEXT */
13399
13496
  )
@@ -13409,17 +13506,17 @@
13409
13506
  size: "small",
13410
13507
  link: "",
13411
13508
  disabled: disabled.value,
13412
- title: _ctx.data.text
13509
+ title: __props.data.text
13413
13510
  }, {
13414
13511
  default: vue.withCtx(() => [
13415
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13512
+ __props.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
13416
13513
  key: 0,
13417
- icon: _ctx.data.icon
13514
+ icon: __props.data.icon
13418
13515
  }, null, 8, ["icon"])) : vue.createCommentVNode("v-if", true),
13419
13516
  vue.createElementVNode(
13420
13517
  "span",
13421
13518
  null,
13422
- vue.toDisplayString(_ctx.data.text),
13519
+ vue.toDisplayString(__props.data.text),
13423
13520
  1
13424
13521
  /* TEXT */
13425
13522
  )
@@ -13430,22 +13527,22 @@
13430
13527
  ],
13431
13528
  64
13432
13529
  /* STABLE_FRAGMENT */
13433
- )) : _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), {
13434
13531
  key: 3,
13435
13532
  trigger: "click",
13436
13533
  disabled: disabled.value,
13437
13534
  onCommand: dropdownHandler
13438
13535
  }, {
13439
13536
  dropdown: vue.withCtx(() => [
13440
- _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 }, {
13441
13538
  default: vue.withCtx(() => [
13442
13539
  (vue.openBlock(true), vue.createElementBlock(
13443
13540
  vue.Fragment,
13444
13541
  null,
13445
- vue.renderList(_ctx.data.items, (subItem, index) => {
13542
+ vue.renderList(__props.data.items, (subItem, index) => {
13446
13543
  return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicDropdownItem), {
13447
13544
  key: index,
13448
- command: { data: _ctx.data, subItem }
13545
+ command: { data: __props.data, subItem }
13449
13546
  }, {
13450
13547
  default: vue.withCtx(() => [
13451
13548
  vue.createTextVNode(
@@ -13467,9 +13564,9 @@
13467
13564
  })) : vue.createCommentVNode("v-if", true)
13468
13565
  ]),
13469
13566
  default: vue.withCtx(() => [
13470
- vue.createElementVNode("span", _hoisted_2$9, [
13567
+ vue.createElementVNode("span", _hoisted_2$a, [
13471
13568
  vue.createTextVNode(
13472
- vue.toDisplayString(_ctx.data.text),
13569
+ vue.toDisplayString(__props.data.text),
13473
13570
  1
13474
13571
  /* TEXT */
13475
13572
  ),
@@ -13484,9 +13581,9 @@
13484
13581
  ]),
13485
13582
  _: 1
13486
13583
  /* STABLE */
13487
- }, 8, ["disabled"])) : _ctx.data.type === "component" ? (vue.openBlock(), vue.createBlock(
13488
- vue.resolveDynamicComponent(_ctx.data.component),
13489
- 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 || {})),
13490
13587
  null,
13491
13588
  16
13492
13589
  /* FULL_PROPS */
@@ -13504,7 +13601,7 @@
13504
13601
  id: "m-editor-page-bar-add-icon",
13505
13602
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
13506
13603
  };
13507
- const _hoisted_2$8 = {
13604
+ const _hoisted_2$9 = {
13508
13605
  key: 1,
13509
13606
  style: { "width": "21px" }
13510
13607
  };
@@ -13555,7 +13652,7 @@
13555
13652
  _: 1
13556
13653
  /* STABLE */
13557
13654
  })
13558
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8));
13655
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9));
13559
13656
  };
13560
13657
  }
13561
13658
  });
@@ -13564,7 +13661,7 @@
13564
13661
  class: "m-editor-page-bar",
13565
13662
  ref: "pageBar"
13566
13663
  };
13567
- const _hoisted_2$7 = {
13664
+ const _hoisted_2$8 = {
13568
13665
  key: 0,
13569
13666
  class: "m-editor-page-bar-items",
13570
13667
  ref: "itemsContainer"
@@ -13693,9 +13790,9 @@
13693
13790
  _hoisted_1$j,
13694
13791
  [
13695
13792
  vue.renderSlot(_ctx.$slots, "prepend"),
13696
- _ctx.length ? (vue.openBlock(), vue.createElementBlock(
13793
+ __props.length ? (vue.openBlock(), vue.createElementBlock(
13697
13794
  "div",
13698
- _hoisted_2$7,
13795
+ _hoisted_2$8,
13699
13796
  [
13700
13797
  vue.renderSlot(_ctx.$slots, "default")
13701
13798
  ],
@@ -13729,6 +13826,8 @@
13729
13826
  id: "m-editor-page-bar-list-icon",
13730
13827
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon"
13731
13828
  };
13829
+ const _hoisted_2$7 = { class: "page-bar-popover-wrapper" };
13830
+ const _hoisted_3$3 = { class: "page-bar-popover-inner" };
13732
13831
  const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
13733
13832
  ...{
13734
13833
  name: "MEditorPageList"
@@ -13763,25 +13862,27 @@
13763
13862
  })
13764
13863
  ]),
13765
13864
  default: vue.withCtx(() => [
13766
- vue.createElementVNode("div", null, [
13767
- vue.renderSlot(_ctx.$slots, "page-list-popover", { list: _ctx.list }, () => [
13768
- (vue.openBlock(true), vue.createElementBlock(
13769
- vue.Fragment,
13770
- null,
13771
- vue.renderList(_ctx.list, (item, index) => {
13772
- return vue.openBlock(), vue.createBlock(_sfc_main$z, {
13773
- data: {
13774
- type: "button",
13775
- text: item.devconfig?.tabName || item.name || item.id,
13776
- className: item.id === page.value?.id ? "active" : "",
13777
- handler: () => switchPage(item.id)
13778
- },
13779
- key: index
13780
- }, null, 8, ["data"]);
13781
- }),
13782
- 128
13783
- /* KEYED_FRAGMENT */
13784
- ))
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
+ ])
13785
13886
  ])
13786
13887
  ])
13787
13888
  ]),
@@ -13939,7 +14040,7 @@
13939
14040
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
13940
14041
  vue.createVNode(_sfc_main$x, {
13941
14042
  ref: "pageBarScrollContainer",
13942
- "page-bar-sort-options": _ctx.pageBarSortOptions,
14043
+ "page-bar-sort-options": __props.pageBarSortOptions,
13943
14044
  length: list.value.length
13944
14045
  }, {
13945
14046
  prepend: vue.withCtx(() => [
@@ -14078,7 +14179,7 @@
14078
14179
  /* CACHED */
14079
14180
  ))
14080
14181
  ]),
14081
- !_ctx.disabledPageFragment ? (vue.openBlock(), vue.createElementBlock("div", {
14182
+ !__props.disabledPageFragment ? (vue.openBlock(), vue.createElementBlock("div", {
14082
14183
  key: 0,
14083
14184
  class: "m-editor-empty-button",
14084
14185
  onClick: _cache[1] || (_cache[1] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE_FRAGMENT))
@@ -14203,13 +14304,13 @@
14203
14304
  ]),
14204
14305
  center: vue.withCtx(() => [
14205
14306
  page.value ? vue.renderSlot(_ctx.$slots, "workspace", { key: 0 }) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
14206
- 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"])
14207
14308
  ]),
14208
14309
  vue.renderSlot(_ctx.$slots, "page-bar", {}, () => [
14209
14310
  vue.createVNode(_sfc_main$u, {
14210
- "disabled-page-fragment": _ctx.disabledPageFragment,
14211
- "page-bar-sort-options": _ctx.pageBarSortOptions,
14212
- "filter-function": _ctx.pageFilterFunction
14311
+ "disabled-page-fragment": __props.disabledPageFragment,
14312
+ "page-bar-sort-options": __props.pageBarSortOptions,
14313
+ "filter-function": __props.pageFilterFunction
14213
14314
  }, {
14214
14315
  "page-bar-add-button": vue.withCtx(() => [
14215
14316
  vue.renderSlot(_ctx.$slots, "page-bar-add-button")
@@ -14421,7 +14522,7 @@
14421
14522
  "div",
14422
14523
  {
14423
14524
  class: "m-editor-nav-menu",
14424
- style: vue.normalizeStyle({ height: `${_ctx.height}px` }),
14525
+ style: vue.normalizeStyle({ height: `${__props.height}px` }),
14425
14526
  ref: "navMenu"
14426
14527
  },
14427
14528
  [
@@ -14529,12 +14630,12 @@
14529
14630
  ref: "configForm",
14530
14631
  class: vue.normalizeClass(propsPanelSize.value),
14531
14632
  "popper-class": `m-editor-props-panel-popper ${propsPanelSize.value}`,
14532
- "label-width": _ctx.labelWidth,
14533
- "label-position": _ctx.labelPosition,
14633
+ "label-width": __props.labelWidth,
14634
+ "label-position": __props.labelPosition,
14534
14635
  size: propsPanelSize.value,
14535
- "init-values": _ctx.values,
14536
- config: _ctx.config,
14537
- "extend-state": _ctx.extendState,
14636
+ "init-values": __props.values,
14637
+ config: __props.config,
14638
+ "extend-state": __props.extendState,
14538
14639
  onChange: submit,
14539
14640
  onError: errorHandler
14540
14641
  }, null, 8, ["class", "popper-class", "label-width", "label-position", "size", "init-values", "config", "extend-state"])
@@ -14542,7 +14643,7 @@
14542
14643
  _: 1
14543
14644
  /* STABLE */
14544
14645
  }),
14545
- !_ctx.disabledShowSrc ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
14646
+ !__props.disabledShowSrc ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
14546
14647
  key: 0,
14547
14648
  class: "m-editor-props-panel-src-icon",
14548
14649
  circle: "",
@@ -14560,7 +14661,7 @@
14560
14661
  key: 1,
14561
14662
  class: "m-editor-props-panel-src-code",
14562
14663
  height: `${vue.unref(editorContentHeight)}px`,
14563
- "init-values": _ctx.codeValueKey ? _ctx.values[_ctx.codeValueKey] : _ctx.values,
14664
+ "init-values": __props.codeValueKey ? __props.values[__props.codeValueKey] : __props.values,
14564
14665
  options: vue.unref(codeOptions),
14565
14666
  parse: true,
14566
14667
  onSave: saveCode
@@ -14744,8 +14845,8 @@
14744
14845
  class: vue.normalizeClass(["m-editor-props-property-panel", { "show-style-panel": vue.unref(showStylePanel) }]),
14745
14846
  config: curFormConfig.value,
14746
14847
  values: values.value,
14747
- disabledShowSrc: _ctx.disabledShowSrc,
14748
- extendState: _ctx.extendState,
14848
+ disabledShowSrc: __props.disabledShowSrc,
14849
+ extendState: __props.extendState,
14749
14850
  onSubmit: submit,
14750
14851
  onSubmitError: errorHandler,
14751
14852
  onFormError: errorHandler,
@@ -14763,8 +14864,8 @@
14763
14864
  "code-value-key": "style",
14764
14865
  config: styleFormConfig,
14765
14866
  values: values.value,
14766
- disabledShowSrc: _ctx.disabledShowSrc,
14767
- extendState: _ctx.extendState,
14867
+ disabledShowSrc: __props.disabledShowSrc,
14868
+ extendState: __props.extendState,
14768
14869
  onSubmit: submit,
14769
14870
  onSubmitError: errorHandler,
14770
14871
  onFormError: errorHandler
@@ -14957,12 +15058,12 @@
14957
15058
  (vue.openBlock(true), vue.createElementBlock(
14958
15059
  vue.Fragment,
14959
15060
  null,
14960
- vue.renderList(_ctx.menuData, (item, index) => {
15061
+ vue.renderList(__props.menuData, (item, index) => {
14961
15062
  return vue.openBlock(), vue.createBlock(_sfc_main$z, {
14962
15063
  "event-type": "mouseup",
14963
15064
  ref_for: true,
14964
15065
  ref: "buttons",
14965
- class: vue.normalizeClass({ active: _ctx.active && item.id === _ctx.active }),
15066
+ class: vue.normalizeClass({ active: __props.active && item.id === __props.active }),
14966
15067
  data: item,
14967
15068
  key: index,
14968
15069
  onMouseup: clickHandler,
@@ -14978,7 +15079,7 @@
14978
15079
  key: 0,
14979
15080
  class: "sub-menu",
14980
15081
  ref: "subMenu",
14981
- active: _ctx.active,
15082
+ active: __props.active,
14982
15083
  "menu-data": subMenuData.value,
14983
15084
  "is-sub-menu": true,
14984
15085
  onHide: hide
@@ -15108,10 +15209,10 @@
15108
15209
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
15109
15210
  class: "m-editor-tree-node",
15110
15211
  draggable: draggable.value,
15111
- "data-node-id": _ctx.data.id,
15112
- "data-parent-id": _ctx.parent?.id,
15113
- "data-parents-id": _ctx.parentsId,
15114
- "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),
15115
15216
  onDragstart: handleDragStart,
15116
15217
  onDragleave: handleDragLeave,
15117
15218
  onDragend: handleDragEnd
@@ -15120,7 +15221,7 @@
15120
15221
  "div",
15121
15222
  {
15122
15223
  class: vue.normalizeClass(["tree-node", { selected: selected.value, expanded: expanded.value }]),
15123
- style: vue.normalizeStyle(`padding-left: ${_ctx.indent}px`),
15224
+ style: vue.normalizeStyle(`padding-left: ${__props.indent}px`),
15124
15225
  onContextmenu: nodeContextmenuHandler,
15125
15226
  onMouseenter: mouseenterHandler
15126
15227
  },
@@ -15135,18 +15236,18 @@
15135
15236
  class: "tree-node-content",
15136
15237
  onClick: nodeClickHandler
15137
15238
  }, [
15138
- vue.renderSlot(_ctx.$slots, "tree-node-content", { data: _ctx.data }, () => [
15239
+ vue.renderSlot(_ctx.$slots, "tree-node-content", { data: __props.data }, () => [
15139
15240
  vue.createElementVNode("div", _hoisted_2$3, [
15140
- vue.renderSlot(_ctx.$slots, "tree-node-label", { data: _ctx.data }, () => [
15241
+ vue.renderSlot(_ctx.$slots, "tree-node-label", { data: __props.data }, () => [
15141
15242
  vue.createTextVNode(
15142
- vue.toDisplayString(`${_ctx.data.name} (${_ctx.data.id})`),
15243
+ vue.toDisplayString(`${__props.data.name} (${__props.data.id})`),
15143
15244
  1
15144
15245
  /* TEXT */
15145
15246
  )
15146
15247
  ])
15147
15248
  ]),
15148
15249
  vue.createElementVNode("div", _hoisted_3$1, [
15149
- vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: _ctx.data })
15250
+ vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: __props.data })
15150
15251
  ])
15151
15252
  ])
15152
15253
  ])
@@ -15158,14 +15259,14 @@
15158
15259
  (vue.openBlock(true), vue.createElementBlock(
15159
15260
  vue.Fragment,
15160
15261
  null,
15161
- vue.renderList(_ctx.data.items, (item) => {
15262
+ vue.renderList(__props.data.items, (item) => {
15162
15263
  return vue.openBlock(), vue.createBlock(_component_TreeNode, {
15163
15264
  key: item.id,
15164
15265
  data: item,
15165
- parent: _ctx.data,
15166
- parentsId: [..._ctx.parentsId, _ctx.data.id],
15167
- "node-status-map": _ctx.nodeStatusMap,
15168
- 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
15169
15270
  }, {
15170
15271
  "tree-node-content": vue.withCtx(({ data: nodeData }) => [
15171
15272
  vue.renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -15176,9 +15277,9 @@
15176
15277
  "tree-node-tool": vue.withCtx(({ data: nodeData }) => [
15177
15278
  vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
15178
15279
  ]),
15179
- _: 2
15180
- /* DYNAMIC */
15181
- }, 1032, ["data", "parent", "parentsId", "node-status-map", "indent"]);
15280
+ _: 3
15281
+ /* FORWARDED */
15282
+ }, 8, ["data", "parent", "parentsId", "node-status-map", "indent"]);
15182
15283
  }),
15183
15284
  128
15184
15285
  /* KEYED_FRAGMENT */
@@ -15222,16 +15323,16 @@
15222
15323
  onDragover: handleDragOver
15223
15324
  },
15224
15325
  [
15225
- _ctx.data?.length ? (vue.openBlock(true), vue.createElementBlock(
15326
+ __props.data?.length ? (vue.openBlock(true), vue.createElementBlock(
15226
15327
  vue.Fragment,
15227
15328
  { key: 0 },
15228
- vue.renderList(_ctx.data, (item) => {
15329
+ vue.renderList(__props.data, (item) => {
15229
15330
  return vue.openBlock(), vue.createBlock(_sfc_main$m, {
15230
15331
  key: item.id,
15231
15332
  data: item,
15232
- indent: _ctx.indent,
15233
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15234
- "node-status-map": _ctx.nodeStatusMap
15333
+ indent: __props.indent,
15334
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15335
+ "node-status-map": __props.nodeStatusMap
15235
15336
  }, {
15236
15337
  "tree-node-content": vue.withCtx(({ data: nodeData }) => [
15237
15338
  vue.renderSlot(_ctx.$slots, "tree-node-content", { data: nodeData })
@@ -15242,9 +15343,9 @@
15242
15343
  "tree-node-tool": vue.withCtx(({ data: nodeData }) => [
15243
15344
  vue.renderSlot(_ctx.$slots, "tree-node-tool", { data: nodeData })
15244
15345
  ]),
15245
- _: 2
15246
- /* DYNAMIC */
15247
- }, 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"]);
15248
15349
  }),
15249
15350
  128
15250
15351
  /* KEYED_FRAGMENT */
@@ -15252,7 +15353,7 @@
15252
15353
  vue.createElementVNode(
15253
15354
  "p",
15254
15355
  null,
15255
- vue.toDisplayString(_ctx.emptyText),
15356
+ vue.toDisplayString(__props.emptyText),
15256
15357
  1
15257
15358
  /* TEXT */
15258
15359
  )
@@ -15374,8 +15475,8 @@
15374
15475
  return vue.openBlock(), vue.createBlock(_sfc_main$l, {
15375
15476
  data: codeList.value,
15376
15477
  "node-status-map": vue.unref(nodeStatusMap),
15377
- indent: _ctx.indent,
15378
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15478
+ indent: __props.indent,
15479
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15379
15480
  onNodeClick: clickHandler,
15380
15481
  onNodeContextmenu: nodeContentMenuHandler
15381
15482
  }, {
@@ -15575,11 +15676,15 @@
15575
15676
  size: "small",
15576
15677
  onClick: vue.unref(createCodeBlock)
15577
15678
  }, {
15578
- default: vue.withCtx(() => _cache[0] || (_cache[0] = [
15579
- vue.createTextVNode("新增")
15580
- ])),
15581
- _: 1,
15582
- __: [0]
15679
+ default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
15680
+ vue.createTextVNode(
15681
+ "新增",
15682
+ -1
15683
+ /* CACHED */
15684
+ )
15685
+ ])]),
15686
+ _: 1
15687
+ /* STABLE */
15583
15688
  }, 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
15584
15689
  vue.renderSlot(_ctx.$slots, "code-block-panel-search")
15585
15690
  ])
@@ -15587,9 +15692,9 @@
15587
15692
  vue.createCommentVNode(" 代码块列表 "),
15588
15693
  vue.createVNode(_sfc_main$k, {
15589
15694
  ref: "codeBlockList",
15590
- "custom-error": _ctx.customError,
15591
- indent: _ctx.indent,
15592
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15695
+ "custom-error": __props.customError,
15696
+ indent: __props.indent,
15697
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15593
15698
  onEdit: vue.unref(editCode),
15594
15699
  onRemove: vue.unref(deleteCode),
15595
15700
  onNodeContextmenu: vue.unref(nodeContentMenuHandler)
@@ -15727,16 +15832,16 @@
15727
15832
  "onUpdate:width": _cache[1] || (_cache[1] = ($event) => width.value = $event),
15728
15833
  height: vue.unref(editorHeight),
15729
15834
  "onUpdate:height": _cache[2] || (_cache[2] = ($event) => vue.isRef(editorHeight) ? editorHeight.value = $event : null),
15730
- title: _ctx.title,
15835
+ title: __props.title,
15731
15836
  position: vue.unref(boxPosition)
15732
15837
  }, {
15733
15838
  body: vue.withCtx(() => [
15734
15839
  vue.createVNode(vue.unref(formPlugin.MFormBox), {
15735
15840
  "label-width": "80px",
15736
- title: _ctx.title,
15841
+ title: __props.title,
15737
15842
  config: dataSourceConfig.value,
15738
15843
  values: initValues.value,
15739
- disabled: _ctx.disabled,
15844
+ disabled: __props.disabled,
15740
15845
  style: { "height": "100%" },
15741
15846
  onSubmit: submitHandler,
15742
15847
  onError: errorHandler
@@ -15852,8 +15957,8 @@
15852
15957
  return vue.openBlock(), vue.createBlock(_sfc_main$l, {
15853
15958
  data: list.value,
15854
15959
  "node-status-map": vue.unref(nodeStatusMap),
15855
- indent: _ctx.indent,
15856
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
15960
+ indent: __props.indent,
15961
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
15857
15962
  onNodeClick: clickHandler,
15858
15963
  onNodeContextmenu: nodeContentMenuHandler
15859
15964
  }, {
@@ -16079,11 +16184,15 @@
16079
16184
  type: "primary",
16080
16185
  size: "small"
16081
16186
  }, {
16082
- default: vue.withCtx(() => _cache[0] || (_cache[0] = [
16083
- vue.createTextVNode("新增")
16084
- ])),
16085
- _: 1,
16086
- __: [0]
16187
+ default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
16188
+ vue.createTextVNode(
16189
+ "新增",
16190
+ -1
16191
+ /* CACHED */
16192
+ )
16193
+ ])]),
16194
+ _: 1
16195
+ /* STABLE */
16087
16196
  })
16088
16197
  ]),
16089
16198
  default: vue.withCtx(() => [
@@ -16114,8 +16223,8 @@
16114
16223
  vue.createCommentVNode(" 数据源列表 "),
16115
16224
  vue.createVNode(_sfc_main$h, {
16116
16225
  ref: "dataSourceList",
16117
- indent: _ctx.indent,
16118
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
16226
+ indent: __props.indent,
16227
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
16119
16228
  onEdit: vue.unref(editHandler),
16120
16229
  onRemove: removeHandler,
16121
16230
  onNodeContextmenu: vue.unref(nodeContentMenuHandler)
@@ -16165,7 +16274,7 @@
16165
16274
  __name: "FolderMinusIcon",
16166
16275
  setup(__props) {
16167
16276
  return (_ctx, _cache) => {
16168
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _cache[0] || (_cache[0] = [
16277
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
16169
16278
  vue.createElementVNode(
16170
16279
  "path",
16171
16280
  {
@@ -16186,7 +16295,7 @@
16186
16295
  -1
16187
16296
  /* CACHED */
16188
16297
  )
16189
- ]));
16298
+ ])]);
16190
16299
  };
16191
16300
  }
16192
16301
  });
@@ -16381,11 +16490,11 @@
16381
16490
  });
16382
16491
  };
16383
16492
  return (_ctx, _cache) => {
16384
- return _ctx.data.type !== "page" ? (vue.openBlock(), vue.createElementBlock(
16493
+ return __props.data.type !== "page" ? (vue.openBlock(), vue.createElementBlock(
16385
16494
  vue.Fragment,
16386
16495
  { key: 0 },
16387
16496
  [
16388
- _ctx.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
16497
+ __props.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
16389
16498
  key: 0,
16390
16499
  icon: vue.unref(iconsVue.Hide),
16391
16500
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => setNodeVisible(true), ["stop"])),
@@ -16928,8 +17037,8 @@
16928
17037
  ref: "tree",
16929
17038
  data: nodeData.value,
16930
17039
  "node-status-map": vue.unref(nodeStatusMap),
16931
- indent: _ctx.indent,
16932
- "next-level-indent-increment": _ctx.nextLevelIndentIncrement,
17040
+ indent: __props.indent,
17041
+ "next-level-indent-increment": __props.nextLevelIndentIncrement,
16933
17042
  onNodeDragover: vue.unref(handleDragOver),
16934
17043
  onNodeDragstart: vue.unref(handleDragStart),
16935
17044
  onNodeDragleave: vue.unref(handleDragLeave),
@@ -16955,8 +17064,8 @@
16955
17064
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
16956
17065
  vue.createVNode(_sfc_main$e, {
16957
17066
  ref: "menu",
16958
- "layer-content-menu": _ctx.layerContentMenu,
16959
- "custom-content-menu": _ctx.customContentMenu,
17067
+ "layer-content-menu": __props.layerContentMenu,
17068
+ "custom-content-menu": __props.customContentMenu,
16960
17069
  onCollapseAll: collapseAllHandler
16961
17070
  }, null, 8, ["layer-content-menu", "custom-content-menu"])
16962
17071
  ]))
@@ -17302,7 +17411,7 @@
17302
17411
  vue.Fragment,
17303
17412
  null,
17304
17413
  [
17305
- _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, [
17306
17415
  vue.createElementVNode("div", _hoisted_2$1, [
17307
17416
  (vue.openBlock(true), vue.createElementBlock(
17308
17417
  vue.Fragment,
@@ -17634,7 +17743,7 @@
17634
17743
  "div",
17635
17744
  {
17636
17745
  ref: "bar",
17637
- class: vue.normalizeClass(["m-editor-scroll-bar", _ctx.isHorizontal ? "horizontal" : "vertical"])
17746
+ class: vue.normalizeClass(["m-editor-scroll-bar", __props.isHorizontal ? "horizontal" : "vertical"])
17638
17747
  },
17639
17748
  [
17640
17749
  vue.createElementVNode(
@@ -17750,19 +17859,19 @@
17750
17859
  /* STYLE */
17751
17860
  ),
17752
17861
  vue.renderSlot(_ctx.$slots, "content"),
17753
- scrollHeight.value > _ctx.wrapHeight ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17862
+ scrollHeight.value > __props.wrapHeight ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17754
17863
  key: 0,
17755
17864
  "scroll-size": scrollHeight.value,
17756
17865
  pos: vOffset.value,
17757
- size: _ctx.wrapHeight,
17866
+ size: __props.wrapHeight,
17758
17867
  onScroll: vScrollHandler
17759
17868
  }, null, 8, ["scroll-size", "pos", "size"])) : vue.createCommentVNode("v-if", true),
17760
- scrollWidth.value > _ctx.wrapWidth ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17869
+ scrollWidth.value > __props.wrapWidth ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
17761
17870
  key: 1,
17762
17871
  "is-horizontal": true,
17763
17872
  "scroll-size": scrollWidth.value,
17764
17873
  pos: hOffset.value,
17765
- size: _ctx.wrapWidth,
17874
+ size: __props.wrapWidth,
17766
17875
  onScroll: hScrollHandler
17767
17876
  }, null, 8, ["scroll-size", "pos", "size"])) : vue.createCommentVNode("v-if", true)
17768
17877
  ],
@@ -17997,7 +18106,7 @@
17997
18106
  __name: "CenterIcon",
17998
18107
  setup(__props) {
17999
18108
  return (_ctx, _cache) => {
18000
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, _cache[0] || (_cache[0] = [
18109
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
18001
18110
  vue.createElementVNode(
18002
18111
  "path",
18003
18112
  {
@@ -18037,7 +18146,7 @@
18037
18146
  -1
18038
18147
  /* CACHED */
18039
18148
  )
18040
- ]));
18149
+ ])]);
18041
18150
  };
18042
18151
  }
18043
18152
  });
@@ -18349,13 +18458,13 @@
18349
18458
  onClick: _cache[0] || (_cache[0] = ($event) => stageWrapRef.value?.container?.focus())
18350
18459
  }, {
18351
18460
  content: vue.withCtx(() => [
18352
- !_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),
18353
18462
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
18354
18463
  vue.createVNode(_sfc_main$4, {
18355
18464
  ref: "menu",
18356
18465
  "is-multi-select": isMultiSelect.value,
18357
- "stage-content-menu": _ctx.stageContentMenu,
18358
- "custom-content-menu": _ctx.customContentMenu
18466
+ "stage-content-menu": __props.stageContentMenu,
18467
+ "custom-content-menu": __props.customContentMenu
18359
18468
  }, null, 8, ["is-multi-select", "stage-content-menu", "custom-content-menu"])
18360
18469
  ]))
18361
18470
  ]),
@@ -18468,9 +18577,9 @@
18468
18577
  page.value && (vue.unref(stageOptions)?.render || vue.unref(stageOptions)?.runtimeUrl) ? (vue.openBlock(), vue.createBlock(_sfc_main$3, {
18469
18578
  key: 0,
18470
18579
  "stage-options": vue.unref(stageOptions),
18471
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
18472
- "stage-content-menu": _ctx.stageContentMenu,
18473
- "custom-content-menu": _ctx.customContentMenu
18580
+ "disabled-stage-overlay": __props.disabledStageOverlay,
18581
+ "stage-content-menu": __props.stageContentMenu,
18582
+ "custom-content-menu": __props.customContentMenu
18474
18583
  }, null, 8, ["stage-options", "disabled-stage-overlay", "stage-content-menu", "custom-content-menu"])) : vue.createCommentVNode("v-if", true)
18475
18584
  ]),
18476
18585
  vue.renderSlot(_ctx.$slots, "workspace-content")
@@ -19948,7 +20057,7 @@
19948
20057
 
19949
20058
  })();
19950
20059
  `;
19951
- const blob = typeof self !== "undefined" && self.Blob && new Blob([jsContent], { type: "text/javascript;charset=utf-8" });
20060
+ const blob = typeof self !== "undefined" && self.Blob && new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);", jsContent], { type: "text/javascript;charset=utf-8" });
19952
20061
  function WorkerWrapper(options) {
19953
20062
  let objURL;
19954
20063
  try {
@@ -19968,8 +20077,6 @@
19968
20077
  name: options?.name
19969
20078
  }
19970
20079
  );
19971
- } finally {
19972
- objURL && (self.URL || self.webkitURL).revokeObjectURL(objURL);
19973
20080
  }
19974
20081
  }
19975
20082
 
@@ -21287,16 +21394,16 @@
21287
21394
  __expose(services);
21288
21395
  return (_ctx, _cache) => {
21289
21396
  return vue.openBlock(), vue.createBlock(_sfc_main$s, {
21290
- "disabled-page-fragment": _ctx.disabledPageFragment,
21291
- "page-bar-sort-options": _ctx.pageBarSortOptions,
21292
- "page-filter-function": _ctx.pageFilterFunction
21397
+ "disabled-page-fragment": __props.disabledPageFragment,
21398
+ "page-bar-sort-options": __props.pageBarSortOptions,
21399
+ "page-filter-function": __props.pageFilterFunction
21293
21400
  }, {
21294
21401
  header: vue.withCtx(() => [
21295
21402
  vue.renderSlot(_ctx.$slots, "header")
21296
21403
  ]),
21297
21404
  nav: vue.withCtx(() => [
21298
21405
  vue.renderSlot(_ctx.$slots, "nav", { editorService: vue.unref(editorService) }, () => [
21299
- vue.createVNode(_sfc_main$r, { data: _ctx.menu }, null, 8, ["data"])
21406
+ vue.createVNode(_sfc_main$r, { data: __props.menu }, null, 8, ["data"])
21300
21407
  ])
21301
21408
  ]),
21302
21409
  "content-before": vue.withCtx(() => [
@@ -21308,11 +21415,11 @@
21308
21415
  sidebar: vue.withCtx(() => [
21309
21416
  vue.renderSlot(_ctx.$slots, "sidebar", { editorService: vue.unref(editorService) }, () => [
21310
21417
  vue.createVNode(_sfc_main$a, {
21311
- data: _ctx.sidebar,
21312
- "layer-content-menu": _ctx.layerContentMenu,
21313
- "custom-content-menu": _ctx.customContentMenu,
21314
- indent: _ctx.treeIndent,
21315
- "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
21316
21423
  }, {
21317
21424
  "layer-panel-header": vue.withCtx(() => [
21318
21425
  vue.renderSlot(_ctx.$slots, "layer-panel-header")
@@ -21361,9 +21468,9 @@
21361
21468
  workspace: vue.withCtx(() => [
21362
21469
  vue.renderSlot(_ctx.$slots, "workspace", { editorService: vue.unref(editorService) }, () => [
21363
21470
  vue.createVNode(_sfc_main$1, {
21364
- "disabled-stage-overlay": _ctx.disabledStageOverlay,
21365
- "stage-content-menu": _ctx.stageContentMenu,
21366
- "custom-content-menu": _ctx.customContentMenu
21471
+ "disabled-stage-overlay": __props.disabledStageOverlay,
21472
+ "stage-content-menu": __props.stageContentMenu,
21473
+ "custom-content-menu": __props.customContentMenu
21367
21474
  }, {
21368
21475
  stage: vue.withCtx(() => [
21369
21476
  vue.renderSlot(_ctx.$slots, "stage")
@@ -21379,8 +21486,8 @@
21379
21486
  "props-panel": vue.withCtx(() => [
21380
21487
  vue.renderSlot(_ctx.$slots, "props-panel", {}, () => [
21381
21488
  vue.createVNode(_sfc_main$p, {
21382
- "extend-state": _ctx.extendFormState,
21383
- "disabled-show-src": _ctx.disabledShowSrc,
21489
+ "extend-state": __props.extendFormState,
21490
+ "disabled-show-src": __props.disabledShowSrc,
21384
21491
  onMounted: propsPanelMountedHandler,
21385
21492
  onUnmounted: propsPanelUnmountedHandler,
21386
21493
  onFormError: propsPanelFormErrorHandler,