@carto/meridian-ds 2.0.2 → 2.1.0-alpha-copiable-input-text.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/CHANGELOG.md +6 -0
- package/dist/{Alert-CnaTtNJd.js → Link-D5fKicEY.js} +171 -61
- package/dist/{Alert-BzEgeyQJ.cjs → Link-_lzRY1Ay.cjs} +170 -60
- package/dist/{MenuItem-C4bG5WHw.cjs → MenuItem-BY6fuF5U.cjs} +1 -1
- package/dist/{MenuItem-C1DvWMry.js → MenuItem-CKrhDizf.js} +1 -1
- package/dist/{TablePaginationActions-Cz5Hbi6N.js → TablePaginationActions-CCDi-BO-.js} +12 -9
- package/dist/{TablePaginationActions-mbbjzV6Y.cjs → TablePaginationActions-D2K26kdR.cjs} +12 -9
- package/dist/components/index.cjs +744 -631
- package/dist/components/index.js +750 -636
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +3 -3
- package/dist/types/components/atoms/Button.d.ts +11 -0
- package/dist/types/components/atoms/Button.d.ts.map +1 -1
- package/dist/types/components/atoms/Copy/CopiableComponent.d.ts +4 -0
- package/dist/types/components/atoms/Copy/CopiableComponent.d.ts.map +1 -0
- package/dist/types/components/atoms/Copy/CopiableInputText.d.ts +18 -0
- package/dist/types/components/atoms/Copy/CopiableInputText.d.ts.map +1 -0
- package/dist/types/components/atoms/Copy/copyString.d.ts.map +1 -0
- package/dist/types/components/{molecules → atoms}/Copy/index.d.ts +2 -1
- package/dist/types/components/atoms/Copy/index.d.ts.map +1 -0
- package/dist/types/components/{molecules/Copy/CopiableComponent.d.ts → atoms/Copy/types.d.ts} +11 -5
- package/dist/types/components/atoms/Copy/types.d.ts.map +1 -0
- package/dist/types/components/atoms/Copy/useCopyValue.d.ts.map +1 -0
- package/dist/types/components/atoms/Link.d.ts +39 -0
- package/dist/types/components/atoms/Link.d.ts.map +1 -0
- package/dist/types/components/atoms/ScreenReaderOnly.d.ts +3 -0
- package/dist/types/components/atoms/ScreenReaderOnly.d.ts.map +1 -0
- package/dist/types/components/atoms/index.d.ts +5 -0
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/molecules/index.d.ts +0 -2
- package/dist/types/components/molecules/index.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts.map +1 -1
- package/dist/types/localization/en.d.ts +3 -2
- package/dist/types/localization/en.d.ts.map +1 -1
- package/dist/types/localization/es.d.ts +3 -2
- package/dist/types/localization/es.d.ts.map +1 -1
- package/dist/types/localization/id.d.ts +3 -2
- package/dist/types/localization/id.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +9 -6
- package/dist/types/localization/index.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +8 -8
- package/dist/widgets/index.js +5 -5
- package/package.json +1 -1
- package/dist/types/components/molecules/Copy/CopiableComponent.d.ts.map +0 -1
- package/dist/types/components/molecules/Copy/copyString.d.ts.map +0 -1
- package/dist/types/components/molecules/Copy/index.d.ts.map +0 -1
- package/dist/types/components/molecules/Copy/useCopyValue.d.ts.map +0 -1
- /package/dist/types/components/{molecules → atoms}/Copy/copyString.d.ts +0 -0
- /package/dist/types/components/{molecules → atoms}/Copy/useCopyValue.d.ts +0 -0
package/dist/theme/index.cjs
CHANGED
|
@@ -3,11 +3,11 @@ 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-D2K26kdR.cjs");
|
|
7
7
|
const iconsMaterial = require("@mui/icons-material");
|
|
8
8
|
const ArrowDown = require("../ArrowDown-DJ0vhbsw.cjs");
|
|
9
9
|
const xDatePickers = require("@mui/x-date-pickers");
|
|
10
|
-
const MenuItem = require("../MenuItem-
|
|
10
|
+
const MenuItem = require("../MenuItem-BY6fuF5U.cjs");
|
|
11
11
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
12
12
|
const tooltipArrowSize = 1;
|
|
13
13
|
const tooltipSeparation = 0.5;
|
package/dist/theme/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, e as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-
|
|
5
|
-
import { f, 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, M as MENU_ITEM_SIZE_DEFAULT, d as MENU_LIST_MAX_SIZE, e as MENU_ITEM_SIZE_DENSE, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-CCDi-BO-.js";
|
|
5
|
+
import { f, N } from "../TablePaginationActions-CCDi-BO-.js";
|
|
6
6
|
import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
|
|
7
7
|
import { A as ArrowDown } from "../ArrowDown-d6bxUL0F.js";
|
|
8
8
|
import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
|
|
9
|
-
import { M as MenuItem } from "../MenuItem-
|
|
9
|
+
import { M as MenuItem } from "../MenuItem-CKrhDizf.js";
|
|
10
10
|
import { c as commonPalette } from "../paletteUtils-BHqJlHm9.js";
|
|
11
11
|
import { g } from "../paletteUtils-BHqJlHm9.js";
|
|
12
12
|
const tooltipArrowSize = 1;
|
|
@@ -9,6 +9,17 @@ 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
|
+
/**
|
|
18
|
+
* Whether to show the external icon when external is true. Defaults to true.
|
|
19
|
+
* Needs to have a href prop to be considered external.
|
|
20
|
+
*/
|
|
21
|
+
showExternalIcon?: boolean;
|
|
22
|
+
'aria-describedby'?: string;
|
|
12
23
|
}>;
|
|
13
24
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
14
25
|
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":"AAEA,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAuBtB,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;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CACF,CAAA;AAoGD,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CopiableComponentProps } from '..';
|
|
2
|
+
declare const CopiableComponent: import('react').ForwardRefExoticComponent<CopiableComponentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export default CopiableComponent;
|
|
4
|
+
//# sourceMappingURL=CopiableComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopiableComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/CopiableComponent.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,sBAAsB,EAGvB,MAAM,oBAAoB,CAAA;AAwF3B,QAAA,MAAM,iBAAiB,mHAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const CopiableInputText: import('react').ForwardRefExoticComponent<(Omit<import('@mui/material').FilledTextFieldProps & {
|
|
2
|
+
value: string;
|
|
3
|
+
extraEndAdornment?: React.ReactNode;
|
|
4
|
+
onCopied?: () => void;
|
|
5
|
+
password?: boolean;
|
|
6
|
+
}, "ref"> | Omit<import('@mui/material').OutlinedTextFieldProps & {
|
|
7
|
+
value: string;
|
|
8
|
+
extraEndAdornment?: React.ReactNode;
|
|
9
|
+
onCopied?: () => void;
|
|
10
|
+
password?: boolean;
|
|
11
|
+
}, "ref"> | Omit<import('@mui/material').StandardTextFieldProps & {
|
|
12
|
+
value: string;
|
|
13
|
+
extraEndAdornment?: React.ReactNode;
|
|
14
|
+
onCopied?: () => void;
|
|
15
|
+
password?: boolean;
|
|
16
|
+
}, "ref">) & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export default CopiableInputText;
|
|
18
|
+
//# sourceMappingURL=CopiableInputText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopiableInputText.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/CopiableInputText.tsx"],"names":[],"mappings":"AA2HA,QAAA,MAAM,iBAAiB;;8BApGU,SAC5B;;;;;8BAD4B,SAC5B;;;;;8BAD4B,SAC5B;;;2DAmGmD,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyString.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/copyString.tsx"],"names":[],"mappings":"AAAA,iBAAe,UAAU,CAAC,KAAK,EAAE,MAAM,iBAEtC;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as CopiableComponent } from './CopiableComponent';
|
|
2
|
+
export { default as CopiableInputText } from './CopiableInputText';
|
|
2
3
|
export { default as copyString } from './copyString';
|
|
3
4
|
export { useCopyValue } from './useCopyValue';
|
|
4
|
-
export type * from './
|
|
5
|
+
export type * from './types';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,mBAAmB,SAAS,CAAA"}
|
package/dist/types/components/{molecules/Copy/CopiableComponent.d.ts → atoms/Copy/types.d.ts}
RENAMED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TooltipProps } from '@mui/material';
|
|
3
|
-
import { IconButtonProps } from '
|
|
2
|
+
import { TextFieldProps, TooltipProps } from '@mui/material';
|
|
3
|
+
import { IconButtonProps } from '..';
|
|
4
4
|
export interface CopiableComponentProps {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
value: string;
|
|
8
8
|
onCopied?: () => void;
|
|
9
|
+
/** Copy button tooltip text */
|
|
9
10
|
copyText?: string;
|
|
11
|
+
/** Success message text */
|
|
10
12
|
copiedText?: string;
|
|
11
13
|
button?: boolean;
|
|
12
14
|
buttonLabel?: string;
|
|
@@ -15,6 +17,10 @@ export interface CopiableComponentProps {
|
|
|
15
17
|
dataTestId?: string;
|
|
16
18
|
tooltipPlacement?: TooltipProps['placement'];
|
|
17
19
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
export type CopiableInputTextProps = TextFieldProps & {
|
|
21
|
+
value: string;
|
|
22
|
+
extraEndAdornment?: React.ReactNode;
|
|
23
|
+
onCopied?: () => void;
|
|
24
|
+
password?: boolean;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C;AAED,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCopyValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/useCopyValue.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;iBAMG,MAAM;CAUjC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LinkProps as MUILinkProps } from '@mui/material';
|
|
2
|
+
export type LinkProps = MUILinkProps<React.ElementType, {
|
|
3
|
+
endIcon?: React.ReactNode;
|
|
4
|
+
startIcon?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Whether the link is external. If true, the link will open in a new tab.
|
|
7
|
+
*/
|
|
8
|
+
external?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether to show the external icon when external is true. Defaults to true.
|
|
11
|
+
*/
|
|
12
|
+
showExternalIcon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* For target="_blank", use the `external` prop instead for better consistency and accessibility.
|
|
15
|
+
*
|
|
16
|
+
* Instead of: `<Link target="_blank" rel="noopener noreferrer" href="...">Link text</Link>`
|
|
17
|
+
*
|
|
18
|
+
* Use: `<Link external href="...">Link text</Link>`
|
|
19
|
+
*
|
|
20
|
+
* The `external` prop automatically handles target="_blank", rel="noopener noreferrer",
|
|
21
|
+
* and adds proper accessibility attributes and visual indicators.
|
|
22
|
+
*/
|
|
23
|
+
target?: string;
|
|
24
|
+
/**
|
|
25
|
+
* For rel="noopener noreferrer", use the `external` prop instead for better consistency and accessibility.
|
|
26
|
+
*
|
|
27
|
+
* Instead of: `<Link target="_blank" rel="noopener noreferrer" href="...">Link text</Link>`
|
|
28
|
+
*
|
|
29
|
+
* Use: `<Link external href="...">Link text</Link>`
|
|
30
|
+
*
|
|
31
|
+
* The `external` prop automatically handles target="_blank", rel="noopener noreferrer",
|
|
32
|
+
* and adds proper accessibility attributes and visual indicators.
|
|
33
|
+
*/
|
|
34
|
+
rel?: string;
|
|
35
|
+
'aria-describedby'?: string;
|
|
36
|
+
}>;
|
|
37
|
+
declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
38
|
+
export default Link;
|
|
39
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,IAAI,YAAY,EAG1B,MAAM,eAAe,CAAA;AAkEtB,MAAM,MAAM,SAAS,GAAG,YAAY,CAClC,KAAK,CAAC,WAAW,EACjB;IACE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;;OASG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CACF,CAAA;AA6DD,QAAA,MAAM,IAAI,sHAAoB,CAAA;AAC9B,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const ScreenReaderOnly: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
2
|
+
export default ScreenReaderOnly;
|
|
3
|
+
//# sourceMappingURL=ScreenReaderOnly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenReaderOnly.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ScreenReaderOnly.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,gBAAgB,+NAUnB,CAAA;AAEH,eAAe,gBAAgB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './Copy';
|
|
1
2
|
export { default as Button } from './Button';
|
|
2
3
|
export { default as SplitButton } from './SplitButton';
|
|
3
4
|
export { default as LabelWithIndicator } from './LabelWithIndicator';
|
|
@@ -6,6 +7,8 @@ export { default as SelectField } from './SelectField';
|
|
|
6
7
|
export { default as ToggleButtonGroup } from './ToggleButtonGroup';
|
|
7
8
|
export { default as Typography } from './Typography';
|
|
8
9
|
export { default as IconButton } from './IconButton';
|
|
10
|
+
export { default as Link } from './Link';
|
|
11
|
+
export { default as ScreenReaderOnly } from './ScreenReaderOnly';
|
|
9
12
|
export type * from './Button';
|
|
10
13
|
export type * from './SplitButton';
|
|
11
14
|
export type * from './LabelWithIndicator';
|
|
@@ -14,4 +17,6 @@ export type * from './SelectField';
|
|
|
14
17
|
export type * from './ToggleButtonGroup';
|
|
15
18
|
export type * from './Typography';
|
|
16
19
|
export type * from './IconButton';
|
|
20
|
+
export type * from './Copy';
|
|
21
|
+
export type * from './Link';
|
|
17
22
|
//# 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,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,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,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,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;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEhE,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,cAAc,CAAA;AACjC,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,QAAQ,CAAA"}
|
|
@@ -3,7 +3,6 @@ export * from './MultipleSelectField';
|
|
|
3
3
|
export * from './Table';
|
|
4
4
|
export * from './UploadField';
|
|
5
5
|
export * from './Autocomplete';
|
|
6
|
-
export * from './Copy';
|
|
7
6
|
export { default as AccordionGroup } from './AccordionGroup';
|
|
8
7
|
export { default as Alert } from './Alert';
|
|
9
8
|
export { default as Avatar } from './Avatar';
|
|
@@ -18,6 +17,5 @@ export type * from './Alert';
|
|
|
18
17
|
export type * from './Autocomplete/types';
|
|
19
18
|
export type * from './Avatar';
|
|
20
19
|
export type * from './Snackbar';
|
|
21
|
-
export type * from './Copy';
|
|
22
20
|
export type * from './Tag';
|
|
23
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AAEtC,mBAAmB,QAAQ,CAAA;AAC3B,mBAAmB,uBAAuB,CAAA;AAC1C,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,SAAS,CAAA;AAC5B,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,UAAU,CAAA;AAC7B,mBAAmB,YAAY,CAAA;AAC/B,mBAAmB,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeAreaHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeAreaHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/CodeAreaHeader.tsx"],"names":[],"mappings":"AAwBA,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,IAAI,GACL,EAAE,KAAK,kDAsHP"}
|
|
@@ -10,6 +10,9 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
+
hide: string;
|
|
14
|
+
show: string;
|
|
15
|
+
opensInNewTab: string;
|
|
13
16
|
};
|
|
14
17
|
form: {
|
|
15
18
|
selectAll: string;
|
|
@@ -72,8 +75,6 @@ declare const _default: {
|
|
|
72
75
|
};
|
|
73
76
|
legend: {
|
|
74
77
|
layerOptions: string;
|
|
75
|
-
hide: string;
|
|
76
|
-
show: string;
|
|
77
78
|
layer: string;
|
|
78
79
|
opacity: string;
|
|
79
80
|
hideLayer: string;
|
|
@@ -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,wBAuJ0B"}
|
|
@@ -10,6 +10,9 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
+
hide: string;
|
|
14
|
+
show: string;
|
|
15
|
+
opensInNewTab: string;
|
|
13
16
|
};
|
|
14
17
|
form: {
|
|
15
18
|
selectAll: string;
|
|
@@ -72,8 +75,6 @@ declare const _default: {
|
|
|
72
75
|
};
|
|
73
76
|
legend: {
|
|
74
77
|
layerOptions: string;
|
|
75
|
-
hide: string;
|
|
76
|
-
show: string;
|
|
77
78
|
layer: string;
|
|
78
79
|
opacity: string;
|
|
79
80
|
hideLayer: string;
|
|
@@ -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,wBAyJ0B"}
|
|
@@ -10,6 +10,9 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
+
hide: string;
|
|
14
|
+
show: string;
|
|
15
|
+
opensInNewTab: string;
|
|
13
16
|
};
|
|
14
17
|
form: {
|
|
15
18
|
selectAll: string;
|
|
@@ -72,8 +75,6 @@ declare const _default: {
|
|
|
72
75
|
};
|
|
73
76
|
legend: {
|
|
74
77
|
layerOptions: string;
|
|
75
|
-
hide: string;
|
|
76
|
-
show: string;
|
|
77
78
|
layer: string;
|
|
78
79
|
opacity: string;
|
|
79
80
|
hideLayer: string;
|
|
@@ -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,wBAuJ0B"}
|
|
@@ -11,6 +11,9 @@ export declare const messages: {
|
|
|
11
11
|
save: string;
|
|
12
12
|
add: string;
|
|
13
13
|
showOptions: string;
|
|
14
|
+
hide: string;
|
|
15
|
+
show: string;
|
|
16
|
+
opensInNewTab: string;
|
|
14
17
|
};
|
|
15
18
|
form: {
|
|
16
19
|
selectAll: string;
|
|
@@ -73,8 +76,6 @@ export declare const messages: {
|
|
|
73
76
|
};
|
|
74
77
|
legend: {
|
|
75
78
|
layerOptions: string;
|
|
76
|
-
hide: string;
|
|
77
|
-
show: string;
|
|
78
79
|
layer: string;
|
|
79
80
|
opacity: string;
|
|
80
81
|
hideLayer: string;
|
|
@@ -159,6 +160,9 @@ export declare const messages: {
|
|
|
159
160
|
save: string;
|
|
160
161
|
add: string;
|
|
161
162
|
showOptions: string;
|
|
163
|
+
hide: string;
|
|
164
|
+
show: string;
|
|
165
|
+
opensInNewTab: string;
|
|
162
166
|
};
|
|
163
167
|
form: {
|
|
164
168
|
selectAll: string;
|
|
@@ -221,8 +225,6 @@ export declare const messages: {
|
|
|
221
225
|
};
|
|
222
226
|
legend: {
|
|
223
227
|
layerOptions: string;
|
|
224
|
-
hide: string;
|
|
225
|
-
show: string;
|
|
226
228
|
layer: string;
|
|
227
229
|
opacity: string;
|
|
228
230
|
hideLayer: string;
|
|
@@ -305,6 +307,9 @@ export declare const messages: {
|
|
|
305
307
|
save: string;
|
|
306
308
|
add: string;
|
|
307
309
|
showOptions: string;
|
|
310
|
+
hide: string;
|
|
311
|
+
show: string;
|
|
312
|
+
opensInNewTab: string;
|
|
308
313
|
};
|
|
309
314
|
form: {
|
|
310
315
|
selectAll: string;
|
|
@@ -367,8 +372,6 @@ export declare const messages: {
|
|
|
367
372
|
};
|
|
368
373
|
legend: {
|
|
369
374
|
layerOptions: string;
|
|
370
|
-
hide: string;
|
|
371
|
-
show: string;
|
|
372
375
|
layer: string;
|
|
373
376
|
opacity: string;
|
|
374
377
|
hideLayer: 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"}
|
|
@@ -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":"AAaA,OAAO,EAAE,UAAU,EAAwB,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAW1E,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-D2K26kdR.cjs");
|
|
8
8
|
const _ReactEcharts = require("echarts-for-react");
|
|
9
9
|
const reactWindow = require("react-window");
|
|
10
10
|
const SwatchSquare = require("../SwatchSquare-B8PIY3Rd.cjs");
|
|
11
11
|
const iconsMaterial = require("@mui/icons-material");
|
|
12
|
-
const
|
|
12
|
+
const Link = require("../Link-_lzRY1Ay.cjs");
|
|
13
13
|
const paletteUtils = require("../paletteUtils-B9ybmwiI.cjs");
|
|
14
14
|
function detectTouchscreen() {
|
|
15
15
|
let result = false;
|
|
@@ -2174,7 +2174,7 @@ function ChartLegend({
|
|
|
2174
2174
|
(overflowing || offset > 0) && /* @__PURE__ */ jsxRuntime.jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
|
|
2175
2175
|
/* @__PURE__ */ jsxRuntime.jsx(OverflowVeil, {}),
|
|
2176
2176
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2177
|
-
|
|
2177
|
+
Link.IconButton,
|
|
2178
2178
|
{
|
|
2179
2179
|
icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {}),
|
|
2180
2180
|
component: "span",
|
|
@@ -2187,7 +2187,7 @@ function ChartLegend({
|
|
|
2187
2187
|
}
|
|
2188
2188
|
),
|
|
2189
2189
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2190
|
-
|
|
2190
|
+
Link.IconButton,
|
|
2191
2191
|
{
|
|
2192
2192
|
icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {}),
|
|
2193
2193
|
component: "span",
|
|
@@ -5271,7 +5271,7 @@ function ComparativeCategoryWidgetUI({
|
|
|
5271
5271
|
{ id: "c4r.widgets.category.selectedItems" },
|
|
5272
5272
|
{ items: selectedCategories.length }
|
|
5273
5273
|
) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
|
|
5274
|
-
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5274
|
+
/* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
|
|
5275
5275
|
id: "c4r.widgets.category.unlock"
|
|
5276
5276
|
}) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5277
5277
|
material.Box,
|
|
@@ -5282,11 +5282,11 @@ function ComparativeCategoryWidgetUI({
|
|
|
5282
5282
|
gap: theme.spacing(1)
|
|
5283
5283
|
},
|
|
5284
5284
|
children: [
|
|
5285
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5285
|
+
/* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5286
5286
|
id: "c4r.widgets.category.lock"
|
|
5287
5287
|
}) }),
|
|
5288
5288
|
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true }),
|
|
5289
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5289
|
+
/* @__PURE__ */ jsxRuntime.jsx(Link.Link, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5290
5290
|
id: "c4r.widgets.category.clear"
|
|
5291
5291
|
}) })
|
|
5292
5292
|
]
|
|
@@ -6965,7 +6965,7 @@ function NoDataAlert({
|
|
|
6965
6965
|
severity = void 0,
|
|
6966
6966
|
...otherProps
|
|
6967
6967
|
}) {
|
|
6968
|
-
return severity ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6968
|
+
return severity ? /* @__PURE__ */ jsxRuntime.jsx(Link.Alert, { title, severity, ...otherProps, children: /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { children: body }) }) : /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { ...otherProps, children: [
|
|
6969
6969
|
title && /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", children: title }),
|
|
6970
6970
|
/* @__PURE__ */ jsxRuntime.jsx(AlertBody, { color: "textSecondary", children: body })
|
|
6971
6971
|
] });
|
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, 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 { h 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 { h as getDefaultExportFromCjs, u as useImperativeIntl, T as Typography, S as SPACING, B as BREAKPOINTS, a as TablePaginationActions, b as ICON_SIZE_MEDIUM } from "../TablePaginationActions-CCDi-BO-.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-CaaLsjAC.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, A as Alert } from "../
|
|
10
|
+
import { I as IconButton, L as Link$1, A as Alert } from "../Link-D5fKicEY.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;
|
|
@@ -5269,7 +5269,7 @@ function ComparativeCategoryWidgetUI({
|
|
|
5269
5269
|
{ id: "c4r.widgets.category.selectedItems" },
|
|
5270
5270
|
{ items: selectedCategories.length }
|
|
5271
5271
|
) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
|
|
5272
|
-
/* @__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({
|
|
5272
|
+
/* @__PURE__ */ jsx(Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsx(Link$1, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsx(Link$1, { onClick: disableBlocking, children: intlConfig.formatMessage({
|
|
5273
5273
|
id: "c4r.widgets.category.unlock"
|
|
5274
5274
|
}) }) : selectedCategories.length ? /* @__PURE__ */ jsxs(
|
|
5275
5275
|
Box,
|
|
@@ -5280,11 +5280,11 @@ function ComparativeCategoryWidgetUI({
|
|
|
5280
5280
|
gap: theme.spacing(1)
|
|
5281
5281
|
},
|
|
5282
5282
|
children: [
|
|
5283
|
-
/* @__PURE__ */ jsx(Link, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5283
|
+
/* @__PURE__ */ jsx(Link$1, { onClick: enableBlocking, children: intlConfig.formatMessage({
|
|
5284
5284
|
id: "c4r.widgets.category.lock"
|
|
5285
5285
|
}) }),
|
|
5286
5286
|
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
|
|
5287
|
-
/* @__PURE__ */ jsx(Link, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5287
|
+
/* @__PURE__ */ jsx(Link$1, { onClick: clearSelection, children: intlConfig.formatMessage({
|
|
5288
5288
|
id: "c4r.widgets.category.clear"
|
|
5289
5289
|
}) })
|
|
5290
5290
|
]
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopiableComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/CopiableComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsC,MAAM,OAAO,CAAA;AAGrE,OAAO,EAAW,YAAY,EAAO,MAAM,eAAe,CAAA;AAG1D,OAAO,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGhE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAC7C;AA+ED,QAAA,MAAM,iBAAiB,mHAAiC,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"copyString.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/copyString.tsx"],"names":[],"mappings":"AAAA,iBAAe,UAAU,CAAC,KAAK,EAAE,MAAM,iBAEtC;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,mBAAmB,qBAAqB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCopyValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Copy/useCopyValue.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;iBAMG,MAAM;CAUjC,CAAA"}
|
|
File without changes
|
|
File without changes
|