@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-79202.0 → 0.0.0-bugfix-dev-KB-76031.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 (190) hide show
  1. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +2 -2
  16. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-dropdown_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-form.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-grid.cjs.entry.js +29 -16
  26. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-multi-selection-list_2.cjs.entry.js +1584 -0
  33. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  52. package/dist/cjs/ezui.cjs.js +2 -2
  53. package/dist/cjs/filter-column.cjs.entry.js +3 -46
  54. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +5 -2
  55. package/dist/cjs/loader.cjs.js +2 -2
  56. package/dist/collection/collection-manifest.json +1 -0
  57. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  58. package/dist/collection/components/ez-grid/ez-grid.css +37 -7
  59. package/dist/collection/components/ez-grid/ez-grid.js +26 -13
  60. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +2 -45
  61. package/dist/collection/components/ez-list/ez-list.css +3 -3
  62. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +1 -0
  63. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +67 -0
  64. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +465 -0
  65. package/dist/custom-elements/index.d.ts +6 -0
  66. package/dist/custom-elements/index.js +1439 -68
  67. package/dist/esm/ez-actions-button.entry.js +1 -1
  68. package/dist/esm/ez-alert-list.entry.js +1 -1
  69. package/dist/esm/ez-alert.entry.js +1 -1
  70. package/dist/esm/ez-application.entry.js +1 -1
  71. package/dist/esm/ez-badge.entry.js +1 -1
  72. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  73. package/dist/esm/ez-button.entry.js +1 -1
  74. package/dist/esm/ez-calendar.entry.js +1 -1
  75. package/dist/esm/ez-card-item_2.entry.js +1 -1
  76. package/dist/esm/ez-chart.entry.js +1 -1
  77. package/dist/esm/ez-check.entry.js +1 -1
  78. package/dist/esm/ez-chip.entry.js +1 -1
  79. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  80. package/dist/esm/ez-combo-box.entry.js +1 -1
  81. package/dist/esm/ez-custom-form-input_2.entry.js +2 -2
  82. package/dist/esm/ez-date-input.entry.js +1 -1
  83. package/dist/esm/ez-date-time-input.entry.js +1 -1
  84. package/dist/esm/ez-dialog.entry.js +1 -1
  85. package/dist/esm/ez-double-list.entry.js +1 -1
  86. package/dist/esm/ez-dropdown_2.entry.js +1 -1
  87. package/dist/esm/ez-file-item.entry.js +1 -1
  88. package/dist/esm/ez-filter-input.entry.js +1 -1
  89. package/dist/esm/ez-form-view.entry.js +1 -1
  90. package/dist/esm/ez-form.entry.js +1 -1
  91. package/dist/esm/ez-grid.entry.js +29 -16
  92. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  93. package/dist/esm/ez-icon.entry.js +1 -1
  94. package/dist/esm/ez-list.entry.js +2 -2
  95. package/dist/esm/ez-loading-bar.entry.js +1 -1
  96. package/dist/esm/ez-modal-container.entry.js +1 -1
  97. package/dist/esm/ez-modal.entry.js +1 -1
  98. package/dist/esm/ez-multi-selection-list_2.entry.js +1579 -0
  99. package/dist/esm/ez-number-input.entry.js +1 -1
  100. package/dist/esm/ez-popover.entry.js +1 -1
  101. package/dist/esm/ez-popup.entry.js +1 -1
  102. package/dist/esm/ez-radio-button.entry.js +1 -1
  103. package/dist/esm/ez-scroller_2.entry.js +1 -1
  104. package/dist/esm/ez-search.entry.js +1 -1
  105. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  106. package/dist/esm/ez-split-button.entry.js +1 -1
  107. package/dist/esm/ez-split-item.entry.js +1 -1
  108. package/dist/esm/ez-split-panel.entry.js +1 -1
  109. package/dist/esm/ez-tabselector.entry.js +1 -1
  110. package/dist/esm/ez-text-area.entry.js +1 -1
  111. package/dist/esm/ez-text-input.entry.js +1 -1
  112. package/dist/esm/ez-time-input.entry.js +1 -1
  113. package/dist/esm/ez-toast.entry.js +1 -1
  114. package/dist/esm/ez-tooltip.entry.js +1 -1
  115. package/dist/esm/ez-tree.entry.js +1 -1
  116. package/dist/esm/ez-upload.entry.js +1 -1
  117. package/dist/esm/ez-view-stack.entry.js +1 -1
  118. package/dist/esm/ezui.js +3 -3
  119. package/dist/esm/filter-column.entry.js +3 -46
  120. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +5 -3
  121. package/dist/esm/loader.js +3 -3
  122. package/dist/ezui/ezui.esm.js +1 -1
  123. package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
  124. package/dist/ezui/{p-65f471bc.entry.js → p-03b0ed5a.entry.js} +1 -1
  125. package/dist/ezui/{p-ae098837.entry.js → p-043b97b5.entry.js} +1 -1
  126. package/dist/ezui/{p-5b205c80.entry.js → p-044d46d5.entry.js} +1 -1
  127. package/dist/ezui/{p-a4cee65d.entry.js → p-0cfbbe82.entry.js} +1 -1
  128. package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
  129. package/dist/ezui/{p-7e677b7b.entry.js → p-2069c78a.entry.js} +1 -1
  130. package/dist/ezui/{p-17eabf46.entry.js → p-24b42f3d.entry.js} +1 -1
  131. package/dist/ezui/{p-556468d9.entry.js → p-3791d9c8.entry.js} +1 -1
  132. package/dist/ezui/{p-1ad6c61b.entry.js → p-3885e66e.entry.js} +1 -1
  133. package/dist/ezui/p-3af64edd.entry.js +1 -0
  134. package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
  135. package/dist/ezui/{p-c1527804.entry.js → p-4818b8ce.entry.js} +1 -1
  136. package/dist/ezui/{p-7a171eae.entry.js → p-4f7d3e72.entry.js} +1 -1
  137. package/dist/ezui/{p-d9548bdf.entry.js → p-5010315a.entry.js} +1 -1
  138. package/dist/ezui/{p-ea54d056.entry.js → p-68b2e579.entry.js} +1 -1
  139. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  140. package/dist/ezui/{p-2bb2a0c4.entry.js → p-6d31c43c.entry.js} +1 -1
  141. package/dist/ezui/{p-6cdd3e0a.entry.js → p-6d8b3298.entry.js} +1 -1
  142. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  143. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  144. package/dist/ezui/{p-da1b4a38.entry.js → p-708b196e.entry.js} +1 -1
  145. package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
  146. package/dist/ezui/p-75705ffb.entry.js +1 -0
  147. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  148. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  149. package/dist/ezui/p-88c615f0.entry.js +1 -0
  150. package/dist/ezui/{p-56fe5341.entry.js → p-9066b0b0.entry.js} +1 -1
  151. package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
  152. package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
  153. package/dist/ezui/{p-0faf71c5.entry.js → p-92fbaf2b.entry.js} +1 -1
  154. package/dist/ezui/{p-e6a9041d.entry.js → p-9e95bfeb.entry.js} +1 -1
  155. package/dist/ezui/{p-06136139.entry.js → p-a34bee4d.entry.js} +2 -2
  156. package/dist/ezui/{p-990b4318.entry.js → p-a921e3e7.entry.js} +1 -1
  157. package/dist/ezui/{p-3429080c.entry.js → p-b22889ea.entry.js} +1 -1
  158. package/dist/ezui/{p-17be134a.entry.js → p-b2f6bc0a.entry.js} +1 -1
  159. package/dist/ezui/{p-cb1535f7.entry.js → p-b9282c79.entry.js} +1 -1
  160. package/dist/ezui/{p-e347df9c.entry.js → p-bef7daac.entry.js} +1 -1
  161. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  162. package/dist/ezui/p-c75d4b4a.entry.js +1 -0
  163. package/dist/ezui/{p-17de16e5.entry.js → p-c96fbbef.entry.js} +1 -1
  164. package/dist/ezui/{p-2f45506d.entry.js → p-ca8936df.entry.js} +1 -1
  165. package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
  166. package/dist/ezui/{p-354abfe8.entry.js → p-d32125d1.entry.js} +1 -1
  167. package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
  168. package/dist/ezui/{p-7fdd479f.entry.js → p-e18d9e6a.entry.js} +1 -1
  169. package/dist/ezui/{p-fd0a19d6.entry.js → p-e3f8660b.entry.js} +1 -1
  170. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  171. package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
  172. package/dist/ezui/{p-650e4b6d.entry.js → p-f1c2c19e.entry.js} +1 -1
  173. package/dist/ezui/{p-b26f6c5b.entry.js → p-f30e0590.entry.js} +1 -1
  174. package/dist/ezui/{p-cf87aacb.entry.js → p-f4da7e1e.entry.js} +1 -1
  175. package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
  176. package/dist/types/components/ez-grid/ez-grid.d.ts +5 -0
  177. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
  178. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +81 -0
  179. package/dist/types/components.d.ts +94 -0
  180. package/package.json +3 -3
  181. package/react/components.d.ts +1 -0
  182. package/react/components.js +1 -0
  183. package/react/components.js.map +1 -1
  184. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -186
  185. package/dist/esm/ez-multi-selection-list.entry.js +0 -182
  186. package/dist/ezui/p-16e612fc.entry.js +0 -1
  187. package/dist/ezui/p-1ab96710.entry.js +0 -1
  188. package/dist/ezui/p-a6fe527a.entry.js +0 -1
  189. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  190. package/dist/ezui/p-dc8b36c3.entry.js +0 -1
@@ -0,0 +1,465 @@
1
+ import { computePosition, flip, shift } from "@floating-ui/dom";
2
+ import { h, Host } from "@stencil/core";
3
+ export class EzPopoverPlus {
4
+ constructor() {
5
+ this.TIME_DEBOUNCE = 500;
6
+ this.autoClose = true;
7
+ this.boxWidth = "fit-content";
8
+ this.opened = false;
9
+ this.overlayType = "light";
10
+ this.anchorElement = undefined;
11
+ this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
12
+ }
13
+ async observeOpened(newValue, oldValue) {
14
+ if (newValue !== oldValue) {
15
+ if (newValue) {
16
+ this.openPopover();
17
+ }
18
+ else {
19
+ this.hidePopover();
20
+ }
21
+ this.ezVisibilityChange.emit(newValue);
22
+ return;
23
+ }
24
+ }
25
+ /**
26
+ * Atualiza a posição do popover.
27
+ */
28
+ async updatePosition(top, left) {
29
+ this.updateOptionPosition(top, left);
30
+ await this.updatePositionPopover();
31
+ }
32
+ /**
33
+ * Exibe o ez-popover.
34
+ */
35
+ async show(top, left) {
36
+ this.updateOptionPosition(top, left);
37
+ this.opened = true;
38
+ }
39
+ /**
40
+ * Ancora a exibição do popOver a um elemento HTML.
41
+ */
42
+ async showUnder(element, options) {
43
+ if (options) {
44
+ this.options = options;
45
+ }
46
+ this.anchorElement = element;
47
+ this.opened = true;
48
+ }
49
+ /**
50
+ * Oculta o ez-popover.
51
+ */
52
+ async hide() {
53
+ this.opened = false;
54
+ }
55
+ /**
56
+ * Altera as opções.
57
+ */
58
+ async setOptions(options) {
59
+ Object.assign(this.options, options);
60
+ }
61
+ /**
62
+ * Altera o elemento de ancoragem.
63
+ */
64
+ async setAnchorElement(anchor) {
65
+ this.anchorElement = anchor;
66
+ }
67
+ parseSizePixel(sizePixel, defaultValue) {
68
+ if (!sizePixel) {
69
+ return defaultValue !== null && defaultValue !== void 0 ? defaultValue : 0;
70
+ }
71
+ if (typeof sizePixel === "string") {
72
+ return Number(sizePixel.replace("px", ""));
73
+ }
74
+ return sizePixel !== null && sizePixel !== void 0 ? sizePixel : 0;
75
+ }
76
+ updateOptionPosition(top, left) {
77
+ Object.assign(this.options, {
78
+ horizontalGap: this.parseSizePixel(left, this.options.horizontalGap),
79
+ verticalGap: this.parseSizePixel(top, this.options.verticalGap),
80
+ });
81
+ }
82
+ async updatePositionPopover() {
83
+ if (!this._box || !this.opened) {
84
+ return;
85
+ }
86
+ if (!this.anchorElement) {
87
+ this.anchorElement = this._host;
88
+ }
89
+ if (typeof this.anchorElement === 'string') {
90
+ this.anchorElement = document.getElementById(this.anchorElement);
91
+ }
92
+ await computePosition(this.anchorElement, this._box, {
93
+ placement: this.options.fromRight ? 'bottom-end' : 'bottom-start',
94
+ middleware: [flip(), shift({ padding: 5 })],
95
+ strategy: 'fixed',
96
+ }).then(({ x, y, placement }) => {
97
+ const newTop = placement.includes("bottom") ? y + this.options.verticalGap : y - this.options.verticalGap;
98
+ const newLeft = placement.includes("start") ? x + this.options.horizontalGap : x - this.options.horizontalGap;
99
+ Object.assign(this._box.style, {
100
+ top: `${newTop}px`,
101
+ left: `${newLeft}px`,
102
+ });
103
+ });
104
+ }
105
+ hidePopover() {
106
+ if (!this._box) {
107
+ return;
108
+ }
109
+ this._box.style.display = '';
110
+ this.hideOverlay();
111
+ this.ezVisibilityChange.emit(false);
112
+ }
113
+ async openPopover() {
114
+ if (!this._box) {
115
+ return;
116
+ }
117
+ this._box.style.display = 'flex';
118
+ this._box.style.visibility = 'hidden';
119
+ await this.updatePositionPopover();
120
+ this.openOverlay();
121
+ this.ezVisibilityChange.emit(true);
122
+ this._box.style.visibility = 'visible';
123
+ }
124
+ openOverlay() {
125
+ if (!this._overlay || !this._overlayIsActive) {
126
+ return;
127
+ }
128
+ this._overlay.style.display = 'block';
129
+ }
130
+ hideOverlay() {
131
+ if (!this._overlay) {
132
+ return;
133
+ }
134
+ this._overlay.style.display = 'none';
135
+ }
136
+ checkStatusOverlay() {
137
+ if (this.overlayType !== "none") {
138
+ return true;
139
+ }
140
+ if (this.overlayType === "none" && this.autoClose) {
141
+ return true;
142
+ }
143
+ return false;
144
+ }
145
+ updatePositionDebounce() {
146
+ if (!this.opened) {
147
+ return;
148
+ }
149
+ clearTimeout(this._timeoutDebounce);
150
+ this._timeoutDebounce = setTimeout(() => {
151
+ this.updatePositionPopover();
152
+ }, this.TIME_DEBOUNCE);
153
+ }
154
+ componentWillLoad() {
155
+ window.addEventListener('scroll', this.updatePositionDebounce.bind(this), true);
156
+ window.addEventListener('resize', this.updatePositionDebounce.bind(this), true);
157
+ }
158
+ componentDidLoad() {
159
+ this._overlayIsActive = this.checkStatusOverlay();
160
+ this._resizeObserver = new ResizeObserver(this.updatePositionPopover.bind(this));
161
+ this._resizeObserver.observe(this._box);
162
+ }
163
+ disconnectedCallback() {
164
+ window.removeEventListener('scroll', this.updatePositionDebounce.bind(this), true);
165
+ window.removeEventListener('resize', this.updatePositionDebounce.bind(this), true);
166
+ this._resizeObserver.disconnect();
167
+ }
168
+ render() {
169
+ return (h(Host, null, h("div", { ref: el => this._overlay = el, onClick: () => this.hide(), class: `popover__overlay popover__overlay--${this.overlayType}` }), h("section", { ref: el => this._box = el, class: {
170
+ "popover__box": true,
171
+ "popover__box--fit-content": this.boxWidth === "fit-content",
172
+ "popover__box--full-width": this.boxWidth !== "fit-content",
173
+ } }, h("slot", null))));
174
+ }
175
+ static get is() { return "ez-popover-plus"; }
176
+ static get encapsulation() { return "shadow"; }
177
+ static get originalStyleUrls() {
178
+ return {
179
+ "$": ["ez-popover-plus.css"]
180
+ };
181
+ }
182
+ static get styleUrls() {
183
+ return {
184
+ "$": ["ez-popover-plus.css"]
185
+ };
186
+ }
187
+ static get properties() {
188
+ return {
189
+ "autoClose": {
190
+ "type": "boolean",
191
+ "mutable": false,
192
+ "complexType": {
193
+ "original": "boolean",
194
+ "resolved": "boolean",
195
+ "references": {}
196
+ },
197
+ "required": false,
198
+ "optional": false,
199
+ "docs": {
200
+ "tags": [],
201
+ "text": "Define que ser\u00E1 fechado automaticamente quando o usu\u00E1rio clicar fora do conte\u00FAdo."
202
+ },
203
+ "attribute": "auto-close",
204
+ "reflect": true,
205
+ "defaultValue": "true"
206
+ },
207
+ "boxWidth": {
208
+ "type": "string",
209
+ "mutable": false,
210
+ "complexType": {
211
+ "original": "\"full-width\" | \"fit-content\"",
212
+ "resolved": "\"fit-content\" | \"full-width\"",
213
+ "references": {}
214
+ },
215
+ "required": false,
216
+ "optional": false,
217
+ "docs": {
218
+ "tags": [],
219
+ "text": "Ajusta o comportamento da largura do popover."
220
+ },
221
+ "attribute": "box-width",
222
+ "reflect": true,
223
+ "defaultValue": "\"fit-content\""
224
+ },
225
+ "opened": {
226
+ "type": "boolean",
227
+ "mutable": true,
228
+ "complexType": {
229
+ "original": "boolean",
230
+ "resolved": "boolean",
231
+ "references": {}
232
+ },
233
+ "required": false,
234
+ "optional": false,
235
+ "docs": {
236
+ "tags": [],
237
+ "text": "Define se o ez-popover est\u00E1 aberto."
238
+ },
239
+ "attribute": "opened",
240
+ "reflect": true,
241
+ "defaultValue": "false"
242
+ },
243
+ "overlayType": {
244
+ "type": "string",
245
+ "mutable": false,
246
+ "complexType": {
247
+ "original": "\"medium\" | \"light\" | \"none\"",
248
+ "resolved": "\"light\" | \"medium\" | \"none\"",
249
+ "references": {}
250
+ },
251
+ "required": false,
252
+ "optional": false,
253
+ "docs": {
254
+ "tags": [],
255
+ "text": "Define o tipo de overlay do popover."
256
+ },
257
+ "attribute": "overlay-type",
258
+ "reflect": true,
259
+ "defaultValue": "\"light\""
260
+ },
261
+ "anchorElement": {
262
+ "type": "string",
263
+ "mutable": true,
264
+ "complexType": {
265
+ "original": "HTMLElement | string",
266
+ "resolved": "HTMLElement | string",
267
+ "references": {
268
+ "HTMLElement": {
269
+ "location": "global"
270
+ }
271
+ }
272
+ },
273
+ "required": false,
274
+ "optional": false,
275
+ "docs": {
276
+ "tags": [],
277
+ "text": "Define o elemento de ancoragem."
278
+ },
279
+ "attribute": "anchor-element",
280
+ "reflect": true
281
+ },
282
+ "options": {
283
+ "type": "unknown",
284
+ "mutable": true,
285
+ "complexType": {
286
+ "original": "IEzPopoverAnchorOptions",
287
+ "resolved": "IEzPopoverAnchorOptions",
288
+ "references": {
289
+ "IEzPopoverAnchorOptions": {
290
+ "location": "local"
291
+ }
292
+ }
293
+ },
294
+ "required": false,
295
+ "optional": false,
296
+ "docs": {
297
+ "tags": [],
298
+ "text": "Define as op\u00E7\u00F5es do elemento."
299
+ },
300
+ "defaultValue": "{ horizontalGap: 0, verticalGap: 0, fromRight: false }"
301
+ }
302
+ };
303
+ }
304
+ static get events() {
305
+ return [{
306
+ "method": "ezVisibilityChange",
307
+ "name": "ezVisibilityChange",
308
+ "bubbles": true,
309
+ "cancelable": true,
310
+ "composed": true,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "Emitido quando acontece a altera\u00E7\u00E3o de estado do componente."
314
+ },
315
+ "complexType": {
316
+ "original": "boolean",
317
+ "resolved": "boolean",
318
+ "references": {}
319
+ }
320
+ }];
321
+ }
322
+ static get methods() {
323
+ return {
324
+ "updatePosition": {
325
+ "complexType": {
326
+ "signature": "(top?: string, left?: string) => Promise<void>",
327
+ "parameters": [{
328
+ "tags": [],
329
+ "text": ""
330
+ }, {
331
+ "tags": [],
332
+ "text": ""
333
+ }],
334
+ "references": {
335
+ "Promise": {
336
+ "location": "global"
337
+ }
338
+ },
339
+ "return": "Promise<void>"
340
+ },
341
+ "docs": {
342
+ "text": "Atualiza a posi\u00E7\u00E3o do popover.",
343
+ "tags": []
344
+ }
345
+ },
346
+ "show": {
347
+ "complexType": {
348
+ "signature": "(top?: string | number, left?: string | number) => Promise<void>",
349
+ "parameters": [{
350
+ "tags": [],
351
+ "text": ""
352
+ }, {
353
+ "tags": [],
354
+ "text": ""
355
+ }],
356
+ "references": {
357
+ "Promise": {
358
+ "location": "global"
359
+ }
360
+ },
361
+ "return": "Promise<void>"
362
+ },
363
+ "docs": {
364
+ "text": "Exibe o ez-popover.",
365
+ "tags": []
366
+ }
367
+ },
368
+ "showUnder": {
369
+ "complexType": {
370
+ "signature": "(element: HTMLElement | string, options?: IEzPopoverAnchorOptions) => Promise<void>",
371
+ "parameters": [{
372
+ "tags": [],
373
+ "text": ""
374
+ }, {
375
+ "tags": [],
376
+ "text": ""
377
+ }],
378
+ "references": {
379
+ "Promise": {
380
+ "location": "global"
381
+ },
382
+ "HTMLElement": {
383
+ "location": "global"
384
+ },
385
+ "IEzPopoverAnchorOptions": {
386
+ "location": "local"
387
+ }
388
+ },
389
+ "return": "Promise<void>"
390
+ },
391
+ "docs": {
392
+ "text": "Ancora a exibi\u00E7\u00E3o do popOver a um elemento HTML.",
393
+ "tags": []
394
+ }
395
+ },
396
+ "hide": {
397
+ "complexType": {
398
+ "signature": "() => Promise<void>",
399
+ "parameters": [],
400
+ "references": {
401
+ "Promise": {
402
+ "location": "global"
403
+ }
404
+ },
405
+ "return": "Promise<void>"
406
+ },
407
+ "docs": {
408
+ "text": "Oculta o ez-popover.",
409
+ "tags": []
410
+ }
411
+ },
412
+ "setOptions": {
413
+ "complexType": {
414
+ "signature": "(options: IEzPopoverAnchorOptions) => Promise<void>",
415
+ "parameters": [{
416
+ "tags": [],
417
+ "text": ""
418
+ }],
419
+ "references": {
420
+ "Promise": {
421
+ "location": "global"
422
+ },
423
+ "IEzPopoverAnchorOptions": {
424
+ "location": "local"
425
+ }
426
+ },
427
+ "return": "Promise<void>"
428
+ },
429
+ "docs": {
430
+ "text": "Altera as op\u00E7\u00F5es.",
431
+ "tags": []
432
+ }
433
+ },
434
+ "setAnchorElement": {
435
+ "complexType": {
436
+ "signature": "(anchor: HTMLElement | string) => Promise<void>",
437
+ "parameters": [{
438
+ "tags": [],
439
+ "text": ""
440
+ }],
441
+ "references": {
442
+ "Promise": {
443
+ "location": "global"
444
+ },
445
+ "HTMLElement": {
446
+ "location": "global"
447
+ }
448
+ },
449
+ "return": "Promise<void>"
450
+ },
451
+ "docs": {
452
+ "text": "Altera o elemento de ancoragem.",
453
+ "tags": []
454
+ }
455
+ }
456
+ };
457
+ }
458
+ static get elementRef() { return "_host"; }
459
+ static get watchers() {
460
+ return [{
461
+ "propName": "opened",
462
+ "methodName": "observeOpened"
463
+ }];
464
+ }
465
+ }
@@ -206,6 +206,12 @@ export const EzPopover: {
206
206
  new (): EzPopover;
207
207
  };
208
208
 
209
+ interface EzPopoverPlus extends Components.EzPopoverPlus, HTMLElement {}
210
+ export const EzPopoverPlus: {
211
+ prototype: EzPopoverPlus;
212
+ new (): EzPopoverPlus;
213
+ };
214
+
209
215
  interface EzPopup extends Components.EzPopup, HTMLElement {}
210
216
  export const EzPopup: {
211
217
  prototype: EzPopup;