@yudaocode/univer-sheets-ui 0.0.0-stage → 1.6.205

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.
@@ -0,0 +1,10 @@
1
+ import {
2
+ enUS,
3
+ en_US_default
4
+ } from "../chunk-5BQIIXZS.js";
5
+ import "../chunk-BRKEJJFQ.js";
6
+ export {
7
+ en_US_default as default,
8
+ enUS
9
+ };
10
+ //# sourceMappingURL=en-US.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import {
2
+ zhCN,
3
+ zh_CN_default
4
+ } from "../chunk-RBFCNX3U.js";
5
+ import "../chunk-BRKEJJFQ.js";
6
+ export {
7
+ zh_CN_default as default,
8
+ zhCN
9
+ };
10
+ //# sourceMappingURL=zh-CN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/lib/index.css ADDED
@@ -0,0 +1,321 @@
1
+ /* @yudaocode/univer-sheets-ui stylesheet — aligned with @univerjs/themes defaultTheme */
2
+ .yudao-sheet-left-panel {
3
+ width: 232px;
4
+ height: 100%;
5
+ background: #FFFFFF;
6
+ border-right: 1px solid #E3E5EA;
7
+ display: flex;
8
+ flex-direction: column;
9
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
10
+ color: #1B1C1F;
11
+ user-select: none;
12
+ }
13
+
14
+ .yudao-sheet-left-tabs {
15
+ display: flex;
16
+ border-bottom: 1px solid #E3E5EA;
17
+ background: #F9FAFB;
18
+ }
19
+
20
+ .yudao-sheet-left-tab {
21
+ flex: 1;
22
+ border: none;
23
+ background: transparent;
24
+ padding: 9px 6px;
25
+ font-size: 12px;
26
+ font-weight: 500;
27
+ color: #4E5565;
28
+ cursor: pointer;
29
+ border-bottom: 2px solid transparent;
30
+ transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
31
+ }
32
+
33
+ .yudao-sheet-left-tab:hover:not(.is-active) {
34
+ color: #1B1C1F;
35
+ }
36
+
37
+ .yudao-sheet-left-tab.is-active {
38
+ color: #2C53F1;
39
+ font-weight: 600;
40
+ border-bottom-color: #2C53F1;
41
+ background: #FFFFFF;
42
+ }
43
+
44
+ .yudao-sheet-left-body {
45
+ flex: 1;
46
+ overflow-y: auto;
47
+ padding: 10px;
48
+ display: flex;
49
+ flex-direction: column;
50
+ gap: 8px;
51
+ }
52
+
53
+ .yudao-sheet-btn {
54
+ border: 1px solid #E3E5EA;
55
+ background: #FFFFFF;
56
+ color: #31363F;
57
+ border-radius: 6px;
58
+ padding: 5px 8px;
59
+ font-size: 11.5px;
60
+ font-weight: 500;
61
+ cursor: pointer;
62
+ transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
63
+ }
64
+
65
+ .yudao-sheet-btn:hover:not(:disabled) {
66
+ border-color: #D2DAFA;
67
+ color: #2C53F1;
68
+ background: #F9FAFB;
69
+ }
70
+
71
+ .yudao-sheet-btn:disabled {
72
+ opacity: 0.5;
73
+ cursor: not-allowed;
74
+ }
75
+
76
+ .yudao-sheet-btn.is-soft-primary {
77
+ background: #F3F5FF;
78
+ border: 1px solid #D2DAFA;
79
+ color: #2C53F1;
80
+ font-weight: 500;
81
+ }
82
+
83
+ .yudao-sheet-btn.is-soft-primary:hover:not(:disabled) {
84
+ background: #E9EDFF;
85
+ border-color: #2C53F1;
86
+ color: #143EE3;
87
+ }
88
+
89
+ .yudao-sheet-btn.is-primary {
90
+ background: #2C53F1;
91
+ border-color: #2C53F1;
92
+ color: #FFFFFF;
93
+ }
94
+
95
+ .yudao-sheet-btn.is-primary:hover:not(:disabled) {
96
+ background: #143EE3;
97
+ border-color: #143EE3;
98
+ color: #FFFFFF;
99
+ }
100
+
101
+ .yudao-sheet-field-btn {
102
+ display: flex;
103
+ justify-content: space-between;
104
+ align-items: center;
105
+ text-align: left;
106
+ background: #FFFFFF;
107
+ border: 1px solid #E3E5EA;
108
+ border-radius: 6px;
109
+ padding: 5px 8px;
110
+ font-size: 11.5px;
111
+ font-weight: 500;
112
+ color: #31363F;
113
+ cursor: pointer;
114
+ transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
115
+ }
116
+
117
+ .yudao-sheet-field-btn:hover {
118
+ background: #F9FAFB;
119
+ border-color: #D2DAFA;
120
+ color: #1B1C1F;
121
+ }
122
+
123
+ .yudao-sheet-field-key {
124
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
125
+ font-size: 10px;
126
+ color: #7D8698;
127
+ transition: color 0.14s ease;
128
+ }
129
+
130
+ .yudao-sheet-field-btn:hover .yudao-sheet-field-key {
131
+ color: #2C53F1;
132
+ }
133
+
134
+ .yudao-sheet-segmented {
135
+ display: grid;
136
+ background: #EEEFF1;
137
+ padding: 3px;
138
+ border-radius: 6px;
139
+ gap: 2px;
140
+ }
141
+
142
+ .yudao-sheet-segmented-item {
143
+ border: none;
144
+ background: transparent;
145
+ color: #4E5565;
146
+ border-radius: 4px;
147
+ padding: 5px 6px;
148
+ font-size: 11.5px;
149
+ font-weight: 500;
150
+ cursor: pointer;
151
+ transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
152
+ }
153
+
154
+ .yudao-sheet-segmented-item:hover:not(.is-active) {
155
+ color: #1B1C1F;
156
+ }
157
+
158
+ .yudao-sheet-segmented-item.is-active {
159
+ background: #FFFFFF;
160
+ color: #2C53F1;
161
+ font-weight: 600;
162
+ box-shadow: 0 1px 2px rgba(27, 28, 31, 0.08);
163
+ border: none;
164
+ }
165
+
166
+ .yudao-sheet-section {
167
+ border: 1px solid #E3E5EA;
168
+ border-radius: 8px;
169
+ padding: 10px 12px;
170
+ background: #F9FAFB;
171
+ display: flex;
172
+ flex-direction: column;
173
+ gap: 8px;
174
+ }
175
+
176
+ .yudao-sheet-section-title {
177
+ font-size: 12px;
178
+ font-weight: 600;
179
+ color: #1B1C1F;
180
+ display: flex;
181
+ align-items: center;
182
+ justify-content: space-between;
183
+ }
184
+
185
+ .yudao-sheet-inspector {
186
+ max-width: 316px;
187
+ box-sizing: border-box;
188
+ overflow-x: hidden;
189
+ padding: 12px 14px;
190
+ display: flex;
191
+ flex-direction: column;
192
+ gap: 12px;
193
+ font-size: 12px;
194
+ color: #31363F;
195
+ background: #FFFFFF;
196
+ }
197
+
198
+ .yudao-sheet-inspector input[type='checkbox'],
199
+ .yudao-sheet-modal-card input[type='checkbox'] {
200
+ accent-color: #2C53F1;
201
+ }
202
+
203
+ .yudao-sheet-field-row {
204
+ display: flex;
205
+ flex-direction: column;
206
+ gap: 4px;
207
+ }
208
+
209
+ .yudao-sheet-field-row > span {
210
+ font-size: 11px;
211
+ color: #4E5565;
212
+ font-weight: 500;
213
+ }
214
+
215
+ .yudao-sheet-field-row input[type='text'],
216
+ .yudao-sheet-field-row input[type='number'],
217
+ .yudao-sheet-field-row select {
218
+ border: 1px solid #E3E5EA;
219
+ border-radius: 6px;
220
+ padding: 5px 8px;
221
+ font-size: 12px;
222
+ background: #FFFFFF;
223
+ color: #1B1C1F;
224
+ outline: none;
225
+ transition: border-color 0.14s ease;
226
+ }
227
+
228
+ .yudao-sheet-field-row input[type='text']:focus,
229
+ .yudao-sheet-field-row input[type='number']:focus,
230
+ .yudao-sheet-field-row select:focus {
231
+ border-color: #2C53F1;
232
+ }
233
+
234
+ .yudao-sheet-field-row input[type='text']:disabled,
235
+ .yudao-sheet-field-row input[type='number']:disabled,
236
+ .yudao-sheet-field-row select:disabled {
237
+ background: #F9FAFB;
238
+ color: #7D8698;
239
+ }
240
+
241
+ .yudao-sheet-modal-backdrop {
242
+ position: fixed;
243
+ inset: 0;
244
+ z-index: 9995;
245
+ background: rgba(27, 28, 31, 0.45);
246
+ display: flex;
247
+ align-items: center;
248
+ justify-content: center;
249
+ padding: 24px;
250
+ }
251
+
252
+ .yudao-sheet-modal-card {
253
+ width: min(1120px, 95vw);
254
+ height: min(760px, 89vh);
255
+ background: #FFFFFF;
256
+ border: 1px solid #E3E5EA;
257
+ border-radius: 10px;
258
+ box-shadow: 0 16px 48px rgba(27, 28, 31, 0.18);
259
+ display: flex;
260
+ flex-direction: column;
261
+ overflow: hidden;
262
+ color: #31363F;
263
+ }
264
+
265
+ .yudao-sheet-modal-header {
266
+ padding: 10px 16px;
267
+ background: #FFFFFF;
268
+ border-bottom: 1px solid #E3E5EA;
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: space-between;
272
+ }
273
+
274
+ .yudao-sheet-modal-tabs {
275
+ display: flex;
276
+ gap: 6px;
277
+ }
278
+
279
+ .yudao-sheet-modal-tab {
280
+ border: 1px solid transparent;
281
+ background: transparent;
282
+ padding: 6px 12px;
283
+ border-radius: 6px;
284
+ font-size: 12.5px;
285
+ font-weight: 500;
286
+ color: #4E5565;
287
+ cursor: pointer;
288
+ transition: background 0.14s ease, color 0.14s ease;
289
+ }
290
+
291
+ .yudao-sheet-modal-tab:hover:not(.is-active) {
292
+ background: #F9FAFB;
293
+ color: #1B1C1F;
294
+ }
295
+
296
+ .yudao-sheet-modal-tab.is-active {
297
+ background: #E9EDFF;
298
+ border-color: transparent;
299
+ color: #2C53F1;
300
+ font-weight: 600;
301
+ }
302
+
303
+ .yudao-sheet-code-area {
304
+ flex: 1;
305
+ width: 100%;
306
+ box-sizing: border-box;
307
+ border: 1px solid #E3E5EA;
308
+ border-radius: 8px;
309
+ padding: 10px;
310
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
311
+ font-size: 12px;
312
+ line-height: 1.5;
313
+ color: #1B1C1F;
314
+ background: #F9FAFB;
315
+ resize: none;
316
+ outline: none;
317
+ }
318
+
319
+ .yudao-sheet-code-area:focus {
320
+ border-color: #2C53F1;
321
+ }
@@ -0,0 +1,142 @@
1
+ import * as _univerjs_core from '@univerjs/core';
2
+ import { Disposable, Injector, ICommandService, LocaleType, IOperation, Plugin, UniverInstanceType } from '@univerjs/core';
3
+ import { IMenuManagerService, IUIPartsService, ISidebarService, ComponentManager, IconManager } from '@univerjs/ui';
4
+ import { ISheetTemplateService, SheetIoTarget } from '@yudaocode/univer-sheets';
5
+ import { Observable } from 'rxjs';
6
+ export { default as enUS } from './locale/en-US.js';
7
+ export { ISheetsUILocale, default as zhCN } from './locale/zh-CN.js';
8
+ import React from 'react';
9
+
10
+ type SheetModalTabMode = 'export' | 'print' | 'json';
11
+ interface IUniverSheetsUIFeatures {
12
+ /** Enable dataset tree binding, template cell corner markers & dynamic vertical list expansion. Default: `false` */
13
+ datasetBinding?: boolean;
14
+ /** Enable A4 portrait/landscape print pagination preview & repeating header row setup. Default: `false` */
15
+ printTemplate?: boolean;
16
+ /** Show sample dataset fill button in left sidebar (`datasetBinding` sub-toggle) */
17
+ sampleDataFill?: boolean;
18
+ /** Show Visual sub-tab (diagonal, barcode, QRCode, sparklines, shapes, alerts) in inspector */
19
+ visualTab?: boolean;
20
+ /** Show Analytics sub-tab (charts, pivot, slicers, timelines, formula auditing) in inspector */
21
+ analyticsTab?: boolean;
22
+ /** Show Online Fill sub-tab (fill widgets, dynamic rows, protection, drill-down) in inspector */
23
+ fillTab?: boolean;
24
+ /** Show AI Copilot formula & template helper card in inspector. Default: `true` */
25
+ aiCopilot?: boolean;
26
+ /** Show Version History & Report Migration Package card in inspector. Default: `true` */
27
+ versionHistory?: boolean;
28
+ /** Show LoopBlock & Tiling controls inside Bind sub-tab */
29
+ loopBlocks?: boolean;
30
+ /** Show Row/Column Outline grouping controls inside Bind sub-tab */
31
+ outlines?: boolean;
32
+ /** Show Query Parameter Bar configurator inside Bind sub-tab */
33
+ queryParamsConfig?: boolean;
34
+ /** Allow HTML5 drag-and-drop of dataset fields onto cells. Default: `true` */
35
+ fieldDrag?: boolean;
36
+ /** Show placeholder syntax (`${}` vs `#{}`) selector inside Bind sub-tab. Default: `true` */
37
+ syntaxSelector?: boolean;
38
+ /** Show advanced parent-cell / filter / zone / tree / subtotal controls inside Bind sub-tab. Default: `true` */
39
+ advancedCellBinding?: boolean;
40
+ /** Show built-in dynamic expansion preview & export modal entry button. Default: `true` */
41
+ builtinPreviewModal?: boolean;
42
+ }
43
+ type IResolvedSheetsUIFeatures = Required<IUniverSheetsUIFeatures>;
44
+ declare function resolveSheetsUIFeatures(raw?: IUniverSheetsUIFeatures): IResolvedSheetsUIFeatures;
45
+ interface ISheetsUIFeatureService {
46
+ readonly features$: Observable<IResolvedSheetsUIFeatures>;
47
+ readonly modalOpen$: Observable<boolean>;
48
+ readonly modalTab$: Observable<SheetModalTabMode>;
49
+ getFeatures(): IResolvedSheetsUIFeatures;
50
+ setFeatures(features: IUniverSheetsUIFeatures): void;
51
+ patchFeatures(patch: Partial<IResolvedSheetsUIFeatures>): void;
52
+ isModalOpen(): boolean;
53
+ getModalTab(): SheetModalTabMode;
54
+ openModal(tab?: SheetModalTabMode): void;
55
+ closeModal(): void;
56
+ setModalTab(tab: SheetModalTabMode): void;
57
+ }
58
+ declare const ISheetsUIFeatureService: _univerjs_core.IdentifierDecorator<ISheetsUIFeatureService>;
59
+ declare class SheetsUIFeatureService extends Disposable implements ISheetsUIFeatureService {
60
+ private readonly _features$;
61
+ private readonly _modalOpen$;
62
+ private readonly _modalTab$;
63
+ readonly features$: Observable<IResolvedSheetsUIFeatures>;
64
+ readonly modalOpen$: Observable<boolean>;
65
+ readonly modalTab$: Observable<SheetModalTabMode>;
66
+ constructor(initial?: IUniverSheetsUIFeatures);
67
+ getFeatures(): IResolvedSheetsUIFeatures;
68
+ setFeatures(features: IUniverSheetsUIFeatures): void;
69
+ patchFeatures(patch: Partial<IResolvedSheetsUIFeatures>): void;
70
+ isModalOpen(): boolean;
71
+ getModalTab(): SheetModalTabMode;
72
+ openModal(tab?: SheetModalTabMode): void;
73
+ closeModal(): void;
74
+ setModalTab(tab: SheetModalTabMode): void;
75
+ }
76
+
77
+ interface IUniverSheetsExtUIConfig {
78
+ /** Whether to open the right inspector sidebar on startup when report features are enabled */
79
+ defaultOpenInspector?: boolean;
80
+ /** On-demand enterprise dataset expansion & print features (all `false` by default) */
81
+ features?: IUniverSheetsUIFeatures;
82
+ }
83
+ declare class SheetsExtUIController extends Disposable {
84
+ private readonly _config;
85
+ private readonly _injector;
86
+ private readonly _commandService;
87
+ private readonly _menuManagerService;
88
+ private readonly _uiPartsService;
89
+ private readonly _sidebarService;
90
+ private readonly _templateService;
91
+ private readonly _componentManager;
92
+ private readonly _iconManager;
93
+ constructor(_config: Partial<IUniverSheetsExtUIConfig>, _injector: Injector, _commandService: ICommandService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _sidebarService: ISidebarService, _templateService: ISheetTemplateService, _componentManager: ComponentManager, _iconManager: IconManager);
94
+ private _initIcons;
95
+ private _initComponents;
96
+ private _initOperations;
97
+ private _initMenus;
98
+ private _initWorkbenchParts;
99
+ }
100
+
101
+ declare function useSheetsUILocale(): {
102
+ t: (key: string) => string;
103
+ currentLocale: LocaleType;
104
+ };
105
+
106
+ declare const SHEET_INSPECTOR_SIDEBAR_ID = "yudao.sheets.inspector.sidebar";
107
+ declare const SHEET_INSPECTOR_COMPONENT_KEY = "yudao.sheets.inspector.component";
108
+ declare function openSheetInspectorSidebar(sidebarService: ISidebarService): void;
109
+ declare const ToggleSheetInspectorOperation: IOperation;
110
+ declare const OpenSheetModalOperation: IOperation<{
111
+ tab?: SheetModalTabMode;
112
+ }>;
113
+ declare const ImportSheetFileOperation: IOperation<{
114
+ target?: SheetIoTarget;
115
+ }>;
116
+ declare const FillSheetSampleDatasetOperation: IOperation;
117
+ declare const UpdateSheetsUIFeaturesOperation: IOperation<{
118
+ features?: IUniverSheetsUIFeatures;
119
+ patch?: Partial<IResolvedSheetsUIFeatures>;
120
+ }>;
121
+
122
+ declare const UNIVER_SHEETS_EXT_UI_PLUGIN_NAME = "YUDAO_UNIVER_SHEETS_EXT_UI_PLUGIN";
123
+ declare class UniverSheetsExtUIPlugin extends Plugin {
124
+ private readonly _config;
125
+ protected readonly _injector: Injector;
126
+ static pluginName: string;
127
+ static packageName: string;
128
+ static type: UniverInstanceType;
129
+ constructor(_config: Partial<IUniverSheetsExtUIConfig> | undefined, _injector: Injector);
130
+ onStarting(): void;
131
+ getResolvedFeatures(): Required<IUniverSheetsUIFeatures>;
132
+ }
133
+
134
+ declare const SheetInspectorPanel: React.FC;
135
+
136
+ declare const SheetLeftSidebar: React.FC;
137
+
138
+ declare const SheetPreviewAndIoModal: React.FC;
139
+
140
+ declare const SheetRichOverlayHost: React.FC;
141
+
142
+ export { FillSheetSampleDatasetOperation, type IResolvedSheetsUIFeatures, ISheetsUIFeatureService, type IUniverSheetsExtUIConfig, type IUniverSheetsUIFeatures, ImportSheetFileOperation, OpenSheetModalOperation, SHEET_INSPECTOR_COMPONENT_KEY, SHEET_INSPECTOR_SIDEBAR_ID, SheetInspectorPanel, SheetLeftSidebar, type SheetModalTabMode, SheetPreviewAndIoModal, SheetRichOverlayHost, SheetsExtUIController, SheetsUIFeatureService, ToggleSheetInspectorOperation, UNIVER_SHEETS_EXT_UI_PLUGIN_NAME, UniverSheetsExtUIPlugin, UpdateSheetsUIFeaturesOperation, openSheetInspectorSidebar, resolveSheetsUIFeatures, useSheetsUILocale };
@@ -0,0 +1,5 @@
1
+ import { ISheetsUILocale } from './zh-CN.js';
2
+
3
+ declare const enUS: ISheetsUILocale;
4
+
5
+ export { enUS as default, enUS };
@@ -0,0 +1,96 @@
1
+ declare const zhCN: {
2
+ yudaoSheets: {
3
+ ribbon: {
4
+ importXlsx: string;
5
+ importXlsxTooltip: string;
6
+ exportXlsx: string;
7
+ exportXlsxTooltip: string;
8
+ fillDataset: string;
9
+ fillDatasetTooltip: string;
10
+ printPreview: string;
11
+ printPreviewTooltip: string;
12
+ inspector: string;
13
+ inspectorTooltip: string;
14
+ };
15
+ sidebar: {
16
+ inspectorTitle: string;
17
+ };
18
+ leftSidebar: {
19
+ datasetsTab: string;
20
+ boundCellsTab: string;
21
+ expandSampleBtn: string;
22
+ activeCellPrefix: string;
23
+ dragBindHint: string;
24
+ listExpandBadge: string;
25
+ emptyBoundCells: string;
26
+ kindList: string;
27
+ kindScalar: string;
28
+ };
29
+ inspector: {
30
+ activeCellLabel: string;
31
+ valueLabel: string;
32
+ emptyValue: string;
33
+ formulaLabel: string;
34
+ countLabel: string;
35
+ sumLabel: string;
36
+ avgLabel: string;
37
+ subTabBind: string;
38
+ subTabVisual: string;
39
+ subTabAnalytics: string;
40
+ subTabFill: string;
41
+ datasetSectionTitle: string;
42
+ cellFilterTitle: string;
43
+ cellFilterAddBtn: string;
44
+ cellFilterEmptyHint: string;
45
+ cellFilterFieldPlaceholder: string;
46
+ cellFilterValuePlaceholder: string;
47
+ renderTypeLabel: string;
48
+ renderTypeText: string;
49
+ renderTypeQrcode: string;
50
+ renderTypeBarcode: string;
51
+ renderTypeImage: string;
52
+ renderTypeProgress: string;
53
+ renderTypeRate: string;
54
+ renderTypeTag: string;
55
+ renderTypeCnMoney: string;
56
+ qrLogoUrlLabel: string;
57
+ qrLogoRatioLabel: string;
58
+ progressColorLabel: string;
59
+ progressTrackColorLabel: string;
60
+ progressShowTextLabel: string;
61
+ rateMaxLabel: string;
62
+ rateColorLabel: string;
63
+ tagColorLabel: string;
64
+ };
65
+ modal: {
66
+ tabExport: string;
67
+ tabPrint: string;
68
+ tabJson: string;
69
+ ioPipelinePrefix: string;
70
+ quickExportLabel: string;
71
+ quickExportXlsx: string;
72
+ quickExportPdf: string;
73
+ quickExportDocx: string;
74
+ quickExportCsv: string;
75
+ quickExportHtml: string;
76
+ queryBtn: string;
77
+ resetBtn: string;
78
+ allOption: string;
79
+ browserModeBtn: string;
80
+ serverModeBtn: string;
81
+ serverNotConnected: string;
82
+ refreshPreviewBtn: string;
83
+ mockDatasetBtn: string;
84
+ applyToSheetBtn: string;
85
+ triggerPrintBtn: string;
86
+ };
87
+ overlay: {
88
+ pageBreakBadge: string;
89
+ removeShapeTitle: string;
90
+ };
91
+ };
92
+ };
93
+
94
+ type ISheetsUILocale = typeof zhCN;
95
+
96
+ export { type ISheetsUILocale, zhCN as default, zhCN };
package/package.json CHANGED
@@ -1,6 +1,91 @@
1
1
  {
2
2
  "name": "@yudaocode/univer-sheets-ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.6.205",
4
+ "description": "Univer Sheets UI enhancement plugin: on-demand dataset list binding sidebar, template cell inspector, A4 print preview, charts/pivots, and XLSX/CSV/PDF IO modal",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://github.com/yudaocode/yudao-univer#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/yudaocode/yudao-univer.git",
10
+ "directory": "packages/sheets-ui"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/yudaocode/yudao-univer/issues"
14
+ },
15
+ "keywords": [
16
+ "univer",
17
+ "yudao",
18
+ "sheets",
19
+ "excel",
20
+ "report",
21
+ "designer",
22
+ "ui",
23
+ "plugin"
24
+ ],
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "registry": "https://registry.npmjs.org/"
28
+ },
29
+ "files": [
30
+ "lib"
31
+ ],
32
+ "main": "./lib/cjs/index.js",
33
+ "module": "./lib/es/index.js",
34
+ "types": "./lib/types/index.d.ts",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./lib/types/index.d.ts",
38
+ "import": "./lib/es/index.js",
39
+ "require": "./lib/cjs/index.js"
40
+ },
41
+ "./locale/zh-CN": {
42
+ "types": "./lib/types/locale/zh-CN.d.ts",
43
+ "import": "./lib/es/locale/zh-CN.js",
44
+ "require": "./lib/cjs/locale/zh-CN.js"
45
+ },
46
+ "./locale/en-US": {
47
+ "types": "./lib/types/locale/en-US.d.ts",
48
+ "import": "./lib/es/locale/en-US.js",
49
+ "require": "./lib/cjs/locale/en-US.js"
50
+ },
51
+ "./lib/index.css": "./lib/index.css",
52
+ "./styles.css": "./lib/index.css",
53
+ "./package.json": "./package.json"
54
+ },
55
+ "dependencies": {
56
+ "jsbarcode": "^3.11.6",
57
+ "qrcode": "^1.5.4"
58
+ },
59
+ "peerDependencies": {
60
+ "@univerjs/core": "^1.6.2",
61
+ "@univerjs/design": "^1.6.2",
62
+ "@univerjs/engine-render": "^1.6.2",
63
+ "@univerjs/sheets": "^1.6.2",
64
+ "@univerjs/sheets-ui": "^1.6.2",
65
+ "@univerjs/ui": "^1.6.2",
66
+ "react": ">=18.0.0",
67
+ "react-dom": ">=18.0.0",
68
+ "rxjs": ">=7.0.0",
69
+ "@yudaocode/univer-sheets": "^1.6.205"
70
+ },
71
+ "devDependencies": {
72
+ "@types/qrcode": "^1.5.6",
73
+ "@univerjs/core": "1.6.2",
74
+ "@univerjs/design": "1.6.2",
75
+ "@univerjs/engine-formula": "1.6.2",
76
+ "@univerjs/engine-render": "1.6.2",
77
+ "@univerjs/icons": "^1.50.3",
78
+ "@univerjs/sheets": "1.6.2",
79
+ "@univerjs/sheets-ui": "1.6.2",
80
+ "@univerjs/ui": "1.6.2",
81
+ "react": "^18.3.1",
82
+ "react-dom": "^18.3.1",
83
+ "rxjs": "^7.8.2",
84
+ "@yudaocode/univer-sheets": "1.6.205"
85
+ },
86
+ "scripts": {
87
+ "build": "tsup",
88
+ "test": "vitest run",
89
+ "typecheck": "tsc --noEmit"
90
+ }
6
91
  }