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,74 +1,89 @@
1
- var z = Object.defineProperty;
2
- var x = (l) => {
3
- throw TypeError(l);
1
+ var O = Object.defineProperty;
2
+ var T = (s) => {
3
+ throw TypeError(s);
4
4
  };
5
- var A = (l, s, t) => s in l ? z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[s] = t;
6
- var S = (l, s, t) => A(l, typeof s != "symbol" ? s + "" : s, t), R = (l, s, t) => s.has(l) || x("Cannot " + t);
7
- var d = (l, s, t) => (R(l, s, "read from private field"), t ? t.call(l) : s.get(l)), c = (l, s, t) => s.has(l) ? x("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(l) : s.set(l, t), b = (l, s, t, e) => (R(l, s, "write to private field"), e ? e.call(l, t) : s.set(l, t), t);
8
- import { B as q } from "./Base.js";
9
- import { s as L } from "../css/ea-descriptions-item.style.js";
10
- import { s as N } from "../css/ea-descriptions.style.js";
11
- import { E as i } from "../utils/Utils.js";
12
- class k extends q {
5
+ var P = (s, l, t) => l in s ? O(s, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[l] = t;
6
+ var M = (s, l, t) => P(s, typeof l != "symbol" ? l + "" : l, t), N = (s, l, t) => l.has(s) || T("Cannot " + t);
7
+ var i = (s, l, t) => (N(s, l, "read from private field"), t ? t.call(s) : l.get(s)), r = (s, l, t) => l.has(s) ? T("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(s) : l.set(s, t), h = (s, l, t, e) => (N(s, l, "write to private field"), e ? e.call(s, t) : l.set(s, t), t), o = (s, l, t) => (N(s, l, "access private method"), t);
8
+ import { B } from "./Base.js";
9
+ import { s as U } from "../css/ea-descriptions-item.style.js";
10
+ import { s as V } from "../css/ea-descriptions.style.js";
11
+ import { E as b } from "../utils/Utils.js";
12
+ var C, g, c, u, I;
13
+ class F extends B {
13
14
  constructor() {
14
15
  super();
15
- S(this, "state", this.properties({
16
+ r(this, c);
17
+ /** @type {HTMLSpanElement | null} */
18
+ r(this, C);
19
+ /** @type {MutationObserver | null} */
20
+ r(this, g, null);
21
+ M(this, "state", this.properties({
16
22
  label: {
17
23
  type: String,
18
24
  default: "",
19
25
  observer: () => {
26
+ i(this, C).textContent = this.label, o(this, c, u).call(this);
20
27
  }
21
28
  },
22
29
  colspan: {
23
30
  type: Number,
24
31
  default: 1,
25
32
  observer: () => {
33
+ o(this, c, u).call(this);
26
34
  }
27
35
  },
28
36
  rowspan: {
29
37
  type: Number,
30
38
  default: 1,
31
39
  observer: () => {
40
+ o(this, c, u).call(this);
32
41
  }
33
42
  },
34
43
  align: {
35
44
  type: ["left", "center", "right"],
36
45
  default: "",
37
46
  observer: () => {
47
+ o(this, c, u).call(this);
38
48
  }
39
49
  },
40
50
  "label-align": {
41
51
  type: ["left", "center", "right"],
42
52
  default: "",
43
53
  observer: () => {
54
+ o(this, c, u).call(this);
44
55
  }
45
56
  },
46
57
  width: {
47
58
  type: String,
48
59
  default: "",
49
60
  observer: () => {
61
+ o(this, c, u).call(this);
50
62
  }
51
63
  },
52
64
  "label-width": {
53
65
  type: String,
54
66
  default: "",
55
67
  observer: () => {
68
+ o(this, c, u).call(this);
56
69
  }
57
70
  },
58
71
  "label-part": {
59
72
  type: String,
60
73
  default: "",
61
74
  observer: () => {
75
+ o(this, c, u).call(this);
62
76
  }
63
77
  },
64
78
  "content-part": {
65
79
  type: String,
66
80
  default: "",
67
81
  observer: () => {
82
+ o(this, c, u).call(this);
68
83
  }
69
84
  }
70
85
  }));
71
- this.stylesheet = L, this.$render();
86
+ this.stylesheet = U, this.$render();
72
87
  }
73
88
  static get observedAttributes() {
74
89
  return [
@@ -87,44 +102,67 @@ class k extends q {
87
102
  $render() {
88
103
  this.shadowRoot.innerHTML = `
89
104
  <div class='ea-descriptions-item' part='container'>
90
- <slot></slot>
105
+ <span class='ea-descriptions-item__label' part='label'>${this.label}</span>
106
+ <span class='ea-descriptions-item__content' part='content'>
107
+ <slot></slot>
108
+ </span>
91
109
  </div>
92
- `;
110
+ `, h(this, C, this.shadowRoot.querySelector(".ea-descriptions-item__label"));
93
111
  }
94
112
  connectedCallback() {
95
- super.connectedCallback(), this.emit("ea-descriptions-item-ready", {
96
- bubbles: !0,
97
- composed: !0
98
- });
113
+ super.connectedCallback(), o(this, c, I).call(this);
114
+ }
115
+ $beforeUnmounted() {
116
+ i(this, g) && (i(this, g).disconnect(), h(this, g, null));
99
117
  }
100
118
  }
101
- window.customElements.get("ea-descriptions-item") || window.customElements.define("ea-descriptions-item", k);
102
- var w, f, y, E, _, v, $, C;
103
- class H extends q {
119
+ C = new WeakMap(), g = new WeakMap(), c = new WeakSet(), u = function() {
120
+ this.emit("ea-descriptions-item-change", {
121
+ bubbles: !0,
122
+ composed: !0
123
+ });
124
+ }, I = function() {
125
+ h(this, g, new MutationObserver(() => {
126
+ o(this, c, u).call(this);
127
+ })), i(this, g).observe(this, {
128
+ childList: !0,
129
+ subtree: !0,
130
+ characterData: !0
131
+ });
132
+ };
133
+ window.customElements.get("ea-descriptions-item") || window.customElements.define("ea-descriptions-item", F);
134
+ var S, m, j, q, x, R, w, L, z, A, H, D, f, E;
135
+ class G extends B {
104
136
  constructor() {
105
137
  super();
138
+ r(this, f);
106
139
  /** @type {HTMLElement} */
107
- c(this, w);
140
+ r(this, S);
108
141
  /** @type {HTMLElement} */
109
- c(this, f);
142
+ r(this, m);
110
143
  /** @type {HTMLElement} */
111
- c(this, y);
144
+ r(this, j);
112
145
  /** @type {HTMLElement} */
113
- c(this, E);
146
+ r(this, q);
114
147
  /** @type {HTMLElement} */
115
- c(this, _);
116
- S(this, "state", this.properties({
148
+ r(this, x);
149
+ /** @type {HTMLSlotElement} */
150
+ r(this, R);
151
+ /** @type {AbortController | null} */
152
+ r(this, w);
153
+ M(this, "state", this.properties({
117
154
  column: {
118
155
  type: Number,
119
156
  default: 3,
120
157
  observer: () => {
158
+ o(this, f, E).call(this);
121
159
  }
122
160
  },
123
161
  title: {
124
162
  type: String,
125
163
  default: "",
126
164
  observer: (t) => {
127
- d(this, y).textContent = t;
165
+ i(this, j).textContent = t;
128
166
  }
129
167
  },
130
168
  border: {
@@ -138,6 +176,7 @@ class H extends q {
138
176
  type: ["horizontal", "vertical"],
139
177
  default: "horizontal",
140
178
  observer: () => {
179
+ o(this, f, E).call(this);
141
180
  }
142
181
  },
143
182
  size: {
@@ -161,11 +200,11 @@ class H extends q {
161
200
  * @param {number} column 列数
162
201
  * @return {Array<Array<Object>>} 分割后的二维数组
163
202
  */
164
- c(this, v, (t, e) => {
203
+ r(this, L, (t, e) => {
165
204
  const a = [];
166
205
  return t.forEach((n) => {
167
- var j;
168
- const r = a.length, u = e % ((j = a[r]) == null ? void 0 : j.length) || 0, p = {
206
+ var k;
207
+ const d = a.length, v = e % ((k = a[d]) == null ? void 0 : k.length) || 0, _ = {
169
208
  label: n.label,
170
209
  content: n.innerHTML,
171
210
  colspan: n.colspan,
@@ -177,33 +216,33 @@ class H extends q {
177
216
  "label-part": n["label-part"],
178
217
  "content-part": n["content-part"]
179
218
  };
180
- for (let o = r; o < r + p.rowspan; o++) {
181
- a[o] || (a[o] = []), p.rowspan > 1 && o !== r && (a[o][u] = {
219
+ for (let p = d; p < d + _.rowspan; p++) {
220
+ a[p] || (a[p] = []), _.rowspan > 1 && p !== d && (a[p][v] = {
182
221
  colspan: 1,
183
222
  rowspan: 1,
184
223
  placeholder: !0
185
224
  });
186
- for (let h = u; h < u + p.colspan; h++)
187
- p.colspan > 1 && h !== u && (a[o][h] = {
225
+ for (let y = v; y < v + _.colspan; y++)
226
+ _.colspan > 1 && y !== v && (a[p][y] = {
188
227
  colspan: 1,
189
228
  rowspan: 1,
190
229
  placeholder: !0
191
230
  });
192
231
  }
193
- let g = a.findIndex((o) => o.length < e);
194
- g = g === -1 ? r : g, a[r].reduce((o, h) => o + h.colspan, 0) + p.colspan <= e ? a[g].push(p) : a[g][u] = p;
195
- }), a.map((n) => n.filter((r) => !r.placeholder)).filter((n) => n.length);
232
+ let $ = a.findIndex((p) => p.length < e);
233
+ $ = $ === -1 ? d : $, a[d].reduce((p, y) => p + y.colspan, 0) + _.colspan <= e ? a[$].push(_) : a[$][v] = _;
234
+ }), a.map((n) => n.filter((d) => !d.placeholder)).filter((n) => n.length);
196
235
  });
197
236
  /**
198
237
  * 获取 Descriptions 组件的样式类型
199
238
  * @return {string} 变体名称
200
239
  */
201
- c(this, $, () => this.direction === "vertical" ? "vertical" : this.border ? "border" : "normal");
240
+ r(this, z, () => this.direction === "vertical" ? "vertical" : this.border ? "border" : "normal");
202
241
  /**
203
242
  * Descriptions 组件的样式类型渲染器
204
243
  */
205
- c(this, C, {
206
- normal: (t) => i.EaElement.h(
244
+ r(this, A, {
245
+ normal: (t) => b.EaElement.h(
207
246
  "tr",
208
247
  "ea-descriptions__tr",
209
248
  {
@@ -213,19 +252,19 @@ class H extends q {
213
252
  ].join(" ")
214
253
  },
215
254
  t.map(
216
- (e, a) => i.EaElement.h(
255
+ (e, a) => b.EaElement.h(
217
256
  "td",
218
257
  "ea-descriptions__td",
219
258
  {
220
259
  part: "col-cell",
221
260
  [e.rowspan > 1 ? "rowspan" : ""]: e.rowspan,
222
- [e.colspan > 1 || a === t.length - 1 && t.length < this.column ? "colspan" : ""]: a === t.length - 1 && t.length < this.column && t.reduce((n, r) => n + r.colspan, 0) < this.column ? this.column - t.reduce((n, r) => n + r.colspan, 0) + (a < 1 ? 1 : a) : e.colspan,
261
+ [e.colspan > 1 || a === t.length - 1 && t.length < this.column ? "colspan" : ""]: a === t.length - 1 && t.length < this.column && t.reduce((n, d) => n + d.colspan, 0) < this.column ? this.column - t.reduce((n, d) => n + d.colspan, 0) + (a < 1 ? 1 : a) : e.colspan,
223
262
  style: [
224
263
  e.width ? `--ea-descriptions-item-width: ${e.width}` : ""
225
264
  ]
226
265
  },
227
266
  [
228
- i.EaElement.h(
267
+ b.EaElement.h(
229
268
  "span",
230
269
  "ea-descriptions__label",
231
270
  {
@@ -238,7 +277,7 @@ class H extends q {
238
277
  },
239
278
  e.label
240
279
  ),
241
- i.EaElement.h(
280
+ b.EaElement.h(
242
281
  "span",
243
282
  "ea-descriptions__content",
244
283
  {
@@ -254,7 +293,7 @@ class H extends q {
254
293
  )
255
294
  )
256
295
  ),
257
- border: (t) => i.EaElement.h(
296
+ border: (t) => b.EaElement.h(
258
297
  "tr",
259
298
  "ea-descriptions__tr",
260
299
  {
@@ -262,7 +301,7 @@ class H extends q {
262
301
  },
263
302
  t.map(
264
303
  (e, a) => [
265
- i.EaElement.h(
304
+ b.EaElement.h(
266
305
  "td",
267
306
  "ea-descriptions__label",
268
307
  {
@@ -279,7 +318,7 @@ class H extends q {
279
318
  },
280
319
  e.label
281
320
  ),
282
- i.EaElement.h(
321
+ b.EaElement.h(
283
322
  "td",
284
323
  "ea-descriptions__content",
285
324
  {
@@ -298,14 +337,14 @@ class H extends q {
298
337
  )
299
338
  ),
300
339
  vertical: (t) => [
301
- i.EaElement.h(
340
+ b.EaElement.h(
302
341
  "tr",
303
342
  "ea-descriptions__tr",
304
343
  {
305
344
  part: "row row-label"
306
345
  },
307
346
  t.map(
308
- (e, a) => i.EaElement.h(
347
+ (e, a) => b.EaElement.h(
309
348
  "th",
310
349
  "ea-descriptions__label ea-descriptions__th",
311
350
  {
@@ -324,14 +363,14 @@ class H extends q {
324
363
  )
325
364
  )
326
365
  ),
327
- i.EaElement.h(
366
+ b.EaElement.h(
328
367
  "tr",
329
368
  "ea-descriptions__tr",
330
369
  {
331
370
  part: "row row-content"
332
371
  },
333
372
  t.map(
334
- (e, a) => i.EaElement.h(
373
+ (e, a) => b.EaElement.h(
335
374
  "td",
336
375
  "ea-descriptions__content ea-descriptions__td",
337
376
  {
@@ -350,7 +389,20 @@ class H extends q {
350
389
  )
351
390
  ].join("")
352
391
  });
353
- this.stylesheet = N, this.$render();
392
+ /**
393
+ * 监听默认插槽变化
394
+ */
395
+ r(this, H, () => {
396
+ o(this, f, E).call(this);
397
+ });
398
+ /**
399
+ * 监听子元素变化
400
+ * @param {Event} e
401
+ */
402
+ r(this, D, (t) => {
403
+ t.stopImmediatePropagation(), o(this, f, E).call(this);
404
+ });
405
+ this.stylesheet = V, this.$render();
354
406
  }
355
407
  static get observedAttributes() {
356
408
  return [
@@ -372,10 +424,11 @@ class H extends q {
372
424
  "--border": this.border,
373
425
  ["--" + this.size]: this.size
374
426
  });
375
- return d(this, w).className = t, t;
427
+ return i(this, S).className = t, t;
376
428
  }
377
429
  $render() {
378
430
  this.shadowRoot.innerHTML = `
431
+ <slot id='defaultSlot' part='default-slot'></slot>
379
432
  <table class='ea-descriptions' part='container'>
380
433
  <caption class='ea-descriptions__caption' part='caption'>
381
434
  <section class='ea-descriptions__title' part='title'>
@@ -388,24 +441,34 @@ class H extends q {
388
441
  <tbody class='ea-descriptions__body' part='body'>
389
442
  </tbody>
390
443
  </table>
391
- `, b(this, w, this.shadowRoot.querySelector(".ea-descriptions")), b(this, f, this.shadowRoot.querySelector(".ea-descriptions__caption")), b(this, y, this.shadowRoot.querySelector(".ea-descriptions__title")), b(this, E, this.shadowRoot.querySelector(".ea-descriptions__extra")), b(this, _, this.shadowRoot.querySelector(".ea-descriptions__body"));
444
+ `, h(this, S, this.shadowRoot.querySelector(".ea-descriptions")), h(this, m, this.shadowRoot.querySelector(".ea-descriptions__caption")), h(this, j, this.shadowRoot.querySelector(
445
+ ".ea-descriptions__title slot[name='title']"
446
+ )), h(this, q, this.shadowRoot.querySelector(".ea-descriptions__extra")), h(this, x, this.shadowRoot.querySelector(".ea-descriptions__body")), h(this, R, this.shadowRoot.querySelector("#defaultSlot"));
392
447
  }
393
448
  async connectedCallback() {
394
- super.connectedCallback();
395
- const t = [...this.querySelectorAll("ea-descriptions-item")];
396
- await Promise.all([
397
- t.map(
398
- (e) => i.EaElement.addAsyncEventListener(
399
- e,
400
- "ea-descriptions-item-ready"
401
- )
402
- )
403
- ]), d(this, _).innerHTML = d(this, v).call(this, t, this.column).map(d(this, C)[d(this, $).call(this)]).join("");
449
+ var t;
450
+ super.connectedCallback(), await customElements.whenDefined("ea-descriptions-item"), (t = i(this, w)) == null || t.abort(), h(this, w, new AbortController()), o(this, f, E).call(this), this.addEventListener(
451
+ "ea-descriptions-item-change",
452
+ i(this, D),
453
+ { signal: i(this, w).signal }
454
+ ), i(this, R).addEventListener("slotchange", i(this, H), {
455
+ signal: i(this, w).signal
456
+ });
457
+ }
458
+ $beforeUnmounted() {
459
+ var t;
460
+ (t = i(this, w)) == null || t.abort();
404
461
  }
405
462
  }
406
- w = new WeakMap(), f = new WeakMap(), y = new WeakMap(), E = new WeakMap(), _ = new WeakMap(), v = new WeakMap(), $ = new WeakMap(), C = new WeakMap();
407
- window.customElements.get("ea-descriptions") || window.customElements.define("ea-descriptions", H);
463
+ S = new WeakMap(), m = new WeakMap(), j = new WeakMap(), q = new WeakMap(), x = new WeakMap(), R = new WeakMap(), w = new WeakMap(), L = new WeakMap(), z = new WeakMap(), A = new WeakMap(), H = new WeakMap(), D = new WeakMap(), f = new WeakSet(), /**
464
+ * 渲染默认插槽内容
465
+ */
466
+ E = function() {
467
+ const t = [...this.querySelectorAll("ea-descriptions-item")];
468
+ i(this, x).innerHTML = i(this, L).call(this, t, this.column).map(i(this, A)[i(this, z).call(this)]).join("");
469
+ };
470
+ window.customElements.get("ea-descriptions") || window.customElements.define("ea-descriptions", G);
408
471
  export {
409
- H as EaDescriptions,
410
- k as EaDescriptionsItem
472
+ G as EaDescriptions,
473
+ F as EaDescriptionsItem
411
474
  };
@@ -9,7 +9,7 @@ import { EaOverlay as E } from "./ea-overlay.js";
9
9
  import { s as B } from "../css/ea-dialog.style.js";
10
10
  import { t as C } from "../utils/timeout.js";
11
11
  var n, h, c, p, r, i, b, f, g;
12
- class A extends E {
12
+ class k extends E {
13
13
  constructor() {
14
14
  super();
15
15
  /** @type {HTMLElement} */
@@ -168,7 +168,7 @@ class A extends E {
168
168
  <header class='ea-dialog-main__header' part='header'>
169
169
  <slot name="header">
170
170
  <span class='ea-dialog-main__title' part='title'></span>
171
- <ea-icon class='ea-dialog-main__close-icon' icon='icon-cancel' part='close-icon'></ea-icon>
171
+ <ea-icon class='ea-dialog-main__close-icon' name='xmark' part='close-icon'></ea-icon>
172
172
  </slot>
173
173
  </header>
174
174
  <main class='ea-dialog-main__content' part='content'>
@@ -243,7 +243,7 @@ class A extends E {
243
243
  }
244
244
  }
245
245
  n = new WeakMap(), h = new WeakMap(), c = new WeakMap(), p = new WeakMap(), r = new WeakMap(), i = new WeakMap(), b = new WeakMap(), f = new WeakMap(), g = new WeakMap();
246
- window.customElements.get("ea-dialog") || window.customElements.define("ea-dialog", A);
246
+ window.customElements.get("ea-dialog") || window.customElements.define("ea-dialog", k);
247
247
  export {
248
- A as EaDialog
248
+ k as EaDialog
249
249
  };