@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,10 +1,16 @@
1
1
  import { ElementIDUtils } from "@sankhyalabs/core";
2
- import { Component, h, Host, Prop, Method, Event, State, Watch, Element, Listen } from "@stencil/core";
2
+ import { h, Host } from "@stencil/core";
3
3
  import AgGridController from "./controller/ag-grid/AgGridController";
4
4
  export class EzGrid {
5
5
  constructor() {
6
6
  this._gridController = new AgGridController(false);
7
+ this._paginationInfo = undefined;
7
8
  this._paginationChangedByKeyboard = true;
9
+ this.multipleSelection = undefined;
10
+ this.config = undefined;
11
+ this.serverUrl = undefined;
12
+ this.dataUnit = undefined;
13
+ this.statusResolver = undefined;
8
14
  }
9
15
  /**
10
16
  * Aplica a definição de colunas.
@@ -172,9 +178,7 @@ export class EzGrid {
172
178
  if (this._paginationInfo) {
173
179
  const { firstRecord, lastRecord, total, currentPage, hasMore } = this._paginationInfo;
174
180
  return [
175
- h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" },
176
- h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`),
177
- ` de ${total}`),
181
+ h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`), ` de ${total}`),
178
182
  h("ez-button", { size: "small", iconName: "chevron-left", class: "ez-margin-right--medium", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }),
179
183
  h("ez-button", { size: "small", iconName: "chevron-right", class: "ez-margin-right--medium", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })
180
184
  ];
@@ -185,396 +189,406 @@ export class EzGrid {
185
189
  this._gridController.setColumnsState(config.columns);
186
190
  }
187
191
  render() {
188
- return (h(Host, null,
189
- h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" },
190
- h("div", { class: "grid-header__container" },
191
- h("slot", { name: "leftButtons" })),
192
- h("div", { class: "grid-header__container", ref: ref => this._refPaginationControl = ref }, this.getPaginationControl())),
193
- h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }),
194
- h("div", { class: "grid__footer" })));
192
+ return (h(Host, null, h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container", ref: ref => this._refPaginationControl = ref }, this.getPaginationControl())), h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), h("div", { class: "grid__footer" })));
195
193
  }
196
194
  static get is() { return "ez-grid"; }
197
195
  static get encapsulation() { return "scoped"; }
198
- static get originalStyleUrls() { return {
199
- "$": ["ez-grid.css"]
200
- }; }
201
- static get styleUrls() { return {
202
- "$": ["ez-grid.css"]
203
- }; }
196
+ static get originalStyleUrls() {
197
+ return {
198
+ "$": ["ez-grid.css"]
199
+ };
200
+ }
201
+ static get styleUrls() {
202
+ return {
203
+ "$": ["ez-grid.css"]
204
+ };
205
+ }
204
206
  static get assetsDirs() { return ["../assets"]; }
205
- static get properties() { return {
206
- "multipleSelection": {
207
- "type": "boolean",
208
- "mutable": false,
209
- "complexType": {
210
- "original": "boolean",
211
- "resolved": "boolean",
212
- "references": {}
213
- },
214
- "required": false,
215
- "optional": false,
216
- "docs": {
217
- "tags": [],
218
- "text": "Habilita a sele\u00E7\u00E3o de v\u00E1rias linhas."
207
+ static get properties() {
208
+ return {
209
+ "multipleSelection": {
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": "Habilita a sele\u00E7\u00E3o de v\u00E1rias linhas."
222
+ },
223
+ "attribute": "multiple-selection",
224
+ "reflect": false
219
225
  },
220
- "attribute": "multiple-selection",
221
- "reflect": false
222
- },
223
- "config": {
224
- "type": "unknown",
225
- "mutable": true,
226
- "complexType": {
227
- "original": "IGridConfig",
228
- "resolved": "IGridConfig",
229
- "references": {
230
- "IGridConfig": {
231
- "location": "import",
232
- "path": "./controller/EzGridController"
226
+ "config": {
227
+ "type": "unknown",
228
+ "mutable": true,
229
+ "complexType": {
230
+ "original": "IGridConfig",
231
+ "resolved": "IGridConfig",
232
+ "references": {
233
+ "IGridConfig": {
234
+ "location": "import",
235
+ "path": "./controller/EzGridController"
236
+ }
233
237
  }
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "Configura\u00E7\u00E3o de exibi\u00E7\u00E3o da grade."
234
244
  }
235
245
  },
236
- "required": false,
237
- "optional": false,
238
- "docs": {
239
- "tags": [],
240
- "text": "Configura\u00E7\u00E3o de exibi\u00E7\u00E3o da grade."
241
- }
242
- },
243
- "serverUrl": {
244
- "type": "string",
245
- "mutable": false,
246
- "complexType": {
247
- "original": "string",
248
- "resolved": "string",
249
- "references": {}
250
- },
251
- "required": false,
252
- "optional": false,
253
- "docs": {
254
- "tags": [],
255
- "text": "Endere\u00E7o do servidor para obten\u00E7\u00E3o dos dados."
246
+ "serverUrl": {
247
+ "type": "string",
248
+ "mutable": false,
249
+ "complexType": {
250
+ "original": "string",
251
+ "resolved": "string",
252
+ "references": {}
253
+ },
254
+ "required": false,
255
+ "optional": false,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": "Endere\u00E7o do servidor para obten\u00E7\u00E3o dos dados."
259
+ },
260
+ "attribute": "server-url",
261
+ "reflect": false
256
262
  },
257
- "attribute": "server-url",
258
- "reflect": false
259
- },
260
- "dataUnit": {
261
- "type": "unknown",
262
- "mutable": false,
263
- "complexType": {
264
- "original": "DataUnit",
265
- "resolved": "DataUnit",
266
- "references": {
267
- "DataUnit": {
268
- "location": "import",
269
- "path": "@sankhyalabs/core"
263
+ "dataUnit": {
264
+ "type": "unknown",
265
+ "mutable": false,
266
+ "complexType": {
267
+ "original": "DataUnit",
268
+ "resolved": "DataUnit",
269
+ "references": {
270
+ "DataUnit": {
271
+ "location": "import",
272
+ "path": "@sankhyalabs/core"
273
+ }
270
274
  }
275
+ },
276
+ "required": false,
277
+ "optional": false,
278
+ "docs": {
279
+ "tags": [],
280
+ "text": "Unidade de dados. Respons\u00E1vel pelo controle de edi\u00E7\u00E3o de registros e \ninforma\u00E7\u00F5es pertinentes aos campos."
271
281
  }
272
282
  },
273
- "required": false,
274
- "optional": false,
275
- "docs": {
276
- "tags": [],
277
- "text": "Unidade de dados. Respons\u00E1vel pelo controle de edi\u00E7\u00E3o de registros e \ninforma\u00E7\u00F5es pertinentes aos campos."
278
- }
279
- },
280
- "statusResolver": {
281
- "type": "unknown",
282
- "mutable": false,
283
- "complexType": {
284
- "original": "IStatusResolver",
285
- "resolved": "IStatusResolver",
286
- "references": {
287
- "IStatusResolver": {
288
- "location": "import",
289
- "path": "./controller/EzGridController"
283
+ "statusResolver": {
284
+ "type": "unknown",
285
+ "mutable": false,
286
+ "complexType": {
287
+ "original": "IStatusResolver",
288
+ "resolved": "IStatusResolver",
289
+ "references": {
290
+ "IStatusResolver": {
291
+ "location": "import",
292
+ "path": "./controller/EzGridController"
293
+ }
290
294
  }
295
+ },
296
+ "required": false,
297
+ "optional": false,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": "Define um `IStatusResolver` respons\u00E1vel pelo estado da coluna de status."
291
301
  }
292
- },
293
- "required": false,
294
- "optional": false,
295
- "docs": {
296
- "tags": [],
297
- "text": "Define um `IStatusResolver` respons\u00E1vel pelo estado da coluna de status."
298
302
  }
299
- }
300
- }; }
301
- static get states() { return {
302
- "_paginationInfo": {},
303
- "_paginationChangedByKeyboard": {}
304
- }; }
305
- static get events() { return [{
306
- "method": "ezColumnStateChange",
307
- "name": "ezColumnStateChange",
308
- "bubbles": true,
309
- "cancelable": true,
310
- "composed": true,
311
- "docs": {
312
- "tags": [],
313
- "text": "Emitido quando acontece a altera\u00E7\u00E3o de estado das colunas do grid: Ordena\u00E7\u00E3o, largura, etc."
314
- },
315
- "complexType": {
316
- "original": "EzGridColumStateEvent",
317
- "resolved": "EzGridColumStateEvent",
318
- "references": {
319
- "EzGridColumStateEvent": {
320
- "location": "import",
321
- "path": "./controller/EzGridController"
303
+ };
304
+ }
305
+ static get states() {
306
+ return {
307
+ "_paginationInfo": {},
308
+ "_paginationChangedByKeyboard": {}
309
+ };
310
+ }
311
+ static get events() {
312
+ return [{
313
+ "method": "ezColumnStateChange",
314
+ "name": "ezColumnStateChange",
315
+ "bubbles": true,
316
+ "cancelable": true,
317
+ "composed": true,
318
+ "docs": {
319
+ "tags": [],
320
+ "text": "Emitido quando acontece a altera\u00E7\u00E3o de estado das colunas do grid: Ordena\u00E7\u00E3o, largura, etc."
321
+ },
322
+ "complexType": {
323
+ "original": "EzGridColumStateEvent",
324
+ "resolved": "EzGridColumStateEvent",
325
+ "references": {
326
+ "EzGridColumStateEvent": {
327
+ "location": "import",
328
+ "path": "./controller/EzGridController"
329
+ }
322
330
  }
323
331
  }
324
- }
325
- }, {
326
- "method": "ezSelectionChange",
327
- "name": "ezSelectionChange",
328
- "bubbles": true,
329
- "cancelable": true,
330
- "composed": true,
331
- "docs": {
332
- "tags": [],
333
- "text": "Emitido quando acontece a altera\u00E7\u00E3o de sele\u00E7\u00E3o de linhas."
334
- },
335
- "complexType": {
336
- "original": "Array<any>",
337
- "resolved": "any[]",
338
- "references": {
339
- "Array": {
340
- "location": "global"
332
+ }, {
333
+ "method": "ezSelectionChange",
334
+ "name": "ezSelectionChange",
335
+ "bubbles": true,
336
+ "cancelable": true,
337
+ "composed": true,
338
+ "docs": {
339
+ "tags": [],
340
+ "text": "Emitido quando acontece a altera\u00E7\u00E3o de sele\u00E7\u00E3o de linhas."
341
+ },
342
+ "complexType": {
343
+ "original": "Array<any>",
344
+ "resolved": "any[]",
345
+ "references": {
346
+ "Array": {
347
+ "location": "global"
348
+ }
341
349
  }
342
350
  }
343
- }
344
- }, {
345
- "method": "ezDoubleClick",
346
- "name": "ezDoubleClick",
347
- "bubbles": true,
348
- "cancelable": true,
349
- "composed": true,
350
- "docs": {
351
- "tags": [],
352
- "text": "Emitido com o duplo clique de uma linha"
353
- },
354
- "complexType": {
355
- "original": "any",
356
- "resolved": "any",
357
- "references": {}
358
- }
359
- }, {
360
- "method": "configChange",
361
- "name": "configChange",
362
- "bubbles": true,
363
- "cancelable": true,
364
- "composed": true,
365
- "docs": {
366
- "tags": [],
367
- "text": "Emitido quando acontece a altera\u00E7\u00E3o de configura\u00E7\u00E3o do grade."
368
- },
369
- "complexType": {
370
- "original": "IGridConfig",
371
- "resolved": "IGridConfig",
372
- "references": {
373
- "IGridConfig": {
374
- "location": "import",
375
- "path": "./controller/EzGridController"
351
+ }, {
352
+ "method": "ezDoubleClick",
353
+ "name": "ezDoubleClick",
354
+ "bubbles": true,
355
+ "cancelable": true,
356
+ "composed": true,
357
+ "docs": {
358
+ "tags": [],
359
+ "text": "Emitido com o duplo clique de uma linha"
360
+ },
361
+ "complexType": {
362
+ "original": "any",
363
+ "resolved": "any",
364
+ "references": {}
365
+ }
366
+ }, {
367
+ "method": "configChange",
368
+ "name": "configChange",
369
+ "bubbles": true,
370
+ "cancelable": true,
371
+ "composed": true,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": "Emitido quando acontece a altera\u00E7\u00E3o de configura\u00E7\u00E3o do grade."
375
+ },
376
+ "complexType": {
377
+ "original": "IGridConfig",
378
+ "resolved": "IGridConfig",
379
+ "references": {
380
+ "IGridConfig": {
381
+ "location": "import",
382
+ "path": "./controller/EzGridController"
383
+ }
376
384
  }
377
385
  }
378
- }
379
- }]; }
380
- static get methods() { return {
381
- "setColumnsDef": {
382
- "complexType": {
383
- "signature": "(cols: Array<EzGridColumn>) => Promise<void>",
384
- "parameters": [{
385
- "tags": [],
386
- "text": ""
387
- }],
388
- "references": {
389
- "Promise": {
390
- "location": "global"
391
- },
392
- "Array": {
393
- "location": "global"
386
+ }];
387
+ }
388
+ static get methods() {
389
+ return {
390
+ "setColumnsDef": {
391
+ "complexType": {
392
+ "signature": "(cols: Array<EzGridColumn>) => Promise<void>",
393
+ "parameters": [{
394
+ "tags": [],
395
+ "text": ""
396
+ }],
397
+ "references": {
398
+ "Promise": {
399
+ "location": "global"
400
+ },
401
+ "Array": {
402
+ "location": "global"
403
+ },
404
+ "EzGridColumn": {
405
+ "location": "import",
406
+ "path": "./controller/EzGridController"
407
+ }
394
408
  },
395
- "EzGridColumn": {
396
- "location": "import",
397
- "path": "./controller/EzGridController"
398
- }
409
+ "return": "Promise<void>"
399
410
  },
400
- "return": "Promise<void>"
411
+ "docs": {
412
+ "text": "Aplica a defini\u00E7\u00E3o de colunas.",
413
+ "tags": []
414
+ }
401
415
  },
402
- "docs": {
403
- "text": "Aplica a defini\u00E7\u00E3o de colunas.",
404
- "tags": []
405
- }
406
- },
407
- "addColumnMenuItem": {
408
- "complexType": {
409
- "signature": "(label: string, name: string, action: Function) => Promise<void>",
410
- "parameters": [{
411
- "tags": [],
412
- "text": ""
413
- }, {
414
- "tags": [],
415
- "text": ""
416
- }, {
417
- "tags": [],
418
- "text": ""
419
- }],
420
- "references": {
421
- "Promise": {
422
- "location": "global"
416
+ "addColumnMenuItem": {
417
+ "complexType": {
418
+ "signature": "(label: string, name: string, action: Function) => Promise<void>",
419
+ "parameters": [{
420
+ "tags": [],
421
+ "text": ""
422
+ }, {
423
+ "tags": [],
424
+ "text": ""
425
+ }, {
426
+ "tags": [],
427
+ "text": ""
428
+ }],
429
+ "references": {
430
+ "Promise": {
431
+ "location": "global"
432
+ },
433
+ "Function": {
434
+ "location": "global"
435
+ }
423
436
  },
424
- "Function": {
425
- "location": "global"
426
- }
437
+ "return": "Promise<void>"
427
438
  },
428
- "return": "Promise<void>"
439
+ "docs": {
440
+ "text": "Adiciona item de menu nas colunas.",
441
+ "tags": []
442
+ }
429
443
  },
430
- "docs": {
431
- "text": "Adiciona item de menu nas colunas.",
432
- "tags": []
433
- }
434
- },
435
- "setColumnsState": {
436
- "complexType": {
437
- "signature": "(state: Array<EzGridColumnConfig>) => Promise<void>",
438
- "parameters": [{
439
- "tags": [],
440
- "text": ""
441
- }],
442
- "references": {
443
- "Promise": {
444
- "location": "global"
445
- },
446
- "Array": {
447
- "location": "global"
444
+ "setColumnsState": {
445
+ "complexType": {
446
+ "signature": "(state: Array<EzGridColumnConfig>) => Promise<void>",
447
+ "parameters": [{
448
+ "tags": [],
449
+ "text": ""
450
+ }],
451
+ "references": {
452
+ "Promise": {
453
+ "location": "global"
454
+ },
455
+ "Array": {
456
+ "location": "global"
457
+ },
458
+ "EzGridColumnConfig": {
459
+ "location": "import",
460
+ "path": "./controller/EzGridController"
461
+ }
448
462
  },
449
- "EzGridColumnConfig": {
450
- "location": "import",
451
- "path": "./controller/EzGridController"
452
- }
463
+ "return": "Promise<void>"
453
464
  },
454
- "return": "Promise<void>"
465
+ "docs": {
466
+ "text": "Aplica o estado das colunas.",
467
+ "tags": []
468
+ }
455
469
  },
456
- "docs": {
457
- "text": "Aplica o estado das colunas.",
458
- "tags": []
459
- }
460
- },
461
- "setData": {
462
- "complexType": {
463
- "signature": "(data: Array<any>) => Promise<void>",
464
- "parameters": [{
465
- "tags": [],
466
- "text": ""
467
- }],
468
- "references": {
469
- "Promise": {
470
- "location": "global"
470
+ "setData": {
471
+ "complexType": {
472
+ "signature": "(data: Array<any>) => Promise<void>",
473
+ "parameters": [{
474
+ "tags": [],
475
+ "text": ""
476
+ }],
477
+ "references": {
478
+ "Promise": {
479
+ "location": "global"
480
+ },
481
+ "Array": {
482
+ "location": "global"
483
+ }
471
484
  },
472
- "Array": {
473
- "location": "global"
474
- }
485
+ "return": "Promise<void>"
475
486
  },
476
- "return": "Promise<void>"
487
+ "docs": {
488
+ "text": "Insere os registros no ez-grid.",
489
+ "tags": []
490
+ }
477
491
  },
478
- "docs": {
479
- "text": "Insere os registros no ez-grid.",
480
- "tags": []
481
- }
482
- },
483
- "getSelection": {
484
- "complexType": {
485
- "signature": "() => Promise<Array<any>>",
486
- "parameters": [],
487
- "references": {
488
- "Promise": {
489
- "location": "global"
492
+ "getSelection": {
493
+ "complexType": {
494
+ "signature": "() => Promise<Array<any>>",
495
+ "parameters": [],
496
+ "references": {
497
+ "Promise": {
498
+ "location": "global"
499
+ },
500
+ "Array": {
501
+ "location": "global"
502
+ }
490
503
  },
491
- "Array": {
492
- "location": "global"
493
- }
504
+ "return": "Promise<any[]>"
494
505
  },
495
- "return": "Promise<any[]>"
506
+ "docs": {
507
+ "text": "Obt\u00E9m as linhas selecionadas.",
508
+ "tags": []
509
+ }
496
510
  },
497
- "docs": {
498
- "text": "Obt\u00E9m as linhas selecionadas.",
499
- "tags": []
500
- }
501
- },
502
- "getColumnsState": {
503
- "complexType": {
504
- "signature": "() => Promise<Array<EzGridColumn>>",
505
- "parameters": [],
506
- "references": {
507
- "Promise": {
508
- "location": "global"
509
- },
510
- "EzGridColumn": {
511
- "location": "import",
512
- "path": "./controller/EzGridController"
511
+ "getColumnsState": {
512
+ "complexType": {
513
+ "signature": "() => Promise<Array<EzGridColumn>>",
514
+ "parameters": [],
515
+ "references": {
516
+ "Promise": {
517
+ "location": "global"
518
+ },
519
+ "EzGridColumn": {
520
+ "location": "import",
521
+ "path": "./controller/EzGridController"
522
+ },
523
+ "Array": {
524
+ "location": "global"
525
+ }
513
526
  },
514
- "Array": {
515
- "location": "global"
516
- }
527
+ "return": "Promise<EzGridColumn[]>"
517
528
  },
518
- "return": "Promise<EzGridColumn[]>"
529
+ "docs": {
530
+ "text": "Obt\u00E9m o estado atual das colunas.",
531
+ "tags": []
532
+ }
519
533
  },
520
- "docs": {
521
- "text": "Obt\u00E9m o estado atual das colunas.",
522
- "tags": []
523
- }
524
- },
525
- "getColumns": {
526
- "complexType": {
527
- "signature": "() => Promise<Array<EzGridColumn>>",
528
- "parameters": [],
529
- "references": {
530
- "Promise": {
531
- "location": "global"
532
- },
533
- "EzGridColumn": {
534
- "location": "import",
535
- "path": "./controller/EzGridController"
534
+ "getColumns": {
535
+ "complexType": {
536
+ "signature": "() => Promise<Array<EzGridColumn>>",
537
+ "parameters": [],
538
+ "references": {
539
+ "Promise": {
540
+ "location": "global"
541
+ },
542
+ "EzGridColumn": {
543
+ "location": "import",
544
+ "path": "./controller/EzGridController"
545
+ },
546
+ "Array": {
547
+ "location": "global"
548
+ }
536
549
  },
537
- "Array": {
538
- "location": "global"
539
- }
550
+ "return": "Promise<EzGridColumn[]>"
540
551
  },
541
- "return": "Promise<EzGridColumn[]>"
552
+ "docs": {
553
+ "text": "Obt\u00E9m a lista de defini\u00E7\u00E3o de colunas.",
554
+ "tags": []
555
+ }
542
556
  },
543
- "docs": {
544
- "text": "Obt\u00E9m a lista de defini\u00E7\u00E3o de colunas.",
545
- "tags": []
546
- }
547
- },
548
- "quickFilter": {
549
- "complexType": {
550
- "signature": "(term: string) => Promise<void>",
551
- "parameters": [{
552
- "tags": [],
553
- "text": ""
554
- }],
555
- "references": {
556
- "Promise": {
557
- "location": "global"
558
- }
557
+ "quickFilter": {
558
+ "complexType": {
559
+ "signature": "(term: string) => Promise<void>",
560
+ "parameters": [{
561
+ "tags": [],
562
+ "text": ""
563
+ }],
564
+ "references": {
565
+ "Promise": {
566
+ "location": "global"
567
+ }
568
+ },
569
+ "return": "Promise<void>"
559
570
  },
560
- "return": "Promise<void>"
561
- },
562
- "docs": {
563
- "text": "Aplica um filtro r\u00E1pido.",
564
- "tags": []
571
+ "docs": {
572
+ "text": "Aplica um filtro r\u00E1pido.",
573
+ "tags": []
574
+ }
565
575
  }
566
- }
567
- }; }
576
+ };
577
+ }
568
578
  static get elementRef() { return "_element"; }
569
- static get watchers() { return [{
570
- "propName": "config",
571
- "methodName": "observeConfig"
572
- }]; }
573
- static get listeners() { return [{
574
- "name": "ezSelectionChange",
575
- "method": "onSelectionChange",
576
- "target": undefined,
577
- "capture": false,
578
- "passive": false
579
- }]; }
579
+ static get watchers() {
580
+ return [{
581
+ "propName": "config",
582
+ "methodName": "observeConfig"
583
+ }];
584
+ }
585
+ static get listeners() {
586
+ return [{
587
+ "name": "ezSelectionChange",
588
+ "method": "onSelectionChange",
589
+ "target": undefined,
590
+ "capture": false,
591
+ "passive": false
592
+ }];
593
+ }
580
594
  }