@extend-ai/react-xlsx 0.16.1 → 0.16.3

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/index.d.cts CHANGED
@@ -62,7 +62,25 @@ interface XlsxConditionalIconSetRule {
62
62
  reverse?: boolean;
63
63
  showValue?: boolean;
64
64
  }
65
- type XlsxConditionalFormatRule = XlsxConditionalColorScaleRule | XlsxConditionalDataBarRule | XlsxConditionalIconSetRule;
65
+ interface XlsxConditionalStyledRule {
66
+ aboveAverage?: boolean;
67
+ bottom?: boolean;
68
+ equalAverage?: boolean;
69
+ formulas: string[];
70
+ kind: "styled";
71
+ operator?: string;
72
+ percent?: boolean;
73
+ priority: number;
74
+ rank?: number;
75
+ ranges: XlsxCellRange[];
76
+ ruleType: string;
77
+ stdDev?: number;
78
+ stopIfTrue?: boolean;
79
+ style: XlsxResolvedCellStyle;
80
+ text?: string;
81
+ timePeriod?: string;
82
+ }
83
+ type XlsxConditionalFormatRule = XlsxConditionalColorScaleRule | XlsxConditionalStyledRule | XlsxConditionalDataBarRule | XlsxConditionalIconSetRule;
66
84
  interface XlsxDataValidation {
67
85
  allowBlank?: boolean;
68
86
  errorMessage?: string;
@@ -81,6 +99,7 @@ interface XlsxFreezePanes {
81
99
  }
82
100
  type XlsxSheetVisibility = "hidden" | "veryHidden" | "visible";
83
101
  interface XlsxSheetData {
102
+ autoFilterRanges: XlsxCellRange[];
84
103
  cachedFormulaValues: Record<string, string>;
85
104
  colWidthOverridesPx: Record<number, number>;
86
105
  colStyleIds: Record<number, number>;
package/dist/index.d.ts CHANGED
@@ -62,7 +62,25 @@ interface XlsxConditionalIconSetRule {
62
62
  reverse?: boolean;
63
63
  showValue?: boolean;
64
64
  }
65
- type XlsxConditionalFormatRule = XlsxConditionalColorScaleRule | XlsxConditionalDataBarRule | XlsxConditionalIconSetRule;
65
+ interface XlsxConditionalStyledRule {
66
+ aboveAverage?: boolean;
67
+ bottom?: boolean;
68
+ equalAverage?: boolean;
69
+ formulas: string[];
70
+ kind: "styled";
71
+ operator?: string;
72
+ percent?: boolean;
73
+ priority: number;
74
+ rank?: number;
75
+ ranges: XlsxCellRange[];
76
+ ruleType: string;
77
+ stdDev?: number;
78
+ stopIfTrue?: boolean;
79
+ style: XlsxResolvedCellStyle;
80
+ text?: string;
81
+ timePeriod?: string;
82
+ }
83
+ type XlsxConditionalFormatRule = XlsxConditionalColorScaleRule | XlsxConditionalStyledRule | XlsxConditionalDataBarRule | XlsxConditionalIconSetRule;
66
84
  interface XlsxDataValidation {
67
85
  allowBlank?: boolean;
68
86
  errorMessage?: string;
@@ -81,6 +99,7 @@ interface XlsxFreezePanes {
81
99
  }
82
100
  type XlsxSheetVisibility = "hidden" | "veryHidden" | "visible";
83
101
  interface XlsxSheetData {
102
+ autoFilterRanges: XlsxCellRange[];
84
103
  cachedFormulaValues: Record<string, string>;
85
104
  colWidthOverridesPx: Record<number, number>;
86
105
  colStyleIds: Record<number, number>;