@opentiny/tiny-engine-toolbar-redoundo 1.0.2 → 1.0.3

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  import "./style.css";
2
- import { Popover as m } from "@opentiny/vue";
3
- import { useHistory as u } from "@opentiny/tiny-engine-controller";
4
- import { resolveComponent as i, openBlock as _, createElementBlock as y, createVNode as t, withCtx as c, createElementVNode as l, normalizeClass as f } from "vue";
5
- const v = (o, e) => {
2
+ import { Popover as u } from "@opentiny/vue";
3
+ import { useHistory as _ } from "@opentiny/tiny-engine-controller";
4
+ import { resolveComponent as i, openBlock as f, createElementBlock as y, createVNode as t, withCtx as c, createElementVNode as l, normalizeClass as m } from "vue";
5
+ const b = (o, e) => {
6
6
  const n = o.__vccOpts || o;
7
7
  for (const [a, p] of e)
8
8
  n[a] = p;
9
9
  return n;
10
- }, g = {
10
+ }, v = {
11
11
  components: {
12
- TinyPopover: m
12
+ TinyPopover: u
13
13
  },
14
14
  props: {
15
15
  undoIcon: {
@@ -22,12 +22,12 @@ const v = (o, e) => {
22
22
  }
23
23
  },
24
24
  setup() {
25
- return u();
25
+ return _();
26
26
  }
27
- }, b = { class: "redo-undo-wrap" };
27
+ }, g = { class: "redo-undo-wrap" };
28
28
  function k(o, e, n, a, p, w) {
29
29
  const s = i("svg-icon"), d = i("tiny-popover");
30
- return _(), y("span", b, [
30
+ return f(), y("span", g, [
31
31
  t(d, {
32
32
  trigger: "hover",
33
33
  "open-delay": 1e3,
@@ -37,7 +37,7 @@ function k(o, e, n, a, p, w) {
37
37
  }, {
38
38
  reference: c(() => [
39
39
  l("span", {
40
- class: f(["icon-wrap", "undo", { disabled: !o.historyState.back }]),
40
+ class: m(["icon-wrap", "undo", { disabled: !o.historyState.back }]),
41
41
  onClick: e[0] || (e[0] = (...r) => o.back && o.back(...r))
42
42
  }, [
43
43
  t(s, { name: n.undoIcon }, null, 8, ["name"])
@@ -54,7 +54,7 @@ function k(o, e, n, a, p, w) {
54
54
  }, {
55
55
  reference: c(() => [
56
56
  l("span", {
57
- class: f(["icon-wrap", "redo", o.historyState.forward ? "" : "disabled"]),
57
+ class: m(["icon-wrap", "redo", o.historyState.forward ? "" : "disabled"]),
58
58
  onClick: e[1] || (e[1] = (...r) => o.forward && o.forward(...r))
59
59
  }, [
60
60
  t(s, { name: n.redoIcon }, null, 8, ["name"])
@@ -64,7 +64,7 @@ function k(o, e, n, a, p, w) {
64
64
  }, 8, ["content"])
65
65
  ]);
66
66
  }
67
- const h = /* @__PURE__ */ v(g, [["render", k], ["__scopeId", "data-v-efd23f2b"]]), E = {
67
+ const h = /* @__PURE__ */ b(v, [["render", k], ["__scopeId", "data-v-846b5b0b"]]), E = {
68
68
  id: "aa",
69
69
  title: "redoundo",
70
70
  icon: "",
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .redo-undo-wrap[data-v-efd23f2b]{display:flex}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap{display:inline-flex;align-items:center;justify-content:center;height:32px;width:32px;border-radius:6px;font-size:20px}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap svg{color:var(--ti-lowcode-toolbar-title-color)}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap.disabled{cursor:not-allowed}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap.disabled svg{color:var(--ti-lowcode-disabled-color)}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap:not(.disabled):hover{background:var(--ti-lowcode-toolbar-view-active-bg)}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap:not(.disabled):hover svg{color:var(--ti-lowcode-toolbar-active-color)}.redo-undo-wrap[data-v-efd23f2b] .icon-wrap.redo{margin-left:-5px}
1
+ .redo-undo-wrap[data-v-846b5b0b]{display:flex}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap{display:inline-flex;align-items:center;justify-content:center;height:32px;width:32px;border-radius:6px}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap svg{color:var(--ti-lowcode-toolbar-title-color);font-size:20px}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap.disabled{cursor:not-allowed}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap.disabled svg{color:var(--ti-lowcode-disabled-color)}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap:not(.disabled):hover{background:var(--ti-lowcode-toolbar-view-active-bg)}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap:not(.disabled):hover svg{color:var(--ti-lowcode-toolbar-active-color)}.redo-undo-wrap[data-v-846b5b0b] .icon-wrap.redo{margin-left:-5px}
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-toolbar-redoundo",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
+ "scripts": {
8
+ "build": "vite build"
9
+ },
7
10
  "main": "dist/index.js",
8
11
  "module": "dist/index.js",
9
12
  "files": [
@@ -21,16 +24,16 @@
21
24
  "license": "MIT",
22
25
  "homepage": "https://opentiny.design/tiny-engine",
23
26
  "dependencies": {
24
- "@opentiny/vue": "~3.10.0",
25
- "vue": "3.2.45",
26
- "@opentiny/tiny-engine-controller": "1.0.2"
27
+ "@opentiny/tiny-engine-controller": "1.0.3",
28
+ "@opentiny/vue": "~3.10.0"
27
29
  },
28
30
  "devDependencies": {
29
31
  "@vitejs/plugin-vue": "^4.2.3",
30
32
  "@vitejs/plugin-vue-jsx": "^1.3.10",
31
33
  "vite": "^4.3.7"
32
34
  },
33
- "scripts": {
34
- "build": "vite build"
35
- }
36
- }
35
+ "peerDependencies": {
36
+ "vue": "^3.4.15"
37
+ },
38
+ "gitHead": "9a6cce3988accb39c97a9a21169c022c65a8e27f"
39
+ }