@iobroker/adapter-react-v5 2.1.5 → 2.1.9

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 (126) hide show
  1. package/Components/404.js +17 -25
  2. package/Components/404.js.map +1 -1
  3. package/Components/ColorPicker.js +25 -35
  4. package/Components/ColorPicker.js.map +1 -1
  5. package/Components/ComplexCron.js +29 -37
  6. package/Components/ComplexCron.js.map +1 -1
  7. package/Components/FileBrowser.js +41 -62
  8. package/Components/FileBrowser.js.map +1 -1
  9. package/Components/FileViewer.js +18 -28
  10. package/Components/FileViewer.js.map +1 -1
  11. package/Components/Icon.js +15 -25
  12. package/Components/Icon.js.map +1 -1
  13. package/Components/IconPicker.js +6 -6
  14. package/Components/IconPicker.js.map +1 -1
  15. package/Components/IconSelector.js +25 -31
  16. package/Components/IconSelector.js.map +1 -1
  17. package/Components/Image.js +15 -25
  18. package/Components/Image.js.map +1 -1
  19. package/Components/Loader.js +14 -24
  20. package/Components/Loader.js.map +1 -1
  21. package/Components/Loaders/PT.js +13 -23
  22. package/Components/Loaders/PT.js.map +1 -1
  23. package/Components/Loaders/Vendor.js +14 -24
  24. package/Components/Loaders/Vendor.js.map +1 -1
  25. package/Components/Logo.js +18 -28
  26. package/Components/Logo.js.map +1 -1
  27. package/Components/MDUtils.js +14 -11
  28. package/Components/MDUtils.js.map +1 -1
  29. package/Components/ObjectBrowser.js +133 -203
  30. package/Components/ObjectBrowser.js.map +1 -1
  31. package/Components/Router.js +13 -21
  32. package/Components/Router.js.map +1 -1
  33. package/Components/SaveCloseButtons.js +15 -25
  34. package/Components/SaveCloseButtons.js.map +1 -1
  35. package/Components/Schedule.js +23 -37
  36. package/Components/Schedule.js.map +1 -1
  37. package/Components/SelectWithIcon.js +18 -26
  38. package/Components/SelectWithIcon.js.map +1 -1
  39. package/Components/SimpleCron/cron2text.js.map +1 -1
  40. package/Components/SimpleCron/cronText.js +2 -2
  41. package/Components/SimpleCron/cronText.js.map +1 -1
  42. package/Components/SimpleCron/index.js +24 -34
  43. package/Components/SimpleCron/index.js.map +1 -1
  44. package/Components/SimpleCron/jquery.cron.locale.js.map +1 -1
  45. package/Components/TabContainer.js +18 -28
  46. package/Components/TabContainer.js.map +1 -1
  47. package/Components/TabContent.js +17 -27
  48. package/Components/TabContent.js.map +1 -1
  49. package/Components/TabHeader.js +13 -23
  50. package/Components/TabHeader.js.map +1 -1
  51. package/Components/TextWithIcon.js +5 -5
  52. package/Components/TextWithIcon.js.map +1 -1
  53. package/Components/ToggleThemeMenu.js +2 -2
  54. package/Components/ToggleThemeMenu.js.map +1 -1
  55. package/Components/TreeTable.js +21 -42
  56. package/Components/TreeTable.js.map +1 -1
  57. package/Components/Utils.js +34 -42
  58. package/Components/Utils.js.map +1 -1
  59. package/Components/copy-to-clipboard.js.map +1 -1
  60. package/Connection.js +3367 -0
  61. package/Connection.js.map +1 -0
  62. package/Dialogs/ComplexCron.js +15 -25
  63. package/Dialogs/ComplexCron.js.map +1 -1
  64. package/Dialogs/Confirm.js +15 -25
  65. package/Dialogs/Confirm.js.map +1 -1
  66. package/Dialogs/Cron.js +19 -27
  67. package/Dialogs/Cron.js.map +1 -1
  68. package/Dialogs/Error.js +15 -25
  69. package/Dialogs/Error.js.map +1 -1
  70. package/Dialogs/Message.js +15 -25
  71. package/Dialogs/Message.js.map +1 -1
  72. package/Dialogs/SelectID.js +19 -27
  73. package/Dialogs/SelectID.js.map +1 -1
  74. package/Dialogs/SimpleCron.js +15 -25
  75. package/Dialogs/SimpleCron.js.map +1 -1
  76. package/Dialogs/TextInput.js +18 -28
  77. package/Dialogs/TextInput.js.map +1 -1
  78. package/GenericApp.js +41 -50
  79. package/GenericApp.js.map +1 -1
  80. package/Prompt.js +21 -0
  81. package/Prompt.js.map +1 -0
  82. package/README.md +9 -1
  83. package/Theme.js +422 -0
  84. package/Theme.js.map +1 -0
  85. package/i18n/de.json +3 -3
  86. package/i18n/en.json +3 -3
  87. package/i18n/es.json +3 -3
  88. package/i18n/fr.json +3 -3
  89. package/i18n/it.json +3 -3
  90. package/i18n/nl.json +3 -3
  91. package/i18n/pl.json +3 -3
  92. package/i18n/pt.json +3 -3
  93. package/i18n/ru.json +3 -3
  94. package/i18n/zh-cn.json +3 -3
  95. package/i18n.js +180 -0
  96. package/i18n.js.map +1 -0
  97. package/icons/IconAdapter.js +2 -2
  98. package/icons/IconAdapter.js.map +1 -1
  99. package/icons/IconAlias.js +2 -2
  100. package/icons/IconAlias.js.map +1 -1
  101. package/icons/IconChannel.js +2 -2
  102. package/icons/IconChannel.js.map +1 -1
  103. package/icons/IconClearFilter.js +2 -2
  104. package/icons/IconClearFilter.js.map +1 -1
  105. package/icons/IconClosed.js +2 -2
  106. package/icons/IconClosed.js.map +1 -1
  107. package/icons/IconCopy.js +2 -2
  108. package/icons/IconCopy.js.map +1 -1
  109. package/icons/IconDevice.js +2 -2
  110. package/icons/IconDevice.js.map +1 -1
  111. package/icons/IconDocument.js +2 -2
  112. package/icons/IconDocument.js.map +1 -1
  113. package/icons/IconExpert.js +2 -2
  114. package/icons/IconExpert.js.map +1 -1
  115. package/icons/IconFx.js +2 -2
  116. package/icons/IconFx.js.map +1 -1
  117. package/icons/IconInstance.js +2 -2
  118. package/icons/IconInstance.js.map +1 -1
  119. package/icons/IconLogout.js +2 -2
  120. package/icons/IconLogout.js.map +1 -1
  121. package/icons/IconOpen.js +2 -2
  122. package/icons/IconOpen.js.map +1 -1
  123. package/icons/IconState.js +6 -6
  124. package/icons/IconState.js.map +1 -1
  125. package/package.json +11 -9
  126. package/gulpfile.js +0 -113
package/Theme.js ADDED
@@ -0,0 +1,422 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _styles = require("@mui/material/styles");
9
+
10
+ var _colors = require("@mui/material/colors");
11
+
12
+ var step = (16 - 5) / 23 / 100;
13
+ /**
14
+ * Convert hex color in the format '#rrggbb' or '#rgb' to an RGB object.
15
+ * @param {string} hex
16
+ * @returns {{r: number, g: number, b: number}}
17
+ */
18
+
19
+ function toInt(hex) {
20
+ var rgb = {
21
+ r: 0,
22
+ g: 0,
23
+ b: 0
24
+ };
25
+
26
+ if (hex.length === 7) {
27
+ rgb.r = parseInt(hex.substr(1, 2), 16);
28
+ rgb.g = parseInt(hex.substr(3, 2), 16);
29
+ rgb.b = parseInt(hex.substr(5, 2), 16);
30
+ } else if (hex.length === 4) {
31
+ var r = hex.substr(1, 1);
32
+ var g = hex.substr(2, 1);
33
+ var b = hex.substr(3, 1);
34
+ rgb.r = parseInt(r + r, 16);
35
+ rgb.g = parseInt(g + g, 16);
36
+ rgb.b = parseInt(b + b, 16);
37
+ }
38
+
39
+ return rgb;
40
+ }
41
+ /**
42
+ * Convert an RGB object to a hex color string in the format '#rrggbb'.
43
+ * @param {{r: number, g: number, b: number}} int
44
+ * @returns {string}
45
+ */
46
+
47
+
48
+ function toHex(_int) {
49
+ return "#".concat(Math.round(_int.r).toString(16)).concat(Math.round(_int.g).toString(16)).concat(Math.round(_int.b).toString(16));
50
+ }
51
+ /**
52
+ * @param {string} color color in the format '#rrggbb' or '#rgb'
53
+ * @param {string} overlayColor overlay color in the format '#rrggbb' or '#rgb'
54
+ * @param {number} elevation elevation as an integer starting with 1
55
+ * @returns {string} the hex color string in the format '#rrggbb'
56
+ */
57
+
58
+
59
+ function getElevation(color, overlayColor, elevation) {
60
+ var rgb = toInt(color);
61
+ var overlay = toInt(overlayColor);
62
+ rgb.r += overlay.r * (0.05 + step * (elevation - 1));
63
+ rgb.g += overlay.g * (0.05 + step * (elevation - 1));
64
+ rgb.b += overlay.b * (0.05 + step * (elevation - 1));
65
+ return toHex(rgb);
66
+ }
67
+ /**
68
+ * Get all 24 elevations of the given color and overlay.
69
+ * @param {string} color color in the format '#rrggbb' or '#rgb'
70
+ * @param {string} overlay overlay color in the format '#rrggbb' or '#rgb'
71
+ * @returns {import('@mui/material/styles/withStyles').CSSProperties}
72
+ */
73
+
74
+
75
+ function getElevations(color, overlay) {
76
+ /** @type {import('@mui/material/styles/withStyles').CSSProperties} */
77
+ var elevations = {};
78
+
79
+ for (var i = 1; i <= 24; i++) {
80
+ elevations["elevation".concat(i)] = {
81
+ backgroundColor: getElevation(color, overlay, i)
82
+ };
83
+ }
84
+
85
+ return elevations;
86
+ }
87
+
88
+ var buttonsPalette = function buttonsPalette(theme) {
89
+ return {
90
+ palette: {
91
+ // mode: "dark",
92
+ grey: {
93
+ main: _colors.grey[300],
94
+ dark: _colors.grey[400]
95
+ }
96
+ }
97
+ };
98
+ };
99
+
100
+ var buttonsTheme = function buttonsTheme(theme) {
101
+ return {
102
+ components: {
103
+ MuiButton: {
104
+ variants: [{
105
+ props: {
106
+ variant: 'contained',
107
+ color: 'grey'
108
+ },
109
+ style: {
110
+ color: theme.palette.getContrastText(theme.palette.grey[300])
111
+ }
112
+ }, {
113
+ props: {
114
+ variant: 'outlined',
115
+ color: 'grey'
116
+ },
117
+ style: {
118
+ color: theme.palette.text.primary,
119
+ borderColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)',
120
+ '&.Mui-disabled': {
121
+ border: "1px solid ".concat(theme.palette.action.disabledBackground)
122
+ },
123
+ '&:hover': {
124
+ borderColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)',
125
+ backgroundColor: (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity)
126
+ }
127
+ }
128
+ }, {
129
+ props: {
130
+ color: 'grey',
131
+ variant: 'text'
132
+ },
133
+ style: {
134
+ color: 'black',
135
+ '&:hover': {
136
+ backgroundColor: (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity)
137
+ }
138
+ }
139
+ }]
140
+ }
141
+ }
142
+ };
143
+ };
144
+ /**
145
+ * The theme creation factory function.
146
+ * @param {string} type
147
+ * @returns {import('./types').Theme}
148
+ */
149
+
150
+
151
+ var Theme = function Theme(type) {
152
+ var theme;
153
+
154
+ if (type === 'dark') {
155
+ theme = {
156
+ name: type,
157
+ palette: {
158
+ mode: 'dark',
159
+ background: {
160
+ paper: '#121212',
161
+ "default": '#121212'
162
+ },
163
+ primary: {
164
+ main: '#4dabf5'
165
+ },
166
+ secondary: {
167
+ main: '#436a93'
168
+ },
169
+ expert: '#14bb00',
170
+ text: {
171
+ primary: '#ffffff',
172
+ secondary: '#ffffff'
173
+ }
174
+ },
175
+ overrides: {
176
+ MuiAppBar: {
177
+ colorDefault: {
178
+ backgroundColor: '#272727'
179
+ }
180
+ },
181
+ MuiLink: {
182
+ root: {
183
+ textTransform: 'uppercase',
184
+ transition: 'color .3s ease',
185
+ color: _colors.orange[200],
186
+ '&:hover': {
187
+ color: _colors.orange[100]
188
+ }
189
+ }
190
+ },
191
+ MuiPaper: getElevations('#121212', '#fff')
192
+ }
193
+ };
194
+ } else if (type === 'blue') {
195
+ theme = {
196
+ name: type,
197
+ palette: {
198
+ mode: 'dark',
199
+ background: {
200
+ paper: '#151d21',
201
+ "default": '#151d21'
202
+ },
203
+ primary: {
204
+ main: '#4dabf5'
205
+ },
206
+ secondary: {
207
+ main: '#436a93'
208
+ },
209
+ expert: '#14bb00',
210
+ text: {
211
+ primary: '#ffffff',
212
+ secondary: '#ffffff'
213
+ }
214
+ },
215
+ overrides: {
216
+ MuiAppBar: {
217
+ colorDefault: {
218
+ backgroundColor: '#2a3135'
219
+ }
220
+ },
221
+ MuiLink: {
222
+ root: {
223
+ textTransform: 'uppercase',
224
+ transition: 'color .3s ease',
225
+ color: _colors.orange[200],
226
+ '&:hover': {
227
+ color: _colors.orange[100]
228
+ }
229
+ }
230
+ },
231
+ MuiPaper: getElevations('#151d21', '#fff')
232
+ }
233
+ };
234
+ } else if (type === 'colored') {
235
+ theme = {
236
+ name: type,
237
+ palette: {
238
+ mode: 'light',
239
+ primary: {
240
+ main: '#3399CC'
241
+ },
242
+ secondary: {
243
+ main: '#164477'
244
+ },
245
+ expert: '#96fc96'
246
+ },
247
+ overrides: {
248
+ MuiAppBar: {
249
+ colorDefault: {
250
+ backgroundColor: '#3399CC'
251
+ }
252
+ },
253
+ MuiLink: {
254
+ root: {
255
+ textTransform: 'uppercase',
256
+ transition: 'color .3s ease',
257
+ color: _colors.orange[400],
258
+ '&:hover': {
259
+ color: _colors.orange[300]
260
+ }
261
+ }
262
+ }
263
+ }
264
+ };
265
+ } else if (type === 'PT') {
266
+ theme = {
267
+ name: type,
268
+ palette: {
269
+ mode: 'light',
270
+ primary: {
271
+ main: '#0F99DE'
272
+ },
273
+ secondary: {
274
+ main: '#88A536'
275
+ },
276
+ expert: '#BD1B24'
277
+ },
278
+ overrides: {
279
+ MuiAppBar: {
280
+ colorDefault: {
281
+ backgroundColor: '#0F99DE'
282
+ }
283
+ },
284
+ MuiLink: {
285
+ root: {
286
+ textTransform: 'uppercase',
287
+ transition: 'color .3s ease',
288
+ color: _colors.orange[400],
289
+ '&:hover': {
290
+ color: _colors.orange[300]
291
+ }
292
+ }
293
+ }
294
+ }
295
+ };
296
+ } else if (type === 'DX') {
297
+ theme = {
298
+ name: type,
299
+ palette: {
300
+ mode: 'light',
301
+ primary: {
302
+ main: '#F5F5F7'
303
+ },
304
+ secondary: {
305
+ main: '#a9a9a9'
306
+ },
307
+ expert: '#BD1B24',
308
+ text: {
309
+ primary: '#007AFE',
310
+ secondary: '#007AFE',
311
+ disabled: '#007AFEAA'
312
+ }
313
+ },
314
+ overrides: {
315
+ MuiAppBar: {
316
+ colorDefault: {
317
+ backgroundColor: '#a9a9a9'
318
+ }
319
+ },
320
+ MuiLink: {
321
+ root: {
322
+ textTransform: 'uppercase',
323
+ transition: 'color .3s ease',
324
+ color: _colors.orange[400],
325
+ '&:hover': {
326
+ color: _colors.orange[300]
327
+ }
328
+ }
329
+ }
330
+ }
331
+ };
332
+ } else {
333
+ theme = {
334
+ name: type,
335
+ palette: {
336
+ mode: 'light',
337
+ primary: {
338
+ main: '#3399CC'
339
+ },
340
+ secondary: {
341
+ main: '#164477'
342
+ },
343
+ expert: '#14bb00'
344
+ },
345
+ overrides: {
346
+ MuiLink: {
347
+ root: {
348
+ textTransform: 'uppercase',
349
+ transition: 'color .3s ease',
350
+ color: _colors.orange[400],
351
+ '&:hover': {
352
+ color: _colors.orange[300]
353
+ }
354
+ }
355
+ }
356
+ }
357
+ };
358
+ }
359
+
360
+ theme.toolbar = {
361
+ height: 48
362
+ }; // add save toolbar
363
+
364
+ theme.saveToolbar = {
365
+ background: theme.palette.primary.main,
366
+ button: {
367
+ borderRadius: 3,
368
+ height: 32
369
+ }
370
+ };
371
+ theme.palette.grey = {
372
+ main: _colors.grey[300],
373
+ dark: _colors.grey[400]
374
+ };
375
+ theme = (0, _styles.createTheme)((0, _styles.adaptV4Theme)(theme));
376
+ return (0, _styles.createTheme)(theme, {
377
+ components: {
378
+ MuiButton: {
379
+ variants: [{
380
+ props: {
381
+ variant: 'contained',
382
+ color: 'grey'
383
+ },
384
+ style: {
385
+ color: theme.palette.getContrastText(theme.palette.grey[300])
386
+ }
387
+ }, {
388
+ props: {
389
+ variant: 'outlined',
390
+ color: 'grey'
391
+ },
392
+ style: {
393
+ color: theme.palette.text.primary,
394
+ borderColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)',
395
+ '&.Mui-disabled': {
396
+ border: "1px solid ".concat(theme.palette.action.disabledBackground)
397
+ },
398
+ '&:hover': {
399
+ borderColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)',
400
+ backgroundColor: (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity)
401
+ }
402
+ }
403
+ }, {
404
+ props: {
405
+ variant: 'text',
406
+ color: 'grey'
407
+ },
408
+ style: {
409
+ color: theme.palette.text.primary,
410
+ '&:hover': {
411
+ backgroundColor: (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity)
412
+ }
413
+ }
414
+ }]
415
+ }
416
+ }
417
+ });
418
+ };
419
+
420
+ var _default = Theme;
421
+ exports["default"] = _default;
422
+ //# sourceMappingURL=Theme.js.map
package/Theme.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Theme.js","names":["step","toInt","hex","rgb","r","g","b","length","parseInt","substr","toHex","int","Math","round","toString","getElevation","color","overlayColor","elevation","overlay","getElevations","elevations","i","backgroundColor","buttonsPalette","theme","palette","grey","main","dark","buttonsTheme","components","MuiButton","variants","props","variant","style","getContrastText","text","primary","borderColor","mode","border","action","disabledBackground","hoverOpacity","Theme","type","name","background","paper","secondary","expert","overrides","MuiAppBar","colorDefault","MuiLink","root","textTransform","transition","orange","MuiPaper","disabled","toolbar","height","saveToolbar","button","borderRadius"],"sources":["Theme.js"],"sourcesContent":["import {createTheme, adaptV4Theme, alpha} from '@mui/material/styles';\n\nimport {orange, grey} from '@mui/material/colors';\n\nconst step = (16 - 5) / 23 / 100;\n\n/**\n * Convert hex color in the format '#rrggbb' or '#rgb' to an RGB object.\n * @param {string} hex\n * @returns {{r: number, g: number, b: number}}\n */\nfunction toInt(hex) {\n const rgb = {\n r: 0,\n g: 0,\n b: 0,\n };\n\n if (hex.length === 7) {\n rgb.r = parseInt(hex.substr(1, 2), 16);\n rgb.g = parseInt(hex.substr(3, 2), 16);\n rgb.b = parseInt(hex.substr(5, 2), 16);\n } else if (hex.length === 4) {\n const r = hex.substr(1, 1);\n const g = hex.substr(2, 1);\n const b = hex.substr(3, 1);\n\n rgb.r = parseInt(r + r, 16);\n rgb.g = parseInt(g + g, 16);\n rgb.b = parseInt(b + b, 16);\n }\n\n return rgb;\n}\n\n/**\n * Convert an RGB object to a hex color string in the format '#rrggbb'.\n * @param {{r: number, g: number, b: number}} int\n * @returns {string}\n */\nfunction toHex(int) {\n return `#${Math.round(int.r).toString(16)}${Math.round(int.g).toString(16)}${Math.round(int.b).toString(16)}`;\n}\n\n/**\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlayColor overlay color in the format '#rrggbb' or '#rgb'\n * @param {number} elevation elevation as an integer starting with 1\n * @returns {string} the hex color string in the format '#rrggbb'\n */\nfunction getElevation(color, overlayColor, elevation) {\n const rgb = toInt(color);\n const overlay = toInt(overlayColor);\n\n rgb.r += overlay.r * (0.05 + step * (elevation - 1));\n rgb.g += overlay.g * (0.05 + step * (elevation - 1));\n rgb.b += overlay.b * (0.05 + step * (elevation - 1));\n\n return toHex(rgb);\n}\n\n/**\n * Get all 24 elevations of the given color and overlay.\n * @param {string} color color in the format '#rrggbb' or '#rgb'\n * @param {string} overlay overlay color in the format '#rrggbb' or '#rgb'\n * @returns {import('@mui/material/styles/withStyles').CSSProperties}\n */\nfunction getElevations(color, overlay) {\n /** @type {import('@mui/material/styles/withStyles').CSSProperties} */\n const elevations = {};\n\n for (let i = 1; i <= 24; i++) {\n elevations[`elevation${i}`] = {\n backgroundColor: getElevation(color, overlay, i),\n };\n }\n\n return elevations;\n}\n\nconst buttonsPalette = theme => ({\n palette: {\n // mode: \"dark\",\n grey: {\n main: grey[300],\n dark: grey[400],\n },\n },\n});\n\nconst buttonsTheme = theme => ({\n components: {\n MuiButton: {\n variants: [\n {\n props: {variant: 'contained', color: 'grey'},\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: {variant: 'outlined', color: 'grey'},\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: {color: 'grey', variant: 'text'},\n style: {\n color: 'black',\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n});\n\n/**\n * The theme creation factory function.\n * @param {string} type\n * @returns {import('./types').Theme}\n */\nconst Theme = type => {\n let theme;\n if (type === 'dark') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#121212',\n default: '#121212',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#272727',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#121212', '#fff'),\n },\n };\n } else if (type === 'blue') {\n theme = {\n name: type,\n palette: {\n mode: 'dark',\n background: {\n paper: '#151d21',\n default: '#151d21',\n },\n primary: {\n main: '#4dabf5',\n },\n secondary: {\n main: '#436a93',\n },\n expert: '#14bb00',\n text: {\n primary: '#ffffff',\n secondary: '#ffffff',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#2a3135',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[200],\n '&:hover': {\n color: orange[100],\n },\n },\n },\n MuiPaper: getElevations('#151d21', '#fff'),\n },\n };\n } else if (type === 'colored') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#96fc96',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#3399CC',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'PT') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#0F99DE',\n },\n secondary: {\n main: '#88A536',\n },\n expert: '#BD1B24',\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#0F99DE',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else if (type === 'DX') {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#F5F5F7',\n },\n secondary: {\n main: '#a9a9a9',\n },\n expert: '#BD1B24',\n text: {\n primary: '#007AFE',\n secondary: '#007AFE',\n disabled: '#007AFEAA',\n },\n },\n overrides: {\n MuiAppBar: {\n colorDefault: {\n backgroundColor: '#a9a9a9',\n },\n },\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n } else {\n theme = {\n name: type,\n palette: {\n mode: 'light',\n primary: {\n main: '#3399CC',\n },\n secondary: {\n main: '#164477',\n },\n expert: '#14bb00',\n },\n overrides: {\n MuiLink: {\n root: {\n textTransform: 'uppercase',\n transition: 'color .3s ease',\n color: orange[400],\n '&:hover': {\n color: orange[300],\n },\n },\n },\n },\n };\n }\n\n theme.toolbar = {\n height: 48,\n };\n\n // add save toolbar\n theme.saveToolbar = {\n background: theme.palette.primary.main,\n button: {\n borderRadius: 3,\n height: 32,\n },\n };\n\n theme.palette.grey = {\n main: grey[300],\n dark: grey[400],\n };\n\n theme = createTheme(adaptV4Theme(theme));\n\n return createTheme(theme, {\n components: {\n MuiButton: {\n variants: [\n {\n props: {variant: 'contained', color: 'grey'},\n style: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n },\n },\n {\n props: {variant: 'outlined', color: 'grey'},\n style: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`,\n },\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n {\n props: {variant: 'text', color: 'grey'},\n style: {\n color: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity,\n ),\n },\n },\n },\n ],\n },\n },\n });\n};\n\nexport default Theme;\n"],"mappings":";;;;;;;AAAA;;AAEA;;AAEA,IAAMA,IAAI,GAAG,CAAC,KAAK,CAAN,IAAW,EAAX,GAAgB,GAA7B;AAEA;AACA;AACA;AACA;AACA;;AACA,SAASC,KAAT,CAAeC,GAAf,EAAoB;EAChB,IAAMC,GAAG,GAAG;IACRC,CAAC,EAAE,CADK;IAERC,CAAC,EAAE,CAFK;IAGRC,CAAC,EAAE;EAHK,CAAZ;;EAMA,IAAIJ,GAAG,CAACK,MAAJ,KAAe,CAAnB,EAAsB;IAClBJ,GAAG,CAACC,CAAJ,GAAQI,QAAQ,CAACN,GAAG,CAACO,MAAJ,CAAW,CAAX,EAAc,CAAd,CAAD,EAAmB,EAAnB,CAAhB;IACAN,GAAG,CAACE,CAAJ,GAAQG,QAAQ,CAACN,GAAG,CAACO,MAAJ,CAAW,CAAX,EAAc,CAAd,CAAD,EAAmB,EAAnB,CAAhB;IACAN,GAAG,CAACG,CAAJ,GAAQE,QAAQ,CAACN,GAAG,CAACO,MAAJ,CAAW,CAAX,EAAc,CAAd,CAAD,EAAmB,EAAnB,CAAhB;EACH,CAJD,MAIO,IAAIP,GAAG,CAACK,MAAJ,KAAe,CAAnB,EAAsB;IACzB,IAAMH,CAAC,GAAGF,GAAG,CAACO,MAAJ,CAAW,CAAX,EAAc,CAAd,CAAV;IACA,IAAMJ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d,CAAmBC,OADvB;YAEH,WAAW;cACPhB,eAAe,EAAE,mBACbE,KAAK,CAACC,OAAN,CAAcY,IAAd,CAAmBC,OADN,EAEbd,KAAK,CAACC,OAAN,CAAciB,MAAd,CAAqBE,YAFR;YADV;UAFR;QAFX,CA9BM;MADH;IADH;EADU,CAAnB,CAAP;AAiDH,CArRD;;eAuReC,K"}
package/i18n/de.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "ra_Are you sure?": "Bist du sicher?",
17
17
  "ra_Cancel": "Abbrechen",
18
18
  "ra_Copied": "Kopiert",
19
- "ra_Copied %s": "%s kopiert",
19
+ "ra_Copied %s": "\"%s\" kopiert",
20
20
  "ra_Define functions": "Funktionen definieren",
21
21
  "ra_Define rooms": "Räume definieren",
22
22
  "ra_Error": "Fehler",
@@ -63,8 +63,8 @@
63
63
  "ra_Delete": "Löschen",
64
64
  "ra_Toggle expert mode": "Expertenmodus umschalten",
65
65
  "ra_Toggle view mode": "Ansichtsmodus umschalten",
66
- "re_Root": "Anfang",
67
- "re_Back to %s": "Zurück zu %s",
66
+ "ra_Root": "Anfang",
67
+ "ra_Back to %s": "Zurück zu %s",
68
68
  "ra_Place your files here or click here to open the browse dialog": "Platzieren Sie Ihre Dateien hier oder klicken Sie hier, um den Suchdialog zu öffnen",
69
69
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Wenn im Ordner keine Datei erstellt wird, verschwindet dieser nach dem Schließen des Browsers",
70
70
  "ra_Folder name": "Ordnernamen",
package/i18n/en.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "ra_Are you sure?": "Are you sure?",
3
3
  "ra_Cancel": "Cancel",
4
4
  "ra_Copied": "Copied",
5
- "ra_Copied %s": "Copied %s",
5
+ "ra_Copied %s": "Copied \"%s\"",
6
6
  "ra_Error": "Error",
7
7
  "ra_Define functions": "Define functions",
8
8
  "ra_Define rooms": "Define rooms",
@@ -74,8 +74,8 @@
74
74
  "ra_Delete": "Delete",
75
75
  "ra_Toggle expert mode": "Toggle expert mode",
76
76
  "ra_Toggle view mode": "Toggle view mode",
77
- "re_Root": "Root",
78
- "re_Back to %s": "Back to %s",
77
+ "ra_Root": "Root",
78
+ "ra_Back to %s": "Back to %s",
79
79
  "ra_Place your files here or click here to open the browse dialog": "Place your files here or click here to open the browse dialog",
80
80
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "If no file will be created in the folder, it will disappear after the browser closed",
81
81
  "ra_Folder name": "Folder name",
package/i18n/es.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "¿Estás seguro?",
15
15
  "ra_Cancel": "Cancelar",
16
16
  "ra_Copied": "Copiado",
17
- "ra_Copied %s": "Copiado %s",
17
+ "ra_Copied %s": "Copiado \"%s\"",
18
18
  "ra_Define functions": "Definir funciones",
19
19
  "ra_Define rooms": "Definir habitaciones",
20
20
  "ra_Error": "Error",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Eliminar",
61
61
  "ra_Toggle expert mode": "Alternar modo experto",
62
62
  "ra_Toggle view mode": "Alternar modo de vista",
63
- "re_Root": "Raíz",
64
- "re_Back to %s": "Volver a %s",
63
+ "ra_Root": "Raíz",
64
+ "ra_Back to %s": "Volver a %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Coloque sus archivos aquí o haga clic aquí para abrir el cuadro de diálogo de exploración",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Si no se creará ningún archivo en la carpeta, desaparecerá después de que se cierre el navegador.",
67
67
  "ra_Folder name": "Nombre de la carpeta",
package/i18n/fr.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "Êtes-vous sûr?",
15
15
  "ra_Cancel": "Annuler",
16
16
  "ra_Copied": "Copié",
17
- "ra_Copied %s": "%s copié",
17
+ "ra_Copied %s": "\"%s\" copié",
18
18
  "ra_Define functions": "Définir des fonctions",
19
19
  "ra_Define rooms": "Définir des pièces",
20
20
  "ra_Error": "Erreur",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Supprimer",
61
61
  "ra_Toggle expert mode": "Basculer en mode expert",
62
62
  "ra_Toggle view mode": "Basculer le mode d'affichage",
63
- "re_Root": "Racine",
64
- "re_Back to %s": "Retour à %s",
63
+ "ra_Root": "Racine",
64
+ "ra_Back to %s": "Retour à %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Placez vos fichiers ici ou cliquez ici pour ouvrir la boîte de dialogue de navigation",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Si aucun fichier ne sera créé dans le dossier, il disparaîtra après la fermeture du navigateur",
67
67
  "ra_Folder name": "Nom de dossier",
package/i18n/it.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "Sei sicuro?",
15
15
  "ra_Cancel": "Annulla",
16
16
  "ra_Copied": "Copiato",
17
- "ra_Copied %s": "%s copiato",
17
+ "ra_Copied %s": "\"%s\" copiato",
18
18
  "ra_Define functions": "Definire le funzioni",
19
19
  "ra_Define rooms": "Definisci le stanze",
20
20
  "ra_Error": "Errore",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Elimina",
61
61
  "ra_Toggle expert mode": "Attiva / disattiva la modalità esperto",
62
62
  "ra_Toggle view mode": "Attiva / disattiva la modalità di visualizzazione",
63
- "re_Root": "Radice",
64
- "re_Back to %s": "Torna a %s",
63
+ "ra_Root": "Radice",
64
+ "ra_Back to %s": "Torna a %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Posiziona i file qui o fai clic qui per aprire la finestra di dialogo Sfoglia",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Se nessun file verrà creato nella cartella, scomparirà dopo la chiusura del browser",
67
67
  "ra_Folder name": "Nome della cartella",
package/i18n/nl.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "ra_Are you sure?": "Weet je het zeker?",
14
14
  "ra_Cancel": "Annuleer",
15
15
  "ra_Copied": "Gekopieerd",
16
- "ra_Copied %s": "%s gekopieerd",
16
+ "ra_Copied %s": "\"%s\" gekopieerd",
17
17
  "ra_Define functions": "Definieer functies",
18
18
  "ra_Define rooms": "Definieer kamers",
19
19
  "ra_Error": "Fout",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Verwijderen",
61
61
  "ra_Toggle expert mode": "Schakel tussen expertmodus",
62
62
  "ra_Toggle view mode": "Schakelen tussen weergavemodus",
63
- "re_Root": "Wortel",
64
- "re_Back to %s": "Terug naar %s",
63
+ "ra_Root": "Wortel",
64
+ "ra_Back to %s": "Terug naar %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Plaats uw bestanden hier of klik hier om het bladervenster te openen",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Als er geen bestand in de map wordt gemaakt, verdwijnt het nadat de browser is gesloten",
67
67
  "ra_Folder name": "Naam van de map",
package/i18n/pl.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "Jesteś pewny?",
15
15
  "ra_Cancel": "Anuluj",
16
16
  "ra_Copied": "Skopiowano",
17
- "ra_Copied %s": "Skopiowano %s",
17
+ "ra_Copied %s": "Skopiowano \"%s\"",
18
18
  "ra_Define functions": "Zdefiniuj funkcje",
19
19
  "ra_Define rooms": "Zdefiniuj pokoje",
20
20
  "ra_Error": "Błąd",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Usunąć",
61
61
  "ra_Toggle expert mode": "Przełącz tryb eksperta",
62
62
  "ra_Toggle view mode": "Przełącz tryb widoku",
63
- "re_Root": "Korzeń",
64
- "re_Back to %s": "Powrót do %s",
63
+ "ra_Root": "Korzeń",
64
+ "ra_Back to %s": "Powrót do %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Umieść swoje pliki tutaj lub kliknij tutaj, aby otworzyć okno dialogowe przeglądania",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Jeśli w folderze nie zostanie utworzony żaden plik, zniknie on po zamknięciu przeglądarki",
67
67
  "ra_Folder name": "Nazwa folderu",
package/i18n/pt.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "Você tem certeza?",
15
15
  "ra_Cancel": "Cancelar",
16
16
  "ra_Copied": "Copiado",
17
- "ra_Copied %s": "%s copiado",
17
+ "ra_Copied %s": "\"%s\" copiado",
18
18
  "ra_Define functions": "Definir funções",
19
19
  "ra_Define rooms": "Definir quartos",
20
20
  "ra_Error": "Erro",
@@ -60,8 +60,8 @@
60
60
  "ra_Delete": "Excluir",
61
61
  "ra_Toggle expert mode": "Alternar modo especialista",
62
62
  "ra_Toggle view mode": "Alternar modo de visualização",
63
- "re_Root": "Raiz",
64
- "re_Back to %s": "Voltar para %s",
63
+ "ra_Root": "Raiz",
64
+ "ra_Back to %s": "Voltar para %s",
65
65
  "ra_Place your files here or click here to open the browse dialog": "Coloque seus arquivos aqui ou clique aqui para abrir a janela de navegação",
66
66
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Se nenhum arquivo for criado na pasta, ele desaparecerá depois que o navegador for fechado",
67
67
  "ra_Folder name": "Nome da pasta",
package/i18n/ru.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "ra_Are you sure?": "Вы уверены?",
15
15
  "ra_Cancel": "Отмена",
16
16
  "ra_Copied": "скопировано",
17
- "ra_Copied %s": "Скопировано %s",
17
+ "ra_Copied %s": "Скопировано \"%s\"",
18
18
  "ra_Define functions": "Задать функции",
19
19
  "ra_Define rooms": "Задать комнаты",
20
20
  "ra_Error": "Ошибка",
@@ -62,8 +62,8 @@
62
62
  "ra_Delete": "Удалить",
63
63
  "ra_Toggle expert mode": "Переключить экспертный режим",
64
64
  "ra_Toggle view mode": "Переключить режим просмотра",
65
- "re_Root": "Начало",
66
- "re_Back to %s": "Вернуться к %s",
65
+ "ra_Root": "Начало",
66
+ "ra_Back to %s": "Вернуться к %s",
67
67
  "ra_Place your files here or click here to open the browse dialog": "Поместите свои файлы сюда или щелкните здесь, чтобы открыть диалоговое окно выбора",
68
68
  "ra_If no file will be created in the folder, it will disappear after the browser closed": "Если в папке не будет создан файл, он исчезнет после закрытия браузера.",
69
69
  "ra_Folder name": "Имя папки",