@sankhyalabs/ezui 6.2.0-dev.3 → 6.2.0-dev.5

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 (48) hide show
  1. package/dist/cjs/{app-globals-cdb08d04.js → app-globals-0a67e214.js} +3 -1
  2. package/dist/cjs/ez-classic-input.cjs.entry.js +318 -0
  3. package/dist/cjs/ez-classic-text-area.cjs.entry.js +86 -0
  4. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-list-item.cjs.entry.js +22 -0
  6. package/dist/cjs/ezui.cjs.js +2 -2
  7. package/dist/cjs/index-a7b0c73d.js +12 -0
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/collection-manifest.json +3 -0
  10. package/dist/collection/components/ez-classic-input/ez-classic-input.css +140 -0
  11. package/dist/collection/components/ez-classic-input/ez-classic-input.js +547 -0
  12. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js +1 -0
  13. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +194 -0
  14. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +179 -0
  15. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +479 -0
  16. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js +1 -0
  17. package/dist/collection/components/ez-icon/ez-icon.css +23 -18
  18. package/dist/collection/components/ez-list-item/ez-list-item.css +61 -0
  19. package/dist/collection/components/ez-list-item/ez-list-item.js +78 -0
  20. package/dist/collection/global/app-init.js +3 -1
  21. package/dist/custom-elements/index.d.ts +18 -0
  22. package/dist/custom-elements/index.js +423 -7
  23. package/dist/esm/{app-globals-8c57b015.js → app-globals-8a94d86c.js} +3 -1
  24. package/dist/esm/ez-classic-input.entry.js +314 -0
  25. package/dist/esm/ez-classic-text-area.entry.js +82 -0
  26. package/dist/esm/ez-icon.entry.js +1 -1
  27. package/dist/esm/ez-list-item.entry.js +18 -0
  28. package/dist/esm/ezui.js +2 -2
  29. package/dist/esm/index-baa5e267.js +12 -0
  30. package/dist/esm/loader.js +2 -2
  31. package/dist/ezui/ezui.esm.js +1 -1
  32. package/dist/ezui/p-48effc69.entry.js +1 -0
  33. package/dist/ezui/p-b2b1a1a7.entry.js +1 -0
  34. package/dist/ezui/p-d6742c1e.entry.js +1 -0
  35. package/dist/ezui/p-e78e87f5.entry.js +1 -0
  36. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +78 -0
  37. package/dist/types/components/ez-classic-input/interfaces/optionsSetFocus.d.ts +4 -0
  38. package/dist/types/components/ez-classic-input/utils/maskFormatter.d.ts +30 -0
  39. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +61 -0
  40. package/dist/types/components/ez-classic-text-area/interfaces/optionsSetFocus.d.ts +4 -0
  41. package/dist/types/components/ez-list-item/ez-list-item.d.ts +9 -0
  42. package/dist/types/components.d.ts +401 -0
  43. package/package.json +1 -1
  44. package/react/components.d.ts +3 -0
  45. package/react/components.js +3 -0
  46. package/react/components.js.map +1 -1
  47. package/dist/ezui/p-7eb6115c.entry.js +0 -1
  48. /package/dist/ezui/{p-76ad2e26.js → p-07819d50.js} +0 -0
@@ -0,0 +1,78 @@
1
+ import { h, Host } from '@stencil/core';
2
+ export class EzListItem {
3
+ constructor() {
4
+ this.titleText = undefined;
5
+ this.text = undefined;
6
+ this.iconName = undefined;
7
+ }
8
+ render() {
9
+ return (h(Host, { class: "list-item" }, h("div", { class: 'list-item__header' }, h("span", { class: 'list-item__title' }, this.titleText), this.iconName && h("ez-icon", { "icon-name": this.iconName })), this.text && h("span", { class: 'list-item__text' }, this.text)));
10
+ }
11
+ static get is() { return "ez-list-item"; }
12
+ static get encapsulation() { return "scoped"; }
13
+ static get originalStyleUrls() {
14
+ return {
15
+ "$": ["ez-list-item.css"]
16
+ };
17
+ }
18
+ static get styleUrls() {
19
+ return {
20
+ "$": ["ez-list-item.css"]
21
+ };
22
+ }
23
+ static get properties() {
24
+ return {
25
+ "titleText": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "string",
30
+ "resolved": "string",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": true,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": "T\u00EDtulo do item da lista."
38
+ },
39
+ "attribute": "title-text",
40
+ "reflect": true
41
+ },
42
+ "text": {
43
+ "type": "string",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "string",
47
+ "resolved": "string",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": true,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": "Texto do item da lista."
55
+ },
56
+ "attribute": "text",
57
+ "reflect": true
58
+ },
59
+ "iconName": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "string",
64
+ "resolved": "string",
65
+ "references": {}
66
+ },
67
+ "required": false,
68
+ "optional": true,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "Nome do \u00EDcone que deve ser exibido no item."
72
+ },
73
+ "attribute": "icon-name",
74
+ "reflect": true
75
+ }
76
+ };
77
+ }
78
+ }
@@ -1,6 +1,8 @@
1
1
  import initI18n from '../utils/i18n';
2
2
  export default async function initializeApp() {
3
3
  await initI18n();
4
- console.log('Global initialization ez-ui completed!');
4
+ if (process.env.NODE_ENV !== 'development') {
5
+ console.log('Global initialization ez-ui completed!');
6
+ }
5
7
  }
6
8
  ;
@@ -80,6 +80,18 @@ export const EzChip: {
80
80
  new (): EzChip;
81
81
  };
82
82
 
83
+ interface EzClassicInput extends Components.EzClassicInput, HTMLElement {}
84
+ export const EzClassicInput: {
85
+ prototype: EzClassicInput;
86
+ new (): EzClassicInput;
87
+ };
88
+
89
+ interface EzClassicTextArea extends Components.EzClassicTextArea, HTMLElement {}
90
+ export const EzClassicTextArea: {
91
+ prototype: EzClassicTextArea;
92
+ new (): EzClassicTextArea;
93
+ };
94
+
83
95
  interface EzCollapsibleBox extends Components.EzCollapsibleBox, HTMLElement {}
84
96
  export const EzCollapsibleBox: {
85
97
  prototype: EzCollapsibleBox;
@@ -194,6 +206,12 @@ export const EzList: {
194
206
  new (): EzList;
195
207
  };
196
208
 
209
+ interface EzListItem extends Components.EzListItem, HTMLElement {}
210
+ export const EzListItem: {
211
+ prototype: EzListItem;
212
+ new (): EzListItem;
213
+ };
214
+
197
215
  interface EzLoadingBar extends Components.EzLoadingBar, HTMLElement {}
198
216
  export const EzLoadingBar: {
199
217
  prototype: EzLoadingBar;