@omegagrid/bundle 0.9.14 → 0.9.16

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 +7 -7
  2. package/package.json +18 -18
package/omegagrid.js CHANGED
@@ -2365,10 +2365,9 @@
2365
2365
  }
2366
2366
 
2367
2367
  .list {
2368
- flex: 1;
2368
+ flex: 0;
2369
2369
  position: relative;
2370
2370
  overflow: hidden;
2371
- height: 100%;
2372
2371
  }
2373
2372
 
2374
2373
  og-container {
@@ -2504,6 +2503,7 @@
2504
2503
 
2505
2504
  <div class="list">
2506
2505
  <og-list
2506
+ animations
2507
2507
  arrowEvents
2508
2508
  maxHeight="300"
2509
2509
  ?dynamicItemHeight="${null!=this.options?.commandRenderer}"
@@ -2518,7 +2518,7 @@
2518
2518
  ${"bottom"==this.sectionPosition?this.renderSwitches():""}
2519
2519
 
2520
2520
  ${"bottom"==this.sectionPosition?this.renderTabs():""}
2521
- `,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("keydown",this._onKeyDown)}connectedCallback(){super.connectedCallback(),this.tabIndex=0}focus(){this.input?.focus()}clearFilter(t=!0){this.input.value="",this.focus(),t&&this.updateCommands()}async willUpdate(t){if(t.has("adapter")&&this.adapter){this.adapter.attach(this);const t=await this.adapter.getSections(),e=await this.adapter.getOptions(t?.length?t[0].id:null);this.sections=t,e&&(this.options=Zp(e))}else t.has("commands")&&this.commands&&(this.model.clear(),this.commands.forEach((t=>this.model.register(t)))),t.has("options")&&(this.options=Zp(this.options))}async updated(t){["commands","adapter","model","activeSectionIndex"].some((e=>t.has(e)))&&await this.updateCommands(!0)}async updateCommands(t=!1){if(this.adapter){this.model.clear();const e=this.activeSection?.switches?.filter((t=>t.checked)).map((t=>t.key))||[];if(t){const t=await this.adapter.getOptions(this.activeSection?.id);this.options=Zp(t)}const[i,o]=await Promise.all([this.adapter.getGroups({sectionId:this.activeSection?.id,filter:this.filterValue,switches:e}),this.adapter.getCommands({sectionId:this.activeSection?.id,filter:this.filterValue,switches:e})]);i?.forEach((t=>this.model.registerGroup(t))),o?.forEach((t=>this.model.register(t))),this.visibleItems=this.model.filter(null,this.showGroups,!0)}else this.visibleItems=this.model.filter(this.filterValue,this.showGroups);this.placeholder=this.activeSection?.placeholder||"",this.list.reset(),this.list.size=this.visibleItems.length,this.list.selectedIndex=this.visibleItems.findIndex((t=>t instanceof Vp))??0,this.list.renderItems(!0),this.noResults=0==this.visibleItems.length,await this.list.updateComplete}async toggleGroup(t){const e=this.model.groups.get(t);if(this.list.reset(),e.open)e.open=!1,this.visibleItems=this.model.filter(this.filterValue,this.showGroups,!0),this.list.size=this.visibleItems.length;else if(e.open=!0,this.adapter){const i=(await Promise.all([this.adapter.getCommands({sectionId:this.activeSection?.id,groupId:t,filter:this.filterValue})]))[0];i.length>0&&(e.commands.clear(),i.forEach((i=>{i.group&&i.group!=t||e.addCommand(i)}))),this.visibleItems=this.model.filter(null,this.showGroups,!0)}else this.visibleItems=this.model.filter(this.filterValue,this.showGroups,!0);this.list.size=this.visibleItems.length}getSectionTitle(t){return(t.title??t.id)+(t.triggerCommand?` (${t.triggerCommand})`:"")}};ig.styles=[Xp],Kp([Is({type:Object})],ig.prototype,"options",void 0),Kp([Is({type:String})],ig.prototype,"mode",void 0),Kp([Is({type:String})],ig.prototype,"value",void 0),Kp([Is({type:String,reflect:!0})],ig.prototype,"sectionPosition",void 0),Kp([Is({type:String})],ig.prototype,"text",void 0),Kp([Is({type:Array})],ig.prototype,"commands",void 0),Kp([Is({type:Object})],ig.prototype,"adapter",void 0),Kp([Is({type:Object})],ig.prototype,"target",void 0),Kp([Is({type:String})],ig.prototype,"placeholder",void 0),Kp([Is({type:Boolean})],ig.prototype,"showGroups",void 0),Kp([Is({type:Object})],ig.prototype,"model",void 0),Kp([Rs()],ig.prototype,"sections",void 0),Kp([Rs()],ig.prototype,"activeSectionIndex",void 0),Kp([Rs()],ig.prototype,"noResults",void 0),Kp([As("og-list")],ig.prototype,"list",void 0),Kp([As("input")],ig.prototype,"input",void 0),Kp([As("og-dropdown-list")],ig.prototype,"dropdown",void 0),ig=Kp([Es("og-commands")],ig);class og extends Xd{filterCommands(t,e){if(!t)return[];const i=null==e?.filter?null:new RegExp(ut(e.filter),"i");return null==i?t:t.filter((t=>i.test(t.id||t.name||"")))}getGroups(t){return[]}getCommands(t){return[]}getSections(t){return[{id:"default"}]}getOptions(t){return null}exec(t,e){}}class rg extends og{get commands(){return this._commands}set commands(t){this._commands=t,this.map.clear();const e=t=>{t.forEach((t=>{this.map.set(t.id??t.name,t),t.next?.commands&&e(t.next.commands)}))};e(this._commands)}constructor(t){super(),this.map=new Map,this.commandChain=[],this._commands=[],this.commands=t}getCommands(t){const e=this.commandChain.length?this.commandChain[this.commandChain.length-1]:null,i=e?this.map.get(e.id)?.next?.commands:null;return this.filterCommands(i||this.commands,t)}exec(t,e){const i=this.map.get(t.id)?.next;i?.commands?.length?(this.commandChain.push(t),null==this._originalText&&(this._originalText=this.component.text),null==this._originalMode&&(this._originalMode=this.component.mode),null!=i.text&&(this.component.text=i.text),null!=i.mode&&(this.component.mode=i.mode)):this.reset(),this.component.updateCommands()}reset(){this.commandChain=[],this.component&&(this.component.text=this._originalText,this.component.mode=this._originalMode),this._originalText=null,this._originalMode=null}getOptions(){return null}}const ng={yes_no:t=>[{id:"Y",name:"Yes",exec:t},{id:"N",name:"No",exec:t}],apply:t=>[{id:"apply",name:"Apply",exec:t},{id:"cancel",name:"Cancel"}],ok:t=>[{id:"ok",name:"OK",exec:t},{id:"cancel",name:"Cancel"}]},sg=(t,e)=>ng[t](e);class ag{get commands(){return this._commands}constructor(t){this.target=t,this._commands=[],this._onExec=t=>{Er().info(`trigger command: ${t.command.id}`),this._resolveCallback&&this._resolveCallback(t.command),this._resolveCallback=null,this._rejectCallback=null,null==this.adapter.map.get(t.command.id)?.next&&this.close()}}clear(){this._commands=[],this._adapter=null}add(t){this._commands.push(...Array.isArray(t)?t:[t]),this._adapter=null}get adapter(){return this._adapter||(this._adapter=new rg(this._commands)),this._adapter}cleanCallbacks(){this._rejectCallback&&this._rejectCallback(),this._resolveCallback=null,this._rejectCallback=null}get menu(){return this._menu??(this._menu=yt("og-commands",{listeners:[["command.exec",this._onExec]]}))}get menuContainer(){return this._menuContainer||(this._menuContainer=yt("og-floating-window",{listeners:[["hide",()=>{this.target?.focus(),this.adapter?.reset()}]]}),this.menu.slot="content",this._menuContainer.appendChild(this.menu)),this._menuContainer}async open(t){return Er().info("open menu"),this.target.shadowRoot.appendChild(this.menuContainer),this.menuContainer.show(),t??(t={content:null}),this.menu.text=t.text,this.menu.value=t.value,this.menu.mode=t.mode||"search",Array.isArray(t.content)?(this.menu.commands=t.content,this.menu.adapter=null):"string"==typeof t.content?(this.menu.commands=sg(t.content),this.menu.adapter=null):(this.menu.commands=null,this.menu.adapter=this.adapter),await this.menu.updateComplete,this.menu.focus(),this.updatePosition(),new Promise(((t,e)=>{this._resolveCallback=t,this._rejectCallback=e}))}close(){this.menuContainer.hide(!1),this.menuContainer.remove(),this.cleanCallbacks(),this.target?.focus()}updatePosition(){Nt(this.menuContainer,{w:.9*this.target.clientWidth}),Yt(this.menuContainer,this.target,{horizontal:!0,vertical:!1}),Ht(this.menuContainer,{t:50})}}const lg={TOP_HEIGHT:41,SIDEMENU_WIDTH:41,SIDEBAR_WIDTH:250,SIZER_TRESHOLD:5,SIDEBAR_HEADER_HEIGHT:30,ALERT_DEFAULT_HEIGHT:30,ALERT_MAX_HEIGHT:300,...G},cg=wn`
2521
+ `,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("keydown",this._onKeyDown)}connectedCallback(){super.connectedCallback(),this.tabIndex=0}focus(){this.input?.focus()}clearFilter(t=!0){this.input.value="",this.focus(),t&&this.updateCommands()}async willUpdate(t){if(t.has("adapter")&&this.adapter){this.adapter.attach(this);const t=await this.adapter.getSections(),e=await this.adapter.getOptions(t?.length?t[0].id:null);this.sections=t,e&&(this.options=Zp(e))}else t.has("commands")&&this.commands&&(this.model.clear(),this.commands.forEach((t=>this.model.register(t)))),t.has("options")&&(this.options=Zp(this.options))}async updated(t){["commands","adapter","model","activeSectionIndex"].some((e=>t.has(e)))&&await this.updateCommands(!0)}async updateCommands(t=!1){if(this.adapter){this.model.clear();const e=this.activeSection?.switches?.filter((t=>t.checked)).map((t=>t.key))||[];if(t){const t=await this.adapter.getOptions(this.activeSection?.id);this.options=Zp(t)}const[i,o]=await Promise.all([this.adapter.getGroups({sectionId:this.activeSection?.id,filter:this.filterValue,switches:e}),this.adapter.getCommands({sectionId:this.activeSection?.id,filter:this.filterValue,switches:e})]);i?.forEach((t=>this.model.registerGroup(t))),o?.forEach((t=>this.model.register(t))),this.visibleItems=this.model.filter(null,this.showGroups,!0)}else this.visibleItems=this.model.filter(this.filterValue,this.showGroups);this.placeholder=this.activeSection?.placeholder||"",this.list.reset(),this.list.size=this.visibleItems.length,this.list.selectedIndex=this.visibleItems.findIndex((t=>t instanceof Vp))??0,this.list.renderItems(!0),this.noResults=0==this.visibleItems.length,await this.list.updateComplete,this.layout()}async toggleGroup(t){const e=this.model.groups.get(t);if(this.list.reset(),e.open)e.open=!1,this.visibleItems=this.model.filter(this.filterValue,this.showGroups,!0),this.list.size=this.visibleItems.length;else if(e.open=!0,this.adapter){const i=(await Promise.all([this.adapter.getCommands({sectionId:this.activeSection?.id,groupId:t,filter:this.filterValue})]))[0];i.length>0&&(e.commands.clear(),i.forEach((i=>{i.group&&i.group!=t||e.addCommand(i)}))),this.visibleItems=this.model.filter(null,this.showGroups,!0)}else this.visibleItems=this.model.filter(this.filterValue,this.showGroups,!0);this.list.size=this.visibleItems.length}getSectionTitle(t){return(t.title??t.id)+(t.triggerCommand?` (${t.triggerCommand})`:"")}layout(){this.listWrapper&&(this.listWrapper.style.transition="flex-basis 0.2s ease-in-out",this.listWrapper.style.flexBasis=Dt(this.list.offsetHeight),Nt(this.listWrapper,{h:this.list.offsetHeight}))}};ig.styles=[Xp],Kp([Is({type:Object})],ig.prototype,"options",void 0),Kp([Is({type:String})],ig.prototype,"mode",void 0),Kp([Is({type:String})],ig.prototype,"value",void 0),Kp([Is({type:String,reflect:!0})],ig.prototype,"sectionPosition",void 0),Kp([Is({type:String})],ig.prototype,"text",void 0),Kp([Is({type:Array})],ig.prototype,"commands",void 0),Kp([Is({type:Object})],ig.prototype,"adapter",void 0),Kp([Is({type:Object})],ig.prototype,"target",void 0),Kp([Is({type:String})],ig.prototype,"placeholder",void 0),Kp([Is({type:Boolean})],ig.prototype,"showGroups",void 0),Kp([Is({type:Object})],ig.prototype,"model",void 0),Kp([Rs()],ig.prototype,"sections",void 0),Kp([Rs()],ig.prototype,"activeSectionIndex",void 0),Kp([Rs()],ig.prototype,"noResults",void 0),Kp([As(".list")],ig.prototype,"listWrapper",void 0),Kp([As("og-list")],ig.prototype,"list",void 0),Kp([As("input")],ig.prototype,"input",void 0),Kp([As("og-dropdown-list")],ig.prototype,"dropdown",void 0),ig=Kp([Es("og-commands")],ig);class og extends Xd{filterCommands(t,e){if(!t)return[];const i=null==e?.filter?null:new RegExp(ut(e.filter),"i");return null==i?t:t.filter((t=>i.test(t.id||t.name||"")))}getGroups(t){return[]}getCommands(t){return[]}getSections(t){return[{id:"default"}]}getOptions(t){return null}exec(t,e){}}class rg extends og{get commands(){return this._commands}set commands(t){this._commands=t,this.map.clear();const e=t=>{t.forEach((t=>{this.map.set(t.id??t.name,t),t.next?.commands&&e(t.next.commands)}))};e(this._commands)}constructor(t){super(),this.map=new Map,this.commandChain=[],this._commands=[],this.commands=t}getCommands(t){const e=this.commandChain.length?this.commandChain[this.commandChain.length-1]:null,i=e?this.map.get(e.id)?.next?.commands:null;return this.filterCommands(i||this.commands,t)}exec(t,e){const i=this.map.get(t.id)?.next;i?.commands?.length?(this.commandChain.push(t),null==this._originalText&&(this._originalText=this.component.text),null==this._originalMode&&(this._originalMode=this.component.mode),null!=i.text&&(this.component.text=i.text),null!=i.mode&&(this.component.mode=i.mode)):this.reset(),this.component.updateCommands()}reset(){this.commandChain=[],this.component&&(this.component.text=this._originalText,this.component.mode=this._originalMode),this._originalText=null,this._originalMode=null}getOptions(){return null}}const ng={yes_no:t=>[{id:"Y",name:"Yes",exec:t},{id:"N",name:"No",exec:t}],apply:t=>[{id:"apply",name:"Apply",exec:t},{id:"cancel",name:"Cancel"}],ok:t=>[{id:"ok",name:"OK",exec:t},{id:"cancel",name:"Cancel"}]},sg=(t,e)=>ng[t](e);class ag{get commands(){return this._commands}constructor(t){this.target=t,this._commands=[],this._onExec=t=>{Er().info(`trigger command: ${t.command.id}`),this._resolveCallback&&this._resolveCallback(t.command),this._resolveCallback=null,this._rejectCallback=null,null==this.adapter.map.get(t.command.id)?.next&&this.close()}}clear(){this._commands=[],this._adapter=null}add(t){this._commands.push(...Array.isArray(t)?t:[t]),this._adapter=null}get adapter(){return this._adapter||(this._adapter=new rg(this._commands)),this._adapter}cleanCallbacks(){this._rejectCallback&&this._rejectCallback(),this._resolveCallback=null,this._rejectCallback=null}get menu(){return this._menu??(this._menu=yt("og-commands",{listeners:[["command.exec",this._onExec]]}))}get menuContainer(){return this._menuContainer||(this._menuContainer=yt("og-floating-window",{listeners:[["hide",()=>{this.target?.focus(),this.adapter?.reset()}]]}),this.menu.slot="content",this._menuContainer.appendChild(this.menu)),this._menuContainer}async open(t){return Er().info("open menu"),this.target.shadowRoot.appendChild(this.menuContainer),this.menuContainer.show(),t??(t={content:null}),this.menu.text=t.text,this.menu.value=t.value,this.menu.mode=t.mode||"search",Array.isArray(t.content)?(this.menu.commands=t.content,this.menu.adapter=null):"string"==typeof t.content?(this.menu.commands=sg(t.content),this.menu.adapter=null):(this.menu.commands=null,this.menu.adapter=this.adapter),await this.menu.updateComplete,this.menu.focus(),this.updatePosition(),new Promise(((t,e)=>{this._resolveCallback=t,this._rejectCallback=e}))}close(){this.menuContainer.hide(!1),this.menuContainer.remove(),this.cleanCallbacks(),this.target?.focus()}updatePosition(){Nt(this.menuContainer,{w:.9*this.target.clientWidth}),Yt(this.menuContainer,this.target,{horizontal:!0,vertical:!1}),Ht(this.menuContainer,{t:50})}}const lg={TOP_HEIGHT:41,SIDEMENU_WIDTH:41,SIDEBAR_WIDTH:250,SIZER_TRESHOLD:5,SIDEBAR_HEADER_HEIGHT:30,ALERT_DEFAULT_HEIGHT:30,ALERT_MAX_HEIGHT:300,...G},cg=wn`
2522
2522
  :host {
2523
2523
  display: flex;
2524
2524
  flex-direction: column;
@@ -4166,7 +4166,7 @@
4166
4166
  height: 100%;
4167
4167
  padding: 0;
4168
4168
  }
4169
- `],Kx([As("og-grid-formula")],Jx.prototype,"input",void 0),Jx=Kx([Es("og-grid-formulaeditor")],Jx);const tk=new Map([["t",{createComponent:()=>new Ux}],["n",{createComponent:()=>new Gx}],["b",{createComponent:()=>new Wx}],["s",{createComponent:()=>new Yx}],["m",{createComponent:()=>new Yx}],["d",{createComponent:t=>t?.dateCalendarEditor?new Qx:new Zx}]]);class ek{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get isEditing(){return!!this.editor}get activeEditor(){return this.editor}get isFormulaMode(){return this._formulaMode||this.grid.group?.isFormulaMode}constructor(t){this.grid=t,this.editorMap=new Map,this.columnMoving=!1,this.rowMoving=!1,this._formulaMode=!1}canEdit(t){return t.editable||this.grid.designMode}updateCell(t,e,i=!0,o=!1){this.updateCells([t],[e],i,o)}updateCells(t,e,i=!0,o=!1){let r,n,s,a,l;t.forEach(((t,o)=>{const c=t.value;let h,d,u;Z(e[o])?(d=e[o],h="v"in d?d.v:void 0):h=e[o],d?u=t.update(d):(t.clearFormula(),c!==h&&(u={v:c,dv:t.displayValue},t.value=h)),i&&u&&(r=r||[],n=n||[],s=s||[],a=a||[],l=l||[],r.push(c),n.push(u),s.push(h),a.push(d),l.push(t))})),i&&l?.length&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!o,cells:l,editType:"value",newValues:s,newProps:a,oldValues:r,oldProps:n}))}startFormulaMode(){this._formulaMode=!0,this.grid.group&&this.grid.group.startFormulaMode(this.grid)}endFormulaMode(t=!0){this._formulaMode=!1,t&&this.grid.group&&this.grid.group.endFormulaMode(),this.grid.selecting.hideFormulaSelector(),this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.showSelector()}startEdit(t=null){const e=this.grid.selecting.activeCell;if(e&&this.canEdit(e)){this.grid.logger.info(`start edit ${new pv(e.c,e.r).A1}`);let i=!0;_v(t)||null==t&&e.hasOwnFormula?this.editor=this.getFormulaEditor().open(this.grid,t):(i=!1,this.editor=this.getEditor(e).open(this.grid,t)),this.grid.dispatchEvent(new Ax("startEdit",{grid:this.grid})),i&&(this.startFormulaMode(),this.grid.dispatchEvent(new Ax("startFormulaEdit",{grid:this.grid})))}}endEdit(){this.editor&&(this.grid.logger.info("end edit"),this.grid.editing.endFormulaMode(),this.editor?.close(),this.editor=null,this.grid.dispatchEvent(new Ax("endEdit",{grid:this.grid})))}commitEdit(){this.editor&&(this.editor.commit(),this.endEdit())}insertRows(t){const e=this.model.insertRows(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_row",newValues:e})),e}insertColumns(t){const e=this.model.insertColumns(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_column",newValues:e})),e}deleteRows(t){const e=this.model.deleteRows(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_row",oldValues:e})),e}deleteColumns(t){const e=this.model.deleteColumns(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_column",oldValues:e})),e}moveRows(t){this.model.moveRows(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_row",oldValues:[new pv(0,t.index,1/0,t.index+t.count-1)],newValues:[new pv(0,t.targetIndex,1/0,t.targetIndex+t.count-1)]}))}moveColumns(t){this.model.moveColumns(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_column",oldValues:[new pv(t.index,t.index+t.count-1,1/0)],newValues:[new pv(t.targetIndex,0,t.targetIndex+t.count-1,1/0)]}))}clearSelection(t=!0){const e=this.model.getCellArray(this.selection.range).filter((t=>this.canEdit(t)));this.updateCells(e,e.map((()=>null)),t),this.grid.rendering.updateCells(e,!0)}getEditor(t){const e=t.type;if(!this.editorMap.has(e)){const t=function(t){return tk.get(tk.has(t)?t:"t")}(e).createComponent(this.model.options.editing);this.grid.shadowRoot.appendChild(t),this.editorMap.set(e,t)}return this.editorMap.get(e)}getFormulaEditor(){const t="formula";if(!this.editorMap.has(t)){const e=new Jx;this.grid.shadowRoot.appendChild(e),this.editorMap.set(t,e)}return this.editorMap.get(t)}getSelectionCellData(){return this.model.getCellMatrix(this.selection.range).map((t=>t.map((t=>t.getSourceData({displayValue:!0})))))}copySelection(){const t=ClipboardItem.supports(fx.CUSTOM_CLIPBOARD_TYPE),e=this.model.getValuesInRange(this.selection.range,t);this.grid.selecting.hideSelector(),this.grid.selecting.showCopySelector();const i={"text/plain":new Blob([xr(e,{decimalSeparator:this.model.options.systemDecimalSeparator})],{type:"text/plain"})};t?i[fx.CUSTOM_CLIPBOARD_TYPE]=new Blob([JSON.stringify(this.getSelectionCellData())],{type:"application/json"}):this.grid.logger.warn("Browser does not support custom clipboard type"),navigator.clipboard.write([new ClipboardItem(i)]).then((()=>this.grid.logger.info("selected content copied")),(()=>this.grid.logger.error("copy rejected")))}pasteMatrix(t){const e=this.selection.range,i=[],o=[],r=this.model.options.clipboard?.rowPasteMode,n=this.model.options.clipboard?.columnPasteMode,s="all"==(this.model.options.clipboard?.pasteProps??"all")?null:this.model.options.clipboard.pasteProps,a=t.length,l=a>0?t[0].length:0;"insert"==r?this.insertRows({index:e.r1,count:a,after:!1}):"rewrite_append"==r&&e.r1+a>this.model.rows.length-1&&this.insertRows({index:this.model.rows.length-1,count:e.r1+a-this.model.rows.length,after:!0}),"insert"==n?this.insertColumns({index:e.c1,count:l,after:!1}):"rewrite_append"==n&&e.c1+l>this.model.columns.length-1&&this.insertColumns({index:this.model.columns.length-1,count:e.c1+l-this.model.columns.length,after:!0});const c=a>0&&l>0&&e.size.rows%a==0&&e.size.columns%l==0,h=Math.min(c?e.r2:e.r1+a-1,this.model.rows.length-1),d=Math.min(c?e.c2:e.c1+l-1,this.model.columns.length-1);for(let r=e.r1;r<=h;r++){const n=(r-e.r1)%a;for(let a=e.c1;a<=d;a++){const l=this.model.rows[r].cell(a);if(!l.editable)continue;const c=(a-e.c1)%t[n].length;if(s&&Z(t[n][c])){const e={};s.forEach((i=>{e[i]=t[n][c][i]})),l.prefersDisplayValue||(e.dv=void 0),o.push(e)}else o.push(t[n][c]);i.push(l)}}this.updateCells(i,o,!0),this.grid.rendering.updateCells(i,!0)}pasteText(t){this.pasteMatrix(kr(t))}async paste(){this.grid.selecting.hideCopySelector();try{const t=await navigator.clipboard.read();if(0==t.length)return;const e=t[0];if(e.types.includes(fx.CUSTOM_CLIPBOARD_TYPE)){const t=await e.getType(fx.CUSTOM_CLIPBOARD_TYPE);this.pasteMatrix(JSON.parse(await t.text()))}else if(e.types.includes("text/plain")){const t=await e.getType("text/plain");this.pasteText(await t.text())}}catch(t){return void this.grid.logger.error("paste rejected")}}openComments(t){setTimeout((()=>{this.grid.comment.attachTo(this.grid.table.getCellByCellModel(t),t,!0)}),100)}undo(){let t;const[e]=this.grid.history.pop();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.oldProps,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.deleteColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.deleteRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}redo(){let t;const[e]=this.grid.history.pop2();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.newValues,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.insertColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.insertRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}startColumnMoving(t){this.columnMoving=!0}merge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);i&&(this.model.merges.add({r:e.r1,c:e.c1,rs:e.size.rows,cs:e.size.columns}),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(e))}unmerge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);if(!i)return;const o=this.model.merges.mergedCells.get(i.address);o&&(this.model.merges.remove(i.address),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(new pv(o.c,o.r,o.c+o.cs-1,o.r+o.rs-1)))}}class ik extends Ax{constructor(t,e){super(`filter.${t}`,e)}}class ok extends _s{get currentValue(){return this.filterModel.get(this.columnModel.index)?.term}constructor(){super(),this.addEventListener("keydown",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation()))}filter(t){this.filterModel.filter({term:t,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}clearFilter(){this.filterModel.filter({term:null,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}activate(){this.dispatchEvent(new ik("activate"))}deactivate(){this.dispatchEvent(new ik("deactivate"))}}ok.styles=[wn`
4169
+ `],Kx([As("og-grid-formula")],Jx.prototype,"input",void 0),Jx=Kx([Es("og-grid-formulaeditor")],Jx);const tk=new Map([["t",{createComponent:()=>new Ux}],["n",{createComponent:()=>new Gx}],["b",{createComponent:()=>new Wx}],["s",{createComponent:()=>new Yx}],["m",{createComponent:()=>new Yx}],["d",{createComponent:t=>t?.dateCalendarEditor?new Qx:new Zx}]]);class ek{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get isEditing(){return!!this.editor}get activeEditor(){return this.editor}get isFormulaMode(){return this._formulaMode||this.grid.group?.isFormulaMode}constructor(t){this.grid=t,this.editorMap=new Map,this.columnMoving=!1,this.rowMoving=!1,this._formulaMode=!1}canEdit(t){return t.editable||this.grid.designMode}updateCell(t,e,i=!0,o=!1){this.updateCells([t],[e],i,o)}updateCells(t,e,i=!0,o=!1){let r,n,s,a,l;t.forEach(((t,o)=>{const c=t.value;let h,d,u;Z(e[o])?(d=e[o],h="v"in d?d.v:void 0):h=e[o],d?u=t.update(d):(t.clearFormula(),c!==h&&(u={v:c,dv:t.displayValue},t.value=h)),i&&u&&(r=r||[],n=n||[],s=s||[],a=a||[],l=l||[],r.push(c),n.push(u),s.push(h),a.push(d),l.push(t))})),i&&l?.length&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!o,cells:l,editType:"value",newValues:s,newProps:a,oldValues:r,oldProps:n}))}startFormulaMode(){this._formulaMode=!0,this.grid.group&&this.grid.group.startFormulaMode(this.grid)}endFormulaMode(t=!0){this._formulaMode=!1,t&&this.grid.group&&this.grid.group.endFormulaMode(),this.grid.selecting.hideFormulaSelector(),this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.showSelector()}startEdit(t=null){const e=this.grid.selecting.activeCell;if(e&&this.canEdit(e)){this.grid.logger.info(`start edit ${new pv(e.c,e.r).A1}`);let i=!0;_v(t)||null==t&&e.hasOwnFormula?this.editor=this.getFormulaEditor().open(this.grid,t):(i=!1,this.editor=this.getEditor(e).open(this.grid,t)),this.grid.dispatchEvent(new Ax("startEdit",{grid:this.grid})),i&&(this.startFormulaMode(),this.grid.dispatchEvent(new Ax("startFormulaEdit",{grid:this.grid})))}}endEdit(){this.editor&&(this.grid.logger.info("end edit"),this.grid.editing.endFormulaMode(),this.editor?.close(),this.editor=null,this.grid.dispatchEvent(new Ax("endEdit",{grid:this.grid})))}commitEdit(){this.editor&&(this.editor.commit(),this.endEdit())}insertRows(t){const e=this.model.insertRows(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_row",newValues:e})),e}insertColumns(t){const e=this.model.insertColumns(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_column",newValues:e})),e}deleteRows(t){const e=this.model.deleteRows(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_row",oldValues:e})),e}deleteColumns(t){const e=this.model.deleteColumns(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_column",oldValues:e})),e}moveRows(t){this.model.moveRows(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_row",oldValues:[new pv(0,t.index,1/0,t.index+t.count-1)],newValues:[new pv(0,t.targetIndex,1/0,t.targetIndex+t.count-1)]}))}moveColumns(t){this.model.moveColumns(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_column",oldValues:[new pv(t.index,t.index+t.count-1,1/0)],newValues:[new pv(t.targetIndex,0,t.targetIndex+t.count-1,1/0)]}))}clearSelection(t=!0){const e=this.model.getCellArray(this.selection.range).filter((t=>this.canEdit(t)));this.updateCells(e,e.map((()=>null)),t),this.grid.rendering.updateCells(e,!0)}getEditor(t){const e=t.type;if(!this.editorMap.has(e)){const t=function(t){return tk.get(tk.has(t)?t:"t")}(e).createComponent(this.model.options.editing);this.grid.shadowRoot.appendChild(t),this.editorMap.set(e,t)}return this.editorMap.get(e)}getFormulaEditor(){const t="formula";if(!this.editorMap.has(t)){const e=new Jx;this.grid.shadowRoot.appendChild(e),this.editorMap.set(t,e)}return this.editorMap.get(t)}getSelectionCellData(){return this.model.getCellMatrix(this.selection.range).map((t=>t.map((t=>t.getSourceData({displayValue:!0})))))}copySelection(){const t=ClipboardItem.supports(fx.CUSTOM_CLIPBOARD_TYPE),e=this.model.getValuesInRange(this.selection.range,t);this.grid.selecting.hideSelector(),this.grid.selecting.showCopySelector();const i={"text/plain":new Blob([xr(e,{decimalSeparator:this.model.options.systemDecimalSeparator})],{type:"text/plain"})};t?i[fx.CUSTOM_CLIPBOARD_TYPE]=new Blob([JSON.stringify(this.getSelectionCellData())],{type:"application/json"}):this.grid.logger.warn("Browser does not support custom clipboard type"),navigator.clipboard.write([new ClipboardItem(i)]).then((()=>this.grid.logger.info("selected content copied")),(()=>this.grid.logger.error("copy rejected")))}pasteMatrix(t){const e=this.selection.range,i=[],o=[],r=this.model.options.clipboard?.rowPasteMode,n=this.model.options.clipboard?.columnPasteMode,s="all"==(this.model.options.clipboard?.pasteProps??"all")?null:this.model.options.clipboard.pasteProps,a=t.length,l=a>0?t[0].length:0;"insert"==r?this.insertRows({index:e.r1,count:a,after:!1}):"rewrite_append"==r&&e.r1+a>this.model.rows.length-1&&this.insertRows({index:this.model.rows.length-1,count:e.r1+a-this.model.rows.length,after:!0}),"insert"==n?this.insertColumns({index:e.c1,count:l,after:!1}):"rewrite_append"==n&&e.c1+l>this.model.columns.length-1&&this.insertColumns({index:this.model.columns.length-1,count:e.c1+l-this.model.columns.length,after:!0});const c=a>0&&l>0&&e.size.rows%a==0&&e.size.columns%l==0;let h=Math.min(c?e.r2:e.r1+a-1,this.model.rows.length-1);const d=Math.min(c?e.c2:e.c1+l-1,this.model.columns.length-1);for(let r=e.r1;r<=h;r++){const n=(r-e.r1)%a,l=this.model.rows[r];if(!l)break;if(!this.model.options.clipboard?.skipHiddenRows||l.visible)for(let r=e.c1;r<=d;r++){const a=l.cell(r);if(!a.editable)continue;const c=(r-e.c1)%t[n].length;if(s&&Z(t[n][c])){const e={};s.forEach((i=>{e[i]=t[n][c][i]})),a.prefersDisplayValue||(e.dv=void 0),o.push(e)}else o.push(t[n][c]);i.push(a)}else h++}this.updateCells(i,o,!0),this.grid.rendering.updateCells(i,!0)}pasteText(t){this.pasteMatrix(kr(t))}async paste(){this.grid.selecting.hideCopySelector();try{const t=await navigator.clipboard.read();if(0==t.length)return;const e=t[0];if(e.types.includes(fx.CUSTOM_CLIPBOARD_TYPE)){const t=await e.getType(fx.CUSTOM_CLIPBOARD_TYPE);this.pasteMatrix(JSON.parse(await t.text()))}else if(e.types.includes("text/plain")){const t=await e.getType("text/plain");this.pasteText(await t.text())}}catch(t){return void this.grid.logger.error("paste rejected")}}openComments(t){setTimeout((()=>{this.grid.comment.attachTo(this.grid.table.getCellByCellModel(t),t,!0)}),100)}undo(){let t;const[e]=this.grid.history.pop();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.oldProps,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.deleteColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.deleteRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}redo(){let t;const[e]=this.grid.history.pop2();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.newValues,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.insertColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.insertRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}startColumnMoving(t){this.columnMoving=!0}merge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);i&&(this.model.merges.add({r:e.r1,c:e.c1,rs:e.size.rows,cs:e.size.columns}),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(e))}unmerge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);if(!i)return;const o=this.model.merges.mergedCells.get(i.address);o&&(this.model.merges.remove(i.address),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(new pv(o.c,o.r,o.c+o.cs-1,o.r+o.rs-1)))}}class ik extends Ax{constructor(t,e){super(`filter.${t}`,e)}}class ok extends _s{get currentValue(){return this.filterModel.get(this.columnModel.index)?.term}constructor(){super(),this.addEventListener("keydown",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation()))}filter(t){this.filterModel.filter({term:t,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}clearFilter(){this.filterModel.filter({term:null,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}activate(){this.dispatchEvent(new ik("activate"))}deactivate(){this.dispatchEvent(new ik("deactivate"))}}ok.styles=[wn`
4170
4170
  :host {
4171
4171
  height: 100%;
4172
4172
  border: 1px solid var(--og-accent-color);
@@ -5053,7 +5053,7 @@
5053
5053
  og-calendar-dropdown {
5054
5054
  height: 100%;
5055
5055
  }
5056
- `],hM=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}([Es("og-form-calendardateinput")],hM);var 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};let uM=class extends rM{validate(){super.validate()}constructor(){super(),this._onKeydown=t=>{switch(t.key){case"ArrowUp":t.preventDefault(),this.up();break;case"ArrowDown":t.preventDefault(),this.down()}},this._onChange=t=>{this.updateValue(parseFloat(t.target.value))},this.up=()=>this.updateValue((this.value??-1)+1),this.down=()=>this.updateValue((this.value??1)-1),this.render=()=>ns`
5056
+ `],hM=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}([Es("og-form-calendardateinput")],hM);var 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};let uM=class extends rM{validate(){super.validate()}constructor(){super(),this._onChange=t=>{this.updateValue(parseFloat(t.target.value))},this.up=()=>this.updateValue((this.value??-1)+1),this.down=()=>this.updateValue((this.value??1)-1),this.render=()=>ns`
5057
5057
  <og-numericinput
5058
5058
  ?buttons="${!0}"
5059
5059
  .min="${this.min}"
@@ -5062,7 +5062,7 @@
5062
5062
  .placeholder="${this.model?.props.placeholder}"
5063
5063
  @change="${this._onChange}">
5064
5064
  </og-numericinput>
5065
- `,this.addEventListener("keydown",this._onKeydown)}updateValue(t){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),super.updateValue(t),this.requestUpdate()}};uM.styles=[...rM.styles,wn`
5065
+ `}updateValue(t){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),super.updateValue(t),this.requestUpdate()}};uM.styles=[...rM.styles,wn`
5066
5066
  og-numericinput {
5067
5067
  border: 1px solid var(--og-accent-color);
5068
5068
  background-color: var(--og-form-background-color);
@@ -9278,4 +9278,4 @@ milkdown-block-handle {
9278
9278
  `:null}
9279
9279
  </div>
9280
9280
  </og-panel>
9281
- `: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?pv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?pv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=pv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Yr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};qz.styles=[Uz],Gz([Is({type:Object})],qz.prototype,"model",void 0),Gz([Rs()],qz.prototype,"editTitle",void 0),Gz([As("#title")],qz.prototype,"titleInput",void 0),Gz([As("#type")],qz.prototype,"typeList",void 0),Gz([As("#dataRange")],qz.prototype,"dataRangeInput",void 0),Gz([As("#seriesRange")],qz.prototype,"seriesRangeInput",void 0),Gz([As("#categoryRange")],qz.prototype,"categoryRangeInput",void 0),qz=Gz([Es("og-plugin-chart-form")],qz);const Yz=Ha().themes.get("dark");Object.assign(Yz.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 Zz=Ha().themes.get("light");Object.assign(Zz.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 Xz=i(6946),Qz=i(6471),Kz=i(4969),Jz=i(9502),tL=i(7706),eL=i(1480),iL=i(2006),oL=i(7503),rL=i(7873),nL=i(8746),sL=i(2570),aL=i(8815),lL=i(6390),cL=i(6593),hL=i(895),dL=i(9083),uL=i(6093),pL=i(9685),gL=i(9849),mL=i(8268),fL=i(4693),vL=i(3599),bL=i(782),yL=i(754),wL=i(5700),xL=i(4731),kL=i(7291),CL=i(597),ML=i(1474),_L=i(6224),SL=i(6239),EL=i(6828),zL=i(2212),LL=i(863),IL=i(3602),RL=i(1985),TL=i(886),AL=i(7201),OL=i(9937),$L=i(8450),DL=i(9630),NL=i(9766),PL=i(388),jL=i(1903),HL=i(398),FL=i(6105),BL=i(6147),WL=i(5722),VL=i(5576),UL=i(3131),GL=i(6308),qL=i(9645),YL=i(3199),ZL=i(871),XL=i(5251),QL=i(6426),KL=i(2643),JL=i(8522),tI=i(6398),eI=i(2525),iI=i(8434),oI=i(6138),rI=i(5835),nI=i(5654),sI=i(6659),aI=i(2977),lI=i(4480),cI=i(9886),hI=i(6815),dI=i(1582),uI=i(2968),pI=i(394),gI=i(7024),mI=i(7853),fI=i(8249),vI=i(2869),bI=i(486),yI=i(5735),wI=i(470),xI=i(4612),kI=i(4018),CI=i(1476),MI=i(3194),_I=i(3525),SI=i(7541),EI=i(4104),zI=i(6686),LI=i(7719),II=i(3898),RI=i(8153),TI=i(3690),AI=i(1776),OI=i(4980),$I=i(5578),DI=i(9613),NI=i(1119),PI=i(8444),jI=i(2978),HI=i(9130),FI=i(2127),BI=i(2732),WI=i(4287),VI=i(4045),UI=i(7642),GI=i(1367),qI=i(320),YI=i(821),ZI=i(102),XI=i(7683),QI=i(3980),KI=i(576),JI=i(654),tR=i(73),eR=i(140),iR=i(8129),oR=i(5087),rR=i(6992),nR=i(8247),sR=i(8038),aR=i(5286),lR=i(9179),cR=i(1808),hR=i(9459),dR=i(2883),uR=i(9124),pR=i(7067),gR=i(1054),mR=i(7325),fR=i(1272),vR=i(3359),bR=i(6562),yR=i(4193),wR=i(6348),xR=i(2435),kR=i(9111),CR=i(9318),MR=i(7294),_R=i(4479),SR=i(2409),ER=i(3091),zR=i(5789),LR=i(5890),IR=i(3874),RR=i(2907),TR=i(1175),AR=i(1686),OR=i(703),$R=i(6606),DR=i(4194),NR=i(6228),PR=i(62),jR=i(2072),HR=i(9744),FR=i(25),BR=i(2618),WR=i(1988),VR=i(8013),UR=i(1133),GR=i(362),qR=i(6845),YR=i(6800),ZR=i(1103),XR=i(4933),QR=i(7284),KR=i(2620),JR=i(2366),tT=i(7457),eT=i(2449),iT=i(2),oT=i(5697),rT=i(7069),nT=i(4716),sT=i(4740),aT=i(4557),lT=i(1868),cT=i(8647),hT=i(5127),dT=i(4816),uT=i(4009),pT=i(5104),gT=i(2830),mT=i(3093),fT=i(5029),vT=i(3514),bT=i(2142),yT=i(4999),wT=i(7523),xT=i(346),kT=i(7917),CT=i(3976),MT=i(9801),_T=i(2464),ST=i(5511),ET=i(5210),zT=i(5815),LT=i(3339),IT=i(7472),RT=i(8811),TT=i(8548),AT=i(6880),OT=i(1840),$T=i(5547),DT=i(4788),NT=i(9467),PT=i(9187),jT=i(9217),HT=i(7897),FT=i(2644),BT=i(6204),WT=i(1472),VT=i(1247),UT=i(7406),GT=i(925),qT=i(7455),YT=i(3771),ZT=i(1549),XT=i(3541),QT=i(3140),KT=i(9800),JT=i(229),tA=i(2677),eA=i(1844),iA=i(3245),oA=i(9056),rA=i(7535),nA=i(2359),sA=i(15),aA=i(5569),lA=i(2014),cA=i(1599),hA=i(6521),dA=i(232),uA=i(9745),pA=i(9594),gA=i(6979),mA=i(4494),fA=i(312),vA=i(4983),bA=i(1258),yA=i(6313),wA=i(12),xA=i(8003),kA=i(7830),CA=i(8875),MA=i(3911),_A=i(1817),SA=i(478),EA=i(2585),zA=i(6564),LA=i(2884),IA=i(3825),RA=i(7348),TA=i(9277),AA=i(4118),OA=i(9200),$A=i(51),DA=i(2872),NA=i(4702),PA=i(9281),jA=i(1394),HA=i(7295),FA=i(2936),BA=i(3789),WA=i(3614),VA=i(4827),UA=i(9204),GA=i(9113),qA=i(4058);const YA=[Xz.mw,Qz.mw,Kz.mw,Jz.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.mw,aL.mw,sL.mw,lL.mw,cL.mw,hL.mw,dL.mw,uL.mw,pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,xL.mw,kL.mw,CL.mw,ML.mw,_L.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,FL.mw,HL.mw,BL.mw,WL.mw,VL.mw,UL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,eI.mw,iI.mw,oI.mw,rI.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,vI.mw,bI.mw,yI.mw,tI.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,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,SL.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,rL.mw],ZA=[kR.mw,CR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,LR.mw,RR.mw,AR.mw,TR.mw,$R.mw,OR.mw,DR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,oT.mw,rT.mw,nT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,UR.mw,GR.mw,YR.mw,qR.mw,bT.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw,MT.mw,_T.mw,sT.mw,aT.mw,lT.mw,cT.mw,ET.mw,zT.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,ST.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,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,iT.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,IR.mw],XA={xlsx:F,charts:B},QA={name:"@omegagrid/bundle",version:"0.9.14"};Ha().activate("light"),Ld.styleDefault="fal",Id.add(YA),Id.add(ZA)})(),window.Omegagrid=o})();
9281
+ `: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?pv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?pv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=pv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Yr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};qz.styles=[Uz],Gz([Is({type:Object})],qz.prototype,"model",void 0),Gz([Rs()],qz.prototype,"editTitle",void 0),Gz([As("#title")],qz.prototype,"titleInput",void 0),Gz([As("#type")],qz.prototype,"typeList",void 0),Gz([As("#dataRange")],qz.prototype,"dataRangeInput",void 0),Gz([As("#seriesRange")],qz.prototype,"seriesRangeInput",void 0),Gz([As("#categoryRange")],qz.prototype,"categoryRangeInput",void 0),qz=Gz([Es("og-plugin-chart-form")],qz);const Yz=Ha().themes.get("dark");Object.assign(Yz.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 Zz=Ha().themes.get("light");Object.assign(Zz.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 Xz=i(6946),Qz=i(6471),Kz=i(4969),Jz=i(9502),tL=i(7706),eL=i(1480),iL=i(2006),oL=i(7503),rL=i(7873),nL=i(8746),sL=i(2570),aL=i(8815),lL=i(6390),cL=i(6593),hL=i(895),dL=i(9083),uL=i(6093),pL=i(9685),gL=i(9849),mL=i(8268),fL=i(4693),vL=i(3599),bL=i(782),yL=i(754),wL=i(5700),xL=i(4731),kL=i(7291),CL=i(597),ML=i(1474),_L=i(6224),SL=i(6239),EL=i(6828),zL=i(2212),LL=i(863),IL=i(3602),RL=i(1985),TL=i(886),AL=i(7201),OL=i(9937),$L=i(8450),DL=i(9630),NL=i(9766),PL=i(388),jL=i(1903),HL=i(398),FL=i(6105),BL=i(6147),WL=i(5722),VL=i(5576),UL=i(3131),GL=i(6308),qL=i(9645),YL=i(3199),ZL=i(871),XL=i(5251),QL=i(6426),KL=i(2643),JL=i(8522),tI=i(6398),eI=i(2525),iI=i(8434),oI=i(6138),rI=i(5835),nI=i(5654),sI=i(6659),aI=i(2977),lI=i(4480),cI=i(9886),hI=i(6815),dI=i(1582),uI=i(2968),pI=i(394),gI=i(7024),mI=i(7853),fI=i(8249),vI=i(2869),bI=i(486),yI=i(5735),wI=i(470),xI=i(4612),kI=i(4018),CI=i(1476),MI=i(3194),_I=i(3525),SI=i(7541),EI=i(4104),zI=i(6686),LI=i(7719),II=i(3898),RI=i(8153),TI=i(3690),AI=i(1776),OI=i(4980),$I=i(5578),DI=i(9613),NI=i(1119),PI=i(8444),jI=i(2978),HI=i(9130),FI=i(2127),BI=i(2732),WI=i(4287),VI=i(4045),UI=i(7642),GI=i(1367),qI=i(320),YI=i(821),ZI=i(102),XI=i(7683),QI=i(3980),KI=i(576),JI=i(654),tR=i(73),eR=i(140),iR=i(8129),oR=i(5087),rR=i(6992),nR=i(8247),sR=i(8038),aR=i(5286),lR=i(9179),cR=i(1808),hR=i(9459),dR=i(2883),uR=i(9124),pR=i(7067),gR=i(1054),mR=i(7325),fR=i(1272),vR=i(3359),bR=i(6562),yR=i(4193),wR=i(6348),xR=i(2435),kR=i(9111),CR=i(9318),MR=i(7294),_R=i(4479),SR=i(2409),ER=i(3091),zR=i(5789),LR=i(5890),IR=i(3874),RR=i(2907),TR=i(1175),AR=i(1686),OR=i(703),$R=i(6606),DR=i(4194),NR=i(6228),PR=i(62),jR=i(2072),HR=i(9744),FR=i(25),BR=i(2618),WR=i(1988),VR=i(8013),UR=i(1133),GR=i(362),qR=i(6845),YR=i(6800),ZR=i(1103),XR=i(4933),QR=i(7284),KR=i(2620),JR=i(2366),tT=i(7457),eT=i(2449),iT=i(2),oT=i(5697),rT=i(7069),nT=i(4716),sT=i(4740),aT=i(4557),lT=i(1868),cT=i(8647),hT=i(5127),dT=i(4816),uT=i(4009),pT=i(5104),gT=i(2830),mT=i(3093),fT=i(5029),vT=i(3514),bT=i(2142),yT=i(4999),wT=i(7523),xT=i(346),kT=i(7917),CT=i(3976),MT=i(9801),_T=i(2464),ST=i(5511),ET=i(5210),zT=i(5815),LT=i(3339),IT=i(7472),RT=i(8811),TT=i(8548),AT=i(6880),OT=i(1840),$T=i(5547),DT=i(4788),NT=i(9467),PT=i(9187),jT=i(9217),HT=i(7897),FT=i(2644),BT=i(6204),WT=i(1472),VT=i(1247),UT=i(7406),GT=i(925),qT=i(7455),YT=i(3771),ZT=i(1549),XT=i(3541),QT=i(3140),KT=i(9800),JT=i(229),tA=i(2677),eA=i(1844),iA=i(3245),oA=i(9056),rA=i(7535),nA=i(2359),sA=i(15),aA=i(5569),lA=i(2014),cA=i(1599),hA=i(6521),dA=i(232),uA=i(9745),pA=i(9594),gA=i(6979),mA=i(4494),fA=i(312),vA=i(4983),bA=i(1258),yA=i(6313),wA=i(12),xA=i(8003),kA=i(7830),CA=i(8875),MA=i(3911),_A=i(1817),SA=i(478),EA=i(2585),zA=i(6564),LA=i(2884),IA=i(3825),RA=i(7348),TA=i(9277),AA=i(4118),OA=i(9200),$A=i(51),DA=i(2872),NA=i(4702),PA=i(9281),jA=i(1394),HA=i(7295),FA=i(2936),BA=i(3789),WA=i(3614),VA=i(4827),UA=i(9204),GA=i(9113),qA=i(4058);const YA=[Xz.mw,Qz.mw,Kz.mw,Jz.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.mw,aL.mw,sL.mw,lL.mw,cL.mw,hL.mw,dL.mw,uL.mw,pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,xL.mw,kL.mw,CL.mw,ML.mw,_L.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,FL.mw,HL.mw,BL.mw,WL.mw,VL.mw,UL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,eI.mw,iI.mw,oI.mw,rI.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,vI.mw,bI.mw,yI.mw,tI.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,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,SL.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,rL.mw],ZA=[kR.mw,CR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,LR.mw,RR.mw,AR.mw,TR.mw,$R.mw,OR.mw,DR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,oT.mw,rT.mw,nT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,UR.mw,GR.mw,YR.mw,qR.mw,bT.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw,MT.mw,_T.mw,sT.mw,aT.mw,lT.mw,cT.mw,ET.mw,zT.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,ST.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,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,iT.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,IR.mw],XA={xlsx:F,charts:B},QA={name:"@omegagrid/bundle",version:"0.9.16"};Ha().activate("light"),Ld.styleDefault="fal",Id.add(YA),Id.add(ZA)})(),window.Omegagrid=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omegagrid/bundle",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
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.9.14",
23
- "@omegagrid/calendar": "^0.9.14",
24
- "@omegagrid/code": "^0.9.14",
25
- "@omegagrid/commands": "^0.9.14",
26
- "@omegagrid/core": "^0.9.14",
27
- "@omegagrid/dialog": "^0.9.14",
28
- "@omegagrid/editor": "^0.9.14",
29
- "@omegagrid/form": "^0.9.14",
30
- "@omegagrid/grid": "^0.9.14",
31
- "@omegagrid/localize": "^0.9.14",
32
- "@omegagrid/markdown": "^0.9.14",
33
- "@omegagrid/plugin-charts": "^0.9.14",
34
- "@omegagrid/plugin-xlsx": "^0.9.14",
35
- "@omegagrid/statusbar": "^0.9.14",
36
- "@omegagrid/tabs": "^0.9.14",
37
- "@omegagrid/toolbar": "^0.9.14",
38
- "@omegagrid/tree": "^0.9.14",
22
+ "@omegagrid/bucket": "^0.9.16",
23
+ "@omegagrid/calendar": "^0.9.16",
24
+ "@omegagrid/code": "^0.9.16",
25
+ "@omegagrid/commands": "^0.9.16",
26
+ "@omegagrid/core": "^0.9.16",
27
+ "@omegagrid/dialog": "^0.9.16",
28
+ "@omegagrid/editor": "^0.9.16",
29
+ "@omegagrid/form": "^0.9.16",
30
+ "@omegagrid/grid": "^0.9.16",
31
+ "@omegagrid/localize": "^0.9.16",
32
+ "@omegagrid/markdown": "^0.9.16",
33
+ "@omegagrid/plugin-charts": "^0.9.16",
34
+ "@omegagrid/plugin-xlsx": "^0.9.16",
35
+ "@omegagrid/statusbar": "^0.9.16",
36
+ "@omegagrid/tabs": "^0.9.16",
37
+ "@omegagrid/toolbar": "^0.9.16",
38
+ "@omegagrid/tree": "^0.9.16",
39
39
  "lit": "^3.1.1"
40
40
  },
41
41
  "devDependencies": {