@apia/theme 4.0.25 → 4.0.27
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-CQyNuNTG.js → index-BAf35hV5.js} +375 -65
- package/dist/index-BAf35hV5.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-kOzs6n6L.js → styles-CXTekHxN.js} +2 -2
- package/dist/styles-CXTekHxN.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 +3 -3
- package/dist/index-CQyNuNTG.js.map +0 -1
- package/dist/styles-kOzs6n6L.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-B-K0BIiw.js","sources":["../src/markdown/html.ts"],"sourcesContent":["import { IMarkdownHtml } from './types';\n\nexport const markdownHtml: IMarkdownHtml = (\n title: string,\n css: string,\n body: string,\n) => `<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>${title}</title>\n <style>\n${css}\n </style>\n</head>\n<body>\n <main id=\"Container\">${body}</main>\n</body>\n</html>`;\n"],"names":[],"mappings":"AAEO,MAAM,YAAA,GAA8B,CACzC,KAAA,EACA,GAAA,EACA,IAAA,KACG,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,EAKM,KAAK,CAAA;AAAA;AAAA,EAEd,GAAG;AAAA;AAAA;AAAA;AAAA,uBAAA,EAIoB,IAAI,CAAA;AAAA;AAAA,OAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"html-B-K0BIiw.js","sources":["../src/markdown/html.ts"],"sourcesContent":["import { IMarkdownHtml } from './types';\r\n\r\nexport const markdownHtml: IMarkdownHtml = (\r\n title: string,\r\n css: string,\r\n body: string,\r\n) => `<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n <meta charset=\"UTF-8\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n <title>${title}</title>\r\n <style>\r\n${css}\r\n </style>\r\n</head>\r\n<body>\r\n <main id=\"Container\">${body}</main>\r\n</body>\r\n</html>`;\r\n"],"names":[],"mappings":"AAEO,MAAM,YAAA,GAA8B,CACzC,KAAA,EACA,GAAA,EACA,IAAA,KACG,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAA,EAKM,KAAK,CAAA;AAAA;AAAA,EAEd,GAAG;AAAA;AAAA;AAAA;AAAA,uBAAA,EAIoB,IAAI,CAAA;AAAA;AAAA,OAAA;;;;"}
|
|
@@ -6,7 +6,7 @@ import { Box, ThemeUIProvider, useThemeUI, ThemeProvider } from 'theme-ui';
|
|
|
6
6
|
import { forwardRef, useState, useRef, useMemo, Suspense } from 'react';
|
|
7
7
|
import '@theme-ui/match-media';
|
|
8
8
|
import { useMount, setValueByPath, EventEmitter } from '@apia/util';
|
|
9
|
-
import { spacing as spacing$1, responsive as responsive$2, getOneColorState as getOneColorState$1 } from '@apia/theme';
|
|
9
|
+
import { spacing as spacing$1, responsive as responsive$2, getOneColorState as getOneColorState$1, focusOutline as focusOutline$1 } from '@apia/theme';
|
|
10
10
|
import { keyframes } from '@emotion/react';
|
|
11
11
|
|
|
12
12
|
function defaultLighten(color, ratio) {
|
|
@@ -1045,7 +1045,14 @@ function getThemeColorsObject(theme) {
|
|
|
1045
1045
|
tab: {
|
|
1046
1046
|
backgroundColor: theme.palette.background.paper,
|
|
1047
1047
|
color: theme.palette.text.primary,
|
|
1048
|
-
borderColor: theme.palette.border.article
|
|
1048
|
+
borderColor: theme.palette.border.article,
|
|
1049
|
+
active: {
|
|
1050
|
+
color: theme.palette.primary.main,
|
|
1051
|
+
backgroundColor: theme.palette.lightenColor(
|
|
1052
|
+
theme.palette.secondary.main,
|
|
1053
|
+
10
|
|
1054
|
+
)
|
|
1055
|
+
}
|
|
1049
1056
|
},
|
|
1050
1057
|
toggleIcon: {
|
|
1051
1058
|
color: theme.palette.secondary.contrastText,
|
|
@@ -1162,21 +1169,27 @@ function getThemeColorsObject(theme) {
|
|
|
1162
1169
|
schemas,
|
|
1163
1170
|
scrollbars: {
|
|
1164
1171
|
bar: {
|
|
1165
|
-
color: theme.palette.
|
|
1166
|
-
|
|
1172
|
+
color: theme.palette.darkenColor(
|
|
1173
|
+
theme.palette.background.default,
|
|
1174
|
+
50
|
|
1175
|
+
),
|
|
1176
|
+
backgroundColor: theme.palette.darkenColor(
|
|
1177
|
+
theme.palette.background.default,
|
|
1178
|
+
10
|
|
1179
|
+
),
|
|
1167
1180
|
hover: {
|
|
1168
|
-
backgroundColor: theme.palette.
|
|
1181
|
+
backgroundColor: theme.palette.darkenColor(
|
|
1169
1182
|
theme.palette.background.default,
|
|
1170
1183
|
10
|
|
1171
1184
|
),
|
|
1172
|
-
color: theme.palette.
|
|
1185
|
+
color: theme.palette.darkenColor(theme.palette.border.article, 40)
|
|
1173
1186
|
},
|
|
1174
1187
|
active: {
|
|
1175
|
-
backgroundColor: theme.palette.
|
|
1188
|
+
backgroundColor: theme.palette.darkenColor(
|
|
1176
1189
|
theme.palette.background.default,
|
|
1177
1190
|
10
|
|
1178
1191
|
),
|
|
1179
|
-
color: theme.palette.
|
|
1192
|
+
color: theme.palette.darkenColor(theme.palette.border.article, 40)
|
|
1180
1193
|
}
|
|
1181
1194
|
}
|
|
1182
1195
|
},
|
|
@@ -1560,6 +1573,7 @@ const buttons = {
|
|
|
1560
1573
|
cursor: "pointer",
|
|
1561
1574
|
textTransform: "none",
|
|
1562
1575
|
transition: "background-color 300ms ease-out, color 300ms ease-out",
|
|
1576
|
+
boxShadow: "none",
|
|
1563
1577
|
...getColorsAndStatesByPath("buttons.link")
|
|
1564
1578
|
},
|
|
1565
1579
|
"link-sm": {
|
|
@@ -2323,59 +2337,62 @@ const dateInput = {
|
|
|
2323
2337
|
};
|
|
2324
2338
|
|
|
2325
2339
|
const iconInput = {
|
|
2326
|
-
|
|
2327
|
-
justifyContent: "stretch",
|
|
2328
|
-
alignItems: "center",
|
|
2329
|
-
border: "1px solid",
|
|
2330
|
-
borderColor: "palette.border.field",
|
|
2331
|
-
borderRadius: "default",
|
|
2332
|
-
"&.readOnly, &.readonly": {
|
|
2333
|
-
".iconButton": {
|
|
2334
|
-
borderLeft: "1px solid",
|
|
2335
|
-
borderLeftColor: "palette.border.section"
|
|
2336
|
-
}
|
|
2337
|
-
},
|
|
2338
|
-
":focus-within": {
|
|
2339
|
-
outlineColor: "outlineColor",
|
|
2340
|
-
outlineWidth: "3px",
|
|
2341
|
-
outlineOffset: "-3px",
|
|
2342
|
-
outlineStyle: "solid",
|
|
2343
|
-
borderColor: "transparent"
|
|
2344
|
-
},
|
|
2345
|
-
".iconButton": {
|
|
2340
|
+
"&.iconInput[class]": {
|
|
2346
2341
|
display: "flex",
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2342
|
+
justifyContent: "stretch",
|
|
2343
|
+
alignItems: "center",
|
|
2344
|
+
border: "1px solid",
|
|
2345
|
+
borderColor: "palette.border.field",
|
|
2346
|
+
borderRadius: "default",
|
|
2347
|
+
gap: "0px",
|
|
2348
|
+
"&.readOnly, &.readonly": {
|
|
2349
|
+
".iconButton": {
|
|
2350
|
+
borderLeft: "1px solid",
|
|
2351
|
+
borderLeftColor: "palette.border.section"
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
":focus-within": {
|
|
2355
|
+
outlineColor: "outlineColor",
|
|
2356
|
+
outlineWidth: "3px",
|
|
2357
|
+
outlineOffset: "-3px",
|
|
2358
|
+
outlineStyle: "solid",
|
|
2359
|
+
borderColor: "transparent"
|
|
2360
|
+
},
|
|
2364
2361
|
".iconButton": {
|
|
2365
|
-
|
|
2366
|
-
|
|
2362
|
+
display: "flex",
|
|
2363
|
+
width: "50px",
|
|
2364
|
+
flexShrink: 0,
|
|
2365
|
+
height: "50px",
|
|
2367
2366
|
border: "none",
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2367
|
+
boxShadow: "none",
|
|
2368
|
+
...getColorsAndStatesByPath("buttons.outline"),
|
|
2369
|
+
background: "palette.background.paper",
|
|
2370
|
+
"&:focus": {
|
|
2371
|
+
outline: "none",
|
|
2372
|
+
background: (theme) => getOneColorState(
|
|
2373
|
+
theme.palette.background.paper,
|
|
2374
|
+
"hover",
|
|
2375
|
+
theme.palette
|
|
2376
|
+
)
|
|
2377
|
+
}
|
|
2378
|
+
},
|
|
2379
|
+
"&.disabled, &.disabled:hover": {
|
|
2380
|
+
".iconButton": {
|
|
2381
|
+
backgroundColor: "form.fields.disabled.backgroundColor",
|
|
2382
|
+
color: "palette.text.primary",
|
|
2383
|
+
border: "none",
|
|
2384
|
+
cursor: "not-allowed",
|
|
2385
|
+
borderLeft: "1px solid",
|
|
2386
|
+
borderLeftColor: "palette.border.field"
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
input: {
|
|
2390
|
+
height: "50px",
|
|
2391
|
+
width: "100%",
|
|
2392
|
+
border: "none",
|
|
2393
|
+
"&:focus": {
|
|
2394
|
+
outline: "none"
|
|
2395
|
+
}
|
|
2379
2396
|
}
|
|
2380
2397
|
}
|
|
2381
2398
|
};
|
|
@@ -3001,10 +3018,30 @@ const apiaFinder = {
|
|
|
3001
3018
|
}
|
|
3002
3019
|
};
|
|
3003
3020
|
|
|
3021
|
+
const deadSession = {
|
|
3022
|
+
/* PREPEND HERE */
|
|
3023
|
+
display: "flex",
|
|
3024
|
+
flexDirection: "column",
|
|
3025
|
+
gap: 3,
|
|
3026
|
+
".textAndIcon": {
|
|
3027
|
+
display: "flex",
|
|
3028
|
+
gap: 5,
|
|
3029
|
+
svg: {
|
|
3030
|
+
filter: "saturate(2.2)",
|
|
3031
|
+
color: "iconWarning"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
".goHomeLink": {
|
|
3035
|
+
color: "palette.text.link",
|
|
3036
|
+
p: "3px"
|
|
3037
|
+
}
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3004
3040
|
const modals = {
|
|
3005
3041
|
apiaApi,
|
|
3006
3042
|
buttonsBar,
|
|
3007
3043
|
confirm,
|
|
3044
|
+
deadSession,
|
|
3008
3045
|
...overlay,
|
|
3009
3046
|
table,
|
|
3010
3047
|
tableModal,
|
|
@@ -3321,8 +3358,8 @@ const primary$4 = (theme) => {
|
|
|
3321
3358
|
"tr.filtersRow, tr.responsiveTable__filters__row": {
|
|
3322
3359
|
backgroundColor: "components.primaryTable.body.backgroundColor",
|
|
3323
3360
|
boxShadow: "tableFilters",
|
|
3324
|
-
"
|
|
3325
|
-
background: "
|
|
3361
|
+
"td.noFilter[class]": {
|
|
3362
|
+
background: "form.fields.disabled.backgroundColor"
|
|
3326
3363
|
},
|
|
3327
3364
|
"td.requiredFilter__Border": {
|
|
3328
3365
|
borderLeftStyle: "solid !important",
|
|
@@ -3711,6 +3748,7 @@ const clean = (theme) => {
|
|
|
3711
3748
|
borderBottom: "1px solid #ccc",
|
|
3712
3749
|
textAlign: "left",
|
|
3713
3750
|
fontWeight: "bold",
|
|
3751
|
+
boxShadow: "none",
|
|
3714
3752
|
'&[role="presentation"]': {
|
|
3715
3753
|
display: "none"
|
|
3716
3754
|
},
|
|
@@ -3770,8 +3808,8 @@ const clean = (theme) => {
|
|
|
3770
3808
|
},
|
|
3771
3809
|
"tr.filtersRow, tr.responsiveTable__filters__row": {
|
|
3772
3810
|
backgroundColor: "components.cleanTable.body.backgroundColor",
|
|
3773
|
-
"
|
|
3774
|
-
background: "
|
|
3811
|
+
"td.noFilter[class]": {
|
|
3812
|
+
background: "form.fields.disabled.backgroundColor"
|
|
3775
3813
|
},
|
|
3776
3814
|
"td.requiredFilter__Border": {
|
|
3777
3815
|
borderLeftStyle: "solid !important",
|
|
@@ -4453,7 +4491,8 @@ const accordion = {
|
|
|
4453
4491
|
"&, .accordion__item": {
|
|
4454
4492
|
display: "flex",
|
|
4455
4493
|
flexDirection: "column",
|
|
4456
|
-
alignItems: "stretch"
|
|
4494
|
+
alignItems: "stretch",
|
|
4495
|
+
flexShrink: 0
|
|
4457
4496
|
},
|
|
4458
4497
|
".accordion__item__button__rightGroup": {
|
|
4459
4498
|
flexShrink: 0
|
|
@@ -4770,6 +4809,7 @@ const autocomplete = {
|
|
|
4770
4809
|
position: "absolute",
|
|
4771
4810
|
right: "20px",
|
|
4772
4811
|
top: "calc(50% - 12px)",
|
|
4812
|
+
pointerEvents: "none",
|
|
4773
4813
|
".autocomplete__loadingSpinner": {
|
|
4774
4814
|
width: "24px",
|
|
4775
4815
|
height: "24px"
|
|
@@ -5021,6 +5061,275 @@ const fileCard = {
|
|
|
5021
5061
|
}
|
|
5022
5062
|
};
|
|
5023
5063
|
|
|
5064
|
+
const scheduler = {
|
|
5065
|
+
variant: "layout.execution.form.fields.field",
|
|
5066
|
+
details: {
|
|
5067
|
+
".no__appoinments": {
|
|
5068
|
+
border: "1px solid",
|
|
5069
|
+
borderColor: "palette.border.field",
|
|
5070
|
+
padding: "10px"
|
|
5071
|
+
},
|
|
5072
|
+
".appoinments__details": {
|
|
5073
|
+
width: "100%",
|
|
5074
|
+
textAlign: "left",
|
|
5075
|
+
border: "1px solid",
|
|
5076
|
+
borderColor: "palette.border.field",
|
|
5077
|
+
borderRadius: "default"
|
|
5078
|
+
},
|
|
5079
|
+
".appoinments__details_attribute": {
|
|
5080
|
+
minWidth: "200px"
|
|
5081
|
+
},
|
|
5082
|
+
th: {
|
|
5083
|
+
padding: 3
|
|
5084
|
+
},
|
|
5085
|
+
td: {
|
|
5086
|
+
borderTop: "1px solid",
|
|
5087
|
+
borderTopColor: "palette.border.field",
|
|
5088
|
+
padding: 3
|
|
5089
|
+
}
|
|
5090
|
+
},
|
|
5091
|
+
"&.scheduler": {
|
|
5092
|
+
display: "flex",
|
|
5093
|
+
justifyContent: "center",
|
|
5094
|
+
flexDirection: "column",
|
|
5095
|
+
width: "100%",
|
|
5096
|
+
position: "relative",
|
|
5097
|
+
textAlign: "center",
|
|
5098
|
+
".selectedDateInfo": {
|
|
5099
|
+
margin: "5px",
|
|
5100
|
+
minHeight: "25px",
|
|
5101
|
+
display: "flex",
|
|
5102
|
+
justifyContent: "center"
|
|
5103
|
+
},
|
|
5104
|
+
".delete_date_button": {
|
|
5105
|
+
display: "none"
|
|
5106
|
+
},
|
|
5107
|
+
table: {
|
|
5108
|
+
variant: "layout.common.tables.primary",
|
|
5109
|
+
width: "100%",
|
|
5110
|
+
overflow: "hidden",
|
|
5111
|
+
border: " 1px solid",
|
|
5112
|
+
borderColor: "palette.border.field",
|
|
5113
|
+
borderCollapse: "collapse",
|
|
5114
|
+
thead: {
|
|
5115
|
+
"tr:not(.filtersRow)": {
|
|
5116
|
+
"th:first-of-type": {
|
|
5117
|
+
width: "80px"
|
|
5118
|
+
},
|
|
5119
|
+
th: {
|
|
5120
|
+
width: "auto",
|
|
5121
|
+
border: "none",
|
|
5122
|
+
borderColor: "palette.primary.main",
|
|
5123
|
+
textAlign: "center",
|
|
5124
|
+
px: 1,
|
|
5125
|
+
".headButton__container": {
|
|
5126
|
+
display: "flex",
|
|
5127
|
+
justifyContent: "center"
|
|
5128
|
+
},
|
|
5129
|
+
".headButton__label": {
|
|
5130
|
+
overflow: "hidden",
|
|
5131
|
+
textOverflow: "ellipsis",
|
|
5132
|
+
whiteSpace: "nowrap",
|
|
5133
|
+
px: 0
|
|
5134
|
+
},
|
|
5135
|
+
"& .headButton": {
|
|
5136
|
+
backgroundColor: "palette.primary.main",
|
|
5137
|
+
border: "none",
|
|
5138
|
+
px: 1,
|
|
5139
|
+
// py: 3,
|
|
5140
|
+
borderColor: "palette.primary.main"
|
|
5141
|
+
}
|
|
5142
|
+
}
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
tbody: {
|
|
5146
|
+
tr: {
|
|
5147
|
+
"td:first-of-type": {
|
|
5148
|
+
display: "flex",
|
|
5149
|
+
alignItems: "center",
|
|
5150
|
+
justifyContent: "center"
|
|
5151
|
+
}
|
|
5152
|
+
},
|
|
5153
|
+
td: {
|
|
5154
|
+
p: 0,
|
|
5155
|
+
height: "40px",
|
|
5156
|
+
textAlign: "center",
|
|
5157
|
+
alignContent: "center",
|
|
5158
|
+
border: " 1px solid",
|
|
5159
|
+
borderColor: "palette.primary.main",
|
|
5160
|
+
"&.disabled": {
|
|
5161
|
+
background: (theme) => getOneColorState$1(
|
|
5162
|
+
"palette.background.paper",
|
|
5163
|
+
"disabled",
|
|
5164
|
+
theme.palette
|
|
5165
|
+
)
|
|
5166
|
+
},
|
|
5167
|
+
"&:focus-within": focusOutline$1
|
|
5168
|
+
}
|
|
5169
|
+
}
|
|
5170
|
+
},
|
|
5171
|
+
".box_spinner": (theme) => ({
|
|
5172
|
+
position: "relative",
|
|
5173
|
+
alignItems: "center",
|
|
5174
|
+
justifyContent: "center",
|
|
5175
|
+
alignSelf: "center",
|
|
5176
|
+
width: "100%",
|
|
5177
|
+
height: "65%",
|
|
5178
|
+
marginTop: "20px",
|
|
5179
|
+
display: "flex",
|
|
5180
|
+
background: tinycolor(theme.palette.background.paper).setAlpha(0.4).toRgbString()
|
|
5181
|
+
}),
|
|
5182
|
+
".scheduler__navigator": {
|
|
5183
|
+
gap: spacing$1(4),
|
|
5184
|
+
display: "flex",
|
|
5185
|
+
justifyContent: "center",
|
|
5186
|
+
flexWrap: "wrap",
|
|
5187
|
+
".scheduler__navigator_dateInput input": {
|
|
5188
|
+
textAlign: "center",
|
|
5189
|
+
width: "380px",
|
|
5190
|
+
borderTopRightRadius: 0,
|
|
5191
|
+
borderBottomRightRadius: 0
|
|
5192
|
+
},
|
|
5193
|
+
".scheduler__navigator_dateInput": {
|
|
5194
|
+
width: responsive$2({ 0: "100%", 3: "auto", 4: "100%", 5: "auto" }),
|
|
5195
|
+
order: responsive$2({ 0: 1, 3: 3, 4: 1, 5: 3 })
|
|
5196
|
+
},
|
|
5197
|
+
".scheduler__navigator_todayBtn": {
|
|
5198
|
+
order: responsive$2({ 0: 2, 3: 1, 4: 2, 5: 1 })
|
|
5199
|
+
},
|
|
5200
|
+
".scheduler__navigator_lastBtn": {
|
|
5201
|
+
order: responsive$2({ 0: 3, 3: 2, 4: 3, 5: 2 })
|
|
5202
|
+
},
|
|
5203
|
+
".scheduler__navigator_nextBtn": {
|
|
5204
|
+
order: responsive$2({ 0: 4, 3: 4, 4: 4, 5: 4 })
|
|
5205
|
+
},
|
|
5206
|
+
".scheduler__navigator_DeleteBtn": {
|
|
5207
|
+
order: responsive$2({ 0: 5, 3: 5, 4: 5, 5: 5 })
|
|
5208
|
+
},
|
|
5209
|
+
".iconInput": {
|
|
5210
|
+
margin: responsive$2({ 0: "auto", 3: "0", 4: "auto", 5: "0" }),
|
|
5211
|
+
width: responsive$2({
|
|
5212
|
+
0: "max-content",
|
|
5213
|
+
1: "auto",
|
|
5214
|
+
2: "max-content",
|
|
5215
|
+
3: "auto",
|
|
5216
|
+
4: "max-content",
|
|
5217
|
+
5: "auto"
|
|
5218
|
+
}),
|
|
5219
|
+
gap: 0,
|
|
5220
|
+
".iconButton": {
|
|
5221
|
+
border: "none",
|
|
5222
|
+
background: "palette.background.paper"
|
|
5223
|
+
}
|
|
5224
|
+
},
|
|
5225
|
+
".iconButton": {
|
|
5226
|
+
borderTopLeftRadius: 0,
|
|
5227
|
+
borderBottomLeftRadius: 0
|
|
5228
|
+
}
|
|
5229
|
+
},
|
|
5230
|
+
".scheduler__tskSchDisabled": {
|
|
5231
|
+
backgroundColor: "#b2c0cf",
|
|
5232
|
+
cursor: "not-allowed"
|
|
5233
|
+
},
|
|
5234
|
+
".schedulerMini": {
|
|
5235
|
+
flex: 1,
|
|
5236
|
+
display: responsive$2({ 0: "block", 3: "flex" }),
|
|
5237
|
+
alignItems: responsive$2({ 0: "center", 3: "start" }),
|
|
5238
|
+
justifyContent: "center",
|
|
5239
|
+
flexDirection: responsive$2({ 0: "column", 3: "row" }),
|
|
5240
|
+
maxHeight: responsive$2({ 0: "100vh", 3: "60vh" }),
|
|
5241
|
+
gap: spacing$1(7),
|
|
5242
|
+
".schedulerMini_faCaretDown": {
|
|
5243
|
+
flex: 1,
|
|
5244
|
+
alignSelf: "center",
|
|
5245
|
+
justifyContent: "center",
|
|
5246
|
+
display: responsive$2({ 0: "block", 3: "none" })
|
|
5247
|
+
}
|
|
5248
|
+
},
|
|
5249
|
+
".stage": {
|
|
5250
|
+
display: "flex",
|
|
5251
|
+
flexDirection: "column",
|
|
5252
|
+
maxHeight: responsive$2({ 0: "auto", 3: "60vh" }),
|
|
5253
|
+
width: responsive$2({ 0: "100%", 3: "60%" }),
|
|
5254
|
+
zIndex: 1,
|
|
5255
|
+
transition: "width 1s"
|
|
5256
|
+
},
|
|
5257
|
+
'[data-name="daysList"]': {
|
|
5258
|
+
transition: "transform 0.5s, opacity 0.8s",
|
|
5259
|
+
transform: responsive$2({ 0: "translateY(-10%)", 3: "translateY(-40%)" }),
|
|
5260
|
+
opacity: 0,
|
|
5261
|
+
width: 0
|
|
5262
|
+
},
|
|
5263
|
+
'[data-name="morningOrAfternoon"]': {
|
|
5264
|
+
transition: "transform 0.5s, opacity 0.8s",
|
|
5265
|
+
transform: responsive$2({ 0: "translateY(-10%)", 3: "translateY(-40%)" }),
|
|
5266
|
+
opacity: 0,
|
|
5267
|
+
width: 0
|
|
5268
|
+
},
|
|
5269
|
+
'[data-name="daysHours"]': {
|
|
5270
|
+
transition: "transform 0.5s, opacity 0.8s",
|
|
5271
|
+
transform: responsive$2({ 0: "translateY(-10%)", 3: "translateY(-40%)" }),
|
|
5272
|
+
opacity: 0,
|
|
5273
|
+
width: 0
|
|
5274
|
+
},
|
|
5275
|
+
".stage.in.visible": {
|
|
5276
|
+
opacity: 1,
|
|
5277
|
+
transform: responsive$2({ 0: "translateY(0)", 3: "translateY(0)" }),
|
|
5278
|
+
width: responsive$2({ 0: "100%", 3: "60%" })
|
|
5279
|
+
},
|
|
5280
|
+
'[data-name="daysList"] .stage.in.visible': {
|
|
5281
|
+
opacity: 1,
|
|
5282
|
+
transform: responsive$2({ 0: "translateY(0)", 3: "translateY(0)" }),
|
|
5283
|
+
width: responsive$2({ 0: "100%", 3: "60%" })
|
|
5284
|
+
},
|
|
5285
|
+
".stage:nth-of-type(3)": {
|
|
5286
|
+
maxHeight: responsive$2({ 0: "auto", 3: "60vh" }),
|
|
5287
|
+
overflow: responsive$2({ 0: "none", 3: "auto" })
|
|
5288
|
+
},
|
|
5289
|
+
".stage_btn": {
|
|
5290
|
+
margin: "2px",
|
|
5291
|
+
"&.selected": {
|
|
5292
|
+
position: "sticky",
|
|
5293
|
+
top: 0,
|
|
5294
|
+
variant: "buttons.primary",
|
|
5295
|
+
bottom: 0,
|
|
5296
|
+
zIndex: 1
|
|
5297
|
+
},
|
|
5298
|
+
"&:disabled:hover": {
|
|
5299
|
+
backgroundColor: "palette.gray.800",
|
|
5300
|
+
color: "palette.common.black"
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
".stage_btn:disabled": {
|
|
5304
|
+
display: responsive$2({ 0: "none", 3: "block" })
|
|
5305
|
+
},
|
|
5306
|
+
".td_overassign": {
|
|
5307
|
+
backgroundColor: "palette.warning.main"
|
|
5308
|
+
}
|
|
5309
|
+
},
|
|
5310
|
+
".schd__info_disabledColor": {
|
|
5311
|
+
background: (theme) => getOneColorState$1("palette.background.paper", "disabled", theme.palette),
|
|
5312
|
+
"&:hover, &:focus, &:active": {
|
|
5313
|
+
background: (theme) => getOneColorState$1("palette.background.paper", "disabled", theme.palette)
|
|
5314
|
+
}
|
|
5315
|
+
},
|
|
5316
|
+
".scheduler_cell": {
|
|
5317
|
+
height: "100%",
|
|
5318
|
+
display: "flex",
|
|
5319
|
+
flexDirection: "row",
|
|
5320
|
+
alignItems: "center",
|
|
5321
|
+
justifyContent: "center",
|
|
5322
|
+
button: {
|
|
5323
|
+
width: "100%",
|
|
5324
|
+
height: "100%"
|
|
5325
|
+
},
|
|
5326
|
+
"*:focus": {
|
|
5327
|
+
outline: "none"
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
/* PREPEND HERE */
|
|
5331
|
+
};
|
|
5332
|
+
|
|
5024
5333
|
const components = {
|
|
5025
5334
|
/* PREPEND HERE */
|
|
5026
5335
|
accordion,
|
|
@@ -5028,6 +5337,7 @@ const components = {
|
|
|
5028
5337
|
datePicker,
|
|
5029
5338
|
pagination,
|
|
5030
5339
|
chat: chat$1,
|
|
5340
|
+
scheduler,
|
|
5031
5341
|
toolbar,
|
|
5032
5342
|
aiMessage,
|
|
5033
5343
|
infoButton,
|
|
@@ -6953,7 +7263,7 @@ async function getRemarkable(extensions) {
|
|
|
6953
7263
|
|
|
6954
7264
|
const parseMarkdown = async (options) => {
|
|
6955
7265
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
6956
|
-
const css = (await import('./styles-
|
|
7266
|
+
const css = (await import('./styles-CXTekHxN.js')).markdownParserStyles ?? new ErrorImporting();
|
|
6957
7267
|
if (css instanceof ErrorImporting)
|
|
6958
7268
|
throw new Error("Could not import css, cannot continue");
|
|
6959
7269
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -7411,4 +7721,4 @@ class MarkdownBuilder {
|
|
|
7411
7721
|
}
|
|
7412
7722
|
|
|
7413
7723
|
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 };
|
|
7414
|
-
//# sourceMappingURL=index-
|
|
7724
|
+
//# sourceMappingURL=index-BAf35hV5.js.map
|