@galaxy-ds/core 2.0.19 → 2.0.21
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/dist/Accordion/Accordion.stories.d.ts +225 -319
- package/dist/Accordion/Accordion.styled.d.ts +7 -4
- package/dist/AccordionDetails/AccordionDetails.stories.d.ts +30 -28
- package/dist/AccordionPanel/AccordionPanel.stories.d.ts +25 -21
- package/dist/AccordionSummary/AccordionSummary.stories.d.ts +73 -52
- package/dist/ActivityLog/ActivityLog.stories.d.ts +6 -4
- package/dist/ActivityLog/ActivityLog.styled.d.ts +2 -3
- package/dist/AppBar/AppBar.stories.d.ts +35 -38
- package/dist/AppBar/AppBar.styled.d.ts +3 -4
- package/dist/AttachmentIcon/AttachmentIcon.stories.d.ts +6 -5
- package/dist/Autocomplete/Autocomplete.stories.d.ts +309 -303
- package/dist/Autocomplete/Autocomplete.styled.d.ts +5 -6
- package/dist/Autocomplete/createFilterOptions.d.ts +1 -1
- package/dist/Avatar/Avatar.stories.d.ts +201 -178
- package/dist/Avatar/Avatar.styled.d.ts +3 -4
- package/dist/AvatarGroup/AvatarGroup.stories.d.ts +156 -199
- package/dist/BottomListButton/BottomListButton.stories.d.ts +48 -40
- package/dist/BottomListButton/BottomListButton.styled.d.ts +2 -3
- package/dist/Box/Box.stories.d.ts +71 -74
- package/dist/Breadcrumbs/Breadcrumbs.stories.d.ts +72 -74
- package/dist/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -3
- package/dist/Button/Button.stories.d.ts +384 -355
- package/dist/Button/Button.styled.d.ts +2 -3
- package/dist/Card/Card.stories.d.ts +40 -32
- package/dist/Card/Card.styled.d.ts +1 -2
- package/dist/Checkbox/Checkbox.stories.d.ts +229 -508
- package/dist/Chip/Chip.stories.d.ts +135 -113
- package/dist/Chip/Chip.styled.d.ts +2 -3
- package/dist/CssBaseline/CssBaseline.stories.d.ts +0 -1
- package/dist/DatePicker/DatePicker.stories.d.ts +9 -1
- package/dist/DatePicker/DatePicker.styled.d.ts +0 -1
- package/dist/DateRangePicker/DateRangePicker.stories.d.ts +43 -38
- package/dist/DateRangePicker/DateRangePicker.styled.d.ts +0 -1
- package/dist/Dialog/Dialog.stories.d.ts +188 -216
- package/dist/Divider/Divider.stories.d.ts +371 -365
- package/dist/Drawer/Drawer.stories.d.ts +402 -101
- package/dist/DrawerMenu/DrawerMenu.stories.d.ts +64 -73
- package/dist/DrawerMenu/DrawerMenu.styled.d.ts +2 -3
- package/dist/Dropdown/Dropdown.stories.d.ts +524 -471
- package/dist/Dropdown/Dropdown.types.d.ts +8 -0
- package/dist/EmptyState/EmptyState.stories.d.ts +14 -6
- package/dist/EmptyState/EmptyState.styled.d.ts +3 -4
- package/dist/FooterActions/FooterActions.stories.d.ts +13 -10
- package/dist/FooterActions/FooterActions.styled.d.ts +2 -3
- package/dist/FormBody/FormBody.stories.d.ts +5 -4
- package/dist/FormBody/FormBody.styled.d.ts +0 -1
- package/dist/FormContainer/FormContainer.stories.d.ts +1 -4
- package/dist/FormContainer/FormContainer.styled.d.ts +1 -2
- package/dist/FormGroup/FormGroup.stories.d.ts +60 -346
- package/dist/FormHeader/FormHeader.stories.d.ts +5 -6
- package/dist/FormHeader/FormHeader.styled.d.ts +5 -6
- package/dist/FormHeader/FormHeader.types.d.ts +1 -0
- package/dist/Grid/Grid.stories.d.ts +15 -0
- package/dist/HeaderToolbar/HeaderToolbar.stories.d.ts +114 -127
- package/dist/HeaderToolbar/HeaderToolbar.styled.d.ts +6 -7
- package/dist/Icon/Icon.stories.d.ts +639 -618
- package/dist/IconButton/IconButton.d.ts +0 -1
- package/dist/IconButton/IconButton.stories.d.ts +68 -51
- package/dist/Icons/doctype-icons.stories.d.ts +812 -823
- package/dist/Icons/leap-icons.stories.d.ts +1015 -1028
- package/dist/ImageUpload/ImageUpload.stories.d.ts +11 -1
- package/dist/ImageUpload/ImageUpload.styled.d.ts +0 -1
- package/dist/Input/Input.stories.d.ts +961 -941
- package/dist/Input/Input.styled.d.ts +3 -4
- package/dist/InputLabel/InputLabel.stories.d.ts +17 -0
- package/dist/List/List.stories.d.ts +5 -0
- package/dist/ListItem/ListItem.stories.d.ts +6 -0
- package/dist/ListItemAvatar/ListItemAvatar.stories.d.ts +6 -0
- package/dist/ListItemHoverContent/ListItemHoverContent.stories.d.ts +5 -1
- package/dist/ListItemHoverContent/ListItemHoverContent.styled.d.ts +0 -1
- package/dist/ListItemIcon/ListItemIcon.stories.d.ts +6 -0
- package/dist/ListItemText/ListItemText.stories.d.ts +6 -0
- package/dist/ListSubheader/ListSubheader.stories.d.ts +1 -1
- package/dist/Loader/Loader.stories.d.ts +5 -0
- package/dist/Loader/Loader.styled.d.ts +2 -3
- package/dist/Menu/Menu.d.ts +0 -1
- package/dist/Menu/Menu.stories.d.ts +5 -0
- package/dist/Menu/Menu.types.d.ts +0 -1
- package/dist/MenuHeader/MenuHeader.stories.d.ts +5 -0
- package/dist/MenuHeader/MenuHeader.styled.d.ts +3 -1
- package/dist/MenuItem/MenuItem.stories.d.ts +5 -0
- package/dist/Modal/Modal.stories.d.ts +5 -0
- package/dist/ModalActions/ModalActions.stories.d.ts +5 -0
- package/dist/ModalContent/ModalContent.stories.d.ts +5 -0
- package/dist/ModalTitle/ModalTitle.stories.d.ts +5 -0
- package/dist/Pagination/Pagination.stories.d.ts +7 -3
- package/dist/Popover/Popover.stories.d.ts +5 -0
- package/dist/ProgressBar/ProgressBar.stories.d.ts +5 -0
- package/dist/Radio/Radio.stories.d.ts +5 -0
- package/dist/RadioGroup/RadioGroup.stories.d.ts +6 -0
- package/dist/RibbonButton/RibbonButton.d.ts +0 -1
- package/dist/RibbonButton/RibbonButton.stories.d.ts +5 -0
- package/dist/RibbonButton/RibbonButton.styled.d.ts +3 -4
- package/dist/RibbonButtonGroup/RibbonButtonGroup.d.ts +0 -1
- package/dist/RibbonButtonGroup/RibbonButtonGroup.stories.d.ts +5 -0
- package/dist/RibbonButtonGroup/RibbonButtonGroup.styled.d.ts +4 -5
- package/dist/SidebarLayout/SidebarLayout.stories.d.ts +9 -3
- package/dist/StepNavigation/StepNavigation.stories.d.ts +5 -0
- package/dist/StepNavigation/StepNavigation.styled.d.ts +0 -1
- package/dist/Switch/Switch.stories.d.ts +6 -0
- package/dist/Tab/Tab.stories.d.ts +5 -0
- package/dist/Tab/Tab.styled.d.ts +2 -3
- package/dist/TabListItem/TabListItem.stories.d.ts +9 -0
- package/dist/TabListItem/TabListItem.styled.d.ts +3 -4
- package/dist/Table/Table.stories.d.ts +5 -0
- package/dist/TableBody/TableBody.stories.d.ts +1 -1
- package/dist/TableCell/TableCell.stories.d.ts +4 -0
- package/dist/TableCellIcon/TableCellIcon.stories.d.ts +5 -0
- package/dist/TableContainer/TableContainer.stories.d.ts +5 -0
- package/dist/TableFooter/TableFooter.stories.d.ts +4 -0
- package/dist/TableHead/TableHead.stories.d.ts +7 -3
- package/dist/TableRow/TableRow.stories.d.ts +7 -3
- package/dist/Tabs/Tabs.stories.d.ts +5 -0
- package/dist/Tabs/Tabs.styled.d.ts +2 -3
- package/dist/Tag/Tag.stories.d.ts +5 -0
- package/dist/Tag/Tag.styled.d.ts +9 -5
- package/dist/Tag/Tag.types.d.ts +9 -0
- package/dist/TextareaAutosize/TextareaAutosize.stories.d.ts +5 -0
- package/dist/Theme/custom-types/component-chip.d.ts +2 -0
- package/dist/Theme/leap/web/design-tokens/components/chip.d.ts +8 -0
- package/dist/ThemeProvider/ThemeProvider.stories.d.ts +20 -7
- package/dist/Toolbar/Toolbar.stories.d.ts +5 -0
- package/dist/ToolbarButton/ToolbarButton.stories.d.ts +5 -0
- package/dist/ToolbarButton/ToolbarButton.styled.d.ts +1 -4
- package/dist/Tooltip/Tooltip.stories.d.ts +5 -0
- package/dist/TwoColumnLayout/TwoColumnLayout.stories.d.ts +5 -5
- package/dist/Typography/Typography.stories.d.ts +5 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +471 -357
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +468 -355
- package/dist/index.js.map +1 -1
- package/dist/stories/Typography.stories.d.ts +29 -0
- package/dist/stories/resources/tokensColorsLeap.d.ts +4 -5
- package/dist/stories/resources/{typographyLawconnect.d.ts → typographyLeapDesktop.d.ts} +4 -5
- package/dist/stories/resources/typographyLeapWeb.d.ts +9 -0
- package/package.json +7 -3
- package/dist/Badge/Badge.d.ts +0 -3
- package/dist/Badge/Badge.styled.d.ts +0 -4
- package/dist/Badge/Badge.types.d.ts +0 -3
- package/dist/Badge/index.d.ts +0 -2
- package/dist/Select/Select.d.ts +0 -3
- package/dist/Select/Select.styled.d.ts +0 -1
- package/dist/Select/Select.types.d.ts +0 -3
- package/dist/Select/index.d.ts +0 -2
- package/dist/Theme/lawconnect/baseline.d.ts +0 -44
- package/dist/Theme/lawconnect/design-tokens/components/avatars.d.ts +0 -46
- package/dist/Theme/lawconnect/design-tokens/components/buttons.d.ts +0 -93
- package/dist/Theme/lawconnect/design-tokens/components/chip.d.ts +0 -54
- package/dist/Theme/lawconnect/design-tokens/effect.d.ts +0 -2
- package/dist/Theme/lawconnect/design-tokens/palette.d.ts +0 -116
- package/dist/Theme/lawconnect/design-tokens/shapes.d.ts +0 -13
- package/dist/Theme/lawconnect/design-tokens/spacers.d.ts +0 -12
- package/dist/Theme/lawconnect/design-tokens/typography.d.ts +0 -133
- package/dist/Theme/lawconnect/overrides/Dialog/dialog.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/Dialog/dialogActions.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/Dialog/dialogContent.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/Dialog/dialogTitle.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/accordion.d.ts +0 -4
- package/dist/Theme/lawconnect/overrides/autocomplete.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/checkbox.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/divider.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/dropdown.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/formControlLabel.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/formGroup.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/iconButton.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/index.d.ts +0 -23
- package/dist/Theme/lawconnect/overrides/inputBase.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/inputLabel.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/list.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/listItemIcon.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/listItemText.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/menu.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/menuItem.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/outlinedInput.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/radio.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/svgIcon.d.ts +0 -2
- package/dist/Theme/lawconnect/overrides/tooltip.d.ts +0 -2
- package/dist/Theme/lawconnect/theme.d.ts +0 -2
- /package/dist/Icons/{lawconnect-icons.stories-temp-removed.d.ts → lawconnect-icons.stories.d.ts} +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import MuiCssBaseline from '@mui/material/CssBaseline';
|
|
3
|
-
import { createTheme, ThemeProvider as ThemeProvider$1, List as List$1, ListSubheader as ListSubheader$1, ListItem as ListItem$1, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1, ListItemButton, Collapse, AccordionDetails as AccordionDetails$1, Accordion as Accordion$1, AccordionSummary as AccordionSummary$1, AvatarGroup as AvatarGroup$1, IconButton as IconButton$1, Tooltip as Tooltip$2, Typography as Typography$1, AppBar as AppBar$1, Toolbar as Toolbar$1, Box as Box$1, InputLabel as InputLabel$1, styled as styled$1, Breadcrumbs as Breadcrumbs$1, Button as Button$1, CircularProgress, Card as Card$1, SvgIcon as SvgIcon$1, FormControlLabel, Checkbox as Checkbox$1,
|
|
3
|
+
import { createTheme, ThemeProvider as ThemeProvider$1, List as List$1, ListSubheader as ListSubheader$1, ListItem as ListItem$1, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1, ListItemButton, Collapse, AccordionDetails as AccordionDetails$1, Accordion as Accordion$1, AccordionSummary as AccordionSummary$1, AvatarGroup as AvatarGroup$1, useTheme, IconButton as IconButton$1, Tooltip as Tooltip$2, Typography as Typography$1, AppBar as AppBar$1, Toolbar as Toolbar$1, Box as Box$1, InputLabel as InputLabel$1, styled as styled$1, Breadcrumbs as Breadcrumbs$1, Button as Button$1, CircularProgress, Card as Card$1, SvgIcon as SvgIcon$1, FormControlLabel, Checkbox as Checkbox$1, Dialog as Dialog$1, DialogActions, Drawer as Drawer$1, MenuItem as MenuItem$1, Select, Grid as Grid$1, FormGroup as FormGroup$1, Divider as Divider$2, ListItemAvatar as ListItemAvatar$1, Backdrop, Menu as Menu$1, DialogContent, DialogTitle, Pagination as Pagination$1, PaginationItem, Popover as Popover$1, LinearProgress, Radio as Radio$1, FormControl, FormLabel, RadioGroup as RadioGroup$1, Switch as Switch$1, Tab as Tab$1, Table as Table$1, TableBody as TableBody$1, TableCell as TableCell$1, TableContainer as TableContainer$1, TableFooter as TableFooter$1, TableHead as TableHead$1, TableRow as TableRow$1, Tabs as Tabs$1 } from '@mui/material';
|
|
4
4
|
import { createTheme as createTheme$1, styled } from '@mui/material/styles';
|
|
5
5
|
import React, { forwardRef, useState, useRef, useMemo, useReducer, useEffect, useCallback, useImperativeHandle, Fragment as Fragment$1 } from 'react';
|
|
6
6
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
@@ -37,7 +37,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
37
37
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
38
38
|
PERFORMANCE OF THIS SOFTWARE.
|
|
39
39
|
***************************************************************************** */
|
|
40
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
40
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var __assign = function() {
|
|
@@ -74,8 +74,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
function __generator(thisArg, body) {
|
|
77
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
78
|
-
return g =
|
|
77
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
78
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
79
79
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
80
80
|
function step(op) {
|
|
81
81
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -862,7 +862,8 @@ var autocompleteOverrides$1 = {
|
|
|
862
862
|
'.MuiOutlinedInput-root': {
|
|
863
863
|
padding: 0,
|
|
864
864
|
'& .MuiAutocomplete-input': {
|
|
865
|
-
padding: 0,
|
|
865
|
+
padding: '0',
|
|
866
|
+
marginTop: '0',
|
|
866
867
|
},
|
|
867
868
|
},
|
|
868
869
|
'& .MuiInputBase-root.Mui-focused': {
|
|
@@ -871,6 +872,9 @@ var autocompleteOverrides$1 = {
|
|
|
871
872
|
'& .MuiFormControl-root.MuiTextField-root': {
|
|
872
873
|
marginBottom: 0,
|
|
873
874
|
},
|
|
875
|
+
'& .MuiAutocomplete-input:first-child.MuiInputBase-input': {
|
|
876
|
+
padding: '0 4px',
|
|
877
|
+
},
|
|
874
878
|
},
|
|
875
879
|
inputRoot: {
|
|
876
880
|
'&.MuiOutlinedInput-root': {
|
|
@@ -896,6 +900,9 @@ var autocompleteOverrides$1 = {
|
|
|
896
900
|
WebkitBoxShadow: 'inset 0 0 6px rgba(0,0,0,0.05)',
|
|
897
901
|
backgroundColor: '#7a7a7a',
|
|
898
902
|
},
|
|
903
|
+
'& svg:first-of-type': {
|
|
904
|
+
marginLeft: 0,
|
|
905
|
+
},
|
|
899
906
|
},
|
|
900
907
|
},
|
|
901
908
|
input: {
|
|
@@ -1163,11 +1170,9 @@ var dialogTitleOverrides$1 = {
|
|
|
1163
1170
|
var dividerOverrides$1 = {
|
|
1164
1171
|
styleOverrides: {
|
|
1165
1172
|
root: {
|
|
1166
|
-
width: '100%',
|
|
1167
1173
|
'&.gds-divider': {
|
|
1168
1174
|
marginTop: 2,
|
|
1169
1175
|
marginBottom: 2,
|
|
1170
|
-
backgroundColor: '#d4d4d4',
|
|
1171
1176
|
},
|
|
1172
1177
|
'&.gds-divider--vertical': {
|
|
1173
1178
|
marginLeft: 5,
|
|
@@ -1191,6 +1196,8 @@ var dropdownOverrides$1 = {
|
|
|
1191
1196
|
var theme = _a.theme;
|
|
1192
1197
|
return (__assign(__assign({}, theme.typography.body1), { lineHeight: '1.375rem', background: "url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fillRule='evenodd' clipRule='evenodd' d='M9.0625 3.66666L9.9375 4.54166L6 8.47916L2.0625 4.54166L2.9375 3.66666L6 6.72916L9.0625 3.66666Z' fill='%23444444'/%3E%3C/svg%3E\") center right 3px no-repeat", cursor: 'default', '&.MuiInputBase-input': {
|
|
1193
1198
|
paddingRight: 22,
|
|
1199
|
+
paddingTop: 0,
|
|
1200
|
+
paddingBottom: 0,
|
|
1194
1201
|
}, '.customLargeSize &': {
|
|
1195
1202
|
height: 30,
|
|
1196
1203
|
lineHeight: '30px',
|
|
@@ -1209,10 +1216,16 @@ var dropdownOverrides$1 = {
|
|
|
1209
1216
|
|
|
1210
1217
|
var formControlLabelOverrides$1 = {
|
|
1211
1218
|
styleOverrides: {
|
|
1212
|
-
root: {
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1219
|
+
root: function (_a) {
|
|
1220
|
+
var theme = _a.theme;
|
|
1221
|
+
return ({
|
|
1222
|
+
marginLeft: 0,
|
|
1223
|
+
marginRight: 0,
|
|
1224
|
+
marginBottom: 0,
|
|
1225
|
+
'&.Mui-disabled': {
|
|
1226
|
+
color: theme.palette.default.main,
|
|
1227
|
+
},
|
|
1228
|
+
});
|
|
1216
1229
|
},
|
|
1217
1230
|
},
|
|
1218
1231
|
};
|
|
@@ -1262,6 +1275,9 @@ var inputBaseOverrides$1 = {
|
|
|
1262
1275
|
height: '1.5rem',
|
|
1263
1276
|
maxHeight: 24,
|
|
1264
1277
|
verticalAlign: 'top', // fix inline-flex add up height
|
|
1278
|
+
'&.MuiInputBase-colorPrimary': {
|
|
1279
|
+
background: theme.palette.grey[50],
|
|
1280
|
+
},
|
|
1265
1281
|
'&.Mui-focused': {
|
|
1266
1282
|
borderColor: '#0078D7', // pallettes.brand.utility.accent.dark,
|
|
1267
1283
|
},
|
|
@@ -1376,7 +1392,7 @@ var inputLabelOverrides$1 = {
|
|
|
1376
1392
|
letterSpacing: theme.typography.body1.letterSpacing,
|
|
1377
1393
|
marginBottom: 2,
|
|
1378
1394
|
'&.Mui-focused': {
|
|
1379
|
-
backgroundColor: "".concat(theme.palette.background.paper
|
|
1395
|
+
backgroundColor: "".concat(theme.palette.background.paper),
|
|
1380
1396
|
boxShadow: "inset 0 0 0 2px ".concat(theme.palette.text.primary),
|
|
1381
1397
|
},
|
|
1382
1398
|
});
|
|
@@ -1512,7 +1528,9 @@ var menuHeaderOverrides = {
|
|
|
1512
1528
|
styleOverrides: {
|
|
1513
1529
|
root: function (_a) {
|
|
1514
1530
|
var theme = _a.theme;
|
|
1515
|
-
return (
|
|
1531
|
+
return ({
|
|
1532
|
+
'&.MuiListSubheader-root': __assign(__assign({}, theme.typography.body1), { fontWeight: 500, color: theme.palette.grey[700], backgroundColor: 'transparent', paddingTop: 4, paddingBottom: 4, paddingLeft: 6, paddingRight: 6 }),
|
|
1533
|
+
});
|
|
1516
1534
|
},
|
|
1517
1535
|
},
|
|
1518
1536
|
};
|
|
@@ -1553,14 +1571,14 @@ var menuItemOverrides$1 = {
|
|
|
1553
1571
|
}, _b['&.gds-drawer-menu-item-dark'] = {
|
|
1554
1572
|
backgroundColor: theme.palette.primary.main,
|
|
1555
1573
|
color: theme.palette.grey[200],
|
|
1556
|
-
'&:not(
|
|
1574
|
+
'&:not(.Mui-selected) svg': {
|
|
1557
1575
|
color: theme.palette.grey[200],
|
|
1558
1576
|
},
|
|
1559
1577
|
'&:hover': {
|
|
1560
1578
|
backgroundColor: 'rgba(0,0,0,.1)',
|
|
1561
1579
|
color: theme.palette.grey[200],
|
|
1562
1580
|
cursor: 'pointer',
|
|
1563
|
-
'&:not(
|
|
1581
|
+
'&:not(.Mui-selected) svg': {
|
|
1564
1582
|
color: theme.palette.grey[200],
|
|
1565
1583
|
},
|
|
1566
1584
|
},
|
|
@@ -1574,6 +1592,7 @@ var menuItemOverrides$1 = {
|
|
|
1574
1592
|
marginLeft: 32,
|
|
1575
1593
|
}, _b['&.gds-menu-item-icon'] = {
|
|
1576
1594
|
paddingLeft: 0,
|
|
1595
|
+
gap: 10,
|
|
1577
1596
|
'& .MuiSvgIcon-root': {
|
|
1578
1597
|
fontSize: 15,
|
|
1579
1598
|
},
|
|
@@ -1595,23 +1614,19 @@ var menuItemOverrides$1 = {
|
|
|
1595
1614
|
color: '#fff',
|
|
1596
1615
|
backgroundColor: '#0078D7',
|
|
1597
1616
|
},
|
|
1598
|
-
}, _b['&.gds-menu-item-system'] = __assign(__assign({
|
|
1599
|
-
backgroundColor: '#
|
|
1617
|
+
}, _b['&.gds-menu-item-system'] = __assign(__assign({ minHeight: 22, maxHeight: 22, padding: 0, paddingLeft: 32, paddingRight: 10, marginTop: theme.shapes.sm, marginBottom: theme.shapes.sm, backgroundColor: '#F9F9F9', color: theme.palette.text.primary }, theme.typography.body2), { '&:hover, &:focus': {
|
|
1618
|
+
backgroundColor: '#91C9F7',
|
|
1600
1619
|
color: theme.palette.text.primary,
|
|
1601
1620
|
}, '&:hover .MuiListItemText-root .MuiTypography-root': {
|
|
1602
1621
|
color: theme.palette.text.primary,
|
|
1603
1622
|
}, '&:hover .MuiListItemIcon-root': {
|
|
1604
|
-
backgroundColor: '#
|
|
1605
|
-
|
|
1623
|
+
backgroundColor: '#91C9F7',
|
|
1624
|
+
}, '& .MuiListItemIcon-root.selected': {
|
|
1625
|
+
backgroundColor: '#91C9F7',
|
|
1606
1626
|
}, '&.Mui-selected': {
|
|
1607
|
-
backgroundColor: '#EDEDEE',
|
|
1608
1627
|
'& .MuiListItemText-root': {
|
|
1609
1628
|
color: theme.palette.text.primary,
|
|
1610
1629
|
},
|
|
1611
|
-
'& .MuiListItemIcon-root': {
|
|
1612
|
-
backgroundColor: '#EDEDEE',
|
|
1613
|
-
borderRadius: theme.shapes.sm,
|
|
1614
|
-
},
|
|
1615
1630
|
'& svg': {
|
|
1616
1631
|
color: theme.palette.text.primary,
|
|
1617
1632
|
},
|
|
@@ -1722,6 +1737,13 @@ var radioOverrides$1 = {
|
|
|
1722
1737
|
'& + .MuiFormControlLabel-label': {
|
|
1723
1738
|
marginLeft: 10,
|
|
1724
1739
|
},
|
|
1740
|
+
'&.Mui-checked.Mui-disabled input': {
|
|
1741
|
+
backgroundColor: theme.palette.grey[100],
|
|
1742
|
+
borderColor: theme.palette.grey[400],
|
|
1743
|
+
},
|
|
1744
|
+
'&.Mui-checked.Mui-disabled input::after': {
|
|
1745
|
+
backgroundColor: theme.palette.grey[400],
|
|
1746
|
+
},
|
|
1725
1747
|
});
|
|
1726
1748
|
},
|
|
1727
1749
|
},
|
|
@@ -1781,14 +1803,17 @@ var switchOverrides$1 = {
|
|
|
1781
1803
|
border: "1px solid ".concat(theme.palette.primary.main),
|
|
1782
1804
|
borderRadius: 10,
|
|
1783
1805
|
},
|
|
1806
|
+
'& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track': {
|
|
1807
|
+
backgroundColor: '#3FAF2A33',
|
|
1808
|
+
},
|
|
1784
1809
|
'& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {
|
|
1785
1810
|
opacity: 1,
|
|
1786
1811
|
backgroundColor: 'rgba(63, 175, 42, 0.15)',
|
|
1787
1812
|
},
|
|
1788
1813
|
'& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {
|
|
1789
|
-
opacity:
|
|
1814
|
+
opacity: 0.5,
|
|
1790
1815
|
backgroundColor: theme.palette.grey[100],
|
|
1791
|
-
borderColor: theme.palette.grey[
|
|
1816
|
+
borderColor: theme.palette.grey[500],
|
|
1792
1817
|
},
|
|
1793
1818
|
'& .MuiSwitch-switchBase.Mui-disabled': {
|
|
1794
1819
|
'& .MuiSwitch-thumb': {
|
|
@@ -2149,30 +2174,38 @@ var chip = {
|
|
|
2149
2174
|
default: {
|
|
2150
2175
|
color: palette.primary.main,
|
|
2151
2176
|
background: 'rgba(30,54,94, 0.15)',
|
|
2177
|
+
contrastText: palette.primary.contrastText,
|
|
2152
2178
|
},
|
|
2153
2179
|
primary: {
|
|
2154
2180
|
color: palette.primary.main,
|
|
2155
2181
|
background: palette.primary.transparent,
|
|
2182
|
+
contrastText: palette.primary.contrastText,
|
|
2183
|
+
light: palette.primary.light,
|
|
2156
2184
|
},
|
|
2157
2185
|
secondary: {
|
|
2158
2186
|
color: palette.secondary.main,
|
|
2159
2187
|
background: palette.secondary.transparent,
|
|
2188
|
+
contrastText: palette.secondary.contrastText,
|
|
2160
2189
|
},
|
|
2161
2190
|
info: {
|
|
2162
2191
|
color: palette.default.main,
|
|
2163
2192
|
background: palette.default.transparent,
|
|
2193
|
+
contrastText: palette.default.contrastText,
|
|
2164
2194
|
},
|
|
2165
2195
|
success: {
|
|
2166
2196
|
color: palette.success.main,
|
|
2167
2197
|
background: palette.success.transparent,
|
|
2198
|
+
contrastText: palette.success.light,
|
|
2168
2199
|
},
|
|
2169
2200
|
warning: {
|
|
2170
2201
|
color: palette.warning.main,
|
|
2171
2202
|
background: palette.warning.transparent,
|
|
2203
|
+
contrastText: palette.warning.light,
|
|
2172
2204
|
},
|
|
2173
2205
|
error: {
|
|
2174
2206
|
color: palette.error.main,
|
|
2175
2207
|
background: palette.error.transparent,
|
|
2208
|
+
contrastText: palette.error.light,
|
|
2176
2209
|
},
|
|
2177
2210
|
},
|
|
2178
2211
|
outlined: {
|
|
@@ -2363,12 +2396,16 @@ var baseline = {
|
|
|
2363
2396
|
|
|
2364
2397
|
var accordionOverrides = {
|
|
2365
2398
|
styleOverrides: {
|
|
2366
|
-
root: {
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2399
|
+
root: function (_a) {
|
|
2400
|
+
var theme = _a.theme;
|
|
2401
|
+
return ({
|
|
2402
|
+
height: 'fit-content',
|
|
2403
|
+
borderRadius: 4,
|
|
2404
|
+
boxShadow: "0px 2px 1px -1px ".concat(theme.palette.grey[300], ", 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)"), // NOTE: overriding web default mui box shadow with grey[300]
|
|
2405
|
+
'&:not(:last-child)': {
|
|
2406
|
+
borderBottom: 0,
|
|
2407
|
+
},
|
|
2408
|
+
});
|
|
2372
2409
|
},
|
|
2373
2410
|
},
|
|
2374
2411
|
};
|
|
@@ -2674,7 +2711,7 @@ var dialogTitleOverrides = {
|
|
|
2674
2711
|
styleOverrides: {
|
|
2675
2712
|
root: {
|
|
2676
2713
|
fontSize: '1rem',
|
|
2677
|
-
height:
|
|
2714
|
+
height: 50,
|
|
2678
2715
|
padding: '8px 16px',
|
|
2679
2716
|
display: 'flex',
|
|
2680
2717
|
alignItems: 'center',
|
|
@@ -2688,11 +2725,9 @@ var dialogTitleOverrides = {
|
|
|
2688
2725
|
var dividerOverrides = {
|
|
2689
2726
|
styleOverrides: {
|
|
2690
2727
|
root: {
|
|
2691
|
-
width: '100%',
|
|
2692
2728
|
'&.gds-divider': {
|
|
2693
2729
|
marginTop: 2,
|
|
2694
2730
|
marginBottom: 2,
|
|
2695
|
-
backgroundColor: '#d4d4d4',
|
|
2696
2731
|
},
|
|
2697
2732
|
'&.gds-divider--vertical': {
|
|
2698
2733
|
marginLeft: 5,
|
|
@@ -2717,10 +2752,12 @@ var dropdownOverrides = {
|
|
|
2717
2752
|
display: 'inline-flex',
|
|
2718
2753
|
alignItems: 'center',
|
|
2719
2754
|
gap: 8,
|
|
2720
|
-
padding: '12px
|
|
2755
|
+
padding: '12px 0',
|
|
2721
2756
|
'&.MuiInputBase-adornedStart': {
|
|
2722
2757
|
'.MuiSvgIcon-root': {
|
|
2723
2758
|
fontSize: 16,
|
|
2759
|
+
left: 16,
|
|
2760
|
+
position: 'relative',
|
|
2724
2761
|
margin: 0,
|
|
2725
2762
|
},
|
|
2726
2763
|
},
|
|
@@ -2747,6 +2784,9 @@ var dropdownOverrides = {
|
|
|
2747
2784
|
height: 12,
|
|
2748
2785
|
background: "url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4H2L6 8L10 4Z' fill='%231C365F'/%3E%3C/svg%3E\") center center no-repeat",
|
|
2749
2786
|
marginLeft: 'auto',
|
|
2787
|
+
position: 'absolute',
|
|
2788
|
+
right: '12px',
|
|
2789
|
+
pointerEvents: 'none',
|
|
2750
2790
|
},
|
|
2751
2791
|
'&.customselect::after': {
|
|
2752
2792
|
content: '""',
|
|
@@ -2755,6 +2795,9 @@ var dropdownOverrides = {
|
|
|
2755
2795
|
height: 12,
|
|
2756
2796
|
background: "url(\"data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 7H2L6 11L10 7Z' fill='%23444444'/%3E%3Cpath d='M2 5L10 5L6 1L2 5Z' fill='%23444444'/%3E%3C/svg%3E\") center center no-repeat",
|
|
2757
2797
|
marginLeft: 'auto',
|
|
2798
|
+
position: 'absolute',
|
|
2799
|
+
right: '12px',
|
|
2800
|
+
pointerEvents: 'none',
|
|
2758
2801
|
},
|
|
2759
2802
|
});
|
|
2760
2803
|
},
|
|
@@ -2765,7 +2808,7 @@ var dropdownOverrides = {
|
|
|
2765
2808
|
fontWeight: 600,
|
|
2766
2809
|
letterSpacing: '.02em',
|
|
2767
2810
|
'&.MuiOutlinedInput-input': {
|
|
2768
|
-
padding: '
|
|
2811
|
+
padding: '8px 32px 8px 16px',
|
|
2769
2812
|
},
|
|
2770
2813
|
},
|
|
2771
2814
|
},
|
|
@@ -2779,6 +2822,9 @@ var formControlLabelOverrides = {
|
|
|
2779
2822
|
marginLeft: 0,
|
|
2780
2823
|
marginRight: 0,
|
|
2781
2824
|
'& .MuiTypography-root': __assign(__assign({}, theme.typography.button), { textTransform: 'none' }),
|
|
2825
|
+
'&.Mui-disabled': {
|
|
2826
|
+
color: theme.palette.default.main,
|
|
2827
|
+
},
|
|
2782
2828
|
});
|
|
2783
2829
|
},
|
|
2784
2830
|
},
|
|
@@ -2922,7 +2968,7 @@ var inputLabelOverrides = {
|
|
|
2922
2968
|
letterSpacing: theme.typography.subtitle2.letterSpacing,
|
|
2923
2969
|
marginBottom: 4,
|
|
2924
2970
|
'&.Mui-focused': {
|
|
2925
|
-
backgroundColor: "".concat(theme.palette.background.paper
|
|
2971
|
+
backgroundColor: "".concat(theme.palette.background.paper),
|
|
2926
2972
|
boxShadow: "inset 0 0 0 2px ".concat(theme.palette.text.primary),
|
|
2927
2973
|
},
|
|
2928
2974
|
});
|
|
@@ -3046,7 +3092,7 @@ var menuItemOverrides = {
|
|
|
3046
3092
|
'&.MuiMenuItem-root': (_b = {
|
|
3047
3093
|
lineHeight: 1.5715,
|
|
3048
3094
|
letterSpacing: '0.01rem',
|
|
3049
|
-
padding: '.
|
|
3095
|
+
padding: '.5rem 1rem'
|
|
3050
3096
|
},
|
|
3051
3097
|
_b[theme.breakpoints.down('sm')] = {
|
|
3052
3098
|
minHeight: 40,
|
|
@@ -3141,23 +3187,19 @@ var menuItemOverrides = {
|
|
|
3141
3187
|
},
|
|
3142
3188
|
},
|
|
3143
3189
|
},
|
|
3144
|
-
_b['&.gds-menu-item-system'] = __assign(__assign({
|
|
3145
|
-
backgroundColor: '#
|
|
3190
|
+
_b['&.gds-menu-item-system'] = __assign(__assign({ minHeight: 22, maxHeight: 22, padding: 0, paddingLeft: 32, paddingRight: 10, marginTop: theme.shapes.sm, marginBottom: theme.shapes.sm, backgroundColor: '#F9F9F9', color: theme.palette.text.primary }, theme.typography.body2), { '&:hover, &:focus': {
|
|
3191
|
+
backgroundColor: '#91C9F7',
|
|
3146
3192
|
color: theme.palette.text.primary,
|
|
3147
3193
|
}, '&:hover .MuiListItemText-root .MuiTypography-root': {
|
|
3148
3194
|
color: theme.palette.text.primary,
|
|
3149
3195
|
}, '&:hover .MuiListItemIcon-root': {
|
|
3150
|
-
backgroundColor: '#
|
|
3151
|
-
|
|
3196
|
+
backgroundColor: '#91C9F7',
|
|
3197
|
+
}, '& .MuiListItemIcon-root.selected': {
|
|
3198
|
+
backgroundColor: '#91C9F7',
|
|
3152
3199
|
}, '&.Mui-selected': {
|
|
3153
|
-
backgroundColor: '#EDEDEE',
|
|
3154
3200
|
'& .MuiListItemText-root': {
|
|
3155
3201
|
color: theme.palette.text.primary,
|
|
3156
3202
|
},
|
|
3157
|
-
'& .MuiListItemIcon-root': {
|
|
3158
|
-
backgroundColor: '#EDEDEE',
|
|
3159
|
-
borderRadius: theme.shapes.sm,
|
|
3160
|
-
},
|
|
3161
3203
|
'& svg': {
|
|
3162
3204
|
color: theme.palette.text.primary,
|
|
3163
3205
|
},
|
|
@@ -3168,6 +3210,9 @@ var menuItemOverrides = {
|
|
|
3168
3210
|
},
|
|
3169
3211
|
}, '&:not(.Mui-selected) svg': {
|
|
3170
3212
|
color: theme.palette.primary.main,
|
|
3213
|
+
}, '&:not(.Mui-selected):hover svg': {
|
|
3214
|
+
fontSize: 12,
|
|
3215
|
+
color: theme.palette.primary.main,
|
|
3171
3216
|
}, '&.customMultipleList .Mui-selected': {
|
|
3172
3217
|
backgroundColor: '#fff',
|
|
3173
3218
|
}, '& .MuiListItemIcon-root': {
|
|
@@ -3179,7 +3224,7 @@ var menuItemOverrides = {
|
|
|
3179
3224
|
position: 'absolute',
|
|
3180
3225
|
left: 0,
|
|
3181
3226
|
}, '& .MuiSvgIcon-root': {
|
|
3182
|
-
fontSize:
|
|
3227
|
+
fontSize: 12,
|
|
3183
3228
|
color: 'currentColor',
|
|
3184
3229
|
}, '& .MuiListItemText-root': {
|
|
3185
3230
|
margin: 0,
|
|
@@ -3265,6 +3310,13 @@ var radioOverrides = {
|
|
|
3265
3310
|
'&.Mui-disabled input': {
|
|
3266
3311
|
backgroundColor: theme.palette.grey[100],
|
|
3267
3312
|
},
|
|
3313
|
+
'&.Mui-checked.Mui-disabled input': {
|
|
3314
|
+
backgroundColor: theme.palette.grey[100],
|
|
3315
|
+
borderColor: theme.palette.grey[400],
|
|
3316
|
+
},
|
|
3317
|
+
'&.Mui-checked.Mui-disabled input::after': {
|
|
3318
|
+
backgroundColor: theme.palette.grey[400],
|
|
3319
|
+
},
|
|
3268
3320
|
'& + .MuiFormControlLabel-label': {
|
|
3269
3321
|
marginLeft: 8,
|
|
3270
3322
|
},
|
|
@@ -3330,6 +3382,9 @@ var switchOverrides = {
|
|
|
3330
3382
|
border: "1px solid ".concat(theme.palette.grey[400]),
|
|
3331
3383
|
height: 24,
|
|
3332
3384
|
},
|
|
3385
|
+
'& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track': {
|
|
3386
|
+
backgroundColor: '#3FAF2A33',
|
|
3387
|
+
},
|
|
3333
3388
|
'& .MuiSwitch-switchBase.Mui-disabled': {
|
|
3334
3389
|
'& .MuiSwitch-thumb': {
|
|
3335
3390
|
color: theme.palette.grey[400],
|
|
@@ -3567,6 +3622,11 @@ var MuiIcon = styled(Icon)(function () { return ({
|
|
|
3567
3622
|
transition: 'all 0.3s ease-out',
|
|
3568
3623
|
},
|
|
3569
3624
|
}); });
|
|
3625
|
+
var MuiListItemButton = styled(ListItemButton)(function () { return ({
|
|
3626
|
+
'&.MuiListItemButton-root:hover': {
|
|
3627
|
+
backgroundColor: 'transparent',
|
|
3628
|
+
},
|
|
3629
|
+
}); });
|
|
3570
3630
|
styled(ListItem)(function () { return ({
|
|
3571
3631
|
width: '100%',
|
|
3572
3632
|
paddingLeft: 10,
|
|
@@ -3574,9 +3634,6 @@ styled(ListItem)(function () { return ({
|
|
|
3574
3634
|
maxHeight: 32,
|
|
3575
3635
|
paddingTop: 6,
|
|
3576
3636
|
paddingBottom: 6,
|
|
3577
|
-
'&.MuiListItem-button:hover': {
|
|
3578
|
-
background: 'transparent',
|
|
3579
|
-
},
|
|
3580
3637
|
}); });
|
|
3581
3638
|
var MuiListItemText$1 = styled(ListItemText)(function () { return ({
|
|
3582
3639
|
'&.accordionTitle': {
|
|
@@ -3619,9 +3676,9 @@ var Accordion = function (_a) {
|
|
|
3619
3676
|
var handleClick = function () {
|
|
3620
3677
|
setOpen(!open);
|
|
3621
3678
|
};
|
|
3622
|
-
return (jsxs("div", { children: [jsx(ListSubheader, { sx: {
|
|
3679
|
+
return (jsxs("div", { style: { background: bgColor }, children: [jsx(ListSubheader, { sx: {
|
|
3623
3680
|
bgcolor: bgColor,
|
|
3624
|
-
}, children: jsxs(
|
|
3681
|
+
}, children: jsxs(MuiListItemButton, { onClick: handleClick, sx: {
|
|
3625
3682
|
backgroundColor: bgColor,
|
|
3626
3683
|
borderBottom: border ? "1px solid rgb(212, 212, 212)" : 'none',
|
|
3627
3684
|
}, children: [jsx(MuiListItemIcon$1, { "aria-label": chevronPosition, className: chevronPosition === 'end'
|
|
@@ -3629,6 +3686,9 @@ var Accordion = function (_a) {
|
|
|
3629
3686
|
: 'accordionPrependIcon', children: jsx(MuiIcon, { name: ChevronDownIcon, className: open ? 'iconOpen' : 'iconClosed', sx: { color: '#444444' } }) }), jsx(MuiListItemText$1, { className: "accordionTitle", children: jsx(Typography, { color: color, variant: "body1", children: title }) }), time && (jsx(MuiListItemText$1, { className: "accordionTime", children: jsx(Typography, { variant: "body1", children: time }) }))] }, title) }), jsx(Collapse, __assign({ in: open }, rest, { children: jsx(List, { sx: {
|
|
3630
3687
|
bgcolor: bgColor,
|
|
3631
3688
|
pb: 0,
|
|
3689
|
+
'& .MuiListItem-root': {
|
|
3690
|
+
bgcolor: bgColor,
|
|
3691
|
+
},
|
|
3632
3692
|
'& .MuiListSubheader-gutters': {
|
|
3633
3693
|
bgcolor: bgColor,
|
|
3634
3694
|
},
|
|
@@ -4619,6 +4679,7 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4619
4679
|
border: '1px solid transparent',
|
|
4620
4680
|
position: 'relative',
|
|
4621
4681
|
overflow: 'hidden',
|
|
4682
|
+
cursor: 'default',
|
|
4622
4683
|
'&.chip--rounded': {
|
|
4623
4684
|
borderRadius: '50px',
|
|
4624
4685
|
},
|
|
@@ -4629,6 +4690,16 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4629
4690
|
color: theme.chip.color.filled.default.color,
|
|
4630
4691
|
borderColor: theme.chip.color.filled.default.borderColor,
|
|
4631
4692
|
'&.chip--rounded': {
|
|
4693
|
+
borderColor: theme.chip.color.filled.default.borderColor,
|
|
4694
|
+
},
|
|
4695
|
+
'&.chip--rounded--web': {
|
|
4696
|
+
borderColor: theme.chip.color.filled.default.background,
|
|
4697
|
+
},
|
|
4698
|
+
'&.gds-chip--web': {
|
|
4699
|
+
backgroundColor: theme.chip.color.filled.default.color,
|
|
4700
|
+
color: theme.chip.color.filled.default.contrastText,
|
|
4701
|
+
},
|
|
4702
|
+
'&.MuiChip-deletable': {
|
|
4632
4703
|
borderColor: theme.chip.color.filled.default.background,
|
|
4633
4704
|
},
|
|
4634
4705
|
'&.MuiChip-deletable svg': {
|
|
@@ -4638,11 +4709,30 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4638
4709
|
backgroundColor: theme.chip.color.filled.default.background,
|
|
4639
4710
|
},
|
|
4640
4711
|
},
|
|
4712
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4713
|
+
backgroundColor: theme.chip.color.filled.default.background,
|
|
4714
|
+
color: theme.chip.color.filled.default.color,
|
|
4715
|
+
borderColor: theme.chip.color.filled.default.borderColor,
|
|
4716
|
+
},
|
|
4717
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4718
|
+
color: theme.chip.color.filled.default.color,
|
|
4719
|
+
},
|
|
4641
4720
|
},
|
|
4642
4721
|
'&.MuiChip-filledPrimary': {
|
|
4722
|
+
//NOTE: Leaving default primary same color as rounded
|
|
4643
4723
|
backgroundColor: theme.chip.color.filled.primary.background,
|
|
4644
4724
|
color: theme.chip.color.filled.primary.color,
|
|
4645
4725
|
'&.chip--rounded': {
|
|
4726
|
+
borderColor: theme.chip.color.filled.primary.borderColor,
|
|
4727
|
+
},
|
|
4728
|
+
'&.chip--rounded--web': {
|
|
4729
|
+
borderColor: theme.chip.color.filled.primary.background,
|
|
4730
|
+
},
|
|
4731
|
+
'&.gds-chip--web': {
|
|
4732
|
+
backgroundColor: theme.chip.color.filled.primary.light,
|
|
4733
|
+
color: theme.chip.color.filled.primary.contrastText,
|
|
4734
|
+
},
|
|
4735
|
+
'&.MuiChip-deletable': {
|
|
4646
4736
|
borderColor: theme.chip.color.filled.primary.background,
|
|
4647
4737
|
},
|
|
4648
4738
|
'&.MuiChip-deletable svg': {
|
|
@@ -4652,11 +4742,25 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4652
4742
|
backgroundColor: theme.chip.color.filled.primary.background,
|
|
4653
4743
|
},
|
|
4654
4744
|
},
|
|
4745
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4746
|
+
backgroundColor: theme.chip.color.filled.primary.background,
|
|
4747
|
+
color: theme.chip.color.filled.primary.color,
|
|
4748
|
+
borderColor: theme.chip.color.filled.primary.borderColor,
|
|
4749
|
+
},
|
|
4750
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4751
|
+
color: theme.chip.color.filled.primary.color,
|
|
4752
|
+
},
|
|
4655
4753
|
},
|
|
4656
4754
|
'&.MuiChip-filledSecondary': {
|
|
4657
4755
|
backgroundColor: theme.chip.color.filled.secondary.background,
|
|
4658
4756
|
color: theme.chip.color.filled.secondary.color,
|
|
4659
4757
|
'&.chip--rounded': {
|
|
4758
|
+
borderColor: theme.chip.color.filled.secondary.borderColor,
|
|
4759
|
+
},
|
|
4760
|
+
'&.chip--rounded--web': {
|
|
4761
|
+
borderColor: theme.chip.color.filled.secondary.background,
|
|
4762
|
+
},
|
|
4763
|
+
'&.MuiChip-deletable': {
|
|
4660
4764
|
borderColor: theme.chip.color.filled.secondary.background,
|
|
4661
4765
|
},
|
|
4662
4766
|
'&.MuiChip-deletable svg': {
|
|
@@ -4666,11 +4770,29 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4666
4770
|
backgroundColor: theme.chip.color.filled.secondary.background,
|
|
4667
4771
|
},
|
|
4668
4772
|
},
|
|
4773
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4774
|
+
backgroundColor: theme.chip.color.filled.secondary.background,
|
|
4775
|
+
color: theme.chip.color.filled.secondary.color,
|
|
4776
|
+
borderColor: theme.chip.color.filled.secondary.borderColor,
|
|
4777
|
+
},
|
|
4778
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4779
|
+
color: theme.chip.color.filled.secondary.color,
|
|
4780
|
+
},
|
|
4669
4781
|
},
|
|
4670
4782
|
'&.MuiChip-filledInfo': {
|
|
4671
4783
|
backgroundColor: theme.chip.color.filled.info.background,
|
|
4672
4784
|
color: theme.chip.color.filled.info.color,
|
|
4673
4785
|
'&.chip--rounded': {
|
|
4786
|
+
borderColor: theme.chip.color.filled.info.borderColor,
|
|
4787
|
+
},
|
|
4788
|
+
'&.gds-chip--web': {
|
|
4789
|
+
backgroundColor: theme.chip.color.filled.info.color,
|
|
4790
|
+
color: theme.chip.color.filled.info.contrastText,
|
|
4791
|
+
},
|
|
4792
|
+
'&.chip--rounded--web': {
|
|
4793
|
+
borderColor: theme.chip.color.filled.info.background,
|
|
4794
|
+
},
|
|
4795
|
+
'&.MuiChip-deletable': {
|
|
4674
4796
|
borderColor: theme.chip.color.filled.info.background,
|
|
4675
4797
|
},
|
|
4676
4798
|
'&.MuiChip-deletable svg': {
|
|
@@ -4680,13 +4802,31 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4680
4802
|
backgroundColor: theme.chip.color.filled.info.background,
|
|
4681
4803
|
},
|
|
4682
4804
|
},
|
|
4805
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4806
|
+
backgroundColor: theme.chip.color.filled.info.background,
|
|
4807
|
+
color: theme.chip.color.filled.info.color,
|
|
4808
|
+
borderColor: theme.chip.color.filled.info.borderColor,
|
|
4809
|
+
},
|
|
4810
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4811
|
+
color: theme.chip.color.filled.info.color,
|
|
4812
|
+
},
|
|
4683
4813
|
},
|
|
4684
4814
|
'&.MuiChip-filledSuccess': {
|
|
4685
4815
|
backgroundColor: theme.chip.color.filled.success.background,
|
|
4686
4816
|
color: theme.chip.color.filled.success.color,
|
|
4687
4817
|
'&.chip--rounded': {
|
|
4818
|
+
borderColor: theme.chip.color.filled.success.borderColor,
|
|
4819
|
+
},
|
|
4820
|
+
'&.gds-chip--web': {
|
|
4821
|
+
backgroundColor: theme.chip.color.filled.success.color,
|
|
4822
|
+
color: theme.chip.color.filled.success.contrastText,
|
|
4823
|
+
},
|
|
4824
|
+
'&.chip--rounded--web': {
|
|
4688
4825
|
borderColor: theme.chip.color.filled.success.background,
|
|
4689
4826
|
},
|
|
4827
|
+
'&.MuiChip-deletable': {
|
|
4828
|
+
borderColor: theme.chip.color.filled.info.background,
|
|
4829
|
+
},
|
|
4690
4830
|
'&.MuiChip-deletable svg': {
|
|
4691
4831
|
color: theme.chip.color.filled.success.color,
|
|
4692
4832
|
borderLeft: "1px solid ".concat(theme.chip.color.filled.success.background),
|
|
@@ -4694,11 +4834,29 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4694
4834
|
backgroundColor: theme.chip.color.filled.success.background,
|
|
4695
4835
|
},
|
|
4696
4836
|
},
|
|
4837
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4838
|
+
backgroundColor: theme.chip.color.filled.success.background,
|
|
4839
|
+
color: theme.chip.color.filled.success.color,
|
|
4840
|
+
borderColor: theme.chip.color.filled.success.borderColor,
|
|
4841
|
+
},
|
|
4842
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4843
|
+
color: theme.chip.color.filled.success.color,
|
|
4844
|
+
},
|
|
4697
4845
|
},
|
|
4698
4846
|
'&.MuiChip-filledWarning': {
|
|
4699
4847
|
backgroundColor: theme.chip.color.filled.warning.background,
|
|
4700
4848
|
color: theme.chip.color.filled.warning.color,
|
|
4701
4849
|
'&.chip--rounded': {
|
|
4850
|
+
borderColor: theme.chip.color.filled.warning.borderColor,
|
|
4851
|
+
},
|
|
4852
|
+
'&.gds-chip--web': {
|
|
4853
|
+
backgroundColor: theme.chip.color.filled.warning.color,
|
|
4854
|
+
color: theme.chip.color.filled.warning.contrastText,
|
|
4855
|
+
},
|
|
4856
|
+
'&.chip--rounded--web': {
|
|
4857
|
+
borderColor: theme.chip.color.filled.warning.background,
|
|
4858
|
+
},
|
|
4859
|
+
'&.MuiChip-deletable': {
|
|
4702
4860
|
borderColor: theme.chip.color.filled.warning.background,
|
|
4703
4861
|
},
|
|
4704
4862
|
'&.MuiChip-deletable svg': {
|
|
@@ -4708,11 +4866,29 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4708
4866
|
backgroundColor: theme.chip.color.filled.warning.background,
|
|
4709
4867
|
},
|
|
4710
4868
|
},
|
|
4869
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4870
|
+
backgroundColor: theme.chip.color.filled.warning.background,
|
|
4871
|
+
color: theme.chip.color.filled.warning.color,
|
|
4872
|
+
borderColor: theme.chip.color.filled.warning.borderColor,
|
|
4873
|
+
},
|
|
4874
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4875
|
+
color: theme.chip.color.filled.warning.color,
|
|
4876
|
+
},
|
|
4711
4877
|
},
|
|
4712
4878
|
'&.MuiChip-filledError': {
|
|
4713
4879
|
backgroundColor: theme.chip.color.filled.error.background,
|
|
4714
4880
|
color: theme.chip.color.filled.error.color,
|
|
4715
4881
|
'&.chip--rounded': {
|
|
4882
|
+
borderColor: theme.chip.color.filled.error.borderColor,
|
|
4883
|
+
},
|
|
4884
|
+
'&.gds-chip--web': {
|
|
4885
|
+
backgroundColor: theme.chip.color.filled.error.color,
|
|
4886
|
+
color: theme.chip.color.filled.error.contrastText,
|
|
4887
|
+
},
|
|
4888
|
+
'&.chip--rounded--web': {
|
|
4889
|
+
borderColor: theme.chip.color.filled.error.background,
|
|
4890
|
+
},
|
|
4891
|
+
'&.MuiChip-deletable': {
|
|
4716
4892
|
borderColor: theme.chip.color.filled.error.background,
|
|
4717
4893
|
},
|
|
4718
4894
|
'&.MuiChip-deletable svg': {
|
|
@@ -4722,6 +4898,14 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4722
4898
|
backgroundColor: theme.chip.color.filled.error.background,
|
|
4723
4899
|
},
|
|
4724
4900
|
},
|
|
4901
|
+
'&.MuiChip-deletable.gds-chip--web': {
|
|
4902
|
+
backgroundColor: theme.chip.color.filled.error.background,
|
|
4903
|
+
color: theme.chip.color.filled.error.color,
|
|
4904
|
+
borderColor: theme.chip.color.filled.error.borderColor,
|
|
4905
|
+
},
|
|
4906
|
+
'&.MuiChip-deletable.gds-chip--web svg': {
|
|
4907
|
+
color: theme.chip.color.filled.error.color,
|
|
4908
|
+
},
|
|
4725
4909
|
},
|
|
4726
4910
|
// Size
|
|
4727
4911
|
'& .MuiChip-label': {
|
|
@@ -4758,7 +4942,14 @@ var ChipStyled = styled(MuiChip)(function (_a) {
|
|
|
4758
4942
|
|
|
4759
4943
|
var Chip = function (props) {
|
|
4760
4944
|
var rounded = props.rounded, deleteIcon = props.deleteIcon, rest = __rest(props, ["rounded", "deleteIcon"]);
|
|
4761
|
-
|
|
4945
|
+
var theme = useTheme();
|
|
4946
|
+
return (jsx(ChipStyled, __assign({ size: "small", deleteIcon: deleteIcon ? deleteIcon : jsx(CrossIcon, { "aria-label": "Remove" }), onDelete: props.onDelete, className: rounded && theme.platform.name === 'leap_web'
|
|
4947
|
+
? 'chip--rounded chip--rounded--web'
|
|
4948
|
+
: theme.platform.name === 'leap_web'
|
|
4949
|
+
? 'gds-chip--web'
|
|
4950
|
+
: rounded
|
|
4951
|
+
? 'chip--rounded'
|
|
4952
|
+
: '' }, rest)));
|
|
4762
4953
|
};
|
|
4763
4954
|
|
|
4764
4955
|
var IconButton = forwardRef(function IconButton(props, ref) {
|
|
@@ -4852,7 +5043,7 @@ var DocTypeImageStyled = styled('img')({
|
|
|
4852
5043
|
|
|
4853
5044
|
var ActivityLog = function (props) {
|
|
4854
5045
|
var name = props.name, time = props.time, ext = props.ext, iconURL = props.iconURL, onAttach = props.onAttach, onClick = props.onClick, users = props.users, attachment = props.attachment, action = props.action, avatarGroupTooltip = props.avatarGroupTooltip, cost = props.cost, _a = props.insertIconTooltip, insertIconTooltip = _a === void 0 ? 'Insert' : _a, hover = props.hover, _b = props.tooltip, tooltip = _b === void 0 ? 'Preview' : _b, _c = props.nameRef, nameRef = _c === void 0 ? undefined : _c;
|
|
4855
|
-
return (jsxs(MuiListItem, { "data-testid": "activity-log", children: [jsx(MuiListItemIcon, { className: "prependIcon", children: attachment ? (jsx(Tooltip, { title: insertIconTooltip, children: jsx(IconButton, { onClick: onAttach, children: jsx(Icon, { name: InsertLinkIcon }) }) })) : ('') }), jsx(MuiListItemIcon, { className: "docTypeIcon", children: iconURL ? (jsx(DocTypeImageStyled, { title: iconURL, src: iconURL })) : (jsx(AttachmentIcon, { ext: ext })) }), jsxs(MuiListItemText, { disableTypography: true, onClick: onClick, secondary: action && (jsx(ActivityLogChips, { children: action.map(function (tag) { return (jsx(Chip, { label: tag.label, color: tag.color }, tag.label)); }) })), children: [hover ? (jsx(Tooltip, { title: tooltip, children: jsx(ActivityLogMainName, { ref: nameRef, noWrap: true, variant: "subtitle1", color: "primary", children: name }) })) : (jsx(ActivityLogMainName, { ref: nameRef, noWrap: true, variant: "subtitle1", color: "primary", children: name })), users ? (jsx(ActivityLogGroup, { children: jsx(AvatarGroup, { max: 2, size: "small", tooltip: avatarGroupTooltip, tooltipPlacement: "bottom-end", children: users.map(function (person) { return (jsx(Avatar, { color: "default", size: "small", tooltip: person.name, children: person.initials }, person.initials)); }) }) })) : (''), jsx(ActivityLogValues, { children: jsx(Typography, { variant: "body1", children: time }) }), cost && (jsx(ActivityLogValues, { children: jsx(Typography, { variant: "body1", children: cost }) }))] })] }));
|
|
5046
|
+
return (jsxs(MuiListItem, { "data-testid": "activity-log", children: [jsx(MuiListItemIcon, { className: "prependIcon", children: attachment ? (jsx(Tooltip, { title: insertIconTooltip, children: jsx(IconButton, { onClick: onAttach, children: jsx(Icon, { name: InsertLinkIcon }) }) })) : ('') }), iconURL || ext ? (jsx(MuiListItemIcon, { className: "docTypeIcon", children: iconURL ? (jsx(DocTypeImageStyled, { title: iconURL, src: iconURL })) : (jsx(AttachmentIcon, { ext: ext })) })) : null, jsxs(MuiListItemText, { disableTypography: true, onClick: onClick, secondary: action && (jsx(ActivityLogChips, { children: action.map(function (tag) { return (jsx(Chip, { label: tag.label, color: tag.color }, tag.label)); }) })), children: [hover ? (jsx(Tooltip, { title: tooltip, children: jsx(ActivityLogMainName, { ref: nameRef, noWrap: true, variant: "subtitle1", color: "primary", children: name }) })) : (jsx(ActivityLogMainName, { ref: nameRef, noWrap: true, variant: "subtitle1", color: "primary", children: name })), users ? (jsx(ActivityLogGroup, { children: jsx(AvatarGroup, { max: 2, size: "small", tooltip: avatarGroupTooltip, tooltipPlacement: "bottom-end", children: users.map(function (person) { return (jsx(Avatar, { color: "default", size: "small", tooltip: person.name, children: person.initials }, person.initials)); }) }) })) : (''), jsx(ActivityLogValues, { children: jsx(Typography, { variant: "body1", children: time }) }), cost && (jsx(ActivityLogValues, { children: jsx(Typography, { variant: "body1", children: cost }) }))] })] }));
|
|
4856
5047
|
};
|
|
4857
5048
|
|
|
4858
5049
|
function LeapLogo() {
|
|
@@ -4870,7 +5061,7 @@ var MuiAppBar = styled(AppBar$1)(function (_a) {
|
|
|
4870
5061
|
color: theme.palette.background.paper,
|
|
4871
5062
|
overflow: 'hidden',
|
|
4872
5063
|
'& svg': {
|
|
4873
|
-
color: '#ffffff
|
|
5064
|
+
color: '#ffffff',
|
|
4874
5065
|
},
|
|
4875
5066
|
'& .MuiIconButton-root': {
|
|
4876
5067
|
width: 50,
|
|
@@ -4935,7 +5126,7 @@ var AppBar = function (props) {
|
|
|
4935
5126
|
var isMobile = useMediaQuery('(max-width:380px)');
|
|
4936
5127
|
return (jsx(MuiAppBar, __assign({ color: "primary", position: position, elevation: 0 }, rest, { children: jsxs(AppBarToolbar, { variant: "dense", children: [hasDrawerToggle && (jsx(Box$1, { sx: {
|
|
4937
5128
|
display: { xs: hasDrawerToggle ? 'block' : 'none', sm: 'block' },
|
|
4938
|
-
}, children: jsx(IconButton, { "aria-label": "open drawer", onClick: onDrawerToggle, children: jsx(Icon, { name: MenuIcon }) }) })), jsx(AppBarLogo, { sx: isMobile ? { marginRight: 0, height: '3.125rem' } : {}, children: jsx(Icon, { name: LeapLogo }) }), jsx(Box$1, { sx: { display: { xs: 'none', sm: 'block' } }, children: jsx(Typography, { upperCase: true, color: "white", variant: "h2", children: props.title }) }), jsx(AppBarContent, { children: props.children }), !!props && !!props.user && (jsxs(Fragment, { children: [jsxs(AppBarUser, { sx: isMobile ? { overflow: 'hidden', minWidth: '6.25rem' } : {}, children: [jsxs(Typography, { color: "white", variant: "h4", children: [user === null || user === void 0 ? void 0 : user.firstName, " ", user === null || user === void 0 ? void 0 : user.lastName] }), jsx(Typography, { color: "
|
|
5129
|
+
}, children: jsx(IconButton, { "aria-label": "open drawer", onClick: onDrawerToggle, children: jsx(Icon, { name: MenuIcon }) }) })), jsx(AppBarLogo, { sx: isMobile ? { marginRight: 0, height: '3.125rem' } : {}, children: jsx(Icon, { name: LeapLogo }) }), jsx(Box$1, { sx: { display: { xs: 'none', sm: 'block' } }, children: jsx(Typography, { upperCase: true, color: "white", variant: "h2", children: props.title }) }), jsx(AppBarContent, { children: props.children }), !!props && !!props.user && (jsxs(Fragment, { children: [jsxs(AppBarUser, { sx: isMobile ? { overflow: 'hidden', minWidth: '6.25rem' } : {}, children: [jsxs(Typography, { color: "white", variant: "h4", children: [user === null || user === void 0 ? void 0 : user.firstName, " ", user === null || user === void 0 ? void 0 : user.lastName] }), jsx(Typography, { color: "text.light", variant: "body2", children: user === null || user === void 0 ? void 0 : user.email })] }), jsx(IconButton, { "aria-label": "logout", onClick: onLogout, children: jsx(Icon, { name: PowerIcon }) })] }))] }) })));
|
|
4939
5130
|
};
|
|
4940
5131
|
|
|
4941
5132
|
var InputLabel = function (props) {
|
|
@@ -5020,9 +5211,7 @@ var ListButtonText = styled$1(Typography)(function (_a) {
|
|
|
5020
5211
|
return ({
|
|
5021
5212
|
textTransform: 'capitalize',
|
|
5022
5213
|
fontWeight: 'normal',
|
|
5023
|
-
color: theme.
|
|
5024
|
-
? theme.palette.primary.main
|
|
5025
|
-
: theme.palette.primary.light,
|
|
5214
|
+
color: theme.palette.primary.light,
|
|
5026
5215
|
textAlign: 'center',
|
|
5027
5216
|
letterSpacing: '0',
|
|
5028
5217
|
});
|
|
@@ -5078,7 +5267,6 @@ var ButtonStyled = styled(Button$1)(function (_a) {
|
|
|
5078
5267
|
padding: theme.buttons.padding,
|
|
5079
5268
|
height: theme.buttons.height,
|
|
5080
5269
|
transition: 'all 0.15s ease-in-out',
|
|
5081
|
-
border: '1px solid transparent',
|
|
5082
5270
|
minWidth: '120px',
|
|
5083
5271
|
'&:hover': {
|
|
5084
5272
|
boxShadow: 'none',
|
|
@@ -7169,7 +7357,6 @@ var formatters$1 = {
|
|
|
7169
7357
|
return addLeadingZeros(fractionalSeconds, token.length);
|
|
7170
7358
|
}
|
|
7171
7359
|
};
|
|
7172
|
-
var lightFormatters = formatters$1;
|
|
7173
7360
|
|
|
7174
7361
|
var dayPeriodEnum = {
|
|
7175
7362
|
am: 'am',
|
|
@@ -7263,7 +7450,7 @@ var formatters = {
|
|
|
7263
7450
|
unit: 'year'
|
|
7264
7451
|
});
|
|
7265
7452
|
}
|
|
7266
|
-
return
|
|
7453
|
+
return formatters$1.y(date, token);
|
|
7267
7454
|
},
|
|
7268
7455
|
// Local week-numbering year
|
|
7269
7456
|
Y: function Y(date, token, localize, options) {
|
|
@@ -7385,7 +7572,7 @@ var formatters = {
|
|
|
7385
7572
|
switch (token) {
|
|
7386
7573
|
case 'M':
|
|
7387
7574
|
case 'MM':
|
|
7388
|
-
return
|
|
7575
|
+
return formatters$1.M(date, token);
|
|
7389
7576
|
// 1st, 2nd, ..., 12th
|
|
7390
7577
|
case 'Mo':
|
|
7391
7578
|
return localize.ordinalNumber(month + 1, {
|
|
@@ -7475,7 +7662,7 @@ var formatters = {
|
|
|
7475
7662
|
unit: 'date'
|
|
7476
7663
|
});
|
|
7477
7664
|
}
|
|
7478
|
-
return
|
|
7665
|
+
return formatters$1.d(date, token);
|
|
7479
7666
|
},
|
|
7480
7667
|
// Day of year
|
|
7481
7668
|
D: function D(date, token, localize) {
|
|
@@ -7755,7 +7942,7 @@ var formatters = {
|
|
|
7755
7942
|
unit: 'hour'
|
|
7756
7943
|
});
|
|
7757
7944
|
}
|
|
7758
|
-
return
|
|
7945
|
+
return formatters$1.h(date, token);
|
|
7759
7946
|
},
|
|
7760
7947
|
// Hour [0-23]
|
|
7761
7948
|
H: function H(date, token, localize) {
|
|
@@ -7764,7 +7951,7 @@ var formatters = {
|
|
|
7764
7951
|
unit: 'hour'
|
|
7765
7952
|
});
|
|
7766
7953
|
}
|
|
7767
|
-
return
|
|
7954
|
+
return formatters$1.H(date, token);
|
|
7768
7955
|
},
|
|
7769
7956
|
// Hour [0-11]
|
|
7770
7957
|
K: function K(date, token, localize) {
|
|
@@ -7794,7 +7981,7 @@ var formatters = {
|
|
|
7794
7981
|
unit: 'minute'
|
|
7795
7982
|
});
|
|
7796
7983
|
}
|
|
7797
|
-
return
|
|
7984
|
+
return formatters$1.m(date, token);
|
|
7798
7985
|
},
|
|
7799
7986
|
// Second
|
|
7800
7987
|
s: function s(date, token, localize) {
|
|
@@ -7803,11 +7990,11 @@ var formatters = {
|
|
|
7803
7990
|
unit: 'second'
|
|
7804
7991
|
});
|
|
7805
7992
|
}
|
|
7806
|
-
return
|
|
7993
|
+
return formatters$1.s(date, token);
|
|
7807
7994
|
},
|
|
7808
7995
|
// Fraction of second
|
|
7809
7996
|
S: function S(date, token) {
|
|
7810
|
-
return
|
|
7997
|
+
return formatters$1.S(date, token);
|
|
7811
7998
|
},
|
|
7812
7999
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
7813
8000
|
X: function X(date, token, _localize, options) {
|
|
@@ -7917,7 +8104,7 @@ function formatTimezoneShort(offset, dirtyDelimiter) {
|
|
|
7917
8104
|
if (minutes === 0) {
|
|
7918
8105
|
return sign + String(hours);
|
|
7919
8106
|
}
|
|
7920
|
-
var delimiter = dirtyDelimiter
|
|
8107
|
+
var delimiter = dirtyDelimiter;
|
|
7921
8108
|
return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
|
|
7922
8109
|
}
|
|
7923
8110
|
function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
|
|
@@ -8135,7 +8322,6 @@ var formatDistance = function formatDistance(token, count, options) {
|
|
|
8135
8322
|
}
|
|
8136
8323
|
return result;
|
|
8137
8324
|
};
|
|
8138
|
-
var formatDistance$1 = formatDistance;
|
|
8139
8325
|
|
|
8140
8326
|
function buildFormatLongFn(args) {
|
|
8141
8327
|
return function () {
|
|
@@ -8179,7 +8365,6 @@ var formatLong = {
|
|
|
8179
8365
|
defaultWidth: 'full'
|
|
8180
8366
|
})
|
|
8181
8367
|
};
|
|
8182
|
-
var formatLong$1 = formatLong;
|
|
8183
8368
|
|
|
8184
8369
|
var formatRelativeLocale = {
|
|
8185
8370
|
lastWeek: "'last' eeee 'at' p",
|
|
@@ -8192,7 +8377,6 @@ var formatRelativeLocale = {
|
|
|
8192
8377
|
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
|
|
8193
8378
|
return formatRelativeLocale[token];
|
|
8194
8379
|
};
|
|
8195
|
-
var formatRelative$1 = formatRelative;
|
|
8196
8380
|
|
|
8197
8381
|
function buildLocalizeFn(args) {
|
|
8198
8382
|
return function (dirtyIndex, options) {
|
|
@@ -8354,7 +8538,6 @@ var localize = {
|
|
|
8354
8538
|
defaultFormattingWidth: 'wide'
|
|
8355
8539
|
})
|
|
8356
8540
|
};
|
|
8357
|
-
var localize$1 = localize;
|
|
8358
8541
|
|
|
8359
8542
|
function buildMatchFn(args) {
|
|
8360
8543
|
return function (string) {
|
|
@@ -8512,7 +8695,6 @@ var match = {
|
|
|
8512
8695
|
defaultParseWidth: 'any'
|
|
8513
8696
|
})
|
|
8514
8697
|
};
|
|
8515
|
-
var match$1 = match;
|
|
8516
8698
|
|
|
8517
8699
|
/**
|
|
8518
8700
|
* @type {Locale}
|
|
@@ -8525,21 +8707,20 @@ var match$1 = match;
|
|
|
8525
8707
|
*/
|
|
8526
8708
|
var locale = {
|
|
8527
8709
|
code: 'en-US',
|
|
8528
|
-
formatDistance: formatDistance
|
|
8529
|
-
formatLong: formatLong
|
|
8530
|
-
formatRelative: formatRelative
|
|
8531
|
-
localize: localize
|
|
8532
|
-
match: match
|
|
8710
|
+
formatDistance: formatDistance,
|
|
8711
|
+
formatLong: formatLong,
|
|
8712
|
+
formatRelative: formatRelative,
|
|
8713
|
+
localize: localize,
|
|
8714
|
+
match: match,
|
|
8533
8715
|
options: {
|
|
8534
8716
|
weekStartsOn: 0 /* Sunday */,
|
|
8535
8717
|
firstWeekContainsDate: 1
|
|
8536
8718
|
}
|
|
8537
8719
|
};
|
|
8538
|
-
var defaultLocale = locale;
|
|
8539
8720
|
|
|
8540
8721
|
var enUS = /*#__PURE__*/Object.freeze({
|
|
8541
8722
|
__proto__: null,
|
|
8542
|
-
default:
|
|
8723
|
+
default: locale
|
|
8543
8724
|
});
|
|
8544
8725
|
|
|
8545
8726
|
// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
|
|
@@ -8858,7 +9039,7 @@ function format(dirtyDate, dirtyFormatStr, options) {
|
|
|
8858
9039
|
requiredArgs(2, arguments);
|
|
8859
9040
|
var formatStr = String(dirtyFormatStr);
|
|
8860
9041
|
var defaultOptions = getDefaultOptions();
|
|
8861
|
-
var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref :
|
|
9042
|
+
var locale$1 = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale;
|
|
8862
9043
|
var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
|
|
8863
9044
|
|
|
8864
9045
|
// Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
@@ -8871,10 +9052,10 @@ function format(dirtyDate, dirtyFormatStr, options) {
|
|
|
8871
9052
|
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
8872
9053
|
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
8873
9054
|
}
|
|
8874
|
-
if (!locale.localize) {
|
|
9055
|
+
if (!locale$1.localize) {
|
|
8875
9056
|
throw new RangeError('locale must contain localize property');
|
|
8876
9057
|
}
|
|
8877
|
-
if (!locale.formatLong) {
|
|
9058
|
+
if (!locale$1.formatLong) {
|
|
8878
9059
|
throw new RangeError('locale must contain formatLong property');
|
|
8879
9060
|
}
|
|
8880
9061
|
var originalDate = toDate(dirtyDate);
|
|
@@ -8890,14 +9071,14 @@ function format(dirtyDate, dirtyFormatStr, options) {
|
|
|
8890
9071
|
var formatterOptions = {
|
|
8891
9072
|
firstWeekContainsDate: firstWeekContainsDate,
|
|
8892
9073
|
weekStartsOn: weekStartsOn,
|
|
8893
|
-
locale: locale,
|
|
9074
|
+
locale: locale$1,
|
|
8894
9075
|
_originalDate: originalDate
|
|
8895
9076
|
};
|
|
8896
9077
|
var result = formatStr.match(longFormattingTokensRegExp$1).map(function (substring) {
|
|
8897
9078
|
var firstCharacter = substring[0];
|
|
8898
9079
|
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
8899
9080
|
var longFormatter = longFormatters[firstCharacter];
|
|
8900
|
-
return longFormatter(substring, locale.formatLong);
|
|
9081
|
+
return longFormatter(substring, locale$1.formatLong);
|
|
8901
9082
|
}
|
|
8902
9083
|
return substring;
|
|
8903
9084
|
}).join('').match(formattingTokensRegExp$1).map(function (substring) {
|
|
@@ -8917,7 +9098,7 @@ function format(dirtyDate, dirtyFormatStr, options) {
|
|
|
8917
9098
|
if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {
|
|
8918
9099
|
throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
|
|
8919
9100
|
}
|
|
8920
|
-
return formatter(utcDate, substring, locale.localize, formatterOptions);
|
|
9101
|
+
return formatter(utcDate, substring, locale$1.localize, formatterOptions);
|
|
8921
9102
|
}
|
|
8922
9103
|
if (firstCharacter.match(unescapedLatinCharacterRegExp$1)) {
|
|
8923
9104
|
throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
|
|
@@ -8972,7 +9153,7 @@ function _interopRequireDefault$a(obj) { return obj && obj.__esModule ? obj : {
|
|
|
8972
9153
|
|
|
8973
9154
|
function _getRequireWildcardCache$7(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$7 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
8974
9155
|
|
|
8975
|
-
function _interopRequireWildcard$7(obj, nodeInterop) { if (
|
|
9156
|
+
function _interopRequireWildcard$7(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$7(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$7(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
8976
9157
|
|
|
8977
9158
|
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
8978
9159
|
|
|
@@ -8996,7 +9177,7 @@ function _classCallCheck$8(instance, Constructor) { if (!(instance instanceof Co
|
|
|
8996
9177
|
|
|
8997
9178
|
function _defineProperties$8(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
8998
9179
|
|
|
8999
|
-
function _createClass$8(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
|
|
9180
|
+
function _createClass$8(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$8(Constructor.prototype, protoProps); return Constructor; }
|
|
9000
9181
|
|
|
9001
9182
|
function _inherits$8(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$8(subClass, superClass); }
|
|
9002
9183
|
|
|
@@ -9867,7 +10048,7 @@ function _interopRequireDefault$8(obj) { return obj && obj.__esModule ? obj : {
|
|
|
9867
10048
|
|
|
9868
10049
|
function _getRequireWildcardCache$6(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$6 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
9869
10050
|
|
|
9870
|
-
function _interopRequireWildcard$6(obj, nodeInterop) { if (
|
|
10051
|
+
function _interopRequireWildcard$6(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$6(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$6(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
9871
10052
|
|
|
9872
10053
|
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
9873
10054
|
|
|
@@ -9881,7 +10062,7 @@ function _classCallCheck$7(instance, Constructor) { if (!(instance instanceof Co
|
|
|
9881
10062
|
|
|
9882
10063
|
function _defineProperties$7(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
9883
10064
|
|
|
9884
|
-
function _createClass$7(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$7(Constructor.prototype, protoProps);
|
|
10065
|
+
function _createClass$7(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$7(Constructor.prototype, protoProps); return Constructor; }
|
|
9885
10066
|
|
|
9886
10067
|
function _inherits$7(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$7(subClass, superClass); }
|
|
9887
10068
|
|
|
@@ -10076,68 +10257,64 @@ var require$$3 = /*@__PURE__*/getAugmentedNamespace(isEqual$1);
|
|
|
10076
10257
|
|
|
10077
10258
|
var require$$4$1 = /*@__PURE__*/getAugmentedNamespace(isValid$1);
|
|
10078
10259
|
|
|
10079
|
-
function _arrayLikeToArray$3(
|
|
10080
|
-
|
|
10081
|
-
for (var
|
|
10082
|
-
return
|
|
10260
|
+
function _arrayLikeToArray$3(r, a) {
|
|
10261
|
+
(null == a || a > r.length) && (a = r.length);
|
|
10262
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
10263
|
+
return n;
|
|
10083
10264
|
}
|
|
10084
10265
|
|
|
10085
|
-
function _unsupportedIterableToArray$3(
|
|
10086
|
-
if (
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
10266
|
+
function _unsupportedIterableToArray$3(r, a) {
|
|
10267
|
+
if (r) {
|
|
10268
|
+
if ("string" == typeof r) return _arrayLikeToArray$3(r, a);
|
|
10269
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
10270
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$3(r, a) : void 0;
|
|
10271
|
+
}
|
|
10092
10272
|
}
|
|
10093
10273
|
|
|
10094
|
-
function _createForOfIteratorHelper(
|
|
10095
|
-
var
|
|
10096
|
-
if (!
|
|
10097
|
-
if (Array.isArray(
|
|
10098
|
-
|
|
10099
|
-
var
|
|
10100
|
-
|
|
10274
|
+
function _createForOfIteratorHelper(r, e) {
|
|
10275
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
10276
|
+
if (!t) {
|
|
10277
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray$3(r)) || e) {
|
|
10278
|
+
t && (r = t);
|
|
10279
|
+
var _n = 0,
|
|
10280
|
+
F = function F() {};
|
|
10101
10281
|
return {
|
|
10102
10282
|
s: F,
|
|
10103
10283
|
n: function n() {
|
|
10104
|
-
|
|
10105
|
-
done:
|
|
10106
|
-
}
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
value: o[i++]
|
|
10284
|
+
return _n >= r.length ? {
|
|
10285
|
+
done: !0
|
|
10286
|
+
} : {
|
|
10287
|
+
done: !1,
|
|
10288
|
+
value: r[_n++]
|
|
10110
10289
|
};
|
|
10111
10290
|
},
|
|
10112
|
-
e: function e(
|
|
10113
|
-
throw
|
|
10291
|
+
e: function e(r) {
|
|
10292
|
+
throw r;
|
|
10114
10293
|
},
|
|
10115
10294
|
f: F
|
|
10116
10295
|
};
|
|
10117
10296
|
}
|
|
10118
10297
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10119
10298
|
}
|
|
10120
|
-
var
|
|
10121
|
-
|
|
10122
|
-
|
|
10299
|
+
var o,
|
|
10300
|
+
a = !0,
|
|
10301
|
+
u = !1;
|
|
10123
10302
|
return {
|
|
10124
10303
|
s: function s() {
|
|
10125
|
-
|
|
10304
|
+
t = t.call(r);
|
|
10126
10305
|
},
|
|
10127
10306
|
n: function n() {
|
|
10128
|
-
var
|
|
10129
|
-
|
|
10130
|
-
return step;
|
|
10307
|
+
var r = t.next();
|
|
10308
|
+
return a = r.done, r;
|
|
10131
10309
|
},
|
|
10132
|
-
e: function e(
|
|
10133
|
-
|
|
10134
|
-
err = _e2;
|
|
10310
|
+
e: function e(r) {
|
|
10311
|
+
u = !0, o = r;
|
|
10135
10312
|
},
|
|
10136
10313
|
f: function f() {
|
|
10137
10314
|
try {
|
|
10138
|
-
|
|
10315
|
+
a || null == t["return"] || t["return"]();
|
|
10139
10316
|
} finally {
|
|
10140
|
-
if (
|
|
10317
|
+
if (u) throw o;
|
|
10141
10318
|
}
|
|
10142
10319
|
}
|
|
10143
10320
|
};
|
|
@@ -10155,43 +10332,34 @@ function assign(target, object) {
|
|
|
10155
10332
|
return target;
|
|
10156
10333
|
}
|
|
10157
10334
|
|
|
10158
|
-
function _assertThisInitialized$6(
|
|
10159
|
-
if (
|
|
10160
|
-
|
|
10161
|
-
}
|
|
10162
|
-
return self;
|
|
10335
|
+
function _assertThisInitialized$6(e) {
|
|
10336
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10337
|
+
return e;
|
|
10163
10338
|
}
|
|
10164
10339
|
|
|
10165
|
-
function _setPrototypeOf$6(
|
|
10166
|
-
_setPrototypeOf$6 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
};
|
|
10170
|
-
return _setPrototypeOf$6(o, p);
|
|
10340
|
+
function _setPrototypeOf$6(t, e) {
|
|
10341
|
+
return _setPrototypeOf$6 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
10342
|
+
return t.__proto__ = e, t;
|
|
10343
|
+
}, _setPrototypeOf$6(t, e);
|
|
10171
10344
|
}
|
|
10172
10345
|
|
|
10173
|
-
function _inherits$6(
|
|
10174
|
-
if (typeof
|
|
10175
|
-
|
|
10176
|
-
}
|
|
10177
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
10346
|
+
function _inherits$6(t, e) {
|
|
10347
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
10348
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
10178
10349
|
constructor: {
|
|
10179
|
-
value:
|
|
10180
|
-
writable:
|
|
10181
|
-
configurable:
|
|
10350
|
+
value: t,
|
|
10351
|
+
writable: !0,
|
|
10352
|
+
configurable: !0
|
|
10182
10353
|
}
|
|
10183
|
-
})
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
});
|
|
10187
|
-
if (superClass) _setPrototypeOf$6(subClass, superClass);
|
|
10354
|
+
}), Object.defineProperty(t, "prototype", {
|
|
10355
|
+
writable: !1
|
|
10356
|
+
}), e && _setPrototypeOf$6(t, e);
|
|
10188
10357
|
}
|
|
10189
10358
|
|
|
10190
|
-
function _getPrototypeOf$6(
|
|
10191
|
-
_getPrototypeOf$6 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function
|
|
10192
|
-
return
|
|
10193
|
-
};
|
|
10194
|
-
return _getPrototypeOf$6(o);
|
|
10359
|
+
function _getPrototypeOf$6(t) {
|
|
10360
|
+
return _getPrototypeOf$6 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
10361
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
10362
|
+
}, _getPrototypeOf$6(t);
|
|
10195
10363
|
}
|
|
10196
10364
|
|
|
10197
10365
|
function _isNativeReflectConstruct$6() {
|
|
@@ -10203,34 +10371,27 @@ function _isNativeReflectConstruct$6() {
|
|
|
10203
10371
|
})();
|
|
10204
10372
|
}
|
|
10205
10373
|
|
|
10206
|
-
function _possibleConstructorReturn$6(
|
|
10207
|
-
if (
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
10211
|
-
}
|
|
10212
|
-
return _assertThisInitialized$6(self);
|
|
10374
|
+
function _possibleConstructorReturn$6(t, e) {
|
|
10375
|
+
if (e && ("object" == _typeof$8(e) || "function" == typeof e)) return e;
|
|
10376
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
10377
|
+
return _assertThisInitialized$6(t);
|
|
10213
10378
|
}
|
|
10214
10379
|
|
|
10215
|
-
function _createSuper$6(
|
|
10216
|
-
var
|
|
10217
|
-
return function
|
|
10218
|
-
var
|
|
10219
|
-
|
|
10220
|
-
if (
|
|
10221
|
-
var
|
|
10222
|
-
|
|
10223
|
-
} else
|
|
10224
|
-
|
|
10225
|
-
}
|
|
10226
|
-
return _possibleConstructorReturn$6(this, result);
|
|
10380
|
+
function _createSuper$6(t) {
|
|
10381
|
+
var r = _isNativeReflectConstruct$6();
|
|
10382
|
+
return function () {
|
|
10383
|
+
var e,
|
|
10384
|
+
o = _getPrototypeOf$6(t);
|
|
10385
|
+
if (r) {
|
|
10386
|
+
var s = _getPrototypeOf$6(this).constructor;
|
|
10387
|
+
e = Reflect.construct(o, arguments, s);
|
|
10388
|
+
} else e = o.apply(this, arguments);
|
|
10389
|
+
return _possibleConstructorReturn$6(this, e);
|
|
10227
10390
|
};
|
|
10228
10391
|
}
|
|
10229
10392
|
|
|
10230
|
-
function _classCallCheck$6(
|
|
10231
|
-
if (!(
|
|
10232
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10233
|
-
}
|
|
10393
|
+
function _classCallCheck$6(a, n) {
|
|
10394
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
10234
10395
|
}
|
|
10235
10396
|
|
|
10236
10397
|
function toPrimitive(t, r) {
|
|
@@ -10246,40 +10407,28 @@ function toPrimitive(t, r) {
|
|
|
10246
10407
|
|
|
10247
10408
|
function toPropertyKey(t) {
|
|
10248
10409
|
var i = toPrimitive(t, "string");
|
|
10249
|
-
return "symbol" == _typeof$8(i) ? i :
|
|
10410
|
+
return "symbol" == _typeof$8(i) ? i : i + "";
|
|
10250
10411
|
}
|
|
10251
10412
|
|
|
10252
|
-
function _defineProperties$6(
|
|
10253
|
-
for (var
|
|
10254
|
-
var
|
|
10255
|
-
|
|
10256
|
-
descriptor.configurable = true;
|
|
10257
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
10258
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
10413
|
+
function _defineProperties$6(e, r) {
|
|
10414
|
+
for (var t = 0; t < r.length; t++) {
|
|
10415
|
+
var o = r[t];
|
|
10416
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
10259
10417
|
}
|
|
10260
10418
|
}
|
|
10261
|
-
function _createClass$6(
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
writable: false
|
|
10266
|
-
});
|
|
10267
|
-
return Constructor;
|
|
10419
|
+
function _createClass$6(e, r, t) {
|
|
10420
|
+
return r && _defineProperties$6(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
10421
|
+
writable: !1
|
|
10422
|
+
}), e;
|
|
10268
10423
|
}
|
|
10269
10424
|
|
|
10270
|
-
function _defineProperty$9(
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
writable: true
|
|
10278
|
-
});
|
|
10279
|
-
} else {
|
|
10280
|
-
obj[key] = value;
|
|
10281
|
-
}
|
|
10282
|
-
return obj;
|
|
10425
|
+
function _defineProperty$9(e, r, t) {
|
|
10426
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
10427
|
+
value: t,
|
|
10428
|
+
enumerable: !0,
|
|
10429
|
+
configurable: !0,
|
|
10430
|
+
writable: !0
|
|
10431
|
+
}) : e[r] = t, e;
|
|
10283
10432
|
}
|
|
10284
10433
|
|
|
10285
10434
|
var TIMEZONE_UNIT_PRIORITY = 10;
|
|
@@ -12766,8 +12915,8 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
|
|
|
12766
12915
|
var dateString = String(dirtyDateString);
|
|
12767
12916
|
var formatString = String(dirtyFormatString);
|
|
12768
12917
|
var defaultOptions = getDefaultOptions();
|
|
12769
|
-
var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref :
|
|
12770
|
-
if (!locale.match) {
|
|
12918
|
+
var locale$1 = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale;
|
|
12919
|
+
if (!locale$1.match) {
|
|
12771
12920
|
throw new RangeError('locale must contain match property');
|
|
12772
12921
|
}
|
|
12773
12922
|
var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
|
|
@@ -12792,7 +12941,7 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
|
|
|
12792
12941
|
var subFnOptions = {
|
|
12793
12942
|
firstWeekContainsDate: firstWeekContainsDate,
|
|
12794
12943
|
weekStartsOn: weekStartsOn,
|
|
12795
|
-
locale: locale
|
|
12944
|
+
locale: locale$1
|
|
12796
12945
|
};
|
|
12797
12946
|
|
|
12798
12947
|
// If timezone isn't specified, it will be set to the system timezone
|
|
@@ -12801,7 +12950,7 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
|
|
|
12801
12950
|
var firstCharacter = substring[0];
|
|
12802
12951
|
if (firstCharacter in longFormatters) {
|
|
12803
12952
|
var longFormatter = longFormatters[firstCharacter];
|
|
12804
|
-
return longFormatter(substring, locale.formatLong);
|
|
12953
|
+
return longFormatter(substring, locale$1.formatLong);
|
|
12805
12954
|
}
|
|
12806
12955
|
return substring;
|
|
12807
12956
|
}).join('').match(formattingTokensRegExp);
|
|
@@ -12835,7 +12984,7 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
|
|
|
12835
12984
|
token: firstCharacter,
|
|
12836
12985
|
fullToken: token
|
|
12837
12986
|
});
|
|
12838
|
-
var parseResult = parser.run(dateString, token, locale.match, subFnOptions);
|
|
12987
|
+
var parseResult = parser.run(dateString, token, locale$1.match, subFnOptions);
|
|
12839
12988
|
if (!parseResult) {
|
|
12840
12989
|
return {
|
|
12841
12990
|
v: new Date(NaN)
|
|
@@ -12963,13 +13112,13 @@ function _interopRequireDefault$7(obj) { return obj && obj.__esModule ? obj : {
|
|
|
12963
13112
|
|
|
12964
13113
|
function _getRequireWildcardCache$5(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$5 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12965
13114
|
|
|
12966
|
-
function _interopRequireWildcard$5(obj, nodeInterop) { if (
|
|
13115
|
+
function _interopRequireWildcard$5(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$5(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$5(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12967
13116
|
|
|
12968
13117
|
function _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12969
13118
|
|
|
12970
13119
|
function _defineProperties$5(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
12971
13120
|
|
|
12972
|
-
function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
|
|
13121
|
+
function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps); return Constructor; }
|
|
12973
13122
|
|
|
12974
13123
|
function _inherits$5(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$5(subClass, superClass); }
|
|
12975
13124
|
|
|
@@ -14558,7 +14707,7 @@ function _interopRequireDefault$5(obj) { return obj && obj.__esModule ? obj : {
|
|
|
14558
14707
|
|
|
14559
14708
|
function _getRequireWildcardCache$4(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$4 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14560
14709
|
|
|
14561
|
-
function _interopRequireWildcard$4(obj, nodeInterop) { if (
|
|
14710
|
+
function _interopRequireWildcard$4(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$4(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$4(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14562
14711
|
|
|
14563
14712
|
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
14564
14713
|
|
|
@@ -14582,7 +14731,7 @@ function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Co
|
|
|
14582
14731
|
|
|
14583
14732
|
function _defineProperties$4(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
14584
14733
|
|
|
14585
|
-
function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
|
|
14734
|
+
function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps); return Constructor; }
|
|
14586
14735
|
|
|
14587
14736
|
function _inherits$4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$4(subClass, superClass); }
|
|
14588
14737
|
|
|
@@ -15352,7 +15501,7 @@ function _interopRequireDefault$4(obj) { return obj && obj.__esModule ? obj : {
|
|
|
15352
15501
|
|
|
15353
15502
|
function _getRequireWildcardCache$3(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$3 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15354
15503
|
|
|
15355
|
-
function _interopRequireWildcard$3(obj, nodeInterop) { if (
|
|
15504
|
+
function _interopRequireWildcard$3(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$3(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$3(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15356
15505
|
|
|
15357
15506
|
function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
15358
15507
|
|
|
@@ -15364,7 +15513,7 @@ function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Co
|
|
|
15364
15513
|
|
|
15365
15514
|
function _defineProperties$3(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
15366
15515
|
|
|
15367
|
-
function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
15516
|
+
function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); return Constructor; }
|
|
15368
15517
|
|
|
15369
15518
|
function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$3(subClass, superClass); }
|
|
15370
15519
|
|
|
@@ -15758,13 +15907,13 @@ function _interopRequireDefault$2(obj) { return obj && obj.__esModule ? obj : {
|
|
|
15758
15907
|
|
|
15759
15908
|
function _getRequireWildcardCache$2(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$2 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15760
15909
|
|
|
15761
|
-
function _interopRequireWildcard$2(obj, nodeInterop) { if (
|
|
15910
|
+
function _interopRequireWildcard$2(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$2(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$2(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15762
15911
|
|
|
15763
15912
|
function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15764
15913
|
|
|
15765
15914
|
function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
15766
15915
|
|
|
15767
|
-
function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
|
|
15916
|
+
function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); return Constructor; }
|
|
15768
15917
|
|
|
15769
15918
|
function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$2(subClass, superClass); }
|
|
15770
15919
|
|
|
@@ -15891,7 +16040,7 @@ function _interopRequireDefault$1(obj) { return obj && obj.__esModule ? obj : {
|
|
|
15891
16040
|
|
|
15892
16041
|
function _getRequireWildcardCache$1(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$1 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15893
16042
|
|
|
15894
|
-
function _interopRequireWildcard$1(obj, nodeInterop) { if (
|
|
16043
|
+
function _interopRequireWildcard$1(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$1(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$1(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15895
16044
|
|
|
15896
16045
|
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
15897
16046
|
|
|
@@ -15901,7 +16050,7 @@ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Co
|
|
|
15901
16050
|
|
|
15902
16051
|
function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
15903
16052
|
|
|
15904
|
-
function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
16053
|
+
function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); return Constructor; }
|
|
15905
16054
|
|
|
15906
16055
|
function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
|
|
15907
16056
|
|
|
@@ -16110,7 +16259,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
16110
16259
|
|
|
16111
16260
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16112
16261
|
|
|
16113
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (
|
|
16262
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16114
16263
|
|
|
16115
16264
|
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
16116
16265
|
|
|
@@ -16124,7 +16273,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
16124
16273
|
|
|
16125
16274
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16126
16275
|
|
|
16127
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
16276
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); return Constructor; }
|
|
16128
16277
|
|
|
16129
16278
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
16130
16279
|
|
|
@@ -16263,7 +16412,7 @@ DateRangePicker$2.default = _default$1;
|
|
|
16263
16412
|
|
|
16264
16413
|
var StyledCalendar = styled$1(dist.Calendar)(function (_a) {
|
|
16265
16414
|
var theme = _a.theme;
|
|
16266
|
-
return "\n &.rdrCalendarWrapper {\n box-shadow: 0 0 1px rgba(0, 0, 0, 1);\n }\n\n /* Calendar */\n .rdrDateDisplayWrapper {\n background-color: ".concat(theme.palette.background.default, ";\n }\n\n .rdrDateDisplay {\n margin: 0.5rem 0.75rem;\n }\n\n .rdrDateDisplayItem {\n border-radius: ").concat(theme.shapes.button, ";\n }\n\n .rdrDateDisplayItem input {\n height: 1.5rem;\n line-height: 1.5rem;\n }\n\n .rdrDateDisplayItemActive {\n border-color: #32abe2;\n }\n\n .rdrMonthAndYearWrapper {\n height: 2rem;\n padding-top: 0;\n border-bottom: 1px solid ").concat(theme.palette.divider, ";\n }\n\n .leap-4d-calendar .rdrMonthAndYearWrapper {\n border-top: none;\n }\n\n .rdrMonthAndYearPickers select {\n padding: 8px 24px 8px 0px;\n font-size: 13px;\n color: ").concat(theme.palette.primary.main, ";\n border-radius: 0;\n }\n\n .rdrMonthAndYearPickers select:hover {\n background-color: #dceef9;\n }\n\n .rdrMonthAndYearPickers select option {\n background-color: white;\n }\n\n .rdrMonthName {\n padding: 0.5rem 0.5rem 0.25rem;\n text-align: center;\n color: ").concat(theme.palette.text.secondary, ";\n }\n\n .rdrMonth {\n padding: 0 1em 0.5em;\n width:
|
|
16415
|
+
return "\n &.rdrCalendarWrapper {\n box-shadow: 0 0 1px rgba(0, 0, 0, 1);\n }\n\n /* Calendar */\n .rdrDateDisplayWrapper {\n background-color: ".concat(theme.palette.background.default, ";\n }\n\n .rdrDateDisplay {\n margin: 0.5rem 0.75rem;\n }\n\n .rdrDateDisplayItem {\n border-radius: ").concat(theme.shapes.button, ";\n }\n\n .rdrDateDisplayItem input {\n height: 1.5rem;\n line-height: 1.5rem;\n }\n\n .rdrDateDisplayItemActive {\n border-color: #32abe2;\n }\n\n .rdrMonthAndYearWrapper {\n height: 2rem;\n padding-top: 0;\n border-bottom: 1px solid ").concat(theme.palette.divider, ";\n }\n\n .leap-4d-calendar .rdrMonthAndYearWrapper {\n border-top: none;\n }\n\n .rdrMonthAndYearPickers select {\n padding: 8px 24px 8px 0px;\n font-size: 13px;\n color: ").concat(theme.palette.primary.main, ";\n border-radius: 0;\n }\n\n .rdrMonthAndYearPickers select:hover {\n background-color: #dceef9;\n }\n\n .rdrMonthAndYearPickers select option {\n background-color: white;\n }\n\n .rdrMonthName {\n padding: 0.5rem 0.5rem 0.25rem;\n text-align: center;\n color: ").concat(theme.palette.text.secondary, ";\n }\n\n .rdrMonth {\n padding: 0 1em 0.5em;\n width: 100%;\n margin: 0 auto;\n }\n\n .rdrDay {\n height: 2em;\n line-height: 2em;\n }\n\n .rdrDayStartPreview,\n .rdrDayInPreview,\n .rdrDayEndPreview,\n .rdrSelected,\n .rdrInRange,\n .rdrStartEdge,\n .rdrEndEdge {\n top: 1px;\n bottom: 1px;\n left: 4px;\n right: 4px;\n }\n\n .rdrWeekDay {\n color: #aab0b8;\n font-weight: 600;\n line-height: 2em;\n }\n\n .rdrDayNumber span {\n color: ").concat(theme.palette.text.primary, ";\n }\n\n .rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span {\n color: ").concat(theme.palette.primary.main, ";\n }\n\n .rdrDayToday .rdrDayNumber span {\n font-weight: 600;\n }\n\n .rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after {\n background-color: ").concat(theme.palette.primary.main, ";\n }\n\n .rdrDayToday .rdrDayNumber span:after {\n background-color: ").concat(theme.palette.primary.main, ";\n bottom: -1px;\n width: 15px;\n height: 1px;\n }\n\n .rdrNextPrevButton {\n margin: 0 0.5rem;\n background: none;\n }\n\n .rdrNextPrevButton:hover {\n background-color: #E1E7F0;\n }\n\n .rdrNextPrevButton i {\n width: 24px;\n height: 24px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3964 7.14645C12.5917 6.95118 12.9083 6.95118 13.1036 7.14645L17.6036 11.6464C17.7988 11.8417 17.7988 12.1583 17.6036 12.3536L13.1036 16.8536C12.9083 17.0488 12.5917 17.0488 12.3964 16.8536C12.2012 16.6583 12.2012 16.3417 12.3964 16.1464L16.0429 12.5H6.75C6.47386 12.5 6.25 12.2761 6.25 12C6.25 11.7239 6.47386 11.5 6.75 11.5H16.0429L12.3964 7.85355C12.2012 7.65829 12.2012 7.34171 12.3964 7.14645Z' fill='%231E365E'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 21.5C17.2467 21.5 21.5 17.2467 21.5 12C21.5 6.75329 17.2467 2.5 12 2.5C6.75329 2.5 2.5 6.75329 2.5 12C2.5 17.2467 6.75329 21.5 12 21.5ZM12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5Z' fill='%231E365E'/%3E%3C/svg%3E%0A\");\n padding: 0;\n margin: 0;\n }\n\n .rdrPprevButton i {\n border: none;\n transform: rotate(-180deg);\n }\n\n .rdrNextButton i {\n border: none;\n transform: none;\n }\n\n .rdrStaticRange:hover .rdrStaticRangeLabel,\n .rdrStaticRange:focus .rdrStaticRangeLabel {\n background-color: #dceef9;\n }\n\n &.leap-4d-calendar .rdrMonths .rdrMonth .rdrDayHovered .rdrDayNumber:after {\n border-radius: 100%;\n top: -4px;\n bottom: -4px;\n left: 4px;\n right: 4px;\n }\n\n &.leap-4d-calendar .rdrDayStartPreview,\n &.leap-4d-calendar .rdrDayActive.rdrDayStartOfWeek .rdrDayNumber:after {\n left: 4px;\n }\n\n &.leap-4d-calendar .rdrDayEndPreview,\n &.leap-4d-calendar .rdrDayActive.rdrDayEndOfWeek .rdrDayNumber:after {\n right: 4px;\n }\n\n .rdrDayPassive .rdrDayNumber span {\n color: #d8d8d8;\n }\n\n");
|
|
16267
16416
|
});
|
|
16268
16417
|
|
|
16269
16418
|
var DatePicker = function (_a) {
|
|
@@ -16306,7 +16455,7 @@ styleInject(css_248z);
|
|
|
16306
16455
|
|
|
16307
16456
|
var StyledDateRangePicker = styled$1(dist.DateRangePicker)(function (_a) {
|
|
16308
16457
|
var theme = _a.theme;
|
|
16309
|
-
return "\n .rdrDateRangeWrapper {\n border: none;\n }\n\n /* Defined Ranges */\n .rdrDefinedRangesWrapper {\n width: 120px;\n border-color: ".concat(theme.palette.divider, ";\n }\n\n .rdrInputRanges {\n display: none;\n }\n\n .rdrStaticRange {\n font-family: ").concat(theme.typography.body1.fontFamily, ";\n }\n\n .rdrDefinedRangesWrapper .rdrStaticRangeSelected {\n color: ").concat(theme.palette.primary.main, "
|
|
16458
|
+
return "\n .rdrDateRangeWrapper {\n border: none;\n }\n\n /* Defined Ranges */\n .rdrDefinedRangesWrapper {\n width: 120px;\n border-color: ".concat(theme.palette.divider, ";\n }\n\n .rdrInputRanges {\n display: none;\n }\n\n .rdrStaticRange {\n font-family: ").concat(theme.typography.body1.fontFamily, ";\n }\n\n .rdrDefinedRangesWrapper .rdrStaticRangeSelected {\n color: ").concat(theme.palette.primary.main, ";\n background-color: #dceef9;\n }\n\n .rdrStaticRangeLabel {\n line-height: 1rem;\n padding: 0.625rem 1.5rem;\n }\n\n /* Calendar */\n .rdrDateDisplayWrapper {\n background-color: ").concat(theme.palette.background.default, ";\n }\n\n .rdrDateDisplay {\n margin: 0.5rem 0.75rem;\n }\n\n .rdrDateDisplayItem {\n border-radius: ").concat(theme.shapes.button, ";\n }\n\n .rdrDateDisplayItem input {\n height: 1.5rem;\n line-height: 1.5rem;\n }\n\n .rdrDateDisplayItemActive {\n border-color: #32abe2;\n }\n\n .rdrMonthAndYearWrapper {\n height: 2rem;\n padding-top: 0;\n border-top: 1px solid ").concat(theme.palette.divider, ";\n border-bottom: 1px solid ").concat(theme.palette.divider, ";\n }\n\n .leap-4d-calendar .rdrMonthAndYearWrapper {\n border-top: none;\n }\n\n .rdrMonthAndYearPickers select {\n padding: 8px 24px 8px 0px;\n font-size: 13px;\n color: ").concat(theme.palette.primary.main, ";\n border-radius: 0;\n }\n\n .rdrMonthAndYearPickers select:hover {\n background-color: #dceef9;\n }\n\n .rdrMonthAndYearPickers select option {\n background-color: white;\n }\n\n .rdrMonthName {\n padding: 0.5rem 0.5rem 0.25rem;\n text-align: center;\n color: ").concat(theme.palette.text.secondary, ";\n }\n\n .rdrMonth {\n padding: 0 1em 0.5em;\n width: 18.5em;\n }\n\n .rdrMonth:only-child {\n margin: 0 auto;\n width: 100%;\n }\n\n .rdrMonth:only-child .rdrStartEdge {\n left: 4px;\n }\n\n .rdrMonth:only-child .rdrEndEdge {\n right: 4px;\n }\n \n .rdrDay {\n height: 2em;\n line-height: 2em;\n }\n\n .rdrDayStartPreview,\n .rdrDayInPreview,\n .rdrDayEndPreview,\n .rdrSelected,\n .rdrInRange,\n .rdrStartEdge,\n .rdrEndEdge {\n top: 1px;\n bottom: 1px;\n }\n\n .rdrWeekDay {\n color: #aab0b8;\n font-weight: 600;\n line-height: 2em;\n }\n\n .rdrDayNumber span {\n color: ").concat(theme.palette.text.primary, ";\n }\n\n .rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span,\n .rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span {\n color: ").concat(theme.palette.primary.main, ";\n }\n\n .rdrDayToday .rdrDayNumber span {\n font-weight: 600;\n }\n\n .rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after,\n .rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after {\n background-color: ").concat(theme.palette.primary.main, ";\n }\n\n .rdrDayToday .rdrDayNumber span:after {\n background-color: ").concat(theme.palette.primary.main, ";\n bottom: -1px;\n width: 15px;\n height: 1px;\n }\n\n .rdrNextPrevButton {\n margin: 0 0.5rem;\n background: none;\n }\n\n .rdrNextPrevButton:hover {\n background-color: #E1E7F0;\n }\n\n .rdrNextPrevButton i {\n width: 24px;\n height: 24px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3964 7.14645C12.5917 6.95118 12.9083 6.95118 13.1036 7.14645L17.6036 11.6464C17.7988 11.8417 17.7988 12.1583 17.6036 12.3536L13.1036 16.8536C12.9083 17.0488 12.5917 17.0488 12.3964 16.8536C12.2012 16.6583 12.2012 16.3417 12.3964 16.1464L16.0429 12.5H6.75C6.47386 12.5 6.25 12.2761 6.25 12C6.25 11.7239 6.47386 11.5 6.75 11.5H16.0429L12.3964 7.85355C12.2012 7.65829 12.2012 7.34171 12.3964 7.14645Z' fill='%231E365E'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 21.5C17.2467 21.5 21.5 17.2467 21.5 12C21.5 6.75329 17.2467 2.5 12 2.5C6.75329 2.5 2.5 6.75329 2.5 12C2.5 17.2467 6.75329 21.5 12 21.5ZM12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5Z' fill='%231E365E'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n padding: 0;\n margin: 0;\n }\n\n .rdrPprevButton i {\n border: none;\n transform: rotate(-180deg);\n }\n\n .rdrNextButton i {\n border: none;\n transform: none;\n }\n\n &.leap-4d-date-picker .rdrMonths .rdrMonth:only-child .rdrDayHovered .rdrDayNumber:after {\n border-radius: 100%;\n top: -4px;\n bottom: -4px;\n left: 4px;\n right: 4px;\n }\n\n &.leap-4d-date-picker .rdrMonths .rdrMonth:only-child .rdrDayStartPreview,\n &.leap-4d-date-picker .rdrMonths .rdrMonth:only-child .rdrDayActive.rdrDayStartOfWeek .rdrDayNumber:after {\n left: 4px;\n }\n\n &.leap-4d-date-picker .rdrMonths .rdrMonth:only-child .rdrDayEndPreview,\n &.leap-4d-date-picker .rdrMonths .rdrMonth:only-child .rdrDayActive.rdrDayEndOfWeek .rdrDayNumber:after {\n right: 4px;\n }\n\n\n .rdrStaticRange:hover .rdrStaticRangeLabel,\n .rdrStaticRange:focus .rdrStaticRangeLabel {\n background-color: #dceef9;\n }\n\n .rdrDayStartPreview,\n .rdrStartEdge,\n .rdrDayStartOfWeek .rdrDayEndPreview,\n .rdrDayStartOfWeek .rdrDayInPreview {\n left: 3px;\n }\n\n .rdrDayEndPreview,\n .rdrEndEdge,\n .rdrDayEndOfWeek .rdrDayStartPreview,\n .rdrDayEndOfWeek .rdrDayInPreview {\n right: 3px;\n }\n\n .rdrDayPassive .rdrDayNumber span {\n color: #d8d8d8;\n }\n");
|
|
16310
16459
|
});
|
|
16311
16460
|
|
|
16312
16461
|
var DateRangePicker = function (props) {
|
|
@@ -16364,14 +16513,14 @@ var Dialog = function (props) {
|
|
|
16364
16513
|
};
|
|
16365
16514
|
|
|
16366
16515
|
var Divider = function (props) {
|
|
16367
|
-
var _a = props.orientation, orientation = _a === void 0 ? 'horizontal' : _a, rest = __rest(props, ["orientation"]);
|
|
16368
|
-
//
|
|
16369
|
-
//
|
|
16516
|
+
var _a = props.orientation, orientation = _a === void 0 ? 'horizontal' : _a, sx = props.sx, rest = __rest(props, ["orientation", "sx"]);
|
|
16517
|
+
// NOTE: These overrides exist for custom spacing between dividers
|
|
16518
|
+
// Alternatively if not applicable we use sx to override the spacing
|
|
16370
16519
|
var variantProp = {
|
|
16371
16520
|
horizontal: 'gds-divider--horizontal',
|
|
16372
16521
|
vertical: 'gds-divider--vertical',
|
|
16373
16522
|
}[orientation];
|
|
16374
|
-
return jsx(MuiDivider, __assign({ className: "gds-divider ".concat(variantProp) }, rest));
|
|
16523
|
+
return (jsx(MuiDivider, __assign({ className: orientation && !sx ? "gds-divider ".concat(variantProp) : '', sx: __assign({ backgroundColor: '#d4d4d4' }, sx) }, rest)));
|
|
16375
16524
|
};
|
|
16376
16525
|
|
|
16377
16526
|
var DrawerContainer = styled$1(Drawer$1)(function (_a) {
|
|
@@ -16463,7 +16612,7 @@ var DrawerMenuContainer = styled$1(MenuItem$1)(function (_a) {
|
|
|
16463
16612
|
},
|
|
16464
16613
|
'&.gds-drawer-menu-item-sub': {
|
|
16465
16614
|
'&:hover': {
|
|
16466
|
-
backgroundColor: 'rgba(255,255,255,.2)
|
|
16615
|
+
backgroundColor: 'rgba(255,255,255,.2)',
|
|
16467
16616
|
},
|
|
16468
16617
|
'& .MuiListItemIcon-root': {
|
|
16469
16618
|
marginRight: 0,
|
|
@@ -16489,7 +16638,7 @@ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else i
|
|
|
16489
16638
|
|
|
16490
16639
|
var Dropdown = function (props) {
|
|
16491
16640
|
var children = props.children, _a = props.elevation, elevation = _a === void 0 ? 3 : _a, _b = props.align, align = _b === void 0 ? 'right' : _b, label = props.label, width = props.width, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, _d = props.variant, variant = _d === void 0 ? 'dropdown' : _d, fullWidth = props.fullWidth, rest = __rest(props, ["children", "elevation", "align", "label", "width", "size", "disabled", "variant", "fullWidth"]);
|
|
16492
|
-
return (jsxs(Fragment, { children: [label && jsx(InputLabel, { children: label }), jsx(Select
|
|
16641
|
+
return (jsxs(Fragment, { children: [label && jsx(InputLabel, { children: label }), jsx(Select, __assign({ MenuProps: {
|
|
16493
16642
|
elevation: elevation,
|
|
16494
16643
|
anchorOrigin: { vertical: 'bottom', horizontal: align },
|
|
16495
16644
|
transformOrigin: { vertical: 'top', horizontal: align },
|
|
@@ -16502,28 +16651,21 @@ var Dropdown = function (props) {
|
|
|
16502
16651
|
} }, rest, { children: children }))] }));
|
|
16503
16652
|
};
|
|
16504
16653
|
|
|
16505
|
-
var EmptyStateContainer = styled$1(Box$1)(function (
|
|
16506
|
-
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16515
|
-
|
|
16516
|
-
fontFamily: theme.platform.name === 'lawconnect'
|
|
16517
|
-
? 'Inter, sans-serif'
|
|
16518
|
-
: 'Open Sans, sans-serif',
|
|
16519
|
-
});
|
|
16520
|
-
});
|
|
16654
|
+
var EmptyStateContainer = styled$1(Box$1)(function () { return ({
|
|
16655
|
+
height: '100%',
|
|
16656
|
+
flex: 1,
|
|
16657
|
+
display: 'flex',
|
|
16658
|
+
flexDirection: 'column',
|
|
16659
|
+
alignItems: 'center',
|
|
16660
|
+
justifyContent: 'center',
|
|
16661
|
+
textAlign: 'center',
|
|
16662
|
+
color: '#58595b',
|
|
16663
|
+
fontFamily: 'Open Sans, sans-serif',
|
|
16664
|
+
}); });
|
|
16521
16665
|
var EmptyStateTitle = styled$1(Typography$1)(function (_a) {
|
|
16522
16666
|
var theme = _a.theme;
|
|
16523
16667
|
return ({
|
|
16524
|
-
color: theme.
|
|
16525
|
-
? theme.palette.text.primary
|
|
16526
|
-
: theme.palette.primary.light,
|
|
16668
|
+
color: theme.palette.primary.light,
|
|
16527
16669
|
textTransform: 'none',
|
|
16528
16670
|
margin: 0,
|
|
16529
16671
|
padding: 0,
|
|
@@ -16538,28 +16680,28 @@ var EmptyState = function (props) {
|
|
|
16538
16680
|
var icon;
|
|
16539
16681
|
switch (variant) {
|
|
16540
16682
|
case 'document':
|
|
16541
|
-
icon =
|
|
16683
|
+
icon = jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.document });
|
|
16542
16684
|
break;
|
|
16543
16685
|
case 'matter':
|
|
16544
|
-
icon =
|
|
16686
|
+
icon = jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.matter });
|
|
16545
16687
|
break;
|
|
16546
16688
|
case 'appointment':
|
|
16547
|
-
icon = (jsx(Icon, { sx: { fontSize: '160px
|
|
16689
|
+
icon = (jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.appointment }));
|
|
16548
16690
|
break;
|
|
16549
16691
|
case 'transaction':
|
|
16550
|
-
icon = (jsx(Icon, { sx: { fontSize: '160px
|
|
16692
|
+
icon = (jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.transaction }));
|
|
16551
16693
|
break;
|
|
16552
16694
|
case 'default':
|
|
16553
|
-
icon =
|
|
16695
|
+
icon = jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.default });
|
|
16554
16696
|
break;
|
|
16555
16697
|
default:
|
|
16556
|
-
icon =
|
|
16698
|
+
icon = jsx(Icon, { sx: { fontSize: '160px' }, name: themeIcons === null || themeIcons === void 0 ? void 0 : themeIcons.default });
|
|
16557
16699
|
break;
|
|
16558
16700
|
}
|
|
16559
16701
|
return icon;
|
|
16560
16702
|
};
|
|
16561
16703
|
var theme = useTheme();
|
|
16562
|
-
return (jsxs(EmptyStateContainer, { children: [jsx(EmptyStateIcon, { variant: variant, emptyState: theme.emptyState }), jsx(EmptyStateTitle, { sx: { marginTop: 2 }, variant:
|
|
16704
|
+
return (jsxs(EmptyStateContainer, { children: [jsx(EmptyStateIcon, { variant: variant, emptyState: theme.emptyState }), jsx(EmptyStateTitle, { sx: { marginTop: 2 }, variant: "h2", children: title }), description && (jsx(Box$1, { mt: 1, children: jsx(Typography$1, { color: "textSecondary", variant: "body1", children: description }) }))] }));
|
|
16563
16705
|
};
|
|
16564
16706
|
|
|
16565
16707
|
var FooterActionsContainer = styled(Grid$1)({
|
|
@@ -16703,6 +16845,7 @@ var FormHeaderDetail = styled(Grid$1)(function () { return ({
|
|
|
16703
16845
|
zIndex: 9,
|
|
16704
16846
|
position: 'relative',
|
|
16705
16847
|
minHeight: 21,
|
|
16848
|
+
justifyContent: 'space-between',
|
|
16706
16849
|
button: {
|
|
16707
16850
|
fontSize: 12,
|
|
16708
16851
|
},
|
|
@@ -16710,11 +16853,9 @@ var FormHeaderDetail = styled(Grid$1)(function () { return ({
|
|
|
16710
16853
|
var FormHeaderInfo = styled(Grid$1)(function () { return ({
|
|
16711
16854
|
paddingTop: 0,
|
|
16712
16855
|
paddingBottom: 0,
|
|
16713
|
-
|
|
16714
|
-
p: {
|
|
16856
|
+
'& p': {
|
|
16715
16857
|
fontWeight: 500,
|
|
16716
16858
|
color: '#6d7278',
|
|
16717
|
-
whiteSpace: 'nowrap',
|
|
16718
16859
|
},
|
|
16719
16860
|
'& .MuiButton-label': {
|
|
16720
16861
|
top: 0,
|
|
@@ -16722,8 +16863,7 @@ var FormHeaderInfo = styled(Grid$1)(function () { return ({
|
|
|
16722
16863
|
'& .MuiButtonBase-root': {
|
|
16723
16864
|
paddingTop: 0,
|
|
16724
16865
|
paddingBottom: 0,
|
|
16725
|
-
|
|
16726
|
-
fontWeight: 400,
|
|
16866
|
+
height: 21,
|
|
16727
16867
|
},
|
|
16728
16868
|
}); });
|
|
16729
16869
|
var FormHeaderAccent = styled('div')(function () { return ({
|
|
@@ -16745,7 +16885,7 @@ var FormHeaderContent = styled('div')(function () { return ({
|
|
|
16745
16885
|
|
|
16746
16886
|
var FormHeader = React.forwardRef(function FormHeader(props, ref) {
|
|
16747
16887
|
var theme = useTheme();
|
|
16748
|
-
return (jsxs(FormHeaderBox, { ref: ref, className: props.fixed ? 'gds-header-fixed' : '', children: [jsx(FormHeaderAccent, { children: jsx(LawconnectIcon, { width: "260" }) }), jsxs(FormHeaderDetail, { container: true, children: [jsx(Grid$1, { item: true,
|
|
16888
|
+
return (jsxs(FormHeaderBox, { ref: ref, className: props.fixed ? 'gds-header-fixed' : '', children: [props.hideBranding ? ('') : (jsx(FormHeaderAccent, { children: jsx(LawconnectIcon, { width: "260" }) })), jsxs(FormHeaderDetail, { container: true, children: [jsx(Grid$1, { item: true, children: theme.platform.name === 'leap_web' ? (jsx(Typography, { color: "primary", variant: "h4", sx: { textTransform: 'uppercase' }, children: props.title })) : (jsx(Typography, { color: "primary.light", variant: "body1", sx: { textTransform: 'uppercase' }, children: props.title })) }), jsx(Grid$1, { item: true, children: jsxs(FormHeaderInfo, { container: true, children: [props.from ? (jsx(Typography, { align: "right", variant: "body2", children: props.from })) : null, props.from && props.onClick ? (jsx(Divider$2, { orientation: "vertical", sx: {
|
|
16749
16889
|
height: 16,
|
|
16750
16890
|
width: '1px',
|
|
16751
16891
|
margin: '2px 5px',
|
|
@@ -18541,7 +18681,7 @@ var ImageUpload = function (props) {
|
|
|
18541
18681
|
useEffect(function () { return function () {
|
|
18542
18682
|
files.forEach(function (file) { return URL.revokeObjectURL(file.url); });
|
|
18543
18683
|
}; }, [files]);
|
|
18544
|
-
return (jsx(ImageUploadStyled, { "data-testid": "image-upload", children: jsxs("div", __assign({}, getRootProps({ className: 'dropzone' }), { children: [jsx("input", __assign({}, getInputProps())), jsxs(ImageUploadContainer, { children: [jsx(ImageUploadClose, { children: jsx(IconButton, { size: "small", onClick: reset, children: jsx(Icon, { name: CrossIcon }) }) }), jsx(ImageUploadWrapperStyled, { children: files.length < 1 ? (jsx(ImageUploadPhoto, { className: rounded ? 'gds-image-upload-rounded' : '', children: placeholderImage })) : (files.map(function (file, index) { return (jsx("div", { children: jsx(ImageUploadPhoto, { className: rounded ? 'gds-image-upload-rounded' : '', children: jsx(ImageStyled, { title: file.url, src: file.url }) }) }, index)); })) })] }), jsx(Button, {
|
|
18684
|
+
return (jsx(ImageUploadStyled, { "data-testid": "image-upload", children: jsxs("div", __assign({}, getRootProps({ className: 'dropzone' }), { children: [jsx("input", __assign({}, getInputProps())), jsxs(ImageUploadContainer, { children: [jsx(ImageUploadClose, { children: jsx(IconButton, { size: "small", onClick: reset, children: jsx(Icon, { name: CrossIcon }) }) }), jsx(ImageUploadWrapperStyled, { children: files.length < 1 ? (jsx(ImageUploadPhoto, { className: rounded ? 'gds-image-upload-rounded' : '', children: placeholderImage })) : (files.map(function (file, index) { return (jsx("div", { children: jsx(ImageUploadPhoto, { className: rounded ? 'gds-image-upload-rounded' : '', children: jsx(ImageStyled, { title: file.url, src: file.url }) }) }, index)); })) })] }), jsx(Button, { variant: "outlined", fullWidth: true, onClick: open, sx: { padding: 2, borderRadius: 0 }, children: "Upload Photo" })] })) }));
|
|
18545
18685
|
};
|
|
18546
18686
|
|
|
18547
18687
|
var StyledInputBase = styled(InputBase, {
|
|
@@ -18649,44 +18789,39 @@ var Loader = function (props) {
|
|
|
18649
18789
|
} }, rest, { open: props.open, children: spinner ? (jsx(SpinnerIcon, { color: "inherit" })) : (jsx(LoaderIcon, { color: "inherit" })) })));
|
|
18650
18790
|
};
|
|
18651
18791
|
|
|
18652
|
-
var MenuHeaderContainer = styled$1('div')(function (
|
|
18792
|
+
var MenuHeaderContainer = styled$1('div')(function () { return ({
|
|
18793
|
+
'.MuiDivider-root': {
|
|
18794
|
+
marginTop: 2,
|
|
18795
|
+
},
|
|
18796
|
+
}); });
|
|
18797
|
+
var MenuListSubheader = styled$1(ListSubheader$1)(function (_a) {
|
|
18653
18798
|
var theme = _a.theme;
|
|
18654
|
-
return ({
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18799
|
+
return (__assign(__assign({}, theme.typography.body1), { fontWeight: 500, color: theme.palette.grey[700], backgroundColor: 'transparent', paddingTop: 4, paddingBottom: 4, paddingLeft: 6, paddingRight: 6, '&.gds-menu-subheader': {
|
|
18800
|
+
fontWeight: 400,
|
|
18801
|
+
fontSize: 13,
|
|
18802
|
+
'&.MuiListSubheader-gutters': {
|
|
18803
|
+
paddingTop: 4,
|
|
18804
|
+
paddingBottom: 4,
|
|
18805
|
+
paddingLeft: 6,
|
|
18806
|
+
paddingRight: 6,
|
|
18807
|
+
},
|
|
18808
|
+
} }));
|
|
18660
18809
|
});
|
|
18661
18810
|
|
|
18662
18811
|
var MenuHeader = function (props) {
|
|
18663
|
-
var children = props.children;
|
|
18664
|
-
|
|
18812
|
+
var children = props.children, rest = __rest(props, ["children"]);
|
|
18813
|
+
var theme = useTheme();
|
|
18814
|
+
return (jsxs(MenuHeaderContainer, { children: [jsx(MenuListSubheader, __assign({ className: theme.platform.name === 'leap_web' ? 'gds-menu-subheader' : '' }, rest, { children: children })), jsx(Divider$2, {})] }));
|
|
18665
18815
|
};
|
|
18666
18816
|
|
|
18667
18817
|
var Menu = forwardRef(function Menu(props, ref) {
|
|
18668
|
-
var heading = props.heading,
|
|
18669
|
-
|
|
18670
|
-
switch (padding) {
|
|
18671
|
-
case 'medium':
|
|
18672
|
-
paddings = 4;
|
|
18673
|
-
break;
|
|
18674
|
-
case 'small':
|
|
18675
|
-
paddings = 2;
|
|
18676
|
-
break;
|
|
18677
|
-
}
|
|
18678
|
-
return (jsxs(Menu$1, __assign({ ref: ref, className: system ? 'gds-menu-system' : '', MenuListProps: {
|
|
18679
|
-
sx: {
|
|
18680
|
-
padding: function (theme) {
|
|
18681
|
-
return theme.platform.name === 'lawconnect' ? paddings : '';
|
|
18682
|
-
},
|
|
18683
|
-
},
|
|
18684
|
-
} }, rest, { children: [heading ? jsx(MenuHeader, { children: heading }) : '', props.children] })));
|
|
18818
|
+
var heading = props.heading, system = props.system, rest = __rest(props, ["heading", "system"]);
|
|
18819
|
+
return (jsxs(Menu$1, __assign({ ref: ref, className: system ? 'gds-menu-system' : '' }, rest, { children: [heading ? jsx(MenuHeader, { children: heading }) : '', props.children] })));
|
|
18685
18820
|
});
|
|
18686
18821
|
|
|
18687
18822
|
var MenuItem = function (props) {
|
|
18688
18823
|
var startIcon = props.startIcon, endIcon = props.endIcon, stacked = props.stacked, children = props.children, system = props.system, border = props.border, rest = __rest(props, ["startIcon", "endIcon", "stacked", "children", "system", "border"]);
|
|
18689
|
-
return (jsxs(Fragment, { children: [jsxs(MenuItem$1, __assign({ className: "".concat(startIcon || system ? 'gds-menu-item-icon' : '', " ").concat(system ? 'gds-menu-item-system' : '') }, rest, { children: [startIcon ? jsx(ListItemIcon$2, { children: startIcon }) : null, jsx(ListItemText$2, { className: stacked ? 'MuiListItemText-stacked' : 'MuiListItemText-inline', children: children }), endIcon ? jsx(ListItemIcon$2, { children: endIcon }) : null] })), border && jsx(Divider$2, {})] }));
|
|
18824
|
+
return (jsxs(Fragment, { children: [jsxs(MenuItem$1, __assign({ className: "".concat(startIcon || system ? 'gds-menu-item-icon' : '', " ").concat(system ? 'gds-menu-item-system' : '') }, rest, { children: [startIcon ? (jsx(ListItemIcon$2, { className: props.selected ? 'selected' : '', children: startIcon })) : null, jsx(ListItemText$2, { className: stacked ? 'MuiListItemText-stacked' : 'MuiListItemText-inline', children: children }), endIcon ? jsx(ListItemIcon$2, { children: endIcon }) : null] })), border && jsx(Divider$2, {})] }));
|
|
18690
18825
|
};
|
|
18691
18826
|
|
|
18692
18827
|
var Modal = function (_a) {
|
|
@@ -18875,49 +19010,6 @@ var RibbonButtonGroup = forwardRef(function RibbonButtonGroup(props, ref) {
|
|
|
18875
19010
|
}, children: jsx(CaretIcon, {}) })] })));
|
|
18876
19011
|
});
|
|
18877
19012
|
|
|
18878
|
-
var SelectStyled = styled(Select$1)(function (_a) {
|
|
18879
|
-
var theme = _a.theme;
|
|
18880
|
-
return ({
|
|
18881
|
-
borderRadius: theme.shapes.card,
|
|
18882
|
-
height: 40,
|
|
18883
|
-
select: {
|
|
18884
|
-
padding: '0 16px',
|
|
18885
|
-
height: 40,
|
|
18886
|
-
lineHeight: '40px',
|
|
18887
|
-
display: 'flex',
|
|
18888
|
-
alignItems: 'center',
|
|
18889
|
-
'& .MuiTypography-root': {
|
|
18890
|
-
fontWeight: 'inherit',
|
|
18891
|
-
},
|
|
18892
|
-
'&.MuiInputBase-input, &.MuiOutlinedInput-input': {
|
|
18893
|
-
paddingRight: '44px',
|
|
18894
|
-
paddingTop: 0,
|
|
18895
|
-
},
|
|
18896
|
-
'&.MuiInputBase-input.MuiFilledInput-input': {},
|
|
18897
|
-
'&.MuiInputBase-input': {
|
|
18898
|
-
'&.MuiFilledInput-input': {
|
|
18899
|
-
'&:focus': {
|
|
18900
|
-
backgroundColor: 'transparent',
|
|
18901
|
-
},
|
|
18902
|
-
},
|
|
18903
|
-
},
|
|
18904
|
-
},
|
|
18905
|
-
'& .MuiFilledInput-input': {
|
|
18906
|
-
paddingTop: '8px',
|
|
18907
|
-
'&:focus': {
|
|
18908
|
-
backgroundColor: 'transparent',
|
|
18909
|
-
},
|
|
18910
|
-
},
|
|
18911
|
-
legend: {
|
|
18912
|
-
display: 'none',
|
|
18913
|
-
},
|
|
18914
|
-
});
|
|
18915
|
-
});
|
|
18916
|
-
|
|
18917
|
-
var Select = function (props) {
|
|
18918
|
-
return jsx(SelectStyled, __assign({ IconComponent: ChevronDownIcon }, props));
|
|
18919
|
-
};
|
|
18920
|
-
|
|
18921
19013
|
var SidebarWrapper = styled(Box)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
|
|
18922
19014
|
var SidebarMain = styled(Box)(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n flex: auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n"], ["\n flex: auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
18923
19015
|
var SidebarSide = styled(Box)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n display: flex;\n flex-direction: column;\n"], ["\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
@@ -19213,8 +19305,27 @@ var TagLabel = styled('div')(function (_a) {
|
|
|
19213
19305
|
var theme = _a.theme;
|
|
19214
19306
|
return "\n padding-left: 5px;\n padding-right: 5px;\n align-items: center;\n color:".concat(theme.palette.text.primary, "; \n");
|
|
19215
19307
|
});
|
|
19216
|
-
var TagStartIcon = styled('div')(function () {
|
|
19217
|
-
var
|
|
19308
|
+
var TagStartIcon = styled('div')(function (_a) {
|
|
19309
|
+
var startIconStyles = _a.startIconStyles;
|
|
19310
|
+
return ({
|
|
19311
|
+
display: 'flex',
|
|
19312
|
+
padding: '0 5px',
|
|
19313
|
+
'& .MuiSvgIcon-root': __assign({ fontSize: '1rem' }, startIconStyles),
|
|
19314
|
+
});
|
|
19315
|
+
});
|
|
19316
|
+
var TagEndIcon = styled('div')(function (_a) {
|
|
19317
|
+
var endIconStyles = _a.endIconStyles;
|
|
19318
|
+
return ({
|
|
19319
|
+
display: 'flex',
|
|
19320
|
+
'& .MuiSvgIcon-root': {
|
|
19321
|
+
fontSize: '1rem',
|
|
19322
|
+
},
|
|
19323
|
+
'& .MuiIconButton-root': __assign({ paddingLeft: '5px', paddingRight: '5px' }, endIconStyles),
|
|
19324
|
+
'& .MuiButtonBase-root': {
|
|
19325
|
+
color: 'inherit',
|
|
19326
|
+
},
|
|
19327
|
+
});
|
|
19328
|
+
});
|
|
19218
19329
|
var TagDelete = styled('div')(function () { return "\n display: flex;\n border-left: 1px solid #C0D7EE;\n .MuiButtonBase-root{\n color: inherit;\n }\n & > *:last-of-type {\n .MuiSvgIcon-root {\n font-size: 24px;\n } \n }\n"; });
|
|
19219
19330
|
var MuiIconButton = styled(IconButton$1)(function (_a) {
|
|
19220
19331
|
var theme = _a.theme;
|
|
@@ -19223,11 +19334,11 @@ var MuiIconButton = styled(IconButton$1)(function (_a) {
|
|
|
19223
19334
|
var templateObject_1$1;
|
|
19224
19335
|
|
|
19225
19336
|
var Tag = function (props) {
|
|
19226
|
-
var tooltip = props.tooltip, tooltipPlacement = props.tooltipPlacement, tooltipDelete = props.tooltipDelete, tooltipDeletePlacement = props.tooltipDeletePlacement, tooltipLabelPlacement = props.tooltipLabelPlacement, tooltipLabel = props.tooltipLabel, disabled = props.disabled, rest = __rest(props, ["tooltip", "tooltipPlacement", "tooltipDelete", "tooltipDeletePlacement", "tooltipLabelPlacement", "tooltipLabel", "disabled"]);
|
|
19337
|
+
var tooltip = props.tooltip, tooltipPlacement = props.tooltipPlacement, tooltipDelete = props.tooltipDelete, tooltipDeletePlacement = props.tooltipDeletePlacement, tooltipLabelPlacement = props.tooltipLabelPlacement, tooltipLabel = props.tooltipLabel, disabled = props.disabled, startIconStyles = props.startIconStyles, endIconStyles = props.endIconStyles, rest = __rest(props, ["tooltip", "tooltipPlacement", "tooltipDelete", "tooltipDeletePlacement", "tooltipLabelPlacement", "tooltipLabel", "disabled", "startIconStyles", "endIconStyles"]);
|
|
19227
19338
|
var placement = tooltipPlacement !== undefined ? tooltipPlacement : 'top';
|
|
19228
19339
|
var placementLabel = tooltipLabelPlacement !== undefined ? tooltipLabelPlacement : 'top';
|
|
19229
19340
|
var placementDelete = tooltipDeletePlacement !== undefined ? tooltipDeletePlacement : 'top';
|
|
19230
|
-
return (jsxs(TagWrapper, { children: [rest.startIcon ? jsx(TagStartIcon, { children: rest.startIcon }) : null, jsx(TagLabel, { sx: {
|
|
19341
|
+
return (jsxs(TagWrapper, { children: [rest.startIcon ? (jsx(TagStartIcon, { startIconStyles: startIconStyles, children: rest.startIcon })) : null, jsx(TagLabel, { sx: {
|
|
19231
19342
|
whiteSpace: 'nowrap',
|
|
19232
19343
|
overflow: 'hidden',
|
|
19233
19344
|
textOverflow: 'ellipsis',
|
|
@@ -19241,25 +19352,28 @@ var Tag = function (props) {
|
|
|
19241
19352
|
overflow: 'hidden',
|
|
19242
19353
|
textOverflow: 'ellipsis',
|
|
19243
19354
|
width: '100%',
|
|
19244
|
-
}, variant: "body2", children: rest.label })) }), rest.endIcon ? (jsx(TagEndIcon, { children: tooltip ? (jsx(Tooltip$2, { title: tooltip, placement: placement, TransitionProps: { timeout: 0 }, children: jsx(MuiIconButton, { disabled: disabled, onClick: rest.onClick, children: rest.endIcon }) })) : (jsx(MuiIconButton, { disabled: disabled, onClick: rest.onClick, children: rest.endIcon })) })) : null, rest.onDelete ? (jsx(TagDelete, { children: tooltipDelete ? (jsx(Tooltip$2, { title: tooltipDelete, placement: placementDelete, TransitionProps: { timeout: 0 }, children: jsx(MuiIconButton, { onClick: rest.onDelete, children: rest.deleteIcon ? (rest.deleteIcon) : (jsx(Icon, { "data-testid": "tooltip-delete", name: CrossIcon })) }) })) : (jsx(MuiIconButton, { onClick: rest.onDelete, children: rest.deleteIcon ? (rest.deleteIcon) : (jsx(Icon, { "data-testid": "delete", name: CrossIcon })) })) })) : null] }));
|
|
19355
|
+
}, variant: "body2", children: rest.label })) }), rest.endIcon ? (jsx(TagEndIcon, { endIconStyles: endIconStyles, children: tooltip ? (jsx(Tooltip$2, { title: tooltip, placement: placement, TransitionProps: { timeout: 0 }, children: jsx(MuiIconButton, { disabled: disabled, onClick: rest.onClick, children: rest.endIcon }) })) : (jsx(MuiIconButton, { disabled: disabled, onClick: rest.onClick, children: rest.endIcon })) })) : null, rest.onDelete ? (jsx(TagDelete, { children: tooltipDelete ? (jsx(Tooltip$2, { title: tooltipDelete, placement: placementDelete, TransitionProps: { timeout: 0 }, children: jsx(MuiIconButton, { onClick: rest.onDelete, children: rest.deleteIcon ? (rest.deleteIcon) : (jsx(Icon, { "data-testid": "tooltip-delete", name: CrossIcon })) }) })) : (jsx(MuiIconButton, { onClick: rest.onDelete, children: rest.deleteIcon ? (rest.deleteIcon) : (jsx(Icon, { "data-testid": "delete", name: CrossIcon })) })) })) : null] }));
|
|
19245
19356
|
};
|
|
19246
19357
|
|
|
19247
19358
|
var Toolbar = function (props) {
|
|
19248
19359
|
return jsx(Toolbar$1, __assign({}, props));
|
|
19249
19360
|
};
|
|
19250
19361
|
|
|
19251
|
-
var StyledToolbarButton = styled(Button
|
|
19362
|
+
var StyledToolbarButton = styled(Button)(function (_a) {
|
|
19252
19363
|
var theme = _a.theme;
|
|
19253
|
-
return (__assign(__assign({}, (theme.platform.name === 'leap_desktop' &&
|
|
19254
|
-
|
|
19255
|
-
|
|
19256
|
-
|
|
19257
|
-
|
|
19258
|
-
|
|
19259
|
-
|
|
19260
|
-
|
|
19261
|
-
|
|
19262
|
-
|
|
19364
|
+
return (__assign(__assign({}, (theme.platform.name === 'leap_desktop' && {
|
|
19365
|
+
'&.MuiButton-outlinedPrimary': __assign(__assign({ height: 'auto', maxWidth: 70, minWidth: 'unset', margin: '0 15px', border: '1px solid transparent', backgroundColor: 'transparent', flexDirection: 'column', padding: '0 4px', whiteSpace: 'normal' }, theme.typography.body2), { lineHeight: '1rem', '&:hover, &:focus': {
|
|
19366
|
+
backgroundColor: '#DDE7F3',
|
|
19367
|
+
borderColor: '#CADEF3',
|
|
19368
|
+
boxShadow: 'none',
|
|
19369
|
+
}, '.MuiSvgIcon-root': {
|
|
19370
|
+
width: 32,
|
|
19371
|
+
height: 32,
|
|
19372
|
+
marginBottom: 6,
|
|
19373
|
+
}, '.MuiButton-startIcon': {
|
|
19374
|
+
margin: 0,
|
|
19375
|
+
} }),
|
|
19376
|
+
})), (theme.platform.name === 'leap_web' && {
|
|
19263
19377
|
'.MuiButton-startIcon': {
|
|
19264
19378
|
display: 'none',
|
|
19265
19379
|
},
|
|
@@ -19298,5 +19412,5 @@ function PoweredByLawconnectLogo(props) {
|
|
|
19298
19412
|
// Themes
|
|
19299
19413
|
var iconsPath = '../Icons/lawconnect/';
|
|
19300
19414
|
|
|
19301
|
-
export { AccessIcon, Accordion, AccordionDetails, AccordionPanel, AccordionSummary, AccountingIcon, ActivityDefault16Icon, ActivityLog, ActivityTypeDefault, ActivityTypeDefault16, ActivityTypePhoneCall, ActivityTypePhoneCall16, ActivityTypeScannedDoc, ActivityTypeScannedDoc16, ActivityTypeVideoCall, ActivityTypeVideoCall16, AppBar, Appointment16Icon, AssignCurvedIcon, AttachmentIcon, AutoTimer24Icon, AutoTimerFilled24Icon, AutoTimerIconDarkTheme, AutoTimerIconLightTheme, Autocomplete, Avatar, AvatarBusinessIcon, AvatarCompanyIcon, AvatarGovernmentIcon, AvatarGroup, AvatarPeopleIcon, AvatarPersonIcon, AvatarTrustIcon, BlankLetter16Icon, BottomListButton, Box, Breadcrumbs, Browse2Icon, BrowseIcon, Button, ButtonCaretIcon, ButtonFilterIcon, Bylawyers16Icon as BylawyersIcon, CalendarIcon, CalendarRibbonIcon, Card, CaretDown12Icon, CaretIcon, CaretUp12Icon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Chip, Clause16Icon, CoinEuroIcon$1 as CoinEuroIcon, CoinIcon, CoinPoundIcon, CostRecoveryExceeded16Icon, Cross16Icon, CrossIcon, CssBaseline, CoinEuroIcon as CurrencyEuroIcon, CurrencyIcon, CurrencyPoundIcon, DatePicker, DateRangePicker, DeleteRibbonIcon, Dialog, Divider, DocTypeAppointment$1 as DocTypeAppointment, DocTypeAppointment16, DocTypeAppointmentCriticalDate, DocTypeAppointmentCriticalDate16, DocTypeAudio, DocTypeAudio16, DocTypeEmailDraft$3 as DocTypeClausePrecedent, DocTypeClausePrecedent16, DocTypeAppointment as DocTypeComment, DocTypeComment16, DocTypeCriticalDate, DocTypeCriticalDate16, DocTypeDeadline, DocTypeDeadline16, DocTypeDefault, DocTypeDefault16, DocTypeEmail, DocTypeEmail16, DocTypeEmailDraft$2 as DocTypeEmailDraft, DocTypeEmailDraft16, DocTypeEmailDraft$1 as DocTypeEmailReceived, DocTypeEmailRecieved16 as DocTypeEmailReceived16, DocTypeEmailRecieved, DocTypeEmailSent, DocTypeEmailSent16, DocTypeExcel, DocTypeExcel16, DocTypeExcel16Shortcut, DocTypeFax, DocTypeFax16, DocTypeFileNote, DocTypeFileNote16, DocTypeFolder, DocTypeFolder16, DocTypeImage, DocTypeImage16, DocTypeInfotrack, DocTypeInfotrack16, DocTypeInvoiceRequest, DocTypeInvoiceRequest16, DocTypeInvoiceRequests, DocTypeInvoiceRequests16, DocTypeLetter, DocTypeLetter16, DocTypeMemo, DocTypeMemo16, DocTypePdf, DocTypePdf16, DocTypePowerpoint, DocTypePowerpoint16, DocTypeSMS, DocTypeSMS16, DocTypeScannedDoc16, DocTypeEmailDraft as DocTypeSignatureDeclined, DocTypeSignatureDeclined16, DocTypeSignaturePending, DocTypeSignaturePending16, DocTypeSignatureRequest, DocTypeSignatureRequest16, DocTypeSignatureSigned, DocTypeSignatureSigned16, DocTypeTasks, DocTypeTasks16, DocTypeTrust, DocTypeTrust16, DocTypeVideo, DocTypeVideo16, DocTypeWord, DocTypeWord16, DocTypeWord16Shortcut, DocTypeZip, DocTypeZip16, Drawer, DrawerMenu, Dropdown, EmailSentIcon, EmptyState, Fax16Icon, FeeEntry16Icon, FooterActions, FormBody, FormContainer, FormGroup, FormHeader, Grid, HeaderToolbar, HomeIcon, HyperLink16Icon, Icon, IconButton, ImageUpload, Input, InputLabel, InsertLinkIcon, LawconnectIcon, LeapLegsLogo, LeapLogo, List, ListItem, ListItemAvatar, ListItemHoverContent, ListItemIcon, ListItemText, ListSubheader, Loader, LoaderIcon$1 as LoaderIcon, ManualEntry24Icon, ManualEntryFilled24Icon, ManualEntryIconDarkTheme, ManualEntryIconLightTheme, MatterFolderRibbonIcon, Memo16Icon, Menu, MenuHeader, MenuIcon, MenuItem, Modal, ModalActions, ModalContent, ModalTitle, MoreVerticalIcon, NewAppointmentIcon, NewEntryRibbonIcons as NewEntryRibbonIcon, Pagination, PhoneCall16Icon, Popover, PowerIcon, PoweredByLawconnectLogo, PrecedentNotification16Icon, PreviewIcon, ProgressBar, Radio, RadioGroup, ReportingIcon, ResponseIcon, RevokeAccessIcon, RibbonButton, RibbonButtonGroup, ScannedDoc16Icon, SearchIcon,
|
|
19415
|
+
export { AccessIcon, Accordion, AccordionDetails, AccordionPanel, AccordionSummary, AccountingIcon, ActivityDefault16Icon, ActivityLog, ActivityTypeDefault, ActivityTypeDefault16, ActivityTypePhoneCall, ActivityTypePhoneCall16, ActivityTypeScannedDoc, ActivityTypeScannedDoc16, ActivityTypeVideoCall, ActivityTypeVideoCall16, AppBar, Appointment16Icon, AssignCurvedIcon, AttachmentIcon, AutoTimer24Icon, AutoTimerFilled24Icon, AutoTimerIconDarkTheme, AutoTimerIconLightTheme, Autocomplete, Avatar, AvatarBusinessIcon, AvatarCompanyIcon, AvatarGovernmentIcon, AvatarGroup, AvatarPeopleIcon, AvatarPersonIcon, AvatarTrustIcon, BlankLetter16Icon, BottomListButton, Box, Breadcrumbs, Browse2Icon, BrowseIcon, Button, ButtonCaretIcon, ButtonFilterIcon, Bylawyers16Icon as BylawyersIcon, CalendarIcon, CalendarRibbonIcon, Card, CaretDown12Icon, CaretIcon, CaretUp12Icon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Chip, Clause16Icon, CoinEuroIcon$1 as CoinEuroIcon, CoinIcon, CoinPoundIcon, CostRecoveryExceeded16Icon, Cross16Icon, CrossIcon, CssBaseline, CoinEuroIcon as CurrencyEuroIcon, CurrencyIcon, CurrencyPoundIcon, DatePicker, DateRangePicker, DeleteRibbonIcon, Dialog, Divider, DocTypeAppointment$1 as DocTypeAppointment, DocTypeAppointment16, DocTypeAppointmentCriticalDate, DocTypeAppointmentCriticalDate16, DocTypeAudio, DocTypeAudio16, DocTypeEmailDraft$3 as DocTypeClausePrecedent, DocTypeClausePrecedent16, DocTypeAppointment as DocTypeComment, DocTypeComment16, DocTypeCriticalDate, DocTypeCriticalDate16, DocTypeDeadline, DocTypeDeadline16, DocTypeDefault, DocTypeDefault16, DocTypeEmail, DocTypeEmail16, DocTypeEmailDraft$2 as DocTypeEmailDraft, DocTypeEmailDraft16, DocTypeEmailDraft$1 as DocTypeEmailReceived, DocTypeEmailRecieved16 as DocTypeEmailReceived16, DocTypeEmailRecieved, DocTypeEmailSent, DocTypeEmailSent16, DocTypeExcel, DocTypeExcel16, DocTypeExcel16Shortcut, DocTypeFax, DocTypeFax16, DocTypeFileNote, DocTypeFileNote16, DocTypeFolder, DocTypeFolder16, DocTypeImage, DocTypeImage16, DocTypeInfotrack, DocTypeInfotrack16, DocTypeInvoiceRequest, DocTypeInvoiceRequest16, DocTypeInvoiceRequests, DocTypeInvoiceRequests16, DocTypeLetter, DocTypeLetter16, DocTypeMemo, DocTypeMemo16, DocTypePdf, DocTypePdf16, DocTypePowerpoint, DocTypePowerpoint16, DocTypeSMS, DocTypeSMS16, DocTypeScannedDoc16, DocTypeEmailDraft as DocTypeSignatureDeclined, DocTypeSignatureDeclined16, DocTypeSignaturePending, DocTypeSignaturePending16, DocTypeSignatureRequest, DocTypeSignatureRequest16, DocTypeSignatureSigned, DocTypeSignatureSigned16, DocTypeTasks, DocTypeTasks16, DocTypeTrust, DocTypeTrust16, DocTypeVideo, DocTypeVideo16, DocTypeWord, DocTypeWord16, DocTypeWord16Shortcut, DocTypeZip, DocTypeZip16, Drawer, DrawerMenu, Dropdown, EmailSentIcon, EmptyState, Fax16Icon, FeeEntry16Icon, FooterActions, FormBody, FormContainer, FormGroup, FormHeader, Grid, HeaderToolbar, HomeIcon, HyperLink16Icon, Icon, IconButton, ImageUpload, Input, InputLabel, InsertLinkIcon, LawconnectIcon, LeapLegsLogo, LeapLogo, List, ListItem, ListItemAvatar, ListItemHoverContent, ListItemIcon, ListItemText, ListSubheader, Loader, LoaderIcon$1 as LoaderIcon, ManualEntry24Icon, ManualEntryFilled24Icon, ManualEntryIconDarkTheme, ManualEntryIconLightTheme, MatterFolderRibbonIcon, Memo16Icon, Menu, MenuHeader, MenuIcon, MenuItem, Modal, ModalActions, ModalContent, ModalTitle, MoreVerticalIcon, NewAppointmentIcon, NewEntryRibbonIcons as NewEntryRibbonIcon, Pagination, PhoneCall16Icon, Popover, PowerIcon, PoweredByLawconnectLogo, PrecedentNotification16Icon, PreviewIcon, ProgressBar, Radio, RadioGroup, ReportingIcon, ResponseIcon, RevokeAccessIcon, RibbonButton, RibbonButtonGroup, ScannedDoc16Icon, SearchIcon, SelectFilterEmptyIcon, SelectFilterFilledIcon, SelectFilterIcon, SharedFolder16Icon, SidebarLayout, Sms16Icon, SpinnerIcon$1 as SpinnerIcon, StartTimerDarkTheme16, StartTimerLightTheme16, StepNavigation, StopTimerDarkTheme16, StopTimerLightTheme16, SvgCheckboxChecked, SvgCheckboxIndeterminate, SvgCheckboxUncontrolled, SvgFormSearch, SvgNewAppointment, SvgRadioChecked, SvgRadioDefault, Switch, Tab, TabListItem, Table, TableBody, TableCell, TableCellIcon, TableContainer, TableFooter, TableHead, TableRow, Tabs, Tag, TaxInvoice162Icon, TaxInvoice16Icon, ThemeProvider, TickIcon, TimeEntry16Icon, TimedEntry16Icon, Timer24Icon, TimerFilled24Icon, Toolbar, ToolbarButton, Tooltip, TrustStatement16Icon, TwoColumnLayout, Typography, UnkwownType16Icon as UnknownType16Icon, UserLinkIcon, UserLockIcon, UsersIcon, Video16Icon, VideoCall16Icon, VoiceMemo16Icon, Zyphta16Icon, createFilterOptions, iconsPath, theme$3 as themeDesktop, theme$1 as themeWeb };
|
|
19302
19416
|
//# sourceMappingURL=index.esm.js.map
|