@sankhyalabs/ezui 3.1.1 → 3.1.2

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.
@@ -340,11 +340,12 @@ export class EzGrid {
340
340
  "text": "Emitido quando acontece a altera\u00E7\u00E3o de sele\u00E7\u00E3o de linhas."
341
341
  },
342
342
  "complexType": {
343
- "original": "Array<any>",
344
- "resolved": "any[]",
343
+ "original": "ISelection",
344
+ "resolved": "ISelection",
345
345
  "references": {
346
- "Array": {
347
- "location": "global"
346
+ "ISelection": {
347
+ "location": "import",
348
+ "path": "./interfaces/ISelection"
348
349
  }
349
350
  }
350
351
  }
@@ -1,6 +1,7 @@
1
1
  import { DataUnit } from "@sankhyalabs/core";
2
2
  import { EventEmitter } from "../../stencil-public-runtime";
3
3
  import EzGridController, { EzGridColumn, EzGridColumnConfig, EzGridColumStateEvent, IGridConfig, IStatusResolver } from "./controller/EzGridController";
4
+ import { ISelection } from "./interfaces/ISelection";
4
5
  export declare class EzGrid {
5
6
  _container: HTMLElement;
6
7
  _refPaginationControl: HTMLElement;
@@ -16,7 +17,7 @@ export declare class EzGrid {
16
17
  /**
17
18
  * Emitido quando acontece a alteração de seleção de linhas.
18
19
  */
19
- ezSelectionChange: EventEmitter<Array<any>>;
20
+ ezSelectionChange: EventEmitter<ISelection>;
20
21
  /**
21
22
  * Emitido com o duplo clique de uma linha
22
23
  */
@@ -0,0 +1,3 @@
1
+ export interface ISelection {
2
+ selection: Array<any>;
3
+ }
@@ -18,6 +18,7 @@ import { ITreeItem } from "./components/ez-tree/interfaces/ITreeItem";
18
18
  import { IFormViewField } from "./components/ez-form-view/interfaces";
19
19
  import { IFormViewField as IFormViewField1 } from "./components/ez-form-view/interfaces/IFormViewField";
20
20
  import { EzGridColumn, EzGridColumnConfig, EzGridColumStateEvent, IGridConfig, IStatusResolver } from "./components/ez-grid/controller/EzGridController";
21
+ import { ISelection } from "./components/ez-grid/interfaces/ISelection";
21
22
  import { IGuideItem } from "./components/ez-guide-navigator/interfaces";
22
23
  import { ListGroup, ListItem } from "./components/ez-list/ez-list";
23
24
  import { Radio } from "./components/ez-radio-button/ez-radio-button";
@@ -2217,7 +2218,7 @@ declare namespace LocalJSX {
2217
2218
  /**
2218
2219
  * Emitido quando acontece a alteração de seleção de linhas.
2219
2220
  */
2220
- "onEzSelectionChange"?: (event: EzGridCustomEvent<Array<any>>) => void;
2221
+ "onEzSelectionChange"?: (event: EzGridCustomEvent<ISelection>) => void;
2221
2222
  /**
2222
2223
  * Endereço do servidor para obtenção dos dados.
2223
2224
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",