@codingfactory/mediables-vue 2.4.16 → 2.4.18
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/{PixiFrameExporter-BJgx5idV.js → PixiFrameExporter-nyNuO2Eg.js} +2 -2
- package/dist/{PixiFrameExporter-BJgx5idV.js.map → PixiFrameExporter-nyNuO2Eg.js.map} +1 -1
- package/dist/{PixiFrameExporter-DKN__2tw.cjs → PixiFrameExporter-xKH2b9TP.cjs} +2 -2
- package/dist/{PixiFrameExporter-DKN__2tw.cjs.map → PixiFrameExporter-xKH2b9TP.cjs.map} +1 -1
- package/dist/components/ImageEditorModal.vue.d.ts +1 -2
- package/dist/editor-BIDFjsrP.cjs +42 -0
- package/dist/editor-BIDFjsrP.cjs.map +1 -0
- package/dist/{editor-BQNym0-5.js → editor-BfdrdqUU.js} +451 -441
- package/dist/editor-BfdrdqUU.js.map +1 -0
- package/dist/{index-DCljToZr.cjs → index-BLELmZZs.cjs} +4 -4
- package/dist/index-BLELmZZs.cjs.map +1 -0
- package/dist/{index-DHKu69UX.js → index-JKTSyJp3.js} +8 -9
- package/dist/index-JKTSyJp3.js.map +1 -0
- package/dist/mediables-vanilla.cjs +1 -1
- package/dist/mediables-vanilla.mjs +1 -1
- package/dist/mediables-vue.cjs +1 -1
- package/dist/mediables-vue.mjs +2 -2
- package/dist/render-page/assets/{index-DigDyl_v.js → index-ZZVWF3LA.js} +34 -4
- package/dist/render-page/index.html +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/editor-2YMaYryX.cjs +0 -42
- package/dist/editor-2YMaYryX.cjs.map +0 -1
- package/dist/editor-BQNym0-5.js.map +0 -1
- package/dist/index-DCljToZr.cjs.map +0 -1
- package/dist/index-DHKu69UX.js.map +0 -1
|
@@ -5,7 +5,7 @@ import { defineStore as jo, storeToRefs as Ic } from "pinia";
|
|
|
5
5
|
import { ref as E, computed as B, defineComponent as We, onMounted as ut, watch as Fe, onUnmounted as rt, createElementBlock as T, openBlock as k, onBeforeUnmount as Rc, createBlock as Ge, Teleport as Gl, createCommentVNode as ee, withKeys as pa, createElementVNode as r, createVNode as P, nextTick as Nt, withDirectives as Oe, Fragment as Pe, renderList as Ne, toDisplayString as K, vModelSelect as jt, unref as p, renderSlot as Mt, toValue as Wr, getCurrentScope as $c, toRefs as Vc, resolveComponent as go, withCtx as oe, createTextVNode as Me, vModelText as nt, normalizeClass as He, createStaticVNode as Pi, createSlots as Uc, mergeProps as yo, normalizeStyle as ot, withModifiers as Ot, reactive as Qi, vModelCheckbox as Ga, shallowRef as Wo, vShow as pi, onErrorCaptured as Oc, Transition as Ac, isRef as Ys, provide as ma, normalizeProps as Jl, guardReactiveProps as Yl } from "vue";
|
|
6
6
|
import * as gt from "pixi.js";
|
|
7
7
|
import { Texture as Hn, Sprite as Ja, TextStyle as Lc, Text as Un, Color as Ks, Container as tn, autoDetectRenderer as Pc, Filter as zc, CanvasTextMetrics as Dc, Graphics as Bc } from "pixi.js";
|
|
8
|
-
import { a as fa, d as Nc, g as Kl, i as ql, V as jc, b as Wc, e as Zo, f as Zc } from "./editor-
|
|
8
|
+
import { a as fa, d as Nc, g as Kl, i as ql, V as jc, b as Wc, e as Zo, f as Zc } from "./editor-BfdrdqUU.js";
|
|
9
9
|
import { IonModal as Gn, IonHeader as Jn, IonToolbar as Oi, IonTitle as Yn, IonButtons as Li, IonButton as tt, IonIcon as me, IonSegment as Xc, IonSegmentButton as qs, IonLabel as $t, IonBadge as Hc, IonContent as Kn, IonSearchbar as Gc, IonSpinner as ni, IonList as Jc, IonInfiniteScroll as Yc, IonInfiniteScrollContent as Kc, IonFooter as Xo, toastController as Ql, alertController as qc, IonRange as Qc, IonToggle as ep, IonProgressBar as tp, IonItem as Vi, IonCheckbox as bo, isPlatform as eu, IonInput as Zr, IonText as kn, IonTextarea as Xr, IonNote as Hr, IonAlert as ip, IonCard as Gr, IonSkeletonText as ap } from "@ionic/vue";
|
|
10
10
|
import { GlowFilter as np } from "pixi-filters";
|
|
11
11
|
const wo = 1, sp = /* @__PURE__ */ new Set(["free", "square", "circle"]);
|
|
@@ -584,7 +584,6 @@ const hp = /* @__PURE__ */ We({
|
|
|
584
584
|
sessionKey: { default: 0 },
|
|
585
585
|
acceptedFormats: { default: "image/jpeg,image/png,image/webp,image/gif" },
|
|
586
586
|
maxFileSize: { default: 10 },
|
|
587
|
-
onSave: {},
|
|
588
587
|
theme: { default: "auto" },
|
|
589
588
|
cropShape: { default: "square" },
|
|
590
589
|
preset: {},
|
|
@@ -610,9 +609,9 @@ const hp = /* @__PURE__ */ We({
|
|
|
610
609
|
Fe(() => e.modelValue, (y) => {
|
|
611
610
|
s.value = y, y && (u.value = document.activeElement, d());
|
|
612
611
|
}, { immediate: !0 });
|
|
613
|
-
const c =
|
|
612
|
+
const c = (y) => {
|
|
614
613
|
try {
|
|
615
|
-
o.value = !0,
|
|
614
|
+
o.value = !0, i("save", y);
|
|
616
615
|
} catch (C) {
|
|
617
616
|
l(C);
|
|
618
617
|
} finally {
|
|
@@ -680,7 +679,7 @@ const hp = /* @__PURE__ */ We({
|
|
|
680
679
|
], 544)) : ee("", !0)
|
|
681
680
|
]));
|
|
682
681
|
}
|
|
683
|
-
}), wp = /* @__PURE__ */ Xe(bp, [["__scopeId", "data-v-
|
|
682
|
+
}), wp = /* @__PURE__ */ Xe(bp, [["__scopeId", "data-v-437b6a27"]]), xp = { class: "media-workspace" }, kp = { class: "media-workspace-toolbar" }, _p = { class: "media-workspace-label" }, Sp = ["value"], Cp = { class: "media-workspace-grid" }, Tp = ["onClick"], Mp = /* @__PURE__ */ We({
|
|
684
683
|
__name: "MediaWorkspace",
|
|
685
684
|
props: {
|
|
686
685
|
apiScope: {},
|
|
@@ -2464,13 +2463,13 @@ const _m = { class: "flex items-center justify-between w-full px-4" }, Sm = { cl
|
|
|
2464
2463
|
"initial-image": h.value,
|
|
2465
2464
|
"initial-state": m.value,
|
|
2466
2465
|
"session-key": c.value,
|
|
2467
|
-
|
|
2466
|
+
onSave: L,
|
|
2468
2467
|
onCancel: O,
|
|
2469
2468
|
onError: N
|
|
2470
2469
|
}, null, 8, ["modelValue", "initial-image", "initial-state", "session-key"])
|
|
2471
2470
|
]));
|
|
2472
2471
|
}
|
|
2473
|
-
}), m8 = /* @__PURE__ */ Xe(Cf, [["__scopeId", "data-v-
|
|
2472
|
+
}), m8 = /* @__PURE__ */ Xe(Cf, [["__scopeId", "data-v-f68e70ec"]]);
|
|
2474
2473
|
function Sn(a, t, e, i) {
|
|
2475
2474
|
if (e <= 0 || i <= 0)
|
|
2476
2475
|
return !1;
|
|
@@ -16285,7 +16284,7 @@ const Ow = {
|
|
|
16285
16284
|
throw new Error("PIXI preview not available for export. Ensure the preview is mounted.");
|
|
16286
16285
|
if (!Et)
|
|
16287
16286
|
throw new Error("PIXI preview not ready for frame capture after retries. The video may still be loading.");
|
|
16288
|
-
const { exportWithPixiFrames: Ea, isWebCodecsSupported: Hs } = await import("./PixiFrameExporter-
|
|
16287
|
+
const { exportWithPixiFrames: Ea, isWebCodecsSupported: Hs } = await import("./PixiFrameExporter-nyNuO2Eg.js");
|
|
16289
16288
|
if (!Hs())
|
|
16290
16289
|
throw new Error("WebCodecs is not supported in this browser. Export requires Chrome 94+ or equivalent.");
|
|
16291
16290
|
ki = new AbortController();
|
|
@@ -24505,4 +24504,4 @@ export {
|
|
|
24505
24504
|
N8 as y,
|
|
24506
24505
|
gd as z
|
|
24507
24506
|
};
|
|
24508
|
-
//# sourceMappingURL=index-
|
|
24507
|
+
//# sourceMappingURL=index-JKTSyJp3.js.map
|