@sankhyalabs/ezui 3.0.1 → 3.0.2

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 (225) hide show
  1. package/dist/cjs/ez-actions-button.cjs.entry.js +12 -26
  2. package/dist/cjs/ez-alert.cjs.entry.js +2 -5
  3. package/dist/cjs/ez-application.cjs.entry.js +2 -2
  4. package/dist/cjs/ez-breadcrumb.cjs.entry.js +2 -5
  5. package/dist/cjs/ez-button.cjs.entry.js +6 -8
  6. package/dist/cjs/ez-calendar.cjs.entry.js +2 -14
  7. package/dist/cjs/ez-card-item.cjs.entry.js +3 -2
  8. package/dist/cjs/ez-check.cjs.entry.js +5 -8
  9. package/dist/cjs/ez-chip.cjs.entry.js +5 -8
  10. package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -20
  11. package/dist/cjs/ez-combo-box.cjs.entry.js +11 -23
  12. package/dist/cjs/ez-date-input.cjs.entry.js +5 -8
  13. package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -11
  14. package/dist/cjs/ez-dialog.cjs.entry.js +7 -9
  15. package/dist/cjs/ez-dropdown.cjs.entry.js +4 -5
  16. package/dist/cjs/ez-file-item.cjs.entry.js +5 -8
  17. package/dist/cjs/ez-filter-input_4.cjs.entry.js +14 -23
  18. package/dist/cjs/ez-form-view.cjs.entry.js +3 -2
  19. package/dist/cjs/ez-form.cjs.entry.js +26 -20
  20. package/dist/cjs/ez-grid.cjs.entry.js +11110 -6777
  21. package/dist/cjs/ez-guide-navigator.cjs.entry.js +3 -11
  22. package/dist/cjs/ez-icon.cjs.entry.js +4 -5
  23. package/dist/cjs/ez-list.cjs.entry.js +4 -15
  24. package/dist/cjs/ez-loading-bar.cjs.entry.js +2 -2
  25. package/dist/cjs/ez-modal-container.cjs.entry.js +8 -5
  26. package/dist/cjs/ez-modal.cjs.entry.js +7 -14
  27. package/dist/cjs/ez-number-input.cjs.entry.js +7 -8
  28. package/dist/cjs/ez-popover.cjs.entry.js +11 -30
  29. package/dist/cjs/ez-popup.cjs.entry.js +3 -14
  30. package/dist/cjs/ez-radio-button.cjs.entry.js +4 -11
  31. package/dist/cjs/ez-search.cjs.entry.js +6 -17
  32. package/dist/cjs/ez-tabselector.cjs.entry.js +6 -2
  33. package/dist/cjs/ez-text-area.cjs.entry.js +5 -14
  34. package/dist/cjs/ez-text-edit.cjs.entry.js +5 -2
  35. package/dist/cjs/ez-text-input.cjs.entry.js +7 -14
  36. package/dist/cjs/ez-time-input.cjs.entry.js +5 -11
  37. package/dist/cjs/ez-toast.cjs.entry.js +3 -11
  38. package/dist/cjs/ez-upload.cjs.entry.js +9 -5
  39. package/dist/cjs/ez-view-stack.cjs.entry.js +2 -2
  40. package/dist/cjs/ezui.cjs.js +6 -2
  41. package/dist/cjs/{index-5e208fa5.js → index-892780f1.js} +588 -248
  42. package/dist/cjs/loader.cjs.js +3 -2
  43. package/dist/collection/collection-manifest.json +2 -2
  44. package/dist/collection/components/ez-actions-button/ez-actions-button.js +248 -256
  45. package/dist/collection/components/ez-alert/ez-alert.js +34 -36
  46. package/dist/collection/components/ez-application/ez-application.js +29 -23
  47. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js +61 -60
  48. package/dist/collection/components/ez-button/ez-button.js +159 -159
  49. package/dist/collection/components/ez-calendar/ez-calendar.js +214 -244
  50. package/dist/collection/components/ez-card-item/ez-card-item.js +60 -58
  51. package/dist/collection/components/ez-check/ez-check.js +164 -157
  52. package/dist/collection/components/ez-chip/ez-chip.js +190 -186
  53. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +282 -293
  54. package/dist/collection/components/ez-combo-box/ez-combo-box.js +348 -361
  55. package/dist/collection/components/ez-date-input/ez-date-input.js +213 -207
  56. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +233 -228
  57. package/dist/collection/components/ez-dialog/ez-dialog.js +203 -209
  58. package/dist/collection/components/ez-dropdown/ez-dropdown.js +128 -127
  59. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js +1 -4
  60. package/dist/collection/components/ez-file-item/ez-file-item.js +144 -142
  61. package/dist/collection/components/ez-filter-input/ez-filter-input.js +197 -188
  62. package/dist/collection/components/ez-form/DataBinder.js +12 -6
  63. package/dist/collection/components/ez-form/ez-form.js +191 -177
  64. package/dist/collection/components/ez-form-view/ez-form-view.js +38 -29
  65. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -2
  66. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -2
  67. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +3 -6
  68. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -2
  69. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -2
  70. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -2
  71. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -2
  72. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -2
  73. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +1 -1
  74. package/dist/collection/components/ez-grid/ez-grid.js +365 -351
  75. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +120 -125
  76. package/dist/collection/components/ez-icon/ez-icon.js +68 -64
  77. package/dist/collection/components/ez-list/ez-list.js +246 -266
  78. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +49 -42
  79. package/dist/collection/components/ez-modal/ez-modal.js +143 -143
  80. package/dist/collection/components/ez-modal-container/ez-modal-container.js +153 -155
  81. package/dist/collection/components/ez-number-input/ez-number-input.js +246 -233
  82. package/dist/collection/components/ez-popover/ez-popover.js +273 -283
  83. package/dist/collection/components/ez-popup/ez-popup.js +121 -133
  84. package/dist/collection/components/ez-radio-button/ez-radio-button.js +123 -126
  85. package/dist/collection/components/ez-scroller/ez-scroller.js +104 -100
  86. package/dist/collection/components/ez-search/ez-search.js +260 -259
  87. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +30 -25
  88. package/dist/collection/components/ez-tabselector/ez-tabselector.js +115 -106
  89. package/dist/collection/components/ez-text-area/ez-text-area.js +217 -218
  90. package/dist/collection/components/ez-text-edit/ez-text-edit.js +109 -96
  91. package/dist/collection/components/ez-text-input/ez-text-input.js +248 -248
  92. package/dist/collection/components/ez-time-input/ez-time-input.js +227 -223
  93. package/dist/collection/components/ez-toast/ez-toast.js +117 -121
  94. package/dist/collection/components/ez-tree/ez-tree.js +289 -275
  95. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +7 -11
  96. package/dist/collection/components/ez-upload/ez-upload.js +283 -281
  97. package/dist/collection/components/ez-view-stack/ez-view-stack.js +46 -40
  98. package/dist/custom-elements/index.js +11097 -6940
  99. package/dist/esm/ez-actions-button.entry.js +12 -26
  100. package/dist/esm/ez-alert.entry.js +2 -5
  101. package/dist/esm/ez-application.entry.js +2 -2
  102. package/dist/esm/ez-breadcrumb.entry.js +2 -5
  103. package/dist/esm/ez-button.entry.js +6 -8
  104. package/dist/esm/ez-calendar.entry.js +2 -14
  105. package/dist/esm/ez-card-item.entry.js +3 -2
  106. package/dist/esm/ez-check.entry.js +5 -8
  107. package/dist/esm/ez-chip.entry.js +5 -8
  108. package/dist/esm/ez-collapsible-box.entry.js +4 -20
  109. package/dist/esm/ez-combo-box.entry.js +11 -23
  110. package/dist/esm/ez-date-input.entry.js +5 -8
  111. package/dist/esm/ez-date-time-input.entry.js +5 -11
  112. package/dist/esm/ez-dialog.entry.js +7 -9
  113. package/dist/esm/ez-dropdown.entry.js +4 -5
  114. package/dist/esm/ez-file-item.entry.js +5 -8
  115. package/dist/esm/ez-filter-input_4.entry.js +14 -23
  116. package/dist/esm/ez-form-view.entry.js +3 -2
  117. package/dist/esm/ez-form.entry.js +26 -20
  118. package/dist/esm/ez-grid.entry.js +11110 -6777
  119. package/dist/esm/ez-guide-navigator.entry.js +3 -11
  120. package/dist/esm/ez-icon.entry.js +4 -5
  121. package/dist/esm/ez-list.entry.js +4 -15
  122. package/dist/esm/ez-loading-bar.entry.js +2 -2
  123. package/dist/esm/ez-modal-container.entry.js +8 -5
  124. package/dist/esm/ez-modal.entry.js +7 -14
  125. package/dist/esm/ez-number-input.entry.js +7 -8
  126. package/dist/esm/ez-popover.entry.js +11 -30
  127. package/dist/esm/ez-popup.entry.js +3 -14
  128. package/dist/esm/ez-radio-button.entry.js +4 -11
  129. package/dist/esm/ez-search.entry.js +6 -17
  130. package/dist/esm/ez-tabselector.entry.js +6 -2
  131. package/dist/esm/ez-text-area.entry.js +5 -14
  132. package/dist/esm/ez-text-edit.entry.js +5 -2
  133. package/dist/esm/ez-text-input.entry.js +7 -14
  134. package/dist/esm/ez-time-input.entry.js +5 -11
  135. package/dist/esm/ez-toast.entry.js +3 -11
  136. package/dist/esm/ez-upload.entry.js +9 -5
  137. package/dist/esm/ez-view-stack.entry.js +2 -2
  138. package/dist/esm/ezui.js +3 -2
  139. package/dist/esm/{index-c5203f95.js → index-de655f48.js} +588 -249
  140. package/dist/esm/loader.js +3 -2
  141. package/dist/esm/polyfills/css-shim.js +1 -1
  142. package/dist/ezui/ezui.esm.js +1 -1
  143. package/dist/ezui/{p-df20c613.entry.js → p-06b3e801.entry.js} +1 -1
  144. package/dist/ezui/p-07b99b94.entry.js +1 -0
  145. package/dist/ezui/p-0c7e81fe.entry.js +1 -0
  146. package/dist/ezui/p-1581fece.entry.js +1 -0
  147. package/dist/ezui/p-1b95836f.entry.js +1 -0
  148. package/dist/ezui/p-36f7ec68.entry.js +1 -0
  149. package/dist/ezui/p-37b4bf04.entry.js +1 -0
  150. package/dist/ezui/p-493e2af4.entry.js +1 -0
  151. package/dist/ezui/p-4bfed869.entry.js +1 -0
  152. package/dist/ezui/p-600f1732.entry.js +1 -0
  153. package/dist/ezui/p-62481744.entry.js +1 -0
  154. package/dist/ezui/p-6818dd0a.entry.js +1 -0
  155. package/dist/ezui/p-695facd0.entry.js +1 -0
  156. package/dist/ezui/p-7ffd12e7.js +2 -0
  157. package/dist/ezui/p-82db6de7.entry.js +1 -0
  158. package/dist/ezui/p-86d29565.entry.js +1 -0
  159. package/dist/ezui/p-8ca4750d.entry.js +1 -0
  160. package/dist/ezui/p-9613fae6.entry.js +1 -0
  161. package/dist/ezui/{p-fc97f773.entry.js → p-a323b415.entry.js} +1 -1
  162. package/dist/ezui/p-a4b281ca.entry.js +1 -0
  163. package/dist/ezui/p-a67e056f.entry.js +1 -0
  164. package/dist/ezui/p-a8c7355e.entry.js +1 -0
  165. package/dist/ezui/p-ada6e6b0.entry.js +1 -0
  166. package/dist/ezui/p-b1e4ccf4.entry.js +1 -0
  167. package/dist/ezui/p-b3c7b243.entry.js +1 -0
  168. package/dist/ezui/p-b405d9b6.entry.js +304 -0
  169. package/dist/ezui/p-b941aeee.entry.js +1 -0
  170. package/dist/ezui/p-c0184982.entry.js +1 -0
  171. package/dist/ezui/p-c1300e84.entry.js +1 -0
  172. package/dist/ezui/p-c98e571a.entry.js +1 -0
  173. package/dist/ezui/p-cc40fcb3.entry.js +1 -0
  174. package/dist/ezui/p-cc5cfcb7.entry.js +1 -0
  175. package/dist/ezui/p-d6dd32b2.entry.js +1 -0
  176. package/dist/ezui/p-db131605.entry.js +1 -0
  177. package/dist/ezui/{p-ba03ac61.entry.js → p-e0d756d9.entry.js} +1 -1
  178. package/dist/ezui/p-eceb9382.entry.js +1 -0
  179. package/dist/ezui/p-f18d39e6.entry.js +1 -0
  180. package/dist/ezui/p-f670bd32.entry.js +1 -0
  181. package/dist/ezui/p-fcf6cf57.entry.js +1 -0
  182. package/dist/ezui/p-fd87638e.entry.js +1 -0
  183. package/dist/types/components.d.ts +195 -63
  184. package/dist/types/stencil-public-runtime.d.ts +79 -7
  185. package/loader/index.d.ts +9 -0
  186. package/loader/package.json +1 -0
  187. package/package.json +4 -4
  188. package/react/components.d.ts +0 -1
  189. package/dist/ezui/p-0cd0545d.entry.js +0 -1
  190. package/dist/ezui/p-1a27bb9f.entry.js +0 -1
  191. package/dist/ezui/p-1b94b9dc.entry.js +0 -1
  192. package/dist/ezui/p-20c01161.entry.js +0 -1
  193. package/dist/ezui/p-24717f87.entry.js +0 -1
  194. package/dist/ezui/p-3320768e.entry.js +0 -1
  195. package/dist/ezui/p-368037b9.entry.js +0 -1
  196. package/dist/ezui/p-47bcc678.entry.js +0 -1
  197. package/dist/ezui/p-4c444816.entry.js +0 -1
  198. package/dist/ezui/p-608d13e8.entry.js +0 -1
  199. package/dist/ezui/p-626b8940.entry.js +0 -1
  200. package/dist/ezui/p-6414e7cb.entry.js +0 -1
  201. package/dist/ezui/p-6630eca2.entry.js +0 -1
  202. package/dist/ezui/p-67b9a2cb.entry.js +0 -1
  203. package/dist/ezui/p-6f9aba86.entry.js +0 -1
  204. package/dist/ezui/p-7b80df03.js +0 -1
  205. package/dist/ezui/p-7d42065a.entry.js +0 -1
  206. package/dist/ezui/p-97d2d2f6.entry.js +0 -1
  207. package/dist/ezui/p-99aea44b.entry.js +0 -1
  208. package/dist/ezui/p-a4b4645d.entry.js +0 -1
  209. package/dist/ezui/p-ab5eee38.entry.js +0 -1
  210. package/dist/ezui/p-ad7151e0.entry.js +0 -1
  211. package/dist/ezui/p-ad8b7412.entry.js +0 -1
  212. package/dist/ezui/p-ae168e45.entry.js +0 -1
  213. package/dist/ezui/p-b2e861cb.entry.js +0 -1
  214. package/dist/ezui/p-b2efb22c.entry.js +0 -1
  215. package/dist/ezui/p-b4ccb29c.entry.js +0 -304
  216. package/dist/ezui/p-b5557d33.entry.js +0 -1
  217. package/dist/ezui/p-bd9792e2.entry.js +0 -1
  218. package/dist/ezui/p-bf8a633d.entry.js +0 -1
  219. package/dist/ezui/p-c071db26.entry.js +0 -1
  220. package/dist/ezui/p-c3529df3.entry.js +0 -1
  221. package/dist/ezui/p-c53b2db8.entry.js +0 -1
  222. package/dist/ezui/p-ca7435a6.entry.js +0 -1
  223. package/dist/ezui/p-cc038b32.entry.js +0 -1
  224. package/dist/ezui/p-e203c89f.entry.js +0 -1
  225. package/dist/ezui/p-f08de60b.entry.js +0 -1
@@ -1,27 +1,16 @@
1
- import { Component, Event, h, Prop, Watch, Element, Method } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import CSSVarsUtils from "../../utils/CSSVarsUtils";
3
3
  import { ElementIDUtils } from "@sankhyalabs/core";
4
4
  export class EzSearch {
5
5
  constructor() {
6
- /**
7
- * Se false o usuário não pode interagir com o campo.
8
- */
6
+ this.value = undefined;
7
+ this.label = undefined;
9
8
  this.enabled = true;
10
- /**
11
- * Se false a opção selecionada deve exibir somente o `label`.
12
- */
9
+ this.errorMessage = undefined;
10
+ this.optionLoader = undefined;
13
11
  this.showSelectedValue = true;
14
- /**
15
- * Se false cada opção na lista deve exibir somente o `label`.
16
- */
17
12
  this.showOptionValue = true;
18
- /**
19
- * Se true remove a opção vazia da lista.
20
- */
21
13
  this.suppressEmptyOption = false;
22
- /**
23
- * Define o tamanho do campo.
24
- */
25
14
  this.mode = "regular";
26
15
  }
27
16
  observeErrorMessage() {
@@ -70,267 +59,279 @@ export class EzSearch {
70
59
  ;
71
60
  static get is() { return "ez-search"; }
72
61
  static get encapsulation() { return "shadow"; }
73
- static get originalStyleUrls() { return {
74
- "$": ["ez-search.css"]
75
- }; }
76
- static get styleUrls() { return {
77
- "$": ["ez-search.css"]
78
- }; }
79
- static get properties() { return {
80
- "value": {
81
- "type": "string",
82
- "mutable": true,
83
- "complexType": {
84
- "original": "IOption | string",
85
- "resolved": "IOption | string",
86
- "references": {
87
- "IOption": {
88
- "location": "import",
89
- "path": "../ez-combo-box/ez-combo-box"
62
+ static get originalStyleUrls() {
63
+ return {
64
+ "$": ["ez-search.css"]
65
+ };
66
+ }
67
+ static get styleUrls() {
68
+ return {
69
+ "$": ["ez-search.css"]
70
+ };
71
+ }
72
+ static get properties() {
73
+ return {
74
+ "value": {
75
+ "type": "string",
76
+ "mutable": true,
77
+ "complexType": {
78
+ "original": "IOption | string",
79
+ "resolved": "IOption | string",
80
+ "references": {
81
+ "IOption": {
82
+ "location": "import",
83
+ "path": "../ez-combo-box/ez-combo-box"
84
+ }
90
85
  }
91
- }
92
- },
93
- "required": false,
94
- "optional": false,
95
- "docs": {
96
- "tags": [],
97
- "text": "Define o valor do campo."
98
- },
99
- "attribute": "value",
100
- "reflect": true
101
- },
102
- "label": {
103
- "type": "string",
104
- "mutable": true,
105
- "complexType": {
106
- "original": "string",
107
- "resolved": "string",
108
- "references": {}
109
- },
110
- "required": false,
111
- "optional": false,
112
- "docs": {
113
- "tags": [],
114
- "text": "Texto a ser apresentado como t\u00EDtulo do campo."
115
- },
116
- "attribute": "label",
117
- "reflect": true
118
- },
119
- "enabled": {
120
- "type": "boolean",
121
- "mutable": true,
122
- "complexType": {
123
- "original": "boolean",
124
- "resolved": "boolean",
125
- "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": "Define o valor do campo."
92
+ },
93
+ "attribute": "value",
94
+ "reflect": true
126
95
  },
127
- "required": false,
128
- "optional": false,
129
- "docs": {
130
- "tags": [],
131
- "text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
96
+ "label": {
97
+ "type": "string",
98
+ "mutable": true,
99
+ "complexType": {
100
+ "original": "string",
101
+ "resolved": "string",
102
+ "references": {}
103
+ },
104
+ "required": false,
105
+ "optional": false,
106
+ "docs": {
107
+ "tags": [],
108
+ "text": "Texto a ser apresentado como t\u00EDtulo do campo."
109
+ },
110
+ "attribute": "label",
111
+ "reflect": true
132
112
  },
133
- "attribute": "enabled",
134
- "reflect": true,
135
- "defaultValue": "true"
136
- },
137
- "errorMessage": {
138
- "type": "string",
139
- "mutable": true,
140
- "complexType": {
141
- "original": "string",
142
- "resolved": "string",
143
- "references": {}
113
+ "enabled": {
114
+ "type": "boolean",
115
+ "mutable": true,
116
+ "complexType": {
117
+ "original": "boolean",
118
+ "resolved": "boolean",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
126
+ },
127
+ "attribute": "enabled",
128
+ "reflect": true,
129
+ "defaultValue": "true"
144
130
  },
145
- "required": false,
146
- "optional": false,
147
- "docs": {
148
- "tags": [],
149
- "text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido."
131
+ "errorMessage": {
132
+ "type": "string",
133
+ "mutable": true,
134
+ "complexType": {
135
+ "original": "string",
136
+ "resolved": "string",
137
+ "references": {}
138
+ },
139
+ "required": false,
140
+ "optional": false,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido."
144
+ },
145
+ "attribute": "error-message",
146
+ "reflect": true
150
147
  },
151
- "attribute": "error-message",
152
- "reflect": true
153
- },
154
- "optionLoader": {
155
- "type": "unknown",
156
- "mutable": false,
157
- "complexType": {
158
- "original": "(argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption",
159
- "resolved": "(argument: ISearchArgument) => IOption | IOption[] | Promise<IOption[]>",
160
- "references": {
161
- "ISearchArgument": {
162
- "location": "import",
163
- "path": "../ez-combo-box/ez-combo-box"
164
- },
165
- "Promise": {
166
- "location": "global"
167
- },
168
- "Array": {
169
- "location": "global"
170
- },
171
- "IOption": {
172
- "location": "import",
173
- "path": "../ez-combo-box/ez-combo-box"
148
+ "optionLoader": {
149
+ "type": "unknown",
150
+ "mutable": false,
151
+ "complexType": {
152
+ "original": "(argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption",
153
+ "resolved": "(argument: ISearchArgument) => IOption | IOption[] | Promise<IOption[]>",
154
+ "references": {
155
+ "ISearchArgument": {
156
+ "location": "import",
157
+ "path": "../ez-combo-box/ez-combo-box"
158
+ },
159
+ "Promise": {
160
+ "location": "global"
161
+ },
162
+ "Array": {
163
+ "location": "global"
164
+ },
165
+ "IOption": {
166
+ "location": "import",
167
+ "path": "../ez-combo-box/ez-combo-box"
168
+ }
174
169
  }
170
+ },
171
+ "required": false,
172
+ "optional": false,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": "Carrega as op\u00E7\u00F5es dinamicamente."
175
176
  }
176
177
  },
177
- "required": false,
178
- "optional": false,
179
- "docs": {
180
- "tags": [],
181
- "text": "Carrega as op\u00E7\u00F5es dinamicamente."
182
- }
183
- },
184
- "showSelectedValue": {
185
- "type": "boolean",
186
- "mutable": false,
187
- "complexType": {
188
- "original": "boolean",
189
- "resolved": "boolean",
190
- "references": {}
191
- },
192
- "required": false,
193
- "optional": false,
194
- "docs": {
195
- "tags": [],
196
- "text": "Se false a op\u00E7\u00E3o selecionada deve exibir somente o `label`."
197
- },
198
- "attribute": "show-selected-value",
199
- "reflect": false,
200
- "defaultValue": "true"
201
- },
202
- "showOptionValue": {
203
- "type": "boolean",
204
- "mutable": false,
205
- "complexType": {
206
- "original": "boolean",
207
- "resolved": "boolean",
208
- "references": {}
209
- },
210
- "required": false,
211
- "optional": false,
212
- "docs": {
213
- "tags": [],
214
- "text": "Se false cada op\u00E7\u00E3o na lista deve exibir somente o `label`."
215
- },
216
- "attribute": "show-option-value",
217
- "reflect": false,
218
- "defaultValue": "true"
219
- },
220
- "suppressEmptyOption": {
221
- "type": "boolean",
222
- "mutable": false,
223
- "complexType": {
224
- "original": "boolean",
225
- "resolved": "boolean",
226
- "references": {}
227
- },
228
- "required": false,
229
- "optional": false,
230
- "docs": {
231
- "tags": [],
232
- "text": "Se true remove a op\u00E7\u00E3o vazia da lista."
233
- },
234
- "attribute": "suppress-empty-option",
235
- "reflect": false,
236
- "defaultValue": "false"
237
- },
238
- "mode": {
239
- "type": "string",
240
- "mutable": false,
241
- "complexType": {
242
- "original": "\"slim\" | \"regular\"",
243
- "resolved": "\"regular\" | \"slim\"",
244
- "references": {}
245
- },
246
- "required": false,
247
- "optional": false,
248
- "docs": {
249
- "tags": [],
250
- "text": "Define o tamanho do campo."
178
+ "showSelectedValue": {
179
+ "type": "boolean",
180
+ "mutable": false,
181
+ "complexType": {
182
+ "original": "boolean",
183
+ "resolved": "boolean",
184
+ "references": {}
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "Se false a op\u00E7\u00E3o selecionada deve exibir somente o `label`."
191
+ },
192
+ "attribute": "show-selected-value",
193
+ "reflect": false,
194
+ "defaultValue": "true"
251
195
  },
252
- "attribute": "mode",
253
- "reflect": true,
254
- "defaultValue": "\"regular\""
255
- }
256
- }; }
257
- static get events() { return [{
258
- "method": "ezChange",
259
- "name": "ezChange",
260
- "bubbles": true,
261
- "cancelable": true,
262
- "composed": true,
263
- "docs": {
264
- "tags": [],
265
- "text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
196
+ "showOptionValue": {
197
+ "type": "boolean",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "boolean",
201
+ "resolved": "boolean",
202
+ "references": {}
203
+ },
204
+ "required": false,
205
+ "optional": false,
206
+ "docs": {
207
+ "tags": [],
208
+ "text": "Se false cada op\u00E7\u00E3o na lista deve exibir somente o `label`."
209
+ },
210
+ "attribute": "show-option-value",
211
+ "reflect": false,
212
+ "defaultValue": "true"
266
213
  },
267
- "complexType": {
268
- "original": "IOption",
269
- "resolved": "IOption",
270
- "references": {
271
- "IOption": {
272
- "location": "import",
273
- "path": "../ez-combo-box/ez-combo-box"
274
- }
275
- }
276
- }
277
- }]; }
278
- static get methods() { return {
279
- "setFocus": {
280
- "complexType": {
281
- "signature": "() => Promise<void>",
282
- "parameters": [],
283
- "references": {
284
- "Promise": {
285
- "location": "global"
286
- }
214
+ "suppressEmptyOption": {
215
+ "type": "boolean",
216
+ "mutable": false,
217
+ "complexType": {
218
+ "original": "boolean",
219
+ "resolved": "boolean",
220
+ "references": {}
221
+ },
222
+ "required": false,
223
+ "optional": false,
224
+ "docs": {
225
+ "tags": [],
226
+ "text": "Se true remove a op\u00E7\u00E3o vazia da lista."
287
227
  },
288
- "return": "Promise<void>"
228
+ "attribute": "suppress-empty-option",
229
+ "reflect": false,
230
+ "defaultValue": "false"
289
231
  },
290
- "docs": {
291
- "text": "Aplica o foco no campo.",
292
- "tags": []
232
+ "mode": {
233
+ "type": "string",
234
+ "mutable": false,
235
+ "complexType": {
236
+ "original": "\"slim\" | \"regular\"",
237
+ "resolved": "\"regular\" | \"slim\"",
238
+ "references": {}
239
+ },
240
+ "required": false,
241
+ "optional": false,
242
+ "docs": {
243
+ "tags": [],
244
+ "text": "Define o tamanho do campo."
245
+ },
246
+ "attribute": "mode",
247
+ "reflect": true,
248
+ "defaultValue": "\"regular\""
293
249
  }
294
- },
295
- "setBlur": {
296
- "complexType": {
297
- "signature": "() => Promise<void>",
298
- "parameters": [],
299
- "references": {
300
- "Promise": {
301
- "location": "global"
250
+ };
251
+ }
252
+ static get events() {
253
+ return [{
254
+ "method": "ezChange",
255
+ "name": "ezChange",
256
+ "bubbles": true,
257
+ "cancelable": true,
258
+ "composed": true,
259
+ "docs": {
260
+ "tags": [],
261
+ "text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
262
+ },
263
+ "complexType": {
264
+ "original": "IOption",
265
+ "resolved": "IOption",
266
+ "references": {
267
+ "IOption": {
268
+ "location": "import",
269
+ "path": "../ez-combo-box/ez-combo-box"
270
+ }
302
271
  }
272
+ }
273
+ }];
274
+ }
275
+ static get methods() {
276
+ return {
277
+ "setFocus": {
278
+ "complexType": {
279
+ "signature": "() => Promise<void>",
280
+ "parameters": [],
281
+ "references": {
282
+ "Promise": {
283
+ "location": "global"
284
+ }
285
+ },
286
+ "return": "Promise<void>"
303
287
  },
304
- "return": "Promise<void>"
288
+ "docs": {
289
+ "text": "Aplica o foco no campo.",
290
+ "tags": []
291
+ }
305
292
  },
306
- "docs": {
307
- "text": "Remove o foco do campo.",
308
- "tags": []
309
- }
310
- },
311
- "isInvalid": {
312
- "complexType": {
313
- "signature": "() => Promise<boolean>",
314
- "parameters": [],
315
- "references": {
316
- "Promise": {
317
- "location": "global"
318
- }
293
+ "setBlur": {
294
+ "complexType": {
295
+ "signature": "() => Promise<void>",
296
+ "parameters": [],
297
+ "references": {
298
+ "Promise": {
299
+ "location": "global"
300
+ }
301
+ },
302
+ "return": "Promise<void>"
319
303
  },
320
- "return": "Promise<boolean>"
304
+ "docs": {
305
+ "text": "Remove o foco do campo.",
306
+ "tags": []
307
+ }
321
308
  },
322
- "docs": {
323
- "text": "Retorna se o conte\u00FAdo \u00E9 inv\u00E1lido.",
324
- "tags": []
309
+ "isInvalid": {
310
+ "complexType": {
311
+ "signature": "() => Promise<boolean>",
312
+ "parameters": [],
313
+ "references": {
314
+ "Promise": {
315
+ "location": "global"
316
+ }
317
+ },
318
+ "return": "Promise<boolean>"
319
+ },
320
+ "docs": {
321
+ "text": "Retorna se o conte\u00FAdo \u00E9 inv\u00E1lido.",
322
+ "tags": []
323
+ }
325
324
  }
326
- }
327
- }; }
325
+ };
326
+ }
328
327
  static get elementRef() { return "_elem"; }
329
- static get watchers() { return [{
330
- "propName": "errorMessage",
331
- "methodName": "observeErrorMessage"
332
- }, {
333
- "propName": "value",
334
- "methodName": "observeValue"
335
- }]; }
328
+ static get watchers() {
329
+ return [{
330
+ "propName": "errorMessage",
331
+ "methodName": "observeErrorMessage"
332
+ }, {
333
+ "propName": "value",
334
+ "methodName": "observeValue"
335
+ }];
336
+ }
336
337
  }
@@ -1,5 +1,5 @@
1
1
  import { ElementIDUtils } from "@sankhyalabs/core";
2
- import { Component, h, Event, Element } from "@stencil/core";
2
+ import { h } from "@stencil/core";
3
3
  export class EzSidebarButton {
4
4
  componentDidLoad() {
5
5
  if (this._element) {
@@ -11,32 +11,37 @@ export class EzSidebarButton {
11
11
  }
12
12
  }
13
13
  render() {
14
- return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el },
15
- h("span", null)));
14
+ return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null)));
16
15
  }
17
16
  static get is() { return "ez-sidebar-button"; }
18
17
  static get encapsulation() { return "shadow"; }
19
- static get originalStyleUrls() { return {
20
- "$": ["ez-sidebar-button.css"]
21
- }; }
22
- static get styleUrls() { return {
23
- "$": ["ez-sidebar-button.css"]
24
- }; }
25
- static get events() { return [{
26
- "method": "ezClick",
27
- "name": "ezClick",
28
- "bubbles": true,
29
- "cancelable": true,
30
- "composed": true,
31
- "docs": {
32
- "tags": [],
33
- "text": "Emitido sempre que o ez-sidebar-button \u00E9 clicado."
34
- },
35
- "complexType": {
36
- "original": "void",
37
- "resolved": "void",
38
- "references": {}
39
- }
40
- }]; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["ez-sidebar-button.css"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["ez-sidebar-button.css"]
26
+ };
27
+ }
28
+ static get events() {
29
+ return [{
30
+ "method": "ezClick",
31
+ "name": "ezClick",
32
+ "bubbles": true,
33
+ "cancelable": true,
34
+ "composed": true,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": "Emitido sempre que o ez-sidebar-button \u00E9 clicado."
38
+ },
39
+ "complexType": {
40
+ "original": "void",
41
+ "resolved": "void",
42
+ "references": {}
43
+ }
44
+ }];
45
+ }
41
46
  static get elementRef() { return "_element"; }
42
47
  }