@opentiny/tiny-engine-toolbar-media 2.0.0 → 2.1.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 +126 -139
- package/dist/style.css +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { ref as
|
|
3
|
-
import { Popover as
|
|
4
|
-
import { IconWebPlus as
|
|
5
|
-
import { useLayout as
|
|
2
|
+
import { ref as _, computed as B, reactive as X, toRaw as Y, watch as E, watchEffect as Z, onMounted as $, onUnmounted as ee, resolveComponent as f, openBlock as v, createBlock as T, withCtx as c, createElementVNode as t, createElementBlock as W, Fragment as te, renderList as ne, normalizeClass as ie, createVNode as g, createTextVNode as I, toDisplayString as r, createCommentVNode as D } from "vue";
|
|
3
|
+
import { Popover as oe, Input as ae, Switch as le } from "@opentiny/vue";
|
|
4
|
+
import { IconWebPlus as N } from "@opentiny/vue-icon";
|
|
5
|
+
import { useLayout as V, useCanvas as F } from "@opentiny/tiny-engine-meta-register";
|
|
6
6
|
import { ToolbarBase as se } from "@opentiny/tiny-engine-common";
|
|
7
|
-
const de = (
|
|
8
|
-
const d =
|
|
9
|
-
for (const [
|
|
10
|
-
d[
|
|
7
|
+
const de = (h, n) => {
|
|
8
|
+
const d = h.__vccOpts || h;
|
|
9
|
+
for (const [i, p] of n)
|
|
10
|
+
d[i] = p;
|
|
11
11
|
return d;
|
|
12
12
|
}, re = {
|
|
13
13
|
components: {
|
|
14
|
-
TinyPopover:
|
|
14
|
+
TinyPopover: oe,
|
|
15
15
|
TinyInput: ae,
|
|
16
16
|
TinySwitch: le,
|
|
17
17
|
ToolbarBase: se
|
|
@@ -30,9 +30,9 @@ const de = (b, n) => {
|
|
|
30
30
|
default: () => ({})
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
setup(
|
|
34
|
-
let d = null,
|
|
35
|
-
const { layoutState:
|
|
33
|
+
setup(h, { emit: n }) {
|
|
34
|
+
let d = null, i = "", p = "";
|
|
35
|
+
const { layoutState: w } = V(), u = _(!1), b = _(!1), m = _(!1), { getCanvasType: y } = F().canvasApi.value, C = _((y == null ? void 0 : y()) === "absolute"), o = B(() => V().getDimension()), x = B(() => o.value.scale * 100), a = X({
|
|
36
36
|
activeIndex: 0,
|
|
37
37
|
guideValue: "",
|
|
38
38
|
width: "",
|
|
@@ -43,15 +43,15 @@ const de = (b, n) => {
|
|
|
43
43
|
title: "添加大断点",
|
|
44
44
|
list: [
|
|
45
45
|
{
|
|
46
|
-
icon:
|
|
46
|
+
icon: N(),
|
|
47
47
|
text: "1280px"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
icon:
|
|
50
|
+
icon: N(),
|
|
51
51
|
text: "1440px"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
icon:
|
|
54
|
+
icon: N(),
|
|
55
55
|
text: "1920px"
|
|
56
56
|
}
|
|
57
57
|
],
|
|
@@ -93,8 +93,8 @@ const de = (b, n) => {
|
|
|
93
93
|
maxWidth: "1920px",
|
|
94
94
|
title: "大屏",
|
|
95
95
|
subTitle: "1200px 及以上",
|
|
96
|
-
content: "此处添加的样式将适用于 1200
|
|
97
|
-
enContent: "Style added here will apply at 1200px and up,unless they′re edited at a larger breakpoint"
|
|
96
|
+
content: "此处添加的样式将适用于 1200 像素及以上,除非它们在更大的断点处进行编辑。",
|
|
97
|
+
enContent: "Style added here will apply at 1200px and up,unless they′re edited at a larger breakpoint."
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
idx: 1,
|
|
@@ -150,232 +150,219 @@ const de = (b, n) => {
|
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
}), L = () => {
|
|
153
|
-
|
|
153
|
+
b.value = !1;
|
|
154
154
|
}, O = () => {
|
|
155
155
|
d = setTimeout(() => {
|
|
156
156
|
u.value = !0;
|
|
157
157
|
}, 1e3);
|
|
158
158
|
}, U = () => {
|
|
159
159
|
u.value = !1, clearTimeout(d);
|
|
160
|
-
}, X = () => {
|
|
161
|
-
y.toolbars.visiblePopover = !0, v.value = !0;
|
|
162
160
|
}, j = () => {
|
|
163
|
-
|
|
164
|
-
},
|
|
161
|
+
w.toolbars.visiblePopover = !0, m.value = !0;
|
|
162
|
+
}, q = () => {
|
|
163
|
+
w.toolbars.visiblePopover = !1, m.value = !1;
|
|
164
|
+
}, P = (e) => {
|
|
165
165
|
const l = document.querySelector(".reference-text"), s = l == null ? void 0 : l.contains(e.target);
|
|
166
|
-
l !== e.target && !s && (
|
|
167
|
-
},
|
|
168
|
-
|
|
166
|
+
l !== e.target && !s && (w.toolbars.visiblePopover = !1);
|
|
167
|
+
}, k = a.media.reduce((e, l, s) => (e[l.view] = { ...Y(l), index: s }, e), {}), S = (e) => {
|
|
168
|
+
h.isCanvas ? V().setDimension({
|
|
169
169
|
deviceType: e.view,
|
|
170
170
|
width: e.width,
|
|
171
171
|
minWidth: e.minWidth,
|
|
172
172
|
maxWidth: e.maxWidth
|
|
173
173
|
}) : (a.activeIndex = e.idx, n("setViewPort", e.width));
|
|
174
|
-
},
|
|
175
|
-
const s =
|
|
176
|
-
|
|
174
|
+
}, z = (e, l) => {
|
|
175
|
+
const s = k[l];
|
|
176
|
+
V().setDimension({
|
|
177
177
|
deviceType: s.view,
|
|
178
178
|
width: e ? `${e}px` : s.width,
|
|
179
179
|
minWidth: s.minWidth,
|
|
180
180
|
maxWidth: s.maxWidth
|
|
181
181
|
});
|
|
182
|
-
},
|
|
182
|
+
}, R = [
|
|
183
183
|
{ type: "mobile", min: 240, max: 480 },
|
|
184
184
|
{ type: "lanMobile", min: 480, max: 768 },
|
|
185
185
|
{ type: "tablet", min: 768, max: 992 },
|
|
186
186
|
{ type: "desktop", min: 992, max: 1200 },
|
|
187
187
|
{ type: "mdx", min: 1200, max: 1920 }
|
|
188
|
-
],
|
|
188
|
+
], G = (e) => {
|
|
189
189
|
var M;
|
|
190
190
|
const l = /^\d+$/;
|
|
191
|
-
String(e).match(l) ? Number(e) < 240 ? a.width = 240 : Number(e) > 1920 ? a.width = 1920 : a.width = e : a.width =
|
|
192
|
-
const s = Number(a.width),
|
|
193
|
-
|
|
194
|
-
},
|
|
195
|
-
const l =
|
|
196
|
-
String(e).match(s) ? Number(e) > 100 ? a.scaleValue = 100 : Number(e) < 20 ? a.scaleValue = 20 : a.scaleValue = e : a.scaleValue = p || parseInt(l.scale), a.scaleValue = Number(a.scaleValue).toFixed(2),
|
|
191
|
+
String(e).match(l) ? Number(e) < 240 ? a.width = 240 : Number(e) > 1920 ? a.width = 1920 : a.width = e : a.width = i || parseInt(o.value.width, 10);
|
|
192
|
+
const s = Number(a.width), Q = ((M = R.find((A) => A.min <= s && s <= A.max)) == null ? void 0 : M.type) || "desktop";
|
|
193
|
+
z(s, Q);
|
|
194
|
+
}, H = (e) => {
|
|
195
|
+
const l = k.mdx, s = /^\d+(\.\d+)?$/;
|
|
196
|
+
String(e).match(s) ? Number(e) > 100 ? a.scaleValue = 100 : Number(e) < 20 ? a.scaleValue = 20 : a.scaleValue = e : a.scaleValue = p || parseInt(l.scale), a.scaleValue = Number(a.scaleValue).toFixed(2), V().setDimension({
|
|
197
197
|
scale: Number(a.scaleValue) / 100
|
|
198
198
|
});
|
|
199
|
-
},
|
|
199
|
+
}, J = (e) => {
|
|
200
200
|
const { setCanvasType: l } = F().canvasApi.value;
|
|
201
201
|
l(e ? "absolute" : "normal");
|
|
202
202
|
};
|
|
203
203
|
E(
|
|
204
|
-
() =>
|
|
204
|
+
() => o.value.deviceType,
|
|
205
205
|
(e) => {
|
|
206
|
-
a.activeIndex =
|
|
206
|
+
a.activeIndex = k[e].index, a.readonly = e !== "mdx";
|
|
207
207
|
},
|
|
208
208
|
{ immediate: !0 }
|
|
209
209
|
), Z(() => {
|
|
210
|
-
a.scaleValue =
|
|
210
|
+
a.scaleValue = x.value.toFixed(2), p = x.value;
|
|
211
211
|
}), E(
|
|
212
|
-
() =>
|
|
212
|
+
() => o.value.width,
|
|
213
213
|
(e) => {
|
|
214
214
|
const l = parseInt(e, 10);
|
|
215
|
-
Number.isInteger(l) && (a.width = l,
|
|
215
|
+
Number.isInteger(l) && (a.width = l, i = l);
|
|
216
216
|
}
|
|
217
217
|
), $(() => {
|
|
218
|
-
document.addEventListener("click",
|
|
218
|
+
document.addEventListener("click", P);
|
|
219
219
|
}), ee(() => {
|
|
220
|
-
document.removeEventListener("click",
|
|
220
|
+
document.removeEventListener("click", P);
|
|
221
221
|
});
|
|
222
|
-
const
|
|
223
|
-
return S(
|
|
224
|
-
scale:
|
|
222
|
+
const K = o.value.deviceType || "desktop";
|
|
223
|
+
return S(k[K]), {
|
|
224
|
+
scale: x,
|
|
225
225
|
state: a,
|
|
226
|
-
active:
|
|
227
|
-
flag:
|
|
226
|
+
active: b,
|
|
227
|
+
flag: m,
|
|
228
228
|
hide: L,
|
|
229
|
-
layoutState:
|
|
229
|
+
layoutState: w,
|
|
230
230
|
visible: u,
|
|
231
231
|
showTips: O,
|
|
232
232
|
hideTips: U,
|
|
233
233
|
timer: d,
|
|
234
|
-
dimension:
|
|
234
|
+
dimension: o,
|
|
235
235
|
setViewPort: S,
|
|
236
|
-
showPopover:
|
|
237
|
-
hidePopover:
|
|
238
|
-
widthChange:
|
|
239
|
-
scaleChange:
|
|
236
|
+
showPopover: j,
|
|
237
|
+
hidePopover: q,
|
|
238
|
+
widthChange: G,
|
|
239
|
+
scaleChange: H,
|
|
240
240
|
isAbsolute: C,
|
|
241
|
-
changeCanvasType:
|
|
241
|
+
changeCanvasType: J
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
|
-
}, ce = { class: "toolbar-wrap" }, pe = { class: "toolbar-icon-wrap" }, ue = ["onClick"], me = { class: "media-content" },
|
|
244
|
+
}, ce = { class: "toolbar-wrap" }, pe = { class: "toolbar-icon-wrap" }, ue = ["onClick"], me = { class: "media-content" }, xe = { class: "media-title" }, ve = {
|
|
245
245
|
key: 0,
|
|
246
246
|
class: "sub-title"
|
|
247
|
-
},
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
}, he = { class: "content" }, we = {
|
|
248
|
+
class: "reference-text",
|
|
249
|
+
title: "画布设置"
|
|
250
|
+
}, be = { class: "content-wrap text-content" }, ye = { class: "title text-title" }, fe = { class: "setting" };
|
|
251
|
+
function ge(h, n, d, i, p, w) {
|
|
252
|
+
const u = f("svg-icon"), b = f("tiny-popover"), m = f("tiny-input"), y = f("tiny-switch"), C = f("toolbar-base");
|
|
253
|
+
return v(), T(C, { options: d.options }, {
|
|
251
254
|
default: c(() => [
|
|
252
255
|
t("div", ce, [
|
|
253
256
|
t("div", pe, [
|
|
254
|
-
(
|
|
255
|
-
key:
|
|
256
|
-
class:
|
|
257
|
-
onClick: (a) =>
|
|
257
|
+
(v(!0), W(te, null, ne(i.state.media, (o, x) => (v(), W("span", {
|
|
258
|
+
key: x,
|
|
259
|
+
class: ie(["icon", { active: i.state.activeIndex === x, "is-rotate": o.view === "lanMobile" }]),
|
|
260
|
+
onClick: (a) => i.setViewPort(o)
|
|
258
261
|
}, [
|
|
259
|
-
|
|
262
|
+
g(b, {
|
|
260
263
|
trigger: "hover",
|
|
261
|
-
width: "
|
|
264
|
+
width: "260",
|
|
262
265
|
"append-to-body": "",
|
|
263
266
|
"open-delay": 1e3,
|
|
264
267
|
"popper-class": "media-icon-popover"
|
|
265
268
|
}, {
|
|
266
269
|
reference: c(() => [
|
|
267
|
-
|
|
268
|
-
name:
|
|
270
|
+
g(u, {
|
|
271
|
+
name: o.liked,
|
|
269
272
|
class: "media-icon"
|
|
270
273
|
}, null, 8, ["name"])
|
|
271
274
|
]),
|
|
272
275
|
default: c(() => [
|
|
273
276
|
t("div", me, [
|
|
274
|
-
t("div",
|
|
275
|
-
t("div", null,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
277
|
+
t("div", xe, [
|
|
278
|
+
t("div", null, [
|
|
279
|
+
I(r(o.title) + " ", 1),
|
|
280
|
+
o.subTitle ? (v(), W("span", ve, [
|
|
281
|
+
n[3] || (n[3] = I(" (")),
|
|
282
|
+
o.view === "desktop" ? (v(), T(u, {
|
|
283
|
+
key: 0,
|
|
284
|
+
name: "stars"
|
|
285
|
+
})) : D("", !0),
|
|
286
|
+
t("span", null, r(o.subTitle), 1),
|
|
287
|
+
n[4] || (n[4] = I(") "))
|
|
288
|
+
])) : D("", !0)
|
|
289
|
+
])
|
|
286
290
|
]),
|
|
287
|
-
t("div",
|
|
291
|
+
t("div", he, r(o.content), 1)
|
|
288
292
|
])
|
|
289
293
|
]),
|
|
290
294
|
_: 2
|
|
291
295
|
}, 1024)
|
|
292
296
|
], 10, ue))), 128))
|
|
293
297
|
]),
|
|
294
|
-
d.isCanvas ? (
|
|
298
|
+
d.isCanvas ? (v(), T(b, {
|
|
295
299
|
key: 0,
|
|
296
|
-
width: "
|
|
300
|
+
width: "200",
|
|
297
301
|
trigger: "click",
|
|
298
302
|
"popper-class": "toolbar-media-popper"
|
|
299
303
|
}, {
|
|
300
304
|
reference: c(() => [
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
"append-to-body": "",
|
|
306
|
-
content: "画布设置"
|
|
307
|
-
}, {
|
|
308
|
-
reference: c(() => [
|
|
309
|
-
t("span", we, [
|
|
310
|
-
t("span", null, [
|
|
311
|
-
t("span", null, r(parseInt(o.state.width)), 1),
|
|
312
|
-
n[6] || (n[6] = t("span", { class: "symbol" }, "PX", -1))
|
|
313
|
-
]),
|
|
314
|
-
t("span", null, [
|
|
315
|
-
t("span", null, r(o.scale.toFixed(2)), 1),
|
|
316
|
-
n[7] || (n[7] = t("span", { class: "symbol" }, "%", -1))
|
|
317
|
-
])
|
|
318
|
-
])
|
|
305
|
+
t("span", we, [
|
|
306
|
+
t("span", null, [
|
|
307
|
+
t("span", null, r(parseInt(i.state.width)), 1),
|
|
308
|
+
n[5] || (n[5] = t("span", { class: "symbol" }, "px", -1))
|
|
319
309
|
]),
|
|
320
|
-
|
|
321
|
-
|
|
310
|
+
t("span", null, [
|
|
311
|
+
t("span", null, r(i.scale.toFixed(2)), 1),
|
|
312
|
+
n[6] || (n[6] = t("span", { class: "symbol" }, "%", -1))
|
|
313
|
+
])
|
|
314
|
+
])
|
|
322
315
|
]),
|
|
323
316
|
default: c(() => [
|
|
324
317
|
t("div", be, [
|
|
325
|
-
t("
|
|
318
|
+
t("div", ye, r(i.state.textData.title), 1),
|
|
326
319
|
t("div", fe, [
|
|
327
320
|
t("div", null, [
|
|
328
|
-
t("label",
|
|
329
|
-
|
|
330
|
-
modelValue:
|
|
331
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
332
|
-
onChange:
|
|
321
|
+
t("label", null, r(i.state.textData.width), 1),
|
|
322
|
+
g(m, {
|
|
323
|
+
modelValue: i.state.width,
|
|
324
|
+
"onUpdate:modelValue": n[0] || (n[0] = (o) => i.state.width = o),
|
|
325
|
+
onChange: i.widthChange
|
|
333
326
|
}, {
|
|
334
|
-
suffix: c(() => n[
|
|
335
|
-
t("span", null, "
|
|
327
|
+
suffix: c(() => n[7] || (n[7] = [
|
|
328
|
+
t("span", null, "px", -1)
|
|
336
329
|
])),
|
|
337
330
|
_: 1
|
|
338
331
|
}, 8, ["modelValue", "onChange"])
|
|
339
332
|
]),
|
|
340
333
|
t("div", null, [
|
|
341
|
-
t("label",
|
|
342
|
-
|
|
343
|
-
modelValue:
|
|
344
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
345
|
-
readonly:
|
|
346
|
-
onChange:
|
|
334
|
+
t("label", null, r(i.state.textData.scale), 1),
|
|
335
|
+
g(m, {
|
|
336
|
+
modelValue: i.state.scaleValue,
|
|
337
|
+
"onUpdate:modelValue": n[1] || (n[1] = (o) => i.state.scaleValue = o),
|
|
338
|
+
readonly: i.state.readonly,
|
|
339
|
+
onChange: i.scaleChange
|
|
347
340
|
}, {
|
|
348
|
-
suffix: c(() => n[
|
|
341
|
+
suffix: c(() => n[8] || (n[8] = [
|
|
349
342
|
t("span", null, "%", -1)
|
|
350
343
|
])),
|
|
351
344
|
_: 1
|
|
352
345
|
}, 8, ["modelValue", "readonly", "onChange"])
|
|
353
|
-
])
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
w(f, {
|
|
362
|
-
modelValue: o.isAbsolute,
|
|
363
|
-
"onUpdate:modelValue": n[2] || (n[2] = (i) => o.isAbsolute = i),
|
|
364
|
-
onChange: o.changeCanvasType
|
|
365
|
-
}, null, 8, ["modelValue", "onChange"])
|
|
366
|
-
])
|
|
346
|
+
]),
|
|
347
|
+
t("div", null, [
|
|
348
|
+
n[9] || (n[9] = t("label", null, r("自由布局"), -1)),
|
|
349
|
+
g(y, {
|
|
350
|
+
modelValue: i.isAbsolute,
|
|
351
|
+
"onUpdate:modelValue": n[2] || (n[2] = (o) => i.isAbsolute = o),
|
|
352
|
+
onChange: i.changeCanvasType
|
|
353
|
+
}, null, 8, ["modelValue", "onChange"])
|
|
367
354
|
])
|
|
368
355
|
])
|
|
369
356
|
])
|
|
370
357
|
]),
|
|
371
358
|
_: 1
|
|
372
|
-
})) :
|
|
359
|
+
})) : D("", !0)
|
|
373
360
|
])
|
|
374
361
|
]),
|
|
375
362
|
_: 1
|
|
376
363
|
}, 8, ["options"]);
|
|
377
364
|
}
|
|
378
|
-
const
|
|
365
|
+
const Ve = /* @__PURE__ */ de(re, [["render", ge], ["__scopeId", "data-v-4a9898e3"]]), ke = {
|
|
379
366
|
id: "engine.toolbars.media",
|
|
380
367
|
type: "toolbars",
|
|
381
368
|
title: "media",
|
|
@@ -385,10 +372,10 @@ const Ce = /* @__PURE__ */ de(re, [["render", ke], ["__scopeId", "data-v-40ac19c
|
|
|
385
372
|
},
|
|
386
373
|
renderType: "slot"
|
|
387
374
|
}
|
|
388
|
-
},
|
|
389
|
-
...
|
|
390
|
-
entry:
|
|
375
|
+
}, Ne = {
|
|
376
|
+
...ke,
|
|
377
|
+
entry: Ve
|
|
391
378
|
};
|
|
392
379
|
export {
|
|
393
|
-
|
|
380
|
+
Ne as default
|
|
394
381
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.toolbar-wrap[data-v-
|
|
1
|
+
.toolbar-wrap[data-v-4a9898e3]{display:flex;align-items:center}.toolbar-wrap .reference-text[data-v-4a9898e3]{cursor:pointer;height:var(--base-top-panel-height);line-height:var(--base-top-panel-height);padding:0 7px;color:var(--ti-lowcode-toolbar-breadcrumb-color);display:inline-block}.toolbar-wrap .reference-text>span[data-v-4a9898e3]:last-child{margin-left:8px}.toolbar-wrap .toolbar-icon-wrap[data-v-4a9898e3]{display:flex;flex-wrap:nowrap;align-items:center;gap:6px}.toolbar-wrap .toolbar-icon-wrap .icon[data-v-4a9898e3]{width:24px;height:24px;display:inline-flex;justify-content:center;align-items:center;border-radius:4px}.toolbar-wrap .toolbar-icon-wrap .icon svg[data-v-4a9898e3]{cursor:pointer;color:var(--ti-lowcode-toolbar-title-color);outline:none;width:18px;height:18px;margin-top:-.5px}.toolbar-wrap .toolbar-icon-wrap .icon.active[data-v-4a9898e3],.toolbar-wrap .toolbar-icon-wrap .icon[data-v-4a9898e3]:hover{background:var(--ti-lowcode-toolbar-view-active-bg)}.toolbar-wrap .toolbar-icon-wrap .icon.active svg[data-v-4a9898e3]{color:var(--ti-lowcode-common-primary-color)}.toolbar-wrap .more-setting .setting-item[data-v-4a9898e3]{display:flex;justify-content:space-between;padding:12px}.media-content[data-v-4a9898e3]{padding:12px 8px;line-height:18px}.media-content .media-title[data-v-4a9898e3]{font-weight:600}.media-content .content[data-v-4a9898e3]{color:var(--te-common-text-secondary)}.setting-content[data-v-4a9898e3]{padding:12px 8px}.content-wrap[data-v-4a9898e3]{padding:20px 12px}.content-wrap .title[data-v-4a9898e3]{font-weight:600;margin-bottom:16px}.content-wrap .setting[data-v-4a9898e3]{display:flex;flex-direction:column;gap:12px}.content-wrap .setting div[data-v-4a9898e3]{display:flex;align-items:center;justify-content:space-between}.content-wrap .setting div label[data-v-4a9898e3]{color:var(--te-common-text-secondary);min-width:64px}.content-wrap .setting div[data-v-4a9898e3]:last-child{justify-content:flex-start}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-media",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,11 +25,11 @@
|
|
|
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.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.1.0",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.
|
|
32
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.1.0",
|
|
33
33
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
34
34
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
35
35
|
"vite": "^5.4.2"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue-icon": "^3.14.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "faf3072c75ea5024689972e2a687916e084c156f"
|
|
43
43
|
}
|