@odoo/o-spreadsheet 15.2.11 → 15.2.12

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.
@@ -15876,7 +15876,7 @@ const CSS$i = css$k /* scss */ `
15876
15876
  }
15877
15877
  .o-input-count {
15878
15878
  width: fit-content;
15879
- padding: 4 0 4 4;
15879
+ padding: 4px 0 4px 4px;
15880
15880
  }
15881
15881
  }
15882
15882
  }
@@ -26090,10 +26090,13 @@ class Popover extends owl.Component {
26090
26090
  super(...arguments);
26091
26091
  this.getters = this.env.getters;
26092
26092
  }
26093
+ get maxHeight() {
26094
+ return Math.max(0, this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1);
26095
+ }
26093
26096
  get style() {
26094
26097
  const horizontalPosition = `left:${this.horizontalPosition()}`;
26095
26098
  const verticalPosition = `top:${this.verticalPosition()}`;
26096
- const height = `max-height:${this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1}`;
26099
+ const height = `max-height:${this.maxHeight}`;
26097
26100
  return `
26098
26101
  position: absolute;
26099
26102
  z-index: 5;
@@ -26115,7 +26118,8 @@ class Popover extends owl.Component {
26115
26118
  }
26116
26119
  get shouldRenderBottom() {
26117
26120
  const { y } = this.props.position;
26118
- return y + this.props.childHeight < this.viewportDimension.height + TOPBAR_HEIGHT;
26121
+ return (y + Math.min(this.props.childHeight, this.maxHeight) <
26122
+ this.viewportDimension.height + TOPBAR_HEIGHT);
26119
26123
  }
26120
26124
  horizontalPosition() {
26121
26125
  const { x } = this.props.position;
@@ -31385,6 +31389,6 @@ exports.registries = registries;
31385
31389
  exports.setTranslationMethod = setTranslationMethod;
31386
31390
 
31387
31391
 
31388
- __info__.version = '15.2.11';
31389
- __info__.date = '2023-10-19T14:17:12.583Z';
31390
- __info__.hash = 'e13740a';
31392
+ __info__.version = '15.2.12';
31393
+ __info__.date = '2023-11-16T11:57:04.728Z';
31394
+ __info__.hash = 'd0fd7c1';
@@ -4088,6 +4088,7 @@ declare class Popover extends Component<Props$g, SpreadsheetEnv> {
4088
4088
  marginTop: number;
4089
4089
  };
4090
4090
  private getters;
4091
+ get maxHeight(): number;
4091
4092
  get style(): string;
4092
4093
  private get viewportDimension();
4093
4094
  private get shouldRenderRight();
@@ -15853,7 +15853,7 @@ const CSS$i = css$k /* scss */ `
15853
15853
  }
15854
15854
  .o-input-count {
15855
15855
  width: fit-content;
15856
- padding: 4 0 4 4;
15856
+ padding: 4px 0 4px 4px;
15857
15857
  }
15858
15858
  }
15859
15859
  }
@@ -26067,10 +26067,13 @@ class Popover extends Component {
26067
26067
  super(...arguments);
26068
26068
  this.getters = this.env.getters;
26069
26069
  }
26070
+ get maxHeight() {
26071
+ return Math.max(0, this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1);
26072
+ }
26070
26073
  get style() {
26071
26074
  const horizontalPosition = `left:${this.horizontalPosition()}`;
26072
26075
  const verticalPosition = `top:${this.verticalPosition()}`;
26073
- const height = `max-height:${this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1}`;
26076
+ const height = `max-height:${this.maxHeight}`;
26074
26077
  return `
26075
26078
  position: absolute;
26076
26079
  z-index: 5;
@@ -26092,7 +26095,8 @@ class Popover extends Component {
26092
26095
  }
26093
26096
  get shouldRenderBottom() {
26094
26097
  const { y } = this.props.position;
26095
- return y + this.props.childHeight < this.viewportDimension.height + TOPBAR_HEIGHT;
26098
+ return (y + Math.min(this.props.childHeight, this.maxHeight) <
26099
+ this.viewportDimension.height + TOPBAR_HEIGHT);
26096
26100
  }
26097
26101
  horizontalPosition() {
26098
26102
  const { x } = this.props.position;
@@ -31339,6 +31343,6 @@ const helpers = {
31339
31343
  export { CommandResult, CorePlugin, DATETIME_FORMAT, DataSource, DispatchResult, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, DEBUG as __DEBUG__, __info__, astToFormula, cellTypes, compile, convertAstNodes, coreTypes, functionCache, helpers, invalidateEvaluationCommands, parse, readonlyAllowedCommands, registries, setTranslationMethod };
31340
31344
 
31341
31345
 
31342
- __info__.version = '15.2.11';
31343
- __info__.date = '2023-10-19T14:17:12.583Z';
31344
- __info__.hash = 'e13740a';
31346
+ __info__.version = '15.2.12';
31347
+ __info__.date = '2023-11-16T11:57:04.728Z';
31348
+ __info__.hash = 'd0fd7c1';
@@ -15873,7 +15873,7 @@
15873
15873
  }
15874
15874
  .o-input-count {
15875
15875
  width: fit-content;
15876
- padding: 4 0 4 4;
15876
+ padding: 4px 0 4px 4px;
15877
15877
  }
15878
15878
  }
15879
15879
  }
@@ -26087,10 +26087,13 @@
26087
26087
  super(...arguments);
26088
26088
  this.getters = this.env.getters;
26089
26089
  }
26090
+ get maxHeight() {
26091
+ return Math.max(0, this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1);
26092
+ }
26090
26093
  get style() {
26091
26094
  const horizontalPosition = `left:${this.horizontalPosition()}`;
26092
26095
  const verticalPosition = `top:${this.verticalPosition()}`;
26093
- const height = `max-height:${this.viewportDimension.height - BOTTOMBAR_HEIGHT - SCROLLBAR_WIDTH$1}`;
26096
+ const height = `max-height:${this.maxHeight}`;
26094
26097
  return `
26095
26098
  position: absolute;
26096
26099
  z-index: 5;
@@ -26112,7 +26115,8 @@
26112
26115
  }
26113
26116
  get shouldRenderBottom() {
26114
26117
  const { y } = this.props.position;
26115
- return y + this.props.childHeight < this.viewportDimension.height + TOPBAR_HEIGHT;
26118
+ return (y + Math.min(this.props.childHeight, this.maxHeight) <
26119
+ this.viewportDimension.height + TOPBAR_HEIGHT);
26116
26120
  }
26117
26121
  horizontalPosition() {
26118
26122
  const { x } = this.props.position;
@@ -31384,9 +31388,9 @@
31384
31388
  Object.defineProperty(exports, '__esModule', { value: true });
31385
31389
 
31386
31390
 
31387
- __info__.version = '15.2.11';
31388
- __info__.date = '2023-10-19T14:17:12.583Z';
31389
- __info__.hash = 'e13740a';
31391
+ __info__.version = '15.2.12';
31392
+ __info__.date = '2023-11-16T11:57:04.728Z';
31393
+ __info__.hash = 'd0fd7c1';
31390
31394
 
31391
31395
 
31392
31396
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
@@ -1041,7 +1041,7 @@
1041
1041
  }
1042
1042
  .o-input-count {
1043
1043
  width: fit-content;
1044
- padding: 4 0 4 4;
1044
+ padding: 4px 0 4px 4px;
1045
1045
  }
1046
1046
  }
1047
1047
  }
@@ -1454,7 +1454,7 @@
1454
1454
  <t t-slot="default"/>
1455
1455
  </div>
1456
1456
  </Portal>
1457
- `;class zu extends t.Component{constructor(){super(...arguments),this.getters=this.env.getters}get style(){const e=`left:${this.horizontalPosition()}`;return`\n position: absolute;\n z-index: 5;\n ${`top:${this.verticalPosition()}`}px;\n ${e}px;\n ${"max-height:"+(this.viewportDimension.height-36-C)}px;\n width:${this.props.childWidth}px;\n overflow-y: auto;\n overflow-x: hidden;\n box-shadow: 1px 2px 5px 2px rgb(51 51 51 / 15%);\n `}get viewportDimension(){return this.getters.getViewportDimensionWithHeaders()}get shouldRenderRight(){const{x:e}=this.props.position;return e+this.props.childWidth<this.viewportDimension.width}get shouldRenderBottom(){const{y:e}=this.props.position;return e+this.props.childHeight<this.viewportDimension.height+E}horizontalPosition(){const{x:e}=this.props.position;return this.shouldRenderRight?e:e-this.props.childWidth-this.props.flipHorizontalOffset}verticalPosition(){const{y:e}=this.props.position;return this.shouldRenderBottom?e:Math.max(e-this.props.childHeight+this.props.flipVerticalOffset,this.props.marginTop)}}zu.template=Hu,zu.components={Portal:Vu},zu.defaultProps={flipHorizontalOffset:0,flipVerticalOffset:0,verticalOffset:0,marginTop:0};const{xml:Zu,css:Gu}=t.tags,{useExternalListener:Wu,useRef:qu,onWillUpdateProps:ju}=t.hooks,Xu=Zu`
1457
+ `;class zu extends t.Component{constructor(){super(...arguments),this.getters=this.env.getters}get maxHeight(){return Math.max(0,this.viewportDimension.height-36-C)}get style(){const e=`left:${this.horizontalPosition()}`;return`\n position: absolute;\n z-index: 5;\n ${`top:${this.verticalPosition()}`}px;\n ${e}px;\n ${`max-height:${this.maxHeight}`}px;\n width:${this.props.childWidth}px;\n overflow-y: auto;\n overflow-x: hidden;\n box-shadow: 1px 2px 5px 2px rgb(51 51 51 / 15%);\n `}get viewportDimension(){return this.getters.getViewportDimensionWithHeaders()}get shouldRenderRight(){const{x:e}=this.props.position;return e+this.props.childWidth<this.viewportDimension.width}get shouldRenderBottom(){const{y:e}=this.props.position;return e+Math.min(this.props.childHeight,this.maxHeight)<this.viewportDimension.height+E}horizontalPosition(){const{x:e}=this.props.position;return this.shouldRenderRight?e:e-this.props.childWidth-this.props.flipHorizontalOffset}verticalPosition(){const{y:e}=this.props.position;return this.shouldRenderBottom?e:Math.max(e-this.props.childHeight+this.props.flipVerticalOffset,this.props.marginTop)}}zu.template=Hu,zu.components={Portal:Vu},zu.defaultProps={flipHorizontalOffset:0,flipVerticalOffset:0,verticalOffset:0,marginTop:0};const{xml:Zu,css:Gu}=t.tags,{useExternalListener:Wu,useRef:qu,onWillUpdateProps:ju}=t.hooks,Xu=Zu`
1458
1458
  <Popover
1459
1459
  position="props.position"
1460
1460
  childWidth="${I}"
@@ -3087,4 +3087,4 @@
3087
3087
  height: ${15}px;
3088
3088
  vertical-align: sub;
3089
3089
  }
3090
- `;class qf extends t.Component{constructor(e,s={}){super(e,s),this.model=new ku(this.props.data,{evalContext:{env:this.env},transportService:this.props.transportService,client:this.props.client,isReadonly:this.props.isReadonly,snapshotRequested:this.props.snapshotRequested},this.props.stateUpdateMessages),this.sidePanel=t.useState({isOpen:!1,panelProps:{}}),this.linkEditor=t.useState({isOpen:!1}),this.composer=t.useState({topBarFocus:"inactive",gridFocusMode:"inactive"}),this.keyDownMapping={"CTRL+H":()=>this.toggleSidePanel("FindAndReplace",{}),"CTRL+F":()=>this.toggleSidePanel("FindAndReplace",{})},Uf({openSidePanel:(e,t={})=>this.openSidePanel(e,t),toggleSidePanel:(e,t={})=>this.toggleSidePanel(e,t),dispatch:this.model.dispatch,getters:this.model.getters,uuidGenerator:this.model.uuidGenerator,_t:qf._t,clipboard:navigator.clipboard,export:this.model.exportData.bind(this.model),waitForIdle:this.model.waitForIdle.bind(this.model),exportXLSX:this.model.exportXLSX.bind(this.model),openLinkEditor:()=>this.openLinkEditor()}),this.activateFirstSheet()}setup(){Pf(window,"resize",this.render),Pf(document.body,"keyup",this.onKeyup.bind(this)),Pf(window,"beforeunload",this.leaveCollaborativeSession.bind(this)),Vf((()=>this.initiateModelEvents())),Bf((()=>this.leaveCollaborativeSession())),Hf((e=>this.checkReadonly(e)))}get focusTopBarComposer(){return"inactive"===this.model.getters.getEditionMode()?"inactive":this.composer.topBarFocus}get focusGridComposer(){return"inactive"===this.model.getters.getEditionMode()?"inactive":this.composer.gridFocusMode}initiateModelEvents(){this.model.on("update",this,this.render),this.model.on("notify-ui",this,this.onNotifyUI),this.model.on("unexpected-revision-id",this,(()=>this.trigger("unexpected-revision-id"))),this.props.client&&this.model.joinSession(this.props.client)}onNotifyUI(e){if("NOTIFICATION"===e.type)this.env.notifyUser(e.text)}checkReadonly(e){this.props.isReadonly!==e.isReadonly&&this.model.updateReadOnly(e.isReadonly)}leaveCollaborativeSession(){this.model.off("update",this),this.model.leaveSession()}activateFirstSheet(){const e=this.model.getters.getActiveSheetId(),[t]=this.model.getters.getSheets();t.id!==e&&this.model.dispatch("ACTIVATE_SHEET",{sheetIdFrom:e,sheetIdTo:t.id})}destroy(){this.model.destroy(),super.destroy()}openSidePanel(e,t){this.sidePanel.component=e,this.sidePanel.panelProps=t,this.sidePanel.isOpen=!0}closeSidePanel(){this.sidePanel.isOpen=!1,this.focusGrid()}openLinkEditor(){this.linkEditor.isOpen=!0}closeLinkEditor(){this.linkEditor.isOpen=!1,this.focusGrid()}toggleSidePanel(e,t){this.sidePanel.isOpen&&e===this.sidePanel.component?(this.sidePanel.isOpen=!1,this.focusGrid()):this.openSidePanel(e,t)}focusGrid(){if(!this._focusGrid)throw new Error("_focusGrid should be exposed by the grid component");this._focusGrid()}save(){this.trigger("save-content",{data:this.model.exportData()})}onKeyup(e){"Control"===e.key&&this.model.getters.getSelectionMode()!==Lh.expanding&&this.model.dispatch("STOP_SELECTION")}onKeydown(e){"Control"!==e.key||e.repeat||this.model.dispatch(this.model.getters.getSelectionMode()===Lh.idle?"PREPARE_SELECTION_EXPANSION":"START_SELECTION_EXPANSION");let t="";(e.ctrlKey||e.metaKey)&&(t+="CTRL+"),t+=e.key.toUpperCase();let s=this.keyDownMapping[t];if(s)return e.preventDefault(),e.stopPropagation(),void s()}onTopBarComposerFocused(e){this.model.getters.isReadonly()||(this.composer.topBarFocus="contentFocus",this.composer.gridFocusMode="inactive",this.setComposerContent({selection:e}||{}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}onGridComposerContentFocused(){this.model.getters.isReadonly()||(this.composer.topBarFocus="inactive",this.composer.gridFocusMode="contentFocus",this.setComposerContent({}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}onGridComposerCellFocused(e,t){this.model.getters.isReadonly()||(this.composer.topBarFocus="inactive",this.composer.gridFocusMode="cellFocus",this.setComposerContent({content:e,selection:t}||{}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}setComposerContent({content:e,selection:t}){"inactive"===this.model.getters.getEditionMode()?this.model.dispatch("START_EDITION",{text:e,selection:t}):e&&this.model.dispatch("SET_CURRENT_CONTENT",{content:e,selection:t})}}qf.template=Gf,qf.style=Wf,qf.components={TopBar:Df,Grid:wf,BottomBar:np,SidePanel:Af,LinkEditor:tf},qf._t=e=>e;const jf={},Xf={MIN_ROW_HEIGHT:10,MIN_COL_WIDTH:5,HEADER_HEIGHT:m,HEADER_WIDTH:v,TOPBAR_HEIGHT:E,BOTTOMBAR_HEIGHT:36,DEFAULT_CELL_WIDTH:b,DEFAULT_CELL_HEIGHT:S,SCROLLBAR_WIDTH:C},Yf={autofillModifiersRegistry:Ma,autofillRulesRegistry:Aa,cellMenuRegistry:fl,colMenuRegistry:ml,linkMenuRegistry:vl,functionRegistry:hr,uiPluginRegistry:ld,corePluginRegistry:ad,rowMenuRegistry:El,sidePanelRegistry:Sh,sheetMenuRegistry:Sl,topbarMenuRegistry:Cl,topbarComponentRegistry:Ch,otRegistry:yl,inverseCommandRegistry:Oa,cellRegistry:qr},Kf={LinkCell:sa},Qf={args:Oe,toBoolean:fe,toNumber:de,toString:pe,toXC:is,toZone:qs,toCartesian:os,numberToLetters:ss,createFullMenuItem:Fa,UuidGenerator:Hs,formatDecimal:ae,computeTextWidth:vs,isMarkdownLink:xs,parseMarkdownLink:Rs,markdownLink:Ts,createEmptyWorkbookData:fa};e.CorePlugin=va,e.DATETIME_FORMAT=_,e.DataSource=dd,e.DispatchResult=Ve,e.Model=ku,e.Registry=Me,e.Revision=Qh,e.SPREADSHEET_DIMENSIONS=Xf,e.Spreadsheet=qf,e.UIPlugin=yh,e.__DEBUG__=Os,e.__info__=jf,e.astToFormula=$r,e.cellTypes=Kf,e.compile=Gr,e.convertAstNodes=Fr,e.coreTypes=Pe,e.functionCache=Zr,e.helpers=Qf,e.invalidateEvaluationCommands=$e,e.parse=Nr,e.readonlyAllowedCommands=De,e.registries=Yf,e.setTranslationMethod=function(e){i=e},Object.defineProperty(e,"__esModule",{value:!0}),jf.version="15.2.11",jf.date="2023-10-19T14:17:12.583Z",jf.hash="e13740a"}(this.o_spreadsheet=this.o_spreadsheet||{},owl);
3090
+ `;class qf extends t.Component{constructor(e,s={}){super(e,s),this.model=new ku(this.props.data,{evalContext:{env:this.env},transportService:this.props.transportService,client:this.props.client,isReadonly:this.props.isReadonly,snapshotRequested:this.props.snapshotRequested},this.props.stateUpdateMessages),this.sidePanel=t.useState({isOpen:!1,panelProps:{}}),this.linkEditor=t.useState({isOpen:!1}),this.composer=t.useState({topBarFocus:"inactive",gridFocusMode:"inactive"}),this.keyDownMapping={"CTRL+H":()=>this.toggleSidePanel("FindAndReplace",{}),"CTRL+F":()=>this.toggleSidePanel("FindAndReplace",{})},Uf({openSidePanel:(e,t={})=>this.openSidePanel(e,t),toggleSidePanel:(e,t={})=>this.toggleSidePanel(e,t),dispatch:this.model.dispatch,getters:this.model.getters,uuidGenerator:this.model.uuidGenerator,_t:qf._t,clipboard:navigator.clipboard,export:this.model.exportData.bind(this.model),waitForIdle:this.model.waitForIdle.bind(this.model),exportXLSX:this.model.exportXLSX.bind(this.model),openLinkEditor:()=>this.openLinkEditor()}),this.activateFirstSheet()}setup(){Pf(window,"resize",this.render),Pf(document.body,"keyup",this.onKeyup.bind(this)),Pf(window,"beforeunload",this.leaveCollaborativeSession.bind(this)),Vf((()=>this.initiateModelEvents())),Bf((()=>this.leaveCollaborativeSession())),Hf((e=>this.checkReadonly(e)))}get focusTopBarComposer(){return"inactive"===this.model.getters.getEditionMode()?"inactive":this.composer.topBarFocus}get focusGridComposer(){return"inactive"===this.model.getters.getEditionMode()?"inactive":this.composer.gridFocusMode}initiateModelEvents(){this.model.on("update",this,this.render),this.model.on("notify-ui",this,this.onNotifyUI),this.model.on("unexpected-revision-id",this,(()=>this.trigger("unexpected-revision-id"))),this.props.client&&this.model.joinSession(this.props.client)}onNotifyUI(e){if("NOTIFICATION"===e.type)this.env.notifyUser(e.text)}checkReadonly(e){this.props.isReadonly!==e.isReadonly&&this.model.updateReadOnly(e.isReadonly)}leaveCollaborativeSession(){this.model.off("update",this),this.model.leaveSession()}activateFirstSheet(){const e=this.model.getters.getActiveSheetId(),[t]=this.model.getters.getSheets();t.id!==e&&this.model.dispatch("ACTIVATE_SHEET",{sheetIdFrom:e,sheetIdTo:t.id})}destroy(){this.model.destroy(),super.destroy()}openSidePanel(e,t){this.sidePanel.component=e,this.sidePanel.panelProps=t,this.sidePanel.isOpen=!0}closeSidePanel(){this.sidePanel.isOpen=!1,this.focusGrid()}openLinkEditor(){this.linkEditor.isOpen=!0}closeLinkEditor(){this.linkEditor.isOpen=!1,this.focusGrid()}toggleSidePanel(e,t){this.sidePanel.isOpen&&e===this.sidePanel.component?(this.sidePanel.isOpen=!1,this.focusGrid()):this.openSidePanel(e,t)}focusGrid(){if(!this._focusGrid)throw new Error("_focusGrid should be exposed by the grid component");this._focusGrid()}save(){this.trigger("save-content",{data:this.model.exportData()})}onKeyup(e){"Control"===e.key&&this.model.getters.getSelectionMode()!==Lh.expanding&&this.model.dispatch("STOP_SELECTION")}onKeydown(e){"Control"!==e.key||e.repeat||this.model.dispatch(this.model.getters.getSelectionMode()===Lh.idle?"PREPARE_SELECTION_EXPANSION":"START_SELECTION_EXPANSION");let t="";(e.ctrlKey||e.metaKey)&&(t+="CTRL+"),t+=e.key.toUpperCase();let s=this.keyDownMapping[t];if(s)return e.preventDefault(),e.stopPropagation(),void s()}onTopBarComposerFocused(e){this.model.getters.isReadonly()||(this.composer.topBarFocus="contentFocus",this.composer.gridFocusMode="inactive",this.setComposerContent({selection:e}||{}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}onGridComposerContentFocused(){this.model.getters.isReadonly()||(this.composer.topBarFocus="inactive",this.composer.gridFocusMode="contentFocus",this.setComposerContent({}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}onGridComposerCellFocused(e,t){this.model.getters.isReadonly()||(this.composer.topBarFocus="inactive",this.composer.gridFocusMode="cellFocus",this.setComposerContent({content:e,selection:t}||{}),this.env.dispatch("UNFOCUS_SELECTION_INPUT"))}setComposerContent({content:e,selection:t}){"inactive"===this.model.getters.getEditionMode()?this.model.dispatch("START_EDITION",{text:e,selection:t}):e&&this.model.dispatch("SET_CURRENT_CONTENT",{content:e,selection:t})}}qf.template=Gf,qf.style=Wf,qf.components={TopBar:Df,Grid:wf,BottomBar:np,SidePanel:Af,LinkEditor:tf},qf._t=e=>e;const jf={},Xf={MIN_ROW_HEIGHT:10,MIN_COL_WIDTH:5,HEADER_HEIGHT:m,HEADER_WIDTH:v,TOPBAR_HEIGHT:E,BOTTOMBAR_HEIGHT:36,DEFAULT_CELL_WIDTH:b,DEFAULT_CELL_HEIGHT:S,SCROLLBAR_WIDTH:C},Yf={autofillModifiersRegistry:Ma,autofillRulesRegistry:Aa,cellMenuRegistry:fl,colMenuRegistry:ml,linkMenuRegistry:vl,functionRegistry:hr,uiPluginRegistry:ld,corePluginRegistry:ad,rowMenuRegistry:El,sidePanelRegistry:Sh,sheetMenuRegistry:Sl,topbarMenuRegistry:Cl,topbarComponentRegistry:Ch,otRegistry:yl,inverseCommandRegistry:Oa,cellRegistry:qr},Kf={LinkCell:sa},Qf={args:Oe,toBoolean:fe,toNumber:de,toString:pe,toXC:is,toZone:qs,toCartesian:os,numberToLetters:ss,createFullMenuItem:Fa,UuidGenerator:Hs,formatDecimal:ae,computeTextWidth:vs,isMarkdownLink:xs,parseMarkdownLink:Rs,markdownLink:Ts,createEmptyWorkbookData:fa};e.CorePlugin=va,e.DATETIME_FORMAT=_,e.DataSource=dd,e.DispatchResult=Ve,e.Model=ku,e.Registry=Me,e.Revision=Qh,e.SPREADSHEET_DIMENSIONS=Xf,e.Spreadsheet=qf,e.UIPlugin=yh,e.__DEBUG__=Os,e.__info__=jf,e.astToFormula=$r,e.cellTypes=Kf,e.compile=Gr,e.convertAstNodes=Fr,e.coreTypes=Pe,e.functionCache=Zr,e.helpers=Qf,e.invalidateEvaluationCommands=$e,e.parse=Nr,e.readonlyAllowedCommands=De,e.registries=Yf,e.setTranslationMethod=function(e){i=e},Object.defineProperty(e,"__esModule",{value:!0}),jf.version="15.2.12",jf.date="2023-11-16T11:57:04.728Z",jf.hash="d0fd7c1"}(this.o_spreadsheet=this.o_spreadsheet||{},owl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "15.2.11",
3
+ "version": "15.2.12",
4
4
  "description": "A spreadsheet component",
5
5
  "main": "dist/o-spreadsheet.cjs.js",
6
6
  "browser": "dist/o-spreadsheet.iife.js",