@univerjs/sheets-ui 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506181607

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/lib/es/index.js CHANGED
@@ -3633,16 +3633,7 @@ let Rr = class extends Nn {
3633
3633
  return this._skeletonChangeMutations.has(e);
3634
3634
  }
3635
3635
  _init() {
3636
- this._initWorkbookListener(), this._initContextListener(), this._initDarkModeListener();
3637
- }
3638
- _initDarkModeListener() {
3639
- this.disposeWithMe(this._themeService.darkMode$.subscribe(() => {
3640
- this._renderManagerService.getRenderAll().forEach((e) => {
3641
- e.components.forEach((t) => {
3642
- t.makeForceDirty(!0), t.makeDirty(!0);
3643
- });
3644
- });
3645
- }));
3636
+ this._initWorkbookListener(), this._initContextListener();
3646
3637
  }
3647
3638
  _initWorkbookListener() {
3648
3639
  this._instanceSrv.getTypeOfUnitAdded$(x.UNIVER_SHEET).pipe(ri(this.dispose$)).subscribe((e) => this._createRenderer(e)), this._instanceSrv.getAllUnitsForType(x.UNIVER_SHEET).forEach((e) => this._createRenderer(e)), this._instanceSrv.getTypeOfUnitDisposed$(x.UNIVER_SHEET).pipe(ri(this.dispose$)).subscribe((e) => this._disposeRenderer(e));
package/lib/index.js CHANGED
@@ -3633,16 +3633,7 @@ let Rr = class extends Nn {
3633
3633
  return this._skeletonChangeMutations.has(e);
3634
3634
  }
3635
3635
  _init() {
3636
- this._initWorkbookListener(), this._initContextListener(), this._initDarkModeListener();
3637
- }
3638
- _initDarkModeListener() {
3639
- this.disposeWithMe(this._themeService.darkMode$.subscribe(() => {
3640
- this._renderManagerService.getRenderAll().forEach((e) => {
3641
- e.components.forEach((t) => {
3642
- t.makeForceDirty(!0), t.makeDirty(!0);
3643
- });
3644
- });
3645
- }));
3636
+ this._initWorkbookListener(), this._initContextListener();
3646
3637
  }
3647
3638
  _initWorkbookListener() {
3648
3639
  this._instanceSrv.getTypeOfUnitAdded$(x.UNIVER_SHEET).pipe(ri(this.dispose$)).subscribe((e) => this._createRenderer(e)), this._instanceSrv.getAllUnitsForType(x.UNIVER_SHEET).forEach((e) => this._createRenderer(e)), this._instanceSrv.getTypeOfUnitDisposed$(x.UNIVER_SHEET).pipe(ri(this.dispose$)).subscribe((e) => this._disposeRenderer(e));
@@ -73,6 +73,7 @@ export declare function fillCopy(data: Array<Nullable<ICellData>>, len: number):
73
73
  v: import('@univerjs/core').CellValue | null;
74
74
  t: CellValueType | null;
75
75
  f: string | null;
76
+ ref?: Nullable<string>;
76
77
  si: string | null;
77
78
  custom?: import('@univerjs/core').CustomData;
78
79
  }[];
@@ -9,6 +9,7 @@ export declare function convertToCellStyle(cell: ICellDataWithSpanInfo, dataStre
9
9
  v?: Nullable<import('@univerjs/core').CellValue>;
10
10
  t?: Nullable<import('@univerjs/core').CellValueType>;
11
11
  f?: Nullable<string>;
12
+ ref?: Nullable<string>;
12
13
  si?: Nullable<string>;
13
14
  custom?: import('@univerjs/core').CustomData;
14
15
  rowSpan?: number;
@@ -22,7 +22,6 @@ export declare class SheetsRenderService extends RxDisposable {
22
22
  */
23
23
  checkMutationShouldTriggerRerender(id: string): boolean;
24
24
  private _init;
25
- private _initDarkModeListener;
26
25
  private _initWorkbookListener;
27
26
  private _createRenderer;
28
27
  private _disposeRenderer;