@yudaocode/univer-docs-ui 1.6.209 → 1.6.211
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/lib/cjs/index.js +1228 -631
- package/lib/cjs/index.js.map +1 -1
- package/lib/es/index.js +1226 -627
- package/lib/es/index.js.map +1 -1
- package/lib/types/index.d.ts +4 -2
- package/package.json +3 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { default as enUS } from './locale/en-US.js';
|
|
|
7
7
|
export { IDocsUILocale, default as zhCN } from './locale/zh-CN.js';
|
|
8
8
|
import React from 'react';
|
|
9
9
|
|
|
10
|
-
type DocModalTabMode = 'preview' | 'form' | 'json';
|
|
10
|
+
type DocModalTabMode = 'import' | 'preview' | 'form' | 'json';
|
|
11
11
|
interface IUniverDocsUIFeatures {
|
|
12
12
|
/** Enable structured SDT form controls (text/date/select/cascader/checkbox/lock). Default: `false` */
|
|
13
13
|
sdtControls?: boolean;
|
|
@@ -149,7 +149,9 @@ declare const PrintDocOperation: IOperation<{
|
|
|
149
149
|
unitId?: string;
|
|
150
150
|
options?: IDocPdfExportOptions;
|
|
151
151
|
}>;
|
|
152
|
+
declare const DOC_IMPORT_ACCEPT_EXTENSIONS = ".docx,.doc,.rtf,.odt,.xml,.md,.html,.txt,.json";
|
|
152
153
|
declare const ImportDocFileOperation: IOperation<{
|
|
154
|
+
file?: File;
|
|
153
155
|
target?: DocIoTarget;
|
|
154
156
|
}>;
|
|
155
157
|
declare const QuickInsertDocSdtOperation: IOperation<{
|
|
@@ -190,4 +192,4 @@ declare const DocPreviewAndIoModal: React.FC;
|
|
|
190
192
|
|
|
191
193
|
declare const DocSdtCanvasPopupHost: React.FC;
|
|
192
194
|
|
|
193
|
-
export { DOC_INSPECTOR_COMPONENT_KEY, DOC_INSPECTOR_SIDEBAR_ID, DocInspectorPanel, DocLeftSidebar, type DocModalTabMode, DocPreviewAndIoModal, DocSdtCanvasPopupHost, DocsExtUIController, DocsUIFeatureService, FillDocSampleDatasetOperation, IDocsUIFeatureService, type IResolvedDocsUIFeatures, type IUniverDocsExtUIConfig, type IUniverDocsUIFeatures, ImportDocFileOperation, OpenDocModalOperation, PrintDocOperation, QuickInsertDocSdtOperation, ToggleDocInspectorOperation, UNIVER_DOCS_EXT_UI_PLUGIN_NAME, UniverDocsExtUIPlugin, UpdateDocsUIFeaturesOperation, YUDAO_DOC_FIELD_DND_MIME, isDocSdtKindAllowed, openDocInspectorSidebar, resolveDocsUIFeatures, resolveEffectiveSdtDatasetBinding };
|
|
195
|
+
export { DOC_IMPORT_ACCEPT_EXTENSIONS, DOC_INSPECTOR_COMPONENT_KEY, DOC_INSPECTOR_SIDEBAR_ID, DocInspectorPanel, DocLeftSidebar, type DocModalTabMode, DocPreviewAndIoModal, DocSdtCanvasPopupHost, DocsExtUIController, DocsUIFeatureService, FillDocSampleDatasetOperation, IDocsUIFeatureService, type IResolvedDocsUIFeatures, type IUniverDocsExtUIConfig, type IUniverDocsUIFeatures, ImportDocFileOperation, OpenDocModalOperation, PrintDocOperation, QuickInsertDocSdtOperation, ToggleDocInspectorOperation, UNIVER_DOCS_EXT_UI_PLUGIN_NAME, UniverDocsExtUIPlugin, UpdateDocsUIFeaturesOperation, YUDAO_DOC_FIELD_DND_MIME, isDocSdtKindAllowed, openDocInspectorSidebar, resolveDocsUIFeatures, resolveEffectiveSdtDatasetBinding };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yudaocode/univer-docs-ui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.211",
|
|
4
4
|
"description": "Univer Docs UI enhancement plugin: on-demand SDT structured controls, table row loop binding, per-instance canvas popups, and DOCX/HTML/PDF IO modal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/yudaocode/yudao-univer#readme",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"react": ">=18.0.0",
|
|
63
63
|
"react-dom": ">=18.0.0",
|
|
64
64
|
"rxjs": ">=7.0.0",
|
|
65
|
-
"@yudaocode/univer-docs": "^1.6.
|
|
65
|
+
"@yudaocode/univer-docs": "^1.6.211"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@univerjs/core": "1.6.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react": "^18.3.1",
|
|
76
76
|
"react-dom": "^18.3.1",
|
|
77
77
|
"rxjs": "^7.8.2",
|
|
78
|
-
"@yudaocode/univer-docs": "1.6.
|
|
78
|
+
"@yudaocode/univer-docs": "1.6.211"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsup",
|