@apia/theme 4.0.44 → 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-DpVqNvc_.js → index-Rlqjgy-g.js} +642 -11
- package/dist/index-Rlqjgy-g.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-avriBVzL.js → styles-C1r5gTas.js} +2 -2
- package/dist/{styles-avriBVzL.js.map → styles-C1r5gTas.js.map} +1 -1
- package/package.json +3 -3
- package/dist/index-DpVqNvc_.js.map +0 -1
|
@@ -6,7 +6,7 @@ import { jsxs, jsx, Fragment } from 'theme-ui/jsx-runtime';
|
|
|
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) {
|
|
@@ -2620,12 +2620,41 @@ const formGrid = {
|
|
|
2620
2620
|
display: "grid",
|
|
2621
2621
|
gridTemplateColumns: "1fr 1fr 1fr",
|
|
2622
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
|
+
},
|
|
2623
2647
|
".span_all": {
|
|
2624
2648
|
gridColumn: "span 3"
|
|
2625
2649
|
},
|
|
2626
2650
|
".extra_gap": {
|
|
2627
2651
|
marginY: 6
|
|
2628
2652
|
},
|
|
2653
|
+
".error": {
|
|
2654
|
+
input: {
|
|
2655
|
+
borderLeft: "8px solid darkred !important"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2629
2658
|
".gap_before": {
|
|
2630
2659
|
marginTop: 6
|
|
2631
2660
|
},
|
|
@@ -2637,7 +2666,21 @@ const formGrid = {
|
|
|
2637
2666
|
gap: 4,
|
|
2638
2667
|
flexDirection: "row-reverse",
|
|
2639
2668
|
alignItems: "center",
|
|
2640
|
-
justifyContent: "start"
|
|
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
|
+
}
|
|
2641
2684
|
}
|
|
2642
2685
|
};
|
|
2643
2686
|
|
|
@@ -2788,12 +2831,14 @@ const apiaApi = {
|
|
|
2788
2831
|
};
|
|
2789
2832
|
|
|
2790
2833
|
const confirm = {
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2834
|
+
"&.confirm[class]": {
|
|
2835
|
+
display: "flex",
|
|
2836
|
+
flexDirection: "column",
|
|
2837
|
+
gap: spacing$1(6),
|
|
2838
|
+
height: "100%",
|
|
2839
|
+
width: "100%",
|
|
2840
|
+
overflow: "auto"
|
|
2841
|
+
},
|
|
2797
2842
|
".confirm__content": {
|
|
2798
2843
|
overflow: "auto",
|
|
2799
2844
|
flexBasis: "100%",
|
|
@@ -5382,6 +5427,590 @@ const scheduler = {
|
|
|
5382
5427
|
/* PREPEND HERE */
|
|
5383
5428
|
};
|
|
5384
5429
|
|
|
5430
|
+
const permissions = {
|
|
5431
|
+
".uploader__permissions_selection": {
|
|
5432
|
+
display: "flex",
|
|
5433
|
+
flexDirection: "row",
|
|
5434
|
+
alignItems: "end",
|
|
5435
|
+
gap: 4,
|
|
5436
|
+
div: {
|
|
5437
|
+
width: "100%"
|
|
5438
|
+
},
|
|
5439
|
+
select: {
|
|
5440
|
+
width: "100%"
|
|
5441
|
+
},
|
|
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"
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5460
|
+
};
|
|
5461
|
+
|
|
5462
|
+
const collapsiblePanel = {
|
|
5463
|
+
".collapsiblePanel": {
|
|
5464
|
+
display: "flex",
|
|
5465
|
+
flexDirection: "column"
|
|
5466
|
+
},
|
|
5467
|
+
".collapsiblePanel__label": {
|
|
5468
|
+
"& span": {
|
|
5469
|
+
fontWeight: 700
|
|
5470
|
+
},
|
|
5471
|
+
"& button > span": {
|
|
5472
|
+
fontWeight: "normal"
|
|
5473
|
+
}
|
|
5474
|
+
},
|
|
5475
|
+
".collapsiblePanel__label__button": {
|
|
5476
|
+
display: "flex",
|
|
5477
|
+
alignItems: "center",
|
|
5478
|
+
width: "100%",
|
|
5479
|
+
justifyContent: "space-between",
|
|
5480
|
+
'&[aria-expanded="false"]': {
|
|
5481
|
+
borderBottom: "1px solid #e1e1e1"
|
|
5482
|
+
}
|
|
5483
|
+
},
|
|
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
|
+
}
|
|
5507
|
+
},
|
|
5508
|
+
".uploader__content": {
|
|
5509
|
+
display: "flex",
|
|
5510
|
+
flexDirection: "column",
|
|
5511
|
+
gap: 4,
|
|
5512
|
+
overflow: "auto",
|
|
5513
|
+
p: 2,
|
|
5514
|
+
overflowX: "hidden"
|
|
5515
|
+
},
|
|
5516
|
+
"& label": {
|
|
5517
|
+
display: "flex",
|
|
5518
|
+
flexDirection: "column",
|
|
5519
|
+
gap: 2,
|
|
5520
|
+
span: {
|
|
5521
|
+
fontWeight: 700
|
|
5522
|
+
}
|
|
5523
|
+
},
|
|
5524
|
+
".uploader__file_selection": {
|
|
5525
|
+
display: "flex",
|
|
5526
|
+
flexDirection: "row",
|
|
5527
|
+
gap: 3,
|
|
5528
|
+
alignItems: "center",
|
|
5529
|
+
alignContent: "center",
|
|
5530
|
+
width: "100%",
|
|
5531
|
+
".autocomplete": {
|
|
5532
|
+
width: "100%"
|
|
5533
|
+
},
|
|
5534
|
+
".uploader__file_infoBtn": {
|
|
5535
|
+
height: "48px",
|
|
5536
|
+
width: "48px",
|
|
5537
|
+
p: 0,
|
|
5538
|
+
display: "flex"
|
|
5539
|
+
}
|
|
5540
|
+
},
|
|
5541
|
+
".uploader__dropzone_description_section": {
|
|
5542
|
+
display: "flex",
|
|
5543
|
+
flexDirection: "column",
|
|
5544
|
+
gap: 3,
|
|
5545
|
+
background: "inherit",
|
|
5546
|
+
padding: 4,
|
|
5547
|
+
borderRadius: "default",
|
|
5548
|
+
border: "1px solid",
|
|
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%"
|
|
5560
|
+
},
|
|
5561
|
+
".dropzone": {
|
|
5562
|
+
height: "50px"
|
|
5563
|
+
},
|
|
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": {
|
|
5608
|
+
width: "100%",
|
|
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
|
+
}
|
|
5665
|
+
},
|
|
5666
|
+
".metadata__actions": {
|
|
5667
|
+
display: "flex",
|
|
5668
|
+
flexDirection: "row",
|
|
5669
|
+
gap: 3
|
|
5670
|
+
},
|
|
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"
|
|
5692
|
+
},
|
|
5693
|
+
button: {
|
|
5694
|
+
boxShadow: "none",
|
|
5695
|
+
color: "palette.text.primary",
|
|
5696
|
+
background: "inherit"
|
|
5697
|
+
},
|
|
5698
|
+
"tr > td:first-of-type": {
|
|
5699
|
+
width: "50%"
|
|
5700
|
+
},
|
|
5701
|
+
".table__buttons": {
|
|
5702
|
+
display: "flex",
|
|
5703
|
+
gap: 3
|
|
5704
|
+
}
|
|
5705
|
+
},
|
|
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"
|
|
5729
|
+
}
|
|
5730
|
+
},
|
|
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%"
|
|
5757
|
+
},
|
|
5758
|
+
tbody: {
|
|
5759
|
+
".selected": {
|
|
5760
|
+
background: "palette.gray.900"
|
|
5761
|
+
},
|
|
5762
|
+
td: {
|
|
5763
|
+
padding: 3,
|
|
5764
|
+
borderBottom: "1px solid #ececec",
|
|
5765
|
+
verticalAlign: "top"
|
|
5766
|
+
},
|
|
5767
|
+
".iconButton": {
|
|
5768
|
+
border: "none"
|
|
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"
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
};
|
|
5783
|
+
|
|
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
|
+
}
|
|
5862
|
+
/* PREPEND HERE */
|
|
5863
|
+
};
|
|
5864
|
+
|
|
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
|
+
}
|
|
5898
|
+
},
|
|
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"
|
|
5908
|
+
},
|
|
5909
|
+
"th:first-of-type": {
|
|
5910
|
+
width: "200px"
|
|
5911
|
+
},
|
|
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
|
+
}
|
|
5927
|
+
}
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
};
|
|
5931
|
+
|
|
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
|
+
|
|
5385
6014
|
const components = {
|
|
5386
6015
|
/* PREPEND HERE */
|
|
5387
6016
|
accordion,
|
|
@@ -5394,7 +6023,9 @@ const components = {
|
|
|
5394
6023
|
aiMessage,
|
|
5395
6024
|
infoButton,
|
|
5396
6025
|
filters,
|
|
5397
|
-
fileCard
|
|
6026
|
+
fileCard,
|
|
6027
|
+
uploader,
|
|
6028
|
+
switchCard
|
|
5398
6029
|
};
|
|
5399
6030
|
|
|
5400
6031
|
const labelBox = {
|
|
@@ -8822,7 +9453,7 @@ async function getRemarkable(extensions) {
|
|
|
8822
9453
|
|
|
8823
9454
|
const parseMarkdown = async (options) => {
|
|
8824
9455
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
8825
|
-
const css = (await import('./styles-
|
|
9456
|
+
const css = (await import('./styles-C1r5gTas.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8826
9457
|
if (css instanceof ErrorImporting)
|
|
8827
9458
|
throw new Error("Could not import css, cannot continue");
|
|
8828
9459
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -9334,4 +9965,4 @@ ${pageBreakTag}`;
|
|
|
9334
9965
|
}
|
|
9335
9966
|
|
|
9336
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 };
|
|
9337
|
-
//# sourceMappingURL=index-
|
|
9968
|
+
//# sourceMappingURL=index-Rlqjgy-g.js.map
|