@omegagrid/bundle 0.10.6 → 0.10.8

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.
Files changed (2) hide show
  1. package/omegagrid.js +10 -8
  2. package/package.json +18 -18
package/omegagrid.js CHANGED
@@ -2665,20 +2665,22 @@
2665
2665
  }
2666
2666
  */
2667
2667
 
2668
- `;class fg extends nu{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=yt("og-bucket-alert"),i={options:t,component:e};e.options=t,e.addEventListener("close",(()=>this.removeAlert(i))),this.component.shadowRoot.appendChild(e),this.items.push(i),this.items.length>this.component.options.alerts.maxItems&&this.removeAlert(this.items[0]);const o=t.timeout??this.component.options.alerts.timeout;o>0&&(i.timer=window.setTimeout((()=>{i.timer=void 0,this.removeAlert(i)}),o)),await this.component.updateComplete,this.updatePositions()}updatePositions(){[...this.items].reverse().forEach(((t,e)=>{Ht(t.component,{r:10,b:10+e*(t.component.offsetHeight+10)})}))}removeAlert(t){const e=this.items.indexOf(t);-1!=e&&(this.items[e].component.remove(),this.items.splice(e,1),null!=t.timer&&window.clearTimeout(t.timer),t.timer=void 0,this.updatePositions())}}const vg={alerts:{maxItems:5,timeout:5e3},pathPosition:"top"};function bg(t,e=null){return{...nn(t,e),...vg,...e,...t}}class yg extends nu{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.paths=new Map,this.components=new Map,this.anonymousComponents=new Map,this.unsavedComponents=new Set,this.states=new Map}get hasUnsavedComponents(){return this.unsavedComponents.size>0}get bucket(){return this.component}setState(t,e){const i=this.components.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.components.has(t)||this.anonymousComponents.has(t)||this._resolvingComponentIds.has(t)}get(t){let e=this.components.get(t);return e??(e=this.anonymousComponents.get(t)),e?(this.resolveComponentPromises(t,e),e):new Promise(((e,i)=>{const o=this.components.get(t);if(this.enqueueComponentResolution(t,e,i),!this._resolvingComponentIds.has(t)){if(o)return this.resolveComponentPromises(t,o);this._resolvingComponentIds.add(t),Promise.all([this.component.createComponent(t)]).then((e=>{const i=e[0];if(i){this.register(t,i);const e=this.bucket.state;e?.components&&e?.components[t]&&i.setState&&i.setState(e.components[t])}this.resolveComponentPromises(t,i)}))}}))}resolveComponentPromises(t,e){this._componentPromiseResolutions.has(t)&&(this._componentPromiseResolutions.get(t).forEach((t=>t.resolve(e))),this._componentPromiseResolutions.delete(t)),this._resolvingComponentIds.delete(t)}enqueueComponentResolution(t,e,i){this._componentPromiseResolutions.has(t)||this._componentPromiseResolutions.set(t,[]),this._componentPromiseResolutions.get(t).push({resolve:e,reject:i})}update(t,e){const i=e.id??t;if(this.bucket.editorContainer.updateTab(t,{id:i,title:e.title??void 0}),this.components.has(t)&&i!=t){const e=this.components.get(t);this.unregister(t),this.register(i,e)}return this.components.get(i)}register(t,e){if(null==t)t=`temp_${Sg.getUniqueId()}`,this.anonymousComponents.set(t,e);else if(this.components.set(t,e),this.has(t))return t;return this.bucket.dispatchEvent(new _g("register",{componentId:t})),t}unregister(t){this.components.delete(t),this.anonymousComponents.delete(t),this.paths.delete(t),this.bucket.dispatchEvent(new _g("unregister",{componentId:t}))}async getPath(t){if(this.paths.has(t))return this.paths.get(t);if(!this.bucket.options.pathResolver)return[];const e=await this.bucket.options.pathResolver(t);return this.paths.set(t,e),e}}class wg extends nu{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=yt("og-bucket-modal-sidebar");return e.className=t.position??"left",e.componentId=t.id,e.caption=t.caption,e.closable=null==t.closable||t.closable,e.bucket=this.bucket,e}}get bucket(){return this.component}get components(){return this.bucket.components}updateModalSidebarPositions(){this.modalSidebars.length>0?this.bucket.showOverlay():this.bucket.hideOverlay();const t=this.bucket.compact?this.bucket.sidemenu.offsetWidth:this.bucket.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const r=this.modalSidebarComponents.get(o.id),n="right"==o.position,s=n?i:e;r&&(qt(r,500+s),Nt(r,{w:o.width||gg.SIDEBAR_WIDTH}),n?(i++,Ht(r,{t:0,r:0+20*s,b:0})):(Ht(r,{t:0,l:t+20*s,b:0}),e++))}))}async openModalSidebar(t){return this.bucket.showOverlay(),this.modalSidebars.push(t),t.component&&(t.id=t.id||`temp-${Sg.getUniqueId()}`,this.components.register(t.id,t.component)),new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i);const o=this.createModalSidebarComponent(t);this.modalSidebarComponents.set(t.id,o),this.bucket.body.appendChild(o),this.updateModalSidebarPositions()}))}async closeModalSidebar(t=!1){const e=t?0:this.modalSidebars.length-1;for(;this.modalSidebars.length>e;){const t=this.modalSidebars.pop();t&&(this.modalSidebarComponents.get(t.id).remove(),this.modalSidebarComponents.delete(t.id),this.components.unregister(t.id))}this.updateModalSidebarPositions()}}class xg extends nu{constructor(){super(...arguments),this.items=new Map}get bucket(){return this.component}register(t,e){this.items.set(t,e)}unregister(t){this.items.delete(t),this.bucket.components.unregister(t),this.bucket.dispatchStateEvent()}async open(t){const e=yt("og-dialog",{componentId:t.id,maximizable:t.maximizable??!0,listeners:[["dialog.move",()=>this.bucket.dispatchStateEvent()],["dialog.resize",()=>this.bucket.dispatchStateEvent()],["dialog.close",t=>this.unregister(t.dialog.componentId)]]});e.setOptions(t),e.open(this.bucket),e.showLoader();let i=t.component;return delete t.component,!i&&t.id&&(i=await this.bucket.createComponent(t.id),this.register(t.id,e)),e.hideLoader(),e.component=i,t.id&&(this.register(t.id,e),this.bucket.dispatchStateEvent()),e}}var kg,Cg=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Mg={top:{rightItems:[]},sidemenu:{items:[],activeIndex:null},sidebar:{width:gg.SIDEBAR_WIDTH,collapsed:!1},editorLayout:{items:[]}};class _g extends Event{constructor(t,e){super(`bucket.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let Sg=kg=class extends ou{get activeComponentId(){return this._activeComponentId}get container(){return this._container||(this._container=yt("og-splitcontainer"),this._container.orientation="horizontal",this._container.items=[{size:this.sourceData.sidebar?.width||gg.SIDEBAR_WIDTH,collapsed:this.sourceData.sidebar?.collapsed||!1},{size:null}],this._container.createComponent=this._createSplitContainerComponent,this._container.addEventListener("splitContainer.resize",this._onSplitContainerResize),this._container.addEventListener("tab.beforeRemove",this._onTabBeforeRemove),this._container.addEventListener("tab.remove",this._onTabRemove),this._container.addEventListener("tab.select",this._onTabSelect)),this._container}get editorContainer(){return this._editorContainer||(this._editorContainer=yt("og-tabsplitcontainer"),this._editorContainer.style.height="100%",this._editorContainer.closable=!0,this._editorContainer.singleActive=!0,this._editorContainer.createComponent=this.createEditorComponent,this._editorContainer.model=new Op(this.sourceData.editorLayout),this._editorContainer.scrollableTabs=!0),this._editorContainer}get sidebarHost(){return this._sidebarHost||(this._sidebarHost=yt("og-bucket-sidebar"),this._sidebarHost.bucket=this,this._sidebarHost.componentId=this.sidebar1ComponentId),this._sidebarHost}constructor(){super(),this.sourceData=Mg,this.logger=new Sr("Ωbucket"),this.compact=!1,this.updateContainerVisibility=q((()=>{let t=!1;this.editorContainer.walk(((e,i)=>{if(i.tabs?.items?.length)return t=!0,!1})),t?xt(this.editorContainer):kt(this.editorContainer)}),100),this.showOverlay=()=>this.overlay.show(this.body),this.hideOverlay=()=>this.overlay.hide(),this._onWindowBeforeUnload=t=>{this.components.hasUnsavedComponents&&(t.preventDefault(),t.returnValue="")},this.createEditorComponent=t=>yt("og-bucket-component-host",{componentId:t,bucket:this,pathPosition:this.options.pathPosition}),this._createSplitContainerComponent=t=>{let e;return 0==t?(this.logger.info("create primary sidebar"),this.sidebarHost):1==t?(this.logger.info("create editor container"),this.editorContainer):(e||(e=yt("div"),e.innerHTML="empty"),e)},this._onSplitContainerResize=()=>{this.top?.layout(),this.dispatchStateEvent()},this._onTabRemove=t=>{this.components.unregister(t.tab.id),this.dispatchEvent(new _g("close",{tab:t.tab,componentId:t.tab.id})),this.dispatchStateEvent()},this._onTabBeforeRemove=t=>{this.components.unsavedComponents.has(t.tab.id)&&(t.preventDefault(),this.openMenu({text:"Discard changes and close tab?",content:"yes_no"}).then((e=>{"Y"==e?.command?.id&&(this.components.unsavedComponents.delete(t.tab.id),t.tabs.removeTab(t.index,!0))})))},this._onTabSelect=t=>{t.tabs.topLevelComponent==this.editorContainer&&(this._activeComponentId=t.tab?.id,this.dispatchEvent(new _g("activate",{tab:t.tab,componentId:t.tab?.id})),this.dispatchStateEvent())},this.render=()=>as`
2668
+ `;class fg extends nu{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=yt("og-bucket-alert"),i={options:t,component:e};e.options=t,e.addEventListener("close",(()=>this.removeAlert(i))),this.component.shadowRoot.appendChild(e),this.items.push(i),this.items.length>this.component.options.alerts.maxItems&&this.removeAlert(this.items[0]);const o=t.timeout??this.component.options.alerts.timeout;o>0&&(i.timer=window.setTimeout((()=>{i.timer=void 0,this.removeAlert(i)}),o)),await this.component.updateComplete,this.updatePositions()}updatePositions(){[...this.items].reverse().forEach(((t,e)=>{Ht(t.component,{r:10,b:10+e*(t.component.offsetHeight+10)})}))}removeAlert(t){const e=this.items.indexOf(t);-1!=e&&(this.items[e].component.remove(),this.items.splice(e,1),null!=t.timer&&window.clearTimeout(t.timer),t.timer=void 0,this.updatePositions())}}const vg={alerts:{maxItems:5,timeout:5e3},pathPosition:"top",componentMode:"tabbed"};function bg(t,e=null){return{...nn(t,e),...vg,...e,...t}}class yg extends nu{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.paths=new Map,this.components=new Map,this.anonymousComponents=new Map,this.unsavedComponents=new Set,this.states=new Map}get hasUnsavedComponents(){return this.unsavedComponents.size>0}get bucket(){return this.component}setState(t,e){const i=this.components.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.components.has(t)||this.anonymousComponents.has(t)||this._resolvingComponentIds.has(t)}get(t){let e=this.components.get(t);return e??(e=this.anonymousComponents.get(t)),e?(this.resolveComponentPromises(t,e),e):new Promise(((e,i)=>{const o=this.components.get(t);if(this.enqueueComponentResolution(t,e,i),!this._resolvingComponentIds.has(t)){if(o)return this.resolveComponentPromises(t,o);this._resolvingComponentIds.add(t),Promise.all([this.component.createComponent(t)]).then((e=>{const i=e[0];if(i){this.register(t,i);const e=this.bucket.state;e?.components&&e?.components[t]&&i.setState&&i.setState(e.components[t])}this.resolveComponentPromises(t,i)}))}}))}resolveComponentPromises(t,e){this._componentPromiseResolutions.has(t)&&(this._componentPromiseResolutions.get(t).forEach((t=>t.resolve(e))),this._componentPromiseResolutions.delete(t)),this._resolvingComponentIds.delete(t)}enqueueComponentResolution(t,e,i){this._componentPromiseResolutions.has(t)||this._componentPromiseResolutions.set(t,[]),this._componentPromiseResolutions.get(t).push({resolve:e,reject:i})}update(t,e){const i=e.id??t;if(this.bucket.editorContainer.updateTab(t,{id:i,title:e.title??void 0}),this.components.has(t)&&i!=t){const e=this.components.get(t);this.unregister(t),this.register(i,e)}return this.components.get(i)}register(t,e){if(null==t)t=`temp_${Sg.getUniqueId()}`,this.anonymousComponents.set(t,e);else if(this.components.set(t,e),this.has(t))return t;return this.bucket.dispatchEvent(new _g("register",{componentId:t})),t}unregister(t){this.components.delete(t),this.anonymousComponents.delete(t),this.paths.delete(t),this.bucket.dispatchEvent(new _g("unregister",{componentId:t}))}async getPath(t){if(this.paths.has(t))return this.paths.get(t);if(!this.bucket.options.pathResolver)return[];const e=await this.bucket.options.pathResolver(t);return this.paths.set(t,e),e}}class wg extends nu{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=yt("og-bucket-modal-sidebar");return e.className=t.position??"left",e.componentId=t.id,e.caption=t.caption,e.closable=null==t.closable||t.closable,e.bucket=this.bucket,e}}get bucket(){return this.component}get components(){return this.bucket.components}updateModalSidebarPositions(){this.modalSidebars.length>0?this.bucket.showOverlay():this.bucket.hideOverlay();const t=this.bucket.compact?this.bucket.sidemenu.offsetWidth:this.bucket.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const r=this.modalSidebarComponents.get(o.id),n="right"==o.position,s=n?i:e;r&&(qt(r,500+s),Nt(r,{w:o.width||gg.SIDEBAR_WIDTH}),n?(i++,Ht(r,{t:0,r:0+20*s,b:0})):(Ht(r,{t:0,l:t+20*s,b:0}),e++))}))}async openModalSidebar(t){return this.bucket.showOverlay(),this.modalSidebars.push(t),t.component&&(t.id=t.id||`temp-${Sg.getUniqueId()}`,this.components.register(t.id,t.component)),new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i);const o=this.createModalSidebarComponent(t);this.modalSidebarComponents.set(t.id,o),this.bucket.body.appendChild(o),this.updateModalSidebarPositions()}))}async closeModalSidebar(t=!1){const e=t?0:this.modalSidebars.length-1;for(;this.modalSidebars.length>e;){const t=this.modalSidebars.pop();t&&(this.modalSidebarComponents.get(t.id).remove(),this.modalSidebarComponents.delete(t.id),this.components.unregister(t.id))}this.updateModalSidebarPositions()}}class xg extends nu{constructor(){super(...arguments),this.items=new Map}get bucket(){return this.component}register(t,e){this.items.set(t,e)}unregister(t){this.items.delete(t),this.bucket.components.unregister(t),this.bucket.dispatchStateEvent()}async open(t){const e=yt("og-dialog",{componentId:t.id,maximizable:t.maximizable??!0,listeners:[["dialog.move",()=>this.bucket.dispatchStateEvent()],["dialog.resize",()=>this.bucket.dispatchStateEvent()],["dialog.close",t=>this.unregister(t.dialog.componentId)]]});e.setOptions(t),e.open(this.bucket),e.showLoader();let i=t.component;return delete t.component,!i&&t.id&&(i=await this.bucket.createComponent(t.id),this.register(t.id,e)),e.hideLoader(),e.component=i,t.id&&(this.register(t.id,e),this.bucket.dispatchStateEvent()),e}}var kg,Cg=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Mg={top:{rightItems:[]},sidemenu:{items:[],activeIndex:null,hidden:!1},sidebar:{width:gg.SIDEBAR_WIDTH,collapsed:!1},editorLayout:{items:[]}};class _g extends Event{constructor(t,e){super(`bucket.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let Sg=kg=class extends ou{get activeComponentId(){return this._activeComponentId}get container(){return this._container||(this._container=yt("og-splitcontainer"),this._container.orientation="horizontal",this._container.items=[{size:this.sourceData.sidebar?.width||gg.SIDEBAR_WIDTH,collapsed:this.sourceData.sidebar?.collapsed||!1},{size:null}],this._container.createComponent=this._createSplitContainerComponent,this._container.addEventListener("splitContainer.resize",this._onSplitContainerResize),this._container.addEventListener("tab.beforeRemove",this._onTabBeforeRemove),this._container.addEventListener("tab.remove",this._onTabRemove),this._container.addEventListener("tab.select",this._onTabSelect)),this._container}get editorContainer(){return this._editorContainer||(this._editorContainer=yt("og-tabsplitcontainer"),this._editorContainer.style.height="100%",this._editorContainer.closable=!0,this._editorContainer.singleActive=!0,this._editorContainer.createComponent=this.createEditorComponent,this._editorContainer.model=new Op(this.sourceData.editorLayout),this._editorContainer.scrollableTabs=!0),this._editorContainer}get singleContainer(){return this._singleContainer||(this._singleContainer=yt("div"),this._singleContainer.style.height="100%"),this._singleContainer}get sidebarHost(){return this._sidebarHost||(this._sidebarHost=yt("og-bucket-sidebar"),this._sidebarHost.bucket=this,this._sidebarHost.componentId=this.sidebar1ComponentId),this._sidebarHost}constructor(){super(),this.sourceData=Mg,this.logger=new Sr("Ωbucket"),this.compact=!1,this.updateContainerVisibility=q((()=>{let t=!1;this.editorContainer.walk(((e,i)=>{if(i.tabs?.items?.length)return t=!0,!1})),t?xt(this.editorContainer):kt(this.editorContainer)}),100),this.showOverlay=()=>this.overlay.show(this.body),this.hideOverlay=()=>this.overlay.hide(),this._onWindowBeforeUnload=t=>{this.components.hasUnsavedComponents&&(t.preventDefault(),t.returnValue="")},this.createEditorComponent=t=>yt("og-bucket-component-host",{componentId:t,bucket:this,pathPosition:this.options.pathPosition}),this._createSplitContainerComponent=t=>{let e;return 0==t?(this.logger.info("create primary sidebar"),this.sidebarHost):1==t?(this.logger.info("create editor container"),"single"==this.options?.componentMode?this.singleContainer:this.editorContainer):(e||(e=yt("div"),e.innerHTML="empty"),e)},this._onSplitContainerResize=()=>{this.top?.layout(),this.dispatchStateEvent()},this._onTabRemove=t=>{this.components.unregister(t.tab.id),this.dispatchEvent(new _g("close",{tab:t.tab,componentId:t.tab.id})),this.dispatchStateEvent()},this._onTabBeforeRemove=t=>{this.components.unsavedComponents.has(t.tab.id)&&(t.preventDefault(),this.openMenu({text:"Discard changes and close tab?",content:"yes_no"}).then((e=>{"Y"==e?.command?.id&&(this.components.unsavedComponents.delete(t.tab.id),t.tabs.removeTab(t.index,!0))})))},this._onTabSelect=t=>{t.tabs.topLevelComponent==this.editorContainer&&(this._activeComponentId=t.tab?.id,this.dispatchEvent(new _g("activate",{tab:t.tab,componentId:t.tab?.id})),this.dispatchStateEvent())},this.render=()=>as`
2669
2669
  <og-bucket-top></og-bucket-top>
2670
2670
 
2671
2671
  <div class="body">
2672
2672
  <og-overlay></og-overlay>
2673
2673
 
2674
- <og-bucket-sidemenu
2675
- @select=${this._onSidemenuSelect}
2676
- .settings=${this.sourceData.sidemenu}>
2677
- </og-bucket-sidemenu>
2674
+ ${this.sourceData.sidemenu.hidden?as``:as`
2675
+ <og-bucket-sidemenu
2676
+ @select=${this._onSidemenuSelect}
2677
+ .settings=${this.sourceData.sidemenu}>
2678
+ </og-bucket-sidemenu>
2679
+ `}
2678
2680
 
2679
2681
  <div class="main"></div>
2680
2682
  </div>
2681
- `,this.components=new yg(this),this.sidebars=new wg(this),this.alerts=new fg(this),this.dialogs=new xg(this),this.commands=new pg(this),this.shortcuts=new mn(this),this.options=bg(),this.logger.info("init"),this.addEventListener("state",(t=>{t.target!=this&&(t.stopPropagation(),this.dispatchStateEvent())}))}connectedCallback(){super.connectedCallback(),this.tabIndex=0,this.logger.info("connected"),window.addEventListener("beforeunload",this._onWindowBeforeUnload)}disconnectedCallback(){window.removeEventListener("beforeunload",this._onWindowBeforeUnload)}layout(){this.container?.layout(),this.top?.layout()}setSourceData(t){this.sourceData=t,t.options&&(this.options=bg(t.options,this.options))}async updated(){const t=this.compact?this.editorContainer:this.container;t.parentElement!=this.main&&(St(this.main),this.main.appendChild(t),t.requestUpdate());const e=(this.sourceData.sidemenu.items??[])[this.sourceData.sidemenu.activeIndex]?.id;e&&(this.sidebar1ComponentId=e),await(this.container?.updateComplete),this.layout()}async open(t){this.compact&&this.hideSidebar(),xt(this.editorContainer);const e=t.component;return e?(t.id=this.components.register(t.id,t.component),delete t.component,this.editorContainer.open(t),e):new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i),this.editorContainer.open(t),this.dispatchStateEvent()}))}async openDialog(t){return await this.dialogs.open(t)}openMenu(t){return this.commands.open(t)}openModalSidebar(t){return this.sidebars.openModalSidebar(t)}async toggleSidebar(t){t??(t=this.compact?this.sidebarHost.parentElement!=this.main:this.container.items[0].collapsed),t?this.showSidebar():this.hideSidebar()}async hideSidebar(){this.compact?this.sidebarHost.parentElement==this.main&&(St(this.main),this.main.appendChild(this.editorContainer)):await this.container.collapse(0,!0),this.layout()}async showSidebar(){this.compact?this.sidebarHost.parentElement!=this.main&&(St(this.main),this.main.appendChild(this.sidebarHost)):await this.container.collapse(0,!1),this.layout()}showAlert(t){return this.alerts.addAlert(t)}getState(){const t=this.container?.items[0];return{sidebar:{selectedItem:this.sidebar1ComponentId,width:t?.size,collapsed:!!t?.collapsed},layout:this.editorContainer?.model.getSourceData(),dialogs:[...Array.from(this.dialogs.items.entries()).map((([t,e])=>Object.assign({id:t},e.getOptions())))],components:[...this.components.components].reduce(((t,[e,i])=>{if(i.getState){const o=i.getState();o&&(t[e]=o)}return t}),{})}}async setState(t){this.state=t;const e=this.sourceData.sidemenu.items.findIndex((e=>e.id==t.sidebar.selectedItem));e>=0&&(this.sourceData.sidemenu.activeIndex=e,this.sidebar1ComponentId=t.sidebar.selectedItem),this.sourceData.editorLayout=t.layout,this._editorContainer=null,this.requestUpdate(),await this.updateComplete,this.sidemenu?.requestUpdate(),this.updateSidebarComponent(),this.updateMainComponent(),t.dialogs?.forEach((t=>this.openDialog(t)));for(const e in t.components)this.components.setState(e,t.components[e])}_onSidemenuSelect(t){const e=(this.sourceData.sidemenu.items??[])[t.index]?.id;e==this.sidebar1ComponentId?this.toggleSidebar():(this.toggleSidebar(!0),this.sidebar1ComponentId=e,this.updateSidebarComponent()),this.dispatchStateEvent()}updateSidebarComponent(){this.sidebarHost.componentId=this.sidebar1ComponentId}updateMainComponent(){this.container?.updateComponent(1)}async openSidebarComponent(t){this.sidebar1ComponentId=t.toString(),this.showSidebar(),this.updateSidebarComponent(),this.sidemenu.selectItem(t.toString()),await this.sidebarHost.updateComplete}};Sg.styles=[mg],Sg.uniqueId=0,Sg.getUniqueId=()=>++kg.uniqueId,Cg([$s("og-overlay")],Sg.prototype,"overlay",void 0),Cg([$s("og-bucket-top")],Sg.prototype,"top",void 0),Cg([$s("og-bucket-sidemenu")],Sg.prototype,"sidemenu",void 0),Cg([$s(".body")],Sg.prototype,"body",void 0),Cg([$s(".main")],Sg.prototype,"main",void 0),Cg([Ts({type:Object})],Sg.prototype,"createComponent",void 0),Cg([Ts({type:Object})],Sg.prototype,"sourceData",void 0),Cg([Ts({type:Object})],Sg.prototype,"options",void 0),Cg([Ts({type:Object})],Sg.prototype,"logger",void 0),Cg([Ts({type:Boolean})],Sg.prototype,"compact",void 0),Sg=kg=Cg([Ls("og-bucket")],Sg);const Eg=kn`
2683
+ `,this.components=new yg(this),this.sidebars=new wg(this),this.alerts=new fg(this),this.dialogs=new xg(this),this.commands=new pg(this),this.shortcuts=new mn(this),this.options=bg(),this.logger.info("init"),this.addEventListener("state",(t=>{t.target!=this&&(t.stopPropagation(),this.dispatchStateEvent())}))}connectedCallback(){super.connectedCallback(),this.tabIndex=0,this.logger.info("connected"),window.addEventListener("beforeunload",this._onWindowBeforeUnload)}disconnectedCallback(){window.removeEventListener("beforeunload",this._onWindowBeforeUnload)}layout(){this.container?.layout(),this.top?.layout()}setSourceData(t){this.sourceData=t,t.options&&(this.options=bg(t.options,this.options))}async updated(){const t=this.compact?"single"==this.options?.componentMode?this.singleContainer:this.editorContainer:this.container;t.parentElement!=this.main&&(St(this.main),this.main.appendChild(t),t instanceof Es&&t.requestUpdate());const e=(this.sourceData.sidemenu.items??[])[this.sourceData.sidemenu.activeIndex]?.id;e&&(this.sidebar1ComponentId=e),await(this.container?.updateComplete),this.layout()}_openComponent(t){"single"==this.options?.componentMode?(St(this.singleContainer),this.singleContainer.appendChild(this.createEditorComponent(t.id))):this.editorContainer.open(t)}async open(t){this.compact&&this.hideSidebar(),"single"==this.options?.componentMode?xt(this.singleContainer):xt(this.editorContainer);const e=t.component;return e?(t.id=this.components.register(t.id,t.component),delete t.component,this._openComponent(t),e):new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i),this._openComponent(t),this.dispatchStateEvent()}))}async openDialog(t){return await this.dialogs.open(t)}openMenu(t){return this.commands.open(t)}openModalSidebar(t){return this.sidebars.openModalSidebar(t)}async toggleSidebar(t){t??(t=this.compact?this.sidebarHost.parentElement!=this.main:this.container.items[0].collapsed),t?this.showSidebar():this.hideSidebar()}async hideSidebar(){this.compact?this.sidebarHost.parentElement==this.main&&(St(this.main),this.main.appendChild(this.editorContainer)):await this.container.collapse(0,!0),this.layout()}async showSidebar(){this.compact?this.sidebarHost.parentElement!=this.main&&(St(this.main),this.main.appendChild(this.sidebarHost)):await this.container.collapse(0,!1),this.layout()}showAlert(t){return this.alerts.addAlert(t)}getState(){const t=this.container?.items[0];return{sidebar:{selectedItem:this.sidebar1ComponentId,width:t?.size,collapsed:!!t?.collapsed},layout:this.editorContainer?.model.getSourceData(),dialogs:[...Array.from(this.dialogs.items.entries()).map((([t,e])=>Object.assign({id:t},e.getOptions())))],components:[...this.components.components].reduce(((t,[e,i])=>{if(i.getState){const o=i.getState();o&&(t[e]=o)}return t}),{})}}async setState(t){this.state=t;const e=this.sourceData.sidemenu.items.findIndex((e=>e.id==t.sidebar.selectedItem));e>=0&&(this.sourceData.sidemenu.activeIndex=e,this.sidebar1ComponentId=t.sidebar.selectedItem),this.sourceData.editorLayout=t.layout,this._editorContainer=null,this.requestUpdate(),await this.updateComplete,this.sidemenu?.requestUpdate(),this.updateSidebarComponent(),this.updateMainComponent(),t.dialogs?.forEach((t=>this.openDialog(t)));for(const e in t.components)this.components.setState(e,t.components[e])}_onSidemenuSelect(t){const e=(this.sourceData.sidemenu.items??[])[t.index]?.id;e==this.sidebar1ComponentId?this.toggleSidebar():(this.toggleSidebar(!0),this.sidebar1ComponentId=e,this.updateSidebarComponent()),this.dispatchStateEvent()}updateSidebarComponent(){this.sidebarHost.componentId=this.sidebar1ComponentId}updateMainComponent(){this.container?.updateComponent(1)}async openSidebarComponent(t){this.sidebar1ComponentId=t.toString(),this.showSidebar(),this.updateSidebarComponent(),this.sidemenu.selectItem(t.toString()),await this.sidebarHost.updateComplete}};Sg.styles=[mg],Sg.uniqueId=0,Sg.getUniqueId=()=>++kg.uniqueId,Cg([$s("og-overlay")],Sg.prototype,"overlay",void 0),Cg([$s("og-bucket-top")],Sg.prototype,"top",void 0),Cg([$s("og-bucket-sidemenu")],Sg.prototype,"sidemenu",void 0),Cg([$s(".body")],Sg.prototype,"body",void 0),Cg([$s(".main")],Sg.prototype,"main",void 0),Cg([Ts({type:Object})],Sg.prototype,"createComponent",void 0),Cg([Ts({type:Object})],Sg.prototype,"sourceData",void 0),Cg([Ts({type:Object})],Sg.prototype,"options",void 0),Cg([Ts({type:Object})],Sg.prototype,"logger",void 0),Cg([Ts({type:Boolean})],Sg.prototype,"compact",void 0),Sg=kg=Cg([Ls("og-bucket")],Sg);const Eg=kn`
2682
2684
  * {
2683
2685
  box-sizing: border-box;
2684
2686
  }
@@ -3043,7 +3045,7 @@
3043
3045
  margin-right: -4px;
3044
3046
  display: inline;
3045
3047
  }
3046
- `],Zg([Ts({type:Array})],Qg.prototype,"path",void 0),Zg([Ts({type:Boolean})],Qg.prototype,"clickable",void 0),Qg=Zg([Ls("og-bucket-path")],Qg);class Kg{static init(t){Kg.monacoPath=t}static async get(){return this.monaco||(this.monaco=await this.load()),this.monaco}static getSync(){return this.monaco}static load(){if(!cn.require)throw new Error("AMDLoader is not initialized");return cn.require.config({paths:{vs:Kg.monacoPath}}),new Promise((t=>{cn.require(["vs/editor/editor.main"],(()=>{t(self.monaco)}))}))}static async loadToIFrame(t){if(!cn.require)throw new Error("AMDLoader is not initialized");const e=t.contentWindow;return e.monaco?e.monaco:(await hn.load(`${Kg.monacoPath}/loader.js`,t.contentDocument),e.require.config({paths:{vs:Kg.monacoPath}}),await new Promise((t=>{e.require(["vs/editor/editor.main"],(()=>{t(e.monaco)}))})))}}class Jg extends Event{constructor(t,e,i){super(`code.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.origEvent=i}}var tm,em,im,om,rm,nm,sm,am,lm,cm,hm,dm=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},um=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},pm=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let gm=hm=class extends Es{constructor(){super(...arguments),tm.set(this,void 0),em.set(this,void 0),im.set(this,"typescript"),om.set(this,!1),rm.set(this,0),nm.set(this,void 0),sm.set(this,void 0),am.set(this,void 0),lm.set(this,void 0),cm.set(this,(()=>{um(this,tm,"f").updateOptions({theme:this.theme})})),this.zIndex=hm.defaultZIndex,this.positionOffset={t:1,l:1,r:-1,b:-1},this.getOptions=()=>({...this.options,theme:this.theme,language:um(this,im,"f"),fontSize:rn().fontSize,fontLigatures:""})}get monaco(){return hm.monaco}get editor(){return um(this,tm,"f")}get model(){return um(this,tm,"f")?.getModel()}get options(){return um(this,em,"f")}set options(t){pm(this,em,t,"f"),um(this,tm,"f")?.updateOptions(t)}get content(){return um(this,tm,"f")?um(this,tm,"f").getValue():um(this,nm,"f")}set content(t){null==t&&(t=""),um(this,tm,"f")?(pm(this,om,!0,"f"),um(this,tm,"f")?.setValue(t)):pm(this,nm,t,"f")}get language(){return um(this,im,"f")}set language(t){pm(this,im,t,"f"),this.model&&Kg.get().then((e=>e.editor.setModelLanguage(this.model,t)))}get selectedContent(){if(!um(this,tm,"f"))return um(this,nm,"f");const t=um(this,tm,"f").getSelections().map((t=>this.model.getValueInRange(t))).join("\n").trim();return null==t||""==t?um(this,tm,"f").getValue():t}get container(){return um(this,lm,"f")??pm(this,lm,yt("div",{style:{zIndex:this.zIndex.toString()}}),"f")}get theme(){return"light"==Wa().activeTheme?.type?"vs":"vs-dark"}showContainer(){this.container.parentElement!==document.body&&document.body.appendChild(this.container)}hideContainer(){um(this,lm,"f")?.remove()}async initEditor(){if(um(this,rm,"f")>0)return;pm(this,rm,1,"f"),hm.monaco=await Kg.get(),pm(this,tm,hm.monaco.editor.create(this.container,this.getOptions()),"f");const t=um(this,im,"f"),e=hm.monaco.editor.createModel(um(this,nm,"f"),t,this.monaco.Uri.parse(this.uri));um(this,tm,"f").setModel(e),um(this,sm,"f")&&um(this,tm,"f").setSelection(um(this,sm,"f")),um(this,am,"f")&&um(this,tm,"f").setScrollPosition({scrollTop:um(this,am,"f").top,scrollLeft:um(this,am,"f").left}),um(this,tm,"f").onDidBlurEditorText((()=>{this.dispatchEvent(new Jg("blur",{editor:um(this,tm,"f")}))})),um(this,tm,"f").onDidChangeModelContent((t=>{um(this,om,"f")?pm(this,om,!1,"f"):(this.dispatchEvent(new Jg("change",{editor:um(this,tm,"f"),changes:t.changes})),this.dispatchEvent(new Xr({value:e})))})),um(this,tm,"f").onKeyDown((t=>{this.dispatchEvent(new Jg("keydown",{editor:um(this,tm,"f")},t.browserEvent))})),pm(this,om,!1,"f"),pm(this,rm,2,"f"),this.dispatchEvent(new Jg("ready",{editor:um(this,tm,"f")})),um(this,tm,"f").focus(),setTimeout((()=>{um(this,im,"f")!=t&&hm.monaco.editor.setModelLanguage(e,um(this,im,"f"))}),100)}async updated(){await this.initEditor(),this.layout()}connectedCallback(){super.connectedCallback(),Wa().addEventListener("change",um(this,cm,"f")),this.hasUpdated&&(this.initEditor(),this.layout())}disconnectedCallback(){Wa().removeEventListener("change",um(this,cm,"f")),this.hideContainer()}layout(){if(!this.isConnected||this.clientWidth<10||this.clientHeight<10)return void this.hideContainer();this.showContainer();const t=Tt(this,document.body);Ht(this.container,{t:t.top+this.positionOffset.t,l:t.left+ +this.positionOffset.l}),Nt(this.container,{w:this.clientWidth+this.positionOffset.r,h:this.clientHeight+this.positionOffset.b}),this.editor?.layout()}dispose(){um(this,lm,"f")?.remove(),pm(this,lm,null,"f"),um(this,tm,"f")?.dispose(),pm(this,tm,null,"f"),pm(this,rm,0,"f")}focus(){um(this,tm,"f")?.focus()}};tm=new WeakMap,em=new WeakMap,im=new WeakMap,om=new WeakMap,rm=new WeakMap,nm=new WeakMap,sm=new WeakMap,am=new WeakMap,lm=new WeakMap,cm=new WeakMap,gm.defaultZIndex=1e4,gm.styles=kn`
3048
+ `],Zg([Ts({type:Array})],Qg.prototype,"path",void 0),Zg([Ts({type:Boolean})],Qg.prototype,"clickable",void 0),Qg=Zg([Ls("og-bucket-path")],Qg);class Kg{static init(t){Kg.monacoPath=t}static async get(){return this.monaco||(this.monaco=await this.load()),this.monaco}static getSync(){return this.monaco}static load(){if(!cn.require)throw new Error("AMDLoader is not initialized");return cn.require.config({paths:{vs:Kg.monacoPath}}),new Promise((t=>{cn.require(["vs/editor/editor.main"],(()=>{t(self.monaco)}))}))}static async loadToIFrame(t){if(!cn.require)throw new Error("AMDLoader is not initialized");const e=t.contentWindow;return e.monaco?e.monaco:(await hn.load(`${Kg.monacoPath}/loader.js`,t.contentDocument),e.require.config({paths:{vs:Kg.monacoPath}}),await new Promise((t=>{e.require(["vs/editor/editor.main"],(()=>{t(e.monaco)}))})))}}class Jg extends Event{constructor(t,e,i){super(`code.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.origEvent=i}}var tm,em,im,om,rm,nm,sm,am,lm,cm,hm,dm=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},um=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},pm=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let gm=hm=class extends Es{constructor(){super(...arguments),tm.set(this,void 0),em.set(this,void 0),im.set(this,"typescript"),om.set(this,!1),rm.set(this,0),nm.set(this,void 0),sm.set(this,void 0),am.set(this,void 0),lm.set(this,void 0),cm.set(this,(()=>{um(this,tm,"f").updateOptions({theme:this.theme})})),this.zIndex=hm.defaultZIndex,this.positionOffset={t:1,l:1,r:-1,b:-1},this.getOptions=()=>({...this.options,theme:this.theme,language:um(this,im,"f"),fontSize:rn().fontSize,fontLigatures:""})}get monaco(){return hm.monaco}get editor(){return um(this,tm,"f")}get model(){return um(this,tm,"f")?.getModel()}get options(){return um(this,em,"f")}set options(t){pm(this,em,t,"f"),um(this,tm,"f")?.updateOptions(t)}get content(){return um(this,tm,"f")?um(this,tm,"f").getValue():um(this,nm,"f")}set content(t){null==t&&(t=""),um(this,tm,"f")?(pm(this,om,!0,"f"),um(this,tm,"f")?.setValue(t)):pm(this,nm,t,"f")}get language(){return um(this,im,"f")}set language(t){pm(this,im,t,"f"),this.model&&Kg.get().then((e=>e.editor.setModelLanguage(this.model,t)))}get selectedContent(){if(!um(this,tm,"f"))return um(this,nm,"f");const t=um(this,tm,"f").getSelections().map((t=>this.model.getValueInRange(t))).join("\n").trim();return null==t||""==t?um(this,tm,"f").getValue():t}get container(){return um(this,lm,"f")??pm(this,lm,yt("div",{style:{zIndex:this.zIndex.toString()}}),"f")}get theme(){return"light"==Wa().activeTheme?.type?"vs":"vs-dark"}showContainer(){this.container.parentElement!==document.body&&document.body.appendChild(this.container)}hideContainer(){um(this,lm,"f")?.remove()}async initEditor(){if(um(this,rm,"f")>0)return;pm(this,rm,1,"f"),hm.monaco=await Kg.get(),pm(this,tm,hm.monaco.editor.create(this.container,this.getOptions()),"f");const t=um(this,im,"f"),e=hm.monaco.editor.createModel(um(this,nm,"f"),t,this.uri?this.monaco.Uri.parse(this.uri):null);um(this,tm,"f").setModel(e),um(this,sm,"f")&&um(this,tm,"f").setSelection(um(this,sm,"f")),um(this,am,"f")&&um(this,tm,"f").setScrollPosition({scrollTop:um(this,am,"f").top,scrollLeft:um(this,am,"f").left}),um(this,tm,"f").onDidBlurEditorText((()=>{this.dispatchEvent(new Jg("blur",{editor:um(this,tm,"f")}))})),um(this,tm,"f").onDidChangeModelContent((t=>{um(this,om,"f")?pm(this,om,!1,"f"):(this.dispatchEvent(new Jg("change",{editor:um(this,tm,"f"),changes:t.changes})),this.dispatchEvent(new Xr({value:e})))})),um(this,tm,"f").onKeyDown((t=>{this.dispatchEvent(new Jg("keydown",{editor:um(this,tm,"f")},t.browserEvent))})),pm(this,om,!1,"f"),pm(this,rm,2,"f"),this.dispatchEvent(new Jg("ready",{editor:um(this,tm,"f")})),um(this,tm,"f").focus(),setTimeout((()=>{um(this,im,"f")!=t&&hm.monaco.editor.setModelLanguage(e,um(this,im,"f"))}),100)}async updated(){await this.initEditor(),this.layout()}connectedCallback(){super.connectedCallback(),Wa().addEventListener("change",um(this,cm,"f")),this.hasUpdated&&(this.initEditor(),this.layout())}disconnectedCallback(){Wa().removeEventListener("change",um(this,cm,"f")),this.hideContainer()}layout(){if(!this.isConnected||this.clientWidth<10||this.clientHeight<10)return void this.hideContainer();this.showContainer();const t=Tt(this,document.body);Ht(this.container,{t:t.top+this.positionOffset.t,l:t.left+ +this.positionOffset.l}),Nt(this.container,{w:this.clientWidth+this.positionOffset.r,h:this.clientHeight+this.positionOffset.b}),this.editor?.layout()}dispose(){um(this,lm,"f")?.remove(),pm(this,lm,null,"f"),um(this,tm,"f")?.dispose(),pm(this,tm,null,"f"),pm(this,rm,0,"f")}focus(){um(this,tm,"f")?.focus()}};tm=new WeakMap,em=new WeakMap,im=new WeakMap,om=new WeakMap,rm=new WeakMap,nm=new WeakMap,sm=new WeakMap,am=new WeakMap,lm=new WeakMap,cm=new WeakMap,gm.defaultZIndex=1e4,gm.styles=kn`
3047
3049
  :host {
3048
3050
  user-select: text;
3049
3051
  display: block;
@@ -9613,4 +9615,4 @@ milkdown-block-handle {
9613
9615
  `:null}
9614
9616
  </div>
9615
9617
  </og-panel>
9616
- `:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?wv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?wv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=wv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};hL.styles=[lL],cL([Ts({type:Object})],hL.prototype,"model",void 0),cL([As()],hL.prototype,"editTitle",void 0),cL([$s("#title")],hL.prototype,"titleInput",void 0),cL([$s("#type")],hL.prototype,"typeList",void 0),cL([$s("#dataRange")],hL.prototype,"dataRangeInput",void 0),cL([$s("#seriesRange")],hL.prototype,"seriesRangeInput",void 0),cL([$s("#categoryRange")],hL.prototype,"categoryRangeInput",void 0),hL=cL([Ls("og-plugin-chart-form")],hL);const dL=Wa().themes.get("dark");Object.assign(dL.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const uL=Wa().themes.get("light");Object.assign(uL.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var pL=i(6946),gL=i(6471),mL=i(4969),fL=i(9502),vL=i(7706),bL=i(1480),yL=i(2006),wL=i(7503),xL=i(7873),kL=i(8746),CL=i(2570),ML=i(8815),_L=i(6390),SL=i(6593),EL=i(895),zL=i(9083),LL=i(6093),IL=i(9685),RL=i(9849),TL=i(8268),AL=i(4693),OL=i(3599),$L=i(782),DL=i(754),NL=i(5700),PL=i(4731),jL=i(7291),HL=i(597),FL=i(1474),BL=i(6224),WL=i(6239),VL=i(6828),UL=i(2212),GL=i(863),qL=i(3602),YL=i(1985),ZL=i(886),XL=i(7201),QL=i(9937),KL=i(8450),JL=i(9630),tI=i(9766),eI=i(388),iI=i(1903),oI=i(398),rI=i(6105),nI=i(6147),sI=i(5722),aI=i(5576),lI=i(3131),cI=i(6308),hI=i(9645),dI=i(3199),uI=i(871),pI=i(5251),gI=i(6426),mI=i(2643),fI=i(8522),vI=i(6398),bI=i(2525),yI=i(8434),wI=i(6138),xI=i(5835),kI=i(5654),CI=i(6659),MI=i(2977),_I=i(4480),SI=i(9886),EI=i(6815),zI=i(1582),LI=i(2968),II=i(394),RI=i(7024),TI=i(7853),AI=i(8249),OI=i(2869),$I=i(486),DI=i(5735),NI=i(470),PI=i(4612),jI=i(4018),HI=i(1476),FI=i(3194),BI=i(3525),WI=i(7541),VI=i(4104),UI=i(6686),GI=i(7719),qI=i(3898),YI=i(8153),ZI=i(3690),XI=i(1776),QI=i(4980),KI=i(5578),JI=i(9613),tR=i(1119),eR=i(8444),iR=i(2978),oR=i(9130),rR=i(2127),nR=i(2732),sR=i(4287),aR=i(4045),lR=i(7642),cR=i(1367),hR=i(320),dR=i(821),uR=i(102),pR=i(7683),gR=i(3980),mR=i(576),fR=i(654),vR=i(73),bR=i(140),yR=i(8129),wR=i(5087),xR=i(6992),kR=i(8247),CR=i(8038),MR=i(5286),_R=i(9179),SR=i(1808),ER=i(9459),zR=i(2883),LR=i(9124),IR=i(7067),RR=i(1054),TR=i(7325),AR=i(1272),OR=i(3359),$R=i(6562),DR=i(4193),NR=i(6348),PR=i(2435),jR=i(7544),HR=i(4470),FR=i(9111),BR=i(9318),WR=i(7294),VR=i(4479),UR=i(2409),GR=i(3091),qR=i(5789),YR=i(5890),ZR=i(3874),XR=i(2907),QR=i(1175),KR=i(1686),JR=i(703),tT=i(6606),eT=i(4194),iT=i(6228),oT=i(62),rT=i(2072),nT=i(9744),sT=i(25),aT=i(2618),lT=i(1988),cT=i(8013),hT=i(1133),dT=i(362),uT=i(6845),pT=i(6800),gT=i(1103),mT=i(4933),fT=i(7284),vT=i(2620),bT=i(2366),yT=i(7457),wT=i(2449),xT=i(2),kT=i(5697),CT=i(7069),MT=i(4716),_T=i(4740),ST=i(4557),ET=i(1868),zT=i(8647),LT=i(5127),IT=i(4816),RT=i(4009),TT=i(5104),AT=i(2830),OT=i(3093),$T=i(5029),DT=i(3514),NT=i(2142),PT=i(4999),jT=i(7523),HT=i(346),FT=i(7917),BT=i(3976),WT=i(9801),VT=i(2464),UT=i(5511),GT=i(5210),qT=i(5815),YT=i(3339),ZT=i(7472),XT=i(8811),QT=i(8548),KT=i(6880),JT=i(1840),tA=i(5547),eA=i(4788),iA=i(9467),oA=i(9187),rA=i(9217),nA=i(7897),sA=i(2644),aA=i(6204),lA=i(1472),cA=i(1247),hA=i(7406),dA=i(925),uA=i(7455),pA=i(3771),gA=i(1549),mA=i(3541),fA=i(3140),vA=i(9800),bA=i(229),yA=i(2677),wA=i(1844),xA=i(3245),kA=i(9056),CA=i(7535),MA=i(2359),_A=i(15),SA=i(5569),EA=i(2014),zA=i(1599),LA=i(6521),IA=i(232),RA=i(9745),TA=i(9594),AA=i(6979),OA=i(4494),$A=i(312),DA=i(4983),NA=i(1258),PA=i(6313),jA=i(12),HA=i(8003),FA=i(7830),BA=i(8875),WA=i(3911),VA=i(1817),UA=i(478),GA=i(2585),qA=i(6564),YA=i(2884),ZA=i(3825),XA=i(7348),QA=i(9277),KA=i(4118),JA=i(9200),tO=i(51),eO=i(2872),iO=i(4702),oO=i(9281),rO=i(1394),nO=i(7295),sO=i(2936),aO=i(3789),lO=i(3614),cO=i(4827),hO=i(9204),dO=i(9113),uO=i(4058),pO=i(9939),gO=i(1139);const mO=[pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,kL.mw,ML.mw,CL.mw,_L.mw,SL.mw,EL.mw,zL.mw,LL.mw,IL.mw,RL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,VL.mw,UL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,rI.mw,oI.mw,nI.mw,sI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,OI.mw,$I.mw,DI.mw,vI.mw,NI.mw,PI.mw,jI.mw,HI.mw,FI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,qI.mw,YI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tR.mw,eR.mw,iR.mw,oR.mw,rR.mw,nR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,WL.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,LR.mw,IR.mw,RR.mw,TR.mw,AR.mw,OR.mw,$R.mw,DR.mw,NR.mw,PR.mw,xL.mw,jR.mw,HR.mw],fO=[FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,GR.mw,qR.mw,YR.mw,XR.mw,KR.mw,QR.mw,tT.mw,JR.mw,eT.mw,iT.mw,oT.mw,rT.mw,nT.mw,sT.mw,aT.mw,lT.mw,cT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,yT.mw,wT.mw,kT.mw,CT.mw,MT.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,hT.mw,dT.mw,pT.mw,uT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,_T.mw,ST.mw,ET.mw,zT.mw,GT.mw,qT.mw,YT.mw,ZT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,nA.mw,sA.mw,aA.mw,lA.mw,cA.mw,hA.mw,UT.mw,dA.mw,uA.mw,pA.mw,gA.mw,mA.mw,fA.mw,vA.mw,bA.mw,yA.mw,wA.mw,xA.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,EA.mw,zA.mw,LA.mw,IA.mw,RA.mw,TA.mw,AA.mw,OA.mw,$A.mw,DA.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,YA.mw,ZA.mw,XA.mw,QA.mw,xT.mw,KA.mw,JA.mw,tO.mw,eO.mw,iO.mw,oO.mw,rO.mw,nO.mw,sO.mw,aO.mw,lO.mw,cO.mw,hO.mw,dO.mw,uO.mw,ZR.mw,pO.mw,gO.mw],vO={xlsx:F,charts:B},bO={name:"@omegagrid/bundle",version:"0.10.6"};Wa().activate("light"),Ad.styleDefault="fal",Od.add(mO),Od.add(fO)})(),window.Omegagrid=o})();
9618
+ `:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?wv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?wv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=wv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};hL.styles=[lL],cL([Ts({type:Object})],hL.prototype,"model",void 0),cL([As()],hL.prototype,"editTitle",void 0),cL([$s("#title")],hL.prototype,"titleInput",void 0),cL([$s("#type")],hL.prototype,"typeList",void 0),cL([$s("#dataRange")],hL.prototype,"dataRangeInput",void 0),cL([$s("#seriesRange")],hL.prototype,"seriesRangeInput",void 0),cL([$s("#categoryRange")],hL.prototype,"categoryRangeInput",void 0),hL=cL([Ls("og-plugin-chart-form")],hL);const dL=Wa().themes.get("dark");Object.assign(dL.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const uL=Wa().themes.get("light");Object.assign(uL.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var pL=i(6946),gL=i(6471),mL=i(4969),fL=i(9502),vL=i(7706),bL=i(1480),yL=i(2006),wL=i(7503),xL=i(7873),kL=i(8746),CL=i(2570),ML=i(8815),_L=i(6390),SL=i(6593),EL=i(895),zL=i(9083),LL=i(6093),IL=i(9685),RL=i(9849),TL=i(8268),AL=i(4693),OL=i(3599),$L=i(782),DL=i(754),NL=i(5700),PL=i(4731),jL=i(7291),HL=i(597),FL=i(1474),BL=i(6224),WL=i(6239),VL=i(6828),UL=i(2212),GL=i(863),qL=i(3602),YL=i(1985),ZL=i(886),XL=i(7201),QL=i(9937),KL=i(8450),JL=i(9630),tI=i(9766),eI=i(388),iI=i(1903),oI=i(398),rI=i(6105),nI=i(6147),sI=i(5722),aI=i(5576),lI=i(3131),cI=i(6308),hI=i(9645),dI=i(3199),uI=i(871),pI=i(5251),gI=i(6426),mI=i(2643),fI=i(8522),vI=i(6398),bI=i(2525),yI=i(8434),wI=i(6138),xI=i(5835),kI=i(5654),CI=i(6659),MI=i(2977),_I=i(4480),SI=i(9886),EI=i(6815),zI=i(1582),LI=i(2968),II=i(394),RI=i(7024),TI=i(7853),AI=i(8249),OI=i(2869),$I=i(486),DI=i(5735),NI=i(470),PI=i(4612),jI=i(4018),HI=i(1476),FI=i(3194),BI=i(3525),WI=i(7541),VI=i(4104),UI=i(6686),GI=i(7719),qI=i(3898),YI=i(8153),ZI=i(3690),XI=i(1776),QI=i(4980),KI=i(5578),JI=i(9613),tR=i(1119),eR=i(8444),iR=i(2978),oR=i(9130),rR=i(2127),nR=i(2732),sR=i(4287),aR=i(4045),lR=i(7642),cR=i(1367),hR=i(320),dR=i(821),uR=i(102),pR=i(7683),gR=i(3980),mR=i(576),fR=i(654),vR=i(73),bR=i(140),yR=i(8129),wR=i(5087),xR=i(6992),kR=i(8247),CR=i(8038),MR=i(5286),_R=i(9179),SR=i(1808),ER=i(9459),zR=i(2883),LR=i(9124),IR=i(7067),RR=i(1054),TR=i(7325),AR=i(1272),OR=i(3359),$R=i(6562),DR=i(4193),NR=i(6348),PR=i(2435),jR=i(7544),HR=i(4470),FR=i(9111),BR=i(9318),WR=i(7294),VR=i(4479),UR=i(2409),GR=i(3091),qR=i(5789),YR=i(5890),ZR=i(3874),XR=i(2907),QR=i(1175),KR=i(1686),JR=i(703),tT=i(6606),eT=i(4194),iT=i(6228),oT=i(62),rT=i(2072),nT=i(9744),sT=i(25),aT=i(2618),lT=i(1988),cT=i(8013),hT=i(1133),dT=i(362),uT=i(6845),pT=i(6800),gT=i(1103),mT=i(4933),fT=i(7284),vT=i(2620),bT=i(2366),yT=i(7457),wT=i(2449),xT=i(2),kT=i(5697),CT=i(7069),MT=i(4716),_T=i(4740),ST=i(4557),ET=i(1868),zT=i(8647),LT=i(5127),IT=i(4816),RT=i(4009),TT=i(5104),AT=i(2830),OT=i(3093),$T=i(5029),DT=i(3514),NT=i(2142),PT=i(4999),jT=i(7523),HT=i(346),FT=i(7917),BT=i(3976),WT=i(9801),VT=i(2464),UT=i(5511),GT=i(5210),qT=i(5815),YT=i(3339),ZT=i(7472),XT=i(8811),QT=i(8548),KT=i(6880),JT=i(1840),tA=i(5547),eA=i(4788),iA=i(9467),oA=i(9187),rA=i(9217),nA=i(7897),sA=i(2644),aA=i(6204),lA=i(1472),cA=i(1247),hA=i(7406),dA=i(925),uA=i(7455),pA=i(3771),gA=i(1549),mA=i(3541),fA=i(3140),vA=i(9800),bA=i(229),yA=i(2677),wA=i(1844),xA=i(3245),kA=i(9056),CA=i(7535),MA=i(2359),_A=i(15),SA=i(5569),EA=i(2014),zA=i(1599),LA=i(6521),IA=i(232),RA=i(9745),TA=i(9594),AA=i(6979),OA=i(4494),$A=i(312),DA=i(4983),NA=i(1258),PA=i(6313),jA=i(12),HA=i(8003),FA=i(7830),BA=i(8875),WA=i(3911),VA=i(1817),UA=i(478),GA=i(2585),qA=i(6564),YA=i(2884),ZA=i(3825),XA=i(7348),QA=i(9277),KA=i(4118),JA=i(9200),tO=i(51),eO=i(2872),iO=i(4702),oO=i(9281),rO=i(1394),nO=i(7295),sO=i(2936),aO=i(3789),lO=i(3614),cO=i(4827),hO=i(9204),dO=i(9113),uO=i(4058),pO=i(9939),gO=i(1139);const mO=[pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,kL.mw,ML.mw,CL.mw,_L.mw,SL.mw,EL.mw,zL.mw,LL.mw,IL.mw,RL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,VL.mw,UL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,rI.mw,oI.mw,nI.mw,sI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,OI.mw,$I.mw,DI.mw,vI.mw,NI.mw,PI.mw,jI.mw,HI.mw,FI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,qI.mw,YI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tR.mw,eR.mw,iR.mw,oR.mw,rR.mw,nR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,WL.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,LR.mw,IR.mw,RR.mw,TR.mw,AR.mw,OR.mw,$R.mw,DR.mw,NR.mw,PR.mw,xL.mw,jR.mw,HR.mw],fO=[FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,GR.mw,qR.mw,YR.mw,XR.mw,KR.mw,QR.mw,tT.mw,JR.mw,eT.mw,iT.mw,oT.mw,rT.mw,nT.mw,sT.mw,aT.mw,lT.mw,cT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,yT.mw,wT.mw,kT.mw,CT.mw,MT.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,hT.mw,dT.mw,pT.mw,uT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,_T.mw,ST.mw,ET.mw,zT.mw,GT.mw,qT.mw,YT.mw,ZT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,nA.mw,sA.mw,aA.mw,lA.mw,cA.mw,hA.mw,UT.mw,dA.mw,uA.mw,pA.mw,gA.mw,mA.mw,fA.mw,vA.mw,bA.mw,yA.mw,wA.mw,xA.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,EA.mw,zA.mw,LA.mw,IA.mw,RA.mw,TA.mw,AA.mw,OA.mw,$A.mw,DA.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,YA.mw,ZA.mw,XA.mw,QA.mw,xT.mw,KA.mw,JA.mw,tO.mw,eO.mw,iO.mw,oO.mw,rO.mw,nO.mw,sO.mw,aO.mw,lO.mw,cO.mw,hO.mw,dO.mw,uO.mw,ZR.mw,pO.mw,gO.mw],vO={xlsx:F,charts:B},bO={name:"@omegagrid/bundle",version:"0.10.8"};Wa().activate("light"),Ad.styleDefault="fal",Od.add(mO),Od.add(fO)})(),window.Omegagrid=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omegagrid/bundle",
3
- "version": "0.10.6",
3
+ "version": "0.10.8",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Distribution package for Omegagrid library",
6
6
  "main": "omegagrid.js",
@@ -19,23 +19,23 @@
19
19
  "@fortawesome/fontawesome-svg-core": "^7.0.1",
20
20
  "@fortawesome/pro-light-svg-icons": "^7.0.1",
21
21
  "@fortawesome/pro-solid-svg-icons": "^7.0.1",
22
- "@omegagrid/bucket": "^0.10.6",
23
- "@omegagrid/calendar": "^0.10.6",
24
- "@omegagrid/code": "^0.10.6",
25
- "@omegagrid/commands": "^0.10.6",
26
- "@omegagrid/core": "^0.10.6",
27
- "@omegagrid/dialog": "^0.10.6",
28
- "@omegagrid/editor": "^0.10.6",
29
- "@omegagrid/form": "^0.10.6",
30
- "@omegagrid/grid": "^0.10.6",
31
- "@omegagrid/localize": "^0.10.6",
32
- "@omegagrid/markdown": "^0.10.6",
33
- "@omegagrid/plugin-charts": "^0.10.6",
34
- "@omegagrid/plugin-xlsx": "^0.10.6",
35
- "@omegagrid/statusbar": "^0.10.6",
36
- "@omegagrid/tabs": "^0.10.6",
37
- "@omegagrid/toolbar": "^0.10.6",
38
- "@omegagrid/tree": "^0.10.6",
22
+ "@omegagrid/bucket": "^0.10.8",
23
+ "@omegagrid/calendar": "^0.10.8",
24
+ "@omegagrid/code": "^0.10.8",
25
+ "@omegagrid/commands": "^0.10.8",
26
+ "@omegagrid/core": "^0.10.8",
27
+ "@omegagrid/dialog": "^0.10.8",
28
+ "@omegagrid/editor": "^0.10.8",
29
+ "@omegagrid/form": "^0.10.8",
30
+ "@omegagrid/grid": "^0.10.8",
31
+ "@omegagrid/localize": "^0.10.8",
32
+ "@omegagrid/markdown": "^0.10.8",
33
+ "@omegagrid/plugin-charts": "^0.10.8",
34
+ "@omegagrid/plugin-xlsx": "^0.10.8",
35
+ "@omegagrid/statusbar": "^0.10.8",
36
+ "@omegagrid/tabs": "^0.10.8",
37
+ "@omegagrid/toolbar": "^0.10.8",
38
+ "@omegagrid/tree": "^0.10.8",
39
39
  "lit": "^3.1.1"
40
40
  },
41
41
  "devDependencies": {