@odoo/o-spreadsheet 19.2.0-alpha.1 → 19.2.0-alpha.2
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-engine.d.ts +11 -6
- package/dist/o-spreadsheet-engine.esm.js +183 -32
- package/dist/o-spreadsheet-engine.iife.js +183 -32
- package/dist/o-spreadsheet-engine.min.iife.js +313 -313
- package/dist/o-spreadsheet.d.ts +23 -18
- package/dist/o_spreadsheet.css +20 -10
- package/dist/o_spreadsheet.esm.js +741 -620
- package/dist/o_spreadsheet.iife.js +741 -620
- package/dist/o_spreadsheet.min.iife.js +9 -9
- package/dist/o_spreadsheet.xml +98 -106
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -101,11 +101,13 @@ declare function tokenize(str: string, locale?: Locale): Token[];
|
|
|
101
101
|
interface GenericCriterion {
|
|
102
102
|
type: GenericCriterionType;
|
|
103
103
|
values: string[];
|
|
104
|
+
isPercent?: boolean;
|
|
105
|
+
isBottom?: boolean;
|
|
104
106
|
}
|
|
105
107
|
type GenericDateCriterion = GenericCriterion & {
|
|
106
108
|
dateValue: DateCriterionValue;
|
|
107
109
|
};
|
|
108
|
-
type GenericCriterionType = "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula" | "beginsWithText" | "endsWithText" | "isNotEmpty" | "isEmpty";
|
|
110
|
+
type GenericCriterionType = "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula" | "beginsWithText" | "endsWithText" | "isNotEmpty" | "isEmpty" | "top10";
|
|
109
111
|
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
110
112
|
type EvaluatedCriterion<T extends GenericCriterion = GenericCriterion> = Omit<T, "values"> & {
|
|
111
113
|
values: CellValue[];
|
|
@@ -168,6 +170,8 @@ interface CellIsRule extends SingleColorRule {
|
|
|
168
170
|
operator: ConditionalFormattingOperatorValues;
|
|
169
171
|
values: string[];
|
|
170
172
|
dateValue?: DateCriterionValue;
|
|
173
|
+
isPercent?: boolean;
|
|
174
|
+
isBottom?: boolean;
|
|
171
175
|
}
|
|
172
176
|
interface ExpressionRule extends SingleColorRule {
|
|
173
177
|
type: "ExpressionRule";
|
|
@@ -246,13 +250,7 @@ interface AboveAverageRule extends SingleColorRule {
|
|
|
246
250
|
aboveAverage: boolean;
|
|
247
251
|
equalAverage: boolean;
|
|
248
252
|
}
|
|
249
|
-
|
|
250
|
-
type: "Top10Rule";
|
|
251
|
-
percent: boolean;
|
|
252
|
-
bottom: boolean;
|
|
253
|
-
rank: number;
|
|
254
|
-
}
|
|
255
|
-
declare const cfOperators: readonly ["containsText", "notContainsText", "isGreaterThan", "isGreaterOrEqualTo", "isLessThan", "isLessOrEqualTo", "isBetween", "isNotBetween", "beginsWithText", "endsWithText", "isNotEmpty", "isEmpty", "isNotEqual", "isEqual", "customFormula", "dateIs", "dateIsBefore", "dateIsAfter", "dateIsOnOrBefore", "dateIsOnOrAfter"];
|
|
253
|
+
declare const cfOperators: readonly ["containsText", "notContainsText", "isGreaterThan", "isGreaterOrEqualTo", "isLessThan", "isLessOrEqualTo", "isBetween", "isNotBetween", "beginsWithText", "endsWithText", "isNotEmpty", "isEmpty", "isNotEqual", "isEqual", "customFormula", "dateIs", "dateIsBefore", "dateIsAfter", "dateIsOnOrBefore", "dateIsOnOrAfter", "top10"];
|
|
256
254
|
type ConditionalFormattingOperatorValues = (typeof cfOperators)[number];
|
|
257
255
|
declare const availableConditionalFormatOperators: Set<ConditionalFormattingOperatorValues>;
|
|
258
256
|
|
|
@@ -1079,6 +1077,12 @@ type IsValueInRangeCriterion = {
|
|
|
1079
1077
|
colors?: Record<string, Color | undefined>;
|
|
1080
1078
|
displayStyle: "arrow" | "plainText" | "chip";
|
|
1081
1079
|
};
|
|
1080
|
+
type Top10Criterion = {
|
|
1081
|
+
type: "top10";
|
|
1082
|
+
values: string[];
|
|
1083
|
+
isPercent?: boolean;
|
|
1084
|
+
isBottom?: boolean;
|
|
1085
|
+
};
|
|
1082
1086
|
type CustomFormulaCriterion = {
|
|
1083
1087
|
type: "customFormula";
|
|
1084
1088
|
values: string[];
|
|
@@ -3647,6 +3651,7 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
3647
3651
|
private onClientJoined;
|
|
3648
3652
|
private onClientLeft;
|
|
3649
3653
|
private sendUpdateMessage;
|
|
3654
|
+
private sendToTransport;
|
|
3650
3655
|
/**
|
|
3651
3656
|
* Send the next pending message
|
|
3652
3657
|
*/
|
|
@@ -3871,6 +3876,9 @@ type SheetValidationResult = {
|
|
|
3871
3876
|
declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
3872
3877
|
static getters: readonly ["getDataValidationInvalidCriterionValueMessage", "getInvalidDataValidationMessage", "getValidationResultForCellValue", "getDataValidationRangeValues", "isCellValidCheckbox", "getDataValidationCellStyle", "getDataValidationChipStyle", "isDataValidationInvalid"];
|
|
3873
3878
|
validationResults: Record<UID, SheetValidationResult>;
|
|
3879
|
+
criterionPreComputeResult: Record<UID, {
|
|
3880
|
+
[dvRuleId: UID]: unknown;
|
|
3881
|
+
}>;
|
|
3874
3882
|
handle(cmd: CoreViewCommand): void;
|
|
3875
3883
|
isDataValidationInvalid(cellPosition: CellPosition): boolean;
|
|
3876
3884
|
getDataValidationCellStyle(position: CellPosition): Style | undefined;
|
|
@@ -3882,7 +3890,7 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
3882
3890
|
* The value must be canonicalized.
|
|
3883
3891
|
*/
|
|
3884
3892
|
getDataValidationInvalidCriterionValueMessage(criterionType: DataValidationCriterionType, value: string): string | undefined;
|
|
3885
|
-
getDataValidationRangeValues(sheetId: UID, criterion:
|
|
3893
|
+
getDataValidationRangeValues(sheetId: UID, criterion: GenericCriterion): {
|
|
3886
3894
|
value: string;
|
|
3887
3895
|
label: string;
|
|
3888
3896
|
}[];
|
|
@@ -10342,13 +10350,9 @@ interface Props$D {
|
|
|
10342
10350
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
10343
10351
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, zoomedMouseEvent: ZoomedMouseEvent<MouseEvent | PointerEvent>) => void;
|
|
10344
10352
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
10345
|
-
onGridResized: (
|
|
10353
|
+
onGridResized: () => void;
|
|
10346
10354
|
onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
|
|
10347
10355
|
gridOverlayDimensions: string;
|
|
10348
|
-
getGridSize: () => {
|
|
10349
|
-
width: number;
|
|
10350
|
-
height: number;
|
|
10351
|
-
};
|
|
10352
10356
|
}
|
|
10353
10357
|
declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10354
10358
|
static template: string;
|
|
@@ -10375,7 +10379,6 @@ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
10375
10379
|
type: ObjectConstructor;
|
|
10376
10380
|
optional: boolean;
|
|
10377
10381
|
};
|
|
10378
|
-
getGridSize: FunctionConstructor;
|
|
10379
10382
|
};
|
|
10380
10383
|
static components: {
|
|
10381
10384
|
FiguresContainer: typeof FiguresContainer;
|
|
@@ -10913,7 +10916,7 @@ declare class Grid extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10913
10916
|
y: number;
|
|
10914
10917
|
};
|
|
10915
10918
|
get isAutofillVisible(): boolean;
|
|
10916
|
-
onGridResized(
|
|
10919
|
+
onGridResized(): void;
|
|
10917
10920
|
private moveCanvas;
|
|
10918
10921
|
private processSpaceKey;
|
|
10919
10922
|
getClientPositionKey(client: Client): string;
|
|
@@ -12714,6 +12717,7 @@ declare class ClickableCellsStore extends SpreadsheetStore {
|
|
|
12714
12717
|
}
|
|
12715
12718
|
|
|
12716
12719
|
interface Props$4 {
|
|
12720
|
+
getGridSize: () => DOMDimension;
|
|
12717
12721
|
}
|
|
12718
12722
|
declare class SpreadsheetDashboard extends Component<Props$4, SpreadsheetChildEnv> {
|
|
12719
12723
|
static template: string;
|
|
@@ -12746,9 +12750,10 @@ declare class SpreadsheetDashboard extends Component<Props$4, SpreadsheetChildEn
|
|
|
12746
12750
|
getClickableCells(): ClickableCell[];
|
|
12747
12751
|
selectClickableCell(ev: MouseEvent, clickableCell: ClickableCell): void;
|
|
12748
12752
|
onClosePopover(): void;
|
|
12749
|
-
onGridResized(
|
|
12753
|
+
onGridResized(): void;
|
|
12750
12754
|
private moveCanvas;
|
|
12751
12755
|
private getGridRect;
|
|
12756
|
+
private getMaxSheetWidth;
|
|
12752
12757
|
}
|
|
12753
12758
|
|
|
12754
12759
|
interface Props$3 {
|
|
@@ -13662,4 +13667,4 @@ declare const chartHelpers: {
|
|
|
13662
13667
|
WaterfallChart: typeof WaterfallChart;
|
|
13663
13668
|
};
|
|
13664
13669
|
|
|
13665
|
-
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, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, 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, 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, DivisionByZeroError, DuplicateCarouselChartCommand, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, 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$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, 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, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, NumberTooLargeError, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, 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, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, 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, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, 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, UnknownFunctionError, 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, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, 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, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
13670
|
+
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, BadExpressionError, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartColorScale, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithColorScaleDefinition, ChartWithDataSetDefinition, ChartWithTitleDefinition, CircularDependencyError, 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, 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, DivisionByZeroError, DuplicateCarouselChartCommand, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, ErrorValue, 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$1 as Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, InvalidReferenceError, 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, NEXT_VALUE, NewLocalStateUpdateEvent, NotAvailableError, NotContainsTextRule, NotificationType, NumberCell, NumberTooLargeError, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PREVIOUS_VALUE, 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, PivotStyle, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position, PositionDependentCommand, 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, SetZoomCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplillBlockedError, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetClipboardData, 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, Top10Criterion, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UnknownFunctionError, 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, categories, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, 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, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, schemeToColorScale, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
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.2.0-alpha.
|
|
6
|
-
* @date
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.2.0-alpha.2
|
|
6
|
+
* @date 2026-01-07T16:22:29.228Z
|
|
7
|
+
* @hash ac2fa3e
|
|
8
8
|
*/
|
|
9
9
|
:root {
|
|
10
10
|
--os-gray-100: light-dark(#f9fafb, #1b1d26);
|
|
@@ -1139,10 +1139,6 @@
|
|
|
1139
1139
|
height: 70px;
|
|
1140
1140
|
cursor: pointer;
|
|
1141
1141
|
|
|
1142
|
-
.o-dv-container {
|
|
1143
|
-
min-width: 0; /* otherwise flex won't shrink correctly */
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
1142
|
.o-dv-preview-description {
|
|
1147
1143
|
font-size: 13px;
|
|
1148
1144
|
}
|
|
@@ -1151,13 +1147,27 @@
|
|
|
1151
1147
|
background-color: var(--os-background-gray-color-hover);
|
|
1152
1148
|
}
|
|
1153
1149
|
|
|
1154
|
-
&:not(:hover) .o-dv-
|
|
1150
|
+
&:not(:hover) .o-dv-delete-button {
|
|
1155
1151
|
display: none !important;
|
|
1156
1152
|
}
|
|
1157
1153
|
}
|
|
1158
1154
|
}
|
|
1159
1155
|
}
|
|
1160
1156
|
|
|
1157
|
+
/* Originates from src/components/side_panel/criterion_form/top_10_criterion/top_10_criterion.css */
|
|
1158
|
+
.o-spreadsheet {
|
|
1159
|
+
.o-top-10-criterion {
|
|
1160
|
+
.o-top-10-select-values.o-input,
|
|
1161
|
+
.o-top-10-select-mode.o-input {
|
|
1162
|
+
width: 60px;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.o-top-10-select-mode.o-input {
|
|
1166
|
+
width: 80px;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1161
1171
|
/* Originates from src/components/side_panel/criterion_form/criterion_input/criterion_input.css */
|
|
1162
1172
|
.o-spreadsheet {
|
|
1163
1173
|
.o-dv-input {
|
|
@@ -1188,7 +1198,7 @@
|
|
|
1188
1198
|
}
|
|
1189
1199
|
|
|
1190
1200
|
&:not(:hover) .o-cf-delete-button {
|
|
1191
|
-
display: none;
|
|
1201
|
+
display: none !important;
|
|
1192
1202
|
}
|
|
1193
1203
|
.o-cf-preview-icon {
|
|
1194
1204
|
height: 50px;
|
|
@@ -1231,7 +1241,7 @@
|
|
|
1231
1241
|
|
|
1232
1242
|
/* Originates from src/components/side_panel/conditional_formatting/cf_editor/cf_editor.css */
|
|
1233
1243
|
.o-spreadsheet {
|
|
1234
|
-
.o-cf-
|
|
1244
|
+
.o-cf-editor {
|
|
1235
1245
|
.o-cf-preview-display {
|
|
1236
1246
|
padding: 10px;
|
|
1237
1247
|
}
|