@clickhouse/click-ui 0.0.169 → 0.0.171
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/click-ui.es.js +974 -199
- package/dist/click-ui.umd.js +1227 -452
- package/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/dist/components/Icon/IconCommon.d.ts +2 -0
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/Input/InputWrapper.d.ts +3 -2
- package/dist/components/icons/Globe.d.ts +4 -0
- package/dist/components/icons/Square.d.ts +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/styles/types.d.ts +71 -0
- package/dist/styles/variables.classic.json.d.ts +35 -0
- package/dist/styles/variables.dark.json.d.ts +35 -0
- package/dist/styles/variables.json.d.ts +73 -2
- package/dist/styles/variables.light.json.d.ts +37 -2
- package/package.json +2 -1
package/dist/click-ui.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("styled-components"), require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "styled-components", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2["click-ui"] = {}, global2.jsxRuntime, global2.styled, global2.React, global2.ReactDOM));
|
|
3
|
-
})(this, function(exports2, jsxRuntime,
|
|
3
|
+
})(this, function(exports2, jsxRuntime, styled, React, ReactDOM) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
6
|
var __publicField = (obj, key, value) => {
|
|
@@ -233,11 +233,12 @@ var __publicField = (obj, key, value) => {
|
|
|
233
233
|
] });
|
|
234
234
|
const FolderClosed = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeWidth: 1.5, d: "M19 19H3C2.44772 19 2 18.5523 2 18V6C2 5.44772 2.44772 5 3 5H6.62869C6.98835 5 7.32032 5.19315 7.49805 5.50583L8.34405 6.99417C8.52179 7.30685 8.85375 7.5 9.21342 7.5H19C19.5523 7.5 20 7.94772 20 8.5V9.5V18C20 18.5523 19.5523 19 19 19Z" }) });
|
|
235
235
|
const Gift = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#161517", stroke: "#161517", strokeWidth: 0.6, d: "M19.306 6.276h-3.704a2.52 2.52 0 0 0 .752-1.805C16.354 3.11 15.296 2 13.997 2c-.937 0-1.745.578-2.125 1.41-.386-.56-1.013-.928-1.722-.928-1.172 0-2.126 1-2.126 2.23 0 .61.234 1.161.612 1.564H4.694C3.76 6.276 3 7.073 3 8.053v1.285c0 .919.67 1.677 1.523 1.767v8.64c0 1.244.964 2.255 2.15 2.255h10.655c1.185 0 2.149-1.011 2.149-2.254v-8.641c.854-.09 1.523-.848 1.523-1.767V8.052c0-.979-.76-1.776-1.694-1.776Zm-7.03-1.805c0-.995.772-1.804 1.721-1.804.949 0 1.72.81 1.72 1.804 0 .996-.771 1.805-1.72 1.805h-1.72V4.471Zm-3.617.242c0-.862.669-1.564 1.49-1.564.823 0 1.492.702 1.492 1.564v1.563H10.15c-.822 0-1.49-.701-1.49-1.563ZM3.635 9.338V8.052c0-.611.475-1.11 1.058-1.11h5.457l1.532.001v3.504H4.693c-.583 0-1.058-.498-1.058-1.11ZM5.16 19.746v-8.632h6.523v10.22h-5.01c-.834 0-1.513-.713-1.513-1.588Zm13.682 0c0 .875-.679 1.588-1.514 1.588h-5.01v-10.22h6.525v8.632Zm1.523-10.408c0 .612-.474 1.11-1.057 1.11h-6.99V6.942h6.99c.583 0 1.058.498 1.058 1.11v1.285Z" }) });
|
|
236
|
+
const Globe = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12C21 16.9706 16.9706 21 12 21M21 12C21 7.02944 16.9706 3 12 3M21 12H3M12 21C7.02944 21 3 16.9706 3 12M12 21C14.2512 18.5355 15.5305 15.3372 15.6 12C15.5305 8.66283 14.2512 5.46452 12 3M12 21C9.74885 18.5355 8.46952 15.3372 8.4 12C8.46952 8.66283 9.74885 5.46452 12 3M3 12C3 7.02944 7.02944 3 12 3", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
236
237
|
const Home = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
237
238
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4 8.6V21h16V8.6" }),
|
|
238
239
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m2 10 10-7 10 7M15 21v-6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v6" })
|
|
239
240
|
] });
|
|
240
|
-
const animationCircle1 =
|
|
241
|
+
const animationCircle1 = styled.keyframes`
|
|
241
242
|
0 {
|
|
242
243
|
r: 0;
|
|
243
244
|
}
|
|
@@ -251,7 +252,7 @@ var __publicField = (obj, key, value) => {
|
|
|
251
252
|
r: 0;
|
|
252
253
|
}
|
|
253
254
|
`;
|
|
254
|
-
const animationCircle2 =
|
|
255
|
+
const animationCircle2 = styled.keyframes`
|
|
255
256
|
0 {
|
|
256
257
|
r: 0;
|
|
257
258
|
}
|
|
@@ -268,7 +269,7 @@ var __publicField = (obj, key, value) => {
|
|
|
268
269
|
r: 0
|
|
269
270
|
}
|
|
270
271
|
`;
|
|
271
|
-
const animationCircle3 =
|
|
272
|
+
const animationCircle3 = styled.keyframes`
|
|
272
273
|
0 {
|
|
273
274
|
r: 0;
|
|
274
275
|
}
|
|
@@ -282,7 +283,7 @@ var __publicField = (obj, key, value) => {
|
|
|
282
283
|
r: 0
|
|
283
284
|
}
|
|
284
285
|
`;
|
|
285
|
-
const HorizontalLoading =
|
|
286
|
+
const HorizontalLoading = styled.styled(DotsHorizontal).withConfig({
|
|
286
287
|
componentId: "sc-1b02o5c-0"
|
|
287
288
|
})(["circle{animation-name:horizontal-loading;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-name:horizontal-loading;-webkit-animation-duration:1.5s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:horizontal-loading;-moz-animation-duration:1.5s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;&:nth-child(1){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(2){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(3){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}}"], animationCircle1, animationCircle1, animationCircle1, animationCircle2, animationCircle2, animationCircle2, animationCircle3, animationCircle3, animationCircle3);
|
|
288
289
|
const Http = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M3 13.8v-3.6M5.88 10.2v3.6M5.88 12H3M10.92 10.2H8.04M9.48 10.2v3.6M18.12 10.2v3.6M15.96 10.2h-2.88M14.52 10.2v3.6M18.12 10.2h1.755c.621 0 1.125.504 1.125 1.125v0c0 .621-.504 1.125-1.125 1.125H18.12M3 7V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2" }) });
|
|
@@ -318,7 +319,7 @@ var __publicField = (obj, key, value) => {
|
|
|
318
319
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.25, d: "M16.375 15.125H19.5v3.125" }),
|
|
319
320
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4.5 12a7.495 7.495 0 0 0 14.312 3.125" })
|
|
320
321
|
] });
|
|
321
|
-
const LoadingFlipped =
|
|
322
|
+
const LoadingFlipped = styled.styled(Loading).withConfig({
|
|
322
323
|
componentId: "sc-15ao23s-0"
|
|
323
324
|
})(["transform:scaleX(-1);"]);
|
|
324
325
|
const Lock = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
@@ -326,7 +327,7 @@ var __publicField = (obj, key, value) => {
|
|
|
326
327
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.375 14.458V17.5537", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
327
328
|
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.375 21.6813H7.375C6.27 21.6813 5.375 20.7578 5.375 19.6176V12.3943C5.375 11.2541 6.27 10.3306 7.375 10.3306H17.375C18.48 10.3306 19.375 11.2541 19.375 12.3943V19.6176C19.375 20.7578 18.48 21.6813 17.375 21.6813Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
328
329
|
] });
|
|
329
|
-
const spin =
|
|
330
|
+
const spin = styled.keyframes`
|
|
330
331
|
from {
|
|
331
332
|
transform: rotate(0deg) scaleX(-1);
|
|
332
333
|
}
|
|
@@ -334,7 +335,7 @@ var __publicField = (obj, key, value) => {
|
|
|
334
335
|
transform: rotate(360deg) scaleX(-1);
|
|
335
336
|
}
|
|
336
337
|
`;
|
|
337
|
-
const LoadingAnimated =
|
|
338
|
+
const LoadingAnimated = styled.styled(LoadingFlipped).withConfig({
|
|
338
339
|
componentId: "sc-1h6qu7m-0"
|
|
339
340
|
})(["animation:", " 1s infinite linear;"], spin);
|
|
340
341
|
const Metrics = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
@@ -405,8 +406,13 @@ var __publicField = (obj, key, value) => {
|
|
|
405
406
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12.007 10.313A1.69 1.69 0 0 1 13.688 12v.008a1.689 1.689 0 1 1-1.681-1.695M10.807 13.194l-1.25 1.25M16.202 7.798 13.201 10.8" }),
|
|
406
407
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M18.367 5.634A9.004 9.004 0 1 1 12 2.997v3" })
|
|
407
408
|
] });
|
|
409
|
+
const Square = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3.75", y: "3.75", width: "16.5", height: "16.5", rx: "1.25", stroke: "white", strokeWidth: "1.5" }) });
|
|
408
410
|
const Star = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2.896L14.935 8.889L21.5 9.856L16.75 14.518L17.871 21.104L12 17.993L6.129 21.104L7.25 14.518L2.5 9.856L9.064 8.889L12 2.896Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
409
|
-
const Stop = (props) => /* @__PURE__ */ jsxRuntime.
|
|
411
|
+
const Stop = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
412
|
+
/* @__PURE__ */ jsxRuntime.jsx("mask", { id: "path-1-inside-1_9731_929", fill: "white", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "6", height: "6", rx: "0.4" }) }),
|
|
413
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "6", height: "6", rx: "0.4", fill: "white", stroke: "white", strokeWidth: "3", mask: "url(#path-1-inside-1_9731_929)" }),
|
|
414
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 21V21C7.029 21 3 16.971 3 12V12C3 7.029 7.029 3 12 3V3C16.971 3 21 7.029 21 12V12C21 16.971 16.971 21 12 21Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
415
|
+
] });
|
|
410
416
|
const Support = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
411
417
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M16 18H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2Z", clipRule: "evenodd" }),
|
|
412
418
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M10.467 11.504v-.207c0-.678.419-1.045.839-1.327.41-.276.82-.636.82-1.3a1.659 1.659 0 0 0-3.318 0M10.466 13.843a.148.148 0 0 0-.15.15.15.15 0 1 0 .15-.15" }),
|
|
@@ -605,7 +611,7 @@ var __publicField = (obj, key, value) => {
|
|
|
605
611
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 4V8C8 8.63 8.296 9.222 8.8 9.6L12 12L15.2 9.6C15.704 9.222 16 8.63 16 8V4", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
606
612
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 20V16C16 15.37 15.704 14.778 15.2 14.4L12 12L8.8 14.4C8.296 14.778 8 15.37 8 16V20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
607
613
|
] });
|
|
608
|
-
const Calendar = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
614
|
+
const Calendar$1 = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
609
615
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2.99609", y: "2.99658", width: "18.0075", height: "18.0075", rx: "3", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
610
616
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.0036 7.99826H2.99609", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
611
617
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.3022 11.4997C17.3022 11.5273 17.2798 11.5497 17.2522 11.5497C17.2245 11.5497 17.2021 11.5273 17.2021 11.4997C17.2021 11.4721 17.2245 11.4497 17.2522 11.4497", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -704,7 +710,7 @@ var __publicField = (obj, key, value) => {
|
|
|
704
710
|
briefcase: Briefcase,
|
|
705
711
|
building: Building,
|
|
706
712
|
"burger-menu": BurgerMenu,
|
|
707
|
-
calendar: Calendar,
|
|
713
|
+
calendar: Calendar$1,
|
|
708
714
|
"calendar-with-time": CalendarWithTime,
|
|
709
715
|
cards: Cards,
|
|
710
716
|
"cell-tower": CellTower,
|
|
@@ -754,6 +760,7 @@ var __publicField = (obj, key, value) => {
|
|
|
754
760
|
"folder-open": FolderOpen,
|
|
755
761
|
gear: Gear,
|
|
756
762
|
gift: Gift,
|
|
763
|
+
globe: Globe,
|
|
757
764
|
"git-merge": GitMerge,
|
|
758
765
|
history: HistoryIcon,
|
|
759
766
|
home: Home,
|
|
@@ -807,6 +814,7 @@ var __publicField = (obj, key, value) => {
|
|
|
807
814
|
sparkle: Sparkle,
|
|
808
815
|
speaker: Speaker,
|
|
809
816
|
speed: Speed,
|
|
817
|
+
square: Square,
|
|
810
818
|
star: Star,
|
|
811
819
|
stop: Stop,
|
|
812
820
|
support: Support,
|
|
@@ -1387,7 +1395,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1387
1395
|
] }),
|
|
1388
1396
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_5333_368", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", rx: "1", fill: "white" }) }) })
|
|
1389
1397
|
] });
|
|
1390
|
-
const FormRoot =
|
|
1398
|
+
const FormRoot = styled.styled.div.withConfig({
|
|
1391
1399
|
componentId: "sc-1sddmxu-0"
|
|
1392
1400
|
})(["display:flex;width:100%;gap:", ";", " *{box-shadow:none;outline:none;}"], ({
|
|
1393
1401
|
theme: theme2
|
|
@@ -1406,7 +1414,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1406
1414
|
}
|
|
1407
1415
|
` : ""}
|
|
1408
1416
|
`);
|
|
1409
|
-
const Error$1 =
|
|
1417
|
+
const Error$1 = styled.styled.div.withConfig({
|
|
1410
1418
|
componentId: "sc-1sddmxu-1"
|
|
1411
1419
|
})(["", ";"], ({
|
|
1412
1420
|
theme: theme2
|
|
@@ -1414,10 +1422,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1414
1422
|
font: ${theme2.click.field.typography.label.error};
|
|
1415
1423
|
color: ${theme2.click.field.color.label.error};
|
|
1416
1424
|
`);
|
|
1417
|
-
const EmptyButton$1 =
|
|
1425
|
+
const EmptyButton$1 = styled.styled.button.withConfig({
|
|
1418
1426
|
componentId: "sc-1sddmxu-2"
|
|
1419
1427
|
})(["background:transparent;border:none;cursor:pointer;outline:none;padding:0;border:0;color:inherit;font:inherit;&:disabled{cursor:not-allowed;}"]);
|
|
1420
|
-
const CrossButton =
|
|
1428
|
+
const CrossButton = styled.styled(EmptyButton$1).withConfig({
|
|
1421
1429
|
componentId: "sc-1sddmxu-3"
|
|
1422
1430
|
})(["padding:", " ", ";background:", ";border-radius:", ";&:hover{background:", ";}"], ({
|
|
1423
1431
|
theme: theme2
|
|
@@ -1430,10 +1438,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1430
1438
|
}) => theme2.click.button.iconButton.radii.all, ({
|
|
1431
1439
|
theme: theme2
|
|
1432
1440
|
}) => theme2.click.button.iconButton.color.primary.background.hover);
|
|
1433
|
-
|
|
1441
|
+
styled.styled.div.withConfig({
|
|
1434
1442
|
componentId: "sc-1sddmxu-4"
|
|
1435
1443
|
})(["display:grid;place-items:center;width:100%;height:100%;"]);
|
|
1436
|
-
const BaseButton =
|
|
1444
|
+
const BaseButton = styled.styled.button.withConfig({
|
|
1437
1445
|
componentId: "sc-1sddmxu-5"
|
|
1438
1446
|
})(["display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;", ""], ({
|
|
1439
1447
|
theme: theme2
|
|
@@ -1459,7 +1467,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1459
1467
|
cursor: not-allowed;
|
|
1460
1468
|
}
|
|
1461
1469
|
`);
|
|
1462
|
-
const SvgImageElement =
|
|
1470
|
+
const SvgImageElement = styled.styled.svg.withConfig({
|
|
1463
1471
|
componentId: "sc-1sddmxu-6"
|
|
1464
1472
|
})(["display:flex;align-items:center;", ""], ({
|
|
1465
1473
|
theme: theme2,
|
|
@@ -1470,12 +1478,12 @@ var __publicField = (obj, key, value) => {
|
|
|
1470
1478
|
height: ${theme2.click.image[$size].size.height};
|
|
1471
1479
|
` : ""}
|
|
1472
1480
|
`);
|
|
1473
|
-
const FormElementContainer =
|
|
1481
|
+
const FormElementContainer = styled.styled.div.withConfig({
|
|
1474
1482
|
componentId: "sc-1sddmxu-7"
|
|
1475
1483
|
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
1476
1484
|
theme: theme2
|
|
1477
1485
|
}) => theme2.click.field.space.gap);
|
|
1478
|
-
|
|
1486
|
+
styled.styled.span.withConfig({
|
|
1479
1487
|
componentId: "sc-1sddmxu-8"
|
|
1480
1488
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
1481
1489
|
const Switzerland = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
@@ -2234,7 +2242,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2234
2242
|
}) => {
|
|
2235
2243
|
const {
|
|
2236
2244
|
name: themeName
|
|
2237
|
-
} =
|
|
2245
|
+
} = styled.useTheme();
|
|
2238
2246
|
const Component = ["light", "classic"].includes(theme2 ?? themeName) ? LogosLight[name2] : LogosDark[name2];
|
|
2239
2247
|
if (!Component) {
|
|
2240
2248
|
return null;
|
|
@@ -2313,7 +2321,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2313
2321
|
}
|
|
2314
2322
|
return /* @__PURE__ */ jsxRuntime.jsx(SvgWrapper, { $color: color, $width: width, $height: height, $size: size2, className, state, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ...props }) });
|
|
2315
2323
|
};
|
|
2316
|
-
const SvgWrapper =
|
|
2324
|
+
const SvgWrapper = styled.styled.div.withConfig({
|
|
2317
2325
|
componentId: "sc-29ieut-0"
|
|
2318
2326
|
})(["display:flex;align-items:center;", " ", ""], ({
|
|
2319
2327
|
theme: theme2,
|
|
@@ -2373,7 +2381,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2373
2381
|
return /* @__PURE__ */ jsxRuntime.jsx(Button$2, { ...props, $styleType: type, $size: size2, ref, role: "button", "aria-label": iconName, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }) });
|
|
2374
2382
|
});
|
|
2375
2383
|
IconButton$1.displayName = "IconButton";
|
|
2376
|
-
const Button$2 =
|
|
2384
|
+
const Button$2 = styled.styled.button.withConfig({
|
|
2377
2385
|
componentId: "sc-4ff7ue-0"
|
|
2378
2386
|
})(["", ""], ({
|
|
2379
2387
|
theme: theme2,
|
|
@@ -2411,7 +2419,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2411
2419
|
cursor: not-allowed;
|
|
2412
2420
|
}
|
|
2413
2421
|
`);
|
|
2414
|
-
const FormFieldLabel$1 =
|
|
2422
|
+
const FormFieldLabel$1 = styled.styled.label.withConfig({
|
|
2415
2423
|
componentId: "sc-1gg29zb-0"
|
|
2416
2424
|
})(["", ""], ({
|
|
2417
2425
|
theme: theme2,
|
|
@@ -2443,7 +2451,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2443
2451
|
children,
|
|
2444
2452
|
...props
|
|
2445
2453
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FormFieldLabel$1, { disabled, $error: error2, ...props, children });
|
|
2446
|
-
const FormFieldLabel =
|
|
2454
|
+
const FormFieldLabel = styled.styled.label.withConfig({
|
|
2447
2455
|
componentId: "sc-e2xmgs-0"
|
|
2448
2456
|
})(["", ""], ({
|
|
2449
2457
|
theme: theme2,
|
|
@@ -7553,7 +7561,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7553
7561
|
const $d08ef79370b62062$export$d7a01e11500dfb6f = $d08ef79370b62062$export$2f307d81a64f5442;
|
|
7554
7562
|
const $d08ef79370b62062$export$2ea8a7a591ac5eac = $d08ef79370b62062$export$21dcb7ec56f874cf;
|
|
7555
7563
|
const $d08ef79370b62062$export$6d4de93b380beddf = $d08ef79370b62062$export$f34ec8bc2482cc5f;
|
|
7556
|
-
const GenericMenuPanel =
|
|
7564
|
+
const GenericMenuPanel = styled.styled.div.withConfig({
|
|
7557
7565
|
componentId: "sc-1fv0ktx-0"
|
|
7558
7566
|
})(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;align-items:flex-start;pointer-events:auto;", ";", ";"], ({
|
|
7559
7567
|
$type
|
|
@@ -7583,7 +7591,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7583
7591
|
margin-left: -1px;
|
|
7584
7592
|
}
|
|
7585
7593
|
` : "");
|
|
7586
|
-
const GenericPopoverMenuPanel =
|
|
7594
|
+
const GenericPopoverMenuPanel = styled.styled.div.withConfig({
|
|
7587
7595
|
componentId: "sc-1fv0ktx-1"
|
|
7588
7596
|
})(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;z-index:1;", " ", ";"], ({
|
|
7589
7597
|
$type
|
|
@@ -7600,7 +7608,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7600
7608
|
`, ({
|
|
7601
7609
|
$showArrow
|
|
7602
7610
|
}) => $showArrow ? "margin: -1px 0;" : "");
|
|
7603
|
-
const Arrow$1 =
|
|
7611
|
+
const Arrow$1 = styled.styled.svg.withConfig({
|
|
7604
7612
|
componentId: "sc-1fv0ktx-2"
|
|
7605
7613
|
})(["filter:drop-shadow(rgba(0,0,0,0.1) 0px 4px 6px);", ";"], ({
|
|
7606
7614
|
theme: theme2
|
|
@@ -7608,7 +7616,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7608
7616
|
fill: ${theme2.click.genericMenu.panel.color.background.default};
|
|
7609
7617
|
stroke: ${theme2.click.genericMenu.panel.color.stroke.default};
|
|
7610
7618
|
`);
|
|
7611
|
-
const GenericMenuItem =
|
|
7619
|
+
const GenericMenuItem = styled.styled.div.withConfig({
|
|
7612
7620
|
componentId: "sc-1fv0ktx-3"
|
|
7613
7621
|
})(["display:flex;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;align-items:center;justify-content:flex-start;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;&[aria-selected]{outline:none;}", ';position:relative;&:hover .dropdown-arrow,&[data-state="open"] .dropdown-arrow{left:0.5rem;}&[hidden]{display:none;}'], ({
|
|
7614
7622
|
theme: theme2
|
|
@@ -7654,7 +7662,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7654
7662
|
}
|
|
7655
7663
|
});
|
|
7656
7664
|
};
|
|
7657
|
-
const EllipsisContainer$1 =
|
|
7665
|
+
const EllipsisContainer$1 = styled.styled.div.withConfig({
|
|
7658
7666
|
componentId: "sc-1ibz5fp-0"
|
|
7659
7667
|
})(["display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
7660
7668
|
const _EllipsisContent = ({
|
|
@@ -7668,7 +7676,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7668
7676
|
}]), ...props });
|
|
7669
7677
|
};
|
|
7670
7678
|
const EllipsisContent = React.forwardRef(_EllipsisContent);
|
|
7671
|
-
const LabelContainer$1 =
|
|
7679
|
+
const LabelContainer$1 = styled.styled.div.withConfig({
|
|
7672
7680
|
componentId: "sc-1likhxd-0"
|
|
7673
7681
|
})(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
7674
7682
|
$hasIcon,
|
|
@@ -7692,7 +7700,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7692
7700
|
] });
|
|
7693
7701
|
};
|
|
7694
7702
|
const Dropdown = (props) => /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$be92b6f5f03c0fe9, { ...props });
|
|
7695
|
-
const DropdownMenuItem =
|
|
7703
|
+
const DropdownMenuItem = styled.styled(GenericMenuItem).withConfig({
|
|
7696
7704
|
componentId: "sc-18bhwbw-0"
|
|
7697
7705
|
})(['position:relative;display:flex;&[data-state="open"]{', "}"], ({
|
|
7698
7706
|
theme: theme2
|
|
@@ -7702,7 +7710,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7702
7710
|
color: ${theme2.click.genericMenu.item.color.text.hover};
|
|
7703
7711
|
cursor: pointer;
|
|
7704
7712
|
`);
|
|
7705
|
-
const Trigger$5 =
|
|
7713
|
+
const Trigger$5 = styled.styled($d08ef79370b62062$export$41fb9f06171c75f4).withConfig({
|
|
7706
7714
|
componentId: "sc-18bhwbw-1"
|
|
7707
7715
|
})(["cursor:pointer;width:fit-content;&[disabled]{cursor:not-allowed;}"]);
|
|
7708
7716
|
const DropdownTrigger = ({
|
|
@@ -7725,7 +7733,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7725
7733
|
};
|
|
7726
7734
|
DropdownTrigger.displayName = "DropdownTrigger";
|
|
7727
7735
|
Dropdown.Trigger = DropdownTrigger;
|
|
7728
|
-
const DropdownMenuContent =
|
|
7736
|
+
const DropdownMenuContent = styled.styled(GenericMenuPanel).withConfig({
|
|
7729
7737
|
componentId: "sc-18bhwbw-2"
|
|
7730
7738
|
})(["min-width:", ";flex-direction:column;z-index:1;"], ({
|
|
7731
7739
|
theme: theme2
|
|
@@ -7744,7 +7752,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7744
7752
|
};
|
|
7745
7753
|
DropdownContent$1.displayName = "DropdownContent";
|
|
7746
7754
|
Dropdown.Content = DropdownContent$1;
|
|
7747
|
-
const DropdownMenuGroup =
|
|
7755
|
+
const DropdownMenuGroup = styled.styled($d08ef79370b62062$export$eb2fcfdbd7ba97d4).withConfig({
|
|
7748
7756
|
componentId: "sc-18bhwbw-3"
|
|
7749
7757
|
})(["width:100%;border-bottom:1px solid ", ";"], ({
|
|
7750
7758
|
theme: theme2
|
|
@@ -7754,7 +7762,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7754
7762
|
};
|
|
7755
7763
|
DropdownGroup.displayName = "DropdownGroup";
|
|
7756
7764
|
Dropdown.Group = DropdownGroup;
|
|
7757
|
-
const DropdownMenuSub =
|
|
7765
|
+
const DropdownMenuSub = styled.styled($d08ef79370b62062$export$d7a01e11500dfb6f).withConfig({
|
|
7758
7766
|
componentId: "sc-18bhwbw-4"
|
|
7759
7767
|
})(["border-bottom:1px solid ", ";"], ({
|
|
7760
7768
|
theme: theme2
|
|
@@ -8194,12 +8202,12 @@ var __publicField = (obj, key, value) => {
|
|
|
8194
8202
|
children
|
|
8195
8203
|
] })
|
|
8196
8204
|
] }) });
|
|
8197
|
-
const AccordionRoot$1 =
|
|
8205
|
+
const AccordionRoot$1 = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
|
|
8198
8206
|
componentId: "sc-1ysh219-0"
|
|
8199
8207
|
})(["", ";"], ({
|
|
8200
8208
|
$fillWidth
|
|
8201
8209
|
}) => $fillWidth && "width: 100%");
|
|
8202
|
-
const AccordionTrigger$1 =
|
|
8210
|
+
const AccordionTrigger$1 = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
8203
8211
|
componentId: "sc-1ysh219-1"
|
|
8204
8212
|
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
|
|
8205
8213
|
theme: theme2,
|
|
@@ -8223,21 +8231,21 @@ var __publicField = (obj, key, value) => {
|
|
|
8223
8231
|
`, ({
|
|
8224
8232
|
$fillWidth
|
|
8225
8233
|
}) => $fillWidth && "width: 100%");
|
|
8226
|
-
const AccordionIconWrapper$1 =
|
|
8234
|
+
const AccordionIconWrapper$1 = styled.styled.div.withConfig({
|
|
8227
8235
|
componentId: "sc-1ysh219-2"
|
|
8228
8236
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger$1);
|
|
8229
|
-
const AccordionIconsWrapper$1 =
|
|
8237
|
+
const AccordionIconsWrapper$1 = styled.styled.div.withConfig({
|
|
8230
8238
|
componentId: "sc-1ysh219-3"
|
|
8231
8239
|
})(["display:flex;align-items:center;justify-content:center;"]);
|
|
8232
|
-
const AccordionContent$1 =
|
|
8240
|
+
const AccordionContent$1 = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
|
|
8233
8241
|
componentId: "sc-1ysh219-4"
|
|
8234
8242
|
})([""]);
|
|
8235
|
-
|
|
8243
|
+
styled.styled(Accordion).withConfig({
|
|
8236
8244
|
componentId: "sc-1ysh219-5"
|
|
8237
8245
|
})(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger$1, ({
|
|
8238
8246
|
theme: theme2
|
|
8239
8247
|
}) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionTrigger$1, AccordionIconWrapper$1);
|
|
8240
|
-
const AccordionToExport =
|
|
8248
|
+
const AccordionToExport = styled.styled(Accordion).withConfig({
|
|
8241
8249
|
componentId: "sc-1ysh219-6"
|
|
8242
8250
|
})([""]);
|
|
8243
8251
|
const stateIconMap = {
|
|
@@ -8269,7 +8277,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8269
8277
|
dismissible && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
|
|
8270
8278
|
] }) : null;
|
|
8271
8279
|
};
|
|
8272
|
-
const Wrapper$d =
|
|
8280
|
+
const Wrapper$d = styled.styled.div.withConfig({
|
|
8273
8281
|
componentId: "sc-1wvczk0-0"
|
|
8274
8282
|
})(["display:flex;border-radius:", ";justify-content:", ";overflow:hidden;background-color:", ";color:", ";width:100%;"], ({
|
|
8275
8283
|
$type,
|
|
@@ -8283,7 +8291,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8283
8291
|
$state = "neutral",
|
|
8284
8292
|
theme: theme2
|
|
8285
8293
|
}) => theme2.click.alert.color.text[$state]);
|
|
8286
|
-
const IconWrapper$2 =
|
|
8294
|
+
const IconWrapper$2 = styled.styled.div.withConfig({
|
|
8287
8295
|
componentId: "sc-1wvczk0-1"
|
|
8288
8296
|
})(["display:flex;align-items:center;background-color:", ";", ""], ({
|
|
8289
8297
|
$state = "neutral",
|
|
@@ -8297,7 +8305,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8297
8305
|
color: ${theme2.click.alert.color.iconForeground[$state]};
|
|
8298
8306
|
padding: ${theme2.click.alert[$size].space.y} ${theme2.click.alert[$size].space.x};
|
|
8299
8307
|
`);
|
|
8300
|
-
const StyledIcon =
|
|
8308
|
+
const StyledIcon = styled.styled(SvgImage).withConfig({
|
|
8301
8309
|
componentId: "sc-1wvczk0-2"
|
|
8302
8310
|
})(["", ""], ({
|
|
8303
8311
|
$size,
|
|
@@ -8306,7 +8314,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8306
8314
|
height: ${theme2.click.alert[$size].icon.height};
|
|
8307
8315
|
width: ${theme2.click.alert[$size].icon.width};
|
|
8308
8316
|
`);
|
|
8309
|
-
const TextWrapper =
|
|
8317
|
+
const TextWrapper = styled.styled.div.withConfig({
|
|
8310
8318
|
componentId: "sc-1wvczk0-3"
|
|
8311
8319
|
})(["display:flex;flex-flow:column;word-break:break-word;", ""], ({
|
|
8312
8320
|
$size,
|
|
@@ -8320,19 +8328,19 @@ var __publicField = (obj, key, value) => {
|
|
|
8320
8328
|
text-decoration: underline;
|
|
8321
8329
|
}
|
|
8322
8330
|
`);
|
|
8323
|
-
const Title$4 =
|
|
8331
|
+
const Title$4 = styled.styled.h6.withConfig({
|
|
8324
8332
|
componentId: "sc-1wvczk0-4"
|
|
8325
8333
|
})(["margin:0;font:", ";"], ({
|
|
8326
8334
|
theme: theme2,
|
|
8327
8335
|
$size
|
|
8328
8336
|
}) => theme2.click.alert[$size].typography.title.default);
|
|
8329
|
-
const Text$1 =
|
|
8337
|
+
const Text$1 = styled.styled.div.withConfig({
|
|
8330
8338
|
componentId: "sc-1wvczk0-5"
|
|
8331
8339
|
})(["margin:0;font:", ";"], ({
|
|
8332
8340
|
theme: theme2,
|
|
8333
8341
|
$size
|
|
8334
8342
|
}) => theme2.click.alert[$size].typography.text.default);
|
|
8335
|
-
const DismissWrapper$1 =
|
|
8343
|
+
const DismissWrapper$1 = styled.styled.button.withConfig({
|
|
8336
8344
|
componentId: "sc-1wvczk0-6"
|
|
8337
8345
|
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
|
|
8338
8346
|
const DangerAlert = (props) => /* @__PURE__ */ jsxRuntime.jsx(Alert, { ...props, state: "danger" });
|
|
@@ -8644,7 +8652,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8644
8652
|
return /* @__PURE__ */ jsxRuntime.jsx(Item, { ...props }, `autocomplete-${id}-item-${index2}`);
|
|
8645
8653
|
}
|
|
8646
8654
|
});
|
|
8647
|
-
const SelectPopoverRoot$1 =
|
|
8655
|
+
const SelectPopoverRoot$1 = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
|
|
8648
8656
|
componentId: "sc-87wbnc-0"
|
|
8649
8657
|
})(["width:100%;", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
|
|
8650
8658
|
theme: theme2
|
|
@@ -8655,10 +8663,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8655
8663
|
0px 1px 2px 0px rgba(16, 24, 40, 0.06);
|
|
8656
8664
|
border-radius: 0.25rem;
|
|
8657
8665
|
`);
|
|
8658
|
-
const PopoverContent$1 =
|
|
8666
|
+
const PopoverContent$1 = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
|
|
8659
8667
|
componentId: "sc-87wbnc-1"
|
|
8660
8668
|
})(["width:var(--radix-popover-trigger-width);display:flex;flex-direction:column;align-items:flex-start;gap:5px;"]);
|
|
8661
|
-
const SelectGroupContainer$1 =
|
|
8669
|
+
const SelectGroupContainer$1 = styled.styled.div.withConfig({
|
|
8662
8670
|
componentId: "sc-87wbnc-2"
|
|
8663
8671
|
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
|
|
8664
8672
|
theme: theme2
|
|
@@ -8666,7 +8674,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8666
8674
|
font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
|
|
8667
8675
|
color: ${theme2.click.genericMenu.item.color.text.muted};
|
|
8668
8676
|
`);
|
|
8669
|
-
const SelectGroupName$1 =
|
|
8677
|
+
const SelectGroupName$1 = styled.styled.div.withConfig({
|
|
8670
8678
|
componentId: "sc-87wbnc-3"
|
|
8671
8679
|
})(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
|
|
8672
8680
|
theme: theme2
|
|
@@ -8677,10 +8685,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8677
8685
|
gap: ${theme2.click.genericMenu.item.space.gap};
|
|
8678
8686
|
border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
|
|
8679
8687
|
`);
|
|
8680
|
-
const SelectGroupContent$1 =
|
|
8688
|
+
const SelectGroupContent$1 = styled.styled.div.withConfig({
|
|
8681
8689
|
componentId: "sc-87wbnc-4"
|
|
8682
8690
|
})(["width:inherit;"]);
|
|
8683
|
-
const SelectListContent$1 =
|
|
8691
|
+
const SelectListContent$1 = styled.styled.div.withConfig({
|
|
8684
8692
|
componentId: "sc-87wbnc-5"
|
|
8685
8693
|
})(["width:inherit;overflow:overlay;flex:1;"]);
|
|
8686
8694
|
const childrenToComboboxItemArray$1 = (children, callback, heading) => {
|
|
@@ -8714,7 +8722,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8714
8722
|
return [];
|
|
8715
8723
|
});
|
|
8716
8724
|
};
|
|
8717
|
-
const SelectNoDataContainer$1 =
|
|
8725
|
+
const SelectNoDataContainer$1 = styled.styled.div.withConfig({
|
|
8718
8726
|
componentId: "sc-87wbnc-6"
|
|
8719
8727
|
})(['border:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:default;&[hidden="true"]{display:none;}', ""], ({
|
|
8720
8728
|
theme: theme2
|
|
@@ -8724,7 +8732,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8724
8732
|
background: ${theme2.click.genericMenu.button.color.background.default};
|
|
8725
8733
|
color: ${theme2.click.genericMenu.button.color.label.default};
|
|
8726
8734
|
`);
|
|
8727
|
-
const SelectList$1 =
|
|
8735
|
+
const SelectList$1 = styled.styled.div.withConfig({
|
|
8728
8736
|
componentId: "sc-87wbnc-7"
|
|
8729
8737
|
})(["display:flex;flex-direction:column;width:inherit;max-height:var(--radix-popover-content-available-height);", ""], ({
|
|
8730
8738
|
theme: theme2
|
|
@@ -8959,7 +8967,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8959
8967
|
] });
|
|
8960
8968
|
});
|
|
8961
8969
|
Group.displayName = "AutoComplete.Group";
|
|
8962
|
-
const CheckIcon$2 =
|
|
8970
|
+
const CheckIcon$2 = styled.styled.svg.withConfig({
|
|
8963
8971
|
componentId: "sc-87wbnc-8"
|
|
8964
8972
|
})(["opacity:", ";"], ({
|
|
8965
8973
|
$showCheck
|
|
@@ -9109,13 +9117,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9109
9117
|
/* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src, srcSet, alt: text2 }),
|
|
9110
9118
|
/* @__PURE__ */ jsxRuntime.jsx(StyledFallback, { $textSize: textSize, delayMs: 0, children: text2.trim().replace(/(^.)([^ ]* )?(.).*/, "$1$3").trim().toUpperCase() })
|
|
9111
9119
|
] });
|
|
9112
|
-
const StyledRoot =
|
|
9120
|
+
const StyledRoot = styled.styled($cddcb0b647441e34$export$be92b6f5f03c0fe9).withConfig({
|
|
9113
9121
|
componentId: "sc-181etfq-0"
|
|
9114
9122
|
})(["width:", ";height:", ";display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;user-select:none;background-color:", ";color:", ";border-radius:", ";&:active{background-color:", ";color:", ";}&:hover{background-color:", ";color:", ";}"], (props) => props.theme.click.avatar.size.width, (props) => props.theme.click.avatar.size.height, (props) => props.theme.click.avatar.color.background.default, (props) => props.theme.click.avatar.color.text.default, (props) => props.theme.click.avatar.radii.all, (props) => props.theme.click.avatar.color.background.active, (props) => props.theme.click.avatar.color.text.active, (props) => props.theme.click.avatar.color.background.hover, (props) => props.theme.click.avatar.color.text.hover);
|
|
9115
|
-
const AvatarImage =
|
|
9123
|
+
const AvatarImage = styled.styled($cddcb0b647441e34$export$3e431a229df88919).withConfig({
|
|
9116
9124
|
componentId: "sc-181etfq-1"
|
|
9117
9125
|
})(["width:100%;height:100%;object-fit:cover;border-radius:inherit;"]);
|
|
9118
|
-
const StyledFallback =
|
|
9126
|
+
const StyledFallback = styled.styled($cddcb0b647441e34$export$fb8d7f40caaeea67).withConfig({
|
|
9119
9127
|
componentId: "sc-181etfq-2"
|
|
9120
9128
|
})(["width:", ";display:inline-flex;align-items:center;justify-content:center;", ""], (props) => props.theme.click.avatar.size.label.width, ({
|
|
9121
9129
|
theme: theme2,
|
|
@@ -9131,7 +9139,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9131
9139
|
font: ${theme2.click.avatar.typography.label[$textSize].hover};
|
|
9132
9140
|
}
|
|
9133
9141
|
`);
|
|
9134
|
-
const Wrapper$c =
|
|
9142
|
+
const Wrapper$c = styled.styled.div.withConfig({
|
|
9135
9143
|
componentId: "sc-471xo0-0"
|
|
9136
9144
|
})(["display:inline-flex;", ""], ({
|
|
9137
9145
|
$state = "default",
|
|
@@ -9145,13 +9153,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9145
9153
|
border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
|
|
9146
9154
|
padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
|
|
9147
9155
|
`);
|
|
9148
|
-
const Content$4 =
|
|
9156
|
+
const Content$4 = styled.styled.div.withConfig({
|
|
9149
9157
|
componentId: "sc-471xo0-1"
|
|
9150
9158
|
})(["display:inline-flex;align-items:center;gap:", ";max-width:100%;justify-content:flex-start;"], ({
|
|
9151
9159
|
$size = "md",
|
|
9152
9160
|
theme: theme2
|
|
9153
9161
|
}) => theme2.click.badge.space[$size].gap);
|
|
9154
|
-
const SvgContainer =
|
|
9162
|
+
const SvgContainer = styled.styled.svg.withConfig({
|
|
9155
9163
|
componentId: "sc-471xo0-2"
|
|
9156
9164
|
})(["", ""], ({
|
|
9157
9165
|
$state = "default",
|
|
@@ -9162,7 +9170,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9162
9170
|
height: ${theme2.click.badge.icon[$size].size.height};
|
|
9163
9171
|
width: ${theme2.click.badge.icon[$size].size.width};
|
|
9164
9172
|
`);
|
|
9165
|
-
const BadgeContent =
|
|
9173
|
+
const BadgeContent = styled.styled.div.withConfig({
|
|
9166
9174
|
componentId: "sc-471xo0-3"
|
|
9167
9175
|
})(["width:auto;overflow:hidden;svg{", "}"], ({
|
|
9168
9176
|
$state = "default",
|
|
@@ -9202,7 +9210,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9202
9210
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { $state: state, $size: size2, children: label }),
|
|
9203
9211
|
/* @__PURE__ */ jsxRuntime.jsx(Title$3, { $state: state, $size: size2, children: title })
|
|
9204
9212
|
] });
|
|
9205
|
-
const Wrapper$b =
|
|
9213
|
+
const Wrapper$b = styled.styled.div.withConfig({
|
|
9206
9214
|
componentId: "sc-u5029o-0"
|
|
9207
9215
|
})(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
|
|
9208
9216
|
$fillWidth = false,
|
|
@@ -9226,7 +9234,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9226
9234
|
width: ${$fillWidth === true ? "100%" : "auto"};
|
|
9227
9235
|
max-width: ${$maxWidth ? $maxWidth : "none"};
|
|
9228
9236
|
`);
|
|
9229
|
-
const Label =
|
|
9237
|
+
const Label = styled.styled.div.withConfig({
|
|
9230
9238
|
componentId: "sc-u5029o-1"
|
|
9231
9239
|
})(["", ""], ({
|
|
9232
9240
|
$state = "default",
|
|
@@ -9236,7 +9244,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9236
9244
|
color: ${theme2.click.bigStat.color.label[$state]};
|
|
9237
9245
|
font: ${theme2.click.bigStat.typography[$size].label[$state]};
|
|
9238
9246
|
`);
|
|
9239
|
-
const Title$3 =
|
|
9247
|
+
const Title$3 = styled.styled.div.withConfig({
|
|
9240
9248
|
componentId: "sc-u5029o-2"
|
|
9241
9249
|
})(["", ""], ({
|
|
9242
9250
|
$state = "default",
|
|
@@ -9265,7 +9273,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9265
9273
|
});
|
|
9266
9274
|
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
9267
9275
|
};
|
|
9268
|
-
const ButtonGroupWrapper =
|
|
9276
|
+
const ButtonGroupWrapper = styled.styled.div.withConfig({
|
|
9269
9277
|
componentId: "sc-ukgugp-0"
|
|
9270
9278
|
})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:", ";border:1px solid ", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
9271
9279
|
theme: theme2,
|
|
@@ -9284,7 +9292,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9284
9292
|
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
9285
9293
|
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
9286
9294
|
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
9287
|
-
const Button$1 =
|
|
9295
|
+
const Button$1 = styled.styled.button.attrs((props) => ({
|
|
9288
9296
|
"aria-pressed": props.$active
|
|
9289
9297
|
})).withConfig({
|
|
9290
9298
|
componentId: "sc-ukgugp-1"
|
|
@@ -9354,10 +9362,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9354
9362
|
showLabelWithLoading ? label ?? children : ""
|
|
9355
9363
|
] })
|
|
9356
9364
|
] });
|
|
9357
|
-
const LoadingIconWrapper =
|
|
9365
|
+
const LoadingIconWrapper = styled.styled.div.withConfig({
|
|
9358
9366
|
componentId: "sc-1k4tz4c-0"
|
|
9359
9367
|
})(["background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;align-items:center;gap:0.5rem;"]);
|
|
9360
|
-
const StyledButton =
|
|
9368
|
+
const StyledButton = styled.styled(BaseButton).withConfig({
|
|
9361
9369
|
componentId: "sc-1k4tz4c-1"
|
|
9362
9370
|
})(["width:", ";color:", ";background-color:", ";border:", " solid ", ";font:", ";position:relative;display:flex;align-items:center;justify-content:", ";white-space:nowrap;&:hover{background-color:", ";border:", " solid ", ";transition:", ";font:", ";}&:active,&:focus{background-color:", ";border:1px solid ", ";font:", ";}&:disabled,&:disabled:hover,&:disabled:active{background-color:", ";color:", ";border:", " solid ", ";font:", ";}"], ({
|
|
9363
9371
|
$fillWidth
|
|
@@ -9410,7 +9418,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9410
9418
|
}) => theme2.click.button.basic.color[$styleType].stroke.disabled, ({
|
|
9411
9419
|
theme: theme2
|
|
9412
9420
|
}) => theme2.click.button.basic.typography.label.disabled);
|
|
9413
|
-
const ButtonIcon =
|
|
9421
|
+
const ButtonIcon = styled.styled(SvgImage).withConfig({
|
|
9414
9422
|
componentId: "sc-1k4tz4c-2"
|
|
9415
9423
|
})(["height:", ";width:", ";svg{height:", ";width:", ";}"], ({
|
|
9416
9424
|
theme: theme2
|
|
@@ -9430,7 +9438,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9430
9438
|
children,
|
|
9431
9439
|
...props
|
|
9432
9440
|
}, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiTitle, { ref, $align: align, $color: color, $size: size2, $family: family, as: type, ...props, children }));
|
|
9433
|
-
const CuiTitle =
|
|
9441
|
+
const CuiTitle = styled.styled.div.withConfig({
|
|
9434
9442
|
componentId: "sc-1bq7thb-0"
|
|
9435
9443
|
})(["font:", ";color:", ";margin:0;padding:0;font-style:inherit;text-align:", ";a,a:visited{color:", ";cursor:pointer;}a:hover{color:", ";}"], ({
|
|
9436
9444
|
$size = "md",
|
|
@@ -9458,7 +9466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9458
9466
|
fillWidth,
|
|
9459
9467
|
...props
|
|
9460
9468
|
}, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, $fillWidth: fillWidth, className, ...props, children });
|
|
9461
|
-
const CuiText =
|
|
9469
|
+
const CuiText = styled.styled.p.withConfig({
|
|
9462
9470
|
componentId: "sc-6r74pj-0"
|
|
9463
9471
|
})(["font:", ";color:", ";text-align:", ";margin:0;", ";"], ({
|
|
9464
9472
|
$size = "md",
|
|
@@ -9474,10 +9482,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9474
9482
|
}) => $fillWidth && "width: 100%");
|
|
9475
9483
|
_Text.displayName = "Text";
|
|
9476
9484
|
const Text = React.forwardRef(_Text);
|
|
9477
|
-
const Header$4 =
|
|
9485
|
+
const Header$4 = styled.styled.div.withConfig({
|
|
9478
9486
|
componentId: "sc-1drx130-0"
|
|
9479
9487
|
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
9480
|
-
const HeaderLeft =
|
|
9488
|
+
const HeaderLeft = styled.styled.div.withConfig({
|
|
9481
9489
|
componentId: "sc-1drx130-1"
|
|
9482
9490
|
})(["display:flex;align-items:center;gap:", ";h3,svg{color:", ";}"], ({
|
|
9483
9491
|
theme: theme2
|
|
@@ -9485,24 +9493,24 @@ var __publicField = (obj, key, value) => {
|
|
|
9485
9493
|
$disabled,
|
|
9486
9494
|
theme: theme2
|
|
9487
9495
|
}) => $disabled == true ? theme2.click.global.color.text.muted : theme2.click.global.color.text.default);
|
|
9488
|
-
const Content$3 =
|
|
9496
|
+
const Content$3 = styled.styled.div.withConfig({
|
|
9489
9497
|
componentId: "sc-1drx130-2"
|
|
9490
9498
|
})(["display:flex;flex-direction:column;flex:1;"]);
|
|
9491
|
-
const CustomIcon$1 =
|
|
9499
|
+
const CustomIcon$1 = styled.styled.img.withConfig({
|
|
9492
9500
|
componentId: "sc-1drx130-3"
|
|
9493
9501
|
})(["height:", ";width:", ";"], ({
|
|
9494
9502
|
theme: theme2
|
|
9495
9503
|
}) => theme2.click.image.lg.size.height, ({
|
|
9496
9504
|
theme: theme2
|
|
9497
9505
|
}) => theme2.click.image.lg.size.width);
|
|
9498
|
-
const InfoLink =
|
|
9506
|
+
const InfoLink = styled.styled.a.withConfig({
|
|
9499
9507
|
componentId: "sc-1drx130-4"
|
|
9500
9508
|
})(["display:flex;align-items:center;color:", ";gap:", ";text-decoration:none;"], ({
|
|
9501
9509
|
theme: theme2
|
|
9502
9510
|
}) => theme2.click.card.secondary.color.link.default, ({
|
|
9503
9511
|
theme: theme2
|
|
9504
9512
|
}) => theme2.click.card.secondary.space.link.gap);
|
|
9505
|
-
const LinkIconContainer =
|
|
9513
|
+
const LinkIconContainer = styled.styled(SvgImage).withConfig({
|
|
9506
9514
|
componentId: "sc-1drx130-5"
|
|
9507
9515
|
})(["color:", ";height:", ";width:", ";"], ({
|
|
9508
9516
|
theme: theme2
|
|
@@ -9511,13 +9519,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9511
9519
|
}) => theme2.click.image.md.size.height, ({
|
|
9512
9520
|
theme: theme2
|
|
9513
9521
|
}) => theme2.click.image.md.size.width);
|
|
9514
|
-
const LinkText =
|
|
9522
|
+
const LinkText = styled.styled(Text).withConfig({
|
|
9515
9523
|
componentId: "sc-1drx130-6"
|
|
9516
9524
|
})([""]);
|
|
9517
|
-
const LinkIcon =
|
|
9525
|
+
const LinkIcon = styled.styled(LinkIconContainer).withConfig({
|
|
9518
9526
|
componentId: "sc-1drx130-7"
|
|
9519
9527
|
})([""]);
|
|
9520
|
-
const Wrapper$a =
|
|
9528
|
+
const Wrapper$a = styled.styled.div.withConfig({
|
|
9521
9529
|
componentId: "sc-1drx130-8"
|
|
9522
9530
|
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
|
|
9523
9531
|
theme: theme2
|
|
@@ -9602,7 +9610,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9602
9610
|
}, ref) => {
|
|
9603
9611
|
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { ref, as: component ?? "div", $alignItems: alignItems ?? (orientation === "vertical" ? "start" : "center"), $fillWidth: fillWidth, $gapSize: gap, $grow: grow, $shrink: shrink, $isResponsive: isResponsive, $justifyContent: justifyContent, $maxWidth: maxWidth, $minWidth: minWidth, $orientation: orientation, $paddingSize: padding, $wrap: wrap, $fillHeight: fillHeight, $maxHeight: maxHeight, $minHeight: minHeight, $overflow: overflow, "data-testid": "container", ...props, children });
|
|
9604
9612
|
};
|
|
9605
|
-
const Wrapper$9 =
|
|
9613
|
+
const Wrapper$9 = styled.styled.div.withConfig({
|
|
9606
9614
|
componentId: "sc-bcplth-0"
|
|
9607
9615
|
})(["display:flex;", " ", " ", " flex-wrap:", ";gap:", ";max-width:", ";min-width:", ";padding:", ";width:", ";flex-direction:", ";align-items:", ";justify-content:", ";@media (max-width:", "){width:", ";max-width:", ";flex-direction:", ";}"], ({
|
|
9608
9616
|
$grow,
|
|
@@ -9653,10 +9661,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9653
9661
|
$isResponsive = true
|
|
9654
9662
|
}) => $isResponsive === true ? "column" : "auto");
|
|
9655
9663
|
const Container = React.forwardRef(_Container);
|
|
9656
|
-
const TopBadgeWrapper =
|
|
9664
|
+
const TopBadgeWrapper = styled.styled(Container).withConfig({
|
|
9657
9665
|
componentId: "sc-1d5pqpo-0"
|
|
9658
9666
|
})(["position:relative;"]);
|
|
9659
|
-
const CardPrimaryTopBadge =
|
|
9667
|
+
const CardPrimaryTopBadge = styled.styled(Badge).withConfig({
|
|
9660
9668
|
componentId: "sc-1d5pqpo-1"
|
|
9661
9669
|
})(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);", " div:active + &{border-color:", ";}"], ({
|
|
9662
9670
|
$isSelected,
|
|
@@ -9673,7 +9681,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9673
9681
|
topBadgeText && /* @__PURE__ */ jsxRuntime.jsx(CardPrimaryTopBadge, { "data-testid": "card-top-badge", text: topBadgeText, $isSelected: props.isSelected || false })
|
|
9674
9682
|
] });
|
|
9675
9683
|
};
|
|
9676
|
-
const Wrapper$8 =
|
|
9684
|
+
const Wrapper$8 = styled.styled.div.withConfig({
|
|
9677
9685
|
componentId: "sc-2dguvi-0"
|
|
9678
9686
|
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
|
|
9679
9687
|
theme: theme2
|
|
@@ -9723,7 +9731,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9723
9731
|
$isSelected,
|
|
9724
9732
|
theme: theme2
|
|
9725
9733
|
}) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
|
|
9726
|
-
const Header$3 =
|
|
9734
|
+
const Header$3 = styled.styled.div.withConfig({
|
|
9727
9735
|
componentId: "sc-2dguvi-1"
|
|
9728
9736
|
})(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg,img{height:", ";width:", ";}"], ({
|
|
9729
9737
|
$alignContent = "center"
|
|
@@ -9740,7 +9748,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9740
9748
|
$size = "md",
|
|
9741
9749
|
theme: theme2
|
|
9742
9750
|
}) => theme2.click.card.primary.size.icon[$size].all);
|
|
9743
|
-
const Content$2 =
|
|
9751
|
+
const Content$2 = styled.styled.div.withConfig({
|
|
9744
9752
|
componentId: "sc-2dguvi-2"
|
|
9745
9753
|
})(["width:100%;display:flex;flex-direction:column;align-self:", ";gap:", ";flex:1;"], ({
|
|
9746
9754
|
$alignContent = "center"
|
|
@@ -9793,15 +9801,15 @@ var __publicField = (obj, key, value) => {
|
|
|
9793
9801
|
] });
|
|
9794
9802
|
};
|
|
9795
9803
|
const CardPrimary = withTopBadge(Card);
|
|
9796
|
-
const Header$2 =
|
|
9804
|
+
const Header$2 = styled.styled.div.withConfig({
|
|
9797
9805
|
componentId: "sc-1qnbjoa-0"
|
|
9798
9806
|
})(["display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;gap:inherit;"]);
|
|
9799
|
-
const Description =
|
|
9807
|
+
const Description = styled.styled.div.withConfig({
|
|
9800
9808
|
componentId: "sc-1qnbjoa-1"
|
|
9801
9809
|
})(["display:flex;flex-direction:column;align-self:center;gap:", ";flex:1;"], ({
|
|
9802
9810
|
theme: theme2
|
|
9803
9811
|
}) => theme2.click.card.horizontal.space.gap);
|
|
9804
|
-
const Wrapper$7 =
|
|
9812
|
+
const Wrapper$7 = styled.styled.div.withConfig({
|
|
9805
9813
|
componentId: "sc-1qnbjoa-2"
|
|
9806
9814
|
})(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
|
|
9807
9815
|
theme: theme2,
|
|
@@ -9859,7 +9867,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9859
9867
|
}
|
|
9860
9868
|
` : ""}
|
|
9861
9869
|
`);
|
|
9862
|
-
const CardIcon$1 =
|
|
9870
|
+
const CardIcon$1 = styled.styled(SvgImage).withConfig({
|
|
9863
9871
|
componentId: "sc-1qnbjoa-3"
|
|
9864
9872
|
})(["", ""], ({
|
|
9865
9873
|
theme: theme2
|
|
@@ -9867,7 +9875,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9867
9875
|
height: ${theme2.click.card.horizontal.icon.size.all};
|
|
9868
9876
|
width: ${theme2.click.card.horizontal.icon.size.all};
|
|
9869
9877
|
`);
|
|
9870
|
-
const ContentWrapper =
|
|
9878
|
+
const ContentWrapper = styled.styled.div.withConfig({
|
|
9871
9879
|
componentId: "sc-1qnbjoa-4"
|
|
9872
9880
|
})(["display:flex;flex-direction:column;"]);
|
|
9873
9881
|
const CardHorizontal = ({
|
|
@@ -9889,7 +9897,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9889
9897
|
] })
|
|
9890
9898
|
] });
|
|
9891
9899
|
};
|
|
9892
|
-
const Background =
|
|
9900
|
+
const Background = styled.styled.div.withConfig({
|
|
9893
9901
|
componentId: "sc-6jamj6-0"
|
|
9894
9902
|
})(["", ""], ({
|
|
9895
9903
|
theme: theme2
|
|
@@ -9904,7 +9912,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9904
9912
|
background: ${theme2.click.card.promotion.color.stroke.focus};
|
|
9905
9913
|
}
|
|
9906
9914
|
`);
|
|
9907
|
-
const Wrapper$6 =
|
|
9915
|
+
const Wrapper$6 = styled.styled.div.withConfig({
|
|
9908
9916
|
componentId: "sc-6jamj6-1"
|
|
9909
9917
|
})(["display:flex;width:100%;align-items:center;justify-content:flex-start;cursor:pointer;", ""], ({
|
|
9910
9918
|
theme: theme2
|
|
@@ -9926,7 +9934,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9926
9934
|
color: ${theme2.click.card.promotion.color.text.active};
|
|
9927
9935
|
}
|
|
9928
9936
|
`);
|
|
9929
|
-
const CardIcon =
|
|
9937
|
+
const CardIcon = styled.styled(SvgImage).withConfig({
|
|
9930
9938
|
componentId: "sc-6jamj6-2"
|
|
9931
9939
|
})(["", ""], ({
|
|
9932
9940
|
theme: theme2
|
|
@@ -9935,7 +9943,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9935
9943
|
width: ${theme2.click.card.promotion.icon.size.all};
|
|
9936
9944
|
color: ${theme2.click.card.promotion.color.icon.default};
|
|
9937
9945
|
`);
|
|
9938
|
-
const DismissWrapper =
|
|
9946
|
+
const DismissWrapper = styled.styled.button.withConfig({
|
|
9939
9947
|
componentId: "sc-6jamj6-3"
|
|
9940
9948
|
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
|
|
9941
9949
|
const CardPromotion = ({
|
|
@@ -10102,7 +10110,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10102
10110
|
}
|
|
10103
10111
|
const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
|
|
10104
10112
|
const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
|
|
10105
|
-
const Wrapper$5 =
|
|
10113
|
+
const Wrapper$5 = styled.styled(FormRoot).withConfig({
|
|
10106
10114
|
componentId: "sc-1sck1ja-0"
|
|
10107
10115
|
})(["align-items:center;max-width:fit-content;"]);
|
|
10108
10116
|
const Checkbox = ({
|
|
@@ -10120,7 +10128,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10120
10128
|
label && /* @__PURE__ */ jsxRuntime.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
10121
10129
|
] });
|
|
10122
10130
|
};
|
|
10123
|
-
const CheckInput =
|
|
10131
|
+
const CheckInput = styled.styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
|
|
10124
10132
|
componentId: "sc-1sck1ja-1"
|
|
10125
10133
|
})(["display:flex;align-items:center;justify-content:center;", ";"], ({
|
|
10126
10134
|
theme: theme2,
|
|
@@ -10149,7 +10157,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10149
10157
|
}
|
|
10150
10158
|
}
|
|
10151
10159
|
`);
|
|
10152
|
-
const CheckIconWrapper =
|
|
10160
|
+
const CheckIconWrapper = styled.styled($e698a72e93240346$export$adb584737d712b70).withConfig({
|
|
10153
10161
|
componentId: "sc-1sck1ja-2"
|
|
10154
10162
|
})(["", ""], ({
|
|
10155
10163
|
theme: theme2
|
|
@@ -12470,14 +12478,14 @@ var __publicField = (obj, key, value) => {
|
|
|
12470
12478
|
return high.listLanguages();
|
|
12471
12479
|
}
|
|
12472
12480
|
function registerAlias(name2, alias) {
|
|
12473
|
-
var
|
|
12481
|
+
var map2 = name2;
|
|
12474
12482
|
var key;
|
|
12475
12483
|
if (alias) {
|
|
12476
|
-
|
|
12477
|
-
|
|
12484
|
+
map2 = {};
|
|
12485
|
+
map2[name2] = alias;
|
|
12478
12486
|
}
|
|
12479
|
-
for (key in
|
|
12480
|
-
high.registerAliases(
|
|
12487
|
+
for (key in map2) {
|
|
12488
|
+
high.registerAliases(map2[key], { languageName: key });
|
|
12481
12489
|
}
|
|
12482
12490
|
}
|
|
12483
12491
|
function Emitter(options2) {
|
|
@@ -13415,7 +13423,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13415
13423
|
var SyntaxHighlighter = highlight$2(core$1, {});
|
|
13416
13424
|
SyntaxHighlighter.registerLanguage = core$1.registerLanguage;
|
|
13417
13425
|
const useColorStyle = (defaultTheme) => {
|
|
13418
|
-
const theme2 =
|
|
13426
|
+
const theme2 = styled.useTheme();
|
|
13419
13427
|
const inheritedThemeName = theme2.name !== "classic" ? theme2.name : "light";
|
|
13420
13428
|
const themeName = !defaultTheme ? inheritedThemeName : defaultTheme;
|
|
13421
13429
|
const codeTheme = theme2.click.codeblock[`${themeName}Mode`].color;
|
|
@@ -13582,7 +13590,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13582
13590
|
SyntaxHighlighter.registerLanguage("sql", sql);
|
|
13583
13591
|
SyntaxHighlighter.registerLanguage("bash", bash);
|
|
13584
13592
|
SyntaxHighlighter.registerLanguage("json", json);
|
|
13585
|
-
const CodeBlockContainer =
|
|
13593
|
+
const CodeBlockContainer = styled.styled.div.withConfig({
|
|
13586
13594
|
componentId: "sc-18gnqgi-0"
|
|
13587
13595
|
})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;", ""], ({
|
|
13588
13596
|
theme: theme2,
|
|
@@ -13597,7 +13605,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13597
13605
|
}
|
|
13598
13606
|
`;
|
|
13599
13607
|
});
|
|
13600
|
-
const CodeButton =
|
|
13608
|
+
const CodeButton = styled.styled(EmptyButton$1).withConfig({
|
|
13601
13609
|
componentId: "sc-18gnqgi-1"
|
|
13602
13610
|
})(["", ""], ({
|
|
13603
13611
|
$copied,
|
|
@@ -13608,13 +13616,13 @@ var __publicField = (obj, key, value) => {
|
|
|
13608
13616
|
padding: 0;
|
|
13609
13617
|
border: 0;
|
|
13610
13618
|
`);
|
|
13611
|
-
const Highlighter =
|
|
13619
|
+
const Highlighter = styled.styled(SyntaxHighlighter).withConfig({
|
|
13612
13620
|
componentId: "sc-18gnqgi-2"
|
|
13613
13621
|
})(["background:transparent;padding:0;margin:0;"]);
|
|
13614
|
-
const CodeContent =
|
|
13622
|
+
const CodeContent = styled.styled.code.withConfig({
|
|
13615
13623
|
componentId: "sc-18gnqgi-3"
|
|
13616
13624
|
})(["font-family:inherit;color:inherit;"]);
|
|
13617
|
-
const ButtonContainer =
|
|
13625
|
+
const ButtonContainer = styled.styled.div.withConfig({
|
|
13618
13626
|
componentId: "sc-18gnqgi-4"
|
|
13619
13627
|
})(["position:absolute;display:flex;", ""], ({
|
|
13620
13628
|
theme: theme2
|
|
@@ -13694,6 +13702,778 @@ var __publicField = (obj, key, value) => {
|
|
|
13694
13702
|
}, showLineNumbers, wrapLines: wrap || wrapLines, wrapLongLines: wrap || wrapLines, children })
|
|
13695
13703
|
] });
|
|
13696
13704
|
};
|
|
13705
|
+
const constructFromSymbol = Symbol.for("constructDateFrom");
|
|
13706
|
+
function constructFrom(date, value) {
|
|
13707
|
+
if (typeof date === "function")
|
|
13708
|
+
return date(value);
|
|
13709
|
+
if (date && typeof date === "object" && constructFromSymbol in date)
|
|
13710
|
+
return date[constructFromSymbol](value);
|
|
13711
|
+
if (date instanceof Date)
|
|
13712
|
+
return new date.constructor(value);
|
|
13713
|
+
return new Date(value);
|
|
13714
|
+
}
|
|
13715
|
+
function toDate(argument, context) {
|
|
13716
|
+
return constructFrom(context || argument, argument);
|
|
13717
|
+
}
|
|
13718
|
+
function addDays(date, amount, options2) {
|
|
13719
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13720
|
+
if (isNaN(amount))
|
|
13721
|
+
return constructFrom(date, NaN);
|
|
13722
|
+
if (!amount)
|
|
13723
|
+
return _date;
|
|
13724
|
+
_date.setDate(_date.getDate() + amount);
|
|
13725
|
+
return _date;
|
|
13726
|
+
}
|
|
13727
|
+
function addMonths(date, amount, options2) {
|
|
13728
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13729
|
+
if (isNaN(amount))
|
|
13730
|
+
return constructFrom(date, NaN);
|
|
13731
|
+
if (!amount) {
|
|
13732
|
+
return _date;
|
|
13733
|
+
}
|
|
13734
|
+
const dayOfMonth = _date.getDate();
|
|
13735
|
+
const endOfDesiredMonth = constructFrom(date, _date.getTime());
|
|
13736
|
+
endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
|
|
13737
|
+
const daysInMonth = endOfDesiredMonth.getDate();
|
|
13738
|
+
if (dayOfMonth >= daysInMonth) {
|
|
13739
|
+
return endOfDesiredMonth;
|
|
13740
|
+
} else {
|
|
13741
|
+
_date.setFullYear(
|
|
13742
|
+
endOfDesiredMonth.getFullYear(),
|
|
13743
|
+
endOfDesiredMonth.getMonth(),
|
|
13744
|
+
dayOfMonth
|
|
13745
|
+
);
|
|
13746
|
+
return _date;
|
|
13747
|
+
}
|
|
13748
|
+
}
|
|
13749
|
+
function isWeekend(date, options2) {
|
|
13750
|
+
const day = toDate(date, options2 == null ? void 0 : options2.in).getDay();
|
|
13751
|
+
return day === 0 || day === 6;
|
|
13752
|
+
}
|
|
13753
|
+
let defaultOptions = {};
|
|
13754
|
+
function getDefaultOptions() {
|
|
13755
|
+
return defaultOptions;
|
|
13756
|
+
}
|
|
13757
|
+
function startOfWeek(date, options2) {
|
|
13758
|
+
var _a, _b, _c, _d;
|
|
13759
|
+
const defaultOptions2 = getDefaultOptions();
|
|
13760
|
+
const weekStartsOn = (options2 == null ? void 0 : options2.weekStartsOn) ?? ((_b = (_a = options2 == null ? void 0 : options2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
|
|
13761
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13762
|
+
const day = _date.getDay();
|
|
13763
|
+
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
13764
|
+
_date.setDate(_date.getDate() - diff);
|
|
13765
|
+
_date.setHours(0, 0, 0, 0);
|
|
13766
|
+
return _date;
|
|
13767
|
+
}
|
|
13768
|
+
function normalizeDates(context, ...dates) {
|
|
13769
|
+
const normalize = constructFrom.bind(
|
|
13770
|
+
null,
|
|
13771
|
+
dates.find((date) => typeof date === "object")
|
|
13772
|
+
);
|
|
13773
|
+
return dates.map(normalize);
|
|
13774
|
+
}
|
|
13775
|
+
function addWeeks(date, amount, options2) {
|
|
13776
|
+
return addDays(date, amount * 7, options2);
|
|
13777
|
+
}
|
|
13778
|
+
function startOfMonth(date, options2) {
|
|
13779
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13780
|
+
_date.setDate(1);
|
|
13781
|
+
_date.setHours(0, 0, 0, 0);
|
|
13782
|
+
return _date;
|
|
13783
|
+
}
|
|
13784
|
+
function getDate(date, options2) {
|
|
13785
|
+
return toDate(date, options2 == null ? void 0 : options2.in).getDate();
|
|
13786
|
+
}
|
|
13787
|
+
function getDay(date, options2) {
|
|
13788
|
+
return toDate(date, options2 == null ? void 0 : options2.in).getDay();
|
|
13789
|
+
}
|
|
13790
|
+
function getDaysInMonth(date, options2) {
|
|
13791
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13792
|
+
const year = _date.getFullYear();
|
|
13793
|
+
const monthIndex = _date.getMonth();
|
|
13794
|
+
const lastDayOfMonth = constructFrom(_date, 0);
|
|
13795
|
+
lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
|
|
13796
|
+
lastDayOfMonth.setHours(0, 0, 0, 0);
|
|
13797
|
+
return lastDayOfMonth.getDate();
|
|
13798
|
+
}
|
|
13799
|
+
function isEqual$1(leftDate, rightDate) {
|
|
13800
|
+
return +toDate(leftDate) === +toDate(rightDate);
|
|
13801
|
+
}
|
|
13802
|
+
function setDay(date, day, options2) {
|
|
13803
|
+
var _a, _b;
|
|
13804
|
+
const defaultOptions2 = getDefaultOptions();
|
|
13805
|
+
const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? 0;
|
|
13806
|
+
const date_ = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13807
|
+
const currentDay = date_.getDay();
|
|
13808
|
+
const remainder = day % 7;
|
|
13809
|
+
const dayIndex = (remainder + 7) % 7;
|
|
13810
|
+
const delta = 7 - weekStartsOn;
|
|
13811
|
+
const diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;
|
|
13812
|
+
return addDays(date_, diff, options2);
|
|
13813
|
+
}
|
|
13814
|
+
function isSameMonth(laterDate, earlierDate, options2) {
|
|
13815
|
+
const [laterDate_, earlierDate_] = normalizeDates(
|
|
13816
|
+
options2 == null ? void 0 : options2.in,
|
|
13817
|
+
laterDate,
|
|
13818
|
+
earlierDate
|
|
13819
|
+
);
|
|
13820
|
+
return laterDate_.getFullYear() === earlierDate_.getFullYear() && laterDate_.getMonth() === earlierDate_.getMonth();
|
|
13821
|
+
}
|
|
13822
|
+
function isSameYear(laterDate, earlierDate, options2) {
|
|
13823
|
+
const [laterDate_, earlierDate_] = normalizeDates(
|
|
13824
|
+
options2 == null ? void 0 : options2.in,
|
|
13825
|
+
laterDate,
|
|
13826
|
+
earlierDate
|
|
13827
|
+
);
|
|
13828
|
+
return laterDate_.getFullYear() === earlierDate_.getFullYear();
|
|
13829
|
+
}
|
|
13830
|
+
function subDays(date, amount, options2) {
|
|
13831
|
+
return addDays(date, -amount, options2);
|
|
13832
|
+
}
|
|
13833
|
+
function setHours(date, hours, options2) {
|
|
13834
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13835
|
+
_date.setHours(hours);
|
|
13836
|
+
return _date;
|
|
13837
|
+
}
|
|
13838
|
+
function setMilliseconds(date, milliseconds, options2) {
|
|
13839
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13840
|
+
_date.setMilliseconds(milliseconds);
|
|
13841
|
+
return _date;
|
|
13842
|
+
}
|
|
13843
|
+
function setMinutes(date, minutes, options2) {
|
|
13844
|
+
const date_ = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13845
|
+
date_.setMinutes(minutes);
|
|
13846
|
+
return date_;
|
|
13847
|
+
}
|
|
13848
|
+
function setSeconds(date, seconds, options2) {
|
|
13849
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13850
|
+
_date.setSeconds(seconds);
|
|
13851
|
+
return _date;
|
|
13852
|
+
}
|
|
13853
|
+
function subMonths(date, amount, options2) {
|
|
13854
|
+
return addMonths(date, -amount, options2);
|
|
13855
|
+
}
|
|
13856
|
+
function subWeeks(date, amount, options2) {
|
|
13857
|
+
return addWeeks(date, -amount, options2);
|
|
13858
|
+
}
|
|
13859
|
+
var CalendarViewtype = /* @__PURE__ */ ((CalendarViewtype2) => {
|
|
13860
|
+
CalendarViewtype2["Month"] = "month";
|
|
13861
|
+
CalendarViewtype2["Week"] = "week";
|
|
13862
|
+
CalendarViewtype2["Day"] = "day";
|
|
13863
|
+
return CalendarViewtype2;
|
|
13864
|
+
})(CalendarViewtype || {});
|
|
13865
|
+
var CalendarViewType_default = CalendarViewtype;
|
|
13866
|
+
function arrayOf(count) {
|
|
13867
|
+
return [...new Array(count).keys()];
|
|
13868
|
+
}
|
|
13869
|
+
var randomId = 0;
|
|
13870
|
+
var map = /* @__PURE__ */ new Map();
|
|
13871
|
+
function generateID(prefix2) {
|
|
13872
|
+
if (map.has(prefix2)) {
|
|
13873
|
+
const id = map.get(prefix2);
|
|
13874
|
+
const newId = id + 1;
|
|
13875
|
+
map.set(prefix2, newId);
|
|
13876
|
+
randomId = newId;
|
|
13877
|
+
} else {
|
|
13878
|
+
const id = 1;
|
|
13879
|
+
map.set(prefix2, id);
|
|
13880
|
+
randomId = id;
|
|
13881
|
+
}
|
|
13882
|
+
return `${prefix2}-${randomId}`;
|
|
13883
|
+
}
|
|
13884
|
+
function resetTimeOfDate(date) {
|
|
13885
|
+
return setHours(setMinutes(setSeconds(setMilliseconds(date, 0), 0), 0), 0);
|
|
13886
|
+
}
|
|
13887
|
+
function isSameDate(baseDate, targetDate) {
|
|
13888
|
+
const base = resetTimeOfDate(baseDate);
|
|
13889
|
+
const target = resetTimeOfDate(targetDate);
|
|
13890
|
+
return isEqual$1(base, target);
|
|
13891
|
+
}
|
|
13892
|
+
function isSameYearAndMonth(baseDate, targetDate) {
|
|
13893
|
+
return isSameMonth(targetDate, baseDate) && isSameYear(targetDate, baseDate);
|
|
13894
|
+
}
|
|
13895
|
+
function parseDate(date) {
|
|
13896
|
+
return {
|
|
13897
|
+
year: date.getFullYear(),
|
|
13898
|
+
month: date.getMonth(),
|
|
13899
|
+
day: date.getDate()
|
|
13900
|
+
};
|
|
13901
|
+
}
|
|
13902
|
+
function pipe(...fns) {
|
|
13903
|
+
return (...initialParams) => fns.reduce((value, fn, index2) => {
|
|
13904
|
+
const params = index2 === 0 ? value : [value];
|
|
13905
|
+
return fn(...params);
|
|
13906
|
+
}, initialParams);
|
|
13907
|
+
}
|
|
13908
|
+
function pipeWith(value, ...fns) {
|
|
13909
|
+
return pipe(
|
|
13910
|
+
...fns
|
|
13911
|
+
)(value);
|
|
13912
|
+
}
|
|
13913
|
+
function withKey(arr, keyPrefix) {
|
|
13914
|
+
return arr.map((value) => {
|
|
13915
|
+
return {
|
|
13916
|
+
...value,
|
|
13917
|
+
key: generateID(keyPrefix)
|
|
13918
|
+
};
|
|
13919
|
+
});
|
|
13920
|
+
}
|
|
13921
|
+
function withDateProps(baseDate, cursorDate) {
|
|
13922
|
+
return function(cell) {
|
|
13923
|
+
const { value: targetDate } = cell;
|
|
13924
|
+
const isCurrentMonth = isSameYearAndMonth(cursorDate, targetDate);
|
|
13925
|
+
const isCurrentDate = isSameDate(baseDate, targetDate);
|
|
13926
|
+
const isWeekend$1 = isWeekend(targetDate);
|
|
13927
|
+
return {
|
|
13928
|
+
...cell,
|
|
13929
|
+
date: getDate(targetDate),
|
|
13930
|
+
isCurrentMonth,
|
|
13931
|
+
isCurrentDate,
|
|
13932
|
+
isWeekend: isWeekend$1
|
|
13933
|
+
};
|
|
13934
|
+
};
|
|
13935
|
+
}
|
|
13936
|
+
function withKeyProps(keyPrefix) {
|
|
13937
|
+
return function(cell) {
|
|
13938
|
+
return {
|
|
13939
|
+
...cell,
|
|
13940
|
+
key: generateID(keyPrefix)
|
|
13941
|
+
};
|
|
13942
|
+
};
|
|
13943
|
+
}
|
|
13944
|
+
function createCalendarInfo(cursorDate, { weekStartsOn }) {
|
|
13945
|
+
const { year, month, day } = parseDate(cursorDate);
|
|
13946
|
+
const startWeekdayInMonth = getStartWeekdayInMonth(cursorDate, weekStartsOn);
|
|
13947
|
+
const weeksInMonth = getWeeksInMonth(cursorDate, startWeekdayInMonth);
|
|
13948
|
+
const weekendDays = arrayOf(7).map((index2) => ({
|
|
13949
|
+
value: setDay(cursorDate, index2 + weekStartsOn)
|
|
13950
|
+
}));
|
|
13951
|
+
const getDateCellByIndex = (weekIndex, dayIndex) => {
|
|
13952
|
+
const day2 = weekIndex * 7 + dayIndex - startWeekdayInMonth + 1;
|
|
13953
|
+
return { value: new Date(year, month, day2) };
|
|
13954
|
+
};
|
|
13955
|
+
return {
|
|
13956
|
+
cursorDate,
|
|
13957
|
+
year,
|
|
13958
|
+
month,
|
|
13959
|
+
day,
|
|
13960
|
+
weekStartsOn,
|
|
13961
|
+
startWeekdayInMonth,
|
|
13962
|
+
weeksInMonth,
|
|
13963
|
+
weekendDays,
|
|
13964
|
+
today: {
|
|
13965
|
+
weekIndex: getCurrentWeekIndex(day, startWeekdayInMonth),
|
|
13966
|
+
dateIndex: getDay(cursorDate)
|
|
13967
|
+
},
|
|
13968
|
+
getDateCellByIndex
|
|
13969
|
+
};
|
|
13970
|
+
}
|
|
13971
|
+
function getStartWeekdayInMonth(date, weekStartsOn) {
|
|
13972
|
+
const monthStartsAt = (startOfMonth(date).getDay() - weekStartsOn) % 7;
|
|
13973
|
+
return monthStartsAt < 0 ? monthStartsAt + 7 : monthStartsAt;
|
|
13974
|
+
}
|
|
13975
|
+
function getWeeksInMonth(date, startWeekdayInMonth) {
|
|
13976
|
+
const totalDaysOfMonth = getDaysInMonth(date);
|
|
13977
|
+
return Math.ceil((startWeekdayInMonth + totalDaysOfMonth) / 7);
|
|
13978
|
+
}
|
|
13979
|
+
function getCurrentWeekIndex(day, startWeekdayInMonth) {
|
|
13980
|
+
if ((day + startWeekdayInMonth) % 7 > 0) {
|
|
13981
|
+
return Math.floor((day + startWeekdayInMonth) / 7);
|
|
13982
|
+
}
|
|
13983
|
+
return Math.floor((day + startWeekdayInMonth) / 7) - 1;
|
|
13984
|
+
}
|
|
13985
|
+
function useIsMounted() {
|
|
13986
|
+
const [mounted, setMounted] = React.useState(false);
|
|
13987
|
+
React.useEffect(() => {
|
|
13988
|
+
setMounted(true);
|
|
13989
|
+
}, []);
|
|
13990
|
+
return mounted;
|
|
13991
|
+
}
|
|
13992
|
+
function useCalendar({
|
|
13993
|
+
defaultDate,
|
|
13994
|
+
defaultWeekStart = 0,
|
|
13995
|
+
defaultViewType = CalendarViewType_default.Month
|
|
13996
|
+
} = {}) {
|
|
13997
|
+
const isMounted = useIsMounted();
|
|
13998
|
+
const baseDate = React.useMemo(() => {
|
|
13999
|
+
return defaultDate != null ? new Date(defaultDate) : /* @__PURE__ */ new Date();
|
|
14000
|
+
}, [defaultDate, isMounted]);
|
|
14001
|
+
const [weekStartsOn, setWeekStartsOn] = React.useState(defaultWeekStart);
|
|
14002
|
+
const [cursorDate, setCursorDate] = React.useState(baseDate);
|
|
14003
|
+
const [viewType, setViewType] = React.useState(defaultViewType);
|
|
14004
|
+
const calendar = createCalendarInfo(cursorDate, { weekStartsOn });
|
|
14005
|
+
const { weekendDays, weeksInMonth, today, getDateCellByIndex } = calendar;
|
|
14006
|
+
const getHeaders = React.useCallback(
|
|
14007
|
+
(viewType2) => {
|
|
14008
|
+
switch (viewType2) {
|
|
14009
|
+
case CalendarViewType_default.Month:
|
|
14010
|
+
case CalendarViewType_default.Week:
|
|
14011
|
+
return {
|
|
14012
|
+
weekDays: withKey(weekendDays, "weekdays")
|
|
14013
|
+
};
|
|
14014
|
+
case CalendarViewType_default.Day:
|
|
14015
|
+
default:
|
|
14016
|
+
return {
|
|
14017
|
+
weekDays: withKey([{ value: cursorDate }], "weekdays")
|
|
14018
|
+
};
|
|
14019
|
+
}
|
|
14020
|
+
},
|
|
14021
|
+
[cursorDate, weekendDays]
|
|
14022
|
+
);
|
|
14023
|
+
const createMatrix = React.useCallback(
|
|
14024
|
+
(weeksInMonth2) => ({
|
|
14025
|
+
value: arrayOf(weeksInMonth2).map((weekIndex) => {
|
|
14026
|
+
return {
|
|
14027
|
+
key: generateID("weeks"),
|
|
14028
|
+
value: arrayOf(7).map((dayIndex) => {
|
|
14029
|
+
return pipeWith(
|
|
14030
|
+
getDateCellByIndex(weekIndex, dayIndex),
|
|
14031
|
+
withDateProps(baseDate, cursorDate),
|
|
14032
|
+
withKeyProps("days")
|
|
14033
|
+
);
|
|
14034
|
+
})
|
|
14035
|
+
};
|
|
14036
|
+
})
|
|
14037
|
+
}),
|
|
14038
|
+
[baseDate, cursorDate, getDateCellByIndex]
|
|
14039
|
+
);
|
|
14040
|
+
const getBody = React.useCallback(
|
|
14041
|
+
(viewType2) => {
|
|
14042
|
+
var _a;
|
|
14043
|
+
const matrix2 = createMatrix(weeksInMonth);
|
|
14044
|
+
const { weekIndex, dateIndex } = today;
|
|
14045
|
+
return {
|
|
14046
|
+
[CalendarViewType_default.Month]: matrix2,
|
|
14047
|
+
[CalendarViewType_default.Week]: {
|
|
14048
|
+
value: [matrix2.value[weekIndex]]
|
|
14049
|
+
},
|
|
14050
|
+
[CalendarViewType_default.Day]: {
|
|
14051
|
+
value: [
|
|
14052
|
+
{
|
|
14053
|
+
key: "week-day-type",
|
|
14054
|
+
value: [(_a = matrix2.value[weekIndex]) == null ? void 0 : _a.value[dateIndex]]
|
|
14055
|
+
}
|
|
14056
|
+
]
|
|
14057
|
+
}
|
|
14058
|
+
}[viewType2];
|
|
14059
|
+
},
|
|
14060
|
+
[createMatrix, today, weeksInMonth]
|
|
14061
|
+
);
|
|
14062
|
+
const setNext = React.useMemo(() => {
|
|
14063
|
+
switch (viewType) {
|
|
14064
|
+
case CalendarViewType_default.Month:
|
|
14065
|
+
return (date) => addMonths(startOfMonth(date), 1);
|
|
14066
|
+
case CalendarViewType_default.Week:
|
|
14067
|
+
return (date) => addWeeks(startOfWeek(date, { weekStartsOn }), 1);
|
|
14068
|
+
case CalendarViewType_default.Day:
|
|
14069
|
+
return (date) => addDays(date, 1);
|
|
14070
|
+
}
|
|
14071
|
+
}, [viewType, weekStartsOn]);
|
|
14072
|
+
const setPrev = React.useMemo(() => {
|
|
14073
|
+
switch (viewType) {
|
|
14074
|
+
case CalendarViewType_default.Month:
|
|
14075
|
+
return (date) => subMonths(startOfMonth(date), 1);
|
|
14076
|
+
case CalendarViewType_default.Week:
|
|
14077
|
+
return (date) => subWeeks(startOfWeek(date, { weekStartsOn }), 1);
|
|
14078
|
+
case CalendarViewType_default.Day:
|
|
14079
|
+
return (date) => subDays(date, 1);
|
|
14080
|
+
}
|
|
14081
|
+
}, [viewType, weekStartsOn]);
|
|
14082
|
+
return React.useMemo(
|
|
14083
|
+
() => ({
|
|
14084
|
+
...calendar,
|
|
14085
|
+
headers: getHeaders(viewType),
|
|
14086
|
+
body: getBody(viewType),
|
|
14087
|
+
navigation: {
|
|
14088
|
+
toNext: () => setCursorDate((date) => setNext(date)),
|
|
14089
|
+
toPrev: () => setCursorDate((date) => setPrev(date)),
|
|
14090
|
+
setToday: () => setCursorDate(/* @__PURE__ */ new Date()),
|
|
14091
|
+
setDate: (date) => setCursorDate(date)
|
|
14092
|
+
},
|
|
14093
|
+
view: {
|
|
14094
|
+
type: viewType,
|
|
14095
|
+
setViewType,
|
|
14096
|
+
setWeekStartsOn,
|
|
14097
|
+
isMonthView: viewType === CalendarViewType_default.Month,
|
|
14098
|
+
isWeekView: viewType === CalendarViewType_default.Week,
|
|
14099
|
+
isDayView: viewType === CalendarViewType_default.Day,
|
|
14100
|
+
showMonthView: () => setViewType(CalendarViewType_default.Month),
|
|
14101
|
+
showWeekView: () => setViewType(CalendarViewType_default.Week),
|
|
14102
|
+
showDayView: () => setViewType(CalendarViewType_default.Day)
|
|
14103
|
+
}
|
|
14104
|
+
}),
|
|
14105
|
+
[calendar, getBody, getHeaders, setNext, setPrev, viewType]
|
|
14106
|
+
);
|
|
14107
|
+
}
|
|
14108
|
+
const Wrapper$4 = styled.styled.div.withConfig({
|
|
14109
|
+
componentId: "sc-1pvd2nj-0"
|
|
14110
|
+
})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
|
|
14111
|
+
theme: theme2,
|
|
14112
|
+
$error,
|
|
14113
|
+
$resize
|
|
14114
|
+
}) => `
|
|
14115
|
+
gap: ${theme2.click.field.space.gap};
|
|
14116
|
+
border-radius: ${theme2.click.field.radii.all};
|
|
14117
|
+
font: ${theme2.click.field.typography.fieldText.default};
|
|
14118
|
+
color: ${theme2.click.field.color.text.default};
|
|
14119
|
+
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
14120
|
+
background: ${theme2.click.field.color.background.default};
|
|
14121
|
+
|
|
14122
|
+
*:autofill,
|
|
14123
|
+
*:-webkit-autofill {
|
|
14124
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
14125
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
14126
|
+
caret-color: ${theme2.click.field.color.text.default};
|
|
14127
|
+
}
|
|
14128
|
+
|
|
14129
|
+
&:hover {
|
|
14130
|
+
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
14131
|
+
background: ${theme2.click.field.color.background.hover};
|
|
14132
|
+
color: ${theme2.click.field.color.text.hover};
|
|
14133
|
+
|
|
14134
|
+
*:autofill,
|
|
14135
|
+
*:-webkit-autofill {
|
|
14136
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
14137
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
14138
|
+
caret-color: ${theme2.click.field.color.text.hover};
|
|
14139
|
+
}
|
|
14140
|
+
}
|
|
14141
|
+
${$resize === "none" ? "" : `
|
|
14142
|
+
resize: ${$resize};
|
|
14143
|
+
overflow: auto;
|
|
14144
|
+
`}
|
|
14145
|
+
padding: 0 ${theme2.click.field.space.x};
|
|
14146
|
+
${$error ? `
|
|
14147
|
+
font: ${theme2.click.field.typography.fieldText.error};
|
|
14148
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
14149
|
+
background: ${theme2.click.field.color.background.active};
|
|
14150
|
+
color: ${theme2.click.field.color.text.error};
|
|
14151
|
+
|
|
14152
|
+
*:autofill,
|
|
14153
|
+
*:-webkit-autofill {
|
|
14154
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
14155
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
14156
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
14157
|
+
}
|
|
14158
|
+
|
|
14159
|
+
&:hover {
|
|
14160
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
14161
|
+
color: ${theme2.click.field.color.text.error};
|
|
14162
|
+
*:autofill,
|
|
14163
|
+
*:-webkit-autofill {
|
|
14164
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
14165
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
14166
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
14167
|
+
}
|
|
14168
|
+
}
|
|
14169
|
+
` : `
|
|
14170
|
+
&:focus-within,
|
|
14171
|
+
&[data-state="open"] {
|
|
14172
|
+
font: ${theme2.click.field.typography.fieldText.active};
|
|
14173
|
+
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
14174
|
+
background: ${theme2.click.field.color.background.active};
|
|
14175
|
+
color: ${theme2.click.field.color.text.active};
|
|
14176
|
+
|
|
14177
|
+
*:autofill,
|
|
14178
|
+
*:-webkit-autofill {
|
|
14179
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
14180
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
14181
|
+
caret-color: ${theme2.click.field.color.text.active};
|
|
14182
|
+
}
|
|
14183
|
+
}
|
|
14184
|
+
`};
|
|
14185
|
+
&:disabled, &.disabled {
|
|
14186
|
+
font: ${theme2.click.field.typography.fieldText.disabled};
|
|
14187
|
+
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
14188
|
+
background: ${theme2.click.field.color.background.disabled};
|
|
14189
|
+
color: ${theme2.click.field.color.text.disabled};
|
|
14190
|
+
|
|
14191
|
+
*:autofill,
|
|
14192
|
+
*:-webkit-autofill {
|
|
14193
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
14194
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
14195
|
+
caret-color: ${theme2.click.field.color.text.disabled};
|
|
14196
|
+
}
|
|
14197
|
+
}
|
|
14198
|
+
`);
|
|
14199
|
+
const StyledLabel = styled.styled(Label$1).withConfig({
|
|
14200
|
+
componentId: "sc-1pvd2nj-1"
|
|
14201
|
+
})(["", ""], ({
|
|
14202
|
+
$labelColor
|
|
14203
|
+
}) => `
|
|
14204
|
+
${$labelColor ? `color: ${$labelColor};` : ""}
|
|
14205
|
+
`);
|
|
14206
|
+
const InputWrapper = ({
|
|
14207
|
+
className,
|
|
14208
|
+
id,
|
|
14209
|
+
label = "",
|
|
14210
|
+
labelColor,
|
|
14211
|
+
error: error2,
|
|
14212
|
+
disabled,
|
|
14213
|
+
children,
|
|
14214
|
+
orientation,
|
|
14215
|
+
dir,
|
|
14216
|
+
resize = "none"
|
|
14217
|
+
}) => {
|
|
14218
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
|
|
14219
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
|
|
14220
|
+
/* @__PURE__ */ jsxRuntime.jsx(Wrapper$4, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? `disabled ${className}` : className, children }),
|
|
14221
|
+
!!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
|
|
14222
|
+
] }),
|
|
14223
|
+
label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
|
|
14224
|
+
] });
|
|
14225
|
+
};
|
|
14226
|
+
const InputElement = styled.styled.input.withConfig({
|
|
14227
|
+
componentId: "sc-1pvd2nj-2"
|
|
14228
|
+
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
|
|
14229
|
+
theme: theme2
|
|
14230
|
+
}) => `
|
|
14231
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14232
|
+
&::placeholder {
|
|
14233
|
+
color: ${theme2.click.field.color.placeholder.default};
|
|
14234
|
+
}
|
|
14235
|
+
|
|
14236
|
+
&:disabled, &.disabled {
|
|
14237
|
+
&::placeholder {
|
|
14238
|
+
color: ${theme2.click.field.color.placeholder.disabled};
|
|
14239
|
+
}
|
|
14240
|
+
`);
|
|
14241
|
+
const NumberInputElement = styled.styled(InputElement).withConfig({
|
|
14242
|
+
componentId: "sc-1pvd2nj-3"
|
|
14243
|
+
})(["", ""], ({
|
|
14244
|
+
$hideControls
|
|
14245
|
+
}) => `
|
|
14246
|
+
${$hideControls ? `
|
|
14247
|
+
&::-webkit-outer-spin-button,
|
|
14248
|
+
&::-webkit-inner-spin-button {
|
|
14249
|
+
-webkit-appearance: none;
|
|
14250
|
+
margin: 0;
|
|
14251
|
+
}
|
|
14252
|
+
|
|
14253
|
+
-moz-appearance: textfield;
|
|
14254
|
+
` : ""}
|
|
14255
|
+
`);
|
|
14256
|
+
const TextAreaElement = styled.styled.textarea.withConfig({
|
|
14257
|
+
componentId: "sc-1pvd2nj-4"
|
|
14258
|
+
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
|
|
14259
|
+
theme: theme2
|
|
14260
|
+
}) => `
|
|
14261
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14262
|
+
align-self: stretch;
|
|
14263
|
+
&::placeholder {
|
|
14264
|
+
color: ${theme2.click.field.color.placeholder.default};
|
|
14265
|
+
}
|
|
14266
|
+
`);
|
|
14267
|
+
styled.styled(InputWrapper).withConfig({
|
|
14268
|
+
componentId: "sc-1pvd2nj-5"
|
|
14269
|
+
})(["resize:vertical;overflow:auto;color:red;"]);
|
|
14270
|
+
const IconButton = styled.styled.button.withConfig({
|
|
14271
|
+
componentId: "sc-1pvd2nj-6"
|
|
14272
|
+
})(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
|
|
14273
|
+
theme: theme2,
|
|
14274
|
+
$show
|
|
14275
|
+
}) => `
|
|
14276
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14277
|
+
visibility: ${$show ? "visible" : "hidden"};
|
|
14278
|
+
`);
|
|
14279
|
+
styled.styled.svg.withConfig({
|
|
14280
|
+
componentId: "sc-1pvd2nj-7"
|
|
14281
|
+
})(["", ""], ({
|
|
14282
|
+
theme: theme2
|
|
14283
|
+
}) => `
|
|
14284
|
+
&:first-of-type {
|
|
14285
|
+
padding-left: ${theme2.click.field.space.gap};
|
|
14286
|
+
}
|
|
14287
|
+
&:last-of-type {
|
|
14288
|
+
padding-right: ${theme2.click.field.space.x};
|
|
14289
|
+
}
|
|
14290
|
+
`);
|
|
14291
|
+
const locale = "en-US";
|
|
14292
|
+
const weekdayFormatter = new Intl.DateTimeFormat(locale, {
|
|
14293
|
+
weekday: "short"
|
|
14294
|
+
});
|
|
14295
|
+
const headerDateFormatter = new Intl.DateTimeFormat(locale, {
|
|
14296
|
+
month: "short",
|
|
14297
|
+
year: "numeric"
|
|
14298
|
+
});
|
|
14299
|
+
const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
|
|
14300
|
+
day: "2-digit",
|
|
14301
|
+
month: "short",
|
|
14302
|
+
year: "numeric"
|
|
14303
|
+
});
|
|
14304
|
+
const explicitWidth = "250px";
|
|
14305
|
+
const HighlightedInputWrapper = styled(InputWrapper).withConfig({
|
|
14306
|
+
componentId: "sc-1kfphgn-0"
|
|
14307
|
+
})(["", " width:", ";}"], ({
|
|
14308
|
+
$isActive,
|
|
14309
|
+
theme: theme2
|
|
14310
|
+
}) => {
|
|
14311
|
+
return `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isActive ? theme2.click.datePicker.dateOption.color.stroke.active : theme2.click.field.color.stroke.default};`;
|
|
14312
|
+
}, explicitWidth);
|
|
14313
|
+
const DatePickerContainer = styled(Container).withConfig({
|
|
14314
|
+
componentId: "sc-1kfphgn-1"
|
|
14315
|
+
})(["background:", ";"], ({
|
|
14316
|
+
theme: theme2
|
|
14317
|
+
}) => theme2.click.datePicker.dateOption.color.background.default);
|
|
14318
|
+
const UnselectableTitle = styled.h2.withConfig({
|
|
14319
|
+
componentId: "sc-1kfphgn-2"
|
|
14320
|
+
})(["", " user-select:none;"], ({
|
|
14321
|
+
theme: theme2
|
|
14322
|
+
}) => `
|
|
14323
|
+
color: ${theme2.click.datePicker.color.title.default};
|
|
14324
|
+
font: ${theme2.click.datePicker.typography.title.default};
|
|
14325
|
+
`);
|
|
14326
|
+
const DateTable = styled.table.withConfig({
|
|
14327
|
+
componentId: "sc-1kfphgn-3"
|
|
14328
|
+
})(["border-collapse:separate;border-spacing:0;font:", " table-layout:fixed;user-select:none;width:", ";thead tr{height:", ";}tbody{cursor:pointer;}td,th{", ";padding:4px;}"], ({
|
|
14329
|
+
theme: theme2
|
|
14330
|
+
}) => theme2.typography.styles.product.text.normal.md, explicitWidth, ({
|
|
14331
|
+
theme: theme2
|
|
14332
|
+
}) => theme2.click.datePicker.dateOption.size.height, ({
|
|
14333
|
+
theme: theme2
|
|
14334
|
+
}) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${theme2.click.datePicker.dateOption.color.stroke.default}`);
|
|
14335
|
+
const DateTableHeader = styled.th.withConfig({
|
|
14336
|
+
componentId: "sc-1kfphgn-4"
|
|
14337
|
+
})(["", " width:14%;"], ({
|
|
14338
|
+
theme: theme2
|
|
14339
|
+
}) => `
|
|
14340
|
+
color: ${theme2.click.datePicker.color.daytitle.default};
|
|
14341
|
+
font: ${theme2.click.datePicker.typography.daytitle.default};
|
|
14342
|
+
`);
|
|
14343
|
+
const DateTableCell = styled.td.withConfig({
|
|
14344
|
+
componentId: "sc-1kfphgn-5"
|
|
14345
|
+
})(["", " ", " ", " text-align:center;", " &:hover{", ";}"], ({
|
|
14346
|
+
theme: theme2
|
|
14347
|
+
}) => `
|
|
14348
|
+
border-radius: ${theme2.click.datePicker.dateOption.radii.default};
|
|
14349
|
+
font: ${theme2.click.datePicker.dateOption.typography.label.default};
|
|
14350
|
+
`, ({
|
|
14351
|
+
$isCurrentMonth,
|
|
14352
|
+
$isDisabled,
|
|
14353
|
+
theme: theme2
|
|
14354
|
+
}) => (!$isCurrentMonth || $isDisabled) && `
|
|
14355
|
+
color: ${theme2.click.datePicker.dateOption.color.label.disabled};
|
|
14356
|
+
font: ${theme2.click.datePicker.dateOption.typography.label.disabled};
|
|
14357
|
+
`, ({
|
|
14358
|
+
$isSelected,
|
|
14359
|
+
theme: theme2
|
|
14360
|
+
}) => $isSelected && `
|
|
14361
|
+
background: ${theme2.click.datePicker.dateOption.color.background.active};
|
|
14362
|
+
color: ${theme2.click.datePicker.dateOption.color.label.active};
|
|
14363
|
+
`, ({
|
|
14364
|
+
$isToday,
|
|
14365
|
+
theme: theme2
|
|
14366
|
+
}) => $isToday && `font: ${theme2.click.datePicker.dateOption.typography.label.active};`, ({
|
|
14367
|
+
$isDisabled,
|
|
14368
|
+
theme: theme2
|
|
14369
|
+
}) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isDisabled ? theme2.click.datePicker.dateOption.color.stroke.disabled : theme2.click.datePicker.dateOption.color.stroke.hover}`);
|
|
14370
|
+
const DatePickerInput = ({
|
|
14371
|
+
isActive,
|
|
14372
|
+
disabled,
|
|
14373
|
+
id,
|
|
14374
|
+
placeholder,
|
|
14375
|
+
selectedDate
|
|
14376
|
+
}) => {
|
|
14377
|
+
const defaultId = React.useId();
|
|
14378
|
+
const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
|
|
14379
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
|
|
14380
|
+
/* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }),
|
|
14381
|
+
/* @__PURE__ */ jsxRuntime.jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
|
|
14382
|
+
] });
|
|
14383
|
+
};
|
|
14384
|
+
const Calendar = ({
|
|
14385
|
+
closeDatepicker,
|
|
14386
|
+
futureDatesDisabled,
|
|
14387
|
+
selectedDate,
|
|
14388
|
+
setSelectedDate
|
|
14389
|
+
}) => {
|
|
14390
|
+
const calendarOptions = {
|
|
14391
|
+
defaultWeekStart: 1
|
|
14392
|
+
};
|
|
14393
|
+
if (selectedDate) {
|
|
14394
|
+
calendarOptions.defaultDate = selectedDate;
|
|
14395
|
+
}
|
|
14396
|
+
const {
|
|
14397
|
+
body,
|
|
14398
|
+
headers,
|
|
14399
|
+
month,
|
|
14400
|
+
navigation,
|
|
14401
|
+
year
|
|
14402
|
+
} = useCalendar(calendarOptions);
|
|
14403
|
+
const handleNextClick = () => {
|
|
14404
|
+
navigation.toNext();
|
|
14405
|
+
};
|
|
14406
|
+
const handlePreviousClick = () => {
|
|
14407
|
+
navigation.toPrev();
|
|
14408
|
+
};
|
|
14409
|
+
const headerDate = /* @__PURE__ */ new Date();
|
|
14410
|
+
headerDate.setMonth(month);
|
|
14411
|
+
headerDate.setFullYear(year);
|
|
14412
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(DatePickerContainer, { "data-testid": "datepicker-calendar-container", isResponsive: false, fillWidth: false, orientation: "vertical", padding: "sm", children: [
|
|
14413
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Container, { isResponsive: false, justifyContent: "space-between", orientation: "horizontal", children: [
|
|
14414
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-left", onClick: handlePreviousClick, size: "sm", type: "ghost" }),
|
|
14415
|
+
/* @__PURE__ */ jsxRuntime.jsx(UnselectableTitle, { children: headerDateFormatter.format(headerDate) }),
|
|
14416
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-right", onClick: handleNextClick, size: "sm", type: "ghost" })
|
|
14417
|
+
] }),
|
|
14418
|
+
/* @__PURE__ */ jsxRuntime.jsxs(DateTable, { children: [
|
|
14419
|
+
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: headers.weekDays.map(({
|
|
14420
|
+
key,
|
|
14421
|
+
value: date
|
|
14422
|
+
}) => {
|
|
14423
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DateTableHeader, { children: weekdayFormatter.format(date) }, key);
|
|
14424
|
+
}) }) }),
|
|
14425
|
+
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: body.value.map(({
|
|
14426
|
+
key: weekKey,
|
|
14427
|
+
value: week
|
|
14428
|
+
}) => {
|
|
14429
|
+
return /* @__PURE__ */ jsxRuntime.jsx("tr", { children: week.map(({
|
|
14430
|
+
date,
|
|
14431
|
+
isCurrentMonth,
|
|
14432
|
+
key: dayKey,
|
|
14433
|
+
value: fullDate
|
|
14434
|
+
}) => {
|
|
14435
|
+
const isSelected = selectedDate ? isSameDate(selectedDate, fullDate) : false;
|
|
14436
|
+
const today = /* @__PURE__ */ new Date();
|
|
14437
|
+
const isCurrentDate = isSameDate(today, fullDate);
|
|
14438
|
+
const isDisabled = futureDatesDisabled ? fullDate > today : false;
|
|
14439
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DateTableCell, { $isCurrentMonth: isCurrentMonth, $isDisabled: isDisabled, $isSelected: isSelected, $isToday: isCurrentDate, onClick: () => {
|
|
14440
|
+
if (isDisabled) {
|
|
14441
|
+
return false;
|
|
14442
|
+
}
|
|
14443
|
+
setSelectedDate(fullDate);
|
|
14444
|
+
closeDatepicker();
|
|
14445
|
+
}, children: date }, dayKey);
|
|
14446
|
+
}) }, weekKey);
|
|
14447
|
+
}) })
|
|
14448
|
+
] })
|
|
14449
|
+
] });
|
|
14450
|
+
};
|
|
14451
|
+
const DatePicker = ({
|
|
14452
|
+
date,
|
|
14453
|
+
disabled = false,
|
|
14454
|
+
futureDatesDisabled = false,
|
|
14455
|
+
onSelectDate,
|
|
14456
|
+
placeholder
|
|
14457
|
+
}) => {
|
|
14458
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
14459
|
+
const [selectedDate, setSelectedDate] = React.useState();
|
|
14460
|
+
React.useEffect(() => {
|
|
14461
|
+
if (date) {
|
|
14462
|
+
setSelectedDate(date);
|
|
14463
|
+
}
|
|
14464
|
+
}, [date]);
|
|
14465
|
+
const closeDatePicker = () => {
|
|
14466
|
+
setIsOpen(false);
|
|
14467
|
+
};
|
|
14468
|
+
const handleSelectDate = (selectedDate2) => {
|
|
14469
|
+
setSelectedDate(selectedDate2);
|
|
14470
|
+
onSelectDate(selectedDate2);
|
|
14471
|
+
};
|
|
14472
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Dropdown, { onOpenChange: setIsOpen, open: isOpen, children: [
|
|
14473
|
+
/* @__PURE__ */ jsxRuntime.jsx(Dropdown.Trigger, { disabled, children: /* @__PURE__ */ jsxRuntime.jsx(DatePickerInput, { "data-testid": "datepicker-inpcontainer", disabled, isActive: isOpen, placeholder, selectedDate }) }),
|
|
14474
|
+
/* @__PURE__ */ jsxRuntime.jsx(Dropdown.Content, { align: "start", children: /* @__PURE__ */ jsxRuntime.jsx(Calendar, { closeDatepicker: closeDatePicker, futureDatesDisabled, selectedDate, setSelectedDate: handleSelectDate }) })
|
|
14475
|
+
] });
|
|
14476
|
+
};
|
|
13697
14477
|
const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
|
|
13698
14478
|
const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
13699
14479
|
const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
@@ -13961,7 +14741,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13961
14741
|
}) => {
|
|
13962
14742
|
return /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { ...props, children });
|
|
13963
14743
|
};
|
|
13964
|
-
const Trigger$4 =
|
|
14744
|
+
const Trigger$4 = styled.styled($5d3850c4d0b4e6c7$export$41fb9f06171c75f4).withConfig({
|
|
13965
14745
|
componentId: "sc-1wr6otn-0"
|
|
13966
14746
|
})(["width:fit-content;background:transparent;border:none;cursor:pointer;"]);
|
|
13967
14747
|
const DialogTrigger = ({
|
|
@@ -13979,7 +14759,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13979
14759
|
}) => /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { type, label, ...props }) });
|
|
13980
14760
|
DialogClose.displayName = "DialogClose";
|
|
13981
14761
|
Dialog.Close = DialogClose;
|
|
13982
|
-
const overlayShow =
|
|
14762
|
+
const overlayShow = styled.keyframes({
|
|
13983
14763
|
"0%": {
|
|
13984
14764
|
opacity: 0
|
|
13985
14765
|
},
|
|
@@ -13987,7 +14767,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13987
14767
|
opacity: 1
|
|
13988
14768
|
}
|
|
13989
14769
|
});
|
|
13990
|
-
const contentShow =
|
|
14770
|
+
const contentShow = styled.keyframes({
|
|
13991
14771
|
"0%": {
|
|
13992
14772
|
opacity: 0,
|
|
13993
14773
|
transform: "translate(-50%, -48%) scale(.96)"
|
|
@@ -13997,12 +14777,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13997
14777
|
transform: "translate(-50%, -50%) scale(1)"
|
|
13998
14778
|
}
|
|
13999
14779
|
});
|
|
14000
|
-
const DialogOverlay =
|
|
14780
|
+
const DialogOverlay = styled.styled($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff).withConfig({
|
|
14001
14781
|
componentId: "sc-1wr6otn-1"
|
|
14002
14782
|
})(["background-color:", ";position:fixed;inset:0;animation:", " 150ms cubic-bezier(0.16,1,0.3,1);"], ({
|
|
14003
14783
|
theme: theme2
|
|
14004
14784
|
}) => theme2.click.dialog.color.opaqueBackground.default, overlayShow);
|
|
14005
|
-
const ContentArea =
|
|
14785
|
+
const ContentArea = styled.styled($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2).withConfig({
|
|
14006
14786
|
componentId: "sc-1wr6otn-2"
|
|
14007
14787
|
})(["background:", ";border-radius:", ";padding:", " ", ";box-shadow:", ";border:1px solid ", ";width:75%;max-width:670px;position:fixed;top:50%;left:50%;max-height:75%;overflow:auto;transform:translate(-50%,-50%);animation:", " 150ms cubic-bezier(0.16,1,0.3,1);outline:none;"], ({
|
|
14008
14788
|
theme: theme2
|
|
@@ -14017,12 +14797,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14017
14797
|
}) => theme2.click.dialog.shadow.default, ({
|
|
14018
14798
|
theme: theme2
|
|
14019
14799
|
}) => theme2.click.global.color.stroke.default, contentShow);
|
|
14020
|
-
const TitleArea =
|
|
14800
|
+
const TitleArea = styled.styled.div.withConfig({
|
|
14021
14801
|
componentId: "sc-1wr6otn-3"
|
|
14022
14802
|
})(["display:flex;justify-content:space-between;align-items:center;min-height:", ";"], ({
|
|
14023
14803
|
theme: theme2
|
|
14024
14804
|
}) => theme2.sizes[9]);
|
|
14025
|
-
const Title$1 =
|
|
14805
|
+
const Title$1 = styled.styled.h2.withConfig({
|
|
14026
14806
|
componentId: "sc-1wr6otn-4"
|
|
14027
14807
|
})(["font:", ";padding:0;margin:0;"], ({
|
|
14028
14808
|
theme: theme2
|
|
@@ -14054,10 +14834,10 @@ var __publicField = (obj, key, value) => {
|
|
|
14054
14834
|
};
|
|
14055
14835
|
DialogContent$1.displayName = "DialogContent";
|
|
14056
14836
|
Dialog.Content = DialogContent$1;
|
|
14057
|
-
const ActionsWrapper =
|
|
14837
|
+
const ActionsWrapper = styled.styled.div.withConfig({
|
|
14058
14838
|
componentId: "sc-6eozxy-0"
|
|
14059
14839
|
})(["display:flex;justify-content:flex-end;gap:", ";"], (props) => props.theme.click.dialog.space.gap);
|
|
14060
|
-
const DialogContent =
|
|
14840
|
+
const DialogContent = styled.styled.div.withConfig({
|
|
14061
14841
|
componentId: "sc-6eozxy-1"
|
|
14062
14842
|
})(["overflow:hidden;display:flex;flex-direction:column;"]);
|
|
14063
14843
|
const ConfirmationDialog = ({
|
|
@@ -14107,7 +14887,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14107
14887
|
};
|
|
14108
14888
|
Trigger$3.displayName = "Flyout.Trigger";
|
|
14109
14889
|
Flyout.Trigger = Trigger$3;
|
|
14110
|
-
const animationWidth = () =>
|
|
14890
|
+
const animationWidth = () => styled.keyframes({
|
|
14111
14891
|
from: {
|
|
14112
14892
|
width: 0
|
|
14113
14893
|
},
|
|
@@ -14115,7 +14895,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14115
14895
|
width: "fit-content"
|
|
14116
14896
|
}
|
|
14117
14897
|
});
|
|
14118
|
-
const FlyoutContent =
|
|
14898
|
+
const FlyoutContent = styled.styled($5d3850c4d0b4e6c7$export$b6d9565de1e068cf).withConfig({
|
|
14119
14899
|
componentId: "sc-1vtv6sf-0"
|
|
14120
14900
|
})(["display:flex;flex-direction:column;align-items:center;overflow:hidden;top:0;bottom:0;width:fit-content;--flyout-width:", ";animation:", " 500ms cubic-bezier(0.16,1,0.3,1) forwards;", ""], ({
|
|
14121
14901
|
theme: theme2,
|
|
@@ -14151,7 +14931,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14151
14931
|
}
|
|
14152
14932
|
}
|
|
14153
14933
|
`);
|
|
14154
|
-
const FlyoutContainer =
|
|
14934
|
+
const FlyoutContainer = styled.styled.div.withConfig({
|
|
14155
14935
|
componentId: "sc-1vtv6sf-1"
|
|
14156
14936
|
})(["display:flex;gap:0;width:var(--flyout-width);max-width:100%;flex-flow:column nowrap;gap:inherit;"]);
|
|
14157
14937
|
const Content$1 = ({
|
|
@@ -14181,7 +14961,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14181
14961
|
};
|
|
14182
14962
|
Content$1.displayName = "Flyout.Content";
|
|
14183
14963
|
Flyout.Content = Content$1;
|
|
14184
|
-
const FlyoutElement =
|
|
14964
|
+
const FlyoutElement = styled.styled(Container).withConfig({
|
|
14185
14965
|
componentId: "sc-1vtv6sf-2"
|
|
14186
14966
|
})(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;", ""], ({
|
|
14187
14967
|
theme: theme2,
|
|
@@ -14196,7 +14976,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14196
14976
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutElement, { orientation: "vertical", padding: "none", gap: "none", $type: type, ...props });
|
|
14197
14977
|
Element$1.displayName = "Flyout.Element";
|
|
14198
14978
|
Flyout.Element = Element$1;
|
|
14199
|
-
const FlyoutHeaderContainer =
|
|
14979
|
+
const FlyoutHeaderContainer = styled.styled(Container).withConfig({
|
|
14200
14980
|
componentId: "sc-1vtv6sf-3"
|
|
14201
14981
|
})(["", ""], ({
|
|
14202
14982
|
theme: theme2,
|
|
@@ -14206,7 +14986,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14206
14986
|
column-gap: ${theme2.click.flyout.space[$type].content["column-gap"]};
|
|
14207
14987
|
padding: ${theme2.click.flyout.space[$type].y} ${theme2.click.flyout.space[$type].y} 0 ${theme2.click.flyout.space[$type].y} ;
|
|
14208
14988
|
`);
|
|
14209
|
-
const FlyoutTitle =
|
|
14989
|
+
const FlyoutTitle = styled.styled($5d3850c4d0b4e6c7$export$16f7638e4a34b909).withConfig({
|
|
14210
14990
|
componentId: "sc-1vtv6sf-4"
|
|
14211
14991
|
})(["", ""], ({
|
|
14212
14992
|
theme: theme2,
|
|
@@ -14217,7 +14997,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14217
14997
|
margin: 0;
|
|
14218
14998
|
padding: 0;
|
|
14219
14999
|
`);
|
|
14220
|
-
const FlyoutDescription =
|
|
15000
|
+
const FlyoutDescription = styled.styled($5d3850c4d0b4e6c7$export$94e94c2ec2c954d5).withConfig({
|
|
14221
15001
|
componentId: "sc-1vtv6sf-5"
|
|
14222
15002
|
})(["", ""], ({
|
|
14223
15003
|
theme: theme2,
|
|
@@ -14259,7 +15039,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14259
15039
|
};
|
|
14260
15040
|
Header$1.displayName = "Flyout.Header";
|
|
14261
15041
|
Flyout.Header = Header$1;
|
|
14262
|
-
const FlyoutBody =
|
|
15042
|
+
const FlyoutBody = styled.styled(Container).withConfig({
|
|
14263
15043
|
componentId: "sc-1vtv6sf-6"
|
|
14264
15044
|
})(["width:var(--flyout-width);max-width:100%;margin-top:", ";"], ({
|
|
14265
15045
|
$align = "default"
|
|
@@ -14270,7 +15050,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14270
15050
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutBody, { overflow: "auto", orientation: "vertical", grow: "1", $align: align, ...props });
|
|
14271
15051
|
Body.displayName = "Flyout.Body";
|
|
14272
15052
|
Flyout.Body = Body;
|
|
14273
|
-
const FlyoutFooter =
|
|
15053
|
+
const FlyoutFooter = styled.styled(Container).withConfig({
|
|
14274
15054
|
componentId: "sc-1vtv6sf-7"
|
|
14275
15055
|
})(["", ""], ({
|
|
14276
15056
|
theme: theme2,
|
|
@@ -14288,7 +15068,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14288
15068
|
};
|
|
14289
15069
|
FlyoutClose.displayName = "Flyout.Close";
|
|
14290
15070
|
Flyout.Close = FlyoutClose;
|
|
14291
|
-
const FooterContainer =
|
|
15071
|
+
const FooterContainer = styled.styled(Container).withConfig({
|
|
14292
15072
|
componentId: "sc-1vtv6sf-8"
|
|
14293
15073
|
})(["width:var(--flyout-width);max-width:100%;"]);
|
|
14294
15074
|
const Footer = (props) => {
|
|
@@ -14299,7 +15079,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14299
15079
|
};
|
|
14300
15080
|
Footer.displayName = "Flyout.Footer";
|
|
14301
15081
|
Flyout.Footer = Footer;
|
|
14302
|
-
const CustomCodeBlock =
|
|
15082
|
+
const CustomCodeBlock = styled.styled(CodeBlock).withConfig({
|
|
14303
15083
|
componentId: "sc-1vtv6sf-9"
|
|
14304
15084
|
})(["display:flex;height:100%;pre{flex:1;overflow-wrap:break-word;code{display:inline-block;max-width:calc(100% - 1rem);}}"]);
|
|
14305
15085
|
const FlyoutCodeBlock = ({
|
|
@@ -14361,9 +15141,9 @@ var __publicField = (obj, key, value) => {
|
|
|
14361
15141
|
overflow,
|
|
14362
15142
|
...props
|
|
14363
15143
|
}) => {
|
|
14364
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$
|
|
15144
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $alignItems: alignItems, $alignContent: alignContent, $columnGap: columnGap, $gap: gap, $gridAutoColumns: gridAutoColumns, $gridAutoFlow: gridAutoFlow, $gridAutoRows: gridAutoRows, $gridTemplateAreas: gridTemplateAreas, $gridTemplateColumns: gridTemplateColumns, $gridTemplateRows: gridTemplateRows, $gridTemplate: gridTemplate, $inline: inline, $isResponsive: isResponsive, $justifyContent: justifyContent, $justifyItems: justifyItems, $rowGap: rowGap, $height: height, $maxHeight: maxHeight, $minHeight: minHeight, $fillWidth: fillWidth, $maxWidth: maxWidth, $minWidth: minWidth, $overflow: overflow, "data-testid": "grid-container", ...props, children });
|
|
14365
15145
|
};
|
|
14366
|
-
const Wrapper$
|
|
15146
|
+
const Wrapper$3 = styled.styled.div.withConfig({
|
|
14367
15147
|
componentId: "sc-r57kdn-0"
|
|
14368
15148
|
})(["align-items:", ";align-content:", ";display:", ";", ";", ";", ";", ";", ";", ";", ";justify-content:", ";justify-items:", ";", " ", " ", " ", " @media (max-width:", "){grid-template-columns:", ";}"], ({
|
|
14369
15149
|
$alignItems = "stretch"
|
|
@@ -14425,7 +15205,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14425
15205
|
}) => $isResponsive === true ? "1fr" : ({
|
|
14426
15206
|
$gridTemplateColumns
|
|
14427
15207
|
}) => $gridTemplateColumns || "auto");
|
|
14428
|
-
const InlineContainer =
|
|
15208
|
+
const InlineContainer = styled.styled.span.withConfig({
|
|
14429
15209
|
componentId: "sc-ugg5k0-0"
|
|
14430
15210
|
})(["", ""], ({
|
|
14431
15211
|
theme: theme2
|
|
@@ -14666,7 +15446,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14666
15446
|
};
|
|
14667
15447
|
ContextMenuSubTrigger.displayName = "ContextMenuSubTrigger";
|
|
14668
15448
|
ContextMenu.SubTrigger = ContextMenuSubTrigger;
|
|
14669
|
-
const RightMenuContent =
|
|
15449
|
+
const RightMenuContent = styled.styled(GenericMenuPanel).withConfig({
|
|
14670
15450
|
componentId: "sc-8z6kye-0"
|
|
14671
15451
|
})(["flex-direction:column;z-index:1;", ";"], ({
|
|
14672
15452
|
$showArrow
|
|
@@ -14705,7 +15485,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14705
15485
|
};
|
|
14706
15486
|
ContextMenuContent.displayName = "ContextMenuContent";
|
|
14707
15487
|
ContextMenu.Content = ContextMenuContent;
|
|
14708
|
-
const RightMenuGroup =
|
|
15488
|
+
const RightMenuGroup = styled.styled($1b0217ee4a91d156$export$eb2fcfdbd7ba97d4).withConfig({
|
|
14709
15489
|
componentId: "sc-8z6kye-1"
|
|
14710
15490
|
})(["width:100%;border-bottom:1px solid ", ";"], ({
|
|
14711
15491
|
theme: theme2
|
|
@@ -14715,7 +15495,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14715
15495
|
};
|
|
14716
15496
|
ContextMenuGroup.displayName = "ContextMenuGroup";
|
|
14717
15497
|
ContextMenu.Group = ContextMenuGroup;
|
|
14718
|
-
const RightMenuSub =
|
|
15498
|
+
const RightMenuSub = styled.styled($1b0217ee4a91d156$export$d7a01e11500dfb6f).withConfig({
|
|
14719
15499
|
componentId: "sc-8z6kye-2"
|
|
14720
15500
|
})(["border-bottom:1px solid ", ";"], ({
|
|
14721
15501
|
theme: theme2
|
|
@@ -15823,7 +16603,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15823
16603
|
}, !bailoutOnChildren && children(childParams));
|
|
15824
16604
|
}
|
|
15825
16605
|
}
|
|
15826
|
-
const StyledCell =
|
|
16606
|
+
const StyledCell = styled.styled.div.withConfig({
|
|
15827
16607
|
componentId: "sc-30izhw-0"
|
|
15828
16608
|
})(['display:block;text-align:left;&[data-align="right"]{text-align:right;}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:100%;box-sizing:border-box;', " ", ";"], ({
|
|
15829
16609
|
theme: theme2,
|
|
@@ -15878,7 +16658,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15878
16658
|
${$selectionType === "selectDirect" && $isLastColumn ? `border-right: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
|
|
15879
16659
|
}
|
|
15880
16660
|
` : "");
|
|
15881
|
-
const RowNumberColumnContainer =
|
|
16661
|
+
const RowNumberColumnContainer = styled.styled.div.withConfig({
|
|
15882
16662
|
componentId: "sc-7gbi4d-0"
|
|
15883
16663
|
})(["position:sticky;left:0;", " ", ""], ({
|
|
15884
16664
|
$height,
|
|
@@ -15891,7 +16671,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15891
16671
|
$scrolledHorizontal,
|
|
15892
16672
|
theme: theme2
|
|
15893
16673
|
}) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
15894
|
-
const RowNumberCell =
|
|
16674
|
+
const RowNumberCell = styled.styled.div.withConfig({
|
|
15895
16675
|
componentId: "sc-7gbi4d-1"
|
|
15896
16676
|
})(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;", ""], ({
|
|
15897
16677
|
$height,
|
|
@@ -16150,7 +16930,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16150
16930
|
}
|
|
16151
16931
|
var throttle_1 = throttle$1;
|
|
16152
16932
|
const throttle$2 = /* @__PURE__ */ getDefaultExportFromCjs(throttle_1);
|
|
16153
|
-
const ResizeSpan =
|
|
16933
|
+
const ResizeSpan = styled.styled.div.withConfig({
|
|
16154
16934
|
componentId: "sc-1r6e5v3-0"
|
|
16155
16935
|
})(["top:0;left:calc(100% - 4px);z-index:1;position:absolute;height:", "px;cursor:col-resize;width:4px;overflow:auto;&:hover,&:active,&:hover{background:", ";}", ""], ({
|
|
16156
16936
|
$height
|
|
@@ -16228,7 +17008,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16228
17008
|
}
|
|
16229
17009
|
}, onMouseMove, onMouseDown, onClick: (e) => e.stopPropagation(), onMouseUp, "data-resize": true });
|
|
16230
17010
|
};
|
|
16231
|
-
const HeaderContainer =
|
|
17011
|
+
const HeaderContainer = styled.styled.div.withConfig({
|
|
16232
17012
|
componentId: "sc-1oadqc8-0"
|
|
16233
17013
|
})(["position:sticky;top:0;left:0;display:flex;flex-direction:row;height:", "px;", ""], ({
|
|
16234
17014
|
$height
|
|
@@ -16236,12 +17016,12 @@ var __publicField = (obj, key, value) => {
|
|
|
16236
17016
|
$scrolledVertical,
|
|
16237
17017
|
theme: theme2
|
|
16238
17018
|
}) => $scrolledVertical ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
16239
|
-
const ScrollableHeaderContainer =
|
|
17019
|
+
const ScrollableHeaderContainer = styled.styled.div.withConfig({
|
|
16240
17020
|
componentId: "sc-1oadqc8-1"
|
|
16241
17021
|
})(["position:relative;left:", "px;"], ({
|
|
16242
17022
|
$left
|
|
16243
17023
|
}) => $left);
|
|
16244
|
-
const HeaderCellContainer =
|
|
17024
|
+
const HeaderCellContainer = styled.styled.div.withConfig({
|
|
16245
17025
|
componentId: "sc-1oadqc8-2"
|
|
16246
17026
|
})(["position:absolute;display:flex;width:", ";height:", "px;left:", "px;&:hover [data-resize]{background:", ";}"], ({
|
|
16247
17027
|
$width
|
|
@@ -16252,7 +17032,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16252
17032
|
}) => $columnPosition, ({
|
|
16253
17033
|
theme: theme2
|
|
16254
17034
|
}) => theme2.click.grid.header.cell.color.stroke.selectDirect);
|
|
16255
|
-
const RowColumnContainer =
|
|
17035
|
+
const RowColumnContainer = styled.styled(HeaderCellContainer).withConfig({
|
|
16256
17036
|
componentId: "sc-1oadqc8-3"
|
|
16257
17037
|
})(["position:sticky;top:0;left:0;width:", ";text-align:right;", ""], ({
|
|
16258
17038
|
$width
|
|
@@ -16260,7 +17040,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16260
17040
|
$scrolledHorizontal,
|
|
16261
17041
|
theme: theme2
|
|
16262
17042
|
}) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
16263
|
-
const RowColumn =
|
|
17043
|
+
const RowColumn = styled.styled(StyledCell).withConfig({
|
|
16264
17044
|
componentId: "sc-1oadqc8-4"
|
|
16265
17045
|
})(["width:100%;text-align:right;"]);
|
|
16266
17046
|
const Column = ({
|
|
@@ -30838,7 +31618,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30838
31618
|
const NO_BUTTONS_PRESSED = 0;
|
|
30839
31619
|
const LEFT_BUTTON_PRESSED = 1;
|
|
30840
31620
|
const RIGHT_BUTTON_PRESSED = 2;
|
|
30841
|
-
const GridContainer =
|
|
31621
|
+
const GridContainer = styled.styled.div.withConfig({
|
|
30842
31622
|
componentId: "sc-175eneg-0"
|
|
30843
31623
|
})(["display:flex;flex-direction:column-reverse;user-select:none;overflow-anchor:none;"]);
|
|
30844
31624
|
const getRenderedCursor = (children) => children.reduce(([minRow, maxRow, minColumn, maxColumn], {
|
|
@@ -30861,7 +31641,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30861
31641
|
}
|
|
30862
31642
|
return [minRow, maxRow, minColumn, maxColumn];
|
|
30863
31643
|
}, [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]);
|
|
30864
|
-
const GridDataContainer =
|
|
31644
|
+
const GridDataContainer = styled.styled.div.withConfig({
|
|
30865
31645
|
componentId: "sc-175eneg-1"
|
|
30866
31646
|
})(["position:absolute;top:0;left:0;", ""], ({
|
|
30867
31647
|
$top,
|
|
@@ -30870,7 +31650,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30870
31650
|
margin-top: ${$top}px;
|
|
30871
31651
|
margin-left: ${$left}px;
|
|
30872
31652
|
`);
|
|
30873
|
-
const ContextMenuTrigger =
|
|
31653
|
+
const ContextMenuTrigger = styled.styled.div.withConfig({
|
|
30874
31654
|
componentId: "sc-175eneg-2"
|
|
30875
31655
|
})(["outline:none;overflow:hidden;height:", ";width:100%;background:", ";border-radius:", ";", ";"], ({
|
|
30876
31656
|
$height
|
|
@@ -31617,7 +32397,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31617
32397
|
}) => {
|
|
31618
32398
|
return /* @__PURE__ */ jsxRuntime.jsx($cef8881cdc69808e$export$be92b6f5f03c0fe9, { ...props, children });
|
|
31619
32399
|
};
|
|
31620
|
-
const Trigger$2 =
|
|
32400
|
+
const Trigger$2 = styled.styled($cef8881cdc69808e$export$41fb9f06171c75f4).withConfig({
|
|
31621
32401
|
componentId: "sc-1ect7b6-0"
|
|
31622
32402
|
})(["width:fit-content;"]);
|
|
31623
32403
|
const HoverCardTrigger = ({
|
|
@@ -31642,7 +32422,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31642
32422
|
};
|
|
31643
32423
|
HoverCardContent.displayName = "HoverCardContent";
|
|
31644
32424
|
HoverCard.Content = HoverCardContent;
|
|
31645
|
-
const CuiLink =
|
|
32425
|
+
const CuiLink = styled.styled.a.withConfig({
|
|
31646
32426
|
componentId: "sc-1bwz77u-0"
|
|
31647
32427
|
})(["font:", ";color:", ";margin:0;text-decoration:none;display:inline-flex;gap:", ";margin-right:", ";align-items:center;&:hover,&:focus{color:", ";transition:", ";text-decoration:underline;cursor:pointer;}&:visited{color:", ";}"], ({
|
|
31648
32428
|
$size,
|
|
@@ -31663,7 +32443,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31663
32443
|
}) => theme2.transition.default, ({
|
|
31664
32444
|
theme: theme2
|
|
31665
32445
|
}) => theme2.click.global.color.text.link.default);
|
|
31666
|
-
const IconWrapper$1 =
|
|
32446
|
+
const IconWrapper$1 = styled.styled.span.withConfig({
|
|
31667
32447
|
componentId: "sc-1bwz77u-1"
|
|
31668
32448
|
})([".external-icon{height:", ";width:", ";}"], ({
|
|
31669
32449
|
$size,
|
|
@@ -31685,188 +32465,6 @@ var __publicField = (obj, key, value) => {
|
|
|
31685
32465
|
icon && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$1, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, className: "external-icon", "data-testid": icon }) })
|
|
31686
32466
|
] });
|
|
31687
32467
|
const Link = React.forwardRef(_Link);
|
|
31688
|
-
const Wrapper$3 = styledComponents.styled.div.withConfig({
|
|
31689
|
-
componentId: "sc-1pvd2nj-0"
|
|
31690
|
-
})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
|
|
31691
|
-
theme: theme2,
|
|
31692
|
-
$error,
|
|
31693
|
-
$resize
|
|
31694
|
-
}) => `
|
|
31695
|
-
gap: ${theme2.click.field.space.gap};
|
|
31696
|
-
border-radius: ${theme2.click.field.radii.all};
|
|
31697
|
-
font: ${theme2.click.field.typography.fieldText.default};
|
|
31698
|
-
color: ${theme2.click.field.color.text.default};
|
|
31699
|
-
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
31700
|
-
background: ${theme2.click.field.color.background.default};
|
|
31701
|
-
|
|
31702
|
-
*:autofill,
|
|
31703
|
-
*:-webkit-autofill {
|
|
31704
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
31705
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
31706
|
-
caret-color: ${theme2.click.field.color.text.default};
|
|
31707
|
-
}
|
|
31708
|
-
|
|
31709
|
-
&:hover {
|
|
31710
|
-
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
31711
|
-
background: ${theme2.click.field.color.background.hover};
|
|
31712
|
-
color: ${theme2.click.field.color.text.hover};
|
|
31713
|
-
|
|
31714
|
-
*:autofill,
|
|
31715
|
-
*:-webkit-autofill {
|
|
31716
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
31717
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
31718
|
-
caret-color: ${theme2.click.field.color.text.hover};
|
|
31719
|
-
}
|
|
31720
|
-
}
|
|
31721
|
-
${$resize === "none" ? "" : `
|
|
31722
|
-
resize: ${$resize};
|
|
31723
|
-
overflow: auto;
|
|
31724
|
-
`}
|
|
31725
|
-
padding: 0 ${theme2.click.field.space.x};
|
|
31726
|
-
${$error ? `
|
|
31727
|
-
font: ${theme2.click.field.typography.fieldText.error};
|
|
31728
|
-
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
31729
|
-
background: ${theme2.click.field.color.background.active};
|
|
31730
|
-
color: ${theme2.click.field.color.text.error};
|
|
31731
|
-
|
|
31732
|
-
*:autofill,
|
|
31733
|
-
*:-webkit-autofill {
|
|
31734
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
31735
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
31736
|
-
caret-color: ${theme2.click.field.color.text.error};
|
|
31737
|
-
}
|
|
31738
|
-
|
|
31739
|
-
&:hover {
|
|
31740
|
-
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
31741
|
-
color: ${theme2.click.field.color.text.error};
|
|
31742
|
-
*:autofill,
|
|
31743
|
-
*:-webkit-autofill {
|
|
31744
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
31745
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
31746
|
-
caret-color: ${theme2.click.field.color.text.error};
|
|
31747
|
-
}
|
|
31748
|
-
}
|
|
31749
|
-
` : `
|
|
31750
|
-
&:focus-within,
|
|
31751
|
-
&[data-state="open"] {
|
|
31752
|
-
font: ${theme2.click.field.typography.fieldText.active};
|
|
31753
|
-
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
31754
|
-
background: ${theme2.click.field.color.background.active};
|
|
31755
|
-
color: ${theme2.click.field.color.text.active};
|
|
31756
|
-
|
|
31757
|
-
*:autofill,
|
|
31758
|
-
*:-webkit-autofill {
|
|
31759
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
31760
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
31761
|
-
caret-color: ${theme2.click.field.color.text.active};
|
|
31762
|
-
}
|
|
31763
|
-
}
|
|
31764
|
-
`};
|
|
31765
|
-
&:disabled, &.disabled {
|
|
31766
|
-
font: ${theme2.click.field.typography.fieldText.disabled};
|
|
31767
|
-
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
31768
|
-
background: ${theme2.click.field.color.background.disabled};
|
|
31769
|
-
color: ${theme2.click.field.color.text.disabled};
|
|
31770
|
-
|
|
31771
|
-
*:autofill,
|
|
31772
|
-
*:-webkit-autofill {
|
|
31773
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
31774
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
31775
|
-
caret-color: ${theme2.click.field.color.text.disabled};
|
|
31776
|
-
}
|
|
31777
|
-
}
|
|
31778
|
-
`);
|
|
31779
|
-
const StyledLabel = styledComponents.styled(Label$1).withConfig({
|
|
31780
|
-
componentId: "sc-1pvd2nj-1"
|
|
31781
|
-
})(["", ""], ({
|
|
31782
|
-
$labelColor
|
|
31783
|
-
}) => `
|
|
31784
|
-
${$labelColor ? `color: ${$labelColor};` : ""}
|
|
31785
|
-
`);
|
|
31786
|
-
const InputWrapper = ({
|
|
31787
|
-
id,
|
|
31788
|
-
label = "",
|
|
31789
|
-
labelColor,
|
|
31790
|
-
error: error2,
|
|
31791
|
-
disabled,
|
|
31792
|
-
children,
|
|
31793
|
-
orientation,
|
|
31794
|
-
dir,
|
|
31795
|
-
resize = "none"
|
|
31796
|
-
}) => {
|
|
31797
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
|
|
31798
|
-
/* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
|
|
31799
|
-
/* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? "disabled" : "", children }),
|
|
31800
|
-
!!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
|
|
31801
|
-
] }),
|
|
31802
|
-
label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
|
|
31803
|
-
] });
|
|
31804
|
-
};
|
|
31805
|
-
const InputElement = styledComponents.styled.input.withConfig({
|
|
31806
|
-
componentId: "sc-1pvd2nj-2"
|
|
31807
|
-
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
|
|
31808
|
-
theme: theme2
|
|
31809
|
-
}) => `
|
|
31810
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31811
|
-
&::placeholder {
|
|
31812
|
-
color: ${theme2.click.field.color.placeholder.default};
|
|
31813
|
-
}
|
|
31814
|
-
|
|
31815
|
-
&:disabled, &.disabled {
|
|
31816
|
-
&::placeholder {
|
|
31817
|
-
color: ${theme2.click.field.color.placeholder.disabled};
|
|
31818
|
-
}
|
|
31819
|
-
`);
|
|
31820
|
-
const NumberInputElement = styledComponents.styled(InputElement).withConfig({
|
|
31821
|
-
componentId: "sc-1pvd2nj-3"
|
|
31822
|
-
})(["", ""], ({
|
|
31823
|
-
$hideControls
|
|
31824
|
-
}) => `
|
|
31825
|
-
${$hideControls ? `
|
|
31826
|
-
&::-webkit-outer-spin-button,
|
|
31827
|
-
&::-webkit-inner-spin-button {
|
|
31828
|
-
-webkit-appearance: none;
|
|
31829
|
-
margin: 0;
|
|
31830
|
-
}
|
|
31831
|
-
|
|
31832
|
-
-moz-appearance: textfield;
|
|
31833
|
-
` : ""}
|
|
31834
|
-
`);
|
|
31835
|
-
const TextAreaElement = styledComponents.styled.textarea.withConfig({
|
|
31836
|
-
componentId: "sc-1pvd2nj-4"
|
|
31837
|
-
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
|
|
31838
|
-
theme: theme2
|
|
31839
|
-
}) => `
|
|
31840
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31841
|
-
align-self: stretch;
|
|
31842
|
-
&::placeholder {
|
|
31843
|
-
color: ${theme2.click.field.color.placeholder.default};
|
|
31844
|
-
}
|
|
31845
|
-
`);
|
|
31846
|
-
styledComponents.styled(InputWrapper).withConfig({
|
|
31847
|
-
componentId: "sc-1pvd2nj-5"
|
|
31848
|
-
})(["resize:vertical;overflow:auto;color:red;"]);
|
|
31849
|
-
const IconButton = styledComponents.styled.button.withConfig({
|
|
31850
|
-
componentId: "sc-1pvd2nj-6"
|
|
31851
|
-
})(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
|
|
31852
|
-
theme: theme2,
|
|
31853
|
-
$show
|
|
31854
|
-
}) => `
|
|
31855
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31856
|
-
visibility: ${$show ? "visible" : "hidden"};
|
|
31857
|
-
`);
|
|
31858
|
-
styledComponents.styled.svg.withConfig({
|
|
31859
|
-
componentId: "sc-1pvd2nj-7"
|
|
31860
|
-
})(["", ""], ({
|
|
31861
|
-
theme: theme2
|
|
31862
|
-
}) => `
|
|
31863
|
-
&:first-of-type {
|
|
31864
|
-
padding-left: ${theme2.click.field.space.gap};
|
|
31865
|
-
}
|
|
31866
|
-
&:last-of-type {
|
|
31867
|
-
padding-right: ${theme2.click.field.space.x};
|
|
31868
|
-
}
|
|
31869
|
-
`);
|
|
31870
32468
|
const NumberField = React.forwardRef(({
|
|
31871
32469
|
disabled,
|
|
31872
32470
|
label,
|
|
@@ -31918,7 +32516,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31918
32516
|
}) => {
|
|
31919
32517
|
return /* @__PURE__ */ jsxRuntime.jsx($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, { ...props, children });
|
|
31920
32518
|
};
|
|
31921
|
-
const Trigger$1 =
|
|
32519
|
+
const Trigger$1 = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
31922
32520
|
componentId: "sc-1dii14g-0"
|
|
31923
32521
|
})(["width:fit-content;font:inherit;color:inherit;background:inherit;border:none;"]);
|
|
31924
32522
|
const PopoverTrigger = ({
|
|
@@ -31933,7 +32531,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31933
32531
|
};
|
|
31934
32532
|
PopoverTrigger.displayName = "PopoverTrigger";
|
|
31935
32533
|
Popover.Trigger = PopoverTrigger;
|
|
31936
|
-
const MenuPanel =
|
|
32534
|
+
const MenuPanel = styled.styled(GenericMenuPanel).withConfig({
|
|
31937
32535
|
componentId: "sc-1dii14g-1"
|
|
31938
32536
|
})(["display:block;padding:", " ", ";background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";", ";"], ({
|
|
31939
32537
|
theme: theme2
|
|
@@ -31950,7 +32548,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31950
32548
|
}) => theme2.click.popover.shadow.default, ({
|
|
31951
32549
|
$showClose
|
|
31952
32550
|
}) => $showClose ? "padding-top: 1rem;" : "");
|
|
31953
|
-
const CloseButton =
|
|
32551
|
+
const CloseButton = styled.styled(EmptyButton$1).withConfig({
|
|
31954
32552
|
componentId: "sc-1dii14g-2"
|
|
31955
32553
|
})(["position:absolute;top:", ";right:", ";width:", ";height:", ";"], ({
|
|
31956
32554
|
theme: theme2
|
|
@@ -31977,7 +32575,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31977
32575
|
};
|
|
31978
32576
|
PopoverContent.displayName = "PopoverContent";
|
|
31979
32577
|
Popover.Content = PopoverContent;
|
|
31980
|
-
const CustomSelect =
|
|
32578
|
+
const CustomSelect = styled.styled.div.withConfig({
|
|
31981
32579
|
componentId: "sc-dicnqe-0"
|
|
31982
32580
|
})(["width:150px;"]);
|
|
31983
32581
|
const Pagination = ({
|
|
@@ -32091,7 +32689,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32091
32689
|
alignItems = "center",
|
|
32092
32690
|
...props
|
|
32093
32691
|
}) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$2, { $hasBorder: hasBorder, $hasShadow: hasShadow, $color: color, $padding: padding, $gap: gap, $width: width, $radii: radii, $orientation: orientation, $fillWidth: fillWidth, $height: height, $fillHeight: fillHeight, $alignItems: alignItems, ...props, children });
|
|
32094
|
-
const Wrapper$2 =
|
|
32692
|
+
const Wrapper$2 = styled.styled.div.withConfig({
|
|
32095
32693
|
componentId: "sc-1q78udp-0"
|
|
32096
32694
|
})(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:", ";"], ({
|
|
32097
32695
|
$orientation = "horizontal"
|
|
@@ -32122,7 +32720,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32122
32720
|
$gap = "sm",
|
|
32123
32721
|
theme: theme2
|
|
32124
32722
|
}) => theme2.click.panel.space.gap[$gap]);
|
|
32125
|
-
const ProgressContainer =
|
|
32723
|
+
const ProgressContainer = styled.styled.div.withConfig({
|
|
32126
32724
|
componentId: "sc-16gr3cg-0"
|
|
32127
32725
|
})(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;", ";"], ({
|
|
32128
32726
|
theme: theme2,
|
|
@@ -32153,10 +32751,10 @@ var __publicField = (obj, key, value) => {
|
|
|
32153
32751
|
background-position: center;
|
|
32154
32752
|
}
|
|
32155
32753
|
`);
|
|
32156
|
-
const ProgressText =
|
|
32754
|
+
const ProgressText = styled.styled.span.withConfig({
|
|
32157
32755
|
componentId: "sc-16gr3cg-1"
|
|
32158
32756
|
})(["width:100%;font:inherit;mix-blend-mode:difference;"]);
|
|
32159
|
-
const ProgressCloseButton =
|
|
32757
|
+
const ProgressCloseButton = styled.styled.button.withConfig({
|
|
32160
32758
|
componentId: "sc-16gr3cg-2"
|
|
32161
32759
|
})(["mix-blend-mode:difference;border:0;visibility:", ";"], ({
|
|
32162
32760
|
$dismissable
|
|
@@ -32382,7 +32980,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32382
32980
|
const $f99a8c78507165f7$export$be92b6f5f03c0fe9 = $f99a8c78507165f7$export$a98f0dcb43a68a25;
|
|
32383
32981
|
const $f99a8c78507165f7$export$6d08773d2e66f8f2 = $f99a8c78507165f7$export$9f866c100ef519e4;
|
|
32384
32982
|
const $f99a8c78507165f7$export$adb584737d712b70 = $f99a8c78507165f7$export$5fb54c671a65c88;
|
|
32385
|
-
const RadioGroupRoot =
|
|
32983
|
+
const RadioGroupRoot = styled.styled($f99a8c78507165f7$export$be92b6f5f03c0fe9).withConfig({
|
|
32386
32984
|
componentId: "sc-p6cydr-0"
|
|
32387
32985
|
})(["display:flex;flex-wrap:wrap;gap:", ";flex-direction:", ";label{", "}"], ({
|
|
32388
32986
|
theme: theme2
|
|
@@ -32428,14 +33026,14 @@ var __publicField = (obj, key, value) => {
|
|
|
32428
33026
|
};
|
|
32429
33027
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
32430
33028
|
RadioGroup.Item = RadioGroupItem;
|
|
32431
|
-
const Wrapper$1 =
|
|
33029
|
+
const Wrapper$1 = styled.styled(FormRoot).withConfig({
|
|
32432
33030
|
componentId: "sc-p6cydr-1"
|
|
32433
33031
|
})(["padding:", ";display:flex;align-items:center;gap:", ";width:auto;"], ({
|
|
32434
33032
|
theme: theme2
|
|
32435
33033
|
}) => theme2.click.checkbox.space.all, ({
|
|
32436
33034
|
theme: theme2
|
|
32437
33035
|
}) => theme2.click.checkbox.space.gap);
|
|
32438
|
-
const RadioInput =
|
|
33036
|
+
const RadioInput = styled.styled($f99a8c78507165f7$export$6d08773d2e66f8f2).withConfig({
|
|
32439
33037
|
componentId: "sc-p6cydr-2"
|
|
32440
33038
|
})(["display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;", ";"], ({
|
|
32441
33039
|
theme: theme2
|
|
@@ -32458,7 +33056,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32458
33056
|
border-color: ${theme2.click.radio.color.stroke.disabled};
|
|
32459
33057
|
}
|
|
32460
33058
|
`);
|
|
32461
|
-
const RadioGroupIndicator =
|
|
33059
|
+
const RadioGroupIndicator = styled.styled($f99a8c78507165f7$export$adb584737d712b70).withConfig({
|
|
32462
33060
|
componentId: "sc-p6cydr-3"
|
|
32463
33061
|
})(["", ""], ({
|
|
32464
33062
|
theme: theme2
|
|
@@ -32520,13 +33118,13 @@ var __publicField = (obj, key, value) => {
|
|
|
32520
33118
|
loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
|
|
32521
33119
|
] });
|
|
32522
33120
|
});
|
|
32523
|
-
const SelectPopoverRoot =
|
|
33121
|
+
const SelectPopoverRoot = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
|
|
32524
33122
|
componentId: "sc-oudbwg-0"
|
|
32525
33123
|
})(["width:100%;"]);
|
|
32526
|
-
const SelectValue =
|
|
33124
|
+
const SelectValue = styled.styled.div.withConfig({
|
|
32527
33125
|
componentId: "sc-oudbwg-1"
|
|
32528
33126
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
32529
|
-
const StyledSelectTrigger =
|
|
33127
|
+
const StyledSelectTrigger = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
32530
33128
|
componentId: "sc-oudbwg-2"
|
|
32531
33129
|
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
32532
33130
|
theme: theme2,
|
|
@@ -32574,7 +33172,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32574
33172
|
cursor: not-allowed;
|
|
32575
33173
|
}
|
|
32576
33174
|
`);
|
|
32577
|
-
const SelectPopoverContent =
|
|
33175
|
+
const SelectPopoverContent = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
|
|
32578
33176
|
componentId: "sc-oudbwg-3"
|
|
32579
33177
|
})(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " ", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
|
|
32580
33178
|
$useFullWidthItems,
|
|
@@ -32594,7 +33192,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32594
33192
|
0px 1px 2px 0px rgba(16, 24, 40, 0.06);
|
|
32595
33193
|
border-radius: 0.25rem;
|
|
32596
33194
|
`);
|
|
32597
|
-
const SearchBarContainer =
|
|
33195
|
+
const SearchBarContainer = styled.styled.div.withConfig({
|
|
32598
33196
|
componentId: "sc-oudbwg-4"
|
|
32599
33197
|
})(["width:auto;position:relative;display:flex;justify-content:flex-start;align-items:center;", ""], ({
|
|
32600
33198
|
theme: theme2,
|
|
@@ -32605,7 +33203,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32605
33203
|
font: ${theme2.click.genericMenu.autocomplete.typography.search.term.default};
|
|
32606
33204
|
height: ${$showSearch ? "auto" : " 0"};
|
|
32607
33205
|
`);
|
|
32608
|
-
const SearchBar =
|
|
33206
|
+
const SearchBar = styled.styled.input.withConfig({
|
|
32609
33207
|
componentId: "sc-oudbwg-5"
|
|
32610
33208
|
})(["background:transparent;border:none;width:100%;outline:none;", ""], ({
|
|
32611
33209
|
theme: theme2,
|
|
@@ -32624,7 +33222,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32624
33222
|
font: ${theme2.click.genericMenu.autocomplete.typography.search.placeholder.default};
|
|
32625
33223
|
}
|
|
32626
33224
|
`);
|
|
32627
|
-
const SearchClose =
|
|
33225
|
+
const SearchClose = styled.styled.button.withConfig({
|
|
32628
33226
|
componentId: "sc-oudbwg-6"
|
|
32629
33227
|
})(["position:absolute;", " visibility:", ";"], ({
|
|
32630
33228
|
theme: theme2
|
|
@@ -32634,16 +33232,16 @@ var __publicField = (obj, key, value) => {
|
|
|
32634
33232
|
`, ({
|
|
32635
33233
|
$showClose
|
|
32636
33234
|
}) => $showClose ? "visible" : "hidden");
|
|
32637
|
-
const SelectList =
|
|
33235
|
+
const SelectList = styled.styled.div.withConfig({
|
|
32638
33236
|
componentId: "sc-oudbwg-7"
|
|
32639
33237
|
})(["display:flex;flex-direction:column;width:inherit;max-height:calc(var(--radix-popover-content-available-height) - 1rem);"]);
|
|
32640
|
-
const SelectListContent =
|
|
33238
|
+
const SelectListContent = styled.styled.div.withConfig({
|
|
32641
33239
|
componentId: "sc-oudbwg-8"
|
|
32642
33240
|
})(["width:inherit;overflow:auto;flex:1;"]);
|
|
32643
|
-
const HiddenSelectElement =
|
|
33241
|
+
const HiddenSelectElement = styled.styled.select.withConfig({
|
|
32644
33242
|
componentId: "sc-oudbwg-9"
|
|
32645
33243
|
})(["visibility:hidden;position:absolute;z-index:-1;height:0;"]);
|
|
32646
|
-
const SelectGroupContainer =
|
|
33244
|
+
const SelectGroupContainer = styled.styled.div.withConfig({
|
|
32647
33245
|
componentId: "sc-oudbwg-10"
|
|
32648
33246
|
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
|
|
32649
33247
|
theme: theme2
|
|
@@ -32651,7 +33249,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32651
33249
|
font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
|
|
32652
33250
|
color: ${theme2.click.genericMenu.item.color.text.muted};
|
|
32653
33251
|
`);
|
|
32654
|
-
const SelectGroupName =
|
|
33252
|
+
const SelectGroupName = styled.styled.div.withConfig({
|
|
32655
33253
|
componentId: "sc-oudbwg-11"
|
|
32656
33254
|
})(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
|
|
32657
33255
|
theme: theme2
|
|
@@ -32662,10 +33260,10 @@ var __publicField = (obj, key, value) => {
|
|
|
32662
33260
|
gap: ${theme2.click.genericMenu.item.space.gap};
|
|
32663
33261
|
border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
|
|
32664
33262
|
`);
|
|
32665
|
-
const SelectGroupContent =
|
|
33263
|
+
const SelectGroupContent = styled.styled.div.withConfig({
|
|
32666
33264
|
componentId: "sc-oudbwg-12"
|
|
32667
33265
|
})(["width:inherit;"]);
|
|
32668
|
-
const SelectNoDataContainer =
|
|
33266
|
+
const SelectNoDataContainer = styled.styled.div.withConfig({
|
|
32669
33267
|
componentId: "sc-oudbwg-13"
|
|
32670
33268
|
})(['border:none;display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;&[hidden="true"]{display:none;}', ""], ({
|
|
32671
33269
|
theme: theme2,
|
|
@@ -35974,10 +36572,10 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
35974
36572
|
$parcel$exportWildcard(module2.exports, $faefaad95e5fcca0$exports);
|
|
35975
36573
|
})(dist);
|
|
35976
36574
|
var distExports = dist.exports;
|
|
35977
|
-
const BadgeList =
|
|
36575
|
+
const BadgeList = styled.styled.div.withConfig({
|
|
35978
36576
|
componentId: "sc-1ryyiol-0"
|
|
35979
36577
|
})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:inherit;font:inherit;color:inherit;"]);
|
|
35980
|
-
const MultiSelectBadge =
|
|
36578
|
+
const MultiSelectBadge = styled.styled.div.withConfig({
|
|
35981
36579
|
componentId: "sc-1ryyiol-1"
|
|
35982
36580
|
})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;max-width:fit-content;"]);
|
|
35983
36581
|
const MultiSelectValue = ({
|
|
@@ -36037,7 +36635,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36037
36635
|
return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectBadge, { as: Badge, size: "sm", state: disabled ? "disabled" : "default", ...otherProps }, `multi-select-${id}-${value}`);
|
|
36038
36636
|
}) });
|
|
36039
36637
|
};
|
|
36040
|
-
const SelectValueContainer =
|
|
36638
|
+
const SelectValueContainer = styled.styled.div.withConfig({
|
|
36041
36639
|
componentId: "sc-1bceuv1-0"
|
|
36042
36640
|
})(["display:flex;width:100%;align-items:center;cursor:inherit;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:inherit;"]);
|
|
36043
36641
|
const SingleSelectValue = ({
|
|
@@ -36357,7 +36955,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36357
36955
|
] });
|
|
36358
36956
|
});
|
|
36359
36957
|
SelectGroup.displayName = "Select.Group";
|
|
36360
|
-
const CheckIcon$1 =
|
|
36958
|
+
const CheckIcon$1 = styled.styled.svg.withConfig({
|
|
36361
36959
|
componentId: "sc-howzwz-0"
|
|
36362
36960
|
})(["opacity:", ";"], ({
|
|
36363
36961
|
$showCheck
|
|
@@ -36653,7 +37251,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36653
37251
|
return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
|
|
36654
37252
|
}
|
|
36655
37253
|
const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
|
|
36656
|
-
const CUISeparator =
|
|
37254
|
+
const CUISeparator = styled.styled($89eedd556c436f6a$export$be92b6f5f03c0fe9).withConfig({
|
|
36657
37255
|
componentId: "sc-ladr1y-0"
|
|
36658
37256
|
})(["", ""], ({
|
|
36659
37257
|
theme: theme2,
|
|
@@ -36674,12 +37272,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36674
37272
|
orientation = "horizontal",
|
|
36675
37273
|
...props
|
|
36676
37274
|
}) => /* @__PURE__ */ jsxRuntime.jsx(CUISeparator, { orientation, ...props });
|
|
36677
|
-
const LabelContainer =
|
|
37275
|
+
const LabelContainer = styled.styled.span.withConfig({
|
|
36678
37276
|
componentId: "sc-1cu1l45-0"
|
|
36679
37277
|
})(["display:flex;align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;flex:1;gap:", ";overflow:hidden;"], ({
|
|
36680
37278
|
theme: theme2
|
|
36681
37279
|
}) => theme2.click.sidebar.navigation.item.default.space.gap);
|
|
36682
|
-
const EllipsisContainer =
|
|
37280
|
+
const EllipsisContainer = styled.styled.span.withConfig({
|
|
36683
37281
|
componentId: "sc-1cu1l45-1"
|
|
36684
37282
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-start;gap:inherit;flex:1;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
36685
37283
|
const IconWrapper = ({
|
|
@@ -36705,7 +37303,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36705
37303
|
}, ref) => {
|
|
36706
37304
|
return /* @__PURE__ */ jsxRuntime.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, "aria-disabled": disabled, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
|
|
36707
37305
|
});
|
|
36708
|
-
const SidebarItemWrapper =
|
|
37306
|
+
const SidebarItemWrapper = styled.styled.div.withConfig({
|
|
36709
37307
|
componentId: "sc-1rz759l-0"
|
|
36710
37308
|
})(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ""], ({
|
|
36711
37309
|
theme: theme2,
|
|
@@ -36777,7 +37375,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36777
37375
|
open: false,
|
|
36778
37376
|
onOpenChange: () => null
|
|
36779
37377
|
});
|
|
36780
|
-
const CollapsibleContainer =
|
|
37378
|
+
const CollapsibleContainer = styled.styled.div.withConfig({
|
|
36781
37379
|
componentId: "sc-guwmyz-0"
|
|
36782
37380
|
})(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}[data-collapsible-header]:hover [data-trigger-icon]{visibility:visible;}']);
|
|
36783
37381
|
const Collapsible = ({
|
|
@@ -36804,7 +37402,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36804
37402
|
};
|
|
36805
37403
|
return /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContainer, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(NavContext.Provider, { value, children }) });
|
|
36806
37404
|
};
|
|
36807
|
-
const CollapsipleHeaderContainer =
|
|
37405
|
+
const CollapsipleHeaderContainer = styled.styled.div.withConfig({
|
|
36808
37406
|
componentId: "sc-guwmyz-1"
|
|
36809
37407
|
})(["margin-left:", ";user-select:none;"], ({
|
|
36810
37408
|
theme: theme2,
|
|
@@ -36837,7 +37435,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36837
37435
|
});
|
|
36838
37436
|
CollapsipleHeader.displayName = "CollapsibleHeader";
|
|
36839
37437
|
Collapsible.Header = CollapsipleHeader;
|
|
36840
|
-
const CollapsipleTriggerButton =
|
|
37438
|
+
const CollapsipleTriggerButton = styled.styled(EmptyButton$1).withConfig({
|
|
36841
37439
|
componentId: "sc-guwmyz-2"
|
|
36842
37440
|
})(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
|
|
36843
37441
|
const CollapsipleTrigger = ({
|
|
@@ -36868,7 +37466,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36868
37466
|
};
|
|
36869
37467
|
CollapsipleTrigger.displayName = "CollapsibleTrigger";
|
|
36870
37468
|
Collapsible.Trigger = CollapsipleTrigger;
|
|
36871
|
-
const CollapsibleContentWrapper =
|
|
37469
|
+
const CollapsibleContentWrapper = styled.styled.div.withConfig({
|
|
36872
37470
|
componentId: "sc-guwmyz-3"
|
|
36873
37471
|
})(["", ""], ({
|
|
36874
37472
|
theme: theme2,
|
|
@@ -36919,7 +37517,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36919
37517
|
}) => {
|
|
36920
37518
|
return /* @__PURE__ */ jsxRuntime.jsx(SidebarTitleWrapper, { "data-selected": selected, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
|
|
36921
37519
|
};
|
|
36922
|
-
const SidebarTitleWrapper =
|
|
37520
|
+
const SidebarTitleWrapper = styled.styled.button.withConfig({
|
|
36923
37521
|
componentId: "sc-1rg1a4o-0"
|
|
36924
37522
|
})(["display:inline-flex;align-items:center;background:transparent;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;cursor:pointer;", " a{color:inherit;text-decoration:none;&:active{color:inherit;}}"], ({
|
|
36925
37523
|
theme: theme2,
|
|
@@ -36964,7 +37562,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36964
37562
|
/* @__PURE__ */ jsxRuntime.jsx(Collapsible.Content, { children })
|
|
36965
37563
|
] });
|
|
36966
37564
|
};
|
|
36967
|
-
const CUISpacer =
|
|
37565
|
+
const CUISpacer = styled.styled.div.withConfig({
|
|
36968
37566
|
componentId: "sc-6ga865-0"
|
|
36969
37567
|
})(["background:transparent;display:flex;padding:", ";"], ({
|
|
36970
37568
|
theme: theme2,
|
|
@@ -37013,7 +37611,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37013
37611
|
/* @__PURE__ */ jsxRuntime.jsx(DropdownContent, { as: Dropdown.Content, side, $width: width, sideOffset: 4, align: "end", children: menu.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(MenuContentItem, { parentKey: `split-menu-option-${index2}`, ...item }, `split-menu-option-${index2}`)) })
|
|
37014
37612
|
] });
|
|
37015
37613
|
};
|
|
37016
|
-
const DropdownContent =
|
|
37614
|
+
const DropdownContent = styled.styled.div.withConfig({
|
|
37017
37615
|
componentId: "sc-85zs9e-0"
|
|
37018
37616
|
})(["min-width:", "px;"], ({
|
|
37019
37617
|
$width
|
|
@@ -37040,7 +37638,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37040
37638
|
] });
|
|
37041
37639
|
}
|
|
37042
37640
|
};
|
|
37043
|
-
const SplitButtonTrigger =
|
|
37641
|
+
const SplitButtonTrigger = styled.styled.div.withConfig({
|
|
37044
37642
|
componentId: "sc-85zs9e-1"
|
|
37045
37643
|
})(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;", ""], ({
|
|
37046
37644
|
theme: theme2,
|
|
@@ -37063,7 +37661,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37063
37661
|
}
|
|
37064
37662
|
`}
|
|
37065
37663
|
`);
|
|
37066
|
-
const PrimaryButton =
|
|
37664
|
+
const PrimaryButton = styled.styled(BaseButton).withConfig({
|
|
37067
37665
|
componentId: "sc-85zs9e-2"
|
|
37068
37666
|
})(["border:none;align-self:stretch;border-radius:0;align-items:center;padding:", ";", ""], ({
|
|
37069
37667
|
theme: theme2
|
|
@@ -37093,7 +37691,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37093
37691
|
font: ${theme2.click.button.split.typography.label.disabled};
|
|
37094
37692
|
}
|
|
37095
37693
|
`);
|
|
37096
|
-
const SecondaryButton =
|
|
37694
|
+
const SecondaryButton = styled.styled(BaseButton).withConfig({
|
|
37097
37695
|
componentId: "sc-85zs9e-3"
|
|
37098
37696
|
})(["border:none;align-self:stretch;border-radius:0;", ""], ({
|
|
37099
37697
|
theme: theme2,
|
|
@@ -37115,7 +37713,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37115
37713
|
color: ${theme2.click.button.split[$type].text.disabled};
|
|
37116
37714
|
}
|
|
37117
37715
|
`);
|
|
37118
|
-
const ButtonData =
|
|
37716
|
+
const ButtonData = styled.styled.div.withConfig({
|
|
37119
37717
|
componentId: "sc-85zs9e-4"
|
|
37120
37718
|
})(["width:auto;"]);
|
|
37121
37719
|
const $6be4966fd9bbc698$var$SWITCH_NAME = "Switch";
|
|
@@ -37228,7 +37826,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37228
37826
|
}
|
|
37229
37827
|
const $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;
|
|
37230
37828
|
const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
|
|
37231
|
-
const Wrapper =
|
|
37829
|
+
const Wrapper = styled.styled(FormRoot).withConfig({
|
|
37232
37830
|
componentId: "sc-egkkgl-0"
|
|
37233
37831
|
})(["align-items:center;max-width:fit-content;"]);
|
|
37234
37832
|
const Switch = React.forwardRef(({
|
|
@@ -37287,7 +37885,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37287
37885
|
};
|
|
37288
37886
|
}
|
|
37289
37887
|
};
|
|
37290
|
-
const SwitchRoot =
|
|
37888
|
+
const SwitchRoot = styled.styled($6be4966fd9bbc698$export$be92b6f5f03c0fe9).withConfig({
|
|
37291
37889
|
componentId: "sc-egkkgl-1"
|
|
37292
37890
|
})((props) => {
|
|
37293
37891
|
const vars = getRootVars(props.theme, props.disabled, props.checked);
|
|
@@ -37301,7 +37899,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37301
37899
|
padding: 0
|
|
37302
37900
|
};
|
|
37303
37901
|
});
|
|
37304
|
-
const SwitchThumb =
|
|
37902
|
+
const SwitchThumb = styled.styled($6be4966fd9bbc698$export$6521433ed15a34db).withConfig({
|
|
37305
37903
|
componentId: "sc-egkkgl-2"
|
|
37306
37904
|
})((props) => {
|
|
37307
37905
|
const vars = getThumbVars(props.theme, props.$disabled, props.$checked);
|
|
@@ -37453,13 +38051,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37453
38051
|
const $69cb30bb0017df05$export$54c2e3dc7acea9f5 = $69cb30bb0017df05$export$9712d22edc0d78c1;
|
|
37454
38052
|
const $69cb30bb0017df05$export$41fb9f06171c75f4 = $69cb30bb0017df05$export$8114b9fdfdf9f3ba;
|
|
37455
38053
|
const $69cb30bb0017df05$export$7c6e2c02157bb7d2 = $69cb30bb0017df05$export$bd905d70e8fd2ebb;
|
|
37456
|
-
const Trigger =
|
|
38054
|
+
const Trigger = styled.styled($69cb30bb0017df05$export$41fb9f06171c75f4).withConfig({
|
|
37457
38055
|
componentId: "sc-tj736u-0"
|
|
37458
38056
|
})(["padding:", ";border-top-left-radius:", ";border-top-right-radius:", ";border:none;border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';cursor:pointer;&[data-state="active"]{border-bottom:2px solid ', ";color:", ";font:", ";&:hover{font:", ";}}&:hover{border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';}&:hover[data-state="active"]{border-bottom:2px solid ', ";}"], (props) => `${props.theme.click.tabs.space.y} ${props.theme.click.tabs.space.x}`, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.basic.color.stroke.default, (props) => props.theme.click.tabs.basic.color.background.default, (props) => props.theme.click.tabs.basic.color.text.default, (props) => props.theme.click.tabs.typography.label.default, (props) => props.theme.click.tabs.basic.color.stroke.active, (props) => props.theme.click.tabs.basic.color.text.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.basic.color.stroke.hover, (props) => props.theme.click.tabs.basic.color.background.hover, (props) => props.theme.click.tabs.basic.color.text.hover, (props) => props.theme.click.tabs.typography.label.hover, (props) => props.theme.click.tabs.basic.color.stroke.active);
|
|
37459
|
-
const Content =
|
|
38057
|
+
const Content = styled.styled($69cb30bb0017df05$export$7c6e2c02157bb7d2).withConfig({
|
|
37460
38058
|
componentId: "sc-tj736u-1"
|
|
37461
38059
|
})([""]);
|
|
37462
|
-
const TriggersList =
|
|
38060
|
+
const TriggersList = styled.styled($69cb30bb0017df05$export$54c2e3dc7acea9f5).withConfig({
|
|
37463
38061
|
componentId: "sc-tj736u-2"
|
|
37464
38062
|
})(["border-bottom:1px solid ", ";display:flex;"], (props) => props.theme.click.global.color.stroke.default);
|
|
37465
38063
|
const Tabs = ({
|
|
@@ -37474,10 +38072,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37474
38072
|
Tabs.TriggersList = TriggersList;
|
|
37475
38073
|
Tabs.Trigger = Trigger;
|
|
37476
38074
|
Tabs.Content = Content;
|
|
37477
|
-
const FullWidthTabs =
|
|
38075
|
+
const FullWidthTabs = styled.styled(Tabs).withConfig({
|
|
37478
38076
|
componentId: "sc-tj736u-3"
|
|
37479
38077
|
})(["width:100%;"]);
|
|
37480
|
-
FullWidthTabs.Trigger =
|
|
38078
|
+
FullWidthTabs.Trigger = styled.styled(Trigger).withConfig({
|
|
37481
38079
|
componentId: "sc-tj736u-4"
|
|
37482
38080
|
})(["", ";"], (props) => props.width ? `width: ${props.width};` : `
|
|
37483
38081
|
flex-basis: auto;
|
|
@@ -37485,12 +38083,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37485
38083
|
flex-shrink: 1;
|
|
37486
38084
|
`);
|
|
37487
38085
|
FullWidthTabs.TriggersList = TriggersList;
|
|
37488
|
-
const TabsContainer =
|
|
38086
|
+
const TabsContainer = styled.styled.div.withConfig({
|
|
37489
38087
|
componentId: "sc-137ymle-0"
|
|
37490
38088
|
})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
|
|
37491
38089
|
$count
|
|
37492
38090
|
}) => `${$count * 200}px`);
|
|
37493
|
-
const TabsSortableContainer =
|
|
38091
|
+
const TabsSortableContainer = styled.styled.div.withConfig({
|
|
37494
38092
|
componentId: "sc-137ymle-1"
|
|
37495
38093
|
})(["display:flex;& > div{height:100%;outline:none;min-width:100px;width:clamp(100px,100%,200px);&.sortable-ghost{opacity:0;}}"]);
|
|
37496
38094
|
const TabContext = React.createContext({
|
|
@@ -37561,7 +38159,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37561
38159
|
}
|
|
37562
38160
|
}, revertOnSpill: true, ...props, children: React.Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntime.jsx("div", { tabIndex: index2 + 1, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
37563
38161
|
};
|
|
37564
|
-
const TabElement =
|
|
38162
|
+
const TabElement = styled.styled.div.withConfig({
|
|
37565
38163
|
componentId: "sc-137ymle-2"
|
|
37566
38164
|
})(["display:grid;justify-content:flex-start;align-items:center;outline:none;max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;border:none;cursor:pointer;height:100%;max-height:100%;box-sizing:border-box;", ' [data-type="close"]{display:none;}[data-indicator]{display:block;}&:hover{[data-type="close"]{display:block;}[data-indicator]{display:none;}}'], ({
|
|
37567
38165
|
theme: theme2,
|
|
@@ -37599,7 +38197,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37599
38197
|
`}
|
|
37600
38198
|
${$preview === true ? "font-style: italic;" : ""}
|
|
37601
38199
|
`);
|
|
37602
|
-
const Indicator =
|
|
38200
|
+
const Indicator = styled.styled.div.withConfig({
|
|
37603
38201
|
componentId: "sc-137ymle-3"
|
|
37604
38202
|
})(['position:relative;&::after{position:absolute;left:0.25rem;top:0.25rem;content:"";width:0.5rem;height:0.5rem;', "}"], ({
|
|
37605
38203
|
theme: theme2,
|
|
@@ -37608,15 +38206,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37608
38206
|
background: ${$status === "default" ? "transparent" : theme2.click.alert.color.text[$status]};
|
|
37609
38207
|
border-radius: 50%;
|
|
37610
38208
|
`);
|
|
37611
|
-
const TabContent =
|
|
38209
|
+
const TabContent = styled.styled.div.withConfig({
|
|
37612
38210
|
componentId: "sc-137ymle-4"
|
|
37613
38211
|
})(["display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;overflow:hidden;gap:", ";"], ({
|
|
37614
38212
|
theme: theme2
|
|
37615
38213
|
}) => theme2.click.tabs.fileTabs.space.gap);
|
|
37616
|
-
const TabContentText =
|
|
38214
|
+
const TabContentText = styled.styled.span.withConfig({
|
|
37617
38215
|
componentId: "sc-137ymle-5"
|
|
37618
38216
|
})(["display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"]);
|
|
37619
|
-
const EmptyButton =
|
|
38217
|
+
const EmptyButton = styled.styled.button.withConfig({
|
|
37620
38218
|
componentId: "sc-137ymle-6"
|
|
37621
38219
|
})(["padding:0;", ";&:hover{background:", ";}"], ({
|
|
37622
38220
|
theme: theme2
|
|
@@ -37675,7 +38273,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37675
38273
|
children && /* @__PURE__ */ jsxRuntime.jsx(TabContentText, { children })
|
|
37676
38274
|
] });
|
|
37677
38275
|
};
|
|
37678
|
-
const StyledHeader =
|
|
38276
|
+
const StyledHeader = styled.styled.th.withConfig({
|
|
37679
38277
|
componentId: "sc-1q458rb-0"
|
|
37680
38278
|
})(["", " text-align:left;"], ({
|
|
37681
38279
|
theme: theme2,
|
|
@@ -37685,10 +38283,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37685
38283
|
font: ${theme2.click.table.header.title.default};
|
|
37686
38284
|
color: ${theme2.click.table.header.color.title.default};
|
|
37687
38285
|
`);
|
|
37688
|
-
const HeaderContentWrapper =
|
|
38286
|
+
const HeaderContentWrapper = styled.styled.div.withConfig({
|
|
37689
38287
|
componentId: "sc-1q458rb-1"
|
|
37690
38288
|
})(["display:flex;align-items:center;justify-content:start;gap:inherit;"]);
|
|
37691
|
-
const SortIcon =
|
|
38289
|
+
const SortIcon = styled.styled(SvgImage).withConfig({
|
|
37692
38290
|
componentId: "sc-1q458rb-2"
|
|
37693
38291
|
})(["transition:all 200ms;transform:rotate(", ");"], ({
|
|
37694
38292
|
$sortDir
|
|
@@ -37748,7 +38346,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37748
38346
|
] }) })
|
|
37749
38347
|
] });
|
|
37750
38348
|
};
|
|
37751
|
-
const TableRow =
|
|
38349
|
+
const TableRow = styled.styled.tr.withConfig({
|
|
37752
38350
|
componentId: "sc-1q458rb-3"
|
|
37753
38351
|
})(["overflow:hidden;", " &:last-of-type,&:last-child{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
|
|
37754
38352
|
theme: theme2,
|
|
@@ -37781,7 +38379,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37781
38379
|
${$isSelectable ? `padding-left: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.checkbox.size.all});` : ""}
|
|
37782
38380
|
${$showActions ? `padding-right: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.image.sm.size.width} + ${theme2.click.button.iconButton.default.space.x} + ${theme2.click.button.iconButton.default.space.x});` : ""}
|
|
37783
38381
|
`);
|
|
37784
|
-
const TableData =
|
|
38382
|
+
const TableData = styled.styled.td.withConfig({
|
|
37785
38383
|
componentId: "sc-1q458rb-4"
|
|
37786
38384
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;min-width:40%;", "}"], ({
|
|
37787
38385
|
theme: theme2,
|
|
@@ -37795,10 +38393,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37795
38393
|
}) => `
|
|
37796
38394
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37797
38395
|
`);
|
|
37798
|
-
const StyledColGroup =
|
|
38396
|
+
const StyledColGroup = styled.styled.colgroup.withConfig({
|
|
37799
38397
|
componentId: "sc-1q458rb-5"
|
|
37800
38398
|
})(["@media (max-width:768px){display:none;}"]);
|
|
37801
|
-
const StyledThead =
|
|
38399
|
+
const StyledThead = styled.styled.thead.withConfig({
|
|
37802
38400
|
componentId: "sc-1q458rb-6"
|
|
37803
38401
|
})(["tr{overflow:hidden;background-color:", ";", "}@media (max-width:768px){display:none;}"], ({
|
|
37804
38402
|
theme: theme2
|
|
@@ -37806,7 +38404,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37806
38404
|
theme: theme2
|
|
37807
38405
|
}) => ` border-bottom: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
|
|
37808
38406
|
`);
|
|
37809
|
-
const MobileHeader =
|
|
38407
|
+
const MobileHeader = styled.styled.div.withConfig({
|
|
37810
38408
|
componentId: "sc-1q458rb-7"
|
|
37811
38409
|
})(["display:none;", " @media (max-width:768px){display:block;}"], ({
|
|
37812
38410
|
theme: theme2
|
|
@@ -37814,10 +38412,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37814
38412
|
color: ${theme2.click.table.row.color.label.default};
|
|
37815
38413
|
font: ${theme2.click.table.cell.label.default};
|
|
37816
38414
|
`);
|
|
37817
|
-
const Tbody =
|
|
38415
|
+
const Tbody = styled.styled.tbody.withConfig({
|
|
37818
38416
|
componentId: "sc-1q458rb-8"
|
|
37819
38417
|
})(["@media (max-width:768px){display:flex;flex-direction:column;gap:0.25rem;}"]);
|
|
37820
|
-
const SelectData =
|
|
38418
|
+
const SelectData = styled.styled.td.withConfig({
|
|
37821
38419
|
componentId: "sc-1q458rb-9"
|
|
37822
38420
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;left:0;top:0;bottom:0;", "}"], ({
|
|
37823
38421
|
theme: theme2,
|
|
@@ -37832,7 +38430,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37832
38430
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37833
38431
|
border-right: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
|
|
37834
38432
|
`);
|
|
37835
|
-
const ActionsList =
|
|
38433
|
+
const ActionsList = styled.styled.td.withConfig({
|
|
37836
38434
|
componentId: "sc-1q458rb-10"
|
|
37837
38435
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;right:0;top:0;bottom:0;", "}"], ({
|
|
37838
38436
|
theme: theme2,
|
|
@@ -37847,10 +38445,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37847
38445
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37848
38446
|
border-left: 1px solid ${theme2.click.table.row.color.stroke.default};
|
|
37849
38447
|
`);
|
|
37850
|
-
const ActionsContainer =
|
|
38448
|
+
const ActionsContainer = styled.styled.div.withConfig({
|
|
37851
38449
|
componentId: "sc-1q458rb-11"
|
|
37852
38450
|
})(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]);
|
|
37853
|
-
const TableWrapper =
|
|
38451
|
+
const TableWrapper = styled.styled.div.withConfig({
|
|
37854
38452
|
componentId: "sc-1q458rb-12"
|
|
37855
38453
|
})(["width:100%;height:100%;overflow:auto;", ""], ({
|
|
37856
38454
|
theme: theme2
|
|
@@ -37858,18 +38456,18 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37858
38456
|
border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
|
|
37859
38457
|
border-radius: ${theme2.click.table.radii.all}
|
|
37860
38458
|
`);
|
|
37861
|
-
const TableOuterContainer =
|
|
38459
|
+
const TableOuterContainer = styled.styled.div.withConfig({
|
|
37862
38460
|
componentId: "sc-1q458rb-13"
|
|
37863
38461
|
})(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
|
|
37864
|
-
const MobileActions =
|
|
38462
|
+
const MobileActions = styled.styled.div.withConfig({
|
|
37865
38463
|
componentId: "sc-1q458rb-14"
|
|
37866
38464
|
})(["display:none;@media (max-width:768px){display:flex;justify-content:space-between;align-items:center;padding:0 ", ";}"], ({
|
|
37867
38465
|
theme: theme2
|
|
37868
38466
|
}) => theme2.click.table.body.cell.space.sm.x);
|
|
37869
|
-
const EditButton =
|
|
38467
|
+
const EditButton = styled.styled.button.withConfig({
|
|
37870
38468
|
componentId: "sc-1q458rb-15"
|
|
37871
38469
|
})(["&:disabled{background:transparent;}"]);
|
|
37872
|
-
const TableRowCloseButton =
|
|
38470
|
+
const TableRowCloseButton = styled.styled.button.withConfig({
|
|
37873
38471
|
componentId: "sc-1q458rb-16"
|
|
37874
38472
|
})(["svg{transition:transform 200ms;", "}&:disabled{background:transparent;}"], ({
|
|
37875
38473
|
$isDeleted
|
|
@@ -37909,10 +38507,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37909
38507
|
] }) })
|
|
37910
38508
|
] });
|
|
37911
38509
|
};
|
|
37912
|
-
const SpanedTableData =
|
|
38510
|
+
const SpanedTableData = styled.styled(TableData).withConfig({
|
|
37913
38511
|
componentId: "sc-1q458rb-17"
|
|
37914
38512
|
})(["text-align:center;"]);
|
|
37915
|
-
const CustomTableDataMessage =
|
|
38513
|
+
const CustomTableDataMessage = styled.styled.div.withConfig({
|
|
37916
38514
|
componentId: "sc-1q458rb-18"
|
|
37917
38515
|
})(["display:flex;gap:0.5rem;justify-content:center;"]);
|
|
37918
38516
|
const LoadingData = () => {
|
|
@@ -37999,7 +38597,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37999
38597
|
] }) })
|
|
38000
38598
|
] });
|
|
38001
38599
|
});
|
|
38002
|
-
const StyledTable =
|
|
38600
|
+
const StyledTable = styled.styled.table.withConfig({
|
|
38003
38601
|
componentId: "sc-1q458rb-19"
|
|
38004
38602
|
})(["width:100%;border-collapse:collapse;overflow:hidden;table-layout:fixed;@media (max-width:768px){border:none;table-layout:auto;}"]);
|
|
38005
38603
|
const TextAreaField = React.forwardRef(({
|
|
@@ -38605,7 +39203,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38605
39203
|
};
|
|
38606
39204
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
38607
39205
|
Tooltip.Trigger = TooltipTrigger;
|
|
38608
|
-
const RadixTooltipContent =
|
|
39206
|
+
const RadixTooltipContent = styled.styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
38609
39207
|
componentId: "sc-ymqkp1-0"
|
|
38610
39208
|
})(["display:flex;align-items:flex-start;", ""], ({
|
|
38611
39209
|
theme: theme2,
|
|
@@ -38619,7 +39217,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38619
39217
|
white-space: pre-wrap;
|
|
38620
39218
|
${$maxWidth && `max-width: ${$maxWidth}`};
|
|
38621
39219
|
`);
|
|
38622
|
-
const Arrow =
|
|
39220
|
+
const Arrow = styled.styled.svg.withConfig({
|
|
38623
39221
|
componentId: "sc-ymqkp1-1"
|
|
38624
39222
|
})(["", ";"], ({
|
|
38625
39223
|
theme: theme2
|
|
@@ -39330,7 +39928,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39330
39928
|
const ToastContext = React.createContext({
|
|
39331
39929
|
createToast: () => null
|
|
39332
39930
|
});
|
|
39333
|
-
const ToastIcon =
|
|
39931
|
+
const ToastIcon = styled.styled(SvgImage).withConfig({
|
|
39334
39932
|
componentId: "sc-tmc8vl-0"
|
|
39335
39933
|
})(["", ""], ({
|
|
39336
39934
|
theme: theme2,
|
|
@@ -39340,7 +39938,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39340
39938
|
height: ${theme2.click.toast.icon.size.height};
|
|
39341
39939
|
color: ${theme2.click.toast.color.icon[$type]}
|
|
39342
39940
|
`);
|
|
39343
|
-
const hide =
|
|
39941
|
+
const hide = styled.keyframes`
|
|
39344
39942
|
from {
|
|
39345
39943
|
opacity: 1;
|
|
39346
39944
|
}
|
|
@@ -39348,7 +39946,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39348
39946
|
opacity: 0;
|
|
39349
39947
|
}
|
|
39350
39948
|
`;
|
|
39351
|
-
const slideIn =
|
|
39949
|
+
const slideIn = styled.keyframes`
|
|
39352
39950
|
from {
|
|
39353
39951
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
39354
39952
|
}
|
|
@@ -39356,7 +39954,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39356
39954
|
transform: translateX(0);
|
|
39357
39955
|
}
|
|
39358
39956
|
`;
|
|
39359
|
-
const swipeOut =
|
|
39957
|
+
const swipeOut = styled.keyframes`
|
|
39360
39958
|
from {
|
|
39361
39959
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
39362
39960
|
}
|
|
@@ -39364,7 +39962,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39364
39962
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
39365
39963
|
}
|
|
39366
39964
|
`;
|
|
39367
|
-
const ToastRoot =
|
|
39965
|
+
const ToastRoot = styled.styled($054eb8030ebde76e$export$be92b6f5f03c0fe9).withConfig({
|
|
39368
39966
|
componentId: "sc-tmc8vl-1"
|
|
39369
39967
|
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;", " &[data-state='open']{animation:", ' 150ms cubic-bezier(0.16,1,0.3,1);}&[data-state="closed"]{animation:', ' 100ms ease-in;}&[data-swipe="move"]{transform:translateX(var(--radix-toast-swipe-move-x));}&[data-swipe="cancel"]{transform:translateX(0);transition:transform 200ms ease-out;}&[data-swipe="end"]{animation:', " 100ms ease-out;}"], ({
|
|
39370
39968
|
theme: theme2
|
|
@@ -39376,7 +39974,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39376
39974
|
background: ${theme2.click.global.color.background.default};
|
|
39377
39975
|
box-shadow: ${theme2.click.toast.shadow};
|
|
39378
39976
|
`, slideIn, hide, swipeOut);
|
|
39379
|
-
const ToastHeader =
|
|
39977
|
+
const ToastHeader = styled.styled($054eb8030ebde76e$export$f99233281efd08a0).withConfig({
|
|
39380
39978
|
componentId: "sc-tmc8vl-2"
|
|
39381
39979
|
})(["display:flex;justify-content:space-between;align-items:center;width:100%;gap:inherit;", ""], ({
|
|
39382
39980
|
theme: theme2
|
|
@@ -39384,7 +39982,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39384
39982
|
font: ${theme2.click.toast.typography.title.default};
|
|
39385
39983
|
color: ${theme2.click.toast.color.title.default};
|
|
39386
39984
|
`);
|
|
39387
|
-
const ToastDescriptionContainer =
|
|
39985
|
+
const ToastDescriptionContainer = styled.styled.div.withConfig({
|
|
39388
39986
|
componentId: "sc-tmc8vl-3"
|
|
39389
39987
|
})(["display:flex;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
|
|
39390
39988
|
theme: theme2
|
|
@@ -39392,7 +39990,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39392
39990
|
font: ${theme2.click.toast.typography.title.default};
|
|
39393
39991
|
color: ${theme2.click.toast.color.title.default};
|
|
39394
39992
|
`);
|
|
39395
|
-
const ToastDescriptionContent =
|
|
39993
|
+
const ToastDescriptionContent = styled.styled.div.withConfig({
|
|
39396
39994
|
componentId: "sc-tmc8vl-4"
|
|
39397
39995
|
})(["display:flex;align-self:stretch;gap:inherit;", ""], ({
|
|
39398
39996
|
theme: theme2
|
|
@@ -39400,7 +39998,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39400
39998
|
font: ${theme2.click.toast.typography.description.default};
|
|
39401
39999
|
color: ${theme2.click.toast.color.description.default};
|
|
39402
40000
|
`);
|
|
39403
|
-
const Title =
|
|
40001
|
+
const Title = styled.styled.div.withConfig({
|
|
39404
40002
|
componentId: "sc-tmc8vl-5"
|
|
39405
40003
|
})(["flex:1;"]);
|
|
39406
40004
|
const Toast = ({
|
|
@@ -39434,7 +40032,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39434
40032
|
] })
|
|
39435
40033
|
] });
|
|
39436
40034
|
};
|
|
39437
|
-
const Viewport =
|
|
40035
|
+
const Viewport = styled.styled($054eb8030ebde76e$export$d5c6c08dc2d3ca7).withConfig({
|
|
39438
40036
|
componentId: "sc-tmc8vl-6"
|
|
39439
40037
|
})(["--viewport-padding:25px;position:fixed;bottom:0;right:0;display:flex;flex-direction:column;padding:var(--viewport-padding);gap:", ";width:", ";max-width:100vw;margin:0;list-style:none;z-index:2147483647;outline:none;"], ({
|
|
39440
40038
|
theme: theme2
|
|
@@ -39723,8 +40321,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39723
40321
|
}
|
|
39724
40322
|
var _isKeyable = isKeyable$1;
|
|
39725
40323
|
var isKeyable = _isKeyable;
|
|
39726
|
-
function getMapData$4(
|
|
39727
|
-
var data =
|
|
40324
|
+
function getMapData$4(map2, key) {
|
|
40325
|
+
var data = map2.__data__;
|
|
39728
40326
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
39729
40327
|
}
|
|
39730
40328
|
var _getMapData = getMapData$4;
|
|
@@ -41101,6 +41699,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
41101
41699
|
}
|
|
41102
41700
|
}
|
|
41103
41701
|
},
|
|
41702
|
+
datePicker: {
|
|
41703
|
+
dateOption: {
|
|
41704
|
+
color: {
|
|
41705
|
+
label: {
|
|
41706
|
+
"default": "#161517",
|
|
41707
|
+
hover: "#161517",
|
|
41708
|
+
active: "#ffffff",
|
|
41709
|
+
disabled: "#a0a0a0",
|
|
41710
|
+
range: "#161517"
|
|
41711
|
+
},
|
|
41712
|
+
background: {
|
|
41713
|
+
"default": "#ffffff",
|
|
41714
|
+
hover: "#ffffff",
|
|
41715
|
+
active: "#151515",
|
|
41716
|
+
disabled: "#ffffff",
|
|
41717
|
+
range: "#e6e7e9"
|
|
41718
|
+
},
|
|
41719
|
+
stroke: {
|
|
41720
|
+
"default": "#ffffff",
|
|
41721
|
+
hover: "#151515",
|
|
41722
|
+
active: "#151515",
|
|
41723
|
+
disabled: "#ffffff",
|
|
41724
|
+
range: "#e6e7e9"
|
|
41725
|
+
}
|
|
41726
|
+
}
|
|
41727
|
+
},
|
|
41728
|
+
color: {
|
|
41729
|
+
title: {
|
|
41730
|
+
"default": "lch(10.2 1.39 305)"
|
|
41731
|
+
},
|
|
41732
|
+
daytitle: {
|
|
41733
|
+
"default": "#696e79"
|
|
41734
|
+
}
|
|
41735
|
+
}
|
|
41736
|
+
},
|
|
41104
41737
|
global: {
|
|
41105
41738
|
color: {
|
|
41106
41739
|
text: {
|
|
@@ -42706,6 +43339,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
42706
43339
|
}
|
|
42707
43340
|
}
|
|
42708
43341
|
},
|
|
43342
|
+
datePicker: {
|
|
43343
|
+
dateOption: {
|
|
43344
|
+
color: {
|
|
43345
|
+
label: {
|
|
43346
|
+
"default": "#ffffff",
|
|
43347
|
+
hover: "#ffffff",
|
|
43348
|
+
active: "#1F1F1C",
|
|
43349
|
+
disabled: "#a0a0a0",
|
|
43350
|
+
range: "#ffffff"
|
|
43351
|
+
},
|
|
43352
|
+
background: {
|
|
43353
|
+
"default": "#1F1F1C",
|
|
43354
|
+
hover: "#1F1F1C",
|
|
43355
|
+
active: "#FAFF69",
|
|
43356
|
+
disabled: "#1F1F1C",
|
|
43357
|
+
range: "#323232"
|
|
43358
|
+
},
|
|
43359
|
+
stroke: {
|
|
43360
|
+
"default": "#1F1F1C",
|
|
43361
|
+
hover: "#FAFF69",
|
|
43362
|
+
active: "#FAFF69",
|
|
43363
|
+
disabled: "#1F1F1C",
|
|
43364
|
+
range: "#323232"
|
|
43365
|
+
}
|
|
43366
|
+
}
|
|
43367
|
+
},
|
|
43368
|
+
color: {
|
|
43369
|
+
title: {
|
|
43370
|
+
"default": "rgb(97.5% 97.5% 97.5%)"
|
|
43371
|
+
},
|
|
43372
|
+
daytitle: {
|
|
43373
|
+
"default": "#b3b6bd"
|
|
43374
|
+
}
|
|
43375
|
+
}
|
|
43376
|
+
},
|
|
42709
43377
|
global: {
|
|
42710
43378
|
color: {
|
|
42711
43379
|
background: {
|
|
@@ -43486,8 +44154,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
43486
44154
|
},
|
|
43487
44155
|
stroke: {
|
|
43488
44156
|
"default": "#62de85",
|
|
43489
|
-
hover: "#
|
|
43490
|
-
active: "#
|
|
44157
|
+
hover: "#62de85",
|
|
44158
|
+
active: "#62de85",
|
|
43491
44159
|
disabled: "#c0c0c0"
|
|
43492
44160
|
},
|
|
43493
44161
|
check: {
|
|
@@ -44346,6 +45014,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44346
45014
|
}
|
|
44347
45015
|
}
|
|
44348
45016
|
},
|
|
45017
|
+
datePicker: {
|
|
45018
|
+
dateOption: {
|
|
45019
|
+
color: {
|
|
45020
|
+
label: {
|
|
45021
|
+
"default": "#161517",
|
|
45022
|
+
hover: "#161517",
|
|
45023
|
+
active: "#ffffff",
|
|
45024
|
+
disabled: "#a0a0a0",
|
|
45025
|
+
range: "#161517"
|
|
45026
|
+
},
|
|
45027
|
+
background: {
|
|
45028
|
+
"default": "#ffffff",
|
|
45029
|
+
hover: "#ffffff",
|
|
45030
|
+
active: "#151515",
|
|
45031
|
+
disabled: "#ffffff",
|
|
45032
|
+
range: "#e6e7e9"
|
|
45033
|
+
},
|
|
45034
|
+
stroke: {
|
|
45035
|
+
"default": "#ffffff",
|
|
45036
|
+
hover: "#151515",
|
|
45037
|
+
active: "#151515",
|
|
45038
|
+
disabled: "#ffffff",
|
|
45039
|
+
range: "#e6e7e9"
|
|
45040
|
+
}
|
|
45041
|
+
}
|
|
45042
|
+
},
|
|
45043
|
+
color: {
|
|
45044
|
+
title: {
|
|
45045
|
+
"default": "lch(11.1 1.37 305)"
|
|
45046
|
+
},
|
|
45047
|
+
daytitle: {
|
|
45048
|
+
"default": "#696e79"
|
|
45049
|
+
}
|
|
45050
|
+
}
|
|
45051
|
+
},
|
|
44349
45052
|
global: {
|
|
44350
45053
|
color: {
|
|
44351
45054
|
background: {
|
|
@@ -45606,8 +46309,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
45606
46309
|
},
|
|
45607
46310
|
stroke: {
|
|
45608
46311
|
"default": "#62de85",
|
|
45609
|
-
hover: "#
|
|
45610
|
-
active: "#
|
|
46312
|
+
hover: "#62de85",
|
|
46313
|
+
active: "#62de85",
|
|
45611
46314
|
disabled: "#c0c0c0"
|
|
45612
46315
|
},
|
|
45613
46316
|
check: {
|
|
@@ -47158,6 +47861,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47158
47861
|
narrow: {
|
|
47159
47862
|
width: "21rem",
|
|
47160
47863
|
height: "100%"
|
|
47864
|
+
},
|
|
47865
|
+
widest: {
|
|
47866
|
+
width: "55rem",
|
|
47867
|
+
height: "100vh"
|
|
47161
47868
|
}
|
|
47162
47869
|
},
|
|
47163
47870
|
typography: {
|
|
@@ -47361,6 +48068,73 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47361
48068
|
}
|
|
47362
48069
|
}
|
|
47363
48070
|
},
|
|
48071
|
+
datePicker: {
|
|
48072
|
+
dateOption: {
|
|
48073
|
+
space: {
|
|
48074
|
+
gap: "2px"
|
|
48075
|
+
},
|
|
48076
|
+
radii: {
|
|
48077
|
+
"default": "0.25rem",
|
|
48078
|
+
range: "0"
|
|
48079
|
+
},
|
|
48080
|
+
stroke: "1px",
|
|
48081
|
+
size: {
|
|
48082
|
+
height: "2rem",
|
|
48083
|
+
width: "2rem"
|
|
48084
|
+
},
|
|
48085
|
+
typography: {
|
|
48086
|
+
label: {
|
|
48087
|
+
"default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48088
|
+
hover: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48089
|
+
active: `600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48090
|
+
disabled: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48091
|
+
range: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48092
|
+
}
|
|
48093
|
+
},
|
|
48094
|
+
color: {
|
|
48095
|
+
label: {
|
|
48096
|
+
"default": "#161517",
|
|
48097
|
+
hover: "#161517",
|
|
48098
|
+
active: "#ffffff",
|
|
48099
|
+
disabled: "#a0a0a0",
|
|
48100
|
+
range: "#161517"
|
|
48101
|
+
},
|
|
48102
|
+
background: {
|
|
48103
|
+
"default": "#ffffff",
|
|
48104
|
+
hover: "#ffffff",
|
|
48105
|
+
active: "#151515",
|
|
48106
|
+
disabled: "#ffffff",
|
|
48107
|
+
range: "#e6e7e9"
|
|
48108
|
+
},
|
|
48109
|
+
stroke: {
|
|
48110
|
+
"default": "#ffffff",
|
|
48111
|
+
hover: "#151515",
|
|
48112
|
+
active: "#151515",
|
|
48113
|
+
disabled: "#ffffff",
|
|
48114
|
+
range: "#e6e7e9"
|
|
48115
|
+
}
|
|
48116
|
+
}
|
|
48117
|
+
},
|
|
48118
|
+
space: {
|
|
48119
|
+
gap: "0.25rem"
|
|
48120
|
+
},
|
|
48121
|
+
typography: {
|
|
48122
|
+
daytitle: {
|
|
48123
|
+
"default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48124
|
+
},
|
|
48125
|
+
title: {
|
|
48126
|
+
"default": `600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48127
|
+
}
|
|
48128
|
+
},
|
|
48129
|
+
color: {
|
|
48130
|
+
title: {
|
|
48131
|
+
"default": "lch(11.1 1.37 305)"
|
|
48132
|
+
},
|
|
48133
|
+
daytitle: {
|
|
48134
|
+
"default": "#696e79"
|
|
48135
|
+
}
|
|
48136
|
+
}
|
|
48137
|
+
},
|
|
47364
48138
|
global: {
|
|
47365
48139
|
color: {
|
|
47366
48140
|
background: {
|
|
@@ -47895,7 +48669,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47895
48669
|
classic: merge$1({}, theme, classicTheme)
|
|
47896
48670
|
};
|
|
47897
48671
|
const useCUITheme = () => {
|
|
47898
|
-
const theme2 =
|
|
48672
|
+
const theme2 = styled.useTheme();
|
|
47899
48673
|
return {
|
|
47900
48674
|
breakpoint: theme2.breakpoint,
|
|
47901
48675
|
global: theme2.global,
|
|
@@ -47903,11 +48677,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47903
48677
|
sizes: theme2.sizes
|
|
47904
48678
|
};
|
|
47905
48679
|
};
|
|
47906
|
-
const GlobalStyle =
|
|
48680
|
+
const GlobalStyle = styled.createGlobalStyle(["body{color:", ";background-color:", "}"], (props) => props.theme.click.global.color.text.default, (props) => props.theme.click.global.color.background.default);
|
|
47907
48681
|
const ThemeProvider = ({
|
|
47908
48682
|
theme: name2,
|
|
47909
48683
|
children
|
|
47910
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48684
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(styled.ThemeProvider, { theme: themes[name2], children: [
|
|
47911
48685
|
/* @__PURE__ */ jsxRuntime.jsx(GlobalStyle, {}),
|
|
47912
48686
|
children
|
|
47913
48687
|
] });
|
|
@@ -47932,7 +48706,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47932
48706
|
const StepperContext = React.createContext({
|
|
47933
48707
|
type: "numbered"
|
|
47934
48708
|
});
|
|
47935
|
-
const StepRoot =
|
|
48709
|
+
const StepRoot = styled.styled.div.withConfig({
|
|
47936
48710
|
componentId: "sc-xro1ly-0"
|
|
47937
48711
|
})(["display:flex;flex-direction:column;align-items:flex-start;counter-reset:vertical-stepper;width:100%;"]);
|
|
47938
48712
|
const VerticalStepper = ({
|
|
@@ -47945,7 +48719,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47945
48719
|
};
|
|
47946
48720
|
return /* @__PURE__ */ jsxRuntime.jsx(StepRoot, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(StepperContext.Provider, { value, children }) });
|
|
47947
48721
|
};
|
|
47948
|
-
const StepItem =
|
|
48722
|
+
const StepItem = styled.styled.div.withConfig({
|
|
47949
48723
|
componentId: "sc-xro1ly-1"
|
|
47950
48724
|
})(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;", ""], ({
|
|
47951
48725
|
theme: theme2,
|
|
@@ -47970,7 +48744,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47970
48744
|
}
|
|
47971
48745
|
}
|
|
47972
48746
|
`);
|
|
47973
|
-
const StepTrigger =
|
|
48747
|
+
const StepTrigger = styled.styled.button.withConfig({
|
|
47974
48748
|
componentId: "sc-xro1ly-2"
|
|
47975
48749
|
})(["", ""], ({
|
|
47976
48750
|
$status
|
|
@@ -47985,7 +48759,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47985
48759
|
cursor: ${$status === "active" ? "default" : $status === "complete" ? "pointer" : "not-allowed"};
|
|
47986
48760
|
flex-direction: row;
|
|
47987
48761
|
`);
|
|
47988
|
-
const StepBubble =
|
|
48762
|
+
const StepBubble = styled.styled.div.withConfig({
|
|
47989
48763
|
componentId: "sc-xro1ly-3"
|
|
47990
48764
|
})(["", ""], ({
|
|
47991
48765
|
theme: theme2,
|
|
@@ -48024,10 +48798,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48024
48798
|
}
|
|
48025
48799
|
` : ""};
|
|
48026
48800
|
`);
|
|
48027
|
-
const CheckIcon =
|
|
48801
|
+
const CheckIcon = styled.styled(SvgImage).withConfig({
|
|
48028
48802
|
componentId: "sc-xro1ly-4"
|
|
48029
48803
|
})(["color:inherit;path{stroke-width:3;}"]);
|
|
48030
|
-
const StepLabel =
|
|
48804
|
+
const StepLabel = styled.styled.div.withConfig({
|
|
48031
48805
|
componentId: "sc-xro1ly-5"
|
|
48032
48806
|
})(["display:flex;flex-direction:column;", ")"], ({
|
|
48033
48807
|
theme: theme2,
|
|
@@ -48038,7 +48812,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48038
48812
|
color: ${theme2.click.stepper.vertical[$type].color.title[$status]};
|
|
48039
48813
|
gap: inherit;
|
|
48040
48814
|
`);
|
|
48041
|
-
const StepContent =
|
|
48815
|
+
const StepContent = styled.styled.div.withConfig({
|
|
48042
48816
|
componentId: "sc-xro1ly-6"
|
|
48043
48817
|
})(["display:flex;width:100%;flex-direction:column;", ""], ({
|
|
48044
48818
|
theme: theme2,
|
|
@@ -48137,7 +48911,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48137
48911
|
};
|
|
48138
48912
|
MultiAccordionItem.displayName = "MultiAccordion.Item";
|
|
48139
48913
|
MultiAccordion.Item = MultiAccordionItem;
|
|
48140
|
-
const AccordionRoot =
|
|
48914
|
+
const AccordionRoot = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
|
|
48141
48915
|
componentId: "sc-1lb3204-0"
|
|
48142
48916
|
})(["display:flex;flex-direction:column;justify-content:start;align-items:start;gap:", ";", ";"], ({
|
|
48143
48917
|
theme: theme2,
|
|
@@ -48145,7 +48919,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48145
48919
|
}) => theme2.click.container.gap[$gap], ({
|
|
48146
48920
|
$fillWidth
|
|
48147
48921
|
}) => $fillWidth && "width: 100%");
|
|
48148
|
-
const AccordionItem =
|
|
48922
|
+
const AccordionItem = styled.styled($1bf158f521e1b1b4$export$6d08773d2e66f8f2).withConfig({
|
|
48149
48923
|
componentId: "sc-1lb3204-1"
|
|
48150
48924
|
})(["", ";", ";"], ({
|
|
48151
48925
|
theme: theme2,
|
|
@@ -48156,7 +48930,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48156
48930
|
`, ({
|
|
48157
48931
|
$fillWidth
|
|
48158
48932
|
}) => $fillWidth && "width: 100%");
|
|
48159
|
-
const AccordionTrigger =
|
|
48933
|
+
const AccordionTrigger = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
48160
48934
|
componentId: "sc-1lb3204-2"
|
|
48161
48935
|
})(["width:100%;border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ';border-radius:inherit;&[data-state="open"]{border-bottom-left-radius:0px;border-bottom-right-radius:0px;[data-icon="accordion-status"]{color:', ";}}"], ({
|
|
48162
48936
|
theme: theme2,
|
|
@@ -48189,13 +48963,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48189
48963
|
}, ({
|
|
48190
48964
|
theme: theme2
|
|
48191
48965
|
}) => theme2.global.color.accent.default);
|
|
48192
|
-
const AccordionIconWrapper =
|
|
48966
|
+
const AccordionIconWrapper = styled.styled.div.withConfig({
|
|
48193
48967
|
componentId: "sc-1lb3204-3"
|
|
48194
48968
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger);
|
|
48195
|
-
const AccordionIconsWrapper =
|
|
48969
|
+
const AccordionIconsWrapper = styled.styled.div.withConfig({
|
|
48196
48970
|
componentId: "sc-1lb3204-4"
|
|
48197
48971
|
})(["display:flex;align-items:center;justify-content:center;"]);
|
|
48198
|
-
const CustomIcon =
|
|
48972
|
+
const CustomIcon = styled.styled(SvgImage).withConfig({
|
|
48199
48973
|
componentId: "sc-1lb3204-5"
|
|
48200
48974
|
})(["", ""], ({
|
|
48201
48975
|
$isCompleted,
|
|
@@ -48209,7 +48983,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48209
48983
|
fill: ${theme2.global.color.accent.default} !important;;
|
|
48210
48984
|
}
|
|
48211
48985
|
`);
|
|
48212
|
-
const AccordionContent =
|
|
48986
|
+
const AccordionContent = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
|
|
48213
48987
|
componentId: "sc-1lb3204-6"
|
|
48214
48988
|
})(["padding:", ";padding-top:0;"], ({
|
|
48215
48989
|
theme: theme2,
|
|
@@ -48235,6 +49009,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48235
49009
|
exports2.Container = Container;
|
|
48236
49010
|
exports2.ContextMenu = ContextMenu;
|
|
48237
49011
|
exports2.DangerAlert = DangerAlert;
|
|
49012
|
+
exports2.DatePicker = DatePicker;
|
|
48238
49013
|
exports2.Dialog = Dialog;
|
|
48239
49014
|
exports2.Dropdown = Dropdown;
|
|
48240
49015
|
exports2.EllipsisContent = EllipsisContent;
|