@mescius/spread-sheets 19.0.4 → 19.0.6
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/SPREADJS-EULA.pdf +0 -0
- package/dist/gc.spread.sheets.all.min.js +2 -2
- package/dist/gc.spread.sheets.d.ts +218 -126
- package/package.json +1 -1
- package/styles/gc.spread.sheets.css +9 -0
- package/styles/gc.spread.sheets.excel2013darkGray.css +9 -0
- package/styles/gc.spread.sheets.excel2013lightGray.css +9 -0
- package/styles/gc.spread.sheets.excel2013white.css +9 -0
- package/styles/gc.spread.sheets.excel2016black.css +9 -0
- package/styles/gc.spread.sheets.excel2016colorful.css +9 -0
- package/styles/gc.spread.sheets.excel2016darkGray.css +9 -0
|
@@ -75,6 +75,71 @@ declare module GC{
|
|
|
75
75
|
"above"|"below"|"equalOrAbove"|"equalOrBelow"|"above1StdDev"|"below1StdDev"|"above2StdDev"|"below2StdDev"|"above3StdDev"|"below3StdDev"
|
|
76
76
|
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* @typedef GC.Data.ButtonListOptions
|
|
80
|
+
* @property {string} type - The type of the cell type, supports "buttonList".
|
|
81
|
+
* @property {GC.Data.ItemOptions[]} items - Gets or sets the items for the buttonList list, which supports Object Array which each item contains text and value.
|
|
82
|
+
* @property {string} direction - Gets or sets the buttonList list's orders, which support "horizontal", "vertical".
|
|
83
|
+
* @property {number} maxColumnCount - Gets or sets the items for the buttonList list's column count.
|
|
84
|
+
* @property {number} maxRowCount - Gets or sets the items for the buttonList list's row count.
|
|
85
|
+
* @property {boolean} isFlowLayout - Gets or sets the buttonList list's layout is auto fit.
|
|
86
|
+
* @property {Object} itemSpacing - Gets or sets the space for two items in the buttonList.
|
|
87
|
+
* @property {number} itemSpacing.horizontal - The space for two items in horizontal direction.
|
|
88
|
+
* @property {number} itemSpacing.vertical - The space for two items in vertical direction.
|
|
89
|
+
* @property {string} selectedBackColor - Gets or sets the selected buttonList's background color.
|
|
90
|
+
* @property {string} selectedForeColor - Gets or sets the selected buttonList's fore color.
|
|
91
|
+
* @property {string} padding - Gets or sets the buttonList's padding in pixels relative to the cell.
|
|
92
|
+
* @property {string} selectionMode - Gets or sets the buttonList's select mode, which supports "single", "multiple".
|
|
93
|
+
*/
|
|
94
|
+
export type ButtonListOptions =
|
|
95
|
+
{
|
|
96
|
+
/**
|
|
97
|
+
* The type of the cell type, supports "buttonList".
|
|
98
|
+
*/
|
|
99
|
+
type: "buttonList";
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the items for the buttonList list, which supports Object Array which each item contains text and value.
|
|
102
|
+
*/
|
|
103
|
+
items: GC.Data.ItemOptions[];
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets the buttonList list's orders, which support "horizontal", "vertical".
|
|
106
|
+
*/
|
|
107
|
+
direction?: "horizontal" | "vertical";
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the items for the buttonList list's column count.
|
|
110
|
+
*/
|
|
111
|
+
maxColumnCount?: number;
|
|
112
|
+
/**
|
|
113
|
+
* Gets or sets the items for the buttonList list's row count.
|
|
114
|
+
*/
|
|
115
|
+
maxRowCount?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets the buttonList list's layout is auto fit.
|
|
118
|
+
*/
|
|
119
|
+
isFlowLayout?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Gets or sets the space for two items in the buttonList.
|
|
122
|
+
*/
|
|
123
|
+
itemSpacing?: { horizontal: number; vertical: number };
|
|
124
|
+
/**
|
|
125
|
+
* Gets or sets the selected buttonList's background color.
|
|
126
|
+
*/
|
|
127
|
+
selectedBackColor?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Gets or sets the selected buttonList's fore color.
|
|
130
|
+
*/
|
|
131
|
+
selectedForeColor?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Gets or sets the buttonList's padding in pixels relative to the cell.
|
|
134
|
+
*/
|
|
135
|
+
padding?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Gets or sets the buttonList's select mode, which supports "single", "multiple".
|
|
138
|
+
*/
|
|
139
|
+
selectionMode?: "single" | "multiple";
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
78
143
|
/**
|
|
79
144
|
* @typedef GC.Data.CellButtonOptions
|
|
80
145
|
* @property {string} position - The button's position in cell, which supports "left", "right", "leftOfText", "rightOfText".
|
|
@@ -232,31 +297,31 @@ declare module GC{
|
|
|
232
297
|
/**
|
|
233
298
|
* The caption.
|
|
234
299
|
*/
|
|
235
|
-
caption
|
|
300
|
+
caption?: string;
|
|
236
301
|
/**
|
|
237
302
|
* The text when cell value is true.
|
|
238
303
|
*/
|
|
239
|
-
textTrue
|
|
304
|
+
textTrue?: string;
|
|
240
305
|
/**
|
|
241
306
|
* The text when cell value is indeterminate.
|
|
242
307
|
*/
|
|
243
|
-
textIndeterminate
|
|
308
|
+
textIndeterminate?: string;
|
|
244
309
|
/**
|
|
245
310
|
* The text when cell value is false.
|
|
246
311
|
*/
|
|
247
|
-
textFalse
|
|
312
|
+
textFalse?: string;
|
|
248
313
|
/**
|
|
249
314
|
* The text alignment relative to the check box, which supports "top", "bottom", "left", "right".
|
|
250
315
|
*/
|
|
251
|
-
textAlign
|
|
316
|
+
textAlign?: "top" | "bottom" | "left" | "right";
|
|
252
317
|
/**
|
|
253
318
|
* Whether the check box supports three states.
|
|
254
319
|
*/
|
|
255
|
-
isThreeState
|
|
320
|
+
isThreeState?: boolean;
|
|
256
321
|
/**
|
|
257
322
|
* The check box size.
|
|
258
323
|
*/
|
|
259
|
-
boxSize
|
|
324
|
+
boxSize?: number;
|
|
260
325
|
}
|
|
261
326
|
|
|
262
327
|
|
|
@@ -412,6 +477,19 @@ declare module GC{
|
|
|
412
477
|
}
|
|
413
478
|
|
|
414
479
|
|
|
480
|
+
/**
|
|
481
|
+
* @typedef GC.Data.CustomCellTypeOptions
|
|
482
|
+
* @property {string} typeName - The type name of the customized cell type.
|
|
483
|
+
*/
|
|
484
|
+
export type CustomCellTypeOptions =
|
|
485
|
+
{
|
|
486
|
+
/**
|
|
487
|
+
* The type name of the customized cell type.
|
|
488
|
+
*/
|
|
489
|
+
typeName: string;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
|
|
415
493
|
/**
|
|
416
494
|
* @typedef GC.Data.DataBarAxisPosition
|
|
417
495
|
* @type {"automatic"|"cellMidPoint"|"none"}
|
|
@@ -1303,27 +1381,27 @@ declare module GC{
|
|
|
1303
1381
|
/**
|
|
1304
1382
|
* The color of the link.
|
|
1305
1383
|
*/
|
|
1306
|
-
linkColor
|
|
1384
|
+
linkColor?: string;
|
|
1307
1385
|
/**
|
|
1308
1386
|
* The color of the visited link.
|
|
1309
1387
|
*/
|
|
1310
|
-
visitedLinkColor
|
|
1388
|
+
visitedLinkColor?: string;
|
|
1311
1389
|
/**
|
|
1312
1390
|
* The text of the link.
|
|
1313
1391
|
*/
|
|
1314
|
-
text
|
|
1392
|
+
text?: string;
|
|
1315
1393
|
/**
|
|
1316
1394
|
* The tooltip of the link.
|
|
1317
1395
|
*/
|
|
1318
|
-
linkToolTip
|
|
1396
|
+
linkToolTip?: string;
|
|
1319
1397
|
/**
|
|
1320
1398
|
* The type of the link's target, which support "blank", "self", "parent", "top".
|
|
1321
1399
|
*/
|
|
1322
|
-
target
|
|
1400
|
+
target?: "blank" | "self" | "parent" | "top";
|
|
1323
1401
|
/**
|
|
1324
1402
|
* Whether to move to the active cell when clicked.
|
|
1325
1403
|
*/
|
|
1326
|
-
activeOnClick
|
|
1404
|
+
activeOnClick?: boolean;
|
|
1327
1405
|
}
|
|
1328
1406
|
|
|
1329
1407
|
|
|
@@ -2519,31 +2597,31 @@ declare module GC{
|
|
|
2519
2597
|
/**
|
|
2520
2598
|
* The the radio box or check box's orders, which support "horizontal", "vertical".
|
|
2521
2599
|
*/
|
|
2522
|
-
direction
|
|
2600
|
+
direction?: "horizontal" | "vertical";
|
|
2523
2601
|
/**
|
|
2524
2602
|
* The the radio box or check box's column count.
|
|
2525
2603
|
*/
|
|
2526
|
-
maxColumnCount
|
|
2604
|
+
maxColumnCount?: number;
|
|
2527
2605
|
/**
|
|
2528
2606
|
* The the radio box or check box's row count.
|
|
2529
2607
|
*/
|
|
2530
|
-
maxRowCount
|
|
2608
|
+
maxRowCount?: number;
|
|
2531
2609
|
/**
|
|
2532
2610
|
* The the radio box or check box's layout is auto fit.
|
|
2533
2611
|
*/
|
|
2534
|
-
isFlowLayout
|
|
2612
|
+
isFlowLayout?: boolean;
|
|
2535
2613
|
/**
|
|
2536
2614
|
* The space for two items.
|
|
2537
2615
|
*/
|
|
2538
|
-
itemSpacing
|
|
2616
|
+
itemSpacing?: { horizontal: number; vertical: number };
|
|
2539
2617
|
/**
|
|
2540
2618
|
* The text alignment relative to the radio box or check box, which supports "left", "right".
|
|
2541
2619
|
*/
|
|
2542
|
-
textAlign
|
|
2620
|
+
textAlign?: "left" | "right";
|
|
2543
2621
|
/**
|
|
2544
2622
|
* The radio box or check box size.
|
|
2545
2623
|
*/
|
|
2546
|
-
boxSize
|
|
2624
|
+
boxSize?: number;
|
|
2547
2625
|
}
|
|
2548
2626
|
|
|
2549
2627
|
|
|
@@ -2726,7 +2804,7 @@ declare module GC{
|
|
|
2726
2804
|
* @property {boolean} wordWrap - Whether words wrap within the cell or cells.
|
|
2727
2805
|
* @property {boolean} shrinkToFit - Whether content shrinks to fit the cell or cells.
|
|
2728
2806
|
* @property {string} backgroundImage - The background image to display.
|
|
2729
|
-
* @property {GC.Data.CheckboxOptions | GC.Data.ComboBoxOptions | GC.Data.HyperlinkOptions | GC.Data.FileUploadOptions | GC.Data.RadioButtonCheckboxListOptions} cellType - The cell type.
|
|
2807
|
+
* @property {GC.Data.CheckboxOptions | GC.Data.ComboBoxOptions | GC.Data.HyperlinkOptions | GC.Data.FileUploadOptions | GC.Data.RadioButtonCheckboxListOptions | GC.Data.ButtonListOptions | GC.Data.CustomCellTypeOptions} cellType - The cell type.
|
|
2730
2808
|
* @property {string} backgroundImageLayout - The layout for the background image, which supports "stretch", "center", "zoom", "none".
|
|
2731
2809
|
* @property {boolean} tabStop - Whether the user can set focus to the cell using the Tab key.
|
|
2732
2810
|
* @property {GC.Data.TextDecoration} textDecoration - The decoration added to text.
|
|
@@ -2821,7 +2899,7 @@ declare module GC{
|
|
|
2821
2899
|
/**
|
|
2822
2900
|
* The cell type.
|
|
2823
2901
|
*/
|
|
2824
|
-
cellType?: GC.Data.CheckboxOptions | GC.Data.ComboBoxOptions | GC.Data.HyperlinkOptions | GC.Data.FileUploadOptions | GC.Data.RadioButtonCheckboxListOptions;
|
|
2902
|
+
cellType?: GC.Data.CheckboxOptions | GC.Data.ComboBoxOptions | GC.Data.HyperlinkOptions | GC.Data.FileUploadOptions | GC.Data.RadioButtonCheckboxListOptions | GC.Data.ButtonListOptions | GC.Data.CustomCellTypeOptions;
|
|
2825
2903
|
/**
|
|
2826
2904
|
* The layout for the background image, which supports "stretch", "center", "zoom", "none".
|
|
2827
2905
|
*/
|
|
@@ -7184,11 +7262,11 @@ declare module GC{
|
|
|
7184
7262
|
* @param {GC.Spread.Pivot.PivotTable} pivotTable Indicates the pivot table which is attached.
|
|
7185
7263
|
* @returns void
|
|
7186
7264
|
*/
|
|
7187
|
-
attach(pivotTable: GC.Spread.Pivot.PivotTable):
|
|
7265
|
+
attach(pivotTable: GC.Spread.Pivot.PivotTable): void;
|
|
7188
7266
|
/**
|
|
7189
7267
|
* @description destroy the PivotPanel.
|
|
7190
7268
|
*/
|
|
7191
|
-
destroy():
|
|
7269
|
+
destroy(): void;
|
|
7192
7270
|
/**
|
|
7193
7271
|
* @description detach the pivot table for pivot panel, stop the pivot panel control bound pivot table.
|
|
7194
7272
|
* @returns void
|
|
@@ -20052,13 +20130,11 @@ declare module GC{
|
|
|
20052
20130
|
* @param eventParam *{@link GC.Spread.Sheets.Collaboration.IPermission}* `permission` The sheet that triggered the event.
|
|
20053
20131
|
* @example
|
|
20054
20132
|
* ```javascript
|
|
20055
|
-
* ```javascript
|
|
20056
20133
|
* //This example uses the ThreadedCommentChanged event.
|
|
20057
20134
|
* spread.bind(GC.Spread.Sheets.Events.PermissionChanged, function (e, info) {
|
|
20058
20135
|
* console.log(info.permission);
|
|
20059
20136
|
* });
|
|
20060
20137
|
* ```
|
|
20061
|
-
* ```
|
|
20062
20138
|
*/
|
|
20063
20139
|
static PermissionChanged: string;
|
|
20064
20140
|
/**
|
|
@@ -21319,13 +21395,11 @@ declare module GC{
|
|
|
21319
21395
|
* @param eventParam *string[]* `userIds` The user ids that were mentioned.
|
|
21320
21396
|
* @example
|
|
21321
21397
|
* ```javascript
|
|
21322
|
-
* ```javascript
|
|
21323
21398
|
* //This example uses the ThreadedCommentChanged event.
|
|
21324
21399
|
* sheet.bind(GC.Spread.Sheets.Events.UserMentioned, function (e, info) {
|
|
21325
21400
|
* console.log(info.userId);
|
|
21326
21401
|
* });
|
|
21327
21402
|
* ```
|
|
21328
|
-
* ```
|
|
21329
21403
|
*/
|
|
21330
21404
|
static UserMentioned: string;
|
|
21331
21405
|
/**
|
|
@@ -21670,7 +21744,7 @@ declare module GC{
|
|
|
21670
21744
|
* sheet.pivotTables.remove("pivotTable_1");
|
|
21671
21745
|
* ```
|
|
21672
21746
|
*/
|
|
21673
|
-
remove(name: string):
|
|
21747
|
+
remove(name: string): void;
|
|
21674
21748
|
}
|
|
21675
21749
|
|
|
21676
21750
|
export class Point{
|
|
@@ -23005,7 +23079,7 @@ declare module GC{
|
|
|
23005
23079
|
* activeSheet.repaint();
|
|
23006
23080
|
* ```
|
|
23007
23081
|
*/
|
|
23008
|
-
Apex: ColorScheme;
|
|
23082
|
+
static Apex: ColorScheme;
|
|
23009
23083
|
/**
|
|
23010
23084
|
* The theme color of the Aspect theme.
|
|
23011
23085
|
* @example
|
|
@@ -23016,7 +23090,7 @@ declare module GC{
|
|
|
23016
23090
|
* activeSheet.repaint();
|
|
23017
23091
|
* ```
|
|
23018
23092
|
*/
|
|
23019
|
-
Aspect: ColorScheme;
|
|
23093
|
+
static Aspect: ColorScheme;
|
|
23020
23094
|
/**
|
|
23021
23095
|
* The theme color of the Civic theme.
|
|
23022
23096
|
* @example
|
|
@@ -23027,7 +23101,7 @@ declare module GC{
|
|
|
23027
23101
|
* activeSheet.repaint();
|
|
23028
23102
|
* ```
|
|
23029
23103
|
*/
|
|
23030
|
-
Civic: ColorScheme;
|
|
23104
|
+
static Civic: ColorScheme;
|
|
23031
23105
|
/**
|
|
23032
23106
|
* The theme color of the Concourse theme.
|
|
23033
23107
|
* @example
|
|
@@ -23038,7 +23112,7 @@ declare module GC{
|
|
|
23038
23112
|
* activeSheet.repaint();
|
|
23039
23113
|
* ```
|
|
23040
23114
|
*/
|
|
23041
|
-
Concourse: ColorScheme;
|
|
23115
|
+
static Concourse: ColorScheme;
|
|
23042
23116
|
/**
|
|
23043
23117
|
* The theme color of the Default theme.
|
|
23044
23118
|
* @example
|
|
@@ -23049,7 +23123,7 @@ declare module GC{
|
|
|
23049
23123
|
* activeSheet.repaint();
|
|
23050
23124
|
* ```
|
|
23051
23125
|
*/
|
|
23052
|
-
Default: ColorScheme;
|
|
23126
|
+
static Default: ColorScheme;
|
|
23053
23127
|
/**
|
|
23054
23128
|
* The theme color of the Equity theme.
|
|
23055
23129
|
* @example
|
|
@@ -23060,7 +23134,7 @@ declare module GC{
|
|
|
23060
23134
|
* activeSheet.repaint();
|
|
23061
23135
|
* ```
|
|
23062
23136
|
*/
|
|
23063
|
-
Equity: ColorScheme;
|
|
23137
|
+
static Equity: ColorScheme;
|
|
23064
23138
|
/**
|
|
23065
23139
|
* The theme color of the Flow theme.
|
|
23066
23140
|
* @example
|
|
@@ -23071,7 +23145,7 @@ declare module GC{
|
|
|
23071
23145
|
* activeSheet.repaint();
|
|
23072
23146
|
* ```
|
|
23073
23147
|
*/
|
|
23074
|
-
Flow: ColorScheme;
|
|
23148
|
+
static Flow: ColorScheme;
|
|
23075
23149
|
/**
|
|
23076
23150
|
* The theme color of the Foundry theme.
|
|
23077
23151
|
* @example
|
|
@@ -23082,7 +23156,7 @@ declare module GC{
|
|
|
23082
23156
|
* activeSheet.repaint();
|
|
23083
23157
|
* ```
|
|
23084
23158
|
*/
|
|
23085
|
-
Foundry: ColorScheme;
|
|
23159
|
+
static Foundry: ColorScheme;
|
|
23086
23160
|
/**
|
|
23087
23161
|
* The theme color of the Median theme.
|
|
23088
23162
|
* @example
|
|
@@ -23093,7 +23167,7 @@ declare module GC{
|
|
|
23093
23167
|
* activeSheet.repaint();
|
|
23094
23168
|
* ```
|
|
23095
23169
|
*/
|
|
23096
|
-
Median: ColorScheme;
|
|
23170
|
+
static Median: ColorScheme;
|
|
23097
23171
|
/**
|
|
23098
23172
|
* The theme color of the Metro theme.
|
|
23099
23173
|
* @example
|
|
@@ -23104,7 +23178,7 @@ declare module GC{
|
|
|
23104
23178
|
* activeSheet.repaint();
|
|
23105
23179
|
* ```
|
|
23106
23180
|
*/
|
|
23107
|
-
Metro: ColorScheme;
|
|
23181
|
+
static Metro: ColorScheme;
|
|
23108
23182
|
/**
|
|
23109
23183
|
* The theme color of the Module theme.
|
|
23110
23184
|
* @example
|
|
@@ -23115,7 +23189,7 @@ declare module GC{
|
|
|
23115
23189
|
* activeSheet.repaint();
|
|
23116
23190
|
* ```
|
|
23117
23191
|
*/
|
|
23118
|
-
Module: ColorScheme;
|
|
23192
|
+
static Module: ColorScheme;
|
|
23119
23193
|
/**
|
|
23120
23194
|
* The theme color of the Office theme.
|
|
23121
23195
|
* @example
|
|
@@ -23126,7 +23200,7 @@ declare module GC{
|
|
|
23126
23200
|
* activeSheet.repaint();
|
|
23127
23201
|
* ```
|
|
23128
23202
|
*/
|
|
23129
|
-
Office: ColorScheme;
|
|
23203
|
+
static Office: ColorScheme;
|
|
23130
23204
|
/**
|
|
23131
23205
|
* The theme color of the Office 2007 theme.
|
|
23132
23206
|
* @example
|
|
@@ -23137,7 +23211,7 @@ declare module GC{
|
|
|
23137
23211
|
* activeSheet.repaint();
|
|
23138
23212
|
* ```
|
|
23139
23213
|
*/
|
|
23140
|
-
Office2007: ColorScheme;
|
|
23214
|
+
static Office2007: ColorScheme;
|
|
23141
23215
|
/**
|
|
23142
23216
|
* The theme color of the Opulent theme.
|
|
23143
23217
|
* @example
|
|
@@ -23148,7 +23222,7 @@ declare module GC{
|
|
|
23148
23222
|
* activeSheet.repaint();
|
|
23149
23223
|
* ```
|
|
23150
23224
|
*/
|
|
23151
|
-
Opulent: ColorScheme;
|
|
23225
|
+
static Opulent: ColorScheme;
|
|
23152
23226
|
/**
|
|
23153
23227
|
* The theme color of the Oriel theme.
|
|
23154
23228
|
* @example
|
|
@@ -23159,7 +23233,7 @@ declare module GC{
|
|
|
23159
23233
|
* activeSheet.repaint();
|
|
23160
23234
|
* ```
|
|
23161
23235
|
*/
|
|
23162
|
-
Oriel: ColorScheme;
|
|
23236
|
+
static Oriel: ColorScheme;
|
|
23163
23237
|
/**
|
|
23164
23238
|
* The theme color of the Origin theme.
|
|
23165
23239
|
* @example
|
|
@@ -23170,7 +23244,7 @@ declare module GC{
|
|
|
23170
23244
|
* activeSheet.repaint();
|
|
23171
23245
|
* ```
|
|
23172
23246
|
*/
|
|
23173
|
-
Origin: ColorScheme;
|
|
23247
|
+
static Origin: ColorScheme;
|
|
23174
23248
|
/**
|
|
23175
23249
|
* The theme color of the Paper theme.
|
|
23176
23250
|
* @example
|
|
@@ -23181,7 +23255,7 @@ declare module GC{
|
|
|
23181
23255
|
* activeSheet.repaint();
|
|
23182
23256
|
* ```
|
|
23183
23257
|
*/
|
|
23184
|
-
Paper: ColorScheme;
|
|
23258
|
+
static Paper: ColorScheme;
|
|
23185
23259
|
/**
|
|
23186
23260
|
* The theme color of the Solstice theme.
|
|
23187
23261
|
* @example
|
|
@@ -23192,7 +23266,7 @@ declare module GC{
|
|
|
23192
23266
|
* activeSheet.repaint();
|
|
23193
23267
|
* ```
|
|
23194
23268
|
*/
|
|
23195
|
-
Solstice: ColorScheme;
|
|
23269
|
+
static Solstice: ColorScheme;
|
|
23196
23270
|
/**
|
|
23197
23271
|
* The theme color of the Technic theme.
|
|
23198
23272
|
* @example
|
|
@@ -23203,7 +23277,7 @@ declare module GC{
|
|
|
23203
23277
|
* activeSheet.repaint();
|
|
23204
23278
|
* ```
|
|
23205
23279
|
*/
|
|
23206
|
-
Technic: ColorScheme;
|
|
23280
|
+
static Technic: ColorScheme;
|
|
23207
23281
|
/**
|
|
23208
23282
|
* The theme color of the Trek theme.
|
|
23209
23283
|
* @example
|
|
@@ -23214,7 +23288,7 @@ declare module GC{
|
|
|
23214
23288
|
* activeSheet.repaint();
|
|
23215
23289
|
* ```
|
|
23216
23290
|
*/
|
|
23217
|
-
Trek: ColorScheme;
|
|
23291
|
+
static Trek: ColorScheme;
|
|
23218
23292
|
/**
|
|
23219
23293
|
* The theme color of the Urban theme.
|
|
23220
23294
|
* @example
|
|
@@ -23225,7 +23299,7 @@ declare module GC{
|
|
|
23225
23299
|
* activeSheet.repaint();
|
|
23226
23300
|
* ```
|
|
23227
23301
|
*/
|
|
23228
|
-
Urban: ColorScheme;
|
|
23302
|
+
static Urban: ColorScheme;
|
|
23229
23303
|
/**
|
|
23230
23304
|
* The theme color of the Verve theme.
|
|
23231
23305
|
* @example
|
|
@@ -23236,7 +23310,7 @@ declare module GC{
|
|
|
23236
23310
|
* activeSheet.repaint();
|
|
23237
23311
|
* ```
|
|
23238
23312
|
*/
|
|
23239
|
-
Verve: ColorScheme;
|
|
23313
|
+
static Verve: ColorScheme;
|
|
23240
23314
|
}
|
|
23241
23315
|
|
|
23242
23316
|
export class ThemeFont{
|
|
@@ -23359,87 +23433,87 @@ declare module GC{
|
|
|
23359
23433
|
/**
|
|
23360
23434
|
* The theme font named BookmanGillSansMT.
|
|
23361
23435
|
*/
|
|
23362
|
-
BookmanGillSansMT: GC.Spread.Sheets.ThemeFont;
|
|
23436
|
+
static BookmanGillSansMT: GC.Spread.Sheets.ThemeFont;
|
|
23363
23437
|
/**
|
|
23364
23438
|
* The theme font named CalibriConstantia.
|
|
23365
23439
|
*/
|
|
23366
|
-
CalibriConstantia: GC.Spread.Sheets.ThemeFont;
|
|
23440
|
+
static CalibriConstantia: GC.Spread.Sheets.ThemeFont;
|
|
23367
23441
|
/**
|
|
23368
23442
|
* The theme font named CenturyGothic.
|
|
23369
23443
|
*/
|
|
23370
|
-
CenturyGothic: GC.Spread.Sheets.ThemeFont;
|
|
23444
|
+
static CenturyGothic: GC.Spread.Sheets.ThemeFont;
|
|
23371
23445
|
/**
|
|
23372
23446
|
* The theme font named CenturySchoolbook.
|
|
23373
23447
|
*/
|
|
23374
|
-
CenturySchoolbook: GC.Spread.Sheets.ThemeFont;
|
|
23448
|
+
static CenturySchoolbook: GC.Spread.Sheets.ThemeFont;
|
|
23375
23449
|
/**
|
|
23376
23450
|
* The theme font named ConsolasCorbel.
|
|
23377
23451
|
*/
|
|
23378
|
-
ConsolasCorbel: GC.Spread.Sheets.ThemeFont;
|
|
23452
|
+
static ConsolasCorbel: GC.Spread.Sheets.ThemeFont;
|
|
23379
23453
|
/**
|
|
23380
23454
|
* The theme font named Constantia.
|
|
23381
23455
|
*/
|
|
23382
|
-
Constantia: GC.Spread.Sheets.ThemeFont;
|
|
23456
|
+
static Constantia: GC.Spread.Sheets.ThemeFont;
|
|
23383
23457
|
/**
|
|
23384
23458
|
* The theme font named Corbel.
|
|
23385
23459
|
*/
|
|
23386
|
-
Corbel: GC.Spread.Sheets.ThemeFont;
|
|
23460
|
+
static Corbel: GC.Spread.Sheets.ThemeFont;
|
|
23387
23461
|
/**
|
|
23388
23462
|
* The theme font named FranklinGothic.
|
|
23389
23463
|
*/
|
|
23390
|
-
FranklinGothic: GC.Spread.Sheets.ThemeFont;
|
|
23464
|
+
static FranklinGothic: GC.Spread.Sheets.ThemeFont;
|
|
23391
23465
|
/**
|
|
23392
23466
|
* The theme font named FranklinGothicArial.
|
|
23393
23467
|
*/
|
|
23394
|
-
FranklinGothicArial: GC.Spread.Sheets.ThemeFont;
|
|
23468
|
+
static FranklinGothicArial: GC.Spread.Sheets.ThemeFont;
|
|
23395
23469
|
/**
|
|
23396
23470
|
* The theme font named FranklinGothicPerpetua.
|
|
23397
23471
|
*/
|
|
23398
|
-
FranklinGothicPerpetua: GC.Spread.Sheets.ThemeFont;
|
|
23472
|
+
static FranklinGothicPerpetua: GC.Spread.Sheets.ThemeFont;
|
|
23399
23473
|
/**
|
|
23400
23474
|
* The theme font named Georgia.
|
|
23401
23475
|
*/
|
|
23402
|
-
Georgia: GC.Spread.Sheets.ThemeFont;
|
|
23476
|
+
static Georgia: GC.Spread.Sheets.ThemeFont;
|
|
23403
23477
|
/**
|
|
23404
23478
|
* The theme font named GillSansMT.
|
|
23405
23479
|
*/
|
|
23406
|
-
GillSansMT: GC.Spread.Sheets.ThemeFont;
|
|
23480
|
+
static GillSansMT: GC.Spread.Sheets.ThemeFont;
|
|
23407
23481
|
/**
|
|
23408
23482
|
* The theme font named LucidaBook.
|
|
23409
23483
|
*/
|
|
23410
|
-
LucidaBook: GC.Spread.Sheets.ThemeFont;
|
|
23484
|
+
static LucidaBook: GC.Spread.Sheets.ThemeFont;
|
|
23411
23485
|
/**
|
|
23412
23486
|
* The theme font named LucidaSansUnicode.
|
|
23413
23487
|
*/
|
|
23414
|
-
LucidaSansUnicode: GC.Spread.Sheets.ThemeFont;
|
|
23488
|
+
static LucidaSansUnicode: GC.Spread.Sheets.ThemeFont;
|
|
23415
23489
|
/**
|
|
23416
23490
|
* The theme font named Office.
|
|
23417
23491
|
*/
|
|
23418
|
-
Office: GC.Spread.Sheets.ThemeFont;
|
|
23492
|
+
static Office: GC.Spread.Sheets.ThemeFont;
|
|
23419
23493
|
/**
|
|
23420
23494
|
* The theme font named Office2007.
|
|
23421
23495
|
*/
|
|
23422
|
-
Office2007: GC.Spread.Sheets.ThemeFont;
|
|
23496
|
+
static Office2007: GC.Spread.Sheets.ThemeFont;
|
|
23423
23497
|
/**
|
|
23424
23498
|
* The theme font named Rockwell.
|
|
23425
23499
|
*/
|
|
23426
|
-
Rockwell: GC.Spread.Sheets.ThemeFont;
|
|
23500
|
+
static Rockwell: GC.Spread.Sheets.ThemeFont;
|
|
23427
23501
|
/**
|
|
23428
23502
|
* The theme font named TrebuchetGeorgia.
|
|
23429
23503
|
*/
|
|
23430
|
-
TrebuchetGeorgia: GC.Spread.Sheets.ThemeFont;
|
|
23504
|
+
static TrebuchetGeorgia: GC.Spread.Sheets.ThemeFont;
|
|
23431
23505
|
/**
|
|
23432
23506
|
* The theme font named TrebuchetMS.
|
|
23433
23507
|
*/
|
|
23434
|
-
TrebuchetMS: GC.Spread.Sheets.ThemeFont;
|
|
23508
|
+
static TrebuchetMS: GC.Spread.Sheets.ThemeFont;
|
|
23435
23509
|
/**
|
|
23436
23510
|
* The theme font named TwCenMT.
|
|
23437
23511
|
*/
|
|
23438
|
-
TwCenMT: GC.Spread.Sheets.ThemeFont;
|
|
23512
|
+
static TwCenMT: GC.Spread.Sheets.ThemeFont;
|
|
23439
23513
|
/**
|
|
23440
23514
|
* The theme font named Verdana.
|
|
23441
23515
|
*/
|
|
23442
|
-
Verdana: GC.Spread.Sheets.ThemeFont;
|
|
23516
|
+
static Verdana: GC.Spread.Sheets.ThemeFont;
|
|
23443
23517
|
}
|
|
23444
23518
|
|
|
23445
23519
|
export class Themes{
|
|
@@ -23451,91 +23525,91 @@ declare module GC{
|
|
|
23451
23525
|
/**
|
|
23452
23526
|
* Indicates the Apex theme.
|
|
23453
23527
|
*/
|
|
23454
|
-
Apex: Theme;
|
|
23528
|
+
static Apex: Theme;
|
|
23455
23529
|
/**
|
|
23456
23530
|
* Indicates the Aspect theme.
|
|
23457
23531
|
*/
|
|
23458
|
-
Aspect: Theme;
|
|
23532
|
+
static Aspect: Theme;
|
|
23459
23533
|
/**
|
|
23460
23534
|
* Indicates the Civic theme.
|
|
23461
23535
|
*/
|
|
23462
|
-
Civic: Theme;
|
|
23536
|
+
static Civic: Theme;
|
|
23463
23537
|
/**
|
|
23464
23538
|
* Indicates the Concourse theme.
|
|
23465
23539
|
*/
|
|
23466
|
-
Concourse: Theme;
|
|
23540
|
+
static Concourse: Theme;
|
|
23467
23541
|
/**
|
|
23468
23542
|
* Indicates the Default theme.
|
|
23469
23543
|
*/
|
|
23470
|
-
Default: Theme;
|
|
23544
|
+
static Default: Theme;
|
|
23471
23545
|
/**
|
|
23472
23546
|
* Indicates the Equity theme.
|
|
23473
23547
|
*/
|
|
23474
|
-
Equity: Theme;
|
|
23548
|
+
static Equity: Theme;
|
|
23475
23549
|
/**
|
|
23476
23550
|
* Indicates the Flow theme.
|
|
23477
23551
|
*/
|
|
23478
|
-
Flow: Theme;
|
|
23552
|
+
static Flow: Theme;
|
|
23479
23553
|
/**
|
|
23480
23554
|
* Indicates the Foundry theme.
|
|
23481
23555
|
*/
|
|
23482
|
-
Foundry: Theme;
|
|
23556
|
+
static Foundry: Theme;
|
|
23483
23557
|
/**
|
|
23484
23558
|
* Indicates the Median theme.
|
|
23485
23559
|
*/
|
|
23486
|
-
Median: Theme;
|
|
23560
|
+
static Median: Theme;
|
|
23487
23561
|
/**
|
|
23488
23562
|
* Indicates the Metro theme.
|
|
23489
23563
|
*/
|
|
23490
|
-
Metro: Theme;
|
|
23564
|
+
static Metro: Theme;
|
|
23491
23565
|
/**
|
|
23492
23566
|
* Indicates the Module theme.
|
|
23493
23567
|
*/
|
|
23494
|
-
Module: Theme;
|
|
23568
|
+
static Module: Theme;
|
|
23495
23569
|
/**
|
|
23496
23570
|
* Indicates the Office theme.
|
|
23497
23571
|
*/
|
|
23498
|
-
Office: Theme;
|
|
23572
|
+
static Office: Theme;
|
|
23499
23573
|
/**
|
|
23500
23574
|
* Indicates the Office 2007 theme.
|
|
23501
23575
|
*/
|
|
23502
|
-
Office2007: Theme;
|
|
23576
|
+
static Office2007: Theme;
|
|
23503
23577
|
/**
|
|
23504
23578
|
* Indicates the Opulent theme.
|
|
23505
23579
|
*/
|
|
23506
|
-
Opulent: Theme;
|
|
23580
|
+
static Opulent: Theme;
|
|
23507
23581
|
/**
|
|
23508
23582
|
* Indicates the Oriel theme.
|
|
23509
23583
|
*/
|
|
23510
|
-
Oriel: Theme;
|
|
23584
|
+
static Oriel: Theme;
|
|
23511
23585
|
/**
|
|
23512
23586
|
* Indicates the Origin theme.
|
|
23513
23587
|
*/
|
|
23514
|
-
Origin: Theme;
|
|
23588
|
+
static Origin: Theme;
|
|
23515
23589
|
/**
|
|
23516
23590
|
* Indicates the Paper theme.
|
|
23517
23591
|
*/
|
|
23518
|
-
Paper: Theme;
|
|
23592
|
+
static Paper: Theme;
|
|
23519
23593
|
/**
|
|
23520
23594
|
* Indicates the Solstice theme.
|
|
23521
23595
|
*/
|
|
23522
|
-
Solstice: Theme;
|
|
23596
|
+
static Solstice: Theme;
|
|
23523
23597
|
/**
|
|
23524
23598
|
* Indicates the Technic theme.
|
|
23525
23599
|
*/
|
|
23526
|
-
Technic: Theme;
|
|
23600
|
+
static Technic: Theme;
|
|
23527
23601
|
/**
|
|
23528
23602
|
* Indicates the Trek theme.
|
|
23529
23603
|
*/
|
|
23530
|
-
Trek: Theme;
|
|
23604
|
+
static Trek: Theme;
|
|
23531
23605
|
/**
|
|
23532
23606
|
* Indicates the Urban theme.
|
|
23533
23607
|
*/
|
|
23534
|
-
Urban: Theme;
|
|
23608
|
+
static Urban: Theme;
|
|
23535
23609
|
/**
|
|
23536
23610
|
* Indicates the Verve theme.
|
|
23537
23611
|
*/
|
|
23538
|
-
Verve: Theme;
|
|
23612
|
+
static Verve: Theme;
|
|
23539
23613
|
}
|
|
23540
23614
|
|
|
23541
23615
|
export class Workbook{
|
|
@@ -24797,13 +24871,13 @@ declare module GC{
|
|
|
24797
24871
|
* ```javascript
|
|
24798
24872
|
* // This example sets the external source with workbook JSON.
|
|
24799
24873
|
* spread.getActiveSheet().setFormula(0, 0, "[calc.xlsx]Sheet1!A1"); // spread cell A1 value is #REF!
|
|
24800
|
-
* spread2.getActiveSheet().setFormula(0, 0, "=123+1");
|
|
24874
|
+
* spread2.getActiveSheet().setFormula(0, 0, "=123+1"); // spread2 cell A1 value is 124
|
|
24801
24875
|
* spread.updateExternalReference("calc.xlsx", spread2.toJSON()); // spread cell A1 value is 124
|
|
24802
24876
|
* // Set the data with simple JSON data:
|
|
24803
|
-
* spread.getActiveSheet().setFormula(0, 0, "=SUM([calc.xlsx]Sheet1!A1:B2");
|
|
24804
|
-
* spread.updateExternalReference("calc.xlsx", {"Sheet1":[[1, 2],[1, 3]]});
|
|
24805
|
-
* spread.updateExternalReference("calc.xlsx", {"Sheet1":{0:{0:10, 1:10}, 1:{0:10, 1:10}}});
|
|
24806
|
-
* spread.updateExternalReference("calc.xlsx", {"Sheet1":{1:{0:2, 1:2}}}, null, true);
|
|
24877
|
+
* spread.getActiveSheet().setFormula(0, 0, "=SUM([calc.xlsx]Sheet1!A1:B2"); // spread cell A1 value is #REF!
|
|
24878
|
+
* spread.updateExternalReference("calc.xlsx", {"Sheet1":[[1, 2],[1, 3]]}); // spread cell A1 value is 7
|
|
24879
|
+
* spread.updateExternalReference("calc.xlsx", {"Sheet1":{0:{0:10, 1:10}, 1:{0:10, 1:10}}}); // spread cell A1 value is 40
|
|
24880
|
+
* spread.updateExternalReference("calc.xlsx", {"Sheet1":{1:{0:2, 1:2}}}, null, true); // spread cell A1 value is 24 after the merge update.
|
|
24807
24881
|
* // This example sets the external values with the successCallback result of GC.Spread.Sheets.IO.getPartialValues
|
|
24808
24882
|
* let refList = spread.getExternalReferences(true);
|
|
24809
24883
|
* GC.Spread.Sheets.IO.getPartialValues(refList, getFile, (externalValues) => {
|
|
@@ -27816,18 +27890,25 @@ declare module GC{
|
|
|
27816
27890
|
module AI{
|
|
27817
27891
|
|
|
27818
27892
|
/**
|
|
27819
|
-
*
|
|
27820
|
-
* @
|
|
27893
|
+
* Callback function type for sending an AI request.
|
|
27894
|
+
* @typedef {Function} AIRequestCallback
|
|
27895
|
+
* @param {IAIConfig} config - Request parameters to forward to the AI provider.
|
|
27896
|
+
* @returns {Promise<any>} Promise that resolves with the provider response.
|
|
27821
27897
|
*/
|
|
27822
27898
|
export type AIRequestCallback =
|
|
27823
27899
|
(config: IAIConfig) => Promise<any>
|
|
27824
27900
|
|
|
27825
27901
|
|
|
27826
27902
|
/**
|
|
27827
|
-
*
|
|
27828
|
-
*
|
|
27829
|
-
*
|
|
27830
|
-
* @
|
|
27903
|
+
* Simplified request body passed to the AI provider.
|
|
27904
|
+
* This shape is compatible with the OpenAI Chat Completions API request body used by this plugin,
|
|
27905
|
+
* while allowing additional OpenAI-compatible fields to pass through as custom properties.
|
|
27906
|
+
* @typedef {Object} IAIConfig
|
|
27907
|
+
* @property {{ role: string; content: string }[]} [messages] - Array of message objects containing role and content pairs for conversation history
|
|
27908
|
+
* @property {number} [temperature] - Sampling temperature for the generated response. Higher values make output more random.
|
|
27909
|
+
* @property {number} [max_tokens] - Legacy maximum output token limit.
|
|
27910
|
+
* @property {boolean} [stream] - Whether to return the response as a server-sent event stream (SSE).
|
|
27911
|
+
* @property {any} [key: string] - Additional provider-specific or OpenAI-compatible request properties, such as `model` or `max_completion_tokens`.
|
|
27831
27912
|
*/
|
|
27832
27913
|
export type IAIConfig =
|
|
27833
27914
|
{
|
|
@@ -27840,14 +27921,25 @@ declare module GC{
|
|
|
27840
27921
|
|
|
27841
27922
|
|
|
27842
27923
|
/**
|
|
27843
|
-
*
|
|
27844
|
-
* @
|
|
27845
|
-
* @property {string}
|
|
27924
|
+
* Environment configuration for the AI service endpoint.
|
|
27925
|
+
* @typedef {Object} IAIEnvironment
|
|
27926
|
+
* @property {string} model - Model identifier added to the outbound request body, for example an OpenAI chat model name.
|
|
27927
|
+
* @property {string} key - API key used in the `Authorization: Bearer` request header.
|
|
27928
|
+
* @property {string} basePath - HTTP endpoint that receives the JSON request body, for example a server route or OpenAI-compatible API URL.
|
|
27846
27929
|
*/
|
|
27847
27930
|
export type IAIEnvironment =
|
|
27848
27931
|
{
|
|
27932
|
+
/**
|
|
27933
|
+
* Model identifier added to the outbound request body, for example an OpenAI chat model name.
|
|
27934
|
+
*/
|
|
27849
27935
|
model: string;
|
|
27936
|
+
/**
|
|
27937
|
+
* API key used in the `Authorization: Bearer` request header.
|
|
27938
|
+
*/
|
|
27850
27939
|
key: string;
|
|
27940
|
+
/**
|
|
27941
|
+
* HTTP endpoint that receives the JSON request body, for example a server route or OpenAI-compatible API URL.
|
|
27942
|
+
*/
|
|
27851
27943
|
basePath: string;
|
|
27852
27944
|
}
|
|
27853
27945
|
|
|
@@ -39711,7 +39803,7 @@ declare module GC{
|
|
|
39711
39803
|
*/
|
|
39712
39804
|
type?:string;
|
|
39713
39805
|
/**
|
|
39714
|
-
* Represents on which area this context menu item should be shown. Value can be a collection of conditions separated by whitespace. Include: "
|
|
39806
|
+
* Represents on which area this context menu item should be shown. Value can be a collection of conditions separated by whitespace. Include: "viewport", "rowHeader", "colHeader", "corner", "sheetTab", "outline", "slicer", "timeline", "chart", "shape", "table", "vpWithoutTb", "pivotPageFilter", "pivotTopLeft", "pivotEmptyLabel", "pivotHeader", "pivotGrandTotal", "pivotContent", "pivotTable", "GanttRowHeader", "GanttField", "GanttColumn".
|
|
39715
39807
|
*/
|
|
39716
39808
|
workArea?:string;
|
|
39717
39809
|
/**
|
|
@@ -39770,7 +39862,7 @@ declare module GC{
|
|
|
39770
39862
|
* @property {string} [group] - Represent this context menu item is a group menu item and this property's value should be it's group header's name.
|
|
39771
39863
|
* @property {Object[]} [subMenu] - Represent this context menu item has sub menu.
|
|
39772
39864
|
* @property {string} [type] - Represent a context menu's type.
|
|
39773
|
-
* @property {string} [workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "
|
|
39865
|
+
* @property {string} [workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "viewport","rowHeader","colHeader","corner","sheetTab","outline","slicer","timeline","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable","GanttRowHeader","GanttField","GanttColumn".
|
|
39774
39866
|
*/
|
|
39775
39867
|
menuData: GC.Spread.Sheets.ContextMenu.IMenuItemData[];
|
|
39776
39868
|
/**
|
|
@@ -39874,7 +39966,7 @@ declare module GC{
|
|
|
39874
39966
|
* @param {string} [menuData.group] - Represent this context menu item is a group menu item and this param's value should be it's group header's name.
|
|
39875
39967
|
* @param {Object[]} [menuData.subMenu] - Represent this context menu item has sub menu.
|
|
39876
39968
|
* @param {string} [menuData.type] - Represent a context menu's type.
|
|
39877
|
-
* @param {string} [menuData.workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "
|
|
39969
|
+
* @param {string} [menuData.workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "viewport","rowHeader","colHeader","corner","sheetTab","outline","slicer","timeline","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable","GanttRowHeader","GanttField","GanttColumn".
|
|
39878
39970
|
* @param {Object[]} itemsDataForShown
|
|
39879
39971
|
* @param {string} [itemsDataForShown.name] - Represent context menu item's identify.
|
|
39880
39972
|
* @param {string} [itemsDataForShown.text] - Represent the text to be shown,if this context menu item is a group,text will be shown as DOM element's title.
|
|
@@ -39884,7 +39976,7 @@ declare module GC{
|
|
|
39884
39976
|
* @param {string} [itemsDataForShown.group] - Represent this context menu item is a group menu item and this param's value should be it's group header's name.
|
|
39885
39977
|
* @param {Object[]} [itemsDataForShown.subMenu] - Represent this context menu item has sub menu.
|
|
39886
39978
|
* @param {string} [itemsDataForShown.type] - Represent a context menu's type.
|
|
39887
|
-
* @param {string} [itemsDataForShown.workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "
|
|
39979
|
+
* @param {string} [itemsDataForShown.workArea] - Represent this context menu item's should be shown on what area,value can be a collection of conditions,separate by whitespace. include: "viewport","rowHeader","colHeader","corner","sheetTab","outline","slicer","timeline","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable","GanttRowHeader","GanttField","GanttColumn".
|
|
39888
39980
|
* @param {Object} hitInfo
|
|
39889
39981
|
* @param {Object} spread
|
|
39890
39982
|
* @return {boolean} indicate whether or not the contextmenu event has been processed done
|
|
@@ -44115,7 +44207,7 @@ declare module GC{
|
|
|
44115
44207
|
* @param {GC.Spread.Sheets.Workbook} workbook Indicates the workbook which is attached.
|
|
44116
44208
|
* @returns void
|
|
44117
44209
|
*/
|
|
44118
|
-
attach(workbook: GC.Spread.Sheets.Workbook):
|
|
44210
|
+
attach(workbook: GC.Spread.Sheets.Workbook): void;
|
|
44119
44211
|
/**
|
|
44120
44212
|
* Gets the command manager.
|
|
44121
44213
|
* @returns {GC.Spread.Commands.CommandManager} The command manager.
|
|
@@ -61131,47 +61223,47 @@ declare module GC{
|
|
|
61131
61223
|
/**
|
|
61132
61224
|
* Whether promoting menu item to show
|
|
61133
61225
|
*/
|
|
61134
|
-
promoteMenuItemVisible
|
|
61226
|
+
promoteMenuItemVisible?: boolean,
|
|
61135
61227
|
/**
|
|
61136
61228
|
* Whether demoting menu item to show
|
|
61137
61229
|
*/
|
|
61138
|
-
demoteMenuItemVisible
|
|
61230
|
+
demoteMenuItemVisible?: boolean,
|
|
61139
61231
|
/**
|
|
61140
61232
|
* Whether moving up menu item to show
|
|
61141
61233
|
*/
|
|
61142
|
-
moveUpMenuItemVisible
|
|
61234
|
+
moveUpMenuItemVisible?: boolean,
|
|
61143
61235
|
/**
|
|
61144
61236
|
* Whether moving down menu item to show
|
|
61145
61237
|
*/
|
|
61146
|
-
moveDownMenuItemVisible
|
|
61238
|
+
moveDownMenuItemVisible?: boolean,
|
|
61147
61239
|
/**
|
|
61148
61240
|
* Whether adding before menu item to show
|
|
61149
61241
|
*/
|
|
61150
|
-
addBeforeMenuItemVisible
|
|
61242
|
+
addBeforeMenuItemVisible?: boolean,
|
|
61151
61243
|
/**
|
|
61152
61244
|
* Whether adding after menu item to show
|
|
61153
61245
|
*/
|
|
61154
|
-
addAfterMenuItemVisible
|
|
61246
|
+
addAfterMenuItemVisible?: boolean,
|
|
61155
61247
|
/**
|
|
61156
61248
|
* Whether adding above menu item to show
|
|
61157
61249
|
*/
|
|
61158
|
-
addAboveMenuItemVisible
|
|
61250
|
+
addAboveMenuItemVisible?: boolean,
|
|
61159
61251
|
/**
|
|
61160
61252
|
* Whether adding below menu item to show
|
|
61161
61253
|
*/
|
|
61162
|
-
addBelowMenuItemVisible
|
|
61254
|
+
addBelowMenuItemVisible?: boolean,
|
|
61163
61255
|
/**
|
|
61164
61256
|
* Whether expanding all level menu item to show
|
|
61165
61257
|
*/
|
|
61166
|
-
expandAllLevelMenuItemVisible
|
|
61258
|
+
expandAllLevelMenuItemVisible?: boolean,
|
|
61167
61259
|
/**
|
|
61168
61260
|
* Whether collapsing all level menu item to show
|
|
61169
61261
|
*/
|
|
61170
|
-
collapseAllLevelMenuItemVisible
|
|
61262
|
+
collapseAllLevelMenuItemVisible?: boolean,
|
|
61171
61263
|
/**
|
|
61172
61264
|
* Whether expanding to level menu item to show
|
|
61173
61265
|
*/
|
|
61174
|
-
expandToLevelMenuItemVisible
|
|
61266
|
+
expandToLevelMenuItemVisible?: boolean,
|
|
61175
61267
|
}
|
|
61176
61268
|
|
|
61177
61269
|
|
|
@@ -62290,11 +62382,11 @@ declare module GC{
|
|
|
62290
62382
|
* @param {GC.Spread.Sheets.Workbook} workbook Indicates the workbook which is attached.
|
|
62291
62383
|
* @returns void
|
|
62292
62384
|
*/
|
|
62293
|
-
attach(workbook: GC.Spread.Sheets.Workbook):
|
|
62385
|
+
attach(workbook: GC.Spread.Sheets.Workbook): void;
|
|
62294
62386
|
/**
|
|
62295
62387
|
* @description destroy the PivotPanel.
|
|
62296
62388
|
*/
|
|
62297
|
-
destroy():
|
|
62389
|
+
destroy(): void;
|
|
62298
62390
|
/**
|
|
62299
62391
|
* @description detach the workbook for threaded comment panel.
|
|
62300
62392
|
* @returns void
|