@opentiny/tiny-engine-toolbar-save 2.1.0-rc.0 → 2.2.0-beta.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,11 +1,11 @@
1
1
  import "./style.css";
2
- import { reactive as x, ref as B, onUnmounted as N, resolveComponent as u, openBlock as T, createElementBlock as O, createVNode as r, withCtx as l, createTextVNode as k, createBlock as M, createCommentVNode as U, createElementVNode as g, pushScopeId as D, popScopeId as L } from "vue";
3
- import { VueMonaco as G, ToolbarBase as R } from "@opentiny/tiny-engine-common";
4
- import { Button as j, Popover as I, DialogBox as J, Checkbox as q, Select as z } from "@opentiny/vue";
5
- import { usePage as F, useCanvas as h, getOptions as H, useNotify as C, useLayout as K, getMetaApi as Q, META_APP as W, useBlock as X } from "@opentiny/tiny-engine-meta-register";
6
- import { constants as Y } from "@opentiny/tiny-engine-utils";
7
- import { handlePageUpdate as Z } from "@opentiny/tiny-engine-common/js/http";
8
- const P = {
2
+ import { reactive as x, ref as P, onMounted as w, onUnmounted as D, resolveComponent as m, openBlock as A, createElementBlock as L, createVNode as d, withCtx as r, createElementVNode as g, createTextVNode as k, createBlock as M, createCommentVNode as U } from "vue";
3
+ import { VueMonaco as G, ToolbarBase as J } from "@opentiny/tiny-engine-common";
4
+ import { Button as R, Popover as j, DialogBox as Y, Checkbox as I, Select as q } from "@opentiny/vue";
5
+ import { usePage as z, useCanvas as S, getOptions as F, useNotify as C, useLayout as H, getMetaApi as K, META_APP as Q, useBlock as W } from "@opentiny/tiny-engine-meta-register";
6
+ import { constants as B } from "@opentiny/tiny-engine-utils";
7
+ import { handlePageUpdate as X } from "@opentiny/tiny-engine-common/js/http";
8
+ const E = {
9
9
  id: "engine.toolbars.save",
10
10
  type: "toolbars",
11
11
  title: "save",
@@ -15,36 +15,36 @@ const P = {
15
15
  },
16
16
  renderType: "button"
17
17
  }
18
- }, { PAGE_STATUS: m } = Y, b = x({
18
+ }, { PAGE_STATUS: v, AUTO_SAVED: V } = B, _ = x({
19
19
  visible: !1,
20
20
  code: "",
21
21
  originalCode: "",
22
22
  disabled: !1
23
- }), _ = B(!1), $ = async (a) => {
23
+ }), y = P(!1), Z = async (n) => {
24
24
  var i;
25
- const t = Q(W.BlockManage), { getCurrentBlock: o } = X(), e = o();
26
- e.label = a.fileName, e.content = a, _.value = !0, e.screenshot = await t.getBlockBase64(), await ((i = t.saveBlock) == null ? void 0 : i.call(t, e)), _.value = !1;
27
- }, ee = async (a) => {
28
- const { currentPage: t } = h().pageState, o = {
29
- page_content: a
25
+ const e = K(Q.BlockManage), { getCurrentBlock: o } = W(), t = o();
26
+ t.label = n.fileName, t.content = n, y.value = !0, t.screenshot = await e.getBlockBase64(), await ((i = e.saveBlock) == null ? void 0 : i.call(e, t)), y.value = !1;
27
+ }, $ = async (n) => {
28
+ const { currentPage: e } = S().pageState, o = {
29
+ page_content: n
30
30
  };
31
- _.value = !0, await Z(t.id, { ...t, ...o }, !1, !0), _.value = !1;
32
- }, S = (a) => {
33
- const { pageSettingState: t, isTemporaryPage: o } = F(), { isBlock: e, canvasApi: i, pageState: s, resetBlockCanvasState: d, resetPageCanvasState: c } = h(), n = JSON.parse(a), { selectNode: v } = i.value;
34
- if (e() ? d({ ...s, pageSchema: n }) : c({ ...s, pageSchema: n }), t != null && t.isAIPage) {
31
+ y.value = !0, await X(e.id, { ...e, ...o }, !1, !0), y.value = !1;
32
+ }, T = (n) => {
33
+ const { pageSettingState: e, isTemporaryPage: o } = z(), { isBlock: t, canvasApi: i, pageState: a, resetBlockCanvasState: u, resetPageCanvasState: l } = S(), s = JSON.parse(n), { selectNode: c } = i.value;
34
+ if (t() ? u({ ...a, pageSchema: s }) : l({ ...a, pageSchema: s }), e != null && e.isAIPage) {
35
35
  o.saved && (o.saved = !1), o.saved = !0;
36
36
  const p = "page_content";
37
- return t.currentPageData[p] = n, Promise.resolve();
37
+ return e.currentPageData[p] = s, Promise.resolve();
38
38
  }
39
- return v(null), e() ? $(n) : ee(n);
40
- }, V = async () => {
39
+ return c(null), t() ? Z(s) : $(s);
40
+ }, N = async () => {
41
41
  var p;
42
- const { isSaved: a, getSchema: t } = h();
43
- if (a() || b.disabled)
42
+ const { isSaved: n, getSchema: e } = S();
43
+ if (n() || _.disabled)
44
44
  return;
45
- const { beforeSave: o, saveMethod: e, saved: i } = H(P.id);
45
+ const { beforeSave: o, saveMethod: t, saved: i } = F(E.id);
46
46
  try {
47
- if (typeof o == "function" && await o(), typeof e == "function" && await e())
47
+ if (typeof o == "function" && await o(), typeof t == "function" && await t())
48
48
  return;
49
49
  } catch (f) {
50
50
  C({
@@ -52,24 +52,24 @@ const P = {
52
52
  message: `Error in saving: ${f}`
53
53
  });
54
54
  }
55
- const s = (p = K().layoutState) == null ? void 0 : p.pageStatus, d = s == null ? void 0 : s.state, c = s == null ? void 0 : s.data, n = {
56
- [m.Release]: "当前页面未锁定,请先锁定再保存",
57
- [m.Empty]: "当前应用无页面,请先新建页面再保存",
58
- [m.Guest]: "官网演示应用不能保存页面,如需体验请切换应用",
59
- [m.Lock]: `当前页面被 ${c == null ? void 0 : c.username} ${c == null ? void 0 : c.resetPasswordToken} 锁定,如需编辑请先联系他解锁文件,然后再锁定该页面后编辑!`
55
+ const a = (p = H().layoutState) == null ? void 0 : p.pageStatus, u = a == null ? void 0 : a.state, l = a == null ? void 0 : a.data, s = {
56
+ [v.Release]: "当前页面未锁定,请先锁定再保存",
57
+ [v.Empty]: "当前应用无页面,请先新建页面再保存",
58
+ [v.Guest]: "官网演示应用不能保存页面,如需体验请切换应用",
59
+ [v.Lock]: `当前页面被 ${l == null ? void 0 : l.username} ${l == null ? void 0 : l.resetPasswordToken} 锁定,如需编辑请先联系他解锁文件,然后再锁定该页面后编辑!`
60
60
  };
61
- if ([m.Release, m.Empty, m.Guest, m.Lock].includes(d)) {
61
+ if ([v.Release, v.Empty, v.Guest, v.Lock].includes(u)) {
62
62
  C({
63
63
  type: "error",
64
64
  title: "保存失败",
65
- message: n[d]
65
+ message: s[u]
66
66
  });
67
67
  return;
68
68
  }
69
- b.disabled = !0;
70
- const v = t();
71
- b.code = JSON.stringify(v || {}, null, 2), S(b.code).finally(() => {
72
- if (b.disabled = !1, typeof i == "function")
69
+ _.disabled = !0;
70
+ const c = e();
71
+ _.code = JSON.stringify(c || {}, null, 2), T(_.code).finally(() => {
72
+ if (_.disabled = !1, typeof i == "function")
73
73
  try {
74
74
  i();
75
75
  } catch (f) {
@@ -79,23 +79,36 @@ const P = {
79
79
  });
80
80
  }
81
81
  });
82
- }, oe = (a, t) => {
83
- const o = a.__vccOpts || a;
84
- for (const [e, i] of t)
85
- o[e] = i;
82
+ }, ee = () => {
83
+ try {
84
+ const n = localStorage.getItem(V);
85
+ return JSON.parse(n) ?? !1;
86
+ } catch {
87
+ return !1;
88
+ }
89
+ }, te = (n) => {
90
+ try {
91
+ return localStorage.setItem(V, JSON.stringify(n)), !0;
92
+ } catch {
93
+ return !1;
94
+ }
95
+ }, oe = (n, e) => {
96
+ const o = n.__vccOpts || n;
97
+ for (const [t, i] of e)
98
+ o[t] = i;
86
99
  return o;
87
- }, te = {
88
- saveCommon: S,
89
- openCommon: V
90
- }, ae = {
100
+ }, { OPEN_DELAY: ne } = B, ae = {
101
+ saveCommon: T,
102
+ openCommon: N
103
+ }, se = {
91
104
  components: {
92
105
  VueMonaco: G,
93
- TinyButton: j,
94
- TinyPopover: I,
95
- TinyDialogBox: J,
96
- TinyCheckbox: q,
97
- TinySelect: z,
98
- ToolbarBase: R
106
+ TinyButton: R,
107
+ TinyPopover: j,
108
+ TinyDialogBox: Y,
109
+ TinyCheckbox: I,
110
+ TinySelect: q,
111
+ ToolbarBase: J
99
112
  },
100
113
  props: {
101
114
  iconExpand: {
@@ -108,7 +121,7 @@ const P = {
108
121
  }
109
122
  },
110
123
  setup() {
111
- const { isSaved: a } = h(), t = [
124
+ const { isSaved: n } = S(), e = [
112
125
  { value: 5, label: "5分钟" },
113
126
  { value: 10, label: "10分钟" },
114
127
  { value: 15, label: "15分钟" }
@@ -120,148 +133,152 @@ const P = {
120
133
  timeValue: 5,
121
134
  checked: !1,
122
135
  preservationTime: null
123
- }), e = B(null), i = () => {
136
+ }), t = P(null), i = () => {
124
137
  o.visible = !1, o.originalCode = "";
125
- }, s = () => {
126
- _.value || V();
127
- }, d = () => {
128
- S();
129
- }, c = {
138
+ }, a = () => {
139
+ y.value || N();
140
+ }, u = () => {
141
+ T();
142
+ }, l = {
130
143
  language: "json",
131
144
  lineNumbers: !0,
132
145
  minimap: {
133
146
  enabled: !1
134
147
  }
135
- }, n = () => {
148
+ }, s = () => {
136
149
  clearTimeout(o.preservationTime), o.preservationTime = setTimeout(() => {
137
- s(), n();
150
+ a(), s();
138
151
  }, o.timeValue * 60 * 1e3);
139
- }, v = () => {
140
- o.checked ? n() : clearTimeout(o.preservationTime);
152
+ }, c = () => {
153
+ te(o.checked), o.checked ? s() : clearTimeout(o.preservationTime);
141
154
  };
142
- return N(() => {
155
+ return w(() => {
156
+ o.checked = ee(), o.checked && s();
157
+ }), D(() => {
143
158
  clearTimeout(o.preservationTime);
144
159
  }), {
145
160
  state: o,
146
- editor: e,
147
- editorOptions: c,
148
- isLoading: _,
149
- isSaved: a,
161
+ editor: t,
162
+ editorOptions: l,
163
+ isLoading: y,
164
+ isSaved: n,
150
165
  close: i,
151
- openApi: s,
152
- saveApi: d,
153
- delayOptions: t,
154
- autoSave: v
166
+ openApi: a,
167
+ saveApi: u,
168
+ delayOptions: e,
169
+ saveConfig: c,
170
+ OPEN_DELAY: ne
155
171
  };
156
172
  }
157
- }, w = (a) => (D("data-v-65d97e8e"), a = a(), L(), a), ne = { class: "toolbar-save" }, se = { class: "save-style" }, ie = /* @__PURE__ */ w(() => /* @__PURE__ */ g("div", { class: "save-setting" }, "保存设置", -1)), ce = { class: "save-time" }, le = /* @__PURE__ */ w(() => /* @__PURE__ */ g("div", { class: "save-time-label" }, "保存间隔", -1)), re = { class: "save-button-group" };
158
- function de(a, t, o, e, i, s) {
159
- const d = u("svg-icon"), c = u("vue-monaco"), n = u("tiny-button"), v = u("tiny-dialog-box"), p = u("toolbar-base"), f = u("tiny-checkbox"), A = u("tiny-select"), E = u("tiny-popover");
160
- return T(), O("div", ne, [
161
- r(E, {
162
- "visible-arrow": !1,
163
- width: "203",
164
- trigger: "hover"
173
+ }, ie = { class: "toolbar-save" }, le = { class: "save-style" }, re = { class: "save-time" }, ce = { class: "save-button-group" };
174
+ function de(n, e, o, t, i, a) {
175
+ const u = m("svg-icon"), l = m("tiny-checkbox"), s = m("tiny-select"), c = m("tiny-button"), p = m("tiny-popover"), f = m("vue-monaco"), O = m("tiny-dialog-box"), h = m("toolbar-base");
176
+ return A(), L("div", ie, [
177
+ d(h, {
178
+ content: t.isLoading ? "保存中" : "保存",
179
+ icon: o.options.icon.default || o.options.icon,
180
+ options: { ...o.options, showDots: !t.isSaved() },
181
+ onClickApi: t.openApi
165
182
  }, {
166
- reference: l(() => [
167
- r(p, {
168
- content: e.isLoading ? "保存中" : "保存",
169
- icon: o.options.icon.default || o.options.icon,
170
- options: { ...o.options, showDots: !e.isSaved() },
171
- onClickApi: e.openApi
183
+ button: r(() => [
184
+ d(p, {
185
+ "visible-arrow": !1,
186
+ width: "203",
187
+ trigger: "click",
188
+ "open-delay": t.OPEN_DELAY.Default
172
189
  }, {
173
- button: l(() => [
174
- r(d, { name: o.iconExpand }, null, 8, ["name"])
190
+ reference: r(() => [
191
+ d(u, { name: o.iconExpand }, null, 8, ["name"])
175
192
  ]),
176
- default: l(() => [
177
- r(v, {
178
- class: "dialog-box",
179
- modal: !1,
180
- fullscreen: !0,
181
- "append-to-body": !0,
182
- visible: e.state.visible,
183
- title: "Schema 本地与线上差异",
184
- "onUpdate:visible": t[0] || (t[0] = (y) => e.state.visible = y)
185
- }, {
186
- footer: l(() => [
187
- r(n, { onClick: e.close }, {
188
- default: l(() => [
189
- k(" 消")
190
- ]),
191
- _: 1
192
- }, 8, ["onClick"]),
193
- r(n, {
193
+ default: r(() => [
194
+ g("div", le, [
195
+ e[6] || (e[6] = g("div", { class: "save-setting" }, "保存设置", -1)),
196
+ d(l, {
197
+ modelValue: t.state.checked,
198
+ "onUpdate:modelValue": e[0] || (e[0] = (b) => t.state.checked = b),
199
+ name: "tiny-checkbox"
200
+ }, {
201
+ default: r(() => e[3] || (e[3] = [
202
+ k("自动保存")
203
+ ])),
204
+ _: 1
205
+ }, 8, ["modelValue"]),
206
+ g("div", re, [
207
+ e[4] || (e[4] = g("div", { class: "save-time-label" }, "保存间隔", -1)),
208
+ d(s, {
209
+ modelValue: t.state.timeValue,
210
+ "onUpdate:modelValue": e[1] || (e[1] = (b) => t.state.timeValue = b),
211
+ options: t.delayOptions,
212
+ disabled: !t.state.checked,
213
+ autocomplete: ""
214
+ }, null, 8, ["modelValue", "options", "disabled"])
215
+ ]),
216
+ g("div", ce, [
217
+ d(c, {
194
218
  type: "primary",
195
- onClick: e.saveApi
219
+ onClick: t.saveConfig
196
220
  }, {
197
- default: l(() => [
198
- k("保 存")
199
- ]),
221
+ default: r(() => e[5] || (e[5] = [
222
+ k("设置并保存")
223
+ ])),
200
224
  _: 1
201
225
  }, 8, ["onClick"])
202
- ]),
203
- default: l(() => [
204
- e.state.visible ? (T(), M(c, {
205
- key: 0,
206
- ref: "editor",
207
- class: "monaco-editor",
208
- diffEditor: !0,
209
- options: e.editorOptions,
210
- value: e.state.code,
211
- original: e.state.originalCode
212
- }, null, 8, ["options", "value", "original"])) : U("", !0)
213
- ]),
214
- _: 1
215
- }, 8, ["visible"])
226
+ ])
227
+ ])
216
228
  ]),
217
229
  _: 1
218
- }, 8, ["content", "icon", "options", "onClickApi"])
230
+ }, 8, ["open-delay"])
219
231
  ]),
220
- default: l(() => [
221
- g("div", se, [
222
- ie,
223
- r(f, {
224
- modelValue: e.state.checked,
225
- "onUpdate:modelValue": t[1] || (t[1] = (y) => e.state.checked = y),
226
- name: "tiny-checkbox"
227
- }, {
228
- default: l(() => [
229
- k("自动保存")
230
- ]),
231
- _: 1
232
- }, 8, ["modelValue"]),
233
- g("div", ce, [
234
- le,
235
- r(A, {
236
- modelValue: e.state.timeValue,
237
- "onUpdate:modelValue": t[2] || (t[2] = (y) => e.state.timeValue = y),
238
- options: e.delayOptions,
239
- disabled: !e.state.checked,
240
- autocomplete: ""
241
- }, null, 8, ["modelValue", "options", "disabled"])
242
- ]),
243
- g("div", re, [
244
- r(n, {
232
+ default: r(() => [
233
+ d(O, {
234
+ class: "dialog-box",
235
+ modal: !1,
236
+ fullscreen: !0,
237
+ "append-to-body": !0,
238
+ visible: t.state.visible,
239
+ title: "Schema 本地与线上差异",
240
+ "onUpdate:visible": e[2] || (e[2] = (b) => t.state.visible = b)
241
+ }, {
242
+ footer: r(() => [
243
+ d(c, { onClick: t.close }, {
244
+ default: r(() => e[7] || (e[7] = [
245
+ k("取 消")
246
+ ])),
247
+ _: 1
248
+ }, 8, ["onClick"]),
249
+ d(c, {
245
250
  type: "primary",
246
- onClick: e.autoSave
251
+ onClick: t.saveApi
247
252
  }, {
248
- default: l(() => [
249
- k("设置并保存")
250
- ]),
253
+ default: r(() => e[8] || (e[8] = [
254
+ k("保 存")
255
+ ])),
251
256
  _: 1
252
257
  }, 8, ["onClick"])
253
- ])
254
- ])
258
+ ]),
259
+ default: r(() => [
260
+ t.state.visible ? (A(), M(f, {
261
+ key: 0,
262
+ ref: "editor",
263
+ class: "monaco-editor",
264
+ diffEditor: !0,
265
+ options: t.editorOptions,
266
+ value: t.state.code,
267
+ original: t.state.originalCode
268
+ }, null, 8, ["options", "value", "original"])) : U("", !0)
269
+ ]),
270
+ _: 1
271
+ }, 8, ["visible"])
255
272
  ]),
256
273
  _: 1
257
- })
274
+ }, 8, ["content", "icon", "options", "onClickApi"])
258
275
  ]);
259
276
  }
260
- const ue = /* @__PURE__ */ oe(ae, [["render", de], ["__scopeId", "data-v-65d97e8e"]]), ge = {
261
- ...P,
277
+ const ue = /* @__PURE__ */ oe(se, [["render", de], ["__scopeId", "data-v-d7b68e59"]]), _e = {
278
+ ...E,
262
279
  entry: ue,
263
- apis: te
280
+ apis: ae
264
281
  };
265
282
  export {
266
- ge as default
283
+ _e as default
267
284
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .dots[data-v-65d97e8e]{width:6px;height:6px;background:var(--ti-lowcode-toolbar-dot-color);border-radius:50%;display:inline-block;position:absolute;top:4px;right:3px;z-index:100}.toolbar-save .save-button[data-v-65d97e8e]{background-color:var(--ti-lowcode-toolbar-button-bg);border:none;min-width:70px;height:26px;display:flex;align-items:center;padding:0 8px;border-radius:4px}.toolbar-save .save-button[data-v-65d97e8e]:not(.disabled):hover{background-color:var(--ti-lowcode-toolbar-button-bg)}.toolbar-save .save-button .save-title[data-v-65d97e8e]{margin:0 6px}.toolbar-save[data-v-65d97e8e] .icon-down-arrow:focus{outline:none}.save-style[data-v-65d97e8e]{padding:20px 12px;font-size:12px}.save-style .save-setting[data-v-65d97e8e]{font-size:14px;font-weight:600;line-height:20px;height:20px;margin-bottom:16px}.save-style .save-time[data-v-65d97e8e]{line-height:24px;font-size:12px;margin:12px 0 16px;display:flex}.save-style .save-time .save-time-label[data-v-65d97e8e]{width:60px}.save-style .save-time .tiny-select[data-v-65d97e8e]{width:103px;margin-left:12px}.save-style .save-time .tiny-select[data-v-65d97e8e] .tiny-input__suffix{width:12px;top:12px}.save-style .save-button-group[data-v-65d97e8e]{text-align:right}.save-style .save-button-group[data-v-65d97e8e] .tiny-button{min-width:40px;padding:0 8px;height:26px;line-height:24px;border:0;border-radius:4px}#saving[data-v-65d97e8e]{cursor:not-allowed;color:var(--ti-lowcode-disabled-color)}#saving[data-v-65d97e8e] svg{color:var(--ti-lowcode-disabled-color)}.dialog-box[data-v-65d97e8e] .tiny-dialog-box{display:flex;flex-direction:column}.dialog-box[data-v-65d97e8e] .tiny-dialog-box .tiny-dialog-box__body{flex:1}.dialog-box .monaco-editor[data-v-65d97e8e]{width:100%;height:100%}.changeRole a{color:var(--ti-lowcode-canvas-handle-hover-bg);padding:0 5px}
1
+ .dots[data-v-d7b68e59]{width:6px;height:6px;background:var(--ti-lowcode-toolbar-dot-color);border-radius:50%;display:inline-block;position:absolute;top:4px;right:3px;z-index:100}.toolbar-save .icon-down-arrow.icon-down-arrow[data-v-d7b68e59]{margin-left:var(--te-base-space-2x);margin-right:var(--te-base-space-0)}.toolbar-save .save-button[data-v-d7b68e59]{background-color:var(--ti-lowcode-toolbar-button-bg);border:none;min-width:70px;height:26px;display:flex;align-items:center;padding:0 8px;border-radius:4px}.toolbar-save .save-button[data-v-d7b68e59]:not(.disabled):hover{background-color:var(--ti-lowcode-toolbar-button-bg)}.toolbar-save[data-v-d7b68e59] .icon-down-arrow:focus{outline:none}.save-style[data-v-d7b68e59]{padding:8px 4px;font-size:12px}.save-style .save-setting[data-v-d7b68e59]{font-size:14px;font-weight:600;line-height:20px;height:20px;margin-bottom:16px}.save-style .save-time[data-v-d7b68e59]{line-height:24px;font-size:12px;margin:12px 0 16px;display:flex}.save-style .save-time .save-time-label[data-v-d7b68e59]{width:60px;color:var(--te-common-text-secondary)}.save-style .save-time .tiny-select[data-v-d7b68e59]{width:103px;margin-left:12px}.save-style .save-time .tiny-select[data-v-d7b68e59] .tiny-input__suffix{width:12px;top:12px}.save-style .save-button-group[data-v-d7b68e59]{text-align:right}#saving[data-v-d7b68e59]{cursor:not-allowed;color:var(--ti-lowcode-disabled-color)}#saving[data-v-d7b68e59] svg{color:var(--ti-lowcode-disabled-color)}.dialog-box[data-v-d7b68e59] .tiny-dialog-box{display:flex;flex-direction:column}.dialog-box[data-v-d7b68e59] .tiny-dialog-box .tiny-dialog-box__body{flex:1}.dialog-box .monaco-editor[data-v-d7b68e59]{width:100%;height:100%}.changeRole a{color:var(--ti-lowcode-canvas-handle-hover-bg);padding:0 5px}.save-style .save-time .tiny-input__inner{height:24px!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-toolbar-save",
3
- "version": "2.1.0-rc.0",
3
+ "version": "2.2.0-beta.3",
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.1.0-rc.0",
29
- "@opentiny/tiny-engine-meta-register": "2.1.0-rc.0",
30
- "@opentiny/tiny-engine-utils": "2.1.0-rc.0"
28
+ "@opentiny/tiny-engine-common": "2.2.0-beta.3",
29
+ "@opentiny/tiny-engine-meta-register": "2.2.0-beta.3",
30
+ "@opentiny/tiny-engine-utils": "2.2.0-beta.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.1.0-rc.0",
33
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.2.0-beta.3",
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.14.0",
40
40
  "vue": "^3.4.15"
41
41
  },
42
- "gitHead": "71a3549d5f1d38d2ed3934ce83b722b11878aa7c"
42
+ "gitHead": "04459f34e5ebdaca92355f7698cd4fea19f7ef95"
43
43
  }