@odoo/o-spreadsheet 19.4.2 → 19.4.3
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/dist/o_spreadsheet.cjs +277 -214
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +278 -215
- package/dist/o_spreadsheet.iife.js +277 -214
- package/dist/o_spreadsheet.min.iife.js +262 -262
- package/dist/o_spreadsheet.xml +3 -3
- package/dist/types/clipboard_handlers/default_clipboard.d.ts +1 -1
- package/dist/types/components/props_validation.d.ts +7 -7
- package/dist/types/components/side_panel/chart/common.d.ts +1 -1
- package/dist/types/formulas/compiler.d.ts +1 -0
- package/dist/types/helpers/misc.d.ts +1 -0
- package/dist/types/plugins/core/squisher.d.ts +1 -0
- package/dist/types/types/range.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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 19.4.
|
|
6
|
-
* @date 2026-07-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.4.3
|
|
6
|
+
* @date 2026-07-20T11:02:36.941Z
|
|
7
|
+
* @hash d32e61b
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function(exports, _odoo_owl) {
|
|
@@ -1248,6 +1248,12 @@ _odoo_owl = __toESM(_odoo_owl, 1);
|
|
|
1248
1248
|
}
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
+
function repeat(array, times) {
|
|
1252
|
+
const len = array.length;
|
|
1253
|
+
const result = new Array(len * times);
|
|
1254
|
+
for (let t = 0; t < times; t++) for (let i = 0; i < len; i++) result[t * len + i] = array[i];
|
|
1255
|
+
return result;
|
|
1256
|
+
}
|
|
1251
1257
|
|
|
1252
1258
|
//#endregion
|
|
1253
1259
|
//#region src/helpers/coordinates.ts
|
|
@@ -2601,7 +2607,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
2601
2607
|
*
|
|
2602
2608
|
* The end goal is to eliminate all compatibility shims.
|
|
2603
2609
|
*/
|
|
2604
|
-
const { __ODOO_COMPATIBILITY_LAYER_ADDED__, blockDom: blockDom$1, config, onMounted: onMounted$24, onPatched: onPatched$5, onWillUnmount: onWillUnmount$18, App: OwlApp, Component: OwlComponent, EnvPlugin: OwlEnvPlugin, useChildEnv: OwlUseChildEnv, useChildSubEnv: OwlUseChildSubEnv, useComponent: OwlUseComponent, useEnv: OwlUseEnv, useExternalListener: OwlUseExternalListener, useLayoutEffect: OwlUseLayoutEffect, useSubEnv: OwlUseSubEnv, Plugin,
|
|
2610
|
+
const { __ODOO_COMPATIBILITY_LAYER_ADDED__, blockDom: blockDom$1, config, onMounted: onMounted$24, onPatched: onPatched$5, onWillUnmount: onWillUnmount$18, App: OwlApp, Component: OwlComponent, EnvPlugin: OwlEnvPlugin, useChildEnv: OwlUseChildEnv, useChildSubEnv: OwlUseChildSubEnv, useComponent: OwlUseComponent, useEnv: OwlUseEnv, useExternalListener: OwlUseExternalListener, useLayoutEffect: OwlUseLayoutEffect, useSubEnv: OwlUseSubEnv, Plugin, usePlugin, useProps: useProps$166, providePlugins, useScope, xml: xml$4 } = _odoo_owl;
|
|
2605
2611
|
const isOdooCompatLoaded = __ODOO_COMPATIBILITY_LAYER_ADDED__ === true;
|
|
2606
2612
|
var _Component = class extends OwlComponent {
|
|
2607
2613
|
static template = "";
|
|
@@ -2682,7 +2688,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
2682
2688
|
extendEnv(extension);
|
|
2683
2689
|
}
|
|
2684
2690
|
function _useChildEnv() {
|
|
2685
|
-
return
|
|
2691
|
+
return usePlugin(_EnvPlugin).env;
|
|
2686
2692
|
}
|
|
2687
2693
|
var VPortal = class extends blockDom$1.text("").constructor {
|
|
2688
2694
|
/**
|
|
@@ -2731,7 +2737,7 @@ stores.inject(MyMetaStore, storeInstance);
|
|
|
2731
2737
|
static template = xml$4`<t t-call-slot="default"/>`;
|
|
2732
2738
|
constructor(node) {
|
|
2733
2739
|
super(node);
|
|
2734
|
-
this.props =
|
|
2740
|
+
this.props = useProps$166();
|
|
2735
2741
|
this.__owl__ = node;
|
|
2736
2742
|
}
|
|
2737
2743
|
setup() {
|
|
@@ -6767,7 +6773,7 @@ set(value) {
|
|
|
6767
6773
|
if (prefixSheet && !sheetName) return CellErrorType.InvalidReference;
|
|
6768
6774
|
let rangeString = getRangePartString(range, 0, options);
|
|
6769
6775
|
if (range.parts && range.parts.length === 2) {
|
|
6770
|
-
if (range.zone.top !== range.zone.bottom || range.zone.left !== range.zone.right || range.parts[0].rowFixed || range.parts[0].colFixed || range.parts[1].rowFixed || range.parts[1].colFixed) {
|
|
6776
|
+
if (range.zone.top !== range.zone.bottom || range.zone.left !== range.zone.right || range.parts[0].rowFixed || range.parts[0].colFixed || range.parts[1].rowFixed || range.parts[1].colFixed || options.doNotSimplifyRange) {
|
|
6771
6777
|
rangeString += ":";
|
|
6772
6778
|
rangeString += getRangePartString(range, 1, options);
|
|
6773
6779
|
}
|
|
@@ -7519,6 +7525,11 @@ set(value) {
|
|
|
7519
7525
|
const params = compileTokens(rangeTokenize(formula));
|
|
7520
7526
|
return new CompiledFormula(sheetId, params.tokens, params.literalValues, params.symbols, params.dependencies.map((xc) => getters.getRangeFromSheetXC(sheetId, xc)), params.isBadExpression, params.normalizedFormula, params.execute);
|
|
7521
7527
|
}
|
|
7528
|
+
areRangeShapesInLineWithNormalizedFormula() {
|
|
7529
|
+
return Array.from(this.normalizedFormula.matchAll(/\|C\||\|R\|/g)).every((value, index) => {
|
|
7530
|
+
return this.rangeDependencies[index].parts.length === 1 && value[0] === "|C|" || this.rangeDependencies[index].parts.length === 2 && value[0] === "|R|" || this.rangeDependencies[index].invalidXc || this.rangeDependencies[index].invalidSheetName;
|
|
7531
|
+
});
|
|
7532
|
+
}
|
|
7522
7533
|
};
|
|
7523
7534
|
function compileTokens(tokens) {
|
|
7524
7535
|
try {
|
|
@@ -11714,7 +11725,7 @@ set(value) {
|
|
|
11714
11725
|
});
|
|
11715
11726
|
var ChartJsComponent = class extends Component {
|
|
11716
11727
|
static template = "o-spreadsheet-ChartJsComponent";
|
|
11717
|
-
props = (0, _odoo_owl.
|
|
11728
|
+
props = (0, _odoo_owl.useProps)({
|
|
11718
11729
|
chartId: types.string(),
|
|
11719
11730
|
isFullScreen: types.boolean().optional()
|
|
11720
11731
|
});
|
|
@@ -12417,7 +12428,7 @@ set(value) {
|
|
|
12417
12428
|
//#region src/components/figures/chart/scorecard/chart_scorecard.ts
|
|
12418
12429
|
var ScorecardChart = class extends Component {
|
|
12419
12430
|
static template = "o-spreadsheet-ScorecardChart";
|
|
12420
|
-
props = (0, _odoo_owl.
|
|
12431
|
+
props = (0, _odoo_owl.useProps)({
|
|
12421
12432
|
chartId: types.string(),
|
|
12422
12433
|
isFullScreen: types.boolean().optional()
|
|
12423
12434
|
});
|
|
@@ -14157,7 +14168,7 @@ set(value) {
|
|
|
14157
14168
|
const ANIMATION_DURATION = 1e3;
|
|
14158
14169
|
var GaugeChartComponent = class extends Component {
|
|
14159
14170
|
static template = "o-spreadsheet-GaugeChartComponent";
|
|
14160
|
-
props = (0, _odoo_owl.
|
|
14171
|
+
props = (0, _odoo_owl.useProps)({
|
|
14161
14172
|
chartId: types.string(),
|
|
14162
14173
|
isFullScreen: types.boolean().optional()
|
|
14163
14174
|
});
|
|
@@ -14383,7 +14394,7 @@ set(value) {
|
|
|
14383
14394
|
var Menu = class extends Component {
|
|
14384
14395
|
static template = "o-spreadsheet-Menu";
|
|
14385
14396
|
static components = {};
|
|
14386
|
-
props = (0, _odoo_owl.
|
|
14397
|
+
props = (0, _odoo_owl.useProps)({
|
|
14387
14398
|
menuItems: types.ArrayOf(),
|
|
14388
14399
|
onClose: types.function(),
|
|
14389
14400
|
onClickMenu: types.function().optional(),
|
|
@@ -14536,7 +14547,7 @@ set(value) {
|
|
|
14536
14547
|
//#region src/components/popover/popover.ts
|
|
14537
14548
|
var Popover = class extends Component {
|
|
14538
14549
|
static template = "o-spreadsheet-Popover";
|
|
14539
|
-
props = (0, _odoo_owl.
|
|
14550
|
+
props = (0, _odoo_owl.useProps)({
|
|
14540
14551
|
anchorRect: types.Rect(),
|
|
14541
14552
|
containerRect: types.object({}).optional(),
|
|
14542
14553
|
positioning: types.or([types.literal("top-right"), types.literal("bottom-left")]).optional("bottom-left"),
|
|
@@ -14715,7 +14726,7 @@ set(value) {
|
|
|
14715
14726
|
Menu,
|
|
14716
14727
|
Popover
|
|
14717
14728
|
};
|
|
14718
|
-
props = (0, _odoo_owl.
|
|
14729
|
+
props = (0, _odoo_owl.useProps)({
|
|
14719
14730
|
anchorRect: types.Rect(),
|
|
14720
14731
|
popoverPositioning: types.or([types.literal("top-right"), types.literal("bottom-left")]).optional("top-right"),
|
|
14721
14732
|
menuItems: types.ArrayOf(),
|
|
@@ -14970,7 +14981,7 @@ set(value) {
|
|
|
14970
14981
|
var Select = class extends Component {
|
|
14971
14982
|
static template = "o-spreadsheet-Select";
|
|
14972
14983
|
static components = { Popover };
|
|
14973
|
-
props = (0, _odoo_owl.
|
|
14984
|
+
props = (0, _odoo_owl.useProps)({
|
|
14974
14985
|
onChange: types.function(),
|
|
14975
14986
|
values: types.array(),
|
|
14976
14987
|
selectedValue: types.string().optional(),
|
|
@@ -15080,7 +15091,7 @@ set(value) {
|
|
|
15080
15091
|
//#region src/components/info_popover/info_popover.ts
|
|
15081
15092
|
var InfoPopover = class extends Component {
|
|
15082
15093
|
static template = "o-spreadsheet-Info-Popover";
|
|
15083
|
-
props = (0, _odoo_owl.
|
|
15094
|
+
props = (0, _odoo_owl.useProps)({
|
|
15084
15095
|
anchorRect: types.Rect(),
|
|
15085
15096
|
onClose: types.function(),
|
|
15086
15097
|
annotationText: types.string().optional(),
|
|
@@ -15120,7 +15131,7 @@ set(value) {
|
|
|
15120
15131
|
InfoPopover,
|
|
15121
15132
|
Select
|
|
15122
15133
|
};
|
|
15123
|
-
props = (0, _odoo_owl.
|
|
15134
|
+
props = (0, _odoo_owl.useProps)({
|
|
15124
15135
|
chartId: types.UID(),
|
|
15125
15136
|
hasFullScreenButton: types.boolean().optional(true),
|
|
15126
15137
|
displayEllipsisButton: types.boolean().optional(true)
|
|
@@ -15228,7 +15239,7 @@ set(value) {
|
|
|
15228
15239
|
ChartMenu,
|
|
15229
15240
|
MenuPopover
|
|
15230
15241
|
};
|
|
15231
|
-
props = (0, _odoo_owl.
|
|
15242
|
+
props = (0, _odoo_owl.useProps)({
|
|
15232
15243
|
figureUI: types.FigureUI(),
|
|
15233
15244
|
editFigureStyle: types.function().optional(),
|
|
15234
15245
|
isFullScreen: types.boolean().optional(),
|
|
@@ -15374,7 +15385,7 @@ set(value) {
|
|
|
15374
15385
|
var ChartFigure = class extends Component {
|
|
15375
15386
|
static template = "o-spreadsheet-ChartFigure";
|
|
15376
15387
|
static components = { ChartMenu };
|
|
15377
|
-
props = (0, _odoo_owl.
|
|
15388
|
+
props = (0, _odoo_owl.useProps)({
|
|
15378
15389
|
figureUI: types.FigureUI(),
|
|
15379
15390
|
editFigureStyle: types.function().optional(),
|
|
15380
15391
|
isFullScreen: types.boolean().optional(),
|
|
@@ -15404,7 +15415,7 @@ set(value) {
|
|
|
15404
15415
|
//#region src/components/figures/figure_image/figure_image.ts
|
|
15405
15416
|
var ImageFigure = class extends Component {
|
|
15406
15417
|
static template = "o-spreadsheet-ImageFigure";
|
|
15407
|
-
props = (0, _odoo_owl.
|
|
15418
|
+
props = (0, _odoo_owl.useProps)({
|
|
15408
15419
|
figureUI: types.FigureUI(),
|
|
15409
15420
|
editFigureStyle: types.function().optional(),
|
|
15410
15421
|
openContextMenu: types.function()
|
|
@@ -15456,7 +15467,7 @@ set(value) {
|
|
|
15456
15467
|
var FigureComponent = class extends Component {
|
|
15457
15468
|
static template = "o-spreadsheet-FigureComponent";
|
|
15458
15469
|
static components = { MenuPopover };
|
|
15459
|
-
props = (0, _odoo_owl.
|
|
15470
|
+
props = (0, _odoo_owl.useProps)({
|
|
15460
15471
|
figureUI: types.FigureUI(),
|
|
15461
15472
|
style: types.string(),
|
|
15462
15473
|
class: types.string(),
|
|
@@ -24594,7 +24605,7 @@ set(value) {
|
|
|
24594
24605
|
resetOnBlur: types.boolean().optional()
|
|
24595
24606
|
};
|
|
24596
24607
|
var GenericInput = class extends Component {
|
|
24597
|
-
props = (0, _odoo_owl.
|
|
24608
|
+
props = (0, _odoo_owl.useProps)(genericInputPropsDefinition);
|
|
24598
24609
|
genericInputRef = _odoo_owl.signal.ref(HTMLInputElement);
|
|
24599
24610
|
lastOnChangeValue = this.props.value.toString();
|
|
24600
24611
|
setup() {
|
|
@@ -24677,7 +24688,7 @@ set(value) {
|
|
|
24677
24688
|
var TextInput = class extends GenericInput {
|
|
24678
24689
|
static template = "o-spreadsheet-TextInput";
|
|
24679
24690
|
static components = {};
|
|
24680
|
-
props = (0, _odoo_owl.
|
|
24691
|
+
props = (0, _odoo_owl.useProps)({
|
|
24681
24692
|
...genericInputPropsDefinition,
|
|
24682
24693
|
value: types.string(),
|
|
24683
24694
|
errorMessage: types.string().optional(),
|
|
@@ -24697,7 +24708,7 @@ set(value) {
|
|
|
24697
24708
|
//#region src/components/action_button/action_button.ts
|
|
24698
24709
|
var ActionButton = class extends Component {
|
|
24699
24710
|
static template = "o-spreadsheet-ActionButton";
|
|
24700
|
-
props = (0, _odoo_owl.
|
|
24711
|
+
props = (0, _odoo_owl.useProps)({
|
|
24701
24712
|
action: types.ActionSpec(),
|
|
24702
24713
|
hasTriangleDownIcon: types.boolean().optional(),
|
|
24703
24714
|
selectedColor: types.string().optional(),
|
|
@@ -24753,7 +24764,7 @@ set(value) {
|
|
|
24753
24764
|
var ColorPicker = class extends Component {
|
|
24754
24765
|
static template = "o-spreadsheet-ColorPicker";
|
|
24755
24766
|
static components = { Popover };
|
|
24756
|
-
props = (0, _odoo_owl.
|
|
24767
|
+
props = (0, _odoo_owl.useProps)({
|
|
24757
24768
|
onColorPicked: types.function(),
|
|
24758
24769
|
currentColor: types.string().optional(""),
|
|
24759
24770
|
maxHeight: types.Pixel().optional(),
|
|
@@ -24916,7 +24927,7 @@ set(value) {
|
|
|
24916
24927
|
var ColorPickerWidget = class extends Component {
|
|
24917
24928
|
static template = "o-spreadsheet-ColorPickerWidget";
|
|
24918
24929
|
static components = { ColorPicker };
|
|
24919
|
-
props = (0, _odoo_owl.
|
|
24930
|
+
props = (0, _odoo_owl.useProps)({
|
|
24920
24931
|
currentColor: types.string().optional(),
|
|
24921
24932
|
toggleColorPicker: types.function(),
|
|
24922
24933
|
showColorPicker: types.boolean(),
|
|
@@ -24941,7 +24952,7 @@ set(value) {
|
|
|
24941
24952
|
var NumberEditor = class extends Component {
|
|
24942
24953
|
static template = "o-spreadsheet-NumberEditor";
|
|
24943
24954
|
static components = { Popover };
|
|
24944
|
-
props = (0, _odoo_owl.
|
|
24955
|
+
props = (0, _odoo_owl.useProps)({
|
|
24945
24956
|
currentValue: types.number(),
|
|
24946
24957
|
onValueChange: types.function(),
|
|
24947
24958
|
onToggle: types.function().optional(),
|
|
@@ -25031,7 +25042,7 @@ set(value) {
|
|
|
25031
25042
|
var FontSizeEditor = class extends Component {
|
|
25032
25043
|
static template = "o-spreadsheet-FontSizeEditor";
|
|
25033
25044
|
static components = { NumberEditor };
|
|
25034
|
-
props = (0, _odoo_owl.
|
|
25045
|
+
props = (0, _odoo_owl.useProps)({
|
|
25035
25046
|
currentFontSize: types.number(),
|
|
25036
25047
|
onFontSizeChanged: types.function(),
|
|
25037
25048
|
onToggle: types.function().optional(),
|
|
@@ -25050,7 +25061,7 @@ set(value) {
|
|
|
25050
25061
|
ActionButton,
|
|
25051
25062
|
FontSizeEditor
|
|
25052
25063
|
};
|
|
25053
|
-
props = (0, _odoo_owl.
|
|
25064
|
+
props = (0, _odoo_owl.useProps)({
|
|
25054
25065
|
style: types.ChartStyle(),
|
|
25055
25066
|
updateStyle: types.function(),
|
|
25056
25067
|
defaultStyle: types.object().optional(),
|
|
@@ -25240,7 +25251,7 @@ set(value) {
|
|
|
25240
25251
|
var CogWheelMenu = class extends Component {
|
|
25241
25252
|
static template = "o-spreadsheet-CogWheelMenu";
|
|
25242
25253
|
static components = { MenuPopover };
|
|
25243
|
-
props = (0, _odoo_owl.
|
|
25254
|
+
props = (0, _odoo_owl.useProps)({ items: types.array(types.ActionSpec()) });
|
|
25244
25255
|
buttonRef = (0, _odoo_owl.signal)(null);
|
|
25245
25256
|
menuState = (0, _odoo_owl.proxy)({
|
|
25246
25257
|
isOpen: false,
|
|
@@ -25260,7 +25271,7 @@ set(value) {
|
|
|
25260
25271
|
//#region src/components/side_panel/components/section/section.ts
|
|
25261
25272
|
var Section = class extends Component {
|
|
25262
25273
|
static template = "o_spreadsheet.Section";
|
|
25263
|
-
props = (0, _odoo_owl.
|
|
25274
|
+
props = (0, _odoo_owl.useProps)({
|
|
25264
25275
|
class: types.string().optional(),
|
|
25265
25276
|
title: types.string().optional(),
|
|
25266
25277
|
slots: types.object()
|
|
@@ -25277,7 +25288,7 @@ set(value) {
|
|
|
25277
25288
|
TextStyler,
|
|
25278
25289
|
CogWheelMenu
|
|
25279
25290
|
};
|
|
25280
|
-
props = (0, _odoo_owl.
|
|
25291
|
+
props = (0, _odoo_owl.useProps)({
|
|
25281
25292
|
onCloseSidePanel: types.function(),
|
|
25282
25293
|
figureId: types.UID()
|
|
25283
25294
|
});
|
|
@@ -25487,7 +25498,7 @@ set(value) {
|
|
|
25487
25498
|
//#region src/components/side_panel/components/checkbox/checkbox.ts
|
|
25488
25499
|
var Checkbox = class extends Component {
|
|
25489
25500
|
static template = "o-spreadsheet.Checkbox";
|
|
25490
|
-
props = (0, _odoo_owl.
|
|
25501
|
+
props = (0, _odoo_owl.useProps)({
|
|
25491
25502
|
label: types.string().optional(),
|
|
25492
25503
|
value: types.boolean().optional(false),
|
|
25493
25504
|
className: types.string().optional(),
|
|
@@ -25996,7 +26007,7 @@ set(value) {
|
|
|
25996
26007
|
*/
|
|
25997
26008
|
var SelectionInput = class extends Component {
|
|
25998
26009
|
static template = "o-spreadsheet-SelectionInput";
|
|
25999
|
-
props = (0, _odoo_owl.
|
|
26010
|
+
props = (0, _odoo_owl.useProps)({
|
|
26000
26011
|
ranges: types.array(types.string()),
|
|
26001
26012
|
hasSingleRange: types.boolean().optional(),
|
|
26002
26013
|
required: types.boolean().optional(),
|
|
@@ -26175,7 +26186,7 @@ set(value) {
|
|
|
26175
26186
|
SelectionInput,
|
|
26176
26187
|
Section
|
|
26177
26188
|
};
|
|
26178
|
-
props = (0, _odoo_owl.
|
|
26189
|
+
props = (0, _odoo_owl.useProps)({
|
|
26179
26190
|
ranges: types.ArrayOf(),
|
|
26180
26191
|
dataSetStyles: types.DataSetStyle().optional(),
|
|
26181
26192
|
hasSingleRange: types.boolean().optional(),
|
|
@@ -26216,7 +26227,7 @@ set(value) {
|
|
|
26216
26227
|
Checkbox,
|
|
26217
26228
|
Section
|
|
26218
26229
|
};
|
|
26219
|
-
props = (0, _odoo_owl.
|
|
26230
|
+
props = (0, _odoo_owl.useProps)({
|
|
26220
26231
|
title: types.string().optional(_t("Categories / Labels")),
|
|
26221
26232
|
range: types.string(),
|
|
26222
26233
|
class: types.string().optional(),
|
|
@@ -26238,7 +26249,7 @@ set(value) {
|
|
|
26238
26249
|
ChartDataSeries,
|
|
26239
26250
|
ChartLabelRange
|
|
26240
26251
|
};
|
|
26241
|
-
props = (0, _odoo_owl.
|
|
26252
|
+
props = (0, _odoo_owl.useProps)({
|
|
26242
26253
|
chartId: types.UID(),
|
|
26243
26254
|
definition: types.ChartDefinitionWithDataSource(),
|
|
26244
26255
|
updateChart: types.function(),
|
|
@@ -26257,7 +26268,7 @@ set(value) {
|
|
|
26257
26268
|
//#region src/components/validation_messages/validation_messages.ts
|
|
26258
26269
|
var ValidationMessages = class extends Component {
|
|
26259
26270
|
static template = "o-spreadsheet-ValidationMessages";
|
|
26260
|
-
props = (0, _odoo_owl.
|
|
26271
|
+
props = (0, _odoo_owl.useProps)({
|
|
26261
26272
|
messages: types.array(types.string()).optional(),
|
|
26262
26273
|
msgType: types.or([
|
|
26263
26274
|
types.literal("warning"),
|
|
@@ -26281,7 +26292,7 @@ set(value) {
|
|
|
26281
26292
|
Section,
|
|
26282
26293
|
ValidationMessages
|
|
26283
26294
|
};
|
|
26284
|
-
props = (0, _odoo_owl.
|
|
26295
|
+
props = (0, _odoo_owl.useProps)({ messages: types.array(types.string()) });
|
|
26285
26296
|
};
|
|
26286
26297
|
|
|
26287
26298
|
//#endregion
|
|
@@ -26294,7 +26305,7 @@ set(value) {
|
|
|
26294
26305
|
Checkbox,
|
|
26295
26306
|
ChartErrorSection
|
|
26296
26307
|
};
|
|
26297
|
-
props = (0, _odoo_owl.
|
|
26308
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
26298
26309
|
chartTerms = ChartTerms;
|
|
26299
26310
|
state = (0, _odoo_owl.proxy)({ errorMessages: [] });
|
|
26300
26311
|
onErrorMessagesChanged(errorMessages) {
|
|
@@ -26341,7 +26352,7 @@ set(value) {
|
|
|
26341
26352
|
//#region src/components/side_panel/components/collapse/collapse.ts
|
|
26342
26353
|
var Collapse = class extends Component {
|
|
26343
26354
|
static template = "o-spreadsheet-Collapse";
|
|
26344
|
-
props = (0, _odoo_owl.
|
|
26355
|
+
props = (0, _odoo_owl.useProps)({ isCollapsed: types.boolean() });
|
|
26345
26356
|
contentRef = (0, _odoo_owl.signal)(null);
|
|
26346
26357
|
setup() {
|
|
26347
26358
|
(0, _odoo_owl.onMounted)(() => {
|
|
@@ -26374,7 +26385,7 @@ set(value) {
|
|
|
26374
26385
|
var SidePanelCollapsible = class extends Component {
|
|
26375
26386
|
static template = "o-spreadsheet-SidePanelCollapsible";
|
|
26376
26387
|
static components = { Collapse };
|
|
26377
|
-
props = (0, _odoo_owl.
|
|
26388
|
+
props = (0, _odoo_owl.useProps)({
|
|
26378
26389
|
title: types.string().optional(),
|
|
26379
26390
|
isInitiallyCollapsed: types.boolean().optional(),
|
|
26380
26391
|
class: types.string().optional()
|
|
@@ -26394,7 +26405,7 @@ set(value) {
|
|
|
26394
26405
|
Section,
|
|
26395
26406
|
TextInput
|
|
26396
26407
|
};
|
|
26397
|
-
props = (0, _odoo_owl.
|
|
26408
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
26398
26409
|
editorRef = (0, _odoo_owl.signal)(null);
|
|
26399
26410
|
state = (0, _odoo_owl.proxy)({
|
|
26400
26411
|
annotationTextInput: this.props.definition.annotationText || "",
|
|
@@ -26451,7 +26462,7 @@ set(value) {
|
|
|
26451
26462
|
var NumberInput = class extends GenericInput {
|
|
26452
26463
|
static template = "o-spreadsheet-NumberInput";
|
|
26453
26464
|
static components = {};
|
|
26454
|
-
props = (0, _odoo_owl.
|
|
26465
|
+
props = (0, _odoo_owl.useProps)({
|
|
26455
26466
|
...genericInputPropsDefinition,
|
|
26456
26467
|
min: types.number().optional(),
|
|
26457
26468
|
max: types.number().optional()
|
|
@@ -26476,7 +26487,7 @@ set(value) {
|
|
|
26476
26487
|
//#region src/components/side_panel/components/badge_selection/badge_selection.ts
|
|
26477
26488
|
var BadgeSelection = class extends Component {
|
|
26478
26489
|
static template = "o-spreadsheet.BadgeSelection";
|
|
26479
|
-
props = (0, _odoo_owl.
|
|
26490
|
+
props = (0, _odoo_owl.useProps)({
|
|
26480
26491
|
choices: types.ArrayOf(),
|
|
26481
26492
|
onChange: types.function(),
|
|
26482
26493
|
selectedValue: types.string()
|
|
@@ -26492,7 +26503,7 @@ set(value) {
|
|
|
26492
26503
|
TextStyler,
|
|
26493
26504
|
TextInput
|
|
26494
26505
|
};
|
|
26495
|
-
props = (0, _odoo_owl.
|
|
26506
|
+
props = (0, _odoo_owl.useProps)({
|
|
26496
26507
|
title: types.string().optional(""),
|
|
26497
26508
|
placeholder: types.string().optional(""),
|
|
26498
26509
|
updateTitle: types.function(),
|
|
@@ -26518,7 +26529,7 @@ set(value) {
|
|
|
26518
26529
|
NumberInput,
|
|
26519
26530
|
DateInput
|
|
26520
26531
|
};
|
|
26521
|
-
props = (0, _odoo_owl.
|
|
26532
|
+
props = (0, _odoo_owl.useProps)({
|
|
26522
26533
|
chartId: types.UID(),
|
|
26523
26534
|
definition: types.ChartWithAxisDefinition(),
|
|
26524
26535
|
updateChart: types.function(),
|
|
@@ -26693,7 +26704,7 @@ set(value) {
|
|
|
26693
26704
|
//#region src/components/side_panel/components/radio_selection/radio_selection.ts
|
|
26694
26705
|
var RadioSelection = class extends Component {
|
|
26695
26706
|
static template = "o-spreadsheet.RadioSelection";
|
|
26696
|
-
props = (0, _odoo_owl.
|
|
26707
|
+
props = (0, _odoo_owl.useProps)({
|
|
26697
26708
|
choices: types.ArrayOf(),
|
|
26698
26709
|
onChange: types.function(),
|
|
26699
26710
|
selectedValue: types.string(),
|
|
@@ -26710,7 +26721,7 @@ set(value) {
|
|
|
26710
26721
|
Section,
|
|
26711
26722
|
ColorPicker
|
|
26712
26723
|
};
|
|
26713
|
-
props = (0, _odoo_owl.
|
|
26724
|
+
props = (0, _odoo_owl.useProps)({
|
|
26714
26725
|
currentColor: types.string().optional(),
|
|
26715
26726
|
title: types.string().optional(),
|
|
26716
26727
|
onColorPicked: types.function(),
|
|
@@ -26751,7 +26762,7 @@ set(value) {
|
|
|
26751
26762
|
SidePanelCollapsible,
|
|
26752
26763
|
RadioSelection
|
|
26753
26764
|
};
|
|
26754
|
-
props = (0, _odoo_owl.
|
|
26765
|
+
props = (0, _odoo_owl.useProps)({
|
|
26755
26766
|
chartId: types.UID(),
|
|
26756
26767
|
definition: types.ChartDefinition(),
|
|
26757
26768
|
canUpdateChart: types.function(),
|
|
@@ -26794,7 +26805,7 @@ set(value) {
|
|
|
26794
26805
|
var ChartHumanizeNumbers = class extends Component {
|
|
26795
26806
|
static template = "o-spreadsheet-ChartHumanizeNumbers";
|
|
26796
26807
|
static components = { Checkbox };
|
|
26797
|
-
props = (0, _odoo_owl.
|
|
26808
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
26798
26809
|
get title() {
|
|
26799
26810
|
const locale = this.env.model.getters.getLocale();
|
|
26800
26811
|
return _t("E.g. 1234567 -> %(value)s", { value: formatValue(1234567, {
|
|
@@ -26812,7 +26823,7 @@ set(value) {
|
|
|
26812
26823
|
Section,
|
|
26813
26824
|
Select
|
|
26814
26825
|
};
|
|
26815
|
-
props = (0, _odoo_owl.
|
|
26826
|
+
props = (0, _odoo_owl.useProps)({
|
|
26816
26827
|
chartId: types.string(),
|
|
26817
26828
|
definition: types.ChartDefinitionWithDataSource(),
|
|
26818
26829
|
canUpdateChart: types.function(),
|
|
@@ -26858,7 +26869,7 @@ set(value) {
|
|
|
26858
26869
|
RoundColorPicker,
|
|
26859
26870
|
Select
|
|
26860
26871
|
};
|
|
26861
|
-
props = (0, _odoo_owl.
|
|
26872
|
+
props = (0, _odoo_owl.useProps)({
|
|
26862
26873
|
chartId: types.UID(),
|
|
26863
26874
|
definition: types.ChartDefinitionWithDataSource(),
|
|
26864
26875
|
updateChart: types.function(),
|
|
@@ -26923,7 +26934,7 @@ set(value) {
|
|
|
26923
26934
|
NumberInput,
|
|
26924
26935
|
Select
|
|
26925
26936
|
};
|
|
26926
|
-
props = (0, _odoo_owl.
|
|
26937
|
+
props = (0, _odoo_owl.useProps)({
|
|
26927
26938
|
chartId: types.UID(),
|
|
26928
26939
|
definition: types.ChartDefinitionWithDataSource(),
|
|
26929
26940
|
updateChart: types.function(),
|
|
@@ -27063,7 +27074,7 @@ set(value) {
|
|
|
27063
27074
|
var ChartShowValues = class extends Component {
|
|
27064
27075
|
static template = "o-spreadsheet-ChartShowValues";
|
|
27065
27076
|
static components = { Checkbox };
|
|
27066
|
-
props = (0, _odoo_owl.
|
|
27077
|
+
props = (0, _odoo_owl.useProps)({
|
|
27067
27078
|
chartId: types.UID(),
|
|
27068
27079
|
definition: types.ChartDefinitionWithDataSource(),
|
|
27069
27080
|
canUpdateChart: types.function(),
|
|
@@ -27087,7 +27098,7 @@ set(value) {
|
|
|
27087
27098
|
ChartShowValues,
|
|
27088
27099
|
ChartHumanizeNumbers
|
|
27089
27100
|
};
|
|
27090
|
-
props = (0, _odoo_owl.
|
|
27101
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
27091
27102
|
get axesList() {
|
|
27092
27103
|
const { useLeftAxis, useRightAxis } = getDefinedAxis(this.props.definition);
|
|
27093
27104
|
const axes = [{
|
|
@@ -27137,7 +27148,7 @@ set(value) {
|
|
|
27137
27148
|
ChartLabelRange,
|
|
27138
27149
|
ChartErrorSection
|
|
27139
27150
|
};
|
|
27140
|
-
props = (0, _odoo_owl.
|
|
27151
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
27141
27152
|
state = (0, _odoo_owl.proxy)({
|
|
27142
27153
|
datasetDispatchResult: void 0,
|
|
27143
27154
|
labelsDispatchResult: void 0,
|
|
@@ -27274,7 +27285,7 @@ set(value) {
|
|
|
27274
27285
|
Checkbox,
|
|
27275
27286
|
ChartAnnotation
|
|
27276
27287
|
};
|
|
27277
|
-
props = (0, _odoo_owl.
|
|
27288
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
27278
27289
|
get axesList() {
|
|
27279
27290
|
return [{
|
|
27280
27291
|
id: "x",
|
|
@@ -29729,7 +29740,7 @@ set(value) {
|
|
|
29729
29740
|
ChartDataSeries,
|
|
29730
29741
|
ChartLabelRange
|
|
29731
29742
|
};
|
|
29732
|
-
props = (0, _odoo_owl.
|
|
29743
|
+
props = (0, _odoo_owl.useProps)({
|
|
29733
29744
|
chartId: types.UID(),
|
|
29734
29745
|
definition: types.ChartDefinitionWithDataSource(),
|
|
29735
29746
|
dataSource: types.ChartRangeDataSource(),
|
|
@@ -30592,7 +30603,7 @@ set(value) {
|
|
|
30592
30603
|
RoundColorPicker,
|
|
30593
30604
|
Popover
|
|
30594
30605
|
};
|
|
30595
|
-
props = (0, _odoo_owl.
|
|
30606
|
+
props = (0, _odoo_owl.useProps)({
|
|
30596
30607
|
definition: types.object({ colorScale: types.ChartColorScale().optional() }),
|
|
30597
30608
|
onUpdateColorScale: types.function()
|
|
30598
30609
|
});
|
|
@@ -30687,7 +30698,7 @@ set(value) {
|
|
|
30687
30698
|
RoundColorPicker,
|
|
30688
30699
|
Select
|
|
30689
30700
|
};
|
|
30690
|
-
props = (0, _odoo_owl.
|
|
30701
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
30691
30702
|
get axesList() {
|
|
30692
30703
|
return [{
|
|
30693
30704
|
id: "x",
|
|
@@ -30732,7 +30743,7 @@ set(value) {
|
|
|
30732
30743
|
var ChartShowDataMarkers = class extends Component {
|
|
30733
30744
|
static template = "o-spreadsheet-ChartShowDataMarkers";
|
|
30734
30745
|
static components = { Checkbox };
|
|
30735
|
-
props = (0, _odoo_owl.
|
|
30746
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
30736
30747
|
};
|
|
30737
30748
|
|
|
30738
30749
|
//#endregion
|
|
@@ -30797,7 +30808,7 @@ set(value) {
|
|
|
30797
30808
|
Section,
|
|
30798
30809
|
ChartHumanizeNumbers
|
|
30799
30810
|
};
|
|
30800
|
-
props = (0, _odoo_owl.
|
|
30811
|
+
props = (0, _odoo_owl.useProps)({
|
|
30801
30812
|
...chartSidePanelPropsDefinition,
|
|
30802
30813
|
definition: types.FunnelChartDefinition()
|
|
30803
30814
|
});
|
|
@@ -30823,7 +30834,7 @@ set(value) {
|
|
|
30823
30834
|
ChartErrorSection,
|
|
30824
30835
|
ChartDataSeries
|
|
30825
30836
|
};
|
|
30826
|
-
props = (0, _odoo_owl.
|
|
30837
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
30827
30838
|
state = (0, _odoo_owl.proxy)({ dataRangeDispatchResult: void 0 });
|
|
30828
30839
|
dataRange = this.props.definition.dataRange;
|
|
30829
30840
|
get configurationErrorMessages() {
|
|
@@ -30848,7 +30859,7 @@ set(value) {
|
|
|
30848
30859
|
//#region src/components/composer/autocomplete_dropdown/autocomplete_dropdown.ts
|
|
30849
30860
|
var TextValueProvider = class extends Component {
|
|
30850
30861
|
static template = "o-spreadsheet-TextValueProvider";
|
|
30851
|
-
props = (0, _odoo_owl.
|
|
30862
|
+
props = (0, _odoo_owl.useProps)({
|
|
30852
30863
|
proposals: types.array(types.AutoCompleteProposal()),
|
|
30853
30864
|
selectedIndex: types.number().optional(),
|
|
30854
30865
|
onValueSelected: types.function(),
|
|
@@ -31071,7 +31082,7 @@ set(value) {
|
|
|
31071
31082
|
var FunctionDescriptionProvider = class extends Component {
|
|
31072
31083
|
static template = "o-spreadsheet-FunctionDescriptionProvider";
|
|
31073
31084
|
static components = { Collapse };
|
|
31074
|
-
props = (0, _odoo_owl.
|
|
31085
|
+
props = (0, _odoo_owl.useProps)({
|
|
31075
31086
|
functionDescription: types.FunctionDescription(),
|
|
31076
31087
|
argsToFocus: types.array(types.number()),
|
|
31077
31088
|
repeatingArgGroupIndex: types.number().optional()
|
|
@@ -31140,7 +31151,7 @@ set(value) {
|
|
|
31140
31151
|
var SpeechBubble = class extends Component {
|
|
31141
31152
|
static template = "o-spreadsheet-SpeechBubble";
|
|
31142
31153
|
static components = {};
|
|
31143
|
-
props = (0, _odoo_owl.
|
|
31154
|
+
props = (0, _odoo_owl.useProps)({
|
|
31144
31155
|
content: types.string(),
|
|
31145
31156
|
anchorRect: types.Rect()
|
|
31146
31157
|
});
|
|
@@ -31175,7 +31186,7 @@ set(value) {
|
|
|
31175
31186
|
FunctionDescriptionProvider,
|
|
31176
31187
|
SpeechBubble
|
|
31177
31188
|
};
|
|
31178
|
-
props = (0, _odoo_owl.
|
|
31189
|
+
props = (0, _odoo_owl.useProps)({
|
|
31179
31190
|
focus: types.ComposerFocusType(),
|
|
31180
31191
|
inputStyle: types.string().optional(""),
|
|
31181
31192
|
rect: types.Rect().optional(),
|
|
@@ -32763,7 +32774,7 @@ set(value) {
|
|
|
32763
32774
|
var StandaloneComposer = class extends Component {
|
|
32764
32775
|
static template = "o-spreadsheet-StandaloneComposer";
|
|
32765
32776
|
static components = { Composer };
|
|
32766
|
-
props = (0, _odoo_owl.
|
|
32777
|
+
props = (0, _odoo_owl.useProps)({
|
|
32767
32778
|
onConfirm: types.function(),
|
|
32768
32779
|
composerContent: types.string().optional(""),
|
|
32769
32780
|
defaultRangeSheetId: types.UID(),
|
|
@@ -32840,7 +32851,7 @@ set(value) {
|
|
|
32840
32851
|
ChartHumanizeNumbers,
|
|
32841
32852
|
Select
|
|
32842
32853
|
};
|
|
32843
|
-
props = (0, _odoo_owl.
|
|
32854
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
32844
32855
|
state;
|
|
32845
32856
|
setup() {
|
|
32846
32857
|
this.state = (0, _odoo_owl.proxy)({
|
|
@@ -32971,7 +32982,7 @@ set(value) {
|
|
|
32971
32982
|
Section,
|
|
32972
32983
|
Select
|
|
32973
32984
|
};
|
|
32974
|
-
props = (0, _odoo_owl.
|
|
32985
|
+
props = (0, _odoo_owl.useProps)({
|
|
32975
32986
|
chartId: types.UID(),
|
|
32976
32987
|
definition: types.GeoChartDefinition(),
|
|
32977
32988
|
updateChart: types.function()
|
|
@@ -33125,7 +33136,7 @@ set(value) {
|
|
|
33125
33136
|
Section,
|
|
33126
33137
|
NumberInput
|
|
33127
33138
|
};
|
|
33128
|
-
props = (0, _odoo_owl.
|
|
33139
|
+
props = (0, _odoo_owl.useProps)({
|
|
33129
33140
|
onValueChange: types.function(),
|
|
33130
33141
|
value: types.number()
|
|
33131
33142
|
});
|
|
@@ -33151,7 +33162,7 @@ set(value) {
|
|
|
33151
33162
|
RoundColorPicker,
|
|
33152
33163
|
Select
|
|
33153
33164
|
};
|
|
33154
|
-
props = (0, _odoo_owl.
|
|
33165
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33155
33166
|
state = (0, _odoo_owl.proxy)({ index: 0 });
|
|
33156
33167
|
get runtime() {
|
|
33157
33168
|
return this.env.model.getters.getChartRuntime(this.props.chartId);
|
|
@@ -33212,7 +33223,7 @@ set(value) {
|
|
|
33212
33223
|
Checkbox,
|
|
33213
33224
|
ChartHumanizeNumbers
|
|
33214
33225
|
};
|
|
33215
|
-
props = (0, _odoo_owl.
|
|
33226
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33216
33227
|
};
|
|
33217
33228
|
|
|
33218
33229
|
//#endregion
|
|
@@ -33262,7 +33273,7 @@ set(value) {
|
|
|
33262
33273
|
Section,
|
|
33263
33274
|
Select
|
|
33264
33275
|
};
|
|
33265
|
-
props = (0, _odoo_owl.
|
|
33276
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33266
33277
|
state = (0, _odoo_owl.proxy)({
|
|
33267
33278
|
keyValueDispatchResult: void 0,
|
|
33268
33279
|
baselineDispatchResult: void 0
|
|
@@ -33276,7 +33287,7 @@ set(value) {
|
|
|
33276
33287
|
return !!this.state.keyValueDispatchResult?.isCancelledBecause("InvalidScorecardKeyValue");
|
|
33277
33288
|
}
|
|
33278
33289
|
get isBaselineInvalid() {
|
|
33279
|
-
return !!this.state.
|
|
33290
|
+
return !!this.state.baselineDispatchResult?.isCancelledBecause("InvalidScorecardBaseline");
|
|
33280
33291
|
}
|
|
33281
33292
|
onKeyValueRangeChanged(ranges) {
|
|
33282
33293
|
this.keyValue = ranges[0];
|
|
@@ -33337,7 +33348,7 @@ set(value) {
|
|
|
33337
33348
|
ChartTitle,
|
|
33338
33349
|
ChartHumanizeNumbers
|
|
33339
33350
|
};
|
|
33340
|
-
props = (0, _odoo_owl.
|
|
33351
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33341
33352
|
get colorsSectionTitle() {
|
|
33342
33353
|
return this.props.definition.baselineMode === "progress" ? _t("Progress bar colors") : _t("Baseline colors");
|
|
33343
33354
|
}
|
|
@@ -33419,7 +33430,7 @@ set(value) {
|
|
|
33419
33430
|
PieHoleSize,
|
|
33420
33431
|
ChartHumanizeNumbers
|
|
33421
33432
|
};
|
|
33422
|
-
props = (0, _odoo_owl.
|
|
33433
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33423
33434
|
defaults = SunburstChartDefaults;
|
|
33424
33435
|
get showValues() {
|
|
33425
33436
|
return this.props.definition.showValues ?? SunburstChartDefaults.showValues;
|
|
@@ -33452,7 +33463,7 @@ set(value) {
|
|
|
33452
33463
|
Checkbox,
|
|
33453
33464
|
RoundColorPicker
|
|
33454
33465
|
};
|
|
33455
|
-
props = (0, _odoo_owl.
|
|
33466
|
+
props = (0, _odoo_owl.useProps)({
|
|
33456
33467
|
chartId: types.UID(),
|
|
33457
33468
|
definition: types.TreeMapChartDefinition(),
|
|
33458
33469
|
onColorChanged: types.function()
|
|
@@ -33484,7 +33495,7 @@ set(value) {
|
|
|
33484
33495
|
var TreeMapColorScale = class extends Component {
|
|
33485
33496
|
static template = "o-spreadsheet-TreeMapColorScale";
|
|
33486
33497
|
static components = { RoundColorPicker };
|
|
33487
|
-
props = (0, _odoo_owl.
|
|
33498
|
+
props = (0, _odoo_owl.useProps)({
|
|
33488
33499
|
chartId: types.UID(),
|
|
33489
33500
|
definition: types.TreeMapChartDefinition(),
|
|
33490
33501
|
onColorChanged: types.function()
|
|
@@ -33531,7 +33542,7 @@ set(value) {
|
|
|
33531
33542
|
TreeMapColorScale,
|
|
33532
33543
|
ChartHumanizeNumbers
|
|
33533
33544
|
};
|
|
33534
|
-
props = (0, _odoo_owl.
|
|
33545
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33535
33546
|
savedColors = {
|
|
33536
33547
|
categoryColors: DEFAULT_SOLID_COLOR,
|
|
33537
33548
|
colorScale: DEFAULT_COLOR_SCALE
|
|
@@ -33589,7 +33600,7 @@ set(value) {
|
|
|
33589
33600
|
ChartLegend,
|
|
33590
33601
|
ChartHumanizeNumbers
|
|
33591
33602
|
};
|
|
33592
|
-
props = (0, _odoo_owl.
|
|
33603
|
+
props = (0, _odoo_owl.useProps)(chartSidePanelPropsDefinition);
|
|
33593
33604
|
axisChoices = CHART_AXIS_CHOICES;
|
|
33594
33605
|
onUpdateShowSubTotals(showSubTotals) {
|
|
33595
33606
|
this.props.updateChart(this.props.chartId, { showSubTotals });
|
|
@@ -33703,7 +33714,7 @@ set(value) {
|
|
|
33703
33714
|
Section,
|
|
33704
33715
|
Popover
|
|
33705
33716
|
};
|
|
33706
|
-
props = (0, _odoo_owl.
|
|
33717
|
+
props = (0, _odoo_owl.useProps)({
|
|
33707
33718
|
chartId: types.UID(),
|
|
33708
33719
|
chartPanelStore: types.Store()
|
|
33709
33720
|
});
|
|
@@ -33881,7 +33892,7 @@ set(value) {
|
|
|
33881
33892
|
Section,
|
|
33882
33893
|
ChartTypePicker
|
|
33883
33894
|
};
|
|
33884
|
-
props = (0, _odoo_owl.
|
|
33895
|
+
props = (0, _odoo_owl.useProps)({
|
|
33885
33896
|
onCloseSidePanel: types.function(),
|
|
33886
33897
|
chartId: types.UID()
|
|
33887
33898
|
});
|
|
@@ -34288,7 +34299,7 @@ set(value) {
|
|
|
34288
34299
|
BadgeSelection,
|
|
34289
34300
|
Section
|
|
34290
34301
|
};
|
|
34291
|
-
props = (0, _odoo_owl.
|
|
34302
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
34292
34303
|
state = (0, _odoo_owl.proxy)({
|
|
34293
34304
|
currentChart: "count",
|
|
34294
34305
|
currentFrequencyOrder: "descending",
|
|
@@ -34531,7 +34542,7 @@ set(value) {
|
|
|
34531
34542
|
ColorPickerWidget,
|
|
34532
34543
|
Select
|
|
34533
34544
|
};
|
|
34534
|
-
props = (0, _odoo_owl.
|
|
34545
|
+
props = (0, _odoo_owl.useProps)({ store: types.Store() });
|
|
34535
34546
|
getTextDecoration = getTextDecoration;
|
|
34536
34547
|
get rule() {
|
|
34537
34548
|
return this.props.store.state.rules.cellIs;
|
|
@@ -34541,7 +34552,7 @@ set(value) {
|
|
|
34541
34552
|
//#endregion
|
|
34542
34553
|
//#region src/components/side_panel/criterion_form/criterion_form.ts
|
|
34543
34554
|
var CriterionForm = class extends Component {
|
|
34544
|
-
props = (0, _odoo_owl.
|
|
34555
|
+
props = (0, _odoo_owl.useProps)({
|
|
34545
34556
|
criterion: types.object(),
|
|
34546
34557
|
onCriterionChanged: types.function(),
|
|
34547
34558
|
disableFormulas: types.boolean().optional(),
|
|
@@ -35146,7 +35157,7 @@ set(value) {
|
|
|
35146
35157
|
var CriterionInput = class extends Component {
|
|
35147
35158
|
static template = "o-spreadsheet-CriterionInput";
|
|
35148
35159
|
static components = { StandaloneComposer };
|
|
35149
|
-
props = (0, _odoo_owl.
|
|
35160
|
+
props = (0, _odoo_owl.useProps)({
|
|
35150
35161
|
value: types.string().optional(""),
|
|
35151
35162
|
criterionType: types.DataValidationCriterionType(),
|
|
35152
35163
|
onValueChanged: types.function(),
|
|
@@ -35994,7 +36005,7 @@ set(value) {
|
|
|
35994
36005
|
StandaloneComposer,
|
|
35995
36006
|
Select
|
|
35996
36007
|
};
|
|
35997
|
-
props = (0, _odoo_owl.
|
|
36008
|
+
props = (0, _odoo_owl.useProps)({
|
|
35998
36009
|
store: types.Store(),
|
|
35999
36010
|
thresholdType: types.or([
|
|
36000
36011
|
types.literal("minimum"),
|
|
@@ -36076,7 +36087,7 @@ set(value) {
|
|
|
36076
36087
|
var ColorScaleRuleEditor = class extends Component {
|
|
36077
36088
|
static template = "o-spreadsheet-ColorScaleRuleEditor";
|
|
36078
36089
|
static components = { ColorScaleRuleEditorThreshold };
|
|
36079
|
-
props = (0, _odoo_owl.
|
|
36090
|
+
props = (0, _odoo_owl.useProps)({ store: types.Store() });
|
|
36080
36091
|
};
|
|
36081
36092
|
|
|
36082
36093
|
//#endregion
|
|
@@ -36087,7 +36098,7 @@ set(value) {
|
|
|
36087
36098
|
SelectionInput,
|
|
36088
36099
|
RoundColorPicker
|
|
36089
36100
|
};
|
|
36090
|
-
props = (0, _odoo_owl.
|
|
36101
|
+
props = (0, _odoo_owl.useProps)({ store: types.Store() });
|
|
36091
36102
|
get rule() {
|
|
36092
36103
|
return this.props.store.state.rules.dataBar;
|
|
36093
36104
|
}
|
|
@@ -36098,7 +36109,7 @@ set(value) {
|
|
|
36098
36109
|
//#region src/components/icon_picker/icon_picker.ts
|
|
36099
36110
|
var IconPicker = class extends Component {
|
|
36100
36111
|
static template = "o-spreadsheet-IconPicker";
|
|
36101
|
-
props = (0, _odoo_owl.
|
|
36112
|
+
props = (0, _odoo_owl.useProps)({ onIconPicked: types.function() });
|
|
36102
36113
|
onIconClick(icon) {
|
|
36103
36114
|
if (icon) this.props.onIconPicked(icon);
|
|
36104
36115
|
}
|
|
@@ -36119,7 +36130,7 @@ set(value) {
|
|
|
36119
36130
|
StandaloneComposer,
|
|
36120
36131
|
Select
|
|
36121
36132
|
};
|
|
36122
|
-
props = (0, _odoo_owl.
|
|
36133
|
+
props = (0, _odoo_owl.useProps)({ store: types.Store() });
|
|
36123
36134
|
get rule() {
|
|
36124
36135
|
return this.props.store.state.rules.iconSet;
|
|
36125
36136
|
}
|
|
@@ -36202,7 +36213,7 @@ set(value) {
|
|
|
36202
36213
|
IconSetRuleEditor,
|
|
36203
36214
|
DataBarRuleEditor
|
|
36204
36215
|
};
|
|
36205
|
-
props = (0, _odoo_owl.
|
|
36216
|
+
props = (0, _odoo_owl.useProps)({
|
|
36206
36217
|
cf: types.ConditionalFormat(),
|
|
36207
36218
|
isNewCf: types.boolean(),
|
|
36208
36219
|
onCloseSidePanel: types.function()
|
|
@@ -36262,7 +36273,7 @@ set(value) {
|
|
|
36262
36273
|
//#region src/components/side_panel/conditional_formatting/cf_preview/cf_preview.ts
|
|
36263
36274
|
var ConditionalFormatPreview = class extends Component {
|
|
36264
36275
|
static template = "o-spreadsheet-ConditionalFormatPreview";
|
|
36265
|
-
props = (0, _odoo_owl.
|
|
36276
|
+
props = (0, _odoo_owl.useProps)({
|
|
36266
36277
|
conditionalFormat: types.ConditionalFormat(),
|
|
36267
36278
|
onMouseDown: types.function(),
|
|
36268
36279
|
class: types.string()
|
|
@@ -36323,7 +36334,7 @@ set(value) {
|
|
|
36323
36334
|
var ConditionalFormatPreviewList = class extends Component {
|
|
36324
36335
|
static template = "o-spreadsheet-ConditionalFormatPreviewList";
|
|
36325
36336
|
static components = { ConditionalFormatPreview };
|
|
36326
|
-
props = (0, _odoo_owl.
|
|
36337
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
36327
36338
|
dragAndDrop = useDragAndDropListItems();
|
|
36328
36339
|
cfListRef = (0, _odoo_owl.signal)(null);
|
|
36329
36340
|
get conditionalFormats() {
|
|
@@ -36389,7 +36400,7 @@ set(value) {
|
|
|
36389
36400
|
//#region src/components/side_panel/data_validation/dv_preview/dv_preview.ts
|
|
36390
36401
|
var DataValidationPreview = class extends Component {
|
|
36391
36402
|
static template = "o-spreadsheet-DataValidationPreview";
|
|
36392
|
-
props = (0, _odoo_owl.
|
|
36403
|
+
props = (0, _odoo_owl.useProps)({ rule: types.DataValidationRule() });
|
|
36393
36404
|
dvPreviewRef = (0, _odoo_owl.signal)(null);
|
|
36394
36405
|
setup() {
|
|
36395
36406
|
useHighlightsOnHover(this.dvPreviewRef, this);
|
|
@@ -36425,7 +36436,7 @@ set(value) {
|
|
|
36425
36436
|
var DataValidationPanel = class extends Component {
|
|
36426
36437
|
static template = "o-spreadsheet-DataValidationPanel";
|
|
36427
36438
|
static components = { DataValidationPreview };
|
|
36428
|
-
props = (0, _odoo_owl.
|
|
36439
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
36429
36440
|
addDataValidationRule() {
|
|
36430
36441
|
this.env.replaceSidePanel("DataValidationEditor", "DataValidation", { ruleId: UuidGenerator.smallUuid() });
|
|
36431
36442
|
}
|
|
@@ -36475,7 +36486,7 @@ set(value) {
|
|
|
36475
36486
|
Section,
|
|
36476
36487
|
ValidationMessages
|
|
36477
36488
|
};
|
|
36478
|
-
props = (0, _odoo_owl.
|
|
36489
|
+
props = (0, _odoo_owl.useProps)({
|
|
36479
36490
|
ruleId: types.UID(),
|
|
36480
36491
|
onCancel: types.function().optional(),
|
|
36481
36492
|
onCloseSidePanel: types.function()
|
|
@@ -36964,7 +36975,7 @@ set(value) {
|
|
|
36964
36975
|
ValidationMessages,
|
|
36965
36976
|
Select
|
|
36966
36977
|
};
|
|
36967
|
-
props = (0, _odoo_owl.
|
|
36978
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
36968
36979
|
searchInputRef = _odoo_owl.signal.ref(HTMLInputElement);
|
|
36969
36980
|
store;
|
|
36970
36981
|
state;
|
|
@@ -37819,7 +37830,7 @@ set(value) {
|
|
|
37819
37830
|
Checkbox,
|
|
37820
37831
|
Select
|
|
37821
37832
|
};
|
|
37822
|
-
props = (0, _odoo_owl.
|
|
37833
|
+
props = (0, _odoo_owl.useProps)({
|
|
37823
37834
|
onCloseSidePanel: types.function(),
|
|
37824
37835
|
category: types.or([
|
|
37825
37836
|
types.literal("number"),
|
|
@@ -37886,7 +37897,7 @@ set(value) {
|
|
|
37886
37897
|
SelectionInput,
|
|
37887
37898
|
TextInput
|
|
37888
37899
|
};
|
|
37889
|
-
props = (0, _odoo_owl.
|
|
37900
|
+
props = (0, _odoo_owl.useProps)({ namedRange: types.NamedRange() });
|
|
37890
37901
|
state = (0, _odoo_owl.proxy)({});
|
|
37891
37902
|
namedRangePreviewRef = (0, _odoo_owl.signal)(null);
|
|
37892
37903
|
setup() {
|
|
@@ -37943,7 +37954,7 @@ set(value) {
|
|
|
37943
37954
|
SelectionInput,
|
|
37944
37955
|
TextInput
|
|
37945
37956
|
};
|
|
37946
|
-
props = (0, _odoo_owl.
|
|
37957
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
37947
37958
|
get namedRanges() {
|
|
37948
37959
|
return this.env.model.getters.getNamedRanges();
|
|
37949
37960
|
}
|
|
@@ -37964,7 +37975,7 @@ set(value) {
|
|
|
37964
37975
|
var PerfProfilePanel = class extends Component {
|
|
37965
37976
|
static template = "o-spreadsheet-PerfProfilePanel";
|
|
37966
37977
|
static components = { Section };
|
|
37967
|
-
props = (0, _odoo_owl.
|
|
37978
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
37968
37979
|
state = (0, _odoo_owl.proxy)({
|
|
37969
37980
|
selectedIndex: void 0,
|
|
37970
37981
|
lastProfiledTime: 0
|
|
@@ -38180,7 +38191,7 @@ set(value) {
|
|
|
38180
38191
|
//#region src/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel.ts
|
|
38181
38192
|
var PivotMeasureDisplayPanel = class extends Component {
|
|
38182
38193
|
static template = "o-spreadsheet-PivotMeasureDisplayPanel";
|
|
38183
|
-
props = (0, _odoo_owl.
|
|
38194
|
+
props = (0, _odoo_owl.useProps)({
|
|
38184
38195
|
onCloseSidePanel: types.function(),
|
|
38185
38196
|
pivotId: types.UID(),
|
|
38186
38197
|
measure: types.PivotCoreMeasure()
|
|
@@ -38246,7 +38257,7 @@ set(value) {
|
|
|
38246
38257
|
//#region src/components/side_panel/pivot/pivot_defer_update/pivot_defer_update.ts
|
|
38247
38258
|
var PivotDeferUpdate = class extends Component {
|
|
38248
38259
|
static template = "o-spreadsheet-PivotDeferUpdate";
|
|
38249
|
-
props = (0, _odoo_owl.
|
|
38260
|
+
props = (0, _odoo_owl.useProps)({
|
|
38250
38261
|
deferUpdate: types.boolean(),
|
|
38251
38262
|
isDirty: types.boolean(),
|
|
38252
38263
|
toggleDeferUpdate: types.function(),
|
|
@@ -38475,7 +38486,7 @@ set(value) {
|
|
|
38475
38486
|
var FilterMenuCriterion = class extends Component {
|
|
38476
38487
|
static template = "o-spreadsheet-FilterMenuCriterion";
|
|
38477
38488
|
static components = { Select };
|
|
38478
|
-
props = (0, _odoo_owl.
|
|
38489
|
+
props = (0, _odoo_owl.useProps)({
|
|
38479
38490
|
criterion: types.CriterionFilter(),
|
|
38480
38491
|
criterionOperators: types.array(types.GenericCriterionType()),
|
|
38481
38492
|
onCriterionChanged: types.function()
|
|
@@ -38512,7 +38523,7 @@ set(value) {
|
|
|
38512
38523
|
var FilterMenuValueItem = class extends Component {
|
|
38513
38524
|
static template = "o-spreadsheet-FilterMenuValueItem";
|
|
38514
38525
|
static components = { Checkbox };
|
|
38515
|
-
props = (0, _odoo_owl.
|
|
38526
|
+
props = (0, _odoo_owl.useProps)({
|
|
38516
38527
|
value: types.string(),
|
|
38517
38528
|
isChecked: types.boolean(),
|
|
38518
38529
|
isSelected: types.boolean(),
|
|
@@ -38538,7 +38549,7 @@ set(value) {
|
|
|
38538
38549
|
var FilterMenuValueList = class extends Component {
|
|
38539
38550
|
static template = "o-spreadsheet-FilterMenuValueList";
|
|
38540
38551
|
static components = { FilterMenuValueItem };
|
|
38541
|
-
props = (0, _odoo_owl.
|
|
38552
|
+
props = (0, _odoo_owl.useProps)({
|
|
38542
38553
|
values: types.array(types.object({
|
|
38543
38554
|
checked: types.boolean(),
|
|
38544
38555
|
string: types.string(),
|
|
@@ -38653,7 +38664,7 @@ set(value) {
|
|
|
38653
38664
|
};
|
|
38654
38665
|
criterionCategory = "char";
|
|
38655
38666
|
updatedCriterionValue;
|
|
38656
|
-
props = (0, _odoo_owl.
|
|
38667
|
+
props = (0, _odoo_owl.useProps)({
|
|
38657
38668
|
pivotId: types.UID(),
|
|
38658
38669
|
definition: types.instanceOf(SpreadsheetPivotRuntimeDefinition),
|
|
38659
38670
|
filter: types.PivotFilter(),
|
|
@@ -38716,7 +38727,7 @@ set(value) {
|
|
|
38716
38727
|
//#region src/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension/pivot_dimension.ts
|
|
38717
38728
|
var PivotDimension = class extends Component {
|
|
38718
38729
|
static template = "o-spreadsheet-PivotDimension";
|
|
38719
|
-
props = (0, _odoo_owl.
|
|
38730
|
+
props = (0, _odoo_owl.useProps)({
|
|
38720
38731
|
dimension: types.or([
|
|
38721
38732
|
types.PivotDimension(),
|
|
38722
38733
|
types.PivotMeasure(),
|
|
@@ -38753,7 +38764,7 @@ set(value) {
|
|
|
38753
38764
|
Popover,
|
|
38754
38765
|
PivotFilterMenu
|
|
38755
38766
|
};
|
|
38756
|
-
props = (0, _odoo_owl.
|
|
38767
|
+
props = (0, _odoo_owl.useProps)({
|
|
38757
38768
|
pivotId: types.UID(),
|
|
38758
38769
|
definition: types.instanceOf(SpreadsheetPivotRuntimeDefinition),
|
|
38759
38770
|
filter: types.PivotFilter(),
|
|
@@ -38885,7 +38896,7 @@ set(value) {
|
|
|
38885
38896
|
Popover,
|
|
38886
38897
|
TextValueProvider
|
|
38887
38898
|
};
|
|
38888
|
-
props = (0, _odoo_owl.
|
|
38899
|
+
props = (0, _odoo_owl.useProps)({
|
|
38889
38900
|
onFieldPicked: types.function(),
|
|
38890
38901
|
fields: types.array()
|
|
38891
38902
|
});
|
|
@@ -38980,7 +38991,7 @@ set(value) {
|
|
|
38980
38991
|
//#region src/components/side_panel/pivot/pivot_custom_groups_collapsible/pivot_custom_groups_collapsible.ts
|
|
38981
38992
|
var PivotCustomGroupsCollapsible = class extends Component {
|
|
38982
38993
|
static template = "o-spreadsheet-PivotCustomGroupsCollapsible";
|
|
38983
|
-
props = (0, _odoo_owl.
|
|
38994
|
+
props = (0, _odoo_owl.useProps)({
|
|
38984
38995
|
pivotId: types.UID(),
|
|
38985
38996
|
customField: types.PivotCustomGroupedField(),
|
|
38986
38997
|
onCustomFieldUpdated: types.function()
|
|
@@ -39044,7 +39055,7 @@ set(value) {
|
|
|
39044
39055
|
//#region src/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_granularity/pivot_dimension_granularity.ts
|
|
39045
39056
|
var PivotDimensionGranularity = class extends Component {
|
|
39046
39057
|
static template = "o-spreadsheet-PivotDimensionGranularity";
|
|
39047
|
-
props = (0, _odoo_owl.
|
|
39058
|
+
props = (0, _odoo_owl.useProps)({
|
|
39048
39059
|
dimension: types.PivotDimension(),
|
|
39049
39060
|
onUpdated: types.function(),
|
|
39050
39061
|
availableGranularities: types.SetOf(),
|
|
@@ -39065,7 +39076,7 @@ set(value) {
|
|
|
39065
39076
|
//#region src/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_order/pivot_dimension_order.ts
|
|
39066
39077
|
var PivotDimensionOrder = class extends Component {
|
|
39067
39078
|
static template = "o-spreadsheet-PivotDimensionOrder";
|
|
39068
|
-
props = (0, _odoo_owl.
|
|
39079
|
+
props = (0, _odoo_owl.useProps)({
|
|
39069
39080
|
dimension: types.PivotDimension(),
|
|
39070
39081
|
onUpdated: types.function(),
|
|
39071
39082
|
isMeasureSorted: types.boolean().optional()
|
|
@@ -39147,7 +39158,7 @@ set(value) {
|
|
|
39147
39158
|
StandaloneComposer,
|
|
39148
39159
|
Select
|
|
39149
39160
|
};
|
|
39150
|
-
props = (0, _odoo_owl.
|
|
39161
|
+
props = (0, _odoo_owl.useProps)({
|
|
39151
39162
|
pivotId: types.string(),
|
|
39152
39163
|
definition: types.PivotRuntimeDefinition(),
|
|
39153
39164
|
measure: types.PivotMeasure(),
|
|
@@ -39235,7 +39246,7 @@ set(value) {
|
|
|
39235
39246
|
var PivotSortSection = class extends Component {
|
|
39236
39247
|
static template = "o-spreadsheet-PivotSortSection";
|
|
39237
39248
|
static components = { Section };
|
|
39238
|
-
props = (0, _odoo_owl.
|
|
39249
|
+
props = (0, _odoo_owl.useProps)({
|
|
39239
39250
|
definition: types.PivotRuntimeDefinition(),
|
|
39240
39251
|
pivotId: types.UID()
|
|
39241
39252
|
});
|
|
@@ -39290,7 +39301,7 @@ set(value) {
|
|
|
39290
39301
|
PivotCustomGroupsCollapsible,
|
|
39291
39302
|
SidePanelCollapsible
|
|
39292
39303
|
};
|
|
39293
|
-
props = (0, _odoo_owl.
|
|
39304
|
+
props = (0, _odoo_owl.useProps)({
|
|
39294
39305
|
definition: types.instanceOf(PivotRuntimeDefinition),
|
|
39295
39306
|
onDimensionsUpdated: types.function(),
|
|
39296
39307
|
onFiltersUpdated: types.function(),
|
|
@@ -39520,7 +39531,7 @@ set(value) {
|
|
|
39520
39531
|
Section,
|
|
39521
39532
|
TextInput
|
|
39522
39533
|
};
|
|
39523
|
-
props = (0, _odoo_owl.
|
|
39534
|
+
props = (0, _odoo_owl.useProps)({
|
|
39524
39535
|
pivotId: types.UID(),
|
|
39525
39536
|
flipAxis: types.function()
|
|
39526
39537
|
});
|
|
@@ -41156,7 +41167,7 @@ set(value) {
|
|
|
41156
41167
|
AddDimensionButton,
|
|
41157
41168
|
PivotFilterEditor
|
|
41158
41169
|
};
|
|
41159
|
-
props = (0, _odoo_owl.
|
|
41170
|
+
props = (0, _odoo_owl.useProps)({
|
|
41160
41171
|
pivotId: types.UID(),
|
|
41161
41172
|
onCloseSidePanel: types.function()
|
|
41162
41173
|
});
|
|
@@ -42394,7 +42405,7 @@ set(value) {
|
|
|
42394
42405
|
var TableStylePreview = class extends Component {
|
|
42395
42406
|
static template = "o-spreadsheet-TableStylePreview";
|
|
42396
42407
|
static components = { MenuPopover };
|
|
42397
|
-
props = (0, _odoo_owl.
|
|
42408
|
+
props = (0, _odoo_owl.useProps)({
|
|
42398
42409
|
tableConfig: types.TableConfig(),
|
|
42399
42410
|
tableStyle: types.TableStyle(),
|
|
42400
42411
|
type: types.or([types.literal("table"), types.literal("pivot")]),
|
|
@@ -42487,7 +42498,7 @@ set(value) {
|
|
|
42487
42498
|
Popover,
|
|
42488
42499
|
TableStylePreview
|
|
42489
42500
|
};
|
|
42490
|
-
props = (0, _odoo_owl.
|
|
42501
|
+
props = (0, _odoo_owl.useProps)({
|
|
42491
42502
|
tableConfig: types.object(),
|
|
42492
42503
|
popoverProps: types.object().optional(),
|
|
42493
42504
|
closePopover: types.function(),
|
|
@@ -42535,7 +42546,7 @@ set(value) {
|
|
|
42535
42546
|
TableStylesPopover,
|
|
42536
42547
|
TableStylePreview
|
|
42537
42548
|
};
|
|
42538
|
-
props = (0, _odoo_owl.
|
|
42549
|
+
props = (0, _odoo_owl.useProps)({
|
|
42539
42550
|
tableConfig: types.TableConfig(),
|
|
42540
42551
|
onStylePicked: types.function(),
|
|
42541
42552
|
tableStyles: types.RecordOf(),
|
|
@@ -42587,7 +42598,7 @@ set(value) {
|
|
|
42587
42598
|
NumberInput,
|
|
42588
42599
|
TableStylePicker
|
|
42589
42600
|
};
|
|
42590
|
-
props = (0, _odoo_owl.
|
|
42601
|
+
props = (0, _odoo_owl.useProps)({ pivotId: types.UID() });
|
|
42591
42602
|
store;
|
|
42592
42603
|
setup() {
|
|
42593
42604
|
this.store = useLocalStore(PivotSidePanelStore, this.props.pivotId, "neverDefer");
|
|
@@ -42641,7 +42652,7 @@ set(value) {
|
|
|
42641
42652
|
Section,
|
|
42642
42653
|
PivotDesignPanel
|
|
42643
42654
|
};
|
|
42644
|
-
props = (0, _odoo_owl.
|
|
42655
|
+
props = (0, _odoo_owl.useProps)({
|
|
42645
42656
|
pivotId: types.UID(),
|
|
42646
42657
|
onCloseSidePanel: types.function(),
|
|
42647
42658
|
openTab: types.or([types.literal("configuration"), types.literal("design")]).optional("configuration")
|
|
@@ -42675,7 +42686,7 @@ set(value) {
|
|
|
42675
42686
|
Section,
|
|
42676
42687
|
Checkbox
|
|
42677
42688
|
};
|
|
42678
|
-
props = (0, _odoo_owl.
|
|
42689
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
42679
42690
|
state = (0, _odoo_owl.proxy)({
|
|
42680
42691
|
hasHeader: false,
|
|
42681
42692
|
columns: {}
|
|
@@ -42759,7 +42770,7 @@ set(value) {
|
|
|
42759
42770
|
BadgeSelection,
|
|
42760
42771
|
Select
|
|
42761
42772
|
};
|
|
42762
|
-
props = (0, _odoo_owl.
|
|
42773
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
42763
42774
|
loadedLocales = [];
|
|
42764
42775
|
setup() {
|
|
42765
42776
|
(0, _odoo_owl.onWillStart)(() => this.loadLocales());
|
|
@@ -42877,7 +42888,7 @@ set(value) {
|
|
|
42877
42888
|
Checkbox,
|
|
42878
42889
|
Select
|
|
42879
42890
|
};
|
|
42880
|
-
props = (0, _odoo_owl.
|
|
42891
|
+
props = (0, _odoo_owl.useProps)({ onCloseSidePanel: types.function() });
|
|
42881
42892
|
state = (0, _odoo_owl.proxy)({
|
|
42882
42893
|
separatorValue: "auto",
|
|
42883
42894
|
addNewColumns: false,
|
|
@@ -42953,7 +42964,7 @@ set(value) {
|
|
|
42953
42964
|
Section,
|
|
42954
42965
|
NumberInput
|
|
42955
42966
|
};
|
|
42956
|
-
props = (0, _odoo_owl.
|
|
42967
|
+
props = (0, _odoo_owl.useProps)({
|
|
42957
42968
|
onCloseSidePanel: types.function(),
|
|
42958
42969
|
table: types.CoreTable()
|
|
42959
42970
|
});
|
|
@@ -43113,7 +43124,7 @@ set(value) {
|
|
|
43113
43124
|
RoundColorPicker,
|
|
43114
43125
|
TableStylePreview
|
|
43115
43126
|
};
|
|
43116
|
-
props = (0, _odoo_owl.
|
|
43127
|
+
props = (0, _odoo_owl.useProps)({
|
|
43117
43128
|
onCloseSidePanel: types.function(),
|
|
43118
43129
|
onStylePicked: types.function().optional(),
|
|
43119
43130
|
styleId: types.string().optional()
|
|
@@ -45460,7 +45471,7 @@ set(value) {
|
|
|
45460
45471
|
//#region src/components/autofill/autofill.ts
|
|
45461
45472
|
var Autofill = class extends Component {
|
|
45462
45473
|
static template = "o-spreadsheet-Autofill";
|
|
45463
|
-
props = (0, _odoo_owl.
|
|
45474
|
+
props = (0, _odoo_owl.useProps)({
|
|
45464
45475
|
position: types.DOMCoordinates(),
|
|
45465
45476
|
isVisible: types.boolean()
|
|
45466
45477
|
});
|
|
@@ -45538,7 +45549,7 @@ set(value) {
|
|
|
45538
45549
|
}
|
|
45539
45550
|
};
|
|
45540
45551
|
var TooltipComponent = class extends Component {
|
|
45541
|
-
props = (0, _odoo_owl.
|
|
45552
|
+
props = (0, _odoo_owl.useProps)({ content: types.string() });
|
|
45542
45553
|
static template = _odoo_owl.xml`
|
|
45543
45554
|
<div t-out="this.props.content"/>
|
|
45544
45555
|
`;
|
|
@@ -45548,7 +45559,7 @@ set(value) {
|
|
|
45548
45559
|
//#region src/components/collaborative_client_tag/collaborative_client_tag.ts
|
|
45549
45560
|
var ClientTag = class extends Component {
|
|
45550
45561
|
static template = "o-spreadsheet-ClientTag";
|
|
45551
|
-
props = (0, _odoo_owl.
|
|
45562
|
+
props = (0, _odoo_owl.useProps)({
|
|
45552
45563
|
active: types.boolean(),
|
|
45553
45564
|
name: types.string(),
|
|
45554
45565
|
color: types.Color(),
|
|
@@ -46135,7 +46146,7 @@ set(value) {
|
|
|
46135
46146
|
var GridComposer = class extends Component {
|
|
46136
46147
|
static template = "o-spreadsheet-GridComposer";
|
|
46137
46148
|
static components = { Composer };
|
|
46138
|
-
props = (0, _odoo_owl.
|
|
46149
|
+
props = (0, _odoo_owl.useProps)({
|
|
46139
46150
|
gridDims: types.DOMDimension(),
|
|
46140
46151
|
onInputContextMenu: types.function()
|
|
46141
46152
|
});
|
|
@@ -47262,7 +47273,7 @@ set(value) {
|
|
|
47262
47273
|
FiguresContainer,
|
|
47263
47274
|
GridAddRowsFooter
|
|
47264
47275
|
};
|
|
47265
|
-
props = (0, _odoo_owl.
|
|
47276
|
+
props = (0, _odoo_owl.useProps)({
|
|
47266
47277
|
onCellDoubleClicked: types.function().optional(() => () => {}),
|
|
47267
47278
|
onCellClicked: types.function().optional(() => () => {}),
|
|
47268
47279
|
onCellRightClicked: types.function().optional(() => () => {}),
|
|
@@ -47379,7 +47390,7 @@ set(value) {
|
|
|
47379
47390
|
var GridPopover = class extends Component {
|
|
47380
47391
|
static template = "o-spreadsheet-GridPopover";
|
|
47381
47392
|
static components = { Popover };
|
|
47382
|
-
props = (0, _odoo_owl.
|
|
47393
|
+
props = (0, _odoo_owl.useProps)({
|
|
47383
47394
|
onClosePopover: types.function(),
|
|
47384
47395
|
onMouseWheel: types.function(),
|
|
47385
47396
|
gridRect: types.Rect()
|
|
@@ -47407,7 +47418,7 @@ set(value) {
|
|
|
47407
47418
|
//#region src/components/headers_overlay/unhide_headers.ts
|
|
47408
47419
|
var UnhideRowHeaders = class extends Component {
|
|
47409
47420
|
static template = "o-spreadsheet-UnhideRowHeaders";
|
|
47410
|
-
props = (0, _odoo_owl.
|
|
47421
|
+
props = (0, _odoo_owl.useProps)({
|
|
47411
47422
|
headersGroups: types.array(),
|
|
47412
47423
|
headerRange: types.object({
|
|
47413
47424
|
start: types.HeaderIndex(),
|
|
@@ -47450,7 +47461,7 @@ set(value) {
|
|
|
47450
47461
|
};
|
|
47451
47462
|
var UnhideColumnHeaders = class extends Component {
|
|
47452
47463
|
static template = "o-spreadsheet-UnhideColumnHeaders";
|
|
47453
|
-
props = (0, _odoo_owl.
|
|
47464
|
+
props = (0, _odoo_owl.useProps)({
|
|
47454
47465
|
headersGroups: types.array(),
|
|
47455
47466
|
headerRange: types.object({
|
|
47456
47467
|
start: types.HeaderIndex(),
|
|
@@ -47490,7 +47501,7 @@ set(value) {
|
|
|
47490
47501
|
//#region src/components/headers_overlay/headers_overlay.ts
|
|
47491
47502
|
const resizerPropsDefinition = { onOpenContextMenu: types.function() };
|
|
47492
47503
|
var AbstractResizer = class extends Component {
|
|
47493
|
-
props = (0, _odoo_owl.
|
|
47504
|
+
props = (0, _odoo_owl.useProps)(resizerPropsDefinition);
|
|
47494
47505
|
composerFocusStore;
|
|
47495
47506
|
PADDING = 0;
|
|
47496
47507
|
MAX_SIZE_MARGIN = 0;
|
|
@@ -47953,7 +47964,7 @@ set(value) {
|
|
|
47953
47964
|
};
|
|
47954
47965
|
var HeadersOverlay = class extends Component {
|
|
47955
47966
|
static template = "o-spreadsheet-HeadersOverlay";
|
|
47956
|
-
props = (0, _odoo_owl.
|
|
47967
|
+
props = (0, _odoo_owl.useProps)(resizerPropsDefinition);
|
|
47957
47968
|
static components = {
|
|
47958
47969
|
ColResizer,
|
|
47959
47970
|
RowResizer
|
|
@@ -48949,7 +48960,7 @@ set(value) {
|
|
|
48949
48960
|
//#region src/components/highlight/border/border.ts
|
|
48950
48961
|
var Border = class extends Component {
|
|
48951
48962
|
static template = "o-spreadsheet-Border";
|
|
48952
|
-
props = (0, _odoo_owl.
|
|
48963
|
+
props = (0, _odoo_owl.useProps)({
|
|
48953
48964
|
zone: types.Zone(),
|
|
48954
48965
|
orientation: types.or([
|
|
48955
48966
|
types.literal("n"),
|
|
@@ -49002,7 +49013,7 @@ set(value) {
|
|
|
49002
49013
|
const MOBILE_HANDLER_WIDTH = 40;
|
|
49003
49014
|
var Corner = class extends Component {
|
|
49004
49015
|
static template = "o-spreadsheet-Corner";
|
|
49005
|
-
props = (0, _odoo_owl.
|
|
49016
|
+
props = (0, _odoo_owl.useProps)({
|
|
49006
49017
|
zone: types.Zone(),
|
|
49007
49018
|
color: types.Color(),
|
|
49008
49019
|
orientation: types.or([
|
|
@@ -49076,7 +49087,7 @@ set(value) {
|
|
|
49076
49087
|
Corner,
|
|
49077
49088
|
Border
|
|
49078
49089
|
};
|
|
49079
|
-
props = (0, _odoo_owl.
|
|
49090
|
+
props = (0, _odoo_owl.useProps)({
|
|
49080
49091
|
range: types.Range(),
|
|
49081
49092
|
color: types.Color()
|
|
49082
49093
|
});
|
|
@@ -49220,7 +49231,7 @@ set(value) {
|
|
|
49220
49231
|
<div t-att-style="this.sizeCss"/>
|
|
49221
49232
|
</div>
|
|
49222
49233
|
`;
|
|
49223
|
-
props = (0, _odoo_owl.
|
|
49234
|
+
props = (0, _odoo_owl.useProps)({
|
|
49224
49235
|
width: types.Pixel().optional(1),
|
|
49225
49236
|
height: types.Pixel().optional(1),
|
|
49226
49237
|
direction: types.customValidator(types.string(), (direction) => ["horizontal", "vertical"].includes(direction)),
|
|
@@ -49266,7 +49277,7 @@ set(value) {
|
|
|
49266
49277
|
direction="'horizontal'"
|
|
49267
49278
|
onScroll.bind="this.onScroll"
|
|
49268
49279
|
/>`;
|
|
49269
|
-
props = (0, _odoo_owl.
|
|
49280
|
+
props = (0, _odoo_owl.useProps)({ leftOffset: types.number().optional(0) });
|
|
49270
49281
|
get offset() {
|
|
49271
49282
|
return this.env.model.getters.getActiveSheetScrollInfo().scrollX;
|
|
49272
49283
|
}
|
|
@@ -49309,7 +49320,7 @@ set(value) {
|
|
|
49309
49320
|
direction="'vertical'"
|
|
49310
49321
|
onScroll.bind="(offset) => this.onScroll(offset)"
|
|
49311
49322
|
/>`;
|
|
49312
|
-
props = (0, _odoo_owl.
|
|
49323
|
+
props = (0, _odoo_owl.useProps)({ topOffset: types.number().optional(0) });
|
|
49313
49324
|
get offset() {
|
|
49314
49325
|
return this.env.model.getters.getActiveSheetScrollInfo().scrollY;
|
|
49315
49326
|
}
|
|
@@ -49360,7 +49371,7 @@ set(value) {
|
|
|
49360
49371
|
const COLOR = "#777";
|
|
49361
49372
|
var TableResizer = class extends Component {
|
|
49362
49373
|
static template = "o-spreadsheet-TableResizer";
|
|
49363
|
-
props = (0, _odoo_owl.
|
|
49374
|
+
props = (0, _odoo_owl.useProps)({ table: types.Table() });
|
|
49364
49375
|
state = (0, _odoo_owl.proxy)({ highlightZone: void 0 });
|
|
49365
49376
|
dragNDropGrid = useDragAndDropBeyondTheViewport(this.env);
|
|
49366
49377
|
setup() {
|
|
@@ -49448,7 +49459,7 @@ set(value) {
|
|
|
49448
49459
|
TableResizer,
|
|
49449
49460
|
Selection
|
|
49450
49461
|
};
|
|
49451
|
-
props = (0, _odoo_owl.
|
|
49462
|
+
props = (0, _odoo_owl.useProps)({
|
|
49452
49463
|
exposeFocus: types.function(),
|
|
49453
49464
|
getGridSize: types.function()
|
|
49454
49465
|
});
|
|
@@ -50092,7 +50103,7 @@ set(value) {
|
|
|
50092
50103
|
//#region src/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.ts
|
|
50093
50104
|
var ClickableCellSortIcon = class extends Component {
|
|
50094
50105
|
static template = "o-spreadsheet-ClickableCellSortIcon";
|
|
50095
|
-
props = (0, _odoo_owl.
|
|
50106
|
+
props = (0, _odoo_owl.useProps)({
|
|
50096
50107
|
position: types.CellPosition(),
|
|
50097
50108
|
sortDirection: types.or([types.SortDirection, types.literal("none")])
|
|
50098
50109
|
});
|
|
@@ -50167,7 +50178,7 @@ set(value) {
|
|
|
50167
50178
|
var PivotHTMLRenderer = class extends Component {
|
|
50168
50179
|
static template = "o_spreadsheet.PivotHTMLRenderer";
|
|
50169
50180
|
static components = { Checkbox };
|
|
50170
|
-
props = (0, _odoo_owl.
|
|
50181
|
+
props = (0, _odoo_owl.useProps)({
|
|
50171
50182
|
pivotId: types.UID(),
|
|
50172
50183
|
onCellClicked: types.function()
|
|
50173
50184
|
});
|
|
@@ -51040,6 +51051,7 @@ set(value) {
|
|
|
51040
51051
|
alreadyAppliedNumberOffsets = [];
|
|
51041
51052
|
previousStrings = [];
|
|
51042
51053
|
baseFormulaWasTransformed = false;
|
|
51054
|
+
rangeToStringOptions = { doNotSimplifyRange: true };
|
|
51043
51055
|
baseNumber = void 0;
|
|
51044
51056
|
constructor(getters) {
|
|
51045
51057
|
this.getters = getters;
|
|
@@ -51095,9 +51107,9 @@ set(value) {
|
|
|
51095
51107
|
let references = [];
|
|
51096
51108
|
if (!this.baseFormula || this.baseFormula.normalizedFormula !== cell.compiledFormula.normalizedFormula) {
|
|
51097
51109
|
this.resetBaseTo(cell.compiledFormula);
|
|
51098
|
-
return cell.compiledFormula.toFormulaString(this.getters);
|
|
51110
|
+
return cell.compiledFormula.toFormulaString(this.getters, this.rangeToStringOptions);
|
|
51099
51111
|
} else {
|
|
51100
|
-
if (!this.baseFormulaWasTransformed && deepEquals(cell.compiledFormula.literalValues, this.baseFormula.literalValues) && deepEquals(cell.compiledFormula.rangeDependencies, this.baseFormula.rangeDependencies)) return cell.compiledFormula.toFormulaString(this.getters);
|
|
51112
|
+
if (!this.baseFormulaWasTransformed && deepEquals(cell.compiledFormula.literalValues, this.baseFormula.literalValues) && deepEquals(cell.compiledFormula.rangeDependencies, this.baseFormula.rangeDependencies)) return cell.compiledFormula.toFormulaString(this.getters, this.rangeToStringOptions);
|
|
51101
51113
|
numbers = this.squishNumbers(cell.compiledFormula.literalValues.numbers);
|
|
51102
51114
|
strings = this.squishStrings(cell.compiledFormula.literalValues.strings);
|
|
51103
51115
|
references = this.squishReferences(cell.compiledFormula.rangeDependencies, forSheetId);
|
|
@@ -51174,23 +51186,23 @@ set(value) {
|
|
|
51174
51186
|
squishOneReference(reference, previousReferences, index, forSheetId) {
|
|
51175
51187
|
const previousReference = previousReferences[index];
|
|
51176
51188
|
if (deepEquals(previousReference, reference)) return "=";
|
|
51177
|
-
if (previousReference.sheetId !== reference.sheetId || previousReference.prefixSheet !== reference.prefixSheet || previousReference.invalidSheetName !== reference.invalidSheetName || previousReference.invalidXc !== reference.invalidXc) {
|
|
51189
|
+
if (previousReference.sheetId !== reference.sheetId || previousReference.prefixSheet !== reference.prefixSheet || previousReference.invalidSheetName !== reference.invalidSheetName || previousReference.invalidXc !== reference.invalidXc || previousReference.parts.length !== reference.parts.length) {
|
|
51178
51190
|
previousReferences[index] = deepCopy(reference);
|
|
51179
|
-
return getRangeString(reference, forSheetId, this.getters.getSheetName);
|
|
51191
|
+
return getRangeString(reference, forSheetId, this.getters.getSheetName, this.rangeToStringOptions);
|
|
51180
51192
|
}
|
|
51181
51193
|
if (previousReference.unboundedZone.bottom === void 0 || previousReference.unboundedZone.right === void 0 || reference.unboundedZone.bottom === void 0 || reference.unboundedZone.right === void 0) {
|
|
51182
51194
|
previousReferences[index] = deepCopy(reference);
|
|
51183
|
-
return getRangeString(reference, forSheetId, this.getters.getSheetName);
|
|
51195
|
+
return getRangeString(reference, forSheetId, this.getters.getSheetName, this.rangeToStringOptions);
|
|
51184
51196
|
}
|
|
51185
51197
|
for (let i = 0; i < reference.parts.length; i++) if (previousReference.parts[i].colFixed !== reference.parts[i].colFixed || previousReference.parts[i].rowFixed !== reference.parts[i].rowFixed) {
|
|
51186
51198
|
previousReferences[index] = deepCopy(reference);
|
|
51187
|
-
return getRangeString(reference, forSheetId, this.getters.getSheetName);
|
|
51199
|
+
return getRangeString(reference, forSheetId, this.getters.getSheetName, this.rangeToStringOptions);
|
|
51188
51200
|
}
|
|
51189
51201
|
const currentZone = reference.zone;
|
|
51190
51202
|
const previousZone = previousReference.zone;
|
|
51191
51203
|
if (currentZone.top !== currentZone.bottom || currentZone.left !== currentZone.right || previousZone.top !== previousZone.bottom || previousZone.left !== previousZone.right) {
|
|
51192
51204
|
previousReferences[index] = deepCopy(reference);
|
|
51193
|
-
return getRangeString(reference, forSheetId, this.getters.getSheetName);
|
|
51205
|
+
return getRangeString(reference, forSheetId, this.getters.getSheetName, this.rangeToStringOptions);
|
|
51194
51206
|
}
|
|
51195
51207
|
const diffCol = reference.zone.left - previousReference.zone.left;
|
|
51196
51208
|
const diffRow = reference.zone.top - previousReference.zone.top;
|
|
@@ -51198,7 +51210,7 @@ set(value) {
|
|
|
51198
51210
|
previousReference.unboundedZone = deepCopy(reference.unboundedZone);
|
|
51199
51211
|
if (diffCol !== 0 && diffRow === 0) return `${diffCol > 0 ? "+" : "-"}C${Math.abs(diffCol)}`;
|
|
51200
51212
|
else if (diffRow !== 0 && diffCol === 0) return `${diffRow > 0 ? "+" : "-"}R${Math.abs(diffRow)}`;
|
|
51201
|
-
return getRangeString(reference, forSheetId, this.getters.getSheetName);
|
|
51213
|
+
return getRangeString(reference, forSheetId, this.getters.getSheetName, this.rangeToStringOptions);
|
|
51202
51214
|
}
|
|
51203
51215
|
/**
|
|
51204
51216
|
* Squish the number parameters. Result for each parameter should be compared the previous formula.
|
|
@@ -51407,10 +51419,19 @@ set(value) {
|
|
|
51407
51419
|
case "FIRST_OFFSET": {
|
|
51408
51420
|
const currentOffset = current;
|
|
51409
51421
|
this.previousOffset = currentOffset;
|
|
51410
|
-
for (const position of targetPositions)
|
|
51411
|
-
|
|
51412
|
-
|
|
51413
|
-
|
|
51422
|
+
for (const position of targetPositions) {
|
|
51423
|
+
const result = this.unsquishFormula(currentOffset, sheetId, getters);
|
|
51424
|
+
if (!result.areRangeShapesInLineWithNormalizedFormula()) {
|
|
51425
|
+
const formulaString = result.toFormulaString(getters);
|
|
51426
|
+
yield {
|
|
51427
|
+
position,
|
|
51428
|
+
compiled: CompiledFormula.Compile(formulaString, sheetId, getters)
|
|
51429
|
+
};
|
|
51430
|
+
} else yield {
|
|
51431
|
+
position,
|
|
51432
|
+
compiled: result
|
|
51433
|
+
};
|
|
51434
|
+
}
|
|
51414
51435
|
break;
|
|
51415
51436
|
}
|
|
51416
51437
|
case "COMBINE_OFFSET": {
|
|
@@ -51419,10 +51440,19 @@ set(value) {
|
|
|
51419
51440
|
this.previousOffset.N = currentOffset.N ?? this.previousOffset.N;
|
|
51420
51441
|
this.previousOffset.S = currentOffset.S ?? this.previousOffset.S;
|
|
51421
51442
|
this.previousOffset.R = currentOffset.R ?? this.previousOffset.R;
|
|
51422
|
-
for (const position of targetPositions)
|
|
51423
|
-
|
|
51424
|
-
|
|
51425
|
-
|
|
51443
|
+
for (const position of targetPositions) {
|
|
51444
|
+
const result = this.unsquishFormula(this.previousOffset, sheetId, getters);
|
|
51445
|
+
if (!result.areRangeShapesInLineWithNormalizedFormula()) {
|
|
51446
|
+
const formulaString = result.toFormulaString(getters);
|
|
51447
|
+
yield {
|
|
51448
|
+
position,
|
|
51449
|
+
compiled: CompiledFormula.Compile(formulaString, sheetId, getters)
|
|
51450
|
+
};
|
|
51451
|
+
} else yield {
|
|
51452
|
+
position,
|
|
51453
|
+
compiled: result
|
|
51454
|
+
};
|
|
51455
|
+
}
|
|
51426
51456
|
break;
|
|
51427
51457
|
}
|
|
51428
51458
|
case "NEW_NUMBER":
|
|
@@ -53027,11 +53057,16 @@ set(value) {
|
|
|
53027
53057
|
const deltaStyle = {};
|
|
53028
53058
|
let hasDelta = false;
|
|
53029
53059
|
const styleSheet = this.style[position.sheetId];
|
|
53030
|
-
if (!styleSheet) continue;
|
|
53031
53060
|
for (const key in newDefaultStyle) {
|
|
53032
53061
|
if (key in cellStyle) continue;
|
|
53033
|
-
const defaults = styleSheet[key];
|
|
53034
|
-
if (!defaults)
|
|
53062
|
+
const defaults = styleSheet?.[key];
|
|
53063
|
+
if (!defaults) {
|
|
53064
|
+
if (newDefaultStyle[key] !== DEFAULT_STYLE[key]) {
|
|
53065
|
+
deltaStyle[key] = DEFAULT_STYLE[key];
|
|
53066
|
+
hasDelta = true;
|
|
53067
|
+
}
|
|
53068
|
+
continue;
|
|
53069
|
+
}
|
|
53035
53070
|
const rowDefault = defaults.rowDefault?.[position.row];
|
|
53036
53071
|
if (rowDefault !== void 0) {
|
|
53037
53072
|
if (priorities.shouldUseDefaultRow) {
|
|
@@ -53073,7 +53108,8 @@ set(value) {
|
|
|
53073
53108
|
for (const key in styleSheet) if (!(key in style)) {
|
|
53074
53109
|
const defaults = styleSheet[key];
|
|
53075
53110
|
if (!defaults) continue;
|
|
53076
|
-
|
|
53111
|
+
const styleValue = defaults.rowDefault?.[position.row] ?? defaults.colDefault?.[position.col] ?? defaults.sheetDefault;
|
|
53112
|
+
if (styleValue !== void 0) style[key] = styleValue;
|
|
53077
53113
|
}
|
|
53078
53114
|
return style;
|
|
53079
53115
|
}
|
|
@@ -61077,7 +61113,12 @@ set(value) {
|
|
|
61077
61113
|
computeTableStyle(sheetId, table) {
|
|
61078
61114
|
return lazy(() => {
|
|
61079
61115
|
const style = this.getters.getTableStyle(table.config.styleId);
|
|
61080
|
-
const
|
|
61116
|
+
const tableMetaDataAndConfig = this.getTableMetaData(sheetId, table);
|
|
61117
|
+
if (!tableMetaDataAndConfig) return {
|
|
61118
|
+
borders: {},
|
|
61119
|
+
styles: {}
|
|
61120
|
+
};
|
|
61121
|
+
const { tableMetaData, config } = tableMetaDataAndConfig;
|
|
61081
61122
|
const relativeTableStyle = getComputedTableStyle(config, style, tableMetaData);
|
|
61082
61123
|
const mapping = this.getTableMapping(sheetId, table);
|
|
61083
61124
|
const absoluteTableStyle = {
|
|
@@ -61115,6 +61156,7 @@ set(value) {
|
|
|
61115
61156
|
const pivotInfo = this.getters.getPivotStyleAtPosition(mainPosition);
|
|
61116
61157
|
if (!pivotInfo) throw new Error("No dynamic pivot info found at pivot table position");
|
|
61117
61158
|
const pivot = this.getters.getPivot(pivotInfo.pivotId);
|
|
61159
|
+
if (!pivot.isValid()) return;
|
|
61118
61160
|
const pivotStyle = pivotInfo.pivotStyle;
|
|
61119
61161
|
const maxRowDepth = pivot.getExpandedTableStructure().getNumberOfRowGroupBys();
|
|
61120
61162
|
const pivotTable = pivot.getCollapsedTableStructure();
|
|
@@ -68463,7 +68505,7 @@ set(value) {
|
|
|
68463
68505
|
];
|
|
68464
68506
|
var RippleEffect = class extends Component {
|
|
68465
68507
|
static template = "o-spreadsheet-RippleEffect";
|
|
68466
|
-
props = (0, _odoo_owl.
|
|
68508
|
+
props = (0, _odoo_owl.useProps)({
|
|
68467
68509
|
x: types.string(),
|
|
68468
68510
|
y: types.string(),
|
|
68469
68511
|
color: types.string(),
|
|
@@ -68516,7 +68558,7 @@ set(value) {
|
|
|
68516
68558
|
var Ripple = class extends Component {
|
|
68517
68559
|
static template = "o-spreadsheet-Ripple";
|
|
68518
68560
|
static components = { RippleEffect };
|
|
68519
|
-
props = (0, _odoo_owl.
|
|
68561
|
+
props = (0, _odoo_owl.useProps)({
|
|
68520
68562
|
color: types.string().optional("#aaaaaa"),
|
|
68521
68563
|
opacity: types.number().optional(.4),
|
|
68522
68564
|
duration: types.number().optional(800),
|
|
@@ -68794,7 +68836,7 @@ set(value) {
|
|
|
68794
68836
|
Ripple,
|
|
68795
68837
|
ColorPicker
|
|
68796
68838
|
};
|
|
68797
|
-
props = (0, _odoo_owl.
|
|
68839
|
+
props = (0, _odoo_owl.useProps)({
|
|
68798
68840
|
sheetId: types.string(),
|
|
68799
68841
|
openContextMenu: types.function(),
|
|
68800
68842
|
style: types.string().optional(""),
|
|
@@ -69084,7 +69126,7 @@ set(value) {
|
|
|
69084
69126
|
var BottomBarStatistic = class extends Component {
|
|
69085
69127
|
static template = "o-spreadsheet-BottomBarStatistic";
|
|
69086
69128
|
static components = { Ripple };
|
|
69087
|
-
props = (0, _odoo_owl.
|
|
69129
|
+
props = (0, _odoo_owl.useProps)({
|
|
69088
69130
|
openContextMenu: types.function(),
|
|
69089
69131
|
closeContextMenu: types.function()
|
|
69090
69132
|
});
|
|
@@ -69138,7 +69180,7 @@ set(value) {
|
|
|
69138
69180
|
const SHEET_LIST_MENU_MAX_HEIGHT = 250;
|
|
69139
69181
|
var BottomBar = class extends Component {
|
|
69140
69182
|
static template = "o-spreadsheet-BottomBar";
|
|
69141
|
-
props = (0, _odoo_owl.
|
|
69183
|
+
props = (0, _odoo_owl.useProps)({ onClick: types.function() });
|
|
69142
69184
|
static components = {
|
|
69143
69185
|
MenuPopover,
|
|
69144
69186
|
Ripple,
|
|
@@ -69421,7 +69463,7 @@ set(value) {
|
|
|
69421
69463
|
VerticalScrollBar,
|
|
69422
69464
|
HorizontalScrollBar
|
|
69423
69465
|
};
|
|
69424
|
-
props = (0, _odoo_owl.
|
|
69466
|
+
props = (0, _odoo_owl.useProps)({ getGridSize: types.function() });
|
|
69425
69467
|
cellPopovers;
|
|
69426
69468
|
onMouseWheel;
|
|
69427
69469
|
canvasPosition;
|
|
@@ -69540,7 +69582,7 @@ set(value) {
|
|
|
69540
69582
|
//#region src/components/header_group/header_group.ts
|
|
69541
69583
|
var AbstractHeaderGroup = class extends Component {
|
|
69542
69584
|
static template = "o-spreadsheet-HeaderGroup";
|
|
69543
|
-
props = (0, _odoo_owl.
|
|
69585
|
+
props = (0, _odoo_owl.useProps)({
|
|
69544
69586
|
group: types.HeaderGroup(),
|
|
69545
69587
|
layerOffset: types.number(),
|
|
69546
69588
|
openContextMenu: types.function()
|
|
@@ -69694,7 +69736,7 @@ set(value) {
|
|
|
69694
69736
|
ColGroup,
|
|
69695
69737
|
MenuPopover
|
|
69696
69738
|
};
|
|
69697
|
-
props = (0, _odoo_owl.
|
|
69739
|
+
props = (0, _odoo_owl.useProps)({
|
|
69698
69740
|
dimension: types.Dimension(),
|
|
69699
69741
|
layers: types.array()
|
|
69700
69742
|
});
|
|
@@ -69770,7 +69812,7 @@ set(value) {
|
|
|
69770
69812
|
//#region src/components/side_panel/side_panel/side_panel.ts
|
|
69771
69813
|
var SidePanel = class extends Component {
|
|
69772
69814
|
static template = "o-spreadsheet-SidePanel";
|
|
69773
|
-
props = (0, _odoo_owl.
|
|
69815
|
+
props = (0, _odoo_owl.useProps)({
|
|
69774
69816
|
panelContent: types.SidePanelContent(),
|
|
69775
69817
|
panelProps: types.SidePanelComponentProps(),
|
|
69776
69818
|
onCloseSidePanel: types.function(),
|
|
@@ -69864,7 +69906,7 @@ set(value) {
|
|
|
69864
69906
|
var RibbonMenu = class extends Component {
|
|
69865
69907
|
static template = "o-spreadsheet-RibbonMenu";
|
|
69866
69908
|
static components = { Menu };
|
|
69867
|
-
props = (0, _odoo_owl.
|
|
69909
|
+
props = (0, _odoo_owl.useProps)({ onClose: types.function() });
|
|
69868
69910
|
rootItems = topbarMenuRegistry.getMenuItems();
|
|
69869
69911
|
menuRef = (0, _odoo_owl.signal)(null);
|
|
69870
69912
|
containerRef = (0, _odoo_owl.signal)(null);
|
|
@@ -69935,7 +69977,7 @@ set(value) {
|
|
|
69935
69977
|
RibbonMenu
|
|
69936
69978
|
};
|
|
69937
69979
|
static template = "o-spreadsheet-SmallBottomBar";
|
|
69938
|
-
props = (0, _odoo_owl.
|
|
69980
|
+
props = (0, _odoo_owl.useProps)({ onClick: types.function() });
|
|
69939
69981
|
composerFocusStore;
|
|
69940
69982
|
composerStore;
|
|
69941
69983
|
composerInterface;
|
|
@@ -70136,7 +70178,7 @@ set(value) {
|
|
|
70136
70178
|
//#region src/components/standalone_grid_canvas/standalone_grid_canvas.ts
|
|
70137
70179
|
var StandaloneGridCanvas = class extends Component {
|
|
70138
70180
|
static template = "o-spreadsheet-StandaloneGridCanvas";
|
|
70139
|
-
props = (0, _odoo_owl.
|
|
70181
|
+
props = (0, _odoo_owl.useProps)({
|
|
70140
70182
|
sheetId: types.UID(),
|
|
70141
70183
|
zone: types.Zone(),
|
|
70142
70184
|
renderingCtx: types.object()
|
|
@@ -70461,7 +70503,7 @@ set(value) {
|
|
|
70461
70503
|
//#region src/components/spreadsheet_print/spreadsheet_print.ts
|
|
70462
70504
|
var SpreadsheetPrint = class extends Component {
|
|
70463
70505
|
static template = "o-spreadsheet-SpreadsheetPrint";
|
|
70464
|
-
props = (0, _odoo_owl.
|
|
70506
|
+
props = (0, _odoo_owl.useProps)({ onExitPrintMode: types.function() });
|
|
70465
70507
|
static components = {
|
|
70466
70508
|
StandaloneGridCanvas,
|
|
70467
70509
|
Section,
|
|
@@ -70803,7 +70845,7 @@ set(value) {
|
|
|
70803
70845
|
ColorPickerWidget,
|
|
70804
70846
|
Popover
|
|
70805
70847
|
};
|
|
70806
|
-
props = (0, _odoo_owl.
|
|
70848
|
+
props = (0, _odoo_owl.useProps)({
|
|
70807
70849
|
class: types.string().optional(),
|
|
70808
70850
|
currentBorderColor: types.Color(),
|
|
70809
70851
|
currentBorderStyle: types.BorderStyle(),
|
|
@@ -70875,7 +70917,7 @@ set(value) {
|
|
|
70875
70917
|
var BorderEditorWidget = class extends Component {
|
|
70876
70918
|
static template = "o-spreadsheet-BorderEditorWidget";
|
|
70877
70919
|
static components = { BorderEditor };
|
|
70878
|
-
props = (0, _odoo_owl.
|
|
70920
|
+
props = (0, _odoo_owl.useProps)({
|
|
70879
70921
|
disabled: types.boolean().optional(),
|
|
70880
70922
|
dropdownMaxHeight: types.Pixel().optional(),
|
|
70881
70923
|
class: types.string().optional()
|
|
@@ -70936,7 +70978,7 @@ set(value) {
|
|
|
70936
70978
|
//#region src/components/paint_format_button/paint_format_button.ts
|
|
70937
70979
|
var PaintFormatButton = class extends Component {
|
|
70938
70980
|
static template = "o-spreadsheet-PaintFormatButton";
|
|
70939
|
-
props = (0, _odoo_owl.
|
|
70981
|
+
props = (0, _odoo_owl.useProps)({ class: types.string().optional() });
|
|
70940
70982
|
paintFormatStore;
|
|
70941
70983
|
setup() {
|
|
70942
70984
|
this.paintFormatStore = useStore(PaintFormatStore);
|
|
@@ -70961,7 +71003,7 @@ set(value) {
|
|
|
70961
71003
|
TableStylesPopover,
|
|
70962
71004
|
ActionButton
|
|
70963
71005
|
};
|
|
70964
|
-
props = (0, _odoo_owl.
|
|
71006
|
+
props = (0, _odoo_owl.useProps)({ class: types.string().optional() });
|
|
70965
71007
|
topBarToolStore;
|
|
70966
71008
|
state = (0, _odoo_owl.proxy)({ popoverProps: void 0 });
|
|
70967
71009
|
setup() {
|
|
@@ -71055,7 +71097,7 @@ set(value) {
|
|
|
71055
71097
|
var TopBarColorEditor = class extends Component {
|
|
71056
71098
|
static components = { ColorPickerWidget };
|
|
71057
71099
|
static template = "o-spreadsheet-ColorEditor";
|
|
71058
|
-
props = (0, _odoo_owl.
|
|
71100
|
+
props = (0, _odoo_owl.useProps)({
|
|
71059
71101
|
class: types.string(),
|
|
71060
71102
|
style: types.or([types.literal("textColor"), types.literal("fillColor")]),
|
|
71061
71103
|
icon: types.string(),
|
|
@@ -71103,7 +71145,7 @@ set(value) {
|
|
|
71103
71145
|
ActionButton,
|
|
71104
71146
|
Popover
|
|
71105
71147
|
};
|
|
71106
|
-
props = (0, _odoo_owl.
|
|
71148
|
+
props = (0, _odoo_owl.useProps)({
|
|
71107
71149
|
parentAction: types.ActionSpec(),
|
|
71108
71150
|
childActions: types.array(types.ActionSpec()),
|
|
71109
71151
|
class: types.string(),
|
|
@@ -71136,7 +71178,7 @@ set(value) {
|
|
|
71136
71178
|
var TopBarFontSizeEditor = class extends Component {
|
|
71137
71179
|
static components = { FontSizeEditor };
|
|
71138
71180
|
static template = "o-spreadsheet-TopBarFontSizeEditor";
|
|
71139
|
-
props = (0, _odoo_owl.
|
|
71181
|
+
props = (0, _odoo_owl.useProps)({ class: types.string() });
|
|
71140
71182
|
topBarToolStore;
|
|
71141
71183
|
setup() {
|
|
71142
71184
|
this.topBarToolStore = useToolBarDropdownStore();
|
|
@@ -71170,7 +71212,7 @@ set(value) {
|
|
|
71170
71212
|
MenuPopover,
|
|
71171
71213
|
ActionButton
|
|
71172
71214
|
};
|
|
71173
|
-
props = (0, _odoo_owl.
|
|
71215
|
+
props = (0, _odoo_owl.useProps)({ class: types.string() });
|
|
71174
71216
|
formatNumberMenuItemSpec = formatNumberMenuItemSpec;
|
|
71175
71217
|
topBarToolStore;
|
|
71176
71218
|
buttonRef = (0, _odoo_owl.signal)(null);
|
|
@@ -71205,7 +71247,7 @@ set(value) {
|
|
|
71205
71247
|
var ToolBarZoom = class extends Component {
|
|
71206
71248
|
static template = "o-spreadsheet-TopBarZoom";
|
|
71207
71249
|
static components = { NumberEditor };
|
|
71208
|
-
props = (0, _odoo_owl.
|
|
71250
|
+
props = (0, _odoo_owl.useProps)({ class: types.string() });
|
|
71209
71251
|
topBarToolStore;
|
|
71210
71252
|
valueList = ZOOM_VALUES;
|
|
71211
71253
|
setup() {
|
|
@@ -71431,7 +71473,7 @@ set(value) {
|
|
|
71431
71473
|
//#region src/components/top_bar/top_bar.ts
|
|
71432
71474
|
var TopBar = class extends Component {
|
|
71433
71475
|
static template = "o-spreadsheet-TopBar";
|
|
71434
|
-
props = (0, _odoo_owl.
|
|
71476
|
+
props = (0, _odoo_owl.useProps)({
|
|
71435
71477
|
onClick: types.function(),
|
|
71436
71478
|
dropdownMaxHeight: types.Pixel()
|
|
71437
71479
|
});
|
|
@@ -71709,7 +71751,7 @@ set(value) {
|
|
|
71709
71751
|
//#region src/components/spreadsheet/spreadsheet.ts
|
|
71710
71752
|
var Spreadsheet = class extends Component {
|
|
71711
71753
|
static template = "o-spreadsheet-Spreadsheet";
|
|
71712
|
-
props = (0, _odoo_owl.
|
|
71754
|
+
props = (0, _odoo_owl.useProps)({
|
|
71713
71755
|
model: types.Model(),
|
|
71714
71756
|
notifyUser: types.function().optional(),
|
|
71715
71757
|
raiseError: types.function().optional(),
|
|
@@ -77011,8 +77053,8 @@ set(value) {
|
|
|
77011
77053
|
for (const key in DEFAULT_STYLE) {
|
|
77012
77054
|
content.style[key] = {
|
|
77013
77055
|
sheetDefault: this.getters.getDefaultStyle(data.sheetId, key, "SHEET", void 0) ?? DEFAULT_STYLE[key],
|
|
77014
|
-
colDefault:
|
|
77015
|
-
rowDefault:
|
|
77056
|
+
colDefault: [],
|
|
77057
|
+
rowDefault: []
|
|
77016
77058
|
};
|
|
77017
77059
|
let colIndex = 0;
|
|
77018
77060
|
for (const col of data.columnsIndexes) {
|
|
@@ -77029,20 +77071,41 @@ set(value) {
|
|
|
77029
77071
|
}
|
|
77030
77072
|
return content;
|
|
77031
77073
|
}
|
|
77032
|
-
|
|
77033
|
-
|
|
77034
|
-
|
|
77035
|
-
|
|
77036
|
-
|
|
77037
|
-
|
|
77074
|
+
adaptContentToZone(zone, content) {
|
|
77075
|
+
const colRepetition = Math.max(Math.floor((zone.right - zone.left + 1) / content.width), 1);
|
|
77076
|
+
const rowRepetition = Math.max(Math.floor((zone.bottom - zone.top + 1) / content.height), 1);
|
|
77077
|
+
if (colRepetition === 1 && rowRepetition === 1) return content;
|
|
77078
|
+
const newContent = deepCopy(content);
|
|
77079
|
+
newContent.height *= rowRepetition;
|
|
77080
|
+
newContent.width *= colRepetition;
|
|
77081
|
+
if (rowRepetition > 1 && newContent.format.rowDefault) {
|
|
77082
|
+
newContent.format.rowDefault.length = content.height;
|
|
77083
|
+
newContent.format.rowDefault = repeat(newContent.format.rowDefault, rowRepetition);
|
|
77084
|
+
}
|
|
77085
|
+
if (colRepetition > 1 && newContent.format.colDefault) {
|
|
77086
|
+
newContent.format.colDefault.length = content.width;
|
|
77087
|
+
newContent.format.colDefault = repeat(newContent.format.colDefault, colRepetition);
|
|
77088
|
+
}
|
|
77089
|
+
for (const key in content.style) {
|
|
77090
|
+
if (rowRepetition > 1 && newContent.style[key].rowDefault) {
|
|
77091
|
+
newContent.style[key].rowDefault.length = content.height;
|
|
77092
|
+
newContent.style[key].rowDefault = repeat(newContent.style[key].rowDefault, rowRepetition);
|
|
77093
|
+
}
|
|
77094
|
+
if (colRepetition > 1 && newContent.style[key].colDefault) {
|
|
77095
|
+
newContent.style[key].colDefault.length = content.width;
|
|
77096
|
+
newContent.style[key].colDefault = repeat(newContent.style[key].colDefault, colRepetition);
|
|
77097
|
+
}
|
|
77098
|
+
}
|
|
77099
|
+
return newContent;
|
|
77038
77100
|
}
|
|
77039
77101
|
paste(target, content, options) {
|
|
77040
77102
|
const sheetId = target.sheetId;
|
|
77041
77103
|
if (options.pasteOption === "asValue") return;
|
|
77042
77104
|
const zones = target.zones;
|
|
77043
|
-
if (!options.isCutOperation) for (const zone of zones)
|
|
77044
|
-
|
|
77045
|
-
this.
|
|
77105
|
+
if (!options.isCutOperation) for (const zone of zones) {
|
|
77106
|
+
const newContent = this.adaptContentToZone(zone, content);
|
|
77107
|
+
this.pasteStyle(sheetId, zone.left, zone.top, newContent.width, newContent.height, newContent.style);
|
|
77108
|
+
this.pasteFormat(sheetId, zone.left, zone.top, newContent.width, newContent.height, newContent.format);
|
|
77046
77109
|
}
|
|
77047
77110
|
else {
|
|
77048
77111
|
this.clearClippedZones(content);
|
|
@@ -77155,7 +77218,7 @@ set(value) {
|
|
|
77155
77218
|
const commands = [];
|
|
77156
77219
|
for (const [zoneStr, [zone, priority]] of Object.entries(zones)) {
|
|
77157
77220
|
const format = updateCells[zoneStr];
|
|
77158
|
-
commands.push([
|
|
77221
|
+
if (format !== void 0) commands.push([
|
|
77159
77222
|
priority,
|
|
77160
77223
|
zone,
|
|
77161
77224
|
format
|
|
@@ -77505,7 +77568,7 @@ set(value) {
|
|
|
77505
77568
|
var ErrorToolTip = class extends Component {
|
|
77506
77569
|
static maxSize = { maxHeight: ERROR_TOOLTIP_MAX_HEIGHT };
|
|
77507
77570
|
static template = "o-spreadsheet-ErrorToolTip";
|
|
77508
|
-
props = (0, _odoo_owl.
|
|
77571
|
+
props = (0, _odoo_owl.useProps)({
|
|
77509
77572
|
cellPosition: types.CellPosition(),
|
|
77510
77573
|
onClosed: types.function().optional()
|
|
77511
77574
|
});
|
|
@@ -77589,7 +77652,7 @@ set(value) {
|
|
|
77589
77652
|
SidePanelCollapsible,
|
|
77590
77653
|
FilterMenuCriterion
|
|
77591
77654
|
};
|
|
77592
|
-
props = (0, _odoo_owl.
|
|
77655
|
+
props = (0, _odoo_owl.useProps)({
|
|
77593
77656
|
filterPosition: types.Position(),
|
|
77594
77657
|
onClosed: types.function().optional()
|
|
77595
77658
|
});
|
|
@@ -77769,7 +77832,7 @@ set(value) {
|
|
|
77769
77832
|
//#region src/components/link/link_display/link_display.ts
|
|
77770
77833
|
var LinkDisplay = class extends Component {
|
|
77771
77834
|
static template = "o-spreadsheet-LinkDisplay";
|
|
77772
|
-
props = (0, _odoo_owl.
|
|
77835
|
+
props = (0, _odoo_owl.useProps)({
|
|
77773
77836
|
cellPosition: types.CellPosition(),
|
|
77774
77837
|
onClosed: types.function().optional()
|
|
77775
77838
|
});
|
|
@@ -77843,7 +77906,7 @@ set(value) {
|
|
|
77843
77906
|
var LinkEditor = class extends Component {
|
|
77844
77907
|
static template = "o-spreadsheet-LinkEditor";
|
|
77845
77908
|
static components = { MenuPopover };
|
|
77846
|
-
props = (0, _odoo_owl.
|
|
77909
|
+
props = (0, _odoo_owl.useProps)({
|
|
77847
77910
|
cellPosition: types.CellPosition(),
|
|
77848
77911
|
onClosed: types.function().optional()
|
|
77849
77912
|
});
|
|
@@ -87581,8 +87644,8 @@ exports.stores = stores;
|
|
|
87581
87644
|
exports.tokenColors = tokenColors;
|
|
87582
87645
|
exports.tokenize = tokenize;
|
|
87583
87646
|
|
|
87584
|
-
__info__.version = "19.4.
|
|
87585
|
-
__info__.date = "2026-07-
|
|
87586
|
-
__info__.hash = "
|
|
87647
|
+
__info__.version = "19.4.3";
|
|
87648
|
+
__info__.date = "2026-07-20T11:02:36.941Z";
|
|
87649
|
+
__info__.hash = "d32e61b";
|
|
87587
87650
|
|
|
87588
87651
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|