@mescius/spread-sheets 19.0.5 → 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.
@@ -7262,11 +7262,11 @@ declare module GC{
7262
7262
  * @param {GC.Spread.Pivot.PivotTable} pivotTable Indicates the pivot table which is attached.
7263
7263
  * @returns void
7264
7264
  */
7265
- attach(pivotTable: GC.Spread.Pivot.PivotTable): any;
7265
+ attach(pivotTable: GC.Spread.Pivot.PivotTable): void;
7266
7266
  /**
7267
7267
  * @description destroy the PivotPanel.
7268
7268
  */
7269
- destroy(): any;
7269
+ destroy(): void;
7270
7270
  /**
7271
7271
  * @description detach the pivot table for pivot panel, stop the pivot panel control bound pivot table.
7272
7272
  * @returns void
@@ -20130,13 +20130,11 @@ declare module GC{
20130
20130
  * @param eventParam *{@link GC.Spread.Sheets.Collaboration.IPermission}* `permission` The sheet that triggered the event.
20131
20131
  * @example
20132
20132
  * ```javascript
20133
- * ```javascript
20134
20133
  * //This example uses the ThreadedCommentChanged event.
20135
20134
  * spread.bind(GC.Spread.Sheets.Events.PermissionChanged, function (e, info) {
20136
20135
  * console.log(info.permission);
20137
20136
  * });
20138
20137
  * ```
20139
- * ```
20140
20138
  */
20141
20139
  static PermissionChanged: string;
20142
20140
  /**
@@ -21397,13 +21395,11 @@ declare module GC{
21397
21395
  * @param eventParam *string[]* `userIds` The user ids that were mentioned.
21398
21396
  * @example
21399
21397
  * ```javascript
21400
- * ```javascript
21401
21398
  * //This example uses the ThreadedCommentChanged event.
21402
21399
  * sheet.bind(GC.Spread.Sheets.Events.UserMentioned, function (e, info) {
21403
21400
  * console.log(info.userId);
21404
21401
  * });
21405
21402
  * ```
21406
- * ```
21407
21403
  */
21408
21404
  static UserMentioned: string;
21409
21405
  /**
@@ -21748,7 +21744,7 @@ declare module GC{
21748
21744
  * sheet.pivotTables.remove("pivotTable_1");
21749
21745
  * ```
21750
21746
  */
21751
- remove(name: string): any;
21747
+ remove(name: string): void;
21752
21748
  }
21753
21749
 
21754
21750
  export class Point{
@@ -23083,7 +23079,7 @@ declare module GC{
23083
23079
  * activeSheet.repaint();
23084
23080
  * ```
23085
23081
  */
23086
- Apex: ColorScheme;
23082
+ static Apex: ColorScheme;
23087
23083
  /**
23088
23084
  * The theme color of the Aspect theme.
23089
23085
  * @example
@@ -23094,7 +23090,7 @@ declare module GC{
23094
23090
  * activeSheet.repaint();
23095
23091
  * ```
23096
23092
  */
23097
- Aspect: ColorScheme;
23093
+ static Aspect: ColorScheme;
23098
23094
  /**
23099
23095
  * The theme color of the Civic theme.
23100
23096
  * @example
@@ -23105,7 +23101,7 @@ declare module GC{
23105
23101
  * activeSheet.repaint();
23106
23102
  * ```
23107
23103
  */
23108
- Civic: ColorScheme;
23104
+ static Civic: ColorScheme;
23109
23105
  /**
23110
23106
  * The theme color of the Concourse theme.
23111
23107
  * @example
@@ -23116,7 +23112,7 @@ declare module GC{
23116
23112
  * activeSheet.repaint();
23117
23113
  * ```
23118
23114
  */
23119
- Concourse: ColorScheme;
23115
+ static Concourse: ColorScheme;
23120
23116
  /**
23121
23117
  * The theme color of the Default theme.
23122
23118
  * @example
@@ -23127,7 +23123,7 @@ declare module GC{
23127
23123
  * activeSheet.repaint();
23128
23124
  * ```
23129
23125
  */
23130
- Default: ColorScheme;
23126
+ static Default: ColorScheme;
23131
23127
  /**
23132
23128
  * The theme color of the Equity theme.
23133
23129
  * @example
@@ -23138,7 +23134,7 @@ declare module GC{
23138
23134
  * activeSheet.repaint();
23139
23135
  * ```
23140
23136
  */
23141
- Equity: ColorScheme;
23137
+ static Equity: ColorScheme;
23142
23138
  /**
23143
23139
  * The theme color of the Flow theme.
23144
23140
  * @example
@@ -23149,7 +23145,7 @@ declare module GC{
23149
23145
  * activeSheet.repaint();
23150
23146
  * ```
23151
23147
  */
23152
- Flow: ColorScheme;
23148
+ static Flow: ColorScheme;
23153
23149
  /**
23154
23150
  * The theme color of the Foundry theme.
23155
23151
  * @example
@@ -23160,7 +23156,7 @@ declare module GC{
23160
23156
  * activeSheet.repaint();
23161
23157
  * ```
23162
23158
  */
23163
- Foundry: ColorScheme;
23159
+ static Foundry: ColorScheme;
23164
23160
  /**
23165
23161
  * The theme color of the Median theme.
23166
23162
  * @example
@@ -23171,7 +23167,7 @@ declare module GC{
23171
23167
  * activeSheet.repaint();
23172
23168
  * ```
23173
23169
  */
23174
- Median: ColorScheme;
23170
+ static Median: ColorScheme;
23175
23171
  /**
23176
23172
  * The theme color of the Metro theme.
23177
23173
  * @example
@@ -23182,7 +23178,7 @@ declare module GC{
23182
23178
  * activeSheet.repaint();
23183
23179
  * ```
23184
23180
  */
23185
- Metro: ColorScheme;
23181
+ static Metro: ColorScheme;
23186
23182
  /**
23187
23183
  * The theme color of the Module theme.
23188
23184
  * @example
@@ -23193,7 +23189,7 @@ declare module GC{
23193
23189
  * activeSheet.repaint();
23194
23190
  * ```
23195
23191
  */
23196
- Module: ColorScheme;
23192
+ static Module: ColorScheme;
23197
23193
  /**
23198
23194
  * The theme color of the Office theme.
23199
23195
  * @example
@@ -23204,7 +23200,7 @@ declare module GC{
23204
23200
  * activeSheet.repaint();
23205
23201
  * ```
23206
23202
  */
23207
- Office: ColorScheme;
23203
+ static Office: ColorScheme;
23208
23204
  /**
23209
23205
  * The theme color of the Office 2007 theme.
23210
23206
  * @example
@@ -23215,7 +23211,7 @@ declare module GC{
23215
23211
  * activeSheet.repaint();
23216
23212
  * ```
23217
23213
  */
23218
- Office2007: ColorScheme;
23214
+ static Office2007: ColorScheme;
23219
23215
  /**
23220
23216
  * The theme color of the Opulent theme.
23221
23217
  * @example
@@ -23226,7 +23222,7 @@ declare module GC{
23226
23222
  * activeSheet.repaint();
23227
23223
  * ```
23228
23224
  */
23229
- Opulent: ColorScheme;
23225
+ static Opulent: ColorScheme;
23230
23226
  /**
23231
23227
  * The theme color of the Oriel theme.
23232
23228
  * @example
@@ -23237,7 +23233,7 @@ declare module GC{
23237
23233
  * activeSheet.repaint();
23238
23234
  * ```
23239
23235
  */
23240
- Oriel: ColorScheme;
23236
+ static Oriel: ColorScheme;
23241
23237
  /**
23242
23238
  * The theme color of the Origin theme.
23243
23239
  * @example
@@ -23248,7 +23244,7 @@ declare module GC{
23248
23244
  * activeSheet.repaint();
23249
23245
  * ```
23250
23246
  */
23251
- Origin: ColorScheme;
23247
+ static Origin: ColorScheme;
23252
23248
  /**
23253
23249
  * The theme color of the Paper theme.
23254
23250
  * @example
@@ -23259,7 +23255,7 @@ declare module GC{
23259
23255
  * activeSheet.repaint();
23260
23256
  * ```
23261
23257
  */
23262
- Paper: ColorScheme;
23258
+ static Paper: ColorScheme;
23263
23259
  /**
23264
23260
  * The theme color of the Solstice theme.
23265
23261
  * @example
@@ -23270,7 +23266,7 @@ declare module GC{
23270
23266
  * activeSheet.repaint();
23271
23267
  * ```
23272
23268
  */
23273
- Solstice: ColorScheme;
23269
+ static Solstice: ColorScheme;
23274
23270
  /**
23275
23271
  * The theme color of the Technic theme.
23276
23272
  * @example
@@ -23281,7 +23277,7 @@ declare module GC{
23281
23277
  * activeSheet.repaint();
23282
23278
  * ```
23283
23279
  */
23284
- Technic: ColorScheme;
23280
+ static Technic: ColorScheme;
23285
23281
  /**
23286
23282
  * The theme color of the Trek theme.
23287
23283
  * @example
@@ -23292,7 +23288,7 @@ declare module GC{
23292
23288
  * activeSheet.repaint();
23293
23289
  * ```
23294
23290
  */
23295
- Trek: ColorScheme;
23291
+ static Trek: ColorScheme;
23296
23292
  /**
23297
23293
  * The theme color of the Urban theme.
23298
23294
  * @example
@@ -23303,7 +23299,7 @@ declare module GC{
23303
23299
  * activeSheet.repaint();
23304
23300
  * ```
23305
23301
  */
23306
- Urban: ColorScheme;
23302
+ static Urban: ColorScheme;
23307
23303
  /**
23308
23304
  * The theme color of the Verve theme.
23309
23305
  * @example
@@ -23314,7 +23310,7 @@ declare module GC{
23314
23310
  * activeSheet.repaint();
23315
23311
  * ```
23316
23312
  */
23317
- Verve: ColorScheme;
23313
+ static Verve: ColorScheme;
23318
23314
  }
23319
23315
 
23320
23316
  export class ThemeFont{
@@ -23437,87 +23433,87 @@ declare module GC{
23437
23433
  /**
23438
23434
  * The theme font named BookmanGillSansMT.
23439
23435
  */
23440
- BookmanGillSansMT: GC.Spread.Sheets.ThemeFont;
23436
+ static BookmanGillSansMT: GC.Spread.Sheets.ThemeFont;
23441
23437
  /**
23442
23438
  * The theme font named CalibriConstantia.
23443
23439
  */
23444
- CalibriConstantia: GC.Spread.Sheets.ThemeFont;
23440
+ static CalibriConstantia: GC.Spread.Sheets.ThemeFont;
23445
23441
  /**
23446
23442
  * The theme font named CenturyGothic.
23447
23443
  */
23448
- CenturyGothic: GC.Spread.Sheets.ThemeFont;
23444
+ static CenturyGothic: GC.Spread.Sheets.ThemeFont;
23449
23445
  /**
23450
23446
  * The theme font named CenturySchoolbook.
23451
23447
  */
23452
- CenturySchoolbook: GC.Spread.Sheets.ThemeFont;
23448
+ static CenturySchoolbook: GC.Spread.Sheets.ThemeFont;
23453
23449
  /**
23454
23450
  * The theme font named ConsolasCorbel.
23455
23451
  */
23456
- ConsolasCorbel: GC.Spread.Sheets.ThemeFont;
23452
+ static ConsolasCorbel: GC.Spread.Sheets.ThemeFont;
23457
23453
  /**
23458
23454
  * The theme font named Constantia.
23459
23455
  */
23460
- Constantia: GC.Spread.Sheets.ThemeFont;
23456
+ static Constantia: GC.Spread.Sheets.ThemeFont;
23461
23457
  /**
23462
23458
  * The theme font named Corbel.
23463
23459
  */
23464
- Corbel: GC.Spread.Sheets.ThemeFont;
23460
+ static Corbel: GC.Spread.Sheets.ThemeFont;
23465
23461
  /**
23466
23462
  * The theme font named FranklinGothic.
23467
23463
  */
23468
- FranklinGothic: GC.Spread.Sheets.ThemeFont;
23464
+ static FranklinGothic: GC.Spread.Sheets.ThemeFont;
23469
23465
  /**
23470
23466
  * The theme font named FranklinGothicArial.
23471
23467
  */
23472
- FranklinGothicArial: GC.Spread.Sheets.ThemeFont;
23468
+ static FranklinGothicArial: GC.Spread.Sheets.ThemeFont;
23473
23469
  /**
23474
23470
  * The theme font named FranklinGothicPerpetua.
23475
23471
  */
23476
- FranklinGothicPerpetua: GC.Spread.Sheets.ThemeFont;
23472
+ static FranklinGothicPerpetua: GC.Spread.Sheets.ThemeFont;
23477
23473
  /**
23478
23474
  * The theme font named Georgia.
23479
23475
  */
23480
- Georgia: GC.Spread.Sheets.ThemeFont;
23476
+ static Georgia: GC.Spread.Sheets.ThemeFont;
23481
23477
  /**
23482
23478
  * The theme font named GillSansMT.
23483
23479
  */
23484
- GillSansMT: GC.Spread.Sheets.ThemeFont;
23480
+ static GillSansMT: GC.Spread.Sheets.ThemeFont;
23485
23481
  /**
23486
23482
  * The theme font named LucidaBook.
23487
23483
  */
23488
- LucidaBook: GC.Spread.Sheets.ThemeFont;
23484
+ static LucidaBook: GC.Spread.Sheets.ThemeFont;
23489
23485
  /**
23490
23486
  * The theme font named LucidaSansUnicode.
23491
23487
  */
23492
- LucidaSansUnicode: GC.Spread.Sheets.ThemeFont;
23488
+ static LucidaSansUnicode: GC.Spread.Sheets.ThemeFont;
23493
23489
  /**
23494
23490
  * The theme font named Office.
23495
23491
  */
23496
- Office: GC.Spread.Sheets.ThemeFont;
23492
+ static Office: GC.Spread.Sheets.ThemeFont;
23497
23493
  /**
23498
23494
  * The theme font named Office2007.
23499
23495
  */
23500
- Office2007: GC.Spread.Sheets.ThemeFont;
23496
+ static Office2007: GC.Spread.Sheets.ThemeFont;
23501
23497
  /**
23502
23498
  * The theme font named Rockwell.
23503
23499
  */
23504
- Rockwell: GC.Spread.Sheets.ThemeFont;
23500
+ static Rockwell: GC.Spread.Sheets.ThemeFont;
23505
23501
  /**
23506
23502
  * The theme font named TrebuchetGeorgia.
23507
23503
  */
23508
- TrebuchetGeorgia: GC.Spread.Sheets.ThemeFont;
23504
+ static TrebuchetGeorgia: GC.Spread.Sheets.ThemeFont;
23509
23505
  /**
23510
23506
  * The theme font named TrebuchetMS.
23511
23507
  */
23512
- TrebuchetMS: GC.Spread.Sheets.ThemeFont;
23508
+ static TrebuchetMS: GC.Spread.Sheets.ThemeFont;
23513
23509
  /**
23514
23510
  * The theme font named TwCenMT.
23515
23511
  */
23516
- TwCenMT: GC.Spread.Sheets.ThemeFont;
23512
+ static TwCenMT: GC.Spread.Sheets.ThemeFont;
23517
23513
  /**
23518
23514
  * The theme font named Verdana.
23519
23515
  */
23520
- Verdana: GC.Spread.Sheets.ThemeFont;
23516
+ static Verdana: GC.Spread.Sheets.ThemeFont;
23521
23517
  }
23522
23518
 
23523
23519
  export class Themes{
@@ -23529,91 +23525,91 @@ declare module GC{
23529
23525
  /**
23530
23526
  * Indicates the Apex theme.
23531
23527
  */
23532
- Apex: Theme;
23528
+ static Apex: Theme;
23533
23529
  /**
23534
23530
  * Indicates the Aspect theme.
23535
23531
  */
23536
- Aspect: Theme;
23532
+ static Aspect: Theme;
23537
23533
  /**
23538
23534
  * Indicates the Civic theme.
23539
23535
  */
23540
- Civic: Theme;
23536
+ static Civic: Theme;
23541
23537
  /**
23542
23538
  * Indicates the Concourse theme.
23543
23539
  */
23544
- Concourse: Theme;
23540
+ static Concourse: Theme;
23545
23541
  /**
23546
23542
  * Indicates the Default theme.
23547
23543
  */
23548
- Default: Theme;
23544
+ static Default: Theme;
23549
23545
  /**
23550
23546
  * Indicates the Equity theme.
23551
23547
  */
23552
- Equity: Theme;
23548
+ static Equity: Theme;
23553
23549
  /**
23554
23550
  * Indicates the Flow theme.
23555
23551
  */
23556
- Flow: Theme;
23552
+ static Flow: Theme;
23557
23553
  /**
23558
23554
  * Indicates the Foundry theme.
23559
23555
  */
23560
- Foundry: Theme;
23556
+ static Foundry: Theme;
23561
23557
  /**
23562
23558
  * Indicates the Median theme.
23563
23559
  */
23564
- Median: Theme;
23560
+ static Median: Theme;
23565
23561
  /**
23566
23562
  * Indicates the Metro theme.
23567
23563
  */
23568
- Metro: Theme;
23564
+ static Metro: Theme;
23569
23565
  /**
23570
23566
  * Indicates the Module theme.
23571
23567
  */
23572
- Module: Theme;
23568
+ static Module: Theme;
23573
23569
  /**
23574
23570
  * Indicates the Office theme.
23575
23571
  */
23576
- Office: Theme;
23572
+ static Office: Theme;
23577
23573
  /**
23578
23574
  * Indicates the Office 2007 theme.
23579
23575
  */
23580
- Office2007: Theme;
23576
+ static Office2007: Theme;
23581
23577
  /**
23582
23578
  * Indicates the Opulent theme.
23583
23579
  */
23584
- Opulent: Theme;
23580
+ static Opulent: Theme;
23585
23581
  /**
23586
23582
  * Indicates the Oriel theme.
23587
23583
  */
23588
- Oriel: Theme;
23584
+ static Oriel: Theme;
23589
23585
  /**
23590
23586
  * Indicates the Origin theme.
23591
23587
  */
23592
- Origin: Theme;
23588
+ static Origin: Theme;
23593
23589
  /**
23594
23590
  * Indicates the Paper theme.
23595
23591
  */
23596
- Paper: Theme;
23592
+ static Paper: Theme;
23597
23593
  /**
23598
23594
  * Indicates the Solstice theme.
23599
23595
  */
23600
- Solstice: Theme;
23596
+ static Solstice: Theme;
23601
23597
  /**
23602
23598
  * Indicates the Technic theme.
23603
23599
  */
23604
- Technic: Theme;
23600
+ static Technic: Theme;
23605
23601
  /**
23606
23602
  * Indicates the Trek theme.
23607
23603
  */
23608
- Trek: Theme;
23604
+ static Trek: Theme;
23609
23605
  /**
23610
23606
  * Indicates the Urban theme.
23611
23607
  */
23612
- Urban: Theme;
23608
+ static Urban: Theme;
23613
23609
  /**
23614
23610
  * Indicates the Verve theme.
23615
23611
  */
23616
- Verve: Theme;
23612
+ static Verve: Theme;
23617
23613
  }
23618
23614
 
23619
23615
  export class Workbook{
@@ -27894,18 +27890,25 @@ declare module GC{
27894
27890
  module AI{
27895
27891
 
27896
27892
  /**
27897
- * @param {IAIConfig} config
27898
- * @returns {Promise<any>}
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.
27899
27897
  */
27900
27898
  export type AIRequestCallback =
27901
27899
  (config: IAIConfig) => Promise<any>
27902
27900
 
27903
27901
 
27904
27902
  /**
27905
- * @property {{ role: string; content: string }[]} [messages]
27906
- * @property {number} [temperature]
27907
- * @property {number} [max_tokens]
27908
- * @property {boolean} [stream]
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`.
27909
27912
  */
27910
27913
  export type IAIConfig =
27911
27914
  {
@@ -27918,14 +27921,25 @@ declare module GC{
27918
27921
 
27919
27922
 
27920
27923
  /**
27921
- * @property {string} model
27922
- * @property {string} key
27923
- * @property {string} basePath
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.
27924
27929
  */
27925
27930
  export type IAIEnvironment =
27926
27931
  {
27932
+ /**
27933
+ * Model identifier added to the outbound request body, for example an OpenAI chat model name.
27934
+ */
27927
27935
  model: string;
27936
+ /**
27937
+ * API key used in the `Authorization: Bearer` request header.
27938
+ */
27928
27939
  key: string;
27940
+ /**
27941
+ * HTTP endpoint that receives the JSON request body, for example a server route or OpenAI-compatible API URL.
27942
+ */
27929
27943
  basePath: string;
27930
27944
  }
27931
27945
 
@@ -39789,7 +39803,7 @@ declare module GC{
39789
39803
  */
39790
39804
  type?:string;
39791
39805
  /**
39792
- * Represents on which area this context menu item should be shown. Value can be a collection of conditions separated by whitespace. Include: "outline", "rowHeader", "colHeader", "corner", "slicer", "chart", "shape", "table", "vpWithoutTb", "pivotPageFilter", "pivotTopLeft", "pivotEmptyLabel", "pivotHeader", "pivotGrandTotal", "pivotContent", "pivotTable", "sheetTab", "timeline".
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".
39793
39807
  */
39794
39808
  workArea?:string;
39795
39809
  /**
@@ -39848,7 +39862,7 @@ declare module GC{
39848
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.
39849
39863
  * @property {Object[]} [subMenu] - Represent this context menu item has sub menu.
39850
39864
  * @property {string} [type] - Represent a context menu's type.
39851
- * @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: "outline","rowHeader","colHeader","corner","slicer","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable".
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".
39852
39866
  */
39853
39867
  menuData: GC.Spread.Sheets.ContextMenu.IMenuItemData[];
39854
39868
  /**
@@ -39952,7 +39966,7 @@ declare module GC{
39952
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.
39953
39967
  * @param {Object[]} [menuData.subMenu] - Represent this context menu item has sub menu.
39954
39968
  * @param {string} [menuData.type] - Represent a context menu's type.
39955
- * @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: "outline","rowHeader","colHeader","corner","slicer","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable".
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".
39956
39970
  * @param {Object[]} itemsDataForShown
39957
39971
  * @param {string} [itemsDataForShown.name] - Represent context menu item's identify.
39958
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.
@@ -39962,7 +39976,7 @@ declare module GC{
39962
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.
39963
39977
  * @param {Object[]} [itemsDataForShown.subMenu] - Represent this context menu item has sub menu.
39964
39978
  * @param {string} [itemsDataForShown.type] - Represent a context menu's type.
39965
- * @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: "outline","rowHeader","colHeader","corner","slicer","chart","shape","table","vpWithoutTb","pivotPageFilter","pivotTopLeft","pivotEmptyLabel","pivotHeader","pivotGrandTotal","pivotContent","pivotTable".
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".
39966
39980
  * @param {Object} hitInfo
39967
39981
  * @param {Object} spread
39968
39982
  * @return {boolean} indicate whether or not the contextmenu event has been processed done
@@ -44193,7 +44207,7 @@ declare module GC{
44193
44207
  * @param {GC.Spread.Sheets.Workbook} workbook Indicates the workbook which is attached.
44194
44208
  * @returns void
44195
44209
  */
44196
- attach(workbook: GC.Spread.Sheets.Workbook): any;
44210
+ attach(workbook: GC.Spread.Sheets.Workbook): void;
44197
44211
  /**
44198
44212
  * Gets the command manager.
44199
44213
  * @returns {GC.Spread.Commands.CommandManager} The command manager.
@@ -62368,11 +62382,11 @@ declare module GC{
62368
62382
  * @param {GC.Spread.Sheets.Workbook} workbook Indicates the workbook which is attached.
62369
62383
  * @returns void
62370
62384
  */
62371
- attach(workbook: GC.Spread.Sheets.Workbook): any;
62385
+ attach(workbook: GC.Spread.Sheets.Workbook): void;
62372
62386
  /**
62373
62387
  * @description destroy the PivotPanel.
62374
62388
  */
62375
- destroy(): any;
62389
+ destroy(): void;
62376
62390
  /**
62377
62391
  * @description detach the workbook for threaded comment panel.
62378
62392
  * @returns void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mescius/spread-sheets",
3
- "version": "19.0.5",
3
+ "version": "19.0.6",
4
4
  "main": "index.js",
5
5
  "description":"A Complete Microsoft Excel-like JavaScript Spreadsheet for Enterprise Applications",
6
6
  "scripts": {},