@arbocollab/arbo-plugin-item-table 0.1.135 → 0.1.137

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.
@@ -20283,7 +20283,7 @@ const pM = (e, t, n) => {
20283
20283
  centered: !1
20284
20284
  };
20285
20285
  let Ch = 0, xs = null;
20286
- function V7(e) {
20286
+ function V7(e, t) {
20287
20287
  return xs || (xs = document.createElement("div"), xs.className = "popup-overlay", xs.style.cssText = `
20288
20288
  position: fixed;
20289
20289
  top: 0;
@@ -20291,7 +20291,7 @@ function V7(e) {
20291
20291
  right: 0;
20292
20292
  bottom: 0;
20293
20293
  background: rgba(0, 0, 0, ${e});
20294
- z-index: 998;
20294
+ z-index: ${t};
20295
20295
  opacity: 0;
20296
20296
  transition: opacity 0.3s ease;
20297
20297
  pointer-events: auto;
@@ -20299,11 +20299,11 @@ function V7(e) {
20299
20299
  xs && (xs.style.opacity = "1");
20300
20300
  })), xs;
20301
20301
  }
20302
- function y1(e, t) {
20302
+ function y1(e, t, n) {
20303
20303
  Ch++;
20304
- const n = V7(e);
20305
- return t && n.addEventListener("click", t), () => {
20306
- t && n.removeEventListener("click", t);
20304
+ const o = V7(e, t);
20305
+ return n && o.addEventListener("click", n), () => {
20306
+ n && o.removeEventListener("click", n);
20307
20307
  };
20308
20308
  }
20309
20309
  function iC(e) {
@@ -20324,7 +20324,7 @@ function B7(e = {}) {
20324
20324
  top: 50%;
20325
20325
  left: 50%;
20326
20326
  transform: translate(-50%, -50%);
20327
- z-index: 999;
20327
+ z-index: ${e.zIndex || 999};
20328
20328
  display: block;
20329
20329
  `;
20330
20330
  }, l = () => {
@@ -20334,13 +20334,13 @@ function B7(e = {}) {
20334
20334
  const p = () => {
20335
20335
  t.closeOnOverlayClick && c();
20336
20336
  };
20337
- i = y1(t.overlayOpacity, p);
20337
+ i = y1(t.overlayOpacity, e.zIndex - 1 || 998, p);
20338
20338
  }
20339
20339
  } else if (s.value && (s.value.show(), r.value = !0, t.showOverlay)) {
20340
20340
  const p = () => {
20341
20341
  t.closeOnOverlayClick && c();
20342
20342
  };
20343
- i = y1(t.overlayOpacity, p);
20343
+ i = y1(t.overlayOpacity, e.zIndex - 1 || 998, p);
20344
20344
  }
20345
20345
  }, c = () => {
20346
20346
  const f = fg(n);
@@ -47042,20 +47042,21 @@ const Cue = { key: 1 }, bue = /* @__PURE__ */ st({
47042
47042
  };
47043
47043
  let k;
47044
47044
  return rn(() => {
47045
+ const I = sessionStorage.getItem("BASE_URL");
47045
47046
  k = gV({
47046
47047
  target: window,
47047
- allowedOrigins: ["https://child.example"],
47048
- onMessage: (I, M) => {
47049
- var $;
47050
- if (I.type !== Pf.SW_APP_LOADER) return;
47051
- console.log("Received from:", M.origin), console.log("File name:", I.payload.fileName);
47052
- const O = I.payload.file;
47053
- ($ = c.value) == null || $.setFile(O);
47048
+ allowedOrigins: [I || "https://app.arbocollab.com"],
47049
+ onMessage: (M, O) => {
47050
+ var X;
47051
+ if (console.log("PopupCreateScenes: Received message:", M), M.type !== Pf.SW_APP_LOADER) return;
47052
+ console.log("Received from:", O.origin), console.log("File name:", M.payload.fileName);
47053
+ const $ = M.payload.file;
47054
+ (X = c.value) == null || X.setFile($);
47054
47055
  },
47055
- onInvalidMessage: (I, M, O) => {
47056
- console.warn("Rejected postMessage:", M, O.origin);
47056
+ onInvalidMessage: (M, O, $) => {
47057
+ console.warn("Rejected postMessage:", O, $.origin);
47057
47058
  }
47058
- });
47059
+ }), console.log("Listening for messages initialized");
47059
47060
  }), so(() => {
47060
47061
  k == null || k();
47061
47062
  }), (I, M) => (z(), je(G(qN), {
@@ -87351,18 +87352,19 @@ const aTe = {
87351
87352
  };
87352
87353
  let x;
87353
87354
  return rn(() => {
87355
+ const P = sessionStorage.getItem("BASE_URL");
87354
87356
  x = gV({
87355
87357
  target: window,
87356
- allowedOrigins: ["https://child.example"],
87357
- onMessage: (P, E) => {
87358
- var I;
87359
- if (P.type !== Pf.SW_APP_LOADER) return;
87360
- console.log("Received from:", E.origin), console.log("File name:", P.payload.fileName);
87361
- const k = P.payload.file;
87362
- (I = D.value) == null || I.setFile(k);
87358
+ allowedOrigins: [P || "https://app.arbocollab.com"],
87359
+ onMessage: (E, k) => {
87360
+ var M;
87361
+ if (E.type !== Pf.SW_APP_LOADER) return;
87362
+ console.log("Received from:", k.origin), console.log("File name:", E.payload.fileName);
87363
+ const I = E.payload.file;
87364
+ (M = D.value) == null || M.setFile(I);
87363
87365
  },
87364
- onInvalidMessage: (P, E, k) => {
87365
- console.warn("Rejected postMessage:", E, k.origin);
87366
+ onInvalidMessage: (E, k, I) => {
87367
+ console.warn("Rejected postMessage:", k, I.origin);
87366
87368
  }
87367
87369
  });
87368
87370
  }), so(() => {
@@ -88132,7 +88134,7 @@ const aTe = {
88132
88134
  "beta-tag": "_beta-tag_1sow5_56"
88133
88135
  }, ETe = {
88134
88136
  $style: STe
88135
- }, _Te = /* @__PURE__ */ _t(mTe, [["__cssModules", ETe]]), y$ = "0.1.135", RTe = { key: 0 }, DTe = /* @__PURE__ */ st({
88137
+ }, _Te = /* @__PURE__ */ _t(mTe, [["__cssModules", ETe]]), y$ = "0.1.137", RTe = { key: 0 }, DTe = /* @__PURE__ */ st({
88136
88138
  __name: "app",
88137
88139
  setup(e) {
88138
88140
  const t = Y(() => n.id.length === 0 || n.workspaceId.length === 0), n = ys({