@omegagrid/bundle 0.9.34 → 0.9.35
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 +2 -2
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -7997,7 +7997,7 @@ milkdown-block-handle {
|
|
|
7997
7997
|
border-left: none;
|
|
7998
7998
|
height: 100%;
|
|
7999
7999
|
}
|
|
8000
|
-
`],KE([Tn({type:Object})],JE.prototype,"item",void 0),KE([Tn({type:String})],JE.prototype,"value",void 0),KE([$n("og-dropdown")],JE.prototype,"dropdown",void 0),KE([$n("og-button")],JE.prototype,"button",void 0),KE([$n(".btn-content")],JE.prototype,"btnContent",void 0),JE=KE([Ln("og-toolbar-colorpicker")],JE);class tz{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(!ls.require)throw new Error("AMDLoader is not initialized");return ls.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>ls.require(["xlsx"],(()=>t(self.XLSX)))))}}const ez="aaaaaa",iz={bottom:{style:"thin",color:ez},top:{style:"thin",color:ez},right:{style:"thin",color:ez},left:{style:"thin",color:ez}},oz={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},rz={alignment:{vertical:"center",horizontal:"center"},bold:!0},sz={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function nz(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 az(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,r=new Array(i.length+o);return[...Array(o).keys()].map((t=>r[t]={level:0})),i.map(((e,i)=>r[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),r}function lz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,r=[];return t.merges.mergedCells.forEach((t=>{r.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||r.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),r}function cz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=pz(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:rz};return o&&(o.html?s.h=`<span>${o.label}</span>`:null!=o.label?s.v=o.label:s.t="z"),r&&(s.s||(s.s={}),s.s=Object.assign({},r,s.s)),null!=o._style&&(s.s=Object.assign({},s.s,uz(t.styles.get(o._style)))),s}))))}function hz(t){return{rgb:t}}function dz(t){return"none"==t.style?null:{style:t.style,color:hz(t.color)}}function uz(t){const e={};return t.color&&(e.color=hz(t.color)),t.bgColor&&(e.bgColor=hz(t.bgColor)),t.fgColor&&(e.fgColor=hz(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=dz(t.bottom)),t.top&&(e.top=dz(t.top)),t.right&&(e.right=dz(t.right)),t.left&&(e.left=dz(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 pz(t){const e=!0===t.defaultBorders?iz:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=dz(t.bottom)),t.top&&(e.top=dz(t.top)),t.right&&(e.right=dz(t.right)),t.left&&(e.left=dz(t.left)),e}(e):null}function gz(t,e){e=yz(e);const i=t.headerCount,o=new zw(t),r=new Array(i+t.rows.length),s=new Map,n=pz(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;cz(t,e).forEach(((t,e)=>r[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>r[e+i]=h.map((e=>{const r=t.cell(e.index),c=sz[r.type],h={t:r.hasValue?c:"z"};r.hasFormula?(h.f=i>0?o.getFormula(r).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(r).toExcelString():r.formula,"d"==r.type&&(h.t="n",h.z=r.format??a)):r.hasValue&&!r.isSpilled&&("s"==h.t?h.v=l?r.formattedValue.toString():r.value.toString():"z"!=h.t&&(h.v=r.value),"g"==r.type?h.t=Q(h.v)?"s":"n":"d"==r.type&&tt(h.v)&&(h.t="n"));const d=r.composedStyle;if(d&&(s.has(d.id)||s.set(d.id,uz(d)),h.s={...s.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)}(r,h),r.hasComment){const t=r.model.comments.get(r.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=r.format??("d"==h.t?a:"General")),n&&(h.s||(h.s={}),h.s=Object.assign({},n,h.s)),h})))),r}function mz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:hz(t.color)}:null}function fz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:vv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&ov(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?uz(t.style):null,stop:t.stop,cmin:mz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?mz(t.cmid,{v:50,t:"percentile"}):null,cmax:mz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:hz(t.color),v:t.v,thresh:t.thresh})))}function vz(t){if(t.options.rowTree.reversed)return"below";const e=t.rows;if(e.length<2)return"above";for(let t=1;t<e.length;t++)if(e[t].level!=e[t-1].level)return e[t].parent==e[t-1]?"above":"below";return t.rows[0].level>t.rows[1].level?"below":"above"}function bz(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 yz=t=>{const e=Object.assign({},oz,t);return e.defaultBorders&&(e.defaultBorders=iz),e},wz=t=>t/25.4;function xz(t){return t?{top:wz(t.top),bottom:wz(t.bottom),left:wz(t.left),right:wz(t.right),header:wz(t.header),footer:wz(t.footer)}:null}function kz(t,e){e=yz(e);const i={};return i["!cols"]=nz(t,e),i["!rows"]=az(t,e),i["!merges"]=lz(t,e),i["!condfmt"]=fz(t),i["!outline"]={above:"above"==vz(t),left:"left"==bz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${wv(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)?Jr[e.paper]??Jr.A4:e.paper,o=wz(i.width-e.margins.left-e.margins.right),r=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/r*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=xz(i.margins));const r=i.rowBreaks;if(r?.length>0){o.rowBreaks=r.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?vv.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 Cz(t,e){const i=tz.get(),o=i instanceof Promise?await i:i;e=yz(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const s={...e,...t.exportOptions},n=o.utils.sheet_add_aoa(kz(t,s),gz(t,s));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,n,a)})),r.Workbook=r.Workbook||{},t.forEach((t=>{const e=r.SheetNames.indexOf(t.name);e<0||(r.Workbook.Sheets||(r.Workbook.Sheets=[]),r.Workbook.Sheets[e]||(r.Workbook.Sheets[e]={}),t.tab?.hidden&&(r.Workbook.Sheets[e].Hidden=1))})),r}async function Mz(t,e=null){const i=tz.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 _z={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function Sz(t){return t.rgb}function Ez(t){return{color:Sz(t.color),style:t.style}}function zz(t){const e={};return t.color&&(e.color=Sz(t.color)),t.bgColor&&(e.bgColor=Sz(t.bgColor)),t.fgColor&&(e.fgColor=Sz(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=Ez(t.top)),t.bottom&&(e.bottom=Ez(t.bottom)),t.left&&(e.left=Ez(t.left)),t.right&&(e.right=Ez(t.right)),e}function Lz(t,e){const i=t["!ref"]?vv.fromA1(t["!ref"]):vv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=vv.fromA1(t["!freeze"]);r.freezeLeft=e.c1,r.freezeTop=e.r1}return o.options=r,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,h:r?r.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,w:r?r.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new vv(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 r=t[o],s=vv.fromA1(o),n={r:s.r1,c:s.c1,t:_z[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=zz(r.s)),r.f?n.f=Rv(r.f):n.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(n.z=yr(r.z,"d")),e.push(n)}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?zz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?Sz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?Sz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?Sz(t.cmax.color):null}:null,e.color=t.color?Sz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Iz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let s=e.get(o);s||e.set(o,s=[]);const n=vv.fromA1(r);n.c1Anchor&&!n.r1Anchor?(n.r1=0,n.r2=1/0):!n.c1Anchor&&n.r1Anchor&&(n.c1=0,n.c2=1/0),n.removeAnchors(),s.push({name:t,ref:n.A1})})),e}async function Rz(t,e){return performance.mark("start_import"),Az(await t.arrayBuffer(),e)}function Tz(t){const e=Iz(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({...Lz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Az(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await tz.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Tz(o)}class Oz extends nu{init(t){tz.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;Mz(await Cz(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 Rz(i))}}))}}Oz.pluginName="xlsx";class $z{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=vv.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=vv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=vv.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=Yr(i));const o=i.length,r=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:r},((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 Dz extends nu{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=>{if(!t.cells)return;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[Dz.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 $z(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[Dz.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)}}Dz.pluginName="charts";class Nz extends nu{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 Dz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof $z&&(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)}))}}Nz.pluginName="chartEditor";class Pz{static init(t){"string"==typeof t?Pz.path=t:Pz.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){return window.Highcharts&&(Pz.highcharts=window.Highcharts),Pz.highcharts?Pz.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await cs.load(`${this.path}/highcharts.js`),window.Highcharts)return Pz.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.error("Failed to load Highcharts",t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const jz={chart:{styledMode:!0}};async function Hz(t){const e=await Pz.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 Fz(t,e){const i=await Pz.get(),o=await Hz(t);return i.chart(e,i.merge(o,jz,{chart:{}}))}const Bz=xs`
|
|
8000
|
+
`],KE([Tn({type:Object})],JE.prototype,"item",void 0),KE([Tn({type:String})],JE.prototype,"value",void 0),KE([$n("og-dropdown")],JE.prototype,"dropdown",void 0),KE([$n("og-button")],JE.prototype,"button",void 0),KE([$n(".btn-content")],JE.prototype,"btnContent",void 0),JE=KE([Ln("og-toolbar-colorpicker")],JE);class tz{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(!ls.require)throw new Error("AMDLoader is not initialized");return ls.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>ls.require(["xlsx"],(()=>t(self.XLSX)))))}}const ez="aaaaaa",iz={bottom:{style:"thin",color:ez},top:{style:"thin",color:ez},right:{style:"thin",color:ez},left:{style:"thin",color:ez}},oz={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},rz={alignment:{vertical:"center",horizontal:"center"},bold:!0},sz={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function nz(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 az(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,r=new Array(i.length+o);return[...Array(o).keys()].map((t=>r[t]={level:0})),i.map(((e,i)=>r[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),r}function lz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,r=[];return t.merges.mergedCells.forEach((t=>{r.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||r.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),r}function cz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=pz(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:rz};return o&&(o.html?s.h=`<span>${o.label}</span>`:null!=o.label?s.v=o.label:s.t="z"),r&&(s.s||(s.s={}),s.s=Object.assign({},r,s.s)),null!=o._style&&(s.s=Object.assign({},s.s,uz(t.styles.get(o._style)))),s}))))}function hz(t){return{rgb:t}}function dz(t){return"none"==t.style?null:{style:t.style,color:hz(t.color)}}function uz(t){const e={};return t.color&&(e.color=hz(t.color)),t.bgColor&&(e.bgColor=hz(t.bgColor)),t.fgColor&&(e.fgColor=hz(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=dz(t.bottom)),t.top&&(e.top=dz(t.top)),t.right&&(e.right=dz(t.right)),t.left&&(e.left=dz(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 pz(t){const e=!0===t.defaultBorders?iz:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=dz(t.bottom)),t.top&&(e.top=dz(t.top)),t.right&&(e.right=dz(t.right)),t.left&&(e.left=dz(t.left)),e}(e):null}function gz(t,e){e=yz(e);const i=t.headerCount,o=new zw(t),r=new Array(i+t.rows.length),s=new Map,n=pz(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;cz(t,e).forEach(((t,e)=>r[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>r[e+i]=h.map((e=>{const r=t.cell(e.index),c=sz[r.type],h={t:r.hasValue?c:"z"};r.hasFormula?(h.f=i>0?o.getFormula(r).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(r).toExcelString():r.formula,"d"==r.type&&(h.t="n",h.z=r.format??a)):r.hasValue&&!r.isSpilled&&("s"==h.t?h.v=l?r.formattedValue.toString():r.value.toString():"z"!=h.t&&(h.v=r.value),"g"==r.type?h.t=Q(h.v)?"s":"n":"d"==r.type&&tt(h.v)&&(h.t="n"));const d=r.composedStyle;if(d&&(s.has(d.id)||s.set(d.id,uz(d)),h.s={...s.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)}(r,h),r.hasComment){const t=r.model.comments.get(r.address),e=[];e.push({R:[]}),e.hidden=!0,e["!pos"]={x:0,y:0,w:400,h:200},t.forEach((t=>{if(!t.text)return;const i=t.author?t.author.name??t.author.id:null;let o="";i&&(o=i),t.date&&(o+=(o?" - ":"")+Zo(t.date,Yo({withTime:!0}))),o&&e[0].R.push({t:"s",v:o+"\n",s:{bold:!0}}),e[0].R.push({t:"s",v:t.text+"\n"})})),h.c=e,console.log(h)}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=r.format??("d"==h.t?a:"General")),n&&(h.s||(h.s={}),h.s=Object.assign({},n,h.s)),h})))),r}function mz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:hz(t.color)}:null}function fz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:vv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&ov(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?uz(t.style):null,stop:t.stop,cmin:mz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?mz(t.cmid,{v:50,t:"percentile"}):null,cmax:mz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:hz(t.color),v:t.v,thresh:t.thresh})))}function vz(t){if(t.options.rowTree.reversed)return"below";const e=t.rows;if(e.length<2)return"above";for(let t=1;t<e.length;t++)if(e[t].level!=e[t-1].level)return e[t].parent==e[t-1]?"above":"below";return t.rows[0].level>t.rows[1].level?"below":"above"}function bz(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 yz=t=>{const e=Object.assign({},oz,t);return e.defaultBorders&&(e.defaultBorders=iz),e},wz=t=>t/25.4;function xz(t){return t?{top:wz(t.top),bottom:wz(t.bottom),left:wz(t.left),right:wz(t.right),header:wz(t.header),footer:wz(t.footer)}:null}function kz(t,e){e=yz(e);const i={};return i["!cols"]=nz(t,e),i["!rows"]=az(t,e),i["!merges"]=lz(t,e),i["!condfmt"]=fz(t),i["!outline"]={above:"above"==vz(t),left:"left"==bz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${wv(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)?Jr[e.paper]??Jr.A4:e.paper,o=wz(i.width-e.margins.left-e.margins.right),r=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/r*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=xz(i.margins));const r=i.rowBreaks;if(r?.length>0){o.rowBreaks=r.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?vv.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 Cz(t,e){const i=tz.get(),o=i instanceof Promise?await i:i;e=yz(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const s={...e,...t.exportOptions},n=o.utils.sheet_add_aoa(kz(t,s),gz(t,s));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,n,a)})),r.Workbook=r.Workbook||{},t.forEach((t=>{const e=r.SheetNames.indexOf(t.name);e<0||(r.Workbook.Sheets||(r.Workbook.Sheets=[]),r.Workbook.Sheets[e]||(r.Workbook.Sheets[e]={}),t.tab?.hidden&&(r.Workbook.Sheets[e].Hidden=1))})),r}async function Mz(t,e=null){const i=tz.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 _z={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function Sz(t){return t.rgb}function Ez(t){return{color:Sz(t.color),style:t.style}}function zz(t){const e={};return t.color&&(e.color=Sz(t.color)),t.bgColor&&(e.bgColor=Sz(t.bgColor)),t.fgColor&&(e.fgColor=Sz(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=Ez(t.top)),t.bottom&&(e.bottom=Ez(t.bottom)),t.left&&(e.left=Ez(t.left)),t.right&&(e.right=Ez(t.right)),e}function Lz(t,e){const i=t["!ref"]?vv.fromA1(t["!ref"]):vv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=vv.fromA1(t["!freeze"]);r.freezeLeft=e.c1,r.freezeTop=e.r1}return o.options=r,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,h:r?r.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,w:r?r.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new vv(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 r=t[o],s=vv.fromA1(o),n={r:s.r1,c:s.c1,t:_z[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=zz(r.s)),r.f?n.f=Rv(r.f):n.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(n.z=yr(r.z,"d")),e.push(n)}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?zz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?Sz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?Sz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?Sz(t.cmax.color):null}:null,e.color=t.color?Sz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Iz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let s=e.get(o);s||e.set(o,s=[]);const n=vv.fromA1(r);n.c1Anchor&&!n.r1Anchor?(n.r1=0,n.r2=1/0):!n.c1Anchor&&n.r1Anchor&&(n.c1=0,n.c2=1/0),n.removeAnchors(),s.push({name:t,ref:n.A1})})),e}async function Rz(t,e){return performance.mark("start_import"),Az(await t.arrayBuffer(),e)}function Tz(t){const e=Iz(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({...Lz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Az(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await tz.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Tz(o)}class Oz extends nu{init(t){tz.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;Mz(await Cz(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 Rz(i))}}))}}Oz.pluginName="xlsx";class $z{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=vv.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=vv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=vv.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=Yr(i));const o=i.length,r=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:r},((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 Dz extends nu{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=>{if(!t.cells)return;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[Dz.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 $z(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[Dz.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)}}Dz.pluginName="charts";class Nz extends nu{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 Dz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof $z&&(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)}))}}Nz.pluginName="chartEditor";class Pz{static init(t){"string"==typeof t?Pz.path=t:Pz.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){return window.Highcharts&&(Pz.highcharts=window.Highcharts),Pz.highcharts?Pz.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await cs.load(`${this.path}/highcharts.js`),window.Highcharts)return Pz.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.error("Failed to load Highcharts",t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const jz={chart:{styledMode:!0}};async function Hz(t){const e=await Pz.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 Fz(t,e){const i=await Pz.get(),o=await Hz(t);return i.chart(e,i.merge(o,jz,{chart:{}}))}const Bz=xs`
|
|
8001
8001
|
* {
|
|
8002
8002
|
box-sizing: border-box;
|
|
8003
8003
|
}
|
|
@@ -9347,4 +9347,4 @@ milkdown-block-handle {
|
|
|
9347
9347
|
`:null}
|
|
9348
9348
|
</div>
|
|
9349
9349
|
</og-panel>
|
|
9350
|
-
`: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?vv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?vv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=vv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Qz.styles=[Zz],Xz([Tn({type:Object})],Qz.prototype,"model",void 0),Xz([An()],Qz.prototype,"editTitle",void 0),Xz([$n("#title")],Qz.prototype,"titleInput",void 0),Xz([$n("#type")],Qz.prototype,"typeList",void 0),Xz([$n("#dataRange")],Qz.prototype,"dataRangeInput",void 0),Xz([$n("#seriesRange")],Qz.prototype,"seriesRangeInput",void 0),Xz([$n("#categoryRange")],Qz.prototype,"categoryRangeInput",void 0),Qz=Xz([Ln("og-plugin-chart-form")],Qz);const Kz=Wa().themes.get("dark");Object.assign(Kz.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 Jz=Wa().themes.get("light");Object.assign(Jz.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 tL=i(6946),eL=i(6471),iL=i(4969),oL=i(9502),rL=i(7706),sL=i(1480),nL=i(2006),aL=i(7503),lL=i(7873),cL=i(8746),hL=i(2570),dL=i(8815),uL=i(6390),pL=i(6593),gL=i(895),mL=i(9083),fL=i(6093),vL=i(9685),bL=i(9849),yL=i(8268),wL=i(4693),xL=i(3599),kL=i(782),CL=i(754),ML=i(5700),_L=i(4731),SL=i(7291),EL=i(597),zL=i(1474),LL=i(6224),IL=i(6239),RL=i(6828),TL=i(2212),AL=i(863),OL=i(3602),$L=i(1985),DL=i(886),NL=i(7201),PL=i(9937),jL=i(8450),HL=i(9630),FL=i(9766),BL=i(388),WL=i(1903),VL=i(398),UL=i(6105),GL=i(6147),qL=i(5722),YL=i(5576),ZL=i(3131),XL=i(6308),QL=i(9645),KL=i(3199),JL=i(871),tI=i(5251),eI=i(6426),iI=i(2643),oI=i(8522),rI=i(6398),sI=i(2525),nI=i(8434),aI=i(6138),lI=i(5835),cI=i(5654),hI=i(6659),dI=i(2977),uI=i(4480),pI=i(9886),gI=i(6815),mI=i(1582),fI=i(2968),vI=i(394),bI=i(7024),yI=i(7853),wI=i(8249),xI=i(2869),kI=i(486),CI=i(5735),MI=i(470),_I=i(4612),SI=i(4018),EI=i(1476),zI=i(3194),LI=i(3525),II=i(7541),RI=i(4104),TI=i(6686),AI=i(7719),OI=i(3898),$I=i(8153),DI=i(3690),NI=i(1776),PI=i(4980),jI=i(5578),HI=i(9613),FI=i(1119),BI=i(8444),WI=i(2978),VI=i(9130),UI=i(2127),GI=i(2732),qI=i(4287),YI=i(4045),ZI=i(7642),XI=i(1367),QI=i(320),KI=i(821),JI=i(102),tR=i(7683),eR=i(3980),iR=i(576),oR=i(654),rR=i(73),sR=i(140),nR=i(8129),aR=i(5087),lR=i(6992),cR=i(8247),hR=i(8038),dR=i(5286),uR=i(9179),pR=i(1808),gR=i(9459),mR=i(2883),fR=i(9124),vR=i(7067),bR=i(1054),yR=i(7325),wR=i(1272),xR=i(3359),kR=i(6562),CR=i(4193),MR=i(6348),_R=i(2435),SR=i(9111),ER=i(9318),zR=i(7294),LR=i(4479),IR=i(2409),RR=i(3091),TR=i(5789),AR=i(5890),OR=i(3874),$R=i(2907),DR=i(1175),NR=i(1686),PR=i(703),jR=i(6606),HR=i(4194),FR=i(6228),BR=i(62),WR=i(2072),VR=i(9744),UR=i(25),GR=i(2618),qR=i(1988),YR=i(8013),ZR=i(1133),XR=i(362),QR=i(6845),KR=i(6800),JR=i(1103),tT=i(4933),eT=i(7284),iT=i(2620),oT=i(2366),rT=i(7457),sT=i(2449),nT=i(2),aT=i(5697),lT=i(7069),cT=i(4716),hT=i(4740),dT=i(4557),uT=i(1868),pT=i(8647),gT=i(5127),mT=i(4816),fT=i(4009),vT=i(5104),bT=i(2830),yT=i(3093),wT=i(5029),xT=i(3514),kT=i(2142),CT=i(4999),MT=i(7523),_T=i(346),ST=i(7917),ET=i(3976),zT=i(9801),LT=i(2464),IT=i(5511),RT=i(5210),TT=i(5815),AT=i(3339),OT=i(7472),$T=i(8811),DT=i(8548),NT=i(6880),PT=i(1840),jT=i(5547),HT=i(4788),FT=i(9467),BT=i(9187),WT=i(9217),VT=i(7897),UT=i(2644),GT=i(6204),qT=i(1472),YT=i(1247),ZT=i(7406),XT=i(925),QT=i(7455),KT=i(3771),JT=i(1549),tA=i(3541),eA=i(3140),iA=i(9800),oA=i(229),rA=i(2677),sA=i(1844),nA=i(3245),aA=i(9056),lA=i(7535),cA=i(2359),hA=i(15),dA=i(5569),uA=i(2014),pA=i(1599),gA=i(6521),mA=i(232),fA=i(9745),vA=i(9594),bA=i(6979),yA=i(4494),wA=i(312),xA=i(4983),kA=i(1258),CA=i(6313),MA=i(12),_A=i(8003),SA=i(7830),EA=i(8875),zA=i(3911),LA=i(1817),IA=i(478),RA=i(2585),TA=i(6564),AA=i(2884),OA=i(3825),$A=i(7348),DA=i(9277),NA=i(4118),PA=i(9200),jA=i(51),HA=i(2872),FA=i(4702),BA=i(9281),WA=i(1394),VA=i(7295),UA=i(2936),GA=i(3789),qA=i(3614),YA=i(4827),ZA=i(9204),XA=i(9113),QA=i(4058);const KA=[tL.mw,eL.mw,iL.mw,oL.mw,rL.mw,sL.mw,nL.mw,aL.mw,cL.mw,dL.mw,hL.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,LL.mw,RL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,WL.mw,UL.mw,VL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,sI.mw,nI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,vI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,rI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,OI.mw,$I.mw,DI.mw,NI.mw,PI.mw,jI.mw,HI.mw,FI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,qI.mw,YI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tR.mw,eR.mw,iR.mw,oR.mw,rR.mw,sR.mw,nR.mw,aR.mw,lR.mw,cR.mw,hR.mw,IL.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,MR.mw,_R.mw,lL.mw],JA=[SR.mw,ER.mw,zR.mw,LR.mw,IR.mw,RR.mw,TR.mw,AR.mw,$R.mw,NR.mw,DR.mw,jR.mw,PR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,GR.mw,qR.mw,YR.mw,JR.mw,tT.mw,eT.mw,iT.mw,oT.mw,rT.mw,sT.mw,aT.mw,lT.mw,cT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,yT.mw,wT.mw,xT.mw,ZR.mw,XR.mw,KR.mw,QR.mw,kT.mw,CT.mw,MT.mw,_T.mw,ST.mw,ET.mw,zT.mw,LT.mw,hT.mw,dT.mw,uT.mw,pT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,GT.mw,qT.mw,YT.mw,ZT.mw,IT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,sA.mw,nA.mw,aA.mw,lA.mw,cA.mw,hA.mw,dA.mw,uA.mw,pA.mw,gA.mw,mA.mw,fA.mw,vA.mw,bA.mw,yA.mw,wA.mw,xA.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,EA.mw,zA.mw,LA.mw,IA.mw,RA.mw,TA.mw,AA.mw,OA.mw,$A.mw,DA.mw,nT.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,YA.mw,ZA.mw,XA.mw,QA.mw,OR.mw],tO={xlsx:F,charts:B},eO={name:"@omegagrid/bundle",version:"0.9.
|
|
9350
|
+
`: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?vv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?vv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=vv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};Qz.styles=[Zz],Xz([Tn({type:Object})],Qz.prototype,"model",void 0),Xz([An()],Qz.prototype,"editTitle",void 0),Xz([$n("#title")],Qz.prototype,"titleInput",void 0),Xz([$n("#type")],Qz.prototype,"typeList",void 0),Xz([$n("#dataRange")],Qz.prototype,"dataRangeInput",void 0),Xz([$n("#seriesRange")],Qz.prototype,"seriesRangeInput",void 0),Xz([$n("#categoryRange")],Qz.prototype,"categoryRangeInput",void 0),Qz=Xz([Ln("og-plugin-chart-form")],Qz);const Kz=Wa().themes.get("dark");Object.assign(Kz.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 Jz=Wa().themes.get("light");Object.assign(Jz.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 tL=i(6946),eL=i(6471),iL=i(4969),oL=i(9502),rL=i(7706),sL=i(1480),nL=i(2006),aL=i(7503),lL=i(7873),cL=i(8746),hL=i(2570),dL=i(8815),uL=i(6390),pL=i(6593),gL=i(895),mL=i(9083),fL=i(6093),vL=i(9685),bL=i(9849),yL=i(8268),wL=i(4693),xL=i(3599),kL=i(782),CL=i(754),ML=i(5700),_L=i(4731),SL=i(7291),EL=i(597),zL=i(1474),LL=i(6224),IL=i(6239),RL=i(6828),TL=i(2212),AL=i(863),OL=i(3602),$L=i(1985),DL=i(886),NL=i(7201),PL=i(9937),jL=i(8450),HL=i(9630),FL=i(9766),BL=i(388),WL=i(1903),VL=i(398),UL=i(6105),GL=i(6147),qL=i(5722),YL=i(5576),ZL=i(3131),XL=i(6308),QL=i(9645),KL=i(3199),JL=i(871),tI=i(5251),eI=i(6426),iI=i(2643),oI=i(8522),rI=i(6398),sI=i(2525),nI=i(8434),aI=i(6138),lI=i(5835),cI=i(5654),hI=i(6659),dI=i(2977),uI=i(4480),pI=i(9886),gI=i(6815),mI=i(1582),fI=i(2968),vI=i(394),bI=i(7024),yI=i(7853),wI=i(8249),xI=i(2869),kI=i(486),CI=i(5735),MI=i(470),_I=i(4612),SI=i(4018),EI=i(1476),zI=i(3194),LI=i(3525),II=i(7541),RI=i(4104),TI=i(6686),AI=i(7719),OI=i(3898),$I=i(8153),DI=i(3690),NI=i(1776),PI=i(4980),jI=i(5578),HI=i(9613),FI=i(1119),BI=i(8444),WI=i(2978),VI=i(9130),UI=i(2127),GI=i(2732),qI=i(4287),YI=i(4045),ZI=i(7642),XI=i(1367),QI=i(320),KI=i(821),JI=i(102),tR=i(7683),eR=i(3980),iR=i(576),oR=i(654),rR=i(73),sR=i(140),nR=i(8129),aR=i(5087),lR=i(6992),cR=i(8247),hR=i(8038),dR=i(5286),uR=i(9179),pR=i(1808),gR=i(9459),mR=i(2883),fR=i(9124),vR=i(7067),bR=i(1054),yR=i(7325),wR=i(1272),xR=i(3359),kR=i(6562),CR=i(4193),MR=i(6348),_R=i(2435),SR=i(9111),ER=i(9318),zR=i(7294),LR=i(4479),IR=i(2409),RR=i(3091),TR=i(5789),AR=i(5890),OR=i(3874),$R=i(2907),DR=i(1175),NR=i(1686),PR=i(703),jR=i(6606),HR=i(4194),FR=i(6228),BR=i(62),WR=i(2072),VR=i(9744),UR=i(25),GR=i(2618),qR=i(1988),YR=i(8013),ZR=i(1133),XR=i(362),QR=i(6845),KR=i(6800),JR=i(1103),tT=i(4933),eT=i(7284),iT=i(2620),oT=i(2366),rT=i(7457),sT=i(2449),nT=i(2),aT=i(5697),lT=i(7069),cT=i(4716),hT=i(4740),dT=i(4557),uT=i(1868),pT=i(8647),gT=i(5127),mT=i(4816),fT=i(4009),vT=i(5104),bT=i(2830),yT=i(3093),wT=i(5029),xT=i(3514),kT=i(2142),CT=i(4999),MT=i(7523),_T=i(346),ST=i(7917),ET=i(3976),zT=i(9801),LT=i(2464),IT=i(5511),RT=i(5210),TT=i(5815),AT=i(3339),OT=i(7472),$T=i(8811),DT=i(8548),NT=i(6880),PT=i(1840),jT=i(5547),HT=i(4788),FT=i(9467),BT=i(9187),WT=i(9217),VT=i(7897),UT=i(2644),GT=i(6204),qT=i(1472),YT=i(1247),ZT=i(7406),XT=i(925),QT=i(7455),KT=i(3771),JT=i(1549),tA=i(3541),eA=i(3140),iA=i(9800),oA=i(229),rA=i(2677),sA=i(1844),nA=i(3245),aA=i(9056),lA=i(7535),cA=i(2359),hA=i(15),dA=i(5569),uA=i(2014),pA=i(1599),gA=i(6521),mA=i(232),fA=i(9745),vA=i(9594),bA=i(6979),yA=i(4494),wA=i(312),xA=i(4983),kA=i(1258),CA=i(6313),MA=i(12),_A=i(8003),SA=i(7830),EA=i(8875),zA=i(3911),LA=i(1817),IA=i(478),RA=i(2585),TA=i(6564),AA=i(2884),OA=i(3825),$A=i(7348),DA=i(9277),NA=i(4118),PA=i(9200),jA=i(51),HA=i(2872),FA=i(4702),BA=i(9281),WA=i(1394),VA=i(7295),UA=i(2936),GA=i(3789),qA=i(3614),YA=i(4827),ZA=i(9204),XA=i(9113),QA=i(4058);const KA=[tL.mw,eL.mw,iL.mw,oL.mw,rL.mw,sL.mw,nL.mw,aL.mw,cL.mw,dL.mw,hL.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,LL.mw,RL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,WL.mw,UL.mw,VL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,sI.mw,nI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.mw,gI.mw,mI.mw,fI.mw,vI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,rI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,OI.mw,$I.mw,DI.mw,NI.mw,PI.mw,jI.mw,HI.mw,FI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,qI.mw,YI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tR.mw,eR.mw,iR.mw,oR.mw,rR.mw,sR.mw,nR.mw,aR.mw,lR.mw,cR.mw,hR.mw,IL.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,MR.mw,_R.mw,lL.mw],JA=[SR.mw,ER.mw,zR.mw,LR.mw,IR.mw,RR.mw,TR.mw,AR.mw,$R.mw,NR.mw,DR.mw,jR.mw,PR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,GR.mw,qR.mw,YR.mw,JR.mw,tT.mw,eT.mw,iT.mw,oT.mw,rT.mw,sT.mw,aT.mw,lT.mw,cT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,yT.mw,wT.mw,xT.mw,ZR.mw,XR.mw,KR.mw,QR.mw,kT.mw,CT.mw,MT.mw,_T.mw,ST.mw,ET.mw,zT.mw,LT.mw,hT.mw,dT.mw,uT.mw,pT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,GT.mw,qT.mw,YT.mw,ZT.mw,IT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,sA.mw,nA.mw,aA.mw,lA.mw,cA.mw,hA.mw,dA.mw,uA.mw,pA.mw,gA.mw,mA.mw,fA.mw,vA.mw,bA.mw,yA.mw,wA.mw,xA.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,EA.mw,zA.mw,LA.mw,IA.mw,RA.mw,TA.mw,AA.mw,OA.mw,$A.mw,DA.mw,nT.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,YA.mw,ZA.mw,XA.mw,QA.mw,OR.mw],tO={xlsx:F,charts:B},eO={name:"@omegagrid/bundle",version:"0.9.35"};Wa().activate("light"),Ad.styleDefault="fal",Od.add(KA),Od.add(JA)})(),window.Omegagrid=o})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/bundle",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.35",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Distribution package for Omegagrid library",
|
|
6
6
|
"main": "omegagrid.js",
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"@fortawesome/fontawesome-svg-core": "^7.0.1",
|
|
20
20
|
"@fortawesome/pro-light-svg-icons": "^7.0.1",
|
|
21
21
|
"@fortawesome/pro-solid-svg-icons": "^7.0.1",
|
|
22
|
-
"@omegagrid/bucket": "^0.9.
|
|
23
|
-
"@omegagrid/calendar": "^0.9.
|
|
24
|
-
"@omegagrid/code": "^0.9.
|
|
25
|
-
"@omegagrid/commands": "^0.9.
|
|
26
|
-
"@omegagrid/core": "^0.9.
|
|
27
|
-
"@omegagrid/dialog": "^0.9.
|
|
28
|
-
"@omegagrid/editor": "^0.9.
|
|
29
|
-
"@omegagrid/form": "^0.9.
|
|
30
|
-
"@omegagrid/grid": "^0.9.
|
|
31
|
-
"@omegagrid/localize": "^0.9.
|
|
32
|
-
"@omegagrid/markdown": "^0.9.
|
|
33
|
-
"@omegagrid/plugin-charts": "^0.9.
|
|
34
|
-
"@omegagrid/plugin-xlsx": "^0.9.
|
|
35
|
-
"@omegagrid/statusbar": "^0.9.
|
|
36
|
-
"@omegagrid/tabs": "^0.9.
|
|
37
|
-
"@omegagrid/toolbar": "^0.9.
|
|
38
|
-
"@omegagrid/tree": "^0.9.
|
|
22
|
+
"@omegagrid/bucket": "^0.9.35",
|
|
23
|
+
"@omegagrid/calendar": "^0.9.35",
|
|
24
|
+
"@omegagrid/code": "^0.9.35",
|
|
25
|
+
"@omegagrid/commands": "^0.9.35",
|
|
26
|
+
"@omegagrid/core": "^0.9.35",
|
|
27
|
+
"@omegagrid/dialog": "^0.9.35",
|
|
28
|
+
"@omegagrid/editor": "^0.9.35",
|
|
29
|
+
"@omegagrid/form": "^0.9.35",
|
|
30
|
+
"@omegagrid/grid": "^0.9.35",
|
|
31
|
+
"@omegagrid/localize": "^0.9.35",
|
|
32
|
+
"@omegagrid/markdown": "^0.9.35",
|
|
33
|
+
"@omegagrid/plugin-charts": "^0.9.35",
|
|
34
|
+
"@omegagrid/plugin-xlsx": "^0.9.35",
|
|
35
|
+
"@omegagrid/statusbar": "^0.9.35",
|
|
36
|
+
"@omegagrid/tabs": "^0.9.35",
|
|
37
|
+
"@omegagrid/toolbar": "^0.9.35",
|
|
38
|
+
"@omegagrid/tree": "^0.9.35",
|
|
39
39
|
"lit": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|