@carto/meridian-ds 1.4.5-alpha-external-link.4 → 1.4.6
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 +5 -3
- package/dist/{Alert-D01HgLe0.cjs → Alert-BiOR9aar.cjs} +1 -65
- package/dist/{Alert-C0UdTQsO.js → Alert-CywtIMOj.js} +3 -67
- 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 +4 -64
- package/dist/components/index.js +7 -67
- 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.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/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +5 -9
- package/dist/widgets/index.js +5 -9
- package/package.json +1 -1
- 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/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
- New Link and ExternalLink components [#202](https://github.com/CartoDB/meridian-ds/pull/202)
|
|
6
|
-
- Fix tooltips in ChartLegend pagination buttons [201](https://github.com/CartoDB/meridian-ds/pull/201)
|
|
7
|
-
|
|
8
5
|
## 1.0
|
|
9
6
|
|
|
7
|
+
### 1.4.6
|
|
8
|
+
|
|
9
|
+
- Fix tooltips in ChartLegend pagination buttons [201](https://github.com/CartoDB/meridian-ds/pull/201)
|
|
10
|
+
- Remove `scrollIntoView` from Category Widget [203](https://github.com/CartoDB/meridian-ds/pull/203)
|
|
11
|
+
|
|
10
12
|
### 1.4.5
|
|
11
13
|
|
|
12
14
|
- Fix Icon shapes size [#194](https://github.com/CartoDB/meridian-ds/pull/194)
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const material = require("@mui/material");
|
|
5
|
-
const
|
|
6
|
-
const iconsMaterial = require("@mui/icons-material");
|
|
7
|
-
const TablePaginationActions = require("./TablePaginationActions-CAmwcyTy.cjs");
|
|
8
|
-
require("cartocolor");
|
|
5
|
+
const TablePaginationActions = require("./TablePaginationActions-CFGXm44W.cjs");
|
|
9
6
|
const Option = material.styled("div")(({ theme }) => ({
|
|
10
7
|
position: "relative",
|
|
11
8
|
display: "inline-flex",
|
|
@@ -64,66 +61,6 @@ function _IconButton({
|
|
|
64
61
|
) });
|
|
65
62
|
}
|
|
66
63
|
const IconButton = React.forwardRef(_IconButton);
|
|
67
|
-
const StyledLink = material.styled(material.Link)(({ theme }) => ({
|
|
68
|
-
display: "inline-flex",
|
|
69
|
-
alignItems: "center",
|
|
70
|
-
gap: theme.spacing(0.25)
|
|
71
|
-
}));
|
|
72
|
-
const Icon = material.styled(material.Box, {
|
|
73
|
-
shouldForwardProp: (prop) => prop !== "variant"
|
|
74
|
-
})(({ variant }) => ({
|
|
75
|
-
display: "flex",
|
|
76
|
-
svg: {
|
|
77
|
-
...variant === "caption" && {
|
|
78
|
-
fontSize: TablePaginationActions.ICON_SIZE_SMALL
|
|
79
|
-
},
|
|
80
|
-
...variant === "body2" && {
|
|
81
|
-
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
82
|
-
},
|
|
83
|
-
...variant === "body1" && {
|
|
84
|
-
fontSize: TablePaginationActions.ICON_SIZE_LARGE
|
|
85
|
-
},
|
|
86
|
-
...variant === "button" && {
|
|
87
|
-
fontSize: TablePaginationActions.ICON_SIZE_MEDIUM
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}));
|
|
91
|
-
function _Link({
|
|
92
|
-
children,
|
|
93
|
-
variant,
|
|
94
|
-
startIcon,
|
|
95
|
-
endIcon,
|
|
96
|
-
color,
|
|
97
|
-
external,
|
|
98
|
-
showExternalIcon = true,
|
|
99
|
-
...otherProps
|
|
100
|
-
}, ref) {
|
|
101
|
-
const intl = reactIntl.useIntl();
|
|
102
|
-
const intlConfig = TablePaginationActions.useImperativeIntl(intl);
|
|
103
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
104
|
-
StyledLink,
|
|
105
|
-
{
|
|
106
|
-
...otherProps,
|
|
107
|
-
variant,
|
|
108
|
-
"data-color": color,
|
|
109
|
-
"data-name": "link",
|
|
110
|
-
role: "link",
|
|
111
|
-
color,
|
|
112
|
-
ref,
|
|
113
|
-
target: external ? "_blank" : void 0,
|
|
114
|
-
rel: external ? "noopener noreferrer" : void 0,
|
|
115
|
-
"aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
116
|
-
id: "c4r.button.opensInNewTab"
|
|
117
|
-
})})` : void 0,
|
|
118
|
-
children: [
|
|
119
|
-
startIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: startIcon }),
|
|
120
|
-
children,
|
|
121
|
-
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsxRuntime.jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) })
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
const Link = React.forwardRef(_Link);
|
|
127
64
|
const StyledAlert = material.styled(material.Alert, {
|
|
128
65
|
shouldForwardProp: (prop) => ![
|
|
129
66
|
"isNeutral",
|
|
@@ -253,4 +190,3 @@ function _Alert({
|
|
|
253
190
|
const Alert = React.forwardRef(_Alert);
|
|
254
191
|
exports.Alert = Alert;
|
|
255
192
|
exports.IconButton = IconButton;
|
|
256
|
-
exports.Link = Link;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState } from "react";
|
|
3
|
-
import { styled, IconButton as IconButton$1, Tooltip, CircularProgress,
|
|
4
|
-
import {
|
|
5
|
-
import { OpenInNewOutlined } from "@mui/icons-material";
|
|
6
|
-
import { c as ICON_SIZE_SMALL, b as ICON_SIZE_MEDIUM, I as ICON_SIZE_LARGE, u as useImperativeIntl, T as Typography } from "./TablePaginationActions-b5wP_uRE.js";
|
|
7
|
-
import "cartocolor";
|
|
3
|
+
import { styled, IconButton as IconButton$1, Tooltip, CircularProgress, Alert as Alert$1, Fade, AlertTitle } from "@mui/material";
|
|
4
|
+
import { b as ICON_SIZE_MEDIUM, T as Typography } from "./TablePaginationActions-KpTvhN4Y.js";
|
|
8
5
|
const Option = styled("div")(({ theme }) => ({
|
|
9
6
|
position: "relative",
|
|
10
7
|
display: "inline-flex",
|
|
@@ -63,66 +60,6 @@ function _IconButton({
|
|
|
63
60
|
) });
|
|
64
61
|
}
|
|
65
62
|
const IconButton = forwardRef(_IconButton);
|
|
66
|
-
const StyledLink = styled(Link$1)(({ theme }) => ({
|
|
67
|
-
display: "inline-flex",
|
|
68
|
-
alignItems: "center",
|
|
69
|
-
gap: theme.spacing(0.25)
|
|
70
|
-
}));
|
|
71
|
-
const Icon = styled(Box, {
|
|
72
|
-
shouldForwardProp: (prop) => prop !== "variant"
|
|
73
|
-
})(({ variant }) => ({
|
|
74
|
-
display: "flex",
|
|
75
|
-
svg: {
|
|
76
|
-
...variant === "caption" && {
|
|
77
|
-
fontSize: ICON_SIZE_SMALL
|
|
78
|
-
},
|
|
79
|
-
...variant === "body2" && {
|
|
80
|
-
fontSize: ICON_SIZE_MEDIUM
|
|
81
|
-
},
|
|
82
|
-
...variant === "body1" && {
|
|
83
|
-
fontSize: ICON_SIZE_LARGE
|
|
84
|
-
},
|
|
85
|
-
...variant === "button" && {
|
|
86
|
-
fontSize: ICON_SIZE_MEDIUM
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}));
|
|
90
|
-
function _Link({
|
|
91
|
-
children,
|
|
92
|
-
variant,
|
|
93
|
-
startIcon,
|
|
94
|
-
endIcon,
|
|
95
|
-
color,
|
|
96
|
-
external,
|
|
97
|
-
showExternalIcon = true,
|
|
98
|
-
...otherProps
|
|
99
|
-
}, ref) {
|
|
100
|
-
const intl = useIntl();
|
|
101
|
-
const intlConfig = useImperativeIntl(intl);
|
|
102
|
-
return /* @__PURE__ */ jsxs(
|
|
103
|
-
StyledLink,
|
|
104
|
-
{
|
|
105
|
-
...otherProps,
|
|
106
|
-
variant,
|
|
107
|
-
"data-color": color,
|
|
108
|
-
"data-name": "link",
|
|
109
|
-
role: "link",
|
|
110
|
-
color,
|
|
111
|
-
ref,
|
|
112
|
-
target: external ? "_blank" : void 0,
|
|
113
|
-
rel: external ? "noopener noreferrer" : void 0,
|
|
114
|
-
"aria-label": external ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
115
|
-
id: "c4r.button.opensInNewTab"
|
|
116
|
-
})})` : void 0,
|
|
117
|
-
children: [
|
|
118
|
-
startIcon && /* @__PURE__ */ jsx(Icon, { variant, children: startIcon }),
|
|
119
|
-
children,
|
|
120
|
-
(endIcon || external && showExternalIcon) && /* @__PURE__ */ jsx(Icon, { variant, children: endIcon || /* @__PURE__ */ jsx(OpenInNewOutlined, {}) })
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
const Link = forwardRef(_Link);
|
|
126
63
|
const StyledAlert = styled(Alert$1, {
|
|
127
64
|
shouldForwardProp: (prop) => ![
|
|
128
65
|
"isNeutral",
|
|
@@ -252,6 +189,5 @@ function _Alert({
|
|
|
252
189
|
const Alert = forwardRef(_Alert);
|
|
253
190
|
export {
|
|
254
191
|
Alert as A,
|
|
255
|
-
IconButton as I
|
|
256
|
-
Link as L
|
|
192
|
+
IconButton as I
|
|
257
193
|
};
|
|
@@ -814,8 +814,7 @@ const en = {
|
|
|
814
814
|
copy: "Copy",
|
|
815
815
|
save: "Save",
|
|
816
816
|
add: "Add",
|
|
817
|
-
showOptions: "Show options"
|
|
818
|
-
opensInNewTab: "Opens in new tab"
|
|
817
|
+
showOptions: "Show options"
|
|
819
818
|
},
|
|
820
819
|
form: {
|
|
821
820
|
selectAll: "Select all",
|
|
@@ -963,8 +962,7 @@ const es = {
|
|
|
963
962
|
copy: "Copiar",
|
|
964
963
|
save: "Guardar",
|
|
965
964
|
add: "Añadir",
|
|
966
|
-
showOptions: "Mostrar opciones"
|
|
967
|
-
opensInNewTab: "Abre en una nueva pestaña"
|
|
965
|
+
showOptions: "Mostrar opciones"
|
|
968
966
|
},
|
|
969
967
|
form: {
|
|
970
968
|
selectAll: "Seleccionar todos",
|
|
@@ -1110,8 +1108,7 @@ const id = {
|
|
|
1110
1108
|
copy: "Salin",
|
|
1111
1109
|
save: "Simpan",
|
|
1112
1110
|
add: "Tambah",
|
|
1113
|
-
showOptions: "Tampilkan opsi"
|
|
1114
|
-
opensInNewTab: "Buka di tab baru"
|
|
1111
|
+
showOptions: "Tampilkan opsi"
|
|
1115
1112
|
},
|
|
1116
1113
|
form: {
|
|
1117
1114
|
selectAll: "Select all",
|
|
@@ -813,8 +813,7 @@ const en = {
|
|
|
813
813
|
copy: "Copy",
|
|
814
814
|
save: "Save",
|
|
815
815
|
add: "Add",
|
|
816
|
-
showOptions: "Show options"
|
|
817
|
-
opensInNewTab: "Opens in new tab"
|
|
816
|
+
showOptions: "Show options"
|
|
818
817
|
},
|
|
819
818
|
form: {
|
|
820
819
|
selectAll: "Select all",
|
|
@@ -962,8 +961,7 @@ const es = {
|
|
|
962
961
|
copy: "Copiar",
|
|
963
962
|
save: "Guardar",
|
|
964
963
|
add: "Añadir",
|
|
965
|
-
showOptions: "Mostrar opciones"
|
|
966
|
-
opensInNewTab: "Abre en una nueva pestaña"
|
|
964
|
+
showOptions: "Mostrar opciones"
|
|
967
965
|
},
|
|
968
966
|
form: {
|
|
969
967
|
selectAll: "Seleccionar todos",
|
|
@@ -1109,8 +1107,7 @@ const id = {
|
|
|
1109
1107
|
copy: "Salin",
|
|
1110
1108
|
save: "Simpan",
|
|
1111
1109
|
add: "Tambah",
|
|
1112
|
-
showOptions: "Tampilkan opsi"
|
|
1113
|
-
opensInNewTab: "Buka di tab baru"
|
|
1110
|
+
showOptions: "Tampilkan opsi"
|
|
1114
1111
|
},
|
|
1115
1112
|
form: {
|
|
1116
1113
|
selectAll: "Select all",
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const reactIntl = require("react-intl");
|
|
6
5
|
const material = require("@mui/material");
|
|
6
|
+
const TablePaginationActions = require("../TablePaginationActions-CFGXm44W.cjs");
|
|
7
|
+
const reactIntl = require("react-intl");
|
|
7
8
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
|
-
const
|
|
9
|
-
const Alert$1 = require("../Alert-D01HgLe0.cjs");
|
|
10
|
-
const styles = require("@mui/material/styles");
|
|
9
|
+
const Alert$1 = require("../Alert-BiOR9aar.cjs");
|
|
11
10
|
require("cartocolor");
|
|
12
11
|
const MenuItem = require("../MenuItem-Br2jY2lt.cjs");
|
|
13
12
|
const ArrowDown = require("../ArrowDown-8fLj23Ge.cjs");
|
|
@@ -62,11 +61,8 @@ function _Button({
|
|
|
62
61
|
startIcon,
|
|
63
62
|
endIcon,
|
|
64
63
|
loadingPosition,
|
|
65
|
-
external,
|
|
66
64
|
...otherProps
|
|
67
65
|
}, ref) {
|
|
68
|
-
const intl = reactIntl.useIntl();
|
|
69
|
-
const intlConfig = TablePaginationActions.useImperativeIntl(intl);
|
|
70
66
|
const defaultIconLoader = /* @__PURE__ */ jsxRuntime.jsx(material.CircularProgress, { size: 18, color: "inherit" });
|
|
71
67
|
const isDefaultLoading = loading && loadingPosition === void 0;
|
|
72
68
|
const renderContent = () => {
|
|
@@ -88,11 +84,7 @@ function _Button({
|
|
|
88
84
|
}
|
|
89
85
|
return void 0;
|
|
90
86
|
}
|
|
91
|
-
|
|
92
|
-
return startIcon;
|
|
93
|
-
} else {
|
|
94
|
-
return endIcon || (external && otherProps.href ? /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.OpenInNewOutlined, {}) : void 0);
|
|
95
|
-
}
|
|
87
|
+
return position === "start" ? startIcon : endIcon;
|
|
96
88
|
};
|
|
97
89
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
98
90
|
material.Button,
|
|
@@ -102,13 +94,6 @@ function _Button({
|
|
|
102
94
|
endIcon: getIconForPosition("end"),
|
|
103
95
|
...otherProps,
|
|
104
96
|
role: otherProps.href ? "link" : "button",
|
|
105
|
-
...otherProps.href && external && {
|
|
106
|
-
target: "_blank",
|
|
107
|
-
rel: "noopener noreferrer"
|
|
108
|
-
},
|
|
109
|
-
"aria-label": external && otherProps.href ? `${children == null ? void 0 : children.toString()} (${intlConfig.formatMessage({
|
|
110
|
-
id: "c4r.button.opensInNewTab"
|
|
111
|
-
})})` : void 0,
|
|
112
97
|
ref,
|
|
113
98
|
children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "inherit", color: "inherit", noWrap: true, component: "span", children: renderContent() })
|
|
114
99
|
}
|
|
@@ -396,49 +381,6 @@ function ToggleButtonGroup({
|
|
|
396
381
|
}
|
|
397
382
|
);
|
|
398
383
|
}
|
|
399
|
-
const externalLinkProps = {
|
|
400
|
-
target: "_blank",
|
|
401
|
-
rel: "noopener noreferrer"
|
|
402
|
-
};
|
|
403
|
-
const IconOpenInNewOutlined = styles.styled(iconsMaterial.OpenInNewOutlined)(() => ({
|
|
404
|
-
fontSize: "1em",
|
|
405
|
-
color: "inherit !important",
|
|
406
|
-
"> path": {
|
|
407
|
-
color: "inherit !important"
|
|
408
|
-
}
|
|
409
|
-
}));
|
|
410
|
-
function _ExternalLink({
|
|
411
|
-
children,
|
|
412
|
-
showIcon = true,
|
|
413
|
-
useButton = false,
|
|
414
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(IconOpenInNewOutlined, {}),
|
|
415
|
-
...props
|
|
416
|
-
}, ref) {
|
|
417
|
-
if (useButton) {
|
|
418
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
419
|
-
Button,
|
|
420
|
-
{
|
|
421
|
-
...externalLinkProps,
|
|
422
|
-
endIcon: showIcon && icon,
|
|
423
|
-
...props,
|
|
424
|
-
ref,
|
|
425
|
-
children
|
|
426
|
-
}
|
|
427
|
-
);
|
|
428
|
-
} else {
|
|
429
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
430
|
-
Alert$1.Link,
|
|
431
|
-
{
|
|
432
|
-
...props,
|
|
433
|
-
external: true,
|
|
434
|
-
showExternalIcon: showIcon,
|
|
435
|
-
ref,
|
|
436
|
-
children
|
|
437
|
-
}
|
|
438
|
-
);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
const ExternalLink = React.forwardRef(_ExternalLink);
|
|
442
384
|
const StyledMenu = material.styled(material.Menu, {
|
|
443
385
|
shouldForwardProp: (prop) => !["extended", "width", "height"].includes(prop)
|
|
444
386
|
})(({ theme, extended, width, height }) => ({
|
|
@@ -4544,7 +4486,6 @@ exports.TablePaginationActions = TablePaginationActions.TablePaginationActions;
|
|
|
4544
4486
|
exports.Typography = TablePaginationActions.Typography;
|
|
4545
4487
|
exports.Alert = Alert$1.Alert;
|
|
4546
4488
|
exports.IconButton = Alert$1.IconButton;
|
|
4547
|
-
exports.Link = Alert$1.Link;
|
|
4548
4489
|
exports.MenuItem = MenuItem.MenuItem;
|
|
4549
4490
|
exports.AccordionGroup = AccordionGroup;
|
|
4550
4491
|
exports.AppBar = AppBar;
|
|
@@ -4574,7 +4515,6 @@ exports.DialogFooter = DialogFooter;
|
|
|
4574
4515
|
exports.DialogHeader = DialogHeader;
|
|
4575
4516
|
exports.DialogPaper = DialogPaper;
|
|
4576
4517
|
exports.DialogStepper = DialogStepper;
|
|
4577
|
-
exports.ExternalLink = ExternalLink;
|
|
4578
4518
|
exports.LabelWithIndicator = LabelWithIndicator;
|
|
4579
4519
|
exports.Menu = Menu$1;
|
|
4580
4520
|
exports.MenuItemFilter = MenuItemFilter;
|
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, 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 { I as IconButton$1, A as Alert$1 } from "../Alert-CywtIMOj.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
|
}
|
|
@@ -395,49 +380,6 @@ function ToggleButtonGroup({
|
|
|
395
380
|
}
|
|
396
381
|
);
|
|
397
382
|
}
|
|
398
|
-
const externalLinkProps = {
|
|
399
|
-
target: "_blank",
|
|
400
|
-
rel: "noopener noreferrer"
|
|
401
|
-
};
|
|
402
|
-
const IconOpenInNewOutlined = styled$1(OpenInNewOutlined)(() => ({
|
|
403
|
-
fontSize: "1em",
|
|
404
|
-
color: "inherit !important",
|
|
405
|
-
"> path": {
|
|
406
|
-
color: "inherit !important"
|
|
407
|
-
}
|
|
408
|
-
}));
|
|
409
|
-
function _ExternalLink({
|
|
410
|
-
children,
|
|
411
|
-
showIcon = true,
|
|
412
|
-
useButton = false,
|
|
413
|
-
icon = /* @__PURE__ */ jsx(IconOpenInNewOutlined, {}),
|
|
414
|
-
...props
|
|
415
|
-
}, ref) {
|
|
416
|
-
if (useButton) {
|
|
417
|
-
return /* @__PURE__ */ jsx(
|
|
418
|
-
Button,
|
|
419
|
-
{
|
|
420
|
-
...externalLinkProps,
|
|
421
|
-
endIcon: showIcon && icon,
|
|
422
|
-
...props,
|
|
423
|
-
ref,
|
|
424
|
-
children
|
|
425
|
-
}
|
|
426
|
-
);
|
|
427
|
-
} else {
|
|
428
|
-
return /* @__PURE__ */ jsx(
|
|
429
|
-
Link,
|
|
430
|
-
{
|
|
431
|
-
...props,
|
|
432
|
-
external: true,
|
|
433
|
-
showExternalIcon: showIcon,
|
|
434
|
-
ref,
|
|
435
|
-
children
|
|
436
|
-
}
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
const ExternalLink = forwardRef(_ExternalLink);
|
|
441
383
|
const StyledMenu = styled(Menu$2, {
|
|
442
384
|
shouldForwardProp: (prop) => !["extended", "width", "height"].includes(prop)
|
|
443
385
|
})(({ theme, extended, width, height }) => ({
|
|
@@ -519,7 +461,7 @@ const MenuList = forwardRef(_MenuList);
|
|
|
519
461
|
const StyledMenuItem$1 = styled(MenuItem$1)(() => ({
|
|
520
462
|
marginTop: "0 !important"
|
|
521
463
|
}));
|
|
522
|
-
const LinkFilter = styled(Link
|
|
464
|
+
const LinkFilter = styled(Link)(
|
|
523
465
|
({ disabled, theme }) => ({
|
|
524
466
|
display: "flex",
|
|
525
467
|
alignItems: "center",
|
|
@@ -4569,10 +4511,8 @@ export {
|
|
|
4569
4511
|
DialogHeader,
|
|
4570
4512
|
DialogPaper,
|
|
4571
4513
|
DialogStepper,
|
|
4572
|
-
ExternalLink,
|
|
4573
4514
|
IconButton$1 as IconButton,
|
|
4574
4515
|
LabelWithIndicator,
|
|
4575
|
-
Link,
|
|
4576
4516
|
Menu$1 as Menu,
|
|
4577
4517
|
MenuItem$1 as MenuItem,
|
|
4578
4518
|
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,UA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AAE,YAAY,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAA;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAA;IAC/B,0BAA0B,CAAC,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAA;CAC9D,CAAA;AAOD,iBAAS,gBAAgB,CAAC,EACxB,IAAI,EACJ,SAAoB,EACpB,MAAkB,EAClB,QAAY,EACZ,WAAW,EACX,KAA0B,EAC1B,kBAA8B,EAC9B,0BAAqC,EACrC,SAAgB,EAChB,UAAiB,EACjB,UAAiB,EACjB,SAAS,GACV,EAAE,qBAAqB,2CA6kBvB;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -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":"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-BiOR9aar.cjs");
|
|
13
13
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
14
14
|
function detectTouchscreen() {
|
|
15
15
|
let result = false;
|
|
@@ -901,9 +901,6 @@ function CategoryWidgetUI({
|
|
|
901
901
|
setTempBlockedCategories(categories);
|
|
902
902
|
}
|
|
903
903
|
};
|
|
904
|
-
const handleSearchFocus = (event) => {
|
|
905
|
-
event.currentTarget.scrollIntoView();
|
|
906
|
-
};
|
|
907
904
|
const handleSearchChange = (event) => {
|
|
908
905
|
setSearchValue(event.currentTarget.value);
|
|
909
906
|
};
|
|
@@ -1226,7 +1223,6 @@ function CategoryWidgetUI({
|
|
|
1226
1223
|
id: "c4r.widgets.category.search"
|
|
1227
1224
|
}),
|
|
1228
1225
|
onChange: handleSearchChange,
|
|
1229
|
-
onFocus: handleSearchFocus,
|
|
1230
1226
|
InputProps: {
|
|
1231
1227
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(material.InputAdornment, { position: "start", children: /* @__PURE__ */ jsxRuntime.jsx(SwatchSquare.Search, {}) })
|
|
1232
1228
|
},
|
|
@@ -5267,7 +5263,7 @@ function ComparativeCategoryWidgetUI({
|
|
|
5267
5263
|
{ id: "c4r.widgets.category.selectedItems" },
|
|
5268
5264
|
{ items: selectedCategories.length }
|
|
5269
5265
|
) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
|
|
5270
|
-
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5266
|
+
/* @__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
5267
|
id: "c4r.widgets.category.unlock"
|
|
5272
5268
|
}) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5273
5269
|
material.Box,
|
|
@@ -5278,11 +5274,11 @@ function ComparativeCategoryWidgetUI({
|
|
|
5278
5274
|
gap: theme.spacing(1)
|
|
5279
5275
|
},
|
|
5280
5276
|
children: [
|
|
5281
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5277
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5282
5278
|
id: "c4r.widgets.category.lock"
|
|
5283
5279
|
}) }),
|
|
5284
5280
|
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true }),
|
|
5285
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5281
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5286
5282
|
id: "c4r.widgets.category.clear"
|
|
5287
5283
|
}) })
|
|
5288
5284
|
]
|
package/dist/widgets/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { useMemo, useState, useEffect, useCallback, useRef, forwardRef, createContext, useContext, useLayoutEffect, createRef } from "react";
|
|
3
3
|
import { useTheme, styled, Box, Skeleton, Grid, Link, darken, Button, Divider, TextField, InputAdornment, Checkbox, Tooltip, debounce, Slider, TableCell, Table, TableHead, TableRow, TableBody, TableContainer, TableSortLabel, TablePagination, IconButton as IconButton$1, Menu, MenuItem, SvgIcon, lighten, Typography as Typography$1, ClickAwayListener, ToggleButton, capitalize, ListItem, Chip, List, Paper, Popover, Select, ListItemText, Collapse, Drawer, Icon, LinearProgress } from "@mui/material";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
|
-
import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-
|
|
5
|
+
import { d as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-KpTvhN4Y.js";
|
|
6
6
|
import _ReactEcharts from "echarts-for-react";
|
|
7
7
|
import { FixedSizeList } from "react-window";
|
|
8
8
|
import { S as Search, a as SwatchSquare } from "../SwatchSquare-DhaaXt53.js";
|
|
9
9
|
import { ChevronLeft, ChevronRight, KeyboardArrowDown, ErrorOutline, Cancel, VisibilityOutlined, VisibilityOffOutlined, ExpandLess, ExpandMore, Close, LayersOutlined, MoreVert } from "@mui/icons-material";
|
|
10
|
-
import { I as IconButton,
|
|
10
|
+
import { I as IconButton, A as Alert } from "../Alert-CywtIMOj.js";
|
|
11
11
|
import { a as getColorByCategory, c as commonPalette, b as getPalette } from "../paletteUtils-BHqJlHm9.js";
|
|
12
12
|
function detectTouchscreen() {
|
|
13
13
|
let result = false;
|
|
@@ -899,9 +899,6 @@ function CategoryWidgetUI({
|
|
|
899
899
|
setTempBlockedCategories(categories);
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
|
-
const handleSearchFocus = (event) => {
|
|
903
|
-
event.currentTarget.scrollIntoView();
|
|
904
|
-
};
|
|
905
902
|
const handleSearchChange = (event) => {
|
|
906
903
|
setSearchValue(event.currentTarget.value);
|
|
907
904
|
};
|
|
@@ -1224,7 +1221,6 @@ function CategoryWidgetUI({
|
|
|
1224
1221
|
id: "c4r.widgets.category.search"
|
|
1225
1222
|
}),
|
|
1226
1223
|
onChange: handleSearchChange,
|
|
1227
|
-
onFocus: handleSearchFocus,
|
|
1228
1224
|
InputProps: {
|
|
1229
1225
|
startAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx(Search, {}) })
|
|
1230
1226
|
},
|
|
@@ -5265,7 +5261,7 @@ function ComparativeCategoryWidgetUI({
|
|
|
5265
5261
|
{ id: "c4r.widgets.category.selectedItems" },
|
|
5266
5262
|
{ items: selectedCategories.length }
|
|
5267
5263
|
) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
|
|
5268
|
-
/* @__PURE__ */ jsx(Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsx(Link
|
|
5264
|
+
/* @__PURE__ */ jsx(Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsx(Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsx(Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
|
|
5269
5265
|
id: "c4r.widgets.category.unlock"
|
|
5270
5266
|
}) }) : selectedCategories.length ? /* @__PURE__ */ jsxs(
|
|
5271
5267
|
Box,
|
|
@@ -5276,11 +5272,11 @@ function ComparativeCategoryWidgetUI({
|
|
|
5276
5272
|
gap: theme.spacing(1)
|
|
5277
5273
|
},
|
|
5278
5274
|
children: [
|
|
5279
|
-
/* @__PURE__ */ jsx(Link
|
|
5275
|
+
/* @__PURE__ */ jsx(Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5280
5276
|
id: "c4r.widgets.category.lock"
|
|
5281
5277
|
}) }),
|
|
5282
5278
|
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
|
|
5283
|
-
/* @__PURE__ */ jsx(Link
|
|
5279
|
+
/* @__PURE__ */ jsx(Link, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5284
5280
|
id: "c4r.widgets.category.clear"
|
|
5285
5281
|
}) })
|
|
5286
5282
|
]
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const ExternalLink: import('react').ForwardRefExoticComponent<(Omit<import('@mui/material/Link').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
2
|
-
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;
|
|
3
|
-
}, "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" | "endIcon" | "startIcon" | "TypographyClasses"> & {
|
|
4
|
-
component?: import('react').ElementType;
|
|
5
|
-
} & {
|
|
6
|
-
showIcon?: boolean;
|
|
7
|
-
useButton?: boolean;
|
|
8
|
-
icon?: JSX.Element;
|
|
9
|
-
}, "ref"> | Omit<{
|
|
10
|
-
target?: string;
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
loadingPosition?: "start" | "end";
|
|
13
|
-
external?: boolean;
|
|
14
|
-
} & import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "style" | "className" | "classes" | "color" | "children" | "sx" | "variant" | "target" | "tabIndex" | "href" | "disabled" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "disableElevation" | "endIcon" | "startIcon" | "loadingPosition" | "external"> & {
|
|
15
|
-
component?: import('react').ElementType;
|
|
16
|
-
} & {
|
|
17
|
-
showIcon?: boolean;
|
|
18
|
-
useButton?: boolean;
|
|
19
|
-
icon?: JSX.Element;
|
|
20
|
-
}, "ref">) & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
21
|
-
export default ExternalLink;
|
|
22
|
-
//# sourceMappingURL=ExternalLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ExternalLink.tsx"],"names":[],"mappings":"AA+DA,QAAA,MAAM,YAAY;;;;;eAjCH,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;;;;;;;;;eAFP,OAAO;gBACN,OAAO;WACZ,GAAG,CAAC,OAAO;kFA+BwB,CAAA;AAC9C,eAAe,YAAY,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LinkProps as MUILinkProps } from '@mui/material';
|
|
2
|
-
export type LinkProps = MUILinkProps<React.ElementType, {
|
|
3
|
-
/**
|
|
4
|
-
* Whether the link is external. If true, the link will open in a new tab.
|
|
5
|
-
*/
|
|
6
|
-
external?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Whether to show the external icon when external is true. Defaults to true.
|
|
9
|
-
*/
|
|
10
|
-
showExternalIcon?: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
13
|
-
export default Link;
|
|
14
|
-
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,SAAS,IAAI,YAAY,EAG1B,MAAM,eAAe,CAAA;AAkCtB,MAAM,MAAM,SAAS,GAAG,YAAY,CAClC,KAAK,CAAC,WAAW,EACjB;IACE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CACF,CAAA;AAgDD,QAAA,MAAM,IAAI,sHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
|