@arbocollab/arbo-web-scene 0.26.5-alpha.45 → 0.26.5-alpha.46
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/es/index.es.js +34 -29
- package/package.json +1 -1
- package/style.css +1 -1
- package/umd/index.umd.js +3 -3
package/es/index.es.js
CHANGED
|
@@ -51370,11 +51370,11 @@ const bgn = {
|
|
|
51370
51370
|
(s = (a = e == null ? void 0 : e.config) == null ? void 0 : a.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", o);
|
|
51371
51371
|
}
|
|
51372
51372
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = i, { handleSetTab: i };
|
|
51373
|
-
}, Egn = "0.26.5-alpha.
|
|
51373
|
+
}, Egn = "0.26.5-alpha.46", xgn = {
|
|
51374
51374
|
"@arbocollab/arbo-chart-component": "1.0.1",
|
|
51375
51375
|
"@arbocollab/arbo-comment-utils": "1.0.1",
|
|
51376
51376
|
"@arbocollab/arbo-common-utils": "npm:@arbocollab/arbo-common-utils@0.0.12-alpha.0",
|
|
51377
|
-
"@arbocollab/arbo-media-player-component": "0.0.
|
|
51377
|
+
"@arbocollab/arbo-media-player-component": "0.0.9",
|
|
51378
51378
|
"@arbocollab/arbo-table-component": "1.0.1",
|
|
51379
51379
|
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.376-alpha.109",
|
|
51380
51380
|
"@arbocollab/arbo-calendar-component": "0.0.38",
|
|
@@ -205026,31 +205026,31 @@ const rFr = /* @__PURE__ */ pi(qLr, [["render", nFr], ["__scopeId", "data-v-b99b
|
|
|
205026
205026
|
emits: ["addFile"],
|
|
205027
205027
|
setup(e, { expose: t, emit: n }) {
|
|
205028
205028
|
t();
|
|
205029
|
-
const r = {
|
|
205030
|
-
|
|
205031
|
-
|
|
205032
|
-
|
|
205033
|
-
|
|
205034
|
-
|
|
205035
|
-
|
|
205036
|
-
|
|
205037
|
-
allowedTypes: i.fileType,
|
|
205038
|
-
sizeLimit: i.sizeLimit,
|
|
205039
|
-
allowMixedFileType: i.allowMixedFileType,
|
|
205040
|
-
isRenditionFile: i.isRenditionFile
|
|
205029
|
+
const r = e, i = n, o = (d, h) => {
|
|
205030
|
+
if (console.log("onDropFile", d, h), !!r.canDrop && d) {
|
|
205031
|
+
const f = Tft({
|
|
205032
|
+
files: d,
|
|
205033
|
+
allowedTypes: r.fileType,
|
|
205034
|
+
sizeLimit: r.sizeLimit,
|
|
205035
|
+
allowMixedFileType: r.allowMixedFileType,
|
|
205036
|
+
isRenditionFile: r.isRenditionFile
|
|
205041
205037
|
});
|
|
205042
|
-
let
|
|
205043
|
-
Object.keys(
|
|
205044
|
-
|
|
205045
|
-
}),
|
|
205046
|
-
Eo().showMessage(
|
|
205047
|
-
})),
|
|
205048
|
-
}
|
|
205049
|
-
},
|
|
205050
|
-
onDrop:
|
|
205051
|
-
dataTypes:
|
|
205052
|
-
}),
|
|
205053
|
-
|
|
205038
|
+
let g = [];
|
|
205039
|
+
Object.keys(f.errors).forEach((m) => {
|
|
205040
|
+
g.push(...f.errors[m]);
|
|
205041
|
+
}), g.length > 0 && (g = Array.from(new Set(g)), g.forEach((m) => {
|
|
205042
|
+
Eo().showMessage(r.errorMessage[m], "error");
|
|
205043
|
+
})), i("addFile", f.resultFiles, h);
|
|
205044
|
+
}
|
|
205045
|
+
}, a = G(() => r.canDrop ? r.fileType : []), s = K(), { isOverDropZone: l } = F1n(s, {
|
|
205046
|
+
onDrop: o,
|
|
205047
|
+
dataTypes: a.value
|
|
205048
|
+
}), u = G(() => l.value == !0 || r.showDropZone == !0);
|
|
205049
|
+
yn(() => {
|
|
205050
|
+
console.log("DropArea props", { props: r, computedDataTypes: a });
|
|
205051
|
+
});
|
|
205052
|
+
const c = { props: r, emits: i, onDropFile: o, computedDataTypes: a, dropZoneRef: s, isOverDropZoneComment: l, isShowDropZone: u };
|
|
205053
|
+
return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
|
|
205054
205054
|
}
|
|
205055
205055
|
}), oFr = { class: "icon" }, aFr = { class: "text" };
|
|
205056
205056
|
function sFr(e, t, n, r, i, o) {
|
|
@@ -324074,9 +324074,9 @@ var rCi = {
|
|
|
324074
324074
|
E(A.value.src, A.value.name);
|
|
324075
324075
|
}, h = K(), f = K(!1), g = function() {
|
|
324076
324076
|
var F = h.value;
|
|
324077
|
-
F && (
|
|
324078
|
-
|
|
324079
|
-
})
|
|
324077
|
+
console.log("Toggling fullscreen for player:", document.fullscreenElement), F && (document.fullscreenElement ? document.exitFullscreen().catch(function() {
|
|
324078
|
+
}) : F.requestFullscreen().catch(function() {
|
|
324079
|
+
}));
|
|
324080
324080
|
}, m = function() {
|
|
324081
324081
|
u();
|
|
324082
324082
|
}, b = function() {
|
|
@@ -324199,6 +324199,11 @@ var rCi = {
|
|
|
324199
324199
|
index: s.value,
|
|
324200
324200
|
state: tO({}, A.value)
|
|
324201
324201
|
});
|
|
324202
|
+
}), yn(function() {
|
|
324203
|
+
document.addEventListener("fullscreenchange", function() {
|
|
324204
|
+
var B = !!document.fullscreenElement;
|
|
324205
|
+
f.value = B;
|
|
324206
|
+
});
|
|
324202
324207
|
}), function(B, F) {
|
|
324203
324208
|
var z = us("arbo-tooltip");
|
|
324204
324209
|
return j(), se(
|