easy-component-ui 3.0.12 → 3.0.14

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 (168) hide show
  1. package/package.json +308 -304
  2. package/dist/assets/icon.css +0 -1
  3. package/dist/components/Base.js +0 -873
  4. package/dist/components/ea-alert.js +0 -196
  5. package/dist/components/ea-avatar.js +0 -159
  6. package/dist/components/ea-backtop.js +0 -136
  7. package/dist/components/ea-badge.js +0 -144
  8. package/dist/components/ea-breadcrumb.js +0 -148
  9. package/dist/components/ea-button.js +0 -265
  10. package/dist/components/ea-calendar.js +0 -10
  11. package/dist/components/ea-calendar2.js +0 -671
  12. package/dist/components/ea-card.js +0 -85
  13. package/dist/components/ea-carousel.js +0 -415
  14. package/dist/components/ea-checkbox.js +0 -446
  15. package/dist/components/ea-collapse.js +0 -313
  16. package/dist/components/ea-color-picker.js +0 -891
  17. package/dist/components/ea-container.js +0 -177
  18. package/dist/components/ea-countdown.js +0 -142
  19. package/dist/components/ea-date-picker.js +0 -649
  20. package/dist/components/ea-descriptions.js +0 -474
  21. package/dist/components/ea-dialog.js +0 -249
  22. package/dist/components/ea-drawer.js +0 -211
  23. package/dist/components/ea-dropdown.js +0 -228
  24. package/dist/components/ea-empty.js +0 -93
  25. package/dist/components/ea-icon.js +0 -68
  26. package/dist/components/ea-image-preview.js +0 -488
  27. package/dist/components/ea-image.js +0 -302
  28. package/dist/components/ea-infinite-scroll.js +0 -109
  29. package/dist/components/ea-input-number.js +0 -367
  30. package/dist/components/ea-input.js +0 -588
  31. package/dist/components/ea-layout.js +0 -125
  32. package/dist/components/ea-link.js +0 -101
  33. package/dist/components/ea-loading.js +0 -151
  34. package/dist/components/ea-menu.js +0 -433
  35. package/dist/components/ea-message-box.js +0 -624
  36. package/dist/components/ea-message.js +0 -251
  37. package/dist/components/ea-notification.js +0 -331
  38. package/dist/components/ea-overlay.js +0 -167
  39. package/dist/components/ea-page-header.js +0 -108
  40. package/dist/components/ea-pagination.js +0 -481
  41. package/dist/components/ea-popconfirm.js +0 -275
  42. package/dist/components/ea-popover.js +0 -123
  43. package/dist/components/ea-popper.js +0 -203
  44. package/dist/components/ea-progress.js +0 -286
  45. package/dist/components/ea-radio.js +0 -364
  46. package/dist/components/ea-rate.js +0 -241
  47. package/dist/components/ea-result.js +0 -100
  48. package/dist/components/ea-scrollbar.js +0 -235
  49. package/dist/components/ea-segmented.js +0 -215
  50. package/dist/components/ea-select.js +0 -609
  51. package/dist/components/ea-skeleton.js +0 -263
  52. package/dist/components/ea-slider.js +0 -421
  53. package/dist/components/ea-space.js +0 -123
  54. package/dist/components/ea-splitter.js +0 -217
  55. package/dist/components/ea-statistic.js +0 -74
  56. package/dist/components/ea-steps.js +0 -346
  57. package/dist/components/ea-switch.js +0 -271
  58. package/dist/components/ea-table.js +0 -1124
  59. package/dist/components/ea-tabs.js +0 -501
  60. package/dist/components/ea-tag.js +0 -228
  61. package/dist/components/ea-text.js +0 -113
  62. package/dist/components/ea-time-picker.js +0 -514
  63. package/dist/components/ea-timeline.js +0 -185
  64. package/dist/components/ea-tooltip.js +0 -121
  65. package/dist/components/ea-tour.js +0 -544
  66. package/dist/components/ea-transfer.js +0 -949
  67. package/dist/components/ea-tree.js +0 -1125
  68. package/dist/components/index.js +0 -61
  69. package/dist/core/FormBase.js +0 -238
  70. package/dist/css/ea-alert.style.js +0 -4
  71. package/dist/css/ea-aside.style.js +0 -4
  72. package/dist/css/ea-avatar.style.js +0 -4
  73. package/dist/css/ea-backtop.style.js +0 -4
  74. package/dist/css/ea-badge.style.js +0 -4
  75. package/dist/css/ea-breadcrumb-item.style.js +0 -4
  76. package/dist/css/ea-breadcrumb.style.js +0 -4
  77. package/dist/css/ea-button-group.style.js +0 -4
  78. package/dist/css/ea-button.style.js +0 -4
  79. package/dist/css/ea-calendar.style.js +0 -4
  80. package/dist/css/ea-card.style.js +0 -4
  81. package/dist/css/ea-carousel-item.style.js +0 -4
  82. package/dist/css/ea-carousel.style.js +0 -4
  83. package/dist/css/ea-check-tag.style.js +0 -4
  84. package/dist/css/ea-checkbox-group.style.js +0 -4
  85. package/dist/css/ea-checkbox.style.js +0 -4
  86. package/dist/css/ea-col.style.js +0 -4
  87. package/dist/css/ea-collapse-item.style.js +0 -4
  88. package/dist/css/ea-collapse.style.js +0 -4
  89. package/dist/css/ea-color-picker-panel.style.js +0 -4
  90. package/dist/css/ea-color-picker.style.js +0 -4
  91. package/dist/css/ea-container.style.js +0 -4
  92. package/dist/css/ea-date-picker.style.js +0 -4
  93. package/dist/css/ea-descriptions-item.style.js +0 -4
  94. package/dist/css/ea-descriptions.style.js +0 -4
  95. package/dist/css/ea-dialog.style.js +0 -4
  96. package/dist/css/ea-drawer.style.js +0 -4
  97. package/dist/css/ea-dropdown-item.style.js +0 -4
  98. package/dist/css/ea-dropdown-menu.style.js +0 -4
  99. package/dist/css/ea-dropdown.style.js +0 -4
  100. package/dist/css/ea-empty.style.js +0 -4
  101. package/dist/css/ea-footer.style.js +0 -4
  102. package/dist/css/ea-header.style.js +0 -4
  103. package/dist/css/ea-icon.style.js +0 -4
  104. package/dist/css/ea-image-preview.style.js +0 -4
  105. package/dist/css/ea-image.style.js +0 -4
  106. package/dist/css/ea-infinite-scroll.style.js +0 -4
  107. package/dist/css/ea-input-number.style.js +0 -4
  108. package/dist/css/ea-input.style.js +0 -4
  109. package/dist/css/ea-link.style.js +0 -4
  110. package/dist/css/ea-main.style.js +0 -4
  111. package/dist/css/ea-menu-item-group.style.js +0 -4
  112. package/dist/css/ea-menu-item.style.js +0 -4
  113. package/dist/css/ea-menu.style.js +0 -4
  114. package/dist/css/ea-message-box.style.js +0 -4
  115. package/dist/css/ea-message.style.js +0 -4
  116. package/dist/css/ea-notification.style.js +0 -4
  117. package/dist/css/ea-option-gropu.style.js +0 -4
  118. package/dist/css/ea-option.style.js +0 -4
  119. package/dist/css/ea-overlay.style.js +0 -4
  120. package/dist/css/ea-page-header.style.js +0 -4
  121. package/dist/css/ea-pagination.style.js +0 -4
  122. package/dist/css/ea-popconfirm.style.js +0 -4
  123. package/dist/css/ea-popover.style.js +0 -4
  124. package/dist/css/ea-popper.style.js +0 -4
  125. package/dist/css/ea-progress.style.js +0 -4
  126. package/dist/css/ea-radio-group.style.js +0 -4
  127. package/dist/css/ea-radio.style.js +0 -4
  128. package/dist/css/ea-rate.style.js +0 -4
  129. package/dist/css/ea-result.style.js +0 -4
  130. package/dist/css/ea-row.style.js +0 -4
  131. package/dist/css/ea-scrollbar.style.js +0 -4
  132. package/dist/css/ea-segmented.style.js +0 -4
  133. package/dist/css/ea-select.style.js +0 -4
  134. package/dist/css/ea-skeleton-item.style.js +0 -4
  135. package/dist/css/ea-skeleton.style.js +0 -4
  136. package/dist/css/ea-slider.style.js +0 -4
  137. package/dist/css/ea-space.style.js +0 -4
  138. package/dist/css/ea-splitter-bar.style.js +0 -4
  139. package/dist/css/ea-splitter-panel.style.js +0 -4
  140. package/dist/css/ea-splitter.style.js +0 -4
  141. package/dist/css/ea-statistic.style.js +0 -4
  142. package/dist/css/ea-step.style.js +0 -4
  143. package/dist/css/ea-steps.style.js +0 -4
  144. package/dist/css/ea-sub-menu.style.js +0 -4
  145. package/dist/css/ea-switch.style.js +0 -4
  146. package/dist/css/ea-tab-panel.style.js +0 -4
  147. package/dist/css/ea-tab.style.js +0 -4
  148. package/dist/css/ea-table-column.style.js +0 -4
  149. package/dist/css/ea-table.style.js +0 -4
  150. package/dist/css/ea-tabs.style.js +0 -4
  151. package/dist/css/ea-tag.style.js +0 -4
  152. package/dist/css/ea-text.style.js +0 -4
  153. package/dist/css/ea-time-picker.style.js +0 -4
  154. package/dist/css/ea-timeline-item.style.js +0 -4
  155. package/dist/css/ea-timeline.style.js +0 -4
  156. package/dist/css/ea-tooltip.style.js +0 -4
  157. package/dist/css/ea-tour-step.style.js +0 -4
  158. package/dist/css/ea-tour.style.js +0 -4
  159. package/dist/css/ea-transfer.style.js +0 -5
  160. package/dist/css/ea-tree.style.js +0 -6
  161. package/dist/css/ea-ui-component.style.js +0 -4
  162. package/dist/favicon.ico +0 -0
  163. package/dist/utils/Color.js +0 -439
  164. package/dist/utils/I18nManager.js +0 -218
  165. package/dist/utils/Utils.js +0 -65
  166. package/dist/utils/Variables.js +0 -12
  167. package/dist/utils/parseTime.js +0 -73
  168. package/dist/utils/timeout.js +0 -9
@@ -1,302 +0,0 @@
1
- var y = Object.defineProperty;
2
- var g = (s) => {
3
- throw TypeError(s);
4
- };
5
- var b = (s, i, e) => i in s ? y(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
6
- var c = (s, i, e) => b(s, typeof i != "symbol" ? i + "" : i, e), f = (s, i, e) => i.has(s) || g("Cannot " + e);
7
- var t = (s, i, e) => (f(s, i, "read from private field"), e ? e.call(s) : i.get(s)), o = (s, i, e) => i.has(s) ? g("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(s) : i.set(s, e), l = (s, i, e, n) => (f(s, i, "write to private field"), n ? n.call(s, e) : i.set(s, e), e);
8
- import { B as S } from "./Base.js";
9
- import { s as E } from "../css/ea-image.style.js";
10
- var m, a, u, d, r, h, p;
11
- class C extends S {
12
- constructor() {
13
- super();
14
- /** @type {HTMLElement} */
15
- o(this, m);
16
- /** @type {HTMLImageElement} */
17
- o(this, a);
18
- /** @type {HTMLElement} */
19
- o(this, u);
20
- /** @type {HTMLElement} */
21
- o(this, d);
22
- /** @type {EaImagePreview} */
23
- o(this, r);
24
- /** @type {AbortController} */
25
- o(this, h);
26
- o(this, p, {
27
- /** @type {"loading" | "error" | "success"} */
28
- imageStatus: "loading",
29
- previewQueue: []
30
- });
31
- c(this, "state", this.properties({
32
- src: {
33
- type: String,
34
- default: "",
35
- observer: async (e) => {
36
- const n = new Image();
37
- if (this.updateContainerClasslist(), this.lazy) {
38
- const w = new IntersectionObserver((v) => {
39
- v[0].intersectionRatio <= 0 || (w.disconnect(), n.src = this.src);
40
- });
41
- w.observe(this);
42
- } else
43
- n.src = e;
44
- n.onload = () => {
45
- t(this, a).setAttribute("src", e), t(this, p).imageStatus = "success", this.updateContainerClasslist(), this.emit("load");
46
- }, n.onerror = () => {
47
- t(this, p).imageStatus = "error", this.updateContainerClasslist(), this.emit("error");
48
- };
49
- }
50
- },
51
- width: {
52
- type: String,
53
- default: "",
54
- observer: (e) => {
55
- if (!CSS.supports("width", e))
56
- return console.warn(
57
- `[EaImage] The width value ${e} is not supported.`
58
- );
59
- this.style.setProperty("--ea-image-width", e);
60
- }
61
- },
62
- height: {
63
- type: String,
64
- default: "",
65
- observer: (e) => {
66
- if (!CSS.supports("height", e))
67
- return console.warn(
68
- `[EaImage] The height value ${e} is not supported.`
69
- );
70
- this.style.setProperty("--ea-image-height", e);
71
- }
72
- },
73
- fit: {
74
- type: String,
75
- default: "",
76
- observer: (e) => {
77
- if (!CSS.supports("object-fit", e))
78
- return console.warn(
79
- `[EaImage] The object-fit value ${e} is not supported.`
80
- );
81
- this.style.setProperty("--ea-image-fit", e);
82
- }
83
- },
84
- alt: {
85
- type: String,
86
- default: "",
87
- observer: (e) => {
88
- t(this, a).alt = e;
89
- }
90
- },
91
- loading: {
92
- type: ["lazy", "eager"],
93
- default: "eager",
94
- observer: (e) => {
95
- t(this, a).setAttribute("loading", e);
96
- }
97
- },
98
- referrerpolicy: {
99
- type: String,
100
- default: "",
101
- observer: (e) => {
102
- t(this, a).setAttribute("referrerpolicy", e);
103
- }
104
- },
105
- crossorigin: {
106
- type: String,
107
- default: "",
108
- observer: (e) => {
109
- t(this, a).setAttribute("sizes", e);
110
- }
111
- },
112
- lazy: {
113
- type: Boolean,
114
- default: !1,
115
- observer: () => {
116
- }
117
- },
118
- preview: {
119
- type: Boolean,
120
- default: !1,
121
- observer: async (e) => {
122
- e && await import("./ea-image-preview.js");
123
- }
124
- },
125
- "hide-on-click-modal": {
126
- type: Boolean,
127
- default: !1,
128
- observer: async (e) => {
129
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["hide-on-click-modal"] = e);
130
- }
131
- },
132
- "z-index": {
133
- type: Number,
134
- default: 2e3,
135
- observer: async (e) => {
136
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["z-index"] = e);
137
- }
138
- },
139
- "initial-index": {
140
- type: Number,
141
- default: 0,
142
- observer: async (e) => {
143
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["initial-index"] = e);
144
- }
145
- },
146
- "close-on-press-escape": {
147
- type: Boolean,
148
- default: !0,
149
- observer: async (e) => {
150
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["close-on-press-escape"] = e);
151
- }
152
- },
153
- infinite: {
154
- type: Boolean,
155
- default: !0,
156
- observer: async (e) => {
157
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r).infinite = e);
158
- }
159
- },
160
- "zoom-rate": {
161
- type: Number,
162
- default: 1.2,
163
- observer: async (e) => {
164
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["zoom-rate"] = e);
165
- }
166
- },
167
- scale: {
168
- type: Number,
169
- default: 1,
170
- observer: async (e) => {
171
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r).scale = e);
172
- }
173
- },
174
- "min-scale": {
175
- type: Number,
176
- default: 0.2,
177
- observer: async (e) => {
178
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["min-scale"] = e);
179
- }
180
- },
181
- "max-scale": {
182
- type: Number,
183
- default: 7,
184
- observer: async (e) => {
185
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["max-scale"] = e);
186
- }
187
- },
188
- "show-progress": {
189
- type: Boolean,
190
- default: !1,
191
- observer: async (e) => {
192
- this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, r)["show-progress"] = e);
193
- }
194
- }
195
- }));
196
- c(this, "propState", this.properties({
197
- previewSrcList: {
198
- props: !0,
199
- type: Array,
200
- default: () => [],
201
- /** @param {String[]} newVal */
202
- observer: async (e) => {
203
- if (!this.preview)
204
- return console.warn("[EaImage] Preview is not enabled.");
205
- await customElements.whenDefined("ea-image-preview"), t(this, r).urlList = e;
206
- }
207
- }
208
- }));
209
- /**
210
- * 设置当前项
211
- * @param {Number} index
212
- */
213
- c(this, "setActiveItem", (e) => {
214
- this.preview && t(this, r).setActiveItem(e);
215
- });
216
- /**
217
- * 重置预览器的所有状态
218
- */
219
- c(this, "reset", () => {
220
- this.preview && t(this, r).reset();
221
- });
222
- /**
223
- * 显示预览(ea-image-preview)
224
- */
225
- c(this, "showPreview", () => {
226
- t(this, r).visible = !0;
227
- });
228
- this.stylesheet = E, this.$render();
229
- }
230
- static get observedAttributes() {
231
- return [
232
- ...super.observedAttributes,
233
- "width",
234
- "height",
235
- "src",
236
- "fit",
237
- "alt",
238
- "referrerpolicy",
239
- "crossorigin",
240
- "loading",
241
- "lazy",
242
- "preview",
243
- "hide-on-click-modal",
244
- "z-index",
245
- "initial-index",
246
- "close-on-press-escape",
247
- "infinite",
248
- "zoom-rate",
249
- "scale",
250
- "min-scale",
251
- "max-scale",
252
- "show-progress"
253
- ];
254
- }
255
- /**
256
- * 获取 classlist 列表
257
- * @return {string} 属性值
258
- */
259
- updateContainerClasslist() {
260
- const e = this.computedClasslist("ea-image", {
261
- [`--${t(this, p).imageStatus}`]: t(this, p).imageStatus
262
- });
263
- return t(this, m).className = e, e;
264
- }
265
- $render() {
266
- this.shadowRoot.innerHTML = `
267
- <div class='ea-image' part='container'>
268
- <img class='ea-image__image' part='image' />
269
- <section class='ea-image__error' part='error'>
270
- <slot name='error'>FAILED</slot>
271
- </section>
272
- <section class='ea-image__placeholder' part='placeholder'>
273
- <slot name='placeholder'></slot>
274
- </section>
275
- </div>
276
- <ea-image-preview class="ea-image-preview" part='preview'>
277
- <slot name='progress' slot="progress"></slot>
278
- <slot name='toolbar' slot="toolbar"></slot>
279
- <slot name='progress' slot="progress"></slot>
280
- </ea-image-preview>
281
- `, l(this, m, this.shadowRoot.querySelector(".ea-image")), l(this, a, this.shadowRoot.querySelector(".ea-image__image")), l(this, u, this.shadowRoot.querySelector(".ea-image__error")), l(this, d, this.shadowRoot.querySelector(".ea-image__placeholder")), l(this, r, this.shadowRoot.querySelector(".ea-image-preview"));
282
- }
283
- async connectedCallback() {
284
- var e;
285
- super.connectedCallback(), (e = t(this, h)) == null || e.abort(), l(this, h, new AbortController()), this.getAttribute("src") || this.setAttribute("src", ""), this.preview && (await customElements.whenDefined("ea-image-preview"), t(this, m).addEventListener(
286
- "click",
287
- () => {
288
- this.showPreview();
289
- },
290
- { signal: t(this, h).signal }
291
- ));
292
- }
293
- $beforeUnmounted() {
294
- var e;
295
- (e = t(this, h)) == null || e.abort();
296
- }
297
- }
298
- m = new WeakMap(), a = new WeakMap(), u = new WeakMap(), d = new WeakMap(), r = new WeakMap(), h = new WeakMap(), p = new WeakMap();
299
- window.customElements.get("ea-image") || window.customElements.define("ea-image", C);
300
- export {
301
- C as EaImage
302
- };
@@ -1,109 +0,0 @@
1
- var p = Object.defineProperty;
2
- var u = (t) => {
3
- throw TypeError(t);
4
- };
5
- var m = (t, s, e) => s in t ? p(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
6
- var b = (t, s, e) => m(t, typeof s != "symbol" ? s + "" : s, e), f = (t, s, e) => s.has(t) || u("Cannot " + e);
7
- var i = (t, s, e) => (f(t, s, "read from private field"), e ? e.call(t) : s.get(t)), n = (t, s, e) => s.has(t) ? u("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, e), d = (t, s, e, c) => (f(t, s, "write to private field"), c ? c.call(t, e) : s.set(t, e), e);
8
- import { B as v } from "./Base.js";
9
- import { s as g } from "../css/ea-infinite-scroll.style.js";
10
- var a, l, r, o;
11
- class w extends v {
12
- constructor() {
13
- super();
14
- /** @type {HTMLElement} */
15
- n(this, a);
16
- /** @type {HTMLElement} */
17
- n(this, l);
18
- /** @type {AbortController} */
19
- n(this, r);
20
- n(this, o, {
21
- /** @type {IntersectionObserver | null} */
22
- observer: null
23
- });
24
- b(this, "state", this.properties({
25
- status: {
26
- type: ["finished", "loading", "noMore"],
27
- default: "finished",
28
- /** @param {"loading" | "finished" | "noMore"} newVal */
29
- observer: () => {
30
- this.updateContainerClasslist();
31
- }
32
- },
33
- distance: {
34
- type: Number,
35
- default: 0,
36
- observer: () => {
37
- }
38
- }
39
- }));
40
- this.stylesheet = g, this.$render();
41
- }
42
- static get observedAttributes() {
43
- return [...super.observedAttributes, "distance", "status"];
44
- }
45
- /**
46
- * 获取 classlist 列表
47
- * @return {string} 属性值
48
- */
49
- updateContainerClasslist() {
50
- const e = this.computedClasslist(
51
- "ea-infinite-scroll",
52
- {},
53
- {
54
- [this.status]: this.status
55
- }
56
- );
57
- return i(this, a).className = e, e;
58
- }
59
- $render() {
60
- this.shadowRoot.innerHTML = `
61
- <section class='ea-infinite-scroll' part='container'>
62
- <slot></slot>
63
- <div class='ea-infinite-scroll__placeholder' part='placeholder'></div>
64
- <section class='ea-infinite-scroll__loading' part='loading'>
65
- <slot name='loading'></slot>
66
- </section>
67
- <section class='ea-infinite-scroll__noMore' part='noMore'>
68
- <slot name='noMore'></slot>
69
- </section>
70
- </section>
71
- `, d(this, a, this.shadowRoot.querySelector(".ea-infinite-scroll")), d(this, l, this.shadowRoot.querySelector(
72
- ".ea-infinite-scroll__placeholder"
73
- ));
74
- }
75
- connectedCallback() {
76
- var e;
77
- super.connectedCallback(), (e = i(this, r)) == null || e.abort(), d(this, r, new AbortController()), i(this, o).observer = new IntersectionObserver(
78
- (c) => {
79
- this.status === "finished" && c.forEach(async (h) => {
80
- h.isIntersecting && (i(this, o).observer.unobserve(h.target), this.status = "loading", this.emit("loadmore", {
81
- detail: {
82
- finished: () => {
83
- this.status = "finished", i(this, o).observer.observe(h.target);
84
- },
85
- noMore: () => {
86
- this.status = "noMore", i(this, o).observer.observe(h.target);
87
- }
88
- },
89
- bubbles: !0
90
- }));
91
- });
92
- },
93
- {
94
- rootMargin: this.distance + "px"
95
- }
96
- ), i(this, o).observer.observe(i(this, l)), this.shadowRoot.addEventListener("slotchange", () => {
97
- this.emit("slotchange", { bubbles: !0, composed: !0 });
98
- });
99
- }
100
- $beforeUnmounted() {
101
- var e;
102
- (e = i(this, r)) == null || e.abort(), i(this, o).observer.disconnect();
103
- }
104
- }
105
- a = new WeakMap(), l = new WeakMap(), r = new WeakMap(), o = new WeakMap();
106
- window.customElements.get("ea-infinite-scroll") || window.customElements.define("ea-infinite-scroll", w);
107
- export {
108
- w as EaInfiniteScroll
109
- };