@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 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.45", xgn = {
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.8",
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
- SIZE: "File exceeds 5MB.",
205031
- TYPE: "File format not supported.",
205032
- DIFF: "Mixed file formats are not supported."
205033
- }, i = e, o = n, a = (h, f) => {
205034
- if (i.canDrop && h) {
205035
- const g = Tft({
205036
- files: h,
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 m = [];
205043
- Object.keys(g.errors).forEach((b) => {
205044
- m.push(...g.errors[b]);
205045
- }), m.length > 0 && (m = Array.from(new Set(m)), m.forEach((b) => {
205046
- Eo().showMessage(i.errorMessage[b], "error");
205047
- })), o("addFile", g.resultFiles, f);
205048
- }
205049
- }, s = G(() => i.canDrop ? i.fileType : []), l = K(), { isOverDropZone: u } = F1n(l, {
205050
- onDrop: a,
205051
- dataTypes: s.value
205052
- }), c = G(() => u.value == !0 || i.showDropZone == !0), d = { errorMessageComment: r, props: i, emits: o, onDropFile: a, computedDataTypes: s, dropZoneRef: l, isOverDropZoneComment: u, isShowDropZone: c };
205053
- return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
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 && (f.value ? document.exitFullscreen().then(function() {
324078
- f.value = !1;
324079
- }) : (f.value = !0, F.requestFullscreen()));
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(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbocollab/arbo-web-scene",
3
3
  "description": "Arbo Web Scene",
4
- "version": "0.26.5-alpha.45",
4
+ "version": "0.26.5-alpha.46",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "scripts": {