@fileverse-dev/dsheet 2.0.12 → 2.0.13-multi-ref

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.
@@ -29,6 +29,7 @@ export declare class FormulaCache {
29
29
  formulaKeyboardRefSync?: boolean;
30
30
  formulaEditorOwner?: "cell" | "fx" | null;
31
31
  functionRangeIndex?: number[];
32
+ functionRangeGlobalOffset?: number | null;
32
33
  functionlistMap: any;
33
34
  execFunctionExist?: any[];
34
35
  execFunctionGlobalData: any;
@@ -104,6 +105,7 @@ export declare function markRangeSelectionDirty(ctx: Context): void;
104
105
  */
105
106
  export declare function getFormulaRangeIndexForKeyboardSync($editor: HTMLDivElement): number | null;
106
107
  export declare function handleFormulaInput(ctx: Context, $copyTo: HTMLDivElement | null | undefined, $editor: HTMLDivElement, kcode: number, preText?: string, refreshRangeSelect?: boolean): void;
108
+ export declare function toggleFormulaAbsoluteReferenceAtCaret(ctx: Context, $copyTo: HTMLDivElement | null | undefined, $editor: HTMLDivElement | null | undefined): boolean;
107
109
  /** True while picking a range for a formula (sheet selection drives references). */
108
110
  export declare function isLegacyFormulaRangeMode(ctx: Context): boolean;
109
111
  export declare function israngeseleciton(ctx: Context, istooltip?: boolean): boolean;
@@ -43,6 +43,8 @@ export type Cell = {
43
43
  cs?: number;
44
44
  };
45
45
  f?: string;
46
+ /** Editor-only HTML snapshot for reopening multiline formulas as typed. */
47
+ _formulaEditHtml?: string;
46
48
  /** `dp`: fixed decimal places for display when `fa` is General (Auto); does not change `fa`/`t`. */
47
49
  ct?: {
48
50
  fa?: string;