@odoo/o-spreadsheet 16.0.28 → 16.0.30
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 +337 -278
- package/dist/o-spreadsheet.d.ts +63 -62
- package/dist/o-spreadsheet.esm.js +337 -278
- package/dist/o-spreadsheet.iife.js +337 -278
- package/dist/o-spreadsheet.iife.min.js +245 -252
- package/dist/o_spreadsheet.xml +3 -3
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -2154,64 +2154,65 @@ declare const enum CommandResult {
|
|
|
2154
2154
|
InvalidSheetId = 27,
|
|
2155
2155
|
InputAlreadyFocused = 28,
|
|
2156
2156
|
MaximumRangesReached = 29,
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2157
|
+
InvalidInputId = 30,
|
|
2158
|
+
InvalidChartDefinition = 31,
|
|
2159
|
+
InvalidDataSet = 32,
|
|
2160
|
+
InvalidLabelRange = 33,
|
|
2161
|
+
InvalidScorecardKeyValue = 34,
|
|
2162
|
+
InvalidScorecardBaseline = 35,
|
|
2163
|
+
InvalidGaugeDataRange = 36,
|
|
2164
|
+
EmptyGaugeRangeMin = 37,
|
|
2165
|
+
GaugeRangeMinNaN = 38,
|
|
2166
|
+
EmptyGaugeRangeMax = 39,
|
|
2167
|
+
GaugeRangeMaxNaN = 40,
|
|
2168
|
+
GaugeRangeMinBiggerThanRangeMax = 41,
|
|
2169
|
+
GaugeLowerInflectionPointNaN = 42,
|
|
2170
|
+
GaugeUpperInflectionPointNaN = 43,
|
|
2171
|
+
GaugeLowerBiggerThanUpper = 44,
|
|
2172
|
+
InvalidAutofillSelection = 45,
|
|
2173
|
+
WrongComposerSelection = 46,
|
|
2174
|
+
MinBiggerThanMax = 47,
|
|
2175
|
+
LowerBiggerThanUpper = 48,
|
|
2176
|
+
MidBiggerThanMax = 49,
|
|
2177
|
+
MinBiggerThanMid = 50,
|
|
2178
|
+
FirstArgMissing = 51,
|
|
2179
|
+
SecondArgMissing = 52,
|
|
2180
|
+
MinNaN = 53,
|
|
2181
|
+
MidNaN = 54,
|
|
2182
|
+
MaxNaN = 55,
|
|
2183
|
+
ValueUpperInflectionNaN = 56,
|
|
2184
|
+
ValueLowerInflectionNaN = 57,
|
|
2185
|
+
MinInvalidFormula = 58,
|
|
2186
|
+
MidInvalidFormula = 59,
|
|
2187
|
+
MaxInvalidFormula = 60,
|
|
2188
|
+
ValueUpperInvalidFormula = 61,
|
|
2189
|
+
ValueLowerInvalidFormula = 62,
|
|
2190
|
+
InvalidSortZone = 63,
|
|
2191
|
+
WaitingSessionConfirmation = 64,
|
|
2192
|
+
MergeOverlap = 65,
|
|
2193
|
+
TooManyHiddenElements = 66,
|
|
2194
|
+
Readonly = 67,
|
|
2195
|
+
InvalidViewportSize = 68,
|
|
2196
|
+
InvalidScrollingDirection = 69,
|
|
2197
|
+
FigureDoesNotExist = 70,
|
|
2198
|
+
InvalidConditionalFormatId = 71,
|
|
2199
|
+
InvalidCellPopover = 72,
|
|
2200
|
+
EmptyTarget = 73,
|
|
2201
|
+
InvalidFreezeQuantity = 74,
|
|
2202
|
+
FrozenPaneOverlap = 75,
|
|
2203
|
+
ValuesNotChanged = 76,
|
|
2204
|
+
InvalidFilterZone = 77,
|
|
2205
|
+
FilterOverlap = 78,
|
|
2206
|
+
FilterNotFound = 79,
|
|
2207
|
+
MergeInFilter = 80,
|
|
2208
|
+
NonContinuousTargets = 81,
|
|
2209
|
+
DuplicatedFigureId = 82,
|
|
2210
|
+
InvalidSelectionStep = 83,
|
|
2211
|
+
DuplicatedChartId = 84,
|
|
2212
|
+
ChartDoesNotExist = 85,
|
|
2213
|
+
InvalidHeaderIndex = 86,
|
|
2214
|
+
InvalidQuantity = 87,
|
|
2215
|
+
NoChanges = 88
|
|
2215
2216
|
}
|
|
2216
2217
|
interface CommandHandler<T> {
|
|
2217
2218
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -2920,8 +2921,9 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2920
2921
|
*
|
|
2921
2922
|
* @param range the range (received from getRangeFromXC or getRangeFromZone)
|
|
2922
2923
|
* @param forSheetId the id of the sheet where the range string is supposed to be used.
|
|
2924
|
+
* @param [useFixedZone=false] if true, the range will be returned with fixed row and column
|
|
2923
2925
|
*/
|
|
2924
|
-
getRangeString(range: Range, forSheetId: UID): string;
|
|
2926
|
+
getRangeString(range: Range, forSheetId: UID, useFixedZone?: boolean): string;
|
|
2925
2927
|
getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
|
|
2926
2928
|
getRangeDataFromZone(sheetId: UID, zone: Zone): RangeData;
|
|
2927
2929
|
getRangeFromRangeData(data: RangeData): Range;
|
|
@@ -3127,7 +3129,7 @@ declare class CellPlugin extends CorePlugin<CoreState> implements CoreState {
|
|
|
3127
3129
|
* starting an async evaluation even if it has been moved or re-allocated
|
|
3128
3130
|
*/
|
|
3129
3131
|
getCellById(cellId: UID): Cell | undefined;
|
|
3130
|
-
buildFormulaContent(sheetId: UID, cell: FormulaCell, dependencies?: Range[]): string;
|
|
3132
|
+
buildFormulaContent(sheetId: UID, cell: FormulaCell, dependencies?: Range[], useFixedZone?: boolean): string;
|
|
3131
3133
|
getFormulaCellContent(sheetId: UID, cell: FormulaCell): string;
|
|
3132
3134
|
getCellStyle(cell?: Cell): Style;
|
|
3133
3135
|
/**
|
|
@@ -4152,7 +4154,7 @@ interface RangeInputValue {
|
|
|
4152
4154
|
* This plugin handles this internal state.
|
|
4153
4155
|
*/
|
|
4154
4156
|
declare class SelectionInputPlugin extends UIPlugin implements StreamCallbacks<SelectionEvent> {
|
|
4155
|
-
|
|
4157
|
+
readonly inputHasSingleRange: boolean;
|
|
4156
4158
|
static layers: LAYERS[];
|
|
4157
4159
|
static getters: never[];
|
|
4158
4160
|
ranges: RangeInputValue[];
|
|
@@ -4160,7 +4162,6 @@ declare class SelectionInputPlugin extends UIPlugin implements StreamCallbacks<S
|
|
|
4160
4162
|
private activeSheet;
|
|
4161
4163
|
private willAddNewRange;
|
|
4162
4164
|
constructor(getters: Getters, state: StateObserver, dispatch: CommandDispatcher["dispatch"], config: ModelConfig, selection: SelectionStreamProcessor, initialRanges: string[], inputHasSingleRange: boolean);
|
|
4163
|
-
allowDispatch(cmd: Command): CommandResult;
|
|
4164
4165
|
handleEvent(event: SelectionEvent): void;
|
|
4165
4166
|
handle(cmd: Command): void;
|
|
4166
4167
|
unsubscribe(): void;
|