@carto/meridian-ds 2.1.0-alpha-copiable-input-text.3 → 2.1.1
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 +4 -2
- package/dist/{Link-_lzRY1Ay.cjs → Alert-oGAW_syG.cjs} +129 -129
- package/dist/{Link-D5fKicEY.js → Alert-yL5uEg4Z.js} +129 -129
- package/dist/{MenuItem-CKrhDizf.js → MenuItem-C8x-GasJ.js} +1 -1
- package/dist/{MenuItem-BY6fuF5U.cjs → MenuItem-CyIdh2wX.cjs} +1 -1
- package/dist/{TablePaginationActions-CCDi-BO-.js → TablePaginationActions-BWer8cmX.js} +6 -6
- package/dist/{TablePaginationActions-D2K26kdR.cjs → TablePaginationActions-MwqZJoRm.cjs} +6 -6
- package/dist/components/index.cjs +794 -874
- package/dist/components/index.js +798 -878
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +3 -3
- package/dist/types/components/atoms/index.d.ts +0 -2
- package/dist/types/components/atoms/index.d.ts.map +1 -1
- package/dist/types/components/{atoms/Copy/types.d.ts → molecules/Copy/CopiableComponent.d.ts} +5 -11
- package/dist/types/components/molecules/Copy/CopiableComponent.d.ts.map +1 -0
- package/dist/types/components/molecules/Copy/copyString.d.ts.map +1 -0
- package/dist/types/components/{atoms → molecules}/Copy/index.d.ts +1 -2
- package/dist/types/components/molecules/Copy/index.d.ts.map +1 -0
- package/dist/types/components/molecules/Copy/useCopyValue.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts.map +1 -1
- package/dist/types/components/molecules/index.d.ts +2 -0
- 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 +2 -2
- package/dist/types/localization/es.d.ts +2 -2
- package/dist/types/localization/id.d.ts +2 -2
- package/dist/types/localization/index.d.ts +6 -6
- package/dist/widgets/index.cjs +8 -8
- package/dist/widgets/index.js +2 -2
- package/package.json +1 -1
- package/dist/types/components/atoms/Copy/CopiableComponent.d.ts +0 -4
- package/dist/types/components/atoms/Copy/CopiableComponent.d.ts.map +0 -1
- package/dist/types/components/atoms/Copy/CopiableInputText.d.ts +0 -18
- package/dist/types/components/atoms/Copy/CopiableInputText.d.ts.map +0 -1
- package/dist/types/components/atoms/Copy/copyString.d.ts.map +0 -1
- package/dist/types/components/atoms/Copy/index.d.ts.map +0 -1
- package/dist/types/components/atoms/Copy/types.d.ts.map +0 -1
- package/dist/types/components/atoms/Copy/useCopyValue.d.ts.map +0 -1
- /package/dist/types/components/{atoms → molecules}/Copy/copyString.d.ts +0 -0
- /package/dist/types/components/{atoms → molecules}/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-MwqZJoRm.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-CyIdh2wX.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-BWer8cmX.js";
|
|
5
|
+
import { f, N } from "../TablePaginationActions-BWer8cmX.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-C8x-GasJ.js";
|
|
10
10
|
import { c as commonPalette } from "../paletteUtils-BHqJlHm9.js";
|
|
11
11
|
import { g } from "../paletteUtils-BHqJlHm9.js";
|
|
12
12
|
const tooltipArrowSize = 1;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './Copy';
|
|
2
1
|
export { default as Button } from './Button';
|
|
3
2
|
export { default as SplitButton } from './SplitButton';
|
|
4
3
|
export { default as LabelWithIndicator } from './LabelWithIndicator';
|
|
@@ -17,6 +16,5 @@ export type * from './SelectField';
|
|
|
17
16
|
export type * from './ToggleButtonGroup';
|
|
18
17
|
export type * from './Typography';
|
|
19
18
|
export type * from './IconButton';
|
|
20
|
-
export type * from './Copy';
|
|
21
19
|
export type * from './Link';
|
|
22
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,
|
|
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;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"}
|
package/dist/types/components/{atoms/Copy/types.d.ts → molecules/Copy/CopiableComponent.d.ts}
RENAMED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { IconButtonProps } from '
|
|
2
|
+
import { TooltipProps } from '@mui/material';
|
|
3
|
+
import { IconButtonProps } from '../../atoms';
|
|
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 */
|
|
10
9
|
copyText?: string;
|
|
11
|
-
/** Success message text */
|
|
12
10
|
copiedText?: string;
|
|
13
11
|
button?: boolean;
|
|
14
12
|
buttonLabel?: string;
|
|
@@ -17,10 +15,6 @@ export interface CopiableComponentProps {
|
|
|
17
15
|
dataTestId?: string;
|
|
18
16
|
tooltipPlacement?: TooltipProps['placement'];
|
|
19
17
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
onCopied?: () => void;
|
|
24
|
-
password?: boolean;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=types.d.ts.map
|
|
18
|
+
declare const CopiableComponent: import('react').ForwardRefExoticComponent<CopiableComponentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export default CopiableComponent;
|
|
20
|
+
//# sourceMappingURL=CopiableComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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,6 +1,5 @@
|
|
|
1
1
|
export { default as CopiableComponent } from './CopiableComponent';
|
|
2
|
-
export { default as CopiableInputText } from './CopiableInputText';
|
|
3
2
|
export { default as copyString } from './copyString';
|
|
4
3
|
export { useCopyValue } from './useCopyValue';
|
|
5
|
-
export type * from './
|
|
4
|
+
export type * from './CopiableComponent';
|
|
6
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/useMultipleSelectField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,eAAe,EACf,OAAO,EACP,QAAQ,GACT,EAAE,IAAI,CACL,QAAQ,CAAC,wBAAwB,CAAC,EAClC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAC3C;;;;
|
|
1
|
+
{"version":3,"file":"useMultipleSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/MultipleSelectField/useMultipleSelectField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,eAAe,EACf,OAAO,EACP,QAAQ,GACT,EAAE,IAAI,CACL,QAAQ,CAAC,wBAAwB,CAAC,EAClC,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAC3C;;;;0BA4BU,iBAAiB,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,CAAC;;;EAsDjE"}
|
|
@@ -3,6 +3,7 @@ export * from './MultipleSelectField';
|
|
|
3
3
|
export * from './Table';
|
|
4
4
|
export * from './UploadField';
|
|
5
5
|
export * from './Autocomplete';
|
|
6
|
+
export * from './Copy';
|
|
6
7
|
export { default as AccordionGroup } from './AccordionGroup';
|
|
7
8
|
export { default as Alert } from './Alert';
|
|
8
9
|
export { default as Avatar } from './Avatar';
|
|
@@ -17,5 +18,6 @@ export type * from './Alert';
|
|
|
17
18
|
export type * from './Autocomplete/types';
|
|
18
19
|
export type * from './Avatar';
|
|
19
20
|
export type * from './Snackbar';
|
|
21
|
+
export type * from './Copy';
|
|
20
22
|
export type * from './Tag';
|
|
21
23
|
//# 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,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
|
+
{"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,cAAc,QAAQ,CAAA;AACtB,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,QAAQ,CAAA;AAC3B,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":"AA8BA,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,8 +10,6 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
-
hide: string;
|
|
14
|
-
show: string;
|
|
15
13
|
opensInNewTab: string;
|
|
16
14
|
};
|
|
17
15
|
form: {
|
|
@@ -75,6 +73,8 @@ declare const _default: {
|
|
|
75
73
|
};
|
|
76
74
|
legend: {
|
|
77
75
|
layerOptions: string;
|
|
76
|
+
hide: string;
|
|
77
|
+
show: string;
|
|
78
78
|
layer: string;
|
|
79
79
|
opacity: string;
|
|
80
80
|
hideLayer: string;
|
|
@@ -10,8 +10,6 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
-
hide: string;
|
|
14
|
-
show: string;
|
|
15
13
|
opensInNewTab: string;
|
|
16
14
|
};
|
|
17
15
|
form: {
|
|
@@ -75,6 +73,8 @@ declare const _default: {
|
|
|
75
73
|
};
|
|
76
74
|
legend: {
|
|
77
75
|
layerOptions: string;
|
|
76
|
+
hide: string;
|
|
77
|
+
show: string;
|
|
78
78
|
layer: string;
|
|
79
79
|
opacity: string;
|
|
80
80
|
hideLayer: string;
|
|
@@ -10,8 +10,6 @@ declare const _default: {
|
|
|
10
10
|
save: string;
|
|
11
11
|
add: string;
|
|
12
12
|
showOptions: string;
|
|
13
|
-
hide: string;
|
|
14
|
-
show: string;
|
|
15
13
|
opensInNewTab: string;
|
|
16
14
|
};
|
|
17
15
|
form: {
|
|
@@ -75,6 +73,8 @@ declare const _default: {
|
|
|
75
73
|
};
|
|
76
74
|
legend: {
|
|
77
75
|
layerOptions: string;
|
|
76
|
+
hide: string;
|
|
77
|
+
show: string;
|
|
78
78
|
layer: string;
|
|
79
79
|
opacity: string;
|
|
80
80
|
hideLayer: string;
|
|
@@ -11,8 +11,6 @@ export declare const messages: {
|
|
|
11
11
|
save: string;
|
|
12
12
|
add: string;
|
|
13
13
|
showOptions: string;
|
|
14
|
-
hide: string;
|
|
15
|
-
show: string;
|
|
16
14
|
opensInNewTab: string;
|
|
17
15
|
};
|
|
18
16
|
form: {
|
|
@@ -76,6 +74,8 @@ export declare const messages: {
|
|
|
76
74
|
};
|
|
77
75
|
legend: {
|
|
78
76
|
layerOptions: string;
|
|
77
|
+
hide: string;
|
|
78
|
+
show: string;
|
|
79
79
|
layer: string;
|
|
80
80
|
opacity: string;
|
|
81
81
|
hideLayer: string;
|
|
@@ -160,8 +160,6 @@ export declare const messages: {
|
|
|
160
160
|
save: string;
|
|
161
161
|
add: string;
|
|
162
162
|
showOptions: string;
|
|
163
|
-
hide: string;
|
|
164
|
-
show: string;
|
|
165
163
|
opensInNewTab: string;
|
|
166
164
|
};
|
|
167
165
|
form: {
|
|
@@ -225,6 +223,8 @@ export declare const messages: {
|
|
|
225
223
|
};
|
|
226
224
|
legend: {
|
|
227
225
|
layerOptions: string;
|
|
226
|
+
hide: string;
|
|
227
|
+
show: string;
|
|
228
228
|
layer: string;
|
|
229
229
|
opacity: string;
|
|
230
230
|
hideLayer: string;
|
|
@@ -307,8 +307,6 @@ export declare const messages: {
|
|
|
307
307
|
save: string;
|
|
308
308
|
add: string;
|
|
309
309
|
showOptions: string;
|
|
310
|
-
hide: string;
|
|
311
|
-
show: string;
|
|
312
310
|
opensInNewTab: string;
|
|
313
311
|
};
|
|
314
312
|
form: {
|
|
@@ -372,6 +370,8 @@ export declare const messages: {
|
|
|
372
370
|
};
|
|
373
371
|
legend: {
|
|
374
372
|
layerOptions: string;
|
|
373
|
+
hide: string;
|
|
374
|
+
show: string;
|
|
375
375
|
layer: string;
|
|
376
376
|
opacity: string;
|
|
377
377
|
hideLayer: string;
|
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-MwqZJoRm.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 Alert = require("../Alert-oGAW_syG.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
|
+
Alert.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
|
+
Alert.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(Alert.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.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(Alert.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(Alert.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(Alert.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-BWer8cmX.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, L as Link$1, A as Alert } from "../
|
|
10
|
+
import { I as IconButton, L as Link$1, A as Alert } from "../Alert-yL5uEg4Z.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;
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopiableInputText.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Copy/CopiableInputText.tsx"],"names":[],"mappings":"AA+HA,QAAA,MAAM,iBAAiB;;8BAtGS,SAAS;;;;;8BAAT,SAAS;;;;;8BAAT,SAAS;;;2DAsGe,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
File without changes
|
|
File without changes
|