@antscorp/antsomi-ui 1.3.3-beta.34 → 1.3.3-beta.35

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 (278) hide show
  1. package/es/components/atoms/Alert/Alert.js +6 -13
  2. package/es/components/atoms/Button/index.js +1 -1
  3. package/es/components/atoms/Button/test.js +6 -6
  4. package/es/components/atoms/DividerPure/DividerPure.js +15 -4
  5. package/es/components/atoms/DividerPure/styled.js +6 -36
  6. package/es/components/atoms/Empty/Empty.js +1 -1
  7. package/es/components/atoms/FloatButton/index.js +1 -1
  8. package/es/components/atoms/Grid/Grid.js +2 -2
  9. package/es/components/atoms/Icon/index.js +15 -28
  10. package/es/components/atoms/Input/Input.js +32 -21
  11. package/es/components/atoms/Input/styled.js +12 -102
  12. package/es/components/atoms/InputDynamic/EditCaretPositioning.js +13 -13
  13. package/es/components/atoms/InputDynamic/InputDynamic.js +97 -83
  14. package/es/components/atoms/InputDynamic/PopupShortLink.js +21 -20
  15. package/es/components/atoms/InputDynamic/styled.js +13 -275
  16. package/es/components/atoms/InputDynamic/utils.js +114 -104
  17. package/es/components/atoms/InputNumber/InputNumber.js +14 -3
  18. package/es/components/atoms/MobileFrame/MobileFrame.js +14 -3
  19. package/es/components/atoms/MobileFrame/constants.js +1 -1
  20. package/es/components/atoms/MobileFrame/styled.js +8 -29
  21. package/es/components/atoms/Pagination/Pagination.js +1 -1
  22. package/es/components/atoms/Popover/Popover.js +1 -1
  23. package/es/components/atoms/Popover/styled.js +6 -1
  24. package/es/components/atoms/PreviewTabs/PreviewTabs.js +31 -20
  25. package/es/components/atoms/PreviewTabs/styled.js +10 -71
  26. package/es/components/atoms/Progress/Progress.js +1 -1
  27. package/es/components/atoms/Radio/index.js +8 -18
  28. package/es/components/atoms/Rate/Rate.js +1 -1
  29. package/es/components/atoms/RateV2/RateV2.js +30 -24
  30. package/es/components/atoms/RequiredLabel/index.js +14 -3
  31. package/es/components/atoms/RequiredLabel/styled.js +7 -5
  32. package/es/components/atoms/ScrollBox/index.js +25 -14
  33. package/es/components/atoms/Segmented/Segmented.js +1 -1
  34. package/es/components/atoms/Skeleton/Skeleton.js +1 -1
  35. package/es/components/atoms/Slider/index.js +18 -7
  36. package/es/components/atoms/Slider/styled.js +10 -38
  37. package/es/components/atoms/SliderV2/index.js +21 -10
  38. package/es/components/atoms/Space/Space.js +7 -6
  39. package/es/components/atoms/Spin/Spin.js +14 -3
  40. package/es/components/atoms/Spin/styled.js +6 -3
  41. package/es/components/atoms/Statistic/Statistic.js +1 -1
  42. package/es/components/atoms/Steps/Steps.js +1 -1
  43. package/es/components/atoms/Switch/Switch.js +1 -1
  44. package/es/components/atoms/Text/index.js +15 -4
  45. package/es/components/atoms/Text/styled.js +11 -40
  46. package/es/components/atoms/Timeline/Timeline.js +1 -1
  47. package/es/components/atoms/Watermark/Watermark.js +1 -1
  48. package/es/components/common/ConfigProvider/ConfigProvider.js +15 -4
  49. package/es/components/common/ConfigProvider/GlobalStyle.js +8 -569
  50. package/es/components/icons/AccountCircle.js +13 -2
  51. package/es/components/icons/AddShoppingCart.js +13 -2
  52. package/es/components/icons/ArrowGrowIcon.js +13 -2
  53. package/es/components/icons/AssignmentInd.js +13 -2
  54. package/es/components/icons/AudioRecordIcon.js +13 -2
  55. package/es/components/icons/BugIcon.js +13 -2
  56. package/es/components/icons/Call.js +13 -2
  57. package/es/components/icons/CameraIcon.js +13 -2
  58. package/es/components/icons/CaptureIcon.js +13 -2
  59. package/es/components/icons/Category.js +13 -2
  60. package/es/components/icons/ChatBubbleOutline.js +13 -2
  61. package/es/components/icons/CheckSlimIcon.js +13 -2
  62. package/es/components/icons/CircleNotifications.js +13 -2
  63. package/es/components/icons/CloseIcon.js +13 -2
  64. package/es/components/icons/CommentIcon.js +13 -2
  65. package/es/components/icons/ConfirmationNumber.js +13 -2
  66. package/es/components/icons/DesktopWindows.js +13 -2
  67. package/es/components/icons/EventIcon.js +13 -2
  68. package/es/components/icons/FactCheck.js +13 -2
  69. package/es/components/icons/FreeDrawIcon.js +13 -2
  70. package/es/components/icons/GPTIcon.js +2 -2
  71. package/es/components/icons/GPTIconV2.js +2 -2
  72. package/es/components/icons/GPTIconV3.js +13 -2
  73. package/es/components/icons/HighlightIcon.js +13 -2
  74. package/es/components/icons/HightlightAlt.js +13 -2
  75. package/es/components/icons/HowToReg.js +13 -2
  76. package/es/components/icons/IdeaIcon.js +13 -2
  77. package/es/components/icons/Interactive.js +13 -2
  78. package/es/components/icons/InvisibleIcon.js +13 -2
  79. package/es/components/icons/List.js +13 -2
  80. package/es/components/icons/LocalMallIcon.js +13 -2
  81. package/es/components/icons/MobileFriendly.js +13 -2
  82. package/es/components/icons/MuteIcon.js +13 -2
  83. package/es/components/icons/NotificationsActive.js +13 -2
  84. package/es/components/icons/OpenUrlIcon.js +13 -2
  85. package/es/components/icons/PauseIcon.js +13 -2
  86. package/es/components/icons/Payment.js +13 -2
  87. package/es/components/icons/PersonAddDisabled.js +13 -2
  88. package/es/components/icons/PhoneCallback.js +13 -2
  89. package/es/components/icons/PlaneIcon.js +13 -2
  90. package/es/components/icons/Preview.js +13 -2
  91. package/es/components/icons/Redeem.js +13 -2
  92. package/es/components/icons/RemoveRedEye.js +13 -2
  93. package/es/components/icons/RemoveShoppingCart.js +13 -2
  94. package/es/components/icons/RequestIcon.js +13 -2
  95. package/es/components/icons/Search.js +13 -2
  96. package/es/components/icons/ShoppingBag.js +13 -2
  97. package/es/components/icons/ShoppingCart.js +13 -2
  98. package/es/components/icons/StopRecordIcon.js +13 -2
  99. package/es/components/icons/Store.js +13 -2
  100. package/es/components/icons/UserIcon.js +13 -2
  101. package/es/components/icons/VerticalDotsIcon.js +13 -2
  102. package/es/components/icons/WarningIcon.js +13 -2
  103. package/es/components/icons/Web.js +13 -2
  104. package/es/components/icons/WebAsset.js +13 -2
  105. package/es/components/molecules/AlignSetting/index.js +20 -9
  106. package/es/components/molecules/AlignSetting/styled.js +6 -5
  107. package/es/components/molecules/AlignSetting/utils.js +2 -2
  108. package/es/components/molecules/CaptureScreen/CaptureScreen.js +269 -240
  109. package/es/components/molecules/CaptureScreen/components/CommentBox/CommentBox.js +36 -25
  110. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +15 -129
  111. package/es/components/molecules/CaptureScreen/components/Cursor/Cursor.js +2 -2
  112. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +10 -73
  113. package/es/components/molecules/CaptureScreen/constants.js +7 -7
  114. package/es/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
  115. package/es/components/molecules/CaptureScreen/hooks/useImageEditor.js +23 -23
  116. package/es/components/molecules/CaptureScreen/styled.js +28 -247
  117. package/es/components/molecules/CaptureScreen/themes/black.js +1 -1
  118. package/es/components/molecules/CaptureScreen/themes/white.js +1 -1
  119. package/es/components/molecules/CaptureScreen/utils.js +32 -29
  120. package/es/components/molecules/Card/Card.js +1 -1
  121. package/es/components/molecules/ChatBox/ChatBox.js +147 -81
  122. package/es/components/molecules/ChatBox/MessageItem.js +22 -20
  123. package/es/components/molecules/ChatBox/constants.js +2 -2
  124. package/es/components/molecules/ChatBox/styled.js +13 -275
  125. package/es/components/molecules/Collapse/Collapse.js +4 -3
  126. package/es/components/molecules/ColorPicker/ChromePicker/index.js +1 -1
  127. package/es/components/molecules/ColorPicker/ChromePicker/styled.js +6 -11
  128. package/es/components/molecules/ColorPicker/CustomPicker/index.js +33 -21
  129. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +14 -95
  130. package/es/components/molecules/ColorPicker/SketchPicker/index.js +12 -1
  131. package/es/components/molecules/ColorPicker/SketchPicker/styled.js +6 -6
  132. package/es/components/molecules/ColorPicker/index.js +17 -17
  133. package/es/components/molecules/ColorPicker/styled.js +6 -8
  134. package/es/components/molecules/ColorSetting/index.js +35 -15
  135. package/es/components/molecules/ColorSetting/styled.js +9 -36
  136. package/es/components/molecules/DatePicker/DatePicker.js +1 -1
  137. package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.js +146 -112
  138. package/es/components/molecules/DatePicker/components/AdvancedPicker/constants.js +10 -10
  139. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +12 -45
  140. package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.js +8 -3
  141. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.js +28 -9
  142. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/constants.js +1 -1
  143. package/es/components/molecules/Drawer/Drawer.js +1 -1
  144. package/es/components/molecules/EdgeSetting/index.js +69 -45
  145. package/es/components/molecules/EdgeSetting/styled.js +8 -13
  146. package/es/components/molecules/FontFamilySelect/constants.js +1 -1
  147. package/es/components/molecules/FontFamilySelect/index.js +33 -10
  148. package/es/components/molecules/FontSetting/constants.js +2 -2
  149. package/es/components/molecules/FontSetting/index.js +36 -22
  150. package/es/components/molecules/FontWeightSelect/constants.js +1 -1
  151. package/es/components/molecules/FontWeightSelect/index.js +32 -9
  152. package/es/components/molecules/GradientSetting/index.js +55 -35
  153. package/es/components/molecules/GradientSetting/styled.js +6 -58
  154. package/es/components/molecules/IconSelection/components/Icon/index.js +19 -8
  155. package/es/components/molecules/IconSelection/constants.js +37 -31
  156. package/es/components/molecules/IconSelection/index.js +56 -43
  157. package/es/components/molecules/IconSelection/styled.js +10 -74
  158. package/es/components/molecules/IconSelection/types.js +3 -1
  159. package/es/components/molecules/IconSelection/utils.js +3 -3
  160. package/es/components/molecules/InputNumber/index.js +23 -12
  161. package/es/components/molecules/InputNumberWithUnit/index.js +19 -5
  162. package/es/components/molecules/InputNumberWithUnit/styled.js +6 -15
  163. package/es/components/molecules/InputSearch/index.js +14 -3
  164. package/es/components/molecules/InputSearch/styled.js +6 -43
  165. package/es/components/molecules/Modal/Modal.js +23 -8
  166. package/es/components/molecules/Modal/styled.js +17 -69
  167. package/es/components/molecules/ModalV2/ModalV2.js +17 -6
  168. package/es/components/molecules/ModalV2/styled.js +6 -19
  169. package/es/components/molecules/Popconfirm/Popconfirm.js +1 -1
  170. package/es/components/molecules/PopupDraggable/PopupDraggable.js +25 -13
  171. package/es/components/molecules/PopupDraggable/styled.js +11 -47
  172. package/es/components/molecules/PreviewModal/PreviewModal.js +16 -5
  173. package/es/components/molecules/PreviewModal/styled.js +9 -30
  174. package/es/components/molecules/RadioGroup/index.js +14 -3
  175. package/es/components/molecules/RadioGroup/styled.js +7 -11
  176. package/es/components/molecules/ResizeGrid/ResizeGrid.js +338 -275
  177. package/es/components/molecules/ResizeGrid/components/Cell/Cell.js +37 -23
  178. package/es/components/molecules/ResizeGrid/components/Cell/styled.js +6 -78
  179. package/es/components/molecules/ResizeGrid/constant.js +37 -26
  180. package/es/components/molecules/ResizeGrid/styled.js +9 -54
  181. package/es/components/molecules/Result/Result.js +1 -1
  182. package/es/components/molecules/RichMenuBlock/RichMenuBlock.js +34 -23
  183. package/es/components/molecules/RichMenuBlock/RichMenuCell/index.js +11 -11
  184. package/es/components/molecules/RichMenuBlock/RichMenuCell/styled.js +18 -34
  185. package/es/components/molecules/RichMenuBlock/constants.js +1 -1
  186. package/es/components/molecules/RichMenuBlock/styled.js +16 -15
  187. package/es/components/molecules/RichMenuChatBar/RichMenuChatBar.js +17 -6
  188. package/es/components/molecules/RichMenuChatBar/TypingChat/index.js +3 -3
  189. package/es/components/molecules/RichMenuChatBar/TypingChat/styled.js +8 -43
  190. package/es/components/molecules/RichMenuChatBar/styled.js +10 -25
  191. package/es/components/molecules/RichMenuMobileView/RichMenuMobileView.js +22 -7
  192. package/es/components/molecules/RichMenuMobileView/styled.js +11 -18
  193. package/es/components/molecules/Select/Select.js +20 -9
  194. package/es/components/molecules/Select/Test.js +2 -2
  195. package/es/components/molecules/Select/styled.js +7 -34
  196. package/es/components/molecules/SettingWrapper/index.js +2 -2
  197. package/es/components/molecules/SettingWrapper/styled.js +9 -15
  198. package/es/components/molecules/SettingWrapperPopover/index.js +16 -4
  199. package/es/components/molecules/SliderWithInputNumber/index.js +19 -8
  200. package/es/components/molecules/SliderWithInputNumber/styled.js +6 -3
  201. package/es/components/molecules/TextDecorationSelect/constants.js +1 -1
  202. package/es/components/molecules/TextDecorationSelect/index.js +32 -9
  203. package/es/components/molecules/TextTransformSelect/constants.js +1 -1
  204. package/es/components/molecules/TextTransformSelect/index.js +32 -9
  205. package/es/components/molecules/TreeSelect/TreeSelect.js +1 -1
  206. package/es/components/molecules/UploadImage/MediaIcon.js +2 -2
  207. package/es/components/molecules/UploadImage/index.js +280 -182
  208. package/es/components/molecules/UploadImage/styled.js +16 -129
  209. package/es/components/organism/Help/Help.js +530 -422
  210. package/es/components/organism/Help/constants.js +12 -11
  211. package/es/components/organism/Help/styled.js +48 -257
  212. package/es/components/organism/Help/utils.js +11 -11
  213. package/es/components/organism/PositionSetting/config.js +2 -2
  214. package/es/components/organism/PositionSetting/index.js +27 -15
  215. package/es/components/organism/PositionSetting/styled.js +6 -1
  216. package/es/components/organism/Table/CrossTabTable/CrossTabTable.js +10 -10
  217. package/es/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.js +6 -6
  218. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +6 -12
  219. package/es/components/organism/Table/CrossTabTable/constants.js +3 -3
  220. package/es/components/organism/Table/CrossTabTable/styled.js +6 -12
  221. package/es/components/organism/Table/CrossTabTable/utils.js +1 -1
  222. package/es/components/organism/Table/ExplorePivotTable/ExplorePivotTable.js +23 -12
  223. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.js +8 -8
  224. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +8 -20
  225. package/es/components/organism/Table/ExplorePivotTable/constants.js +2 -2
  226. package/es/components/organism/Table/ExplorePivotTable/styled.js +7 -13
  227. package/es/components/organism/Table/ExplorePivotTable/utils.js +72 -52
  228. package/es/constants/gradientSetting.js +4 -4
  229. package/es/constants/keyCode.js +387 -387
  230. package/es/constants/richMenu.js +2 -2
  231. package/es/constants/storybook.js +2 -2
  232. package/es/constants/theme.js +6 -6
  233. package/es/hooks/index.js +1 -1
  234. package/es/hooks/useDebounce.js +5 -5
  235. package/es/hooks/useDeepCompareEffect.js +1 -1
  236. package/es/locales/i18n.js +2 -2
  237. package/es/locales/translations.js +23 -7
  238. package/es/models/SavedImage.js +68 -23
  239. package/es/models/Upload.js +64 -19
  240. package/es/models/model.js +5 -3
  241. package/es/services/MediaTemplateDesign/UploadFile/index.js +102 -46
  242. package/es/services/Ticket.js +89 -48
  243. package/es/services/constants.js +3 -3
  244. package/es/services/index.js +30 -19
  245. package/es/test.js +36 -25
  246. package/es/utils/color.js +22 -22
  247. package/es/utils/common.js +88 -75
  248. package/es/utils/handleError.js +49 -8
  249. package/es/utils/loadable.js +18 -6
  250. package/es/utils/web.js +26 -20
  251. package/package.json +3 -3
  252. package/dist/02028cc6be94478e1f13.svg +0 -1
  253. package/dist/0dfb9214dfd945cd7290.png +0 -1
  254. package/dist/19a777928d8a4fb24864.svg +0 -1
  255. package/dist/256cc472918edbfc13f3.ttf +0 -0
  256. package/dist/42deb30bedf71d95ec56.woff +0 -0
  257. package/dist/574b7bee0563a9fe9a29.png +0 -1
  258. package/dist/a772098db05052e4b517.eot +0 -0
  259. package/dist/bc6bf11c6f5e6743aa4c.png +0 -1
  260. package/dist/e32f09119052a55cce3c.png +0 -1
  261. package/dist/e3851b9384a984c6fdb5.png +0 -1
  262. package/dist/f422f99dc05cb0013092.png +0 -1
  263. package/dist/index.js +0 -2
  264. package/dist/index.js.LICENSE.txt +0 -69
  265. package/dist/main.css +0 -69
  266. package/dist/public/icons/2d496b55d85a9545d7311c073af442bb.png +0 -0
  267. package/dist/public/icons/2fbb4e0927d18e3f8e5c6511ab88d5b3.png +0 -0
  268. package/dist/public/icons/84d7dd910e6235dc6ce60657dd3bb062.svg +0 -87
  269. package/dist/public/icons/90553767e0a05b9585a54797cfd9ce51.png +0 -0
  270. package/dist/public/icons/97210ba7dc321670f4a144c1b40e88d8.png +0 -0
  271. package/dist/public/icons/d327b24e9c5d8f486f08d253aab58ce6.png +0 -0
  272. package/dist/public/icons/f1cf266d0a0a53ce07f2dbb859869b7a.png +0 -0
  273. package/dist/public/icons/fe347d51ab67ec846138b9a565b3071b.svg +0 -361
  274. package/dist/public/icons/iphone-top-bar.png +0 -0
  275. package/dist/public/icons/iphone.png +0 -0
  276. package/dist/public/icons/placeholder-image.png +0 -0
  277. package/dist/public/icons/stars_slider.png +0 -0
  278. package/dist/public/icons/transparent.svg +0 -1
@@ -1,281 +1,19 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
1
5
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2
6
  // Libraries
3
7
  import styled from 'styled-components';
4
8
  import { Input } from '../Input/Input';
5
9
  // Constants
6
10
  import { THEME } from '@antscorp/antsomi-ui/es/constants';
7
- export const WrapperInputStyle = styled.div `
8
- color: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.colorText};
9
- position: relative;
10
-
11
- .input-wrapper-outter {
12
- position: relative;
13
- max-width: 100%;
14
- min-height: 22px;
15
- max-height: 6rem;
16
- overflow: auto;
17
- padding: 5px;
18
- border-bottom: 1px solid ${(_b = THEME.token) === null || _b === void 0 ? void 0 : _b.blue1};
19
- }
20
-
21
- .customize-antsomi-profile {
22
- position: absolute;
23
- font-size: 20px;
24
- right: 4px;
25
- top: 50%;
26
- transform: translateY(-50%);
27
- cursor: pointer;
28
- color: rgb(0, 94, 184);
29
- }
30
-
31
- .styles-input-wrapper {
32
- border-bottom: 1px solid ${(_c = THEME.token) === null || _c === void 0 ? void 0 : _c.blue1} !important;
33
- :hover {
34
- cursor: text;
35
- background-color: ${(_d = THEME.token) === null || _d === void 0 ? void 0 : _d.blue};
36
- border-bottom: 1px solid ${(_e = THEME.token) === null || _e === void 0 ? void 0 : _e.blue1};
37
- }
38
- :focus-within {
39
- background-color: ${(_f = THEME.token) === null || _f === void 0 ? void 0 : _f.bw0};
40
- border-bottom: 1px solid rgb(0, 94, 184);
41
- }
42
- :active {
43
- background-color: ${(_g = THEME.token) === null || _g === void 0 ? void 0 : _g.bw0};
44
- border-bottom: 1px solid rgb(0, 94, 184);
45
- }
46
- }
47
-
48
- .input-error {
49
- border-bottom-color: rgb(239, 51, 64);
50
- }
51
-
52
- .customize-antsomi-profile-outter {
53
- position: absolute;
54
- font-size: 20px;
55
- right: 2.8rem;
56
- top: 2.3rem;
57
- transform: translateY(-50%);
58
- cursor: pointer;
59
- color: ${(_h = THEME.token) === null || _h === void 0 ? void 0 : _h.blue7};
60
- }
61
-
62
- .input-personal {
63
- padding: 0px 4px;
64
- padding-right: 32px;
65
- outline: none;
66
- overflow-wrap: normal;
67
- overflow: hidden;
68
- text-overflow: unset;
69
- white-space: normal;
70
- // display: inline-block;
71
-
72
- .detect-url {
73
- background-color: #e8feca;
74
- display: inline;
75
- position: relative;
76
- cursor: pointer;
77
- }
78
- }
79
- /*
80
- $base-color: ${(_j = THEME.token) === null || _j === void 0 ? void 0 : _j.blue7};
81
- $bg-base-color: #fff;
82
- $border-base-color: ${(_k = THEME.token) === null || _k === void 0 ? void 0 : _k.bw3_5};
83
- $bg-btn-base-color: #f4f6f8; */
84
-
85
- .antsomi-wrapper-personalization {
86
- width: 100%;
87
- height: 100%;
88
- background: $bg-base-color;
89
- border: 1px solid $border-base-color;
90
- border-radius: ${(_l = THEME.token) === null || _l === void 0 ? void 0 : _l.borderRadius}px;
91
- display: flex;
92
- flex-direction: column;
93
- font-size: 14px;
94
- font-family: Roboto, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
95
- // box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
96
- .header {
97
- padding: 13px 20px;
98
- position: relative;
99
-
100
- .title {
101
- font-size: 20px;
102
- font-weight: bold;
103
- color: $base-color;
104
- }
105
-
106
- &:before {
107
- content: '';
108
- position: absolute;
109
- left: 0;
110
- bottom: 0;
111
- height: 15px;
112
- width: 95%;
113
- border-bottom: 1px solid $border-base-color;
114
- }
115
- }
116
-
117
- .body {
118
- overflow: auto;
119
- flex-grow: 1;
120
- padding: 0 5px;
121
-
122
- table {
123
- width: 100%;
124
- height: 100%;
125
- table-layout: fixed;
126
- border-collapse: collapse;
127
- border-spacing: 0;
128
- th,
129
- td {
130
- text-align: left;
131
- padding: 0 15px;
132
- }
133
- }
134
- }
135
-
136
- .footer {
137
- display: flex;
138
- padding: 15px 25px;
139
- justify-content: flex-end;
140
- }
141
- }
142
-
143
- .btn {
144
- min-width: 100px;
145
- min-height: 40px;
146
- border-radius: ${(_m = THEME.token) === null || _m === void 0 ? void 0 : _m.borderRadius}px;
147
- outline: none;
148
- border: none;
149
- cursor: pointer;
150
-
151
- &:focus {
152
- outline: none !important;
153
- }
154
- }
155
-
156
- .group-btn {
157
- width: 222px;
158
- display: flex;
159
- justify-content: space-between;
160
- }
161
-
162
- .btn-default {
163
- background-color: $bg-btn-base-color;
164
- color: $base-color;
165
- border: 1px solid #d7dfe8;
166
-
167
- &:hover {
168
- background-color: #e3e9ef;
169
- }
170
- }
171
-
172
- .btn-blue {
173
- background-color: $base-color;
174
- color: $bg-base-color;
175
- border: 1px solid #707070;
176
- opacity: 0.9;
177
-
178
- &:hover {
179
- opacity: 1;
180
- }
181
- }
182
-
183
- .input-outline {
184
- border-top-style: hidden;
185
- border-right-style: hidden;
186
- border-left-style: hidden;
187
- height: 27px;
188
- border-bottom: 1px solid rgba(0, 0, 0, 0.4);
189
-
190
- &:focus {
191
- outline: none;
192
- }
193
- }
194
-
195
- .insert-word {
196
- padding: 5px 8px;
197
- color: white;
198
- border: 1px solid;
199
- border-radius: 20px;
200
- height: 30px;
201
- cursor: pointer;
202
- line-height: 1px;
203
- background: #bbefbe;
204
-
205
- &.blue {
206
- background: #3c39ba;
207
- }
208
-
209
- &.orange {
210
- background: #fbac00;
211
- }
212
-
213
- &.violet-pc {
214
- background: #6750a7;
215
- }
216
-
217
- &.disabled {
218
- background: #ccc;
219
- }
220
- &.custom {
221
- background: #bbefbe;
222
- // border: 1px solid #BBEFBE;
223
- }
224
-
225
- em {
226
- color: white;
227
- font-style: normal;
228
- font-size: 13px;
229
- opacity: 0;
230
- user-select: none;
231
- }
232
-
233
- &:hover {
234
- em {
235
- opacity: 1;
236
- }
237
- }
238
- }
239
- `;
240
- export const SpanIcon = styled.span `
241
- ${({ isDisabled }) => isDisabled && `cursor: not-allowed !important; opacity: 0.5;`}
242
- font-size: 20px;
243
- `;
244
- export const InputWrapper = styled.div `
245
- .input__wrapper {
246
- display: flex;
247
- align-items: center;
248
-
249
- div.--default {
250
- min-width: 120px;
251
- }
252
- }
253
- `;
254
- export const InputShortLink = styled(Input) ``;
255
- export const TooltipHover = styled.div `
256
- position: fixed;
257
- left: ${props => `${props.left}px`};
258
- top: ${props => `${props.top}px`};
259
-
260
- display: ${props => (props.isShow ? 'flex' : 'none')};
261
- justify-content: center;
262
- align-items: center;
263
-
264
- background: rgba(0, 0, 0, 0.62);
265
- transition: opacity 186ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
266
- transform 124ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
267
- color: #fff;
268
- font-size: 12px;
269
- box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
270
- 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
271
- border-radius: 4px;
272
- height: 24px;
273
- width: auto;
274
- z-index: 999;
275
- padding: 5px 10px;
276
- user-select: none;
277
- white-space: nowrap;
278
- text-overflow: ellipsis;
279
- overflow: hidden;
280
- box-sizing: border-box;
281
- `;
11
+ export var WrapperInputStyle = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n position: relative;\n\n .input-wrapper-outter {\n position: relative;\n max-width: 100%;\n min-height: 22px;\n max-height: 6rem;\n overflow: auto;\n padding: 5px;\n border-bottom: 1px solid ", ";\n }\n\n .customize-antsomi-profile {\n position: absolute;\n font-size: 20px;\n right: 4px;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n color: rgb(0, 94, 184);\n }\n\n .styles-input-wrapper {\n border-bottom: 1px solid ", " !important;\n :hover {\n cursor: text;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n }\n :focus-within {\n background-color: ", ";\n border-bottom: 1px solid rgb(0, 94, 184);\n }\n :active {\n background-color: ", ";\n border-bottom: 1px solid rgb(0, 94, 184);\n }\n }\n\n .input-error {\n border-bottom-color: rgb(239, 51, 64);\n }\n\n .customize-antsomi-profile-outter {\n position: absolute;\n font-size: 20px;\n right: 2.8rem;\n top: 2.3rem;\n transform: translateY(-50%);\n cursor: pointer;\n color: ", ";\n }\n\n .input-personal {\n padding: 0px 4px;\n padding-right: 32px;\n outline: none;\n overflow-wrap: normal;\n overflow: hidden;\n text-overflow: unset;\n white-space: normal;\n // display: inline-block;\n\n .detect-url {\n background-color: #e8feca;\n display: inline;\n position: relative;\n cursor: pointer;\n }\n }\n /*\n $base-color: ", ";\n $bg-base-color: #fff;\n $border-base-color: ", ";\n $bg-btn-base-color: #f4f6f8; */\n\n .antsomi-wrapper-personalization {\n width: 100%;\n height: 100%;\n background: $bg-base-color;\n border: 1px solid $border-base-color;\n border-radius: ", "px;\n display: flex;\n flex-direction: column;\n font-size: 14px;\n font-family: Roboto, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n // box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n .header {\n padding: 13px 20px;\n position: relative;\n\n .title {\n font-size: 20px;\n font-weight: bold;\n color: $base-color;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n height: 15px;\n width: 95%;\n border-bottom: 1px solid $border-base-color;\n }\n }\n\n .body {\n overflow: auto;\n flex-grow: 1;\n padding: 0 5px;\n\n table {\n width: 100%;\n height: 100%;\n table-layout: fixed;\n border-collapse: collapse;\n border-spacing: 0;\n th,\n td {\n text-align: left;\n padding: 0 15px;\n }\n }\n }\n\n .footer {\n display: flex;\n padding: 15px 25px;\n justify-content: flex-end;\n }\n }\n\n .btn {\n min-width: 100px;\n min-height: 40px;\n border-radius: ", "px;\n outline: none;\n border: none;\n cursor: pointer;\n\n &:focus {\n outline: none !important;\n }\n }\n\n .group-btn {\n width: 222px;\n display: flex;\n justify-content: space-between;\n }\n\n .btn-default {\n background-color: $bg-btn-base-color;\n color: $base-color;\n border: 1px solid #d7dfe8;\n\n &:hover {\n background-color: #e3e9ef;\n }\n }\n\n .btn-blue {\n background-color: $base-color;\n color: $bg-base-color;\n border: 1px solid #707070;\n opacity: 0.9;\n\n &:hover {\n opacity: 1;\n }\n }\n\n .input-outline {\n border-top-style: hidden;\n border-right-style: hidden;\n border-left-style: hidden;\n height: 27px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.4);\n\n &:focus {\n outline: none;\n }\n }\n\n .insert-word {\n padding: 5px 8px;\n color: white;\n border: 1px solid;\n border-radius: 20px;\n height: 30px;\n cursor: pointer;\n line-height: 1px;\n background: #bbefbe;\n\n &.blue {\n background: #3c39ba;\n }\n\n &.orange {\n background: #fbac00;\n }\n\n &.violet-pc {\n background: #6750a7;\n }\n\n &.disabled {\n background: #ccc;\n }\n &.custom {\n background: #bbefbe;\n // border: 1px solid #BBEFBE;\n }\n\n em {\n color: white;\n font-style: normal;\n font-size: 13px;\n opacity: 0;\n user-select: none;\n }\n\n &:hover {\n em {\n opacity: 1;\n }\n }\n }\n"], ["\n color: ", ";\n position: relative;\n\n .input-wrapper-outter {\n position: relative;\n max-width: 100%;\n min-height: 22px;\n max-height: 6rem;\n overflow: auto;\n padding: 5px;\n border-bottom: 1px solid ", ";\n }\n\n .customize-antsomi-profile {\n position: absolute;\n font-size: 20px;\n right: 4px;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n color: rgb(0, 94, 184);\n }\n\n .styles-input-wrapper {\n border-bottom: 1px solid ", " !important;\n :hover {\n cursor: text;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n }\n :focus-within {\n background-color: ", ";\n border-bottom: 1px solid rgb(0, 94, 184);\n }\n :active {\n background-color: ", ";\n border-bottom: 1px solid rgb(0, 94, 184);\n }\n }\n\n .input-error {\n border-bottom-color: rgb(239, 51, 64);\n }\n\n .customize-antsomi-profile-outter {\n position: absolute;\n font-size: 20px;\n right: 2.8rem;\n top: 2.3rem;\n transform: translateY(-50%);\n cursor: pointer;\n color: ", ";\n }\n\n .input-personal {\n padding: 0px 4px;\n padding-right: 32px;\n outline: none;\n overflow-wrap: normal;\n overflow: hidden;\n text-overflow: unset;\n white-space: normal;\n // display: inline-block;\n\n .detect-url {\n background-color: #e8feca;\n display: inline;\n position: relative;\n cursor: pointer;\n }\n }\n /*\n $base-color: ", ";\n $bg-base-color: #fff;\n $border-base-color: ", ";\n $bg-btn-base-color: #f4f6f8; */\n\n .antsomi-wrapper-personalization {\n width: 100%;\n height: 100%;\n background: $bg-base-color;\n border: 1px solid $border-base-color;\n border-radius: ", "px;\n display: flex;\n flex-direction: column;\n font-size: 14px;\n font-family: Roboto, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n // box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n .header {\n padding: 13px 20px;\n position: relative;\n\n .title {\n font-size: 20px;\n font-weight: bold;\n color: $base-color;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n height: 15px;\n width: 95%;\n border-bottom: 1px solid $border-base-color;\n }\n }\n\n .body {\n overflow: auto;\n flex-grow: 1;\n padding: 0 5px;\n\n table {\n width: 100%;\n height: 100%;\n table-layout: fixed;\n border-collapse: collapse;\n border-spacing: 0;\n th,\n td {\n text-align: left;\n padding: 0 15px;\n }\n }\n }\n\n .footer {\n display: flex;\n padding: 15px 25px;\n justify-content: flex-end;\n }\n }\n\n .btn {\n min-width: 100px;\n min-height: 40px;\n border-radius: ", "px;\n outline: none;\n border: none;\n cursor: pointer;\n\n &:focus {\n outline: none !important;\n }\n }\n\n .group-btn {\n width: 222px;\n display: flex;\n justify-content: space-between;\n }\n\n .btn-default {\n background-color: $bg-btn-base-color;\n color: $base-color;\n border: 1px solid #d7dfe8;\n\n &:hover {\n background-color: #e3e9ef;\n }\n }\n\n .btn-blue {\n background-color: $base-color;\n color: $bg-base-color;\n border: 1px solid #707070;\n opacity: 0.9;\n\n &:hover {\n opacity: 1;\n }\n }\n\n .input-outline {\n border-top-style: hidden;\n border-right-style: hidden;\n border-left-style: hidden;\n height: 27px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.4);\n\n &:focus {\n outline: none;\n }\n }\n\n .insert-word {\n padding: 5px 8px;\n color: white;\n border: 1px solid;\n border-radius: 20px;\n height: 30px;\n cursor: pointer;\n line-height: 1px;\n background: #bbefbe;\n\n &.blue {\n background: #3c39ba;\n }\n\n &.orange {\n background: #fbac00;\n }\n\n &.violet-pc {\n background: #6750a7;\n }\n\n &.disabled {\n background: #ccc;\n }\n &.custom {\n background: #bbefbe;\n // border: 1px solid #BBEFBE;\n }\n\n em {\n color: white;\n font-style: normal;\n font-size: 13px;\n opacity: 0;\n user-select: none;\n }\n\n &:hover {\n em {\n opacity: 1;\n }\n }\n }\n"])), (_a = THEME.token) === null || _a === void 0 ? void 0 : _a.colorText, (_b = THEME.token) === null || _b === void 0 ? void 0 : _b.blue1, (_c = THEME.token) === null || _c === void 0 ? void 0 : _c.blue1, (_d = THEME.token) === null || _d === void 0 ? void 0 : _d.blue, (_e = THEME.token) === null || _e === void 0 ? void 0 : _e.blue1, (_f = THEME.token) === null || _f === void 0 ? void 0 : _f.bw0, (_g = THEME.token) === null || _g === void 0 ? void 0 : _g.bw0, (_h = THEME.token) === null || _h === void 0 ? void 0 : _h.blue7, (_j = THEME.token) === null || _j === void 0 ? void 0 : _j.blue7, (_k = THEME.token) === null || _k === void 0 ? void 0 : _k.bw3_5, (_l = THEME.token) === null || _l === void 0 ? void 0 : _l.borderRadius, (_m = THEME.token) === null || _m === void 0 ? void 0 : _m.borderRadius);
12
+ export var SpanIcon = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n font-size: 20px;\n"], ["\n ", "\n font-size: 20px;\n"])), function (_a) {
13
+ var isDisabled = _a.isDisabled;
14
+ return isDisabled && "cursor: not-allowed !important; opacity: 0.5;";
15
+ });
16
+ export var InputWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n .input__wrapper {\n display: flex;\n align-items: center;\n\n div.--default {\n min-width: 120px;\n }\n }\n"], ["\n .input__wrapper {\n display: flex;\n align-items: center;\n\n div.--default {\n min-width: 120px;\n }\n }\n"])));
17
+ export var InputShortLink = styled(Input)(templateObject_4 || (templateObject_4 = __makeTemplateObject([""], [""])));
18
+ export var TooltipHover = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: fixed;\n left: ", ";\n top: ", ";\n\n display: ", ";\n justify-content: center;\n align-items: center;\n\n background: rgba(0, 0, 0, 0.62);\n transition: opacity 186ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n transform 124ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n color: #fff;\n font-size: 12px;\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n height: 24px;\n width: auto;\n z-index: 999;\n padding: 5px 10px;\n user-select: none;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n box-sizing: border-box;\n"], ["\n position: fixed;\n left: ", ";\n top: ", ";\n\n display: ", ";\n justify-content: center;\n align-items: center;\n\n background: rgba(0, 0, 0, 0.62);\n transition: opacity 186ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n transform 124ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n color: #fff;\n font-size: 12px;\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n height: 24px;\n width: auto;\n z-index: 999;\n padding: 5px 10px;\n user-select: none;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n box-sizing: border-box;\n"])), function (props) { return "".concat(props.left, "px"); }, function (props) { return "".concat(props.top, "px"); }, function (props) { return (props.isShow ? 'flex' : 'none'); });
19
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;