@odoo/o-spreadsheet 18.0.74 → 18.0.75
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.
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
4
4
|
* @see https://github.com/odoo/o-spreadsheet
|
|
5
|
-
* @version 18.0.
|
|
6
|
-
* @date 2026-07-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.0.75
|
|
6
|
+
* @date 2026-07-20T10:59:04.011Z
|
|
7
|
+
* @hash ea26af9
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { Component, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, xml } from "@odoo/owl";
|
|
@@ -33916,7 +33916,7 @@ var ScorecardChartConfigPanel = class extends Component {
|
|
|
33916
33916
|
return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
|
|
33917
33917
|
}
|
|
33918
33918
|
get isBaselineInvalid() {
|
|
33919
|
-
return !!this.state.
|
|
33919
|
+
return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
|
|
33920
33920
|
}
|
|
33921
33921
|
onKeyValueRangeChanged(ranges) {
|
|
33922
33922
|
this.keyValue = ranges[0];
|
|
@@ -66346,6 +66346,6 @@ const constants = {
|
|
|
66346
66346
|
//#endregion
|
|
66347
66347
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
66348
66348
|
|
|
66349
|
-
__info__.version = "18.0.
|
|
66350
|
-
__info__.date = "2026-07-
|
|
66351
|
-
__info__.hash = "
|
|
66349
|
+
__info__.version = "18.0.75";
|
|
66350
|
+
__info__.date = "2026-07-20T10:59:04.011Z";
|
|
66351
|
+
__info__.hash = "ea26af9";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
4
4
|
* @see https://github.com/odoo/o-spreadsheet
|
|
5
|
-
* @version 18.0.
|
|
6
|
-
* @date 2026-07-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 18.0.75
|
|
6
|
+
* @date 2026-07-20T10:59:04.011Z
|
|
7
|
+
* @hash ea26af9
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function(exports, _odoo_owl) {
|
|
@@ -33918,7 +33918,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
33918
33918
|
return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
|
|
33919
33919
|
}
|
|
33920
33920
|
get isBaselineInvalid() {
|
|
33921
|
-
return !!this.state.
|
|
33921
|
+
return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
|
|
33922
33922
|
}
|
|
33923
33923
|
onKeyValueRangeChanged(ranges) {
|
|
33924
33924
|
this.keyValue = ranges[0];
|
|
@@ -66392,8 +66392,8 @@ exports.stores = stores;
|
|
|
66392
66392
|
exports.tokenColors = tokenColors;
|
|
66393
66393
|
exports.tokenize = tokenize;
|
|
66394
66394
|
|
|
66395
|
-
__info__.version = "18.0.
|
|
66396
|
-
__info__.date = "2026-07-
|
|
66397
|
-
__info__.hash = "
|
|
66395
|
+
__info__.version = "18.0.75";
|
|
66396
|
+
__info__.date = "2026-07-20T10:59:04.011Z";
|
|
66397
|
+
__info__.hash = "ea26af9";
|
|
66398
66398
|
|
|
66399
66399
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|
|
@@ -857,7 +857,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
857
857
|
box-sizing: border-box;
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
`;var XN=class extends t.Component{static template=`o-spreadsheet-GaugeChartDesignPanel`;static components={SidePanelCollapsible:IN,Section:Z,RoundColorPicker:HN,GeneralDesignEditor:KN,ChartErrorSection:jN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};state;setup(){this.state=(0,t.useState)({sectionRuleDispatchResult:void 0,sectionRule:y(this.props.definition.sectionRule)})}get designErrorMessages(){return[...this.state.sectionRuleDispatchResult?.reasons||[]].map(e=>ag.Errors[e]||ag.Errors.Unexpected)}isRangeMinInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`EmptyGaugeRangeMin`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinBiggerThanRangeMax`))}isRangeMaxInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`EmptyGaugeRangeMax`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMaxNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinBiggerThanRangeMax`))}get isLowerInflectionPointInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerInflectionPointNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerBiggerThanUpper`))}get isUpperInflectionPointInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeUpperInflectionPointNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerBiggerThanUpper`))}updateSectionColor(e,t){let n=y(this.state.sectionRule);n.colors[e]=t,this.updateSectionRule(n)}updateSectionRule(e){this.state.sectionRuleDispatchResult=this.props.updateChart(this.props.figureId,{sectionRule:e}),this.state.sectionRuleDispatchResult.isSuccessful&&(this.state.sectionRule=y(e))}canUpdateSectionRule(e){this.state.sectionRuleDispatchResult=this.props.canUpdateChart(this.props.figureId,{sectionRule:e})}},ZN=class extends NN{static template=`o-spreadsheet-LineConfigPanel`;get canTreatLabelsAsText(){let e=this.env.model.getters.getChart(this.props.figureId);return e&&e instanceof WD?CD(e,this.env.model.getters):!1}get stackedLabel(){return this.props.definition.fillArea?this.chartTerms.StackedAreaChart:this.chartTerms.StackedLineChart}getLabelRangeOptions(){let e=super.getLabelRangeOptions();return this.canTreatLabelsAsText&&e.push({name:`labelsAsText`,value:this.props.definition.labelsAsText,label:this.chartTerms.TreatLabelsAsText,onChange:this.onUpdateLabelsAsText.bind(this)}),e}onUpdateLabelsAsText(e){this.props.updateChart(this.props.figureId,{labelsAsText:e})}onUpdateStacked(e){this.props.updateChart(this.props.figureId,{stacked:e})}onUpdateAggregated(e){this.props.updateChart(this.props.figureId,{aggregated:e})}onUpdateCumulative(e){this.props.updateChart(this.props.figureId,{cumulative:e})}},QN=class extends t.Component{static template=`o-spreadsheet-PieChartDesignPanel`;static components={GeneralDesignEditor:KN,Section:Z,Checkbox:TN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};updateLegendPosition(e){this.props.updateChart(this.props.figureId,{legendPosition:e.target.value})}},$N=class extends NN{static template=`o-spreadsheet-ScatterConfigPanel`;get canTreatLabelsAsText(){let e=this.env.model.getters.getChart(this.props.figureId);return e&&e instanceof $D?CD(e,this.env.model.getters):!1}onUpdateLabelsAsText(e){this.props.updateChart(this.props.figureId,{labelsAsText:e})}getLabelRangeOptions(){let e=super.getLabelRangeOptions();return this.canTreatLabelsAsText&&e.push({name:`labelsAsText`,value:this.props.definition.labelsAsText,label:this.chartTerms.TreatLabelsAsText,onChange:this.onUpdateLabelsAsText.bind(this)}),e}},eP=class extends t.Component{static template=`o-spreadsheet-ScorecardChartConfigPanel`;static components={SelectionInput:ON,ChartErrorSection:jN,Section:Z};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:Function};state=(0,t.useState)({keyValueDispatchResult:void 0,baselineDispatchResult:void 0});keyValue=this.props.definition.keyValue;baseline=this.props.definition.baseline;get errorMessages(){return[...this.state.keyValueDispatchResult?.reasons||[],...this.state.baselineDispatchResult?.reasons||[]].map(e=>ag.Errors[e]||ag.Errors.Unexpected)}get isKeyValueInvalid(){return!!this.state.keyValueDispatchResult?.isCancelledBecause(`InvalidScorecardKeyValue`)}get isBaselineInvalid(){return!!this.state.
|
|
860
|
+
`;var XN=class extends t.Component{static template=`o-spreadsheet-GaugeChartDesignPanel`;static components={SidePanelCollapsible:IN,Section:Z,RoundColorPicker:HN,GeneralDesignEditor:KN,ChartErrorSection:jN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};state;setup(){this.state=(0,t.useState)({sectionRuleDispatchResult:void 0,sectionRule:y(this.props.definition.sectionRule)})}get designErrorMessages(){return[...this.state.sectionRuleDispatchResult?.reasons||[]].map(e=>ag.Errors[e]||ag.Errors.Unexpected)}isRangeMinInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`EmptyGaugeRangeMin`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinBiggerThanRangeMax`))}isRangeMaxInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`EmptyGaugeRangeMax`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMaxNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeRangeMinBiggerThanRangeMax`))}get isLowerInflectionPointInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerInflectionPointNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerBiggerThanUpper`))}get isUpperInflectionPointInvalid(){return!!(this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeUpperInflectionPointNaN`)||this.state.sectionRuleDispatchResult?.isCancelledBecause(`GaugeLowerBiggerThanUpper`))}updateSectionColor(e,t){let n=y(this.state.sectionRule);n.colors[e]=t,this.updateSectionRule(n)}updateSectionRule(e){this.state.sectionRuleDispatchResult=this.props.updateChart(this.props.figureId,{sectionRule:e}),this.state.sectionRuleDispatchResult.isSuccessful&&(this.state.sectionRule=y(e))}canUpdateSectionRule(e){this.state.sectionRuleDispatchResult=this.props.canUpdateChart(this.props.figureId,{sectionRule:e})}},ZN=class extends NN{static template=`o-spreadsheet-LineConfigPanel`;get canTreatLabelsAsText(){let e=this.env.model.getters.getChart(this.props.figureId);return e&&e instanceof WD?CD(e,this.env.model.getters):!1}get stackedLabel(){return this.props.definition.fillArea?this.chartTerms.StackedAreaChart:this.chartTerms.StackedLineChart}getLabelRangeOptions(){let e=super.getLabelRangeOptions();return this.canTreatLabelsAsText&&e.push({name:`labelsAsText`,value:this.props.definition.labelsAsText,label:this.chartTerms.TreatLabelsAsText,onChange:this.onUpdateLabelsAsText.bind(this)}),e}onUpdateLabelsAsText(e){this.props.updateChart(this.props.figureId,{labelsAsText:e})}onUpdateStacked(e){this.props.updateChart(this.props.figureId,{stacked:e})}onUpdateAggregated(e){this.props.updateChart(this.props.figureId,{aggregated:e})}onUpdateCumulative(e){this.props.updateChart(this.props.figureId,{cumulative:e})}},QN=class extends t.Component{static template=`o-spreadsheet-PieChartDesignPanel`;static components={GeneralDesignEditor:KN,Section:Z,Checkbox:TN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};updateLegendPosition(e){this.props.updateChart(this.props.figureId,{legendPosition:e.target.value})}},$N=class extends NN{static template=`o-spreadsheet-ScatterConfigPanel`;get canTreatLabelsAsText(){let e=this.env.model.getters.getChart(this.props.figureId);return e&&e instanceof $D?CD(e,this.env.model.getters):!1}onUpdateLabelsAsText(e){this.props.updateChart(this.props.figureId,{labelsAsText:e})}getLabelRangeOptions(){let e=super.getLabelRangeOptions();return this.canTreatLabelsAsText&&e.push({name:`labelsAsText`,value:this.props.definition.labelsAsText,label:this.chartTerms.TreatLabelsAsText,onChange:this.onUpdateLabelsAsText.bind(this)}),e}},eP=class extends t.Component{static template=`o-spreadsheet-ScorecardChartConfigPanel`;static components={SelectionInput:ON,ChartErrorSection:jN,Section:Z};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:Function};state=(0,t.useState)({keyValueDispatchResult:void 0,baselineDispatchResult:void 0});keyValue=this.props.definition.keyValue;baseline=this.props.definition.baseline;get errorMessages(){return[...this.state.keyValueDispatchResult?.reasons||[],...this.state.baselineDispatchResult?.reasons||[]].map(e=>ag.Errors[e]||ag.Errors.Unexpected)}get isKeyValueInvalid(){return!!this.state.keyValueDispatchResult?.isCancelledBecause(`InvalidScorecardKeyValue`)}get isBaselineInvalid(){return!!this.state.baselineDispatchResult?.isCancelledBecause(`InvalidScorecardBaseline`)}onKeyValueRangeChanged(e){this.keyValue=e[0],this.state.keyValueDispatchResult=this.props.canUpdateChart(this.props.figureId,{keyValue:this.keyValue})}updateKeyValueRange(){this.state.keyValueDispatchResult=this.props.updateChart(this.props.figureId,{keyValue:this.keyValue})}getKeyValueRange(){return this.keyValue||``}onBaselineRangeChanged(e){this.baseline=e[0],this.state.baselineDispatchResult=this.props.canUpdateChart(this.props.figureId,{baseline:this.baseline})}updateBaselineRange(){this.state.baselineDispatchResult=this.props.updateChart(this.props.figureId,{baseline:this.baseline})}getBaselineRange(){return this.baseline||``}updateBaselineMode(e){this.props.updateChart(this.props.figureId,{baselineMode:e.target.value})}},tP=class extends t.Component{static template=`o-spreadsheet-ScorecardChartDesignPanel`;static components={GeneralDesignEditor:KN,RoundColorPicker:HN,SidePanelCollapsible:IN,Section:Z,Checkbox:TN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};get colorsSectionTitle(){return this.props.definition.baselineMode===`progress`?E(`Progress bar colors`):E(`Baseline colors`)}get humanizeNumbersLabel(){return E(`Humanize numbers`)}updateHumanizeNumbers(e){this.props.updateChart(this.props.figureId,{humanize:e})}translate(e){return E(e)}updateBaselineDescr(e){this.props.updateChart(this.props.figureId,{baselineDescr:e.target.value})}setColor(e,t){switch(t){case`backgroundColor`:this.props.updateChart(this.props.figureId,{background:e});break;case`baselineColorDown`:this.props.updateChart(this.props.figureId,{baselineColorDown:e});break;case`baselineColorUp`:this.props.updateChart(this.props.figureId,{baselineColorUp:e});break}}},nP=class extends t.Component{static template=`o-spreadsheet-WaterfallChartDesignPanel`;static components={GeneralDesignEditor:KN,Checkbox:TN,SidePanelCollapsible:IN,Section:Z,RoundColorPicker:HN,AxisDesignEditor:GN,RadioSelection:LN};static props={figureId:String,definition:Object,updateChart:Function,canUpdateChart:{type:Function,optional:!0}};axisChoices=Vd;onUpdateShowSubTotals(e){this.props.updateChart(this.props.figureId,{showSubTotals:e})}onUpdateShowConnectorLines(e){this.props.updateChart(this.props.figureId,{showConnectorLines:e})}onUpdateFirstValueAsSubtotal(e){this.props.updateChart(this.props.figureId,{firstValueAsSubtotal:e})}updateColor(e,t){this.props.updateChart(this.props.figureId,{[e]:t})}get axesList(){return[{id:`x`,name:E(`Horizontal axis`)},{id:`y`,name:E(`Vertical axis`)}]}get positiveValuesColor(){return this.props.definition.positiveValuesColor||`#4EA7F2`}get negativeValuesColor(){return this.props.definition.negativeValuesColor||`#EA6175`}get subTotalValuesColor(){return this.props.definition.subTotalValuesColor||`#AAAAAA`}updateLegendPosition(e){this.props.updateChart(this.props.figureId,{legendPosition:e.target.value})}updateVerticalAxisPosition(e){this.props.updateChart(this.props.figureId,{verticalAxisPosition:e})}updateShowValues(e){this.props.updateChart(this.props.figureId,{showValues:e})}};let rP=new h;rP.add(`line`,{configuration:ZN,design:qN}).add(`scatter`,{configuration:$N,design:qN}).add(`bar`,{configuration:PN,design:qN}).add(`combo`,{configuration:NN,design:JN}).add(`pie`,{configuration:NN,design:QN}).add(`gauge`,{configuration:YN,design:XN}).add(`scorecard`,{configuration:eP,design:tP}).add(`waterfall`,{configuration:NN,design:nP}).add(`pyramid`,{configuration:NN,design:qN}),H`
|
|
861
861
|
.o-section .o-input.o-type-selector {
|
|
862
862
|
height: 30px;
|
|
863
863
|
padding-left: 35px;
|
|
@@ -3301,4 +3301,4 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
3301
3301
|
<Relationships xmlns="${ef.Relationships}">
|
|
3302
3302
|
<Relationship ${K(e)} />
|
|
3303
3303
|
</Relationships>
|
|
3304
|
-
`),`_rels/.rels`)}function MH(e){let t={},n=new Set;for(let r of e.sheets){let e=r.name.slice(0,31),i=1;for(;n.has(e);)e=e.slice(0,31-String(i).length)+i++;n.add(e),e!==r.name&&(t[r.name]=e,r.name=e)}if(!Object.keys(t).length)return e;let r=Object.keys(t).sort((e,t)=>t.length-e.length),i=JSON.stringify(e);for(let e of r){let n=RegExp(`'?${nt(e)}'?!`,`g`);i=i.replaceAll(n,n=>{let r=t[e];return n.replace(e,r)})}return JSON.parse(i)}function NH(e){for(let t of e.sheets)t.tables=t.tables.filter(e=>pr(Qn(e.range)).numberOfRows>1);return e}var PH=class extends rd{corePlugins=[];featurePlugins=[];statefulUIPlugins=[];coreViewsPlugins=[];range;session;isReplayingCommand=!1;renderers={};status=0;config;corePluginConfig;uiPluginConfig;state;selection;getters;coreGetters;uuidGenerator;handlers=[];uiHandlers=[];coreHandlers=[];constructor(e={},n={},r=[],i=new wc,a=!1){let o=performance.now();console.debug(`##### Model creation #####`),super(),Jn(),r=Wh(e,r);let s=Rh(e,a);this.state=new tV,this.uuidGenerator=i,this.config=this.setupConfig(n),this.session=this.setupSession(s.revisionId),this.coreGetters={},this.range=new UL(this.coreGetters),this.coreGetters.getRangeString=this.range.getRangeString.bind(this.range),this.coreGetters.getRangeFromSheetXC=this.range.getRangeFromSheetXC.bind(this.range),this.coreGetters.createAdaptedRanges=this.range.createAdaptedRanges.bind(this.range),this.coreGetters.getRangeDataFromXc=this.range.getRangeDataFromXc.bind(this.range),this.coreGetters.getRangeDataFromZone=this.range.getRangeDataFromZone.bind(this.range),this.coreGetters.getRangeFromRangeData=this.range.getRangeFromRangeData.bind(this.range),this.coreGetters.getRangeFromZone=this.range.getRangeFromZone.bind(this.range),this.coreGetters.recomputeRanges=this.range.recomputeRanges.bind(this.range),this.coreGetters.isRangeValid=this.range.isRangeValid.bind(this.range),this.coreGetters.extendRange=this.range.extendRange.bind(this.range),this.coreGetters.getRangesUnion=this.range.getRangesUnion.bind(this.range),this.coreGetters.removeRangesSheetPrefix=this.range.removeRangesSheetPrefix.bind(this.range),this.getters={isReadonly:()=>this.config.mode===`readonly`||this.config.mode===`dashboard`,isDashboard:()=>this.config.mode===`dashboard`},this.selection=new $B(this.getters),this.coreHandlers.push(this.range),this.handlers.push(this.range),this.corePluginConfig=this.setupCorePluginConfig(),this.uiPluginConfig=this.setupUiPluginConfig();for(let e of sB.getAll())this.setupCorePlugin(e,s);Object.assign(this.getters,this.coreGetters),this.session.loadInitialMessages(r);for(let e of uB.getAll()){let t=this.setupUiPlugin(e);this.coreViewsPlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t),this.coreHandlers.push(t)}for(let e of lB.getAll()){let t=this.setupUiPlugin(e);this.statefulUIPlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t)}for(let e of cB.getAll()){let t=this.setupUiPlugin(e);this.featurePlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t)}if(this.uuidGenerator.setIsFastStrategy(!1),this.dispatch(`START`),this.selection.observe(this,{handleEvent:()=>this.trigger(`update`)}),this.setupSessionEvents(),this.joinSession(),n.snapshotRequested||e[`[Content_Types].xml`]&&!this.getters.isReadonly()){let e=performance.now();console.debug(`Snapshot requested`),this.session.snapshot(this.exportData()),this.garbageCollectExternalResources(),console.debug(`Snapshot taken in`,performance.now()-e,`ms`)}(0,t.markRaw)(this),console.debug(`Model created in`,performance.now()-o,`ms`),console.debug(`######`)}joinSession(){this.session.join(this.config.client)}async leaveSession(){let e=this.getters.isReadonly()?void 0:Et(()=>this.exportData());await this.session.leave(e)}setupUiPlugin(e){let t=new e(this.uiPluginConfig);for(let n of e.getters){if(!(n in t))throw Error(`Invalid getter name: ${n} for plugin ${t.constructor}`);if(n in this.getters)throw Error(`Getter "${n}" is already defined.`);this.getters[n]=t[n].bind(t)}for(let n of e.layers)this.renderers[n]||(this.renderers[n]=[]),this.renderers[n].push(t);return t}setupCorePlugin(e,t){let n=new e(this.corePluginConfig);for(let t of e.getters){if(!(t in n))throw Error(`Invalid getter name: ${t} for plugin ${n.constructor}`);if(t in this.coreGetters)throw Error(`Getter "${t}" is already defined.`);this.coreGetters[t]=n[t].bind(n)}n.import(t),this.corePlugins.push(n),this.coreHandlers.push(n),this.handlers.push(n)}onRemoteRevisionReceived({commands:e}){for(let t of e){let e=this.status;this.status=2,this.dispatchToHandlers(this.statefulUIPlugins,t),this.status=e}this.finalize()}setupSession(e){return new cz(YB({initialRevisionId:e,recordChanges:this.state.recordChanges.bind(this.state),dispatch:e=>{if(!this.checkDispatchAllowed(e).isSuccessful){this.dispatchToHandlers(this.coreHandlers,{type:`UNDO`,commands:[e]});return}this.isReplayingCommand=!0,this.dispatchToHandlers(this.coreHandlers,e),this.isReplayingCommand=!1}}),this.config.transportService,e)}setupSessionEvents(){this.session.on(`remote-revision-received`,this,this.onRemoteRevisionReceived),this.session.on(`revision-undone`,this,({commands:e})=>{this.dispatchFromCorePlugin(`UNDO`,{commands:e}),this.finalize()}),this.session.on(`revision-redone`,this,({commands:e})=>{this.dispatchFromCorePlugin(`REDO`,{commands:e}),this.finalize()}),this.session.on(`unexpected-revision-id`,this,()=>this.trigger(`unexpected-revision-id`)),this.session.on(`collaborative-event-received`,this,()=>{this.trigger(`update`)})}setupConfig(e){let t=e.client||{id:this.uuidGenerator.smallUuid(),name:E(`Anonymous`).toString()},n=e.transportService||new VB;return{...e,mode:e.mode||`normal`,custom:e.custom||{},external:this.setupExternalConfig(e.external||{}),transportService:n,client:t,moveClient:()=>{},snapshotRequested:!1,notifyUI:e=>this.trigger(`notify-ui`,e),raiseBlockingErrorUI:e=>this.trigger(`raise-error-ui`,{text:e}),customColors:e.customColors||[]}}setupExternalConfig(e){let t=e.loadLocales||(()=>Promise.resolve(Xi));return{...e,loadLocales:t}}setupCorePluginConfig(){return{getters:this.coreGetters,stateObserver:this.state,range:this.range,dispatch:this.dispatchFromCorePlugin,canDispatch:this.canDispatch,uuidGenerator:this.uuidGenerator,custom:this.config.custom,external:this.config.external}}setupUiPluginConfig(){return{getters:this.getters,stateObserver:this.state,dispatch:this.dispatch,canDispatch:this.canDispatch,selection:this.selection,moveClient:this.session.move.bind(this.session),custom:this.config.custom,uiActions:this.config,session:this.session,defaultCurrency:this.config.defaultCurrency,customColors:this.config.customColors||[]}}checkDispatchAllowed(e){let t=Gi(e)?this.checkDispatchAllowedCoreCommand(e):this.checkDispatchAllowedLocalCommand(e);return t.some(e=>e!==`Success`)?new qi(t.flat()):qi.Success}checkDispatchAllowedCoreCommand(e){let t=this.corePlugins.map(t=>t.allowDispatch(e));return t.push(this.range.allowDispatch(e)),t}checkDispatchAllowedLocalCommand(e){return this.uiHandlers.map(t=>t.allowDispatch(e))}finalize(){this.status=3;for(let e of this.handlers)e.finalize();this.status=0,this.trigger(`command-finalized`)}canDispatch=(e,t)=>this.checkDispatchAllowed(FH(e,t));dispatch=(e,t)=>{let n=FH(e,t),r=this.status;if(this.getters.isReadonly()&&!Ki(n))return new qi(`Readonly`);if(!this.session.canApplyOptimisticUpdate())return new qi(`WaitingSessionConfirmation`);switch(r){case 0:let t=this.checkDispatchAllowed(n);if(!t.isSuccessful)return this.trigger(`update`),t;this.status=1;let{changes:r,commands:i}=this.state.recordChanges(()=>{let t=performance.now();Gi(n)&&this.state.addCommand(n),this.dispatchToHandlers(this.handlers,n),this.finalize();let r=performance.now()-t;r>5&&console.debug(e,r,`ms`)});this.session.save(n,i,r),this.status=0,this.trigger(`update`);break;case 1:if(Gi(n)){let e=this.checkDispatchAllowed(n);if(!e.isSuccessful)return e;this.state.addCommand(n)}this.dispatchToHandlers(this.handlers,n);break;case 3:throw Error(`Cannot dispatch commands in the finalize state`);case 2:if(Gi(n))throw Error(`A UI plugin cannot dispatch ${e} while handling a core command`);this.dispatchToHandlers(this.handlers,n)}return qi.Success};dispatchFromCorePlugin=(e,t)=>{let n=FH(e,t),r=this.status;this.status=2;let i=this.isReplayingCommand?this.coreHandlers:this.handlers;return this.dispatchToHandlers(i,n),this.status=r,qi.Success};dispatchToHandlers(e,t){let n=Gi(t);for(let r of e)!n&&r instanceof EL||r.beforeHandle(t);for(let r of e)!n&&r instanceof EL||r.handle(t);this.trigger(`command-dispatched`,t)}drawLayer(e,t){let n=this.renderers[t];if(n)for(let r of n)e.ctx.save(),r.drawLayer(e,t),e.ctx.restore()}exportData(){let e=Xh();for(let t of this.handlers)t instanceof EL&&t.export(e);return e.revisionId=this.session.getRevisionId()||`START_REVISION`,e=y(e),e}updateMode(e){this.config.mode=e,this.trigger(`update`)}exportXLSX(){this.dispatch(`EVALUATE_CELLS`);let e=Qh();for(let t of this.handlers)t instanceof TL&&t.exportForExcel(e);return e=y(e),CH(e)}garbageCollectExternalResources(){for(let e of this.corePlugins)e.garbageCollectExternalResources()}};function FH(e,t={}){let n=y(t);return n.type=e,n}let IH={},LH={MIN_ROW_HEIGHT:10,MIN_COL_WIDTH:5,HEADER_HEIGHT:26,HEADER_WIDTH:48,TOPBAR_HEIGHT:63,BOTTOMBAR_HEIGHT:36,DEFAULT_CELL_WIDTH:96,DEFAULT_CELL_HEIGHT:23,SCROLLBAR_WIDTH:15},RH={autoCompleteProviders:c_,autofillModifiersRegistry:$E,autofillRulesRegistry:eD,cellMenuRegistry:yj,colMenuRegistry:dN,errorTypes:ta,linkMenuRegistry:nk,functionRegistry:RT,featurePluginRegistry:cB,iconsOnCellRegistry:pf,statefulUIPluginRegistry:lB,coreViewsPluginRegistry:uB,corePluginRegistry:sB,rowMenuRegistry:gN,sidePanelRegistry:fI,figureRegistry:pO,chartSidePanelComponentRegistry:rP,chartComponentRegistry:aO,chartRegistry:iO,chartSubtypeRegistry:sO,topbarMenuRegistry:SN,topbarComponentRegistry:wN,clickableCellRegistry:dB,otRegistry:CN,inverseCommandRegistry:yO,urlRegistry:Xa,cellPopoverRegistry:uD,numberFormatMenuRegistry:fN,repeatLocalCommandTransformRegistry:Uz,repeatCommandTransformRegistry:Hz,clipboardHandlersRegistries:ed,pivotRegistry:AF,pivotTimeAdapterRegistry:lu,pivotSidePanelRegistry:IF,pivotNormalizationValueRegistry:Bu,supportedPivotPositionalFormulaRegistry:JE,pivotToFunctionValueRegistry:Vu,migrationStepRegistry:Fh},zH={arg:Y,isEvaluationError:P,toBoolean:L,toJsDate:R,toNumber:F,toString:I,toNormalizedPivotValue:Iu,toXC:w,toZone:Qn,toUnboundedZone:Zn,toCartesian:Pn,numberToLetters:Tn,lettersToNumber:En,UuidGenerator:wc,formatValue:B,createCurrencyFormat:Qo,ColorGenerator:wn,computeTextWidth:sc,createEmptyWorkbookData:Xh,createEmptySheet:Yh,createEmptyExcelSheet:Zh,getDefaultChartJsRuntime:Xg,chartFontColor:Dd,getChartAxisTitleRuntime:Md,getChartAxisType:wD,getTrendDatasetForBarChart:Fd,getTrendDatasetForLineChart:jD,getFillingMode:t_,rgbaToHex:cn,colorToRGBA:ln,positionToZone:D,isDefined:S,isMatrix:A,lazy:Et,genericRepeat:Wz,createAction:m,createActions:f,transformRangeData:nd,deepEquals:C,overlap:ur,union:or,isInside:dr,deepCopy:y,expandZoneOnInsertion:nr,reduceZoneOnDeletion:ar,unquote:at,getMaxObjectId:Ou,getFunctionsFromTokens:LE,getFirstPivotFunction:GE,getNumberOfPivotFunctions:qE,parseDimension:ju,isDateOrDatetimeField:Mu,makeFieldProposal:BE,insertTokenAfterArgSeparator:HE,insertTokenAfterLeftParenthesis:UE,mergeContiguousZones:jr,getPivotHighlights:vN,pivotTimeAdapter:uu,UNDO_REDO_PIVOT_COMMANDS:kR,createPivotFormula:Fu,areDomainArgsFieldsValid:Pu,splitReference:Vs,formatTickValue:zd,sanitizeSheetName:st,isNumber:Oi,isDateTime:Xr},BH={isMarkdownLink:pt,parseMarkdownLink:gt,markdownLink:ht,openLink:to,urlRepresentation:eo},VH={Checkbox:TN,Section:Z,RoundColorPicker:HN,ChartDataSeries:kN,ChartErrorSection:jN,ChartLabelRange:MN,ChartTitle:WN,ChartPanel:oP,ChartFigure:lO,ChartJsComponent:o_,Grid:SL,GridOverlay:$I,ScorecardChart:s_,LineConfigPanel:ZN,BarConfigPanel:PN,PieChartDesignPanel:QN,GenericChartConfigPanel:NN,ChartWithAxisDesignPanel:qN,GaugeChartConfigPanel:YN,GaugeChartDesignPanel:XN,ScorecardChartConfigPanel:eP,ScorecardChartDesignPanel:tP,ChartTypePicker:iP,FigureComponent:pI,Menu:pk,Popover:lk,SelectionInput:ON,ValidationMessages:AN,AddDimensionButton:tF,PivotDimensionGranularity:aF,PivotDimensionOrder:oF,PivotDimension:iF,PivotLayoutConfigurator:lF,PivotHTMLRenderer:wL,EditableName:CL,PivotDeferUpdate:$P,PivotTitleSection:uF,CogWheelMenu:rF,TextInput:nF,SidePanelCollapsible:IN},HH={useDragAndDropListItems:fP,useHighlights:bP,useHighlightsOnHover:yP},UH={useStoreProvider:cd,DependencyContainer:id,CellPopoverStore:GO,ComposerFocusStore:_d,CellComposerStore:TI,FindAndReplaceStore:qP,HighlightStore:xN,HoveredCellStore:WO,ModelStore:pd,NotificationStore:sP,RendererStore:md,SelectionInputStore:DN,SpreadsheetStore:hd,useStore:V,useLocalStore:ld,SidePanelStore:vL,PivotSidePanelStore:PF,PivotMeasureDisplayPanelStore:ZP};function WH(e,t){return RT.add(e,t),{addFunction:(e,t)=>WH(e,t)}}let GH={DEFAULT_LOCALE:k,HIGHLIGHT_COLOR:_,PIVOT_TABLE_CONFIG:Ze,TREND_LINE_XAXIS_ID:`x1`,CHART_AXIS_CHOICES:Vd,ChartTerms:ag};e.AbstractCellClipboardHandler=Pc,e.AbstractChart=Ag,e.AbstractFigureClipboardHandler=Gu,e.CellErrorType=j,e.CommandResult=Yi,e.CorePlugin=EL,e.DispatchResult=qi,e.EvaluationError=M,e.Model=PH,e.PivotRuntimeDefinition=dF,e.Registry=h,e.Revision=oz,e.SPREADSHEET_DIMENSIONS=LH,e.Spreadsheet=BB,e.SpreadsheetPivotTable=mF,e.UIPlugin=$,e.__info__=IH,e.addFunction=WH,e.addRenderingLayer=ea,e.astToFormula=bC,e.compile=OE,e.compileTokens=kE,e.components=VH,e.constants=GH,e.convertAstNodes=gC,e.coreTypes=Wi,e.findCellInNewZone=Sr,e.functionCache=DE,e.helpers=zH,e.hooks=HH,e.invalidateCFEvaluationCommands=Vi,e.invalidateDependenciesCommands=Bi,e.invalidateEvaluationCommands=Ri,e.iterateAstNodes=_C,e.links=BH,e.load=Rh,e.parse=mC,e.parseTokens=hC,e.readonlyAllowedCommands=Ui,e.registries=RH,e.setDefaultSheetViewSize=Ye,e.setTranslationMethod=qn,e.stores=UH,e.tokenColors=_E,e.tokenize=Rc,IH.version=`18.0.74`,IH.date=`2026-07-13T06:25:20.333Z`,IH.hash=`9183e36`})(this.o_spreadsheet=this.o_spreadsheet||{},owl);
|
|
3304
|
+
`),`_rels/.rels`)}function MH(e){let t={},n=new Set;for(let r of e.sheets){let e=r.name.slice(0,31),i=1;for(;n.has(e);)e=e.slice(0,31-String(i).length)+i++;n.add(e),e!==r.name&&(t[r.name]=e,r.name=e)}if(!Object.keys(t).length)return e;let r=Object.keys(t).sort((e,t)=>t.length-e.length),i=JSON.stringify(e);for(let e of r){let n=RegExp(`'?${nt(e)}'?!`,`g`);i=i.replaceAll(n,n=>{let r=t[e];return n.replace(e,r)})}return JSON.parse(i)}function NH(e){for(let t of e.sheets)t.tables=t.tables.filter(e=>pr(Qn(e.range)).numberOfRows>1);return e}var PH=class extends rd{corePlugins=[];featurePlugins=[];statefulUIPlugins=[];coreViewsPlugins=[];range;session;isReplayingCommand=!1;renderers={};status=0;config;corePluginConfig;uiPluginConfig;state;selection;getters;coreGetters;uuidGenerator;handlers=[];uiHandlers=[];coreHandlers=[];constructor(e={},n={},r=[],i=new wc,a=!1){let o=performance.now();console.debug(`##### Model creation #####`),super(),Jn(),r=Wh(e,r);let s=Rh(e,a);this.state=new tV,this.uuidGenerator=i,this.config=this.setupConfig(n),this.session=this.setupSession(s.revisionId),this.coreGetters={},this.range=new UL(this.coreGetters),this.coreGetters.getRangeString=this.range.getRangeString.bind(this.range),this.coreGetters.getRangeFromSheetXC=this.range.getRangeFromSheetXC.bind(this.range),this.coreGetters.createAdaptedRanges=this.range.createAdaptedRanges.bind(this.range),this.coreGetters.getRangeDataFromXc=this.range.getRangeDataFromXc.bind(this.range),this.coreGetters.getRangeDataFromZone=this.range.getRangeDataFromZone.bind(this.range),this.coreGetters.getRangeFromRangeData=this.range.getRangeFromRangeData.bind(this.range),this.coreGetters.getRangeFromZone=this.range.getRangeFromZone.bind(this.range),this.coreGetters.recomputeRanges=this.range.recomputeRanges.bind(this.range),this.coreGetters.isRangeValid=this.range.isRangeValid.bind(this.range),this.coreGetters.extendRange=this.range.extendRange.bind(this.range),this.coreGetters.getRangesUnion=this.range.getRangesUnion.bind(this.range),this.coreGetters.removeRangesSheetPrefix=this.range.removeRangesSheetPrefix.bind(this.range),this.getters={isReadonly:()=>this.config.mode===`readonly`||this.config.mode===`dashboard`,isDashboard:()=>this.config.mode===`dashboard`},this.selection=new $B(this.getters),this.coreHandlers.push(this.range),this.handlers.push(this.range),this.corePluginConfig=this.setupCorePluginConfig(),this.uiPluginConfig=this.setupUiPluginConfig();for(let e of sB.getAll())this.setupCorePlugin(e,s);Object.assign(this.getters,this.coreGetters),this.session.loadInitialMessages(r);for(let e of uB.getAll()){let t=this.setupUiPlugin(e);this.coreViewsPlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t),this.coreHandlers.push(t)}for(let e of lB.getAll()){let t=this.setupUiPlugin(e);this.statefulUIPlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t)}for(let e of cB.getAll()){let t=this.setupUiPlugin(e);this.featurePlugins.push(t),this.handlers.push(t),this.uiHandlers.push(t)}if(this.uuidGenerator.setIsFastStrategy(!1),this.dispatch(`START`),this.selection.observe(this,{handleEvent:()=>this.trigger(`update`)}),this.setupSessionEvents(),this.joinSession(),n.snapshotRequested||e[`[Content_Types].xml`]&&!this.getters.isReadonly()){let e=performance.now();console.debug(`Snapshot requested`),this.session.snapshot(this.exportData()),this.garbageCollectExternalResources(),console.debug(`Snapshot taken in`,performance.now()-e,`ms`)}(0,t.markRaw)(this),console.debug(`Model created in`,performance.now()-o,`ms`),console.debug(`######`)}joinSession(){this.session.join(this.config.client)}async leaveSession(){let e=this.getters.isReadonly()?void 0:Et(()=>this.exportData());await this.session.leave(e)}setupUiPlugin(e){let t=new e(this.uiPluginConfig);for(let n of e.getters){if(!(n in t))throw Error(`Invalid getter name: ${n} for plugin ${t.constructor}`);if(n in this.getters)throw Error(`Getter "${n}" is already defined.`);this.getters[n]=t[n].bind(t)}for(let n of e.layers)this.renderers[n]||(this.renderers[n]=[]),this.renderers[n].push(t);return t}setupCorePlugin(e,t){let n=new e(this.corePluginConfig);for(let t of e.getters){if(!(t in n))throw Error(`Invalid getter name: ${t} for plugin ${n.constructor}`);if(t in this.coreGetters)throw Error(`Getter "${t}" is already defined.`);this.coreGetters[t]=n[t].bind(n)}n.import(t),this.corePlugins.push(n),this.coreHandlers.push(n),this.handlers.push(n)}onRemoteRevisionReceived({commands:e}){for(let t of e){let e=this.status;this.status=2,this.dispatchToHandlers(this.statefulUIPlugins,t),this.status=e}this.finalize()}setupSession(e){return new cz(YB({initialRevisionId:e,recordChanges:this.state.recordChanges.bind(this.state),dispatch:e=>{if(!this.checkDispatchAllowed(e).isSuccessful){this.dispatchToHandlers(this.coreHandlers,{type:`UNDO`,commands:[e]});return}this.isReplayingCommand=!0,this.dispatchToHandlers(this.coreHandlers,e),this.isReplayingCommand=!1}}),this.config.transportService,e)}setupSessionEvents(){this.session.on(`remote-revision-received`,this,this.onRemoteRevisionReceived),this.session.on(`revision-undone`,this,({commands:e})=>{this.dispatchFromCorePlugin(`UNDO`,{commands:e}),this.finalize()}),this.session.on(`revision-redone`,this,({commands:e})=>{this.dispatchFromCorePlugin(`REDO`,{commands:e}),this.finalize()}),this.session.on(`unexpected-revision-id`,this,()=>this.trigger(`unexpected-revision-id`)),this.session.on(`collaborative-event-received`,this,()=>{this.trigger(`update`)})}setupConfig(e){let t=e.client||{id:this.uuidGenerator.smallUuid(),name:E(`Anonymous`).toString()},n=e.transportService||new VB;return{...e,mode:e.mode||`normal`,custom:e.custom||{},external:this.setupExternalConfig(e.external||{}),transportService:n,client:t,moveClient:()=>{},snapshotRequested:!1,notifyUI:e=>this.trigger(`notify-ui`,e),raiseBlockingErrorUI:e=>this.trigger(`raise-error-ui`,{text:e}),customColors:e.customColors||[]}}setupExternalConfig(e){let t=e.loadLocales||(()=>Promise.resolve(Xi));return{...e,loadLocales:t}}setupCorePluginConfig(){return{getters:this.coreGetters,stateObserver:this.state,range:this.range,dispatch:this.dispatchFromCorePlugin,canDispatch:this.canDispatch,uuidGenerator:this.uuidGenerator,custom:this.config.custom,external:this.config.external}}setupUiPluginConfig(){return{getters:this.getters,stateObserver:this.state,dispatch:this.dispatch,canDispatch:this.canDispatch,selection:this.selection,moveClient:this.session.move.bind(this.session),custom:this.config.custom,uiActions:this.config,session:this.session,defaultCurrency:this.config.defaultCurrency,customColors:this.config.customColors||[]}}checkDispatchAllowed(e){let t=Gi(e)?this.checkDispatchAllowedCoreCommand(e):this.checkDispatchAllowedLocalCommand(e);return t.some(e=>e!==`Success`)?new qi(t.flat()):qi.Success}checkDispatchAllowedCoreCommand(e){let t=this.corePlugins.map(t=>t.allowDispatch(e));return t.push(this.range.allowDispatch(e)),t}checkDispatchAllowedLocalCommand(e){return this.uiHandlers.map(t=>t.allowDispatch(e))}finalize(){this.status=3;for(let e of this.handlers)e.finalize();this.status=0,this.trigger(`command-finalized`)}canDispatch=(e,t)=>this.checkDispatchAllowed(FH(e,t));dispatch=(e,t)=>{let n=FH(e,t),r=this.status;if(this.getters.isReadonly()&&!Ki(n))return new qi(`Readonly`);if(!this.session.canApplyOptimisticUpdate())return new qi(`WaitingSessionConfirmation`);switch(r){case 0:let t=this.checkDispatchAllowed(n);if(!t.isSuccessful)return this.trigger(`update`),t;this.status=1;let{changes:r,commands:i}=this.state.recordChanges(()=>{let t=performance.now();Gi(n)&&this.state.addCommand(n),this.dispatchToHandlers(this.handlers,n),this.finalize();let r=performance.now()-t;r>5&&console.debug(e,r,`ms`)});this.session.save(n,i,r),this.status=0,this.trigger(`update`);break;case 1:if(Gi(n)){let e=this.checkDispatchAllowed(n);if(!e.isSuccessful)return e;this.state.addCommand(n)}this.dispatchToHandlers(this.handlers,n);break;case 3:throw Error(`Cannot dispatch commands in the finalize state`);case 2:if(Gi(n))throw Error(`A UI plugin cannot dispatch ${e} while handling a core command`);this.dispatchToHandlers(this.handlers,n)}return qi.Success};dispatchFromCorePlugin=(e,t)=>{let n=FH(e,t),r=this.status;this.status=2;let i=this.isReplayingCommand?this.coreHandlers:this.handlers;return this.dispatchToHandlers(i,n),this.status=r,qi.Success};dispatchToHandlers(e,t){let n=Gi(t);for(let r of e)!n&&r instanceof EL||r.beforeHandle(t);for(let r of e)!n&&r instanceof EL||r.handle(t);this.trigger(`command-dispatched`,t)}drawLayer(e,t){let n=this.renderers[t];if(n)for(let r of n)e.ctx.save(),r.drawLayer(e,t),e.ctx.restore()}exportData(){let e=Xh();for(let t of this.handlers)t instanceof EL&&t.export(e);return e.revisionId=this.session.getRevisionId()||`START_REVISION`,e=y(e),e}updateMode(e){this.config.mode=e,this.trigger(`update`)}exportXLSX(){this.dispatch(`EVALUATE_CELLS`);let e=Qh();for(let t of this.handlers)t instanceof TL&&t.exportForExcel(e);return e=y(e),CH(e)}garbageCollectExternalResources(){for(let e of this.corePlugins)e.garbageCollectExternalResources()}};function FH(e,t={}){let n=y(t);return n.type=e,n}let IH={},LH={MIN_ROW_HEIGHT:10,MIN_COL_WIDTH:5,HEADER_HEIGHT:26,HEADER_WIDTH:48,TOPBAR_HEIGHT:63,BOTTOMBAR_HEIGHT:36,DEFAULT_CELL_WIDTH:96,DEFAULT_CELL_HEIGHT:23,SCROLLBAR_WIDTH:15},RH={autoCompleteProviders:c_,autofillModifiersRegistry:$E,autofillRulesRegistry:eD,cellMenuRegistry:yj,colMenuRegistry:dN,errorTypes:ta,linkMenuRegistry:nk,functionRegistry:RT,featurePluginRegistry:cB,iconsOnCellRegistry:pf,statefulUIPluginRegistry:lB,coreViewsPluginRegistry:uB,corePluginRegistry:sB,rowMenuRegistry:gN,sidePanelRegistry:fI,figureRegistry:pO,chartSidePanelComponentRegistry:rP,chartComponentRegistry:aO,chartRegistry:iO,chartSubtypeRegistry:sO,topbarMenuRegistry:SN,topbarComponentRegistry:wN,clickableCellRegistry:dB,otRegistry:CN,inverseCommandRegistry:yO,urlRegistry:Xa,cellPopoverRegistry:uD,numberFormatMenuRegistry:fN,repeatLocalCommandTransformRegistry:Uz,repeatCommandTransformRegistry:Hz,clipboardHandlersRegistries:ed,pivotRegistry:AF,pivotTimeAdapterRegistry:lu,pivotSidePanelRegistry:IF,pivotNormalizationValueRegistry:Bu,supportedPivotPositionalFormulaRegistry:JE,pivotToFunctionValueRegistry:Vu,migrationStepRegistry:Fh},zH={arg:Y,isEvaluationError:P,toBoolean:L,toJsDate:R,toNumber:F,toString:I,toNormalizedPivotValue:Iu,toXC:w,toZone:Qn,toUnboundedZone:Zn,toCartesian:Pn,numberToLetters:Tn,lettersToNumber:En,UuidGenerator:wc,formatValue:B,createCurrencyFormat:Qo,ColorGenerator:wn,computeTextWidth:sc,createEmptyWorkbookData:Xh,createEmptySheet:Yh,createEmptyExcelSheet:Zh,getDefaultChartJsRuntime:Xg,chartFontColor:Dd,getChartAxisTitleRuntime:Md,getChartAxisType:wD,getTrendDatasetForBarChart:Fd,getTrendDatasetForLineChart:jD,getFillingMode:t_,rgbaToHex:cn,colorToRGBA:ln,positionToZone:D,isDefined:S,isMatrix:A,lazy:Et,genericRepeat:Wz,createAction:m,createActions:f,transformRangeData:nd,deepEquals:C,overlap:ur,union:or,isInside:dr,deepCopy:y,expandZoneOnInsertion:nr,reduceZoneOnDeletion:ar,unquote:at,getMaxObjectId:Ou,getFunctionsFromTokens:LE,getFirstPivotFunction:GE,getNumberOfPivotFunctions:qE,parseDimension:ju,isDateOrDatetimeField:Mu,makeFieldProposal:BE,insertTokenAfterArgSeparator:HE,insertTokenAfterLeftParenthesis:UE,mergeContiguousZones:jr,getPivotHighlights:vN,pivotTimeAdapter:uu,UNDO_REDO_PIVOT_COMMANDS:kR,createPivotFormula:Fu,areDomainArgsFieldsValid:Pu,splitReference:Vs,formatTickValue:zd,sanitizeSheetName:st,isNumber:Oi,isDateTime:Xr},BH={isMarkdownLink:pt,parseMarkdownLink:gt,markdownLink:ht,openLink:to,urlRepresentation:eo},VH={Checkbox:TN,Section:Z,RoundColorPicker:HN,ChartDataSeries:kN,ChartErrorSection:jN,ChartLabelRange:MN,ChartTitle:WN,ChartPanel:oP,ChartFigure:lO,ChartJsComponent:o_,Grid:SL,GridOverlay:$I,ScorecardChart:s_,LineConfigPanel:ZN,BarConfigPanel:PN,PieChartDesignPanel:QN,GenericChartConfigPanel:NN,ChartWithAxisDesignPanel:qN,GaugeChartConfigPanel:YN,GaugeChartDesignPanel:XN,ScorecardChartConfigPanel:eP,ScorecardChartDesignPanel:tP,ChartTypePicker:iP,FigureComponent:pI,Menu:pk,Popover:lk,SelectionInput:ON,ValidationMessages:AN,AddDimensionButton:tF,PivotDimensionGranularity:aF,PivotDimensionOrder:oF,PivotDimension:iF,PivotLayoutConfigurator:lF,PivotHTMLRenderer:wL,EditableName:CL,PivotDeferUpdate:$P,PivotTitleSection:uF,CogWheelMenu:rF,TextInput:nF,SidePanelCollapsible:IN},HH={useDragAndDropListItems:fP,useHighlights:bP,useHighlightsOnHover:yP},UH={useStoreProvider:cd,DependencyContainer:id,CellPopoverStore:GO,ComposerFocusStore:_d,CellComposerStore:TI,FindAndReplaceStore:qP,HighlightStore:xN,HoveredCellStore:WO,ModelStore:pd,NotificationStore:sP,RendererStore:md,SelectionInputStore:DN,SpreadsheetStore:hd,useStore:V,useLocalStore:ld,SidePanelStore:vL,PivotSidePanelStore:PF,PivotMeasureDisplayPanelStore:ZP};function WH(e,t){return RT.add(e,t),{addFunction:(e,t)=>WH(e,t)}}let GH={DEFAULT_LOCALE:k,HIGHLIGHT_COLOR:_,PIVOT_TABLE_CONFIG:Ze,TREND_LINE_XAXIS_ID:`x1`,CHART_AXIS_CHOICES:Vd,ChartTerms:ag};e.AbstractCellClipboardHandler=Pc,e.AbstractChart=Ag,e.AbstractFigureClipboardHandler=Gu,e.CellErrorType=j,e.CommandResult=Yi,e.CorePlugin=EL,e.DispatchResult=qi,e.EvaluationError=M,e.Model=PH,e.PivotRuntimeDefinition=dF,e.Registry=h,e.Revision=oz,e.SPREADSHEET_DIMENSIONS=LH,e.Spreadsheet=BB,e.SpreadsheetPivotTable=mF,e.UIPlugin=$,e.__info__=IH,e.addFunction=WH,e.addRenderingLayer=ea,e.astToFormula=bC,e.compile=OE,e.compileTokens=kE,e.components=VH,e.constants=GH,e.convertAstNodes=gC,e.coreTypes=Wi,e.findCellInNewZone=Sr,e.functionCache=DE,e.helpers=zH,e.hooks=HH,e.invalidateCFEvaluationCommands=Vi,e.invalidateDependenciesCommands=Bi,e.invalidateEvaluationCommands=Ri,e.iterateAstNodes=_C,e.links=BH,e.load=Rh,e.parse=mC,e.parseTokens=hC,e.readonlyAllowedCommands=Ui,e.registries=RH,e.setDefaultSheetViewSize=Ye,e.setTranslationMethod=qn,e.stores=UH,e.tokenColors=_E,e.tokenize=Rc,IH.version=`18.0.75`,IH.date=`2026-07-20T10:59:04.011Z`,IH.hash=`ea26af9`})(this.o_spreadsheet=this.o_spreadsheet||{},owl);
|
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
3
3
|
@see https://github.com/odoo/o-spreadsheet
|
|
4
|
-
@version 18.0.
|
|
5
|
-
@date 2026-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.0.75
|
|
5
|
+
@date 2026-07-20T10:59:04.712Z
|
|
6
|
+
@hash ea26af9
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|