@opentiny/tiny-engine-toolbar-breadcrumb 2.2.0 → 2.2.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.
- package/dist/index.js +13 -13
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { resolveComponent as l, createBlock as p, openBlock as i, withCtx as m, createElementVNode as C, createVNode as S, createCommentVNode as D, normalizeClass as h, createElementBlock as v, Fragment as E, renderList as N, createTextVNode as f, toDisplayString as O, reactive as I, computed as A, ref as L } from "vue";
|
|
3
|
+
import { Button as K, BreadcrumbItem as P, Breadcrumb as X } from "@opentiny/vue";
|
|
4
4
|
import { useLayout as x, useBreadcrumb as G, useBlock as B, HOOK_NAME as w } from "@opentiny/tiny-engine-meta-register";
|
|
5
|
-
import {
|
|
5
|
+
import { ToolbarBase as V, BlockDeployDialog as z } from "@opentiny/tiny-engine-common";
|
|
6
6
|
const M = (t, o) => {
|
|
7
7
|
const r = t.__vccOpts || t;
|
|
8
8
|
for (const [e, c] of o)
|
|
@@ -10,11 +10,11 @@ const M = (t, o) => {
|
|
|
10
10
|
return r;
|
|
11
11
|
}, U = {
|
|
12
12
|
components: {
|
|
13
|
-
TinyBreadcrumb:
|
|
13
|
+
TinyBreadcrumb: X,
|
|
14
14
|
TinyBreadcrumbItem: P,
|
|
15
|
-
BlockDeployDialog:
|
|
16
|
-
TinyButton:
|
|
17
|
-
ToolbarBase:
|
|
15
|
+
BlockDeployDialog: z,
|
|
16
|
+
TinyButton: K,
|
|
17
|
+
ToolbarBase: V
|
|
18
18
|
},
|
|
19
19
|
props: {
|
|
20
20
|
options: {
|
|
@@ -26,13 +26,13 @@ const M = (t, o) => {
|
|
|
26
26
|
const t = {
|
|
27
27
|
PAGEID: "engine.plugins.appmanage",
|
|
28
28
|
BLOCKID: "engine.plugins.blockmanage"
|
|
29
|
-
}, { layoutState: o } = x(), { plugins: r } = o || {}, e =
|
|
29
|
+
}, { layoutState: o } = x(), { plugins: r } = o || {}, e = I({
|
|
30
30
|
showDeployBlock: !1
|
|
31
31
|
}), { CONSTANTS: c, getBreadcrumbData: k } = G(), s = k(), b = () => {
|
|
32
32
|
e.showDeployBlock = !0;
|
|
33
33
|
}, d = () => {
|
|
34
34
|
r && (r.render = s.value[0] === c.PAGETEXT ? t.PAGEID : t.BLOCKID);
|
|
35
|
-
}, u =
|
|
35
|
+
}, u = A(() => {
|
|
36
36
|
var a, n, g;
|
|
37
37
|
return (g = (n = (a = B) == null ? void 0 : a()) == null ? void 0 : n.getCurrentBlock) == null ? void 0 : g.call(n);
|
|
38
38
|
});
|
|
@@ -57,7 +57,7 @@ function F(t, o, r, e, c, k) {
|
|
|
57
57
|
return [
|
|
58
58
|
C("div", j, [
|
|
59
59
|
C("div", {
|
|
60
|
-
class:
|
|
60
|
+
class: h([
|
|
61
61
|
"top-panel-breadcrumb-title",
|
|
62
62
|
{ "top-panel-breadcrumb-title-block": e.breadcrumbData[0] === e.CONSTANTS.BLOCKTEXT }
|
|
63
63
|
])
|
|
@@ -67,9 +67,9 @@ function F(t, o, r, e, c, k) {
|
|
|
67
67
|
onSelect: e.open
|
|
68
68
|
}, {
|
|
69
69
|
default: m(() => [
|
|
70
|
-
(i(!0), E
|
|
70
|
+
(i(!0), v(E, null, N(e.breadcrumbData.slice(0, 2), (n) => (i(), p(s, { key: n }, {
|
|
71
71
|
default: m(() => [
|
|
72
|
-
f(
|
|
72
|
+
f(O(n), 1)
|
|
73
73
|
]),
|
|
74
74
|
_: 2
|
|
75
75
|
}, 1024))), 128))
|
|
@@ -88,7 +88,7 @@ function F(t, o, r, e, c, k) {
|
|
|
88
88
|
f("发布区块 ")
|
|
89
89
|
])),
|
|
90
90
|
_: 1
|
|
91
|
-
})) :
|
|
91
|
+
})) : D("", !0)
|
|
92
92
|
]),
|
|
93
93
|
S(u, {
|
|
94
94
|
visible: e.state.showDeployBlock,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-breadcrumb",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.2.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.2.1",
|
|
29
29
|
"@opentiny/tiny-engine-meta-register": "2.2.0",
|
|
30
30
|
"@opentiny/tiny-engine-utils": "2.2.0"
|
|
31
31
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue": "^3.14.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "589fcf9717f4ba565ded2f2eb520d5066a53ab64"
|
|
43
43
|
}
|