easy-component-ui 3.0.11 → 3.0.13

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 (78) hide show
  1. package/README.md +162 -162
  2. package/dist/assets/icon.css +1 -1
  3. package/dist/components/Base.js +190 -188
  4. package/dist/components/ea-alert.js +71 -54
  5. package/dist/components/ea-avatar.js +42 -37
  6. package/dist/components/ea-breadcrumb.js +33 -33
  7. package/dist/components/ea-button.js +53 -52
  8. package/dist/components/ea-card.js +63 -27
  9. package/dist/components/ea-carousel.js +2 -2
  10. package/dist/components/ea-collapse.js +93 -73
  11. package/dist/components/ea-color-picker.js +221 -221
  12. package/dist/components/ea-container.js +90 -61
  13. package/dist/components/ea-countdown.js +77 -56
  14. package/dist/components/ea-date-picker.js +1 -1
  15. package/dist/components/ea-descriptions.js +133 -70
  16. package/dist/components/ea-dialog.js +4 -4
  17. package/dist/components/ea-drawer.js +93 -71
  18. package/dist/components/ea-empty.js +31 -23
  19. package/dist/components/ea-icon.js +122 -32
  20. package/dist/components/ea-image-preview.js +237 -193
  21. package/dist/components/ea-image.js +69 -44
  22. package/dist/components/ea-input-number.js +9 -9
  23. package/dist/components/ea-input.js +15 -15
  24. package/dist/components/ea-layout.js +10 -3
  25. package/dist/components/ea-link.js +1 -1
  26. package/dist/components/ea-menu.js +69 -53
  27. package/dist/components/ea-message-box.js +73 -73
  28. package/dist/components/ea-message.js +184 -121
  29. package/dist/components/ea-notification.js +80 -80
  30. package/dist/components/ea-overlay.js +41 -34
  31. package/dist/components/ea-page-header.js +5 -5
  32. package/dist/components/ea-pagination.js +6 -5
  33. package/dist/components/ea-popconfirm.js +133 -78
  34. package/dist/components/ea-popover.js +35 -11
  35. package/dist/components/ea-popper.js +9 -9
  36. package/dist/components/ea-progress.js +88 -71
  37. package/dist/components/ea-rate.js +1 -1
  38. package/dist/components/ea-result.js +20 -20
  39. package/dist/components/ea-select.js +119 -108
  40. package/dist/components/ea-skeleton.js +99 -82
  41. package/dist/components/ea-slider.js +88 -79
  42. package/dist/components/ea-splitter.js +34 -18
  43. package/dist/components/ea-statistic.js +72 -4
  44. package/dist/components/ea-steps.js +108 -74
  45. package/dist/components/ea-table.js +562 -434
  46. package/dist/components/ea-tabs.js +28 -28
  47. package/dist/components/ea-tag.js +37 -43
  48. package/dist/components/ea-time-picker.js +2 -6
  49. package/dist/components/ea-timeline.js +11 -12
  50. package/dist/components/ea-tooltip.js +63 -23
  51. package/dist/components/ea-tour.js +21 -21
  52. package/dist/components/ea-transfer.js +2 -2
  53. package/dist/components/ea-tree.js +1 -1
  54. package/dist/components/index.js +1 -2
  55. package/dist/css/ea-card.style.js +2 -2
  56. package/dist/css/ea-collapse-item.style.js +1 -1
  57. package/dist/css/ea-color-picker-panel.style.js +1 -1
  58. package/dist/css/ea-container.style.js +1 -1
  59. package/dist/css/ea-descriptions-item.style.js +2 -2
  60. package/dist/css/ea-descriptions.style.js +1 -1
  61. package/dist/css/ea-empty.style.js +1 -1
  62. package/dist/css/ea-footer.style.js +1 -1
  63. package/dist/css/ea-progress.style.js +1 -1
  64. package/dist/css/ea-skeleton.style.js +1 -1
  65. package/dist/css/ea-step.style.js +1 -1
  66. package/dist/css/ea-switch.style.js +1 -1
  67. package/dist/css/ea-tab.style.js +1 -1
  68. package/dist/css/ea-table-column.style.js +4 -0
  69. package/dist/css/ea-table.style.js +1 -1
  70. package/dist/css/ea-tabs.style.js +1 -1
  71. package/dist/css/ea-tag.style.js +1 -1
  72. package/dist/css/ea-time-picker.style.js +1 -1
  73. package/dist/css/ea-timeline-item.style.js +1 -1
  74. package/dist/utils/Variables.js +10 -17
  75. package/dist/utils/parseTime.js +73 -0
  76. package/package.json +302 -304
  77. package/dist/components/ea-loading.js +0 -151
  78. package/dist/components/ea-statistic2.js +0 -83
@@ -1,49 +1,55 @@
1
- var I = Object.defineProperty;
2
- var $ = (e) => {
3
- throw TypeError(e);
1
+ var F = Object.defineProperty;
2
+ var z = (n) => {
3
+ throw TypeError(n);
4
4
  };
5
- var R = (e, o, t) => o in e ? I(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
6
- var B = (e, o, t) => R(e, typeof o != "symbol" ? o + "" : o, t), E = (e, o, t) => o.has(e) || $("Cannot " + t);
7
- var n = (e, o, t) => (E(e, o, "read from private field"), t ? t.call(e) : o.get(e)), i = (e, o, t) => o.has(e) ? $("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(e) : o.set(e, t), c = (e, o, t, r) => (E(e, o, "write to private field"), r ? r.call(e, t) : o.set(e, t), t), L = (e, o, t) => (E(e, o, "access private method"), t);
8
- import { EaPopper as z } from "./ea-popper.js";
9
- import { s as H } from "../css/ea-popconfirm.style.js";
10
- var b, l, h, w, q, y, a, p, x, g, m, f, u, v, S, k, C, d, _;
11
- class M extends z {
5
+ var j = (n, i, t) => i in n ? F(n, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[i] = t;
6
+ var H = (n, i, t) => j(n, typeof i != "symbol" ? i + "" : i, t), x = (n, i, t) => i.has(n) || z("Cannot " + t);
7
+ var e = (n, i, t) => (x(n, i, "read from private field"), t ? t.call(n) : i.get(n)), s = (n, i, t) => i.has(n) ? z("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(n) : i.set(n, t), a = (n, i, t, o) => (x(n, i, "write to private field"), o ? o.call(n, t) : i.set(n, t), t), M = (n, i, t) => (x(n, i, "access private method"), t);
8
+ import { EaPopper as D } from "./ea-popper.js";
9
+ import { s as G } from "../css/ea-popconfirm.style.js";
10
+ var v, p, f, B, L, d, u, m, $, C, b, y, h, c, S, _, U, g, w, q;
11
+ class J extends D {
12
12
  constructor() {
13
13
  super();
14
- i(this, S);
14
+ s(this, _);
15
15
  /** @type {HTMLElement} */
16
- i(this, b);
16
+ s(this, v);
17
17
  /** @type {HTMLElement} */
18
- i(this, l);
18
+ s(this, p);
19
19
  /** @type {HTMLElement} */
20
- i(this, h);
20
+ s(this, f);
21
21
  /** @type {HTMLElement} */
22
- i(this, w);
22
+ s(this, B);
23
23
  /** @type {HTMLElement} */
24
- i(this, q);
24
+ s(this, L);
25
25
  /** @type {HTMLElement} */
26
- i(this, y);
26
+ s(this, d);
27
27
  /** @type {HTMLElement} */
28
- i(this, a);
28
+ s(this, u);
29
29
  /** @type {HTMLElement} */
30
- i(this, p);
30
+ s(this, m);
31
31
  /** @type {HTMLElement} */
32
- i(this, x);
32
+ s(this, $);
33
33
  /** @type {HTMLElement} */
34
- i(this, g);
34
+ s(this, C);
35
35
  /** @type {HTMLElement} */
36
- i(this, m);
36
+ s(this, b);
37
37
  /** @type {HTMLElement} */
38
- i(this, f);
38
+ s(this, y);
39
39
  /** @type {AbortController} */
40
- i(this, u);
41
- B(this, "state", this.properties({
40
+ s(this, h);
41
+ s(this, c, {
42
+ /** @type {AbortController | null} */
43
+ globalClose: null,
44
+ /** @type {AbortController | null} */
45
+ customActions: null
46
+ });
47
+ H(this, "state", this.properties({
42
48
  title: {
43
49
  type: String,
44
50
  default: "",
45
51
  observer: (t) => {
46
- n(this, f).innerText = t;
52
+ e(this, y).innerText = t;
47
53
  }
48
54
  },
49
55
  visible: {
@@ -55,9 +61,9 @@ class M extends z {
55
61
  },
56
62
  icon: {
57
63
  type: String,
58
- default: "icon-help",
64
+ default: "circle-question",
59
65
  observer: (t) => {
60
- n(this, m).icon = t;
66
+ e(this, b).name = t;
61
67
  }
62
68
  },
63
69
  "icon-color": {
@@ -85,93 +91,117 @@ class M extends z {
85
91
  type: String,
86
92
  default: "确定",
87
93
  observer: (t) => {
88
- n(this, p).textContent = t;
94
+ e(this, m).textContent = t;
89
95
  }
90
96
  },
91
97
  "cancel-button-text": {
92
98
  type: String,
93
99
  default: "取消",
94
100
  observer: (t) => {
95
- n(this, a).textContent = t;
101
+ e(this, u).textContent = t;
96
102
  }
97
103
  },
98
104
  "confirm-button-type": {
99
105
  type: ["normal", "primary", "success", "warning", "danger"],
100
106
  default: "primary",
101
107
  observer: (t) => {
102
- n(this, p).type = t;
108
+ e(this, m).type = t;
103
109
  }
104
110
  },
105
111
  "cancel-button-type": {
106
112
  type: ["normal", "primary", "success", "warning", "danger"],
107
113
  default: "normal",
108
114
  observer: (t) => {
109
- n(this, a).type = t;
115
+ e(this, u).type = t;
110
116
  }
111
117
  }
112
118
  }));
113
119
  /**
114
- *
120
+ * 渲染title
115
121
  * @returns {{
116
122
  * titleContainer: HTMLElement,
117
123
  * titleIcon: HTMLElement,
118
124
  * titleContent: HTMLElement,
119
125
  * }}
120
126
  */
121
- i(this, v, () => {
127
+ s(this, S, () => {
122
128
  const t = document.createElement("section");
123
129
  return t.classList.add("ea-popconfirm__title"), t.part = "title", t.innerHTML = `
124
- ${this.icon ? `<ea-icon icon="${this.icon}" part="icon"></ea-icon>` : ""}
125
- <span class="ea-popconfirm__title-content" part="title-content">${this.title}</span>
126
- `, n(this, l).appendChild(t), {
130
+ ${this.icon ? `<ea-icon name="${this.icon}" part="icon"></ea-icon>` : ""}
131
+ <span class="ea-popconfirm__title-content" part="title-content">${this.title}</span>
132
+ `, e(this, p).appendChild(t), {
127
133
  titleContainer: t,
128
- titleIcon: t == null ? void 0 : t.querySelector("ea-icon"),
134
+ titleIcon: t.querySelector("ea-icon"),
129
135
  titleContent: t.querySelector(".ea-popconfirm__title-content")
130
136
  };
131
137
  });
132
- i(this, C, () => {
133
- const t = new AbortController();
134
- c(this, u, t), n(this, l).querySelector("slot").remove(), this.assignedStyle(H);
135
- });
136
138
  /**
137
- *
139
+ * 初始化关闭事件
138
140
  * @param {HTMLElement} el
139
- * @param {'cancel' | 'confirm'} closeEventName
141
+ * @param {'cancel' | 'confirm'} closeEventName 关闭事件名称
140
142
  */
141
- i(this, d, (t, r) => {
143
+ s(this, g, (t, o) => {
142
144
  t && t.addEventListener(
143
145
  "click",
144
146
  () => {
145
- this.dispatchEvent(new CustomEvent(r)), this.hide();
147
+ this.dispatchEvent(new CustomEvent(o)), this.hide();
146
148
  },
147
- { signal: n(this, u).signal }
149
+ { signal: e(this, h).signal }
148
150
  );
149
151
  });
150
- i(this, _, () => {
151
- n(this, h).querySelector(
152
+ /**
153
+ * 初始化触发事件
154
+ */
155
+ s(this, w, () => {
156
+ const t = e(this, f).querySelector(
152
157
  'slot[name="reference"]'
153
- ).addEventListener(
158
+ ), o = e(this, d).querySelector('slot[name="actions"]');
159
+ t.addEventListener(
154
160
  "click",
155
161
  () => {
156
- const r = new AbortController();
157
- this.toggle(), window.addEventListener(
162
+ this.open();
163
+ },
164
+ { signal: e(this, h).signal }
165
+ ), o.assignedElements().length ? e(this, q).call(this) : (e(this, g).call(this, e(this, u), "cancel"), e(this, g).call(this, e(this, m), "confirm"));
166
+ });
167
+ /**
168
+ * 初始化自定义 actions slot 的事件监听
169
+ */
170
+ s(this, q, () => {
171
+ var l;
172
+ const t = e(this, d).querySelector('slot[name="actions"]');
173
+ if (!t) return;
174
+ (l = e(this, c).customActions) == null || l.abort(), e(this, c).customActions = new AbortController();
175
+ const o = () => {
176
+ t.assignedElements().forEach((r) => {
177
+ var T, P, I, R;
178
+ const E = ((T = r.querySelector) == null ? void 0 : T.call(r, "[data-cancel]")) || ((P = r.matches) != null && P.call(r, "[data-cancel]") ? r : null), k = ((I = r.querySelector) == null ? void 0 : I.call(r, "[data-confirm]")) || ((R = r.matches) != null && R.call(r, "[data-confirm]") ? r : null);
179
+ E && E.addEventListener(
158
180
  "click",
159
- (s) => {
160
- this.contains(s.target) || (r.abort(), this.hide());
181
+ () => {
182
+ this.close(), this.dispatchEvent(new CustomEvent("cancel"));
161
183
  },
162
- { signal: r.signal }
184
+ { signal: e(this, c).customActions.signal }
185
+ ), k && k.addEventListener(
186
+ "click",
187
+ () => {
188
+ this.close(), this.dispatchEvent(new CustomEvent("confirm"));
189
+ },
190
+ { signal: e(this, c).customActions.signal }
163
191
  );
164
- },
165
- { signal: n(this, u).signal }
166
- ), n(this, d).call(this, n(this, a), "cancel"), n(this, d).call(this, n(this, p), "confirm");
192
+ });
193
+ };
194
+ t.addEventListener("slotchange", o, {
195
+ signal: e(this, c).customActions.signal
196
+ });
167
197
  });
168
- c(this, b, this.shadowRoot.querySelector(".ea-popper")), c(this, l, this.shadowRoot.querySelector(
198
+ a(this, v, this.shadowRoot.querySelector(".ea-popper")), a(this, p, this.shadowRoot.querySelector(
169
199
  ".ea-popper__original"
170
- )), c(this, h, this.shadowRoot.querySelector(
200
+ )), a(this, f, this.shadowRoot.querySelector(
171
201
  ".ea-popper__reference"
172
202
  ));
173
- const { titleContainer: t, titleIcon: r, titleContent: s } = n(this, v).call(this), { footer: T, cancelButton: P, confirmButton: A } = L(this, S, k).call(this);
174
- c(this, y, T), c(this, a, P), c(this, p, A), c(this, g, t), c(this, m, r), c(this, f, s);
203
+ const { titleContainer: t, titleIcon: o, titleContent: l } = e(this, S).call(this), { footer: A, cancelButton: r, confirmButton: E } = M(this, _, U).call(this);
204
+ a(this, d, A), a(this, u, r), a(this, m, E), a(this, C, t), a(this, b, o), a(this, y, l);
175
205
  }
176
206
  static get observedAttributes() {
177
207
  return [
@@ -187,15 +217,40 @@ class M extends z {
187
217
  "cancel-button-type"
188
218
  ];
189
219
  }
220
+ /**
221
+ * 打开 popconfirm
222
+ * @public
223
+ */
224
+ open() {
225
+ var o;
226
+ const t = (l) => {
227
+ var r;
228
+ this.contains(l.target) || ((r = e(this, c).globalClose) == null || r.abort(), this.hide());
229
+ };
230
+ this.show(), (o = e(this, c).globalClose) == null || o.abort(), e(this, c).globalClose = new AbortController(), window.addEventListener("click", t, {
231
+ signal: e(this, c).globalClose.signal
232
+ });
233
+ }
234
+ /**
235
+ * 关闭 popconfirm
236
+ * @public
237
+ */
238
+ close() {
239
+ var t;
240
+ this.hide(), (t = e(this, c).globalClose) == null || t.abort();
241
+ }
190
242
  connectedCallback() {
191
- super.connectedCallback(), n(this, C).call(this), n(this, _).call(this);
243
+ var t, o;
244
+ super.connectedCallback(), (t = e(this, h)) == null || t.abort(), a(this, h, new AbortController()), (o = e(this, p).querySelector("slot")) == null || o.remove(), this.assignedStyle(G), e(this, w).call(this);
192
245
  }
193
246
  $beforeUnmounted() {
194
- var t;
195
- super.$beforeUnmounted(), (t = n(this, u)) == null || t.abort();
247
+ var t, o;
248
+ super.$beforeUnmounted(), (t = e(this, h)) == null || t.abort();
249
+ for (const l in e(this, c))
250
+ (o = e(this, c)[l]) == null || o.abort();
196
251
  }
197
252
  }
198
- b = new WeakMap(), l = new WeakMap(), h = new WeakMap(), w = new WeakMap(), q = new WeakMap(), y = new WeakMap(), a = new WeakMap(), p = new WeakMap(), x = new WeakMap(), g = new WeakMap(), m = new WeakMap(), f = new WeakMap(), u = new WeakMap(), v = new WeakMap(), S = new WeakSet(), /**
253
+ v = new WeakMap(), p = new WeakMap(), f = new WeakMap(), B = new WeakMap(), L = new WeakMap(), d = new WeakMap(), u = new WeakMap(), m = new WeakMap(), $ = new WeakMap(), C = new WeakMap(), b = new WeakMap(), y = new WeakMap(), h = new WeakMap(), c = new WeakMap(), S = new WeakMap(), _ = new WeakSet(), /**
199
254
  * 渲染footer
200
255
  * @return {{
201
256
  * footer: HTMLElement,
@@ -203,18 +258,18 @@ b = new WeakMap(), l = new WeakMap(), h = new WeakMap(), w = new WeakMap(), q =
203
258
  * confirmButton: HTMLElement,
204
259
  * }}
205
260
  */
206
- k = function() {
207
- const t = '<slot name="actions"></slot>', r = `
208
- <ea-button type="${this["cancel-button-type"]}" class="ea-popconfirm__cancel" size="small" part="cancel-button" text>${this["cancel-button-text"]}</ea-button>
209
- <ea-button type="${this["confirm-button-type"]}" class="ea-popconfirm__confirm" part="confirm-button" size="small">${this["confirm-button-text"]}</ea-button>
210
- `, s = document.createElement("footer");
211
- return s.classList.add("ea-popconfirm__footer"), s.part = "footer", s.innerHTML = this.querySelector('[slot="actions"]') ? t : r, n(this, l).appendChild(s), {
212
- footer: s,
213
- cancelButton: s.querySelector(".ea-popconfirm__cancel") || this.querySelector("[data-cancel]"),
214
- confirmButton: s.querySelector(".ea-popconfirm__confirm") || this.querySelector("[data-confirm]")
261
+ U = function() {
262
+ const t = `<slot name="actions">
263
+ <ea-button type="${this["cancel-button-type"]}" class="ea-popconfirm__cancel" size="small" part="cancel-button" text>${this["cancel-button-text"]}</ea-button>
264
+ <ea-button type="${this["confirm-button-type"]}" class="ea-popconfirm__confirm" part="confirm-button" size="small">${this["confirm-button-text"]}</ea-button>
265
+ </slot>`, o = document.createElement("footer");
266
+ return o.classList.add("ea-popconfirm__footer"), o.part = "footer", o.innerHTML = t, e(this, p).appendChild(o), {
267
+ footer: o,
268
+ cancelButton: o.querySelector(".ea-popconfirm__cancel"),
269
+ confirmButton: o.querySelector(".ea-popconfirm__confirm")
215
270
  };
216
- }, C = new WeakMap(), d = new WeakMap(), _ = new WeakMap();
217
- window.customElements.get("ea-popconfirm") || window.customElements.define("ea-popconfirm", M);
271
+ }, g = new WeakMap(), w = new WeakMap(), q = new WeakMap();
272
+ window.customElements.get("ea-popconfirm") || window.customElements.define("ea-popconfirm", J);
218
273
  export {
219
- M as EaPopconfirm
274
+ J as EaPopconfirm
220
275
  };
@@ -65,11 +65,19 @@ class k extends L {
65
65
  }));
66
66
  r(this, p, {
67
67
  hover: () => {
68
- this.addEventListener("mouseover", (e) => {
69
- this.show(), this.addEventListener("mouseout", (i) => {
70
- this.hide();
71
- }, { once: !0 });
72
- }, { signal: o(this, d).signal });
68
+ this.addEventListener(
69
+ "mouseover",
70
+ (e) => {
71
+ this.show(), this.addEventListener(
72
+ "mouseout",
73
+ (i) => {
74
+ this.hide();
75
+ },
76
+ { once: !0 }
77
+ );
78
+ },
79
+ { signal: o(this, d).signal }
80
+ );
73
81
  },
74
82
  click: () => {
75
83
  this.addEventListener("click", () => {
@@ -87,9 +95,13 @@ class k extends L {
87
95
  this.addEventListener("contextmenu", (e) => {
88
96
  e.preventDefault();
89
97
  const i = new AbortController();
90
- this.show(), window.addEventListener("click", (n) => {
91
- this.contains(n.target) || (this.hide(), i.abort());
92
- }, { signal: i.signal });
98
+ this.show(), window.addEventListener(
99
+ "click",
100
+ (n) => {
101
+ this.contains(n.target) || (this.hide(), i.abort());
102
+ },
103
+ { signal: i.signal }
104
+ );
93
105
  });
94
106
  }
95
107
  });
@@ -100,13 +112,25 @@ class k extends L {
100
112
  r(this, m, () => {
101
113
  var i, n;
102
114
  if (this.trigger === "customized") return;
103
- const e = Object.keys(o(this, p)).find((b) => this.trigger === b);
115
+ const e = Object.keys(o(this, p)).find(
116
+ (b) => this.trigger === b
117
+ );
104
118
  (n = (i = o(this, p))[e || "hover"]) == null || n.call(i), e || console.warn(`[EaPopper] trigger event ${this.trigger} is not exist`);
105
119
  });
106
- c(this, u, this.shadowRoot.querySelector(".ea-popper")), c(this, l, this.shadowRoot.querySelector(".ea-popper__original")), c(this, v, this.shadowRoot.querySelector(".ea-popper__reference"));
120
+ c(this, u, this.shadowRoot.querySelector(".ea-popper")), c(this, l, this.shadowRoot.querySelector(
121
+ ".ea-popper__original"
122
+ )), c(this, v, this.shadowRoot.querySelector(
123
+ ".ea-popper__reference"
124
+ ));
107
125
  }
108
126
  static get observedAttributes() {
109
- return [...super.observedAttributes, "trigger", "title", "content", "visible"];
127
+ return [
128
+ ...super.observedAttributes,
129
+ "trigger",
130
+ "title",
131
+ "content",
132
+ "visible"
133
+ ];
110
134
  }
111
135
  connectedCallback() {
112
136
  super.connectedCallback(), o(this, g).call(this), o(this, m).call(this);
@@ -169,15 +169,15 @@ class R extends C {
169
169
  }
170
170
  $render() {
171
171
  this.shadowRoot.innerHTML = `
172
- <div class='ea-popper' part='container' tabindex='-1'>
173
- <div class='ea-popper__reference' part='reference' tabindex='-1'>
174
- <div class='ea-popper__original' part='original' tabindex='0'>
175
- <slot></slot>
176
- </div>
177
- <slot name='reference'></slot>
178
- </div>
179
- </div>
180
- `, c(this, o, this.shadowRoot.querySelector(".ea-popper")), c(this, a, this.shadowRoot.querySelector(
172
+ <div class='ea-popper' part='container' tabindex='-1'>
173
+ <div class='ea-popper__reference' part='reference' tabindex='-1'>
174
+ <div class='ea-popper__original' part='original' tabindex='0'>
175
+ <slot></slot>
176
+ </div>
177
+ <slot name='reference'></slot>
178
+ </div>
179
+ </div>
180
+ `, c(this, o, this.shadowRoot.querySelector(".ea-popper")), c(this, a, this.shadowRoot.querySelector(
181
181
  ".ea-popper__original"
182
182
  )), c(this, f, this.shadowRoot.querySelector(
183
183
  ".ea-popper__reference"