@apia/theme 3.0.21 → 3.0.23
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-DGezuU-i.js → index-DY2si0MO.js} +510 -79
- package/dist/index-DY2si0MO.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-CHGH27gK.js → styles-aaU5Rq9Y.js} +2 -2
- package/dist/styles-aaU5Rq9Y.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-DGezuU-i.js.map +0 -1
- package/dist/styles-CHGH27gK.js.map +0 -1
|
@@ -1800,8 +1800,15 @@ const menu = {
|
|
|
1800
1800
|
position: "relative",
|
|
1801
1801
|
padding: "0.375rem 1.5rem",
|
|
1802
1802
|
paddingLeft: "2.2rem",
|
|
1803
|
-
"
|
|
1804
|
-
padding: "0px"
|
|
1803
|
+
".withIcon": {
|
|
1804
|
+
padding: "0px",
|
|
1805
|
+
display: "flex",
|
|
1806
|
+
gap: "4px",
|
|
1807
|
+
justifyContent: "left",
|
|
1808
|
+
alignItems: "center",
|
|
1809
|
+
".icon": {
|
|
1810
|
+
flexShrink: 0
|
|
1811
|
+
}
|
|
1805
1812
|
}
|
|
1806
1813
|
},
|
|
1807
1814
|
".szh-menu__item--hover": (theme) => ({
|
|
@@ -4436,7 +4443,7 @@ const chat$1 = {
|
|
|
4436
4443
|
borderRadius: "2px",
|
|
4437
4444
|
px: 4,
|
|
4438
4445
|
py: 5,
|
|
4439
|
-
|
|
4446
|
+
maxWidth: "80%",
|
|
4440
4447
|
wordWrap: "break-word",
|
|
4441
4448
|
whiteSpace: "pre-wrap",
|
|
4442
4449
|
"&.user": {
|
|
@@ -4787,42 +4794,330 @@ const boxes = {
|
|
|
4787
4794
|
/* PREPEND HERE */
|
|
4788
4795
|
};
|
|
4789
4796
|
|
|
4790
|
-
const form = {
|
|
4797
|
+
const form$1 = {
|
|
4791
4798
|
/* PREPEND HERE */
|
|
4792
|
-
"
|
|
4799
|
+
alignItems: "center",
|
|
4800
|
+
justifyContent: "center",
|
|
4801
|
+
display: "flex",
|
|
4802
|
+
gap: 0,
|
|
4803
|
+
mx: "auto",
|
|
4804
|
+
background: "palette.background.paper",
|
|
4805
|
+
border: "1px solid",
|
|
4806
|
+
borderColor: "palette.border.section",
|
|
4807
|
+
borderRadius: "panel",
|
|
4808
|
+
boxShadow: "0px 2px 6px #0002",
|
|
4809
|
+
width: "100%",
|
|
4810
|
+
p: spacing(3),
|
|
4811
|
+
"&:focus-within": focusOutline,
|
|
4812
|
+
"& > *:focus[class]": {
|
|
4813
|
+
outlineWidth: 0
|
|
4814
|
+
},
|
|
4815
|
+
".filter_button_box": {
|
|
4816
|
+
position: "relative"
|
|
4817
|
+
},
|
|
4818
|
+
".applied_filters_label": {
|
|
4819
|
+
position: "absolute",
|
|
4820
|
+
bottom: "21px",
|
|
4821
|
+
left: "20px",
|
|
4822
|
+
minWidth: "10px",
|
|
4823
|
+
maxHeight: "10px",
|
|
4824
|
+
border: "2px solid white",
|
|
4825
|
+
borderRadius: "100%",
|
|
4826
|
+
display: "inline-flex",
|
|
4793
4827
|
alignItems: "center",
|
|
4794
4828
|
justifyContent: "center",
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4829
|
+
backgroundColor: "palette.error.main"
|
|
4830
|
+
},
|
|
4831
|
+
".searchTextArea": {
|
|
4832
|
+
minHeight: "34px",
|
|
4833
|
+
height: "34px",
|
|
4834
|
+
resize: "none",
|
|
4835
|
+
py: spacing(2),
|
|
4836
|
+
background: "transparent",
|
|
4837
|
+
border: "none"
|
|
4838
|
+
},
|
|
4839
|
+
".ChatBarButton": {
|
|
4801
4840
|
borderRadius: "panel",
|
|
4802
|
-
|
|
4803
|
-
width: "
|
|
4804
|
-
|
|
4805
|
-
"
|
|
4806
|
-
|
|
4807
|
-
|
|
4841
|
+
height: "34px",
|
|
4842
|
+
width: "34px",
|
|
4843
|
+
flexShrink: 0,
|
|
4844
|
+
background: "transparent",
|
|
4845
|
+
border: "none",
|
|
4846
|
+
color: "palette.text.primary"
|
|
4847
|
+
},
|
|
4848
|
+
".isRecording": {
|
|
4849
|
+
borderRadius: "panel",
|
|
4850
|
+
height: "34px",
|
|
4851
|
+
width: "34px",
|
|
4852
|
+
flexShrink: 0,
|
|
4853
|
+
background: "transparent",
|
|
4854
|
+
border: "none",
|
|
4855
|
+
color: "red"
|
|
4856
|
+
}
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
const history$1 = {
|
|
4860
|
+
/* PREPEND HERE */
|
|
4861
|
+
display: "flex",
|
|
4862
|
+
flexDirection: "column",
|
|
4863
|
+
width: "100%",
|
|
4864
|
+
gap: 2,
|
|
4865
|
+
p: 3,
|
|
4866
|
+
".history_message": {
|
|
4867
|
+
px: 4,
|
|
4868
|
+
py: 5,
|
|
4869
|
+
maxWidth: "calc(100% - 50px)",
|
|
4870
|
+
width: "fit-content",
|
|
4871
|
+
wordWrap: "break-word",
|
|
4872
|
+
whiteSpace: "pre-wrap",
|
|
4873
|
+
borderRadius: "chatMessage",
|
|
4874
|
+
"&.last": {
|
|
4875
|
+
mb: 4
|
|
4808
4876
|
},
|
|
4809
|
-
"
|
|
4810
|
-
|
|
4877
|
+
"&.user": {
|
|
4878
|
+
"&.first": {
|
|
4879
|
+
borderTopRightRadius: "0px"
|
|
4880
|
+
},
|
|
4881
|
+
backgroundColor: "rgb(108 166 203)",
|
|
4882
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4883
|
+
color: "white",
|
|
4884
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4885
|
+
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
4886
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4887
|
+
border: "1px solid rgb(113 145 193)",
|
|
4888
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4889
|
+
alignSelf: "end",
|
|
4890
|
+
display: "flex",
|
|
4891
|
+
flexDirection: "column"
|
|
4811
4892
|
},
|
|
4812
|
-
"
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4893
|
+
"&.system": {
|
|
4894
|
+
"&.first": {
|
|
4895
|
+
borderTopLeftRadius: "0px"
|
|
4896
|
+
},
|
|
4897
|
+
backgroundColor: "#00bcff14",
|
|
4898
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4899
|
+
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
4900
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4901
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
4902
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4903
|
+
},
|
|
4904
|
+
"&.warning": {
|
|
4905
|
+
borderRadius: "2px 20px 20px 20px",
|
|
4906
|
+
alignSelf: "start",
|
|
4907
|
+
backgroundColor: "#ffff0024",
|
|
4908
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4909
|
+
width: "100%",
|
|
4910
|
+
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
4911
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4912
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
4913
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4914
|
+
},
|
|
4915
|
+
"&.error": {
|
|
4916
|
+
borderRadius: "2px 20px 20px 20px",
|
|
4917
|
+
alignSelf: "start",
|
|
4918
|
+
backgroundColor: "#fd84212b",
|
|
4919
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4920
|
+
width: "100%",
|
|
4921
|
+
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
4922
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4923
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
4924
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4925
|
+
},
|
|
4926
|
+
"&.information": {
|
|
4927
|
+
borderRadius: "2px 20px 20px 20px",
|
|
4928
|
+
alignSelf: "start",
|
|
4929
|
+
backgroundColor: "#00bcff14",
|
|
4930
|
+
//'#2222cc2b',
|
|
4931
|
+
width: "100%",
|
|
4932
|
+
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
4933
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4934
|
+
border: "1px solid rgb(0 28 38 / 18%)"
|
|
4935
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4824
4936
|
}
|
|
4825
4937
|
},
|
|
4938
|
+
".history_message__attachments": {
|
|
4939
|
+
display: "flex",
|
|
4940
|
+
justifyContent: "flex-end",
|
|
4941
|
+
".labelBox": {
|
|
4942
|
+
width: "max-content",
|
|
4943
|
+
background: "#fafafa",
|
|
4944
|
+
color: "palette.text.primary",
|
|
4945
|
+
fontSize: "14px",
|
|
4946
|
+
".labelAndIcon ": {
|
|
4947
|
+
fontSize: "14px"
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
};
|
|
4952
|
+
|
|
4953
|
+
const controller$1 = {
|
|
4954
|
+
/* PREPEND HERE */
|
|
4955
|
+
display: "flex",
|
|
4956
|
+
flexDirection: "column",
|
|
4957
|
+
alignItems: "stretch",
|
|
4958
|
+
maxHeight: "50vh",
|
|
4959
|
+
gap: 3,
|
|
4960
|
+
flexBasis: "50vh",
|
|
4961
|
+
".autoscrollContainer": {
|
|
4962
|
+
flexGrow: 1,
|
|
4963
|
+
flexShrink: 1
|
|
4964
|
+
},
|
|
4965
|
+
".search_controls": {
|
|
4966
|
+
flexShrink: 0
|
|
4967
|
+
}
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
const attachments$1 = {
|
|
4971
|
+
/* PREPEND HERE */
|
|
4972
|
+
alignItems: "center",
|
|
4973
|
+
display: "flex",
|
|
4974
|
+
flexDirection: responsive$2({ 0: "column", 3: "row" }),
|
|
4975
|
+
flexWrap: "wrap",
|
|
4976
|
+
gap: spacing$1(3),
|
|
4977
|
+
".attachments__more_button": {
|
|
4978
|
+
border: "1px solid",
|
|
4979
|
+
borderColor: "palette.border.article",
|
|
4980
|
+
borderRadius: "elementBox",
|
|
4981
|
+
boxShadow: "sharp",
|
|
4982
|
+
p: 2
|
|
4983
|
+
},
|
|
4984
|
+
".file_box": {
|
|
4985
|
+
alignItems: "center",
|
|
4986
|
+
border: "1px solid",
|
|
4987
|
+
borderColor: "palette.border.article",
|
|
4988
|
+
borderRadius: "elementBox",
|
|
4989
|
+
boxShadow: "sharp",
|
|
4990
|
+
display: "flex",
|
|
4991
|
+
gap: spacing$1(3),
|
|
4992
|
+
width: responsive$2({
|
|
4993
|
+
0: "100%",
|
|
4994
|
+
3: "min(90vw, 200px)"
|
|
4995
|
+
}),
|
|
4996
|
+
p: 2
|
|
4997
|
+
},
|
|
4998
|
+
".file_box__icon": {
|
|
4999
|
+
flexShrink: 0
|
|
5000
|
+
},
|
|
5001
|
+
".file_box__name": {
|
|
5002
|
+
boxSizing: "border-box",
|
|
5003
|
+
flexGrow: 1,
|
|
5004
|
+
margin: "0px",
|
|
5005
|
+
overflow: "hidden",
|
|
5006
|
+
textOverflow: "ellipsis",
|
|
5007
|
+
whiteSpace: "nowrap"
|
|
5008
|
+
},
|
|
5009
|
+
".file_box__remove": {
|
|
5010
|
+
flexShrink: 0,
|
|
5011
|
+
p: 4
|
|
5012
|
+
}
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
const message$1 = {
|
|
5016
|
+
position: "relative",
|
|
5017
|
+
display: "flex",
|
|
5018
|
+
flexDirection: "column",
|
|
5019
|
+
".closeButton": {
|
|
5020
|
+
borderRadius: "5px",
|
|
5021
|
+
right: "0px",
|
|
5022
|
+
top: "-2px",
|
|
5023
|
+
zIndex: "15",
|
|
5024
|
+
position: "absolute",
|
|
5025
|
+
variant: "buttons.icon-outline-danger"
|
|
5026
|
+
},
|
|
5027
|
+
genericBox: {
|
|
5028
|
+
margin: "10px",
|
|
5029
|
+
display: "flex",
|
|
5030
|
+
flexDirection: "column",
|
|
5031
|
+
justifyContent: "space-between",
|
|
5032
|
+
alignItems: "center",
|
|
5033
|
+
padding: "12px"
|
|
5034
|
+
},
|
|
5035
|
+
fileName: {
|
|
5036
|
+
bottom: "4px",
|
|
5037
|
+
right: "4px",
|
|
5038
|
+
fontSize: "12px",
|
|
5039
|
+
color: "#333",
|
|
5040
|
+
textOverflow: "ellipsis",
|
|
5041
|
+
whiteSpace: "nowrap",
|
|
5042
|
+
overflow: "hidden",
|
|
5043
|
+
width: "inherit",
|
|
5044
|
+
textAlign: "center",
|
|
5045
|
+
px: "5px"
|
|
5046
|
+
},
|
|
5047
|
+
textBox: {
|
|
5048
|
+
variant: "layout.common.components.aiMessage.genericBox",
|
|
5049
|
+
width: "50px",
|
|
5050
|
+
padding: "10px",
|
|
5051
|
+
backgroundColor: "#fff",
|
|
5052
|
+
border: "1px solid #ddd",
|
|
5053
|
+
borderRadius: "4px",
|
|
5054
|
+
position: "relative"
|
|
5055
|
+
},
|
|
5056
|
+
textSnippet: {
|
|
5057
|
+
bottom: "4px",
|
|
5058
|
+
right: "4px",
|
|
5059
|
+
fontSize: "12px",
|
|
5060
|
+
color: "#555"
|
|
5061
|
+
}
|
|
5062
|
+
};
|
|
5063
|
+
|
|
5064
|
+
const assistant$1 = {
|
|
5065
|
+
floatingAssistant: {
|
|
5066
|
+
"& div.modal__content[class]": {
|
|
5067
|
+
p: 3,
|
|
5068
|
+
width: "min(90vw, 500px)"
|
|
5069
|
+
},
|
|
5070
|
+
".modal__main": {
|
|
5071
|
+
maxWidth: "unset",
|
|
5072
|
+
overflow: "hidden"
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
5075
|
+
};
|
|
5076
|
+
|
|
5077
|
+
const chat = {
|
|
5078
|
+
/* PREPEND HERE */
|
|
5079
|
+
assistant: assistant$1,
|
|
5080
|
+
form: form$1,
|
|
5081
|
+
history: history$1,
|
|
5082
|
+
controller: controller$1,
|
|
5083
|
+
attachments: attachments$1,
|
|
5084
|
+
message: message$1
|
|
5085
|
+
};
|
|
5086
|
+
|
|
5087
|
+
const form = {
|
|
5088
|
+
/* PREPEND HERE */
|
|
5089
|
+
alignItems: "center",
|
|
5090
|
+
justifyContent: "center",
|
|
5091
|
+
display: "flex",
|
|
5092
|
+
gap: 0,
|
|
5093
|
+
mx: "auto",
|
|
5094
|
+
background: "palette.background.paper",
|
|
5095
|
+
border: "1px solid",
|
|
5096
|
+
borderColor: "palette.border.section",
|
|
5097
|
+
borderRadius: "panel",
|
|
5098
|
+
boxShadow: "0px 2px 6px #0002",
|
|
5099
|
+
width: "100%",
|
|
5100
|
+
p: spacing(3),
|
|
5101
|
+
"&:focus-within": focusOutline,
|
|
5102
|
+
"& > *:focus[class]": {
|
|
5103
|
+
outlineWidth: 0
|
|
5104
|
+
},
|
|
5105
|
+
".filter_button_box": {
|
|
5106
|
+
position: "relative"
|
|
5107
|
+
},
|
|
5108
|
+
".applied_filters_label": {
|
|
5109
|
+
position: "absolute",
|
|
5110
|
+
bottom: "21px",
|
|
5111
|
+
left: "20px",
|
|
5112
|
+
minWidth: "10px",
|
|
5113
|
+
maxHeight: "10px",
|
|
5114
|
+
border: "2px solid white",
|
|
5115
|
+
borderRadius: "100%",
|
|
5116
|
+
display: "inline-flex",
|
|
5117
|
+
alignItems: "center",
|
|
5118
|
+
justifyContent: "center",
|
|
5119
|
+
backgroundColor: "palette.error.main"
|
|
5120
|
+
},
|
|
4826
5121
|
".searchTextArea": {
|
|
4827
5122
|
minHeight: "34px",
|
|
4828
5123
|
height: "34px",
|
|
@@ -4831,7 +5126,7 @@ const form = {
|
|
|
4831
5126
|
background: "transparent",
|
|
4832
5127
|
border: "none"
|
|
4833
5128
|
},
|
|
4834
|
-
".
|
|
5129
|
+
".ChatBarButton": {
|
|
4835
5130
|
borderRadius: "panel",
|
|
4836
5131
|
height: "34px",
|
|
4837
5132
|
width: "34px",
|
|
@@ -4839,73 +5134,84 @@ const form = {
|
|
|
4839
5134
|
background: "transparent",
|
|
4840
5135
|
border: "none",
|
|
4841
5136
|
color: "palette.text.primary"
|
|
5137
|
+
},
|
|
5138
|
+
".isRecording": {
|
|
5139
|
+
borderRadius: "panel",
|
|
5140
|
+
height: "34px",
|
|
5141
|
+
width: "34px",
|
|
5142
|
+
flexShrink: 0,
|
|
5143
|
+
background: "transparent",
|
|
5144
|
+
border: "none",
|
|
5145
|
+
color: "red"
|
|
4842
5146
|
}
|
|
4843
5147
|
};
|
|
4844
5148
|
|
|
4845
5149
|
const history = {
|
|
4846
5150
|
/* PREPEND HERE */
|
|
5151
|
+
display: "flex",
|
|
5152
|
+
flexDirection: "column",
|
|
4847
5153
|
width: "100%",
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
flexGrow: 1,
|
|
4852
|
-
".messages_box": { fontSize: "22px", minHeight: "88vh" },
|
|
4853
|
-
".history__message": {
|
|
4854
|
-
borderRadius: "2px",
|
|
5154
|
+
gap: 2,
|
|
5155
|
+
p: 3,
|
|
5156
|
+
".history_message": {
|
|
4855
5157
|
px: 4,
|
|
4856
5158
|
py: 5,
|
|
4857
|
-
|
|
5159
|
+
maxWidth: "calc(100% - 50px)",
|
|
5160
|
+
width: "fit-content",
|
|
4858
5161
|
wordWrap: "break-word",
|
|
4859
5162
|
whiteSpace: "pre-wrap",
|
|
5163
|
+
borderRadius: "chatMessage",
|
|
5164
|
+
"&.last": {
|
|
5165
|
+
mb: 4
|
|
5166
|
+
},
|
|
4860
5167
|
"&.user": {
|
|
4861
|
-
|
|
4862
|
-
|
|
5168
|
+
"&.first": {
|
|
5169
|
+
borderTopRightRadius: "0px"
|
|
5170
|
+
},
|
|
4863
5171
|
backgroundColor: "rgb(108 166 203)",
|
|
4864
|
-
//
|
|
5172
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4865
5173
|
color: "white",
|
|
5174
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4866
5175
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5176
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4867
5177
|
border: "1px solid rgb(113 145 193)",
|
|
5178
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4868
5179
|
alignSelf: "end",
|
|
4869
5180
|
display: "flex",
|
|
4870
|
-
flexDirection: "column"
|
|
4871
|
-
// gap: '16px',
|
|
4872
|
-
width: "max-content",
|
|
4873
|
-
".additionalContent_wrapper": {
|
|
4874
|
-
display: "flex",
|
|
4875
|
-
justifyContent: "flex-end",
|
|
4876
|
-
".labelBox": {
|
|
4877
|
-
width: "max-content",
|
|
4878
|
-
background: "#fafafa",
|
|
4879
|
-
color: "palette.text.primary",
|
|
4880
|
-
fontSize: "14px",
|
|
4881
|
-
".labelAndIcon ": {
|
|
4882
|
-
fontSize: "14px"
|
|
4883
|
-
}
|
|
4884
|
-
}
|
|
4885
|
-
}
|
|
5181
|
+
flexDirection: "column"
|
|
4886
5182
|
},
|
|
4887
5183
|
"&.system": {
|
|
4888
|
-
|
|
4889
|
-
|
|
5184
|
+
"&.first": {
|
|
5185
|
+
borderTopLeftRadius: "0px"
|
|
5186
|
+
},
|
|
4890
5187
|
backgroundColor: "#00bcff14",
|
|
5188
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4891
5189
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5190
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4892
5191
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
5192
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4893
5193
|
},
|
|
4894
5194
|
"&.warning": {
|
|
4895
5195
|
borderRadius: "2px 20px 20px 20px",
|
|
4896
5196
|
alignSelf: "start",
|
|
4897
5197
|
backgroundColor: "#ffff0024",
|
|
5198
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4898
5199
|
width: "100%",
|
|
4899
5200
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5201
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4900
5202
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
5203
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4901
5204
|
},
|
|
4902
5205
|
"&.error": {
|
|
4903
5206
|
borderRadius: "2px 20px 20px 20px",
|
|
4904
5207
|
alignSelf: "start",
|
|
4905
5208
|
backgroundColor: "#fd84212b",
|
|
5209
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4906
5210
|
width: "100%",
|
|
4907
5211
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5212
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4908
5213
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
5214
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4909
5215
|
},
|
|
4910
5216
|
"&.information": {
|
|
4911
5217
|
borderRadius: "2px 20px 20px 20px",
|
|
@@ -4914,34 +5220,158 @@ const history = {
|
|
|
4914
5220
|
//'#2222cc2b',
|
|
4915
5221
|
width: "100%",
|
|
4916
5222
|
boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
|
|
5223
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4917
5224
|
border: "1px solid rgb(0 28 38 / 18%)"
|
|
5225
|
+
// TODO: Set the correct color, if necessary, define it in palette
|
|
4918
5226
|
}
|
|
4919
5227
|
},
|
|
4920
|
-
".
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
5228
|
+
".history_message__attachments": {
|
|
5229
|
+
display: "flex",
|
|
5230
|
+
justifyContent: "flex-end",
|
|
5231
|
+
".labelBox": {
|
|
5232
|
+
width: "max-content",
|
|
5233
|
+
background: "#fafafa",
|
|
5234
|
+
color: "palette.text.primary",
|
|
5235
|
+
fontSize: "14px",
|
|
5236
|
+
".labelAndIcon ": {
|
|
5237
|
+
fontSize: "14px"
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5240
|
+
}
|
|
5241
|
+
};
|
|
5242
|
+
|
|
5243
|
+
const controller = {
|
|
5244
|
+
/* PREPEND HERE */
|
|
5245
|
+
display: "flex",
|
|
5246
|
+
flexDirection: "column",
|
|
5247
|
+
alignItems: "stretch",
|
|
5248
|
+
maxHeight: "50vh",
|
|
5249
|
+
gap: 3,
|
|
5250
|
+
flexBasis: "50vh",
|
|
5251
|
+
".autoscrollContainer": {
|
|
5252
|
+
flexGrow: 1,
|
|
5253
|
+
flexShrink: 1
|
|
4925
5254
|
},
|
|
4926
|
-
".
|
|
4927
|
-
|
|
5255
|
+
".search_controls": {
|
|
5256
|
+
flexShrink: 0
|
|
5257
|
+
}
|
|
5258
|
+
};
|
|
5259
|
+
|
|
5260
|
+
const attachments = {
|
|
5261
|
+
/* PREPEND HERE */
|
|
5262
|
+
alignItems: "center",
|
|
5263
|
+
display: "flex",
|
|
5264
|
+
flexDirection: responsive$2({ 0: "column", 3: "row" }),
|
|
5265
|
+
flexWrap: "wrap",
|
|
5266
|
+
gap: spacing$1(3),
|
|
5267
|
+
".attachments__more_button": {
|
|
5268
|
+
border: "1px solid",
|
|
5269
|
+
borderColor: "palette.border.article",
|
|
5270
|
+
borderRadius: "elementBox",
|
|
5271
|
+
boxShadow: "sharp",
|
|
5272
|
+
p: 2
|
|
5273
|
+
},
|
|
5274
|
+
".file_box": {
|
|
5275
|
+
alignItems: "center",
|
|
5276
|
+
border: "1px solid",
|
|
5277
|
+
borderColor: "palette.border.article",
|
|
5278
|
+
borderRadius: "elementBox",
|
|
5279
|
+
boxShadow: "sharp",
|
|
4928
5280
|
display: "flex",
|
|
4929
|
-
|
|
4930
|
-
|
|
5281
|
+
gap: spacing$1(3),
|
|
5282
|
+
width: responsive$2({
|
|
5283
|
+
0: "100%",
|
|
5284
|
+
3: "min(90vw, 200px)"
|
|
5285
|
+
}),
|
|
5286
|
+
p: 2
|
|
4931
5287
|
},
|
|
4932
|
-
".
|
|
5288
|
+
".file_box__icon": {
|
|
5289
|
+
flexShrink: 0
|
|
5290
|
+
},
|
|
5291
|
+
".file_box__name": {
|
|
5292
|
+
boxSizing: "border-box",
|
|
5293
|
+
flexGrow: 1,
|
|
5294
|
+
margin: "0px",
|
|
5295
|
+
overflow: "hidden",
|
|
5296
|
+
textOverflow: "ellipsis",
|
|
5297
|
+
whiteSpace: "nowrap"
|
|
5298
|
+
},
|
|
5299
|
+
".file_box__remove": {
|
|
5300
|
+
flexShrink: 0,
|
|
5301
|
+
p: 4
|
|
5302
|
+
}
|
|
5303
|
+
};
|
|
5304
|
+
|
|
5305
|
+
const message = {
|
|
5306
|
+
position: "relative",
|
|
5307
|
+
display: "flex",
|
|
5308
|
+
flexDirection: "column",
|
|
5309
|
+
".closeButton": {
|
|
5310
|
+
borderRadius: "5px",
|
|
5311
|
+
right: "0px",
|
|
5312
|
+
top: "-2px",
|
|
5313
|
+
zIndex: "15",
|
|
5314
|
+
position: "absolute",
|
|
5315
|
+
variant: "buttons.icon-outline-danger"
|
|
5316
|
+
},
|
|
5317
|
+
genericBox: {
|
|
5318
|
+
margin: "10px",
|
|
4933
5319
|
display: "flex",
|
|
4934
5320
|
flexDirection: "column",
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
5321
|
+
justifyContent: "space-between",
|
|
5322
|
+
alignItems: "center",
|
|
5323
|
+
padding: "12px"
|
|
5324
|
+
},
|
|
5325
|
+
fileName: {
|
|
5326
|
+
bottom: "4px",
|
|
5327
|
+
right: "4px",
|
|
5328
|
+
fontSize: "12px",
|
|
5329
|
+
color: "#333",
|
|
5330
|
+
textOverflow: "ellipsis",
|
|
5331
|
+
whiteSpace: "nowrap",
|
|
5332
|
+
overflow: "hidden",
|
|
5333
|
+
width: "inherit",
|
|
5334
|
+
textAlign: "center",
|
|
5335
|
+
px: "5px"
|
|
5336
|
+
},
|
|
5337
|
+
textBox: {
|
|
5338
|
+
variant: "layout.common.components.aiMessage.genericBox",
|
|
5339
|
+
width: "50px",
|
|
5340
|
+
padding: "10px",
|
|
5341
|
+
backgroundColor: "#fff",
|
|
5342
|
+
border: "1px solid #ddd",
|
|
5343
|
+
borderRadius: "4px",
|
|
5344
|
+
position: "relative"
|
|
5345
|
+
},
|
|
5346
|
+
textSnippet: {
|
|
5347
|
+
bottom: "4px",
|
|
5348
|
+
right: "4px",
|
|
5349
|
+
fontSize: "12px",
|
|
5350
|
+
color: "#555"
|
|
4938
5351
|
}
|
|
4939
5352
|
};
|
|
4940
5353
|
|
|
4941
|
-
const
|
|
5354
|
+
const assistant = {
|
|
5355
|
+
floatingAssistant: {
|
|
5356
|
+
"& div.modal__content[class]": {
|
|
5357
|
+
p: 3,
|
|
5358
|
+
width: "min(90vw, 500px)"
|
|
5359
|
+
},
|
|
5360
|
+
".modal__main": {
|
|
5361
|
+
maxWidth: "unset",
|
|
5362
|
+
overflow: "hidden"
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
};
|
|
5366
|
+
|
|
5367
|
+
const newChat = {
|
|
4942
5368
|
/* PREPEND HERE */
|
|
5369
|
+
assistant,
|
|
4943
5370
|
form,
|
|
4944
|
-
history
|
|
5371
|
+
history,
|
|
5372
|
+
controller,
|
|
5373
|
+
attachments,
|
|
5374
|
+
message
|
|
4945
5375
|
};
|
|
4946
5376
|
|
|
4947
5377
|
const common = (theme) => {
|
|
@@ -4953,7 +5383,8 @@ const common = (theme) => {
|
|
|
4953
5383
|
tables: tables(theme),
|
|
4954
5384
|
components,
|
|
4955
5385
|
trees,
|
|
4956
|
-
tooltips
|
|
5386
|
+
tooltips,
|
|
5387
|
+
newChat
|
|
4957
5388
|
/* PREPEND HERE */
|
|
4958
5389
|
};
|
|
4959
5390
|
};
|
|
@@ -5713,7 +6144,7 @@ async function getRemarkable(extensions) {
|
|
|
5713
6144
|
|
|
5714
6145
|
const parseMarkdown = async (options) => {
|
|
5715
6146
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
5716
|
-
const css = (await import('./styles-
|
|
6147
|
+
const css = (await import('./styles-aaU5Rq9Y.js')).markdownParserStyles ?? new ErrorImporting();
|
|
5717
6148
|
if (css instanceof ErrorImporting)
|
|
5718
6149
|
throw new Error("Could not import css, cannot continue");
|
|
5719
6150
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -6171,4 +6602,4 @@ class MarkdownBuilder {
|
|
|
6171
6602
|
}
|
|
6172
6603
|
|
|
6173
6604
|
export { ApiaThemeProvider as A, Form as F, MarkdownBlock as M, 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, MarkdownBuilder as t, useMainTheme as u, parseMarkdown as v, MarkdownList as w, MarkdownParagraph as x, MarkdownTable as y, MarkdownTableOfContents as z };
|
|
6174
|
-
//# sourceMappingURL=index-
|
|
6605
|
+
//# sourceMappingURL=index-DY2si0MO.js.map
|