@carto/meridian-ds 1.3.6 → 1.4.1-0
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-C0xmyi3Z.cjs → Alert-B2JgFj6Y.cjs} +1 -1
- package/dist/{Alert-DbN79ENW.js → Alert-Cn0nq6aq.js} +1 -1
- package/dist/MenuItem-CuEx97RN.cjs +1 -0
- package/dist/MenuItem-vbfSlKyV.js +139 -0
- package/dist/TablePaginationActions-7wkkiCXh.cjs +9 -0
- package/dist/{TablePaginationActions-BmvmVQd9.js → TablePaginationActions-EC4ynZRa.js} +534 -734
- package/dist/components/index.cjs +1 -5
- package/dist/components/index.js +1374 -13834
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +150 -79
- package/dist/types/components/molecules/Autocomplete/Autocomplete.d.ts +9 -0
- package/dist/types/components/molecules/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/CreatableAutocomplete.d.ts +9 -0
- package/dist/types/components/molecules/Autocomplete/CreatableAutocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/ListBoxWithFilter.d.ts +15 -0
- package/dist/types/components/molecules/Autocomplete/ListBoxWithFilter.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/MultipleAutocomplete.d.ts +9 -0
- package/dist/types/components/molecules/Autocomplete/MultipleAutocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/index.d.ts +4 -0
- package/dist/types/components/molecules/Autocomplete/index.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/types.d.ts +42 -0
- package/dist/types/components/molecules/Autocomplete/types.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/useAutocompleteRenderOption.d.ts +9 -0
- package/dist/types/components/molecules/Autocomplete/useAutocompleteRenderOption.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/useCreatableAutocomplete.d.ts +17 -0
- package/dist/types/components/molecules/Autocomplete/useCreatableAutocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/useMultipleAutocomplete.d.ts +20 -0
- package/dist/types/components/molecules/Autocomplete/useMultipleAutocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete/utils.d.ts +3 -0
- package/dist/types/components/molecules/Autocomplete/utils.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/MenuFilter.d.ts +8 -0
- package/dist/types/components/molecules/Menu/MenuFilter.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/index.d.ts +2 -0
- package/dist/types/components/molecules/Menu/index.d.ts.map +1 -1
- package/dist/types/components/molecules/index.d.ts +2 -2
- package/dist/types/components/molecules/index.d.ts.map +1 -1
- package/dist/types/components/organisms/Dialog/DialogContent.d.ts.map +1 -1
- package/dist/types/theme/sections/components/forms.d.ts.map +1 -1
- package/dist/types/theme/sections/components/navigation.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
- package/dist/widgets/index.cjs +5 -5
- package/dist/widgets/index.js +570 -568
- package/package.json +4 -2
- package/dist/MenuItem-B3IDLBB1.js +0 -3565
- package/dist/MenuItem-DUV2TC2p.cjs +0 -9
- package/dist/TablePaginationActions-Bv-6vZ7z.cjs +0 -9
- package/dist/types/components/molecules/Autocomplete.d.ts +0 -18
- package/dist/types/components/molecules/Autocomplete.d.ts.map +0 -1
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts +0 -9
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts.map +0 -1
package/dist/theme/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { alpha as x, responsiveFontSizes as ao, createTheme as
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { T as
|
|
4
|
-
import { N as
|
|
5
|
-
import { Cancel as v, EventOutlined as L, ChevronRightOutlined as
|
|
1
|
+
import { alpha as x, Tooltip as to, responsiveFontSizes as ao, createTheme as eo } from "@mui/material";
|
|
2
|
+
import { jsxs as no, Fragment as po, jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import { T as lo, a as so, I as e, b as r, c as u, g as a, A as R, B as g, S as P } from "../TablePaginationActions-EC4ynZRa.js";
|
|
4
|
+
import { N as Do } from "../TablePaginationActions-EC4ynZRa.js";
|
|
5
|
+
import { Cancel as v, EventOutlined as L, ChevronRightOutlined as co, ChevronLeftOutlined as go, ExpandMoreOutlined as oo, CheckCircleOutlined as uo } from "@mui/icons-material";
|
|
6
6
|
import { A as h } from "../ArrowDown-B1AG0MlL.js";
|
|
7
|
-
import {
|
|
7
|
+
import { renderDigitalClockTimeView as A } from "@mui/x-date-pickers";
|
|
8
|
+
import { M as W } from "../MenuItem-vbfSlKyV.js";
|
|
8
9
|
import { c as p } from "../paletteUtils-BEwZhrLg.js";
|
|
9
|
-
import { g as
|
|
10
|
-
const io = 1, b = 0.5, y = io + b,
|
|
10
|
+
import { g as Eo } from "../paletteUtils-BEwZhrLg.js";
|
|
11
|
+
const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z", H = "50%", D = 0.5, xo = {
|
|
11
12
|
// Divider
|
|
12
13
|
MuiDivider: {
|
|
13
14
|
styleOverrides: {
|
|
@@ -127,9 +128,9 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
127
128
|
variant: "outlined",
|
|
128
129
|
size: "small"
|
|
129
130
|
},
|
|
130
|
-
labelDisplayedRows: ({ from: o, to: i, count: c }) => /* @__PURE__ */
|
|
131
|
+
labelDisplayedRows: ({ from: o, to: i, count: c }) => /* @__PURE__ */ no(po, { children: [
|
|
131
132
|
/* @__PURE__ */ s(
|
|
132
|
-
|
|
133
|
+
lo,
|
|
133
134
|
{
|
|
134
135
|
component: "span",
|
|
135
136
|
variant: "inherit",
|
|
@@ -140,7 +141,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
140
141
|
),
|
|
141
142
|
` of ${c}`
|
|
142
143
|
] }),
|
|
143
|
-
ActionsComponent:
|
|
144
|
+
ActionsComponent: so
|
|
144
145
|
},
|
|
145
146
|
styleOverrides: {
|
|
146
147
|
root: () => ({
|
|
@@ -466,7 +467,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
466
467
|
// https://github.com/mui/material-ui/issues/33229
|
|
467
468
|
"& .MuiAvatar-fallback": {
|
|
468
469
|
path: {
|
|
469
|
-
d: `path('${
|
|
470
|
+
d: `path('${bo}') !important`
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
473
|
}),
|
|
@@ -518,7 +519,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
518
519
|
})
|
|
519
520
|
}
|
|
520
521
|
}
|
|
521
|
-
}, F =
|
|
522
|
+
}, F = a(2), l = a(3), n = a(4), d = a(6), E = a(0.5), yo = {
|
|
522
523
|
// Button Base
|
|
523
524
|
MuiButtonBase: {
|
|
524
525
|
defaultProps: {
|
|
@@ -1190,7 +1191,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1190
1191
|
}
|
|
1191
1192
|
}
|
|
1192
1193
|
})
|
|
1193
|
-
},
|
|
1194
|
+
}, Mo = {
|
|
1194
1195
|
// Checkbox
|
|
1195
1196
|
MuiCheckbox: {
|
|
1196
1197
|
defaultProps: {
|
|
@@ -1641,7 +1642,8 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1641
1642
|
size: "small",
|
|
1642
1643
|
fullWidth: !0,
|
|
1643
1644
|
popupIcon: /* @__PURE__ */ s(h, {}),
|
|
1644
|
-
clearIcon: /* @__PURE__ */ s(v, { "data-testid": "cancel-icon-autocomplete" }),
|
|
1645
|
+
clearIcon: /* @__PURE__ */ s(to, { title: "Clear", children: /* @__PURE__ */ s(v, { "data-testid": "cancel-icon-autocomplete" }) }),
|
|
1646
|
+
clearText: "",
|
|
1645
1647
|
ChipProps: { color: "default" },
|
|
1646
1648
|
limitTags: 1,
|
|
1647
1649
|
componentsProps: {
|
|
@@ -1699,6 +1701,49 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1699
1701
|
}
|
|
1700
1702
|
}
|
|
1701
1703
|
}),
|
|
1704
|
+
inputRoot: ({ theme: o }) => ({
|
|
1705
|
+
maxHeight: o.spacing(20),
|
|
1706
|
+
// 160px
|
|
1707
|
+
overflow: "auto",
|
|
1708
|
+
transition: "box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
1709
|
+
"& .MuiAutocomplete-input": {
|
|
1710
|
+
minWidth: `${o.spacing(10)} !important`,
|
|
1711
|
+
"&[readOnly]": {
|
|
1712
|
+
display: "none"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
// Overrides in variants needed to allow scrollbar to appear correctly at max height
|
|
1716
|
+
"&::before, &::after": {
|
|
1717
|
+
content: "none"
|
|
1718
|
+
},
|
|
1719
|
+
"& fieldset": {
|
|
1720
|
+
border: "0 !important"
|
|
1721
|
+
},
|
|
1722
|
+
"&.MuiOutlinedInput-root": {
|
|
1723
|
+
boxShadow: `inset 0 0 0 1px ${o.palette.default.outlinedBorder}`
|
|
1724
|
+
},
|
|
1725
|
+
"&:hover": {
|
|
1726
|
+
boxShadow: `inset 0 0 0 1px ${o.palette.text.primary}`
|
|
1727
|
+
},
|
|
1728
|
+
"&.Mui-focused": {
|
|
1729
|
+
transition: "none",
|
|
1730
|
+
boxShadow: `inset 0 0 0 2px ${o.palette.primary.main}`
|
|
1731
|
+
},
|
|
1732
|
+
"&.Mui-error": {
|
|
1733
|
+
boxShadow: `inset 0 0 0 2px ${o.palette.error.light}`
|
|
1734
|
+
},
|
|
1735
|
+
"&.Mui-disabled.MuiOutlinedInput-root": {
|
|
1736
|
+
boxShadow: `inset 0 0 0 1px ${o.palette.default.outlinedBorder}`,
|
|
1737
|
+
"&.Mui-error": {
|
|
1738
|
+
boxShadow: `inset 0 0 0 2px ${o.palette.error.light}`
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
"&.Mui-disabled.MuiFilledInput-root": {
|
|
1742
|
+
"& .MuiAutocomplete-tag": {
|
|
1743
|
+
borderColor: `${o.palette.default.outlinedBorder} !important`
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
}),
|
|
1702
1747
|
endAdornment: ({ theme: o }) => ({
|
|
1703
1748
|
transform: "none",
|
|
1704
1749
|
top: o.spacing(2),
|
|
@@ -1727,7 +1772,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1727
1772
|
popupIndicator: ({ theme: o }) => ({
|
|
1728
1773
|
width: r,
|
|
1729
1774
|
height: r,
|
|
1730
|
-
cursor: "
|
|
1775
|
+
cursor: "pointer",
|
|
1731
1776
|
"&:hover": {
|
|
1732
1777
|
backgroundColor: "transparent"
|
|
1733
1778
|
},
|
|
@@ -1767,9 +1812,17 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1767
1812
|
padding: i.spacing(0.5, 2),
|
|
1768
1813
|
...i.typography.body2,
|
|
1769
1814
|
transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
1815
|
+
"& .MuiCheckbox-root svg path": {
|
|
1816
|
+
fill: i.palette.text.secondary
|
|
1817
|
+
},
|
|
1770
1818
|
"&:hover": {
|
|
1771
1819
|
backgroundColor: i.palette.action.hover
|
|
1772
1820
|
},
|
|
1821
|
+
"&.Mui-disabled": {
|
|
1822
|
+
"& .MuiCheckbox-root svg path": {
|
|
1823
|
+
fill: i.palette.text.disabled
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1773
1826
|
'&[aria-selected="true"]': {
|
|
1774
1827
|
color: i.palette.primary.main,
|
|
1775
1828
|
backgroundColor: i.palette.primary.background,
|
|
@@ -1779,8 +1832,23 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1779
1832
|
".MuiTypography-caption": {
|
|
1780
1833
|
color: i.palette.text.secondary
|
|
1781
1834
|
},
|
|
1835
|
+
"& .MuiCheckbox-root svg path": {
|
|
1836
|
+
fill: i.palette.primary.main
|
|
1837
|
+
},
|
|
1782
1838
|
"&.Mui-focused:hover": {
|
|
1783
1839
|
backgroundColor: i.palette.action.hover
|
|
1840
|
+
},
|
|
1841
|
+
"&.Mui-disabled": {
|
|
1842
|
+
backgroundColor: "transparent",
|
|
1843
|
+
"& svg path": {
|
|
1844
|
+
fill: i.palette.text.disabled
|
|
1845
|
+
},
|
|
1846
|
+
"& .MuiCheckbox-root svg path": {
|
|
1847
|
+
fill: i.palette.text.disabled
|
|
1848
|
+
},
|
|
1849
|
+
"& .MuiTypography-root": {
|
|
1850
|
+
color: i.palette.text.disabled
|
|
1851
|
+
}
|
|
1784
1852
|
}
|
|
1785
1853
|
},
|
|
1786
1854
|
"&:first-of-type": {
|
|
@@ -1938,7 +2006,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
1938
2006
|
})
|
|
1939
2007
|
}
|
|
1940
2008
|
}
|
|
1941
|
-
},
|
|
2009
|
+
}, fo = {
|
|
1942
2010
|
// Menu
|
|
1943
2011
|
MuiMenu: {
|
|
1944
2012
|
styleOverrides: {
|
|
@@ -2123,7 +2191,10 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2123
2191
|
},
|
|
2124
2192
|
MuiListItemIcon: {
|
|
2125
2193
|
styleOverrides: {
|
|
2126
|
-
root: () => ({
|
|
2194
|
+
root: ({ theme: o }) => ({
|
|
2195
|
+
display: "flex",
|
|
2196
|
+
alignItems: "center",
|
|
2197
|
+
gap: o.spacing(2),
|
|
2127
2198
|
"& .MuiSvgIcon-root": {
|
|
2128
2199
|
fontSize: e
|
|
2129
2200
|
},
|
|
@@ -2234,7 +2305,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2234
2305
|
})
|
|
2235
2306
|
}
|
|
2236
2307
|
}
|
|
2237
|
-
}, U = 35, C = 39.5,
|
|
2308
|
+
}, U = 35, C = 39.5, vo = {
|
|
2238
2309
|
// https://mui.com/x/react-date-pickers/date-picker/#customization
|
|
2239
2310
|
MuiDatePicker: {
|
|
2240
2311
|
defaultProps: {
|
|
@@ -2256,14 +2327,14 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2256
2327
|
defaultProps: {
|
|
2257
2328
|
dayOfWeekFormatter: (o) => `${o.toLocaleDateString("en-US", { weekday: "short" })}`,
|
|
2258
2329
|
slots: {
|
|
2259
|
-
rightArrowIcon:
|
|
2260
|
-
leftArrowIcon:
|
|
2330
|
+
rightArrowIcon: co,
|
|
2331
|
+
leftArrowIcon: go,
|
|
2261
2332
|
switchViewIcon: oo
|
|
2262
2333
|
}
|
|
2263
2334
|
},
|
|
2264
2335
|
styleOverrides: {
|
|
2265
2336
|
root: ({ ownerState: o, theme: i }) => {
|
|
2266
|
-
var c, m, S,
|
|
2337
|
+
var c, m, S, w, I, B, z, O, T;
|
|
2267
2338
|
return {
|
|
2268
2339
|
width: i.spacing(U),
|
|
2269
2340
|
height: i.spacing(C),
|
|
@@ -2275,7 +2346,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2275
2346
|
maxHeight: i.spacing(33.5)
|
|
2276
2347
|
},
|
|
2277
2348
|
// Month only view
|
|
2278
|
-
...((
|
|
2349
|
+
...((w = o.views) == null ? void 0 : w.includes("month")) && !((I = o.views) != null && I.includes("year")) && !((B = o.views) != null && B.includes("day")) && {
|
|
2279
2350
|
height: i.spacing(29),
|
|
2280
2351
|
// 232px
|
|
2281
2352
|
maxHeight: i.spacing(29),
|
|
@@ -2284,7 +2355,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2284
2355
|
}
|
|
2285
2356
|
},
|
|
2286
2357
|
// Day only view
|
|
2287
|
-
...((z = o.views) == null ? void 0 : z.includes("day")) && !((O = o.views) != null && O.includes("year")) && !((
|
|
2358
|
+
...((z = o.views) == null ? void 0 : z.includes("day")) && !((O = o.views) != null && O.includes("year")) && !((T = o.views) != null && T.includes("month")) && {
|
|
2288
2359
|
"& .MuiPickersCalendarHeader-labelContainer": {
|
|
2289
2360
|
cursor: "default"
|
|
2290
2361
|
}
|
|
@@ -2429,7 +2500,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2429
2500
|
format: "hh:mm a",
|
|
2430
2501
|
ampm: !0,
|
|
2431
2502
|
viewRenderers: {
|
|
2432
|
-
hours:
|
|
2503
|
+
hours: A
|
|
2433
2504
|
},
|
|
2434
2505
|
timeSteps: { minutes: 30 },
|
|
2435
2506
|
slotProps: {
|
|
@@ -2438,7 +2509,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2438
2509
|
},
|
|
2439
2510
|
slots: {
|
|
2440
2511
|
clearIcon: v,
|
|
2441
|
-
digitalClockItem: (o) => /* @__PURE__ */ s(
|
|
2512
|
+
digitalClockItem: (o) => /* @__PURE__ */ s(W, { ...o, disableRipple: !0 })
|
|
2442
2513
|
}
|
|
2443
2514
|
}
|
|
2444
2515
|
},
|
|
@@ -2448,7 +2519,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2448
2519
|
format: "MM/dd/yyyy hh:mm a",
|
|
2449
2520
|
ampm: !0,
|
|
2450
2521
|
viewRenderers: {
|
|
2451
|
-
hours:
|
|
2522
|
+
hours: A
|
|
2452
2523
|
},
|
|
2453
2524
|
timeSteps: { minutes: 30 },
|
|
2454
2525
|
slotProps: {
|
|
@@ -2461,7 +2532,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2461
2532
|
slots: {
|
|
2462
2533
|
openPickerIcon: L,
|
|
2463
2534
|
clearIcon: v,
|
|
2464
|
-
digitalClockItem: (o) => /* @__PURE__ */ s(
|
|
2535
|
+
digitalClockItem: (o) => /* @__PURE__ */ s(W, { ...o, disableRipple: !0 })
|
|
2465
2536
|
}
|
|
2466
2537
|
}
|
|
2467
2538
|
},
|
|
@@ -2484,7 +2555,7 @@ const io = 1, b = 0.5, y = io + b, uo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
|
|
|
2484
2555
|
}
|
|
2485
2556
|
}
|
|
2486
2557
|
};
|
|
2487
|
-
function
|
|
2558
|
+
function t(o) {
|
|
2488
2559
|
return 0.0625 * o + "rem";
|
|
2489
2560
|
}
|
|
2490
2561
|
const k = {
|
|
@@ -2500,77 +2571,77 @@ const k = {
|
|
|
2500
2571
|
h1: {
|
|
2501
2572
|
fontFamily: "Inter, sans-serif",
|
|
2502
2573
|
fontWeight: 600,
|
|
2503
|
-
fontSize:
|
|
2574
|
+
fontSize: t(96),
|
|
2504
2575
|
lineHeight: 1.167,
|
|
2505
2576
|
letterSpacing: "-1.5px"
|
|
2506
2577
|
},
|
|
2507
2578
|
h2: {
|
|
2508
2579
|
fontFamily: "Inter, sans-serif",
|
|
2509
2580
|
fontWeight: 600,
|
|
2510
|
-
fontSize:
|
|
2581
|
+
fontSize: t(60),
|
|
2511
2582
|
lineHeight: 1.2,
|
|
2512
2583
|
letterSpacing: "-0.5px"
|
|
2513
2584
|
},
|
|
2514
2585
|
h3: {
|
|
2515
2586
|
fontFamily: "Inter, sans-serif",
|
|
2516
2587
|
fontWeight: 600,
|
|
2517
|
-
fontSize:
|
|
2588
|
+
fontSize: t(48),
|
|
2518
2589
|
lineHeight: 1.167,
|
|
2519
2590
|
letterSpacing: 0
|
|
2520
2591
|
},
|
|
2521
2592
|
h4: {
|
|
2522
2593
|
fontFamily: "Inter, sans-serif",
|
|
2523
2594
|
fontWeight: 600,
|
|
2524
|
-
fontSize:
|
|
2595
|
+
fontSize: t(32),
|
|
2525
2596
|
lineHeight: 1.25,
|
|
2526
2597
|
letterSpacing: 0
|
|
2527
2598
|
},
|
|
2528
2599
|
h5: {
|
|
2529
2600
|
fontFamily: "Inter, sans-serif",
|
|
2530
2601
|
fontWeight: 600,
|
|
2531
|
-
fontSize:
|
|
2602
|
+
fontSize: t(24),
|
|
2532
2603
|
lineHeight: 1.167,
|
|
2533
2604
|
letterSpacing: 0
|
|
2534
2605
|
},
|
|
2535
2606
|
h6: {
|
|
2536
2607
|
fontFamily: "Inter, sans-serif",
|
|
2537
2608
|
fontWeight: 500,
|
|
2538
|
-
fontSize:
|
|
2609
|
+
fontSize: t(18),
|
|
2539
2610
|
lineHeight: 1.333,
|
|
2540
2611
|
letterSpacing: 0
|
|
2541
2612
|
},
|
|
2542
2613
|
subtitle1: {
|
|
2543
2614
|
fontFamily: "Inter, sans-serif",
|
|
2544
2615
|
fontWeight: 500,
|
|
2545
|
-
fontSize:
|
|
2616
|
+
fontSize: t(16),
|
|
2546
2617
|
lineHeight: 1.5,
|
|
2547
2618
|
letterSpacing: 0
|
|
2548
2619
|
},
|
|
2549
2620
|
subtitle2: {
|
|
2550
2621
|
fontFamily: "Inter, sans-serif",
|
|
2551
2622
|
fontWeight: 600,
|
|
2552
|
-
fontSize:
|
|
2623
|
+
fontSize: t(13),
|
|
2553
2624
|
lineHeight: 1.538,
|
|
2554
2625
|
letterSpacing: 0
|
|
2555
2626
|
},
|
|
2556
2627
|
body1: {
|
|
2557
2628
|
fontFamily: "Inter, sans-serif",
|
|
2558
2629
|
fontWeight: 400,
|
|
2559
|
-
fontSize:
|
|
2630
|
+
fontSize: t(16),
|
|
2560
2631
|
lineHeight: 1.5,
|
|
2561
2632
|
letterSpacing: 0
|
|
2562
2633
|
},
|
|
2563
2634
|
body2: {
|
|
2564
2635
|
fontFamily: "Inter, sans-serif",
|
|
2565
2636
|
fontWeight: 400,
|
|
2566
|
-
fontSize:
|
|
2637
|
+
fontSize: t(13),
|
|
2567
2638
|
lineHeight: 1.538,
|
|
2568
2639
|
letterSpacing: 0
|
|
2569
2640
|
},
|
|
2570
2641
|
button: {
|
|
2571
2642
|
fontFamily: "Inter, sans-serif",
|
|
2572
2643
|
fontWeight: 500,
|
|
2573
|
-
fontSize:
|
|
2644
|
+
fontSize: t(13),
|
|
2574
2645
|
lineHeight: 1.538,
|
|
2575
2646
|
letterSpacing: 0,
|
|
2576
2647
|
textTransform: "inherit"
|
|
@@ -2578,19 +2649,19 @@ const k = {
|
|
|
2578
2649
|
caption: {
|
|
2579
2650
|
fontFamily: "Inter, sans-serif",
|
|
2580
2651
|
fontWeight: 400,
|
|
2581
|
-
fontSize:
|
|
2652
|
+
fontSize: t(11),
|
|
2582
2653
|
lineHeight: 1.454,
|
|
2583
2654
|
letterSpacing: 0
|
|
2584
2655
|
},
|
|
2585
2656
|
overline: {
|
|
2586
2657
|
fontFamily: "Inter, sans-serif",
|
|
2587
2658
|
fontWeight: 500,
|
|
2588
|
-
fontSize:
|
|
2659
|
+
fontSize: t(10),
|
|
2589
2660
|
lineHeight: 1.2,
|
|
2590
2661
|
letterSpacing: "1.2px",
|
|
2591
2662
|
textTransform: "uppercase"
|
|
2592
2663
|
}
|
|
2593
|
-
},
|
|
2664
|
+
}, ho = {
|
|
2594
2665
|
captionMedium: {
|
|
2595
2666
|
...k.caption,
|
|
2596
2667
|
fontWeight: 500,
|
|
@@ -2604,7 +2675,7 @@ const k = {
|
|
|
2604
2675
|
code1: {
|
|
2605
2676
|
fontFamily: '"Overpass Mono", monospace',
|
|
2606
2677
|
fontWeight: 400,
|
|
2607
|
-
fontSize:
|
|
2678
|
+
fontSize: t(16),
|
|
2608
2679
|
lineHeight: 1.5,
|
|
2609
2680
|
letterSpacing: 0,
|
|
2610
2681
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -2612,7 +2683,7 @@ const k = {
|
|
|
2612
2683
|
code2: {
|
|
2613
2684
|
fontFamily: '"Overpass Mono", monospace',
|
|
2614
2685
|
fontWeight: 400,
|
|
2615
|
-
fontSize:
|
|
2686
|
+
fontSize: t(14),
|
|
2616
2687
|
lineHeight: 1.428,
|
|
2617
2688
|
letterSpacing: 0,
|
|
2618
2689
|
fontVariantLigatures: "no-common-ligatures"
|
|
@@ -2620,17 +2691,17 @@ const k = {
|
|
|
2620
2691
|
code3: {
|
|
2621
2692
|
fontFamily: '"Overpass Mono", monospace',
|
|
2622
2693
|
fontWeight: 400,
|
|
2623
|
-
fontSize:
|
|
2694
|
+
fontSize: t(12),
|
|
2624
2695
|
lineHeight: 1.333,
|
|
2625
2696
|
letterSpacing: 0,
|
|
2626
2697
|
fontVariantLigatures: "no-common-ligatures"
|
|
2627
2698
|
}
|
|
2628
2699
|
}, ro = {
|
|
2629
2700
|
...k,
|
|
2630
|
-
...
|
|
2701
|
+
...ho
|
|
2631
2702
|
};
|
|
2632
2703
|
var Z, _, K, q, Q, Y, X, J;
|
|
2633
|
-
const
|
|
2704
|
+
const Co = {
|
|
2634
2705
|
// Accessibility focus (keyboard only)
|
|
2635
2706
|
"*:focus-visible": {
|
|
2636
2707
|
outline: `2px solid ${(Z = p.primary) == null ? void 0 : Z.main} !important`,
|
|
@@ -2660,17 +2731,17 @@ const ho = {
|
|
|
2660
2731
|
'input[type="search"]::-webkit-search-cancel-button': {
|
|
2661
2732
|
WebkitAppearance: "none",
|
|
2662
2733
|
appearance: "none",
|
|
2663
|
-
height:
|
|
2664
|
-
width:
|
|
2734
|
+
height: a(2),
|
|
2735
|
+
width: a(2),
|
|
2665
2736
|
display: "block",
|
|
2666
2737
|
backgroundImage: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)",
|
|
2667
2738
|
backgroundRepeat: "no-repeat",
|
|
2668
|
-
backgroundSize:
|
|
2739
|
+
backgroundSize: a(2)
|
|
2669
2740
|
},
|
|
2670
2741
|
// Mapbox controls
|
|
2671
2742
|
".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
|
|
2672
|
-
padding:
|
|
2673
|
-
borderRadius:
|
|
2743
|
+
padding: a(0, 1),
|
|
2744
|
+
borderRadius: a(0.5, 0, 0, 0),
|
|
2674
2745
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
2675
2746
|
...ro.overline,
|
|
2676
2747
|
textTransform: "none",
|
|
@@ -2681,11 +2752,11 @@ const ho = {
|
|
|
2681
2752
|
},
|
|
2682
2753
|
"&.mapboxgl-compact": {
|
|
2683
2754
|
backgroundColor: "transparent",
|
|
2684
|
-
right:
|
|
2685
|
-
bottom:
|
|
2755
|
+
right: a(0.5),
|
|
2756
|
+
bottom: a(2.5),
|
|
2686
2757
|
// Mobile
|
|
2687
2758
|
"@media (max-width: 600px)": {
|
|
2688
|
-
bottom:
|
|
2759
|
+
bottom: a(0.5)
|
|
2689
2760
|
},
|
|
2690
2761
|
"& .mapboxgl-ctrl-attrib-button": {
|
|
2691
2762
|
backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(Q = p.text) == null ? void 0 : Q.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
|
|
@@ -2699,9 +2770,9 @@ const ho = {
|
|
|
2699
2770
|
},
|
|
2700
2771
|
"& .mapboxgl-ctrl-attrib-inner": {
|
|
2701
2772
|
backgroundColor: "rgba(255,255,255,.8)",
|
|
2702
|
-
padding:
|
|
2703
|
-
borderRadius:
|
|
2704
|
-
marginRight:
|
|
2773
|
+
padding: a(0.5, 1),
|
|
2774
|
+
borderRadius: a(1.5),
|
|
2775
|
+
marginRight: a(2.5),
|
|
2705
2776
|
color: (Y = p.text) == null ? void 0 : Y.secondary
|
|
2706
2777
|
},
|
|
2707
2778
|
"&.mapboxgl-compact-show": {
|
|
@@ -2715,7 +2786,7 @@ const ho = {
|
|
|
2715
2786
|
}
|
|
2716
2787
|
}
|
|
2717
2788
|
}
|
|
2718
|
-
},
|
|
2789
|
+
}, ko = {
|
|
2719
2790
|
// SnackBar
|
|
2720
2791
|
MuiSnackbar: {
|
|
2721
2792
|
defaultProps: {
|
|
@@ -2752,7 +2823,7 @@ const ho = {
|
|
|
2752
2823
|
MuiAlert: {
|
|
2753
2824
|
defaultProps: {
|
|
2754
2825
|
iconMapping: {
|
|
2755
|
-
success: /* @__PURE__ */ s(
|
|
2826
|
+
success: /* @__PURE__ */ s(uo, {})
|
|
2756
2827
|
}
|
|
2757
2828
|
},
|
|
2758
2829
|
styleOverrides: {
|
|
@@ -2797,7 +2868,7 @@ const ho = {
|
|
|
2797
2868
|
})
|
|
2798
2869
|
}
|
|
2799
2870
|
}
|
|
2800
|
-
},
|
|
2871
|
+
}, mo = {
|
|
2801
2872
|
// AppBar
|
|
2802
2873
|
MuiAppBar: {
|
|
2803
2874
|
styleOverrides: {
|
|
@@ -2805,7 +2876,7 @@ const ho = {
|
|
|
2805
2876
|
flexDirection: "row",
|
|
2806
2877
|
alignItems: "center",
|
|
2807
2878
|
justifyContent: "space-between",
|
|
2808
|
-
height:
|
|
2879
|
+
height: R,
|
|
2809
2880
|
backgroundColor: o.palette.brand.navyBlue,
|
|
2810
2881
|
color: o.palette.common.white,
|
|
2811
2882
|
boxShadow: o.shadows[0],
|
|
@@ -2813,7 +2884,7 @@ const ho = {
|
|
|
2813
2884
|
justifyContent: "space-between",
|
|
2814
2885
|
width: "100%",
|
|
2815
2886
|
padding: o.spacing(0, 1),
|
|
2816
|
-
minHeight:
|
|
2887
|
+
minHeight: R
|
|
2817
2888
|
},
|
|
2818
2889
|
"& .MuiAvatar-root": {
|
|
2819
2890
|
width: o.spacing(4),
|
|
@@ -2880,7 +2951,7 @@ const ho = {
|
|
|
2880
2951
|
})
|
|
2881
2952
|
}
|
|
2882
2953
|
}
|
|
2883
|
-
},
|
|
2954
|
+
}, So = [
|
|
2884
2955
|
"none",
|
|
2885
2956
|
// 0
|
|
2886
2957
|
"0px 2px 1px -1px rgba(44, 48, 50, 0.12), 0px 1px 1px rgba(44, 48, 50, 0.08), 0px 1px 3px rgba(44, 48, 50, 0.04)",
|
|
@@ -2914,7 +2985,7 @@ const ho = {
|
|
|
2914
2985
|
"0px 11px 14px -7px rgba(0,0,0,0.16),0px 23px 36px 3px rgba(0,0,0,0.08),0px 9px 44px 8px rgba(0,0,0,0.04)",
|
|
2915
2986
|
"0px 11px 15px -7px rgba(44, 48, 50, 0.12), 0px 24px 38px 3px rgba(44, 48, 50, 0.08), 0px 9px 46px 8px rgba(44, 48, 50, 0.04)"
|
|
2916
2987
|
// 24
|
|
2917
|
-
],
|
|
2988
|
+
], wo = {
|
|
2918
2989
|
themeName: "CARTO",
|
|
2919
2990
|
breakpoints: {
|
|
2920
2991
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -2953,7 +3024,7 @@ const ho = {
|
|
|
2953
3024
|
}
|
|
2954
3025
|
},
|
|
2955
3026
|
palette: p,
|
|
2956
|
-
shadows:
|
|
3027
|
+
shadows: So,
|
|
2957
3028
|
typography: ro,
|
|
2958
3029
|
spacingValue: P,
|
|
2959
3030
|
// For situations where we can't use theme.spacing(), mainly math calculations.er
|
|
@@ -2994,28 +3065,28 @@ const ho = {
|
|
|
2994
3065
|
components: {
|
|
2995
3066
|
MuiCssBaseline: {
|
|
2996
3067
|
styleOverrides: {
|
|
2997
|
-
...
|
|
3068
|
+
...Co
|
|
2998
3069
|
}
|
|
2999
3070
|
},
|
|
3000
|
-
...xo,
|
|
3001
3071
|
...yo,
|
|
3002
3072
|
...Mo,
|
|
3003
|
-
...
|
|
3004
|
-
...
|
|
3073
|
+
...fo,
|
|
3074
|
+
...xo,
|
|
3005
3075
|
...ko,
|
|
3006
|
-
...
|
|
3076
|
+
...mo,
|
|
3077
|
+
...vo
|
|
3007
3078
|
}
|
|
3008
|
-
},
|
|
3079
|
+
}, Ao = ao(eo(wo));
|
|
3009
3080
|
export {
|
|
3010
|
-
|
|
3081
|
+
R as APPBAR_SIZE,
|
|
3011
3082
|
g as BREAKPOINTS,
|
|
3012
3083
|
e as ICON_SIZE_LARGE,
|
|
3013
3084
|
r as ICON_SIZE_MEDIUM,
|
|
3014
3085
|
u as ICON_SIZE_SMALL,
|
|
3015
|
-
|
|
3086
|
+
Do as NOTIFICATION_DURATION_IN_MS,
|
|
3016
3087
|
P as SPACING,
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3088
|
+
wo as cartoThemeOptions,
|
|
3089
|
+
Eo as getCartoColorStylePropsForItem,
|
|
3090
|
+
a as getSpacing,
|
|
3091
|
+
Ao as theme
|
|
3021
3092
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
|
+
import { ChipTypeMap } from '@mui/material';
|
|
3
|
+
import { AutocompleteProps } from './types';
|
|
4
|
+
declare function _Autocomplete<Value, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ disabled, loading, ...props }: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, ref: ForwardedRef<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const Autocomplete: <Value, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap["defaultComponent"]>(props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
|
|
6
|
+
ref?: ForwardedRef<HTMLElement>;
|
|
7
|
+
}) => ReturnType<typeof _Autocomplete>;
|
|
8
|
+
export default Autocomplete;
|
|
9
|
+
//# sourceMappingURL=Autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAc,MAAM,OAAO,CAAA;AAChD,OAAO,EACL,WAAW,EAGZ,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,iBAAS,aAAa,CACpB,KAAK,EACL,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,EAC5C,gBAAgB,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAa,SAAS,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,EACE,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,iBAAiB,CAClB,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,EACD,GAAG,EAAE,YAAY,CAAC,WAAW,CAAC,2CAY/B;AAID,QAAA,MAAM,YAAY,EAAgC,CAChD,KAAK,EACL,QAA4C,SAA3B,OAAO,GAAG,SAAS,GAAG,KAAK,EAC5C,gBAAwD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAgD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAyE,SAAnD,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,KAAK,EAAE,iBAAiB,CACtB,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KACpC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;AAErC,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
|
+
import { ChipTypeMap } from '@mui/material';
|
|
3
|
+
import { CreatableAutocompleteProps } from './types';
|
|
4
|
+
declare function _CreatableAutocomplete<Value, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ newItemLabel, newItemIcon, getOptionLabel, multiple, disableCloseOnSelect, disabled, loading, showFilters, options, value, onChange, ...props }: CreatableAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, ref: ForwardedRef<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const CreatableAutocomplete: <Value, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap["defaultComponent"]>(props: CreatableAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
|
|
6
|
+
ref?: ForwardedRef<HTMLElement>;
|
|
7
|
+
}) => ReturnType<typeof _CreatableAutocomplete>;
|
|
8
|
+
export default CreatableAutocomplete;
|
|
9
|
+
//# sourceMappingURL=CreatableAutocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreatableAutocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Autocomplete/CreatableAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAc,MAAM,OAAO,CAAA;AAChD,OAAO,EACL,WAAW,EAGZ,MAAM,eAAe,CAAA;AAOtB,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAGpD,iBAAS,sBAAsB,CAC7B,KAAK,EACL,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,gBAAgB,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAa,SAAS,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,EACE,YAAY,EACZ,WAAW,EACX,cAAsC,EACtC,QAAQ,EACR,oBAAoB,EACpB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,OAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,0BAA0B,CAC3B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,EACD,GAAG,EAAE,YAAY,CAAC,WAAW,CAAC,2CA0D/B;AAID,QAAA,MAAM,qBAAqB,EAAyC,CAClE,KAAK,EACL,QAAgD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,gBAAwD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAgD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAyE,SAAnD,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,KAAK,EAAE,0BAA0B,CAC/B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KACpC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE9C,eAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export type ListboxWithFilterProps = HTMLAttributes<HTMLElement> & {
|
|
3
|
+
showFilters?: boolean;
|
|
4
|
+
allSelected?: boolean;
|
|
5
|
+
someSelected?: boolean;
|
|
6
|
+
handleSelectAll?: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare const ListboxWithFilter: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
9
|
+
showFilters?: boolean;
|
|
10
|
+
allSelected?: boolean;
|
|
11
|
+
someSelected?: boolean;
|
|
12
|
+
handleSelectAll?: () => void;
|
|
13
|
+
} & import('react').RefAttributes<HTMLUListElement>>;
|
|
14
|
+
export default ListboxWithFilter;
|
|
15
|
+
//# sourceMappingURL=ListBoxWithFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListBoxWithFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Autocomplete/ListBoxWithFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,OAAO,CAAA;AAGhE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IACjE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC7B,CAAA;AA6BD,QAAA,MAAM,iBAAiB;kBAjCP,OAAO;kBACP,OAAO;mBACN,OAAO;sBACJ,MAAM,IAAI;oDA8B0B,CAAA;AACxD,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
|
+
import { ChipTypeMap } from '@mui/material';
|
|
3
|
+
import { MultipleAutocompleteProps } from './types';
|
|
4
|
+
declare function _MultipleAutocomplete<Value, Multiple extends boolean | undefined = true, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ renderOption, disableCloseOnSelect, disabled, loading, showFilters, options, value, onChange, getOptionLabel, ...props }: MultipleAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>, ref: ForwardedRef<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const MultipleAutocomplete: <Value, Multiple extends boolean | undefined = true, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined, ChipComponent extends React.ElementType = ChipTypeMap["defaultComponent"]>(props: MultipleAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
|
|
6
|
+
ref?: ForwardedRef<HTMLElement>;
|
|
7
|
+
}) => ReturnType<typeof _MultipleAutocomplete>;
|
|
8
|
+
export default MultipleAutocomplete;
|
|
9
|
+
//# sourceMappingURL=MultipleAutocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultipleAutocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Autocomplete/MultipleAutocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAc,MAAM,OAAO,CAAA;AAChD,OAAO,EACL,WAAW,EAGZ,MAAM,eAAe,CAAA;AAKtB,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGnD,iBAAS,qBAAqB,CAC5B,KAAK,EACL,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,IAAI,EAC3C,gBAAgB,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAa,SAAS,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,EACE,YAAY,EACZ,oBAA2B,EAC3B,QAAQ,EACR,OAAO,EACP,WAAW,EACX,OAAO,EACP,KAAK,EACL,QAAQ,EACR,cAAc,EACd,GAAG,KAAK,EACT,EAAE,yBAAyB,CAC1B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,EACD,GAAG,EAAE,YAAY,CAAC,WAAW,CAAC,2CA0C/B;AAID,QAAA,MAAM,oBAAoB,EAAwC,CAChE,KAAK,EACL,QAA2C,SAA1B,OAAO,GAAG,SAAS,GAAG,IAAI,EAC3C,gBAAwD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EACxD,QAAgD,SAA/B,OAAO,GAAG,SAAS,GAAG,SAAS,EAChD,aAAyE,SAAnD,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,EAEzE,KAAK,EAAE,yBAAyB,CAC9B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,aAAa,CACd,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KACpC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7C,eAAe,oBAAoB,CAAA"}
|