@apia/theme 4.0.42 → 4.0.44
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/{html.js → html-B-K0BIiw.js} +1 -1
- package/dist/html-B-K0BIiw.js.map +1 -0
- package/dist/{index2.js → index-DpVqNvc_.js} +539 -29
- package/dist/index-DpVqNvc_.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{styles.js → styles-avriBVzL.js} +3 -3
- package/dist/styles-avriBVzL.js.map +1 -0
- package/package.json +3 -3
- package/dist/html.js.map +0 -1
- package/dist/index2.js.map +0 -1
- package/dist/styles.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
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';
|
|
@@ -2156,7 +2156,7 @@ const baseTheme = () => {
|
|
|
2156
2156
|
panel: "7px",
|
|
2157
2157
|
modals: "7px",
|
|
2158
2158
|
tooltips: "7px",
|
|
2159
|
-
chatMessage: "
|
|
2159
|
+
chatMessage: "10px",
|
|
2160
2160
|
elementBox: "4px"
|
|
2161
2161
|
},
|
|
2162
2162
|
shadows: {
|
|
@@ -2616,12 +2616,38 @@ const deletableInput = {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
2618
|
|
|
2619
|
+
const formGrid = {
|
|
2620
|
+
display: "grid",
|
|
2621
|
+
gridTemplateColumns: "1fr 1fr 1fr",
|
|
2622
|
+
gap: 5,
|
|
2623
|
+
".span_all": {
|
|
2624
|
+
gridColumn: "span 3"
|
|
2625
|
+
},
|
|
2626
|
+
".extra_gap": {
|
|
2627
|
+
marginY: 6
|
|
2628
|
+
},
|
|
2629
|
+
".gap_before": {
|
|
2630
|
+
marginTop: 6
|
|
2631
|
+
},
|
|
2632
|
+
".gap_after": {
|
|
2633
|
+
marginBottom: 6
|
|
2634
|
+
},
|
|
2635
|
+
".checkbox": {
|
|
2636
|
+
display: "flex",
|
|
2637
|
+
gap: 4,
|
|
2638
|
+
flexDirection: "row-reverse",
|
|
2639
|
+
alignItems: "center",
|
|
2640
|
+
justifyContent: "start"
|
|
2641
|
+
}
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2619
2644
|
const forms$1 = (theme) => {
|
|
2620
2645
|
return {
|
|
2621
2646
|
checkbox,
|
|
2622
2647
|
customCheckbox,
|
|
2623
2648
|
dateInput,
|
|
2624
2649
|
deletableInput,
|
|
2650
|
+
formGrid,
|
|
2625
2651
|
iconInput,
|
|
2626
2652
|
input,
|
|
2627
2653
|
label,
|
|
@@ -3464,7 +3490,14 @@ const primary$4 = (theme) => {
|
|
|
3464
3490
|
height: "30px",
|
|
3465
3491
|
padding: "3px",
|
|
3466
3492
|
border: "none",
|
|
3467
|
-
background: "transparent"
|
|
3493
|
+
background: "transparent",
|
|
3494
|
+
svg: {
|
|
3495
|
+
transform: "rotate(0deg)",
|
|
3496
|
+
transition: "transform 200ms"
|
|
3497
|
+
},
|
|
3498
|
+
"&.expanded svg": {
|
|
3499
|
+
transform: `rotate(90deg)`
|
|
3500
|
+
}
|
|
3468
3501
|
}
|
|
3469
3502
|
},
|
|
3470
3503
|
"&.locked": {
|
|
@@ -4550,6 +4583,9 @@ const accordion = {
|
|
|
4550
4583
|
borderTop: "1px solid",
|
|
4551
4584
|
borderTopColor: "palette.border.ghost"
|
|
4552
4585
|
},
|
|
4586
|
+
".accordion__item__content": {
|
|
4587
|
+
background: "palette.background.paper"
|
|
4588
|
+
},
|
|
4553
4589
|
".accordion__item__content > *": {
|
|
4554
4590
|
p: 4,
|
|
4555
4591
|
boxShadow: "default",
|
|
@@ -5722,13 +5758,7 @@ const semanticSearch = {
|
|
|
5722
5758
|
flexDirection: "column",
|
|
5723
5759
|
position: "relative"
|
|
5724
5760
|
},
|
|
5725
|
-
|
|
5726
|
-
display: "flex",
|
|
5727
|
-
flexDirection: "column",
|
|
5728
|
-
gap: 3,
|
|
5729
|
-
padding: "16px 24px 0 24px"
|
|
5730
|
-
},
|
|
5731
|
-
".sem_search__stream_block": {
|
|
5761
|
+
streamBlock: {
|
|
5732
5762
|
animation: `${animations.fadeIn} 0.2s`,
|
|
5733
5763
|
borderRadius: "5px",
|
|
5734
5764
|
padding: "5px 10px",
|
|
@@ -5736,6 +5766,18 @@ const semanticSearch = {
|
|
|
5736
5766
|
color: "black",
|
|
5737
5767
|
listStyle: "disc"
|
|
5738
5768
|
},
|
|
5769
|
+
streamBlocks: {
|
|
5770
|
+
display: "flex",
|
|
5771
|
+
flexDirection: "column",
|
|
5772
|
+
gap: 3,
|
|
5773
|
+
padding: "16px 24px 0 24px"
|
|
5774
|
+
},
|
|
5775
|
+
".sem_search__stream_blocks": {
|
|
5776
|
+
variant: "layout.common.ai.semanticSearch.execution.streamBlocks"
|
|
5777
|
+
},
|
|
5778
|
+
".sem_search__stream_block": {
|
|
5779
|
+
variant: "layout.common.ai.semanticSearch.execution.streamBlock"
|
|
5780
|
+
},
|
|
5739
5781
|
".sem_search__thumbs": {
|
|
5740
5782
|
display: "flex",
|
|
5741
5783
|
justifyContent: "end",
|
|
@@ -5753,9 +5795,9 @@ const semanticSearch = {
|
|
|
5753
5795
|
color: "gray"
|
|
5754
5796
|
}
|
|
5755
5797
|
},
|
|
5798
|
+
ellipsis: { padding: "0 24px 32px 24px", fontWeight: "bold" },
|
|
5756
5799
|
".ellipsis": {
|
|
5757
|
-
|
|
5758
|
-
fontWeight: "bold"
|
|
5800
|
+
variant: "layout.common.ai.semanticSearch.execution.ellipsis"
|
|
5759
5801
|
},
|
|
5760
5802
|
".filters__container": {
|
|
5761
5803
|
" > div": {
|
|
@@ -6187,12 +6229,15 @@ const history = {
|
|
|
6187
6229
|
display: "flex",
|
|
6188
6230
|
flexDirection: "column",
|
|
6189
6231
|
width: "100%",
|
|
6190
|
-
gap:
|
|
6232
|
+
gap: 4,
|
|
6191
6233
|
p: 3,
|
|
6192
6234
|
".history_message__content": {
|
|
6193
6235
|
display: "flex",
|
|
6194
6236
|
flexDirection: "column",
|
|
6195
6237
|
gap: "16px",
|
|
6238
|
+
div: {
|
|
6239
|
+
padding: 0
|
|
6240
|
+
},
|
|
6196
6241
|
h3: {
|
|
6197
6242
|
fontSize: "20px"
|
|
6198
6243
|
}
|
|
@@ -6200,11 +6245,13 @@ const history = {
|
|
|
6200
6245
|
".history_message": {
|
|
6201
6246
|
px: 4,
|
|
6202
6247
|
py: 5,
|
|
6248
|
+
pt: 0,
|
|
6203
6249
|
maxWidth: "calc(100% - 50px)",
|
|
6204
6250
|
width: "fit-content",
|
|
6205
6251
|
wordWrap: "break-word",
|
|
6206
6252
|
whiteSpace: "pre-wrap",
|
|
6207
6253
|
borderRadius: "chatMessage",
|
|
6254
|
+
minWidth: "50px",
|
|
6208
6255
|
"&.last": {
|
|
6209
6256
|
mb: 4
|
|
6210
6257
|
},
|
|
@@ -6222,8 +6269,6 @@ const history = {
|
|
|
6222
6269
|
".fileCard__content": {
|
|
6223
6270
|
color: "palette.text.primary"
|
|
6224
6271
|
},
|
|
6225
|
-
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
6226
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
6227
6272
|
border: "1px solid rgb(113 145 193)",
|
|
6228
6273
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6229
6274
|
alignSelf: "end",
|
|
@@ -6239,41 +6284,36 @@ const history = {
|
|
|
6239
6284
|
},
|
|
6240
6285
|
backgroundColor: "#00bcff14",
|
|
6241
6286
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6242
|
-
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
6243
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
6244
6287
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6245
6288
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6246
6289
|
},
|
|
6247
6290
|
"&.warning": {
|
|
6248
|
-
borderRadius: "
|
|
6291
|
+
borderRadius: "chatMessage",
|
|
6292
|
+
borderTopLeftRadius: "0px",
|
|
6249
6293
|
alignSelf: "start",
|
|
6250
6294
|
backgroundColor: "#ffff0024",
|
|
6251
6295
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6252
6296
|
width: "100%",
|
|
6253
|
-
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
6254
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
6255
6297
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6256
6298
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6257
6299
|
},
|
|
6258
6300
|
"&.error": {
|
|
6259
|
-
borderRadius: "
|
|
6301
|
+
borderRadius: "chatMessage",
|
|
6302
|
+
borderTopLeftRadius: "0px",
|
|
6260
6303
|
alignSelf: "start",
|
|
6261
6304
|
backgroundColor: "#fd84212b",
|
|
6262
6305
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6263
6306
|
width: "100%",
|
|
6264
|
-
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
6265
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
6266
6307
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6267
6308
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6268
6309
|
},
|
|
6269
6310
|
"&.information": {
|
|
6270
|
-
borderRadius: "
|
|
6311
|
+
borderRadius: "chatMessage",
|
|
6312
|
+
borderTopLeftRadius: "0px",
|
|
6271
6313
|
alignSelf: "start",
|
|
6272
6314
|
backgroundColor: "#00bcff14",
|
|
6273
6315
|
//'#2222cc2b',
|
|
6274
6316
|
width: "100%",
|
|
6275
|
-
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
6276
|
-
// TODO: Set the correct color, if necessary, define it in palette
|
|
6277
6317
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
6278
6318
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
6279
6319
|
}
|
|
@@ -6483,12 +6523,482 @@ const markdown = {
|
|
|
6483
6523
|
}
|
|
6484
6524
|
};
|
|
6485
6525
|
|
|
6526
|
+
const observations = {
|
|
6527
|
+
bg: "white",
|
|
6528
|
+
display: "flex",
|
|
6529
|
+
flexDirection: "column",
|
|
6530
|
+
gap: spacing$1(5),
|
|
6531
|
+
background: "transparent",
|
|
6532
|
+
borderRadius: "default",
|
|
6533
|
+
".currentObservations": {
|
|
6534
|
+
display: "flex",
|
|
6535
|
+
gap: spacing$1(5),
|
|
6536
|
+
flexDirection: "column",
|
|
6537
|
+
borderRadius: "default",
|
|
6538
|
+
".observation": {
|
|
6539
|
+
border: "1px solid",
|
|
6540
|
+
borderColor: "palette.border.article",
|
|
6541
|
+
borderRadius: "default",
|
|
6542
|
+
".observation__header": {
|
|
6543
|
+
display: "flex",
|
|
6544
|
+
flexWrap: "wrap",
|
|
6545
|
+
gap: spacing$1(3),
|
|
6546
|
+
alignItems: "center",
|
|
6547
|
+
borderBottom: "1px solid",
|
|
6548
|
+
borderColor: "palette.border.article",
|
|
6549
|
+
p: spacing$1(5),
|
|
6550
|
+
backgroundColor: "palette.background.paper",
|
|
6551
|
+
".icon__wrapper": {
|
|
6552
|
+
svg: {
|
|
6553
|
+
color: "favorite"
|
|
6554
|
+
}
|
|
6555
|
+
},
|
|
6556
|
+
img: {
|
|
6557
|
+
width: "18px",
|
|
6558
|
+
height: "18px"
|
|
6559
|
+
},
|
|
6560
|
+
".observation__header__block": {
|
|
6561
|
+
display: "flex",
|
|
6562
|
+
flexWrap: "nowrap",
|
|
6563
|
+
gap: spacing$1(3)
|
|
6564
|
+
},
|
|
6565
|
+
".observation__label": {
|
|
6566
|
+
fontWeight: "900"
|
|
6567
|
+
}
|
|
6568
|
+
},
|
|
6569
|
+
"&.marked .observation__header": {
|
|
6570
|
+
borderLeft: "4px solid",
|
|
6571
|
+
borderLeftColor: "notifications.warning.backgroundColor",
|
|
6572
|
+
borderColor: "notifications.warning.backgroundColor",
|
|
6573
|
+
backgroundColor: "notifications.warning.backgroundColor",
|
|
6574
|
+
borderRadius: "default"
|
|
6575
|
+
},
|
|
6576
|
+
".observation__body": {
|
|
6577
|
+
display: "flex",
|
|
6578
|
+
gap: spacing$1(5),
|
|
6579
|
+
p: spacing$1(5),
|
|
6580
|
+
alignItems: "start",
|
|
6581
|
+
".observation__comment": {
|
|
6582
|
+
width: "100%",
|
|
6583
|
+
maxHeight: "calc(100vh - 130px)",
|
|
6584
|
+
resize: "vertical",
|
|
6585
|
+
'&[style*="height"]': {
|
|
6586
|
+
maxHeight: "unset"
|
|
6587
|
+
},
|
|
6588
|
+
overflow: "auto",
|
|
6589
|
+
pr: spacing$1(4)
|
|
6590
|
+
}
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
},
|
|
6594
|
+
".checkboxes": {
|
|
6595
|
+
alignItems: "center",
|
|
6596
|
+
display: "flex",
|
|
6597
|
+
flexWrap: "wrap",
|
|
6598
|
+
gap: spacing$1(6),
|
|
6599
|
+
".checkbox": {
|
|
6600
|
+
alignItems: "center",
|
|
6601
|
+
display: "flex",
|
|
6602
|
+
gap: spacing$1(3)
|
|
6603
|
+
}
|
|
6604
|
+
},
|
|
6605
|
+
".observation": {
|
|
6606
|
+
display: "flex",
|
|
6607
|
+
flexDirection: "column",
|
|
6608
|
+
span: {
|
|
6609
|
+
fontWeight: "bold"
|
|
6610
|
+
},
|
|
6611
|
+
textarea: {
|
|
6612
|
+
height: "140px"
|
|
6613
|
+
}
|
|
6614
|
+
},
|
|
6615
|
+
".alert": {
|
|
6616
|
+
color: "palette.warning.main"
|
|
6617
|
+
}
|
|
6618
|
+
/* PREPEND HERE */
|
|
6619
|
+
};
|
|
6620
|
+
|
|
6621
|
+
const dataGrid = {
|
|
6622
|
+
variant: "grids.form",
|
|
6623
|
+
display: responsive$2({ 0: "flex", 2: "grid" }),
|
|
6624
|
+
flexDirection: "column",
|
|
6625
|
+
gap: spacing$1(6),
|
|
6626
|
+
alignItems: "start",
|
|
6627
|
+
gridAutoRows: "none",
|
|
6628
|
+
gridTemplateColumns: responsive$2({
|
|
6629
|
+
0: "repeat(1, 1fr)",
|
|
6630
|
+
2: "repeat(3, 1fr)",
|
|
6631
|
+
4: "repeat(3, 1fr)",
|
|
6632
|
+
5: "repeat(5, 1fr)"
|
|
6633
|
+
}),
|
|
6634
|
+
"& label": {
|
|
6635
|
+
display: "block",
|
|
6636
|
+
".elementValue": {
|
|
6637
|
+
fontWeight: "normal",
|
|
6638
|
+
".errorContainer": {
|
|
6639
|
+
flexDirection: "column",
|
|
6640
|
+
alignItems: "center",
|
|
6641
|
+
div: {
|
|
6642
|
+
position: "relative"
|
|
6643
|
+
}
|
|
6644
|
+
}
|
|
6645
|
+
},
|
|
6646
|
+
"&.identifier, &.calendar": {
|
|
6647
|
+
gridColumn: responsive$2({ 0: "span 2", 5: "span 3", 6: "span 2" }),
|
|
6648
|
+
div: {
|
|
6649
|
+
display: "flex",
|
|
6650
|
+
gap: spacing$1(1),
|
|
6651
|
+
alignItems: "center",
|
|
6652
|
+
".separator": {
|
|
6653
|
+
alignSelf: "center"
|
|
6654
|
+
},
|
|
6655
|
+
input: {
|
|
6656
|
+
minWidth: "60px"
|
|
6657
|
+
},
|
|
6658
|
+
".body": {
|
|
6659
|
+
width: "100%"
|
|
6660
|
+
},
|
|
6661
|
+
".identifier__body": {
|
|
6662
|
+
flexShrink: 0
|
|
6663
|
+
}
|
|
6664
|
+
}
|
|
6665
|
+
},
|
|
6666
|
+
"strong + div": {
|
|
6667
|
+
wordBreak: "break-all"
|
|
6668
|
+
}
|
|
6669
|
+
}
|
|
6670
|
+
};
|
|
6671
|
+
const entityAndProcessData = {
|
|
6672
|
+
display: "flex",
|
|
6673
|
+
flexDirection: "column",
|
|
6674
|
+
// p: spacing(7),
|
|
6675
|
+
gap: 7,
|
|
6676
|
+
".collapsiblePanel__label": {
|
|
6677
|
+
display: "flex",
|
|
6678
|
+
alignItems: "anchor-center",
|
|
6679
|
+
gap: 3,
|
|
6680
|
+
h3: {
|
|
6681
|
+
m: spacing$1(0),
|
|
6682
|
+
fontSize: 18
|
|
6683
|
+
}
|
|
6684
|
+
},
|
|
6685
|
+
".collapsiblePanel__content": {
|
|
6686
|
+
borderRadius: "default",
|
|
6687
|
+
'&:not([aria-hidden="true"])': {
|
|
6688
|
+
border: "1px solid",
|
|
6689
|
+
borderColor: "palette.border.article"
|
|
6690
|
+
},
|
|
6691
|
+
"& > div > *:not(.noPadding, button, .uploadedFiles__container)": {
|
|
6692
|
+
p: spacing$1(5)
|
|
6693
|
+
}
|
|
6694
|
+
},
|
|
6695
|
+
".dataGrid": dataGrid,
|
|
6696
|
+
".dropzone": {
|
|
6697
|
+
border: "none"
|
|
6698
|
+
},
|
|
6699
|
+
".uploadedFiles__container[class]": {
|
|
6700
|
+
display: "flex",
|
|
6701
|
+
gap: 3,
|
|
6702
|
+
p: 0,
|
|
6703
|
+
flexDirection: "column",
|
|
6704
|
+
".download_Button": {
|
|
6705
|
+
width: "fit-content"
|
|
6706
|
+
}
|
|
6707
|
+
}
|
|
6708
|
+
};
|
|
6709
|
+
const entityData = {
|
|
6710
|
+
...entityAndProcessData,
|
|
6711
|
+
"& h2": {
|
|
6712
|
+
"&.visibilitiesTitle": {
|
|
6713
|
+
display: "flex",
|
|
6714
|
+
justifyContent: "start",
|
|
6715
|
+
gap: spacing$1(3)
|
|
6716
|
+
}
|
|
6717
|
+
},
|
|
6718
|
+
".imageSelector": {
|
|
6719
|
+
button: {
|
|
6720
|
+
border: "none",
|
|
6721
|
+
cursor: "pointer",
|
|
6722
|
+
p: spacing$1(0),
|
|
6723
|
+
width: "75px",
|
|
6724
|
+
img: {
|
|
6725
|
+
width: "100%"
|
|
6726
|
+
}
|
|
6727
|
+
}
|
|
6728
|
+
},
|
|
6729
|
+
".EntityDataDocuments, .ProcessDataDocuments": {
|
|
6730
|
+
".entityData__actions": {
|
|
6731
|
+
p: spacing$1(3)
|
|
6732
|
+
}
|
|
6733
|
+
},
|
|
6734
|
+
".categories__tree__label": {
|
|
6735
|
+
display: "flex",
|
|
6736
|
+
alignItems: "center",
|
|
6737
|
+
gap: spacing$1(3),
|
|
6738
|
+
"& > div": {
|
|
6739
|
+
display: "flex",
|
|
6740
|
+
py: spacing$1(2)
|
|
6741
|
+
}
|
|
6742
|
+
},
|
|
6743
|
+
".entity__visibilities__container": {
|
|
6744
|
+
display: "flex",
|
|
6745
|
+
flexDirection: "column",
|
|
6746
|
+
gap: spacing$1(4),
|
|
6747
|
+
".entity__visibilities__grid": {
|
|
6748
|
+
display: "grid",
|
|
6749
|
+
gridTemplateColumns: "repeat(2, 1fr)",
|
|
6750
|
+
gap: "1rem",
|
|
6751
|
+
".switch__card": {
|
|
6752
|
+
border: "1px solid",
|
|
6753
|
+
borderColor: "palette.border.field",
|
|
6754
|
+
borderRadius: "default"
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
}
|
|
6758
|
+
/* PREPEND HERE */
|
|
6759
|
+
};
|
|
6760
|
+
|
|
6761
|
+
const processData = {
|
|
6762
|
+
...entityAndProcessData,
|
|
6763
|
+
".ProcessDataDocuments": {
|
|
6764
|
+
".processData__actions": {
|
|
6765
|
+
p: spacing$1(3)
|
|
6766
|
+
}
|
|
6767
|
+
}
|
|
6768
|
+
/* PREPEND HERE */
|
|
6769
|
+
};
|
|
6770
|
+
|
|
6771
|
+
const documents = {
|
|
6772
|
+
display: "flex",
|
|
6773
|
+
flexDirection: "column",
|
|
6774
|
+
gap: spacing$1(7),
|
|
6775
|
+
".collapsiblePanel__label": {
|
|
6776
|
+
mb: spacing$1(3),
|
|
6777
|
+
h2: {
|
|
6778
|
+
m: spacing$1(0)
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
".collapsiblePanel__content": {
|
|
6782
|
+
'&:not([aria-hidden="true"])': {
|
|
6783
|
+
border: "1px solid",
|
|
6784
|
+
borderColor: "palette.border.article"
|
|
6785
|
+
},
|
|
6786
|
+
"& > div > *:not(.noPadding)": {
|
|
6787
|
+
p: spacing$1(7)
|
|
6788
|
+
}
|
|
6789
|
+
},
|
|
6790
|
+
".dropzone": {
|
|
6791
|
+
borderTop: "none",
|
|
6792
|
+
borderLeft: "none",
|
|
6793
|
+
borderRight: "none"
|
|
6794
|
+
},
|
|
6795
|
+
".entityData__actions, .processData__actions": {
|
|
6796
|
+
p: spacing$1(3)
|
|
6797
|
+
}
|
|
6798
|
+
/* PREPEND HERE */
|
|
6799
|
+
};
|
|
6800
|
+
|
|
6801
|
+
const taskMonitor = {
|
|
6802
|
+
table: {
|
|
6803
|
+
variant: "layout.common.tables.secondary",
|
|
6804
|
+
border: "1px solid",
|
|
6805
|
+
borderColor: "palette.border.article",
|
|
6806
|
+
borderRadius: "default",
|
|
6807
|
+
overflow: "hidden"
|
|
6808
|
+
},
|
|
6809
|
+
".taskMonitor__warning": {
|
|
6810
|
+
backgroundColor: "palette.warning.light",
|
|
6811
|
+
color: "palette.warning.contrastText"
|
|
6812
|
+
},
|
|
6813
|
+
".taskMonitor__overdue": {
|
|
6814
|
+
backgroundColor: "palette.error.light",
|
|
6815
|
+
color: "palette.error.contrastText"
|
|
6816
|
+
},
|
|
6817
|
+
"& > div": {
|
|
6818
|
+
maxHeight: "500px",
|
|
6819
|
+
"& > div": {
|
|
6820
|
+
height: "100%",
|
|
6821
|
+
overflowX: "auto",
|
|
6822
|
+
"&.noFixedWidth": {
|
|
6823
|
+
overflowX: "auto"
|
|
6824
|
+
}
|
|
6825
|
+
}
|
|
6826
|
+
}
|
|
6827
|
+
/* PREPEND HERE */
|
|
6828
|
+
};
|
|
6829
|
+
|
|
6830
|
+
const tab = {
|
|
6831
|
+
list: {
|
|
6832
|
+
".tabs__list": {
|
|
6833
|
+
borderRadius: "7px",
|
|
6834
|
+
display: "flex",
|
|
6835
|
+
flexDirection: "column"
|
|
6836
|
+
},
|
|
6837
|
+
".tabs__item__wrapper": {
|
|
6838
|
+
display: "flex",
|
|
6839
|
+
alignItems: "center",
|
|
6840
|
+
background: "palette.background.paper",
|
|
6841
|
+
padding: "4px 10px",
|
|
6842
|
+
border: "none",
|
|
6843
|
+
borderBottom: "1px solid #ccc",
|
|
6844
|
+
boxShadow: "sharp",
|
|
6845
|
+
cursor: "pointer",
|
|
6846
|
+
".tabs__item__button": {
|
|
6847
|
+
width: "100%",
|
|
6848
|
+
p: 3,
|
|
6849
|
+
background: "transparent",
|
|
6850
|
+
justifyContent: "start",
|
|
6851
|
+
color: "palette.text.primary",
|
|
6852
|
+
".button__content": {
|
|
6853
|
+
display: "flex",
|
|
6854
|
+
alignItems: "center",
|
|
6855
|
+
gap: spacing$1(1),
|
|
6856
|
+
textAlign: "start"
|
|
6857
|
+
}
|
|
6858
|
+
},
|
|
6859
|
+
"&:hover": {
|
|
6860
|
+
background: "palette.gray.900"
|
|
6861
|
+
},
|
|
6862
|
+
// First item: apply top border radii
|
|
6863
|
+
"&:first-of-type": {
|
|
6864
|
+
borderTopLeftRadius: "default",
|
|
6865
|
+
borderTopRightRadius: "default"
|
|
6866
|
+
},
|
|
6867
|
+
// Last item: apply bottom border radii
|
|
6868
|
+
"&:last-of-type": {
|
|
6869
|
+
borderBottomLeftRadius: "default",
|
|
6870
|
+
borderBottomRightRadius: "default"
|
|
6871
|
+
}
|
|
6872
|
+
},
|
|
6873
|
+
".warning-icon[class]": {
|
|
6874
|
+
svg: {
|
|
6875
|
+
// color: '#ffa600',
|
|
6876
|
+
color: "favorite",
|
|
6877
|
+
width: "18px",
|
|
6878
|
+
height: "18px"
|
|
6879
|
+
}
|
|
6880
|
+
}
|
|
6881
|
+
},
|
|
6882
|
+
content: {
|
|
6883
|
+
display: "flex",
|
|
6884
|
+
flexDirection: "column",
|
|
6885
|
+
gap: "15px",
|
|
6886
|
+
".tabs__content": {
|
|
6887
|
+
".accordion__item": {
|
|
6888
|
+
boxShadow: "default"
|
|
6889
|
+
}
|
|
6890
|
+
},
|
|
6891
|
+
".accordion__item__button[class]": {
|
|
6892
|
+
width: "100%",
|
|
6893
|
+
p: "10px 15px",
|
|
6894
|
+
borderRadius: "default",
|
|
6895
|
+
userSelect: "unset",
|
|
6896
|
+
".button__content": {
|
|
6897
|
+
display: "flex",
|
|
6898
|
+
flexDirection: "row",
|
|
6899
|
+
justifyContent: "space-between",
|
|
6900
|
+
width: "100%",
|
|
6901
|
+
alignItems: "center"
|
|
6902
|
+
}
|
|
6903
|
+
},
|
|
6904
|
+
".accordion__item__content": {
|
|
6905
|
+
borderRadius: "default",
|
|
6906
|
+
background: "palette.background.paper",
|
|
6907
|
+
'&:not(:has([data-variant="layout.execution.form"])) > div': {
|
|
6908
|
+
p: spacing$1(7)
|
|
6909
|
+
}
|
|
6910
|
+
},
|
|
6911
|
+
".accordion__item__button__label": {
|
|
6912
|
+
color: "palette.primary.contrastText"
|
|
6913
|
+
},
|
|
6914
|
+
".accordion__item__button__rightGroup": {
|
|
6915
|
+
display: "flex"
|
|
6916
|
+
},
|
|
6917
|
+
".tabs__Item": {
|
|
6918
|
+
height: "100%",
|
|
6919
|
+
display: "flex",
|
|
6920
|
+
gap: "15px",
|
|
6921
|
+
flexDirection: "column"
|
|
6922
|
+
},
|
|
6923
|
+
".collapsiblePanel__container": {
|
|
6924
|
+
background: "palette.background.paper",
|
|
6925
|
+
p: spacing$1(0),
|
|
6926
|
+
".collapsiblePanel__label__button": {
|
|
6927
|
+
display: "flex"
|
|
6928
|
+
}
|
|
6929
|
+
}
|
|
6930
|
+
}
|
|
6931
|
+
/* PREPEND HERE */
|
|
6932
|
+
};
|
|
6933
|
+
|
|
6934
|
+
const associations = {
|
|
6935
|
+
display: "flex",
|
|
6936
|
+
flexDirection: "column",
|
|
6937
|
+
gap: 4,
|
|
6938
|
+
".associations__table_container": {
|
|
6939
|
+
height: "400px",
|
|
6940
|
+
overflowY: "auto",
|
|
6941
|
+
overflowX: "hidden"
|
|
6942
|
+
},
|
|
6943
|
+
table: {
|
|
6944
|
+
variant: "layout.common.tables.secondary",
|
|
6945
|
+
border: "1px solid",
|
|
6946
|
+
borderColor: "palette.border.article",
|
|
6947
|
+
borderRadius: "default"
|
|
6948
|
+
},
|
|
6949
|
+
".associations__buttons": {
|
|
6950
|
+
display: "flex",
|
|
6951
|
+
flexDirection: "row",
|
|
6952
|
+
gap: 2,
|
|
6953
|
+
justifyContent: "flex-end"
|
|
6954
|
+
},
|
|
6955
|
+
".errorRequired": {
|
|
6956
|
+
color: "palette.error.main"
|
|
6957
|
+
},
|
|
6958
|
+
".association__errorRequired": {
|
|
6959
|
+
input: {
|
|
6960
|
+
color: "palette.error.main",
|
|
6961
|
+
borderLeft: "3px solid !important",
|
|
6962
|
+
borderLeftColor: "palette.error.main"
|
|
6963
|
+
}
|
|
6964
|
+
},
|
|
6965
|
+
".associationSpinner": {
|
|
6966
|
+
position: "absolute",
|
|
6967
|
+
width: "20px",
|
|
6968
|
+
height: "20px",
|
|
6969
|
+
right: "55px",
|
|
6970
|
+
top: "15px"
|
|
6971
|
+
},
|
|
6972
|
+
".association__cell_content": {
|
|
6973
|
+
position: "relative"
|
|
6974
|
+
},
|
|
6975
|
+
".associationReq__after": { position: "absolute", left: "2px", top: "-3px" },
|
|
6976
|
+
".associationReq__before": {
|
|
6977
|
+
position: "absolute",
|
|
6978
|
+
right: "2px",
|
|
6979
|
+
top: "-3px"
|
|
6980
|
+
}
|
|
6981
|
+
/* PREPEND HERE */
|
|
6982
|
+
};
|
|
6983
|
+
|
|
6984
|
+
const tabs = {
|
|
6985
|
+
observations,
|
|
6986
|
+
entityData,
|
|
6987
|
+
processData,
|
|
6988
|
+
documents,
|
|
6989
|
+
taskMonitor,
|
|
6990
|
+
associations,
|
|
6991
|
+
...tab
|
|
6992
|
+
/* PREPEND HERE */
|
|
6993
|
+
};
|
|
6994
|
+
|
|
6486
6995
|
const common = (theme) => {
|
|
6487
6996
|
return {
|
|
6488
6997
|
boxes,
|
|
6489
6998
|
forms,
|
|
6490
6999
|
modals,
|
|
6491
7000
|
tables: tables(theme),
|
|
7001
|
+
tabs,
|
|
6492
7002
|
components,
|
|
6493
7003
|
trees,
|
|
6494
7004
|
tooltips,
|
|
@@ -8312,10 +8822,10 @@ async function getRemarkable(extensions) {
|
|
|
8312
8822
|
|
|
8313
8823
|
const parseMarkdown = async (options) => {
|
|
8314
8824
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
8315
|
-
const css = (await import('./styles.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8825
|
+
const css = (await import('./styles-avriBVzL.js')).markdownParserStyles ?? new ErrorImporting();
|
|
8316
8826
|
if (css instanceof ErrorImporting)
|
|
8317
8827
|
throw new Error("Could not import css, cannot continue");
|
|
8318
|
-
const html = options.htmlTemplate ?? (await import('./html.js')).markdownHtml ?? new ErrorImporting();
|
|
8828
|
+
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
8319
8829
|
if (html instanceof ErrorImporting)
|
|
8320
8830
|
throw new Error("Could not import html, cannot continue");
|
|
8321
8831
|
const markdownString = options.content;
|
|
@@ -8824,4 +9334,4 @@ ${pageBreakTag}`;
|
|
|
8824
9334
|
}
|
|
8825
9335
|
|
|
8826
9336
|
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 };
|
|
8827
|
-
//# sourceMappingURL=
|
|
9337
|
+
//# sourceMappingURL=index-DpVqNvc_.js.map
|