@octane-xplat/camera 0.12.0 → 0.13.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/native/cx.mobile.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//#region src/cx.mobile.ts
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
2
|
+
/** Imperative `view.className` writes still need a pre-joined string —
|
|
3
|
+
* NativeScript's className setter splits on ' ' only. Normalize arrays here
|
|
4
|
+
* so they stay space separated. */
|
|
4
5
|
function cx(...parts) {
|
|
5
6
|
return parts.flat(Infinity).filter(Boolean).join(" ");
|
|
6
7
|
}
|
|
@@ -34,7 +34,7 @@ function __then$0(__props, __s, __extra) {
|
|
|
34
34
|
applyEscapeProps(element, props);
|
|
35
35
|
}, _root);
|
|
36
36
|
(__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.b, _b.a));
|
|
37
|
-
_m4 = evt2e(_root, "
|
|
37
|
+
_m4 = evt2e(_root, "$oplaying", __event, readyFired, props);
|
|
38
38
|
_b = bag5(__s, _root, _root, _m1, void 0, __s, _m4);
|
|
39
39
|
__s.refFields = _rm$1;
|
|
40
40
|
} else {
|
|
@@ -310,7 +310,7 @@ var CameraView = /* @__PURE__ */ __s(function CameraView(props, __s, __extra) {
|
|
|
310
310
|
props,
|
|
311
311
|
readyFired,
|
|
312
312
|
video
|
|
313
|
-
] : void 0);
|
|
313
|
+
] : void 0, 1);
|
|
314
314
|
}
|
|
315
315
|
});
|
|
316
316
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octane-xplat/camera",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Live camera preview for Octane xplat — web getUserMedia + native capture (AVCapture / CameraX)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"android",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@nativescript-community/octane": "0.2.4",
|
|
45
45
|
"@nativescript/core": "9.1.3",
|
|
46
46
|
"@octanejs/vite-plugin": "0.1.61",
|
|
47
|
-
"octane": "0.
|
|
47
|
+
"octane": "0.11.0",
|
|
48
48
|
"tsrx-typegen": "0.2.2",
|
|
49
49
|
"typescript": "5.9.3",
|
|
50
50
|
"vite": "8.3.0"
|
package/src/cx.mobile.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
1
|
+
/** Imperative `view.className` writes still need a pre-joined string —
|
|
2
|
+
* NativeScript's className setter splits on ' ' only. Normalize arrays here
|
|
3
|
+
* so they stay space separated. */
|
|
3
4
|
export function cx(...parts: any[]): string {
|
|
4
5
|
return parts.flat(Infinity).filter(Boolean).join(' ')
|
|
5
6
|
}
|