@apia/theme 4.0.28 → 4.0.29

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.
@@ -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, focusOutline as focusOutline$1 } from '@apia/theme';
9
+ import { spacing as spacing$1, responsive as responsive$2, getOneColorState as getOneColorState$1, focusOutline as focusOutline$1, getColorsAndStatesByPath as getColorsAndStatesByPath$1 } from '@apia/theme';
10
10
  import { keyframes } from '@emotion/react';
11
11
 
12
12
  function defaultLighten(color, ratio) {
@@ -6656,11 +6656,997 @@ const validations = {
6656
6656
  form
6657
6657
  };
6658
6658
 
6659
+ const oneColumnAside = {
6660
+ display: "flex",
6661
+ flexDirection: "column",
6662
+ gap: spacing$1(5),
6663
+ position: "sticky",
6664
+ top: 0,
6665
+ maxWidth: "applicationMenu",
6666
+ overflow: "auto",
6667
+ height: "min-content",
6668
+ ".actionButton": {
6669
+ px: 2
6670
+ },
6671
+ ".asidePanel": {
6672
+ border: "none",
6673
+ padding: 0,
6674
+ m: spacing$1(0),
6675
+ display: "flex",
6676
+ flexDirection: "column",
6677
+ "&.responsive": {
6678
+ display: responsive$2({ 0: "flex", 3: "none" })
6679
+ },
6680
+ ".asidePanel__content": {
6681
+ display: "grid",
6682
+ gridTemplateColumns: responsive$2({ 0: "1fr", 2: "1fr" }),
6683
+ gap: spacing$1(3),
6684
+ "& > .twoColumns": {
6685
+ gridColumn: responsive$2({ 0: "1", 2: "1" }),
6686
+ gap: spacing$1(3)
6687
+ }
6688
+ },
6689
+ legend: {
6690
+ pt: spacing$1(2),
6691
+ width: "100%",
6692
+ fontWeight: "bold",
6693
+ fontSize: "1.2em",
6694
+ mb: spacing$1(5),
6695
+ borderBottom: "1px solid",
6696
+ borderBottomColor: "palette.border.section"
6697
+ },
6698
+ ".additionalFilter": {
6699
+ gap: spacing$1(3),
6700
+ "& > div": {
6701
+ width: "100%"
6702
+ }
6703
+ },
6704
+ "& label": {
6705
+ alignItems: "stretch",
6706
+ display: "flex",
6707
+ flexDirection: "column",
6708
+ "input,select": {
6709
+ width: "100%"
6710
+ }
6711
+ }
6712
+ },
6713
+ hamburguerButton: {
6714
+ zIndex: "menu"
6715
+ },
6716
+ hamburguerMenu: {
6717
+ background: "palette.background.paper",
6718
+ p: spacing$1(7),
6719
+ border: "1px solid",
6720
+ borderColor: "palette.border.article",
6721
+ zIndex: "menu",
6722
+ ".ApplicationMenu": {
6723
+ width: "applicationMenu"
6724
+ }
6725
+ },
6726
+ floatingResponsive: {
6727
+ position: "fixed",
6728
+ top: 0,
6729
+ transition: "top 0.3s",
6730
+ width: "100%",
6731
+ "&.hidden": {
6732
+ top: "-100%"
6733
+ },
6734
+ ".floatingMenu__content": {
6735
+ "& > div": {
6736
+ width: "100%",
6737
+ px: 7,
6738
+ overflow: "auto",
6739
+ display: "flex",
6740
+ justifyContent: "center"
6741
+ },
6742
+ ".ApplicationMenu": {
6743
+ maxWidth: "applicationMenu",
6744
+ width: "100%",
6745
+ px: 0,
6746
+ mx: "auto",
6747
+ maxHeight: "80vh",
6748
+ overflow: "auto"
6749
+ }
6750
+ }
6751
+ },
6752
+ bodyAside: {
6753
+ background: "palette.background.paper",
6754
+ p: spacing$1(7),
6755
+ mx: "auto",
6756
+ "& > .ApplicationMenu": {
6757
+ mx: "auto",
6758
+ maxWidth: "applicationMenu",
6759
+ width: "100%"
6760
+ }
6761
+ }
6762
+ };
6763
+
6764
+ const breakMenu = 3;
6765
+ const imageTitleAndDescription = {
6766
+ display: "flex",
6767
+ alignItems: "center",
6768
+ gap: spacing$1(5),
6769
+ width: responsive$2({ 0: "100%", 3: "auto" }),
6770
+ "div.image": {
6771
+ display: responsive$2({ 0: "none", 3: "block" }),
6772
+ flexBasis: "60px",
6773
+ flexShrink: 0,
6774
+ width: "60px",
6775
+ height: "60px",
6776
+ img: {
6777
+ width: "60px",
6778
+ height: "60px"
6779
+ }
6780
+ },
6781
+ h1: {
6782
+ my: 0
6783
+ },
6784
+ "div.titleAndDescription": {
6785
+ display: responsive$2({ 0: "block", 3: "flex" }),
6786
+ flexWrap: "wrap",
6787
+ alignItems: responsive$2({ 0: "center", 3: "end" }),
6788
+ flexDirection: responsive$2({ 0: "column", [breakMenu]: "row" }),
6789
+ width: responsive$2({ 0: "100%", 3: "auto" }),
6790
+ "h1, h2": {
6791
+ display: responsive$2({ 0: "block", [breakMenu]: "inline-block" }),
6792
+ width: "auto",
6793
+ m: spacing$1(0)
6794
+ },
6795
+ "&:not(.entityTitle)": {
6796
+ h1: {
6797
+ "::after": {
6798
+ content: responsive$2({ 0: "none", [breakMenu]: '">"' }),
6799
+ mr: responsive$2({ 0: 0, [breakMenu]: 5 })
6800
+ }
6801
+ }
6802
+ },
6803
+ h2: {},
6804
+ p: {
6805
+ m: spacing$1(2),
6806
+ width: "100%"
6807
+ }
6808
+ }
6809
+ };
6810
+ ({
6811
+ justifyContent: responsive$2({
6812
+ 0: "center",
6813
+ [breakMenu]: "start",
6814
+ [breakMenu + 1]: "space-between"
6815
+ }),
6816
+ gap: responsive$2({ 0: 0, 2: 5 }),
6817
+ flexDirection: responsive$2({ 0: "column-reverse", 2: "row" }),
6818
+ top: responsive$2({ 0: 0, 4: "auto" }),
6819
+ background: responsive$2({ 0: "background", 4: "transparent" }),
6820
+ textAlign: responsive$2({ 0: "center", [breakMenu]: "left" }),
6821
+ ".iconsBar": {
6822
+ position: responsive$2({ 0: "fixed", 4: "initial" }),
6823
+ right: responsive$2({ 0: "8px", 4: "auto" }),
6824
+ top: responsive$2({ 0: "36px", 2: "26px", 4: "auto" }),
6825
+ "button, a": {
6826
+ padding: responsive$2({ 0: 2, 4: "none" }),
6827
+ ...getColorsAndStatesByPath$1("buttons.primary", {
6828
+ states: {
6829
+ default: false
6830
+ }
6831
+ }),
6832
+ "&.toggleMenu": {
6833
+ display: responsive$2({ 0: "flex", 4: "none" })
6834
+ },
6835
+ svg: {
6836
+ width: responsive$2({ 0: "20px", 5: "25px", 6: "27px" }),
6837
+ height: responsive$2({ 0: "20px", 5: "25px", 6: "27px" })}
6838
+ }}});
6839
+ ({
6840
+ height: responsive$2({ 0: "auto", 2: "100vh" }),
6841
+ bottom: responsive$2({ 0: 0, 2: "auto" }),
6842
+ top: responsive$2({ 0: 0, 2: "auto" }),
6843
+ ".container": {
6844
+ maxWidth: responsive$2({ 0: "100%", 3: "min(1550px, 100vw)" })},
6845
+ ".notificationsView": {
6846
+ width: responsive$2({ 0: "100%", 3: "calc(100% - 61px)", 4: "100%" })},
6847
+ "& .twoColumnsContent": {
6848
+ gap: spacing$1(3),
6849
+ gridTemplateColumns: responsive$2({
6850
+ 0: "1fr",
6851
+ 4: "1fr 350px",
6852
+ 5: "1fr 375px",
6853
+ 6: "1fr 400px"
6854
+ }),
6855
+ main: {
6856
+ paddingLeft: responsive$2({ 0: 0, 1: 3 }),
6857
+ paddingRight: responsive$2({ 0: 0, 1: 3, 4: 0 }),
6858
+ display: responsive$2({ 0: "flex", 3: "block" }),
6859
+ gap: spacing$1(4)
6860
+ }
6861
+ },
6862
+ "& > .spacer": {
6863
+ height: responsive$2({ 0: "0px", 4: "2em" })
6864
+ },
6865
+ ".showResponsive": {
6866
+ display: responsive$2({ 0: "block", 3: "none" })
6867
+ }
6868
+ });
6869
+
6870
+ const portalForm = {
6871
+ "&.extended .container": {
6872
+ maxWidth: "unset"
6873
+ },
6874
+ ".container": {
6875
+ minWidth: "320px",
6876
+ maxWidth: "root",
6877
+ width: "100%",
6878
+ p: spacing$1(7),
6879
+ pt: spacing$1(6),
6880
+ display: "flex",
6881
+ flexDirection: "column",
6882
+ gap: spacing$1(6),
6883
+ mx: "auto",
6884
+ ".formsTab": {
6885
+ display: "flex",
6886
+ flexDirection: "column",
6887
+ gap: spacing$1(3)
6888
+ },
6889
+ "& > header": {
6890
+ display: "flex",
6891
+ justifyContent: "space-between",
6892
+ alignItems: "center",
6893
+ gap: responsive$2({ 0: 0, 2: 5 }),
6894
+ flexDirection: responsive$2({ 0: "column-reverse", 2: "row" }),
6895
+ width: "100%",
6896
+ background: responsive$2({ 0: "background", 4: "transparent" }),
6897
+ zIndex: responsive$2({ 0: "10", 4: "auto" }),
6898
+ "div.imageTitleAndDescription": imageTitleAndDescription,
6899
+ ".iconsBar": {
6900
+ display: "flex",
6901
+ width: responsive$2({ 0: "100%", 2: "max-content" }),
6902
+ justifyContent: "end",
6903
+ flexShrink: 0,
6904
+ flexDirection: "row",
6905
+ "button, a": {
6906
+ flexBasis: "30px",
6907
+ flexShrink: 0,
6908
+ bg: "transparent",
6909
+ color: "secondary",
6910
+ padding: 0,
6911
+ height: "auto",
6912
+ textAlign: "center",
6913
+ display: "flex",
6914
+ alignItems: "center",
6915
+ justifyContent: "center",
6916
+ "&.toggleMenu": {
6917
+ display: responsive$2({ 0: "flex", 4: "none" })
6918
+ },
6919
+ svg: {
6920
+ width: responsive$2({ 0: "22px", 5: "25px", 6: "27px" }),
6921
+ height: responsive$2({ 0: "22px", 5: "25px", 6: "27px" }),
6922
+ m: "auto"
6923
+ },
6924
+ "&:hover": {
6925
+ color: "primary",
6926
+ svg: {
6927
+ color: "primary"
6928
+ }
6929
+ }
6930
+ },
6931
+ ".favorite": {
6932
+ svg: {
6933
+ color: "favorite",
6934
+ path: { fill: "favorite" }
6935
+ }
6936
+ }
6937
+ }
6938
+ }
6939
+ },
6940
+ display: "flex",
6941
+ flexDirection: "column",
6942
+ gap: spacing$1(7),
6943
+ ".buttonBar": {
6944
+ display: "flex",
6945
+ justifyContent: "center",
6946
+ flexDirection: responsive$2({ 0: "column", 2: "row" }),
6947
+ gap: spacing$1(3)
6948
+ }
6949
+ };
6950
+
6951
+ const BodyAside = {
6952
+ display: responsive$2({ 0: "block", 3: "none" }),
6953
+ ".content": {
6954
+ background: "palette.background.paper",
6955
+ ".ApplicationMenu": {
6956
+ mx: "auto",
6957
+ overflow: "hidden",
6958
+ py: responsive$2({ 0: 4, 2: 7 }),
6959
+ px: responsive$2({ 0: 4, 2: 0 })
6960
+ }
6961
+ }
6962
+ };
6963
+
6964
+ const breakHeadings = 3;
6965
+ const topBox = {
6966
+ display: "flex",
6967
+ flexDirection: "column",
6968
+ gap: spacing$1(3),
6969
+ ".topBox__upperAside": {
6970
+ ".notificationsView": {
6971
+ display: "flex",
6972
+ gap: spacing$1(3),
6973
+ flexDirection: "column",
6974
+ ".notification": {
6975
+ m: spacing$1(0),
6976
+ "&:first-of-type": {
6977
+ mt: spacing$1(3)
6978
+ }
6979
+ }
6980
+ }
6981
+ },
6982
+ ".topBox__heading": {
6983
+ flexGrow: 1,
6984
+ display: "flex",
6985
+ gap: spacing$1(3),
6986
+ flexDirection: "row",
6987
+ alignItems: "center",
6988
+ ".topBox__imageHeader": {
6989
+ flexShrink: 0,
6990
+ display: "flex",
6991
+ alignItems: "center",
6992
+ justifyContent: "center",
6993
+ img: {
6994
+ display: responsive$2({ 0: "none", 3: "inline-block" }),
6995
+ width: "70px",
6996
+ height: "70px"
6997
+ }
6998
+ },
6999
+ ".topBox__header": {
7000
+ flexGrow: 1,
7001
+ display: "flex",
7002
+ justifyContent: "center",
7003
+ flexDirection: "column",
7004
+ ".topBox__headings": {
7005
+ display: "flex",
7006
+ alignItems: responsive$2({ 0: "start", 3: "end" }),
7007
+ flexWrap: "wrap",
7008
+ gap: spacing$1(3),
7009
+ flexDirection: responsive$2({ 0: "column", [breakHeadings]: "row" }),
7010
+ justifyContent: responsive$2({
7011
+ 0: "start",
7012
+ [breakHeadings]: "initial"
7013
+ }),
7014
+ "& > *": {
7015
+ m: spacing$1(0)
7016
+ },
7017
+ h2: {
7018
+ "&:before": {
7019
+ content: '"-"',
7020
+ display: responsive$2({
7021
+ 0: "none",
7022
+ [breakHeadings]: "inline-block"
7023
+ })
7024
+ }
7025
+ }
7026
+ },
7027
+ p: {
7028
+ textAlign: responsive$2({ 0: "center", [breakHeadings]: "left" }),
7029
+ display: responsive$2({ 0: "none", 3: "block" })
7030
+ }
7031
+ },
7032
+ ".topBox__nav": {
7033
+ flexShrink: 0,
7034
+ alignItems: "center",
7035
+ justifyContent: "center",
7036
+ display: "flex",
7037
+ ".HamburguerIconWrapper": {
7038
+ display: responsive$2({ 0: "none", 3: "flex", 4: "none" }),
7039
+ width: "41px"
7040
+ },
7041
+ "button, a": {
7042
+ height: "40px",
7043
+ width: "40px",
7044
+ px: 0,
7045
+ display: "flex",
7046
+ alignItems: "center",
7047
+ justifyContent: "center",
7048
+ background: "none",
7049
+ color: "palette.secondary.main",
7050
+ border: "none",
7051
+ svg: {
7052
+ width: "25px",
7053
+ height: "25px",
7054
+ path: { fill: "palette.secondary.main" }
7055
+ },
7056
+ "&.favorite": {
7057
+ color: "favorite",
7058
+ path: { fill: "favorite" }
7059
+ }
7060
+ }
7061
+ }
7062
+ }
7063
+ };
7064
+
7065
+ const twoColumns = {
7066
+ display: "flex",
7067
+ flexDirection: "column",
7068
+ maxWidth: "twoColumns",
7069
+ mx: "auto",
7070
+ gap: spacing$1(3),
7071
+ px: 3,
7072
+ ".twoColumns__topBox": topBox,
7073
+ ".twoColumns__section": {
7074
+ display: "flex",
7075
+ gap: spacing$1(3),
7076
+ alignItems: "start",
7077
+ ".twoColumns__main": {
7078
+ flexGrow: 1,
7079
+ display: "flex",
7080
+ flexDirection: "column",
7081
+ gap: spacing$1(3),
7082
+ pb: "60px",
7083
+ "#BodyAside": BodyAside
7084
+ },
7085
+ ".twoColumns__aside": {
7086
+ position: "sticky",
7087
+ top: 3,
7088
+ width: "applicationMenu",
7089
+ flexShrink: 0,
7090
+ flexGrow: 0,
7091
+ display: responsive$2({ 0: "none", 4: "block" })
7092
+ }
7093
+ }
7094
+ };
7095
+
7096
+ const footerResponsiveButtons = {
7097
+ position: "fixed",
7098
+ bottom: 0,
7099
+ left: 0,
7100
+ right: 0,
7101
+ p: spacing$1(3),
7102
+ display: "flex",
7103
+ justifyContent: "center",
7104
+ alignItems: "center",
7105
+ gap: spacing$1(3),
7106
+ background: "palette.background.paper",
7107
+ borderTop: "1px solid",
7108
+ borderTopColor: "palette.border.field",
7109
+ zIndex: "menu",
7110
+ transition: "bottom 0.3s",
7111
+ "&.hidden": {
7112
+ bottom: "-100px"
7113
+ }
7114
+ };
7115
+
7116
+ const twoColumnsAside = {
7117
+ display: "flex",
7118
+ flexDirection: "column",
7119
+ gap: spacing$1(5),
7120
+ position: "sticky",
7121
+ top: 0,
7122
+ maxWidth: responsive$2({ 0: "450px", 3: "applicationMenu" }),
7123
+ overflow: "auto",
7124
+ height: "min-content",
7125
+ maxHeight: responsive$2({ 0: "unset", 3: "calc(100vh - 100px)" }),
7126
+ pr: responsive$2({ 0: 0, 4: 2 }),
7127
+ ".field__withError": {
7128
+ borderLeftColor: "pallete.error.main",
7129
+ borderLeftWidth: "4px"
7130
+ },
7131
+ ".tabsList": {
7132
+ flexShrink: 0
7133
+ },
7134
+ "& fieldset": {
7135
+ flexShrink: 0
7136
+ },
7137
+ ".asidePanel": {
7138
+ border: "none",
7139
+ padding: 0,
7140
+ m: spacing$1(0),
7141
+ display: "flex",
7142
+ flexDirection: "column",
7143
+ ".fieldErrorMessage": {
7144
+ backgroundColor: "palette.warning.light",
7145
+ mb: "0",
7146
+ p: "2",
7147
+ color: "palette.text.primary",
7148
+ borderWidth: "1px",
7149
+ borderStyle: "solid",
7150
+ borderColor: "palette.warning.main",
7151
+ borderLeftWidth: "8px",
7152
+ paddingLeft: spacing$1(3)
7153
+ },
7154
+ "&.responsive": {
7155
+ display: responsive$2({ 0: "flex", 3: "none" })
7156
+ },
7157
+ ".asidePanel__content, .filtersRender": {
7158
+ display: "grid",
7159
+ gridTemplateColumns: responsive$2({ 0: "1fr", 2: "1fr 1fr" }),
7160
+ gap: spacing$1(3),
7161
+ "& > .twoColumns": {
7162
+ gridColumn: responsive$2({ 0: "1", 2: "1/3" }),
7163
+ gap: spacing$1(3)
7164
+ },
7165
+ "&.filtersRender": {
7166
+ gridColumn: responsive$2({ 0: "1", 2: "1/3" })
7167
+ }
7168
+ },
7169
+ ".tripleContainer": {
7170
+ display: "flex",
7171
+ flexDirection: "row",
7172
+ width: "100%",
7173
+ alignItems: "center"
7174
+ },
7175
+ legend: {
7176
+ pt: spacing$1(2),
7177
+ width: "100%",
7178
+ fontWeight: "bold",
7179
+ fontSize: "1.2em",
7180
+ mb: spacing$1(5),
7181
+ borderBottom: "1px solid",
7182
+ borderBottomColor: "palette.border.section"
7183
+ },
7184
+ ".additionalFilter": {
7185
+ gap: spacing$1(3),
7186
+ "& > div": {
7187
+ width: "100%"
7188
+ }
7189
+ },
7190
+ "& label": {
7191
+ alignItems: "stretch",
7192
+ display: "flex",
7193
+ flexDirection: "column",
7194
+ "input,select": {
7195
+ width: "100%"
7196
+ }
7197
+ }
7198
+ },
7199
+ hamburguerButton: {
7200
+ zIndex: "menu"
7201
+ },
7202
+ ".dateHour__container": {
7203
+ width: "70%",
7204
+ mr: "3px"
7205
+ },
7206
+ ".hourInput__container": {
7207
+ width: "32%"
7208
+ },
7209
+ ".hourInput": {
7210
+ height: "50px",
7211
+ ml: "3px",
7212
+ display: "block",
7213
+ marginBottom: "0.625em",
7214
+ outlineOffset: "3px",
7215
+ padding: "0.45em 0.45em 0.45em 0.65em",
7216
+ width: "95% !important"
7217
+ },
7218
+ hamburguerMenu: {
7219
+ background: "palette.background.paper",
7220
+ p: spacing$1(7),
7221
+ border: "1px solid",
7222
+ borderColor: "palette.border.article",
7223
+ zIndex: "menu",
7224
+ ".requiredFilter__Border": {
7225
+ borderLeftStyle: "solid",
7226
+ borderLeftWidth: "4px",
7227
+ borderLeftColor: "palette.error.main"
7228
+ },
7229
+ ".field__withError": {
7230
+ borderLeftStyle: "solid",
7231
+ borderLeftWidth: "4px",
7232
+ borderLeftColor: "danger"
7233
+ },
7234
+ ".ApplicationMenu": {
7235
+ width: "applicationMenu"
7236
+ }
7237
+ },
7238
+ floatingResponsive: {
7239
+ position: "fixed",
7240
+ top: 0,
7241
+ transition: "top 0.3s",
7242
+ width: "100%",
7243
+ zIndex: "menu",
7244
+ "&.hidden": {
7245
+ top: "-100%"
7246
+ },
7247
+ ".floatingMenu__content": {
7248
+ "& > div": {
7249
+ width: "100%",
7250
+ px: 7,
7251
+ overflow: "auto",
7252
+ display: "flex",
7253
+ justifyContent: "center"
7254
+ },
7255
+ ".ApplicationMenu": {
7256
+ maxWidth: "applicationMenu",
7257
+ width: "100%",
7258
+ px: 0,
7259
+ mx: "auto",
7260
+ maxHeight: "95vh",
7261
+ overflow: "auto"
7262
+ }
7263
+ }
7264
+ },
7265
+ bodyAside: {
7266
+ background: "palette.background.paper",
7267
+ p: spacing$1(7),
7268
+ mx: "auto",
7269
+ "& > .ApplicationMenu": {
7270
+ mx: "auto",
7271
+ maxWidth: "applicationMenu",
7272
+ width: "100%"
7273
+ }
7274
+ }
7275
+ };
7276
+
7277
+ const twoColumnsCentered = {
7278
+ display: "flex",
7279
+ flexDirection: "column",
7280
+ gap: 4,
7281
+ px: 4,
7282
+ ".containerBox": {
7283
+ display: "flex",
7284
+ "& > .leftSpacer": {
7285
+ display: responsive$2({ 0: "none", 5: "block" }),
7286
+ width: "min(100vw, calc(100vw - 992px - 350px))",
7287
+ maxWidth: "calc(( 100vw - 992px - 24px) / 2)"
7288
+ },
7289
+ "& > .centerBox": {
7290
+ display: "flex",
7291
+ flexDirection: "column",
7292
+ gap: spacing$1(4),
7293
+ maxWidth: "root",
7294
+ px: responsive$2({ 0: 0, 4: 4 }),
7295
+ width: "100%"
7296
+ },
7297
+ "& > .rightSpacer": {
7298
+ display: responsive$2({ 0: "none", 4: "flex" }),
7299
+ flex: "1 0 100%",
7300
+ flexDirection: "column",
7301
+ maxWidth: "max(350px, calc(( 100vw - 992px - 24px) / 2))"
7302
+ },
7303
+ ".mainSpacer": {
7304
+ width: "350px"
7305
+ }
7306
+ },
7307
+ "#TopBox": {
7308
+ header: {
7309
+ alignItems: "center",
7310
+ display: "flex",
7311
+ gap: 4,
7312
+ flexWrap: "wrap",
7313
+ img: {
7314
+ width: "mainImage",
7315
+ height: "mainImage",
7316
+ flexShrink: 0,
7317
+ display: responsive$2({ 0: "none", 2: "block" })
7318
+ },
7319
+ section: {
7320
+ display: "flex",
7321
+ flexDirection: "column",
7322
+ hgroup: {
7323
+ alignItems: responsive$2({ 0: "start", 3: "end" }),
7324
+ display: "flex",
7325
+ gap: responsive$2({ 0: 0, 3: 4 }),
7326
+ flexDirection: responsive$2({ 0: "column", 3: "row" })
7327
+ }
7328
+ },
7329
+ ".underHeaderAside": {
7330
+ flexBasis: "100%"
7331
+ }
7332
+ },
7333
+ nav: {
7334
+ alignItem: "center",
7335
+ display: "flex",
7336
+ justifyContent: "end",
7337
+ width: responsive$2({ 0: "auto", 5: "350px" }),
7338
+ gap: 1
7339
+ },
7340
+ ".rightSpacer": {
7341
+ justifyContent: "center",
7342
+ flex: responsive$2({ 0: "none", 5: "thisValueWasUnsetValue" })
7343
+ },
7344
+ ".HamburguerIconWrapper": {
7345
+ alignItems: "center",
7346
+ display: responsive$2({ 0: "none", 3: "flex", 4: "none" }),
7347
+ gap: 1,
7348
+ justifyContent: "end",
7349
+ paddingRight: "32px",
7350
+ width: "auto"
7351
+ },
7352
+ ".TitleContainer": {
7353
+ maxWidth: responsive$2({ 0: "100vw", 5: "root" })
7354
+ }
7355
+ },
7356
+ "#MiddleBox": {
7357
+ aside: {
7358
+ width: "350px"
7359
+ }
7360
+ },
7361
+ "#ResponsiveButtons": {
7362
+ justifyContent: "end",
7363
+ gap: 1,
7364
+ display: responsive$2({ 0: "flex", 3: "none" })
7365
+ },
7366
+ "#BodyAside": BodyAside
7367
+ };
7368
+
7369
+ const twoColumnsList = {
7370
+ display: "flex",
7371
+ flexDirection: "column",
7372
+ maxWidth: "calc(100vw - 10px)",
7373
+ mx: "auto",
7374
+ gap: spacing$1(3),
7375
+ px: 3,
7376
+ overflow: "hidden",
7377
+ height: "100vh",
7378
+ ".requiredFilter__Border": {
7379
+ borderLeftStyle: "solid !important",
7380
+ borderLeftWidth: "4px !important",
7381
+ borderLeftColor: "palette.error.main"
7382
+ },
7383
+ ".twoColumnsList__topBox": topBox,
7384
+ "&.maximized": {
7385
+ ".twoColumnsList__section": {
7386
+ ".twoColumnsList__aside": {
7387
+ display: "none"
7388
+ }
7389
+ },
7390
+ ".twoColumnsList__topBox": {
7391
+ ".topBox__heading": {
7392
+ ".topBox__nav": {
7393
+ display: "flex",
7394
+ ".HamburguerIconWrapper": {
7395
+ display: responsive$2({ 0: "none", 3: "flex" })
7396
+ }
7397
+ }
7398
+ }
7399
+ }
7400
+ },
7401
+ ".twoColumnsList__section": {
7402
+ display: "flex",
7403
+ gap: spacing$1(3),
7404
+ alignItems: "stretch",
7405
+ flexGrow: 1,
7406
+ overflow: "hidden",
7407
+ ".twoColumnsList__main": {
7408
+ flexGrow: 1,
7409
+ display: "flex",
7410
+ flexDirection: "column",
7411
+ gap: spacing$1(3),
7412
+ height: "100%",
7413
+ overflow: "hidden",
7414
+ maxHeight: "100%",
7415
+ padding: "4px",
7416
+ pt: 0,
7417
+ ".twoColumnsList__content ": {
7418
+ flexGrow: 1,
7419
+ flexShrink: 100,
7420
+ overflow: "auto",
7421
+ maxHeight: "100%",
7422
+ background: "palette.background.paper",
7423
+ boxShadow: "rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px",
7424
+ borderRadius: "default",
7425
+ ":has(.container)": {
7426
+ borderRadius: "8px",
7427
+ border: "1px solid",
7428
+ borderColor: "palette.gray.750",
7429
+ overflow: "hidden",
7430
+ boxShadow: "none"
7431
+ },
7432
+ ".selection__keyHandler": {
7433
+ height: "100%",
7434
+ ".responsiveTable__wrapper": {
7435
+ height: "100%"
7436
+ }
7437
+ }
7438
+ },
7439
+ ".twoColumnsList__contentFooter": {
7440
+ flexShrink: 0,
7441
+ flexGrow: 0
7442
+ },
7443
+ "#AccordionAside": {
7444
+ display: responsive$2({ 0: "block", 3: "none" }),
7445
+ overflow: "hidden",
7446
+ ".asidePanel__content": {
7447
+ paddingTop: spacing$1(3)
7448
+ },
7449
+ ".content": {
7450
+ background: "palette.background.paper",
7451
+ overflow: " auto",
7452
+ ".ApplicationMenu": {
7453
+ mx: "auto"
7454
+ // py: responsive({ 0: 4, 2: 7 }),
7455
+ // px: responsive({ 0: 4, 2: 0 }),
7456
+ }
7457
+ },
7458
+ ".twoColumns__main__bodyAside.accordionElement": {
7459
+ display: "flex",
7460
+ flexDirection: "column",
7461
+ maxHeight: "100%"
7462
+ }
7463
+ }
7464
+ },
7465
+ ".twoColumnsList__aside": {
7466
+ width: "applicationMenu",
7467
+ flexShrink: 0,
7468
+ flexGrow: 0,
7469
+ overflow: "auto",
7470
+ maxHeight: "100%",
7471
+ pr: spacing$1(2),
7472
+ display: responsive$2({ 0: "none", 4: "flex" }),
7473
+ flexDirection: "column",
7474
+ alignItems: "stretch",
7475
+ justifyContent: "stretch",
7476
+ "& > div": {
7477
+ height: "100%",
7478
+ ".ApplicationMenu": {
7479
+ height: "100%"
7480
+ }
7481
+ }
7482
+ }
7483
+ }
7484
+ };
7485
+
7486
+ const twoColumnsListOneColumnAside = {
7487
+ display: "flex",
7488
+ flexDirection: "column",
7489
+ maxWidth: "calc(100vw)",
7490
+ mx: "auto",
7491
+ gap: spacing$1(3),
7492
+ px: 3,
7493
+ overflow: "hidden",
7494
+ height: "100vh",
7495
+ ".twoColumnsList__topBox": topBox,
7496
+ "&.maximized": {
7497
+ ".twoColumnsList__section": {
7498
+ ".twoColumnsList__aside": {
7499
+ display: "none"
7500
+ }
7501
+ },
7502
+ ".twoColumnsList__topBox": {
7503
+ ".topBox__heading": {
7504
+ ".topBox__nav": {
7505
+ display: "flex",
7506
+ ".HamburguerIconWrapper": {
7507
+ display: responsive$2({ 0: "none", 3: "flex" })
7508
+ }
7509
+ }
7510
+ }
7511
+ }
7512
+ },
7513
+ ".twoColumnsList__section": {
7514
+ display: "flex",
7515
+ gap: spacing$1(3),
7516
+ alignItems: "stretch",
7517
+ flexGrow: 1,
7518
+ overflow: "hidden",
7519
+ ".twoColumnsList__main": {
7520
+ flexGrow: 1,
7521
+ display: "flex",
7522
+ flexDirection: "column",
7523
+ gap: spacing$1(3),
7524
+ height: "100%",
7525
+ overflow: "hidden",
7526
+ maxHeight: "100%",
7527
+ ".twoColumnsList__content ": {
7528
+ flexGrow: 1,
7529
+ overflow: "auto",
7530
+ maxHeight: "100%",
7531
+ background: "palette.background.paper",
7532
+ ".selection__keyHandler": {
7533
+ height: "100%",
7534
+ ".responsiveTable__wrapper": {
7535
+ height: "100%"
7536
+ }
7537
+ }
7538
+ },
7539
+ ".twoColumnsList__contentFooter": {
7540
+ flexShrink: 0,
7541
+ flexGrow: 0,
7542
+ position: "relative"
7543
+ },
7544
+ "#AccordionAside": {
7545
+ display: responsive$2({ 0: "block", 3: "none" }),
7546
+ ".asidePanel__content": {
7547
+ paddingTop: spacing$1(3)
7548
+ },
7549
+ ".content": {
7550
+ background: "palette.background.paper",
7551
+ overflow: " auto",
7552
+ maxHeight: "90vh",
7553
+ ".ApplicationMenu": {
7554
+ mx: "auto",
7555
+ py: responsive$2({ 0: 4, 2: 7 }),
7556
+ px: responsive$2({ 0: 4, 2: 0 })
7557
+ }
7558
+ }
7559
+ }
7560
+ },
7561
+ ".twoColumnsList__aside": {
7562
+ width: "150px",
7563
+ flexShrink: 0,
7564
+ flexGrow: 0,
7565
+ overflow: "auto",
7566
+ maxHeight: "100%",
7567
+ display: responsive$2({ 0: "none", 4: "flex" }),
7568
+ flexDirection: "column",
7569
+ alignItems: "stretch",
7570
+ justifyContent: "stretch",
7571
+ "& > div": {
7572
+ height: "100%",
7573
+ ".ApplicationMenu": {
7574
+ height: "100%",
7575
+ pb: "3px"
7576
+ }
7577
+ }
7578
+ }
7579
+ },
7580
+ "#FloatingOptions": {
7581
+ display: "none"
7582
+ }
7583
+ };
7584
+
7585
+ const withToolbar = {
7586
+ display: "flex",
7587
+ maxHeight: "100vh",
7588
+ flexDirection: "column",
7589
+ maxWidth: "oneColumn",
7590
+ mx: "auto",
7591
+ overflow: "hidden",
7592
+ p: 3,
7593
+ pt: 0,
7594
+ ".withToolbar__topBox": { ...topBox, py: 3 },
7595
+ ".withToolbar__topBox .topBox__heading .topBox__header .topBox__headings": {
7596
+ alignItems: "start",
7597
+ flexDirection: "column",
7598
+ gap: 0
7599
+ },
7600
+ ".topBox__imageHeader img": {
7601
+ borderRadius: "500px",
7602
+ overFlow: "hidden"
7603
+ },
7604
+ ".withToolbar__section": {
7605
+ display: "flex",
7606
+ flexDirection: "column",
7607
+ maxHeight: "100%",
7608
+ overflow: "hidden",
7609
+ ".withToolbar__toolbar": {
7610
+ border: "1px solid",
7611
+ borderBottom: "none",
7612
+ borderColor: "palette.border.section",
7613
+ boxShadow: "toolbar",
7614
+ position: "relative",
7615
+ zIndex: "menu"
7616
+ },
7617
+ ".withToolbar__main": {
7618
+ background: "palette.background.paper",
7619
+ border: "1px solid",
7620
+ borderColor: "palette.border.section",
7621
+ flexGrow: 1,
7622
+ display: "flex",
7623
+ flexDirection: "column",
7624
+ gap: spacing$1(3),
7625
+ overflow: "auto",
7626
+ p: spacing$1(5)
7627
+ }
7628
+ }
7629
+ };
7630
+
7631
+ const templates = {
7632
+ footerResponsiveButtons,
7633
+ oneColumnAside,
7634
+ portalForm,
7635
+ twoColumns,
7636
+ twoColumnsCentered,
7637
+ twoColumnsList,
7638
+ twoColumnsAside,
7639
+ twoColumnsListOneColumnAside,
7640
+ withToolbar
7641
+ /* PREPEND HERE */
7642
+ };
7643
+
6659
7644
  const layout = (theme) => {
6660
7645
  return {
6661
7646
  charts,
6662
7647
  common: common(theme),
6663
7648
  util,
7649
+ ...templates,
6664
7650
  validations
6665
7651
  /* PREPEND HERE */
6666
7652
  };
@@ -7263,7 +8249,7 @@ async function getRemarkable(extensions) {
7263
8249
 
7264
8250
  const parseMarkdown = async (options) => {
7265
8251
  const markdownLibrary = await getRemarkable(options.extensions);
7266
- const css = (await import('./styles-CXTekHxN.js')).markdownParserStyles ?? new ErrorImporting();
8252
+ const css = (await import('./styles-DrJhu_P1.js')).markdownParserStyles ?? new ErrorImporting();
7267
8253
  if (css instanceof ErrorImporting)
7268
8254
  throw new Error("Could not import css, cannot continue");
7269
8255
  const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
@@ -7721,4 +8707,4 @@ class MarkdownBuilder {
7721
8707
  }
7722
8708
 
7723
8709
  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 };
7724
- //# sourceMappingURL=index-BAf35hV5.js.map
8710
+ //# sourceMappingURL=index-BvID00ug.js.map