weboffice-js-sdk 2.0.5-beta.7 → 2.0.5-beta.8

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.
@@ -162,6 +162,8 @@ export interface ClipboardPasteParams {
162
162
  }
163
163
  export type SheetAppendDataAxis = 'row' | 'column';
164
164
  export interface SheetSelection {
165
+ /** 当前 iframe runtime 内稳定的选区标识。 */
166
+ id: string;
165
167
  getRange: (value?: SheetRangeValue) => Promise<SheetRangeFacade | null>;
166
168
  setRange: (value: SheetRangeValue | null) => Promise<void>;
167
169
  }
@@ -51,6 +51,7 @@ export type EditorFacadeContractAssertions = [
51
51
  Assert<IsAssignable<NonNullable<OfficeSDK['zoom']>['setPercentage'], (percentage: number) => Promise<void>>>,
52
52
  Assert<IsAssignable<NonNullable<OfficeSDK['eventSubscription']>['addLoadedListener'], (listener: () => void) => () => void>>,
53
53
  Assert<IsEqual<SheetSelection['getRange'], (value?: SheetRangeValue) => Promise<SheetRangeFacade | null>>>,
54
+ Assert<IsEqual<SheetSelection['id'], string>>,
54
55
  Assert<IsEqual<PresentationShapeBase['setFill'], (fill: import('./OfficeSDK').PresentationShapeFill) => Promise<void>>>,
55
56
  Assert<IsEqual<PresentationShapeBase['remove'], () => Promise<void>>>,
56
57
  Assert<IsEqual<PresentationTableItem['getCell'], (row: number, column: number) => Promise<PresentationTableCell | null>>>,