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.
Files changed (215) hide show
  1. package/dist/actions/FieldProcessing.d.ts +10 -0
  2. package/dist/actions/FieldProcessing.js +17 -0
  3. package/dist/actions/index.d.ts +1 -0
  4. package/dist/actions/index.js +8 -0
  5. package/dist/appBar/AppBarHelpMenu.d.ts +3 -0
  6. package/dist/appBar/AppBarHelpMenu.js +77 -0
  7. package/dist/appBar/index.d.ts +2 -0
  8. package/dist/appBar/index.js +9 -0
  9. package/dist/buttons/AddButton.d.ts +14 -0
  10. package/dist/buttons/AddButton.js +9 -0
  11. package/dist/buttons/TimetableButton.d.ts +3 -0
  12. package/dist/buttons/TimetableButton.js +12 -0
  13. package/dist/buttons/index.d.ts +4 -0
  14. package/dist/buttons/index.js +11 -0
  15. package/dist/colorPicker/ColorPicker.d.ts +4 -0
  16. package/dist/colorPicker/ColorPicker.js +138 -0
  17. package/dist/colorPicker/index.d.ts +2 -0
  18. package/dist/colorPicker/index.js +9 -0
  19. package/dist/dialog/BrowserWarning.d.ts +3 -0
  20. package/dist/dialog/BrowserWarning.js +16 -0
  21. package/dist/dialog/confirm/ConfirmBase.d.ts +7 -0
  22. package/dist/dialog/confirm/ConfirmBase.js +29 -0
  23. package/dist/dialog/index.d.ts +5 -0
  24. package/dist/dialog/index.js +12 -0
  25. package/dist/dialog/message/Message.d.ts +3 -0
  26. package/dist/dialog/message/Message.js +91 -0
  27. package/dist/documents/DocumentIconsChooser.d.ts +3 -0
  28. package/dist/documents/DocumentIconsChooser.js +51 -0
  29. package/dist/documents/index.d.ts +3 -0
  30. package/dist/documents/index.js +10 -0
  31. package/dist/documents/utils/index.d.ts +7 -0
  32. package/dist/documents/utils/index.js +61 -0
  33. package/dist/dynamicSizeList/DynamicSizeList.d.ts +17 -0
  34. package/dist/dynamicSizeList/DynamicSizeList.js +167 -0
  35. package/dist/dynamicSizeList/index.d.ts +2 -0
  36. package/dist/dynamicSizeList/index.js +9 -0
  37. package/dist/fieldMessage/ErrorMessage.d.ts +8 -0
  38. package/dist/fieldMessage/ErrorMessage.js +14 -0
  39. package/dist/fieldMessage/WarningMessage.d.ts +8 -0
  40. package/dist/fieldMessage/WarningMessage.js +14 -0
  41. package/dist/fieldMessage/index.d.ts +6 -0
  42. package/dist/fieldMessage/index.js +13 -0
  43. package/dist/fieldMessage/styles.d.ts +3 -0
  44. package/dist/fieldMessage/styles.js +18 -0
  45. package/dist/fileUploader/FileUploaderDialog.d.ts +15 -0
  46. package/dist/fileUploader/FileUploaderDialog.js +99 -0
  47. package/dist/fileUploader/index.d.ts +2 -0
  48. package/dist/fileUploader/index.js +9 -0
  49. package/dist/formFields/CheckboxField.d.ts +7 -0
  50. package/dist/formFields/CheckboxField.js +67 -0
  51. package/dist/formFields/CodeEditorField.d.ts +6 -0
  52. package/dist/formFields/CodeEditorField.js +69 -0
  53. package/dist/formFields/ColoredCheckBox.d.ts +3 -0
  54. package/dist/formFields/ColoredCheckBox.js +41 -0
  55. package/dist/formFields/DateTimeField.d.ts +2 -0
  56. package/dist/formFields/DateTimeField.js +27 -0
  57. package/dist/formFields/EditInPlaceDateTimeField.d.ts +10 -0
  58. package/dist/formFields/EditInPlaceDateTimeField.js +188 -0
  59. package/dist/formFields/EditInPlaceDurationField.d.ts +4 -0
  60. package/dist/formFields/EditInPlaceDurationField.js +63 -0
  61. package/dist/formFields/EditInPlaceField.d.ts +10 -0
  62. package/dist/formFields/EditInPlaceField.js +58 -0
  63. package/dist/formFields/EditInPlaceFieldBase.d.ts +28 -0
  64. package/dist/formFields/EditInPlaceFieldBase.js +123 -0
  65. package/dist/formFields/EditInPlaceFileField.d.ts +7 -0
  66. package/dist/formFields/EditInPlaceFileField.js +60 -0
  67. package/dist/formFields/EditInPlaceMoneyField.d.ts +9 -0
  68. package/dist/formFields/EditInPlaceMoneyField.js +37 -0
  69. package/dist/formFields/EditInPlacePhoneField.d.ts +4 -0
  70. package/dist/formFields/EditInPlacePhoneField.js +69 -0
  71. package/dist/formFields/EditInPlaceSearchSelect.d.ts +4 -0
  72. package/dist/formFields/EditInPlaceSearchSelect.js +321 -0
  73. package/dist/formFields/FieldAdornments.d.ts +13 -0
  74. package/dist/formFields/FieldAdornments.js +27 -0
  75. package/dist/formFields/FilePreview.d.ts +17 -0
  76. package/dist/formFields/FilePreview.js +77 -0
  77. package/dist/formFields/FormRadioButtons.d.ts +3 -0
  78. package/dist/formFields/FormRadioButtons.js +27 -0
  79. package/dist/formFields/SelectCustomComponents.d.ts +5 -0
  80. package/dist/formFields/SelectCustomComponents.js +182 -0
  81. package/dist/formFields/Switch.d.ts +7 -0
  82. package/dist/formFields/Switch.js +116 -0
  83. package/dist/formFields/TextField.d.ts +6 -0
  84. package/dist/formFields/TextField.js +42 -0
  85. package/dist/formFields/UneditableBase.d.ts +17 -0
  86. package/dist/formFields/UneditableBase.js +48 -0
  87. package/dist/formFields/index.d.ts +31 -0
  88. package/dist/formFields/index.js +38 -0
  89. package/dist/index.d.ts +18 -0
  90. package/dist/index.js +25 -0
  91. package/dist/layout/InfoPill.d.ts +7 -0
  92. package/dist/layout/InfoPill.js +26 -0
  93. package/dist/layout/index.d.ts +4 -0
  94. package/dist/layout/index.js +11 -0
  95. package/dist/layout/resizable/ResizableWrapper.d.ts +14 -0
  96. package/dist/layout/resizable/ResizableWrapper.js +42 -0
  97. package/dist/markdownEditor/HtmlEditor.d.ts +15 -0
  98. package/dist/markdownEditor/HtmlEditor.js +18 -0
  99. package/dist/markdownEditor/WysiwygEditor.d.ts +8 -0
  100. package/dist/markdownEditor/WysiwygEditor.js +98 -0
  101. package/dist/markdownEditor/index.d.ts +5 -0
  102. package/dist/markdownEditor/index.js +12 -0
  103. package/dist/markdownEditor/utils/index.d.ts +9 -0
  104. package/dist/markdownEditor/utils/index.js +38 -0
  105. package/dist/model/AppBar.d.ts +11 -0
  106. package/dist/model/AppBar.js +8 -0
  107. package/dist/model/CommomObjects.d.ts +5 -0
  108. package/dist/model/CommomObjects.js +1 -0
  109. package/dist/model/CommonFunctions.d.ts +8 -0
  110. package/dist/model/CommonFunctions.js +5 -0
  111. package/dist/model/Confirm.d.ts +16 -0
  112. package/dist/model/Confirm.js +8 -0
  113. package/dist/model/Fields.d.ts +258 -0
  114. package/dist/model/Fields.js +8 -0
  115. package/dist/model/NestedEntity.d.ts +9 -0
  116. package/dist/model/NestedEntity.js +5 -0
  117. package/dist/model/Theme.d.ts +34 -0
  118. package/dist/model/Theme.js +18 -0
  119. package/dist/model/index.d.ts +7 -0
  120. package/dist/model/index.js +14 -0
  121. package/dist/styles/GlobalStylesProvider.d.ts +3 -0
  122. package/dist/styles/GlobalStylesProvider.js +417 -0
  123. package/dist/styles/StylesProviderCustom.d.ts +3 -0
  124. package/dist/styles/StylesProviderCustom.js +6 -0
  125. package/dist/styles/animateStyles.d.ts +3 -0
  126. package/dist/styles/animateStyles.js +33 -0
  127. package/dist/styles/bootstrap.d.ts +491 -0
  128. package/dist/styles/bootstrap.js +496 -0
  129. package/dist/styles/hooks.d.ts +6 -0
  130. package/dist/styles/hooks.js +38 -0
  131. package/dist/styles/index.d.ts +11 -0
  132. package/dist/styles/index.js +18 -0
  133. package/dist/styles/makeStyles.d.ts +3 -0
  134. package/dist/styles/makeStyles.js +9 -0
  135. package/dist/styles/mixins/common.d.ts +8 -0
  136. package/dist/styles/mixins/common.js +32 -0
  137. package/dist/styles/mixins/keyframes.d.ts +3 -0
  138. package/dist/styles/mixins/keyframes.js +9 -0
  139. package/dist/styles/mixins/prefixer.d.ts +1 -0
  140. package/dist/styles/mixins/prefixer.js +23 -0
  141. package/dist/tagsInput/AddTagMenu.d.ts +12 -0
  142. package/dist/tagsInput/AddTagMenu.js +36 -0
  143. package/dist/tagsInput/AddTagMenuItem.d.ts +11 -0
  144. package/dist/tagsInput/AddTagMenuItem.js +29 -0
  145. package/dist/tagsInput/TagInputList.d.ts +4 -0
  146. package/dist/tagsInput/TagInputList.js +273 -0
  147. package/dist/tagsInput/index.d.ts +6 -0
  148. package/dist/tagsInput/index.js +6 -0
  149. package/dist/themes/appTheme.d.ts +4 -0
  150. package/dist/themes/appTheme.js +322 -0
  151. package/dist/themes/index.d.ts +2 -0
  152. package/dist/themes/index.js +9 -0
  153. package/dist/themes/ishTheme.d.ts +8 -0
  154. package/dist/themes/ishTheme.js +351 -0
  155. package/dist/timetable/datePeriodFilter/DayPeriodIcons.d.ts +8 -0
  156. package/dist/timetable/datePeriodFilter/DayPeriodIcons.js +27 -0
  157. package/dist/timetable/datePeriodFilter/index.d.ts +1 -0
  158. package/dist/timetable/datePeriodFilter/index.js +8 -0
  159. package/dist/timetable/index.d.ts +2 -0
  160. package/dist/timetable/index.js +9 -0
  161. package/dist/timetable/miniCalendar/CalendarDay.d.ts +15 -0
  162. package/dist/timetable/miniCalendar/CalendarDay.js +64 -0
  163. package/dist/timetable/miniCalendar/CalendarHeader.d.ts +10 -0
  164. package/dist/timetable/miniCalendar/CalendarHeader.js +22 -0
  165. package/dist/timetable/miniCalendar/CalendarWeekPanel.d.ts +8 -0
  166. package/dist/timetable/miniCalendar/CalendarWeekPanel.js +18 -0
  167. package/dist/timetable/miniCalendar/WeekDay.d.ts +10 -0
  168. package/dist/timetable/miniCalendar/WeekDay.js +25 -0
  169. package/dist/timetable/miniCalendar/index.d.ts +8 -0
  170. package/dist/timetable/miniCalendar/index.js +15 -0
  171. package/dist/utils/DOM/Links.d.ts +1 -0
  172. package/dist/utils/DOM/Links.js +12 -0
  173. package/dist/utils/DOM/getCaretCoordinates.d.ts +6 -0
  174. package/dist/utils/DOM/getCaretCoordinates.js +109 -0
  175. package/dist/utils/DOM/getOS.d.ts +2 -0
  176. package/dist/utils/DOM/getOS.js +32 -0
  177. package/dist/utils/DOM/index.d.ts +5 -0
  178. package/dist/utils/DOM/index.js +32 -0
  179. package/dist/utils/dates/datesNormalizing.d.ts +1 -0
  180. package/dist/utils/dates/datesNormalizing.js +3 -0
  181. package/dist/utils/dates/format.d.ts +24 -0
  182. package/dist/utils/dates/format.js +28 -0
  183. package/dist/utils/dates/formatRelative.d.ts +1 -0
  184. package/dist/utils/dates/formatRelative.js +14 -0
  185. package/dist/utils/dates/formatString.d.ts +2 -0
  186. package/dist/utils/dates/formatString.js +195 -0
  187. package/dist/utils/dates/formatTimezone.d.ts +2 -0
  188. package/dist/utils/dates/formatTimezone.js +35 -0
  189. package/dist/utils/dates/index.d.ts +6 -0
  190. package/dist/utils/dates/index.js +13 -0
  191. package/dist/utils/dates/timetable.d.ts +5 -0
  192. package/dist/utils/dates/timetable.js +38 -0
  193. package/dist/utils/events/index.d.ts +2 -0
  194. package/dist/utils/events/index.js +6 -0
  195. package/dist/utils/fields/index.d.ts +1 -0
  196. package/dist/utils/fields/index.js +20 -0
  197. package/dist/utils/formatting/PhoneMasks.d.ts +304 -0
  198. package/dist/utils/formatting/PhoneMasks.js +318 -0
  199. package/dist/utils/formatting/index.d.ts +2 -0
  200. package/dist/utils/formatting/index.js +10 -0
  201. package/dist/utils/hooks/index.d.ts +1 -0
  202. package/dist/utils/hooks/index.js +15 -0
  203. package/dist/utils/index.d.ts +9 -0
  204. package/dist/utils/index.js +16 -0
  205. package/dist/utils/numbers/decimalCalculation.d.ts +4 -0
  206. package/dist/utils/numbers/decimalCalculation.js +21 -0
  207. package/dist/utils/numbers/index.d.ts +2 -0
  208. package/dist/utils/numbers/index.js +9 -0
  209. package/dist/utils/numbers/numbersNormalizing.d.ts +10 -0
  210. package/dist/utils/numbers/numbersNormalizing.js +44 -0
  211. package/dist/utils/stubs/index.d.ts +3 -0
  212. package/dist/utils/stubs/index.js +10 -0
  213. package/dist/utils/tags/index.d.ts +3 -0
  214. package/dist/utils/tags/index.js +42 -0
  215. package/package.json +1 -1
@@ -0,0 +1,496 @@
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
+ });
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,38 @@
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
+ };
@@ -0,0 +1,11 @@
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';
@@ -0,0 +1,18 @@
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';
@@ -0,0 +1,3 @@
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>;
@@ -0,0 +1,9 @@
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);
@@ -0,0 +1,8 @@
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
+ };
@@ -0,0 +1,32 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ export declare const keyframes: (name: any, content: any, otherStyle?: {}) => {
2
+ [x: string]: any;
3
+ };
@@ -0,0 +1,9 @@
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
+ });
@@ -0,0 +1 @@
1
+ export declare const prefixer: (property: any, value: any, prefixes?: string[]) => {};
@@ -0,0 +1,23 @@
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
+ };
@@ -0,0 +1,12 @@
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;