@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.
- package/dist/tmagic-editor.js +12 -12
- package/dist/tmagic-editor.js.map +1 -1
- package/dist/tmagic-editor.umd.cjs +12 -12
- package/dist/tmagic-editor.umd.cjs.map +1 -1
- package/package.json +11 -11
- package/src/components/CodeBlockEditor.vue +1 -1
- package/src/components/FloatingBox.vue +1 -1
- package/src/components/ToolButton.vue +2 -2
- package/src/fields/EventSelect.vue +1 -1
- package/src/fields/KeyValue.vue +1 -1
- package/src/fields/UISelect.vue +4 -4
- package/src/layouts/page-bar/SwitchTypeButton.vue +1 -1
- package/src/layouts/workspace/Breadcrumb.vue +1 -1
package/dist/tmagic-editor.js
CHANGED
|
@@ -616,7 +616,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
616
616
|
left: withCtx(() => [
|
|
617
617
|
createVNode(unref(TMagicButton), {
|
|
618
618
|
type: "primary",
|
|
619
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9969
|
+
link: "",
|
|
9970
9970
|
disabled: item.id === node.value?.id,
|
|
9971
9971
|
onClick: ($event) => select(item)
|
|
9972
9972
|
}, {
|