@contentmunch/contentmunch-ui 1.1.5 → 1.1.7
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 -17
- package/lib/icon/assets/icon-stories.css +25 -6
- package/lib/index.cjs.js +4 -4
- package/lib/index.es.js +688 -552
- 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,16 +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
|
-
"split-view": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
376
|
-
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
377
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "21" })
|
|
378
|
-
] }),
|
|
379
385
|
undo: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
380
386
|
/* @__PURE__ */ e.jsx("polyline", { points: "2 10 2 16 8 16" }),
|
|
381
387
|
/* @__PURE__ */ e.jsx("path", { d: "m22 16c-1.8136-6.5424-9.5593-9.4823-15.36-4.36l-4.64 4.36" })
|
|
@@ -396,31 +402,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
396
402
|
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "19", x2: "16", y2: "22" }),
|
|
397
403
|
/* @__PURE__ */ e.jsx("line", { x1: "19", y1: "16", x2: "22", y2: "16" })
|
|
398
404
|
] }),
|
|
399
|
-
"arrow-left": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
400
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
401
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 8 8 12 12 16" }),
|
|
402
|
-
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "12", x2: "8", y2: "12" })
|
|
403
|
-
] }),
|
|
404
|
-
"arrow-right": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
405
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
406
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 16 16 12 12 8" }),
|
|
407
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
408
|
-
] }),
|
|
409
|
-
"arrow-down": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
410
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
411
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "8 12 12 16 16 12" }),
|
|
412
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" })
|
|
413
|
-
] }),
|
|
414
|
-
"arrow-up": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
415
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
416
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "16 12 12 8 8 12" }),
|
|
417
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "8" })
|
|
418
|
-
] }),
|
|
419
|
-
anchor: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
420
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "3" }),
|
|
421
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "22", x2: "12", y2: "8" }),
|
|
422
|
-
/* @__PURE__ */ e.jsx("path", { d: "M5 12H2a10 10 0 0 0 20 0h-3" })
|
|
423
|
-
] }),
|
|
424
405
|
hamburger: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
425
406
|
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
426
407
|
/* @__PURE__ */ e.jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
@@ -475,10 +456,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
475
456
|
),
|
|
476
457
|
/* @__PURE__ */ e.jsx("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" })
|
|
477
458
|
] }),
|
|
478
|
-
|
|
479
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
480
|
-
/* @__PURE__ */ e.jsx("polyline", { points: "12 6 12 12 16 14" })
|
|
481
|
-
] }),
|
|
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" }) }),
|
|
482
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" }) }),
|
|
483
461
|
"cloud-drizzle": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
484
462
|
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "19", x2: "8", y2: "21" }),
|
|
@@ -493,6 +471,12 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
493
471
|
/* @__PURE__ */ e.jsx("path", { d: "M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9" }),
|
|
494
472
|
/* @__PURE__ */ e.jsx("polyline", { points: "13 11 9 17 15 17 11 23" })
|
|
495
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
|
+
] }),
|
|
496
480
|
camera: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
497
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" }),
|
|
498
482
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "13", r: "4" })
|
|
@@ -513,24 +497,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
513
497
|
/* @__PURE__ */ e.jsx("line", { x1: "10", y1: "1", x2: "10", y2: "4" }),
|
|
514
498
|
/* @__PURE__ */ e.jsx("line", { x1: "14", y1: "1", x2: "14", y2: "4" })
|
|
515
499
|
] }),
|
|
516
|
-
compass: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
517
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
518
|
-
/* @__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" })
|
|
519
|
-
] }),
|
|
520
500
|
eye: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
521
501
|
/* @__PURE__ */ e.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
|
522
502
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
523
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" }) }),
|
|
524
505
|
feather: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
525
506
|
/* @__PURE__ */ e.jsx("path", { d: "M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z" }),
|
|
526
507
|
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "8", x2: "2", y2: "22" }),
|
|
527
508
|
/* @__PURE__ */ e.jsx("line", { x1: "17.5", y1: "15", x2: "9", y2: "15" })
|
|
528
509
|
] }),
|
|
529
|
-
globe: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
530
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
531
|
-
/* @__PURE__ */ e.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
|
|
532
|
-
/* @__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" })
|
|
533
|
-
] }),
|
|
534
510
|
headphone: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
535
511
|
/* @__PURE__ */ e.jsx("path", { d: "M3 18v-6a9 9 0 0 1 18 0v6" }),
|
|
536
512
|
/* @__PURE__ */ e.jsx(
|
|
@@ -540,12 +516,20 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
540
516
|
}
|
|
541
517
|
)
|
|
542
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" }) }),
|
|
543
526
|
hexagon: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
|
|
544
527
|
"path",
|
|
545
528
|
{
|
|
546
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"
|
|
547
530
|
}
|
|
548
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" }) }),
|
|
549
533
|
package: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
550
534
|
/* @__PURE__ */ e.jsx("line", { x1: "16.5", y1: "9.4", x2: "7.5", y2: "4.21" }),
|
|
551
535
|
/* @__PURE__ */ e.jsx(
|
|
@@ -599,10 +583,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
599
583
|
),
|
|
600
584
|
/* @__PURE__ */ e.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
|
601
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
|
+
] }),
|
|
602
591
|
tv: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
603
592
|
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "15", rx: "2", ry: "2" }),
|
|
604
593
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 2 12 7 7 2" })
|
|
605
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
|
+
] }),
|
|
606
615
|
truck: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
607
616
|
/* @__PURE__ */ e.jsx("rect", { x: "1", y: "3", width: "15", height: "13" }),
|
|
608
617
|
/* @__PURE__ */ e.jsx("polygon", { points: "16 8 20 8 23 11 23 16 16 16 16 8" }),
|
|
@@ -658,12 +667,44 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
658
667
|
/* @__PURE__ */ e.jsx("line", { x1: "23", y1: "9", x2: "17", y2: "15" }),
|
|
659
668
|
/* @__PURE__ */ e.jsx("line", { x1: "17", y1: "9", x2: "23", y2: "15" })
|
|
660
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
|
+
] }),
|
|
661
703
|
alert: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
662
704
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
663
705
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
664
706
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
665
707
|
] }),
|
|
666
|
-
"simple-check": /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
|
|
667
708
|
check: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
668
709
|
/* @__PURE__ */ e.jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
669
710
|
/* @__PURE__ */ e.jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
|
|
@@ -683,6 +724,71 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
683
724
|
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
|
|
684
725
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
|
|
685
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" }) }),
|
|
686
792
|
code: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
687
793
|
/* @__PURE__ */ e.jsx("polyline", { points: "16 18 22 12 16 6" }),
|
|
688
794
|
/* @__PURE__ */ e.jsx("polyline", { points: "8 6 2 12 8 18" })
|
|
@@ -740,15 +846,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
740
846
|
/* @__PURE__ */ e.jsx("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
|
|
741
847
|
/* @__PURE__ */ e.jsx("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
|
|
742
848
|
] }),
|
|
743
|
-
plus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
744
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
745
|
-
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
|
|
746
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
747
|
-
] }),
|
|
748
|
-
minus: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
749
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
750
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
|
|
751
|
-
] }),
|
|
752
849
|
"external-link": /* @__PURE__ */ e.jsxs(s, { children: [
|
|
753
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" }),
|
|
754
851
|
/* @__PURE__ */ e.jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
@@ -793,18 +890,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
793
890
|
/* @__PURE__ */ e.jsx("line", { x1: "14.47", y1: "14.48", x2: "20", y2: "20" }),
|
|
794
891
|
/* @__PURE__ */ e.jsx("line", { x1: "8.12", y1: "8.12", x2: "12", y2: "12" })
|
|
795
892
|
] }),
|
|
796
|
-
|
|
797
|
-
/* @__PURE__ */ e.jsx("
|
|
798
|
-
/* @__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" })
|
|
799
903
|
] }),
|
|
800
904
|
sidebar: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
801
905
|
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
|
|
802
906
|
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "3", x2: "9", y2: "21" })
|
|
803
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
|
+
] }),
|
|
804
918
|
dollar: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
805
919
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "1", x2: "12", y2: "23" }),
|
|
806
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" })
|
|
807
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
|
+
] }),
|
|
808
926
|
box: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
809
927
|
/* @__PURE__ */ e.jsx(
|
|
810
928
|
"path",
|
|
@@ -974,6 +1092,19 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
974
1092
|
/* @__PURE__ */ e.jsx("circle", { cx: "6.5", cy: "16.5", r: "2.5" }),
|
|
975
1093
|
/* @__PURE__ */ e.jsx("circle", { cx: "16.5", cy: "16.5", r: "2.5" })
|
|
976
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
|
+
] }),
|
|
977
1108
|
more: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
978
1109
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
979
1110
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "5", r: "1" }),
|
|
@@ -1008,6 +1139,10 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1008
1139
|
/* @__PURE__ */ e.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
1009
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" })
|
|
1010
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
|
+
] }),
|
|
1011
1146
|
clipboard: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1012
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" }),
|
|
1013
1148
|
/* @__PURE__ */ e.jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
|
|
@@ -1028,10 +1163,21 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1028
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" }),
|
|
1029
1164
|
/* @__PURE__ */ e.jsx("polyline", { points: "22,6 12,13 2,6" })
|
|
1030
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
|
+
) }),
|
|
1031
1172
|
phone: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1032
1173
|
/* @__PURE__ */ e.jsx("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", ry: "2" }),
|
|
1033
1174
|
/* @__PURE__ */ e.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
|
|
1034
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
|
+
] }),
|
|
1035
1181
|
inbox: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1036
1182
|
/* @__PURE__ */ e.jsx("polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }),
|
|
1037
1183
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1138,24 +1284,6 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1138
1284
|
/* @__PURE__ */ e.jsx("rect", { x: "1", y: "5", width: "22", height: "14", rx: "7", ry: "7" }),
|
|
1139
1285
|
/* @__PURE__ */ e.jsx("circle", { cx: "16", cy: "12", r: "3", color: "green" })
|
|
1140
1286
|
] }),
|
|
1141
|
-
smile: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1142
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1143
|
-
/* @__PURE__ */ e.jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
1144
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1145
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1146
|
-
] }),
|
|
1147
|
-
frown: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1148
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1149
|
-
/* @__PURE__ */ e.jsx("path", { d: "M16 16s-1.5-2-4-2-4 2-4 2" }),
|
|
1150
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1151
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1152
|
-
] }),
|
|
1153
|
-
meh: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1154
|
-
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1155
|
-
/* @__PURE__ */ e.jsx("line", { x1: "8", y1: "15", x2: "16", y2: "15" }),
|
|
1156
|
-
/* @__PURE__ */ e.jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }),
|
|
1157
|
-
/* @__PURE__ */ e.jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })
|
|
1158
|
-
] }),
|
|
1159
1287
|
at: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1160
1288
|
/* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "4" }),
|
|
1161
1289
|
/* @__PURE__ */ e.jsx("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94" })
|
|
@@ -1178,6 +1306,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1178
1306
|
/* @__PURE__ */ e.jsx("path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83" }),
|
|
1179
1307
|
/* @__PURE__ */ e.jsx("path", { d: "M22 12A10 10 0 0 0 12 2v10z" })
|
|
1180
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
|
+
] }),
|
|
1181
1317
|
gift: /* @__PURE__ */ e.jsxs(s, { children: [
|
|
1182
1318
|
/* @__PURE__ */ e.jsx("polyline", { points: "20 12 20 22 4 22 4 12" }),
|
|
1183
1319
|
/* @__PURE__ */ e.jsx("rect", { x: "2", y: "7", width: "20", height: "5" }),
|
|
@@ -1200,39 +1336,39 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1200
1336
|
/* @__PURE__ */ e.jsx("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" }),
|
|
1201
1337
|
/* @__PURE__ */ e.jsx("text", { x: "6", y: "14", fontSize: "6", fontFamily: "'Lucida Grande', sans-serif", children: "360" })
|
|
1202
1338
|
] })
|
|
1203
|
-
}, w = ({ color: n, name: l, size: r = "small", weight:
|
|
1204
|
-
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);
|
|
1205
1341
|
return /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon", children: [
|
|
1206
1342
|
a && o && o === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a }) : "",
|
|
1207
1343
|
/* @__PURE__ */ e.jsx(
|
|
1208
1344
|
"svg",
|
|
1209
1345
|
{
|
|
1210
|
-
className:
|
|
1346
|
+
className: d,
|
|
1211
1347
|
stroke: n || "currentColor",
|
|
1212
1348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1213
1349
|
viewBox: "0 0 24 24",
|
|
1214
1350
|
fill: "none",
|
|
1215
|
-
strokeWidth:
|
|
1351
|
+
strokeWidth: c || 2,
|
|
1216
1352
|
strokeLinecap: "round",
|
|
1217
1353
|
strokeLinejoin: "round",
|
|
1218
|
-
onClick:
|
|
1219
|
-
children:
|
|
1354
|
+
onClick: t,
|
|
1355
|
+
children: y
|
|
1220
1356
|
}
|
|
1221
1357
|
),
|
|
1222
|
-
a &&
|
|
1358
|
+
a && o === "left" && /* @__PURE__ */ e.jsx("span", { className: "content-left", children: a })
|
|
1223
1359
|
] });
|
|
1224
|
-
},
|
|
1360
|
+
}, A1 = ({
|
|
1225
1361
|
variant: n = "primary",
|
|
1226
1362
|
icon: l = "bell",
|
|
1227
1363
|
text: r,
|
|
1228
|
-
onClick:
|
|
1229
|
-
...
|
|
1364
|
+
onClick: c,
|
|
1365
|
+
...t
|
|
1230
1366
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1231
1367
|
"div",
|
|
1232
1368
|
{
|
|
1233
1369
|
className: "muncher-icon-badge",
|
|
1234
|
-
onClick:
|
|
1235
|
-
...
|
|
1370
|
+
onClick: c,
|
|
1371
|
+
...t,
|
|
1236
1372
|
children: [
|
|
1237
1373
|
/* @__PURE__ */ e.jsx(w, { name: l }),
|
|
1238
1374
|
r === "" ? "" : /* @__PURE__ */ e.jsx(f1, { variant: n, children: r })
|
|
@@ -1242,78 +1378,78 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1242
1378
|
type: n = "button",
|
|
1243
1379
|
variant: l,
|
|
1244
1380
|
size: r = "medium",
|
|
1245
|
-
title:
|
|
1246
|
-
active:
|
|
1247
|
-
disabled:
|
|
1381
|
+
title: c,
|
|
1382
|
+
active: t,
|
|
1383
|
+
disabled: i,
|
|
1248
1384
|
rounded: o,
|
|
1249
1385
|
onClick: a,
|
|
1250
|
-
onMouseDown:
|
|
1386
|
+
onMouseDown: d,
|
|
1251
1387
|
onMouseEnter: y,
|
|
1252
|
-
onMouseLeave:
|
|
1253
|
-
children:
|
|
1254
|
-
...
|
|
1388
|
+
onMouseLeave: h,
|
|
1389
|
+
children: j,
|
|
1390
|
+
...u
|
|
1255
1391
|
}) => {
|
|
1256
|
-
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" : "");
|
|
1257
1393
|
return /* @__PURE__ */ e.jsx(
|
|
1258
1394
|
"button",
|
|
1259
1395
|
{
|
|
1260
1396
|
type: n && n !== "nav" ? n : "button",
|
|
1261
1397
|
className: v,
|
|
1262
|
-
disabled: !!
|
|
1263
|
-
title:
|
|
1398
|
+
disabled: !!i,
|
|
1399
|
+
title: c,
|
|
1264
1400
|
onClick: a,
|
|
1265
|
-
onMouseDown:
|
|
1401
|
+
onMouseDown: d,
|
|
1266
1402
|
onMouseEnter: y,
|
|
1267
|
-
onMouseLeave:
|
|
1268
|
-
...
|
|
1269
|
-
children:
|
|
1403
|
+
onMouseLeave: h,
|
|
1404
|
+
...u,
|
|
1405
|
+
children: j
|
|
1270
1406
|
}
|
|
1271
1407
|
);
|
|
1272
1408
|
}, v1 = ({
|
|
1273
1409
|
variant: n,
|
|
1274
1410
|
size: l = "medium",
|
|
1275
1411
|
title: r,
|
|
1276
|
-
active:
|
|
1277
|
-
disabled:
|
|
1278
|
-
element:
|
|
1412
|
+
active: c,
|
|
1413
|
+
disabled: t,
|
|
1414
|
+
element: i,
|
|
1279
1415
|
onMouseDown: o,
|
|
1280
1416
|
rounded: a,
|
|
1281
|
-
drop:
|
|
1417
|
+
drop: d,
|
|
1282
1418
|
onClick: y,
|
|
1283
|
-
onClose:
|
|
1284
|
-
showContent:
|
|
1285
|
-
setShowContent:
|
|
1419
|
+
onClose: h,
|
|
1420
|
+
showContent: j,
|
|
1421
|
+
setShowContent: u,
|
|
1286
1422
|
withDropIcon: v,
|
|
1287
1423
|
children: N,
|
|
1288
1424
|
...g
|
|
1289
1425
|
}) => {
|
|
1290
|
-
const _ =
|
|
1291
|
-
|
|
1292
|
-
}, E =
|
|
1293
|
-
|
|
1294
|
-
}, [
|
|
1295
|
-
|
|
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();
|
|
1296
1432
|
}, [E]);
|
|
1297
|
-
|
|
1298
|
-
const
|
|
1299
|
-
_ && _.current &&
|
|
1433
|
+
Z(() => {
|
|
1434
|
+
const M = (S) => {
|
|
1435
|
+
_ && _.current && S.target instanceof HTMLElement && !_.current.contains(S.target) && E();
|
|
1300
1436
|
};
|
|
1301
|
-
return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown",
|
|
1437
|
+
return document.addEventListener("keydown", C, !1), document.addEventListener("mousedown", M), () => {
|
|
1302
1438
|
document.removeEventListener("keydown", C, !1);
|
|
1303
1439
|
};
|
|
1304
1440
|
}, [C, E]);
|
|
1305
|
-
const
|
|
1441
|
+
const z = () => {
|
|
1306
1442
|
var P;
|
|
1307
|
-
const
|
|
1308
|
-
if (
|
|
1309
|
-
if (
|
|
1310
|
-
if (
|
|
1311
|
-
if (
|
|
1312
|
-
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);
|
|
1313
1449
|
if (m > 40 || m < 60) return "muncher-dropdown--content drop-middle";
|
|
1314
1450
|
}
|
|
1315
1451
|
}
|
|
1316
|
-
switch (
|
|
1452
|
+
switch (d) {
|
|
1317
1453
|
case "left":
|
|
1318
1454
|
return "muncher-dropdown--content drop-left";
|
|
1319
1455
|
case "middle":
|
|
@@ -1328,14 +1464,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1328
1464
|
{
|
|
1329
1465
|
onMouseDown: f,
|
|
1330
1466
|
title: r,
|
|
1331
|
-
disabled:
|
|
1467
|
+
disabled: t,
|
|
1332
1468
|
rounded: a,
|
|
1333
|
-
active:
|
|
1469
|
+
active: c,
|
|
1334
1470
|
variant: n,
|
|
1335
1471
|
size: l,
|
|
1336
1472
|
...g,
|
|
1337
1473
|
children: [
|
|
1338
|
-
|
|
1474
|
+
i,
|
|
1339
1475
|
v ? /* @__PURE__ */ e.jsx(
|
|
1340
1476
|
"span",
|
|
1341
1477
|
{
|
|
@@ -1346,41 +1482,41 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1346
1482
|
]
|
|
1347
1483
|
}
|
|
1348
1484
|
),
|
|
1349
|
-
|
|
1485
|
+
j ? /* @__PURE__ */ e.jsx("div", { className: z(), children: N }) : ""
|
|
1350
1486
|
] });
|
|
1351
1487
|
}, R1 = ({
|
|
1352
1488
|
title: n,
|
|
1353
1489
|
active: l,
|
|
1354
1490
|
disabled: r,
|
|
1355
|
-
element:
|
|
1356
|
-
rounded:
|
|
1357
|
-
dropLeft:
|
|
1491
|
+
element: c,
|
|
1492
|
+
rounded: t,
|
|
1493
|
+
dropLeft: i,
|
|
1358
1494
|
children: o,
|
|
1359
1495
|
...a
|
|
1360
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${
|
|
1496
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${i ? "drop-left" : ""}`, children: [
|
|
1361
1497
|
/* @__PURE__ */ e.jsx(
|
|
1362
1498
|
V,
|
|
1363
1499
|
{
|
|
1364
1500
|
type: "nav",
|
|
1365
1501
|
title: n,
|
|
1366
1502
|
disabled: r,
|
|
1367
|
-
rounded:
|
|
1503
|
+
rounded: t,
|
|
1368
1504
|
active: l,
|
|
1369
1505
|
...a,
|
|
1370
|
-
children:
|
|
1506
|
+
children: c
|
|
1371
1507
|
}
|
|
1372
1508
|
),
|
|
1373
1509
|
/* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
|
|
1374
1510
|
] }), g1 = (n) => {
|
|
1375
1511
|
navigator.clipboard.writeText(n);
|
|
1376
|
-
},
|
|
1512
|
+
}, M1 = ({
|
|
1377
1513
|
text: n,
|
|
1378
1514
|
variant: l = "secondary",
|
|
1379
1515
|
size: r = "small"
|
|
1380
1516
|
}) => {
|
|
1381
|
-
const [
|
|
1382
|
-
g1(n),
|
|
1383
|
-
|
|
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");
|
|
1384
1520
|
}, 2e3);
|
|
1385
1521
|
};
|
|
1386
1522
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -1390,7 +1526,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1390
1526
|
variant: l,
|
|
1391
1527
|
title: a,
|
|
1392
1528
|
onClick: y,
|
|
1393
|
-
children: /* @__PURE__ */ e.jsx(w, { name:
|
|
1529
|
+
children: /* @__PURE__ */ e.jsx(w, { name: i, color: c })
|
|
1394
1530
|
}
|
|
1395
1531
|
);
|
|
1396
1532
|
}, T1 = ({
|
|
@@ -1398,13 +1534,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1398
1534
|
size: l = "medium",
|
|
1399
1535
|
title: r
|
|
1400
1536
|
}) => {
|
|
1401
|
-
const [
|
|
1537
|
+
const [c, t] = H(!1);
|
|
1402
1538
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-share", children: /* @__PURE__ */ e.jsxs(
|
|
1403
1539
|
v1,
|
|
1404
1540
|
{
|
|
1405
1541
|
title: "Share to Social Media",
|
|
1406
|
-
showContent:
|
|
1407
|
-
setShowContent:
|
|
1542
|
+
showContent: c,
|
|
1543
|
+
setShowContent: t,
|
|
1408
1544
|
variant: n,
|
|
1409
1545
|
size: l,
|
|
1410
1546
|
element: /* @__PURE__ */ e.jsx(w, { name: "share", orientation: "right", children: "Share" }),
|
|
@@ -1436,43 +1572,43 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1436
1572
|
children: /* @__PURE__ */ e.jsx(w, { name: "mail" })
|
|
1437
1573
|
}
|
|
1438
1574
|
) }),
|
|
1439
|
-
/* @__PURE__ */ e.jsx(
|
|
1575
|
+
/* @__PURE__ */ e.jsx(M1, { text: window.location.href })
|
|
1440
1576
|
]
|
|
1441
1577
|
}
|
|
1442
1578
|
) });
|
|
1443
|
-
},
|
|
1579
|
+
}, b1 = ({
|
|
1444
1580
|
header: n,
|
|
1445
1581
|
data: l,
|
|
1446
1582
|
filename: r,
|
|
1447
|
-
variant:
|
|
1448
|
-
size:
|
|
1449
|
-
title:
|
|
1583
|
+
variant: c,
|
|
1584
|
+
size: t,
|
|
1585
|
+
title: i,
|
|
1450
1586
|
active: o,
|
|
1451
1587
|
disabled: a,
|
|
1452
|
-
rounded:
|
|
1588
|
+
rounded: d
|
|
1453
1589
|
}) => {
|
|
1454
1590
|
const y = encodeURI("data:text/csv;charset=utf-8," + n.join(",") + `
|
|
1455
|
-
` + l.map((
|
|
1591
|
+
` + l.map((h) => h.join(",")).join(`
|
|
1456
1592
|
`));
|
|
1457
|
-
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" }) }) }) });
|
|
1458
1594
|
}, w1 = ({
|
|
1459
1595
|
variant: n = "transparent",
|
|
1460
1596
|
size: l = "small",
|
|
1461
1597
|
title: r,
|
|
1462
|
-
sortAsc:
|
|
1463
|
-
active:
|
|
1464
|
-
rounded:
|
|
1598
|
+
sortAsc: c = "true",
|
|
1599
|
+
active: t,
|
|
1600
|
+
rounded: i,
|
|
1465
1601
|
onClick: o,
|
|
1466
1602
|
children: a
|
|
1467
1603
|
}) => {
|
|
1468
|
-
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" });
|
|
1469
1605
|
return /* @__PURE__ */ e.jsxs(
|
|
1470
1606
|
V,
|
|
1471
1607
|
{
|
|
1472
1608
|
variant: n,
|
|
1473
1609
|
size: l,
|
|
1474
1610
|
title: r,
|
|
1475
|
-
rounded:
|
|
1611
|
+
rounded: i,
|
|
1476
1612
|
onMouseEnter: () => {
|
|
1477
1613
|
y(!0);
|
|
1478
1614
|
},
|
|
@@ -1482,7 +1618,7 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1482
1618
|
onClick: o,
|
|
1483
1619
|
children: [
|
|
1484
1620
|
a,
|
|
1485
|
-
|
|
1621
|
+
t || d ? /* @__PURE__ */ e.jsx(h, {}) : ""
|
|
1486
1622
|
]
|
|
1487
1623
|
}
|
|
1488
1624
|
);
|
|
@@ -1490,13 +1626,13 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1490
1626
|
direction: n,
|
|
1491
1627
|
size: l = "small",
|
|
1492
1628
|
weight: r,
|
|
1493
|
-
isDisabled:
|
|
1494
|
-
variant:
|
|
1495
|
-
navIcon:
|
|
1629
|
+
isDisabled: c,
|
|
1630
|
+
variant: t = "primary",
|
|
1631
|
+
navIcon: i = "chevron",
|
|
1496
1632
|
onClick: o
|
|
1497
1633
|
}) => {
|
|
1498
1634
|
const a = () => {
|
|
1499
|
-
switch (
|
|
1635
|
+
switch (i) {
|
|
1500
1636
|
case "arrow":
|
|
1501
1637
|
return n === "left" ? "arrow-left" : "arrow-right";
|
|
1502
1638
|
case "skip":
|
|
@@ -1515,27 +1651,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1515
1651
|
V,
|
|
1516
1652
|
{
|
|
1517
1653
|
onClick: o,
|
|
1518
|
-
disabled:
|
|
1654
|
+
disabled: c,
|
|
1519
1655
|
size: "small",
|
|
1520
|
-
variant:
|
|
1656
|
+
variant: t,
|
|
1521
1657
|
title: n === "left" ? "Navigate Left" : "Navigate Right",
|
|
1522
1658
|
children: /* @__PURE__ */ e.jsx(w, { name: a(), size: l, weight: r })
|
|
1523
1659
|
}
|
|
1524
1660
|
)
|
|
1525
1661
|
}
|
|
1526
1662
|
);
|
|
1527
|
-
},
|
|
1663
|
+
}, G = ({ label: n, onClick: l, id: r, required: c = !1 }) => /* @__PURE__ */ e.jsxs("label", { htmlFor: r, onClick: l, children: [
|
|
1528
1664
|
n,
|
|
1529
|
-
|
|
1665
|
+
c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: "*" }) : ""
|
|
1530
1666
|
] }), _1 = ({
|
|
1531
1667
|
name: n,
|
|
1532
1668
|
required: l = !1,
|
|
1533
1669
|
onChange: r,
|
|
1534
|
-
checked:
|
|
1535
|
-
label:
|
|
1536
|
-
...
|
|
1670
|
+
checked: c = !1,
|
|
1671
|
+
label: t,
|
|
1672
|
+
...i
|
|
1537
1673
|
}) => {
|
|
1538
|
-
const [o, a] =
|
|
1674
|
+
const [o, a] = H(c || !1);
|
|
1539
1675
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-checkbox", children: [
|
|
1540
1676
|
/* @__PURE__ */ e.jsx(
|
|
1541
1677
|
"input",
|
|
@@ -1543,27 +1679,27 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1543
1679
|
type: "checkbox",
|
|
1544
1680
|
id: n,
|
|
1545
1681
|
name: n,
|
|
1546
|
-
onChange: (
|
|
1547
|
-
a(
|
|
1682
|
+
onChange: (d) => {
|
|
1683
|
+
a(d.target.checked), r && r();
|
|
1548
1684
|
},
|
|
1549
1685
|
checked: o,
|
|
1550
1686
|
required: l,
|
|
1551
|
-
...
|
|
1687
|
+
...i
|
|
1552
1688
|
}
|
|
1553
1689
|
),
|
|
1554
|
-
|
|
1555
|
-
|
|
1690
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
1691
|
+
G,
|
|
1556
1692
|
{
|
|
1557
|
-
label:
|
|
1693
|
+
label: t,
|
|
1558
1694
|
required: l,
|
|
1559
1695
|
id: n,
|
|
1560
|
-
onClick: (
|
|
1561
|
-
|
|
1696
|
+
onClick: (d) => {
|
|
1697
|
+
d.preventDefault(), a(!o), r && r();
|
|
1562
1698
|
}
|
|
1563
1699
|
}
|
|
1564
1700
|
) : ""
|
|
1565
1701
|
] }) });
|
|
1566
|
-
},
|
|
1702
|
+
}, j1 = ({ size: n, ...l }) => /* @__PURE__ */ e.jsx(
|
|
1567
1703
|
"div",
|
|
1568
1704
|
{
|
|
1569
1705
|
className: n ? "muncher-spinner muncher-spinner-" + n : "muncher-spinner",
|
|
@@ -1573,25 +1709,25 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1573
1709
|
name: n,
|
|
1574
1710
|
label: l,
|
|
1575
1711
|
variant: r = "secondary",
|
|
1576
|
-
size:
|
|
1577
|
-
required:
|
|
1578
|
-
active:
|
|
1712
|
+
size: c = "medium",
|
|
1713
|
+
required: t,
|
|
1714
|
+
active: i,
|
|
1579
1715
|
isUploading: o,
|
|
1580
1716
|
handleOnChange: a,
|
|
1581
|
-
warningMessage:
|
|
1717
|
+
warningMessage: d,
|
|
1582
1718
|
successMessage: y,
|
|
1583
|
-
...
|
|
1719
|
+
...h
|
|
1584
1720
|
}) => {
|
|
1585
|
-
const
|
|
1721
|
+
const j = "muncher-button" + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--" + c : "") + (i ? " muncher-button--active" : ""), u = (v) => {
|
|
1586
1722
|
a && a(v.currentTarget.files[0]);
|
|
1587
1723
|
};
|
|
1588
1724
|
return /* @__PURE__ */ e.jsx("div", { className: "muncher-file-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
|
|
1589
|
-
/* @__PURE__ */ e.jsxs("label", { htmlFor: n, className:
|
|
1725
|
+
/* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: j, children: [
|
|
1590
1726
|
/* @__PURE__ */ e.jsx(w, { name: "upload" }),
|
|
1591
1727
|
" ",
|
|
1592
1728
|
l || "Upload CSV",
|
|
1593
|
-
|
|
1594
|
-
o ? /* @__PURE__ */ e.jsx(
|
|
1729
|
+
t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
|
|
1730
|
+
o ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
|
|
1595
1731
|
] }),
|
|
1596
1732
|
/* @__PURE__ */ e.jsx(
|
|
1597
1733
|
"input",
|
|
@@ -1599,34 +1735,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1599
1735
|
id: n,
|
|
1600
1736
|
type: "file",
|
|
1601
1737
|
className: "muncher-file-input",
|
|
1602
|
-
required:
|
|
1603
|
-
onChange:
|
|
1738
|
+
required: t,
|
|
1739
|
+
onChange: u,
|
|
1604
1740
|
accept: "text/csv",
|
|
1605
|
-
...
|
|
1741
|
+
...h
|
|
1606
1742
|
}
|
|
1607
1743
|
),
|
|
1608
|
-
|
|
1744
|
+
d && d !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: d }) : "",
|
|
1609
1745
|
y && y !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-success", children: y }) : ""
|
|
1610
1746
|
] }) });
|
|
1611
|
-
},
|
|
1747
|
+
}, H1 = ({
|
|
1612
1748
|
name: n,
|
|
1613
1749
|
label: l,
|
|
1614
1750
|
variant: r = "secondary",
|
|
1615
|
-
size:
|
|
1616
|
-
required:
|
|
1617
|
-
active:
|
|
1751
|
+
size: c = "large",
|
|
1752
|
+
required: t,
|
|
1753
|
+
active: i,
|
|
1618
1754
|
setFiles: o,
|
|
1619
1755
|
error: a,
|
|
1620
|
-
multiple:
|
|
1756
|
+
multiple: d = !1,
|
|
1621
1757
|
maxFiles: y,
|
|
1622
|
-
...
|
|
1758
|
+
...h
|
|
1623
1759
|
}) => {
|
|
1624
|
-
const [
|
|
1625
|
-
if (
|
|
1626
|
-
let
|
|
1627
|
-
|
|
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(", "));
|
|
1628
1764
|
} else
|
|
1629
|
-
o(Array.from(C.currentTarget.files[0])),
|
|
1765
|
+
o(Array.from(C.currentTarget.files[0])), u(C.currentTarget.files[0].name);
|
|
1630
1766
|
}, E = () => a && a !== "";
|
|
1631
1767
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-file-input--div", children: [
|
|
1632
1768
|
/* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
|
|
@@ -1634,9 +1770,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1634
1770
|
/* @__PURE__ */ e.jsx(w, { name: "image" }),
|
|
1635
1771
|
" ",
|
|
1636
1772
|
l,
|
|
1637
|
-
|
|
1773
|
+
t ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : ""
|
|
1638
1774
|
] }),
|
|
1639
|
-
/* @__PURE__ */ e.jsx("span", { className: "span-file-name", children:
|
|
1775
|
+
/* @__PURE__ */ e.jsx("span", { className: "span-file-name", children: j }),
|
|
1640
1776
|
/* @__PURE__ */ e.jsx(
|
|
1641
1777
|
"input",
|
|
1642
1778
|
{
|
|
@@ -1645,9 +1781,9 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1645
1781
|
className: "muncher-file-input",
|
|
1646
1782
|
name: n,
|
|
1647
1783
|
onChange: f,
|
|
1648
|
-
multiple:
|
|
1784
|
+
multiple: d,
|
|
1649
1785
|
accept: "image/*",
|
|
1650
|
-
...
|
|
1786
|
+
...h
|
|
1651
1787
|
}
|
|
1652
1788
|
)
|
|
1653
1789
|
] }),
|
|
@@ -1658,16 +1794,16 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1658
1794
|
name: n,
|
|
1659
1795
|
label: l,
|
|
1660
1796
|
required: r,
|
|
1661
|
-
readOnly:
|
|
1662
|
-
icon:
|
|
1663
|
-
hoverIcon:
|
|
1797
|
+
readOnly: c,
|
|
1798
|
+
icon: t,
|
|
1799
|
+
hoverIcon: i,
|
|
1664
1800
|
onHoverIconClick: o,
|
|
1665
1801
|
type: a = "text",
|
|
1666
|
-
list:
|
|
1802
|
+
list: d,
|
|
1667
1803
|
onBlur: y,
|
|
1668
|
-
labelPosition:
|
|
1669
|
-
onKeyDown:
|
|
1670
|
-
error:
|
|
1804
|
+
labelPosition: h = "top",
|
|
1805
|
+
onKeyDown: j,
|
|
1806
|
+
error: u,
|
|
1671
1807
|
focus: v = !1,
|
|
1672
1808
|
placeholder: N,
|
|
1673
1809
|
onChange: g,
|
|
@@ -1675,22 +1811,22 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1675
1811
|
value: f,
|
|
1676
1812
|
maxLength: E,
|
|
1677
1813
|
onEnterPress: C,
|
|
1678
|
-
displayLoader:
|
|
1679
|
-
...
|
|
1814
|
+
displayLoader: z,
|
|
1815
|
+
...M
|
|
1680
1816
|
}) => {
|
|
1681
|
-
const
|
|
1682
|
-
let
|
|
1683
|
-
return (
|
|
1684
|
-
}, m = () => l ? /* @__PURE__ */ e.jsx(
|
|
1685
|
-
|
|
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);
|
|
1686
1822
|
};
|
|
1687
1823
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1688
|
-
|
|
1824
|
+
h !== "side" ? m() : "",
|
|
1689
1825
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-input-element", children: [
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
/* @__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 }),
|
|
1694
1830
|
" "
|
|
1695
1831
|
] }) : "",
|
|
1696
1832
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-input-wrapper", children: [
|
|
@@ -1707,35 +1843,35 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1707
1843
|
placeholder: N,
|
|
1708
1844
|
onChange: g,
|
|
1709
1845
|
required: r,
|
|
1710
|
-
readOnly:
|
|
1711
|
-
list:
|
|
1846
|
+
readOnly: c,
|
|
1847
|
+
list: d,
|
|
1712
1848
|
onKeyDown: k,
|
|
1713
1849
|
onBlur: y,
|
|
1714
1850
|
step: _,
|
|
1715
1851
|
maxLength: E,
|
|
1716
|
-
...
|
|
1852
|
+
...M
|
|
1717
1853
|
}
|
|
1718
1854
|
),
|
|
1719
|
-
|
|
1855
|
+
z ? /* @__PURE__ */ e.jsx(j1, { size: "tiny" }) : ""
|
|
1720
1856
|
] })
|
|
1721
1857
|
] }),
|
|
1722
|
-
|
|
1858
|
+
S() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: u }) }) : ""
|
|
1723
1859
|
] });
|
|
1724
|
-
},
|
|
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: [
|
|
1725
1861
|
/* @__PURE__ */ e.jsx(
|
|
1726
1862
|
"input",
|
|
1727
1863
|
{
|
|
1728
1864
|
type: "radio",
|
|
1729
1865
|
name: n,
|
|
1730
1866
|
onChange: r,
|
|
1731
|
-
checked:
|
|
1732
|
-
...
|
|
1867
|
+
checked: c,
|
|
1868
|
+
...i
|
|
1733
1869
|
}
|
|
1734
1870
|
),
|
|
1735
|
-
|
|
1736
|
-
|
|
1871
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
1872
|
+
G,
|
|
1737
1873
|
{
|
|
1738
|
-
label:
|
|
1874
|
+
label: t,
|
|
1739
1875
|
required: l,
|
|
1740
1876
|
onClick: () => {
|
|
1741
1877
|
r && r();
|
|
@@ -1746,77 +1882,77 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1746
1882
|
name: n,
|
|
1747
1883
|
options: l,
|
|
1748
1884
|
label: r,
|
|
1749
|
-
required:
|
|
1750
|
-
multiple:
|
|
1751
|
-
error:
|
|
1885
|
+
required: c,
|
|
1886
|
+
multiple: t,
|
|
1887
|
+
error: i,
|
|
1752
1888
|
onChange: o,
|
|
1753
1889
|
value: a,
|
|
1754
|
-
...
|
|
1890
|
+
...d
|
|
1755
1891
|
}) => {
|
|
1756
|
-
const y = () =>
|
|
1757
|
-
let
|
|
1758
|
-
return y() && (
|
|
1892
|
+
const y = () => i && i !== "", h = () => {
|
|
1893
|
+
let j = "muncher-input";
|
|
1894
|
+
return y() && (j += " muncher-input-error"), j;
|
|
1759
1895
|
};
|
|
1760
1896
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1761
|
-
r ? /* @__PURE__ */ e.jsx(
|
|
1897
|
+
r ? /* @__PURE__ */ e.jsx(G, { label: r, required: c, id: n }) : "",
|
|
1762
1898
|
/* @__PURE__ */ e.jsx("div", { className: "muncher-input-element", children: /* @__PURE__ */ e.jsxs(
|
|
1763
1899
|
"select",
|
|
1764
1900
|
{
|
|
1765
1901
|
id: n,
|
|
1766
|
-
className:
|
|
1902
|
+
className: h(),
|
|
1767
1903
|
name: n,
|
|
1768
1904
|
value: a,
|
|
1769
1905
|
onChange: o,
|
|
1770
|
-
required:
|
|
1771
|
-
multiple:
|
|
1772
|
-
...
|
|
1906
|
+
required: c,
|
|
1907
|
+
multiple: t,
|
|
1908
|
+
...d,
|
|
1773
1909
|
children: [
|
|
1774
|
-
|
|
1910
|
+
c ? /* @__PURE__ */ e.jsx("option", { value: "", children: "-- Select --" }) : "",
|
|
1775
1911
|
l.map(
|
|
1776
|
-
(
|
|
1912
|
+
(j, u) => /* @__PURE__ */ e.jsx("option", { value: j.value, children: j.label }, `select-option-${u}`)
|
|
1777
1913
|
)
|
|
1778
1914
|
]
|
|
1779
1915
|
}
|
|
1780
1916
|
) }),
|
|
1781
|
-
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 }) }) : ""
|
|
1782
1918
|
] });
|
|
1783
1919
|
}, V1 = ({
|
|
1784
1920
|
name: n,
|
|
1785
1921
|
label: l,
|
|
1786
1922
|
required: r,
|
|
1787
|
-
readOnly:
|
|
1788
|
-
rows:
|
|
1789
|
-
maxLength:
|
|
1923
|
+
readOnly: c = !1,
|
|
1924
|
+
rows: t = 6,
|
|
1925
|
+
maxLength: i = 1e3,
|
|
1790
1926
|
focus: o = !1,
|
|
1791
1927
|
placeholder: a,
|
|
1792
|
-
onChange:
|
|
1928
|
+
onChange: d,
|
|
1793
1929
|
value: y,
|
|
1794
|
-
...
|
|
1930
|
+
...h
|
|
1795
1931
|
}) => {
|
|
1796
|
-
const [
|
|
1797
|
-
|
|
1932
|
+
const [j, u] = H(y), v = (N) => {
|
|
1933
|
+
u(N.target.value), d && d(N);
|
|
1798
1934
|
};
|
|
1799
1935
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-input--div", children: [
|
|
1800
|
-
l ? /* @__PURE__ */ e.jsx(
|
|
1936
|
+
l ? /* @__PURE__ */ e.jsx(G, { label: l, required: r, id: n }) : "",
|
|
1801
1937
|
/* @__PURE__ */ e.jsx(
|
|
1802
1938
|
"textarea",
|
|
1803
1939
|
{
|
|
1804
1940
|
id: n,
|
|
1805
1941
|
className: "muncher-textarea",
|
|
1806
|
-
rows:
|
|
1807
|
-
maxLength:
|
|
1942
|
+
rows: t,
|
|
1943
|
+
maxLength: i,
|
|
1808
1944
|
name: n,
|
|
1809
1945
|
autoFocus: o,
|
|
1810
1946
|
value: y,
|
|
1811
1947
|
placeholder: a,
|
|
1812
1948
|
onChange: v,
|
|
1813
1949
|
required: r,
|
|
1814
|
-
readOnly:
|
|
1815
|
-
...
|
|
1950
|
+
readOnly: c,
|
|
1951
|
+
...h
|
|
1816
1952
|
}
|
|
1817
1953
|
),
|
|
1818
1954
|
/* @__PURE__ */ e.jsxs("p", { children: [
|
|
1819
|
-
|
|
1955
|
+
j ? i ? i - j.length : 1e3 : i,
|
|
1820
1956
|
" characters left"
|
|
1821
1957
|
] })
|
|
1822
1958
|
] });
|
|
@@ -1824,31 +1960,31 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1824
1960
|
name: n = "query",
|
|
1825
1961
|
focus: l = !1,
|
|
1826
1962
|
inputPlaceHolder: r,
|
|
1827
|
-
handleInputChange:
|
|
1828
|
-
showContent:
|
|
1829
|
-
setShowContent:
|
|
1963
|
+
handleInputChange: c,
|
|
1964
|
+
showContent: t = !1,
|
|
1965
|
+
setShowContent: i,
|
|
1830
1966
|
readOnly: o,
|
|
1831
1967
|
value: a,
|
|
1832
|
-
label:
|
|
1968
|
+
label: d,
|
|
1833
1969
|
error: y,
|
|
1834
|
-
required:
|
|
1835
|
-
onEnterPress:
|
|
1836
|
-
list:
|
|
1970
|
+
required: h,
|
|
1971
|
+
onEnterPress: j,
|
|
1972
|
+
list: u,
|
|
1837
1973
|
displayLoader: v,
|
|
1838
1974
|
children: N
|
|
1839
1975
|
}) => {
|
|
1840
|
-
const g =
|
|
1841
|
-
|
|
1842
|
-
}, f =
|
|
1843
|
-
|
|
1844
|
-
}, [
|
|
1976
|
+
const g = h1(null), _ = (C) => {
|
|
1977
|
+
i(!0), c(C.target.value);
|
|
1978
|
+
}, f = q(() => {
|
|
1979
|
+
i(!1);
|
|
1980
|
+
}, [i]), E = q((C) => {
|
|
1845
1981
|
C.keyCode === 27 && f();
|
|
1846
1982
|
}, [f]);
|
|
1847
|
-
return
|
|
1848
|
-
const C = (
|
|
1983
|
+
return Z(() => {
|
|
1984
|
+
const C = (z) => {
|
|
1849
1985
|
if (g && g !== null) {
|
|
1850
|
-
const
|
|
1851
|
-
|
|
1986
|
+
const M = g.current;
|
|
1987
|
+
M && !M.contains(z.target) && f();
|
|
1852
1988
|
}
|
|
1853
1989
|
};
|
|
1854
1990
|
return document.addEventListener("keydown", E, !1), document.addEventListener("mousedown", C), () => {
|
|
@@ -1862,34 +1998,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1862
1998
|
placeholder: r,
|
|
1863
1999
|
name: n,
|
|
1864
2000
|
onChange: _,
|
|
1865
|
-
onEnterPress:
|
|
1866
|
-
list:
|
|
2001
|
+
onEnterPress: j,
|
|
2002
|
+
list: u,
|
|
1867
2003
|
displayLoader: v,
|
|
1868
2004
|
readOnly: o,
|
|
1869
2005
|
value: a,
|
|
1870
|
-
label:
|
|
1871
|
-
required:
|
|
2006
|
+
label: d,
|
|
2007
|
+
required: h,
|
|
1872
2008
|
error: y
|
|
1873
2009
|
}
|
|
1874
2010
|
),
|
|
1875
|
-
|
|
2011
|
+
t ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-drop-down--content", children: N }) : ""
|
|
1876
2012
|
] });
|
|
1877
|
-
}, 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(
|
|
1878
2014
|
w,
|
|
1879
2015
|
{
|
|
1880
2016
|
name: l,
|
|
1881
2017
|
weight: r,
|
|
1882
|
-
size:
|
|
1883
|
-
color:
|
|
1884
|
-
children:
|
|
2018
|
+
size: c,
|
|
2019
|
+
color: t,
|
|
2020
|
+
children: i
|
|
1885
2021
|
}
|
|
1886
|
-
) }), D1 = ({ show: n = !1, setShow: l, children: r, ...
|
|
1887
|
-
const
|
|
1888
|
-
|
|
2022
|
+
) }), D1 = ({ show: n = !1, setShow: l, children: r, ...c }) => {
|
|
2023
|
+
const t = q((i) => {
|
|
2024
|
+
i.keyCode === 27 && l(!1);
|
|
1889
2025
|
}, [l]);
|
|
1890
|
-
return
|
|
1891
|
-
document.removeEventListener("keydown",
|
|
1892
|
-
}), [
|
|
2026
|
+
return Z(() => (document.addEventListener("keydown", t, !1), () => {
|
|
2027
|
+
document.removeEventListener("keydown", t, !1);
|
|
2028
|
+
}), [t]), Z(() => {
|
|
1893
2029
|
n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset";
|
|
1894
2030
|
}, [n]), /* @__PURE__ */ e.jsxs(o1.Fragment, { children: [
|
|
1895
2031
|
/* @__PURE__ */ e.jsx(m1, { show: n, backdropClickHandler: () => l(!1) }),
|
|
@@ -1901,14 +2037,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1901
2037
|
transform: n ? "translateY(0)" : "translateY(-100vh)",
|
|
1902
2038
|
opacity: n ? "1" : "0"
|
|
1903
2039
|
},
|
|
1904
|
-
...
|
|
2040
|
+
...c,
|
|
1905
2041
|
children: r
|
|
1906
2042
|
}
|
|
1907
2043
|
)
|
|
1908
2044
|
] });
|
|
1909
2045
|
}, F1 = ({ showHoverEffect: n, onClick: l, children: r }) => {
|
|
1910
|
-
const
|
|
1911
|
-
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 });
|
|
1912
2048
|
}, I1 = ({ pillCloseHandler: n, children: l, ...r }) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-pill", ...r, children: [
|
|
1913
2049
|
/* @__PURE__ */ e.jsx("div", { className: "close", onClick: n, children: /* @__PURE__ */ e.jsx(w, { name: "close" }) }),
|
|
1914
2050
|
/* @__PURE__ */ e.jsxs("div", { className: "content", children: [
|
|
@@ -1916,83 +2052,83 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
1916
2052
|
l
|
|
1917
2053
|
] })
|
|
1918
2054
|
] }), $1 = ({ value: n, max: l, label: r }) => {
|
|
1919
|
-
const
|
|
1920
|
-
const
|
|
1921
|
-
return r ? r + " " +
|
|
2055
|
+
const c = () => {
|
|
2056
|
+
const t = Math.round(n / l * 100) + "%";
|
|
2057
|
+
return r ? r + " " + t : t;
|
|
1922
2058
|
};
|
|
1923
2059
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-progress", children: [
|
|
1924
|
-
/* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children:
|
|
1925
|
-
/* @__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() })
|
|
1926
2062
|
] });
|
|
1927
2063
|
}, Y1 = ({ variant: n, size: l, style: r }) => {
|
|
1928
|
-
const
|
|
1929
|
-
return /* @__PURE__ */ e.jsx("hr", { className:
|
|
1930
|
-
}, U1 = ({ sliderItems: n, navButtonSize: l = "large", navButtonWeight: r = 2, variant:
|
|
1931
|
-
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(
|
|
1932
2068
|
a1,
|
|
1933
2069
|
{
|
|
1934
2070
|
direction: "left",
|
|
1935
2071
|
size: l,
|
|
1936
|
-
variant:
|
|
1937
|
-
navIcon:
|
|
2072
|
+
variant: c,
|
|
2073
|
+
navIcon: t,
|
|
1938
2074
|
weight: r,
|
|
1939
2075
|
onClick: () => {
|
|
1940
|
-
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));
|
|
1941
2077
|
}
|
|
1942
2078
|
}
|
|
1943
|
-
) : "",
|
|
2079
|
+
) : "", j = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
|
|
1944
2080
|
a1,
|
|
1945
2081
|
{
|
|
1946
2082
|
direction: "right",
|
|
1947
2083
|
size: l,
|
|
1948
2084
|
weight: r,
|
|
1949
|
-
navIcon:
|
|
1950
|
-
variant:
|
|
2085
|
+
navIcon: t,
|
|
2086
|
+
variant: c,
|
|
1951
2087
|
onClick: () => {
|
|
1952
|
-
o === n.length - 1 ? (a(0), y(0)) : (y(
|
|
2088
|
+
o === n.length - 1 ? (a(0), y(0)) : (y(d - 100), a(o + 1));
|
|
1953
2089
|
}
|
|
1954
2090
|
}
|
|
1955
2091
|
) : "";
|
|
1956
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" +
|
|
1957
|
-
|
|
2092
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider-wrapper--" + i, children: [
|
|
2093
|
+
i === "outside" ? h() : "",
|
|
1958
2094
|
/* @__PURE__ */ e.jsxs("div", { className: "muncher-item-slider", children: [
|
|
1959
|
-
|
|
2095
|
+
i === "inside" ? h() : "",
|
|
1960
2096
|
/* @__PURE__ */ e.jsx("div", { className: "slider-container", style: { width: `${100 * n.length}%` }, children: n.map(
|
|
1961
|
-
(
|
|
2097
|
+
(u, v) => /* @__PURE__ */ e.jsx(
|
|
1962
2098
|
"div",
|
|
1963
2099
|
{
|
|
1964
2100
|
className: "slider-item",
|
|
1965
|
-
style: { transform: `translateX(${
|
|
1966
|
-
children:
|
|
2101
|
+
style: { transform: `translateX(${d}%)` },
|
|
2102
|
+
children: u
|
|
1967
2103
|
},
|
|
1968
2104
|
"slider-item" + v
|
|
1969
2105
|
)
|
|
1970
2106
|
) }),
|
|
1971
|
-
|
|
2107
|
+
i === "inside" ? j() : ""
|
|
1972
2108
|
] }),
|
|
1973
|
-
|
|
2109
|
+
i === "outside" ? j() : ""
|
|
1974
2110
|
] });
|
|
1975
2111
|
}, W1 = ({
|
|
1976
2112
|
min: n,
|
|
1977
2113
|
max: l,
|
|
1978
2114
|
minValue: r,
|
|
1979
|
-
maxValue:
|
|
1980
|
-
setMinValue:
|
|
1981
|
-
setMaxValue:
|
|
2115
|
+
maxValue: c,
|
|
2116
|
+
setMinValue: t,
|
|
2117
|
+
setMaxValue: i,
|
|
1982
2118
|
numberFormatter: o = (a) => new Intl.NumberFormat("en-US", {
|
|
1983
2119
|
style: "currency",
|
|
1984
2120
|
currency: "USD"
|
|
1985
2121
|
}).format(a)
|
|
1986
2122
|
}) => {
|
|
1987
|
-
const a = (
|
|
1988
|
-
const
|
|
1989
|
-
|
|
1990
|
-
},
|
|
1991
|
-
const
|
|
1992
|
-
|
|
1993
|
-
}, 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;
|
|
1994
2130
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
|
|
1995
|
-
/* @__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) }) }),
|
|
1996
2132
|
/* @__PURE__ */ e.jsx(
|
|
1997
2133
|
"input",
|
|
1998
2134
|
{
|
|
@@ -2011,8 +2147,8 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2011
2147
|
type: "range",
|
|
2012
2148
|
min: n,
|
|
2013
2149
|
max: l,
|
|
2014
|
-
value:
|
|
2015
|
-
onChange:
|
|
2150
|
+
value: c,
|
|
2151
|
+
onChange: d
|
|
2016
2152
|
}
|
|
2017
2153
|
),
|
|
2018
2154
|
/* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
|
|
@@ -2024,18 +2160,18 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2024
2160
|
min: n,
|
|
2025
2161
|
max: l,
|
|
2026
2162
|
value: r,
|
|
2027
|
-
setValue:
|
|
2028
|
-
numberFormatter:
|
|
2163
|
+
setValue: c,
|
|
2164
|
+
numberFormatter: t = (i) => new Intl.NumberFormat("en-US", {
|
|
2029
2165
|
style: "currency",
|
|
2030
2166
|
currency: "USD"
|
|
2031
|
-
}).format(
|
|
2167
|
+
}).format(i)
|
|
2032
2168
|
}) => {
|
|
2033
|
-
const
|
|
2034
|
-
const
|
|
2035
|
-
|
|
2169
|
+
const i = (a) => t ? t(a) : a, o = (a) => {
|
|
2170
|
+
const d = +a.target.value;
|
|
2171
|
+
c(d);
|
|
2036
2172
|
};
|
|
2037
2173
|
return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
|
|
2038
|
-
/* @__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) }) }),
|
|
2039
2175
|
/* @__PURE__ */ e.jsx(
|
|
2040
2176
|
"input",
|
|
2041
2177
|
{
|
|
@@ -2048,24 +2184,24 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2048
2184
|
}
|
|
2049
2185
|
),
|
|
2050
2186
|
/* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
|
|
2051
|
-
/* @__PURE__ */ e.jsx("div", { className: "slider-min", children:
|
|
2052
|
-
/* @__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) })
|
|
2053
2189
|
] })
|
|
2054
2190
|
] });
|
|
2055
|
-
}, 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 }) }),
|
|
2056
|
-
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 = {
|
|
2057
2193
|
"--r": n
|
|
2058
|
-
},
|
|
2194
|
+
}, i = () => {
|
|
2059
2195
|
let o = "muncher-star";
|
|
2060
2196
|
return l && (o += " star-" + l), r && (o += " star-" + r), o;
|
|
2061
2197
|
};
|
|
2062
|
-
return /* @__PURE__ */ e.jsx("span", { className:
|
|
2063
|
-
},
|
|
2064
|
-
const [r,
|
|
2065
|
-
|
|
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);
|
|
2066
2202
|
};
|
|
2067
2203
|
return /* @__PURE__ */ e.jsxs("section", { className: "muncher-tabs", children: [
|
|
2068
|
-
/* @__PURE__ */ e.jsx("header", { children:
|
|
2204
|
+
/* @__PURE__ */ e.jsx("header", { children: t.map(
|
|
2069
2205
|
(o, a) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
|
|
2070
2206
|
/* @__PURE__ */ e.jsx(
|
|
2071
2207
|
V,
|
|
@@ -2075,15 +2211,15 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2075
2211
|
size: "small",
|
|
2076
2212
|
title: o.headerTitle,
|
|
2077
2213
|
onClick: () => {
|
|
2078
|
-
|
|
2214
|
+
i(a);
|
|
2079
2215
|
},
|
|
2080
2216
|
children: o.header
|
|
2081
2217
|
}
|
|
2082
2218
|
),
|
|
2083
|
-
a !==
|
|
2219
|
+
a !== t.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
|
|
2084
2220
|
] }, "muncher-tab-header" + a)
|
|
2085
2221
|
) }),
|
|
2086
|
-
|
|
2222
|
+
t.map(
|
|
2087
2223
|
(o, a) => /* @__PURE__ */ e.jsx(
|
|
2088
2224
|
"section",
|
|
2089
2225
|
{
|
|
@@ -2098,34 +2234,34 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2098
2234
|
fileName: n,
|
|
2099
2235
|
defaultPageSize: l = 50,
|
|
2100
2236
|
skeleton: r,
|
|
2101
|
-
handleOnUpload:
|
|
2102
|
-
sortBy:
|
|
2103
|
-
excludeDownload:
|
|
2237
|
+
handleOnUpload: c,
|
|
2238
|
+
sortBy: t,
|
|
2239
|
+
excludeDownload: i,
|
|
2104
2240
|
includeUpload: o,
|
|
2105
2241
|
isUploading: a,
|
|
2106
|
-
uploadWarningMessage:
|
|
2242
|
+
uploadWarningMessage: d,
|
|
2107
2243
|
uploadSuccessMessage: y,
|
|
2108
|
-
excludePagination:
|
|
2109
|
-
footer:
|
|
2110
|
-
children:
|
|
2244
|
+
excludePagination: h,
|
|
2245
|
+
footer: j,
|
|
2246
|
+
children: u
|
|
2111
2247
|
}) => {
|
|
2112
|
-
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) => {
|
|
2113
2249
|
_(
|
|
2114
2250
|
(k) => k.index === m ? { ...k, desc: !k.desc } : { index: m }
|
|
2115
2251
|
);
|
|
2116
|
-
},
|
|
2117
|
-
var
|
|
2118
|
-
const m = [...N], k = (
|
|
2252
|
+
}, z = x1(() => {
|
|
2253
|
+
var A;
|
|
2254
|
+
const m = [...N], k = (A = v[g.index]) == null ? void 0 : A.sort;
|
|
2119
2255
|
return k ? m.sort(k) : m.sort((O, X) => {
|
|
2120
2256
|
var $, Y, U, W;
|
|
2121
|
-
const
|
|
2122
|
-
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);
|
|
2123
2259
|
}), g.desc ? m.reverse() : m;
|
|
2124
|
-
}, [N, g, v]),
|
|
2125
|
-
() =>
|
|
2126
|
-
[
|
|
2127
|
-
),
|
|
2128
|
-
(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 ?? "")
|
|
2129
2265
|
);
|
|
2130
2266
|
return /* @__PURE__ */ e.jsxs("section", { className: "muncher-table", children: [
|
|
2131
2267
|
/* @__PURE__ */ e.jsx("div", { className: "row head", children: v.map(
|
|
@@ -2147,26 +2283,26 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2147
2283
|
`row-head-${k}`
|
|
2148
2284
|
)
|
|
2149
2285
|
) }),
|
|
2150
|
-
r ||
|
|
2151
|
-
(
|
|
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(
|
|
2152
2288
|
"div",
|
|
2153
2289
|
{
|
|
2154
2290
|
className: v[O].visibility ? "col main" : "col",
|
|
2155
|
-
children:
|
|
2291
|
+
children: A.content
|
|
2156
2292
|
},
|
|
2157
2293
|
`row-col-${k}-${O}`
|
|
2158
2294
|
)
|
|
2159
2295
|
) }, `row-${k}`)),
|
|
2160
|
-
|
|
2296
|
+
j ?? null,
|
|
2161
2297
|
/* @__PURE__ */ e.jsxs("div", { className: "row-footer", children: [
|
|
2162
2298
|
/* @__PURE__ */ e.jsxs("div", { className: "row-footer-buttons", children: [
|
|
2163
|
-
!
|
|
2164
|
-
|
|
2299
|
+
!i && /* @__PURE__ */ e.jsx(
|
|
2300
|
+
b1,
|
|
2165
2301
|
{
|
|
2166
2302
|
filename: n ?? "download",
|
|
2167
2303
|
variant: "secondary",
|
|
2168
2304
|
title: "Download",
|
|
2169
|
-
header:
|
|
2305
|
+
header: S,
|
|
2170
2306
|
data: P
|
|
2171
2307
|
}
|
|
2172
2308
|
),
|
|
@@ -2174,14 +2310,14 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2174
2310
|
N1,
|
|
2175
2311
|
{
|
|
2176
2312
|
name: "csv-input-file",
|
|
2177
|
-
handleOnChange:
|
|
2313
|
+
handleOnChange: c,
|
|
2178
2314
|
isUploading: a,
|
|
2179
|
-
warningMessage:
|
|
2315
|
+
warningMessage: d,
|
|
2180
2316
|
successMessage: y
|
|
2181
2317
|
}
|
|
2182
2318
|
)
|
|
2183
2319
|
] }),
|
|
2184
|
-
!
|
|
2320
|
+
!h && /* @__PURE__ */ e.jsxs("div", { className: "pagination", children: [
|
|
2185
2321
|
/* @__PURE__ */ e.jsxs("div", { className: "left", children: [
|
|
2186
2322
|
"Rows:",
|
|
2187
2323
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2232,40 +2368,40 @@ const A1 = ({ variant: n, collapsed: l, children: r }) => {
|
|
|
2232
2368
|
] });
|
|
2233
2369
|
};
|
|
2234
2370
|
export {
|
|
2235
|
-
|
|
2371
|
+
z1 as Accordion,
|
|
2236
2372
|
m1 as Backdrop,
|
|
2237
2373
|
f1 as Badge,
|
|
2238
2374
|
V as Button,
|
|
2239
2375
|
_1 as Checkbox,
|
|
2240
|
-
|
|
2241
|
-
|
|
2376
|
+
M1 as CopyButton,
|
|
2377
|
+
b1 as CsvButton,
|
|
2242
2378
|
N1 as CsvInput,
|
|
2243
2379
|
v1 as DropdownButton,
|
|
2244
2380
|
R1 as DropdownNavButton,
|
|
2245
2381
|
J1 as Featured,
|
|
2246
2382
|
Y1 as Hr,
|
|
2247
2383
|
w as Icon,
|
|
2248
|
-
|
|
2249
|
-
|
|
2384
|
+
A1 as IconBadge,
|
|
2385
|
+
H1 as ImageInput,
|
|
2250
2386
|
k1 as Input,
|
|
2251
2387
|
U1 as ItemSlider,
|
|
2252
|
-
|
|
2388
|
+
G as Label,
|
|
2253
2389
|
P1 as Li,
|
|
2254
2390
|
D1 as Modal,
|
|
2255
2391
|
a1 as NavigateButton,
|
|
2256
2392
|
F1 as Paper,
|
|
2257
2393
|
I1 as Pill,
|
|
2258
2394
|
$1 as Progress,
|
|
2259
|
-
|
|
2395
|
+
S1 as Radio,
|
|
2260
2396
|
W1 as RangeSlider,
|
|
2261
2397
|
C1 as Select,
|
|
2262
2398
|
T1 as ShareButton,
|
|
2263
2399
|
B1 as Slider,
|
|
2264
2400
|
w1 as SortButton,
|
|
2265
|
-
|
|
2266
|
-
|
|
2401
|
+
j1 as Spinner,
|
|
2402
|
+
q1 as Star,
|
|
2267
2403
|
X1 as Table,
|
|
2268
|
-
|
|
2404
|
+
G1 as Tabs,
|
|
2269
2405
|
L1 as TextInputDropdown,
|
|
2270
2406
|
V1 as Textarea,
|
|
2271
2407
|
O1 as Ul,
|