@odoo/o-spreadsheet 17.3.0-alpha.9 → 17.3.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 +1611 -604
- package/dist/o-spreadsheet.d.ts +427 -200
- package/dist/o-spreadsheet.esm.js +1611 -604
- package/dist/o-spreadsheet.iife.js +1611 -604
- package/dist/o-spreadsheet.iife.min.js +550 -392
- package/dist/o_spreadsheet.xml +479 -381
- package/package.json +2 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -189,14 +189,14 @@ type VerticalAxisPosition = "left" | "right";
|
|
|
189
189
|
type LegendPosition = "top" | "bottom" | "left" | "right" | "none";
|
|
190
190
|
|
|
191
191
|
interface ComboBarChartDefinition {
|
|
192
|
-
readonly dataSets:
|
|
192
|
+
readonly dataSets: CustomizedDataSet[];
|
|
193
193
|
readonly dataSetsHaveTitle: boolean;
|
|
194
194
|
readonly labelRange?: string;
|
|
195
|
-
readonly title:
|
|
195
|
+
readonly title: TitleDesign;
|
|
196
196
|
readonly background?: Color;
|
|
197
|
-
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
198
197
|
readonly legendPosition: LegendPosition;
|
|
199
198
|
readonly aggregated?: boolean;
|
|
199
|
+
readonly axesDesign?: AxesDesign;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
interface BarChartDefinition extends ComboBarChartDefinition {
|
|
@@ -210,7 +210,6 @@ type BarChartRuntime = {
|
|
|
210
210
|
|
|
211
211
|
interface ComboChartDefinition extends ComboBarChartDefinition {
|
|
212
212
|
readonly type: "combo";
|
|
213
|
-
readonly useBothYAxis?: boolean;
|
|
214
213
|
}
|
|
215
214
|
type ComboChartRuntime = {
|
|
216
215
|
chartJsConfig: ChartConfiguration;
|
|
@@ -219,7 +218,7 @@ type ComboChartRuntime = {
|
|
|
219
218
|
|
|
220
219
|
interface GaugeChartDefinition {
|
|
221
220
|
readonly type: "gauge";
|
|
222
|
-
readonly title:
|
|
221
|
+
readonly title: TitleDesign;
|
|
223
222
|
readonly dataRange?: string;
|
|
224
223
|
readonly sectionRule: SectionRule;
|
|
225
224
|
readonly background?: Color;
|
|
@@ -246,7 +245,7 @@ interface GaugeValue {
|
|
|
246
245
|
}
|
|
247
246
|
interface GaugeChartRuntime {
|
|
248
247
|
background: Color;
|
|
249
|
-
title:
|
|
248
|
+
title: TitleDesign;
|
|
250
249
|
minValue: GaugeValue;
|
|
251
250
|
maxValue: GaugeValue;
|
|
252
251
|
gaugeValue?: GaugeValue;
|
|
@@ -256,17 +255,17 @@ interface GaugeChartRuntime {
|
|
|
256
255
|
|
|
257
256
|
interface LineChartDefinition {
|
|
258
257
|
readonly type: "line";
|
|
259
|
-
readonly dataSets:
|
|
258
|
+
readonly dataSets: CustomizedDataSet[];
|
|
260
259
|
readonly dataSetsHaveTitle: boolean;
|
|
261
260
|
readonly labelRange?: string;
|
|
262
|
-
readonly title:
|
|
261
|
+
readonly title: TitleDesign;
|
|
263
262
|
readonly background?: Color;
|
|
264
|
-
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
265
263
|
readonly legendPosition: LegendPosition;
|
|
266
264
|
readonly labelsAsText: boolean;
|
|
267
265
|
readonly stacked: boolean;
|
|
268
266
|
readonly aggregated?: boolean;
|
|
269
267
|
readonly cumulative: boolean;
|
|
268
|
+
readonly axesDesign?: AxesDesign;
|
|
270
269
|
}
|
|
271
270
|
type LineChartRuntime = {
|
|
272
271
|
chartJsConfig: ChartConfiguration;
|
|
@@ -275,13 +274,14 @@ type LineChartRuntime = {
|
|
|
275
274
|
|
|
276
275
|
interface PieChartDefinition {
|
|
277
276
|
readonly type: "pie";
|
|
278
|
-
readonly dataSets:
|
|
277
|
+
readonly dataSets: CustomizedDataSet[];
|
|
279
278
|
readonly dataSetsHaveTitle: boolean;
|
|
280
279
|
readonly labelRange?: string;
|
|
281
|
-
readonly title:
|
|
280
|
+
readonly title: TitleDesign;
|
|
282
281
|
readonly background?: Color;
|
|
283
282
|
readonly legendPosition: LegendPosition;
|
|
284
283
|
readonly aggregated?: boolean;
|
|
284
|
+
readonly axesDesign?: AxesDesign;
|
|
285
285
|
}
|
|
286
286
|
type PieChartRuntime = {
|
|
287
287
|
chartJsConfig: ChartConfiguration;
|
|
@@ -295,7 +295,7 @@ type ScatterChartRuntime = LineChartRuntime;
|
|
|
295
295
|
|
|
296
296
|
interface ScorecardChartDefinition {
|
|
297
297
|
readonly type: "scorecard";
|
|
298
|
-
readonly title:
|
|
298
|
+
readonly title: TitleDesign;
|
|
299
299
|
readonly keyValue?: string;
|
|
300
300
|
readonly baseline?: string;
|
|
301
301
|
readonly baselineMode: BaselineMode;
|
|
@@ -312,7 +312,7 @@ interface ProgressBar {
|
|
|
312
312
|
readonly color: Color;
|
|
313
313
|
}
|
|
314
314
|
interface ScorecardChartRuntime {
|
|
315
|
-
readonly title:
|
|
315
|
+
readonly title: TitleDesign;
|
|
316
316
|
readonly keyValue: string;
|
|
317
317
|
readonly baselineDisplay: string;
|
|
318
318
|
readonly baselineColor?: string;
|
|
@@ -327,10 +327,10 @@ interface ScorecardChartRuntime {
|
|
|
327
327
|
|
|
328
328
|
interface WaterfallChartDefinition {
|
|
329
329
|
readonly type: "waterfall";
|
|
330
|
-
readonly dataSets:
|
|
330
|
+
readonly dataSets: CustomizedDataSet[];
|
|
331
331
|
readonly dataSetsHaveTitle: boolean;
|
|
332
332
|
readonly labelRange?: string;
|
|
333
|
-
readonly title:
|
|
333
|
+
readonly title: TitleDesign;
|
|
334
334
|
readonly background?: Color;
|
|
335
335
|
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
336
336
|
readonly legendPosition: LegendPosition;
|
|
@@ -341,6 +341,7 @@ interface WaterfallChartDefinition {
|
|
|
341
341
|
readonly positiveValuesColor?: Color;
|
|
342
342
|
readonly negativeValuesColor?: Color;
|
|
343
343
|
readonly subTotalValuesColor?: Color;
|
|
344
|
+
readonly axesDesign?: AxesDesign;
|
|
344
345
|
}
|
|
345
346
|
type WaterfallChartRuntime = {
|
|
346
347
|
chartJsConfig: ChartConfiguration;
|
|
@@ -351,7 +352,7 @@ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge",
|
|
|
351
352
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
352
353
|
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition;
|
|
353
354
|
type ChartWithAxisDefinition = Extract<ChartDefinition, {
|
|
354
|
-
dataSets:
|
|
355
|
+
dataSets: CustomizedDataSet[];
|
|
355
356
|
labelRange?: string;
|
|
356
357
|
}>;
|
|
357
358
|
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime;
|
|
@@ -364,32 +365,67 @@ interface DatasetValues {
|
|
|
364
365
|
readonly label?: string;
|
|
365
366
|
readonly data: any[];
|
|
366
367
|
}
|
|
368
|
+
interface DatasetDesign {
|
|
369
|
+
readonly backgroundColor?: string;
|
|
370
|
+
readonly yAxisId?: string;
|
|
371
|
+
readonly label?: string;
|
|
372
|
+
}
|
|
373
|
+
interface AxisDesign {
|
|
374
|
+
readonly title?: TitleDesign;
|
|
375
|
+
}
|
|
376
|
+
interface AxesDesign {
|
|
377
|
+
readonly x?: AxisDesign;
|
|
378
|
+
readonly y?: AxisDesign;
|
|
379
|
+
readonly y1?: AxisDesign;
|
|
380
|
+
}
|
|
381
|
+
interface TitleDesign {
|
|
382
|
+
readonly text?: string;
|
|
383
|
+
readonly bold?: boolean;
|
|
384
|
+
readonly italic?: boolean;
|
|
385
|
+
readonly align?: Align;
|
|
386
|
+
readonly color?: Color;
|
|
387
|
+
}
|
|
388
|
+
type CustomizedDataSet = {
|
|
389
|
+
readonly dataRange: string;
|
|
390
|
+
} & DatasetDesign;
|
|
367
391
|
type AxisType = "category" | "linear" | "time";
|
|
368
392
|
interface DataSet {
|
|
369
393
|
readonly labelCell?: Range;
|
|
370
394
|
readonly dataRange: Range;
|
|
371
395
|
readonly rightYAxis?: boolean;
|
|
396
|
+
readonly backgroundColor?: Color;
|
|
397
|
+
readonly customLabel?: string;
|
|
372
398
|
}
|
|
373
399
|
interface ExcelChartDataset {
|
|
374
|
-
readonly label?:
|
|
400
|
+
readonly label?: {
|
|
401
|
+
text?: string;
|
|
402
|
+
} | {
|
|
403
|
+
reference?: string;
|
|
404
|
+
};
|
|
375
405
|
readonly range: string;
|
|
406
|
+
readonly backgroundColor?: Color;
|
|
407
|
+
readonly rightYAxis?: boolean;
|
|
376
408
|
}
|
|
377
409
|
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter";
|
|
378
410
|
interface ExcelChartDefinition {
|
|
379
|
-
readonly title?:
|
|
411
|
+
readonly title?: TitleDesign;
|
|
380
412
|
readonly type: ExcelChartType;
|
|
381
413
|
readonly dataSets: ExcelChartDataset[];
|
|
382
414
|
readonly labelRange?: string;
|
|
383
415
|
readonly backgroundColor: XlsxHexColor;
|
|
384
416
|
readonly fontColor: XlsxHexColor;
|
|
385
|
-
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
386
417
|
readonly legendPosition: LegendPosition;
|
|
387
418
|
readonly stacked?: boolean;
|
|
388
419
|
readonly cumulative?: boolean;
|
|
420
|
+
readonly verticalAxis?: {
|
|
421
|
+
useLeftAxis?: boolean;
|
|
422
|
+
useRightAxis?: boolean;
|
|
423
|
+
};
|
|
424
|
+
readonly axesDesign?: AxesDesign;
|
|
389
425
|
}
|
|
390
426
|
interface ChartCreationContext {
|
|
391
|
-
readonly range?:
|
|
392
|
-
readonly title?:
|
|
427
|
+
readonly range?: CustomizedDataSet[];
|
|
428
|
+
readonly title?: TitleDesign;
|
|
393
429
|
readonly background?: string;
|
|
394
430
|
readonly auxiliaryRange?: string;
|
|
395
431
|
readonly aggregated?: boolean;
|
|
@@ -400,8 +436,8 @@ interface ChartCreationContext {
|
|
|
400
436
|
readonly showSubTotals?: boolean;
|
|
401
437
|
readonly showConnectorLines?: boolean;
|
|
402
438
|
readonly firstValueAsSubtotal?: boolean;
|
|
403
|
-
readonly verticalAxisPosition?: VerticalAxisPosition;
|
|
404
439
|
readonly legendPosition?: LegendPosition;
|
|
440
|
+
readonly axesDesign?: AxesDesign;
|
|
405
441
|
}
|
|
406
442
|
|
|
407
443
|
declare enum ClipboardMIMEType {
|
|
@@ -412,9 +448,9 @@ type ClipboardContent = {
|
|
|
412
448
|
[type in ClipboardMIMEType]?: string;
|
|
413
449
|
};
|
|
414
450
|
interface ClipboardOptions {
|
|
451
|
+
isCutOperation: boolean;
|
|
415
452
|
pasteOption?: ClipboardPasteOptions;
|
|
416
453
|
selectTarget?: boolean;
|
|
417
|
-
isCutOperation?: boolean;
|
|
418
454
|
}
|
|
419
455
|
type ClipboardPasteOptions = "onlyFormat" | "asValue";
|
|
420
456
|
type ClipboardOperation = "CUT" | "COPY";
|
|
@@ -1763,7 +1799,6 @@ type DebouncedFunction<T> = T & {
|
|
|
1763
1799
|
interface GridClickModifiers {
|
|
1764
1800
|
addZone: boolean;
|
|
1765
1801
|
expandZone: boolean;
|
|
1766
|
-
closePopover: boolean;
|
|
1767
1802
|
}
|
|
1768
1803
|
|
|
1769
1804
|
type LocaleCode = string & Alias;
|
|
@@ -2206,6 +2241,19 @@ interface ClipboardInterface {
|
|
|
2206
2241
|
readText(): Promise<ClipboardReadResult>;
|
|
2207
2242
|
}
|
|
2208
2243
|
|
|
2244
|
+
interface NotificationStoreMethods {
|
|
2245
|
+
notifyUser: (notification: InformationNotification) => void;
|
|
2246
|
+
raiseError: (text: string, callback?: () => void) => void;
|
|
2247
|
+
askConfirmation: (content: string, confirm: () => void, cancel?: () => void) => void;
|
|
2248
|
+
}
|
|
2249
|
+
declare class NotificationStore {
|
|
2250
|
+
mutators: readonly ["notifyUser", "raiseError", "askConfirmation", "updateNotificationCallbacks"];
|
|
2251
|
+
notifyUser: NotificationStoreMethods["notifyUser"];
|
|
2252
|
+
askConfirmation: NotificationStoreMethods["askConfirmation"];
|
|
2253
|
+
raiseError: NotificationStoreMethods["raiseError"];
|
|
2254
|
+
updateNotificationCallbacks(methods: Partial<NotificationStoreMethods>): void;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2209
2257
|
type FilePath = string;
|
|
2210
2258
|
/**
|
|
2211
2259
|
* FileStore manage the transfer of file with the server.
|
|
@@ -2241,12 +2289,7 @@ interface InformationNotification {
|
|
|
2241
2289
|
type: NotificationType;
|
|
2242
2290
|
sticky: boolean;
|
|
2243
2291
|
}
|
|
2244
|
-
interface
|
|
2245
|
-
notifyUser: (notification: InformationNotification) => any;
|
|
2246
|
-
raiseError: (text: string, callback?: () => void) => any;
|
|
2247
|
-
askConfirmation: (content: string, confirm: () => any, cancel?: () => any) => any;
|
|
2248
|
-
}
|
|
2249
|
-
interface SpreadsheetChildEnv extends SpreadsheetEnv {
|
|
2292
|
+
interface SpreadsheetChildEnv extends NotificationStoreMethods {
|
|
2250
2293
|
model: Model;
|
|
2251
2294
|
imageProvider?: ImageProviderInterface;
|
|
2252
2295
|
isDashboard: () => boolean;
|
|
@@ -2687,7 +2730,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
2687
2730
|
*/
|
|
2688
2731
|
declare abstract class AbstractChart {
|
|
2689
2732
|
readonly sheetId: UID;
|
|
2690
|
-
readonly title:
|
|
2733
|
+
readonly title: TitleDesign;
|
|
2691
2734
|
abstract readonly type: ChartType;
|
|
2692
2735
|
protected readonly getters: CoreGetters;
|
|
2693
2736
|
constructor(definition: ChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
@@ -4631,7 +4674,7 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
4631
4674
|
private paintFormatStatus;
|
|
4632
4675
|
private originSheetId?;
|
|
4633
4676
|
private copiedData?;
|
|
4634
|
-
private _isCutOperation
|
|
4677
|
+
private _isCutOperation;
|
|
4635
4678
|
allowDispatch(cmd: LocalCommand): CommandResult;
|
|
4636
4679
|
handle(cmd: Command): void;
|
|
4637
4680
|
private convertOSClipboardData;
|
|
@@ -5351,6 +5394,12 @@ declare function rgbaToHex(rgba: RGBA): Color;
|
|
|
5351
5394
|
* Color string to RGBA representation
|
|
5352
5395
|
*/
|
|
5353
5396
|
declare function colorToRGBA(color: Color): RGBA;
|
|
5397
|
+
declare class ColorGenerator {
|
|
5398
|
+
private currentColorIndex;
|
|
5399
|
+
private colors;
|
|
5400
|
+
constructor(colors?: string[]);
|
|
5401
|
+
next(): string;
|
|
5402
|
+
}
|
|
5354
5403
|
|
|
5355
5404
|
/**
|
|
5356
5405
|
* Convert a (col) number to the corresponding letter.
|
|
@@ -6197,6 +6246,64 @@ interface ChartBuilder {
|
|
|
6197
6246
|
sequence: number;
|
|
6198
6247
|
}
|
|
6199
6248
|
|
|
6249
|
+
interface Props$Z {
|
|
6250
|
+
label?: string;
|
|
6251
|
+
value: boolean;
|
|
6252
|
+
className?: string;
|
|
6253
|
+
name?: string;
|
|
6254
|
+
title?: string;
|
|
6255
|
+
disabled?: boolean;
|
|
6256
|
+
onChange: (value: boolean) => void;
|
|
6257
|
+
}
|
|
6258
|
+
declare class Checkbox extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
6259
|
+
static template: string;
|
|
6260
|
+
static props: {
|
|
6261
|
+
label: {
|
|
6262
|
+
type: StringConstructor;
|
|
6263
|
+
optional: boolean;
|
|
6264
|
+
};
|
|
6265
|
+
value: {
|
|
6266
|
+
type: BooleanConstructor;
|
|
6267
|
+
optional: boolean;
|
|
6268
|
+
};
|
|
6269
|
+
className: {
|
|
6270
|
+
type: StringConstructor;
|
|
6271
|
+
optional: boolean;
|
|
6272
|
+
};
|
|
6273
|
+
name: {
|
|
6274
|
+
type: StringConstructor;
|
|
6275
|
+
optional: boolean;
|
|
6276
|
+
};
|
|
6277
|
+
title: {
|
|
6278
|
+
type: StringConstructor;
|
|
6279
|
+
optional: boolean;
|
|
6280
|
+
};
|
|
6281
|
+
disabled: {
|
|
6282
|
+
type: BooleanConstructor;
|
|
6283
|
+
optional: boolean;
|
|
6284
|
+
};
|
|
6285
|
+
onChange: FunctionConstructor;
|
|
6286
|
+
};
|
|
6287
|
+
static defaultProps: {
|
|
6288
|
+
value: boolean;
|
|
6289
|
+
};
|
|
6290
|
+
onChange(ev: InputEvent): void;
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
interface Props$Y {
|
|
6294
|
+
class?: string;
|
|
6295
|
+
}
|
|
6296
|
+
declare class Section extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
6297
|
+
static template: string;
|
|
6298
|
+
static props: {
|
|
6299
|
+
class: {
|
|
6300
|
+
type: StringConstructor;
|
|
6301
|
+
optional: boolean;
|
|
6302
|
+
};
|
|
6303
|
+
slots: ObjectConstructor;
|
|
6304
|
+
};
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6200
6307
|
declare class SpreadsheetStore extends DisposableStore {
|
|
6201
6308
|
protected model: Model;
|
|
6202
6309
|
protected getters: Getters;
|
|
@@ -6237,6 +6344,7 @@ interface RangeInputValue {
|
|
|
6237
6344
|
declare class SelectionInputStore extends SpreadsheetStore {
|
|
6238
6345
|
private initialRanges;
|
|
6239
6346
|
private readonly inputHasSingleRange;
|
|
6347
|
+
private readonly colors;
|
|
6240
6348
|
mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm"];
|
|
6241
6349
|
ranges: RangeInputValue[];
|
|
6242
6350
|
focusedRangeIndex: number | null;
|
|
@@ -6249,7 +6357,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6249
6357
|
readonly renderingLayers: readonly ["Highlights"];
|
|
6250
6358
|
readonly highlights: Highlight$1[];
|
|
6251
6359
|
};
|
|
6252
|
-
constructor(get: Get, initialRanges?: string[], inputHasSingleRange?: boolean);
|
|
6360
|
+
constructor(get: Get, initialRanges?: string[], inputHasSingleRange?: boolean, colors?: Color[]);
|
|
6253
6361
|
handleEvent(event: SelectionEvent): void;
|
|
6254
6362
|
handle(cmd: Command): void;
|
|
6255
6363
|
changeRange(rangeId: number, value: string): void;
|
|
@@ -6321,6 +6429,7 @@ interface Props$X {
|
|
|
6321
6429
|
class?: string;
|
|
6322
6430
|
onSelectionChanged?: (ranges: string[]) => void;
|
|
6323
6431
|
onSelectionConfirmed?: () => void;
|
|
6432
|
+
colors?: Color[];
|
|
6324
6433
|
}
|
|
6325
6434
|
interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
6326
6435
|
isFocused: boolean;
|
|
@@ -6363,6 +6472,11 @@ declare class SelectionInput extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
6363
6472
|
type: FunctionConstructor;
|
|
6364
6473
|
optional: boolean;
|
|
6365
6474
|
};
|
|
6475
|
+
colors: {
|
|
6476
|
+
type: ArrayConstructor;
|
|
6477
|
+
optional: boolean;
|
|
6478
|
+
default: never[];
|
|
6479
|
+
};
|
|
6366
6480
|
};
|
|
6367
6481
|
private state;
|
|
6368
6482
|
private focusedInput;
|
|
@@ -6386,83 +6500,12 @@ declare class SelectionInput extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
6386
6500
|
}
|
|
6387
6501
|
|
|
6388
6502
|
interface Props$W {
|
|
6389
|
-
|
|
6390
|
-
msgType: "warning" | "error";
|
|
6391
|
-
}
|
|
6392
|
-
declare class ValidationMessages extends Component<Props$W, SpreadsheetChildEnv> {
|
|
6393
|
-
static template: string;
|
|
6394
|
-
static props: {
|
|
6395
|
-
messages: ArrayConstructor;
|
|
6396
|
-
msgType: StringConstructor;
|
|
6397
|
-
};
|
|
6398
|
-
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
6399
|
-
}
|
|
6400
|
-
|
|
6401
|
-
interface Props$V {
|
|
6402
|
-
label?: string;
|
|
6403
|
-
value: boolean;
|
|
6404
|
-
className?: string;
|
|
6405
|
-
name?: string;
|
|
6406
|
-
title?: string;
|
|
6407
|
-
disabled?: boolean;
|
|
6408
|
-
onChange: (value: boolean) => void;
|
|
6409
|
-
}
|
|
6410
|
-
declare class Checkbox extends Component<Props$V, SpreadsheetChildEnv> {
|
|
6411
|
-
static template: string;
|
|
6412
|
-
static props: {
|
|
6413
|
-
label: {
|
|
6414
|
-
type: StringConstructor;
|
|
6415
|
-
optional: boolean;
|
|
6416
|
-
};
|
|
6417
|
-
value: {
|
|
6418
|
-
type: BooleanConstructor;
|
|
6419
|
-
optional: boolean;
|
|
6420
|
-
};
|
|
6421
|
-
className: {
|
|
6422
|
-
type: StringConstructor;
|
|
6423
|
-
optional: boolean;
|
|
6424
|
-
};
|
|
6425
|
-
name: {
|
|
6426
|
-
type: StringConstructor;
|
|
6427
|
-
optional: boolean;
|
|
6428
|
-
};
|
|
6429
|
-
title: {
|
|
6430
|
-
type: StringConstructor;
|
|
6431
|
-
optional: boolean;
|
|
6432
|
-
};
|
|
6433
|
-
disabled: {
|
|
6434
|
-
type: BooleanConstructor;
|
|
6435
|
-
optional: boolean;
|
|
6436
|
-
};
|
|
6437
|
-
onChange: FunctionConstructor;
|
|
6438
|
-
};
|
|
6439
|
-
static defaultProps: {
|
|
6440
|
-
value: boolean;
|
|
6441
|
-
};
|
|
6442
|
-
onChange(ev: InputEvent): void;
|
|
6443
|
-
}
|
|
6444
|
-
|
|
6445
|
-
interface Props$U {
|
|
6446
|
-
class?: string;
|
|
6447
|
-
}
|
|
6448
|
-
declare class Section extends Component<Props$U, SpreadsheetChildEnv> {
|
|
6449
|
-
static template: string;
|
|
6450
|
-
static props: {
|
|
6451
|
-
class: {
|
|
6452
|
-
type: StringConstructor;
|
|
6453
|
-
optional: boolean;
|
|
6454
|
-
};
|
|
6455
|
-
slots: ObjectConstructor;
|
|
6456
|
-
};
|
|
6457
|
-
}
|
|
6458
|
-
|
|
6459
|
-
interface Props$T {
|
|
6460
|
-
ranges: string[];
|
|
6503
|
+
ranges: CustomizedDataSet[];
|
|
6461
6504
|
hasSingleRange?: boolean;
|
|
6462
6505
|
onSelectionChanged: (ranges: string[]) => void;
|
|
6463
6506
|
onSelectionConfirmed: () => void;
|
|
6464
6507
|
}
|
|
6465
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6508
|
+
declare class ChartDataSeries extends Component<Props$W, SpreadsheetChildEnv> {
|
|
6466
6509
|
static template: string;
|
|
6467
6510
|
static components: {
|
|
6468
6511
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6477,13 +6520,28 @@ declare class ChartDataSeries extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
6477
6520
|
onSelectionChanged: FunctionConstructor;
|
|
6478
6521
|
onSelectionConfirmed: FunctionConstructor;
|
|
6479
6522
|
};
|
|
6523
|
+
get ranges(): string[];
|
|
6524
|
+
get colors(): (Color | undefined)[];
|
|
6480
6525
|
get title(): string;
|
|
6481
6526
|
}
|
|
6482
6527
|
|
|
6483
|
-
interface Props$
|
|
6528
|
+
interface Props$V {
|
|
6484
6529
|
messages: string[];
|
|
6530
|
+
msgType: "warning" | "error";
|
|
6485
6531
|
}
|
|
6486
|
-
declare class
|
|
6532
|
+
declare class ValidationMessages extends Component<Props$V, SpreadsheetChildEnv> {
|
|
6533
|
+
static template: string;
|
|
6534
|
+
static props: {
|
|
6535
|
+
messages: ArrayConstructor;
|
|
6536
|
+
msgType: StringConstructor;
|
|
6537
|
+
};
|
|
6538
|
+
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6541
|
+
interface Props$U {
|
|
6542
|
+
messages: string[];
|
|
6543
|
+
}
|
|
6544
|
+
declare class ChartErrorSection extends Component<Props$U, SpreadsheetChildEnv> {
|
|
6487
6545
|
static template: string;
|
|
6488
6546
|
static components: {
|
|
6489
6547
|
Section: typeof Section;
|
|
@@ -6497,7 +6555,7 @@ declare class ChartErrorSection extends Component<Props$S, SpreadsheetChildEnv>
|
|
|
6497
6555
|
};
|
|
6498
6556
|
}
|
|
6499
6557
|
|
|
6500
|
-
interface Props$
|
|
6558
|
+
interface Props$T {
|
|
6501
6559
|
title?: string;
|
|
6502
6560
|
range: string;
|
|
6503
6561
|
isInvalid: boolean;
|
|
@@ -6511,7 +6569,7 @@ interface Props$R {
|
|
|
6511
6569
|
onChange: (value: boolean) => void;
|
|
6512
6570
|
}>;
|
|
6513
6571
|
}
|
|
6514
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6572
|
+
declare class ChartLabelRange extends Component<Props$T, SpreadsheetChildEnv> {
|
|
6515
6573
|
static template: string;
|
|
6516
6574
|
static components: {
|
|
6517
6575
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6536,20 +6594,18 @@ declare class ChartLabelRange extends Component<Props$R, SpreadsheetChildEnv> {
|
|
|
6536
6594
|
optional: boolean;
|
|
6537
6595
|
};
|
|
6538
6596
|
};
|
|
6539
|
-
static defaultProps: Partial<Props$
|
|
6597
|
+
static defaultProps: Partial<Props$T>;
|
|
6540
6598
|
}
|
|
6541
6599
|
|
|
6542
|
-
interface Props$
|
|
6600
|
+
interface Props$S {
|
|
6543
6601
|
figureId: UID;
|
|
6544
6602
|
definition: ChartWithAxisDefinition;
|
|
6545
6603
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6546
6604
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6547
6605
|
}
|
|
6548
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
6606
|
+
declare class GenericChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
6549
6607
|
static template: string;
|
|
6550
6608
|
static components: {
|
|
6551
|
-
SelectionInput: typeof SelectionInput;
|
|
6552
|
-
ValidationMessages: typeof ValidationMessages;
|
|
6553
6609
|
ChartDataSeries: typeof ChartDataSeries;
|
|
6554
6610
|
ChartLabelRange: typeof ChartLabelRange;
|
|
6555
6611
|
Section: typeof Section;
|
|
@@ -6583,7 +6639,7 @@ declare class GenericChartConfigPanel extends Component<Props$Q, SpreadsheetChil
|
|
|
6583
6639
|
*/
|
|
6584
6640
|
onDataSeriesRangesChanged(ranges: string[]): void;
|
|
6585
6641
|
onDataSeriesConfirmed(): void;
|
|
6586
|
-
getDataSeriesRanges():
|
|
6642
|
+
getDataSeriesRanges(): CustomizedDataSet[];
|
|
6587
6643
|
/**
|
|
6588
6644
|
* Change the local labelRange. The model should be updated when the
|
|
6589
6645
|
* button "confirm" is clicked
|
|
@@ -6602,6 +6658,22 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
6602
6658
|
onUpdateAggregated(aggregated: boolean): void;
|
|
6603
6659
|
}
|
|
6604
6660
|
|
|
6661
|
+
declare class SidePanelCollapsible extends Component {
|
|
6662
|
+
static template: string;
|
|
6663
|
+
static props: {
|
|
6664
|
+
slots: ObjectConstructor;
|
|
6665
|
+
collapsedAtInit: {
|
|
6666
|
+
type: BooleanConstructor;
|
|
6667
|
+
optional: boolean;
|
|
6668
|
+
};
|
|
6669
|
+
class: {
|
|
6670
|
+
type: StringConstructor;
|
|
6671
|
+
optional: boolean;
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6674
|
+
currentId: string;
|
|
6675
|
+
}
|
|
6676
|
+
|
|
6605
6677
|
declare enum ComponentsImportance {
|
|
6606
6678
|
Grid = 0,
|
|
6607
6679
|
Highlight = 5,
|
|
@@ -6745,7 +6817,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6745
6817
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6746
6818
|
}
|
|
6747
6819
|
|
|
6748
|
-
interface Props$
|
|
6820
|
+
interface Props$R {
|
|
6749
6821
|
currentColor: string | undefined;
|
|
6750
6822
|
toggleColorPicker: () => void;
|
|
6751
6823
|
showColorPicker: boolean;
|
|
@@ -6756,7 +6828,7 @@ interface Props$P {
|
|
|
6756
6828
|
dropdownMaxHeight?: Pixel;
|
|
6757
6829
|
class?: string;
|
|
6758
6830
|
}
|
|
6759
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
6831
|
+
declare class ColorPickerWidget extends Component<Props$R, SpreadsheetChildEnv> {
|
|
6760
6832
|
static template: string;
|
|
6761
6833
|
static props: {
|
|
6762
6834
|
currentColor: {
|
|
@@ -6794,12 +6866,12 @@ declare class ColorPickerWidget extends Component<Props$P, SpreadsheetChildEnv>
|
|
|
6794
6866
|
get colorPickerAnchorRect(): Rect;
|
|
6795
6867
|
}
|
|
6796
6868
|
|
|
6797
|
-
interface Props$
|
|
6869
|
+
interface Props$Q {
|
|
6798
6870
|
currentColor?: string;
|
|
6799
6871
|
onColorPicked: (color: string) => void;
|
|
6800
6872
|
title?: string;
|
|
6801
6873
|
}
|
|
6802
|
-
declare class RoundColorPicker extends Component<Props$
|
|
6874
|
+
declare class RoundColorPicker extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
6803
6875
|
static template: string;
|
|
6804
6876
|
static components: {
|
|
6805
6877
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -6829,46 +6901,159 @@ declare class RoundColorPicker extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
6829
6901
|
get buttonStyle(): string;
|
|
6830
6902
|
}
|
|
6831
6903
|
|
|
6832
|
-
interface Props$
|
|
6904
|
+
interface Props$P {
|
|
6833
6905
|
title: string;
|
|
6834
|
-
|
|
6906
|
+
updateTitle: (title: string) => void;
|
|
6907
|
+
name?: string;
|
|
6908
|
+
toggleItalic?: () => void;
|
|
6909
|
+
toggleBold?: () => void;
|
|
6910
|
+
updateAlignment?: (string: any) => void;
|
|
6911
|
+
updateColor?: (Color: any) => void;
|
|
6912
|
+
style: TitleDesign;
|
|
6835
6913
|
}
|
|
6836
|
-
declare class ChartTitle extends Component<Props$
|
|
6914
|
+
declare class ChartTitle extends Component<Props$P, SpreadsheetChildEnv> {
|
|
6837
6915
|
static template: string;
|
|
6838
6916
|
static components: {
|
|
6839
6917
|
Section: typeof Section;
|
|
6918
|
+
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6840
6919
|
};
|
|
6841
6920
|
static props: {
|
|
6842
6921
|
title: StringConstructor;
|
|
6843
|
-
|
|
6922
|
+
updateTitle: FunctionConstructor;
|
|
6923
|
+
name: {
|
|
6924
|
+
type: StringConstructor;
|
|
6925
|
+
optional: boolean;
|
|
6926
|
+
};
|
|
6927
|
+
toggleItalic: {
|
|
6928
|
+
type: FunctionConstructor;
|
|
6929
|
+
optional: boolean;
|
|
6930
|
+
};
|
|
6931
|
+
toggleBold: {
|
|
6932
|
+
type: FunctionConstructor;
|
|
6933
|
+
optional: boolean;
|
|
6934
|
+
};
|
|
6935
|
+
updateAlignment: {
|
|
6936
|
+
type: FunctionConstructor;
|
|
6937
|
+
optional: boolean;
|
|
6938
|
+
};
|
|
6939
|
+
updateColor: {
|
|
6940
|
+
type: FunctionConstructor;
|
|
6941
|
+
optional: boolean;
|
|
6942
|
+
};
|
|
6943
|
+
style: {
|
|
6944
|
+
type: ObjectConstructor;
|
|
6945
|
+
optional: boolean;
|
|
6946
|
+
};
|
|
6947
|
+
};
|
|
6948
|
+
openedEl: HTMLElement | null;
|
|
6949
|
+
setup(): void;
|
|
6950
|
+
state: {
|
|
6951
|
+
activeTool: string;
|
|
6844
6952
|
};
|
|
6845
6953
|
updateTitle(ev: InputEvent): void;
|
|
6954
|
+
toggleDropdownTool(tool: string, ev: MouseEvent): void;
|
|
6955
|
+
/**
|
|
6956
|
+
* TODO: This is clearly not a goot way to handle external click, but
|
|
6957
|
+
* we currently have no other way to do it ... Should be done in
|
|
6958
|
+
* another task to handle the fact we want only one menu opened at a
|
|
6959
|
+
* time with something like a menuStore ?
|
|
6960
|
+
*/
|
|
6961
|
+
onExternalClick(ev: MouseEvent): void;
|
|
6962
|
+
onColorPicked(color: Color): void;
|
|
6963
|
+
updateAlignment(aligment: "left" | "center" | "right"): void;
|
|
6964
|
+
closeMenus(): void;
|
|
6846
6965
|
}
|
|
6847
6966
|
|
|
6848
|
-
interface
|
|
6967
|
+
interface AxisDefinition {
|
|
6968
|
+
id: string;
|
|
6969
|
+
name: string;
|
|
6970
|
+
}
|
|
6971
|
+
interface Props$O {
|
|
6849
6972
|
figureId: UID;
|
|
6850
|
-
definition: ChartWithAxisDefinition;
|
|
6851
|
-
|
|
6852
|
-
|
|
6973
|
+
definition: ChartWithAxisDefinition | WaterfallChartDefinition;
|
|
6974
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
6975
|
+
axesList: AxisDefinition[];
|
|
6976
|
+
}
|
|
6977
|
+
declare class AxisDesignEditor extends Component<Props$O, SpreadsheetChildEnv> {
|
|
6978
|
+
static template: string;
|
|
6979
|
+
static components: {
|
|
6980
|
+
Section: typeof Section;
|
|
6981
|
+
ChartTitle: typeof ChartTitle;
|
|
6982
|
+
};
|
|
6983
|
+
state: {
|
|
6984
|
+
currentAxis: string;
|
|
6985
|
+
};
|
|
6986
|
+
get axisTitleStyle(): TitleDesign;
|
|
6987
|
+
updateAxisTitleColor(color: Color): void;
|
|
6988
|
+
toggleBoldAxisTitle(): void;
|
|
6989
|
+
toggleItalicAxisTitle(): void;
|
|
6990
|
+
updateAxisTitleAlignment(align: "left" | "center" | "right"): void;
|
|
6991
|
+
updateAxisEditor(ev: any): void;
|
|
6992
|
+
getAxisTitle(): any;
|
|
6993
|
+
updateAxisTitle(text: string): void;
|
|
6853
6994
|
}
|
|
6854
|
-
|
|
6995
|
+
|
|
6996
|
+
interface Props$N {
|
|
6997
|
+
figureId: UID;
|
|
6998
|
+
definition: ChartDefinition;
|
|
6999
|
+
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7000
|
+
}
|
|
7001
|
+
declare class GeneralDesignEditor extends Component<Props$N, SpreadsheetChildEnv> {
|
|
6855
7002
|
static template: string;
|
|
6856
7003
|
static components: {
|
|
6857
7004
|
RoundColorPicker: typeof RoundColorPicker;
|
|
6858
7005
|
ChartTitle: typeof ChartTitle;
|
|
6859
7006
|
Section: typeof Section;
|
|
7007
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
6860
7008
|
};
|
|
6861
7009
|
static props: {
|
|
6862
7010
|
figureId: StringConstructor;
|
|
6863
7011
|
definition: ObjectConstructor;
|
|
6864
7012
|
updateChart: FunctionConstructor;
|
|
6865
|
-
|
|
7013
|
+
slots: {
|
|
7014
|
+
type: ObjectConstructor;
|
|
7015
|
+
optional: boolean;
|
|
7016
|
+
};
|
|
6866
7017
|
};
|
|
6867
|
-
|
|
7018
|
+
private state;
|
|
7019
|
+
setup(): void;
|
|
7020
|
+
get title(): TitleDesign;
|
|
7021
|
+
toggleDropdownTool(tool: string, ev: MouseEvent): void;
|
|
6868
7022
|
updateBackgroundColor(color: Color): void;
|
|
6869
|
-
updateTitle(
|
|
6870
|
-
|
|
6871
|
-
|
|
7023
|
+
updateTitle(newTitle: string): void;
|
|
7024
|
+
get titleStyle(): TitleDesign;
|
|
7025
|
+
updateChartTitleColor(color: Color): void;
|
|
7026
|
+
toggleBoldChartTitle(): void;
|
|
7027
|
+
toggleItalicChartTitle(): void;
|
|
7028
|
+
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7029
|
+
}
|
|
7030
|
+
|
|
7031
|
+
interface Props$M {
|
|
7032
|
+
figureId: UID;
|
|
7033
|
+
definition: ChartWithAxisDefinition;
|
|
7034
|
+
canUpdateChart: (figureID: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7035
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7036
|
+
}
|
|
7037
|
+
declare class ChartWithAxisDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
|
|
7038
|
+
static template: string;
|
|
7039
|
+
static components: {
|
|
7040
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
7041
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
7042
|
+
Section: typeof Section;
|
|
7043
|
+
AxisDesignEditor: typeof AxisDesignEditor;
|
|
7044
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
7045
|
+
};
|
|
7046
|
+
private state;
|
|
7047
|
+
get axesList(): AxisDefinition[];
|
|
7048
|
+
updateLegendPosition(ev: any): void;
|
|
7049
|
+
getDataSeries(): (string | undefined)[];
|
|
7050
|
+
updateSerieEditor(ev: any): void;
|
|
7051
|
+
updateDataSeriesColor(color: string): void;
|
|
7052
|
+
getDataSerieColor(): "" | Color;
|
|
7053
|
+
updateDataSeriesAxis(ev: any): void;
|
|
7054
|
+
getDataSerieAxis(): "left" | "right";
|
|
7055
|
+
updateDataSeriesLabel(ev: any): void;
|
|
7056
|
+
getDataSerieLabel(): string | undefined;
|
|
6872
7057
|
}
|
|
6873
7058
|
|
|
6874
7059
|
interface Props$L {
|
|
@@ -6895,34 +7080,42 @@ declare class GaugeChartConfigPanel extends Component<Props$L, SpreadsheetChildE
|
|
|
6895
7080
|
get isDataRangeInvalid(): boolean;
|
|
6896
7081
|
onDataRangeChanged(ranges: string[]): void;
|
|
6897
7082
|
updateDataRange(): void;
|
|
6898
|
-
getDataRange():
|
|
7083
|
+
getDataRange(): CustomizedDataSet;
|
|
6899
7084
|
}
|
|
6900
7085
|
|
|
7086
|
+
interface PanelState {
|
|
7087
|
+
sectionRuleDispatchResult?: DispatchResult;
|
|
7088
|
+
sectionRule: SectionRule;
|
|
7089
|
+
}
|
|
6901
7090
|
interface Props$K {
|
|
6902
7091
|
figureId: UID;
|
|
6903
7092
|
definition: GaugeChartDefinition;
|
|
6904
|
-
canUpdateChart: (
|
|
7093
|
+
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6905
7094
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6906
7095
|
}
|
|
6907
7096
|
declare class GaugeChartDesignPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
6908
7097
|
static template: string;
|
|
6909
7098
|
static components: {
|
|
6910
|
-
|
|
6911
|
-
RoundColorPicker: typeof RoundColorPicker;
|
|
6912
|
-
ChartTitle: typeof ChartTitle;
|
|
7099
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
6913
7100
|
Section: typeof Section;
|
|
7101
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
7102
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
7103
|
+
ChartErrorSection: typeof ChartErrorSection;
|
|
6914
7104
|
};
|
|
6915
7105
|
static props: {
|
|
6916
7106
|
figureId: StringConstructor;
|
|
6917
7107
|
definition: ObjectConstructor;
|
|
6918
7108
|
updateChart: FunctionConstructor;
|
|
6919
|
-
canUpdateChart:
|
|
7109
|
+
canUpdateChart: {
|
|
7110
|
+
type: FunctionConstructor;
|
|
7111
|
+
optional: boolean;
|
|
7112
|
+
};
|
|
6920
7113
|
};
|
|
6921
|
-
|
|
6922
|
-
|
|
7114
|
+
protected state: PanelState;
|
|
7115
|
+
setup(): void;
|
|
6923
7116
|
get designErrorMessages(): string[];
|
|
6924
7117
|
updateBackgroundColor(color: Color): void;
|
|
6925
|
-
updateTitle(
|
|
7118
|
+
updateTitle(content: string): void;
|
|
6926
7119
|
isRangeMinInvalid(): boolean;
|
|
6927
7120
|
isRangeMaxInvalid(): boolean;
|
|
6928
7121
|
get isLowerInflectionPointInvalid(): boolean;
|
|
@@ -6988,14 +7181,15 @@ type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baseli
|
|
|
6988
7181
|
interface Props$I {
|
|
6989
7182
|
figureId: UID;
|
|
6990
7183
|
definition: ScorecardChartDefinition;
|
|
6991
|
-
canUpdateChart: (
|
|
7184
|
+
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6992
7185
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6993
7186
|
}
|
|
6994
7187
|
declare class ScorecardChartDesignPanel extends Component<Props$I, SpreadsheetChildEnv> {
|
|
6995
7188
|
static template: string;
|
|
6996
7189
|
static components: {
|
|
7190
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
6997
7191
|
RoundColorPicker: typeof RoundColorPicker;
|
|
6998
|
-
|
|
7192
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
6999
7193
|
Section: typeof Section;
|
|
7000
7194
|
Checkbox: typeof Checkbox;
|
|
7001
7195
|
};
|
|
@@ -7003,12 +7197,14 @@ declare class ScorecardChartDesignPanel extends Component<Props$I, SpreadsheetCh
|
|
|
7003
7197
|
figureId: StringConstructor;
|
|
7004
7198
|
definition: ObjectConstructor;
|
|
7005
7199
|
updateChart: FunctionConstructor;
|
|
7006
|
-
canUpdateChart:
|
|
7200
|
+
canUpdateChart: {
|
|
7201
|
+
type: FunctionConstructor;
|
|
7202
|
+
optional: boolean;
|
|
7203
|
+
};
|
|
7007
7204
|
};
|
|
7008
|
-
get title(): string;
|
|
7009
7205
|
get colorsSectionTitle(): string;
|
|
7010
7206
|
get humanizeNumbersLabel(): string;
|
|
7011
|
-
updateTitle(
|
|
7207
|
+
updateTitle(content: string): void;
|
|
7012
7208
|
updateHumanizeNumbers(humanize: boolean): void;
|
|
7013
7209
|
translate(term: any): string;
|
|
7014
7210
|
updateBaselineDescr(ev: any): void;
|
|
@@ -8072,14 +8268,9 @@ declare class FilterIcon extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
8072
8268
|
get iconClass(): string;
|
|
8073
8269
|
}
|
|
8074
8270
|
|
|
8075
|
-
|
|
8076
|
-
onMouseDown: (ev: MouseEvent) => void;
|
|
8077
|
-
}
|
|
8078
|
-
declare class FilterIconsOverlay extends Component<Props$u, SpreadsheetChildEnv> {
|
|
8271
|
+
declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
8079
8272
|
static template: string;
|
|
8080
|
-
static props: {
|
|
8081
|
-
onMouseDown: FunctionConstructor;
|
|
8082
|
-
};
|
|
8273
|
+
static props: {};
|
|
8083
8274
|
static components: {
|
|
8084
8275
|
GridCellIcon: typeof GridCellIcon;
|
|
8085
8276
|
FilterIcon: typeof FilterIcon;
|
|
@@ -8087,10 +8278,10 @@ declare class FilterIconsOverlay extends Component<Props$u, SpreadsheetChildEnv>
|
|
|
8087
8278
|
getFilterHeadersPositions(): CellPosition[];
|
|
8088
8279
|
}
|
|
8089
8280
|
|
|
8090
|
-
interface Props$
|
|
8281
|
+
interface Props$u {
|
|
8091
8282
|
focusGrid: () => void;
|
|
8092
8283
|
}
|
|
8093
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
8284
|
+
declare class GridAddRowsFooter extends Component<Props$u, SpreadsheetChildEnv> {
|
|
8094
8285
|
static template: string;
|
|
8095
8286
|
static props: {
|
|
8096
8287
|
focusGrid: FunctionConstructor;
|
|
@@ -8114,7 +8305,7 @@ declare class GridAddRowsFooter extends Component<Props$t, SpreadsheetChildEnv>
|
|
|
8114
8305
|
private onExternalClick;
|
|
8115
8306
|
}
|
|
8116
8307
|
|
|
8117
|
-
interface Props$
|
|
8308
|
+
interface Props$t {
|
|
8118
8309
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
8119
8310
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
8120
8311
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -8124,7 +8315,7 @@ interface Props$s {
|
|
|
8124
8315
|
gridOverlayDimensions: string;
|
|
8125
8316
|
onFigureDeleted: () => void;
|
|
8126
8317
|
}
|
|
8127
|
-
declare class GridOverlay extends Component<Props$
|
|
8318
|
+
declare class GridOverlay extends Component<Props$t, SpreadsheetChildEnv> {
|
|
8128
8319
|
static template: string;
|
|
8129
8320
|
static props: {
|
|
8130
8321
|
onCellHovered: {
|
|
@@ -8170,24 +8361,23 @@ declare class GridOverlay extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
8170
8361
|
};
|
|
8171
8362
|
private gridOverlay;
|
|
8172
8363
|
private gridOverlayRect;
|
|
8364
|
+
private cellPopovers;
|
|
8173
8365
|
setup(): void;
|
|
8174
8366
|
get gridOverlayEl(): HTMLElement;
|
|
8175
8367
|
get style(): string;
|
|
8176
8368
|
get isPaintingFormat(): boolean;
|
|
8177
|
-
onMouseDown(ev: MouseEvent
|
|
8178
|
-
closePopover: boolean;
|
|
8179
|
-
}): void;
|
|
8369
|
+
onMouseDown(ev: MouseEvent): void;
|
|
8180
8370
|
onDoubleClick(ev: MouseEvent): void;
|
|
8181
8371
|
onContextMenu(ev: MouseEvent): void;
|
|
8182
8372
|
private getCartesianCoordinates;
|
|
8183
8373
|
}
|
|
8184
8374
|
|
|
8185
|
-
interface Props$
|
|
8375
|
+
interface Props$s {
|
|
8186
8376
|
gridRect: Rect;
|
|
8187
8377
|
onClosePopover: () => void;
|
|
8188
8378
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
8189
8379
|
}
|
|
8190
|
-
declare class GridPopover extends Component<Props$
|
|
8380
|
+
declare class GridPopover extends Component<Props$s, SpreadsheetChildEnv> {
|
|
8191
8381
|
static template: string;
|
|
8192
8382
|
static props: {
|
|
8193
8383
|
onClosePopover: FunctionConstructor;
|
|
@@ -8330,13 +8520,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
8330
8520
|
}
|
|
8331
8521
|
|
|
8332
8522
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
8333
|
-
interface Props$
|
|
8523
|
+
interface Props$r {
|
|
8334
8524
|
zone: Zone;
|
|
8335
8525
|
orientation: Orientation$1;
|
|
8336
8526
|
isMoving: boolean;
|
|
8337
8527
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
8338
8528
|
}
|
|
8339
|
-
declare class Border extends Component<Props$
|
|
8529
|
+
declare class Border extends Component<Props$r, SpreadsheetChildEnv> {
|
|
8340
8530
|
static template: string;
|
|
8341
8531
|
static props: {
|
|
8342
8532
|
zone: ObjectConstructor;
|
|
@@ -8349,14 +8539,14 @@ declare class Border extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
8349
8539
|
}
|
|
8350
8540
|
|
|
8351
8541
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
8352
|
-
interface Props$
|
|
8542
|
+
interface Props$q {
|
|
8353
8543
|
zone: Zone;
|
|
8354
8544
|
color: Color;
|
|
8355
8545
|
orientation: Orientation;
|
|
8356
8546
|
isResizing: boolean;
|
|
8357
8547
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
8358
8548
|
}
|
|
8359
|
-
declare class Corner extends Component<Props$
|
|
8549
|
+
declare class Corner extends Component<Props$q, SpreadsheetChildEnv> {
|
|
8360
8550
|
static template: string;
|
|
8361
8551
|
static props: {
|
|
8362
8552
|
zone: ObjectConstructor;
|
|
@@ -8371,14 +8561,14 @@ declare class Corner extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
8371
8561
|
onMouseDown(ev: MouseEvent): void;
|
|
8372
8562
|
}
|
|
8373
8563
|
|
|
8374
|
-
interface Props$
|
|
8564
|
+
interface Props$p {
|
|
8375
8565
|
zone: Zone;
|
|
8376
8566
|
color: Color;
|
|
8377
8567
|
}
|
|
8378
8568
|
interface HighlightState {
|
|
8379
8569
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
8380
8570
|
}
|
|
8381
|
-
declare class Highlight extends Component<Props$
|
|
8571
|
+
declare class Highlight extends Component<Props$p, SpreadsheetChildEnv> {
|
|
8382
8572
|
static template: string;
|
|
8383
8573
|
static props: {
|
|
8384
8574
|
zone: ObjectConstructor;
|
|
@@ -8395,7 +8585,7 @@ declare class Highlight extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
8395
8585
|
|
|
8396
8586
|
type ScrollDirection = "horizontal" | "vertical";
|
|
8397
8587
|
|
|
8398
|
-
interface Props$
|
|
8588
|
+
interface Props$o {
|
|
8399
8589
|
width: Pixel;
|
|
8400
8590
|
height: Pixel;
|
|
8401
8591
|
direction: ScrollDirection;
|
|
@@ -8403,7 +8593,7 @@ interface Props$n {
|
|
|
8403
8593
|
offset: Pixel;
|
|
8404
8594
|
onScroll: (offset: Pixel) => void;
|
|
8405
8595
|
}
|
|
8406
|
-
declare class ScrollBar extends Component<Props$
|
|
8596
|
+
declare class ScrollBar extends Component<Props$o> {
|
|
8407
8597
|
static props: {
|
|
8408
8598
|
width: {
|
|
8409
8599
|
type: NumberConstructor;
|
|
@@ -8431,10 +8621,10 @@ declare class ScrollBar extends Component<Props$n> {
|
|
|
8431
8621
|
onScroll(ev: any): void;
|
|
8432
8622
|
}
|
|
8433
8623
|
|
|
8434
|
-
interface Props$
|
|
8624
|
+
interface Props$n {
|
|
8435
8625
|
leftOffset: number;
|
|
8436
8626
|
}
|
|
8437
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
8627
|
+
declare class HorizontalScrollBar extends Component<Props$n, SpreadsheetChildEnv> {
|
|
8438
8628
|
static props: {
|
|
8439
8629
|
leftOffset: {
|
|
8440
8630
|
type: NumberConstructor;
|
|
@@ -8460,10 +8650,10 @@ declare class HorizontalScrollBar extends Component<Props$m, SpreadsheetChildEnv
|
|
|
8460
8650
|
onScroll(offset: any): void;
|
|
8461
8651
|
}
|
|
8462
8652
|
|
|
8463
|
-
interface Props$
|
|
8653
|
+
interface Props$m {
|
|
8464
8654
|
topOffset: number;
|
|
8465
8655
|
}
|
|
8466
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
8656
|
+
declare class VerticalScrollBar extends Component<Props$m, SpreadsheetChildEnv> {
|
|
8467
8657
|
static props: {
|
|
8468
8658
|
topOffset: {
|
|
8469
8659
|
type: NumberConstructor;
|
|
@@ -8489,13 +8679,13 @@ declare class VerticalScrollBar extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
8489
8679
|
onScroll(offset: any): void;
|
|
8490
8680
|
}
|
|
8491
8681
|
|
|
8492
|
-
interface Props$
|
|
8682
|
+
interface Props$l {
|
|
8493
8683
|
table: Table;
|
|
8494
8684
|
}
|
|
8495
8685
|
interface State$7 {
|
|
8496
8686
|
highlightZone: Zone | undefined;
|
|
8497
8687
|
}
|
|
8498
|
-
declare class TableResizer extends Component<Props$
|
|
8688
|
+
declare class TableResizer extends Component<Props$l, SpreadsheetChildEnv> {
|
|
8499
8689
|
static template: string;
|
|
8500
8690
|
static props: {
|
|
8501
8691
|
table: ObjectConstructor;
|
|
@@ -8527,10 +8717,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
8527
8717
|
* - a vertical resizer (same, for rows)
|
|
8528
8718
|
*/
|
|
8529
8719
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
8530
|
-
interface Props$
|
|
8720
|
+
interface Props$k {
|
|
8531
8721
|
exposeFocus: (focus: () => void) => void;
|
|
8532
8722
|
}
|
|
8533
|
-
declare class Grid extends Component<Props$
|
|
8723
|
+
declare class Grid extends Component<Props$k, SpreadsheetChildEnv> {
|
|
8534
8724
|
static template: string;
|
|
8535
8725
|
static props: {
|
|
8536
8726
|
exposeFocus: FunctionConstructor;
|
|
@@ -8639,11 +8829,11 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
8639
8829
|
changeChartType(figureId: UID, type: ChartType): void;
|
|
8640
8830
|
}
|
|
8641
8831
|
|
|
8642
|
-
interface Props$
|
|
8832
|
+
interface Props$j {
|
|
8643
8833
|
onCloseSidePanel: () => void;
|
|
8644
8834
|
figureId: UID;
|
|
8645
8835
|
}
|
|
8646
|
-
declare class ChartPanel extends Component<Props$
|
|
8836
|
+
declare class ChartPanel extends Component<Props$j, SpreadsheetChildEnv> {
|
|
8647
8837
|
static template: string;
|
|
8648
8838
|
static components: {
|
|
8649
8839
|
Section: typeof Section;
|
|
@@ -8663,6 +8853,30 @@ declare class ChartPanel extends Component<Props$i, SpreadsheetChildEnv> {
|
|
|
8663
8853
|
get chartTypes(): Record<string, string>;
|
|
8664
8854
|
}
|
|
8665
8855
|
|
|
8856
|
+
interface Props$i {
|
|
8857
|
+
figureId: UID;
|
|
8858
|
+
definition: PieChartDefinition;
|
|
8859
|
+
canUpdateChart: (figureID: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
8860
|
+
updateChart: (figureId: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
8861
|
+
}
|
|
8862
|
+
declare class PieChartDesignPanel extends Component<Props$i, SpreadsheetChildEnv> {
|
|
8863
|
+
static template: string;
|
|
8864
|
+
static components: {
|
|
8865
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
8866
|
+
Section: typeof Section;
|
|
8867
|
+
};
|
|
8868
|
+
static props: {
|
|
8869
|
+
figureId: StringConstructor;
|
|
8870
|
+
definition: ObjectConstructor;
|
|
8871
|
+
updateChart: FunctionConstructor;
|
|
8872
|
+
canUpdateChart: {
|
|
8873
|
+
type: FunctionConstructor;
|
|
8874
|
+
optional: boolean;
|
|
8875
|
+
};
|
|
8876
|
+
};
|
|
8877
|
+
updateLegendPosition(ev: any): void;
|
|
8878
|
+
}
|
|
8879
|
+
|
|
8666
8880
|
declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightProvider {
|
|
8667
8881
|
mutators: readonly ["updateSearchOptions", "updateSearchContent", "searchFormulas", "selectPreviousMatch", "selectNextMatch", "replace"];
|
|
8668
8882
|
private allSheetsMatches;
|
|
@@ -8949,7 +9163,7 @@ declare class PivotLayoutConfigurator extends Component<Props$c, SpreadsheetChil
|
|
|
8949
9163
|
|
|
8950
9164
|
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
8951
9165
|
private pivotId;
|
|
8952
|
-
mutators: readonly ["applyUpdate", "renamePivot", "update"];
|
|
9166
|
+
mutators: readonly ["reset", "deferUpdates", "applyUpdate", "discardPendingUpdate", "renamePivot", "update"];
|
|
8953
9167
|
private updatesAreDeferred;
|
|
8954
9168
|
private draft;
|
|
8955
9169
|
constructor(get: Get, pivotId: UID);
|
|
@@ -8993,15 +9207,21 @@ declare class FunctionRegistry extends Registry<FunctionDescription> {
|
|
|
8993
9207
|
};
|
|
8994
9208
|
}
|
|
8995
9209
|
|
|
8996
|
-
declare class ChartColors {
|
|
8997
|
-
private graphColorIndex;
|
|
8998
|
-
next(): string;
|
|
8999
|
-
}
|
|
9000
9210
|
/**
|
|
9001
9211
|
* Choose a font color based on a background color.
|
|
9002
9212
|
* The font is white with a dark background.
|
|
9003
9213
|
*/
|
|
9004
9214
|
declare function chartFontColor(backgroundColor: Color | undefined): Color;
|
|
9215
|
+
declare function getChartAxisTitleRuntime(design?: AxisDesign): {
|
|
9216
|
+
display: boolean;
|
|
9217
|
+
text: string;
|
|
9218
|
+
color?: string;
|
|
9219
|
+
font: {
|
|
9220
|
+
style: "italic" | "normal";
|
|
9221
|
+
weight: "bold" | "normal";
|
|
9222
|
+
};
|
|
9223
|
+
align: "start" | "center" | "end";
|
|
9224
|
+
} | undefined;
|
|
9005
9225
|
|
|
9006
9226
|
/**
|
|
9007
9227
|
* Get a default chart js configuration
|
|
@@ -9030,14 +9250,6 @@ declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetDa
|
|
|
9030
9250
|
|
|
9031
9251
|
declare function genericRepeat<T extends Command>(getters: Getters, command: T): T;
|
|
9032
9252
|
|
|
9033
|
-
interface NotificationStore {
|
|
9034
|
-
mutators: readonly ["notifyUser", "raiseError", "askConfirmation"];
|
|
9035
|
-
notifyUser: (notification: InformationNotification) => any;
|
|
9036
|
-
raiseError: (text: string, callback?: () => void) => any;
|
|
9037
|
-
askConfirmation: (content: string, confirm: () => any, cancel?: () => any) => any;
|
|
9038
|
-
}
|
|
9039
|
-
declare const NotificationStore: StoreConstructor<NotificationStore, any[]>;
|
|
9040
|
-
|
|
9041
9253
|
interface Renderer {
|
|
9042
9254
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
9043
9255
|
renderingLayers: Readonly<LayerName[]>;
|
|
@@ -9197,6 +9409,7 @@ declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
|
|
|
9197
9409
|
private sheetDivRef;
|
|
9198
9410
|
private sheetNameRef;
|
|
9199
9411
|
private editionState;
|
|
9412
|
+
private DOMFocusableElementStore;
|
|
9200
9413
|
setup(): void;
|
|
9201
9414
|
private focusInputAndSelectContent;
|
|
9202
9415
|
private scrollToSheet;
|
|
@@ -9897,13 +10110,25 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
|
|
|
9897
10110
|
setColor(target: string, color: Color): void;
|
|
9898
10111
|
}
|
|
9899
10112
|
|
|
9900
|
-
interface SpreadsheetProps {
|
|
10113
|
+
interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
|
|
9901
10114
|
model: Model;
|
|
9902
10115
|
}
|
|
9903
10116
|
declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEnv> {
|
|
9904
10117
|
static template: string;
|
|
9905
10118
|
static props: {
|
|
9906
10119
|
model: ObjectConstructor;
|
|
10120
|
+
notifyUser: {
|
|
10121
|
+
type: FunctionConstructor;
|
|
10122
|
+
optional: boolean;
|
|
10123
|
+
};
|
|
10124
|
+
raiseError: {
|
|
10125
|
+
type: FunctionConstructor;
|
|
10126
|
+
optional: boolean;
|
|
10127
|
+
};
|
|
10128
|
+
askConfirmation: {
|
|
10129
|
+
type: FunctionConstructor;
|
|
10130
|
+
optional: boolean;
|
|
10131
|
+
};
|
|
9907
10132
|
};
|
|
9908
10133
|
static components: {
|
|
9909
10134
|
TopBar: typeof TopBar;
|
|
@@ -10923,13 +11148,14 @@ declare const helpers: {
|
|
|
10923
11148
|
UuidGenerator: typeof UuidGenerator;
|
|
10924
11149
|
formatValue: typeof formatValue;
|
|
10925
11150
|
createCurrencyFormat: typeof createCurrencyFormat;
|
|
11151
|
+
ColorGenerator: typeof ColorGenerator;
|
|
10926
11152
|
computeTextWidth: typeof computeTextWidth;
|
|
10927
11153
|
createEmptyWorkbookData: typeof createEmptyWorkbookData;
|
|
10928
11154
|
createEmptySheet: typeof createEmptySheet;
|
|
10929
11155
|
createEmptyExcelSheet: typeof createEmptyExcelSheet;
|
|
10930
11156
|
getDefaultChartJsRuntime: typeof getDefaultChartJsRuntime;
|
|
10931
11157
|
chartFontColor: typeof chartFontColor;
|
|
10932
|
-
|
|
11158
|
+
getChartAxisTitleRuntime: typeof getChartAxisTitleRuntime;
|
|
10933
11159
|
getFillingMode: typeof getFillingMode;
|
|
10934
11160
|
rgbaToHex: typeof rgbaToHex;
|
|
10935
11161
|
colorToRGBA: typeof colorToRGBA;
|
|
@@ -10986,9 +11212,10 @@ declare const components: {
|
|
|
10986
11212
|
GridOverlay: typeof GridOverlay;
|
|
10987
11213
|
ScorecardChart: typeof ScorecardChart;
|
|
10988
11214
|
LineConfigPanel: typeof LineConfigPanel;
|
|
10989
|
-
GenericChartDesignPanel: typeof GenericChartDesignPanel;
|
|
10990
11215
|
BarConfigPanel: typeof BarConfigPanel;
|
|
11216
|
+
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
10991
11217
|
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
11218
|
+
ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
|
|
10992
11219
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
10993
11220
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
10994
11221
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
@@ -11020,7 +11247,7 @@ declare const stores: {
|
|
|
11020
11247
|
HighlightStore: typeof HighlightStore;
|
|
11021
11248
|
HoveredCellStore: typeof HoveredCellStore;
|
|
11022
11249
|
ModelStore: StoreConstructor<Model, any[]>;
|
|
11023
|
-
NotificationStore:
|
|
11250
|
+
NotificationStore: typeof NotificationStore;
|
|
11024
11251
|
RendererStore: typeof RendererStore;
|
|
11025
11252
|
SelectionInputStore: typeof SelectionInputStore;
|
|
11026
11253
|
SpreadsheetStore: typeof SpreadsheetStore;
|
|
@@ -11048,4 +11275,4 @@ declare const constants: {
|
|
|
11048
11275
|
};
|
|
11049
11276
|
};
|
|
11050
11277
|
|
|
11051
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DomainArg, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, 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, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotField, PivotFields, PivotMeasure, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv,
|
|
11278
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DomainArg, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, 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, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotField, PivotFields, PivotMeasure, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, StringDomainArgs, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|