jvs-excel-ui 0.0.0-stage → 0.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.
@@ -0,0 +1,830 @@
1
+ import { nextTick } from 'vue';
2
+ import { ExcelInputSource } from './utils/excelIo';
3
+ import { JvsExcelProps } from './types';
4
+ declare function createBaseReportData(docId?: string): Record<string, any>;
5
+ declare function handleDoAction(item: any): void;
6
+ declare function getData(isEnd?: boolean): any;
7
+ declare function setData(newWorkbookData?: Record<string, any>): Promise<void>;
8
+ declare function forceCommitEdit(): Promise<void>;
9
+ declare function getUniverAPI(): any;
10
+ declare function getUniver(): any;
11
+ declare function getActiveWorkbook(): any;
12
+ declare function getActiveSheet(): any;
13
+ declare function applyCollabCommands(commands: any[]): void;
14
+ declare function flushCommandList(): void;
15
+ declare function resetCommandList(): void;
16
+ declare function importExcelFile(source: ExcelInputSource, fileName?: string): Promise<Record<string, any>>;
17
+ declare function exportExcelFile(fileName?: string, download?: boolean): Promise<Blob>;
18
+ declare const _default: import('vue').DefineComponent<JvsExcelProps, {
19
+ doAction: typeof handleDoAction;
20
+ getData: typeof getData;
21
+ setData: typeof setData;
22
+ importExcelFile: typeof importExcelFile;
23
+ exportExcelFile: typeof exportExcelFile;
24
+ forceCommitEdit: typeof forceCommitEdit;
25
+ flushCommandList: typeof flushCommandList;
26
+ resetCommandList: typeof resetCommandList;
27
+ applyCollabCommands: typeof applyCollabCommands;
28
+ getUniverAPI: typeof getUniverAPI;
29
+ getUniver: typeof getUniver;
30
+ getActiveWorkbook: typeof getActiveWorkbook;
31
+ getActiveSheet: typeof getActiveSheet;
32
+ univerAPI: import('vue').Ref<any, any>;
33
+ univerSheetRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
34
+ reportDesign: {
35
+ type: ObjectConstructor;
36
+ default: () => {};
37
+ };
38
+ designInfo: {
39
+ type: ObjectConstructor;
40
+ default: () => {};
41
+ };
42
+ isEdit: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ locale: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ memberList: {
51
+ type: ArrayConstructor;
52
+ default: () => never[];
53
+ };
54
+ uploadImage: {
55
+ type: FunctionConstructor;
56
+ default: undefined;
57
+ };
58
+ }>> & Readonly<{
59
+ onCellClick?: ((...args: any[]) => any) | undefined;
60
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
61
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
62
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
63
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
64
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
66
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
67
+ onNewChanges?: ((...args: any[]) => any) | undefined;
68
+ onRangeChange?: ((...args: any[]) => any) | undefined;
69
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
70
+ onReady?: ((...args: any[]) => any) | undefined;
71
+ }>, {
72
+ doAction: (item: any) => void;
73
+ editCell: import('vue').Ref<boolean, boolean>;
74
+ getData: (isEnd?: boolean) => any;
75
+ sendRangeInfo: () => void;
76
+ resetCommandList: () => void;
77
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
78
+ flushCommandList: () => void;
79
+ forceCommitEdit: () => Promise<void>;
80
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
81
+ getUniverAPI: () => any;
82
+ getUniver: () => any;
83
+ univerRef: import('vue').Ref<any, any>;
84
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
85
+ cellClick: (...args: any[]) => void;
86
+ "update:currentCell": (...args: any[]) => void;
87
+ "update:sheetData": (...args: any[]) => void;
88
+ "update:undoNum": (...args: any[]) => void;
89
+ "update:redoNum": (...args: any[]) => void;
90
+ "update:currentSheetId": (...args: any[]) => void;
91
+ "update:editCell": (...args: any[]) => void;
92
+ commandExecuted: (...args: any[]) => void;
93
+ newChanges: (...args: any[]) => void;
94
+ rangeChange: (...args: any[]) => void;
95
+ univerCellChange: (...args: any[]) => void;
96
+ ready: (...args: any[]) => void;
97
+ }, import('vue').PublicProps, {
98
+ reportDesign: Record<string, any>;
99
+ designInfo: Record<string, any>;
100
+ isEdit: boolean;
101
+ locale: string;
102
+ memberList: unknown[];
103
+ uploadImage: Function;
104
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
105
+ sheetContainerRef: HTMLDivElement;
106
+ memberCanvasRef: HTMLCanvasElement;
107
+ sheetImageInputRef: HTMLInputElement;
108
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
109
+ P: {};
110
+ B: {};
111
+ D: {};
112
+ C: {};
113
+ M: {};
114
+ Defaults: {};
115
+ }, Readonly<import('vue').ExtractPropTypes<{
116
+ reportDesign: {
117
+ type: ObjectConstructor;
118
+ default: () => {};
119
+ };
120
+ designInfo: {
121
+ type: ObjectConstructor;
122
+ default: () => {};
123
+ };
124
+ isEdit: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ locale: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ memberList: {
133
+ type: ArrayConstructor;
134
+ default: () => never[];
135
+ };
136
+ uploadImage: {
137
+ type: FunctionConstructor;
138
+ default: undefined;
139
+ };
140
+ }>> & Readonly<{
141
+ onCellClick?: ((...args: any[]) => any) | undefined;
142
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
143
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
144
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
145
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
146
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
147
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
148
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
149
+ onNewChanges?: ((...args: any[]) => any) | undefined;
150
+ onRangeChange?: ((...args: any[]) => any) | undefined;
151
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
152
+ onReady?: ((...args: any[]) => any) | undefined;
153
+ }>, {
154
+ doAction: (item: any) => void;
155
+ editCell: import('vue').Ref<boolean, boolean>;
156
+ getData: (isEnd?: boolean) => any;
157
+ sendRangeInfo: () => void;
158
+ resetCommandList: () => void;
159
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
160
+ flushCommandList: () => void;
161
+ forceCommitEdit: () => Promise<void>;
162
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
163
+ getUniverAPI: () => any;
164
+ getUniver: () => any;
165
+ univerRef: import('vue').Ref<any, any>;
166
+ }, {}, {}, {}, {
167
+ reportDesign: Record<string, any>;
168
+ designInfo: Record<string, any>;
169
+ isEdit: boolean;
170
+ locale: string;
171
+ memberList: unknown[];
172
+ uploadImage: Function;
173
+ }> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
174
+ reportDesign: {
175
+ type: ObjectConstructor;
176
+ default: () => {};
177
+ };
178
+ designInfo: {
179
+ type: ObjectConstructor;
180
+ default: () => {};
181
+ };
182
+ isEdit: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ locale: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ memberList: {
191
+ type: ArrayConstructor;
192
+ default: () => never[];
193
+ };
194
+ uploadImage: {
195
+ type: FunctionConstructor;
196
+ default: undefined;
197
+ };
198
+ }>> & Readonly<{
199
+ onCellClick?: ((...args: any[]) => any) | undefined;
200
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
201
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
202
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
203
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
204
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
205
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
206
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
207
+ onNewChanges?: ((...args: any[]) => any) | undefined;
208
+ onRangeChange?: ((...args: any[]) => any) | undefined;
209
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
210
+ onReady?: ((...args: any[]) => any) | undefined;
211
+ }>, {
212
+ doAction: (item: any) => void;
213
+ editCell: import('vue').Ref<boolean, boolean>;
214
+ getData: (isEnd?: boolean) => any;
215
+ sendRangeInfo: () => void;
216
+ resetCommandList: () => void;
217
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
218
+ flushCommandList: () => void;
219
+ forceCommitEdit: () => Promise<void>;
220
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
221
+ getUniverAPI: () => any;
222
+ getUniver: () => any;
223
+ univerRef: import('vue').Ref<any, any>;
224
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
225
+ cellClick: (...args: any[]) => void;
226
+ "update:currentCell": (...args: any[]) => void;
227
+ "update:sheetData": (...args: any[]) => void;
228
+ "update:undoNum": (...args: any[]) => void;
229
+ "update:redoNum": (...args: any[]) => void;
230
+ "update:currentSheetId": (...args: any[]) => void;
231
+ "update:editCell": (...args: any[]) => void;
232
+ commandExecuted: (...args: any[]) => void;
233
+ newChanges: (...args: any[]) => void;
234
+ rangeChange: (...args: any[]) => void;
235
+ univerCellChange: (...args: any[]) => void;
236
+ ready: (...args: any[]) => void;
237
+ }, import('vue').PublicProps, {
238
+ reportDesign: Record<string, any>;
239
+ designInfo: Record<string, any>;
240
+ isEdit: boolean;
241
+ locale: string;
242
+ memberList: unknown[];
243
+ uploadImage: Function;
244
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
245
+ sheetContainerRef: HTMLDivElement;
246
+ memberCanvasRef: HTMLCanvasElement;
247
+ sheetImageInputRef: HTMLInputElement;
248
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
249
+ P: {};
250
+ B: {};
251
+ D: {};
252
+ C: {};
253
+ M: {};
254
+ Defaults: {};
255
+ }, Readonly<import('vue').ExtractPropTypes<{
256
+ reportDesign: {
257
+ type: ObjectConstructor;
258
+ default: () => {};
259
+ };
260
+ designInfo: {
261
+ type: ObjectConstructor;
262
+ default: () => {};
263
+ };
264
+ isEdit: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ locale: {
269
+ type: StringConstructor;
270
+ default: string;
271
+ };
272
+ memberList: {
273
+ type: ArrayConstructor;
274
+ default: () => never[];
275
+ };
276
+ uploadImage: {
277
+ type: FunctionConstructor;
278
+ default: undefined;
279
+ };
280
+ }>> & Readonly<{
281
+ onCellClick?: ((...args: any[]) => any) | undefined;
282
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
283
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
284
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
285
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
286
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
287
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
288
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
289
+ onNewChanges?: ((...args: any[]) => any) | undefined;
290
+ onRangeChange?: ((...args: any[]) => any) | undefined;
291
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
292
+ onReady?: ((...args: any[]) => any) | undefined;
293
+ }>, {
294
+ doAction: (item: any) => void;
295
+ editCell: import('vue').Ref<boolean, boolean>;
296
+ getData: (isEnd?: boolean) => any;
297
+ sendRangeInfo: () => void;
298
+ resetCommandList: () => void;
299
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
300
+ flushCommandList: () => void;
301
+ forceCommitEdit: () => Promise<void>;
302
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
303
+ getUniverAPI: () => any;
304
+ getUniver: () => any;
305
+ univerRef: import('vue').Ref<any, any>;
306
+ }, {}, {}, {}, {
307
+ reportDesign: Record<string, any>;
308
+ designInfo: Record<string, any>;
309
+ isEdit: boolean;
310
+ locale: string;
311
+ memberList: unknown[];
312
+ uploadImage: Function;
313
+ }> | null>;
314
+ createBaseReportData: typeof createBaseReportData;
315
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
316
+ changePage: (...args: any[]) => void;
317
+ commandExecuted: (...args: any[]) => void;
318
+ newChanges: (...args: any[]) => void;
319
+ rangeChange: (...args: any[]) => void;
320
+ univerCellChange: (...args: any[]) => void;
321
+ ready: (...args: any[]) => void;
322
+ }, string, import('vue').PublicProps, Readonly<JvsExcelProps> & Readonly<{
323
+ onChangePage?: ((...args: any[]) => any) | undefined;
324
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
325
+ onNewChanges?: ((...args: any[]) => any) | undefined;
326
+ onRangeChange?: ((...args: any[]) => any) | undefined;
327
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
328
+ onReady?: ((...args: any[]) => any) | undefined;
329
+ }>, {
330
+ id: string;
331
+ readonly: boolean;
332
+ designInfo: Record<string, any>;
333
+ isEdit: boolean;
334
+ locale: string;
335
+ memberList: any[];
336
+ uploadImage: (file: File) => Promise<string>;
337
+ workbookData: Record<string, any>;
338
+ fileContent: ExcelInputSource;
339
+ fileUrl: string;
340
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
341
+ sheetHeaderRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
342
+ currentData: {
343
+ type: ObjectConstructor;
344
+ default: () => {};
345
+ };
346
+ sheetData: {
347
+ type: ObjectConstructor;
348
+ default: () => {};
349
+ };
350
+ id: StringConstructor;
351
+ readonly: {
352
+ type: BooleanConstructor;
353
+ default: boolean;
354
+ };
355
+ redoNum: {
356
+ type: NumberConstructor;
357
+ default: number;
358
+ };
359
+ undoNum: {
360
+ type: NumberConstructor;
361
+ default: number;
362
+ };
363
+ }>> & Readonly<{
364
+ onDoAction?: ((...args: any[]) => any) | undefined;
365
+ }>, {
366
+ cellClick: () => void;
367
+ onClickOutside: () => void;
368
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
369
+ doAction: (...args: any[]) => void;
370
+ }, import('vue').PublicProps, {
371
+ currentData: Record<string, any>;
372
+ redoNum: number;
373
+ undoNum: number;
374
+ sheetData: Record<string, any>;
375
+ readonly: boolean;
376
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
377
+ headerEl: HTMLDivElement;
378
+ moreRef: HTMLDivElement;
379
+ popoverRef: unknown;
380
+ }, any, import('vue').ComponentProvideOptions, {
381
+ P: {};
382
+ B: {};
383
+ D: {};
384
+ C: {};
385
+ M: {};
386
+ Defaults: {};
387
+ }, Readonly<import('vue').ExtractPropTypes<{
388
+ currentData: {
389
+ type: ObjectConstructor;
390
+ default: () => {};
391
+ };
392
+ sheetData: {
393
+ type: ObjectConstructor;
394
+ default: () => {};
395
+ };
396
+ id: StringConstructor;
397
+ readonly: {
398
+ type: BooleanConstructor;
399
+ default: boolean;
400
+ };
401
+ redoNum: {
402
+ type: NumberConstructor;
403
+ default: number;
404
+ };
405
+ undoNum: {
406
+ type: NumberConstructor;
407
+ default: number;
408
+ };
409
+ }>> & Readonly<{
410
+ onDoAction?: ((...args: any[]) => any) | undefined;
411
+ }>, {
412
+ cellClick: () => void;
413
+ onClickOutside: () => void;
414
+ }, {}, {}, {}, {
415
+ currentData: Record<string, any>;
416
+ redoNum: number;
417
+ undoNum: number;
418
+ sheetData: Record<string, any>;
419
+ readonly: boolean;
420
+ }> | null;
421
+ univerSheetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
422
+ reportDesign: {
423
+ type: ObjectConstructor;
424
+ default: () => {};
425
+ };
426
+ designInfo: {
427
+ type: ObjectConstructor;
428
+ default: () => {};
429
+ };
430
+ isEdit: {
431
+ type: BooleanConstructor;
432
+ default: boolean;
433
+ };
434
+ locale: {
435
+ type: StringConstructor;
436
+ default: string;
437
+ };
438
+ memberList: {
439
+ type: ArrayConstructor;
440
+ default: () => never[];
441
+ };
442
+ uploadImage: {
443
+ type: FunctionConstructor;
444
+ default: undefined;
445
+ };
446
+ }>> & Readonly<{
447
+ onCellClick?: ((...args: any[]) => any) | undefined;
448
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
449
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
450
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
451
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
452
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
453
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
454
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
455
+ onNewChanges?: ((...args: any[]) => any) | undefined;
456
+ onRangeChange?: ((...args: any[]) => any) | undefined;
457
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
458
+ onReady?: ((...args: any[]) => any) | undefined;
459
+ }>, {
460
+ doAction: (item: any) => void;
461
+ editCell: import('vue').Ref<boolean, boolean>;
462
+ getData: (isEnd?: boolean) => any;
463
+ sendRangeInfo: () => void;
464
+ resetCommandList: () => void;
465
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
466
+ flushCommandList: () => void;
467
+ forceCommitEdit: () => Promise<void>;
468
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
469
+ getUniverAPI: () => any;
470
+ getUniver: () => any;
471
+ univerRef: import('vue').Ref<any, any>;
472
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
473
+ cellClick: (...args: any[]) => void;
474
+ "update:currentCell": (...args: any[]) => void;
475
+ "update:sheetData": (...args: any[]) => void;
476
+ "update:undoNum": (...args: any[]) => void;
477
+ "update:redoNum": (...args: any[]) => void;
478
+ "update:currentSheetId": (...args: any[]) => void;
479
+ "update:editCell": (...args: any[]) => void;
480
+ commandExecuted: (...args: any[]) => void;
481
+ newChanges: (...args: any[]) => void;
482
+ rangeChange: (...args: any[]) => void;
483
+ univerCellChange: (...args: any[]) => void;
484
+ ready: (...args: any[]) => void;
485
+ }, import('vue').PublicProps, {
486
+ reportDesign: Record<string, any>;
487
+ designInfo: Record<string, any>;
488
+ isEdit: boolean;
489
+ locale: string;
490
+ memberList: unknown[];
491
+ uploadImage: Function;
492
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
493
+ sheetContainerRef: HTMLDivElement;
494
+ memberCanvasRef: HTMLCanvasElement;
495
+ sheetImageInputRef: HTMLInputElement;
496
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
497
+ P: {};
498
+ B: {};
499
+ D: {};
500
+ C: {};
501
+ M: {};
502
+ Defaults: {};
503
+ }, Readonly<import('vue').ExtractPropTypes<{
504
+ reportDesign: {
505
+ type: ObjectConstructor;
506
+ default: () => {};
507
+ };
508
+ designInfo: {
509
+ type: ObjectConstructor;
510
+ default: () => {};
511
+ };
512
+ isEdit: {
513
+ type: BooleanConstructor;
514
+ default: boolean;
515
+ };
516
+ locale: {
517
+ type: StringConstructor;
518
+ default: string;
519
+ };
520
+ memberList: {
521
+ type: ArrayConstructor;
522
+ default: () => never[];
523
+ };
524
+ uploadImage: {
525
+ type: FunctionConstructor;
526
+ default: undefined;
527
+ };
528
+ }>> & Readonly<{
529
+ onCellClick?: ((...args: any[]) => any) | undefined;
530
+ "onUpdate:currentCell"?: ((...args: any[]) => any) | undefined;
531
+ "onUpdate:sheetData"?: ((...args: any[]) => any) | undefined;
532
+ "onUpdate:undoNum"?: ((...args: any[]) => any) | undefined;
533
+ "onUpdate:redoNum"?: ((...args: any[]) => any) | undefined;
534
+ "onUpdate:currentSheetId"?: ((...args: any[]) => any) | undefined;
535
+ "onUpdate:editCell"?: ((...args: any[]) => any) | undefined;
536
+ onCommandExecuted?: ((...args: any[]) => any) | undefined;
537
+ onNewChanges?: ((...args: any[]) => any) | undefined;
538
+ onRangeChange?: ((...args: any[]) => any) | undefined;
539
+ onUniverCellChange?: ((...args: any[]) => any) | undefined;
540
+ onReady?: ((...args: any[]) => any) | undefined;
541
+ }>, {
542
+ doAction: (item: any) => void;
543
+ editCell: import('vue').Ref<boolean, boolean>;
544
+ getData: (isEnd?: boolean) => any;
545
+ sendRangeInfo: () => void;
546
+ resetCommandList: () => void;
547
+ changeUniverEditStatus: (value: boolean) => Promise<void>;
548
+ flushCommandList: () => void;
549
+ forceCommitEdit: () => Promise<void>;
550
+ applyCollabCommands: (commands: import('./sheet.vue').CommandListItem[]) => void;
551
+ getUniverAPI: () => any;
552
+ getUniver: () => any;
553
+ univerRef: import('vue').Ref<any, any>;
554
+ }, {}, {}, {}, {
555
+ reportDesign: Record<string, any>;
556
+ designInfo: Record<string, any>;
557
+ isEdit: boolean;
558
+ locale: string;
559
+ memberList: unknown[];
560
+ uploadImage: Function;
561
+ }> | null;
562
+ sheetFooterRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
563
+ name: StringConstructor;
564
+ sheetData: {
565
+ type: ObjectConstructor;
566
+ default: () => {};
567
+ };
568
+ id: StringConstructor;
569
+ sheetId: StringConstructor;
570
+ readonly: {
571
+ type: BooleanConstructor;
572
+ default: boolean;
573
+ };
574
+ reportDesign: {
575
+ type: ObjectConstructor;
576
+ default: () => {};
577
+ };
578
+ designInfo: {
579
+ type: ObjectConstructor;
580
+ default: () => {};
581
+ };
582
+ isEdit: {
583
+ type: BooleanConstructor;
584
+ default: boolean;
585
+ };
586
+ addSheet: {
587
+ type: BooleanConstructor;
588
+ default: boolean;
589
+ };
590
+ changeSheet: {
591
+ type: BooleanConstructor;
592
+ default: boolean;
593
+ };
594
+ openSheetMenu: {
595
+ type: BooleanConstructor;
596
+ default: boolean;
597
+ };
598
+ updateSheet: {
599
+ type: BooleanConstructor;
600
+ default: boolean;
601
+ };
602
+ copySheet: {
603
+ type: BooleanConstructor;
604
+ default: boolean;
605
+ };
606
+ deleteSheet: {
607
+ type: BooleanConstructor;
608
+ default: boolean;
609
+ };
610
+ type: {
611
+ type: StringConstructor;
612
+ default: string;
613
+ };
614
+ }>> & Readonly<{
615
+ onDoAction?: ((...args: any[]) => any) | undefined;
616
+ onChangePage?: ((...args: any[]) => any) | undefined;
617
+ }>, {
618
+ cellClick: () => void;
619
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
620
+ doAction: (...args: any[]) => void;
621
+ changePage: (...args: any[]) => void;
622
+ }, import('vue').PublicProps, {
623
+ type: string;
624
+ sheetData: Record<string, any>;
625
+ readonly: boolean;
626
+ reportDesign: Record<string, any>;
627
+ designInfo: Record<string, any>;
628
+ isEdit: boolean;
629
+ addSheet: boolean;
630
+ changeSheet: boolean;
631
+ openSheetMenu: boolean;
632
+ updateSheet: boolean;
633
+ copySheet: boolean;
634
+ deleteSheet: boolean;
635
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
636
+ footeContentRef: HTMLDivElement;
637
+ chagneSheetsButtonRef: HTMLDivElement;
638
+ sheetsNameBoxRef: HTMLDivElement;
639
+ sheetsNameContentRef: HTMLDivElement;
640
+ pageSelectRef: HTMLDivElement;
641
+ buttonColorRef: ({
642
+ $: import('vue').ComponentInternalInstance;
643
+ $data: {};
644
+ $props: {
645
+ readonly modelValue?: string | undefined;
646
+ readonly resetColor?: string | undefined;
647
+ readonly width?: string | undefined;
648
+ readonly customClass?: string | undefined;
649
+ readonly disable?: boolean | undefined;
650
+ readonly openGradual?: boolean | undefined;
651
+ readonly theme?: string | undefined;
652
+ readonly onChange?: ((val: string) => any) | undefined;
653
+ readonly "onUpdate:modelValue"?: ((val: string) => any) | undefined;
654
+ readonly onPopShow?: (() => any) | undefined;
655
+ readonly onPopHidden?: ((val: boolean) => any) | undefined;
656
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
657
+ $attrs: import('vue').Attrs;
658
+ $refs: {
659
+ [x: string]: unknown;
660
+ } & {
661
+ triggerRef: HTMLDivElement;
662
+ };
663
+ $slots: Readonly<{
664
+ [name: string]: import('vue').Slot<any> | undefined;
665
+ }>;
666
+ $root: import('vue').ComponentPublicInstance | null;
667
+ $parent: import('vue').ComponentPublicInstance | null;
668
+ $host: Element | null;
669
+ $emit: ((event: "change", val: string) => void) & ((event: "update:modelValue", val: string) => void) & ((event: "popShow") => void) & ((event: "popHidden", val: boolean) => void);
670
+ $el: any;
671
+ $options: import('vue').ComponentOptionsBase<Readonly<{
672
+ modelValue?: string;
673
+ resetColor?: string;
674
+ width?: string;
675
+ customClass?: string;
676
+ disable?: boolean;
677
+ openGradual?: boolean;
678
+ theme?: string;
679
+ }> & Readonly<{
680
+ onChange?: ((val: string) => any) | undefined;
681
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
682
+ onPopShow?: (() => any) | undefined;
683
+ onPopHidden?: ((val: boolean) => any) | undefined;
684
+ }>, {
685
+ handleScroll: () => void;
686
+ closePopover: () => void;
687
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
688
+ change: (val: string) => any;
689
+ "update:modelValue": (val: string) => any;
690
+ popShow: () => any;
691
+ popHidden: (val: boolean) => any;
692
+ }, string, {
693
+ modelValue: string;
694
+ resetColor: string;
695
+ width: string;
696
+ customClass: string;
697
+ disable: boolean;
698
+ openGradual: boolean;
699
+ theme: string;
700
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
701
+ beforeCreate?: (() => void) | (() => void)[];
702
+ created?: (() => void) | (() => void)[];
703
+ beforeMount?: (() => void) | (() => void)[];
704
+ mounted?: (() => void) | (() => void)[];
705
+ beforeUpdate?: (() => void) | (() => void)[];
706
+ updated?: (() => void) | (() => void)[];
707
+ activated?: (() => void) | (() => void)[];
708
+ deactivated?: (() => void) | (() => void)[];
709
+ beforeDestroy?: (() => void) | (() => void)[];
710
+ beforeUnmount?: (() => void) | (() => void)[];
711
+ destroyed?: (() => void) | (() => void)[];
712
+ unmounted?: (() => void) | (() => void)[];
713
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
714
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
715
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
716
+ };
717
+ $forceUpdate: () => void;
718
+ $nextTick: typeof nextTick;
719
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
720
+ } & Readonly<{
721
+ modelValue: string;
722
+ resetColor: string;
723
+ width: string;
724
+ customClass: string;
725
+ disable: boolean;
726
+ openGradual: boolean;
727
+ theme: string;
728
+ }> & Omit<Readonly<{
729
+ modelValue?: string;
730
+ resetColor?: string;
731
+ width?: string;
732
+ customClass?: string;
733
+ disable?: boolean;
734
+ openGradual?: boolean;
735
+ theme?: string;
736
+ }> & Readonly<{
737
+ onChange?: ((val: string) => any) | undefined;
738
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
739
+ onPopShow?: (() => any) | undefined;
740
+ onPopHidden?: ((val: boolean) => any) | undefined;
741
+ }>, "handleScroll" | "closePopover" | ("modelValue" | "resetColor" | "width" | "customClass" | "disable" | "openGradual" | "theme")> & {
742
+ handleScroll: () => void;
743
+ closePopover: () => void;
744
+ } & {} & import('vue').ComponentCustomProperties & {} & {
745
+ $slots: {
746
+ default?(_: {}): any;
747
+ };
748
+ }) | null;
749
+ scaleBarRef: HTMLDivElement;
750
+ scaleRatioRef: HTMLDivElement;
751
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
752
+ P: {};
753
+ B: {};
754
+ D: {};
755
+ C: {};
756
+ M: {};
757
+ Defaults: {};
758
+ }, Readonly<import('vue').ExtractPropTypes<{
759
+ name: StringConstructor;
760
+ sheetData: {
761
+ type: ObjectConstructor;
762
+ default: () => {};
763
+ };
764
+ id: StringConstructor;
765
+ sheetId: StringConstructor;
766
+ readonly: {
767
+ type: BooleanConstructor;
768
+ default: boolean;
769
+ };
770
+ reportDesign: {
771
+ type: ObjectConstructor;
772
+ default: () => {};
773
+ };
774
+ designInfo: {
775
+ type: ObjectConstructor;
776
+ default: () => {};
777
+ };
778
+ isEdit: {
779
+ type: BooleanConstructor;
780
+ default: boolean;
781
+ };
782
+ addSheet: {
783
+ type: BooleanConstructor;
784
+ default: boolean;
785
+ };
786
+ changeSheet: {
787
+ type: BooleanConstructor;
788
+ default: boolean;
789
+ };
790
+ openSheetMenu: {
791
+ type: BooleanConstructor;
792
+ default: boolean;
793
+ };
794
+ updateSheet: {
795
+ type: BooleanConstructor;
796
+ default: boolean;
797
+ };
798
+ copySheet: {
799
+ type: BooleanConstructor;
800
+ default: boolean;
801
+ };
802
+ deleteSheet: {
803
+ type: BooleanConstructor;
804
+ default: boolean;
805
+ };
806
+ type: {
807
+ type: StringConstructor;
808
+ default: string;
809
+ };
810
+ }>> & Readonly<{
811
+ onDoAction?: ((...args: any[]) => any) | undefined;
812
+ onChangePage?: ((...args: any[]) => any) | undefined;
813
+ }>, {
814
+ cellClick: () => void;
815
+ }, {}, {}, {}, {
816
+ type: string;
817
+ sheetData: Record<string, any>;
818
+ readonly: boolean;
819
+ reportDesign: Record<string, any>;
820
+ designInfo: Record<string, any>;
821
+ isEdit: boolean;
822
+ addSheet: boolean;
823
+ changeSheet: boolean;
824
+ openSheetMenu: boolean;
825
+ updateSheet: boolean;
826
+ copySheet: boolean;
827
+ deleteSheet: boolean;
828
+ }> | null;
829
+ }, HTMLDivElement>;
830
+ export default _default;