@odoo/o-spreadsheet 19.5.0-alpha.8 → 19.5.0-alpha.9
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 +12 -9
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +12 -9
- package/dist/o_spreadsheet.iife.js +12 -9
- package/dist/o_spreadsheet.min.iife.js +4 -4
- package/dist/o_spreadsheet.xml +3 -3
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/types/rendering.d.ts +1 -0
- package/package.json +1 -1
package/dist/o_spreadsheet.cjs
CHANGED
|
@@ -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.5.0-alpha.
|
|
6
|
-
* @date 2026-08-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.5.0-alpha.9
|
|
6
|
+
* @date 2026-08-06T13:08:57.653Z
|
|
7
|
+
* @hash 64623a8
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -13970,7 +13970,7 @@ function getCarouselItemPreview(getters, item) {
|
|
|
13970
13970
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).preview;
|
|
13971
13971
|
}
|
|
13972
13972
|
function getCarouselItemTitle(getters, item) {
|
|
13973
|
-
if (item.title) return item.title;
|
|
13973
|
+
if (item.title) return getters.dynamicTranslate(item.title);
|
|
13974
13974
|
if (item.type === "carouselDataView") return _t("Data");
|
|
13975
13975
|
const definition = getters.getChartDefinition(item.chartId);
|
|
13976
13976
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).displayName;
|
|
@@ -22543,6 +22543,7 @@ var GridRenderer = class extends DisposableStore {
|
|
|
22543
22543
|
ctx.stroke();
|
|
22544
22544
|
}
|
|
22545
22545
|
drawFrozenPanes(renderingContext) {
|
|
22546
|
+
if (renderingContext.hideFrozenPaneBorder) return;
|
|
22546
22547
|
const { ctx, thinLineWidth, sheetId, viewports } = renderingContext;
|
|
22547
22548
|
const { x: offsetCorrectionX, y: offsetCorrectionY } = viewports.getMainViewportCoordinates(sheetId);
|
|
22548
22549
|
const visibleCols = viewports.getSheetViewVisibleCols(sheetId);
|
|
@@ -23135,6 +23136,7 @@ var StandaloneViewportStore = class extends SpreadsheetStore {
|
|
|
23135
23136
|
sheetId,
|
|
23136
23137
|
viewports: this.viewStore.viewports,
|
|
23137
23138
|
hideGridLines: this.getters.isDashboard(),
|
|
23139
|
+
hideFrozenPaneBorder: true,
|
|
23138
23140
|
dpr: 1,
|
|
23139
23141
|
selectedZones: [],
|
|
23140
23142
|
activeCols: /* @__PURE__ */ new Set(),
|
|
@@ -23708,7 +23710,7 @@ var CarouselFigure = class extends Component {
|
|
|
23708
23710
|
return cssPropertiesToCss(cssProperties);
|
|
23709
23711
|
}
|
|
23710
23712
|
get title() {
|
|
23711
|
-
return this.carousel.title?.text ?? "";
|
|
23713
|
+
return this.env.model.getters.dynamicTranslate(this.carousel.title?.text ?? "");
|
|
23712
23714
|
}
|
|
23713
23715
|
get titleStyle() {
|
|
23714
23716
|
return cssPropertiesToCss(cellTextStyleToCss(chartStyleToCellStyle({
|
|
@@ -89226,7 +89228,8 @@ const helpers = {
|
|
|
89226
89228
|
isSingleCellReference,
|
|
89227
89229
|
computeCachedTextDimension,
|
|
89228
89230
|
createComputeFunction,
|
|
89229
|
-
isMobileOS
|
|
89231
|
+
isMobileOS,
|
|
89232
|
+
drawHighlight
|
|
89230
89233
|
};
|
|
89231
89234
|
const links = {
|
|
89232
89235
|
isMarkdownLink,
|
|
@@ -89456,6 +89459,6 @@ exports.stores = stores;
|
|
|
89456
89459
|
exports.tokenColors = tokenColors;
|
|
89457
89460
|
exports.tokenize = tokenize;
|
|
89458
89461
|
|
|
89459
|
-
__info__.version = "19.5.0-alpha.
|
|
89460
|
-
__info__.date = "2026-08-
|
|
89461
|
-
__info__.hash = "
|
|
89462
|
+
__info__.version = "19.5.0-alpha.9";
|
|
89463
|
+
__info__.date = "2026-08-06T13:08:57.653Z";
|
|
89464
|
+
__info__.hash = "64623a8";
|
package/dist/o_spreadsheet.css
CHANGED
|
@@ -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.5.0-alpha.
|
|
6
|
-
* @date 2026-08-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.5.0-alpha.9
|
|
6
|
+
* @date 2026-08-06T13:08:59.422Z
|
|
7
|
+
* @hash 64623a8
|
|
8
8
|
*/
|
|
9
9
|
:root {
|
|
10
10
|
--os-gray-100: light-dark(#f9fafb, #1b1d26);
|
|
@@ -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.5.0-alpha.
|
|
6
|
-
* @date 2026-08-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.5.0-alpha.9
|
|
6
|
+
* @date 2026-08-06T13:08:57.653Z
|
|
7
|
+
* @hash 64623a8
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import * as owl from "@odoo/owl";
|
|
@@ -13969,7 +13969,7 @@ function getCarouselItemPreview(getters, item) {
|
|
|
13969
13969
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).preview;
|
|
13970
13970
|
}
|
|
13971
13971
|
function getCarouselItemTitle(getters, item) {
|
|
13972
|
-
if (item.title) return item.title;
|
|
13972
|
+
if (item.title) return getters.dynamicTranslate(item.title);
|
|
13973
13973
|
if (item.type === "carouselDataView") return _t("Data");
|
|
13974
13974
|
const definition = getters.getChartDefinition(item.chartId);
|
|
13975
13975
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).displayName;
|
|
@@ -22542,6 +22542,7 @@ var GridRenderer = class extends DisposableStore {
|
|
|
22542
22542
|
ctx.stroke();
|
|
22543
22543
|
}
|
|
22544
22544
|
drawFrozenPanes(renderingContext) {
|
|
22545
|
+
if (renderingContext.hideFrozenPaneBorder) return;
|
|
22545
22546
|
const { ctx, thinLineWidth, sheetId, viewports } = renderingContext;
|
|
22546
22547
|
const { x: offsetCorrectionX, y: offsetCorrectionY } = viewports.getMainViewportCoordinates(sheetId);
|
|
22547
22548
|
const visibleCols = viewports.getSheetViewVisibleCols(sheetId);
|
|
@@ -23134,6 +23135,7 @@ var StandaloneViewportStore = class extends SpreadsheetStore {
|
|
|
23134
23135
|
sheetId,
|
|
23135
23136
|
viewports: this.viewStore.viewports,
|
|
23136
23137
|
hideGridLines: this.getters.isDashboard(),
|
|
23138
|
+
hideFrozenPaneBorder: true,
|
|
23137
23139
|
dpr: 1,
|
|
23138
23140
|
selectedZones: [],
|
|
23139
23141
|
activeCols: /* @__PURE__ */ new Set(),
|
|
@@ -23707,7 +23709,7 @@ var CarouselFigure = class extends Component {
|
|
|
23707
23709
|
return cssPropertiesToCss(cssProperties);
|
|
23708
23710
|
}
|
|
23709
23711
|
get title() {
|
|
23710
|
-
return this.carousel.title?.text ?? "";
|
|
23712
|
+
return this.env.model.getters.dynamicTranslate(this.carousel.title?.text ?? "");
|
|
23711
23713
|
}
|
|
23712
23714
|
get titleStyle() {
|
|
23713
23715
|
return cssPropertiesToCss(cellTextStyleToCss(chartStyleToCellStyle({
|
|
@@ -89041,7 +89043,8 @@ const helpers = {
|
|
|
89041
89043
|
isSingleCellReference,
|
|
89042
89044
|
computeCachedTextDimension,
|
|
89043
89045
|
createComputeFunction,
|
|
89044
|
-
isMobileOS
|
|
89046
|
+
isMobileOS,
|
|
89047
|
+
drawHighlight
|
|
89045
89048
|
};
|
|
89046
89049
|
const links = {
|
|
89047
89050
|
isMarkdownLink,
|
|
@@ -89177,6 +89180,6 @@ const chartHelpers = {
|
|
|
89177
89180
|
//#endregion
|
|
89178
89181
|
export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, BadExpressionError, CHART_TYPES, CellErrorType, CellValueType, CircularDependencyError, ClientDisconnectedError, ClipboardMIMEType, CommandResult, CompiledFormula, CorePlugin, CoreViewPlugin, DEFAULT_LOCALE, DEFAULT_LOCALES, DEFAULT_LOCALE_DIGIT_GROUPING, DIRECTION, DispatchResult, DivisionByZeroError, EvaluationError, InvalidReferenceError, LocalTransportService, Model, NEXT_VALUE, NotAvailableError, NumberTooLargeError, OrderedLayers, PREVIOUS_VALUE, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, SplillBlockedError, Spreadsheet, SpreadsheetPivotTable, UIPlugin, UnknownFunctionError, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderPositions, borderStyles, canExecuteInReadonly, categories, chartHelpers, compatibility, components, composerFocusTypes, constants, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, errorTypes, 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, lockedSheetAllowedCommands, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
89179
89182
|
|
|
89180
|
-
__info__.version = "19.5.0-alpha.
|
|
89181
|
-
__info__.date = "2026-08-
|
|
89182
|
-
__info__.hash = "
|
|
89183
|
+
__info__.version = "19.5.0-alpha.9";
|
|
89184
|
+
__info__.date = "2026-08-06T13:08:57.653Z";
|
|
89185
|
+
__info__.hash = "64623a8";
|
|
@@ -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.5.0-alpha.
|
|
6
|
-
* @date 2026-08-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.5.0-alpha.9
|
|
6
|
+
* @date 2026-08-06T13:08:57.653Z
|
|
7
|
+
* @hash 64623a8
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function(exports, _odoo_owl) {
|
|
@@ -13971,7 +13971,7 @@ set(value) {
|
|
|
13971
13971
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).preview;
|
|
13972
13972
|
}
|
|
13973
13973
|
function getCarouselItemTitle(getters, item) {
|
|
13974
|
-
if (item.title) return item.title;
|
|
13974
|
+
if (item.title) return getters.dynamicTranslate(item.title);
|
|
13975
13975
|
if (item.type === "carouselDataView") return _t("Data");
|
|
13976
13976
|
const definition = getters.getChartDefinition(item.chartId);
|
|
13977
13977
|
return (chartSubtypeRegistry.getAll().find((c) => c.matcher?.(definition)) || chartSubtypeRegistry.get(definition.type)).displayName;
|
|
@@ -22544,6 +22544,7 @@ set(value) {
|
|
|
22544
22544
|
ctx.stroke();
|
|
22545
22545
|
}
|
|
22546
22546
|
drawFrozenPanes(renderingContext) {
|
|
22547
|
+
if (renderingContext.hideFrozenPaneBorder) return;
|
|
22547
22548
|
const { ctx, thinLineWidth, sheetId, viewports } = renderingContext;
|
|
22548
22549
|
const { x: offsetCorrectionX, y: offsetCorrectionY } = viewports.getMainViewportCoordinates(sheetId);
|
|
22549
22550
|
const visibleCols = viewports.getSheetViewVisibleCols(sheetId);
|
|
@@ -23136,6 +23137,7 @@ set(value) {
|
|
|
23136
23137
|
sheetId,
|
|
23137
23138
|
viewports: this.viewStore.viewports,
|
|
23138
23139
|
hideGridLines: this.getters.isDashboard(),
|
|
23140
|
+
hideFrozenPaneBorder: true,
|
|
23139
23141
|
dpr: 1,
|
|
23140
23142
|
selectedZones: [],
|
|
23141
23143
|
activeCols: /* @__PURE__ */ new Set(),
|
|
@@ -23709,7 +23711,7 @@ set(value) {
|
|
|
23709
23711
|
return cssPropertiesToCss(cssProperties);
|
|
23710
23712
|
}
|
|
23711
23713
|
get title() {
|
|
23712
|
-
return this.carousel.title?.text ?? "";
|
|
23714
|
+
return this.env.model.getters.dynamicTranslate(this.carousel.title?.text ?? "");
|
|
23713
23715
|
}
|
|
23714
23716
|
get titleStyle() {
|
|
23715
23717
|
return cssPropertiesToCss(cellTextStyleToCss(chartStyleToCellStyle({
|
|
@@ -89043,7 +89045,8 @@ set(value) {
|
|
|
89043
89045
|
isSingleCellReference,
|
|
89044
89046
|
computeCachedTextDimension,
|
|
89045
89047
|
createComputeFunction,
|
|
89046
|
-
isMobileOS
|
|
89048
|
+
isMobileOS,
|
|
89049
|
+
drawHighlight
|
|
89047
89050
|
};
|
|
89048
89051
|
const links = {
|
|
89049
89052
|
isMarkdownLink,
|
|
@@ -89273,8 +89276,8 @@ exports.stores = stores;
|
|
|
89273
89276
|
exports.tokenColors = tokenColors;
|
|
89274
89277
|
exports.tokenize = tokenize;
|
|
89275
89278
|
|
|
89276
|
-
__info__.version = "19.5.0-alpha.
|
|
89277
|
-
__info__.date = "2026-08-
|
|
89278
|
-
__info__.hash = "
|
|
89279
|
+
__info__.version = "19.5.0-alpha.9";
|
|
89280
|
+
__info__.date = "2026-08-06T13:08:57.653Z";
|
|
89281
|
+
__info__.hash = "64623a8";
|
|
89279
89282
|
|
|
89280
89283
|
})(this.o_spreadsheet = this.o_spreadsheet || {}, owl);
|