@contentmunch/contentmunch-ui 1.1.4 → 1.1.6
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/lib/icon/Drawings.d.ts +47 -16
- package/lib/icon/assets/icon-stories.css +25 -6
- package/lib/index.cjs.js +4 -4
- package/lib/index.es.js +688 -548
- package/lib/index.umd.js +4 -4
- package/package.json +1 -1
- package/lib/icon/assets/rss.svg +0 -6
- package/lib/icon/assets/wss.svg +0 -6
package/lib/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o1, { useState as
|
|
1
|
+
import o1, { useState as H, Fragment as s, useRef as h1, useCallback as q, useEffect as Z, useMemo as x1 } from "react";
|
|
2
2
|
var K = { exports: {} }, B = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -14,19 +14,19 @@ function y1() {
|
|
|
14
14
|
if (t1) return B;
|
|
15
15
|
t1 = 1;
|
|
16
16
|
var n = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
|
|
17
|
-
function r(
|
|
17
|
+
function r(c, t, i) {
|
|
18
18
|
var o = null;
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
for (var a in
|
|
22
|
-
a !== "key" && (
|
|
23
|
-
} else
|
|
24
|
-
return
|
|
19
|
+
if (i !== void 0 && (o = "" + i), t.key !== void 0 && (o = "" + t.key), "key" in t) {
|
|
20
|
+
i = {};
|
|
21
|
+
for (var a in t)
|
|
22
|
+
a !== "key" && (i[a] = t[a]);
|
|
23
|
+
} else i = t;
|
|
24
|
+
return t = i.ref, {
|
|
25
25
|
$$typeof: n,
|
|
26
|
-
type:
|
|
26
|
+
type: c,
|
|
27
27
|
key: o,
|
|
28
|
-
ref:
|
|
29
|
-
props:
|
|
28
|
+
ref: t !== void 0 ? t : null,
|
|
29
|
+
props: i
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
return B.Fragment = l, B.jsx = r, B.jsxs = r, B;
|
|
@@ -41,166 +41,166 @@ var J = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
function n(
|
|
48
|
-
if (
|
|
49
|
-
if (typeof
|
|
50
|
-
return
|
|
51
|
-
if (typeof
|
|
52
|
-
switch (
|
|
44
|
+
var i1;
|
|
45
|
+
function p1() {
|
|
46
|
+
return i1 || (i1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function n(x) {
|
|
48
|
+
if (x == null) return null;
|
|
49
|
+
if (typeof x == "function")
|
|
50
|
+
return x.$$typeof === A ? null : x.displayName || x.name || null;
|
|
51
|
+
if (typeof x == "string") return x;
|
|
52
|
+
switch (x) {
|
|
53
53
|
case g:
|
|
54
54
|
return "Fragment";
|
|
55
55
|
case f:
|
|
56
56
|
return "Profiler";
|
|
57
57
|
case _:
|
|
58
58
|
return "StrictMode";
|
|
59
|
-
case
|
|
59
|
+
case M:
|
|
60
60
|
return "Suspense";
|
|
61
|
-
case
|
|
61
|
+
case S:
|
|
62
62
|
return "SuspenseList";
|
|
63
63
|
case k:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
|
-
if (typeof
|
|
67
|
-
switch (typeof
|
|
66
|
+
if (typeof x == "object")
|
|
67
|
+
switch (typeof x.tag == "number" && console.error(
|
|
68
68
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
-
),
|
|
69
|
+
), x.$$typeof) {
|
|
70
70
|
case N:
|
|
71
71
|
return "Portal";
|
|
72
72
|
case C:
|
|
73
|
-
return (
|
|
73
|
+
return (x.displayName || "Context") + ".Provider";
|
|
74
74
|
case E:
|
|
75
|
-
return (
|
|
76
|
-
case
|
|
77
|
-
var
|
|
78
|
-
return
|
|
75
|
+
return (x._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case z:
|
|
77
|
+
var p = x.render;
|
|
78
|
+
return x = x.displayName, x || (x = p.displayName || p.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
79
79
|
case P:
|
|
80
|
-
return
|
|
80
|
+
return p = x.displayName || null, p !== null ? p : n(x.type) || "Memo";
|
|
81
81
|
case m:
|
|
82
|
-
|
|
82
|
+
p = x._payload, x = x._init;
|
|
83
83
|
try {
|
|
84
|
-
return n(
|
|
84
|
+
return n(x(p));
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function l(
|
|
91
|
-
return "" +
|
|
90
|
+
function l(x) {
|
|
91
|
+
return "" + x;
|
|
92
92
|
}
|
|
93
|
-
function r(
|
|
93
|
+
function r(x) {
|
|
94
94
|
try {
|
|
95
|
-
l(
|
|
96
|
-
var
|
|
95
|
+
l(x);
|
|
96
|
+
var p = !1;
|
|
97
97
|
} catch {
|
|
98
|
-
|
|
98
|
+
p = !0;
|
|
99
99
|
}
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
var
|
|
103
|
-
return
|
|
104
|
-
|
|
100
|
+
if (p) {
|
|
101
|
+
p = console;
|
|
102
|
+
var b = p.error, R = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
|
|
103
|
+
return b.call(
|
|
104
|
+
p,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
R
|
|
107
|
-
), l(
|
|
107
|
+
), l(x);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
if (
|
|
112
|
-
if (typeof
|
|
110
|
+
function c(x) {
|
|
111
|
+
if (x === g) return "<>";
|
|
112
|
+
if (typeof x == "object" && x !== null && x.$$typeof === m)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
|
-
var
|
|
116
|
-
return
|
|
115
|
+
var p = n(x);
|
|
116
|
+
return p ? "<" + p + ">" : "<...>";
|
|
117
117
|
} catch {
|
|
118
118
|
return "<...>";
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
var
|
|
123
|
-
return
|
|
121
|
+
function t() {
|
|
122
|
+
var x = O.A;
|
|
123
|
+
return x === null ? null : x.getOwner();
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function i() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
|
-
function o(
|
|
129
|
-
if (X.call(
|
|
130
|
-
var
|
|
131
|
-
if (
|
|
128
|
+
function o(x) {
|
|
129
|
+
if (X.call(x, "key")) {
|
|
130
|
+
var p = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
131
|
+
if (p && p.isReactWarning) return !1;
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return x.key !== void 0;
|
|
134
134
|
}
|
|
135
|
-
function a(
|
|
136
|
-
function
|
|
135
|
+
function a(x, p) {
|
|
136
|
+
function b() {
|
|
137
137
|
$ || ($ = !0, console.error(
|
|
138
138
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
-
|
|
139
|
+
p
|
|
140
140
|
));
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
get:
|
|
142
|
+
b.isReactWarning = !0, Object.defineProperty(x, "key", {
|
|
143
|
+
get: b,
|
|
144
144
|
configurable: !0
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
var
|
|
149
|
-
return Y[
|
|
147
|
+
function d() {
|
|
148
|
+
var x = n(this.type);
|
|
149
|
+
return Y[x] || (Y[x] = !0, console.error(
|
|
150
150
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
-
)),
|
|
151
|
+
)), x = this.props.ref, x !== void 0 ? x : null;
|
|
152
152
|
}
|
|
153
|
-
function y(
|
|
154
|
-
return
|
|
153
|
+
function y(x, p, b, R, D, L, s1, n1) {
|
|
154
|
+
return b = L.ref, x = {
|
|
155
155
|
$$typeof: v,
|
|
156
|
-
type:
|
|
157
|
-
key:
|
|
156
|
+
type: x,
|
|
157
|
+
key: p,
|
|
158
158
|
props: L,
|
|
159
159
|
_owner: D
|
|
160
|
-
}, (
|
|
160
|
+
}, (b !== void 0 ? b : null) !== null ? Object.defineProperty(x, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
|
-
get:
|
|
163
|
-
}) : Object.defineProperty(
|
|
162
|
+
get: d
|
|
163
|
+
}) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
164
164
|
configurable: !1,
|
|
165
165
|
enumerable: !1,
|
|
166
166
|
writable: !0,
|
|
167
167
|
value: 0
|
|
168
|
-
}), Object.defineProperty(
|
|
168
|
+
}), Object.defineProperty(x, "_debugInfo", {
|
|
169
169
|
configurable: !1,
|
|
170
170
|
enumerable: !1,
|
|
171
171
|
writable: !0,
|
|
172
172
|
value: null
|
|
173
|
-
}), Object.defineProperty(
|
|
173
|
+
}), Object.defineProperty(x, "_debugStack", {
|
|
174
174
|
configurable: !1,
|
|
175
175
|
enumerable: !1,
|
|
176
176
|
writable: !0,
|
|
177
|
-
value:
|
|
178
|
-
}), Object.defineProperty(
|
|
177
|
+
value: s1
|
|
178
|
+
}), Object.defineProperty(x, "_debugTask", {
|
|
179
179
|
configurable: !1,
|
|
180
180
|
enumerable: !1,
|
|
181
181
|
writable: !0,
|
|
182
|
-
value:
|
|
183
|
-
}), Object.freeze && (Object.freeze(
|
|
182
|
+
value: n1
|
|
183
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
var T =
|
|
185
|
+
function h(x, p, b, R, D, L, s1, n1) {
|
|
186
|
+
var T = p.children;
|
|
187
187
|
if (T !== void 0)
|
|
188
188
|
if (R)
|
|
189
|
-
if (
|
|
189
|
+
if (e1(T)) {
|
|
190
190
|
for (R = 0; R < T.length; R++)
|
|
191
|
-
|
|
191
|
+
j(T[R]);
|
|
192
192
|
Object.freeze && Object.freeze(T);
|
|
193
193
|
} else
|
|
194
194
|
console.error(
|
|
195
195
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
196
|
);
|
|
197
|
-
else
|
|
198
|
-
if (X.call(
|
|
199
|
-
T = n(
|
|
200
|
-
var F = Object.keys(
|
|
201
|
-
return
|
|
197
|
+
else j(T);
|
|
198
|
+
if (X.call(p, "key")) {
|
|
199
|
+
T = n(x);
|
|
200
|
+
var F = Object.keys(p).filter(function(d1) {
|
|
201
|
+
return d1 !== "key";
|
|
202
202
|
});
|
|
203
|
-
R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
203
|
+
R = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", l1[T + R] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -211,116 +211,119 @@ React keys must be passed directly to JSX without using spread:
|
|
|
211
211
|
T,
|
|
212
212
|
F,
|
|
213
213
|
T
|
|
214
|
-
),
|
|
214
|
+
), l1[T + R] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (T = null,
|
|
217
|
-
|
|
218
|
-
for (var
|
|
219
|
-
|
|
220
|
-
} else
|
|
216
|
+
if (T = null, b !== void 0 && (r(b), T = "" + b), o(p) && (r(p.key), T = "" + p.key), "key" in p) {
|
|
217
|
+
b = {};
|
|
218
|
+
for (var r1 in p)
|
|
219
|
+
r1 !== "key" && (b[r1] = p[r1]);
|
|
220
|
+
} else b = p;
|
|
221
221
|
return T && a(
|
|
222
|
-
|
|
223
|
-
typeof
|
|
222
|
+
b,
|
|
223
|
+
typeof x == "function" ? x.displayName || x.name || "Unknown" : x
|
|
224
224
|
), y(
|
|
225
|
-
|
|
225
|
+
x,
|
|
226
226
|
T,
|
|
227
227
|
L,
|
|
228
228
|
D,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
229
|
+
t(),
|
|
230
|
+
b,
|
|
231
|
+
s1,
|
|
232
|
+
n1
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
typeof
|
|
235
|
+
function j(x) {
|
|
236
|
+
typeof x == "object" && x !== null && x.$$typeof === v && x._store && (x._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var u = o1, v = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), O = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, e1 = Array.isArray, I = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
|
-
|
|
242
|
-
"react-stack-bottom-frame": function(
|
|
243
|
-
return
|
|
241
|
+
u = {
|
|
242
|
+
"react-stack-bottom-frame": function(x) {
|
|
243
|
+
return x();
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
var $, Y = {}, U =
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
)(), W = I(i
|
|
250
|
-
J.Fragment = g, J.jsx = function(
|
|
246
|
+
var $, Y = {}, U = u["react-stack-bottom-frame"].bind(
|
|
247
|
+
u,
|
|
248
|
+
i
|
|
249
|
+
)(), W = I(c(i)), l1 = {};
|
|
250
|
+
J.Fragment = g, J.jsx = function(x, p, b, R, D) {
|
|
251
251
|
var L = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
252
|
-
return
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
return h(
|
|
253
|
+
x,
|
|
254
|
+
p,
|
|
255
|
+
b,
|
|
256
256
|
!1,
|
|
257
257
|
R,
|
|
258
258
|
D,
|
|
259
259
|
L ? Error("react-stack-top-frame") : U,
|
|
260
|
-
L ? I(
|
|
260
|
+
L ? I(c(x)) : W
|
|
261
261
|
);
|
|
262
|
-
}, J.jsxs = function(
|
|
262
|
+
}, J.jsxs = function(x, p, b, R, D) {
|
|
263
263
|
var L = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
264
|
+
return h(
|
|
265
|
+
x,
|
|
266
|
+
p,
|
|
267
|
+
b,
|
|
268
268
|
!0,
|
|
269
269
|
R,
|
|
270
270
|
D,
|
|
271
271
|
L ? Error("react-stack-top-frame") : U,
|
|
272
|
-
L ? I(
|
|
272
|
+
L ? I(c(x)) : W
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
275
|
}()), J;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
277
|
+
var c1;
|
|
278
|
+
function u1() {
|
|
279
|
+
return c1 || (c1 = 1, process.env.NODE_ENV === "production" ? K.exports = y1() : K.exports = p1()), K.exports;
|
|
280
280
|
}
|
|
281
|
-
var e =
|
|
282
|
-
const
|
|
283
|
-
const { folds:
|
|
284
|
-
const
|
|
285
|
-
if (
|
|
286
|
-
const v =
|
|
287
|
-
|
|
281
|
+
var e = u1();
|
|
282
|
+
const z1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
283
|
+
const { folds: c } = r, [t, i] = H(l ? -1 : 0), o = (h) => h === t ? "fold active" : "fold", a = (h) => "fold-button" + (n ? " fold-button--" + n : "") + (c[h].foldColor ? " fold-button--primary fold-button--" + c[h].foldColor : ""), d = (h) => {
|
|
284
|
+
const j = h.which.toString(), u = h.ctrlKey && j.match(/33|34/);
|
|
285
|
+
if (j.match(/38|40/) || u) {
|
|
286
|
+
const v = j.match(/34|40/) ? 1 : -1, N = c.length, g = (t + N + v) % N;
|
|
287
|
+
i(g);
|
|
288
288
|
} else
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}, y = (
|
|
292
|
-
|
|
289
|
+
j === "36" && i(0), j === "35" && i(c.length - 1);
|
|
290
|
+
h.preventDefault();
|
|
291
|
+
}, y = (h) => {
|
|
292
|
+
i(t === h ? -1 : h);
|
|
293
293
|
};
|
|
294
|
-
return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children:
|
|
295
|
-
(
|
|
294
|
+
return /* @__PURE__ */ e.jsx("div", { className: "muncher-accordion", children: c.map(
|
|
295
|
+
(h, j) => /* @__PURE__ */ e.jsxs(
|
|
296
296
|
"div",
|
|
297
297
|
{
|
|
298
|
-
className: o(
|
|
299
|
-
"aria-expanded":
|
|
298
|
+
className: o(j),
|
|
299
|
+
"aria-expanded": t === j,
|
|
300
300
|
children: [
|
|
301
301
|
/* @__PURE__ */ e.jsx(
|
|
302
302
|
"button",
|
|
303
303
|
{
|
|
304
|
-
className: a(
|
|
305
|
-
onKeyDown:
|
|
306
|
-
onClick: () => y(
|
|
307
|
-
children: /* @__PURE__ */ e.jsx("span", { children:
|
|
304
|
+
className: a(j),
|
|
305
|
+
onKeyDown: d,
|
|
306
|
+
onClick: () => y(j),
|
|
307
|
+
children: /* @__PURE__ */ e.jsx("span", { children: h.heading })
|
|
308
308
|
}
|
|
309
309
|
),
|
|
310
|
-
/* @__PURE__ */ e.jsx("section", { className: "fold-content", children:
|
|
310
|
+
/* @__PURE__ */ e.jsx("section", { className: "fold-content", children: h.body })
|
|
311
311
|
]
|
|
312
312
|
},
|
|
313
|
-
"muncher-accordion-fold-" +
|
|
313
|
+
"muncher-accordion-fold-" + j
|
|
314
314
|
)
|
|
315
315
|
) });
|
|
316
316
|
}, m1 = ({
|
|
317
317
|
show: n = !1,
|
|
318
318
|
backdropClickHandler: l,
|
|
319
319
|
...r
|
|
320
|
-
}) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children:
|
|
321
|
-
const
|
|
322
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
323
|
-
},
|
|
320
|
+
}) => n ? /* @__PURE__ */ e.jsx("div", { className: "muncher-backdrop", onClick: l, ...r }) : null, f1 = ({ variant: n, rounded: l, border: r, children: c, ...t }) => {
|
|
321
|
+
const i = "muncher-badge" + (n ? " muncher-badge--" + n : "") + (l ? " muncher-badge--rounded" : "") + (r ? " muncher-badge--border" : "");
|
|
322
|
+
return /* @__PURE__ */ e.jsx("div", { className: i, ...t, children: c });
|
|
323
|
+
}, Q = {
|
|
324
|
+
// Navigation & Movement (Anything related to direction, traversal, layout movement)
|
|
325
|
+
// Actions & Controls (Generic system actions and state changes)
|
|
326
|
+
// Content & Creation
|
|
324
327
|
"align-center": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
325
328
|
/* @__PURE__ */ e.jsx("line", { x1: "18", y1: "10", x2: "6", y2: "10" }),
|
|
326
329
|
/* @__PURE__ */ e.jsx("line", { x1: "21", y1: "6", x2: "3", y2: "6" }),
|
|
@@ -350,6 +353,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
350
353
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "20", x2: "15", y2: "20" }),
|
|
351
354
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "4", x2: "12", y2: "20" })
|
|
352
355
|
] }),
|
|
356
|
+
italic: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
357
|
+
/* @__PURE__ */ e.jsx("line", { x1: "19", y1: "4", x2: "10", y2: "4" }),
|
|
358
|
+
/* @__PURE__ */ e.jsx("line", { x1: "14", y1: "20", x2: "5", y2: "20" }),
|
|
359
|
+
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "4", x2: "9", y2: "20" })
|
|
360
|
+
] }),
|
|
361
|
+
bold: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
362
|
+
/* @__PURE__ */ e.jsx("path", { d: "M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" }),
|
|
363
|
+
/* @__PURE__ */ e.jsx("path", { d: "M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z" })
|
|
364
|
+
] }),
|
|
365
|
+
underline: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
366
|
+
/* @__PURE__ */ e.jsx("path", { d: "M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3" }),
|
|
367
|
+
/* @__PURE__ */ e.jsx("line", { x1: "4", y1: "21", x2: "20", y2: "21" })
|
|
368
|
+
] }),
|
|
353
369
|
"ordered-list": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
354
370
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "5", x2: "21", y2: "5" }),
|
|
355
371
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "12", x2: "21", y2: "12" }),
|
|
@@ -366,12 +382,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
366
382
|
/* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "5", r: "1" }),
|
|
367
383
|
/* @__PURE__ */ e.jsx("circle", { cx: "4", cy: "19", r: "1" })
|
|
368
384
|
] }),
|
|
369
|
-
table: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
370
|
-
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
371
|
-
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
|
|
372
|
-
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
|
|
373
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
|
|
374
|
-
] }),
|
|
375
385
|
undo: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
376
386
|
/* @__PURE__ */ e.jsx("polyline", { points: "2 10 2 16 8 16" }),
|
|
377
387
|
/* @__PURE__ */ e.jsx("path", { d: "m22 16c-1.8136-6.5424-9.5593-9.4823-15.36-4.36l-4.64 4.36" })
|
|
@@ -392,31 +402,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
392
402
|
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "19", x2: "16", y2: "22" }),
|
|
393
403
|
/* @__PURE__ */ e.jsx("line", { x1: "19", y1: "16", x2: "22", y2: "16" })
|
|
394
404
|
] }),
|
|
395
|
-
"arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
396
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
397
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
|
|
398
|
-
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
|
|
399
|
-
] }),
|
|
400
|
-
"arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
401
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
402
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
|
|
403
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
404
|
-
] }),
|
|
405
|
-
"arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
406
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
407
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
|
|
408
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
|
|
409
|
-
] }),
|
|
410
|
-
"arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
411
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
412
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
|
|
413
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
|
|
414
|
-
] }),
|
|
415
|
-
anchor: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
416
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
|
|
417
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
|
|
418
|
-
/* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
|
|
419
|
-
] }),
|
|
420
405
|
hamburger: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
421
406
|
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
422
407
|
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
@@ -471,10 +456,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
471
456
|
),
|
|
472
457
|
/* @__PURE__ */ e.jsx("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" })
|
|
473
458
|
] }),
|
|
474
|
-
|
|
475
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
476
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
|
|
477
|
-
] }),
|
|
459
|
+
moon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) }),
|
|
478
460
|
cloud: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z" }) }),
|
|
479
461
|
"cloud-drizzle": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
480
462
|
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "19", x2: "8", y2: "21" }),
|
|
@@ -489,6 +471,12 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
489
471
|
/* @__PURE__ */ e.jsx("path", { d: "M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9" }),
|
|
490
472
|
/* @__PURE__ */ e.jsx("polyline", { points: "13 11 9 17 15 17 11 23" })
|
|
491
473
|
] }),
|
|
474
|
+
server: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
475
|
+
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "8", rx: "2", ry: "2" }),
|
|
476
|
+
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "14", width: "20", height: "8", rx: "2", ry: "2" }),
|
|
477
|
+
/* @__PURE__ */ e.jsx("line", { x1: "6", y1: "6", x2: "6.01", y2: "6" }),
|
|
478
|
+
/* @__PURE__ */ e.jsx("line", { x1: "6", y1: "18", x2: "6.01", y2: "18" })
|
|
479
|
+
] }),
|
|
492
480
|
camera: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
493
481
|
/* @__PURE__ */ e.jsx("path", { d: "M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" }),
|
|
494
482
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "13", r: "4" })
|
|
@@ -509,24 +497,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
509
497
|
/* @__PURE__ */ e.jsx("line", { x1: "10", y1: "1", x2: "10", y2: "4" }),
|
|
510
498
|
/* @__PURE__ */ e.jsx("line", { x1: "14", y1: "1", x2: "14", y2: "4" })
|
|
511
499
|
] }),
|
|
512
|
-
compass: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
513
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
514
|
-
/* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
|
|
515
|
-
] }),
|
|
516
500
|
eye: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
517
501
|
/* @__PURE__ */ e.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
|
518
502
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
519
503
|
] }),
|
|
504
|
+
droplet: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" }) }),
|
|
520
505
|
feather: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
521
506
|
/* @__PURE__ */ e.jsx("path", { d: "M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z" }),
|
|
522
507
|
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "8", x2: "2", y2: "22" }),
|
|
523
508
|
/* @__PURE__ */ e.jsx("line", { x1: "17.5", y1: "15", x2: "9", y2: "15" })
|
|
524
509
|
] }),
|
|
525
|
-
globe: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
526
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
527
|
-
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
|
|
528
|
-
/* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
|
|
529
|
-
] }),
|
|
530
510
|
headphone: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
531
511
|
/* @__PURE__ */ e.jsx("path", { d: "M3 18v-6a9 9 0 0 1 18 0v6" }),
|
|
532
512
|
/* @__PURE__ */ e.jsx(
|
|
@@ -536,12 +516,20 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
536
516
|
}
|
|
537
517
|
)
|
|
538
518
|
] }),
|
|
519
|
+
slash: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
520
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
521
|
+
/* @__PURE__ */ e.jsx("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
|
|
522
|
+
] }),
|
|
523
|
+
circle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }) }),
|
|
524
|
+
triangle: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }) }),
|
|
525
|
+
square: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }) }),
|
|
539
526
|
hexagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
|
|
540
527
|
"path",
|
|
541
528
|
{
|
|
542
529
|
d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
|
|
543
530
|
}
|
|
544
531
|
) }),
|
|
532
|
+
octagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polygon", { points: "7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2" }) }),
|
|
545
533
|
package: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
546
534
|
/* @__PURE__ */ e.jsx("line", { x1: "16.5", y1: "9.4", x2: "7.5", y2: "4.21" }),
|
|
547
535
|
/* @__PURE__ */ e.jsx(
|
|
@@ -595,10 +583,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
595
583
|
),
|
|
596
584
|
/* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
|
597
585
|
] }),
|
|
586
|
+
speaker: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
587
|
+
/* @__PURE__ */ e.jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
|
|
588
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "14", r: "4" }),
|
|
589
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "6", x2: "12.01", y2: "6" })
|
|
590
|
+
] }),
|
|
598
591
|
tv: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
599
592
|
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "15", rx: "2", ry: "2" }),
|
|
600
593
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 2 12 7 7 2" })
|
|
601
594
|
] }),
|
|
595
|
+
film: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
596
|
+
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "2", width: "20", height: "20", rx: "2.18", ry: "2.18" }),
|
|
597
|
+
/* @__PURE__ */ e.jsx("line", { x1: "7", y1: "2", x2: "7", y2: "22" }),
|
|
598
|
+
/* @__PURE__ */ e.jsx("line", { x1: "17", y1: "2", x2: "17", y2: "22" }),
|
|
599
|
+
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
|
|
600
|
+
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "7", x2: "7", y2: "7" }),
|
|
601
|
+
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "17", x2: "7", y2: "17" }),
|
|
602
|
+
/* @__PURE__ */ e.jsx("line", { x1: "17", y1: "17", x2: "22", y2: "17" }),
|
|
603
|
+
/* @__PURE__ */ e.jsx("line", { x1: "17", y1: "7", x2: "22", y2: "7" })
|
|
604
|
+
] }),
|
|
605
|
+
monitor: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
606
|
+
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2", ry: "2" }),
|
|
607
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
|
|
608
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
|
|
609
|
+
] }),
|
|
610
|
+
music: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
611
|
+
/* @__PURE__ */ e.jsx("path", { d: "M9 18V5l12-2v13" }),
|
|
612
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "6", cy: "18", r: "3" }),
|
|
613
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "18", cy: "16", r: "3" })
|
|
614
|
+
] }),
|
|
602
615
|
truck: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
603
616
|
/* @__PURE__ */ e.jsx("rect", { x: "1", y: "3", width: "15", height: "13" }),
|
|
604
617
|
/* @__PURE__ */ e.jsx("polygon", { points: "16 8 20 8 23 11 23 16 16 16 16 8" }),
|
|
@@ -654,12 +667,44 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
654
667
|
/* @__PURE__ */ e.jsx("line", { x1: "23", y1: "9", x2: "17", y2: "15" }),
|
|
655
668
|
/* @__PURE__ */ e.jsx("line", { x1: "17", y1: "9", x2: "23", y2: "15" })
|
|
656
669
|
] }),
|
|
670
|
+
mic: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
671
|
+
/* @__PURE__ */ e.jsx("path", { d: "M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" }),
|
|
672
|
+
/* @__PURE__ */ e.jsx("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
|
|
673
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
|
|
674
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
|
|
675
|
+
] }),
|
|
676
|
+
"mic-off": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
677
|
+
/* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" }),
|
|
678
|
+
/* @__PURE__ */ e.jsx("path", { d: "M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6" }),
|
|
679
|
+
/* @__PURE__ */ e.jsx("path", { d: "M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23" }),
|
|
680
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "19", x2: "12", y2: "23" }),
|
|
681
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "23", x2: "16", y2: "23" })
|
|
682
|
+
] }),
|
|
683
|
+
"arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
684
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
685
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
|
|
686
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
|
|
687
|
+
] }),
|
|
688
|
+
"arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
689
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
690
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
|
|
691
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
692
|
+
] }),
|
|
693
|
+
"arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
694
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
695
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
|
|
696
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
|
|
697
|
+
] }),
|
|
698
|
+
"arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
699
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
700
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
|
|
701
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
|
|
702
|
+
] }),
|
|
657
703
|
alert: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
658
704
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
659
705
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
660
706
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
661
707
|
] }),
|
|
662
|
-
"simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
|
|
663
708
|
check: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
664
709
|
/* @__PURE__ */ e.jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
665
710
|
/* @__PURE__ */ e.jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
|
|
@@ -679,6 +724,71 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
679
724
|
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
|
|
680
725
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
|
|
681
726
|
] }),
|
|
727
|
+
plus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
728
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
729
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
|
|
730
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
731
|
+
] }),
|
|
732
|
+
minus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
733
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
734
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
735
|
+
] }),
|
|
736
|
+
divide: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
737
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" }),
|
|
738
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "16" }),
|
|
739
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "8" }),
|
|
740
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" })
|
|
741
|
+
] }),
|
|
742
|
+
disc: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
743
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
744
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
745
|
+
] }),
|
|
746
|
+
target: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
747
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
748
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "6" }),
|
|
749
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "2" })
|
|
750
|
+
] }),
|
|
751
|
+
clock: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
752
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
753
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
|
|
754
|
+
] }),
|
|
755
|
+
compass: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
756
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
757
|
+
/* @__PURE__ */ e.jsx("polygon", { points: "16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76" })
|
|
758
|
+
] }),
|
|
759
|
+
globe: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
760
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
761
|
+
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
|
|
762
|
+
/* @__PURE__ */ e.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
|
|
763
|
+
] }),
|
|
764
|
+
dribble: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
765
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
766
|
+
/* @__PURE__ */ e.jsx(
|
|
767
|
+
"path",
|
|
768
|
+
{
|
|
769
|
+
d: "M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"
|
|
770
|
+
}
|
|
771
|
+
)
|
|
772
|
+
] }),
|
|
773
|
+
smile: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
774
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
775
|
+
/* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
776
|
+
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
777
|
+
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
778
|
+
] }),
|
|
779
|
+
frown: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
780
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
781
|
+
/* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
|
|
782
|
+
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
783
|
+
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
784
|
+
] }),
|
|
785
|
+
meh: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
786
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
787
|
+
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
|
|
788
|
+
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
789
|
+
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
790
|
+
] }),
|
|
791
|
+
"simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
|
|
682
792
|
code: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
683
793
|
/* @__PURE__ */ e.jsx("polyline", { points: "16 18 22 12 16 6" }),
|
|
684
794
|
/* @__PURE__ */ e.jsx("polyline", { points: "8 6 2 12 8 18" })
|
|
@@ -736,15 +846,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
736
846
|
/* @__PURE__ */ e.jsx("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
|
|
737
847
|
/* @__PURE__ */ e.jsx("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
|
|
738
848
|
] }),
|
|
739
|
-
plus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
740
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
741
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
|
|
742
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
743
|
-
] }),
|
|
744
|
-
minus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
745
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
746
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
747
|
-
] }),
|
|
748
849
|
"external-link": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
749
850
|
/* @__PURE__ */ e.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
750
851
|
/* @__PURE__ */ e.jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
@@ -789,18 +890,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
789
890
|
/* @__PURE__ */ e.jsx("line", { x1: "14.47", y1: "14.48", x2: "20", y2: "20" }),
|
|
790
891
|
/* @__PURE__ */ e.jsx("line", { x1: "8.12", y1: "8.12", x2: "12", y2: "12" })
|
|
791
892
|
] }),
|
|
792
|
-
|
|
793
|
-
/* @__PURE__ */ e.jsx("
|
|
794
|
-
/* @__PURE__ */ e.jsx("line", { x1: "
|
|
893
|
+
table: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
894
|
+
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
895
|
+
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
|
|
896
|
+
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "15", x2: "21", y2: "15" }),
|
|
897
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
|
|
898
|
+
] }),
|
|
899
|
+
layout: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
900
|
+
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
901
|
+
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "9", x2: "21", y2: "9" }),
|
|
902
|
+
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "21", x2: "9", y2: "9" })
|
|
795
903
|
] }),
|
|
796
904
|
sidebar: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
797
905
|
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
798
906
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "3", x2: "9", y2: "21" })
|
|
799
907
|
] }),
|
|
908
|
+
"split-view": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
909
|
+
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
910
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
|
|
911
|
+
] }),
|
|
912
|
+
hash: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
913
|
+
/* @__PURE__ */ e.jsx("line", { x1: "4", y1: "9", x2: "20", y2: "9" }),
|
|
914
|
+
/* @__PURE__ */ e.jsx("line", { x1: "4", y1: "15", x2: "20", y2: "15" }),
|
|
915
|
+
/* @__PURE__ */ e.jsx("line", { x1: "10", y1: "3", x2: "8", y2: "21" }),
|
|
916
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "3", x2: "14", y2: "21" })
|
|
917
|
+
] }),
|
|
800
918
|
dollar: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
801
919
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "1", x2: "12", y2: "23" }),
|
|
802
920
|
/* @__PURE__ */ e.jsx("path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" })
|
|
803
921
|
] }),
|
|
922
|
+
"credit-card": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
923
|
+
/* @__PURE__ */ e.jsx("rect", { x: "1", y: "4", width: "22", height: "16", rx: "2", ry: "2" }),
|
|
924
|
+
/* @__PURE__ */ e.jsx("line", { x1: "1", y1: "10", x2: "23", y2: "10" })
|
|
925
|
+
] }),
|
|
804
926
|
box: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
805
927
|
/* @__PURE__ */ e.jsx(
|
|
806
928
|
"path",
|
|
@@ -970,6 +1092,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
970
1092
|
/* @__PURE__ */ e.jsx("circle", { cx: "6.5", cy: "16.5", r: "2.5" }),
|
|
971
1093
|
/* @__PURE__ */ e.jsx("circle", { cx: "16.5", cy: "16.5", r: "2.5" })
|
|
972
1094
|
] }),
|
|
1095
|
+
anchor: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1096
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
|
|
1097
|
+
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
|
|
1098
|
+
/* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
|
|
1099
|
+
] }),
|
|
1100
|
+
book: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1101
|
+
/* @__PURE__ */ e.jsx("path", { d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" }),
|
|
1102
|
+
/* @__PURE__ */ e.jsx("path", { d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" })
|
|
1103
|
+
] }),
|
|
1104
|
+
briefcase: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1105
|
+
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "14", rx: "2", ry: "2" }),
|
|
1106
|
+
/* @__PURE__ */ e.jsx("path", { d: "M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16" })
|
|
1107
|
+
] }),
|
|
973
1108
|
more: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
974
1109
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
975
1110
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "1" }),
|
|
@@ -1004,6 +1139,10 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1004
1139
|
/* @__PURE__ */ e.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
1005
1140
|
/* @__PURE__ */ e.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
1006
1141
|
] }),
|
|
1142
|
+
crop: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1143
|
+
/* @__PURE__ */ e.jsx("path", { d: "M6.13 1L6 16a2 2 0 0 0 2 2h15" }),
|
|
1144
|
+
/* @__PURE__ */ e.jsx("path", { d: "M1 6.13L16 6a2 2 0 0 1 2 2v15" })
|
|
1145
|
+
] }),
|
|
1007
1146
|
clipboard: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1008
1147
|
/* @__PURE__ */ e.jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
|
|
1009
1148
|
/* @__PURE__ */ e.jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
|
|
@@ -1024,10 +1163,21 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1024
1163
|
/* @__PURE__ */ e.jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
|
|
1025
1164
|
/* @__PURE__ */ e.jsx("polyline", { points: "22,6 12,13 2,6" })
|
|
1026
1165
|
] }),
|
|
1166
|
+
message: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
|
|
1167
|
+
"path",
|
|
1168
|
+
{
|
|
1169
|
+
d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
|
|
1170
|
+
}
|
|
1171
|
+
) }),
|
|
1027
1172
|
phone: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1028
1173
|
/* @__PURE__ */ e.jsx("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", ry: "2" }),
|
|
1029
1174
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
|
|
1030
1175
|
] }),
|
|
1176
|
+
voicemail: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1177
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "5.5", cy: "11.5", r: "4.5" }),
|
|
1178
|
+
/* @__PURE__ */ e.jsx("circle", { cx: "18.5", cy: "11.5", r: "4.5" }),
|
|
1179
|
+
/* @__PURE__ */ e.jsx("line", { x1: "5.5", y1: "16", x2: "18.5", y2: "16" })
|
|
1180
|
+
] }),
|
|
1031
1181
|
inbox: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1032
1182
|
/* @__PURE__ */ e.jsx("polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }),
|
|
1033
1183
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1134,24 +1284,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1134
1284
|
/* @__PURE__ */ e.jsx("rect", { x: "1", y: "5", width: "22", height: "14", rx: "7", ry: "7" }),
|
|
1135
1285
|
/* @__PURE__ */ e.jsx("circle", { cx: "16", cy: "12", r: "3", color: "green" })
|
|
1136
1286
|
] }),
|
|
1137
|
-
smile: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1138
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1139
|
-
/* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
1140
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1141
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1142
|
-
] }),
|
|
1143
|
-
frown: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1144
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1145
|
-
/* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
|
|
1146
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1147
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1148
|
-
] }),
|
|
1149
|
-
meh: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1150
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1151
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
|
|
1152
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1153
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1154
|
-
] }),
|
|
1155
1287
|
at: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1156
1288
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "4" }),
|
|
1157
1289
|
/* @__PURE__ */ e.jsx("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94" })
|
|
@@ -1174,6 +1306,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1174
1306
|
/* @__PURE__ */ e.jsx("path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83" }),
|
|
1175
1307
|
/* @__PURE__ */ e.jsx("path", { d: "M22 12A10 10 0 0 0 12 2v10z" })
|
|
1176
1308
|
] }),
|
|
1309
|
+
"trending-up": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1310
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1311
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1312
|
+
] }),
|
|
1313
|
+
"trending-down": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1314
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 18 13.5 8.5 8.5 13.5 1 6" }),
|
|
1315
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 18 23 18 23 12" })
|
|
1316
|
+
] }),
|
|
1177
1317
|
gift: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1178
1318
|
/* @__PURE__ */ e.jsx("polyline", { points: "20 12 20 22 4 22 4 12" }),
|
|
1179
1319
|
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "5" }),
|
|
@@ -1196,39 +1336,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1196
1336
|
/* @__PURE__ */ e.jsx("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" }),
|
|
1197
1337
|
/* @__PURE__ */ e.jsx("text", { x: "6", y: "14", fontSize: "6", fontFamily: "'Lucida Grande', sans-serif", children: "360" })
|
|
1198
1338
|
] })
|
|
1199
|
-
}, w = ({ color: n, name: l, size: r = "small", weight:
|
|
1200
|
-
const
|
|
1339
|
+
}, w = ({ color: n, name: l, size: r = "small", weight: c = 2, onClick: t, iconString: i, orientation: o, children: a }) => {
|
|
1340
|
+
const d = `muncher-icon--${r}`, y = l ? Q[l] : i && i in Q ? Q[i] : (process.env.NODE_ENV === "development" && console.warn("Unknown icon:", i), Q.muncher);
|
|
1201
1341
|
return /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon", children: [
|
|
1202
1342
|
a && o && o === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a }) : "",
|
|
1203
1343
|
/* @__PURE__ */ e.jsx(
|
|
1204
1344
|
"svg",
|
|
1205
1345
|
{
|
|
1206
|
-
className:
|
|
1346
|
+
className: d,
|
|
1207
1347
|
stroke: n || "currentColor",
|
|
1208
1348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1209
1349
|
viewBox: "0 0 24 24",
|
|
1210
1350
|
fill: "none",
|
|
1211
|
-
strokeWidth:
|
|
1351
|
+
strokeWidth: c || 2,
|
|
1212
1352
|
strokeLinecap: "round",
|
|
1213
1353
|
strokeLinejoin: "round",
|
|
1214
|
-
onClick:
|
|
1215
|
-
children:
|
|
1354
|
+
onClick: t,
|
|
1355
|
+
children: y
|
|
1216
1356
|
}
|
|
1217
1357
|
),
|
|
1218
|
-
a &&
|
|
1358
|
+
a && o === "right" && /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a })
|
|
1219
1359
|
] });
|
|
1220
|
-
},
|
|
1360
|
+
}, A1 = ({
|
|
1221
1361
|
variant: n = "primary",
|
|
1222
1362
|
icon: l = "bell",
|
|
1223
1363
|
text: r,
|
|
1224
|
-
onClick:
|
|
1225
|
-
...
|
|
1364
|
+
onClick: c,
|
|
1365
|
+
...t
|
|
1226
1366
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1227
1367
|
"div",
|
|
1228
1368
|
{
|
|
1229
1369
|
className: "muncher-icon-badge",
|
|
1230
|
-
onClick:
|
|
1231
|
-
...
|
|
1370
|
+
onClick: c,
|
|
1371
|
+
...t,
|
|
1232
1372
|
children: [
|
|
1233
1373
|
/* @__PURE__ */ e.jsx(w, { name: l }),
|
|
1234
1374
|
r === "" ? "" : /* @__PURE__ */ e.jsx(f1, { variant: n, children: r })
|
|
@@ -1238,78 +1378,78 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1238
1378
|
type: n = "button",
|
|
1239
1379
|
variant: l,
|
|
1240
1380
|
size: r = "medium",
|
|
1241
|
-
title:
|
|
1242
|
-
active:
|
|
1243
|
-
disabled:
|
|
1381
|
+
title: c,
|
|
1382
|
+
active: t,
|
|
1383
|
+
disabled: i,
|
|
1244
1384
|
rounded: o,
|
|
1245
1385
|
onClick: a,
|
|
1246
|
-
onMouseDown:
|
|
1386
|
+
onMouseDown: d,
|
|
1247
1387
|
onMouseEnter: y,
|
|
1248
|
-
onMouseLeave:
|
|
1249
|
-
children:
|
|
1250
|
-
...
|
|
1388
|
+
onMouseLeave: h,
|
|
1389
|
+
children: j,
|
|
1390
|
+
...u
|
|
1251
1391
|
}) => {
|
|
1252
|
-
const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (
|
|
1392
|
+
const v = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (l ? " muncher-button--" + l : "") + (r ? " muncher-button--" + r : "") + (t ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
|
|
1253
1393
|
return /* @__PURE__ */ e.jsx(
|
|
1254
1394
|
"button",
|
|
1255
1395
|
{
|
|
1256
1396
|
type: n && n !== "nav" ? n : "button",
|
|
1257
1397
|
className: v,
|
|
1258
|
-
disabled: !!
|
|
1259
|
-
title:
|
|
1398
|
+
disabled: !!i,
|
|
1399
|
+
title: c,
|
|
1260
1400
|
onClick: a,
|
|
1261
|
-
onMouseDown:
|
|
1401
|
+
onMouseDown: d,
|
|
1262
1402
|
onMouseEnter: y,
|
|
1263
|
-
onMouseLeave:
|
|
1264
|
-
...
|
|
1265
|
-
children:
|
|
1403
|
+
onMouseLeave: h,
|
|
1404
|
+
...u,
|
|
1405
|
+
children: j
|
|
1266
1406
|
}
|
|
1267
1407
|
);
|
|
1268
1408
|
}, v1 = ({
|
|
1269
1409
|
variant: n,
|
|
1270
1410
|
size: l = "medium",
|
|
1271
1411
|
title: r,
|
|
1272
|
-
active:
|
|
1273
|
-
disabled:
|
|
1274
|
-
element:
|
|
1412
|
+
active: c,
|
|
1413
|
+
disabled: t,
|
|
1414
|
+
element: i,
|
|
1275
1415
|
onMouseDown: o,
|
|
1276
1416
|
rounded: a,
|
|
1277
|
-
drop:
|
|
1417
|
+
drop: d,
|
|
1278
1418
|
onClick: y,
|
|
1279
|
-
onClose:
|
|
1280
|
-
showContent:
|
|
1281
|
-
setShowContent:
|
|
1419
|
+
onClose: h,
|
|
1420
|
+
showContent: j,
|
|
1421
|
+
setShowContent: u,
|
|
1282
1422
|
withDropIcon: v,
|
|
1283
1423
|
children: N,
|
|
1284
1424
|
...g
|
|
1285
1425
|
}) => {
|
|
1286
|
-
const _ =
|
|
1287
|
-
|
|
1288
|
-
}, E =
|
|
1289
|
-
|
|
1290
|
-
}, [
|
|
1291
|
-
|
|
1426
|
+
const _ = h1(null), f = (M) => {
|
|
1427
|
+
M.preventDefault(), y && y(M), u && u(!0);
|
|
1428
|
+
}, E = q(() => {
|
|
1429
|
+
u(!1), h && h();
|
|
1430
|
+
}, [h, u]), C = q((M) => {
|
|
1431
|
+
M.keyCode === 27 && E();
|
|
1292
1432
|
}, [E]);
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
_ && _.current &&
|
|
1433
|
+
Z(() => {
|
|
1434
|
+
const M = (S) => {
|
|
1435
|
+
_ && _.current && S.target instanceof HTMLElement && !_.current.contains(S.target) && E();
|
|
1296
1436
|
};
|
|
1297
|
-
return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown",
|
|
1437
|
+
return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", M), () => {
|
|
1298
1438
|
document.removeEventListener("keydown", C, !1);
|
|
1299
1439
|
};
|
|
1300
1440
|
}, [C, E]);
|
|
1301
|
-
const
|
|
1441
|
+
const z = () => {
|
|
1302
1442
|
var P;
|
|
1303
|
-
const
|
|
1304
|
-
if (
|
|
1305
|
-
if (
|
|
1306
|
-
if (
|
|
1307
|
-
if (
|
|
1308
|
-
const m = Math.round((
|
|
1443
|
+
const M = (P = _.current) == null ? void 0 : P.offsetLeft, S = window.innerWidth;
|
|
1444
|
+
if (M) {
|
|
1445
|
+
if (M < 100) return "muncher-dropdown--content";
|
|
1446
|
+
if (S - M < 150) return "muncher-dropdown--content drop-left";
|
|
1447
|
+
if (S - M < 250) {
|
|
1448
|
+
const m = Math.round((S - M) / S * 100);
|
|
1309
1449
|
if (m > 40 || m < 60) return "muncher-dropdown--content drop-middle";
|
|
1310
1450
|
}
|
|
1311
1451
|
}
|
|
1312
|
-
switch (
|
|
1452
|
+
switch (d) {
|
|
1313
1453
|
case "left":
|
|
1314
1454
|
return "muncher-dropdown--content drop-left";
|
|
1315
1455
|
case "middle":
|
|
@@ -1324,14 +1464,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1324
1464
|
{
|
|
1325
1465
|
onMouseDown: f,
|
|
1326
1466
|
title: r,
|
|
1327
|
-
disabled:
|
|
1467
|
+
disabled: t,
|
|
1328
1468
|
rounded: a,
|
|
1329
|
-
active:
|
|
1469
|
+
active: c,
|
|
1330
1470
|
variant: n,
|
|
1331
1471
|
size: l,
|
|
1332
1472
|
...g,
|
|
1333
1473
|
children: [
|
|
1334
|
-
|
|
1474
|
+
i,
|
|
1335
1475
|
v ? /* @__PURE__ */ e.jsx(
|
|
1336
1476
|
"span",
|
|
1337
1477
|
{
|
|
@@ -1342,41 +1482,41 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1342
1482
|
]
|
|
1343
1483
|
}
|
|
1344
1484
|
),
|
|
1345
|
-
|
|
1485
|
+
j ? /* @__PURE__ */ e.jsx("div", { className: z(), children: N }) : ""
|
|
1346
1486
|
] });
|
|
1347
1487
|
}, R1 = ({
|
|
1348
1488
|
title: n,
|
|
1349
1489
|
active: l,
|
|
1350
1490
|
disabled: r,
|
|
1351
|
-
element:
|
|
1352
|
-
rounded:
|
|
1353
|
-
dropLeft:
|
|
1491
|
+
element: c,
|
|
1492
|
+
rounded: t,
|
|
1493
|
+
dropLeft: i,
|
|
1354
1494
|
children: o,
|
|
1355
1495
|
...a
|
|
1356
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${
|
|
1496
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${i ? "drop-left" : ""}`, children: [
|
|
1357
1497
|
/* @__PURE__ */ e.jsx(
|
|
1358
1498
|
V,
|
|
1359
1499
|
{
|
|
1360
1500
|
type: "nav",
|
|
1361
1501
|
title: n,
|
|
1362
1502
|
disabled: r,
|
|
1363
|
-
rounded:
|
|
1503
|
+
rounded: t,
|
|
1364
1504
|
active: l,
|
|
1365
1505
|
...a,
|
|
1366
|
-
children:
|
|
1506
|
+
children: c
|
|
1367
1507
|
}
|
|
1368
1508
|
),
|
|
1369
1509
|
/* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
|
|
1370
1510
|
] }), g1 = (n) => {
|
|
1371
1511
|
navigator.clipboard.writeText(n);
|
|
1372
|
-
},
|
|
1512
|
+
}, M1 = ({
|
|
1373
1513
|
text: n,
|
|
1374
1514
|
variant: l = "secondary",
|
|
1375
1515
|
size: r = "small"
|
|
1376
1516
|
}) => {
|
|
1377
|
-
const [
|
|
1378
|
-
g1(n),
|
|
1379
|
-
|
|
1517
|
+
const [c, t] = H(), [i, o] = H("copy"), [a, d] = H("copy link"), y = () => {
|
|
1518
|
+
g1(n), t("green"), o("check"), d("copied!"), setTimeout(function() {
|
|
1519
|
+
t(""), o("copy");
|
|
1380
1520
|
}, 2e3);
|
|
1381
1521
|
};
|
|
1382
1522
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -1386,7 +1526,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1386
1526
|
variant: l,
|
|
1387
1527
|
title: a,
|
|
1388
1528
|
onClick: y,
|
|
1389
|
-
children: /* @__PURE__ */ e.jsx(w, { name:
|
|
1529
|
+
children: /* @__PURE__ */ e.jsx(w, { name: i, color: c })
|
|
1390
1530
|
}
|
|
1391
1531
|
);
|
|
1392
1532
|
}, T1 = ({
|
|
@@ -1394,13 +1534,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1394
1534
|
size: l = "medium",
|
|
1395
1535
|
title: r
|
|
1396
1536
|
}) => {
|
|
1397
|
-
const [
|
|
1537
|
+
const [c, t] = H(!1);
|
|
1398
1538
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-share", children: /* @__PURE__ */ e.jsxs(
|
|
1399
1539
|
v1,
|
|
1400
1540
|
{
|
|
1401
1541
|
title: "Share to Social Media",
|
|
1402
|
-
showContent:
|
|
1403
|
-
setShowContent:
|
|
1542
|
+
showContent: c,
|
|
1543
|
+
setShowContent: t,
|
|
1404
1544
|
variant: n,
|
|
1405
1545
|
size: l,
|
|
1406
1546
|
element: /* @__PURE__ */ e.jsx(w, { name: "share", orientation: "right", children: "Share" }),
|
|
@@ -1432,43 +1572,43 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1432
1572
|
children: /* @__PURE__ */ e.jsx(w, { name: "mail" })
|
|
1433
1573
|
}
|
|
1434
1574
|
) }),
|
|
1435
|
-
/* @__PURE__ */ e.jsx(
|
|
1575
|
+
/* @__PURE__ */ e.jsx(M1, { text: window.location.href })
|
|
1436
1576
|
]
|
|
1437
1577
|
}
|
|
1438
1578
|
) });
|
|
1439
|
-
},
|
|
1579
|
+
}, b1 = ({
|
|
1440
1580
|
header: n,
|
|
1441
1581
|
data: l,
|
|
1442
1582
|
filename: r,
|
|
1443
|
-
variant:
|
|
1444
|
-
size:
|
|
1445
|
-
title:
|
|
1583
|
+
variant: c,
|
|
1584
|
+
size: t,
|
|
1585
|
+
title: i,
|
|
1446
1586
|
active: o,
|
|
1447
1587
|
disabled: a,
|
|
1448
|
-
rounded:
|
|
1588
|
+
rounded: d
|
|
1449
1589
|
}) => {
|
|
1450
1590
|
const y = encodeURI("data:text/csv;charset=utf-8," + n.join(",") + `
|
|
1451
|
-
` + l.map((
|
|
1591
|
+
` + l.map((h) => h.join(",")).join(`
|
|
1452
1592
|
`));
|
|
1453
|
-
return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant:
|
|
1593
|
+
return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(V, { variant: c, size: t, active: o, disabled: a, rounded: d, children: /* @__PURE__ */ e.jsx("a", { href: y, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: i || "Download" }) }) }) });
|
|
1454
1594
|
}, w1 = ({
|
|
1455
1595
|
variant: n = "transparent",
|
|
1456
1596
|
size: l = "small",
|
|
1457
1597
|
title: r,
|
|
1458
|
-
sortAsc:
|
|
1459
|
-
active:
|
|
1460
|
-
rounded:
|
|
1598
|
+
sortAsc: c = "true",
|
|
1599
|
+
active: t,
|
|
1600
|
+
rounded: i,
|
|
1461
1601
|
onClick: o,
|
|
1462
1602
|
children: a
|
|
1463
1603
|
}) => {
|
|
1464
|
-
const [
|
|
1604
|
+
const [d, y] = H(!1), h = () => !t || t && !d ? c ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : c ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
|
|
1465
1605
|
return /* @__PURE__ */ e.jsxs(
|
|
1466
1606
|
V,
|
|
1467
1607
|
{
|
|
1468
1608
|
variant: n,
|
|
1469
1609
|
size: l,
|
|
1470
1610
|
title: r,
|
|
1471
|
-
rounded:
|
|
1611
|
+
rounded: i,
|
|
1472
1612
|
onMouseEnter: () => {
|
|
1473
1613
|
y(!0);
|
|
1474
1614
|
},
|
|
@@ -1478,7 +1618,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1478
1618
|
onClick: o,
|
|
1479
1619
|
children: [
|
|
1480
1620
|
a,
|
|
1481
|
-
|
|
1621
|
+
t || d ? /* @__PURE__ */ e.jsx(h, {}) : ""
|
|
1482
1622
|
]
|
|
1483
1623
|
}
|
|
1484
1624
|
);
|
|
@@ -1486,13 +1626,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1486
1626
|
direction: n,
|
|
1487
1627
|
size: l = "small",
|
|
1488
1628
|
weight: r,
|
|
1489
|
-
isDisabled:
|
|
1490
|
-
variant:
|
|
1491
|
-
navIcon:
|
|
1629
|
+
isDisabled: c,
|
|
1630
|
+
variant: t = "primary",
|
|
1631
|
+
navIcon: i = "chevron",
|
|
1492
1632
|
onClick: o
|
|
1493
1633
|
}) => {
|
|
1494
1634
|
const a = () => {
|
|
1495
|
-
switch (
|
|
1635
|
+
switch (i) {
|
|
1496
1636
|
case "arrow":
|
|
1497
1637
|
return n === "left" ? "arrow-left" : "arrow-right";
|
|
1498
1638
|
case "skip":
|
|
@@ -1511,27 +1651,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1511
1651
|
V,
|
|
1512
1652
|
{
|
|
1513
1653
|
onClick: o,
|
|
1514
|
-
disabled:
|
|
1654
|
+
disabled: c,
|
|
1515
1655
|
size: "small",
|
|
1516
|
-
variant:
|
|
1656
|
+
variant: t,
|
|
1517
1657
|
title: n === "left" ? "Navigate Left" : "Navigate Right",
|
|
1518
1658
|
children: /* @__PURE__ */ e.jsx(w, { name: a(), size: l, weight: r })
|
|
1519
1659
|
}
|
|
1520
1660
|
)
|
|
1521
1661
|
}
|
|
1522
1662
|
);
|
|
1523
|
-
},
|
|
1663
|
+
}, G = ({ label: n, onClick: l, id: r, required: c = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
|
|
1524
1664
|
n,
|
|
1525
|
-
|
|
1665
|
+
c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
|
|
1526
1666
|
] }), _1 = ({
|
|
1527
1667
|
name: n,
|
|
1528
1668
|
required: l = !1,
|
|
1529
1669
|
onChange: r,
|
|
1530
|
-
checked:
|
|
1531
|
-
label:
|
|
1532
|
-
...
|
|
1670
|
+
checked: c = !1,
|
|
1671
|
+
label: t,
|
|
1672
|
+
...i
|
|
1533
1673
|
}) => {
|
|
1534
|
-
const [o, a] =
|
|
1674
|
+
const [o, a] = H(c || !1);
|
|
1535
1675
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-checkbox", children: [
|
|
1536
1676
|
/* @__PURE__ */ e.jsx(
|
|
1537
1677
|
"input",
|
|
@@ -1539,27 +1679,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1539
1679
|
type: "checkbox",
|
|
1540
1680
|
id: n,
|
|
1541
1681
|
name: n,
|
|
1542
|
-
onChange: (
|
|
1543
|
-
a(
|
|
1682
|
+
onChange: (d) => {
|
|
1683
|
+
a(d.target.checked), r && r();
|
|
1544
1684
|
},
|
|
1545
1685
|
checked: o,
|
|
1546
1686
|
required: l,
|
|
1547
|
-
...
|
|
1687
|
+
...i
|
|
1548
1688
|
}
|
|
1549
1689
|
),
|
|
1550
|
-
|
|
1551
|
-
|
|
1690
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
1691
|
+
G,
|
|
1552
1692
|
{
|
|
1553
|
-
label:
|
|
1693
|
+
label: t,
|
|
1554
1694
|
required: l,
|
|
1555
1695
|
id: n,
|
|
1556
|
-
onClick: (
|
|
1557
|
-
|
|
1696
|
+
onClick: (d) => {
|
|
1697
|
+
d.preventDefault(), a(!o), r && r();
|
|
1558
1698
|
}
|
|
1559
1699
|
}
|
|
1560
1700
|
) : ""
|
|
1561
1701
|
] }) });
|
|
1562
|
-
},
|
|
1702
|
+
}, j1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
|
|
1563
1703
|
"div",
|
|
1564
1704
|
{
|
|
1565
1705
|
className: n ? "muncher-spinner muncher-spinner-" + n : "muncher-spinner",
|
|
@@ -1569,25 +1709,25 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1569
1709
|
name: n,
|
|
1570
1710
|
label: l,
|
|
1571
1711
|
variant: r = "secondary",
|
|
1572
|
-
size:
|
|
1573
|
-
required:
|
|
1574
|
-
active:
|
|
1712
|
+
size: c = "medium",
|
|
1713
|
+
required: t,
|
|
1714
|
+
active: i,
|
|
1575
1715
|
isUploading: o,
|
|
1576
1716
|
handleOnChange: a,
|
|
1577
|
-
warningMessage:
|
|
1717
|
+
warningMessage: d,
|
|
1578
1718
|
successMessage: y,
|
|
1579
|
-
...
|
|
1719
|
+
...h
|
|
1580
1720
|
}) => {
|
|
1581
|
-
const
|
|
1721
|
+
const j = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), u = (v) => {
|
|
1582
1722
|
a && a(v.currentTarget.files[0]);
|
|
1583
1723
|
};
|
|
1584
1724
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-file-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
|
|
1585
|
-
/* @__PURE__ */ e.jsxs("label", { htmlFor: n, className:
|
|
1725
|
+
/* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: j, children: [
|
|
1586
1726
|
/* @__PURE__ */ e.jsx(w, { name: "upload" }),
|
|
1587
1727
|
" ",
|
|
1588
1728
|
l || "Upload CSV",
|
|
1589
|
-
|
|
1590
|
-
o ? /* @__PURE__ */ e.jsx(
|
|
1729
|
+
t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
|
|
1730
|
+
o ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
|
|
1591
1731
|
] }),
|
|
1592
1732
|
/* @__PURE__ */ e.jsx(
|
|
1593
1733
|
"input",
|
|
@@ -1595,34 +1735,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1595
1735
|
id: n,
|
|
1596
1736
|
type: "file",
|
|
1597
1737
|
className: "muncher-file-input",
|
|
1598
|
-
required:
|
|
1599
|
-
onChange:
|
|
1738
|
+
required: t,
|
|
1739
|
+
onChange: u,
|
|
1600
1740
|
accept: "text/csv",
|
|
1601
|
-
...
|
|
1741
|
+
...h
|
|
1602
1742
|
}
|
|
1603
1743
|
),
|
|
1604
|
-
|
|
1744
|
+
d && d !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: d }) : "",
|
|
1605
1745
|
y && y !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-success", children: y }) : ""
|
|
1606
1746
|
] }) });
|
|
1607
|
-
},
|
|
1747
|
+
}, H1 = ({
|
|
1608
1748
|
name: n,
|
|
1609
1749
|
label: l,
|
|
1610
1750
|
variant: r = "secondary",
|
|
1611
|
-
size:
|
|
1612
|
-
required:
|
|
1613
|
-
active:
|
|
1751
|
+
size: c = "large",
|
|
1752
|
+
required: t,
|
|
1753
|
+
active: i,
|
|
1614
1754
|
setFiles: o,
|
|
1615
1755
|
error: a,
|
|
1616
|
-
multiple:
|
|
1756
|
+
multiple: d = !1,
|
|
1617
1757
|
maxFiles: y,
|
|
1618
|
-
...
|
|
1758
|
+
...h
|
|
1619
1759
|
}) => {
|
|
1620
|
-
const [
|
|
1621
|
-
if (
|
|
1622
|
-
let
|
|
1623
|
-
|
|
1760
|
+
const [j, u] = H(""), [v, N] = H(""), g = y || 3, _ = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), f = (C) => {
|
|
1761
|
+
if (d) {
|
|
1762
|
+
let z = Array.from(C.currentTarget.files);
|
|
1763
|
+
z.length > g && (z = z.slice(0, g), N("Only first " + g + " files included")), o(z), u(z.map((M) => M.name).join(", "));
|
|
1624
1764
|
} else
|
|
1625
|
-
o(Array.from(C.currentTarget.files[0])),
|
|
1765
|
+
o(Array.from(C.currentTarget.files[0])), u(C.currentTarget.files[0].name);
|
|
1626
1766
|
}, E = () => a && a !== "";
|
|
1627
1767
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-file-input--div", children: [
|
|
1628
1768
|
/* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
|
|
@@ -1630,9 +1770,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1630
1770
|
/* @__PURE__ */ e.jsx(w, { name: "image" }),
|
|
1631
1771
|
" ",
|
|
1632
1772
|
l,
|
|
1633
|
-
|
|
1773
|
+
t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
|
|
1634
1774
|
] }),
|
|
1635
|
-
/* @__PURE__ */ e.jsx("span", { className: "span-file-name", children:
|
|
1775
|
+
/* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: j }),
|
|
1636
1776
|
/* @__PURE__ */ e.jsx(
|
|
1637
1777
|
"input",
|
|
1638
1778
|
{
|
|
@@ -1641,9 +1781,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1641
1781
|
className: "muncher-file-input",
|
|
1642
1782
|
name: n,
|
|
1643
1783
|
onChange: f,
|
|
1644
|
-
multiple:
|
|
1784
|
+
multiple: d,
|
|
1645
1785
|
accept: "image/*",
|
|
1646
|
-
...
|
|
1786
|
+
...h
|
|
1647
1787
|
}
|
|
1648
1788
|
)
|
|
1649
1789
|
] }),
|
|
@@ -1654,16 +1794,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1654
1794
|
name: n,
|
|
1655
1795
|
label: l,
|
|
1656
1796
|
required: r,
|
|
1657
|
-
readOnly:
|
|
1658
|
-
icon:
|
|
1659
|
-
hoverIcon:
|
|
1797
|
+
readOnly: c,
|
|
1798
|
+
icon: t,
|
|
1799
|
+
hoverIcon: i,
|
|
1660
1800
|
onHoverIconClick: o,
|
|
1661
1801
|
type: a = "text",
|
|
1662
|
-
list:
|
|
1802
|
+
list: d,
|
|
1663
1803
|
onBlur: y,
|
|
1664
|
-
labelPosition:
|
|
1665
|
-
onKeyDown:
|
|
1666
|
-
error:
|
|
1804
|
+
labelPosition: h = "top",
|
|
1805
|
+
onKeyDown: j,
|
|
1806
|
+
error: u,
|
|
1667
1807
|
focus: v = !1,
|
|
1668
1808
|
placeholder: N,
|
|
1669
1809
|
onChange: g,
|
|
@@ -1671,22 +1811,22 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1671
1811
|
value: f,
|
|
1672
1812
|
maxLength: E,
|
|
1673
1813
|
onEnterPress: C,
|
|
1674
|
-
displayLoader:
|
|
1675
|
-
...
|
|
1814
|
+
displayLoader: z,
|
|
1815
|
+
...M
|
|
1676
1816
|
}) => {
|
|
1677
|
-
const
|
|
1678
|
-
let
|
|
1679
|
-
return (
|
|
1680
|
-
}, m = () => l ? /* @__PURE__ */ e.jsx(
|
|
1681
|
-
|
|
1817
|
+
const S = () => u && u !== "", P = () => {
|
|
1818
|
+
let A = "muncher-input";
|
|
1819
|
+
return (t || i) && (A += " muncher-input-icon"), S() && (A += " muncher-input-error"), h === "side" && (A += " muncher-label-side"), A;
|
|
1820
|
+
}, m = () => l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "", k = (A) => {
|
|
1821
|
+
A.key === "Enter" && C && C(), j && j(A);
|
|
1682
1822
|
};
|
|
1683
1823
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1684
|
-
|
|
1824
|
+
h !== "side" ? m() : "",
|
|
1685
1825
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-input-element", children: [
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
/* @__PURE__ */ e.jsx(w, { name:
|
|
1826
|
+
h === "side" ? m() : "",
|
|
1827
|
+
t ? /* @__PURE__ */ e.jsx(w, { name: t }) : "",
|
|
1828
|
+
i ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
|
|
1829
|
+
/* @__PURE__ */ e.jsx(w, { name: i, onClick: o }),
|
|
1690
1830
|
" "
|
|
1691
1831
|
] }) : "",
|
|
1692
1832
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-input-wrapper", children: [
|
|
@@ -1703,35 +1843,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1703
1843
|
placeholder: N,
|
|
1704
1844
|
onChange: g,
|
|
1705
1845
|
required: r,
|
|
1706
|
-
readOnly:
|
|
1707
|
-
list:
|
|
1846
|
+
readOnly: c,
|
|
1847
|
+
list: d,
|
|
1708
1848
|
onKeyDown: k,
|
|
1709
1849
|
onBlur: y,
|
|
1710
1850
|
step: _,
|
|
1711
1851
|
maxLength: E,
|
|
1712
|
-
...
|
|
1852
|
+
...M
|
|
1713
1853
|
}
|
|
1714
1854
|
),
|
|
1715
|
-
|
|
1855
|
+
z ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
|
|
1716
1856
|
] })
|
|
1717
1857
|
] }),
|
|
1718
|
-
|
|
1858
|
+
S() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: u }) }) : ""
|
|
1719
1859
|
] });
|
|
1720
|
-
},
|
|
1860
|
+
}, S1 = ({ name: n, required: l = !1, onChange: r, checked: c = !1, label: t, ...i }) => /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-radio", children: [
|
|
1721
1861
|
/* @__PURE__ */ e.jsx(
|
|
1722
1862
|
"input",
|
|
1723
1863
|
{
|
|
1724
1864
|
type: "radio",
|
|
1725
1865
|
name: n,
|
|
1726
1866
|
onChange: r,
|
|
1727
|
-
checked:
|
|
1728
|
-
...
|
|
1867
|
+
checked: c,
|
|
1868
|
+
...i
|
|
1729
1869
|
}
|
|
1730
1870
|
),
|
|
1731
|
-
|
|
1732
|
-
|
|
1871
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
1872
|
+
G,
|
|
1733
1873
|
{
|
|
1734
|
-
label:
|
|
1874
|
+
label: t,
|
|
1735
1875
|
required: l,
|
|
1736
1876
|
onClick: () => {
|
|
1737
1877
|
r && r();
|
|
@@ -1742,77 +1882,77 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1742
1882
|
name: n,
|
|
1743
1883
|
options: l,
|
|
1744
1884
|
label: r,
|
|
1745
|
-
required:
|
|
1746
|
-
multiple:
|
|
1747
|
-
error:
|
|
1885
|
+
required: c,
|
|
1886
|
+
multiple: t,
|
|
1887
|
+
error: i,
|
|
1748
1888
|
onChange: o,
|
|
1749
1889
|
value: a,
|
|
1750
|
-
...
|
|
1890
|
+
...d
|
|
1751
1891
|
}) => {
|
|
1752
|
-
const y = () =>
|
|
1753
|
-
let
|
|
1754
|
-
return y() && (
|
|
1892
|
+
const y = () => i && i !== "", h = () => {
|
|
1893
|
+
let j = "muncher-input";
|
|
1894
|
+
return y() && (j += " muncher-input-error"), j;
|
|
1755
1895
|
};
|
|
1756
1896
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1757
|
-
r ? /* @__PURE__ */ e.jsx(
|
|
1897
|
+
r ? /* @__PURE__ */ e.jsx(G, { label: r, required: c, id: n }) : "",
|
|
1758
1898
|
/* @__PURE__ */ e.jsx("div", { className: "muncher-input-element", children: /* @__PURE__ */ e.jsxs(
|
|
1759
1899
|
"select",
|
|
1760
1900
|
{
|
|
1761
1901
|
id: n,
|
|
1762
|
-
className:
|
|
1902
|
+
className: h(),
|
|
1763
1903
|
name: n,
|
|
1764
1904
|
value: a,
|
|
1765
1905
|
onChange: o,
|
|
1766
|
-
required:
|
|
1767
|
-
multiple:
|
|
1768
|
-
...
|
|
1906
|
+
required: c,
|
|
1907
|
+
multiple: t,
|
|
1908
|
+
...d,
|
|
1769
1909
|
children: [
|
|
1770
|
-
|
|
1910
|
+
c ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
|
|
1771
1911
|
l.map(
|
|
1772
|
-
(
|
|
1912
|
+
(j, u) => /* @__PURE__ */ e.jsx("option", { value: j.value, children: j.label }, `select-option-${u}`)
|
|
1773
1913
|
)
|
|
1774
1914
|
]
|
|
1775
1915
|
}
|
|
1776
1916
|
) }),
|
|
1777
|
-
y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children:
|
|
1917
|
+
y() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: i }) }) : ""
|
|
1778
1918
|
] });
|
|
1779
1919
|
}, V1 = ({
|
|
1780
1920
|
name: n,
|
|
1781
1921
|
label: l,
|
|
1782
1922
|
required: r,
|
|
1783
|
-
readOnly:
|
|
1784
|
-
rows:
|
|
1785
|
-
maxLength:
|
|
1923
|
+
readOnly: c = !1,
|
|
1924
|
+
rows: t = 6,
|
|
1925
|
+
maxLength: i = 1e3,
|
|
1786
1926
|
focus: o = !1,
|
|
1787
1927
|
placeholder: a,
|
|
1788
|
-
onChange:
|
|
1928
|
+
onChange: d,
|
|
1789
1929
|
value: y,
|
|
1790
|
-
...
|
|
1930
|
+
...h
|
|
1791
1931
|
}) => {
|
|
1792
|
-
const [
|
|
1793
|
-
|
|
1932
|
+
const [j, u] = H(y), v = (N) => {
|
|
1933
|
+
u(N.target.value), d && d(N);
|
|
1794
1934
|
};
|
|
1795
1935
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1796
|
-
l ? /* @__PURE__ */ e.jsx(
|
|
1936
|
+
l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "",
|
|
1797
1937
|
/* @__PURE__ */ e.jsx(
|
|
1798
1938
|
"textarea",
|
|
1799
1939
|
{
|
|
1800
1940
|
id: n,
|
|
1801
1941
|
className: "muncher-textarea",
|
|
1802
|
-
rows:
|
|
1803
|
-
maxLength:
|
|
1942
|
+
rows: t,
|
|
1943
|
+
maxLength: i,
|
|
1804
1944
|
name: n,
|
|
1805
1945
|
autoFocus: o,
|
|
1806
1946
|
value: y,
|
|
1807
1947
|
placeholder: a,
|
|
1808
1948
|
onChange: v,
|
|
1809
1949
|
required: r,
|
|
1810
|
-
readOnly:
|
|
1811
|
-
...
|
|
1950
|
+
readOnly: c,
|
|
1951
|
+
...h
|
|
1812
1952
|
}
|
|
1813
1953
|
),
|
|
1814
1954
|
/* @__PURE__ */ e.jsxs("p", { children: [
|
|
1815
|
-
|
|
1955
|
+
j ? i ? i - j.length : 1e3 : i,
|
|
1816
1956
|
" characters left"
|
|
1817
1957
|
] })
|
|
1818
1958
|
] });
|
|
@@ -1820,31 +1960,31 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1820
1960
|
name: n = "query",
|
|
1821
1961
|
focus: l = !1,
|
|
1822
1962
|
inputPlaceHolder: r,
|
|
1823
|
-
handleInputChange:
|
|
1824
|
-
showContent:
|
|
1825
|
-
setShowContent:
|
|
1963
|
+
handleInputChange: c,
|
|
1964
|
+
showContent: t = !1,
|
|
1965
|
+
setShowContent: i,
|
|
1826
1966
|
readOnly: o,
|
|
1827
1967
|
value: a,
|
|
1828
|
-
label:
|
|
1968
|
+
label: d,
|
|
1829
1969
|
error: y,
|
|
1830
|
-
required:
|
|
1831
|
-
onEnterPress:
|
|
1832
|
-
list:
|
|
1970
|
+
required: h,
|
|
1971
|
+
onEnterPress: j,
|
|
1972
|
+
list: u,
|
|
1833
1973
|
displayLoader: v,
|
|
1834
1974
|
children: N
|
|
1835
1975
|
}) => {
|
|
1836
|
-
const g =
|
|
1837
|
-
|
|
1838
|
-
}, f =
|
|
1839
|
-
|
|
1840
|
-
}, [
|
|
1976
|
+
const g = h1(null), _ = (C) => {
|
|
1977
|
+
i(!0), c(C.target.value);
|
|
1978
|
+
}, f = q(() => {
|
|
1979
|
+
i(!1);
|
|
1980
|
+
}, [i]), E = q((C) => {
|
|
1841
1981
|
C.keyCode === 27 && f();
|
|
1842
1982
|
}, [f]);
|
|
1843
|
-
return
|
|
1844
|
-
const C = (
|
|
1983
|
+
return Z(() => {
|
|
1984
|
+
const C = (z) => {
|
|
1845
1985
|
if (g && g !== null) {
|
|
1846
|
-
const
|
|
1847
|
-
|
|
1986
|
+
const M = g.current;
|
|
1987
|
+
M && !M.contains(z.target) && f();
|
|
1848
1988
|
}
|
|
1849
1989
|
};
|
|
1850
1990
|
return document.addEventListener("keydown", E, !1), document.addEventListener("mousedown", C), () => {
|
|
@@ -1858,34 +1998,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1858
1998
|
placeholder: r,
|
|
1859
1999
|
name: n,
|
|
1860
2000
|
onChange: _,
|
|
1861
|
-
onEnterPress:
|
|
1862
|
-
list:
|
|
2001
|
+
onEnterPress: j,
|
|
2002
|
+
list: u,
|
|
1863
2003
|
displayLoader: v,
|
|
1864
2004
|
readOnly: o,
|
|
1865
2005
|
value: a,
|
|
1866
|
-
label:
|
|
1867
|
-
required:
|
|
2006
|
+
label: d,
|
|
2007
|
+
required: h,
|
|
1868
2008
|
error: y
|
|
1869
2009
|
}
|
|
1870
2010
|
),
|
|
1871
|
-
|
|
2011
|
+
t ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
|
|
1872
2012
|
] });
|
|
1873
|
-
}, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize:
|
|
2013
|
+
}, O1 = ({ children: n }) => /* @__PURE__ */ e.jsx("ul", { className: "muncher-ul", children: n }), P1 = ({ isFeatured: n, bulletIcon: l = "arrow-right", bulletWeight: r = 2, bulletSize: c = "small", bulletColor: t, children: i }) => /* @__PURE__ */ e.jsx("li", { className: n ? "muncher-li featured" : "muncher-li", children: /* @__PURE__ */ e.jsx(
|
|
1874
2014
|
w,
|
|
1875
2015
|
{
|
|
1876
2016
|
name: l,
|
|
1877
2017
|
weight: r,
|
|
1878
|
-
size:
|
|
1879
|
-
color:
|
|
1880
|
-
children:
|
|
2018
|
+
size: c,
|
|
2019
|
+
color: t,
|
|
2020
|
+
children: i
|
|
1881
2021
|
}
|
|
1882
|
-
) }), D1 = ({ show: n = !1, setShow: l, children: r, ...
|
|
1883
|
-
const
|
|
1884
|
-
|
|
2022
|
+
) }), D1 = ({ show: n = !1, setShow: l, children: r, ...c }) => {
|
|
2023
|
+
const t = q((i) => {
|
|
2024
|
+
i.keyCode === 27 && l(!1);
|
|
1885
2025
|
}, [l]);
|
|
1886
|
-
return
|
|
1887
|
-
document.removeEventListener("keydown",
|
|
1888
|
-
}), [
|
|
2026
|
+
return Z(() => (document.addEventListener("keydown", t, !1), () => {
|
|
2027
|
+
document.removeEventListener("keydown", t, !1);
|
|
2028
|
+
}), [t]), Z(() => {
|
|
1889
2029
|
n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset";
|
|
1890
2030
|
}, [n]), /* @__PURE__ */ e.jsxs(o1.Fragment, { children: [
|
|
1891
2031
|
/* @__PURE__ */ e.jsx(m1, { show: n, backdropClickHandler: () => l(!1) }),
|
|
@@ -1897,14 +2037,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1897
2037
|
transform: n ? "translateY(0)" : "translateY(-100vh)",
|
|
1898
2038
|
opacity: n ? "1" : "0"
|
|
1899
2039
|
},
|
|
1900
|
-
...
|
|
2040
|
+
...c,
|
|
1901
2041
|
children: r
|
|
1902
2042
|
}
|
|
1903
2043
|
)
|
|
1904
2044
|
] });
|
|
1905
2045
|
}, F1 = ({ showHoverEffect: n, onClick: l, children: r }) => {
|
|
1906
|
-
const
|
|
1907
|
-
return /* @__PURE__ */ e.jsx("section", { className:
|
|
2046
|
+
const c = () => n ? "muncher-paper muncher-paper-hover" : "muncher-paper";
|
|
2047
|
+
return /* @__PURE__ */ e.jsx("section", { className: c(), onClick: l, children: r });
|
|
1908
2048
|
}, I1 = ({ pillCloseHandler: n, children: l, ...r }) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-pill", ...r, children: [
|
|
1909
2049
|
/* @__PURE__ */ e.jsx("div", { className: "close", onClick: n, children: /* @__PURE__ */ e.jsx(w, { name: "close" }) }),
|
|
1910
2050
|
/* @__PURE__ */ e.jsxs("div", { className: "content", children: [
|
|
@@ -1912,83 +2052,83 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1912
2052
|
l
|
|
1913
2053
|
] })
|
|
1914
2054
|
] }), $1 = ({ value: n, max: l, label: r }) => {
|
|
1915
|
-
const
|
|
1916
|
-
const
|
|
1917
|
-
return r ? r + " " +
|
|
2055
|
+
const c = () => {
|
|
2056
|
+
const t = Math.round(n / l * 100) + "%";
|
|
2057
|
+
return r ? r + " " + t : t;
|
|
1918
2058
|
};
|
|
1919
2059
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-progress", children: [
|
|
1920
|
-
/* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children:
|
|
1921
|
-
/* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children:
|
|
2060
|
+
/* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: c() }),
|
|
2061
|
+
/* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: l, children: c() })
|
|
1922
2062
|
] });
|
|
1923
2063
|
}, Y1 = ({ variant: n, size: l, style: r }) => {
|
|
1924
|
-
const
|
|
1925
|
-
return /* @__PURE__ */ e.jsx("hr", { className:
|
|
1926
|
-
}, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant:
|
|
1927
|
-
const [o, a] =
|
|
2064
|
+
const c = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (l ? " muncher-hr--" + l : "") + (r ? " muncher-hr--" + r : "");
|
|
2065
|
+
return /* @__PURE__ */ e.jsx("hr", { className: c });
|
|
2066
|
+
}, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant: c, navIcon: t, navButtonPlacement: i = "inside" }) => {
|
|
2067
|
+
const [o, a] = H(0), [d, y] = H(0), h = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
|
|
1928
2068
|
a1,
|
|
1929
2069
|
{
|
|
1930
2070
|
direction: "left",
|
|
1931
2071
|
size: l,
|
|
1932
|
-
variant:
|
|
1933
|
-
navIcon:
|
|
2072
|
+
variant: c,
|
|
2073
|
+
navIcon: t,
|
|
1934
2074
|
weight: r,
|
|
1935
2075
|
onClick: () => {
|
|
1936
|
-
o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(
|
|
2076
|
+
o === 0 ? (y(-(n.length - 1) * 100), a(n.length - 1)) : (y(d + 100), a(o - 1));
|
|
1937
2077
|
}
|
|
1938
2078
|
}
|
|
1939
|
-
) : "",
|
|
2079
|
+
) : "", j = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
|
|
1940
2080
|
a1,
|
|
1941
2081
|
{
|
|
1942
2082
|
direction: "right",
|
|
1943
2083
|
size: l,
|
|
1944
2084
|
weight: r,
|
|
1945
|
-
navIcon:
|
|
1946
|
-
variant:
|
|
2085
|
+
navIcon: t,
|
|
2086
|
+
variant: c,
|
|
1947
2087
|
onClick: () => {
|
|
1948
|
-
o === n.length - 1 ? (a(0), y(0)) : (y(
|
|
2088
|
+
o === n.length - 1 ? (a(0), y(0)) : (y(d - 100), a(o + 1));
|
|
1949
2089
|
}
|
|
1950
2090
|
}
|
|
1951
2091
|
) : "";
|
|
1952
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" +
|
|
1953
|
-
|
|
2092
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + i, children: [
|
|
2093
|
+
i === "outside" ? h() : "",
|
|
1954
2094
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider", children: [
|
|
1955
|
-
|
|
2095
|
+
i === "inside" ? h() : "",
|
|
1956
2096
|
/* @__PURE__ */ e.jsx("div", { className: "slider-container", style: { width: `${100 * n.length}%` }, children: n.map(
|
|
1957
|
-
(
|
|
2097
|
+
(u, v) => /* @__PURE__ */ e.jsx(
|
|
1958
2098
|
"div",
|
|
1959
2099
|
{
|
|
1960
2100
|
className: "slider-item",
|
|
1961
|
-
style: { transform: `translateX(${
|
|
1962
|
-
children:
|
|
2101
|
+
style: { transform: `translateX(${d}%)` },
|
|
2102
|
+
children: u
|
|
1963
2103
|
},
|
|
1964
2104
|
"slider-item" + v
|
|
1965
2105
|
)
|
|
1966
2106
|
) }),
|
|
1967
|
-
|
|
2107
|
+
i === "inside" ? j() : ""
|
|
1968
2108
|
] }),
|
|
1969
|
-
|
|
2109
|
+
i === "outside" ? j() : ""
|
|
1970
2110
|
] });
|
|
1971
2111
|
}, W1 = ({
|
|
1972
2112
|
min: n,
|
|
1973
2113
|
max: l,
|
|
1974
2114
|
minValue: r,
|
|
1975
|
-
maxValue:
|
|
1976
|
-
setMinValue:
|
|
1977
|
-
setMaxValue:
|
|
2115
|
+
maxValue: c,
|
|
2116
|
+
setMinValue: t,
|
|
2117
|
+
setMaxValue: i,
|
|
1978
2118
|
numberFormatter: o = (a) => new Intl.NumberFormat("en-US", {
|
|
1979
2119
|
style: "currency",
|
|
1980
2120
|
currency: "USD"
|
|
1981
2121
|
}).format(a)
|
|
1982
2122
|
}) => {
|
|
1983
|
-
const a = (
|
|
1984
|
-
const
|
|
1985
|
-
|
|
1986
|
-
},
|
|
1987
|
-
const
|
|
1988
|
-
|
|
1989
|
-
}, y = (
|
|
2123
|
+
const a = (h) => {
|
|
2124
|
+
const j = +h.target.value, u = j < c - 1 ? j : r;
|
|
2125
|
+
t(u);
|
|
2126
|
+
}, d = (h) => {
|
|
2127
|
+
const j = +h.target.value, u = j > r + 1 ? j : c;
|
|
2128
|
+
i(u);
|
|
2129
|
+
}, y = (h) => o && h ? o(h) : h;
|
|
1990
2130
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
|
|
1991
|
-
/* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(
|
|
2131
|
+
/* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: y(r) + " - " + y(c) }) }),
|
|
1992
2132
|
/* @__PURE__ */ e.jsx(
|
|
1993
2133
|
"input",
|
|
1994
2134
|
{
|
|
@@ -2007,8 +2147,8 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2007
2147
|
type: "range",
|
|
2008
2148
|
min: n,
|
|
2009
2149
|
max: l,
|
|
2010
|
-
value:
|
|
2011
|
-
onChange:
|
|
2150
|
+
value: c,
|
|
2151
|
+
onChange: d
|
|
2012
2152
|
}
|
|
2013
2153
|
),
|
|
2014
2154
|
/* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
|
|
@@ -2020,18 +2160,18 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2020
2160
|
min: n,
|
|
2021
2161
|
max: l,
|
|
2022
2162
|
value: r,
|
|
2023
|
-
setValue:
|
|
2024
|
-
numberFormatter:
|
|
2163
|
+
setValue: c,
|
|
2164
|
+
numberFormatter: t = (i) => new Intl.NumberFormat("en-US", {
|
|
2025
2165
|
style: "currency",
|
|
2026
2166
|
currency: "USD"
|
|
2027
|
-
}).format(
|
|
2167
|
+
}).format(i)
|
|
2028
2168
|
}) => {
|
|
2029
|
-
const
|
|
2030
|
-
const
|
|
2031
|
-
|
|
2169
|
+
const i = (a) => t ? t(a) : a, o = (a) => {
|
|
2170
|
+
const d = +a.target.value;
|
|
2171
|
+
c(d);
|
|
2032
2172
|
};
|
|
2033
2173
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
|
|
2034
|
-
/* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children:
|
|
2174
|
+
/* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: i(r) }) }),
|
|
2035
2175
|
/* @__PURE__ */ e.jsx(
|
|
2036
2176
|
"input",
|
|
2037
2177
|
{
|
|
@@ -2044,24 +2184,24 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2044
2184
|
}
|
|
2045
2185
|
),
|
|
2046
2186
|
/* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
|
|
2047
|
-
/* @__PURE__ */ e.jsx("div", { className: "slider-min", children:
|
|
2048
|
-
/* @__PURE__ */ e.jsx("div", { className: "slider-max", children:
|
|
2187
|
+
/* @__PURE__ */ e.jsx("div", { className: "slider-min", children: i(n) }),
|
|
2188
|
+
/* @__PURE__ */ e.jsx("div", { className: "slider-max", children: i(l) })
|
|
2049
2189
|
] })
|
|
2050
2190
|
] });
|
|
2051
|
-
}, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }),
|
|
2052
|
-
const
|
|
2191
|
+
}, J1 = ({ isFeatured: n, onClick: l }) => /* @__PURE__ */ e.jsx("span", { className: "span-featured", children: /* @__PURE__ */ e.jsx("span", { className: n ? "featured-star" : "un-featured-star", onClick: l }) }), q1 = ({ rating: n, color: l, size: r, ...c }) => {
|
|
2192
|
+
const t = {
|
|
2053
2193
|
"--r": n
|
|
2054
|
-
},
|
|
2194
|
+
}, i = () => {
|
|
2055
2195
|
let o = "muncher-star";
|
|
2056
2196
|
return l && (o += " star-" + l), r && (o += " star-" + r), o;
|
|
2057
2197
|
};
|
|
2058
|
-
return /* @__PURE__ */ e.jsx("span", { className:
|
|
2059
|
-
},
|
|
2060
|
-
const [r,
|
|
2061
|
-
|
|
2198
|
+
return /* @__PURE__ */ e.jsx("span", { className: i(), style: t, ...c });
|
|
2199
|
+
}, G1 = ({ handleTabSelected: n, children: l }) => {
|
|
2200
|
+
const [r, c] = H(0), { tabs: t } = l, i = (o) => {
|
|
2201
|
+
c(o), n && n(o);
|
|
2062
2202
|
};
|
|
2063
2203
|
return /* @__PURE__ */ e.jsxs("section", { className: "muncher-tabs", children: [
|
|
2064
|
-
/* @__PURE__ */ e.jsx("header", { children:
|
|
2204
|
+
/* @__PURE__ */ e.jsx("header", { children: t.map(
|
|
2065
2205
|
(o, a) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
|
|
2066
2206
|
/* @__PURE__ */ e.jsx(
|
|
2067
2207
|
V,
|
|
@@ -2071,15 +2211,15 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2071
2211
|
size: "small",
|
|
2072
2212
|
title: o.headerTitle,
|
|
2073
2213
|
onClick: () => {
|
|
2074
|
-
|
|
2214
|
+
i(a);
|
|
2075
2215
|
},
|
|
2076
2216
|
children: o.header
|
|
2077
2217
|
}
|
|
2078
2218
|
),
|
|
2079
|
-
a !==
|
|
2219
|
+
a !== t.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
|
|
2080
2220
|
] }, "muncher-tab-header" + a)
|
|
2081
2221
|
) }),
|
|
2082
|
-
|
|
2222
|
+
t.map(
|
|
2083
2223
|
(o, a) => /* @__PURE__ */ e.jsx(
|
|
2084
2224
|
"section",
|
|
2085
2225
|
{
|
|
@@ -2094,34 +2234,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2094
2234
|
fileName: n,
|
|
2095
2235
|
defaultPageSize: l = 50,
|
|
2096
2236
|
skeleton: r,
|
|
2097
|
-
handleOnUpload:
|
|
2098
|
-
sortBy:
|
|
2099
|
-
excludeDownload:
|
|
2237
|
+
handleOnUpload: c,
|
|
2238
|
+
sortBy: t,
|
|
2239
|
+
excludeDownload: i,
|
|
2100
2240
|
includeUpload: o,
|
|
2101
2241
|
isUploading: a,
|
|
2102
|
-
uploadWarningMessage:
|
|
2242
|
+
uploadWarningMessage: d,
|
|
2103
2243
|
uploadSuccessMessage: y,
|
|
2104
|
-
excludePagination:
|
|
2105
|
-
footer:
|
|
2106
|
-
children:
|
|
2244
|
+
excludePagination: h,
|
|
2245
|
+
footer: j,
|
|
2246
|
+
children: u
|
|
2107
2247
|
}) => {
|
|
2108
|
-
const { header: v, rows: N } =
|
|
2248
|
+
const { header: v, rows: N } = u, [g, _] = H(t ?? { index: 0 }), [f, E] = H({ num: 0, size: l }), C = (m) => {
|
|
2109
2249
|
_(
|
|
2110
2250
|
(k) => k.index === m ? { ...k, desc: !k.desc } : { index: m }
|
|
2111
2251
|
);
|
|
2112
|
-
},
|
|
2113
|
-
var
|
|
2114
|
-
const m = [...N], k = (
|
|
2252
|
+
}, z = x1(() => {
|
|
2253
|
+
var A;
|
|
2254
|
+
const m = [...N], k = (A = v[g.index]) == null ? void 0 : A.sort;
|
|
2115
2255
|
return k ? m.sort(k) : m.sort((O, X) => {
|
|
2116
2256
|
var $, Y, U, W;
|
|
2117
|
-
const
|
|
2118
|
-
return
|
|
2257
|
+
const e1 = ((Y = ($ = O[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
|
|
2258
|
+
return e1.localeCompare(I);
|
|
2119
2259
|
}), g.desc ? m.reverse() : m;
|
|
2120
|
-
}, [N, g, v]),
|
|
2121
|
-
() =>
|
|
2122
|
-
[
|
|
2123
|
-
),
|
|
2124
|
-
(m) => m.filter((k,
|
|
2260
|
+
}, [N, g, v]), M = x1(
|
|
2261
|
+
() => z.slice(f.num * f.size, (f.num + 1) * f.size),
|
|
2262
|
+
[z, f]
|
|
2263
|
+
), S = v.filter((m) => !m.csvExclude).map((m) => typeof m.name == "string" ? m.name : ""), P = N.map(
|
|
2264
|
+
(m) => m.filter((k, A) => !v[A].csvExclude).map((k) => k.csv ?? k.value ?? "")
|
|
2125
2265
|
);
|
|
2126
2266
|
return /* @__PURE__ */ e.jsxs("section", { className: "muncher-table", children: [
|
|
2127
2267
|
/* @__PURE__ */ e.jsx("div", { className: "row head", children: v.map(
|
|
@@ -2143,26 +2283,26 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2143
2283
|
`row-head-${k}`
|
|
2144
2284
|
)
|
|
2145
2285
|
) }),
|
|
2146
|
-
r ||
|
|
2147
|
-
(
|
|
2286
|
+
r || M.map((m, k) => /* @__PURE__ */ e.jsx("div", { className: "row", children: m.map(
|
|
2287
|
+
(A, O) => v[O].visibility === "hidden" ? null : /* @__PURE__ */ e.jsx(
|
|
2148
2288
|
"div",
|
|
2149
2289
|
{
|
|
2150
2290
|
className: v[O].visibility ? "col main" : "col",
|
|
2151
|
-
children:
|
|
2291
|
+
children: A.content
|
|
2152
2292
|
},
|
|
2153
2293
|
`row-col-${k}-${O}`
|
|
2154
2294
|
)
|
|
2155
2295
|
) }, `row-${k}`)),
|
|
2156
|
-
|
|
2296
|
+
j ?? null,
|
|
2157
2297
|
/* @__PURE__ */ e.jsxs("div", { className: "row-footer", children: [
|
|
2158
2298
|
/* @__PURE__ */ e.jsxs("div", { className: "row-footer-buttons", children: [
|
|
2159
|
-
!
|
|
2160
|
-
|
|
2299
|
+
!i && /* @__PURE__ */ e.jsx(
|
|
2300
|
+
b1,
|
|
2161
2301
|
{
|
|
2162
2302
|
filename: n ?? "download",
|
|
2163
2303
|
variant: "secondary",
|
|
2164
2304
|
title: "Download",
|
|
2165
|
-
header:
|
|
2305
|
+
header: S,
|
|
2166
2306
|
data: P
|
|
2167
2307
|
}
|
|
2168
2308
|
),
|
|
@@ -2170,14 +2310,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2170
2310
|
N1,
|
|
2171
2311
|
{
|
|
2172
2312
|
name: "csv-input-file",
|
|
2173
|
-
handleOnChange:
|
|
2313
|
+
handleOnChange: c,
|
|
2174
2314
|
isUploading: a,
|
|
2175
|
-
warningMessage:
|
|
2315
|
+
warningMessage: d,
|
|
2176
2316
|
successMessage: y
|
|
2177
2317
|
}
|
|
2178
2318
|
)
|
|
2179
2319
|
] }),
|
|
2180
|
-
!
|
|
2320
|
+
!h && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
|
|
2181
2321
|
/* @__PURE__ */ e.jsxs("div", { className: "left", children: [
|
|
2182
2322
|
"Rows:",
|
|
2183
2323
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2228,40 +2368,40 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2228
2368
|
] });
|
|
2229
2369
|
};
|
|
2230
2370
|
export {
|
|
2231
|
-
|
|
2371
|
+
z1 as Accordion,
|
|
2232
2372
|
m1 as Backdrop,
|
|
2233
2373
|
f1 as Badge,
|
|
2234
2374
|
V as Button,
|
|
2235
2375
|
_1 as Checkbox,
|
|
2236
|
-
|
|
2237
|
-
|
|
2376
|
+
M1 as CopyButton,
|
|
2377
|
+
b1 as CsvButton,
|
|
2238
2378
|
N1 as CsvInput,
|
|
2239
2379
|
v1 as DropdownButton,
|
|
2240
2380
|
R1 as DropdownNavButton,
|
|
2241
2381
|
J1 as Featured,
|
|
2242
2382
|
Y1 as Hr,
|
|
2243
2383
|
w as Icon,
|
|
2244
|
-
|
|
2245
|
-
|
|
2384
|
+
A1 as IconBadge,
|
|
2385
|
+
H1 as ImageInput,
|
|
2246
2386
|
k1 as Input,
|
|
2247
2387
|
U1 as ItemSlider,
|
|
2248
|
-
|
|
2388
|
+
G as Label,
|
|
2249
2389
|
P1 as Li,
|
|
2250
2390
|
D1 as Modal,
|
|
2251
2391
|
a1 as NavigateButton,
|
|
2252
2392
|
F1 as Paper,
|
|
2253
2393
|
I1 as Pill,
|
|
2254
2394
|
$1 as Progress,
|
|
2255
|
-
|
|
2395
|
+
S1 as Radio,
|
|
2256
2396
|
W1 as RangeSlider,
|
|
2257
2397
|
C1 as Select,
|
|
2258
2398
|
T1 as ShareButton,
|
|
2259
2399
|
B1 as Slider,
|
|
2260
2400
|
w1 as SortButton,
|
|
2261
|
-
|
|
2262
|
-
|
|
2401
|
+
j1 as Spinner,
|
|
2402
|
+
q1 as Star,
|
|
2263
2403
|
X1 as Table,
|
|
2264
|
-
|
|
2404
|
+
G1 as Tabs,
|
|
2265
2405
|
L1 as TextInputDropdown,
|
|
2266
2406
|
V1 as Textarea,
|
|
2267
2407
|
O1 as Ul,
|