@odoo/o-spreadsheet 17.1.0-alpha.6 → 17.1.0
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 +818 -600
- package/dist/o-spreadsheet.d.ts +839 -29
- package/dist/o-spreadsheet.esm.js +818 -600
- package/dist/o-spreadsheet.iife.js +818 -600
- package/dist/o-spreadsheet.iife.min.js +277 -276
- package/dist/o_spreadsheet.xml +339 -468
- package/package.json +4 -4
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -940,6 +940,35 @@ declare function toCartesian(xc: string): Position$1;
|
|
|
940
940
|
*/
|
|
941
941
|
declare function toXC(col: HeaderIndex, row: HeaderIndex, rangePart?: RangePart): string;
|
|
942
942
|
|
|
943
|
+
/**
|
|
944
|
+
* A DateTime object that can be used to manipulate spreadsheet dates.
|
|
945
|
+
* Conceptually, a spreadsheet date is simply a number with a date format,
|
|
946
|
+
* and it is timezone-agnostic.
|
|
947
|
+
* This DateTime object consistently uses UTC time to represent a naive date and time.
|
|
948
|
+
*/
|
|
949
|
+
declare class DateTime {
|
|
950
|
+
private jsDate;
|
|
951
|
+
constructor(year: number, month: number, day: number, hours?: number, minutes?: number, seconds?: number);
|
|
952
|
+
static fromTimestamp(timestamp: number): DateTime;
|
|
953
|
+
static now(): DateTime;
|
|
954
|
+
toString(): string;
|
|
955
|
+
toLocaleDateString(): string;
|
|
956
|
+
getTime(): number;
|
|
957
|
+
getFullYear(): number;
|
|
958
|
+
getMonth(): number;
|
|
959
|
+
getDate(): number;
|
|
960
|
+
getDay(): number;
|
|
961
|
+
getHours(): number;
|
|
962
|
+
getMinutes(): number;
|
|
963
|
+
getSeconds(): number;
|
|
964
|
+
setFullYear(year: number): number;
|
|
965
|
+
setMonth(month: number): number;
|
|
966
|
+
setDate(date: number): number;
|
|
967
|
+
setHours(hours: number): number;
|
|
968
|
+
setMinutes(minutes: number): number;
|
|
969
|
+
setSeconds(seconds: number): number;
|
|
970
|
+
}
|
|
971
|
+
|
|
943
972
|
/**
|
|
944
973
|
* Formats a cell value with its format.
|
|
945
974
|
*/
|
|
@@ -5381,7 +5410,7 @@ interface ChartBuilder {
|
|
|
5381
5410
|
sequence: number;
|
|
5382
5411
|
}
|
|
5383
5412
|
|
|
5384
|
-
interface Props$
|
|
5413
|
+
interface Props$R {
|
|
5385
5414
|
ranges: () => string[];
|
|
5386
5415
|
hasSingleRange?: boolean;
|
|
5387
5416
|
required?: boolean;
|
|
@@ -5403,8 +5432,35 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
5403
5432
|
* onSelectionChanged is called every time the input value
|
|
5404
5433
|
* changes.
|
|
5405
5434
|
*/
|
|
5406
|
-
declare class SelectionInput extends Component<Props$
|
|
5435
|
+
declare class SelectionInput extends Component<Props$R, SpreadsheetChildEnv> {
|
|
5407
5436
|
static template: string;
|
|
5437
|
+
static props: {
|
|
5438
|
+
ranges: FunctionConstructor;
|
|
5439
|
+
hasSingleRange: {
|
|
5440
|
+
type: BooleanConstructor;
|
|
5441
|
+
optional: boolean;
|
|
5442
|
+
};
|
|
5443
|
+
required: {
|
|
5444
|
+
type: BooleanConstructor;
|
|
5445
|
+
optional: boolean;
|
|
5446
|
+
};
|
|
5447
|
+
isInvalid: {
|
|
5448
|
+
type: BooleanConstructor;
|
|
5449
|
+
optional: boolean;
|
|
5450
|
+
};
|
|
5451
|
+
class: {
|
|
5452
|
+
type: StringConstructor;
|
|
5453
|
+
optional: boolean;
|
|
5454
|
+
};
|
|
5455
|
+
onSelectionChanged: {
|
|
5456
|
+
type: FunctionConstructor;
|
|
5457
|
+
optional: boolean;
|
|
5458
|
+
};
|
|
5459
|
+
onSelectionConfirmed: {
|
|
5460
|
+
type: FunctionConstructor;
|
|
5461
|
+
optional: boolean;
|
|
5462
|
+
};
|
|
5463
|
+
};
|
|
5408
5464
|
private id;
|
|
5409
5465
|
private previousRanges;
|
|
5410
5466
|
private originSheet;
|
|
@@ -5432,26 +5488,172 @@ declare class SelectionInput extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
5432
5488
|
confirm(): void;
|
|
5433
5489
|
}
|
|
5434
5490
|
|
|
5435
|
-
interface Props$
|
|
5491
|
+
interface Props$Q {
|
|
5436
5492
|
messages: string[];
|
|
5437
5493
|
msgType: "warning" | "error";
|
|
5438
5494
|
}
|
|
5439
|
-
declare class ValidationMessages extends Component<Props$
|
|
5495
|
+
declare class ValidationMessages extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
5440
5496
|
static template: string;
|
|
5497
|
+
static props: {
|
|
5498
|
+
messages: ArrayConstructor;
|
|
5499
|
+
msgType: StringConstructor;
|
|
5500
|
+
};
|
|
5441
5501
|
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
5442
5502
|
}
|
|
5443
5503
|
|
|
5444
|
-
interface Props$
|
|
5504
|
+
interface Props$P {
|
|
5505
|
+
label?: string;
|
|
5506
|
+
value: boolean;
|
|
5507
|
+
className?: string;
|
|
5508
|
+
name?: string;
|
|
5509
|
+
onChange: (value: boolean) => void;
|
|
5510
|
+
}
|
|
5511
|
+
declare class Checkbox extends Component<Props$P, SpreadsheetChildEnv> {
|
|
5512
|
+
static template: string;
|
|
5513
|
+
static props: {
|
|
5514
|
+
label: {
|
|
5515
|
+
type: StringConstructor;
|
|
5516
|
+
optional: boolean;
|
|
5517
|
+
};
|
|
5518
|
+
value: {
|
|
5519
|
+
type: BooleanConstructor;
|
|
5520
|
+
optional: boolean;
|
|
5521
|
+
};
|
|
5522
|
+
className: {
|
|
5523
|
+
type: StringConstructor;
|
|
5524
|
+
optional: boolean;
|
|
5525
|
+
};
|
|
5526
|
+
name: {
|
|
5527
|
+
type: StringConstructor;
|
|
5528
|
+
optional: boolean;
|
|
5529
|
+
};
|
|
5530
|
+
onChange: FunctionConstructor;
|
|
5531
|
+
};
|
|
5532
|
+
static defaultProps: {
|
|
5533
|
+
value: boolean;
|
|
5534
|
+
};
|
|
5535
|
+
onChange(ev: InputEvent): void;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
interface Props$O {
|
|
5539
|
+
class?: string;
|
|
5540
|
+
}
|
|
5541
|
+
declare class Section extends Component<Props$O, SpreadsheetChildEnv> {
|
|
5542
|
+
static template: string;
|
|
5543
|
+
static props: {
|
|
5544
|
+
class: {
|
|
5545
|
+
type: StringConstructor;
|
|
5546
|
+
optional: boolean;
|
|
5547
|
+
};
|
|
5548
|
+
slots: ObjectConstructor;
|
|
5549
|
+
};
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
interface Props$N {
|
|
5553
|
+
ranges: () => string[];
|
|
5554
|
+
hasSingleRange?: boolean;
|
|
5555
|
+
onSelectionChanged: (ranges: string[]) => void;
|
|
5556
|
+
onSelectionConfirmed: () => void;
|
|
5557
|
+
}
|
|
5558
|
+
declare class ChartDataSeries extends Component<Props$N, SpreadsheetChildEnv> {
|
|
5559
|
+
static template: string;
|
|
5560
|
+
static components: {
|
|
5561
|
+
SelectionInput: typeof SelectionInput;
|
|
5562
|
+
Section: typeof Section;
|
|
5563
|
+
};
|
|
5564
|
+
static props: {
|
|
5565
|
+
ranges: FunctionConstructor;
|
|
5566
|
+
hasSingleRange: {
|
|
5567
|
+
type: BooleanConstructor;
|
|
5568
|
+
optional: boolean;
|
|
5569
|
+
};
|
|
5570
|
+
onSelectionChanged: FunctionConstructor;
|
|
5571
|
+
onSelectionConfirmed: FunctionConstructor;
|
|
5572
|
+
};
|
|
5573
|
+
get title(): string;
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5576
|
+
interface Props$M {
|
|
5577
|
+
messages: string[];
|
|
5578
|
+
}
|
|
5579
|
+
declare class ChartErrorSection extends Component<Props$M, SpreadsheetChildEnv> {
|
|
5580
|
+
static template: string;
|
|
5581
|
+
static components: {
|
|
5582
|
+
Section: typeof Section;
|
|
5583
|
+
ValidationMessages: typeof ValidationMessages;
|
|
5584
|
+
};
|
|
5585
|
+
static props: {
|
|
5586
|
+
messages: {
|
|
5587
|
+
type: ArrayConstructor;
|
|
5588
|
+
element: StringConstructor;
|
|
5589
|
+
};
|
|
5590
|
+
};
|
|
5591
|
+
}
|
|
5592
|
+
|
|
5593
|
+
interface Props$L {
|
|
5594
|
+
title?: string;
|
|
5595
|
+
range: () => string;
|
|
5596
|
+
isInvalid: boolean;
|
|
5597
|
+
required?: boolean;
|
|
5598
|
+
onSelectionChanged: (range: string) => void;
|
|
5599
|
+
onSelectionConfirmed: () => void;
|
|
5600
|
+
options?: Array<{
|
|
5601
|
+
name: string;
|
|
5602
|
+
label: string;
|
|
5603
|
+
value: boolean;
|
|
5604
|
+
update: (value: boolean) => void;
|
|
5605
|
+
}>;
|
|
5606
|
+
}
|
|
5607
|
+
declare class ChartLabelRange extends Component<Props$L, SpreadsheetChildEnv> {
|
|
5608
|
+
static template: string;
|
|
5609
|
+
static components: {
|
|
5610
|
+
SelectionInput: typeof SelectionInput;
|
|
5611
|
+
Checkbox: typeof Checkbox;
|
|
5612
|
+
Section: typeof Section;
|
|
5613
|
+
};
|
|
5614
|
+
static props: {
|
|
5615
|
+
title: {
|
|
5616
|
+
type: StringConstructor;
|
|
5617
|
+
optional: boolean;
|
|
5618
|
+
};
|
|
5619
|
+
range: FunctionConstructor;
|
|
5620
|
+
isInvalid: BooleanConstructor;
|
|
5621
|
+
required: {
|
|
5622
|
+
type: BooleanConstructor;
|
|
5623
|
+
optional: boolean;
|
|
5624
|
+
};
|
|
5625
|
+
onSelectionChanged: FunctionConstructor;
|
|
5626
|
+
onSelectionConfirmed: FunctionConstructor;
|
|
5627
|
+
options: {
|
|
5628
|
+
type: ArrayConstructor;
|
|
5629
|
+
optional: boolean;
|
|
5630
|
+
};
|
|
5631
|
+
};
|
|
5632
|
+
static defaultProps: Partial<Props$L>;
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5635
|
+
interface Props$K {
|
|
5445
5636
|
figureId: UID;
|
|
5446
5637
|
definition: LineChartDefinition | BarChartDefinition | PieChartDefinition;
|
|
5447
5638
|
canUpdateChart: (figureId: UID, definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => DispatchResult;
|
|
5448
5639
|
updateChart: (figureId: UID, definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => DispatchResult;
|
|
5449
5640
|
}
|
|
5450
|
-
declare class LineBarPieConfigPanel extends Component<Props$
|
|
5641
|
+
declare class LineBarPieConfigPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
5451
5642
|
static template: string;
|
|
5452
5643
|
static components: {
|
|
5453
5644
|
SelectionInput: typeof SelectionInput;
|
|
5454
5645
|
ValidationMessages: typeof ValidationMessages;
|
|
5646
|
+
ChartDataSeries: typeof ChartDataSeries;
|
|
5647
|
+
ChartLabelRange: typeof ChartLabelRange;
|
|
5648
|
+
Section: typeof Section;
|
|
5649
|
+
Checkbox: typeof Checkbox;
|
|
5650
|
+
ChartErrorSection: typeof ChartErrorSection;
|
|
5651
|
+
};
|
|
5652
|
+
static props: {
|
|
5653
|
+
figureId: StringConstructor;
|
|
5654
|
+
definition: ObjectConstructor;
|
|
5655
|
+
updateChart: FunctionConstructor;
|
|
5656
|
+
canUpdateChart: FunctionConstructor;
|
|
5455
5657
|
};
|
|
5456
5658
|
private state;
|
|
5457
5659
|
private dataSeriesRanges;
|
|
@@ -5460,7 +5662,14 @@ declare class LineBarPieConfigPanel extends Component<Props$I, SpreadsheetChildE
|
|
|
5460
5662
|
get errorMessages(): string[];
|
|
5461
5663
|
get isDatasetInvalid(): boolean;
|
|
5462
5664
|
get isLabelInvalid(): boolean;
|
|
5463
|
-
|
|
5665
|
+
get dataSetsHaveTitleLabel(): string;
|
|
5666
|
+
getLabelRangeOptions(): {
|
|
5667
|
+
name: string;
|
|
5668
|
+
label: string;
|
|
5669
|
+
value: boolean | undefined;
|
|
5670
|
+
onChange: (aggregated: boolean) => void;
|
|
5671
|
+
}[];
|
|
5672
|
+
onUpdateDataSetsHaveTitle(dataSetsHaveTitle: boolean): void;
|
|
5464
5673
|
/**
|
|
5465
5674
|
* Change the local dataSeriesRanges. The model should be updated when the
|
|
5466
5675
|
* button "confirm" is clicked
|
|
@@ -5475,14 +5684,15 @@ declare class LineBarPieConfigPanel extends Component<Props$I, SpreadsheetChildE
|
|
|
5475
5684
|
onLabelRangeChanged(ranges: string[]): void;
|
|
5476
5685
|
onLabelRangeConfirmed(): void;
|
|
5477
5686
|
getLabelRange(): string;
|
|
5478
|
-
onUpdateAggregated(
|
|
5687
|
+
onUpdateAggregated(aggregated: boolean): void;
|
|
5479
5688
|
calculateHeaderPosition(): number | undefined;
|
|
5480
5689
|
}
|
|
5481
5690
|
|
|
5482
5691
|
declare class BarConfigPanel extends LineBarPieConfigPanel {
|
|
5483
5692
|
static template: string;
|
|
5484
|
-
|
|
5485
|
-
|
|
5693
|
+
get stackedLabel(): string;
|
|
5694
|
+
onUpdateStacked(stacked: boolean): void;
|
|
5695
|
+
onUpdateAggregated(aggregated: boolean): void;
|
|
5486
5696
|
}
|
|
5487
5697
|
|
|
5488
5698
|
declare enum ComponentsImportance {
|
|
@@ -5522,6 +5732,46 @@ interface PopoverProps {
|
|
|
5522
5732
|
}
|
|
5523
5733
|
declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
5524
5734
|
static template: string;
|
|
5735
|
+
static props: {
|
|
5736
|
+
anchorRect: ObjectConstructor;
|
|
5737
|
+
containerRect: {
|
|
5738
|
+
type: ObjectConstructor;
|
|
5739
|
+
optional: boolean;
|
|
5740
|
+
};
|
|
5741
|
+
positioning: {
|
|
5742
|
+
type: StringConstructor;
|
|
5743
|
+
optional: boolean;
|
|
5744
|
+
};
|
|
5745
|
+
maxWidth: {
|
|
5746
|
+
type: NumberConstructor;
|
|
5747
|
+
optional: boolean;
|
|
5748
|
+
};
|
|
5749
|
+
maxHeight: {
|
|
5750
|
+
type: NumberConstructor;
|
|
5751
|
+
optional: boolean;
|
|
5752
|
+
};
|
|
5753
|
+
verticalOffset: {
|
|
5754
|
+
type: NumberConstructor;
|
|
5755
|
+
optional: boolean;
|
|
5756
|
+
};
|
|
5757
|
+
onMouseWheel: {
|
|
5758
|
+
type: FunctionConstructor;
|
|
5759
|
+
optional: boolean;
|
|
5760
|
+
};
|
|
5761
|
+
onPopoverHidden: {
|
|
5762
|
+
type: FunctionConstructor;
|
|
5763
|
+
optional: boolean;
|
|
5764
|
+
};
|
|
5765
|
+
onPopoverMoved: {
|
|
5766
|
+
type: FunctionConstructor;
|
|
5767
|
+
optional: boolean;
|
|
5768
|
+
};
|
|
5769
|
+
zIndex: {
|
|
5770
|
+
type: NumberConstructor;
|
|
5771
|
+
optional: boolean;
|
|
5772
|
+
};
|
|
5773
|
+
slots: ObjectConstructor;
|
|
5774
|
+
};
|
|
5525
5775
|
static defaultProps: {
|
|
5526
5776
|
positioning: string;
|
|
5527
5777
|
verticalOffset: number;
|
|
@@ -5547,6 +5797,18 @@ interface ColorPickerProps {
|
|
|
5547
5797
|
}
|
|
5548
5798
|
declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEnv> {
|
|
5549
5799
|
static template: string;
|
|
5800
|
+
static props: {
|
|
5801
|
+
onColorPicked: FunctionConstructor;
|
|
5802
|
+
currentColor: {
|
|
5803
|
+
type: StringConstructor;
|
|
5804
|
+
optional: boolean;
|
|
5805
|
+
};
|
|
5806
|
+
maxHeight: {
|
|
5807
|
+
type: NumberConstructor;
|
|
5808
|
+
optional: boolean;
|
|
5809
|
+
};
|
|
5810
|
+
anchorRect: ObjectConstructor;
|
|
5811
|
+
};
|
|
5550
5812
|
static defaultProps: {
|
|
5551
5813
|
currentColor: string;
|
|
5552
5814
|
};
|
|
@@ -5576,7 +5838,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
5576
5838
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
5577
5839
|
}
|
|
5578
5840
|
|
|
5579
|
-
interface Props$
|
|
5841
|
+
interface Props$J {
|
|
5580
5842
|
currentColor: string | undefined;
|
|
5581
5843
|
toggleColorPicker: () => void;
|
|
5582
5844
|
showColorPicker: boolean;
|
|
@@ -5587,8 +5849,34 @@ interface Props$H {
|
|
|
5587
5849
|
dropdownMaxHeight?: Pixel;
|
|
5588
5850
|
class?: string;
|
|
5589
5851
|
}
|
|
5590
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
5852
|
+
declare class ColorPickerWidget extends Component<Props$J, SpreadsheetChildEnv> {
|
|
5591
5853
|
static template: string;
|
|
5854
|
+
static props: {
|
|
5855
|
+
currentColor: {
|
|
5856
|
+
type: StringConstructor;
|
|
5857
|
+
optional: boolean;
|
|
5858
|
+
};
|
|
5859
|
+
toggleColorPicker: FunctionConstructor;
|
|
5860
|
+
showColorPicker: BooleanConstructor;
|
|
5861
|
+
onColorPicked: FunctionConstructor;
|
|
5862
|
+
icon: StringConstructor;
|
|
5863
|
+
title: {
|
|
5864
|
+
type: StringConstructor;
|
|
5865
|
+
optional: boolean;
|
|
5866
|
+
};
|
|
5867
|
+
disabled: {
|
|
5868
|
+
type: BooleanConstructor;
|
|
5869
|
+
optional: boolean;
|
|
5870
|
+
};
|
|
5871
|
+
dropdownMaxHeight: {
|
|
5872
|
+
type: NumberConstructor;
|
|
5873
|
+
optional: boolean;
|
|
5874
|
+
};
|
|
5875
|
+
class: {
|
|
5876
|
+
type: StringConstructor;
|
|
5877
|
+
optional: boolean;
|
|
5878
|
+
};
|
|
5879
|
+
};
|
|
5592
5880
|
static components: {
|
|
5593
5881
|
ColorPicker: typeof ColorPicker;
|
|
5594
5882
|
};
|
|
@@ -5599,6 +5887,46 @@ declare class ColorPickerWidget extends Component<Props$H, SpreadsheetChildEnv>
|
|
|
5599
5887
|
get colorPickerAnchorRect(): Rect;
|
|
5600
5888
|
}
|
|
5601
5889
|
|
|
5890
|
+
interface Props$I {
|
|
5891
|
+
currentColor?: string;
|
|
5892
|
+
onColorPicked: (color: string) => void;
|
|
5893
|
+
}
|
|
5894
|
+
declare class ChartColor extends Component<Props$I, SpreadsheetChildEnv> {
|
|
5895
|
+
static template: string;
|
|
5896
|
+
static components: {
|
|
5897
|
+
ColorPickerWidget: typeof ColorPickerWidget;
|
|
5898
|
+
Section: typeof Section;
|
|
5899
|
+
};
|
|
5900
|
+
static props: {
|
|
5901
|
+
currentColor: {
|
|
5902
|
+
type: StringConstructor;
|
|
5903
|
+
optional: boolean;
|
|
5904
|
+
};
|
|
5905
|
+
onColorPicked: FunctionConstructor;
|
|
5906
|
+
};
|
|
5907
|
+
private state;
|
|
5908
|
+
setup(): void;
|
|
5909
|
+
closePicker(): void;
|
|
5910
|
+
togglePicker(): void;
|
|
5911
|
+
}
|
|
5912
|
+
|
|
5913
|
+
interface Props$H {
|
|
5914
|
+
title: string;
|
|
5915
|
+
update: (title: string) => void;
|
|
5916
|
+
}
|
|
5917
|
+
declare class ChartTitle extends Component<Props$H, SpreadsheetChildEnv> {
|
|
5918
|
+
static template: string;
|
|
5919
|
+
static components: {
|
|
5920
|
+
ColorPickerWidget: typeof ColorPickerWidget;
|
|
5921
|
+
Section: typeof Section;
|
|
5922
|
+
};
|
|
5923
|
+
static props: {
|
|
5924
|
+
title: StringConstructor;
|
|
5925
|
+
update: FunctionConstructor;
|
|
5926
|
+
};
|
|
5927
|
+
updateTitle(ev: InputEvent): void;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5602
5930
|
interface Props$G {
|
|
5603
5931
|
figureId: UID;
|
|
5604
5932
|
definition: LineChartDefinition | BarChartDefinition | PieChartDefinition;
|
|
@@ -5608,14 +5936,20 @@ interface Props$G {
|
|
|
5608
5936
|
declare class LineBarPieDesignPanel extends Component<Props$G, SpreadsheetChildEnv> {
|
|
5609
5937
|
static template: string;
|
|
5610
5938
|
static components: {
|
|
5939
|
+
ChartColor: typeof ChartColor;
|
|
5611
5940
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
5941
|
+
ChartTitle: typeof ChartTitle;
|
|
5942
|
+
Section: typeof Section;
|
|
5612
5943
|
};
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5944
|
+
static props: {
|
|
5945
|
+
figureId: StringConstructor;
|
|
5946
|
+
definition: ObjectConstructor;
|
|
5947
|
+
updateChart: FunctionConstructor;
|
|
5948
|
+
canUpdateChart: FunctionConstructor;
|
|
5949
|
+
};
|
|
5950
|
+
get title(): string;
|
|
5617
5951
|
updateBackgroundColor(color: Color): void;
|
|
5618
|
-
updateTitle(): void;
|
|
5952
|
+
updateTitle(title: string): void;
|
|
5619
5953
|
updateSelect(attr: string, ev: any): void;
|
|
5620
5954
|
}
|
|
5621
5955
|
|
|
@@ -5629,7 +5963,14 @@ declare class GaugeChartConfigPanel extends Component<Props$F, SpreadsheetChildE
|
|
|
5629
5963
|
static template: string;
|
|
5630
5964
|
static components: {
|
|
5631
5965
|
SelectionInput: typeof SelectionInput;
|
|
5632
|
-
|
|
5966
|
+
ChartErrorSection: typeof ChartErrorSection;
|
|
5967
|
+
ChartDataSeries: typeof ChartDataSeries;
|
|
5968
|
+
};
|
|
5969
|
+
static props: {
|
|
5970
|
+
figureId: StringConstructor;
|
|
5971
|
+
definition: ObjectConstructor;
|
|
5972
|
+
updateChart: FunctionConstructor;
|
|
5973
|
+
canUpdateChart: FunctionConstructor;
|
|
5633
5974
|
};
|
|
5634
5975
|
private state;
|
|
5635
5976
|
private dataRange;
|
|
@@ -5640,7 +5981,7 @@ declare class GaugeChartConfigPanel extends Component<Props$F, SpreadsheetChildE
|
|
|
5640
5981
|
getDataRange(): string;
|
|
5641
5982
|
}
|
|
5642
5983
|
|
|
5643
|
-
type GaugeMenu = "
|
|
5984
|
+
type GaugeMenu = "sectionColor-lowerColor" | "sectionColor-middleColor" | "sectionColor-upperColor";
|
|
5644
5985
|
interface Props$E {
|
|
5645
5986
|
figureId: UID;
|
|
5646
5987
|
definition: GaugeChartDefinition;
|
|
@@ -5651,13 +5992,23 @@ declare class GaugeChartDesignPanel extends Component<Props$E, SpreadsheetChildE
|
|
|
5651
5992
|
static template: string;
|
|
5652
5993
|
static components: {
|
|
5653
5994
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
5654
|
-
|
|
5995
|
+
ChartErrorSection: typeof ChartErrorSection;
|
|
5996
|
+
ChartColor: typeof ChartColor;
|
|
5997
|
+
ChartTitle: typeof ChartTitle;
|
|
5998
|
+
Section: typeof Section;
|
|
5999
|
+
};
|
|
6000
|
+
static props: {
|
|
6001
|
+
figureId: StringConstructor;
|
|
6002
|
+
definition: ObjectConstructor;
|
|
6003
|
+
updateChart: FunctionConstructor;
|
|
6004
|
+
canUpdateChart: FunctionConstructor;
|
|
5655
6005
|
};
|
|
5656
6006
|
private state;
|
|
5657
6007
|
setup(): void;
|
|
6008
|
+
get title(): string;
|
|
5658
6009
|
get designErrorMessages(): string[];
|
|
5659
6010
|
updateBackgroundColor(color: Color): void;
|
|
5660
|
-
updateTitle(): void;
|
|
6011
|
+
updateTitle(title: string): void;
|
|
5661
6012
|
isRangeMinInvalid(): boolean;
|
|
5662
6013
|
isRangeMaxInvalid(): boolean;
|
|
5663
6014
|
get isLowerInflectionPointInvalid(): boolean;
|
|
@@ -5672,10 +6023,18 @@ declare class GaugeChartDesignPanel extends Component<Props$E, SpreadsheetChildE
|
|
|
5672
6023
|
declare class LineConfigPanel extends LineBarPieConfigPanel {
|
|
5673
6024
|
static template: string;
|
|
5674
6025
|
get canTreatLabelsAsText(): boolean;
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
6026
|
+
get stackedLabel(): string;
|
|
6027
|
+
get cumulativeLabel(): string;
|
|
6028
|
+
getLabelRangeOptions(): {
|
|
6029
|
+
name: string;
|
|
6030
|
+
label: string;
|
|
6031
|
+
value: boolean | undefined;
|
|
6032
|
+
onChange: (aggregated: boolean) => void;
|
|
6033
|
+
}[];
|
|
6034
|
+
onUpdateLabelsAsText(labelsAsText: boolean): void;
|
|
6035
|
+
onUpdateStacked(stacked: boolean): void;
|
|
6036
|
+
onUpdateAggregated(aggregated: boolean): void;
|
|
6037
|
+
onUpdateCumulative(cumulative: boolean): void;
|
|
5679
6038
|
}
|
|
5680
6039
|
|
|
5681
6040
|
interface Props$D {
|
|
@@ -5689,6 +6048,14 @@ declare class ScorecardChartConfigPanel extends Component<Props$D, SpreadsheetCh
|
|
|
5689
6048
|
static components: {
|
|
5690
6049
|
SelectionInput: typeof SelectionInput;
|
|
5691
6050
|
ValidationMessages: typeof ValidationMessages;
|
|
6051
|
+
ChartErrorSection: typeof ChartErrorSection;
|
|
6052
|
+
Section: typeof Section;
|
|
6053
|
+
};
|
|
6054
|
+
static props: {
|
|
6055
|
+
figureId: StringConstructor;
|
|
6056
|
+
definition: ObjectConstructor;
|
|
6057
|
+
updateChart: FunctionConstructor;
|
|
6058
|
+
canUpdateChart: FunctionConstructor;
|
|
5692
6059
|
};
|
|
5693
6060
|
private state;
|
|
5694
6061
|
private keyValue;
|
|
@@ -5716,10 +6083,20 @@ declare class ScorecardChartDesignPanel extends Component<Props$C, SpreadsheetCh
|
|
|
5716
6083
|
static template: string;
|
|
5717
6084
|
static components: {
|
|
5718
6085
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6086
|
+
ChartColor: typeof ChartColor;
|
|
6087
|
+
ChartTitle: typeof ChartTitle;
|
|
6088
|
+
Section: typeof Section;
|
|
6089
|
+
};
|
|
6090
|
+
static props: {
|
|
6091
|
+
figureId: StringConstructor;
|
|
6092
|
+
definition: ObjectConstructor;
|
|
6093
|
+
updateChart: FunctionConstructor;
|
|
6094
|
+
canUpdateChart: FunctionConstructor;
|
|
5719
6095
|
};
|
|
5720
6096
|
private state;
|
|
5721
6097
|
setup(): void;
|
|
5722
|
-
|
|
6098
|
+
get title(): string;
|
|
6099
|
+
updateTitle(title: string): void;
|
|
5723
6100
|
translate(term: any): string;
|
|
5724
6101
|
updateBaselineDescr(ev: any): void;
|
|
5725
6102
|
toggleColorPicker(colorPickerId: ColorPickerId): void;
|
|
@@ -5868,6 +6245,9 @@ interface Props$B {
|
|
|
5868
6245
|
}
|
|
5869
6246
|
declare class ChartJsComponent extends Component<Props$B, SpreadsheetChildEnv> {
|
|
5870
6247
|
static template: string;
|
|
6248
|
+
static props: {
|
|
6249
|
+
figure: ObjectConstructor;
|
|
6250
|
+
};
|
|
5871
6251
|
private canvas;
|
|
5872
6252
|
private chart?;
|
|
5873
6253
|
get background(): string;
|
|
@@ -5883,6 +6263,9 @@ interface Props$A {
|
|
|
5883
6263
|
}
|
|
5884
6264
|
declare class ScorecardChart extends Component<Props$A, SpreadsheetChildEnv> {
|
|
5885
6265
|
static template: string;
|
|
6266
|
+
static props: {
|
|
6267
|
+
figure: ObjectConstructor;
|
|
6268
|
+
};
|
|
5886
6269
|
private canvas;
|
|
5887
6270
|
get runtime(): ScorecardChartRuntime;
|
|
5888
6271
|
setup(): void;
|
|
@@ -5908,6 +6291,27 @@ interface MenuState {
|
|
|
5908
6291
|
}
|
|
5909
6292
|
declare class Menu extends Component<Props$z, SpreadsheetChildEnv> {
|
|
5910
6293
|
static template: string;
|
|
6294
|
+
static props: {
|
|
6295
|
+
position: ObjectConstructor;
|
|
6296
|
+
menuItems: ArrayConstructor;
|
|
6297
|
+
depth: {
|
|
6298
|
+
type: NumberConstructor;
|
|
6299
|
+
optional: boolean;
|
|
6300
|
+
};
|
|
6301
|
+
maxHeight: {
|
|
6302
|
+
type: NumberConstructor;
|
|
6303
|
+
optional: boolean;
|
|
6304
|
+
};
|
|
6305
|
+
onClose: FunctionConstructor;
|
|
6306
|
+
onMenuClicked: {
|
|
6307
|
+
type: FunctionConstructor;
|
|
6308
|
+
optional: boolean;
|
|
6309
|
+
};
|
|
6310
|
+
menuId: {
|
|
6311
|
+
type: StringConstructor;
|
|
6312
|
+
optional: boolean;
|
|
6313
|
+
};
|
|
6314
|
+
};
|
|
5911
6315
|
static components: {
|
|
5912
6316
|
Menu: typeof Menu;
|
|
5913
6317
|
Popover: typeof Popover;
|
|
@@ -5953,6 +6357,25 @@ interface Props$y {
|
|
|
5953
6357
|
}
|
|
5954
6358
|
declare class FigureComponent extends Component<Props$y, SpreadsheetChildEnv> {
|
|
5955
6359
|
static template: string;
|
|
6360
|
+
static props: {
|
|
6361
|
+
figure: ObjectConstructor;
|
|
6362
|
+
style: {
|
|
6363
|
+
type: StringConstructor;
|
|
6364
|
+
optional: boolean;
|
|
6365
|
+
};
|
|
6366
|
+
onFigureDeleted: {
|
|
6367
|
+
type: FunctionConstructor;
|
|
6368
|
+
optional: boolean;
|
|
6369
|
+
};
|
|
6370
|
+
onMouseDown: {
|
|
6371
|
+
type: FunctionConstructor;
|
|
6372
|
+
optional: boolean;
|
|
6373
|
+
};
|
|
6374
|
+
onClickAnchor: {
|
|
6375
|
+
type: FunctionConstructor;
|
|
6376
|
+
optional: boolean;
|
|
6377
|
+
};
|
|
6378
|
+
};
|
|
5956
6379
|
static components: {
|
|
5957
6380
|
Menu: typeof Menu;
|
|
5958
6381
|
};
|
|
@@ -5987,6 +6410,10 @@ interface Props$x {
|
|
|
5987
6410
|
}
|
|
5988
6411
|
declare class ChartFigure extends Component<Props$x, SpreadsheetChildEnv> {
|
|
5989
6412
|
static template: string;
|
|
6413
|
+
static props: {
|
|
6414
|
+
figure: ObjectConstructor;
|
|
6415
|
+
onFigureDeleted: FunctionConstructor;
|
|
6416
|
+
};
|
|
5990
6417
|
static components: {};
|
|
5991
6418
|
onDoubleClick(): void;
|
|
5992
6419
|
get chartType(): ChartType;
|
|
@@ -6007,6 +6434,10 @@ interface State$6 {
|
|
|
6007
6434
|
}
|
|
6008
6435
|
declare class Autofill extends Component<Props$w, SpreadsheetChildEnv> {
|
|
6009
6436
|
static template: string;
|
|
6437
|
+
static props: {
|
|
6438
|
+
position: ObjectConstructor;
|
|
6439
|
+
isVisible: BooleanConstructor;
|
|
6440
|
+
};
|
|
6010
6441
|
state: State$6;
|
|
6011
6442
|
get style(): string;
|
|
6012
6443
|
get handlerStyle(): string;
|
|
@@ -6025,6 +6456,13 @@ interface ClientTagProps {
|
|
|
6025
6456
|
}
|
|
6026
6457
|
declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
6027
6458
|
static template: string;
|
|
6459
|
+
static props: {
|
|
6460
|
+
active: BooleanConstructor;
|
|
6461
|
+
name: StringConstructor;
|
|
6462
|
+
color: StringConstructor;
|
|
6463
|
+
col: NumberConstructor;
|
|
6464
|
+
row: NumberConstructor;
|
|
6465
|
+
};
|
|
6028
6466
|
get tagStyle(): string;
|
|
6029
6467
|
}
|
|
6030
6468
|
|
|
@@ -6052,12 +6490,77 @@ interface RippleEffectProps extends Omit<Required<RippleProps>, "ignoreClickPosi
|
|
|
6052
6490
|
}
|
|
6053
6491
|
declare class RippleEffect extends Component<RippleEffectProps, SpreadsheetChildEnv> {
|
|
6054
6492
|
static template: string;
|
|
6493
|
+
static props: {
|
|
6494
|
+
x: StringConstructor;
|
|
6495
|
+
y: StringConstructor;
|
|
6496
|
+
color: StringConstructor;
|
|
6497
|
+
opacity: NumberConstructor;
|
|
6498
|
+
duration: NumberConstructor;
|
|
6499
|
+
width: NumberConstructor;
|
|
6500
|
+
height: NumberConstructor;
|
|
6501
|
+
offsetY: NumberConstructor;
|
|
6502
|
+
offsetX: NumberConstructor;
|
|
6503
|
+
allowOverflow: BooleanConstructor;
|
|
6504
|
+
onAnimationEnd: FunctionConstructor;
|
|
6505
|
+
style: StringConstructor;
|
|
6506
|
+
};
|
|
6055
6507
|
private rippleRef;
|
|
6056
6508
|
setup(): void;
|
|
6057
6509
|
get rippleStyle(): string;
|
|
6058
6510
|
}
|
|
6059
6511
|
declare class Ripple extends Component<RippleProps, SpreadsheetChildEnv> {
|
|
6060
6512
|
static template: string;
|
|
6513
|
+
static props: {
|
|
6514
|
+
color: {
|
|
6515
|
+
type: StringConstructor;
|
|
6516
|
+
optional: boolean;
|
|
6517
|
+
};
|
|
6518
|
+
opacity: {
|
|
6519
|
+
type: NumberConstructor;
|
|
6520
|
+
optional: boolean;
|
|
6521
|
+
};
|
|
6522
|
+
duration: {
|
|
6523
|
+
type: NumberConstructor;
|
|
6524
|
+
optional: boolean;
|
|
6525
|
+
};
|
|
6526
|
+
ignoreClickPosition: {
|
|
6527
|
+
type: BooleanConstructor;
|
|
6528
|
+
optional: boolean;
|
|
6529
|
+
};
|
|
6530
|
+
width: {
|
|
6531
|
+
type: NumberConstructor;
|
|
6532
|
+
optional: boolean;
|
|
6533
|
+
};
|
|
6534
|
+
height: {
|
|
6535
|
+
type: NumberConstructor;
|
|
6536
|
+
optional: boolean;
|
|
6537
|
+
};
|
|
6538
|
+
offsetY: {
|
|
6539
|
+
type: NumberConstructor;
|
|
6540
|
+
optional: boolean;
|
|
6541
|
+
};
|
|
6542
|
+
offsetX: {
|
|
6543
|
+
type: NumberConstructor;
|
|
6544
|
+
optional: boolean;
|
|
6545
|
+
};
|
|
6546
|
+
allowOverflow: {
|
|
6547
|
+
type: BooleanConstructor;
|
|
6548
|
+
optional: boolean;
|
|
6549
|
+
};
|
|
6550
|
+
enabled: {
|
|
6551
|
+
type: BooleanConstructor;
|
|
6552
|
+
optional: boolean;
|
|
6553
|
+
};
|
|
6554
|
+
onAnimationEnd: {
|
|
6555
|
+
type: FunctionConstructor;
|
|
6556
|
+
optional: boolean;
|
|
6557
|
+
};
|
|
6558
|
+
slots: ObjectConstructor;
|
|
6559
|
+
class: {
|
|
6560
|
+
type: StringConstructor;
|
|
6561
|
+
optional: boolean;
|
|
6562
|
+
};
|
|
6563
|
+
};
|
|
6061
6564
|
static components: {
|
|
6062
6565
|
RippleEffect: typeof RippleEffect;
|
|
6063
6566
|
};
|
|
@@ -6087,6 +6590,18 @@ interface Props$v {
|
|
|
6087
6590
|
}
|
|
6088
6591
|
declare class BottomBarSheet extends Component<Props$v, SpreadsheetChildEnv> {
|
|
6089
6592
|
static template: string;
|
|
6593
|
+
static props: {
|
|
6594
|
+
sheetId: StringConstructor;
|
|
6595
|
+
openContextMenu: FunctionConstructor;
|
|
6596
|
+
style: {
|
|
6597
|
+
type: StringConstructor;
|
|
6598
|
+
optional: boolean;
|
|
6599
|
+
};
|
|
6600
|
+
onMouseDown: {
|
|
6601
|
+
type: FunctionConstructor;
|
|
6602
|
+
optional: boolean;
|
|
6603
|
+
};
|
|
6604
|
+
};
|
|
6090
6605
|
static components: {
|
|
6091
6606
|
Ripple: typeof Ripple;
|
|
6092
6607
|
};
|
|
@@ -6125,6 +6640,10 @@ interface Props$u {
|
|
|
6125
6640
|
}
|
|
6126
6641
|
declare class BottomBarStatistic extends Component<Props$u, SpreadsheetChildEnv> {
|
|
6127
6642
|
static template: string;
|
|
6643
|
+
static props: {
|
|
6644
|
+
openContextMenu: FunctionConstructor;
|
|
6645
|
+
closeContextMenu: FunctionConstructor;
|
|
6646
|
+
};
|
|
6128
6647
|
static components: {
|
|
6129
6648
|
Ripple: typeof Ripple;
|
|
6130
6649
|
};
|
|
@@ -6148,6 +6667,9 @@ interface BottomBarMenuState extends MenuState {
|
|
|
6148
6667
|
}
|
|
6149
6668
|
declare class BottomBar extends Component<Props$t, SpreadsheetChildEnv> {
|
|
6150
6669
|
static template: string;
|
|
6670
|
+
static props: {
|
|
6671
|
+
onClick: FunctionConstructor;
|
|
6672
|
+
};
|
|
6151
6673
|
static components: {
|
|
6152
6674
|
Menu: typeof Menu;
|
|
6153
6675
|
Ripple: typeof Ripple;
|
|
@@ -6192,8 +6714,23 @@ interface GridCellIconProps {
|
|
|
6192
6714
|
offset?: DOMCoordinates;
|
|
6193
6715
|
}
|
|
6194
6716
|
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
6195
|
-
static style: string;
|
|
6196
6717
|
static template: string;
|
|
6718
|
+
static props: {
|
|
6719
|
+
cellPosition: ObjectConstructor;
|
|
6720
|
+
horizontalAlign: {
|
|
6721
|
+
type: StringConstructor;
|
|
6722
|
+
optional: boolean;
|
|
6723
|
+
};
|
|
6724
|
+
verticalAlign: {
|
|
6725
|
+
type: StringConstructor;
|
|
6726
|
+
optional: boolean;
|
|
6727
|
+
};
|
|
6728
|
+
offset: {
|
|
6729
|
+
type: ObjectConstructor;
|
|
6730
|
+
optional: boolean;
|
|
6731
|
+
};
|
|
6732
|
+
slots: ObjectConstructor;
|
|
6733
|
+
};
|
|
6197
6734
|
get iconStyle(): string;
|
|
6198
6735
|
private getIconVerticalPosition;
|
|
6199
6736
|
private getIconHorizontalPosition;
|
|
@@ -6204,8 +6741,10 @@ interface Props$s {
|
|
|
6204
6741
|
cellPosition: CellPosition;
|
|
6205
6742
|
}
|
|
6206
6743
|
declare class FilterIcon extends Component<Props$s, SpreadsheetChildEnv> {
|
|
6207
|
-
static style: string;
|
|
6208
6744
|
static template: string;
|
|
6745
|
+
static props: {
|
|
6746
|
+
cellPosition: ObjectConstructor;
|
|
6747
|
+
};
|
|
6209
6748
|
onClick(): void;
|
|
6210
6749
|
get isFilterActive(): boolean;
|
|
6211
6750
|
}
|
|
@@ -6215,6 +6754,12 @@ interface Props$r {
|
|
|
6215
6754
|
}
|
|
6216
6755
|
declare class FilterIconsOverlay extends Component<Props$r, SpreadsheetChildEnv> {
|
|
6217
6756
|
static template: string;
|
|
6757
|
+
static props: {
|
|
6758
|
+
gridPosition: {
|
|
6759
|
+
type: ObjectConstructor;
|
|
6760
|
+
optional: boolean;
|
|
6761
|
+
};
|
|
6762
|
+
};
|
|
6218
6763
|
static components: {
|
|
6219
6764
|
GridCellIcon: typeof GridCellIcon;
|
|
6220
6765
|
FilterIcon: typeof FilterIcon;
|
|
@@ -6233,6 +6778,9 @@ interface Props$q {
|
|
|
6233
6778
|
}
|
|
6234
6779
|
declare class DataValidationCheckbox extends Component<Props$q, SpreadsheetChildEnv> {
|
|
6235
6780
|
static template: string;
|
|
6781
|
+
static props: {
|
|
6782
|
+
cellPosition: ObjectConstructor;
|
|
6783
|
+
};
|
|
6236
6784
|
onCheckboxChange(ev: Event): void;
|
|
6237
6785
|
get checkBoxValue(): boolean;
|
|
6238
6786
|
get isDisabled(): boolean;
|
|
@@ -6243,11 +6791,15 @@ interface Props$p {
|
|
|
6243
6791
|
}
|
|
6244
6792
|
declare class DataValidationListIcon extends Component<Props$p, SpreadsheetChildEnv> {
|
|
6245
6793
|
static template: string;
|
|
6794
|
+
static props: {
|
|
6795
|
+
cellPosition: ObjectConstructor;
|
|
6796
|
+
};
|
|
6246
6797
|
onClick(): void;
|
|
6247
6798
|
}
|
|
6248
6799
|
|
|
6249
6800
|
declare class DataValidationOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
6250
6801
|
static template: string;
|
|
6802
|
+
static props: {};
|
|
6251
6803
|
static components: {
|
|
6252
6804
|
GridCellIcon: typeof GridCellIcon;
|
|
6253
6805
|
DataValidationCheckbox: typeof DataValidationCheckbox;
|
|
@@ -6348,6 +6900,9 @@ interface DndState {
|
|
|
6348
6900
|
*/
|
|
6349
6901
|
declare class FiguresContainer extends Component<Props$o, SpreadsheetChildEnv> {
|
|
6350
6902
|
static template: string;
|
|
6903
|
+
static props: {
|
|
6904
|
+
onFigureDeleted: FunctionConstructor;
|
|
6905
|
+
};
|
|
6351
6906
|
static components: {
|
|
6352
6907
|
FigureComponent: typeof FigureComponent;
|
|
6353
6908
|
};
|
|
@@ -6383,6 +6938,9 @@ interface Props$n {
|
|
|
6383
6938
|
}
|
|
6384
6939
|
declare class GridAddRowsFooter extends Component<Props$n, SpreadsheetChildEnv> {
|
|
6385
6940
|
static template: string;
|
|
6941
|
+
static props: {
|
|
6942
|
+
focusGrid: FunctionConstructor;
|
|
6943
|
+
};
|
|
6386
6944
|
static components: {
|
|
6387
6945
|
ValidationMessages: typeof ValidationMessages;
|
|
6388
6946
|
};
|
|
@@ -6417,6 +6975,34 @@ interface Props$m {
|
|
|
6417
6975
|
}
|
|
6418
6976
|
declare class GridOverlay extends Component<Props$m, SpreadsheetChildEnv> {
|
|
6419
6977
|
static template: string;
|
|
6978
|
+
static props: {
|
|
6979
|
+
onCellHovered: {
|
|
6980
|
+
type: FunctionConstructor;
|
|
6981
|
+
optional: boolean;
|
|
6982
|
+
};
|
|
6983
|
+
onCellDoubleClicked: {
|
|
6984
|
+
type: FunctionConstructor;
|
|
6985
|
+
optional: boolean;
|
|
6986
|
+
};
|
|
6987
|
+
onCellClicked: {
|
|
6988
|
+
type: FunctionConstructor;
|
|
6989
|
+
optional: boolean;
|
|
6990
|
+
};
|
|
6991
|
+
onCellRightClicked: {
|
|
6992
|
+
type: FunctionConstructor;
|
|
6993
|
+
optional: boolean;
|
|
6994
|
+
};
|
|
6995
|
+
onGridResized: {
|
|
6996
|
+
type: FunctionConstructor;
|
|
6997
|
+
optional: boolean;
|
|
6998
|
+
};
|
|
6999
|
+
onFigureDeleted: {
|
|
7000
|
+
type: FunctionConstructor;
|
|
7001
|
+
optional: boolean;
|
|
7002
|
+
};
|
|
7003
|
+
onGridMoved: FunctionConstructor;
|
|
7004
|
+
gridOverlayDimensions: StringConstructor;
|
|
7005
|
+
};
|
|
6420
7006
|
static components: {
|
|
6421
7007
|
FiguresContainer: typeof FiguresContainer;
|
|
6422
7008
|
DataValidationOverlay: typeof DataValidationOverlay;
|
|
@@ -6450,6 +7036,12 @@ interface Props$l {
|
|
|
6450
7036
|
}
|
|
6451
7037
|
declare class GridPopover extends Component<Props$l, SpreadsheetChildEnv> {
|
|
6452
7038
|
static template: string;
|
|
7039
|
+
static props: {
|
|
7040
|
+
hoveredCell: ObjectConstructor;
|
|
7041
|
+
onClosePopover: FunctionConstructor;
|
|
7042
|
+
onMouseWheel: FunctionConstructor;
|
|
7043
|
+
gridRect: ObjectConstructor;
|
|
7044
|
+
};
|
|
6453
7045
|
static components: {
|
|
6454
7046
|
Popover: typeof Popover;
|
|
6455
7047
|
};
|
|
@@ -6468,6 +7060,20 @@ interface Props$k {
|
|
|
6468
7060
|
onScroll: (offset: Pixel) => void;
|
|
6469
7061
|
}
|
|
6470
7062
|
declare class ScrollBar extends Component<Props$k> {
|
|
7063
|
+
static props: {
|
|
7064
|
+
width: {
|
|
7065
|
+
type: NumberConstructor;
|
|
7066
|
+
optional: boolean;
|
|
7067
|
+
};
|
|
7068
|
+
height: {
|
|
7069
|
+
type: NumberConstructor;
|
|
7070
|
+
optional: boolean;
|
|
7071
|
+
};
|
|
7072
|
+
direction: StringConstructor;
|
|
7073
|
+
position: ObjectConstructor;
|
|
7074
|
+
offset: NumberConstructor;
|
|
7075
|
+
onScroll: FunctionConstructor;
|
|
7076
|
+
};
|
|
6471
7077
|
static template: string;
|
|
6472
7078
|
static defaultProps: {
|
|
6473
7079
|
width: number;
|
|
@@ -6485,6 +7091,12 @@ interface Props$j {
|
|
|
6485
7091
|
leftOffset: number;
|
|
6486
7092
|
}
|
|
6487
7093
|
declare class HorizontalScrollBar extends Component<Props$j, SpreadsheetChildEnv> {
|
|
7094
|
+
static props: {
|
|
7095
|
+
leftOffset: {
|
|
7096
|
+
type: NumberConstructor;
|
|
7097
|
+
optional: boolean;
|
|
7098
|
+
};
|
|
7099
|
+
};
|
|
6488
7100
|
static components: {
|
|
6489
7101
|
ScrollBar: typeof ScrollBar;
|
|
6490
7102
|
};
|
|
@@ -6508,6 +7120,12 @@ interface Props$i {
|
|
|
6508
7120
|
topOffset: number;
|
|
6509
7121
|
}
|
|
6510
7122
|
declare class VerticalScrollBar extends Component<Props$i, SpreadsheetChildEnv> {
|
|
7123
|
+
static props: {
|
|
7124
|
+
topOffset: {
|
|
7125
|
+
type: NumberConstructor;
|
|
7126
|
+
optional: boolean;
|
|
7127
|
+
};
|
|
7128
|
+
};
|
|
6511
7129
|
static components: {
|
|
6512
7130
|
ScrollBar: typeof ScrollBar;
|
|
6513
7131
|
};
|
|
@@ -6537,6 +7155,7 @@ interface ClickableCell {
|
|
|
6537
7155
|
}
|
|
6538
7156
|
declare class SpreadsheetDashboard extends Component<Props$h, SpreadsheetChildEnv> {
|
|
6539
7157
|
static template: string;
|
|
7158
|
+
static props: {};
|
|
6540
7159
|
static components: {
|
|
6541
7160
|
GridOverlay: typeof GridOverlay;
|
|
6542
7161
|
GridPopover: typeof GridPopover;
|
|
@@ -6583,6 +7202,11 @@ interface GroupBox {
|
|
|
6583
7202
|
}
|
|
6584
7203
|
declare abstract class AbstractHeaderGroup extends Component<Props$g, SpreadsheetChildEnv> {
|
|
6585
7204
|
static template: string;
|
|
7205
|
+
static props: {
|
|
7206
|
+
group: ObjectConstructor;
|
|
7207
|
+
layerOffset: NumberConstructor;
|
|
7208
|
+
openContextMenu: FunctionConstructor;
|
|
7209
|
+
};
|
|
6586
7210
|
abstract dimension: Dimension;
|
|
6587
7211
|
toggleGroup(): void;
|
|
6588
7212
|
get groupBoxStyle(): string;
|
|
@@ -6614,6 +7238,10 @@ interface Props$f {
|
|
|
6614
7238
|
}
|
|
6615
7239
|
declare class HeaderGroupContainer extends Component<Props$f, SpreadsheetChildEnv> {
|
|
6616
7240
|
static template: string;
|
|
7241
|
+
static props: {
|
|
7242
|
+
dimension: StringConstructor;
|
|
7243
|
+
layers: ArrayConstructor;
|
|
7244
|
+
};
|
|
6617
7245
|
static components: {
|
|
6618
7246
|
RowGroup: typeof RowGroup;
|
|
6619
7247
|
ColGroup: typeof ColGroup;
|
|
@@ -6641,6 +7269,14 @@ interface State$5 {
|
|
|
6641
7269
|
}
|
|
6642
7270
|
declare class SidePanel extends Component<Props$e, SpreadsheetChildEnv> {
|
|
6643
7271
|
static template: string;
|
|
7272
|
+
static props: {
|
|
7273
|
+
component: StringConstructor;
|
|
7274
|
+
panelProps: {
|
|
7275
|
+
type: ObjectConstructor;
|
|
7276
|
+
optional: boolean;
|
|
7277
|
+
};
|
|
7278
|
+
onCloseSidePanel: FunctionConstructor;
|
|
7279
|
+
};
|
|
6644
7280
|
state: State$5;
|
|
6645
7281
|
setup(): void;
|
|
6646
7282
|
getTitle(): string;
|
|
@@ -6940,6 +7576,25 @@ interface Props$d {
|
|
|
6940
7576
|
}
|
|
6941
7577
|
declare class ActionButton extends Component<Props$d, SpreadsheetChildEnv> {
|
|
6942
7578
|
static template: string;
|
|
7579
|
+
static props: {
|
|
7580
|
+
action: ObjectConstructor;
|
|
7581
|
+
hasTriangleDownIcon: {
|
|
7582
|
+
type: BooleanConstructor;
|
|
7583
|
+
optional: boolean;
|
|
7584
|
+
};
|
|
7585
|
+
selectedColor: {
|
|
7586
|
+
type: StringConstructor;
|
|
7587
|
+
optional: boolean;
|
|
7588
|
+
};
|
|
7589
|
+
class: {
|
|
7590
|
+
type: StringConstructor;
|
|
7591
|
+
optional: boolean;
|
|
7592
|
+
};
|
|
7593
|
+
onClick: {
|
|
7594
|
+
type: FunctionConstructor;
|
|
7595
|
+
optional: boolean;
|
|
7596
|
+
};
|
|
7597
|
+
};
|
|
6943
7598
|
private actionButton;
|
|
6944
7599
|
setup(): void;
|
|
6945
7600
|
get isVisible(): boolean;
|
|
@@ -6968,6 +7623,32 @@ interface BorderEditorProps {
|
|
|
6968
7623
|
}
|
|
6969
7624
|
declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChildEnv> {
|
|
6970
7625
|
static template: string;
|
|
7626
|
+
static props: {
|
|
7627
|
+
class: {
|
|
7628
|
+
type: StringConstructor;
|
|
7629
|
+
optional: boolean;
|
|
7630
|
+
};
|
|
7631
|
+
currentBorderColor: {
|
|
7632
|
+
type: StringConstructor;
|
|
7633
|
+
optional: boolean;
|
|
7634
|
+
};
|
|
7635
|
+
currentBorderStyle: {
|
|
7636
|
+
type: StringConstructor;
|
|
7637
|
+
optional: boolean;
|
|
7638
|
+
};
|
|
7639
|
+
currentBorderPosition: {
|
|
7640
|
+
type: StringConstructor;
|
|
7641
|
+
optional: boolean;
|
|
7642
|
+
};
|
|
7643
|
+
onBorderColorPicked: FunctionConstructor;
|
|
7644
|
+
onBorderStylePicked: FunctionConstructor;
|
|
7645
|
+
onBorderPositionPicked: FunctionConstructor;
|
|
7646
|
+
maxHeight: {
|
|
7647
|
+
type: NumberConstructor;
|
|
7648
|
+
optional: boolean;
|
|
7649
|
+
};
|
|
7650
|
+
anchorRect: ObjectConstructor;
|
|
7651
|
+
};
|
|
6971
7652
|
static components: {
|
|
6972
7653
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6973
7654
|
Popover: typeof Popover;
|
|
@@ -7002,6 +7683,22 @@ interface State$3 {
|
|
|
7002
7683
|
}
|
|
7003
7684
|
declare class BorderEditorWidget extends Component<Props$c, SpreadsheetChildEnv> {
|
|
7004
7685
|
static template: string;
|
|
7686
|
+
static props: {
|
|
7687
|
+
toggleBorderEditor: FunctionConstructor;
|
|
7688
|
+
showBorderEditor: BooleanConstructor;
|
|
7689
|
+
disabled: {
|
|
7690
|
+
type: BooleanConstructor;
|
|
7691
|
+
optional: boolean;
|
|
7692
|
+
};
|
|
7693
|
+
dropdownMaxHeight: {
|
|
7694
|
+
type: NumberConstructor;
|
|
7695
|
+
optional: boolean;
|
|
7696
|
+
};
|
|
7697
|
+
class: {
|
|
7698
|
+
type: StringConstructor;
|
|
7699
|
+
optional: boolean;
|
|
7700
|
+
};
|
|
7701
|
+
};
|
|
7005
7702
|
static components: {
|
|
7006
7703
|
BorderEditor: typeof BorderEditor;
|
|
7007
7704
|
};
|
|
@@ -7025,6 +7722,16 @@ interface Props$b {
|
|
|
7025
7722
|
}
|
|
7026
7723
|
declare class TextValueProvider extends Component<Props$b> {
|
|
7027
7724
|
static template: string;
|
|
7725
|
+
static props: {
|
|
7726
|
+
values: ArrayConstructor;
|
|
7727
|
+
selectedIndex: {
|
|
7728
|
+
type: NumberConstructor;
|
|
7729
|
+
optional: boolean;
|
|
7730
|
+
};
|
|
7731
|
+
getHtmlContent: FunctionConstructor;
|
|
7732
|
+
onValueSelected: FunctionConstructor;
|
|
7733
|
+
onValueHovered: FunctionConstructor;
|
|
7734
|
+
};
|
|
7028
7735
|
}
|
|
7029
7736
|
|
|
7030
7737
|
declare class ContentEditableHelper {
|
|
@@ -7097,6 +7804,11 @@ interface AssistantState {
|
|
|
7097
7804
|
}
|
|
7098
7805
|
declare class FunctionDescriptionProvider extends Component<Props$a> {
|
|
7099
7806
|
static template: string;
|
|
7807
|
+
static props: {
|
|
7808
|
+
functionName: StringConstructor;
|
|
7809
|
+
functionDescription: ObjectConstructor;
|
|
7810
|
+
argToFocus: NumberConstructor;
|
|
7811
|
+
};
|
|
7100
7812
|
assistantState: AssistantState;
|
|
7101
7813
|
private timeOutId;
|
|
7102
7814
|
setup(): void;
|
|
@@ -7140,6 +7852,28 @@ interface FunctionDescriptionState {
|
|
|
7140
7852
|
}
|
|
7141
7853
|
declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
7142
7854
|
static template: string;
|
|
7855
|
+
static props: {
|
|
7856
|
+
focus: {
|
|
7857
|
+
validate: (value: string) => boolean;
|
|
7858
|
+
};
|
|
7859
|
+
onComposerContentFocused: FunctionConstructor;
|
|
7860
|
+
inputStyle: {
|
|
7861
|
+
type: StringConstructor;
|
|
7862
|
+
optional: boolean;
|
|
7863
|
+
};
|
|
7864
|
+
rect: {
|
|
7865
|
+
type: ObjectConstructor;
|
|
7866
|
+
optional: boolean;
|
|
7867
|
+
};
|
|
7868
|
+
delimitation: {
|
|
7869
|
+
type: ObjectConstructor;
|
|
7870
|
+
optional: boolean;
|
|
7871
|
+
};
|
|
7872
|
+
onComposerUnmounted: {
|
|
7873
|
+
type: FunctionConstructor;
|
|
7874
|
+
optional: boolean;
|
|
7875
|
+
};
|
|
7876
|
+
};
|
|
7143
7877
|
static components: {
|
|
7144
7878
|
TextValueProvider: typeof TextValueProvider;
|
|
7145
7879
|
FunctionDescriptionProvider: typeof FunctionDescriptionProvider;
|
|
@@ -7221,6 +7955,12 @@ interface Props$9 {
|
|
|
7221
7955
|
}
|
|
7222
7956
|
declare class TopBarComposer extends Component<Props$9, SpreadsheetChildEnv> {
|
|
7223
7957
|
static template: string;
|
|
7958
|
+
static props: {
|
|
7959
|
+
focus: {
|
|
7960
|
+
validate: (value: string) => boolean;
|
|
7961
|
+
};
|
|
7962
|
+
onComposerContentFocused: FunctionConstructor;
|
|
7963
|
+
};
|
|
7224
7964
|
static components: {
|
|
7225
7965
|
Composer: typeof Composer;
|
|
7226
7966
|
};
|
|
@@ -7238,6 +7978,11 @@ interface Props$8 {
|
|
|
7238
7978
|
}
|
|
7239
7979
|
declare class FontSizeEditor extends Component<Props$8, SpreadsheetChildEnv> {
|
|
7240
7980
|
static template: string;
|
|
7981
|
+
static props: {
|
|
7982
|
+
onToggle: FunctionConstructor;
|
|
7983
|
+
dropdownStyle: StringConstructor;
|
|
7984
|
+
class: StringConstructor;
|
|
7985
|
+
};
|
|
7241
7986
|
static components: {};
|
|
7242
7987
|
fontSizes: number[];
|
|
7243
7988
|
dropdown: State$2;
|
|
@@ -7260,6 +8005,12 @@ interface Props$7 {
|
|
|
7260
8005
|
}
|
|
7261
8006
|
declare class PaintFormatButton extends Component<Props$7, SpreadsheetChildEnv> {
|
|
7262
8007
|
static template: string;
|
|
8008
|
+
static props: {
|
|
8009
|
+
class: {
|
|
8010
|
+
type: StringConstructor;
|
|
8011
|
+
optional: boolean;
|
|
8012
|
+
};
|
|
8013
|
+
};
|
|
7263
8014
|
get isActive(): boolean;
|
|
7264
8015
|
onDblClick(): void;
|
|
7265
8016
|
togglePaintFormat(): void;
|
|
@@ -7279,6 +8030,12 @@ interface Props$6 {
|
|
|
7279
8030
|
}
|
|
7280
8031
|
declare class TopBar extends Component<Props$6, SpreadsheetChildEnv> {
|
|
7281
8032
|
static template: string;
|
|
8033
|
+
static props: {
|
|
8034
|
+
onClick: FunctionConstructor;
|
|
8035
|
+
focusComposer: StringConstructor;
|
|
8036
|
+
onComposerContentFocused: FunctionConstructor;
|
|
8037
|
+
dropdownMaxHeight: NumberConstructor;
|
|
8038
|
+
};
|
|
7282
8039
|
get dropdownStyle(): string;
|
|
7283
8040
|
static components: {
|
|
7284
8041
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7329,6 +8086,9 @@ interface ComposerState {
|
|
|
7329
8086
|
}
|
|
7330
8087
|
declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEnv> {
|
|
7331
8088
|
static template: string;
|
|
8089
|
+
static props: {
|
|
8090
|
+
model: ObjectConstructor;
|
|
8091
|
+
};
|
|
7332
8092
|
static components: {
|
|
7333
8093
|
TopBar: typeof TopBar;
|
|
7334
8094
|
Grid: typeof Grid;
|
|
@@ -7383,6 +8143,14 @@ interface Props$5 {
|
|
|
7383
8143
|
*/
|
|
7384
8144
|
declare class GridComposer extends Component<Props$5, SpreadsheetChildEnv> {
|
|
7385
8145
|
static template: string;
|
|
8146
|
+
static props: {
|
|
8147
|
+
focus: {
|
|
8148
|
+
validate: (value: string) => boolean;
|
|
8149
|
+
};
|
|
8150
|
+
onComposerUnmounted: FunctionConstructor;
|
|
8151
|
+
onComposerContentFocused: FunctionConstructor;
|
|
8152
|
+
gridDims: ObjectConstructor;
|
|
8153
|
+
};
|
|
7386
8154
|
static components: {
|
|
7387
8155
|
Composer: typeof Composer;
|
|
7388
8156
|
};
|
|
@@ -7417,6 +8185,9 @@ interface ResizerProps {
|
|
|
7417
8185
|
onOpenContextMenu: (type: ContextMenuType, x: Pixel, y: Pixel) => void;
|
|
7418
8186
|
}
|
|
7419
8187
|
declare abstract class AbstractResizer extends Component<ResizerProps, SpreadsheetChildEnv> {
|
|
8188
|
+
static props: {
|
|
8189
|
+
onOpenContextMenu: FunctionConstructor;
|
|
8190
|
+
};
|
|
7420
8191
|
PADDING: number;
|
|
7421
8192
|
MAX_SIZE_MARGIN: number;
|
|
7422
8193
|
MIN_ELEMENT_SIZE: number;
|
|
@@ -7453,6 +8224,9 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
|
|
|
7453
8224
|
onContextMenu(ev: MouseEvent): void;
|
|
7454
8225
|
}
|
|
7455
8226
|
declare class ColResizer extends AbstractResizer {
|
|
8227
|
+
static props: {
|
|
8228
|
+
onOpenContextMenu: FunctionConstructor;
|
|
8229
|
+
};
|
|
7456
8230
|
static template: string;
|
|
7457
8231
|
private colResizerRef;
|
|
7458
8232
|
setup(): void;
|
|
@@ -7478,6 +8252,9 @@ declare class ColResizer extends AbstractResizer {
|
|
|
7478
8252
|
getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
|
|
7479
8253
|
}
|
|
7480
8254
|
declare class RowResizer extends AbstractResizer {
|
|
8255
|
+
static props: {
|
|
8256
|
+
onOpenContextMenu: FunctionConstructor;
|
|
8257
|
+
};
|
|
7481
8258
|
static template: string;
|
|
7482
8259
|
setup(): void;
|
|
7483
8260
|
private rowResizerRef;
|
|
@@ -7503,6 +8280,9 @@ declare class RowResizer extends AbstractResizer {
|
|
|
7503
8280
|
getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
|
|
7504
8281
|
}
|
|
7505
8282
|
declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
8283
|
+
static props: {
|
|
8284
|
+
onOpenContextMenu: FunctionConstructor;
|
|
8285
|
+
};
|
|
7506
8286
|
static template: string;
|
|
7507
8287
|
static components: {
|
|
7508
8288
|
ColResizer: typeof ColResizer;
|
|
@@ -7520,6 +8300,12 @@ interface Props$4 {
|
|
|
7520
8300
|
}
|
|
7521
8301
|
declare class Border extends Component<Props$4, SpreadsheetChildEnv> {
|
|
7522
8302
|
static template: string;
|
|
8303
|
+
static props: {
|
|
8304
|
+
zone: ObjectConstructor;
|
|
8305
|
+
orientation: StringConstructor;
|
|
8306
|
+
isMoving: BooleanConstructor;
|
|
8307
|
+
onMoveHighlight: FunctionConstructor;
|
|
8308
|
+
};
|
|
7523
8309
|
get style(): string;
|
|
7524
8310
|
onMouseDown(ev: MouseEvent): void;
|
|
7525
8311
|
}
|
|
@@ -7534,6 +8320,13 @@ interface Props$3 {
|
|
|
7534
8320
|
}
|
|
7535
8321
|
declare class Corner extends Component<Props$3, SpreadsheetChildEnv> {
|
|
7536
8322
|
static template: string;
|
|
8323
|
+
static props: {
|
|
8324
|
+
zone: ObjectConstructor;
|
|
8325
|
+
color: StringConstructor;
|
|
8326
|
+
orientation: StringConstructor;
|
|
8327
|
+
isResizing: BooleanConstructor;
|
|
8328
|
+
onResizeHighlight: FunctionConstructor;
|
|
8329
|
+
};
|
|
7537
8330
|
private isTop;
|
|
7538
8331
|
private isLeft;
|
|
7539
8332
|
get style(): string;
|
|
@@ -7549,6 +8342,10 @@ interface HighlightState {
|
|
|
7549
8342
|
}
|
|
7550
8343
|
declare class Highlight extends Component<Props$2, SpreadsheetChildEnv> {
|
|
7551
8344
|
static template: string;
|
|
8345
|
+
static props: {
|
|
8346
|
+
zone: ObjectConstructor;
|
|
8347
|
+
color: StringConstructor;
|
|
8348
|
+
};
|
|
7552
8349
|
static components: {
|
|
7553
8350
|
Corner: typeof Corner;
|
|
7554
8351
|
Border: typeof Border;
|
|
@@ -7578,6 +8375,13 @@ interface Props$1 {
|
|
|
7578
8375
|
}
|
|
7579
8376
|
declare class Grid extends Component<Props$1, SpreadsheetChildEnv> {
|
|
7580
8377
|
static template: string;
|
|
8378
|
+
static props: {
|
|
8379
|
+
sidePanelIsOpen: BooleanConstructor;
|
|
8380
|
+
exposeFocus: FunctionConstructor;
|
|
8381
|
+
focusComposer: StringConstructor;
|
|
8382
|
+
onComposerContentFocused: FunctionConstructor;
|
|
8383
|
+
onGridComposerCellFocused: FunctionConstructor;
|
|
8384
|
+
};
|
|
7581
8385
|
static components: {
|
|
7582
8386
|
GridComposer: typeof GridComposer;
|
|
7583
8387
|
GridOverlay: typeof GridOverlay;
|
|
@@ -7672,6 +8476,12 @@ interface Props {
|
|
|
7672
8476
|
}
|
|
7673
8477
|
declare class ChartPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
7674
8478
|
static template: string;
|
|
8479
|
+
static components: {
|
|
8480
|
+
Section: typeof Section;
|
|
8481
|
+
};
|
|
8482
|
+
static props: {
|
|
8483
|
+
onCloseSidePanel: FunctionConstructor;
|
|
8484
|
+
};
|
|
7675
8485
|
private state;
|
|
7676
8486
|
get figureId(): UID;
|
|
7677
8487
|
setup(): void;
|
|
@@ -7687,7 +8497,7 @@ declare class ChartPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
|
7687
8497
|
declare function toNumber(value: string | number | boolean | null | undefined, locale: Locale): number;
|
|
7688
8498
|
declare function toString(value: string | number | boolean | null | undefined): string;
|
|
7689
8499
|
declare function toBoolean(value: string | number | boolean | null | undefined): boolean;
|
|
7690
|
-
declare function toJsDate(value: string | number | boolean | null | undefined, locale: Locale):
|
|
8500
|
+
declare function toJsDate(value: string | number | boolean | null | undefined, locale: Locale): DateTime;
|
|
7691
8501
|
|
|
7692
8502
|
declare function arg(definition: string, description?: string): ArgDefinition;
|
|
7693
8503
|
|