@sankhyalabs/ezui 3.1.1 → 3.1.3

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,6 +1,7 @@
1
1
  {
2
2
  "entries": [
3
3
  "./components/ez-actions-button/ez-actions-button.js",
4
+ "./components/ez-breadcrumb/ez-breadcrumb.js",
4
5
  "./components/ez-card-item/ez-card-item.js",
5
6
  "./components/ez-combo-box/ez-combo-box.js",
6
7
  "./components/ez-tabselector/ez-tabselector.js",
@@ -11,7 +12,6 @@
11
12
  "./components/ez-upload/ez-upload.js",
12
13
  "./components/ez-alert/ez-alert.js",
13
14
  "./components/ez-application/ez-application.js",
14
- "./components/ez-breadcrumb/ez-breadcrumb.js",
15
15
  "./components/ez-button/ez-button.js",
16
16
  "./components/ez-calendar/ez-calendar.js",
17
17
  "./components/ez-check/ez-check.js",
@@ -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
  }
@@ -0,0 +1,10 @@
1
+ import { IFormViewField } from './interfaces/IFormViewField';
2
+ export declare class EzFormView {
3
+ _element: HTMLEzFormViewElement;
4
+ /**
5
+ * Define a lista de metadados usada para criar os campos de user interface.
6
+ */
7
+ fields: Array<IFormViewField>;
8
+ private groupFields;
9
+ render(): any;
10
+ }
@@ -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
+ }
@@ -0,0 +1,32 @@
1
+ import { IGuideItem } from "./interfaces";
2
+ export declare class EzGuideNavigator {
3
+ _element: HTMLElement;
4
+ _tree: HTMLEzTreeElement;
5
+ /**
6
+ * Define se o menu de navegação está aberto.
7
+ */
8
+ open: boolean;
9
+ /**
10
+ * Lista de itens do menu de navegação.
11
+ */
12
+ items: Array<IGuideItem>;
13
+ /**
14
+ * Define uma função que vai resolver o `tooltip` ou `title` daquele item.
15
+ */
16
+ tooltipResolver: (item: IGuideItem, enabled: boolean, level: number) => string;
17
+ /**
18
+ * Valor do campo de pesquisa usado na filtragem de guias.
19
+ */
20
+ filterText: string;
21
+ /**
22
+ * Desabilita um ou mais itens.
23
+ */
24
+ disableItem(id: string | Array<string>): Promise<void>;
25
+ /**
26
+ * Habilita um ou mais itens.
27
+ */
28
+ enableItem(id: string | Array<string>): Promise<void>;
29
+ private handleToggleSidebar;
30
+ private handleFilterTree;
31
+ render(): any;
32
+ }
@@ -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.3",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",