ish-ui 1.0.14 → 1.0.16

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.
Files changed (217) hide show
  1. package/README.md +2 -1
  2. package/ish-ui.iml +8 -0
  3. package/package.json +4 -7
  4. package/dist/actions/FieldProcessing.d.ts +0 -10
  5. package/dist/actions/FieldProcessing.js +0 -17
  6. package/dist/actions/index.d.ts +0 -1
  7. package/dist/actions/index.js +0 -8
  8. package/dist/appBar/AppBarHelpMenu.d.ts +0 -3
  9. package/dist/appBar/AppBarHelpMenu.js +0 -77
  10. package/dist/appBar/index.d.ts +0 -2
  11. package/dist/appBar/index.js +0 -9
  12. package/dist/buttons/AddButton.d.ts +0 -14
  13. package/dist/buttons/AddButton.js +0 -9
  14. package/dist/buttons/TimetableButton.d.ts +0 -3
  15. package/dist/buttons/TimetableButton.js +0 -12
  16. package/dist/buttons/index.d.ts +0 -4
  17. package/dist/buttons/index.js +0 -11
  18. package/dist/colorPicker/ColorPicker.d.ts +0 -11
  19. package/dist/colorPicker/ColorPicker.js +0 -132
  20. package/dist/colorPicker/index.d.ts +0 -2
  21. package/dist/colorPicker/index.js +0 -9
  22. package/dist/dialog/BrowserWarning.d.ts +0 -3
  23. package/dist/dialog/BrowserWarning.js +0 -16
  24. package/dist/dialog/confirm/ConfirmBase.d.ts +0 -7
  25. package/dist/dialog/confirm/ConfirmBase.js +0 -29
  26. package/dist/dialog/index.d.ts +0 -5
  27. package/dist/dialog/index.js +0 -12
  28. package/dist/dialog/message/Message.d.ts +0 -3
  29. package/dist/dialog/message/Message.js +0 -91
  30. package/dist/documents/DocumentIconsChooser.d.ts +0 -3
  31. package/dist/documents/DocumentIconsChooser.js +0 -51
  32. package/dist/documents/index.d.ts +0 -3
  33. package/dist/documents/index.js +0 -10
  34. package/dist/documents/utils/index.d.ts +0 -7
  35. package/dist/documents/utils/index.js +0 -61
  36. package/dist/dynamicSizeList/DynamicSizeList.d.ts +0 -17
  37. package/dist/dynamicSizeList/DynamicSizeList.js +0 -167
  38. package/dist/dynamicSizeList/index.d.ts +0 -2
  39. package/dist/dynamicSizeList/index.js +0 -9
  40. package/dist/fieldMessage/ErrorMessage.d.ts +0 -8
  41. package/dist/fieldMessage/ErrorMessage.js +0 -14
  42. package/dist/fieldMessage/WarningMessage.d.ts +0 -8
  43. package/dist/fieldMessage/WarningMessage.js +0 -14
  44. package/dist/fieldMessage/index.d.ts +0 -6
  45. package/dist/fieldMessage/index.js +0 -13
  46. package/dist/fieldMessage/styles.d.ts +0 -3
  47. package/dist/fieldMessage/styles.js +0 -18
  48. package/dist/fileUploader/FileUploaderDialog.d.ts +0 -15
  49. package/dist/fileUploader/FileUploaderDialog.js +0 -99
  50. package/dist/fileUploader/index.d.ts +0 -2
  51. package/dist/fileUploader/index.js +0 -9
  52. package/dist/formFields/CheckboxField.d.ts +0 -7
  53. package/dist/formFields/CheckboxField.js +0 -67
  54. package/dist/formFields/CodeEditorField.d.ts +0 -6
  55. package/dist/formFields/CodeEditorField.js +0 -69
  56. package/dist/formFields/ColoredCheckBox.d.ts +0 -3
  57. package/dist/formFields/ColoredCheckBox.js +0 -41
  58. package/dist/formFields/DateTimeField.d.ts +0 -2
  59. package/dist/formFields/DateTimeField.js +0 -27
  60. package/dist/formFields/EditInPlaceDateTimeField.d.ts +0 -10
  61. package/dist/formFields/EditInPlaceDateTimeField.js +0 -188
  62. package/dist/formFields/EditInPlaceDurationField.d.ts +0 -4
  63. package/dist/formFields/EditInPlaceDurationField.js +0 -63
  64. package/dist/formFields/EditInPlaceField.d.ts +0 -10
  65. package/dist/formFields/EditInPlaceField.js +0 -58
  66. package/dist/formFields/EditInPlaceFieldBase.d.ts +0 -28
  67. package/dist/formFields/EditInPlaceFieldBase.js +0 -123
  68. package/dist/formFields/EditInPlaceFileField.d.ts +0 -7
  69. package/dist/formFields/EditInPlaceFileField.js +0 -60
  70. package/dist/formFields/EditInPlaceMoneyField.d.ts +0 -9
  71. package/dist/formFields/EditInPlaceMoneyField.js +0 -37
  72. package/dist/formFields/EditInPlacePhoneField.d.ts +0 -4
  73. package/dist/formFields/EditInPlacePhoneField.js +0 -69
  74. package/dist/formFields/EditInPlaceSearchSelect.d.ts +0 -4
  75. package/dist/formFields/EditInPlaceSearchSelect.js +0 -321
  76. package/dist/formFields/FieldAdornments.d.ts +0 -13
  77. package/dist/formFields/FieldAdornments.js +0 -27
  78. package/dist/formFields/FilePreview.d.ts +0 -17
  79. package/dist/formFields/FilePreview.js +0 -77
  80. package/dist/formFields/FormRadioButtons.d.ts +0 -3
  81. package/dist/formFields/FormRadioButtons.js +0 -27
  82. package/dist/formFields/SelectCustomComponents.d.ts +0 -5
  83. package/dist/formFields/SelectCustomComponents.js +0 -182
  84. package/dist/formFields/Switch.d.ts +0 -7
  85. package/dist/formFields/Switch.js +0 -116
  86. package/dist/formFields/TextField.d.ts +0 -6
  87. package/dist/formFields/TextField.js +0 -42
  88. package/dist/formFields/UneditableBase.d.ts +0 -17
  89. package/dist/formFields/UneditableBase.js +0 -48
  90. package/dist/formFields/index.d.ts +0 -31
  91. package/dist/formFields/index.js +0 -38
  92. package/dist/index.d.ts +0 -18
  93. package/dist/index.js +0 -25
  94. package/dist/layout/InfoPill.d.ts +0 -7
  95. package/dist/layout/InfoPill.js +0 -26
  96. package/dist/layout/index.d.ts +0 -4
  97. package/dist/layout/index.js +0 -11
  98. package/dist/layout/resizable/ResizableWrapper.d.ts +0 -14
  99. package/dist/layout/resizable/ResizableWrapper.js +0 -42
  100. package/dist/markdownEditor/HtmlEditor.d.ts +0 -15
  101. package/dist/markdownEditor/HtmlEditor.js +0 -18
  102. package/dist/markdownEditor/WysiwygEditor.d.ts +0 -8
  103. package/dist/markdownEditor/WysiwygEditor.js +0 -100
  104. package/dist/markdownEditor/index.d.ts +0 -5
  105. package/dist/markdownEditor/index.js +0 -12
  106. package/dist/markdownEditor/utils/index.d.ts +0 -9
  107. package/dist/markdownEditor/utils/index.js +0 -38
  108. package/dist/model/AppBar.d.ts +0 -11
  109. package/dist/model/AppBar.js +0 -8
  110. package/dist/model/CommomObjects.d.ts +0 -5
  111. package/dist/model/CommomObjects.js +0 -1
  112. package/dist/model/CommonFunctions.d.ts +0 -8
  113. package/dist/model/CommonFunctions.js +0 -5
  114. package/dist/model/Confirm.d.ts +0 -16
  115. package/dist/model/Confirm.js +0 -8
  116. package/dist/model/Fields.d.ts +0 -250
  117. package/dist/model/Fields.js +0 -8
  118. package/dist/model/NestedEntity.d.ts +0 -9
  119. package/dist/model/NestedEntity.js +0 -5
  120. package/dist/model/Theme.d.ts +0 -34
  121. package/dist/model/Theme.js +0 -18
  122. package/dist/model/index.d.ts +0 -7
  123. package/dist/model/index.js +0 -14
  124. package/dist/styles/GlobalStylesProvider.d.ts +0 -3
  125. package/dist/styles/GlobalStylesProvider.js +0 -417
  126. package/dist/styles/StylesProviderCustom.d.ts +0 -3
  127. package/dist/styles/StylesProviderCustom.js +0 -6
  128. package/dist/styles/animateStyles.d.ts +0 -3
  129. package/dist/styles/animateStyles.js +0 -33
  130. package/dist/styles/bootstrap.d.ts +0 -491
  131. package/dist/styles/bootstrap.js +0 -496
  132. package/dist/styles/hooks.d.ts +0 -6
  133. package/dist/styles/hooks.js +0 -38
  134. package/dist/styles/index.d.ts +0 -11
  135. package/dist/styles/index.js +0 -18
  136. package/dist/styles/makeStyles.d.ts +0 -3
  137. package/dist/styles/makeStyles.js +0 -9
  138. package/dist/styles/mixins/common.d.ts +0 -8
  139. package/dist/styles/mixins/common.js +0 -32
  140. package/dist/styles/mixins/keyframes.d.ts +0 -3
  141. package/dist/styles/mixins/keyframes.js +0 -9
  142. package/dist/styles/mixins/prefixer.d.ts +0 -1
  143. package/dist/styles/mixins/prefixer.js +0 -23
  144. package/dist/tagsInput/AddTagMenu.d.ts +0 -12
  145. package/dist/tagsInput/AddTagMenu.js +0 -36
  146. package/dist/tagsInput/AddTagMenuItem.d.ts +0 -11
  147. package/dist/tagsInput/AddTagMenuItem.js +0 -29
  148. package/dist/tagsInput/TagInputList.d.ts +0 -4
  149. package/dist/tagsInput/TagInputList.js +0 -273
  150. package/dist/tagsInput/index.d.ts +0 -6
  151. package/dist/tagsInput/index.js +0 -6
  152. package/dist/themes/appTheme.d.ts +0 -4
  153. package/dist/themes/appTheme.js +0 -322
  154. package/dist/themes/index.d.ts +0 -2
  155. package/dist/themes/index.js +0 -9
  156. package/dist/themes/ishTheme.d.ts +0 -8
  157. package/dist/themes/ishTheme.js +0 -351
  158. package/dist/timetable/datePeriodFilter/DayPeriodIcons.d.ts +0 -8
  159. package/dist/timetable/datePeriodFilter/DayPeriodIcons.js +0 -27
  160. package/dist/timetable/datePeriodFilter/index.d.ts +0 -1
  161. package/dist/timetable/datePeriodFilter/index.js +0 -8
  162. package/dist/timetable/index.d.ts +0 -2
  163. package/dist/timetable/index.js +0 -9
  164. package/dist/timetable/miniCalendar/CalendarDay.d.ts +0 -15
  165. package/dist/timetable/miniCalendar/CalendarDay.js +0 -64
  166. package/dist/timetable/miniCalendar/CalendarHeader.d.ts +0 -10
  167. package/dist/timetable/miniCalendar/CalendarHeader.js +0 -22
  168. package/dist/timetable/miniCalendar/CalendarWeekPanel.d.ts +0 -8
  169. package/dist/timetable/miniCalendar/CalendarWeekPanel.js +0 -18
  170. package/dist/timetable/miniCalendar/WeekDay.d.ts +0 -10
  171. package/dist/timetable/miniCalendar/WeekDay.js +0 -25
  172. package/dist/timetable/miniCalendar/index.d.ts +0 -8
  173. package/dist/timetable/miniCalendar/index.js +0 -15
  174. package/dist/utils/DOM/Links.d.ts +0 -1
  175. package/dist/utils/DOM/Links.js +0 -12
  176. package/dist/utils/DOM/getCaretCoordinates.d.ts +0 -6
  177. package/dist/utils/DOM/getCaretCoordinates.js +0 -109
  178. package/dist/utils/DOM/getOS.d.ts +0 -2
  179. package/dist/utils/DOM/getOS.js +0 -32
  180. package/dist/utils/DOM/index.d.ts +0 -5
  181. package/dist/utils/DOM/index.js +0 -32
  182. package/dist/utils/dates/datesNormalizing.d.ts +0 -1
  183. package/dist/utils/dates/datesNormalizing.js +0 -3
  184. package/dist/utils/dates/format.d.ts +0 -24
  185. package/dist/utils/dates/format.js +0 -28
  186. package/dist/utils/dates/formatRelative.d.ts +0 -1
  187. package/dist/utils/dates/formatRelative.js +0 -14
  188. package/dist/utils/dates/formatString.d.ts +0 -2
  189. package/dist/utils/dates/formatString.js +0 -195
  190. package/dist/utils/dates/formatTimezone.d.ts +0 -2
  191. package/dist/utils/dates/formatTimezone.js +0 -35
  192. package/dist/utils/dates/index.d.ts +0 -6
  193. package/dist/utils/dates/index.js +0 -13
  194. package/dist/utils/dates/timetable.d.ts +0 -5
  195. package/dist/utils/dates/timetable.js +0 -38
  196. package/dist/utils/events/index.d.ts +0 -2
  197. package/dist/utils/events/index.js +0 -6
  198. package/dist/utils/fields/index.d.ts +0 -1
  199. package/dist/utils/fields/index.js +0 -20
  200. package/dist/utils/formatting/PhoneMasks.d.ts +0 -304
  201. package/dist/utils/formatting/PhoneMasks.js +0 -318
  202. package/dist/utils/formatting/index.d.ts +0 -2
  203. package/dist/utils/formatting/index.js +0 -10
  204. package/dist/utils/hooks/index.d.ts +0 -1
  205. package/dist/utils/hooks/index.js +0 -15
  206. package/dist/utils/index.d.ts +0 -9
  207. package/dist/utils/index.js +0 -16
  208. package/dist/utils/numbers/decimalCalculation.d.ts +0 -4
  209. package/dist/utils/numbers/decimalCalculation.js +0 -21
  210. package/dist/utils/numbers/index.d.ts +0 -2
  211. package/dist/utils/numbers/index.js +0 -9
  212. package/dist/utils/numbers/numbersNormalizing.d.ts +0 -10
  213. package/dist/utils/numbers/numbersNormalizing.js +0 -44
  214. package/dist/utils/stubs/index.d.ts +0 -3
  215. package/dist/utils/stubs/index.js +0 -10
  216. package/dist/utils/tags/index.d.ts +0 -3
  217. package/dist/utils/tags/index.js +0 -42
@@ -1,496 +0,0 @@
1
- /*
2
- * Copyright ish group pty ltd 2022.
3
- *
4
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
5
- *
6
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
7
- */
8
- import { alpha } from '@mui/material/styles';
9
- import { prefixer } from './mixins/prefixer';
10
- export const bootstrap = (theme) => ({
11
- strong: {
12
- fontWeight: 'bold'
13
- },
14
- '.fontWeight-normal': {
15
- fontWeight: 'normal'
16
- },
17
- '.fontWeight600': {
18
- fontWeight: 600
19
- },
20
- '.text-bold': {
21
- fontWeight: theme.typography.fontWeightBold
22
- },
23
- '.text-bolder': {
24
- fontWeight: 'bolder'
25
- },
26
- '.fs2': {
27
- fontSize: theme.spacing(2)
28
- },
29
- '.fs3': {
30
- fontSize: theme.spacing(3)
31
- },
32
- '.fs4': {
33
- fontSize: theme.spacing(4)
34
- },
35
- '.fs8': {
36
- fontSize: theme.spacing(8)
37
- },
38
- '.fs10': {
39
- fontSize: theme.spacing(10)
40
- },
41
- '.fs19': {
42
- fontSize: theme.spacing(19)
43
- },
44
- '.fw300': {
45
- fontWeight: 300
46
- },
47
- '.fsInherit': {
48
- fontSize: 'inherit'
49
- },
50
- '.relative': {
51
- position: 'relative'
52
- },
53
- '.absolute': {
54
- position: 'absolute'
55
- },
56
- '.fixed': {
57
- position: 'fixed'
58
- },
59
- '.sticky': {
60
- position: 'sticky'
61
- },
62
- '.left-0': {
63
- left: 0
64
- },
65
- '.top-0': {
66
- top: 0
67
- },
68
- '.right-0': {
69
- right: 0
70
- },
71
- '.bottom-0': {
72
- bottom: 0
73
- },
74
- '.pt-10': {
75
- paddingTop: theme.spacing(10)
76
- },
77
- '.pr-6': {
78
- paddingRight: theme.spacing(6)
79
- },
80
- '.p-4': {
81
- padding: theme.spacing(4)
82
- },
83
- '.pr-4': {
84
- paddingRight: theme.spacing(4)
85
- },
86
- '.p-3': {
87
- padding: theme.spacing(3)
88
- },
89
- '.pt-3': {
90
- paddingTop: theme.spacing(3)
91
- },
92
- '.pl-3': {
93
- paddingLeft: theme.spacing(3)
94
- },
95
- '.pr-3': {
96
- paddingRight: theme.spacing(3)
97
- },
98
- '.pb-3': {
99
- paddingBottom: theme.spacing(3)
100
- },
101
- '.p-2': {
102
- padding: theme.spacing(2)
103
- },
104
- '.pl-2': {
105
- paddingLeft: theme.spacing(2)
106
- },
107
- '.pr-2': {
108
- paddingRight: theme.spacing(2)
109
- },
110
- '.pb-2': {
111
- paddingBottom: theme.spacing(2)
112
- },
113
- '.pt-2': {
114
- paddingTop: theme.spacing(2)
115
- },
116
- '.p-1': {
117
- padding: theme.spacing(1)
118
- },
119
- '.pt-1': {
120
- paddingTop: theme.spacing(1)
121
- },
122
- '.pb-1': {
123
- paddingBottom: theme.spacing(1)
124
- },
125
- '.pl-1': {
126
- paddingLeft: theme.spacing(1)
127
- },
128
- '.pr-1': {
129
- paddingRight: theme.spacing(1)
130
- },
131
- '.p-0-5': {
132
- padding: theme.spacing(0.5)
133
- },
134
- '.pl-0-5': {
135
- paddingLeft: theme.spacing(0.5)
136
- },
137
- '.pt-0-5': {
138
- paddingTop: theme.spacing(0.5)
139
- },
140
- '.pr-0-5': {
141
- paddingRight: theme.spacing(0.5)
142
- },
143
- '.pb-0-5': {
144
- paddingBottom: theme.spacing(0.5)
145
- },
146
- '.p-0': {
147
- padding: 0
148
- },
149
- '.pl-0': {
150
- paddingLeft: 0
151
- },
152
- '.pt-0': {
153
- paddingTop: 0
154
- },
155
- '.pr-0': {
156
- paddingRight: 0
157
- },
158
- '.pb-0': {
159
- paddingBottom: 0
160
- },
161
- '.m-3': {
162
- margin: theme.spacing(3)
163
- },
164
- '.mt-5': {
165
- marginTop: theme.spacing(5)
166
- },
167
- '.mt-4': {
168
- marginTop: theme.spacing(4)
169
- },
170
- '.mt-3': {
171
- marginTop: theme.spacing(3)
172
- },
173
- '.ml-3': {
174
- marginLeft: theme.spacing(3)
175
- },
176
- '.mr-5': {
177
- marginRight: theme.spacing(5)
178
- },
179
- '.mr-4': {
180
- marginRight: theme.spacing(4)
181
- },
182
- '.mr-3': {
183
- marginRight: theme.spacing(3)
184
- },
185
- '.mb-5': {
186
- marginBottom: theme.spacing(5)
187
- },
188
- '.mb-4': {
189
- marginBottom: theme.spacing(4)
190
- },
191
- '.mb-3': {
192
- marginBottom: theme.spacing(3)
193
- },
194
- '.m-2': {
195
- margin: theme.spacing(2)
196
- },
197
- '.mt-2': {
198
- marginTop: theme.spacing(2)
199
- },
200
- '.ml-2': {
201
- marginLeft: theme.spacing(2)
202
- },
203
- '.mr-2': {
204
- marginRight: theme.spacing(2)
205
- },
206
- '.mb-2': {
207
- marginBottom: theme.spacing(2)
208
- },
209
- '.m-1': {
210
- margin: theme.spacing(1)
211
- },
212
- '.mt-1': {
213
- marginTop: theme.spacing(1)
214
- },
215
- '.ml-1': {
216
- marginLeft: theme.spacing(1)
217
- },
218
- '.mr-1': {
219
- marginRight: theme.spacing(1)
220
- },
221
- '.mr-auto': {
222
- marginRight: 'auto'
223
- },
224
- '.ml-auto': {
225
- marginLeft: 'auto'
226
- },
227
- '.mb-1': {
228
- marginBottom: theme.spacing(1)
229
- },
230
- '.mt-0-5': {
231
- marginTop: theme.spacing(0.5)
232
- },
233
- '.mr-0-5': {
234
- marginRight: theme.spacing(0.5)
235
- },
236
- '.ml-0-5': {
237
- marginLeft: theme.spacing(0.5)
238
- },
239
- '.mb-0-5': {
240
- marginBottom: theme.spacing(0.5)
241
- },
242
- '.m-0': {
243
- margin: 0
244
- },
245
- '.mt-auto': {
246
- marginTop: 'auto'
247
- },
248
- '.mb-auto': {
249
- marginBottom: 'auto'
250
- },
251
- '.ml-0': {
252
- marginLeft: 0
253
- },
254
- '.mt-0': {
255
- marginTop: 0
256
- },
257
- '.mr-0': {
258
- marginRight: 0
259
- },
260
- '.mb-0': {
261
- marginBottom: 0
262
- },
263
- '.text-uppercase': {
264
- textTransform: 'uppercase'
265
- },
266
- '.overflow-visible': {
267
- overflow: 'visible'
268
- },
269
- '.overflow-hidden': {
270
- overflow: 'hidden'
271
- },
272
- '.overflow-x-hidden': {
273
- overflowX: 'hidden'
274
- },
275
- '.overflow-y-auto': {
276
- overflowY: 'auto'
277
- },
278
- '.overflow-auto': {
279
- overflow: 'auto'
280
- },
281
- '.overflow-initial': {
282
- overflow: 'initial'
283
- },
284
- '.d-block': {
285
- display: 'block'
286
- },
287
- '.d-inline': {
288
- display: 'inline'
289
- },
290
- '.d-inline-block': {
291
- display: 'inline-block'
292
- },
293
- '.d-grid': {
294
- display: 'grid'
295
- },
296
- '.d-flex': {
297
- display: 'flex'
298
- },
299
- '.d-inline-flex': {
300
- display: 'inline-flex'
301
- },
302
- '.flex-row': {
303
- display: 'flex',
304
- flexDirection: 'row'
305
- },
306
- '.flex-column': {
307
- display: 'flex',
308
- flexDirection: 'column'
309
- },
310
- '.centeredFlex': {
311
- display: 'flex',
312
- alignItems: 'center'
313
- },
314
- '.d-flex-start': {
315
- display: 'flex',
316
- alignItems: 'flex-start'
317
- },
318
- '.d-inline-flex-center': {
319
- display: 'inline-flex',
320
- alignItems: 'center'
321
- },
322
- '.d-none': {
323
- display: 'none'
324
- },
325
- '.flex-fill': {
326
- flex: 1
327
- },
328
- '.flex-nowrap': {
329
- flexWrap: 'nowrap'
330
- },
331
- '.flex-wrap': {
332
- flexWrap: 'wrap'
333
- },
334
- '.align-items-baseline': {
335
- alignItems: 'baseline'
336
- },
337
- '.align-items-center': {
338
- alignItems: 'center'
339
- },
340
- '.align-items-start': {
341
- alignItems: 'flex-start'
342
- },
343
- '.align-items-end': {
344
- alignItems: 'flex-end'
345
- },
346
- '.align-content-between': {
347
- alignContent: 'space-between'
348
- },
349
- '.align-content-start': {
350
- alignContent: 'flex-start'
351
- },
352
- '.justify-content-end': {
353
- justifyContent: 'flex-end'
354
- },
355
- '.justify-content-start': {
356
- justifyContent: 'flex-start'
357
- },
358
- '.justify-content-center': {
359
- justifyContent: 'center'
360
- },
361
- '.justify-content-space-between': {
362
- justifyContent: 'space-between'
363
- },
364
- '.outline-none': {
365
- outline: 'none'
366
- },
367
- '.disabled': {
368
- opacity: theme.palette.action.disabledOpacity,
369
- pointerEvents: 'none'
370
- },
371
- '.text-op065': {
372
- color: alpha(theme.palette.text.primary, 0.65),
373
- },
374
- '.text-op05': {
375
- color: alpha(theme.palette.text.primary, 0.5),
376
- },
377
- '.invisible': {
378
- visibility: 'hidden'
379
- },
380
- '.visible': {
381
- visibility: 'visible'
382
- },
383
- '.text-left': {
384
- textAlign: 'left'
385
- },
386
- '.text-center': {
387
- textAlign: 'center'
388
- },
389
- '.text-end': {
390
- textAlign: 'end'
391
- },
392
- '.text-disabled': {
393
- color: theme.palette.text.disabled
394
- },
395
- '.cursor-grab': {
396
- cursor: 'grab'
397
- },
398
- '.cursor-pointer': {
399
- cursor: 'pointer'
400
- },
401
- '.cursor-text': {
402
- cursor: 'text'
403
- },
404
- '.pointer-events-none': {
405
- pointerEvents: 'none'
406
- },
407
- '.text-truncate': {
408
- overflow: 'hidden',
409
- textOverflow: 'ellipsis'
410
- },
411
- '.text-nowrap': {
412
- whiteSpace: 'nowrap'
413
- },
414
- '.text-pre-wrap': {
415
- whiteSpace: 'pre-wrap'
416
- },
417
- '.text-pre-line': {
418
- whiteSpace: 'pre-line'
419
- },
420
- '.text-pre': {
421
- whiteSpace: 'pre'
422
- },
423
- '.text-break-spaces': {
424
- whiteSpace: 'break-spaces'
425
- },
426
- '.word-break-all': {
427
- wordBreak: 'break-all'
428
- },
429
- '.h-100': {
430
- height: '100%'
431
- },
432
- '.w-100': {
433
- width: '100%'
434
- },
435
- '.mw-100': {
436
- maxWidth: '100%'
437
- },
438
- '.w-50': {
439
- width: '50%'
440
- },
441
- '.mw-800': {
442
- maxWidth: theme.spacing(100)
443
- },
444
- '.mw-500': {
445
- maxWidth: theme.spacing(62.5)
446
- },
447
- '.mw-600': {
448
- maxWidth: theme.spacing(75)
449
- },
450
- '.mw-400': {
451
- maxWidth: theme.spacing(50)
452
- },
453
- '.text-reset': {
454
- color: 'inherit'
455
- },
456
- '.text-white': {
457
- color: '#fff'
458
- },
459
- '.zIndex1401': {
460
- zIndex: theme.zIndex.snackbar + 1
461
- },
462
- '.zIndex9': {
463
- zIndex: 9
464
- },
465
- '.zIndex2': {
466
- zIndex: 2
467
- },
468
- '.zIndex1': {
469
- zIndex: 1
470
- },
471
- '.zIndex0': {
472
- zIndex: 0
473
- },
474
- '.box-shadow-none': {
475
- boxShadow: 'none'
476
- },
477
- '.user-select-none': Object.assign({ WebkitTouchCallout: 'none', KhtmlUserSelect: 'none' }, prefixer('userSelect', 'none')),
478
- '.vert-align-mid': {
479
- verticalAlign: 'middle'
480
- },
481
- '.vert-align-bl': {
482
- verticalAlign: 'baseline'
483
- },
484
- '.grid-temp-col-3-fr': {
485
- gridTemplateColumns: '1fr 1fr 1fr'
486
- },
487
- '.grid-temp-col-2-fr': {
488
- gridTemplateColumns: '1fr 1fr'
489
- },
490
- '.lh-1': {
491
- lineHeight: 1,
492
- },
493
- '.text-decoration-underline': {
494
- textDecoration: 'underline',
495
- },
496
- });
@@ -1,6 +0,0 @@
1
- export declare const useHoverShowStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container" | "target">;
2
- export declare const useWindowSize: () => {
3
- width: any;
4
- height: any;
5
- };
6
- export declare const getColor: (i: any, code: any) => any;
@@ -1,38 +0,0 @@
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 { useEffect, useState } from 'react';
6
- import { makeStyles } from '@mui/styles';
7
- import * as Colors from '@mui/material/colors';
8
- export const useHoverShowStyles = makeStyles({
9
- container: {
10
- '&:hover $target': {
11
- visibility: 'visible'
12
- }
13
- },
14
- target: {
15
- visibility: 'hidden'
16
- }
17
- });
18
- export const useWindowSize = () => {
19
- const [windowSize, setWindowSize] = useState({
20
- width: undefined,
21
- height: undefined,
22
- });
23
- useEffect(() => {
24
- const handleResize = () => {
25
- setWindowSize({
26
- width: window.innerWidth,
27
- height: window.innerHeight,
28
- });
29
- };
30
- window.addEventListener('resize', handleResize);
31
- handleResize();
32
- return () => window.removeEventListener('resize', handleResize);
33
- }, []);
34
- return windowSize;
35
- };
36
- export const getColor = (i, code) => {
37
- return Colors[Object.keys(Colors)[i]][code];
38
- };
@@ -1,11 +0,0 @@
1
- export * from './mixins/keyframes';
2
- export * from './mixins/common';
3
- export * from './mixins/prefixer';
4
- export * from './animateStyles';
5
- export * from './bootstrap';
6
- export * from './GlobalStylesProvider';
7
- export { default as GlobalStylesProvider } from './GlobalStylesProvider';
8
- export * from './hooks';
9
- export * from './makeStyles';
10
- export * from './StylesProviderCustom';
11
- export { default as StylesProviderCustom } from './StylesProviderCustom';
@@ -1,18 +0,0 @@
1
- /*
2
- * Copyright ish group pty ltd 2023.
3
- *
4
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
5
- *
6
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
7
- */
8
- export * from './mixins/keyframes';
9
- export * from './mixins/common';
10
- export * from './mixins/prefixer';
11
- export * from './animateStyles';
12
- export * from './bootstrap';
13
- export * from './GlobalStylesProvider';
14
- export { default as GlobalStylesProvider } from './GlobalStylesProvider';
15
- export * from './hooks';
16
- export * from './makeStyles';
17
- export * from './StylesProviderCustom';
18
- export { default as StylesProviderCustom } from './StylesProviderCustom';
@@ -1,3 +0,0 @@
1
- import { Styles, WithStylesOptions, ClassNameMap } from '@mui/styles';
2
- import { AppTheme } from '../model';
3
- export declare const makeAppStyles: <Props extends object = {}, ClassKey extends string = string>(styles: Styles<AppTheme, Props, ClassKey>, options?: Omit<WithStylesOptions<AppTheme>, 'withTheme'>) => keyof Props extends never ? (props?: any) => ClassNameMap<ClassKey> : (props: Props) => ClassNameMap<ClassKey>;
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright ish group pty ltd 2021.
3
- *
4
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
5
- *
6
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
7
- */
8
- import { makeStyles } from '@mui/styles';
9
- export const makeAppStyles = (styles, options) => makeStyles(styles, options);
@@ -1,8 +0,0 @@
1
- export declare const transform: (value?: string) => {};
2
- export declare const transition: (theme: any, value?: string, options?: any) => {
3
- transition: string;
4
- willChange?: undefined;
5
- } | {
6
- willChange: string;
7
- transition: any;
8
- };
@@ -1,32 +0,0 @@
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 { prefixer } from './prefixer';
6
- export const transform = (value = 'none') => prefixer('transform', value);
7
- export const transition = (theme, value = 'none', options = null) => {
8
- const optionItems = options || {
9
- duration: theme.transitions.duration.standard,
10
- easing: theme.transitions.easing.easeInOut
11
- };
12
- if (value === 'none') {
13
- return {
14
- transition: 'none',
15
- };
16
- }
17
- if (value === 'all') {
18
- return {
19
- willChange: 'auto',
20
- transition: theme.transitions.create(value, optionItems),
21
- };
22
- }
23
- const values = value.split(',').map(v => v.trim());
24
- const transitionValue = [];
25
- values.forEach(v => {
26
- transitionValue.push(theme.transitions.create(v, optionItems));
27
- });
28
- return {
29
- willChange: value,
30
- transition: transitionValue.join(', ')
31
- };
32
- };
@@ -1,3 +0,0 @@
1
- export declare const keyframes: (name: any, content: any, otherStyle?: {}) => {
2
- [x: string]: any;
3
- };
@@ -1,9 +0,0 @@
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 { prefixer } from './prefixer';
6
- export const keyframes = (name, content, otherStyle = {}) => ({
7
- [`@keyframes ${name}`]: Object.assign({}, content),
8
- [`.${name}`]: Object.assign(Object.assign({}, prefixer('animationName', name, ['webkit', 'spec'])), otherStyle)
9
- });
@@ -1 +0,0 @@
1
- export declare const prefixer: (property: any, value: any, prefixes?: string[]) => {};
@@ -1,23 +0,0 @@
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
- export const prefixer = (property, value, prefixes = ['webkit', 'moz', 'ms', 'spec']) => {
6
- const prefixedItem = {};
7
- const propertyKey = property.charAt(0).toUpperCase() + property.slice(1);
8
- prefixes.forEach(item => {
9
- if (item === 'webkit') {
10
- prefixedItem[`Webkit${propertyKey}`] = value;
11
- }
12
- else if (item === 'moz') {
13
- prefixedItem[`Moz${propertyKey}`] = value;
14
- }
15
- else if (item === 'ms') {
16
- prefixedItem[`Ms${propertyKey}`] = value;
17
- }
18
- else if (item === 'spec') {
19
- prefixedItem[property] = value;
20
- }
21
- });
22
- return prefixedItem;
23
- };
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { MenuTag, TagLike } from '../model';
3
- interface Props<T> {
4
- classes?: any;
5
- allowParentSelect?: boolean;
6
- tags: MenuTag<T>[];
7
- handleAdd: (tag: MenuTag<T>) => void;
8
- activeTag: MenuTag<T>;
9
- setActiveTag: (arg: (MenuTag<T> | ((prevState: MenuTag<T>) => MenuTag<T>))) => void;
10
- }
11
- declare const _default: React.JSXElementConstructor<Omit<Props<TagLike>, "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"listItem" | "proceedIcon" | "backContainer" | "tagColorDotSmall"> & object>;
12
- export default _default;