@apia/theme 4.0.16 → 4.0.17
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-B-K0BIiw.js.map +1 -1
- package/dist/{index-MgxPjTTE.js → index-B5yux0Do.js} +425 -127
- package/dist/index-B5yux0Do.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/{styles-B_o_dZr1.js → styles-CXru8otC.js} +3 -3
- package/dist/{styles-B_o_dZr1.js.map → styles-CXru8otC.js.map} +1 -1
- package/package.json +6 -4
- package/dist/index-MgxPjTTE.js.map +0 -1
|
@@ -3,8 +3,8 @@ import tinycolor from 'tinycolor2';
|
|
|
3
3
|
import merge from 'lodash-es/merge';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'theme-ui/jsx-runtime';
|
|
5
5
|
import { Box, ThemeUIProvider, useThemeUI, ThemeProvider } from 'theme-ui';
|
|
6
|
+
import { forwardRef, useState, useRef, useMemo, Suspense } from 'react';
|
|
6
7
|
import '@theme-ui/match-media';
|
|
7
|
-
import { useState, useRef, useMemo, Suspense } from 'react';
|
|
8
8
|
import { useMount, setValueByPath, EventEmitter } from '@apia/util';
|
|
9
9
|
import { spacing as spacing$1, responsive as responsive$2 } from '@apia/theme';
|
|
10
10
|
import { keyframes } from '@emotion/react';
|
|
@@ -697,7 +697,7 @@ const components$1 = (theme) => {
|
|
|
697
697
|
secondaryTable: {
|
|
698
698
|
borderColor: palette.background.paper,
|
|
699
699
|
header: {
|
|
700
|
-
backgroundColor: palette.background.default,
|
|
700
|
+
backgroundColor: palette.darkenColor(palette.background.default, 2),
|
|
701
701
|
color: palette.text.primary,
|
|
702
702
|
borderColor: palette.background.default
|
|
703
703
|
},
|
|
@@ -706,12 +706,12 @@ const components$1 = (theme) => {
|
|
|
706
706
|
backgroundColor: palette.background.paper,
|
|
707
707
|
evenRowsBackgroundColor: palette.darkenColor(
|
|
708
708
|
palette.background.paper,
|
|
709
|
-
|
|
709
|
+
2
|
|
710
710
|
),
|
|
711
711
|
color: palette.text.primary,
|
|
712
|
-
borderColor: palette.
|
|
712
|
+
borderColor: palette.darkenColor(palette.background.paper, 5),
|
|
713
713
|
selectedRows: {
|
|
714
|
-
borderColor: palette.
|
|
714
|
+
borderColor: palette.darkenColor(palette.background.paper, 5),
|
|
715
715
|
backgroundColor: palette.getOneState(
|
|
716
716
|
{ backgroundColor: palette.background.paper },
|
|
717
717
|
"selected"
|
|
@@ -1253,9 +1253,11 @@ const MaterialInput = ({ title, label, boxProperties, ...props }) => /* @__PURE_
|
|
|
1253
1253
|
]
|
|
1254
1254
|
}
|
|
1255
1255
|
);
|
|
1256
|
-
var MaterialInput$1 = MaterialInput;
|
|
1257
1256
|
|
|
1258
1257
|
const Form = (props) => /* @__PURE__ */ jsx(Box, { as: "form", ...props });
|
|
1258
|
+
const Table = forwardRef(
|
|
1259
|
+
(props, ref) => /* @__PURE__ */ jsx(Box, { as: "table", ref, ...props })
|
|
1260
|
+
);
|
|
1259
1261
|
|
|
1260
1262
|
const alerts = {
|
|
1261
1263
|
primary: {
|
|
@@ -1676,7 +1678,6 @@ const buttons = {
|
|
|
1676
1678
|
...smallButton
|
|
1677
1679
|
}
|
|
1678
1680
|
};
|
|
1679
|
-
var buttons$1 = buttons;
|
|
1680
1681
|
|
|
1681
1682
|
const text = {
|
|
1682
1683
|
default: {
|
|
@@ -1696,7 +1697,6 @@ const text = {
|
|
|
1696
1697
|
fontWeight: "heading"
|
|
1697
1698
|
}
|
|
1698
1699
|
};
|
|
1699
|
-
var text$1 = text;
|
|
1700
1700
|
|
|
1701
1701
|
const transitions = {
|
|
1702
1702
|
"@keyframes growHorizontal": {
|
|
@@ -1834,14 +1834,25 @@ const menu = {
|
|
|
1834
1834
|
position: "relative",
|
|
1835
1835
|
padding: "0.375rem 1.5rem",
|
|
1836
1836
|
paddingLeft: "2.2rem",
|
|
1837
|
-
".
|
|
1838
|
-
|
|
1837
|
+
"&:has(> div.menu_item)": { paddingLeft: "10px" },
|
|
1838
|
+
".menu_item": {
|
|
1839
|
+
padding: "0px 4px",
|
|
1839
1840
|
display: "flex",
|
|
1840
|
-
gap: "
|
|
1841
|
-
justifyContent: "
|
|
1841
|
+
gap: "12px",
|
|
1842
|
+
justifyContent: "flex-start",
|
|
1842
1843
|
alignItems: "center",
|
|
1843
|
-
"
|
|
1844
|
-
|
|
1844
|
+
width: "100%",
|
|
1845
|
+
".children_box": {},
|
|
1846
|
+
".icon_box": {
|
|
1847
|
+
textAlign: "center",
|
|
1848
|
+
marginTop: "3px",
|
|
1849
|
+
flexShrink: "0",
|
|
1850
|
+
width: "32px",
|
|
1851
|
+
".icon": {
|
|
1852
|
+
marginLeft: 0,
|
|
1853
|
+
flexShrink: 0,
|
|
1854
|
+
alignSelf: "flex-start"
|
|
1855
|
+
}
|
|
1845
1856
|
}
|
|
1846
1857
|
}
|
|
1847
1858
|
},
|
|
@@ -1891,6 +1902,9 @@ const menu = {
|
|
|
1891
1902
|
".szh-menu__item--type-checkbox.szh-menu__item--checked::before": {
|
|
1892
1903
|
content: '"\u2714"'
|
|
1893
1904
|
},
|
|
1905
|
+
".szh-menu__submenu.with-icon>.szh-menu__item": {
|
|
1906
|
+
paddingLeft: "58px"
|
|
1907
|
+
},
|
|
1894
1908
|
".szh-menu__submenu>.szh-menu__item": { paddingRight: "2.5rem" },
|
|
1895
1909
|
".szh-menu__submenu>.szh-menu__item::after": {
|
|
1896
1910
|
content: '"\u276F"',
|
|
@@ -1909,10 +1923,9 @@ const menu = {
|
|
|
1909
1923
|
color: theme.palette.text.primary
|
|
1910
1924
|
})
|
|
1911
1925
|
};
|
|
1912
|
-
var menu$1 = menu;
|
|
1913
1926
|
|
|
1914
1927
|
const root = {
|
|
1915
|
-
...menu
|
|
1928
|
+
...menu,
|
|
1916
1929
|
height: "100%",
|
|
1917
1930
|
"*": {
|
|
1918
1931
|
fontFamily: "body",
|
|
@@ -2089,7 +2102,7 @@ const baseTheme = () => {
|
|
|
2089
2102
|
"1260px",
|
|
2090
2103
|
"1580px"
|
|
2091
2104
|
],
|
|
2092
|
-
buttons
|
|
2105
|
+
buttons,
|
|
2093
2106
|
colors: {},
|
|
2094
2107
|
fonts: {
|
|
2095
2108
|
body: '"InterVariable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif, Roboto',
|
|
@@ -2156,7 +2169,7 @@ const baseTheme = () => {
|
|
|
2156
2169
|
iconLg: "32px",
|
|
2157
2170
|
iconXl: "48px"
|
|
2158
2171
|
},
|
|
2159
|
-
text
|
|
2172
|
+
text,
|
|
2160
2173
|
zIndices: {
|
|
2161
2174
|
stickyElements: 600,
|
|
2162
2175
|
menu: 1e3,
|
|
@@ -2194,7 +2207,6 @@ const customCheckbox = {
|
|
|
2194
2207
|
})
|
|
2195
2208
|
/* PREPEND HERE */
|
|
2196
2209
|
};
|
|
2197
|
-
var customCheckbox$1 = customCheckbox;
|
|
2198
2210
|
|
|
2199
2211
|
const checkbox = {
|
|
2200
2212
|
borderRadius: "default",
|
|
@@ -2249,7 +2261,6 @@ const checkbox = {
|
|
|
2249
2261
|
}
|
|
2250
2262
|
}
|
|
2251
2263
|
};
|
|
2252
|
-
var checkbox$1 = checkbox;
|
|
2253
2264
|
|
|
2254
2265
|
const dateInput = {
|
|
2255
2266
|
display: "flex",
|
|
@@ -2304,7 +2315,6 @@ const dateInput = {
|
|
|
2304
2315
|
}),
|
|
2305
2316
|
backgroundColor: void 0
|
|
2306
2317
|
};
|
|
2307
|
-
var dateInput$1 = dateInput;
|
|
2308
2318
|
|
|
2309
2319
|
const iconInput = {
|
|
2310
2320
|
display: "flex",
|
|
@@ -2337,7 +2347,6 @@ const iconInput = {
|
|
|
2337
2347
|
border: "none"
|
|
2338
2348
|
}
|
|
2339
2349
|
};
|
|
2340
|
-
var iconInput$1 = iconInput;
|
|
2341
2350
|
|
|
2342
2351
|
const input = {
|
|
2343
2352
|
variant: "text.default",
|
|
@@ -2384,7 +2393,6 @@ const input = {
|
|
|
2384
2393
|
}
|
|
2385
2394
|
}
|
|
2386
2395
|
};
|
|
2387
|
-
var input$1 = input;
|
|
2388
2396
|
|
|
2389
2397
|
const label = {
|
|
2390
2398
|
variant: "text.default",
|
|
@@ -2411,7 +2419,6 @@ const label = {
|
|
|
2411
2419
|
}
|
|
2412
2420
|
}
|
|
2413
2421
|
};
|
|
2414
|
-
var label$1 = label;
|
|
2415
2422
|
|
|
2416
2423
|
const radio = {
|
|
2417
2424
|
width: "32px",
|
|
@@ -2424,7 +2431,6 @@ const radio = {
|
|
|
2424
2431
|
fill: "inherit"
|
|
2425
2432
|
}
|
|
2426
2433
|
};
|
|
2427
|
-
var radio$1 = radio;
|
|
2428
2434
|
|
|
2429
2435
|
const select = {
|
|
2430
2436
|
variant: "text.default",
|
|
@@ -2449,7 +2455,6 @@ const select = {
|
|
|
2449
2455
|
display: "none"
|
|
2450
2456
|
}
|
|
2451
2457
|
};
|
|
2452
|
-
var select$1 = select;
|
|
2453
2458
|
|
|
2454
2459
|
function selectMultiple(theme) {
|
|
2455
2460
|
return {
|
|
@@ -2495,7 +2500,6 @@ const Switch = {
|
|
|
2495
2500
|
},
|
|
2496
2501
|
backgroundColor: "form.fields.checked.borderColor"
|
|
2497
2502
|
};
|
|
2498
|
-
var Switch$1 = Switch;
|
|
2499
2503
|
|
|
2500
2504
|
const textarea = {
|
|
2501
2505
|
height: "100%",
|
|
@@ -2503,7 +2507,6 @@ const textarea = {
|
|
|
2503
2507
|
resize: "vertical",
|
|
2504
2508
|
variant: "forms.input"
|
|
2505
2509
|
};
|
|
2506
|
-
var textarea$1 = textarea;
|
|
2507
2510
|
|
|
2508
2511
|
const deletableInput = {
|
|
2509
2512
|
border: "1px solid",
|
|
@@ -2515,12 +2518,12 @@ const deletableInput = {
|
|
|
2515
2518
|
border: "none"
|
|
2516
2519
|
},
|
|
2517
2520
|
".deletableInput__deleteButton": {
|
|
2518
|
-
height: "
|
|
2521
|
+
height: "80%",
|
|
2519
2522
|
outlineOffset: "-2px",
|
|
2520
2523
|
position: "absolute",
|
|
2521
2524
|
right: 0,
|
|
2522
2525
|
top: 0,
|
|
2523
|
-
width: "
|
|
2526
|
+
width: "40px",
|
|
2524
2527
|
...getColorsAndStatesByPath("buttons.deletableInputButton", {
|
|
2525
2528
|
states: { path: true }
|
|
2526
2529
|
})
|
|
@@ -2563,22 +2566,21 @@ const deletableInput = {
|
|
|
2563
2566
|
}
|
|
2564
2567
|
}
|
|
2565
2568
|
};
|
|
2566
|
-
var deletableInput$1 = deletableInput;
|
|
2567
2569
|
|
|
2568
2570
|
const forms$1 = (theme) => {
|
|
2569
2571
|
return {
|
|
2570
|
-
checkbox
|
|
2571
|
-
customCheckbox
|
|
2572
|
-
dateInput
|
|
2573
|
-
deletableInput
|
|
2574
|
-
iconInput
|
|
2575
|
-
input
|
|
2576
|
-
label
|
|
2577
|
-
radio
|
|
2578
|
-
select
|
|
2572
|
+
checkbox,
|
|
2573
|
+
customCheckbox,
|
|
2574
|
+
dateInput,
|
|
2575
|
+
deletableInput,
|
|
2576
|
+
iconInput,
|
|
2577
|
+
input,
|
|
2578
|
+
label,
|
|
2579
|
+
radio,
|
|
2580
|
+
select,
|
|
2579
2581
|
selectMultiple: selectMultiple(theme),
|
|
2580
|
-
switch: Switch
|
|
2581
|
-
textarea
|
|
2582
|
+
switch: Switch,
|
|
2583
|
+
textarea,
|
|
2582
2584
|
/* PREPEND HERE */
|
|
2583
2585
|
'input[type="date"]': {
|
|
2584
2586
|
variant: "forms.input"
|
|
@@ -2739,7 +2741,6 @@ const confirm = {
|
|
|
2739
2741
|
}
|
|
2740
2742
|
}
|
|
2741
2743
|
};
|
|
2742
|
-
var confirm$1 = confirm;
|
|
2743
2744
|
|
|
2744
2745
|
const table = {
|
|
2745
2746
|
display: "flex",
|
|
@@ -2772,7 +2773,6 @@ const table = {
|
|
|
2772
2773
|
}
|
|
2773
2774
|
}
|
|
2774
2775
|
};
|
|
2775
|
-
var table$1 = table;
|
|
2776
2776
|
|
|
2777
2777
|
const tableModal = {
|
|
2778
2778
|
additionalFiltersModal: {
|
|
@@ -2865,7 +2865,6 @@ const tableModal = {
|
|
|
2865
2865
|
mt: "7px"
|
|
2866
2866
|
}
|
|
2867
2867
|
};
|
|
2868
|
-
var tableModal$1 = tableModal;
|
|
2869
2868
|
|
|
2870
2869
|
const buttonsBar = {
|
|
2871
2870
|
flexDirection: "row",
|
|
@@ -2874,7 +2873,6 @@ const buttonsBar = {
|
|
|
2874
2873
|
gap: spacing$1(3),
|
|
2875
2874
|
mb: spacing$1(0)
|
|
2876
2875
|
};
|
|
2877
|
-
var buttonsBar$1 = buttonsBar;
|
|
2878
2876
|
|
|
2879
2877
|
const apiaFinder = {
|
|
2880
2878
|
additionalFiltersModal: {
|
|
@@ -2970,16 +2968,15 @@ const apiaFinder = {
|
|
|
2970
2968
|
mt: "7px"
|
|
2971
2969
|
}
|
|
2972
2970
|
};
|
|
2973
|
-
var apiaFinder$1 = apiaFinder;
|
|
2974
2971
|
|
|
2975
2972
|
const modals = {
|
|
2976
2973
|
apiaApi,
|
|
2977
|
-
buttonsBar
|
|
2978
|
-
confirm
|
|
2974
|
+
buttonsBar,
|
|
2975
|
+
confirm,
|
|
2979
2976
|
...overlay,
|
|
2980
|
-
table
|
|
2981
|
-
tableModal
|
|
2982
|
-
apiaFinder
|
|
2977
|
+
table,
|
|
2978
|
+
tableModal,
|
|
2979
|
+
apiaFinder,
|
|
2983
2980
|
main: {
|
|
2984
2981
|
boxShadow: "modals",
|
|
2985
2982
|
borderRadius: "modals",
|
|
@@ -3184,7 +3181,7 @@ function getSelectionStyles() {
|
|
|
3184
3181
|
};
|
|
3185
3182
|
}
|
|
3186
3183
|
|
|
3187
|
-
const primary$
|
|
3184
|
+
const primary$4 = (theme) => {
|
|
3188
3185
|
return {
|
|
3189
3186
|
variant: "colors.tables.primary",
|
|
3190
3187
|
width: "100%",
|
|
@@ -3214,6 +3211,12 @@ const primary$6 = (theme) => {
|
|
|
3214
3211
|
display: "table-cell",
|
|
3215
3212
|
verticalAlign: "center",
|
|
3216
3213
|
wordBreak: "break-word",
|
|
3214
|
+
textAlign: "left",
|
|
3215
|
+
"&.additional-column": {
|
|
3216
|
+
width: "50px",
|
|
3217
|
+
textAlign: "center",
|
|
3218
|
+
verticalAlign: "middle"
|
|
3219
|
+
},
|
|
3217
3220
|
'&[role="presentation"]': {
|
|
3218
3221
|
display: "none"
|
|
3219
3222
|
},
|
|
@@ -3343,6 +3346,14 @@ const primary$6 = (theme) => {
|
|
|
3343
3346
|
borderBottom: "1px solid",
|
|
3344
3347
|
background: "transparent",
|
|
3345
3348
|
borderColor: "components.primaryTable.body.borderColor",
|
|
3349
|
+
"&.additional-column": {
|
|
3350
|
+
width: "50px",
|
|
3351
|
+
textAlign: "center",
|
|
3352
|
+
padding: 4,
|
|
3353
|
+
button: {
|
|
3354
|
+
margin: "auto"
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3346
3357
|
"&.stickyColumn": {
|
|
3347
3358
|
position: "sticky",
|
|
3348
3359
|
left: 0,
|
|
@@ -3398,6 +3409,10 @@ const primary$6 = (theme) => {
|
|
|
3398
3409
|
borderWidth: "1.5px",
|
|
3399
3410
|
borderStyle: "dotted"
|
|
3400
3411
|
},
|
|
3412
|
+
"&.editionMode *:focus": {
|
|
3413
|
+
outlineWidth: "5px",
|
|
3414
|
+
outlineStyle: "dotted"
|
|
3415
|
+
},
|
|
3401
3416
|
".stateCell": {
|
|
3402
3417
|
width: "50px",
|
|
3403
3418
|
maxWidth: "50px",
|
|
@@ -3567,7 +3582,7 @@ const responsive = (theme) => {
|
|
|
3567
3582
|
};
|
|
3568
3583
|
};
|
|
3569
3584
|
|
|
3570
|
-
const secondary
|
|
3585
|
+
const secondary = {
|
|
3571
3586
|
variant: "layout.common.tables.primary",
|
|
3572
3587
|
borderColor: "components.secondaryTable.borderColor",
|
|
3573
3588
|
"& thead": {
|
|
@@ -3640,11 +3655,12 @@ const clean = (theme) => {
|
|
|
3640
3655
|
display: "table-cell",
|
|
3641
3656
|
verticalAlign: "center",
|
|
3642
3657
|
wordBreak: "break-word",
|
|
3643
|
-
|
|
3644
|
-
px:
|
|
3645
|
-
py: 0,
|
|
3658
|
+
py: spacing(3),
|
|
3659
|
+
px: 4,
|
|
3646
3660
|
border: "none",
|
|
3647
3661
|
borderBottom: "1px solid #ccc",
|
|
3662
|
+
textAlign: "left",
|
|
3663
|
+
fontWeight: "bold",
|
|
3648
3664
|
'&[role="presentation"]': {
|
|
3649
3665
|
display: "none"
|
|
3650
3666
|
},
|
|
@@ -3787,9 +3803,10 @@ const clean = (theme) => {
|
|
|
3787
3803
|
}
|
|
3788
3804
|
},
|
|
3789
3805
|
td: {
|
|
3806
|
+
py: spacing(3),
|
|
3807
|
+
px: 4,
|
|
3790
3808
|
border: "none",
|
|
3791
3809
|
display: "table-cell",
|
|
3792
|
-
p: 0,
|
|
3793
3810
|
overflow: "hidden",
|
|
3794
3811
|
whiteSpace: "nowrap",
|
|
3795
3812
|
textOverflow: "ellipsis",
|
|
@@ -3813,10 +3830,6 @@ const clean = (theme) => {
|
|
|
3813
3830
|
".autoellipsis__container": {
|
|
3814
3831
|
width: "100%"
|
|
3815
3832
|
},
|
|
3816
|
-
"& > *": {
|
|
3817
|
-
py: spacing(3),
|
|
3818
|
-
px: 4
|
|
3819
|
-
},
|
|
3820
3833
|
borderBottomWidth: "1px",
|
|
3821
3834
|
borderBottomStyle: "solid",
|
|
3822
3835
|
borderBottomColor: "components.cleanTable.body.borderColor"
|
|
@@ -3897,10 +3910,10 @@ const tables = (theme) => {
|
|
|
3897
3910
|
return {
|
|
3898
3911
|
accordion: accordion$1,
|
|
3899
3912
|
information,
|
|
3900
|
-
primary: primary$
|
|
3913
|
+
primary: primary$4(theme),
|
|
3901
3914
|
print,
|
|
3902
3915
|
responsive: responsive(theme),
|
|
3903
|
-
secondary
|
|
3916
|
+
secondary,
|
|
3904
3917
|
clean: clean(theme)
|
|
3905
3918
|
/* PREPEND HERE */
|
|
3906
3919
|
};
|
|
@@ -4000,7 +4013,7 @@ const forms = {
|
|
|
4000
4013
|
/* PREPEND HERE */
|
|
4001
4014
|
};
|
|
4002
4015
|
|
|
4003
|
-
const primary$
|
|
4016
|
+
const primary$3 = (theme) => {
|
|
4004
4017
|
return {
|
|
4005
4018
|
/* PREPEND HERE */
|
|
4006
4019
|
position: "relative",
|
|
@@ -4134,7 +4147,6 @@ const primary$4 = (theme) => {
|
|
|
4134
4147
|
}
|
|
4135
4148
|
};
|
|
4136
4149
|
};
|
|
4137
|
-
var primary$5 = primary$4;
|
|
4138
4150
|
|
|
4139
4151
|
const mobx = (theme) => {
|
|
4140
4152
|
return {
|
|
@@ -4217,14 +4229,13 @@ const mobx = (theme) => {
|
|
|
4217
4229
|
}
|
|
4218
4230
|
};
|
|
4219
4231
|
};
|
|
4220
|
-
var mobx$1 = mobx;
|
|
4221
4232
|
|
|
4222
4233
|
const trees = {
|
|
4223
|
-
mobx
|
|
4224
|
-
primary: primary$
|
|
4234
|
+
mobx,
|
|
4235
|
+
primary: primary$3
|
|
4225
4236
|
};
|
|
4226
4237
|
|
|
4227
|
-
const primary$
|
|
4238
|
+
const primary$2 = {
|
|
4228
4239
|
background: "white",
|
|
4229
4240
|
border: "1px solid #ccc",
|
|
4230
4241
|
borderRadius: "tooltips",
|
|
@@ -4234,7 +4245,7 @@ const primary$3 = {
|
|
|
4234
4245
|
};
|
|
4235
4246
|
|
|
4236
4247
|
const tooltips = {
|
|
4237
|
-
primary: primary$
|
|
4248
|
+
primary: primary$2
|
|
4238
4249
|
/* PREPEND HERE */
|
|
4239
4250
|
};
|
|
4240
4251
|
|
|
@@ -4370,24 +4381,20 @@ const common$1 = (type) => ({
|
|
|
4370
4381
|
const primary$1 = {
|
|
4371
4382
|
...common$1("components.paginationPrimary")
|
|
4372
4383
|
};
|
|
4373
|
-
var primary$2 = primary$1;
|
|
4374
4384
|
|
|
4375
4385
|
const datagrid = {
|
|
4376
4386
|
...common$1("components.paginationDatagrid")
|
|
4377
4387
|
};
|
|
4378
|
-
var datagrid$1 = datagrid;
|
|
4379
4388
|
|
|
4380
4389
|
const primary = {
|
|
4381
4390
|
...common$1("components.paginationSecondary")
|
|
4382
4391
|
};
|
|
4383
|
-
var secondary = primary;
|
|
4384
4392
|
|
|
4385
4393
|
const pagination = {
|
|
4386
|
-
primary: primary$
|
|
4387
|
-
datagrid
|
|
4388
|
-
secondary
|
|
4394
|
+
primary: primary$1,
|
|
4395
|
+
datagrid,
|
|
4396
|
+
secondary: primary
|
|
4389
4397
|
};
|
|
4390
|
-
var pagination$1 = pagination;
|
|
4391
4398
|
|
|
4392
4399
|
const accordion = {
|
|
4393
4400
|
primary: {
|
|
@@ -4515,6 +4522,11 @@ const chat$1 = {
|
|
|
4515
4522
|
width: "100%",
|
|
4516
4523
|
border: "1px solid",
|
|
4517
4524
|
borderColor: "palette.border.section",
|
|
4525
|
+
".chat_controller": {
|
|
4526
|
+
display: "flex",
|
|
4527
|
+
flexDirection: "column",
|
|
4528
|
+
gap: "3"
|
|
4529
|
+
},
|
|
4518
4530
|
".autoscrollContainer": {
|
|
4519
4531
|
display: "flex",
|
|
4520
4532
|
flexDirection: "column",
|
|
@@ -4693,7 +4705,9 @@ const autocomplete = {
|
|
|
4693
4705
|
position: "relative"
|
|
4694
4706
|
},
|
|
4695
4707
|
".autocomplete__search.disabled": {
|
|
4696
|
-
cursor: "not-allowed"
|
|
4708
|
+
cursor: "not-allowed",
|
|
4709
|
+
background: "form.fields.disabled.backgroundColor",
|
|
4710
|
+
borderColor: "form.fields.disabled.backgroundColor"
|
|
4697
4711
|
},
|
|
4698
4712
|
".autocomplete__icons": {
|
|
4699
4713
|
alignItems: "center",
|
|
@@ -4715,11 +4729,14 @@ const autocomplete = {
|
|
|
4715
4729
|
}
|
|
4716
4730
|
},
|
|
4717
4731
|
optionsContainer: {
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4732
|
+
"&.autocomplete__options__box": {
|
|
4733
|
+
background: "palette.background.paper",
|
|
4734
|
+
border: "1px solid",
|
|
4735
|
+
borderColor: "palette.border.field",
|
|
4736
|
+
zIndex: "tooltip",
|
|
4737
|
+
overflow: "auto",
|
|
4738
|
+
display: "block"
|
|
4739
|
+
},
|
|
4723
4740
|
".autocomplete__option": {
|
|
4724
4741
|
variant: "buttons.link",
|
|
4725
4742
|
border: "none",
|
|
@@ -4735,7 +4752,6 @@ const autocomplete = {
|
|
|
4735
4752
|
}
|
|
4736
4753
|
}
|
|
4737
4754
|
};
|
|
4738
|
-
var autocomplete$1 = autocomplete;
|
|
4739
4755
|
|
|
4740
4756
|
const datePicker = {
|
|
4741
4757
|
maxWidth: "400px"
|
|
@@ -4832,16 +4848,126 @@ const infoButton = {
|
|
|
4832
4848
|
}
|
|
4833
4849
|
};
|
|
4834
4850
|
|
|
4851
|
+
const rangeFilter = {
|
|
4852
|
+
backgroundColor: "white",
|
|
4853
|
+
display: "flex",
|
|
4854
|
+
alignItems: "center",
|
|
4855
|
+
".ApiaFilter__Range__Low": {
|
|
4856
|
+
"input:first-of-type": {
|
|
4857
|
+
textAlign: "end"
|
|
4858
|
+
},
|
|
4859
|
+
"input:first-of-type::-webkit-inner-spin-button, input:first-of-type::-webkit-outer-spin-button": {
|
|
4860
|
+
WebkitAppearance: "none",
|
|
4861
|
+
margin: 0
|
|
4862
|
+
},
|
|
4863
|
+
"input[type=number]": {
|
|
4864
|
+
MozAppearance: "textfield"
|
|
4865
|
+
}
|
|
4866
|
+
},
|
|
4867
|
+
".ApiaFilter__Range__High": {
|
|
4868
|
+
"input:first-of-type::-webkit-inner-spin-button, input:first-of-type::-webkit-outer-spin-button": {
|
|
4869
|
+
WebkitAppearance: "none",
|
|
4870
|
+
margin: 0
|
|
4871
|
+
},
|
|
4872
|
+
"input[type=number]": {
|
|
4873
|
+
MozAppearance: "textfield"
|
|
4874
|
+
}
|
|
4875
|
+
},
|
|
4876
|
+
"div:has(.ApiaFilter__Range__UnitSelector)": {
|
|
4877
|
+
flexShrink: 0,
|
|
4878
|
+
flexBasis: "80px"
|
|
4879
|
+
}
|
|
4880
|
+
};
|
|
4881
|
+
|
|
4882
|
+
const filters = {
|
|
4883
|
+
rangeFilter
|
|
4884
|
+
/* PREPEND HERE */
|
|
4885
|
+
};
|
|
4886
|
+
|
|
4887
|
+
const fileCard = {
|
|
4888
|
+
"&.fileCard": {
|
|
4889
|
+
display: "flex",
|
|
4890
|
+
alignItems: "center",
|
|
4891
|
+
position: "relative",
|
|
4892
|
+
border: "1px solid",
|
|
4893
|
+
borderColor: "palette.gray.800",
|
|
4894
|
+
height: "50px",
|
|
4895
|
+
// borderRadius: 'default',
|
|
4896
|
+
borderRadius: "7px",
|
|
4897
|
+
boxShadow: "0px 1px 1px #c7c7c7",
|
|
4898
|
+
background: "palette.background.paper",
|
|
4899
|
+
cursor: "pointer",
|
|
4900
|
+
".fileCard__content": {
|
|
4901
|
+
display: "flex",
|
|
4902
|
+
alignItems: "center",
|
|
4903
|
+
p: 3,
|
|
4904
|
+
gap: 3,
|
|
4905
|
+
width: "100%"
|
|
4906
|
+
},
|
|
4907
|
+
button: {
|
|
4908
|
+
boxShadow: "none"
|
|
4909
|
+
}
|
|
4910
|
+
},
|
|
4911
|
+
"&.selected": (theme) => {
|
|
4912
|
+
return {
|
|
4913
|
+
backgroundColor: theme.palette.getColor("transparent", "selected")
|
|
4914
|
+
};
|
|
4915
|
+
},
|
|
4916
|
+
"&.fileList__modal": {
|
|
4917
|
+
// pr: 7,
|
|
4918
|
+
},
|
|
4919
|
+
".file__icon": {
|
|
4920
|
+
flexShrink: 0
|
|
4921
|
+
},
|
|
4922
|
+
".fileCard__name": {
|
|
4923
|
+
whiteSpace: "nowrap",
|
|
4924
|
+
overflow: "hidden",
|
|
4925
|
+
textOverflow: "ellipsis"
|
|
4926
|
+
},
|
|
4927
|
+
".fileCard__additionalButtons": {
|
|
4928
|
+
flexShrink: 0,
|
|
4929
|
+
display: "flex",
|
|
4930
|
+
height: "100%",
|
|
4931
|
+
ml: 3
|
|
4932
|
+
},
|
|
4933
|
+
".fileCard__additionalButtons:hover": {
|
|
4934
|
+
color: "palette.text.primary"
|
|
4935
|
+
},
|
|
4936
|
+
".fileCard__delete, .fileCard__additionalButton": {
|
|
4937
|
+
width: "auto",
|
|
4938
|
+
height: "100%",
|
|
4939
|
+
backgroundColor: "inherit",
|
|
4940
|
+
border: "none",
|
|
4941
|
+
m: 0,
|
|
4942
|
+
flexShrink: 0,
|
|
4943
|
+
px: 3,
|
|
4944
|
+
borderRadius: "7px",
|
|
4945
|
+
color: "palette.text.primary",
|
|
4946
|
+
svg: {
|
|
4947
|
+
width: "18px",
|
|
4948
|
+
height: "18px"
|
|
4949
|
+
}
|
|
4950
|
+
},
|
|
4951
|
+
".fileCard__additionalButton[class]:hover": (theme) => {
|
|
4952
|
+
return {
|
|
4953
|
+
backgroundColor: theme.palette.getColor("white", "hover"),
|
|
4954
|
+
color: "palette.text.primary"
|
|
4955
|
+
};
|
|
4956
|
+
}
|
|
4957
|
+
};
|
|
4958
|
+
|
|
4835
4959
|
const components = {
|
|
4836
4960
|
/* PREPEND HERE */
|
|
4837
4961
|
accordion,
|
|
4838
|
-
autocomplete
|
|
4962
|
+
autocomplete,
|
|
4839
4963
|
datePicker,
|
|
4840
|
-
pagination
|
|
4964
|
+
pagination,
|
|
4841
4965
|
chat: chat$1,
|
|
4842
4966
|
toolbar,
|
|
4843
4967
|
aiMessage,
|
|
4844
|
-
infoButton
|
|
4968
|
+
infoButton,
|
|
4969
|
+
filters,
|
|
4970
|
+
fileCard
|
|
4845
4971
|
};
|
|
4846
4972
|
|
|
4847
4973
|
const labelBox = {
|
|
@@ -4868,10 +4994,9 @@ const labelBox = {
|
|
|
4868
4994
|
}
|
|
4869
4995
|
}
|
|
4870
4996
|
};
|
|
4871
|
-
var labelBox$1 = labelBox;
|
|
4872
4997
|
|
|
4873
4998
|
const boxes = {
|
|
4874
|
-
labelBox
|
|
4999
|
+
labelBox
|
|
4875
5000
|
/* PREPEND HERE */
|
|
4876
5001
|
};
|
|
4877
5002
|
|
|
@@ -5054,13 +5179,11 @@ const formsAssistant = {
|
|
|
5054
5179
|
}
|
|
5055
5180
|
}
|
|
5056
5181
|
};
|
|
5057
|
-
var formsAssistant$1 = formsAssistant;
|
|
5058
5182
|
|
|
5059
5183
|
const execution = {
|
|
5060
|
-
formsAssistant
|
|
5184
|
+
formsAssistant
|
|
5061
5185
|
/* PREPEND HERE */
|
|
5062
5186
|
};
|
|
5063
|
-
var execution$1 = execution;
|
|
5064
5187
|
|
|
5065
5188
|
const connectors = {
|
|
5066
5189
|
testResult: {
|
|
@@ -5087,9 +5210,8 @@ const connectors = {
|
|
|
5087
5210
|
}
|
|
5088
5211
|
}
|
|
5089
5212
|
};
|
|
5090
|
-
var connectors$1 = connectors;
|
|
5091
5213
|
|
|
5092
|
-
|
|
5214
|
+
keyframes`
|
|
5093
5215
|
0% {
|
|
5094
5216
|
transform: rotate(0);
|
|
5095
5217
|
}
|
|
@@ -5125,12 +5247,110 @@ const fadeInFromTop = keyframes`
|
|
|
5125
5247
|
opacity: 1;
|
|
5126
5248
|
}
|
|
5127
5249
|
`;
|
|
5128
|
-
const
|
|
5129
|
-
|
|
5250
|
+
const fadeIn = keyframes`
|
|
5251
|
+
0% {
|
|
5252
|
+
opacity: 0;
|
|
5253
|
+
}
|
|
5254
|
+
100% {
|
|
5255
|
+
opacity: 1;
|
|
5256
|
+
}
|
|
5257
|
+
`;
|
|
5258
|
+
const animations = { fadeInFromBottom, fadeInFromTop, fadeIn };
|
|
5130
5259
|
|
|
5131
5260
|
const semanticSearch = {
|
|
5132
5261
|
execution: {
|
|
5133
5262
|
background: "palette.background.default",
|
|
5263
|
+
".chat_history": {
|
|
5264
|
+
margin: "50px 0 90px 0"
|
|
5265
|
+
},
|
|
5266
|
+
pre: {
|
|
5267
|
+
m: 0
|
|
5268
|
+
},
|
|
5269
|
+
".sem_search__system_message": {
|
|
5270
|
+
display: "flex",
|
|
5271
|
+
flexDirection: "column",
|
|
5272
|
+
position: "relative"
|
|
5273
|
+
},
|
|
5274
|
+
".sem_search__stream_blocks": {
|
|
5275
|
+
display: "flex",
|
|
5276
|
+
flexDirection: "column",
|
|
5277
|
+
gap: 3,
|
|
5278
|
+
padding: "16px 24px 0 24px"
|
|
5279
|
+
},
|
|
5280
|
+
".sem_search__stream_block": {
|
|
5281
|
+
animation: `${animations.fadeIn} 0.2s`,
|
|
5282
|
+
borderRadius: "5px",
|
|
5283
|
+
padding: "5px 10px",
|
|
5284
|
+
background: "#d8e3e7",
|
|
5285
|
+
color: "black",
|
|
5286
|
+
listStyle: "disc"
|
|
5287
|
+
},
|
|
5288
|
+
".sem_search__thumbs": {
|
|
5289
|
+
display: "flex",
|
|
5290
|
+
justifyContent: "end",
|
|
5291
|
+
gap: 2,
|
|
5292
|
+
position: "absolute",
|
|
5293
|
+
bottom: 0,
|
|
5294
|
+
right: 0,
|
|
5295
|
+
".unselected": {
|
|
5296
|
+
color: "#c2c2c2"
|
|
5297
|
+
},
|
|
5298
|
+
".selected": {
|
|
5299
|
+
strokeWidth: "15px"
|
|
5300
|
+
},
|
|
5301
|
+
".no_feedback": {
|
|
5302
|
+
color: "gray"
|
|
5303
|
+
}
|
|
5304
|
+
},
|
|
5305
|
+
".ellipsis": {
|
|
5306
|
+
padding: "0 24px 32px 24px",
|
|
5307
|
+
fontWeight: "bold"
|
|
5308
|
+
},
|
|
5309
|
+
".markdown": {
|
|
5310
|
+
padding: "0 24px 32px 24px",
|
|
5311
|
+
"h1, h2, h3, h4, h5, h6": {
|
|
5312
|
+
margin: "32px 0px 20px 0px",
|
|
5313
|
+
"& *": {
|
|
5314
|
+
fontSize: "inherit",
|
|
5315
|
+
fontWeight: "inherit",
|
|
5316
|
+
fontFamily: "inherit"
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
blockquote: {
|
|
5320
|
+
fontStyle: "italic"
|
|
5321
|
+
},
|
|
5322
|
+
table: {
|
|
5323
|
+
variant: "layout.common.tables.secondary",
|
|
5324
|
+
thead: {
|
|
5325
|
+
zIndex: 0
|
|
5326
|
+
}
|
|
5327
|
+
},
|
|
5328
|
+
h2: {
|
|
5329
|
+
display: "block",
|
|
5330
|
+
borderBottom: "2px solid hsl(195deg 10% 49% / 50%)",
|
|
5331
|
+
paddingBottom: "16px"
|
|
5332
|
+
},
|
|
5333
|
+
h3: {
|
|
5334
|
+
textDecoration: "underline"
|
|
5335
|
+
},
|
|
5336
|
+
h4: {
|
|
5337
|
+
fontSize: "20px"
|
|
5338
|
+
},
|
|
5339
|
+
ul: {
|
|
5340
|
+
listStyle: "unset",
|
|
5341
|
+
listStyleType: "disc",
|
|
5342
|
+
margin: "unset",
|
|
5343
|
+
padding: "unset",
|
|
5344
|
+
paddingLeft: "20px",
|
|
5345
|
+
paddingBottom: "16px"
|
|
5346
|
+
},
|
|
5347
|
+
"ol + ul, ul + ul, ol ul, ul ul": {
|
|
5348
|
+
paddingLeft: "72px"
|
|
5349
|
+
},
|
|
5350
|
+
"p, ul, ol, blockQuote, table": {
|
|
5351
|
+
mt: "16px"
|
|
5352
|
+
}
|
|
5353
|
+
},
|
|
5134
5354
|
".filters__container": {
|
|
5135
5355
|
" > div": {
|
|
5136
5356
|
display: "flex",
|
|
@@ -5237,10 +5457,6 @@ const semanticSearch = {
|
|
|
5237
5457
|
background: "transparent",
|
|
5238
5458
|
border: "none"
|
|
5239
5459
|
},
|
|
5240
|
-
"a:-webkit-any-link": {
|
|
5241
|
-
color: "unset",
|
|
5242
|
-
textDecoration: "unset"
|
|
5243
|
-
},
|
|
5244
5460
|
".references_item": {
|
|
5245
5461
|
maxWidth: "180px",
|
|
5246
5462
|
whiteSpace: "nowrap",
|
|
@@ -5351,7 +5567,12 @@ const semanticSearch = {
|
|
|
5351
5567
|
ml: "1px"
|
|
5352
5568
|
}
|
|
5353
5569
|
},
|
|
5354
|
-
".messages_box": {
|
|
5570
|
+
".messages_box": {
|
|
5571
|
+
fontSize: "22px",
|
|
5572
|
+
minHeight: "82vh",
|
|
5573
|
+
paddingTop: "7%",
|
|
5574
|
+
marginBottom: "8%"
|
|
5575
|
+
},
|
|
5355
5576
|
".history__message": {
|
|
5356
5577
|
borderRadius: "panel",
|
|
5357
5578
|
margin: "15px",
|
|
@@ -5376,7 +5597,7 @@ const semanticSearch = {
|
|
|
5376
5597
|
}
|
|
5377
5598
|
},
|
|
5378
5599
|
".history": {
|
|
5379
|
-
animation: `${animations
|
|
5600
|
+
animation: `${animations.fadeInFromBottom} 0.3s`,
|
|
5380
5601
|
padding: "100px 32px 80px 32px",
|
|
5381
5602
|
border: "none",
|
|
5382
5603
|
height: "unset"
|
|
@@ -5429,7 +5650,7 @@ const semanticSearch = {
|
|
|
5429
5650
|
gap: spacing(5)
|
|
5430
5651
|
},
|
|
5431
5652
|
".list_results": {
|
|
5432
|
-
animation: `${animations
|
|
5653
|
+
animation: `${animations.fadeInFromTop} 0.3s`,
|
|
5433
5654
|
height: "100%",
|
|
5434
5655
|
width: responsive$1({ 0: "100%", 3: "75vw", 5: "50vw" }),
|
|
5435
5656
|
mx: "auto",
|
|
@@ -5453,19 +5674,22 @@ const semanticSearch = {
|
|
|
5453
5674
|
gap: spacing(6),
|
|
5454
5675
|
pt: spacing(5)
|
|
5455
5676
|
}
|
|
5677
|
+
},
|
|
5678
|
+
".autogrow_textarea": {
|
|
5679
|
+
maxHeight: "20vh",
|
|
5680
|
+
width: "100%"
|
|
5456
5681
|
}
|
|
5457
5682
|
}
|
|
5458
5683
|
};
|
|
5459
5684
|
|
|
5460
5685
|
const ai = {
|
|
5461
|
-
connectors
|
|
5462
|
-
execution
|
|
5686
|
+
connectors,
|
|
5687
|
+
execution,
|
|
5463
5688
|
semanticSearch
|
|
5464
5689
|
/* PREPEND HERE */
|
|
5465
5690
|
};
|
|
5466
|
-
var ai$1 = ai;
|
|
5467
5691
|
|
|
5468
|
-
const form = {
|
|
5692
|
+
const form$1 = {
|
|
5469
5693
|
/* PREPEND HERE */
|
|
5470
5694
|
alignItems: "center",
|
|
5471
5695
|
justifyContent: "center",
|
|
@@ -5479,6 +5703,17 @@ const form = {
|
|
|
5479
5703
|
boxShadow: "0px 2px 6px #0002",
|
|
5480
5704
|
width: "100%",
|
|
5481
5705
|
p: spacing(3),
|
|
5706
|
+
flexDirection: "column",
|
|
5707
|
+
position: "relative",
|
|
5708
|
+
".chatButtons": {
|
|
5709
|
+
display: "flex",
|
|
5710
|
+
flexDirection: "row",
|
|
5711
|
+
alignitems: "end",
|
|
5712
|
+
justifyContent: "end",
|
|
5713
|
+
position: "absolute",
|
|
5714
|
+
bottom: "4px",
|
|
5715
|
+
right: "4px"
|
|
5716
|
+
},
|
|
5482
5717
|
"&:focus-within": focusOutline,
|
|
5483
5718
|
"& > *:focus[class]": {
|
|
5484
5719
|
outlineWidth: 0
|
|
@@ -5500,14 +5735,16 @@ const form = {
|
|
|
5500
5735
|
backgroundColor: "palette.error.main"
|
|
5501
5736
|
},
|
|
5502
5737
|
".searchTextArea": {
|
|
5503
|
-
minHeight: "
|
|
5504
|
-
height: "
|
|
5738
|
+
minHeight: "16px",
|
|
5739
|
+
height: "16px",
|
|
5740
|
+
width: "100%",
|
|
5741
|
+
maxHeight: "30vh",
|
|
5505
5742
|
resize: "none",
|
|
5506
|
-
py:
|
|
5743
|
+
py: 0,
|
|
5507
5744
|
background: "transparent",
|
|
5508
5745
|
border: "none"
|
|
5509
5746
|
},
|
|
5510
|
-
".
|
|
5747
|
+
".ChatBarButton": {
|
|
5511
5748
|
borderRadius: "panel",
|
|
5512
5749
|
height: "34px",
|
|
5513
5750
|
width: "34px",
|
|
@@ -5515,6 +5752,15 @@ const form = {
|
|
|
5515
5752
|
background: "transparent",
|
|
5516
5753
|
border: "none",
|
|
5517
5754
|
color: "palette.text.primary"
|
|
5755
|
+
},
|
|
5756
|
+
".isRecording": {
|
|
5757
|
+
borderRadius: "panel",
|
|
5758
|
+
height: "34px",
|
|
5759
|
+
width: "34px",
|
|
5760
|
+
flexShrink: 0,
|
|
5761
|
+
background: "transparent",
|
|
5762
|
+
border: "none",
|
|
5763
|
+
color: "red"
|
|
5518
5764
|
}
|
|
5519
5765
|
};
|
|
5520
5766
|
|
|
@@ -5525,6 +5771,14 @@ const history = {
|
|
|
5525
5771
|
width: "100%",
|
|
5526
5772
|
gap: 2,
|
|
5527
5773
|
p: 3,
|
|
5774
|
+
".history_message__content": {
|
|
5775
|
+
display: "flex",
|
|
5776
|
+
flexDirection: "column",
|
|
5777
|
+
gap: "16px",
|
|
5778
|
+
h3: {
|
|
5779
|
+
fontSize: "20px"
|
|
5780
|
+
}
|
|
5781
|
+
},
|
|
5528
5782
|
".history_message": {
|
|
5529
5783
|
px: 4,
|
|
5530
5784
|
py: 5,
|
|
@@ -5540,10 +5794,16 @@ const history = {
|
|
|
5540
5794
|
"&.first": {
|
|
5541
5795
|
borderTopRightRadius: "0px"
|
|
5542
5796
|
},
|
|
5797
|
+
"&.first:has(+ .first))": {
|
|
5798
|
+
mb: 4
|
|
5799
|
+
},
|
|
5543
5800
|
backgroundColor: "rgb(108 166 203)",
|
|
5544
5801
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5545
5802
|
color: "white",
|
|
5546
5803
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5804
|
+
".fileCard__content": {
|
|
5805
|
+
color: "palette.text.primary"
|
|
5806
|
+
},
|
|
5547
5807
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5548
5808
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5549
5809
|
border: "1px solid rgb(113 145 193)",
|
|
@@ -5556,6 +5816,9 @@ const history = {
|
|
|
5556
5816
|
"&.first": {
|
|
5557
5817
|
borderTopLeftRadius: "0px"
|
|
5558
5818
|
},
|
|
5819
|
+
"&.first:has(+ .first))": {
|
|
5820
|
+
mb: 4
|
|
5821
|
+
},
|
|
5559
5822
|
backgroundColor: "#00bcff14",
|
|
5560
5823
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5561
5824
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
@@ -5617,12 +5880,16 @@ const controller = {
|
|
|
5617
5880
|
display: "flex",
|
|
5618
5881
|
flexDirection: "column",
|
|
5619
5882
|
alignItems: "stretch",
|
|
5620
|
-
|
|
5883
|
+
maxHeight: "50vh",
|
|
5621
5884
|
gap: 3,
|
|
5885
|
+
flexBasis: "50vh",
|
|
5622
5886
|
".autoscrollContainer": {
|
|
5623
5887
|
flexGrow: 1,
|
|
5624
5888
|
flexShrink: 1,
|
|
5625
|
-
|
|
5889
|
+
overflow: "auto"
|
|
5890
|
+
},
|
|
5891
|
+
".search_controls": {
|
|
5892
|
+
flexShrink: 0
|
|
5626
5893
|
}
|
|
5627
5894
|
};
|
|
5628
5895
|
|
|
@@ -5722,8 +5989,6 @@ const message = {
|
|
|
5722
5989
|
|
|
5723
5990
|
const assistant = {
|
|
5724
5991
|
floatingAssistant: {
|
|
5725
|
-
maxHeight: "50vh",
|
|
5726
|
-
height: "50vh",
|
|
5727
5992
|
"& div.modal__content[class]": {
|
|
5728
5993
|
p: 3,
|
|
5729
5994
|
width: "min(90vw, 500px)"
|
|
@@ -5731,9 +5996,6 @@ const assistant = {
|
|
|
5731
5996
|
".modal__main": {
|
|
5732
5997
|
maxWidth: "unset",
|
|
5733
5998
|
overflow: "hidden"
|
|
5734
|
-
},
|
|
5735
|
-
".autoscrollContainer": {
|
|
5736
|
-
height: "30vh"
|
|
5737
5999
|
}
|
|
5738
6000
|
}
|
|
5739
6001
|
};
|
|
@@ -5741,7 +6003,7 @@ const assistant = {
|
|
|
5741
6003
|
const chat = {
|
|
5742
6004
|
/* PREPEND HERE */
|
|
5743
6005
|
assistant,
|
|
5744
|
-
form,
|
|
6006
|
+
form: form$1,
|
|
5745
6007
|
history,
|
|
5746
6008
|
controller,
|
|
5747
6009
|
attachments,
|
|
@@ -5757,7 +6019,7 @@ const common = (theme) => {
|
|
|
5757
6019
|
components,
|
|
5758
6020
|
trees,
|
|
5759
6021
|
tooltips,
|
|
5760
|
-
ai
|
|
6022
|
+
ai,
|
|
5761
6023
|
chat
|
|
5762
6024
|
/* PREPEND HERE */
|
|
5763
6025
|
};
|
|
@@ -5908,11 +6170,47 @@ const charts = {
|
|
|
5908
6170
|
}
|
|
5909
6171
|
};
|
|
5910
6172
|
|
|
6173
|
+
const form = {
|
|
6174
|
+
/* PREPEND HERE */
|
|
6175
|
+
flexDirection: "column",
|
|
6176
|
+
".fieldWrapper": {
|
|
6177
|
+
display: "flex",
|
|
6178
|
+
flexDirection: "column",
|
|
6179
|
+
alignItems: "stretch",
|
|
6180
|
+
"&.checkbox": {
|
|
6181
|
+
alignItems: "start"
|
|
6182
|
+
}
|
|
6183
|
+
},
|
|
6184
|
+
".error": {
|
|
6185
|
+
borderLeftStyle: "solid",
|
|
6186
|
+
borderLeftWidth: "4px",
|
|
6187
|
+
borderLeftColor: "danger"
|
|
6188
|
+
},
|
|
6189
|
+
".touched": {
|
|
6190
|
+
borderStyle: "solid",
|
|
6191
|
+
borderWidth: "1px",
|
|
6192
|
+
borderColor: "palette.primary.main",
|
|
6193
|
+
"&.radio-label": {
|
|
6194
|
+
border: "none",
|
|
6195
|
+
"input[role]:checked~svg": {
|
|
6196
|
+
"&, path": {
|
|
6197
|
+
color: "palette.primary.main"
|
|
6198
|
+
}
|
|
6199
|
+
}
|
|
6200
|
+
}
|
|
6201
|
+
}
|
|
6202
|
+
};
|
|
6203
|
+
|
|
6204
|
+
const validations = {
|
|
6205
|
+
form
|
|
6206
|
+
};
|
|
6207
|
+
|
|
5911
6208
|
const layout = (theme) => {
|
|
5912
6209
|
return {
|
|
5913
6210
|
charts,
|
|
5914
6211
|
common: common(theme),
|
|
5915
|
-
util
|
|
6212
|
+
util,
|
|
6213
|
+
validations
|
|
5916
6214
|
/* PREPEND HERE */
|
|
5917
6215
|
};
|
|
5918
6216
|
};
|
|
@@ -6514,7 +6812,7 @@ async function getRemarkable(extensions) {
|
|
|
6514
6812
|
|
|
6515
6813
|
const parseMarkdown = async (options) => {
|
|
6516
6814
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
6517
|
-
const css = (await import('./styles-
|
|
6815
|
+
const css = (await import('./styles-CXru8otC.js')).markdownParserStyles ?? new ErrorImporting();
|
|
6518
6816
|
if (css instanceof ErrorImporting)
|
|
6519
6817
|
throw new Error("Could not import css, cannot continue");
|
|
6520
6818
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -6582,7 +6880,7 @@ class MarkdownHeader extends MarkdownParagraph {
|
|
|
6582
6880
|
var __defProp$2 = Object.defineProperty;
|
|
6583
6881
|
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6584
6882
|
var __publicField$2 = (obj, key, value) => {
|
|
6585
|
-
__defNormalProp$2(obj,
|
|
6883
|
+
__defNormalProp$2(obj, key + "" , value);
|
|
6586
6884
|
return value;
|
|
6587
6885
|
};
|
|
6588
6886
|
class MarkdownList extends MarkdownBlock {
|
|
@@ -6632,7 +6930,7 @@ class MarkdownList extends MarkdownBlock {
|
|
|
6632
6930
|
var __defProp$1 = Object.defineProperty;
|
|
6633
6931
|
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6634
6932
|
var __publicField$1 = (obj, key, value) => {
|
|
6635
|
-
__defNormalProp$1(obj,
|
|
6933
|
+
__defNormalProp$1(obj, key + "" , value);
|
|
6636
6934
|
return value;
|
|
6637
6935
|
};
|
|
6638
6936
|
var __accessCheck = (obj, member, msg) => {
|
|
@@ -6971,5 +7269,5 @@ class MarkdownBuilder {
|
|
|
6971
7269
|
}
|
|
6972
7270
|
}
|
|
6973
7271
|
|
|
6974
|
-
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput
|
|
6975
|
-
//# sourceMappingURL=index-
|
|
7272
|
+
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 };
|
|
7273
|
+
//# sourceMappingURL=index-B5yux0Do.js.map
|