@sankhyalabs/ezui 1.1.8 → 1.1.9

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.
Files changed (141) hide show
  1. package/README.md +72 -72
  2. package/dist/cjs/{DataUnit-28b290cb.js → DataUnit-9a4a35ca.js} +415 -371
  3. package/dist/cjs/ez-action-chip.cjs.entry.js +41 -41
  4. package/dist/cjs/ez-button_14.cjs.entry.js +1911 -1911
  5. package/dist/cjs/ez-label-chip.cjs.entry.js +120 -120
  6. package/dist/cjs/ez-modal.cjs.entry.js +104 -104
  7. package/dist/cjs/ez-number-input.cjs.entry.js +236 -236
  8. package/dist/cjs/ez-time-input.cjs.entry.js +168 -168
  9. package/dist/cjs/form-metadata.cjs.entry.js +65 -65
  10. package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -82
  11. package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -109
  12. package/dist/collection/components/ez-button/ez-button.css +94 -94
  13. package/dist/collection/components/ez-button/ez-button.js +125 -125
  14. package/dist/collection/components/ez-calendar/ez-calendar.css +210 -210
  15. package/dist/collection/components/ez-calendar/ez-calendar.js +215 -215
  16. package/dist/collection/components/ez-check/ez-check.css +265 -265
  17. package/dist/collection/components/ez-check/ez-check.js +168 -168
  18. package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +67 -67
  19. package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -108
  20. package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -2
  21. package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -167
  22. package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -363
  23. package/dist/collection/components/ez-date-input/ez-date-input.css +38 -38
  24. package/dist/collection/components/ez-date-input/ez-date-input.js +172 -172
  25. package/dist/collection/components/ez-form/ez-form.css +19 -19
  26. package/dist/collection/components/ez-form/ez-form.js +368 -368
  27. package/dist/collection/components/ez-form/store/Form.actions.js +132 -132
  28. package/dist/collection/components/ez-form/store/Form.reducer.js +194 -194
  29. package/dist/collection/components/ez-form/store/Form.selectors.js +44 -44
  30. package/dist/collection/components/ez-form/subcomponents/DataUnit.js +251 -207
  31. package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -16
  32. package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +23 -23
  33. package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -173
  34. package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -14
  35. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -71
  36. package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -27
  37. package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -40
  38. package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -27
  39. package/dist/collection/components/ez-icon/ez-icon.css +36 -36
  40. package/dist/collection/components/ez-icon/ez-icon.js +56 -56
  41. package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -117
  42. package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -276
  43. package/dist/collection/components/ez-modal/ez-modal.css +86 -86
  44. package/dist/collection/components/ez-modal/ez-modal.js +224 -224
  45. package/dist/collection/components/ez-number-input/ez-number-input.css +144 -144
  46. package/dist/collection/components/ez-number-input/ez-number-input.js +465 -465
  47. package/dist/collection/components/ez-popover/ez-popover.css +38 -38
  48. package/dist/collection/components/ez-popover/ez-popover.js +323 -323
  49. package/dist/collection/components/ez-search/ez-search.css +295 -295
  50. package/dist/collection/components/ez-search/ez-search.js +527 -527
  51. package/dist/collection/components/ez-tabselector/ez-tabselector.css +125 -125
  52. package/dist/collection/components/ez-tabselector/ez-tabselector.js +283 -283
  53. package/dist/collection/components/ez-text-area/ez-text-area.css +139 -139
  54. package/dist/collection/components/ez-text-area/ez-text-area.js +267 -267
  55. package/dist/collection/components/ez-text-input/ez-text-input.css +169 -169
  56. package/dist/collection/components/ez-text-input/ez-text-input.js +395 -395
  57. package/dist/collection/components/ez-time-input/ez-time-input.css +155 -155
  58. package/dist/collection/components/ez-time-input/ez-time-input.js +326 -326
  59. package/dist/collection/index.js +1 -1
  60. package/dist/collection/servidor.js +100 -100
  61. package/dist/collection/utils/FloatingManager.js +15 -15
  62. package/dist/collection/utils/utils.js +6 -6
  63. package/dist/custom-elements/index.js +3125 -3081
  64. package/dist/esm/{DataUnit-69e518fa.js → DataUnit-d5d4c9a3.js} +415 -371
  65. package/dist/esm/ez-action-chip.entry.js +41 -41
  66. package/dist/esm/ez-button_14.entry.js +1911 -1911
  67. package/dist/esm/ez-label-chip.entry.js +120 -120
  68. package/dist/esm/ez-modal.entry.js +104 -104
  69. package/dist/esm/ez-number-input.entry.js +236 -236
  70. package/dist/esm/ez-time-input.entry.js +168 -168
  71. package/dist/esm/form-metadata.entry.js +65 -65
  72. package/dist/esm/polyfills/core-js.js +0 -0
  73. package/dist/esm/polyfills/dom.js +0 -0
  74. package/dist/esm/polyfills/es5-html-element.js +0 -0
  75. package/dist/esm/polyfills/index.js +0 -0
  76. package/dist/esm/polyfills/system.js +0 -0
  77. package/dist/ezui/ezui.esm.js +1 -1
  78. package/dist/ezui/{p-b0974f4f.entry.js → p-0fcdfb51.entry.js} +1 -1
  79. package/dist/ezui/p-dac7a6c2.js +1 -0
  80. package/dist/ezui/{p-db11c600.entry.js → p-dbef7060.entry.js} +1 -1
  81. package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
  82. package/dist/types/components/ez-button/ez-button.d.ts +20 -20
  83. package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
  84. package/dist/types/components/ez-check/ez-check.d.ts +32 -32
  85. package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
  86. package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
  87. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
  88. package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
  89. package/dist/types/components/ez-form/ez-form.d.ts +26 -31
  90. package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -111
  91. package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -20
  92. package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -14
  93. package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +60 -55
  94. package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
  95. package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
  96. package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
  97. package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
  98. package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
  99. package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
  100. package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -17
  101. package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
  102. package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
  103. package/dist/types/components/ez-modal/ez-modal.d.ts +32 -32
  104. package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
  105. package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
  106. package/dist/types/components/ez-search/ez-search.d.ts +95 -95
  107. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
  108. package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
  109. package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
  110. package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
  111. package/dist/types/index.d.ts +1 -1
  112. package/dist/types/utils/utils.d.ts +2 -2
  113. package/package.json +114 -114
  114. package/dist/ezui/p-10ef58b3.js +0 -1
  115. package/react/components.d.ts +0 -22
  116. package/react/components.js +0 -25
  117. package/react/components.js.map +0 -1
  118. package/react/react-component-lib/createComponent.d.ts +0 -10
  119. package/react/react-component-lib/createComponent.js +0 -59
  120. package/react/react-component-lib/createComponent.js.map +0 -1
  121. package/react/react-component-lib/createOverlayComponent.d.ts +0 -20
  122. package/react/react-component-lib/createOverlayComponent.js +0 -89
  123. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  124. package/react/react-component-lib/index.d.ts +0 -2
  125. package/react/react-component-lib/index.js +0 -3
  126. package/react/react-component-lib/index.js.map +0 -1
  127. package/react/react-component-lib/interfaces.d.ts +0 -29
  128. package/react/react-component-lib/interfaces.js +0 -1
  129. package/react/react-component-lib/interfaces.js.map +0 -1
  130. package/react/react-component-lib/utils/attachProps.d.ts +0 -12
  131. package/react/react-component-lib/utils/attachProps.js +0 -96
  132. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  133. package/react/react-component-lib/utils/case.d.ts +0 -2
  134. package/react/react-component-lib/utils/case.js +0 -7
  135. package/react/react-component-lib/utils/case.js.map +0 -1
  136. package/react/react-component-lib/utils/dev.d.ts +0 -2
  137. package/react/react-component-lib/utils/dev.js +0 -13
  138. package/react/react-component-lib/utils/dev.js.map +0 -1
  139. package/react/react-component-lib/utils/index.d.ts +0 -7
  140. package/react/react-component-lib/utils/index.js +0 -21
  141. package/react/react-component-lib/utils/index.js.map +0 -1
@@ -1,20 +1,20 @@
1
- export default function formReducer(state: {
2
- currentTabIndex: {};
3
- currentRecordIndex: {};
4
- changes: {};
5
- collapsedGroups: {};
6
- newRecordIndex: {};
7
- }, action: any): any;
8
- export declare function formNonHistoricReducer(state: {
9
- dataLoading: {};
10
- invalidFields: {};
11
- visibleButtons: {
12
- previousVisible: boolean;
13
- nextVisible: boolean;
14
- addVisible: boolean;
15
- removeVisible: boolean;
16
- saveVisible: boolean;
17
- cancelVisible: boolean;
18
- reloadVisible: boolean;
19
- };
20
- }, action: any): any;
1
+ export default function formReducer(state: {
2
+ currentTabIndex: {};
3
+ currentRecordIndex: {};
4
+ changes: {};
5
+ collapsedGroups: {};
6
+ newRecordIndex: {};
7
+ }, action: any): any;
8
+ export declare function formNonHistoricReducer(state: {
9
+ dataLoading: {};
10
+ invalidFields: {};
11
+ visibleButtons: {
12
+ previousVisible: boolean;
13
+ nextVisible: boolean;
14
+ addVisible: boolean;
15
+ removeVisible: boolean;
16
+ saveVisible: boolean;
17
+ cancelVisible: boolean;
18
+ reloadVisible: boolean;
19
+ };
20
+ }, action: any): any;
@@ -1,14 +1,14 @@
1
- export declare const selectCurrentTab: (state: any, formName: string) => any;
2
- export declare const selectIsCollapsedFieldSet: (state: any, fieldSetName: string) => boolean;
3
- export declare const selectRecordChanges: (state: any, dataUnit: string, recordId: string) => any;
4
- export declare const selectDataUnitChanges: (state: any, dataUnit: string) => any;
5
- export declare const selectCurrentRecordIndex: (state: any, dataUnit: string) => any;
6
- export declare const selectNewRecordIndex: (state: any, dataUnit: string) => any;
7
- export declare const selectUndoState: (state: any) => {
8
- canUndo: boolean;
9
- canRedo: boolean;
10
- };
11
- export declare const selectLoadingData: (state: any, dataUnit: string) => any;
12
- export declare const selectErrorMessage: (state: any, dataUnit: string, recordId: string, fieldName: string) => any;
13
- export declare const selectInvalidFields: (state: any, dataUnit: string, recordId: string) => string[];
14
- export declare const selectVisibleButtons: (state: any) => any;
1
+ export declare const selectCurrentTab: (state: any, formName: string) => any;
2
+ export declare const selectIsCollapsedFieldSet: (state: any, fieldSetName: string) => boolean;
3
+ export declare const selectRecordChanges: (state: any, dataUnit: string, recordId: string) => any;
4
+ export declare const selectDataUnitChanges: (state: any, dataUnit: string) => any;
5
+ export declare const selectCurrentRecordIndex: (state: any, dataUnit: string) => any;
6
+ export declare const selectNewRecordIndex: (state: any, dataUnit: string) => any;
7
+ export declare const selectUndoState: (state: any) => {
8
+ canUndo: boolean;
9
+ canRedo: boolean;
10
+ };
11
+ export declare const selectLoadingData: (state: any, dataUnit: string) => any;
12
+ export declare const selectErrorMessage: (state: any, dataUnit: string, recordId: string, fieldName: string) => any;
13
+ export declare const selectInvalidFields: (state: any, dataUnit: string, recordId: string) => string[];
14
+ export declare const selectVisibleButtons: (state: any) => any;
@@ -1,55 +1,60 @@
1
- import { Store } from 'redux';
2
- export default class DataUnit {
3
- private _store;
4
- private _changeDeboucing;
5
- name: string;
6
- unitLabel: string;
7
- cardinality: string;
8
- recordsValidator: RecordsValidator;
9
- loadExecutor: Function;
10
- saveExecutor: Function;
11
- removeExecutor: Function;
12
- fieldSearchExecutor: Function;
13
- _records: Array<Record>;
14
- constructor(name: string, unitLabel: string, cardinality?: string);
15
- set store(store: Store);
16
- isLoading(): boolean;
17
- hasChanges(): boolean;
18
- hasNext(): boolean;
19
- hasPrevious(): boolean;
20
- hasCurrentRecord(): boolean;
21
- previous(): void;
22
- next(): void;
23
- getValue(fieldName: string): any;
24
- getErrorMessage(fieldName: string): string;
25
- changeValue(fieldName: string, newValue: any): void;
26
- cancel(): void;
27
- insert(): void;
28
- getChangesToSave(): {
29
- dataUnit: string;
30
- records: {
31
- record__id: string;
32
- }[];
33
- }[];
34
- save(): void;
35
- load(): void;
36
- remove(): void;
37
- private processSaveResult;
38
- private processLoadResult;
39
- private processRemoveResult;
40
- set records(records: Array<Record>);
41
- get records(): Array<Record>;
42
- private getCurrentRecord;
43
- private getRecordChanges;
44
- validateRecords(): boolean;
45
- }
46
- export interface Record {
47
- record__id: string;
48
- }
49
- export interface RecordsValidator {
50
- validateRecords(dataUnit: DataUnit, records: Array<Record>): ValidationResult;
51
- }
52
- export interface ValidationResult {
53
- isValid: boolean;
54
- message: string;
55
- }
1
+ import { Store } from 'redux';
2
+ export default class DataUnit {
3
+ private _store;
4
+ private _changeDeboucing;
5
+ private _records;
6
+ name: string;
7
+ unitLabel: string;
8
+ cardinality: string;
9
+ recordsValidator: RecordsValidator;
10
+ parentDU: DataUnit;
11
+ private _children;
12
+ loadExecutor: Function;
13
+ saveExecutor: Function;
14
+ removeExecutor: Function;
15
+ fieldSearchExecutor: Function;
16
+ constructor(name: string, unitLabel: string, cardinality?: string, parentDU?: DataUnit);
17
+ set store(store: Store);
18
+ isLoading(): boolean;
19
+ hasChanges(): boolean;
20
+ hasNext(): boolean;
21
+ hasPrevious(): boolean;
22
+ hasCurrentRecord(): boolean;
23
+ previous(): void;
24
+ next(): void;
25
+ getValue(fieldName: string): any;
26
+ getErrorMessage(fieldName: string): string;
27
+ changeValue(fieldName: string, newValue: any): void;
28
+ cancel(): void;
29
+ insert(): void;
30
+ buildChange(r: Record): {
31
+ __data__unit: string;
32
+ __record__id: string;
33
+ __sub__changes: any[];
34
+ };
35
+ private getSubChanges;
36
+ getChangesToSave(): any[];
37
+ save(): void;
38
+ load(): void;
39
+ remove(): void;
40
+ private processSaveResult;
41
+ private processLoadResult;
42
+ private processRemoveResult;
43
+ set records(records: Array<Record>);
44
+ private bindToParent;
45
+ get records(): Array<Record>;
46
+ private getCurrentRecord;
47
+ private getRecordChanges;
48
+ validateRecords(): boolean;
49
+ }
50
+ export interface Record {
51
+ record__id: string;
52
+ parent__record__id?: string;
53
+ }
54
+ export interface RecordsValidator {
55
+ validateRecords(dataUnit: DataUnit, records: Array<Record>): ValidationResult;
56
+ }
57
+ export interface ValidationResult {
58
+ isValid: boolean;
59
+ message: string;
60
+ }
@@ -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,17 +1,17 @@
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
+ 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,32 +1,32 @@
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
+ 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
+ }