ooxml-excel-editor 1.1.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 +95 -0
- package/LICENSE +21 -0
- package/README.md +516 -0
- package/dist/chunks/plugin-overlay-Cfnn9EOi.js +7144 -0
- package/dist/chunks/worker-client.stub-BQVZfaLd.js +7 -0
- package/dist/components/ActionToolbar.vue.d.ts +9 -0
- package/dist/components/ExcelViewer.vue.d.ts +283 -0
- package/dist/components/ExportDialog.vue.d.ts +14 -0
- package/dist/components/FilterPopup.vue.d.ts +21 -0
- package/dist/components/FindBar.vue.d.ts +27 -0
- package/dist/components/SheetTabs.vue.d.ts +11 -0
- package/dist/components/ToolbarMenu.vue.d.ts +10 -0
- package/dist/components/ViewerToolbar.vue.d.ts +21 -0
- package/dist/components/export-types.d.ts +14 -0
- package/dist/components/toolbar-icons.d.ts +7 -0
- package/dist/components/toolbar-types.d.ts +18 -0
- package/dist/composables/useExcelDocument.d.ts +17 -0
- package/dist/composables/worker-client.d.ts +3 -0
- package/dist/composables/worker-client.stub.d.ts +3 -0
- package/dist/core/edit/commands.d.ts +94 -0
- package/dist/core/edit/default-editor.d.ts +2 -0
- package/dist/core/edit/edit-controller.d.ts +137 -0
- package/dist/core/edit/editor-context.d.ts +40 -0
- package/dist/core/edit/editor-host.d.ts +22 -0
- package/dist/core/edit/permissions.d.ts +3 -0
- package/dist/core/edit/types.d.ts +23 -0
- package/dist/core/export/composite.d.ts +18 -0
- package/dist/core/export/data-export.d.ts +9 -0
- package/dist/core/export/exporter.d.ts +64 -0
- package/dist/core/export/index.d.ts +9 -0
- package/dist/core/export/paginate.d.ts +36 -0
- package/dist/core/export/pdf.d.ts +28 -0
- package/dist/core/export/print.d.ts +3 -0
- package/dist/core/export/raster.d.ts +13 -0
- package/dist/core/export/types.d.ts +92 -0
- package/dist/core/export/vector-pdf.d.ts +42 -0
- package/dist/core/export/xlsx-writer.d.ts +15 -0
- package/dist/core/finalize.d.ts +10 -0
- package/dist/core/format/builtin-formats.d.ts +7 -0
- package/dist/core/format/color.d.ts +11 -0
- package/dist/core/format/date-serial.d.ts +16 -0
- package/dist/core/format/number-format.d.ts +5 -0
- package/dist/core/formula/engine.d.ts +27 -0
- package/dist/core/formula/hyperformula-adapter.d.ts +3 -0
- package/dist/core/formula/recalc.d.ts +9 -0
- package/dist/core/formula/refs.d.ts +21 -0
- package/dist/core/index.d.ts +52 -0
- package/dist/core/layout/autofit.d.ts +2 -0
- package/dist/core/layout/freeze.d.ts +11 -0
- package/dist/core/layout/grid-metrics.d.ts +37 -0
- package/dist/core/layout/merges.d.ts +14 -0
- package/dist/core/layout/units.d.ts +20 -0
- package/dist/core/layout/viewport.d.ts +29 -0
- package/dist/core/loader.d.ts +5 -0
- package/dist/core/model/clone.d.ts +9 -0
- package/dist/core/model/data-access.d.ts +30 -0
- package/dist/core/model/mutations.d.ts +46 -0
- package/dist/core/model/snapshot.d.ts +14 -0
- package/dist/core/model/structure.d.ts +26 -0
- package/dist/core/model/types.d.ts +289 -0
- package/dist/core/overlay/anchor.d.ts +9 -0
- package/dist/core/overlay/chart-mapper.d.ts +3 -0
- package/dist/core/overlay/echarts-loader.d.ts +3 -0
- package/dist/core/parse.worker.d.ts +14 -0
- package/dist/core/parser/chart-parser.d.ts +3 -0
- package/dist/core/parser/drawing-parser.d.ts +3 -0
- package/dist/core/parser/exceljs-adapter.d.ts +8 -0
- package/dist/core/parser/index.d.ts +3 -0
- package/dist/core/parser/page-break-parser.d.ts +3 -0
- package/dist/core/parser/raw-xml.d.ts +15 -0
- package/dist/core/parser/sparkline-parser.d.ts +3 -0
- package/dist/core/parser/theme.d.ts +3 -0
- package/dist/core/plugin.d.ts +180 -0
- package/dist/core/progress.d.ts +7 -0
- package/dist/core/render/autofilter.d.ts +14 -0
- package/dist/core/render/borders.d.ts +13 -0
- package/dist/core/render/canvas-renderer.d.ts +225 -0
- package/dist/core/render/conditional.d.ts +25 -0
- package/dist/core/render/fills.d.ts +2 -0
- package/dist/core/render/text.d.ts +20 -0
- package/dist/core/render/theme.d.ts +19 -0
- package/dist/core/viewer/controller.d.ts +339 -0
- package/dist/core/viewer/overlay-manager.d.ts +27 -0
- package/dist/core/viewer/plugin-overlay.d.ts +8 -0
- package/dist/core.d.ts +2 -0
- package/dist/core.js +74 -0
- package/dist/demo-shared/demo-editor.d.ts +2 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1493 -0
- package/dist/react/ExcelViewer.d.ts +153 -0
- package/dist/react/index.d.ts +11 -0
- package/dist/react/use-excel-document.d.ts +17 -0
- package/dist/react.d.ts +2 -0
- package/dist/react.js +838 -0
- package/dist/style.css +1 -0
- package/package.json +117 -0
package/dist/core.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { C as r, w as t, D as l, E as n, G as i, O as m, P as d, V as g, W as c, x as u, y as C, z as k, i as b, j as y, A as f, B as v, k as S, m as E, F as I, H as T, I as p, J as R, h, K as W, L as w, M as x, N as D, d as F, n as O, f as V, o as B, a as H, q as M, t as A, c as J, e as L, g as N, b as P, u as U, Q as z, R as G, S as K, T as X, U as _, X as j, l as q, Y as Q, v as Y, p as Z, Z as $, _ as ee, $ as ae, a0 as se, a1 as oe, a2 as re, r as te, a3 as le, a4 as ne, a5 as ie, a6 as me, a7 as de, a8 as ge, s as ce, a9 as ue, aa as Ce, ab as ke, ac as be } from "./chunks/plugin-overlay-Cfnn9EOi.js";
|
|
2
|
+
function a(e) {
|
|
3
|
+
return e;
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
r as CanvasRenderer,
|
|
7
|
+
t as CellEditorHost,
|
|
8
|
+
l as DEFAULT_THEME,
|
|
9
|
+
n as EditController,
|
|
10
|
+
i as GridMetrics,
|
|
11
|
+
m as OverlayManager,
|
|
12
|
+
d as PluginOverlayHost,
|
|
13
|
+
g as ViewerController,
|
|
14
|
+
c as WorkbookExporter,
|
|
15
|
+
u as addImage,
|
|
16
|
+
C as applyStyleOverride,
|
|
17
|
+
k as buildCellSnapshot,
|
|
18
|
+
b as canvasToBlob,
|
|
19
|
+
y as canvasToDataURL,
|
|
20
|
+
f as captureStructure,
|
|
21
|
+
v as cellContentForEngine,
|
|
22
|
+
S as cellDisplayText,
|
|
23
|
+
E as cellKey,
|
|
24
|
+
I as clearCell,
|
|
25
|
+
T as cloneCell,
|
|
26
|
+
p as cloneImageAnchor,
|
|
27
|
+
R as cloneWorkbook,
|
|
28
|
+
h as colIndexToLetters,
|
|
29
|
+
W as defaultFormulaEngineFactory,
|
|
30
|
+
a as definePlugin,
|
|
31
|
+
w as deleteCols,
|
|
32
|
+
x as deleteIntersectsMerge,
|
|
33
|
+
D as deleteRows,
|
|
34
|
+
F as detectFormat,
|
|
35
|
+
O as downloadBlob,
|
|
36
|
+
V as finalizeImages,
|
|
37
|
+
B as formatValue,
|
|
38
|
+
H as friendlyError,
|
|
39
|
+
M as getCell,
|
|
40
|
+
A as getCellStyle,
|
|
41
|
+
J as getCellText,
|
|
42
|
+
L as getCellValue,
|
|
43
|
+
N as getRangeData,
|
|
44
|
+
P as getSheetData,
|
|
45
|
+
U as getWorkbookJSON,
|
|
46
|
+
z as insertCols,
|
|
47
|
+
G as insertRows,
|
|
48
|
+
K as internStyle,
|
|
49
|
+
X as isDimCommand,
|
|
50
|
+
_ as isImageCommand,
|
|
51
|
+
j as isStructCommand,
|
|
52
|
+
q as loadArrayBuffer,
|
|
53
|
+
Q as mergeStyleOverride,
|
|
54
|
+
Y as mergeTheme,
|
|
55
|
+
Z as parseWorkbook,
|
|
56
|
+
$ as removeImage,
|
|
57
|
+
ee as resolveEditable,
|
|
58
|
+
ae as restoreCell,
|
|
59
|
+
se as restoreDimension,
|
|
60
|
+
oe as restoreStructure,
|
|
61
|
+
re as restoreWorkbookInto,
|
|
62
|
+
te as revokeImages,
|
|
63
|
+
le as rewriteWorkbookFormulas,
|
|
64
|
+
ne as setCellValue,
|
|
65
|
+
ie as setColumnWidth,
|
|
66
|
+
me as setImageRect,
|
|
67
|
+
de as setRangeValues,
|
|
68
|
+
ge as setRowHeight,
|
|
69
|
+
ce as sheetToJSON,
|
|
70
|
+
ue as shiftFormulaRefs,
|
|
71
|
+
Ce as toCsv,
|
|
72
|
+
ke as toWorkbookJson,
|
|
73
|
+
be as workbookToXlsxBlob
|
|
74
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { default as ExcelViewer } from './components/ExcelViewer.vue';
|
|
3
|
+
export { ExcelViewer };
|
|
4
|
+
export { parseWorkbook } from './core/parser';
|
|
5
|
+
export { loadArrayBuffer } from './core/loader';
|
|
6
|
+
export type { ExcelSource } from './core/loader';
|
|
7
|
+
export { cellDisplayText, getCell, getCellValue, getCellStyle, getCellText, getSheetData, getRangeData, sheetToJSON, getWorkbookJSON, } from './core/model/data-access';
|
|
8
|
+
export type { CellValue, ReadOptions, SheetToJSONOptions } from './core/model/data-access';
|
|
9
|
+
export { formatValue } from './core/format/number-format';
|
|
10
|
+
export { cellKey } from './core/model/types';
|
|
11
|
+
export type { WorkbookModel, SheetModel, CellModel, CellStyle, MergeRange, ConditionalRule, ChartSpec, ImageAnchor, ShapeSpec, Sparkline, CssColor, TransformModelFn, CellStyleFn, CellStyleOverride, } from './core/model/types';
|
|
12
|
+
export type { ViewerTheme } from './core/render/theme';
|
|
13
|
+
export { DEFAULT_THEME, mergeTheme } from './core/render/theme';
|
|
14
|
+
export { definePlugin } from './core/plugin';
|
|
15
|
+
export type { ExcelPlugin, ExcelPluginContext, ViewerApi, OverlayContext, PluginEvent, Rect, ToolbarItem, } from './core/plugin';
|
|
16
|
+
export type { ExportTarget, RenderExportOptions, ImageExportOptions, PdfExportOptions, PrintOptions, PageSetup, PageFormat, Orientation, Margins, PdfPageContext, BeforeRenderPage, } from './core/export/types';
|
|
17
|
+
export { canvasToBlob, canvasToDataURL, downloadBlob } from './core/export/raster';
|
|
18
|
+
declare const plugin: Plugin;
|
|
19
|
+
export default plugin;
|