@opentiny/tiny-engine-toolbar-lang 2.4.1 → 2.4.2

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 +11 -11
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -53,15 +53,15 @@ var f;
53
53
  (function(e) {
54
54
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
55
55
  })(f || (f = {}));
56
- var D = Object.defineProperty, _ = Object.getOwnPropertySymbols, j = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable, g = (e, n, t) => n in e ? D(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, H = (e, n) => {
56
+ var j = Object.defineProperty, _ = Object.getOwnPropertySymbols, D = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable, g = (e, n, t) => n in e ? j(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, M = (e, n) => {
57
57
  for (var t in n || (n = {}))
58
- j.call(n, t) && g(e, t, n[t]);
58
+ D.call(n, t) && g(e, t, n[t]);
59
59
  if (_)
60
60
  for (var t of _(n))
61
- F.call(n, t) && g(e, t, n[t]);
61
+ H.call(n, t) && g(e, t, n[t]);
62
62
  return e;
63
63
  };
64
- const M = {
64
+ const R = {
65
65
  easeInSine: [0.12, 0, 0.39, 0],
66
66
  easeOutSine: [0.61, 1, 0.88, 1],
67
67
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -87,17 +87,17 @@ const M = {
87
87
  easeOutBack: [0.34, 1.56, 0.64, 1],
88
88
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
89
89
  };
90
- H({
90
+ M({
91
91
  linear: L
92
- }, M);
93
- const { BROADCAST_CHANNEL: R } = T, U = {
92
+ }, R);
93
+ const { BROADCAST_CHANNEL: U } = T, W = {
94
94
  components: {
95
95
  ToolbarBase: S
96
96
  },
97
97
  props: {
98
98
  langChannel: {
99
99
  type: String,
100
- default: R.CanvasLang
100
+ default: U.CanvasLang
101
101
  },
102
102
  options: {
103
103
  type: Object,
@@ -127,13 +127,13 @@ const { BROADCAST_CHANNEL: R } = T, U = {
127
127
  }
128
128
  };
129
129
  }
130
- }, W = (e, n) => {
130
+ }, z = (e, n) => {
131
131
  const t = e.__vccOpts || e;
132
132
  for (const [a, o] of n)
133
133
  t[a] = o;
134
134
  return t;
135
135
  };
136
- function z(e, n, t, a, o, s) {
136
+ function F(e, n, t, a, o, s) {
137
137
  const l = B("toolbar-base");
138
138
  return P(), N(l, {
139
139
  content: "中英文切换",
@@ -142,7 +142,7 @@ function z(e, n, t, a, o, s) {
142
142
  onClickApi: a.changeLang
143
143
  }, null, 8, ["icon", "options", "onClickApi"]);
144
144
  }
145
- const G = /* @__PURE__ */ W(U, [["render", z], ["__scopeId", "data-v-d301d175"]]), V = {
145
+ const G = /* @__PURE__ */ z(W, [["render", F], ["__scopeId", "data-v-d301d175"]]), V = {
146
146
  id: "engine.toolbars.lang",
147
147
  type: "toolbars",
148
148
  title: "lang",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-toolbar-lang",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
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.4.1",
29
- "@opentiny/tiny-engine-utils": "2.4.1",
28
+ "@opentiny/tiny-engine-common": "2.4.2",
29
+ "@opentiny/tiny-engine-utils": "2.4.2",
30
30
  "@vueuse/core": "^9.6.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.4.1",
33
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.4.2",
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": "5a3c6f536a46e25338800e9fe4c72c12e0c32bc5"
42
+ "gitHead": "3c5679965e80e59a8083fe629086e42b7b5dde36"
43
43
  }