@antscorp/antsomi-ui 1.3.6-beta.64 → 1.3.6-beta.65

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.
Files changed (230) hide show
  1. package/README.md +78 -78
  2. package/es/__mocks__/1000_city.json +802 -802
  3. package/es/assets/css/main.scss +4 -4
  4. package/es/assets/images/feedback.svg +3 -3
  5. package/es/assets/svg/mobile-frame.svg +3 -3
  6. package/es/assets/svg/warning-icon.svg +5 -5
  7. package/es/components/atoms/Alert/Alert.js +28 -28
  8. package/es/components/atoms/ContentEditable/styled.js +16 -16
  9. package/es/components/atoms/DividerPure/styled.js +35 -35
  10. package/es/components/atoms/Icon/index.js +19 -19
  11. package/es/components/atoms/Iframe/Iframe.js +18 -18
  12. package/es/components/atoms/Input/styled.js +104 -104
  13. package/es/components/atoms/InputDynamic/styled.js +284 -284
  14. package/es/components/atoms/MobileBrandingBar/styled.js +21 -21
  15. package/es/components/atoms/MobileFrame/styled.js +30 -30
  16. package/es/components/atoms/MobileFrameV2/styled.js +42 -42
  17. package/es/components/atoms/MobileFrameV3/styled.js +31 -31
  18. package/es/components/atoms/NotificationStatus/styled.js +10 -10
  19. package/es/components/atoms/PreviewTabs/styled.js +69 -69
  20. package/es/components/atoms/Radio/index.js +16 -16
  21. package/es/components/atoms/ReactIframe/ReactIframe.js +5 -5
  22. package/es/components/atoms/ReactIframe/styled.js +9 -9
  23. package/es/components/atoms/RequiredLabel/styled.js +3 -3
  24. package/es/components/atoms/ScrollBox/index.js +5 -5
  25. package/es/components/atoms/Scrollbars/styled.js +21 -21
  26. package/es/components/atoms/SelectAssociatedTag/styled.js +51 -51
  27. package/es/components/atoms/SlideBar/styled.js +194 -194
  28. package/es/components/atoms/Slider/styled.js +31 -31
  29. package/es/components/atoms/Space/Space.js +4 -4
  30. package/es/components/atoms/Spin/styled.js +11 -11
  31. package/es/components/atoms/Steps/styled.js +244 -244
  32. package/es/components/atoms/Switch/styled.js +56 -56
  33. package/es/components/atoms/Tag/Tag.js +10 -10
  34. package/es/components/atoms/Text/styled.js +34 -34
  35. package/es/components/icons/DomainManagementIcon.js +1 -1
  36. package/es/components/icons/LoadingIcon.js +33 -33
  37. package/es/components/icons/document/styled.js +43 -43
  38. package/es/components/molecules/AccessDenied/styled.js +28 -28
  39. package/es/components/molecules/AccountSelection/styled.js +110 -110
  40. package/es/components/molecules/AddDynamicContent/components/DisplayFormat/DisplayFormat.d.ts +0 -1
  41. package/es/components/molecules/AddDynamicContent/styled.js +23 -23
  42. package/es/components/molecules/AlignSetting/styled.js +4 -4
  43. package/es/components/molecules/ApplyPopupContent/styled.js +32 -32
  44. package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/styled.js +8 -8
  45. package/es/components/molecules/CalendarSelection/components/CustomPicker/styled.js +79 -79
  46. package/es/components/molecules/CalendarSelection/components/Footer/styled.js +4 -4
  47. package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +21 -21
  48. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +26 -26
  49. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.js +30 -30
  50. package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +26 -26
  51. package/es/components/molecules/CalendarSelection/styled.js +8 -8
  52. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +119 -119
  53. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +67 -67
  54. package/es/components/molecules/CaptureScreen/styled.js +240 -240
  55. package/es/components/molecules/ChartTab/components/styled.js +24 -24
  56. package/es/components/molecules/ChartTab/styled.js +20 -20
  57. package/es/components/molecules/ChatBox/AntsomiAI.js +8 -8
  58. package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -9
  59. package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +365 -365
  60. package/es/components/molecules/ChatBox/styled.js +324 -324
  61. package/es/components/molecules/CodeStructure/styled.js +5 -5
  62. package/es/components/molecules/ColorPicker/ChromePicker/styled.js +10 -10
  63. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +89 -89
  64. package/es/components/molecules/ColorPicker/SketchPicker/styled.js +5 -5
  65. package/es/components/molecules/ColorPicker/styled.js +7 -7
  66. package/es/components/molecules/ColorSetting/styled.js +32 -32
  67. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +110 -110
  68. package/es/components/molecules/DatePickerV2/styled.js +6 -6
  69. package/es/components/molecules/DisplayFormat/styled.js +12 -12
  70. package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +24 -24
  71. package/es/components/molecules/DrawerDetail/styled.js +109 -109
  72. package/es/components/molecules/Dropdown/style.scss +11 -11
  73. package/es/components/molecules/Dropdown/styled.js +28 -28
  74. package/es/components/molecules/EdgeSetting/styled.js +10 -10
  75. package/es/components/molecules/EditableName/styled.js +70 -70
  76. package/es/components/molecules/EditingList/styled.js +29 -29
  77. package/es/components/molecules/EditorTab/styled.js +156 -156
  78. package/es/components/molecules/EmojiCollections/styled.js +22 -22
  79. package/es/components/molecules/EmojiPopover/styled.js +4 -4
  80. package/es/components/molecules/EmptyData/styled.js +53 -53
  81. package/es/components/molecules/GradientSetting/styled.js +57 -57
  82. package/es/components/molecules/HeaderV2/styled.js +70 -70
  83. package/es/components/molecules/IconSelection/styled.js +69 -69
  84. package/es/components/molecules/ImageEditor/components/ModalShortcut.js +21 -21
  85. package/es/components/molecules/ImageEditor/styled.js +5 -5
  86. package/es/components/molecules/ImagePreview/styled.js +3 -3
  87. package/es/components/molecules/InputNumberWithUnit/styled.js +14 -14
  88. package/es/components/molecules/InputSearch/styled.js +41 -41
  89. package/es/components/molecules/InputSelectAttribute/styled.js +22 -22
  90. package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +5 -5
  91. package/es/components/molecules/MatchAnySelect/styled.js +245 -245
  92. package/es/components/molecules/Modal/styled.js +63 -63
  93. package/es/components/molecules/ModalSelect/styled.js +152 -152
  94. package/es/components/molecules/ModalV2/styled.js +27 -27
  95. package/es/components/molecules/PopupDraggable/styled.js +57 -57
  96. package/es/components/molecules/PreviewModal/styled.js +26 -26
  97. package/es/components/molecules/ProcessLoading/styled.js +2 -2
  98. package/es/components/molecules/RadioGroup/styled.js +9 -9
  99. package/es/components/molecules/RequestAccess/styled.js +38 -38
  100. package/es/components/molecules/ResizeGrid/components/Cell/styled.js +77 -77
  101. package/es/components/molecules/ResizeGrid/styled.js +50 -50
  102. package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/styled.js +118 -118
  103. package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +13 -13
  104. package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +40 -40
  105. package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +27 -27
  106. package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +2 -2
  107. package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +38 -38
  108. package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +36 -36
  109. package/es/components/molecules/SearchPopover/components/PopoverSelect/styles.scss +7 -7
  110. package/es/components/molecules/SearchPopover/styled.js +32 -32
  111. package/es/components/molecules/Select/styled.js +32 -32
  112. package/es/components/molecules/SelectAccount/styled.js +147 -147
  113. package/es/components/molecules/SelectEventAttribute/styled.js +8 -8
  114. package/es/components/molecules/SelectMulti/styled.js +62 -62
  115. package/es/components/molecules/SelectV2/styled.js +124 -124
  116. package/es/components/molecules/SettingWrapper/styled.js +12 -12
  117. package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +56 -56
  118. package/es/components/molecules/ShareAccess/components/LayoutContent/styled.js +5 -5
  119. package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/styled.js +15 -15
  120. package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +63 -63
  121. package/es/components/molecules/ShareAccess/components/SearchUser/styled.js +31 -31
  122. package/es/components/molecules/SliderWithInputNumber/styled.js +2 -2
  123. package/es/components/molecules/Tabs/Tabs.js +11 -11
  124. package/es/components/molecules/TagifyInput/TagifyInput.js +41 -41
  125. package/es/components/molecules/TagifyInput/styled.js +37 -37
  126. package/es/components/molecules/TagifyInput/utils.js +13 -13
  127. package/es/components/molecules/TagifyInput/utils.style.js +208 -208
  128. package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +5 -5
  129. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +276 -276
  130. package/es/components/molecules/TemplateSaveAs/styled.js +134 -134
  131. package/es/components/molecules/ThumbnailCard/styled.js +92 -92
  132. package/es/components/molecules/Tree/styled.js +38 -38
  133. package/es/components/molecules/UploadImage/styled.js +114 -114
  134. package/es/components/molecules/VirtualizedMenu/styled.js +66 -66
  135. package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/styles.js +98 -98
  136. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +18 -18
  137. package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +543 -543
  138. package/es/components/organism/AccountProfile/components/AccountSetting/styles.scss +39 -39
  139. package/es/components/organism/AccountSharing/styled.js +346 -346
  140. package/es/components/organism/ActivityTimeline/components/ActionHistory/styled.js +28 -28
  141. package/es/components/organism/ActivityTimeline/components/CardMember/styled.js +60 -60
  142. package/es/components/organism/ActivityTimeline/components/ItemGroupEvent/styled.js +4 -4
  143. package/es/components/organism/ActivityTimeline/components/List/styled.js +77 -77
  144. package/es/components/organism/ActivityTimeline/components/ListItem/styled.js +37 -37
  145. package/es/components/organism/ActivityTimeline/components/ProductCard/styled.js +92 -92
  146. package/es/components/organism/ActivityTimeline/components/Redeem/styled.js +7 -7
  147. package/es/components/organism/ActivityTimeline/components/Slide/styled.js +20 -20
  148. package/es/components/organism/ActivityTimeline/components/TimeLineTitle/styled.js +7 -7
  149. package/es/components/organism/ActivityTimeline/components/TimelineSection/styled.js +69 -69
  150. package/es/components/organism/ActivityTimeline/styled.js +39 -39
  151. package/es/components/organism/AlgorithmsSetting/styled.js +35 -35
  152. package/es/components/organism/ContentSources/styled.js +50 -50
  153. package/es/components/organism/DataTable/components/AddButton/index.js +8 -8
  154. package/es/components/organism/DataTable/components/ModifyColumn/styled.js +18 -18
  155. package/es/components/organism/DataTable/components/Pagination/styled.js +26 -26
  156. package/es/components/organism/DataTable/components/Table/styled.js +135 -135
  157. package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +17 -17
  158. package/es/components/organism/DataTable/components/Toolbar/styled.js +70 -70
  159. package/es/components/organism/DataTable/styled/index.js +84 -84
  160. package/es/components/organism/Filter/components/FilterCondition/styled.js +34 -34
  161. package/es/components/organism/Filter/styled.js +109 -109
  162. package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +5 -5
  163. package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +63 -63
  164. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +31 -31
  165. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +22 -22
  166. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +55 -55
  167. package/es/components/organism/FilterSetting/styled.js +19 -19
  168. package/es/components/organism/GenerativeInsights/styled.js +55 -55
  169. package/es/components/organism/Help/Help.js +3 -3
  170. package/es/components/organism/Help/styled.js +253 -253
  171. package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +39 -39
  172. package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +16 -16
  173. package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +156 -156
  174. package/es/components/organism/LeftMenu/styled.js +214 -214
  175. package/es/components/organism/Login/components/ForgotPassword/styled.js +8 -8
  176. package/es/components/organism/Login/components/LoginSelectPortal/Item/styled.js +31 -31
  177. package/es/components/organism/Login/components/LoginSelectPortal/styled.js +3 -3
  178. package/es/components/organism/Login/components/LoginStep2/styled.js +3 -3
  179. package/es/components/organism/Login/components/SetupGGAuthenticator/styled.js +7 -7
  180. package/es/components/organism/Login/components/SignIn/styled.js +8 -8
  181. package/es/components/organism/Login/components/VerifyAccount/styled.js +13 -13
  182. package/es/components/organism/Login/components/WidgetLayout/styled.js +18 -18
  183. package/es/components/organism/Login/styled.js +114 -114
  184. package/es/components/organism/Menu/styled.js +6 -6
  185. package/es/components/organism/ModifyColumnModal/styled.js +132 -132
  186. package/es/components/organism/Notification/styled.js +155 -155
  187. package/es/components/organism/PreviewCollections/Messages/SkeletonMessage/styled.js +14 -14
  188. package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/index.js +24 -25
  189. package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/styled.js +56 -56
  190. package/es/components/organism/PreviewCollections/constants.js +42 -42
  191. package/es/components/organism/PreviewCollections/styled.js +16 -16
  192. package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +78 -78
  193. package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +52 -52
  194. package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +18 -18
  195. package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +77 -77
  196. package/es/components/organism/PreviewTemplateModal/styled.js +21 -21
  197. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +11 -11
  198. package/es/components/organism/Table/CrossTabTable/styled.js +11 -11
  199. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +17 -17
  200. package/es/components/organism/Table/ExplorePivotTable/styled.js +11 -11
  201. package/es/components/organism/TicketEditor/components/Editor/EditorToolbar.js +5 -5
  202. package/es/components/organism/TicketEditor/styled.js +833 -833
  203. package/es/components/organism/TicketEditorV2/Content.js +3 -3
  204. package/es/components/organism/TicketEditorV2/styled.js +837 -837
  205. package/es/components/template/Layout/Layout.js +10 -10
  206. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +73 -73
  207. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +39 -39
  208. package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/styled.js +61 -61
  209. package/es/components/template/Layout/components/RecommendationWorkspace/styled.js +16 -16
  210. package/es/components/template/Layout/styled.js +84 -84
  211. package/es/components/template/TemplateListing/Loadable.d.ts +0 -1
  212. package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +21 -21
  213. package/es/components/template/TemplateListing/components/CategoryListing/styled.js +123 -123
  214. package/es/components/template/TemplateListing/components/Empty/styled.js +20 -20
  215. package/es/components/template/TemplateListing/stories/demo/styled.js +4 -4
  216. package/es/components/template/TemplateListing/styled/index.js +40 -40
  217. package/es/providers/ConfigProvider/GlobalStyle.js +1249 -1249
  218. package/es/stories/assets/colors.svg +1 -0
  219. package/es/stories/assets/comments.svg +1 -0
  220. package/es/stories/assets/direction.svg +1 -0
  221. package/es/stories/assets/flow.svg +1 -0
  222. package/es/stories/assets/plugin.svg +1 -0
  223. package/es/stories/assets/repo.svg +1 -0
  224. package/es/stories/assets/stackalt.svg +1 -0
  225. package/es/styled/common.js +51 -51
  226. package/es/tests/styled.js +4 -4
  227. package/es/utils/variables.js +7 -7
  228. package/package.json +262 -262
  229. package/es/components/organism/ActivityTimeline/__mocks__/event_tracking.json +0 -1556
  230. package/es/components/organism/ActivityTimeline/__mocks__/timeline.json +0 -2885
@@ -2,792 +2,792 @@ import styled from 'styled-components';
2
2
  import { Button } from '@antscorp/antsomi-ui/es/components/atoms/Button';
3
3
  import { Checkbox } from '@antscorp/antsomi-ui/es/components/atoms/Checkbox';
4
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
- flex-wrap: wrap;
18
- `;
19
- export const WrapperLeftContent = styled.div `
20
- flex: 1;
21
- // border-right: 1px solid #e5e5e5;
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: 2;
36
- width: 100%;
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
- align-items: flex-start;
553
- justify-content: 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
- font-size: 12px;
563
- color: #7f7f7f;
564
- margin-right: 5px;
565
- white-space: nowrap;
566
- }
567
- .comment-content {
568
- font-size: 12px;
569
- color: #333;
570
-
571
- img {
572
- width: 100%;
573
- }
574
- }
575
- `;
576
- export const WrapperMessageContent = styled.div `
577
- // height: calc(100% - 354px);
578
- min-height: 150px;
579
- overflow: auto;
580
- ::-webkit-scrollbar {
581
- width: 8px;
582
- height: 8px;
583
- }
584
- ::-webkit-scrollbar-track {
585
- background: #f2f2f2;
586
- }
587
-
588
- ::-webkit-scrollbar-thumb {
589
- background: #cccccc;
590
- }
591
- `;
592
- export const WrapperLoading = styled.div `
593
- width: ${props => (props.width ? props.width : 'calc(100% - 100px)')};
594
- height: ${props => (props.height ? props.height : '100%')};
595
- position: fixed;
596
- background: rgba(0, 0, 0, 0.06);
597
- display: flex;
598
- align-items: center;
599
- justify-content: center;
600
- z-index: 2000;
601
- `;
602
- export const WrapperBtnAddAcc = styled(Button) `
603
- &.MuiButton-outlined {
604
- display: flex;
605
- align-items: center;
606
- border: 1px solid #005eb8;
607
- height: 24px;
608
- border-radius: 20px;
609
- padding: 10px;
610
- }
611
- &.MuiButton-root:hover {
612
- background: #fff;
613
- }
614
- `;
615
- export const WrapperModalImg = styled(Modal) `
616
- &.image-modal {
617
- display: flex;
618
- align-items: center;
619
- justify-content: center;
620
- height: 100vh;
621
- .modal-content {
622
- border: none;
623
- background: transparent;
624
- height: 100%;
625
- width: 100%;
626
- }
627
- .modal-img-content {
628
- width: 90%;
629
- height: 90%;
630
- outline: none !important;
631
- }
632
- }
633
- `;
634
- export const WrapperModalHeaderImg = styled.div `
635
- height: 20px;
636
- width: calc(100% + 40px);
637
- display: flex;
638
- justify-content: flex-end;
639
- `;
640
- export const TicketButton = styled.button `
641
- width: 36px;
642
- height: 36px;
643
- border: 1px solid #e0e6eb;
644
- border-radius: 5px;
645
- display: flex;
646
- align-items: center;
647
- justify-content: center;
648
- position: relative;
649
- background: #fff;
650
- cursor: pointer;
651
-
652
- &:focus {
653
- outline: none;
654
- }
655
-
656
- > .add-icon {
657
- position: absolute;
658
- bottom: -3px;
659
- right: -3px;
660
- }
661
- `;
662
- export const WrapperCheckBox = styled(Checkbox) `
663
- &.MuiCheckbox-colorPrimary.Mui-checked {
664
- color: #005eb8;
665
- }
666
- `;
667
- export const WrapperMessage = styled.div `
668
- &.container-content {
669
- z-index: 10000;
670
- bottom: 40px;
671
- left: 10px;
672
- position: fixed;
673
- width: 345px;
674
- height: 72px;
675
- animation: myfirst 0.2s ease-in-out;
676
- @keyframes myfirst {
677
- 0% {
678
- left: -150px;
679
- }
680
- 25% {
681
- left: -100px;
682
- }
683
- 50% {
684
- left: -50px;
685
- }
686
- 75% {
687
- left: 0px;
688
- }
689
- 100% {
690
- left: 10px;
691
- }
692
- }
693
- }
694
-
695
- .content {
696
- background: #333;
697
- border-top-left-radius: 3px;
698
- border-bottom-left-radius: 3px;
699
- padding: 12px 24px;
700
- }
701
-
702
- .icon-check {
703
- width: 100%;
704
- height: 100%;
705
- color: #fff;
706
- display: flex;
707
- align-items: center;
708
- justify-content: center;
709
-
710
- .check-icon {
711
- font-size: 9px;
712
- }
713
- }
714
-
715
- .floating {
716
- color: '#6ac259';
717
- font-size: 14px;
718
- align-items: center;
719
- // justify-content: space-between;
720
- box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0.375em 0px !important;
721
- border-left: 0.35rem solid;
722
- border-radius: 0.35rem;
723
- background-color: white;
724
- padding: 0.75rem 1.5rem;
725
- position: relative;
726
-
727
- display: inline-flex;
728
- max-width: 100%;
729
- pointer-events: auto;
730
- text-align: left;
731
- height: 72px;
732
- width: 435px;
733
- .alert__title {
734
- font-weight: 700;
735
- /* text-shadow: 0 0 1px transparent; */
736
- margin-bottom: 0.5rem;
737
- margin-top: 0;
738
- display: block;
739
- line-height: normal;
740
- text-transform: none;
741
- font-size: 16px !important;
742
- color: inherit;
743
- }
744
- .secondary__title {
745
- color: grey;
746
- }
747
- .floating-alert-list__child-wrapper {
748
- left: 0;
749
- overflow: auto;
750
- position: absolute;
751
- top: 0;
752
- width: 100%;
753
- }
754
- .noti-content {
755
- min-width: 200px;
756
- }
757
- }
758
- `;
759
- export const TicketEditorWrapper = styled.div `
760
- .modal {
761
- display: flex;
762
- align-items: center;
763
- justify-content: center;
764
- }
765
- .wrapperBody {
766
- background: #fff;
767
- width: 500px;
768
- border-radius: 4px;
769
- }
770
- .modalBody {
771
- padding: 16px;
772
- }
773
- .modalFooter {
774
- padding: 12px;
775
- justify-content: flex-start;
776
- gap: 10px;
777
- display: flex;
778
- }
779
- .popoverBody {
780
- padding: 0;
781
- }
782
- .popoverItem {
783
- cursor: pointer;
784
- padding: 5px 10px;
785
- font-size: 13px !important;
786
-
787
- &:hover {
788
- background-color: #ddd;
789
- }
790
- }
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
+ flex-wrap: wrap;
18
+ `;
19
+ export const WrapperLeftContent = styled.div `
20
+ flex: 1;
21
+ // border-right: 1px solid #e5e5e5;
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: 2;
36
+ width: 100%;
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
+ align-items: flex-start;
553
+ justify-content: 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
+ font-size: 12px;
563
+ color: #7f7f7f;
564
+ margin-right: 5px;
565
+ white-space: nowrap;
566
+ }
567
+ .comment-content {
568
+ font-size: 12px;
569
+ color: #333;
570
+
571
+ img {
572
+ width: 100%;
573
+ }
574
+ }
575
+ `;
576
+ export const WrapperMessageContent = styled.div `
577
+ // height: calc(100% - 354px);
578
+ min-height: 150px;
579
+ overflow: auto;
580
+ ::-webkit-scrollbar {
581
+ width: 8px;
582
+ height: 8px;
583
+ }
584
+ ::-webkit-scrollbar-track {
585
+ background: #f2f2f2;
586
+ }
587
+
588
+ ::-webkit-scrollbar-thumb {
589
+ background: #cccccc;
590
+ }
591
+ `;
592
+ export const WrapperLoading = styled.div `
593
+ width: ${props => (props.width ? props.width : 'calc(100% - 100px)')};
594
+ height: ${props => (props.height ? props.height : '100%')};
595
+ position: fixed;
596
+ background: rgba(0, 0, 0, 0.06);
597
+ display: flex;
598
+ align-items: center;
599
+ justify-content: center;
600
+ z-index: 2000;
601
+ `;
602
+ export const WrapperBtnAddAcc = styled(Button) `
603
+ &.MuiButton-outlined {
604
+ display: flex;
605
+ align-items: center;
606
+ border: 1px solid #005eb8;
607
+ height: 24px;
608
+ border-radius: 20px;
609
+ padding: 10px;
610
+ }
611
+ &.MuiButton-root:hover {
612
+ background: #fff;
613
+ }
614
+ `;
615
+ export const WrapperModalImg = styled(Modal) `
616
+ &.image-modal {
617
+ display: flex;
618
+ align-items: center;
619
+ justify-content: center;
620
+ height: 100vh;
621
+ .modal-content {
622
+ border: none;
623
+ background: transparent;
624
+ height: 100%;
625
+ width: 100%;
626
+ }
627
+ .modal-img-content {
628
+ width: 90%;
629
+ height: 90%;
630
+ outline: none !important;
631
+ }
632
+ }
633
+ `;
634
+ export const WrapperModalHeaderImg = styled.div `
635
+ height: 20px;
636
+ width: calc(100% + 40px);
637
+ display: flex;
638
+ justify-content: flex-end;
639
+ `;
640
+ export const TicketButton = styled.button `
641
+ width: 36px;
642
+ height: 36px;
643
+ border: 1px solid #e0e6eb;
644
+ border-radius: 5px;
645
+ display: flex;
646
+ align-items: center;
647
+ justify-content: center;
648
+ position: relative;
649
+ background: #fff;
650
+ cursor: pointer;
651
+
652
+ &:focus {
653
+ outline: none;
654
+ }
655
+
656
+ > .add-icon {
657
+ position: absolute;
658
+ bottom: -3px;
659
+ right: -3px;
660
+ }
661
+ `;
662
+ export const WrapperCheckBox = styled(Checkbox) `
663
+ &.MuiCheckbox-colorPrimary.Mui-checked {
664
+ color: #005eb8;
665
+ }
666
+ `;
667
+ export const WrapperMessage = styled.div `
668
+ &.container-content {
669
+ z-index: 10000;
670
+ bottom: 40px;
671
+ left: 10px;
672
+ position: fixed;
673
+ width: 345px;
674
+ height: 72px;
675
+ animation: myfirst 0.2s ease-in-out;
676
+ @keyframes myfirst {
677
+ 0% {
678
+ left: -150px;
679
+ }
680
+ 25% {
681
+ left: -100px;
682
+ }
683
+ 50% {
684
+ left: -50px;
685
+ }
686
+ 75% {
687
+ left: 0px;
688
+ }
689
+ 100% {
690
+ left: 10px;
691
+ }
692
+ }
693
+ }
694
+
695
+ .content {
696
+ background: #333;
697
+ border-top-left-radius: 3px;
698
+ border-bottom-left-radius: 3px;
699
+ padding: 12px 24px;
700
+ }
701
+
702
+ .icon-check {
703
+ width: 100%;
704
+ height: 100%;
705
+ color: #fff;
706
+ display: flex;
707
+ align-items: center;
708
+ justify-content: center;
709
+
710
+ .check-icon {
711
+ font-size: 9px;
712
+ }
713
+ }
714
+
715
+ .floating {
716
+ color: '#6ac259';
717
+ font-size: 14px;
718
+ align-items: center;
719
+ // justify-content: space-between;
720
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0.375em 0px !important;
721
+ border-left: 0.35rem solid;
722
+ border-radius: 0.35rem;
723
+ background-color: white;
724
+ padding: 0.75rem 1.5rem;
725
+ position: relative;
726
+
727
+ display: inline-flex;
728
+ max-width: 100%;
729
+ pointer-events: auto;
730
+ text-align: left;
731
+ height: 72px;
732
+ width: 435px;
733
+ .alert__title {
734
+ font-weight: 700;
735
+ /* text-shadow: 0 0 1px transparent; */
736
+ margin-bottom: 0.5rem;
737
+ margin-top: 0;
738
+ display: block;
739
+ line-height: normal;
740
+ text-transform: none;
741
+ font-size: 16px !important;
742
+ color: inherit;
743
+ }
744
+ .secondary__title {
745
+ color: grey;
746
+ }
747
+ .floating-alert-list__child-wrapper {
748
+ left: 0;
749
+ overflow: auto;
750
+ position: absolute;
751
+ top: 0;
752
+ width: 100%;
753
+ }
754
+ .noti-content {
755
+ min-width: 200px;
756
+ }
757
+ }
758
+ `;
759
+ export const TicketEditorWrapper = styled.div `
760
+ .modal {
761
+ display: flex;
762
+ align-items: center;
763
+ justify-content: center;
764
+ }
765
+ .wrapperBody {
766
+ background: #fff;
767
+ width: 500px;
768
+ border-radius: 4px;
769
+ }
770
+ .modalBody {
771
+ padding: 16px;
772
+ }
773
+ .modalFooter {
774
+ padding: 12px;
775
+ justify-content: flex-start;
776
+ gap: 10px;
777
+ display: flex;
778
+ }
779
+ .popoverBody {
780
+ padding: 0;
781
+ }
782
+ .popoverItem {
783
+ cursor: pointer;
784
+ padding: 5px 10px;
785
+ font-size: 13px !important;
786
+
787
+ &:hover {
788
+ background-color: #ddd;
789
+ }
790
+ }
791
791
  `;
792
792
  // export const DrawerHeader = styled.div`
793
793
  // background: #ffffff;
@@ -821,55 +821,55 @@ export const TicketEditorWrapper = styled.div `
821
821
  // }
822
822
  // }
823
823
  // `;
824
- export const DrawerHeader = styled.div `
825
- position: sticky;
826
- top: 0px;
827
- height: 50px;
828
- padding: 0px 15px;
829
- box-sizing: border-box;
830
- background-color: #ffffff;
831
- flex-shrink: 0;
832
- z-index: 20;
833
- border-bottom: 1px solid #e5e5e5;
834
- display: flex;
835
- align-items: center;
836
- justify-content: space-between;
837
- gap: 100px;
838
- width: 100%;
839
- max-width: 100%;
840
-
841
- .left-content {
842
- display: flex;
843
- align-items: center;
844
- gap: 15px;
845
- max-width: calc(100% - 150px);
846
-
847
- #header-journey-name {
848
- max-width: 100%;
849
- }
850
- }
851
-
852
- .right-content {
853
- display: flex;
854
- align-items: center;
855
- gap: 15px;
856
-
857
- .header-info-drawer {
858
- display: flex;
859
- flex-direction: column;
860
- gap: 5px;
861
- padding: 4.5px 0;
862
-
863
- > div {
864
- display: flex;
865
- align-items: center;
866
- gap: 10px;
867
- justify-content: end;
868
- }
869
-
870
- p {
871
- margin: 0;
872
- }
873
- }
874
- }
824
+ export const DrawerHeader = styled.div `
825
+ position: sticky;
826
+ top: 0px;
827
+ height: 50px;
828
+ padding: 0px 15px;
829
+ box-sizing: border-box;
830
+ background-color: #ffffff;
831
+ flex-shrink: 0;
832
+ z-index: 20;
833
+ border-bottom: 1px solid #e5e5e5;
834
+ display: flex;
835
+ align-items: center;
836
+ justify-content: space-between;
837
+ gap: 100px;
838
+ width: 100%;
839
+ max-width: 100%;
840
+
841
+ .left-content {
842
+ display: flex;
843
+ align-items: center;
844
+ gap: 15px;
845
+ max-width: calc(100% - 150px);
846
+
847
+ #header-journey-name {
848
+ max-width: 100%;
849
+ }
850
+ }
851
+
852
+ .right-content {
853
+ display: flex;
854
+ align-items: center;
855
+ gap: 15px;
856
+
857
+ .header-info-drawer {
858
+ display: flex;
859
+ flex-direction: column;
860
+ gap: 5px;
861
+ padding: 4.5px 0;
862
+
863
+ > div {
864
+ display: flex;
865
+ align-items: center;
866
+ gap: 10px;
867
+ justify-content: end;
868
+ }
869
+
870
+ p {
871
+ margin: 0;
872
+ }
873
+ }
874
+ }
875
875
  `;