@apia/theme 4.0.16 → 4.0.18
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-Dn_wc72C.js} +429 -124
- package/dist/index-Dn_wc72C.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-BVjRzTR5.js} +3 -3
- package/dist/styles-BVjRzTR5.js.map +1 -0
- package/jsx-runtime/dist/jsx-runtime.d.ts +3 -3
- package/jsx-runtime/dist/theme-ui-jsx-runtime.browser.esm.js +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.d.ts +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.d.ts.map +1 -1
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.dev.js +21 -21
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.js +7 -7
- package/jsx-runtime/dist/theme-ui-jsx-runtime.cjs.prod.js +21 -21
- package/jsx-runtime/dist/theme-ui-jsx-runtime.esm.js +2 -2
- package/jsx-runtime/dist/theme-ui-jsx-runtime.worker.esm.js +2 -2
- package/jsx-runtime/package.json +8 -8
- package/package.json +6 -4
- package/dist/index-MgxPjTTE.js.map +0 -1
- package/dist/styles-B_o_dZr1.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,13 @@ 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"
|
|
4711
|
+
},
|
|
4712
|
+
".autocomplete__search.readOnly": {
|
|
4713
|
+
background: "form.fields.readonly.backgroundColor",
|
|
4714
|
+
borderColor: "form.fields.readonly.backgroundColor"
|
|
4697
4715
|
},
|
|
4698
4716
|
".autocomplete__icons": {
|
|
4699
4717
|
alignItems: "center",
|
|
@@ -4718,8 +4736,14 @@ const autocomplete = {
|
|
|
4718
4736
|
background: "palette.background.paper",
|
|
4719
4737
|
border: "1px solid",
|
|
4720
4738
|
borderColor: "palette.border.field",
|
|
4721
|
-
|
|
4722
|
-
|
|
4739
|
+
"&.autocomplete__options__box": {
|
|
4740
|
+
background: "palette.background.paper",
|
|
4741
|
+
border: "1px solid",
|
|
4742
|
+
borderColor: "palette.border.field",
|
|
4743
|
+
zIndex: "tooltip",
|
|
4744
|
+
overflow: "auto",
|
|
4745
|
+
display: "block"
|
|
4746
|
+
},
|
|
4723
4747
|
".autocomplete__option": {
|
|
4724
4748
|
variant: "buttons.link",
|
|
4725
4749
|
border: "none",
|
|
@@ -4735,7 +4759,6 @@ const autocomplete = {
|
|
|
4735
4759
|
}
|
|
4736
4760
|
}
|
|
4737
4761
|
};
|
|
4738
|
-
var autocomplete$1 = autocomplete;
|
|
4739
4762
|
|
|
4740
4763
|
const datePicker = {
|
|
4741
4764
|
maxWidth: "400px"
|
|
@@ -4832,16 +4855,126 @@ const infoButton = {
|
|
|
4832
4855
|
}
|
|
4833
4856
|
};
|
|
4834
4857
|
|
|
4858
|
+
const rangeFilter = {
|
|
4859
|
+
backgroundColor: "white",
|
|
4860
|
+
display: "flex",
|
|
4861
|
+
alignItems: "center",
|
|
4862
|
+
".ApiaFilter__Range__Low": {
|
|
4863
|
+
"input:first-of-type": {
|
|
4864
|
+
textAlign: "end"
|
|
4865
|
+
},
|
|
4866
|
+
"input:first-of-type::-webkit-inner-spin-button, input:first-of-type::-webkit-outer-spin-button": {
|
|
4867
|
+
WebkitAppearance: "none",
|
|
4868
|
+
margin: 0
|
|
4869
|
+
},
|
|
4870
|
+
"input[type=number]": {
|
|
4871
|
+
MozAppearance: "textfield"
|
|
4872
|
+
}
|
|
4873
|
+
},
|
|
4874
|
+
".ApiaFilter__Range__High": {
|
|
4875
|
+
"input:first-of-type::-webkit-inner-spin-button, input:first-of-type::-webkit-outer-spin-button": {
|
|
4876
|
+
WebkitAppearance: "none",
|
|
4877
|
+
margin: 0
|
|
4878
|
+
},
|
|
4879
|
+
"input[type=number]": {
|
|
4880
|
+
MozAppearance: "textfield"
|
|
4881
|
+
}
|
|
4882
|
+
},
|
|
4883
|
+
"div:has(.ApiaFilter__Range__UnitSelector)": {
|
|
4884
|
+
flexShrink: 0,
|
|
4885
|
+
flexBasis: "80px"
|
|
4886
|
+
}
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
const filters = {
|
|
4890
|
+
rangeFilter
|
|
4891
|
+
/* PREPEND HERE */
|
|
4892
|
+
};
|
|
4893
|
+
|
|
4894
|
+
const fileCard = {
|
|
4895
|
+
"&.fileCard": {
|
|
4896
|
+
display: "flex",
|
|
4897
|
+
alignItems: "center",
|
|
4898
|
+
position: "relative",
|
|
4899
|
+
border: "1px solid",
|
|
4900
|
+
borderColor: "palette.gray.800",
|
|
4901
|
+
height: "50px",
|
|
4902
|
+
// borderRadius: 'default',
|
|
4903
|
+
borderRadius: "7px",
|
|
4904
|
+
boxShadow: "0px 1px 1px #c7c7c7",
|
|
4905
|
+
background: "palette.background.paper",
|
|
4906
|
+
cursor: "pointer",
|
|
4907
|
+
".fileCard__content": {
|
|
4908
|
+
display: "flex",
|
|
4909
|
+
alignItems: "center",
|
|
4910
|
+
p: 3,
|
|
4911
|
+
gap: 3,
|
|
4912
|
+
width: "100%"
|
|
4913
|
+
},
|
|
4914
|
+
button: {
|
|
4915
|
+
boxShadow: "none"
|
|
4916
|
+
}
|
|
4917
|
+
},
|
|
4918
|
+
"&.selected": (theme) => {
|
|
4919
|
+
return {
|
|
4920
|
+
backgroundColor: theme.palette.getColor("transparent", "selected")
|
|
4921
|
+
};
|
|
4922
|
+
},
|
|
4923
|
+
"&.fileList__modal": {
|
|
4924
|
+
// pr: 7,
|
|
4925
|
+
},
|
|
4926
|
+
".file__icon": {
|
|
4927
|
+
flexShrink: 0
|
|
4928
|
+
},
|
|
4929
|
+
".fileCard__name": {
|
|
4930
|
+
whiteSpace: "nowrap",
|
|
4931
|
+
overflow: "hidden",
|
|
4932
|
+
textOverflow: "ellipsis"
|
|
4933
|
+
},
|
|
4934
|
+
".fileCard__additionalButtons": {
|
|
4935
|
+
flexShrink: 0,
|
|
4936
|
+
display: "flex",
|
|
4937
|
+
height: "100%",
|
|
4938
|
+
ml: 3
|
|
4939
|
+
},
|
|
4940
|
+
".fileCard__additionalButtons:hover": {
|
|
4941
|
+
color: "palette.text.primary"
|
|
4942
|
+
},
|
|
4943
|
+
".fileCard__delete, .fileCard__additionalButton": {
|
|
4944
|
+
width: "auto",
|
|
4945
|
+
height: "100%",
|
|
4946
|
+
backgroundColor: "inherit",
|
|
4947
|
+
border: "none",
|
|
4948
|
+
m: 0,
|
|
4949
|
+
flexShrink: 0,
|
|
4950
|
+
px: 3,
|
|
4951
|
+
borderRadius: "7px",
|
|
4952
|
+
color: "palette.text.primary",
|
|
4953
|
+
svg: {
|
|
4954
|
+
width: "18px",
|
|
4955
|
+
height: "18px"
|
|
4956
|
+
}
|
|
4957
|
+
},
|
|
4958
|
+
".fileCard__additionalButton[class]:hover": (theme) => {
|
|
4959
|
+
return {
|
|
4960
|
+
backgroundColor: theme.palette.getColor("white", "hover"),
|
|
4961
|
+
color: "palette.text.primary"
|
|
4962
|
+
};
|
|
4963
|
+
}
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4835
4966
|
const components = {
|
|
4836
4967
|
/* PREPEND HERE */
|
|
4837
4968
|
accordion,
|
|
4838
|
-
autocomplete
|
|
4969
|
+
autocomplete,
|
|
4839
4970
|
datePicker,
|
|
4840
|
-
pagination
|
|
4971
|
+
pagination,
|
|
4841
4972
|
chat: chat$1,
|
|
4842
4973
|
toolbar,
|
|
4843
4974
|
aiMessage,
|
|
4844
|
-
infoButton
|
|
4975
|
+
infoButton,
|
|
4976
|
+
filters,
|
|
4977
|
+
fileCard
|
|
4845
4978
|
};
|
|
4846
4979
|
|
|
4847
4980
|
const labelBox = {
|
|
@@ -4868,10 +5001,9 @@ const labelBox = {
|
|
|
4868
5001
|
}
|
|
4869
5002
|
}
|
|
4870
5003
|
};
|
|
4871
|
-
var labelBox$1 = labelBox;
|
|
4872
5004
|
|
|
4873
5005
|
const boxes = {
|
|
4874
|
-
labelBox
|
|
5006
|
+
labelBox
|
|
4875
5007
|
/* PREPEND HERE */
|
|
4876
5008
|
};
|
|
4877
5009
|
|
|
@@ -5054,13 +5186,11 @@ const formsAssistant = {
|
|
|
5054
5186
|
}
|
|
5055
5187
|
}
|
|
5056
5188
|
};
|
|
5057
|
-
var formsAssistant$1 = formsAssistant;
|
|
5058
5189
|
|
|
5059
5190
|
const execution = {
|
|
5060
|
-
formsAssistant
|
|
5191
|
+
formsAssistant
|
|
5061
5192
|
/* PREPEND HERE */
|
|
5062
5193
|
};
|
|
5063
|
-
var execution$1 = execution;
|
|
5064
5194
|
|
|
5065
5195
|
const connectors = {
|
|
5066
5196
|
testResult: {
|
|
@@ -5087,9 +5217,8 @@ const connectors = {
|
|
|
5087
5217
|
}
|
|
5088
5218
|
}
|
|
5089
5219
|
};
|
|
5090
|
-
var connectors$1 = connectors;
|
|
5091
5220
|
|
|
5092
|
-
|
|
5221
|
+
keyframes`
|
|
5093
5222
|
0% {
|
|
5094
5223
|
transform: rotate(0);
|
|
5095
5224
|
}
|
|
@@ -5125,12 +5254,110 @@ const fadeInFromTop = keyframes`
|
|
|
5125
5254
|
opacity: 1;
|
|
5126
5255
|
}
|
|
5127
5256
|
`;
|
|
5128
|
-
const
|
|
5129
|
-
|
|
5257
|
+
const fadeIn = keyframes`
|
|
5258
|
+
0% {
|
|
5259
|
+
opacity: 0;
|
|
5260
|
+
}
|
|
5261
|
+
100% {
|
|
5262
|
+
opacity: 1;
|
|
5263
|
+
}
|
|
5264
|
+
`;
|
|
5265
|
+
const animations = { fadeInFromBottom, fadeInFromTop, fadeIn };
|
|
5130
5266
|
|
|
5131
5267
|
const semanticSearch = {
|
|
5132
5268
|
execution: {
|
|
5133
5269
|
background: "palette.background.default",
|
|
5270
|
+
".chat_history": {
|
|
5271
|
+
margin: "50px 0 90px 0"
|
|
5272
|
+
},
|
|
5273
|
+
pre: {
|
|
5274
|
+
m: 0
|
|
5275
|
+
},
|
|
5276
|
+
".sem_search__system_message": {
|
|
5277
|
+
display: "flex",
|
|
5278
|
+
flexDirection: "column",
|
|
5279
|
+
position: "relative"
|
|
5280
|
+
},
|
|
5281
|
+
".sem_search__stream_blocks": {
|
|
5282
|
+
display: "flex",
|
|
5283
|
+
flexDirection: "column",
|
|
5284
|
+
gap: 3,
|
|
5285
|
+
padding: "16px 24px 0 24px"
|
|
5286
|
+
},
|
|
5287
|
+
".sem_search__stream_block": {
|
|
5288
|
+
animation: `${animations.fadeIn} 0.2s`,
|
|
5289
|
+
borderRadius: "5px",
|
|
5290
|
+
padding: "5px 10px",
|
|
5291
|
+
background: "#d8e3e7",
|
|
5292
|
+
color: "black",
|
|
5293
|
+
listStyle: "disc"
|
|
5294
|
+
},
|
|
5295
|
+
".sem_search__thumbs": {
|
|
5296
|
+
display: "flex",
|
|
5297
|
+
justifyContent: "end",
|
|
5298
|
+
gap: 2,
|
|
5299
|
+
position: "absolute",
|
|
5300
|
+
bottom: 0,
|
|
5301
|
+
right: 0,
|
|
5302
|
+
".unselected": {
|
|
5303
|
+
color: "#c2c2c2"
|
|
5304
|
+
},
|
|
5305
|
+
".selected": {
|
|
5306
|
+
strokeWidth: "15px"
|
|
5307
|
+
},
|
|
5308
|
+
".no_feedback": {
|
|
5309
|
+
color: "gray"
|
|
5310
|
+
}
|
|
5311
|
+
},
|
|
5312
|
+
".ellipsis": {
|
|
5313
|
+
padding: "0 24px 32px 24px",
|
|
5314
|
+
fontWeight: "bold"
|
|
5315
|
+
},
|
|
5316
|
+
".markdown": {
|
|
5317
|
+
padding: "0 24px 32px 24px",
|
|
5318
|
+
"h1, h2, h3, h4, h5, h6": {
|
|
5319
|
+
margin: "32px 0px 20px 0px",
|
|
5320
|
+
"& *": {
|
|
5321
|
+
fontSize: "inherit",
|
|
5322
|
+
fontWeight: "inherit",
|
|
5323
|
+
fontFamily: "inherit"
|
|
5324
|
+
}
|
|
5325
|
+
},
|
|
5326
|
+
blockquote: {
|
|
5327
|
+
fontStyle: "italic"
|
|
5328
|
+
},
|
|
5329
|
+
table: {
|
|
5330
|
+
variant: "layout.common.tables.secondary",
|
|
5331
|
+
thead: {
|
|
5332
|
+
zIndex: 0
|
|
5333
|
+
}
|
|
5334
|
+
},
|
|
5335
|
+
h2: {
|
|
5336
|
+
display: "block",
|
|
5337
|
+
borderBottom: "2px solid hsl(195deg 10% 49% / 50%)",
|
|
5338
|
+
paddingBottom: "16px"
|
|
5339
|
+
},
|
|
5340
|
+
h3: {
|
|
5341
|
+
textDecoration: "underline"
|
|
5342
|
+
},
|
|
5343
|
+
h4: {
|
|
5344
|
+
fontSize: "20px"
|
|
5345
|
+
},
|
|
5346
|
+
ul: {
|
|
5347
|
+
listStyle: "unset",
|
|
5348
|
+
listStyleType: "disc",
|
|
5349
|
+
margin: "unset",
|
|
5350
|
+
padding: "unset",
|
|
5351
|
+
paddingLeft: "20px",
|
|
5352
|
+
paddingBottom: "16px"
|
|
5353
|
+
},
|
|
5354
|
+
"ol + ul, ul + ul, ol ul, ul ul": {
|
|
5355
|
+
paddingLeft: "72px"
|
|
5356
|
+
},
|
|
5357
|
+
"p, ul, ol, blockQuote, table": {
|
|
5358
|
+
mt: "16px"
|
|
5359
|
+
}
|
|
5360
|
+
},
|
|
5134
5361
|
".filters__container": {
|
|
5135
5362
|
" > div": {
|
|
5136
5363
|
display: "flex",
|
|
@@ -5237,10 +5464,6 @@ const semanticSearch = {
|
|
|
5237
5464
|
background: "transparent",
|
|
5238
5465
|
border: "none"
|
|
5239
5466
|
},
|
|
5240
|
-
"a:-webkit-any-link": {
|
|
5241
|
-
color: "unset",
|
|
5242
|
-
textDecoration: "unset"
|
|
5243
|
-
},
|
|
5244
5467
|
".references_item": {
|
|
5245
5468
|
maxWidth: "180px",
|
|
5246
5469
|
whiteSpace: "nowrap",
|
|
@@ -5351,7 +5574,12 @@ const semanticSearch = {
|
|
|
5351
5574
|
ml: "1px"
|
|
5352
5575
|
}
|
|
5353
5576
|
},
|
|
5354
|
-
".messages_box": {
|
|
5577
|
+
".messages_box": {
|
|
5578
|
+
fontSize: "22px",
|
|
5579
|
+
minHeight: "82vh",
|
|
5580
|
+
paddingTop: "7%",
|
|
5581
|
+
marginBottom: "8%"
|
|
5582
|
+
},
|
|
5355
5583
|
".history__message": {
|
|
5356
5584
|
borderRadius: "panel",
|
|
5357
5585
|
margin: "15px",
|
|
@@ -5376,7 +5604,7 @@ const semanticSearch = {
|
|
|
5376
5604
|
}
|
|
5377
5605
|
},
|
|
5378
5606
|
".history": {
|
|
5379
|
-
animation: `${animations
|
|
5607
|
+
animation: `${animations.fadeInFromBottom} 0.3s`,
|
|
5380
5608
|
padding: "100px 32px 80px 32px",
|
|
5381
5609
|
border: "none",
|
|
5382
5610
|
height: "unset"
|
|
@@ -5429,7 +5657,7 @@ const semanticSearch = {
|
|
|
5429
5657
|
gap: spacing(5)
|
|
5430
5658
|
},
|
|
5431
5659
|
".list_results": {
|
|
5432
|
-
animation: `${animations
|
|
5660
|
+
animation: `${animations.fadeInFromTop} 0.3s`,
|
|
5433
5661
|
height: "100%",
|
|
5434
5662
|
width: responsive$1({ 0: "100%", 3: "75vw", 5: "50vw" }),
|
|
5435
5663
|
mx: "auto",
|
|
@@ -5453,19 +5681,22 @@ const semanticSearch = {
|
|
|
5453
5681
|
gap: spacing(6),
|
|
5454
5682
|
pt: spacing(5)
|
|
5455
5683
|
}
|
|
5684
|
+
},
|
|
5685
|
+
".autogrow_textarea": {
|
|
5686
|
+
maxHeight: "20vh",
|
|
5687
|
+
width: "100%"
|
|
5456
5688
|
}
|
|
5457
5689
|
}
|
|
5458
5690
|
};
|
|
5459
5691
|
|
|
5460
5692
|
const ai = {
|
|
5461
|
-
connectors
|
|
5462
|
-
execution
|
|
5693
|
+
connectors,
|
|
5694
|
+
execution,
|
|
5463
5695
|
semanticSearch
|
|
5464
5696
|
/* PREPEND HERE */
|
|
5465
5697
|
};
|
|
5466
|
-
var ai$1 = ai;
|
|
5467
5698
|
|
|
5468
|
-
const form = {
|
|
5699
|
+
const form$1 = {
|
|
5469
5700
|
/* PREPEND HERE */
|
|
5470
5701
|
alignItems: "center",
|
|
5471
5702
|
justifyContent: "center",
|
|
@@ -5479,6 +5710,17 @@ const form = {
|
|
|
5479
5710
|
boxShadow: "0px 2px 6px #0002",
|
|
5480
5711
|
width: "100%",
|
|
5481
5712
|
p: spacing(3),
|
|
5713
|
+
flexDirection: "column",
|
|
5714
|
+
position: "relative",
|
|
5715
|
+
".chatButtons": {
|
|
5716
|
+
display: "flex",
|
|
5717
|
+
flexDirection: "row",
|
|
5718
|
+
alignitems: "end",
|
|
5719
|
+
justifyContent: "end",
|
|
5720
|
+
position: "absolute",
|
|
5721
|
+
bottom: "4px",
|
|
5722
|
+
right: "4px"
|
|
5723
|
+
},
|
|
5482
5724
|
"&:focus-within": focusOutline,
|
|
5483
5725
|
"& > *:focus[class]": {
|
|
5484
5726
|
outlineWidth: 0
|
|
@@ -5500,14 +5742,16 @@ const form = {
|
|
|
5500
5742
|
backgroundColor: "palette.error.main"
|
|
5501
5743
|
},
|
|
5502
5744
|
".searchTextArea": {
|
|
5503
|
-
minHeight: "
|
|
5504
|
-
height: "
|
|
5745
|
+
minHeight: "16px",
|
|
5746
|
+
height: "16px",
|
|
5747
|
+
width: "100%",
|
|
5748
|
+
maxHeight: "30vh",
|
|
5505
5749
|
resize: "none",
|
|
5506
|
-
py:
|
|
5750
|
+
py: 0,
|
|
5507
5751
|
background: "transparent",
|
|
5508
5752
|
border: "none"
|
|
5509
5753
|
},
|
|
5510
|
-
".
|
|
5754
|
+
".ChatBarButton": {
|
|
5511
5755
|
borderRadius: "panel",
|
|
5512
5756
|
height: "34px",
|
|
5513
5757
|
width: "34px",
|
|
@@ -5515,6 +5759,15 @@ const form = {
|
|
|
5515
5759
|
background: "transparent",
|
|
5516
5760
|
border: "none",
|
|
5517
5761
|
color: "palette.text.primary"
|
|
5762
|
+
},
|
|
5763
|
+
".isRecording": {
|
|
5764
|
+
borderRadius: "panel",
|
|
5765
|
+
height: "34px",
|
|
5766
|
+
width: "34px",
|
|
5767
|
+
flexShrink: 0,
|
|
5768
|
+
background: "transparent",
|
|
5769
|
+
border: "none",
|
|
5770
|
+
color: "red"
|
|
5518
5771
|
}
|
|
5519
5772
|
};
|
|
5520
5773
|
|
|
@@ -5525,6 +5778,14 @@ const history = {
|
|
|
5525
5778
|
width: "100%",
|
|
5526
5779
|
gap: 2,
|
|
5527
5780
|
p: 3,
|
|
5781
|
+
".history_message__content": {
|
|
5782
|
+
display: "flex",
|
|
5783
|
+
flexDirection: "column",
|
|
5784
|
+
gap: "16px",
|
|
5785
|
+
h3: {
|
|
5786
|
+
fontSize: "20px"
|
|
5787
|
+
}
|
|
5788
|
+
},
|
|
5528
5789
|
".history_message": {
|
|
5529
5790
|
px: 4,
|
|
5530
5791
|
py: 5,
|
|
@@ -5540,10 +5801,16 @@ const history = {
|
|
|
5540
5801
|
"&.first": {
|
|
5541
5802
|
borderTopRightRadius: "0px"
|
|
5542
5803
|
},
|
|
5804
|
+
"&.first:has(+ .first))": {
|
|
5805
|
+
mb: 4
|
|
5806
|
+
},
|
|
5543
5807
|
backgroundColor: "rgb(108 166 203)",
|
|
5544
5808
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5545
5809
|
color: "white",
|
|
5546
5810
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5811
|
+
".fileCard__content": {
|
|
5812
|
+
color: "palette.text.primary"
|
|
5813
|
+
},
|
|
5547
5814
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5548
5815
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5549
5816
|
border: "1px solid rgb(113 145 193)",
|
|
@@ -5556,6 +5823,9 @@ const history = {
|
|
|
5556
5823
|
"&.first": {
|
|
5557
5824
|
borderTopLeftRadius: "0px"
|
|
5558
5825
|
},
|
|
5826
|
+
"&.first:has(+ .first))": {
|
|
5827
|
+
mb: 4
|
|
5828
|
+
},
|
|
5559
5829
|
backgroundColor: "#00bcff14",
|
|
5560
5830
|
// TODO: Set the correct color, if necessary, define it in palette
|
|
5561
5831
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
@@ -5617,12 +5887,16 @@ const controller = {
|
|
|
5617
5887
|
display: "flex",
|
|
5618
5888
|
flexDirection: "column",
|
|
5619
5889
|
alignItems: "stretch",
|
|
5620
|
-
|
|
5890
|
+
maxHeight: "50vh",
|
|
5621
5891
|
gap: 3,
|
|
5892
|
+
flexBasis: "50vh",
|
|
5622
5893
|
".autoscrollContainer": {
|
|
5623
5894
|
flexGrow: 1,
|
|
5624
5895
|
flexShrink: 1,
|
|
5625
|
-
|
|
5896
|
+
overflow: "auto"
|
|
5897
|
+
},
|
|
5898
|
+
".search_controls": {
|
|
5899
|
+
flexShrink: 0
|
|
5626
5900
|
}
|
|
5627
5901
|
};
|
|
5628
5902
|
|
|
@@ -5722,8 +5996,6 @@ const message = {
|
|
|
5722
5996
|
|
|
5723
5997
|
const assistant = {
|
|
5724
5998
|
floatingAssistant: {
|
|
5725
|
-
maxHeight: "50vh",
|
|
5726
|
-
height: "50vh",
|
|
5727
5999
|
"& div.modal__content[class]": {
|
|
5728
6000
|
p: 3,
|
|
5729
6001
|
width: "min(90vw, 500px)"
|
|
@@ -5731,9 +6003,6 @@ const assistant = {
|
|
|
5731
6003
|
".modal__main": {
|
|
5732
6004
|
maxWidth: "unset",
|
|
5733
6005
|
overflow: "hidden"
|
|
5734
|
-
},
|
|
5735
|
-
".autoscrollContainer": {
|
|
5736
|
-
height: "30vh"
|
|
5737
6006
|
}
|
|
5738
6007
|
}
|
|
5739
6008
|
};
|
|
@@ -5741,7 +6010,7 @@ const assistant = {
|
|
|
5741
6010
|
const chat = {
|
|
5742
6011
|
/* PREPEND HERE */
|
|
5743
6012
|
assistant,
|
|
5744
|
-
form,
|
|
6013
|
+
form: form$1,
|
|
5745
6014
|
history,
|
|
5746
6015
|
controller,
|
|
5747
6016
|
attachments,
|
|
@@ -5757,7 +6026,7 @@ const common = (theme) => {
|
|
|
5757
6026
|
components,
|
|
5758
6027
|
trees,
|
|
5759
6028
|
tooltips,
|
|
5760
|
-
ai
|
|
6029
|
+
ai,
|
|
5761
6030
|
chat
|
|
5762
6031
|
/* PREPEND HERE */
|
|
5763
6032
|
};
|
|
@@ -5908,11 +6177,47 @@ const charts = {
|
|
|
5908
6177
|
}
|
|
5909
6178
|
};
|
|
5910
6179
|
|
|
6180
|
+
const form = {
|
|
6181
|
+
/* PREPEND HERE */
|
|
6182
|
+
flexDirection: "column",
|
|
6183
|
+
".fieldWrapper": {
|
|
6184
|
+
display: "flex",
|
|
6185
|
+
flexDirection: "column",
|
|
6186
|
+
alignItems: "stretch",
|
|
6187
|
+
"&.checkbox": {
|
|
6188
|
+
alignItems: "start"
|
|
6189
|
+
}
|
|
6190
|
+
},
|
|
6191
|
+
".error": {
|
|
6192
|
+
borderLeftStyle: "solid",
|
|
6193
|
+
borderLeftWidth: "4px",
|
|
6194
|
+
borderLeftColor: "danger"
|
|
6195
|
+
},
|
|
6196
|
+
".touched": {
|
|
6197
|
+
borderStyle: "solid",
|
|
6198
|
+
borderWidth: "1px",
|
|
6199
|
+
borderColor: "palette.primary.main",
|
|
6200
|
+
"&.radio-label": {
|
|
6201
|
+
border: "none",
|
|
6202
|
+
"input[role]:checked~svg": {
|
|
6203
|
+
"&, path": {
|
|
6204
|
+
color: "palette.primary.main"
|
|
6205
|
+
}
|
|
6206
|
+
}
|
|
6207
|
+
}
|
|
6208
|
+
}
|
|
6209
|
+
};
|
|
6210
|
+
|
|
6211
|
+
const validations = {
|
|
6212
|
+
form
|
|
6213
|
+
};
|
|
6214
|
+
|
|
5911
6215
|
const layout = (theme) => {
|
|
5912
6216
|
return {
|
|
5913
6217
|
charts,
|
|
5914
6218
|
common: common(theme),
|
|
5915
|
-
util
|
|
6219
|
+
util,
|
|
6220
|
+
validations
|
|
5916
6221
|
/* PREPEND HERE */
|
|
5917
6222
|
};
|
|
5918
6223
|
};
|
|
@@ -6514,7 +6819,7 @@ async function getRemarkable(extensions) {
|
|
|
6514
6819
|
|
|
6515
6820
|
const parseMarkdown = async (options) => {
|
|
6516
6821
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
6517
|
-
const css = (await import('./styles-
|
|
6822
|
+
const css = (await import('./styles-BVjRzTR5.js')).markdownParserStyles ?? new ErrorImporting();
|
|
6518
6823
|
if (css instanceof ErrorImporting)
|
|
6519
6824
|
throw new Error("Could not import css, cannot continue");
|
|
6520
6825
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -6582,7 +6887,7 @@ class MarkdownHeader extends MarkdownParagraph {
|
|
|
6582
6887
|
var __defProp$2 = Object.defineProperty;
|
|
6583
6888
|
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6584
6889
|
var __publicField$2 = (obj, key, value) => {
|
|
6585
|
-
__defNormalProp$2(obj,
|
|
6890
|
+
__defNormalProp$2(obj, key + "" , value);
|
|
6586
6891
|
return value;
|
|
6587
6892
|
};
|
|
6588
6893
|
class MarkdownList extends MarkdownBlock {
|
|
@@ -6632,7 +6937,7 @@ class MarkdownList extends MarkdownBlock {
|
|
|
6632
6937
|
var __defProp$1 = Object.defineProperty;
|
|
6633
6938
|
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6634
6939
|
var __publicField$1 = (obj, key, value) => {
|
|
6635
|
-
__defNormalProp$1(obj,
|
|
6940
|
+
__defNormalProp$1(obj, key + "" , value);
|
|
6636
6941
|
return value;
|
|
6637
6942
|
};
|
|
6638
6943
|
var __accessCheck = (obj, member, msg) => {
|
|
@@ -6971,5 +7276,5 @@ class MarkdownBuilder {
|
|
|
6971
7276
|
}
|
|
6972
7277
|
}
|
|
6973
7278
|
|
|
6974
|
-
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput
|
|
6975
|
-
//# sourceMappingURL=index-
|
|
7279
|
+
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 };
|
|
7280
|
+
//# sourceMappingURL=index-Dn_wc72C.js.map
|