@apia/theme 4.0.45 → 5.0.0
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/dist/{index-Xe8KO81h.js → index-Rlqjgy-g.js} +1689 -552
- package/dist/index-Rlqjgy-g.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{styles-lzrkBfXz.js → styles-C1r5gTas.js} +3 -3
- package/dist/{styles-lzrkBfXz.js.map → styles-C1r5gTas.js.map} +1 -1
- package/package.json +3 -3
- package/dist/index-Xe8KO81h.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { Box, ThemeUIProvider, useThemeUI, ThemeProvider } from 'theme-ui';
|
|
1
2
|
import cloneDeep from 'lodash-es/cloneDeep';
|
|
2
3
|
import tinycolor from 'tinycolor2';
|
|
3
4
|
import merge from 'lodash-es/merge';
|
|
4
5
|
import { jsxs, jsx, Fragment } from 'theme-ui/jsx-runtime';
|
|
5
|
-
import { Box, ThemeUIProvider, useThemeUI, ThemeProvider } from 'theme-ui';
|
|
6
6
|
import { forwardRef, useState, useRef, useMemo, Suspense } from 'react';
|
|
7
7
|
import '@theme-ui/match-media';
|
|
8
8
|
import { useMount, setValueByPath, EventEmitter } from '@apia/util';
|
|
9
|
-
import { spacing as spacing$1, responsive as responsive$2, getOneColorState as getOneColorState$1, focusOutline as focusOutline$1, getColorsAndStatesByPath as getColorsAndStatesByPath$1 } from '@apia/theme';
|
|
9
|
+
import { spacing as spacing$1, responsive as responsive$2, getOneColorState as getOneColorState$1, focusOutline as focusOutline$1, getColorsAndStatesByPath as getColorsAndStatesByPath$1, get } from '@apia/theme';
|
|
10
10
|
import { keyframes } from '@emotion/react';
|
|
11
11
|
|
|
12
12
|
function defaultLighten(color, ratio) {
|
|
@@ -2616,12 +2616,81 @@ const deletableInput = {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
2618
|
|
|
2619
|
+
const formGrid = {
|
|
2620
|
+
display: "grid",
|
|
2621
|
+
gridTemplateColumns: "1fr 1fr 1fr",
|
|
2622
|
+
gap: 5,
|
|
2623
|
+
".fieldLabel__label": {
|
|
2624
|
+
whiteSpace: "nowrap",
|
|
2625
|
+
textOverflow: "ellipsis",
|
|
2626
|
+
overflow: "hidden"
|
|
2627
|
+
},
|
|
2628
|
+
".fieldLabel": {
|
|
2629
|
+
overflow: "hidden",
|
|
2630
|
+
"& > div": {
|
|
2631
|
+
display: "flex",
|
|
2632
|
+
alignItems: "center"
|
|
2633
|
+
},
|
|
2634
|
+
".autocomplete__keyhandler": {
|
|
2635
|
+
width: "100%"
|
|
2636
|
+
}
|
|
2637
|
+
},
|
|
2638
|
+
".fieldLabel__error": {
|
|
2639
|
+
color: "palette.error.main",
|
|
2640
|
+
fontWeight: "bold"
|
|
2641
|
+
},
|
|
2642
|
+
".field_with_error": {
|
|
2643
|
+
input: {
|
|
2644
|
+
// ...getfield <---- poner aqcá los estilos de error
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
".span_all": {
|
|
2648
|
+
gridColumn: "span 3"
|
|
2649
|
+
},
|
|
2650
|
+
".extra_gap": {
|
|
2651
|
+
marginY: 6
|
|
2652
|
+
},
|
|
2653
|
+
".error": {
|
|
2654
|
+
input: {
|
|
2655
|
+
borderLeft: "8px solid darkred !important"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2658
|
+
".gap_before": {
|
|
2659
|
+
marginTop: 6
|
|
2660
|
+
},
|
|
2661
|
+
".gap_after": {
|
|
2662
|
+
marginBottom: 6
|
|
2663
|
+
},
|
|
2664
|
+
".checkbox": {
|
|
2665
|
+
display: "flex",
|
|
2666
|
+
gap: 4,
|
|
2667
|
+
flexDirection: "row-reverse",
|
|
2668
|
+
alignItems: "center",
|
|
2669
|
+
justifyContent: "start",
|
|
2670
|
+
"& > *": {
|
|
2671
|
+
flexShrink: 0
|
|
2672
|
+
}
|
|
2673
|
+
},
|
|
2674
|
+
".span_with_boxes": {
|
|
2675
|
+
alignItems: "start",
|
|
2676
|
+
gridColumn: "span 3",
|
|
2677
|
+
display: "flex",
|
|
2678
|
+
flexDirection: "column",
|
|
2679
|
+
gap: 4,
|
|
2680
|
+
".boxes": {
|
|
2681
|
+
display: "flex",
|
|
2682
|
+
gap: 4
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2619
2687
|
const forms$1 = (theme) => {
|
|
2620
2688
|
return {
|
|
2621
2689
|
checkbox,
|
|
2622
2690
|
customCheckbox,
|
|
2623
2691
|
dateInput,
|
|
2624
2692
|
deletableInput,
|
|
2693
|
+
formGrid,
|
|
2625
2694
|
iconInput,
|
|
2626
2695
|
input,
|
|
2627
2696
|
label,
|
|
@@ -2762,12 +2831,14 @@ const apiaApi = {
|
|
|
2762
2831
|
};
|
|
2763
2832
|
|
|
2764
2833
|
const confirm = {
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2834
|
+
"&.confirm[class]": {
|
|
2835
|
+
display: "flex",
|
|
2836
|
+
flexDirection: "column",
|
|
2837
|
+
gap: spacing$1(6),
|
|
2838
|
+
height: "100%",
|
|
2839
|
+
width: "100%",
|
|
2840
|
+
overflow: "auto"
|
|
2841
|
+
},
|
|
2771
2842
|
".confirm__content": {
|
|
2772
2843
|
overflow: "auto",
|
|
2773
2844
|
flexBasis: "100%",
|
|
@@ -3464,7 +3535,14 @@ const primary$4 = (theme) => {
|
|
|
3464
3535
|
height: "30px",
|
|
3465
3536
|
padding: "3px",
|
|
3466
3537
|
border: "none",
|
|
3467
|
-
background: "transparent"
|
|
3538
|
+
background: "transparent",
|
|
3539
|
+
svg: {
|
|
3540
|
+
transform: "rotate(0deg)",
|
|
3541
|
+
transition: "transform 200ms"
|
|
3542
|
+
},
|
|
3543
|
+
"&.expanded svg": {
|
|
3544
|
+
transform: `rotate(90deg)`
|
|
3545
|
+
}
|
|
3468
3546
|
}
|
|
3469
3547
|
},
|
|
3470
3548
|
"&.locked": {
|
|
@@ -4550,6 +4628,9 @@ const accordion = {
|
|
|
4550
4628
|
borderTop: "1px solid",
|
|
4551
4629
|
borderTopColor: "palette.border.ghost"
|
|
4552
4630
|
},
|
|
4631
|
+
".accordion__item__content": {
|
|
4632
|
+
background: "palette.background.paper"
|
|
4633
|
+
},
|
|
4553
4634
|
".accordion__item__content > *": {
|
|
4554
4635
|
p: 4,
|
|
4555
4636
|
boxShadow: "default",
|
|
@@ -5346,268 +5427,854 @@ const scheduler = {
|
|
|
5346
5427
|
/* PREPEND HERE */
|
|
5347
5428
|
};
|
|
5348
5429
|
|
|
5349
|
-
const
|
|
5350
|
-
|
|
5351
|
-
accordion,
|
|
5352
|
-
autocomplete,
|
|
5353
|
-
datePicker,
|
|
5354
|
-
pagination,
|
|
5355
|
-
chat: chat$1,
|
|
5356
|
-
scheduler,
|
|
5357
|
-
toolbar,
|
|
5358
|
-
aiMessage,
|
|
5359
|
-
infoButton,
|
|
5360
|
-
filters,
|
|
5361
|
-
fileCard
|
|
5362
|
-
};
|
|
5363
|
-
|
|
5364
|
-
const labelBox = {
|
|
5365
|
-
alignItems: "center",
|
|
5366
|
-
border: "1px solid",
|
|
5367
|
-
borderColor: "palette.border.field",
|
|
5368
|
-
display: "flex",
|
|
5369
|
-
gap: spacing$1(3),
|
|
5370
|
-
justifyContent: "space-between",
|
|
5371
|
-
p: spacing$1(3),
|
|
5372
|
-
pl: spacing$1(5),
|
|
5373
|
-
"&.selected": {
|
|
5374
|
-
background: (theme) => getOneColorState$1("palette.background.paper", "selected", theme.palette)
|
|
5375
|
-
},
|
|
5376
|
-
"& > .labelAndIcon": {
|
|
5430
|
+
const permissions = {
|
|
5431
|
+
".uploader__permissions_selection": {
|
|
5377
5432
|
display: "flex",
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5433
|
+
flexDirection: "row",
|
|
5434
|
+
alignItems: "end",
|
|
5435
|
+
gap: 4,
|
|
5436
|
+
div: {
|
|
5437
|
+
width: "100%"
|
|
5382
5438
|
},
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
minWidth: "iconMd"
|
|
5439
|
+
select: {
|
|
5440
|
+
width: "100%"
|
|
5386
5441
|
},
|
|
5387
|
-
|
|
5388
|
-
|
|
5442
|
+
button: {
|
|
5443
|
+
width: "70%"
|
|
5444
|
+
},
|
|
5445
|
+
span: {
|
|
5446
|
+
fontWeight: "normal"
|
|
5447
|
+
}
|
|
5448
|
+
},
|
|
5449
|
+
".permissions__list": {
|
|
5450
|
+
display: "flex",
|
|
5451
|
+
flexDirection: "column",
|
|
5452
|
+
gap: 3,
|
|
5453
|
+
ul: {
|
|
5454
|
+
borderRadius: "default",
|
|
5455
|
+
border: "1px solid",
|
|
5456
|
+
borderColor: "palette.border.field",
|
|
5457
|
+
background: "palette.background.paper"
|
|
5389
5458
|
}
|
|
5390
5459
|
}
|
|
5391
5460
|
};
|
|
5392
5461
|
|
|
5393
|
-
const
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
const formsAssistant = {
|
|
5399
|
-
modalRow: {
|
|
5400
|
-
"&": {
|
|
5401
|
-
position: "relative",
|
|
5402
|
-
'div[data-variant="layout.ai.execution.formsAssistant.buttonsDiv"]': {
|
|
5403
|
-
position: "absolute",
|
|
5404
|
-
top: "7%",
|
|
5405
|
-
right: "15%"
|
|
5406
|
-
}
|
|
5407
|
-
}
|
|
5462
|
+
const collapsiblePanel = {
|
|
5463
|
+
".collapsiblePanel": {
|
|
5464
|
+
display: "flex",
|
|
5465
|
+
flexDirection: "column"
|
|
5408
5466
|
},
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5467
|
+
".collapsiblePanel__label": {
|
|
5468
|
+
"& span": {
|
|
5469
|
+
fontWeight: 700
|
|
5470
|
+
},
|
|
5471
|
+
"& button > span": {
|
|
5472
|
+
fontWeight: "normal"
|
|
5415
5473
|
}
|
|
5416
5474
|
},
|
|
5417
|
-
|
|
5475
|
+
".collapsiblePanel__label__button": {
|
|
5418
5476
|
display: "flex",
|
|
5419
|
-
justifyContent: "end",
|
|
5420
|
-
gap: 2,
|
|
5421
5477
|
alignItems: "center",
|
|
5422
|
-
|
|
5423
|
-
|
|
5478
|
+
width: "100%",
|
|
5479
|
+
justifyContent: "space-between",
|
|
5480
|
+
'&[aria-expanded="false"]': {
|
|
5481
|
+
borderBottom: "1px solid #e1e1e1"
|
|
5424
5482
|
}
|
|
5425
5483
|
},
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5484
|
+
".collapsiblePanel__content": {
|
|
5485
|
+
"&>div": {
|
|
5486
|
+
display: "flex",
|
|
5487
|
+
flexDirection: "column",
|
|
5488
|
+
gap: 3,
|
|
5489
|
+
border: "1px solid",
|
|
5490
|
+
borderColor: "palette.border.field",
|
|
5491
|
+
padding: 4,
|
|
5492
|
+
borderRadius: "default",
|
|
5493
|
+
background: "inherit",
|
|
5494
|
+
boxShadow: "neum"
|
|
5495
|
+
}
|
|
5496
|
+
}
|
|
5497
|
+
};
|
|
5498
|
+
const defaultView = {
|
|
5499
|
+
"&.uploader__container": {
|
|
5500
|
+
display: "flex",
|
|
5501
|
+
flexDirection: "column",
|
|
5502
|
+
gap: 4,
|
|
5503
|
+
overflow: "auto",
|
|
5504
|
+
'button[data-variant="outline"]': {
|
|
5505
|
+
boxShadow: "sharp"
|
|
5506
|
+
}
|
|
5435
5507
|
},
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
right: "11px"
|
|
5508
|
+
".uploader__content": {
|
|
5509
|
+
display: "flex",
|
|
5510
|
+
flexDirection: "column",
|
|
5511
|
+
gap: 4,
|
|
5512
|
+
overflow: "auto",
|
|
5513
|
+
p: 2,
|
|
5514
|
+
overflowX: "hidden"
|
|
5444
5515
|
},
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5516
|
+
"& label": {
|
|
5517
|
+
display: "flex",
|
|
5518
|
+
flexDirection: "column",
|
|
5519
|
+
gap: 2,
|
|
5520
|
+
span: {
|
|
5521
|
+
fontWeight: 700
|
|
5451
5522
|
}
|
|
5452
5523
|
},
|
|
5453
|
-
|
|
5454
|
-
p: 5,
|
|
5524
|
+
".uploader__file_selection": {
|
|
5455
5525
|
display: "flex",
|
|
5456
|
-
flexDirection: "
|
|
5457
|
-
gap:
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
display: "none"
|
|
5464
|
-
},
|
|
5465
|
-
".gpt__buttonsContainer": {
|
|
5466
|
-
display: "flex",
|
|
5467
|
-
alignItems: "center",
|
|
5468
|
-
justifyContent: "end",
|
|
5469
|
-
gap: 1
|
|
5470
|
-
},
|
|
5471
|
-
'button[data-variant="icon-outline-danger"]': {
|
|
5472
|
-
border: "none"
|
|
5473
|
-
},
|
|
5474
|
-
".gpt__form": {
|
|
5475
|
-
flexDirection: "column",
|
|
5476
|
-
display: "flex",
|
|
5477
|
-
gap: 2
|
|
5478
|
-
},
|
|
5479
|
-
".formsAssistant__closeButton": {
|
|
5480
|
-
borderRadius: "5px",
|
|
5481
|
-
top: "-7px",
|
|
5482
|
-
right: "-7px",
|
|
5483
|
-
position: "absolute"
|
|
5526
|
+
flexDirection: "row",
|
|
5527
|
+
gap: 3,
|
|
5528
|
+
alignItems: "center",
|
|
5529
|
+
alignContent: "center",
|
|
5530
|
+
width: "100%",
|
|
5531
|
+
".autocomplete": {
|
|
5532
|
+
width: "100%"
|
|
5484
5533
|
},
|
|
5485
|
-
".
|
|
5486
|
-
height: "
|
|
5487
|
-
|
|
5534
|
+
".uploader__file_infoBtn": {
|
|
5535
|
+
height: "48px",
|
|
5536
|
+
width: "48px",
|
|
5537
|
+
p: 0,
|
|
5488
5538
|
display: "flex"
|
|
5489
|
-
}
|
|
5490
|
-
".autoscrollContainer": { overflow: "auto" }
|
|
5539
|
+
}
|
|
5491
5540
|
},
|
|
5492
|
-
|
|
5493
|
-
p: 5,
|
|
5541
|
+
".uploader__dropzone_description_section": {
|
|
5494
5542
|
display: "flex",
|
|
5495
5543
|
flexDirection: "column",
|
|
5496
|
-
gap:
|
|
5497
|
-
background: "
|
|
5544
|
+
gap: 3,
|
|
5545
|
+
background: "inherit",
|
|
5546
|
+
padding: 4,
|
|
5547
|
+
borderRadius: "default",
|
|
5498
5548
|
border: "1px solid",
|
|
5499
|
-
borderColor: "palette.border.
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5549
|
+
borderColor: "palette.border.field",
|
|
5550
|
+
boxShadow: "neum"
|
|
5551
|
+
},
|
|
5552
|
+
".uploader__dropzone": {
|
|
5553
|
+
display: "grid",
|
|
5554
|
+
flexDirection: "column",
|
|
5555
|
+
gap: 3,
|
|
5556
|
+
width: " 100%",
|
|
5557
|
+
position: "relative",
|
|
5558
|
+
".dropzone__container[class]": {
|
|
5559
|
+
height: "100%"
|
|
5504
5560
|
},
|
|
5505
|
-
".
|
|
5506
|
-
|
|
5507
|
-
alignItems: "center",
|
|
5508
|
-
justifyContent: "end",
|
|
5509
|
-
gap: 1
|
|
5561
|
+
".dropzone": {
|
|
5562
|
+
height: "50px"
|
|
5510
5563
|
},
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5564
|
+
".uploader__dropzone_actions": {
|
|
5565
|
+
display: "flex",
|
|
5566
|
+
flexDirection: "row",
|
|
5567
|
+
gap: 3,
|
|
5568
|
+
button: {
|
|
5569
|
+
width: "50%"
|
|
5570
|
+
}
|
|
5571
|
+
}
|
|
5572
|
+
},
|
|
5573
|
+
".uploader__directory": {
|
|
5574
|
+
".collapsiblePanel__content": {
|
|
5575
|
+
"&>div": {
|
|
5576
|
+
position: "relative"
|
|
5577
|
+
},
|
|
5578
|
+
".uploader__directory__clear-directory": {
|
|
5579
|
+
position: "sticky",
|
|
5580
|
+
top: 0,
|
|
5581
|
+
alignSelf: "end",
|
|
5582
|
+
width: "20px",
|
|
5583
|
+
height: "20px",
|
|
5584
|
+
p: 3
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
},
|
|
5588
|
+
...collapsiblePanel,
|
|
5589
|
+
...permissions,
|
|
5590
|
+
".mobxtree": {
|
|
5591
|
+
background: "white",
|
|
5592
|
+
border: "1px solid",
|
|
5593
|
+
borderColor: "palette.border.field",
|
|
5594
|
+
borderRadius: "default",
|
|
5595
|
+
padding: "5px"
|
|
5596
|
+
},
|
|
5597
|
+
".metadata__container": {
|
|
5598
|
+
outline: "none!important",
|
|
5599
|
+
display: "flex",
|
|
5600
|
+
flexDirection: "column",
|
|
5601
|
+
gap: "12px",
|
|
5602
|
+
background: "palette.background.paper",
|
|
5603
|
+
padding: 3,
|
|
5604
|
+
borderRadius: "default",
|
|
5605
|
+
border: "1px solid",
|
|
5606
|
+
borderColor: "palette.border.field",
|
|
5607
|
+
".metadata__table_container": {
|
|
5518
5608
|
width: "100%",
|
|
5519
|
-
|
|
5609
|
+
maxHeight: "310px",
|
|
5610
|
+
overflowY: "auto",
|
|
5611
|
+
display: "block",
|
|
5612
|
+
boxSizing: "border-box",
|
|
5613
|
+
position: "relative",
|
|
5614
|
+
table: {
|
|
5615
|
+
width: "100%",
|
|
5616
|
+
borderCollapse: "collapse",
|
|
5617
|
+
tableLayout: "fixed",
|
|
5618
|
+
boxSizing: "border-box",
|
|
5619
|
+
td: { borderLeft: 0, borderRight: 0 },
|
|
5620
|
+
"tr:last-child td:first-child": {
|
|
5621
|
+
borderBottomLeftRadius: "default"
|
|
5622
|
+
},
|
|
5623
|
+
"tr:last-child td:last-child": {
|
|
5624
|
+
borderBottomRightRadius: "default"
|
|
5625
|
+
}
|
|
5626
|
+
},
|
|
5627
|
+
th: {
|
|
5628
|
+
position: "sticky",
|
|
5629
|
+
top: 0,
|
|
5630
|
+
backgroundColor: "palette.background.paper",
|
|
5631
|
+
zIndex: 2,
|
|
5632
|
+
border: "none",
|
|
5633
|
+
borderBottom: "1px solid #ccc",
|
|
5634
|
+
padding: "8px",
|
|
5635
|
+
textAlign: "left"
|
|
5636
|
+
},
|
|
5637
|
+
tbody: {
|
|
5638
|
+
".selected": {
|
|
5639
|
+
background: "palette.gray.900"
|
|
5640
|
+
},
|
|
5641
|
+
td: {
|
|
5642
|
+
padding: 3,
|
|
5643
|
+
borderBottom: "1px solid #ececec",
|
|
5644
|
+
verticalAlign: "top"
|
|
5645
|
+
},
|
|
5646
|
+
".iconButton": {
|
|
5647
|
+
border: "none"
|
|
5648
|
+
}
|
|
5649
|
+
},
|
|
5650
|
+
".metadata__render_container": {
|
|
5651
|
+
display: "flex",
|
|
5652
|
+
flexDirection: "column",
|
|
5653
|
+
alignItems: "start",
|
|
5654
|
+
position: "relative",
|
|
5655
|
+
minHeight: "50px",
|
|
5656
|
+
".requiredMark": {
|
|
5657
|
+
color: "danger",
|
|
5658
|
+
position: "absolute",
|
|
5659
|
+
left: "-9px"
|
|
5660
|
+
},
|
|
5661
|
+
".errorRequired": {
|
|
5662
|
+
color: "danger"
|
|
5663
|
+
}
|
|
5664
|
+
}
|
|
5520
5665
|
},
|
|
5521
|
-
".
|
|
5522
|
-
flexDirection: "column",
|
|
5666
|
+
".metadata__actions": {
|
|
5523
5667
|
display: "flex",
|
|
5524
|
-
|
|
5525
|
-
|
|
5668
|
+
flexDirection: "row",
|
|
5669
|
+
gap: 3
|
|
5526
5670
|
},
|
|
5527
|
-
".
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5671
|
+
".addMetadata, .deleteMetadata": {
|
|
5672
|
+
height: "30px",
|
|
5673
|
+
width: "30px",
|
|
5674
|
+
p: "0px"
|
|
5675
|
+
}
|
|
5676
|
+
}
|
|
5677
|
+
};
|
|
5678
|
+
|
|
5679
|
+
const infoModal = {
|
|
5680
|
+
minWidth: "550px",
|
|
5681
|
+
display: "flex",
|
|
5682
|
+
flexDirection: "column",
|
|
5683
|
+
gap: 3,
|
|
5684
|
+
...collapsiblePanel,
|
|
5685
|
+
button: {
|
|
5686
|
+
cursor: "pointer"
|
|
5687
|
+
},
|
|
5688
|
+
table: {
|
|
5689
|
+
width: "100%",
|
|
5690
|
+
span: {
|
|
5691
|
+
fontWeight: "bold"
|
|
5532
5692
|
},
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5693
|
+
button: {
|
|
5694
|
+
boxShadow: "none",
|
|
5695
|
+
color: "palette.text.primary",
|
|
5696
|
+
background: "inherit"
|
|
5537
5697
|
},
|
|
5538
|
-
"
|
|
5698
|
+
"tr > td:first-of-type": {
|
|
5699
|
+
width: "50%"
|
|
5700
|
+
},
|
|
5701
|
+
".table__buttons": {
|
|
5702
|
+
display: "flex",
|
|
5703
|
+
gap: 3
|
|
5704
|
+
}
|
|
5539
5705
|
},
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5706
|
+
".allPermissions": {
|
|
5707
|
+
background: "palette.background.paper",
|
|
5708
|
+
display: "flex",
|
|
5709
|
+
flexDirection: "row",
|
|
5710
|
+
gap: 3,
|
|
5711
|
+
alignItems: "center",
|
|
5712
|
+
borderRadius: "default",
|
|
5713
|
+
border: "1px solid",
|
|
5714
|
+
borderColor: "palette.gray.800",
|
|
5715
|
+
p: 4,
|
|
5716
|
+
width: "100%",
|
|
5717
|
+
div: { width: "100%" },
|
|
5718
|
+
select: { width: "100%" }
|
|
5719
|
+
},
|
|
5720
|
+
".permissions__list": {
|
|
5721
|
+
display: "flex",
|
|
5722
|
+
flexDirection: "column",
|
|
5723
|
+
gap: 3,
|
|
5724
|
+
ul: {
|
|
5725
|
+
borderRadius: "default",
|
|
5726
|
+
border: "1px solid",
|
|
5727
|
+
borderColor: "palette.gray.800",
|
|
5728
|
+
background: "palette.background.paper"
|
|
5544
5729
|
}
|
|
5545
5730
|
},
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5731
|
+
".doc_info_table_container": {
|
|
5732
|
+
display: "flex",
|
|
5733
|
+
flexDirection: "column",
|
|
5734
|
+
gap: "12px",
|
|
5735
|
+
background: "palette.background.paper",
|
|
5736
|
+
padding: 3,
|
|
5737
|
+
borderRadius: "default",
|
|
5738
|
+
border: "1px solid",
|
|
5739
|
+
borderColor: "palette.gray.800"
|
|
5740
|
+
},
|
|
5741
|
+
".doc_info_table": {
|
|
5742
|
+
width: "100%",
|
|
5743
|
+
maxHeight: "310px",
|
|
5744
|
+
overflowY: "auto",
|
|
5745
|
+
boxSizing: "border-box",
|
|
5746
|
+
position: "relative",
|
|
5747
|
+
th: {
|
|
5748
|
+
position: "sticky",
|
|
5749
|
+
top: 0,
|
|
5750
|
+
backgroundColor: "palette.background.paper",
|
|
5751
|
+
zIndex: 2,
|
|
5752
|
+
border: "none",
|
|
5753
|
+
borderBottom: "1px solid #ccc",
|
|
5754
|
+
padding: "8px",
|
|
5755
|
+
textAlign: "left",
|
|
5756
|
+
width: "50%"
|
|
5550
5757
|
},
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
width: "100%",
|
|
5555
|
-
'div[role="dialog"]': {
|
|
5556
|
-
width: "95vw"
|
|
5758
|
+
tbody: {
|
|
5759
|
+
".selected": {
|
|
5760
|
+
background: "palette.gray.900"
|
|
5557
5761
|
},
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
"th:last-of-type": {
|
|
5563
|
-
width: "100px"
|
|
5564
|
-
},
|
|
5565
|
-
"th:first-of-type": {
|
|
5566
|
-
width: "199px"
|
|
5567
|
-
}
|
|
5762
|
+
td: {
|
|
5763
|
+
padding: 3,
|
|
5764
|
+
borderBottom: "1px solid #ececec",
|
|
5765
|
+
verticalAlign: "top"
|
|
5568
5766
|
},
|
|
5569
|
-
"
|
|
5570
|
-
|
|
5571
|
-
textAlign: "center"
|
|
5572
|
-
}
|
|
5767
|
+
".iconButton": {
|
|
5768
|
+
border: "none"
|
|
5573
5769
|
}
|
|
5770
|
+
},
|
|
5771
|
+
button: {
|
|
5772
|
+
justifyContent: "start",
|
|
5773
|
+
width: "100%"
|
|
5774
|
+
}
|
|
5775
|
+
},
|
|
5776
|
+
".versions_table": {
|
|
5777
|
+
"thead tr th:first-of-type, tbody tr td:first-of-type": {
|
|
5778
|
+
width: "100px",
|
|
5779
|
+
textAlign: "center"
|
|
5574
5780
|
}
|
|
5575
5781
|
}
|
|
5576
5782
|
};
|
|
5577
5783
|
|
|
5578
|
-
const
|
|
5579
|
-
|
|
5784
|
+
const dropzone = {
|
|
5785
|
+
display: "flex",
|
|
5786
|
+
flexDirection: "row",
|
|
5787
|
+
p: 4,
|
|
5788
|
+
borderRadius: "default",
|
|
5789
|
+
padding: "0px!important",
|
|
5790
|
+
border: "1px solid",
|
|
5791
|
+
borderColor: "palette.border.field",
|
|
5792
|
+
height: "51px",
|
|
5793
|
+
alignItems: "center",
|
|
5794
|
+
width: "100%",
|
|
5795
|
+
background: "palette.background.paper",
|
|
5796
|
+
position: "relative",
|
|
5797
|
+
backgroundImage: (t) => `repeating-linear-gradient(45deg,
|
|
5798
|
+
${get(t, "colors.dropzone.color")},
|
|
5799
|
+
${get(t, "colors.dropzone.color")} 3px,
|
|
5800
|
+
${get(t, "colors.dropzone.backgroundColor")} 3px,
|
|
5801
|
+
${get(t, "colors.dropzone.backgroundColor")} 12px)`,
|
|
5802
|
+
":focus-within": {
|
|
5803
|
+
outlineColor: "outlineColor",
|
|
5804
|
+
outlineWidth: "3px",
|
|
5805
|
+
outlineOffset: "-3px",
|
|
5806
|
+
outlineStyle: "solid",
|
|
5807
|
+
borderColor: "transparent"
|
|
5808
|
+
},
|
|
5809
|
+
".dropzone": {
|
|
5810
|
+
backgroundSize: "200% 200%",
|
|
5811
|
+
display: "flex",
|
|
5812
|
+
flex: "1",
|
|
5813
|
+
flexDirection: "column",
|
|
5814
|
+
alignItems: "center",
|
|
5815
|
+
justifyContent: "center",
|
|
5816
|
+
fontWeight: "normal",
|
|
5817
|
+
border: "none",
|
|
5818
|
+
wordBreak: "break-word",
|
|
5819
|
+
overflow: "hidden",
|
|
5820
|
+
margin: "3px",
|
|
5821
|
+
height: "calc( 100% - 6px)",
|
|
5822
|
+
padding: 0,
|
|
5823
|
+
width: "inherit",
|
|
5824
|
+
borderTopLeftRadius: "7px",
|
|
5825
|
+
borderBottomLeftRadius: "7px",
|
|
5826
|
+
":hover": {
|
|
5827
|
+
cursor: "pointer",
|
|
5828
|
+
animation: `${keyframes({
|
|
5829
|
+
"100%": { backgroundPosition: "100% 100%" }
|
|
5830
|
+
})} 20s linear infinite`,
|
|
5831
|
+
"&:disabled": { animation: "none" }
|
|
5832
|
+
},
|
|
5833
|
+
":focus": {
|
|
5834
|
+
outline: "none"
|
|
5835
|
+
},
|
|
5836
|
+
".progressBar": {
|
|
5837
|
+
position: "absolute",
|
|
5838
|
+
top: 0,
|
|
5839
|
+
left: 0,
|
|
5840
|
+
right: 0,
|
|
5841
|
+
borderRadius: "7px",
|
|
5842
|
+
backgroundColor: "#8080807a",
|
|
5843
|
+
transition: "width 0.5s ease-in-out"
|
|
5844
|
+
}
|
|
5845
|
+
},
|
|
5846
|
+
".info": {
|
|
5847
|
+
height: "100%",
|
|
5848
|
+
border: "none",
|
|
5849
|
+
borderTopLeftRadius: "0px",
|
|
5850
|
+
borderBottomLeftRadius: "0px",
|
|
5851
|
+
boxShadow: "none",
|
|
5852
|
+
width: "49px",
|
|
5853
|
+
...getColorsAndStatesByPath$1("buttons.outline"),
|
|
5854
|
+
background: "transparent",
|
|
5855
|
+
svg: {
|
|
5856
|
+
color: "#9f9f9f"
|
|
5857
|
+
},
|
|
5858
|
+
"&:focus": {
|
|
5859
|
+
outline: "none"
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5580
5862
|
/* PREPEND HERE */
|
|
5581
5863
|
};
|
|
5582
5864
|
|
|
5583
|
-
const
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5865
|
+
const verifySignModal = {
|
|
5866
|
+
minWidth: "550px",
|
|
5867
|
+
display: "flex",
|
|
5868
|
+
flexDirection: "column",
|
|
5869
|
+
gap: 3,
|
|
5870
|
+
"&.verifysign__container": {
|
|
5871
|
+
outline: "none!important",
|
|
5872
|
+
display: "flex",
|
|
5873
|
+
flexDirection: "column",
|
|
5874
|
+
gap: "12px",
|
|
5875
|
+
background: "palette.background.paper",
|
|
5876
|
+
padding: 3,
|
|
5877
|
+
borderRadius: "default",
|
|
5878
|
+
border: "1px solid",
|
|
5879
|
+
borderColor: "palette.gray.800",
|
|
5880
|
+
".verifysign__table_container": {
|
|
5881
|
+
width: "100%",
|
|
5882
|
+
maxHeight: "310px",
|
|
5883
|
+
overflowY: "auto",
|
|
5884
|
+
display: "block",
|
|
5885
|
+
boxSizing: "border-box",
|
|
5886
|
+
position: "relative",
|
|
5887
|
+
table: {
|
|
5888
|
+
borderCollapse: "collapse",
|
|
5889
|
+
tableLayout: "fixed",
|
|
5890
|
+
boxSizing: "border-box",
|
|
5891
|
+
td: { borderLeft: 0, borderRight: 0 },
|
|
5892
|
+
"tr:last-child td:first-child": {
|
|
5893
|
+
borderBottomLeftRadius: "default"
|
|
5894
|
+
},
|
|
5895
|
+
"tr:last-child td:last-child": {
|
|
5896
|
+
borderBottomRightRadius: "default"
|
|
5897
|
+
}
|
|
5590
5898
|
},
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5899
|
+
th: {
|
|
5900
|
+
position: "sticky",
|
|
5901
|
+
top: 0,
|
|
5902
|
+
backgroundColor: "palette.background.paper",
|
|
5903
|
+
zIndex: 2,
|
|
5904
|
+
border: "none",
|
|
5905
|
+
borderBottom: "1px solid #ccc",
|
|
5906
|
+
padding: "8px",
|
|
5907
|
+
textAlign: "left"
|
|
5596
5908
|
},
|
|
5597
|
-
"
|
|
5598
|
-
|
|
5599
|
-
div: { backgroundColor: "palette.success.main" }
|
|
5909
|
+
"th:first-of-type": {
|
|
5910
|
+
width: "200px"
|
|
5600
5911
|
},
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5912
|
+
tbody: {
|
|
5913
|
+
".selected": {
|
|
5914
|
+
background: "palette.gray.900"
|
|
5915
|
+
},
|
|
5916
|
+
"tr > td:first-of-type": {
|
|
5917
|
+
width: "20%"
|
|
5918
|
+
},
|
|
5919
|
+
td: {
|
|
5920
|
+
padding: 3,
|
|
5921
|
+
borderBottom: "1px solid #ececec",
|
|
5922
|
+
verticalAlign: "top"
|
|
5923
|
+
},
|
|
5924
|
+
".iconButton": {
|
|
5925
|
+
border: "none"
|
|
5926
|
+
}
|
|
5604
5927
|
}
|
|
5605
5928
|
}
|
|
5606
5929
|
}
|
|
5607
5930
|
};
|
|
5608
5931
|
|
|
5609
|
-
|
|
5610
|
-
|
|
5932
|
+
const filesList = {
|
|
5933
|
+
display: "flex",
|
|
5934
|
+
flexDirection: "row",
|
|
5935
|
+
gap: "10px",
|
|
5936
|
+
alignItems: "center",
|
|
5937
|
+
flexWrap: "wrap",
|
|
5938
|
+
"&.uploadedFiles": {
|
|
5939
|
+
display: "grid",
|
|
5940
|
+
gridTemplateColumns: "repeat(3, 1fr)",
|
|
5941
|
+
gap: 3
|
|
5942
|
+
},
|
|
5943
|
+
".file__icon": {
|
|
5944
|
+
flexShrink: 0
|
|
5945
|
+
}
|
|
5946
|
+
/* PREPEND HERE */
|
|
5947
|
+
};
|
|
5948
|
+
|
|
5949
|
+
const uploader = {
|
|
5950
|
+
defaultView,
|
|
5951
|
+
dropzone,
|
|
5952
|
+
infoModal,
|
|
5953
|
+
filesList,
|
|
5954
|
+
permissions,
|
|
5955
|
+
verifySignModal,
|
|
5956
|
+
tooltip: {
|
|
5957
|
+
display: "flex",
|
|
5958
|
+
flexDirection: "column",
|
|
5959
|
+
gap: 3,
|
|
5960
|
+
".head": {
|
|
5961
|
+
textDecoration: "underline"
|
|
5962
|
+
},
|
|
5963
|
+
".fileBtn": {
|
|
5964
|
+
"&.disabled": {
|
|
5965
|
+
cursor: "not-allowed",
|
|
5966
|
+
backgroundColor: "form.fields.disabled.backgroundColor"
|
|
5967
|
+
},
|
|
5968
|
+
"&.readonly, &:redonly": {
|
|
5969
|
+
// backgroundColor: 'form.fields.readonly.backgroundColor',
|
|
5970
|
+
backgroundColor: "red!important"
|
|
5971
|
+
}
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
/* PREPEND HERE */
|
|
5975
|
+
};
|
|
5976
|
+
|
|
5977
|
+
const switchCard = {
|
|
5978
|
+
"&.switch__card": {
|
|
5979
|
+
display: "flex",
|
|
5980
|
+
flexDirection: "row",
|
|
5981
|
+
justifyContent: "space-between",
|
|
5982
|
+
width: "100%",
|
|
5983
|
+
borderBottom: "1px solid",
|
|
5984
|
+
borderColor: "palette.border.field",
|
|
5985
|
+
p: 4,
|
|
5986
|
+
".label__container": {
|
|
5987
|
+
display: "flex",
|
|
5988
|
+
flexDirection: "row",
|
|
5989
|
+
gap: 3,
|
|
5990
|
+
alignItems: "center",
|
|
5991
|
+
whiteSpace: "nowrap",
|
|
5992
|
+
overflow: "hidden",
|
|
5993
|
+
textOverflow: "ellipsis",
|
|
5994
|
+
span: {
|
|
5995
|
+
flexShrink: 0
|
|
5996
|
+
}
|
|
5997
|
+
},
|
|
5998
|
+
".switch__container": {
|
|
5999
|
+
display: "flex",
|
|
6000
|
+
flexDirection: "row",
|
|
6001
|
+
gap: 3,
|
|
6002
|
+
alignItems: "center",
|
|
6003
|
+
"& label": {
|
|
6004
|
+
height: "21px"
|
|
6005
|
+
},
|
|
6006
|
+
input: {
|
|
6007
|
+
display: "none"
|
|
6008
|
+
}
|
|
6009
|
+
}
|
|
6010
|
+
}
|
|
6011
|
+
/* PREPEND HERE */
|
|
6012
|
+
};
|
|
6013
|
+
|
|
6014
|
+
const components = {
|
|
6015
|
+
/* PREPEND HERE */
|
|
6016
|
+
accordion,
|
|
6017
|
+
autocomplete,
|
|
6018
|
+
datePicker,
|
|
6019
|
+
pagination,
|
|
6020
|
+
chat: chat$1,
|
|
6021
|
+
scheduler,
|
|
6022
|
+
toolbar,
|
|
6023
|
+
aiMessage,
|
|
6024
|
+
infoButton,
|
|
6025
|
+
filters,
|
|
6026
|
+
fileCard,
|
|
6027
|
+
uploader,
|
|
6028
|
+
switchCard
|
|
6029
|
+
};
|
|
6030
|
+
|
|
6031
|
+
const labelBox = {
|
|
6032
|
+
alignItems: "center",
|
|
6033
|
+
border: "1px solid",
|
|
6034
|
+
borderColor: "palette.border.field",
|
|
6035
|
+
display: "flex",
|
|
6036
|
+
gap: spacing$1(3),
|
|
6037
|
+
justifyContent: "space-between",
|
|
6038
|
+
p: spacing$1(3),
|
|
6039
|
+
pl: spacing$1(5),
|
|
6040
|
+
"&.selected": {
|
|
6041
|
+
background: (theme) => getOneColorState$1("palette.background.paper", "selected", theme.palette)
|
|
6042
|
+
},
|
|
6043
|
+
"& > .labelAndIcon": {
|
|
6044
|
+
display: "flex",
|
|
6045
|
+
alignItems: "center",
|
|
6046
|
+
gap: spacing$1(3),
|
|
6047
|
+
"& ~ div button": {
|
|
6048
|
+
border: "none"
|
|
6049
|
+
},
|
|
6050
|
+
svg: {
|
|
6051
|
+
minHeight: "iconMd",
|
|
6052
|
+
minWidth: "iconMd"
|
|
6053
|
+
},
|
|
6054
|
+
"&:last-of-type": {
|
|
6055
|
+
textAlign: "right"
|
|
6056
|
+
}
|
|
6057
|
+
}
|
|
6058
|
+
};
|
|
6059
|
+
|
|
6060
|
+
const boxes = {
|
|
6061
|
+
labelBox
|
|
6062
|
+
/* PREPEND HERE */
|
|
6063
|
+
};
|
|
6064
|
+
|
|
6065
|
+
const formsAssistant = {
|
|
6066
|
+
modalRow: {
|
|
6067
|
+
"&": {
|
|
6068
|
+
position: "relative",
|
|
6069
|
+
'div[data-variant="layout.ai.execution.formsAssistant.buttonsDiv"]': {
|
|
6070
|
+
position: "absolute",
|
|
6071
|
+
top: "7%",
|
|
6072
|
+
right: "15%"
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
6075
|
+
},
|
|
6076
|
+
modal: {
|
|
6077
|
+
'div[class="modal__main"]': { position: "relative" },
|
|
6078
|
+
'div[data-variant="layout.ai.execution.formsAssistant.buttonsDiv"]': {
|
|
6079
|
+
position: "absolute",
|
|
6080
|
+
top: "5.4%",
|
|
6081
|
+
right: "17%"
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
buttonsDiv: {
|
|
6085
|
+
display: "flex",
|
|
6086
|
+
justifyContent: "end",
|
|
6087
|
+
gap: 2,
|
|
6088
|
+
alignItems: "center",
|
|
6089
|
+
"button.manualButton:nth-child(2)": {
|
|
6090
|
+
marginLeft: "auto"
|
|
6091
|
+
}
|
|
6092
|
+
},
|
|
6093
|
+
settingsButton: {
|
|
6094
|
+
variant: "buttons.icon-outline",
|
|
6095
|
+
border: "none"
|
|
6096
|
+
},
|
|
6097
|
+
openTextarea: {
|
|
6098
|
+
position: "fixed",
|
|
6099
|
+
bottom: "1%",
|
|
6100
|
+
right: "0.5%",
|
|
6101
|
+
zIndex: 1200
|
|
6102
|
+
},
|
|
6103
|
+
tableText: { wordBreak: "normal" },
|
|
6104
|
+
thModal: { whiteSpace: "nowrap" },
|
|
6105
|
+
genericWindowDragger: {
|
|
6106
|
+
maxWidth: "600px",
|
|
6107
|
+
maxHeight: "455px",
|
|
6108
|
+
zIndex: "1200",
|
|
6109
|
+
bottom: "49px",
|
|
6110
|
+
right: "11px"
|
|
6111
|
+
},
|
|
6112
|
+
customGridWindowDragger: {
|
|
6113
|
+
variant: "layout.ai.execution.formsAssistant.genericWindowDragger",
|
|
6114
|
+
bottom: "auto",
|
|
6115
|
+
right: "auto",
|
|
6116
|
+
".tooltip__wrapper": {
|
|
6117
|
+
padding: "0px"
|
|
6118
|
+
}
|
|
6119
|
+
},
|
|
6120
|
+
floatingWindow: {
|
|
6121
|
+
p: 5,
|
|
6122
|
+
display: "flex",
|
|
6123
|
+
flexDirection: "column",
|
|
6124
|
+
gap: 5,
|
|
6125
|
+
background: "palette.background.paper",
|
|
6126
|
+
border: "1px solid",
|
|
6127
|
+
borderColor: "palette.border.section",
|
|
6128
|
+
minWidth: "478px",
|
|
6129
|
+
'input[type="file"]': {
|
|
6130
|
+
display: "none"
|
|
6131
|
+
},
|
|
6132
|
+
".gpt__buttonsContainer": {
|
|
6133
|
+
display: "flex",
|
|
6134
|
+
alignItems: "center",
|
|
6135
|
+
justifyContent: "end",
|
|
6136
|
+
gap: 1
|
|
6137
|
+
},
|
|
6138
|
+
'button[data-variant="icon-outline-danger"]': {
|
|
6139
|
+
border: "none"
|
|
6140
|
+
},
|
|
6141
|
+
".gpt__form": {
|
|
6142
|
+
flexDirection: "column",
|
|
6143
|
+
display: "flex",
|
|
6144
|
+
gap: 2
|
|
6145
|
+
},
|
|
6146
|
+
".formsAssistant__closeButton": {
|
|
6147
|
+
borderRadius: "5px",
|
|
6148
|
+
top: "-7px",
|
|
6149
|
+
right: "-7px",
|
|
6150
|
+
position: "absolute"
|
|
6151
|
+
},
|
|
6152
|
+
".history": {
|
|
6153
|
+
height: "200px",
|
|
6154
|
+
overflow: "hidden",
|
|
6155
|
+
display: "flex"
|
|
6156
|
+
},
|
|
6157
|
+
".autoscrollContainer": { overflow: "auto" }
|
|
6158
|
+
},
|
|
6159
|
+
phoneCase: {
|
|
6160
|
+
p: 5,
|
|
6161
|
+
display: "flex",
|
|
6162
|
+
flexDirection: "column",
|
|
6163
|
+
gap: 5,
|
|
6164
|
+
background: "palette.background.paper",
|
|
6165
|
+
border: "1px solid",
|
|
6166
|
+
borderColor: "palette.border.section",
|
|
6167
|
+
height: "100%",
|
|
6168
|
+
justifyContent: "space-between",
|
|
6169
|
+
'input[type="file"]': {
|
|
6170
|
+
display: "none"
|
|
6171
|
+
},
|
|
6172
|
+
".gpt__buttonsContainer": {
|
|
6173
|
+
display: "flex",
|
|
6174
|
+
alignItems: "center",
|
|
6175
|
+
justifyContent: "end",
|
|
6176
|
+
gap: 1
|
|
6177
|
+
},
|
|
6178
|
+
'button[data-variant="icon-outline-danger"]': {
|
|
6179
|
+
border: "none"
|
|
6180
|
+
},
|
|
6181
|
+
'div[data-variant="layout.common.components.chat"]': {
|
|
6182
|
+
minHeight: "60%"
|
|
6183
|
+
},
|
|
6184
|
+
'div[data-variant="layout.common.components.chat"] + div': {
|
|
6185
|
+
width: "100%",
|
|
6186
|
+
height: "29%"
|
|
6187
|
+
},
|
|
6188
|
+
".gpt__form": {
|
|
6189
|
+
flexDirection: "column",
|
|
6190
|
+
display: "flex",
|
|
6191
|
+
gap: 2,
|
|
6192
|
+
height: "100%"
|
|
6193
|
+
},
|
|
6194
|
+
".formsAssistant__closeButton": {
|
|
6195
|
+
borderRadius: "5px",
|
|
6196
|
+
top: "-7px",
|
|
6197
|
+
right: "-7px",
|
|
6198
|
+
position: "absolute"
|
|
6199
|
+
},
|
|
6200
|
+
".history": {
|
|
6201
|
+
height: "200px",
|
|
6202
|
+
overflow: "hidden",
|
|
6203
|
+
display: "flex"
|
|
6204
|
+
},
|
|
6205
|
+
".autoscrollContainer": { overflow: "auto" }
|
|
6206
|
+
},
|
|
6207
|
+
configurationTable: {
|
|
6208
|
+
variant: "layout.common.tables.information",
|
|
6209
|
+
"th:last-of-type": {
|
|
6210
|
+
width: "100px"
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
overrideTable: {
|
|
6214
|
+
".attTitle": { fontWeight: "bold" },
|
|
6215
|
+
'div[role="dialog"]': {
|
|
6216
|
+
width: "95vw"
|
|
6217
|
+
},
|
|
6218
|
+
".confirmNewValues": {
|
|
6219
|
+
variant: "layout.common.tables.information",
|
|
6220
|
+
tableLayout: "fixed",
|
|
6221
|
+
width: "100%",
|
|
6222
|
+
'div[role="dialog"]': {
|
|
6223
|
+
width: "95vw"
|
|
6224
|
+
},
|
|
6225
|
+
"& thead": {
|
|
6226
|
+
th: {
|
|
6227
|
+
width: "50%"
|
|
6228
|
+
},
|
|
6229
|
+
"th:last-of-type": {
|
|
6230
|
+
width: "100px"
|
|
6231
|
+
},
|
|
6232
|
+
"th:first-of-type": {
|
|
6233
|
+
width: "199px"
|
|
6234
|
+
}
|
|
6235
|
+
},
|
|
6236
|
+
"& tbody": {
|
|
6237
|
+
"td:last-of-type": {
|
|
6238
|
+
textAlign: "center"
|
|
6239
|
+
}
|
|
6240
|
+
}
|
|
6241
|
+
}
|
|
6242
|
+
}
|
|
6243
|
+
};
|
|
6244
|
+
|
|
6245
|
+
const execution = {
|
|
6246
|
+
formsAssistant
|
|
6247
|
+
/* PREPEND HERE */
|
|
6248
|
+
};
|
|
6249
|
+
|
|
6250
|
+
const connectors = {
|
|
6251
|
+
testResult: {
|
|
6252
|
+
td: {
|
|
6253
|
+
verticalAlign: "middle !important",
|
|
6254
|
+
"&.title": {
|
|
6255
|
+
fontWeight: "bold",
|
|
6256
|
+
textAlign: "center"
|
|
6257
|
+
},
|
|
6258
|
+
div: {
|
|
6259
|
+
height: "1.5em",
|
|
6260
|
+
width: "1.5em",
|
|
6261
|
+
borderRadius: "100px",
|
|
6262
|
+
mx: "auto"
|
|
6263
|
+
},
|
|
6264
|
+
"&.success": {
|
|
6265
|
+
p: 3,
|
|
6266
|
+
div: { backgroundColor: "palette.success.main" }
|
|
6267
|
+
},
|
|
6268
|
+
"&.error": {
|
|
6269
|
+
p: 3,
|
|
6270
|
+
div: { backgroundColor: "palette.error.main" }
|
|
6271
|
+
}
|
|
6272
|
+
}
|
|
6273
|
+
}
|
|
6274
|
+
};
|
|
6275
|
+
|
|
6276
|
+
keyframes`
|
|
6277
|
+
0% {
|
|
5611
6278
|
transform: rotate(0);
|
|
5612
6279
|
}
|
|
5613
6280
|
|
|
@@ -6071,420 +6738,889 @@ const semanticSearch = {
|
|
|
6071
6738
|
flexDirection: "column",
|
|
6072
6739
|
gap: spacing(6)
|
|
6073
6740
|
},
|
|
6074
|
-
".list_item": {
|
|
6075
|
-
borderRadius: "panel",
|
|
6076
|
-
padding: spacing(7),
|
|
6077
|
-
backgroundColor: "palette.background.paper",
|
|
6078
|
-
boxShadow: "0px 4px 6px #0002",
|
|
6079
|
-
border: "1px solid",
|
|
6080
|
-
borderColor: "palette.border.ghost"
|
|
6741
|
+
".list_item": {
|
|
6742
|
+
borderRadius: "panel",
|
|
6743
|
+
padding: spacing(7),
|
|
6744
|
+
backgroundColor: "palette.background.paper",
|
|
6745
|
+
boxShadow: "0px 4px 6px #0002",
|
|
6746
|
+
border: "1px solid",
|
|
6747
|
+
borderColor: "palette.border.ghost"
|
|
6748
|
+
},
|
|
6749
|
+
".references_container": {
|
|
6750
|
+
borderTop: "1px solid",
|
|
6751
|
+
borderTopColor: "palette.border.article",
|
|
6752
|
+
display: "flex",
|
|
6753
|
+
gap: spacing(6),
|
|
6754
|
+
pt: spacing(5)
|
|
6755
|
+
}
|
|
6756
|
+
},
|
|
6757
|
+
".autogrow_textarea": {
|
|
6758
|
+
maxHeight: "20vh",
|
|
6759
|
+
width: "100%"
|
|
6760
|
+
},
|
|
6761
|
+
refsAccordion: {
|
|
6762
|
+
variant: "layout.common.components.accordion.panels",
|
|
6763
|
+
border: (theme) => `1px solid ${theme.palette.border.ghost}`,
|
|
6764
|
+
refButton: {
|
|
6765
|
+
variant: "buttons.paper"
|
|
6766
|
+
},
|
|
6767
|
+
"& .accordion__item__button": {
|
|
6768
|
+
userSelect: "unset",
|
|
6769
|
+
position: "sticky",
|
|
6770
|
+
top: 0
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
}
|
|
6774
|
+
};
|
|
6775
|
+
|
|
6776
|
+
const ai = {
|
|
6777
|
+
connectors,
|
|
6778
|
+
execution,
|
|
6779
|
+
semanticSearch
|
|
6780
|
+
/* PREPEND HERE */
|
|
6781
|
+
};
|
|
6782
|
+
|
|
6783
|
+
const form$1 = {
|
|
6784
|
+
/* PREPEND HERE */
|
|
6785
|
+
alignItems: "center",
|
|
6786
|
+
justifyContent: "center",
|
|
6787
|
+
display: "flex",
|
|
6788
|
+
gap: 0,
|
|
6789
|
+
mx: "auto",
|
|
6790
|
+
background: "palette.background.paper",
|
|
6791
|
+
border: "1px solid",
|
|
6792
|
+
borderColor: "palette.border.section",
|
|
6793
|
+
borderRadius: "panel",
|
|
6794
|
+
boxShadow: "0px 2px 6px #0002",
|
|
6795
|
+
width: "100%",
|
|
6796
|
+
p: spacing(3),
|
|
6797
|
+
flexDirection: "column",
|
|
6798
|
+
position: "relative",
|
|
6799
|
+
".chatButtons": {
|
|
6800
|
+
display: "flex",
|
|
6801
|
+
flexDirection: "row",
|
|
6802
|
+
alignitems: "end",
|
|
6803
|
+
justifyContent: "end",
|
|
6804
|
+
position: "absolute",
|
|
6805
|
+
bottom: "8px",
|
|
6806
|
+
right: "4px"
|
|
6807
|
+
},
|
|
6808
|
+
"&:focus-within": focusOutline,
|
|
6809
|
+
"& > *:focus[class]": {
|
|
6810
|
+
outlineWidth: 0
|
|
6811
|
+
},
|
|
6812
|
+
".filter_button_box": {
|
|
6813
|
+
position: "relative"
|
|
6814
|
+
},
|
|
6815
|
+
".applied_filters_label": {
|
|
6816
|
+
position: "absolute",
|
|
6817
|
+
bottom: "21px",
|
|
6818
|
+
left: "20px",
|
|
6819
|
+
minWidth: "10px",
|
|
6820
|
+
maxHeight: "10px",
|
|
6821
|
+
border: "2px solid white",
|
|
6822
|
+
borderRadius: "100%",
|
|
6823
|
+
display: "inline-flex",
|
|
6824
|
+
alignItems: "center",
|
|
6825
|
+
justifyContent: "center",
|
|
6826
|
+
backgroundColor: "palette.error.main"
|
|
6827
|
+
},
|
|
6828
|
+
".searchTextArea": {
|
|
6829
|
+
minHeight: "16px",
|
|
6830
|
+
height: "16px",
|
|
6831
|
+
width: "100%",
|
|
6832
|
+
maxHeight: "30vh",
|
|
6833
|
+
resize: "none",
|
|
6834
|
+
py: 0,
|
|
6835
|
+
background: "transparent",
|
|
6836
|
+
border: "none"
|
|
6837
|
+
},
|
|
6838
|
+
".ChatBarButton": {
|
|
6839
|
+
borderRadius: "panel",
|
|
6840
|
+
height: "34px",
|
|
6841
|
+
width: "34px",
|
|
6842
|
+
flexShrink: 0,
|
|
6843
|
+
background: "transparent",
|
|
6844
|
+
border: "none",
|
|
6845
|
+
color: "palette.text.primary"
|
|
6846
|
+
},
|
|
6847
|
+
".isRecording": {
|
|
6848
|
+
borderRadius: "panel",
|
|
6849
|
+
height: "34px",
|
|
6850
|
+
width: "34px",
|
|
6851
|
+
flexShrink: 0,
|
|
6852
|
+
background: "transparent",
|
|
6853
|
+
border: "none",
|
|
6854
|
+
color: "red"
|
|
6855
|
+
}
|
|
6856
|
+
};
|
|
6857
|
+
|
|
6858
|
+
const history = {
|
|
6859
|
+
/* PREPEND HERE */
|
|
6860
|
+
display: "flex",
|
|
6861
|
+
flexDirection: "column",
|
|
6862
|
+
width: "100%",
|
|
6863
|
+
gap: 4,
|
|
6864
|
+
p: 3,
|
|
6865
|
+
".history_message__content": {
|
|
6866
|
+
display: "flex",
|
|
6867
|
+
flexDirection: "column",
|
|
6868
|
+
gap: "16px",
|
|
6869
|
+
div: {
|
|
6870
|
+
padding: 0
|
|
6871
|
+
},
|
|
6872
|
+
h3: {
|
|
6873
|
+
fontSize: "20px"
|
|
6874
|
+
}
|
|
6875
|
+
},
|
|
6876
|
+
".history_message": {
|
|
6877
|
+
px: 4,
|
|
6878
|
+
py: 5,
|
|
6879
|
+
pt: 0,
|
|
6880
|
+
maxWidth: "calc(100% - 50px)",
|
|
6881
|
+
width: "fit-content",
|
|
6882
|
+
wordWrap: "break-word",
|
|
6883
|
+
whiteSpace: "pre-wrap",
|
|
6884
|
+
borderRadius: "chatMessage",
|
|
6885
|
+
minWidth: "50px",
|
|
6886
|
+
"&.last": {
|
|
6887
|
+
mb: 4
|
|
6888
|
+
},
|
|
6889
|
+
"&.user": {
|
|
6890
|
+
"&.first": {
|
|
6891
|
+
borderTopRightRadius: "0px"
|
|
6892
|
+
},
|
|
6893
|
+
"&.first:has(+ .first))": {
|
|
6894
|
+
mb: 4
|
|
6895
|
+
},
|
|
6896
|
+
backgroundColor: "rgb(108 166 203)",
|
|
6897
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6898
|
+
color: "white",
|
|
6899
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6900
|
+
".fileCard__content": {
|
|
6901
|
+
color: "palette.text.primary"
|
|
6902
|
+
},
|
|
6903
|
+
border: "1px solid rgb(113 145 193)",
|
|
6904
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6905
|
+
alignSelf: "end",
|
|
6906
|
+
display: "flex",
|
|
6907
|
+
flexDirection: "column"
|
|
6908
|
+
},
|
|
6909
|
+
"&.system": {
|
|
6910
|
+
"&.first": {
|
|
6911
|
+
borderTopLeftRadius: "0px"
|
|
6912
|
+
},
|
|
6913
|
+
"&.first:has(+ .first))": {
|
|
6914
|
+
mb: 4
|
|
6081
6915
|
},
|
|
6082
|
-
"
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
gap: spacing(6),
|
|
6087
|
-
pt: spacing(5)
|
|
6088
|
-
}
|
|
6916
|
+
backgroundColor: "#00bcff14",
|
|
6917
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6918
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6919
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6089
6920
|
},
|
|
6090
|
-
"
|
|
6091
|
-
|
|
6092
|
-
|
|
6921
|
+
"&.warning": {
|
|
6922
|
+
borderRadius: "chatMessage",
|
|
6923
|
+
borderTopLeftRadius: "0px",
|
|
6924
|
+
alignSelf: "start",
|
|
6925
|
+
backgroundColor: "#ffff0024",
|
|
6926
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6927
|
+
width: "100%",
|
|
6928
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6929
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6093
6930
|
},
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6931
|
+
"&.error": {
|
|
6932
|
+
borderRadius: "chatMessage",
|
|
6933
|
+
borderTopLeftRadius: "0px",
|
|
6934
|
+
alignSelf: "start",
|
|
6935
|
+
backgroundColor: "#fd84212b",
|
|
6936
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6937
|
+
width: "100%",
|
|
6938
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6939
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6940
|
+
},
|
|
6941
|
+
"&.information": {
|
|
6942
|
+
borderRadius: "chatMessage",
|
|
6943
|
+
borderTopLeftRadius: "0px",
|
|
6944
|
+
alignSelf: "start",
|
|
6945
|
+
backgroundColor: "#00bcff14",
|
|
6946
|
+
//'#2222cc2b',
|
|
6947
|
+
width: "100%",
|
|
6948
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6949
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
6950
|
+
}
|
|
6951
|
+
},
|
|
6952
|
+
".history_message__attachments": {
|
|
6953
|
+
display: "flex",
|
|
6954
|
+
justifyContent: "flex-end",
|
|
6955
|
+
".labelBox": {
|
|
6956
|
+
width: "max-content",
|
|
6957
|
+
background: "#fafafa",
|
|
6958
|
+
color: "palette.text.primary",
|
|
6959
|
+
fontSize: "14px",
|
|
6960
|
+
".labelAndIcon ": {
|
|
6961
|
+
fontSize: "14px"
|
|
6104
6962
|
}
|
|
6105
6963
|
}
|
|
6106
6964
|
}
|
|
6107
6965
|
};
|
|
6108
6966
|
|
|
6109
|
-
const
|
|
6110
|
-
connectors,
|
|
6111
|
-
execution,
|
|
6112
|
-
semanticSearch
|
|
6967
|
+
const controller = {
|
|
6113
6968
|
/* PREPEND HERE */
|
|
6969
|
+
display: "flex",
|
|
6970
|
+
flexDirection: "column",
|
|
6971
|
+
alignItems: "stretch",
|
|
6972
|
+
height: "100%",
|
|
6973
|
+
gap: 3,
|
|
6974
|
+
flexBasis: "50vh",
|
|
6975
|
+
flexGrow: 1,
|
|
6976
|
+
".autoscrollContainer": {
|
|
6977
|
+
flexGrow: 1,
|
|
6978
|
+
flexShrink: 1,
|
|
6979
|
+
overflow: "auto"
|
|
6980
|
+
},
|
|
6981
|
+
".search_controls": {
|
|
6982
|
+
flexShrink: 0
|
|
6983
|
+
},
|
|
6984
|
+
".assistantHistory": {
|
|
6985
|
+
flexGrow: 1,
|
|
6986
|
+
overflow: "auto",
|
|
6987
|
+
maxHeight: "77vh"
|
|
6988
|
+
}
|
|
6114
6989
|
};
|
|
6115
6990
|
|
|
6116
|
-
const
|
|
6991
|
+
const attachments = {
|
|
6117
6992
|
/* PREPEND HERE */
|
|
6118
6993
|
alignItems: "center",
|
|
6119
|
-
justifyContent: "center",
|
|
6120
6994
|
display: "flex",
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6995
|
+
flexDirection: responsive$2({ 0: "column", 3: "row" }),
|
|
6996
|
+
flexWrap: "wrap",
|
|
6997
|
+
gap: spacing$1(3),
|
|
6998
|
+
".attachments__more_button": {
|
|
6999
|
+
border: "1px solid",
|
|
7000
|
+
borderColor: "palette.border.article",
|
|
7001
|
+
borderRadius: "elementBox",
|
|
7002
|
+
boxShadow: "sharp",
|
|
7003
|
+
p: 2
|
|
7004
|
+
},
|
|
7005
|
+
".file_box": {
|
|
7006
|
+
alignItems: "center",
|
|
7007
|
+
border: "1px solid",
|
|
7008
|
+
borderColor: "palette.border.article",
|
|
7009
|
+
borderRadius: "elementBox",
|
|
7010
|
+
boxShadow: "sharp",
|
|
6133
7011
|
display: "flex",
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
7012
|
+
gap: spacing$1(3),
|
|
7013
|
+
width: responsive$2({
|
|
7014
|
+
0: "100%",
|
|
7015
|
+
3: "min(90vw, 200px)"
|
|
7016
|
+
}),
|
|
7017
|
+
p: 2
|
|
7018
|
+
},
|
|
7019
|
+
".file_box__icon": {
|
|
7020
|
+
flexShrink: 0
|
|
7021
|
+
},
|
|
7022
|
+
".file_box__name": {
|
|
7023
|
+
boxSizing: "border-box",
|
|
7024
|
+
flexGrow: 1,
|
|
7025
|
+
margin: "0px",
|
|
7026
|
+
overflow: "hidden",
|
|
7027
|
+
textOverflow: "ellipsis",
|
|
7028
|
+
whiteSpace: "nowrap"
|
|
7029
|
+
},
|
|
7030
|
+
".file_box__remove": {
|
|
7031
|
+
flexShrink: 0,
|
|
7032
|
+
p: 4
|
|
7033
|
+
}
|
|
7034
|
+
};
|
|
7035
|
+
|
|
7036
|
+
const message = {
|
|
7037
|
+
position: "relative",
|
|
7038
|
+
display: "flex",
|
|
7039
|
+
flexDirection: "column",
|
|
7040
|
+
".closeButton": {
|
|
7041
|
+
borderRadius: "5px",
|
|
7042
|
+
right: "0px",
|
|
7043
|
+
top: "-2px",
|
|
7044
|
+
zIndex: "15",
|
|
6137
7045
|
position: "absolute",
|
|
6138
|
-
|
|
6139
|
-
|
|
7046
|
+
variant: "buttons.icon-outline-danger"
|
|
7047
|
+
},
|
|
7048
|
+
genericBox: {
|
|
7049
|
+
margin: "10px",
|
|
7050
|
+
display: "flex",
|
|
7051
|
+
flexDirection: "column",
|
|
7052
|
+
justifyContent: "space-between",
|
|
7053
|
+
alignItems: "center",
|
|
7054
|
+
padding: "12px"
|
|
7055
|
+
},
|
|
7056
|
+
fileName: {
|
|
7057
|
+
bottom: "4px",
|
|
7058
|
+
right: "4px",
|
|
7059
|
+
fontSize: "12px",
|
|
7060
|
+
color: "#333",
|
|
7061
|
+
textOverflow: "ellipsis",
|
|
7062
|
+
whiteSpace: "nowrap",
|
|
7063
|
+
overflow: "hidden",
|
|
7064
|
+
width: "inherit",
|
|
7065
|
+
textAlign: "center",
|
|
7066
|
+
px: "5px"
|
|
7067
|
+
},
|
|
7068
|
+
textBox: {
|
|
7069
|
+
variant: "layout.common.components.aiMessage.genericBox",
|
|
7070
|
+
width: "50px",
|
|
7071
|
+
padding: "10px",
|
|
7072
|
+
backgroundColor: "#fff",
|
|
7073
|
+
border: "1px solid #ddd",
|
|
7074
|
+
borderRadius: "4px",
|
|
7075
|
+
position: "relative"
|
|
7076
|
+
},
|
|
7077
|
+
textSnippet: {
|
|
7078
|
+
bottom: "4px",
|
|
7079
|
+
right: "4px",
|
|
7080
|
+
fontSize: "12px",
|
|
7081
|
+
color: "#555"
|
|
7082
|
+
}
|
|
7083
|
+
};
|
|
7084
|
+
|
|
7085
|
+
const assistant = {
|
|
7086
|
+
floatingAssistant: {
|
|
7087
|
+
"& div.modal__content[class]": {
|
|
7088
|
+
p: 3,
|
|
7089
|
+
width: "min(90vw, 500px)"
|
|
7090
|
+
},
|
|
7091
|
+
".modal__main": {
|
|
7092
|
+
maxWidth: "unset",
|
|
7093
|
+
overflow: "hidden"
|
|
7094
|
+
},
|
|
7095
|
+
"#floatingAssistant": {
|
|
7096
|
+
minWidth: "500px"
|
|
7097
|
+
}
|
|
7098
|
+
}
|
|
7099
|
+
};
|
|
7100
|
+
|
|
7101
|
+
const chat = {
|
|
7102
|
+
/* PREPEND HERE */
|
|
7103
|
+
assistant,
|
|
7104
|
+
form: form$1,
|
|
7105
|
+
history,
|
|
7106
|
+
controller,
|
|
7107
|
+
attachments,
|
|
7108
|
+
message
|
|
7109
|
+
};
|
|
7110
|
+
|
|
7111
|
+
const markdown = {
|
|
7112
|
+
padding: "0 24px 32px 24px",
|
|
7113
|
+
"h1, h2, h3, h4, h5, h6": {
|
|
7114
|
+
margin: "32px 0px 20px 0px",
|
|
7115
|
+
"& *": {
|
|
7116
|
+
fontSize: "inherit",
|
|
7117
|
+
fontWeight: "inherit",
|
|
7118
|
+
fontFamily: "inherit"
|
|
7119
|
+
}
|
|
7120
|
+
},
|
|
7121
|
+
blockquote: {
|
|
7122
|
+
fontStyle: "italic"
|
|
7123
|
+
},
|
|
7124
|
+
table: {
|
|
7125
|
+
variant: "layout.common.tables.secondary",
|
|
7126
|
+
thead: {
|
|
7127
|
+
zIndex: 0
|
|
7128
|
+
}
|
|
6140
7129
|
},
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
7130
|
+
h2: {
|
|
7131
|
+
display: "block",
|
|
7132
|
+
borderBottom: "2px solid hsl(195deg 10% 49% / 50%)",
|
|
7133
|
+
paddingBottom: "16px"
|
|
6144
7134
|
},
|
|
6145
|
-
|
|
6146
|
-
|
|
7135
|
+
h3: {
|
|
7136
|
+
textDecoration: "underline"
|
|
6147
7137
|
},
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
bottom: "21px",
|
|
6151
|
-
left: "20px",
|
|
6152
|
-
minWidth: "10px",
|
|
6153
|
-
maxHeight: "10px",
|
|
6154
|
-
border: "2px solid white",
|
|
6155
|
-
borderRadius: "100%",
|
|
6156
|
-
display: "inline-flex",
|
|
6157
|
-
alignItems: "center",
|
|
6158
|
-
justifyContent: "center",
|
|
6159
|
-
backgroundColor: "palette.error.main"
|
|
7138
|
+
h4: {
|
|
7139
|
+
fontSize: "20px"
|
|
6160
7140
|
},
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
background: "transparent",
|
|
6169
|
-
border: "none"
|
|
7141
|
+
ul: {
|
|
7142
|
+
listStyle: "unset",
|
|
7143
|
+
listStyleType: "disc",
|
|
7144
|
+
margin: "unset",
|
|
7145
|
+
padding: "unset",
|
|
7146
|
+
paddingLeft: "20px",
|
|
7147
|
+
paddingBottom: "16px"
|
|
6170
7148
|
},
|
|
6171
|
-
"
|
|
6172
|
-
|
|
6173
|
-
height: "34px",
|
|
6174
|
-
width: "34px",
|
|
6175
|
-
flexShrink: 0,
|
|
6176
|
-
background: "transparent",
|
|
6177
|
-
border: "none",
|
|
6178
|
-
color: "palette.text.primary"
|
|
7149
|
+
"ol + ul, ul + ul, ol ul, ul ul": {
|
|
7150
|
+
paddingLeft: "72px"
|
|
6179
7151
|
},
|
|
6180
|
-
"
|
|
6181
|
-
|
|
6182
|
-
height: "34px",
|
|
6183
|
-
width: "34px",
|
|
6184
|
-
flexShrink: 0,
|
|
6185
|
-
background: "transparent",
|
|
6186
|
-
border: "none",
|
|
6187
|
-
color: "red"
|
|
7152
|
+
"p, ul, ol, blockQuote, table": {
|
|
7153
|
+
mt: "16px"
|
|
6188
7154
|
}
|
|
6189
7155
|
};
|
|
6190
7156
|
|
|
6191
|
-
const
|
|
6192
|
-
|
|
7157
|
+
const observations = {
|
|
7158
|
+
bg: "white",
|
|
6193
7159
|
display: "flex",
|
|
6194
7160
|
flexDirection: "column",
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
".
|
|
7161
|
+
gap: spacing$1(5),
|
|
7162
|
+
background: "transparent",
|
|
7163
|
+
borderRadius: "default",
|
|
7164
|
+
".currentObservations": {
|
|
6199
7165
|
display: "flex",
|
|
7166
|
+
gap: spacing$1(5),
|
|
6200
7167
|
flexDirection: "column",
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
7168
|
+
borderRadius: "default",
|
|
7169
|
+
".observation": {
|
|
7170
|
+
border: "1px solid",
|
|
7171
|
+
borderColor: "palette.border.article",
|
|
7172
|
+
borderRadius: "default",
|
|
7173
|
+
".observation__header": {
|
|
7174
|
+
display: "flex",
|
|
7175
|
+
flexWrap: "wrap",
|
|
7176
|
+
gap: spacing$1(3),
|
|
7177
|
+
alignItems: "center",
|
|
7178
|
+
borderBottom: "1px solid",
|
|
7179
|
+
borderColor: "palette.border.article",
|
|
7180
|
+
p: spacing$1(5),
|
|
7181
|
+
backgroundColor: "palette.background.paper",
|
|
7182
|
+
".icon__wrapper": {
|
|
7183
|
+
svg: {
|
|
7184
|
+
color: "favorite"
|
|
7185
|
+
}
|
|
7186
|
+
},
|
|
7187
|
+
img: {
|
|
7188
|
+
width: "18px",
|
|
7189
|
+
height: "18px"
|
|
7190
|
+
},
|
|
7191
|
+
".observation__header__block": {
|
|
7192
|
+
display: "flex",
|
|
7193
|
+
flexWrap: "nowrap",
|
|
7194
|
+
gap: spacing$1(3)
|
|
7195
|
+
},
|
|
7196
|
+
".observation__label": {
|
|
7197
|
+
fontWeight: "900"
|
|
7198
|
+
}
|
|
6228
7199
|
},
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
7200
|
+
"&.marked .observation__header": {
|
|
7201
|
+
borderLeft: "4px solid",
|
|
7202
|
+
borderLeftColor: "notifications.warning.backgroundColor",
|
|
7203
|
+
borderColor: "notifications.warning.backgroundColor",
|
|
7204
|
+
backgroundColor: "notifications.warning.backgroundColor",
|
|
7205
|
+
borderRadius: "default"
|
|
6235
7206
|
},
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
7207
|
+
".observation__body": {
|
|
7208
|
+
display: "flex",
|
|
7209
|
+
gap: spacing$1(5),
|
|
7210
|
+
p: spacing$1(5),
|
|
7211
|
+
alignItems: "start",
|
|
7212
|
+
".observation__comment": {
|
|
7213
|
+
width: "100%",
|
|
7214
|
+
maxHeight: "calc(100vh - 130px)",
|
|
7215
|
+
resize: "vertical",
|
|
7216
|
+
'&[style*="height"]': {
|
|
7217
|
+
maxHeight: "unset"
|
|
7218
|
+
},
|
|
7219
|
+
overflow: "auto",
|
|
7220
|
+
pr: spacing$1(4)
|
|
7221
|
+
}
|
|
7222
|
+
}
|
|
7223
|
+
}
|
|
7224
|
+
},
|
|
7225
|
+
".checkboxes": {
|
|
7226
|
+
alignItems: "center",
|
|
7227
|
+
display: "flex",
|
|
7228
|
+
flexWrap: "wrap",
|
|
7229
|
+
gap: spacing$1(6),
|
|
7230
|
+
".checkbox": {
|
|
7231
|
+
alignItems: "center",
|
|
6239
7232
|
display: "flex",
|
|
6240
|
-
|
|
7233
|
+
gap: spacing$1(3)
|
|
7234
|
+
}
|
|
7235
|
+
},
|
|
7236
|
+
".observation": {
|
|
7237
|
+
display: "flex",
|
|
7238
|
+
flexDirection: "column",
|
|
7239
|
+
span: {
|
|
7240
|
+
fontWeight: "bold"
|
|
6241
7241
|
},
|
|
6242
|
-
|
|
6243
|
-
"
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
7242
|
+
textarea: {
|
|
7243
|
+
height: "140px"
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
".alert": {
|
|
7247
|
+
color: "palette.warning.main"
|
|
7248
|
+
}
|
|
7249
|
+
/* PREPEND HERE */
|
|
7250
|
+
};
|
|
7251
|
+
|
|
7252
|
+
const dataGrid = {
|
|
7253
|
+
variant: "grids.form",
|
|
7254
|
+
display: responsive$2({ 0: "flex", 2: "grid" }),
|
|
7255
|
+
flexDirection: "column",
|
|
7256
|
+
gap: spacing$1(6),
|
|
7257
|
+
alignItems: "start",
|
|
7258
|
+
gridAutoRows: "none",
|
|
7259
|
+
gridTemplateColumns: responsive$2({
|
|
7260
|
+
0: "repeat(1, 1fr)",
|
|
7261
|
+
2: "repeat(3, 1fr)",
|
|
7262
|
+
4: "repeat(3, 1fr)",
|
|
7263
|
+
5: "repeat(5, 1fr)"
|
|
7264
|
+
}),
|
|
7265
|
+
"& label": {
|
|
7266
|
+
display: "block",
|
|
7267
|
+
".elementValue": {
|
|
7268
|
+
fontWeight: "normal",
|
|
7269
|
+
".errorContainer": {
|
|
7270
|
+
flexDirection: "column",
|
|
7271
|
+
alignItems: "center",
|
|
7272
|
+
div: {
|
|
7273
|
+
position: "relative"
|
|
7274
|
+
}
|
|
7275
|
+
}
|
|
6253
7276
|
},
|
|
6254
|
-
"&.
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
7277
|
+
"&.identifier, &.calendar": {
|
|
7278
|
+
gridColumn: responsive$2({ 0: "span 2", 5: "span 3", 6: "span 2" }),
|
|
7279
|
+
div: {
|
|
7280
|
+
display: "flex",
|
|
7281
|
+
gap: spacing$1(1),
|
|
7282
|
+
alignItems: "center",
|
|
7283
|
+
".separator": {
|
|
7284
|
+
alignSelf: "center"
|
|
7285
|
+
},
|
|
7286
|
+
input: {
|
|
7287
|
+
minWidth: "60px"
|
|
7288
|
+
},
|
|
7289
|
+
".body": {
|
|
7290
|
+
width: "100%"
|
|
7291
|
+
},
|
|
7292
|
+
".identifier__body": {
|
|
7293
|
+
flexShrink: 0
|
|
7294
|
+
}
|
|
7295
|
+
}
|
|
6263
7296
|
},
|
|
6264
|
-
"
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
7297
|
+
"strong + div": {
|
|
7298
|
+
wordBreak: "break-all"
|
|
7299
|
+
}
|
|
7300
|
+
}
|
|
7301
|
+
};
|
|
7302
|
+
const entityAndProcessData = {
|
|
7303
|
+
display: "flex",
|
|
7304
|
+
flexDirection: "column",
|
|
7305
|
+
// p: spacing(7),
|
|
7306
|
+
gap: 7,
|
|
7307
|
+
".collapsiblePanel__label": {
|
|
7308
|
+
display: "flex",
|
|
7309
|
+
alignItems: "anchor-center",
|
|
7310
|
+
gap: 3,
|
|
7311
|
+
h3: {
|
|
7312
|
+
m: spacing$1(0),
|
|
7313
|
+
fontSize: 18
|
|
7314
|
+
}
|
|
7315
|
+
},
|
|
7316
|
+
".collapsiblePanel__content": {
|
|
7317
|
+
borderRadius: "default",
|
|
7318
|
+
'&:not([aria-hidden="true"])': {
|
|
7319
|
+
border: "1px solid",
|
|
7320
|
+
borderColor: "palette.border.article"
|
|
6273
7321
|
},
|
|
6274
|
-
"
|
|
6275
|
-
|
|
6276
|
-
borderTopLeftRadius: "0px",
|
|
6277
|
-
alignSelf: "start",
|
|
6278
|
-
backgroundColor: "#00bcff14",
|
|
6279
|
-
//'#2222cc2b',
|
|
6280
|
-
width: "100%",
|
|
6281
|
-
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6282
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
7322
|
+
"& > div > *:not(.noPadding, button, .uploadedFiles__container)": {
|
|
7323
|
+
p: spacing$1(5)
|
|
6283
7324
|
}
|
|
6284
7325
|
},
|
|
6285
|
-
".
|
|
7326
|
+
".dataGrid": dataGrid,
|
|
7327
|
+
".dropzone": {
|
|
7328
|
+
border: "none"
|
|
7329
|
+
},
|
|
7330
|
+
".uploadedFiles__container[class]": {
|
|
6286
7331
|
display: "flex",
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
7332
|
+
gap: 3,
|
|
7333
|
+
p: 0,
|
|
7334
|
+
flexDirection: "column",
|
|
7335
|
+
".download_Button": {
|
|
7336
|
+
width: "fit-content"
|
|
7337
|
+
}
|
|
7338
|
+
}
|
|
7339
|
+
};
|
|
7340
|
+
const entityData = {
|
|
7341
|
+
...entityAndProcessData,
|
|
7342
|
+
"& h2": {
|
|
7343
|
+
"&.visibilitiesTitle": {
|
|
7344
|
+
display: "flex",
|
|
7345
|
+
justifyContent: "start",
|
|
7346
|
+
gap: spacing$1(3)
|
|
7347
|
+
}
|
|
7348
|
+
},
|
|
7349
|
+
".imageSelector": {
|
|
7350
|
+
button: {
|
|
7351
|
+
border: "none",
|
|
7352
|
+
cursor: "pointer",
|
|
7353
|
+
p: spacing$1(0),
|
|
7354
|
+
width: "75px",
|
|
7355
|
+
img: {
|
|
7356
|
+
width: "100%"
|
|
7357
|
+
}
|
|
7358
|
+
}
|
|
7359
|
+
},
|
|
7360
|
+
".EntityDataDocuments, .ProcessDataDocuments": {
|
|
7361
|
+
".entityData__actions": {
|
|
7362
|
+
p: spacing$1(3)
|
|
7363
|
+
}
|
|
7364
|
+
},
|
|
7365
|
+
".categories__tree__label": {
|
|
7366
|
+
display: "flex",
|
|
7367
|
+
alignItems: "center",
|
|
7368
|
+
gap: spacing$1(3),
|
|
7369
|
+
"& > div": {
|
|
7370
|
+
display: "flex",
|
|
7371
|
+
py: spacing$1(2)
|
|
7372
|
+
}
|
|
7373
|
+
},
|
|
7374
|
+
".entity__visibilities__container": {
|
|
7375
|
+
display: "flex",
|
|
7376
|
+
flexDirection: "column",
|
|
7377
|
+
gap: spacing$1(4),
|
|
7378
|
+
".entity__visibilities__grid": {
|
|
7379
|
+
display: "grid",
|
|
7380
|
+
gridTemplateColumns: "repeat(2, 1fr)",
|
|
7381
|
+
gap: "1rem",
|
|
7382
|
+
".switch__card": {
|
|
7383
|
+
border: "1px solid",
|
|
7384
|
+
borderColor: "palette.border.field",
|
|
7385
|
+
borderRadius: "default"
|
|
6295
7386
|
}
|
|
6296
7387
|
}
|
|
6297
7388
|
}
|
|
7389
|
+
/* PREPEND HERE */
|
|
6298
7390
|
};
|
|
6299
7391
|
|
|
6300
|
-
const
|
|
7392
|
+
const processData = {
|
|
7393
|
+
...entityAndProcessData,
|
|
7394
|
+
".ProcessDataDocuments": {
|
|
7395
|
+
".processData__actions": {
|
|
7396
|
+
p: spacing$1(3)
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
6301
7399
|
/* PREPEND HERE */
|
|
7400
|
+
};
|
|
7401
|
+
|
|
7402
|
+
const documents = {
|
|
6302
7403
|
display: "flex",
|
|
6303
7404
|
flexDirection: "column",
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
flexGrow: 1,
|
|
6311
|
-
flexShrink: 1,
|
|
6312
|
-
overflow: "auto"
|
|
7405
|
+
gap: spacing$1(7),
|
|
7406
|
+
".collapsiblePanel__label": {
|
|
7407
|
+
mb: spacing$1(3),
|
|
7408
|
+
h2: {
|
|
7409
|
+
m: spacing$1(0)
|
|
7410
|
+
}
|
|
6313
7411
|
},
|
|
6314
|
-
".
|
|
6315
|
-
|
|
7412
|
+
".collapsiblePanel__content": {
|
|
7413
|
+
'&:not([aria-hidden="true"])': {
|
|
7414
|
+
border: "1px solid",
|
|
7415
|
+
borderColor: "palette.border.article"
|
|
7416
|
+
},
|
|
7417
|
+
"& > div > *:not(.noPadding)": {
|
|
7418
|
+
p: spacing$1(7)
|
|
7419
|
+
}
|
|
6316
7420
|
},
|
|
6317
|
-
".
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
7421
|
+
".dropzone": {
|
|
7422
|
+
borderTop: "none",
|
|
7423
|
+
borderLeft: "none",
|
|
7424
|
+
borderRight: "none"
|
|
7425
|
+
},
|
|
7426
|
+
".entityData__actions, .processData__actions": {
|
|
7427
|
+
p: spacing$1(3)
|
|
6321
7428
|
}
|
|
7429
|
+
/* PREPEND HERE */
|
|
6322
7430
|
};
|
|
6323
7431
|
|
|
6324
|
-
const
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
display: "flex",
|
|
6328
|
-
flexDirection: responsive$2({ 0: "column", 3: "row" }),
|
|
6329
|
-
flexWrap: "wrap",
|
|
6330
|
-
gap: spacing$1(3),
|
|
6331
|
-
".attachments__more_button": {
|
|
6332
|
-
border: "1px solid",
|
|
6333
|
-
borderColor: "palette.border.article",
|
|
6334
|
-
borderRadius: "elementBox",
|
|
6335
|
-
boxShadow: "sharp",
|
|
6336
|
-
p: 2
|
|
6337
|
-
},
|
|
6338
|
-
".file_box": {
|
|
6339
|
-
alignItems: "center",
|
|
7432
|
+
const taskMonitor = {
|
|
7433
|
+
table: {
|
|
7434
|
+
variant: "layout.common.tables.secondary",
|
|
6340
7435
|
border: "1px solid",
|
|
6341
7436
|
borderColor: "palette.border.article",
|
|
6342
|
-
borderRadius: "
|
|
6343
|
-
|
|
6344
|
-
display: "flex",
|
|
6345
|
-
gap: spacing$1(3),
|
|
6346
|
-
width: responsive$2({
|
|
6347
|
-
0: "100%",
|
|
6348
|
-
3: "min(90vw, 200px)"
|
|
6349
|
-
}),
|
|
6350
|
-
p: 2
|
|
7437
|
+
borderRadius: "default",
|
|
7438
|
+
overflow: "hidden"
|
|
6351
7439
|
},
|
|
6352
|
-
".
|
|
6353
|
-
|
|
7440
|
+
".taskMonitor__warning": {
|
|
7441
|
+
backgroundColor: "palette.warning.light",
|
|
7442
|
+
color: "palette.warning.contrastText"
|
|
6354
7443
|
},
|
|
6355
|
-
".
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
margin: "0px",
|
|
6359
|
-
overflow: "hidden",
|
|
6360
|
-
textOverflow: "ellipsis",
|
|
6361
|
-
whiteSpace: "nowrap"
|
|
7444
|
+
".taskMonitor__overdue": {
|
|
7445
|
+
backgroundColor: "palette.error.light",
|
|
7446
|
+
color: "palette.error.contrastText"
|
|
6362
7447
|
},
|
|
6363
|
-
"
|
|
6364
|
-
|
|
6365
|
-
|
|
7448
|
+
"& > div": {
|
|
7449
|
+
maxHeight: "500px",
|
|
7450
|
+
"& > div": {
|
|
7451
|
+
height: "100%",
|
|
7452
|
+
overflowX: "auto",
|
|
7453
|
+
"&.noFixedWidth": {
|
|
7454
|
+
overflowX: "auto"
|
|
7455
|
+
}
|
|
7456
|
+
}
|
|
6366
7457
|
}
|
|
7458
|
+
/* PREPEND HERE */
|
|
6367
7459
|
};
|
|
6368
7460
|
|
|
6369
|
-
const
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
7461
|
+
const tab = {
|
|
7462
|
+
list: {
|
|
7463
|
+
".tabs__list": {
|
|
7464
|
+
borderRadius: "7px",
|
|
7465
|
+
display: "flex",
|
|
7466
|
+
flexDirection: "column"
|
|
7467
|
+
},
|
|
7468
|
+
".tabs__item__wrapper": {
|
|
7469
|
+
display: "flex",
|
|
7470
|
+
alignItems: "center",
|
|
7471
|
+
background: "palette.background.paper",
|
|
7472
|
+
padding: "4px 10px",
|
|
7473
|
+
border: "none",
|
|
7474
|
+
borderBottom: "1px solid #ccc",
|
|
7475
|
+
boxShadow: "sharp",
|
|
7476
|
+
cursor: "pointer",
|
|
7477
|
+
".tabs__item__button": {
|
|
7478
|
+
width: "100%",
|
|
7479
|
+
p: 3,
|
|
7480
|
+
background: "transparent",
|
|
7481
|
+
justifyContent: "start",
|
|
7482
|
+
color: "palette.text.primary",
|
|
7483
|
+
".button__content": {
|
|
7484
|
+
display: "flex",
|
|
7485
|
+
alignItems: "center",
|
|
7486
|
+
gap: spacing$1(1),
|
|
7487
|
+
textAlign: "start"
|
|
7488
|
+
}
|
|
7489
|
+
},
|
|
7490
|
+
"&:hover": {
|
|
7491
|
+
background: "palette.gray.900"
|
|
7492
|
+
},
|
|
7493
|
+
// First item: apply top border radii
|
|
7494
|
+
"&:first-of-type": {
|
|
7495
|
+
borderTopLeftRadius: "default",
|
|
7496
|
+
borderTopRightRadius: "default"
|
|
7497
|
+
},
|
|
7498
|
+
// Last item: apply bottom border radii
|
|
7499
|
+
"&:last-of-type": {
|
|
7500
|
+
borderBottomLeftRadius: "default",
|
|
7501
|
+
borderBottomRightRadius: "default"
|
|
7502
|
+
}
|
|
7503
|
+
},
|
|
7504
|
+
".warning-icon[class]": {
|
|
7505
|
+
svg: {
|
|
7506
|
+
// color: '#ffa600',
|
|
7507
|
+
color: "favorite",
|
|
7508
|
+
width: "18px",
|
|
7509
|
+
height: "18px"
|
|
7510
|
+
}
|
|
7511
|
+
}
|
|
6380
7512
|
},
|
|
6381
|
-
|
|
6382
|
-
margin: "10px",
|
|
7513
|
+
content: {
|
|
6383
7514
|
display: "flex",
|
|
6384
7515
|
flexDirection: "column",
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
bottom: "4px",
|
|
6391
|
-
right: "4px",
|
|
6392
|
-
fontSize: "12px",
|
|
6393
|
-
color: "#333",
|
|
6394
|
-
textOverflow: "ellipsis",
|
|
6395
|
-
whiteSpace: "nowrap",
|
|
6396
|
-
overflow: "hidden",
|
|
6397
|
-
width: "inherit",
|
|
6398
|
-
textAlign: "center",
|
|
6399
|
-
px: "5px"
|
|
6400
|
-
},
|
|
6401
|
-
textBox: {
|
|
6402
|
-
variant: "layout.common.components.aiMessage.genericBox",
|
|
6403
|
-
width: "50px",
|
|
6404
|
-
padding: "10px",
|
|
6405
|
-
backgroundColor: "#fff",
|
|
6406
|
-
border: "1px solid #ddd",
|
|
6407
|
-
borderRadius: "4px",
|
|
6408
|
-
position: "relative"
|
|
6409
|
-
},
|
|
6410
|
-
textSnippet: {
|
|
6411
|
-
bottom: "4px",
|
|
6412
|
-
right: "4px",
|
|
6413
|
-
fontSize: "12px",
|
|
6414
|
-
color: "#555"
|
|
6415
|
-
}
|
|
6416
|
-
};
|
|
6417
|
-
|
|
6418
|
-
const assistant = {
|
|
6419
|
-
floatingAssistant: {
|
|
6420
|
-
"& div.modal__content[class]": {
|
|
6421
|
-
p: 3,
|
|
6422
|
-
width: "min(90vw, 500px)"
|
|
7516
|
+
gap: "15px",
|
|
7517
|
+
".tabs__content": {
|
|
7518
|
+
".accordion__item": {
|
|
7519
|
+
boxShadow: "default"
|
|
7520
|
+
}
|
|
6423
7521
|
},
|
|
6424
|
-
".
|
|
6425
|
-
|
|
6426
|
-
|
|
7522
|
+
".accordion__item__button[class]": {
|
|
7523
|
+
width: "100%",
|
|
7524
|
+
p: "10px 15px",
|
|
7525
|
+
borderRadius: "default",
|
|
7526
|
+
userSelect: "unset",
|
|
7527
|
+
".button__content": {
|
|
7528
|
+
display: "flex",
|
|
7529
|
+
flexDirection: "row",
|
|
7530
|
+
justifyContent: "space-between",
|
|
7531
|
+
width: "100%",
|
|
7532
|
+
alignItems: "center"
|
|
7533
|
+
}
|
|
6427
7534
|
},
|
|
6428
|
-
"
|
|
6429
|
-
|
|
7535
|
+
".accordion__item__content": {
|
|
7536
|
+
borderRadius: "default",
|
|
7537
|
+
background: "palette.background.paper",
|
|
7538
|
+
'&:not(:has([data-variant="layout.execution.form"])) > div': {
|
|
7539
|
+
p: spacing$1(7)
|
|
7540
|
+
}
|
|
7541
|
+
},
|
|
7542
|
+
".accordion__item__button__label": {
|
|
7543
|
+
color: "palette.primary.contrastText"
|
|
7544
|
+
},
|
|
7545
|
+
".accordion__item__button__rightGroup": {
|
|
7546
|
+
display: "flex"
|
|
7547
|
+
},
|
|
7548
|
+
".tabs__Item": {
|
|
7549
|
+
height: "100%",
|
|
7550
|
+
display: "flex",
|
|
7551
|
+
gap: "15px",
|
|
7552
|
+
flexDirection: "column"
|
|
7553
|
+
},
|
|
7554
|
+
".collapsiblePanel__container": {
|
|
7555
|
+
background: "palette.background.paper",
|
|
7556
|
+
p: spacing$1(0),
|
|
7557
|
+
".collapsiblePanel__label__button": {
|
|
7558
|
+
display: "flex"
|
|
7559
|
+
}
|
|
6430
7560
|
}
|
|
6431
7561
|
}
|
|
6432
|
-
};
|
|
6433
|
-
|
|
6434
|
-
const chat = {
|
|
6435
7562
|
/* PREPEND HERE */
|
|
6436
|
-
assistant,
|
|
6437
|
-
form: form$1,
|
|
6438
|
-
history,
|
|
6439
|
-
controller,
|
|
6440
|
-
attachments,
|
|
6441
|
-
message
|
|
6442
7563
|
};
|
|
6443
7564
|
|
|
6444
|
-
const
|
|
6445
|
-
|
|
6446
|
-
"
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
}
|
|
6453
|
-
},
|
|
6454
|
-
blockquote: {
|
|
6455
|
-
fontStyle: "italic"
|
|
7565
|
+
const associations = {
|
|
7566
|
+
display: "flex",
|
|
7567
|
+
flexDirection: "column",
|
|
7568
|
+
gap: 4,
|
|
7569
|
+
".associations__table_container": {
|
|
7570
|
+
height: "400px",
|
|
7571
|
+
overflowY: "auto",
|
|
7572
|
+
overflowX: "hidden"
|
|
6456
7573
|
},
|
|
6457
7574
|
table: {
|
|
6458
7575
|
variant: "layout.common.tables.secondary",
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
7576
|
+
border: "1px solid",
|
|
7577
|
+
borderColor: "palette.border.article",
|
|
7578
|
+
borderRadius: "default"
|
|
6462
7579
|
},
|
|
6463
|
-
|
|
6464
|
-
display: "
|
|
6465
|
-
|
|
6466
|
-
|
|
7580
|
+
".associations__buttons": {
|
|
7581
|
+
display: "flex",
|
|
7582
|
+
flexDirection: "row",
|
|
7583
|
+
gap: 2,
|
|
7584
|
+
justifyContent: "flex-end"
|
|
6467
7585
|
},
|
|
6468
|
-
|
|
6469
|
-
|
|
7586
|
+
".errorRequired": {
|
|
7587
|
+
color: "palette.error.main"
|
|
6470
7588
|
},
|
|
6471
|
-
|
|
6472
|
-
|
|
7589
|
+
".association__errorRequired": {
|
|
7590
|
+
input: {
|
|
7591
|
+
color: "palette.error.main",
|
|
7592
|
+
borderLeft: "3px solid !important",
|
|
7593
|
+
borderLeftColor: "palette.error.main"
|
|
7594
|
+
}
|
|
6473
7595
|
},
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
paddingBottom: "16px"
|
|
7596
|
+
".associationSpinner": {
|
|
7597
|
+
position: "absolute",
|
|
7598
|
+
width: "20px",
|
|
7599
|
+
height: "20px",
|
|
7600
|
+
right: "55px",
|
|
7601
|
+
top: "15px"
|
|
6481
7602
|
},
|
|
6482
|
-
"
|
|
6483
|
-
|
|
7603
|
+
".association__cell_content": {
|
|
7604
|
+
position: "relative"
|
|
6484
7605
|
},
|
|
6485
|
-
"
|
|
6486
|
-
|
|
7606
|
+
".associationReq__after": { position: "absolute", left: "2px", top: "-3px" },
|
|
7607
|
+
".associationReq__before": {
|
|
7608
|
+
position: "absolute",
|
|
7609
|
+
right: "2px",
|
|
7610
|
+
top: "-3px"
|
|
6487
7611
|
}
|
|
7612
|
+
/* PREPEND HERE */
|
|
7613
|
+
};
|
|
7614
|
+
|
|
7615
|
+
const tabs = {
|
|
7616
|
+
observations,
|
|
7617
|
+
entityData,
|
|
7618
|
+
processData,
|
|
7619
|
+
documents,
|
|
7620
|
+
taskMonitor,
|
|
7621
|
+
associations,
|
|
7622
|
+
...tab
|
|
7623
|
+
/* PREPEND HERE */
|
|
6488
7624
|
};
|
|
6489
7625
|
|
|
6490
7626
|
const common = (theme) => {
|
|
@@ -6493,6 +7629,7 @@ const common = (theme) => {
|
|
|
6493
7629
|
forms,
|
|
6494
7630
|
modals,
|
|
6495
7631
|
tables: tables(theme),
|
|
7632
|
+
tabs,
|
|
6496
7633
|
components,
|
|
6497
7634
|
trees,
|
|
6498
7635
|
tooltips,
|
|
@@ -8316,7 +9453,7 @@ async function getRemarkable(extensions) {
|
|
|
8316
9453
|
|
|
8317
9454
|
const parseMarkdown = async (options) => {
|
|
8318
9455
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
8319
|
-
const css = (await import('./styles-
|
|
9456
|
+
const css = (await import('./styles-C1r5gTas.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8320
9457
|
if (css instanceof ErrorImporting)
|
|
8321
9458
|
throw new Error("Could not import css, cannot continue");
|
|
8322
9459
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -8828,4 +9965,4 @@ ${pageBreakTag}`;
|
|
|
8828
9965
|
}
|
|
8829
9966
|
|
|
8830
9967
|
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput as M, Table as T, getColorStates as a, getColorsAndStatesByDefinition as b, getColorsAndStatesByPath as c, getColorsByDefinition as d, getColorsByPath as e, getOneColorState as f, getColorState as g, applyStatesGetColor as h, makeStyledComponent as i, injectStyles as j, getSpacingLayouts as k, spacing as l, markdownExtensions as m, smallButton as n, focusOutline as o, parsePalette as p, getVariant as q, responsive$1 as r, spacingLayouts as s, MarkdownBlock as t, useMainTheme as u, MarkdownBuilder as v, parseMarkdown as w, MarkdownList as x, MarkdownParagraph as y, MarkdownTable as z };
|
|
8831
|
-
//# sourceMappingURL=index-
|
|
9968
|
+
//# sourceMappingURL=index-Rlqjgy-g.js.map
|