ish-ui 1.0.19 → 1.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/actions/FieldProcessing.d.ts +10 -0
- package/dist/actions/FieldProcessing.js +17 -0
- package/dist/actions/index.d.ts +1 -0
- package/dist/actions/index.js +8 -0
- package/dist/appBar/AppBarHelpMenu.d.ts +3 -0
- package/dist/appBar/AppBarHelpMenu.js +77 -0
- package/dist/appBar/index.d.ts +2 -0
- package/dist/appBar/index.js +9 -0
- package/dist/buttons/AddButton.d.ts +14 -0
- package/dist/buttons/AddButton.js +9 -0
- package/dist/buttons/TimetableButton.d.ts +3 -0
- package/dist/buttons/TimetableButton.js +12 -0
- package/dist/buttons/index.d.ts +4 -0
- package/dist/buttons/index.js +11 -0
- package/dist/colorPicker/ColorPicker.d.ts +4 -0
- package/dist/colorPicker/ColorPicker.js +138 -0
- package/dist/colorPicker/index.d.ts +2 -0
- package/dist/colorPicker/index.js +9 -0
- package/dist/dialog/BrowserWarning.d.ts +3 -0
- package/dist/dialog/BrowserWarning.js +16 -0
- package/dist/dialog/confirm/ConfirmBase.d.ts +7 -0
- package/dist/dialog/confirm/ConfirmBase.js +29 -0
- package/dist/dialog/index.d.ts +5 -0
- package/dist/dialog/index.js +12 -0
- package/dist/dialog/message/Message.d.ts +3 -0
- package/dist/dialog/message/Message.js +91 -0
- package/dist/documents/DocumentIconsChooser.d.ts +3 -0
- package/dist/documents/DocumentIconsChooser.js +51 -0
- package/dist/documents/index.d.ts +3 -0
- package/dist/documents/index.js +10 -0
- package/dist/documents/utils/index.d.ts +7 -0
- package/dist/documents/utils/index.js +61 -0
- package/dist/dynamicSizeList/DynamicSizeList.d.ts +17 -0
- package/dist/dynamicSizeList/DynamicSizeList.js +167 -0
- package/dist/dynamicSizeList/index.d.ts +2 -0
- package/dist/dynamicSizeList/index.js +9 -0
- package/dist/fieldMessage/ErrorMessage.d.ts +8 -0
- package/dist/fieldMessage/ErrorMessage.js +14 -0
- package/dist/fieldMessage/WarningMessage.d.ts +8 -0
- package/dist/fieldMessage/WarningMessage.js +14 -0
- package/dist/fieldMessage/index.d.ts +6 -0
- package/dist/fieldMessage/index.js +13 -0
- package/dist/fieldMessage/styles.d.ts +3 -0
- package/dist/fieldMessage/styles.js +18 -0
- package/dist/fileUploader/FileUploaderDialog.d.ts +15 -0
- package/dist/fileUploader/FileUploaderDialog.js +99 -0
- package/dist/fileUploader/index.d.ts +2 -0
- package/dist/fileUploader/index.js +9 -0
- package/dist/formFields/CheckboxField.d.ts +7 -0
- package/dist/formFields/CheckboxField.js +67 -0
- package/dist/formFields/CodeEditorField.d.ts +6 -0
- package/dist/formFields/CodeEditorField.js +69 -0
- package/dist/formFields/ColoredCheckBox.d.ts +3 -0
- package/dist/formFields/ColoredCheckBox.js +41 -0
- package/dist/formFields/DateTimeField.d.ts +2 -0
- package/dist/formFields/DateTimeField.js +27 -0
- package/dist/formFields/EditInPlaceDateTimeField.d.ts +10 -0
- package/dist/formFields/EditInPlaceDateTimeField.js +188 -0
- package/dist/formFields/EditInPlaceDurationField.d.ts +4 -0
- package/dist/formFields/EditInPlaceDurationField.js +63 -0
- package/dist/formFields/EditInPlaceField.d.ts +10 -0
- package/dist/formFields/EditInPlaceField.js +58 -0
- package/dist/formFields/EditInPlaceFieldBase.d.ts +28 -0
- package/dist/formFields/EditInPlaceFieldBase.js +123 -0
- package/dist/formFields/EditInPlaceFileField.d.ts +7 -0
- package/dist/formFields/EditInPlaceFileField.js +60 -0
- package/dist/formFields/EditInPlaceMoneyField.d.ts +9 -0
- package/dist/formFields/EditInPlaceMoneyField.js +37 -0
- package/dist/formFields/EditInPlacePhoneField.d.ts +4 -0
- package/dist/formFields/EditInPlacePhoneField.js +69 -0
- package/dist/formFields/EditInPlaceSearchSelect.d.ts +4 -0
- package/dist/formFields/EditInPlaceSearchSelect.js +321 -0
- package/dist/formFields/FieldAdornments.d.ts +13 -0
- package/dist/formFields/FieldAdornments.js +27 -0
- package/dist/formFields/FilePreview.d.ts +17 -0
- package/dist/formFields/FilePreview.js +77 -0
- package/dist/formFields/FormRadioButtons.d.ts +3 -0
- package/dist/formFields/FormRadioButtons.js +27 -0
- package/dist/formFields/SelectCustomComponents.d.ts +5 -0
- package/dist/formFields/SelectCustomComponents.js +182 -0
- package/dist/formFields/Switch.d.ts +7 -0
- package/dist/formFields/Switch.js +116 -0
- package/dist/formFields/TextField.d.ts +6 -0
- package/dist/formFields/TextField.js +42 -0
- package/dist/formFields/UneditableBase.d.ts +17 -0
- package/dist/formFields/UneditableBase.js +48 -0
- package/dist/formFields/index.d.ts +31 -0
- package/dist/formFields/index.js +38 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +25 -0
- package/dist/layout/InfoPill.d.ts +7 -0
- package/dist/layout/InfoPill.js +26 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.js +11 -0
- package/dist/layout/resizable/ResizableWrapper.d.ts +14 -0
- package/dist/layout/resizable/ResizableWrapper.js +42 -0
- package/dist/markdownEditor/HtmlEditor.d.ts +15 -0
- package/dist/markdownEditor/HtmlEditor.js +18 -0
- package/dist/markdownEditor/WysiwygEditor.d.ts +8 -0
- package/dist/markdownEditor/WysiwygEditor.js +98 -0
- package/dist/markdownEditor/index.d.ts +5 -0
- package/dist/markdownEditor/index.js +12 -0
- package/dist/markdownEditor/utils/index.d.ts +9 -0
- package/dist/markdownEditor/utils/index.js +38 -0
- package/dist/model/AppBar.d.ts +11 -0
- package/dist/model/AppBar.js +8 -0
- package/dist/model/CommomObjects.d.ts +5 -0
- package/dist/model/CommomObjects.js +1 -0
- package/dist/model/CommonFunctions.d.ts +8 -0
- package/dist/model/CommonFunctions.js +5 -0
- package/dist/model/Confirm.d.ts +16 -0
- package/dist/model/Confirm.js +8 -0
- package/dist/model/Fields.d.ts +258 -0
- package/dist/model/Fields.js +8 -0
- package/dist/model/NestedEntity.d.ts +9 -0
- package/dist/model/NestedEntity.js +5 -0
- package/dist/model/Theme.d.ts +34 -0
- package/dist/model/Theme.js +18 -0
- package/dist/model/index.d.ts +7 -0
- package/dist/model/index.js +14 -0
- package/dist/styles/GlobalStylesProvider.d.ts +3 -0
- package/dist/styles/GlobalStylesProvider.js +417 -0
- package/dist/styles/StylesProviderCustom.d.ts +3 -0
- package/dist/styles/StylesProviderCustom.js +6 -0
- package/dist/styles/animateStyles.d.ts +3 -0
- package/dist/styles/animateStyles.js +33 -0
- package/dist/styles/bootstrap.d.ts +491 -0
- package/dist/styles/bootstrap.js +496 -0
- package/dist/styles/hooks.d.ts +6 -0
- package/dist/styles/hooks.js +38 -0
- package/dist/styles/index.d.ts +11 -0
- package/dist/styles/index.js +18 -0
- package/dist/styles/makeStyles.d.ts +3 -0
- package/dist/styles/makeStyles.js +9 -0
- package/dist/styles/mixins/common.d.ts +8 -0
- package/dist/styles/mixins/common.js +32 -0
- package/dist/styles/mixins/keyframes.d.ts +3 -0
- package/dist/styles/mixins/keyframes.js +9 -0
- package/dist/styles/mixins/prefixer.d.ts +1 -0
- package/dist/styles/mixins/prefixer.js +23 -0
- package/dist/tagsInput/AddTagMenu.d.ts +12 -0
- package/dist/tagsInput/AddTagMenu.js +36 -0
- package/dist/tagsInput/AddTagMenuItem.d.ts +11 -0
- package/dist/tagsInput/AddTagMenuItem.js +29 -0
- package/dist/tagsInput/TagInputList.d.ts +4 -0
- package/dist/tagsInput/TagInputList.js +273 -0
- package/dist/tagsInput/index.d.ts +6 -0
- package/dist/tagsInput/index.js +6 -0
- package/dist/themes/appTheme.d.ts +4 -0
- package/dist/themes/appTheme.js +322 -0
- package/dist/themes/index.d.ts +2 -0
- package/dist/themes/index.js +9 -0
- package/dist/themes/ishTheme.d.ts +8 -0
- package/dist/themes/ishTheme.js +351 -0
- package/dist/timetable/datePeriodFilter/DayPeriodIcons.d.ts +8 -0
- package/dist/timetable/datePeriodFilter/DayPeriodIcons.js +27 -0
- package/dist/timetable/datePeriodFilter/index.d.ts +1 -0
- package/dist/timetable/datePeriodFilter/index.js +8 -0
- package/dist/timetable/index.d.ts +2 -0
- package/dist/timetable/index.js +9 -0
- package/dist/timetable/miniCalendar/CalendarDay.d.ts +15 -0
- package/dist/timetable/miniCalendar/CalendarDay.js +64 -0
- package/dist/timetable/miniCalendar/CalendarHeader.d.ts +10 -0
- package/dist/timetable/miniCalendar/CalendarHeader.js +22 -0
- package/dist/timetable/miniCalendar/CalendarWeekPanel.d.ts +8 -0
- package/dist/timetable/miniCalendar/CalendarWeekPanel.js +18 -0
- package/dist/timetable/miniCalendar/WeekDay.d.ts +10 -0
- package/dist/timetable/miniCalendar/WeekDay.js +25 -0
- package/dist/timetable/miniCalendar/index.d.ts +8 -0
- package/dist/timetable/miniCalendar/index.js +15 -0
- package/dist/utils/DOM/Links.d.ts +1 -0
- package/dist/utils/DOM/Links.js +12 -0
- package/dist/utils/DOM/getCaretCoordinates.d.ts +6 -0
- package/dist/utils/DOM/getCaretCoordinates.js +109 -0
- package/dist/utils/DOM/getOS.d.ts +2 -0
- package/dist/utils/DOM/getOS.js +32 -0
- package/dist/utils/DOM/index.d.ts +5 -0
- package/dist/utils/DOM/index.js +32 -0
- package/dist/utils/dates/datesNormalizing.d.ts +1 -0
- package/dist/utils/dates/datesNormalizing.js +3 -0
- package/dist/utils/dates/format.d.ts +24 -0
- package/dist/utils/dates/format.js +28 -0
- package/dist/utils/dates/formatRelative.d.ts +1 -0
- package/dist/utils/dates/formatRelative.js +14 -0
- package/dist/utils/dates/formatString.d.ts +2 -0
- package/dist/utils/dates/formatString.js +195 -0
- package/dist/utils/dates/formatTimezone.d.ts +2 -0
- package/dist/utils/dates/formatTimezone.js +35 -0
- package/dist/utils/dates/index.d.ts +6 -0
- package/dist/utils/dates/index.js +13 -0
- package/dist/utils/dates/timetable.d.ts +5 -0
- package/dist/utils/dates/timetable.js +38 -0
- package/dist/utils/events/index.d.ts +2 -0
- package/dist/utils/events/index.js +6 -0
- package/dist/utils/fields/index.d.ts +1 -0
- package/dist/utils/fields/index.js +20 -0
- package/dist/utils/formatting/PhoneMasks.d.ts +304 -0
- package/dist/utils/formatting/PhoneMasks.js +318 -0
- package/dist/utils/formatting/index.d.ts +2 -0
- package/dist/utils/formatting/index.js +10 -0
- package/dist/utils/hooks/index.d.ts +1 -0
- package/dist/utils/hooks/index.js +15 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/numbers/decimalCalculation.d.ts +4 -0
- package/dist/utils/numbers/decimalCalculation.js +21 -0
- package/dist/utils/numbers/index.d.ts +2 -0
- package/dist/utils/numbers/index.js +9 -0
- package/dist/utils/numbers/numbersNormalizing.d.ts +10 -0
- package/dist/utils/numbers/numbersNormalizing.js +44 -0
- package/dist/utils/stubs/index.d.ts +3 -0
- package/dist/utils/stubs/index.js +10 -0
- package/dist/utils/tags/index.d.ts +3 -0
- package/dist/utils/tags/index.js +42 -0
- package/package.json +1 -1
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright ish group pty ltd. All rights reserved. https://www.ish.com.au
|
|
3
|
+
* No copying or use of this code is allowed without permission in writing from ish.
|
|
4
|
+
*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { alpha, darken } from '@mui/material/styles';
|
|
7
|
+
import createStyles from '@mui/styles/createStyles';
|
|
8
|
+
import withStyles from '@mui/styles/withStyles';
|
|
9
|
+
import InterRomanVar from '../../assets/fonts/inter/Inter-Roman.var.woff2';
|
|
10
|
+
import InterItalicVar from '../../assets/fonts/inter/Inter-Roman.var.woff2';
|
|
11
|
+
import { animateStyles } from './animateStyles';
|
|
12
|
+
import { bootstrap } from './bootstrap';
|
|
13
|
+
import getOS from '../utils/DOM/getOS';
|
|
14
|
+
const customOSScrollbars = getOS() === 'Windows'
|
|
15
|
+
? {
|
|
16
|
+
'::-webkit-scrollbar': {
|
|
17
|
+
width: 8,
|
|
18
|
+
height: 8,
|
|
19
|
+
backgroundColor: 'rgba(0,0,0,0)',
|
|
20
|
+
'-webkit-border-radius': '100px'
|
|
21
|
+
},
|
|
22
|
+
'::-webkit-scrollbar:hover': {
|
|
23
|
+
backgroundColor: 'rgba(0, 0, 0, 0.09)'
|
|
24
|
+
},
|
|
25
|
+
'::-webkit-scrollbar-thumb': {
|
|
26
|
+
background: 'rgba(0,0,0,0.5)',
|
|
27
|
+
'-webkit-border-radius': '100px'
|
|
28
|
+
},
|
|
29
|
+
'::-webkit-scrollbar-thumb:active': {
|
|
30
|
+
background: 'rgba(0,0,0,0.61)',
|
|
31
|
+
'-webkit-border-radius': '100px'
|
|
32
|
+
},
|
|
33
|
+
'::-webkit-scrollbar-thumb:vertical': {
|
|
34
|
+
minHeight: 10
|
|
35
|
+
},
|
|
36
|
+
'::-webkit-scrollbar-thumb:horizontal': {
|
|
37
|
+
minWidth: 10
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
: {};
|
|
41
|
+
const globalStyles = (theme) => createStyles({
|
|
42
|
+
'@global': Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, theme.palette.mode === 'dark' ? { 'a': { color: '#90caf9' } } : {}), { '@font-face': [
|
|
43
|
+
{
|
|
44
|
+
fontFamily: 'Inter',
|
|
45
|
+
fontWeight: '100 900',
|
|
46
|
+
fontDisplay: 'swap',
|
|
47
|
+
fontStyle: 'normal',
|
|
48
|
+
fallbacks: [
|
|
49
|
+
{ src: `local('Inter'), url(${InterRomanVar}) format("woff2")` }
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
fontFamily: 'Inter',
|
|
54
|
+
fontWeight: '100 900',
|
|
55
|
+
fontDisplay: 'swap',
|
|
56
|
+
fontStyle: 'italic',
|
|
57
|
+
fallbacks: [
|
|
58
|
+
{ src: `local('Inter'), url(${InterItalicVar}) format("woff2")` }
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
], '.appFrame': {
|
|
62
|
+
position: 'relative',
|
|
63
|
+
height: '100vh',
|
|
64
|
+
background: theme.palette.background.default,
|
|
65
|
+
flex: 1,
|
|
66
|
+
maxWidth: '100%'
|
|
67
|
+
}, '.activeAvatar': {
|
|
68
|
+
color: theme.palette.primary.contrastText,
|
|
69
|
+
backgroundColor: theme.palette.primary.main,
|
|
70
|
+
}, '.root': {
|
|
71
|
+
position: 'relative',
|
|
72
|
+
display: 'flex',
|
|
73
|
+
width: '100%',
|
|
74
|
+
height: '100vh',
|
|
75
|
+
overflowY: 'hidden'
|
|
76
|
+
}, '.container': {
|
|
77
|
+
display: 'flex',
|
|
78
|
+
flexWrap: 'wrap'
|
|
79
|
+
}, '.codeArea': {
|
|
80
|
+
borderRadius: theme.shape.borderRadius,
|
|
81
|
+
background: theme.table.contrastRow.main,
|
|
82
|
+
padding: theme.spacing(1),
|
|
83
|
+
border: 'none',
|
|
84
|
+
outline: 'none',
|
|
85
|
+
whiteSpace: 'nowrap',
|
|
86
|
+
overflow: 'hidden',
|
|
87
|
+
textOverflow: 'ellipsis',
|
|
88
|
+
fontSize: 'inherit',
|
|
89
|
+
fontFamily: 'inherit',
|
|
90
|
+
color: 'inherit',
|
|
91
|
+
width: '100%'
|
|
92
|
+
}, '.appBarContainer': {
|
|
93
|
+
marginTop: theme.spacing(8),
|
|
94
|
+
height: `calc(100vh - ${theme.spacing(8)})`,
|
|
95
|
+
overflowY: 'auto'
|
|
96
|
+
}, '.card': {
|
|
97
|
+
marginBottom: '20px',
|
|
98
|
+
padding: '20px',
|
|
99
|
+
minWidth: '800px'
|
|
100
|
+
}, '.saveButtonTableOffset': {
|
|
101
|
+
marginBottom: theme.spacing(8)
|
|
102
|
+
}, '.editViewHeadingOffset': {
|
|
103
|
+
marginTop: `-${theme.spacing(2)}`
|
|
104
|
+
}, '.cardBorders': {
|
|
105
|
+
borderRadius: theme.spacing(1),
|
|
106
|
+
border: '2px solid',
|
|
107
|
+
borderColor: alpha(theme.palette.text.disabled, 0.1),
|
|
108
|
+
}, '.heading': {
|
|
109
|
+
textTransform: 'uppercase',
|
|
110
|
+
fontFamily: theme.typography.fontFamily,
|
|
111
|
+
fontSize: theme.typography.fontSize,
|
|
112
|
+
fontWeight: 'bold',
|
|
113
|
+
color: theme.heading.color,
|
|
114
|
+
lineHeight: 1.22
|
|
115
|
+
}, '.secondaryHeading': {
|
|
116
|
+
textTransform: 'uppercase',
|
|
117
|
+
fontFamily: theme.typography.fontFamily,
|
|
118
|
+
fontSize: theme.typography.fontSize - 2,
|
|
119
|
+
fontWeight: 600,
|
|
120
|
+
color: theme.heading.color,
|
|
121
|
+
lineHeight: 1.45
|
|
122
|
+
}, '.normalHeading': {
|
|
123
|
+
fontFamily: theme.typography.fontFamily,
|
|
124
|
+
fontSize: theme.typography.fontSize,
|
|
125
|
+
fontWeight: 600,
|
|
126
|
+
color: theme.heading.color,
|
|
127
|
+
lineHeight: 1.45
|
|
128
|
+
}, '.headingHover': {
|
|
129
|
+
cursor: 'pointer',
|
|
130
|
+
willChange: 'color',
|
|
131
|
+
'&:hover': {
|
|
132
|
+
color: darken(theme.heading.color, 0.4),
|
|
133
|
+
}
|
|
134
|
+
}, '.checkbox': {
|
|
135
|
+
height: '35px',
|
|
136
|
+
display: 'block',
|
|
137
|
+
whiteSpace: 'nowrap',
|
|
138
|
+
overflow: 'hidden',
|
|
139
|
+
textOverflow: 'ellipsis'
|
|
140
|
+
}, '.checkboxWidth': {
|
|
141
|
+
width: '35px'
|
|
142
|
+
}, '.placeholderContent': {
|
|
143
|
+
color: theme.palette.divider,
|
|
144
|
+
fill: theme.palette.divider,
|
|
145
|
+
fontWeight: 400,
|
|
146
|
+
}, '.link': {
|
|
147
|
+
color: 'inherit',
|
|
148
|
+
textDecoration: 'none'
|
|
149
|
+
}, '.listItemPadding': {
|
|
150
|
+
padding: theme.spacing(0.75, 3),
|
|
151
|
+
minHeight: 'unset'
|
|
152
|
+
}, '.appBarFab': {
|
|
153
|
+
top: '31px',
|
|
154
|
+
backgroundColor: 'black'
|
|
155
|
+
}, '.payslipButton': {
|
|
156
|
+
'&:hover': {
|
|
157
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1)
|
|
158
|
+
}
|
|
159
|
+
}, '.moreOptions': {
|
|
160
|
+
boxShadow: theme.shadows[0],
|
|
161
|
+
color: theme.palette.primary.contrastText,
|
|
162
|
+
backgroundColor: theme.palette.primary.main,
|
|
163
|
+
'&:hover': {
|
|
164
|
+
color: theme.palette.primary.contrastText,
|
|
165
|
+
backgroundColor: alpha(theme.palette.primary.main, 0.9)
|
|
166
|
+
},
|
|
167
|
+
margin: theme.spacing(0, 1)
|
|
168
|
+
}, '.moreOptionsDisabled': {
|
|
169
|
+
color: `${theme.palette.grey[500]} !important`,
|
|
170
|
+
backgroundColor: `${theme.palette.grey[300]} !important`
|
|
171
|
+
}, '.saveButtonEditView': {
|
|
172
|
+
whiteSpace: 'nowrap',
|
|
173
|
+
boxShadow: theme.shadows[2],
|
|
174
|
+
'&:hover': {
|
|
175
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1)
|
|
176
|
+
},
|
|
177
|
+
margin: theme.spacing(1)
|
|
178
|
+
}, '.saveButtonEditViewDisabled': {
|
|
179
|
+
color: `${theme.palette.grey[500]} !important`,
|
|
180
|
+
backgroundColor: `${theme.palette.grey[300]} !important`
|
|
181
|
+
}, '.integrationsButton': {
|
|
182
|
+
'&:hover': {
|
|
183
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1)
|
|
184
|
+
}
|
|
185
|
+
}, '.licencesUpgradeButton': {
|
|
186
|
+
'&:hover': {
|
|
187
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1)
|
|
188
|
+
}
|
|
189
|
+
}, '.closeAppBarButton': {
|
|
190
|
+
color: theme.appBarButton.close.color
|
|
191
|
+
}, '.whiteAppBarButton': {
|
|
192
|
+
color: theme.palette.primary.main,
|
|
193
|
+
backgroundColor: theme.palette.primary.contrastText,
|
|
194
|
+
marginLeft: theme.spacing(1),
|
|
195
|
+
'&:hover': {
|
|
196
|
+
color: theme.palette.primary.main,
|
|
197
|
+
backgroundColor: alpha(theme.palette.primary.contrastText, 0.9)
|
|
198
|
+
}
|
|
199
|
+
}, '.whiteAppBarButtonDisabled': {
|
|
200
|
+
color: `${theme.palette.primary.main} !important`,
|
|
201
|
+
backgroundColor: `${alpha(theme.palette.primary.contrastText, 0.3)} !important`
|
|
202
|
+
}, '.avetmissButton': {
|
|
203
|
+
'&:hover': {
|
|
204
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1),
|
|
205
|
+
color: theme.palette.primary.contrastText
|
|
206
|
+
}
|
|
207
|
+
}, '.hoverGrayIcon': {
|
|
208
|
+
'&:hover': {
|
|
209
|
+
fill: theme.palette.action.hover
|
|
210
|
+
}
|
|
211
|
+
}, '.dndActionIconButton': {
|
|
212
|
+
'&:hover .dndActionIcon': {
|
|
213
|
+
fill: theme.palette.action.active
|
|
214
|
+
}
|
|
215
|
+
}, '.dndActionIcon': {
|
|
216
|
+
fill: theme.palette.action.focus,
|
|
217
|
+
'&:hover': {
|
|
218
|
+
fill: theme.palette.action.active
|
|
219
|
+
}
|
|
220
|
+
}, '.fitSmallWidth': {
|
|
221
|
+
[theme.breakpoints.down('xs')]: {
|
|
222
|
+
maxWidth: 'calc(100% - 48px)'
|
|
223
|
+
}
|
|
224
|
+
}, '.inputAdornmentButton': {
|
|
225
|
+
width: '16px',
|
|
226
|
+
height: '16px',
|
|
227
|
+
bottom: '1px',
|
|
228
|
+
padding: 0,
|
|
229
|
+
'&:hover .placeholderContent': {
|
|
230
|
+
fill: theme.palette.primary.main,
|
|
231
|
+
color: theme.palette.primary.main,
|
|
232
|
+
fontWeight: 400,
|
|
233
|
+
}
|
|
234
|
+
}, '.inputAdornmentIcon': {
|
|
235
|
+
fontSize: theme.spacing(2),
|
|
236
|
+
}, '.switchLabel': {
|
|
237
|
+
marginRight: 'auto',
|
|
238
|
+
paddingRight: theme.spacing(2),
|
|
239
|
+
paddingTop: '1px',
|
|
240
|
+
fontSize: '14px'
|
|
241
|
+
}, '.switchWrapper': {
|
|
242
|
+
flexDirection: 'row-reverse',
|
|
243
|
+
justifyContent: 'space-between',
|
|
244
|
+
marginLeft: 0
|
|
245
|
+
}, '.switchLabelMargin': {
|
|
246
|
+
marginRight: '100px'
|
|
247
|
+
}, '.addButtonColor': {
|
|
248
|
+
color: theme.addButtonColor.color
|
|
249
|
+
}, '.labelOffset': {
|
|
250
|
+
marginLeft: '-14px'
|
|
251
|
+
}, '.listEditViewOffset': {
|
|
252
|
+
paddingRight: theme.spacing(8)
|
|
253
|
+
}, '.inlineIcon': {
|
|
254
|
+
marginTop: '2px',
|
|
255
|
+
fontSize: '0.875rem',
|
|
256
|
+
marginLeft: '0.2rem'
|
|
257
|
+
}, '.editInPlaceIcon': {
|
|
258
|
+
// visibility: "hidden",
|
|
259
|
+
fontSize: '14px',
|
|
260
|
+
color: theme.palette.divider,
|
|
261
|
+
verticalAlign: 'middle',
|
|
262
|
+
}, '.coloredHover': {
|
|
263
|
+
'&:hover': {
|
|
264
|
+
color: theme.palette.primary.main
|
|
265
|
+
}
|
|
266
|
+
}, '.submitButton': {
|
|
267
|
+
backgroundColor: theme.palette.primary.main,
|
|
268
|
+
color: theme.palette.primary.contrastText
|
|
269
|
+
}, '.documentsSubmitButton': {
|
|
270
|
+
backgroundColor: theme.palette.primary.main,
|
|
271
|
+
color: theme.palette.primary.contrastText,
|
|
272
|
+
'&:hover': {
|
|
273
|
+
backgroundColor: darken(theme.palette.primary.main, 0.1),
|
|
274
|
+
color: theme.palette.primary.contrastText
|
|
275
|
+
}
|
|
276
|
+
}, '.errorColor': {
|
|
277
|
+
color: theme.palette.error.light
|
|
278
|
+
}, '.errorBackgroundColor': {
|
|
279
|
+
backgroundColor: theme.palette.error.light
|
|
280
|
+
}, '.errorColorFade-0-2': {
|
|
281
|
+
color: alpha(theme.palette.error.light, 0.2)
|
|
282
|
+
}, '.errorContrastColor': {
|
|
283
|
+
color: theme.palette.error.contrastText
|
|
284
|
+
}, '.primaryColor': {
|
|
285
|
+
color: theme.palette.primary.main
|
|
286
|
+
}, '.secondaryColor': {
|
|
287
|
+
color: theme.palette.secondary.main
|
|
288
|
+
}, '.warningColor': {
|
|
289
|
+
color: theme.palette.warning.light
|
|
290
|
+
}, '.successColor': {
|
|
291
|
+
color: theme.palette.success.light
|
|
292
|
+
}, '.successBackgroundColor': {
|
|
293
|
+
backgroundColor: theme.palette.success.light
|
|
294
|
+
}, '.primaryContarstText': {
|
|
295
|
+
color: theme.palette.primary.contrastText
|
|
296
|
+
}, '.primaryContarstHover': {
|
|
297
|
+
'&:hover': {
|
|
298
|
+
color: theme.palette.primary.contrastText
|
|
299
|
+
}
|
|
300
|
+
}, '.primaryContarstUnderline': {
|
|
301
|
+
'&:after': {
|
|
302
|
+
borderBottomColor: theme.palette.primary.contrastText
|
|
303
|
+
}
|
|
304
|
+
}, '.defaultBackgroundColor': {
|
|
305
|
+
backgroundColor: theme.appBar.header.background
|
|
306
|
+
}, '.paperBackgroundColor': {
|
|
307
|
+
background: theme.palette.background.paper
|
|
308
|
+
}, '.paperTextColor': {
|
|
309
|
+
color: theme.palette.background.paper
|
|
310
|
+
}, '.fullHeightWithoutAppBar': {
|
|
311
|
+
height: 'calc(100vh - 64px)'
|
|
312
|
+
}, '.linkDecoration': {
|
|
313
|
+
cursor: 'pointer',
|
|
314
|
+
'&:hover': {
|
|
315
|
+
textDecoration: 'underline',
|
|
316
|
+
color: theme.palette.secondary.main
|
|
317
|
+
}
|
|
318
|
+
}, '.graySmallFont12': {
|
|
319
|
+
color: theme.statistics.rightColumn.color,
|
|
320
|
+
fontSize: '12px'
|
|
321
|
+
}, '.smallIconButton': {
|
|
322
|
+
width: theme.spacing(4),
|
|
323
|
+
height: theme.spacing(4),
|
|
324
|
+
padding: theme.spacing(0.5)
|
|
325
|
+
}, '.lightGrayIconButton': {
|
|
326
|
+
color: alpha(theme.palette.text.primary, 0.2),
|
|
327
|
+
fontSize: '18px',
|
|
328
|
+
width: theme.spacing(4),
|
|
329
|
+
height: theme.spacing(4),
|
|
330
|
+
padding: theme.spacing(1)
|
|
331
|
+
}, '.lightGrayColor': {
|
|
332
|
+
color: alpha(theme.palette.text.primary, 0.2),
|
|
333
|
+
}, '.noRecordsMessage': {
|
|
334
|
+
color: theme.palette.grey[400],
|
|
335
|
+
flex: 1,
|
|
336
|
+
justifyContent: 'center',
|
|
337
|
+
alignItems: 'center',
|
|
338
|
+
display: 'flex'
|
|
339
|
+
}, '.textPrimaryColor': {
|
|
340
|
+
color: theme.palette.text.primary
|
|
341
|
+
}, '.textSecondaryColor': {
|
|
342
|
+
color: theme.palette.text.secondary
|
|
343
|
+
}, '.textGreyColor700': {
|
|
344
|
+
color: theme.palette.text.grey
|
|
345
|
+
}, '.iconColor': {
|
|
346
|
+
color: theme.palette.text.secondary,
|
|
347
|
+
marginLeft: theme.spacing(1)
|
|
348
|
+
}, '.money': {
|
|
349
|
+
fontFeatureSettings: '"tnum", "zero"'
|
|
350
|
+
}, '.closeAndClearButton': {
|
|
351
|
+
padding: theme.spacing(1)
|
|
352
|
+
}, '.appHeaderFontSize': {
|
|
353
|
+
fontSize: '1.125rem'
|
|
354
|
+
}, '.backgroundText': {
|
|
355
|
+
fontSize: theme.spacing(10),
|
|
356
|
+
textTransform: 'uppercase',
|
|
357
|
+
position: 'absolute',
|
|
358
|
+
top: '210px',
|
|
359
|
+
left: 0,
|
|
360
|
+
right: 0,
|
|
361
|
+
bottom: 0,
|
|
362
|
+
zIndex: 0,
|
|
363
|
+
display: 'flex',
|
|
364
|
+
justifyContent: 'center',
|
|
365
|
+
alignItems: 'center',
|
|
366
|
+
transform: 'rotate(-35deg)',
|
|
367
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
368
|
+
userSelect: 'none',
|
|
369
|
+
height: '200px'
|
|
370
|
+
}, '.summaryTopBorder': {
|
|
371
|
+
borderTop: `1px solid ${theme.palette.text.primary}`
|
|
372
|
+
}, '.selectedItemArrow': {
|
|
373
|
+
[theme.breakpoints.up('md')]: {
|
|
374
|
+
'&::after, &::before': {
|
|
375
|
+
content: '""',
|
|
376
|
+
position: 'absolute',
|
|
377
|
+
top: '50%'
|
|
378
|
+
},
|
|
379
|
+
'&::after': {
|
|
380
|
+
borderTop: '25px solid transparent',
|
|
381
|
+
borderRight: `25px solid ${theme.palette.background.default}`,
|
|
382
|
+
borderBottom: '25px solid transparent',
|
|
383
|
+
transform: 'translateY(-50%)',
|
|
384
|
+
right: -33,
|
|
385
|
+
zIndex: 1
|
|
386
|
+
},
|
|
387
|
+
'&::before': {
|
|
388
|
+
borderTop: `1px solid ${theme.palette.divider}`,
|
|
389
|
+
borderRight: '1px solid transparent',
|
|
390
|
+
borderLeft: `1px solid ${theme.palette.divider}`,
|
|
391
|
+
transform: 'translateY(-50%) rotate(-45deg)',
|
|
392
|
+
right: -50,
|
|
393
|
+
zIndex: 2,
|
|
394
|
+
padding: 17
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}, '.selectItmeIcon': {
|
|
398
|
+
fontSize: '16px',
|
|
399
|
+
position: 'relative',
|
|
400
|
+
bottom: '-3px'
|
|
401
|
+
}, '.hoverIconContainer': {
|
|
402
|
+
'&:hover .hoverIcon': {
|
|
403
|
+
color: 'inherit',
|
|
404
|
+
visibility: 'visible',
|
|
405
|
+
}
|
|
406
|
+
}, '.gridTemplateColumns-1fr': {
|
|
407
|
+
gridTemplateColumns: 'minmax(0, 1fr) auto'
|
|
408
|
+
}, '.gridAutoFlow-column': {
|
|
409
|
+
gridAutoFlow: 'column'
|
|
410
|
+
}, '.dotsBackgroundImage': {
|
|
411
|
+
backgroundImage: `radial-gradient(${alpha(theme.palette.primary.main, 0.5)} 1.5px, transparent 1.5px),radial-gradient(${alpha(theme.palette.primary.main, 0.5)} 1.5px, transparent 1.5px)`,
|
|
412
|
+
backgroundPosition: '5px 4px, 20px 18px',
|
|
413
|
+
backgroundSize: '30px 30px',
|
|
414
|
+
} }), bootstrap(theme)), customOSScrollbars), animateStyles)
|
|
415
|
+
});
|
|
416
|
+
const GlobalStylesProvider = props => React.createElement("div", null, props.children);
|
|
417
|
+
export default withStyles(globalStyles, { index: 10000 })(GlobalStylesProvider);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StylesProvider, createGenerateClassName } from '@mui/styles';
|
|
3
|
+
const generateClassName = createGenerateClassName({
|
|
4
|
+
disableGlobal: true
|
|
5
|
+
});
|
|
6
|
+
export default props => React.createElement(StylesProvider, { generateClassName: generateClassName }, props.children);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright ish group pty ltd. All rights reserved. https://www.ish.com.au
|
|
3
|
+
* No copying or use of this code is allowed without permission in writing from ish.
|
|
4
|
+
*/
|
|
5
|
+
import { transform } from './mixins/common';
|
|
6
|
+
import { keyframes } from './mixins/keyframes';
|
|
7
|
+
import { prefixer } from './mixins/prefixer';
|
|
8
|
+
// const duration = "AnimationDuration";
|
|
9
|
+
export const animateStyles = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ '.animated': Object.assign(Object.assign({}, prefixer('animationDuration', '1s', ['webkit', 'spec'])), prefixer('animationFillMode', 'both', ['webkit', 'spec'])) }, keyframes('bounceInRight', {
|
|
10
|
+
'from, 60%, 75%, 90%, to': Object.assign({}, prefixer('animationTimingFunction', 'cubic-bezier(0.215, 0.61, 0.355, 1)', ['webkit', 'spec'])),
|
|
11
|
+
from: Object.assign({ opacity: 0 }, transform('translate3d(3000px, 0, 0)')),
|
|
12
|
+
'60%': Object.assign({ opacity: 1 }, transform('translate3d(-25px, 0, 0)')),
|
|
13
|
+
'75%': Object.assign({}, transform('translate3d(10px, 0, 0)')),
|
|
14
|
+
'90%': Object.assign({}, transform('translate3d(-5px, 0, 0)')),
|
|
15
|
+
to: Object.assign({}, transform('translate3d(0, 0, 0)'))
|
|
16
|
+
})), keyframes('bounceOutLeft', {
|
|
17
|
+
'20%': Object.assign({ opacity: 1 }, transform('translate3d(20px, 0, 0)')),
|
|
18
|
+
to: Object.assign({ opacity: 0 }, transform('translate3d(-2000px, 0, 0)'))
|
|
19
|
+
})), keyframes('bounceOutLeftCustom', {
|
|
20
|
+
from: Object.assign(Object.assign({}, transform('translate3d(-80px, 0, 0)')), prefixer('animationDuration', '0.5s', ['webkit', 'spec'])),
|
|
21
|
+
to: Object.assign(Object.assign({}, transform('translate3d(0px, 0, 0)')), prefixer('animationDuration', '0s', ['webkit', 'spec']))
|
|
22
|
+
})), keyframes('bounceOutRightCustom', {
|
|
23
|
+
from: Object.assign(Object.assign({}, transform('translate3d(80px, 0, 0)')), prefixer('animationDuration', '0.5s', ['webkit', 'spec'])),
|
|
24
|
+
to: Object.assign(Object.assign({}, transform('translate3d(0px, 0, 0)')), prefixer('animationDuration', '0s', ['webkit', 'spec']))
|
|
25
|
+
})), keyframes('rotateOutCustom', {
|
|
26
|
+
from: Object.assign({}, prefixer('transform-origin', 'center', ['webkit', 'spec'])),
|
|
27
|
+
to: Object.assign(Object.assign({}, transform('rotate3d(0, 0, 1, 720deg)')), prefixer('transform-origin', 'center', ['webkit', 'spec']))
|
|
28
|
+
}, Object.assign({}, prefixer('animationDuration', '2.5s', ['webkit', 'spec'])))), keyframes('shake', {
|
|
29
|
+
'10%, 90%': Object.assign({}, transform('translate3d(-2px, 0, 0)')),
|
|
30
|
+
'20%, 80%': Object.assign({}, transform('translate3d(4px, 0, 0)')),
|
|
31
|
+
'30%, 50%, 70%': Object.assign({}, transform('translate3d(-6px, 0, 0)')),
|
|
32
|
+
'40%, 60%': Object.assign({}, transform('translate3d(6px, 0, 0)')),
|
|
33
|
+
}));
|