aiware-js 1.0.0-master.1276 → 1.0.0-master.1277
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/index.esm.css.gz +0 -0
- package/index.esm.min.css +92 -92
- package/index.esm.min.css.gz +0 -0
- package/js-core.esm112.js +1 -1
- package/js-core.esm112.js.gz +0 -0
- package/js-core.esm18.js +1 -1
- package/js-core.esm18.js.gz +0 -0
- package/js-core.esm71.js +1 -1
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm76.js +2 -2
- package/js-core.esm76.js.gz +0 -0
- package/js-core.umd.js +5 -5
- package/js-core.umd.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
|
@@ -288,98 +288,6 @@
|
|
|
288
288
|
background-color: #fff;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
/* dosis-200normal - latin */
|
|
292
|
-
@font-face {
|
|
293
|
-
font-family: 'Dosis';
|
|
294
|
-
font-style: normal;
|
|
295
|
-
font-display: swap;
|
|
296
|
-
font-weight: 200;
|
|
297
|
-
src:
|
|
298
|
-
local('Dosis Extra Light '),
|
|
299
|
-
local('Dosis-Extra Light'),
|
|
300
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
301
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* dosis-300normal - latin */
|
|
305
|
-
@font-face {
|
|
306
|
-
font-family: 'Dosis';
|
|
307
|
-
font-style: normal;
|
|
308
|
-
font-display: swap;
|
|
309
|
-
font-weight: 300;
|
|
310
|
-
src:
|
|
311
|
-
local('Dosis Light '),
|
|
312
|
-
local('Dosis-Light'),
|
|
313
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
314
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* dosis-400normal - latin */
|
|
318
|
-
@font-face {
|
|
319
|
-
font-family: 'Dosis';
|
|
320
|
-
font-style: normal;
|
|
321
|
-
font-display: swap;
|
|
322
|
-
font-weight: 400;
|
|
323
|
-
src:
|
|
324
|
-
local('Dosis Regular '),
|
|
325
|
-
local('Dosis-Regular'),
|
|
326
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
327
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* dosis-500normal - latin */
|
|
331
|
-
@font-face {
|
|
332
|
-
font-family: 'Dosis';
|
|
333
|
-
font-style: normal;
|
|
334
|
-
font-display: swap;
|
|
335
|
-
font-weight: 500;
|
|
336
|
-
src:
|
|
337
|
-
local('Dosis Medium '),
|
|
338
|
-
local('Dosis-Medium'),
|
|
339
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
340
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/* dosis-600normal - latin */
|
|
344
|
-
@font-face {
|
|
345
|
-
font-family: 'Dosis';
|
|
346
|
-
font-style: normal;
|
|
347
|
-
font-display: swap;
|
|
348
|
-
font-weight: 600;
|
|
349
|
-
src:
|
|
350
|
-
local('Dosis SemiBold '),
|
|
351
|
-
local('Dosis-SemiBold'),
|
|
352
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
353
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/* dosis-700normal - latin */
|
|
357
|
-
@font-face {
|
|
358
|
-
font-family: 'Dosis';
|
|
359
|
-
font-style: normal;
|
|
360
|
-
font-display: swap;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
src:
|
|
363
|
-
local('Dosis Bold '),
|
|
364
|
-
local('Dosis-Bold'),
|
|
365
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
366
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* dosis-800normal - latin */
|
|
370
|
-
@font-face {
|
|
371
|
-
font-family: 'Dosis';
|
|
372
|
-
font-style: normal;
|
|
373
|
-
font-display: swap;
|
|
374
|
-
font-weight: 800;
|
|
375
|
-
src:
|
|
376
|
-
local('Dosis ExtraBold '),
|
|
377
|
-
local('Dosis-ExtraBold'),
|
|
378
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
379
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
291
|
/* nunito-200normal - latin */
|
|
384
292
|
@font-face {
|
|
385
293
|
font-family: 'Nunito';
|
|
@@ -563,6 +471,98 @@
|
|
|
563
471
|
}
|
|
564
472
|
|
|
565
473
|
|
|
474
|
+
/* dosis-200normal - latin */
|
|
475
|
+
@font-face {
|
|
476
|
+
font-family: 'Dosis';
|
|
477
|
+
font-style: normal;
|
|
478
|
+
font-display: swap;
|
|
479
|
+
font-weight: 200;
|
|
480
|
+
src:
|
|
481
|
+
local('Dosis Extra Light '),
|
|
482
|
+
local('Dosis-Extra Light'),
|
|
483
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
484
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* dosis-300normal - latin */
|
|
488
|
+
@font-face {
|
|
489
|
+
font-family: 'Dosis';
|
|
490
|
+
font-style: normal;
|
|
491
|
+
font-display: swap;
|
|
492
|
+
font-weight: 300;
|
|
493
|
+
src:
|
|
494
|
+
local('Dosis Light '),
|
|
495
|
+
local('Dosis-Light'),
|
|
496
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
497
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* dosis-400normal - latin */
|
|
501
|
+
@font-face {
|
|
502
|
+
font-family: 'Dosis';
|
|
503
|
+
font-style: normal;
|
|
504
|
+
font-display: swap;
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
src:
|
|
507
|
+
local('Dosis Regular '),
|
|
508
|
+
local('Dosis-Regular'),
|
|
509
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
510
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* dosis-500normal - latin */
|
|
514
|
+
@font-face {
|
|
515
|
+
font-family: 'Dosis';
|
|
516
|
+
font-style: normal;
|
|
517
|
+
font-display: swap;
|
|
518
|
+
font-weight: 500;
|
|
519
|
+
src:
|
|
520
|
+
local('Dosis Medium '),
|
|
521
|
+
local('Dosis-Medium'),
|
|
522
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
523
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/* dosis-600normal - latin */
|
|
527
|
+
@font-face {
|
|
528
|
+
font-family: 'Dosis';
|
|
529
|
+
font-style: normal;
|
|
530
|
+
font-display: swap;
|
|
531
|
+
font-weight: 600;
|
|
532
|
+
src:
|
|
533
|
+
local('Dosis SemiBold '),
|
|
534
|
+
local('Dosis-SemiBold'),
|
|
535
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
536
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* dosis-700normal - latin */
|
|
540
|
+
@font-face {
|
|
541
|
+
font-family: 'Dosis';
|
|
542
|
+
font-style: normal;
|
|
543
|
+
font-display: swap;
|
|
544
|
+
font-weight: 700;
|
|
545
|
+
src:
|
|
546
|
+
local('Dosis Bold '),
|
|
547
|
+
local('Dosis-Bold'),
|
|
548
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
549
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* dosis-800normal - latin */
|
|
553
|
+
@font-face {
|
|
554
|
+
font-family: 'Dosis';
|
|
555
|
+
font-style: normal;
|
|
556
|
+
font-display: swap;
|
|
557
|
+
font-weight: 800;
|
|
558
|
+
src:
|
|
559
|
+
local('Dosis ExtraBold '),
|
|
560
|
+
local('Dosis-ExtraBold'),
|
|
561
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
562
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
|
|
566
566
|
/*!
|
|
567
567
|
* Cropper.js v1.5.9
|
|
568
568
|
* https://fengyuanchen.github.io/cropperjs
|
package/index.esm.css.gz
CHANGED
|
Binary file
|
package/index.esm.min.css
CHANGED
|
@@ -288,98 +288,6 @@
|
|
|
288
288
|
background-color: #fff;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
/* dosis-200normal - latin */
|
|
292
|
-
@font-face {
|
|
293
|
-
font-family: 'Dosis';
|
|
294
|
-
font-style: normal;
|
|
295
|
-
font-display: swap;
|
|
296
|
-
font-weight: 200;
|
|
297
|
-
src:
|
|
298
|
-
local('Dosis Extra Light '),
|
|
299
|
-
local('Dosis-Extra Light'),
|
|
300
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
301
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* dosis-300normal - latin */
|
|
305
|
-
@font-face {
|
|
306
|
-
font-family: 'Dosis';
|
|
307
|
-
font-style: normal;
|
|
308
|
-
font-display: swap;
|
|
309
|
-
font-weight: 300;
|
|
310
|
-
src:
|
|
311
|
-
local('Dosis Light '),
|
|
312
|
-
local('Dosis-Light'),
|
|
313
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
314
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* dosis-400normal - latin */
|
|
318
|
-
@font-face {
|
|
319
|
-
font-family: 'Dosis';
|
|
320
|
-
font-style: normal;
|
|
321
|
-
font-display: swap;
|
|
322
|
-
font-weight: 400;
|
|
323
|
-
src:
|
|
324
|
-
local('Dosis Regular '),
|
|
325
|
-
local('Dosis-Regular'),
|
|
326
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
327
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* dosis-500normal - latin */
|
|
331
|
-
@font-face {
|
|
332
|
-
font-family: 'Dosis';
|
|
333
|
-
font-style: normal;
|
|
334
|
-
font-display: swap;
|
|
335
|
-
font-weight: 500;
|
|
336
|
-
src:
|
|
337
|
-
local('Dosis Medium '),
|
|
338
|
-
local('Dosis-Medium'),
|
|
339
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
340
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/* dosis-600normal - latin */
|
|
344
|
-
@font-face {
|
|
345
|
-
font-family: 'Dosis';
|
|
346
|
-
font-style: normal;
|
|
347
|
-
font-display: swap;
|
|
348
|
-
font-weight: 600;
|
|
349
|
-
src:
|
|
350
|
-
local('Dosis SemiBold '),
|
|
351
|
-
local('Dosis-SemiBold'),
|
|
352
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
353
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/* dosis-700normal - latin */
|
|
357
|
-
@font-face {
|
|
358
|
-
font-family: 'Dosis';
|
|
359
|
-
font-style: normal;
|
|
360
|
-
font-display: swap;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
src:
|
|
363
|
-
local('Dosis Bold '),
|
|
364
|
-
local('Dosis-Bold'),
|
|
365
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
366
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* dosis-800normal - latin */
|
|
370
|
-
@font-face {
|
|
371
|
-
font-family: 'Dosis';
|
|
372
|
-
font-style: normal;
|
|
373
|
-
font-display: swap;
|
|
374
|
-
font-weight: 800;
|
|
375
|
-
src:
|
|
376
|
-
local('Dosis ExtraBold '),
|
|
377
|
-
local('Dosis-ExtraBold'),
|
|
378
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
379
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
291
|
/* nunito-200normal - latin */
|
|
384
292
|
@font-face {
|
|
385
293
|
font-family: 'Nunito';
|
|
@@ -563,6 +471,98 @@
|
|
|
563
471
|
}
|
|
564
472
|
|
|
565
473
|
|
|
474
|
+
/* dosis-200normal - latin */
|
|
475
|
+
@font-face {
|
|
476
|
+
font-family: 'Dosis';
|
|
477
|
+
font-style: normal;
|
|
478
|
+
font-display: swap;
|
|
479
|
+
font-weight: 200;
|
|
480
|
+
src:
|
|
481
|
+
local('Dosis Extra Light '),
|
|
482
|
+
local('Dosis-Extra Light'),
|
|
483
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
484
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* dosis-300normal - latin */
|
|
488
|
+
@font-face {
|
|
489
|
+
font-family: 'Dosis';
|
|
490
|
+
font-style: normal;
|
|
491
|
+
font-display: swap;
|
|
492
|
+
font-weight: 300;
|
|
493
|
+
src:
|
|
494
|
+
local('Dosis Light '),
|
|
495
|
+
local('Dosis-Light'),
|
|
496
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
497
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* dosis-400normal - latin */
|
|
501
|
+
@font-face {
|
|
502
|
+
font-family: 'Dosis';
|
|
503
|
+
font-style: normal;
|
|
504
|
+
font-display: swap;
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
src:
|
|
507
|
+
local('Dosis Regular '),
|
|
508
|
+
local('Dosis-Regular'),
|
|
509
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
510
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* dosis-500normal - latin */
|
|
514
|
+
@font-face {
|
|
515
|
+
font-family: 'Dosis';
|
|
516
|
+
font-style: normal;
|
|
517
|
+
font-display: swap;
|
|
518
|
+
font-weight: 500;
|
|
519
|
+
src:
|
|
520
|
+
local('Dosis Medium '),
|
|
521
|
+
local('Dosis-Medium'),
|
|
522
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
523
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/* dosis-600normal - latin */
|
|
527
|
+
@font-face {
|
|
528
|
+
font-family: 'Dosis';
|
|
529
|
+
font-style: normal;
|
|
530
|
+
font-display: swap;
|
|
531
|
+
font-weight: 600;
|
|
532
|
+
src:
|
|
533
|
+
local('Dosis SemiBold '),
|
|
534
|
+
local('Dosis-SemiBold'),
|
|
535
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
536
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* dosis-700normal - latin */
|
|
540
|
+
@font-face {
|
|
541
|
+
font-family: 'Dosis';
|
|
542
|
+
font-style: normal;
|
|
543
|
+
font-display: swap;
|
|
544
|
+
font-weight: 700;
|
|
545
|
+
src:
|
|
546
|
+
local('Dosis Bold '),
|
|
547
|
+
local('Dosis-Bold'),
|
|
548
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
549
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* dosis-800normal - latin */
|
|
553
|
+
@font-face {
|
|
554
|
+
font-family: 'Dosis';
|
|
555
|
+
font-style: normal;
|
|
556
|
+
font-display: swap;
|
|
557
|
+
font-weight: 800;
|
|
558
|
+
src:
|
|
559
|
+
local('Dosis ExtraBold '),
|
|
560
|
+
local('Dosis-ExtraBold'),
|
|
561
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
562
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
|
|
566
566
|
/*!
|
|
567
567
|
* Cropper.js v1.5.9
|
|
568
568
|
* https://fengyuanchen.github.io/cropperjs
|
package/index.esm.min.css.gz
CHANGED
|
Binary file
|
package/js-core.esm112.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as selectDefaultApplication,x as selectOlpEnabled,y as selectAutoApproveEnginesEnabled,z as selectDataRetentionPolicyEnabled,B as
|
|
1
|
+
import{w as selectDefaultApplication,x as selectOlpEnabled,y as selectAutoApproveEnginesEnabled,z as selectDataRetentionPolicyEnabled,B as selectDataRetentionPolicyDays,D as selectPackgeGrantsEnabled,E as selectApplications,F as actions$1,S as SHARED_TEXT,R as RowSetting,l as actions}from"./js-core.esm76.js";import{Z as useSelector,r as react,j as jsxRuntime,V as Box}from"./js-core.esm.js";import{T as Typography,U as Select,V as MenuItem,bl as Edit,g as Button,O as OrgFilled}from"./js-core.esm4.js";import{b as Stack,d as Switch,I as IconButton,c as FixedSizeList,C as Check,L as ListItemIcon,A as Avatar,p as panelComponents}from"./js-core.esm5.js";import{L as ListItem,a as ListItemText}from"./js-core.esm3.js";import{L as ListItemButton}from"./js-core.esm2.js";import{u as useDispatch}from"./js-core.esm6.js";import"./js-core.esm27.js";const PanelModal=panelComponents["modal"],FirstLoadApplicationModal=({id:t,isOpen:e,applications:i,onSelectedApplication:n,handleClose:s,defaultLoadApplication:o})=>{const[a,r]=react.exports.useState(null==(o=null==o?void 0:o.primaryResource)?void 0:o.resourceId);return jsxRuntime.exports.jsx(PanelModal,{"data-test":"first-application-modal-"+t,sx:{maxHeight:"95vh"},ContainerProps:{sx:{width:"100%",padding:"15px 30px",boxSizing:"border-box",overflow:"hidden"}},isOpen:e,onClose:s,title:"First Load Application",content:jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between"}},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"column",alignItems:"center",sx:{height:"90%",position:"relative",overflow:"auto"}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px",marginBottom:"30px"}},{children:SHARED_TEXT.orgSettingsStepModal.firstLoadApplicationModalDescription()})),jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:250,maxWidth:550,bgcolor:"background.paper"}},{children:jsxRuntime.exports.jsx(FixedSizeList,Object.assign({height:250,width:"100%",itemSize:60,itemCount:i.length,overscanCount:5},{children:({index:e,style:t})=>{var s=(null==(s=null==(s=i[e])?void 0:s.primaryResource)?void 0:s.resourceId)===a;return jsxRuntime.exports.jsx(ListItem,Object.assign({style:t,component:"div",disablePadding:!0,secondaryAction:s&&jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{marginRight:"10px"}},{children:jsxRuntime.exports.jsx(Check,{sx:{color:"rgba(56, 142, 60, 1)"}})}))},{children:jsxRuntime.exports.jsx(Stack,Object.assign({direction:"row",justifyContent:"space-between",sx:{width:"100%"}},{children:jsxRuntime.exports.jsxs(ListItemButton,Object.assign({selected:s,onClick:()=>{var t;r(null==(t=null==(t=i[e])?void 0:t.primaryResource)?void 0:t.resourceId),n(i[e])}},{children:[jsxRuntime.exports.jsx(ListItemIcon,Object.assign({sx:{marginRight:"20px"}},{children:jsxRuntime.exports.jsx(Avatar,{children:jsxRuntime.exports.jsx(OrgFilled,{})})})),jsxRuntime.exports.jsx(ListItemText,{primary:null==(t=i[e])?void 0:t.name})]}))}))}),e)}}))}))]})),jsxRuntime.exports.jsx(Footer$1,{onSave:s,isSaveDisabled:!1})]}))})},Footer$1=({onSave:t,isSaveDisabled:e})=>jsxRuntime.exports.jsx(Stack,Object.assign({direction:"row",sx:{padding:"0 0 10px 30px",display:"flex",justifyContent:"flex-end",height:"10%",alignItems:"center"}},{children:jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,disabled:e,variant:"contained","data-testid":"admin-center-custom-login--save-btn"},{children:SHARED_TEXT.orgSettingsStepModal.doneBtn()}))})),OrganizationSettingsStep=()=>{const e=useDispatch(),s=useSelector(selectDefaultApplication),[t,i]=react.exports.useState(s),[n,o]=react.exports.useState(!1),a=useSelector(selectOlpEnabled),r=useSelector(selectAutoApproveEnginesEnabled),c=useSelector(selectDataRetentionPolicyEnabled),p=useSelector(selectDataRetentionPolicyDays),l=useSelector(selectPackgeGrantsEnabled);var x=useSelector(selectApplications);react.exports.useEffect(()=>{e(actions$1.fetchApplicationsInit())},[]),react.exports.useEffect(()=>{var t;s&&e(actions$1.setFirstLoadApplicationId(null==(t=null===s||void 0===s?void 0:s.primaryResource)?void 0:t.resourceId))},[]);const d=react.exports.useCallback(t=>{i(t),e(actions$1.setFirstLoadApplicationId(null==(t=null==t?void 0:t.primaryResource)?void 0:t.resourceId))},[]);return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between",paddingTop:"30px",paddingBottom:"30px"}},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"column",gap:"20px",sx:{height:"90%",position:"relative",overflow:"auto"}},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({sx:{marginBottom:"10px"}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginBottom:"5px",marginTop:"0"}},{children:SHARED_TEXT.orgSettingsStep.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.orgSettingsStep.description()}))]})),jsxRuntime.exports.jsxs(Box,Object.assign({sx:{paddingLeft:"10px"}},{children:[jsxRuntime.exports.jsx(RowSetting,{isFirstItem:!0,title:SHARED_TEXT.orgSettingsStep.packageGrantsTitle(),description:SHARED_TEXT.orgSettingsStep.packageGrantsDescription(),renderRightComponent:()=>jsxRuntime.exports.jsx(Switch,{"data-testid":"settings-enable-package-grants",checked:l,onChange:()=>{e(actions$1.setBooleanSetting({key:"packageGrantsEnabled",value:!l}))}})}),jsxRuntime.exports.jsx(RowSetting,{title:SHARED_TEXT.orgSettingsStep.olpTitle(),description:SHARED_TEXT.orgSettingsStep.olpDescription(),renderRightComponent:()=>jsxRuntime.exports.jsx(Switch,{"data-testid":"settings-is-olp-enabled",checked:a,onChange:()=>{e(actions$1.setBooleanSetting({key:"olpEnabled",value:!a}))}})}),jsxRuntime.exports.jsx(RowSetting,{title:SHARED_TEXT.orgSettingsStep.autoApproveEnginesSettingTitle(),description:SHARED_TEXT.orgSettingsStep.autoApproveEnginesSettingDescription(),renderRightComponent:()=>jsxRuntime.exports.jsx(Switch,{"data-testid":"settings-is-auto-approve-engines-enabled",checked:r,onChange:()=>{e(actions$1.setBooleanSetting({key:"autoApproveEnginesEnabled",value:!r}))}})}),jsxRuntime.exports.jsx(RowSetting,{title:SHARED_TEXT.orgSettingsStep.dataRetentionPolicySettingTitle(),description:SHARED_TEXT.orgSettingsStep.dataRetentionPolicySettingDescription(),renderLeftComponent:()=>jsxRuntime.exports.jsxs(Select,Object.assign({"data-testid":"settings-data-retention-policy",disabled:!c,value:p,onChange:t=>{t=Number(t.target.value);e(actions$1.setDataRetentionPolicyDays(t))},size:"small",sx:{width:"230px",marginTop:"20px"}},{children:[jsxRuntime.exports.jsx(MenuItem,Object.assign({value:"30","data-testid":"settings-data-retention-policy-30"},{children:SHARED_TEXT.orgSettingsStep.dataRetentionPolicySetting30Days()})),jsxRuntime.exports.jsx(MenuItem,Object.assign({value:"90","data-testid":"settings-data-retention-policy-90"},{children:SHARED_TEXT.orgSettingsStep.dataRetentionPolicySetting90Days()})),jsxRuntime.exports.jsx(MenuItem,Object.assign({value:"457","data-testid":"settings-data-retention-policy-457"},{children:SHARED_TEXT.orgSettingsStep.dataRetentionPolicySetting15Months()}))]})),renderRightComponent:()=>jsxRuntime.exports.jsx(Switch,{"data-testid":"settings-is-data-retention-enabled",checked:c,onChange:()=>{e(actions$1.setBooleanSetting({key:"dataRetentionPolicyEnabled",value:!c}))}})}),jsxRuntime.exports.jsx(RowSetting,{"data-testid":"settings-first-load-application",textDirection:"row",bottomBorder:!1,renderLeftComponent:()=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.orgSettingsStep.firstLoadApplicationSettingTitle()})),jsxRuntime.exports.jsx(Typography,Object.assign({sx:{fontWeight:600,fontSize:"14px",marginLeft:"20px"}},{children:(null===t||void 0===t?void 0:t.name)||"--"}))]}),renderRightComponent:()=>jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"settings-first-load-application-button",onClick:()=>o(!n)},{children:jsxRuntime.exports.jsx(Edit,{})}))})]})),jsxRuntime.exports.jsx(FirstLoadApplicationModal,{id:"test",applications:x,isOpen:n,onSelectedApplication:t=>{d(t)},handleClose:()=>o(!1),defaultLoadApplication:s})]})),jsxRuntime.exports.jsx(Footer,{onBack:()=>e(actions.setActiveStep(2)),onSave:()=>{e(actions.saveCreateOrgInit())},isSaveDisabled:!1})]}))},Footer=({onBack:t,onSave:e,isSaveDisabled:s})=>jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",sx:{padding:"60px 0 0 30px",display:"flex",justifyContent:"flex-end",alignItems:"center"}},{children:[jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,disabled:!1,variant:"text","data-testid":"action-button.back",sx:{marginRight:"15px"}},{children:SHARED_TEXT.orgSettingsStep.backBtn()})),jsxRuntime.exports.jsx(Button,Object.assign({onClick:e,disabled:s,variant:"contained","data-testid":"action-button.save"},{children:SHARED_TEXT.orgSettingsStep.saveBtn()}))]}));export{OrganizationSettingsStep as default};
|
package/js-core.esm112.js.gz
CHANGED
|
Binary file
|
package/js-core.esm18.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as unmountPanel$1,a1 as hidePanel$1,ea as unmountAllPanel$1,eb as getUniqueID,ap as mountPanel$1,bP as AvailableWidgets,bN as updatePanelMicroFrontendProps,bO as setData,ec as mountWidget,ed as unmountWidget,ee as updateTokenRequest,b5 as logout,ef as updateActivityStatus,eg as HelpCenter,B as takeEvery$1,eh as mountPanelForResponse$1,ei as DataCenter,C as select}from"./js-core.esm.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm19.js";import"./js-core.esm4.js";import"./js-core.esm6.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=l=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;l.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return l.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,commit:"
|
|
1
|
+
import{ao as unmountPanel$1,a1 as hidePanel$1,ea as unmountAllPanel$1,eb as getUniqueID,ap as mountPanel$1,bP as AvailableWidgets,bN as updatePanelMicroFrontendProps,bO as setData,ec as mountWidget,ed as unmountWidget,ee as updateTokenRequest,b5 as logout,ef as updateActivityStatus,eg as HelpCenter,B as takeEvery$1,eh as mountPanelForResponse$1,ei as DataCenter,C as select}from"./js-core.esm.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm19.js";import"./js-core.esm4.js";import"./js-core.esm6.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=l=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;l.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return l.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,commit:"db7376437a"})};export{attachSdkToWindow,hidePanel,mountPanel,unmountAllPanel,unmountPanel};
|
package/js-core.esm18.js.gz
CHANGED
|
Binary file
|