@omegagrid/bundle 0.6.63 → 0.6.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/omegagrid.js +6 -6
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -1742,7 +1742,7 @@
|
|
|
1742
1742
|
arrowEvents>
|
|
1743
1743
|
</og-list>
|
|
1744
1744
|
</div>
|
|
1745
|
-
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("keyup",this._onKeyUp),this.addEventListener("keydown",this._onKeyDown),this.addEventListener("blur",(()=>this.close()))}async open(t=!0){if(!this.target)throw new Error("target element not set");wt(this),this.input.value="",this.requireUpdateCommands&&(this.requireUpdateCommands=!1,await this.updateCommands()),this.input.focus(),this.visibleItems=this.commands.filter(null,this.showSections),this.updatePosition(),t&&this.dispatchEvent(new og("open"))}close(t=!0){this.target&&(xt(this),this.target.focus(),t&&this.dispatchEvent(new og("close")))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async updated(t){if(t.has("target")){const e=t.get("target");e&&e.removeEventListener("keydown",this._onTargetKeyDown),this.target&&this.target.addEventListener("keydown",this._onTargetKeyDown)}t.has("adapter")&&(this.requireUpdateCommands=!0),t.has("commands")&&await this.updateCommands(),this.updatePosition()}firstUpdated(){this.list.itemRenderer=this._itemRenderer,this.list.addEventListener("select",this._onSelect)}async updateCommands(){this.adapter?(this.commands.clear(),(await Promise.all([this.adapter.getSections(this.filterValue)]))[0].forEach((t=>this.commands.registerSection(t,!1))),this.visibleItems=this.commands.filter(null,this.showSections,!0)):this.visibleItems=this.commands.filter(this.filterValue,this.showSections),this.list.size=this.visibleItems.length,this.list.selectedIndex=this.list.size>0?0:-1,this.list.renderItems(!0),await this.list.updateComplete}async toggleSection(t){const e=this.commands.sections.get(t);if(e.open)e.open=!1,this.visibleItems=this.commands.filter(this.filterValue,this.showSections,!0),this.list.size=this.visibleItems.length;else if(e.open=!0,this.adapter){const i=(await Promise.all([this.adapter.getCommands(t,this.filterValue)]))[0];i.length>0&&(e.commands.clear(),i.forEach((t=>e.addCommand(t)))),this.visibleItems=this.commands.filter(null,this.showSections,!0)}else this.visibleItems=this.commands.filter(this.filterValue,this.showSections,!0);this.list.size=this.visibleItems.length}updatePosition(){this.target&&($t(this,{w:Math.min(eg.COMMAND_WINDOW_MAX_WIDTH,.9*this.target.clientWidth)}),Yt(this,this.target,{horizontal:!0,vertical:!1}),Pt(this,{t:100}))}};ng.styles=[Jp],ig([hs({type:String})],ng.prototype,"text",void 0),ig([hs({type:Object})],ng.prototype,"commands",void 0),ig([hs({type:Object})],ng.prototype,"adapter",void 0),ig([hs({type:Object})],ng.prototype,"target",void 0),ig([hs({type:String})],ng.prototype,"triggerKey",void 0),ig([hs({type:Boolean})],ng.prototype,"showSections",void 0),ig([hs({type:Object})],ng.prototype,"commandRenderer",void 0),ig([hs({type:Object})],ng.prototype,"sectionRenderer",void 0),ng=ig([as("og-commands")],ng);const rg={TOP_HEIGHT:
|
|
1745
|
+
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("keyup",this._onKeyUp),this.addEventListener("keydown",this._onKeyDown),this.addEventListener("blur",(()=>this.close()))}async open(t=!0){if(!this.target)throw new Error("target element not set");wt(this),this.input.value="",this.requireUpdateCommands&&(this.requireUpdateCommands=!1,await this.updateCommands()),this.input.focus(),this.visibleItems=this.commands.filter(null,this.showSections),this.updatePosition(),t&&this.dispatchEvent(new og("open"))}close(t=!0){this.target&&(xt(this),this.target.focus(),t&&this.dispatchEvent(new og("close")))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async updated(t){if(t.has("target")){const e=t.get("target");e&&e.removeEventListener("keydown",this._onTargetKeyDown),this.target&&this.target.addEventListener("keydown",this._onTargetKeyDown)}t.has("adapter")&&(this.requireUpdateCommands=!0),t.has("commands")&&await this.updateCommands(),this.updatePosition()}firstUpdated(){this.list.itemRenderer=this._itemRenderer,this.list.addEventListener("select",this._onSelect)}async updateCommands(){this.adapter?(this.commands.clear(),(await Promise.all([this.adapter.getSections(this.filterValue)]))[0].forEach((t=>this.commands.registerSection(t,!1))),this.visibleItems=this.commands.filter(null,this.showSections,!0)):this.visibleItems=this.commands.filter(this.filterValue,this.showSections),this.list.size=this.visibleItems.length,this.list.selectedIndex=this.list.size>0?0:-1,this.list.renderItems(!0),await this.list.updateComplete}async toggleSection(t){const e=this.commands.sections.get(t);if(e.open)e.open=!1,this.visibleItems=this.commands.filter(this.filterValue,this.showSections,!0),this.list.size=this.visibleItems.length;else if(e.open=!0,this.adapter){const i=(await Promise.all([this.adapter.getCommands(t,this.filterValue)]))[0];i.length>0&&(e.commands.clear(),i.forEach((t=>e.addCommand(t)))),this.visibleItems=this.commands.filter(null,this.showSections,!0)}else this.visibleItems=this.commands.filter(this.filterValue,this.showSections,!0);this.list.size=this.visibleItems.length}updatePosition(){this.target&&($t(this,{w:Math.min(eg.COMMAND_WINDOW_MAX_WIDTH,.9*this.target.clientWidth)}),Yt(this,this.target,{horizontal:!0,vertical:!1}),Pt(this,{t:100}))}};ng.styles=[Jp],ig([hs({type:String})],ng.prototype,"text",void 0),ig([hs({type:Object})],ng.prototype,"commands",void 0),ig([hs({type:Object})],ng.prototype,"adapter",void 0),ig([hs({type:Object})],ng.prototype,"target",void 0),ig([hs({type:String})],ng.prototype,"triggerKey",void 0),ig([hs({type:Boolean})],ng.prototype,"showSections",void 0),ig([hs({type:Object})],ng.prototype,"commandRenderer",void 0),ig([hs({type:Object})],ng.prototype,"sectionRenderer",void 0),ng=ig([as("og-commands")],ng);const rg={TOP_HEIGHT:41,SIDEMENU_WIDTH:41,SIDEBAR_WIDTH:250,SIZER_TRESHOLD:5,SIDEBAR_HEADER_HEIGHT:30,...U},sg=tr`
|
|
1746
1746
|
:host {
|
|
1747
1747
|
display: flex;
|
|
1748
1748
|
flex-direction: column;
|
|
@@ -1927,7 +1927,7 @@
|
|
|
1927
1927
|
.item.selected og-bucket-button, .item:hover og-bucket-button {
|
|
1928
1928
|
color: var(--og-text-color-3);
|
|
1929
1929
|
}
|
|
1930
|
-
`;let zg=class extends rs{get tooltip(){return this.tooltipRef?.value}get count(){return this.settings?.items?.length??0}constructor(){super(),this.tooltipRef=Gh(),this.items=new cd((t=>{const e=this.settings?.items[t]
|
|
1930
|
+
`;let zg=class extends rs{get tooltip(){return this.tooltipRef?.value}get count(){return this.settings?.items?.length??0}constructor(){super(),this.tooltipRef=Gh(),this.items=new cd((t=>{const e=this.settings?.items[t];return bt("og-bucket-button",{active:this.settings?.activeIndex===t,text:e.text,icon:e.icon,statusIcon:["fas",e.statusIcon]})})),this._onMouseMove=(t,e)=>{const i=this.settings.items[e.index].tooltip;i?(this.tooltip.querySelector('[slot="body"]').innerText=i,this.tooltip.attachTo(e,"right")):this.tooltip.deatach()},this._itemRenderer=async(t,e)=>{const i=await this.items.get(e);_t(t),t.appendChild(i)},this.render=()=>Pr`
|
|
1931
1931
|
<og-list
|
|
1932
1932
|
size="${this.count}"
|
|
1933
1933
|
?nativeHeight="${!0}"
|
|
@@ -1939,7 +1939,7 @@
|
|
|
1939
1939
|
<og-tooltip ${Zh(this.tooltipRef)} style="max-width: 300px; display: none">
|
|
1940
1940
|
<div style="padding: 5px" slot="body"></div>
|
|
1941
1941
|
</og-tooltip>
|
|
1942
|
-
`,Rt(this,"mousemove",".item",this._onMouseMove,{wait:10,noMatchCallback:()=>{this.tooltip.deatach()}}),zt(this,"mouseout",".item",(()=>this.requestHide())),zt(this,"mouseleave",".item",(()=>this.requestHide()))}requestHide(){null==this._hideTimer&&(this._hideTimer=window.setTimeout((()=>{this.tooltip.deatach(),this._hideTimer=null}),100))}async updated(){this.settings?.activeIndex>=0&&(this.list.select(this.settings?.activeIndex),this.updateActiveIndex())}updateActiveIndex(){this.settings.activeIndex=this.list.selectedIndex,this.items.forEach(((t,e)=>{
|
|
1942
|
+
`,Rt(this,"mousemove",".item",this._onMouseMove,{wait:10,noMatchCallback:()=>{this.tooltip.deatach()}}),zt(this,"mouseout",".item",(()=>this.requestHide())),zt(this,"mouseleave",".item",(()=>this.requestHide()))}requestHide(){null==this._hideTimer&&(this._hideTimer=window.setTimeout((()=>{this.tooltip.deatach(),this._hideTimer=null}),100))}async updated(){this.settings?.activeIndex>=0&&(this.list.select(this.settings?.activeIndex),this.updateActiveIndex())}updateActiveIndex(){this.settings.activeIndex=this.list.selectedIndex,this.items.forEach(((t,e)=>{t.active=e===this.settings.activeIndex}))}firstUpdated(){document.body.appendChild(this.tooltip)}};zg.styles=tr`
|
|
1943
1943
|
:host {
|
|
1944
1944
|
display: block;
|
|
1945
1945
|
}
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
.item:hover div.lvl {
|
|
2234
2234
|
display: flex;
|
|
2235
2235
|
}
|
|
2236
|
-
`,Lm=Ma({display:"block",position:"relative",top:"5px",left:"4px"}),Im={[km.Checked]:{value:"checked",color:null},[km.CheckedByParent]:{value:"checked",color:"#555555"},[km.None]:{value:"none",color:null},[km.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Hm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${dt(lt(t))}`,"ig");let o;return t=>{const n=[];for(;o=i.exec(lt((t[e]??"").toString()));)n.push([o.index,i.lastIndex]);return n}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?pn.Matched:pn.Filtered):(o.filterState=pn.Matched,o.collapse()),o.filterState==pn.Matched&&(o.walkUp((t=>{t.filterState==pn.Filtered&&(t.filterState=pn.ChildMatched)})),t&&(o.htmlValue=oe(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=pn.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}function*Tm(t,e){const i="function"==typeof e;if(void 0!==t){let o=-1;for(const n of t)o>-1&&(yield i?e(o):e),o++,yield n}}var Am=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};class Om extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class $m extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class Dm extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let Nm=class extends rs{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==wm.Multiple||this.options.selectMode==wm.MultipleLevels)&&this.options.globalLevels&&this.model.maxLevel>0}constructor(){super(),this.options=Em(),this.selection=new Mm(this.options),this.logger=new hn("Ωtree"),this.maxHeight=null,this.itemHeight=_m.LIST_ITEM_HEIGHT,this.disableAutoload=!1,this.loading=!1,this.noMatches=!1,this._onDragover=t=>{if(this.options.fileDrop&&(t.preventDefault(),t.stopPropagation(),"Files"==t.dataTransfer.types[0])){t.dataTransfer.dropEffect="move";const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item")));this._onDragLeave(),e&&e.classList.add("drag"),this._lastDragItem=e}},this._onDrop=t=>{t.preventDefault(),this._onDragLeave();const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item"))),i=this.model.nodes[parseInt(e.dataset.node)];this.dispatchEvent(new Dm("drop",t,{tree:this,node:i}))},this._onDragLeave=()=>{this._lastDragItem&&this._lastDragItem.classList.remove("drag"),this._lastDragItem=null},this.keyActions={ArrowRight:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed&&(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)},ArrowLeft:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed||(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)}},this._onGlobalLevelSelect=async t=>{this.toggleNode(this.model.root,t.level,!0),this.globalTreeLevels.requestUpdate(),this.requestUpdate(),await this.list.updateComplete,this.list.renderItems(!0)},this._onSearch=()=>{this.list.size=this.size,this.list.select(0),this.renderItems(!0),this.noMatches=0==this.size},this._onListRender=()=>{this.awaitFilter&&(this.filter(this.awaitFilter),this.awaitFilter=null)},this._onListMenu=t=>{this.dispatchEvent(new $m("menu",t,{tree:this,node:this.model.visibleNodes[t.index]}))},this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",this._onDragLeave),this.addEventListener("drop",this._onDrop)}destroy(){this.logger.info("destroy")}connectedCallback(){super.connectedCallback(),this.logger.info("init"),this.tabIndex=0}setSourceData(t,e=null){Object.assign(this.options,e??{}),this.model=new ym(t,this.options),t?.length>0&&void 0!==t[0].s&&this.selection.setItems(t.filter((t=>t.s)).map((t=>[t.k,0,1]))),this.dispatchEvent(new Om("load",{component:this}))}setValue(t){this.selection.populate(t)}async loadData(t){this.loading=!0,this.list&&(this.list.size=0),this.model=null,t=t??{};const[e,i]=await Promise.all([this.adapter.getTree(t),this.adapter.getOptions()]);this.setSourceData(e,i),i?.pageSize>0&&(this.updateNodeLoadState(this.model.root,this.model.root.children.length),this.model.indexVisibleNodes()),this.loading=!1}async loadMore(t){const e=t.children.length,i=await this.adapter.getTree({parent:t,parentKey:t.key,offset:e}),o=new ym(i,this.options);t.insertChildren(o.root.children,e),this.updateNodeLoadState(t,o.root.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate()}willUpdate(t){t.has("adapter")&&this.adapter&&(this.model=null,this.adapter.attach(this),this.disableAutoload||this.loadData()),this.model=this.model??new ym([],null),this.filtering=new Hm(this.model),t.has("options")&&(this.options=Em(this.options),this.model.options=this.options,this.selection.options=this.options)}updated(t){t.has("model")&&this.list&&(this.list.size=this.size,this.noMatches=this.noMatches&&0==this.size,this.list.requestUpdate())}async firstUpdated(){var t;this.value&&this.selection.setItems(this.value??[]),this.list.itemRenderer=(t=this,(e,i,o)=>{const n=t.model.visibleNodes[i];if(n.placeholder)return((t,e)=>{const i=e.parent,o=i.model.options;return e.element=t,Pr`
|
|
2236
|
+
`,Lm=Ma({display:"block",position:"relative",top:"5px",left:"4px"}),Im={[km.Checked]:{value:"checked",color:null},[km.CheckedByParent]:{value:"checked",color:"#555555"},[km.None]:{value:"none",color:null},[km.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Hm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${dt(lt(t))}`,"ig");let o;return t=>{const n=[];for(;o=i.exec(lt((t[e]??"").toString()));)n.push([o.index,i.lastIndex]);return n}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?pn.Matched:pn.Filtered):(o.filterState=pn.Matched,o.collapse()),o.filterState==pn.Matched&&(o.walkUp((t=>{t.filterState==pn.Filtered&&(t.filterState=pn.ChildMatched)})),t&&(o.htmlValue=oe(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=pn.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}function*Tm(t,e){const i="function"==typeof e;if(void 0!==t){let o=-1;for(const n of t)o>-1&&(yield i?e(o):e),o++,yield n}}var Am=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};class Om extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class $m extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class Dm extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let Nm=class extends rs{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==wm.Multiple||this.options.selectMode==wm.MultipleLevels)&&this.options.globalLevels&&this.model.maxLevel>0}constructor(){super(),this.options=Em(),this.selection=new Mm(this.options),this.logger=new hn("Ωtree"),this.maxHeight=null,this.itemHeight=_m.LIST_ITEM_HEIGHT,this.disableAutoload=!1,this.loading=!1,this.noMatches=!1,this.loadingNodes=new Set,this._onDragover=t=>{if(this.options.fileDrop&&(t.preventDefault(),t.stopPropagation(),"Files"==t.dataTransfer.types[0])){t.dataTransfer.dropEffect="move";const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item")));this._onDragLeave(),e&&e.classList.add("drag"),this._lastDragItem=e}},this._onDrop=t=>{t.preventDefault(),this._onDragLeave();const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item"))),i=this.model.nodes[parseInt(e.dataset.node)];this.dispatchEvent(new Dm("drop",t,{tree:this,node:i}))},this._onDragLeave=()=>{this._lastDragItem&&this._lastDragItem.classList.remove("drag"),this._lastDragItem=null},this.keyActions={ArrowRight:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed&&(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)},ArrowLeft:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed||(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)}},this._onGlobalLevelSelect=async t=>{this.toggleNode(this.model.root,t.level,!0),this.globalTreeLevels.requestUpdate(),this.requestUpdate(),await this.list.updateComplete,this.list.renderItems(!0)},this._onSearch=()=>{this.list.size=this.size,this.list.select(0),this.renderItems(!0),this.noMatches=0==this.size},this._onListRender=()=>{this.awaitFilter&&(this.filter(this.awaitFilter),this.awaitFilter=null)},this._onListMenu=t=>{this.dispatchEvent(new $m("menu",t,{tree:this,node:this.model.visibleNodes[t.index]}))},this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",this._onDragLeave),this.addEventListener("drop",this._onDrop)}destroy(){this.logger.info("destroy")}connectedCallback(){super.connectedCallback(),this.logger.info("init"),this.tabIndex=0}setSourceData(t,e=null){Object.assign(this.options,e??{}),this.model=new ym(t,this.options),t?.length>0&&void 0!==t[0].s&&this.selection.setItems(t.filter((t=>t.s)).map((t=>[t.k,0,1]))),this.dispatchEvent(new Om("load",{component:this}))}setValue(t){this.selection.populate(t)}async loadData(t){this.loading=!0,this.list&&(this.list.size=0),this.model=null,t=t??{};const[e,i]=await Promise.all([this.adapter.getTree(t),this.adapter.getOptions()]);this.setSourceData(e,i),i?.pageSize>0&&(this.updateNodeLoadState(this.model.root,this.model.root.children.length),this.model.indexVisibleNodes()),this.loading=!1}async loadMore(t){const e=t.children.length,i=await this.adapter.getTree({parent:t,parentKey:t.key,offset:e}),o=new ym(i,this.options);t.insertChildren(o.root.children,e),this.updateNodeLoadState(t,o.root.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate()}willUpdate(t){t.has("adapter")&&this.adapter&&(this.model=null,this.adapter.attach(this),this.disableAutoload||this.loadData()),this.model=this.model??new ym([],null),this.filtering=new Hm(this.model),t.has("options")&&(this.options=Em(this.options),this.model.options=this.options,this.selection.options=this.options)}updated(t){t.has("model")&&this.list&&(this.list.size=this.size,this.noMatches=this.noMatches&&0==this.size,this.list.requestUpdate())}async firstUpdated(){var t;this.value&&this.selection.setItems(this.value??[]),this.list.itemRenderer=(t=this,(e,i,o)=>{const n=t.model.visibleNodes[i];if(n.placeholder)return((t,e)=>{const i=e.parent,o=i.model.options;return e.element=t,Pr`
|
|
2237
2237
|
<div
|
|
2238
2238
|
class="placeholder"
|
|
2239
2239
|
style="${Ma({paddingLeft:(i.level+1)*o.levelIndent+5+"px"})}">
|
|
@@ -2276,7 +2276,7 @@
|
|
|
2276
2276
|
</og-tree-levels>
|
|
2277
2277
|
</div>
|
|
2278
2278
|
`:""}
|
|
2279
|
-
`}),zt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),zt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),zt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=lu.Arrow&&!(t.elm instanceof Yd)){const e=this.model.visibleNodes[t.index];if(e instanceof bm){const t=e;t.checkbox??this.options.selectMode!=wm.None?this.toggleNode(t,0,!0):(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size),this.dispatchEvent(new Om("select",{component:this,node:t}))}else if(e){const t=e;if(t.loading)return;t.loading=!0,t.element.querySelector("og-icon").icon="hourglass-half",this.loadMore(t.parent)}}})),this.list.addEventListener("keydown",(t=>{const e=this.keyActions[t.key];if(e)e();else if(!isNaN(parseInt(t.key))){const e=parseInt(t.key),i=this.model.visibleNodes[this.list.selectedIndex];i.subLevels>=e&&this.toggleNode(i,e,!0)}}))}toggleNode(t,e,i=!1){this.selection.toggle(t,e),this.list.renderItems(!0),setTimeout((()=>this.list.focus())),i&&this.dispatchEvent(new Om("change",{component:this,node:t}))}updateNodeLoadState(t,e){this.options.pageSize>0&&(e<this.options.pageSize?t.count=t.children.length:t.count=t.children.length+1)}async toggleNodeCollapse(t,e=!0){if(t.toggleCollapse(),!t.isLoaded&&!t.isPartialyLoaded&&this.adapter){this.list.requestUpdate();const e=await this.adapter.getTree({parent:t,parentKey:t.key,offset:0}),i=new ym(e,this.options);t.insertChildren(i.root.children,0),this.updateNodeLoadState(t,t.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate()}e&&this.dispatchEvent(new Om("tree.collapse",{component:this,node:t}))}toggleTreeCollapse(t,e=!0){0!=this.model.nodes.length&&(t||((t=this.model.root).collapsed=this.model.nodes[0].collapsed),t.toggleCollapse(!0),this.model.indexVisibleNodes(),this.list.size=this.size,e&&this.dispatchEvent(new Om("tree.collapse",{component:this,node:t})))}get itemStyle(){const t=this.options?.customStyle;return[Rm,...t?Array.isArray(t)?t:[t]:[]]}render(){this.logger.info(`render ${this.model?.visibleNodes.length??0}`);const t=Pr`
|
|
2279
|
+
`}),zt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),zt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),zt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=lu.Arrow&&!(t.elm instanceof Yd)){const e=this.model.visibleNodes[t.index];if(e instanceof bm){const t=e;t.checkbox??this.options.selectMode!=wm.None?this.toggleNode(t,0,!0):(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size),this.dispatchEvent(new Om("select",{component:this,node:t}))}else if(e){const t=e;if(t.loading)return;t.loading=!0,t.element.querySelector("og-icon").icon="hourglass-half",this.loadMore(t.parent)}}})),this.list.addEventListener("keydown",(t=>{const e=this.keyActions[t.key];if(e)e();else if(!isNaN(parseInt(t.key))){const e=parseInt(t.key),i=this.model.visibleNodes[this.list.selectedIndex];i.subLevels>=e&&this.toggleNode(i,e,!0)}}))}toggleNode(t,e,i=!1){this.selection.toggle(t,e),this.list.renderItems(!0),setTimeout((()=>this.list.focus())),i&&this.dispatchEvent(new Om("change",{component:this,node:t}))}updateNodeLoadState(t,e){this.options.pageSize>0&&(e<this.options.pageSize?t.count=t.children.length:t.count=t.children.length+1)}async toggleNodeCollapse(t,e=!0){if(t.toggleCollapse(),!t.isLoaded&&!t.isPartialyLoaded&&this.adapter&&!this.loadingNodes.has(t.key)){this.loadingNodes.add(t.key),this.list.requestUpdate();const e=await this.adapter.getTree({parent:t,parentKey:t.key,offset:0}),i=new ym(e,this.options);t.insertChildren(i.root.children,0),this.updateNodeLoadState(t,t.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate(),this.loadingNodes.delete(t.key)}e&&this.dispatchEvent(new Om("tree.collapse",{component:this,node:t}))}toggleTreeCollapse(t,e=!0){0!=this.model.nodes.length&&(t||((t=this.model.root).collapsed=this.model.nodes[0].collapsed),t.toggleCollapse(!0),this.model.indexVisibleNodes(),this.list.size=this.size,e&&this.dispatchEvent(new Om("tree.collapse",{component:this,node:t})))}get itemStyle(){const t=this.options?.customStyle;return[Rm,...t?Array.isArray(t)?t:[t]:[]]}render(){this.logger.info(`render ${this.model?.visibleNodes.length??0}`);const t=Pr`
|
|
2280
2280
|
<div class="main" style="${Ma({overflow:"hidden",maxHeight:this.maxHeight?At(this.maxHeight):null})}">
|
|
2281
2281
|
<og-list
|
|
2282
2282
|
size="${this.size}"
|
|
@@ -8383,4 +8383,4 @@ milkdown-block-handle {
|
|
|
8383
8383
|
`:null}
|
|
8384
8384
|
</div>
|
|
8385
8385
|
</og-panel>
|
|
8386
|
-
`: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?av.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?av.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=av.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Tn({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Tz.styles=[Iz],Hz([hs({type:Object})],Tz.prototype,"model",void 0),Hz([ds()],Tz.prototype,"editTitle",void 0),Hz([ps("#title")],Tz.prototype,"titleInput",void 0),Hz([ps("#type")],Tz.prototype,"typeList",void 0),Hz([ps("#dataRange")],Tz.prototype,"dataRangeInput",void 0),Hz([ps("#seriesRange")],Tz.prototype,"seriesRangeInput",void 0),Hz([ps("#categoryRange")],Tz.prototype,"categoryRangeInput",void 0),Tz=Hz([as("og-plugin-chart-form")],Tz);const Az=va().themes.get("dark");Object.assign(Az.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 Oz=va().themes.get("light");Object.assign(Oz.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 $z=i(2439),Dz=i(8022),Nz=i(6158),Pz=i(127),jz=i(4505),Vz=i(8659),Bz=i(397),Fz=i(930),Wz=i(9723),Uz=i(6343),Gz=i(4582),Yz=i(6127),qz=i(8238),Zz=i(7362),Xz=i(452),Qz=i(5390),Kz=i(3368),Jz=i(6288),tR=i(7513),eR=i(1386),iR=i(5764),oR=i(1261),nR=i(3071),rR=i(3285),sR=i(2356),aR=i(6780),lR=i(8542),cR=i(8385),hR=i(1025),dR=i(2034),uR=i(8113),pR=i(1821),gR=i(7212),mR=i(2583),fR=i(5360),vR=i(2377),bR=i(2864),yR=i(7998),wR=i(4101),xR=i(7813),kR=i(5037),CR=i(7005),MR=i(9626),_R=i(9517),SR=i(1504),ER=i(3838),zR=i(4935),RR=i(7699),LR=i(3322),IR=i(5757),HR=i(536),TR=i(1673),AR=i(8736),OR=i(196),$R=i(5133),DR=i(6092),NR=i(791),PR=i(5927),jR=i(1802),VR=i(9511),BR=i(6267),FR=i(1072),WR=i(4331),UR=i(8644),GR=i(2704),YR=i(2419),qR=i(6363),ZR=i(5236),XR=i(3499),QR=i(3811),KR=i(1953),JR=i(4729),tL=i(8964),eL=i(8540),iL=i(8752),oL=i(8783),nL=i(8270),rL=i(7261),sL=i(9231),aL=i(4555),lL=i(5293),cL=i(6981),hL=i(5268),dL=i(2680),uL=i(789),pL=i(4373),gL=i(436),mL=i(8573),fL=i(1808),vL=i(3247),bL=i(5143),yL=i(2415),wL=i(2561),xL=i(5726),kL=i(7436),CL=i(4201),ML=i(8248),_L=i(6433),SL=i(2698),EL=i(979),zL=i(9358),RL=i(9176),LL=i(1239),IL=i(4218),HL=i(8377),TL=i(3740),AL=i(5379),OL=i(9974),$L=i(8955),DL=i(3559),NL=i(809),PL=i(8014),jL=i(8265),VL=i(3300),BL=i(8724),FL=i(8033),WL=i(7700),UL=i(5741),GL=i(3478),YL=i(512),qL=i(499),ZL=i(8680),XL=i(9646),QL=i(9432),KL=i(2841),JL=i(75),tI=i(9256),eI=i(444),iI=i(5633),oI=i(3788),nI=i(3573),rI=i(9948),sI=i(1836),aI=i(7029),lI=i(8532),cI=i(6639),hI=i(1633),dI=i(9805),uI=i(2171),pI=i(875),gI=i(9595),mI=i(3894),fI=i(2803),vI=i(7765),bI=i(8804),yI=i(8654),wI=i(257),xI=i(5844),kI=i(9651),CI=i(760),MI=i(9518),_I=i(4585),SI=i(1769),EI=i(643),zI=i(5156),RI=i(822),LI=i(8249),II=i(3434),HI=i(9314),TI=i(3093),AI=i(7721),OI=i(588),$I=i(7645),DI=i(7148),NI=i(6795),PI=i(7047),jI=i(9428),VI=i(1879),BI=i(9779),FI=i(2476),WI=i(9648),UI=i(2896),GI=i(6817),YI=i(5196),qI=i(2762),ZI=i(5981),XI=i(9014),QI=i(2611),KI=i(7946),JI=i(6301),tH=i(8020),eH=i(3987),iH=i(3192),oH=i(8796),nH=i(2489),rH=i(7324),sH=i(6069),aH=i(4155),lH=i(6977),cH=i(8055),hH=i(2653),dH=i(9492),uH=i(4334),pH=i(6804),gH=i(9954),mH=i(2211),fH=i(5211),vH=i(1519),bH=i(6204),yH=i(5501),wH=i(5244),xH=i(9742),kH=i(1552),CH=i(1330),MH=i(2596),_H=i(5184),SH=i(7675),EH=i(1513),zH=i(9396),RH=i(7673),LH=i(244),IH=i(1187),HH=i(1736),TH=i(4390),AH=i(7106),OH=i(2096),$H=i(9991),DH=i(5629),NH=i(3386),PH=i(6651),jH=i(1684),VH=i(3849),BH=i(2582),FH=i(8569),WH=i(2955),UH=i(9100),GH=i(7381),YH=i(9190),qH=i(4071),ZH=i(8e3),XH=i(4633),QH=i(4374),KH=i(486),JH=i(3680),tT=i(9999),eT=i(2830),iT=i(5255),oT=i(6021),nT=i(2214),rT=i(8497),sT=i(2052),aT=i(5327),lT=i(8701),cT=i(8722),hT=i(7325),dT=i(2445);const uT=[$z.mw,Dz.mw,Nz.mw,Pz.mw,jz.mw,Vz.mw,Bz.mw,Fz.mw,Wz.mw,Gz.mw,Uz.mw,Yz.mw,qz.mw,Zz.mw,Xz.mw,Qz.mw,Kz.mw,Jz.mw,tR.mw,eR.mw,iR.mw,oR.mw,nR.mw,rR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,MR.mw,SR.mw,_R.mw,ER.mw,zR.mw,RR.mw,LR.mw,IR.mw,HR.mw,TR.mw,AR.mw,OR.mw,$R.mw,DR.mw,NR.mw,jR.mw,VR.mw,BR.mw,FR.mw,WR.mw,UR.mw,GR.mw,YR.mw,qR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.mw,PR.mw,rL.mw,sL.mw,aL.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,SL.mw,EL.mw,zL.mw,RL.mw,LL.mw,IL.mw,HL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,VL.mw,BL.mw,FL.mw,WL.mw,UL.mw,dR.mw,GL.mw,YL.mw,qL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,nI.mw,rI.mw,aI.mw,sI.mw,cI.mw,lI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,vI.mw,bI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,RI.mw,II.mw,HI.mw,TI.mw,NI.mw,PI.mw,jI.mw,VI.mw,BI.mw,FI.mw,WI.mw,UI.mw,yI.mw,wI.mw,kI.mw,xI.mw,GI.mw,YI.mw,qI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,AI.mw,OI.mw,$I.mw,DI.mw,eH.mw,iH.mw,oH.mw,nH.mw,rH.mw,sH.mw,aH.mw,lH.mw,cH.mw,hH.mw,dH.mw,uH.mw,pH.mw,gH.mw,mH.mw,fH.mw,vH.mw,bH.mw,yH.mw,tH.mw,wH.mw,xH.mw,kH.mw,CH.mw,MH.mw,_H.mw,SH.mw,EH.mw,zH.mw,RH.mw,LH.mw,IH.mw,HH.mw,TH.mw,AH.mw,OH.mw,$H.mw,DH.mw,NH.mw,PH.mw,jH.mw,VH.mw,BH.mw,FH.mw,WH.mw,UH.mw,GH.mw,YH.mw,qH.mw,ZH.mw,XH.mw,QH.mw,KH.mw,JH.mw,tT.mw,eT.mw,iT.mw,oT.mw,nT.mw,rT.mw,sT.mw,LI.mw,aT.mw,lT.mw,cT.mw,hT.mw,dT.mw],pT={xlsx:j,charts:V},gT={name:"@omegagrid/bundle",version:"0.6.
|
|
8386
|
+
`: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?av.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?av.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=av.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Tn({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Tz.styles=[Iz],Hz([hs({type:Object})],Tz.prototype,"model",void 0),Hz([ds()],Tz.prototype,"editTitle",void 0),Hz([ps("#title")],Tz.prototype,"titleInput",void 0),Hz([ps("#type")],Tz.prototype,"typeList",void 0),Hz([ps("#dataRange")],Tz.prototype,"dataRangeInput",void 0),Hz([ps("#seriesRange")],Tz.prototype,"seriesRangeInput",void 0),Hz([ps("#categoryRange")],Tz.prototype,"categoryRangeInput",void 0),Tz=Hz([as("og-plugin-chart-form")],Tz);const Az=va().themes.get("dark");Object.assign(Az.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 Oz=va().themes.get("light");Object.assign(Oz.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 $z=i(2439),Dz=i(8022),Nz=i(6158),Pz=i(127),jz=i(4505),Vz=i(8659),Bz=i(397),Fz=i(930),Wz=i(9723),Uz=i(6343),Gz=i(4582),Yz=i(6127),qz=i(8238),Zz=i(7362),Xz=i(452),Qz=i(5390),Kz=i(3368),Jz=i(6288),tR=i(7513),eR=i(1386),iR=i(5764),oR=i(1261),nR=i(3071),rR=i(3285),sR=i(2356),aR=i(6780),lR=i(8542),cR=i(8385),hR=i(1025),dR=i(2034),uR=i(8113),pR=i(1821),gR=i(7212),mR=i(2583),fR=i(5360),vR=i(2377),bR=i(2864),yR=i(7998),wR=i(4101),xR=i(7813),kR=i(5037),CR=i(7005),MR=i(9626),_R=i(9517),SR=i(1504),ER=i(3838),zR=i(4935),RR=i(7699),LR=i(3322),IR=i(5757),HR=i(536),TR=i(1673),AR=i(8736),OR=i(196),$R=i(5133),DR=i(6092),NR=i(791),PR=i(5927),jR=i(1802),VR=i(9511),BR=i(6267),FR=i(1072),WR=i(4331),UR=i(8644),GR=i(2704),YR=i(2419),qR=i(6363),ZR=i(5236),XR=i(3499),QR=i(3811),KR=i(1953),JR=i(4729),tL=i(8964),eL=i(8540),iL=i(8752),oL=i(8783),nL=i(8270),rL=i(7261),sL=i(9231),aL=i(4555),lL=i(5293),cL=i(6981),hL=i(5268),dL=i(2680),uL=i(789),pL=i(4373),gL=i(436),mL=i(8573),fL=i(1808),vL=i(3247),bL=i(5143),yL=i(2415),wL=i(2561),xL=i(5726),kL=i(7436),CL=i(4201),ML=i(8248),_L=i(6433),SL=i(2698),EL=i(979),zL=i(9358),RL=i(9176),LL=i(1239),IL=i(4218),HL=i(8377),TL=i(3740),AL=i(5379),OL=i(9974),$L=i(8955),DL=i(3559),NL=i(809),PL=i(8014),jL=i(8265),VL=i(3300),BL=i(8724),FL=i(8033),WL=i(7700),UL=i(5741),GL=i(3478),YL=i(512),qL=i(499),ZL=i(8680),XL=i(9646),QL=i(9432),KL=i(2841),JL=i(75),tI=i(9256),eI=i(444),iI=i(5633),oI=i(3788),nI=i(3573),rI=i(9948),sI=i(1836),aI=i(7029),lI=i(8532),cI=i(6639),hI=i(1633),dI=i(9805),uI=i(2171),pI=i(875),gI=i(9595),mI=i(3894),fI=i(2803),vI=i(7765),bI=i(8804),yI=i(8654),wI=i(257),xI=i(5844),kI=i(9651),CI=i(760),MI=i(9518),_I=i(4585),SI=i(1769),EI=i(643),zI=i(5156),RI=i(822),LI=i(8249),II=i(3434),HI=i(9314),TI=i(3093),AI=i(7721),OI=i(588),$I=i(7645),DI=i(7148),NI=i(6795),PI=i(7047),jI=i(9428),VI=i(1879),BI=i(9779),FI=i(2476),WI=i(9648),UI=i(2896),GI=i(6817),YI=i(5196),qI=i(2762),ZI=i(5981),XI=i(9014),QI=i(2611),KI=i(7946),JI=i(6301),tH=i(8020),eH=i(3987),iH=i(3192),oH=i(8796),nH=i(2489),rH=i(7324),sH=i(6069),aH=i(4155),lH=i(6977),cH=i(8055),hH=i(2653),dH=i(9492),uH=i(4334),pH=i(6804),gH=i(9954),mH=i(2211),fH=i(5211),vH=i(1519),bH=i(6204),yH=i(5501),wH=i(5244),xH=i(9742),kH=i(1552),CH=i(1330),MH=i(2596),_H=i(5184),SH=i(7675),EH=i(1513),zH=i(9396),RH=i(7673),LH=i(244),IH=i(1187),HH=i(1736),TH=i(4390),AH=i(7106),OH=i(2096),$H=i(9991),DH=i(5629),NH=i(3386),PH=i(6651),jH=i(1684),VH=i(3849),BH=i(2582),FH=i(8569),WH=i(2955),UH=i(9100),GH=i(7381),YH=i(9190),qH=i(4071),ZH=i(8e3),XH=i(4633),QH=i(4374),KH=i(486),JH=i(3680),tT=i(9999),eT=i(2830),iT=i(5255),oT=i(6021),nT=i(2214),rT=i(8497),sT=i(2052),aT=i(5327),lT=i(8701),cT=i(8722),hT=i(7325),dT=i(2445);const uT=[$z.mw,Dz.mw,Nz.mw,Pz.mw,jz.mw,Vz.mw,Bz.mw,Fz.mw,Wz.mw,Gz.mw,Uz.mw,Yz.mw,qz.mw,Zz.mw,Xz.mw,Qz.mw,Kz.mw,Jz.mw,tR.mw,eR.mw,iR.mw,oR.mw,nR.mw,rR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,MR.mw,SR.mw,_R.mw,ER.mw,zR.mw,RR.mw,LR.mw,IR.mw,HR.mw,TR.mw,AR.mw,OR.mw,$R.mw,DR.mw,NR.mw,jR.mw,VR.mw,BR.mw,FR.mw,WR.mw,UR.mw,GR.mw,YR.mw,qR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.mw,PR.mw,rL.mw,sL.mw,aL.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,SL.mw,EL.mw,zL.mw,RL.mw,LL.mw,IL.mw,HL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,VL.mw,BL.mw,FL.mw,WL.mw,UL.mw,dR.mw,GL.mw,YL.mw,qL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,nI.mw,rI.mw,aI.mw,sI.mw,cI.mw,lI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,vI.mw,bI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,RI.mw,II.mw,HI.mw,TI.mw,NI.mw,PI.mw,jI.mw,VI.mw,BI.mw,FI.mw,WI.mw,UI.mw,yI.mw,wI.mw,kI.mw,xI.mw,GI.mw,YI.mw,qI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,AI.mw,OI.mw,$I.mw,DI.mw,eH.mw,iH.mw,oH.mw,nH.mw,rH.mw,sH.mw,aH.mw,lH.mw,cH.mw,hH.mw,dH.mw,uH.mw,pH.mw,gH.mw,mH.mw,fH.mw,vH.mw,bH.mw,yH.mw,tH.mw,wH.mw,xH.mw,kH.mw,CH.mw,MH.mw,_H.mw,SH.mw,EH.mw,zH.mw,RH.mw,LH.mw,IH.mw,HH.mw,TH.mw,AH.mw,OH.mw,$H.mw,DH.mw,NH.mw,PH.mw,jH.mw,VH.mw,BH.mw,FH.mw,WH.mw,UH.mw,GH.mw,YH.mw,qH.mw,ZH.mw,XH.mw,QH.mw,KH.mw,JH.mw,tT.mw,eT.mw,iT.mw,oT.mw,nT.mw,rT.mw,sT.mw,LI.mw,aT.mw,lT.mw,cT.mw,hT.mw,dT.mw],pT={xlsx:j,charts:V},gT={name:"@omegagrid/bundle",version:"0.6.65"};va().activate("light"),Dh.styleDefault="fal",Nh.add(...uT)})(),window.Omegagrid=o})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/bundle",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.65",
|
|
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.
|
|
23
|
-
"@omegagrid/calendar": "^0.6.
|
|
24
|
-
"@omegagrid/code": "^0.6.
|
|
25
|
-
"@omegagrid/commands": "^0.6.
|
|
26
|
-
"@omegagrid/core": "^0.6.
|
|
27
|
-
"@omegagrid/dialog": "^0.6.
|
|
28
|
-
"@omegagrid/editor": "^0.6.
|
|
29
|
-
"@omegagrid/form": "^0.6.
|
|
30
|
-
"@omegagrid/grid": "^0.6.
|
|
31
|
-
"@omegagrid/localize": "^0.6.
|
|
32
|
-
"@omegagrid/markdown": "^0.6.
|
|
33
|
-
"@omegagrid/plugin-charts": "^0.6.
|
|
34
|
-
"@omegagrid/plugin-xlsx": "^0.6.
|
|
35
|
-
"@omegagrid/statusbar": "^0.6.
|
|
36
|
-
"@omegagrid/tabs": "^0.6.
|
|
37
|
-
"@omegagrid/toolbar": "^0.6.
|
|
38
|
-
"@omegagrid/tree": "^0.6.
|
|
22
|
+
"@omegagrid/bucket": "^0.6.65",
|
|
23
|
+
"@omegagrid/calendar": "^0.6.65",
|
|
24
|
+
"@omegagrid/code": "^0.6.65",
|
|
25
|
+
"@omegagrid/commands": "^0.6.65",
|
|
26
|
+
"@omegagrid/core": "^0.6.65",
|
|
27
|
+
"@omegagrid/dialog": "^0.6.65",
|
|
28
|
+
"@omegagrid/editor": "^0.6.65",
|
|
29
|
+
"@omegagrid/form": "^0.6.65",
|
|
30
|
+
"@omegagrid/grid": "^0.6.65",
|
|
31
|
+
"@omegagrid/localize": "^0.6.65",
|
|
32
|
+
"@omegagrid/markdown": "^0.6.65",
|
|
33
|
+
"@omegagrid/plugin-charts": "^0.6.65",
|
|
34
|
+
"@omegagrid/plugin-xlsx": "^0.6.65",
|
|
35
|
+
"@omegagrid/statusbar": "^0.6.65",
|
|
36
|
+
"@omegagrid/tabs": "^0.6.65",
|
|
37
|
+
"@omegagrid/toolbar": "^0.6.65",
|
|
38
|
+
"@omegagrid/tree": "^0.6.65",
|
|
39
39
|
"lit": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|