@omegagrid/bundle 0.10.43 → 0.10.44
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 +5 -5
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -2530,14 +2530,14 @@
|
|
|
2530
2530
|
${"top"==this.tabPosition?t:e}
|
|
2531
2531
|
${"bottom"==this.tabPosition?t:e}
|
|
2532
2532
|
<div id="overlay" style="display: none"></div>
|
|
2533
|
-
`}}set inactive(t){(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");"a"===o?r.call(t,i):r?r.value=i:e.set(t,i)})(this,Zp,t,"f"),this.tabs&&this.tabs.classList.toggle("inactive",t)}get inactive(){return 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)}(this,Zp,"f")}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t!=this._selectedIndex&&(this.requestUpdate("selectedIndex",this._selectedIndex),this._selectedIndex=t)}get selectedId(){return this.tabs?.selectedItem?.id}get component(){return this.currentComponent}layout(){this.currentComponent?.layout&&this.currentComponent.layout()}updateTabs(){this.tabs.requestUpdate()}async getComponent(t){if(!this.createComponent)return null;const e=this.cacheComponents||this._itemMap?.get(t)?.preventDisconnect;if(!e||!this.components.has(t)){const i=await this.createComponent(t);if(i.dataset.preventDisconnect=this._itemMap?.get(t)?.preventDisconnect?"1":"0",!e)return i;this.components.set(t,i)}return this.components.get(t)}async loadComponent(t){if(null!=t){this.currentComponent=await this.getComponent(t);for(const t of this.container.children)"1"===t.dataset?.preventDisconnect?kt(t):t.remove();this.currentComponent&&(this.currentComponent.parentElement!==this.container&&wt(this.container,this.currentComponent),xt(this.currentComponent)),this._firstLoad&&(this._firstLoad=!1,this.dispatchEvent(new Event("load")))}else St(this.container),this.currentComponent=null;this._firstLoad&&(this._firstLoad=!1,this.layout())}refresh(){const t=this.tabs?.selectedItem?.id;this._selectedIndex=this.tabs?.selectedIndex??-1,null!=t&&this.loadComponent(this.tabs.selectedItem?.id)}open(t,e=!0){const i=this.tabs.getIndexById(t.id);i>-1?i==this.tabs.selectedIndex&&this.component||this.tabs.selectTab(i,e):(this.tabs.addTab(t),this.tabs.selectTabById(t.id,e)),xt(this.tabs,"flex")}willUpdate(t){this.topLevelComponent||(this.topLevelComponent=this),this.selectedIndex=this.items?.length>0?Math.max(0,Math.min(this.selectedIndex??-1,this.items.length-1)):-1,t.has("items")&&(this._firstLoad=!0,this._itemMap=new Map(this.items.map((t=>[t.id,t]))))}firstUpdated(){this.selectedIndex>-1&&this.open(this.items[this.selectedIndex])}positionOverlay(t){if(Xp.dropPosition=t,this.tabs.hideOverlay(),null==t)return this.tabs.positionOverlay(this.tabs.empty),kt(this.overlay);xt(this.overlay),Ht(this.overlay,{t:("bottom"==t?this.container.clientHeight/2:0)+this.container.offsetTop,l:"right"==t?this.container.clientWidth/2:0,b:"top"==t?this.container.clientHeight/2:0,r:"left"==t?this.container.clientWidth/2:0})}calculateOverlayPosition(t,e){const[i,o]=[this.container.clientWidth,this.container.clientHeight],r=.3;if(t>i*r&&t<i-i*r&&e>o*r&&e<o-o*r)return null;const[s,n]=[i/o>t/e,i/o>t/(o-e)];return s?n?"left":"bottom":n?"top":"right"}};Zp=new WeakMap,Kp.styles=[Yp],Qp([$n({type:Boolean,noAccessor:!0})],Kp.prototype,"inactive",null),Qp([$n({type:Object})],Kp.prototype,"topLevelComponent",void 0),Qp([$n({type:Array})],Kp.prototype,"items",void 0),Qp([$n({type:Boolean})],Kp.prototype,"closable",void 0),Qp([$n({type:Object})],Kp.prototype,"createComponent",void 0),Qp([On("og-tabs")],Kp.prototype,"tabs",void 0),Qp([$n({type:Array})],Kp.prototype,"actions",void 0),Qp([$n({type:Boolean})],Kp.prototype,"addButton",void 0),Qp([$n({type:Boolean})],Kp.prototype,"scrollableTabs",void 0),Qp([$n({type:Boolean})],Kp.prototype,"draggableTabs",void 0),Qp([$n({type:String})],Kp.prototype,"tabSize",void 0),Qp([$n({type:Number,reflect:!0,noAccessor:!0})],Kp.prototype,"selectedIndex",null),Qp([$n({type:String,reflect:!0})],Kp.prototype,"tabPosition",void 0),Qp([$n({type:Boolean})],Kp.prototype,"cacheComponents",void 0),Qp([On("#container")],Kp.prototype,"container",void 0),Qp([On("#overlay")],Kp.prototype,"overlay",void 0),Kp=Xp=Qp([In("og-tabcontainer")],Kp);var Jp,tg=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};let eg=Jp=class extends En{constructor(){super(...arguments),this.addButton=!1,this.closable=!1,this.singleActive=!1,this.tabPosition="top",this.scrollableTabs=!1,this.tabContainers=new Set,this.loadState=0,this._createTabContainer=t=>{const e=yt("og-tabcontainer");e.draggableTabs=!0,e.inactive=this.singleActive,e.index=t,e.parentContainer=this,e.tabPosition=this.tabPosition,this.model.items=this.model.items??[],e.closable=this.closable,e.addButton=this.addButton,e.scrollableTabs=this.scrollableTabs,e.style.height="100%";const i=this.model.items[t];return e.items=i?.tabs??[],e.selectedIndex=i.selectedIndex,e.topLevelComponent=this.topLevelComponent,e.addEventListener("tab.remove",(()=>{0==e.tabs.items.length&&(this.model.items.length>1&&this.model.items.splice(t,1),this.model.items.forEach((t=>t.size=null)),this.requestUpdate()),this.removeEmptyContainers()})),e.addEventListener("tab.move",(()=>{this.removeEmptyContainers()})),e.addEventListener("tab.select",(t=>{t.tabs.topLevelComponent==this.topLevelComponent&&i&&(i.selectedIndex=t.tabs.selectedIndex,this.singleActive&&(this._activeTabContainer=e,this._activeTab=t.tab,this.updateActiveTab()))})),e.createComponent=this.createComponent,e},this._createSplitContainer=t=>{const e=yt("og-tabsplitcontainer");return e.style.height="100%",e.addButton=this.addButton,e.scrollableTabs=this.scrollableTabs,e.tabPosition=this.tabPosition,e.model=this.model.items[t].container,e.createComponent=this.createComponent,e.topLevelComponent=this.topLevelComponent,e.closable=this.closable,e.singleActive=this.singleActive,e},this._createSplitContainerComponent=t=>new Promise(((e,i)=>{const o=t,r=this.model.items?this.model.items[o]:null;if(r){const t=r.container?this._createSplitContainer(o):this._createTabContainer(o);t.addEventListener("load",(()=>{this.loadState++,this.loadState==this.splitContainer.items.length&&this.dispatchEvent(new Event("load"))})),this.tabContainers.add(t),e(t)}else i()})),this._onDrop=async t=>{if(!Kp.dragParent&&!qp.dragParent)return;if(Kp.dragParent.topLevelComponent!=this.topLevelComponent&&qp.dragParent.topLevelComponent!=this.topLevelComponent)return;t.stopImmediatePropagation();const e=Kp.dragParent,i=Kp.dropTarget;if(Kp.dragParent=null,Kp.dropTarget=null,!e||!i)return e&&0==e.parentContainer.model.items[e.index].tabs.length&&e.parentContainer.model.items.splice(e.index,1),void e.parentContainer.splitContainer.requestUpdate();const o=await e.tabs.removeTab(qp.dragIndex,!1),r=Kp.dropPosition?["left","right"].includes(Kp.dropPosition)?"horizontal":"vertical":null,s=i?.parentContainer;if(s){if(null==r)s.model.items[i.index].tabs.push(o);else if(r==s.model.orientation)s.model.items.splice(i.index+(["right","bottom"].includes(Kp.dropPosition)?1:0),0,{tabs:[o]});else{const t=s.model.items[i.index];t.container=new jp({orientation:r,items:[{tabs:t.tabs},{tabs:[o]}]})}s.splitContainer.resetContainerSizes(),s.splitContainer.items=s.model.items}const n=e?.parentContainer;if(n){for(let t=n.model.items.length-1;t>=0;t--){const e=n.model.items[t];e.tabs&&0!=e.tabs.length||e.container||n.model.items.splice(t,1)}n.splitContainer.resetContainerSizes(),n.splitContainer.requestUpdate()}},this.render=()=>this.model?ln`
|
|
2533
|
+
`}}set inactive(t){(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");"a"===o?r.call(t,i):r?r.value=i:e.set(t,i)})(this,Zp,t,"f"),this.tabs&&this.tabs.classList.toggle("inactive",t)}get inactive(){return 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)}(this,Zp,"f")}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t!=this._selectedIndex&&(this.requestUpdate("selectedIndex",this._selectedIndex),this._selectedIndex=t)}get selectedId(){return this.tabs?.selectedItem?.id}get component(){return this.currentComponent}layout(){this.currentComponent?.layout&&this.currentComponent.layout()}updateTabs(){this.tabs.requestUpdate()}async getComponent(t){if(!this.createComponent)return null;const e=this.cacheComponents||this._itemMap?.get(t)?.preventDisconnect;if(!e||!this.components.has(t)){const i=await this.createComponent(t);if(i.dataset.preventDisconnect=this._itemMap?.get(t)?.preventDisconnect?"1":"0",!e)return i;this.components.set(t,i)}return this.components.get(t)}async loadComponent(t){if(null!=t){this.currentComponent=await this.getComponent(t);for(const t of this.container.children)"1"===t.dataset?.preventDisconnect?kt(t):t.remove();this.currentComponent&&(this.currentComponent.parentElement!==this.container&&wt(this.container,this.currentComponent),xt(this.currentComponent)),this._firstLoad&&(this._firstLoad=!1,this.dispatchEvent(new Event("load")))}else St(this.container),this.currentComponent=null;this._firstLoad&&(this._firstLoad=!1,this.layout())}refresh(){const t=this.tabs?.selectedItem?.id;this._selectedIndex=this.tabs?.selectedIndex??-1,null!=t&&this.loadComponent(this.tabs.selectedItem?.id)}open(t,e=!0){this._itemMap.set(t.id,t);const i=this.tabs.getIndexById(t.id);i>-1?i==this.tabs.selectedIndex&&this.component||this.tabs.selectTab(i,e):(this.tabs.addTab(t),this.tabs.selectTabById(t.id,e)),xt(this.tabs,"flex")}willUpdate(t){this.topLevelComponent||(this.topLevelComponent=this),this.selectedIndex=this.items?.length>0?Math.max(0,Math.min(this.selectedIndex??-1,this.items.length-1)):-1,t.has("items")&&(this._firstLoad=!0,this._itemMap=new Map(this.items.map((t=>[t.id,t]))))}firstUpdated(){this.selectedIndex>-1&&this.open(this.items[this.selectedIndex])}positionOverlay(t){if(Xp.dropPosition=t,this.tabs.hideOverlay(),null==t)return this.tabs.positionOverlay(this.tabs.empty),kt(this.overlay);xt(this.overlay),Ht(this.overlay,{t:("bottom"==t?this.container.clientHeight/2:0)+this.container.offsetTop,l:"right"==t?this.container.clientWidth/2:0,b:"top"==t?this.container.clientHeight/2:0,r:"left"==t?this.container.clientWidth/2:0})}calculateOverlayPosition(t,e){const[i,o]=[this.container.clientWidth,this.container.clientHeight],r=.3;if(t>i*r&&t<i-i*r&&e>o*r&&e<o-o*r)return null;const[s,n]=[i/o>t/e,i/o>t/(o-e)];return s?n?"left":"bottom":n?"top":"right"}};Zp=new WeakMap,Kp.styles=[Yp],Qp([$n({type:Boolean,noAccessor:!0})],Kp.prototype,"inactive",null),Qp([$n({type:Object})],Kp.prototype,"topLevelComponent",void 0),Qp([$n({type:Array})],Kp.prototype,"items",void 0),Qp([$n({type:Boolean})],Kp.prototype,"closable",void 0),Qp([$n({type:Object})],Kp.prototype,"createComponent",void 0),Qp([On("og-tabs")],Kp.prototype,"tabs",void 0),Qp([$n({type:Array})],Kp.prototype,"actions",void 0),Qp([$n({type:Boolean})],Kp.prototype,"addButton",void 0),Qp([$n({type:Boolean})],Kp.prototype,"scrollableTabs",void 0),Qp([$n({type:Boolean})],Kp.prototype,"draggableTabs",void 0),Qp([$n({type:String})],Kp.prototype,"tabSize",void 0),Qp([$n({type:Number,reflect:!0,noAccessor:!0})],Kp.prototype,"selectedIndex",null),Qp([$n({type:String,reflect:!0})],Kp.prototype,"tabPosition",void 0),Qp([$n({type:Boolean})],Kp.prototype,"cacheComponents",void 0),Qp([On("#container")],Kp.prototype,"container",void 0),Qp([On("#overlay")],Kp.prototype,"overlay",void 0),Kp=Xp=Qp([In("og-tabcontainer")],Kp);var Jp,tg=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};let eg=Jp=class extends En{constructor(){super(...arguments),this.addButton=!1,this.closable=!1,this.singleActive=!1,this.tabPosition="top",this.scrollableTabs=!1,this.tabContainers=new Set,this.loadState=0,this._createTabContainer=t=>{const e=yt("og-tabcontainer");e.draggableTabs=!0,e.inactive=this.singleActive,e.index=t,e.parentContainer=this,e.tabPosition=this.tabPosition,this.model.items=this.model.items??[],e.closable=this.closable,e.addButton=this.addButton,e.scrollableTabs=this.scrollableTabs,e.style.height="100%";const i=this.model.items[t];return e.items=i?.tabs??[],e.selectedIndex=i.selectedIndex,e.topLevelComponent=this.topLevelComponent,e.addEventListener("tab.remove",(()=>{0==e.tabs.items.length&&(this.model.items.length>1&&this.model.items.splice(t,1),this.model.items.forEach((t=>t.size=null)),this.requestUpdate()),this.removeEmptyContainers()})),e.addEventListener("tab.move",(()=>{this.removeEmptyContainers()})),e.addEventListener("tab.select",(t=>{t.tabs.topLevelComponent==this.topLevelComponent&&i&&(i.selectedIndex=t.tabs.selectedIndex,this.singleActive&&(this._activeTabContainer=e,this._activeTab=t.tab,this.updateActiveTab()))})),e.createComponent=this.createComponent,e},this._createSplitContainer=t=>{const e=yt("og-tabsplitcontainer");return e.style.height="100%",e.addButton=this.addButton,e.scrollableTabs=this.scrollableTabs,e.tabPosition=this.tabPosition,e.model=this.model.items[t].container,e.createComponent=this.createComponent,e.topLevelComponent=this.topLevelComponent,e.closable=this.closable,e.singleActive=this.singleActive,e},this._createSplitContainerComponent=t=>new Promise(((e,i)=>{const o=t,r=this.model.items?this.model.items[o]:null;if(r){const t=r.container?this._createSplitContainer(o):this._createTabContainer(o);t.addEventListener("load",(()=>{this.loadState++,this.loadState==this.splitContainer.items.length&&this.dispatchEvent(new Event("load"))})),this.tabContainers.add(t),e(t)}else i()})),this._onDrop=async t=>{if(!Kp.dragParent&&!qp.dragParent)return;if(Kp.dragParent.topLevelComponent!=this.topLevelComponent&&qp.dragParent.topLevelComponent!=this.topLevelComponent)return;t.stopImmediatePropagation();const e=Kp.dragParent,i=Kp.dropTarget;if(Kp.dragParent=null,Kp.dropTarget=null,!e||!i)return e&&0==e.parentContainer.model.items[e.index].tabs.length&&e.parentContainer.model.items.splice(e.index,1),void e.parentContainer.splitContainer.requestUpdate();const o=await e.tabs.removeTab(qp.dragIndex,!1),r=Kp.dropPosition?["left","right"].includes(Kp.dropPosition)?"horizontal":"vertical":null,s=i?.parentContainer;if(s){if(null==r)s.model.items[i.index].tabs.push(o);else if(r==s.model.orientation)s.model.items.splice(i.index+(["right","bottom"].includes(Kp.dropPosition)?1:0),0,{tabs:[o]});else{const t=s.model.items[i.index];t.container=new jp({orientation:r,items:[{tabs:t.tabs},{tabs:[o]}]})}s.splitContainer.resetContainerSizes(),s.splitContainer.items=s.model.items}const n=e?.parentContainer;if(n){for(let t=n.model.items.length-1;t>=0;t--){const e=n.model.items[t];e.tabs&&0!=e.tabs.length||e.container||n.model.items.splice(t,1)}n.splitContainer.resetContainerSizes(),n.splitContainer.requestUpdate()}},this.render=()=>this.model?ln`
|
|
2534
2534
|
<og-splitcontainer
|
|
2535
2535
|
orientation=${this.model?.orientation}
|
|
2536
2536
|
.items="${this.model.items??[]}"
|
|
2537
2537
|
.createComponent="${this._createSplitContainerComponent}"
|
|
2538
2538
|
@drop="${this._onDrop}">
|
|
2539
2539
|
</og-splitcontainer>
|
|
2540
|
-
`:""}get activeTabContainer(){return this._activeTabContainer}get activeTab(){return this._activeTab}walk(t){this.tabContainers.forEach((e=>{if(e instanceof Jp)e.walk(t);else if(!1===t(this,e))return}))}willUpdate(){this.topLevelComponent||(this.topLevelComponent=this),this.model&&!this.model.orientation&&(this.model.orientation="horizontal")}updateTabs(){this.tabContainers.forEach((t=>t.updateTabs()))}updateTab(t,e){this.walk(((i,o)=>{const r=o.items.findIndex((e=>e.id==t)),s=o.tabs.items[r];if(s)
|
|
2540
|
+
`:""}get activeTabContainer(){return this._activeTabContainer}get activeTab(){return this._activeTab}walk(t){this.tabContainers.forEach((e=>{if(e instanceof Jp)e.walk(t);else if(!1===t(this,e))return}))}willUpdate(){this.topLevelComponent||(this.topLevelComponent=this),this.model&&!this.model.orientation&&(this.model.orientation="horizontal")}updateTabs(){this.tabContainers.forEach((t=>t.updateTabs()))}updateTab(t,e){this.walk(((i,o)=>{const r=o.items.findIndex((e=>e.id==t)),s=o.tabs.items[r];if(s){if(Object.assign(s,e),t!=e.id){const e=o.components.get(t);if(e){o.components.delete(t),o.components.set(s.id,e);const i=o._itemMap.get(t);i&&(o._itemMap.delete(t),o._itemMap.set(s.id,i))}this.updateTabs(),o.selectedIndex==r&&(o.loadComponent(s.id),this.updateActiveTab())}return!1}}))}async removeEmptyContainers(){this.model.clean()&&(this.requestUpdate(),await this.updateComplete,this.layout())}updateActiveTab(){this.singleActive&&this.topLevelComponent.walk(((t,e)=>{e.inactive=e!=this.activeTabContainer}))}activate(t){this.open({id:t})}open(t,e=0){let i=this.splitContainer.getContainerComponent(e),o=this.model;this.walk(((r,s)=>{for(let n=0;n<s.items.length;n++)if(s.items[n].id==t.id)return i=s,o=r.model,i.selectedIndex=n,e=i.index,!1})),i.open(t),o.items[e]&&(o.items[e].tabs=i.items)}layout(){this.splitContainer?.layout()}};eg.styles=ks`
|
|
2541
2541
|
:host {
|
|
2542
2542
|
display: block;
|
|
2543
2543
|
}
|
|
@@ -3557,7 +3557,7 @@
|
|
|
3557
3557
|
margin-left: 2px;
|
|
3558
3558
|
}
|
|
3559
3559
|
|
|
3560
|
-
`;var nf=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};let af=class extends Lu{reset(){this._tree=null}get hasCrossButton(){return this.cross&&(this.selection.count>0&&this.options.allowEmpty||""!==this.searchTerm)}get tree(){return this._tree||(this._tree=new of,this._tree.disableAutoload=!0,this._tree.model=this.adapter?null:this.model,this._tree.adapter=this.adapter,this._tree.selection=this.selection,this._tree.options=this.options,this._tree.maxHeight=this.maxHeight,this._tree.addEventListener("change",(t=>this._onChange(t))),this._tree.addEventListener("render",this._onTreeRender),this._tree.slot="inner-content"),this._tree}_onChange(t){this._autoHighlight=!1,this.selectedItems=null,this.selectedItems=t.component.selection.items,this.value=t.component.selection.serialize(),this.options.autoClose&&this.close(),this.dispatchEvent(new Jm(t.type,{component:t.component,node:t.node}))}async open(){this.tree.parentElement!=this.dropdown&&this.dropdown.appendChild(this._tree),await super.open()}async willUpdate(t){this.buttonInput&&(this.options.search=!1),t.has("value")&&(this.selection.setItems(this.value),this.selectedItems=null,this.selectedItems=this.selection.items,this.isOpen&&this.tree&&(this._autoHighlight?this.tree.highlightFirstSelectedNode():this._autoHighlight=!0,this.tree.renderItems(!0))),this._tree&&(t.has("adapter")&&(this._tree.adapter=this.adapter),t.has("model")&&(this._tree.model=this.model)),t.has("adapter")&&this.adapter&&(this._firstOpen=!0,this.options=Gm(await this.adapter.getOptions(),this.options)),this._renderDropdown=!0}async filter(t){this.input&&(this.searchTerm=t),await this.updateComplete,this.input&&(this.input.value=t),await this.tree.updateComplete,this.tree.filter(t)}async clearFilter(){this.input&&(this.searchTerm=""),await this.updateComplete,this.input&&(this.input.value=""),this.tree.clearFilter()}focus(){this.buttonInput?this.input?.focus():super.focus()}constructor(){super(),this.options=Gm(),this.selection=new Wm(this.options),this.maxHeight=300,this.maxWidth=400,this.cross=!1,this.buttonInput=!1,this.preventInputEnter=!1,this.dynamicWidth=!1,this.selectedItems=new Map,this.searchTerm="",this._renderDropdown=!0,this._firstOpen=!0,this._autoHighlight=!0,this.originalWidth=0,this._debounceWidthUpdate=q((()=>{this.dropdown&&this.dropdown.isConnected&&(this.dynamicWidth&&this.adjustWidth(),Ut(this.dropdown))})),this._onTreeRender=()=>{this._debounceWidthUpdate()},this.tooltip=yt("og-tooltip"),this._onMouseOver=()=>{this.contentDiv&&this.contentDiv.scrollWidth>this.contentDiv.clientWidth&&(this.tooltip.parentElement||(document.body.appendChild(this.tooltip),Nt(this.tooltip,{w:this.button.offsetWidth})),this.tooltip.content=this.getSelectionHtml(),this.tooltip.attachTo(this.button,"bottom"))},this._onMouseOut=()=>{this.tooltip.deatach()},this._debounceFilter=q((t=>{this.tree.filter(t),this.dispatchEvent(new Jm("tree.filter"))}),300),this._onInput=async t=>{this.isOpen||await this.open();const e=t.target.value;this._debounceFilter(e),this.searchTerm=e},this._onInputKeyDown=t=>{switch(t.key){case"ArrowDown":t.preventDefault(),this.tree.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.tree.list.moveUp();break;case"Enter":if(t.preventDefault(),this.preventInputEnter)return;this.tree.list.selectedIndex>-1&&(this.tree.list.select(this.tree.list.selectedIndex,dp.Enter),setTimeout((()=>this.input.focus()),100))}},this._onInputBlur=()=>this.input.value=this.getSelectionText(),this.render=()=>ln`
|
|
3560
|
+
`;var nf=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};let af=class extends Lu{reset(){this._tree=null}get hasCrossButton(){return this.cross&&(this.selection.count>0&&this.options.allowEmpty||""!==this.searchTerm)}get tree(){return this._tree||(this._tree=new of,this._tree.disableAutoload=!0,this._tree.model=this.adapter?null:this.model,this._tree.adapter=this.adapter,this._tree.selection=this.selection,this._tree.options=this.options,this._tree.maxHeight=this.maxHeight,this._tree.addEventListener("change",(t=>this._onChange(t))),this._tree.addEventListener("render",this._onTreeRender),this._tree.slot="inner-content"),this._tree}_onChange(t){this._autoHighlight=!1,this.selectedItems=null,this.selectedItems=t.component.selection.items,this.value=t.component.selection.serialize(),this.options.autoClose&&this.close(),this.dispatchEvent(new Jm(t.type,{component:t.component,node:t.node}))}async open(){this.tree.parentElement!=this.dropdown&&this.dropdown.appendChild(this._tree),await super.open(),this.dynamicWidth&&this._debounceWidthUpdate()}async willUpdate(t){this.buttonInput&&(this.options.search=!1),t.has("value")&&(this.selection.setItems(this.value),this.selectedItems=null,this.selectedItems=this.selection.items,this.isOpen&&this.tree&&(this._autoHighlight?this.tree.highlightFirstSelectedNode():this._autoHighlight=!0,this.tree.renderItems(!0))),this._tree&&(t.has("adapter")&&(this._tree.adapter=this.adapter),t.has("model")&&(this._tree.model=this.model)),t.has("adapter")&&this.adapter&&(this._firstOpen=!0,this.options=Gm(await this.adapter.getOptions(),this.options)),this._renderDropdown=!0}async filter(t){this.input&&(this.searchTerm=t),await this.updateComplete,this.input&&(this.input.value=t),await this.tree.updateComplete,this.tree.filter(t)}async clearFilter(){this.input&&(this.searchTerm=""),await this.updateComplete,this.input&&(this.input.value=""),this.tree.clearFilter()}focus(){this.buttonInput?this.input?.focus():super.focus()}constructor(){super(),this.options=Gm(),this.selection=new Wm(this.options),this.maxHeight=300,this.maxWidth=400,this.cross=!1,this.buttonInput=!1,this.preventInputEnter=!1,this.dynamicWidth=!1,this.selectedItems=new Map,this.searchTerm="",this._renderDropdown=!0,this._firstOpen=!0,this._autoHighlight=!0,this.originalWidth=0,this._debounceWidthUpdate=q((()=>{this.dropdown&&this.dropdown.isConnected&&(this.dynamicWidth&&this.adjustWidth(),Ut(this.dropdown))})),this._onTreeRender=()=>{this._debounceWidthUpdate()},this.tooltip=yt("og-tooltip"),this._onMouseOver=()=>{this.contentDiv&&this.contentDiv.scrollWidth>this.contentDiv.clientWidth&&(this.tooltip.parentElement||(document.body.appendChild(this.tooltip),Nt(this.tooltip,{w:this.button.offsetWidth})),this.tooltip.content=this.getSelectionHtml(),this.tooltip.attachTo(this.button,"bottom"))},this._onMouseOut=()=>{this.tooltip.deatach()},this._debounceFilter=q((t=>{this.tree.filter(t),this.dispatchEvent(new Jm("tree.filter"))}),300),this._onInput=async t=>{this.isOpen||await this.open();const e=t.target.value;this._debounceFilter(e),this.searchTerm=e},this._onInputKeyDown=t=>{switch(t.key){case"ArrowDown":t.preventDefault(),this.tree.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.tree.list.moveUp();break;case"Enter":if(t.preventDefault(),this.preventInputEnter)return;this.tree.list.selectedIndex>-1&&(this.tree.list.select(this.tree.list.selectedIndex,dp.Enter),setTimeout((()=>this.input.focus()),100))}},this._onInputBlur=()=>this.input.value=this.getSelectionText(),this.render=()=>ln`
|
|
3561
3561
|
${this.buttonInput?ln`
|
|
3562
3562
|
<og-input
|
|
3563
3563
|
@input="${this._onInput}"
|
|
@@ -8045,7 +8045,7 @@ milkdown-block-handle {
|
|
|
8045
8045
|
flex: 0;
|
|
8046
8046
|
text-align: center;
|
|
8047
8047
|
}
|
|
8048
|
-
`,oz=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}([In("og-markdown-toolbar")],oz);class rz{constructor(t,e,i){KS.set(this,void 0),JS.set(this,void 0),tz.set(this,void 0),this.update=(t,e)=>{iz(this,KS,"f").update(t,e)},this.destroy=()=>{iz(this,KS,"f").destroy(),iz(this,tz,"f").remove()},this.hide=()=>{iz(this,KS,"f").hide()},ez(this,JS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>iz(this,KS,"f").hide())),o.ctx=t,o.md=i,ez(this,tz,o,"f"),ez(this,KS,new i.plugins.tooltip.TooltipProvider({content:iz(this,tz,"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"),iz(this,KS,"f").onShow=()=>{xt(iz(this,tz,"f")),iz(this,tz,"f").requestUpdate()},iz(this,KS,"f").onHide=()=>kt(iz(this,tz,"f")),this.update(e)}}function sz(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 nz(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function az(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)}(sz(i.tr),t,e);o(r.scrollIntoView())}return!0}}function lz(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&&kS.getSync().prose.transform.findWrapping(s,e,i);return n?t.wrap(s,n):null}(sz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function cz(t,e=null){return(i,o)=>{const r=nz(sz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}KS=new WeakMap,JS=new WeakMap,tz=new WeakMap;const hz=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(t.core.editorViewCtx);if(r&&!r.editable)return null;const s=i.get(e.key);if("doc"===s.mode&&(!((n=o.doc).childCount<=1)||n.firstChild?.content.size))return null;var n;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 a=s.text??$o("Start typing..."),l=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,a);return l?t.prose.view.DecorationSet.create(o.doc,[l]):null}}})));return{plugin:i,config:e}};class dz{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 Vf?(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 uz={};var pz,gz=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},mz=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)},fz=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 vz=class extends En{get content(){return mz(this,pz,"f")}set content(t){fz(this,pz,t,"f"),this.requestUpdate()}constructor(){super(),pz.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?ln`
|
|
8048
|
+
`,oz=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}([In("og-markdown-toolbar")],oz);class rz{constructor(t,e,i){KS.set(this,void 0),JS.set(this,void 0),tz.set(this,void 0),this.update=(t,e)=>{iz(this,KS,"f").update(t,e)},this.destroy=()=>{iz(this,KS,"f").destroy(),iz(this,tz,"f").remove()},this.hide=()=>{iz(this,KS,"f").hide()},ez(this,JS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>iz(this,KS,"f").hide())),o.ctx=t,o.md=i,ez(this,tz,o,"f"),ez(this,KS,new i.plugins.tooltip.TooltipProvider({content:iz(this,tz,"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"),iz(this,KS,"f").onShow=()=>{xt(iz(this,tz,"f")),iz(this,tz,"f").requestUpdate()},iz(this,KS,"f").onHide=()=>kt(iz(this,tz,"f")),this.update(e)}}function sz(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 nz(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function az(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)}(sz(i.tr),t,e);o(r.scrollIntoView())}return!0}}function lz(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&&kS.getSync().prose.transform.findWrapping(s,e,i);return n?t.wrap(s,n):null}(sz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function cz(t,e=null){return(i,o)=>{const r=nz(sz(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}KS=new WeakMap,JS=new WeakMap,tz=new WeakMap;const hz=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(t.core.editorViewCtx);if(r&&!1===r.editable)return null;const s=i.get(e.key);if("doc"===s.mode&&(!((n=o.doc).childCount<=1)||n.firstChild?.content.size))return null;var n;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 a=s.text??$o("Start typing..."),l=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,a);return l?t.prose.view.DecorationSet.create(o.doc,[l]):null}}})));return{plugin:i,config:e}};class dz{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 Vf?(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 uz={};var pz,gz=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},mz=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)},fz=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 vz=class extends En{get content(){return mz(this,pz,"f")}set content(t){fz(this,pz,t,"f"),this.requestUpdate()}constructor(){super(),pz.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?ln`
|
|
8049
8049
|
<div class="title">Raw HTML</div>
|
|
8050
8050
|
<div class="body">
|
|
8051
8051
|
${this.editing?ln`
|
|
@@ -9953,4 +9953,4 @@ milkdown-block-handle {
|
|
|
9953
9953
|
`:null}
|
|
9954
9954
|
</div>
|
|
9955
9955
|
</og-panel>
|
|
9956
|
-
`: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?Sv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?Sv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=Sv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Qr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};TL.styles=[IL],RL([$n({type:Object})],TL.prototype,"model",void 0),RL([An()],TL.prototype,"editTitle",void 0),RL([On("#title")],TL.prototype,"titleInput",void 0),RL([On("#type")],TL.prototype,"typeList",void 0),RL([On("#dataRange")],TL.prototype,"dataRangeInput",void 0),RL([On("#seriesRange")],TL.prototype,"seriesRangeInput",void 0),RL([On("#categoryRange")],TL.prototype,"categoryRangeInput",void 0),TL=RL([In("og-plugin-chart-form")],TL);const $L=Qa().themes.get("og-dark");Object.assign($L.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 AL=Qa().themes.get("og-light");Object.assign(AL.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 DL=i(6946),OL=i(6471),NL=i(4969),PL=i(9502),jL=i(7706),HL=i(1480),FL=i(2006),BL=i(7503),WL=i(7873),VL=i(8746),UL=i(2570),GL=i(8815),qL=i(6390),YL=i(6593),ZL=i(895),XL=i(9083),QL=i(6093),KL=i(9685),JL=i(9849),tI=i(8268),eI=i(4693),iI=i(3599),oI=i(782),rI=i(754),sI=i(5700),nI=i(4731),aI=i(7291),lI=i(597),cI=i(1474),hI=i(6224),dI=i(6239),uI=i(6828),pI=i(2212),gI=i(863),mI=i(3602),fI=i(1985),vI=i(886),bI=i(7201),yI=i(9937),wI=i(8450),xI=i(9630),kI=i(9766),CI=i(388),MI=i(1903),_I=i(398),SI=i(6105),zI=i(6147),EI=i(5722),LI=i(5576),II=i(3131),RI=i(6308),TI=i(9645),$I=i(3199),AI=i(871),DI=i(5251),OI=i(6426),NI=i(2643),PI=i(8522),jI=i(6398),HI=i(2525),FI=i(8434),BI=i(6138),WI=i(5835),VI=i(5654),UI=i(6659),GI=i(2977),qI=i(4480),YI=i(9886),ZI=i(6815),XI=i(1582),QI=i(2968),KI=i(394),JI=i(7024),tR=i(7853),eR=i(8249),iR=i(2869),oR=i(486),rR=i(5735),sR=i(470),nR=i(4612),aR=i(4018),lR=i(1476),cR=i(3194),hR=i(3525),dR=i(7541),uR=i(4104),pR=i(6686),gR=i(7719),mR=i(3898),fR=i(8153),vR=i(3690),bR=i(1776),yR=i(4980),wR=i(5578),xR=i(9613),kR=i(1119),CR=i(8444),MR=i(2978),_R=i(9130),SR=i(2127),zR=i(2732),ER=i(4287),LR=i(4045),IR=i(7642),RR=i(1367),TR=i(320),$R=i(821),AR=i(102),DR=i(7683),OR=i(3980),NR=i(576),PR=i(654),jR=i(73),HR=i(140),FR=i(8129),BR=i(5087),WR=i(6992),VR=i(8247),UR=i(8038),GR=i(5286),qR=i(9179),YR=i(1808),ZR=i(9459),XR=i(2883),QR=i(9124),KR=i(7067),JR=i(1054),tT=i(7325),eT=i(1272),iT=i(3359),oT=i(6562),rT=i(4193),sT=i(6348),nT=i(2435),aT=i(7544),lT=i(4470),cT=i(9111),hT=i(9318),dT=i(7294),uT=i(4479),pT=i(2409),gT=i(3091),mT=i(5789),fT=i(5890),vT=i(3874),bT=i(2907),yT=i(1175),wT=i(1686),xT=i(703),kT=i(6606),CT=i(4194),MT=i(6228),_T=i(62),ST=i(2072),zT=i(9744),ET=i(25),LT=i(2618),IT=i(1988),RT=i(8013),TT=i(1133),$T=i(362),AT=i(6845),DT=i(6800),OT=i(1103),NT=i(4933),PT=i(7284),jT=i(2620),HT=i(2366),FT=i(7457),BT=i(2449),WT=i(2),VT=i(5697),UT=i(7069),GT=i(4716),qT=i(4740),YT=i(4557),ZT=i(1868),XT=i(8647),QT=i(5127),KT=i(4816),JT=i(4009),t$=i(5104),e$=i(2830),i$=i(3093),o$=i(5029),r$=i(3514),s$=i(2142),n$=i(4999),a$=i(7523),l$=i(346),c$=i(7917),h$=i(3976),d$=i(9801),u$=i(2464),p$=i(5511),g$=i(5210),m$=i(5815),f$=i(3339),v$=i(7472),b$=i(8811),y$=i(8548),w$=i(6880),x$=i(1840),k$=i(5547),C$=i(4788),M$=i(9467),_$=i(9187),S$=i(9217),z$=i(7897),E$=i(2644),L$=i(6204),I$=i(1472),R$=i(1247),T$=i(7406),$$=i(925),A$=i(7455),D$=i(3771),O$=i(1549),N$=i(3541),P$=i(3140),j$=i(9800),H$=i(229),F$=i(2677),B$=i(1844),W$=i(3245),V$=i(9056),U$=i(7535),G$=i(2359),q$=i(15),Y$=i(5569),Z$=i(2014),X$=i(1599),Q$=i(6521),K$=i(232),J$=i(9745),tA=i(9594),eA=i(6979),iA=i(4494),oA=i(312),rA=i(4983),sA=i(1258),nA=i(6313),aA=i(12),lA=i(8003),cA=i(7830),hA=i(8875),dA=i(3911),uA=i(1817),pA=i(478),gA=i(2585),mA=i(6564),fA=i(2884),vA=i(3825),bA=i(7348),yA=i(9277),wA=i(4118),xA=i(9200),kA=i(51),CA=i(2872),MA=i(4702),_A=i(9281),SA=i(1394),zA=i(7295),EA=i(2936),LA=i(3789),IA=i(3614),RA=i(4827),TA=i(9204),$A=i(9113),AA=i(4058),DA=i(9939),OA=i(1139);const NA=[DL.mw,OL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,VL.mw,GL.mw,UL.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,hI.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,MI.mw,SI.mw,_I.mw,zI.mw,EI.mw,LI.mw,II.mw,RI.mw,TI.mw,$I.mw,AI.mw,DI.mw,OI.mw,NI.mw,PI.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,jI.mw,sR.mw,nR.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,CR.mw,MR.mw,_R.mw,SR.mw,zR.mw,ER.mw,LR.mw,IR.mw,RR.mw,TR.mw,$R.mw,AR.mw,DR.mw,OR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,dI.mw,GR.mw,qR.mw,YR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,iT.mw,oT.mw,rT.mw,sT.mw,nT.mw,WL.mw,aT.mw,lT.mw],PA=[cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,bT.mw,wT.mw,yT.mw,kT.mw,xT.mw,CT.mw,MT.mw,_T.mw,ST.mw,zT.mw,ET.mw,LT.mw,IT.mw,RT.mw,OT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,VT.mw,UT.mw,GT.mw,QT.mw,KT.mw,JT.mw,t$.mw,e$.mw,i$.mw,o$.mw,r$.mw,TT.mw,$T.mw,DT.mw,AT.mw,s$.mw,n$.mw,a$.mw,l$.mw,c$.mw,h$.mw,d$.mw,u$.mw,qT.mw,YT.mw,ZT.mw,XT.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,T$.mw,p$.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,yA.mw,WT.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,AA.mw,vT.mw,DA.mw,OA.mw],jA={xlsx:F,charts:B},HA={name:"@omegagrid/bundle",version:"0.10.
|
|
9956
|
+
`: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?Sv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?Sv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=Sv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Qr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};TL.styles=[IL],RL([$n({type:Object})],TL.prototype,"model",void 0),RL([An()],TL.prototype,"editTitle",void 0),RL([On("#title")],TL.prototype,"titleInput",void 0),RL([On("#type")],TL.prototype,"typeList",void 0),RL([On("#dataRange")],TL.prototype,"dataRangeInput",void 0),RL([On("#seriesRange")],TL.prototype,"seriesRangeInput",void 0),RL([On("#categoryRange")],TL.prototype,"categoryRangeInput",void 0),TL=RL([In("og-plugin-chart-form")],TL);const $L=Qa().themes.get("og-dark");Object.assign($L.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 AL=Qa().themes.get("og-light");Object.assign(AL.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 DL=i(6946),OL=i(6471),NL=i(4969),PL=i(9502),jL=i(7706),HL=i(1480),FL=i(2006),BL=i(7503),WL=i(7873),VL=i(8746),UL=i(2570),GL=i(8815),qL=i(6390),YL=i(6593),ZL=i(895),XL=i(9083),QL=i(6093),KL=i(9685),JL=i(9849),tI=i(8268),eI=i(4693),iI=i(3599),oI=i(782),rI=i(754),sI=i(5700),nI=i(4731),aI=i(7291),lI=i(597),cI=i(1474),hI=i(6224),dI=i(6239),uI=i(6828),pI=i(2212),gI=i(863),mI=i(3602),fI=i(1985),vI=i(886),bI=i(7201),yI=i(9937),wI=i(8450),xI=i(9630),kI=i(9766),CI=i(388),MI=i(1903),_I=i(398),SI=i(6105),zI=i(6147),EI=i(5722),LI=i(5576),II=i(3131),RI=i(6308),TI=i(9645),$I=i(3199),AI=i(871),DI=i(5251),OI=i(6426),NI=i(2643),PI=i(8522),jI=i(6398),HI=i(2525),FI=i(8434),BI=i(6138),WI=i(5835),VI=i(5654),UI=i(6659),GI=i(2977),qI=i(4480),YI=i(9886),ZI=i(6815),XI=i(1582),QI=i(2968),KI=i(394),JI=i(7024),tR=i(7853),eR=i(8249),iR=i(2869),oR=i(486),rR=i(5735),sR=i(470),nR=i(4612),aR=i(4018),lR=i(1476),cR=i(3194),hR=i(3525),dR=i(7541),uR=i(4104),pR=i(6686),gR=i(7719),mR=i(3898),fR=i(8153),vR=i(3690),bR=i(1776),yR=i(4980),wR=i(5578),xR=i(9613),kR=i(1119),CR=i(8444),MR=i(2978),_R=i(9130),SR=i(2127),zR=i(2732),ER=i(4287),LR=i(4045),IR=i(7642),RR=i(1367),TR=i(320),$R=i(821),AR=i(102),DR=i(7683),OR=i(3980),NR=i(576),PR=i(654),jR=i(73),HR=i(140),FR=i(8129),BR=i(5087),WR=i(6992),VR=i(8247),UR=i(8038),GR=i(5286),qR=i(9179),YR=i(1808),ZR=i(9459),XR=i(2883),QR=i(9124),KR=i(7067),JR=i(1054),tT=i(7325),eT=i(1272),iT=i(3359),oT=i(6562),rT=i(4193),sT=i(6348),nT=i(2435),aT=i(7544),lT=i(4470),cT=i(9111),hT=i(9318),dT=i(7294),uT=i(4479),pT=i(2409),gT=i(3091),mT=i(5789),fT=i(5890),vT=i(3874),bT=i(2907),yT=i(1175),wT=i(1686),xT=i(703),kT=i(6606),CT=i(4194),MT=i(6228),_T=i(62),ST=i(2072),zT=i(9744),ET=i(25),LT=i(2618),IT=i(1988),RT=i(8013),TT=i(1133),$T=i(362),AT=i(6845),DT=i(6800),OT=i(1103),NT=i(4933),PT=i(7284),jT=i(2620),HT=i(2366),FT=i(7457),BT=i(2449),WT=i(2),VT=i(5697),UT=i(7069),GT=i(4716),qT=i(4740),YT=i(4557),ZT=i(1868),XT=i(8647),QT=i(5127),KT=i(4816),JT=i(4009),t$=i(5104),e$=i(2830),i$=i(3093),o$=i(5029),r$=i(3514),s$=i(2142),n$=i(4999),a$=i(7523),l$=i(346),c$=i(7917),h$=i(3976),d$=i(9801),u$=i(2464),p$=i(5511),g$=i(5210),m$=i(5815),f$=i(3339),v$=i(7472),b$=i(8811),y$=i(8548),w$=i(6880),x$=i(1840),k$=i(5547),C$=i(4788),M$=i(9467),_$=i(9187),S$=i(9217),z$=i(7897),E$=i(2644),L$=i(6204),I$=i(1472),R$=i(1247),T$=i(7406),$$=i(925),A$=i(7455),D$=i(3771),O$=i(1549),N$=i(3541),P$=i(3140),j$=i(9800),H$=i(229),F$=i(2677),B$=i(1844),W$=i(3245),V$=i(9056),U$=i(7535),G$=i(2359),q$=i(15),Y$=i(5569),Z$=i(2014),X$=i(1599),Q$=i(6521),K$=i(232),J$=i(9745),tA=i(9594),eA=i(6979),iA=i(4494),oA=i(312),rA=i(4983),sA=i(1258),nA=i(6313),aA=i(12),lA=i(8003),cA=i(7830),hA=i(8875),dA=i(3911),uA=i(1817),pA=i(478),gA=i(2585),mA=i(6564),fA=i(2884),vA=i(3825),bA=i(7348),yA=i(9277),wA=i(4118),xA=i(9200),kA=i(51),CA=i(2872),MA=i(4702),_A=i(9281),SA=i(1394),zA=i(7295),EA=i(2936),LA=i(3789),IA=i(3614),RA=i(4827),TA=i(9204),$A=i(9113),AA=i(4058),DA=i(9939),OA=i(1139);const NA=[DL.mw,OL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,VL.mw,GL.mw,UL.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,hI.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,MI.mw,SI.mw,_I.mw,zI.mw,EI.mw,LI.mw,II.mw,RI.mw,TI.mw,$I.mw,AI.mw,DI.mw,OI.mw,NI.mw,PI.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,jI.mw,sR.mw,nR.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,CR.mw,MR.mw,_R.mw,SR.mw,zR.mw,ER.mw,LR.mw,IR.mw,RR.mw,TR.mw,$R.mw,AR.mw,DR.mw,OR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,dI.mw,GR.mw,qR.mw,YR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,iT.mw,oT.mw,rT.mw,sT.mw,nT.mw,WL.mw,aT.mw,lT.mw],PA=[cT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,bT.mw,wT.mw,yT.mw,kT.mw,xT.mw,CT.mw,MT.mw,_T.mw,ST.mw,zT.mw,ET.mw,LT.mw,IT.mw,RT.mw,OT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,VT.mw,UT.mw,GT.mw,QT.mw,KT.mw,JT.mw,t$.mw,e$.mw,i$.mw,o$.mw,r$.mw,TT.mw,$T.mw,DT.mw,AT.mw,s$.mw,n$.mw,a$.mw,l$.mw,c$.mw,h$.mw,d$.mw,u$.mw,qT.mw,YT.mw,ZT.mw,XT.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,T$.mw,p$.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,yA.mw,WT.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,AA.mw,vT.mw,DA.mw,OA.mw],jA={xlsx:F,charts:B},HA={name:"@omegagrid/bundle",version:"0.10.44"};Qa().activate("light"),Fd.styleDefault="fal",Bd.add(NA),Bd.add(PA)})(),window.Omegagrid=o})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/bundle",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.44",
|
|
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.
|
|
23
|
-
"@omegagrid/calendar": "^0.10.
|
|
24
|
-
"@omegagrid/code": "^0.10.
|
|
25
|
-
"@omegagrid/commands": "^0.10.
|
|
26
|
-
"@omegagrid/core": "^0.10.
|
|
27
|
-
"@omegagrid/dialog": "^0.10.
|
|
28
|
-
"@omegagrid/editor": "^0.10.
|
|
29
|
-
"@omegagrid/form": "^0.10.
|
|
30
|
-
"@omegagrid/grid": "^0.10.
|
|
31
|
-
"@omegagrid/localize": "^0.10.
|
|
32
|
-
"@omegagrid/markdown": "^0.10.
|
|
33
|
-
"@omegagrid/plugin-charts": "^0.10.
|
|
34
|
-
"@omegagrid/plugin-xlsx": "^0.10.
|
|
35
|
-
"@omegagrid/statusbar": "^0.10.
|
|
36
|
-
"@omegagrid/tabs": "^0.10.
|
|
37
|
-
"@omegagrid/toolbar": "^0.10.
|
|
38
|
-
"@omegagrid/tree": "^0.10.
|
|
22
|
+
"@omegagrid/bucket": "^0.10.44",
|
|
23
|
+
"@omegagrid/calendar": "^0.10.44",
|
|
24
|
+
"@omegagrid/code": "^0.10.44",
|
|
25
|
+
"@omegagrid/commands": "^0.10.44",
|
|
26
|
+
"@omegagrid/core": "^0.10.44",
|
|
27
|
+
"@omegagrid/dialog": "^0.10.44",
|
|
28
|
+
"@omegagrid/editor": "^0.10.44",
|
|
29
|
+
"@omegagrid/form": "^0.10.44",
|
|
30
|
+
"@omegagrid/grid": "^0.10.44",
|
|
31
|
+
"@omegagrid/localize": "^0.10.44",
|
|
32
|
+
"@omegagrid/markdown": "^0.10.44",
|
|
33
|
+
"@omegagrid/plugin-charts": "^0.10.44",
|
|
34
|
+
"@omegagrid/plugin-xlsx": "^0.10.44",
|
|
35
|
+
"@omegagrid/statusbar": "^0.10.44",
|
|
36
|
+
"@omegagrid/tabs": "^0.10.44",
|
|
37
|
+
"@omegagrid/toolbar": "^0.10.44",
|
|
38
|
+
"@omegagrid/tree": "^0.10.44",
|
|
39
39
|
"lit": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|