@umami/react-zen 0.120.0 → 0.122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +81 -105
- package/dist/index.d.mts +14 -48
- package/dist/index.d.ts +14 -48
- package/dist/index.js +728 -750
- package/dist/index.mjs +725 -747
- package/package.json +1 -1
- package/styles.css +81 -105
package/dist/index.mjs
CHANGED
|
@@ -29,15 +29,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
import __import_react from "react";
|
|
30
30
|
var require_use_sync_external_store_shim_production = __commonJS({
|
|
31
31
|
"node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports) {
|
|
32
|
-
var
|
|
32
|
+
var React5 = __import_react;
|
|
33
33
|
function is2(x, y) {
|
|
34
34
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
35
35
|
}
|
|
36
36
|
var objectIs = "function" === typeof Object.is ? Object.is : is2;
|
|
37
|
-
var useState18 =
|
|
38
|
-
var useEffect13 =
|
|
39
|
-
var useLayoutEffect3 =
|
|
40
|
-
var useDebugValue =
|
|
37
|
+
var useState18 = React5.useState;
|
|
38
|
+
var useEffect13 = React5.useEffect;
|
|
39
|
+
var useLayoutEffect3 = React5.useLayoutEffect;
|
|
40
|
+
var useDebugValue = React5.useDebugValue;
|
|
41
41
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
42
42
|
var value = getSnapshot(), _useState = useState18({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
43
43
|
useLayoutEffect3(
|
|
@@ -74,7 +74,7 @@ var require_use_sync_external_store_shim_production = __commonJS({
|
|
|
74
74
|
return getSnapshot();
|
|
75
75
|
}
|
|
76
76
|
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
77
|
-
exports.useSyncExternalStore = void 0 !==
|
|
77
|
+
exports.useSyncExternalStore = void 0 !== React5.useSyncExternalStore ? React5.useSyncExternalStore : shim;
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
|
|
@@ -87,7 +87,7 @@ var require_use_sync_external_store_shim_development = __commonJS({
|
|
|
87
87
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
88
88
|
}
|
|
89
89
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
90
|
-
didWarnOld18Alpha || void 0 ===
|
|
90
|
+
didWarnOld18Alpha || void 0 === React5.startTransition || (didWarnOld18Alpha = true, console.error(
|
|
91
91
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
92
92
|
));
|
|
93
93
|
var value = getSnapshot();
|
|
@@ -135,8 +135,8 @@ var require_use_sync_external_store_shim_development = __commonJS({
|
|
|
135
135
|
return getSnapshot();
|
|
136
136
|
}
|
|
137
137
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
138
|
-
var
|
|
139
|
-
exports.useSyncExternalStore = void 0 !==
|
|
138
|
+
var React5 = __import_react2, objectIs = "function" === typeof Object.is ? Object.is : is2, useState18 = React5.useState, useEffect13 = React5.useEffect, useLayoutEffect3 = React5.useLayoutEffect, useDebugValue = React5.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
139
|
+
exports.useSyncExternalStore = void 0 !== React5.useSyncExternalStore ? React5.useSyncExternalStore : shim;
|
|
140
140
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
141
141
|
})();
|
|
142
142
|
}
|
|
@@ -25228,11 +25228,254 @@ function useForm(props = {}) {
|
|
|
25228
25228
|
}
|
|
25229
25229
|
|
|
25230
25230
|
// src/components/forms/Form.tsx
|
|
25231
|
-
var
|
|
25231
|
+
var import_classnames3 = __toESM(require_classnames());
|
|
25232
25232
|
|
|
25233
25233
|
// src/components/AlertBanner.tsx
|
|
25234
25234
|
var import_classnames2 = __toESM(require_classnames());
|
|
25235
|
-
import { createElement } from "react";
|
|
25235
|
+
import { createElement as createElement3 } from "react";
|
|
25236
|
+
|
|
25237
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
25238
|
+
import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
|
|
25239
|
+
|
|
25240
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
25241
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
25242
|
+
var toCamelCase = (string) => string.replace(
|
|
25243
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
25244
|
+
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
25245
|
+
);
|
|
25246
|
+
var toPascalCase = (string) => {
|
|
25247
|
+
const camelCase = toCamelCase(string);
|
|
25248
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
25249
|
+
};
|
|
25250
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
25251
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
25252
|
+
}).join(" ").trim();
|
|
25253
|
+
var hasA11yProp = (props) => {
|
|
25254
|
+
for (const prop in props) {
|
|
25255
|
+
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
25256
|
+
return true;
|
|
25257
|
+
}
|
|
25258
|
+
}
|
|
25259
|
+
};
|
|
25260
|
+
|
|
25261
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
25262
|
+
import { forwardRef, createElement } from "react";
|
|
25263
|
+
|
|
25264
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
25265
|
+
var defaultAttributes = {
|
|
25266
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25267
|
+
width: 24,
|
|
25268
|
+
height: 24,
|
|
25269
|
+
viewBox: "0 0 24 24",
|
|
25270
|
+
fill: "none",
|
|
25271
|
+
stroke: "currentColor",
|
|
25272
|
+
strokeWidth: 2,
|
|
25273
|
+
strokeLinecap: "round",
|
|
25274
|
+
strokeLinejoin: "round"
|
|
25275
|
+
};
|
|
25276
|
+
|
|
25277
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
25278
|
+
var Icon = forwardRef(
|
|
25279
|
+
({
|
|
25280
|
+
color = "currentColor",
|
|
25281
|
+
size = 24,
|
|
25282
|
+
strokeWidth = 2,
|
|
25283
|
+
absoluteStrokeWidth,
|
|
25284
|
+
className = "",
|
|
25285
|
+
children,
|
|
25286
|
+
iconNode,
|
|
25287
|
+
...rest
|
|
25288
|
+
}, ref) => createElement(
|
|
25289
|
+
"svg",
|
|
25290
|
+
{
|
|
25291
|
+
ref,
|
|
25292
|
+
...defaultAttributes,
|
|
25293
|
+
width: size,
|
|
25294
|
+
height: size,
|
|
25295
|
+
stroke: color,
|
|
25296
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
25297
|
+
className: mergeClasses("lucide", className),
|
|
25298
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
25299
|
+
...rest
|
|
25300
|
+
},
|
|
25301
|
+
[
|
|
25302
|
+
...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
|
|
25303
|
+
...Array.isArray(children) ? children : [children]
|
|
25304
|
+
]
|
|
25305
|
+
)
|
|
25306
|
+
);
|
|
25307
|
+
|
|
25308
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
25309
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
25310
|
+
const Component = forwardRef2(
|
|
25311
|
+
({ className, ...props }, ref) => createElement2(Icon, {
|
|
25312
|
+
ref,
|
|
25313
|
+
iconNode,
|
|
25314
|
+
className: mergeClasses(
|
|
25315
|
+
`lucide-${toKebabCase(toPascalCase(iconName))}`,
|
|
25316
|
+
`lucide-${iconName}`,
|
|
25317
|
+
className
|
|
25318
|
+
),
|
|
25319
|
+
...props
|
|
25320
|
+
})
|
|
25321
|
+
);
|
|
25322
|
+
Component.displayName = toPascalCase(iconName);
|
|
25323
|
+
return Component;
|
|
25324
|
+
};
|
|
25325
|
+
|
|
25326
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js
|
|
25327
|
+
var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
25328
|
+
var Check = createLucideIcon("check", __iconNode);
|
|
25329
|
+
|
|
25330
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
25331
|
+
var __iconNode2 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
25332
|
+
var ChevronRight = createLucideIcon("chevron-right", __iconNode2);
|
|
25333
|
+
|
|
25334
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/copy.js
|
|
25335
|
+
var __iconNode3 = [
|
|
25336
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
25337
|
+
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
25338
|
+
];
|
|
25339
|
+
var Copy = createLucideIcon("copy", __iconNode3);
|
|
25340
|
+
|
|
25341
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/info.js
|
|
25342
|
+
var __iconNode4 = [
|
|
25343
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
25344
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
25345
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
25346
|
+
];
|
|
25347
|
+
var Info = createLucideIcon("info", __iconNode4);
|
|
25348
|
+
|
|
25349
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/minus.js
|
|
25350
|
+
var __iconNode5 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
25351
|
+
var Minus = createLucideIcon("minus", __iconNode5);
|
|
25352
|
+
|
|
25353
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/moon.js
|
|
25354
|
+
var __iconNode6 = [
|
|
25355
|
+
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
|
|
25356
|
+
];
|
|
25357
|
+
var Moon = createLucideIcon("moon", __iconNode6);
|
|
25358
|
+
|
|
25359
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/search.js
|
|
25360
|
+
var __iconNode7 = [
|
|
25361
|
+
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
25362
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
25363
|
+
];
|
|
25364
|
+
var Search = createLucideIcon("search", __iconNode7);
|
|
25365
|
+
|
|
25366
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/square-pen.js
|
|
25367
|
+
var __iconNode8 = [
|
|
25368
|
+
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
25369
|
+
[
|
|
25370
|
+
"path",
|
|
25371
|
+
{
|
|
25372
|
+
d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",
|
|
25373
|
+
key: "ohrbg2"
|
|
25374
|
+
}
|
|
25375
|
+
]
|
|
25376
|
+
];
|
|
25377
|
+
var SquarePen = createLucideIcon("square-pen", __iconNode8);
|
|
25378
|
+
|
|
25379
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/sun.js
|
|
25380
|
+
var __iconNode9 = [
|
|
25381
|
+
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
25382
|
+
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
25383
|
+
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
25384
|
+
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
25385
|
+
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
25386
|
+
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
25387
|
+
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
25388
|
+
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
25389
|
+
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
25390
|
+
];
|
|
25391
|
+
var Sun = createLucideIcon("sun", __iconNode9);
|
|
25392
|
+
|
|
25393
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
25394
|
+
var __iconNode10 = [
|
|
25395
|
+
[
|
|
25396
|
+
"path",
|
|
25397
|
+
{
|
|
25398
|
+
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
25399
|
+
key: "wmoenq"
|
|
25400
|
+
}
|
|
25401
|
+
],
|
|
25402
|
+
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
25403
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
25404
|
+
];
|
|
25405
|
+
var TriangleAlert = createLucideIcon("triangle-alert", __iconNode10);
|
|
25406
|
+
|
|
25407
|
+
// node_modules/.pnpm/lucide-react@0.511.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/x.js
|
|
25408
|
+
var __iconNode11 = [
|
|
25409
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
25410
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
25411
|
+
];
|
|
25412
|
+
var X = createLucideIcon("x", __iconNode11);
|
|
25413
|
+
|
|
25414
|
+
// src/components/svg/EyeSlash.tsx
|
|
25415
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25416
|
+
var SvgEyeSlash = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", ...props, children: [
|
|
25417
|
+
/* @__PURE__ */ jsx("path", { fill: "none", d: "M0 0h256v256H0z" }),
|
|
25418
|
+
/* @__PURE__ */ jsx(
|
|
25419
|
+
"path",
|
|
25420
|
+
{
|
|
25421
|
+
fill: "none",
|
|
25422
|
+
stroke: "currentColor",
|
|
25423
|
+
strokeLinecap: "round",
|
|
25424
|
+
strokeLinejoin: "round",
|
|
25425
|
+
strokeWidth: 16,
|
|
25426
|
+
d: "m48 40 160 176M154.91 157.6a40 40 0 0 1-53.82-59.2M135.53 88.71a40 40 0 0 1 32.3 35.53"
|
|
25427
|
+
}
|
|
25428
|
+
),
|
|
25429
|
+
/* @__PURE__ */ jsx(
|
|
25430
|
+
"path",
|
|
25431
|
+
{
|
|
25432
|
+
fill: "none",
|
|
25433
|
+
stroke: "currentColor",
|
|
25434
|
+
strokeLinecap: "round",
|
|
25435
|
+
strokeLinejoin: "round",
|
|
25436
|
+
strokeWidth: 16,
|
|
25437
|
+
d: "M208.61 169.1C230.41 149.58 240 128 240 128s-32-72-112-72a126 126 0 0 0-20.68 1.68M74 68.6C33.23 89.24 16 128 16 128s32 72 112 72a118.05 118.05 0 0 0 54-12.6"
|
|
25438
|
+
}
|
|
25439
|
+
)
|
|
25440
|
+
] });
|
|
25441
|
+
var EyeSlash_default = SvgEyeSlash;
|
|
25442
|
+
|
|
25443
|
+
// src/components/svg/Eye.tsx
|
|
25444
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
25445
|
+
var SvgEye = (props) => /* @__PURE__ */ jsxs2("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", ...props, children: [
|
|
25446
|
+
/* @__PURE__ */ jsx2("path", { fill: "none", d: "M0 0h256v256H0z" }),
|
|
25447
|
+
/* @__PURE__ */ jsx2(
|
|
25448
|
+
"path",
|
|
25449
|
+
{
|
|
25450
|
+
fill: "none",
|
|
25451
|
+
stroke: "currentColor",
|
|
25452
|
+
strokeLinecap: "round",
|
|
25453
|
+
strokeLinejoin: "round",
|
|
25454
|
+
strokeWidth: 16,
|
|
25455
|
+
d: "M128 56c-80 0-112 72-112 72s32 72 112 72 112-72 112-72-32-72-112-72"
|
|
25456
|
+
}
|
|
25457
|
+
),
|
|
25458
|
+
/* @__PURE__ */ jsx2(
|
|
25459
|
+
"circle",
|
|
25460
|
+
{
|
|
25461
|
+
cx: 128,
|
|
25462
|
+
cy: 128,
|
|
25463
|
+
r: 40,
|
|
25464
|
+
fill: "none",
|
|
25465
|
+
stroke: "currentColor",
|
|
25466
|
+
strokeLinecap: "round",
|
|
25467
|
+
strokeLinejoin: "round",
|
|
25468
|
+
strokeWidth: 16
|
|
25469
|
+
}
|
|
25470
|
+
)
|
|
25471
|
+
] });
|
|
25472
|
+
var Eye_default = SvgEye;
|
|
25473
|
+
|
|
25474
|
+
// src/components/svg/Github.tsx
|
|
25475
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
25476
|
+
|
|
25477
|
+
// src/components/svg/Logo.tsx
|
|
25478
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
25236
25479
|
|
|
25237
25480
|
// src/components/Icon.tsx
|
|
25238
25481
|
var import_classnames = __toESM(require_classnames());
|
|
@@ -25405,8 +25648,8 @@ function Slot({
|
|
|
25405
25648
|
var Icon_default = { "icon": "Icon_icon__NzNmN", "xs": "Icon_xs__MDhiY", "sm": "Icon_sm__ZWU0N", "md": "Icon_md__YTY3Y", "lg": "Icon_lg__ZGJlZ", "xl": "Icon_xl__MDU3Y" };
|
|
25406
25649
|
|
|
25407
25650
|
// src/components/Icon.tsx
|
|
25408
|
-
import { jsx } from "react/jsx-runtime";
|
|
25409
|
-
function
|
|
25651
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
25652
|
+
function Icon2({
|
|
25410
25653
|
color,
|
|
25411
25654
|
size = "sm",
|
|
25412
25655
|
variant,
|
|
@@ -25424,7 +25667,7 @@ function Icon({
|
|
|
25424
25667
|
fillColor,
|
|
25425
25668
|
color
|
|
25426
25669
|
});
|
|
25427
|
-
return /* @__PURE__ */
|
|
25670
|
+
return /* @__PURE__ */ jsx5(
|
|
25428
25671
|
Slot,
|
|
25429
25672
|
{
|
|
25430
25673
|
...props,
|
|
@@ -25440,259 +25683,15 @@ function Icon({
|
|
|
25440
25683
|
);
|
|
25441
25684
|
}
|
|
25442
25685
|
|
|
25443
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/lib/iconBase.mjs
|
|
25444
|
-
import React3 from "react";
|
|
25445
|
-
|
|
25446
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/lib/iconContext.mjs
|
|
25447
|
-
import React2 from "react";
|
|
25448
|
-
var DefaultContext = {
|
|
25449
|
-
color: void 0,
|
|
25450
|
-
size: void 0,
|
|
25451
|
-
className: void 0,
|
|
25452
|
-
style: void 0,
|
|
25453
|
-
attr: void 0
|
|
25454
|
-
};
|
|
25455
|
-
var IconContext = React2.createContext && /* @__PURE__ */ React2.createContext(DefaultContext);
|
|
25456
|
-
|
|
25457
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/lib/iconBase.mjs
|
|
25458
|
-
var _excluded = ["attr", "size", "title"];
|
|
25459
|
-
function _objectWithoutProperties(source, excluded) {
|
|
25460
|
-
if (source == null) return {};
|
|
25461
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
25462
|
-
var key, i;
|
|
25463
|
-
if (Object.getOwnPropertySymbols) {
|
|
25464
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
25465
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
25466
|
-
key = sourceSymbolKeys[i];
|
|
25467
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
25468
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
25469
|
-
target[key] = source[key];
|
|
25470
|
-
}
|
|
25471
|
-
}
|
|
25472
|
-
return target;
|
|
25473
|
-
}
|
|
25474
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
25475
|
-
if (source == null) return {};
|
|
25476
|
-
var target = {};
|
|
25477
|
-
for (var key in source) {
|
|
25478
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
25479
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
25480
|
-
target[key] = source[key];
|
|
25481
|
-
}
|
|
25482
|
-
}
|
|
25483
|
-
return target;
|
|
25484
|
-
}
|
|
25485
|
-
function _extends() {
|
|
25486
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
25487
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
25488
|
-
var source = arguments[i];
|
|
25489
|
-
for (var key in source) {
|
|
25490
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
25491
|
-
target[key] = source[key];
|
|
25492
|
-
}
|
|
25493
|
-
}
|
|
25494
|
-
}
|
|
25495
|
-
return target;
|
|
25496
|
-
};
|
|
25497
|
-
return _extends.apply(this, arguments);
|
|
25498
|
-
}
|
|
25499
|
-
function ownKeys(e, r2) {
|
|
25500
|
-
var t = Object.keys(e);
|
|
25501
|
-
if (Object.getOwnPropertySymbols) {
|
|
25502
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
25503
|
-
r2 && (o = o.filter(function(r3) {
|
|
25504
|
-
return Object.getOwnPropertyDescriptor(e, r3).enumerable;
|
|
25505
|
-
})), t.push.apply(t, o);
|
|
25506
|
-
}
|
|
25507
|
-
return t;
|
|
25508
|
-
}
|
|
25509
|
-
function _objectSpread(e) {
|
|
25510
|
-
for (var r2 = 1; r2 < arguments.length; r2++) {
|
|
25511
|
-
var t = null != arguments[r2] ? arguments[r2] : {};
|
|
25512
|
-
r2 % 2 ? ownKeys(Object(t), true).forEach(function(r3) {
|
|
25513
|
-
_defineProperty(e, r3, t[r3]);
|
|
25514
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r3) {
|
|
25515
|
-
Object.defineProperty(e, r3, Object.getOwnPropertyDescriptor(t, r3));
|
|
25516
|
-
});
|
|
25517
|
-
}
|
|
25518
|
-
return e;
|
|
25519
|
-
}
|
|
25520
|
-
function _defineProperty(obj, key, value) {
|
|
25521
|
-
key = _toPropertyKey(key);
|
|
25522
|
-
if (key in obj) {
|
|
25523
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
25524
|
-
} else {
|
|
25525
|
-
obj[key] = value;
|
|
25526
|
-
}
|
|
25527
|
-
return obj;
|
|
25528
|
-
}
|
|
25529
|
-
function _toPropertyKey(t) {
|
|
25530
|
-
var i = _toPrimitive(t, "string");
|
|
25531
|
-
return "symbol" == typeof i ? i : i + "";
|
|
25532
|
-
}
|
|
25533
|
-
function _toPrimitive(t, r2) {
|
|
25534
|
-
if ("object" != typeof t || !t) return t;
|
|
25535
|
-
var e = t[Symbol.toPrimitive];
|
|
25536
|
-
if (void 0 !== e) {
|
|
25537
|
-
var i = e.call(t, r2 || "default");
|
|
25538
|
-
if ("object" != typeof i) return i;
|
|
25539
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25540
|
-
}
|
|
25541
|
-
return ("string" === r2 ? String : Number)(t);
|
|
25542
|
-
}
|
|
25543
|
-
function Tree2Element(tree) {
|
|
25544
|
-
return tree && tree.map((node, i) => /* @__PURE__ */ React3.createElement(node.tag, _objectSpread({
|
|
25545
|
-
key: i
|
|
25546
|
-
}, node.attr), Tree2Element(node.child)));
|
|
25547
|
-
}
|
|
25548
|
-
function GenIcon(data) {
|
|
25549
|
-
return (props) => /* @__PURE__ */ React3.createElement(IconBase, _extends({
|
|
25550
|
-
attr: _objectSpread({}, data.attr)
|
|
25551
|
-
}, props), Tree2Element(data.child));
|
|
25552
|
-
}
|
|
25553
|
-
function IconBase(props) {
|
|
25554
|
-
var elem = (conf) => {
|
|
25555
|
-
var {
|
|
25556
|
-
attr,
|
|
25557
|
-
size,
|
|
25558
|
-
title
|
|
25559
|
-
} = props, svgProps = _objectWithoutProperties(props, _excluded);
|
|
25560
|
-
var computedSize = size || conf.size || "1em";
|
|
25561
|
-
var className;
|
|
25562
|
-
if (conf.className) className = conf.className;
|
|
25563
|
-
if (props.className) className = (className ? className + " " : "") + props.className;
|
|
25564
|
-
return /* @__PURE__ */ React3.createElement("svg", _extends({
|
|
25565
|
-
stroke: "currentColor",
|
|
25566
|
-
fill: "currentColor",
|
|
25567
|
-
strokeWidth: "0"
|
|
25568
|
-
}, conf.attr, attr, svgProps, {
|
|
25569
|
-
className,
|
|
25570
|
-
style: _objectSpread(_objectSpread({
|
|
25571
|
-
color: props.color || conf.color
|
|
25572
|
-
}, conf.style), props.style),
|
|
25573
|
-
height: computedSize,
|
|
25574
|
-
width: computedSize,
|
|
25575
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
25576
|
-
}), title && /* @__PURE__ */ React3.createElement("title", null, title), props.children);
|
|
25577
|
-
};
|
|
25578
|
-
return IconContext !== void 0 ? /* @__PURE__ */ React3.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
|
|
25579
|
-
}
|
|
25580
|
-
|
|
25581
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/pi/index.mjs
|
|
25582
|
-
function PiEyeLight(props) {
|
|
25583
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z" }, "child": [] }] })(props);
|
|
25584
|
-
}
|
|
25585
|
-
function PiEyeSlashLight(props) {
|
|
25586
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z" }, "child": [] }] })(props);
|
|
25587
|
-
}
|
|
25588
|
-
function PiArrowRight(props) {
|
|
25589
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z" }, "child": [] }] })(props);
|
|
25590
|
-
}
|
|
25591
|
-
function PiTrash(props) {
|
|
25592
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 256 256", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z" }, "child": [] }] })(props);
|
|
25593
|
-
}
|
|
25594
|
-
|
|
25595
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/hi/index.mjs
|
|
25596
|
-
function HiOutlineMenu(props) {
|
|
25597
|
-
return GenIcon({ "tag": "svg", "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M4 6h16M4 12h16M4 18h16" }, "child": [] }] })(props);
|
|
25598
|
-
}
|
|
25599
|
-
|
|
25600
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/hi2/index.mjs
|
|
25601
|
-
function HiMagnifyingGlass(props) {
|
|
25602
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
25603
|
-
}
|
|
25604
|
-
|
|
25605
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/md/index.mjs
|
|
25606
|
-
function MdLogout(props) {
|
|
25607
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" }, "child": [] }, { "tag": "path", "attr": { "d": "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z" }, "child": [] }] })(props);
|
|
25608
|
-
}
|
|
25609
|
-
function MdArrowForwardIos(props) {
|
|
25610
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0V0z" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z" }, "child": [] }] })(props);
|
|
25611
|
-
}
|
|
25612
|
-
function MdCheck(props) {
|
|
25613
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" }, "child": [] }, { "tag": "path", "attr": { "d": "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, "child": [] }] })(props);
|
|
25614
|
-
}
|
|
25615
|
-
function MdMoreHoriz(props) {
|
|
25616
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" }, "child": [] }, { "tag": "path", "attr": { "d": "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, "child": [] }] })(props);
|
|
25617
|
-
}
|
|
25618
|
-
function MdRefresh(props) {
|
|
25619
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" }, "child": [] }] })(props);
|
|
25620
|
-
}
|
|
25621
|
-
|
|
25622
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/ai/index.mjs
|
|
25623
|
-
function AiOutlineClose(props) {
|
|
25624
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 1024 1024", "fill": "currentColor", "fillRule": "evenodd" }, "child": [{ "tag": "path", "attr": { "d": "M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926 224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512 166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z" }, "child": [] }] })(props);
|
|
25625
|
-
}
|
|
25626
|
-
function AiOutlineMinus(props) {
|
|
25627
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 1024 1024" }, "child": [{ "tag": "path", "attr": { "d": "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" }, "child": [] }] })(props);
|
|
25628
|
-
}
|
|
25629
|
-
function AiOutlinePlus(props) {
|
|
25630
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 1024 1024" }, "child": [{ "tag": "path", "attr": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8Z" }, "child": [] }, { "tag": "path", "attr": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8Z" }, "child": [] }] })(props);
|
|
25631
|
-
}
|
|
25632
|
-
|
|
25633
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/bi/index.mjs
|
|
25634
|
-
function BiEditAlt(props) {
|
|
25635
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M19.045 7.401c.378-.378.586-.88.586-1.414s-.208-1.036-.586-1.414l-1.586-1.586c-.378-.378-.88-.586-1.414-.586s-1.036.208-1.413.585L4 13.585V18h4.413L19.045 7.401zm-3-3 1.587 1.585-1.59 1.584-1.586-1.585 1.589-1.584zM6 16v-1.585l7.04-7.018 1.586 1.586L7.587 16H6zm-2 4h16v2H4z" }, "child": [] }] })(props);
|
|
25636
|
-
}
|
|
25637
|
-
|
|
25638
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/go/index.mjs
|
|
25639
|
-
function GoAlert(props) {
|
|
25640
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M13 17.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8.25a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0v-4.5Z" }, "child": [] }, { "tag": "path", "attr": { "d": "M9.836 3.244c.963-1.665 3.365-1.665 4.328 0l8.967 15.504c.963 1.667-.24 3.752-2.165 3.752H3.034c-1.926 0-3.128-2.085-2.165-3.752Zm3.03.751a1.002 1.002 0 0 0-1.732 0L2.168 19.499A1.002 1.002 0 0 0 3.034 21h17.932a1.002 1.002 0 0 0 .866-1.5L12.866 3.994Z" }, "child": [] }] })(props);
|
|
25641
|
-
}
|
|
25642
|
-
function GoInfo(props) {
|
|
25643
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "d": "M13 7.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3 3.75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v4.25h.75a.75.75 0 0 1 0 1.5h-3a.75.75 0 0 1 0-1.5h.75V12h-.75a.75.75 0 0 1-.75-.75Z" }, "child": [] }, { "tag": "path", "attr": { "d": "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Z" }, "child": [] }] })(props);
|
|
25644
|
-
}
|
|
25645
|
-
|
|
25646
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/rx/index.mjs
|
|
25647
|
-
function RxCopy(props) {
|
|
25648
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 15 15", "fill": "none" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "clipRule": "evenodd", "d": "M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z", "fill": "currentColor" }, "child": [] }] })(props);
|
|
25649
|
-
}
|
|
25650
|
-
function RxExternalLink(props) {
|
|
25651
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 15 15", "fill": "none" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "clipRule": "evenodd", "d": "M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z", "fill": "currentColor" }, "child": [] }] })(props);
|
|
25652
|
-
}
|
|
25653
|
-
|
|
25654
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/lu/index.mjs
|
|
25655
|
-
function LuMoon(props) {
|
|
25656
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" }, "child": [] }] })(props);
|
|
25657
|
-
}
|
|
25658
|
-
function LuPanelLeft(props) {
|
|
25659
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "rect", "attr": { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, "child": [] }, { "tag": "path", "attr": { "d": "M9 3v18" }, "child": [] }] })(props);
|
|
25660
|
-
}
|
|
25661
|
-
function LuSun(props) {
|
|
25662
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "4" }, "child": [] }, { "tag": "path", "attr": { "d": "M12 2v2" }, "child": [] }, { "tag": "path", "attr": { "d": "M12 20v2" }, "child": [] }, { "tag": "path", "attr": { "d": "m4.93 4.93 1.41 1.41" }, "child": [] }, { "tag": "path", "attr": { "d": "m17.66 17.66 1.41 1.41" }, "child": [] }, { "tag": "path", "attr": { "d": "M2 12h2" }, "child": [] }, { "tag": "path", "attr": { "d": "M20 12h2" }, "child": [] }, { "tag": "path", "attr": { "d": "m6.34 17.66-1.41 1.41" }, "child": [] }, { "tag": "path", "attr": { "d": "m19.07 4.93-1.41 1.41" }, "child": [] }] })(props);
|
|
25663
|
-
}
|
|
25664
|
-
|
|
25665
|
-
// src/components/Icons.tsx
|
|
25666
|
-
var Icons = {
|
|
25667
|
-
Moon: LuMoon,
|
|
25668
|
-
Sun: LuSun,
|
|
25669
|
-
Alert: GoAlert,
|
|
25670
|
-
Arrow: PiArrowRight,
|
|
25671
|
-
Check: MdCheck,
|
|
25672
|
-
Chevron: MdArrowForwardIos,
|
|
25673
|
-
Close: AiOutlineClose,
|
|
25674
|
-
Copy: RxCopy,
|
|
25675
|
-
Edit: BiEditAlt,
|
|
25676
|
-
ExternalLink: RxExternalLink,
|
|
25677
|
-
Eye: PiEyeLight,
|
|
25678
|
-
EyeSlash: PiEyeSlashLight,
|
|
25679
|
-
Info: GoInfo,
|
|
25680
|
-
Logout: MdLogout,
|
|
25681
|
-
MagnifyingGlass: HiMagnifyingGlass,
|
|
25682
|
-
Menu: HiOutlineMenu,
|
|
25683
|
-
Minus: AiOutlineMinus,
|
|
25684
|
-
More: MdMoreHoriz,
|
|
25685
|
-
PanelLeft: LuPanelLeft,
|
|
25686
|
-
Plus: AiOutlinePlus,
|
|
25687
|
-
Refresh: MdRefresh,
|
|
25688
|
-
Trash: PiTrash
|
|
25689
|
-
};
|
|
25690
|
-
|
|
25691
25686
|
// css-modules:E:\dev\umami-react-zen\src\components\AlertBanner.module.css
|
|
25692
25687
|
var AlertBanner_default = { "banner": "AlertBanner_banner__NDQ0Z", "message": "AlertBanner_message__MzQ3Y", "title": "AlertBanner_title__MDI0M", "close": "AlertBanner_close__YzE5M", "error": "AlertBanner_error__NDVmM", "start": "AlertBanner_start__YTlmZ", "end": "AlertBanner_end__ZmJlM", "center": "AlertBanner_center__Y2ZmN" };
|
|
25693
25688
|
|
|
25694
25689
|
// src/components/AlertBanner.tsx
|
|
25695
|
-
import { jsx as
|
|
25690
|
+
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
25691
|
+
var AlertIcons = {
|
|
25692
|
+
error: TriangleAlert,
|
|
25693
|
+
info: Info
|
|
25694
|
+
};
|
|
25696
25695
|
function AlertBanner({
|
|
25697
25696
|
title,
|
|
25698
25697
|
description,
|
|
@@ -25705,7 +25704,7 @@ function AlertBanner({
|
|
|
25705
25704
|
className,
|
|
25706
25705
|
...props
|
|
25707
25706
|
}) {
|
|
25708
|
-
return /* @__PURE__ */
|
|
25707
|
+
return /* @__PURE__ */ jsxs4(
|
|
25709
25708
|
"div",
|
|
25710
25709
|
{
|
|
25711
25710
|
...props,
|
|
@@ -25716,28 +25715,105 @@ function AlertBanner({
|
|
|
25716
25715
|
align && AlertBanner_default[align]
|
|
25717
25716
|
),
|
|
25718
25717
|
children: [
|
|
25719
|
-
(icon || variant) && /* @__PURE__ */
|
|
25720
|
-
/* @__PURE__ */
|
|
25721
|
-
title && /* @__PURE__ */
|
|
25722
|
-
description && /* @__PURE__ */
|
|
25718
|
+
(icon || variant) && /* @__PURE__ */ jsx6(Icon2, { size: "sm", children: variant ? createElement3(AlertIcons[variant]) : icon }),
|
|
25719
|
+
/* @__PURE__ */ jsxs4("div", { className: AlertBanner_default.message, children: [
|
|
25720
|
+
title && /* @__PURE__ */ jsx6("div", { className: AlertBanner_default.title, children: title }),
|
|
25721
|
+
description && /* @__PURE__ */ jsx6("div", { className: AlertBanner_default.description, children: description })
|
|
25723
25722
|
] }),
|
|
25724
25723
|
children,
|
|
25725
|
-
allowClose && /* @__PURE__ */
|
|
25724
|
+
allowClose && /* @__PURE__ */ jsx6(Icon2, { className: AlertBanner_default.close, onClick: onClose, children: /* @__PURE__ */ jsx6(X, {}) })
|
|
25726
25725
|
]
|
|
25727
25726
|
}
|
|
25728
25727
|
);
|
|
25729
25728
|
}
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25729
|
+
|
|
25730
|
+
// css-modules:E:\dev\umami-react-zen\src\components\forms\Form.module.css
|
|
25731
|
+
var Form_default = { "form": "Form_form__ZTBhZ", "text": "Form_text__ZjUwN", "icon": "Form_icon__YTRiZ" };
|
|
25732
|
+
|
|
25733
|
+
// src/components/forms/Form.tsx
|
|
25734
|
+
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
25735
|
+
function Form({
|
|
25736
|
+
autoComplete,
|
|
25737
|
+
onSubmit,
|
|
25738
|
+
error,
|
|
25739
|
+
preventSubmit = false,
|
|
25740
|
+
// useForm props
|
|
25741
|
+
mode,
|
|
25742
|
+
disabled,
|
|
25743
|
+
reValidateMode,
|
|
25744
|
+
defaultValues,
|
|
25745
|
+
values,
|
|
25746
|
+
errors,
|
|
25747
|
+
resetOptions,
|
|
25748
|
+
resolver,
|
|
25749
|
+
context,
|
|
25750
|
+
shouldFocusError,
|
|
25751
|
+
shouldUnregister,
|
|
25752
|
+
shouldUseNativeValidation,
|
|
25753
|
+
progressive,
|
|
25754
|
+
criteriaMode,
|
|
25755
|
+
delayError,
|
|
25756
|
+
// Element props
|
|
25757
|
+
className,
|
|
25758
|
+
children,
|
|
25759
|
+
...props
|
|
25760
|
+
}) {
|
|
25761
|
+
const formValues = useForm({
|
|
25762
|
+
mode,
|
|
25763
|
+
disabled,
|
|
25764
|
+
reValidateMode,
|
|
25765
|
+
defaultValues,
|
|
25766
|
+
values,
|
|
25767
|
+
errors,
|
|
25768
|
+
resetOptions,
|
|
25769
|
+
resolver,
|
|
25770
|
+
context,
|
|
25771
|
+
shouldFocusError,
|
|
25772
|
+
shouldUnregister,
|
|
25773
|
+
shouldUseNativeValidation,
|
|
25774
|
+
progressive,
|
|
25775
|
+
criteriaMode,
|
|
25776
|
+
delayError
|
|
25777
|
+
});
|
|
25778
|
+
const { handleSubmit } = formValues;
|
|
25779
|
+
const onKeyDown = !onSubmit || preventSubmit ? (e) => e.key === "Enter" && e.preventDefault() : void 0;
|
|
25780
|
+
useEffect2(() => {
|
|
25781
|
+
formValues.reset(values);
|
|
25782
|
+
}, [values]);
|
|
25783
|
+
useEffect2(() => {
|
|
25784
|
+
if (formValues.formState.isSubmitted) {
|
|
25785
|
+
formValues.reset(void 0, { keepDirty: true, keepValues: true });
|
|
25786
|
+
}
|
|
25787
|
+
}, [error]);
|
|
25788
|
+
return /* @__PURE__ */ jsxs5(FormProvider, { ...formValues, children: [
|
|
25789
|
+
error && /* @__PURE__ */ jsx7(
|
|
25790
|
+
AlertBanner,
|
|
25791
|
+
{
|
|
25792
|
+
variant: "error",
|
|
25793
|
+
align: "center",
|
|
25794
|
+
title: error instanceof Error ? error?.message : error
|
|
25795
|
+
}
|
|
25796
|
+
),
|
|
25797
|
+
/* @__PURE__ */ jsx7(
|
|
25798
|
+
"form",
|
|
25799
|
+
{
|
|
25800
|
+
...props,
|
|
25801
|
+
autoComplete,
|
|
25802
|
+
className: (0, import_classnames3.default)(Form_default.form, className),
|
|
25803
|
+
onSubmit: onSubmit ? handleSubmit(onSubmit) : void 0,
|
|
25804
|
+
onKeyDown,
|
|
25805
|
+
children: typeof children === "function" ? children(formValues) : children
|
|
25806
|
+
}
|
|
25807
|
+
)
|
|
25808
|
+
] });
|
|
25809
|
+
}
|
|
25734
25810
|
|
|
25735
25811
|
// src/components/Flexbox.tsx
|
|
25736
|
-
var
|
|
25812
|
+
var import_classnames5 = __toESM(require_classnames());
|
|
25737
25813
|
|
|
25738
25814
|
// src/components/Box.tsx
|
|
25739
|
-
var
|
|
25740
|
-
import { jsx as
|
|
25815
|
+
var import_classnames4 = __toESM(require_classnames());
|
|
25816
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
25741
25817
|
function Box({
|
|
25742
25818
|
display,
|
|
25743
25819
|
color,
|
|
@@ -25850,11 +25926,11 @@ function Box({
|
|
|
25850
25926
|
gridColumn,
|
|
25851
25927
|
order
|
|
25852
25928
|
});
|
|
25853
|
-
return /* @__PURE__ */
|
|
25929
|
+
return /* @__PURE__ */ jsx8(
|
|
25854
25930
|
Component,
|
|
25855
25931
|
{
|
|
25856
25932
|
...props,
|
|
25857
|
-
className: (0,
|
|
25933
|
+
className: (0, import_classnames4.default)(className, classes, theme && `${theme}-theme`),
|
|
25858
25934
|
style: {
|
|
25859
25935
|
...styleProps,
|
|
25860
25936
|
...style
|
|
@@ -25865,7 +25941,7 @@ function Box({
|
|
|
25865
25941
|
}
|
|
25866
25942
|
|
|
25867
25943
|
// src/components/Flexbox.tsx
|
|
25868
|
-
import { jsx as
|
|
25944
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
25869
25945
|
function Flexbox({
|
|
25870
25946
|
display = "flex",
|
|
25871
25947
|
direction,
|
|
@@ -25894,105 +25970,19 @@ function Flexbox({
|
|
|
25894
25970
|
gapX,
|
|
25895
25971
|
gapY
|
|
25896
25972
|
});
|
|
25897
|
-
return /* @__PURE__ */
|
|
25898
|
-
}
|
|
25899
|
-
|
|
25900
|
-
// src/components/Column.tsx
|
|
25901
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
25902
|
-
function Column({ reverse, children, ...props }) {
|
|
25903
|
-
return /* @__PURE__ */ jsx5(Flexbox, { ...props, direction: reverse ? "column-reverse" : "column", children });
|
|
25904
|
-
}
|
|
25905
|
-
|
|
25906
|
-
// css-modules:E:\dev\umami-react-zen\src\components\forms\Form.module.css
|
|
25907
|
-
var Form_default = { "form": "Form_form__ZjMwZ", "text": "Form_text__NDc1Y", "icon": "Form_icon__ZGE1Z" };
|
|
25908
|
-
|
|
25909
|
-
// src/components/forms/Form.tsx
|
|
25910
|
-
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
25911
|
-
function Form({
|
|
25912
|
-
gap = "3",
|
|
25913
|
-
autoComplete,
|
|
25914
|
-
onSubmit,
|
|
25915
|
-
error,
|
|
25916
|
-
preventSubmit = false,
|
|
25917
|
-
mode,
|
|
25918
|
-
disabled,
|
|
25919
|
-
reValidateMode,
|
|
25920
|
-
defaultValues,
|
|
25921
|
-
values,
|
|
25922
|
-
errors,
|
|
25923
|
-
resetOptions,
|
|
25924
|
-
resolver,
|
|
25925
|
-
context,
|
|
25926
|
-
shouldFocusError,
|
|
25927
|
-
shouldUnregister,
|
|
25928
|
-
shouldUseNativeValidation,
|
|
25929
|
-
progressive,
|
|
25930
|
-
criteriaMode,
|
|
25931
|
-
delayError,
|
|
25932
|
-
className,
|
|
25933
|
-
children,
|
|
25934
|
-
...props
|
|
25935
|
-
}) {
|
|
25936
|
-
const formValues = useForm({
|
|
25937
|
-
mode,
|
|
25938
|
-
disabled,
|
|
25939
|
-
reValidateMode,
|
|
25940
|
-
defaultValues,
|
|
25941
|
-
values,
|
|
25942
|
-
errors,
|
|
25943
|
-
resetOptions,
|
|
25944
|
-
resolver,
|
|
25945
|
-
context,
|
|
25946
|
-
shouldFocusError,
|
|
25947
|
-
shouldUnregister,
|
|
25948
|
-
shouldUseNativeValidation,
|
|
25949
|
-
progressive,
|
|
25950
|
-
criteriaMode,
|
|
25951
|
-
delayError
|
|
25952
|
-
});
|
|
25953
|
-
const { handleSubmit } = formValues;
|
|
25954
|
-
const onKeyDown = !onSubmit || preventSubmit ? (e) => e.key === "Enter" && e.preventDefault() : void 0;
|
|
25955
|
-
useEffect2(() => {
|
|
25956
|
-
formValues.reset(values);
|
|
25957
|
-
}, [values]);
|
|
25958
|
-
useEffect2(() => {
|
|
25959
|
-
if (formValues.formState.isSubmitted) {
|
|
25960
|
-
formValues.reset(void 0, { keepDirty: true, keepValues: true });
|
|
25961
|
-
}
|
|
25962
|
-
}, [error]);
|
|
25963
|
-
return /* @__PURE__ */ jsxs2(FormProvider, { ...formValues, children: [
|
|
25964
|
-
error && /* @__PURE__ */ jsx6(
|
|
25965
|
-
AlertBanner,
|
|
25966
|
-
{
|
|
25967
|
-
variant: "error",
|
|
25968
|
-
align: "center",
|
|
25969
|
-
title: error instanceof Error ? error?.message : error
|
|
25970
|
-
}
|
|
25971
|
-
),
|
|
25972
|
-
/* @__PURE__ */ jsx6(
|
|
25973
|
-
"form",
|
|
25974
|
-
{
|
|
25975
|
-
...props,
|
|
25976
|
-
autoComplete,
|
|
25977
|
-
className: (0, import_classnames5.default)(Form_default.form, className),
|
|
25978
|
-
onSubmit: onSubmit ? handleSubmit(onSubmit) : void 0,
|
|
25979
|
-
onKeyDown,
|
|
25980
|
-
children: /* @__PURE__ */ jsx6(Column, { gap, children: typeof children === "function" ? children(formValues) : children })
|
|
25981
|
-
}
|
|
25982
|
-
)
|
|
25983
|
-
] });
|
|
25973
|
+
return /* @__PURE__ */ jsx9(Box, { ...props, className: (0, import_classnames5.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
25984
25974
|
}
|
|
25985
25975
|
|
|
25986
25976
|
// src/components/Row.tsx
|
|
25987
|
-
import { jsx as
|
|
25977
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
25988
25978
|
function Row({ reverse, children, ...props }) {
|
|
25989
|
-
return /* @__PURE__ */
|
|
25979
|
+
return /* @__PURE__ */ jsx10(Flexbox, { ...props, direction: reverse ? "row-reverse" : "row", children });
|
|
25990
25980
|
}
|
|
25991
25981
|
|
|
25992
25982
|
// src/components/forms/FormButtons.tsx
|
|
25993
|
-
import { jsx as
|
|
25983
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
25994
25984
|
function FormButtons({ fill, children, ...props }) {
|
|
25995
|
-
return /* @__PURE__ */
|
|
25985
|
+
return /* @__PURE__ */ jsx11(Row, { paddingTop: "3", gap: "3", justifyContent: "flex-end", ...props, children });
|
|
25996
25986
|
}
|
|
25997
25987
|
|
|
25998
25988
|
// src/components/forms/FormField.tsx
|
|
@@ -26003,7 +25993,7 @@ var import_classnames6 = __toESM(require_classnames());
|
|
|
26003
25993
|
var FormField_default = { "field": "FormField_field__YTM1N", "description": "FormField_description__ZjFiM", "error": "FormField_error__NWZhM" };
|
|
26004
25994
|
|
|
26005
25995
|
// src/components/forms/FormField.tsx
|
|
26006
|
-
import { jsx as
|
|
25996
|
+
import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
26007
25997
|
function FormField({
|
|
26008
25998
|
name,
|
|
26009
25999
|
description,
|
|
@@ -26019,13 +26009,13 @@ function FormField({
|
|
|
26019
26009
|
const { field } = controller;
|
|
26020
26010
|
const errors = formState?.errors || {};
|
|
26021
26011
|
const errorMessage = errors[name]?.message;
|
|
26022
|
-
return /* @__PURE__ */
|
|
26023
|
-
|
|
26024
|
-
children,
|
|
26012
|
+
return /* @__PURE__ */ jsxs6("div", { ...props, className: (0, import_classnames6.default)(FormField_default.input, className), children: [
|
|
26013
|
+
Children.map(
|
|
26014
|
+
typeof children === "function" ? children({ context, controller }) : children,
|
|
26025
26015
|
(child) => child ? cloneElement2(child, { ...field, label: child.props.label || label }) : null
|
|
26026
26016
|
),
|
|
26027
|
-
description && /* @__PURE__ */
|
|
26028
|
-
errorMessage && /* @__PURE__ */
|
|
26017
|
+
description && /* @__PURE__ */ jsx12("div", { className: FormField_default.description, children: description }),
|
|
26018
|
+
errorMessage && /* @__PURE__ */ jsx12("div", { className: FormField_default.error, children: errorMessage })
|
|
26029
26019
|
] });
|
|
26030
26020
|
}
|
|
26031
26021
|
|
|
@@ -26036,7 +26026,7 @@ var import_classnames7 = __toESM(require_classnames());
|
|
|
26036
26026
|
var Button_default = { "button": "Button_button__NDYwM", "primary": "Button_primary__OWE0M", "outline": "Button_outline__NTQyN", "quiet": "Button_quiet__NDFjM", "danger": "Button_danger__NDUzM", "sm": "Button_sm__NTVjM", "md": "Button_md__NDE4O", "lg": "Button_lg__NTU4O", "xl": "Button_xl__NjFkM" };
|
|
26037
26027
|
|
|
26038
26028
|
// src/components/Button.tsx
|
|
26039
|
-
import { jsx as
|
|
26029
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
26040
26030
|
function Button2({
|
|
26041
26031
|
variant = "secondary",
|
|
26042
26032
|
size = "md",
|
|
@@ -26048,7 +26038,7 @@ function Button2({
|
|
|
26048
26038
|
}) {
|
|
26049
26039
|
const Component = asChild ? Slot : $d2b4bc8c273e7be6$export$353f5b6fc5456de1;
|
|
26050
26040
|
const buttonProps = Component === $d2b4bc8c273e7be6$export$353f5b6fc5456de1 ? { preventFocusOnPress } : void 0;
|
|
26051
|
-
return /* @__PURE__ */
|
|
26041
|
+
return /* @__PURE__ */ jsx13(
|
|
26052
26042
|
Component,
|
|
26053
26043
|
{
|
|
26054
26044
|
...props,
|
|
@@ -26065,14 +26055,14 @@ function Button2({
|
|
|
26065
26055
|
}
|
|
26066
26056
|
|
|
26067
26057
|
// src/components/forms/FormResetButton.tsx
|
|
26068
|
-
import { jsx as
|
|
26058
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
26069
26059
|
function FormResetButton({ values = {}, children, onPress, ...props }) {
|
|
26070
26060
|
const { reset } = useFormContext();
|
|
26071
26061
|
const handleReset = (e) => {
|
|
26072
26062
|
reset(values);
|
|
26073
26063
|
onPress?.(e);
|
|
26074
26064
|
};
|
|
26075
|
-
return /* @__PURE__ */
|
|
26065
|
+
return /* @__PURE__ */ jsx14(Button2, { ...props, type: "reset", onPress: handleReset, children });
|
|
26076
26066
|
}
|
|
26077
26067
|
|
|
26078
26068
|
// src/components/Spinner.tsx
|
|
@@ -26082,10 +26072,10 @@ var import_classnames8 = __toESM(require_classnames());
|
|
|
26082
26072
|
var Spinner_default = { "spinner": "Spinner_spinner__MmRhN", "spinner-rotate": "Spinner_spinner-rotate__MDI2M", "track": "Spinner_track__ODIyN", "fill": "Spinner_fill__OGY5Y", "spinner-dash": "Spinner_spinner-dash__ZDE2N", "size-sm": "Spinner_size-sm__YWEwM", "size-md": "Spinner_size-md__NThiM", "size-lg": "Spinner_size-lg__MDEzN", "size-xl": "Spinner_size-xl__ZTNkN", "quiet": "Spinner_quiet__ZGJlM", "disabled": "Spinner_disabled__YjdjY" };
|
|
26083
26073
|
|
|
26084
26074
|
// src/components/Spinner.tsx
|
|
26085
|
-
import { jsx as
|
|
26075
|
+
import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
26086
26076
|
function Spinner(props) {
|
|
26087
26077
|
const { size = "lg", quiet, className, isDisabled, ...domProps } = props;
|
|
26088
|
-
return /* @__PURE__ */
|
|
26078
|
+
return /* @__PURE__ */ jsx15(
|
|
26089
26079
|
"div",
|
|
26090
26080
|
{
|
|
26091
26081
|
...domProps,
|
|
@@ -26093,16 +26083,16 @@ function Spinner(props) {
|
|
|
26093
26083
|
[Spinner_default.quiet]: quiet,
|
|
26094
26084
|
[Spinner_default.disabled]: isDisabled
|
|
26095
26085
|
}),
|
|
26096
|
-
children: /* @__PURE__ */
|
|
26097
|
-
/* @__PURE__ */
|
|
26098
|
-
/* @__PURE__ */
|
|
26086
|
+
children: /* @__PURE__ */ jsxs7("svg", { viewBox: "25 25 50 50", children: [
|
|
26087
|
+
/* @__PURE__ */ jsx15("circle", { className: Spinner_default.track, cx: "50", cy: "50", r: "20" }),
|
|
26088
|
+
/* @__PURE__ */ jsx15("circle", { className: Spinner_default.fill, cx: "50", cy: "50", r: "20" })
|
|
26099
26089
|
] })
|
|
26100
26090
|
}
|
|
26101
26091
|
);
|
|
26102
26092
|
}
|
|
26103
26093
|
|
|
26104
26094
|
// src/components/LoadingButton.tsx
|
|
26105
|
-
import { jsx as
|
|
26095
|
+
import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
26106
26096
|
function LoadingButton({
|
|
26107
26097
|
isLoading,
|
|
26108
26098
|
isDisabled,
|
|
@@ -26110,14 +26100,14 @@ function LoadingButton({
|
|
|
26110
26100
|
children,
|
|
26111
26101
|
...props
|
|
26112
26102
|
}) {
|
|
26113
|
-
return /* @__PURE__ */
|
|
26114
|
-
isLoading && /* @__PURE__ */
|
|
26103
|
+
return /* @__PURE__ */ jsxs8(Button2, { ...props, isDisabled, children: [
|
|
26104
|
+
isLoading && /* @__PURE__ */ jsx16(Icon2, { size: "sm", children: /* @__PURE__ */ jsx16(Spinner, { isDisabled }) }),
|
|
26115
26105
|
showText && children
|
|
26116
26106
|
] });
|
|
26117
26107
|
}
|
|
26118
26108
|
|
|
26119
26109
|
// src/components/forms/FormSubmitButton.tsx
|
|
26120
|
-
import { jsx as
|
|
26110
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
26121
26111
|
function FormSubmitButton({
|
|
26122
26112
|
variant = "primary",
|
|
26123
26113
|
isDisabled,
|
|
@@ -26128,7 +26118,7 @@ function FormSubmitButton({
|
|
|
26128
26118
|
const {
|
|
26129
26119
|
formState: { isDirty, isValid, isSubmitting, isSubmitted, isSubmitSuccessful }
|
|
26130
26120
|
} = useFormContext();
|
|
26131
|
-
return /* @__PURE__ */
|
|
26121
|
+
return /* @__PURE__ */ jsx17(
|
|
26132
26122
|
LoadingButton,
|
|
26133
26123
|
{
|
|
26134
26124
|
...props,
|
|
@@ -26148,7 +26138,7 @@ var import_classnames9 = __toESM(require_classnames());
|
|
|
26148
26138
|
var Toast_default = { "toast": "Toast_toast__YjU0N", "icon": "Toast_icon__YmFhZ", "title": "Toast_title__OGRhM", "description": "Toast_description__MDBkN", "action": "Toast_action__MjUxO", "close": "Toast_close__ZDVjN", "info": "Toast_info__ZDRhY", "error": "Toast_error__NmEwO" };
|
|
26149
26139
|
|
|
26150
26140
|
// src/components/toast/Toast.tsx
|
|
26151
|
-
import { jsx as
|
|
26141
|
+
import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
26152
26142
|
var TOAST_CLOSE_ACTION = "close";
|
|
26153
26143
|
function Toast({
|
|
26154
26144
|
id,
|
|
@@ -26163,21 +26153,21 @@ function Toast({
|
|
|
26163
26153
|
...props
|
|
26164
26154
|
}) {
|
|
26165
26155
|
const hasActions = actions?.length > 0;
|
|
26166
|
-
return /* @__PURE__ */
|
|
26167
|
-
title && /* @__PURE__ */
|
|
26168
|
-
message && /* @__PURE__ */
|
|
26156
|
+
return /* @__PURE__ */ jsxs9("div", { ...props, className: (0, import_classnames9.default)(Toast_default.toast, className, variant && Toast_default[variant]), children: [
|
|
26157
|
+
title && /* @__PURE__ */ jsx18("div", { className: Toast_default.title, children: title }),
|
|
26158
|
+
message && /* @__PURE__ */ jsx18("div", { className: Toast_default.description, children: message }),
|
|
26169
26159
|
hasActions && actions.map((action) => {
|
|
26170
|
-
return /* @__PURE__ */
|
|
26160
|
+
return /* @__PURE__ */ jsx18(Button2, { className: Toast_default.action, onPress: () => onClose?.(action), children: action }, action);
|
|
26171
26161
|
}),
|
|
26172
|
-
!hasActions && allowClose && /* @__PURE__ */
|
|
26173
|
-
|
|
26162
|
+
!hasActions && allowClose && /* @__PURE__ */ jsx18(
|
|
26163
|
+
Icon2,
|
|
26174
26164
|
{
|
|
26175
26165
|
size: "sm",
|
|
26176
26166
|
"aria-hidden": true,
|
|
26177
26167
|
className: Toast_default.close,
|
|
26178
26168
|
"aria-label": "Close",
|
|
26179
26169
|
onClick: () => onClose?.(TOAST_CLOSE_ACTION),
|
|
26180
|
-
children: /* @__PURE__ */
|
|
26170
|
+
children: /* @__PURE__ */ jsx18(X, {})
|
|
26181
26171
|
}
|
|
26182
26172
|
)
|
|
26183
26173
|
] });
|
|
@@ -27185,8 +27175,8 @@ function usePrev(value) {
|
|
|
27185
27175
|
import { useContext as useContext2, useMemo, useRef as useRef6 } from "react";
|
|
27186
27176
|
|
|
27187
27177
|
// node_modules/.pnpm/@react-spring+animated@9.7.5_react@19.1.0/node_modules/@react-spring/animated/dist/react-spring_animated.modern.mjs
|
|
27188
|
-
import * as
|
|
27189
|
-
import { forwardRef, useRef as useRef5, useCallback, useEffect as useEffect5 } from "react";
|
|
27178
|
+
import * as React2 from "react";
|
|
27179
|
+
import { forwardRef as forwardRef3, useRef as useRef5, useCallback, useEffect as useEffect5 } from "react";
|
|
27190
27180
|
var $node = Symbol.for("Animated:node");
|
|
27191
27181
|
var isAnimated = (value) => !!value && value[$node] === value;
|
|
27192
27182
|
var getAnimated = (owner) => owner && owner[$node];
|
|
@@ -27373,7 +27363,7 @@ var withAnimated = (Component, host2) => {
|
|
|
27373
27363
|
// re-rendered on every animation frame.
|
|
27374
27364
|
!is.fun(Component) || Component.prototype && Component.prototype.isReactComponent
|
|
27375
27365
|
);
|
|
27376
|
-
return
|
|
27366
|
+
return forwardRef3((givenProps, givenRef) => {
|
|
27377
27367
|
const instanceRef = useRef5(null);
|
|
27378
27368
|
const ref = hasInstance && // eslint-disable-next-line react-hooks/rules-of-hooks
|
|
27379
27369
|
useCallback(
|
|
@@ -27415,7 +27405,7 @@ var withAnimated = (Component, host2) => {
|
|
|
27415
27405
|
each(observer2.deps, (dep) => removeFluidObserver(dep, observer2));
|
|
27416
27406
|
});
|
|
27417
27407
|
const usedProps = host2.getComponentProps(props.getValue());
|
|
27418
|
-
return /* @__PURE__ */
|
|
27408
|
+
return /* @__PURE__ */ React2.createElement(Component, { ...usedProps, ref });
|
|
27419
27409
|
});
|
|
27420
27410
|
};
|
|
27421
27411
|
var PropsObserver = class {
|
|
@@ -27484,7 +27474,7 @@ var createHost = (components, {
|
|
|
27484
27474
|
var getDisplayName = (arg) => is.str(arg) ? arg : arg && is.str(arg.displayName) ? arg.displayName : is.fun(arg) && arg.name || null;
|
|
27485
27475
|
|
|
27486
27476
|
// node_modules/.pnpm/@react-spring+core@9.7.5_react@19.1.0/node_modules/@react-spring/core/dist/react-spring_core.modern.mjs
|
|
27487
|
-
import * as
|
|
27477
|
+
import * as React3 from "react";
|
|
27488
27478
|
import { useContext } from "react";
|
|
27489
27479
|
import { useState as useState4 } from "react";
|
|
27490
27480
|
import * as React22 from "react";
|
|
@@ -28952,13 +28942,13 @@ var SpringContext = ({
|
|
|
28952
28942
|
const pause = props.pause || !!inherited.pause, immediate = props.immediate || !!inherited.immediate;
|
|
28953
28943
|
props = useMemoOne(() => ({ pause, immediate }), [pause, immediate]);
|
|
28954
28944
|
const { Provider } = ctx;
|
|
28955
|
-
return /* @__PURE__ */
|
|
28945
|
+
return /* @__PURE__ */ React3.createElement(Provider, { value: props }, children);
|
|
28956
28946
|
};
|
|
28957
28947
|
var ctx = makeContext(SpringContext, {});
|
|
28958
28948
|
SpringContext.Provider = ctx.Provider;
|
|
28959
28949
|
SpringContext.Consumer = ctx.Consumer;
|
|
28960
28950
|
function makeContext(target, init) {
|
|
28961
|
-
Object.assign(target,
|
|
28951
|
+
Object.assign(target, React3.createContext(init));
|
|
28962
28952
|
target.Provider._context = target;
|
|
28963
28953
|
target.Consumer._context = target;
|
|
28964
28954
|
return target;
|
|
@@ -29785,15 +29775,15 @@ var createStoreImpl = (createState) => {
|
|
|
29785
29775
|
var createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
29786
29776
|
|
|
29787
29777
|
// node_modules/.pnpm/zustand@5.0.5_@types+react@_a1d6b7db10f76afd26403e7782bb5bbf/node_modules/zustand/esm/react.mjs
|
|
29788
|
-
import
|
|
29778
|
+
import React4 from "react";
|
|
29789
29779
|
var identity = (arg) => arg;
|
|
29790
29780
|
function useStore(api, selector = identity) {
|
|
29791
|
-
const slice =
|
|
29781
|
+
const slice = React4.useSyncExternalStore(
|
|
29792
29782
|
api.subscribe,
|
|
29793
29783
|
() => selector(api.getState()),
|
|
29794
29784
|
() => selector(api.getInitialState())
|
|
29795
29785
|
);
|
|
29796
|
-
|
|
29786
|
+
React4.useDebugValue(slice);
|
|
29797
29787
|
return slice;
|
|
29798
29788
|
}
|
|
29799
29789
|
var createImpl = (createState) => {
|
|
@@ -29809,12 +29799,12 @@ import { useContext as useContext4 } from "react";
|
|
|
29809
29799
|
|
|
29810
29800
|
// src/components/toast/ToastProvider.tsx
|
|
29811
29801
|
import { createContext as createContext2 } from "react";
|
|
29812
|
-
import { jsx as
|
|
29802
|
+
import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
29813
29803
|
var ToastContext = createContext2({});
|
|
29814
29804
|
function ToastProvider({ children, ...props }) {
|
|
29815
|
-
return /* @__PURE__ */
|
|
29805
|
+
return /* @__PURE__ */ jsxs10(ToastContext.Provider, { value: props, children: [
|
|
29816
29806
|
children,
|
|
29817
|
-
/* @__PURE__ */
|
|
29807
|
+
/* @__PURE__ */ jsx19(Toaster, { ...props })
|
|
29818
29808
|
] });
|
|
29819
29809
|
}
|
|
29820
29810
|
|
|
@@ -29852,7 +29842,7 @@ function useToast() {
|
|
|
29852
29842
|
var Toaster_default = { "toaster": "Toaster_toaster__OGJjM", "position-top": "Toaster_position-top__Y2YyM", "position-top-right": "Toaster_position-top-right__Y2I1Y", "position-top-left": "Toaster_position-top-left__ZGZlM", "position-bottom": "Toaster_position-bottom__NjJmM", "position-bottom-right": "Toaster_position-bottom-right__MGVjY", "position-bottom-left": "Toaster_position-bottom-left__ODBhZ", "position-left": "Toaster_position-left__MWMzM", "position-right": "Toaster_position-right__YWYzZ" };
|
|
29853
29843
|
|
|
29854
29844
|
// src/components/toast/Toaster.tsx
|
|
29855
|
-
import { jsx as
|
|
29845
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
29856
29846
|
function Toaster({ duration = 0, position = "bottom-right" }) {
|
|
29857
29847
|
const { toasts } = useToast();
|
|
29858
29848
|
const [hovered, setHovered] = useState5(false);
|
|
@@ -29884,7 +29874,7 @@ function Toaster({ duration = 0, position = "bottom-right" }) {
|
|
|
29884
29874
|
};
|
|
29885
29875
|
}
|
|
29886
29876
|
}, [duration, toasts, hovered]);
|
|
29887
|
-
return /* @__PURE__ */
|
|
29877
|
+
return /* @__PURE__ */ jsx20(
|
|
29888
29878
|
"div",
|
|
29889
29879
|
{
|
|
29890
29880
|
className: (0, import_classnames10.default)(Toaster_default.toaster, Toaster_default[`position-${position}`]),
|
|
@@ -29894,7 +29884,7 @@ function Toaster({ duration = 0, position = "bottom-right" }) {
|
|
|
29894
29884
|
const { id, ...props } = item;
|
|
29895
29885
|
return (
|
|
29896
29886
|
// @ts-ignore
|
|
29897
|
-
/* @__PURE__ */
|
|
29887
|
+
/* @__PURE__ */ jsx20(animated.div, { style, children: /* @__PURE__ */ jsx20(Toast, { ...props, id, onClose: () => removeToast(id) }) }, id)
|
|
29898
29888
|
);
|
|
29899
29889
|
})
|
|
29900
29890
|
}
|
|
@@ -29950,7 +29940,7 @@ var import_classnames11 = __toESM(require_classnames());
|
|
|
29950
29940
|
var Text_default = { "truncate": "Text_truncate__NjQ2M", "italic": "Text_italic__MmI4Y", "underline": "Text_underline__MzZmN", "strikethrough": "Text_strikethrough__ZTg3Y" };
|
|
29951
29941
|
|
|
29952
29942
|
// src/components/Text.tsx
|
|
29953
|
-
import { jsx as
|
|
29943
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
29954
29944
|
function Text({
|
|
29955
29945
|
color,
|
|
29956
29946
|
size,
|
|
@@ -29980,7 +29970,7 @@ function Text({
|
|
|
29980
29970
|
textTransform: transform,
|
|
29981
29971
|
color
|
|
29982
29972
|
});
|
|
29983
|
-
return /* @__PURE__ */
|
|
29973
|
+
return /* @__PURE__ */ jsx21(
|
|
29984
29974
|
Component,
|
|
29985
29975
|
{
|
|
29986
29976
|
...props,
|
|
@@ -30003,9 +29993,9 @@ function Text({
|
|
|
30003
29993
|
var Accordion_default = { "accordion": "Accordion_accordion__ODg3O", "item": "Accordion_item__ZDU3Z", "button": "Accordion_button__MTRiY", "icon": "Accordion_icon__NDMwM", "panel": "Accordion_panel__OTQ4M", "expanded": "Accordion_expanded__ODY0N" };
|
|
30004
29994
|
|
|
30005
29995
|
// src/components/Accordion.tsx
|
|
30006
|
-
import { jsx as
|
|
29996
|
+
import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
30007
29997
|
function Accordion({ className, children, ...props }) {
|
|
30008
|
-
return /* @__PURE__ */
|
|
29998
|
+
return /* @__PURE__ */ jsx22($28f4fd908f0de97f$export$944aceb4f8c89f10, { ...props, className: (0, import_classnames12.default)(Accordion_default.accordion, className), children });
|
|
30009
29999
|
}
|
|
30010
30000
|
function AccordionItem({
|
|
30011
30001
|
defaultExpanded,
|
|
@@ -30018,18 +30008,18 @@ function AccordionItem({
|
|
|
30018
30008
|
const handleExpandedChange = (isExpanded) => {
|
|
30019
30009
|
requestAnimationFrame(() => setExpanded(isExpanded));
|
|
30020
30010
|
};
|
|
30021
|
-
return /* @__PURE__ */
|
|
30011
|
+
return /* @__PURE__ */ jsxs11(
|
|
30022
30012
|
$28f4fd908f0de97f$export$74a362b31437ec83,
|
|
30023
30013
|
{
|
|
30024
30014
|
...props,
|
|
30025
30015
|
className: (0, import_classnames12.default)(Accordion_default.item, className),
|
|
30026
30016
|
onExpandedChange: handleExpandedChange,
|
|
30027
30017
|
children: [
|
|
30028
|
-
/* @__PURE__ */
|
|
30029
|
-
/* @__PURE__ */
|
|
30030
|
-
/* @__PURE__ */
|
|
30018
|
+
/* @__PURE__ */ jsxs11(Button2, { slot: "trigger", className: Accordion_default.button, children: [
|
|
30019
|
+
/* @__PURE__ */ jsx22(Text, { children: trigger }),
|
|
30020
|
+
/* @__PURE__ */ jsx22(Icon2, { className: Accordion_default.icon, size: "xs", children: /* @__PURE__ */ jsx22(ChevronRight, {}) })
|
|
30031
30021
|
] }),
|
|
30032
|
-
/* @__PURE__ */
|
|
30022
|
+
/* @__PURE__ */ jsx22($28f4fd908f0de97f$export$feabaa331e1d464c, { className: (0, import_classnames12.default)(Accordion_default.panel, expanded && Accordion_default.expanded), children: panel })
|
|
30033
30023
|
]
|
|
30034
30024
|
}
|
|
30035
30025
|
);
|
|
@@ -30045,16 +30035,16 @@ var import_classnames13 = __toESM(require_classnames());
|
|
|
30045
30035
|
var Dialog_default = { "dialog": "Dialog_dialog__YzZhN", "title": "Dialog_title__NjZlN", "modal": "Dialog_modal__YjEzN", "menu": "Dialog_menu__ZmFhN", "sheet": "Dialog_sheet__NzkxM" };
|
|
30046
30036
|
|
|
30047
30037
|
// src/components/Dialog.tsx
|
|
30048
|
-
import { Fragment as Fragment2, jsx as
|
|
30038
|
+
import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
30049
30039
|
function Dialog2({ title, variant = "modal", children, className, ...props }) {
|
|
30050
|
-
return /* @__PURE__ */
|
|
30040
|
+
return /* @__PURE__ */ jsx23(
|
|
30051
30041
|
$de32f1b87079253c$export$3ddf2d174ce01153,
|
|
30052
30042
|
{
|
|
30053
30043
|
...props,
|
|
30054
30044
|
className: (0, import_classnames13.default)(Dialog_default.dialog, variant && Dialog_default[variant], className),
|
|
30055
30045
|
children: (dialogProps) => {
|
|
30056
|
-
return /* @__PURE__ */
|
|
30057
|
-
title && /* @__PURE__ */
|
|
30046
|
+
return /* @__PURE__ */ jsxs12(Fragment2, { children: [
|
|
30047
|
+
title && /* @__PURE__ */ jsx23("div", { className: Dialog_default.title, children: title }),
|
|
30058
30048
|
typeof children === "function" ? children(dialogProps) : children
|
|
30059
30049
|
] });
|
|
30060
30050
|
}
|
|
@@ -30062,11 +30052,17 @@ function Dialog2({ title, variant = "modal", children, className, ...props }) {
|
|
|
30062
30052
|
);
|
|
30063
30053
|
}
|
|
30064
30054
|
|
|
30055
|
+
// src/components/Column.tsx
|
|
30056
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
30057
|
+
function Column({ reverse, children, ...props }) {
|
|
30058
|
+
return /* @__PURE__ */ jsx24(Flexbox, { ...props, direction: reverse ? "column-reverse" : "column", children });
|
|
30059
|
+
}
|
|
30060
|
+
|
|
30065
30061
|
// css-modules:E:\dev\umami-react-zen\src\components\AlertDialog.module.css
|
|
30066
30062
|
var AlertDialog_default = { "dialog": "AlertDialog_dialog__OTkwN", "title": "AlertDialog_title__ZGIwY" };
|
|
30067
30063
|
|
|
30068
30064
|
// src/components/AlertDialog.tsx
|
|
30069
|
-
import { jsx as
|
|
30065
|
+
import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
30070
30066
|
function AlertDialog({
|
|
30071
30067
|
title,
|
|
30072
30068
|
description,
|
|
@@ -30088,12 +30084,12 @@ function AlertDialog({
|
|
|
30088
30084
|
onCancel?.();
|
|
30089
30085
|
close();
|
|
30090
30086
|
};
|
|
30091
|
-
return /* @__PURE__ */
|
|
30092
|
-
return /* @__PURE__ */
|
|
30087
|
+
return /* @__PURE__ */ jsx25(Dialog2, { ...props, title, className: (0, import_classnames14.default)(AlertDialog_default.dialog, className), children: ({ close }) => {
|
|
30088
|
+
return /* @__PURE__ */ jsxs13(Column, { gap: "4", children: [
|
|
30093
30089
|
typeof children === "function" ? children({ close }) : children,
|
|
30094
|
-
/* @__PURE__ */
|
|
30095
|
-
/* @__PURE__ */
|
|
30096
|
-
/* @__PURE__ */
|
|
30090
|
+
/* @__PURE__ */ jsxs13(Row, { gap: "3", justifyContent: "end", children: [
|
|
30091
|
+
/* @__PURE__ */ jsx25(Button2, { onPress: () => handleClose(close), children: cancelLabel }),
|
|
30092
|
+
/* @__PURE__ */ jsx25(
|
|
30097
30093
|
Button2,
|
|
30098
30094
|
{
|
|
30099
30095
|
variant: isDanger ? "danger" : "primary",
|
|
@@ -30111,10 +30107,10 @@ function AlertDialog({
|
|
|
30111
30107
|
var Blockquote_default = { "blockquote": "Blockquote_blockquote__MzZmO" };
|
|
30112
30108
|
|
|
30113
30109
|
// src/components/Blockquote.tsx
|
|
30114
|
-
import { jsx as
|
|
30110
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
30115
30111
|
function Blockquote({ asChild, children }) {
|
|
30116
30112
|
const Component = asChild ? Slot : "blockquote";
|
|
30117
|
-
return /* @__PURE__ */
|
|
30113
|
+
return /* @__PURE__ */ jsx26(Component, { className: Blockquote_default.blockquote, children });
|
|
30118
30114
|
}
|
|
30119
30115
|
|
|
30120
30116
|
// src/components/Breadcrumbs.tsx
|
|
@@ -30124,14 +30120,14 @@ var import_classnames15 = __toESM(require_classnames());
|
|
|
30124
30120
|
var Breadcrumbs_default = { "breadcrumbs": "Breadcrumbs_breadcrumbs__OTJlN", "breadcrumb": "Breadcrumbs_breadcrumb__YjU2O", "icon": "Breadcrumbs_icon__MWFiY" };
|
|
30125
30121
|
|
|
30126
30122
|
// src/components/Breadcrumbs.tsx
|
|
30127
|
-
import { jsx as
|
|
30123
|
+
import { jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
30128
30124
|
function Breadcrumbs2({ children, className, ...props }) {
|
|
30129
|
-
return /* @__PURE__ */
|
|
30125
|
+
return /* @__PURE__ */ jsx27($778035c5624f61e7$export$2dc68d50d56fbbd, { ...props, className: (0, import_classnames15.default)(Breadcrumbs_default.breadcrumbs, className), children });
|
|
30130
30126
|
}
|
|
30131
30127
|
function Breadcrumb2({ children, className, ...props }) {
|
|
30132
|
-
return /* @__PURE__ */
|
|
30128
|
+
return /* @__PURE__ */ jsxs14($778035c5624f61e7$export$dabcc1ec9dd9d1cc, { ...props, className: (0, import_classnames15.default)(Breadcrumbs_default.breadcrumb, className), children: [
|
|
30133
30129
|
children,
|
|
30134
|
-
/* @__PURE__ */
|
|
30130
|
+
/* @__PURE__ */ jsx27(Icon2, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ jsx27(ChevronRight, {}) })
|
|
30135
30131
|
] });
|
|
30136
30132
|
}
|
|
30137
30133
|
|
|
@@ -30149,7 +30145,7 @@ function toCalendarDate(date) {
|
|
|
30149
30145
|
var Calendar_default = { "calendar": "Calendar_calendar__ZDMwM", "header": "Calendar_header__ZDE0Y", "heading": "Calendar_heading__MTk3Z", "button": "Calendar_button__MmIyO", "headerCell": "Calendar_headerCell__MjEwY", "cell": "Calendar_cell__MTc4M" };
|
|
30150
30146
|
|
|
30151
30147
|
// src/components/Calendar.tsx
|
|
30152
|
-
import { jsx as
|
|
30148
|
+
import { jsx as jsx28, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
30153
30149
|
function Calendar2({
|
|
30154
30150
|
className,
|
|
30155
30151
|
value,
|
|
@@ -30163,7 +30159,7 @@ function Calendar2({
|
|
|
30163
30159
|
console.log({ raw: date });
|
|
30164
30160
|
onChange?.(date.toDate($14e0f24ef4ac5c92$export$aa8b41735afcabd2()));
|
|
30165
30161
|
};
|
|
30166
|
-
return /* @__PURE__ */
|
|
30162
|
+
return /* @__PURE__ */ jsxs15(
|
|
30167
30163
|
$dfd62f934fc76fed$export$e1aef45b828286de,
|
|
30168
30164
|
{
|
|
30169
30165
|
...props,
|
|
@@ -30174,25 +30170,20 @@ function Calendar2({
|
|
|
30174
30170
|
className: (0, import_classnames16.default)(Calendar_default.calendar, className),
|
|
30175
30171
|
onChange: handleChange,
|
|
30176
30172
|
children: [
|
|
30177
|
-
/* @__PURE__ */
|
|
30178
|
-
/* @__PURE__ */
|
|
30179
|
-
/* @__PURE__ */
|
|
30180
|
-
/* @__PURE__ */
|
|
30173
|
+
/* @__PURE__ */ jsxs15("header", { className: Calendar_default.header, children: [
|
|
30174
|
+
/* @__PURE__ */ jsx28(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { rotate: 180, children: /* @__PURE__ */ jsx28(ChevronRight, {}) }) }),
|
|
30175
|
+
/* @__PURE__ */ jsx28($5cb03073d3f54797$export$a8a3e93435678ff9, { className: Calendar_default.heading }),
|
|
30176
|
+
/* @__PURE__ */ jsx28(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { children: /* @__PURE__ */ jsx28(ChevronRight, {}) }) })
|
|
30181
30177
|
] }),
|
|
30182
|
-
/* @__PURE__ */
|
|
30183
|
-
/* @__PURE__ */
|
|
30184
|
-
/* @__PURE__ */
|
|
30178
|
+
/* @__PURE__ */ jsxs15($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
|
|
30179
|
+
/* @__PURE__ */ jsx28($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ jsx28($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
|
|
30180
|
+
/* @__PURE__ */ jsx28($dfd62f934fc76fed$export$e11f8ba65d857bff, { className: Calendar_default.body, children: (date) => /* @__PURE__ */ jsx28($dfd62f934fc76fed$export$5d847498420df57b, { className: Calendar_default.cell, date }) })
|
|
30185
30181
|
] })
|
|
30186
30182
|
]
|
|
30187
30183
|
}
|
|
30188
30184
|
);
|
|
30189
30185
|
}
|
|
30190
30186
|
|
|
30191
|
-
// node_modules/.pnpm/react-icons@5.5.0_react@19.1.0/node_modules/react-icons/im/index.mjs
|
|
30192
|
-
function ImCheckmark(props) {
|
|
30193
|
-
return GenIcon({ "tag": "svg", "attr": { "version": "1.1", "viewBox": "0 0 16 16" }, "child": [{ "tag": "path", "attr": { "d": "M13.5 2l-7.5 7.5-3.5-3.5-2.5 2.5 6 6 10-10z" }, "child": [] }] })(props);
|
|
30194
|
-
}
|
|
30195
|
-
|
|
30196
30187
|
// src/components/Checkbox.tsx
|
|
30197
30188
|
var import_classnames17 = __toESM(require_classnames());
|
|
30198
30189
|
|
|
@@ -30200,18 +30191,18 @@ var import_classnames17 = __toESM(require_classnames());
|
|
|
30200
30191
|
var Checkbox_default = { "checkbox": "Checkbox_checkbox__OTliN", "box": "Checkbox_box__M2E3Z", "icon": "Checkbox_icon__ODgyZ" };
|
|
30201
30192
|
|
|
30202
30193
|
// src/components/Checkbox.tsx
|
|
30203
|
-
import { Fragment as Fragment3, jsx as
|
|
30194
|
+
import { Fragment as Fragment3, jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
30204
30195
|
function Checkbox2({ label, className, children, ...props }) {
|
|
30205
30196
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
30206
|
-
return /* @__PURE__ */
|
|
30197
|
+
return /* @__PURE__ */ jsx29(
|
|
30207
30198
|
$bc237834342dbd75$export$48513f6b9f8ce62d,
|
|
30208
30199
|
{
|
|
30209
30200
|
...props,
|
|
30210
30201
|
isSelected,
|
|
30211
30202
|
className: (0, import_classnames17.default)(Checkbox_default.checkbox, className),
|
|
30212
30203
|
children: ({ isIndeterminate, isSelected: isSelected2 }) => {
|
|
30213
|
-
return /* @__PURE__ */
|
|
30214
|
-
/* @__PURE__ */
|
|
30204
|
+
return /* @__PURE__ */ jsxs16(Fragment3, { children: [
|
|
30205
|
+
/* @__PURE__ */ jsx29("div", { className: Checkbox_default.box, children: /* @__PURE__ */ jsx29(Icon2, { className: Checkbox_default.icon, size: "sm", children: isIndeterminate ? /* @__PURE__ */ jsx29(Minus, {}) : isSelected2 ? /* @__PURE__ */ jsx29(Check, {}) : null }) }),
|
|
30215
30206
|
children
|
|
30216
30207
|
] });
|
|
30217
30208
|
}
|
|
@@ -30223,10 +30214,10 @@ function Checkbox2({ label, className, children, ...props }) {
|
|
|
30223
30214
|
var Code_default = { "code": "Code_code__NmYxN" };
|
|
30224
30215
|
|
|
30225
30216
|
// src/components/Code.tsx
|
|
30226
|
-
import { jsx as
|
|
30217
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
30227
30218
|
function Code({ asChild, children }) {
|
|
30228
30219
|
const Component = asChild ? Slot : "code";
|
|
30229
|
-
return /* @__PURE__ */
|
|
30220
|
+
return /* @__PURE__ */ jsx30(Component, { className: Code_default.code, children });
|
|
30230
30221
|
}
|
|
30231
30222
|
|
|
30232
30223
|
// src/components/Container.tsx
|
|
@@ -30236,7 +30227,7 @@ var import_classnames18 = __toESM(require_classnames());
|
|
|
30236
30227
|
var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
|
|
30237
30228
|
|
|
30238
30229
|
// src/components/Container.tsx
|
|
30239
|
-
import { jsx as
|
|
30230
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
30240
30231
|
function Container({
|
|
30241
30232
|
isCentered = true,
|
|
30242
30233
|
isFluid,
|
|
@@ -30244,7 +30235,7 @@ function Container({
|
|
|
30244
30235
|
children,
|
|
30245
30236
|
...props
|
|
30246
30237
|
}) {
|
|
30247
|
-
return /* @__PURE__ */
|
|
30238
|
+
return /* @__PURE__ */ jsx31(
|
|
30248
30239
|
Box,
|
|
30249
30240
|
{
|
|
30250
30241
|
...props,
|
|
@@ -30274,9 +30265,9 @@ var import_classnames19 = __toESM(require_classnames());
|
|
|
30274
30265
|
var Label_default = { "label": "Label_label__YWE3M" };
|
|
30275
30266
|
|
|
30276
30267
|
// src/components/Label.tsx
|
|
30277
|
-
import { jsx as
|
|
30268
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
30278
30269
|
function Label2({ className, ...props }) {
|
|
30279
|
-
return /* @__PURE__ */
|
|
30270
|
+
return /* @__PURE__ */ jsx32($01b77f81d0f07f68$export$b04be29aa201d4f5, { ...props, className: (0, import_classnames19.default)(Label_default.label, className) });
|
|
30280
30271
|
}
|
|
30281
30272
|
|
|
30282
30273
|
// src/components/CopyButton.tsx
|
|
@@ -30287,7 +30278,7 @@ import { useState as useState8, useRef as useRef7 } from "react";
|
|
|
30287
30278
|
var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "CopyButton_copy-button__MjY1M" };
|
|
30288
30279
|
|
|
30289
30280
|
// src/components/CopyButton.tsx
|
|
30290
|
-
import { jsx as
|
|
30281
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
30291
30282
|
var TIMEOUT = 2e3;
|
|
30292
30283
|
function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
|
|
30293
30284
|
const [copied, setCopied] = useState8(false);
|
|
@@ -30300,69 +30291,63 @@ function CopyButton({ value, timeout = TIMEOUT, className, children, ...props })
|
|
|
30300
30291
|
ref.current = +setTimeout(() => setCopied(false), timeout);
|
|
30301
30292
|
}
|
|
30302
30293
|
};
|
|
30303
|
-
return /* @__PURE__ */
|
|
30294
|
+
return /* @__PURE__ */ jsx33(Icon2, { ...props, className: (0, import_classnames20.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx33(Check, {}) : /* @__PURE__ */ jsx33(Copy, {}) });
|
|
30304
30295
|
}
|
|
30305
30296
|
|
|
30306
|
-
// css-modules:E:\dev\umami-react-zen\src\components\styles\input.module.css
|
|
30307
|
-
var input_default = { "field": "input_field__ZmMwY", "row": "input_row__NTc1Z", "input": "input_input__MzU4N", "icon": "input_icon__YzA4Z" };
|
|
30308
|
-
|
|
30309
30297
|
// css-modules:E:\dev\umami-react-zen\src\components\TextField.module.css
|
|
30310
|
-
var TextField_default = { "
|
|
30298
|
+
var TextField_default = { "field": "TextField_field__YWExY", "textarea": "TextField_textarea__ODY3N" };
|
|
30311
30299
|
|
|
30312
30300
|
// src/components/TextField.tsx
|
|
30313
|
-
import { jsx as
|
|
30301
|
+
import { Fragment as Fragment4, jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
30314
30302
|
function TextField2({
|
|
30315
30303
|
value,
|
|
30316
30304
|
defaultValue,
|
|
30317
30305
|
label,
|
|
30318
30306
|
placeholder,
|
|
30319
30307
|
allowCopy,
|
|
30320
|
-
|
|
30321
|
-
className,
|
|
30308
|
+
asTextArea,
|
|
30322
30309
|
onChange,
|
|
30310
|
+
isReadOnly,
|
|
30311
|
+
isDisabled,
|
|
30312
|
+
className,
|
|
30323
30313
|
children,
|
|
30324
30314
|
...props
|
|
30325
30315
|
}) {
|
|
30326
30316
|
const [inputValue, setInputValue] = useState9(defaultValue || value);
|
|
30327
|
-
const Component =
|
|
30328
|
-
const handleChange = (
|
|
30329
|
-
setInputValue(
|
|
30330
|
-
return onChange?.(
|
|
30317
|
+
const Component = asTextArea ? $216918bed6669f72$export$f5c9f3c2c4054eec : $3985021b0ad6602f$export$f5b8910cec6cf069;
|
|
30318
|
+
const handleChange = (value2) => {
|
|
30319
|
+
setInputValue(value2);
|
|
30320
|
+
return onChange?.(value2);
|
|
30331
30321
|
};
|
|
30332
30322
|
useEffect9(() => {
|
|
30333
30323
|
setInputValue(value);
|
|
30334
30324
|
}, [value]);
|
|
30335
|
-
return /* @__PURE__ */
|
|
30336
|
-
|
|
30337
|
-
|
|
30338
|
-
|
|
30339
|
-
|
|
30340
|
-
|
|
30341
|
-
|
|
30342
|
-
|
|
30343
|
-
|
|
30344
|
-
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
|
|
30348
|
-
|
|
30349
|
-
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
|
|
30353
|
-
|
|
30354
|
-
allowCopy && /* @__PURE__ */ jsx30(CopyButton, { className: (0, import_classnames21.default)(TextField_default.icon, input_default.icon), value: inputValue })
|
|
30355
|
-
] })
|
|
30356
|
-
]
|
|
30357
|
-
}
|
|
30358
|
-
);
|
|
30325
|
+
return /* @__PURE__ */ jsxs17(Fragment4, { children: [
|
|
30326
|
+
label && /* @__PURE__ */ jsx34(Label2, { children: label }),
|
|
30327
|
+
/* @__PURE__ */ jsxs17(
|
|
30328
|
+
$bcdf0525bf22703d$export$2c73285ae9390cec,
|
|
30329
|
+
{
|
|
30330
|
+
"aria-label": "Text",
|
|
30331
|
+
...props,
|
|
30332
|
+
className: (0, import_classnames21.default)(TextField_default.field, asTextArea && TextField_default.textarea, className),
|
|
30333
|
+
value: inputValue,
|
|
30334
|
+
isReadOnly,
|
|
30335
|
+
isDisabled,
|
|
30336
|
+
onChange: handleChange,
|
|
30337
|
+
children: [
|
|
30338
|
+
/* @__PURE__ */ jsx34(Component, { placeholder }),
|
|
30339
|
+
allowCopy && /* @__PURE__ */ jsx34(CopyButton, { value: inputValue })
|
|
30340
|
+
]
|
|
30341
|
+
}
|
|
30342
|
+
)
|
|
30343
|
+
] });
|
|
30359
30344
|
}
|
|
30360
30345
|
|
|
30361
30346
|
// css-modules:E:\dev\umami-react-zen\src\components\ConfirmationDialog.module.css
|
|
30362
30347
|
var ConfirmationDialog_default = { "dialog": "ConfirmationDialog_dialog__Mzg4M", "value": "ConfirmationDialog_value__YzhjZ" };
|
|
30363
30348
|
|
|
30364
30349
|
// src/components/ConfirmationDialog.tsx
|
|
30365
|
-
import { Fragment as
|
|
30350
|
+
import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
30366
30351
|
function ConfirmationDialog({
|
|
30367
30352
|
value,
|
|
30368
30353
|
confirmMessage,
|
|
@@ -30374,21 +30359,21 @@ function ConfirmationDialog({
|
|
|
30374
30359
|
const handleChange = (e) => {
|
|
30375
30360
|
setCanSave(e.target.value === value);
|
|
30376
30361
|
};
|
|
30377
|
-
return /* @__PURE__ */
|
|
30362
|
+
return /* @__PURE__ */ jsx35(
|
|
30378
30363
|
AlertDialog,
|
|
30379
30364
|
{
|
|
30380
30365
|
...props,
|
|
30381
30366
|
className: (0, import_classnames22.default)(ConfirmationDialog_default.dialog, className),
|
|
30382
30367
|
isConfirmDisabled: !canSave,
|
|
30383
30368
|
children: ({ close }) => {
|
|
30384
|
-
return /* @__PURE__ */
|
|
30369
|
+
return /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
30385
30370
|
typeof children === "function" ? children({ close }) : children,
|
|
30386
|
-
/* @__PURE__ */
|
|
30371
|
+
/* @__PURE__ */ jsxs18(Text, { children: [
|
|
30387
30372
|
confirmMessage || "Type the following value to confirm",
|
|
30388
30373
|
":"
|
|
30389
30374
|
] }),
|
|
30390
|
-
/* @__PURE__ */
|
|
30391
|
-
/* @__PURE__ */
|
|
30375
|
+
/* @__PURE__ */ jsx35("div", { className: ConfirmationDialog_default.value, children: value }),
|
|
30376
|
+
/* @__PURE__ */ jsx35(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
|
|
30392
30377
|
] });
|
|
30393
30378
|
}
|
|
30394
30379
|
}
|
|
@@ -30397,7 +30382,7 @@ function ConfirmationDialog({
|
|
|
30397
30382
|
|
|
30398
30383
|
// src/components/DataTable.tsx
|
|
30399
30384
|
var import_classnames24 = __toESM(require_classnames());
|
|
30400
|
-
import { Children as Children2, createElement as
|
|
30385
|
+
import { Children as Children2, createElement as createElement7 } from "react";
|
|
30401
30386
|
|
|
30402
30387
|
// src/components/Table.tsx
|
|
30403
30388
|
var import_classnames23 = __toESM(require_classnames());
|
|
@@ -30406,13 +30391,13 @@ var import_classnames23 = __toESM(require_classnames());
|
|
|
30406
30391
|
var Table_default = { "table": "Table_table__YjllN", "header": "Table_header__NmE0Y", "body": "Table_body__ZWYwN", "row": "Table_row__Y2M0Y", "column": "Table_column__ZGY2M", "cell": "Table_cell__MmZjM", "start": "Table_start__NGFiN", "center": "Table_center__NzFjM", "end": "Table_end__NmQyY" };
|
|
30407
30392
|
|
|
30408
30393
|
// src/components/Table.tsx
|
|
30409
|
-
import { jsx as
|
|
30394
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
30410
30395
|
var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
|
|
30411
30396
|
function Table2({ children, className, ...props }) {
|
|
30412
|
-
return /* @__PURE__ */
|
|
30397
|
+
return /* @__PURE__ */ jsx36($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames23.default)(Table_default.table, className), children });
|
|
30413
30398
|
}
|
|
30414
30399
|
function TableHeader({ children, className, style, ...props }) {
|
|
30415
|
-
return /* @__PURE__ */
|
|
30400
|
+
return /* @__PURE__ */ jsx36(
|
|
30416
30401
|
$1910c06f0ca9905e$export$f850895b287ef28e,
|
|
30417
30402
|
{
|
|
30418
30403
|
...props,
|
|
@@ -30423,10 +30408,10 @@ function TableHeader({ children, className, style, ...props }) {
|
|
|
30423
30408
|
);
|
|
30424
30409
|
}
|
|
30425
30410
|
function TableBody({ children, className, ...props }) {
|
|
30426
|
-
return /* @__PURE__ */
|
|
30411
|
+
return /* @__PURE__ */ jsx36($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames23.default)(Table_default.body, className), children });
|
|
30427
30412
|
}
|
|
30428
30413
|
function TableRow({ children, className, style, ...props }) {
|
|
30429
|
-
return /* @__PURE__ */
|
|
30414
|
+
return /* @__PURE__ */ jsx36(
|
|
30430
30415
|
$1910c06f0ca9905e$export$b59bdbef9ce70de2,
|
|
30431
30416
|
{
|
|
30432
30417
|
...props,
|
|
@@ -30437,7 +30422,7 @@ function TableRow({ children, className, style, ...props }) {
|
|
|
30437
30422
|
);
|
|
30438
30423
|
}
|
|
30439
30424
|
function TableColumn({ children, className, align, ...props }) {
|
|
30440
|
-
return /* @__PURE__ */
|
|
30425
|
+
return /* @__PURE__ */ jsx36(
|
|
30441
30426
|
$1910c06f0ca9905e$export$816b5d811295e6bc,
|
|
30442
30427
|
{
|
|
30443
30428
|
...props,
|
|
@@ -30448,15 +30433,15 @@ function TableColumn({ children, className, align, ...props }) {
|
|
|
30448
30433
|
);
|
|
30449
30434
|
}
|
|
30450
30435
|
function TableCell({ children, className, align, ...props }) {
|
|
30451
|
-
return /* @__PURE__ */
|
|
30436
|
+
return /* @__PURE__ */ jsx36($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames23.default)(Table_default.cell, className, align && Table_default[align]), children });
|
|
30452
30437
|
}
|
|
30453
30438
|
|
|
30454
30439
|
// css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
|
|
30455
30440
|
var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
|
|
30456
30441
|
|
|
30457
30442
|
// src/components/DataTable.tsx
|
|
30458
|
-
import { jsx as
|
|
30459
|
-
import { createElement as
|
|
30443
|
+
import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
30444
|
+
import { createElement as createElement8 } from "react";
|
|
30460
30445
|
function DataTable({ data = [], className, children, ...props }) {
|
|
30461
30446
|
const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
|
|
30462
30447
|
const widths = [];
|
|
@@ -30465,27 +30450,27 @@ function DataTable({ data = [], className, children, ...props }) {
|
|
|
30465
30450
|
return { ...child.props };
|
|
30466
30451
|
});
|
|
30467
30452
|
const gridTemplateColumns2 = widths.join(" ");
|
|
30468
|
-
return /* @__PURE__ */
|
|
30469
|
-
/* @__PURE__ */
|
|
30453
|
+
return /* @__PURE__ */ jsxs19(Table2, { ...props, className: (0, import_classnames24.default)(DataTable_default.datatable, className), children: [
|
|
30454
|
+
/* @__PURE__ */ jsx37(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns.filter((n) => n).map(({ id, label, as, hidden, width, ...columnProps }) => {
|
|
30470
30455
|
if (hidden) {
|
|
30471
30456
|
return null;
|
|
30472
30457
|
}
|
|
30473
|
-
return /* @__PURE__ */
|
|
30458
|
+
return /* @__PURE__ */ createElement8(TableColumn, { ...columnProps, key: id, id }, label);
|
|
30474
30459
|
}) }),
|
|
30475
|
-
/* @__PURE__ */
|
|
30476
|
-
return /* @__PURE__ */
|
|
30460
|
+
/* @__PURE__ */ jsx37(TableBody, { children: items.map((row, index) => {
|
|
30461
|
+
return /* @__PURE__ */ jsx37(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
|
|
30477
30462
|
if (hidden) {
|
|
30478
30463
|
return null;
|
|
30479
30464
|
}
|
|
30480
30465
|
const value = typeof children2 === "function" ? children2(row) : children2 || row[id];
|
|
30481
|
-
return /* @__PURE__ */
|
|
30466
|
+
return /* @__PURE__ */ createElement8(
|
|
30482
30467
|
TableCell,
|
|
30483
30468
|
{
|
|
30484
30469
|
...cellProps,
|
|
30485
30470
|
key: id,
|
|
30486
30471
|
className: (0, import_classnames24.default)(DataTable_default.cell, className2)
|
|
30487
30472
|
},
|
|
30488
|
-
as ?
|
|
30473
|
+
as ? createElement7(as, {}, value) : value
|
|
30489
30474
|
);
|
|
30490
30475
|
}) }, index);
|
|
30491
30476
|
}) })
|
|
@@ -30502,12 +30487,12 @@ var import_classnames25 = __toESM(require_classnames());
|
|
|
30502
30487
|
var Dots_default = { "dots": "Dots_dots__YzQxM", "dot": "Dots_dot__ZDdiZ", "dots-blink": "Dots_dots-blink__NDE3Y" };
|
|
30503
30488
|
|
|
30504
30489
|
// src/components/Dots.tsx
|
|
30505
|
-
import { jsx as
|
|
30490
|
+
import { jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
30506
30491
|
function Dots({ className, ...props }) {
|
|
30507
|
-
return /* @__PURE__ */
|
|
30508
|
-
/* @__PURE__ */
|
|
30509
|
-
/* @__PURE__ */
|
|
30510
|
-
/* @__PURE__ */
|
|
30492
|
+
return /* @__PURE__ */ jsxs20("div", { ...props, className: (0, import_classnames25.default)(Dots_default.dots, className), children: [
|
|
30493
|
+
/* @__PURE__ */ jsx38("div", { className: Dots_default.dot }),
|
|
30494
|
+
/* @__PURE__ */ jsx38("div", { className: Dots_default.dot }),
|
|
30495
|
+
/* @__PURE__ */ jsx38("div", { className: Dots_default.dot })
|
|
30511
30496
|
] });
|
|
30512
30497
|
}
|
|
30513
30498
|
|
|
@@ -30522,14 +30507,14 @@ var import_classnames26 = __toESM(require_classnames());
|
|
|
30522
30507
|
var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
|
|
30523
30508
|
|
|
30524
30509
|
// src/components/Tooltip.tsx
|
|
30525
|
-
import { jsx as
|
|
30510
|
+
import { jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
30526
30511
|
function Tooltip2({ children, className, showArrow, ...props }) {
|
|
30527
|
-
return /* @__PURE__ */
|
|
30512
|
+
return /* @__PURE__ */ jsx39($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames26.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ jsx39(TooltipBubble, { showArrow, children }) });
|
|
30528
30513
|
}
|
|
30529
30514
|
function TooltipBubble({ showArrow, children, ...props }) {
|
|
30530
|
-
return /* @__PURE__ */
|
|
30531
|
-
showArrow && /* @__PURE__ */
|
|
30532
|
-
/* @__PURE__ */
|
|
30515
|
+
return /* @__PURE__ */ jsxs21("div", { ...props, children: [
|
|
30516
|
+
showArrow && /* @__PURE__ */ jsx39($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx39("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx39("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
30517
|
+
/* @__PURE__ */ jsx39("div", { className: Tooltip_default.bubble, children })
|
|
30533
30518
|
] });
|
|
30534
30519
|
}
|
|
30535
30520
|
|
|
@@ -30537,7 +30522,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
|
|
|
30537
30522
|
var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
|
|
30538
30523
|
|
|
30539
30524
|
// src/components/FloatingTooltip.tsx
|
|
30540
|
-
import { jsx as
|
|
30525
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
30541
30526
|
function FloatingTooltip({ className, style, children, ...props }) {
|
|
30542
30527
|
const [position, setPosition] = useState11({ x: -1e3, y: -1e3 });
|
|
30543
30528
|
useEffect10(() => {
|
|
@@ -30549,7 +30534,7 @@ function FloatingTooltip({ className, style, children, ...props }) {
|
|
|
30549
30534
|
document.removeEventListener("mousemove", handler);
|
|
30550
30535
|
};
|
|
30551
30536
|
}, []);
|
|
30552
|
-
return /* @__PURE__ */
|
|
30537
|
+
return /* @__PURE__ */ jsx40(
|
|
30553
30538
|
TooltipBubble,
|
|
30554
30539
|
{
|
|
30555
30540
|
...props,
|
|
@@ -30562,7 +30547,7 @@ function FloatingTooltip({ className, style, children, ...props }) {
|
|
|
30562
30547
|
|
|
30563
30548
|
// src/components/Grid.tsx
|
|
30564
30549
|
var import_classnames28 = __toESM(require_classnames());
|
|
30565
|
-
import { jsx as
|
|
30550
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
30566
30551
|
function Grid({
|
|
30567
30552
|
display = "grid",
|
|
30568
30553
|
justifyContent,
|
|
@@ -30595,7 +30580,7 @@ function Grid({
|
|
|
30595
30580
|
gridTemplateAreas: areas,
|
|
30596
30581
|
gridAutoFlow: autoFlow
|
|
30597
30582
|
});
|
|
30598
|
-
return /* @__PURE__ */
|
|
30583
|
+
return /* @__PURE__ */ jsx41(Box, { ...props, className: (0, import_classnames28.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
30599
30584
|
}
|
|
30600
30585
|
|
|
30601
30586
|
// src/components/Heading.tsx
|
|
@@ -30605,7 +30590,7 @@ var import_classnames29 = __toESM(require_classnames());
|
|
|
30605
30590
|
var Heading_default = { "heading": "Heading_heading__MGIyZ" };
|
|
30606
30591
|
|
|
30607
30592
|
// src/components/Heading.tsx
|
|
30608
|
-
import { jsx as
|
|
30593
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
30609
30594
|
function Heading2({
|
|
30610
30595
|
size = "3",
|
|
30611
30596
|
weight,
|
|
@@ -30622,7 +30607,7 @@ function Heading2({
|
|
|
30622
30607
|
fontWeight: weight,
|
|
30623
30608
|
letterSpacing: spacing
|
|
30624
30609
|
});
|
|
30625
|
-
return /* @__PURE__ */
|
|
30610
|
+
return /* @__PURE__ */ jsx42(
|
|
30626
30611
|
Box,
|
|
30627
30612
|
{
|
|
30628
30613
|
...props,
|
|
@@ -30640,7 +30625,7 @@ import { useRef as useRef8, useState as useState12, useEffect as useEffect11 } f
|
|
|
30640
30625
|
var HoverTrigger_default = { "wrapper": "HoverTrigger_wrapper__NGFlN" };
|
|
30641
30626
|
|
|
30642
30627
|
// src/components/HoverTrigger.tsx
|
|
30643
|
-
import { Fragment as
|
|
30628
|
+
import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
30644
30629
|
var CLOSE_DELAY = 500;
|
|
30645
30630
|
function HoverTrigger({
|
|
30646
30631
|
isOpen,
|
|
@@ -30691,9 +30676,9 @@ function HoverTrigger({
|
|
|
30691
30676
|
}
|
|
30692
30677
|
}, closeDelay);
|
|
30693
30678
|
};
|
|
30694
|
-
return /* @__PURE__ */
|
|
30695
|
-
/* @__PURE__ */
|
|
30696
|
-
/* @__PURE__ */
|
|
30679
|
+
return /* @__PURE__ */ jsxs22(Fragment6, { children: [
|
|
30680
|
+
/* @__PURE__ */ jsx43("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
|
|
30681
|
+
/* @__PURE__ */ jsx43(Popover2, { isOpen: open, isNonModal: true, triggerRef, children: /* @__PURE__ */ jsx43(
|
|
30697
30682
|
"div",
|
|
30698
30683
|
{
|
|
30699
30684
|
className: HoverTrigger_default.wrapper,
|
|
@@ -30712,7 +30697,7 @@ var import_classnames30 = __toESM(require_classnames());
|
|
|
30712
30697
|
var Image_default = { "image": "Image_image__M2EyN", "centered": "Image_centered__ZDFhM", "fill": "Image_fill__YWJhZ", "contain": "Image_contain__ZjAyN", "cover": "Image_cover__ODA4Y", "none": "Image_none__YTdiZ", "scale-down": "Image_scale-down__ODNlN" };
|
|
30713
30698
|
|
|
30714
30699
|
// src/components/Image.tsx
|
|
30715
|
-
import { jsx as
|
|
30700
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
30716
30701
|
function Image({
|
|
30717
30702
|
src,
|
|
30718
30703
|
alt,
|
|
@@ -30725,7 +30710,7 @@ function Image({
|
|
|
30725
30710
|
...props
|
|
30726
30711
|
}) {
|
|
30727
30712
|
const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
|
|
30728
|
-
return /* @__PURE__ */
|
|
30713
|
+
return /* @__PURE__ */ jsx44(
|
|
30729
30714
|
"img",
|
|
30730
30715
|
{
|
|
30731
30716
|
...props,
|
|
@@ -30752,7 +30737,7 @@ import { useState as useState13, useCallback as useCallback2 } from "react";
|
|
|
30752
30737
|
var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
|
|
30753
30738
|
|
|
30754
30739
|
// src/components/InlineEditField.tsx
|
|
30755
|
-
import { jsx as
|
|
30740
|
+
import { jsx as jsx45, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
30756
30741
|
function InlineEditField({
|
|
30757
30742
|
name = "",
|
|
30758
30743
|
value: defaultValue = "",
|
|
@@ -30788,17 +30773,17 @@ function InlineEditField({
|
|
|
30788
30773
|
handleCancel();
|
|
30789
30774
|
}
|
|
30790
30775
|
};
|
|
30791
|
-
return /* @__PURE__ */
|
|
30776
|
+
return /* @__PURE__ */ jsxs23(
|
|
30792
30777
|
"div",
|
|
30793
30778
|
{
|
|
30794
|
-
...props,
|
|
30795
30779
|
"aria-label": "Edit",
|
|
30780
|
+
...props,
|
|
30796
30781
|
className: (0, import_classnames31.default)(InlineEditField_default.edit, className),
|
|
30797
30782
|
onClick: handleEdit,
|
|
30798
30783
|
children: [
|
|
30799
30784
|
!edit && children,
|
|
30800
|
-
!edit && /* @__PURE__ */
|
|
30801
|
-
edit && /* @__PURE__ */
|
|
30785
|
+
!edit && /* @__PURE__ */ jsx45(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ jsx45(SquarePen, {}) }),
|
|
30786
|
+
edit && /* @__PURE__ */ jsx45(
|
|
30802
30787
|
TextField2,
|
|
30803
30788
|
{
|
|
30804
30789
|
name,
|
|
@@ -30815,7 +30800,7 @@ function InlineEditField({
|
|
|
30815
30800
|
}
|
|
30816
30801
|
|
|
30817
30802
|
// src/components/List.tsx
|
|
30818
|
-
import { Fragment as
|
|
30803
|
+
import { Fragment as Fragment7 } from "react";
|
|
30819
30804
|
var import_classnames32 = __toESM(require_classnames());
|
|
30820
30805
|
|
|
30821
30806
|
// src/lib/constants.ts
|
|
@@ -30863,7 +30848,7 @@ function getHighlightColor(color) {
|
|
|
30863
30848
|
var List_default = { "list": "List_list__ZTQ5M", "separator": "List_separator__Zjk5Y", "section": "List_section__MDgwZ", "header": "List_header__MjUxO", "item": "List_item__NTg2Z", "checkmark": "List_checkmark__M2M5Y", "hideCheckmark": "List_hideCheckmark__YmNlM" };
|
|
30864
30849
|
|
|
30865
30850
|
// src/components/List.tsx
|
|
30866
|
-
import { jsx as
|
|
30851
|
+
import { jsx as jsx46, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
30867
30852
|
function List({
|
|
30868
30853
|
items,
|
|
30869
30854
|
idProperty = "id",
|
|
@@ -30876,7 +30861,7 @@ function List({
|
|
|
30876
30861
|
children,
|
|
30877
30862
|
...props
|
|
30878
30863
|
}) {
|
|
30879
|
-
return /* @__PURE__ */
|
|
30864
|
+
return /* @__PURE__ */ jsx46(
|
|
30880
30865
|
$eed445e0843c11d0$export$41f133550aa26f48,
|
|
30881
30866
|
{
|
|
30882
30867
|
"aria-label": "list",
|
|
@@ -30887,9 +30872,9 @@ function List({
|
|
|
30887
30872
|
children: children || items?.map((item) => {
|
|
30888
30873
|
const id = item[idProperty] || item.toString();
|
|
30889
30874
|
const label = item[labelProperty] || item.toString();
|
|
30890
|
-
return /* @__PURE__ */
|
|
30891
|
-
item[separatorProperty] && /* @__PURE__ */
|
|
30892
|
-
/* @__PURE__ */
|
|
30875
|
+
return /* @__PURE__ */ jsxs24(Fragment7, { children: [
|
|
30876
|
+
item[separatorProperty] && /* @__PURE__ */ jsx46($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
|
|
30877
|
+
/* @__PURE__ */ jsx46(ListItem, { id, className: List_default.item, children: label })
|
|
30893
30878
|
] }, id);
|
|
30894
30879
|
})
|
|
30895
30880
|
}
|
|
@@ -30902,7 +30887,7 @@ function ListItem({
|
|
|
30902
30887
|
showCheckmark = true,
|
|
30903
30888
|
...props
|
|
30904
30889
|
}) {
|
|
30905
|
-
return /* @__PURE__ */
|
|
30890
|
+
return /* @__PURE__ */ jsxs24(
|
|
30906
30891
|
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
30907
30892
|
{
|
|
30908
30893
|
...props,
|
|
@@ -30911,17 +30896,17 @@ function ListItem({
|
|
|
30911
30896
|
textValue: typeof children === "string" ? children : id?.toString(),
|
|
30912
30897
|
children: [
|
|
30913
30898
|
children,
|
|
30914
|
-
showCheckmark && /* @__PURE__ */
|
|
30899
|
+
showCheckmark && /* @__PURE__ */ jsx46(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ jsx46(Check, {}) })
|
|
30915
30900
|
]
|
|
30916
30901
|
}
|
|
30917
30902
|
);
|
|
30918
30903
|
}
|
|
30919
30904
|
function ListSeparator({ className, ...props }) {
|
|
30920
|
-
return /* @__PURE__ */
|
|
30905
|
+
return /* @__PURE__ */ jsx46($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames32.default)(List_default.separator, className) });
|
|
30921
30906
|
}
|
|
30922
30907
|
function ListSection({ title, className, children, ...props }) {
|
|
30923
|
-
return /* @__PURE__ */
|
|
30924
|
-
title && /* @__PURE__ */
|
|
30908
|
+
return /* @__PURE__ */ jsxs24($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames32.default)(List_default.section, className), children: [
|
|
30909
|
+
title && /* @__PURE__ */ jsx46($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
|
|
30925
30910
|
children
|
|
30926
30911
|
] });
|
|
30927
30912
|
}
|
|
@@ -30933,12 +30918,12 @@ var import_classnames33 = __toESM(require_classnames());
|
|
|
30933
30918
|
var Loading_default = { "loading": "Loading_loading__MzE0Y", "page": "Loading_page__OWMxN", "center": "Loading_center__ZWRmO", "inline": "Loading_inline__NmJkY" };
|
|
30934
30919
|
|
|
30935
30920
|
// src/components/Loading.tsx
|
|
30936
|
-
import { jsx as
|
|
30921
|
+
import { jsx as jsx47, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
30937
30922
|
function Loading(props) {
|
|
30938
30923
|
const { size, position = "inline", icon = "spinner", className, ...domProps } = props;
|
|
30939
|
-
return /* @__PURE__ */
|
|
30940
|
-
icon === "dots" && /* @__PURE__ */
|
|
30941
|
-
icon === "spinner" && /* @__PURE__ */
|
|
30924
|
+
return /* @__PURE__ */ jsxs25("div", { ...domProps, className: (0, import_classnames33.default)(Loading_default.loading, className, Loading_default[position]), children: [
|
|
30925
|
+
icon === "dots" && /* @__PURE__ */ jsx47(Dots, {}),
|
|
30926
|
+
icon === "spinner" && /* @__PURE__ */ jsx47(Spinner, { size })
|
|
30942
30927
|
] });
|
|
30943
30928
|
}
|
|
30944
30929
|
|
|
@@ -30946,25 +30931,25 @@ function Loading(props) {
|
|
|
30946
30931
|
var import_classnames34 = __toESM(require_classnames());
|
|
30947
30932
|
|
|
30948
30933
|
// css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
|
|
30949
|
-
var Menu_default = { "menu": "
|
|
30934
|
+
var Menu_default = { "menu": "Menu_menu__OTZkN", "separator": "Menu_separator__ZTgwZ", "section": "Menu_section__ZDVhM", "header": "Menu_header__YWE2Z", "item": "Menu_item__MTU4N", "checkmark": "Menu_checkmark__MTk4O", "hideCheckmark": "Menu_hideCheckmark__MjEyZ" };
|
|
30950
30935
|
|
|
30951
30936
|
// src/components/Menu.tsx
|
|
30952
|
-
import { jsx as
|
|
30937
|
+
import { jsx as jsx48, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
30953
30938
|
function Menu2({ className, children, ...props }) {
|
|
30954
|
-
return /* @__PURE__ */
|
|
30939
|
+
return /* @__PURE__ */ jsx48($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames34.default)(Menu_default.menu, className), children });
|
|
30955
30940
|
}
|
|
30956
|
-
function MenuItem2({ showChecked =
|
|
30957
|
-
return /* @__PURE__ */
|
|
30941
|
+
function MenuItem2({ showChecked = true, children, className, ...props }) {
|
|
30942
|
+
return /* @__PURE__ */ jsxs26($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames34.default)(Menu_default.item, className), children: [
|
|
30958
30943
|
children,
|
|
30959
|
-
showChecked && /* @__PURE__ */
|
|
30944
|
+
showChecked && /* @__PURE__ */ jsx48("div", { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ jsx48(Icon2, { children: /* @__PURE__ */ jsx48(Check, {}) }) })
|
|
30960
30945
|
] });
|
|
30961
30946
|
}
|
|
30962
30947
|
function MenuSeparator({ className, ...props }) {
|
|
30963
|
-
return /* @__PURE__ */
|
|
30948
|
+
return /* @__PURE__ */ jsx48($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames34.default)(Menu_default.separator, className) });
|
|
30964
30949
|
}
|
|
30965
30950
|
function MenuSection({ title, className, children, ...props }) {
|
|
30966
|
-
return /* @__PURE__ */
|
|
30967
|
-
title && /* @__PURE__ */
|
|
30951
|
+
return /* @__PURE__ */ jsxs26($3674c52c6b3c5bce$export$4b1545b4f2016d26, { ...props, className: (0, import_classnames34.default)(Menu_default.section, className), children: [
|
|
30952
|
+
title && /* @__PURE__ */ jsx48($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
|
|
30968
30953
|
children
|
|
30969
30954
|
] });
|
|
30970
30955
|
}
|
|
@@ -30976,7 +30961,7 @@ var import_classnames35 = __toESM(require_classnames());
|
|
|
30976
30961
|
var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
|
|
30977
30962
|
|
|
30978
30963
|
// src/components/Modal.tsx
|
|
30979
|
-
import { jsx as
|
|
30964
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
30980
30965
|
function Modal2({
|
|
30981
30966
|
position = "center",
|
|
30982
30967
|
offset,
|
|
@@ -30988,7 +30973,7 @@ function Modal2({
|
|
|
30988
30973
|
if (offset) {
|
|
30989
30974
|
style[`--modal-offset`] = offset;
|
|
30990
30975
|
}
|
|
30991
|
-
return /* @__PURE__ */
|
|
30976
|
+
return /* @__PURE__ */ jsx49($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ jsx49($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames35.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
|
|
30992
30977
|
}
|
|
30993
30978
|
|
|
30994
30979
|
// src/components/Navbar.tsx
|
|
@@ -31003,7 +30988,7 @@ import {
|
|
|
31003
30988
|
var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
|
|
31004
30989
|
|
|
31005
30990
|
// src/components/Navbar.tsx
|
|
31006
|
-
import { jsx as
|
|
30991
|
+
import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
31007
30992
|
var NavbarContext = createContext3(void 0);
|
|
31008
30993
|
var useNavigationContext = () => {
|
|
31009
30994
|
const context = useContext5(NavbarContext);
|
|
@@ -31014,20 +30999,20 @@ var useNavigationContext = () => {
|
|
|
31014
30999
|
};
|
|
31015
31000
|
function Navbar({ showArrow = true, className, children, ...props }) {
|
|
31016
31001
|
const [activeMenu, setActiveMenu] = useState14("");
|
|
31017
|
-
return /* @__PURE__ */
|
|
31002
|
+
return /* @__PURE__ */ jsx50(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ jsx50("div", { ...props, className: (0, import_classnames36.default)(Navbar_default.nav, className), children }) });
|
|
31018
31003
|
}
|
|
31019
31004
|
function NavbarItem({ label, children, className, ...props }) {
|
|
31020
31005
|
const { activeMenu, setActiveMenu } = useNavigationContext();
|
|
31021
31006
|
if (label) {
|
|
31022
|
-
return /* @__PURE__ */
|
|
31023
|
-
/* @__PURE__ */
|
|
31024
|
-
/* @__PURE__ */
|
|
31025
|
-
/* @__PURE__ */
|
|
31007
|
+
return /* @__PURE__ */ jsxs27(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
|
|
31008
|
+
/* @__PURE__ */ jsxs27("div", { ...props, className: (0, import_classnames36.default)(Navbar_default.item, className), children: [
|
|
31009
|
+
/* @__PURE__ */ jsx50(Text, { children: label }),
|
|
31010
|
+
/* @__PURE__ */ jsx50(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ jsx50(ChevronRight, {}) })
|
|
31026
31011
|
] }),
|
|
31027
31012
|
children
|
|
31028
31013
|
] });
|
|
31029
31014
|
}
|
|
31030
|
-
return /* @__PURE__ */
|
|
31015
|
+
return /* @__PURE__ */ jsx50("div", { ...props, className: (0, import_classnames36.default)(Navbar_default.item, className), children });
|
|
31031
31016
|
}
|
|
31032
31017
|
|
|
31033
31018
|
// src/components/NavMenu.tsx
|
|
@@ -31037,9 +31022,9 @@ var import_classnames37 = __toESM(require_classnames());
|
|
|
31037
31022
|
var NavMenu_default = { "navmenu": "NavMenu_navmenu__NTQ4Y", "item": "NavMenu_item__NTdjZ", "selected": "NavMenu_selected__NzUxM" };
|
|
31038
31023
|
|
|
31039
31024
|
// src/components/NavMenu.tsx
|
|
31040
|
-
import { jsx as
|
|
31025
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
31041
31026
|
function NavMenu({ highlightColor, className, style, children, ...props }) {
|
|
31042
|
-
return /* @__PURE__ */
|
|
31027
|
+
return /* @__PURE__ */ jsx51(
|
|
31043
31028
|
Column,
|
|
31044
31029
|
{
|
|
31045
31030
|
...props,
|
|
@@ -31050,27 +31035,22 @@ function NavMenu({ highlightColor, className, style, children, ...props }) {
|
|
|
31050
31035
|
);
|
|
31051
31036
|
}
|
|
31052
31037
|
function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
31053
|
-
return /* @__PURE__ */
|
|
31038
|
+
return /* @__PURE__ */ jsx51(Row, { ...props, className: (0, import_classnames37.default)(NavMenu_default.item, className, isSelected && NavMenu_default.selected), children });
|
|
31054
31039
|
}
|
|
31055
31040
|
|
|
31056
31041
|
// src/components/PasswordField.tsx
|
|
31057
31042
|
import { useState as useState15 } from "react";
|
|
31058
31043
|
var import_classnames38 = __toESM(require_classnames());
|
|
31059
|
-
|
|
31060
|
-
// css-modules:E:\dev\umami-react-zen\src\components\PasswordField.module.css
|
|
31061
|
-
var PasswordField_default = { "icon": "PasswordField_icon__NTRlM" };
|
|
31062
|
-
|
|
31063
|
-
// src/components/PasswordField.tsx
|
|
31064
|
-
import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
31044
|
+
import { Fragment as Fragment8, jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
31065
31045
|
function PasswordField({ label, className, ...props }) {
|
|
31066
31046
|
const [show, setShow] = useState15(false);
|
|
31067
31047
|
const type = show ? "text" : "password";
|
|
31068
31048
|
const handleShowPassword = () => setShow((state) => !state);
|
|
31069
|
-
return /* @__PURE__ */
|
|
31070
|
-
label && /* @__PURE__ */
|
|
31071
|
-
/* @__PURE__ */
|
|
31072
|
-
/* @__PURE__ */
|
|
31073
|
-
/* @__PURE__ */
|
|
31049
|
+
return /* @__PURE__ */ jsxs28(Fragment8, { children: [
|
|
31050
|
+
label && /* @__PURE__ */ jsx52(Label2, { children: label }),
|
|
31051
|
+
/* @__PURE__ */ jsxs28($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames38.default)(TextField_default.field, className), children: [
|
|
31052
|
+
/* @__PURE__ */ jsx52($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
|
|
31053
|
+
/* @__PURE__ */ jsx52(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ jsx52(EyeSlash_default, {}) : /* @__PURE__ */ jsx52(Eye_default, {}) })
|
|
31074
31054
|
] })
|
|
31075
31055
|
] });
|
|
31076
31056
|
}
|
|
@@ -31082,9 +31062,9 @@ var import_classnames39 = __toESM(require_classnames());
|
|
|
31082
31062
|
var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
|
|
31083
31063
|
|
|
31084
31064
|
// src/components/Popover.tsx
|
|
31085
|
-
import { jsx as
|
|
31065
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
31086
31066
|
function Popover2({ children, className, ...props }) {
|
|
31087
|
-
return /* @__PURE__ */
|
|
31067
|
+
return /* @__PURE__ */ jsx53($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames39.default)(Popover_default.popover, className), children });
|
|
31088
31068
|
}
|
|
31089
31069
|
|
|
31090
31070
|
// src/components/ProgressBar.tsx
|
|
@@ -31094,12 +31074,12 @@ var import_classnames40 = __toESM(require_classnames());
|
|
|
31094
31074
|
var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
|
|
31095
31075
|
|
|
31096
31076
|
// src/components/ProgressBar.tsx
|
|
31097
|
-
import { Fragment as
|
|
31077
|
+
import { Fragment as Fragment9, jsx as jsx54, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
31098
31078
|
function ProgressBar2({ className, showValue, ...props }) {
|
|
31099
|
-
return /* @__PURE__ */
|
|
31100
|
-
return /* @__PURE__ */
|
|
31101
|
-
/* @__PURE__ */
|
|
31102
|
-
showValue && /* @__PURE__ */
|
|
31079
|
+
return /* @__PURE__ */ jsx54($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames40.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
|
|
31080
|
+
return /* @__PURE__ */ jsxs29(Fragment9, { children: [
|
|
31081
|
+
/* @__PURE__ */ jsx54("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx54("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
|
|
31082
|
+
showValue && /* @__PURE__ */ jsx54("div", { className: ProgressBar_default.value, children: valueText })
|
|
31103
31083
|
] });
|
|
31104
31084
|
} });
|
|
31105
31085
|
}
|
|
@@ -31111,16 +31091,16 @@ var import_classnames41 = __toESM(require_classnames());
|
|
|
31111
31091
|
var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
|
|
31112
31092
|
|
|
31113
31093
|
// src/components/ProgressCircle.tsx
|
|
31114
|
-
import { Fragment as
|
|
31094
|
+
import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
31115
31095
|
function ProgressCircle({ className, showValue, ...props }) {
|
|
31116
|
-
return /* @__PURE__ */
|
|
31096
|
+
return /* @__PURE__ */ jsx55($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames41.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
|
|
31117
31097
|
const radius = 45;
|
|
31118
31098
|
const circumference = radius * 2 * Math.PI;
|
|
31119
31099
|
const offset = circumference - percentage / 100 * circumference;
|
|
31120
|
-
return /* @__PURE__ */
|
|
31121
|
-
/* @__PURE__ */
|
|
31122
|
-
/* @__PURE__ */
|
|
31123
|
-
/* @__PURE__ */
|
|
31100
|
+
return /* @__PURE__ */ jsxs30(Fragment10, { children: [
|
|
31101
|
+
/* @__PURE__ */ jsxs30("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
31102
|
+
/* @__PURE__ */ jsx55("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
|
|
31103
|
+
/* @__PURE__ */ jsx55(
|
|
31124
31104
|
"circle",
|
|
31125
31105
|
{
|
|
31126
31106
|
className: ProgressCircle_default.fill,
|
|
@@ -31132,7 +31112,7 @@ function ProgressCircle({ className, showValue, ...props }) {
|
|
|
31132
31112
|
}
|
|
31133
31113
|
)
|
|
31134
31114
|
] }),
|
|
31135
|
-
showValue && /* @__PURE__ */
|
|
31115
|
+
showValue && /* @__PURE__ */ jsx55("label", { className: ProgressCircle_default.value, children: valueText })
|
|
31136
31116
|
] });
|
|
31137
31117
|
} });
|
|
31138
31118
|
}
|
|
@@ -31144,36 +31124,32 @@ var import_classnames42 = __toESM(require_classnames());
|
|
|
31144
31124
|
var RadioGroup_default = { "radiogroup": "RadioGroup_radiogroup__ZDJlY", "inputs": "RadioGroup_inputs__OTc1Y", "radio": "RadioGroup_radio__ZDJiM" };
|
|
31145
31125
|
|
|
31146
31126
|
// src/components/RadioGroup.tsx
|
|
31147
|
-
import { jsx as
|
|
31127
|
+
import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
31148
31128
|
function RadioGroup2({ label, children, className, ...props }) {
|
|
31149
|
-
return /* @__PURE__ */
|
|
31150
|
-
label && /* @__PURE__ */
|
|
31151
|
-
/* @__PURE__ */
|
|
31129
|
+
return /* @__PURE__ */ jsxs31($b6c3ddc6086f204d$export$a98f0dcb43a68a25, { ...props, className: (0, import_classnames42.default)(RadioGroup_default.radiogroup, className), children: [
|
|
31130
|
+
label && /* @__PURE__ */ jsx56(Label2, { children: label }),
|
|
31131
|
+
/* @__PURE__ */ jsx56("div", { className: RadioGroup_default.inputs, children })
|
|
31152
31132
|
] });
|
|
31153
31133
|
}
|
|
31154
31134
|
function Radio2({ children, className, ...props }) {
|
|
31155
|
-
return /* @__PURE__ */
|
|
31135
|
+
return /* @__PURE__ */ jsx56($b6c3ddc6086f204d$export$d7b12c4107be0d61, { ...props, className: (0, import_classnames42.default)(RadioGroup_default.radio, className), children });
|
|
31156
31136
|
}
|
|
31157
31137
|
|
|
31158
31138
|
// src/components/SearchField.tsx
|
|
31159
31139
|
import { useState as useState16, useEffect as useEffect12 } from "react";
|
|
31160
31140
|
var import_classnames43 = __toESM(require_classnames());
|
|
31161
|
-
|
|
31162
|
-
// css-modules:E:\dev\umami-react-zen\src\components\SearchField.module.css
|
|
31163
|
-
var SearchField_default = { "search": "SearchField_search__MzkwY", "input": "SearchField_input__OGFiY", "close": "SearchField_close__NmJkM" };
|
|
31164
|
-
|
|
31165
|
-
// src/components/SearchField.tsx
|
|
31166
|
-
import { Fragment as Fragment9, jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
31141
|
+
import { Fragment as Fragment11, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
31167
31142
|
function SearchField2({
|
|
31168
31143
|
label,
|
|
31169
31144
|
placeholder,
|
|
31170
31145
|
value,
|
|
31146
|
+
defaultValue = "",
|
|
31171
31147
|
delay = 0,
|
|
31172
31148
|
onSearch,
|
|
31173
31149
|
className,
|
|
31174
31150
|
...props
|
|
31175
31151
|
}) {
|
|
31176
|
-
const [search, setSearch] = useState16(
|
|
31152
|
+
const [search, setSearch] = useState16(defaultValue);
|
|
31177
31153
|
const searchValue = useDebounce(search, delay);
|
|
31178
31154
|
const handleChange = (value2) => {
|
|
31179
31155
|
setSearch(value2);
|
|
@@ -31190,43 +31166,34 @@ function SearchField2({
|
|
|
31190
31166
|
onSearch?.(searchValue);
|
|
31191
31167
|
}
|
|
31192
31168
|
}, [searchValue, delay]);
|
|
31193
|
-
return /* @__PURE__ */
|
|
31194
|
-
|
|
31195
|
-
|
|
31196
|
-
|
|
31197
|
-
|
|
31198
|
-
|
|
31199
|
-
|
|
31200
|
-
|
|
31201
|
-
|
|
31202
|
-
|
|
31203
|
-
/* @__PURE__ */
|
|
31204
|
-
|
|
31205
|
-
|
|
31206
|
-
|
|
31207
|
-
{
|
|
31208
|
-
className: (0, import_classnames43.default)(SearchField_default.input, input_default.input),
|
|
31209
|
-
placeholder
|
|
31210
|
-
}
|
|
31211
|
-
),
|
|
31212
|
-
state.value && /* @__PURE__ */ jsx53(
|
|
31213
|
-
$d2b4bc8c273e7be6$export$353f5b6fc5456de1,
|
|
31214
|
-
{
|
|
31215
|
-
className: (0, import_classnames43.default)(SearchField_default.close, input_default.icon),
|
|
31216
|
-
onPress: resetSearch,
|
|
31217
|
-
children: /* @__PURE__ */ jsx53(Icon, { size: "sm", children: /* @__PURE__ */ jsx53(Icons.Close, {}) })
|
|
31218
|
-
}
|
|
31219
|
-
)
|
|
31220
|
-
] })
|
|
31221
|
-
] });
|
|
31169
|
+
return /* @__PURE__ */ jsxs32(Fragment11, { children: [
|
|
31170
|
+
label && /* @__PURE__ */ jsx57(Label2, { children: label }),
|
|
31171
|
+
/* @__PURE__ */ jsxs32(
|
|
31172
|
+
$440f4836bcb56932$export$b94867ecbd698f21,
|
|
31173
|
+
{
|
|
31174
|
+
"aria-label": "Search",
|
|
31175
|
+
...props,
|
|
31176
|
+
className: (0, import_classnames43.default)(TextField_default.field, className),
|
|
31177
|
+
onChange: handleChange,
|
|
31178
|
+
children: [
|
|
31179
|
+
/* @__PURE__ */ jsx57(Icon2, { strokeColor: "8", children: /* @__PURE__ */ jsx57(Search, {}) }),
|
|
31180
|
+
/* @__PURE__ */ jsx57($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
|
|
31181
|
+
search && /* @__PURE__ */ jsx57(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ jsx57(X, {}) })
|
|
31182
|
+
]
|
|
31222
31183
|
}
|
|
31223
|
-
|
|
31224
|
-
);
|
|
31184
|
+
)
|
|
31185
|
+
] });
|
|
31225
31186
|
}
|
|
31226
31187
|
|
|
31227
31188
|
// src/components/Select.tsx
|
|
31228
31189
|
import { useState as useState17 } from "react";
|
|
31229
|
-
|
|
31190
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31191
|
+
|
|
31192
|
+
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
31193
|
+
var Select_default = { "select": "Select_select__OWQwZ", "button": "Select_button__YTEzN", "value": "Select_value__N2NjM", "list": "Select_list__ZDFkY", "search": "Select_search__YTgyZ" };
|
|
31194
|
+
|
|
31195
|
+
// src/components/Select.tsx
|
|
31196
|
+
import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
31230
31197
|
function Select2({
|
|
31231
31198
|
items = [],
|
|
31232
31199
|
value,
|
|
@@ -31256,33 +31223,43 @@ function Select2({
|
|
|
31256
31223
|
setSearch(value2);
|
|
31257
31224
|
onSearch?.(value2);
|
|
31258
31225
|
};
|
|
31259
|
-
return /* @__PURE__ */
|
|
31226
|
+
return /* @__PURE__ */ jsxs33(
|
|
31260
31227
|
$82d7e5349645de74$export$ef9b1a59e592288f,
|
|
31261
31228
|
{
|
|
31262
31229
|
"aria-label": "Select",
|
|
31263
31230
|
...props,
|
|
31231
|
+
className: (0, import_classnames44.default)(Select_default.select, className),
|
|
31264
31232
|
selectedKey: value,
|
|
31265
31233
|
defaultSelectedKey: defaultValue,
|
|
31266
31234
|
onSelectionChange: handleChange,
|
|
31267
31235
|
children: [
|
|
31268
|
-
label && /* @__PURE__ */
|
|
31269
|
-
/* @__PURE__ */
|
|
31270
|
-
|
|
31271
|
-
|
|
31272
|
-
|
|
31273
|
-
|
|
31274
|
-
|
|
31236
|
+
label && /* @__PURE__ */ jsx58(Label2, { children: label }),
|
|
31237
|
+
/* @__PURE__ */ jsx58(
|
|
31238
|
+
Button2,
|
|
31239
|
+
{
|
|
31240
|
+
variant: "outline",
|
|
31241
|
+
...buttonProps,
|
|
31242
|
+
className: (0, import_classnames44.default)(Select_default.button, buttonProps?.className),
|
|
31243
|
+
children: /* @__PURE__ */ jsxs33("div", { className: Select_default.value, children: [
|
|
31244
|
+
/* @__PURE__ */ jsx58($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
31245
|
+
/* @__PURE__ */ jsx58(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx58(ChevronRight, {}) })
|
|
31246
|
+
] })
|
|
31247
|
+
}
|
|
31248
|
+
),
|
|
31249
|
+
/* @__PURE__ */ jsx58(Popover2, { ...popoverProps, children: /* @__PURE__ */ jsxs33("div", { className: Select_default.list, children: [
|
|
31250
|
+
allowSearch && /* @__PURE__ */ jsx58(
|
|
31275
31251
|
SearchField2,
|
|
31276
31252
|
{
|
|
31253
|
+
className: Select_default.search,
|
|
31277
31254
|
value: search,
|
|
31278
31255
|
onSearch: handleSearch,
|
|
31279
31256
|
delay: searchDelay,
|
|
31280
31257
|
defaultValue: searchValue,
|
|
31281
31258
|
autoFocus: true
|
|
31282
31259
|
}
|
|
31283
|
-
)
|
|
31284
|
-
isLoading && /* @__PURE__ */
|
|
31285
|
-
/* @__PURE__ */
|
|
31260
|
+
),
|
|
31261
|
+
isLoading && /* @__PURE__ */ jsx58(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
31262
|
+
/* @__PURE__ */ jsx58(
|
|
31286
31263
|
List,
|
|
31287
31264
|
{
|
|
31288
31265
|
...listProps,
|
|
@@ -31291,21 +31268,21 @@ function Select2({
|
|
|
31291
31268
|
children
|
|
31292
31269
|
}
|
|
31293
31270
|
)
|
|
31294
|
-
] }) })
|
|
31271
|
+
] }) })
|
|
31295
31272
|
]
|
|
31296
31273
|
}
|
|
31297
31274
|
);
|
|
31298
31275
|
}
|
|
31299
31276
|
|
|
31300
31277
|
// src/components/Sidebar.tsx
|
|
31301
|
-
var
|
|
31278
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
31302
31279
|
import { createContext as createContext4, useContext as useContext6 } from "react";
|
|
31303
31280
|
|
|
31304
31281
|
// css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
|
|
31305
31282
|
var Sidebar_default = { "sidenav": "Sidebar_sidenav__ODc2Z", "header": "Sidebar_header__YWI3N", "name": "Sidebar_name__NThjO", "section": "Sidebar_section__YzQwN", "title": "Sidebar_title__NDBlN", "content": "Sidebar_content__NmUzM", "item": "Sidebar_item__ZjYxZ", "label": "Sidebar_label__OTI3N", "collapsed": "Sidebar_collapsed__NDY0N", "muted": "Sidebar_muted__NjI0N", "selected": "Sidebar_selected__N2RhZ", "variant-quiet": "Sidebar_variant-quiet__ZjllN", "variant-1": "Sidebar_variant-1__NmFhM", "variant-2": "Sidebar_variant-2__OWYzZ", "variant-3": "Sidebar_variant-3__ODk2Y", "noborder": "Sidebar_noborder__NTJlN" };
|
|
31306
31283
|
|
|
31307
31284
|
// src/components/Sidebar.tsx
|
|
31308
|
-
import { jsx as
|
|
31285
|
+
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
31309
31286
|
var SidebarContext = createContext4(null);
|
|
31310
31287
|
function Sidebar({
|
|
31311
31288
|
variant = "1",
|
|
@@ -31316,11 +31293,11 @@ function Sidebar({
|
|
|
31316
31293
|
children,
|
|
31317
31294
|
...props
|
|
31318
31295
|
}) {
|
|
31319
|
-
return /* @__PURE__ */
|
|
31296
|
+
return /* @__PURE__ */ jsx59(SidebarContext.Provider, { value: { isCollapsed }, children: /* @__PURE__ */ jsx59(
|
|
31320
31297
|
Column,
|
|
31321
31298
|
{
|
|
31322
31299
|
...props,
|
|
31323
|
-
className: (0,
|
|
31300
|
+
className: (0, import_classnames45.default)(
|
|
31324
31301
|
Sidebar_default.sidenav,
|
|
31325
31302
|
isCollapsed && Sidebar_default.collapsed,
|
|
31326
31303
|
muteItems && Sidebar_default.muted,
|
|
@@ -31336,9 +31313,9 @@ function SidebarSection({
|
|
|
31336
31313
|
title,
|
|
31337
31314
|
children
|
|
31338
31315
|
}) {
|
|
31339
|
-
return /* @__PURE__ */
|
|
31340
|
-
title && /* @__PURE__ */
|
|
31341
|
-
/* @__PURE__ */
|
|
31316
|
+
return /* @__PURE__ */ jsxs34(Column, { className: Sidebar_default.section, children: [
|
|
31317
|
+
title && /* @__PURE__ */ jsx59("div", { className: Sidebar_default.title, children: title }),
|
|
31318
|
+
/* @__PURE__ */ jsx59("div", { className: Sidebar_default.content, children })
|
|
31342
31319
|
] });
|
|
31343
31320
|
}
|
|
31344
31321
|
function SidebarHeader({
|
|
@@ -31348,9 +31325,9 @@ function SidebarHeader({
|
|
|
31348
31325
|
children,
|
|
31349
31326
|
...props
|
|
31350
31327
|
}) {
|
|
31351
|
-
return /* @__PURE__ */
|
|
31352
|
-
icon && /* @__PURE__ */
|
|
31353
|
-
/* @__PURE__ */
|
|
31328
|
+
return /* @__PURE__ */ jsxs34(Row, { ...props, className: (0, import_classnames45.default)(Sidebar_default.header, className), children: [
|
|
31329
|
+
icon && /* @__PURE__ */ jsx59(Icon2, { size: "sm", children: icon }),
|
|
31330
|
+
/* @__PURE__ */ jsx59("div", { className: (0, import_classnames45.default)(Sidebar_default.name, Sidebar_default.label), children: label }),
|
|
31354
31331
|
children
|
|
31355
31332
|
] });
|
|
31356
31333
|
}
|
|
@@ -31363,41 +31340,41 @@ function SidebarItem({
|
|
|
31363
31340
|
...props
|
|
31364
31341
|
}) {
|
|
31365
31342
|
const { isCollapsed } = useContext6(SidebarContext);
|
|
31366
|
-
return /* @__PURE__ */
|
|
31367
|
-
/* @__PURE__ */
|
|
31343
|
+
return /* @__PURE__ */ jsxs34($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
|
|
31344
|
+
/* @__PURE__ */ jsx59($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ jsxs34(
|
|
31368
31345
|
Row,
|
|
31369
31346
|
{
|
|
31370
31347
|
...props,
|
|
31371
|
-
className: (0,
|
|
31348
|
+
className: (0, import_classnames45.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
|
|
31372
31349
|
children: [
|
|
31373
|
-
icon && /* @__PURE__ */
|
|
31374
|
-
label && /* @__PURE__ */
|
|
31350
|
+
icon && /* @__PURE__ */ jsx59(Icon2, { size: "sm", children: icon }),
|
|
31351
|
+
label && /* @__PURE__ */ jsx59(Text, { className: (0, import_classnames45.default)(Sidebar_default.label), children: label }),
|
|
31375
31352
|
children
|
|
31376
31353
|
]
|
|
31377
31354
|
}
|
|
31378
31355
|
) }),
|
|
31379
|
-
/* @__PURE__ */
|
|
31356
|
+
/* @__PURE__ */ jsx59(Tooltip2, { placement: "right", children: label })
|
|
31380
31357
|
] });
|
|
31381
31358
|
}
|
|
31382
31359
|
|
|
31383
31360
|
// src/components/Slider.tsx
|
|
31384
|
-
var
|
|
31361
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31385
31362
|
|
|
31386
31363
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31387
31364
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
31388
31365
|
|
|
31389
31366
|
// src/components/Slider.tsx
|
|
31390
|
-
import { Fragment as
|
|
31367
|
+
import { Fragment as Fragment12, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
31391
31368
|
function Slider2({ className, showValue = true, label, ...props }) {
|
|
31392
|
-
return /* @__PURE__ */
|
|
31393
|
-
/* @__PURE__ */
|
|
31394
|
-
label && /* @__PURE__ */
|
|
31395
|
-
showValue && /* @__PURE__ */
|
|
31369
|
+
return /* @__PURE__ */ jsxs35($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames46.default)(Slider_default.slider, className), children: [
|
|
31370
|
+
/* @__PURE__ */ jsxs35("div", { className: Slider_default.header, children: [
|
|
31371
|
+
label && /* @__PURE__ */ jsx60(Label2, { className: Slider_default.label, children: label }),
|
|
31372
|
+
showValue && /* @__PURE__ */ jsx60($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
31396
31373
|
] }),
|
|
31397
|
-
/* @__PURE__ */
|
|
31374
|
+
/* @__PURE__ */ jsx60($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
|
|
31398
31375
|
const isHorizontal = state.orientation === "horizontal";
|
|
31399
|
-
return /* @__PURE__ */
|
|
31400
|
-
/* @__PURE__ */
|
|
31376
|
+
return /* @__PURE__ */ jsxs35(Fragment12, { children: [
|
|
31377
|
+
/* @__PURE__ */ jsx60(
|
|
31401
31378
|
"div",
|
|
31402
31379
|
{
|
|
31403
31380
|
className: Slider_default.fill,
|
|
@@ -31406,27 +31383,27 @@ function Slider2({ className, showValue = true, label, ...props }) {
|
|
|
31406
31383
|
}
|
|
31407
31384
|
}
|
|
31408
31385
|
),
|
|
31409
|
-
/* @__PURE__ */
|
|
31386
|
+
/* @__PURE__ */ jsx60($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
|
|
31410
31387
|
] });
|
|
31411
31388
|
} })
|
|
31412
31389
|
] });
|
|
31413
31390
|
}
|
|
31414
31391
|
|
|
31415
31392
|
// src/components/StatusLight.tsx
|
|
31416
|
-
var
|
|
31393
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31417
31394
|
|
|
31418
31395
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31419
31396
|
var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "status": "StatusLight_status__MDNmO", "bg": "StatusLight_bg__MjVjN", "success": "StatusLight_success__ZWI1N", "warning": "StatusLight_warning__YWRmM", "error": "StatusLight_error__NjdjM", "active": "StatusLight_active__NGZiY", "inactive": "StatusLight_inactive__NDI0Z" };
|
|
31420
31397
|
|
|
31421
31398
|
// src/components/StatusLight.tsx
|
|
31422
|
-
import { jsx as
|
|
31399
|
+
import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
31423
31400
|
function StatusLight(props) {
|
|
31424
31401
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31425
|
-
return /* @__PURE__ */
|
|
31426
|
-
/* @__PURE__ */
|
|
31402
|
+
return /* @__PURE__ */ jsxs36("div", { ...domProps, className: (0, import_classnames47.default)(StatusLight_default.statuslight, className), children: [
|
|
31403
|
+
/* @__PURE__ */ jsx61("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx61(
|
|
31427
31404
|
"div",
|
|
31428
31405
|
{
|
|
31429
|
-
className: (0,
|
|
31406
|
+
className: (0, import_classnames47.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31430
31407
|
style: { backgroundColor: color }
|
|
31431
31408
|
}
|
|
31432
31409
|
) }),
|
|
@@ -31435,25 +31412,25 @@ function StatusLight(props) {
|
|
|
31435
31412
|
}
|
|
31436
31413
|
|
|
31437
31414
|
// src/components/Switch.tsx
|
|
31438
|
-
var
|
|
31415
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31439
31416
|
|
|
31440
31417
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31441
31418
|
var Switch_default = { "switch": "Switch_switch__NzI0O", "track": "Switch_track__ZWU0O", "knob": "Switch_knob__YjFmZ" };
|
|
31442
31419
|
|
|
31443
31420
|
// src/components/Switch.tsx
|
|
31444
|
-
import { Fragment as
|
|
31421
|
+
import { Fragment as Fragment13, jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
31445
31422
|
function Switch2({ label, children, className, ...props }) {
|
|
31446
31423
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31447
|
-
return /* @__PURE__ */
|
|
31448
|
-
label && /* @__PURE__ */
|
|
31449
|
-
/* @__PURE__ */
|
|
31424
|
+
return /* @__PURE__ */ jsxs37(Fragment13, { children: [
|
|
31425
|
+
label && /* @__PURE__ */ jsx62(Label2, { children: label }),
|
|
31426
|
+
/* @__PURE__ */ jsxs37(
|
|
31450
31427
|
$8e59e948500a8fe1$export$b5d5cf8927ab7262,
|
|
31451
31428
|
{
|
|
31452
31429
|
...props,
|
|
31453
31430
|
isSelected,
|
|
31454
|
-
className: (0,
|
|
31431
|
+
className: (0, import_classnames48.default)(Switch_default.switch, className),
|
|
31455
31432
|
children: [
|
|
31456
|
-
/* @__PURE__ */
|
|
31433
|
+
/* @__PURE__ */ jsx62("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx62("div", { className: Switch_default.knob }) }),
|
|
31457
31434
|
children
|
|
31458
31435
|
]
|
|
31459
31436
|
}
|
|
@@ -31465,38 +31442,18 @@ function Switch2({ label, children, className, ...props }) {
|
|
|
31465
31442
|
var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
|
|
31466
31443
|
|
|
31467
31444
|
// src/components/Tabs.tsx
|
|
31468
|
-
import { jsx as
|
|
31445
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
31469
31446
|
function Tabs2({ children, ...props }) {
|
|
31470
|
-
return /* @__PURE__ */
|
|
31447
|
+
return /* @__PURE__ */ jsx63($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
|
|
31471
31448
|
}
|
|
31472
31449
|
function TabList2({ children, ...props }) {
|
|
31473
|
-
return /* @__PURE__ */
|
|
31450
|
+
return /* @__PURE__ */ jsx63($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
|
|
31474
31451
|
}
|
|
31475
31452
|
function Tab({ children, ...props }) {
|
|
31476
|
-
return /* @__PURE__ */
|
|
31453
|
+
return /* @__PURE__ */ jsx63($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
|
|
31477
31454
|
}
|
|
31478
31455
|
function TabPanel2({ children, ...props }) {
|
|
31479
|
-
return /* @__PURE__ */
|
|
31480
|
-
}
|
|
31481
|
-
|
|
31482
|
-
// src/components/TextArea.tsx
|
|
31483
|
-
var import_classnames48 = __toESM(require_classnames());
|
|
31484
|
-
|
|
31485
|
-
// css-modules:E:\dev\umami-react-zen\src\components\TextArea.module.css
|
|
31486
|
-
var TextArea_default = { "textarea": "TextArea_textarea__MTk5Y", "resize-none": "TextArea_resize-none__OTJhY", "resize-horizontal": "TextArea_resize-horizontal__YWIyZ", "resize-vertical": "TextArea_resize-vertical__NTM3O" };
|
|
31487
|
-
|
|
31488
|
-
// src/components/TextArea.tsx
|
|
31489
|
-
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
31490
|
-
function TextArea2({
|
|
31491
|
-
rows,
|
|
31492
|
-
cols,
|
|
31493
|
-
resize,
|
|
31494
|
-
className,
|
|
31495
|
-
style,
|
|
31496
|
-
children,
|
|
31497
|
-
...props
|
|
31498
|
-
}) {
|
|
31499
|
-
return /* @__PURE__ */ jsx60(TextField2, { ...props, className: (0, import_classnames48.default)(resize && TextArea_default[`resize-${resize}`]), asChild: true, children: /* @__PURE__ */ jsx60($216918bed6669f72$export$f5c9f3c2c4054eec, { rows, cols, style: { ...style }, children }) });
|
|
31456
|
+
return /* @__PURE__ */ jsx63($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
|
|
31500
31457
|
}
|
|
31501
31458
|
|
|
31502
31459
|
// src/components/ThemeButton.tsx
|
|
@@ -31506,7 +31463,7 @@ var import_classnames49 = __toESM(require_classnames());
|
|
|
31506
31463
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
31507
31464
|
|
|
31508
31465
|
// src/components/ThemeButton.tsx
|
|
31509
|
-
import { jsx as
|
|
31466
|
+
import { jsx as jsx64, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
31510
31467
|
function ThemeButton({
|
|
31511
31468
|
className,
|
|
31512
31469
|
variant = "quiet",
|
|
@@ -31531,7 +31488,7 @@ function ThemeButton({
|
|
|
31531
31488
|
setTheme2(theme === "light" ? "dark" : "light");
|
|
31532
31489
|
onPress?.(e);
|
|
31533
31490
|
}
|
|
31534
|
-
return /* @__PURE__ */
|
|
31491
|
+
return /* @__PURE__ */ jsxs38(
|
|
31535
31492
|
Button2,
|
|
31536
31493
|
{
|
|
31537
31494
|
...props,
|
|
@@ -31541,7 +31498,7 @@ function ThemeButton({
|
|
|
31541
31498
|
children: [
|
|
31542
31499
|
transitions((style, item) => (
|
|
31543
31500
|
// @ts-ignore
|
|
31544
|
-
/* @__PURE__ */
|
|
31501
|
+
/* @__PURE__ */ jsx64(animated.div, { style, children: /* @__PURE__ */ jsx64(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ jsx64(Sun, {}) : /* @__PURE__ */ jsx64(Moon, {}) }) }, item)
|
|
31545
31502
|
)),
|
|
31546
31503
|
"\xA0"
|
|
31547
31504
|
]
|
|
@@ -31556,12 +31513,12 @@ var import_classnames50 = __toESM(require_classnames());
|
|
|
31556
31513
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
31557
31514
|
|
|
31558
31515
|
// src/components/Toggle.tsx
|
|
31559
|
-
import { Fragment as
|
|
31516
|
+
import { Fragment as Fragment14, jsx as jsx65, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
31560
31517
|
function Toggle({ label, children, className, ...props }) {
|
|
31561
31518
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31562
|
-
return /* @__PURE__ */
|
|
31563
|
-
label && /* @__PURE__ */
|
|
31564
|
-
/* @__PURE__ */
|
|
31519
|
+
return /* @__PURE__ */ jsxs39(Fragment14, { children: [
|
|
31520
|
+
label && /* @__PURE__ */ jsx65(Label2, { children: label }),
|
|
31521
|
+
/* @__PURE__ */ jsx65(
|
|
31565
31522
|
$efde0372d7a700fe$export$d2b052e7b4be1756,
|
|
31566
31523
|
{
|
|
31567
31524
|
...props,
|
|
@@ -31580,7 +31537,7 @@ var import_classnames51 = __toESM(require_classnames());
|
|
|
31580
31537
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NTgyM", "list": "ToggleGroup_list__OWIyM", "item": "ToggleGroup_item__NDJmZ" };
|
|
31581
31538
|
|
|
31582
31539
|
// src/components/ToggleGroup.tsx
|
|
31583
|
-
import { jsx as
|
|
31540
|
+
import { jsx as jsx66, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
31584
31541
|
function ToggleGroup({
|
|
31585
31542
|
label,
|
|
31586
31543
|
value,
|
|
@@ -31598,7 +31555,7 @@ function ToggleGroup({
|
|
|
31598
31555
|
onSelectionChange?.(keys);
|
|
31599
31556
|
onChange?.(Array.from(keys).map((k) => k.toString()));
|
|
31600
31557
|
};
|
|
31601
|
-
return /* @__PURE__ */
|
|
31558
|
+
return /* @__PURE__ */ jsxs40(
|
|
31602
31559
|
$eaf9e70818b436db$export$67ea30858aaf75e3,
|
|
31603
31560
|
{
|
|
31604
31561
|
...props,
|
|
@@ -31608,24 +31565,24 @@ function ToggleGroup({
|
|
|
31608
31565
|
onSelectionChange: handleChange,
|
|
31609
31566
|
className: (0, import_classnames51.default)(ToggleGroup_default.group, className),
|
|
31610
31567
|
children: [
|
|
31611
|
-
label && /* @__PURE__ */
|
|
31612
|
-
/* @__PURE__ */
|
|
31568
|
+
label && /* @__PURE__ */ jsx66(Label2, { children: label }),
|
|
31569
|
+
/* @__PURE__ */ jsx66($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
31613
31570
|
]
|
|
31614
31571
|
}
|
|
31615
31572
|
);
|
|
31616
31573
|
}
|
|
31617
31574
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31618
|
-
return /* @__PURE__ */
|
|
31575
|
+
return /* @__PURE__ */ jsx66($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames51.default)(ToggleGroup_default.item, className), children });
|
|
31619
31576
|
}
|
|
31620
31577
|
|
|
31621
31578
|
// src/components/ZenProvider.tsx
|
|
31622
|
-
import { jsx as
|
|
31579
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
31623
31580
|
var defaultToastCofig = {
|
|
31624
31581
|
duration: 3e3
|
|
31625
31582
|
};
|
|
31626
31583
|
function ZenProvider({ children, ...props }) {
|
|
31627
31584
|
const { toast = defaultToastCofig } = props;
|
|
31628
|
-
return /* @__PURE__ */
|
|
31585
|
+
return /* @__PURE__ */ jsx67(ToastProvider, { ...toast, children });
|
|
31629
31586
|
}
|
|
31630
31587
|
export {
|
|
31631
31588
|
Accordion,
|
|
@@ -31660,8 +31617,7 @@ export {
|
|
|
31660
31617
|
Grid,
|
|
31661
31618
|
Heading2 as Heading,
|
|
31662
31619
|
HoverTrigger,
|
|
31663
|
-
Icon,
|
|
31664
|
-
Icons,
|
|
31620
|
+
Icon2 as Icon,
|
|
31665
31621
|
Image,
|
|
31666
31622
|
InlineEditField,
|
|
31667
31623
|
Label2 as Label,
|
|
@@ -31714,7 +31670,6 @@ export {
|
|
|
31714
31670
|
TableRow,
|
|
31715
31671
|
Tabs2 as Tabs,
|
|
31716
31672
|
Text,
|
|
31717
|
-
TextArea2 as TextArea,
|
|
31718
31673
|
TextField2 as TextField,
|
|
31719
31674
|
ThemeButton,
|
|
31720
31675
|
Toast,
|
|
@@ -31762,4 +31717,27 @@ classnames/index.js:
|
|
|
31762
31717
|
Licensed under the MIT License (MIT), see
|
|
31763
31718
|
http://jedwatson.github.io/classnames
|
|
31764
31719
|
*)
|
|
31720
|
+
|
|
31721
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
31722
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
31723
|
+
lucide-react/dist/esm/Icon.js:
|
|
31724
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
31725
|
+
lucide-react/dist/esm/icons/check.js:
|
|
31726
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
|
31727
|
+
lucide-react/dist/esm/icons/copy.js:
|
|
31728
|
+
lucide-react/dist/esm/icons/info.js:
|
|
31729
|
+
lucide-react/dist/esm/icons/minus.js:
|
|
31730
|
+
lucide-react/dist/esm/icons/moon.js:
|
|
31731
|
+
lucide-react/dist/esm/icons/search.js:
|
|
31732
|
+
lucide-react/dist/esm/icons/square-pen.js:
|
|
31733
|
+
lucide-react/dist/esm/icons/sun.js:
|
|
31734
|
+
lucide-react/dist/esm/icons/triangle-alert.js:
|
|
31735
|
+
lucide-react/dist/esm/icons/x.js:
|
|
31736
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
31737
|
+
(**
|
|
31738
|
+
* @license lucide-react v0.511.0 - ISC
|
|
31739
|
+
*
|
|
31740
|
+
* This source code is licensed under the ISC license.
|
|
31741
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31742
|
+
*)
|
|
31765
31743
|
*/
|