@odoo/o-spreadsheet 18.0.28 → 18.0.30
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 +354 -243
- package/dist/o-spreadsheet.d.ts +33 -32
- package/dist/o-spreadsheet.esm.js +354 -243
- package/dist/o-spreadsheet.iife.js +354 -243
- package/dist/o-spreadsheet.iife.min.js +364 -364
- package/dist/o_spreadsheet.xml +6 -5
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -5693,6 +5693,38 @@ declare class ColorGenerator {
|
|
|
5693
5693
|
next(): string;
|
|
5694
5694
|
}
|
|
5695
5695
|
|
|
5696
|
+
/**
|
|
5697
|
+
* Deep copy arrays, plain objects and primitive values.
|
|
5698
|
+
* Throws an error for other types such as class instances.
|
|
5699
|
+
* Sparse arrays remain sparse.
|
|
5700
|
+
*/
|
|
5701
|
+
declare function deepCopy<T>(obj: T): T;
|
|
5702
|
+
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
5703
|
+
/** Replace the excel-excluded characters of a sheetName */
|
|
5704
|
+
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
5705
|
+
declare function isMarkdownLink(str: string): boolean;
|
|
5706
|
+
/**
|
|
5707
|
+
* Build a markdown link from a label and an url
|
|
5708
|
+
*/
|
|
5709
|
+
declare function markdownLink(label: string, url: string): string;
|
|
5710
|
+
declare function parseMarkdownLink(str: string): {
|
|
5711
|
+
url: string;
|
|
5712
|
+
label: string;
|
|
5713
|
+
};
|
|
5714
|
+
/**
|
|
5715
|
+
* This helper function can be used as a type guard when filtering arrays.
|
|
5716
|
+
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
5717
|
+
*/
|
|
5718
|
+
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
5719
|
+
/**
|
|
5720
|
+
* Lazy value computed by the provided function.
|
|
5721
|
+
*/
|
|
5722
|
+
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
5723
|
+
/**
|
|
5724
|
+
* Compares two objects.
|
|
5725
|
+
*/
|
|
5726
|
+
declare function deepEquals(o1: any, o2: any): boolean;
|
|
5727
|
+
|
|
5696
5728
|
/**
|
|
5697
5729
|
* Convert a (col) number to the corresponding letter.
|
|
5698
5730
|
*
|
|
@@ -5769,38 +5801,6 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
|
|
|
5769
5801
|
}): FormattedValue;
|
|
5770
5802
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
5771
5803
|
|
|
5772
|
-
/**
|
|
5773
|
-
* Deep copy arrays, plain objects and primitive values.
|
|
5774
|
-
* Throws an error for other types such as class instances.
|
|
5775
|
-
* Sparse arrays remain sparse.
|
|
5776
|
-
*/
|
|
5777
|
-
declare function deepCopy<T>(obj: T): T;
|
|
5778
|
-
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
5779
|
-
/** Replace the excel-excluded characters of a sheetName */
|
|
5780
|
-
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
5781
|
-
declare function isMarkdownLink(str: string): boolean;
|
|
5782
|
-
/**
|
|
5783
|
-
* Build a markdown link from a label and an url
|
|
5784
|
-
*/
|
|
5785
|
-
declare function markdownLink(label: string, url: string): string;
|
|
5786
|
-
declare function parseMarkdownLink(str: string): {
|
|
5787
|
-
url: string;
|
|
5788
|
-
label: string;
|
|
5789
|
-
};
|
|
5790
|
-
/**
|
|
5791
|
-
* This helper function can be used as a type guard when filtering arrays.
|
|
5792
|
-
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
5793
|
-
*/
|
|
5794
|
-
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
5795
|
-
/**
|
|
5796
|
-
* Lazy value computed by the provided function.
|
|
5797
|
-
*/
|
|
5798
|
-
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
5799
|
-
/**
|
|
5800
|
-
* Compares two objects.
|
|
5801
|
-
*/
|
|
5802
|
-
declare function deepEquals(o1: any, o2: any): boolean;
|
|
5803
|
-
|
|
5804
5804
|
/**
|
|
5805
5805
|
* Return true if the argument is a "number string".
|
|
5806
5806
|
*
|
|
@@ -9847,6 +9847,7 @@ declare class PivotMeasureEditor extends Component<Props$f> {
|
|
|
9847
9847
|
updateName(measure: PivotMeasure, userDefinedName?: string): void;
|
|
9848
9848
|
toggleMeasureVisibility(): void;
|
|
9849
9849
|
openShowValuesAs(): void;
|
|
9850
|
+
get isCalculatedMeasureInvalid(): boolean;
|
|
9850
9851
|
}
|
|
9851
9852
|
|
|
9852
9853
|
interface Props$e {
|