@versini/ui-icons 0.0.0
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.
- package/LICENSE +21 -0
- package/README.md +27 -0
- package/dist/chunks/index.Dvy_-ZVi.js +443 -0
- package/dist/components/Icons/IconBack.js +41 -0
- package/dist/components/Icons/IconChart.js +41 -0
- package/dist/components/Icons/IconClose.js +26 -0
- package/dist/components/Icons/IconCopied.js +42 -0
- package/dist/components/Icons/IconCopy.js +41 -0
- package/dist/components/Icons/IconDelete.js +41 -0
- package/dist/components/Icons/IconDog.js +31 -0
- package/dist/components/Icons/IconEdit.js +41 -0
- package/dist/components/Icons/IconGitHub.js +26 -0
- package/dist/components/Icons/IconHide.js +41 -0
- package/dist/components/Icons/IconHistory.js +41 -0
- package/dist/components/Icons/IconInfo.js +42 -0
- package/dist/components/Icons/IconNext.js +41 -0
- package/dist/components/Icons/IconPrevious.js +41 -0
- package/dist/components/Icons/IconProfile.js +42 -0
- package/dist/components/Icons/IconRestore.js +41 -0
- package/dist/components/Icons/IconSettings.js +26 -0
- package/dist/components/Icons/IconShow.js +41 -0
- package/dist/components/Icons/IconUser.js +42 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +53 -0
- package/dist/style.css +1 -0
- package/dist/style.js +0 -0
- package/package.json +52 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Arno Versini
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
+
|
|
14
|
+
- Configure the top-level `parserOptions` property like this:
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
parserOptions: {
|
|
18
|
+
ecmaVersion: 'latest',
|
|
19
|
+
sourceType: 'module',
|
|
20
|
+
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
21
|
+
tsconfigRootDir: __dirname,
|
|
22
|
+
},
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
26
|
+
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
27
|
+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
import { jsxs as D, Fragment as W, jsx as I } from "react/jsx-runtime";
|
|
2
|
+
import L from "clsx";
|
|
3
|
+
var Y = Object.getOwnPropertyNames, G = Object.getOwnPropertySymbols, J = Object.prototype.hasOwnProperty;
|
|
4
|
+
function K(e, t) {
|
|
5
|
+
return function(r, n, a) {
|
|
6
|
+
return e(r, n, a) && t(r, n, a);
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function j(e) {
|
|
10
|
+
return function(t, r, n) {
|
|
11
|
+
if (!t || !r || typeof t != "object" || typeof r != "object")
|
|
12
|
+
return e(t, r, n);
|
|
13
|
+
var a = n.cache, i = a.get(t), u = a.get(r);
|
|
14
|
+
if (i && u)
|
|
15
|
+
return i === r && u === t;
|
|
16
|
+
a.set(t, r), a.set(r, t);
|
|
17
|
+
var o = e(t, r, n);
|
|
18
|
+
return a.delete(t), a.delete(r), o;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function A(e) {
|
|
22
|
+
return Y(e).concat(G(e));
|
|
23
|
+
}
|
|
24
|
+
var T = Object.hasOwn || function(e, t) {
|
|
25
|
+
return J.call(e, t);
|
|
26
|
+
};
|
|
27
|
+
function m(e, t) {
|
|
28
|
+
return e || t ? e === t : e === t || e !== e && t !== t;
|
|
29
|
+
}
|
|
30
|
+
var B = "_owner", S = Object.getOwnPropertyDescriptor, M = Object.keys;
|
|
31
|
+
function Q(e, t, r) {
|
|
32
|
+
var n = e.length;
|
|
33
|
+
if (t.length !== n)
|
|
34
|
+
return !1;
|
|
35
|
+
for (; n-- > 0; )
|
|
36
|
+
if (!r.equals(e[n], t[n], n, n, e, t, r))
|
|
37
|
+
return !1;
|
|
38
|
+
return !0;
|
|
39
|
+
}
|
|
40
|
+
function X(e, t) {
|
|
41
|
+
return m(e.getTime(), t.getTime());
|
|
42
|
+
}
|
|
43
|
+
function _(e, t, r) {
|
|
44
|
+
if (e.size !== t.size)
|
|
45
|
+
return !1;
|
|
46
|
+
for (var n = {}, a = e.entries(), i = 0, u, o; (u = a.next()) && !u.done; ) {
|
|
47
|
+
for (var s = t.entries(), c = !1, l = 0; (o = s.next()) && !o.done; ) {
|
|
48
|
+
var f = u.value, y = f[0], h = f[1], p = o.value, d = p[0], E = p[1];
|
|
49
|
+
!c && !n[l] && (c = r.equals(y, d, i, l, e, t, r) && r.equals(h, E, y, d, e, t, r)) && (n[l] = !0), l++;
|
|
50
|
+
}
|
|
51
|
+
if (!c)
|
|
52
|
+
return !1;
|
|
53
|
+
i++;
|
|
54
|
+
}
|
|
55
|
+
return !0;
|
|
56
|
+
}
|
|
57
|
+
function Z(e, t, r) {
|
|
58
|
+
var n = M(e), a = n.length;
|
|
59
|
+
if (M(t).length !== a)
|
|
60
|
+
return !1;
|
|
61
|
+
for (var i; a-- > 0; )
|
|
62
|
+
if (i = n[a], i === B && (e.$$typeof || t.$$typeof) && e.$$typeof !== t.$$typeof || !T(t, i) || !r.equals(e[i], t[i], i, i, e, t, r))
|
|
63
|
+
return !1;
|
|
64
|
+
return !0;
|
|
65
|
+
}
|
|
66
|
+
function q(e, t, r) {
|
|
67
|
+
var n = A(e), a = n.length;
|
|
68
|
+
if (A(t).length !== a)
|
|
69
|
+
return !1;
|
|
70
|
+
for (var i, u, o; a-- > 0; )
|
|
71
|
+
if (i = n[a], i === B && (e.$$typeof || t.$$typeof) && e.$$typeof !== t.$$typeof || !T(t, i) || !r.equals(e[i], t[i], i, i, e, t, r) || (u = S(e, i), o = S(t, i), (u || o) && (!u || !o || u.configurable !== o.configurable || u.enumerable !== o.enumerable || u.writable !== o.writable)))
|
|
72
|
+
return !1;
|
|
73
|
+
return !0;
|
|
74
|
+
}
|
|
75
|
+
function ee(e, t) {
|
|
76
|
+
return m(e.valueOf(), t.valueOf());
|
|
77
|
+
}
|
|
78
|
+
function te(e, t) {
|
|
79
|
+
return e.source === t.source && e.flags === t.flags;
|
|
80
|
+
}
|
|
81
|
+
function $(e, t, r) {
|
|
82
|
+
if (e.size !== t.size)
|
|
83
|
+
return !1;
|
|
84
|
+
for (var n = {}, a = e.values(), i, u; (i = a.next()) && !i.done; ) {
|
|
85
|
+
for (var o = t.values(), s = !1, c = 0; (u = o.next()) && !u.done; )
|
|
86
|
+
!s && !n[c] && (s = r.equals(i.value, u.value, i.value, u.value, e, t, r)) && (n[c] = !0), c++;
|
|
87
|
+
if (!s)
|
|
88
|
+
return !1;
|
|
89
|
+
}
|
|
90
|
+
return !0;
|
|
91
|
+
}
|
|
92
|
+
function re(e, t) {
|
|
93
|
+
var r = e.length;
|
|
94
|
+
if (t.length !== r)
|
|
95
|
+
return !1;
|
|
96
|
+
for (; r-- > 0; )
|
|
97
|
+
if (e[r] !== t[r])
|
|
98
|
+
return !1;
|
|
99
|
+
return !0;
|
|
100
|
+
}
|
|
101
|
+
var ne = "[object Arguments]", ae = "[object Boolean]", ie = "[object Date]", oe = "[object Map]", ue = "[object Number]", ce = "[object Object]", se = "[object RegExp]", le = "[object Set]", fe = "[object String]", pe = Array.isArray, z = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, k = Object.assign, he = Object.prototype.toString.call.bind(Object.prototype.toString);
|
|
102
|
+
function ye(e) {
|
|
103
|
+
var t = e.areArraysEqual, r = e.areDatesEqual, n = e.areMapsEqual, a = e.areObjectsEqual, i = e.arePrimitiveWrappersEqual, u = e.areRegExpsEqual, o = e.areSetsEqual, s = e.areTypedArraysEqual;
|
|
104
|
+
return function(c, l, f) {
|
|
105
|
+
if (c === l)
|
|
106
|
+
return !0;
|
|
107
|
+
if (c == null || l == null || typeof c != "object" || typeof l != "object")
|
|
108
|
+
return c !== c && l !== l;
|
|
109
|
+
var y = c.constructor;
|
|
110
|
+
if (y !== l.constructor)
|
|
111
|
+
return !1;
|
|
112
|
+
if (y === Object)
|
|
113
|
+
return a(c, l, f);
|
|
114
|
+
if (pe(c))
|
|
115
|
+
return t(c, l, f);
|
|
116
|
+
if (z != null && z(c))
|
|
117
|
+
return s(c, l, f);
|
|
118
|
+
if (y === Date)
|
|
119
|
+
return r(c, l, f);
|
|
120
|
+
if (y === RegExp)
|
|
121
|
+
return u(c, l, f);
|
|
122
|
+
if (y === Map)
|
|
123
|
+
return n(c, l, f);
|
|
124
|
+
if (y === Set)
|
|
125
|
+
return o(c, l, f);
|
|
126
|
+
var h = he(c);
|
|
127
|
+
return h === ie ? r(c, l, f) : h === se ? u(c, l, f) : h === oe ? n(c, l, f) : h === le ? o(c, l, f) : h === ce ? typeof c.then != "function" && typeof l.then != "function" && a(c, l, f) : h === ne ? a(c, l, f) : h === ae || h === ue || h === fe ? i(c, l, f) : !1;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function ve(e) {
|
|
131
|
+
var t = e.circular, r = e.createCustomConfig, n = e.strict, a = {
|
|
132
|
+
areArraysEqual: n ? q : Q,
|
|
133
|
+
areDatesEqual: X,
|
|
134
|
+
areMapsEqual: n ? K(_, q) : _,
|
|
135
|
+
areObjectsEqual: n ? q : Z,
|
|
136
|
+
arePrimitiveWrappersEqual: ee,
|
|
137
|
+
areRegExpsEqual: te,
|
|
138
|
+
areSetsEqual: n ? K($, q) : $,
|
|
139
|
+
areTypedArraysEqual: n ? q : re
|
|
140
|
+
};
|
|
141
|
+
if (r && (a = k({}, a, r(a))), t) {
|
|
142
|
+
var i = j(a.areArraysEqual), u = j(a.areMapsEqual), o = j(a.areObjectsEqual), s = j(a.areSetsEqual);
|
|
143
|
+
a = k({}, a, {
|
|
144
|
+
areArraysEqual: i,
|
|
145
|
+
areMapsEqual: u,
|
|
146
|
+
areObjectsEqual: o,
|
|
147
|
+
areSetsEqual: s
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
return a;
|
|
151
|
+
}
|
|
152
|
+
function ge(e) {
|
|
153
|
+
return function(t, r, n, a, i, u, o) {
|
|
154
|
+
return e(t, r, o);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function de(e) {
|
|
158
|
+
var t = e.circular, r = e.comparator, n = e.createState, a = e.equals, i = e.strict;
|
|
159
|
+
if (n)
|
|
160
|
+
return function(o, s) {
|
|
161
|
+
var c = n(), l = c.cache, f = l === void 0 ? t ? /* @__PURE__ */ new WeakMap() : void 0 : l, y = c.meta;
|
|
162
|
+
return r(o, s, {
|
|
163
|
+
cache: f,
|
|
164
|
+
equals: a,
|
|
165
|
+
meta: y,
|
|
166
|
+
strict: i
|
|
167
|
+
});
|
|
168
|
+
};
|
|
169
|
+
if (t)
|
|
170
|
+
return function(o, s) {
|
|
171
|
+
return r(o, s, {
|
|
172
|
+
cache: /* @__PURE__ */ new WeakMap(),
|
|
173
|
+
equals: a,
|
|
174
|
+
meta: void 0,
|
|
175
|
+
strict: i
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
var u = {
|
|
179
|
+
cache: void 0,
|
|
180
|
+
equals: a,
|
|
181
|
+
meta: void 0,
|
|
182
|
+
strict: i
|
|
183
|
+
};
|
|
184
|
+
return function(o, s) {
|
|
185
|
+
return r(o, s, u);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
var me = g();
|
|
189
|
+
g({ strict: !0 });
|
|
190
|
+
g({ circular: !0 });
|
|
191
|
+
g({
|
|
192
|
+
circular: !0,
|
|
193
|
+
strict: !0
|
|
194
|
+
});
|
|
195
|
+
g({
|
|
196
|
+
createInternalComparator: function() {
|
|
197
|
+
return m;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
g({
|
|
201
|
+
strict: !0,
|
|
202
|
+
createInternalComparator: function() {
|
|
203
|
+
return m;
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
g({
|
|
207
|
+
circular: !0,
|
|
208
|
+
createInternalComparator: function() {
|
|
209
|
+
return m;
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
g({
|
|
213
|
+
circular: !0,
|
|
214
|
+
createInternalComparator: function() {
|
|
215
|
+
return m;
|
|
216
|
+
},
|
|
217
|
+
strict: !0
|
|
218
|
+
});
|
|
219
|
+
function g(e) {
|
|
220
|
+
e === void 0 && (e = {});
|
|
221
|
+
var t = e.circular, r = t === void 0 ? !1 : t, n = e.createInternalComparator, a = e.createState, i = e.strict, u = i === void 0 ? !1 : i, o = ve(e), s = ye(o), c = n ? n(s) : ge(s);
|
|
222
|
+
return de({ circular: r, comparator: s, createState: a, equals: c, strict: u });
|
|
223
|
+
}
|
|
224
|
+
var be = {
|
|
225
|
+
isEqual: !0,
|
|
226
|
+
isMatchingKey: !0,
|
|
227
|
+
isPromise: !0,
|
|
228
|
+
maxSize: !0,
|
|
229
|
+
onCacheAdd: !0,
|
|
230
|
+
onCacheChange: !0,
|
|
231
|
+
onCacheHit: !0,
|
|
232
|
+
transformKey: !0
|
|
233
|
+
}, qe = Array.prototype.slice;
|
|
234
|
+
function x(e) {
|
|
235
|
+
var t = e.length;
|
|
236
|
+
return t ? t === 1 ? [e[0]] : t === 2 ? [e[0], e[1]] : t === 3 ? [e[0], e[1], e[2]] : qe.call(e, 0) : [];
|
|
237
|
+
}
|
|
238
|
+
function Ee(e) {
|
|
239
|
+
var t = {};
|
|
240
|
+
for (var r in e)
|
|
241
|
+
be[r] || (t[r] = e[r]);
|
|
242
|
+
return t;
|
|
243
|
+
}
|
|
244
|
+
function Ce(e) {
|
|
245
|
+
return typeof e == "function" && e.isMemoized;
|
|
246
|
+
}
|
|
247
|
+
function je(e, t) {
|
|
248
|
+
return e === t || e !== e && t !== t;
|
|
249
|
+
}
|
|
250
|
+
function P(e, t) {
|
|
251
|
+
var r = {};
|
|
252
|
+
for (var n in e)
|
|
253
|
+
r[n] = e[n];
|
|
254
|
+
for (var n in t)
|
|
255
|
+
r[n] = t[n];
|
|
256
|
+
return r;
|
|
257
|
+
}
|
|
258
|
+
var xe = (
|
|
259
|
+
/** @class */
|
|
260
|
+
function() {
|
|
261
|
+
function e(t) {
|
|
262
|
+
this.keys = [], this.values = [], this.options = t;
|
|
263
|
+
var r = typeof t.isMatchingKey == "function";
|
|
264
|
+
r ? this.getKeyIndex = this._getKeyIndexFromMatchingKey : t.maxSize > 1 ? this.getKeyIndex = this._getKeyIndexForMany : this.getKeyIndex = this._getKeyIndexForSingle, this.canTransformKey = typeof t.transformKey == "function", this.shouldCloneArguments = this.canTransformKey || r, this.shouldUpdateOnAdd = typeof t.onCacheAdd == "function", this.shouldUpdateOnChange = typeof t.onCacheChange == "function", this.shouldUpdateOnHit = typeof t.onCacheHit == "function";
|
|
265
|
+
}
|
|
266
|
+
return Object.defineProperty(e.prototype, "size", {
|
|
267
|
+
/**
|
|
268
|
+
* The number of cached [key,value] results.
|
|
269
|
+
*/
|
|
270
|
+
get: function() {
|
|
271
|
+
return this.keys.length;
|
|
272
|
+
},
|
|
273
|
+
enumerable: !1,
|
|
274
|
+
configurable: !0
|
|
275
|
+
}), Object.defineProperty(e.prototype, "snapshot", {
|
|
276
|
+
/**
|
|
277
|
+
* A copy of the cache at a moment in time. This is useful
|
|
278
|
+
* to compare changes over time, since the cache mutates
|
|
279
|
+
* internally for performance reasons.
|
|
280
|
+
*/
|
|
281
|
+
get: function() {
|
|
282
|
+
return {
|
|
283
|
+
keys: x(this.keys),
|
|
284
|
+
size: this.size,
|
|
285
|
+
values: x(this.values)
|
|
286
|
+
};
|
|
287
|
+
},
|
|
288
|
+
enumerable: !1,
|
|
289
|
+
configurable: !0
|
|
290
|
+
}), e.prototype._getKeyIndexFromMatchingKey = function(t) {
|
|
291
|
+
var r = this.options, n = r.isMatchingKey, a = r.maxSize, i = this.keys, u = i.length;
|
|
292
|
+
if (!u)
|
|
293
|
+
return -1;
|
|
294
|
+
if (n(i[0], t))
|
|
295
|
+
return 0;
|
|
296
|
+
if (a > 1) {
|
|
297
|
+
for (var o = 1; o < u; o++)
|
|
298
|
+
if (n(i[o], t))
|
|
299
|
+
return o;
|
|
300
|
+
}
|
|
301
|
+
return -1;
|
|
302
|
+
}, e.prototype._getKeyIndexForMany = function(t) {
|
|
303
|
+
var r = this.options.isEqual, n = this.keys, a = n.length;
|
|
304
|
+
if (!a)
|
|
305
|
+
return -1;
|
|
306
|
+
if (a === 1)
|
|
307
|
+
return this._getKeyIndexForSingle(t);
|
|
308
|
+
var i = t.length, u, o;
|
|
309
|
+
if (i > 1) {
|
|
310
|
+
for (var s = 0; s < a; s++)
|
|
311
|
+
if (u = n[s], u.length === i) {
|
|
312
|
+
for (o = 0; o < i && r(u[o], t[o]); o++)
|
|
313
|
+
;
|
|
314
|
+
if (o === i)
|
|
315
|
+
return s;
|
|
316
|
+
}
|
|
317
|
+
} else
|
|
318
|
+
for (var s = 0; s < a; s++)
|
|
319
|
+
if (u = n[s], u.length === i && r(u[0], t[0]))
|
|
320
|
+
return s;
|
|
321
|
+
return -1;
|
|
322
|
+
}, e.prototype._getKeyIndexForSingle = function(t) {
|
|
323
|
+
var r = this.keys;
|
|
324
|
+
if (!r.length)
|
|
325
|
+
return -1;
|
|
326
|
+
var n = r[0], a = n.length;
|
|
327
|
+
if (t.length !== a)
|
|
328
|
+
return -1;
|
|
329
|
+
var i = this.options.isEqual;
|
|
330
|
+
if (a > 1) {
|
|
331
|
+
for (var u = 0; u < a; u++)
|
|
332
|
+
if (!i(n[u], t[u]))
|
|
333
|
+
return -1;
|
|
334
|
+
return 0;
|
|
335
|
+
}
|
|
336
|
+
return i(n[0], t[0]) ? 0 : -1;
|
|
337
|
+
}, e.prototype.orderByLru = function(t, r, n) {
|
|
338
|
+
for (var a = this.keys, i = this.values, u = a.length, o = n; o--; )
|
|
339
|
+
a[o + 1] = a[o], i[o + 1] = i[o];
|
|
340
|
+
a[0] = t, i[0] = r;
|
|
341
|
+
var s = this.options.maxSize;
|
|
342
|
+
u === s && n === u ? (a.pop(), i.pop()) : n >= s && (a.length = i.length = s);
|
|
343
|
+
}, e.prototype.updateAsyncCache = function(t) {
|
|
344
|
+
var r = this, n = this.options, a = n.onCacheChange, i = n.onCacheHit, u = this.keys[0], o = this.values[0];
|
|
345
|
+
this.values[0] = o.then(function(s) {
|
|
346
|
+
return r.shouldUpdateOnHit && i(r, r.options, t), r.shouldUpdateOnChange && a(r, r.options, t), s;
|
|
347
|
+
}, function(s) {
|
|
348
|
+
var c = r.getKeyIndex(u);
|
|
349
|
+
throw c !== -1 && (r.keys.splice(c, 1), r.values.splice(c, 1)), s;
|
|
350
|
+
});
|
|
351
|
+
}, e;
|
|
352
|
+
}()
|
|
353
|
+
);
|
|
354
|
+
function U(e, t) {
|
|
355
|
+
if (t === void 0 && (t = {}), Ce(e))
|
|
356
|
+
return U(e.fn, P(e.options, t));
|
|
357
|
+
if (typeof e != "function")
|
|
358
|
+
throw new TypeError("You must pass a function to `memoize`.");
|
|
359
|
+
var r = t.isEqual, n = r === void 0 ? je : r, a = t.isMatchingKey, i = t.isPromise, u = i === void 0 ? !1 : i, o = t.maxSize, s = o === void 0 ? 1 : o, c = t.onCacheAdd, l = t.onCacheChange, f = t.onCacheHit, y = t.transformKey, h = P({
|
|
360
|
+
isEqual: n,
|
|
361
|
+
isMatchingKey: a,
|
|
362
|
+
isPromise: u,
|
|
363
|
+
maxSize: s,
|
|
364
|
+
onCacheAdd: c,
|
|
365
|
+
onCacheChange: l,
|
|
366
|
+
onCacheHit: f,
|
|
367
|
+
transformKey: y
|
|
368
|
+
}, Ee(t)), p = new xe(h), d = p.keys, E = p.values, N = p.canTransformKey, O = p.shouldCloneArguments, R = p.shouldUpdateOnAdd, w = p.shouldUpdateOnChange, F = p.shouldUpdateOnHit, v = function() {
|
|
369
|
+
var C = O ? x(arguments) : arguments;
|
|
370
|
+
N && (C = y(C));
|
|
371
|
+
var b = d.length ? p.getKeyIndex(C) : -1;
|
|
372
|
+
if (b !== -1)
|
|
373
|
+
F && f(p, h, v), b && (p.orderByLru(d[b], E[b], b), w && l(p, h, v));
|
|
374
|
+
else {
|
|
375
|
+
var H = e.apply(this, arguments), V = O ? C : x(arguments);
|
|
376
|
+
p.orderByLru(V, H, d.length), u && p.updateAsyncCache(v), R && c(p, h, v), w && l(p, h, v);
|
|
377
|
+
}
|
|
378
|
+
return E[0];
|
|
379
|
+
};
|
|
380
|
+
return v.cache = p, v.fn = e, v.isMemoized = !0, v.options = h, v;
|
|
381
|
+
}
|
|
382
|
+
function Oe(e) {
|
|
383
|
+
return U(e, { isEqual: me });
|
|
384
|
+
}
|
|
385
|
+
const we = Oe((e) => {
|
|
386
|
+
let t = "";
|
|
387
|
+
if (typeof e == "number" || typeof e == "string")
|
|
388
|
+
t = "m-" + e;
|
|
389
|
+
else {
|
|
390
|
+
const r = [];
|
|
391
|
+
(e == null ? void 0 : e.t) !== void 0 && r.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && r.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && r.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && r.push(`ml-${e.l}`), t = r.join(" ");
|
|
392
|
+
}
|
|
393
|
+
return t;
|
|
394
|
+
}), Ae = ({
|
|
395
|
+
children: e,
|
|
396
|
+
fill: t,
|
|
397
|
+
viewBox: r,
|
|
398
|
+
className: n,
|
|
399
|
+
defaultViewBox: a,
|
|
400
|
+
defaultClassName: i,
|
|
401
|
+
spacing: u,
|
|
402
|
+
title: o,
|
|
403
|
+
decorative: s = !1,
|
|
404
|
+
...c
|
|
405
|
+
}) => {
|
|
406
|
+
const l = we(u), f = L(
|
|
407
|
+
l,
|
|
408
|
+
n || i
|
|
409
|
+
);
|
|
410
|
+
return /* @__PURE__ */ D(W, { children: [
|
|
411
|
+
/* @__PURE__ */ I(
|
|
412
|
+
"svg",
|
|
413
|
+
{
|
|
414
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
415
|
+
className: f,
|
|
416
|
+
viewBox: r || a,
|
|
417
|
+
fill: t || "currentColor",
|
|
418
|
+
role: "img",
|
|
419
|
+
"aria-hidden": s,
|
|
420
|
+
focusable: !1,
|
|
421
|
+
...c,
|
|
422
|
+
children: e
|
|
423
|
+
}
|
|
424
|
+
),
|
|
425
|
+
o && !s && /* @__PURE__ */ I("span", { className: "sr-only", children: o })
|
|
426
|
+
] });
|
|
427
|
+
};
|
|
428
|
+
/*!
|
|
429
|
+
@versini/ui-private v1.0.0
|
|
430
|
+
© 2024 gizmette.com
|
|
431
|
+
*/
|
|
432
|
+
try {
|
|
433
|
+
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
434
|
+
version: "1.0.0",
|
|
435
|
+
buildTime: "02/26/2024 04:41 PM EST",
|
|
436
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
437
|
+
license: "MIT"
|
|
438
|
+
});
|
|
439
|
+
} catch {
|
|
440
|
+
}
|
|
441
|
+
export {
|
|
442
|
+
Ae as j
|
|
443
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs as i, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { j as m } from "../../chunks/index.Dvy_-ZVi.js";
|
|
3
|
+
const f = ({
|
|
4
|
+
className: a,
|
|
5
|
+
viewBox: s,
|
|
6
|
+
spacing: t,
|
|
7
|
+
title: o,
|
|
8
|
+
monotone: e,
|
|
9
|
+
...r
|
|
10
|
+
}) => /* @__PURE__ */ i(
|
|
11
|
+
m,
|
|
12
|
+
{
|
|
13
|
+
defaultViewBox: "0 0 512 512",
|
|
14
|
+
defaultClassName: "h-5 w-5",
|
|
15
|
+
viewBox: s,
|
|
16
|
+
className: a,
|
|
17
|
+
spacing: t,
|
|
18
|
+
title: o || "Back",
|
|
19
|
+
...r,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ c(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
className: "fa-secondary",
|
|
25
|
+
opacity: e ? "1" : "0.4",
|
|
26
|
+
d: "M288.4 93.4c2.9-17.4 19.4-29.2 36.9-26.3C431.3 84.9 512 177 512 288c0 123.7-100.3 224-224 224C177 512 84.9 431.3 67.1 325.3c-2.9-17.4 8.8-33.9 26.3-36.9s33.9 8.8 36.9 26.3C142.9 390.4 208.8 448 288 448c88.4 0 160-71.6 160-160c0-79.2-57.6-145.1-133.3-157.8c-17.4-2.9-29.2-19.4-26.3-36.9z"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ c(
|
|
30
|
+
"path",
|
|
31
|
+
{
|
|
32
|
+
className: "fa-primary",
|
|
33
|
+
d: "M32 0H192c17.7 0 32 14.3 32 32s-14.3 32-32 32H109.3L342.6 297.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32s-32-14.3-32-32V32C0 14.3 14.3 0 32 0z"
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
export {
|
|
40
|
+
f as IconBack
|
|
41
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs as h, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
|
|
3
|
+
const V = ({
|
|
4
|
+
className: a,
|
|
5
|
+
viewBox: t,
|
|
6
|
+
spacing: r,
|
|
7
|
+
title: o,
|
|
8
|
+
monotone: s,
|
|
9
|
+
...e
|
|
10
|
+
}) => /* @__PURE__ */ h(
|
|
11
|
+
i,
|
|
12
|
+
{
|
|
13
|
+
defaultViewBox: "0 0 448 512",
|
|
14
|
+
defaultClassName: "h-5 w-5",
|
|
15
|
+
viewBox: t,
|
|
16
|
+
className: a,
|
|
17
|
+
spacing: r,
|
|
18
|
+
title: o || "Chart",
|
|
19
|
+
...e,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ c(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
className: "fa-secondary",
|
|
25
|
+
opacity: s ? "1" : "0.4",
|
|
26
|
+
d: "M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80z"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ c(
|
|
30
|
+
"path",
|
|
31
|
+
{
|
|
32
|
+
className: "fa-primary",
|
|
33
|
+
d: "M368 96c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48H368zM48 224c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H48z"
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
export {
|
|
40
|
+
V as IconChart
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { j as c } from "../../chunks/index.Dvy_-ZVi.js";
|
|
3
|
+
const i = ({
|
|
4
|
+
className: e,
|
|
5
|
+
viewBox: t,
|
|
6
|
+
spacing: s,
|
|
7
|
+
title: l,
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
|
+
monotone: m,
|
|
10
|
+
...r
|
|
11
|
+
}) => /* @__PURE__ */ o(
|
|
12
|
+
c,
|
|
13
|
+
{
|
|
14
|
+
defaultViewBox: "0 0 384 512",
|
|
15
|
+
defaultClassName: "h-5 w-5",
|
|
16
|
+
viewBox: t,
|
|
17
|
+
className: e,
|
|
18
|
+
spacing: s,
|
|
19
|
+
title: l || "Close",
|
|
20
|
+
...r,
|
|
21
|
+
children: /* @__PURE__ */ o("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4z" })
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as IconClose
|
|
26
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsxs as l, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { j as r } from "../../chunks/index.Dvy_-ZVi.js";
|
|
3
|
+
const d = ({
|
|
4
|
+
className: a,
|
|
5
|
+
viewBox: o,
|
|
6
|
+
spacing: e,
|
|
7
|
+
title: s,
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
|
+
monotone: i,
|
|
10
|
+
...t
|
|
11
|
+
}) => /* @__PURE__ */ l(
|
|
12
|
+
r,
|
|
13
|
+
{
|
|
14
|
+
defaultViewBox: "0 0 448 512",
|
|
15
|
+
defaultClassName: "h-5 w-5",
|
|
16
|
+
viewBox: o,
|
|
17
|
+
className: a,
|
|
18
|
+
spacing: e,
|
|
19
|
+
title: s || "Copied",
|
|
20
|
+
...t,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ c(
|
|
23
|
+
"path",
|
|
24
|
+
{
|
|
25
|
+
className: "fa-secondary",
|
|
26
|
+
opacity: "0.4",
|
|
27
|
+
d: "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ c(
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
className: "fa-primary",
|
|
34
|
+
d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z"
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
export {
|
|
41
|
+
d as IconCopied
|
|
42
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
|
|
3
|
+
const d = ({
|
|
4
|
+
className: c,
|
|
5
|
+
viewBox: o,
|
|
6
|
+
spacing: t,
|
|
7
|
+
title: s,
|
|
8
|
+
monotone: e,
|
|
9
|
+
...r
|
|
10
|
+
}) => /* @__PURE__ */ p(
|
|
11
|
+
i,
|
|
12
|
+
{
|
|
13
|
+
defaultViewBox: "0 0 512 512",
|
|
14
|
+
defaultClassName: "h-5 w-5",
|
|
15
|
+
viewBox: o,
|
|
16
|
+
className: c,
|
|
17
|
+
spacing: t,
|
|
18
|
+
title: s || "Copy",
|
|
19
|
+
...r,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ a(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
className: "fa-secondary",
|
|
25
|
+
opacity: e ? "1" : "0.4",
|
|
26
|
+
d: "M288 448H64V224h96V160H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V352H288v96z"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ a(
|
|
30
|
+
"path",
|
|
31
|
+
{
|
|
32
|
+
className: "fa-primary",
|
|
33
|
+
d: "M160 288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224c-35.3 0-64 28.7-64 64V288z"
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
export {
|
|
40
|
+
d as IconCopy
|
|
41
|
+
};
|