@opentiny/tiny-engine-toolbar-clean 2.3.0 → 2.4.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.
- package/dist/index.js +8 -12
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -21,11 +21,7 @@ const {
|
|
|
21
21
|
} = f(), o = l(t.isLock), {
|
|
22
22
|
confirm: e
|
|
23
23
|
} = _();
|
|
24
|
-
return p(
|
|
25
|
-
() => t.isLock,
|
|
26
|
-
// eslint-disable-next-line no-return-assign
|
|
27
|
-
(n) => o.value = n
|
|
28
|
-
), {
|
|
24
|
+
return p(() => t.isLock, (n) => o.value = n), {
|
|
29
25
|
clean: () => {
|
|
30
26
|
var n, a;
|
|
31
27
|
[i.Occupy, i.Guest].includes((a = (n = v().layoutState) == null ? void 0 : n.pageStatus) == null ? void 0 : a.state) && (o.value || e({
|
|
@@ -43,15 +39,15 @@ const {
|
|
|
43
39
|
isLock: o
|
|
44
40
|
};
|
|
45
41
|
}
|
|
46
|
-
},
|
|
42
|
+
}, C = (t, c) => {
|
|
47
43
|
const o = t.__vccOpts || t;
|
|
48
44
|
for (const [e, r] of c)
|
|
49
45
|
o[e] = r;
|
|
50
46
|
return o;
|
|
51
|
-
},
|
|
52
|
-
function
|
|
47
|
+
}, g = { class: "toolbar-itm-clean" };
|
|
48
|
+
function x(t, c, o, e, r, n) {
|
|
53
49
|
const a = u("toolbar-base");
|
|
54
|
-
return m(), d("div",
|
|
50
|
+
return m(), d("div", g, [
|
|
55
51
|
s(a, {
|
|
56
52
|
content: "清除屏幕",
|
|
57
53
|
icon: o.options.icon.default || o.options.icon,
|
|
@@ -60,7 +56,7 @@ function C(t, c, o, e, r, n) {
|
|
|
60
56
|
}, null, 8, ["icon", "options", "onClickApi"])
|
|
61
57
|
]);
|
|
62
58
|
}
|
|
63
|
-
const S = /* @__PURE__ */
|
|
59
|
+
const S = /* @__PURE__ */ C(y, [["render", x]]), A = {
|
|
64
60
|
id: "engine.toolbars.clean",
|
|
65
61
|
type: "toolbars",
|
|
66
62
|
title: "clean",
|
|
@@ -70,10 +66,10 @@ const S = /* @__PURE__ */ g(y, [["render", C]]), A = {
|
|
|
70
66
|
},
|
|
71
67
|
renderType: "icon"
|
|
72
68
|
}
|
|
73
|
-
},
|
|
69
|
+
}, B = {
|
|
74
70
|
...A,
|
|
75
71
|
entry: S
|
|
76
72
|
};
|
|
77
73
|
export {
|
|
78
|
-
|
|
74
|
+
B as default
|
|
79
75
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-clean",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0-rc.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.
|
|
29
|
-
"@opentiny/tiny-engine-meta-register": "2.
|
|
30
|
-
"@opentiny/tiny-engine-utils": "2.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.4.0-rc.0",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.4.0-rc.0",
|
|
30
|
+
"@opentiny/tiny-engine-utils": "2.4.0-rc.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.
|
|
33
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.4.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"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue": "^3.20.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "40df6ee51c80bf918c176f7e8ad97b6b687ddc7b"
|
|
43
43
|
}
|