@grapecity-software/spread-sheets-designer 18.2.4 → 19.0.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.
@@ -777,9 +777,18 @@ declare module GC.Spread.Sheets{
777
777
  needAsyncUpdate?: boolean;
778
778
  visibleContext?: string;
779
779
  enableContext?: string;
780
- getState?: Function;
781
- execute?: Function;
782
- init?: Function;
780
+ /**
781
+ * Gets the current state of the command. The context parameter is the Designer instance. Returns an object containing the command's current state (e.g., value, enabled, visible).
782
+ */
783
+ getState?: (context: GC.Spread.Sheets.Designer.Designer) => any;
784
+ /**
785
+ * Executes the command logic. The context is the Designer instance, propertyName identifies the trigger source, and value is the input value.
786
+ */
787
+ execute?: (context: GC.Spread.Sheets.Designer.Designer, propertyName?: string, value?: any) => void;
788
+ /**
789
+ * Initializes the command when first loaded. Called once during command registration. Use it to set up event listeners or register actions.
790
+ */
791
+ init?: (context: GC.Spread.Sheets.Designer.Designer) => void;
783
792
  dropdownList?: GC.Spread.Sheets.Designer.IListGroupItemData[];
784
793
  subCommands?: string[];
785
794
  dropdownMaxWidth?: number;
@@ -3635,6 +3644,26 @@ declare module GC.Spread.Sheets{
3635
3644
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuCut);
3636
3645
  */
3637
3646
  static ContextMenuCut: string;
3647
+ /**
3648
+ * Get the command name ContextMenuDeleteThreadedComment.
3649
+ * @name GC.Spread.Sheets.Designer#ContextMenuDeleteThreadedComment
3650
+ * @example
3651
+ * ```
3652
+ * // This example get the ContextMenuDeleteThreadedComment by the command name.
3653
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuDeleteThreadedComment);
3654
+ * ```
3655
+ */
3656
+ static ContextMenuDeleteThreadedComment: string;
3657
+ /**
3658
+ * Get the command name ContextMenuEditThreadedComment.
3659
+ * @name GC.Spread.Sheets.Designer#ContextMenuEditThreadedComment
3660
+ * @example
3661
+ * ```
3662
+ * // This example get the ContextMenuEditThreadedComment by the command name.
3663
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuEditThreadedComment);
3664
+ * ```
3665
+ */
3666
+ static ContextMenuEditThreadedComment: string;
3638
3667
  /**
3639
3668
  * Get the command name ContextMenuMoveChart.
3640
3669
  * @name GC.Spread.Sheets.Designer#ContextMenuMoveChart
@@ -3643,6 +3672,16 @@ declare module GC.Spread.Sheets{
3643
3672
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuMoveChart);
3644
3673
  */
3645
3674
  static ContextMenuMoveChart: string;
3675
+ /**
3676
+ * Get the command name ContextMenuNewThreadedComment.
3677
+ * @name GC.Spread.Sheets.Designer#ContextMenuNewThreadedComment
3678
+ * @example
3679
+ * ```
3680
+ * // This example get the ContextMenuNewThreadedComment by the command name.
3681
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuNewThreadedComment);
3682
+ * ```
3683
+ */
3684
+ static ContextMenuNewThreadedComment: string;
3646
3685
  /**
3647
3686
  * Get the command name ContextMenuOutlineColumn.
3648
3687
  * @name GC.Spread.Sheets.Designer#ContextMenuOutlineColumn
@@ -3683,6 +3722,22 @@ declare module GC.Spread.Sheets{
3683
3722
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuSlicerSetting);
3684
3723
  */
3685
3724
  static ContextMenuSlicerSetting: string;
3725
+ /**
3726
+ * Get the command name ContextMenuSortAtoZ.
3727
+ * @name GC.Spread.Sheets.Designer#ContextMenuSortAtoZ
3728
+ * @example
3729
+ * // This example get the ContextMenuSortAtoZ by the command name.
3730
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuSortAtoZ);
3731
+ */
3732
+ static ContextMenuSortAtoZ: string;
3733
+ /**
3734
+ * Get the command name ContextMenuSortZtoA.
3735
+ * @name GC.Spread.Sheets.Designer#ContextMenuSortZtoA
3736
+ * @example
3737
+ * // This example get the ContextMenuSortZtoA by the command name.
3738
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ContextMenuSortZtoA);
3739
+ */
3740
+ static ContextMenuSortZtoA: string;
3686
3741
  /**
3687
3742
  * Get the command name ConvertFromDataTable.
3688
3743
  * @name GC.Spread.Sheets.Designer#ConvertFromDataTable
@@ -3959,6 +4014,16 @@ declare module GC.Spread.Sheets{
3959
4014
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.DeleteSheet);
3960
4015
  */
3961
4016
  static DeleteSheet: string;
4017
+ /**
4018
+ * Get the command name DeleteThreadedComment.
4019
+ * @name GC.Spread.Sheets.Designer#DeleteThreadedComment
4020
+ * @example
4021
+ * ```
4022
+ * // This example get the DeleteThreadedComment by the command name.
4023
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.DeleteThreadedComment);
4024
+ * ```
4025
+ */
4026
+ static DeleteThreadedComment: string;
3962
4027
  /**
3963
4028
  * Get the command name DeleteWorksheetBackground.
3964
4029
  * @name GC.Spread.Sheets.Designer#DeleteWorksheetBackground
@@ -6444,6 +6509,16 @@ declare module GC.Spread.Sheets{
6444
6509
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.NewTableStyle);
6445
6510
  */
6446
6511
  static NewTableStyle: string;
6512
+ /**
6513
+ * Get the command name NewThreadedComment.
6514
+ * @name GC.Spread.Sheets.Designer#NewThreadedComment
6515
+ * @example
6516
+ * ```
6517
+ * // This example get the NewThreadedComment by the command name.
6518
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.NewThreadedComment);
6519
+ * ```
6520
+ */
6521
+ static NewThreadedComment: string;
6447
6522
  /**
6448
6523
  * Get the command name NewTimelineStyle.
6449
6524
  * @name GC.Spread.Sheets.Designer#NewTimelineStyle
@@ -6452,6 +6527,16 @@ declare module GC.Spread.Sheets{
6452
6527
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.NewTimelineStyle);
6453
6528
  */
6454
6529
  static NewTimelineStyle: string;
6530
+ /**
6531
+ * Get the command name NextThreadedComment.
6532
+ * @name GC.Spread.Sheets.Designer#NextThreadedComment
6533
+ * @example
6534
+ * ```
6535
+ * // This example get the NextThreadedComment by the command name.
6536
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.NextThreadedComment);
6537
+ * ```
6538
+ */
6539
+ static NextThreadedComment: string;
6455
6540
  /**
6456
6541
  * Get the command name NoBorder.
6457
6542
  * @name GC.Spread.Sheets.Designer#NoBorder
@@ -7896,6 +7981,16 @@ declare module GC.Spread.Sheets{
7896
7981
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.PivotTableValueFilters);
7897
7982
  */
7898
7983
  static PivotTableValueFilters: string;
7984
+ /**
7985
+ * Get the command name PreviousThreadedComment.
7986
+ * @name GC.Spread.Sheets.Designer#PreviousThreadedComment
7987
+ * @example
7988
+ * ```
7989
+ * // This example get the PreviousThreadedComment by the command name.
7990
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.PreviousThreadedComment);
7991
+ * ```
7992
+ */
7993
+ static PreviousThreadedComment: string;
7899
7994
  /**
7900
7995
  * Get the command name PrintArea.
7901
7996
  * @name GC.Spread.Sheets.Designer#PrintArea
@@ -8288,6 +8383,70 @@ declare module GC.Spread.Sheets{
8288
8383
  * ```
8289
8384
  */
8290
8385
  static ReportSheetSubmit: string;
8386
+ /**
8387
+ * Get the command name ReportSheetTemplateRangeDetail.
8388
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeDetail
8389
+ * @example
8390
+ * // This example get the ReportSheetTemplateRangeDetail by the command name.
8391
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeDetail);
8392
+ */
8393
+ static ReportSheetTemplateRangeDetail: string;
8394
+ /**
8395
+ * Get the command name ReportSheetTemplateRangeFooter.
8396
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeFooter
8397
+ * @example
8398
+ * // This example get the ReportSheetTemplateRangeFooter by the command name.
8399
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeFooter);
8400
+ */
8401
+ static ReportSheetTemplateRangeFooter: string;
8402
+ /**
8403
+ * Get the command name ReportSheetTemplateRangeGroup.
8404
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeGroup
8405
+ * @example
8406
+ * // This example get the ReportSheetTemplateRangeGroup by the command name.
8407
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeGroup);
8408
+ */
8409
+ static ReportSheetTemplateRangeGroup: string;
8410
+ /**
8411
+ * Get the command name ReportSheetTemplateRangeGroupFooter.
8412
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeGroupFooter
8413
+ * @example
8414
+ * // This example get the ReportSheetTemplateRangeGroupFooter by the command name.
8415
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeGroupFooter);
8416
+ */
8417
+ static ReportSheetTemplateRangeGroupFooter: string;
8418
+ /**
8419
+ * Get the command name ReportSheetTemplateRangeGroupHeader.
8420
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeGroupHeader
8421
+ * @example
8422
+ * // This example get the ReportSheetTemplateRangeGroupHeader by the command name.
8423
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeGroupHeader);
8424
+ */
8425
+ static ReportSheetTemplateRangeGroupHeader: string;
8426
+ /**
8427
+ * Get the command name ReportSheetTemplateRangeHeader.
8428
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeHeader
8429
+ * @example
8430
+ * // This example get the ReportSheetTemplateRangeHeader by the command name.
8431
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeHeader);
8432
+ */
8433
+ static ReportSheetTemplateRangeHeader: string;
8434
+ /**
8435
+ * Get the command name ReportSheetTemplateRangePanel.
8436
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangePanel
8437
+ * @example
8438
+ * // This example get the ReportSheetTemplateRangePanel by the command name.
8439
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangePanel);
8440
+ */
8441
+ static ReportSheetTemplateRangePanel: string;
8442
+ /**
8443
+ * Get the command name ReportSheetTemplateRangeReset.
8444
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangeReset
8445
+ * @example
8446
+ * // This example get the ReportSheetTemplateRangeReset by the command name.
8447
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ReportSheetTemplateRangeReset);
8448
+ */
8449
+ static ReportSheetTemplateRangeReset: string;
8291
8450
  /**
8292
8451
  * Get the command name ReportSheetWizard.
8293
8452
  * @name GC.Spread.Sheets.Designer#ReportSheetWizard
@@ -9260,6 +9419,16 @@ declare module GC.Spread.Sheets{
9260
9419
  * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ShowTabColor);
9261
9420
  */
9262
9421
  static ShowTabColor: string;
9422
+ /**
9423
+ * Get the command name ShowThreadedComments.
9424
+ * @name GC.Spread.Sheets.Designer#ShowThreadedComments
9425
+ * @example
9426
+ * ```
9427
+ * // This example get the ShowThreadedComments by the command name.
9428
+ * var command = GC.Spread.Sheets.Designer.getCommand(GC.Spread.Sheets.Designer.CommandNames.ShowThreadedComments);
9429
+ * ```
9430
+ */
9431
+ static ShowThreadedComments: string;
9263
9432
  /**
9264
9433
  * Get the command name SlicerFormat.
9265
9434
  * @name GC.Spread.Sheets.Designer#SlicerFormat
@@ -12557,14 +12726,6 @@ declare module GC.Spread.Sheets{
12557
12726
  * var template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.InsertDataChartDialogTemplate);
12558
12727
  */
12559
12728
  static InsertDataChartDialogTemplate: string;
12560
- /**
12561
- * Get the template name.
12562
- * @name GC.Spread.Sheets.Designer#InsertFunctionAllowDynamicArrayDialogTemplate
12563
- * @example
12564
- * //This example get the InsertFunctionAllowDynamicArrayDialogTemplate by the template name.
12565
- * var template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.InsertFunctionAllowDynamicArrayDialogTemplate);
12566
- */
12567
- static InsertFunctionAllowDynamicArrayDialogTemplate: string;
12568
12729
  /**
12569
12730
  * Get the template name.
12570
12731
  * @name GC.Spread.Sheets.Designer#InsertFunctionDialogTemplate
@@ -13085,6 +13246,16 @@ declare module GC.Spread.Sheets{
13085
13246
  * ```
13086
13247
  */
13087
13248
  static ReportSheetSplitSettingDialog: string;
13249
+ /**
13250
+ * Get the template name.
13251
+ * @name GC.Spread.Sheets.Designer#ReportSheetTemplateRangePanelTemplate
13252
+ * @example
13253
+ * ```
13254
+ * //this example get the ReportSheetTemplateRangePanelTemplate by the template name.
13255
+ * var template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.ReportSheetTemplateRangePanelTemplate);
13256
+ * ```
13257
+ */
13258
+ static ReportSheetTemplateRangePanelTemplate: string;
13088
13259
  /**
13089
13260
  * Get the template name.
13090
13261
  * @name GC.Spread.Sheets.Designer#ReportSheetWizardLocationTemplate
@@ -13487,6 +13658,16 @@ declare module GC.Spread.Sheets{
13487
13658
  * var template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.TextToColumnDialogWizardStep3Template);
13488
13659
  */
13489
13660
  static TextToColumnDialogWizardStep3Template: string;
13661
+ /**
13662
+ * Get the template name.
13663
+ * @name GC.Spread.Sheets.Designer#ThreadedCommentPanel
13664
+ * @example
13665
+ * ```
13666
+ * //this example get the ThreadedCommentPanel by the template name.
13667
+ * var template = GC.Spread.Sheets.Designer.getTemplate(GC.Spread.Sheets.Designer.TemplateNames.ThreadedCommentPanel);
13668
+ * ```
13669
+ */
13670
+ static ThreadedCommentPanel: string;
13490
13671
  /**
13491
13672
  * Get the template name.
13492
13673
  * @name GC.Spread.Sheets.Designer#TimelineStyleDialogTemplate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapecity-software/spread-sheets-designer",
3
- "version": "18.2.4",
3
+ "version": "19.0.0",
4
4
  "main": "index.js",
5
5
  "description":"SpreadJS Designer Component present as a control that could be embedded into your web application easily, and also provided flexible, customizable configuration to achieve your business logic.",
6
6
  "scripts": {},