ooxml-excel-editor 1.2.0 → 1.3.0

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.
@@ -102,6 +102,15 @@ export interface ExcelViewerProps {
102
102
  recalc?: boolean;
103
103
  /** 自定义/自研公式引擎工厂(可换引擎);不给则用默认 HyperFormula(需 npm i hyperformula) */
104
104
  formulaEngine?: FormulaEngineFactory;
105
+ /**
106
+ * 操作工具栏配置 (跟 Vue 3/Vue 2 同 API):
107
+ * - `true`/不传(默认): 显示默认两项 ['find', 'filter']
108
+ * - `false`: 隐藏整条工具栏
109
+ * - 数组: 显式控制项与顺序 (内置 id 或自定义 ToolbarItem)
110
+ * - 内置 id: find / filter / clear-filter / copy / wrap-text / template / image-tools /
111
+ * freeze / export / zoom / 'separator' (或 '|')
112
+ */
113
+ toolbar?: boolean | Array<string | import('../core/plugin').ToolbarItem>;
105
114
  className?: string;
106
115
  style?: CSSProperties;
107
116
  onRendered?: (wb: WorkbookModel) => void;