@odoo/o-spreadsheet 19.1.0-alpha.0 → 19.1.0-alpha.1
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.js +154 -44
- package/dist/o-spreadsheet.d.ts +22 -6
- package/dist/o-spreadsheet.esm.js +153 -45
- package/dist/o-spreadsheet.iife.js +154 -44
- package/dist/o-spreadsheet.iife.min.js +233 -233
- package/dist/o_spreadsheet.xml +37 -8
- package/package.json +1 -1
|
@@ -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.1.0-alpha.
|
|
6
|
-
* @date 2025-09-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.1.0-alpha.1
|
|
6
|
+
* @date 2025-09-12T13:33:41.605Z
|
|
7
|
+
* @hash d3e4e7b
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';
|
|
@@ -890,6 +890,7 @@ const tokenColors = {
|
|
|
890
890
|
ARG_SEPARATOR: functionColor,
|
|
891
891
|
ORPHAN_RIGHT_PAREN: "#ff0000",
|
|
892
892
|
};
|
|
893
|
+
const DRAG_THRESHOLD = 5; // in pixels, to avoid unwanted drag when clicking
|
|
893
894
|
|
|
894
895
|
//------------------------------------------------------------------------------
|
|
895
896
|
// Miscellaneous
|
|
@@ -24539,18 +24540,15 @@ function createScorecardChartRuntime(chart, getters) {
|
|
|
24539
24540
|
return {
|
|
24540
24541
|
title: {
|
|
24541
24542
|
...chart.title,
|
|
24542
|
-
|
|
24543
|
-
text: chart.title.text ? _t(chart.title.text) : "",
|
|
24543
|
+
text: chart.title.text ? getters.dynamicTranslate(chart.title.text) : "",
|
|
24544
24544
|
},
|
|
24545
24545
|
keyValue: formattedKeyValue,
|
|
24546
|
-
keyDescr: chart.keyDescr?.text
|
|
24547
|
-
? _t(chart.keyDescr.text) // descriptions are extracted from .json files and they are translated at runtime here
|
|
24548
|
-
: "",
|
|
24546
|
+
keyDescr: chart.keyDescr?.text ? getters.dynamicTranslate(chart.keyDescr.text) : "",
|
|
24549
24547
|
baselineDisplay,
|
|
24550
24548
|
baselineArrow: getBaselineArrowDirection(baselineCell, keyValueCell, chart.baselineMode),
|
|
24551
24549
|
baselineColor: getBaselineColor(baselineCell, chart.baselineMode, keyValueCell, chart.baselineColorUp, chart.baselineColorDown),
|
|
24552
24550
|
baselineDescr: chart.baselineMode !== "progress" && chart.baselineDescr?.text
|
|
24553
|
-
?
|
|
24551
|
+
? getters.dynamicTranslate(chart.baselineDescr.text)
|
|
24554
24552
|
: "",
|
|
24555
24553
|
fontColor,
|
|
24556
24554
|
background,
|
|
@@ -24850,9 +24848,8 @@ class ScorecardChart extends owl.Component {
|
|
|
24850
24848
|
return this.env.model.getters.getChartRuntime(this.props.chartId);
|
|
24851
24849
|
}
|
|
24852
24850
|
get title() {
|
|
24853
|
-
const title = this.env.model.getters.getChartDefinition(this.props.chartId).title.text
|
|
24854
|
-
|
|
24855
|
-
return _t(title);
|
|
24851
|
+
const title = this.env.model.getters.getChartDefinition(this.props.chartId).title.text;
|
|
24852
|
+
return title ? this.env.model.getters.dynamicTranslate(title) : "";
|
|
24856
24853
|
}
|
|
24857
24854
|
setup() {
|
|
24858
24855
|
owl.useEffect(this.createChart.bind(this), () => {
|
|
@@ -27025,12 +27022,12 @@ function getDatasetAxisId(definition, dataset) {
|
|
|
27025
27022
|
return axisId || "y";
|
|
27026
27023
|
}
|
|
27027
27024
|
|
|
27028
|
-
function getChartTitle(definition) {
|
|
27025
|
+
function getChartTitle(definition, getters) {
|
|
27029
27026
|
const chartTitle = definition.title;
|
|
27030
27027
|
const fontColor = chartMutedFontColor(definition.background);
|
|
27031
27028
|
return {
|
|
27032
27029
|
display: !!chartTitle.text,
|
|
27033
|
-
text:
|
|
27030
|
+
text: chartTitle.text ? getters.dynamicTranslate(chartTitle.text) : "",
|
|
27034
27031
|
color: chartTitle?.color ?? fontColor,
|
|
27035
27032
|
align: chartTitle.align === "center" ? "center" : chartTitle.align === "right" ? "end" : "start",
|
|
27036
27033
|
font: {
|
|
@@ -27598,7 +27595,7 @@ function createBarChartRuntime(chart, getters) {
|
|
|
27598
27595
|
layout: getChartLayout(definition, chartData),
|
|
27599
27596
|
scales: getBarChartScales(definition, chartData),
|
|
27600
27597
|
plugins: {
|
|
27601
|
-
title: getChartTitle(definition),
|
|
27598
|
+
title: getChartTitle(definition, getters),
|
|
27602
27599
|
legend: getBarChartLegend(definition),
|
|
27603
27600
|
tooltip: getBarChartTooltip(definition, chartData),
|
|
27604
27601
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -28829,7 +28826,7 @@ function createComboChartRuntime(chart, getters) {
|
|
|
28829
28826
|
layout: getChartLayout(definition, chartData),
|
|
28830
28827
|
scales: getBarChartScales(definition, chartData),
|
|
28831
28828
|
plugins: {
|
|
28832
|
-
title: getChartTitle(definition),
|
|
28829
|
+
title: getChartTitle(definition, getters),
|
|
28833
28830
|
legend: getComboChartLegend(definition),
|
|
28834
28831
|
tooltip: getBarChartTooltip(definition, chartData),
|
|
28835
28832
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -28975,7 +28972,7 @@ function createFunnelChartRuntime(chart, getters) {
|
|
|
28975
28972
|
layout: getChartLayout(definition, chartData),
|
|
28976
28973
|
scales: getFunnelChartScales(definition, chartData),
|
|
28977
28974
|
plugins: {
|
|
28978
|
-
title: getChartTitle(definition),
|
|
28975
|
+
title: getChartTitle(definition, getters),
|
|
28979
28976
|
legend: { display: false },
|
|
28980
28977
|
tooltip: getFunnelChartTooltip(definition, chartData),
|
|
28981
28978
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -29212,8 +29209,7 @@ function createGaugeChartRuntime(chart, getters) {
|
|
|
29212
29209
|
background: getters.getStyleOfSingleCellChart(chart.background, dataRange).background,
|
|
29213
29210
|
title: {
|
|
29214
29211
|
...chart.title,
|
|
29215
|
-
|
|
29216
|
-
text: _t(chart.title.text ?? ""),
|
|
29212
|
+
text: chart.title.text ? getters.dynamicTranslate(chart.title.text) : "",
|
|
29217
29213
|
},
|
|
29218
29214
|
minValue: {
|
|
29219
29215
|
value: minValue,
|
|
@@ -29397,7 +29393,7 @@ function createGeoChartRuntime(chart, getters) {
|
|
|
29397
29393
|
layout: getChartLayout(definition, chartData),
|
|
29398
29394
|
scales: getGeoChartScales(definition, chartData),
|
|
29399
29395
|
plugins: {
|
|
29400
|
-
title: getChartTitle(definition),
|
|
29396
|
+
title: getChartTitle(definition, getters),
|
|
29401
29397
|
tooltip: getGeoChartTooltip(definition, chartData),
|
|
29402
29398
|
legend: { display: false },
|
|
29403
29399
|
},
|
|
@@ -29562,7 +29558,7 @@ function createLineChartRuntime(chart, getters) {
|
|
|
29562
29558
|
layout: getChartLayout(definition, chartData),
|
|
29563
29559
|
scales: getLineChartScales(definition, chartData),
|
|
29564
29560
|
plugins: {
|
|
29565
|
-
title: getChartTitle(definition),
|
|
29561
|
+
title: getChartTitle(definition, getters),
|
|
29566
29562
|
legend: getLineChartLegend(definition),
|
|
29567
29563
|
tooltip: getLineChartTooltip(definition, chartData),
|
|
29568
29564
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -29699,7 +29695,7 @@ function createPieChartRuntime(chart, getters) {
|
|
|
29699
29695
|
: undefined,
|
|
29700
29696
|
layout: getChartLayout(definition, chartData),
|
|
29701
29697
|
plugins: {
|
|
29702
|
-
title: getChartTitle(definition),
|
|
29698
|
+
title: getChartTitle(definition, getters),
|
|
29703
29699
|
legend: getPieChartLegend(definition, chartData),
|
|
29704
29700
|
tooltip: getPieChartTooltip(definition, chartData),
|
|
29705
29701
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -29853,7 +29849,7 @@ function createPyramidChartRuntime(chart, getters) {
|
|
|
29853
29849
|
layout: getChartLayout(definition, chartData),
|
|
29854
29850
|
scales: getPyramidChartScales(definition, chartData),
|
|
29855
29851
|
plugins: {
|
|
29856
|
-
title: getChartTitle(definition),
|
|
29852
|
+
title: getChartTitle(definition, getters),
|
|
29857
29853
|
legend: getBarChartLegend(definition),
|
|
29858
29854
|
tooltip: getPyramidChartTooltip(definition, chartData),
|
|
29859
29855
|
chartShowValuesPlugin: getPyramidChartShowValues(definition, chartData),
|
|
@@ -30002,7 +29998,7 @@ function createRadarChartRuntime(chart, getters) {
|
|
|
30002
29998
|
layout: getChartLayout(definition, chartData),
|
|
30003
29999
|
scales: getRadarChartScales(definition, chartData),
|
|
30004
30000
|
plugins: {
|
|
30005
|
-
title: getChartTitle(definition),
|
|
30001
|
+
title: getChartTitle(definition, getters),
|
|
30006
30002
|
legend: getRadarChartLegend(definition),
|
|
30007
30003
|
tooltip: getRadarChartTooltip(definition, chartData),
|
|
30008
30004
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -30157,7 +30153,7 @@ function createScatterChartRuntime(chart, getters) {
|
|
|
30157
30153
|
layout: getChartLayout(definition, chartData),
|
|
30158
30154
|
scales: getScatterChartScales(definition, chartData),
|
|
30159
30155
|
plugins: {
|
|
30160
|
-
title: getChartTitle(definition),
|
|
30156
|
+
title: getChartTitle(definition, getters),
|
|
30161
30157
|
legend: getScatterChartLegend(definition),
|
|
30162
30158
|
tooltip: getLineChartTooltip(definition, chartData),
|
|
30163
30159
|
chartShowValuesPlugin: getChartShowValues(definition, chartData),
|
|
@@ -30296,7 +30292,7 @@ function createSunburstChartRuntime(chart, getters) {
|
|
|
30296
30292
|
...CHART_COMMON_OPTIONS,
|
|
30297
30293
|
layout: getChartLayout(definition, chartData),
|
|
30298
30294
|
plugins: {
|
|
30299
|
-
title: getChartTitle(definition),
|
|
30295
|
+
title: getChartTitle(definition, getters),
|
|
30300
30296
|
legend: getSunburstChartLegend(definition),
|
|
30301
30297
|
tooltip: getSunburstChartTooltip(definition, chartData),
|
|
30302
30298
|
sunburstLabelsPlugin: getSunburstShowValues(definition, chartData),
|
|
@@ -30446,7 +30442,7 @@ function createTreeMapChartRuntime(chart, getters) {
|
|
|
30446
30442
|
...CHART_COMMON_OPTIONS,
|
|
30447
30443
|
layout: getChartLayout(definition, chartData),
|
|
30448
30444
|
plugins: {
|
|
30449
|
-
title: getChartTitle(definition),
|
|
30445
|
+
title: getChartTitle(definition, getters),
|
|
30450
30446
|
legend: { display: false },
|
|
30451
30447
|
tooltip: getTreeMapChartTooltip(definition, chartData),
|
|
30452
30448
|
},
|
|
@@ -30609,7 +30605,7 @@ function createWaterfallChartRuntime(chart, getters) {
|
|
|
30609
30605
|
layout: getChartLayout(definition, chartData),
|
|
30610
30606
|
scales: getWaterfallChartScales(definition, chartData),
|
|
30611
30607
|
plugins: {
|
|
30612
|
-
title: getChartTitle(definition),
|
|
30608
|
+
title: getChartTitle(definition, getters),
|
|
30613
30609
|
legend: getWaterfallChartLegend(definition),
|
|
30614
30610
|
tooltip: getWaterfallChartTooltip(definition, chartData),
|
|
30615
30611
|
chartShowValuesPlugin: getWaterfallChartShowValues(definition, chartData),
|
|
@@ -32385,7 +32381,11 @@ class CarouselFigure extends owl.Component {
|
|
|
32385
32381
|
onFigureDeleted: Function,
|
|
32386
32382
|
editFigureStyle: { type: Function, optional: true },
|
|
32387
32383
|
};
|
|
32388
|
-
static components = { ChartDashboardMenu };
|
|
32384
|
+
static components = { ChartDashboardMenu, MenuPopover };
|
|
32385
|
+
carouselTabsRef = owl.useRef("carouselTabs");
|
|
32386
|
+
carouselTabsDropdownRef = owl.useRef("carouselTabsDropdown");
|
|
32387
|
+
menuState = owl.useState({ isOpen: false, anchorRect: null, menuItems: [] });
|
|
32388
|
+
hiddenItems = [];
|
|
32389
32389
|
animationStore;
|
|
32390
32390
|
setup() {
|
|
32391
32391
|
this.animationStore = useStore(ChartAnimationStore);
|
|
@@ -32396,6 +32396,7 @@ class CarouselFigure extends owl.Component {
|
|
|
32396
32396
|
else {
|
|
32397
32397
|
this.props.editFigureStyle?.({ "pointer-events": "auto" });
|
|
32398
32398
|
}
|
|
32399
|
+
this.updateTabsVisibility();
|
|
32399
32400
|
});
|
|
32400
32401
|
}
|
|
32401
32402
|
get carousel() {
|
|
@@ -32455,6 +32456,49 @@ class CarouselFigure extends owl.Component {
|
|
|
32455
32456
|
const style = { ...DEFAULT_CAROUSEL_TITLE_STYLE, ...this.carousel.title };
|
|
32456
32457
|
return cssPropertiesToCss(cellTextStyleToCss(chartStyleToCellStyle(style)));
|
|
32457
32458
|
}
|
|
32459
|
+
updateTabsVisibility() {
|
|
32460
|
+
const tabsContainerEl = this.carouselTabsRef.el;
|
|
32461
|
+
const dropDownEl = this.carouselTabsDropdownRef.el;
|
|
32462
|
+
if (!tabsContainerEl || !dropDownEl) {
|
|
32463
|
+
return;
|
|
32464
|
+
}
|
|
32465
|
+
this.hiddenItems = [];
|
|
32466
|
+
const containerRect = getBoundingRectAsPOJO(tabsContainerEl);
|
|
32467
|
+
const tabs = Array.from(tabsContainerEl.children);
|
|
32468
|
+
for (const tab of tabs) {
|
|
32469
|
+
tab.style.display = "block";
|
|
32470
|
+
}
|
|
32471
|
+
const tabWidths = tabs.map((tab) => getBoundingRectAsPOJO(tab).width);
|
|
32472
|
+
let currentWidth = 0;
|
|
32473
|
+
for (let i = 0; i < tabs.length; i++) {
|
|
32474
|
+
const shouldBeHidden = currentWidth + tabWidths[i] > containerRect.width;
|
|
32475
|
+
currentWidth += tabWidths[i];
|
|
32476
|
+
if (shouldBeHidden) {
|
|
32477
|
+
tabs[i].style.display = "none";
|
|
32478
|
+
this.hiddenItems.push(this.carousel.items[i]);
|
|
32479
|
+
}
|
|
32480
|
+
}
|
|
32481
|
+
dropDownEl.style.display = this.hiddenItems.length ? "block" : "none";
|
|
32482
|
+
}
|
|
32483
|
+
get menuId() {
|
|
32484
|
+
return "carousel-tabs-menu-";
|
|
32485
|
+
}
|
|
32486
|
+
toggleMenu(ev) {
|
|
32487
|
+
if (ev.closedMenuId === this.menuId) {
|
|
32488
|
+
this.menuState.isOpen = false;
|
|
32489
|
+
return;
|
|
32490
|
+
}
|
|
32491
|
+
const rect = getRefBoundingRect(this.carouselTabsDropdownRef);
|
|
32492
|
+
const menuItems = this.hiddenItems.map((item) => ({
|
|
32493
|
+
name: this.getItemTitle(item),
|
|
32494
|
+
execute: () => this.onCarouselTabClick(item),
|
|
32495
|
+
isActive: () => this.isItemSelected(item),
|
|
32496
|
+
isReadonlyAllowed: true,
|
|
32497
|
+
}));
|
|
32498
|
+
this.menuState.isOpen = true;
|
|
32499
|
+
this.menuState.anchorRect = rect;
|
|
32500
|
+
this.menuState.menuItems = createActions(menuItems);
|
|
32501
|
+
}
|
|
32458
32502
|
}
|
|
32459
32503
|
|
|
32460
32504
|
class ChartFigure extends owl.Component {
|
|
@@ -39328,6 +39372,14 @@ function getCaretDownSvg(color) {
|
|
|
39328
39372
|
paths: [{ fillColor: color.textColor || TEXT_BODY_MUTED, path: "M120 195 h270 l-135 130" }],
|
|
39329
39373
|
};
|
|
39330
39374
|
}
|
|
39375
|
+
function getCaretUpSvg(color) {
|
|
39376
|
+
return {
|
|
39377
|
+
name: "CARET_UP",
|
|
39378
|
+
width: 512,
|
|
39379
|
+
height: 512,
|
|
39380
|
+
paths: [{ fillColor: color.textColor || TEXT_BODY_MUTED, path: "M120 325 h270 l-135 -130" }],
|
|
39381
|
+
};
|
|
39382
|
+
}
|
|
39331
39383
|
function getHoveredCaretDownSvg(color) {
|
|
39332
39384
|
return {
|
|
39333
39385
|
name: "CARET_DOWN",
|
|
@@ -50434,9 +50486,16 @@ class FiguresContainer extends owl.Component {
|
|
|
50434
50486
|
maxX: this.env.model.getters.getColDimensions(sheetId, this.env.model.getters.getNumberCols(sheetId) - 1).end,
|
|
50435
50487
|
maxY: this.env.model.getters.getRowDimensions(sheetId, this.env.model.getters.getNumberRows(sheetId) - 1).end,
|
|
50436
50488
|
};
|
|
50489
|
+
let hasStartedDnd = false;
|
|
50437
50490
|
const onMouseMove = (ev) => {
|
|
50438
50491
|
const getters = this.env.model.getters;
|
|
50439
50492
|
const currentMousePosition = { x: ev.clientX, y: ev.clientY };
|
|
50493
|
+
const offsetX = Math.abs(currentMousePosition.x - initialMousePosition.x);
|
|
50494
|
+
const offsetY = Math.abs(currentMousePosition.y - initialMousePosition.y);
|
|
50495
|
+
if (!hasStartedDnd && offsetX < DRAG_THRESHOLD && offsetY < DRAG_THRESHOLD) {
|
|
50496
|
+
return; // add a small threshold to avoid dnd when just clicking
|
|
50497
|
+
}
|
|
50498
|
+
hasStartedDnd = true;
|
|
50440
50499
|
const draggedFigure = dragFigureForMove(currentMousePosition, initialMousePosition, initialFigure, maxDimensions, initialScrollPosition, getters.getActiveSheetScrollInfo());
|
|
50441
50500
|
const otherFigures = this.getOtherFigures(initialFigure.id);
|
|
50442
50501
|
const overlappingCarousel = this.getCarouselOverlappingChart(draggedFigure, otherFigures);
|
|
@@ -55636,7 +55695,7 @@ class ScorecardChartDesignPanel extends owl.Component {
|
|
|
55636
55695
|
return SCORECARD_CHART_TITLE_FONT_SIZE;
|
|
55637
55696
|
}
|
|
55638
55697
|
translate(term) {
|
|
55639
|
-
return
|
|
55698
|
+
return this.env.model.getters.dynamicTranslate(term);
|
|
55640
55699
|
}
|
|
55641
55700
|
setColor(color, colorPickerId) {
|
|
55642
55701
|
switch (colorPickerId) {
|
|
@@ -57188,7 +57247,7 @@ class CustomCurrencyPanel extends owl.Component {
|
|
|
57188
57247
|
});
|
|
57189
57248
|
}
|
|
57190
57249
|
const emptyCurrency = {
|
|
57191
|
-
name:
|
|
57250
|
+
name: CustomCurrencyTerms.Custom,
|
|
57192
57251
|
code: "",
|
|
57193
57252
|
symbol: "",
|
|
57194
57253
|
decimalPlaces: 2,
|
|
@@ -58848,12 +58907,13 @@ class PivotLayoutConfigurator extends owl.Component {
|
|
|
58848
58907
|
addCalculatedMeasure() {
|
|
58849
58908
|
const { measures } = this.props.definition;
|
|
58850
58909
|
const measureName = this.env.model.getters.generateNewCalculatedMeasureName(measures);
|
|
58910
|
+
const aggregator = "sum";
|
|
58851
58911
|
this.props.onDimensionsUpdated({
|
|
58852
58912
|
measures: measures.concat([
|
|
58853
58913
|
{
|
|
58854
|
-
id: this.getMeasureId(measureName),
|
|
58914
|
+
id: this.getMeasureId(measureName, aggregator),
|
|
58855
58915
|
fieldName: measureName,
|
|
58856
|
-
aggregator
|
|
58916
|
+
aggregator,
|
|
58857
58917
|
computedBy: {
|
|
58858
58918
|
sheetId: this.env.model.getters.getActiveSheetId(),
|
|
58859
58919
|
formula: "=0",
|
|
@@ -61445,14 +61505,16 @@ class ClickableCellSortIcon extends owl.Component {
|
|
|
61445
61505
|
"background-color": this.getBackgroundColor(cellStyle),
|
|
61446
61506
|
});
|
|
61447
61507
|
}
|
|
61448
|
-
get
|
|
61449
|
-
|
|
61450
|
-
|
|
61451
|
-
|
|
61452
|
-
|
|
61453
|
-
|
|
61508
|
+
get verticalJustifyClass() {
|
|
61509
|
+
const cellStyle = this.env.model.getters.getCellComputedStyle(this.props.position);
|
|
61510
|
+
switch (cellStyle.verticalAlign) {
|
|
61511
|
+
case "top":
|
|
61512
|
+
return "justify-content-start";
|
|
61513
|
+
case "middle":
|
|
61514
|
+
return "justify-content-center";
|
|
61515
|
+
case "bottom":
|
|
61454
61516
|
default:
|
|
61455
|
-
return "
|
|
61517
|
+
return "justify-content-end";
|
|
61456
61518
|
}
|
|
61457
61519
|
}
|
|
61458
61520
|
getBackgroundColor(cellStyle) {
|
|
@@ -70653,6 +70715,30 @@ function togglePivotCollapse(position, env) {
|
|
|
70653
70715
|
pivot: { ...definition, collapsedDomains: newDomains },
|
|
70654
70716
|
});
|
|
70655
70717
|
}
|
|
70718
|
+
iconsOnCellRegistry.add("pivot_dashboard_sorting", (getters, position) => {
|
|
70719
|
+
if (!getters.isDashboard()) {
|
|
70720
|
+
return undefined;
|
|
70721
|
+
}
|
|
70722
|
+
const pivotCell = getters.getPivotCellFromPosition(position);
|
|
70723
|
+
if (pivotCell.type !== "MEASURE_HEADER") {
|
|
70724
|
+
return undefined;
|
|
70725
|
+
}
|
|
70726
|
+
const sortDirection = getters.getPivotCellSortDirection(position);
|
|
70727
|
+
if (sortDirection !== "asc" && sortDirection !== "desc") {
|
|
70728
|
+
return undefined;
|
|
70729
|
+
}
|
|
70730
|
+
const cellStyle = getters.getCellComputedStyle(position);
|
|
70731
|
+
return {
|
|
70732
|
+
type: `pivot_dashboard_sorting_${sortDirection}`,
|
|
70733
|
+
priority: 5,
|
|
70734
|
+
horizontalAlign: "right",
|
|
70735
|
+
size: GRID_ICON_EDGE_LENGTH,
|
|
70736
|
+
margin: GRID_ICON_MARGIN,
|
|
70737
|
+
svg: sortDirection === "asc" ? getCaretUpSvg(cellStyle) : getCaretDownSvg(cellStyle),
|
|
70738
|
+
position,
|
|
70739
|
+
onClick: undefined, // click is managed by ClickableCellSortIcon
|
|
70740
|
+
};
|
|
70741
|
+
});
|
|
70656
70742
|
|
|
70657
70743
|
class CellIconPlugin extends CoreViewPlugin {
|
|
70658
70744
|
static getters = ["doesCellHaveGridIcon", "getCellIcons", "getCellIconRect"];
|
|
@@ -71132,7 +71218,7 @@ function withPivotPresentationLayer (PivotClass) {
|
|
|
71132
71218
|
return { value: 0 };
|
|
71133
71219
|
}
|
|
71134
71220
|
const { columns, rows } = super.definition;
|
|
71135
|
-
if (columns.length + rows.length !== domain.length) {
|
|
71221
|
+
if (measure.aggregator && columns.length + rows.length !== domain.length) {
|
|
71136
71222
|
const values = this.getValuesToAggregate(measure, domain);
|
|
71137
71223
|
const aggregator = AGGREGATORS_FN[measure.aggregator];
|
|
71138
71224
|
if (!aggregator) {
|
|
@@ -71151,11 +71237,17 @@ function withPivotPresentationLayer (PivotClass) {
|
|
|
71151
71237
|
if (columns.find((col) => col.nameWithGranularity === symbolName)) {
|
|
71152
71238
|
const { colDomain } = domainToColRowDomain(this, domain);
|
|
71153
71239
|
const symbolIndex = colDomain.findIndex((node) => node.field === symbolName);
|
|
71240
|
+
if (symbolIndex === -1) {
|
|
71241
|
+
return new NotAvailableError();
|
|
71242
|
+
}
|
|
71154
71243
|
return this.getPivotHeaderValueAndFormat(colDomain.slice(0, symbolIndex + 1));
|
|
71155
71244
|
}
|
|
71156
71245
|
if (rows.find((row) => row.nameWithGranularity === symbolName)) {
|
|
71157
71246
|
const { rowDomain } = domainToColRowDomain(this, domain);
|
|
71158
71247
|
const symbolIndex = rowDomain.findIndex((row) => row.field === symbolName);
|
|
71248
|
+
if (symbolIndex === -1) {
|
|
71249
|
+
return new NotAvailableError();
|
|
71250
|
+
}
|
|
71159
71251
|
return this.getPivotHeaderValueAndFormat(rowDomain.slice(0, symbolIndex + 1));
|
|
71160
71252
|
}
|
|
71161
71253
|
return this.getPivotCellValueAndFormat(symbolName, domain);
|
|
@@ -75549,6 +75641,21 @@ class DataValidationInsertionPlugin extends UIPlugin {
|
|
|
75549
75641
|
}
|
|
75550
75642
|
}
|
|
75551
75643
|
|
|
75644
|
+
/**
|
|
75645
|
+
* This plugin provides dynamic translation getter. In o-spreadsheet, it has
|
|
75646
|
+
* no implementation, but this plugin can be replaced by another one to provide
|
|
75647
|
+
* a real implementation.
|
|
75648
|
+
*
|
|
75649
|
+
* For example, in Odoo, the plugin is replaced by a plugin that used the
|
|
75650
|
+
* module namespace to dynamically translate terms.
|
|
75651
|
+
*/
|
|
75652
|
+
class DynamicTranslate extends UIPlugin {
|
|
75653
|
+
static getters = ["dynamicTranslate"];
|
|
75654
|
+
dynamicTranslate(term) {
|
|
75655
|
+
return term;
|
|
75656
|
+
}
|
|
75657
|
+
}
|
|
75658
|
+
|
|
75552
75659
|
const genericRepeatsTransforms = [
|
|
75553
75660
|
repeatSheetDependantCommand,
|
|
75554
75661
|
repeatTargetDependantCommand,
|
|
@@ -79180,6 +79287,7 @@ const featurePluginRegistry = new Registry()
|
|
|
79180
79287
|
.add("table_ui_resize", TableResizeUI)
|
|
79181
79288
|
.add("datavalidation_insert", DataValidationInsertionPlugin)
|
|
79182
79289
|
.add("checkbox_toggle", CheckboxTogglePlugin)
|
|
79290
|
+
.add("dynamic_translate", DynamicTranslate)
|
|
79183
79291
|
.add("geo_features", GeoFeaturePlugin);
|
|
79184
79292
|
// Plugins which have a state, but which should not be shared in collaborative
|
|
79185
79293
|
const statefulUIPluginRegistry = new Registry()
|
|
@@ -88390,6 +88498,8 @@ exports.convertAstNodes = convertAstNodes;
|
|
|
88390
88498
|
exports.coreTypes = coreTypes;
|
|
88391
88499
|
exports.findCellInNewZone = findCellInNewZone;
|
|
88392
88500
|
exports.functionCache = functionCache;
|
|
88501
|
+
exports.getCaretDownSvg = getCaretDownSvg;
|
|
88502
|
+
exports.getCaretUpSvg = getCaretUpSvg;
|
|
88393
88503
|
exports.helpers = helpers;
|
|
88394
88504
|
exports.hooks = hooks;
|
|
88395
88505
|
exports.invalidateCFEvaluationCommands = invalidateCFEvaluationCommands;
|
|
@@ -88410,6 +88520,6 @@ exports.tokenColors = tokenColors;
|
|
|
88410
88520
|
exports.tokenize = tokenize;
|
|
88411
88521
|
|
|
88412
88522
|
|
|
88413
|
-
__info__.version = "19.1.0-alpha.
|
|
88414
|
-
__info__.date = "2025-09-
|
|
88415
|
-
__info__.hash = "
|
|
88523
|
+
__info__.version = "19.1.0-alpha.1";
|
|
88524
|
+
__info__.date = "2025-09-12T13:33:41.605Z";
|
|
88525
|
+
__info__.hash = "d3e4e7b";
|
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -3487,6 +3487,19 @@ declare class CheckboxTogglePlugin extends UIPlugin {
|
|
|
3487
3487
|
private toggleCheckbox;
|
|
3488
3488
|
}
|
|
3489
3489
|
|
|
3490
|
+
/**
|
|
3491
|
+
* This plugin provides dynamic translation getter. In o-spreadsheet, it has
|
|
3492
|
+
* no implementation, but this plugin can be replaced by another one to provide
|
|
3493
|
+
* a real implementation.
|
|
3494
|
+
*
|
|
3495
|
+
* For example, in Odoo, the plugin is replaced by a plugin that used the
|
|
3496
|
+
* module namespace to dynamically translate terms.
|
|
3497
|
+
*/
|
|
3498
|
+
declare class DynamicTranslate extends UIPlugin {
|
|
3499
|
+
static getters: readonly ["dynamicTranslate"];
|
|
3500
|
+
dynamicTranslate(term: string): string;
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3490
3503
|
/**
|
|
3491
3504
|
* Local History
|
|
3492
3505
|
*
|
|
@@ -4059,7 +4072,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
4059
4072
|
type Getters = {
|
|
4060
4073
|
isReadonly: () => boolean;
|
|
4061
4074
|
isDashboard: () => boolean;
|
|
4062
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof SubtotalEvaluationPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin> & PluginGetters<typeof CarouselUIPlugin>;
|
|
4075
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof SubtotalEvaluationPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin> & PluginGetters<typeof DynamicTranslate> & PluginGetters<typeof CarouselUIPlugin>;
|
|
4063
4076
|
|
|
4064
4077
|
interface CorePluginConfig {
|
|
4065
4078
|
readonly getters: CoreGetters;
|
|
@@ -9222,7 +9235,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$X, SpreadsheetCh
|
|
|
9222
9235
|
};
|
|
9223
9236
|
get colorsSectionTitle(): string;
|
|
9224
9237
|
get defaultScorecardTitleFontSize(): number;
|
|
9225
|
-
translate(term:
|
|
9238
|
+
translate(term: string): string;
|
|
9226
9239
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
9227
9240
|
get keyStyle(): TitleDesign;
|
|
9228
9241
|
get baselineStyle(): TitleDesign;
|
|
@@ -11339,8 +11352,8 @@ declare class ClickableCellSortIcon extends Component<Props$m, SpreadsheetChildE
|
|
|
11339
11352
|
private hoveredTableStore;
|
|
11340
11353
|
setup(): void;
|
|
11341
11354
|
get style(): string;
|
|
11342
|
-
get
|
|
11343
|
-
getBackgroundColor
|
|
11355
|
+
get verticalJustifyClass(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
11356
|
+
private getBackgroundColor;
|
|
11344
11357
|
}
|
|
11345
11358
|
|
|
11346
11359
|
declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
@@ -12823,6 +12836,9 @@ type TranslationFunction = (string: string, ...values: SprintfValues) => string;
|
|
|
12823
12836
|
*/
|
|
12824
12837
|
declare function setTranslationMethod(tfn: TranslationFunction, loaded?: () => boolean): void;
|
|
12825
12838
|
|
|
12839
|
+
declare function getCaretDownSvg(color: Style): ImageSVG;
|
|
12840
|
+
declare function getCaretUpSvg(color: Style): ImageSVG;
|
|
12841
|
+
|
|
12826
12842
|
/**
|
|
12827
12843
|
* We export here all entities that needs to be accessed publicly by Odoo.
|
|
12828
12844
|
*
|
|
@@ -13551,7 +13567,7 @@ declare const chartHelpers: {
|
|
|
13551
13567
|
getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
|
|
13552
13568
|
getPyramidChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13553
13569
|
getWaterfallChartShowValues(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13554
|
-
getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
13570
|
+
getChartTitle(definition: ChartWithDataSetDefinition, getters: Getters): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
13555
13571
|
getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13556
13572
|
getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13557
13573
|
getPieChartTooltip(definition: PieChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
@@ -13637,4 +13653,4 @@ declare const chartHelpers: {
|
|
|
13637
13653
|
WaterfallChart: typeof WaterfallChart;
|
|
13638
13654
|
};
|
|
13639
13655
|
|
|
13640
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
13656
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|