@odoo/o-spreadsheet 19.0.9 → 19.0.11
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 +92 -53
- package/dist/o-spreadsheet.d.ts +15 -402
- package/dist/o-spreadsheet.esm.js +92 -53
- package/dist/o-spreadsheet.iife.js +92 -53
- package/dist/o-spreadsheet.iife.min.js +12 -12
- package/dist/o_spreadsheet.xml +8 -6
- package/package.json +2 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -322,8 +322,8 @@ interface LineChartDefinition extends CommonChartDefinition {
|
|
|
322
322
|
readonly zoomable?: boolean;
|
|
323
323
|
}
|
|
324
324
|
type LineChartRuntime = {
|
|
325
|
-
chartJsConfig: ChartConfiguration
|
|
326
|
-
masterChartConfig?: ChartConfiguration
|
|
325
|
+
chartJsConfig: ChartConfiguration<"line">;
|
|
326
|
+
masterChartConfig?: ChartConfiguration<"line">;
|
|
327
327
|
background: Color;
|
|
328
328
|
};
|
|
329
329
|
|
|
@@ -3873,7 +3873,7 @@ declare class InternalViewport {
|
|
|
3873
3873
|
*
|
|
3874
3874
|
*/
|
|
3875
3875
|
declare class SheetViewPlugin extends UIPlugin {
|
|
3876
|
-
static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset"];
|
|
3876
|
+
static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset", "getGridOffset", "getMaximumSheetOffset"];
|
|
3877
3877
|
private viewports;
|
|
3878
3878
|
/**
|
|
3879
3879
|
* The viewport dimensions are usually set by one of the components
|
|
@@ -3924,7 +3924,10 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
3924
3924
|
* Return the main viewport maximum size relative to the client size.
|
|
3925
3925
|
*/
|
|
3926
3926
|
getMainViewportRect(): Rect;
|
|
3927
|
-
|
|
3927
|
+
getMaximumSheetOffset(): {
|
|
3928
|
+
maxOffsetX: Pixel;
|
|
3929
|
+
maxOffsetY: Pixel;
|
|
3930
|
+
};
|
|
3928
3931
|
getColRowOffsetInViewport(dimension: Dimension, referenceHeaderIndex: HeaderIndex, targetHeaderIndex: HeaderIndex): Pixel;
|
|
3929
3932
|
/**
|
|
3930
3933
|
* Check if a given position is visible in the viewport.
|
|
@@ -8785,7 +8788,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
8785
8788
|
private updateAutoCompleteProvider;
|
|
8786
8789
|
private findAutocompleteProvider;
|
|
8787
8790
|
hideHelp(): void;
|
|
8788
|
-
autoCompleteOrStop(direction: Direction$1): void;
|
|
8791
|
+
autoCompleteOrStop(direction: Direction$1, assistantForcedClosed?: boolean): void;
|
|
8789
8792
|
insertAutoCompleteValue(value: string): void;
|
|
8790
8793
|
selectAutoCompleteIndex(index: number): void;
|
|
8791
8794
|
moveAutoCompleteSelection(direction: "previous" | "next"): void;
|
|
@@ -9290,7 +9293,7 @@ interface ClosedSidePanel {
|
|
|
9290
9293
|
}
|
|
9291
9294
|
type SidePanelState = OpenSidePanel | ClosedSidePanel;
|
|
9292
9295
|
interface PanelInfo {
|
|
9293
|
-
|
|
9296
|
+
currentPanelProps: SidePanelComponentProps;
|
|
9294
9297
|
componentTag: string;
|
|
9295
9298
|
size: number;
|
|
9296
9299
|
isCollapsed?: boolean;
|
|
@@ -9317,8 +9320,8 @@ declare class SidePanelStore extends SpreadsheetStore {
|
|
|
9317
9320
|
get totalPanelSize(): number;
|
|
9318
9321
|
private getPanelProps;
|
|
9319
9322
|
private getPanelKey;
|
|
9320
|
-
open(componentTag: string,
|
|
9321
|
-
replace(componentTag: string, currentPanelKey: string,
|
|
9323
|
+
open(componentTag: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9324
|
+
replace(componentTag: string, currentPanelKey: string, currentPanelProps?: SidePanelComponentProps): void;
|
|
9322
9325
|
private _openPanel;
|
|
9323
9326
|
toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
|
|
9324
9327
|
close(): void;
|
|
@@ -10222,7 +10225,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
10222
10225
|
setup(): void;
|
|
10223
10226
|
_computeHandleDisplay(ev: MouseEvent): void;
|
|
10224
10227
|
_computeGrabDisplay(ev: MouseEvent): void;
|
|
10225
|
-
onMouseMove(ev:
|
|
10228
|
+
onMouseMove(ev: MouseEvent): void;
|
|
10226
10229
|
onMouseLeave(): void;
|
|
10227
10230
|
onDblClick(ev: MouseEvent): void;
|
|
10228
10231
|
onMouseDown(ev: MouseEvent): void;
|
|
@@ -12188,6 +12191,7 @@ declare class GridRenderer extends SpreadsheetStore {
|
|
|
12188
12191
|
private animations;
|
|
12189
12192
|
constructor(get: Get);
|
|
12190
12193
|
handle(cmd: Command): void;
|
|
12194
|
+
finalize(): void;
|
|
12191
12195
|
get renderingLayers(): readonly ["Background", "Headers"];
|
|
12192
12196
|
drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
|
|
12193
12197
|
private drawGlobalBackground;
|
|
@@ -13232,399 +13236,8 @@ declare const chartHelpers: {
|
|
|
13232
13236
|
getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13233
13237
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13234
13238
|
}>;
|
|
13235
|
-
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.
|
|
13236
|
-
|
|
13237
|
-
}>;
|
|
13238
|
-
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
13239
|
-
x: {
|
|
13240
|
-
grid: {
|
|
13241
|
-
display: boolean;
|
|
13242
|
-
};
|
|
13243
|
-
} | {
|
|
13244
|
-
grid: {
|
|
13245
|
-
display: boolean;
|
|
13246
|
-
};
|
|
13247
|
-
type?: "time" | undefined;
|
|
13248
|
-
reverse?: boolean | undefined;
|
|
13249
|
-
offset?: boolean | undefined;
|
|
13250
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13251
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13252
|
-
clip?: boolean | undefined;
|
|
13253
|
-
display?: boolean | "auto" | undefined;
|
|
13254
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13255
|
-
[scale: string]: number;
|
|
13256
|
-
}> | undefined;
|
|
13257
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13258
|
-
display: boolean;
|
|
13259
|
-
align: chart_js.Align;
|
|
13260
|
-
text: string | string[];
|
|
13261
|
-
color: chart_js.Color;
|
|
13262
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13263
|
-
padding: number | {
|
|
13264
|
-
top: number;
|
|
13265
|
-
bottom: number;
|
|
13266
|
-
y: number;
|
|
13267
|
-
};
|
|
13268
|
-
}> | undefined;
|
|
13269
|
-
stack?: string | undefined;
|
|
13270
|
-
weight?: number | undefined;
|
|
13271
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13272
|
-
stackWeight?: number | undefined;
|
|
13273
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13274
|
-
stacked?: boolean | "single" | undefined;
|
|
13275
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13276
|
-
sampleSize: number;
|
|
13277
|
-
align: chart_js.Align | "inner";
|
|
13278
|
-
autoSkip: boolean;
|
|
13279
|
-
autoSkipPadding: number;
|
|
13280
|
-
crossAlign: "near" | "center" | "far";
|
|
13281
|
-
includeBounds: boolean;
|
|
13282
|
-
labelOffset: number;
|
|
13283
|
-
minRotation: number;
|
|
13284
|
-
maxRotation: number;
|
|
13285
|
-
mirror: boolean;
|
|
13286
|
-
padding: number;
|
|
13287
|
-
maxTicksLimit: number;
|
|
13288
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13289
|
-
alignToPixels?: boolean | undefined;
|
|
13290
|
-
suggestedMin?: string | number | undefined;
|
|
13291
|
-
suggestedMax?: string | number | undefined;
|
|
13292
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13293
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13294
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13295
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13296
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13297
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13298
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13299
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13300
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13301
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13302
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13303
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13304
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13305
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13306
|
-
min?: string | number | undefined;
|
|
13307
|
-
max?: string | number | undefined;
|
|
13308
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13309
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13310
|
-
date: unknown;
|
|
13311
|
-
}> | undefined;
|
|
13312
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13313
|
-
} | {
|
|
13314
|
-
grid: {
|
|
13315
|
-
display: boolean;
|
|
13316
|
-
};
|
|
13317
|
-
type?: "linear" | undefined;
|
|
13318
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13319
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13320
|
-
[scale: string]: number;
|
|
13321
|
-
}> | undefined;
|
|
13322
|
-
stack?: string | undefined;
|
|
13323
|
-
stackWeight?: number | undefined;
|
|
13324
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13325
|
-
min?: number | undefined;
|
|
13326
|
-
max?: number | undefined;
|
|
13327
|
-
offset?: boolean | undefined;
|
|
13328
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13329
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13330
|
-
display: boolean;
|
|
13331
|
-
align: chart_js.Align;
|
|
13332
|
-
text: string | string[];
|
|
13333
|
-
color: chart_js.Color;
|
|
13334
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13335
|
-
padding: number | {
|
|
13336
|
-
top: number;
|
|
13337
|
-
bottom: number;
|
|
13338
|
-
y: number;
|
|
13339
|
-
};
|
|
13340
|
-
}> | undefined;
|
|
13341
|
-
stacked?: boolean | "single" | undefined;
|
|
13342
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13343
|
-
sampleSize: number;
|
|
13344
|
-
align: chart_js.Align | "inner";
|
|
13345
|
-
autoSkip: boolean;
|
|
13346
|
-
autoSkipPadding: number;
|
|
13347
|
-
crossAlign: "near" | "center" | "far";
|
|
13348
|
-
includeBounds: boolean;
|
|
13349
|
-
labelOffset: number;
|
|
13350
|
-
minRotation: number;
|
|
13351
|
-
maxRotation: number;
|
|
13352
|
-
mirror: boolean;
|
|
13353
|
-
padding: number;
|
|
13354
|
-
maxTicksLimit: number;
|
|
13355
|
-
} & {
|
|
13356
|
-
format: Intl.NumberFormatOptions;
|
|
13357
|
-
precision: number;
|
|
13358
|
-
stepSize: number;
|
|
13359
|
-
count: number;
|
|
13360
|
-
}> | undefined;
|
|
13361
|
-
display?: boolean | "auto" | undefined;
|
|
13362
|
-
alignToPixels?: boolean | undefined;
|
|
13363
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13364
|
-
reverse?: boolean | undefined;
|
|
13365
|
-
clip?: boolean | undefined;
|
|
13366
|
-
weight?: number | undefined;
|
|
13367
|
-
suggestedMin?: number | undefined;
|
|
13368
|
-
suggestedMax?: number | undefined;
|
|
13369
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13370
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13371
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13372
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13373
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13374
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13375
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13376
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13377
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13378
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13379
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13380
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13381
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13382
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13383
|
-
beginAtZero?: boolean | undefined;
|
|
13384
|
-
grace?: string | number | undefined;
|
|
13385
|
-
} | {
|
|
13386
|
-
grid: {
|
|
13387
|
-
display: boolean;
|
|
13388
|
-
};
|
|
13389
|
-
type?: "logarithmic" | undefined;
|
|
13390
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13391
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13392
|
-
[scale: string]: number;
|
|
13393
|
-
}> | undefined;
|
|
13394
|
-
stack?: string | undefined;
|
|
13395
|
-
stackWeight?: number | undefined;
|
|
13396
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13397
|
-
min?: number | undefined;
|
|
13398
|
-
max?: number | undefined;
|
|
13399
|
-
offset?: boolean | undefined;
|
|
13400
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13401
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13402
|
-
display: boolean;
|
|
13403
|
-
align: chart_js.Align;
|
|
13404
|
-
text: string | string[];
|
|
13405
|
-
color: chart_js.Color;
|
|
13406
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13407
|
-
padding: number | {
|
|
13408
|
-
top: number;
|
|
13409
|
-
bottom: number;
|
|
13410
|
-
y: number;
|
|
13411
|
-
};
|
|
13412
|
-
}> | undefined;
|
|
13413
|
-
stacked?: boolean | "single" | undefined;
|
|
13414
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13415
|
-
sampleSize: number;
|
|
13416
|
-
align: chart_js.Align | "inner";
|
|
13417
|
-
autoSkip: boolean;
|
|
13418
|
-
autoSkipPadding: number;
|
|
13419
|
-
crossAlign: "near" | "center" | "far";
|
|
13420
|
-
includeBounds: boolean;
|
|
13421
|
-
labelOffset: number;
|
|
13422
|
-
minRotation: number;
|
|
13423
|
-
maxRotation: number;
|
|
13424
|
-
mirror: boolean;
|
|
13425
|
-
padding: number;
|
|
13426
|
-
maxTicksLimit: number;
|
|
13427
|
-
} & {
|
|
13428
|
-
format: Intl.NumberFormatOptions;
|
|
13429
|
-
}> | undefined;
|
|
13430
|
-
display?: boolean | "auto" | undefined;
|
|
13431
|
-
alignToPixels?: boolean | undefined;
|
|
13432
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13433
|
-
reverse?: boolean | undefined;
|
|
13434
|
-
clip?: boolean | undefined;
|
|
13435
|
-
weight?: number | undefined;
|
|
13436
|
-
suggestedMin?: number | undefined;
|
|
13437
|
-
suggestedMax?: number | undefined;
|
|
13438
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13439
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13440
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13441
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13442
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13443
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13444
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13445
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13446
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13447
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13448
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13449
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13450
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13451
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13452
|
-
} | {
|
|
13453
|
-
grid: {
|
|
13454
|
-
display: boolean;
|
|
13455
|
-
};
|
|
13456
|
-
type?: "category" | undefined;
|
|
13457
|
-
reverse?: boolean | undefined;
|
|
13458
|
-
offset?: boolean | undefined;
|
|
13459
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13460
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13461
|
-
clip?: boolean | undefined;
|
|
13462
|
-
display?: boolean | "auto" | undefined;
|
|
13463
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13464
|
-
[scale: string]: number;
|
|
13465
|
-
}> | undefined;
|
|
13466
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13467
|
-
display: boolean;
|
|
13468
|
-
align: chart_js.Align;
|
|
13469
|
-
text: string | string[];
|
|
13470
|
-
color: chart_js.Color;
|
|
13471
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13472
|
-
padding: number | {
|
|
13473
|
-
top: number;
|
|
13474
|
-
bottom: number;
|
|
13475
|
-
y: number;
|
|
13476
|
-
};
|
|
13477
|
-
}> | undefined;
|
|
13478
|
-
stack?: string | undefined;
|
|
13479
|
-
weight?: number | undefined;
|
|
13480
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13481
|
-
stackWeight?: number | undefined;
|
|
13482
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13483
|
-
stacked?: boolean | "single" | undefined;
|
|
13484
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.CartesianTickOptions> | undefined;
|
|
13485
|
-
alignToPixels?: boolean | undefined;
|
|
13486
|
-
suggestedMin?: unknown;
|
|
13487
|
-
suggestedMax?: unknown;
|
|
13488
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13489
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13490
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13491
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13492
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13493
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13494
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13495
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13496
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13497
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13498
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13499
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13500
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13501
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13502
|
-
min?: string | number | undefined;
|
|
13503
|
-
max?: string | number | undefined;
|
|
13504
|
-
labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
|
|
13505
|
-
} | {
|
|
13506
|
-
grid: {
|
|
13507
|
-
display: boolean;
|
|
13508
|
-
};
|
|
13509
|
-
type?: "timeseries" | undefined;
|
|
13510
|
-
reverse?: boolean | undefined;
|
|
13511
|
-
offset?: boolean | undefined;
|
|
13512
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13513
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13514
|
-
clip?: boolean | undefined;
|
|
13515
|
-
display?: boolean | "auto" | undefined;
|
|
13516
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13517
|
-
[scale: string]: number;
|
|
13518
|
-
}> | undefined;
|
|
13519
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13520
|
-
display: boolean;
|
|
13521
|
-
align: chart_js.Align;
|
|
13522
|
-
text: string | string[];
|
|
13523
|
-
color: chart_js.Color;
|
|
13524
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13525
|
-
padding: number | {
|
|
13526
|
-
top: number;
|
|
13527
|
-
bottom: number;
|
|
13528
|
-
y: number;
|
|
13529
|
-
};
|
|
13530
|
-
}> | undefined;
|
|
13531
|
-
stack?: string | undefined;
|
|
13532
|
-
weight?: number | undefined;
|
|
13533
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13534
|
-
stackWeight?: number | undefined;
|
|
13535
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13536
|
-
stacked?: boolean | "single" | undefined;
|
|
13537
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13538
|
-
sampleSize: number;
|
|
13539
|
-
align: chart_js.Align | "inner";
|
|
13540
|
-
autoSkip: boolean;
|
|
13541
|
-
autoSkipPadding: number;
|
|
13542
|
-
crossAlign: "near" | "center" | "far";
|
|
13543
|
-
includeBounds: boolean;
|
|
13544
|
-
labelOffset: number;
|
|
13545
|
-
minRotation: number;
|
|
13546
|
-
maxRotation: number;
|
|
13547
|
-
mirror: boolean;
|
|
13548
|
-
padding: number;
|
|
13549
|
-
maxTicksLimit: number;
|
|
13550
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13551
|
-
alignToPixels?: boolean | undefined;
|
|
13552
|
-
suggestedMin?: string | number | undefined;
|
|
13553
|
-
suggestedMax?: string | number | undefined;
|
|
13554
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13555
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13556
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13557
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13558
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13559
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13560
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13561
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13562
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13563
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13564
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13565
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13566
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13567
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13568
|
-
min?: string | number | undefined;
|
|
13569
|
-
max?: string | number | undefined;
|
|
13570
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13571
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13572
|
-
date: unknown;
|
|
13573
|
-
}> | undefined;
|
|
13574
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13575
|
-
} | {
|
|
13576
|
-
grid: {
|
|
13577
|
-
display: boolean;
|
|
13578
|
-
};
|
|
13579
|
-
type?: "radialLinear" | undefined;
|
|
13580
|
-
display?: boolean | "auto" | undefined;
|
|
13581
|
-
alignToPixels?: boolean | undefined;
|
|
13582
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13583
|
-
reverse?: boolean | undefined;
|
|
13584
|
-
clip?: boolean | undefined;
|
|
13585
|
-
weight?: number | undefined;
|
|
13586
|
-
min?: number | undefined;
|
|
13587
|
-
max?: number | undefined;
|
|
13588
|
-
suggestedMin?: number | undefined;
|
|
13589
|
-
suggestedMax?: number | undefined;
|
|
13590
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13591
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13592
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13593
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13594
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13595
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13596
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13597
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13598
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13599
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13600
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13601
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13602
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13603
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13604
|
-
animate?: boolean | undefined;
|
|
13605
|
-
startAngle?: number | undefined;
|
|
13606
|
-
angleLines?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13607
|
-
display: boolean;
|
|
13608
|
-
color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScaleContext>;
|
|
13609
|
-
lineWidth: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
|
|
13610
|
-
borderDash: chart_js.Scriptable<number[], chart_js.ScriptableScaleContext>;
|
|
13611
|
-
borderDashOffset: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
|
|
13612
|
-
}> | undefined;
|
|
13613
|
-
beginAtZero?: boolean | undefined;
|
|
13614
|
-
pointLabels?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13615
|
-
backdropColor: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
|
|
13616
|
-
backdropPadding: chart_js.Scriptable<number | chart_js.ChartArea, chart_js.ScriptableScalePointLabelContext>;
|
|
13617
|
-
borderRadius: chart_js.Scriptable<number | chart_js.BorderRadius, chart_js.ScriptableScalePointLabelContext>;
|
|
13618
|
-
display: boolean | "auto";
|
|
13619
|
-
color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
|
|
13620
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableScalePointLabelContext>;
|
|
13621
|
-
callback: (label: string, index: number) => string | string[] | number | number[];
|
|
13622
|
-
padding: chart_js.Scriptable<number, chart_js.ScriptableScalePointLabelContext>;
|
|
13623
|
-
centerPointLabels: boolean;
|
|
13624
|
-
}> | undefined;
|
|
13625
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.RadialTickOptions> | undefined;
|
|
13626
|
-
};
|
|
13627
|
-
};
|
|
13239
|
+
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13240
|
+
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13628
13241
|
getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13629
13242
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13630
13243
|
}>;
|