@sankhyalabs/ezui 3.0.0 → 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 (230) 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 +8 -11
  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 +11131 -6779
  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.css +4 -0
  53. package/dist/collection/components/ez-chip/ez-chip.js +192 -188
  54. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +282 -293
  55. package/dist/collection/components/ez-combo-box/ez-combo-box.js +348 -361
  56. package/dist/collection/components/ez-date-input/ez-date-input.js +213 -207
  57. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +233 -228
  58. package/dist/collection/components/ez-dialog/ez-dialog.js +203 -209
  59. package/dist/collection/components/ez-dropdown/ez-dropdown.js +128 -127
  60. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js +1 -4
  61. package/dist/collection/components/ez-file-item/ez-file-item.js +144 -142
  62. package/dist/collection/components/ez-filter-input/ez-filter-input.js +197 -188
  63. package/dist/collection/components/ez-form/DataBinder.js +12 -6
  64. package/dist/collection/components/ez-form/ez-form.js +191 -177
  65. package/dist/collection/components/ez-form-view/ez-form-view.js +38 -29
  66. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -2
  67. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -2
  68. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +3 -6
  69. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -2
  70. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -2
  71. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -2
  72. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -2
  73. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -2
  74. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +20 -1
  75. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +1 -1
  76. package/dist/collection/components/ez-grid/ez-grid.js +366 -352
  77. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +120 -125
  78. package/dist/collection/components/ez-icon/ez-icon.js +68 -64
  79. package/dist/collection/components/ez-list/ez-list.js +246 -266
  80. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +49 -42
  81. package/dist/collection/components/ez-modal/ez-modal.js +143 -143
  82. package/dist/collection/components/ez-modal-container/ez-modal-container.js +153 -155
  83. package/dist/collection/components/ez-number-input/ez-number-input.js +246 -233
  84. package/dist/collection/components/ez-popover/ez-popover.js +273 -283
  85. package/dist/collection/components/ez-popup/ez-popup.js +121 -133
  86. package/dist/collection/components/ez-radio-button/ez-radio-button.js +123 -126
  87. package/dist/collection/components/ez-scroller/ez-scroller.js +104 -100
  88. package/dist/collection/components/ez-search/ez-search.js +260 -259
  89. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +30 -25
  90. package/dist/collection/components/ez-tabselector/ez-tabselector.js +115 -106
  91. package/dist/collection/components/ez-text-area/ez-text-area.js +217 -218
  92. package/dist/collection/components/ez-text-edit/ez-text-edit.js +109 -96
  93. package/dist/collection/components/ez-text-input/ez-text-input.js +248 -248
  94. package/dist/collection/components/ez-time-input/ez-time-input.js +227 -223
  95. package/dist/collection/components/ez-toast/ez-toast.js +117 -121
  96. package/dist/collection/components/ez-tree/ez-tree.js +289 -275
  97. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +7 -11
  98. package/dist/collection/components/ez-upload/ez-upload.js +283 -281
  99. package/dist/collection/components/ez-view-stack/ez-view-stack.js +46 -40
  100. package/dist/custom-elements/index.js +11121 -6945
  101. package/dist/esm/ez-actions-button.entry.js +12 -26
  102. package/dist/esm/ez-alert.entry.js +2 -5
  103. package/dist/esm/ez-application.entry.js +2 -2
  104. package/dist/esm/ez-breadcrumb.entry.js +2 -5
  105. package/dist/esm/ez-button.entry.js +6 -8
  106. package/dist/esm/ez-calendar.entry.js +2 -14
  107. package/dist/esm/ez-card-item.entry.js +3 -2
  108. package/dist/esm/ez-check.entry.js +5 -8
  109. package/dist/esm/ez-chip.entry.js +8 -11
  110. package/dist/esm/ez-collapsible-box.entry.js +4 -20
  111. package/dist/esm/ez-combo-box.entry.js +11 -23
  112. package/dist/esm/ez-date-input.entry.js +5 -8
  113. package/dist/esm/ez-date-time-input.entry.js +5 -11
  114. package/dist/esm/ez-dialog.entry.js +7 -9
  115. package/dist/esm/ez-dropdown.entry.js +4 -5
  116. package/dist/esm/ez-file-item.entry.js +5 -8
  117. package/dist/esm/ez-filter-input_4.entry.js +14 -23
  118. package/dist/esm/ez-form-view.entry.js +3 -2
  119. package/dist/esm/ez-form.entry.js +26 -20
  120. package/dist/esm/ez-grid.entry.js +11131 -6779
  121. package/dist/esm/ez-guide-navigator.entry.js +3 -11
  122. package/dist/esm/ez-icon.entry.js +4 -5
  123. package/dist/esm/ez-list.entry.js +4 -15
  124. package/dist/esm/ez-loading-bar.entry.js +2 -2
  125. package/dist/esm/ez-modal-container.entry.js +8 -5
  126. package/dist/esm/ez-modal.entry.js +7 -14
  127. package/dist/esm/ez-number-input.entry.js +7 -8
  128. package/dist/esm/ez-popover.entry.js +11 -30
  129. package/dist/esm/ez-popup.entry.js +3 -14
  130. package/dist/esm/ez-radio-button.entry.js +4 -11
  131. package/dist/esm/ez-search.entry.js +6 -17
  132. package/dist/esm/ez-tabselector.entry.js +6 -2
  133. package/dist/esm/ez-text-area.entry.js +5 -14
  134. package/dist/esm/ez-text-edit.entry.js +5 -2
  135. package/dist/esm/ez-text-input.entry.js +7 -14
  136. package/dist/esm/ez-time-input.entry.js +5 -11
  137. package/dist/esm/ez-toast.entry.js +3 -11
  138. package/dist/esm/ez-upload.entry.js +9 -5
  139. package/dist/esm/ez-view-stack.entry.js +2 -2
  140. package/dist/esm/ezui.js +3 -2
  141. package/dist/esm/{index-c5203f95.js → index-de655f48.js} +588 -249
  142. package/dist/esm/loader.js +3 -2
  143. package/dist/esm/polyfills/css-shim.js +1 -1
  144. package/dist/ezui/ezui.esm.js +1 -1
  145. package/dist/ezui/p-06b3e801.entry.js +1 -0
  146. package/dist/ezui/p-07b99b94.entry.js +1 -0
  147. package/dist/ezui/p-0c7e81fe.entry.js +1 -0
  148. package/dist/ezui/p-1581fece.entry.js +1 -0
  149. package/dist/ezui/p-1b95836f.entry.js +1 -0
  150. package/dist/ezui/p-36f7ec68.entry.js +1 -0
  151. package/dist/ezui/p-37b4bf04.entry.js +1 -0
  152. package/dist/ezui/p-493e2af4.entry.js +1 -0
  153. package/dist/ezui/p-4bfed869.entry.js +1 -0
  154. package/dist/ezui/p-600f1732.entry.js +1 -0
  155. package/dist/ezui/p-62481744.entry.js +1 -0
  156. package/dist/ezui/p-6818dd0a.entry.js +1 -0
  157. package/dist/ezui/p-695facd0.entry.js +1 -0
  158. package/dist/ezui/p-7ffd12e7.js +2 -0
  159. package/dist/ezui/p-82db6de7.entry.js +1 -0
  160. package/dist/ezui/p-86d29565.entry.js +1 -0
  161. package/dist/ezui/p-8ca4750d.entry.js +1 -0
  162. package/dist/ezui/p-9613fae6.entry.js +1 -0
  163. package/dist/ezui/{p-fc97f773.entry.js → p-a323b415.entry.js} +1 -1
  164. package/dist/ezui/p-a4b281ca.entry.js +1 -0
  165. package/dist/ezui/p-a67e056f.entry.js +1 -0
  166. package/dist/ezui/p-a8c7355e.entry.js +1 -0
  167. package/dist/ezui/p-ada6e6b0.entry.js +1 -0
  168. package/dist/ezui/p-b1e4ccf4.entry.js +1 -0
  169. package/dist/ezui/p-b3c7b243.entry.js +1 -0
  170. package/dist/ezui/p-b405d9b6.entry.js +304 -0
  171. package/dist/ezui/p-b941aeee.entry.js +1 -0
  172. package/dist/ezui/p-c0184982.entry.js +1 -0
  173. package/dist/ezui/p-c1300e84.entry.js +1 -0
  174. package/dist/ezui/p-c98e571a.entry.js +1 -0
  175. package/dist/ezui/p-cc40fcb3.entry.js +1 -0
  176. package/dist/ezui/p-cc5cfcb7.entry.js +1 -0
  177. package/dist/ezui/p-d6dd32b2.entry.js +1 -0
  178. package/dist/ezui/p-db131605.entry.js +1 -0
  179. package/dist/ezui/{p-ba03ac61.entry.js → p-e0d756d9.entry.js} +1 -1
  180. package/dist/ezui/p-eceb9382.entry.js +1 -0
  181. package/dist/ezui/p-f18d39e6.entry.js +1 -0
  182. package/dist/ezui/p-f670bd32.entry.js +1 -0
  183. package/dist/ezui/p-fcf6cf57.entry.js +1 -0
  184. package/dist/ezui/p-fd87638e.entry.js +1 -0
  185. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -1
  186. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
  187. package/dist/types/components.d.ts +195 -63
  188. package/dist/types/stencil-public-runtime.d.ts +79 -7
  189. package/loader/index.d.ts +9 -0
  190. package/loader/package.json +1 -0
  191. package/package.json +4 -4
  192. package/react/components.d.ts +0 -1
  193. package/dist/ezui/p-0cd0545d.entry.js +0 -1
  194. package/dist/ezui/p-1a27bb9f.entry.js +0 -1
  195. package/dist/ezui/p-1b94b9dc.entry.js +0 -1
  196. package/dist/ezui/p-20c01161.entry.js +0 -1
  197. package/dist/ezui/p-24717f87.entry.js +0 -1
  198. package/dist/ezui/p-3320768e.entry.js +0 -1
  199. package/dist/ezui/p-368037b9.entry.js +0 -1
  200. package/dist/ezui/p-47bcc678.entry.js +0 -1
  201. package/dist/ezui/p-47ca5e09.entry.js +0 -1
  202. package/dist/ezui/p-4c444816.entry.js +0 -1
  203. package/dist/ezui/p-608d13e8.entry.js +0 -1
  204. package/dist/ezui/p-626b8940.entry.js +0 -1
  205. package/dist/ezui/p-6414e7cb.entry.js +0 -1
  206. package/dist/ezui/p-6630eca2.entry.js +0 -1
  207. package/dist/ezui/p-67b9a2cb.entry.js +0 -1
  208. package/dist/ezui/p-6f9aba86.entry.js +0 -1
  209. package/dist/ezui/p-7b80df03.js +0 -1
  210. package/dist/ezui/p-7d42065a.entry.js +0 -1
  211. package/dist/ezui/p-97d2d2f6.entry.js +0 -1
  212. package/dist/ezui/p-99aea44b.entry.js +0 -1
  213. package/dist/ezui/p-a4b4645d.entry.js +0 -1
  214. package/dist/ezui/p-ab5eee38.entry.js +0 -1
  215. package/dist/ezui/p-ad7151e0.entry.js +0 -1
  216. package/dist/ezui/p-ad8b7412.entry.js +0 -1
  217. package/dist/ezui/p-ae168e45.entry.js +0 -1
  218. package/dist/ezui/p-b2e861cb.entry.js +0 -1
  219. package/dist/ezui/p-b2efb22c.entry.js +0 -1
  220. package/dist/ezui/p-b5557d33.entry.js +0 -1
  221. package/dist/ezui/p-bc324ee8.entry.js +0 -304
  222. package/dist/ezui/p-bd9792e2.entry.js +0 -1
  223. package/dist/ezui/p-bf8a633d.entry.js +0 -1
  224. package/dist/ezui/p-c071db26.entry.js +0 -1
  225. package/dist/ezui/p-c3529df3.entry.js +0 -1
  226. package/dist/ezui/p-c53b2db8.entry.js +0 -1
  227. package/dist/ezui/p-ca7435a6.entry.js +0 -1
  228. package/dist/ezui/p-cc038b32.entry.js +0 -1
  229. package/dist/ezui/p-e203c89f.entry.js +0 -1
  230. package/dist/ezui/p-f08de60b.entry.js +0 -1
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5e208fa5.js');
5
+ const index = require('./index-892780f1.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -18,4 +18,5 @@ const defineCustomElements = (win, options) => {
18
18
  });
19
19
  };
20
20
 
21
+ exports.setNonce = index.setNonce;
21
22
  exports.defineCustomElements = defineCustomElements;
@@ -45,8 +45,8 @@
45
45
  ],
46
46
  "compiler": {
47
47
  "name": "@stencil/core",
48
- "version": "2.13.0",
49
- "typescriptVersion": "4.3.5"
48
+ "version": "2.22.3",
49
+ "typescriptVersion": "4.9.4"
50
50
  },
51
51
  "collections": [],
52
52
  "bundles": [
@@ -1,33 +1,9 @@
1
1
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
2
- import { Component, Element, Event, h, Host, Prop, State, Method } from '@stencil/core';
2
+ import { h, Host } from '@stencil/core';
3
3
  import { CSSVarsUtils } from '../../utils';
4
4
  export class EzActionsButton {
5
5
  constructor() {
6
6
  this._arrowOffset = 5;
7
- /**
8
- * Se false o usuário não pode interagir com o componente.
9
- */
10
- this.enabled = true;
11
- /**
12
- * Determina o tamanho do ez-action-button.
13
- */
14
- this.size = "medium";
15
- /**
16
- * Se true o label será apresentado.
17
- */
18
- this.showLabel = false;
19
- /**
20
- * Se true o check será apresentado para os itens.
21
- */
22
- this.checkOption = false;
23
- /**
24
- * Se true o background será transparent.
25
- */
26
- this.isTransparent = false;
27
- /**
28
- * Se true a seta de ordenação será apresentada.
29
- */
30
- this.arrowActive = false;
31
7
  this.innerClickCheck = (floatingContainer, node) => {
32
8
  var _a;
33
9
  if (node && floatingContainer) {
@@ -43,6 +19,16 @@ export class EzActionsButton {
43
19
  }
44
20
  return false;
45
21
  };
22
+ this._selectedAction = undefined;
23
+ this.enabled = true;
24
+ this.actions = undefined;
25
+ this.size = "medium";
26
+ this.showLabel = false;
27
+ this.displayIcon = undefined;
28
+ this.checkOption = false;
29
+ this.value = undefined;
30
+ this.isTransparent = false;
31
+ this.arrowActive = false;
46
32
  }
47
33
  /**
48
34
  * Oculta a lista de ações.
@@ -193,255 +179,261 @@ export class EzActionsButton {
193
179
  }
194
180
  render() {
195
181
  var _a;
196
- return (h(Host, null,
197
- h("ez-button", { ref: elem => this._button = elem, class: (this.isTransparent ? "ez-actions-button__btn-transparent" : "") +
198
- (this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ? undefined : "icon", iconName: this.showLabel ? "" : this.displayIcon || "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }, this.showLabel &&
199
- h("ez-icon", { class: "ez-actions-button__icon-right", slot: "rightIcon", iconName: this.displayIcon || "dots-vertical" })),
200
- h("section", { class: "ez-actions-button__list-container", ref: elem => this._listContainer = elem },
201
- this.arrowActive &&
202
- h("div", { class: "ez-actions-button__arrow ez-actions-button__arrow--" + (this.size || "small") +
203
- (this.isTransparent ? " ez-actions-button__arrow--upped" : "") }),
204
- h("div", { ref: elem => this._actionsList = elem, class: "ez-actions-button__actions-list" +
205
- (this.arrowActive && !this.isTransparent ? " ez-actions-button__actions-list--lowered" : "") }, this.actions.map(action => {
206
- var _a;
207
- return h("ez-button", { size: "small", label: action.label, onClick: () => this.actionClick(action), class: "ez-actions-button__btn-action" +
208
- (this.checkOption || this.hasIconName() ? " ez-actions-button__btn-action--spaced" : "") },
209
- this.checkOption && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.value) === action.value &&
210
- h("ez-icon", { class: "ez-actions-button__icon-check", slot: "leftIcon", size: "small", iconName: "check" }),
211
- !this.checkOption && action.iconName &&
212
- h("ez-icon", { class: "ez-actions-button__icon-item", slot: "leftIcon", size: "small", iconName: action.iconName }));
213
- })))));
182
+ return (h(Host, null, h("ez-button", { ref: elem => this._button = elem, class: (this.isTransparent ? "ez-actions-button__btn-transparent" : "") +
183
+ (this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ? undefined : "icon", iconName: this.showLabel ? "" : this.displayIcon || "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }, this.showLabel &&
184
+ h("ez-icon", { class: "ez-actions-button__icon-right", slot: "rightIcon", iconName: this.displayIcon || "dots-vertical" })), h("section", { class: "ez-actions-button__list-container", ref: elem => this._listContainer = elem }, this.arrowActive &&
185
+ h("div", { class: "ez-actions-button__arrow ez-actions-button__arrow--" + (this.size || "small") +
186
+ (this.isTransparent ? " ez-actions-button__arrow--upped" : "") }), h("div", { ref: elem => this._actionsList = elem, class: "ez-actions-button__actions-list" +
187
+ (this.arrowActive && !this.isTransparent ? " ez-actions-button__actions-list--lowered" : "") }, this.actions.map(action => {
188
+ var _a;
189
+ return h("ez-button", { size: "small", label: action.label, onClick: () => this.actionClick(action), class: "ez-actions-button__btn-action" +
190
+ (this.checkOption || this.hasIconName() ? " ez-actions-button__btn-action--spaced" : "") }, this.checkOption && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.value) === action.value &&
191
+ h("ez-icon", { class: "ez-actions-button__icon-check", slot: "leftIcon", size: "small", iconName: "check" }), !this.checkOption && action.iconName &&
192
+ h("ez-icon", { class: "ez-actions-button__icon-item", slot: "leftIcon", size: "small", iconName: action.iconName }));
193
+ })))));
214
194
  }
215
195
  static get is() { return "ez-actions-button"; }
216
196
  static get encapsulation() { return "shadow"; }
217
- static get originalStyleUrls() { return {
218
- "$": ["ez-actions-button.css"]
219
- }; }
220
- static get styleUrls() { return {
221
- "$": ["ez-actions-button.css"]
222
- }; }
223
- static get properties() { return {
224
- "enabled": {
225
- "type": "boolean",
226
- "mutable": false,
227
- "complexType": {
228
- "original": "boolean",
229
- "resolved": "boolean",
230
- "references": {}
231
- },
232
- "required": false,
233
- "optional": false,
234
- "docs": {
235
- "tags": [],
236
- "text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o componente."
197
+ static get originalStyleUrls() {
198
+ return {
199
+ "$": ["ez-actions-button.css"]
200
+ };
201
+ }
202
+ static get styleUrls() {
203
+ return {
204
+ "$": ["ez-actions-button.css"]
205
+ };
206
+ }
207
+ static get properties() {
208
+ return {
209
+ "enabled": {
210
+ "type": "boolean",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "boolean",
214
+ "resolved": "boolean",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o componente."
222
+ },
223
+ "attribute": "enabled",
224
+ "reflect": true,
225
+ "defaultValue": "true"
237
226
  },
238
- "attribute": "enabled",
239
- "reflect": true,
240
- "defaultValue": "true"
241
- },
242
- "actions": {
243
- "type": "unknown",
244
- "mutable": true,
245
- "complexType": {
246
- "original": "Array<IAction>",
247
- "resolved": "IAction[]",
248
- "references": {
249
- "Array": {
250
- "location": "global"
251
- },
252
- "IAction": {
253
- "location": "local"
227
+ "actions": {
228
+ "type": "unknown",
229
+ "mutable": true,
230
+ "complexType": {
231
+ "original": "Array<IAction>",
232
+ "resolved": "IAction[]",
233
+ "references": {
234
+ "Array": {
235
+ "location": "global"
236
+ },
237
+ "IAction": {
238
+ "location": "local"
239
+ }
254
240
  }
241
+ },
242
+ "required": false,
243
+ "optional": false,
244
+ "docs": {
245
+ "tags": [],
246
+ "text": "Define a lista de a\u00E7\u00F5es. Os elementos devem obedecer\no formato: `{value: string, label: string}`."
255
247
  }
256
248
  },
257
- "required": false,
258
- "optional": false,
259
- "docs": {
260
- "tags": [],
261
- "text": "Define a lista de a\u00E7\u00F5es. Os elementos devem obedecer\no formato: `{value: string, label: string}`."
262
- }
263
- },
264
- "size": {
265
- "type": "string",
266
- "mutable": false,
267
- "complexType": {
268
- "original": "\"small\" | \"medium\" | \"large\"",
269
- "resolved": "\"large\" | \"medium\" | \"small\"",
270
- "references": {}
271
- },
272
- "required": false,
273
- "optional": false,
274
- "docs": {
275
- "tags": [],
276
- "text": "Determina o tamanho do ez-action-button."
277
- },
278
- "attribute": "size",
279
- "reflect": true,
280
- "defaultValue": "\"medium\""
281
- },
282
- "showLabel": {
283
- "type": "boolean",
284
- "mutable": false,
285
- "complexType": {
286
- "original": "boolean",
287
- "resolved": "boolean",
288
- "references": {}
289
- },
290
- "required": false,
291
- "optional": false,
292
- "docs": {
293
- "tags": [],
294
- "text": "Se true o label ser\u00E1 apresentado."
295
- },
296
- "attribute": "show-label",
297
- "reflect": true,
298
- "defaultValue": "false"
299
- },
300
- "displayIcon": {
301
- "type": "string",
302
- "mutable": false,
303
- "complexType": {
304
- "original": "string",
305
- "resolved": "string",
306
- "references": {}
307
- },
308
- "required": false,
309
- "optional": false,
310
- "docs": {
311
- "tags": [],
312
- "text": "Define o \u00EDcone do componente."
313
- },
314
- "attribute": "display-icon",
315
- "reflect": true
316
- },
317
- "checkOption": {
318
- "type": "boolean",
319
- "mutable": false,
320
- "complexType": {
321
- "original": "boolean",
322
- "resolved": "boolean",
323
- "references": {}
324
- },
325
- "required": false,
326
- "optional": false,
327
- "docs": {
328
- "tags": [],
329
- "text": "Se true o check ser\u00E1 apresentado para os itens."
330
- },
331
- "attribute": "check-option",
332
- "reflect": true,
333
- "defaultValue": "false"
334
- },
335
- "value": {
336
- "type": "string",
337
- "mutable": false,
338
- "complexType": {
339
- "original": "string",
340
- "resolved": "string",
341
- "references": {}
342
- },
343
- "required": false,
344
- "optional": false,
345
- "docs": {
346
- "tags": [],
347
- "text": "Define o valor do componente."
348
- },
349
- "attribute": "value",
350
- "reflect": true
351
- },
352
- "isTransparent": {
353
- "type": "boolean",
354
- "mutable": false,
355
- "complexType": {
356
- "original": "boolean",
357
- "resolved": "boolean",
358
- "references": {}
249
+ "size": {
250
+ "type": "string",
251
+ "mutable": false,
252
+ "complexType": {
253
+ "original": "\"small\" | \"medium\" | \"large\"",
254
+ "resolved": "\"large\" | \"medium\" | \"small\"",
255
+ "references": {}
256
+ },
257
+ "required": false,
258
+ "optional": false,
259
+ "docs": {
260
+ "tags": [],
261
+ "text": "Determina o tamanho do ez-action-button."
262
+ },
263
+ "attribute": "size",
264
+ "reflect": true,
265
+ "defaultValue": "\"medium\""
359
266
  },
360
- "required": false,
361
- "optional": false,
362
- "docs": {
363
- "tags": [],
364
- "text": "Se true o background ser\u00E1 transparent."
267
+ "showLabel": {
268
+ "type": "boolean",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "boolean",
272
+ "resolved": "boolean",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": false,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "Se true o label ser\u00E1 apresentado."
280
+ },
281
+ "attribute": "show-label",
282
+ "reflect": true,
283
+ "defaultValue": "false"
365
284
  },
366
- "attribute": "is-transparent",
367
- "reflect": true,
368
- "defaultValue": "false"
369
- },
370
- "arrowActive": {
371
- "type": "boolean",
372
- "mutable": false,
373
- "complexType": {
374
- "original": "boolean",
375
- "resolved": "boolean",
376
- "references": {}
285
+ "displayIcon": {
286
+ "type": "string",
287
+ "mutable": false,
288
+ "complexType": {
289
+ "original": "string",
290
+ "resolved": "string",
291
+ "references": {}
292
+ },
293
+ "required": false,
294
+ "optional": false,
295
+ "docs": {
296
+ "tags": [],
297
+ "text": "Define o \u00EDcone do componente."
298
+ },
299
+ "attribute": "display-icon",
300
+ "reflect": true
377
301
  },
378
- "required": false,
379
- "optional": false,
380
- "docs": {
381
- "tags": [],
382
- "text": "Se true a seta de ordena\u00E7\u00E3o ser\u00E1 apresentada."
302
+ "checkOption": {
303
+ "type": "boolean",
304
+ "mutable": false,
305
+ "complexType": {
306
+ "original": "boolean",
307
+ "resolved": "boolean",
308
+ "references": {}
309
+ },
310
+ "required": false,
311
+ "optional": false,
312
+ "docs": {
313
+ "tags": [],
314
+ "text": "Se true o check ser\u00E1 apresentado para os itens."
315
+ },
316
+ "attribute": "check-option",
317
+ "reflect": true,
318
+ "defaultValue": "false"
383
319
  },
384
- "attribute": "arrow-active",
385
- "reflect": true,
386
- "defaultValue": "false"
387
- }
388
- }; }
389
- static get states() { return {
390
- "_selectedAction": {}
391
- }; }
392
- static get events() { return [{
393
- "method": "ezAction",
394
- "name": "ezAction",
395
- "bubbles": true,
396
- "cancelable": true,
397
- "composed": true,
398
- "docs": {
399
- "tags": [],
400
- "text": "Emitido ao acionar uma a\u00E7\u00E3o."
320
+ "value": {
321
+ "type": "string",
322
+ "mutable": false,
323
+ "complexType": {
324
+ "original": "string",
325
+ "resolved": "string",
326
+ "references": {}
327
+ },
328
+ "required": false,
329
+ "optional": false,
330
+ "docs": {
331
+ "tags": [],
332
+ "text": "Define o valor do componente."
333
+ },
334
+ "attribute": "value",
335
+ "reflect": true
401
336
  },
402
- "complexType": {
403
- "original": "IAction",
404
- "resolved": "IAction",
405
- "references": {
406
- "IAction": {
407
- "location": "local"
408
- }
409
- }
410
- }
411
- }]; }
412
- static get methods() { return {
413
- "hideActions": {
414
- "complexType": {
415
- "signature": "() => Promise<void>",
416
- "parameters": [],
417
- "references": {
418
- "Promise": {
419
- "location": "global"
420
- }
337
+ "isTransparent": {
338
+ "type": "boolean",
339
+ "mutable": false,
340
+ "complexType": {
341
+ "original": "boolean",
342
+ "resolved": "boolean",
343
+ "references": {}
344
+ },
345
+ "required": false,
346
+ "optional": false,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": "Se true o background ser\u00E1 transparent."
421
350
  },
422
- "return": "Promise<void>"
351
+ "attribute": "is-transparent",
352
+ "reflect": true,
353
+ "defaultValue": "false"
423
354
  },
424
- "docs": {
425
- "text": "Oculta a lista de a\u00E7\u00F5es.",
426
- "tags": []
355
+ "arrowActive": {
356
+ "type": "boolean",
357
+ "mutable": false,
358
+ "complexType": {
359
+ "original": "boolean",
360
+ "resolved": "boolean",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": false,
365
+ "docs": {
366
+ "tags": [],
367
+ "text": "Se true a seta de ordena\u00E7\u00E3o ser\u00E1 apresentada."
368
+ },
369
+ "attribute": "arrow-active",
370
+ "reflect": true,
371
+ "defaultValue": "false"
427
372
  }
428
- },
429
- "isOpened": {
430
- "complexType": {
431
- "signature": "() => Promise<boolean>",
432
- "parameters": [],
433
- "references": {
434
- "Promise": {
435
- "location": "global"
373
+ };
374
+ }
375
+ static get states() {
376
+ return {
377
+ "_selectedAction": {}
378
+ };
379
+ }
380
+ static get events() {
381
+ return [{
382
+ "method": "ezAction",
383
+ "name": "ezAction",
384
+ "bubbles": true,
385
+ "cancelable": true,
386
+ "composed": true,
387
+ "docs": {
388
+ "tags": [],
389
+ "text": "Emitido ao acionar uma a\u00E7\u00E3o."
390
+ },
391
+ "complexType": {
392
+ "original": "IAction",
393
+ "resolved": "IAction",
394
+ "references": {
395
+ "IAction": {
396
+ "location": "local"
397
+ }
436
398
  }
399
+ }
400
+ }];
401
+ }
402
+ static get methods() {
403
+ return {
404
+ "hideActions": {
405
+ "complexType": {
406
+ "signature": "() => Promise<void>",
407
+ "parameters": [],
408
+ "references": {
409
+ "Promise": {
410
+ "location": "global"
411
+ }
412
+ },
413
+ "return": "Promise<void>"
437
414
  },
438
- "return": "Promise<boolean>"
415
+ "docs": {
416
+ "text": "Oculta a lista de a\u00E7\u00F5es.",
417
+ "tags": []
418
+ }
439
419
  },
440
- "docs": {
441
- "text": "Verifica se a lista de a\u00E7\u00F5es est\u00E1 aberta.",
442
- "tags": []
420
+ "isOpened": {
421
+ "complexType": {
422
+ "signature": "() => Promise<boolean>",
423
+ "parameters": [],
424
+ "references": {
425
+ "Promise": {
426
+ "location": "global"
427
+ }
428
+ },
429
+ "return": "Promise<boolean>"
430
+ },
431
+ "docs": {
432
+ "text": "Verifica se a lista de a\u00E7\u00F5es est\u00E1 aberta.",
433
+ "tags": []
434
+ }
443
435
  }
444
- }
445
- }; }
436
+ };
437
+ }
446
438
  static get elementRef() { return "_element"; }
447
439
  }