@omegagrid/bundle 0.10.35 → 0.10.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/omegagrid.js +3 -3
  2. package/package.json +18 -18
package/omegagrid.js CHANGED
@@ -8031,7 +8031,7 @@ milkdown-block-handle {
8031
8031
  flex: 0;
8032
8032
  text-align: center;
8033
8033
  }
8034
- `,iz=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([Ln("og-markdown-toolbar")],iz);class oz{constructor(t,e,i){QS.set(this,void 0),KS.set(this,void 0),JS.set(this,void 0),this.update=(t,e)=>{ez(this,QS,"f").update(t,e)},this.destroy=()=>{ez(this,QS,"f").destroy(),ez(this,JS,"f").remove()},this.hide=()=>{ez(this,QS,"f").hide()},tz(this,KS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>ez(this,QS,"f").hide())),o.ctx=t,o.md=i,tz(this,JS,o,"f"),tz(this,QS,new i.plugins.tooltip.TooltipProvider({content:ez(this,JS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:r}=t.state,{empty:s,from:n,to:a}=r,l=!e.textBetween(n,a).length&&r instanceof i.prose.state.TextSelection,c=!(r instanceof i.prose.state.TextSelection),h=t.dom.getRootNode().activeElement,d=o.contains(h),u=!t.hasFocus()&&!d,p=!t.editable;return!(u||c||s||l||p)}}),"f"),ez(this,QS,"f").onShow=()=>{xt(ez(this,JS,"f")),ez(this,JS,"f").requestUpdate()},ez(this,QS,"f").onHide=()=>kt(ez(this,JS,"f")),this.update(e)}}function rz(t){const{$from:e,$to:i}=t.selection,o=e.pos-e.node().content.size;return o>=0&&(t=t.deleteRange(o,i.pos)),t}function sz(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function nz(t,e=null){return(i,o)=>{if(o){const r=function(t,e,i=null){const{from:o,to:r}=t.selection;return t.setBlockType(o,r,e,i)}(rz(i.tr),t,e);o(r.scrollIntoView())}return!0}}function az(t,e=null){return(i,o)=>{const r=function(t,e,i=null){const{$from:o,$to:r}=t.selection,s=o.blockRange(r),n=s&&xS.getSync().prose.transform.findWrapping(s,e,i);return n?t.wrap(s,n):null}(rz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function lz(t,e=null){return(i,o)=>{const r=sz(rz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}QS=new WeakMap,KS=new WeakMap,JS=new WeakMap;const cz=t=>{const e=t.utils.$ctx({text:$o("Please enter..."),mode:"block"},"placeholderConfigCtx"),i=t.utils.$prose((i=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_PLACEHOLDER"),props:{decorations:o=>{const r=i.get(e.key);if("doc"===r.mode&&(!((s=o.doc).childCount<=1)||s.firstChild?.content.size))return null;var s;if("code_block"===o.selection.$from.parent.type.name||function(t){const e=t.$from.node(t.$from.depth-1)?.type;return"list_item"===e?.name}(o.selection))return null;const n=r.text??$o("Please enter..."),a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const r=o.$anchor,s=r.parent;if(s.content.size>0)return null;const n=t.prose.findParent((t=>"table"===t.type.name))(r);if(n)return null;const a=r.before();return t.prose.view.Decoration.node(a,a+s.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,n);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class hz{get editor(){return this.dom?.editor?.editor}get model(){return this.editor?.getModel()}constructor(t,e,i,o){this.md=t,this.node=e,this.view=i,this.getPos=o,this.updating=!1,this.languageName="plaintext",this._onChange=t=>{if(this.updating)return;const e=t.editor.getModel(),i=this.view.state.tr;this.view.dispatch(i.setNodeAttribute(this.getPos()??0,"content",e.getValue()))},this.setLanguage=t=>{this.view.dispatch(this.view.state.tr.setNodeAttribute(this.getPos()??0,"language",t))},this.dom=this.createComponent(),this.updateLanguage()}createComponent(){const t=this.view.editable?yt("og-code-block"):yt("og-code-view");return t.content=this.node.textContent,t instanceof Wf?(t.dynamicHeight=!0,t.editorOptions={minimap:{enabled:!1},stickyScroll:{enabled:!1}},t.addEventListener("code.change",this._onChange),t.addEventListener("changeLanguage",(t=>this.setLanguage(t.value)))):t.copy=!0,t}setSelection(t,e){if(!this.dom?.isConnected)return;this.dom.focus(),this.updating=!0;const i=this.model;if(i){const o=i.getPositionAt(t),r=i.getPositionAt(e);this.editor.setSelection({startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:r.lineNumber,endColumn:r.column})}this.updating=!1}update(t){return t.type===this.node.type&&(this.updating||(this.node=t,this.updateLanguage(),this.dom.content=t.textContent),!0)}selectNode(){this.dom.focus()}deselectNode(){}stopEvent(){return!0}destroy(){}updateLanguage(){this.languageName=this.node.attrs.language||"plaintext",this.dom.language=this.languageName}}const dz={};var uz,pz=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},gz=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)},mz=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let fz=class extends zn{get content(){return gz(this,uz,"f")}set content(t){mz(this,uz,t,"f"),this.requestUpdate()}constructor(){super(),uz.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?an`
8034
+ `,iz=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([Ln("og-markdown-toolbar")],iz);class oz{constructor(t,e,i){QS.set(this,void 0),KS.set(this,void 0),JS.set(this,void 0),this.update=(t,e)=>{ez(this,QS,"f").update(t,e)},this.destroy=()=>{ez(this,QS,"f").destroy(),ez(this,JS,"f").remove()},this.hide=()=>{ez(this,QS,"f").hide()},tz(this,KS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>ez(this,QS,"f").hide())),o.ctx=t,o.md=i,tz(this,JS,o,"f"),tz(this,QS,new i.plugins.tooltip.TooltipProvider({content:ez(this,JS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:r}=t.state,{empty:s,from:n,to:a}=r,l=!e.textBetween(n,a).length&&r instanceof i.prose.state.TextSelection,c=!(r instanceof i.prose.state.TextSelection),h=t.dom.getRootNode().activeElement,d=o.contains(h),u=!t.hasFocus()&&!d,p=!t.editable;return!(u||c||s||l||p)}}),"f"),ez(this,QS,"f").onShow=()=>{xt(ez(this,JS,"f")),ez(this,JS,"f").requestUpdate()},ez(this,QS,"f").onHide=()=>kt(ez(this,JS,"f")),this.update(e)}}function rz(t){const{$from:e,$to:i}=t.selection,o=e.pos-e.node().content.size;return o>=0&&(t=t.deleteRange(o,i.pos)),t}function sz(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function nz(t,e=null){return(i,o)=>{if(o){const r=function(t,e,i=null){const{from:o,to:r}=t.selection;return t.setBlockType(o,r,e,i)}(rz(i.tr),t,e);o(r.scrollIntoView())}return!0}}function az(t,e=null){return(i,o)=>{const r=function(t,e,i=null){const{$from:o,$to:r}=t.selection,s=o.blockRange(r),n=s&&xS.getSync().prose.transform.findWrapping(s,e,i);return n?t.wrap(s,n):null}(rz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function lz(t,e=null){return(i,o)=>{const r=sz(rz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}QS=new WeakMap,KS=new WeakMap,JS=new WeakMap;const cz=t=>{const e=t.utils.$ctx({text:$o("Start typing..."),mode:"block"},"placeholderConfigCtx"),i=t.utils.$prose((i=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_PLACEHOLDER"),props:{decorations:o=>{const r=i.get(e.key);if("doc"===r.mode&&(!((s=o.doc).childCount<=1)||s.firstChild?.content.size))return null;var s;if("code_block"===o.selection.$from.parent.type.name||function(t){const e=t.$from.node(t.$from.depth-1)?.type;return"list_item"===e?.name}(o.selection))return null;const n=r.text??$o("Start typing..."),a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const r=o.$anchor,s=r.parent;if(s.content.size>0)return null;const n=t.prose.findParent((t=>"table"===t.type.name))(r);if(n)return null;const a=r.before();return t.prose.view.Decoration.node(a,a+s.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,n);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class hz{get editor(){return this.dom?.editor?.editor}get model(){return this.editor?.getModel()}constructor(t,e,i,o){this.md=t,this.node=e,this.view=i,this.getPos=o,this.updating=!1,this.languageName="plaintext",this._onChange=t=>{if(this.updating)return;const e=t.editor.getModel(),i=this.view.state.tr;this.view.dispatch(i.setNodeAttribute(this.getPos()??0,"content",e.getValue()))},this.setLanguage=t=>{this.view.dispatch(this.view.state.tr.setNodeAttribute(this.getPos()??0,"language",t))},this.dom=this.createComponent(),this.updateLanguage()}createComponent(){const t=this.view.editable?yt("og-code-block"):yt("og-code-view");return t.content=this.node.textContent,t instanceof Wf?(t.dynamicHeight=!0,t.editorOptions={minimap:{enabled:!1},stickyScroll:{enabled:!1}},t.addEventListener("code.change",this._onChange),t.addEventListener("changeLanguage",(t=>this.setLanguage(t.value)))):t.copy=!0,t}setSelection(t,e){if(!this.dom?.isConnected)return;this.dom.focus(),this.updating=!0;const i=this.model;if(i){const o=i.getPositionAt(t),r=i.getPositionAt(e);this.editor.setSelection({startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:r.lineNumber,endColumn:r.column})}this.updating=!1}update(t){return t.type===this.node.type&&(this.updating||(this.node=t,this.updateLanguage(),this.dom.content=t.textContent),!0)}selectNode(){this.dom.focus()}deselectNode(){}stopEvent(){return!0}destroy(){}updateLanguage(){this.languageName=this.node.attrs.language||"plaintext",this.dom.language=this.languageName}}const dz={};var uz,pz=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},gz=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)},mz=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let fz=class extends zn{get content(){return gz(this,uz,"f")}set content(t){mz(this,uz,t,"f"),this.requestUpdate()}constructor(){super(),uz.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?an`
8035
8035
  <div class="title">Raw HTML</div>
8036
8036
  <div class="body">
8037
8037
  ${this.editing?an`
@@ -8041,7 +8041,7 @@ milkdown-block-handle {
8041
8041
  language="html"
8042
8042
  .content="${this.content}"
8043
8043
  .editorOptions="${{minimap:{enabled:!1},lineNumbers:{renderType:0}}}"
8044
- @blur="${()=>this.commit()}"
8044
+ @code.blur="${()=>this.commit()}"
8045
8045
  @code.ready="${()=>this.editor.focus()}">
8046
8046
  </og-code-block>
8047
8047
  `:this.content?an`
@@ -9939,4 +9939,4 @@ milkdown-block-handle {
9939
9939
  `:null}
9940
9940
  </div>
9941
9941
  </og-panel>
9942
- `: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?_v.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?_v.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=_v.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())}};RL.styles=[LL],IL([Tn({type:Object})],RL.prototype,"model",void 0),IL([$n()],RL.prototype,"editTitle",void 0),IL([Dn("#title")],RL.prototype,"titleInput",void 0),IL([Dn("#type")],RL.prototype,"typeList",void 0),IL([Dn("#dataRange")],RL.prototype,"dataRangeInput",void 0),IL([Dn("#seriesRange")],RL.prototype,"seriesRangeInput",void 0),IL([Dn("#categoryRange")],RL.prototype,"categoryRangeInput",void 0),RL=IL([Ln("og-plugin-chart-form")],RL);const TL=Xa().themes.get("og-dark");Object.assign(TL.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 $L=Xa().themes.get("og-light");Object.assign($L.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 AL=i(6946),DL=i(6471),OL=i(4969),NL=i(9502),PL=i(7706),jL=i(1480),HL=i(2006),FL=i(7503),BL=i(7873),WL=i(8746),VL=i(2570),UL=i(8815),GL=i(6390),qL=i(6593),YL=i(895),ZL=i(9083),XL=i(6093),QL=i(9685),KL=i(9849),JL=i(8268),tI=i(4693),eI=i(3599),iI=i(782),oI=i(754),rI=i(5700),sI=i(4731),nI=i(7291),aI=i(597),lI=i(1474),cI=i(6224),hI=i(6239),dI=i(6828),uI=i(2212),pI=i(863),gI=i(3602),mI=i(1985),fI=i(886),vI=i(7201),bI=i(9937),yI=i(8450),wI=i(9630),xI=i(9766),kI=i(388),CI=i(1903),MI=i(398),_I=i(6105),SI=i(6147),zI=i(5722),EI=i(5576),LI=i(3131),II=i(6308),RI=i(9645),TI=i(3199),$I=i(871),AI=i(5251),DI=i(6426),OI=i(2643),NI=i(8522),PI=i(6398),jI=i(2525),HI=i(8434),FI=i(6138),BI=i(5835),WI=i(5654),VI=i(6659),UI=i(2977),GI=i(4480),qI=i(9886),YI=i(6815),ZI=i(1582),XI=i(2968),QI=i(394),KI=i(7024),JI=i(7853),tR=i(8249),eR=i(2869),iR=i(486),oR=i(5735),rR=i(470),sR=i(4612),nR=i(4018),aR=i(1476),lR=i(3194),cR=i(3525),hR=i(7541),dR=i(4104),uR=i(6686),pR=i(7719),gR=i(3898),mR=i(8153),fR=i(3690),vR=i(1776),bR=i(4980),yR=i(5578),wR=i(9613),xR=i(1119),kR=i(8444),CR=i(2978),MR=i(9130),_R=i(2127),SR=i(2732),zR=i(4287),ER=i(4045),LR=i(7642),IR=i(1367),RR=i(320),TR=i(821),$R=i(102),AR=i(7683),DR=i(3980),OR=i(576),NR=i(654),PR=i(73),jR=i(140),HR=i(8129),FR=i(5087),BR=i(6992),WR=i(8247),VR=i(8038),UR=i(5286),GR=i(9179),qR=i(1808),YR=i(9459),ZR=i(2883),XR=i(9124),QR=i(7067),KR=i(1054),JR=i(7325),tT=i(1272),eT=i(3359),iT=i(6562),oT=i(4193),rT=i(6348),sT=i(2435),nT=i(7544),aT=i(4470),lT=i(9111),cT=i(9318),hT=i(7294),dT=i(4479),uT=i(2409),pT=i(3091),gT=i(5789),mT=i(5890),fT=i(3874),vT=i(2907),bT=i(1175),yT=i(1686),wT=i(703),xT=i(6606),kT=i(4194),CT=i(6228),MT=i(62),_T=i(2072),ST=i(9744),zT=i(25),ET=i(2618),LT=i(1988),IT=i(8013),RT=i(1133),TT=i(362),$T=i(6845),AT=i(6800),DT=i(1103),OT=i(4933),NT=i(7284),PT=i(2620),jT=i(2366),HT=i(7457),FT=i(2449),BT=i(2),WT=i(5697),VT=i(7069),UT=i(4716),GT=i(4740),qT=i(4557),YT=i(1868),ZT=i(8647),XT=i(5127),QT=i(4816),KT=i(4009),JT=i(5104),t$=i(2830),e$=i(3093),i$=i(5029),o$=i(3514),r$=i(2142),s$=i(4999),n$=i(7523),a$=i(346),l$=i(7917),c$=i(3976),h$=i(9801),d$=i(2464),u$=i(5511),p$=i(5210),g$=i(5815),m$=i(3339),f$=i(7472),v$=i(8811),b$=i(8548),y$=i(6880),w$=i(1840),x$=i(5547),k$=i(4788),C$=i(9467),M$=i(9187),_$=i(9217),S$=i(7897),z$=i(2644),E$=i(6204),L$=i(1472),I$=i(1247),R$=i(7406),T$=i(925),$$=i(7455),A$=i(3771),D$=i(1549),O$=i(3541),N$=i(3140),P$=i(9800),j$=i(229),H$=i(2677),F$=i(1844),B$=i(3245),W$=i(9056),V$=i(7535),U$=i(2359),G$=i(15),q$=i(5569),Y$=i(2014),Z$=i(1599),X$=i(6521),Q$=i(232),K$=i(9745),J$=i(9594),tA=i(6979),eA=i(4494),iA=i(312),oA=i(4983),rA=i(1258),sA=i(6313),nA=i(12),aA=i(8003),lA=i(7830),cA=i(8875),hA=i(3911),dA=i(1817),uA=i(478),pA=i(2585),gA=i(6564),mA=i(2884),fA=i(3825),vA=i(7348),bA=i(9277),yA=i(4118),wA=i(9200),xA=i(51),kA=i(2872),CA=i(4702),MA=i(9281),_A=i(1394),SA=i(7295),zA=i(2936),EA=i(3789),LA=i(3614),IA=i(4827),RA=i(9204),TA=i(9113),$A=i(4058),AA=i(9939),DA=i(1139);const OA=[AL.mw,DL.mw,OL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.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,rI.mw,sI.mw,nI.mw,aI.mw,lI.mw,cI.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,_I.mw,MI.mw,SI.mw,zI.mw,EI.mw,LI.mw,II.mw,RI.mw,TI.mw,$I.mw,AI.mw,DI.mw,OI.mw,NI.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,PI.mw,rR.mw,sR.mw,nR.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR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mw,CA.mw,MA.mw,_A.mw,SA.mw,zA.mw,EA.mw,LA.mw,IA.mw,RA.mw,TA.mw,$A.mw,fT.mw,AA.mw,DA.mw],PA={xlsx:F,charts:B},jA={name:"@omegagrid/bundle",version:"0.10.35"};Xa().activate("light"),Hd.styleDefault="fal",Fd.add(OA),Fd.add(NA)})(),window.Omegagrid=o})();
9942
+ `: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?_v.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?_v.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=_v.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())}};RL.styles=[LL],IL([Tn({type:Object})],RL.prototype,"model",void 0),IL([$n()],RL.prototype,"editTitle",void 0),IL([Dn("#title")],RL.prototype,"titleInput",void 0),IL([Dn("#type")],RL.prototype,"typeList",void 0),IL([Dn("#dataRange")],RL.prototype,"dataRangeInput",void 0),IL([Dn("#seriesRange")],RL.prototype,"seriesRangeInput",void 0),IL([Dn("#categoryRange")],RL.prototype,"categoryRangeInput",void 0),RL=IL([Ln("og-plugin-chart-form")],RL);const TL=Xa().themes.get("og-dark");Object.assign(TL.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 $L=Xa().themes.get("og-light");Object.assign($L.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 AL=i(6946),DL=i(6471),OL=i(4969),NL=i(9502),PL=i(7706),jL=i(1480),HL=i(2006),FL=i(7503),BL=i(7873),WL=i(8746),VL=i(2570),UL=i(8815),GL=i(6390),qL=i(6593),YL=i(895),ZL=i(9083),XL=i(6093),QL=i(9685),KL=i(9849),JL=i(8268),tI=i(4693),eI=i(3599),iI=i(782),oI=i(754),rI=i(5700),sI=i(4731),nI=i(7291),aI=i(597),lI=i(1474),cI=i(6224),hI=i(6239),dI=i(6828),uI=i(2212),pI=i(863),gI=i(3602),mI=i(1985),fI=i(886),vI=i(7201),bI=i(9937),yI=i(8450),wI=i(9630),xI=i(9766),kI=i(388),CI=i(1903),MI=i(398),_I=i(6105),SI=i(6147),zI=i(5722),EI=i(5576),LI=i(3131),II=i(6308),RI=i(9645),TI=i(3199),$I=i(871),AI=i(5251),DI=i(6426),OI=i(2643),NI=i(8522),PI=i(6398),jI=i(2525),HI=i(8434),FI=i(6138),BI=i(5835),WI=i(5654),VI=i(6659),UI=i(2977),GI=i(4480),qI=i(9886),YI=i(6815),ZI=i(1582),XI=i(2968),QI=i(394),KI=i(7024),JI=i(7853),tR=i(8249),eR=i(2869),iR=i(486),oR=i(5735),rR=i(470),sR=i(4612),nR=i(4018),aR=i(1476),lR=i(3194),cR=i(3525),hR=i(7541),dR=i(4104),uR=i(6686),pR=i(7719),gR=i(3898),mR=i(8153),fR=i(3690),vR=i(1776),bR=i(4980),yR=i(5578),wR=i(9613),xR=i(1119),kR=i(8444),CR=i(2978),MR=i(9130),_R=i(2127),SR=i(2732),zR=i(4287),ER=i(4045),LR=i(7642),IR=i(1367),RR=i(320),TR=i(821),$R=i(102),AR=i(7683),DR=i(3980),OR=i(576),NR=i(654),PR=i(73),jR=i(140),HR=i(8129),FR=i(5087),BR=i(6992),WR=i(8247),VR=i(8038),UR=i(5286),GR=i(9179),qR=i(1808),YR=i(9459),ZR=i(2883),XR=i(9124),QR=i(7067),KR=i(1054),JR=i(7325),tT=i(1272),eT=i(3359),iT=i(6562),oT=i(4193),rT=i(6348),sT=i(2435),nT=i(7544),aT=i(4470),lT=i(9111),cT=i(9318),hT=i(7294),dT=i(4479),uT=i(2409),pT=i(3091),gT=i(5789),mT=i(5890),fT=i(3874),vT=i(2907),bT=i(1175),yT=i(1686),wT=i(703),xT=i(6606),kT=i(4194),CT=i(6228),MT=i(62),_T=i(2072),ST=i(9744),zT=i(25),ET=i(2618),LT=i(1988),IT=i(8013),RT=i(1133),TT=i(362),$T=i(6845),AT=i(6800),DT=i(1103),OT=i(4933),NT=i(7284),PT=i(2620),jT=i(2366),HT=i(7457),FT=i(2449),BT=i(2),WT=i(5697),VT=i(7069),UT=i(4716),GT=i(4740),qT=i(4557),YT=i(1868),ZT=i(8647),XT=i(5127),QT=i(4816),KT=i(4009),JT=i(5104),t$=i(2830),e$=i(3093),i$=i(5029),o$=i(3514),r$=i(2142),s$=i(4999),n$=i(7523),a$=i(346),l$=i(7917),c$=i(3976),h$=i(9801),d$=i(2464),u$=i(5511),p$=i(5210),g$=i(5815),m$=i(3339),f$=i(7472),v$=i(8811),b$=i(8548),y$=i(6880),w$=i(1840),x$=i(5547),k$=i(4788),C$=i(9467),M$=i(9187),_$=i(9217),S$=i(7897),z$=i(2644),E$=i(6204),L$=i(1472),I$=i(1247),R$=i(7406),T$=i(925),$$=i(7455),A$=i(3771),D$=i(1549),O$=i(3541),N$=i(3140),P$=i(9800),j$=i(229),H$=i(2677),F$=i(1844),B$=i(3245),W$=i(9056),V$=i(7535),U$=i(2359),G$=i(15),q$=i(5569),Y$=i(2014),Z$=i(1599),X$=i(6521),Q$=i(232),K$=i(9745),J$=i(9594),tA=i(6979),eA=i(4494),iA=i(312),oA=i(4983),rA=i(1258),sA=i(6313),nA=i(12),aA=i(8003),lA=i(7830),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,nT.mw,aT.mw],NA=[lT.mw,cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,vT.mw,yT.mw,bT.mw,xT.mw,wT.mw,kT.mw,CT.mw,MT.mw,_T.mw,ST.mw,zT.mw,ET.mw,LT.mw,IT.mw,DT.mw,OT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,WT.mw,VT.mw,UT.mw,XT.mw,QT.mw,KT.mw,JT.mw,t$.mw,e$.mw,i$.mw,o$.mw,RT.mw,TT.mw,AT.mw,$T.mw,r$.mw,s$.mw,n$.mw,a$.mw,l$.mw,c$.mw,h$.mw,d$.mw,GT.mw,qT.mw,YT.mw,ZT.mw,p$.mw,g$.mw,m$.mw,f$.mw,v$.mw,b$.mw,y$.mw,w$.mw,x$.mw,k$.mw,C$.mw,M$.mw,_$.mw,S$.mw,z$.mw,E$.mw,L$.mw,I$.mw,R$.mw,u$.mw,T$.mw,$$.mw,A$.mw,D$.mw,O$.mw,N$.mw,P$.mw,j$.mw,H$.mw,F$.mw,B$.mw,W$.mw,V$.mw,U$.mw,G$.mw,q$.mw,Y$.mw,Z$.mw,X$.mw,Q$.mw,K$.mw,J$.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,BT.mw,yA.mw,wA.mw,xA.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,zA.mw,EA.mw,LA.mw,IA.mw,RA.mw,TA.mw,$A.mw,fT.mw,AA.mw,DA.mw],PA={xlsx:F,charts:B},jA={name:"@omegagrid/bundle",version:"0.10.36"};Xa().activate("light"),Hd.styleDefault="fal",Fd.add(OA),Fd.add(NA)})(),window.Omegagrid=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omegagrid/bundle",
3
- "version": "0.10.35",
3
+ "version": "0.10.36",
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.10.35",
23
- "@omegagrid/calendar": "^0.10.35",
24
- "@omegagrid/code": "^0.10.35",
25
- "@omegagrid/commands": "^0.10.35",
26
- "@omegagrid/core": "^0.10.35",
27
- "@omegagrid/dialog": "^0.10.35",
28
- "@omegagrid/editor": "^0.10.35",
29
- "@omegagrid/form": "^0.10.35",
30
- "@omegagrid/grid": "^0.10.35",
31
- "@omegagrid/localize": "^0.10.35",
32
- "@omegagrid/markdown": "^0.10.35",
33
- "@omegagrid/plugin-charts": "^0.10.35",
34
- "@omegagrid/plugin-xlsx": "^0.10.35",
35
- "@omegagrid/statusbar": "^0.10.35",
36
- "@omegagrid/tabs": "^0.10.35",
37
- "@omegagrid/toolbar": "^0.10.35",
38
- "@omegagrid/tree": "^0.10.35",
22
+ "@omegagrid/bucket": "^0.10.36",
23
+ "@omegagrid/calendar": "^0.10.36",
24
+ "@omegagrid/code": "^0.10.36",
25
+ "@omegagrid/commands": "^0.10.36",
26
+ "@omegagrid/core": "^0.10.36",
27
+ "@omegagrid/dialog": "^0.10.36",
28
+ "@omegagrid/editor": "^0.10.36",
29
+ "@omegagrid/form": "^0.10.36",
30
+ "@omegagrid/grid": "^0.10.36",
31
+ "@omegagrid/localize": "^0.10.36",
32
+ "@omegagrid/markdown": "^0.10.36",
33
+ "@omegagrid/plugin-charts": "^0.10.36",
34
+ "@omegagrid/plugin-xlsx": "^0.10.36",
35
+ "@omegagrid/statusbar": "^0.10.36",
36
+ "@omegagrid/tabs": "^0.10.36",
37
+ "@omegagrid/toolbar": "^0.10.36",
38
+ "@omegagrid/tree": "^0.10.36",
39
39
  "lit": "^3.1.1"
40
40
  },
41
41
  "devDependencies": {