@antscorp/antsomi-ui 2.0.13 → 2.0.15

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 (956) hide show
  1. package/es/components/atoms/Alert/Alert.js +10 -22
  2. package/es/components/atoms/Button/Button.d.ts +4 -2
  3. package/es/components/atoms/Button/Button.js +4 -1
  4. package/es/components/atoms/Button/test.js +9 -90
  5. package/es/components/atoms/Checkbox/Checkbox.d.ts +4 -1
  6. package/es/components/atoms/Checkbox/Checkbox.js +3 -1
  7. package/es/components/atoms/ContentEditable/ContentEditable.js +5 -16
  8. package/es/components/atoms/DividerPure/DividerPure.js +4 -15
  9. package/es/components/atoms/DividerPure/styled.js +2 -3
  10. package/es/components/atoms/Empty/Empty.js +2 -2
  11. package/es/components/atoms/Icon/index.js +4 -7
  12. package/es/components/atoms/Iframe/Iframe.js +6 -17
  13. package/es/components/atoms/Input/Input.js +12 -25
  14. package/es/components/atoms/Input/styled.js +12 -13
  15. package/es/components/atoms/InputDynamic/EditCaretPositioning.js +8 -9
  16. package/es/components/atoms/InputDynamic/InputDynamic.d.ts +1 -6
  17. package/es/components/atoms/InputDynamic/InputDynamic.js +105 -77
  18. package/es/components/atoms/InputDynamic/PopupShortLink.js +29 -24
  19. package/es/components/atoms/InputDynamic/constants.d.ts +4 -0
  20. package/es/components/atoms/InputDynamic/constants.js +4 -0
  21. package/es/components/atoms/InputDynamic/styled.d.ts +1 -2
  22. package/es/components/atoms/InputDynamic/styled.js +25 -21
  23. package/es/components/atoms/InputDynamic/types.d.ts +1 -1
  24. package/es/components/atoms/InputDynamic/utils.d.ts +0 -1
  25. package/es/components/atoms/InputDynamic/utils.js +14 -12
  26. package/es/components/atoms/InputNumber/InputNumber.js +6 -18
  27. package/es/components/atoms/MobileFrame/MobileFrame.js +2 -20
  28. package/es/components/atoms/MobileFrameV2/MobileFrameV2.js +2 -20
  29. package/es/components/atoms/PreviewTabs/PreviewTabs.js +14 -26
  30. package/es/components/atoms/PreviewTabs/styled.js +1 -2
  31. package/es/components/atoms/Radio/index.d.ts +2 -2
  32. package/es/components/atoms/Radio/index.js +8 -7
  33. package/es/components/atoms/RateV2/RateV2.js +19 -20
  34. package/es/components/atoms/ReactIframe/ReactIframe.js +5 -18
  35. package/es/components/atoms/ReactIframe/styled.js +1 -2
  36. package/es/components/atoms/RequiredLabel/index.js +4 -17
  37. package/es/components/atoms/RequiredLabel/styled.js +1 -2
  38. package/es/components/atoms/ScrollBox/index.js +11 -16
  39. package/es/components/atoms/Scrollbars/Scrollbars.js +6 -22
  40. package/es/components/atoms/Scrollbars/styled.js +1 -1
  41. package/es/components/atoms/SlideBar/SlideBar.js +68 -62
  42. package/es/components/atoms/SlideBar/styled.js +15 -19
  43. package/es/components/atoms/Slider/index.js +6 -11
  44. package/es/components/atoms/Slider/styled.js +2 -3
  45. package/es/components/atoms/SliderV2/index.js +12 -4
  46. package/es/components/atoms/Spin/Spin.d.ts +1 -2
  47. package/es/components/atoms/Spin/Spin.js +6 -18
  48. package/es/components/atoms/Steps/Steps.js +11 -20
  49. package/es/components/atoms/Steps/styled.d.ts +2 -2
  50. package/es/components/atoms/Steps/styled.js +17 -18
  51. package/es/components/atoms/Tag/Tag.js +3 -16
  52. package/es/components/atoms/Text/index.js +7 -15
  53. package/es/components/atoms/Text/styled.js +9 -11
  54. package/es/components/icons/AccountCircleIcon.js +3 -3
  55. package/es/components/icons/AccountCircleOutlineIcon.js +3 -3
  56. package/es/components/icons/AccountSharing30Icon.js +3 -3
  57. package/es/components/icons/AccountSharingIcon.js +3 -3
  58. package/es/components/icons/AccountTreeIcon.js +3 -3
  59. package/es/components/icons/Accounts30Icon.js +3 -3
  60. package/es/components/icons/AddChartIcon.js +3 -4
  61. package/es/components/icons/AddFolderIcon.js +3 -3
  62. package/es/components/icons/AddIcon.js +3 -3
  63. package/es/components/icons/AddRadiusIcon.js +3 -3
  64. package/es/components/icons/AddShoppingCartIcon.js +3 -3
  65. package/es/components/icons/AdjustIcon.js +3 -4
  66. package/es/components/icons/AllDevicesIcon.js +3 -4
  67. package/es/components/icons/AllJourneyChannelsIcon.js +3 -3
  68. package/es/components/icons/AnalyticModels30Icon.js +3 -3
  69. package/es/components/icons/AnalyticModelsIcon.js +3 -3
  70. package/es/components/icons/Analytics30Icon.js +3 -3
  71. package/es/components/icons/AnalyticsIcon.js +3 -10
  72. package/es/components/icons/AnlysisIcon.js +3 -3
  73. package/es/components/icons/AnlyticModelsIcon.js +3 -3
  74. package/es/components/icons/ArrowGrowIcon.js +3 -4
  75. package/es/components/icons/ArrowLineIcon.js +3 -3
  76. package/es/components/icons/ArticleIcon.js +3 -6
  77. package/es/components/icons/AssignmentIndIcon.js +3 -3
  78. package/es/components/icons/AttachmentIcon.js +3 -3
  79. package/es/components/icons/AudioRecordIcon.js +3 -4
  80. package/es/components/icons/BatchStreaming30Icon.js +3 -3
  81. package/es/components/icons/BatchStreamingIcon.js +3 -3
  82. package/es/components/icons/BlockIcon.js +3 -3
  83. package/es/components/icons/BudLightIcon.js +3 -4
  84. package/es/components/icons/BugIcon.js +3 -4
  85. package/es/components/icons/BusinessObjects30Icon.js +3 -3
  86. package/es/components/icons/BussinessObjectsIcon.js +3 -3
  87. package/es/components/icons/ByDayIcon.js +3 -3
  88. package/es/components/icons/ByMonthIcon.js +3 -3
  89. package/es/components/icons/ByScheduleIcon.js +3 -3
  90. package/es/components/icons/ByThreeDayIcon.js +3 -3
  91. package/es/components/icons/ByWeekIcon.js +3 -3
  92. package/es/components/icons/CalendarIcon.js +3 -3
  93. package/es/components/icons/CallIcon.js +3 -3
  94. package/es/components/icons/CameraIcon.js +3 -4
  95. package/es/components/icons/CampaignIcon.js +3 -9
  96. package/es/components/icons/CampaignMenuIcon.js +3 -3
  97. package/es/components/icons/CaptureIcon.js +3 -4
  98. package/es/components/icons/CatalogIcon.js +3 -3
  99. package/es/components/icons/CategoryIcon.js +3 -5
  100. package/es/components/icons/ChartRealTimeIcon.js +3 -5
  101. package/es/components/icons/ChartReviewIcon.js +3 -3
  102. package/es/components/icons/ChartTypeIcon.js +3 -4
  103. package/es/components/icons/ChatBubbleOutlineIcon.js +3 -3
  104. package/es/components/icons/ChatConversationCommentAddCommentIcon.js +3 -3
  105. package/es/components/icons/ChatMentionIcon.js +3 -3
  106. package/es/components/icons/ChatUnreadIcon.js +3 -3
  107. package/es/components/icons/CheckSlimIcon.js +3 -4
  108. package/es/components/icons/CheckboxChecked5RadiusIcon.js +3 -3
  109. package/es/components/icons/CheckboxCheckedIcon.js +3 -3
  110. package/es/components/icons/CheckboxIndeterminate5RadiusIcon.js +3 -3
  111. package/es/components/icons/CheckboxIndeterminateIcon.js +3 -3
  112. package/es/components/icons/CheckboxUnchecked5RadiusIcon.js +3 -3
  113. package/es/components/icons/CheckboxUncheckedIcon.js +3 -3
  114. package/es/components/icons/ChecklistRtlIcon.js +3 -4
  115. package/es/components/icons/CircleAddElementIcon.js +3 -3
  116. package/es/components/icons/CircleNotificationsIcon.js +3 -3
  117. package/es/components/icons/CloseIcon.js +3 -4
  118. package/es/components/icons/CodeIcon.js +3 -3
  119. package/es/components/icons/Collection30Icon.js +3 -3
  120. package/es/components/icons/ColorProfileStyleThemeIcon.js +3 -3
  121. package/es/components/icons/ColumnIcon.js +3 -3
  122. package/es/components/icons/CommentIcon.js +3 -4
  123. package/es/components/icons/CompareIcon.js +3 -3
  124. package/es/components/icons/ComputationHistoriesIcon.js +3 -3
  125. package/es/components/icons/ConfirmationNumberIcon.js +3 -3
  126. package/es/components/icons/ConnectOneNIcon.js +3 -3
  127. package/es/components/icons/ConnectOneOneIcon.js +3 -3
  128. package/es/components/icons/Connectors30Icon.js +3 -3
  129. package/es/components/icons/Content30Icon.js +3 -3
  130. package/es/components/icons/ConversionEvent30Icon.js +3 -4
  131. package/es/components/icons/ConversionIcon.js +3 -4
  132. package/es/components/icons/CopyDuplicateIcon.js +3 -3
  133. package/es/components/icons/CopyLinkActiveIcon.js +3 -8
  134. package/es/components/icons/CopyLinkIcon.js +3 -3
  135. package/es/components/icons/CropIcon.js +3 -3
  136. package/es/components/icons/CursorIcon.js +3 -3
  137. package/es/components/icons/CurvedConnectorIcon.js +3 -3
  138. package/es/components/icons/CustomerIcon.js +3 -4
  139. package/es/components/icons/CustomerInformationIcon.js +3 -9
  140. package/es/components/icons/CustomerJourney30Icon.js +3 -3
  141. package/es/components/icons/CustomerJourneyIcon.js +3 -3
  142. package/es/components/icons/Customers30Icon.js +3 -3
  143. package/es/components/icons/Dashboard30Icon.js +3 -3
  144. package/es/components/icons/DashboardIcon.js +3 -3
  145. package/es/components/icons/DataDestination30Icon.js +3 -3
  146. package/es/components/icons/DataDestinationIcon.js +3 -3
  147. package/es/components/icons/DataEncryption30Icon.js +3 -3
  148. package/es/components/icons/DataEncryptionIcon.js +3 -3
  149. package/es/components/icons/DataIcon.js +3 -3
  150. package/es/components/icons/DataRefreshIcon.js +3 -3
  151. package/es/components/icons/DataSchema30Icon.js +3 -3
  152. package/es/components/icons/DataSource30Icon.js +3 -3
  153. package/es/components/icons/DataView30Icon.js +3 -3
  154. package/es/components/icons/DataViewIcon.js +3 -3
  155. package/es/components/icons/Dataflows30Icon.js +3 -3
  156. package/es/components/icons/DatasourceIcon.js +3 -3
  157. package/es/components/icons/DatasourceSegment30Icon.js +3 -3
  158. package/es/components/icons/DeleteRemoveTrashIcon.js +3 -3
  159. package/es/components/icons/DeliveryLogIcon.js +3 -3
  160. package/es/components/icons/DesktopLaptopIcon.js +3 -3
  161. package/es/components/icons/DesktopWindowsIcon.js +3 -3
  162. package/es/components/icons/Destination130Icon.js +3 -5
  163. package/es/components/icons/Destinations30Icon.js +3 -3
  164. package/es/components/icons/DestinationsIcon.js +3 -3
  165. package/es/components/icons/Diagram30Icon.js +3 -3
  166. package/es/components/icons/DiagramIcon.js +3 -3
  167. package/es/components/icons/DirectoriesIcon.js +3 -3
  168. package/es/components/icons/DisplayMonitorScreenIcon.js +3 -3
  169. package/es/components/icons/DomainManagementIcon.js +4 -6
  170. package/es/components/icons/DownloadIcon.js +3 -3
  171. package/es/components/icons/DraftDocumentIcon.js +3 -3
  172. package/es/components/icons/DuplicateIcon.js +3 -3
  173. package/es/components/icons/DynamicFormIcon.js +3 -3
  174. package/es/components/icons/DynamicImageIcon.js +3 -4
  175. package/es/components/icons/DynamicTextIcon.js +3 -4
  176. package/es/components/icons/EditFilledIcon.js +3 -4
  177. package/es/components/icons/EditIcon.js +3 -3
  178. package/es/components/icons/ElbowConnectorIcon.js +3 -3
  179. package/es/components/icons/EmailTemplate30Icon.js +3 -3
  180. package/es/components/icons/EmailTemplateIcon.js +3 -3
  181. package/es/components/icons/EmailTemplateMenuIcon.js +3 -3
  182. package/es/components/icons/EmojiEmotionsIcon.js +3 -3
  183. package/es/components/icons/EventAttribute30Icon.js +3 -3
  184. package/es/components/icons/EventAttributeIcon.js +3 -3
  185. package/es/components/icons/EventIcon.js +3 -4
  186. package/es/components/icons/EventSources30Icon.js +3 -3
  187. package/es/components/icons/EventSourcesIcon.js +3 -3
  188. package/es/components/icons/ExcludePeopleIcon.js +3 -3
  189. package/es/components/icons/ExitFullScreenIcon.js +3 -4
  190. package/es/components/icons/ExitLogOutIcon.js +3 -4
  191. package/es/components/icons/ExpandLessIcon.js +3 -4
  192. package/es/components/icons/ExpandMoreIcon.js +3 -3
  193. package/es/components/icons/ExpandMoreRightIcon.js +3 -3
  194. package/es/components/icons/ExpandViewFullIcon.js +3 -4
  195. package/es/components/icons/ExploreBuiltIn30Icon.js +3 -3
  196. package/es/components/icons/ExploreBuiltInIcon.js +3 -3
  197. package/es/components/icons/ExploreIcon.js +3 -3
  198. package/es/components/icons/ExploreSegmentData30Icon.js +3 -10
  199. package/es/components/icons/ExploreStandard30Icon.js +3 -3
  200. package/es/components/icons/ExploreStandardIcon.js +3 -3
  201. package/es/components/icons/ExportHtmlIcon.js +3 -3
  202. package/es/components/icons/ExportMenuIcon.js +3 -3
  203. package/es/components/icons/ExtendValueIcon.js +3 -3
  204. package/es/components/icons/FactCheckIcon.js +3 -3
  205. package/es/components/icons/FileDownloadIcon.js +3 -3
  206. package/es/components/icons/FileTransferIcon.js +3 -7
  207. package/es/components/icons/FileUpload1Icon.js +3 -3
  208. package/es/components/icons/FileUploadIcon.js +3 -3
  209. package/es/components/icons/FilterIcon.js +3 -3
  210. package/es/components/icons/FolderCreateNewFolderIcon.js +3 -3
  211. package/es/components/icons/FolderShareIcon.js +3 -3
  212. package/es/components/icons/FolderUploadIcon.js +3 -3
  213. package/es/components/icons/ForceRunIcon.js +3 -3
  214. package/es/components/icons/ForecastIcon.js +3 -3
  215. package/es/components/icons/Form30Icon.js +3 -3
  216. package/es/components/icons/ForwardIcon.js +3 -3
  217. package/es/components/icons/FreeDrawIcon.js +3 -4
  218. package/es/components/icons/FullReviewIcon.js +3 -4
  219. package/es/components/icons/GPTIcon.js +3 -5
  220. package/es/components/icons/GalleryTemplateIcon.js +3 -5
  221. package/es/components/icons/GeneralSettingIcon.js +3 -3
  222. package/es/components/icons/GeneralSettings30Icon.js +3 -3
  223. package/es/components/icons/GenerateAutoWizardIcon.js +3 -3
  224. package/es/components/icons/Geofence30Icon.js +3 -3
  225. package/es/components/icons/GetInsightIcon.js +3 -3
  226. package/es/components/icons/GridViewIcon.js +3 -3
  227. package/es/components/icons/GroupIcon.js +3 -3
  228. package/es/components/icons/GroupLayerIcon.js +3 -3
  229. package/es/components/icons/HeartFavoriteBorderIcon.js +3 -3
  230. package/es/components/icons/HeartFavoriteIcon.js +3 -3
  231. package/es/components/icons/HelpIcon.js +3 -3
  232. package/es/components/icons/HighlightAltIcon.js +3 -3
  233. package/es/components/icons/HighlightIcon.js +3 -3
  234. package/es/components/icons/HomeHouse30Icon.js +3 -3
  235. package/es/components/icons/HomeIcon.js +3 -4
  236. package/es/components/icons/HowToRegIcon.js +3 -3
  237. package/es/components/icons/IdeaIcon.js +3 -4
  238. package/es/components/icons/ImageIcon.js +3 -3
  239. package/es/components/icons/InactiveIcon.js +3 -3
  240. package/es/components/icons/InactiveVariantIcon.js +3 -3
  241. package/es/components/icons/IncludePeopleIcon.js +3 -3
  242. package/es/components/icons/IncreaseDecreaseIcon.js +3 -3
  243. package/es/components/icons/Integration30Icon.js +3 -3
  244. package/es/components/icons/InteractiveIcon.js +3 -3
  245. package/es/components/icons/InvisibleIcon.js +3 -5
  246. package/es/components/icons/InvitePeopleIcon.js +3 -3
  247. package/es/components/icons/IssueBugIcon.js +3 -3
  248. package/es/components/icons/ItemRecommendationIcon.js +3 -6
  249. package/es/components/icons/JourneyTactic30Icon.js +3 -4
  250. package/es/components/icons/JourneyTacticIcon.js +3 -4
  251. package/es/components/icons/LayerIcon.js +3 -3
  252. package/es/components/icons/LeftExpandIcon.js +3 -4
  253. package/es/components/icons/LibraryIcon.js +3 -3
  254. package/es/components/icons/LineIcon.js +3 -3
  255. package/es/components/icons/LinkManagement30Icon.js +3 -3
  256. package/es/components/icons/LinkManagementIcon.js +3 -3
  257. package/es/components/icons/ListIcon.js +3 -3
  258. package/es/components/icons/LoadingIcon.js +4 -17
  259. package/es/components/icons/LocalMallIcon.js +3 -3
  260. package/es/components/icons/LongerIcon.js +3 -3
  261. package/es/components/icons/MapIcon.js +3 -3
  262. package/es/components/icons/MarkAsReadIcon.js +3 -3
  263. package/es/components/icons/MarketingHub30Icon.js +3 -3
  264. package/es/components/icons/MediaGalleryIcon.js +3 -3
  265. package/es/components/icons/MediaTemplate30Icon.js +3 -3
  266. package/es/components/icons/MediaTemplateIcon.js +3 -3
  267. package/es/components/icons/MediaTemplateMenuIcon.js +3 -3
  268. package/es/components/icons/Menu30Icon.js +3 -3
  269. package/es/components/icons/MenuCollapseIcon.js +3 -3
  270. package/es/components/icons/MenuExpandIcon.js +3 -3
  271. package/es/components/icons/MenuImageMultiIcon.js +3 -3
  272. package/es/components/icons/MenuImageSingleIcon.js +3 -3
  273. package/es/components/icons/MergeIcon.js +3 -3
  274. package/es/components/icons/MobileFriendlyIcon.js +3 -3
  275. package/es/components/icons/MobilePhoneIcon.js +3 -3
  276. package/es/components/icons/MonitorAppIcon.js +3 -3
  277. package/es/components/icons/MoreIcon.js +3 -3
  278. package/es/components/icons/MoreInfoIcon.js +3 -3
  279. package/es/components/icons/MoveToIcon.js +3 -3
  280. package/es/components/icons/MuteIcon.js +3 -4
  281. package/es/components/icons/NodeViewIcon.js +3 -9
  282. package/es/components/icons/NotificationIcon.js +3 -3
  283. package/es/components/icons/NotificationSettingIcon.js +3 -3
  284. package/es/components/icons/NotificationsActiveIcon.js +3 -3
  285. package/es/components/icons/OpenNewTabIcon.js +3 -3
  286. package/es/components/icons/OpenUrlIcon.js +3 -4
  287. package/es/components/icons/OrchestrationIcon.js +3 -3
  288. package/es/components/icons/PageArticleIcon.js +3 -3
  289. package/es/components/icons/PauseIcon.js +3 -4
  290. package/es/components/icons/PaymentIcon.js +3 -3
  291. package/es/components/icons/PenDrawingIcon.js +3 -3
  292. package/es/components/icons/PersonAddDisabledIcon.js +3 -4
  293. package/es/components/icons/PersonUserAccountIcon.js +3 -3
  294. package/es/components/icons/PhoneCallbackIcon.js +3 -3
  295. package/es/components/icons/PhoneIphoneIcon.js +3 -4
  296. package/es/components/icons/PivotTableChartIcon.js +3 -6
  297. package/es/components/icons/PlaneIcon.js +3 -5
  298. package/es/components/icons/Plannings30Icon.js +3 -3
  299. package/es/components/icons/Predictive30Icon.js +3 -3
  300. package/es/components/icons/PredictiveModel30Icon.js +3 -3
  301. package/es/components/icons/PredictiveModelIcon.js +3 -3
  302. package/es/components/icons/PreviewIcon.js +3 -3
  303. package/es/components/icons/PreviewVisibilityEyeIcon.js +3 -3
  304. package/es/components/icons/ProcessHistoryIcon.js +3 -4
  305. package/es/components/icons/ProfileTemplate30Icon.js +3 -3
  306. package/es/components/icons/ProfileTemplateIcon.js +3 -3
  307. package/es/components/icons/ProjectIcon.js +3 -3
  308. package/es/components/icons/PromotionCenter30Icon.js +3 -3
  309. package/es/components/icons/PromotionCenterIcon.js +3 -3
  310. package/es/components/icons/Providers30Icon.js +3 -3
  311. package/es/components/icons/PublicIcon.js +3 -3
  312. package/es/components/icons/PublishSendIcon.js +3 -3
  313. package/es/components/icons/QueryIcon.js +3 -3
  314. package/es/components/icons/QuickTestIcon.js +3 -3
  315. package/es/components/icons/RatingStarBorderIcon.js +3 -3
  316. package/es/components/icons/RatingStarFullIcon.js +3 -3
  317. package/es/components/icons/RatingStarHalfIcon.js +3 -3
  318. package/es/components/icons/RealtimeStreaming30Icon.js +3 -6
  319. package/es/components/icons/RealtimeStreamingIcon.js +3 -6
  320. package/es/components/icons/RecentHistoryVersionHistoryIcon.js +3 -3
  321. package/es/components/icons/RectangleIcon.js +3 -3
  322. package/es/components/icons/RedeemIcon.js +3 -3
  323. package/es/components/icons/RedoIcon.js +3 -3
  324. package/es/components/icons/RefreshIcon.js +3 -3
  325. package/es/components/icons/RemoveRedEyeIcon.js +3 -3
  326. package/es/components/icons/RemoveShoppingCartIcon.js +3 -3
  327. package/es/components/icons/ReportIcon.js +3 -3
  328. package/es/components/icons/RequestIcon.js +3 -4
  329. package/es/components/icons/RequiredIcon.js +3 -3
  330. package/es/components/icons/ResendValidateEmailIcon.js +3 -3
  331. package/es/components/icons/RestoreDefaultIcon.js +3 -4
  332. package/es/components/icons/ResumeIcon.js +3 -3
  333. package/es/components/icons/RightExpandIcon.js +3 -4
  334. package/es/components/icons/Role30Icon.js +3 -3
  335. package/es/components/icons/SQLWorkspace30Icon.js +3 -3
  336. package/es/components/icons/SaveAsIcon.js +3 -3
  337. package/es/components/icons/SaveIcon.js +3 -3
  338. package/es/components/icons/ScheduleEmailDeliveryIcon.js +3 -4
  339. package/es/components/icons/ScreenshotMonitorIcon.js +3 -4
  340. package/es/components/icons/SearchIcon.js +3 -3
  341. package/es/components/icons/SectionIcon.js +3 -3
  342. package/es/components/icons/Segments30Icon.js +3 -3
  343. package/es/components/icons/SegmentsIcon.js +3 -3
  344. package/es/components/icons/SendTranscriptIcon.js +3 -3
  345. package/es/components/icons/SettingIcon.js +3 -3
  346. package/es/components/icons/ShapeCircleIcon.js +3 -3
  347. package/es/components/icons/ShapeSquareIcon.js +3 -3
  348. package/es/components/icons/ShareIcon.js +3 -3
  349. package/es/components/icons/ShareWithMeAccountIcon.js +3 -3
  350. package/es/components/icons/ShoppingBagIcon.js +3 -3
  351. package/es/components/icons/ShoppingCartIcon.js +3 -3
  352. package/es/components/icons/ShowLeftPanelIcon.js +3 -3
  353. package/es/components/icons/ShowRightPanelIcon.js +3 -3
  354. package/es/components/icons/SignatureIcon.js +3 -3
  355. package/es/components/icons/SlideGroupIcon.js +3 -3
  356. package/es/components/icons/Sort1Icon.js +3 -3
  357. package/es/components/icons/SortIcon.js +3 -3
  358. package/es/components/icons/SqlWorkspaceIcon.js +3 -3
  359. package/es/components/icons/StatisticIcon.js +3 -4
  360. package/es/components/icons/StickerIcon.js +3 -3
  361. package/es/components/icons/StopRecordIcon.js +3 -4
  362. package/es/components/icons/StoreIcon.js +3 -3
  363. package/es/components/icons/StudioTemplates30Icon.js +3 -3
  364. package/es/components/icons/SubtractRadiusIcon.js +3 -3
  365. package/es/components/icons/SupportAssistantIcon.js +3 -3
  366. package/es/components/icons/Survey30Icon.js +3 -3
  367. package/es/components/icons/SurveyDirectorProfileIcon.js +3 -3
  368. package/es/components/icons/SurveyIcon.js +3 -3
  369. package/es/components/icons/SurveyProject30Icon.js +3 -3
  370. package/es/components/icons/SystemRunningIcon.js +3 -3
  371. package/es/components/icons/TabGroupIcon.js +3 -3
  372. package/es/components/icons/TableIcon.js +3 -3
  373. package/es/components/icons/TableVer2Icon.js +3 -3
  374. package/es/components/icons/TextIcon.js +3 -3
  375. package/es/components/icons/ThirdPartyPluginV130Icon.js +3 -3
  376. package/es/components/icons/ThirdPartyPluginV230Icon.js +3 -3
  377. package/es/components/icons/ThumbDownHandIcon.js +3 -3
  378. package/es/components/icons/ThumbUpHandIcon.js +3 -3
  379. package/es/components/icons/Ticket30Icon.js +3 -3
  380. package/es/components/icons/TicketIcon.js +3 -3
  381. package/es/components/icons/TimeIcon.js +3 -3
  382. package/es/components/icons/TipsAndUpdatesIcon.js +3 -3
  383. package/es/components/icons/TipsIdeaLight24Icon.js +3 -3
  384. package/es/components/icons/TipsIdeaLight30Icon.js +3 -3
  385. package/es/components/icons/UnblockIcon.js +3 -3
  386. package/es/components/icons/UndoIcon.js +3 -3
  387. package/es/components/icons/Unknown30Icon.js +3 -3
  388. package/es/components/icons/UploadIcon.js +3 -3
  389. package/es/components/icons/UploadMenuIcon.js +3 -3
  390. package/es/components/icons/UserActivityIcon.js +3 -12
  391. package/es/components/icons/UserAttributesIcon.js +3 -3
  392. package/es/components/icons/UserIcon.js +3 -5
  393. package/es/components/icons/ValidateFormatIcon.js +3 -3
  394. package/es/components/icons/VariantPriorityIcon.js +3 -3
  395. package/es/components/icons/VerticalDotsIcon.js +3 -4
  396. package/es/components/icons/ViewColumnIcon.js +3 -5
  397. package/es/components/icons/ViewDetailsInformationIcon.js +3 -3
  398. package/es/components/icons/VisibilityOffEyeIcon.js +3 -3
  399. package/es/components/icons/Visitor30Icon.js +3 -3
  400. package/es/components/icons/VisitorIcon.js +3 -3
  401. package/es/components/icons/WarningIcon.js +3 -4
  402. package/es/components/icons/WebAssetIcon.js +3 -3
  403. package/es/components/icons/WebIcon.js +3 -3
  404. package/es/components/icons/WebPersonalizationIcon.js +3 -3
  405. package/es/components/icons/WebhookIcon.js +3 -3
  406. package/es/components/icons/WidgetIcon.js +3 -3
  407. package/es/components/icons/WritingAIAssitantIcon.js +3 -5
  408. package/es/components/icons/document/IconGallery.d.ts +1 -1
  409. package/es/components/icons/document/IconGallery.js +13 -22
  410. package/es/components/icons/document/styled.js +2 -2
  411. package/es/components/icons/hooks/useIcon.js +1 -1
  412. package/es/components/molecules/AccessDenied/AccessDenied.js +3 -10
  413. package/es/components/molecules/AccessDenied/styled.js +1 -1
  414. package/es/components/molecules/AccountSelection/AccountListing.js +10 -16
  415. package/es/components/molecules/AccountSelection/AccountSelection.js +6 -21
  416. package/es/components/molecules/AccountSelection/components/AccountItem.js +2 -3
  417. package/es/components/molecules/AccountSelection/hooks/useAccountSelection.js +4 -4
  418. package/es/components/molecules/AccountSelection/styled.js +11 -12
  419. package/es/components/molecules/AddDynamicContent/AddDynamicContent.js +168 -182
  420. package/es/components/molecules/AddDynamicContent/components/DisplayFormat/DisplayFormat.d.ts +1 -0
  421. package/es/components/molecules/AddDynamicContent/components/DisplayFormat/DisplayFormat.js +3 -4
  422. package/es/components/molecules/AddDynamicContent/components/FormatDatetime/FormatDatetime.d.ts +1 -2
  423. package/es/components/molecules/AddDynamicContent/components/FormatDatetime/FormatDatetime.js +49 -65
  424. package/es/components/molecules/AddDynamicContent/components/FormatNumber/FormatNumber.d.ts +1 -2
  425. package/es/components/molecules/AddDynamicContent/components/FormatNumber/FormatNumber.js +45 -51
  426. package/es/components/molecules/AddDynamicContent/utils.js +17 -20
  427. package/es/components/molecules/AlignSetting/index.js +16 -35
  428. package/es/components/molecules/ApplyPopupContent/ApplyPopupContent.js +3 -24
  429. package/es/components/molecules/ApplyPopupContent/styled.js +5 -5
  430. package/es/components/molecules/CalendarSelection/CalendarSelection.js +10 -16
  431. package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/AutoUpdateTo.js +2 -4
  432. package/es/components/molecules/CalendarSelection/components/CustomPicker/CustomPicker.js +46 -58
  433. package/es/components/molecules/CalendarSelection/components/Footer/Footer.d.ts +1 -2
  434. package/es/components/molecules/CalendarSelection/components/Footer/Footer.js +2 -4
  435. package/es/components/molecules/CalendarSelection/components/RangePicker/RangePicker.js +2 -2
  436. package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +3 -2
  437. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/RangeSelectOptions.js +3 -9
  438. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/NumOfDaysRanges/NumOfDaysRanges.d.ts +1 -2
  439. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/NumOfDaysRanges/NumOfDaysRanges.js +6 -8
  440. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +13 -10
  441. package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/TimeRangeDisplay.js +5 -21
  442. package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +2 -2
  443. package/es/components/molecules/CalendarSelection/constants.js +5 -1
  444. package/es/components/molecules/CalendarSelection/reducer.js +12 -17
  445. package/es/components/molecules/CalendarSelection/utils.js +5 -6
  446. package/es/components/molecules/CaptureScreen/CaptureScreen.d.ts +1 -2
  447. package/es/components/molecules/CaptureScreen/CaptureScreen.js +89 -129
  448. package/es/components/molecules/CaptureScreen/components/CommentBox/CommentBox.d.ts +1 -2
  449. package/es/components/molecules/CaptureScreen/components/CommentBox/CommentBox.js +12 -23
  450. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +16 -20
  451. package/es/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
  452. package/es/components/molecules/CaptureScreen/components/Cursor/Cursor.js +3 -5
  453. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +11 -15
  454. package/es/components/molecules/CaptureScreen/constants.js +2 -3
  455. package/es/components/molecules/CaptureScreen/styled.js +14 -18
  456. package/es/components/molecules/ChartTab/ChartTab.js +10 -12
  457. package/es/components/molecules/ChartTab/components/Item.js +27 -30
  458. package/es/components/molecules/ChartTab/components/styled.js +2 -3
  459. package/es/components/molecules/ChartTab/styled.js +5 -5
  460. package/es/components/molecules/ChatBox/AntsomiAI.d.ts +2 -0
  461. package/es/components/molecules/ChatBox/AntsomiAI.js +15 -0
  462. package/es/components/molecules/ChatBox/ChatBox.js +26 -48
  463. package/es/components/molecules/ChatBox/ChatBoxInsight/ChatBox.js +34 -53
  464. package/es/components/molecules/ChatBox/ChatBoxInsight/MessageItem.js +17 -22
  465. package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -4
  466. package/es/components/molecules/ChatBox/ChatBoxInsight/index.js +5 -10
  467. package/es/components/molecules/ChatBox/ChatBoxInsight/styled.d.ts +1 -0
  468. package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +76 -22
  469. package/es/components/molecules/ChatBox/MessageItem.js +16 -13
  470. package/es/components/molecules/ChatBox/styled.js +76 -20
  471. package/es/components/molecules/Collapse/Collapse.js +2 -3
  472. package/es/components/molecules/ColorPicker/CustomPicker/index.js +18 -59
  473. package/es/components/molecules/ColorPicker/CustomPicker/styled.d.ts +1 -2
  474. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +8 -8
  475. package/es/components/molecules/ColorPicker/SketchPicker/index.js +2 -3
  476. package/es/components/molecules/ColorPicker/index.js +12 -17
  477. package/es/components/molecules/ColorSetting/index.js +7 -28
  478. package/es/components/molecules/ColorSetting/styled.d.ts +1 -3
  479. package/es/components/molecules/ColorSetting/styled.js +1 -1
  480. package/es/components/molecules/DatePicker/DatePicker.js +3 -4
  481. package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +6 -0
  482. package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.js +126 -154
  483. package/es/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +12 -38
  484. package/es/components/molecules/DatePicker/components/AdvancedPicker/constants.js +1 -16
  485. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +4 -2
  486. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +11 -9
  487. package/es/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +1 -1
  488. package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +16 -15
  489. package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.js +34 -56
  490. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +3 -0
  491. package/es/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.js +41 -41
  492. package/es/components/molecules/DatePicker/components/DropdownLabel/DropdownLabel.d.ts +0 -2
  493. package/es/components/molecules/DatePicker/components/DropdownLabel/DropdownLabel.js +14 -23
  494. package/es/components/molecules/DatePicker/components/ErrorMessage/ErrorMessage.js +2 -4
  495. package/es/components/molecules/DatePickerV2/index.js +10 -23
  496. package/es/components/molecules/DatePickerV2/styled.js +1 -2
  497. package/es/components/molecules/Drawer/Drawer.js +2 -3
  498. package/es/components/molecules/DrawerDetail/DrawerDetail.js +13 -34
  499. package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +5 -17
  500. package/es/components/molecules/DrawerDetail/styled.js +11 -11
  501. package/es/components/molecules/Dropdown/Dropdown.d.ts +1 -2
  502. package/es/components/molecules/Dropdown/Dropdown.js +7 -20
  503. package/es/components/molecules/Dropdown/styled.js +7 -8
  504. package/es/components/molecules/EdgeSetting/index.js +58 -68
  505. package/es/components/molecules/EdgeSetting/styled.js +1 -2
  506. package/es/components/molecules/EditableName/EditableName.js +16 -29
  507. package/es/components/molecules/EditableName/styled.js +1 -2
  508. package/es/components/molecules/EditorScript/EditorScript.d.ts +0 -1
  509. package/es/components/molecules/EditorScript/EditorScript.js +20 -29
  510. package/es/components/molecules/EditorTab/EditorTab.js +56 -74
  511. package/es/components/molecules/EditorTab/styled.js +6 -6
  512. package/es/components/molecules/EmptyData/EmptyData.js +5 -25
  513. package/es/components/molecules/EmptyData/styled.js +5 -6
  514. package/es/components/molecules/FontFamilySelect/index.js +6 -17
  515. package/es/components/molecules/FontSetting/index.d.ts +3 -3
  516. package/es/components/molecules/FontSetting/index.js +28 -35
  517. package/es/components/molecules/FontWeightSelect/index.js +7 -18
  518. package/es/components/molecules/GradientSetting/index.js +37 -56
  519. package/es/components/molecules/HeaderV2/HeaderV2.d.ts +1 -1
  520. package/es/components/molecules/HeaderV2/HeaderV2.js +28 -43
  521. package/es/components/molecules/HeaderV2/styled.js +4 -5
  522. package/es/components/molecules/IconSelection/components/Icon/index.js +12 -17
  523. package/es/components/molecules/IconSelection/constants.js +4 -5
  524. package/es/components/molecules/IconSelection/index.js +25 -44
  525. package/es/components/molecules/IconSelection/styled.d.ts +1 -3
  526. package/es/components/molecules/IconSelection/styled.js +2 -3
  527. package/es/components/molecules/ImageEditor/ImageEditor.js +253 -219
  528. package/es/components/molecules/ImageEditor/components/ModalShortcut.js +2 -9
  529. package/es/components/molecules/ImageEditor/constants.js +6 -1
  530. package/es/components/molecules/ImageEditor/reducer.js +33 -9
  531. package/es/components/molecules/ImageEditor/styled.js +1 -1
  532. package/es/components/molecules/ImageResizeTuiEditor/ImageResizeTuiEditor.js +14 -15
  533. package/es/components/molecules/InputNumber/index.js +11 -24
  534. package/es/components/molecules/InputNumberWithUnit/index.js +3 -16
  535. package/es/components/molecules/InputNumberWithUnit/styled.js +2 -3
  536. package/es/components/molecules/InputSearch/index.js +4 -16
  537. package/es/components/molecules/InputSearch/styled.js +5 -6
  538. package/es/components/molecules/MatchAnySelect/MatchesAnySelect.d.ts +2 -3
  539. package/es/components/molecules/MatchAnySelect/MatchesAnySelect.js +140 -159
  540. package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +9 -22
  541. package/es/components/molecules/MatchAnySelect/styled.d.ts +5 -7
  542. package/es/components/molecules/MatchAnySelect/styled.js +9 -8
  543. package/es/components/molecules/MatchAnySelect/utils.js +22 -21
  544. package/es/components/molecules/Modal/Modal.js +11 -10
  545. package/es/components/molecules/Modal/styled.js +7 -8
  546. package/es/components/molecules/ModalSelect/Card.d.ts +3 -4
  547. package/es/components/molecules/ModalSelect/Card.js +24 -32
  548. package/es/components/molecules/ModalSelect/ModalSelect.d.ts +1 -2
  549. package/es/components/molecules/ModalSelect/ModalSelect.js +11 -18
  550. package/es/components/molecules/ModalSelect/index.d.ts +4 -5
  551. package/es/components/molecules/ModalSelect/styled.js +2 -2
  552. package/es/components/molecules/ModalV2/ModalV2.js +3 -17
  553. package/es/components/molecules/PopupDraggable/PopupDraggable.js +6 -10
  554. package/es/components/molecules/PopupDraggable/styled.js +18 -5
  555. package/es/components/molecules/PreviewModal/PreviewModal.js +3 -20
  556. package/es/components/molecules/PreviewModal/styled.d.ts +1 -1
  557. package/es/components/molecules/PreviewModal/styled.js +4 -3
  558. package/es/components/molecules/ProcessLoading/ProcessLoading.js +8 -27
  559. package/es/components/molecules/ProcessLoading/styled.js +1 -1
  560. package/es/components/molecules/RadioGroup/index.js +3 -17
  561. package/es/components/molecules/RequestAccess/RequestAccess.js +4 -14
  562. package/es/components/molecules/RequestAccess/styled.js +5 -5
  563. package/es/components/molecules/ResizeGrid/ResizeGrid.js +115 -75
  564. package/es/components/molecules/ResizeGrid/components/Cell/Cell.js +23 -17
  565. package/es/components/molecules/ResizeGrid/constant.js +12 -3
  566. package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuBlock.js +19 -13
  567. package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/index.js +17 -44
  568. package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +2 -2
  569. package/es/components/molecules/RichMenu/RichMenuChatBar/RichMenuChatBar.js +3 -19
  570. package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/index.js +3 -8
  571. package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +2 -2
  572. package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +1 -1
  573. package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +12 -34
  574. package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +1 -2
  575. package/es/components/molecules/SearchPopover/SearchPopover.d.ts +1 -2
  576. package/es/components/molecules/SearchPopover/SearchPopover.js +4 -17
  577. package/es/components/molecules/SearchPopover/components/PopoverAddField/PopoverAddField.d.ts +1 -2
  578. package/es/components/molecules/SearchPopover/components/PopoverAddField/PopoverAddField.js +13 -25
  579. package/es/components/molecules/SearchPopover/components/PopoverSelect/PopoverSelect.d.ts +1 -2
  580. package/es/components/molecules/SearchPopover/components/PopoverSelect/PopoverSelect.js +11 -27
  581. package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.d.ts +1 -2
  582. package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +3 -3
  583. package/es/components/molecules/SearchPopover/styled.d.ts +1 -2
  584. package/es/components/molecules/SearchPopover/styled.js +2 -1
  585. package/es/components/molecules/SearchPopover/utils.d.ts +1 -2
  586. package/es/components/molecules/SearchPopover/utils.js +6 -6
  587. package/es/components/molecules/Select/Select.js +6 -21
  588. package/es/components/molecules/Select/Test.d.ts +1 -2
  589. package/es/components/molecules/Select/Test.js +2 -2
  590. package/es/components/molecules/Select/styled.js +4 -5
  591. package/es/components/molecules/SelectAccount/AccountChip.js +4 -7
  592. package/es/components/molecules/SelectAccount/AccountItem.js +4 -4
  593. package/es/components/molecules/SelectAccount/AccountItemOnlyOne.js +2 -3
  594. package/es/components/molecules/SelectAccount/AccountList.js +26 -52
  595. package/es/components/molecules/SelectAccount/AccountListOnlyOne.d.ts +1 -2
  596. package/es/components/molecules/SelectAccount/AccountListOnlyOne.js +26 -48
  597. package/es/components/molecules/SelectAccount/ButtonAdd.d.ts +1 -2
  598. package/es/components/molecules/SelectAccount/ButtonAdd.js +4 -8
  599. package/es/components/molecules/SelectAccount/ButtonViewAll.d.ts +1 -2
  600. package/es/components/molecules/SelectAccount/ButtonViewAll.js +18 -20
  601. package/es/components/molecules/SelectAccount/Content.js +21 -26
  602. package/es/components/molecules/SelectAccount/context/SelectAccountContext.js +11 -17
  603. package/es/components/molecules/SelectAccount/context/reducer.js +8 -11
  604. package/es/components/molecules/SelectAccount/hook/useGetAbstractUsers.js +5 -2
  605. package/es/components/molecules/SelectAccount/index.js +2 -6
  606. package/es/components/molecules/SelectAccount/styled.d.ts +3 -9
  607. package/es/components/molecules/SelectAccount/styled.js +3 -2
  608. package/es/components/molecules/SelectAccount/utils.js +1 -1
  609. package/es/components/molecules/SelectEventAttribute/index.js +98 -63
  610. package/es/components/molecules/SelectEventAttribute/styled.d.ts +4 -5
  611. package/es/components/molecules/SelectMulti/index.js +11 -28
  612. package/es/components/molecules/SelectMulti/styled.js +11 -12
  613. package/es/components/molecules/SelectV2/index.d.ts +6 -6
  614. package/es/components/molecules/SelectV2/index.js +27 -50
  615. package/es/components/molecules/SelectV2/styled.js +18 -19
  616. package/es/components/molecules/SettingWrapper/index.js +4 -11
  617. package/es/components/molecules/SettingWrapper/styled.d.ts +3 -5
  618. package/es/components/molecules/SettingWrapper/styled.js +1 -1
  619. package/es/components/molecules/SettingWrapperPopover/index.d.ts +0 -6
  620. package/es/components/molecules/SettingWrapperPopover/index.js +11 -16
  621. package/es/components/molecules/ShareAccess/ShareAccess.d.ts +1 -2
  622. package/es/components/molecules/ShareAccess/ShareAccess.js +8 -4
  623. package/es/components/molecules/ShareAccess/components/GeneralAccess/GeneralAccess.js +23 -36
  624. package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +2 -3
  625. package/es/components/molecules/ShareAccess/components/LayoutContent/LayoutContent.d.ts +1 -2
  626. package/es/components/molecules/ShareAccess/components/LayoutContent/LayoutContent.js +2 -6
  627. package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/ModalTransferOwnerShip.d.ts +1 -2
  628. package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/ModalTransferOwnerShip.js +10 -6
  629. package/es/components/molecules/ShareAccess/components/PeopleAccess/PeopleAccess.d.ts +1 -2
  630. package/es/components/molecules/ShareAccess/components/PeopleAccess/PeopleAccess.js +26 -35
  631. package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +2 -3
  632. package/es/components/molecules/ShareAccess/components/SearchUser/SearchUser.d.ts +1 -2
  633. package/es/components/molecules/ShareAccess/components/SearchUser/SearchUser.js +19 -27
  634. package/es/components/molecules/ShareAccess/hooks/useShareAccess.js +8 -9
  635. package/es/components/molecules/ShareAccess/reducer.js +4 -1
  636. package/es/components/molecules/ShareAccess/utils.js +19 -10
  637. package/es/components/molecules/SliderWithInputNumber/index.js +10 -24
  638. package/es/components/molecules/SliderWithInputNumber/styled.js +1 -2
  639. package/es/components/molecules/TemplateSaveAs/TemplateSaveAs.js +111 -143
  640. package/es/components/molecules/TemplateSaveAs/TemplateSaveAsModal.js +6 -18
  641. package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +14 -28
  642. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/BigImage.js +6 -13
  643. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/ImageSlider.js +46 -71
  644. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/SmallImage.js +7 -6
  645. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +14 -18
  646. package/es/components/molecules/TemplateSaveAs/hooks/useTemplateSave.js +24 -24
  647. package/es/components/molecules/TemplateSaveAs/styled.js +3 -4
  648. package/es/components/molecules/TextDecorationSelect/index.js +7 -18
  649. package/es/components/molecules/TextTransformSelect/index.js +7 -18
  650. package/es/components/molecules/ThumbnailCard/ThumbnailCard.d.ts +1 -2
  651. package/es/components/molecules/ThumbnailCard/ThumbnailCard.js +32 -62
  652. package/es/components/molecules/ThumbnailCard/styled.js +4 -4
  653. package/es/components/molecules/Tree/Tree.js +5 -16
  654. package/es/components/molecules/Tree/styled.js +1 -1
  655. package/es/components/molecules/Tree/utils.js +8 -2
  656. package/es/components/molecules/TreeSelect/TreeSelect.d.ts +1 -1
  657. package/es/components/molecules/UploadImage/MediaIcon.d.ts +1 -2
  658. package/es/components/molecules/UploadImage/MediaIcon.js +2 -3
  659. package/es/components/molecules/UploadImage/index.js +74 -137
  660. package/es/components/molecules/UploadImage/styled.js +4 -5
  661. package/es/components/molecules/VirtualizedMenu/VirtualizedMenu.js +2 -2
  662. package/es/components/molecules/VirtualizedMenu/components/Item/Item.d.ts +1 -1
  663. package/es/components/molecules/VirtualizedMenu/components/Item/Item.js +9 -11
  664. package/es/components/molecules/VirtualizedMenu/components/MenuInline/MenuInline.d.ts +1 -2
  665. package/es/components/molecules/VirtualizedMenu/components/MenuInline/MenuInline.js +15 -25
  666. package/es/components/molecules/VirtualizedMenu/config.js +2 -3
  667. package/es/components/molecules/VirtualizedMenu/styled.js +5 -6
  668. package/es/components/molecules/VirtualizedMenu/utils.js +1 -1
  669. package/es/components/organism/AccountProfile/AccountProfile.js +5 -5
  670. package/es/components/organism/AccountProfile/components/AccountSetting/AccountSetting.js +181 -145
  671. package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/index.d.ts +1 -2
  672. package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/index.js +28 -94
  673. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/index.d.ts +1 -2
  674. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/index.js +7 -17
  675. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.d.ts +1 -1
  676. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +2 -1
  677. package/es/components/organism/AccountProfile/components/AccountSetting/components/UploadAvatar/index.d.ts +1 -2
  678. package/es/components/organism/AccountProfile/components/AccountSetting/components/UploadAvatar/index.js +9 -16
  679. package/es/components/organism/AccountProfile/components/AccountSetting/index.d.ts +2 -1
  680. package/es/components/organism/AccountProfile/components/AccountSetting/styled.d.ts +2 -4
  681. package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +4 -5
  682. package/es/components/organism/AccountProfile/components/AccountSetting/useModal.js +14 -20
  683. package/es/components/organism/AccountProfile/components/AccountSetting/utils.js +3 -12
  684. package/es/components/organism/AccountSharing/AccountSharing.js +57 -110
  685. package/es/components/organism/AccountSharing/icons/close.d.ts +1 -2
  686. package/es/components/organism/AccountSharing/icons/close.js +2 -4
  687. package/es/components/organism/AccountSharing/icons/search.d.ts +1 -2
  688. package/es/components/organism/AccountSharing/icons/search.js +2 -4
  689. package/es/components/organism/AccountSharing/index.d.ts +2 -1
  690. package/es/components/organism/AccountSharing/styled.js +13 -14
  691. package/es/components/organism/AlgorithmsSetting/constants.js +2 -2
  692. package/es/components/organism/AlgorithmsSetting/index.js +239 -363
  693. package/es/components/organism/AlgorithmsSetting/styled.d.ts +4 -4
  694. package/es/components/organism/AlgorithmsSetting/styled.js +3 -4
  695. package/es/components/organism/ContentSources/Content.d.ts +1 -2
  696. package/es/components/organism/ContentSources/Content.js +15 -18
  697. package/es/components/organism/ContentSources/Group.d.ts +1 -2
  698. package/es/components/organism/ContentSources/Group.js +37 -47
  699. package/es/components/organism/ContentSources/Settings.d.ts +1 -1
  700. package/es/components/organism/ContentSources/Settings.js +24 -36
  701. package/es/components/organism/ContentSources/components/LevelSetting/index.d.ts +1 -1
  702. package/es/components/organism/ContentSources/components/LevelSetting/index.js +2 -3
  703. package/es/components/organism/ContentSources/index.d.ts +1 -1
  704. package/es/components/organism/ContentSources/index.js +4 -5
  705. package/es/components/organism/ContentSources/provider.d.ts +1 -1
  706. package/es/components/organism/ContentSources/provider.js +3 -3
  707. package/es/components/organism/ContentSources/reducer.js +4 -1
  708. package/es/components/organism/ContentSources/utils.js +11 -11
  709. package/es/components/organism/DataTable/DataTable.d.ts +1 -2
  710. package/es/components/organism/DataTable/DataTable.js +14 -30
  711. package/es/components/organism/DataTable/components/AddButton/index.js +7 -17
  712. package/es/components/organism/DataTable/components/Filter/AddFilterButton.js +24 -24
  713. package/es/components/organism/DataTable/components/Filter/FilterActionButton.js +29 -41
  714. package/es/components/organism/DataTable/components/Filter/FilterCondition/index.js +21 -27
  715. package/es/components/organism/DataTable/components/Filter/FilterCondition/styled.js +4 -4
  716. package/es/components/organism/DataTable/components/Filter/FilterConditionList.js +37 -38
  717. package/es/components/organism/DataTable/components/Filter/FilterItem.js +10 -30
  718. package/es/components/organism/DataTable/components/Filter/SaveFilterPopover.js +7 -21
  719. package/es/components/organism/DataTable/components/Filter/SavedFilterAndMetrics.js +23 -44
  720. package/es/components/organism/DataTable/components/Filter/index.js +3 -7
  721. package/es/components/organism/DataTable/components/Filter/styled.js +5 -5
  722. package/es/components/organism/DataTable/components/GridView/index.js +4 -3
  723. package/es/components/organism/DataTable/components/ModifyColumn/index.js +61 -89
  724. package/es/components/organism/DataTable/components/ModifyColumn/styled.js +2 -1
  725. package/es/components/organism/DataTable/components/Pagination/index.js +9 -33
  726. package/es/components/organism/DataTable/components/Pagination/styled.js +4 -4
  727. package/es/components/organism/DataTable/components/Table/ResizableCell.js +19 -30
  728. package/es/components/organism/DataTable/components/Table/index.js +47 -46
  729. package/es/components/organism/DataTable/components/Toolbar/GroupByPopover.js +6 -16
  730. package/es/components/organism/DataTable/components/Toolbar/RowSelectedControl.js +9 -12
  731. package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +24 -51
  732. package/es/components/organism/DataTable/components/Toolbar/ToolbarActionButtons.js +20 -32
  733. package/es/components/organism/DataTable/components/Toolbar/index.js +19 -30
  734. package/es/components/organism/DataTable/components/Toolbar/styled.js +12 -12
  735. package/es/components/organism/DataTable/constants/theme.js +1 -1
  736. package/es/components/organism/DataTable/constants/toolbar.js +5 -5
  737. package/es/components/organism/DataTable/hooks/useAddFilterButton.js +11 -6
  738. package/es/components/organism/DataTable/hooks/useDataTableListing/useDataTableListing.js +404 -232
  739. package/es/components/organism/DataTable/providers/AntdTableConfigProvider.js +3 -15
  740. package/es/components/organism/DataTable/providers/DataTableProvider.js +2 -3
  741. package/es/components/organism/DataTable/stores/index.js +32 -6
  742. package/es/components/organism/DataTable/styled/index.d.ts +1 -3
  743. package/es/components/organism/DataTable/styled/index.js +8 -7
  744. package/es/components/organism/DataTable/utils/filter.d.ts +2 -3
  745. package/es/components/organism/DataTable/utils/filter.js +40 -36
  746. package/es/components/organism/FilterSetting/components/common/InputArray/index.js +2 -3
  747. package/es/components/organism/FilterSetting/components/common/InputArray/styled.d.ts +4 -5
  748. package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +1 -1
  749. package/es/components/organism/FilterSetting/components/common/InputBoolean/index.js +4 -15
  750. package/es/components/organism/FilterSetting/components/common/InputCalendar/index.js +6 -5
  751. package/es/components/organism/FilterSetting/components/common/InputCalendarBetween/index.js +7 -9
  752. package/es/components/organism/FilterSetting/components/common/InputDateTimeAgo/index.js +2 -5
  753. package/es/components/organism/FilterSetting/components/common/InputDateTimeBetweenAgo/index.js +3 -8
  754. package/es/components/organism/FilterSetting/components/common/InputNumber/index.js +2 -3
  755. package/es/components/organism/FilterSetting/components/common/InputNumberBetween/index.js +2 -6
  756. package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.d.ts +4 -12
  757. package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +215 -154
  758. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +6 -15
  759. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +8 -14
  760. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +114 -178
  761. package/es/components/organism/FilterSetting/components/common/TextTreeSelect/index.js +2 -3
  762. package/es/components/organism/FilterSetting/index.js +91 -114
  763. package/es/components/organism/FilterSetting/styled.js +2 -3
  764. package/es/components/organism/FilterSetting/utils.js +7 -7
  765. package/es/components/organism/Help/Help.js +218 -313
  766. package/es/components/organism/Help/styled.d.ts +2 -6
  767. package/es/components/organism/Help/styled.js +27 -28
  768. package/es/components/organism/Help/utils.js +21 -22
  769. package/es/components/organism/LeftMenu/LeftMenu.js +27 -51
  770. package/es/components/organism/LeftMenu/components/CommonMenu/index.js +5 -4
  771. package/es/components/organism/LeftMenu/components/CustomMenu/index.js +3 -2
  772. package/es/components/organism/LeftMenu/components/HomeMenu/index.js +3 -10
  773. package/es/components/organism/LeftMenu/components/HomeMenu/styled.d.ts +1 -3
  774. package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +4 -4
  775. package/es/components/organism/LeftMenu/components/HomeMenu/useHomeMenu.js +43 -33
  776. package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/index.js +5 -6
  777. package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +3 -4
  778. package/es/components/organism/LeftMenu/components/common/ChildMenu/index.js +49 -61
  779. package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +2 -1
  780. package/es/components/organism/LeftMenu/components/common/ChildMenu/utils.js +9 -10
  781. package/es/components/organism/LeftMenu/hooks/useLeftMenu.js +19 -18
  782. package/es/components/organism/LeftMenu/hooks/useNavigatePath.js +9 -11
  783. package/es/components/organism/LeftMenu/hooks/usePermission.js +35 -35
  784. package/es/components/organism/LeftMenu/index.d.ts +1 -1
  785. package/es/components/organism/LeftMenu/index.js +3 -4
  786. package/es/components/organism/LeftMenu/providers/index.js +2 -3
  787. package/es/components/organism/LeftMenu/stores/index.js +5 -1
  788. package/es/components/organism/LeftMenu/styled.js +2 -2
  789. package/es/components/organism/LeftMenu/utils/index.js +168 -114
  790. package/es/components/organism/Login/Login.js +52 -64
  791. package/es/components/organism/Login/components/Avatar/Avatar.js +4 -10
  792. package/es/components/organism/Login/components/ForgotPassword/ForgotPassword.js +35 -34
  793. package/es/components/organism/Login/components/IconInfo/IconInfo.js +5 -12
  794. package/es/components/organism/Login/components/LoginSelectPortal/Item/Item.js +6 -11
  795. package/es/components/organism/Login/components/LoginSelectPortal/LoginSelectPortal.js +43 -43
  796. package/es/components/organism/Login/components/LoginStep2/LoginStep2.js +17 -37
  797. package/es/components/organism/Login/components/Logo/Logo.js +2 -2
  798. package/es/components/organism/Login/components/SetupGGAuthenticator/SetupGGAuthenticator.js +22 -49
  799. package/es/components/organism/Login/components/SignIn/SignIn.js +18 -29
  800. package/es/components/organism/Login/components/VerifyAccount/VerifyAccount.js +6 -15
  801. package/es/components/organism/Login/components/WidgetLayout/WidgetLayout.js +6 -12
  802. package/es/components/organism/Menu/Menu.js +2 -3
  803. package/es/components/organism/Menu/styled.d.ts +1 -1
  804. package/es/components/organism/Menu/styled.js +1 -1
  805. package/es/components/organism/ModifyColumnModal/ModifyColumnModal.js +54 -96
  806. package/es/components/organism/ModifyColumnModal/SelectedMetricsList.js +18 -38
  807. package/es/components/organism/ModifyColumnModal/styled.d.ts +2 -1
  808. package/es/components/organism/ModifyColumnModal/styled.js +16 -15
  809. package/es/components/organism/Notification/Notification.js +54 -71
  810. package/es/components/organism/Notification/styled.d.ts +1 -3
  811. package/es/components/organism/Notification/styled.js +11 -12
  812. package/es/components/organism/PositionSetting/index.js +15 -10
  813. package/es/components/organism/PreviewTemplateModal/components/Banner/index.js +9 -24
  814. package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +3 -3
  815. package/es/components/organism/PreviewTemplateModal/components/Information/index.js +3 -18
  816. package/es/components/organism/PreviewTemplateModal/components/Information/styled.d.ts +1 -3
  817. package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +3 -3
  818. package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/index.js +7 -20
  819. package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +2 -2
  820. package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/index.js +26 -44
  821. package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +3 -4
  822. package/es/components/organism/PreviewTemplateModal/index.js +6 -24
  823. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/BannerPropsTable/index.js +8 -12
  824. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/DataTypeTable/index.js +10 -15
  825. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/InformationPropsTable/index.js +20 -33
  826. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/SimilarTemplatePropsTable/index.js +11 -17
  827. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/TThumbnailTable/index.js +8 -11
  828. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/components/ThumbnailPropsTable/index.js +11 -22
  829. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/dataType.stories.d.ts +6 -6
  830. package/es/components/organism/PreviewTemplateModal/stories/dataTypes/dataType.stories.js +7 -6
  831. package/es/components/organism/Table/CrossTabTable/CrossTabTable.js +8 -20
  832. package/es/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.js +4 -6
  833. package/es/components/organism/Table/ExplorePivotTable/ExplorePivotTable.js +5 -10
  834. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.js +8 -12
  835. package/es/components/organism/Table/ExplorePivotTable/utils.js +19 -12
  836. package/es/components/organism/TicketEditor/Content.d.ts +1 -2
  837. package/es/components/organism/TicketEditor/Content.js +87 -147
  838. package/es/components/organism/TicketEditor/Service.js +8 -8
  839. package/es/components/organism/TicketEditor/components/DropdownComponent.d.ts +1 -2
  840. package/es/components/organism/TicketEditor/components/DropdownComponent.js +13 -3
  841. package/es/components/organism/TicketEditor/components/Message.d.ts +1 -2
  842. package/es/components/organism/TicketEditor/components/Message.js +11 -19
  843. package/es/components/organism/TicketEditor/components/MessageComponent.d.ts +1 -2
  844. package/es/components/organism/TicketEditor/components/MessageComponent.js +26 -61
  845. package/es/components/organism/TicketEditor/components/icons/AddTicketIcon.d.ts +1 -2
  846. package/es/components/organism/TicketEditor/components/icons/AddTicketIcon.js +2 -5
  847. package/es/components/organism/TicketEditor/components/icons/TicketIcon.d.ts +1 -2
  848. package/es/components/organism/TicketEditor/components/icons/TicketIcon.js +2 -3
  849. package/es/components/organism/TicketEditor/index.d.ts +1 -2
  850. package/es/components/organism/TicketEditor/index.js +38 -57
  851. package/es/components/organism/TicketEditor/styled.d.ts +2 -6
  852. package/es/components/organism/TicketEditor/styled.js +8 -4
  853. package/es/components/organism/TicketEditor/util.js +42 -37
  854. package/es/components/template/Layout/Layout.d.ts +2 -2
  855. package/es/components/template/Layout/Layout.js +88 -78
  856. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/index.js +20 -24
  857. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +3 -4
  858. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/utils/index.js +2 -3
  859. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/index.js +11 -16
  860. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +5 -6
  861. package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/index.js +2 -7
  862. package/es/components/template/Layout/components/RecommendationWorkspace/index.js +2 -5
  863. package/es/components/template/Layout/stores/index.js +11 -8
  864. package/es/components/template/Layout/styled.d.ts +1 -1
  865. package/es/components/template/Layout/styled.js +4 -4
  866. package/es/components/template/Layout/utils/permission.js +3 -4
  867. package/es/components/template/TemplateListing/Loadable.d.ts +1 -0
  868. package/es/components/template/TemplateListing/components/BlankTemplate/index.js +4 -7
  869. package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +1 -1
  870. package/es/components/template/TemplateListing/components/CategoryListing/index.js +49 -63
  871. package/es/components/template/TemplateListing/components/CategoryListing/styled.js +2 -3
  872. package/es/components/template/TemplateListing/components/Empty/index.js +3 -6
  873. package/es/components/template/TemplateListing/components/Empty/styled.js +3 -4
  874. package/es/components/template/TemplateListing/hooks/useTemplateListing.js +35 -24
  875. package/es/components/template/TemplateListing/index.js +27 -48
  876. package/es/components/template/TemplateListing/stories/dataTypes/components/BlankTemplatePropsTable/index.js +14 -15
  877. package/es/components/template/TemplateListing/stories/dataTypes/components/CategoryListingPropsTable/index.js +26 -28
  878. package/es/components/template/TemplateListing/stories/dataTypes/components/DataTypeTables/index.js +14 -21
  879. package/es/components/template/TemplateListing/stories/dataTypes/components/EmptyPropsTable/index.js +8 -9
  880. package/es/components/template/TemplateListing/stories/dataTypes/components/TCategoryItemTable/index.js +14 -15
  881. package/es/components/template/TemplateListing/stories/dataTypes/components/TTemplateItemTable/index.js +11 -12
  882. package/es/components/template/TemplateListing/stories/dataTypes/components/TemplatesPropsTable/index.js +17 -21
  883. package/es/components/template/TemplateListing/stories/dataTypes/dataType.stories.d.ts +7 -7
  884. package/es/components/template/TemplateListing/stories/dataTypes/dataType.stories.js +8 -7
  885. package/es/constants/storybook.d.ts +1 -2
  886. package/es/constants/storybook.js +2 -2
  887. package/es/constants/theme.js +34 -35
  888. package/es/hooks/createEffectWithTarget .js +2 -4
  889. package/es/hooks/index.js +1 -1
  890. package/es/hooks/useCustomRouter.js +1 -1
  891. package/es/hooks/useDeepCompareMemo.js +1 -1
  892. package/es/hooks/useDragEvent.js +2 -4
  893. package/es/hooks/useEffectDebugger.js +7 -4
  894. package/es/hooks/useEventListener.js +1 -2
  895. package/es/hooks/useIntersectionObserver.js +4 -6
  896. package/es/hooks/useListingItemResize.js +3 -4
  897. package/es/hooks/useMutationObserver.js +1 -1
  898. package/es/hooks/useUpdateEffect.js +1 -1
  899. package/es/hooks/useWindowSize.js +3 -1
  900. package/es/models/SavedMedia.js +5 -8
  901. package/es/providers/AppConfigProvider/contexts/index.js +7 -3
  902. package/es/providers/ConfigProvider/ConfigProvider.js +8 -27
  903. package/es/providers/ConfigProvider/GlobalStyle.js +74 -78
  904. package/es/queries/Account/useGetAccountList.js +21 -5
  905. package/es/queries/BusinessObject/useGetBODetail.js +8 -12
  906. package/es/queries/BusinessObject/useGetDataTableBO.js +4 -13
  907. package/es/queries/BusinessObject/useGetListAllEvents.js +7 -2
  908. package/es/queries/BusinessObject/useGetListAttributeBO.js +12 -15
  909. package/es/queries/BusinessObject/useGetListBO.js +7 -12
  910. package/es/queries/BusinessObject/useGetListEventAttr.js +7 -2
  911. package/es/queries/BusinessObject/useGetListPromotionCodeAttr.js +9 -15
  912. package/es/queries/BusinessObject/useGetListSourceByEvent.js +7 -1
  913. package/es/queries/CustomFunction/useCustomFunction.js +9 -14
  914. package/es/queries/DataTable/index.js +129 -20
  915. package/es/queries/DynamicContentAttribute/useGetDynamicContentAttr.js +7 -12
  916. package/es/queries/LeftMenu/index.js +26 -4
  917. package/es/queries/Permission/index.js +5 -1
  918. package/es/queries/PromotionPool/useGetListPromotionPool.js +7 -12
  919. package/es/queries/TemplateListing/index.js +67 -35
  920. package/es/queries/ThirdParty/useGetEventTrackingAttributes.js +8 -2
  921. package/es/queries/ThirdParty/useGetListFallbackBO.js +6 -1
  922. package/es/services/Abstract/index.js +12 -15
  923. package/es/services/Account/index.js +15 -26
  924. package/es/services/DataTable/index.js +168 -104
  925. package/es/services/LeftMenu/index.js +18 -27
  926. package/es/services/MediaTemplateDesign/BusinessObject/index.js +75 -84
  927. package/es/services/MediaTemplateDesign/CustomFunction/index.js +33 -36
  928. package/es/services/MediaTemplateDesign/DynamicContentAttribute/index.js +26 -19
  929. package/es/services/MediaTemplateDesign/ListCurrency/index.js +4 -13
  930. package/es/services/MediaTemplateDesign/PromotionPool/index.js +8 -15
  931. package/es/services/MediaTemplateDesign/UploadFile/index.js +15 -33
  932. package/es/services/Permission/index.js +8 -25
  933. package/es/services/TemplateListing/index.js +69 -59
  934. package/es/services/ThirParty/ListFallbackBO/getListFallbackBO.js +3 -12
  935. package/es/services/ThirParty/TableBO/index.js +3 -12
  936. package/es/services/ThirParty/index.js +6 -12
  937. package/es/services/Ticket.js +16 -16
  938. package/es/services/index.js +26 -20
  939. package/es/styled/common.js +2 -2
  940. package/es/test.d.ts +1 -2
  941. package/es/test.js +17 -13
  942. package/es/tests/DataTableTest.js +7 -11
  943. package/es/tests/MatchesAnySelect.d.ts +1 -2
  944. package/es/tests/MatchesAnySelect.js +18 -18
  945. package/es/utils/actionButtons.js +9 -13
  946. package/es/utils/common.js +12 -6
  947. package/es/utils/commonComponent.js +4 -14
  948. package/es/utils/cookie.js +17 -6
  949. package/es/utils/dataTable.js +7 -19
  950. package/es/utils/handleError.js +3 -23
  951. package/es/utils/loadable.js +3 -3
  952. package/es/utils/templateListing.js +1 -2
  953. package/es/utils/validateURL.d.ts +1 -0
  954. package/es/utils/validateURL.js +5 -0
  955. package/package.json +34 -42
  956. package/es/stories/assets/code-brackets.svg +0 -1
@@ -10,7 +10,7 @@ export type TShowCalculationTypeCondition = {
10
10
  };
11
11
  export type TDateType = 'today' | 'first_day_of_week_mon_sun' | 'first_day_of_week_sun_sat' | 'first_day_of_month' | 'first_day_of_quarter' | 'first_day_of_year' | 'last_day_of_week_mon_sun' | 'last_day_of_week_sun_sat' | 'last_day_of_month' | 'last_day_of_quarter' | 'last_day_of_year' | 'fixed';
12
12
  export type TCalculationType = 'minus' | 'plus' | '';
13
- export type TCalculationDate = 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | 'quarters' | 'years' | '';
13
+ export type TCalculationDate = 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | 'quarters' | 'years';
14
14
  export type TOperatorKey = 'after' | 'between' | 'before';
15
15
  export type TAdvancedType = 'startDate' | 'endDate';
16
16
  /**
@@ -1,21 +1,18 @@
1
1
  import type { Dayjs } from 'dayjs';
2
2
  import type { CellRenderInfo } from 'rc-picker/es/interface';
3
- import { TAdvancedType, TOperatorKey, ValueTypes } from './types';
3
+ import { TAdvancedType, TCalculationDate, TDateType, TOperatorKey, ValueTypes } from './types';
4
+ type DateTypeKey = Exclude<TDateType, 'fixed'>;
4
5
  /**
5
6
  * Calculates a new date based on the given parameters.
6
- * @param {string} [dateTypeKey='today'] - Key to determine the type of date to be used as the starting point.
7
- * Valid values are: 'today', 'first_day_of_week_mon_sun', 'first_day_of_week_sun_sat',
8
- * 'first_day_of_month', 'first_day_of_quarter', 'first_day_of_year', 'last_day_of_week_mon_sun',
9
- * 'last_day_of_week_sun_sat', 'last_day_of_month', 'last_day_of_quarter', 'last_day_of_year'.
10
- * @param {string} [calculationTypeKey='minus'] - Key to determine whether to add or subtract the specified value.
11
- * Valid values are: 'plus', 'minus'.
12
- * @param {string} [calculationDateKey='days'] - Key to determine the unit of time to be added or subtracted.
7
+ * @param {DateTypeKey} [dateTypeKey='today'] - Key to determine the type of date to be used as the starting point.
8
+ * @param {'minus' | 'plus'} [operator='minus'] - Key to determine whether to add or subtract the specified value.
9
+ * @param {TCalculationDate} [calculationDateKey='days'] - Key to determine the unit of time to be added or subtracted.
13
10
  * Valid values are: 'days', 'weeks', 'months', 'quarters', 'years'.
14
11
  * @param {number} [value=0] - Value to be added or subtracted.
15
12
  * @param {string} [dateFormat=DEFAULT_DATE_FORMAT] - Format in which to return the new date.
16
13
  * @returns {string} The new date in the specified format.
17
14
  */
18
- export declare const calculationDateAdvanced: (dateTypeKey?: string, calculationTypeKey?: string, calculationDateKey?: any, value?: number, dateFormat?: string, timezone?: string) => any;
15
+ export declare const calculationDateAdvanced: (dateTypeKey?: DateTypeKey, operator?: 'minus' | 'plus', calculationDateKey?: TCalculationDate, value?: number, dateFormat?: string, timezone?: string) => string;
19
16
  /**
20
17
  * Get text of calendar cell base on valueType (semantic/date format)
21
18
  * @link https://ant.design/components/date-picker#components-date-picker-demo-cell-render
@@ -24,24 +21,27 @@ export declare const calculationDateAdvanced: (dateTypeKey?: string, calculation
24
21
  * @param {ValueTypes} valueType type of value (get from component props)
25
22
  * @returns {number | string} label of cell according to valueType
26
23
  */
27
- export declare const getCellRender: (current: number | Dayjs, valueType: ValueTypes, info: CellRenderInfo<Dayjs>) => number | string;
24
+ export declare const getCellRender: (current: number | Dayjs, valueType: ValueTypes, info: Pick<CellRenderInfo<Dayjs>, 'type'>) => number | string;
28
25
  /**
26
+ * Get the type of calendar picker based on valueType
29
27
  * @param {ValueTypes} valueType type of value (get from component props)
30
28
  * @returns {'date' | 'week' | 'month' | 'quarter' | 'year'} picker ant-design props to render type of calendar
31
29
  */
32
30
  export declare const getPickerRender: (valueType: ValueTypes) => 'date' | 'week' | 'month' | 'quarter' | 'year';
33
31
  export declare const getTimePickerRender: (valueType: ValueTypes) => 'HH' | 'HHmm' | 'HHmmss' | 'mm' | undefined;
34
- export declare function getLabelQuarterRange(day: string, format: string, locale: string, showYear?: boolean): string;
35
- export declare function getLabelQuarterRange(quarter: number, year?: number): string;
36
- export declare const getFormatDisplay: (operatorKey?: TOperatorKey, type?: TAdvancedType, valueType?: ValueTypes, formatInputDisplay?: string) => {
32
+ /**
33
+ * Get the sub label for current selected quarter
34
+ */
35
+ export declare function getLabelQuarterRange(day: string, format: string, locale: string): string;
36
+ export declare const getFormatDisplay: (operatorKey?: TOperatorKey, type?: TAdvancedType, valueType?: ValueTypes) => {
37
37
  formatDisplay: string;
38
38
  timeFormatDisplay: string;
39
39
  };
40
40
  /**
41
41
  * Returns the formatted display string based on the given type and value type.
42
42
  *
43
- * @param {TAdvancedType} [type] - The type indicating whether it's a start or end date.
44
- * @param {ValueTypes} [valueType] - The value type specifying the date/time format.
43
+ * @param {TAdvancedType} type - The type indicating whether it's a start or end date.
44
+ * @param {ValueTypes} valueType - The value type specifying the date/time format.
45
45
  * @returns {string} The formatted display string.
46
46
  *
47
47
  * @example
@@ -49,3 +49,4 @@ export declare const getFormatDisplay: (operatorKey?: TOperatorKey, type?: TAdva
49
49
  * getFormatDisplayFromValueType('anyType', 'YEAR_MONTH_DAY_SECOND');
50
50
  */
51
51
  export declare const getFormatDisplayFromValueType: (type?: TAdvancedType, valueType?: ValueTypes) => string;
52
+ export {};
@@ -7,7 +7,7 @@ import quarterOfYear from 'dayjs/plugin/quarterOfYear';
7
7
  import utc from 'dayjs/plugin/utc';
8
8
  import timezone from 'dayjs/plugin/timezone';
9
9
  // Constants
10
- import { DATE_TYPE_MAPPING, DEFAULT_DATE_FORMAT, MONTH_LABEL_SHORT, QUARTER_PLACEHOLDER, WEEK_PLACEHOLDER, } from './constants';
10
+ import { DATE_TYPE_MAPPING, DEFAULT_DATE_FORMAT } from './constants';
11
11
  import { ADVANCED_RANGE_PICKER_FORMAT } from '../AdvancedRangePicker/constants';
12
12
  dayjs.extend(isoWeek);
13
13
  dayjs.extend(quarterOfYear);
@@ -15,46 +15,30 @@ dayjs.extend(utc);
15
15
  dayjs.extend(timezone);
16
16
  /**
17
17
  * Calculates a new date based on the given parameters.
18
- * @param {string} [dateTypeKey='today'] - Key to determine the type of date to be used as the starting point.
19
- * Valid values are: 'today', 'first_day_of_week_mon_sun', 'first_day_of_week_sun_sat',
20
- * 'first_day_of_month', 'first_day_of_quarter', 'first_day_of_year', 'last_day_of_week_mon_sun',
21
- * 'last_day_of_week_sun_sat', 'last_day_of_month', 'last_day_of_quarter', 'last_day_of_year'.
22
- * @param {string} [calculationTypeKey='minus'] - Key to determine whether to add or subtract the specified value.
23
- * Valid values are: 'plus', 'minus'.
24
- * @param {string} [calculationDateKey='days'] - Key to determine the unit of time to be added or subtracted.
18
+ * @param {DateTypeKey} [dateTypeKey='today'] - Key to determine the type of date to be used as the starting point.
19
+ * @param {'minus' | 'plus'} [operator='minus'] - Key to determine whether to add or subtract the specified value.
20
+ * @param {TCalculationDate} [calculationDateKey='days'] - Key to determine the unit of time to be added or subtracted.
25
21
  * Valid values are: 'days', 'weeks', 'months', 'quarters', 'years'.
26
22
  * @param {number} [value=0] - Value to be added or subtracted.
27
23
  * @param {string} [dateFormat=DEFAULT_DATE_FORMAT] - Format in which to return the new date.
28
24
  * @returns {string} The new date in the specified format.
29
25
  */
30
- export const calculationDateAdvanced = (dateTypeKey = 'today', calculationTypeKey = 'minus', calculationDateKey = 'days', value = 0, dateFormat = DEFAULT_DATE_FORMAT, timezone) => {
26
+ export const calculationDateAdvanced = (dateTypeKey = 'today', operator = 'minus', calculationDateKey = 'days', value = 0, dateFormat = DEFAULT_DATE_FORMAT, timezone) => {
27
+ // Get selected date type
31
28
  let date = dayjs().tz(timezone);
32
- // let date = dayjs();
33
29
  if (DATE_TYPE_MAPPING[dateTypeKey]) {
34
30
  date = dateTypeKey.includes('first_day')
35
31
  ? date.startOf(DATE_TYPE_MAPPING[dateTypeKey])
36
- : dateTypeKey.includes('last_day')
37
- ? date.endOf(DATE_TYPE_MAPPING[dateTypeKey])
38
- : dayjs();
32
+ : date.endOf(DATE_TYPE_MAPPING[dateTypeKey]);
39
33
  }
40
- let newDate = '';
41
- newDate =
42
- calculationTypeKey === 'plus'
43
- ? dayjs(date).add(value, calculationDateKey)
44
- : dayjs(date).subtract(value, calculationDateKey);
45
- switch (dateTypeKey) {
46
- case 'last_day_of_month':
47
- if (calculationDateKey === 'months' || calculationDateKey === 'quarters') {
48
- newDate = dayjs(newDate).endOf('month');
49
- }
50
- break;
51
- case 'last_day_of_quarter':
52
- if (calculationDateKey === 'months' || calculationDateKey === 'quarters') {
53
- newDate = dayjs(newDate).endOf('month');
54
- }
55
- break;
56
- default:
57
- break;
34
+ // Calculate new date base on operator and calculation date
35
+ let newDate = operator === 'plus'
36
+ ? date.add(value, calculationDateKey)
37
+ : date.subtract(value, calculationDateKey);
38
+ // If date type is 'last_day_of_month' or 'last_day_of_quarter', end of month or quarter, return the last day of the month
39
+ if ((dateTypeKey === 'last_day_of_month' || dateTypeKey === 'last_day_of_quarter') &&
40
+ (calculationDateKey === 'months' || calculationDateKey === 'quarters')) {
41
+ newDate = dayjs(newDate).endOf('month');
58
42
  }
59
43
  return newDate.format(dateFormat);
60
44
  };
@@ -74,7 +58,7 @@ export const getCellRender = (current, valueType, info) => {
74
58
  if (info.type === 'year')
75
59
  return current.year();
76
60
  if (info.type === 'month')
77
- return MONTH_LABEL_SHORT[current.month()];
61
+ return current.format('MMM');
78
62
  switch (valueType) {
79
63
  case 'DAY':
80
64
  return current.date();
@@ -83,7 +67,7 @@ export const getCellRender = (current, valueType, info) => {
83
67
  return `Quarter ${current.quarter()}`;
84
68
  case 'MONTH':
85
69
  case 'YEAR_MONTH':
86
- return MONTH_LABEL_SHORT[current.month()];
70
+ return current.format('MMM');
87
71
  case 'WEEK':
88
72
  return current.isoWeek();
89
73
  default:
@@ -91,6 +75,7 @@ export const getCellRender = (current, valueType, info) => {
91
75
  }
92
76
  };
93
77
  /**
78
+ * Get the type of calendar picker based on valueType
94
79
  * @param {ValueTypes} valueType type of value (get from component props)
95
80
  * @returns {'date' | 'week' | 'month' | 'quarter' | 'year'} picker ant-design props to render type of calendar
96
81
  */
@@ -128,26 +113,19 @@ export const getTimePickerRender = (valueType) => {
128
113
  return undefined;
129
114
  }
130
115
  };
131
- export function getLabelQuarterRange(quarterOrDay, yearOrFormat, locale, showYear = true) {
132
- const dayObj = typeof quarterOrDay === 'number'
133
- ? null
134
- : dayjs(quarterOrDay || new Date(), yearOrFormat).locale(locale || 'en');
135
- const currQuarter = dayObj ? dayObj.quarter() : quarterOrDay;
136
- const currYear = dayObj
137
- ? showYear
138
- ? dayObj.year()
139
- : null
140
- : typeof yearOrFormat === 'number'
141
- ? yearOrFormat
142
- : null;
116
+ /**
117
+ * Get the sub label for current selected quarter
118
+ */
119
+ export function getLabelQuarterRange(day, format, locale) {
120
+ const dayObj = dayjs(day || new Date(), format).locale(locale || 'en');
121
+ const currQuarter = dayObj.quarter();
122
+ const currYear = dayObj.year();
143
123
  const startMonthQuarter = [undefined, 'January', 'April', 'July', 'October'];
144
124
  const endMonthQuarter = [undefined, 'March', 'June', 'September', 'December'];
145
125
  const endDayQuarter = [undefined, 31, 30, 30, 31];
146
- return currYear
147
- ? `${startMonthQuarter[currQuarter]} 01, ${currYear} - ${endMonthQuarter[currQuarter]} ${endDayQuarter[currQuarter]}, ${currYear}`
148
- : `${startMonthQuarter[currQuarter]} 01 - ${endMonthQuarter[currQuarter]} ${endDayQuarter[currQuarter]}`;
126
+ return `${startMonthQuarter[currQuarter]} 01, ${currYear} - ${endMonthQuarter[currQuarter]} ${endDayQuarter[currQuarter]}, ${currYear}`;
149
127
  }
150
- export const getFormatDisplay = (operatorKey, type, valueType, formatInputDisplay) => {
128
+ export const getFormatDisplay = (operatorKey, type, valueType) => {
151
129
  let formatDisplay = '';
152
130
  let timeFormatDisplay = '';
153
131
  const isStartDate = operatorKey === 'between' ? type === 'startDate' : operatorKey === 'after';
@@ -156,13 +134,13 @@ export const getFormatDisplay = (operatorKey, type, valueType, formatInputDispla
156
134
  formatDisplay = 'YYYY';
157
135
  break;
158
136
  case 'YEAR_QUARTER':
159
- formatDisplay = `${QUARTER_PLACEHOLDER}Q, YYYY`;
137
+ formatDisplay = '[Quarter] Q, YYYY';
160
138
  break;
161
139
  case 'YEAR_MONTH':
162
140
  formatDisplay = 'MMMM, YYYY';
163
141
  break;
164
142
  case 'YEAR_WEEK':
165
- formatDisplay = `${WEEK_PLACEHOLDER}w, YYYY`;
143
+ formatDisplay = '[Week] w, YYYY';
166
144
  break;
167
145
  case 'YEAR_MONTH_DAY':
168
146
  formatDisplay = 'MMMM DD, YYYY';
@@ -180,13 +158,13 @@ export const getFormatDisplay = (operatorKey, type, valueType, formatInputDispla
180
158
  timeFormatDisplay = 'HH:mm:ss';
181
159
  break;
182
160
  case 'QUARTER':
183
- formatDisplay = `${QUARTER_PLACEHOLDER}Q`;
161
+ formatDisplay = '[Quarter] Q';
184
162
  break;
185
163
  case 'MONTH':
186
164
  formatDisplay = 'MMMM';
187
165
  break;
188
166
  case 'WEEK':
189
- formatDisplay = `${WEEK_PLACEHOLDER}w`;
167
+ formatDisplay = '[Week] w';
190
168
  break;
191
169
  case 'MONTH_DAY':
192
170
  formatDisplay = 'MMMM DD';
@@ -208,13 +186,13 @@ export const getFormatDisplay = (operatorKey, type, valueType, formatInputDispla
208
186
  timeFormatDisplay = isStartDate ? '00:00:00' : '23:59:59';
209
187
  break;
210
188
  }
211
- return { formatDisplay: formatInputDisplay || formatDisplay, timeFormatDisplay };
189
+ return { formatDisplay, timeFormatDisplay };
212
190
  };
213
191
  /**
214
192
  * Returns the formatted display string based on the given type and value type.
215
193
  *
216
- * @param {TAdvancedType} [type] - The type indicating whether it's a start or end date.
217
- * @param {ValueTypes} [valueType] - The value type specifying the date/time format.
194
+ * @param {TAdvancedType} type - The type indicating whether it's a start or end date.
195
+ * @param {ValueTypes} valueType - The value type specifying the date/time format.
218
196
  * @returns {string} The formatted display string.
219
197
  *
220
198
  * @example
@@ -15,6 +15,9 @@ export interface AdvancedRangePickerProps {
15
15
  timeRange: TTimeRange;
16
16
  errorMessage?: string;
17
17
  showLabel?: boolean;
18
+ /**
19
+ * @deprecated showTime (DropdownLabel component) now base on valueType
20
+ */
18
21
  showTime?: boolean;
19
22
  timezone?: string;
20
23
  separator?: ReactNode;
@@ -1,7 +1,7 @@
1
- var _a, _b;
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Libraries
3
3
  import dayjs from 'dayjs';
4
- import React, { useState } from 'react';
4
+ import { useState } from 'react';
5
5
  import omit from 'lodash/omit';
6
6
  import isEqual from 'react-fast-compare';
7
7
  import { useDeepCompareEffect } from '../../../../../hooks';
@@ -11,7 +11,6 @@ import { Space } from '../../../../atoms';
11
11
  import { AdvancedPicker } from '../AdvancedPicker';
12
12
  // Constants
13
13
  import { ADVANCED_RANGE_PICKER_FORMAT } from './constants';
14
- import { THEME } from '@antscorp/antsomi-ui/es/constants';
15
14
  // Utils
16
15
  import { handleError } from '@antscorp/antsomi-ui/es/utils';
17
16
  import { translations } from '@antscorp/antsomi-ui/es/locales/translations';
@@ -22,7 +21,22 @@ const PATH = '@antscorp/antsomi-ui/es/components/molecules/DatePicker/components
22
21
  export const AdvancedRangePicker = props => {
23
22
  const { t } = i18nInstance;
24
23
  // Props
25
- const { className, valueType, useFormatMapping, timeRange, errorMessage, showLabel, startDateConfig, endDateConfig, showTime, showCalculationTypeCondition, disabled, timezone, separator, inputStyle, popupStyle, isViewMode, onChange, } = props;
24
+ const { className, valueType, useFormatMapping, timeRange = {
25
+ startDate: {
26
+ date: dayjs().format(ADVANCED_RANGE_PICKER_FORMAT.startDate),
27
+ calculationDate: 'years',
28
+ value: 1,
29
+ calculationType: 'minus',
30
+ dateType: 'today',
31
+ },
32
+ endDate: {
33
+ date: dayjs().format(ADVANCED_RANGE_PICKER_FORMAT.endDate),
34
+ calculationDate: 'days',
35
+ value: 1,
36
+ calculationType: 'minus',
37
+ dateType: 'today',
38
+ },
39
+ }, errorMessage = '', showLabel = true, startDateConfig, endDateConfig, showCalculationTypeCondition, disabled, timezone, separator, inputStyle, popupStyle, isViewMode, onChange, } = props;
26
40
  const [timeRangeState, setTimeRange] = useState(timeRange);
27
41
  useDeepCompareEffect(() => {
28
42
  if (typeof onChange === 'function') {
@@ -36,9 +50,21 @@ export const AdvancedRangePicker = props => {
36
50
  const onUpdateTimeRange = (key, params, mode = 'user') => {
37
51
  try {
38
52
  if (typeof onChange === 'function') {
39
- const newTimeRange = Object.assign(Object.assign({}, timeRange), { [key]: Object.assign(Object.assign({}, timeRange[key]), params) });
53
+ const newTimeRange = {
54
+ ...timeRange,
55
+ [key]: {
56
+ ...timeRange[key],
57
+ ...params,
58
+ },
59
+ };
40
60
  if (!isEqual(newTimeRange, timeRange)) {
41
- setTimeRange(prev => (Object.assign(Object.assign({}, prev), { [key]: Object.assign(Object.assign({}, timeRange[key]), params) })));
61
+ setTimeRange(prev => ({
62
+ ...prev,
63
+ [key]: {
64
+ ...timeRange[key],
65
+ ...params,
66
+ },
67
+ }));
42
68
  if (mode === 'user') {
43
69
  onChange({
44
70
  timeRange: newTimeRange,
@@ -57,39 +83,13 @@ export const AdvancedRangePicker = props => {
57
83
  });
58
84
  }
59
85
  };
60
- return (React.createElement(Space, { size: 15, align: "end", className: className || '' },
61
- React.createElement(AdvancedPicker, { valueType: valueType, disabled: disabled, label: showLabel ? t(translations.datePicker.startDate) || '' : '', date: timeRange.startDate.date, option: omit(timeRange.startDate, 'date'), operatorKey: "between", type: "startDate", format: useFormatMapping
62
- ? getFormatDisplayFromValueType('startDate', valueType)
63
- : ADVANCED_RANGE_PICKER_FORMAT.startDate,
64
- // format={ADVANCED_RANGE_PICKER_FORMAT.startDate}
65
- errorMessage: errorMessage, disableAfterDate: timeRange.endDate.date, showTime: showTime, calculationTypeKeysShow: startDateConfig === null || startDateConfig === void 0 ? void 0 : startDateConfig.calculationTypeKeysShow, showCalculationTypeCondition: showCalculationTypeCondition, timezone: timezone, onUpdatedNewDate: ({ date }) => onUpdateTimeRange('startDate', { date }, 'system'), onApply: ({ date, option }) => onUpdateTimeRange('startDate', Object.assign({ date }, option), 'user'), inputStyle: inputStyle, popupStyle: popupStyle, isViewMode: isViewMode }),
66
- separator || null,
67
- React.createElement(AdvancedPicker, { valueType: valueType, disabled: disabled, label: showLabel ? t(translations.datePicker.endDate) || '' : '', date: timeRange.endDate.date, option: omit(timeRange.endDate, 'date'), operatorKey: "between", type: "endDate", format: useFormatMapping
68
- ? getFormatDisplayFromValueType('endDate', valueType)
69
- : ADVANCED_RANGE_PICKER_FORMAT.endDate,
70
- // format={ADVANCED_RANGE_PICKER_FORMAT.endDate}
71
- errorMessage: errorMessage, showTime: showTime, calculationTypeKeysShow: endDateConfig === null || endDateConfig === void 0 ? void 0 : endDateConfig.calculationTypeKeysShow, showCalculationTypeCondition: showCalculationTypeCondition, timezone: timezone, onUpdatedNewDate: ({ date }) => onUpdateTimeRange('endDate', { date }, 'system'), onApply: ({ date, option }) => onUpdateTimeRange('endDate', Object.assign({ date }, option), 'user'), inputStyle: inputStyle, popupStyle: popupStyle, isViewMode: isViewMode })));
72
- };
73
- AdvancedRangePicker.defaultProps = {
74
- timeRange: {
75
- startDate: {
76
- date: dayjs().format(ADVANCED_RANGE_PICKER_FORMAT.startDate),
77
- calculationDate: 'years',
78
- value: 1,
79
- calculationType: 'minus',
80
- dateType: 'today',
81
- },
82
- endDate: {
83
- date: dayjs().format(ADVANCED_RANGE_PICKER_FORMAT.endDate),
84
- calculationDate: 'days',
85
- value: 1,
86
- calculationType: 'minus',
87
- dateType: 'today',
88
- },
89
- },
90
- popupStyle: { borderRadius: (_b = (_a = THEME.token) === null || _a === void 0 ? void 0 : _a.borderRadiusLG) !== null && _b !== void 0 ? _b : 10 },
91
- errorMessage: '',
92
- disabled: false,
93
- showLabel: true,
94
- showTime: true,
86
+ return (_jsxs(Space, { size: 15, align: "end", className: className || '', children: [_jsx(AdvancedPicker, { valueType: valueType, disabled: disabled, label: showLabel ? t(translations.datePicker.startDate) || '' : '', date: timeRange.startDate.date, option: omit(timeRange.startDate, 'date'), operatorKey: "between", type: "startDate", format: useFormatMapping
87
+ ? getFormatDisplayFromValueType('startDate', valueType)
88
+ : ADVANCED_RANGE_PICKER_FORMAT.startDate,
89
+ // format={ADVANCED_RANGE_PICKER_FORMAT.startDate}
90
+ errorMessage: errorMessage, disableAfterDate: timeRange.endDate.date, calculationTypeKeysShow: startDateConfig?.calculationTypeKeysShow, showCalculationTypeCondition: showCalculationTypeCondition, timezone: timezone, onUpdatedNewDate: ({ date }) => onUpdateTimeRange('startDate', { date }, 'system'), onApply: ({ date, option }) => onUpdateTimeRange('startDate', { date, ...option }, 'user'), inputStyle: inputStyle, popupStyle: popupStyle, isViewMode: isViewMode }), separator || null, _jsx(AdvancedPicker, { valueType: valueType, disabled: disabled, label: showLabel ? t(translations.datePicker.endDate) || '' : '', date: timeRange.endDate.date, option: omit(timeRange.endDate, 'date'), operatorKey: "between", type: "endDate", format: useFormatMapping
91
+ ? getFormatDisplayFromValueType('endDate', valueType)
92
+ : ADVANCED_RANGE_PICKER_FORMAT.endDate,
93
+ // format={ADVANCED_RANGE_PICKER_FORMAT.endDate}
94
+ errorMessage: errorMessage, calculationTypeKeysShow: endDateConfig?.calculationTypeKeysShow, showCalculationTypeCondition: showCalculationTypeCondition, timezone: timezone, onUpdatedNewDate: ({ date }) => onUpdateTimeRange('endDate', { date }, 'system'), onApply: ({ date, option }) => onUpdateTimeRange('endDate', { date, ...option }, 'user'), inputStyle: inputStyle, popupStyle: popupStyle, isViewMode: isViewMode })] }));
95
95
  };
@@ -5,9 +5,7 @@ interface DropdownLabelProps {
5
5
  date?: string;
6
6
  format?: string;
7
7
  type?: TAdvancedType;
8
- showTime?: boolean;
9
8
  operatorKey?: TOperatorKey;
10
- formatInputDisplay?: string;
11
9
  }
12
10
  export declare const DropdownLabel: React.FC<DropdownLabelProps>;
13
11
  export {};
@@ -1,18 +1,18 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  // Libraries
2
3
  import dayjs from 'dayjs';
3
4
  import React from 'react';
4
5
  // Components
5
6
  import { Typography } from '@antscorp/antsomi-ui/es/components/atoms';
6
7
  // Constants
7
- import { ADVANCED_PICKER_TYPE, DEFAULT_DATE_FORMAT, HIDE_TIME_LABEL_ARR, QUARTER_PLACEHOLDER, WEEK_PLACEHOLDER, } from '../AdvancedPicker/constants';
8
+ import { ADVANCED_PICKER_TYPE, DEFAULT_DATE_FORMAT, HIDE_TIME_LABEL_ARR, } from '../AdvancedPicker/constants';
8
9
  // Instance
9
10
  import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
10
11
  import { getFormatDisplay, getLabelQuarterRange } from '../AdvancedPicker/utils';
11
- export const DropdownLabel = React.memo(({ valueType, date, format, type, showTime, operatorKey, formatInputDisplay }) => {
12
- var _a;
12
+ export const DropdownLabel = React.memo(({ valueType, date, format, type, operatorKey }) => {
13
13
  const { t } = i18nInstance;
14
- const title = (_a = Object.values(ADVANCED_PICKER_TYPE).find(({ value }) => value === type)) === null || _a === void 0 ? void 0 : _a.label;
15
- const { timeFormatDisplay } = getFormatDisplay(operatorKey, type, valueType, formatInputDisplay);
14
+ const title = Object.values(ADVANCED_PICKER_TYPE).find(({ value }) => value === type)?.label;
15
+ const { timeFormatDisplay } = getFormatDisplay(operatorKey, type, valueType);
16
16
  let formatLabel = 'dddd, MMMM DD, YYYY';
17
17
  let subLabel = '';
18
18
  switch (valueType) {
@@ -20,9 +20,8 @@ export const DropdownLabel = React.memo(({ valueType, date, format, type, showTi
20
20
  formatLabel = 'YYYY';
21
21
  break;
22
22
  case 'YEAR_QUARTER':
23
- formatLabel = `${QUARTER_PLACEHOLDER}Q, YYYY`;
23
+ formatLabel = '[Quarter] Q, YYYY';
24
24
  subLabel = getLabelQuarterRange(date, format || DEFAULT_DATE_FORMAT, 'en');
25
- // subLabel = getLabelQuarterRange(date!, format || DEFAULT_DATE_FORMAT, locale);
26
25
  break;
27
26
  case 'YEAR_MONTH':
28
27
  formatLabel = 'MMMM, YYYY';
@@ -30,7 +29,7 @@ export const DropdownLabel = React.memo(({ valueType, date, format, type, showTi
30
29
  case 'YEAR_WEEK': {
31
30
  const dayObj = dayjs(date || new Date(), format).locale('en');
32
31
  // const dayObj = dayjs(date || new Date(), format).locale(locale || 'en');
33
- formatLabel = `${WEEK_PLACEHOLDER}w, YYYY`;
32
+ formatLabel = '[Week] w, YYYY';
34
33
  subLabel = `${dayjs(dayObj).day(0).format('MMMM DD, YYYY')} - ${dayjs(dayObj)
35
34
  .day(6)
36
35
  .format('MMMM DD, YYYY')}`;
@@ -45,13 +44,13 @@ export const DropdownLabel = React.memo(({ valueType, date, format, type, showTi
45
44
  formatLabel = 'dddd, MMMM DD, YYYY';
46
45
  break;
47
46
  case 'QUARTER':
48
- formatLabel = `${QUARTER_PLACEHOLDER}Q`;
47
+ formatLabel = '[Quarter] Q';
49
48
  break;
50
49
  case 'MONTH':
51
50
  formatLabel = 'MMMM';
52
51
  break;
53
52
  case 'WEEK':
54
- formatLabel = `${WEEK_PLACEHOLDER}w`;
53
+ formatLabel = '[Week] w';
55
54
  break;
56
55
  case 'MONTH_DAY':
57
56
  formatLabel = 'MMMM DD';
@@ -71,17 +70,9 @@ export const DropdownLabel = React.memo(({ valueType, date, format, type, showTi
71
70
  default:
72
71
  break;
73
72
  }
74
- return (React.createElement("div", { style: { textAlign: 'center' } },
75
- title && operatorKey === 'between' && (React.createElement(Typography.Text, { className: "__title", style: { color: '#666666' } }, t(title))),
76
- React.createElement("div", { style: { fontWeight: 'bold' } }, dayjs(date || new Date(), format)
77
- .locale('en')
78
- // .locale(locale || 'en')
79
- .format(formatLabel)
80
- .replace(QUARTER_PLACEHOLDER, 'Quarter ')
81
- .replace(WEEK_PLACEHOLDER, 'Week ')),
82
- subLabel ? React.createElement("div", null, subLabel) : null,
83
- !HIDE_TIME_LABEL_ARR.includes(valueType || '') && showTime && !subLabel ? (React.createElement("div", { style: { fontWeight: 'bold' } }, dayjs(date || new Date(), format)
84
- .locale('en')
85
- // .locale(locale || 'en')
86
- .format(timeFormatDisplay))) : null));
73
+ return (_jsxs("div", { style: { textAlign: 'center' }, children: [title && operatorKey === 'between' && (_jsx(Typography.Text, { className: "__title", style: { color: '#666666' }, children: t(title) })), _jsx("div", { style: { fontWeight: 'bold' }, children: dayjs(date || new Date(), format)
74
+ .locale('en')
75
+ .format(formatLabel) }), subLabel ? _jsx("div", { children: subLabel }) : null, !HIDE_TIME_LABEL_ARR.includes(valueType || '') && !subLabel ? (_jsx("div", { style: { fontWeight: 'bold' }, children: dayjs(date || new Date(), format)
76
+ .locale('en')
77
+ .format(timeFormatDisplay) })) : null] }));
87
78
  });
@@ -1,12 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  import React from 'react';
2
3
  import Icon from '@antscorp/icons';
3
4
  import { Typography } from '@antscorp/antsomi-ui/es/components/atoms';
4
5
  import { THEME } from '@antscorp/antsomi-ui/es/constants';
5
6
  export const ErrorMessage = React.memo(({ errorMessage }) => {
6
- var _a;
7
7
  if (!errorMessage)
8
8
  return null;
9
- return (React.createElement("div", { style: { display: 'flex', alignItems: 'center', gap: 5 } },
10
- React.createElement(Icon, { type: "icon-ants-remove-circle", style: { color: (_a = THEME.token) === null || _a === void 0 ? void 0 : _a.colorError } }),
11
- React.createElement(Typography.Text, { type: "danger" }, errorMessage)));
9
+ return (_jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: 5 }, children: [_jsx(Icon, { type: "icon-ants-remove-circle", style: { color: THEME.token?.colorError } }), _jsx(Typography.Text, { type: "danger", children: errorMessage })] }));
12
10
  });
@@ -1,17 +1,7 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
2
  /* eslint-disable react/destructuring-assignment */
13
3
  // Libraries
14
- import React, { useEffect, useMemo, useState } from 'react';
4
+ import { useEffect, useMemo, useState } from 'react';
15
5
  import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
16
6
  import { translations } from '@antscorp/antsomi-ui/es/locales/translations';
17
7
  // Atoms
@@ -21,7 +11,7 @@ import { DatePicker as AntDatePicker } from 'antd';
21
11
  // Styled
22
12
  import { DatePickerWrapper } from './styled';
23
13
  export const DatePickerV2 = props => {
24
- const { required, focused, onChange } = props, restOf = __rest(props, ["required", "focused", "onChange"]);
14
+ const { required, focused, onChange, ...restOf } = props;
25
15
  // I18n
26
16
  const { t } = i18nInstance;
27
17
  const [isFocused, setFocused] = useState(false);
@@ -38,14 +28,11 @@ export const DatePickerV2 = props => {
38
28
  setFocused(focused);
39
29
  }
40
30
  }, [focused]);
41
- return (React.createElement(DatePickerWrapper, null,
42
- React.createElement(Space, { direction: "vertical", size: 5 },
43
- React.createElement(AntDatePicker, Object.assign({}, restOf, { onBlur: e => {
44
- if (!isFocused) {
45
- setFocused(true);
46
- }
47
- // eslint-disable-next-line @typescript-eslint/no-unused-expressions
48
- props.onBlur && props.onBlur(e);
49
- }, onChange: date => onChange('date-picker', date) })),
50
- requiredMsg ? (React.createElement(Text, { color: "#ff4d4f", style: { marginLeft: 8 } }, requiredMsg)) : null)));
31
+ return (_jsx(DatePickerWrapper, { children: _jsxs(Space, { direction: "vertical", size: 5, children: [_jsx(AntDatePicker, { ...restOf, onBlur: e => {
32
+ if (!isFocused) {
33
+ setFocused(true);
34
+ }
35
+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
36
+ props.onBlur && props.onBlur(e);
37
+ }, onChange: date => onChange('date-picker', date) }), requiredMsg ? (_jsx(Text, { color: "#ff4d4f", style: { marginLeft: 8 }, children: requiredMsg })) : null] }) }));
51
38
  };
@@ -1,4 +1,3 @@
1
- var _a;
2
1
  // Libraries
3
2
  import styled from 'styled-components';
4
3
  // Constants
@@ -6,7 +5,7 @@ import { THEME } from '@antscorp/antsomi-ui/es/constants';
6
5
  export const DatePickerWrapper = styled.div `
7
6
  input {
8
7
  &::placeholder {
9
- font-size: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.fontSize}px;
8
+ font-size: ${THEME.token?.fontSize}px;
10
9
  }
11
10
  }
12
11
  `;
@@ -1,4 +1,3 @@
1
- // Libraries
2
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
3
2
  import { Drawer as AntdDrawer } from 'antd';
4
- export const Drawer = props => React.createElement(AntdDrawer, Object.assign({}, props));
3
+ export const Drawer = props => _jsx(AntdDrawer, { ...props });