@antscorp/antsomi-ui 1.3.6-beta.4 → 1.3.6-beta.40
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/es/components/atoms/Input/Input.d.ts +11 -17
- package/es/components/atoms/Input/Input.js +7 -11
- package/es/components/atoms/SelectAssociatedTag/constants.d.ts +1 -1
- package/es/components/atoms/SelectAssociatedTag/constants.js +4 -4
- package/es/components/atoms/Switch/Switch.js +2 -1
- package/es/components/icons/LazyIcon/LazyIcon.d.ts +3 -0
- package/es/components/icons/LazyIcon/LazyIcon.js +3 -0
- package/es/components/icons/TaskAltIcon.d.ts +3 -0
- package/es/components/icons/TaskAltIcon.js +7 -0
- package/es/components/icons/UnsubscribeIcon.d.ts +3 -0
- package/es/components/icons/UnsubscribeIcon.js +7 -0
- package/es/components/icons/UnsubscribersIcon.d.ts +3 -0
- package/es/components/icons/UnsubscribersIcon.js +7 -0
- package/es/components/icons/index.d.ts +3 -0
- package/es/components/icons/index.js +3 -0
- package/es/components/molecules/CodeStructure/CodeStructure.d.ts +23 -2
- package/es/components/molecules/CodeStructure/CodeStructure.js +136 -26
- package/es/components/molecules/CodeStructure/constants.js +2 -2
- package/es/components/molecules/CodeStructure/styled.d.ts +3 -0
- package/es/components/molecules/CodeStructure/styled.js +6 -0
- package/es/components/molecules/CodeStructure/type.d.ts +2 -2
- package/es/components/molecules/CodeStructure/type.js +2 -2
- package/es/components/molecules/CodeStructure/utils.d.ts +12 -2
- package/es/components/molecules/CodeStructure/utils.js +5 -3
- package/es/components/molecules/DrawerDetail/DrawerDetail.js +10 -5
- package/es/components/molecules/DrawerDetail/types.d.ts +1 -0
- package/es/components/molecules/Dropdown/style.scss +6 -4
- package/es/components/molecules/EditingListV2/EditingList.js +5 -2
- package/es/components/molecules/EditingListV2/components/List/List.js +16 -6
- package/es/components/molecules/EditingListV2/components/Loadable.d.ts +0 -6
- package/es/components/molecules/EditingListV2/components/Loadable.js +0 -1
- package/es/components/molecules/EditingListV2/components/Popover/Popover.js +6 -12
- package/es/components/molecules/EditingListV2/components/index.d.ts +0 -3
- package/es/components/molecules/EditingListV2/components/index.js +0 -3
- package/es/components/molecules/EditingListV2/types.d.ts +2 -0
- package/es/components/molecules/InputSelectAttribute/index.js +5 -2
- package/es/components/molecules/InputSelectAttribute/styled.js +7 -2
- package/es/components/molecules/SearchPopover/SearchPopover.d.ts +0 -1
- package/es/components/molecules/SearchPopover/SearchPopover.js +1 -2
- package/es/components/molecules/SearchPopover/components/PopoverAddField/PopoverAddField.js +2 -2
- package/es/components/molecules/SearchPopover/components/PopoverSelect/PopoverSelect.js +2 -2
- package/es/components/molecules/SearchPopover/types.d.ts +1 -0
- package/es/components/molecules/TagifyInput/TagifyInput.js +27 -10
- package/es/components/molecules/TagifyInput/constants.d.ts +2 -1
- package/es/components/molecules/TagifyInput/constants.js +2 -1
- package/es/components/molecules/TagifyInput/utils.js +5 -2
- package/es/components/molecules/TagifyInput/utils.style.js +3 -2
- package/es/components/molecules/UploadImage/index.d.ts +102 -3
- package/es/components/molecules/UploadImage/index.js +48 -110
- package/es/components/molecules/UploadImage/styled.d.ts +2 -1
- package/es/components/molecules/VirtualizedMenu/types.d.ts +1 -0
- package/es/components/organism/TicketEditorV2/Content.d.ts +27 -0
- package/es/components/organism/TicketEditorV2/Content.js +296 -0
- package/es/components/organism/TicketEditorV2/Service.d.ts +49 -0
- package/es/components/organism/TicketEditorV2/Service.js +58 -0
- package/es/components/organism/TicketEditorV2/TicketEditorV2.d.ts +20 -0
- package/es/components/organism/TicketEditorV2/TicketEditorV2.js +124 -0
- package/es/components/organism/TicketEditorV2/components/DropdownComponent.d.ts +9 -0
- package/es/components/organism/TicketEditorV2/components/DropdownComponent.js +45 -0
- package/es/components/organism/TicketEditorV2/components/Message.d.ts +2 -0
- package/es/components/organism/TicketEditorV2/components/Message.js +31 -0
- package/es/components/organism/TicketEditorV2/components/MessageComponent.d.ts +10 -0
- package/es/components/organism/TicketEditorV2/components/MessageComponent.js +64 -0
- package/es/components/organism/TicketEditorV2/components/icons/AddTicketIcon.d.ts +2 -0
- package/es/components/organism/TicketEditorV2/components/icons/AddTicketIcon.js +5 -0
- package/es/components/organism/TicketEditorV2/components/icons/TicketIcon.d.ts +2 -0
- package/es/components/organism/TicketEditorV2/components/icons/TicketIcon.js +5 -0
- package/es/components/organism/TicketEditorV2/constant.d.ts +17 -0
- package/es/components/organism/TicketEditorV2/constant.js +17 -0
- package/es/components/organism/TicketEditorV2/constants/index.d.ts +1 -0
- package/es/components/organism/TicketEditorV2/constants/index.js +1 -0
- package/es/components/organism/TicketEditorV2/constants/queryKeys.d.ts +5 -0
- package/es/components/organism/TicketEditorV2/constants/queryKeys.js +5 -0
- package/es/components/organism/TicketEditorV2/index.d.ts +1 -0
- package/es/components/organism/TicketEditorV2/index.js +1 -0
- package/es/components/organism/TicketEditorV2/queries/index.d.ts +3 -0
- package/es/components/organism/TicketEditorV2/queries/index.js +3 -0
- package/es/components/organism/TicketEditorV2/queries/useGetDetailTicket.d.ts +12 -0
- package/es/components/organism/TicketEditorV2/queries/useGetDetailTicket.js +14 -0
- package/es/components/organism/TicketEditorV2/queries/useGetListComments.d.ts +13 -0
- package/es/components/organism/TicketEditorV2/queries/useGetListComments.js +18 -0
- package/es/components/organism/TicketEditorV2/queries/useGetListUser.d.ts +11 -0
- package/es/components/organism/TicketEditorV2/queries/useGetListUser.js +14 -0
- package/es/components/organism/TicketEditorV2/styled.d.ts +54 -0
- package/es/components/organism/TicketEditorV2/styled.js +871 -0
- package/es/components/organism/TicketEditorV2/util.d.ts +46 -0
- package/es/components/organism/TicketEditorV2/util.js +408 -0
- package/es/components/organism/index.d.ts +1 -0
- package/es/components/organism/index.js +1 -0
- package/es/constants/queries.d.ts +1 -0
- package/es/constants/queries.js +1 -0
- package/es/locales/en/translation.json +2 -1
- package/es/locales/i18n.d.ts +2 -0
- package/es/locales/vi/translation.json +2 -1
- package/es/queries/ThirdParty/index.d.ts +1 -0
- package/es/queries/ThirdParty/index.js +1 -0
- package/es/queries/ThirdParty/useStoreSavedMedia.d.ts +1 -0
- package/es/queries/ThirdParty/useStoreSavedMedia.js +12 -0
- package/es/queries/index.d.ts +0 -1
- package/es/queries/index.js +0 -1
- package/es/services/MediaTemplateDesign/UploadFile/index.d.ts +1 -1
- package/es/services/MediaTemplateDesign/UploadFile/index.js +2 -2
- package/package.json +2 -2
- package/es/components/molecules/EditingListV2/components/Action/Action.d.ts +0 -6
- package/es/components/molecules/EditingListV2/components/Action/Action.js +0 -10
- package/es/components/molecules/EditingListV2/components/Action/index.d.ts +0 -1
- package/es/components/molecules/EditingListV2/components/Action/index.js +0 -1
- package/es/components/molecules/EditingListV2/components/Search/Search.d.ts +0 -4
- package/es/components/molecules/EditingListV2/components/Search/Search.js +0 -8
- package/es/components/molecules/EditingListV2/components/Search/index.d.ts +0 -1
- package/es/components/molecules/EditingListV2/components/Search/index.js +0 -1
- package/es/components/molecules/EditingListV2/components/Title/Title.d.ts +0 -9
- package/es/components/molecules/EditingListV2/components/Title/Title.js +0 -16
- package/es/components/molecules/EditingListV2/components/Title/index.d.ts +0 -1
- package/es/components/molecules/EditingListV2/components/Title/index.js +0 -1
- package/es/components/molecules/EditingListV2/styled.d.ts +0 -5
- package/es/components/molecules/EditingListV2/styled.js +0 -38
- package/es/components/molecules/SearchPopover/styles.scss +0 -7
- package/es/queries/Media/index.d.ts +0 -1
- package/es/queries/Media/index.js +0 -1
- package/es/queries/Media/useGetListingSavedMedia.d.ts +0 -12
- package/es/queries/Media/useGetListingSavedMedia.js +0 -15
|
@@ -0,0 +1,871 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { Button } from '@antscorp/antsomi-ui/es/components/atoms/Button';
|
|
3
|
+
import { Checkbox } from '@antscorp/antsomi-ui/es/components/atoms/Checkbox';
|
|
4
|
+
import { Modal } from '@antscorp/antsomi-ui/es/components/molecules/Modal';
|
|
5
|
+
export const WrapperHeader = styled.div `
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
padding: 0 15px;
|
|
9
|
+
align-items: center;
|
|
10
|
+
border-bottom: 1px solid #e5e5e5;
|
|
11
|
+
height: 50px;
|
|
12
|
+
`;
|
|
13
|
+
export const WrapperContent = styled.div `
|
|
14
|
+
display: flex;
|
|
15
|
+
gap: 20px;
|
|
16
|
+
padding: 15px;
|
|
17
|
+
`;
|
|
18
|
+
export const WrapperLeftContent = styled.div `
|
|
19
|
+
width: 38%;
|
|
20
|
+
// border-right: 1px solid #e5e5e5;
|
|
21
|
+
overflow: auto;
|
|
22
|
+
::-webkit-scrollbar {
|
|
23
|
+
width: 8px;
|
|
24
|
+
height: 8px;
|
|
25
|
+
}
|
|
26
|
+
::-webkit-scrollbar-track {
|
|
27
|
+
background: #f2f2f2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
::-webkit-scrollbar-thumb {
|
|
31
|
+
background: #cccccc;
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
export const WrapperRightContent = styled.div `
|
|
35
|
+
flex: 1;
|
|
36
|
+
overflow: auto;
|
|
37
|
+
::-webkit-scrollbar {
|
|
38
|
+
width: 8px;
|
|
39
|
+
height: 8px;
|
|
40
|
+
}
|
|
41
|
+
::-webkit-scrollbar-track {
|
|
42
|
+
background: #f2f2f2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::-webkit-scrollbar-thumb {
|
|
46
|
+
background: #cccccc;
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
export const WrapperTextEdit = styled.a `
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
font-size: 12px;
|
|
52
|
+
color: ${props => (props.color ? props.color : '#000')};
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
cursor: ${props => (props.color ? 'pointer' : 'default')};
|
|
55
|
+
max-width: 300px;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
display: inline-block;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
&:hover {
|
|
60
|
+
color: ${props => (props.color ? props.color : '#000')};
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
export const WrapperTextInput = styled.input `
|
|
64
|
+
width: ${props => (props.width ? props.width : 'unset')};
|
|
65
|
+
min-width: ${props => (props.width ? props.width : 'unset')};
|
|
66
|
+
height: 30px;
|
|
67
|
+
border-top: none;
|
|
68
|
+
border-left: none;
|
|
69
|
+
border-right: none;
|
|
70
|
+
border-bottom: 1px solid #b8cfe6;
|
|
71
|
+
outline: none;
|
|
72
|
+
flex: 1;
|
|
73
|
+
&:hover {
|
|
74
|
+
background-color: rgb(242, 249, 255);
|
|
75
|
+
}
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
color: #000;
|
|
78
|
+
`;
|
|
79
|
+
export const WrapperContentInput = styled.div `
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: ${props => (props.flexStart ? 'flex-start' : 'center')};
|
|
82
|
+
|
|
83
|
+
.error-message {
|
|
84
|
+
font-size: 12px;
|
|
85
|
+
color: red;
|
|
86
|
+
margin-top: 5px;
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
export const WrapperLable = styled.label `
|
|
90
|
+
width: 165px;
|
|
91
|
+
min-width: 165px;
|
|
92
|
+
color: #666;
|
|
93
|
+
text-align: left;
|
|
94
|
+
display: inline-block;
|
|
95
|
+
font-size: 12px;
|
|
96
|
+
`;
|
|
97
|
+
export const WrapperDropdown = styled.div `
|
|
98
|
+
position: relative;
|
|
99
|
+
`;
|
|
100
|
+
export const WrapperToggleDropdown = styled.div `
|
|
101
|
+
&.wrapper-select-options {
|
|
102
|
+
background-color: #fff !important;
|
|
103
|
+
border-radius: 0;
|
|
104
|
+
border-top: none;
|
|
105
|
+
border-left: none;
|
|
106
|
+
width: 300px;
|
|
107
|
+
height: 30px;
|
|
108
|
+
border-right: none;
|
|
109
|
+
border-bottom: 1px solid rgb(184, 207, 230);
|
|
110
|
+
outline: none;
|
|
111
|
+
color: #000 !important;
|
|
112
|
+
border-color: rgb(184, 207, 230) !important;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
padding: 0 4px;
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
&:hover {
|
|
118
|
+
color: #000 !important;
|
|
119
|
+
background-color: rgb(242, 249, 255) !important;
|
|
120
|
+
border-color: rgb(184, 207, 230) !important;
|
|
121
|
+
outline: none !important;
|
|
122
|
+
box-shadow: none !important;
|
|
123
|
+
}
|
|
124
|
+
&:focus {
|
|
125
|
+
color: #000 !important;
|
|
126
|
+
background-color: #fff !important;
|
|
127
|
+
border-color: rgb(184, 207, 230) !important;
|
|
128
|
+
outline: none !important;
|
|
129
|
+
box-shadow: none !important;
|
|
130
|
+
}
|
|
131
|
+
&:active {
|
|
132
|
+
color: #000 !important;
|
|
133
|
+
background-color: #fff !important;
|
|
134
|
+
border-color: rgb(184, 207, 230) !important;
|
|
135
|
+
outline: none !important;
|
|
136
|
+
box-shadow: none !important;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
`;
|
|
140
|
+
export const WrapperDropdownMenu = styled.div `
|
|
141
|
+
box-shadow:
|
|
142
|
+
0px 5px 5px -3px rgb(0 0 0 / 20%),
|
|
143
|
+
0px 8px 10px 1px rgb(0 0 0 / 14%),
|
|
144
|
+
0px 3px 14px 2px rgb(0 0 0 / 12%);
|
|
145
|
+
width: 100%;
|
|
146
|
+
max-height: 300px;
|
|
147
|
+
overflow-y: auto;
|
|
148
|
+
position: absolute;
|
|
149
|
+
z-index: 10;
|
|
150
|
+
top: 30;
|
|
151
|
+
right: 0;
|
|
152
|
+
padding: 8px 0;
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
background: #fff;
|
|
155
|
+
border: none !important;
|
|
156
|
+
::-webkit-scrollbar {
|
|
157
|
+
width: 8px;
|
|
158
|
+
height: 8px;
|
|
159
|
+
}
|
|
160
|
+
::-webkit-scrollbar-track {
|
|
161
|
+
background: #f2f2f2;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
::-webkit-scrollbar-thumb {
|
|
165
|
+
background: #cccccc;
|
|
166
|
+
}
|
|
167
|
+
`;
|
|
168
|
+
export const WrapperDropdownItem = styled.div `
|
|
169
|
+
color: #33475b !important;
|
|
170
|
+
font-size: 14px;
|
|
171
|
+
padding: 5px 12px;
|
|
172
|
+
&:hover {
|
|
173
|
+
color: #000 !important;
|
|
174
|
+
background-color: rgb(242, 249, 255) !important;
|
|
175
|
+
border-color: rgb(184, 207, 230) !important;
|
|
176
|
+
outline: none !important;
|
|
177
|
+
box-shadow: none !important;
|
|
178
|
+
}
|
|
179
|
+
&:focus {
|
|
180
|
+
color: #000 !important;
|
|
181
|
+
background-color: #fff !important;
|
|
182
|
+
border-color: rgb(184, 207, 230) !important;
|
|
183
|
+
outline: none !important;
|
|
184
|
+
box-shadow: none !important;
|
|
185
|
+
}
|
|
186
|
+
&:active {
|
|
187
|
+
color: #000 !important;
|
|
188
|
+
background-color: #fff !important;
|
|
189
|
+
border-color: rgb(184, 207, 230) !important;
|
|
190
|
+
outline: none !important;
|
|
191
|
+
box-shadow: none !important;
|
|
192
|
+
}
|
|
193
|
+
`;
|
|
194
|
+
export const WrapperLabelDropdown = styled.div `
|
|
195
|
+
color: #000;
|
|
196
|
+
font-size: 12px;
|
|
197
|
+
`;
|
|
198
|
+
export const MaterialChip = styled.div `
|
|
199
|
+
margin: 0;
|
|
200
|
+
background-color: #cae5fe;
|
|
201
|
+
color: #000;
|
|
202
|
+
font-size: 12px;
|
|
203
|
+
position: relative;
|
|
204
|
+
border-radius: 12px;
|
|
205
|
+
display: flex;
|
|
206
|
+
padding: 10px;
|
|
207
|
+
align-items: center;
|
|
208
|
+
height: 24px;
|
|
209
|
+
width: fit-content;
|
|
210
|
+
.content-chip {
|
|
211
|
+
margin: 0 5px;
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
white-space: nowrap;
|
|
215
|
+
overflow: hidden;
|
|
216
|
+
text-overflow: ellipsis;
|
|
217
|
+
}
|
|
218
|
+
&:hover .delete-button {
|
|
219
|
+
display: flex;
|
|
220
|
+
}
|
|
221
|
+
.delete-button {
|
|
222
|
+
display: none;
|
|
223
|
+
right: 5px;
|
|
224
|
+
position: absolute;
|
|
225
|
+
top: 4px;
|
|
226
|
+
z-index: 10;
|
|
227
|
+
border: 0;
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
outline: none;
|
|
230
|
+
background: #fff;
|
|
231
|
+
color: #005eb8;
|
|
232
|
+
font-size: 12px;
|
|
233
|
+
border-radius: 50%;
|
|
234
|
+
span {
|
|
235
|
+
height: 16px;
|
|
236
|
+
width: 16px;
|
|
237
|
+
padding: 0px;
|
|
238
|
+
color: #000;
|
|
239
|
+
font-size: 12px;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
`;
|
|
243
|
+
export const Wrapper = styled.div `
|
|
244
|
+
overflow-x: hidden;
|
|
245
|
+
align-items: center;
|
|
246
|
+
cursor: pointer;
|
|
247
|
+
display: flex;
|
|
248
|
+
min-width: 0;
|
|
249
|
+
.chip-container {
|
|
250
|
+
margin: 0px 4px 0 0px;
|
|
251
|
+
overflow: hidden;
|
|
252
|
+
font-size: 0.813rem;
|
|
253
|
+
font-family: Roboto-Bold;
|
|
254
|
+
height: 24px;
|
|
255
|
+
}
|
|
256
|
+
`;
|
|
257
|
+
export const DivLoading = styled.div `
|
|
258
|
+
height: 30px;
|
|
259
|
+
width: 20%;
|
|
260
|
+
position: relative;
|
|
261
|
+
.private-overlay {
|
|
262
|
+
padding: 0 !important;
|
|
263
|
+
}
|
|
264
|
+
`;
|
|
265
|
+
export const WrapperListAccount = styled.div `
|
|
266
|
+
display: flex;
|
|
267
|
+
justify-content: flex-start;
|
|
268
|
+
align-items: center;
|
|
269
|
+
flex-wrap: wrap;
|
|
270
|
+
gap: 10px;
|
|
271
|
+
width: 400px;
|
|
272
|
+
min-width: 400px;
|
|
273
|
+
`;
|
|
274
|
+
export const Title = styled.div `
|
|
275
|
+
color: #666;
|
|
276
|
+
font-size: 12px;
|
|
277
|
+
margin-bottom: 20px;
|
|
278
|
+
`;
|
|
279
|
+
export const TitleName = styled.p `
|
|
280
|
+
color: #000;
|
|
281
|
+
font-size: 12px;
|
|
282
|
+
white-space: nowrap;
|
|
283
|
+
margin-bottom: 10px;
|
|
284
|
+
`;
|
|
285
|
+
export const WrapperNotication = styled.div `
|
|
286
|
+
display: flex;
|
|
287
|
+
flex-direction: column;
|
|
288
|
+
gap: 10px;
|
|
289
|
+
`;
|
|
290
|
+
export const WrapperFooter = styled.div `
|
|
291
|
+
display: flex;
|
|
292
|
+
align-items: center;
|
|
293
|
+
gap: 15px;
|
|
294
|
+
height: 58px;
|
|
295
|
+
padding-left: 15px;
|
|
296
|
+
border-top: 1px solid #e5e5e5;
|
|
297
|
+
`;
|
|
298
|
+
export const WrapperEditor = styled.div `
|
|
299
|
+
// padding: 15px;
|
|
300
|
+
.tox-tinymce {
|
|
301
|
+
border-top-left-radius: 10px !important;
|
|
302
|
+
border-top-right-radius: 10px !important;
|
|
303
|
+
border-bottom: none !important;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.error-message {
|
|
307
|
+
font-size: 12px;
|
|
308
|
+
color: red;
|
|
309
|
+
margin-top: 5px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.tox {
|
|
313
|
+
.tox-tbtn--enabled {
|
|
314
|
+
background: #deeffe;
|
|
315
|
+
}
|
|
316
|
+
.tox-tbtn {
|
|
317
|
+
&:hover {
|
|
318
|
+
background: #f2f9ff;
|
|
319
|
+
}
|
|
320
|
+
svg {
|
|
321
|
+
fill: #595959;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
`;
|
|
326
|
+
export const WrapperListAccountSearch = styled.div `
|
|
327
|
+
display: flex;
|
|
328
|
+
flex-direction: column;
|
|
329
|
+
max-height: 300px;
|
|
330
|
+
overflow-y: auto;
|
|
331
|
+
gap: 8px;
|
|
332
|
+
::-webkit-scrollbar {
|
|
333
|
+
width: 8px;
|
|
334
|
+
height: 8px;
|
|
335
|
+
}
|
|
336
|
+
::-webkit-scrollbar-track {
|
|
337
|
+
background: #f2f2f2;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
::-webkit-scrollbar-thumb {
|
|
341
|
+
background: #cccccc;
|
|
342
|
+
}
|
|
343
|
+
`;
|
|
344
|
+
export const WrapperItemAccountSearch = styled.div `
|
|
345
|
+
display: flex;
|
|
346
|
+
cursor: pointer;
|
|
347
|
+
align-items: center;
|
|
348
|
+
gap: 3px;
|
|
349
|
+
padding-left: 15px;
|
|
350
|
+
`;
|
|
351
|
+
export const WrapperFooterPopup = styled.div `
|
|
352
|
+
display: flex;
|
|
353
|
+
align-items: center;
|
|
354
|
+
justify-content: flex-start;
|
|
355
|
+
border-top: 1px solid #dbe9f7;
|
|
356
|
+
padding: 15px;
|
|
357
|
+
gap: 15px;
|
|
358
|
+
`;
|
|
359
|
+
export const WrapperIconEditor = styled.div `
|
|
360
|
+
// border-top: ${props => (props.borderTop ? '1px solid #D4D4D4' : 'none')};
|
|
361
|
+
border: 1px solid #d4d4d4;
|
|
362
|
+
display: flex;
|
|
363
|
+
align-items: center;
|
|
364
|
+
padding: 10px;
|
|
365
|
+
justify-content: space-between;
|
|
366
|
+
border-bottom-left-radius: 10px !important;
|
|
367
|
+
border-bottom-right-radius: 10px !important;
|
|
368
|
+
height: 50px;
|
|
369
|
+
|
|
370
|
+
.reply-btn {
|
|
371
|
+
}
|
|
372
|
+
`;
|
|
373
|
+
export const WrapperInputFile = styled.div `
|
|
374
|
+
position: relative;
|
|
375
|
+
width: 24px;
|
|
376
|
+
height: 24px;
|
|
377
|
+
|
|
378
|
+
.upload-wrapper-label {
|
|
379
|
+
display: block;
|
|
380
|
+
height: 100%;
|
|
381
|
+
display: flex;
|
|
382
|
+
align-items: center;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.upload-icon {
|
|
386
|
+
color: #005eb8;
|
|
387
|
+
font-size: 20.5px;
|
|
388
|
+
width: 24px;
|
|
389
|
+
cursor: pointer;
|
|
390
|
+
}
|
|
391
|
+
`;
|
|
392
|
+
export const WrapperLinkItemFiles = styled.div `
|
|
393
|
+
border-right: 1px solid #d4d4d4;
|
|
394
|
+
border-left: 1px solid #d4d4d4;
|
|
395
|
+
|
|
396
|
+
&.no-border {
|
|
397
|
+
border: none !important;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.image-item {
|
|
401
|
+
img {
|
|
402
|
+
max-width: 100%;
|
|
403
|
+
object-fit: contains;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.file-item {
|
|
408
|
+
color: #000;
|
|
409
|
+
display: flex;
|
|
410
|
+
align-items: center;
|
|
411
|
+
justify-content: space-between;
|
|
412
|
+
line-height: 30px;
|
|
413
|
+
height: 30px;
|
|
414
|
+
padding: 0 14px 0 10px;
|
|
415
|
+
|
|
416
|
+
&.rounded {
|
|
417
|
+
border-radius: 10px;
|
|
418
|
+
padding: 0 10px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.file-name-group {
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
gap: 10px;
|
|
425
|
+
}
|
|
426
|
+
.file-icon {
|
|
427
|
+
font-size: 20.5px;
|
|
428
|
+
color: #595959;
|
|
429
|
+
}
|
|
430
|
+
.file-name {
|
|
431
|
+
overflow: hidden;
|
|
432
|
+
text-overflow: ellipsis;
|
|
433
|
+
display: -webkit-box;
|
|
434
|
+
-webkit-line-clamp: 1;
|
|
435
|
+
-webkit-box-orient: vertical;
|
|
436
|
+
}
|
|
437
|
+
.remove-btn {
|
|
438
|
+
font-size: 12px;
|
|
439
|
+
color: #595959;
|
|
440
|
+
cursor: pointer;
|
|
441
|
+
display: none;
|
|
442
|
+
}
|
|
443
|
+
.download-btn {
|
|
444
|
+
font-size: 24px;
|
|
445
|
+
color: #595959;
|
|
446
|
+
cursor: pointer;
|
|
447
|
+
display: none;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
&:hover {
|
|
451
|
+
background: #f2f9ff;
|
|
452
|
+
.remove-btn {
|
|
453
|
+
display: block;
|
|
454
|
+
}
|
|
455
|
+
.download-btn {
|
|
456
|
+
display: block;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
`;
|
|
461
|
+
export const WrapperSnackbar = styled.div `
|
|
462
|
+
.MuiPaper-root.MuiSnackbarContent-root.MuiPaper-elevation6 {
|
|
463
|
+
background: ${props => props.background};
|
|
464
|
+
min-width: unset;
|
|
465
|
+
text-align: center;
|
|
466
|
+
padding: 4px;
|
|
467
|
+
.MuiSnackbarContent-message {
|
|
468
|
+
width: 100%;
|
|
469
|
+
text-align: center;
|
|
470
|
+
padding: 0px;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
`;
|
|
474
|
+
export const WrapperModalHeader = styled.div `
|
|
475
|
+
font-size: 16px;
|
|
476
|
+
color: #000;
|
|
477
|
+
font-weight: bold;
|
|
478
|
+
padding: 16px;
|
|
479
|
+
border-bottom: 1px solid #dee2e6;
|
|
480
|
+
`;
|
|
481
|
+
export const WrapperAvatar = styled.div `
|
|
482
|
+
display: flex;
|
|
483
|
+
align-items: flex-start;
|
|
484
|
+
gap: 10px;
|
|
485
|
+
|
|
486
|
+
.avatar {
|
|
487
|
+
width: 40px;
|
|
488
|
+
height: 40px;
|
|
489
|
+
border-radius: 50%;
|
|
490
|
+
object-fit: contains;
|
|
491
|
+
}
|
|
492
|
+
.user-info {
|
|
493
|
+
display: flex;
|
|
494
|
+
flex-direction: column;
|
|
495
|
+
font-size: 12px;
|
|
496
|
+
color: #000;
|
|
497
|
+
|
|
498
|
+
&__name {
|
|
499
|
+
font-weight: 600;
|
|
500
|
+
line-height: 14.06px;
|
|
501
|
+
}
|
|
502
|
+
&__to-user {
|
|
503
|
+
color: #7f7f7f;
|
|
504
|
+
display: flex;
|
|
505
|
+
align-items: center;
|
|
506
|
+
gap: 8px;
|
|
507
|
+
line-height: 14.06px;
|
|
508
|
+
}
|
|
509
|
+
&__expand-icon {
|
|
510
|
+
font-size: 7px;
|
|
511
|
+
color: #7f7f7f;
|
|
512
|
+
cursor: pointer;
|
|
513
|
+
|
|
514
|
+
&.open {
|
|
515
|
+
transform: rotate(180deg);
|
|
516
|
+
position: relative;
|
|
517
|
+
top: 3px;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
&__desc {
|
|
521
|
+
line-height: 13px;
|
|
522
|
+
margin-top: 5px;
|
|
523
|
+
display: flex;
|
|
524
|
+
flex-direction: column;
|
|
525
|
+
gap: 5px;
|
|
526
|
+
}
|
|
527
|
+
&__followers {
|
|
528
|
+
display: flex;
|
|
529
|
+
align-items: flex-start;
|
|
530
|
+
gap: 10px;
|
|
531
|
+
}
|
|
532
|
+
.icon-wrapper {
|
|
533
|
+
width: 16px;
|
|
534
|
+
height: 16px;
|
|
535
|
+
display: flex;
|
|
536
|
+
align-items: center;
|
|
537
|
+
justify-content: center;
|
|
538
|
+
transform: rotate(90deg);
|
|
539
|
+
transform-origin: center;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
`;
|
|
543
|
+
export const WrapperContentAvatar = styled.div `
|
|
544
|
+
display: flex;
|
|
545
|
+
flex-direction: column;
|
|
546
|
+
gap: 20px;
|
|
547
|
+
padding: 15px;
|
|
548
|
+
border-bottom: 1px solid #e5e5e5;
|
|
549
|
+
|
|
550
|
+
.comment-header {
|
|
551
|
+
display: flex;
|
|
552
|
+
alignitems: flex-start;
|
|
553
|
+
justifycontent: space-between;
|
|
554
|
+
position: relative;
|
|
555
|
+
}
|
|
556
|
+
.comment-time {
|
|
557
|
+
position: absolute;
|
|
558
|
+
top: 10px;
|
|
559
|
+
left: 50%;
|
|
560
|
+
transform: translateX(-50%);
|
|
561
|
+
width: fit-content;
|
|
562
|
+
fontsize: 12px;
|
|
563
|
+
color: #7f7f7f;
|
|
564
|
+
marginright: 5px;
|
|
565
|
+
whitespace: nowrap;
|
|
566
|
+
}
|
|
567
|
+
.comment-content {
|
|
568
|
+
font-size: 12px;
|
|
569
|
+
color: #333;
|
|
570
|
+
}
|
|
571
|
+
`;
|
|
572
|
+
export const WrapperMessageContent = styled.div `
|
|
573
|
+
// height: calc(100% - 354px);
|
|
574
|
+
min-height: 150px;
|
|
575
|
+
overflow: auto;
|
|
576
|
+
::-webkit-scrollbar {
|
|
577
|
+
width: 8px;
|
|
578
|
+
height: 8px;
|
|
579
|
+
}
|
|
580
|
+
::-webkit-scrollbar-track {
|
|
581
|
+
background: #f2f2f2;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
::-webkit-scrollbar-thumb {
|
|
585
|
+
background: #cccccc;
|
|
586
|
+
}
|
|
587
|
+
`;
|
|
588
|
+
export const WrapperLoading = styled.div `
|
|
589
|
+
width: ${props => (props.width ? props.width : 'calc(100% - 100px)')};
|
|
590
|
+
height: ${props => (props.height ? props.height : '100%')};
|
|
591
|
+
position: fixed;
|
|
592
|
+
background: rgba(0, 0, 0, 0.06);
|
|
593
|
+
display: flex;
|
|
594
|
+
align-items: center;
|
|
595
|
+
justify-content: center;
|
|
596
|
+
z-index: 2000;
|
|
597
|
+
`;
|
|
598
|
+
export const WrapperBtnAddAcc = styled(Button) `
|
|
599
|
+
&.MuiButton-outlined {
|
|
600
|
+
display: flex;
|
|
601
|
+
align-items: center;
|
|
602
|
+
border: 1px solid #005eb8;
|
|
603
|
+
height: 24px;
|
|
604
|
+
border-radius: 20px;
|
|
605
|
+
padding: 10px;
|
|
606
|
+
}
|
|
607
|
+
&.MuiButton-root:hover {
|
|
608
|
+
background: #fff;
|
|
609
|
+
}
|
|
610
|
+
`;
|
|
611
|
+
export const WrapperModalImg = styled(Modal) `
|
|
612
|
+
&.image-modal {
|
|
613
|
+
display: flex;
|
|
614
|
+
align-items: center;
|
|
615
|
+
justify-content: center;
|
|
616
|
+
height: 100vh;
|
|
617
|
+
.modal-content {
|
|
618
|
+
border: none;
|
|
619
|
+
background: transparent;
|
|
620
|
+
height: 100%;
|
|
621
|
+
width: 100%;
|
|
622
|
+
}
|
|
623
|
+
.modal-img-content {
|
|
624
|
+
width: 90%;
|
|
625
|
+
height: 90%;
|
|
626
|
+
outline: none !important;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
`;
|
|
630
|
+
export const WrapperModalHeaderImg = styled.div `
|
|
631
|
+
height: 20px;
|
|
632
|
+
width: calc(100% + 40px);
|
|
633
|
+
display: flex;
|
|
634
|
+
justify-content: flex-end;
|
|
635
|
+
`;
|
|
636
|
+
export const TicketButton = styled.button `
|
|
637
|
+
width: 36px;
|
|
638
|
+
height: 36px;
|
|
639
|
+
border: 1px solid #e0e6eb;
|
|
640
|
+
border-radius: 5px;
|
|
641
|
+
display: flex;
|
|
642
|
+
align-items: center;
|
|
643
|
+
justify-content: center;
|
|
644
|
+
position: relative;
|
|
645
|
+
background: #fff;
|
|
646
|
+
cursor: pointer;
|
|
647
|
+
|
|
648
|
+
&:focus {
|
|
649
|
+
outline: none;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
> .add-icon {
|
|
653
|
+
position: absolute;
|
|
654
|
+
bottom: -3px;
|
|
655
|
+
right: -3px;
|
|
656
|
+
}
|
|
657
|
+
`;
|
|
658
|
+
export const WrapperCheckBox = styled(Checkbox) `
|
|
659
|
+
&.MuiCheckbox-colorPrimary.Mui-checked {
|
|
660
|
+
color: #005eb8;
|
|
661
|
+
}
|
|
662
|
+
`;
|
|
663
|
+
export const WrapperMessage = styled.div `
|
|
664
|
+
&.container-content {
|
|
665
|
+
z-index: 10000;
|
|
666
|
+
bottom: 40px;
|
|
667
|
+
left: 10px;
|
|
668
|
+
position: fixed;
|
|
669
|
+
width: 345px;
|
|
670
|
+
height: 72px;
|
|
671
|
+
animation: myfirst 0.2s ease-in-out;
|
|
672
|
+
@keyframes myfirst {
|
|
673
|
+
0% {
|
|
674
|
+
left: -150px;
|
|
675
|
+
}
|
|
676
|
+
25% {
|
|
677
|
+
left: -100px;
|
|
678
|
+
}
|
|
679
|
+
50% {
|
|
680
|
+
left: -50px;
|
|
681
|
+
}
|
|
682
|
+
75% {
|
|
683
|
+
left: 0px;
|
|
684
|
+
}
|
|
685
|
+
100% {
|
|
686
|
+
left: 10px;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.content {
|
|
692
|
+
background: #333;
|
|
693
|
+
border-top-left-radius: 3px;
|
|
694
|
+
border-bottom-left-radius: 3px;
|
|
695
|
+
padding: 12px 24px;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.icon-check {
|
|
699
|
+
width: 100%;
|
|
700
|
+
height: 100%;
|
|
701
|
+
color: #fff;
|
|
702
|
+
display: flex;
|
|
703
|
+
align-items: center;
|
|
704
|
+
justify-content: center;
|
|
705
|
+
|
|
706
|
+
.check-icon {
|
|
707
|
+
font-size: 9px;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.floating {
|
|
712
|
+
color: '#6ac259';
|
|
713
|
+
font-size: 14px;
|
|
714
|
+
align-items: center;
|
|
715
|
+
// justify-content: space-between;
|
|
716
|
+
box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0.375em 0px !important;
|
|
717
|
+
border-left: 0.35rem solid;
|
|
718
|
+
border-radius: 0.35rem;
|
|
719
|
+
background-color: white;
|
|
720
|
+
padding: 0.75rem 1.5rem;
|
|
721
|
+
position: relative;
|
|
722
|
+
|
|
723
|
+
display: inline-flex;
|
|
724
|
+
max-width: 100%;
|
|
725
|
+
pointer-events: auto;
|
|
726
|
+
text-align: left;
|
|
727
|
+
height: 72px;
|
|
728
|
+
width: 435px;
|
|
729
|
+
.alert__title {
|
|
730
|
+
font-weight: 700;
|
|
731
|
+
/* text-shadow: 0 0 1px transparent; */
|
|
732
|
+
margin-bottom: 0.5rem;
|
|
733
|
+
margin-top: 0;
|
|
734
|
+
display: block;
|
|
735
|
+
line-height: normal;
|
|
736
|
+
text-transform: none;
|
|
737
|
+
font-size: 16px !important;
|
|
738
|
+
color: inherit;
|
|
739
|
+
}
|
|
740
|
+
.secondary__title {
|
|
741
|
+
color: grey;
|
|
742
|
+
}
|
|
743
|
+
.floating-alert-list__child-wrapper {
|
|
744
|
+
left: 0;
|
|
745
|
+
overflow: auto;
|
|
746
|
+
position: absolute;
|
|
747
|
+
top: 0;
|
|
748
|
+
width: 100%;
|
|
749
|
+
}
|
|
750
|
+
.noti-content {
|
|
751
|
+
min-width: 200px;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
`;
|
|
755
|
+
export const TicketEditorWrapper = styled.div `
|
|
756
|
+
.modal {
|
|
757
|
+
display: flex;
|
|
758
|
+
align-items: center;
|
|
759
|
+
justify-content: center;
|
|
760
|
+
}
|
|
761
|
+
.wrapperBody {
|
|
762
|
+
background: #fff;
|
|
763
|
+
width: 500px;
|
|
764
|
+
border-radius: 4px;
|
|
765
|
+
}
|
|
766
|
+
.modalBody {
|
|
767
|
+
padding: 16px;
|
|
768
|
+
}
|
|
769
|
+
.modalFooter {
|
|
770
|
+
padding: 12px;
|
|
771
|
+
justify-content: flex-start;
|
|
772
|
+
gap: 10px;
|
|
773
|
+
display: flex;
|
|
774
|
+
}
|
|
775
|
+
.popoverBody {
|
|
776
|
+
padding: 0;
|
|
777
|
+
}
|
|
778
|
+
.popoverItem {
|
|
779
|
+
cursor: pointer;
|
|
780
|
+
padding: 5px 10px;
|
|
781
|
+
font-size: 13px !important;
|
|
782
|
+
|
|
783
|
+
&:hover {
|
|
784
|
+
background-color: #ddd;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
`;
|
|
788
|
+
// export const DrawerHeader = styled.div`
|
|
789
|
+
// background: #ffffff;
|
|
790
|
+
// display: flex;
|
|
791
|
+
// align-items: center;
|
|
792
|
+
// justify-content: space-between;
|
|
793
|
+
// width: 100%;
|
|
794
|
+
// .left-content {
|
|
795
|
+
// display: flex;
|
|
796
|
+
// align-items: center;
|
|
797
|
+
// gap: 15px;
|
|
798
|
+
// }
|
|
799
|
+
// .right-content {
|
|
800
|
+
// display: flex;
|
|
801
|
+
// align-items: center;
|
|
802
|
+
// gap: 15px;
|
|
803
|
+
// .header-info-drawer {
|
|
804
|
+
// display: flex;
|
|
805
|
+
// flex-direction: column;
|
|
806
|
+
// gap: 5px;
|
|
807
|
+
// padding: 4.5px 0;
|
|
808
|
+
// > div {
|
|
809
|
+
// display: flex;
|
|
810
|
+
// align-items: center;
|
|
811
|
+
// gap: 10px;
|
|
812
|
+
// justify-content: end;
|
|
813
|
+
// }
|
|
814
|
+
// p {
|
|
815
|
+
// margin: 0;
|
|
816
|
+
// }
|
|
817
|
+
// }
|
|
818
|
+
// }
|
|
819
|
+
// `;
|
|
820
|
+
export const DrawerHeader = styled.div `
|
|
821
|
+
position: sticky;
|
|
822
|
+
top: 0px;
|
|
823
|
+
height: 50px;
|
|
824
|
+
padding: 0px 15px;
|
|
825
|
+
box-sizing: border-box;
|
|
826
|
+
background-color: #ffffff;
|
|
827
|
+
flex-shrink: 0;
|
|
828
|
+
z-index: 20;
|
|
829
|
+
border-bottom: 1px solid #e5e5e5;
|
|
830
|
+
display: flex;
|
|
831
|
+
align-items: center;
|
|
832
|
+
justify-content: space-between;
|
|
833
|
+
gap: 100px;
|
|
834
|
+
width: 100%;
|
|
835
|
+
max-width: 100%;
|
|
836
|
+
|
|
837
|
+
.left-content {
|
|
838
|
+
display: flex;
|
|
839
|
+
align-items: center;
|
|
840
|
+
gap: 15px;
|
|
841
|
+
max-width: calc(100% - 150px);
|
|
842
|
+
|
|
843
|
+
#header-journey-name {
|
|
844
|
+
max-width: 100%;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.right-content {
|
|
849
|
+
display: flex;
|
|
850
|
+
align-items: center;
|
|
851
|
+
gap: 15px;
|
|
852
|
+
|
|
853
|
+
.header-info-drawer {
|
|
854
|
+
display: flex;
|
|
855
|
+
flex-direction: column;
|
|
856
|
+
gap: 5px;
|
|
857
|
+
padding: 4.5px 0;
|
|
858
|
+
|
|
859
|
+
> div {
|
|
860
|
+
display: flex;
|
|
861
|
+
align-items: center;
|
|
862
|
+
gap: 10px;
|
|
863
|
+
justify-content: end;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
p {
|
|
867
|
+
margin: 0;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
`;
|