@arbocollab/arbo-web-scene 0.26.6-alpha.20 → 0.26.6-alpha.21
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 +7 -7
- package/package.json +1 -1
- package/style.css +1 -1
- package/umd/index.umd.js +4 -4
package/es/index.es.js
CHANGED
|
@@ -11928,13 +11928,13 @@ const ulr = (e, t) => {
|
|
|
11928
11928
|
(s = (i = e == null ? void 0 : e.config) == null ? void 0 : i.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", a);
|
|
11929
11929
|
}
|
|
11930
11930
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = o, { handleSetTab: o };
|
|
11931
|
-
}, clr = "0.26.6-alpha.
|
|
11931
|
+
}, clr = "0.26.6-alpha.21", dlr = {
|
|
11932
11932
|
"@arbocollab/arbo-chart-component": "1.0.1",
|
|
11933
11933
|
"@arbocollab/arbo-comment-utils": "1.0.1",
|
|
11934
11934
|
"@arbocollab/arbo-common-utils": "npm:@arbocollab/arbo-common-utils@1.0.14",
|
|
11935
11935
|
"@arbocollab/arbo-media-player-component": "0.0.18",
|
|
11936
11936
|
"@arbocollab/arbo-table-component": "1.0.1",
|
|
11937
|
-
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.376-alpha.
|
|
11937
|
+
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.376-alpha.150",
|
|
11938
11938
|
"@arbocollab/arbo-calendar-component": "0.0.38",
|
|
11939
11939
|
"@arbocollab/arbo-metric-table": "npm:@arbocollab/arbo-metric-table@0.0.24",
|
|
11940
11940
|
"@arbocollab/ag-grid-ui-components": "0.0.43",
|
|
@@ -67516,7 +67516,7 @@ Jgn((e) => ({
|
|
|
67516
67516
|
return W$t(t, n) || e.has(t, n);
|
|
67517
67517
|
}
|
|
67518
67518
|
}));
|
|
67519
|
-
const DMr = "0.0.376-alpha.
|
|
67519
|
+
const DMr = "0.0.376-alpha.150", AMr = {
|
|
67520
67520
|
version: DMr
|
|
67521
67521
|
}, evn = "mediaCachingDB", oR = "mediaStore", tOe = "__cache_flag__", $Mr = 1, tvn = !1, nOe = AMr.version;
|
|
67522
67522
|
let mre = null, MSe = !1, NSe = null, IMr = class {
|
|
@@ -206989,7 +206989,7 @@ const Ita = { class: "audio-wrapper" }, Rta = ["src", "type"], Pta = {
|
|
|
206989
206989
|
}), Lta = ".audio-wrapper[data-v-ab6caa53]{display:flex;align-items:center;justify-content:center;border:1px solid transparent;width:min-content;border-radius:var(--doc-thumbnail--radius, 2px)}.audio-wrapper[data-v-ab6caa53]:hover{border:1px solid #3c9bfa;background-color:#d7ebfe}.audio-player[data-v-ab6caa53]{display:flex;align-items:center;justify-content:space-between;height:var(--doc-thumbnail--height, 24px);width:250px;border-radius:var(--doc-thumbnail--radius, 2px);outline:1px solid transparent;border:1px solid transparent;background-color:var(--doc-thumbnail--bg-color, #f3f5f8);opacity:.5;pointer-events:none;transition:opacity .2s ease}.audio-player--ready[data-v-ab6caa53]{opacity:1;pointer-events:auto}.audio-player--ready[data-v-ab6caa53]:hover{outline:1px solid #3c9bfa;border:1px solid #fff;background-color:#d7ebfe}.audio-player__time-info[data-v-ab6caa53]{display:flex;align-items:center;color:var(--text-color-primary, #232323);font-size:12px;font-weight:400}.audio-player__time-info--divide[data-v-ab6caa53]{margin:0 4px}.audio-player__waveform[data-v-ab6caa53]{display:flex;align-items:center;gap:2px;width:104px;height:24px;cursor:pointer}.audio-player__waveform--bar[data-v-ab6caa53]{width:3px;min-width:3px;background-color:#d1d5db;border-radius:2px;transition:background-color .1s ease;pointer-events:none;flex-shrink:0}.audio-player__waveform--bar.active[data-v-ab6caa53]{background-color:#3c9bfa}.audio-player__waveform--placeholder[data-v-ab6caa53]{width:100%;height:2px;background-color:#d1d5db;border-radius:2px}.audio-player[data-v-ab6caa53] .arbo-btn{outline:none;border:none;width:24px;display:flex;align-items:center;justify-content:center}", VPn = /* @__PURE__ */ Hr(Nta, [["styles", [Lta]], ["__scopeId", "data-v-ab6caa53"]]), Fta = (e, t) => {
|
|
206990
206990
|
const n = oe(0), r = oe([]), o = oe(um.Prepare), a = oe(0), i = oe(0), s = oe(), l = oe(!1);
|
|
206991
206991
|
let u = null, d = null;
|
|
206992
|
-
const f = ee(() => e.maxDuration ??
|
|
206992
|
+
const f = ee(() => e.maxDuration ?? 10), m = ee(() => e.maxSize ?? 5242880), p = ee(() => e.bitrate ?? 128e3), v = ee(() => {
|
|
206993
206993
|
const we = p.value / 8;
|
|
206994
206994
|
return Math.floor(m.value / we);
|
|
206995
206995
|
}), g = ee(() => Math.min(f.value, v.value)), w = ee(() => Math.max(0, g.value - i.value)), S = ee(() => m.value === 0 ? 0 : Math.min(n.value / m.value * 100, 100)), E = ee(() => f.value === 0 ? 0 : Math.min(i.value / f.value * 100, 100)), x = ee(() => Math.max(S.value, E.value)), y = (we) => {
|
|
@@ -207230,7 +207230,7 @@ const Ita = { class: "audio-wrapper" }, Rta = ["src", "type"], Pta = {
|
|
|
207230
207230
|
toggleRecording: ne(m),
|
|
207231
207231
|
finishRecord: ne(f)
|
|
207232
207232
|
}, () => [
|
|
207233
|
-
ne(i) === ne(um).Recording ? Tt((W(), st(ne(go), {
|
|
207233
|
+
ne(i) === ne(um).Recording && !x.value ? Tt((W(), st(ne(go), {
|
|
207234
207234
|
key: 0,
|
|
207235
207235
|
size: "small",
|
|
207236
207236
|
class: "audio-recorder__btn",
|
|
@@ -207247,7 +207247,7 @@ const Ita = { class: "audio-wrapper" }, Rta = ["src", "type"], Pta = {
|
|
|
207247
207247
|
}, 8, ["onClick"])), [
|
|
207248
207248
|
[ne(r), "Pause"]
|
|
207249
207249
|
]) : Ye("", !0),
|
|
207250
|
-
ne(i) !== ne(um).Recording ? (W(), me(Wt, { key: 1 }, [
|
|
207250
|
+
ne(i) !== ne(um).Recording && !x.value ? (W(), me(Wt, { key: 1 }, [
|
|
207251
207251
|
ne(i) < ne(um).Recording ? Tt((W(), st(ne(go), {
|
|
207252
207252
|
key: 0,
|
|
207253
207253
|
size: "small",
|
|
@@ -220354,7 +220354,7 @@ const X0e = {
|
|
|
220354
220354
|
), Ce = ee(
|
|
220355
220355
|
() => {
|
|
220356
220356
|
var tn, pn;
|
|
220357
|
-
return ((pn = (tn = a.value) == null ? void 0 : tn.template_flow_status) == null ? void 0 : pn.is_lock_item) === 1 && a.value.permission.has_edit_date_permission ==
|
|
220357
|
+
return ((pn = (tn = a.value) == null ? void 0 : tn.template_flow_status) == null ? void 0 : pn.is_lock_item) === 1 && a.value.permission.has_edit_date_permission == 1;
|
|
220358
220358
|
}
|
|
220359
220359
|
), we = ee(() => hhe.get(dIe) || n.DEFAULT_TIMEZONE), te = ee(() => {
|
|
220360
220360
|
var tn;
|