@sankhyalabs/ezui 5.21.2 → 5.22.0-dev.1
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/dist/cjs/ICustomRender-6fafffce.js +13 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -0
- 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} +99 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +34 -3
- package/dist/cjs/ez-form.cjs.entry.js +77 -2
- package/dist/cjs/ez-grid.cjs.entry.js +313 -39
- package/dist/cjs/ez-list.cjs.entry.js +10 -2
- package/dist/cjs/ez-number-input.cjs.entry.js +37 -31
- package/dist/cjs/ez-scroller_2.cjs.entry.js +222 -0
- package/dist/cjs/ez-search.cjs.entry.js +39 -32
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +92 -0
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -0
- package/dist/cjs/{ez-scroller_3.cjs.entry.js → ez-tree.cjs.entry.js} +0 -215
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +16 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- 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 +278 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js +110 -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 +51 -22
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +6 -1
- 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 +59 -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 +10 -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/controller/ag-grid/test/constants/GridEditionMock.js +40 -0
- package/dist/collection/components/ez-grid/ez-grid.js +237 -12
- 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/test/resources/gridDataUnit.js +19 -0
- package/dist/collection/components/ez-list/ez-list.js +28 -2
- package/dist/collection/components/ez-number-input/ez-number-input.js +46 -31
- package/dist/collection/components/ez-search/ez-search.js +38 -32
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +6 -2
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +180 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +293 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js +5 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js +6 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js +6 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js +3 -0
- package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +5 -0
- 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 +18 -0
- package/dist/custom-elements/index.js +1145 -117
- package/dist/esm/ICustomRender-875b5a40.js +13 -0
- package/dist/esm/ez-actions-button.entry.js +1 -0
- 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} +101 -3
- package/dist/esm/ez-form-view.entry.js +34 -3
- package/dist/esm/ez-form.entry.js +78 -3
- package/dist/esm/ez-grid.entry.js +313 -39
- package/dist/esm/ez-list.entry.js +10 -2
- package/dist/esm/ez-number-input.entry.js +38 -32
- package/dist/esm/ez-scroller_2.entry.js +217 -0
- package/dist/esm/ez-search.entry.js +39 -32
- package/dist/esm/ez-sidebar-navigator.entry.js +88 -0
- package/dist/esm/ez-split-item.entry.js +1 -0
- package/dist/esm/{ez-scroller_3.entry.js → ez-tree.entry.js} +3 -216
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/index-baa5e267.js +16 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-12ae1104.entry.js +1 -0
- package/dist/ezui/p-2097d0cf.entry.js +1 -0
- package/dist/ezui/p-3b4eeeb6.entry.js +1 -0
- package/dist/ezui/p-4607fb89.js +1 -0
- package/dist/ezui/p-4d5235f1.entry.js +1 -0
- package/dist/ezui/p-5056284a.entry.js +1 -0
- package/dist/ezui/p-7922142b.entry.js +1 -0
- package/dist/ezui/{p-fbee26ec.entry.js → p-816cece6.entry.js} +2 -2
- package/dist/ezui/p-84e439b9.entry.js +1 -0
- package/dist/ezui/p-8888d9ed.entry.js +1 -0
- package/dist/ezui/p-922ac38b.entry.js +1 -0
- package/dist/ezui/p-9ab22a07.entry.js +1 -0
- package/dist/ezui/p-a31b9c90.entry.js +1 -0
- package/dist/ezui/p-bcb53f27.entry.js +1 -0
- package/dist/ezui/p-ecc2c1ec.entry.js +1 -0
- package/dist/ezui/p-ffef392d.entry.js +1 -0
- 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 +48 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +16 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +37 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +13 -4
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -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 +6 -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/controller/ag-grid/test/constants/GridEditionMock.d.ts +6 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +35 -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/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 +4 -2
- package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +57 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.d.ts +4 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.d.ts +5 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.d.ts +5 -0
- package/dist/types/components/ez-sidebar-navigator/interfaces/index.d.ts +3 -0
- package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +5 -0
- package/dist/types/components.d.ts +334 -5
- package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +31 -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 +3 -0
- package/react/components.js +3 -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-637f69f2.entry.js +0 -1
- package/dist/ezui/p-786559c5.entry.js +0 -1
- package/dist/ezui/p-7c770f14.entry.js +0 -1
- package/dist/ezui/p-91f626d3.entry.js +0 -1
- package/dist/ezui/p-99ead599.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-db77a984.entry.js +0 -1
|
@@ -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,48 @@
|
|
|
1
|
+
import { ICustomEditor } from '../../../utils/customEditor/interfaces/ICustomEditor';
|
|
2
|
+
import { IFormViewField } from '../interfaces';
|
|
3
|
+
import { Record } from '@sankhyalabs/core';
|
|
4
|
+
export declare class EzCustomFormInput {
|
|
5
|
+
gui: HTMLElement;
|
|
6
|
+
/**
|
|
7
|
+
* Instância do editor customizado.
|
|
8
|
+
*/
|
|
9
|
+
customEditor: ICustomEditor;
|
|
10
|
+
/**
|
|
11
|
+
* Campo que o elemento customizado representa.
|
|
12
|
+
*/
|
|
13
|
+
formViewField: IFormViewField;
|
|
14
|
+
/**
|
|
15
|
+
* Valores dos campos do formulário.
|
|
16
|
+
*/
|
|
17
|
+
value: any;
|
|
18
|
+
/**
|
|
19
|
+
* Define de qual contexto o editor está sendo acionado.
|
|
20
|
+
*/
|
|
21
|
+
detailContext: string;
|
|
22
|
+
/**
|
|
23
|
+
* Builder original do FormView que será chamado caso o custom não retorne nenhum valor.
|
|
24
|
+
*/
|
|
25
|
+
builderFallback: (field: IFormViewField) => HTMLElement;
|
|
26
|
+
/**
|
|
27
|
+
* Define os registros da linha selecionada.
|
|
28
|
+
*/
|
|
29
|
+
selectedRecord: Record;
|
|
30
|
+
/**
|
|
31
|
+
* Aplica foco no campo.
|
|
32
|
+
*/
|
|
33
|
+
setFocus(): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Remove o foco do campo.
|
|
36
|
+
*/
|
|
37
|
+
setBlur(): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Retorna se o conteúdo é inválido.
|
|
40
|
+
*/
|
|
41
|
+
isInvalid(): Promise<boolean>;
|
|
42
|
+
private getContent;
|
|
43
|
+
private setValue;
|
|
44
|
+
private getValue;
|
|
45
|
+
private handleValue;
|
|
46
|
+
componentWillRender(): void;
|
|
47
|
+
render(): any;
|
|
48
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { IFormViewField } from './interfaces/IFormViewField';
|
|
3
|
-
import { UserInterface } from '@sankhyalabs/core';
|
|
3
|
+
import { Record, 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.
|
|
@@ -16,7 +19,19 @@ export declare class EzFormView {
|
|
|
16
19
|
* Define a lista de metadados usada para criar os campos de user interface.
|
|
17
20
|
*/
|
|
18
21
|
fields: Array<IFormViewField>;
|
|
22
|
+
/**
|
|
23
|
+
* Define os registros da linha selecionada.
|
|
24
|
+
*/
|
|
25
|
+
selectedRecord: Record;
|
|
19
26
|
showUp(): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Registra um editor customizado para campos da grade e formulário.
|
|
29
|
+
*/
|
|
30
|
+
addCustomEditor(fieldName: string, customEditor: ICustomEditor, detailContext?: string): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Altera/adiciona uma propriedade nos metados do campo.
|
|
33
|
+
*/
|
|
34
|
+
setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
|
|
20
35
|
private groupFields;
|
|
21
36
|
componentDidRender(): void;
|
|
22
37
|
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,16 @@ 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;
|
|
113
134
|
setFocus(): void;
|
|
114
135
|
}
|
|
115
136
|
/**
|
|
@@ -169,6 +190,22 @@ export interface EzGridOptions {
|
|
|
169
190
|
* Desabilita edição na grade independente da configuração de coluna.
|
|
170
191
|
*/
|
|
171
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;
|
|
172
209
|
}
|
|
173
210
|
/**
|
|
174
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;
|
|
@@ -8,9 +11,7 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
8
11
|
private readonly STATUS_COL_ID;
|
|
9
12
|
private readonly RECORD_ARCHIVE_COL_ID;
|
|
10
13
|
private readonly BLOCK_LOAD_DEBOUNCE;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly DEFAULT_ICON_SIZE;
|
|
13
|
-
private readonly DEFAULT_MAX_SIZE;
|
|
14
|
+
private readonly DOC_WIDTH;
|
|
14
15
|
private _grid;
|
|
15
16
|
private _gridOptions;
|
|
16
17
|
private _columnStateChangeCallback;
|
|
@@ -30,6 +31,9 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
30
31
|
private _filterColumn;
|
|
31
32
|
private _filterColumnleftPosition;
|
|
32
33
|
private _editionManager;
|
|
34
|
+
private _customEditors;
|
|
35
|
+
private _customRenders;
|
|
36
|
+
private _customFormatters;
|
|
33
37
|
private _container;
|
|
34
38
|
private _options;
|
|
35
39
|
configFilterColumn(filterColumn: HTMLFilterColumnElement): void;
|
|
@@ -68,12 +72,14 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
68
72
|
refresh(): void;
|
|
69
73
|
private focusOnGridContainer;
|
|
70
74
|
setFocus(): void;
|
|
75
|
+
setAutoFocus(autoFocus: boolean): void;
|
|
71
76
|
setFocusFirstRow(): void;
|
|
72
77
|
setFocusLastRow(): void;
|
|
73
78
|
private setFocusOnRow;
|
|
74
79
|
setColumnsDef(cols: Array<EzGridColumn>): void;
|
|
75
80
|
getColumnsDef(): Array<EzGridColumn>;
|
|
76
81
|
setColumnsState(state: Array<EzGridColumnConfig>): void;
|
|
82
|
+
private getAdaptiveWidth;
|
|
77
83
|
getColumnsState(): Array<EzGridColumn>;
|
|
78
84
|
getSelection(): Array<any>;
|
|
79
85
|
addColumnMenuItem(item: EzGridColumnMenuItemDef): void;
|
|
@@ -81,6 +87,8 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
81
87
|
setSelectedIndex(index: number): void;
|
|
82
88
|
hasFilterColumn(columnName: string): boolean;
|
|
83
89
|
private buildColDef;
|
|
90
|
+
setCustomFormatters(customFormatters: Map<string, ICustomFormatter>): void;
|
|
91
|
+
refreshSelectedRows(): void;
|
|
84
92
|
private getInitCellStyle;
|
|
85
93
|
private getStyleByColumn;
|
|
86
94
|
private getFormatterByColumn;
|
|
@@ -91,5 +99,6 @@ export default class AgGridController implements EzGridController, SortingProvid
|
|
|
91
99
|
private onSelectionChange;
|
|
92
100
|
private onRowDoubleClick;
|
|
93
101
|
private conditionalSet;
|
|
94
|
-
|
|
102
|
+
setCellEditors(customEditors: Map<string, ICustomEditorInfo>): void;
|
|
103
|
+
setCellRenders(customRenders: Map<string, ICustomRenderInfo>): void;
|
|
95
104
|
}
|
|
@@ -15,6 +15,7 @@ export default class DataSource implements IServerSideDatasource {
|
|
|
15
15
|
private isSilentChange;
|
|
16
16
|
constructor(dataUnit: DataUnit, controller: EzGridController, options: EzGridOptions);
|
|
17
17
|
private updateSelection;
|
|
18
|
+
setAutoFocus(autoFocus: boolean): void;
|
|
18
19
|
getRows(params: IServerSideGetRowsParams): void;
|
|
19
20
|
needReload(currentLoading: IServerSideGetRowsParams): boolean;
|
|
20
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,16 @@
|
|
|
1
1
|
import { ICellEditorComp, ICellEditorParams } from "ag-grid-community";
|
|
2
|
+
import { Record } from "@sankhyalabs/core";
|
|
3
|
+
import { IEditorMetadata } from "./IEditorMetadata";
|
|
2
4
|
export default class EzCellEditor implements ICellEditorComp {
|
|
3
5
|
private _gui;
|
|
6
|
+
private _fieldMetadata;
|
|
7
|
+
private _rowData;
|
|
4
8
|
init(params: ICellEditorParams): void;
|
|
5
9
|
getGui(): HTMLElement;
|
|
6
10
|
afterGuiAttached(): void;
|
|
7
11
|
focusIn(): void;
|
|
8
12
|
getValue(): any;
|
|
9
13
|
isPopup(): boolean;
|
|
14
|
+
getFieldMetadata(): IEditorMetadata;
|
|
15
|
+
getRecord(): Record;
|
|
10
16
|
}
|
|
@@ -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
|
+
}
|