@sankhyalabs/ezui 5.21.0-dev.3 → 5.21.0-dev.31
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.
- package/README.md +1 -1
- package/dist/cjs/ICustomRender-6fafffce.js +13 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js +6 -4
- package/dist/cjs/ez-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-chart.cjs.entry.js +433 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +1 -0
- package/dist/cjs/{ez-text-edit.cjs.entry.js → ez-custom-form-input_2.cjs.entry.js} +94 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +33 -3
- package/dist/cjs/ez-form.cjs.entry.js +77 -2
- package/dist/cjs/ez-grid.cjs.entry.js +360 -34
- package/dist/cjs/ez-list.cjs.entry.js +11 -3
- package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
- package/dist/cjs/ez-number-input.cjs.entry.js +37 -31
- package/dist/cjs/ez-search.cjs.entry.js +27 -5
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +34 -29
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js +6 -4
- package/dist/collection/components/ez-button/ez-button.css +7 -0
- package/dist/collection/components/ez-button/ez-button.js +1 -1
- package/dist/collection/components/ez-chart/components/BarChart.js +27 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js +27 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js +42 -0
- package/dist/collection/components/ez-chart/components/LineChart.js +27 -0
- package/dist/collection/components/ez-chart/components/PieChart.js +45 -0
- package/dist/collection/components/ez-chart/components/index.js +5 -0
- package/dist/collection/components/ez-chart/ez-chart.css +5 -0
- package/dist/collection/components/ez-chart/ez-chart.js +284 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js +14 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js +1 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js +8 -0
- package/dist/collection/components/ez-chart/interfaces/index.js +5 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js +137 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +146 -0
- package/dist/collection/components/ez-form/ez-form.js +130 -4
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +253 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js +89 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +3 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +62 -5
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +9 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +35 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +58 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js +40 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js +11 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js +11 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +6 -3
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js +40 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js +1 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +3 -2
- package/dist/collection/components/ez-grid/ez-grid.css +1 -0
- package/dist/collection/components/ez-grid/ez-grid.js +265 -13
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js +1 -0
- package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +3 -11
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js +22 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js +19 -0
- package/dist/collection/components/ez-list/ez-list.css +6 -2
- package/dist/collection/components/ez-list/ez-list.js +28 -2
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +4 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
- package/dist/collection/components/ez-number-input/ez-number-input.js +46 -31
- package/dist/collection/components/ez-search/ez-search.js +26 -5
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +1 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +34 -29
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js +5 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js +1 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js +5 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js +1 -0
- package/dist/collection/utils/form/DataBinder.js +26 -0
- package/dist/collection/utils/form/test/DataBinder.test.js +41 -4
- package/dist/collection/utils/form/test/resources/metadataTest.js +15 -0
- package/dist/collection/utils/index.js +2 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +1131 -122
- package/dist/esm/ICustomRender-875b5a40.js +13 -0
- package/dist/esm/ez-actions-button.entry.js +1 -0
- package/dist/esm/ez-alert-list.entry.js +6 -4
- package/dist/esm/ez-button.entry.js +2 -2
- package/dist/esm/ez-chart.entry.js +429 -0
- package/dist/esm/ez-collapsible-box.entry.js +1 -0
- package/dist/esm/ez-combo-box.entry.js +1 -0
- package/dist/esm/{ez-text-edit.entry.js → ez-custom-form-input_2.entry.js} +96 -3
- package/dist/esm/ez-form-view.entry.js +33 -3
- package/dist/esm/ez-form.entry.js +78 -3
- package/dist/esm/ez-grid.entry.js +360 -34
- package/dist/esm/ez-list.entry.js +11 -3
- package/dist/esm/ez-modal-container.entry.js +2 -2
- package/dist/esm/ez-number-input.entry.js +38 -32
- package/dist/esm/ez-search.entry.js +27 -5
- package/dist/esm/ez-split-item.entry.js +1 -0
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +34 -29
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/index-baa5e267.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-09de35a2.entry.js +1 -0
- package/dist/ezui/{p-af2ecb1b.entry.js → p-1285c902.entry.js} +1 -1
- package/dist/ezui/p-13d2fe2d.entry.js +1 -0
- package/dist/ezui/p-1a35324b.entry.js +1 -0
- package/dist/ezui/p-1ee2479b.entry.js +1 -0
- package/dist/ezui/p-2097d0cf.entry.js +1 -0
- package/dist/ezui/p-2dcb50d4.entry.js +1 -0
- package/dist/ezui/p-30775e7f.entry.js +1 -0
- package/dist/ezui/p-3b4eeeb6.entry.js +1 -0
- package/dist/ezui/p-3b56d2ef.entry.js +1 -0
- package/dist/ezui/p-42566f9e.entry.js +1 -0
- package/dist/ezui/p-4607fb89.js +1 -0
- package/dist/ezui/p-7922142b.entry.js +1 -0
- package/dist/ezui/p-84e439b9.entry.js +1 -0
- package/dist/ezui/p-922ac38b.entry.js +1 -0
- package/dist/ezui/{p-b44741b0.entry.js → p-97db197f.entry.js} +2 -2
- package/dist/ezui/p-bcb53f27.entry.js +1 -0
- package/dist/ezui/p-ffef392d.entry.js +1 -0
- package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +2 -2
- package/dist/types/components/ez-chart/components/BarChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/ColumnChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/DonutChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/LineChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/PieChart.d.ts +9 -0
- package/dist/types/components/ez-chart/components/index.d.ts +5 -0
- package/dist/types/components/ez-chart/ez-chart.d.ts +58 -0
- package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/ChartContext.d.ts +11 -0
- package/dist/types/components/ez-chart/interfaces/ChartOptions.d.ts +10 -0
- package/dist/types/components/ez-chart/interfaces/ChartSerie.d.ts +20 -0
- package/dist/types/components/ez-chart/interfaces/ChartStrategies.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/ChartType.d.ts +7 -0
- package/dist/types/components/ez-chart/interfaces/index.d.ts +5 -0
- package/dist/types/components/ez-chart/types/BaseHighChartsRender.d.ts +15 -0
- package/dist/types/components/ez-form/ez-form.d.ts +20 -1
- package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +43 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +42 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +15 -0
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +7 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +19 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +14 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +3 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +15 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellRender.d.ts +10 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +39 -1
- package/dist/types/components/ez-grid/interfaces/ICustomFormatter.d.ts +5 -0
- package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
- package/dist/types/components/ez-grid/subcomponents/utils/selectionCounterUtils.d.ts +4 -0
- package/dist/types/components/ez-grid/test/resources/gridDataUnit.d.ts +2 -0
- package/dist/types/components/ez-list/ez-list.d.ts +5 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +3 -0
- package/dist/types/components/ez-search/ez-search.d.ts +3 -1
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +3 -2
- package/dist/types/components.d.ts +231 -4
- package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +29 -0
- package/dist/types/utils/customEditor/interfaces/ICustomEditorInfo.d.ts +5 -0
- package/dist/types/utils/customRender/interfaces/ICustomRender.d.ts +29 -0
- package/dist/types/utils/customRender/interfaces/ICustomRenderInfo.d.ts +5 -0
- package/dist/types/utils/form/DataBinder.d.ts +3 -0
- package/dist/types/utils/form/test/resources/metadataTest.d.ts +2 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +2 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-0447d17c.entry.js +0 -1
- package/dist/ezui/p-20ec22c0.entry.js +0 -1
- package/dist/ezui/p-2a1a0e04.entry.js +0 -1
- package/dist/ezui/p-44c5b6a5.entry.js +0 -1
- package/dist/ezui/p-5ef056ce.entry.js +0 -1
- package/dist/ezui/p-637f69f2.entry.js +0 -1
- package/dist/ezui/p-8defa6d3.entry.js +0 -1
- package/dist/ezui/p-99ead599.entry.js +0 -1
- package/dist/ezui/p-9aefaa52.entry.js +0 -1
- package/dist/ezui/p-b041333c.entry.js +0 -1
- package/dist/ezui/p-b567fa8c.entry.js +0 -1
- package/dist/ezui/p-bae3d0aa.entry.js +0 -1
- package/dist/ezui/p-cc2dc4f4.entry.js +0 -1
- package/dist/ezui/p-db77a984.entry.js +0 -1
|
@@ -40,7 +40,7 @@ export declare class EzAlertList {
|
|
|
40
40
|
/**
|
|
41
41
|
* Retorna o link para o titulo do alerta a partir do id.
|
|
42
42
|
*/
|
|
43
|
-
private
|
|
43
|
+
private getLinkActionClick;
|
|
44
44
|
/**
|
|
45
45
|
* Retorna o texto do título do alerta.
|
|
46
46
|
*/
|
|
@@ -77,5 +77,5 @@ export declare class EzAlertList {
|
|
|
77
77
|
export interface AlertItem {
|
|
78
78
|
title: string;
|
|
79
79
|
detail?: string;
|
|
80
|
-
|
|
80
|
+
onClickLink?: (event: MouseEvent) => void;
|
|
81
81
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChartRenderingStrategy } from "../interfaces";
|
|
2
|
+
import { BaseHighChartsRender } from "../types/BaseHighChartsRender";
|
|
3
|
+
import { ChartOptions } from '../interfaces/ChartOptions';
|
|
4
|
+
export declare class BarChartStrategy extends BaseHighChartsRender implements IChartRenderingStrategy {
|
|
5
|
+
private chart;
|
|
6
|
+
private buildOptions;
|
|
7
|
+
render(container: any, series: any, xAxis: any, yAxis: any, options: ChartOptions): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChartRenderingStrategy } from "../interfaces";
|
|
2
|
+
import { BaseHighChartsRender } from "../types/BaseHighChartsRender";
|
|
3
|
+
import { ChartOptions } from '../interfaces/ChartOptions';
|
|
4
|
+
export declare class ColumnChartStrategy extends BaseHighChartsRender implements IChartRenderingStrategy {
|
|
5
|
+
private chart;
|
|
6
|
+
private buildOptions;
|
|
7
|
+
render(container: any, series: any, xAxis: any, yAxis: any, options: ChartOptions): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChartRenderingStrategy } from "../interfaces";
|
|
2
|
+
import { BaseHighChartsRender } from "../types/BaseHighChartsRender";
|
|
3
|
+
import { ChartOptions } from '../interfaces/ChartOptions';
|
|
4
|
+
export declare class DonutChartStrategy extends BaseHighChartsRender implements IChartRenderingStrategy {
|
|
5
|
+
private chart;
|
|
6
|
+
private buildOptions;
|
|
7
|
+
render(container: any, series: any, _xAxis: any, _yAxis: any, options: ChartOptions): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChartRenderingStrategy } from "../interfaces";
|
|
2
|
+
import { BaseHighChartsRender } from "../types/BaseHighChartsRender";
|
|
3
|
+
import { ChartOptions } from '../interfaces/ChartOptions';
|
|
4
|
+
export declare class LineChartStrategy extends BaseHighChartsRender implements IChartRenderingStrategy {
|
|
5
|
+
private chart;
|
|
6
|
+
private buildOptions;
|
|
7
|
+
render(container: any, series: any, xAxis: any, yAxis: any, options: ChartOptions): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChartRenderingStrategy } from "../interfaces";
|
|
2
|
+
import { BaseHighChartsRender } from "../types/BaseHighChartsRender";
|
|
3
|
+
import { ChartOptions } from '../interfaces/ChartOptions';
|
|
4
|
+
export declare class PieChartStrategy extends BaseHighChartsRender implements IChartRenderingStrategy {
|
|
5
|
+
private chart;
|
|
6
|
+
private buildOptions;
|
|
7
|
+
render(container: any, series: any, _xAxis: any, _yAxis: any, options: ChartOptions): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ChartAxis, ChartType } from './interfaces';
|
|
3
|
+
import { ChartSerie, SerieClickEvent } from './interfaces/ChartSerie';
|
|
4
|
+
export declare class EzChart {
|
|
5
|
+
private _container;
|
|
6
|
+
/**
|
|
7
|
+
* Define o tipo de gráfico apresentado pelo componente
|
|
8
|
+
*/
|
|
9
|
+
type: ChartType;
|
|
10
|
+
/**
|
|
11
|
+
* Definições do eixo X do gráfico
|
|
12
|
+
*/
|
|
13
|
+
xAxis: ChartAxis | Array<ChartAxis>;
|
|
14
|
+
/**
|
|
15
|
+
* Definições do eixo Y do gráfico
|
|
16
|
+
*/
|
|
17
|
+
yAxis: ChartAxis | Array<ChartAxis>;
|
|
18
|
+
/**
|
|
19
|
+
* Define o titulo a ser apresentado no gráfico
|
|
20
|
+
*/
|
|
21
|
+
chartTitle: string;
|
|
22
|
+
/**
|
|
23
|
+
* Define o sub titulo a ser apresentado no gráfico
|
|
24
|
+
*/
|
|
25
|
+
chartSubTitle: string;
|
|
26
|
+
/**
|
|
27
|
+
* Define se a legenda do gráfico deve ser apresentada ou não.
|
|
28
|
+
*/
|
|
29
|
+
legendEnabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Define as series a serem apresentadas no gráfico
|
|
32
|
+
*/
|
|
33
|
+
series: ChartSerie | Array<ChartSerie>;
|
|
34
|
+
/**
|
|
35
|
+
* Define uma largura do gráfico
|
|
36
|
+
*/
|
|
37
|
+
width: number;
|
|
38
|
+
/**
|
|
39
|
+
* Define a altura do gráfico
|
|
40
|
+
*/
|
|
41
|
+
height: number;
|
|
42
|
+
/**
|
|
43
|
+
* Evento emitido quando ocorre um click em uma serie do gráfico
|
|
44
|
+
*/
|
|
45
|
+
ezSerieClick: EventEmitter<SerieClickEvent>;
|
|
46
|
+
private chartContext;
|
|
47
|
+
private readonly STRATEGY_BY_CHART_TYPE;
|
|
48
|
+
constructor();
|
|
49
|
+
private initializeStrategies;
|
|
50
|
+
private renderChart;
|
|
51
|
+
componentWillLoad(): void;
|
|
52
|
+
componentWillUpdate(): void;
|
|
53
|
+
componentDidLoad(): void;
|
|
54
|
+
disconnectedCallback(): void;
|
|
55
|
+
handleTypeChange(): void;
|
|
56
|
+
private setChartStrategy;
|
|
57
|
+
render(): any;
|
|
58
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChartAxis } from "./ChartAxis";
|
|
2
|
+
import { ChartOptions } from "./ChartOptions";
|
|
3
|
+
import { ChartSerie } from "./ChartSerie";
|
|
4
|
+
import { IChartRenderingStrategy } from "./ChartStrategies";
|
|
5
|
+
export declare class ChartContext {
|
|
6
|
+
private strategy;
|
|
7
|
+
constructor(strategy: IChartRenderingStrategy);
|
|
8
|
+
setStrategy(strategy: IChartRenderingStrategy): void;
|
|
9
|
+
render(container: HTMLElement, series: ChartSerie | Array<ChartSerie>, xAxis?: ChartAxis | Array<ChartAxis>, yAxis?: ChartAxis | Array<ChartAxis>, options?: ChartOptions): void;
|
|
10
|
+
destroy(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { SerieClickEvent } from "./ChartSerie";
|
|
3
|
+
export type ChartOptions = {
|
|
4
|
+
title?: string;
|
|
5
|
+
subTitle?: string;
|
|
6
|
+
legendEnabled?: boolean;
|
|
7
|
+
onClickSerie?: EventEmitter<SerieClickEvent>;
|
|
8
|
+
height?: number;
|
|
9
|
+
width?: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type ChartSerie = {
|
|
2
|
+
data: Array<number | ChartSerieData>;
|
|
3
|
+
name?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
type?: 'column' | 'line' | 'bar';
|
|
6
|
+
yAxis?: number;
|
|
7
|
+
toolTipFormatter?: (serieName: string, xAxis: string | number, yAxis: number, dataName: string, percentage: number) => string;
|
|
8
|
+
showDataLabel?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type ChartSerieData = {
|
|
11
|
+
name: string;
|
|
12
|
+
y: number;
|
|
13
|
+
color?: string;
|
|
14
|
+
};
|
|
15
|
+
export type SerieClickEvent = {
|
|
16
|
+
name: string;
|
|
17
|
+
data: Array<number>;
|
|
18
|
+
type: string;
|
|
19
|
+
yAxis: number;
|
|
20
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChartAxis } from "./ChartAxis";
|
|
2
|
+
import { ChartOptions } from "./ChartOptions";
|
|
3
|
+
import { ChartSerie } from "./ChartSerie";
|
|
4
|
+
export interface IChartRenderingStrategy {
|
|
5
|
+
render(container: HTMLElement, series: ChartSerie | Array<ChartSerie>, xAxis?: ChartAxis | Array<ChartAxis>, yAxis?: ChartAxis | Array<ChartAxis>, options?: ChartOptions): void;
|
|
6
|
+
destroy(): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { Options, PointClickCallbackFunction, ResponsiveOptions, SeriesOptionsType, SubtitleOptions, TitleOptions, TooltipOptions, XAxisOptions, YAxisOptions } from "highcharts";
|
|
3
|
+
import { ChartAxis, ChartSerie } from "../interfaces";
|
|
4
|
+
export declare class BaseHighChartsRender {
|
|
5
|
+
parseSerie(series: ChartSerie | Array<ChartSerie>): Array<SeriesOptionsType>;
|
|
6
|
+
parseAxis(axis: ChartAxis | Array<ChartAxis>): YAxisOptions | XAxisOptions | Array<YAxisOptions | XAxisOptions>;
|
|
7
|
+
parseTitle(title: string): TitleOptions;
|
|
8
|
+
parseSubTitle(subTtile: string): SubtitleOptions;
|
|
9
|
+
buildFormatterTooltip(series: ChartSerie | Array<ChartSerie>): TooltipOptions;
|
|
10
|
+
buildOnClickCallBack(evt: EventEmitter): PointClickCallbackFunction;
|
|
11
|
+
buildResposiveConfig(): ResponsiveOptions;
|
|
12
|
+
buildDefaultChartOptions(): Options;
|
|
13
|
+
private chartSerieToSeriesOptions;
|
|
14
|
+
private chartAxisToAxisOptions;
|
|
15
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { DataUnit } from "@sankhyalabs/core";
|
|
2
2
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { ICustomEditor } from "../../utils/customEditor/interfaces/ICustomEditor";
|
|
4
4
|
import { IFieldConfig, IFormConfig, IRecordValidator } from '../../utils/form/interfaces';
|
|
5
5
|
import { FormItems } from "../ez-form-view/structure";
|
|
6
|
+
import { Tab } from "../ez-tabselector/ez-tabselector";
|
|
6
7
|
export declare class EzForm {
|
|
7
8
|
private _element;
|
|
9
|
+
private _formView;
|
|
8
10
|
private _store;
|
|
9
11
|
private _staticFields;
|
|
10
12
|
private _dataBinder;
|
|
13
|
+
private _customEditors;
|
|
14
|
+
private _fieldsProps;
|
|
11
15
|
/**
|
|
12
16
|
* Unidade de dados. Responsável pelo controle de edição de registros e
|
|
13
17
|
* informações pertinentes aos campos.
|
|
@@ -25,6 +29,10 @@ export declare class EzForm {
|
|
|
25
29
|
* Determina o campo que deve ficar em evidência.
|
|
26
30
|
*/
|
|
27
31
|
fieldToFocus: string;
|
|
32
|
+
/**
|
|
33
|
+
* Define se os campos que serão apresentados são todos estáticos. Quando verdadeira, ocorrerá no DataBinder o bind dos campos com o DataUnit.
|
|
34
|
+
*/
|
|
35
|
+
onlyStaticFields: boolean;
|
|
28
36
|
/**
|
|
29
37
|
* Emitido quando o campo recebe foco
|
|
30
38
|
*/
|
|
@@ -45,15 +53,26 @@ export declare class EzForm {
|
|
|
45
53
|
* Realiza validação no conteúdo de todos os campos.
|
|
46
54
|
*/
|
|
47
55
|
validate(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Registra um editor customizado para campos da grade e formulário.
|
|
58
|
+
*/
|
|
59
|
+
addCustomEditor(fieldName: string, customEditor: ICustomEditor, detailContext?: string): Promise<void>;
|
|
48
60
|
observeConfig(): void;
|
|
61
|
+
/**
|
|
62
|
+
* Altera/adiciona uma propriedade nos metadados do campo.
|
|
63
|
+
*/
|
|
64
|
+
setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
|
|
49
65
|
private getDynamicContent;
|
|
50
66
|
private buildFormContent;
|
|
51
67
|
private processMetadata;
|
|
52
68
|
private isStatic;
|
|
69
|
+
private bindFields;
|
|
53
70
|
componentWillLoad(): void;
|
|
54
71
|
onDataUnitAction: (action: any) => void;
|
|
55
72
|
componentDidRender(): void;
|
|
73
|
+
private setCustomEditors;
|
|
56
74
|
private handleFieldToFocus;
|
|
75
|
+
private setFieldsProps;
|
|
57
76
|
disconnectedCallback(): void;
|
|
58
77
|
buildIdTabSelector(tabs: Array<Tab>): Array<Tab>;
|
|
59
78
|
render(): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ICustomEditor } from '../../../utils/customEditor/interfaces/ICustomEditor';
|
|
2
|
+
import { IFormViewField } from '../interfaces';
|
|
3
|
+
export declare class EzCustomFormInput {
|
|
4
|
+
gui: HTMLElement;
|
|
5
|
+
/**
|
|
6
|
+
* Instância do editor customizado.
|
|
7
|
+
*/
|
|
8
|
+
customEditor: ICustomEditor;
|
|
9
|
+
/**
|
|
10
|
+
* Campo que o elemento customizado representa.
|
|
11
|
+
*/
|
|
12
|
+
formViewField: IFormViewField;
|
|
13
|
+
/**
|
|
14
|
+
* Valores dos campos do formulário.
|
|
15
|
+
*/
|
|
16
|
+
value: any;
|
|
17
|
+
/**
|
|
18
|
+
* Define de qual contexto o editor está sendo acionado.
|
|
19
|
+
*/
|
|
20
|
+
detailContext: string;
|
|
21
|
+
/**
|
|
22
|
+
* Builder original do FormView que será chamado caso o custom não retorne nenhum valor.
|
|
23
|
+
*/
|
|
24
|
+
builderFallback: (field: IFormViewField) => HTMLElement;
|
|
25
|
+
/**
|
|
26
|
+
* Aplica foco no campo.
|
|
27
|
+
*/
|
|
28
|
+
setFocus(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Remove o foco do campo.
|
|
31
|
+
*/
|
|
32
|
+
setBlur(): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Retorna se o conteúdo é inválido.
|
|
35
|
+
*/
|
|
36
|
+
isInvalid(): Promise<boolean>;
|
|
37
|
+
private getContent;
|
|
38
|
+
private setValue;
|
|
39
|
+
private getValue;
|
|
40
|
+
private handleValue;
|
|
41
|
+
componentWillRender(): void;
|
|
42
|
+
render(): any;
|
|
43
|
+
}
|
|
@@ -2,7 +2,10 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { IFormViewField } from './interfaces/IFormViewField';
|
|
3
3
|
import { UserInterface } from '@sankhyalabs/core';
|
|
4
4
|
import { FormItems } from './structure';
|
|
5
|
+
import { ICustomEditor } from '../../utils/customEditor/interfaces/ICustomEditor';
|
|
5
6
|
export declare class EzFormView {
|
|
7
|
+
private _formElements;
|
|
8
|
+
private _customEditors;
|
|
6
9
|
_element: HTMLEzFormViewElement;
|
|
7
10
|
/**
|
|
8
11
|
* Evento emitido quando o componente foi totalmente carregado na DOM.
|
|
@@ -17,6 +20,14 @@ export declare class EzFormView {
|
|
|
17
20
|
*/
|
|
18
21
|
fields: Array<IFormViewField>;
|
|
19
22
|
showUp(): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Registra um editor customizado para campos da grade e formulário.
|
|
25
|
+
*/
|
|
26
|
+
addCustomEditor(fieldName: string, customEditor: ICustomEditor, detailContext?: string): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Altera/adiciona uma propriedade nos metados do campo.
|
|
29
|
+
*/
|
|
30
|
+
setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
|
|
20
31
|
private groupFields;
|
|
21
32
|
componentDidRender(): void;
|
|
22
33
|
isItemFullWidth(userInterface: UserInterface): boolean;
|
|
@@ -2,6 +2,9 @@ import { DataUnit, Filter } from '@sankhyalabs/core';
|
|
|
2
2
|
import { Components } from '../../../components';
|
|
3
3
|
import FilterCollumn = Components.FilterColumn;
|
|
4
4
|
import { IRecordValidator } from '../../../utils/form/interfaces';
|
|
5
|
+
import { ICustomEditorInfo } from '../../../utils/customEditor/interfaces/ICustomEditorInfo';
|
|
6
|
+
import { ICustomRenderInfo } from '../../../utils/customRender/interfaces/ICustomRenderInfo';
|
|
7
|
+
import { ICustomFormatter } from '../interfaces';
|
|
5
8
|
/**
|
|
6
9
|
* O intuito desta abstração, é isolar o componente EzGrid de uma implementação
|
|
7
10
|
* específica, permitindo que usemos componentes de terceiros sem um acoplamento
|
|
@@ -87,6 +90,10 @@ export default interface EzGridController {
|
|
|
87
90
|
* Método responsável por atualizar as linhas da grade
|
|
88
91
|
*/
|
|
89
92
|
refresh(): void;
|
|
93
|
+
/**
|
|
94
|
+
* Método responsável por atualizar as linhas selecionadas da grade
|
|
95
|
+
*/
|
|
96
|
+
refreshSelectedRows(): void;
|
|
90
97
|
/**
|
|
91
98
|
* Adiciona um filtro rápido na grid e faz o refresh.
|
|
92
99
|
*/
|
|
@@ -99,6 +106,10 @@ export default interface EzGridController {
|
|
|
99
106
|
* Foca a primeira linha da grade, usado durante a troca de página
|
|
100
107
|
*/
|
|
101
108
|
setFocusFirstRow(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Define se a grade será focada automaticamente.
|
|
111
|
+
*/
|
|
112
|
+
setAutoFocus(autoFocus: boolean): void;
|
|
102
113
|
/**
|
|
103
114
|
* Método responsável por retornar a configuração da grade.
|
|
104
115
|
*/
|
|
@@ -110,6 +121,17 @@ export default interface EzGridController {
|
|
|
110
121
|
configFilterColumn(filterColumn: FilterCollumn): any;
|
|
111
122
|
getFilter(): Array<Filter> | undefined;
|
|
112
123
|
clearFilter(): void;
|
|
124
|
+
/**
|
|
125
|
+
* Registra editores customizados no controller da grid.
|
|
126
|
+
*/
|
|
127
|
+
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
128
|
+
/**
|
|
129
|
+
* Registra renders customizados no controller da grid.
|
|
130
|
+
*/
|
|
131
|
+
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
132
|
+
clearFilter(): void;
|
|
133
|
+
setCustomFormatters(customFormatters: Map<string, ICustomFormatter>): void;
|
|
134
|
+
setFocus(): void;
|
|
113
135
|
}
|
|
114
136
|
/**
|
|
115
137
|
* Carrega as informações necessárias para contextualizar corretamente a instância.
|
|
@@ -135,6 +157,10 @@ export interface EzGridOptions {
|
|
|
135
157
|
* Callback para reagir ao clique duplo na linha
|
|
136
158
|
*/
|
|
137
159
|
onDoubleClick: Function;
|
|
160
|
+
/**
|
|
161
|
+
* Callback para reagir ao refresh do controller
|
|
162
|
+
*/
|
|
163
|
+
onRefresh: Function;
|
|
138
164
|
/**
|
|
139
165
|
* Usado para permitir múltipla seleção.
|
|
140
166
|
*/
|
|
@@ -164,6 +190,22 @@ export interface EzGridOptions {
|
|
|
164
190
|
* Desabilita edição na grade independente da configuração de coluna.
|
|
165
191
|
*/
|
|
166
192
|
editionIsDisabled?: () => boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Registra editores customizados no controller da grid
|
|
195
|
+
*/
|
|
196
|
+
customEditors?: Map<string, ICustomEditorInfo>;
|
|
197
|
+
/**
|
|
198
|
+
* Registra renders customizados no controller da grid
|
|
199
|
+
*/
|
|
200
|
+
customRenders?: Map<string, ICustomRenderInfo>;
|
|
201
|
+
/**
|
|
202
|
+
* Mapa de formatadores customizados por coluna.
|
|
203
|
+
*/
|
|
204
|
+
customFormatters: Map<string, ICustomFormatter>;
|
|
205
|
+
/**
|
|
206
|
+
* Define se a grid será focada ao ser carregada.
|
|
207
|
+
*/
|
|
208
|
+
autoFocus: boolean;
|
|
167
209
|
}
|
|
168
210
|
/**
|
|
169
211
|
* Representa cada coluna da grade.
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Sort, SortingProvider } from '@sankhyalabs/core';
|
|
2
2
|
import { Filter, FilterProvider } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
3
3
|
import EzGridController, { EzGridColumn, EzGridColumnConfig, EzGridColumnMenuItemDef, EzGridOptions } from '../EzGridController';
|
|
4
|
+
import { ICustomEditorInfo } from '../../../../utils/customEditor/interfaces/ICustomEditorInfo';
|
|
5
|
+
import { ICustomRenderInfo } from '../../../../utils/customRender/interfaces/ICustomRenderInfo';
|
|
6
|
+
import { ICustomFormatter } from '../../interfaces';
|
|
4
7
|
export default class AgGridController implements EzGridController, SortingProvider, FilterProvider {
|
|
5
8
|
private readonly DEFAULT_ROW_HEIGHT;
|
|
6
9
|
private readonly DEFAULT_HEADER_ROW_HEIGHT;
|
|
@@ -30,6 +33,11 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
30
33
|
private _filterColumn;
|
|
31
34
|
private _filterColumnleftPosition;
|
|
32
35
|
private _editionManager;
|
|
36
|
+
private _customEditors;
|
|
37
|
+
private _customRenders;
|
|
38
|
+
private _customFormatters;
|
|
39
|
+
private _container;
|
|
40
|
+
private _options;
|
|
33
41
|
configFilterColumn(filterColumn: HTMLFilterColumnElement): void;
|
|
34
42
|
private handleFilteredColumnsChanged;
|
|
35
43
|
clearFilter(): void;
|
|
@@ -64,6 +72,9 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
64
72
|
removeRows(): void;
|
|
65
73
|
changeValues(changes: any, rowIds?: Array<string>): void;
|
|
66
74
|
refresh(): void;
|
|
75
|
+
private focusOnGridContainer;
|
|
76
|
+
setFocus(): void;
|
|
77
|
+
setAutoFocus(autoFocus: boolean): void;
|
|
67
78
|
setFocusFirstRow(): void;
|
|
68
79
|
setFocusLastRow(): void;
|
|
69
80
|
private setFocusOnRow;
|
|
@@ -77,6 +88,8 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
77
88
|
setSelectedIndex(index: number): void;
|
|
78
89
|
hasFilterColumn(columnName: string): boolean;
|
|
79
90
|
private buildColDef;
|
|
91
|
+
setCustomFormatters(customFormatters: Map<string, ICustomFormatter>): void;
|
|
92
|
+
refreshSelectedRows(): void;
|
|
80
93
|
private getInitCellStyle;
|
|
81
94
|
private getStyleByColumn;
|
|
82
95
|
private getFormatterByColumn;
|
|
@@ -88,4 +101,6 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
88
101
|
private onRowDoubleClick;
|
|
89
102
|
private conditionalSet;
|
|
90
103
|
private getColumnWidth;
|
|
104
|
+
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
105
|
+
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
91
106
|
}
|
|
@@ -11,9 +11,11 @@ export default class DataSource implements IServerSideDatasource {
|
|
|
11
11
|
readonly RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
|
|
12
12
|
private duObserver;
|
|
13
13
|
private updateLoadedRecords;
|
|
14
|
+
private handleFocusFirstRow;
|
|
14
15
|
private isSilentChange;
|
|
15
16
|
constructor(dataUnit: DataUnit, controller: EzGridController, options: EzGridOptions);
|
|
16
17
|
private updateSelection;
|
|
18
|
+
setAutoFocus(autoFocus: boolean): void;
|
|
17
19
|
getRows(params: IServerSideGetRowsParams): void;
|
|
18
20
|
needReload(currentLoading: IServerSideGetRowsParams): boolean;
|
|
19
21
|
private callbackGetRows;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { DataUnit } from "@sankhyalabs/core";
|
|
2
2
|
import { CellPosition, ColDef, GridApi, GridOptions } from "ag-grid-community";
|
|
3
3
|
import { IRecordValidator } from "../../../../utils/form/interfaces";
|
|
4
|
+
import { ICustomEditorInfo } from "../../../../utils/customEditor/interfaces/ICustomEditorInfo";
|
|
5
|
+
import { ICustomRenderInfo } from "../../../../utils/customRender/interfaces/ICustomRenderInfo";
|
|
4
6
|
export default class GridEditionManager {
|
|
5
7
|
private _dataUnit;
|
|
6
8
|
private _lastCellClicked;
|
|
@@ -11,7 +13,9 @@ export default class GridEditionManager {
|
|
|
11
13
|
private _useEnterLikeTab;
|
|
12
14
|
private _editionIsDisabled;
|
|
13
15
|
private _isGridEdition;
|
|
14
|
-
|
|
16
|
+
private _customEditors;
|
|
17
|
+
private _customRenders;
|
|
18
|
+
constructor(dataUnit: DataUnit, useEnterLikeTab: boolean, recordsValidator: IRecordValidator, editionIsDisabled: () => boolean, customEditors?: Map<string, ICustomEditorInfo>, customRenders?: Map<string, ICustomRenderInfo>);
|
|
15
19
|
configureGrid(options: GridOptions): GridOptions;
|
|
16
20
|
proceedAutoSave(): void;
|
|
17
21
|
navigateByEnterKey(keyboardEvent: KeyboardEvent): void;
|
|
@@ -35,4 +39,6 @@ export default class GridEditionManager {
|
|
|
35
39
|
private isColEditable;
|
|
36
40
|
private isSecondClick;
|
|
37
41
|
private onCellEditRequest;
|
|
42
|
+
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
43
|
+
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
38
44
|
}
|
package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ICellEditorParams } from "ag-grid-community";
|
|
2
|
+
import { ICustomEditorInfo } from "../../../../../utils/customEditor/interfaces/ICustomEditorInfo";
|
|
3
|
+
import EzCellEditor from "../editor/EzCellEditor";
|
|
4
|
+
interface CustomParamsEditor {
|
|
5
|
+
customEditorsInfo: ICustomEditorInfo;
|
|
6
|
+
}
|
|
7
|
+
export default class EzGridCustomCellEditor extends EzCellEditor {
|
|
8
|
+
private _fieldName;
|
|
9
|
+
private _customEditorInstance;
|
|
10
|
+
private _params;
|
|
11
|
+
private _defaultGui;
|
|
12
|
+
private _value;
|
|
13
|
+
init(params: ICellEditorParams & CustomParamsEditor): void;
|
|
14
|
+
private getDefaultGui;
|
|
15
|
+
getGui(): HTMLElement;
|
|
16
|
+
private setValue;
|
|
17
|
+
getValue(): any;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICellRendererParams } from "ag-grid-community";
|
|
2
|
+
import EzCellRender from "../editor/EzCellRender";
|
|
3
|
+
import { ICustomRenderInfo } from "../../../../../utils/customRender/interfaces/ICustomRenderInfo";
|
|
4
|
+
interface CustomParamsRender {
|
|
5
|
+
customRendersInfo: ICustomRenderInfo;
|
|
6
|
+
}
|
|
7
|
+
export default class EzGridCustomCellRender extends EzCellRender {
|
|
8
|
+
private _fieldName;
|
|
9
|
+
private _customRenderInstance;
|
|
10
|
+
private _params;
|
|
11
|
+
init(params: ICellRendererParams & CustomParamsRender): void;
|
|
12
|
+
getGui(): HTMLElement;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { ICellEditorComp, ICellEditorParams } from "ag-grid-community";
|
|
2
|
+
import { IEditorMetadata } from "./IEditorMetadata";
|
|
2
3
|
export default class EzCellEditor implements ICellEditorComp {
|
|
3
4
|
private _gui;
|
|
5
|
+
private _fieldMetadata;
|
|
4
6
|
init(params: ICellEditorParams): void;
|
|
5
7
|
getGui(): HTMLElement;
|
|
6
8
|
afterGuiAttached(): void;
|
|
7
9
|
focusIn(): void;
|
|
8
10
|
getValue(): any;
|
|
9
11
|
isPopup(): boolean;
|
|
12
|
+
getFieldMetadata(): IEditorMetadata;
|
|
10
13
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICellRendererComp, ICellRendererParams } from "ag-grid-community";
|
|
2
|
+
import { IEditorMetadata } from "./IEditorMetadata";
|
|
3
|
+
export default class EzCellRender implements ICellRendererComp {
|
|
4
|
+
private _gui;
|
|
5
|
+
private _fieldMetadata;
|
|
6
|
+
private _currentParams;
|
|
7
|
+
init(params: ICellRendererParams): void;
|
|
8
|
+
refresh(): boolean;
|
|
9
|
+
getGui(): HTMLElement;
|
|
10
|
+
afterGuiAttached(): void;
|
|
11
|
+
focusIn(): void;
|
|
12
|
+
getValue(): any;
|
|
13
|
+
isPopup(): boolean;
|
|
14
|
+
getFieldMetadata(): IEditorMetadata;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IUICellRender extends HTMLElement {
|
|
2
|
+
setFocus: (options: IFocusOptions) => void;
|
|
3
|
+
value: any;
|
|
4
|
+
valueSetter?: (value: any) => void;
|
|
5
|
+
valueGetter?: () => any;
|
|
6
|
+
isPopUp?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IFocusOptions {
|
|
9
|
+
selectText: boolean;
|
|
10
|
+
}
|