aiware-js 1.0.0-master.1380 → 1.0.0-master.1382
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.css +92 -92
- package/js-core.esm.css +92 -92
- package/js-core.esm.css.gz +0 -0
- package/js-core.esm.min.css +92 -92
- package/js-core.esm.min.css.gz +0 -0
- package/js-core.esm109.js +1 -1
- package/js-core.esm109.js.gz +0 -0
- package/js-core.esm127.js +1 -1
- package/js-core.esm127.js.gz +0 -0
- package/js-core.esm17.js +1 -1
- package/js-core.esm17.js.gz +0 -0
- package/js-core.esm64.js +6 -6
- package/js-core.esm64.js.gz +0 -0
- package/js-core.esm9.js +1 -1
- package/js-core.esm9.js.gz +0 -0
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
package/index.esm.css
CHANGED
|
@@ -1,3 +1,95 @@
|
|
|
1
|
+
/* dosis-200normal - latin */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Dosis';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
font-weight: 200;
|
|
7
|
+
src:
|
|
8
|
+
local('Dosis Extra Light '),
|
|
9
|
+
local('Dosis-Extra Light'),
|
|
10
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
11
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* dosis-300normal - latin */
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Dosis';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
src:
|
|
21
|
+
local('Dosis Light '),
|
|
22
|
+
local('Dosis-Light'),
|
|
23
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
24
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* dosis-400normal - latin */
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: 'Dosis';
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
src:
|
|
34
|
+
local('Dosis Regular '),
|
|
35
|
+
local('Dosis-Regular'),
|
|
36
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
37
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* dosis-500normal - latin */
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: 'Dosis';
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
src:
|
|
47
|
+
local('Dosis Medium '),
|
|
48
|
+
local('Dosis-Medium'),
|
|
49
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
50
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* dosis-600normal - latin */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Dosis';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
src:
|
|
60
|
+
local('Dosis SemiBold '),
|
|
61
|
+
local('Dosis-SemiBold'),
|
|
62
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
63
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* dosis-700normal - latin */
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Dosis';
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
src:
|
|
73
|
+
local('Dosis Bold '),
|
|
74
|
+
local('Dosis-Bold'),
|
|
75
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
76
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* dosis-800normal - latin */
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: 'Dosis';
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-display: swap;
|
|
84
|
+
font-weight: 800;
|
|
85
|
+
src:
|
|
86
|
+
local('Dosis ExtraBold '),
|
|
87
|
+
local('Dosis-ExtraBold'),
|
|
88
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
89
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
1
93
|
/* nunito-200normal - latin */
|
|
2
94
|
@font-face {
|
|
3
95
|
font-family: 'Nunito';
|
|
@@ -181,98 +273,6 @@
|
|
|
181
273
|
}
|
|
182
274
|
|
|
183
275
|
|
|
184
|
-
/* dosis-200normal - latin */
|
|
185
|
-
@font-face {
|
|
186
|
-
font-family: 'Dosis';
|
|
187
|
-
font-style: normal;
|
|
188
|
-
font-display: swap;
|
|
189
|
-
font-weight: 200;
|
|
190
|
-
src:
|
|
191
|
-
local('Dosis Extra Light '),
|
|
192
|
-
local('Dosis-Extra Light'),
|
|
193
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
194
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* dosis-300normal - latin */
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: 'Dosis';
|
|
200
|
-
font-style: normal;
|
|
201
|
-
font-display: swap;
|
|
202
|
-
font-weight: 300;
|
|
203
|
-
src:
|
|
204
|
-
local('Dosis Light '),
|
|
205
|
-
local('Dosis-Light'),
|
|
206
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
207
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* dosis-400normal - latin */
|
|
211
|
-
@font-face {
|
|
212
|
-
font-family: 'Dosis';
|
|
213
|
-
font-style: normal;
|
|
214
|
-
font-display: swap;
|
|
215
|
-
font-weight: 400;
|
|
216
|
-
src:
|
|
217
|
-
local('Dosis Regular '),
|
|
218
|
-
local('Dosis-Regular'),
|
|
219
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
220
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/* dosis-500normal - latin */
|
|
224
|
-
@font-face {
|
|
225
|
-
font-family: 'Dosis';
|
|
226
|
-
font-style: normal;
|
|
227
|
-
font-display: swap;
|
|
228
|
-
font-weight: 500;
|
|
229
|
-
src:
|
|
230
|
-
local('Dosis Medium '),
|
|
231
|
-
local('Dosis-Medium'),
|
|
232
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
233
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* dosis-600normal - latin */
|
|
237
|
-
@font-face {
|
|
238
|
-
font-family: 'Dosis';
|
|
239
|
-
font-style: normal;
|
|
240
|
-
font-display: swap;
|
|
241
|
-
font-weight: 600;
|
|
242
|
-
src:
|
|
243
|
-
local('Dosis SemiBold '),
|
|
244
|
-
local('Dosis-SemiBold'),
|
|
245
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
246
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* dosis-700normal - latin */
|
|
250
|
-
@font-face {
|
|
251
|
-
font-family: 'Dosis';
|
|
252
|
-
font-style: normal;
|
|
253
|
-
font-display: swap;
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
src:
|
|
256
|
-
local('Dosis Bold '),
|
|
257
|
-
local('Dosis-Bold'),
|
|
258
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
259
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* dosis-800normal - latin */
|
|
263
|
-
@font-face {
|
|
264
|
-
font-family: 'Dosis';
|
|
265
|
-
font-style: normal;
|
|
266
|
-
font-display: swap;
|
|
267
|
-
font-weight: 800;
|
|
268
|
-
src:
|
|
269
|
-
local('Dosis ExtraBold '),
|
|
270
|
-
local('Dosis-ExtraBold'),
|
|
271
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
272
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
276
|
/*!
|
|
277
277
|
* Cropper.js v1.6.2
|
|
278
278
|
* https://fengyuanchen.github.io/cropperjs
|
package/js-core.esm.css
CHANGED
|
@@ -1,3 +1,95 @@
|
|
|
1
|
+
/* dosis-200normal - latin */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Dosis';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
font-weight: 200;
|
|
7
|
+
src:
|
|
8
|
+
local('Dosis Extra Light '),
|
|
9
|
+
local('Dosis-Extra Light'),
|
|
10
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
11
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* dosis-300normal - latin */
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Dosis';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
src:
|
|
21
|
+
local('Dosis Light '),
|
|
22
|
+
local('Dosis-Light'),
|
|
23
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
24
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* dosis-400normal - latin */
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: 'Dosis';
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
src:
|
|
34
|
+
local('Dosis Regular '),
|
|
35
|
+
local('Dosis-Regular'),
|
|
36
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
37
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* dosis-500normal - latin */
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: 'Dosis';
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
src:
|
|
47
|
+
local('Dosis Medium '),
|
|
48
|
+
local('Dosis-Medium'),
|
|
49
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
50
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* dosis-600normal - latin */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Dosis';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
src:
|
|
60
|
+
local('Dosis SemiBold '),
|
|
61
|
+
local('Dosis-SemiBold'),
|
|
62
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
63
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* dosis-700normal - latin */
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Dosis';
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
src:
|
|
73
|
+
local('Dosis Bold '),
|
|
74
|
+
local('Dosis-Bold'),
|
|
75
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
76
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* dosis-800normal - latin */
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: 'Dosis';
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-display: swap;
|
|
84
|
+
font-weight: 800;
|
|
85
|
+
src:
|
|
86
|
+
local('Dosis ExtraBold '),
|
|
87
|
+
local('Dosis-ExtraBold'),
|
|
88
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
89
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
1
93
|
/* nunito-200normal - latin */
|
|
2
94
|
@font-face {
|
|
3
95
|
font-family: 'Nunito';
|
|
@@ -181,98 +273,6 @@
|
|
|
181
273
|
}
|
|
182
274
|
|
|
183
275
|
|
|
184
|
-
/* dosis-200normal - latin */
|
|
185
|
-
@font-face {
|
|
186
|
-
font-family: 'Dosis';
|
|
187
|
-
font-style: normal;
|
|
188
|
-
font-display: swap;
|
|
189
|
-
font-weight: 200;
|
|
190
|
-
src:
|
|
191
|
-
local('Dosis Extra Light '),
|
|
192
|
-
local('Dosis-Extra Light'),
|
|
193
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
194
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* dosis-300normal - latin */
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: 'Dosis';
|
|
200
|
-
font-style: normal;
|
|
201
|
-
font-display: swap;
|
|
202
|
-
font-weight: 300;
|
|
203
|
-
src:
|
|
204
|
-
local('Dosis Light '),
|
|
205
|
-
local('Dosis-Light'),
|
|
206
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
207
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* dosis-400normal - latin */
|
|
211
|
-
@font-face {
|
|
212
|
-
font-family: 'Dosis';
|
|
213
|
-
font-style: normal;
|
|
214
|
-
font-display: swap;
|
|
215
|
-
font-weight: 400;
|
|
216
|
-
src:
|
|
217
|
-
local('Dosis Regular '),
|
|
218
|
-
local('Dosis-Regular'),
|
|
219
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
220
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/* dosis-500normal - latin */
|
|
224
|
-
@font-face {
|
|
225
|
-
font-family: 'Dosis';
|
|
226
|
-
font-style: normal;
|
|
227
|
-
font-display: swap;
|
|
228
|
-
font-weight: 500;
|
|
229
|
-
src:
|
|
230
|
-
local('Dosis Medium '),
|
|
231
|
-
local('Dosis-Medium'),
|
|
232
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
233
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* dosis-600normal - latin */
|
|
237
|
-
@font-face {
|
|
238
|
-
font-family: 'Dosis';
|
|
239
|
-
font-style: normal;
|
|
240
|
-
font-display: swap;
|
|
241
|
-
font-weight: 600;
|
|
242
|
-
src:
|
|
243
|
-
local('Dosis SemiBold '),
|
|
244
|
-
local('Dosis-SemiBold'),
|
|
245
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
246
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* dosis-700normal - latin */
|
|
250
|
-
@font-face {
|
|
251
|
-
font-family: 'Dosis';
|
|
252
|
-
font-style: normal;
|
|
253
|
-
font-display: swap;
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
src:
|
|
256
|
-
local('Dosis Bold '),
|
|
257
|
-
local('Dosis-Bold'),
|
|
258
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
259
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* dosis-800normal - latin */
|
|
263
|
-
@font-face {
|
|
264
|
-
font-family: 'Dosis';
|
|
265
|
-
font-style: normal;
|
|
266
|
-
font-display: swap;
|
|
267
|
-
font-weight: 800;
|
|
268
|
-
src:
|
|
269
|
-
local('Dosis ExtraBold '),
|
|
270
|
-
local('Dosis-ExtraBold'),
|
|
271
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
272
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
276
|
/*!
|
|
277
277
|
* Cropper.js v1.6.2
|
|
278
278
|
* https://fengyuanchen.github.io/cropperjs
|
package/js-core.esm.css.gz
CHANGED
|
Binary file
|
package/js-core.esm.min.css
CHANGED
|
@@ -1,3 +1,95 @@
|
|
|
1
|
+
/* dosis-200normal - latin */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Dosis';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
font-weight: 200;
|
|
7
|
+
src:
|
|
8
|
+
local('Dosis Extra Light '),
|
|
9
|
+
local('Dosis-Extra Light'),
|
|
10
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
11
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* dosis-300normal - latin */
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Dosis';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
src:
|
|
21
|
+
local('Dosis Light '),
|
|
22
|
+
local('Dosis-Light'),
|
|
23
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
24
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* dosis-400normal - latin */
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: 'Dosis';
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
src:
|
|
34
|
+
local('Dosis Regular '),
|
|
35
|
+
local('Dosis-Regular'),
|
|
36
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
37
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* dosis-500normal - latin */
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: 'Dosis';
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
src:
|
|
47
|
+
local('Dosis Medium '),
|
|
48
|
+
local('Dosis-Medium'),
|
|
49
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
50
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* dosis-600normal - latin */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Dosis';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
src:
|
|
60
|
+
local('Dosis SemiBold '),
|
|
61
|
+
local('Dosis-SemiBold'),
|
|
62
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
63
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* dosis-700normal - latin */
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Dosis';
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
src:
|
|
73
|
+
local('Dosis Bold '),
|
|
74
|
+
local('Dosis-Bold'),
|
|
75
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
76
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* dosis-800normal - latin */
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: 'Dosis';
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-display: swap;
|
|
84
|
+
font-weight: 800;
|
|
85
|
+
src:
|
|
86
|
+
local('Dosis ExtraBold '),
|
|
87
|
+
local('Dosis-ExtraBold'),
|
|
88
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
89
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
1
93
|
/* nunito-200normal - latin */
|
|
2
94
|
@font-face {
|
|
3
95
|
font-family: 'Nunito';
|
|
@@ -181,98 +273,6 @@
|
|
|
181
273
|
}
|
|
182
274
|
|
|
183
275
|
|
|
184
|
-
/* dosis-200normal - latin */
|
|
185
|
-
@font-face {
|
|
186
|
-
font-family: 'Dosis';
|
|
187
|
-
font-style: normal;
|
|
188
|
-
font-display: swap;
|
|
189
|
-
font-weight: 200;
|
|
190
|
-
src:
|
|
191
|
-
local('Dosis Extra Light '),
|
|
192
|
-
local('Dosis-Extra Light'),
|
|
193
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
194
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* dosis-300normal - latin */
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: 'Dosis';
|
|
200
|
-
font-style: normal;
|
|
201
|
-
font-display: swap;
|
|
202
|
-
font-weight: 300;
|
|
203
|
-
src:
|
|
204
|
-
local('Dosis Light '),
|
|
205
|
-
local('Dosis-Light'),
|
|
206
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
207
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* dosis-400normal - latin */
|
|
211
|
-
@font-face {
|
|
212
|
-
font-family: 'Dosis';
|
|
213
|
-
font-style: normal;
|
|
214
|
-
font-display: swap;
|
|
215
|
-
font-weight: 400;
|
|
216
|
-
src:
|
|
217
|
-
local('Dosis Regular '),
|
|
218
|
-
local('Dosis-Regular'),
|
|
219
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
220
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/* dosis-500normal - latin */
|
|
224
|
-
@font-face {
|
|
225
|
-
font-family: 'Dosis';
|
|
226
|
-
font-style: normal;
|
|
227
|
-
font-display: swap;
|
|
228
|
-
font-weight: 500;
|
|
229
|
-
src:
|
|
230
|
-
local('Dosis Medium '),
|
|
231
|
-
local('Dosis-Medium'),
|
|
232
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
233
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* dosis-600normal - latin */
|
|
237
|
-
@font-face {
|
|
238
|
-
font-family: 'Dosis';
|
|
239
|
-
font-style: normal;
|
|
240
|
-
font-display: swap;
|
|
241
|
-
font-weight: 600;
|
|
242
|
-
src:
|
|
243
|
-
local('Dosis SemiBold '),
|
|
244
|
-
local('Dosis-SemiBold'),
|
|
245
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
246
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* dosis-700normal - latin */
|
|
250
|
-
@font-face {
|
|
251
|
-
font-family: 'Dosis';
|
|
252
|
-
font-style: normal;
|
|
253
|
-
font-display: swap;
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
src:
|
|
256
|
-
local('Dosis Bold '),
|
|
257
|
-
local('Dosis-Bold'),
|
|
258
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
259
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* dosis-800normal - latin */
|
|
263
|
-
@font-face {
|
|
264
|
-
font-family: 'Dosis';
|
|
265
|
-
font-style: normal;
|
|
266
|
-
font-display: swap;
|
|
267
|
-
font-weight: 800;
|
|
268
|
-
src:
|
|
269
|
-
local('Dosis ExtraBold '),
|
|
270
|
-
local('Dosis-ExtraBold'),
|
|
271
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
272
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
276
|
/*!
|
|
277
277
|
* Cropper.js v1.6.2
|
|
278
278
|
* https://fengyuanchen.github.io/cropperjs
|
package/js-core.esm.min.css.gz
CHANGED
|
Binary file
|
package/js-core.esm109.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as jsxRuntimeExports,aN as injectIntl,ad as combineReducers,b as AIWareThemeProvider,u as useSelector,ap as selectIsFullscreenEnabled,au as betaFeaturesSelector,e as userSelector,f as switchApiSelector,r as reactExports,a6 as selectApiConfigs,aR as setIsFullscreenEnabled,aP as panelsSelector,_ as all}from"./js-core.esm4.js";import{f as createSvgIcon,m as makeStyles,D as DynamicModuleLoader,A as AIWareIntlProvider,M as MemoizedFormattedMessage,ax as Hamburger,T as Typography,ay as FullscreenExit,az as Fullscreen,H as Hide,a_ as Article,a$ as Task,at as View,b0 as OpenWindow,am as Tabs,c as classNames,an as Tab}from"./js-core.esm7.js";import{getProcessingCenterJobsModule,JobsPanel}from"./js-core.esm110.js";import{getProcessingCenterTasksModule,TasksPanel}from"./js-core.esm69.js";import{i as index}from"./js-core.esm12.js";import{T as Tooltip,I as IconButton,a9 as FullscreenPortal}from"./js-core.esm9.js";import{u as useDispatch}from"./js-core.esm14.js";import"./js-core.esm13.js";import"./js-core.esm63.js";import"./js-core.esm61.js";import"./js-core.esm27.js";import"./js-core.esm28.js";import"./js-core.esm48.js";import"./js-core.esm49.js";import"./js-core.esm8.js";import"./js-core.esm26.js";import"./js-core.esm50.js";import"./js-core.esm24.js";import"./js-core.esm16.js";import"./js-core.esm65.js";import"./js-core.esm29.js";import"./js-core.esm30.js";import"./js-core.esm66.js";import"./js-core.esm57.js";import"./js-core.esm42.js";import"./js-core.esm46.js";var ProcessingCenterView,AssessmentOutlined=createSvgIcon(jsxRuntimeExports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}),"AssessmentOutlined"),useStyles$2=makeStyles()(function(e,t){t=t.height;return{header:{alignItems:"center",borderBottom:"0.5px solid ".concat(e.palette.divider),display:"flex",height:t,padding:e.spacing(2),position:"relative"},title:{minWidth:"126px"},marginRight:{marginRight:e.spacing(2)},navigationToggle:{marginRight:e.spacing(1)},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},verticalDivider:{borderRight:".5px solid ".concat(e.palette.divider),height:"70%",margin:"0 ".concat(e.spacing(1))},searchContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,height:44,marginLeft:"48px"}}}),Header=function(e){var t=e.intl,r=e.hidePanel,n=e.isNavExpanded,s=e.onLeftNavigationToggle,e=useStyles$2({height:e.height}).classes,a=useDispatch(),o=useSelector(selectIsFullscreenEnabled);return t.formatMessage({id:"processing-center-browse.search-input-placeholder",defaultMessage:"Search by Job ID, Task ID, TDO ID, Application or User",description:"Search bar placeholder text"}),jsxRuntimeExports.jsxs("header",{className:e.header,"data-testid":"pc-header",children:[jsxRuntimeExports.jsx(Tooltip,{title:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"}),children:jsxRuntimeExports.jsx(IconButton,{sx:{mr:1},onClick:s,"aria-expanded":n,"aria-labelledby":"ac-header-toggle-nav","data-test":"ac-header-toggle-nav",size:"large",children:jsxRuntimeExports.jsx(Hamburger,{})})}),jsxRuntimeExports.jsx(Typography,{variant:"h1",className:e.title,"data-test":"ac-title",children:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.header.title",defaultMessage:"Processing Center",description:"Panel header of the processing center"})}),jsxRuntimeExports.jsx("div",{className:e.searchContainer}),jsxRuntimeExports.jsxs("div",{className:e.headerActionContainer,children:[jsxRuntimeExports.jsx("div",{className:e.verticalDivider}),jsxRuntimeExports.jsx(Tooltip,{title:o?jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"}),children:jsxRuntimeExports.jsx(IconButton,{onClick:function(){return a(setIsFullscreenEnabled(!o))},"aria-labelledby":"ac-toggle-fullscreen","data-test":"ac-fullscreen-toggle",size:"large",children:o?jsxRuntimeExports.jsx(FullscreenExit,{}):jsxRuntimeExports.jsx(Fullscreen,{})})}),jsxRuntimeExports.jsx(Tooltip,{title:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"}),children:jsxRuntimeExports.jsx(IconButton,{onClick:r,"aria-labelledby":"ac-close-panel","data-test-id":"ac-close-panel",size:"large",children:jsxRuntimeExports.jsx(Hide,{})})})]})]})},Header$1=injectIntl(Header),SLICE_NAME="processingCenterBrowse",namespace$1=((e=>{e[e.jobs=0]="jobs",e[e.tasks=1]="tasks",e[e.monitoring=2]="monitoring",e[e.analytics=3]="analytics"})(ProcessingCenterView=ProcessingCenterView||{}),"application"),_redux_applications_generateApplicationsRedux=index.applications.generateApplicationsRedux({sliceName:SLICE_NAME,namespace:namespace$1,additionalSelectors:{primaryResourceType:function(){return"applications"},applicationFilters:function(){return[]},searchValue:function(){return"analytics center"}}}),slice=_redux_applications_generateApplicationsRedux.slice,selectors=_redux_applications_generateApplicationsRedux.selectors,sagas=_redux_applications_generateApplicationsRedux.sagas,initialState$1=_redux_applications_generateApplicationsRedux.initialState;function _define_property$3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var namespace=SLICE_NAME,initialState=_define_property$3({},namespace$1,initialState$1),actions=_define_property$3({},namespace$1,slice.actions),rootReducer=combineReducers(_define_property$3({},namespace$1,slice.reducer));function _ts_generator(n,s){var a,o,i,l={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(a)throw new TypeError("Generator is already executing.");for(;l;)try{if(a=1,o&&(i=2&t[0]?o.return:t[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,t[1])).done)return i;switch(o=0,(t=i?[2&t[0],i.value]:t)[0]){case 0:case 1:i=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,o=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(i=0<(i=l.trys).length&&i[i.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!i||t[1]>i[0]&&t[1]<i[3]))l.label=t[1];else if(6===t[0]&&l.label<i[1])l.label=i[1],i=t;else{if(!(i&&l.label<i[2])){i[2]&&l.ops.pop(),l.trys.pop();continue}l.label=i[2],l.ops.push(t)}}t=s.call(n,l)}catch(e){t=[6,e],o=0}finally{a=i=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function rootSaga(){return _ts_generator(this,function(e){switch(e.label){case 0:return[4,all([sagas.watchRead()])];case 1:return e.sent(),[2]}})}function _define_property$2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function getBrowsePanelModule(){return{id:SLICE_NAME,reducerMap:_define_property$2({},SLICE_NAME,rootReducer),sagas:[rootSaga],initialActions:[]}}function _define_property$1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _object_spread$1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);(n="function"==typeof Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})):n).forEach(function(e){_define_property$1(t,e,r[e])})}return t}function ownKeys(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&(e=Object.getOwnPropertySymbols(e),r.push.apply(r,e)),r}function _object_spread_props(t,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t}function _object_without_properties(e,t){if(null==e)return{};var r,n=_object_without_properties_loose(e,t);if(Object.getOwnPropertySymbols)for(var s=Object.getOwnPropertySymbols(e),a=0;a<s.length;a++)r=s[a],0<=t.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function _object_without_properties_loose(e,t){if(null==e)return{};for(var r,n={},s=Object.keys(e),a=0;a<s.length;a++)r=s[a],0<=t.indexOf(r)||(n[r]=e[r]);return n}var TAB_WIDTH=197,useStyles$1=makeStyles()(function(e,t,r){return{root:{display:"flex",flexGrow:1,height:t.height,position:"relative"},tabs:{borderRight:".5px solid ".concat(e.palette.divider),transition:".2s ease",width:e.spacing(14),minWidth:e.spacing(14),padding:"".concat(e.spacing(1.6)," ").concat(e.spacing(2.5)),boxSizing:"border-box"},tabsContainer:{alignItems:"center"},tabIndicator:{background:"transparent"},tabRoot:{opacity:1,borderRadius:4,fontSize:"14px",marginBottom:e.spacing(1),minHeight:e.spacing(9),minWidth:e.spacing(9),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),width:"100%","&:hover":{background:"#F2F5F9"},"&.Sdk-Mui-disabled":{cursor:"not-allowed",pointerEvents:"auto"},"&:disabled":{cursor:"not-allowed",pointerEvents:"auto"}},tabsExpanded:_define_property$1({width:TAB_WIDTH,minWidth:TAB_WIDTH,paddingRight:e.spacing(2),paddingLeft:e.spacing(2)},"& ".concat(r.tabRoot),{width:"calc(".concat(TAB_WIDTH,"px - ").concat(e.spacing(3),")"),flexDirection:"row",textTransform:"capitalize","& svg:first-of-type":{marginRight:e.spacing(2),marginBottom:"0"}}),tabExpandedWrapper:{flexDirection:"row",display:"flex",justifyContent:"flex-start","& svg:first-of-type":{marginBottom:"0 !important",marginRight:e.spacing(2)},"& svg:last-child":{marginBottom:"0 !important",marginLeft:"auto"}},tabSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg:first-of-type":{marginBottom:"0 !important",marginRight:"0",color:e.palette.primary.main}},contentPanel:{flexGrow:1},tabExpandedSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg:first-of-type":{marginBottom:"0 !important",marginRight:e.spacing(2),color:e.palette.primary.main}},tabWrapper:{flexDirection:"row",display:"flex",justifyContent:"center","& svg":{marginBottom:"0 !important",marginRight:"0"}},condensedNavIcon:{display:"flex",marginBottom:"0px !important"}}}),MainTabPanel=function(e){var t=e.currentView,r=e.setCurrentView,o=e.intl,i=e.isNavExpanded,e=e.height,n=useDispatch(),l=useStyles$1({height:e}).classes,s=useSelector(betaFeaturesSelector),e=useSelector(userSelector),a=useSelector(selectors.selectItems),c=useSelector(switchApiSelector),p=null!=(a=null==a||null==(a=a[0])?void 0:a.id)?a:void 0,e=null!=(a=null==e?void 0:e.roles)?a:[],d=[{id:ProcessingCenterView.jobs,label:o.formatMessage({id:"os-processing-center-browse.jobs.view",defaultMessage:"Jobs",description:"The label for jobs view"}),testLabel:"jobs-view",icon:jsxRuntimeExports.jsx(Article,{}),content:function(){return jsxRuntimeExports.jsx(JobsPanel,{})}},{id:ProcessingCenterView.tasks,label:o.formatMessage({id:"os-processing-center-browse.tasks.view",defaultMessage:"Tasks",description:"The label for tasks view"}),testLabel:"tasks-view",icon:jsxRuntimeExports.jsx(Task,{style:{transform:"translateX(4px)"}}),content:function(){return jsxRuntimeExports.jsx(TasksPanel,{})}},{id:ProcessingCenterView.monitoring,label:o.formatMessage({id:"os-processing-center-browse.monitoring.view",defaultMessage:"Monitoring",description:"The label for monitoring view"}),testLabel:"monitoring-view",icon:jsxRuntimeExports.jsx(View,{}),content:function(){return jsxRuntimeExports.jsx("div",{children:"Monitoring"})},disabled:!0},{id:ProcessingCenterView.analytics,label:o.formatMessage({id:"os-processing-center-browse.analytics.label",defaultMessage:"Analytics",description:"The label for analytics tab."}),labelTooltip:o.formatMessage({id:"os-processing-center-browse.analytics.link.tooltip",defaultMessage:"Open Analytics Center App",description:"The tooltip for analytics center external link."}),testLabel:"analytics-link",icon:jsxRuntimeExports.jsx(AssessmentOutlined,{}),iconEnd:jsxRuntimeExports.jsx(OpenWindow,{}),beta:!1,show:e.includes("ce_analytics_app")&&void 0!==p,props:{onClick:function(){return window.open("".concat(c,"/").concat(p,"?page=processingsummary"),"_blank")}}}].filter(function(e){return(null==e||!e.beta||s)&&(void 0===(null==e?void 0:e.show)||e.show)});return reactExports.useEffect(function(){n(actions.application.readStart(null))},[]),jsxRuntimeExports.jsx(AIWareThemeProvider,{children:jsxRuntimeExports.jsxs("div",{className:l.root,children:[jsxRuntimeExports.jsx(Tabs,{id:"processingCenterViewTabs",orientation:"vertical",value:t,onChange:function(e,t){void 0!==d[t].content&&r(t)},className:classNames(l.tabs,_define_property$1({},l.tabsExpanded,i)),classes:{flexContainer:l.tabsContainer,indicator:l.tabIndicator},"aria-label":"processing center tabs","data-test":"pc-nav-tabs-container",children:d.map(function(e){var t,r,n,s=e.props||{},a=e.disabled||!1;return reactExports.createElement(Tab,_object_spread_props(_object_spread$1(_object_spread_props(_object_spread$1({},s),{key:e.id}),a11yProps(e.id)),{wrapped:!0,label:(t=(s=e).disabled||!1,r=s.label,n=null!=(n=null==s?void 0:s.labelTooltip)?n:r,jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Tooltip,{title:t?o.formatMessage({id:"processing-center.nav-list.coming-soon-label",defaultMessage:"{label} coming soon",description:"coming soon label"},{label:r}):n,children:jsxRuntimeExports.jsx("span",{children:i?s.label:""})}),null!=s&&s.iconEnd&&i?s.iconEnd:null]})),icon:(r=(t=e).icon,n=null!=(n=null==t?void 0:t.labelTooltip)?n:t.label,i?r:jsxRuntimeExports.jsx(Tooltip,{title:t.disabled||!1?o.formatMessage({id:"processing-center.nav-list.coming-soon-label",defaultMessage:"{label} coming soon",description:"coming soon label"},{label:t.label}):n,children:jsxRuntimeExports.jsx("span",{className:l.condensedNavIcon,children:r})})),classes:{root:l.tabRoot,wrapped:i?l.tabExpandedWrapper:l.tabWrapper,selected:i?l.tabExpandedSelected:l.tabSelected},disabled:a,"data-test":"pc-nav-tab-".concat(e.testLabel)}))})}),d.map(function(e){return void 0===(null==e?void 0:e.content)?null:jsxRuntimeExports.jsx(TabPanel,{value:t,index:e.id,className:l.contentPanel,"data-test":"pc-tab-".concat(e.testLabel),children:e.content()},e.id)})]})})};function TabPanel(e){var t=e.children,r=e.value,n=e.index,e=_object_without_properties(e,["children","value","index"]);return jsxRuntimeExports.jsx("div",_object_spread_props(_object_spread$1({role:"tabpanel",hidden:r!==n,id:"processing-center-tabpanel-".concat(n),"aria-labelledby":"processing-center-tab-".concat(n)},e),{children:r===n&&t}))}function a11yProps(e){return{id:"admin-center-tab-".concat(e),"aria-controls":"admin-center-tabpanel-".concat(e)}}var MainTabPanel$1=injectIntl(MainTabPanel),Container=function(e){var t=e.classes,r=e.dimmed,e=e.children;return useSelector(selectIsFullscreenEnabled)?jsxRuntimeExports.jsx(FullscreenPortal,{dataTest:"ac-widget",dimmed:!!r,panelId:"PROCESSING_CENTER",children:e}):jsxRuntimeExports.jsx("div",{role:"presentation","data-test":"ac-widget",className:classNames(t.root,t.panel),children:e})};function _array_like_to_array(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _array_with_holes(e){if(Array.isArray(e))return e}function _iterable_to_array_limit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,a=[],o=!0,i=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){i=!0,s=e}finally{try{o||null==r.return||r.return()}finally{if(i)throw s}}return a}}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _sliced_to_array(e,t){return _array_with_holes(e)||_iterable_to_array_limit(e,t)||_unsupported_iterable_to_array(e,t)||_non_iterable_rest()}function _unsupported_iterable_to_array(e,t){var r;if(e)return"string"==typeof e?_array_like_to_array(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_array_like_to_array(e,t):void 0}var appBarHeight=55,headerHeight=64,borderBottom=5,useStyles=makeStyles()(function(e){return{root:{width:"100%",position:"relative"},panel:{backgroundColor:e.palette.background.paper,boxShadow:"0px 0px 12px rgba(0, 0, 0, 0.25)",height:"100%"},fullScreen:{position:"fixed",width:"100%",height:"100vh",top:0,left:0,right:0,bottom:0},overlay:{backgroundColor:e.palette.grey[50],opacity:"0.5 !important",height:"100%",position:"absolute",top:0,width:"100%"}}}),MainLayout=function(e){var e=e.hidePanel,t=_sliced_to_array(reactExports.useState(!0),2),r=t[0],n=t[1],t=useSelector(selectIsFullscreenEnabled),s=useStyles().classes,a=useSelector(panelsSelector)||[],o=_sliced_to_array(reactExports.useState(ProcessingCenterView.jobs),2),i=o[0],o=o[1],a=a.find(function(e){return"PROCESSING_CENTER"===e.panelId})||{panelConfig:{dimmed:0}},a=0<(null===a||null==(a=a.panelConfig)?void 0:a.dimmed),t="calc(100vh - ".concat(t?25:appBarHeight+borderBottom,"px - ").concat(headerHeight,"px)");return jsxRuntimeExports.jsxs(Container,{dimmed:a,classes:s,children:[jsxRuntimeExports.jsx(Header$1,{height:headerHeight,hidePanel:e,isNavExpanded:r,onLeftNavigationToggle:function(){n(!r)}}),jsxRuntimeExports.jsx(MainTabPanel$1,{currentView:i,setCurrentView:o,height:t,isNavExpanded:r})]})};function _define_property(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _object_spread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);(n="function"==typeof Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})):n).forEach(function(e){_define_property(t,e,r[e])})}return t}var Content=function(e){var t=useSelector(selectApiConfigs);return t.apiRoot&&t.graphQLEndpoint&&t.token?jsxRuntimeExports.jsx(MainLayout,_object_spread({},e)):null},ProcessingCenterBrowse=function(e){return jsxRuntimeExports.jsx(AIWareThemeProvider,{children:jsxRuntimeExports.jsx(DynamicModuleLoader,{modules:[getBrowsePanelModule(),getProcessingCenterJobsModule(),getProcessingCenterTasksModule()],children:jsxRuntimeExports.jsx(AIWareIntlProvider,{children:jsxRuntimeExports.jsx(Content,_object_spread({},e))})})})};export{ProcessingCenterBrowse,actions,selectors as applicationSelectors,getBrowsePanelModule,initialState,namespace,rootReducer};
|
|
1
|
+
import{j as jsxRuntimeExports,aN as injectIntl,ad as combineReducers,b as AIWareThemeProvider,u as useSelector,ap as selectIsFullscreenEnabled,au as betaFeaturesSelector,e as userSelector,f as switchApiSelector,r as reactExports,a6 as selectApiConfigs,aR as setIsFullscreenEnabled,aP as panelsSelector,_ as all}from"./js-core.esm4.js";import{f as createSvgIcon,m as makeStyles,D as DynamicModuleLoader,A as AIWareIntlProvider,M as MemoizedFormattedMessage,ax as Hamburger,T as Typography,ay as FullscreenExit,az as Fullscreen,H as Hide,a_ as Article,a$ as Task,b0 as OpenWindow,am as Tabs,c as classNames,an as Tab}from"./js-core.esm7.js";import{getProcessingCenterJobsModule,JobsPanel}from"./js-core.esm110.js";import{getProcessingCenterTasksModule,TasksPanel}from"./js-core.esm69.js";import{i as index}from"./js-core.esm12.js";import{T as Tooltip,I as IconButton,a9 as FullscreenPortal}from"./js-core.esm9.js";import{u as useDispatch}from"./js-core.esm14.js";import"./js-core.esm13.js";import"./js-core.esm63.js";import"./js-core.esm61.js";import"./js-core.esm27.js";import"./js-core.esm28.js";import"./js-core.esm48.js";import"./js-core.esm49.js";import"./js-core.esm8.js";import"./js-core.esm26.js";import"./js-core.esm50.js";import"./js-core.esm24.js";import"./js-core.esm16.js";import"./js-core.esm65.js";import"./js-core.esm29.js";import"./js-core.esm30.js";import"./js-core.esm66.js";import"./js-core.esm57.js";import"./js-core.esm42.js";import"./js-core.esm46.js";var ProcessingCenterView,AssessmentOutlined=createSvgIcon(jsxRuntimeExports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}),"AssessmentOutlined"),useStyles$2=makeStyles()(function(e,t){t=t.height;return{header:{alignItems:"center",borderBottom:"0.5px solid ".concat(e.palette.divider),display:"flex",height:t,padding:e.spacing(2),position:"relative"},title:{minWidth:"126px"},marginRight:{marginRight:e.spacing(2)},navigationToggle:{marginRight:e.spacing(1)},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},verticalDivider:{borderRight:".5px solid ".concat(e.palette.divider),height:"70%",margin:"0 ".concat(e.spacing(1))},searchContainer:{alignItems:"center",border:"1px solid transparent",borderRadius:4,display:"flex",flexGrow:1,height:44,marginLeft:"48px"}}}),Header=function(e){var t=e.intl,r=e.hidePanel,n=e.isNavExpanded,s=e.onLeftNavigationToggle,e=useStyles$2({height:e.height}).classes,a=useDispatch(),o=useSelector(selectIsFullscreenEnabled);return t.formatMessage({id:"processing-center-browse.search-input-placeholder",defaultMessage:"Search by Job ID, Task ID, TDO ID, Application or User",description:"Search bar placeholder text"}),jsxRuntimeExports.jsxs("header",{className:e.header,"data-testid":"pc-header",children:[jsxRuntimeExports.jsx(Tooltip,{title:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.navigation.menu",defaultMessage:"Toggle Navigation Menu",description:"Toggle Navigation Menu"}),children:jsxRuntimeExports.jsx(IconButton,{sx:{mr:1},onClick:s,"aria-expanded":n,"aria-labelledby":"ac-header-toggle-nav","data-test":"ac-header-toggle-nav",size:"large",children:jsxRuntimeExports.jsx(Hamburger,{})})}),jsxRuntimeExports.jsx(Typography,{variant:"h1",className:e.title,"data-test":"ac-title",children:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.header.title",defaultMessage:"Processing Center",description:"Panel header of the processing center"})}),jsxRuntimeExports.jsx("div",{className:e.searchContainer}),jsxRuntimeExports.jsxs("div",{className:e.headerActionContainer,children:[jsxRuntimeExports.jsx("div",{className:e.verticalDivider}),jsxRuntimeExports.jsx(Tooltip,{title:o?jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.close.full.screen",defaultMessage:"Exit Fullscreen",description:"Exit Fullscreen"}):jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.open.full.screen",defaultMessage:"Enter Fullscreen",description:"Enter Fullscreen"}),children:jsxRuntimeExports.jsx(IconButton,{onClick:function(){return a(setIsFullscreenEnabled(!o))},"aria-labelledby":"ac-toggle-fullscreen","data-test":"ac-fullscreen-toggle",size:"large",children:o?jsxRuntimeExports.jsx(FullscreenExit,{}):jsxRuntimeExports.jsx(Fullscreen,{})})}),jsxRuntimeExports.jsx(Tooltip,{title:jsxRuntimeExports.jsx(MemoizedFormattedMessage,{id:"os-processing-center-browse.close.panel",defaultMessage:"Close Panel",description:"Close Panel"}),children:jsxRuntimeExports.jsx(IconButton,{onClick:r,"aria-labelledby":"ac-close-panel","data-test-id":"ac-close-panel",size:"large",children:jsxRuntimeExports.jsx(Hide,{})})})]})]})},Header$1=injectIntl(Header),SLICE_NAME="processingCenterBrowse",namespace$1=((e=>{e[e.jobs=0]="jobs",e[e.tasks=1]="tasks",e[e.monitoring=2]="monitoring",e[e.analytics=3]="analytics"})(ProcessingCenterView=ProcessingCenterView||{}),"application"),_redux_applications_generateApplicationsRedux=index.applications.generateApplicationsRedux({sliceName:SLICE_NAME,namespace:namespace$1,additionalSelectors:{primaryResourceType:function(){return"applications"},applicationFilters:function(){return[]},searchValue:function(){return"analytics center"}}}),slice=_redux_applications_generateApplicationsRedux.slice,selectors=_redux_applications_generateApplicationsRedux.selectors,sagas=_redux_applications_generateApplicationsRedux.sagas,initialState$1=_redux_applications_generateApplicationsRedux.initialState;function _define_property$3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var namespace=SLICE_NAME,initialState=_define_property$3({},namespace$1,initialState$1),actions=_define_property$3({},namespace$1,slice.actions),rootReducer=combineReducers(_define_property$3({},namespace$1,slice.reducer));function _ts_generator(n,s){var a,o,i,l={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(a)throw new TypeError("Generator is already executing.");for(;l;)try{if(a=1,o&&(i=2&t[0]?o.return:t[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,t[1])).done)return i;switch(o=0,(t=i?[2&t[0],i.value]:t)[0]){case 0:case 1:i=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,o=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(i=0<(i=l.trys).length&&i[i.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!i||t[1]>i[0]&&t[1]<i[3]))l.label=t[1];else if(6===t[0]&&l.label<i[1])l.label=i[1],i=t;else{if(!(i&&l.label<i[2])){i[2]&&l.ops.pop(),l.trys.pop();continue}l.label=i[2],l.ops.push(t)}}t=s.call(n,l)}catch(e){t=[6,e],o=0}finally{a=i=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function rootSaga(){return _ts_generator(this,function(e){switch(e.label){case 0:return[4,all([sagas.watchRead()])];case 1:return e.sent(),[2]}})}function _define_property$2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function getBrowsePanelModule(){return{id:SLICE_NAME,reducerMap:_define_property$2({},SLICE_NAME,rootReducer),sagas:[rootSaga],initialActions:[]}}function _define_property$1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _object_spread$1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);(n="function"==typeof Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})):n).forEach(function(e){_define_property$1(t,e,r[e])})}return t}function ownKeys(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&(e=Object.getOwnPropertySymbols(e),r.push.apply(r,e)),r}function _object_spread_props(t,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t}function _object_without_properties(e,t){if(null==e)return{};var r,n=_object_without_properties_loose(e,t);if(Object.getOwnPropertySymbols)for(var s=Object.getOwnPropertySymbols(e),a=0;a<s.length;a++)r=s[a],0<=t.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function _object_without_properties_loose(e,t){if(null==e)return{};for(var r,n={},s=Object.keys(e),a=0;a<s.length;a++)r=s[a],0<=t.indexOf(r)||(n[r]=e[r]);return n}var TAB_WIDTH=197,useStyles$1=makeStyles()(function(e,t,r){return{root:{display:"flex",flexGrow:1,height:t.height,position:"relative"},tabs:{borderRight:".5px solid ".concat(e.palette.divider),transition:".2s ease",width:e.spacing(14),minWidth:e.spacing(14),padding:"".concat(e.spacing(1.6)," ").concat(e.spacing(2.5)),boxSizing:"border-box"},tabsContainer:{alignItems:"center"},tabIndicator:{background:"transparent"},tabRoot:{opacity:1,borderRadius:4,fontSize:"14px",marginBottom:e.spacing(1),minHeight:e.spacing(9),minWidth:e.spacing(9),paddingTop:e.spacing(1),paddingBottom:e.spacing(1),width:"100%","&:hover":{background:"#F2F5F9"},"&.Sdk-Mui-disabled":{cursor:"not-allowed",pointerEvents:"auto"},"&:disabled":{cursor:"not-allowed",pointerEvents:"auto"}},tabsExpanded:_define_property$1({width:TAB_WIDTH,minWidth:TAB_WIDTH,paddingRight:e.spacing(2),paddingLeft:e.spacing(2)},"& ".concat(r.tabRoot),{width:"calc(".concat(TAB_WIDTH,"px - ").concat(e.spacing(3),")"),flexDirection:"row",textTransform:"capitalize","& svg:first-of-type":{marginRight:e.spacing(2),marginBottom:"0"}}),tabExpandedWrapper:{flexDirection:"row",display:"flex",justifyContent:"flex-start","& svg:first-of-type":{marginBottom:"0 !important",marginRight:e.spacing(2)},"& svg:last-child":{marginBottom:"0 !important",marginLeft:"auto"}},tabSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg:first-of-type":{marginBottom:"0 !important",marginRight:"0",color:e.palette.primary.main}},contentPanel:{flexGrow:1},tabExpandedSelected:{background:"#F2F5F9",color:e.palette.primary.main,"& svg:first-of-type":{marginBottom:"0 !important",marginRight:e.spacing(2),color:e.palette.primary.main}},tabWrapper:{flexDirection:"row",display:"flex",justifyContent:"center","& svg":{marginBottom:"0 !important",marginRight:"0"}},condensedNavIcon:{display:"flex",marginBottom:"0px !important"}}}),MainTabPanel=function(e){var t=e.currentView,r=e.setCurrentView,o=e.intl,i=e.isNavExpanded,e=e.height,n=useDispatch(),l=useStyles$1({height:e}).classes,s=useSelector(betaFeaturesSelector),e=useSelector(userSelector),a=useSelector(selectors.selectItems),c=useSelector(switchApiSelector),p=null!=(a=null==a||null==(a=a[0])?void 0:a.id)?a:void 0,e=null!=(a=null==e?void 0:e.roles)?a:[],d=[{id:ProcessingCenterView.jobs,label:o.formatMessage({id:"os-processing-center-browse.jobs.view",defaultMessage:"Jobs",description:"The label for jobs view"}),testLabel:"jobs-view",icon:jsxRuntimeExports.jsx(Article,{}),content:function(){return jsxRuntimeExports.jsx(JobsPanel,{})},disabled:!1},{id:ProcessingCenterView.tasks,label:o.formatMessage({id:"os-processing-center-browse.tasks.view",defaultMessage:"Tasks",description:"The label for tasks view"}),testLabel:"tasks-view",icon:jsxRuntimeExports.jsx(Task,{style:{transform:"translateX(4px)"}}),content:function(){return jsxRuntimeExports.jsx(TasksPanel,{})},disabled:!1},{id:ProcessingCenterView.analytics,label:o.formatMessage({id:"os-processing-center-browse.analytics.label",defaultMessage:"Analytics",description:"The label for analytics tab."}),labelTooltip:o.formatMessage({id:"os-processing-center-browse.analytics.link.tooltip",defaultMessage:"Open Analytics Center App",description:"The tooltip for analytics center external link."}),testLabel:"analytics-link",icon:jsxRuntimeExports.jsx(AssessmentOutlined,{}),iconEnd:jsxRuntimeExports.jsx(OpenWindow,{}),beta:!1,show:e.includes("ce_analytics_app")&&void 0!==p,props:{onClick:function(){return window.open("".concat(c,"/").concat(p,"?page=processingsummary"),"_blank")}},disabled:!1}].filter(function(e){return(null==e||!e.beta||s)&&(void 0===(null==e?void 0:e.show)||e.show)});return reactExports.useEffect(function(){n(actions.application.readStart(null))},[]),jsxRuntimeExports.jsx(AIWareThemeProvider,{children:jsxRuntimeExports.jsxs("div",{className:l.root,children:[jsxRuntimeExports.jsx(Tabs,{id:"processingCenterViewTabs",orientation:"vertical",value:t,onChange:function(e,t){void 0!==d[t].content&&r(t)},className:classNames(l.tabs,_define_property$1({},l.tabsExpanded,i)),classes:{flexContainer:l.tabsContainer,indicator:l.tabIndicator},"aria-label":"processing center tabs","data-test":"pc-nav-tabs-container",children:d.map(function(e){var t,r,n,s=e.props||{},a=e.disabled||!1;return reactExports.createElement(Tab,_object_spread_props(_object_spread$1(_object_spread_props(_object_spread$1({},s),{key:e.id}),a11yProps(e.id)),{wrapped:!0,label:(t=(s=e).disabled||!1,r=s.label,n=null!=(n=null==s?void 0:s.labelTooltip)?n:r,jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Tooltip,{title:t?o.formatMessage({id:"processing-center.nav-list.coming-soon-label",defaultMessage:"{label} coming soon",description:"coming soon label"},{label:r}):n,children:jsxRuntimeExports.jsx("span",{children:i?s.label:""})}),null!=s&&s.iconEnd&&i?s.iconEnd:null]})),icon:(r=(t=e).icon,n=null!=(n=null==t?void 0:t.labelTooltip)?n:t.label,i?r:jsxRuntimeExports.jsx(Tooltip,{title:t.disabled||!1?o.formatMessage({id:"processing-center.nav-list.coming-soon-label",defaultMessage:"{label} coming soon",description:"coming soon label"},{label:t.label}):n,children:jsxRuntimeExports.jsx("span",{className:l.condensedNavIcon,children:r})})),classes:{root:l.tabRoot,wrapped:i?l.tabExpandedWrapper:l.tabWrapper,selected:i?l.tabExpandedSelected:l.tabSelected},disabled:a,"data-test":"pc-nav-tab-".concat(e.testLabel)}))})}),d.map(function(e){return void 0===(null==e?void 0:e.content)?null:jsxRuntimeExports.jsx(TabPanel,{value:t,index:e.id,className:l.contentPanel,"data-test":"pc-tab-".concat(e.testLabel),children:e.content()},e.id)})]})})};function TabPanel(e){var t=e.children,r=e.value,n=e.index,e=_object_without_properties(e,["children","value","index"]);return jsxRuntimeExports.jsx("div",_object_spread_props(_object_spread$1({role:"tabpanel",hidden:r!==n,id:"processing-center-tabpanel-".concat(n),"aria-labelledby":"processing-center-tab-".concat(n)},e),{children:r===n&&t}))}function a11yProps(e){return{id:"admin-center-tab-".concat(e),"aria-controls":"admin-center-tabpanel-".concat(e)}}var MainTabPanel$1=injectIntl(MainTabPanel),Container=function(e){var t=e.classes,r=e.dimmed,e=e.children;return useSelector(selectIsFullscreenEnabled)?jsxRuntimeExports.jsx(FullscreenPortal,{dataTest:"ac-widget",dimmed:!!r,panelId:"PROCESSING_CENTER",children:e}):jsxRuntimeExports.jsx("div",{role:"presentation","data-test":"ac-widget",className:classNames(t.root,t.panel),children:e})};function _array_like_to_array(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _array_with_holes(e){if(Array.isArray(e))return e}function _iterable_to_array_limit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,a=[],o=!0,i=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){i=!0,s=e}finally{try{o||null==r.return||r.return()}finally{if(i)throw s}}return a}}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _sliced_to_array(e,t){return _array_with_holes(e)||_iterable_to_array_limit(e,t)||_unsupported_iterable_to_array(e,t)||_non_iterable_rest()}function _unsupported_iterable_to_array(e,t){var r;if(e)return"string"==typeof e?_array_like_to_array(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_array_like_to_array(e,t):void 0}var appBarHeight=55,headerHeight=64,borderBottom=5,useStyles=makeStyles()(function(e){return{root:{width:"100%",position:"relative"},panel:{backgroundColor:e.palette.background.paper,boxShadow:"0px 0px 12px rgba(0, 0, 0, 0.25)",height:"100%"},fullScreen:{position:"fixed",width:"100%",height:"100vh",top:0,left:0,right:0,bottom:0},overlay:{backgroundColor:e.palette.grey[50],opacity:"0.5 !important",height:"100%",position:"absolute",top:0,width:"100%"}}}),MainLayout=function(e){var e=e.hidePanel,t=_sliced_to_array(reactExports.useState(!0),2),r=t[0],n=t[1],t=useSelector(selectIsFullscreenEnabled),s=useStyles().classes,a=useSelector(panelsSelector)||[],o=_sliced_to_array(reactExports.useState(ProcessingCenterView.jobs),2),i=o[0],o=o[1],a=a.find(function(e){return"PROCESSING_CENTER"===e.panelId})||{panelConfig:{dimmed:0}},a=0<(null===a||null==(a=a.panelConfig)?void 0:a.dimmed),t="calc(100vh - ".concat(t?25:appBarHeight+borderBottom,"px - ").concat(headerHeight,"px)");return jsxRuntimeExports.jsxs(Container,{dimmed:a,classes:s,children:[jsxRuntimeExports.jsx(Header$1,{height:headerHeight,hidePanel:e,isNavExpanded:r,onLeftNavigationToggle:function(){n(!r)}}),jsxRuntimeExports.jsx(MainTabPanel$1,{currentView:i,setCurrentView:o,height:t,isNavExpanded:r})]})};function _define_property(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _object_spread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);(n="function"==typeof Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})):n).forEach(function(e){_define_property(t,e,r[e])})}return t}var Content=function(e){var t=useSelector(selectApiConfigs);return t.apiRoot&&t.graphQLEndpoint&&t.token?jsxRuntimeExports.jsx(MainLayout,_object_spread({},e)):null},ProcessingCenterBrowse=function(e){return jsxRuntimeExports.jsx(AIWareThemeProvider,{children:jsxRuntimeExports.jsx(DynamicModuleLoader,{modules:[getBrowsePanelModule(),getProcessingCenterJobsModule(),getProcessingCenterTasksModule()],children:jsxRuntimeExports.jsx(AIWareIntlProvider,{children:jsxRuntimeExports.jsx(Content,_object_spread({},e))})})})};export{ProcessingCenterBrowse,actions,selectors as applicationSelectors,getBrowsePanelModule,initialState,namespace,rootReducer};
|