@mindlogic-ai/logician-ui 2.0.0-alpha.0 → 2.0.0-alpha.2
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/Markdown-AZTXUJV3.js +16 -0
- package/dist/{Markdown-2D5K42BY.js.map → Markdown-AZTXUJV3.js.map} +1 -1
- package/dist/Markdown-N4OLOBIR.mjs +3 -0
- package/dist/{Markdown-RJJEQN4R.mjs.map → Markdown-N4OLOBIR.mjs.map} +1 -1
- package/dist/chunk-C5KQ6T3M.mjs +1772 -0
- package/dist/chunk-C5KQ6T3M.mjs.map +1 -0
- package/dist/chunk-JUTI2M3P.js +1814 -0
- package/dist/chunk-JUTI2M3P.js.map +1 -0
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +213 -188
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
- package/src/components/Icon/IconMap.ts +16 -0
- package/src/components/Icon/icons/amount-usage.svg +7 -0
- package/src/components/Icon/icons/dashboard.svg +3 -0
- package/src/components/Icon/icons/faq.svg +4 -0
- package/src/components/Icon/icons/filled-amount-usage.svg +3 -0
- package/src/components/Icon/icons/filled-faq.svg +3 -0
- package/src/components/Icon/icons/filled-members.svg +6 -0
- package/src/components/Icon/icons/members.svg +4 -0
- package/src/components/Icon/icons/window.svg +4 -0
- package/src/components/LineGraph/LineGraph.tsx +8 -5
- package/src/components/LineGraph/LineGraph.types.ts +1 -0
- package/src/components/{MonthRangePicker → MonthPicker}/MonthButton/MonthButton.tsx +1 -1
- package/src/components/{MonthRangePicker → MonthPicker}/MonthButton/MonthButton.types.ts +1 -1
- package/src/components/{MonthRangePicker/MonthRangePicker.stories.tsx → MonthPicker/MonthPicker.stories.tsx} +6 -6
- package/src/components/{MonthRangePicker/MonthRangePicker.tsx → MonthPicker/MonthPicker.tsx} +30 -5
- package/src/components/{MonthRangePicker/MonthRangePicker.types.ts → MonthPicker/MonthPicker.types.ts} +4 -1
- package/src/components/{MonthRangePicker → MonthPicker}/_utils/isMonthInRange.ts +1 -1
- package/src/components/{MonthRangePicker → MonthPicker}/_utils/isMonthSelected.ts +1 -1
- package/src/components/MonthPicker/index.ts +2 -0
- package/src/index.ts +1 -1
- package/dist/Markdown-2D5K42BY.js +0 -16
- package/dist/Markdown-RJJEQN4R.mjs +0 -3
- package/dist/analytics-GNSHP7X3.svg +0 -1
- package/dist/bulb-24SQINQB.svg +0 -1
- package/dist/chat-TLRFEUAS.svg +0 -1
- package/dist/chunk-5FHXD7KR.js +0 -1735
- package/dist/chunk-5FHXD7KR.js.map +0 -1
- package/dist/chunk-WSOHBA2C.mjs +0 -1693
- package/dist/chunk-WSOHBA2C.mjs.map +0 -1
- package/dist/edit-RWL72JNM.svg +0 -1
- package/dist/face-55KPDCH4.svg +0 -1
- package/dist/filled-analytics-RBC7KWND.svg +0 -1
- package/dist/filled-bulb-RC7E2WSM.svg +0 -1
- package/dist/filled-chat-A6J44Q7A.svg +0 -1
- package/dist/filled-edit-NKKWFSTW.svg +0 -1
- package/dist/filled-face-UML5C3LB.svg +0 -1
- package/dist/filled-layout-HBVCSDFO.svg +0 -1
- package/dist/language-VBJ24OPV.svg +0 -1
- package/dist/layout-NDDSWNNV.svg +0 -1
- package/dist/pending-NF7NSBYO.svg +0 -1
- package/dist/receipt-MNLQIFCO.svg +0 -1
- package/dist/sparkles-EOEGVL6G.svg +0 -1
- package/dist/store-3RQPBJWG.svg +0 -1
- package/dist/store_active-SAOAGVKC.svg +0 -1
- package/dist/studio-LYPUIEFA.svg +0 -1
- package/dist/studio_active-BC6O66OI.svg +0 -1
- package/dist/vertical-ellipsis-3G4WEOCW.svg +0 -1
- package/src/components/MonthRangePicker/index.ts +0 -2
- /package/src/components/{MonthRangePicker → MonthPicker}/MonthButton/index.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/_utils/hasEnabledMonthsInYear.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/_utils/index.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/_utils/isMonthDisabled.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/_utils/isMonthInPreviewRange.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/_utils/isSelectionStart.ts +0 -0
- /package/src/components/{MonthRangePicker → MonthPicker}/constants.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJUTI2M3P_js = require('./chunk-JUTI2M3P.js');
|
|
4
4
|
var react = require('@chakra-ui/react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React7 = require('react');
|
|
@@ -24,7 +24,7 @@ var ReactSelect__default = /*#__PURE__*/_interopDefault(ReactSelect);
|
|
|
24
24
|
var ReactPinInput__default = /*#__PURE__*/_interopDefault(ReactPinInput);
|
|
25
25
|
|
|
26
26
|
// node_modules/react-is/cjs/react-is.production.min.js
|
|
27
|
-
var require_react_is_production_min =
|
|
27
|
+
var require_react_is_production_min = chunkJUTI2M3P_js.__commonJS({
|
|
28
28
|
"node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
29
29
|
var b = "function" === typeof Symbol && Symbol.for;
|
|
30
30
|
var c = b ? Symbol.for("react.element") : 60103;
|
|
@@ -136,7 +136,7 @@ var require_react_is_production_min = chunk5FHXD7KR_js.__commonJS({
|
|
|
136
136
|
});
|
|
137
137
|
|
|
138
138
|
// node_modules/react-is/cjs/react-is.development.js
|
|
139
|
-
var require_react_is_development =
|
|
139
|
+
var require_react_is_development = chunkJUTI2M3P_js.__commonJS({
|
|
140
140
|
"node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
141
141
|
if (process.env.NODE_ENV !== "production") {
|
|
142
142
|
(function() {
|
|
@@ -289,7 +289,7 @@ var require_react_is_development = chunk5FHXD7KR_js.__commonJS({
|
|
|
289
289
|
});
|
|
290
290
|
|
|
291
291
|
// node_modules/react-is/index.js
|
|
292
|
-
var require_react_is =
|
|
292
|
+
var require_react_is = chunkJUTI2M3P_js.__commonJS({
|
|
293
293
|
"node_modules/react-is/index.js"(exports, module) {
|
|
294
294
|
if (process.env.NODE_ENV === "production") {
|
|
295
295
|
module.exports = require_react_is_production_min();
|
|
@@ -300,7 +300,7 @@ var require_react_is = chunk5FHXD7KR_js.__commonJS({
|
|
|
300
300
|
});
|
|
301
301
|
|
|
302
302
|
// node_modules/object-assign/index.js
|
|
303
|
-
var require_object_assign =
|
|
303
|
+
var require_object_assign = chunkJUTI2M3P_js.__commonJS({
|
|
304
304
|
"node_modules/object-assign/index.js"(exports, module) {
|
|
305
305
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
306
306
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -369,7 +369,7 @@ var require_object_assign = chunk5FHXD7KR_js.__commonJS({
|
|
|
369
369
|
});
|
|
370
370
|
|
|
371
371
|
// node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
372
|
-
var require_ReactPropTypesSecret =
|
|
372
|
+
var require_ReactPropTypesSecret = chunkJUTI2M3P_js.__commonJS({
|
|
373
373
|
"node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
|
|
374
374
|
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
375
375
|
module.exports = ReactPropTypesSecret;
|
|
@@ -377,14 +377,14 @@ var require_ReactPropTypesSecret = chunk5FHXD7KR_js.__commonJS({
|
|
|
377
377
|
});
|
|
378
378
|
|
|
379
379
|
// node_modules/prop-types/lib/has.js
|
|
380
|
-
var require_has =
|
|
380
|
+
var require_has = chunkJUTI2M3P_js.__commonJS({
|
|
381
381
|
"node_modules/prop-types/lib/has.js"(exports, module) {
|
|
382
382
|
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
385
|
|
|
386
386
|
// node_modules/prop-types/checkPropTypes.js
|
|
387
|
-
var require_checkPropTypes =
|
|
387
|
+
var require_checkPropTypes = chunkJUTI2M3P_js.__commonJS({
|
|
388
388
|
"node_modules/prop-types/checkPropTypes.js"(exports, module) {
|
|
389
389
|
var printWarning = function() {
|
|
390
390
|
};
|
|
@@ -449,7 +449,7 @@ var require_checkPropTypes = chunk5FHXD7KR_js.__commonJS({
|
|
|
449
449
|
});
|
|
450
450
|
|
|
451
451
|
// node_modules/prop-types/factoryWithTypeCheckers.js
|
|
452
|
-
var require_factoryWithTypeCheckers =
|
|
452
|
+
var require_factoryWithTypeCheckers = chunkJUTI2M3P_js.__commonJS({
|
|
453
453
|
"node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
|
|
454
454
|
var ReactIs = require_react_is();
|
|
455
455
|
var assign = require_object_assign();
|
|
@@ -891,7 +891,7 @@ var require_factoryWithTypeCheckers = chunk5FHXD7KR_js.__commonJS({
|
|
|
891
891
|
});
|
|
892
892
|
|
|
893
893
|
// node_modules/prop-types/factoryWithThrowingShims.js
|
|
894
|
-
var require_factoryWithThrowingShims =
|
|
894
|
+
var require_factoryWithThrowingShims = chunkJUTI2M3P_js.__commonJS({
|
|
895
895
|
"node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
|
|
896
896
|
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
|
897
897
|
function emptyFunction() {
|
|
@@ -944,7 +944,7 @@ var require_factoryWithThrowingShims = chunk5FHXD7KR_js.__commonJS({
|
|
|
944
944
|
});
|
|
945
945
|
|
|
946
946
|
// node_modules/prop-types/index.js
|
|
947
|
-
var require_prop_types =
|
|
947
|
+
var require_prop_types = chunkJUTI2M3P_js.__commonJS({
|
|
948
948
|
"node_modules/prop-types/index.js"(exports, module) {
|
|
949
949
|
if (process.env.NODE_ENV !== "production") {
|
|
950
950
|
ReactIs = require_react_is();
|
|
@@ -981,11 +981,11 @@ var AccordionButton = ({
|
|
|
981
981
|
react.AccordionButton,
|
|
982
982
|
{
|
|
983
983
|
_hover: {
|
|
984
|
-
bg: `${
|
|
984
|
+
bg: `${chunkJUTI2M3P_js.theme_default.colors.main}08`,
|
|
985
985
|
..._hover
|
|
986
986
|
},
|
|
987
987
|
_expanded: {
|
|
988
|
-
bg: `${
|
|
988
|
+
bg: `${chunkJUTI2M3P_js.theme_default.colors.main}12`,
|
|
989
989
|
borderBottomWidth: "1px",
|
|
990
990
|
..._expanded
|
|
991
991
|
},
|
|
@@ -1245,8 +1245,8 @@ var Banner = React7.forwardRef(
|
|
|
1245
1245
|
ref,
|
|
1246
1246
|
...rest,
|
|
1247
1247
|
children: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "stretch", gap: 2, children: [
|
|
1248
|
-
!hideIcon && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1249
|
-
typeof children === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1248
|
+
!hideIcon && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { boxSize: "md", mr: 2, ...iconStyles[variant] }) }),
|
|
1249
|
+
typeof children === "string" ? /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { w: "100%", ...textStyles[variant], children }) : /* @__PURE__ */ jsxRuntime.jsx(react.Box, { w: "100%", ...textStyles[variant], children })
|
|
1250
1250
|
] })
|
|
1251
1251
|
}
|
|
1252
1252
|
);
|
|
@@ -1258,7 +1258,7 @@ var Breadcrumb = React7.forwardRef(
|
|
|
1258
1258
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1259
1259
|
react.Breadcrumb,
|
|
1260
1260
|
{
|
|
1261
|
-
separator: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1261
|
+
separator: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronForward", color: "gray.800" }),
|
|
1262
1262
|
...rest,
|
|
1263
1263
|
ref
|
|
1264
1264
|
}
|
|
@@ -1274,7 +1274,7 @@ var BreadcrumbItem = React7.forwardRef(
|
|
|
1274
1274
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
1275
1275
|
var NextLink;
|
|
1276
1276
|
try {
|
|
1277
|
-
NextLink =
|
|
1277
|
+
NextLink = chunkJUTI2M3P_js.__require("next/link").default;
|
|
1278
1278
|
} catch {
|
|
1279
1279
|
NextLink = null;
|
|
1280
1280
|
}
|
|
@@ -1334,7 +1334,7 @@ var variantStyles = {
|
|
|
1334
1334
|
bgColor: "danger.main",
|
|
1335
1335
|
color: "white",
|
|
1336
1336
|
_hover: {
|
|
1337
|
-
bgColor:
|
|
1337
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.red[600]
|
|
1338
1338
|
}
|
|
1339
1339
|
},
|
|
1340
1340
|
link: {
|
|
@@ -1451,10 +1451,10 @@ var Carousel = ({
|
|
|
1451
1451
|
}
|
|
1452
1452
|
),
|
|
1453
1453
|
showArrows && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1454
|
-
|
|
1454
|
+
chunkJUTI2M3P_js.IconButton,
|
|
1455
1455
|
{
|
|
1456
1456
|
"aria-label": "Previous Slide",
|
|
1457
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1457
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoIosArrowBack" }),
|
|
1458
1458
|
position: "absolute",
|
|
1459
1459
|
left: 3,
|
|
1460
1460
|
top: "50%",
|
|
@@ -1465,10 +1465,10 @@ var Carousel = ({
|
|
|
1465
1465
|
}
|
|
1466
1466
|
),
|
|
1467
1467
|
showArrows && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1468
|
-
|
|
1468
|
+
chunkJUTI2M3P_js.IconButton,
|
|
1469
1469
|
{
|
|
1470
1470
|
"aria-label": "Next Slide",
|
|
1471
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1471
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronForward" }),
|
|
1472
1472
|
position: "absolute",
|
|
1473
1473
|
right: 3,
|
|
1474
1474
|
top: "50%",
|
|
@@ -1555,7 +1555,7 @@ var CarouselModal = ({
|
|
|
1555
1555
|
...rest
|
|
1556
1556
|
}) => {
|
|
1557
1557
|
const nextButtonRef = React7.useRef(null);
|
|
1558
|
-
const translate =
|
|
1558
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
1559
1559
|
const [currentSlide, setCurrentSlide] = React7.useState(0);
|
|
1560
1560
|
const handleNextClick = () => {
|
|
1561
1561
|
if (currentSlide === slides.length - 1) {
|
|
@@ -1664,98 +1664,98 @@ var baseStyles2 = {
|
|
|
1664
1664
|
var useCaseStyles = {
|
|
1665
1665
|
primary: {
|
|
1666
1666
|
solid: {
|
|
1667
|
-
bgColor:
|
|
1667
|
+
bgColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main,
|
|
1668
1668
|
color: "white"
|
|
1669
1669
|
},
|
|
1670
1670
|
outline: {
|
|
1671
1671
|
border: "1px solid",
|
|
1672
|
-
borderColor:
|
|
1673
|
-
color:
|
|
1672
|
+
borderColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main,
|
|
1673
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main,
|
|
1674
1674
|
bgColor: "white"
|
|
1675
1675
|
},
|
|
1676
1676
|
subtle: {
|
|
1677
1677
|
bgColor: "#EBF0FB",
|
|
1678
|
-
color:
|
|
1678
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main
|
|
1679
1679
|
}
|
|
1680
1680
|
},
|
|
1681
1681
|
secondary: {
|
|
1682
1682
|
solid: {
|
|
1683
|
-
bgColor:
|
|
1684
|
-
color:
|
|
1683
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.blue[700],
|
|
1684
|
+
color: chunkJUTI2M3P_js.theme_default.colors.white
|
|
1685
1685
|
},
|
|
1686
1686
|
outline: {
|
|
1687
1687
|
border: "1px solid",
|
|
1688
|
-
borderColor:
|
|
1689
|
-
color:
|
|
1688
|
+
borderColor: chunkJUTI2M3P_js.theme_default.colors.blue[700],
|
|
1689
|
+
color: chunkJUTI2M3P_js.theme_default.colors.blue[700],
|
|
1690
1690
|
bgColor: "white"
|
|
1691
1691
|
},
|
|
1692
1692
|
subtle: {
|
|
1693
|
-
bgColor:
|
|
1694
|
-
color:
|
|
1693
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.blue[50],
|
|
1694
|
+
color: chunkJUTI2M3P_js.theme_default.colors.blue[700]
|
|
1695
1695
|
}
|
|
1696
1696
|
},
|
|
1697
1697
|
success: {
|
|
1698
1698
|
solid: {
|
|
1699
|
-
bgColor:
|
|
1699
|
+
bgColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.success.main,
|
|
1700
1700
|
color: "white"
|
|
1701
1701
|
},
|
|
1702
1702
|
outline: {
|
|
1703
1703
|
border: "1px solid",
|
|
1704
|
-
borderColor:
|
|
1705
|
-
color:
|
|
1704
|
+
borderColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.success.main,
|
|
1705
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.success.main,
|
|
1706
1706
|
bgColor: "white"
|
|
1707
1707
|
},
|
|
1708
1708
|
subtle: {
|
|
1709
|
-
bgColor:
|
|
1710
|
-
color:
|
|
1709
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.green[50],
|
|
1710
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.success.main
|
|
1711
1711
|
}
|
|
1712
1712
|
},
|
|
1713
1713
|
danger: {
|
|
1714
1714
|
solid: {
|
|
1715
|
-
bgColor:
|
|
1715
|
+
bgColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.main,
|
|
1716
1716
|
color: "white"
|
|
1717
1717
|
},
|
|
1718
1718
|
outline: {
|
|
1719
1719
|
border: "1px solid",
|
|
1720
|
-
borderColor:
|
|
1721
|
-
color:
|
|
1720
|
+
borderColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.main,
|
|
1721
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.main,
|
|
1722
1722
|
bgColor: "white"
|
|
1723
1723
|
},
|
|
1724
1724
|
subtle: {
|
|
1725
|
-
bgColor:
|
|
1726
|
-
color:
|
|
1725
|
+
bgColor: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.lighter,
|
|
1726
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.main
|
|
1727
1727
|
}
|
|
1728
1728
|
},
|
|
1729
1729
|
dark: {
|
|
1730
1730
|
solid: {
|
|
1731
|
-
bgColor:
|
|
1731
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.gray[800],
|
|
1732
1732
|
color: "white"
|
|
1733
1733
|
},
|
|
1734
1734
|
outline: {
|
|
1735
1735
|
border: "1px solid",
|
|
1736
1736
|
backgroundColor: "transparent",
|
|
1737
|
-
borderColor:
|
|
1738
|
-
color:
|
|
1737
|
+
borderColor: chunkJUTI2M3P_js.theme_default.colors.gray[700],
|
|
1738
|
+
color: chunkJUTI2M3P_js.theme_default.colors.gray[700]
|
|
1739
1739
|
},
|
|
1740
1740
|
subtle: {
|
|
1741
|
-
bgColor:
|
|
1742
|
-
color:
|
|
1741
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.gray[100],
|
|
1742
|
+
color: chunkJUTI2M3P_js.theme_default.colors.gray[800]
|
|
1743
1743
|
}
|
|
1744
1744
|
},
|
|
1745
1745
|
highlight: {
|
|
1746
1746
|
solid: {
|
|
1747
|
-
bgColor:
|
|
1747
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.purple[600],
|
|
1748
1748
|
color: "white"
|
|
1749
1749
|
},
|
|
1750
1750
|
outline: {
|
|
1751
1751
|
border: "1px solid",
|
|
1752
1752
|
backgroundColor: "transparent",
|
|
1753
|
-
borderColor:
|
|
1754
|
-
color:
|
|
1753
|
+
borderColor: chunkJUTI2M3P_js.theme_default.colors.purple[600],
|
|
1754
|
+
color: chunkJUTI2M3P_js.theme_default.colors.purple[600]
|
|
1755
1755
|
},
|
|
1756
1756
|
subtle: {
|
|
1757
|
-
bgColor:
|
|
1758
|
-
color:
|
|
1757
|
+
bgColor: chunkJUTI2M3P_js.theme_default.colors.purple[50],
|
|
1758
|
+
color: chunkJUTI2M3P_js.theme_default.colors.purple[600]
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
1761
|
};
|
|
@@ -1794,11 +1794,11 @@ var ChipButton = React7.forwardRef(
|
|
|
1794
1794
|
ChipButton.displayName = "ChipButton";
|
|
1795
1795
|
|
|
1796
1796
|
// src/components/Tabs/TabsContext.tsx
|
|
1797
|
-
var import_prop_types =
|
|
1797
|
+
var import_prop_types = chunkJUTI2M3P_js.__toESM(require_prop_types());
|
|
1798
1798
|
var useRouter = null;
|
|
1799
1799
|
var usePathname = null;
|
|
1800
1800
|
try {
|
|
1801
|
-
const nextNavigation =
|
|
1801
|
+
const nextNavigation = chunkJUTI2M3P_js.__require("next/navigation");
|
|
1802
1802
|
useRouter = nextNavigation.useRouter;
|
|
1803
1803
|
usePathname = nextNavigation.usePathname;
|
|
1804
1804
|
} catch (error) {
|
|
@@ -1907,7 +1907,7 @@ var verticalStyles = {
|
|
|
1907
1907
|
width: "100%"
|
|
1908
1908
|
};
|
|
1909
1909
|
var horizontalSelectedStyles = {
|
|
1910
|
-
color:
|
|
1910
|
+
color: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main,
|
|
1911
1911
|
fontWeight: "semibold",
|
|
1912
1912
|
position: "relative",
|
|
1913
1913
|
_after: {
|
|
@@ -1917,7 +1917,7 @@ var horizontalSelectedStyles = {
|
|
|
1917
1917
|
left: 0,
|
|
1918
1918
|
width: "100%",
|
|
1919
1919
|
height: "2px",
|
|
1920
|
-
background:
|
|
1920
|
+
background: chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main
|
|
1921
1921
|
}
|
|
1922
1922
|
};
|
|
1923
1923
|
var verticalSelectedStyles = {
|
|
@@ -2046,7 +2046,7 @@ var CopyButton = ({
|
|
|
2046
2046
|
onCopy,
|
|
2047
2047
|
code
|
|
2048
2048
|
}) => {
|
|
2049
|
-
const translate =
|
|
2049
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
2050
2050
|
const [tooltipText, setTooltipText] = React7.useState(translate("copy"));
|
|
2051
2051
|
const { selectedIndex } = useTabsContext();
|
|
2052
2052
|
const handleCopyClick = () => {
|
|
@@ -2057,12 +2057,12 @@ var CopyButton = ({
|
|
|
2057
2057
|
}, 1500);
|
|
2058
2058
|
return () => clearTimeout(t);
|
|
2059
2059
|
};
|
|
2060
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2061
|
-
|
|
2060
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Tooltip, { label: tooltipText, placement: "top", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2061
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2062
2062
|
{
|
|
2063
2063
|
"aria-label": "Copy",
|
|
2064
2064
|
borderRadius: "full",
|
|
2065
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2065
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "FaRegCopy", boxSize: "xs" }),
|
|
2066
2066
|
size: "sm",
|
|
2067
2067
|
_hover: {
|
|
2068
2068
|
bgColor: "whiteAlpha.500"
|
|
@@ -2099,7 +2099,7 @@ var CodeTabs = ({ code, onCopy, ...rest }) => {
|
|
|
2099
2099
|
onCopy && /* @__PURE__ */ jsxRuntime.jsx(CopyButton, { onCopy, code })
|
|
2100
2100
|
] }),
|
|
2101
2101
|
/* @__PURE__ */ jsxRuntime.jsx(TabPanels, { children: languages.map((language) => /* @__PURE__ */ jsxRuntime.jsx(TabPanel, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2102
|
-
|
|
2102
|
+
chunkJUTI2M3P_js.Code,
|
|
2103
2103
|
{
|
|
2104
2104
|
language,
|
|
2105
2105
|
hideHeader: true,
|
|
@@ -2115,7 +2115,7 @@ var CodeTabs = ({ code, onCopy, ...rest }) => {
|
|
|
2115
2115
|
};
|
|
2116
2116
|
var GUTTER_RATIO = 0.1;
|
|
2117
2117
|
var getContainerWidth = (screenSize) => {
|
|
2118
|
-
const largestBreakpoint = Object.values(
|
|
2118
|
+
const largestBreakpoint = Object.values(chunkJUTI2M3P_js.theme_default.breakpoints).reduce(function(i, j) {
|
|
2119
2119
|
const breakpoint = parseInt(j, 10);
|
|
2120
2120
|
const screenThreshold = screenSize * (1 - GUTTER_RATIO * 2);
|
|
2121
2121
|
return breakpoint < screenThreshold ? Math.max(i, breakpoint) : i;
|
|
@@ -2159,9 +2159,9 @@ var CopyableCode = ({
|
|
|
2159
2159
|
onCopy,
|
|
2160
2160
|
containerProps
|
|
2161
2161
|
}) => {
|
|
2162
|
-
const translate =
|
|
2162
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
2163
2163
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { position: "relative", width: "100%", ...containerProps, children: [
|
|
2164
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2164
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkJUTI2M3P_js.Card, { overflow: "hidden", maxW: "100%", p: 0, width: "100%", children: [
|
|
2165
2165
|
/* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "pre", whiteSpace: "nowrap", overflowX: "scroll", p: 4, pr: 20, children }),
|
|
2166
2166
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2167
2167
|
react.Box,
|
|
@@ -2183,7 +2183,7 @@ var CopyableCode = ({
|
|
|
2183
2183
|
bgColor: "primary.dark",
|
|
2184
2184
|
borderColor: "primary.dark",
|
|
2185
2185
|
size: "xs",
|
|
2186
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2186
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "FaRegCopy", boxSize: "xs" }),
|
|
2187
2187
|
onClick: onCopy,
|
|
2188
2188
|
position: "absolute",
|
|
2189
2189
|
right: 4,
|
|
@@ -2212,7 +2212,7 @@ var ToastIcon = ({ status }) => {
|
|
|
2212
2212
|
boxSize: "md"
|
|
2213
2213
|
}
|
|
2214
2214
|
};
|
|
2215
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2215
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { boxSize: "lg", ...iconProps[status] });
|
|
2216
2216
|
};
|
|
2217
2217
|
var Toast = ({
|
|
2218
2218
|
title,
|
|
@@ -2236,8 +2236,8 @@ var Toast = ({
|
|
|
2236
2236
|
children: [
|
|
2237
2237
|
/* @__PURE__ */ jsxRuntime.jsx(ToastIcon, { status }),
|
|
2238
2238
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { flex: 1, children: [
|
|
2239
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2240
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2239
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.H5, { fontWeight: "bold", mb: 2, children: title }),
|
|
2240
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { color: "inherit", children: description })
|
|
2241
2241
|
] }),
|
|
2242
2242
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2243
2243
|
react.CloseButton,
|
|
@@ -2320,12 +2320,12 @@ var useToast = (props) => {
|
|
|
2320
2320
|
// src/components/CrossPageToasts/CrossPageToasts.tsx
|
|
2321
2321
|
var useSearchParams;
|
|
2322
2322
|
try {
|
|
2323
|
-
useSearchParams =
|
|
2323
|
+
useSearchParams = chunkJUTI2M3P_js.__require("next/navigation").useSearchParams;
|
|
2324
2324
|
} catch {
|
|
2325
2325
|
useSearchParams = () => ({ get: () => null });
|
|
2326
2326
|
}
|
|
2327
2327
|
function CrossPageToasts() {
|
|
2328
|
-
const translate =
|
|
2328
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
2329
2329
|
const pushToast = useToast();
|
|
2330
2330
|
const searchParams = useSearchParams();
|
|
2331
2331
|
const message = searchParams.get("message");
|
|
@@ -2365,7 +2365,7 @@ var inputStyles = {
|
|
|
2365
2365
|
boxSizing: "content-box"
|
|
2366
2366
|
},
|
|
2367
2367
|
_focus: {
|
|
2368
|
-
backgroundColor:
|
|
2368
|
+
backgroundColor: chunkJUTI2M3P_js.theme_default.colors.white
|
|
2369
2369
|
}
|
|
2370
2370
|
};
|
|
2371
2371
|
var TOOLTIP_DISPLAY_TIME = 3e3;
|
|
@@ -2415,8 +2415,8 @@ var DataField = ({
|
|
|
2415
2415
|
};
|
|
2416
2416
|
const PreviewComponent = as ? as : (props) => /* @__PURE__ */ jsxRuntime.jsx("span", { ...props });
|
|
2417
2417
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { children: [
|
|
2418
|
-
label && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2419
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2418
|
+
label && /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { fontWeight: "bold", color: "black", children: label }),
|
|
2419
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { children: isEditable ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2420
2420
|
react.Editable,
|
|
2421
2421
|
{
|
|
2422
2422
|
value,
|
|
@@ -2443,18 +2443,18 @@ var DataField = ({
|
|
|
2443
2443
|
}
|
|
2444
2444
|
),
|
|
2445
2445
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2446
|
-
|
|
2446
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2447
2447
|
{
|
|
2448
2448
|
"aria-label": `Edit ${label}`,
|
|
2449
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2449
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "Edit", color: "gray.400", boxSize: "sm" }),
|
|
2450
2450
|
onClick: handleEditButtonClick
|
|
2451
2451
|
}
|
|
2452
2452
|
),
|
|
2453
2453
|
isCopyable && /* @__PURE__ */ jsxRuntime.jsx(react.Tooltip, { label: "Copied!", isOpen: hasOpenCopyTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2454
|
-
|
|
2454
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2455
2455
|
{
|
|
2456
2456
|
"aria-label": `Copy ${label}`,
|
|
2457
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2457
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "FaRegCopy", color: "gray.400", boxSize: "sm" }),
|
|
2458
2458
|
onClick: handleCopyButtonClick
|
|
2459
2459
|
}
|
|
2460
2460
|
) })
|
|
@@ -2464,10 +2464,10 @@ var DataField = ({
|
|
|
2464
2464
|
value,
|
|
2465
2465
|
" ",
|
|
2466
2466
|
isCopyable && /* @__PURE__ */ jsxRuntime.jsx(react.Tooltip, { label: "Copied!", isOpen: hasOpenCopyTooltip, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2467
|
-
|
|
2467
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2468
2468
|
{
|
|
2469
2469
|
"aria-label": `Copy ${label}`,
|
|
2470
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2470
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "FaRegCopy", color: "gray.400", boxSize: "sm" }),
|
|
2471
2471
|
onClick: handleCopyButtonClick
|
|
2472
2472
|
}
|
|
2473
2473
|
) })
|
|
@@ -2498,7 +2498,7 @@ var RangeDatePicker = ({
|
|
|
2498
2498
|
color: "gray.1500",
|
|
2499
2499
|
fontSize: "md",
|
|
2500
2500
|
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2501
|
-
|
|
2501
|
+
chunkJUTI2M3P_js.Icon,
|
|
2502
2502
|
{
|
|
2503
2503
|
icon: "MdOutlineCalendarToday",
|
|
2504
2504
|
color: "gray.600",
|
|
@@ -2568,7 +2568,7 @@ var SingleDatePicker = ({
|
|
|
2568
2568
|
fontSize: "md",
|
|
2569
2569
|
height: "100%",
|
|
2570
2570
|
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2571
|
-
|
|
2571
|
+
chunkJUTI2M3P_js.Icon,
|
|
2572
2572
|
{
|
|
2573
2573
|
icon: "MdOutlineCalendarToday",
|
|
2574
2574
|
color: "gray.600",
|
|
@@ -2633,7 +2633,7 @@ var FileInput = React7.forwardRef(
|
|
|
2633
2633
|
...rest
|
|
2634
2634
|
}, ref) => {
|
|
2635
2635
|
const theme = react.useTheme();
|
|
2636
|
-
const translate =
|
|
2636
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
2637
2637
|
const handleChange = (event) => {
|
|
2638
2638
|
onChange(event.currentTarget.files);
|
|
2639
2639
|
};
|
|
@@ -2707,16 +2707,16 @@ var FileInput = React7.forwardRef(
|
|
|
2707
2707
|
mb: 1,
|
|
2708
2708
|
w: "fit-content",
|
|
2709
2709
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2710
|
-
|
|
2710
|
+
chunkJUTI2M3P_js.Icon,
|
|
2711
2711
|
{
|
|
2712
|
-
icon:
|
|
2712
|
+
icon: chunkJUTI2M3P_js.IconTypes.LuUpload,
|
|
2713
2713
|
color: bgImage ? theme.colors.gray[1200] : theme.colors.gray[800]
|
|
2714
2714
|
}
|
|
2715
2715
|
)
|
|
2716
2716
|
}
|
|
2717
2717
|
),
|
|
2718
2718
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2719
|
-
|
|
2719
|
+
chunkJUTI2M3P_js.Text,
|
|
2720
2720
|
{
|
|
2721
2721
|
color: bgImage ? theme.colors.gray[1200] : theme.colors.gray[800],
|
|
2722
2722
|
children: fileInputLabel || translate("upload_your_file")
|
|
@@ -2812,31 +2812,31 @@ var FileItem = ({
|
|
|
2812
2812
|
children: [
|
|
2813
2813
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { w: "60%", alignItems: "center", gap: 2, children: [
|
|
2814
2814
|
/* @__PURE__ */ jsxRuntime.jsx(react.Box, { minW: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2815
|
-
|
|
2815
|
+
chunkJUTI2M3P_js.Icon,
|
|
2816
2816
|
{
|
|
2817
|
-
icon:
|
|
2817
|
+
icon: chunkJUTI2M3P_js.IconTypes.CiFileOn,
|
|
2818
2818
|
color: error ? errorColor : "gray.800"
|
|
2819
2819
|
}
|
|
2820
2820
|
) }),
|
|
2821
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2821
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { isTruncated: true, color: error ? errorColor : void 0, children: fileName })
|
|
2822
2822
|
] }),
|
|
2823
2823
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "center", gap: 2, flex: 1, children: [
|
|
2824
|
-
error ? /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2825
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2824
|
+
error ? /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Tooltip, { label: error, placement: "top", shouldWrapChildren: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "MdError", color: errorColor }) }) }) : /* @__PURE__ */ jsxRuntime.jsx(react.Box, { w: "100%", children: isUploadingFile && /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "center", justify: "flex-end", gap: 2, children: [
|
|
2825
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkJUTI2M3P_js.Subtext, { children: [
|
|
2826
2826
|
progress,
|
|
2827
2827
|
"%"
|
|
2828
2828
|
] }),
|
|
2829
2829
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { w: "100%", minW: 3, maxW: 20, value: progress }),
|
|
2830
2830
|
/* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "xs" }),
|
|
2831
2831
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2832
|
-
|
|
2832
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2833
2833
|
{
|
|
2834
2834
|
"aria-label": "remove uploading file button",
|
|
2835
2835
|
onClick: onFileDelete,
|
|
2836
2836
|
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2837
|
-
|
|
2837
|
+
chunkJUTI2M3P_js.Icon,
|
|
2838
2838
|
{
|
|
2839
|
-
icon:
|
|
2839
|
+
icon: chunkJUTI2M3P_js.IconTypes.IoClose,
|
|
2840
2840
|
color: theme.colors.gray[600],
|
|
2841
2841
|
boxSize: "lg"
|
|
2842
2842
|
}
|
|
@@ -2847,16 +2847,16 @@ var FileItem = ({
|
|
|
2847
2847
|
)
|
|
2848
2848
|
] }) }),
|
|
2849
2849
|
!isUploadingFile && isFileUploadComplete && /* @__PURE__ */ jsxRuntime.jsxs(React7.Fragment, { children: [
|
|
2850
|
-
fileSize && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2850
|
+
fileSize && /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Subtitle, { mr: 4, children: formatFileSize(fileSize) }),
|
|
2851
2851
|
onFileDownload && !error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2852
|
-
|
|
2852
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2853
2853
|
{
|
|
2854
2854
|
"aria-label": "download uploaded file button",
|
|
2855
2855
|
onClick: onFileDownload,
|
|
2856
2856
|
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2857
|
-
|
|
2857
|
+
chunkJUTI2M3P_js.Icon,
|
|
2858
2858
|
{
|
|
2859
|
-
icon:
|
|
2859
|
+
icon: chunkJUTI2M3P_js.IconTypes.LuDownload,
|
|
2860
2860
|
color: theme.colors.gray[800]
|
|
2861
2861
|
}
|
|
2862
2862
|
),
|
|
@@ -2864,11 +2864,11 @@ var FileItem = ({
|
|
|
2864
2864
|
}
|
|
2865
2865
|
),
|
|
2866
2866
|
onFileDelete && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2867
|
-
|
|
2867
|
+
chunkJUTI2M3P_js.IconButton,
|
|
2868
2868
|
{
|
|
2869
2869
|
"aria-label": "remove uploaded file button",
|
|
2870
2870
|
onClick: onFileDelete,
|
|
2871
|
-
icon: isDeleting ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "xs" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2871
|
+
icon: isDeleting ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { size: "xs" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: chunkJUTI2M3P_js.IconTypes.FaRegTrashAlt, boxSize: "sm" }),
|
|
2872
2872
|
size: "xs",
|
|
2873
2873
|
isDisabled: isDeleting
|
|
2874
2874
|
}
|
|
@@ -2893,7 +2893,7 @@ var FileList = ({
|
|
|
2893
2893
|
/* @__PURE__ */ new Set()
|
|
2894
2894
|
);
|
|
2895
2895
|
const theme = react.useTheme();
|
|
2896
|
-
const translate =
|
|
2896
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
2897
2897
|
const shouldShowLoadMoreButton = files && files.length > currentVisibleCount;
|
|
2898
2898
|
const handleFileLoadMore = () => {
|
|
2899
2899
|
setCurrentVisibleCount((prev) => prev + 3);
|
|
@@ -2947,7 +2947,7 @@ var FileList = ({
|
|
|
2947
2947
|
display: "flex",
|
|
2948
2948
|
gap: 1,
|
|
2949
2949
|
children: [
|
|
2950
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2950
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkJUTI2M3P_js.Subtitle, { color: "gray.600", children: [
|
|
2951
2951
|
translate("see_more"),
|
|
2952
2952
|
" (",
|
|
2953
2953
|
visibleCount,
|
|
@@ -2956,9 +2956,9 @@ var FileList = ({
|
|
|
2956
2956
|
")"
|
|
2957
2957
|
] }),
|
|
2958
2958
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2959
|
-
|
|
2959
|
+
chunkJUTI2M3P_js.Icon,
|
|
2960
2960
|
{
|
|
2961
|
-
icon:
|
|
2961
|
+
icon: chunkJUTI2M3P_js.IconTypes.IoChevronDownOutline,
|
|
2962
2962
|
color: theme.colors.gray[600]
|
|
2963
2963
|
}
|
|
2964
2964
|
)
|
|
@@ -3158,7 +3158,7 @@ var GuideCue = ({
|
|
|
3158
3158
|
/* @__PURE__ */ jsxRuntime.jsx(react.PopoverCloseButton, { color: "gray.600" }),
|
|
3159
3159
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { py: 4, px: 2, color: "black", children: [
|
|
3160
3160
|
cueRefs.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3161
|
-
|
|
3161
|
+
chunkJUTI2M3P_js.Subtext,
|
|
3162
3162
|
{
|
|
3163
3163
|
color: "primary.dark",
|
|
3164
3164
|
opacity: 0.5,
|
|
@@ -3167,8 +3167,8 @@ var GuideCue = ({
|
|
|
3167
3167
|
children: `${index + 1} / ${cueRefs.length}`
|
|
3168
3168
|
}
|
|
3169
3169
|
),
|
|
3170
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3171
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3170
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Subtitle, { color: "primary.dark", fontWeight: "bold", mb: 1, children: title }),
|
|
3171
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Subtext, { color: "gray.800", fontWeight: "normal", children: description })
|
|
3172
3172
|
] }),
|
|
3173
3173
|
/* @__PURE__ */ jsxRuntime.jsx(react.Flex, { justifyContent: "flex-end", gap: 2, w: "100%", p: 3, pt: 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3174
3174
|
Button,
|
|
@@ -3179,7 +3179,7 @@ var GuideCue = ({
|
|
|
3179
3179
|
w: "fit-content",
|
|
3180
3180
|
variant: "secondary",
|
|
3181
3181
|
ref: ctaRef,
|
|
3182
|
-
rightIcon: currentIndex < cueRefs.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3182
|
+
rightIcon: currentIndex < cueRefs.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronForward", boxSize: "xs" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "FaCheck", boxSize: "xs" }),
|
|
3183
3183
|
children: currentIndex < cueRefs.length - 1 ? "Next" : `Got it!`
|
|
3184
3184
|
}
|
|
3185
3185
|
) })
|
|
@@ -3206,7 +3206,7 @@ var InfoSprinkle = ({
|
|
|
3206
3206
|
_hover: {
|
|
3207
3207
|
opacity: 1
|
|
3208
3208
|
},
|
|
3209
|
-
children: icon || /* @__PURE__ */ jsxRuntime.jsx(
|
|
3209
|
+
children: icon || /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: chunkJUTI2M3P_js.IconTypes.LuInfo, boxSize: "sm" })
|
|
3210
3210
|
}
|
|
3211
3211
|
) }),
|
|
3212
3212
|
/* @__PURE__ */ jsxRuntime.jsx(react.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.PopoverContent, { boxShadow: "2xl", w: "fit-content", children: [
|
|
@@ -3466,6 +3466,7 @@ Input3.displayName = "Input";
|
|
|
3466
3466
|
var LineGraph = ({
|
|
3467
3467
|
data = [],
|
|
3468
3468
|
dataKeys,
|
|
3469
|
+
displayLegend = true,
|
|
3469
3470
|
...rest
|
|
3470
3471
|
}) => {
|
|
3471
3472
|
const theme = react.useTheme();
|
|
@@ -3519,7 +3520,7 @@ var LineGraph = ({
|
|
|
3519
3520
|
}
|
|
3520
3521
|
}
|
|
3521
3522
|
),
|
|
3522
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3523
|
+
displayLegend && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3523
3524
|
recharts.Legend,
|
|
3524
3525
|
{
|
|
3525
3526
|
wrapperStyle: {
|
|
@@ -3545,17 +3546,17 @@ var LineGraph = ({
|
|
|
3545
3546
|
|
|
3546
3547
|
// src/components/Link/Link.styles.ts
|
|
3547
3548
|
var linkTextStyles = {
|
|
3548
|
-
color:
|
|
3549
|
+
color: chunkJUTI2M3P_js.theme_default.colors.blue[700],
|
|
3549
3550
|
fontWeight: "500",
|
|
3550
3551
|
position: "relative",
|
|
3551
3552
|
_hover: {
|
|
3552
3553
|
textDecoration: "none",
|
|
3553
|
-
color:
|
|
3554
|
+
color: chunkJUTI2M3P_js.theme_default.colors.blue[900]
|
|
3554
3555
|
}
|
|
3555
3556
|
};
|
|
3556
3557
|
var NextLink2;
|
|
3557
3558
|
try {
|
|
3558
|
-
NextLink2 =
|
|
3559
|
+
NextLink2 = chunkJUTI2M3P_js.__require("next/link").default;
|
|
3559
3560
|
} catch {
|
|
3560
3561
|
NextLink2 = null;
|
|
3561
3562
|
}
|
|
@@ -3591,10 +3592,10 @@ var PageLoader = ({
|
|
|
3591
3592
|
justify: "center",
|
|
3592
3593
|
opacity: isLoading ? 0.5 : 0,
|
|
3593
3594
|
transition: "0.3s opacity ease",
|
|
3594
|
-
bg:
|
|
3595
|
+
bg: chunkJUTI2M3P_js.theme_default.colors.white,
|
|
3595
3596
|
zIndex: 9999,
|
|
3596
3597
|
...rest,
|
|
3597
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(react.Box, { position: "relative", children: /* @__PURE__ */ jsxRuntime.jsx(BounceLoader__default.default, { color:
|
|
3598
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(react.Box, { position: "relative", children: /* @__PURE__ */ jsxRuntime.jsx(BounceLoader__default.default, { color: chunkJUTI2M3P_js.theme_default.colors.blue[500], style: { zIndex: 999 } }) })
|
|
3598
3599
|
}
|
|
3599
3600
|
);
|
|
3600
3601
|
};
|
|
@@ -3740,7 +3741,7 @@ var MaxLengthIndicator = ({
|
|
|
3740
3741
|
React7.useEffect(() => {
|
|
3741
3742
|
setCurrentValue(value);
|
|
3742
3743
|
}, [value]);
|
|
3743
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3744
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkJUTI2M3P_js.Subtitle, { fontSize: "sm", color: "gray.600", ...rest, children: [
|
|
3744
3745
|
currentValue,
|
|
3745
3746
|
"/",
|
|
3746
3747
|
maxLength
|
|
@@ -3965,7 +3966,7 @@ var isMonthDisabled = (month, year, minMonth, maxMonth) => {
|
|
|
3965
3966
|
return false;
|
|
3966
3967
|
};
|
|
3967
3968
|
|
|
3968
|
-
// src/components/
|
|
3969
|
+
// src/components/MonthPicker/_utils/hasEnabledMonthsInYear.ts
|
|
3969
3970
|
var hasEnabledMonthsInYear = (year, minMonth, maxMonth) => {
|
|
3970
3971
|
for (let month = 0; month < 12; month++) {
|
|
3971
3972
|
if (!isMonthDisabled(month, year, minMonth, maxMonth)) {
|
|
@@ -4106,9 +4107,10 @@ var MonthButton = React7.memo(
|
|
|
4106
4107
|
}
|
|
4107
4108
|
);
|
|
4108
4109
|
MonthButton.displayName = "MonthButton";
|
|
4109
|
-
var
|
|
4110
|
+
var MonthPicker = ({
|
|
4110
4111
|
selectedRange,
|
|
4111
4112
|
onChange,
|
|
4113
|
+
isRange = true,
|
|
4112
4114
|
minMonth,
|
|
4113
4115
|
maxMonth,
|
|
4114
4116
|
disabled = false,
|
|
@@ -4122,7 +4124,7 @@ var MonthRangePicker = ({
|
|
|
4122
4124
|
}) => {
|
|
4123
4125
|
const { isOpen, onOpen, onClose } = react.useDisclosure();
|
|
4124
4126
|
const { language: locale } = useLocale_default();
|
|
4125
|
-
const translate =
|
|
4127
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
4126
4128
|
const [currentYear, setCurrentYear] = React7.useState(
|
|
4127
4129
|
() => (/* @__PURE__ */ new Date()).getFullYear()
|
|
4128
4130
|
);
|
|
@@ -4151,11 +4153,17 @@ var MonthRangePicker = ({
|
|
|
4151
4153
|
const start = dateFns.format(startDate, effectiveDateFormat, {
|
|
4152
4154
|
locale: dateFnsLocale
|
|
4153
4155
|
});
|
|
4154
|
-
return `${start}
|
|
4156
|
+
return isRange ? `${start} -` : start;
|
|
4155
4157
|
}
|
|
4156
4158
|
}
|
|
4157
4159
|
return "";
|
|
4158
|
-
}, [
|
|
4160
|
+
}, [
|
|
4161
|
+
selectedRange,
|
|
4162
|
+
selectionStart,
|
|
4163
|
+
effectiveDateFormat,
|
|
4164
|
+
dateFnsLocale,
|
|
4165
|
+
isRange
|
|
4166
|
+
]);
|
|
4159
4167
|
const canNavigateToPrevYear = React7.useMemo(() => {
|
|
4160
4168
|
return hasEnabledMonthsInYear(currentYear - 1, minMonth, maxMonth);
|
|
4161
4169
|
}, [currentYear, minMonth, maxMonth]);
|
|
@@ -4175,6 +4183,15 @@ var MonthRangePicker = ({
|
|
|
4175
4183
|
(month, year) => {
|
|
4176
4184
|
if (isMonthDisabled(month, year, minMonth, maxMonth)) return;
|
|
4177
4185
|
const clickedMonth = new Date(year, month, 1);
|
|
4186
|
+
if (!isRange) {
|
|
4187
|
+
onChange?.({
|
|
4188
|
+
startMonth: clickedMonth,
|
|
4189
|
+
endMonth: null
|
|
4190
|
+
});
|
|
4191
|
+
setSelectionStart(null);
|
|
4192
|
+
onClose();
|
|
4193
|
+
return;
|
|
4194
|
+
}
|
|
4178
4195
|
if (!selectionStart) {
|
|
4179
4196
|
if (selectedRange) {
|
|
4180
4197
|
onChange?.(null);
|
|
@@ -4197,7 +4214,15 @@ var MonthRangePicker = ({
|
|
|
4197
4214
|
onClose();
|
|
4198
4215
|
}
|
|
4199
4216
|
},
|
|
4200
|
-
[
|
|
4217
|
+
[
|
|
4218
|
+
selectionStart,
|
|
4219
|
+
selectedRange,
|
|
4220
|
+
onChange,
|
|
4221
|
+
onClose,
|
|
4222
|
+
minMonth,
|
|
4223
|
+
maxMonth,
|
|
4224
|
+
isRange
|
|
4225
|
+
]
|
|
4201
4226
|
);
|
|
4202
4227
|
const handleMonthHover = React7.useCallback((month, year) => {
|
|
4203
4228
|
setHoveredMonth({ month, year });
|
|
@@ -4219,10 +4244,10 @@ var MonthRangePicker = ({
|
|
|
4219
4244
|
onClick: () => handleYearChange("prev"),
|
|
4220
4245
|
disabled: !canNavigateToPrevYear,
|
|
4221
4246
|
opacity: !canNavigateToPrevYear ? 0.4 : 1,
|
|
4222
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4247
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoIosArrowBack" })
|
|
4223
4248
|
}
|
|
4224
4249
|
),
|
|
4225
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4250
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Text, { fontWeight: "semibold", fontSize: "lg", children: currentYear }),
|
|
4226
4251
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4227
4252
|
react.Button,
|
|
4228
4253
|
{
|
|
@@ -4231,7 +4256,7 @@ var MonthRangePicker = ({
|
|
|
4231
4256
|
onClick: () => handleYearChange("next"),
|
|
4232
4257
|
disabled: !canNavigateToNextYear,
|
|
4233
4258
|
opacity: !canNavigateToNextYear ? 0.4 : 1,
|
|
4234
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4259
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronForward" })
|
|
4235
4260
|
}
|
|
4236
4261
|
)
|
|
4237
4262
|
] }),
|
|
@@ -4265,7 +4290,7 @@ var MonthRangePicker = ({
|
|
|
4265
4290
|
children: [
|
|
4266
4291
|
/* @__PURE__ */ jsxRuntime.jsx(react.PopoverTrigger, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.InputGroup, { children: [
|
|
4267
4292
|
/* @__PURE__ */ jsxRuntime.jsx(react.InputLeftElement, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4268
|
-
|
|
4293
|
+
chunkJUTI2M3P_js.Icon,
|
|
4269
4294
|
{
|
|
4270
4295
|
icon: "MdOutlineCalendarToday",
|
|
4271
4296
|
boxSize: "xs",
|
|
@@ -4358,16 +4383,16 @@ var MenuList2 = ({
|
|
|
4358
4383
|
return /* @__PURE__ */ jsxRuntime.jsx(DefaultMenuList, { ...props, innerRef: mergeRefs([innerRef, menuListRef]) });
|
|
4359
4384
|
};
|
|
4360
4385
|
var placeholderStyles = {
|
|
4361
|
-
color:
|
|
4362
|
-
fontSize:
|
|
4363
|
-
fontWeight:
|
|
4386
|
+
color: chunkJUTI2M3P_js.theme_default.colors.gray[800],
|
|
4387
|
+
fontSize: chunkJUTI2M3P_js.theme_default.fontSizes.p,
|
|
4388
|
+
fontWeight: chunkJUTI2M3P_js.theme_default.fontWeights.semibold
|
|
4364
4389
|
};
|
|
4365
4390
|
var menuStyles = {
|
|
4366
4391
|
width: "max-content",
|
|
4367
4392
|
minWidth: "100%",
|
|
4368
|
-
backgroundColor:
|
|
4369
|
-
borderRadius:
|
|
4370
|
-
border: `1px solid ${
|
|
4393
|
+
backgroundColor: chunkJUTI2M3P_js.theme_default.colors.white,
|
|
4394
|
+
borderRadius: chunkJUTI2M3P_js.theme_default.radii.md,
|
|
4395
|
+
border: `1px solid ${chunkJUTI2M3P_js.theme_default.colors.gray[400]}`,
|
|
4371
4396
|
marginTop: 3,
|
|
4372
4397
|
boxShadow: "0px 5px 20px 0px rgba(0, 0, 0, 0.10)",
|
|
4373
4398
|
zIndex: 9
|
|
@@ -4378,39 +4403,39 @@ var optionStyles = ({
|
|
|
4378
4403
|
isSelected
|
|
4379
4404
|
}) => ({
|
|
4380
4405
|
cursor: isDisabled ? "not-allowed" : "pointer",
|
|
4381
|
-
height:
|
|
4406
|
+
height: chunkJUTI2M3P_js.theme_default.sizes[10],
|
|
4382
4407
|
margin: "16px 0",
|
|
4383
4408
|
// Use direct spacing value instead of theme.spacing[4]
|
|
4384
|
-
borderRadius:
|
|
4385
|
-
fontSize:
|
|
4386
|
-
backgroundColor: isSelected || isFocused || isDisabled ?
|
|
4387
|
-
color: isSelected ?
|
|
4388
|
-
fontWeight: isSelected ?
|
|
4409
|
+
borderRadius: chunkJUTI2M3P_js.theme_default.radii.sm,
|
|
4410
|
+
fontSize: chunkJUTI2M3P_js.theme_default.fontSizes.p,
|
|
4411
|
+
backgroundColor: isSelected || isFocused || isDisabled ? chunkJUTI2M3P_js.theme_default.colors.gray[50] : chunkJUTI2M3P_js.theme_default.colors.white,
|
|
4412
|
+
color: isSelected ? chunkJUTI2M3P_js.theme_default.colors.gray[1500] : isDisabled ? chunkJUTI2M3P_js.theme_default.colors.gray[800] : chunkJUTI2M3P_js.theme_default.colors.gray[1200],
|
|
4413
|
+
fontWeight: isSelected ? chunkJUTI2M3P_js.theme_default.fontWeights.semibold : chunkJUTI2M3P_js.theme_default.fontWeights.normal,
|
|
4389
4414
|
"&:hover": {
|
|
4390
|
-
backgroundColor:
|
|
4415
|
+
backgroundColor: chunkJUTI2M3P_js.theme_default.colors.gray[50]
|
|
4391
4416
|
}
|
|
4392
4417
|
});
|
|
4393
4418
|
var controlStyles = {
|
|
4394
|
-
borderRadius:
|
|
4419
|
+
borderRadius: chunkJUTI2M3P_js.theme_default.radii.md,
|
|
4395
4420
|
cursor: "pointer",
|
|
4396
4421
|
maxWidth: "100%",
|
|
4397
4422
|
height: "100%",
|
|
4398
|
-
color:
|
|
4399
|
-
fontSize:
|
|
4400
|
-
fontWeight:
|
|
4423
|
+
color: chunkJUTI2M3P_js.theme_default.colors.gray[1200],
|
|
4424
|
+
fontSize: chunkJUTI2M3P_js.theme_default.fontSizes.p,
|
|
4425
|
+
fontWeight: chunkJUTI2M3P_js.theme_default.fontWeights.semibold,
|
|
4401
4426
|
paddingLeft: 4,
|
|
4402
4427
|
paddingRight: 3,
|
|
4403
|
-
border: `1px solid ${
|
|
4428
|
+
border: `1px solid ${chunkJUTI2M3P_js.theme_default.colors.gray[400]}`,
|
|
4404
4429
|
boxShadow: "none"
|
|
4405
4430
|
};
|
|
4406
4431
|
var getControlVariantStyles = (state, variant) => {
|
|
4407
4432
|
const primaryColor = react.useToken(
|
|
4408
4433
|
"colors",
|
|
4409
|
-
|
|
4434
|
+
chunkJUTI2M3P_js.theme_default.semanticTokens.colors.primary.main
|
|
4410
4435
|
);
|
|
4411
4436
|
const dangerColor = react.useToken(
|
|
4412
4437
|
"colors",
|
|
4413
|
-
|
|
4438
|
+
chunkJUTI2M3P_js.theme_default.semanticTokens.colors.danger.main
|
|
4414
4439
|
);
|
|
4415
4440
|
switch (variant) {
|
|
4416
4441
|
case "danger":
|
|
@@ -4420,8 +4445,8 @@ var getControlVariantStyles = (state, variant) => {
|
|
|
4420
4445
|
};
|
|
4421
4446
|
default:
|
|
4422
4447
|
return {
|
|
4423
|
-
fontWeight:
|
|
4424
|
-
border: `1px solid ${state.isFocused ? primaryColor :
|
|
4448
|
+
fontWeight: chunkJUTI2M3P_js.theme_default.fontWeights.semibold,
|
|
4449
|
+
border: `1px solid ${state.isFocused ? primaryColor : chunkJUTI2M3P_js.theme_default.colors.gray[400]}`,
|
|
4425
4450
|
boxShadow: state.isFocused ? `0 0 0 1px ${primaryColor} !important` : "none",
|
|
4426
4451
|
"&:hover": state.isFocused ? {
|
|
4427
4452
|
borderColor: primaryColor
|
|
@@ -4747,7 +4772,7 @@ var Pagination = ({
|
|
|
4747
4772
|
...rest
|
|
4748
4773
|
}) => {
|
|
4749
4774
|
const theme = react.useTheme();
|
|
4750
|
-
const translate =
|
|
4775
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
4751
4776
|
const [uncontrolledCurrentPage, setUncontrolledCurrentPage] = React7.useState(1);
|
|
4752
4777
|
const maxPage = React7.useMemo(
|
|
4753
4778
|
() => Math.ceil(numTotalItems / itemsPerPage),
|
|
@@ -4805,24 +4830,24 @@ var Pagination = ({
|
|
|
4805
4830
|
onChange: handleItemsPerPageOptionChange
|
|
4806
4831
|
}
|
|
4807
4832
|
),
|
|
4808
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4833
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Subtext, { children: translate("pagination_items_per_page") })
|
|
4809
4834
|
] }) }),
|
|
4810
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4835
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Subtitle, { children: translate("pagination_range_text", {
|
|
4811
4836
|
range_start: (currentPage - 1) * itemsPerPage + 1,
|
|
4812
4837
|
range_end: Math.min(numTotalItems, currentPage * itemsPerPage),
|
|
4813
4838
|
num_total_items: numTotalItems
|
|
4814
4839
|
}) }) }),
|
|
4815
4840
|
/* @__PURE__ */ jsxRuntime.jsx(react.Flex, { align: "center", gap: 2, children: maxPage > 1 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4816
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4841
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkJUTI2M3P_js.Subtitle, { children: [
|
|
4817
4842
|
currentPage,
|
|
4818
4843
|
" / ",
|
|
4819
4844
|
maxPage
|
|
4820
4845
|
] }),
|
|
4821
4846
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "center", children: [
|
|
4822
4847
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4823
|
-
|
|
4848
|
+
chunkJUTI2M3P_js.IconButton,
|
|
4824
4849
|
{
|
|
4825
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4850
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoIosArrowBack", boxSize: "sm" }),
|
|
4826
4851
|
"aria-label": translate("previous"),
|
|
4827
4852
|
onClick: handleBack,
|
|
4828
4853
|
isDisabled: currentPage <= 1,
|
|
@@ -4830,9 +4855,9 @@ var Pagination = ({
|
|
|
4830
4855
|
}
|
|
4831
4856
|
),
|
|
4832
4857
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4833
|
-
|
|
4858
|
+
chunkJUTI2M3P_js.IconButton,
|
|
4834
4859
|
{
|
|
4835
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4860
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronForward", boxSize: "sm" }),
|
|
4836
4861
|
"aria-label": translate("go_next_page_button"),
|
|
4837
4862
|
onClick: handleNext,
|
|
4838
4863
|
isDisabled: currentPage >= maxPage,
|
|
@@ -4856,10 +4881,10 @@ var PasswordInput = React7.forwardRef(
|
|
|
4856
4881
|
...rest,
|
|
4857
4882
|
type: show ? "text" : "password",
|
|
4858
4883
|
rightIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4859
|
-
|
|
4884
|
+
chunkJUTI2M3P_js.IconButton,
|
|
4860
4885
|
{
|
|
4861
4886
|
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4862
|
-
|
|
4887
|
+
chunkJUTI2M3P_js.Icon,
|
|
4863
4888
|
{
|
|
4864
4889
|
icon: show ? "FaRegEye" : "FaRegEyeSlash",
|
|
4865
4890
|
fill: "gray.900",
|
|
@@ -5062,7 +5087,7 @@ var RadialProgress = ({
|
|
|
5062
5087
|
transform: "translate(-50%, -50%)",
|
|
5063
5088
|
textAlign: "center",
|
|
5064
5089
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5065
|
-
|
|
5090
|
+
chunkJUTI2M3P_js.Text,
|
|
5066
5091
|
{
|
|
5067
5092
|
fontSize: `${fontSize}px`,
|
|
5068
5093
|
fontWeight: "500",
|
|
@@ -5150,11 +5175,11 @@ var SeeMoreButton = ({
|
|
|
5150
5175
|
maxCount,
|
|
5151
5176
|
...rest
|
|
5152
5177
|
}) => {
|
|
5153
|
-
const translate =
|
|
5178
|
+
const translate = chunkJUTI2M3P_js.useTranslate();
|
|
5154
5179
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5155
5180
|
react.Button,
|
|
5156
5181
|
{
|
|
5157
|
-
rightIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5182
|
+
rightIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkJUTI2M3P_js.Icon, { icon: "IoChevronDownOutline", color: "inherit" }),
|
|
5158
5183
|
...seeMoreButtonStyles,
|
|
5159
5184
|
...rest,
|
|
5160
5185
|
children: [
|
|
@@ -5405,107 +5430,107 @@ object-assign/index.js:
|
|
|
5405
5430
|
|
|
5406
5431
|
Object.defineProperty(exports, "Card", {
|
|
5407
5432
|
enumerable: true,
|
|
5408
|
-
get: function () { return
|
|
5433
|
+
get: function () { return chunkJUTI2M3P_js.Card; }
|
|
5409
5434
|
});
|
|
5410
5435
|
Object.defineProperty(exports, "Code", {
|
|
5411
5436
|
enumerable: true,
|
|
5412
|
-
get: function () { return
|
|
5437
|
+
get: function () { return chunkJUTI2M3P_js.Code; }
|
|
5413
5438
|
});
|
|
5414
5439
|
Object.defineProperty(exports, "ExpandingTr", {
|
|
5415
5440
|
enumerable: true,
|
|
5416
|
-
get: function () { return
|
|
5441
|
+
get: function () { return chunkJUTI2M3P_js.ExpandingTr; }
|
|
5417
5442
|
});
|
|
5418
5443
|
Object.defineProperty(exports, "H1", {
|
|
5419
5444
|
enumerable: true,
|
|
5420
|
-
get: function () { return
|
|
5445
|
+
get: function () { return chunkJUTI2M3P_js.H1; }
|
|
5421
5446
|
});
|
|
5422
5447
|
Object.defineProperty(exports, "H2", {
|
|
5423
5448
|
enumerable: true,
|
|
5424
|
-
get: function () { return
|
|
5449
|
+
get: function () { return chunkJUTI2M3P_js.H2; }
|
|
5425
5450
|
});
|
|
5426
5451
|
Object.defineProperty(exports, "H3", {
|
|
5427
5452
|
enumerable: true,
|
|
5428
|
-
get: function () { return
|
|
5453
|
+
get: function () { return chunkJUTI2M3P_js.H3; }
|
|
5429
5454
|
});
|
|
5430
5455
|
Object.defineProperty(exports, "H4", {
|
|
5431
5456
|
enumerable: true,
|
|
5432
|
-
get: function () { return
|
|
5457
|
+
get: function () { return chunkJUTI2M3P_js.H4; }
|
|
5433
5458
|
});
|
|
5434
5459
|
Object.defineProperty(exports, "H5", {
|
|
5435
5460
|
enumerable: true,
|
|
5436
|
-
get: function () { return
|
|
5461
|
+
get: function () { return chunkJUTI2M3P_js.H5; }
|
|
5437
5462
|
});
|
|
5438
5463
|
Object.defineProperty(exports, "Icon", {
|
|
5439
5464
|
enumerable: true,
|
|
5440
|
-
get: function () { return
|
|
5465
|
+
get: function () { return chunkJUTI2M3P_js.Icon; }
|
|
5441
5466
|
});
|
|
5442
5467
|
Object.defineProperty(exports, "IconButton", {
|
|
5443
5468
|
enumerable: true,
|
|
5444
|
-
get: function () { return
|
|
5469
|
+
get: function () { return chunkJUTI2M3P_js.IconButton; }
|
|
5445
5470
|
});
|
|
5446
5471
|
Object.defineProperty(exports, "IconTypes", {
|
|
5447
5472
|
enumerable: true,
|
|
5448
|
-
get: function () { return
|
|
5473
|
+
get: function () { return chunkJUTI2M3P_js.IconTypes; }
|
|
5449
5474
|
});
|
|
5450
5475
|
Object.defineProperty(exports, "InlineCode", {
|
|
5451
5476
|
enumerable: true,
|
|
5452
|
-
get: function () { return
|
|
5477
|
+
get: function () { return chunkJUTI2M3P_js.InlineCode; }
|
|
5453
5478
|
});
|
|
5454
5479
|
Object.defineProperty(exports, "Markdown", {
|
|
5455
5480
|
enumerable: true,
|
|
5456
|
-
get: function () { return
|
|
5481
|
+
get: function () { return chunkJUTI2M3P_js.Markdown; }
|
|
5457
5482
|
});
|
|
5458
5483
|
Object.defineProperty(exports, "SegmentedControl", {
|
|
5459
5484
|
enumerable: true,
|
|
5460
|
-
get: function () { return
|
|
5485
|
+
get: function () { return chunkJUTI2M3P_js.SegmentedControl; }
|
|
5461
5486
|
});
|
|
5462
5487
|
Object.defineProperty(exports, "Subtext", {
|
|
5463
5488
|
enumerable: true,
|
|
5464
|
-
get: function () { return
|
|
5489
|
+
get: function () { return chunkJUTI2M3P_js.Subtext; }
|
|
5465
5490
|
});
|
|
5466
5491
|
Object.defineProperty(exports, "Subtitle", {
|
|
5467
5492
|
enumerable: true,
|
|
5468
|
-
get: function () { return
|
|
5493
|
+
get: function () { return chunkJUTI2M3P_js.Subtitle; }
|
|
5469
5494
|
});
|
|
5470
5495
|
Object.defineProperty(exports, "Table", {
|
|
5471
5496
|
enumerable: true,
|
|
5472
|
-
get: function () { return
|
|
5497
|
+
get: function () { return chunkJUTI2M3P_js.Table; }
|
|
5473
5498
|
});
|
|
5474
5499
|
Object.defineProperty(exports, "TableContainer", {
|
|
5475
5500
|
enumerable: true,
|
|
5476
|
-
get: function () { return
|
|
5501
|
+
get: function () { return chunkJUTI2M3P_js.TableContainer; }
|
|
5477
5502
|
});
|
|
5478
5503
|
Object.defineProperty(exports, "Tbody", {
|
|
5479
5504
|
enumerable: true,
|
|
5480
|
-
get: function () { return
|
|
5505
|
+
get: function () { return chunkJUTI2M3P_js.Tbody; }
|
|
5481
5506
|
});
|
|
5482
5507
|
Object.defineProperty(exports, "Td", {
|
|
5483
5508
|
enumerable: true,
|
|
5484
|
-
get: function () { return
|
|
5509
|
+
get: function () { return chunkJUTI2M3P_js.Td; }
|
|
5485
5510
|
});
|
|
5486
5511
|
Object.defineProperty(exports, "Text", {
|
|
5487
5512
|
enumerable: true,
|
|
5488
|
-
get: function () { return
|
|
5513
|
+
get: function () { return chunkJUTI2M3P_js.Text; }
|
|
5489
5514
|
});
|
|
5490
5515
|
Object.defineProperty(exports, "Th", {
|
|
5491
5516
|
enumerable: true,
|
|
5492
|
-
get: function () { return
|
|
5517
|
+
get: function () { return chunkJUTI2M3P_js.Th; }
|
|
5493
5518
|
});
|
|
5494
5519
|
Object.defineProperty(exports, "Thead", {
|
|
5495
5520
|
enumerable: true,
|
|
5496
|
-
get: function () { return
|
|
5521
|
+
get: function () { return chunkJUTI2M3P_js.Thead; }
|
|
5497
5522
|
});
|
|
5498
5523
|
Object.defineProperty(exports, "Tooltip", {
|
|
5499
5524
|
enumerable: true,
|
|
5500
|
-
get: function () { return
|
|
5525
|
+
get: function () { return chunkJUTI2M3P_js.Tooltip; }
|
|
5501
5526
|
});
|
|
5502
5527
|
Object.defineProperty(exports, "Tr", {
|
|
5503
5528
|
enumerable: true,
|
|
5504
|
-
get: function () { return
|
|
5529
|
+
get: function () { return chunkJUTI2M3P_js.Tr; }
|
|
5505
5530
|
});
|
|
5506
5531
|
Object.defineProperty(exports, "baseMarkdownComponents", {
|
|
5507
5532
|
enumerable: true,
|
|
5508
|
-
get: function () { return
|
|
5533
|
+
get: function () { return chunkJUTI2M3P_js.baseMarkdownComponents; }
|
|
5509
5534
|
});
|
|
5510
5535
|
Object.defineProperty(exports, "AccordionPanel", {
|
|
5511
5536
|
enumerable: true,
|
|
@@ -5558,7 +5583,7 @@ exports.ModalContent = ModalContent;
|
|
|
5558
5583
|
exports.ModalFooter = ModalFooter;
|
|
5559
5584
|
exports.ModalHeader = ModalHeader;
|
|
5560
5585
|
exports.ModalOverlay = ModalOverlay;
|
|
5561
|
-
exports.
|
|
5586
|
+
exports.MonthPicker = MonthPicker;
|
|
5562
5587
|
exports.PageLoader = PageLoader;
|
|
5563
5588
|
exports.Pagination = Pagination;
|
|
5564
5589
|
exports.PasswordInput = PasswordInput;
|