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.
- package/CHANGELOG.md +79 -0
- package/README.md +58 -14
- package/dist/assets/exceljs.min-DH9BABny.js +23046 -0
- package/dist/assets/parse.worker-DIaMHX0x.js +2646 -0
- package/dist/chunks/{plugin-overlay-BBrNby8v.js → plugin-overlay-DLb6sRhU.js} +1424 -1384
- package/dist/chunks/toolbar-icons-BcnMin5s.js +223 -0
- package/dist/components/ExcelViewer.vue.d.ts +2 -0
- package/dist/core/edit/editor-context.d.ts +18 -3
- package/dist/core/edit/editor-host.d.ts +6 -1
- package/dist/core.js +1 -1
- package/dist/index.js +722 -742
- package/dist/react/ExcelViewer.d.ts +9 -0
- package/dist/react.js +610 -444
- package/dist/style.css +1 -1
- package/dist/vue2.css +1 -0
- package/dist/vue2.js +10433 -0
- package/package.json +18 -6
- package/dist/chunks/worker-client.stub-CJlmpAgJ.js +0 -190
|
@@ -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;
|