survey-analytics 1.9.71 → 1.9.72

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.71
2
+ * surveyjs - SurveyJS Dashboard library v1.9.72
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -705,7 +705,7 @@ declare module "tables/columnbuilder" {
705
705
  }
706
706
  }
707
707
  declare module "tables/table" {
708
- import { SurveyModel, Question, Event } from "survey-core";
708
+ import { SurveyModel, Question, Event, EventBase } from "survey-core";
709
709
  import { IPermission, QuestionLocation, ITableState, IColumn, IColumnData } from "tables/config";
710
710
  import { Details } from "tables/extensions/detailsextensions";
711
711
  import { TableExtensions } from "tables/extensions/tableextensions";
@@ -726,6 +726,8 @@ declare module "tables/table" {
726
726
  displayValue: any;
727
727
  }) => void;
728
728
  }
729
+ export class TableEvent extends EventBase<Table> {
730
+ }
729
731
  export abstract class Table {
730
732
  protected _survey: SurveyModel;
731
733
  protected data: Array<Object>;
@@ -747,9 +749,9 @@ declare module "tables/table" {
747
749
  * Sets pagination selector content.
748
750
  */
749
751
  paginationSizeSelector: number[];
750
- onColumnsVisibilityChanged: Event<(sender: Table, options: any) => any, any>;
751
- onColumnsLocationChanged: Event<(sender: Table, options: any) => any, any>;
752
- onRowRemoved: Event<(sender: Table, options: any) => any, any>;
752
+ onColumnsVisibilityChanged: TableEvent;
753
+ onColumnsLocationChanged: TableEvent;
754
+ onRowRemoved: TableEvent;
753
755
  renderDetailActions: (container: HTMLElement, row: TableRow) => HTMLElement;
754
756
  getData(): Object[];
755
757
  get survey(): SurveyModel;
@@ -809,7 +811,7 @@ declare module "tables/table" {
809
811
  /**
810
812
  * Fires when table state changed.
811
813
  */
812
- onStateChanged: Event<(sender: Table, options: any) => any, any>;
814
+ onStateChanged: TableEvent;
813
815
  /**
814
816
  * Gets table permissions.
815
817
  */
@@ -832,7 +834,7 @@ declare module "tables/table" {
832
834
  extensions: TableExtensions;
833
835
  private detailedRowClass;
834
836
  private isDetailsExpanded;
835
- onToggleDetails: Event<(sender: TableRow, options: any) => any, any>;
837
+ onToggleDetails: Event<(sender: TableRow, options: any) => any, TableRow, any>;
836
838
  /**
837
839
  * Returns row's html element
838
840
  */