@opentiny/tiny-engine-toolbar-lock 2.2.0 → 2.3.0-rc.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reactive as N, computed as m, resolveComponent as _, openBlock as b, createBlock as S, createCommentVNode as T } from "vue";
1
+ import { resolveComponent as N, createBlock as _, createCommentVNode as b, openBlock as S, reactive as T, computed as m } from "vue";
2
2
  import { getMetaApi as x, META_SERVICE as C, useCanvas as M, useLayout as $, useBlock as A, useNotify as k } from "@opentiny/tiny-engine-meta-register";
3
3
  import { constants as B } from "@opentiny/tiny-engine-utils";
4
4
  import { ToolbarBase as h } from "@opentiny/tiny-engine-common";
@@ -37,7 +37,7 @@ const v = (e) => x(C.Http).get(`app-center/api/apps/canvas/lock?${e}`), E = (e,
37
37
  }
38
38
  },
39
39
  setup(e) {
40
- const { pageState: a } = M(), { layoutState: o } = $(), { getCurrentBlock: c } = A(), s = N({
40
+ const { pageState: a } = M(), { layoutState: o } = $(), { getCurrentBlock: c } = A(), s = T({
41
41
  status: m(() => o.pageStatus.state),
42
42
  isGuest: m(() => o.pageStatus.state === t.Guest),
43
43
  type: "",
@@ -92,8 +92,8 @@ const v = (e) => x(C.Http).get(`app-center/api/apps/canvas/lock?${e}`), E = (e,
92
92
  };
93
93
  function G(e, a, o, c, s, y) {
94
94
  var u;
95
- const p = _("toolbar-base");
96
- return c.state.isGuest ? T("", !0) : (b(), S(p, {
95
+ const p = N("toolbar-base");
96
+ return c.state.isGuest ? b("", !0) : (S(), _(p, {
97
97
  key: 0,
98
98
  icon: c.iconName,
99
99
  content: (u = c.statusMessageMap[c.state.status]) == null ? void 0 : u.nextOptName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-toolbar-lock",
3
- "version": "2.2.0",
3
+ "version": "2.3.0-rc.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -25,19 +25,19 @@
25
25
  "license": "MIT",
26
26
  "homepage": "https://opentiny.design/tiny-engine",
27
27
  "dependencies": {
28
- "@opentiny/tiny-engine-common": "2.2.0",
29
- "@opentiny/tiny-engine-meta-register": "2.2.0",
30
- "@opentiny/tiny-engine-utils": "2.2.0"
28
+ "@opentiny/tiny-engine-common": "2.3.0-rc.0",
29
+ "@opentiny/tiny-engine-meta-register": "2.3.0-rc.0",
30
+ "@opentiny/tiny-engine-utils": "2.3.0-rc.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.2.0",
33
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.3.0-rc.0",
34
34
  "@vitejs/plugin-vue": "^5.1.2",
35
35
  "@vitejs/plugin-vue-jsx": "^4.0.1",
36
36
  "vite": "^5.4.2"
37
37
  },
38
38
  "peerDependencies": {
39
- "@opentiny/vue": "^3.14.0",
39
+ "@opentiny/vue": "^3.20.0",
40
40
  "vue": "^3.4.15"
41
41
  },
42
- "gitHead": "34525174aa47280dda7d42d8835ebe235e169ed6"
42
+ "gitHead": "5ea78adea68ea21caaf13ff9f8dcb008a1ad78cc"
43
43
  }