@omegagrid/bundle 0.6.104 → 0.6.106
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 +37 -27
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -2141,9 +2141,15 @@
|
|
|
2141
2141
|
<div id="body"></div>
|
|
2142
2142
|
<og-overlay defaultLoader></og-overlay>
|
|
2143
2143
|
`}layout(){this.component?.layout()}disconnectedCallback(){this.component?.removeEventListener("close",this._onClose)}async updated(t){if(t.has("componentId")&&this.componentId){this.showLoader();const t=await this.bucket.components.get(this.componentId);this.component=t,St(this.body),this.body.appendChild(t),t.addEventListener("close",this._onClose,{once:!0}),t.focus(),this.hideLoader()}}close(){this.bucket.sidebars.closeModalSidebar()}};function*Ug(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}}Wg.styles=[Bg],Fg([ps({type:String})],Wg.prototype,"caption",void 0),Fg([ps({type:Boolean})],Wg.prototype,"closable",void 0),Fg([ps({type:Object})],Wg.prototype,"bucket",void 0),Fg([ps({type:String})],Wg.prototype,"componentId",void 0),Fg([fs("#body")],Wg.prototype,"body",void 0),Fg([fs("og-overlay")],Wg.prototype,"overlay",void 0),Wg=Fg([hs("og-bucket-modal-sidebar")],Wg);var Gg=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 Yg extends Event{get segment(){return this.path[this.index]}constructor(t,e){super(`path.${t}`,{bubbles:!0,composed:!0}),e&&Object.assign(this,e)}}let qg=class extends ud{constructor(){super(...arguments),this.clickable=!1,this._onClick=t=>{const e=t.currentTarget.dataset.id;e&&this.dispatchEvent(new Yg("click",{path:this.path,index:this.path.findIndex((t=>t.id===e))}))},this.render=()=>Ug(ys(this.path,(t=>t.clickable?Br`
|
|
2144
|
-
<a @click="${this._onClick}" data-id="${t.id}"
|
|
2144
|
+
<a @click="${this._onClick}" data-id="${t.id}">
|
|
2145
|
+
${t.icon?Br`<og-icon .icon="${t.icon}"></og-icon>`:""}
|
|
2146
|
+
${t.label}
|
|
2147
|
+
</a>
|
|
2145
2148
|
`:Br`
|
|
2146
|
-
<span data-id="${t.id}"
|
|
2149
|
+
<span data-id="${t.id}">
|
|
2150
|
+
${t.icon?Br`<og-icon .icon="${t.icon}"></og-icon>`:""}
|
|
2151
|
+
${t.label}
|
|
2152
|
+
</span>
|
|
2147
2153
|
`)),Br`<span class="separator">/</span>`)}willUpdate(){this.path=this.path?.map((t=>{let e;return e=Z(t)?t:{id:t},e.label??(e.label=e.id),e.clickable??(e.clickable=this.clickable),e}))}};qg.styles=[ud.styles,or`
|
|
2148
2154
|
:host {
|
|
2149
2155
|
font-size: 10px;
|
|
@@ -2164,6 +2170,10 @@
|
|
|
2164
2170
|
a:hover {
|
|
2165
2171
|
text-decoration: underline;
|
|
2166
2172
|
}
|
|
2173
|
+
|
|
2174
|
+
og-icon {
|
|
2175
|
+
margin-right: -4px;
|
|
2176
|
+
}
|
|
2167
2177
|
`],Gg([ps({type:Array})],qg.prototype,"path",void 0),Gg([ps({type:Boolean})],qg.prototype,"clickable",void 0),qg=Gg([hs("og-bucket-path")],qg);class Zg{static init(t){Zg.monacoPath=t}static async get(){return this.monaco||(this.monaco=await this.load()),this.monaco}static getSync(){return this.monaco}static load(){if(!Yn.require)throw new Error("AMDLoader is not initialized");return Yn.require.config({paths:{vs:Zg.monacoPath}}),new Promise((t=>{Yn.require(["vs/editor/editor.main"],(()=>{t(self.monaco)}))}))}static async loadToIFrame(t){if(!Yn.require)throw new Error("AMDLoader is not initialized");const e=t.contentWindow;return e.monaco?e.monaco:(await qn.load(`${Zg.monacoPath}/loader.js`,t.contentDocument),e.require.config({paths:{vs:Zg.monacoPath}}),await new Promise((t=>{e.require(["vs/editor/editor.main"],(()=>{t(e.monaco)}))})))}}class Xg extends Event{constructor(t,e,i){super(`code.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.origEvent=i}}var Qg,Kg,Jg,tm,em,im,om,nm,rm,sm,am,lm=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},cm=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},hm=function(t,e,i,o,n){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?n.call(t,i):n?n.value=i:e.set(t,i),i};let dm=am=class extends ls{constructor(){super(...arguments),Qg.set(this,void 0),Kg.set(this,void 0),Jg.set(this,"typescript"),tm.set(this,!1),em.set(this,0),im.set(this,void 0),om.set(this,void 0),nm.set(this,void 0),rm.set(this,void 0),sm.set(this,(()=>{cm(this,Qg,"f").updateOptions({theme:this.theme})})),this.getOptions=()=>({...this.options,theme:this.theme,language:cm(this,Jg,"f"),fontSize:Bn().fontSize,fontLigatures:""})}get monaco(){return am.monaco}get editor(){return cm(this,Qg,"f")}get model(){return cm(this,Qg,"f")?.getModel()}get options(){return cm(this,Kg,"f")}set options(t){hm(this,Kg,t,"f"),cm(this,Qg,"f")?.updateOptions(t)}get content(){return cm(this,Qg,"f")?cm(this,Qg,"f").getValue():cm(this,im,"f")}set content(t){null==t&&(t=""),cm(this,Qg,"f")?(hm(this,tm,!0,"f"),cm(this,Qg,"f")?.setValue(t)):hm(this,im,t,"f")}get language(){return cm(this,Jg,"f")}set language(t){hm(this,Jg,t,"f"),this.model&&Zg.get().then((e=>e.editor.setModelLanguage(this.model,t)))}get selectedContent(){if(!cm(this,Qg,"f"))return cm(this,im,"f");const t=cm(this,Qg,"f").getSelections().map((t=>this.model.getValueInRange(t))).join("\n").trim();return null==t||""==t?cm(this,Qg,"f").getValue():t}get container(){return cm(this,rm,"f")??hm(this,rm,yt("div"),"f")}get theme(){return"light"==wa().activeTheme?.type?"vs":"vs-dark"}showContainer(){this.container.parentElement!==document.body&&document.body.appendChild(this.container)}hideContainer(){cm(this,rm,"f")?.remove()}async initEditor(){if(cm(this,em,"f")>0)return;hm(this,em,1,"f"),am.monaco=await Zg.get(),hm(this,Qg,am.monaco.editor.create(this.container,this.getOptions()),"f");const t=cm(this,Jg,"f"),e=am.monaco.editor.createModel(cm(this,im,"f"),t);cm(this,Qg,"f").setModel(e),cm(this,om,"f")&&cm(this,Qg,"f").setSelection(cm(this,om,"f")),cm(this,nm,"f")&&cm(this,Qg,"f").setScrollPosition({scrollTop:cm(this,nm,"f").top,scrollLeft:cm(this,nm,"f").left}),cm(this,Qg,"f").onDidBlurEditorText((()=>{this.dispatchEvent(new Xg("blur",{editor:cm(this,Qg,"f")}))})),cm(this,Qg,"f").onDidChangeModelContent((t=>{cm(this,tm,"f")?hm(this,tm,!1,"f"):(this.dispatchEvent(new Xg("change",{editor:cm(this,Qg,"f"),changes:t.changes})),this.dispatchEvent(new On({value:e})))})),cm(this,Qg,"f").onKeyDown((t=>{this.dispatchEvent(new Xg("keydown",{editor:cm(this,Qg,"f")},t.browserEvent))})),hm(this,tm,!1,"f"),hm(this,em,2,"f"),this.dispatchEvent(new Xg("ready",{editor:cm(this,Qg,"f")})),cm(this,Qg,"f").focus(),setTimeout((()=>{cm(this,Jg,"f")!=t&&am.monaco.editor.setModelLanguage(e,cm(this,Jg,"f"))}),100)}async updated(){await this.initEditor(),this.layout()}connectedCallback(){super.connectedCallback(),wa().addEventListener("change",cm(this,sm,"f")),this.hasUpdated&&(this.initEditor(),this.layout())}disconnectedCallback(){wa().removeEventListener("change",cm(this,sm,"f")),this.hideContainer()}layout(){if(!this.isConnected||this.clientWidth<10||this.clientHeight<10)return void this.hideContainer();this.showContainer();const t=Ht(this,document.body);jt(this.container,{t:t.top+1,l:t.left+1}),Dt(this.container,{w:this.clientWidth-1,h:this.clientHeight-1}),this.editor?.layout()}dispose(){cm(this,rm,"f")?.remove(),hm(this,rm,null,"f"),cm(this,Qg,"f")?.dispose(),hm(this,Qg,null,"f"),hm(this,em,0,"f")}focus(){cm(this,Qg,"f")?.focus()}};Qg=new WeakMap,Kg=new WeakMap,Jg=new WeakMap,tm=new WeakMap,em=new WeakMap,im=new WeakMap,om=new WeakMap,nm=new WeakMap,rm=new WeakMap,sm=new WeakMap,dm.styles=or`
|
|
2168
2178
|
:host {
|
|
2169
2179
|
user-select: text;
|
|
@@ -6935,28 +6945,32 @@ milkdown-block-handle {
|
|
|
6935
6945
|
flex-direction: row;
|
|
6936
6946
|
height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6937
6947
|
}
|
|
6938
|
-
`],$E([ps({type:Object})],DE.prototype,"item",void 0),$E([ps({type:String})],DE.prototype,"value",void 0),DE=$E([hs("og-toolbar-customdropdown")],DE);var NE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let PE=class extends ls{constructor(){super(...arguments),this.gridRef=Zh(),this.dropdownRef=Zh(),this.mode="button",this.render=()=>Br`
|
|
6948
|
+
`],$E([ps({type:Object})],DE.prototype,"item",void 0),$E([ps({type:String})],DE.prototype,"value",void 0),DE=$E([hs("og-toolbar-customdropdown")],DE);var NE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let PE=class extends ls{constructor(){super(...arguments),this.gridRef=Zh(),this.treeRef=Zh(),this.dropdownRef=Zh(),this.mode="button",this.render=()=>Br`
|
|
6939
6949
|
${"button"==this.mode?Br`
|
|
6940
6950
|
<og-toolbar-button
|
|
6941
|
-
|
|
6942
|
-
style="min-width: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px; flex: 0"
|
|
6943
|
-
color="gray"
|
|
6944
|
-
.item="${this.currentItem}">
|
|
6951
|
+
.item="${this.isGridDropdown?this.currentItem:this.item}">
|
|
6945
6952
|
</og-toolbar-button>
|
|
6946
6953
|
`:null}
|
|
6947
6954
|
|
|
6948
6955
|
<og-dropdown ${Kh(this.dropdownRef)}
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6956
|
+
.alignment="${this.isGridDropdown?"left":"right"}"
|
|
6957
|
+
.width="${this.isGridDropdown?0:this.item.width}"
|
|
6958
|
+
.color="${this.item.color||"gray"}"
|
|
6952
6959
|
.icon="${"button"==this.mode?null:this.item.icon}"
|
|
6953
|
-
positionOffset="${
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6960
|
+
.positionOffset="${this.isGridDropdown?-EE.TOOLBAR_COMPONENT_SIZE_BASE:0}">
|
|
6961
|
+
${this.isGridDropdown?Br`
|
|
6962
|
+
<og-toolbar-grid ${Kh(this.gridRef)}
|
|
6963
|
+
slot="content"
|
|
6964
|
+
.items="${this.item.items}">
|
|
6965
|
+
</og-toolbar-grid>
|
|
6966
|
+
`:Br`
|
|
6967
|
+
<og-tree ${Kh(this.treeRef)}
|
|
6968
|
+
maxHeight="300"
|
|
6969
|
+
slot="content">
|
|
6970
|
+
</og-tree>
|
|
6971
|
+
`}
|
|
6958
6972
|
</og-dropdown>
|
|
6959
|
-
`}get grid(){return this.gridRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options?.mode&&(this.mode=this.item.options.mode)}firstUpdated(){Rt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Rt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,Ln(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Ln(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Ln(this,"toolbar",t.action)})),this.button?.addEventListener("click",(()=>{Ln(this,"toolbar",{type:"select",key:this.currentItem.id,value:this.currentItem.value})})),this.dropdown.addEventListener("mousedown",(t=>{t.stopPropagation()}))}};PE.styles=[or`
|
|
6973
|
+
`}get grid(){return this.gridRef.value}get tree(){return this.treeRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options?.mode&&(this.mode=this.item.options.mode)}firstUpdated(){if(this.grid){Rt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Rt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,Ln(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Ln(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Ln(this,"toolbar",t.action)}))}else this.tree.setSourceData(this.item.items||[],{checkboxes:!1}),this.tree.addEventListener("select",(t=>{this.dropdown.close(),Ln(this,"toolbar",{type:"select",key:t.node.key,value:t.node.value})}));this.button?.addEventListener("click",(()=>{Ln(this,"toolbar",{type:"select",key:(this.currentItem||this.item).id,value:(this.currentItem||this.item).value})})),this.dropdown.addEventListener("mousedown",(t=>{t.stopPropagation()}))}get isGridDropdown(){return this.item?.items&&Array.isArray(this.item.items[0])&&this.item.items[0].length>1}};PE.styles=[or`
|
|
6960
6974
|
:host {
|
|
6961
6975
|
display: flex;
|
|
6962
6976
|
flex-direction: row;
|
|
@@ -6964,23 +6978,18 @@ milkdown-block-handle {
|
|
|
6964
6978
|
}
|
|
6965
6979
|
|
|
6966
6980
|
og-toolbar-button {
|
|
6981
|
+
flex: 1;
|
|
6967
6982
|
border-top-right-radius: 0;
|
|
6968
6983
|
border-bottom-right-radius: 0;
|
|
6984
|
+
min-width: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6969
6985
|
}
|
|
6970
6986
|
|
|
6971
6987
|
og-toolbar-button+og-dropdown {
|
|
6988
|
+
flex: 0 0 14px;
|
|
6989
|
+
max-width: 14px;
|
|
6972
6990
|
border-top-left-radius: 0;
|
|
6973
6991
|
border-bottom-left-radius: 0;
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
og-button {
|
|
6977
|
-
box-sizing: border-box;
|
|
6978
|
-
display: block;
|
|
6979
|
-
width: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6980
|
-
height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6981
|
-
max-height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6982
|
-
line-height: ${EE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
6983
|
-
padding: 0;
|
|
6992
|
+
border-left: none;
|
|
6984
6993
|
}
|
|
6985
6994
|
`],NE([fs("og-toolbar-button")],PE.prototype,"button",void 0),NE([ps({type:Object})],PE.prototype,"item",void 0),NE([ps({type:Object})],PE.prototype,"currentItem",void 0),NE([ps({type:String})],PE.prototype,"mode",void 0),PE=NE([hs("og-toolbar-dropdownbutton")],PE);var jE=function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};let VE=class extends Fd{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=Js.Gray,this.label=this.item.caption??this.item.text,this.noCaret=!1,this.items=this.item.items||[]}constructor(){super(),this.addEventListener("menu.select",(t=>{Ln(this,"toolbar",{type:"select",key:(t.item.key??t.item.k)?.toString(),value:(t.item.value??t.item.v)?.toString()})}))}};VE.styles=[...Fd.styles,or`
|
|
6986
6995
|
:host {
|
|
@@ -7097,6 +7106,7 @@ milkdown-block-handle {
|
|
|
7097
7106
|
og-button+og-dropdown {
|
|
7098
7107
|
border-top-left-radius: 0;
|
|
7099
7108
|
border-bottom-left-radius: 0;
|
|
7109
|
+
border-left: none;
|
|
7100
7110
|
}
|
|
7101
7111
|
`],GE([ps({type:Object})],YE.prototype,"item",void 0),GE([ps({type:String})],YE.prototype,"value",void 0),GE([fs("og-dropdown")],YE.prototype,"dropdown",void 0),GE([fs("#btnContent")],YE.prototype,"btnContent",void 0),YE=GE([hs("og-toolbar-colorpicker")],YE);class qE{static init(t){this.path=t}static async get(){return this.xlsx||(this.xlsx=await this.load()),this.xlsx}static getSync(){return this.xlsx}static load(){if(!Yn.require)throw new Error("AMDLoader is not initialized");return Yn.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>Yn.require(["xlsx"],(()=>t(self.XLSX)))))}}const ZE="aaaaaa",XE={bottom:{style:"thin",color:ZE},top:{style:"thin",color:ZE},right:{style:"thin",color:ZE},left:{style:"thin",color:ZE}},QE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},KE={alignment:{vertical:"center",horizontal:"center"},bold:!0},JE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function tz(t,e){return(e.exportHiddenColumns?t.columns:t.visibleColumns).map((e=>({level:e.level,wpx:e.width,hidden:null==e.visibleIndex||t.visibleColumns[e.visibleIndex]!=e})))}function ez(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,n=new Array(i.length+o);return[...Array(o).keys()].map((t=>n[t]={level:0})),i.map(((e,i)=>n[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),n}function iz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,n=[];return t.merges.mergedCells.forEach((t=>{n.push({s:{c:o(t),r:t.r+i},e:{c:o(t)+t.cs-1,r:t.r+i+t.rs-1}})})),t.mergedHeaders.forEach((t=>{t.h?.hidden||n.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),n}function oz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,n=az(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],r={t:o?"s":"z",s:KE};return o&&(o.html?r.h=`<span>${o.label}</span>`:null!=o.label?r.v=o.label:r.t="z"),n&&(r.s||(r.s={}),r.s=Object.assign({},n,r.s)),null!=o._style&&(r.s=Object.assign({},r.s,sz(t.styles.get(o._style)))),r}))))}function nz(t){return{rgb:t}}function rz(t){return"none"==t.style?null:{style:t.style,color:nz(t.color)}}function sz(t){const e={};return t.color&&(e.color=nz(t.color)),t.bgColor&&(e.bgColor=nz(t.bgColor)),t.fgColor&&(e.fgColor=nz(t.fgColor)),t.patternType&&(e.patternType=t.patternType),t.alignment&&(e.alignment=t.alignment),null!=t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),null!=t.angle&&(e.angle=t.angle),t.stops&&(e.stops=t.stops.map((t=>({v:t.v,rgb:t.rgb})))),e}function az(t){const e=!0===t.defaultBorders?XE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=rz(t.bottom)),t.top&&(e.top=rz(t.top)),t.right&&(e.right=rz(t.right)),t.left&&(e.left=rz(t.left)),e}(e):null}function lz(t,e){e=pz(e);const i=t.headerCount,o=new Cw(t),n=new Array(i+t.rows.length),r=new Map,s=az(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;oz(t,e).forEach(((t,e)=>n[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>n[e+i]=h.map((e=>{const n=t.cell(e.index),c=JE[n.type],h={t:n.hasValue?c:"z"};n.hasFormula?(h.f=i>0?o.getFormula(n).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(n).toExcelString():n.formula,"d"==n.type&&(h.t="n",h.z=n.format??a)):n.hasValue&&!n.isSpilled&&("s"==h.t?h.v=l?n.formattedValue.toString():n.value.toString():"z"!=h.t&&(h.v=n.value),"g"==n.type?h.t=Q(h.v)?"s":"n":"d"==n.type&&tt(h.v)&&(h.t="n"));const d=n.composedStyle;if(d&&(r.has(d.id)||r.set(d.id,sz(d)),h.s={...r.get(d.id)}),function(t,e){const i=t.calculatedIndent;i>0&&(e.s||(e.s={}),e.s.alignment||(e.s.alignment={}),e.s.alignment.indent=i)}(n,h),n.hasComment){const t=n.model.comments.get(n.address);h.c=t.filter((t=>(t.text??"").length>0)).map((t=>({a:t.author?t.author.name??t.author.id:"",t:t.text}))),h.c.hidden=!0}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=n.format??("d"==h.t?a:"General")),s&&(h.s||(h.s={}),h.s=Object.assign({},s,h.s)),h})))),n}function cz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:nz(t.color)}:null}function hz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:fv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&iv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?sz(t.style):null,stop:t.stop,cmin:cz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?cz(t.cmid,{v:50,t:"percentile"}):null,cmax:cz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:nz(t.color),v:t.v,thresh:t.thresh})))}function dz(t){return null==t.options.rowTree.reversed?t.rows.length<2?"above":t.rows[0].level>t.rows[1].level?"below":"above":t.options.rowTree.reversed?"below":"above"}function uz(t){return null==t.options.columnTree.reversed?t.columns.length<2?"left":t.columns[0].level>t.columns[1].level?"right":"left":t.options.columnTree.reversed?"right":"left"}const pz=t=>{const e=Object.assign({},QE,t);return e.defaultBorders&&(e.defaultBorders=XE),e},gz=t=>t/25.4;function mz(t){return t?{top:gz(t.top),bottom:gz(t.bottom),left:gz(t.left),right:gz(t.right),header:gz(t.header),footer:gz(t.footer)}:null}function fz(t,e){e=pz(e);const i={};return i["!cols"]=tz(t,e),i["!rows"]=ez(t,e),i["!merges"]=iz(t,e),i["!condfmt"]=hz(t),i["!outline"]={above:"above"==dz(t),left:"left"==uz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${yv(t.options.freezeLeft)}${t.headerCount+t.options.freezeTop+1}`:t.headerCount>0&&(i["!freeze"]=`A${t.headerCount+1}`),i["!gridlines"]=e.gridLines,i["!print"]=function(t,e){const i=t.options.print??{},o={props:{}};o.props.scale=i.scale?i.scale:function(t){const e=t.options.print??{},i=Q(e.paper)?Nn[e.paper]??Nn.A4:e.paper,o=gz(i.width-e.margins.left-e.margins.right),n=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/n*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=mz(i.margins));const n=i.rowBreaks;if(n?.length>0){o.rowBreaks=n.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?fv.fromA1(t.options?.print?.rowTitles):null;i&&(o.titles={s:{r:i.r1,c:-1},e:{r:i.r2,c:-1}})}return o}(t,e),i}async function vz(t,e){const i=qE.get(),o=i instanceof Promise?await i:i;e=pz(e);const n=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const r={...e,...t.exportOptions},s=o.utils.sheet_add_aoa(fz(t,r),lz(t,r));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(n,s,a)})),n.Workbook=n.Workbook||{},t.forEach((t=>{const e=n.SheetNames.indexOf(t.name);e<0||(n.Workbook.Sheets||(n.Workbook.Sheets=[]),n.Workbook.Sheets[e]||(n.Workbook.Sheets[e]={}),t.tab?.hidden&&(n.Workbook.Sheets[e].Hidden=1))})),n}async function bz(t,e=null){const i=qE.get(),o=i instanceof Promise?await i:i;return e?o.writeFile(t,e,{cellStyles:!0,bookSST:!0}):o.writeXLSX(t,{cellStyles:!0,bookSST:!0,type:"buffer"})}const yz={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function wz(t){return t.rgb}function xz(t){return{color:wz(t.color),style:t.style}}function kz(t){const e={};return t.color&&(e.color=wz(t.color)),t.bgColor&&(e.bgColor=wz(t.bgColor)),t.fgColor&&(e.fgColor=wz(t.fgColor)),e.fgColor||"000000"!=e.color||(e.color=null),t.alignment&&(e.alignment=t.alignment),t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.top&&(e.top=xz(t.top)),t.bottom&&(e.bottom=xz(t.bottom)),t.left&&(e.left=xz(t.left)),t.right&&(e.right=xz(t.right)),e}function Cz(t,e){const i=t["!ref"]?fv.fromA1(t["!ref"]):fv.fromA1("A1:T100"),o={},n={};if(t["!freeze"]){const e=fv.fromA1(t["!freeze"]);n.freezeLeft=e.c1,n.freezeTop=e.r1}return o.options=n,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,h:n?n.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let n;for(let t=0;t<e;t++)n=i[t],o[t]={l:(n?n.level:0)||0,w:n?n.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new fv(t.s.c,t.s.r);i.set(e.A1,{c:t.s.c,cs:t.e.c-t.s.c+1,r:t.s.r,rs:t.e.r-t.s.r+1})}));for(const o in t){if("!"==o[0])continue;const n=t[o],r=fv.fromA1(o),s={r:r.r1,c:r.c1,t:yz[n.t]},a=i.get(o);a&&(s.cs=a.cs,s.rs=a.rs),n.s&&(s.s=kz(n.s)),n.f?s.f=Lv(n.f):s.v=n.v,["n","d"].includes(n.t)&&null!=n.z&&"General"!=n.z&&(s.z=rn(n.z,"d")),e.push(s)}return e}(t),o.names=e,o.rules=function(t){return t["!condfmt"]?.filter((t=>["formula","scale","bar"].includes(t.t))).map((t=>{const e={type:t.t,ranges:t.ref.toString().replace(/\s/g,";")};return e.style=t.s?kz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?wz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?wz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?wz(t.cmax.color):null}:null,e.color=t.color?wz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Mz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,n]=i.split("!");if(!n)return;let r=e.get(o);r||e.set(o,r=[]);const s=fv.fromA1(n);s.c1Anchor&&!s.r1Anchor?(s.r1=0,s.r2=1/0):!s.c1Anchor&&s.r1Anchor&&(s.c1=0,s.c2=1/0),s.removeAnchors(),r.push({name:t,ref:s.A1})})),e}async function _z(t,e){return performance.mark("start_import"),Ez(await t.arrayBuffer(),e)}function Sz(t){const e=Mz(t);performance.mark("sheets_start");const i={models:[],layout:{items:[{tabs:[]}]}};for(const o in t.Sheets)performance.mark(`sheet_start_${o}`),i.layout.items[0].tabs.push({id:o}),i.models.push({...Cz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Ez(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await qE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Sz(o)}class zz extends md{init(t){qE.get(),t.commands.register({section:"plugin",name:"export xlsx",fn:async()=>{const e=t.getGridContainer().model.models;bz(await vz(Array.from(e,(t=>t[1]))),"export.xlsx")}}),t.addEventListener("drop",(async e=>{if(e.preventDefault(),e.dataTransfer.files.length){const i=e.dataTransfer.files[0];t.setSourceData(await _z(i))}}))}}zz.pluginName="xlsx";class Rz{get dataRange(){return this._dataRange}set dataRange(t){this._dataRange=t,this.invalidateData()}get seriesRange(){return this._seriesRange}set seriesRange(t){this._seriesRange=t,this.invalidateData()}get categoriesRange(){return this._categoriesRange}set categoriesRange(t){this._categoriesRange=t,this.invalidateData()}get title(){return this._title}set title(t){this._title=t,this.invalidateData()}get size(){return this._size}set size(t){this._size=t}get location(){return this._location}set location(t){this._location=t,this.invalidateData()}get type(){return this._type}set type(t){this._type=t,this.invalidateData()}get grouping(){return this._grouping}set grouping(t){this._grouping=t,this.invalidateData()}get datasheetName(){return this.dataRange?.sheet}get dependencies(){if(this._dependencies)return this._dependencies;if(this._dependencies=new Set,this.seriesRange)for(const t of this.seriesRange.cells())this._dependencies.add(t.A1);if(this.categoriesRange)for(const t of this.categoriesRange.cells())this._dependencies.add(t.A1);if(this.dataRange)for(const t of this.dataRange.cells())this._dependencies.add(t.A1);return this._dependencies}invalidateData(){this._options=void 0,this._dependencies=void 0}constructor(t,e){this.model=t,this._inverted=!1,this.populate(e),this.init()}populate(t){this._dataRange=fv.fromA1(t.dataRange),this._title=t.title,this._size=t.size,this._location=t.location,this._type=t.type,this._grouping=t.grouping,this.zIndex=t.zIndex,t.seriesRange&&(this._seriesRange=fv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=fv.fromA1(t.categoriesRange))}getSourceData(){return{dataRange:this.dataRange.A1,seriesRange:this.seriesRange?.A1,categoriesRange:this.categoriesRange?.A1,title:this.title,size:this.size,location:this.location,type:this.type,grouping:this.grouping,zIndex:this.zIndex}}getSeriesData(t,e){return t.map(((t,i)=>{return{type:this.type,name:e[i],stacking:(o=this.grouping,"stacked"===o?"normal":"percentStacked"===o?"percent":void 0),data:t.map((t=>({y:t})))};var o}))}init(){if(this._options)return this._options;let t,e,i=this.model.getValueMatrix(this.dataRange);this.seriesRange&&(this._inverted=this.seriesRange.isColumn,t=this.model.getValueMatrix(this.seriesRange).flat()),this.categoriesRange&&(this._inverted=this.seriesRange.isRow,e=this.model.getValueMatrix(this.categoriesRange).flat()),this._inverted||(i=Tn(i));const o=i.length,n=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:n},((t,e)=>(e+1).toString()))),this._options={plotOptions:{},series:this.getSeriesData(i,t),xAxis:{categories:e}},"pie"==this.type&&(this._options.plotOptions.pie={dataLabels:{enabled:!1},showInLegend:!0},this._options.series[0].data.forEach(((t,i)=>{t.name=e[i]})),this._options.series=[this._options.series[0]]),this._options}getOptions(){return this._options||this.init(),this._options}}class Lz extends md{constructor(){super(...arguments),this.charts=new Map,this.dependencies=new Map,this.grids=new Set,this.getChartFactory=t=>()=>{const e=yt("og-plugin-chart");return e.model=t,this.charts.set(t.index,e),e},this._onEdit=t=>{const e=this.getAffectedModels(t.grid.model.name,t.cells.map((t=>t.address)));e.forEach((t=>this.charts.get(t)?.refresh()))}}get models(){return this.grid.model.otherModels[Lz.pluginName]}getChartByModel(t){return this.charts.get(t.index)}getAffectedModels(t,e){const i=new Set;return e.forEach((e=>{const o=this.dependencies.get(t)?.get(e);o&&o.forEach((t=>i.add(t)))})),Array.from(i)}addModel(t){const e=new Rz(this.grid.model,t);e.index=this.models.size;const i=e.datasheetName||this.grid.model.name,o=this.dependencies.get(i)??new Map;if(this.dependencies.set(i,o),null==e.title&&(e.title=`Chart #${this.models.size+1}`),e.dependencies.forEach((t=>{const i=o.get(t)||[];i.push(e.index),o.set(t,i)})),this.models.add(e),this.grid.objects.add({model:e,createComponent:this.getChartFactory(e)}),i){const t=this.grid.getConnectedGrid(i);this.grids.has(t)||(t.addEventListener("grid.edit",this._onEdit),this.grids.add(t))}return e}clear(){this.models.clear(),this.charts=new Map,this.dependencies=new Map}init(t){this.grid=t,t.model.otherModels[Lz.pluginName]=new Set,t.addEventListener("grid.loadmodel",(t=>{this.clear(),t.grid.model.otherSourceData.charts&&t.grid.model.otherSourceData.charts.forEach((t=>this.addModel(t)))})),t.addEventListener("grid.edit",this._onEdit),this.grids.add(t)}}Lz.pluginName="charts";class Iz extends md{constructor(){super(...arguments),this._onModelChange=t=>{this.getGridByModel(t.value).plugins.get("charts").getChartByModel(t.value).refresh()},this.openSidebar=()=>this.editor.rightSidebarComponent="charts",this.closeSidebar=()=>this.editor.rightSidebarComponent=null,this.toggleSidebar=(t=null)=>!1===(t??!1)||"charts"==this.editor.rightSidebarComponent?this.closeSidebar():this.openSidebar()}get editor(){return this._editor}getGridByModel(t){return this.editor.group.getGridByModel(t.model)}init(t){this._editor=t;const e=t.createComponent;t.createComponent=t=>"charts"===t?(this.chartList||(this.chartList=yt("og-plugin-chart-list"),this.chartList.addEventListener("change",this._onModelChange)),this.chartList.filter=this._filter,this._filter=null,this.chartList):e?e(t):null,t.addEventListener("editor.toolbar.init",(()=>{const e=t.toolbar.toolbar3Config.slice(),i=e.findIndex((t=>"sparklines"===t.id))||0;e.splice(i,0,{type:"togglebutton",id:"charts",icon:{icon:"chart-column"},title:"Charts"}),t.toolbar.toolbar3Config=e})),t.addEventListener("editor.toolbar.action",(t=>{"charts"===t.action.key&&this.toggleSidebar()})),t.addEventListener("grid.init",(t=>{t.grid.plugins.register(new Lz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof Rz&&(this.openSidebar(),this.chartList?this.chartList.filter=t.object.title:this._filter=t.object.title)})),t.addEventListener("grid.object.deactivate",(()=>{this.chartList&&(this.chartList.filter=null)}))}}Iz.pluginName="chartEditor";class Hz{static init(t){"string"==typeof t?Hz.path=t:Hz.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){if(Hz.highcharts)return Hz.highcharts;const t=window.define;return window.define=void 0,new Promise(((e,i)=>qn.load(`${this.path}/highcharts.js`).then((()=>{window.Highcharts?(Hz.highcharts=window.Highcharts,e(window.Highcharts)):i("Failed to load Highcharts")})).catch((t=>{console.error("Failed to load Highcharts",t),i(t)})).then((()=>{window.define=t}))))}}const Tz={chart:{styledMode:!0}};async function Az(t){const e=await Hz.get(),i={chart:{type:"column",reflow:!1},title:{text:t.title},series:[{type:"column",name:"Corn",data:[387749,28e4,129e3,64300,54e3,34300]},{type:"column",name:"Wheat",data:[45321,14e4,1e4,140500,19500,113500]}]};return e.merge(i,t.getOptions())}async function Oz(t,e){const i=await Hz.get(),o=await Az(t);return i.chart(e,i.merge(o,Tz,{chart:{}}))}const $z=or`
|
|
7102
7112
|
* {
|
|
@@ -8448,4 +8458,4 @@ milkdown-block-handle {
|
|
|
8448
8458
|
`:null}
|
|
8449
8459
|
</div>
|
|
8450
8460
|
</og-panel>
|
|
8451
|
-
`: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?fv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?fv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=fv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new On({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Uz.styles=[Fz],Wz([ps({type:Object})],Uz.prototype,"model",void 0),Wz([gs()],Uz.prototype,"editTitle",void 0),Wz([fs("#title")],Uz.prototype,"titleInput",void 0),Wz([fs("#type")],Uz.prototype,"typeList",void 0),Wz([fs("#dataRange")],Uz.prototype,"dataRangeInput",void 0),Wz([fs("#seriesRange")],Uz.prototype,"seriesRangeInput",void 0),Wz([fs("#categoryRange")],Uz.prototype,"categoryRangeInput",void 0),Uz=Wz([hs("og-plugin-chart-form")],Uz);const Gz=wa().themes.get("dark");Object.assign(Gz.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 Yz=wa().themes.get("light");Object.assign(Yz.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 qz=i(2439),Zz=i(8022),Xz=i(6158),Qz=i(127),Kz=i(4505),Jz=i(8659),tR=i(397),eR=i(930),iR=i(9723),oR=i(6343),nR=i(4582),rR=i(6127),sR=i(8238),aR=i(7362),lR=i(452),cR=i(5390),hR=i(3368),dR=i(6288),uR=i(7513),pR=i(1386),gR=i(5764),mR=i(1261),fR=i(3071),vR=i(3285),bR=i(2356),yR=i(6780),wR=i(8542),xR=i(8385),kR=i(1025),CR=i(2034),MR=i(8113),_R=i(1821),SR=i(7212),ER=i(2583),zR=i(5360),RR=i(2377),LR=i(2864),IR=i(7998),HR=i(4101),TR=i(7813),AR=i(5037),OR=i(7005),$R=i(9626),DR=i(9517),NR=i(1504),PR=i(3838),jR=i(4935),VR=i(7699),BR=i(3322),FR=i(5757),WR=i(536),UR=i(1673),GR=i(8736),YR=i(196),qR=i(5133),ZR=i(6092),XR=i(791),QR=i(5927),KR=i(1802),JR=i(9511),tL=i(6267),eL=i(1072),iL=i(4331),oL=i(8644),nL=i(2704),rL=i(2419),sL=i(6363),aL=i(5236),lL=i(3499),cL=i(3811),hL=i(1953),dL=i(4729),uL=i(8964),pL=i(8540),gL=i(8752),mL=i(8783),fL=i(8270),vL=i(7261),bL=i(9231),yL=i(4555),wL=i(5293),xL=i(6981),kL=i(5268),CL=i(2680),ML=i(789),_L=i(4373),SL=i(436),EL=i(8573),zL=i(1808),RL=i(3247),LL=i(5143),IL=i(2415),HL=i(2561),TL=i(5726),AL=i(7436),OL=i(4201),$L=i(8248),DL=i(6433),NL=i(2698),PL=i(979),jL=i(9358),VL=i(9176),BL=i(1239),FL=i(4218),WL=i(8377),UL=i(3740),GL=i(5379),YL=i(9974),qL=i(8955),ZL=i(3559),XL=i(809),QL=i(8014),KL=i(8265),JL=i(3300),tI=i(8724),eI=i(8033),iI=i(7700),oI=i(5741),nI=i(3478),rI=i(512),sI=i(499),aI=i(8680),lI=i(9646),cI=i(9432),hI=i(2841),dI=i(75),uI=i(9256),pI=i(444),gI=i(5633),mI=i(3788),fI=i(3573),vI=i(9948),bI=i(1836),yI=i(7029),wI=i(8532),xI=i(6639),kI=i(1633),CI=i(9805),MI=i(2171),_I=i(875),SI=i(9595),EI=i(3894),zI=i(2803),RI=i(7765),LI=i(8804),II=i(8654),HI=i(257),TI=i(5844),AI=i(9651),OI=i(760),$I=i(9518),DI=i(4585),NI=i(1769),PI=i(643),jI=i(5156),VI=i(822),BI=i(8249),FI=i(3434),WI=i(9314),UI=i(3093),GI=i(7721),YI=i(588),qI=i(7645),ZI=i(7148),XI=i(6795),QI=i(7047),KI=i(9428),JI=i(1879),tH=i(9779),eH=i(2476),iH=i(9648),oH=i(2896),nH=i(6817),rH=i(5196),sH=i(2762),aH=i(5981),lH=i(9014),cH=i(2611),hH=i(7946),dH=i(6301),uH=i(8020),pH=i(3987),gH=i(3192),mH=i(8796),fH=i(2489),vH=i(7324),bH=i(6069),yH=i(4155),wH=i(6977),xH=i(8055),kH=i(2653),CH=i(9492),MH=i(4334),_H=i(6804),SH=i(9954),EH=i(2211),zH=i(5211),RH=i(1519),LH=i(6204),IH=i(5501),HH=i(5244),TH=i(9742),AH=i(1552),OH=i(1330),$H=i(2596),DH=i(5184),NH=i(7675),PH=i(1513),jH=i(9396),VH=i(7673),BH=i(244),FH=i(1187),WH=i(1736),UH=i(4390),GH=i(7106),YH=i(2096),qH=i(9991),ZH=i(5629),XH=i(3386),QH=i(6651),KH=i(1684),JH=i(3849),tT=i(2582),eT=i(8569),iT=i(2955),oT=i(9100),nT=i(7381),rT=i(9190),sT=i(4071),aT=i(8e3),lT=i(4633),cT=i(4374),hT=i(486),dT=i(3680),uT=i(9999),pT=i(2830),gT=i(5255),mT=i(6021),fT=i(2214),vT=i(8497),bT=i(2052),yT=i(5327),wT=i(8701),xT=i(8722),kT=i(7325),CT=i(2445);const MT=[qz.mw,Zz.mw,Xz.mw,Qz.mw,Kz.mw,Jz.mw,tR.mw,eR.mw,iR.mw,nR.mw,oR.mw,rR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,RR.mw,LR.mw,IR.mw,HR.mw,TR.mw,AR.mw,OR.mw,$R.mw,NR.mw,DR.mw,PR.mw,jR.mw,VR.mw,BR.mw,FR.mw,WR.mw,UR.mw,GR.mw,YR.mw,qR.mw,ZR.mw,XR.mw,KR.mw,JR.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.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,QR.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,GL.mw,YL.mw,qL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,CR.mw,nI.mw,rI.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,yI.mw,bI.mw,xI.mw,wI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,RI.mw,LI.mw,OI.mw,$I.mw,DI.mw,NI.mw,PI.mw,jI.mw,VI.mw,FI.mw,WI.mw,UI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tH.mw,eH.mw,iH.mw,oH.mw,II.mw,HI.mw,AI.mw,TI.mw,nH.mw,rH.mw,sH.mw,aH.mw,lH.mw,cH.mw,hH.mw,dH.mw,GI.mw,YI.mw,qI.mw,ZI.mw,pH.mw,gH.mw,mH.mw,fH.mw,vH.mw,bH.mw,yH.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,uH.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,aT.mw,lT.mw,cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,BI.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw],_T={xlsx:V,charts:B},ST={name:"@omegagrid/bundle",version:"0.6.
|
|
8461
|
+
`: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?fv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?fv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=fv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new On({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Uz.styles=[Fz],Wz([ps({type:Object})],Uz.prototype,"model",void 0),Wz([gs()],Uz.prototype,"editTitle",void 0),Wz([fs("#title")],Uz.prototype,"titleInput",void 0),Wz([fs("#type")],Uz.prototype,"typeList",void 0),Wz([fs("#dataRange")],Uz.prototype,"dataRangeInput",void 0),Wz([fs("#seriesRange")],Uz.prototype,"seriesRangeInput",void 0),Wz([fs("#categoryRange")],Uz.prototype,"categoryRangeInput",void 0),Uz=Wz([hs("og-plugin-chart-form")],Uz);const Gz=wa().themes.get("dark");Object.assign(Gz.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 Yz=wa().themes.get("light");Object.assign(Yz.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 qz=i(2439),Zz=i(8022),Xz=i(6158),Qz=i(127),Kz=i(4505),Jz=i(8659),tR=i(397),eR=i(930),iR=i(9723),oR=i(6343),nR=i(4582),rR=i(6127),sR=i(8238),aR=i(7362),lR=i(452),cR=i(5390),hR=i(3368),dR=i(6288),uR=i(7513),pR=i(1386),gR=i(5764),mR=i(1261),fR=i(3071),vR=i(3285),bR=i(2356),yR=i(6780),wR=i(8542),xR=i(8385),kR=i(1025),CR=i(2034),MR=i(8113),_R=i(1821),SR=i(7212),ER=i(2583),zR=i(5360),RR=i(2377),LR=i(2864),IR=i(7998),HR=i(4101),TR=i(7813),AR=i(5037),OR=i(7005),$R=i(9626),DR=i(9517),NR=i(1504),PR=i(3838),jR=i(4935),VR=i(7699),BR=i(3322),FR=i(5757),WR=i(536),UR=i(1673),GR=i(8736),YR=i(196),qR=i(5133),ZR=i(6092),XR=i(791),QR=i(5927),KR=i(1802),JR=i(9511),tL=i(6267),eL=i(1072),iL=i(4331),oL=i(8644),nL=i(2704),rL=i(2419),sL=i(6363),aL=i(5236),lL=i(3499),cL=i(3811),hL=i(1953),dL=i(4729),uL=i(8964),pL=i(8540),gL=i(8752),mL=i(8783),fL=i(8270),vL=i(7261),bL=i(9231),yL=i(4555),wL=i(5293),xL=i(6981),kL=i(5268),CL=i(2680),ML=i(789),_L=i(4373),SL=i(436),EL=i(8573),zL=i(1808),RL=i(3247),LL=i(5143),IL=i(2415),HL=i(2561),TL=i(5726),AL=i(7436),OL=i(4201),$L=i(8248),DL=i(6433),NL=i(2698),PL=i(979),jL=i(9358),VL=i(9176),BL=i(1239),FL=i(4218),WL=i(8377),UL=i(3740),GL=i(5379),YL=i(9974),qL=i(8955),ZL=i(3559),XL=i(809),QL=i(8014),KL=i(8265),JL=i(3300),tI=i(8724),eI=i(8033),iI=i(7700),oI=i(5741),nI=i(3478),rI=i(512),sI=i(499),aI=i(8680),lI=i(9646),cI=i(9432),hI=i(2841),dI=i(75),uI=i(9256),pI=i(444),gI=i(5633),mI=i(3788),fI=i(3573),vI=i(9948),bI=i(1836),yI=i(7029),wI=i(8532),xI=i(6639),kI=i(1633),CI=i(9805),MI=i(2171),_I=i(875),SI=i(9595),EI=i(3894),zI=i(2803),RI=i(7765),LI=i(8804),II=i(8654),HI=i(257),TI=i(5844),AI=i(9651),OI=i(760),$I=i(9518),DI=i(4585),NI=i(1769),PI=i(643),jI=i(5156),VI=i(822),BI=i(8249),FI=i(3434),WI=i(9314),UI=i(3093),GI=i(7721),YI=i(588),qI=i(7645),ZI=i(7148),XI=i(6795),QI=i(7047),KI=i(9428),JI=i(1879),tH=i(9779),eH=i(2476),iH=i(9648),oH=i(2896),nH=i(6817),rH=i(5196),sH=i(2762),aH=i(5981),lH=i(9014),cH=i(2611),hH=i(7946),dH=i(6301),uH=i(8020),pH=i(3987),gH=i(3192),mH=i(8796),fH=i(2489),vH=i(7324),bH=i(6069),yH=i(4155),wH=i(6977),xH=i(8055),kH=i(2653),CH=i(9492),MH=i(4334),_H=i(6804),SH=i(9954),EH=i(2211),zH=i(5211),RH=i(1519),LH=i(6204),IH=i(5501),HH=i(5244),TH=i(9742),AH=i(1552),OH=i(1330),$H=i(2596),DH=i(5184),NH=i(7675),PH=i(1513),jH=i(9396),VH=i(7673),BH=i(244),FH=i(1187),WH=i(1736),UH=i(4390),GH=i(7106),YH=i(2096),qH=i(9991),ZH=i(5629),XH=i(3386),QH=i(6651),KH=i(1684),JH=i(3849),tT=i(2582),eT=i(8569),iT=i(2955),oT=i(9100),nT=i(7381),rT=i(9190),sT=i(4071),aT=i(8e3),lT=i(4633),cT=i(4374),hT=i(486),dT=i(3680),uT=i(9999),pT=i(2830),gT=i(5255),mT=i(6021),fT=i(2214),vT=i(8497),bT=i(2052),yT=i(5327),wT=i(8701),xT=i(8722),kT=i(7325),CT=i(2445);const MT=[qz.mw,Zz.mw,Xz.mw,Qz.mw,Kz.mw,Jz.mw,tR.mw,eR.mw,iR.mw,nR.mw,oR.mw,rR.mw,sR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,RR.mw,LR.mw,IR.mw,HR.mw,TR.mw,AR.mw,OR.mw,$R.mw,NR.mw,DR.mw,PR.mw,jR.mw,VR.mw,BR.mw,FR.mw,WR.mw,UR.mw,GR.mw,YR.mw,qR.mw,ZR.mw,XR.mw,KR.mw,JR.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.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,QR.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,GL.mw,YL.mw,qL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,CR.mw,nI.mw,rI.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,yI.mw,bI.mw,xI.mw,wI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,RI.mw,LI.mw,OI.mw,$I.mw,DI.mw,NI.mw,PI.mw,jI.mw,VI.mw,FI.mw,WI.mw,UI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tH.mw,eH.mw,iH.mw,oH.mw,II.mw,HI.mw,AI.mw,TI.mw,nH.mw,rH.mw,sH.mw,aH.mw,lH.mw,cH.mw,hH.mw,dH.mw,GI.mw,YI.mw,qI.mw,ZI.mw,pH.mw,gH.mw,mH.mw,fH.mw,vH.mw,bH.mw,yH.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,uH.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,aT.mw,lT.mw,cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,BI.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw],_T={xlsx:V,charts:B},ST={name:"@omegagrid/bundle",version:"0.6.106"};wa().activate("light"),jh.styleDefault="fal",Vh.add(...MT)})(),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.106",
|
|
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.106",
|
|
23
|
+
"@omegagrid/calendar": "^0.6.106",
|
|
24
|
+
"@omegagrid/code": "^0.6.106",
|
|
25
|
+
"@omegagrid/commands": "^0.6.106",
|
|
26
|
+
"@omegagrid/core": "^0.6.106",
|
|
27
|
+
"@omegagrid/dialog": "^0.6.106",
|
|
28
|
+
"@omegagrid/editor": "^0.6.106",
|
|
29
|
+
"@omegagrid/form": "^0.6.106",
|
|
30
|
+
"@omegagrid/grid": "^0.6.106",
|
|
31
|
+
"@omegagrid/localize": "^0.6.106",
|
|
32
|
+
"@omegagrid/markdown": "^0.6.106",
|
|
33
|
+
"@omegagrid/plugin-charts": "^0.6.106",
|
|
34
|
+
"@omegagrid/plugin-xlsx": "^0.6.106",
|
|
35
|
+
"@omegagrid/statusbar": "^0.6.106",
|
|
36
|
+
"@omegagrid/tabs": "^0.6.106",
|
|
37
|
+
"@omegagrid/toolbar": "^0.6.106",
|
|
38
|
+
"@omegagrid/tree": "^0.6.106",
|
|
39
39
|
"lit": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|