@odoo/o-spreadsheet 19.1.0-alpha.1 → 19.1.0-alpha.2
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 +121 -2906
- package/dist/o-spreadsheet.d.ts +13 -34
- package/dist/o-spreadsheet.esm.js +121 -2906
- package/dist/o-spreadsheet.iife.js +121 -2906
- package/dist/o-spreadsheet.iife.min.js +349 -2880
- package/dist/o_spreadsheet.xml +16 -12
- package/package.json +15 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -7758,34 +7758,6 @@ declare class ActionButton extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
|
7758
7758
|
get buttonStyle(): string;
|
|
7759
7759
|
}
|
|
7760
7760
|
|
|
7761
|
-
declare enum ComponentsImportance {
|
|
7762
|
-
Grid = 0,
|
|
7763
|
-
Highlight = 5,
|
|
7764
|
-
HeaderGroupingButton = 6,
|
|
7765
|
-
Figure = 10,
|
|
7766
|
-
ScrollBar = 15,
|
|
7767
|
-
GridPopover = 19,
|
|
7768
|
-
GridComposer = 20,
|
|
7769
|
-
IconPicker = 25,
|
|
7770
|
-
TopBarComposer = 30,
|
|
7771
|
-
Popover = 35,
|
|
7772
|
-
FigureAnchor = 1000,
|
|
7773
|
-
FigureSnapLine = 1001,
|
|
7774
|
-
FigureTooltip = 1002
|
|
7775
|
-
}
|
|
7776
|
-
declare function setDefaultSheetViewSize(size: number): void;
|
|
7777
|
-
declare const tokenColors: {
|
|
7778
|
-
readonly OPERATOR: "#3da4ab";
|
|
7779
|
-
readonly NUMBER: "#02c39a";
|
|
7780
|
-
readonly STRING: "#00a82d";
|
|
7781
|
-
readonly FUNCTION: Color;
|
|
7782
|
-
readonly DEBUGGER: "#3da4ab";
|
|
7783
|
-
readonly LEFT_PAREN: Color;
|
|
7784
|
-
readonly RIGHT_PAREN: Color;
|
|
7785
|
-
readonly ARG_SEPARATOR: Color;
|
|
7786
|
-
readonly ORPHAN_RIGHT_PAREN: "#ff0000";
|
|
7787
|
-
};
|
|
7788
|
-
|
|
7789
7761
|
interface PopoverProps {
|
|
7790
7762
|
/**
|
|
7791
7763
|
* Rectangle around which the popover is displayed.
|
|
@@ -7801,8 +7773,6 @@ interface PopoverProps {
|
|
|
7801
7773
|
onMouseWheel?: () => void;
|
|
7802
7774
|
onPopoverMoved?: () => void;
|
|
7803
7775
|
onPopoverHidden?: () => void;
|
|
7804
|
-
/** Setting popover to allow dynamic zIndex */
|
|
7805
|
-
zIndex?: Number;
|
|
7806
7776
|
class?: string;
|
|
7807
7777
|
}
|
|
7808
7778
|
declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
@@ -7857,7 +7827,6 @@ declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
|
7857
7827
|
onMouseWheel: () => void;
|
|
7858
7828
|
onPopoverMoved: () => void;
|
|
7859
7829
|
onPopoverHidden: () => void;
|
|
7860
|
-
zIndex: ComponentsImportance;
|
|
7861
7830
|
};
|
|
7862
7831
|
private popoverRef;
|
|
7863
7832
|
private popoverContentRef;
|
|
@@ -7866,7 +7835,6 @@ declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
|
7866
7835
|
private spreadsheetRect;
|
|
7867
7836
|
private containerRect;
|
|
7868
7837
|
setup(): void;
|
|
7869
|
-
get popoverStyle(): string;
|
|
7870
7838
|
private computePopoverPosition;
|
|
7871
7839
|
}
|
|
7872
7840
|
|
|
@@ -10081,7 +10049,6 @@ declare class GridPopover extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
10081
10049
|
Popover: typeof Popover;
|
|
10082
10050
|
};
|
|
10083
10051
|
protected cellPopovers: Store<CellPopoverStore>;
|
|
10084
|
-
zIndex: ComponentsImportance;
|
|
10085
10052
|
setup(): void;
|
|
10086
10053
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
10087
10054
|
}
|
|
@@ -12680,7 +12647,6 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
12680
12647
|
setup(): void;
|
|
12681
12648
|
get focus(): ComposerFocusType;
|
|
12682
12649
|
get composerStyle(): string;
|
|
12683
|
-
get containerStyle(): string;
|
|
12684
12650
|
onFocus(selection: ComposerSelection): void;
|
|
12685
12651
|
}
|
|
12686
12652
|
|
|
@@ -12819,6 +12785,19 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12819
12785
|
};
|
|
12820
12786
|
}
|
|
12821
12787
|
|
|
12788
|
+
declare function setDefaultSheetViewSize(size: number): void;
|
|
12789
|
+
declare const tokenColors: {
|
|
12790
|
+
readonly OPERATOR: "#3da4ab";
|
|
12791
|
+
readonly NUMBER: "#02c39a";
|
|
12792
|
+
readonly STRING: "#00a82d";
|
|
12793
|
+
readonly FUNCTION: Color;
|
|
12794
|
+
readonly DEBUGGER: "#3da4ab";
|
|
12795
|
+
readonly LEFT_PAREN: Color;
|
|
12796
|
+
readonly RIGHT_PAREN: Color;
|
|
12797
|
+
readonly ARG_SEPARATOR: Color;
|
|
12798
|
+
readonly ORPHAN_RIGHT_PAREN: "#ff0000";
|
|
12799
|
+
};
|
|
12800
|
+
|
|
12822
12801
|
/**
|
|
12823
12802
|
* Converts an ast formula to the corresponding string
|
|
12824
12803
|
*/
|