@tmagic/editor 1.3.9 → 1.3.10

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.
@@ -616,7 +616,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
616
616
  left: withCtx(() => [
617
617
  createVNode(unref(TMagicButton), {
618
618
  type: "primary",
619
- text: "",
619
+ link: "",
620
620
  onClick: _cache[0] || (_cache[0] = ($event) => difVisible.value = true)
621
621
  }, {
622
622
  default: withCtx(() => [
@@ -4909,7 +4909,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4909
4909
  }, null, 8, ["config", "model", "disabled", "size"]),
4910
4910
  createVNode(unref(TMagicButton), {
4911
4911
  style: { "color": "#f56c6c" },
4912
- text: "",
4912
+ link: "",
4913
4913
  icon: unref(Delete),
4914
4914
  disabled: _ctx.disabled,
4915
4915
  size: _ctx.size,
@@ -5073,7 +5073,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5073
5073
  key: 2,
5074
5074
  size: "default",
5075
5075
  disabled: _ctx.disabled,
5076
- text: "",
5076
+ link: "",
5077
5077
  icon: _sfc_main$D,
5078
5078
  onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
5079
5079
  }, null, 8, ["disabled"])) : createCommentVNode("", true)
@@ -5238,7 +5238,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5238
5238
  icon: unref(Delete),
5239
5239
  disabled: _ctx.disabled,
5240
5240
  size: _ctx.size,
5241
- text: "",
5241
+ link: "",
5242
5242
  style: { "padding": "0" }
5243
5243
  }, {
5244
5244
  default: withCtx(() => [
@@ -5259,7 +5259,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5259
5259
  icon: unref(Close),
5260
5260
  disabled: _ctx.disabled,
5261
5261
  size: _ctx.size,
5262
- text: "",
5262
+ link: "",
5263
5263
  onClick: withModifiers(deleteHandler, ["stop"])
5264
5264
  }, null, 8, ["icon", "disabled", "size", "onClick"])
5265
5265
  ]),
@@ -5271,7 +5271,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5271
5271
  }, {
5272
5272
  default: withCtx(() => [
5273
5273
  createVNode(unref(TMagicButton), {
5274
- text: "",
5274
+ link: "",
5275
5275
  style: { "padding": "0", "margin": "0" },
5276
5276
  disabled: _ctx.disabled,
5277
5277
  size: _ctx.size,
@@ -5294,7 +5294,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5294
5294
  }, {
5295
5295
  default: withCtx(() => [
5296
5296
  createVNode(unref(TMagicButton), {
5297
- text: "",
5297
+ link: "",
5298
5298
  style: { "padding": "0", "margin": "0" },
5299
5299
  disabled: _ctx.disabled,
5300
5300
  size: _ctx.size,
@@ -5606,7 +5606,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5606
5606
  default: withCtx(() => [
5607
5607
  createVNode(unref(TMagicButton), {
5608
5608
  size: "small",
5609
- text: "",
5609
+ link: "",
5610
5610
  disabled: disabled.value
5611
5611
  }, {
5612
5612
  default: withCtx(() => [
@@ -5623,7 +5623,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5623
5623
  }, 8, ["content"])) : (openBlock(), createBlock(unref(TMagicButton), {
5624
5624
  key: 1,
5625
5625
  size: "small",
5626
- text: "",
5626
+ link: "",
5627
5627
  disabled: disabled.value,
5628
5628
  title: _ctx.data.text
5629
5629
  }, {
@@ -5881,7 +5881,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
5881
5881
  class: normalizeClass(["m-editor-page-bar-switch-type-button", { active: _ctx.modelValue === item.type }]),
5882
5882
  size: "small",
5883
5883
  key: item.type,
5884
- text: "",
5884
+ link: "",
5885
5885
  type: _ctx.modelValue === item.type ? "primary" : "",
5886
5886
  onClick: ($event) => clickHandler(item.type)
5887
5887
  }, {
@@ -9449,7 +9449,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
9449
9449
  ]),
9450
9450
  createElementVNode("div", null, [
9451
9451
  createVNode(unref(TMagicButton), {
9452
- text: "",
9452
+ link: "",
9453
9453
  size: "small",
9454
9454
  icon: unref(Close),
9455
9455
  onClick: closeHandler
@@ -9966,7 +9966,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9966
9966
  key: item.id
9967
9967
  }, [
9968
9968
  createVNode(unref(TMagicButton), {
9969
- text: "",
9969
+ link: "",
9970
9970
  disabled: item.id === node.value?.id,
9971
9971
  onClick: ($event) => select(item)
9972
9972
  }, {