@@ -631,6 +631,10 @@ declare module 'excelize-wasm' {
631
631
632
632
/**
633
633
* PivotTableField directly maps the field settings of the pivot table.
634
+ *
635
+ * Name specifies the name of the data field. Maximum 255 characters
636
+ * are allowed in data field name, excess characters will be truncated.
637
+ *
634
638
* Subtotal specifies the aggregation function that applies to this data
635
639
* field. The default value is sum. The possible values for this attribute
636
640
* are:
@@ -647,8 +651,9 @@ declare module 'excelize-wasm' {
647
651
* Var
648
652
* Varp
649
653
*
650
- * Name specifies the name of the data field. Maximum 255 characters
651
- * are allowed in data field name, excess characters will be truncated.
654
+ * NumFmt specifies the number format ID of the data field, this filed only
655
+ * accepts built-in number format ID and does not support custom number format
656
+ * expression currently.
652
657
*/
653
658
export type PivotTableField = {
654
659
Compact ?: boolean ;
@@ -657,6 +662,7 @@ declare module 'excelize-wasm' {
657
662
Outline ?: boolean ;
658
663
Subtotal ?: string ;
659
664
DefaultSubtotal ?: boolean ;
665
+ NumFmt ?: number ;
660
666
} ;
661
667
662
668
/**
@@ -851,7 +857,9 @@ declare module 'excelize-wasm' {
851
857
BlackAndWhite ?: boolean ;
852
858
} ;
853
859
854
- // PageLayoutMarginsOptions directly maps the settings of page layout margins.
860
+ /**
861
+ * PageLayoutMarginsOptions directly maps the settings of page layout margins.
862
+ */
855
863
export type PageLayoutMarginsOptions = {
856
864
Bottom ?: number ;
857
865
Footer ?: number ;
@@ -863,7 +871,9 @@ declare module 'excelize-wasm' {
863
871
Vertically ?: boolean ;
864
872
} ;
865
873
866
- // SheetPropsOptions directly maps the settings of sheet view.
874
+ /*
875
+ * SheetPropsOptions directly maps the settings of sheet view.
876
+ */
867
877
export type SheetPropsOptions = {
868
878
// Specifies a stable name of the sheet, which should not change over time,
869
879
// and does not change from user input. This name should be used by code
@@ -3680,8 +3690,8 @@ declare module 'excelize-wasm' {
3680
3690
ChartDataLabelsPositionRight : typeof ChartDataLabelPositionType . ChartDataLabelsPositionRight ;
3681
3691
ChartDataLabelsPositionAbove : typeof ChartDataLabelPositionType . ChartDataLabelsPositionAbove ;
3682
3692
ChartTickLabelNextToAxis : typeof ChartTickLabelPositionType . ChartTickLabelNextToAxis ;
3683
- ChartTickLabelHigh : typeof ChartTickLabelPositionType . ChartTickLabelHigh ;
3684
- ChartTickLabelLow : typeof ChartTickLabelPositionType . ChartTickLabelLow ;
3685
- ChartTickLabelNone : typeof ChartTickLabelPositionType . ChartTickLabelNone ;
3693
+ ChartTickLabelHigh : typeof ChartTickLabelPositionType . ChartTickLabelHigh ;
3694
+ ChartTickLabelLow : typeof ChartTickLabelPositionType . ChartTickLabelLow ;
3695
+ ChartTickLabelNone : typeof ChartTickLabelPositionType . ChartTickLabelNone ;
3686
3696
} > ;
3687
3697
}
0 commit comments