@figurosity/consumer-pose-generator 0.1.4 → 0.1.5
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/consumer-pose-generator.js +92 -92
- package/package.json +3 -3
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { ref as j, computed as y, watch as Ne, onBeforeMount as Co, defineComponent as T, h, openBlock as O, createBlock as _t, unref as A, createElementBlock as $, Fragment as Xe, renderList as Ze, createVNode as B, normalizeClass as mt, createElementVNode as De, toDisplayString as _o, onMounted as bt, onBeforeUnmount as Jt, Transition as qt, withDirectives as vt, vShow as yt, normalizeStyle as on, TransitionGroup as bo, withCtx as jt, inject as Io } from "vue";
|
|
3
3
|
import { useRoute as Po } from "vue-router";
|
|
4
4
|
import { defineStore as ie, getActivePinia as xo, storeToRefs as S } from "pinia";
|
|
5
|
-
import { getConfig as es, useDynamicImages as wo, DEFAULT as Me, SKINS as Gt, DURATION as Yt, NOTHING as
|
|
5
|
+
import { getConfig as es, DEFAULT_SATURATE as je, DEFAULT_CONTRAST as Ge, DEFAULT_BRIGHTNESS as Ye, useDynamicImages as wo, DEFAULT_VERTICAL as xs, DEFAULT_HORIZONTAL as ws, DEFAULT_SPACING as Ds, DEFAULT_VISIBLE as Do, DEFAULT as Me, SKINS as Gt, DURATION as Yt, NOTHING as Mo, EFFECTS as St, CAMERA_ANGLE as Ms, LIGHT_DIRECTION as As, GENDER as Tt, GRID as Ns, POSE_DIRECTION as Os, ADJUSTMENTS as ks, slugify as Ao, useEventBus as rn, useFilterStyle as No, FlipAnimation as Oo, useWakeLock as ko } from "@figurosity/toolbox";
|
|
6
6
|
import an from "lodash-es/debounce";
|
|
7
|
-
import { useQuasar as It, QSlider as
|
|
8
|
-
import { CExpansion as me, CBaseButton as Qe, CBaseButtons as ln, CNewGridTool as
|
|
9
|
-
import { historyCircle as un, contrast as dn, brightness as hn, shirt as
|
|
10
|
-
function
|
|
7
|
+
import { useQuasar as It, QSlider as Lo, QSeparator as J, QCard as Vo, QItem as Uo, QItemSection as Ls, QIcon as Ro, QItemLabel as Vs, QCardSection as Bo, QBtn as Oe, QPageSticky as $o, QCircularProgress as zo } from "quasar";
|
|
8
|
+
import { CExpansion as me, CBaseButton as Qe, CBaseButtons as ln, CNewGridTool as Ho, CBasicTool as ts, CAnimatedNumber as Fo, CGridOverlay as qo, CFloatingModal as jo, CDraggableDrawer as cn, CDraggableDrawers as Go } from "@figurosity/consumer-controls";
|
|
9
|
+
import { historyCircle as un, contrast as dn, brightness as hn, shirt as Yo, cameraAngle as Wo, bulbLight as Xo, venus as Zo, cameraOrientation as Qo, grid as Ko, refresh as Jo, pause as er, play as tr } from "@figurosity/icons";
|
|
10
|
+
function sr(e, t) {
|
|
11
11
|
for (var s = 0; s < t.length; s++) {
|
|
12
12
|
const n = t[s];
|
|
13
13
|
if (typeof n != "string" && !Array.isArray(n)) {
|
|
@@ -23,7 +23,7 @@ function tr(e, t) {
|
|
|
23
23
|
}
|
|
24
24
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const nr = {
|
|
27
27
|
models: {},
|
|
28
28
|
collection: [],
|
|
29
29
|
slugs: {},
|
|
@@ -102,7 +102,7 @@ const sr = {
|
|
|
102
102
|
actions: n = {}
|
|
103
103
|
}) => ie(e, {
|
|
104
104
|
state: () => ({
|
|
105
|
-
...
|
|
105
|
+
...nr,
|
|
106
106
|
...t
|
|
107
107
|
}),
|
|
108
108
|
getters: {
|
|
@@ -120,7 +120,7 @@ function Le(e) {
|
|
|
120
120
|
type: "conjunction"
|
|
121
121
|
}).format(e) : e.length === 1 ? e[0] : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}` : "";
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const or = {}, rr = {
|
|
124
124
|
src(e) {
|
|
125
125
|
return (t) => {
|
|
126
126
|
const s = this.propertyById(t, "slug");
|
|
@@ -132,27 +132,27 @@ const nr = {}, or = {
|
|
|
132
132
|
caption(e) {
|
|
133
133
|
return Le(e.selected.map((t) => e.models[t].name));
|
|
134
134
|
}
|
|
135
|
-
},
|
|
135
|
+
}, ir = {}, pe = ke({
|
|
136
136
|
storeId: "pg-cameras",
|
|
137
|
-
state:
|
|
138
|
-
getters:
|
|
139
|
-
actions:
|
|
140
|
-
}),
|
|
137
|
+
state: or,
|
|
138
|
+
getters: rr,
|
|
139
|
+
actions: ir
|
|
140
|
+
}), ge = ie("pg-adjustments", {
|
|
141
141
|
state: () => ({
|
|
142
|
-
brightness:
|
|
142
|
+
brightness: Ye,
|
|
143
143
|
contrast: Ge,
|
|
144
|
-
saturate:
|
|
144
|
+
saturate: je
|
|
145
145
|
}),
|
|
146
146
|
getters: {
|
|
147
|
-
brightnessChanged: (e) => e.brightness !==
|
|
147
|
+
brightnessChanged: (e) => e.brightness !== Ye,
|
|
148
148
|
contrastChanged: (e) => e.contrast !== Ge,
|
|
149
|
-
saturateChanged: (e) => e.saturate !==
|
|
149
|
+
saturateChanged: (e) => e.saturate !== je,
|
|
150
150
|
changed(e) {
|
|
151
151
|
return this.brightnessChanged || this.contrastChanged || this.saturateChanged;
|
|
152
152
|
},
|
|
153
153
|
caption(e) {
|
|
154
154
|
const t = [];
|
|
155
|
-
return e.brightness !==
|
|
155
|
+
return e.brightness !== Ye && t.push("Brightness"), e.contrast !== Ge && t.push("Contrast"), e.saturate !== je && t.push("Saturation"), t.length === 0 && t.push("None"), Le(t);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
actions: {
|
|
@@ -160,9 +160,9 @@ const nr = {}, or = {
|
|
|
160
160
|
if (!e)
|
|
161
161
|
throw new Error(this.$id + " result must not be null");
|
|
162
162
|
this.$patch({
|
|
163
|
-
brightness: e.brightness ||
|
|
163
|
+
brightness: e.brightness || Ye,
|
|
164
164
|
contrast: e.contrast || Ge,
|
|
165
|
-
saturate: e.saturate ||
|
|
165
|
+
saturate: e.saturate || je
|
|
166
166
|
});
|
|
167
167
|
},
|
|
168
168
|
setBrightness(e) {
|
|
@@ -175,20 +175,20 @@ const nr = {}, or = {
|
|
|
175
175
|
this.$patch({ saturate: e });
|
|
176
176
|
},
|
|
177
177
|
resetBrightness() {
|
|
178
|
-
this.$patch({ brightness:
|
|
178
|
+
this.$patch({ brightness: Ye });
|
|
179
179
|
},
|
|
180
180
|
resetContrast() {
|
|
181
181
|
this.$patch({ contrast: Ge });
|
|
182
182
|
},
|
|
183
183
|
resetSaturate() {
|
|
184
|
-
this.$patch({ saturate:
|
|
184
|
+
this.$patch({ saturate: je });
|
|
185
185
|
},
|
|
186
186
|
customReset() {
|
|
187
187
|
this.$reset();
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
}), { setSelected:
|
|
191
|
-
function
|
|
190
|
+
}), { setSelected: ar } = fn;
|
|
191
|
+
function Us(e, t = !0) {
|
|
192
192
|
if (!e) return t ? "0s" : "0 seconds";
|
|
193
193
|
const s = e === 1 ? "second" : "seconds";
|
|
194
194
|
if (e < 60)
|
|
@@ -218,13 +218,13 @@ const Z = ie("pg-durations", {
|
|
|
218
218
|
return e.collection.findIndex((s) => String(s) === String(t));
|
|
219
219
|
},
|
|
220
220
|
title(e) {
|
|
221
|
-
return
|
|
221
|
+
return Us(e.duration, !1);
|
|
222
222
|
},
|
|
223
223
|
values(e) {
|
|
224
224
|
const t = e.models;
|
|
225
225
|
return e.collection.map((n, r) => ({
|
|
226
226
|
value: r,
|
|
227
|
-
label:
|
|
227
|
+
label: Us(t[n].seconds)
|
|
228
228
|
})) || [];
|
|
229
229
|
},
|
|
230
230
|
...pn
|
|
@@ -241,7 +241,7 @@ const Z = ie("pg-durations", {
|
|
|
241
241
|
s.selected = t.id;
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
|
-
setSelected:
|
|
244
|
+
setSelected: ar,
|
|
245
245
|
setState(e) {
|
|
246
246
|
if (!e)
|
|
247
247
|
throw new Error(this.$id + " entities must not be null");
|
|
@@ -260,10 +260,10 @@ function Ke() {
|
|
|
260
260
|
const { freeServer: e, paidServer: t } = es();
|
|
261
261
|
return wo({ freeServer: e, paidServer: t });
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const lr = {
|
|
264
264
|
uuid: void 0,
|
|
265
265
|
playSelected: 1
|
|
266
|
-
},
|
|
266
|
+
}, cr = {
|
|
267
267
|
src(e) {
|
|
268
268
|
return (t) => {
|
|
269
269
|
const { getThumbnail: s } = Ke();
|
|
@@ -277,7 +277,7 @@ const ar = {
|
|
|
277
277
|
var t, s;
|
|
278
278
|
return ((s = (t = e.models) == null ? void 0 : t[e.playSelected]) == null ? void 0 : s.name) || "Normal";
|
|
279
279
|
}
|
|
280
|
-
},
|
|
280
|
+
}, ur = {
|
|
281
281
|
getSrc(e, t) {
|
|
282
282
|
const { getThumbnail: s } = Ke();
|
|
283
283
|
return t = t || this.uuid, s({ uuid: t, image: e });
|
|
@@ -308,13 +308,13 @@ const ar = {
|
|
|
308
308
|
}
|
|
309
309
|
}, V = ke({
|
|
310
310
|
storeId: "pg-skins",
|
|
311
|
-
state:
|
|
312
|
-
getters:
|
|
313
|
-
actions:
|
|
314
|
-
}),
|
|
311
|
+
state: lr,
|
|
312
|
+
getters: cr,
|
|
313
|
+
actions: ur
|
|
314
|
+
}), dr = {
|
|
315
315
|
selected: 1,
|
|
316
316
|
playSelected: 1
|
|
317
|
-
},
|
|
317
|
+
}, hr = {
|
|
318
318
|
src(e) {
|
|
319
319
|
return (t = "none") => {
|
|
320
320
|
const { getThumbnail: s } = Ke(), n = t === "negative" ? "000000" : "ffffff", r = V();
|
|
@@ -355,7 +355,7 @@ const ar = {
|
|
|
355
355
|
return s.name;
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
|
-
},
|
|
358
|
+
}, pr = {
|
|
359
359
|
setSelected(e, t = !1) {
|
|
360
360
|
if (t) {
|
|
361
361
|
this.$patch((s) => {
|
|
@@ -377,24 +377,24 @@ const ar = {
|
|
|
377
377
|
}
|
|
378
378
|
}, R = ke({
|
|
379
379
|
storeId: "pg-effects",
|
|
380
|
-
state:
|
|
381
|
-
getters:
|
|
382
|
-
actions:
|
|
383
|
-
}),
|
|
380
|
+
state: dr,
|
|
381
|
+
getters: hr,
|
|
382
|
+
actions: pr
|
|
383
|
+
}), fr = {}, gr = {
|
|
384
384
|
caption(e) {
|
|
385
385
|
return Le(e.selected.map((t) => e.models[t].name));
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, mr = {}, re = ke({
|
|
388
388
|
storeId: "pg-genders",
|
|
389
|
-
state:
|
|
390
|
-
getters:
|
|
391
|
-
actions:
|
|
392
|
-
}),
|
|
389
|
+
state: fr,
|
|
390
|
+
getters: gr,
|
|
391
|
+
actions: mr
|
|
392
|
+
}), Ie = ie("pg-grid", {
|
|
393
393
|
state: () => ({
|
|
394
|
-
visible:
|
|
395
|
-
spacing:
|
|
396
|
-
horizontal:
|
|
397
|
-
vertical:
|
|
394
|
+
visible: Do,
|
|
395
|
+
spacing: Ds,
|
|
396
|
+
horizontal: ws,
|
|
397
|
+
vertical: xs
|
|
398
398
|
}),
|
|
399
399
|
getters: {
|
|
400
400
|
changed: (e) => e.visible === !0,
|
|
@@ -408,9 +408,9 @@ const ar = {
|
|
|
408
408
|
throw new Error(this.$id + " result must not be null");
|
|
409
409
|
this.$patch({
|
|
410
410
|
visible: e.visible === 1,
|
|
411
|
-
spacing: e.spacing ||
|
|
412
|
-
horizontal: e.horizontal ||
|
|
413
|
-
vertical: e.vertical ||
|
|
411
|
+
spacing: e.spacing || Ds,
|
|
412
|
+
horizontal: e.horizontal || ws,
|
|
413
|
+
vertical: e.vertical || xs
|
|
414
414
|
});
|
|
415
415
|
},
|
|
416
416
|
customReset() {
|
|
@@ -1544,7 +1544,7 @@ const X = ie("pg-history", {
|
|
|
1544
1544
|
r();
|
|
1545
1545
|
}), { lang: s };
|
|
1546
1546
|
}, ae = ({
|
|
1547
|
-
tab: e =
|
|
1547
|
+
tab: e = Mo,
|
|
1548
1548
|
store: t,
|
|
1549
1549
|
options: s = [],
|
|
1550
1550
|
playMode: n = !1
|
|
@@ -1578,7 +1578,7 @@ const X = ie("pg-history", {
|
|
|
1578
1578
|
};
|
|
1579
1579
|
return [
|
|
1580
1580
|
h("div", { class: "q-mx-lg q-mt-sm q-mb-lg" }, [
|
|
1581
|
-
h(
|
|
1581
|
+
h(Lo, g, {
|
|
1582
1582
|
// single label slot, Quasar passes { index, label }
|
|
1583
1583
|
"marker-label": ({ marker: v }) => {
|
|
1584
1584
|
const C = { ...v.style, cursor: "default" };
|
|
@@ -1862,8 +1862,8 @@ const X = ie("pg-history", {
|
|
|
1862
1862
|
name: "PgCamerasExpansion",
|
|
1863
1863
|
setup(e, { slots: t, emit: s }) {
|
|
1864
1864
|
const { lang: n } = M(), r = pe(), { caption: a } = S(r), { expanded: c } = ae({
|
|
1865
|
-
options:
|
|
1866
|
-
tab:
|
|
1865
|
+
options: Ms,
|
|
1866
|
+
tab: Ms
|
|
1867
1867
|
}), d = y(() => {
|
|
1868
1868
|
var f;
|
|
1869
1869
|
return (f = n.value.pg) == null ? void 0 : f.tools.angle;
|
|
@@ -1916,8 +1916,8 @@ const X = ie("pg-history", {
|
|
|
1916
1916
|
name: "PgLightsExpansion",
|
|
1917
1917
|
setup(e, { slots: t, emit: s }) {
|
|
1918
1918
|
const { lang: n } = M(), r = ee(), { caption: a } = S(r), { expanded: c } = ae({
|
|
1919
|
-
options:
|
|
1920
|
-
tab:
|
|
1919
|
+
options: As,
|
|
1920
|
+
tab: As
|
|
1921
1921
|
}), d = y(() => {
|
|
1922
1922
|
var f;
|
|
1923
1923
|
return (f = n.value.pg) == null ? void 0 : f.tools.light;
|
|
@@ -2034,7 +2034,7 @@ const X = ie("pg-history", {
|
|
|
2034
2034
|
"onUpdate:vertical": (v) => d.value = v,
|
|
2035
2035
|
onToggle: u
|
|
2036
2036
|
};
|
|
2037
|
-
return h(
|
|
2037
|
+
return h(Ho, g);
|
|
2038
2038
|
}
|
|
2039
2039
|
return () => f();
|
|
2040
2040
|
}
|
|
@@ -2045,8 +2045,8 @@ const X = ie("pg-history", {
|
|
|
2045
2045
|
},
|
|
2046
2046
|
setup(e, { slots: t, emit: s }) {
|
|
2047
2047
|
const { lang: n } = M(), r = Ie(), { caption: a } = S(r), { expanded: c } = ae({
|
|
2048
|
-
options:
|
|
2049
|
-
tab:
|
|
2048
|
+
options: Ns,
|
|
2049
|
+
tab: Ns,
|
|
2050
2050
|
playMode: e.playMode
|
|
2051
2051
|
}), d = y(() => {
|
|
2052
2052
|
var f;
|
|
@@ -2117,8 +2117,8 @@ const X = ie("pg-history", {
|
|
|
2117
2117
|
name: "PgEffectsExpansion",
|
|
2118
2118
|
setup(e, { slots: t, emit: s }) {
|
|
2119
2119
|
const { lang: n } = M(), r = fe(), { caption: a } = S(r), { expanded: c } = ae({
|
|
2120
|
-
options:
|
|
2121
|
-
tab:
|
|
2120
|
+
options: Os,
|
|
2121
|
+
tab: Os
|
|
2122
2122
|
}), d = y(() => {
|
|
2123
2123
|
var f;
|
|
2124
2124
|
return (f = n.value.pg) == null ? void 0 : f.tools.position;
|
|
@@ -2204,8 +2204,8 @@ const X = ie("pg-history", {
|
|
|
2204
2204
|
},
|
|
2205
2205
|
setup(e, { slots: t, emit: s }) {
|
|
2206
2206
|
const { lang: n } = M(), r = ge(), { caption: a } = S(r), { expanded: c } = ae({
|
|
2207
|
-
options:
|
|
2208
|
-
tab:
|
|
2207
|
+
options: ks,
|
|
2208
|
+
tab: ks,
|
|
2209
2209
|
playMode: e.playMode
|
|
2210
2210
|
}), d = y(() => {
|
|
2211
2211
|
var f;
|
|
@@ -2274,29 +2274,29 @@ const X = ie("pg-history", {
|
|
|
2274
2274
|
function n() {
|
|
2275
2275
|
const r = {
|
|
2276
2276
|
class: "pg-card",
|
|
2277
|
-
"data-cy": "pg-card-" +
|
|
2277
|
+
"data-cy": "pg-card-" + Ao(e.label)
|
|
2278
2278
|
// style: style.value,
|
|
2279
2279
|
};
|
|
2280
2280
|
return h("div", r, [
|
|
2281
2281
|
h(
|
|
2282
|
-
|
|
2282
|
+
Vo,
|
|
2283
2283
|
{ flat: !0, bordered: !0 },
|
|
2284
2284
|
{
|
|
2285
2285
|
default: () => [
|
|
2286
|
-
h(
|
|
2287
|
-
h(
|
|
2288
|
-
h(
|
|
2286
|
+
h(Uo, {}, () => [
|
|
2287
|
+
h(Ls, { avatar: !0 }, () => [
|
|
2288
|
+
h(Ro, { name: e.icon, size: "36px" })
|
|
2289
2289
|
]),
|
|
2290
|
-
h(
|
|
2291
|
-
h(
|
|
2290
|
+
h(Ls, {}, () => [
|
|
2291
|
+
h(Vs, { class: "pg-card-label" }, () => e.label),
|
|
2292
2292
|
h(
|
|
2293
|
-
|
|
2293
|
+
Vs,
|
|
2294
2294
|
{ class: "pg-card-caption", caption: !0 },
|
|
2295
2295
|
() => e.caption
|
|
2296
2296
|
)
|
|
2297
2297
|
])
|
|
2298
2298
|
]),
|
|
2299
|
-
h(
|
|
2299
|
+
h(Bo, null, {
|
|
2300
2300
|
default: () => t.default ? t.default() : []
|
|
2301
2301
|
})
|
|
2302
2302
|
]
|
|
@@ -2336,7 +2336,7 @@ const X = ie("pg-history", {
|
|
|
2336
2336
|
class: "pg-skins-card",
|
|
2337
2337
|
label: a.value,
|
|
2338
2338
|
caption: c.value,
|
|
2339
|
-
icon:
|
|
2339
|
+
icon: Yo
|
|
2340
2340
|
};
|
|
2341
2341
|
return h(ve, u, {
|
|
2342
2342
|
default: () => h(ss, { desktop: !0 })
|
|
@@ -2375,7 +2375,7 @@ const X = ie("pg-history", {
|
|
|
2375
2375
|
class: "pg-cameras-card",
|
|
2376
2376
|
label: c.value,
|
|
2377
2377
|
caption: a.value,
|
|
2378
|
-
icon:
|
|
2378
|
+
icon: Wo
|
|
2379
2379
|
};
|
|
2380
2380
|
return h(ve, u, () => [h(_n)]);
|
|
2381
2381
|
}
|
|
@@ -2393,7 +2393,7 @@ const X = ie("pg-history", {
|
|
|
2393
2393
|
class: "pg-lights-card",
|
|
2394
2394
|
label: c.value,
|
|
2395
2395
|
caption: a.value,
|
|
2396
|
-
icon:
|
|
2396
|
+
icon: Xo
|
|
2397
2397
|
};
|
|
2398
2398
|
return h(ve, u, {
|
|
2399
2399
|
default: () => h(bn, { desktop: !0 })
|
|
@@ -2418,7 +2418,7 @@ const X = ie("pg-history", {
|
|
|
2418
2418
|
class: "pg-genders-card",
|
|
2419
2419
|
label: c.value,
|
|
2420
2420
|
caption: a.value,
|
|
2421
|
-
icon:
|
|
2421
|
+
icon: Zo
|
|
2422
2422
|
};
|
|
2423
2423
|
return h(ve, u, () => [h(In)]);
|
|
2424
2424
|
}
|
|
@@ -2436,7 +2436,7 @@ const X = ie("pg-history", {
|
|
|
2436
2436
|
class: "pg-pose-position-card",
|
|
2437
2437
|
label: c.value,
|
|
2438
2438
|
caption: a.value,
|
|
2439
|
-
icon:
|
|
2439
|
+
icon: Qo
|
|
2440
2440
|
};
|
|
2441
2441
|
return h(ve, u, {
|
|
2442
2442
|
default: () => h(wn)
|
|
@@ -2462,7 +2462,7 @@ const X = ie("pg-history", {
|
|
|
2462
2462
|
class: "pg-grid-card",
|
|
2463
2463
|
label: c.value,
|
|
2464
2464
|
caption: a.value,
|
|
2465
|
-
icon:
|
|
2465
|
+
icon: Ko
|
|
2466
2466
|
};
|
|
2467
2467
|
return h(ve, u, { default: () => h(Pn) });
|
|
2468
2468
|
}
|
|
@@ -2572,7 +2572,7 @@ const X = ie("pg-history", {
|
|
|
2572
2572
|
class: ""
|
|
2573
2573
|
};
|
|
2574
2574
|
return h("div", g, [
|
|
2575
|
-
h(
|
|
2575
|
+
h(Fo, v),
|
|
2576
2576
|
h("span", {}, " " + d.value)
|
|
2577
2577
|
]);
|
|
2578
2578
|
}
|
|
@@ -2676,7 +2676,7 @@ const X = ie("pg-history", {
|
|
|
2676
2676
|
imageSize: C.value,
|
|
2677
2677
|
viewportSize: g.value
|
|
2678
2678
|
};
|
|
2679
|
-
return h(
|
|
2679
|
+
return h(qo, I);
|
|
2680
2680
|
}
|
|
2681
2681
|
return () => P();
|
|
2682
2682
|
}
|
|
@@ -2748,7 +2748,7 @@ const X = ie("pg-history", {
|
|
|
2748
2748
|
class: "pg-button-exit",
|
|
2749
2749
|
"data-cy": "pg-button-exit",
|
|
2750
2750
|
label: a.value,
|
|
2751
|
-
icon:
|
|
2751
|
+
icon: Jo,
|
|
2752
2752
|
onClick: n.close,
|
|
2753
2753
|
color: "primary",
|
|
2754
2754
|
onKeyup: c,
|
|
@@ -2761,7 +2761,7 @@ const X = ie("pg-history", {
|
|
|
2761
2761
|
qt,
|
|
2762
2762
|
{ name: "fade" },
|
|
2763
2763
|
() => vt(
|
|
2764
|
-
h(
|
|
2764
|
+
h($o, u, () => [h(Oe, f)]),
|
|
2765
2765
|
[[yt, e.show]]
|
|
2766
2766
|
)
|
|
2767
2767
|
);
|
|
@@ -2816,7 +2816,7 @@ const X = ie("pg-history", {
|
|
|
2816
2816
|
}), Si = T({
|
|
2817
2817
|
name: "PgNextButton",
|
|
2818
2818
|
setup(e, { slots: t, emit: s }) {
|
|
2819
|
-
const n = he(), r = Z(), { milliseconds: a } = S(n), { duration: c } = S(r), d = Te(), { playing: u } = S(n), f = y(() => u.value ?
|
|
2819
|
+
const n = he(), r = Z(), { milliseconds: a } = S(n), { duration: c } = S(r), d = Te(), { playing: u } = S(n), f = y(() => u.value ? er : tr), g = () => u.value ? d.pause() : d.play();
|
|
2820
2820
|
function v() {
|
|
2821
2821
|
const C = {
|
|
2822
2822
|
type: "play",
|
|
@@ -2833,7 +2833,7 @@ const X = ie("pg-history", {
|
|
|
2833
2833
|
thickness: 0.2,
|
|
2834
2834
|
instantFeedback: !0
|
|
2835
2835
|
};
|
|
2836
|
-
return h(ns, C, () => [h(
|
|
2836
|
+
return h(ns, C, () => [h(zo, _)]);
|
|
2837
2837
|
}
|
|
2838
2838
|
return () => v();
|
|
2839
2839
|
}
|
|
@@ -2940,7 +2940,7 @@ const X = ie("pg-history", {
|
|
|
2940
2940
|
topOffset: 80,
|
|
2941
2941
|
"onUpdate:modelValue": (c) => n.value = c
|
|
2942
2942
|
};
|
|
2943
|
-
return h(
|
|
2943
|
+
return h(jo, a, {
|
|
2944
2944
|
default: () => h(Ln),
|
|
2945
2945
|
expanded: () => h(Un)
|
|
2946
2946
|
});
|
|
@@ -2987,7 +2987,7 @@ const X = ie("pg-history", {
|
|
|
2987
2987
|
setup(e) {
|
|
2988
2988
|
const t = ge(), s = X();
|
|
2989
2989
|
Pe();
|
|
2990
|
-
const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } =
|
|
2990
|
+
const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } = No({
|
|
2991
2991
|
brightness: a,
|
|
2992
2992
|
contrast: c,
|
|
2993
2993
|
saturate: d,
|
|
@@ -4208,7 +4208,7 @@ function xi() {
|
|
|
4208
4208
|
})(Ht)), Ht.exports;
|
|
4209
4209
|
}
|
|
4210
4210
|
var xt = xi();
|
|
4211
|
-
const oe = /* @__PURE__ */
|
|
4211
|
+
const oe = /* @__PURE__ */ sr({
|
|
4212
4212
|
__proto__: null
|
|
4213
4213
|
}, [xt]), Rn = 1, Bn = 2, Zt = 4, wi = {
|
|
4214
4214
|
mousedown: Rn,
|
|
@@ -4901,7 +4901,7 @@ const ia = {
|
|
|
4901
4901
|
const n = k(), { mobileActive: r } = S(n);
|
|
4902
4902
|
function a() {
|
|
4903
4903
|
return h(
|
|
4904
|
-
|
|
4904
|
+
Go,
|
|
4905
4905
|
{
|
|
4906
4906
|
modelValue: r.value,
|
|
4907
4907
|
"onUpdate:modelValue": (c) => r.value = c
|
|
@@ -4938,7 +4938,7 @@ const ia = {
|
|
|
4938
4938
|
B(Pi),
|
|
4939
4939
|
B(qt, { name: "fade" }, {
|
|
4940
4940
|
default: jt(() => [
|
|
4941
|
-
vt(B(A(
|
|
4941
|
+
vt(B(A(Oo), { class: "loading-graphic" }, null, 512), [
|
|
4942
4942
|
[yt, A(c)]
|
|
4943
4943
|
])
|
|
4944
4944
|
]),
|
|
@@ -4976,7 +4976,7 @@ const ia = {
|
|
|
4976
4976
|
d.pause();
|
|
4977
4977
|
},
|
|
4978
4978
|
{ immediate: !0 }
|
|
4979
|
-
),
|
|
4979
|
+
), ko(), bt(() => {
|
|
4980
4980
|
f.init(), f.fetch().then(() => {
|
|
4981
4981
|
u.loadQueue();
|
|
4982
4982
|
}).catch(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@figurosity/consumer-pose-generator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Timed figure-drawing pose generator for the Figurosity consumer frontend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/consumer-pose-generator.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@figurosity/consumer-controls": "^0.2.0",
|
|
34
34
|
"@figurosity/icons": "^1.0.0",
|
|
35
|
-
"@figurosity/toolbox": "^0.2.
|
|
35
|
+
"@figurosity/toolbox": "^0.2.8",
|
|
36
36
|
"lodash-es": "^4.17.0",
|
|
37
37
|
"lodash.debounce": "^4.0.8",
|
|
38
38
|
"pinia": "^3.0.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@eslint/js": "^9.0.0",
|
|
45
45
|
"@figurosity/consumer-controls": "^0.2.0",
|
|
46
46
|
"@figurosity/icons": "^1.0.0",
|
|
47
|
-
"@figurosity/toolbox": "^0.2.
|
|
47
|
+
"@figurosity/toolbox": "^0.2.8",
|
|
48
48
|
"@quasar/extras": "^1.16.0",
|
|
49
49
|
"@quasar/vite-plugin": "^1.7.0",
|
|
50
50
|
"@vitejs/plugin-vue": "^5.0.0",
|