@arbocollab/arbo-web-scene 0.26.8-alpha.60 → 0.26.8-alpha.61
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 +2 -2
- package/package.json +1 -1
- package/umd/index.umd.js +2 -2
package/es/index.es.js
CHANGED
|
@@ -11928,7 +11928,7 @@ const dlr = (e, t) => {
|
|
|
11928
11928
|
(s = (i = e == null ? void 0 : e.config) == null ? void 0 : i.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", o);
|
|
11929
11929
|
}
|
|
11930
11930
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = a, { handleSetTab: a };
|
|
11931
|
-
}, flr = "0.26.8-alpha.
|
|
11931
|
+
}, flr = "0.26.8-alpha.61", hlr = {
|
|
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",
|
|
@@ -465015,7 +465015,7 @@ const Dis = async () => {
|
|
|
465015
465015
|
l !== void 0 && (n.config.globalProperties[s] = l, a[s] = l, r.includes(s) && typeof l == "string" && sessionStorage.setItem(s, l));
|
|
465016
465016
|
}), n.config.globalProperties.$arboConfig = a;
|
|
465017
465017
|
const o = await Dis(), i = kln();
|
|
465018
|
-
return n.use(i), n.use(bBa), n.use(fva), n.use(clr), n.use(o), await Iis(n), dlr(n, i), Object.values(t).forEach((s) => {
|
|
465018
|
+
return n.use(i), n.use(bBa), n.use(fva), n.use(clr), n.use(o), await Iis(n), console.log("[initWebScene] App initialized with configuration:", a), n.provide("switchInstance", n.config.globalProperties.switchInstance), dlr(n, i), Object.values(t).forEach((s) => {
|
|
465019
465019
|
s && typeof s.install == "function" && n.use(s);
|
|
465020
465020
|
}), n.config.errorHandler = (s, l, u) => {
|
|
465021
465021
|
console.error("[Vue Error]", s), u && console.error("[Info]", u);
|
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -37,7 +37,7 @@ Only state can be modified.`);i[0]="$state",Z8=!1,r.set(o,i,r.state.value),Z8=!0
|
|
|
37
37
|
Found in store "${A.$id}".`),v&&o&&n.hydrate&&n.hydrate(A.$state,v),u=!0,d=!0,A}/*! #__NO_SIDE_EFFECTS__ */function RO(e,t,n){let r;const a=typeof t=="function";r=a?n:t;function o(i,s){const l=p_();if(i=(Xe.env.NODE_ENV==="test"&&JQ&&JQ._testing?null:i)||(l?co(_Tt,null):null),i&&QQ(i),Xe.env.NODE_ENV!=="production"&&!JQ)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
38
38
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
39
39
|
This will fail in production.`);i=JQ,i._s.has(e)||(a?t4e(e,t,r,i):FTt(e,r,i),Xe.env.NODE_ENV!=="production"&&(o._pinia=i));const u=i._s.get(e);if(Xe.env.NODE_ENV!=="production"&&s){const d="__hot:"+e,f=a?t4e(d,t,r,i,!0):FTt(d,FS({},r),i,!0);s._hotUpdate(f),delete i.state.value[d],i._s.delete(d)}if(Xe.env.NODE_ENV!=="production"&&_N){const d=Mo();if(d&&d.proxy&&!s){const f=d.proxy,m="_pStores"in f?f._pStores:f._pStores={};m[e]=u}}return u}return o.$id=e,o}function La(e){const t=Fo(e),n={};for(const r in t){const a=t[r];a.effect?n[r]=ne({get:()=>e[r],set(o){e[r]=o}}):(Jr(a)||Uc(a))&&(n[r]=ll(e,r))}return n}function Isr(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}let rbe;function n4e(){n4e.init||(n4e.init=!0,rbe=Isr()!==-1)}var abe={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){n4e(),$t(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",rbe&&this.$el.appendChild(e),e.data="about:blank",rbe||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!rbe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Rsr=crr();lrr("data-v-b329ee4c");const Psr={class:"resize-observer",tabindex:"-1"};urr();const Nsr=Rsr((e,t,n,r,a,o)=>(z(),lt("div",Psr)));abe.render=Nsr,abe.__scopeId="data-v-b329ee4c",abe.__file="src/components/ResizeObserver.vue";function obe(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?obe=function(t){return typeof t}:obe=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},obe(e)}function Msr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lsr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fsr(e,t,n){return t&&Lsr(e.prototype,t),e}function BTt(e){return Bsr(e)||Vsr(e)||Usr(e)||jsr()}function Bsr(e){if(Array.isArray(e))return r4e(e)}function Vsr(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Usr(e,t){if(e){if(typeof e=="string")return r4e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r4e(e,t)}}function r4e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jsr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
40
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hsr(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function zsr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,a,o,i=function(l){for(var u=arguments.length,d=new Array(u>1?u-1:0),f=1;f<u;f++)d[f-1]=arguments[f];if(o=d,!(r&&l===a)){var m=n.leading;typeof m=="function"&&(m=m(l,a)),(!r||l!==a)&&m&&e.apply(void 0,[l].concat(BTt(o))),a=l,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[l].concat(BTt(o))),r=0},t)}};return i._clear=function(){clearTimeout(r),r=null},i}function VTt(e,t){if(e===t)return!0;if(obe(e)==="object"){for(var n in e)if(!VTt(e[n],t[n]))return!1;return!0}return!1}var Wsr=function(){function e(t,n,r){Msr(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,r)}return Fsr(e,[{key:"createObserver",value:function(n,r){var a=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Hsr(n),this.callback=function(s,l){a.options.callback(s,l),s&&a.options.once&&(a.frozen=!0,a.destroyObserver())},this.callback&&this.options.throttle){var o=this.options.throttleOptions||{},i=o.leading;this.callback=zsr(this.callback,this.options.throttle,{leading:function(l){return i==="both"||i==="visible"&&l||i==="hidden"&&!l}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var l=s[0];if(s.length>1){var u=s.find(function(f){return f.isIntersecting});u&&(l=u)}if(a.callback){var d=l.isIntersecting&&l.intersectionRatio>=a.threshold;if(d===a.oldResult)return;a.oldResult=d,a.callback(d,l)}},this.options.intersection),$t(function(){a.observer&&a.observer.observe(a.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function UTt(e,t,n){var r=t.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new Wsr(e,r,n);e._vue_visibilityState=a}}function qsr(e,t,n){var r=t.value,a=t.oldValue;if(!VTt(r,a)){var o=e._vue_visibilityState;if(!r){jTt(e);return}o?o.createObserver(r,n):UTt(e,{value:r},n)}}function jTt(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Ksr={beforeMount:UTt,updated:qsr,unmounted:jTt};function Gsr(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map(function(r){r(n)}),(e.get("*")||[]).slice().map(function(r){r(t,n)})}}}var HTt={itemsLimit:1e3},Ysr=/(auto|scroll)/;function zTt(e,t){return e.parentNode===null?t:zTt(e.parentNode,t.concat([e]))}var a4e=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},Zsr=function(t){return a4e(t,"overflow")+a4e(t,"overflow-y")+a4e(t,"overflow-x")},Xsr=function(t){return Ysr.test(Zsr(t))};function WTt(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=zTt(e.parentNode,[]),n=0;n<t.length;n+=1)if(Xsr(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function o4e(e){"@babel/helpers - typeof";return o4e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o4e(e)}var qTt={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function KTt(){return this.items.length&&o4e(this.items[0])!=="object"}var i4e=!1;if(typeof window<"u"){i4e=!1;try{var Jsr=Object.defineProperty({},"passive",{get:function(){i4e=!0}});window.addEventListener("test",null,Jsr)}catch{}}let Qsr=0;var eee={name:"RecycleScroller",components:{ResizeObserver:abe},directives:{ObserveVisibility:Ksr},props:{...qTt,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,r=this.minItemSize;let a=1e4,o=0,i;for(let s=0,l=t.length;s<l;s++)i=t[s][n]||r,i<a&&(a=i),o+=i,e[s]={accumulator:o,size:i};return this.$_computedMinItemSize=a,e}return[]},simpleArray:KTt,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let r=0,a=t.length;r<a;r++)n[t[r][e]]=r;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,r,a){const o=Eu({id:Qsr++,index:t,used:!0,key:r,type:a}),i=PEt({item:n,position:0,nr:o});return e.push(i),i},unuseView(e,t=!1){const n=this.$_unusedViews,r=e.nr.type;let a=n.get(r);a||(a=[],n.set(r,a)),a.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,r=this.gridItems||1,a=this.itemSecondarySize||n,o=this.$_computedMinItemSize,i=this.typeField,s=this.simpleArray?null:this.keyField,l=this.items,u=l.length,d=this.sizes,f=this.$_views,m=this.$_unusedViews,p=this.pool,v=this.itemIndexByKey;let g,w,S,E,x;if(!u)g=w=E=x=S=0;else if(this.$_prerender)g=E=0,w=x=Math.min(this.prerender,l.length),S=null;else{const I=this.getScroll();if(t){let B=I.start-this.$_lastUpdateScrollPosition;if(B<0&&(B=-B),n===null&&B<o||B<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=I.start;const P=this.buffer;I.start-=P,I.end+=P;let j=0;if(this.$refs.before&&(j=this.$refs.before.scrollHeight,I.start-=j),this.$refs.after){const B=this.$refs.after.scrollHeight;I.end+=B}if(n===null){let B,F=0,U=u-1,N=~~(u/2),G;do G=N,B=d[N].accumulator,B<I.start?F=N:N<u-1&&d[N+1].accumulator>I.start&&(U=N),N=~~((F+U)/2);while(N!==G);for(N<0&&(N=0),g=N,S=d[u-1].accumulator,w=N;w<u&&d[w].accumulator<I.end;w++);for(w===-1?w=l.length-1:(w++,w>u&&(w=u)),E=g;E<u&&j+d[E].accumulator<I.start;E++);for(x=E;x<u&&j+d[x].accumulator<I.end;x++);}else{g=~~(I.start/n*r);const B=g%r;g-=B,w=Math.ceil(I.end/n*r),E=Math.max(0,Math.floor((I.start-j)/n*r)),x=Math.floor((I.end-j)/n*r),g<0&&(g=0),w>u&&(w=u),E<0&&(E=0),x>u&&(x=u),S=Math.ceil(u/r)*n}}w-g>HTt.itemsLimit&&this.itemsLimitError(),this.totalSize=S;let y;const O=g<=this.$_endIndex&&w>=this.$_startIndex;if(O)for(let I=0,P=p.length;I<P;I++)y=p[I],y.nr.used&&(e&&(y.nr.index=v[y.item[s]]),(y.nr.index==null||y.nr.index<g||y.nr.index>=w)&&this.unuseView(y));const k=O?null:new Map;let A,R,$;for(let I=g;I<w;I++){A=l[I];const P=s?A[s]:A;if(P==null)throw new Error(`Key is ${P} on item (keyField is '${s}')`);if(y=f.get(P),!n&&!d[I].size){y&&this.unuseView(y);continue}R=A[i];let j=m.get(R),B=!1;if(!y)O?j&&j.length?y=j.pop():y=this.addView(p,I,A,P,R):($=k.get(R)||0,(!j||$>=j.length)&&(y=this.addView(p,I,A,P,R),this.unuseView(y,!0),j=m.get(R)),y=j[$],k.set(R,$+1)),f.delete(y.nr.key),y.nr.used=!0,y.nr.index=I,y.nr.key=P,y.nr.type=R,f.set(P,y),B=!0;else if(!y.nr.used&&(y.nr.used=!0,B=!0,j)){const F=j.indexOf(y);F!==-1&&j.splice(F,1)}y.item=A,B&&(I===l.length-1&&this.$emit("scroll-end"),I===0&&this.$emit("scroll-start")),n===null?(y.position=d[I-1].accumulator,y.offset=0):(y.position=Math.floor(I/r)*n,y.offset=I%r*a)}return this.$_startIndex=g,this.$_endIndex=w,this.emitUpdate&&this.$emit("update",g,w,E,x),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:O}},getListenerTarget(){let e=WTt(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let r;if(this.pageMode){const a=e.getBoundingClientRect(),o=n?a.height:a.width;let i=-(n?a.top:a.left),s=n?window.innerHeight:window.innerWidth;i<0&&(s+=i,i=0),i+s>o&&(s=o-i),r={start:i,end:i+s}}else n?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,i4e?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,a;if(this.pageMode){const o=WTt(this.$el),i=o.tagName==="HTML"?0:o[t.scroll],s=o.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[t.start]-s[t.start];n=o,r=t.scroll,a=e+i+u}else n=this.$el,r=t.scroll,a=e;n[r]=a},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const elr={key:0,ref:"before",class:"vue-recycle-scroller__slot"},tlr={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function nlr(e,t,n,r,a,o){const i=Qr("ResizeObserver"),s=Pi("observe-visibility");return kt((z(),me("div",{class:$e(["vue-recycle-scroller",{ready:a.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...l)=>o.handleScroll&&o.handleScroll(...l))},[e.$slots.before?(z(),me("div",elr,[ht(e.$slots,"before")],512)):qe("v-if",!0),(z(),lt(Bd(n.listTag),{ref:"wrapper",style:cn({[e.direction==="vertical"?"minHeight":"minWidth"]:a.totalSize+"px"}),class:$e(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:Ue(()=>[(z(!0),me(qt,null,wn(a.pool,l=>(z(),lt(Bd(n.itemTag),un({key:l.nr.id,style:a.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${l.position}px) translate${e.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&a.hoverKey===l.nr.key}]]},wrr(n.skipHover?{}:{mouseenter:()=>{a.hoverKey=l.nr.key},mouseleave:()=>{a.hoverKey=null}})),{default:Ue(()=>[ht(e.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),ht(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(z(),me("div",tlr,[ht(e.$slots,"after")],512)):qe("v-if",!0),Me(i,{onNotify:o.handleResize},null,8,["onNotify"])],34)),[[s,o.handleVisibilityChange]])}eee.render=nlr,eee.__file="src/components/RecycleScroller.vue";var ibe={name:"DynamicScroller",components:{RecycleScroller:eee},provide(){return typeof ResizeObserver<"u"&&(this.$_resizeObserver=new ResizeObserver(e=>{requestAnimationFrame(()=>{if(Array.isArray(e)){for(const t of e)if(t.target&&t.target.$_vs_onResize){let n,r;if(t.borderBoxSize){const a=t.borderBoxSize[0];n=a.inlineSize,r=a.blockSize}else n=t.contentRect.width,r=t.contentRect.height;t.target.$_vs_onResize(t.target.$_vs_id,n,r)}}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...qTt,minItemSize:{type:[Number,String],required:!0}},emits:["resize","visible"],data(){return{vscrollData:{active:!0,sizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:KTt,itemsWithSize(){const e=[],{items:t,keyField:n,simpleArray:r}=this,a=this.vscrollData.sizes,o=t.length;for(let i=0;i<o;i++){const s=t[i],l=r?i:s[n];let u=a[l];typeof u>"u"&&!this.$_undefinedMap[l]&&(u=0),e.push({item:s,id:l,size:u})}return e}},watch:{items(){this.forceUpdate()},simpleArray:{handler(e){this.vscrollData.simpleArray=e},immediate:!0},direction(e){this.forceUpdate(!0)},itemsWithSize(e,t){const n=this.$el.scrollTop;let r=0,a=0;const o=Math.min(e.length,t.length);for(let s=0;s<o&&!(r>=n);s++)r+=t[s].size||this.minItemSize,a+=e[s].size||this.minItemSize;const i=a-r;i!==0&&(this.$el.scrollTop+=i)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={},this.$_events=Gsr()},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},unmounted(){this.$_events.all.clear()},methods:{onScrollerResize(){this.$refs.scroller&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$_events.emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(e=!1){(e||this.simpleArray)&&(this.vscrollData.sizes={}),this.$_events.emit("vscroll:update",{force:!0})},scrollToItem(e){const t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize(e,t=void 0){const n=this.simpleArray?t??this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const e=this.$el;this.$nextTick(()=>{e.scrollTop=e.scrollHeight+5e3;const t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(()=>{e.scrollTop=e.scrollHeight+5e3,this.$_undefinedSizes===0?this.$_scrollingToBottom=!1:requestAnimationFrame(t)})};requestAnimationFrame(t)})}}};function rlr(e,t,n,r,a,o){const i=Qr("RecycleScroller");return z(),lt(i,un({ref:"scroller",items:o.itemsWithSize,"min-item-size":n.minItemSize,direction:e.direction,"key-field":"id","list-tag":e.listTag,"item-tag":e.itemTag},e.$attrs,{onResize:o.onScrollerResize,onVisible:o.onScrollerVisible}),{default:Ue(({item:s,index:l,active:u})=>[ht(e.$slots,"default",Ss(Wl({item:s.item,index:l,active:u,itemWithSize:s})))]),before:Ue(()=>[ht(e.$slots,"before")]),after:Ue(()=>[ht(e.$slots,"after")]),empty:Ue(()=>[ht(e.$slots,"empty")]),_:3},16,["items","min-item-size","direction","list-tag","item-tag","onResize","onVisible"])}ibe.render=rlr,ibe.__file="src/components/DynamicScroller.vue";var s4e={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},emits:["resize"],computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.vscrollData.keyField in this.item)return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(e,t){if(this.$el.$_vs_id=this.id,this.size||this.onDataUpdate(),this.$_sizeObserved){const n=this.vscrollData.sizes[t],r=this.vscrollData.sizes[e];n!=null&&n!==r&&this.applySize(n)}},finalActive(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const e in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[e],this.onDataUpdate);this.vscrollParent.$_events.on("vscroll:update",this.onVscrollUpdate)}},mounted(){this.finalActive&&(this.updateSize(),this.observeSize())},beforeUnmount(){this.vscrollParent.$_events.off("vscroll:update",this.onVscrollUpdate),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:e}){!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||e||!this.size)&&this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(e){this.$nextTick(()=>{if(this.id===e){const t=this.$el.offsetWidth,n=this.$el.offsetHeight;this.applyWidthHeight(t,n)}this.$_pendingSizeUpdate=null})},applyWidthHeight(e,t){const n=~~(this.vscrollParent.direction==="vertical"?t:e);n&&this.size!==n&&this.applySize(n)},applySize(e){this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.vscrollData.sizes[this.id]=e,this.emitResize&&this.$emit("resize",this.id)},observeSize(){this.vscrollResizeObserver&&(this.$_sizeObserved||(this.vscrollResizeObserver.observe(this.$el),this.$el.$_vs_id=this.id,this.$el.$_vs_onResize=this.onResize,this.$_sizeObserved=!0))},unobserveSize(){this.vscrollResizeObserver&&this.$_sizeObserved&&(this.vscrollResizeObserver.unobserve(this.$el),this.$el.$_vs_onResize=void 0,this.$_sizeObserved=!1)},onResize(e,t,n){this.id===e&&this.applyWidthHeight(t,n)}},render(){return Ni(this.tag,this.$slots.default())}};s4e.__file="src/components/DynamicScrollerItem.vue";function alr(e,t){e.component("".concat(t,"recycle-scroller"),eee),e.component("".concat(t,"RecycleScroller"),eee),e.component("".concat(t,"dynamic-scroller"),ibe),e.component("".concat(t,"DynamicScroller"),ibe),e.component("".concat(t,"dynamic-scroller-item"),s4e),e.component("".concat(t,"DynamicScrollerItem"),s4e)}var olr={version:"2.0.0-beta.8",install:function(t,n){var r=Object.assign({},{installComponents:!0,componentsPrefix:""},n);for(var a in r)typeof r[a]<"u"&&(HTt[a]=r[a]);r.installComponents&&alr(t,r.componentsPrefix)}};const ilr=(e,t)=>{const n=o=>t._s.get(o),r=(o,i,s)=>{const l=n(o);return l&&i in l?(l[i](s),!0):(console.warn(`[initWebScene] Store "${o}" or dispactcher "${i}" not found`),!1)};function a(o){var i,s;(s=(i=e==null?void 0:e.config)==null?void 0:i.globalProperties)==null||s.setStoreValue("scene","setCurrentSceneTabId",o)}return e.config.globalProperties.setStoreValue=r,e.config.globalProperties.handleSetTab=a,{handleSetTab:a}},slr="0.26.8-alpha.60",llr={"@arbocollab/arbo-chart-component":"1.0.1","@arbocollab/arbo-comment-utils":"1.0.1","@arbocollab/arbo-common-utils":"npm:@arbocollab/arbo-common-utils@1.0.14","@arbocollab/arbo-media-player-component":"0.0.26","@arbocollab/arbo-table-component":"1.0.1","@arbocollab/arbo-ui-components":"npm:@arbocollab/arbo-ui-components-beta@0.0.377-alpha.127","@arbocollab/arbo-calendar-component":"0.0.45","@arbocollab/arbo-metric-table":"npm:@arbocollab/arbo-metric-table@0.0.24","@arbocollab/ag-grid-ui-components":"0.0.49","@vueuse/core":"^10.11.1","@ctrl/tinycolor":"^4.2.0",axios:"^1.7.2","date-fns":"^4.1.0","date-fns-tz":"^3.2.0",dayjs:"^1.11.11",dexie:"4.0.10","js-cookie":"^3.0.5",pinia:"^3.0.3","prettier-plugin-stylus":"^0.1.0","sanitize-html":"^2.15.0","vite-bundle-visualizer":"^1.2.1","vite-plugin-html":"^3.2.2",vue:"^3.5.18","vue-draggable-next":"^2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.5.1","vue-virtual-scroller":"^2.0.0-beta.8"};var Ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function tee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ulr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var GTt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ei,function(){/*! *****************************************************************************
|
|
40
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hsr(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function zsr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,a,o,i=function(l){for(var u=arguments.length,d=new Array(u>1?u-1:0),f=1;f<u;f++)d[f-1]=arguments[f];if(o=d,!(r&&l===a)){var m=n.leading;typeof m=="function"&&(m=m(l,a)),(!r||l!==a)&&m&&e.apply(void 0,[l].concat(BTt(o))),a=l,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[l].concat(BTt(o))),r=0},t)}};return i._clear=function(){clearTimeout(r),r=null},i}function VTt(e,t){if(e===t)return!0;if(obe(e)==="object"){for(var n in e)if(!VTt(e[n],t[n]))return!1;return!0}return!1}var Wsr=function(){function e(t,n,r){Msr(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,r)}return Fsr(e,[{key:"createObserver",value:function(n,r){var a=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Hsr(n),this.callback=function(s,l){a.options.callback(s,l),s&&a.options.once&&(a.frozen=!0,a.destroyObserver())},this.callback&&this.options.throttle){var o=this.options.throttleOptions||{},i=o.leading;this.callback=zsr(this.callback,this.options.throttle,{leading:function(l){return i==="both"||i==="visible"&&l||i==="hidden"&&!l}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var l=s[0];if(s.length>1){var u=s.find(function(f){return f.isIntersecting});u&&(l=u)}if(a.callback){var d=l.isIntersecting&&l.intersectionRatio>=a.threshold;if(d===a.oldResult)return;a.oldResult=d,a.callback(d,l)}},this.options.intersection),$t(function(){a.observer&&a.observer.observe(a.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function UTt(e,t,n){var r=t.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new Wsr(e,r,n);e._vue_visibilityState=a}}function qsr(e,t,n){var r=t.value,a=t.oldValue;if(!VTt(r,a)){var o=e._vue_visibilityState;if(!r){jTt(e);return}o?o.createObserver(r,n):UTt(e,{value:r},n)}}function jTt(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Ksr={beforeMount:UTt,updated:qsr,unmounted:jTt};function Gsr(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map(function(r){r(n)}),(e.get("*")||[]).slice().map(function(r){r(t,n)})}}}var HTt={itemsLimit:1e3},Ysr=/(auto|scroll)/;function zTt(e,t){return e.parentNode===null?t:zTt(e.parentNode,t.concat([e]))}var a4e=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},Zsr=function(t){return a4e(t,"overflow")+a4e(t,"overflow-y")+a4e(t,"overflow-x")},Xsr=function(t){return Ysr.test(Zsr(t))};function WTt(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=zTt(e.parentNode,[]),n=0;n<t.length;n+=1)if(Xsr(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function o4e(e){"@babel/helpers - typeof";return o4e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o4e(e)}var qTt={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function KTt(){return this.items.length&&o4e(this.items[0])!=="object"}var i4e=!1;if(typeof window<"u"){i4e=!1;try{var Jsr=Object.defineProperty({},"passive",{get:function(){i4e=!0}});window.addEventListener("test",null,Jsr)}catch{}}let Qsr=0;var eee={name:"RecycleScroller",components:{ResizeObserver:abe},directives:{ObserveVisibility:Ksr},props:{...qTt,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,r=this.minItemSize;let a=1e4,o=0,i;for(let s=0,l=t.length;s<l;s++)i=t[s][n]||r,i<a&&(a=i),o+=i,e[s]={accumulator:o,size:i};return this.$_computedMinItemSize=a,e}return[]},simpleArray:KTt,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let r=0,a=t.length;r<a;r++)n[t[r][e]]=r;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,r,a){const o=Eu({id:Qsr++,index:t,used:!0,key:r,type:a}),i=PEt({item:n,position:0,nr:o});return e.push(i),i},unuseView(e,t=!1){const n=this.$_unusedViews,r=e.nr.type;let a=n.get(r);a||(a=[],n.set(r,a)),a.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,r=this.gridItems||1,a=this.itemSecondarySize||n,o=this.$_computedMinItemSize,i=this.typeField,s=this.simpleArray?null:this.keyField,l=this.items,u=l.length,d=this.sizes,f=this.$_views,m=this.$_unusedViews,p=this.pool,v=this.itemIndexByKey;let g,w,S,E,x;if(!u)g=w=E=x=S=0;else if(this.$_prerender)g=E=0,w=x=Math.min(this.prerender,l.length),S=null;else{const I=this.getScroll();if(t){let B=I.start-this.$_lastUpdateScrollPosition;if(B<0&&(B=-B),n===null&&B<o||B<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=I.start;const P=this.buffer;I.start-=P,I.end+=P;let j=0;if(this.$refs.before&&(j=this.$refs.before.scrollHeight,I.start-=j),this.$refs.after){const B=this.$refs.after.scrollHeight;I.end+=B}if(n===null){let B,F=0,U=u-1,N=~~(u/2),G;do G=N,B=d[N].accumulator,B<I.start?F=N:N<u-1&&d[N+1].accumulator>I.start&&(U=N),N=~~((F+U)/2);while(N!==G);for(N<0&&(N=0),g=N,S=d[u-1].accumulator,w=N;w<u&&d[w].accumulator<I.end;w++);for(w===-1?w=l.length-1:(w++,w>u&&(w=u)),E=g;E<u&&j+d[E].accumulator<I.start;E++);for(x=E;x<u&&j+d[x].accumulator<I.end;x++);}else{g=~~(I.start/n*r);const B=g%r;g-=B,w=Math.ceil(I.end/n*r),E=Math.max(0,Math.floor((I.start-j)/n*r)),x=Math.floor((I.end-j)/n*r),g<0&&(g=0),w>u&&(w=u),E<0&&(E=0),x>u&&(x=u),S=Math.ceil(u/r)*n}}w-g>HTt.itemsLimit&&this.itemsLimitError(),this.totalSize=S;let y;const O=g<=this.$_endIndex&&w>=this.$_startIndex;if(O)for(let I=0,P=p.length;I<P;I++)y=p[I],y.nr.used&&(e&&(y.nr.index=v[y.item[s]]),(y.nr.index==null||y.nr.index<g||y.nr.index>=w)&&this.unuseView(y));const k=O?null:new Map;let A,R,$;for(let I=g;I<w;I++){A=l[I];const P=s?A[s]:A;if(P==null)throw new Error(`Key is ${P} on item (keyField is '${s}')`);if(y=f.get(P),!n&&!d[I].size){y&&this.unuseView(y);continue}R=A[i];let j=m.get(R),B=!1;if(!y)O?j&&j.length?y=j.pop():y=this.addView(p,I,A,P,R):($=k.get(R)||0,(!j||$>=j.length)&&(y=this.addView(p,I,A,P,R),this.unuseView(y,!0),j=m.get(R)),y=j[$],k.set(R,$+1)),f.delete(y.nr.key),y.nr.used=!0,y.nr.index=I,y.nr.key=P,y.nr.type=R,f.set(P,y),B=!0;else if(!y.nr.used&&(y.nr.used=!0,B=!0,j)){const F=j.indexOf(y);F!==-1&&j.splice(F,1)}y.item=A,B&&(I===l.length-1&&this.$emit("scroll-end"),I===0&&this.$emit("scroll-start")),n===null?(y.position=d[I-1].accumulator,y.offset=0):(y.position=Math.floor(I/r)*n,y.offset=I%r*a)}return this.$_startIndex=g,this.$_endIndex=w,this.emitUpdate&&this.$emit("update",g,w,E,x),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:O}},getListenerTarget(){let e=WTt(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let r;if(this.pageMode){const a=e.getBoundingClientRect(),o=n?a.height:a.width;let i=-(n?a.top:a.left),s=n?window.innerHeight:window.innerWidth;i<0&&(s+=i,i=0),i+s>o&&(s=o-i),r={start:i,end:i+s}}else n?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,i4e?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,a;if(this.pageMode){const o=WTt(this.$el),i=o.tagName==="HTML"?0:o[t.scroll],s=o.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[t.start]-s[t.start];n=o,r=t.scroll,a=e+i+u}else n=this.$el,r=t.scroll,a=e;n[r]=a},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const elr={key:0,ref:"before",class:"vue-recycle-scroller__slot"},tlr={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function nlr(e,t,n,r,a,o){const i=Qr("ResizeObserver"),s=Pi("observe-visibility");return kt((z(),me("div",{class:$e(["vue-recycle-scroller",{ready:a.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...l)=>o.handleScroll&&o.handleScroll(...l))},[e.$slots.before?(z(),me("div",elr,[ht(e.$slots,"before")],512)):qe("v-if",!0),(z(),lt(Bd(n.listTag),{ref:"wrapper",style:cn({[e.direction==="vertical"?"minHeight":"minWidth"]:a.totalSize+"px"}),class:$e(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:Ue(()=>[(z(!0),me(qt,null,wn(a.pool,l=>(z(),lt(Bd(n.itemTag),un({key:l.nr.id,style:a.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${l.position}px) translate${e.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&a.hoverKey===l.nr.key}]]},wrr(n.skipHover?{}:{mouseenter:()=>{a.hoverKey=l.nr.key},mouseleave:()=>{a.hoverKey=null}})),{default:Ue(()=>[ht(e.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),ht(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(z(),me("div",tlr,[ht(e.$slots,"after")],512)):qe("v-if",!0),Me(i,{onNotify:o.handleResize},null,8,["onNotify"])],34)),[[s,o.handleVisibilityChange]])}eee.render=nlr,eee.__file="src/components/RecycleScroller.vue";var ibe={name:"DynamicScroller",components:{RecycleScroller:eee},provide(){return typeof ResizeObserver<"u"&&(this.$_resizeObserver=new ResizeObserver(e=>{requestAnimationFrame(()=>{if(Array.isArray(e)){for(const t of e)if(t.target&&t.target.$_vs_onResize){let n,r;if(t.borderBoxSize){const a=t.borderBoxSize[0];n=a.inlineSize,r=a.blockSize}else n=t.contentRect.width,r=t.contentRect.height;t.target.$_vs_onResize(t.target.$_vs_id,n,r)}}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...qTt,minItemSize:{type:[Number,String],required:!0}},emits:["resize","visible"],data(){return{vscrollData:{active:!0,sizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:KTt,itemsWithSize(){const e=[],{items:t,keyField:n,simpleArray:r}=this,a=this.vscrollData.sizes,o=t.length;for(let i=0;i<o;i++){const s=t[i],l=r?i:s[n];let u=a[l];typeof u>"u"&&!this.$_undefinedMap[l]&&(u=0),e.push({item:s,id:l,size:u})}return e}},watch:{items(){this.forceUpdate()},simpleArray:{handler(e){this.vscrollData.simpleArray=e},immediate:!0},direction(e){this.forceUpdate(!0)},itemsWithSize(e,t){const n=this.$el.scrollTop;let r=0,a=0;const o=Math.min(e.length,t.length);for(let s=0;s<o&&!(r>=n);s++)r+=t[s].size||this.minItemSize,a+=e[s].size||this.minItemSize;const i=a-r;i!==0&&(this.$el.scrollTop+=i)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={},this.$_events=Gsr()},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},unmounted(){this.$_events.all.clear()},methods:{onScrollerResize(){this.$refs.scroller&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$_events.emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(e=!1){(e||this.simpleArray)&&(this.vscrollData.sizes={}),this.$_events.emit("vscroll:update",{force:!0})},scrollToItem(e){const t=this.$refs.scroller;t&&t.scrollToItem(e)},getItemSize(e,t=void 0){const n=this.simpleArray?t??this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const e=this.$el;this.$nextTick(()=>{e.scrollTop=e.scrollHeight+5e3;const t=()=>{e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(()=>{e.scrollTop=e.scrollHeight+5e3,this.$_undefinedSizes===0?this.$_scrollingToBottom=!1:requestAnimationFrame(t)})};requestAnimationFrame(t)})}}};function rlr(e,t,n,r,a,o){const i=Qr("RecycleScroller");return z(),lt(i,un({ref:"scroller",items:o.itemsWithSize,"min-item-size":n.minItemSize,direction:e.direction,"key-field":"id","list-tag":e.listTag,"item-tag":e.itemTag},e.$attrs,{onResize:o.onScrollerResize,onVisible:o.onScrollerVisible}),{default:Ue(({item:s,index:l,active:u})=>[ht(e.$slots,"default",Ss(Wl({item:s.item,index:l,active:u,itemWithSize:s})))]),before:Ue(()=>[ht(e.$slots,"before")]),after:Ue(()=>[ht(e.$slots,"after")]),empty:Ue(()=>[ht(e.$slots,"empty")]),_:3},16,["items","min-item-size","direction","list-tag","item-tag","onResize","onVisible"])}ibe.render=rlr,ibe.__file="src/components/DynamicScroller.vue";var s4e={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},emits:["resize"],computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.vscrollData.keyField in this.item)return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(e,t){if(this.$el.$_vs_id=this.id,this.size||this.onDataUpdate(),this.$_sizeObserved){const n=this.vscrollData.sizes[t],r=this.vscrollData.sizes[e];n!=null&&n!==r&&this.applySize(n)}},finalActive(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const e in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[e],this.onDataUpdate);this.vscrollParent.$_events.on("vscroll:update",this.onVscrollUpdate)}},mounted(){this.finalActive&&(this.updateSize(),this.observeSize())},beforeUnmount(){this.vscrollParent.$_events.off("vscroll:update",this.onVscrollUpdate),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:e}){!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||e||!this.size)&&this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(e){this.$nextTick(()=>{if(this.id===e){const t=this.$el.offsetWidth,n=this.$el.offsetHeight;this.applyWidthHeight(t,n)}this.$_pendingSizeUpdate=null})},applyWidthHeight(e,t){const n=~~(this.vscrollParent.direction==="vertical"?t:e);n&&this.size!==n&&this.applySize(n)},applySize(e){this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.vscrollData.sizes[this.id]=e,this.emitResize&&this.$emit("resize",this.id)},observeSize(){this.vscrollResizeObserver&&(this.$_sizeObserved||(this.vscrollResizeObserver.observe(this.$el),this.$el.$_vs_id=this.id,this.$el.$_vs_onResize=this.onResize,this.$_sizeObserved=!0))},unobserveSize(){this.vscrollResizeObserver&&this.$_sizeObserved&&(this.vscrollResizeObserver.unobserve(this.$el),this.$el.$_vs_onResize=void 0,this.$_sizeObserved=!1)},onResize(e,t,n){this.id===e&&this.applyWidthHeight(t,n)}},render(){return Ni(this.tag,this.$slots.default())}};s4e.__file="src/components/DynamicScrollerItem.vue";function alr(e,t){e.component("".concat(t,"recycle-scroller"),eee),e.component("".concat(t,"RecycleScroller"),eee),e.component("".concat(t,"dynamic-scroller"),ibe),e.component("".concat(t,"DynamicScroller"),ibe),e.component("".concat(t,"dynamic-scroller-item"),s4e),e.component("".concat(t,"DynamicScrollerItem"),s4e)}var olr={version:"2.0.0-beta.8",install:function(t,n){var r=Object.assign({},{installComponents:!0,componentsPrefix:""},n);for(var a in r)typeof r[a]<"u"&&(HTt[a]=r[a]);r.installComponents&&alr(t,r.componentsPrefix)}};const ilr=(e,t)=>{const n=o=>t._s.get(o),r=(o,i,s)=>{const l=n(o);return l&&i in l?(l[i](s),!0):(console.warn(`[initWebScene] Store "${o}" or dispactcher "${i}" not found`),!1)};function a(o){var i,s;(s=(i=e==null?void 0:e.config)==null?void 0:i.globalProperties)==null||s.setStoreValue("scene","setCurrentSceneTabId",o)}return e.config.globalProperties.setStoreValue=r,e.config.globalProperties.handleSetTab=a,{handleSetTab:a}},slr="0.26.8-alpha.61",llr={"@arbocollab/arbo-chart-component":"1.0.1","@arbocollab/arbo-comment-utils":"1.0.1","@arbocollab/arbo-common-utils":"npm:@arbocollab/arbo-common-utils@1.0.14","@arbocollab/arbo-media-player-component":"0.0.26","@arbocollab/arbo-table-component":"1.0.1","@arbocollab/arbo-ui-components":"npm:@arbocollab/arbo-ui-components-beta@0.0.377-alpha.127","@arbocollab/arbo-calendar-component":"0.0.45","@arbocollab/arbo-metric-table":"npm:@arbocollab/arbo-metric-table@0.0.24","@arbocollab/ag-grid-ui-components":"0.0.49","@vueuse/core":"^10.11.1","@ctrl/tinycolor":"^4.2.0",axios:"^1.7.2","date-fns":"^4.1.0","date-fns-tz":"^3.2.0",dayjs:"^1.11.11",dexie:"4.0.10","js-cookie":"^3.0.5",pinia:"^3.0.3","prettier-plugin-stylus":"^0.1.0","sanitize-html":"^2.15.0","vite-bundle-visualizer":"^1.2.1","vite-plugin-html":"^3.2.2",vue:"^3.5.18","vue-draggable-next":"^2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.5.1","vue-virtual-scroller":"^2.0.0-beta.8"};var Ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function tee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ulr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var GTt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ei,function(){/*! *****************************************************************************
|
|
41
41
|
Copyright (c) Microsoft Corporation.
|
|
42
42
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
43
43
|
purpose with or without fee is hereby granted.
|
|
@@ -1776,4 +1776,4 @@ It looks like you're missing a workspace code. Please select your workspace code
|
|
|
1776
1776
|
Please pick a scene to continue.`,system_error:`Uh oh,
|
|
1777
1777
|
It looks like something went wrong.
|
|
1778
1778
|
Please try again later.`,not_found:`Uh oh,
|
|
1779
|
-
We couldn't find the scene you were looking for.`,common:{go_back:"Go back",load_more:"Load more",pending:"Pending",open_in_new_tab:"Open in new tab",open_in_new_review:"Open Review",search_assignee_placeholder:"Search...",no_result:"No results, try again",tomorrow:"Tomorrow",today:"Today",no_start_date:"No start ",no_due_date:"No due ",point_metric:"ARBO Points: Earned when completing scenes, helping you progress towards your ARBO Targets.",copy_link:"Copy link",edit_name:"Rename",more_actions:"More actions",copied:"Copied",open_in:"Open in",back:"Back",try_again:"Try a gain",nodata_available:"No data available. "},information:{creator:"Creator",created_on:"Created on",actual_start_date:"Actual start date",actual_due_date:"Actual completion date",description:"Description",tags:"Tags"},header:{},comments:{no_comments:"No comments available.",no_result:"No results. Try another search or filter."},snackbar:{scene_update_successfully:"Scene updated successfully",scene_update_unsuccessfully:"Scene updated unsuccessfully",scene_archive_successfully:"Scene archived successfully",scene_delete_successfully:"Scene deleted successfully",scene_delete_unsuccessfully:"Scene deleted unsuccessfully",thumbnail_deleted_successfully:"Thumbnail deleted successfully",thumbnail_deleted_unsuccessfully:"Thumbnail deleted unsuccessfully",description_saved_successfully:"Description saved successfully",description_saved_unsuccessfully:"Description saved unsuccessfully",unsuccessful_edit_name:"Name unsuccessful edit",successful_edit_name:"Name updated successfully",assignee_save_successfully:"Assignee update successful",assignee_save_unsuccessfully:"Assignee update unsuccessful",comment_delete_successfully:"Comment has been deleted successfully",comment_delete_unsuccessfully:"Comment has been deleted unsuccessfully",comment_update_successfully:"Comment has been updated successfully",comment_update_unsuccessfully:"Comment has been updated successfully",comment_send_successfully:"Comment publish successfully",comment_send_unsuccessfully:"Comment publish failed",comment_reply_successfully:"Comment replied successfully",comment_reply_unsuccessfully:"Comment replied failed",renditionName_saved_unsuccessfully:"Rendition name saved unsuccessfully",renditionName_saved_successfully:"Rendition name saved successfully"},rendition:{upload_in_progress:"Upload in progress",upload_successful:"Upload successful","upload_ failed":"Upload failed",create_rendition:"Create rendition(s)",no_thanks:" No, thanks","upload _create":"Upload & create",update_status:"Update status",update_status_char:"Would you like to update the status?",update_fail:"The upload was not successful.",upload_more:"Upload more files",keep_open_the_modal:"Keep pop-up open to update scene status.",uploading_background:"Close to continue upload in the background.",drag_files:"Drag files to reorder",placeHolder:"Rendition name"},metric:{update_field_metric_success:"Update success.",update_field_metric_fail:"Update failed."}}}};function Yas(e){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}async function Zas(e,t=10,n=300){for(let r=0;r<t;r++){const a=Yas(e);if(a)return a;await new Promise(o=>setTimeout(o,n))}return null}async function Xas(){const e=await Zas("account.tessr_i18n_file_version_url");if(!e)return{};const t=await fetch(e);if(!t.ok)throw new Error("Failed to load en-error.json");return await t.json()}async function Jas(){const e=await Xas();return{...Str,en:{...Str.en,errorMessages:e}}}async function Qas(){return Hcr({legacy:!1,locale:"en",fallbackLocale:"en",messages:await Jas(),formatFallbackMessages:!0})}const eos=async()=>{const e=await Qas();return hhr(e.global),e},tos={BillingCard:gqt,CycleSelectionCard:vqt,FloatingPopup:yqt,Loading:bqt,MiniBillingCard:wqt,MiniPaymentCard:_qt,PaymentCard:Sqt,Snackbar:DWe,SvgRender:du,ArboAccordion:Eqt,ArboAlert:Cqt,ArboBanner:xqt,BasicBreadcrumb:m7,ArboButton:Go,ArboChip:TH,ArboChipTabs:kqt,ArboDatePicker:EKt,ArboDateRangePicker:Aqt,ArboDropdown:eEe,ArboIcon:ul,ArboInput:Hee,ArboLabel:Pb,ArboModal:Dqt,ArboRadioButton:$qt,ArboRatingIcon:IWe,ArboSelect:b0e,ArboSkeletonLoading:Iqt,ArboStandaloneDropdown:Rqt,ArboStatusButton:Pqt,ArboTable:Nqt,ArboTabs:Mqt,ArboThumbnail:Lqt,ArboToggle:Fqt,ArboTooltip:Hd,ArboUpload:Vqt,ModalAddLink:RWe,SharedAudioPlayer:PWe,SharedDatePicker:jqt,SharedDocumentThumbnail:NWe,SharedLoadMoreWrapper:m0e,SharedMediaThumbnail:MWe,SharedOverflowTooltip:NN,SharedPopup:Hqt,SharedRating:LWe,SharedReaction:nEe,SharedReactionButton:BWe,SharedReactionDropdown:FWe,SharedReportCard:z5e,SharedSearchInput:zee,SharedSharedWrapper:qqt,ArboAssigneeButton:Xpa,TessAssigneeSelect:VWe,TessAttachmentChip:Yqt,TessAvatar:QB,TessAvatarGroup:oEe,TessCommentCard:Zqt,TessCommentCardWrapper:HWe,TessCommentPreviewCard:jWe,TessDateFormattingDisplay:Jqt,TessMetricInput:iEe,TessNonInteractiveChip:Qqt,TessReactionButton:Wqt,TessReportCard:eKt,TessSceneCard:dKt,TessStatusSelect:_0e,TessUrlInput:fKt,TessRenditionCard:ZWe,TessReviewFileCard:pKt,TessAutoResizeInput:sEe,TessAssigneeButton:UWe,ArboMetricSelect:QSe,ArboFormulaDisplay:JSe,ActionCard:mKt,SimpleCard:XWe,TessMoreActions:QWe,TessHoverTile:gKt,TessTruncatedText:h7,TessTimeTag:e7e,initializeCustomElements:t7e,ArboDateRangePicker2:i8e},nos=async e=>{e._context.provides.pinia||console.warn("Pinia is not set up in the app. Please install Pinia before using this plugin.");try{await e.directive("auto-focus",xVe),await e.directive("auto-position",Wee),await e.directive("click-outside",o7e),await e.directive("arbo-tooltip",Oh),await e.directive("t-visible",SKt),await e.directive("t-loading",_Kt),await e.directive("on-click-outside",o7e),Object.entries(tos).forEach(async([t,n])=>{await e.component(t,n)}),e._context.provides.pinia&&await t7e(),e.component("ArboCommentBox",Wmn)}catch(t){console.error("Error during setupUi:",t)}},vbt=async(e={},t={})=>{const n=DO(Gas),r=["API_REVIEW_URL","API_BASE_URL","BASE_URL","BASE_REVIEW_URL"],a={};Object.entries(e).forEach(([s,l])=>{l!==void 0&&(n.config.globalProperties[s]=l,a[s]=l,r.includes(s)&&typeof l=="string"&&sessionStorage.setItem(s,l))}),n.config.globalProperties.$arboConfig=a;const o=await eos(),i=ITt();return n.use(i),n.use(Y4a),n.use(zga),n.use(olr),n.use(o),await nos(n),ilr(n,i),Object.values(t).forEach(s=>{s&&typeof s.install=="function"&&n.use(s)}),n.config.errorHandler=(s,l,u)=>{console.error("[Vue Error]",s),u&&console.error("[Info]",u)},n};typeof window<"u"&&(window.ArboWebSceneStaging=vbt),cr.default=vbt,cr.initWebScene=vbt,Object.defineProperties(cr,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1779
|
+
We couldn't find the scene you were looking for.`,common:{go_back:"Go back",load_more:"Load more",pending:"Pending",open_in_new_tab:"Open in new tab",open_in_new_review:"Open Review",search_assignee_placeholder:"Search...",no_result:"No results, try again",tomorrow:"Tomorrow",today:"Today",no_start_date:"No start ",no_due_date:"No due ",point_metric:"ARBO Points: Earned when completing scenes, helping you progress towards your ARBO Targets.",copy_link:"Copy link",edit_name:"Rename",more_actions:"More actions",copied:"Copied",open_in:"Open in",back:"Back",try_again:"Try a gain",nodata_available:"No data available. "},information:{creator:"Creator",created_on:"Created on",actual_start_date:"Actual start date",actual_due_date:"Actual completion date",description:"Description",tags:"Tags"},header:{},comments:{no_comments:"No comments available.",no_result:"No results. Try another search or filter."},snackbar:{scene_update_successfully:"Scene updated successfully",scene_update_unsuccessfully:"Scene updated unsuccessfully",scene_archive_successfully:"Scene archived successfully",scene_delete_successfully:"Scene deleted successfully",scene_delete_unsuccessfully:"Scene deleted unsuccessfully",thumbnail_deleted_successfully:"Thumbnail deleted successfully",thumbnail_deleted_unsuccessfully:"Thumbnail deleted unsuccessfully",description_saved_successfully:"Description saved successfully",description_saved_unsuccessfully:"Description saved unsuccessfully",unsuccessful_edit_name:"Name unsuccessful edit",successful_edit_name:"Name updated successfully",assignee_save_successfully:"Assignee update successful",assignee_save_unsuccessfully:"Assignee update unsuccessful",comment_delete_successfully:"Comment has been deleted successfully",comment_delete_unsuccessfully:"Comment has been deleted unsuccessfully",comment_update_successfully:"Comment has been updated successfully",comment_update_unsuccessfully:"Comment has been updated successfully",comment_send_successfully:"Comment publish successfully",comment_send_unsuccessfully:"Comment publish failed",comment_reply_successfully:"Comment replied successfully",comment_reply_unsuccessfully:"Comment replied failed",renditionName_saved_unsuccessfully:"Rendition name saved unsuccessfully",renditionName_saved_successfully:"Rendition name saved successfully"},rendition:{upload_in_progress:"Upload in progress",upload_successful:"Upload successful","upload_ failed":"Upload failed",create_rendition:"Create rendition(s)",no_thanks:" No, thanks","upload _create":"Upload & create",update_status:"Update status",update_status_char:"Would you like to update the status?",update_fail:"The upload was not successful.",upload_more:"Upload more files",keep_open_the_modal:"Keep pop-up open to update scene status.",uploading_background:"Close to continue upload in the background.",drag_files:"Drag files to reorder",placeHolder:"Rendition name"},metric:{update_field_metric_success:"Update success.",update_field_metric_fail:"Update failed."}}}};function Yas(e){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}async function Zas(e,t=10,n=300){for(let r=0;r<t;r++){const a=Yas(e);if(a)return a;await new Promise(o=>setTimeout(o,n))}return null}async function Xas(){const e=await Zas("account.tessr_i18n_file_version_url");if(!e)return{};const t=await fetch(e);if(!t.ok)throw new Error("Failed to load en-error.json");return await t.json()}async function Jas(){const e=await Xas();return{...Str,en:{...Str.en,errorMessages:e}}}async function Qas(){return Hcr({legacy:!1,locale:"en",fallbackLocale:"en",messages:await Jas(),formatFallbackMessages:!0})}const eos=async()=>{const e=await Qas();return hhr(e.global),e},tos={BillingCard:gqt,CycleSelectionCard:vqt,FloatingPopup:yqt,Loading:bqt,MiniBillingCard:wqt,MiniPaymentCard:_qt,PaymentCard:Sqt,Snackbar:DWe,SvgRender:du,ArboAccordion:Eqt,ArboAlert:Cqt,ArboBanner:xqt,BasicBreadcrumb:m7,ArboButton:Go,ArboChip:TH,ArboChipTabs:kqt,ArboDatePicker:EKt,ArboDateRangePicker:Aqt,ArboDropdown:eEe,ArboIcon:ul,ArboInput:Hee,ArboLabel:Pb,ArboModal:Dqt,ArboRadioButton:$qt,ArboRatingIcon:IWe,ArboSelect:b0e,ArboSkeletonLoading:Iqt,ArboStandaloneDropdown:Rqt,ArboStatusButton:Pqt,ArboTable:Nqt,ArboTabs:Mqt,ArboThumbnail:Lqt,ArboToggle:Fqt,ArboTooltip:Hd,ArboUpload:Vqt,ModalAddLink:RWe,SharedAudioPlayer:PWe,SharedDatePicker:jqt,SharedDocumentThumbnail:NWe,SharedLoadMoreWrapper:m0e,SharedMediaThumbnail:MWe,SharedOverflowTooltip:NN,SharedPopup:Hqt,SharedRating:LWe,SharedReaction:nEe,SharedReactionButton:BWe,SharedReactionDropdown:FWe,SharedReportCard:z5e,SharedSearchInput:zee,SharedSharedWrapper:qqt,ArboAssigneeButton:Xpa,TessAssigneeSelect:VWe,TessAttachmentChip:Yqt,TessAvatar:QB,TessAvatarGroup:oEe,TessCommentCard:Zqt,TessCommentCardWrapper:HWe,TessCommentPreviewCard:jWe,TessDateFormattingDisplay:Jqt,TessMetricInput:iEe,TessNonInteractiveChip:Qqt,TessReactionButton:Wqt,TessReportCard:eKt,TessSceneCard:dKt,TessStatusSelect:_0e,TessUrlInput:fKt,TessRenditionCard:ZWe,TessReviewFileCard:pKt,TessAutoResizeInput:sEe,TessAssigneeButton:UWe,ArboMetricSelect:QSe,ArboFormulaDisplay:JSe,ActionCard:mKt,SimpleCard:XWe,TessMoreActions:QWe,TessHoverTile:gKt,TessTruncatedText:h7,TessTimeTag:e7e,initializeCustomElements:t7e,ArboDateRangePicker2:i8e},nos=async e=>{e._context.provides.pinia||console.warn("Pinia is not set up in the app. Please install Pinia before using this plugin.");try{await e.directive("auto-focus",xVe),await e.directive("auto-position",Wee),await e.directive("click-outside",o7e),await e.directive("arbo-tooltip",Oh),await e.directive("t-visible",SKt),await e.directive("t-loading",_Kt),await e.directive("on-click-outside",o7e),Object.entries(tos).forEach(async([t,n])=>{await e.component(t,n)}),e._context.provides.pinia&&await t7e(),e.component("ArboCommentBox",Wmn)}catch(t){console.error("Error during setupUi:",t)}},vbt=async(e={},t={})=>{const n=DO(Gas),r=["API_REVIEW_URL","API_BASE_URL","BASE_URL","BASE_REVIEW_URL"],a={};Object.entries(e).forEach(([s,l])=>{l!==void 0&&(n.config.globalProperties[s]=l,a[s]=l,r.includes(s)&&typeof l=="string"&&sessionStorage.setItem(s,l))}),n.config.globalProperties.$arboConfig=a;const o=await eos(),i=ITt();return n.use(i),n.use(Y4a),n.use(zga),n.use(olr),n.use(o),await nos(n),console.log("[initWebScene] App initialized with configuration:",a),n.provide("switchInstance",n.config.globalProperties.switchInstance),ilr(n,i),Object.values(t).forEach(s=>{s&&typeof s.install=="function"&&n.use(s)}),n.config.errorHandler=(s,l,u)=>{console.error("[Vue Error]",s),u&&console.error("[Info]",u)},n};typeof window<"u"&&(window.ArboWebSceneStaging=vbt),cr.default=vbt,cr.initWebScene=vbt,Object.defineProperties(cr,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|