@layers.digital/layers-design-system-vue3 1.0.13 → 1.0.15

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 (107) hide show
  1. package/dist/components/LLinearProgress/LLinearProgress.vue.d.ts +29 -0
  2. package/dist/helpers/convertIconToSVG.d.ts +1 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/layers-design-system-vue3.cjs +1 -1
  5. package/dist/layers-design-system-vue3.js +21 -16
  6. package/dist/layers-design-system-vue310.cjs +1 -1
  7. package/dist/layers-design-system-vue310.js +3 -3
  8. package/dist/layers-design-system-vue311.cjs +1 -1
  9. package/dist/layers-design-system-vue311.js +21 -13
  10. package/dist/layers-design-system-vue312.cjs +1 -1
  11. package/dist/layers-design-system-vue312.js +2 -46
  12. package/dist/layers-design-system-vue313.cjs +1 -1
  13. package/dist/layers-design-system-vue313.js +13 -2
  14. package/dist/layers-design-system-vue314.cjs +1 -1
  15. package/dist/layers-design-system-vue314.js +9 -6
  16. package/dist/layers-design-system-vue315.cjs +1 -1
  17. package/dist/layers-design-system-vue315.js +40 -21
  18. package/dist/layers-design-system-vue317.cjs +1 -1
  19. package/dist/layers-design-system-vue317.js +7 -2
  20. package/dist/layers-design-system-vue318.cjs +1 -1
  21. package/dist/layers-design-system-vue318.js +17 -36
  22. package/dist/layers-design-system-vue32.cjs +1 -1
  23. package/dist/layers-design-system-vue32.js +3 -3
  24. package/dist/layers-design-system-vue320.cjs +1 -1
  25. package/dist/layers-design-system-vue320.js +1 -1
  26. package/dist/layers-design-system-vue321.cjs +1 -1
  27. package/dist/layers-design-system-vue321.js +46 -2
  28. package/dist/layers-design-system-vue322.cjs +1 -1
  29. package/dist/layers-design-system-vue322.js +2 -24
  30. package/dist/layers-design-system-vue323.cjs +1 -1
  31. package/dist/layers-design-system-vue323.js +2 -2
  32. package/dist/layers-design-system-vue324.cjs +1 -1
  33. package/dist/layers-design-system-vue324.js +1 -1
  34. package/dist/layers-design-system-vue325.cjs +1 -1
  35. package/dist/layers-design-system-vue325.js +24 -2
  36. package/dist/layers-design-system-vue326.cjs +1 -1
  37. package/dist/layers-design-system-vue326.js +2 -1203
  38. package/dist/layers-design-system-vue327.cjs +1 -1
  39. package/dist/layers-design-system-vue327.js +2 -1287
  40. package/dist/layers-design-system-vue328.cjs +1 -1
  41. package/dist/layers-design-system-vue328.js +2 -2
  42. package/dist/layers-design-system-vue329.cjs +1 -1
  43. package/dist/layers-design-system-vue329.js +3 -2
  44. package/dist/layers-design-system-vue33.cjs +1 -1
  45. package/dist/layers-design-system-vue33.js +3 -3
  46. package/dist/layers-design-system-vue330.cjs +1 -38
  47. package/dist/layers-design-system-vue330.js +1107 -27096
  48. package/dist/layers-design-system-vue331.cjs +1 -1
  49. package/dist/layers-design-system-vue331.js +1287 -2
  50. package/dist/layers-design-system-vue332.cjs +1 -1
  51. package/dist/layers-design-system-vue332.js +2 -240
  52. package/dist/layers-design-system-vue333.cjs +1 -9
  53. package/dist/layers-design-system-vue333.js +2 -536
  54. package/dist/layers-design-system-vue334.cjs +38 -12
  55. package/dist/layers-design-system-vue334.js +27139 -1120
  56. package/dist/layers-design-system-vue335.cjs +1 -5
  57. package/dist/layers-design-system-vue335.js +237 -1007
  58. package/dist/layers-design-system-vue336.cjs +12 -13
  59. package/dist/layers-design-system-vue336.js +1102 -1892
  60. package/dist/layers-design-system-vue337.cjs +13 -1
  61. package/dist/layers-design-system-vue337.js +1963 -2
  62. package/dist/layers-design-system-vue339.cjs +1 -1
  63. package/dist/layers-design-system-vue339.js +2 -1737
  64. package/dist/layers-design-system-vue34.cjs +1 -1
  65. package/dist/layers-design-system-vue34.js +4 -4
  66. package/dist/layers-design-system-vue340.cjs +9 -1
  67. package/dist/layers-design-system-vue340.js +489 -2050
  68. package/dist/layers-design-system-vue341.cjs +5 -1
  69. package/dist/layers-design-system-vue341.js +1010 -2
  70. package/dist/layers-design-system-vue343.cjs +1 -1
  71. package/dist/layers-design-system-vue343.js +1737 -2
  72. package/dist/layers-design-system-vue344.cjs +1 -1
  73. package/dist/layers-design-system-vue344.js +2097 -2
  74. package/dist/layers-design-system-vue345.cjs +1 -1
  75. package/dist/layers-design-system-vue345.js +2 -2
  76. package/dist/layers-design-system-vue346.cjs +1 -1
  77. package/dist/layers-design-system-vue346.js +2 -2
  78. package/dist/layers-design-system-vue347.cjs +1 -1
  79. package/dist/layers-design-system-vue347.js +2 -113
  80. package/dist/layers-design-system-vue348.cjs +1 -1
  81. package/dist/layers-design-system-vue348.js +2 -2
  82. package/dist/layers-design-system-vue349.cjs +1 -1
  83. package/dist/layers-design-system-vue349.js +2 -87
  84. package/dist/layers-design-system-vue35.cjs +1 -1
  85. package/dist/layers-design-system-vue35.js +3 -3
  86. package/dist/layers-design-system-vue350.cjs +1 -1
  87. package/dist/layers-design-system-vue350.js +2 -2
  88. package/dist/layers-design-system-vue351.cjs +1 -1
  89. package/dist/layers-design-system-vue351.js +9 -9
  90. package/dist/layers-design-system-vue356.cjs +1 -0
  91. package/dist/layers-design-system-vue356.js +89 -0
  92. package/dist/layers-design-system-vue357.cjs +1 -0
  93. package/dist/layers-design-system-vue357.js +4 -0
  94. package/dist/layers-design-system-vue358.cjs +1 -0
  95. package/dist/layers-design-system-vue358.js +115 -0
  96. package/dist/layers-design-system-vue359.cjs +1 -0
  97. package/dist/layers-design-system-vue359.js +4 -0
  98. package/dist/layers-design-system-vue36.cjs +1 -1
  99. package/dist/layers-design-system-vue36.js +9 -9
  100. package/dist/layers-design-system-vue37.cjs +1 -1
  101. package/dist/layers-design-system-vue37.js +5 -5
  102. package/dist/layers-design-system-vue38.cjs +1 -1
  103. package/dist/layers-design-system-vue38.js +3 -3
  104. package/dist/layers-design-system-vue39.cjs +1 -1
  105. package/dist/layers-design-system-vue39.js +5 -5
  106. package/dist/style.css +1 -1
  107. package/package.json +1 -1
@@ -1,1289 +1,4 @@
1
- import { __commonJS as Qt } from "./layers-design-system-vue355.js";
2
- import * as $e from "vue";
3
- var He = Qt({
4
- "vite:cjs-external-facade:vue"(L, U) {
5
- U.exports = $e;
6
- }
7
- }), Ue = Qt({
8
- "node_modules/@iconify/vue/dist/iconify.js"(L, U) {
9
- (function(m, v) {
10
- typeof L == "object" && typeof U < "u" ? v(L, He()) : typeof define == "function" && define.amd ? define(["exports", "vue"], v) : (m = typeof globalThis < "u" ? globalThis : m || self, v(m.Icon = {}, m.Vue));
11
- })(L, function(m, v) {
12
- const P = /^[a-z0-9]+(-[a-z0-9]+)*$/, E = (t, e, n, r = "") => {
13
- const o = t.split(":");
14
- if (t.slice(0, 1) === "@") {
15
- if (o.length < 2 || o.length > 3)
16
- return null;
17
- r = o.shift().slice(1);
18
- }
19
- if (o.length > 3 || !o.length)
20
- return null;
21
- if (o.length > 1) {
22
- const c = o.pop(), l = o.pop(), f = {
23
- // Allow provider without '@': "provider:prefix:name"
24
- provider: o.length > 0 ? o[0] : r,
25
- prefix: l,
26
- name: c
27
- };
28
- return e && !A(f) ? null : f;
29
- }
30
- const i = o[0], s = i.split("-");
31
- if (s.length > 1) {
32
- const c = {
33
- provider: r,
34
- prefix: s.shift(),
35
- name: s.join("-")
36
- };
37
- return e && !A(c) ? null : c;
38
- }
39
- if (n && r === "") {
40
- const c = {
41
- provider: r,
42
- prefix: "",
43
- name: i
44
- };
45
- return e && !A(c, n) ? null : c;
46
- }
47
- return null;
48
- }, A = (t, e) => t ? !!((t.provider === "" || t.provider.match(P)) && (e && t.prefix === "" || t.prefix.match(P)) && t.name.match(P)) : !1, ft = Object.freeze(
49
- {
50
- left: 0,
51
- top: 0,
52
- width: 16,
53
- height: 16
54
- }
55
- ), N = Object.freeze({
56
- rotate: 0,
57
- vFlip: !1,
58
- hFlip: !1
59
- }), T = Object.freeze({
60
- ...ft,
61
- ...N
62
- }), K = Object.freeze({
63
- ...T,
64
- body: "",
65
- hidden: !1
66
- });
67
- function $t(t, e) {
68
- const n = {};
69
- !t.hFlip != !e.hFlip && (n.hFlip = !0), !t.vFlip != !e.vFlip && (n.vFlip = !0);
70
- const r = ((t.rotate || 0) + (e.rotate || 0)) % 4;
71
- return r && (n.rotate = r), n;
72
- }
73
- function ut(t, e) {
74
- const n = $t(t, e);
75
- for (const r in K)
76
- r in N ? r in t && !(r in n) && (n[r] = N[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
77
- return n;
78
- }
79
- function Ht(t, e) {
80
- const n = t.icons, r = t.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
81
- function i(s) {
82
- if (n[s])
83
- return o[s] = [];
84
- if (!(s in o)) {
85
- o[s] = null;
86
- const c = r[s] && r[s].parent, l = c && i(c);
87
- l && (o[s] = [c].concat(l));
88
- }
89
- return o[s];
90
- }
91
- return (e || Object.keys(n).concat(Object.keys(r))).forEach(i), o;
92
- }
93
- function Ut(t, e, n) {
94
- const r = t.icons, o = t.aliases || /* @__PURE__ */ Object.create(null);
95
- let i = {};
96
- function s(c) {
97
- i = ut(
98
- r[c] || o[c],
99
- i
100
- );
101
- }
102
- return s(e), n.forEach(s), ut(t, i);
103
- }
104
- function at(t, e) {
105
- const n = [];
106
- if (typeof t != "object" || typeof t.icons != "object")
107
- return n;
108
- t.not_found instanceof Array && t.not_found.forEach((o) => {
109
- e(o, null), n.push(o);
110
- });
111
- const r = Ht(t);
112
- for (const o in r) {
113
- const i = r[o];
114
- i && (e(o, Ut(t, o, i)), n.push(o));
115
- }
116
- return n;
117
- }
118
- const Kt = {
119
- provider: "",
120
- aliases: {},
121
- not_found: {},
122
- ...ft
123
- };
124
- function G(t, e) {
125
- for (const n in e)
126
- if (n in t && typeof t[n] != typeof e[n])
127
- return !1;
128
- return !0;
129
- }
130
- function dt(t) {
131
- if (typeof t != "object" || t === null)
132
- return null;
133
- const e = t;
134
- if (typeof e.prefix != "string" || !t.icons || typeof t.icons != "object" || !G(t, Kt))
135
- return null;
136
- const n = e.icons;
137
- for (const o in n) {
138
- const i = n[o];
139
- if (!o.match(P) || typeof i.body != "string" || !G(
140
- i,
141
- K
142
- ))
143
- return null;
144
- }
145
- const r = e.aliases || /* @__PURE__ */ Object.create(null);
146
- for (const o in r) {
147
- const i = r[o], s = i.parent;
148
- if (!o.match(P) || typeof s != "string" || !n[s] && !r[s] || !G(
149
- i,
150
- K
151
- ))
152
- return null;
153
- }
154
- return e;
155
- }
156
- const D = /* @__PURE__ */ Object.create(null);
157
- function Gt(t, e) {
158
- return {
159
- provider: t,
160
- prefix: e,
161
- icons: /* @__PURE__ */ Object.create(null),
162
- missing: /* @__PURE__ */ new Set()
163
- };
164
- }
165
- function S(t, e) {
166
- const n = D[t] || (D[t] = /* @__PURE__ */ Object.create(null));
167
- return n[e] || (n[e] = Gt(t, e));
168
- }
169
- function J(t, e) {
170
- return dt(e) ? at(e, (n, r) => {
171
- r ? t.icons[n] = r : t.missing.add(n);
172
- }) : [];
173
- }
174
- function Jt(t, e, n) {
175
- try {
176
- if (typeof n.body == "string")
177
- return t.icons[e] = { ...n }, !0;
178
- } catch {
179
- }
180
- return !1;
181
- }
182
- function Wt(t, e) {
183
- let n = [];
184
- return (typeof t == "string" ? [t] : Object.keys(D)).forEach((o) => {
185
- (typeof o == "string" && typeof e == "string" ? [e] : Object.keys(D[o] || {})).forEach((s) => {
186
- const c = S(o, s);
187
- n = n.concat(
188
- Object.keys(c.icons).map(
189
- (l) => (o !== "" ? "@" + o + ":" : "") + s + ":" + l
190
- )
191
- );
192
- });
193
- }), n;
194
- }
195
- let _ = !1;
196
- function ht(t) {
197
- return typeof t == "boolean" && (_ = t), _;
198
- }
199
- function R(t) {
200
- const e = typeof t == "string" ? E(t, !0, _) : t;
201
- if (e) {
202
- const n = S(e.provider, e.prefix), r = e.name;
203
- return n.icons[r] || (n.missing.has(r) ? null : void 0);
204
- }
205
- }
206
- function pt(t, e) {
207
- const n = E(t, !0, _);
208
- if (!n)
209
- return !1;
210
- const r = S(n.provider, n.prefix);
211
- return Jt(r, n.name, e);
212
- }
213
- function gt(t, e) {
214
- if (typeof t != "object")
215
- return !1;
216
- if (typeof e != "string" && (e = t.provider || ""), _ && !e && !t.prefix) {
217
- let o = !1;
218
- return dt(t) && (t.prefix = "", at(t, (i, s) => {
219
- s && pt(i, s) && (o = !0);
220
- })), o;
221
- }
222
- const n = t.prefix;
223
- if (!A({
224
- provider: e,
225
- prefix: n,
226
- name: "a"
227
- }))
228
- return !1;
229
- const r = S(e, n);
230
- return !!J(r, t);
231
- }
232
- function Xt(t) {
233
- return !!R(t);
234
- }
235
- function Yt(t) {
236
- const e = R(t);
237
- return e ? {
238
- ...T,
239
- ...e
240
- } : null;
241
- }
242
- const mt = Object.freeze({
243
- width: null,
244
- height: null
245
- }), yt = Object.freeze({
246
- // Dimensions
247
- ...mt,
248
- // Transformations
249
- ...N
250
- }), Zt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, te = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
251
- function W(t, e, n) {
252
- if (e === 1)
253
- return t;
254
- if (n = n || 100, typeof t == "number")
255
- return Math.ceil(t * e * n) / n;
256
- if (typeof t != "string")
257
- return t;
258
- const r = t.split(Zt);
259
- if (r === null || !r.length)
260
- return t;
261
- const o = [];
262
- let i = r.shift(), s = te.test(i);
263
- for (; ; ) {
264
- if (s) {
265
- const c = parseFloat(i);
266
- isNaN(c) ? o.push(i) : o.push(Math.ceil(c * e * n) / n);
267
- } else
268
- o.push(i);
269
- if (i = r.shift(), i === void 0)
270
- return o.join("");
271
- s = !s;
272
- }
273
- }
274
- const ee = (t) => t === "unset" || t === "undefined" || t === "none";
275
- function bt(t, e) {
276
- const n = {
277
- ...T,
278
- ...t
279
- }, r = {
280
- ...yt,
281
- ...e
282
- }, o = {
283
- left: n.left,
284
- top: n.top,
285
- width: n.width,
286
- height: n.height
287
- };
288
- let i = n.body;
289
- [n, r].forEach((w) => {
290
- const h = [], a = w.hFlip, k = w.vFlip;
291
- let b = w.rotate;
292
- a ? k ? b += 2 : (h.push(
293
- "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
294
- ), h.push("scale(-1 1)"), o.top = o.left = 0) : k && (h.push(
295
- "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
296
- ), h.push("scale(1 -1)"), o.top = o.left = 0);
297
- let I;
298
- switch (b < 0 && (b -= Math.floor(b / 4) * 4), b = b % 4, b) {
299
- case 1:
300
- I = o.height / 2 + o.top, h.unshift(
301
- "rotate(90 " + I.toString() + " " + I.toString() + ")"
302
- );
303
- break;
304
- case 2:
305
- h.unshift(
306
- "rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
307
- );
308
- break;
309
- case 3:
310
- I = o.width / 2 + o.left, h.unshift(
311
- "rotate(-90 " + I.toString() + " " + I.toString() + ")"
312
- );
313
- break;
314
- }
315
- b % 2 === 1 && (o.left !== o.top && (I = o.left, o.left = o.top, o.top = I), o.width !== o.height && (I = o.width, o.width = o.height, o.height = I)), h.length && (i = '<g transform="' + h.join(" ") + '">' + i + "</g>");
316
- });
317
- const s = r.width, c = r.height, l = o.width, f = o.height;
318
- let u, d;
319
- s === null ? (d = c === null ? "1em" : c === "auto" ? f : c, u = W(d, l / f)) : (u = s === "auto" ? l : s, d = c === null ? W(u, f / l) : c === "auto" ? f : c);
320
- const g = {}, y = (w, h) => {
321
- ee(h) || (g[w] = h.toString());
322
- };
323
- return y("width", u), y("height", d), g.viewBox = o.left.toString() + " " + o.top.toString() + " " + l.toString() + " " + f.toString(), {
324
- attributes: g,
325
- body: i
326
- };
327
- }
328
- const ne = /\sid="(\S+)"/g, oe = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
329
- let re = 0;
330
- function It(t, e = oe) {
331
- const n = [];
332
- let r;
333
- for (; r = ne.exec(t); )
334
- n.push(r[1]);
335
- if (!n.length)
336
- return t;
337
- const o = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
338
- return n.forEach((i) => {
339
- const s = typeof e == "function" ? e(i) : e + (re++).toString(), c = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
340
- t = t.replace(
341
- // Allowed characters before id: [#;"]
342
- // Allowed characters after id: [)"], .[a-z]
343
- new RegExp('([#;"])(' + c + ')([")]|\\.[a-z])', "g"),
344
- "$1" + s + o + "$3"
345
- );
346
- }), t = t.replace(new RegExp(o, "g"), ""), t;
347
- }
348
- const X = /* @__PURE__ */ Object.create(null);
349
- function wt(t, e) {
350
- X[t] = e;
351
- }
352
- function Y(t) {
353
- return X[t] || X[""];
354
- }
355
- function Z(t) {
356
- let e;
357
- if (typeof t.resources == "string")
358
- e = [t.resources];
359
- else if (e = t.resources, !(e instanceof Array) || !e.length)
360
- return null;
361
- return {
362
- // API hosts
363
- resources: e,
364
- // Root path
365
- path: t.path || "/",
366
- // URL length limit
367
- maxURL: t.maxURL || 500,
368
- // Timeout before next host is used.
369
- rotate: t.rotate || 750,
370
- // Timeout before failing query.
371
- timeout: t.timeout || 5e3,
372
- // Randomise default API end point.
373
- random: t.random === !0,
374
- // Start index
375
- index: t.index || 0,
376
- // Receive data after time out (used if time out kicks in first, then API module sends data anyway).
377
- dataAfterTimeout: t.dataAfterTimeout !== !1
378
- };
379
- }
380
- const z = /* @__PURE__ */ Object.create(null), O = [
381
- "https://api.simplesvg.com",
382
- "https://api.unisvg.com"
383
- ], B = [];
384
- for (; O.length > 0; )
385
- O.length === 1 || Math.random() > 0.5 ? B.push(O.shift()) : B.push(O.pop());
386
- z[""] = Z({
387
- resources: ["https://api.iconify.design"].concat(B)
388
- });
389
- function xt(t, e) {
390
- const n = Z(e);
391
- return n === null ? !1 : (z[t] = n, !0);
392
- }
393
- function q(t) {
394
- return z[t];
395
- }
396
- function ie() {
397
- return Object.keys(z);
398
- }
399
- let V = (() => {
400
- let t;
401
- try {
402
- if (t = fetch, typeof t == "function")
403
- return t;
404
- } catch {
405
- }
406
- })();
407
- function se(t) {
408
- V = t;
409
- }
410
- function ce() {
411
- return V;
412
- }
413
- function le(t, e) {
414
- const n = q(t);
415
- if (!n)
416
- return 0;
417
- let r;
418
- if (!n.maxURL)
419
- r = 0;
420
- else {
421
- let o = 0;
422
- n.resources.forEach((s) => {
423
- o = Math.max(o, s.length);
424
- });
425
- const i = e + ".json?icons=";
426
- r = n.maxURL - o - n.path.length - i.length;
427
- }
428
- return r;
429
- }
430
- function fe(t) {
431
- return t === 404;
432
- }
433
- const ue = (t, e, n) => {
434
- const r = [], o = le(t, e), i = "icons";
435
- let s = {
436
- type: i,
437
- provider: t,
438
- prefix: e,
439
- icons: []
440
- }, c = 0;
441
- return n.forEach((l, f) => {
442
- c += l.length + 1, c >= o && f > 0 && (r.push(s), s = {
443
- type: i,
444
- provider: t,
445
- prefix: e,
446
- icons: []
447
- }, c = l.length), s.icons.push(l);
448
- }), r.push(s), r;
449
- };
450
- function ae(t) {
451
- if (typeof t == "string") {
452
- const e = q(t);
453
- if (e)
454
- return e.path;
455
- }
456
- return "/";
457
- }
458
- const de = {
459
- prepare: ue,
460
- send: (t, e, n) => {
461
- if (!V) {
462
- n("abort", 424);
463
- return;
464
- }
465
- let r = ae(e.provider);
466
- switch (e.type) {
467
- case "icons": {
468
- const i = e.prefix, c = e.icons.join(","), l = new URLSearchParams({
469
- icons: c
470
- });
471
- r += i + ".json?" + l.toString();
472
- break;
473
- }
474
- case "custom": {
475
- const i = e.uri;
476
- r += i.slice(0, 1) === "/" ? i.slice(1) : i;
477
- break;
478
- }
479
- default:
480
- n("abort", 400);
481
- return;
482
- }
483
- let o = 503;
484
- V(t + r).then((i) => {
485
- const s = i.status;
486
- if (s !== 200) {
487
- setTimeout(() => {
488
- n(fe(s) ? "abort" : "next", s);
489
- });
490
- return;
491
- }
492
- return o = 501, i.json();
493
- }).then((i) => {
494
- if (typeof i != "object" || i === null) {
495
- setTimeout(() => {
496
- i === 404 ? n("abort", i) : n("next", o);
497
- });
498
- return;
499
- }
500
- setTimeout(() => {
501
- n("success", i);
502
- });
503
- }).catch(() => {
504
- n("next", o);
505
- });
506
- }
507
- };
508
- function he(t) {
509
- const e = {
510
- loaded: [],
511
- missing: [],
512
- pending: []
513
- }, n = /* @__PURE__ */ Object.create(null);
514
- t.sort((o, i) => o.provider !== i.provider ? o.provider.localeCompare(i.provider) : o.prefix !== i.prefix ? o.prefix.localeCompare(i.prefix) : o.name.localeCompare(i.name));
515
- let r = {
516
- provider: "",
517
- prefix: "",
518
- name: ""
519
- };
520
- return t.forEach((o) => {
521
- if (r.name === o.name && r.prefix === o.prefix && r.provider === o.provider)
522
- return;
523
- r = o;
524
- const i = o.provider, s = o.prefix, c = o.name, l = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), f = l[s] || (l[s] = S(i, s));
525
- let u;
526
- c in f.icons ? u = e.loaded : s === "" || f.missing.has(c) ? u = e.missing : u = e.pending;
527
- const d = {
528
- provider: i,
529
- prefix: s,
530
- name: c
531
- };
532
- u.push(d);
533
- }), e;
534
- }
535
- function St(t, e) {
536
- t.forEach((n) => {
537
- const r = n.loaderCallbacks;
538
- r && (n.loaderCallbacks = r.filter((o) => o.id !== e));
539
- });
540
- }
541
- function pe(t) {
542
- t.pendingCallbacksFlag || (t.pendingCallbacksFlag = !0, setTimeout(() => {
543
- t.pendingCallbacksFlag = !1;
544
- const e = t.loaderCallbacks ? t.loaderCallbacks.slice(0) : [];
545
- if (!e.length)
546
- return;
547
- let n = !1;
548
- const r = t.provider, o = t.prefix;
549
- e.forEach((i) => {
550
- const s = i.icons, c = s.pending.length;
551
- s.pending = s.pending.filter((l) => {
552
- if (l.prefix !== o)
553
- return !0;
554
- const f = l.name;
555
- if (t.icons[f])
556
- s.loaded.push({
557
- provider: r,
558
- prefix: o,
559
- name: f
560
- });
561
- else if (t.missing.has(f))
562
- s.missing.push({
563
- provider: r,
564
- prefix: o,
565
- name: f
566
- });
567
- else
568
- return n = !0, !0;
569
- return !1;
570
- }), s.pending.length !== c && (n || St([t], i.id), i.callback(
571
- s.loaded.slice(0),
572
- s.missing.slice(0),
573
- s.pending.slice(0),
574
- i.abort
575
- ));
576
- });
577
- }));
578
- }
579
- let ge = 0;
580
- function me(t, e, n) {
581
- const r = ge++, o = St.bind(null, n, r);
582
- if (!e.pending.length)
583
- return o;
584
- const i = {
585
- id: r,
586
- icons: e,
587
- callback: t,
588
- abort: o
589
- };
590
- return n.forEach((s) => {
591
- (s.loaderCallbacks || (s.loaderCallbacks = [])).push(i);
592
- }), o;
593
- }
594
- function ye(t, e = !0, n = !1) {
595
- const r = [];
596
- return t.forEach((o) => {
597
- const i = typeof o == "string" ? E(o, e, n) : o;
598
- i && r.push(i);
599
- }), r;
600
- }
601
- var be = {
602
- resources: [],
603
- index: 0,
604
- timeout: 2e3,
605
- rotate: 750,
606
- random: !1,
607
- dataAfterTimeout: !1
608
- };
609
- function Ie(t, e, n, r) {
610
- const o = t.resources.length, i = t.random ? Math.floor(Math.random() * o) : t.index;
611
- let s;
612
- if (t.random) {
613
- let p = t.resources.slice(0);
614
- for (s = []; p.length > 1; ) {
615
- const x = Math.floor(Math.random() * p.length);
616
- s.push(p[x]), p = p.slice(0, x).concat(p.slice(x + 1));
617
- }
618
- s = s.concat(p);
619
- } else
620
- s = t.resources.slice(i).concat(t.resources.slice(0, i));
621
- const c = Date.now();
622
- let l = "pending", f = 0, u, d = null, g = [], y = [];
623
- typeof r == "function" && y.push(r);
624
- function w() {
625
- d && (clearTimeout(d), d = null);
626
- }
627
- function h() {
628
- l === "pending" && (l = "aborted"), w(), g.forEach((p) => {
629
- p.status === "pending" && (p.status = "aborted");
630
- }), g = [];
631
- }
632
- function a(p, x) {
633
- x && (y = []), typeof p == "function" && y.push(p);
634
- }
635
- function k() {
636
- return {
637
- startTime: c,
638
- payload: e,
639
- status: l,
640
- queriesSent: f,
641
- queriesPending: g.length,
642
- subscribe: a,
643
- abort: h
644
- };
645
- }
646
- function b() {
647
- l = "failed", y.forEach((p) => {
648
- p(void 0, u);
649
- });
650
- }
651
- function I() {
652
- g.forEach((p) => {
653
- p.status === "pending" && (p.status = "aborted");
654
- }), g = [];
655
- }
656
- function Qe(p, x, M) {
657
- const H = x !== "success";
658
- switch (g = g.filter((j) => j !== p), l) {
659
- case "pending":
660
- break;
661
- case "failed":
662
- if (H || !t.dataAfterTimeout)
663
- return;
664
- break;
665
- default:
666
- return;
667
- }
668
- if (x === "abort") {
669
- u = M, b();
670
- return;
671
- }
672
- if (H) {
673
- u = M, g.length || (s.length ? lt() : b());
674
- return;
675
- }
676
- if (w(), I(), !t.random) {
677
- const j = t.resources.indexOf(p.resource);
678
- j !== -1 && j !== t.index && (t.index = j);
679
- }
680
- l = "completed", y.forEach((j) => {
681
- j(M);
682
- });
683
- }
684
- function lt() {
685
- if (l !== "pending")
686
- return;
687
- w();
688
- const p = s.shift();
689
- if (p === void 0) {
690
- if (g.length) {
691
- d = setTimeout(() => {
692
- w(), l === "pending" && (I(), b());
693
- }, t.timeout);
694
- return;
695
- }
696
- b();
697
- return;
698
- }
699
- const x = {
700
- status: "pending",
701
- resource: p,
702
- callback: (M, H) => {
703
- Qe(x, M, H);
704
- }
705
- };
706
- g.push(x), f++, d = setTimeout(lt, t.rotate), n(p, e, x.callback);
707
- }
708
- return setTimeout(lt), k;
709
- }
710
- function vt(t) {
711
- const e = {
712
- ...be,
713
- ...t
714
- };
715
- let n = [];
716
- function r() {
717
- n = n.filter((c) => c().status === "pending");
718
- }
719
- function o(c, l, f) {
720
- const u = Ie(
721
- e,
722
- c,
723
- l,
724
- (d, g) => {
725
- r(), f && f(d, g);
726
- }
727
- );
728
- return n.push(u), u;
729
- }
730
- function i(c) {
731
- return n.find((l) => c(l)) || null;
732
- }
733
- return {
734
- query: o,
735
- find: i,
736
- setIndex: (c) => {
737
- e.index = c;
738
- },
739
- getIndex: () => e.index,
740
- cleanup: r
741
- };
742
- }
743
- function Ct() {
744
- }
745
- const tt = /* @__PURE__ */ Object.create(null);
746
- function we(t) {
747
- if (!tt[t]) {
748
- const e = q(t);
749
- if (!e)
750
- return;
751
- const n = vt(e), r = {
752
- config: e,
753
- redundancy: n
754
- };
755
- tt[t] = r;
756
- }
757
- return tt[t];
758
- }
759
- function kt(t, e, n) {
760
- let r, o;
761
- if (typeof t == "string") {
762
- const i = Y(t);
763
- if (!i)
764
- return n(void 0, 424), Ct;
765
- o = i.send;
766
- const s = we(t);
767
- s && (r = s.redundancy);
768
- } else {
769
- const i = Z(t);
770
- if (i) {
771
- r = vt(i);
772
- const s = t.resources ? t.resources[0] : "", c = Y(s);
773
- c && (o = c.send);
774
- }
775
- }
776
- return !r || !o ? (n(void 0, 424), Ct) : r.query(e, o, n)().abort;
777
- }
778
- const jt = "iconify2", F = "iconify", Tt = F + "-count", Pt = F + "-version", Et = 36e5, xe = 168;
779
- function et(t, e) {
780
- try {
781
- return t.getItem(e);
782
- } catch {
783
- }
784
- }
785
- function nt(t, e, n) {
786
- try {
787
- return t.setItem(e, n), !0;
788
- } catch {
789
- }
790
- }
791
- function _t(t, e) {
792
- try {
793
- t.removeItem(e);
794
- } catch {
795
- }
796
- }
797
- function ot(t, e) {
798
- return nt(t, Tt, e.toString());
799
- }
800
- function rt(t) {
801
- return parseInt(et(t, Tt)) || 0;
802
- }
803
- const C = {
804
- local: !0,
805
- session: !0
806
- }, Ot = {
807
- local: /* @__PURE__ */ new Set(),
808
- session: /* @__PURE__ */ new Set()
809
- };
810
- let it = !1;
811
- function Se(t) {
812
- it = t;
813
- }
814
- let Q = typeof window > "u" ? {} : window;
815
- function Ft(t) {
816
- const e = t + "Storage";
817
- try {
818
- if (Q && Q[e] && typeof Q[e].length == "number")
819
- return Q[e];
820
- } catch {
821
- }
822
- C[t] = !1;
823
- }
824
- function Mt(t, e) {
825
- const n = Ft(t);
826
- if (!n)
827
- return;
828
- const r = et(n, Pt);
829
- if (r !== jt) {
830
- if (r) {
831
- const c = rt(n);
832
- for (let l = 0; l < c; l++)
833
- _t(n, F + l.toString());
834
- }
835
- nt(n, Pt, jt), ot(n, 0);
836
- return;
837
- }
838
- const o = Math.floor(Date.now() / Et) - xe, i = (c) => {
839
- const l = F + c.toString(), f = et(n, l);
840
- if (typeof f == "string") {
841
- try {
842
- const u = JSON.parse(f);
843
- if (typeof u == "object" && typeof u.cached == "number" && u.cached > o && typeof u.provider == "string" && typeof u.data == "object" && typeof u.data.prefix == "string" && // Valid item: run callback
844
- e(u, c))
845
- return !0;
846
- } catch {
847
- }
848
- _t(n, l);
849
- }
850
- };
851
- let s = rt(n);
852
- for (let c = s - 1; c >= 0; c--)
853
- i(c) || (c === s - 1 ? (s--, ot(n, s)) : Ot[t].add(c));
854
- }
855
- function Lt() {
856
- if (!it) {
857
- Se(!0);
858
- for (const t in C)
859
- Mt(t, (e) => {
860
- const n = e.data, r = e.provider, o = n.prefix, i = S(
861
- r,
862
- o
863
- );
864
- if (!J(i, n).length)
865
- return !1;
866
- const s = n.lastModified || -1;
867
- return i.lastModifiedCached = i.lastModifiedCached ? Math.min(i.lastModifiedCached, s) : s, !0;
868
- });
869
- }
870
- }
871
- function ve(t, e) {
872
- const n = t.lastModifiedCached;
873
- if (
874
- // Matches or newer
875
- n && n >= e
876
- )
877
- return n === e;
878
- if (t.lastModifiedCached = e, n)
879
- for (const r in C)
880
- Mt(r, (o) => {
881
- const i = o.data;
882
- return o.provider !== t.provider || i.prefix !== t.prefix || i.lastModified === e;
883
- });
884
- return !0;
885
- }
886
- function Ce(t, e) {
887
- it || Lt();
888
- function n(r) {
889
- let o;
890
- if (!C[r] || !(o = Ft(r)))
891
- return;
892
- const i = Ot[r];
893
- let s;
894
- if (i.size)
895
- i.delete(s = Array.from(i).shift());
896
- else if (s = rt(o), !ot(o, s + 1))
897
- return;
898
- const c = {
899
- cached: Math.floor(Date.now() / Et),
900
- provider: t.provider,
901
- data: e
902
- };
903
- return nt(
904
- o,
905
- F + s.toString(),
906
- JSON.stringify(c)
907
- );
908
- }
909
- e.lastModified && !ve(t, e.lastModified) || Object.keys(e.icons).length && (e.not_found && (e = Object.assign({}, e), delete e.not_found), n("local") || n("session"));
910
- }
911
- function At() {
912
- }
913
- function ke(t) {
914
- t.iconsLoaderFlag || (t.iconsLoaderFlag = !0, setTimeout(() => {
915
- t.iconsLoaderFlag = !1, pe(t);
916
- }));
917
- }
918
- function je(t, e) {
919
- t.iconsToLoad ? t.iconsToLoad = t.iconsToLoad.concat(e).sort() : t.iconsToLoad = e, t.iconsQueueFlag || (t.iconsQueueFlag = !0, setTimeout(() => {
920
- t.iconsQueueFlag = !1;
921
- const { provider: n, prefix: r } = t, o = t.iconsToLoad;
922
- delete t.iconsToLoad;
923
- let i;
924
- if (!o || !(i = Y(n)))
925
- return;
926
- i.prepare(n, r, o).forEach((c) => {
927
- kt(n, c, (l) => {
928
- if (typeof l != "object")
929
- c.icons.forEach((f) => {
930
- t.missing.add(f);
931
- });
932
- else
933
- try {
934
- const f = J(
935
- t,
936
- l
937
- );
938
- if (!f.length)
939
- return;
940
- const u = t.pendingIcons;
941
- u && f.forEach((d) => {
942
- u.delete(d);
943
- }), Ce(t, l);
944
- } catch (f) {
945
- console.error(f);
946
- }
947
- ke(t);
948
- });
949
- });
950
- }));
951
- }
952
- const st = (t, e) => {
953
- const n = ye(t, !0, ht()), r = he(n);
954
- if (!r.pending.length) {
955
- let l = !0;
956
- return e && setTimeout(() => {
957
- l && e(
958
- r.loaded,
959
- r.missing,
960
- r.pending,
961
- At
962
- );
963
- }), () => {
964
- l = !1;
965
- };
966
- }
967
- const o = /* @__PURE__ */ Object.create(null), i = [];
968
- let s, c;
969
- return r.pending.forEach((l) => {
970
- const { provider: f, prefix: u } = l;
971
- if (u === c && f === s)
972
- return;
973
- s = f, c = u, i.push(S(f, u));
974
- const d = o[f] || (o[f] = /* @__PURE__ */ Object.create(null));
975
- d[u] || (d[u] = []);
976
- }), r.pending.forEach((l) => {
977
- const { provider: f, prefix: u, name: d } = l, g = S(f, u), y = g.pendingIcons || (g.pendingIcons = /* @__PURE__ */ new Set());
978
- y.has(d) || (y.add(d), o[f][u].push(d));
979
- }), i.forEach((l) => {
980
- const { provider: f, prefix: u } = l;
981
- o[f][u].length && je(l, o[f][u]);
982
- }), e ? me(e, r, i) : At;
983
- }, Te = (t) => new Promise((e, n) => {
984
- const r = typeof t == "string" ? E(t, !0) : t;
985
- if (!r) {
986
- n(t);
987
- return;
988
- }
989
- st([r || t], (o) => {
990
- if (o.length && r) {
991
- const i = R(r);
992
- if (i) {
993
- e({
994
- ...T,
995
- ...i
996
- });
997
- return;
998
- }
999
- }
1000
- n(t);
1001
- });
1002
- });
1003
- function Nt(t, e) {
1004
- switch (t) {
1005
- case "local":
1006
- case "session":
1007
- C[t] = e;
1008
- break;
1009
- case "all":
1010
- for (const n in C)
1011
- C[n] = e;
1012
- break;
1013
- }
1014
- }
1015
- function Pe(t, e) {
1016
- const n = {
1017
- ...t
1018
- };
1019
- for (const r in e) {
1020
- const o = e[r], i = typeof o;
1021
- r in mt ? (o === null || o && (i === "string" || i === "number")) && (n[r] = o) : i === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
1022
- }
1023
- return n;
1024
- }
1025
- const Ee = /[\s,]+/;
1026
- function _e(t, e) {
1027
- e.split(Ee).forEach((n) => {
1028
- switch (n.trim()) {
1029
- case "horizontal":
1030
- t.hFlip = !0;
1031
- break;
1032
- case "vertical":
1033
- t.vFlip = !0;
1034
- break;
1035
- }
1036
- });
1037
- }
1038
- function Oe(t, e = 0) {
1039
- const n = t.replace(/^-?[0-9.]*/, "");
1040
- function r(o) {
1041
- for (; o < 0; )
1042
- o += 4;
1043
- return o % 4;
1044
- }
1045
- if (n === "") {
1046
- const o = parseInt(t);
1047
- return isNaN(o) ? 0 : r(o);
1048
- } else if (n !== t) {
1049
- let o = 0;
1050
- switch (n) {
1051
- case "%":
1052
- o = 25;
1053
- break;
1054
- case "deg":
1055
- o = 90;
1056
- }
1057
- if (o) {
1058
- let i = parseFloat(t.slice(0, t.length - n.length));
1059
- return isNaN(i) ? 0 : (i = i / o, i % 1 === 0 ? r(i) : 0);
1060
- }
1061
- }
1062
- return e;
1063
- }
1064
- function Fe(t, e) {
1065
- let n = t.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
1066
- for (const r in e)
1067
- n += " " + r + '="' + e[r] + '"';
1068
- return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + t + "</svg>";
1069
- }
1070
- function Me(t) {
1071
- return t.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
1072
- }
1073
- function Le(t) {
1074
- return "data:image/svg+xml," + Me(t);
1075
- }
1076
- function Ae(t) {
1077
- return 'url("' + Le(t) + '")';
1078
- }
1079
- const Dt = {
1080
- ...yt,
1081
- inline: !1
1082
- }, Ne = {
1083
- xmlns: "http://www.w3.org/2000/svg",
1084
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
1085
- "aria-hidden": !0,
1086
- role: "img"
1087
- }, De = {
1088
- display: "inline-block"
1089
- }, ct = {
1090
- backgroundColor: "currentColor"
1091
- }, Rt = {
1092
- backgroundColor: "transparent"
1093
- }, zt = {
1094
- Image: "var(--svg)",
1095
- Repeat: "no-repeat",
1096
- Size: "100% 100%"
1097
- }, Bt = {
1098
- webkitMask: ct,
1099
- mask: ct,
1100
- background: Rt
1101
- };
1102
- for (const t in Bt) {
1103
- const e = Bt[t];
1104
- for (const n in zt)
1105
- e[t + n] = zt[n];
1106
- }
1107
- const $ = {};
1108
- ["horizontal", "vertical"].forEach((t) => {
1109
- const e = t.slice(0, 1) + "Flip";
1110
- $[t + "-flip"] = e, $[t.slice(0, 1) + "-flip"] = e, $[t + "Flip"] = e;
1111
- });
1112
- function qt(t) {
1113
- return t + (t.match(/^[-0-9.]+$/) ? "px" : "");
1114
- }
1115
- const Vt = (t, e) => {
1116
- const n = Pe(Dt, e), r = { ...Ne }, o = e.mode || "svg", i = {}, s = e.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
1117
- for (let h in e) {
1118
- const a = e[h];
1119
- if (a !== void 0)
1120
- switch (h) {
1121
- case "icon":
1122
- case "style":
1123
- case "onLoad":
1124
- case "mode":
1125
- break;
1126
- case "inline":
1127
- case "hFlip":
1128
- case "vFlip":
1129
- n[h] = a === !0 || a === "true" || a === 1;
1130
- break;
1131
- case "flip":
1132
- typeof a == "string" && _e(n, a);
1133
- break;
1134
- case "color":
1135
- i.color = a;
1136
- break;
1137
- case "rotate":
1138
- typeof a == "string" ? n[h] = Oe(a) : typeof a == "number" && (n[h] = a);
1139
- break;
1140
- case "ariaHidden":
1141
- case "aria-hidden":
1142
- a !== !0 && a !== "true" && delete r["aria-hidden"];
1143
- break;
1144
- default: {
1145
- const k = $[h];
1146
- k ? (a === !0 || a === "true" || a === 1) && (n[k] = !0) : Dt[h] === void 0 && (r[h] = a);
1147
- }
1148
- }
1149
- }
1150
- const l = bt(t, n), f = l.attributes;
1151
- if (n.inline && (i.verticalAlign = "-0.125em"), o === "svg") {
1152
- r.style = {
1153
- ...i,
1154
- ...c
1155
- }, Object.assign(r, f);
1156
- let h = 0, a = e.id;
1157
- return typeof a == "string" && (a = a.replace(/-/g, "_")), r.innerHTML = It(l.body, a ? () => a + "ID" + h++ : "iconifyVue"), v.h("svg", r);
1158
- }
1159
- const { body: u, width: d, height: g } = t, y = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), w = Fe(u, {
1160
- ...f,
1161
- width: d + "",
1162
- height: g + ""
1163
- });
1164
- return r.style = {
1165
- ...i,
1166
- "--svg": Ae(w),
1167
- width: qt(f.width),
1168
- height: qt(f.height),
1169
- ...De,
1170
- ...y ? ct : Rt,
1171
- ...c
1172
- }, v.h("span", r);
1173
- };
1174
- function Re(t) {
1175
- Nt(t, !0);
1176
- }
1177
- function ze(t) {
1178
- Nt(t, !1);
1179
- }
1180
- if (ht(!0), wt("", de), typeof document < "u" && typeof window < "u") {
1181
- Lt();
1182
- const t = window;
1183
- if (t.IconifyPreload !== void 0) {
1184
- const e = t.IconifyPreload, n = "Invalid IconifyPreload syntax.";
1185
- typeof e == "object" && e !== null && (e instanceof Array ? e : [e]).forEach((r) => {
1186
- try {
1187
- // Check if item is an object and not null/array
1188
- (typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
1189
- typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
1190
- !gt(r)) && console.error(n);
1191
- } catch {
1192
- console.error(n);
1193
- }
1194
- });
1195
- }
1196
- if (t.IconifyProviders !== void 0) {
1197
- const e = t.IconifyProviders;
1198
- if (typeof e == "object" && e !== null)
1199
- for (let n in e) {
1200
- const r = "IconifyProviders[" + n + "] is invalid.";
1201
- try {
1202
- const o = e[n];
1203
- if (typeof o != "object" || !o || o.resources === void 0)
1204
- continue;
1205
- xt(n, o) || console.error(r);
1206
- } catch {
1207
- console.error(r);
1208
- }
1209
- }
1210
- }
1211
- }
1212
- const Be = {
1213
- ...T,
1214
- body: ""
1215
- }, qe = v.defineComponent({
1216
- // Do not inherit other attributes: it is handled by render()
1217
- inheritAttrs: !1,
1218
- // Set initial data
1219
- data() {
1220
- return {
1221
- // Mounted status
1222
- iconMounted: !1,
1223
- // Callback counter to trigger re-render
1224
- counter: 0
1225
- };
1226
- },
1227
- mounted() {
1228
- this._name = "", this._loadingIcon = null, this.iconMounted = !0;
1229
- },
1230
- unmounted() {
1231
- this.abortLoading();
1232
- },
1233
- methods: {
1234
- abortLoading() {
1235
- this._loadingIcon && (this._loadingIcon.abort(), this._loadingIcon = null);
1236
- },
1237
- // Get data for icon to render or null
1238
- getIcon(t, e) {
1239
- if (typeof t == "object" && t !== null && typeof t.body == "string")
1240
- return this._name = "", this.abortLoading(), {
1241
- data: t
1242
- };
1243
- let n;
1244
- if (typeof t != "string" || (n = E(t, !1, !0)) === null)
1245
- return this.abortLoading(), null;
1246
- const r = R(n);
1247
- if (!r)
1248
- return (!this._loadingIcon || this._loadingIcon.name !== t) && (this.abortLoading(), this._name = "", r !== null && (this._loadingIcon = {
1249
- name: t,
1250
- abort: st([n], () => {
1251
- this.counter++;
1252
- })
1253
- })), null;
1254
- this.abortLoading(), this._name !== t && (this._name = t, e && e(t));
1255
- const o = ["iconify"];
1256
- return n.prefix !== "" && o.push("iconify--" + n.prefix), n.provider !== "" && o.push("iconify--" + n.provider), { data: r, classes: o };
1257
- }
1258
- },
1259
- // Render icon
1260
- render() {
1261
- this.counter;
1262
- const t = this.$attrs, e = this.iconMounted ? this.getIcon(t.icon, t.onLoad) : null;
1263
- if (!e)
1264
- return Vt(Be, t);
1265
- let n = t;
1266
- return e.classes && (n = {
1267
- ...t,
1268
- class: (typeof t.class == "string" ? t.class + " " : "") + e.classes.join(" ")
1269
- }), Vt({
1270
- ...T,
1271
- ...e.data
1272
- }, n);
1273
- }
1274
- }), Ve = {
1275
- getAPIConfig: q,
1276
- setAPIModule: wt,
1277
- sendAPIQuery: kt,
1278
- setFetch: se,
1279
- getFetch: ce,
1280
- listAPIProviders: ie
1281
- };
1282
- m.Icon = qe, m._api = Ve, m.addAPIProvider = xt, m.addCollection = gt, m.addIcon = pt, m.buildIcon = bt, m.calculateSize = W, m.disableCache = ze, m.enableCache = Re, m.getIcon = Yt, m.iconExists = Xt, m.listIcons = Wt, m.loadIcon = Te, m.loadIcons = st, m.replaceIDs = It;
1283
- });
1284
- }
1285
- });
1286
- const We = Ue();
1
+ import f from "./layers-design-system-vue39.js";
1287
2
  export {
1288
- We as default
3
+ f as default
1289
4
  };