@omegagrid/bundle 0.6.12 → 0.6.14

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 +6 -6
  2. package/package.json +18 -18
package/omegagrid.js CHANGED
@@ -1751,7 +1751,7 @@
1751
1751
  }
1752
1752
  */
1753
1753
 
1754
- `,Jp={yes_no:[{id:"Y",name:"Yes"},{id:"N",name:"No"}]};class tg extends nd{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=gt("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)=>{Ot(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 eg={alerts:{maxItems:5,timeout:5e3}};class ig extends nd{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.items=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.items.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.items.has(t)}get(t){return this.items.has(t)?this.items.get(t):new Promise(((e,i)=>{const o=this.items.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)&&(e?this._componentPromiseResolutions.get(t).forEach((t=>t.resolve(e))):this._componentPromiseResolutions.get(t).forEach((t=>t.reject())),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.items.has(t)&&i!=t){const e=this.items.get(t);this.unregister(t),this.register(i,e)}return this.items.get(i)}register(t,e){this.items.set(t,e),this.bucket.dispatchEvent(new hg("register",{componentId:t}))}unregister(t){this.items.delete(t),this.bucket.dispatchEvent(new hg("unregister",{componentId:t}))}}class og extends nd{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=gt("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.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const n=this.modalSidebarComponents.get(o.id),r="right"==o.position,s=r?i:e;n&&(jt(n,500+s),Ht(n,{w:o.width||Qp.SIDEBAR_WIDTH}),r?(i++,Ot(n,{t:0,r:0+20*s,b:0})):(Ot(n,{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-${dg.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 ng extends nd{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)}async open(t){const e=gt("og-dialog");if(e.setOptions(t),e.open(this.bucket),t.id){e.componentId=t.id,e.showLoader();const[i]=await Promise.all([this.component.createComponent(t.id)]);e.hideLoader(),e.addEventListener("dialog.close",(t=>this.unregister(t.dialog.componentId))),e.addEventListener("dialog.move",(()=>this.bucket.dispatchStateEvent())),e.component=i,this.register(t.id,e),this.bucket.dispatchStateEvent()}return e}}var rg,sg,ag=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},lg=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)};const cg={top:{rightItems:[]},sidemenu:{items:[],activeIndex:null},editorLayout:{items:[]}};class hg extends Event{constructor(t,e){super(`bucket.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let dg=sg=class extends id{get activeComponentId(){return this._activeComponentId}constructor(){super(),this.sourceData=cg,this.logger=new sn("Ωbucket"),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=>{const e=gt("og-bucket-component-host");return e.componentId=t,e.bucket=this,e},rg.set(this,void 0),this._createSplitContainerComponent=t=>{let e;return 0==t?(this.logger.info("create primary sidebar"),this.getSidebarHost()):1==t?(this.logger.info("create editor container"),this.editorContainer??this.createEditorContainer()):(e||(e=gt("div"),e.innerHTML="empty"),e)},this._onSplitContainerResize=()=>{this.top?.layout(),this.dispatchStateEvent()},this._onTabRemove=t=>{this.components.unregister(t.tab.id),this.dispatchEvent(new hg("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?.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 hg("activate",{tab:t.tab,componentId:t.tab?.id})),this.dispatchStateEvent())},this.render=()=>Hr`
1754
+ `,Jp={yes_no:[{id:"Y",name:"Yes"},{id:"N",name:"No"}]};class tg extends nd{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=gt("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)=>{Ot(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 eg={alerts:{maxItems:5,timeout:5e3}};class ig extends nd{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.items=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.items.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.items.has(t)}get(t){return this.items.has(t)?this.items.get(t):new Promise(((e,i)=>{const o=this.items.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.items.has(t)&&i!=t){const e=this.items.get(t);this.unregister(t),this.register(i,e)}return this.items.get(i)}register(t,e){this.items.set(t,e),this.bucket.dispatchEvent(new hg("register",{componentId:t}))}unregister(t){this.items.delete(t),this.bucket.dispatchEvent(new hg("unregister",{componentId:t}))}}class og extends nd{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=gt("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.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const n=this.modalSidebarComponents.get(o.id),r="right"==o.position,s=r?i:e;n&&(jt(n,500+s),Ht(n,{w:o.width||Qp.SIDEBAR_WIDTH}),r?(i++,Ot(n,{t:0,r:0+20*s,b:0})):(Ot(n,{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-${dg.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 ng extends nd{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)}async open(t){const e=gt("og-dialog");if(e.setOptions(t),e.open(this.bucket),t.id){e.componentId=t.id,e.showLoader();const[i]=await Promise.all([this.component.createComponent(t.id)]);e.hideLoader(),e.addEventListener("dialog.close",(t=>this.unregister(t.dialog.componentId))),e.addEventListener("dialog.move",(()=>this.bucket.dispatchStateEvent())),e.component=i,this.register(t.id,e),this.bucket.dispatchStateEvent()}return e}}var rg,sg,ag=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},lg=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)};const cg={top:{rightItems:[]},sidemenu:{items:[],activeIndex:null},editorLayout:{items:[]}};class hg extends Event{constructor(t,e){super(`bucket.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let dg=sg=class extends id{get activeComponentId(){return this._activeComponentId}constructor(){super(),this.sourceData=cg,this.logger=new sn("Ωbucket"),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=>{const e=gt("og-bucket-component-host");return e.componentId=t,e.bucket=this,e},rg.set(this,void 0),this._createSplitContainerComponent=t=>{let e;return 0==t?(this.logger.info("create primary sidebar"),this.getSidebarHost()):1==t?(this.logger.info("create editor container"),this.editorContainer??this.createEditorContainer()):(e||(e=gt("div"),e.innerHTML="empty"),e)},this._onSplitContainerResize=()=>{this.top?.layout(),this.dispatchStateEvent()},this._onTabRemove=t=>{this.components.unregister(t.tab.id),this.dispatchEvent(new hg("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?.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 hg("activate",{tab:t.tab,componentId:t.tab?.id})),this.dispatchStateEvent())},this.render=()=>Hr`
1755
1755
  <og-bucket-top></og-bucket-top>
1756
1756
  <og-commands id="commandMenu" .target="${this}"></og-commands>
1757
1757
 
@@ -1829,7 +1829,7 @@
1829
1829
  .body {
1830
1830
  padding: 2px;
1831
1831
  }
1832
- `,ug([os({type:Object})],fg.prototype,"options",void 0),ug([os({type:String,reflect:!0})],fg.prototype,"color",void 0),fg=ug([ts("og-bucket-alert"),ra({props:["border"]})],fg);var mg=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let vg=class extends Kr{constructor(){super(...arguments),this.render=()=>Hr`<div></div>`}async loadComponent(t){this.bucket?.createComponent?(xt(this.container),this._component=await(this.bucket?.createComponent(t)),this._component&&this.container.appendChild(this._component)):console.error("mising componentFactory")}async updated(t){this.bucket&&t.has("componentId")&&this.loadComponent(this.componentId)}layout(){this._component?.layout&&this._component.layout()}};vg.styles=qn`
1832
+ `,ug([os({type:Object})],fg.prototype,"options",void 0),ug([os({type:String,reflect:!0})],fg.prototype,"color",void 0),fg=ug([ts("og-bucket-alert"),ra({props:["border"]})],fg);var mg=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let vg=class extends Kr{constructor(){super(...arguments),this.render=()=>Hr`<div></div>`}async loadComponent(t){xt(this.container),this._component=await this.bucket.components.get(t),this._component&&this.container.appendChild(this._component)}async updated(t){this.bucket&&t.has("componentId")&&this.loadComponent(this.componentId)}layout(){this._component?.layout&&this._component.layout()}};vg.styles=qn`
1833
1833
  :host {
1834
1834
  display: block;
1835
1835
  background-color: var(--og-sidebar-background-color, var(--og-background-color));
@@ -1915,7 +1915,7 @@
1915
1915
  style="${va({minWidth:Rt(this.leftItemWidth)})}"></div>
1916
1916
  <div class="item" id="center" data-component="bucket-topCenter"></div>
1917
1917
  <div class="item" id="right" data-component="bucket-topRight"></div>
1918
- `}get bucket(){return this.parentComponent}async updated(){if(!this.bucket)return;let t=!1;for(const e of this.items){const i=await this.bucket.createComponent(e.dataset.component);xt(e),i&&(e.appendChild(i),t=!0)}t||vt(this)}firstUpdated(){this.layout()}layout(){this.bucket?.container&&this.bucket.container.containers[0]&&(this.bucket.container.items[0].collapsed||(this.leftItemWidth=this.bucket.container.containers[0].offsetWidth))}};Cg.styles=[xg],kg([ls(".item")],Cg.prototype,"items",void 0),kg([ns()],Cg.prototype,"leftItemWidth",void 0),Cg=kg([ts("og-bucket-top")],Cg);var Mg=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let _g=class extends Kr{constructor(){super(...arguments),this.active=!1,this.render=()=>Hr`
1918
+ `}get bucket(){return this.parentComponent}async updated(){if(!this.bucket)return;let t=!1;for(const e of this.items){const i=await this.bucket.components.get(e.dataset.component);xt(e),i&&(e.appendChild(i),t=!0)}t||vt(this)}firstUpdated(){this.layout()}layout(){this.bucket?.container&&this.bucket.container.containers[0]&&(this.bucket.container.items[0].collapsed||(this.leftItemWidth=this.bucket.container.containers[0].offsetWidth))}};Cg.styles=[xg],kg([ls(".item")],Cg.prototype,"items",void 0),kg([ns()],Cg.prototype,"leftItemWidth",void 0),Cg=kg([ts("og-bucket-top")],Cg);var Mg=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let _g=class extends Kr{constructor(){super(...arguments),this.active=!1,this.render=()=>Hr`
1919
1919
  <div class="icon">
1920
1920
  <og-icon .icon="${this.iconSpec}"></og-icon>
1921
1921
  </div>
@@ -3640,7 +3640,7 @@
3640
3640
  </div>
3641
3641
  </og-container>
3642
3642
  </div>
3643
- `,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new nw({text:"",author:this.cellModel.model.options.user})),this.startEdit(0)}startEdit(t){this.editIndex=t,this.requestUpdate()}endEdit(){this.commit(),this.editIndex=-1}delete(t){this.items.splice(t,1),this.requestUpdate(),this.dispatchEvent(new fk("commit",this.items,null,null,this.cellModel))}commit(){this.editItem&&this.editItem.text!=this.editBody.innerText&&(this.editItem.text=this.editBody.innerText,this.editItem.date=new Date,this.dispatchEvent(new fk("commit",this.items,this.editItem,this.editIndex,this.cellModel)))}disconnectedCallback(){this.destroy()}destroy(){this._connector?.parentElement&&this._connector.remove()}updated(){this.editBody&&(this.editBody.focus(),this.editBody.addEventListener("blur",(()=>this.endEdit()),{once:!0})),this.items?.forEach(((t,e)=>{const i=this.bodies[e];Y(this.cellModel?.commentRenderer)?(i.style.whiteSpace="normal",this.cellModel?.commentRenderer(i,t,this.cellModel)):(i.style.whiteSpace="pre-wrap",i.textContent=t?.text??"")}))}canEdit(t){return this.cellModel?.commentable&&!this.items[t].readOnly}get canAdd(){return this.cellModel?.commentable}deatach(t=0){this.isAttached&&(this._hideTimerDisabled||this._hideTimer||(this._hideTimer=window.setTimeout((()=>{this._attachedTo=null,this.hide(),this._connector&&(this._connector.style.display="none"),this.parentElement&&this.parentElement.removeEventListener("mousemove",this._onParentMouseDown)}),t)))}get zIndex(){return this.cellModel?.model?.options?.comments?.zIndex??Nm.DEFAULT_OPTIONS.comments.zIndex}updateConnector(){if(!this.isAttached)return;this._connector||(this._connector=document.createElementNS("http://www.w3.org/2000/svg","svg"),document.body.appendChild(this._connector));const t=Et(this.attachedTo,document.body),e=t.left+this._attachedTo.offsetWidth<this.offsetLeft+this.offsetWidth/2,i=t.top<this.offsetTop+this.offsetHeight/2,o=e?t.left+this._attachedTo.offsetWidth:this.offsetLeft+this.offsetWidth/2,n=i?t.top:this.offsetTop+this.offsetHeight/2,r=e?this.offsetLeft+this.offsetWidth/2:t.left+this._attachedTo.offsetWidth,s=i?this.offsetTop+this.offsetHeight/2:t.top;this._connector.setAttribute("width",(r-o).toString()),this._connector.setAttribute("height",(s-n).toString()),this._connector.style.pointerEvents="none",this._connector.style.zIndex=(this.zIndex-1).toString(),Ot(this._connector,{l:o,t:n}),this._connector.style.display="block",this._connector.innerHTML=`\n\t\t\t<line \n\t\t\t\tx1="${e?0:r-o}" y1="${i?0:s-n}" \n\t\t\t\tx2="${e?r-o:0}" y2="${i?s-n:0}" \n\t\t\t\tstroke="#8b7600" stroke-width="1"/>\n\t\t`}attachTo(t,e,i=!1){this._attachedTo=t,this.items=e.comments,this.cellModel=e,this._hideTimerDisabled=i,this._hideTimer&&window.clearTimeout(this._hideTimer),this._hideTimer=null,this.parentElement!=document.body&&document.body.appendChild(this),document.body.addEventListener("mousedown",this._onParentMouseDown),this.show();const o=Et(t,document.body);Ot(this,{l:o.left+t.offsetWidth+e.model.options.comments.offsetX,t:o.top+e.model.options.comments.offsetY}),this.style.zIndex=this.zIndex.toString(),this.updateConnector(),i&&this.startEdit(0)}};mk.styles=[pk],gk([os({type:Array})],mk.prototype,"items",void 0),gk([ns()],mk.prototype,"cellModel",void 0),gk([ns()],mk.prototype,"editIndex",void 0),gk([ls(".comment-body")],mk.prototype,"bodies",void 0),mk=gk([ts("og-grid-comment")],mk);const vk=(t,e)=>{for(const i in e)t.style[i]=e[i]};function bk(t,e){e.hasError&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error}</span>`),e.cssStyle&&vk(t,e.cssStyle),e.hasSparkline&&function(t,e){const i=gt("og-grid-sparkline");i.cell=e,t.appendChild(i)}(t,e);let i=e.calculatedIndent;if(i>0&&(i*=e.model.options.cellIndentFactor??1),e.column.levelButtons){if(e.row.hasChildren){const o=new Vd;o.state=e.row.collapsed?"closed":"open",o.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.row.index))),o.addEventListener("click",(t=>t.stopPropagation())),t.appendChild(o),Ot(o,{l:4+i,t:(e.model.options.rowHeight||20)/2-6})}i+=20}if(i>0&&(t.style.paddingLeft=Rt(i)),e.hasComment||e.hasTooltip||e.clickable&&(null!==e.value||e.model.options.emptyClickable)){const i=gt("div");i.className="crn",t.appendChild(i),e.hasComment&&t.classList.add("cmt"),e.hasTooltip&&t.classList.add("tt"),e.clickable&&t.classList.add("clc")}if(e.composedStyle&&e.composedStyle.icon){const i=gt("og-icon");i.icon=e.composedStyle.icon,Ot(i,{l:4,t:2}),t.appendChild(i)}const o=e.afterRenderer;return o&&o(t,e),t}function yk(t){t.tooltip?.hide()}function wk(t,e){bk.call(this,t,e),t.style.textAlign="center",t.innerHTML="";const i=gt("og-checkbox");return i.addEventListener("mousedown",(t=>{t.stopPropagation();const o=this.grid,n="checked"!=i.value;o.editing.updateCell(e,n),i.value=n?"checked":"none"})),i.style.cursor="pointer",i.value=e.value?"checked":"none",t.appendChild(i),t}function xk(t,e){t=bk.call(this,t,e);try{t.textContent=e.value?e.model.options.dateFormatter(e.value,e.format):""}catch(e){t.textContent="!invalid format"}return t}function kk(t,e,i={default:!0}){if(i.default)if(null!=e.displayValue)t.textContent=e.displayValue;else{const i=e.valueFormatter;t.textContent=(i?i(e.value):e.value)??""}const o=gt("div");return o.className="triangle-down",Ot(o,{t:8,r:8}),t.appendChild(o),bk.call(this,t,e)}function Ck(t,e){e.cssStyle&&e.cssStyle.textAlign||(t.style.textAlign="right");try{t.innerHTML=e.formattedValue}catch(i){t.textContent=(e.value??"").toString()}return bk.call(this,t,e)}function Mk(t,e){if(e.hasDisplayValue)t.textContent=e.displayValue;else if(null!=e.value){const i=e.valueFormatter;t.textContent=i?i(e.value):e.value??""}else t.textContent="";return"normal"!==(t=bk.call(this,t,e)).style.whiteSpace&&(t.style.whiteSpace="pre"),t}function _k(t,e){const i=e.value;return isNaN(i)||""===i?Mk.call(this,t,e):Ck.call(this,t,e)}const Sk={n:Ck,t:Mk,tm:xk,d:xk,dt:xk,b:wk,s:kk,m:kk,g:_k,a:function(t,e){const i=(e.editorContent??e.value)||[];t.innerHTML="";const o=this.grid;return Qr(Hr`
3643
+ `,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new nw({text:"",author:this.cellModel.model.options.user})),this.startEdit(0)}startEdit(t){this.editIndex=t,this.requestUpdate()}endEdit(){this.commit(),this.editIndex=-1}delete(t){this.items.splice(t,1),this.requestUpdate(),this.dispatchEvent(new fk("commit",this.items,null,null,this.cellModel))}commit(){this.editItem&&this.editItem.text!=this.editBody.innerText&&(this.editItem.text=this.editBody.innerText,this.editItem.date=new Date,this.dispatchEvent(new fk("commit",this.items,this.editItem,this.editIndex,this.cellModel)))}disconnectedCallback(){this.destroy()}destroy(){this._connector?.parentElement&&this._connector.remove()}updated(){this.editBody&&(this.editBody.focus(),this.editBody.addEventListener("blur",(()=>this.endEdit()),{once:!0})),this.items?.forEach(((t,e)=>{const i=this.bodies[e];Y(this.cellModel?.commentRenderer)?(i.style.whiteSpace="normal",this.cellModel?.commentRenderer(i,t,this.cellModel)):(i.style.whiteSpace="pre-wrap",i.textContent=t?.text??"")}))}canEdit(t){return this.cellModel?.commentable&&!this.items[t].readOnly}get canAdd(){return this.cellModel?.commentable}deatach(t=0){this.isAttached&&(this._hideTimerDisabled||this._hideTimer||(this._hideTimer=window.setTimeout((()=>{this._attachedTo=null,this.hide(),this._connector&&(this._connector.style.display="none"),this.parentElement&&this.parentElement.removeEventListener("mousemove",this._onParentMouseDown)}),t)))}get zIndex(){return this.cellModel?.model?.options?.comments?.zIndex??Nm.DEFAULT_OPTIONS.comments.zIndex}updateConnector(){if(!this.isAttached)return;this._connector||(this._connector=document.createElementNS("http://www.w3.org/2000/svg","svg"),document.body.appendChild(this._connector));const t=Et(this.attachedTo,document.body),e=t.left+this._attachedTo.offsetWidth<this.offsetLeft+this.offsetWidth/2,i=t.top<this.offsetTop+this.offsetHeight/2,o=e?t.left+this._attachedTo.offsetWidth:this.offsetLeft+this.offsetWidth/2,n=i?t.top:this.offsetTop+this.offsetHeight/2,r=e?this.offsetLeft+this.offsetWidth/2:t.left+this._attachedTo.offsetWidth,s=i?this.offsetTop+this.offsetHeight/2:t.top;this._connector.setAttribute("width",(r-o).toString()),this._connector.setAttribute("height",(s-n).toString()),this._connector.style.pointerEvents="none",this._connector.style.zIndex=(this.zIndex-1).toString(),Ot(this._connector,{l:o,t:n}),this._connector.style.display="block",this._connector.innerHTML=`\n\t\t\t<line \n\t\t\t\tx1="${e?0:r-o}" y1="${i?0:s-n}" \n\t\t\t\tx2="${e?r-o:0}" y2="${i?s-n:0}" \n\t\t\t\tstroke="#8b7600" stroke-width="1"/>\n\t\t`}attachTo(t,e,i=!1){this._attachedTo=t,this.items=e.comments,this.cellModel=e,this._hideTimerDisabled=i,this._hideTimer&&window.clearTimeout(this._hideTimer),this._hideTimer=null,this.parentElement!=document.body&&document.body.appendChild(this),document.body.addEventListener("mousedown",this._onParentMouseDown),this.show();const o=Et(t,document.body);Ot(this,{l:o.left+t.offsetWidth+e.model.options.comments.offsetX,t:o.top+e.model.options.comments.offsetY}),this.style.zIndex=this.zIndex.toString(),this.updateConnector(),i&&this.startEdit(0)}};mk.styles=[pk],gk([os({type:Array})],mk.prototype,"items",void 0),gk([ns()],mk.prototype,"cellModel",void 0),gk([ns()],mk.prototype,"editIndex",void 0),gk([ls(".comment-body")],mk.prototype,"bodies",void 0),mk=gk([ts("og-grid-comment")],mk);const vk=(t,e)=>{for(const i in e)t.style[i]=e[i]};function bk(t,e,i){e.hasError&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error}</span>`),e.cssStyle&&vk(t,e.cssStyle),e.hasSparkline&&function(t,e){const i=gt("og-grid-sparkline");i.cell=e,t.appendChild(i)}(t,e);let o=e.calculatedIndent;if(o>0&&(o*=e.model.options.cellIndentFactor??1),e.column.levelButtons){if(e.row.hasChildren){const i=new Vd;i.state=e.row.collapsed?"closed":"open",i.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.row.index))),i.addEventListener("click",(t=>t.stopPropagation())),t.appendChild(i),Ot(i,{l:4+o,t:(e.model.options.rowHeight||20)/2-6})}o+=20}if(o>0&&(t.style.paddingLeft=Rt(o)),(e.hasComment||e.hasTooltip||e.clickable&&(null!==e.value||e.model.options.emptyClickable))&&(!i||!i.export)){const i=gt("div");i.className="crn",t.appendChild(i),e.hasComment&&t.classList.add("cmt"),e.hasTooltip&&t.classList.add("tt"),e.clickable&&t.classList.add("clc")}if(e.composedStyle&&e.composedStyle.icon){const i=gt("og-icon");i.icon=e.composedStyle.icon,Ot(i,{l:4,t:2}),t.appendChild(i)}const n=e.afterRenderer;return n&&n(t,e),t}function yk(t){t.tooltip?.hide()}function wk(t,e,i){(t=bk.call(this,t,e,i)).style.textAlign="center",t.innerHTML="";const o=gt("og-checkbox");return o.addEventListener("mousedown",(t=>{t.stopPropagation();const i=this.grid,n="checked"!=o.value;i.editing.updateCell(e,n),o.value=n?"checked":"none"})),o.style.cursor="pointer",o.value=e.value?"checked":"none",t.appendChild(o),t}function xk(t,e,i){t=bk.call(this,t,e,i);try{t.textContent=e.value?e.model.options.dateFormatter(e.value,e.format):""}catch(e){t.textContent="!invalid format"}return t}function kk(t,e,i){if(!i||!1!==i.default)if(null!=e.displayValue)t.textContent=e.displayValue;else{const i=e.valueFormatter;t.textContent=(i?i(e.value):e.value)??""}const o=gt("div");return o.className="triangle-down",Ot(o,{t:8,r:8}),t.appendChild(o),bk.call(this,t,e,i)}function Ck(t,e,i){e.cssStyle&&e.cssStyle.textAlign||(t.style.textAlign="right");try{t.innerHTML=e.formattedValue}catch(i){t.textContent=(e.value??"").toString()}return bk.call(this,t,e,i)}function Mk(t,e,i){if(e.hasDisplayValue)t.textContent=e.displayValue;else if(null!=e.value){const i=e.valueFormatter;t.textContent=i?i(e.value):e.value??""}else t.textContent="";return"normal"!==(t=bk.call(this,t,e,i)).style.whiteSpace&&(t.style.whiteSpace="pre"),t}function _k(t,e,i){const o=e.value;return isNaN(o)||""===o?Mk.call(this,t,e,i):Ck.call(this,t,e,i)}const Sk={n:Ck,t:Mk,tm:xk,d:xk,dt:xk,b:wk,s:kk,m:kk,g:_k,a:function(t,e){const i=(e.editorContent??e.value)||[];t.innerHTML="";const o=this.grid;return Qr(Hr`
3644
3644
  <div class="actions">
3645
3645
  ${cs(i,(t=>Hr`
3646
3646
  <og-button
@@ -3654,7 +3654,7 @@
3654
3654
  </og-button>
3655
3655
  `))}
3656
3656
  </div>
3657
- `,t),bk.call(this,t,e)},h:function(t,e){return t.innerHTML=e.value,bk.call(this,t,e)}};function Ek(t){return t.renderer||Sk[t.type]||_k}class zk extends td{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function Lk(t,e){const i=ne(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=te(t),r=n.getDay(),s=6+(r<o?-7:0)-(r-o);return n.setDate(n.getDate()+s),n.setHours(23,59,59,999),n}const Rk={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,controlsPosition:"top"};function Ik(t,e=null){const i={...jn(t,e),...Rk,...e,...t};return i.minDate=ci(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=Lk(i.maxDate,{weekStartsOn:i.weekStart}),i}function Hk(t,e){const i=te(t.start),o=te(t.end);let n=+i>+o;const r=n?+i:+o,s=n?o:i;s.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,n=!n);const l=[];for(;+s<=r;)l.push(te(s)),s.setDate(s.getDate()+a),s.setHours(0,0,0,0);return n?l.reverse():l}function Tk(t){return Math.ceil(Yi(t.maxDate,t.minDate)/7)}function Ak(t,e,i){return Zf(i.minDate,{days:7*t+e})}function Ok(t,e){return{row:Math.floor(Yi(t,e.minDate)/7),column:Yi(t,e.minDate)%7}}const $k=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,Dk=ks(class extends Cs{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=ms(this.it)?$k(this.it):null,o=ms(e)?$k(e):null;if(null!==i&&(null===o||i!==o)){const e=xs(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=Qr(Or,t),o.setConnected(!1),this.et.set(i,o)}ws(o,[e]),bs(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=xs(e).pop();(t=>{t._$AR()})(t),bs(t,void 0,i),ws(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var Nk,Pk,jk,Vk,Bk,Fk,Wk,Uk,Gk,qk,Yk,Zk,Xk,Qk=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},Kk=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)},Jk=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let tC=class extends id{constructor(){super(...arguments),Nk.add(this),this.date=ee(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,Pk.set(this,void 0),jk.set(this,(()=>this.dispatchEvent(new Ln({value:this.date})))),Vk.set(this,(()=>this.body.clientWidth/7)),Bk.set(this,(()=>(this.body.clientHeight-Am.HEADER_HEIGHT)/6)),Fk.set(this,void 0),Wk.set(this,!1),Uk.set(this,void 0),Gk.set(this,((t,e)=>{const i=Ak(e.r,e.c,this.options);return t.innerHTML=Fi(i,"d"),t.style.textAlign="center",null==Kk(this,Uk,"f")&&(Jk(this,Uk,(i.getMonth()+(i.getDate()<10?0:1))%12,"f"),this.month=Kk(this,Uk,"f")+1,this.year=i.getFullYear()),Kk(this,Uk,"f")==i.getMonth()?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",t})),Yk.set(this,(t=>{t.selection.activeCell&&this.updateDate(Ak(t.selection.range.r1,t.selection.range.c1,this.options))})),Zk.set(this,(()=>Jk(this,Uk,null,"f"))),Xk.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>Hr`
3657
+ `,t),bk.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,bk.call(this,t,e,i)}};function Ek(t){return t.renderer||Sk[t.type]||_k}class zk extends td{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function Lk(t,e){const i=ne(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,n=te(t),r=n.getDay(),s=6+(r<o?-7:0)-(r-o);return n.setDate(n.getDate()+s),n.setHours(23,59,59,999),n}const Rk={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,controlsPosition:"top"};function Ik(t,e=null){const i={...jn(t,e),...Rk,...e,...t};return i.minDate=ci(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=Lk(i.maxDate,{weekStartsOn:i.weekStart}),i}function Hk(t,e){const i=te(t.start),o=te(t.end);let n=+i>+o;const r=n?+i:+o,s=n?o:i;s.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,n=!n);const l=[];for(;+s<=r;)l.push(te(s)),s.setDate(s.getDate()+a),s.setHours(0,0,0,0);return n?l.reverse():l}function Tk(t){return Math.ceil(Yi(t.maxDate,t.minDate)/7)}function Ak(t,e,i){return Zf(i.minDate,{days:7*t+e})}function Ok(t,e){return{row:Math.floor(Yi(t,e.minDate)/7),column:Yi(t,e.minDate)%7}}const $k=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,Dk=ks(class extends Cs{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=ms(this.it)?$k(this.it):null,o=ms(e)?$k(e):null;if(null!==i&&(null===o||i!==o)){const e=xs(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=Qr(Or,t),o.setConnected(!1),this.et.set(i,o)}ws(o,[e]),bs(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=xs(e).pop();(t=>{t._$AR()})(t),bs(t,void 0,i),ws(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var Nk,Pk,jk,Vk,Bk,Fk,Wk,Uk,Gk,qk,Yk,Zk,Xk,Qk=function(t,e,i,o){var n,r=arguments.length,s=r<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--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},Kk=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)},Jk=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let tC=class extends id{constructor(){super(...arguments),Nk.add(this),this.date=ee(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,Pk.set(this,void 0),jk.set(this,(()=>this.dispatchEvent(new Ln({value:this.date})))),Vk.set(this,(()=>this.body.clientWidth/7)),Bk.set(this,(()=>(this.body.clientHeight-Am.HEADER_HEIGHT)/6)),Fk.set(this,void 0),Wk.set(this,!1),Uk.set(this,void 0),Gk.set(this,((t,e)=>{const i=Ak(e.r,e.c,this.options);return t.innerHTML=Fi(i,"d"),t.style.textAlign="center",null==Kk(this,Uk,"f")&&(Jk(this,Uk,(i.getMonth()+(i.getDate()<10?0:1))%12,"f"),this.month=Kk(this,Uk,"f")+1,this.year=i.getFullYear()),Kk(this,Uk,"f")==i.getMonth()?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",t})),Yk.set(this,(t=>{t.selection.activeCell&&this.updateDate(Ak(t.selection.range.r1,t.selection.range.c1,this.options))})),Zk.set(this,(()=>Jk(this,Uk,null,"f"))),Xk.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>Hr`
3658
3658
  <div class="header">
3659
3659
  ${this.date?Hr`
3660
3660
  <og-button
@@ -7927,4 +7927,4 @@ milkdown-block-handle {
7927
7927
  `:null}
7928
7928
  </div>
7929
7929
  </og-panel>
7930
- `: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?rv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?rv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=rv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Ln({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};XE.styles=[YE],ZE([os({type:Object})],XE.prototype,"model",void 0),ZE([ns()],XE.prototype,"editTitle",void 0),ZE([ss("#title")],XE.prototype,"titleInput",void 0),ZE([ss("#type")],XE.prototype,"typeList",void 0),ZE([ss("#dataRange")],XE.prototype,"dataRangeInput",void 0),ZE([ss("#seriesRange")],XE.prototype,"seriesRangeInput",void 0),ZE([ss("#categoryRange")],XE.prototype,"categoryRangeInput",void 0),XE=ZE([ts("og-plugin-chart-form")],XE);const QE=ha().themes.get("dark");Object.assign(QE.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 KE=ha().themes.get("light");Object.assign(KE.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 JE=i(2439),tz=i(8022),ez=i(6158),iz=i(127),oz=i(4505),nz=i(8659),rz=i(397),sz=i(930),az=i(9723),lz=i(6343),cz=i(4582),hz=i(6127),dz=i(8238),uz=i(7362),pz=i(452),gz=i(5390),fz=i(3368),mz=i(6288),vz=i(7513),bz=i(1386),yz=i(5764),wz=i(1261),xz=i(3071),kz=i(3285),Cz=i(2356),Mz=i(6780),_z=i(8542),Sz=i(8385),Ez=i(1025),zz=i(2034),Lz=i(8113),Rz=i(1821),Iz=i(7212),Hz=i(2583),Tz=i(5360),Az=i(2377),Oz=i(2864),$z=i(7998),Dz=i(4101),Nz=i(7813),Pz=i(5037),jz=i(7005),Vz=i(9626),Bz=i(9517),Fz=i(1504),Wz=i(3838),Uz=i(4935),Gz=i(7699),qz=i(3322),Yz=i(5757),Zz=i(536),Xz=i(1673),Qz=i(8736),Kz=i(196),Jz=i(5133),tL=i(6092),eL=i(791),iL=i(5927),oL=i(1802),nL=i(9511),rL=i(6267),sL=i(1072),aL=i(4331),lL=i(8644),cL=i(2704),hL=i(2419),dL=i(6363),uL=i(5236),pL=i(3499),gL=i(3811),fL=i(1953),mL=i(4729),vL=i(8964),bL=i(8540),yL=i(8752),wL=i(8783),xL=i(8270),kL=i(7261),CL=i(9231),ML=i(4555),_L=i(5293),SL=i(6981),EL=i(5268),zL=i(2680),LL=i(789),RL=i(4373),IL=i(436),HL=i(8573),TL=i(1808),AL=i(3247),OL=i(5143),$L=i(2415),DL=i(2561),NL=i(5726),PL=i(7436),jL=i(4201),VL=i(8248),BL=i(6433),FL=i(2698),WL=i(979),UL=i(9358),GL=i(9176),qL=i(1239),YL=i(4218),ZL=i(8377),XL=i(3740),QL=i(5379),KL=i(9974),JL=i(8955),tR=i(3559),eR=i(809),iR=i(8014),oR=i(8265),nR=i(3300),rR=i(8724),sR=i(8033),aR=i(7700),lR=i(5741),cR=i(3478),hR=i(512),dR=i(9432),uR=i(2841),pR=i(75),gR=i(9256),fR=i(444),mR=i(5633),vR=i(3788),bR=i(3573),yR=i(9948),wR=i(1836),xR=i(7029),kR=i(8532),CR=i(6639),MR=i(1633),_R=i(9805),SR=i(2171),ER=i(875),zR=i(9595),LR=i(3894),RR=i(2803),IR=i(7765),HR=i(8804),TR=i(8654),AR=i(257),OR=i(5844),$R=i(9651),DR=i(760),NR=i(9518),PR=i(4585),jR=i(1769),VR=i(643),BR=i(5156),FR=i(822),WR=i(8249),UR=i(3434),GR=i(9314),qR=i(3093),YR=i(7721),ZR=i(588),XR=i(7645),QR=i(7148),KR=i(6795),JR=i(7047),tI=i(9428),eI=i(1879),iI=i(9779),oI=i(2476),nI=i(9648),rI=i(2896),sI=i(6817),aI=i(5196),lI=i(2762),cI=i(5981),hI=i(9014),dI=i(2611),uI=i(7946),pI=i(6301),gI=i(8020),fI=i(3987),mI=i(3192),vI=i(8796),bI=i(2489),yI=i(7324),wI=i(6069),xI=i(4155),kI=i(6977),CI=i(8055),MI=i(2653),_I=i(9492),SI=i(4334),EI=i(6804),zI=i(9954),LI=i(2211),RI=i(5211),II=i(1519),HI=i(6204),TI=i(5501),AI=i(5244),OI=i(9742),$I=i(1552),DI=i(1330),NI=i(2596),PI=i(5184),jI=i(7675),VI=i(1513),BI=i(9396),FI=i(7673),WI=i(244),UI=i(1187),GI=i(1736),qI=i(4390),YI=i(7106),ZI=i(2096),XI=i(9991),QI=i(5629),KI=i(3386),JI=i(6651),tH=i(1684),eH=i(3849),iH=i(2582),oH=i(8569),nH=i(2955),rH=i(9100),sH=i(7381),aH=i(9190),lH=i(4071),cH=i(8e3),hH=i(4633),dH=i(4374),uH=i(486),pH=i(3680),gH=i(9999),fH=i(2830),mH=i(5255),vH=i(6021),bH=i(2214),yH=i(8497),wH=i(2052),xH=i(5327),kH=i(8701);const CH=[JE.w2,tz.Jt,ez.Xk,iz.Wz,oz.UR,nz.mR,rz.cb,sz.td,az.GF,cz.xB,lz.S$,hz.Ot,dz.fU,uz.Vp,pz.HV,gz.BH,fz.Dn,mz.hy,vz.IP,bz.Nf,yz.jP,wz.AP,xz._X,kz.mu,Cz.LB,Mz.hS,_z.l5,Sz.SI,Ez.ch,Lz._u,Rz.ec,Iz.jb,Hz.cW,Tz.$f,Az.qI,Oz.j3,$z.fq,Dz.ao,Nz.Uj,Pz.GE,jz.QR,Vz.DQ,Fz.lE,Bz.mE,Wz.hp,Uz.yL,Gz.ub,qz.lL,Yz.IN,Zz.B0,Xz.Ce,Qz.dm,Kz.h0,Jz.sx,tL.HF,eL.qf,oL.jw,nL.k8,rL.Am,sL.ff,aL.s6,lL.bx,cL.pS,hL.k6,dL.q9,uL.$F,pL.gK,gL.W1,fL.QL,mL.EZ,vL.DN,bL.Jy,yL.z1,wL.Gl,xL.n2,iL.Ew,kL.QL,CL.ck,ML.I2,_L.Qv,SL.CK,EL.bn,zL.bx,LL.e6,RL.yy,IL.xg,HL.AJ,TL.py,AL.I0,OL.id,$L.qp,DL.UX,NL.PA,PL.B2,jL.It,VL.PZ,BL.aG,FL.$U,WL.S9,UL.Nb,GL.Z4,qL.qz,YL.jw,ZL.cd,XL.jR,QL.qt,KL.x7,JL.oE,tR.ad,eR.IT,iR.Ts,oR.UN,nR.jb,rR.jT,sR.w9,aR.Jm,lR.CQ,zz.$6,cR.Dw,hR.nx,dR.w2,uR.Jt,pR.Xk,gR.Wz,fR.UR,mR.mR,vR.cb,bR.td,yR.GF,xR.xB,wR.S$,CR.fU,kR.Ot,MR.Vp,_R.HV,SR.BH,ER.Dn,zR.hy,LR.IP,RR.Nf,IR.jP,HR.AP,DR._X,NR.mu,PR.LB,jR.hS,VR.l5,BR.SI,FR.ch,UR._u,GR.ec,qR.jb,KR.cW,JR.$f,tI.qI,eI.j3,iI.fq,oI.ao,nI.Uj,rI.GE,TR.QR,AR.DQ,$R.lE,OR.mE,sI.hp,aI.yL,lI.ub,cI.lL,hI.IN,dI.B0,uI.Ce,pI.dm,YR.h0,ZR.sx,XR.HF,QR.qf,fI.jw,mI.k8,vI.Am,bI.ff,yI.s6,wI.bx,xI.pS,kI.k6,CI.q9,MI.$F,_I.gK,SI.W1,EI.QL,zI.EZ,LI.DN,RI.Jy,II.z1,HI.Gl,TI.n2,gI.Ew,AI.QL,OI.ck,$I.I2,DI.Qv,NI.CK,PI.bn,jI.bx,VI.e6,BI.yy,FI.xg,WI.AJ,UI.py,GI.I0,qI.id,YI.qp,ZI.UX,XI.PA,QI.B2,KI.It,JI.PZ,tH.aG,eH.$U,iH.S9,oH.Nb,nH.Z4,rH.qz,sH.jw,aH.cd,lH.jR,cH.qt,hH.x7,dH.oE,uH.ad,pH.IT,gH.Ts,fH.UN,mH.jb,vH.jT,bH.w9,yH.Jm,wH.CQ,WR.$6,xH.Dw,kH.nx],MH={xlsx:P,charts:j},_H={name:"@omegagrid/bundle",version:"0.6.12"};ha().activate("light"),Rh.styleDefault="fal",Ih.add(...CH)})(),window.Omegagrid=o})();
7930
+ `: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?rv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?rv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=rv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Ln({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};XE.styles=[YE],ZE([os({type:Object})],XE.prototype,"model",void 0),ZE([ns()],XE.prototype,"editTitle",void 0),ZE([ss("#title")],XE.prototype,"titleInput",void 0),ZE([ss("#type")],XE.prototype,"typeList",void 0),ZE([ss("#dataRange")],XE.prototype,"dataRangeInput",void 0),ZE([ss("#seriesRange")],XE.prototype,"seriesRangeInput",void 0),ZE([ss("#categoryRange")],XE.prototype,"categoryRangeInput",void 0),XE=ZE([ts("og-plugin-chart-form")],XE);const QE=ha().themes.get("dark");Object.assign(QE.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 KE=ha().themes.get("light");Object.assign(KE.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 JE=i(2439),tz=i(8022),ez=i(6158),iz=i(127),oz=i(4505),nz=i(8659),rz=i(397),sz=i(930),az=i(9723),lz=i(6343),cz=i(4582),hz=i(6127),dz=i(8238),uz=i(7362),pz=i(452),gz=i(5390),fz=i(3368),mz=i(6288),vz=i(7513),bz=i(1386),yz=i(5764),wz=i(1261),xz=i(3071),kz=i(3285),Cz=i(2356),Mz=i(6780),_z=i(8542),Sz=i(8385),Ez=i(1025),zz=i(2034),Lz=i(8113),Rz=i(1821),Iz=i(7212),Hz=i(2583),Tz=i(5360),Az=i(2377),Oz=i(2864),$z=i(7998),Dz=i(4101),Nz=i(7813),Pz=i(5037),jz=i(7005),Vz=i(9626),Bz=i(9517),Fz=i(1504),Wz=i(3838),Uz=i(4935),Gz=i(7699),qz=i(3322),Yz=i(5757),Zz=i(536),Xz=i(1673),Qz=i(8736),Kz=i(196),Jz=i(5133),tL=i(6092),eL=i(791),iL=i(5927),oL=i(1802),nL=i(9511),rL=i(6267),sL=i(1072),aL=i(4331),lL=i(8644),cL=i(2704),hL=i(2419),dL=i(6363),uL=i(5236),pL=i(3499),gL=i(3811),fL=i(1953),mL=i(4729),vL=i(8964),bL=i(8540),yL=i(8752),wL=i(8783),xL=i(8270),kL=i(7261),CL=i(9231),ML=i(4555),_L=i(5293),SL=i(6981),EL=i(5268),zL=i(2680),LL=i(789),RL=i(4373),IL=i(436),HL=i(8573),TL=i(1808),AL=i(3247),OL=i(5143),$L=i(2415),DL=i(2561),NL=i(5726),PL=i(7436),jL=i(4201),VL=i(8248),BL=i(6433),FL=i(2698),WL=i(979),UL=i(9358),GL=i(9176),qL=i(1239),YL=i(4218),ZL=i(8377),XL=i(3740),QL=i(5379),KL=i(9974),JL=i(8955),tR=i(3559),eR=i(809),iR=i(8014),oR=i(8265),nR=i(3300),rR=i(8724),sR=i(8033),aR=i(7700),lR=i(5741),cR=i(3478),hR=i(512),dR=i(9432),uR=i(2841),pR=i(75),gR=i(9256),fR=i(444),mR=i(5633),vR=i(3788),bR=i(3573),yR=i(9948),wR=i(1836),xR=i(7029),kR=i(8532),CR=i(6639),MR=i(1633),_R=i(9805),SR=i(2171),ER=i(875),zR=i(9595),LR=i(3894),RR=i(2803),IR=i(7765),HR=i(8804),TR=i(8654),AR=i(257),OR=i(5844),$R=i(9651),DR=i(760),NR=i(9518),PR=i(4585),jR=i(1769),VR=i(643),BR=i(5156),FR=i(822),WR=i(8249),UR=i(3434),GR=i(9314),qR=i(3093),YR=i(7721),ZR=i(588),XR=i(7645),QR=i(7148),KR=i(6795),JR=i(7047),tI=i(9428),eI=i(1879),iI=i(9779),oI=i(2476),nI=i(9648),rI=i(2896),sI=i(6817),aI=i(5196),lI=i(2762),cI=i(5981),hI=i(9014),dI=i(2611),uI=i(7946),pI=i(6301),gI=i(8020),fI=i(3987),mI=i(3192),vI=i(8796),bI=i(2489),yI=i(7324),wI=i(6069),xI=i(4155),kI=i(6977),CI=i(8055),MI=i(2653),_I=i(9492),SI=i(4334),EI=i(6804),zI=i(9954),LI=i(2211),RI=i(5211),II=i(1519),HI=i(6204),TI=i(5501),AI=i(5244),OI=i(9742),$I=i(1552),DI=i(1330),NI=i(2596),PI=i(5184),jI=i(7675),VI=i(1513),BI=i(9396),FI=i(7673),WI=i(244),UI=i(1187),GI=i(1736),qI=i(4390),YI=i(7106),ZI=i(2096),XI=i(9991),QI=i(5629),KI=i(3386),JI=i(6651),tH=i(1684),eH=i(3849),iH=i(2582),oH=i(8569),nH=i(2955),rH=i(9100),sH=i(7381),aH=i(9190),lH=i(4071),cH=i(8e3),hH=i(4633),dH=i(4374),uH=i(486),pH=i(3680),gH=i(9999),fH=i(2830),mH=i(5255),vH=i(6021),bH=i(2214),yH=i(8497),wH=i(2052),xH=i(5327),kH=i(8701);const CH=[JE.w2,tz.Jt,ez.Xk,iz.Wz,oz.UR,nz.mR,rz.cb,sz.td,az.GF,cz.xB,lz.S$,hz.Ot,dz.fU,uz.Vp,pz.HV,gz.BH,fz.Dn,mz.hy,vz.IP,bz.Nf,yz.jP,wz.AP,xz._X,kz.mu,Cz.LB,Mz.hS,_z.l5,Sz.SI,Ez.ch,Lz._u,Rz.ec,Iz.jb,Hz.cW,Tz.$f,Az.qI,Oz.j3,$z.fq,Dz.ao,Nz.Uj,Pz.GE,jz.QR,Vz.DQ,Fz.lE,Bz.mE,Wz.hp,Uz.yL,Gz.ub,qz.lL,Yz.IN,Zz.B0,Xz.Ce,Qz.dm,Kz.h0,Jz.sx,tL.HF,eL.qf,oL.jw,nL.k8,rL.Am,sL.ff,aL.s6,lL.bx,cL.pS,hL.k6,dL.q9,uL.$F,pL.gK,gL.W1,fL.QL,mL.EZ,vL.DN,bL.Jy,yL.z1,wL.Gl,xL.n2,iL.Ew,kL.QL,CL.ck,ML.I2,_L.Qv,SL.CK,EL.bn,zL.bx,LL.e6,RL.yy,IL.xg,HL.AJ,TL.py,AL.I0,OL.id,$L.qp,DL.UX,NL.PA,PL.B2,jL.It,VL.PZ,BL.aG,FL.$U,WL.S9,UL.Nb,GL.Z4,qL.qz,YL.jw,ZL.cd,XL.jR,QL.qt,KL.x7,JL.oE,tR.ad,eR.IT,iR.Ts,oR.UN,nR.jb,rR.jT,sR.w9,aR.Jm,lR.CQ,zz.$6,cR.Dw,hR.nx,dR.w2,uR.Jt,pR.Xk,gR.Wz,fR.UR,mR.mR,vR.cb,bR.td,yR.GF,xR.xB,wR.S$,CR.fU,kR.Ot,MR.Vp,_R.HV,SR.BH,ER.Dn,zR.hy,LR.IP,RR.Nf,IR.jP,HR.AP,DR._X,NR.mu,PR.LB,jR.hS,VR.l5,BR.SI,FR.ch,UR._u,GR.ec,qR.jb,KR.cW,JR.$f,tI.qI,eI.j3,iI.fq,oI.ao,nI.Uj,rI.GE,TR.QR,AR.DQ,$R.lE,OR.mE,sI.hp,aI.yL,lI.ub,cI.lL,hI.IN,dI.B0,uI.Ce,pI.dm,YR.h0,ZR.sx,XR.HF,QR.qf,fI.jw,mI.k8,vI.Am,bI.ff,yI.s6,wI.bx,xI.pS,kI.k6,CI.q9,MI.$F,_I.gK,SI.W1,EI.QL,zI.EZ,LI.DN,RI.Jy,II.z1,HI.Gl,TI.n2,gI.Ew,AI.QL,OI.ck,$I.I2,DI.Qv,NI.CK,PI.bn,jI.bx,VI.e6,BI.yy,FI.xg,WI.AJ,UI.py,GI.I0,qI.id,YI.qp,ZI.UX,XI.PA,QI.B2,KI.It,JI.PZ,tH.aG,eH.$U,iH.S9,oH.Nb,nH.Z4,rH.qz,sH.jw,aH.cd,lH.jR,cH.qt,hH.x7,dH.oE,uH.ad,pH.IT,gH.Ts,fH.UN,mH.jb,vH.jT,bH.w9,yH.Jm,wH.CQ,WR.$6,xH.Dw,kH.nx],MH={xlsx:P,charts:j},_H={name:"@omegagrid/bundle",version:"0.6.14"};ha().activate("light"),Rh.styleDefault="fal",Ih.add(...CH)})(),window.Omegagrid=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omegagrid/bundle",
3
- "version": "0.6.12",
3
+ "version": "0.6.14",
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": "6.4.2",
20
20
  "@fortawesome/pro-light-svg-icons": "6.4.2",
21
21
  "@fortawesome/pro-solid-svg-icons": "6.4.2",
22
- "@omegagrid/bucket": "^0.6.12",
23
- "@omegagrid/calendar": "^0.6.12",
24
- "@omegagrid/code": "^0.6.12",
25
- "@omegagrid/commands": "^0.6.12",
26
- "@omegagrid/core": "^0.6.12",
27
- "@omegagrid/dialog": "^0.6.12",
28
- "@omegagrid/editor": "^0.6.12",
29
- "@omegagrid/form": "^0.6.12",
30
- "@omegagrid/grid": "^0.6.12",
31
- "@omegagrid/localize": "^0.6.12",
32
- "@omegagrid/markdown": "^0.6.12",
33
- "@omegagrid/plugin-charts": "^0.6.12",
34
- "@omegagrid/plugin-xlsx": "^0.6.12",
35
- "@omegagrid/statusbar": "^0.6.12",
36
- "@omegagrid/tabs": "^0.6.12",
37
- "@omegagrid/toolbar": "^0.6.12",
38
- "@omegagrid/tree": "^0.6.12",
22
+ "@omegagrid/bucket": "^0.6.14",
23
+ "@omegagrid/calendar": "^0.6.14",
24
+ "@omegagrid/code": "^0.6.14",
25
+ "@omegagrid/commands": "^0.6.14",
26
+ "@omegagrid/core": "^0.6.14",
27
+ "@omegagrid/dialog": "^0.6.14",
28
+ "@omegagrid/editor": "^0.6.14",
29
+ "@omegagrid/form": "^0.6.14",
30
+ "@omegagrid/grid": "^0.6.14",
31
+ "@omegagrid/localize": "^0.6.14",
32
+ "@omegagrid/markdown": "^0.6.14",
33
+ "@omegagrid/plugin-charts": "^0.6.14",
34
+ "@omegagrid/plugin-xlsx": "^0.6.14",
35
+ "@omegagrid/statusbar": "^0.6.14",
36
+ "@omegagrid/tabs": "^0.6.14",
37
+ "@omegagrid/toolbar": "^0.6.14",
38
+ "@omegagrid/tree": "^0.6.14",
39
39
  "lit": "^3.1.1"
40
40
  },
41
41
  "devDependencies": {