@sankhyalabs/ezui 1.1.6 → 1.1.10
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 +72 -72
- package/dist/cjs/{DataUnit-09a6e7be.js → DataUnit-95368a67.js} +418 -361
- package/dist/cjs/ez-action-chip.cjs.entry.js +41 -41
- package/dist/cjs/ez-button_14.cjs.entry.js +1933 -1847
- package/dist/cjs/ez-label-chip.cjs.entry.js +120 -120
- package/dist/cjs/ez-modal.cjs.entry.js +102 -95
- package/dist/cjs/ez-number-input.cjs.entry.js +236 -236
- package/dist/cjs/ez-time-input.cjs.entry.js +168 -168
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/form-metadata.cjs.entry.js +65 -65
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -82
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -109
- package/dist/collection/components/ez-button/ez-button.css +94 -94
- package/dist/collection/components/ez-button/ez-button.js +125 -125
- package/dist/collection/components/ez-calendar/ez-calendar.css +210 -210
- package/dist/collection/components/ez-calendar/ez-calendar.js +215 -215
- package/dist/collection/components/ez-check/ez-check.css +265 -265
- package/dist/collection/components/ez-check/ez-check.js +168 -168
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +67 -67
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -108
- package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -167
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -363
- package/dist/collection/components/ez-date-input/ez-date-input.css +38 -38
- package/dist/collection/components/ez-date-input/ez-date-input.js +172 -172
- package/dist/collection/components/ez-form/ez-form.css +19 -19
- package/dist/collection/components/ez-form/ez-form.js +390 -289
- package/dist/collection/components/ez-form/store/Form.actions.js +132 -123
- package/dist/collection/components/ez-form/store/Form.reducer.js +194 -174
- package/dist/collection/components/ez-form/store/Form.selectors.js +44 -43
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +252 -207
- package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -16
- package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +23 -23
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -173
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -14
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -71
- package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -27
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -33
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -18
- package/dist/collection/components/ez-icon/ez-icon.css +36 -36
- package/dist/collection/components/ez-icon/ez-icon.js +56 -56
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -117
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -276
- package/dist/collection/components/ez-modal/ez-modal.css +86 -86
- package/dist/collection/components/ez-modal/ez-modal.js +222 -200
- package/dist/collection/components/ez-number-input/ez-number-input.css +144 -144
- package/dist/collection/components/ez-number-input/ez-number-input.js +465 -465
- package/dist/collection/components/ez-popover/ez-popover.css +38 -38
- package/dist/collection/components/ez-popover/ez-popover.js +323 -323
- package/dist/collection/components/ez-search/ez-search.css +295 -295
- package/dist/collection/components/ez-search/ez-search.js +527 -527
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +125 -125
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +283 -283
- package/dist/collection/components/ez-text-area/ez-text-area.css +139 -139
- package/dist/collection/components/ez-text-area/ez-text-area.js +267 -267
- package/dist/collection/components/ez-text-input/ez-text-input.css +169 -169
- package/dist/collection/components/ez-text-input/ez-text-input.js +395 -395
- package/dist/collection/components/ez-time-input/ez-time-input.css +155 -155
- package/dist/collection/components/ez-time-input/ez-time-input.js +326 -326
- package/dist/collection/index.js +1 -1
- package/dist/collection/servidor.js +100 -100
- package/dist/collection/utils/FloatingManager.js +15 -15
- package/dist/collection/utils/utils.js +6 -6
- package/dist/custom-elements/index.js +3146 -2998
- package/dist/esm/{DataUnit-7a983910.js → DataUnit-4bb6a396.js} +417 -362
- package/dist/esm/ez-action-chip.entry.js +41 -41
- package/dist/esm/ez-button_14.entry.js +1933 -1847
- package/dist/esm/ez-label-chip.entry.js +120 -120
- package/dist/esm/ez-modal.entry.js +103 -96
- package/dist/esm/ez-number-input.entry.js +236 -236
- package/dist/esm/ez-time-input.entry.js +168 -168
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/form-metadata.entry.js +65 -65
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-11d20338.js +1 -0
- package/dist/ezui/{p-3c3a43aa.entry.js → p-5d30e51c.entry.js} +1 -1
- package/dist/ezui/p-77fdb4fd.entry.js +1 -0
- package/dist/ezui/p-e056fb23.entry.js +1 -0
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
- package/dist/types/components/ez-button/ez-button.d.ts +20 -20
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
- package/dist/types/components/ez-check/ez-check.d.ts +32 -32
- package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
- package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
- package/dist/types/components/ez-form/ez-form.d.ts +27 -27
- package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -104
- package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -11
- package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -13
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +61 -48
- package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
- package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
- package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
- package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
- package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
- package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -7
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
- package/dist/types/components/ez-modal/ez-modal.d.ts +32 -26
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
- package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
- package/dist/types/components/ez-search/ez-search.d.ts +95 -95
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
- package/dist/types/components.d.ts +8 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/package.json +114 -114
- package/react/components.d.ts +22 -0
- package/react/components.js +25 -0
- package/react/components.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +59 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -0
- package/react/react-component-lib/createOverlayComponent.js +89 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +3 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +1 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +96 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +7 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +13 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +7 -0
- package/react/react-component-lib/utils/index.js +21 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
- package/dist/ezui/p-5185cbf1.entry.js +0 -1
- package/dist/ezui/p-5d600057.entry.js +0 -1
- package/dist/ezui/p-9f819174.js +0 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import DataUnit from "./DataUnit";
|
|
2
|
-
export declare class Form {
|
|
3
|
-
name: string;
|
|
4
|
-
label: string;
|
|
5
|
-
autoLoad?: boolean;
|
|
6
|
-
dataUnit?: DataUnit;
|
|
7
|
-
items?: Array<FormItem>;
|
|
8
|
-
subForms?: Array<Form>;
|
|
9
|
-
}
|
|
10
|
-
export interface FormItem {
|
|
11
|
-
}
|
|
12
|
-
export declare class Field implements FormItem {
|
|
13
|
-
name: string;
|
|
14
|
-
label: string;
|
|
15
|
-
defaultValue?: string;
|
|
16
|
-
readOnly?: boolean;
|
|
17
|
-
required?: boolean;
|
|
18
|
-
userInterface?: string;
|
|
19
|
-
properties?: Array<UIProperty>;
|
|
20
|
-
dependencies?: Array<FieldDependency>;
|
|
21
|
-
tabControler?: string;
|
|
22
|
-
tabIndex?: number;
|
|
23
|
-
}
|
|
24
|
-
export declare class FieldSet implements FormItem {
|
|
25
|
-
label: string;
|
|
26
|
-
fields: Array<Field>;
|
|
27
|
-
}
|
|
28
|
-
export declare class UIProperty {
|
|
29
|
-
name: string;
|
|
30
|
-
value: string;
|
|
31
|
-
}
|
|
32
|
-
export declare class FieldDependency {
|
|
33
|
-
masterFields: Array<string>;
|
|
34
|
-
type: DependencyType;
|
|
35
|
-
expression: string;
|
|
36
|
-
}
|
|
37
|
-
export declare enum DependencyType {
|
|
38
|
-
SEARCHING = "SEARCHING",
|
|
39
|
-
REQUIREMENT = "REQUIREMENT",
|
|
40
|
-
VISIBILITY = "REQUIREMENT"
|
|
41
|
-
}
|
|
1
|
+
import DataUnit from "./DataUnit";
|
|
2
|
+
export declare class Form {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
autoLoad?: boolean;
|
|
6
|
+
dataUnit?: DataUnit;
|
|
7
|
+
items?: Array<FormItem>;
|
|
8
|
+
subForms?: Array<Form>;
|
|
9
|
+
}
|
|
10
|
+
export interface FormItem {
|
|
11
|
+
}
|
|
12
|
+
export declare class Field implements FormItem {
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
defaultValue?: string;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
userInterface?: string;
|
|
19
|
+
properties?: Array<UIProperty>;
|
|
20
|
+
dependencies?: Array<FieldDependency>;
|
|
21
|
+
tabControler?: string;
|
|
22
|
+
tabIndex?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare class FieldSet implements FormItem {
|
|
25
|
+
label: string;
|
|
26
|
+
fields: Array<Field>;
|
|
27
|
+
}
|
|
28
|
+
export declare class UIProperty {
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class FieldDependency {
|
|
33
|
+
masterFields: Array<string>;
|
|
34
|
+
type: DependencyType;
|
|
35
|
+
expression: string;
|
|
36
|
+
}
|
|
37
|
+
export declare enum DependencyType {
|
|
38
|
+
SEARCHING = "SEARCHING",
|
|
39
|
+
REQUIREMENT = "REQUIREMENT",
|
|
40
|
+
VISIBILITY = "REQUIREMENT"
|
|
41
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Form } from './FormMetadata';
|
|
2
|
-
export declare class FormMetadata {
|
|
3
|
-
name: string;
|
|
4
|
-
label: string;
|
|
5
|
-
dataunit: string;
|
|
6
|
-
many: boolean;
|
|
7
|
-
autoload: boolean;
|
|
8
|
-
metadata: Form;
|
|
9
|
-
private _host;
|
|
10
|
-
private buildField;
|
|
11
|
-
private buildFieldSet;
|
|
12
|
-
private fromElements;
|
|
13
|
-
componentWillLoad(): void;
|
|
14
|
-
render(): any;
|
|
15
|
-
}
|
|
1
|
+
import { Form } from './FormMetadata';
|
|
2
|
+
export declare class FormMetadata {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
dataunit: string;
|
|
6
|
+
many: boolean;
|
|
7
|
+
autoload: boolean;
|
|
8
|
+
metadata: Form;
|
|
9
|
+
private _host;
|
|
10
|
+
private buildField;
|
|
11
|
+
private buildFieldSet;
|
|
12
|
+
private fromElements;
|
|
13
|
+
componentWillLoad(): void;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class PlaceHolder {
|
|
2
|
-
render(): any;
|
|
3
|
-
}
|
|
1
|
+
export declare class PlaceHolder {
|
|
2
|
+
render(): any;
|
|
3
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
-
import DataUnit from "../DataUnit";
|
|
3
|
-
import { Field as FieldMD } from "../FormMetadata";
|
|
4
|
-
interface FieldProps {
|
|
5
|
-
dataUnit: DataUnit;
|
|
6
|
-
source: FieldMD;
|
|
7
|
-
forceScroll: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Field: FunctionalComponent<FieldProps>;
|
|
10
|
-
export {};
|
|
1
|
+
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
+
import DataUnit from "../DataUnit";
|
|
3
|
+
import { Field as FieldMD } from "../FormMetadata";
|
|
4
|
+
interface FieldProps {
|
|
5
|
+
dataUnit: DataUnit;
|
|
6
|
+
source: FieldMD;
|
|
7
|
+
forceScroll: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Field: FunctionalComponent<FieldProps>;
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
-
import { Store } from "redux";
|
|
3
|
-
import DataUnit from "../DataUnit";
|
|
4
|
-
import { FieldSet as FieldSetMD } from "../FormMetadata";
|
|
5
|
-
interface FieldSetProps {
|
|
6
|
-
store: Store;
|
|
7
|
-
formName: string;
|
|
8
|
-
source: FieldSetMD;
|
|
9
|
-
dataUnit: DataUnit;
|
|
10
|
-
}
|
|
11
|
-
export declare const FieldSet: FunctionalComponent<FieldSetProps>;
|
|
12
|
-
export {};
|
|
1
|
+
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
+
import { Store } from "redux";
|
|
3
|
+
import DataUnit from "../DataUnit";
|
|
4
|
+
import { FieldSet as FieldSetMD } from "../FormMetadata";
|
|
5
|
+
interface FieldSetProps {
|
|
6
|
+
store: Store;
|
|
7
|
+
formName: string;
|
|
8
|
+
source: FieldSetMD;
|
|
9
|
+
dataUnit: DataUnit;
|
|
10
|
+
}
|
|
11
|
+
export declare const FieldSet: FunctionalComponent<FieldSetProps>;
|
|
12
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
-
import { Form } from "../FormMetadata";
|
|
3
|
-
import { Store } from "redux";
|
|
4
|
-
import DataUnit from "../DataUnit";
|
|
5
|
-
interface FormSheetProps {
|
|
6
|
-
store: Store;
|
|
7
|
-
source: Array<Form>;
|
|
8
|
-
parentName: string;
|
|
9
|
-
dataUnitBuilder: Function;
|
|
10
|
-
parentDataUnit?: DataUnit;
|
|
11
|
-
}
|
|
12
|
-
export declare const FormSheet: FunctionalComponent<FormSheetProps>;
|
|
13
|
-
export {};
|
|
1
|
+
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
+
import { Form } from "../FormMetadata";
|
|
3
|
+
import { Store } from "redux";
|
|
4
|
+
import DataUnit from "../DataUnit";
|
|
5
|
+
interface FormSheetProps {
|
|
6
|
+
store: Store;
|
|
7
|
+
source: Array<Form>;
|
|
8
|
+
parentName: string;
|
|
9
|
+
dataUnitBuilder: Function;
|
|
10
|
+
parentDataUnit?: DataUnit;
|
|
11
|
+
}
|
|
12
|
+
export declare const FormSheet: FunctionalComponent<FormSheetProps>;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
-
import DataUnit from "../DataUnit";
|
|
3
|
-
interface NavigationBarProps {
|
|
4
|
-
dataUnit: DataUnit;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export {
|
|
1
|
+
import { FunctionalComponent } from "../../../../stencil-public-runtime";
|
|
2
|
+
import DataUnit from "../DataUnit";
|
|
3
|
+
interface NavigationBarProps {
|
|
4
|
+
dataUnit: DataUnit;
|
|
5
|
+
buttonProps: NavigationBarButtons;
|
|
6
|
+
}
|
|
7
|
+
export interface NavigationBarButtons {
|
|
8
|
+
previousVisible: boolean;
|
|
9
|
+
nextVisible: boolean;
|
|
10
|
+
addVisible: boolean;
|
|
11
|
+
removeVisible: boolean;
|
|
12
|
+
saveVisible: boolean;
|
|
13
|
+
cancelVisible: boolean;
|
|
14
|
+
reloadVisible: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const NavigationBar: FunctionalComponent<NavigationBarProps>;
|
|
17
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class EzIcon {
|
|
2
|
-
size: string;
|
|
3
|
-
href: string;
|
|
4
|
-
render(): any;
|
|
5
|
-
}
|
|
1
|
+
export declare class EzIcon {
|
|
2
|
+
size: string;
|
|
3
|
+
href: string;
|
|
4
|
+
render(): any;
|
|
5
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { ClickOptions } from 'puppeteer';
|
|
3
|
-
export declare class EzLabelChip {
|
|
4
|
-
private _iconElement;
|
|
5
|
-
private _divElem;
|
|
6
|
-
private _labelElem;
|
|
7
|
-
removeChip: EventEmitter<ClickOptions>;
|
|
8
|
-
/**
|
|
9
|
-
* Label é o título exibido no componente.
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* Deixa o componente disponível ou não para seleção.
|
|
14
|
-
*/
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Indica se o componente terá a opção de ser removido.
|
|
18
|
-
*/
|
|
19
|
-
removable: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Indica se o componente está ou não ativado.
|
|
22
|
-
*/
|
|
23
|
-
value: boolean;
|
|
24
|
-
valueChange: EventEmitter<boolean>;
|
|
25
|
-
/**
|
|
26
|
-
* Faz o foco no componente de input
|
|
27
|
-
*/
|
|
28
|
-
setFocus(): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Remove o foco no componente de input
|
|
31
|
-
*/
|
|
32
|
-
setBlur(): Promise<void>;
|
|
33
|
-
handleClick(ev: any): void;
|
|
34
|
-
swichState(): void;
|
|
35
|
-
reflectChange(): void;
|
|
36
|
-
handleSlotChange(ev: Event): void;
|
|
37
|
-
componentDidLoad(): void;
|
|
38
|
-
handleEnabledState(): void;
|
|
39
|
-
render(): any;
|
|
40
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ClickOptions } from 'puppeteer';
|
|
3
|
+
export declare class EzLabelChip {
|
|
4
|
+
private _iconElement;
|
|
5
|
+
private _divElem;
|
|
6
|
+
private _labelElem;
|
|
7
|
+
removeChip: EventEmitter<ClickOptions>;
|
|
8
|
+
/**
|
|
9
|
+
* Label é o título exibido no componente.
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Deixa o componente disponível ou não para seleção.
|
|
14
|
+
*/
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Indica se o componente terá a opção de ser removido.
|
|
18
|
+
*/
|
|
19
|
+
removable: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Indica se o componente está ou não ativado.
|
|
22
|
+
*/
|
|
23
|
+
value: boolean;
|
|
24
|
+
valueChange: EventEmitter<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* Faz o foco no componente de input
|
|
27
|
+
*/
|
|
28
|
+
setFocus(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Remove o foco no componente de input
|
|
31
|
+
*/
|
|
32
|
+
setBlur(): Promise<void>;
|
|
33
|
+
handleClick(ev: any): void;
|
|
34
|
+
swichState(): void;
|
|
35
|
+
reflectChange(): void;
|
|
36
|
+
handleSlotChange(ev: Event): void;
|
|
37
|
+
componentDidLoad(): void;
|
|
38
|
+
handleEnabledState(): void;
|
|
39
|
+
render(): any;
|
|
40
|
+
}
|
|
@@ -1,26 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class EzModal {
|
|
3
|
+
/**
|
|
4
|
+
* Define o tamanho do modal devem ser utilizados os tamanhos definidos de colunas como "col-sd-3"
|
|
5
|
+
*/
|
|
6
|
+
modalsize: string;
|
|
7
|
+
/**
|
|
8
|
+
* Define o alinhamento do modal, seus valores podem ser 'right' ou 'left'
|
|
9
|
+
*/
|
|
10
|
+
align: string;
|
|
11
|
+
/**
|
|
12
|
+
* Controle de exibição do Modal
|
|
13
|
+
*/
|
|
14
|
+
oppened: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Define se o modal será fechado ao digitar ESC
|
|
17
|
+
*/
|
|
18
|
+
closeesc: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Define se o modal será fechado ao clicar fora do conteúdo.
|
|
21
|
+
*/
|
|
22
|
+
closeoutsideclick: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Um evento disparado quando a propriedade oppened é alterada.
|
|
25
|
+
*/
|
|
26
|
+
ezChange: EventEmitter<boolean>;
|
|
27
|
+
handleClickOverlay(ev: any): void;
|
|
28
|
+
handleOppenedChange(): void;
|
|
29
|
+
handleKeyboardEvent: (ev: any) => void;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
render(): any;
|
|
32
|
+
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
export declare class NumberInput {
|
|
2
|
-
private _inputElem;
|
|
3
|
-
private _labelElem;
|
|
4
|
-
private _messageBoxElem;
|
|
5
|
-
el: HTMLElement;
|
|
6
|
-
/**
|
|
7
|
-
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
8
|
-
*/
|
|
9
|
-
strvalue: string;
|
|
10
|
-
/**
|
|
11
|
-
* Valor guardado pelo componente. Este valor é o que ira ser utilizado para alimentar o backend.
|
|
12
|
-
* Esta variável pode ser setada para alimentar o componente.
|
|
13
|
-
*/
|
|
14
|
-
value: number;
|
|
15
|
-
/**
|
|
16
|
-
* Label é o título do campo
|
|
17
|
-
*/
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* Deixa o campo disponível ou não para digitação.
|
|
21
|
-
*/
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Quando há um problema de validação, serve como orientação ao usuário
|
|
25
|
-
*/
|
|
26
|
-
errormessage: string;
|
|
27
|
-
/**
|
|
28
|
-
* Precisão de arredondamento do número
|
|
29
|
-
*/
|
|
30
|
-
precision: number;
|
|
31
|
-
/**
|
|
32
|
-
* Números de zeros retirados após arredondamento
|
|
33
|
-
*/
|
|
34
|
-
prettyprecision: number;
|
|
35
|
-
/**
|
|
36
|
-
* Deixa o campo disponível ou não para digitação.
|
|
37
|
-
*/
|
|
38
|
-
textleft: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Opção de configurar a transformação de string to number entre formatação pt-BR e en-US
|
|
41
|
-
* (formatação de ENTRADA e SAÍDA do componente: pt-BR="###.###,##" en-US="###,###.##"; Default: "pt-BR")
|
|
42
|
-
* Qualquer outro valor que não seja "en-US", adotará a formatação "pt-BR"
|
|
43
|
-
* Não é case sensitive
|
|
44
|
-
*/
|
|
45
|
-
formatnumber: string;
|
|
46
|
-
showError(): void;
|
|
47
|
-
onPrecisionChanged(newPrecision: number): void;
|
|
48
|
-
onPrettyPrecisionChanged(newPrettyPrecision: number): void;
|
|
49
|
-
onValueChanged(newValue: number): void;
|
|
50
|
-
adjustFloatingLabel(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Faz o foco no componente de input
|
|
53
|
-
*/
|
|
54
|
-
setFocus(): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Remove o foco no componente de input
|
|
57
|
-
*/
|
|
58
|
-
setBlur(): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* Promove a atualização do componente
|
|
61
|
-
*/
|
|
62
|
-
handleFocusout(): Promise<void>;
|
|
63
|
-
handleChange(): void;
|
|
64
|
-
handleSlotChange(ev: Event): void;
|
|
65
|
-
doFocus(): void;
|
|
66
|
-
settingComponent(): void;
|
|
67
|
-
settingStrValueIntNumber: (strvalue: string) => string;
|
|
68
|
-
checkNumberValidation: (valuePtBRorNumber: string) => boolean;
|
|
69
|
-
settingValue(): void;
|
|
70
|
-
componentDidLoad(): void;
|
|
71
|
-
componentWillLoad(): void;
|
|
72
|
-
render(): any;
|
|
73
|
-
}
|
|
1
|
+
export declare class NumberInput {
|
|
2
|
+
private _inputElem;
|
|
3
|
+
private _labelElem;
|
|
4
|
+
private _messageBoxElem;
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
/**
|
|
7
|
+
* Valor digitado pelo usuário. Este valor é o que fica visível no campo.
|
|
8
|
+
*/
|
|
9
|
+
strvalue: string;
|
|
10
|
+
/**
|
|
11
|
+
* Valor guardado pelo componente. Este valor é o que ira ser utilizado para alimentar o backend.
|
|
12
|
+
* Esta variável pode ser setada para alimentar o componente.
|
|
13
|
+
*/
|
|
14
|
+
value: number;
|
|
15
|
+
/**
|
|
16
|
+
* Label é o título do campo
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Deixa o campo disponível ou não para digitação.
|
|
21
|
+
*/
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Quando há um problema de validação, serve como orientação ao usuário
|
|
25
|
+
*/
|
|
26
|
+
errormessage: string;
|
|
27
|
+
/**
|
|
28
|
+
* Precisão de arredondamento do número
|
|
29
|
+
*/
|
|
30
|
+
precision: number;
|
|
31
|
+
/**
|
|
32
|
+
* Números de zeros retirados após arredondamento
|
|
33
|
+
*/
|
|
34
|
+
prettyprecision: number;
|
|
35
|
+
/**
|
|
36
|
+
* Deixa o campo disponível ou não para digitação.
|
|
37
|
+
*/
|
|
38
|
+
textleft: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Opção de configurar a transformação de string to number entre formatação pt-BR e en-US
|
|
41
|
+
* (formatação de ENTRADA e SAÍDA do componente: pt-BR="###.###,##" en-US="###,###.##"; Default: "pt-BR")
|
|
42
|
+
* Qualquer outro valor que não seja "en-US", adotará a formatação "pt-BR"
|
|
43
|
+
* Não é case sensitive
|
|
44
|
+
*/
|
|
45
|
+
formatnumber: string;
|
|
46
|
+
showError(): void;
|
|
47
|
+
onPrecisionChanged(newPrecision: number): void;
|
|
48
|
+
onPrettyPrecisionChanged(newPrettyPrecision: number): void;
|
|
49
|
+
onValueChanged(newValue: number): void;
|
|
50
|
+
adjustFloatingLabel(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Faz o foco no componente de input
|
|
53
|
+
*/
|
|
54
|
+
setFocus(): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Remove o foco no componente de input
|
|
57
|
+
*/
|
|
58
|
+
setBlur(): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Promove a atualização do componente
|
|
61
|
+
*/
|
|
62
|
+
handleFocusout(): Promise<void>;
|
|
63
|
+
handleChange(): void;
|
|
64
|
+
handleSlotChange(ev: Event): void;
|
|
65
|
+
doFocus(): void;
|
|
66
|
+
settingComponent(): void;
|
|
67
|
+
settingStrValueIntNumber: (strvalue: string) => string;
|
|
68
|
+
checkNumberValidation: (valuePtBRorNumber: string) => boolean;
|
|
69
|
+
settingValue(): void;
|
|
70
|
+
componentDidLoad(): void;
|
|
71
|
+
componentWillLoad(): void;
|
|
72
|
+
render(): any;
|
|
73
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export declare class EzPopover {
|
|
2
|
-
private _container;
|
|
3
|
-
private _box;
|
|
4
|
-
private _floatingID;
|
|
5
|
-
private _firstRender;
|
|
6
|
-
_host: any;
|
|
7
|
-
/**
|
|
8
|
-
* No modo floating = false o popover só se tornará visível
|
|
9
|
-
* quando o método show() for acionado.
|
|
10
|
-
*/
|
|
11
|
-
autoclose: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Offset top do popover em relação ao componente pai
|
|
14
|
-
*/
|
|
15
|
-
top: string;
|
|
16
|
-
/**
|
|
17
|
-
* Offset left do popover em relação ao componente pai
|
|
18
|
-
*/
|
|
19
|
-
left: string;
|
|
20
|
-
/**
|
|
21
|
-
* Offset bottom do popover em relação ao componente pai
|
|
22
|
-
*/
|
|
23
|
-
bottom: string;
|
|
24
|
-
/**
|
|
25
|
-
* Offset right do popover em relação ao componente pai
|
|
26
|
-
*/
|
|
27
|
-
right: string;
|
|
28
|
-
/**
|
|
29
|
-
* Ajusta o comportamento da largura do popover.
|
|
30
|
-
* Opções: "100% e "fit-content" (default)
|
|
31
|
-
*/
|
|
32
|
-
boxwidth: string;
|
|
33
|
-
/**
|
|
34
|
-
* Externaliza estado atual do componente.
|
|
35
|
-
*/
|
|
36
|
-
isOpened: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Atualiza a posição do popover em relação ao componente pai.
|
|
39
|
-
*/
|
|
40
|
-
updatePosition(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
* Faz com que o popover seja renderizado na DOM.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
show(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Usado no modo floating. Faz com que o componente seja ocultado.
|
|
48
|
-
*/
|
|
49
|
-
hide(): Promise<void>;
|
|
50
|
-
componentDidRender(): void;
|
|
51
|
-
render(): any;
|
|
52
|
-
}
|
|
1
|
+
export declare class EzPopover {
|
|
2
|
+
private _container;
|
|
3
|
+
private _box;
|
|
4
|
+
private _floatingID;
|
|
5
|
+
private _firstRender;
|
|
6
|
+
_host: any;
|
|
7
|
+
/**
|
|
8
|
+
* No modo floating = false o popover só se tornará visível
|
|
9
|
+
* quando o método show() for acionado.
|
|
10
|
+
*/
|
|
11
|
+
autoclose: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Offset top do popover em relação ao componente pai
|
|
14
|
+
*/
|
|
15
|
+
top: string;
|
|
16
|
+
/**
|
|
17
|
+
* Offset left do popover em relação ao componente pai
|
|
18
|
+
*/
|
|
19
|
+
left: string;
|
|
20
|
+
/**
|
|
21
|
+
* Offset bottom do popover em relação ao componente pai
|
|
22
|
+
*/
|
|
23
|
+
bottom: string;
|
|
24
|
+
/**
|
|
25
|
+
* Offset right do popover em relação ao componente pai
|
|
26
|
+
*/
|
|
27
|
+
right: string;
|
|
28
|
+
/**
|
|
29
|
+
* Ajusta o comportamento da largura do popover.
|
|
30
|
+
* Opções: "100% e "fit-content" (default)
|
|
31
|
+
*/
|
|
32
|
+
boxwidth: string;
|
|
33
|
+
/**
|
|
34
|
+
* Externaliza estado atual do componente.
|
|
35
|
+
*/
|
|
36
|
+
isOpened: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Atualiza a posição do popover em relação ao componente pai.
|
|
39
|
+
*/
|
|
40
|
+
updatePosition(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Faz com que o popover seja renderizado na DOM.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
show(top?: string, left?: string, bottom?: string, right?: string): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Usado no modo floating. Faz com que o componente seja ocultado.
|
|
48
|
+
*/
|
|
49
|
+
hide(): Promise<void>;
|
|
50
|
+
componentDidRender(): void;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|