ooxml-excel-editor 1.3.3 → 1.7.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 +218 -0
- package/README.md +27 -8
- package/dist/chunks/index-BNQIWClg.js +12532 -0
- package/dist/chunks/{index.es-D9BGYyEt.js → index.es-BVXJfTmn.js} +1 -1
- package/dist/chunks/{index.es-n6H_ncuE.js → index.es-gb2_kTSZ.js} +1 -1
- package/dist/chunks/{jspdf.es.min-Dbn0akWf.js → jspdf.es.min-C7JL2eZm.js} +2 -2
- package/dist/chunks/{jspdf.es.min-B6-ocR7J.js → jspdf.es.min-CBWDsR7H.js} +2 -2
- package/dist/chunks/plugin-overlay-C_qauTcv.js +11057 -0
- package/dist/chunks/{toolbar-icons-fOm95ASq.js → toolbar-icons-CD7G5Aof.js} +62 -71
- package/dist/components/ExcelViewer.vue.d.ts +29 -1
- package/dist/core/edit/clipboard-html.d.ts +12 -0
- package/dist/core/edit/clipboard-snapshot.d.ts +76 -0
- package/dist/core/edit/context-menu.d.ts +14 -1
- package/dist/core/edit/edit-controller.d.ts +22 -1
- package/dist/core/edit/paste-behavior.d.ts +33 -0
- package/dist/core/edit/types.d.ts +20 -0
- package/dist/core/export/exporter.d.ts +2 -0
- package/dist/core/export/pivot-tables.d.ts +17 -0
- package/dist/core/export/xlsx-writer.d.ts +6 -0
- package/dist/core/index.d.ts +4 -2
- package/dist/core/model/mutations.d.ts +2 -0
- package/dist/core/model/types.d.ts +61 -0
- package/dist/core/parser/pivot-parser.d.ts +3 -0
- package/dist/core/plugin.d.ts +47 -5
- package/dist/core/render/canvas-renderer.d.ts +12 -0
- package/dist/core/render/pivot-toggle.d.ts +13 -0
- package/dist/core/viewer/controller.d.ts +82 -6
- package/dist/core/viewer/overlay-manager.d.ts +1 -0
- package/dist/core/viewer/paste-config-host.d.ts +12 -0
- package/dist/core/viewer/pivot-dialog-host.d.ts +48 -0
- package/dist/core/viewer/readonly-prompt-host.d.ts +23 -0
- package/dist/core.js +67 -64
- package/dist/index.d.ts +2 -2
- package/dist/index.js +948 -873
- package/dist/react/ExcelViewer.d.ts +25 -4
- package/dist/react.js +621 -535
- package/dist/style.css +1 -1
- package/dist/vue2.css +1 -1
- package/dist/vue2.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/index-6q8kSGQg.js +0 -10575
- package/dist/chunks/plugin-overlay-BUrPrpT2.js +0 -9146
package/dist/core.js
CHANGED
|
@@ -1,74 +1,77 @@
|
|
|
1
|
-
import { C as r,
|
|
1
|
+
import { C as r, y as t, D as l, j as n, E as i, G as d, O as g, A as m, P as c, V as u, W as C, B as k, F as E, H as S, k as b, n as T, I as v, J as f, o as y, i as I, K as R, L as h, M as p, N as A, h as D, Q as F, R as O, S as W, T as w, d as x, q as V, f as B, t as L, a as P, u as _, v as H, c as M, e as U, g as J, b as N, w as G, U as K, X, Y, Z as j, _ as q, $ as z, l as Q, a0 as Z, x as $, p as aa, a1 as ea, a2 as sa, a3 as oa, a4 as ra, a5 as ta, a6 as la, a7 as na, r as ia, a8 as da, a9 as ga, aa as ma, ab as ca, ac as ua, ad as Ca, s as ka, ae as Ea, af as Sa, ag as ba, ah as Ta } from "./chunks/plugin-overlay-C_qauTcv.js";
|
|
2
2
|
function e(a) {
|
|
3
3
|
return a;
|
|
4
4
|
}
|
|
5
5
|
export {
|
|
6
6
|
r as CanvasRenderer,
|
|
7
7
|
t as CellEditorHost,
|
|
8
|
-
l as
|
|
9
|
-
n as
|
|
10
|
-
i as
|
|
11
|
-
d as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
c as
|
|
15
|
-
u as
|
|
16
|
-
C as
|
|
17
|
-
k as
|
|
8
|
+
l as DEFAULT_PASTE_BEHAVIOR,
|
|
9
|
+
n as DEFAULT_THEME,
|
|
10
|
+
i as EditController,
|
|
11
|
+
d as GridMetrics,
|
|
12
|
+
g as OverlayManager,
|
|
13
|
+
m as PASTE_PRESET_VALUES_ONLY,
|
|
14
|
+
c as PluginOverlayHost,
|
|
15
|
+
u as ViewerController,
|
|
16
|
+
C as WorkbookExporter,
|
|
17
|
+
k as addImage,
|
|
18
|
+
E as applyStyleOverride,
|
|
19
|
+
S as buildCellSnapshot,
|
|
18
20
|
b as canvasToBlob,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
T as canvasToDataURL,
|
|
22
|
+
v as captureStructure,
|
|
23
|
+
f as cellContentForEngine,
|
|
24
|
+
y as cellDisplayText,
|
|
25
|
+
I as cellKey,
|
|
26
|
+
R as clearCell,
|
|
27
|
+
h as cloneCell,
|
|
26
28
|
p as cloneImageAnchor,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
A as cloneWorkbook,
|
|
30
|
+
D as colIndexToLetters,
|
|
31
|
+
F as defaultFormulaEngineFactory,
|
|
30
32
|
e as definePlugin,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
ba as
|
|
33
|
+
O as deleteCols,
|
|
34
|
+
W as deleteIntersectsMerge,
|
|
35
|
+
w as deleteRows,
|
|
36
|
+
x as detectFormat,
|
|
37
|
+
V as downloadBlob,
|
|
38
|
+
B as finalizeImages,
|
|
39
|
+
L as formatValue,
|
|
40
|
+
P as friendlyError,
|
|
41
|
+
_ as getCell,
|
|
42
|
+
H as getCellStyle,
|
|
43
|
+
M as getCellText,
|
|
44
|
+
U as getCellValue,
|
|
45
|
+
J as getRangeData,
|
|
46
|
+
N as getSheetData,
|
|
47
|
+
G as getWorkbookJSON,
|
|
48
|
+
K as insertCols,
|
|
49
|
+
X as insertRows,
|
|
50
|
+
Y as internStyle,
|
|
51
|
+
j as isDimCommand,
|
|
52
|
+
q as isImageCommand,
|
|
53
|
+
z as isStructCommand,
|
|
54
|
+
Q as loadArrayBuffer,
|
|
55
|
+
Z as mergeStyleOverride,
|
|
56
|
+
$ as mergeTheme,
|
|
57
|
+
aa as parseWorkbook,
|
|
58
|
+
ea as removeImage,
|
|
59
|
+
sa as resolveEditable,
|
|
60
|
+
oa as resolvePasteBehavior,
|
|
61
|
+
ra as restoreCell,
|
|
62
|
+
ta as restoreDimension,
|
|
63
|
+
la as restoreStructure,
|
|
64
|
+
na as restoreWorkbookInto,
|
|
65
|
+
ia as revokeImages,
|
|
66
|
+
da as rewriteWorkbookFormulas,
|
|
67
|
+
ga as setCellValue,
|
|
68
|
+
ma as setColumnWidth,
|
|
69
|
+
ca as setImageRect,
|
|
70
|
+
ua as setRangeValues,
|
|
71
|
+
Ca as setRowHeight,
|
|
72
|
+
ka as sheetToJSON,
|
|
73
|
+
Ea as shiftFormulaRefs,
|
|
74
|
+
Sa as toCsv,
|
|
75
|
+
ba as toWorkbookJson,
|
|
76
|
+
Ta as workbookToXlsxBlob
|
|
74
77
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export { cellDisplayText, getCell, getCellValue, getCellStyle, getCellText, getS
|
|
|
8
8
|
export type { CellValue, ReadOptions, SheetToJSONOptions } from './core/model/data-access';
|
|
9
9
|
export { formatValue } from './core/format/number-format';
|
|
10
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';
|
|
11
|
+
export type { WorkbookModel, SheetModel, CellModel, CellStyle, MergeRange, ConditionalRule, ChartSpec, ImageAnchor, ShapeSpec, Sparkline, PivotTableModel, PivotButton, PivotTableLayout, PivotFilterRule, PivotValueRule, PivotSummary, PivotFilterMode, CssColor, TransformModelFn, CellStyleFn, CellStyleOverride, } from './core/model/types';
|
|
12
12
|
export type { ViewerTheme } from './core/render/theme';
|
|
13
13
|
export { DEFAULT_THEME, mergeTheme } from './core/render/theme';
|
|
14
14
|
export { definePlugin } from './core/plugin';
|
|
15
|
-
export type { ExcelPlugin, ExcelPluginContext, ViewerApi, OverlayContext, PluginEvent, Rect, ToolbarItem, } from './core/plugin';
|
|
15
|
+
export type { ExcelPlugin, ExcelPluginContext, ViewerApi, OverlayContext, PluginEvent, Rect, ToolbarItem, CreatePivotTableOptions, PivotOutput, } from './core/plugin';
|
|
16
16
|
export type { ExportTarget, RenderExportOptions, ImageExportOptions, PdfExportOptions, PrintOptions, PageSetup, PageFormat, Orientation, Margins, PdfPageContext, BeforeRenderPage, } from './core/export/types';
|
|
17
17
|
export { canvasToBlob, canvasToDataURL, downloadBlob } from './core/export/raster';
|
|
18
18
|
declare const plugin: Plugin;
|