@carto/meridian-ds 1.4.5-alpha-external-link.4 → 1.4.5
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/CHANGELOG.md +0 -3
- package/dist/Alert-D8jI1sG4.js +134 -0
- package/dist/{Alert-D01HgLe0.cjs → Alert-zqtoWsBL.cjs} +2 -125
- package/dist/{TablePaginationActions-CAmwcyTy.cjs → TablePaginationActions-CFGXm44W.cjs} +3 -6
- package/dist/{TablePaginationActions-b5wP_uRE.js → TablePaginationActions-KpTvhN4Y.js} +3 -6
- package/dist/components/index.cjs +62 -64
- package/dist/components/index.js +75 -77
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/types/components/atoms/Button.d.ts +0 -5
- package/dist/types/components/atoms/Button.d.ts.map +1 -1
- package/dist/types/components/atoms/index.d.ts +0 -4
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +0 -1
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +0 -1
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +0 -1
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +0 -3
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +0 -6
- package/dist/types/theme/types.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
- package/dist/types/widgets/ChartLegend.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +31 -23
- package/dist/widgets/index.js +42 -34
- package/package.json +1 -1
- package/dist/Alert-C0UdTQsO.js +0 -257
- package/dist/types/components/atoms/ExternalLink.d.ts +0 -22
- package/dist/types/components/atoms/ExternalLink.d.ts.map +0 -1
- package/dist/types/components/atoms/Link.d.ts +0 -14
- package/dist/types/components/atoms/Link.d.ts.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState, useEffect, useMemo, useRef, Fragment as Fragment$1, useImperativeHandle, useCallback } from "react";
|
|
3
|
+
import { styled, Box, Button as Button$1, CircularProgress, TextField, InputAdornment, IconButton as IconButton$1, Tooltip, Select, MenuItem, FormControl, InputLabel, FormHelperText, ToggleButtonGroup as ToggleButtonGroup$1, Menu as Menu$2, MenuList as MenuList$1, Link, Checkbox, ListItemText, Autocomplete as Autocomplete$1, Divider, ListItemIcon, createFilterOptions, Accordion, AccordionSummary, AccordionDetails, Avatar as Avatar$1, Snackbar as Snackbar$1, Portal, Fade, Slide, alpha, useTheme, Toolbar, AppBar as AppBar$1, Paper, Dialog as Dialog$1, DialogTitle as DialogTitle$1, Chip, DialogContent as DialogContent$1, DialogActions as DialogActions$1 } from "@mui/material";
|
|
4
|
+
import { T as Typography, c as ICON_SIZE_SMALL, u as useImperativeIntl, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
5
|
+
import { a } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
3
6
|
import { useIntl } from "react-intl";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as useImperativeIntl, T as Typography, c as ICON_SIZE_SMALL, N as NOTIFICATION_DURATION_IN_MS, A as APPBAR_SIZE } from "../TablePaginationActions-b5wP_uRE.js";
|
|
7
|
-
import { a } from "../TablePaginationActions-b5wP_uRE.js";
|
|
8
|
-
import { L as Link, I as IconButton$1, A as Alert$1 } from "../Alert-C0UdTQsO.js";
|
|
9
|
-
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
|
+
import { VisibilityOffOutlined, VisibilityOutlined, Cancel, AddCircleOutlineOutlined, ContentCopyOutlined, CloseOutlined, MenuOutlined, HelpOutline, TodayOutlined, MoreVertOutlined, ErrorOutline, Check } from "@mui/icons-material";
|
|
8
|
+
import { A as Alert$1 } from "../Alert-D8jI1sG4.js";
|
|
10
9
|
import "cartocolor";
|
|
11
10
|
import { M as MenuItem$1 } from "../MenuItem-CXnnE5lK.js";
|
|
12
11
|
import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
|
|
@@ -61,11 +60,8 @@ function _Button({
|
|
|
61
60
|
startIcon,
|
|
62
61
|
endIcon,
|
|
63
62
|
loadingPosition,
|
|
64
|
-
external,
|
|
65
63
|
...otherProps
|
|
66
64
|
}, ref) {
|
|
67
|
-
const intl = useIntl();
|
|
68
|
-
const intlConfig = useImperativeIntl(intl);
|
|
69
65
|
const defaultIconLoader = /* @__PURE__ */ jsx(CircularProgress, { size: 18, color: "inherit" });
|
|
70
66
|
const isDefaultLoading = loading && loadingPosition === void 0;
|
|
71
67
|
const renderContent = () => {
|
|
@@ -87,11 +83,7 @@ function _Button({
|
|
|
87
83
|
}
|
|
88
84
|
return void 0;
|
|
89
85
|
}
|
|
90
|
-
|
|
91
|
-
return startIcon;
|
|
92
|
-
} else {
|
|
93
|
-
return endIcon || (external && otherProps.href ? /* @__PURE__ */ jsx(OpenInNewOutlined, {}) : void 0);
|
|
94
|
-
}
|
|
86
|
+
return position === "start" ? startIcon : endIcon;
|
|
95
87
|
};
|
|
96
88
|
return /* @__PURE__ */ jsx(
|
|
97
89
|
Button$1,
|
|
@@ -101,13 +93,6 @@ function _Button({
|
|
|
101
93
|
endIcon: getIconForPosition("end"),
|
|
102
94
|
...otherProps,
|
|
103
95
|
role: otherProps.href ? "link" : "button",
|
|
104
|
-
...otherProps.href && external && {
|
|
105
|
-
target: "_blank",
|
|
106
|
-
rel: "noopener noreferrer"
|
|
107
|
-
},
|
|
108
|
-
"aria-label": external && otherProps.href ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
109
|
-
id: "c4r.button.opensInNewTab"
|
|
110
|
-
})})` : void 0,
|
|
111
96
|
ref,
|
|
112
97
|
children: /* @__PURE__ */ jsx(Typography, { variant: "inherit", color: "inherit", noWrap: true, component: "span", children: renderContent() })
|
|
113
98
|
}
|
|
@@ -173,7 +158,7 @@ function _PasswordField({ InputProps, size = "small", ...otherProps }, ref) {
|
|
|
173
158
|
size,
|
|
174
159
|
InputProps: {
|
|
175
160
|
...InputProps,
|
|
176
|
-
endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(IconButton, { size, onClick: handleClickShowPassword, children: /* @__PURE__ */ jsx(
|
|
161
|
+
endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(IconButton$1, { size, onClick: handleClickShowPassword, children: /* @__PURE__ */ jsx(
|
|
177
162
|
Tooltip,
|
|
178
163
|
{
|
|
179
164
|
title: intlConfig.formatMessage({
|
|
@@ -395,49 +380,64 @@ function ToggleButtonGroup({
|
|
|
395
380
|
}
|
|
396
381
|
);
|
|
397
382
|
}
|
|
398
|
-
const
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
"> path": {
|
|
406
|
-
color: "inherit !important"
|
|
383
|
+
const Option = styled("div")(({ theme }) => ({
|
|
384
|
+
position: "relative",
|
|
385
|
+
display: "inline-flex",
|
|
386
|
+
// TODO: Remove this once we have a better way to handle the spacing between icon buttons:
|
|
387
|
+
// https://app.shortcut.com/cartoteam/story/471284/create-iconbuttongroup-component-to-properly-group-several-icons
|
|
388
|
+
"& + &, & + .optionIconButton": {
|
|
389
|
+
marginLeft: theme.spacing(0.5)
|
|
407
390
|
}
|
|
408
391
|
}));
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
392
|
+
const StyledIconButton = styled(IconButton$1, {
|
|
393
|
+
shouldForwardProp: (prop) => !["active"].includes(prop)
|
|
394
|
+
})(({ active, theme }) => ({
|
|
395
|
+
...active && {
|
|
396
|
+
color: theme.palette.primary.main,
|
|
397
|
+
backgroundColor: theme.palette.primary.background,
|
|
398
|
+
"& svg:not(.doNotFillIcon) path": {
|
|
399
|
+
fill: theme.palette.primary.main
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}));
|
|
403
|
+
function _IconButton({
|
|
404
|
+
tooltip,
|
|
405
|
+
tooltipPlacement = "top",
|
|
406
|
+
icon,
|
|
407
|
+
size = "medium",
|
|
408
|
+
variant = "icon",
|
|
409
|
+
color = "default",
|
|
410
|
+
sx,
|
|
411
|
+
className,
|
|
412
|
+
loading,
|
|
413
|
+
disabled,
|
|
414
|
+
active,
|
|
414
415
|
...props
|
|
415
416
|
}, ref) {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
{
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
}
|
|
417
|
+
return /* @__PURE__ */ jsx(Tooltip, { placement: tooltipPlacement, title: tooltip ?? "", children: /* @__PURE__ */ jsx(
|
|
418
|
+
Option,
|
|
419
|
+
{
|
|
420
|
+
className: `optionIconButton ${className ?? ""}`,
|
|
421
|
+
sx,
|
|
422
|
+
"data-testid": "icon-button",
|
|
423
|
+
children: /* @__PURE__ */ jsx(
|
|
424
|
+
StyledIconButton,
|
|
425
|
+
{
|
|
426
|
+
...props,
|
|
427
|
+
ref,
|
|
428
|
+
size,
|
|
429
|
+
variant,
|
|
430
|
+
color,
|
|
431
|
+
active,
|
|
432
|
+
disabled: disabled || loading,
|
|
433
|
+
role: "button",
|
|
434
|
+
children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: 18, color: "inherit" }) : icon
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
}
|
|
438
|
+
) });
|
|
439
439
|
}
|
|
440
|
-
const
|
|
440
|
+
const IconButton = forwardRef(_IconButton);
|
|
441
441
|
const StyledMenu = styled(Menu$2, {
|
|
442
442
|
shouldForwardProp: (prop) => !["extended", "width", "height"].includes(prop)
|
|
443
443
|
})(({ theme, extended, width, height }) => ({
|
|
@@ -519,7 +519,7 @@ const MenuList = forwardRef(_MenuList);
|
|
|
519
519
|
const StyledMenuItem$1 = styled(MenuItem$1)(() => ({
|
|
520
520
|
marginTop: "0 !important"
|
|
521
521
|
}));
|
|
522
|
-
const LinkFilter = styled(Link
|
|
522
|
+
const LinkFilter = styled(Link)(
|
|
523
523
|
({ disabled, theme }) => ({
|
|
524
524
|
display: "flex",
|
|
525
525
|
alignItems: "center",
|
|
@@ -745,7 +745,7 @@ function _MultipleSelectField({
|
|
|
745
745
|
onChange: handleChange,
|
|
746
746
|
size,
|
|
747
747
|
variant,
|
|
748
|
-
endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsx(IconButton, { onClick: unselectAll, size, children: /* @__PURE__ */ jsx(Cancel, {}) }) }),
|
|
748
|
+
endAdornment: showFilters && areAnySelected && /* @__PURE__ */ jsx(UnselectButton, { position: "end", size, children: /* @__PURE__ */ jsx(IconButton$1, { onClick: unselectAll, size, children: /* @__PURE__ */ jsx(Cancel, {}) }) }),
|
|
749
749
|
menuProps: {
|
|
750
750
|
PaperProps: {
|
|
751
751
|
sx: {
|
|
@@ -839,7 +839,7 @@ function FilesAction({
|
|
|
839
839
|
handleOpen,
|
|
840
840
|
inProgress
|
|
841
841
|
}) {
|
|
842
|
-
return /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: inProgress ? /* @__PURE__ */ jsx(IconButton, { "aria-label": "Loading", disabled: true, size, children: /* @__PURE__ */ jsx(CircularProgress, { size: 18 }) }) : !hasFiles ? /* @__PURE__ */ jsx(
|
|
842
|
+
return /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: inProgress ? /* @__PURE__ */ jsx(IconButton$1, { "aria-label": "Loading", disabled: true, size, children: /* @__PURE__ */ jsx(CircularProgress, { size: 18 }) }) : !hasFiles ? /* @__PURE__ */ jsx(
|
|
843
843
|
Button$1,
|
|
844
844
|
{
|
|
845
845
|
onClick: handleOpen,
|
|
@@ -850,7 +850,7 @@ function FilesAction({
|
|
|
850
850
|
children: buttonText
|
|
851
851
|
}
|
|
852
852
|
) : /* @__PURE__ */ jsx(
|
|
853
|
-
IconButton,
|
|
853
|
+
IconButton$1,
|
|
854
854
|
{
|
|
855
855
|
onClick: handleReset,
|
|
856
856
|
size,
|
|
@@ -1479,7 +1479,7 @@ const _CopiableComponent = ({
|
|
|
1479
1479
|
children: [
|
|
1480
1480
|
children,
|
|
1481
1481
|
button && /* @__PURE__ */ jsx(
|
|
1482
|
-
IconButton
|
|
1482
|
+
IconButton,
|
|
1483
1483
|
{
|
|
1484
1484
|
...buttonProps,
|
|
1485
1485
|
disabled,
|
|
@@ -1738,7 +1738,7 @@ function Snackbar({
|
|
|
1738
1738
|
}
|
|
1739
1739
|
),
|
|
1740
1740
|
closeable && /* @__PURE__ */ jsx(CloseButtonWrapper, { children: /* @__PURE__ */ jsx(
|
|
1741
|
-
IconButton
|
|
1741
|
+
IconButton,
|
|
1742
1742
|
{
|
|
1743
1743
|
color: "default",
|
|
1744
1744
|
onClick: (e) => onClose(e, "timeout"),
|
|
@@ -1949,7 +1949,7 @@ const Menu = styled("div")(({ theme }) => ({
|
|
|
1949
1949
|
height: APPBAR_SIZE,
|
|
1950
1950
|
marginRight: theme.spacing(1.5)
|
|
1951
1951
|
}));
|
|
1952
|
-
const MenuButton = styled(IconButton)(({ theme }) => ({
|
|
1952
|
+
const MenuButton = styled(IconButton$1)(({ theme }) => ({
|
|
1953
1953
|
marginRight: theme.spacing(1),
|
|
1954
1954
|
"&.MuiButtonBase-root svg path": {
|
|
1955
1955
|
fill: theme.palette.brand.appBarContrastText
|
|
@@ -2101,7 +2101,7 @@ function ClearButton({
|
|
|
2101
2101
|
const intl = useIntl();
|
|
2102
2102
|
const intlConfig = useImperativeIntl(intl);
|
|
2103
2103
|
return /* @__PURE__ */ jsx(Container, { size, variant, children: /* @__PURE__ */ jsx(
|
|
2104
|
-
IconButton,
|
|
2104
|
+
IconButton$1,
|
|
2105
2105
|
{
|
|
2106
2106
|
...props,
|
|
2107
2107
|
size,
|
|
@@ -2218,7 +2218,7 @@ function DatePicker({
|
|
|
2218
2218
|
slots: {
|
|
2219
2219
|
clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
|
|
2220
2220
|
openPickerButton: (props2) => /* @__PURE__ */ jsx(
|
|
2221
|
-
IconButton,
|
|
2221
|
+
IconButton$1,
|
|
2222
2222
|
{
|
|
2223
2223
|
...props2,
|
|
2224
2224
|
size,
|
|
@@ -2718,7 +2718,7 @@ function TimePicker({
|
|
|
2718
2718
|
slots: {
|
|
2719
2719
|
clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
|
|
2720
2720
|
openPickerButton: (props2) => /* @__PURE__ */ jsx(
|
|
2721
|
-
IconButton,
|
|
2721
|
+
IconButton$1,
|
|
2722
2722
|
{
|
|
2723
2723
|
...props2,
|
|
2724
2724
|
size,
|
|
@@ -2804,7 +2804,7 @@ function DateTimePicker({
|
|
|
2804
2804
|
slots: {
|
|
2805
2805
|
clearButton: (props2) => /* @__PURE__ */ jsx(ClearButton, { ...props2, size, variant }),
|
|
2806
2806
|
openPickerButton: (props2) => /* @__PURE__ */ jsx(
|
|
2807
|
-
IconButton,
|
|
2807
|
+
IconButton$1,
|
|
2808
2808
|
{
|
|
2809
2809
|
...props2,
|
|
2810
2810
|
size,
|
|
@@ -2988,7 +2988,7 @@ function CodeAreaHeader({
|
|
|
2988
2988
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2989
2989
|
/* @__PURE__ */ jsxs(Header, { size, "data-size": size, "data-name": "code-area-header", children: [
|
|
2990
2990
|
/* @__PURE__ */ jsx(
|
|
2991
|
-
IconButton
|
|
2991
|
+
IconButton,
|
|
2992
2992
|
{
|
|
2993
2993
|
color: "default",
|
|
2994
2994
|
size,
|
|
@@ -3052,7 +3052,7 @@ function CodeAreaHeader({
|
|
|
3052
3052
|
}
|
|
3053
3053
|
),
|
|
3054
3054
|
showExpandButton && /* @__PURE__ */ jsx(
|
|
3055
|
-
IconButton
|
|
3055
|
+
IconButton,
|
|
3056
3056
|
{
|
|
3057
3057
|
color: "default",
|
|
3058
3058
|
size,
|
|
@@ -4000,7 +4000,7 @@ function DialogHeader({
|
|
|
4000
4000
|
{
|
|
4001
4001
|
title: intlConfig.formatMessage({ id: "c4r.button.close" }),
|
|
4002
4002
|
placement: "left",
|
|
4003
|
-
children: /* @__PURE__ */ jsx(IconButton, { onClick: onClose, children: closeIcon || /* @__PURE__ */ jsx(CloseIcon, { "data-testid": "CloseIcon" }) })
|
|
4003
|
+
children: /* @__PURE__ */ jsx(IconButton$1, { onClick: onClose, children: closeIcon || /* @__PURE__ */ jsx(CloseIcon, { "data-testid": "CloseIcon" }) })
|
|
4004
4004
|
}
|
|
4005
4005
|
)
|
|
4006
4006
|
] })
|
|
@@ -4569,10 +4569,8 @@ export {
|
|
|
4569
4569
|
DialogHeader,
|
|
4570
4570
|
DialogPaper,
|
|
4571
4571
|
DialogStepper,
|
|
4572
|
-
|
|
4573
|
-
IconButton$1 as IconButton,
|
|
4572
|
+
IconButton,
|
|
4574
4573
|
LabelWithIndicator,
|
|
4575
|
-
Link,
|
|
4576
4574
|
Menu$1 as Menu,
|
|
4577
4575
|
MenuItem$1 as MenuItem,
|
|
4578
4576
|
MenuItemFilter,
|
package/dist/theme/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const material = require("@mui/material");
|
|
5
5
|
const jsxRuntime = require("react/jsx-runtime");
|
|
6
|
-
const TablePaginationActions = require("../TablePaginationActions-
|
|
6
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
7
7
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
8
|
const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
|
|
9
9
|
const xDatePickers = require("@mui/x-date-pickers");
|
package/dist/theme/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2
2
|
import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
|
|
3
3
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
4
|
-
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-
|
|
5
|
-
import { N } from "../TablePaginationActions-
|
|
4
|
+
import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
5
|
+
import { N } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
6
6
|
import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
|
|
7
7
|
import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
|
|
8
8
|
import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
|
|
@@ -9,11 +9,6 @@ export type ButtonProps = MUIButtonProps<React.ElementType, {
|
|
|
9
9
|
* - 'end': Shows spinner at the end position, replacing the endIcon
|
|
10
10
|
*/
|
|
11
11
|
loadingPosition?: 'start' | 'end';
|
|
12
|
-
/**
|
|
13
|
-
* Whether the button is external. If true, the button will open in a new tab.
|
|
14
|
-
* Needs to have a href prop to be considered external.
|
|
15
|
-
*/
|
|
16
|
-
external?: boolean;
|
|
17
12
|
}>;
|
|
18
13
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
19
14
|
export default Button;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAmBtB,MAAM,MAAM,WAAW,GAAG,cAAc,CACtC,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAClC,CACF,CAAA;AAoED,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
|
|
@@ -5,8 +5,6 @@ export { default as SelectField } from './SelectField';
|
|
|
5
5
|
export { default as ToggleButtonGroup } from './ToggleButtonGroup';
|
|
6
6
|
export { default as Typography } from './Typography';
|
|
7
7
|
export { default as IconButton } from './IconButton';
|
|
8
|
-
export { default as ExternalLink } from './ExternalLink';
|
|
9
|
-
export { default as Link } from './Link';
|
|
10
8
|
export type * from './Button';
|
|
11
9
|
export type * from './LabelWithIndicator';
|
|
12
10
|
export type * from './PasswordField';
|
|
@@ -14,6 +12,4 @@ export type * from './SelectField';
|
|
|
14
12
|
export type * from './ToggleButtonGroup';
|
|
15
13
|
export type * from './Typography';
|
|
16
14
|
export type * from './IconButton';
|
|
17
|
-
export type * from './ExternalLink';
|
|
18
|
-
export type * from './Link';
|
|
19
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AAEpD,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/localization/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/localization/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAwJ0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/localization/id.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAsJ0B"}
|
|
@@ -11,7 +11,6 @@ export declare const messages: {
|
|
|
11
11
|
save: string;
|
|
12
12
|
add: string;
|
|
13
13
|
showOptions: string;
|
|
14
|
-
opensInNewTab: string;
|
|
15
14
|
};
|
|
16
15
|
form: {
|
|
17
16
|
selectAll: string;
|
|
@@ -160,7 +159,6 @@ export declare const messages: {
|
|
|
160
159
|
save: string;
|
|
161
160
|
add: string;
|
|
162
161
|
showOptions: string;
|
|
163
|
-
opensInNewTab: string;
|
|
164
162
|
};
|
|
165
163
|
form: {
|
|
166
164
|
selectAll: string;
|
|
@@ -307,7 +305,6 @@ export declare const messages: {
|
|
|
307
305
|
save: string;
|
|
308
306
|
add: string;
|
|
309
307
|
showOptions: string;
|
|
310
|
-
opensInNewTab: string;
|
|
311
308
|
};
|
|
312
309
|
form: {
|
|
313
310
|
selectAll: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/localization/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -111,11 +111,5 @@ declare module '@mui/material/Dialog' {
|
|
|
111
111
|
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
declare module '@mui/material/Link' {
|
|
115
|
-
interface LinkOwnProps {
|
|
116
|
-
endIcon?: React.ReactNode;
|
|
117
|
-
startIcon?: React.ReactNode;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
114
|
export {};
|
|
121
115
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA;AAExC,KAAK,yBAAyB,GAAG,MAAM,CACrC,YAAY,EACZ;IACE,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB,CACF,CAAA;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,wBAAwB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,EAAE,MAAM,CAAA;IACT,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AU,4BAA4B;QACpC,MAAM,EAAE,IAAI,CAAA;KACb;CACF;AAGD,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,kBAAkB;QAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;KAC5C;CACF;AAGD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,sBAAsB;QAC9B,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAGD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;KAC/C;CACF"}
|
|
@@ -22,7 +22,7 @@ export declare const CategoryLabelWrapper: import('@emotion/styled').StyledCompo
|
|
|
22
22
|
export declare const CategoryLabel: import('@emotion/styled').StyledComponent<Omit<import('../../components/atoms/Typography').TypographyProps, "ref"> & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
23
23
|
export declare const LinkAsButton: import('@emotion/styled').StyledComponent<import('@mui/material').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
24
24
|
ref?: ((instance: HTMLAnchorElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement> | null | undefined;
|
|
25
|
-
}, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "
|
|
25
|
+
}, "p" | "style" | "className" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping" | "underline" | "TypographyClasses"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
26
26
|
export declare const CategoriesRoot: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
27
27
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
28
28
|
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa,kPAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;
|
|
1
|
+
{"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa,kPAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;iqDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/widgets/ChartLegend.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/widgets/ChartLegend.tsx"],"names":[],"mappings":"AAiEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE;IACD,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACjD,2CAqJA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparativeCategoryWidgetUI.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComparativeCategoryWidgetUI.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAwB,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAU1E,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,EAAE,YAAY,EAAE,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAA;IACjD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,0BAA0B,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3D,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IAC9C,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAClD,KAA+B,EAC/B,IAAsC,EACtC,MAAgC,EAChC,MAAgC,EAChC,QAAY,EACZ,KAAwB,EACxB,SAAgB,EAChB,gBAAgB,EAChB,UAAiB,EACjB,UAAiB,EACjB,kBAA4C,EAC5C,0BAAqC,EACrC,SAAyD,EACzD,gBAAgE,EAChE,OAAc,EACd,SAAiB,GAClB,EAAE,gCAAgC,2CAwSlC"}
|
package/dist/widgets/index.cjs
CHANGED
|
@@ -4,12 +4,12 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const material = require("@mui/material");
|
|
6
6
|
const reactIntl = require("react-intl");
|
|
7
|
-
const TablePaginationActions = require("../TablePaginationActions-
|
|
7
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
8
8
|
const _ReactEcharts = require("echarts-for-react");
|
|
9
9
|
const reactWindow = require("react-window");
|
|
10
10
|
const SwatchSquare = require("../SwatchSquare-benaO55C.cjs");
|
|
11
11
|
const iconsMaterial = require("@mui/icons-material");
|
|
12
|
-
const Alert = require("../Alert-
|
|
12
|
+
const Alert = require("../Alert-zqtoWsBL.cjs");
|
|
13
13
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
14
14
|
function detectTouchscreen() {
|
|
15
15
|
let result = false;
|
|
@@ -2171,29 +2171,37 @@ function ChartLegend({
|
|
|
2171
2171
|
(overflowing || offset > 0) && /* @__PURE__ */ jsxRuntime.jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
|
|
2172
2172
|
/* @__PURE__ */ jsxRuntime.jsx(OverflowVeil, {}),
|
|
2173
2173
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2174
|
-
|
|
2174
|
+
material.Tooltip,
|
|
2175
2175
|
{
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2176
|
+
title: intlConfig.formatMessage({
|
|
2177
|
+
id: "c4r.widgets.chartLegend.next"
|
|
2178
|
+
}),
|
|
2179
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2180
|
+
material.IconButton,
|
|
2181
|
+
{
|
|
2182
|
+
size: "small",
|
|
2183
|
+
disabled: offset === 0,
|
|
2184
|
+
onClick: handleClickLeft,
|
|
2185
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {})
|
|
2186
|
+
}
|
|
2187
|
+
)
|
|
2184
2188
|
}
|
|
2185
2189
|
),
|
|
2186
2190
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2187
|
-
|
|
2191
|
+
material.Tooltip,
|
|
2188
2192
|
{
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2193
|
+
title: intlConfig.formatMessage({
|
|
2194
|
+
id: "c4r.widgets.chartLegend.prev"
|
|
2195
|
+
}),
|
|
2196
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2197
|
+
material.IconButton,
|
|
2198
|
+
{
|
|
2199
|
+
size: "small",
|
|
2200
|
+
disabled: !overflowing,
|
|
2201
|
+
onClick: handleClickRight,
|
|
2202
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {})
|
|
2203
|
+
}
|
|
2204
|
+
)
|
|
2197
2205
|
}
|
|
2198
2206
|
)
|
|
2199
2207
|
] })
|
|
@@ -5267,7 +5275,7 @@ function ComparativeCategoryWidgetUI({
|
|
|
5267
5275
|
{ id: "c4r.widgets.category.selectedItems" },
|
|
5268
5276
|
{ items: selectedCategories.length }
|
|
5269
5277
|
) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
|
|
5270
|
-
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5278
|
+
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
|
|
5271
5279
|
id: "c4r.widgets.category.unlock"
|
|
5272
5280
|
}) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5273
5281
|
material.Box,
|
|
@@ -5278,11 +5286,11 @@ function ComparativeCategoryWidgetUI({
|
|
|
5278
5286
|
gap: theme.spacing(1)
|
|
5279
5287
|
},
|
|
5280
5288
|
children: [
|
|
5281
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5289
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5282
5290
|
id: "c4r.widgets.category.lock"
|
|
5283
5291
|
}) }),
|
|
5284
5292
|
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true }),
|
|
5285
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5293
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5286
5294
|
id: "c4r.widgets.category.clear"
|
|
5287
5295
|
}) })
|
|
5288
5296
|
]
|