@cometchat/chat-uikit-react-native 4.3.15 → 4.3.16

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 (2128) hide show
  1. package/ios/CometchatUiKit.xcodeproj/project.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  2. package/ios/CometchatUiKit.xcodeproj/xcuserdata/admin.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  3. package/package.json +1 -1
  4. package/src/AI/AIConversationStarter/style.ts +1 -1
  5. package/src/AI/style.ts +1 -1
  6. package/src/CometChatAddMembers/CometChatAddMembers.tsx +2 -0
  7. package/src/CometChatConversations/CometChatConversations.tsx +2 -1
  8. package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +2 -0
  9. package/src/CometChatGroups/CometChatGroups.tsx +2 -5
  10. package/src/CometChatGroups/GroupsConfiguration.ts +4 -30
  11. package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +1 -0
  12. package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +3 -1
  13. package/src/CometChatMessageList/CometChatMessageList.tsx +3 -3
  14. package/src/CometChatTabs/CometChatTabs.tsx +8 -10
  15. package/src/CometChatTransferOwnership/CometChatTransferOwnership.tsx +5 -3
  16. package/src/CometChatUsers/CometChatUsers.tsx +14 -1
  17. package/src/extensions/Polls/Polls.tsx +1 -1
  18. package/src/extensions/Polls/PollsBubble.tsx +1 -1
  19. package/src/shared/views/CometChatAICard/CometChatAICard.tsx +1 -1
  20. package/src/shared/views/CometChatActionSheet/ActionSheetStyle.ts +10 -32
  21. package/src/shared/views/CometChatImageViewerModal/ImageViewerModal.tsx +4 -2
  22. package/src/shared/views/CometChatList/CometChatList.tsx +11 -1
  23. package/src/shared/views/CometChatSuggestionList/CometChatSuggestionList.tsx +4 -2
  24. package/android/.gradle/7.4/checksums/checksums.lock +0 -0
  25. package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
  26. package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
  27. package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  28. package/android/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  29. package/android/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  30. package/android/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  31. package/android/.gradle/7.4/fileChanges/last-build.bin +0 -0
  32. package/android/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  33. package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  34. package/android/.gradle/7.4/fileHashes/resourceHashesCache.bin +0 -0
  35. package/android/.gradle/7.4/gc.properties +0 -0
  36. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  37. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  38. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  39. package/android/.gradle/checksums/checksums.lock +0 -0
  40. package/android/.gradle/config.properties +0 -2
  41. package/android/.gradle/configuration-cache/gc.properties +0 -0
  42. package/android/.gradle/file-system.probe +0 -0
  43. package/android/.gradle/vcs-1/gc.properties +0 -0
  44. package/android/.idea/gradle.xml +0 -13
  45. package/android/.idea/migrations.xml +0 -10
  46. package/android/.idea/misc.xml +0 -10
  47. package/android/.idea/vcs.xml +0 -6
  48. package/lib/AI/AIAssistBot/AIAssistBotDecorator.d.ts +0 -23
  49. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +0 -141
  50. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js.map +0 -1
  51. package/lib/AI/AIAssistBot/AIAssistBotExtension.d.ts +0 -8
  52. package/lib/AI/AIAssistBot/AIAssistBotExtension.js +0 -16
  53. package/lib/AI/AIAssistBot/AIAssistBotExtension.js.map +0 -1
  54. package/lib/AI/AIAssistBot/AIAssistBotStyle.d.ts +0 -27
  55. package/lib/AI/AIAssistBot/AIAssistBotStyle.js +0 -33
  56. package/lib/AI/AIAssistBot/AIAssistBotStyle.js.map +0 -1
  57. package/lib/AI/AIAssistBot/AIAssistBotView.d.ts +0 -13
  58. package/lib/AI/AIAssistBot/AIAssistBotView.js +0 -177
  59. package/lib/AI/AIAssistBot/AIAssistBotView.js.map +0 -1
  60. package/lib/AI/AIAssistBot/configuration.d.ts +0 -18
  61. package/lib/AI/AIAssistBot/configuration.js +0 -9
  62. package/lib/AI/AIAssistBot/configuration.js.map +0 -1
  63. package/lib/AI/AIAssistBot/resources/index.d.ts +0 -2
  64. package/lib/AI/AIAssistBot/resources/index.js +0 -3
  65. package/lib/AI/AIAssistBot/resources/index.js.map +0 -1
  66. package/lib/AI/AIBaseConfiguration.d.ts +0 -11
  67. package/lib/AI/AIBaseConfiguration.js +0 -10
  68. package/lib/AI/AIBaseConfiguration.js.map +0 -1
  69. package/lib/AI/AIBaseStyle.d.ts +0 -24
  70. package/lib/AI/AIBaseStyle.js +0 -22
  71. package/lib/AI/AIBaseStyle.js.map +0 -1
  72. package/lib/AI/AIConversationStarter/AIConversationStarter.d.ts +0 -8
  73. package/lib/AI/AIConversationStarter/AIConversationStarter.js +0 -16
  74. package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +0 -1
  75. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -30
  76. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +0 -182
  77. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +0 -1
  78. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +0 -10
  79. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +0 -8
  80. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +0 -1
  81. package/lib/AI/AIConversationStarter/configuration.d.ts +0 -7
  82. package/lib/AI/AIConversationStarter/configuration.js +0 -8
  83. package/lib/AI/AIConversationStarter/configuration.js.map +0 -1
  84. package/lib/AI/AIConversationStarter/style.d.ts +0 -30
  85. package/lib/AI/AIConversationStarter/style.js +0 -43
  86. package/lib/AI/AIConversationStarter/style.js.map +0 -1
  87. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -25
  88. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js +0 -159
  89. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js.map +0 -1
  90. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  91. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js +0 -16
  92. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js.map +0 -1
  93. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.d.ts +0 -15
  94. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js +0 -13
  95. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js.map +0 -1
  96. package/lib/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -15
  97. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +0 -140
  98. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js.map +0 -1
  99. package/lib/AI/AIConversationSummary/configuration.d.ts +0 -9
  100. package/lib/AI/AIConversationSummary/configuration.js +0 -11
  101. package/lib/AI/AIConversationSummary/configuration.js.map +0 -1
  102. package/lib/AI/AIConversationSummary/resources/index.d.ts +0 -2
  103. package/lib/AI/AIConversationSummary/resources/index.js +0 -3
  104. package/lib/AI/AIConversationSummary/resources/index.js.map +0 -1
  105. package/lib/AI/AIExtensionDataSource.d.ts +0 -6
  106. package/lib/AI/AIExtensionDataSource.js +0 -12
  107. package/lib/AI/AIExtensionDataSource.js.map +0 -1
  108. package/lib/AI/AIOptionsStyle.d.ts +0 -10
  109. package/lib/AI/AIOptionsStyle.js +0 -8
  110. package/lib/AI/AIOptionsStyle.js.map +0 -1
  111. package/lib/AI/AISmartReplies/AISmartReplies.d.ts +0 -8
  112. package/lib/AI/AISmartReplies/AISmartReplies.js +0 -16
  113. package/lib/AI/AISmartReplies/AISmartReplies.js.map +0 -1
  114. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -37
  115. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +0 -227
  116. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +0 -1
  117. package/lib/AI/AISmartReplies/AISmartRepliesStyle.d.ts +0 -12
  118. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +0 -8
  119. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +0 -1
  120. package/lib/AI/AISmartReplies/configuration.d.ts +0 -9
  121. package/lib/AI/AISmartReplies/configuration.js +0 -8
  122. package/lib/AI/AISmartReplies/configuration.js.map +0 -1
  123. package/lib/AI/CardView.d.ts +0 -19
  124. package/lib/AI/CardView.js +0 -34
  125. package/lib/AI/CardView.js.map +0 -1
  126. package/lib/AI/CardViewStyle.d.ts +0 -29
  127. package/lib/AI/CardViewStyle.js +0 -20
  128. package/lib/AI/CardViewStyle.js.map +0 -1
  129. package/lib/AI/resources/index.d.ts +0 -4
  130. package/lib/AI/resources/index.js +0 -5
  131. package/lib/AI/resources/index.js.map +0 -1
  132. package/lib/AI/style.d.ts +0 -130
  133. package/lib/AI/style.js +0 -91
  134. package/lib/AI/style.js.map +0 -1
  135. package/lib/AI/utils.d.ts +0 -38
  136. package/lib/AI/utils.js +0 -14
  137. package/lib/AI/utils.js.map +0 -1
  138. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +0 -42
  139. package/lib/CometChatAddMembers/AddMembersConfiguration.js +0 -9
  140. package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +0 -1
  141. package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +0 -10
  142. package/lib/CometChatAddMembers/CometChatAddMembers.js +0 -82
  143. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +0 -1
  144. package/lib/CometChatAddMembers/index.d.ts +0 -3
  145. package/lib/CometChatAddMembers/index.js +0 -4
  146. package/lib/CometChatAddMembers/index.js.map +0 -1
  147. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +0 -45
  148. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +0 -9
  149. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +0 -1
  150. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +0 -21
  151. package/lib/CometChatBannedMembers/CometChatBannedMembers.js +0 -85
  152. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +0 -1
  153. package/lib/CometChatBannedMembers/index.d.ts +0 -3
  154. package/lib/CometChatBannedMembers/index.js +0 -4
  155. package/lib/CometChatBannedMembers/index.js.map +0 -1
  156. package/lib/CometChatBannedMembers/resources/index.d.ts +0 -3
  157. package/lib/CometChatBannedMembers/resources/index.js +0 -3
  158. package/lib/CometChatBannedMembers/resources/index.js.map +0 -1
  159. package/lib/CometChatContacts/CometChatContacts.d.ts +0 -75
  160. package/lib/CometChatContacts/CometChatContacts.js +0 -87
  161. package/lib/CometChatContacts/CometChatContacts.js.map +0 -1
  162. package/lib/CometChatContacts/ContactsConfiguration.d.ts +0 -73
  163. package/lib/CometChatContacts/ContactsConfiguration.js +0 -2
  164. package/lib/CometChatContacts/ContactsConfiguration.js.map +0 -1
  165. package/lib/CometChatContacts/ContactsStyle.d.ts +0 -59
  166. package/lib/CometChatContacts/ContactsStyle.js +0 -2
  167. package/lib/CometChatContacts/ContactsStyle.js.map +0 -1
  168. package/lib/CometChatContacts/Header.d.ts +0 -31
  169. package/lib/CometChatContacts/Header.js +0 -62
  170. package/lib/CometChatContacts/Header.js.map +0 -1
  171. package/lib/CometChatContacts/index.d.ts +0 -4
  172. package/lib/CometChatContacts/index.js +0 -3
  173. package/lib/CometChatContacts/index.js.map +0 -1
  174. package/lib/CometChatContacts/styles.d.ts +0 -101
  175. package/lib/CometChatContacts/styles.js +0 -104
  176. package/lib/CometChatContacts/styles.js.map +0 -1
  177. package/lib/CometChatConversations/CometChatConversations.d.ts +0 -208
  178. package/lib/CometChatConversations/CometChatConversations.js +0 -838
  179. package/lib/CometChatConversations/CometChatConversations.js.map +0 -1
  180. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +0 -113
  181. package/lib/CometChatConversations/ConversationsConfiguration.js +0 -60
  182. package/lib/CometChatConversations/ConversationsConfiguration.js.map +0 -1
  183. package/lib/CometChatConversations/ConversationsStyle.d.ts +0 -38
  184. package/lib/CometChatConversations/ConversationsStyle.js +0 -30
  185. package/lib/CometChatConversations/ConversationsStyle.js.map +0 -1
  186. package/lib/CometChatConversations/index.d.ts +0 -4
  187. package/lib/CometChatConversations/index.js +0 -5
  188. package/lib/CometChatConversations/index.js.map +0 -1
  189. package/lib/CometChatConversations/resources/index.d.ts +0 -14
  190. package/lib/CometChatConversations/resources/index.js +0 -15
  191. package/lib/CometChatConversations/resources/index.js.map +0 -1
  192. package/lib/CometChatConversations/style.d.ts +0 -65
  193. package/lib/CometChatConversations/style.js +0 -67
  194. package/lib/CometChatConversations/style.js.map +0 -1
  195. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +0 -14
  196. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +0 -150
  197. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +0 -1
  198. package/lib/CometChatConversationsWithMessages/index.d.ts +0 -2
  199. package/lib/CometChatConversationsWithMessages/index.js +0 -3
  200. package/lib/CometChatConversationsWithMessages/index.js.map +0 -1
  201. package/lib/CometChatConversationsWithMessages/resources/index.d.ts +0 -2
  202. package/lib/CometChatConversationsWithMessages/resources/index.js +0 -3
  203. package/lib/CometChatConversationsWithMessages/resources/index.js.map +0 -1
  204. package/lib/CometChatConversationsWithMessages/styles.d.ts +0 -12
  205. package/lib/CometChatConversationsWithMessages/styles.js +0 -14
  206. package/lib/CometChatConversationsWithMessages/styles.js.map +0 -1
  207. package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +0 -98
  208. package/lib/CometChatCreateGroup/CometChatCreateGroup.js +0 -178
  209. package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +0 -1
  210. package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +0 -14
  211. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +0 -9
  212. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +0 -1
  213. package/lib/CometChatCreateGroup/Header.d.ts +0 -3
  214. package/lib/CometChatCreateGroup/Header.js +0 -37
  215. package/lib/CometChatCreateGroup/Header.js.map +0 -1
  216. package/lib/CometChatCreateGroup/index.d.ts +0 -3
  217. package/lib/CometChatCreateGroup/index.js +0 -4
  218. package/lib/CometChatCreateGroup/index.js.map +0 -1
  219. package/lib/CometChatCreateGroup/resources/index.d.ts +0 -5
  220. package/lib/CometChatCreateGroup/resources/index.js +0 -9
  221. package/lib/CometChatCreateGroup/resources/index.js.map +0 -1
  222. package/lib/CometChatCreateGroup/style.d.ts +0 -46
  223. package/lib/CometChatCreateGroup/style.js +0 -43
  224. package/lib/CometChatCreateGroup/style.js.map +0 -1
  225. package/lib/CometChatDetails/CometChatDetails.d.ts +0 -281
  226. package/lib/CometChatDetails/CometChatDetails.js +0 -390
  227. package/lib/CometChatDetails/CometChatDetails.js.map +0 -1
  228. package/lib/CometChatDetails/DetailsConfiguration.d.ts +0 -35
  229. package/lib/CometChatDetails/DetailsConfiguration.js +0 -9
  230. package/lib/CometChatDetails/DetailsConfiguration.js.map +0 -1
  231. package/lib/CometChatDetails/Header.d.ts +0 -3
  232. package/lib/CometChatDetails/Header.js +0 -24
  233. package/lib/CometChatDetails/Header.js.map +0 -1
  234. package/lib/CometChatDetails/index.d.ts +0 -3
  235. package/lib/CometChatDetails/index.js +0 -4
  236. package/lib/CometChatDetails/index.js.map +0 -1
  237. package/lib/CometChatDetails/listners.d.ts +0 -20
  238. package/lib/CometChatDetails/listners.js +0 -79
  239. package/lib/CometChatDetails/listners.js.map +0 -1
  240. package/lib/CometChatDetails/resources/index.d.ts +0 -7
  241. package/lib/CometChatDetails/resources/index.js +0 -13
  242. package/lib/CometChatDetails/resources/index.js.map +0 -1
  243. package/lib/CometChatDetails/styles.d.ts +0 -28
  244. package/lib/CometChatDetails/styles.js +0 -23
  245. package/lib/CometChatDetails/styles.js.map +0 -1
  246. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -96
  247. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +0 -346
  248. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +0 -1
  249. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +0 -86
  250. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +0 -33
  251. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +0 -1
  252. package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +0 -42
  253. package/lib/CometChatGroupMembers/GroupMemberStyle.js +0 -29
  254. package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +0 -1
  255. package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +0 -28
  256. package/lib/CometChatGroupMembers/GroupScopeStyle.js +0 -24
  257. package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +0 -1
  258. package/lib/CometChatGroupMembers/index.d.ts +0 -4
  259. package/lib/CometChatGroupMembers/index.js +0 -5
  260. package/lib/CometChatGroupMembers/index.js.map +0 -1
  261. package/lib/CometChatGroupMembers/resources/index.d.ts +0 -6
  262. package/lib/CometChatGroupMembers/resources/index.js +0 -7
  263. package/lib/CometChatGroupMembers/resources/index.js.map +0 -1
  264. package/lib/CometChatGroupMembers/style.d.ts +0 -31
  265. package/lib/CometChatGroupMembers/style.js +0 -30
  266. package/lib/CometChatGroupMembers/style.js.map +0 -1
  267. package/lib/CometChatGroups/CometChatGroups.d.ts +0 -141
  268. package/lib/CometChatGroups/CometChatGroups.js +0 -314
  269. package/lib/CometChatGroups/CometChatGroups.js.map +0 -1
  270. package/lib/CometChatGroups/GroupsConfiguration.d.ts +0 -73
  271. package/lib/CometChatGroups/GroupsConfiguration.js +0 -49
  272. package/lib/CometChatGroups/GroupsConfiguration.js.map +0 -1
  273. package/lib/CometChatGroups/GroupsStyle.d.ts +0 -51
  274. package/lib/CometChatGroups/GroupsStyle.js +0 -40
  275. package/lib/CometChatGroups/GroupsStyle.js.map +0 -1
  276. package/lib/CometChatGroups/index.d.ts +0 -4
  277. package/lib/CometChatGroups/index.js +0 -5
  278. package/lib/CometChatGroups/index.js.map +0 -1
  279. package/lib/CometChatGroups/resources/index.d.ts +0 -11
  280. package/lib/CometChatGroups/resources/index.js +0 -12
  281. package/lib/CometChatGroups/resources/index.js.map +0 -1
  282. package/lib/CometChatGroups/style.d.ts +0 -16
  283. package/lib/CometChatGroups/style.js +0 -19
  284. package/lib/CometChatGroups/style.js.map +0 -1
  285. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +0 -13
  286. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +0 -157
  287. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +0 -1
  288. package/lib/CometChatGroupsWithMessages/index.d.ts +0 -2
  289. package/lib/CometChatGroupsWithMessages/index.js +0 -3
  290. package/lib/CometChatGroupsWithMessages/index.js.map +0 -1
  291. package/lib/CometChatGroupsWithMessages/resources/index.d.ts +0 -2
  292. package/lib/CometChatGroupsWithMessages/resources/index.js +0 -3
  293. package/lib/CometChatGroupsWithMessages/resources/index.js.map +0 -1
  294. package/lib/CometChatGroupsWithMessages/styles.d.ts +0 -12
  295. package/lib/CometChatGroupsWithMessages/styles.js +0 -14
  296. package/lib/CometChatGroupsWithMessages/styles.js.map +0 -1
  297. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +0 -111
  298. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +0 -89
  299. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +0 -1
  300. package/lib/CometChatJoinProtectedGroup/Header.d.ts +0 -3
  301. package/lib/CometChatJoinProtectedGroup/Header.js +0 -29
  302. package/lib/CometChatJoinProtectedGroup/Header.js.map +0 -1
  303. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +0 -15
  304. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +0 -9
  305. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +0 -1
  306. package/lib/CometChatJoinProtectedGroup/index.d.ts +0 -3
  307. package/lib/CometChatJoinProtectedGroup/index.js +0 -4
  308. package/lib/CometChatJoinProtectedGroup/index.js.map +0 -1
  309. package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +0 -4
  310. package/lib/CometChatJoinProtectedGroup/resources/index.js +0 -7
  311. package/lib/CometChatJoinProtectedGroup/resources/index.js.map +0 -1
  312. package/lib/CometChatJoinProtectedGroup/style.d.ts +0 -11
  313. package/lib/CometChatJoinProtectedGroup/style.js +0 -10
  314. package/lib/CometChatJoinProtectedGroup/style.js.map +0 -1
  315. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -294
  316. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +0 -1027
  317. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +0 -1
  318. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +0 -61
  319. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +0 -9
  320. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +0 -1
  321. package/lib/CometChatMessageComposer/index.d.ts +0 -3
  322. package/lib/CometChatMessageComposer/index.js +0 -4
  323. package/lib/CometChatMessageComposer/index.js.map +0 -1
  324. package/lib/CometChatMessageComposer/resources/index.d.ts +0 -12
  325. package/lib/CometChatMessageComposer/resources/index.js +0 -23
  326. package/lib/CometChatMessageComposer/resources/index.js.map +0 -1
  327. package/lib/CometChatMessageComposer/styles.d.ts +0 -26
  328. package/lib/CometChatMessageComposer/styles.js +0 -28
  329. package/lib/CometChatMessageComposer/styles.js.map +0 -1
  330. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -150
  331. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +0 -197
  332. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +0 -1
  333. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +0 -36
  334. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +0 -10
  335. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +0 -1
  336. package/lib/CometChatMessageHeader/index.d.ts +0 -3
  337. package/lib/CometChatMessageHeader/index.js +0 -4
  338. package/lib/CometChatMessageHeader/index.js.map +0 -1
  339. package/lib/CometChatMessageHeader/listners.d.ts +0 -27
  340. package/lib/CometChatMessageHeader/listners.js +0 -49
  341. package/lib/CometChatMessageHeader/listners.js.map +0 -1
  342. package/lib/CometChatMessageHeader/resources/index.d.ts +0 -5
  343. package/lib/CometChatMessageHeader/resources/index.js +0 -9
  344. package/lib/CometChatMessageHeader/resources/index.js.map +0 -1
  345. package/lib/CometChatMessageHeader/styles.d.ts +0 -16
  346. package/lib/CometChatMessageHeader/styles.js +0 -16
  347. package/lib/CometChatMessageHeader/styles.js.map +0 -1
  348. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -36
  349. package/lib/CometChatMessageInformation/CometChatMessageInformation.js +0 -169
  350. package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +0 -1
  351. package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +0 -3
  352. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +0 -2
  353. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +0 -1
  354. package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +0 -11
  355. package/lib/CometChatMessageInformation/MessageInformationStyle.js +0 -2
  356. package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +0 -1
  357. package/lib/CometChatMessageInformation/index.d.ts +0 -4
  358. package/lib/CometChatMessageInformation/index.js +0 -3
  359. package/lib/CometChatMessageInformation/index.js.map +0 -1
  360. package/lib/CometChatMessageInformation/resources/index.d.ts +0 -2
  361. package/lib/CometChatMessageInformation/resources/index.js +0 -3
  362. package/lib/CometChatMessageInformation/resources/index.js.map +0 -1
  363. package/lib/CometChatMessageInformation/styles.d.ts +0 -23
  364. package/lib/CometChatMessageInformation/styles.js +0 -26
  365. package/lib/CometChatMessageInformation/styles.js.map +0 -1
  366. package/lib/CometChatMessageList/CometChatMessageList.d.ts +0 -116
  367. package/lib/CometChatMessageList/CometChatMessageList.js +0 -1468
  368. package/lib/CometChatMessageList/CometChatMessageList.js.map +0 -1
  369. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +0 -177
  370. package/lib/CometChatMessageList/MessageListConfiguration.js +0 -10
  371. package/lib/CometChatMessageList/MessageListConfiguration.js.map +0 -1
  372. package/lib/CometChatMessageList/MessageListStyle.d.ts +0 -32
  373. package/lib/CometChatMessageList/MessageListStyle.js +0 -26
  374. package/lib/CometChatMessageList/MessageListStyle.js.map +0 -1
  375. package/lib/CometChatMessageList/index.d.ts +0 -4
  376. package/lib/CometChatMessageList/index.js +0 -5
  377. package/lib/CometChatMessageList/index.js.map +0 -1
  378. package/lib/CometChatMessageList/resources/index.d.ts +0 -8
  379. package/lib/CometChatMessageList/resources/index.js +0 -9
  380. package/lib/CometChatMessageList/resources/index.js.map +0 -1
  381. package/lib/CometChatMessageList/style.d.ts +0 -52
  382. package/lib/CometChatMessageList/style.js +0 -54
  383. package/lib/CometChatMessageList/style.js.map +0 -1
  384. package/lib/CometChatMessages/CometChatMessages.d.ts +0 -42
  385. package/lib/CometChatMessages/CometChatMessages.js +0 -198
  386. package/lib/CometChatMessages/CometChatMessages.js.map +0 -1
  387. package/lib/CometChatMessages/MessageStyle.d.ts +0 -15
  388. package/lib/CometChatMessages/MessageStyle.js +0 -12
  389. package/lib/CometChatMessages/MessageStyle.js.map +0 -1
  390. package/lib/CometChatMessages/MessagesConfiguration.d.ts +0 -68
  391. package/lib/CometChatMessages/MessagesConfiguration.js +0 -9
  392. package/lib/CometChatMessages/MessagesConfiguration.js.map +0 -1
  393. package/lib/CometChatMessages/index.d.ts +0 -4
  394. package/lib/CometChatMessages/index.js +0 -5
  395. package/lib/CometChatMessages/index.js.map +0 -1
  396. package/lib/CometChatMessages/resources/index.d.ts +0 -2
  397. package/lib/CometChatMessages/resources/index.js +0 -3
  398. package/lib/CometChatMessages/resources/index.js.map +0 -1
  399. package/lib/CometChatMessages/style.d.ts +0 -21
  400. package/lib/CometChatMessages/style.js +0 -23
  401. package/lib/CometChatMessages/style.js.map +0 -1
  402. package/lib/CometChatTabs/CometChatTabs.d.ts +0 -11
  403. package/lib/CometChatTabs/CometChatTabs.js +0 -78
  404. package/lib/CometChatTabs/CometChatTabs.js.map +0 -1
  405. package/lib/CometChatTabs/CometChatTabsStyle.d.ts +0 -18
  406. package/lib/CometChatTabs/CometChatTabsStyle.js +0 -18
  407. package/lib/CometChatTabs/CometChatTabsStyle.js.map +0 -1
  408. package/lib/CometChatTabs/TabItemStyle.d.ts +0 -22
  409. package/lib/CometChatTabs/TabItemStyle.js +0 -21
  410. package/lib/CometChatTabs/TabItemStyle.js.map +0 -1
  411. package/lib/CometChatTabs/TabItems.d.ts +0 -10
  412. package/lib/CometChatTabs/TabItems.js +0 -2
  413. package/lib/CometChatTabs/TabItems.js.map +0 -1
  414. package/lib/CometChatTabs/index.d.ts +0 -4
  415. package/lib/CometChatTabs/index.js +0 -4
  416. package/lib/CometChatTabs/index.js.map +0 -1
  417. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +0 -113
  418. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +0 -160
  419. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +0 -1
  420. package/lib/CometChatThreadedMessages/Header.d.ts +0 -12
  421. package/lib/CometChatThreadedMessages/Header.js +0 -21
  422. package/lib/CometChatThreadedMessages/Header.js.map +0 -1
  423. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +0 -40
  424. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +0 -9
  425. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +0 -1
  426. package/lib/CometChatThreadedMessages/index.d.ts +0 -3
  427. package/lib/CometChatThreadedMessages/index.js +0 -4
  428. package/lib/CometChatThreadedMessages/index.js.map +0 -1
  429. package/lib/CometChatThreadedMessages/resources/index.d.ts +0 -8
  430. package/lib/CometChatThreadedMessages/resources/index.js +0 -15
  431. package/lib/CometChatThreadedMessages/resources/index.js.map +0 -1
  432. package/lib/CometChatThreadedMessages/style.d.ts +0 -25
  433. package/lib/CometChatThreadedMessages/style.js +0 -28
  434. package/lib/CometChatThreadedMessages/style.js.map +0 -1
  435. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +0 -41
  436. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +0 -65
  437. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +0 -1
  438. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +0 -40
  439. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +0 -9
  440. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +0 -1
  441. package/lib/CometChatTransferOwnership/index.d.ts +0 -3
  442. package/lib/CometChatTransferOwnership/index.js +0 -4
  443. package/lib/CometChatTransferOwnership/index.js.map +0 -1
  444. package/lib/CometChatUsers/CometChatUsers.d.ts +0 -69
  445. package/lib/CometChatUsers/CometChatUsers.js +0 -70
  446. package/lib/CometChatUsers/CometChatUsers.js.map +0 -1
  447. package/lib/CometChatUsers/UsersConfiguration.d.ts +0 -42
  448. package/lib/CometChatUsers/UsersConfiguration.js +0 -9
  449. package/lib/CometChatUsers/UsersConfiguration.js.map +0 -1
  450. package/lib/CometChatUsers/index.d.ts +0 -3
  451. package/lib/CometChatUsers/index.js +0 -4
  452. package/lib/CometChatUsers/index.js.map +0 -1
  453. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +0 -11
  454. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +0 -78
  455. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +0 -1
  456. package/lib/CometChatUsersWithMessages/index.d.ts +0 -2
  457. package/lib/CometChatUsersWithMessages/index.js +0 -3
  458. package/lib/CometChatUsersWithMessages/index.js.map +0 -1
  459. package/lib/CometChatUsersWithMessages/styles.d.ts +0 -12
  460. package/lib/CometChatUsersWithMessages/styles.js +0 -14
  461. package/lib/CometChatUsersWithMessages/styles.js.map +0 -1
  462. package/lib/calls/CallEvents.d.ts +0 -10
  463. package/lib/calls/CallEvents.js +0 -11
  464. package/lib/calls/CallEvents.js.map +0 -1
  465. package/lib/calls/CallUtils.d.ts +0 -8
  466. package/lib/calls/CallUtils.js +0 -116
  467. package/lib/calls/CallUtils.js.map +0 -1
  468. package/lib/calls/CallingConfiguration.d.ts +0 -3
  469. package/lib/calls/CallingConfiguration.js +0 -5
  470. package/lib/calls/CallingConfiguration.js.map +0 -1
  471. package/lib/calls/CallingDetailsUtils.d.ts +0 -7
  472. package/lib/calls/CallingDetailsUtils.js +0 -92
  473. package/lib/calls/CallingDetailsUtils.js.map +0 -1
  474. package/lib/calls/CallingExtension.d.ts +0 -11
  475. package/lib/calls/CallingExtension.js +0 -35
  476. package/lib/calls/CallingExtension.js.map +0 -1
  477. package/lib/calls/CallingExtentionDecorator.d.ts +0 -36
  478. package/lib/calls/CallingExtentionDecorator.js +0 -173
  479. package/lib/calls/CallingExtentionDecorator.js.map +0 -1
  480. package/lib/calls/CallingPackage.d.ts +0 -4
  481. package/lib/calls/CallingPackage.js +0 -19
  482. package/lib/calls/CallingPackage.js.map +0 -1
  483. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +0 -13
  484. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +0 -8
  485. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +0 -1
  486. package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +0 -18
  487. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +0 -19
  488. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +0 -1
  489. package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +0 -11
  490. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +0 -22
  491. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +0 -1
  492. package/lib/calls/CometChatCallBubble/index.d.ts +0 -4
  493. package/lib/calls/CometChatCallBubble/index.js +0 -5
  494. package/lib/calls/CometChatCallBubble/index.js.map +0 -1
  495. package/lib/calls/CometChatCallBubble/resources/index.d.ts +0 -4
  496. package/lib/calls/CometChatCallBubble/resources/index.js +0 -5
  497. package/lib/calls/CometChatCallBubble/resources/index.js.map +0 -1
  498. package/lib/calls/CometChatCallBubble/styles.d.ts +0 -21
  499. package/lib/calls/CometChatCallBubble/styles.js +0 -23
  500. package/lib/calls/CometChatCallBubble/styles.js.map +0 -1
  501. package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +0 -12
  502. package/lib/calls/CometChatCallButtons/CallButtonStyle.js +0 -16
  503. package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +0 -1
  504. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +0 -34
  505. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +0 -12
  506. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +0 -1
  507. package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +0 -61
  508. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +0 -208
  509. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +0 -1
  510. package/lib/calls/CometChatCallButtons/index.d.ts +0 -4
  511. package/lib/calls/CometChatCallButtons/index.js +0 -4
  512. package/lib/calls/CometChatCallButtons/index.js.map +0 -1
  513. package/lib/calls/CometChatCallButtons/resources/index.d.ts +0 -3
  514. package/lib/calls/CometChatCallButtons/resources/index.js +0 -4
  515. package/lib/calls/CometChatCallButtons/resources/index.js.map +0 -1
  516. package/lib/calls/CometChatCallButtons/style.d.ts +0 -12
  517. package/lib/calls/CometChatCallButtons/style.js +0 -14
  518. package/lib/calls/CometChatCallButtons/style.js.map +0 -1
  519. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.d.ts +0 -119
  520. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +0 -10
  521. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js.map +0 -1
  522. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.d.ts +0 -12
  523. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js +0 -16
  524. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js.map +0 -1
  525. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.d.ts +0 -72
  526. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +0 -154
  527. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +0 -1
  528. package/lib/calls/CometChatCallLogDetails/index.d.ts +0 -4
  529. package/lib/calls/CometChatCallLogDetails/index.js +0 -5
  530. package/lib/calls/CometChatCallLogDetails/index.js.map +0 -1
  531. package/lib/calls/CometChatCallLogDetails/resources/index.d.ts +0 -2
  532. package/lib/calls/CometChatCallLogDetails/resources/index.js +0 -3
  533. package/lib/calls/CometChatCallLogDetails/resources/index.js.map +0 -1
  534. package/lib/calls/CometChatCallLogDetails/style.d.ts +0 -13
  535. package/lib/calls/CometChatCallLogDetails/style.js +0 -15
  536. package/lib/calls/CometChatCallLogDetails/style.js.map +0 -1
  537. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.d.ts +0 -72
  538. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +0 -10
  539. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js.map +0 -1
  540. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.d.ts +0 -40
  541. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js +0 -8
  542. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js.map +0 -1
  543. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.d.ts +0 -45
  544. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +0 -149
  545. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +0 -1
  546. package/lib/calls/CometChatCallLogHistory/index.d.ts +0 -4
  547. package/lib/calls/CometChatCallLogHistory/index.js +0 -5
  548. package/lib/calls/CometChatCallLogHistory/index.js.map +0 -1
  549. package/lib/calls/CometChatCallLogHistory/resources/index.d.ts +0 -14
  550. package/lib/calls/CometChatCallLogHistory/resources/index.js +0 -15
  551. package/lib/calls/CometChatCallLogHistory/resources/index.js.map +0 -1
  552. package/lib/calls/CometChatCallLogHistory/style.d.ts +0 -22
  553. package/lib/calls/CometChatCallLogHistory/style.js +0 -24
  554. package/lib/calls/CometChatCallLogHistory/style.js.map +0 -1
  555. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.d.ts +0 -65
  556. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +0 -10
  557. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js.map +0 -1
  558. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.d.ts +0 -24
  559. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js +0 -22
  560. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js.map +0 -1
  561. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.d.ts +0 -39
  562. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +0 -74
  563. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +0 -1
  564. package/lib/calls/CometChatCallLogParticipants/index.d.ts +0 -4
  565. package/lib/calls/CometChatCallLogParticipants/index.js +0 -5
  566. package/lib/calls/CometChatCallLogParticipants/index.js.map +0 -1
  567. package/lib/calls/CometChatCallLogParticipants/resources/index.d.ts +0 -2
  568. package/lib/calls/CometChatCallLogParticipants/resources/index.js +0 -3
  569. package/lib/calls/CometChatCallLogParticipants/resources/index.js.map +0 -1
  570. package/lib/calls/CometChatCallLogParticipants/style.d.ts +0 -22
  571. package/lib/calls/CometChatCallLogParticipants/style.js +0 -24
  572. package/lib/calls/CometChatCallLogParticipants/style.js.map +0 -1
  573. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.d.ts +0 -71
  574. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +0 -10
  575. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js.map +0 -1
  576. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.d.ts +0 -26
  577. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js +0 -23
  578. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js.map +0 -1
  579. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.d.ts +0 -41
  580. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +0 -115
  581. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +0 -1
  582. package/lib/calls/CometChatCallLogRecordings/index.d.ts +0 -4
  583. package/lib/calls/CometChatCallLogRecordings/index.js +0 -5
  584. package/lib/calls/CometChatCallLogRecordings/index.js.map +0 -1
  585. package/lib/calls/CometChatCallLogRecordings/resources/index.d.ts +0 -3
  586. package/lib/calls/CometChatCallLogRecordings/resources/index.js +0 -4
  587. package/lib/calls/CometChatCallLogRecordings/resources/index.js.map +0 -1
  588. package/lib/calls/CometChatCallLogRecordings/style.d.ts +0 -22
  589. package/lib/calls/CometChatCallLogRecordings/style.js +0 -24
  590. package/lib/calls/CometChatCallLogRecordings/style.js.map +0 -1
  591. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.d.ts +0 -99
  592. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +0 -10
  593. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js.map +0 -1
  594. package/lib/calls/CometChatCallLogs/CallLogsStyle.d.ts +0 -42
  595. package/lib/calls/CometChatCallLogs/CallLogsStyle.js +0 -31
  596. package/lib/calls/CometChatCallLogs/CallLogsStyle.js.map +0 -1
  597. package/lib/calls/CometChatCallLogs/CometChatCallLogs.d.ts +0 -56
  598. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +0 -257
  599. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +0 -1
  600. package/lib/calls/CometChatCallLogs/index.d.ts +0 -4
  601. package/lib/calls/CometChatCallLogs/index.js +0 -5
  602. package/lib/calls/CometChatCallLogs/index.js.map +0 -1
  603. package/lib/calls/CometChatCallLogs/resources/index.d.ts +0 -12
  604. package/lib/calls/CometChatCallLogs/resources/index.js +0 -13
  605. package/lib/calls/CometChatCallLogs/resources/index.js.map +0 -1
  606. package/lib/calls/CometChatCallLogs/style.d.ts +0 -22
  607. package/lib/calls/CometChatCallLogs/style.js +0 -24
  608. package/lib/calls/CometChatCallLogs/style.js.map +0 -1
  609. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.d.ts +0 -8
  610. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js +0 -2
  611. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js.map +0 -1
  612. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.d.ts +0 -12
  613. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js +0 -21
  614. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js.map +0 -1
  615. package/lib/calls/CometChatCallLogsWithDetails/index.d.ts +0 -3
  616. package/lib/calls/CometChatCallLogsWithDetails/index.js +0 -3
  617. package/lib/calls/CometChatCallLogsWithDetails/index.js.map +0 -1
  618. package/lib/calls/CometChatCallLogsWithDetails/style.d.ts +0 -8
  619. package/lib/calls/CometChatCallLogsWithDetails/style.js +0 -10
  620. package/lib/calls/CometChatCallLogsWithDetails/style.js.map +0 -1
  621. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -21
  622. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +0 -136
  623. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +0 -1
  624. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +0 -32
  625. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +0 -26
  626. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +0 -1
  627. package/lib/calls/CometChatIncomingCall/index.d.ts +0 -3
  628. package/lib/calls/CometChatIncomingCall/index.js +0 -4
  629. package/lib/calls/CometChatIncomingCall/index.js.map +0 -1
  630. package/lib/calls/CometChatIncomingCall/resources/index.d.ts +0 -5
  631. package/lib/calls/CometChatIncomingCall/resources/index.js +0 -6
  632. package/lib/calls/CometChatIncomingCall/resources/index.js.map +0 -1
  633. package/lib/calls/CometChatIncomingCall/styles.d.ts +0 -9
  634. package/lib/calls/CometChatIncomingCall/styles.js +0 -11
  635. package/lib/calls/CometChatIncomingCall/styles.js.map +0 -1
  636. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -12
  637. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +0 -39
  638. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +0 -1
  639. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +0 -13
  640. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +0 -9
  641. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +0 -1
  642. package/lib/calls/CometChatOngoingCall/index.d.ts +0 -3
  643. package/lib/calls/CometChatOngoingCall/index.js +0 -3
  644. package/lib/calls/CometChatOngoingCall/index.js.map +0 -1
  645. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -46
  646. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +0 -142
  647. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +0 -1
  648. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +0 -18
  649. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +0 -10
  650. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +0 -1
  651. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +0 -14
  652. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +0 -17
  653. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +0 -1
  654. package/lib/calls/CometChatOutgoingCall/index.d.ts +0 -3
  655. package/lib/calls/CometChatOutgoingCall/index.js +0 -4
  656. package/lib/calls/CometChatOutgoingCall/index.js.map +0 -1
  657. package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +0 -2
  658. package/lib/calls/CometChatOutgoingCall/resources/index.js +0 -3
  659. package/lib/calls/CometChatOutgoingCall/resources/index.js.map +0 -1
  660. package/lib/calls/index.d.ts +0 -18
  661. package/lib/calls/index.js +0 -19
  662. package/lib/calls/index.js.map +0 -1
  663. package/lib/calls/resources/index.d.ts +0 -4
  664. package/lib/calls/resources/index.js +0 -5
  665. package/lib/calls/resources/index.js.map +0 -1
  666. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +0 -55
  667. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +0 -21
  668. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +0 -1
  669. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +0 -44
  670. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +0 -56
  671. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +0 -1
  672. package/lib/extensions/CollaborativeBubble/resources/index.d.ts +0 -3
  673. package/lib/extensions/CollaborativeBubble/resources/index.js +0 -3
  674. package/lib/extensions/CollaborativeBubble/resources/index.js.map +0 -1
  675. package/lib/extensions/CollaborativeBubble/styles.d.ts +0 -35
  676. package/lib/extensions/CollaborativeBubble/styles.js +0 -50
  677. package/lib/extensions/CollaborativeBubble/styles.js.map +0 -1
  678. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -14
  679. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +0 -6
  680. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +0 -1
  681. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -12
  682. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +0 -24
  683. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +0 -1
  684. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -22
  685. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +0 -132
  686. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +0 -1
  687. package/lib/extensions/CollaborativeDocument/index.d.ts +0 -5
  688. package/lib/extensions/CollaborativeDocument/index.js +0 -6
  689. package/lib/extensions/CollaborativeDocument/index.js.map +0 -1
  690. package/lib/extensions/CollaborativeDocument/resources/index.d.ts +0 -2
  691. package/lib/extensions/CollaborativeDocument/resources/index.js +0 -5
  692. package/lib/extensions/CollaborativeDocument/resources/index.js.map +0 -1
  693. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -14
  694. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +0 -6
  695. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +0 -1
  696. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -12
  697. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +0 -26
  698. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +0 -1
  699. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -23
  700. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +0 -137
  701. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +0 -1
  702. package/lib/extensions/CollaborativeWhiteboard/index.d.ts +0 -5
  703. package/lib/extensions/CollaborativeWhiteboard/index.js +0 -6
  704. package/lib/extensions/CollaborativeWhiteboard/index.js.map +0 -1
  705. package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +0 -2
  706. package/lib/extensions/CollaborativeWhiteboard/resources/index.js +0 -5
  707. package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +0 -1
  708. package/lib/extensions/ExtensionConstants.d.ts +0 -50
  709. package/lib/extensions/ExtensionConstants.js +0 -51
  710. package/lib/extensions/ExtensionConstants.js.map +0 -1
  711. package/lib/extensions/ExtensionModerator.d.ts +0 -16
  712. package/lib/extensions/ExtensionModerator.js +0 -51
  713. package/lib/extensions/ExtensionModerator.js.map +0 -1
  714. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +0 -12
  715. package/lib/extensions/ImageModeration/ImageModerationDecorator.js +0 -44
  716. package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +0 -1
  717. package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +0 -14
  718. package/lib/extensions/ImageModeration/ImageModerationExtension.js +0 -27
  719. package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +0 -1
  720. package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +0 -17
  721. package/lib/extensions/ImageModeration/ImageModerationFilter.js +0 -90
  722. package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +0 -1
  723. package/lib/extensions/ImageModeration/index.d.ts +0 -4
  724. package/lib/extensions/ImageModeration/index.js +0 -5
  725. package/lib/extensions/ImageModeration/index.js.map +0 -1
  726. package/lib/extensions/ImageModeration/resources/index.d.ts +0 -3
  727. package/lib/extensions/ImageModeration/resources/index.js +0 -3
  728. package/lib/extensions/ImageModeration/resources/index.js.map +0 -1
  729. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +0 -18
  730. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +0 -11
  731. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +0 -1
  732. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +0 -12
  733. package/lib/extensions/LinkPreview/LinkPreviewBubble.js +0 -50
  734. package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +0 -1
  735. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -14
  736. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +0 -9
  737. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +0 -1
  738. package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +0 -8
  739. package/lib/extensions/LinkPreview/LinkPreviewExtention.js +0 -20
  740. package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +0 -1
  741. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +0 -12
  742. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +0 -36
  743. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +0 -1
  744. package/lib/extensions/LinkPreview/index.d.ts +0 -6
  745. package/lib/extensions/LinkPreview/index.js +0 -6
  746. package/lib/extensions/LinkPreview/index.js.map +0 -1
  747. package/lib/extensions/LinkPreview/resources/index.d.ts +0 -2
  748. package/lib/extensions/LinkPreview/resources/index.js +0 -3
  749. package/lib/extensions/LinkPreview/resources/index.js.map +0 -1
  750. package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -24
  751. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +0 -71
  752. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +0 -1
  753. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +0 -20
  754. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +0 -183
  755. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +0 -1
  756. package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -14
  757. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +0 -27
  758. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +0 -1
  759. package/lib/extensions/MessageTranslation/index.d.ts +0 -4
  760. package/lib/extensions/MessageTranslation/index.js +0 -5
  761. package/lib/extensions/MessageTranslation/index.js.map +0 -1
  762. package/lib/extensions/MessageTranslation/resources/index.d.ts +0 -3
  763. package/lib/extensions/MessageTranslation/resources/index.js +0 -5
  764. package/lib/extensions/MessageTranslation/resources/index.js.map +0 -1
  765. package/lib/extensions/Polls/Header.d.ts +0 -14
  766. package/lib/extensions/Polls/Header.js +0 -37
  767. package/lib/extensions/Polls/Header.js.map +0 -1
  768. package/lib/extensions/Polls/Polls.d.ts +0 -132
  769. package/lib/extensions/Polls/Polls.js +0 -230
  770. package/lib/extensions/Polls/Polls.js.map +0 -1
  771. package/lib/extensions/Polls/PollsBubble.d.ts +0 -83
  772. package/lib/extensions/Polls/PollsBubble.js +0 -209
  773. package/lib/extensions/Polls/PollsBubble.js.map +0 -1
  774. package/lib/extensions/Polls/PollsConfigurations.d.ts +0 -15
  775. package/lib/extensions/Polls/PollsConfigurations.js +0 -2
  776. package/lib/extensions/Polls/PollsConfigurations.js.map +0 -1
  777. package/lib/extensions/Polls/PollsDecorator.d.ts +0 -20
  778. package/lib/extensions/Polls/PollsDecorator.js +0 -100
  779. package/lib/extensions/Polls/PollsDecorator.js.map +0 -1
  780. package/lib/extensions/Polls/PollsExtension.d.ts +0 -12
  781. package/lib/extensions/Polls/PollsExtension.js +0 -26
  782. package/lib/extensions/Polls/PollsExtension.js.map +0 -1
  783. package/lib/extensions/Polls/index.d.ts +0 -4
  784. package/lib/extensions/Polls/index.js +0 -4
  785. package/lib/extensions/Polls/index.js.map +0 -1
  786. package/lib/extensions/Polls/resources/index.d.ts +0 -7
  787. package/lib/extensions/Polls/resources/index.js +0 -13
  788. package/lib/extensions/Polls/resources/index.js.map +0 -1
  789. package/lib/extensions/Polls/style.d.ts +0 -45
  790. package/lib/extensions/Polls/style.js +0 -39
  791. package/lib/extensions/Polls/style.js.map +0 -1
  792. package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +0 -13
  793. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +0 -104
  794. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +0 -1
  795. package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -14
  796. package/lib/extensions/SmartReplies/SmartRepliesExtension.js +0 -27
  797. package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +0 -1
  798. package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +0 -27
  799. package/lib/extensions/SmartReplies/SmartRepliesView.js +0 -145
  800. package/lib/extensions/SmartReplies/SmartRepliesView.js.map +0 -1
  801. package/lib/extensions/SmartReplies/index.d.ts +0 -3
  802. package/lib/extensions/SmartReplies/index.js +0 -4
  803. package/lib/extensions/SmartReplies/index.js.map +0 -1
  804. package/lib/extensions/SmartReplies/resources/index.d.ts +0 -3
  805. package/lib/extensions/SmartReplies/resources/index.js +0 -5
  806. package/lib/extensions/SmartReplies/resources/index.js.map +0 -1
  807. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +0 -33
  808. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +0 -81
  809. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +0 -1
  810. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +0 -17
  811. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +0 -15
  812. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +0 -1
  813. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +0 -20
  814. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +0 -20
  815. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +0 -1
  816. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +0 -1
  817. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +0 -62
  818. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +0 -1
  819. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +0 -4
  820. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +0 -5
  821. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +0 -1
  822. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +0 -55
  823. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +0 -55
  824. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +0 -1
  825. package/lib/extensions/Stickers/StickerConfiguration.d.ts +0 -8
  826. package/lib/extensions/Stickers/StickerConfiguration.js +0 -7
  827. package/lib/extensions/Stickers/StickerConfiguration.js.map +0 -1
  828. package/lib/extensions/Stickers/StickerStyle.d.ts +0 -6
  829. package/lib/extensions/Stickers/StickerStyle.js +0 -10
  830. package/lib/extensions/Stickers/StickerStyle.js.map +0 -1
  831. package/lib/extensions/Stickers/StickersBubble.d.ts +0 -17
  832. package/lib/extensions/Stickers/StickersBubble.js +0 -16
  833. package/lib/extensions/Stickers/StickersBubble.js.map +0 -1
  834. package/lib/extensions/Stickers/StickersExtension.d.ts +0 -8
  835. package/lib/extensions/Stickers/StickersExtension.js +0 -24
  836. package/lib/extensions/Stickers/StickersExtension.js.map +0 -1
  837. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +0 -22
  838. package/lib/extensions/Stickers/StickersExtensionDecorator.js +0 -121
  839. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +0 -1
  840. package/lib/extensions/Stickers/index.d.ts +0 -5
  841. package/lib/extensions/Stickers/index.js +0 -5
  842. package/lib/extensions/Stickers/index.js.map +0 -1
  843. package/lib/extensions/Stickers/resources/index.d.ts +0 -2
  844. package/lib/extensions/Stickers/resources/index.js +0 -3
  845. package/lib/extensions/Stickers/resources/index.js.map +0 -1
  846. package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +0 -14
  847. package/lib/extensions/TextModeration/TextModerationConfiguration.js +0 -6
  848. package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +0 -1
  849. package/lib/extensions/TextModeration/TextModerationExtension.d.ts +0 -13
  850. package/lib/extensions/TextModeration/TextModerationExtension.js +0 -37
  851. package/lib/extensions/TextModeration/TextModerationExtension.js.map +0 -1
  852. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +0 -13
  853. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +0 -54
  854. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +0 -1
  855. package/lib/extensions/TextModeration/index.d.ts +0 -4
  856. package/lib/extensions/TextModeration/index.js +0 -4
  857. package/lib/extensions/TextModeration/index.js.map +0 -1
  858. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +0 -16
  859. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +0 -55
  860. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +0 -1
  861. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -15
  862. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +0 -27
  863. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +0 -1
  864. package/lib/extensions/ThumbnailGeneration/index.d.ts +0 -2
  865. package/lib/extensions/ThumbnailGeneration/index.js +0 -3
  866. package/lib/extensions/ThumbnailGeneration/index.js.map +0 -1
  867. package/lib/extensions/ThumbnailGeneration/resources/index.d.ts +0 -2
  868. package/lib/extensions/ThumbnailGeneration/resources/index.js +0 -3
  869. package/lib/extensions/ThumbnailGeneration/resources/index.js.map +0 -1
  870. package/lib/extensions/index.d.ts +0 -12
  871. package/lib/extensions/index.js +0 -13
  872. package/lib/extensions/index.js.map +0 -1
  873. package/lib/index.d.ts +0 -46
  874. package/lib/index.js +0 -85
  875. package/lib/index.js.map +0 -1
  876. package/lib/shared/CometChatContext.d.ts +0 -4
  877. package/lib/shared/CometChatContext.js +0 -31
  878. package/lib/shared/CometChatContext.js.map +0 -1
  879. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +0 -64
  880. package/lib/shared/CometChatUiKit/CometChatUIKit.js +0 -463
  881. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +0 -1
  882. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +0 -20
  883. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +0 -66
  884. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +0 -1
  885. package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +0 -18
  886. package/lib/shared/CometChatUiKit/UIKitSettings.js +0 -18
  887. package/lib/shared/CometChatUiKit/UIKitSettings.js.map +0 -1
  888. package/lib/shared/CometChatUiKit/index.d.ts +0 -4
  889. package/lib/shared/CometChatUiKit/index.js +0 -5
  890. package/lib/shared/CometChatUiKit/index.js.map +0 -1
  891. package/lib/shared/assets/images/index.d.ts +0 -16
  892. package/lib/shared/assets/images/index.js +0 -31
  893. package/lib/shared/assets/images/index.js.map +0 -1
  894. package/lib/shared/base/BaseStyle.d.ts +0 -26
  895. package/lib/shared/base/BaseStyle.js +0 -21
  896. package/lib/shared/base/BaseStyle.js.map +0 -1
  897. package/lib/shared/base/BorderStyle.d.ts +0 -19
  898. package/lib/shared/base/BorderStyle.js +0 -16
  899. package/lib/shared/base/BorderStyle.js.map +0 -1
  900. package/lib/shared/base/FontStyle.d.ts +0 -18
  901. package/lib/shared/base/FontStyle.js +0 -15
  902. package/lib/shared/base/FontStyle.js.map +0 -1
  903. package/lib/shared/base/ShadowStyle.d.ts +0 -33
  904. package/lib/shared/base/ShadowStyle.js +0 -22
  905. package/lib/shared/base/ShadowStyle.js.map +0 -1
  906. package/lib/shared/base/Types.d.ts +0 -22
  907. package/lib/shared/base/Types.js +0 -2
  908. package/lib/shared/base/Types.js.map +0 -1
  909. package/lib/shared/base/index.d.ts +0 -6
  910. package/lib/shared/base/index.js +0 -6
  911. package/lib/shared/base/index.js.map +0 -1
  912. package/lib/shared/base/vars.d.ts +0 -8
  913. package/lib/shared/base/vars.js +0 -7
  914. package/lib/shared/base/vars.js.map +0 -1
  915. package/lib/shared/constants/UIKitConstants.d.ts +0 -324
  916. package/lib/shared/constants/UIKitConstants.js +0 -352
  917. package/lib/shared/constants/UIKitConstants.js.map +0 -1
  918. package/lib/shared/events/CometChatMessageEvents/index.d.ts +0 -43
  919. package/lib/shared/events/CometChatMessageEvents/index.js +0 -93
  920. package/lib/shared/events/CometChatMessageEvents/index.js.map +0 -1
  921. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +0 -30
  922. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +0 -402
  923. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +0 -1
  924. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +0 -231
  925. package/lib/shared/events/CometChatUIEventHandler/Listener.js +0 -288
  926. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +0 -1
  927. package/lib/shared/events/CometChatUIEvents.d.ts +0 -19
  928. package/lib/shared/events/CometChatUIEvents.js +0 -22
  929. package/lib/shared/events/CometChatUIEvents.js.map +0 -1
  930. package/lib/shared/events/ListenerInitializer.d.ts +0 -6
  931. package/lib/shared/events/ListenerInitializer.js +0 -74
  932. package/lib/shared/events/ListenerInitializer.js.map +0 -1
  933. package/lib/shared/events/conversations.d.ts +0 -3
  934. package/lib/shared/events/conversations.js +0 -5
  935. package/lib/shared/events/conversations.js.map +0 -1
  936. package/lib/shared/events/groups.d.ts +0 -10
  937. package/lib/shared/events/groups.js +0 -12
  938. package/lib/shared/events/groups.js.map +0 -1
  939. package/lib/shared/events/index.d.ts +0 -6
  940. package/lib/shared/events/index.js +0 -7
  941. package/lib/shared/events/index.js.map +0 -1
  942. package/lib/shared/events/messages.d.ts +0 -28
  943. package/lib/shared/events/messages.js +0 -30
  944. package/lib/shared/events/messages.js.map +0 -1
  945. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +0 -162
  946. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +0 -352
  947. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +0 -1
  948. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.d.ts +0 -12
  949. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js +0 -12
  950. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js.map +0 -1
  951. package/lib/shared/formatters/CometChatMentionsFormatter/index.d.ts +0 -3
  952. package/lib/shared/formatters/CometChatMentionsFormatter/index.js +0 -4
  953. package/lib/shared/formatters/CometChatMentionsFormatter/index.js.map +0 -1
  954. package/lib/shared/formatters/CometChatTextFormatter.d.ts +0 -170
  955. package/lib/shared/formatters/CometChatTextFormatter.js +0 -196
  956. package/lib/shared/formatters/CometChatTextFormatter.js.map +0 -1
  957. package/lib/shared/formatters/CometChatUrlsFormatter/index.d.ts +0 -39
  958. package/lib/shared/formatters/CometChatUrlsFormatter/index.js +0 -122
  959. package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +0 -1
  960. package/lib/shared/formatters/index.d.ts +0 -5
  961. package/lib/shared/formatters/index.js +0 -6
  962. package/lib/shared/formatters/index.js.map +0 -1
  963. package/lib/shared/framework/ChatConfigurator.d.ts +0 -8
  964. package/lib/shared/framework/ChatConfigurator.js +0 -23
  965. package/lib/shared/framework/ChatConfigurator.js.map +0 -1
  966. package/lib/shared/framework/DataSource.d.ts +0 -71
  967. package/lib/shared/framework/DataSource.js +0 -2
  968. package/lib/shared/framework/DataSource.js.map +0 -1
  969. package/lib/shared/framework/DataSourceDecorator.d.ts +0 -70
  970. package/lib/shared/framework/DataSourceDecorator.js +0 -171
  971. package/lib/shared/framework/DataSourceDecorator.js.map +0 -1
  972. package/lib/shared/framework/ExtensionsDataSource.d.ts +0 -6
  973. package/lib/shared/framework/ExtensionsDataSource.js +0 -15
  974. package/lib/shared/framework/ExtensionsDataSource.js.map +0 -1
  975. package/lib/shared/framework/MessageDataSource.d.ts +0 -95
  976. package/lib/shared/framework/MessageDataSource.js +0 -796
  977. package/lib/shared/framework/MessageDataSource.js.map +0 -1
  978. package/lib/shared/framework/index.d.ts +0 -6
  979. package/lib/shared/framework/index.js +0 -6
  980. package/lib/shared/framework/index.js.map +0 -1
  981. package/lib/shared/framework/resources/index.d.ts +0 -22
  982. package/lib/shared/framework/resources/index.js +0 -45
  983. package/lib/shared/framework/resources/index.js.map +0 -1
  984. package/lib/shared/helper/SwipeRow.d.ts +0 -162
  985. package/lib/shared/helper/SwipeRow.js +0 -767
  986. package/lib/shared/helper/SwipeRow.js.map +0 -1
  987. package/lib/shared/helper/Toast.d.ts +0 -4
  988. package/lib/shared/helper/Toast.js +0 -22
  989. package/lib/shared/helper/Toast.js.map +0 -1
  990. package/lib/shared/helper/functions.d.ts +0 -3
  991. package/lib/shared/helper/functions.js +0 -32
  992. package/lib/shared/helper/functions.js.map +0 -1
  993. package/lib/shared/helper/helperFunctions.d.ts +0 -2
  994. package/lib/shared/helper/helperFunctions.js +0 -17
  995. package/lib/shared/helper/helperFunctions.js.map +0 -1
  996. package/lib/shared/helper/types/index.d.ts +0 -18
  997. package/lib/shared/helper/types/index.js +0 -2
  998. package/lib/shared/helper/types/index.js.map +0 -1
  999. package/lib/shared/helper/useKeyboard.d.ts +0 -2
  1000. package/lib/shared/helper/useKeyboard.js +0 -40
  1001. package/lib/shared/helper/useKeyboard.js.map +0 -1
  1002. package/lib/shared/index.d.ts +0 -15
  1003. package/lib/shared/index.js +0 -29
  1004. package/lib/shared/index.js.map +0 -1
  1005. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.d.ts +0 -23
  1006. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +0 -108
  1007. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js.map +0 -1
  1008. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.d.ts +0 -9
  1009. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js +0 -54
  1010. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js.map +0 -1
  1011. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.d.ts +0 -9
  1012. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js +0 -68
  1013. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +0 -1
  1014. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +0 -10
  1015. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js +0 -24
  1016. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js.map +0 -1
  1017. package/lib/shared/libs/CometChatCalendar/Calendars/index.d.ts +0 -3
  1018. package/lib/shared/libs/CometChatCalendar/Calendars/index.js +0 -4
  1019. package/lib/shared/libs/CometChatCalendar/Calendars/index.js.map +0 -1
  1020. package/lib/shared/libs/CometChatCalendar/Components/Arrow.d.ts +0 -8
  1021. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js +0 -20
  1022. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js.map +0 -1
  1023. package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.d.ts +0 -1
  1024. package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.js +0 -90
  1025. package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.js.map +0 -1
  1026. package/lib/shared/libs/CometChatCalendar/Components/Day.d.ts +0 -15
  1027. package/lib/shared/libs/CometChatCalendar/Components/Day.js +0 -43
  1028. package/lib/shared/libs/CometChatCalendar/Components/Day.js.map +0 -1
  1029. package/lib/shared/libs/CometChatCalendar/Components/Day.test.d.ts +0 -1
  1030. package/lib/shared/libs/CometChatCalendar/Components/Day.test.js +0 -339
  1031. package/lib/shared/libs/CometChatCalendar/Components/Day.test.js.map +0 -1
  1032. package/lib/shared/libs/CometChatCalendar/Components/Days.d.ts +0 -16
  1033. package/lib/shared/libs/CometChatCalendar/Components/Days.js +0 -40
  1034. package/lib/shared/libs/CometChatCalendar/Components/Days.js.map +0 -1
  1035. package/lib/shared/libs/CometChatCalendar/Components/Days.test.d.ts +0 -1
  1036. package/lib/shared/libs/CometChatCalendar/Components/Days.test.js +0 -167
  1037. package/lib/shared/libs/CometChatCalendar/Components/Days.test.js.map +0 -1
  1038. package/lib/shared/libs/CometChatCalendar/Components/Month.d.ts +0 -11
  1039. package/lib/shared/libs/CometChatCalendar/Components/Month.js +0 -21
  1040. package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +0 -1
  1041. package/lib/shared/libs/CometChatCalendar/Components/Month.test.d.ts +0 -33
  1042. package/lib/shared/libs/CometChatCalendar/Components/Month.test.js +0 -131
  1043. package/lib/shared/libs/CometChatCalendar/Components/Month.test.js.map +0 -1
  1044. package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +0 -15
  1045. package/lib/shared/libs/CometChatCalendar/Components/Months.js +0 -28
  1046. package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +0 -1
  1047. package/lib/shared/libs/CometChatCalendar/Components/Months.test.d.ts +0 -52
  1048. package/lib/shared/libs/CometChatCalendar/Components/Months.test.js +0 -204
  1049. package/lib/shared/libs/CometChatCalendar/Components/Months.test.js.map +0 -1
  1050. package/lib/shared/libs/CometChatCalendar/Components/Title.d.ts +0 -12
  1051. package/lib/shared/libs/CometChatCalendar/Components/Title.js +0 -19
  1052. package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +0 -1
  1053. package/lib/shared/libs/CometChatCalendar/Components/Title.test.d.ts +0 -1
  1054. package/lib/shared/libs/CometChatCalendar/Components/Title.test.js +0 -84
  1055. package/lib/shared/libs/CometChatCalendar/Components/Title.test.js.map +0 -1
  1056. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +0 -6
  1057. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js +0 -9
  1058. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js.map +0 -1
  1059. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.d.ts +0 -1
  1060. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.js +0 -56
  1061. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.js.map +0 -1
  1062. package/lib/shared/libs/CometChatCalendar/Components/index.d.ts +0 -7
  1063. package/lib/shared/libs/CometChatCalendar/Components/index.js +0 -8
  1064. package/lib/shared/libs/CometChatCalendar/Components/index.js.map +0 -1
  1065. package/lib/shared/libs/CometChatCalendar/Constants/View.d.ts +0 -4
  1066. package/lib/shared/libs/CometChatCalendar/Constants/View.js +0 -6
  1067. package/lib/shared/libs/CometChatCalendar/Constants/View.js.map +0 -1
  1068. package/lib/shared/libs/CometChatCalendar/Constants/index.d.ts +0 -1
  1069. package/lib/shared/libs/CometChatCalendar/Constants/index.js +0 -2
  1070. package/lib/shared/libs/CometChatCalendar/Constants/index.js.map +0 -1
  1071. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.d.ts +0 -3
  1072. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js +0 -5
  1073. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js.map +0 -1
  1074. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.d.ts +0 -4
  1075. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js +0 -5
  1076. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js.map +0 -1
  1077. package/lib/shared/libs/CometChatCalendar/Contexts/index.d.ts +0 -2
  1078. package/lib/shared/libs/CometChatCalendar/Contexts/index.js +0 -3
  1079. package/lib/shared/libs/CometChatCalendar/Contexts/index.js.map +0 -1
  1080. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.d.ts +0 -1
  1081. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js +0 -2
  1082. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js.map +0 -1
  1083. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.d.ts +0 -19
  1084. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js +0 -2
  1085. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js.map +0 -1
  1086. package/lib/shared/libs/CometChatCalendar/Entities/Components.d.ts +0 -11
  1087. package/lib/shared/libs/CometChatCalendar/Entities/Components.js +0 -2
  1088. package/lib/shared/libs/CometChatCalendar/Entities/Components.js.map +0 -1
  1089. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.d.ts +0 -4
  1090. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js +0 -2
  1091. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js.map +0 -1
  1092. package/lib/shared/libs/CometChatCalendar/Entities/Locale.d.ts +0 -8
  1093. package/lib/shared/libs/CometChatCalendar/Entities/Locale.js +0 -2
  1094. package/lib/shared/libs/CometChatCalendar/Entities/Locale.js.map +0 -1
  1095. package/lib/shared/libs/CometChatCalendar/Entities/Theme.d.ts +0 -37
  1096. package/lib/shared/libs/CometChatCalendar/Entities/Theme.js +0 -2
  1097. package/lib/shared/libs/CometChatCalendar/Entities/Theme.js.map +0 -1
  1098. package/lib/shared/libs/CometChatCalendar/Entities/index.d.ts +0 -6
  1099. package/lib/shared/libs/CometChatCalendar/Entities/index.js +0 -7
  1100. package/lib/shared/libs/CometChatCalendar/Entities/index.js.map +0 -1
  1101. package/lib/shared/libs/CometChatCalendar/Hooks/index.d.ts +0 -1
  1102. package/lib/shared/libs/CometChatCalendar/Hooks/index.js +0 -2
  1103. package/lib/shared/libs/CometChatCalendar/Hooks/index.js.map +0 -1
  1104. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.d.ts +0 -37
  1105. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +0 -57
  1106. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js.map +0 -1
  1107. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.d.ts +0 -1
  1108. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.js +0 -35
  1109. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.js.map +0 -1
  1110. package/lib/shared/libs/CometChatCalendar/Icons/index.d.ts +0 -8
  1111. package/lib/shared/libs/CometChatCalendar/Icons/index.js +0 -8
  1112. package/lib/shared/libs/CometChatCalendar/Icons/index.js.map +0 -1
  1113. package/lib/shared/libs/CometChatCalendar/Locales/index.d.ts +0 -2
  1114. package/lib/shared/libs/CometChatCalendar/Locales/index.js +0 -5
  1115. package/lib/shared/libs/CometChatCalendar/Locales/index.js.map +0 -1
  1116. package/lib/shared/libs/CometChatCalendar/Themes/Colors.d.ts +0 -13
  1117. package/lib/shared/libs/CometChatCalendar/Themes/Colors.js +0 -21
  1118. package/lib/shared/libs/CometChatCalendar/Themes/Colors.js.map +0 -1
  1119. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.d.ts +0 -3
  1120. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js +0 -61
  1121. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js.map +0 -1
  1122. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.d.ts +0 -3
  1123. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js +0 -154
  1124. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js.map +0 -1
  1125. package/lib/shared/libs/CometChatCalendar/Themes/index.d.ts +0 -3
  1126. package/lib/shared/libs/CometChatCalendar/Themes/index.js +0 -4
  1127. package/lib/shared/libs/CometChatCalendar/Themes/index.js.map +0 -1
  1128. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.d.ts +0 -2
  1129. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js +0 -11
  1130. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js.map +0 -1
  1131. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.d.ts +0 -1
  1132. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.js +0 -48
  1133. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.js.map +0 -1
  1134. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.d.ts +0 -2
  1135. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js +0 -11
  1136. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js.map +0 -1
  1137. package/lib/shared/libs/CometChatCalendar/Utils/clamp.d.ts +0 -2
  1138. package/lib/shared/libs/CometChatCalendar/Utils/clamp.js +0 -5
  1139. package/lib/shared/libs/CometChatCalendar/Utils/clamp.js.map +0 -1
  1140. package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.d.ts +0 -1
  1141. package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.js +0 -34
  1142. package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.js.map +0 -1
  1143. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.d.ts +0 -3
  1144. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js +0 -16
  1145. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js.map +0 -1
  1146. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.d.ts +0 -1
  1147. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.js +0 -18
  1148. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.js.map +0 -1
  1149. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.d.ts +0 -6
  1150. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js +0 -19
  1151. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js.map +0 -1
  1152. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.d.ts +0 -1
  1153. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.js +0 -41
  1154. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.js.map +0 -1
  1155. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.d.ts +0 -11
  1156. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +0 -18
  1157. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js.map +0 -1
  1158. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.d.ts +0 -1
  1159. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.js +0 -58
  1160. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.js.map +0 -1
  1161. package/lib/shared/libs/CometChatCalendar/Utils/index.d.ts +0 -6
  1162. package/lib/shared/libs/CometChatCalendar/Utils/index.js +0 -7
  1163. package/lib/shared/libs/CometChatCalendar/Utils/index.js.map +0 -1
  1164. package/lib/shared/libs/CometChatCalendar/index.d.ts +0 -5
  1165. package/lib/shared/libs/CometChatCalendar/index.js +0 -6
  1166. package/lib/shared/libs/CometChatCalendar/index.js.map +0 -1
  1167. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.d.ts +0 -227
  1168. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js +0 -752
  1169. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +0 -1
  1170. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +0 -79
  1171. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js +0 -160
  1172. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +0 -1
  1173. package/lib/shared/libs/ImageZoom/helper.d.ts +0 -8
  1174. package/lib/shared/libs/ImageZoom/helper.js +0 -91
  1175. package/lib/shared/libs/ImageZoom/helper.js.map +0 -1
  1176. package/lib/shared/libs/ImageZoom/index.d.ts +0 -4
  1177. package/lib/shared/libs/ImageZoom/index.js +0 -4
  1178. package/lib/shared/libs/ImageZoom/index.js.map +0 -1
  1179. package/lib/shared/libs/ImageZoom/types/index.d.ts +0 -91
  1180. package/lib/shared/libs/ImageZoom/types/index.js +0 -8
  1181. package/lib/shared/libs/ImageZoom/types/index.js.map +0 -1
  1182. package/lib/shared/libs/VideoPlayer/DRMType.d.ts +0 -7
  1183. package/lib/shared/libs/VideoPlayer/DRMType.js +0 -7
  1184. package/lib/shared/libs/VideoPlayer/DRMType.js.map +0 -1
  1185. package/lib/shared/libs/VideoPlayer/FilterType.d.ts +0 -19
  1186. package/lib/shared/libs/VideoPlayer/FilterType.js +0 -19
  1187. package/lib/shared/libs/VideoPlayer/FilterType.js.map +0 -1
  1188. package/lib/shared/libs/VideoPlayer/TextTrackType.d.ts +0 -6
  1189. package/lib/shared/libs/VideoPlayer/TextTrackType.js +0 -6
  1190. package/lib/shared/libs/VideoPlayer/TextTrackType.js.map +0 -1
  1191. package/lib/shared/libs/VideoPlayer/Video.d.ts +0 -49
  1192. package/lib/shared/libs/VideoPlayer/Video.js +0 -352
  1193. package/lib/shared/libs/VideoPlayer/Video.js.map +0 -1
  1194. package/lib/shared/libs/VideoPlayer/VideoResizeMode.d.ts +0 -6
  1195. package/lib/shared/libs/VideoPlayer/VideoResizeMode.js +0 -6
  1196. package/lib/shared/libs/VideoPlayer/VideoResizeMode.js.map +0 -1
  1197. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.d.ts +0 -10
  1198. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js +0 -13
  1199. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js.map +0 -1
  1200. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.d.ts +0 -6
  1201. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js +0 -11
  1202. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js.map +0 -1
  1203. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.d.ts +0 -1
  1204. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js +0 -2
  1205. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js.map +0 -1
  1206. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.d.ts +0 -3
  1207. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +0 -324
  1208. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +0 -1
  1209. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +0 -11
  1210. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js +0 -8
  1211. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js.map +0 -1
  1212. package/lib/shared/libs/VideoPlayerControls/components/Back/index.d.ts +0 -1
  1213. package/lib/shared/libs/VideoPlayerControls/components/Back/index.js +0 -2
  1214. package/lib/shared/libs/VideoPlayerControls/components/Back/index.js.map +0 -1
  1215. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.d.ts +0 -28
  1216. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js +0 -59
  1217. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js.map +0 -1
  1218. package/lib/shared/libs/VideoPlayerControls/components/Control.d.ts +0 -12
  1219. package/lib/shared/libs/VideoPlayerControls/components/Control.js +0 -25
  1220. package/lib/shared/libs/VideoPlayerControls/components/Control.js.map +0 -1
  1221. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.d.ts +0 -6
  1222. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js +0 -12
  1223. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js.map +0 -1
  1224. package/lib/shared/libs/VideoPlayerControls/components/Error/index.d.ts +0 -1
  1225. package/lib/shared/libs/VideoPlayerControls/components/Error/index.js +0 -2
  1226. package/lib/shared/libs/VideoPlayerControls/components/Error/index.js.map +0 -1
  1227. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.d.ts +0 -19
  1228. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js +0 -21
  1229. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js.map +0 -1
  1230. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.d.ts +0 -9
  1231. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js +0 -16
  1232. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js.map +0 -1
  1233. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.d.ts +0 -6
  1234. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js +0 -8
  1235. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js.map +0 -1
  1236. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.d.ts +0 -1
  1237. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js +0 -2
  1238. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js.map +0 -1
  1239. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.d.ts +0 -14
  1240. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js +0 -16
  1241. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js.map +0 -1
  1242. package/lib/shared/libs/VideoPlayerControls/components/NullControl.d.ts +0 -2
  1243. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js +0 -7
  1244. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js.map +0 -1
  1245. package/lib/shared/libs/VideoPlayerControls/components/Overlay.d.ts +0 -5
  1246. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js +0 -17
  1247. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js.map +0 -1
  1248. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.d.ts +0 -21
  1249. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js +0 -51
  1250. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js.map +0 -1
  1251. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.d.ts +0 -1
  1252. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js +0 -2
  1253. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js.map +0 -1
  1254. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.d.ts +0 -19
  1255. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js +0 -21
  1256. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js.map +0 -1
  1257. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.d.ts +0 -11
  1258. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js +0 -17
  1259. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js.map +0 -1
  1260. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.d.ts +0 -1
  1261. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js +0 -2
  1262. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js.map +0 -1
  1263. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.d.ts +0 -35
  1264. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js +0 -37
  1265. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js.map +0 -1
  1266. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.d.ts +0 -9
  1267. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js +0 -9
  1268. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js.map +0 -1
  1269. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.d.ts +0 -1
  1270. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js +0 -2
  1271. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js.map +0 -1
  1272. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.d.ts +0 -10
  1273. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js +0 -12
  1274. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js.map +0 -1
  1275. package/lib/shared/libs/VideoPlayerControls/components/Title.d.ts +0 -6
  1276. package/lib/shared/libs/VideoPlayerControls/components/Title.js +0 -23
  1277. package/lib/shared/libs/VideoPlayerControls/components/Title.js.map +0 -1
  1278. package/lib/shared/libs/VideoPlayerControls/components/TopControls.d.ts +0 -21
  1279. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js +0 -36
  1280. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js.map +0 -1
  1281. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.d.ts +0 -12
  1282. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js +0 -11
  1283. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js.map +0 -1
  1284. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.d.ts +0 -1
  1285. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js +0 -2
  1286. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js.map +0 -1
  1287. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.d.ts +0 -29
  1288. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js +0 -31
  1289. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js.map +0 -1
  1290. package/lib/shared/libs/VideoPlayerControls/components/index.d.ts +0 -14
  1291. package/lib/shared/libs/VideoPlayerControls/components/index.js +0 -15
  1292. package/lib/shared/libs/VideoPlayerControls/components/index.js.map +0 -1
  1293. package/lib/shared/libs/VideoPlayerControls/components/styles.d.ts +0 -28
  1294. package/lib/shared/libs/VideoPlayerControls/components/styles.js +0 -30
  1295. package/lib/shared/libs/VideoPlayerControls/components/styles.js.map +0 -1
  1296. package/lib/shared/libs/VideoPlayerControls/hooks/index.d.ts +0 -3
  1297. package/lib/shared/libs/VideoPlayerControls/hooks/index.js +0 -4
  1298. package/lib/shared/libs/VideoPlayerControls/hooks/index.js.map +0 -1
  1299. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.d.ts +0 -2
  1300. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js +0 -61
  1301. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js.map +0 -1
  1302. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.d.ts +0 -17
  1303. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js +0 -43
  1304. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js.map +0 -1
  1305. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.d.ts +0 -24
  1306. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js +0 -55
  1307. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js.map +0 -1
  1308. package/lib/shared/libs/VideoPlayerControls/index.d.ts +0 -3
  1309. package/lib/shared/libs/VideoPlayerControls/index.js +0 -4
  1310. package/lib/shared/libs/VideoPlayerControls/index.js.map +0 -1
  1311. package/lib/shared/libs/VideoPlayerControls/styles.d.ts +0 -17
  1312. package/lib/shared/libs/VideoPlayerControls/styles.js +0 -19
  1313. package/lib/shared/libs/VideoPlayerControls/styles.js.map +0 -1
  1314. package/lib/shared/libs/VideoPlayerControls/types.d.ts +0 -248
  1315. package/lib/shared/libs/VideoPlayerControls/types.js +0 -2
  1316. package/lib/shared/libs/VideoPlayerControls/types.js.map +0 -1
  1317. package/lib/shared/libs/VideoPlayerControls/utils.d.ts +0 -10
  1318. package/lib/shared/libs/VideoPlayerControls/utils.js +0 -42
  1319. package/lib/shared/libs/VideoPlayerControls/utils.js.map +0 -1
  1320. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.d.ts +0 -2
  1321. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +0 -76
  1322. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js.map +0 -1
  1323. package/lib/shared/libs/datePickerModal/DateTimePickerModal.d.ts +0 -1
  1324. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.d.ts +0 -175
  1325. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js +0 -244
  1326. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js.map +0 -1
  1327. package/lib/shared/libs/datePickerModal/DateTimePickerModal.js +0 -9
  1328. package/lib/shared/libs/datePickerModal/DateTimePickerModal.js.map +0 -1
  1329. package/lib/shared/libs/datePickerModal/Modal.d.ts +0 -35
  1330. package/lib/shared/libs/datePickerModal/Modal.js +0 -144
  1331. package/lib/shared/libs/datePickerModal/Modal.js.map +0 -1
  1332. package/lib/shared/libs/datePickerModal/index.d.ts +0 -3
  1333. package/lib/shared/libs/datePickerModal/index.js +0 -4
  1334. package/lib/shared/libs/datePickerModal/index.js.map +0 -1
  1335. package/lib/shared/libs/datePickerModal/utils.d.ts +0 -1
  1336. package/lib/shared/libs/datePickerModal/utils.js +0 -22
  1337. package/lib/shared/libs/datePickerModal/utils.js.map +0 -1
  1338. package/lib/shared/libs/luxon/src/datetime.d.ts +0 -1181
  1339. package/lib/shared/libs/luxon/src/datetime.js +0 -2078
  1340. package/lib/shared/libs/luxon/src/datetime.js.map +0 -1
  1341. package/lib/shared/libs/luxon/src/duration.d.ts +0 -637
  1342. package/lib/shared/libs/luxon/src/duration.js +0 -886
  1343. package/lib/shared/libs/luxon/src/duration.js.map +0 -1
  1344. package/lib/shared/libs/luxon/src/errors.d.ts +0 -46
  1345. package/lib/shared/libs/luxon/src/errors.js +0 -57
  1346. package/lib/shared/libs/luxon/src/errors.js.map +0 -1
  1347. package/lib/shared/libs/luxon/src/impl/conversions.d.ts +0 -24
  1348. package/lib/shared/libs/luxon/src/impl/conversions.js +0 -163
  1349. package/lib/shared/libs/luxon/src/impl/conversions.js.map +0 -1
  1350. package/lib/shared/libs/luxon/src/impl/diff.d.ts +0 -2
  1351. package/lib/shared/libs/luxon/src/impl/diff.js +0 -80
  1352. package/lib/shared/libs/luxon/src/impl/diff.js.map +0 -1
  1353. package/lib/shared/libs/luxon/src/impl/digits.d.ts +0 -4
  1354. package/lib/shared/libs/luxon/src/impl/digits.js +0 -73
  1355. package/lib/shared/libs/luxon/src/impl/digits.js.map +0 -1
  1356. package/lib/shared/libs/luxon/src/impl/english.d.ts +0 -22
  1357. package/lib/shared/libs/luxon/src/impl/english.js +0 -204
  1358. package/lib/shared/libs/luxon/src/impl/english.js.map +0 -1
  1359. package/lib/shared/libs/luxon/src/impl/formats.d.ts +0 -154
  1360. package/lib/shared/libs/luxon/src/impl/formats.js +0 -152
  1361. package/lib/shared/libs/luxon/src/impl/formats.js.map +0 -1
  1362. package/lib/shared/libs/luxon/src/impl/formatter.d.ts +0 -24
  1363. package/lib/shared/libs/luxon/src/impl/formatter.js +0 -367
  1364. package/lib/shared/libs/luxon/src/impl/formatter.js.map +0 -1
  1365. package/lib/shared/libs/luxon/src/impl/invalid.d.ts +0 -6
  1366. package/lib/shared/libs/luxon/src/impl/invalid.js +0 -15
  1367. package/lib/shared/libs/luxon/src/impl/invalid.js.map +0 -1
  1368. package/lib/shared/libs/luxon/src/impl/locale.d.ts +0 -86
  1369. package/lib/shared/libs/luxon/src/impl/locale.js +0 -468
  1370. package/lib/shared/libs/luxon/src/impl/locale.js.map +0 -1
  1371. package/lib/shared/libs/luxon/src/impl/regexParser.d.ts +0 -6
  1372. package/lib/shared/libs/luxon/src/impl/regexParser.js +0 -212
  1373. package/lib/shared/libs/luxon/src/impl/regexParser.js.map +0 -1
  1374. package/lib/shared/libs/luxon/src/impl/tokenParser.d.ts +0 -27
  1375. package/lib/shared/libs/luxon/src/impl/tokenParser.js +0 -413
  1376. package/lib/shared/libs/luxon/src/impl/tokenParser.js.map +0 -1
  1377. package/lib/shared/libs/luxon/src/impl/util.d.ts +0 -38
  1378. package/lib/shared/libs/luxon/src/impl/util.js +0 -257
  1379. package/lib/shared/libs/luxon/src/impl/util.js.map +0 -1
  1380. package/lib/shared/libs/luxon/src/impl/zoneUtil.d.ts +0 -1
  1381. package/lib/shared/libs/luxon/src/impl/zoneUtil.js +0 -41
  1382. package/lib/shared/libs/luxon/src/impl/zoneUtil.js.map +0 -1
  1383. package/lib/shared/libs/luxon/src/info.d.ts +0 -178
  1384. package/lib/shared/libs/luxon/src/info.js +0 -182
  1385. package/lib/shared/libs/luxon/src/info.js.map +0 -1
  1386. package/lib/shared/libs/luxon/src/interval.d.ts +0 -328
  1387. package/lib/shared/libs/luxon/src/interval.js +0 -606
  1388. package/lib/shared/libs/luxon/src/interval.js.map +0 -1
  1389. package/lib/shared/libs/luxon/src/luxon.d.ts +0 -12
  1390. package/lib/shared/libs/luxon/src/luxon.js +0 -13
  1391. package/lib/shared/libs/luxon/src/luxon.js.map +0 -1
  1392. package/lib/shared/libs/luxon/src/settings.d.ts +0 -115
  1393. package/lib/shared/libs/luxon/src/settings.js +0 -149
  1394. package/lib/shared/libs/luxon/src/settings.js.map +0 -1
  1395. package/lib/shared/libs/luxon/src/zone.d.ts +0 -66
  1396. package/lib/shared/libs/luxon/src/zone.js +0 -83
  1397. package/lib/shared/libs/luxon/src/zone.js.map +0 -1
  1398. package/lib/shared/libs/luxon/src/zones/IANAZone.d.ts +0 -53
  1399. package/lib/shared/libs/luxon/src/zones/IANAZone.js +0 -167
  1400. package/lib/shared/libs/luxon/src/zones/IANAZone.js.map +0 -1
  1401. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.d.ts +0 -38
  1402. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js +0 -90
  1403. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js.map +0 -1
  1404. package/lib/shared/libs/luxon/src/zones/invalidZone.d.ts +0 -20
  1405. package/lib/shared/libs/luxon/src/zones/invalidZone.js +0 -45
  1406. package/lib/shared/libs/luxon/src/zones/invalidZone.js.map +0 -1
  1407. package/lib/shared/libs/luxon/src/zones/systemZone.d.ts +0 -23
  1408. package/lib/shared/libs/luxon/src/zones/systemZone.js +0 -52
  1409. package/lib/shared/libs/luxon/src/zones/systemZone.js.map +0 -1
  1410. package/lib/shared/modals/CometChatCallLogDetailsOptions.d.ts +0 -14
  1411. package/lib/shared/modals/CometChatCallLogDetailsOptions.js +0 -2
  1412. package/lib/shared/modals/CometChatCallLogDetailsOptions.js.map +0 -1
  1413. package/lib/shared/modals/CometChatCallLogDetailsTemplate.d.ts +0 -15
  1414. package/lib/shared/modals/CometChatCallLogDetailsTemplate.js +0 -2
  1415. package/lib/shared/modals/CometChatCallLogDetailsTemplate.js.map +0 -1
  1416. package/lib/shared/modals/CometChatDetailsOption.d.ts +0 -17
  1417. package/lib/shared/modals/CometChatDetailsOption.js +0 -2
  1418. package/lib/shared/modals/CometChatDetailsOption.js.map +0 -1
  1419. package/lib/shared/modals/CometChatDetailsTemplate.d.ts +0 -15
  1420. package/lib/shared/modals/CometChatDetailsTemplate.js +0 -2
  1421. package/lib/shared/modals/CometChatDetailsTemplate.js.map +0 -1
  1422. package/lib/shared/modals/CometChatMessageOption.d.ts +0 -12
  1423. package/lib/shared/modals/CometChatMessageOption.js +0 -2
  1424. package/lib/shared/modals/CometChatMessageOption.js.map +0 -1
  1425. package/lib/shared/modals/CometChatMessageTemplate.d.ts +0 -131
  1426. package/lib/shared/modals/CometChatMessageTemplate.js +0 -23
  1427. package/lib/shared/modals/CometChatMessageTemplate.js.map +0 -1
  1428. package/lib/shared/modals/CometChatOptions.d.ts +0 -14
  1429. package/lib/shared/modals/CometChatOptions.js +0 -2
  1430. package/lib/shared/modals/CometChatOptions.js.map +0 -1
  1431. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.d.ts +0 -73
  1432. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js +0 -88
  1433. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js.map +0 -1
  1434. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.d.ts +0 -12
  1435. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js +0 -18
  1436. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js.map +0 -1
  1437. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.d.ts +0 -21
  1438. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js +0 -26
  1439. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js.map +0 -1
  1440. package/lib/shared/modals/InteractiveData/InteractiveActions/index.d.ts +0 -3
  1441. package/lib/shared/modals/InteractiveData/InteractiveActions/index.js +0 -4
  1442. package/lib/shared/modals/InteractiveData/InteractiveActions/index.js.map +0 -1
  1443. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.d.ts +0 -41
  1444. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js +0 -59
  1445. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js.map +0 -1
  1446. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.d.ts +0 -55
  1447. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js +0 -64
  1448. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js.map +0 -1
  1449. package/lib/shared/modals/InteractiveData/InteractiveData/index.d.ts +0 -2
  1450. package/lib/shared/modals/InteractiveData/InteractiveData/index.js +0 -3
  1451. package/lib/shared/modals/InteractiveData/InteractiveData/index.js.map +0 -1
  1452. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.d.ts +0 -40
  1453. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js +0 -85
  1454. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js.map +0 -1
  1455. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.d.ts +0 -18
  1456. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js +0 -39
  1457. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js.map +0 -1
  1458. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.d.ts +0 -38
  1459. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js +0 -51
  1460. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js.map +0 -1
  1461. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.d.ts +0 -40
  1462. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js +0 -63
  1463. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js.map +0 -1
  1464. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.d.ts +0 -52
  1465. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js +0 -75
  1466. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js.map +0 -1
  1467. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.d.ts +0 -46
  1468. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js +0 -63
  1469. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js.map +0 -1
  1470. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.d.ts +0 -20
  1471. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js +0 -27
  1472. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js.map +0 -1
  1473. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.d.ts +0 -26
  1474. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js +0 -32
  1475. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js.map +0 -1
  1476. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.d.ts +0 -40
  1477. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js +0 -63
  1478. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js.map +0 -1
  1479. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.d.ts +0 -40
  1480. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js +0 -63
  1481. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js.map +0 -1
  1482. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.d.ts +0 -59
  1483. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js +0 -87
  1484. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js.map +0 -1
  1485. package/lib/shared/modals/InteractiveData/InteractiveElements/index.d.ts +0 -11
  1486. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +0 -12
  1487. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js.map +0 -1
  1488. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.d.ts +0 -22
  1489. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js +0 -32
  1490. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js.map +0 -1
  1491. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.d.ts +0 -25
  1492. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +0 -52
  1493. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +0 -1
  1494. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.d.ts +0 -2
  1495. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js +0 -3
  1496. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js.map +0 -1
  1497. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.d.ts +0 -70
  1498. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js +0 -108
  1499. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js.map +0 -1
  1500. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.d.ts +0 -20
  1501. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js +0 -31
  1502. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js.map +0 -1
  1503. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.d.ts +0 -68
  1504. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js +0 -111
  1505. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +0 -1
  1506. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +0 -63
  1507. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +0 -95
  1508. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js.map +0 -1
  1509. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.d.ts +0 -4
  1510. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js +0 -5
  1511. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js.map +0 -1
  1512. package/lib/shared/modals/InteractiveData/index.d.ts +0 -4
  1513. package/lib/shared/modals/InteractiveData/index.js +0 -6
  1514. package/lib/shared/modals/InteractiveData/index.js.map +0 -1
  1515. package/lib/shared/modals/index.d.ts +0 -9
  1516. package/lib/shared/modals/index.js +0 -4
  1517. package/lib/shared/modals/index.js.map +0 -1
  1518. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +0 -4511
  1519. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +0 -167
  1520. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +0 -1
  1521. package/lib/shared/resources/CometChatLocalize/index.d.ts +0 -2
  1522. package/lib/shared/resources/CometChatLocalize/index.js +0 -3
  1523. package/lib/shared/resources/CometChatLocalize/index.js.map +0 -1
  1524. package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +0 -316
  1525. package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +0 -317
  1526. package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +0 -316
  1527. package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +0 -317
  1528. package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +0 -317
  1529. package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +0 -316
  1530. package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +0 -317
  1531. package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +0 -317
  1532. package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +0 -317
  1533. package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +0 -317
  1534. package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +0 -317
  1535. package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +0 -317
  1536. package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +0 -317
  1537. package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +0 -317
  1538. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -13
  1539. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +0 -95
  1540. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +0 -1
  1541. package/lib/shared/resources/CometChatSoundManager/index.d.ts +0 -2
  1542. package/lib/shared/resources/CometChatSoundManager/index.js +0 -3
  1543. package/lib/shared/resources/CometChatSoundManager/index.js.map +0 -1
  1544. package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +0 -1
  1545. package/lib/shared/resources/CometChatSoundManager/resources/index.js +0 -6
  1546. package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +0 -1
  1547. package/lib/shared/resources/CometChatSoundManager/sound.d.ts +0 -56
  1548. package/lib/shared/resources/CometChatSoundManager/sound.js +0 -314
  1549. package/lib/shared/resources/CometChatSoundManager/sound.js.map +0 -1
  1550. package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +0 -22
  1551. package/lib/shared/resources/CometChatTheme/CometChatTheme.js +0 -21
  1552. package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +0 -1
  1553. package/lib/shared/resources/CometChatTheme/Palette.d.ts +0 -144
  1554. package/lib/shared/resources/CometChatTheme/Palette.js +0 -435
  1555. package/lib/shared/resources/CometChatTheme/Palette.js.map +0 -1
  1556. package/lib/shared/resources/CometChatTheme/Typography.d.ts +0 -102
  1557. package/lib/shared/resources/CometChatTheme/Typography.js +0 -289
  1558. package/lib/shared/resources/CometChatTheme/Typography.js.map +0 -1
  1559. package/lib/shared/resources/CometChatTheme/index.d.ts +0 -2
  1560. package/lib/shared/resources/CometChatTheme/index.js +0 -3
  1561. package/lib/shared/resources/CometChatTheme/index.js.map +0 -1
  1562. package/lib/shared/resources/index.d.ts +0 -4
  1563. package/lib/shared/resources/index.js +0 -5
  1564. package/lib/shared/resources/index.js.map +0 -1
  1565. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +0 -15
  1566. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +0 -79
  1567. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +0 -1
  1568. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +0 -20
  1569. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +0 -26
  1570. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +0 -1
  1571. package/lib/shared/utils/CometChatLiveReactions/index.d.ts +0 -1
  1572. package/lib/shared/utils/CometChatLiveReactions/index.js +0 -2
  1573. package/lib/shared/utils/CometChatLiveReactions/index.js.map +0 -1
  1574. package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +0 -2
  1575. package/lib/shared/utils/CometChatLiveReactions/resources/index.js +0 -3
  1576. package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +0 -1
  1577. package/lib/shared/utils/CometChatLiveReactions/style.d.ts +0 -5
  1578. package/lib/shared/utils/CometChatLiveReactions/style.js +0 -7
  1579. package/lib/shared/utils/CometChatLiveReactions/style.js.map +0 -1
  1580. package/lib/shared/utils/CometChatMessageHelper/index.d.ts +0 -13
  1581. package/lib/shared/utils/CometChatMessageHelper/index.js +0 -45
  1582. package/lib/shared/utils/CometChatMessageHelper/index.js.map +0 -1
  1583. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +0 -48
  1584. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +0 -102
  1585. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +0 -1
  1586. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +0 -24
  1587. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +0 -23
  1588. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +0 -1
  1589. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +0 -31
  1590. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +0 -29
  1591. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +0 -1
  1592. package/lib/shared/utils/CometChatMessagePreview/index.d.ts +0 -4
  1593. package/lib/shared/utils/CometChatMessagePreview/index.js +0 -5
  1594. package/lib/shared/utils/CometChatMessagePreview/index.js.map +0 -1
  1595. package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +0 -2
  1596. package/lib/shared/utils/CometChatMessagePreview/resources/index.js +0 -3
  1597. package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +0 -1
  1598. package/lib/shared/utils/CometChatMessagePreview/style.d.ts +0 -10
  1599. package/lib/shared/utils/CometChatMessagePreview/style.js +0 -64
  1600. package/lib/shared/utils/CometChatMessagePreview/style.js.map +0 -1
  1601. package/lib/shared/utils/CommonUtils.d.ts +0 -6
  1602. package/lib/shared/utils/CommonUtils.js +0 -67
  1603. package/lib/shared/utils/CommonUtils.js.map +0 -1
  1604. package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +0 -13
  1605. package/lib/shared/utils/DetailsUtils/DetailsUtils.js +0 -299
  1606. package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +0 -1
  1607. package/lib/shared/utils/DetailsUtils/resources/index.d.ts +0 -9
  1608. package/lib/shared/utils/DetailsUtils/resources/index.js +0 -17
  1609. package/lib/shared/utils/DetailsUtils/resources/index.js.map +0 -1
  1610. package/lib/shared/utils/InteractiveMessageUtils.d.ts +0 -8
  1611. package/lib/shared/utils/InteractiveMessageUtils.js +0 -48
  1612. package/lib/shared/utils/InteractiveMessageUtils.js.map +0 -1
  1613. package/lib/shared/utils/MessageUtils.d.ts +0 -15
  1614. package/lib/shared/utils/MessageUtils.js +0 -38
  1615. package/lib/shared/utils/MessageUtils.js.map +0 -1
  1616. package/lib/shared/utils/NetworkUtils.d.ts +0 -9
  1617. package/lib/shared/utils/NetworkUtils.js +0 -36
  1618. package/lib/shared/utils/NetworkUtils.js.map +0 -1
  1619. package/lib/shared/utils/PermissionUtil.d.ts +0 -27
  1620. package/lib/shared/utils/PermissionUtil.js +0 -139
  1621. package/lib/shared/utils/PermissionUtil.js.map +0 -1
  1622. package/lib/shared/utils/SchedulerUtils.d.ts +0 -11
  1623. package/lib/shared/utils/SchedulerUtils.js +0 -142
  1624. package/lib/shared/utils/SchedulerUtils.js.map +0 -1
  1625. package/lib/shared/utils/TypeUtils.d.ts +0 -3
  1626. package/lib/shared/utils/TypeUtils.js +0 -2
  1627. package/lib/shared/utils/TypeUtils.js.map +0 -1
  1628. package/lib/shared/utils/conversationUtils.d.ts +0 -7
  1629. package/lib/shared/utils/conversationUtils.js +0 -88
  1630. package/lib/shared/utils/conversationUtils.js.map +0 -1
  1631. package/lib/shared/utils/icsToJson.d.ts +0 -2
  1632. package/lib/shared/utils/icsToJson.js +0 -109
  1633. package/lib/shared/utils/icsToJson.js.map +0 -1
  1634. package/lib/shared/utils/index.d.ts +0 -7
  1635. package/lib/shared/utils/index.js +0 -7
  1636. package/lib/shared/utils/index.js.map +0 -1
  1637. package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +0 -18
  1638. package/lib/shared/views/CometChatAICard/CometChatAICard.js +0 -24
  1639. package/lib/shared/views/CometChatAICard/CometChatAICard.js.map +0 -1
  1640. package/lib/shared/views/CometChatAICard/resources/index.d.ts +0 -3
  1641. package/lib/shared/views/CometChatAICard/resources/index.js +0 -4
  1642. package/lib/shared/views/CometChatAICard/resources/index.js.map +0 -1
  1643. package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +0 -49
  1644. package/lib/shared/views/CometChatActionSheet/ActionItem.js +0 -17
  1645. package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +0 -1
  1646. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +0 -47
  1647. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +0 -43
  1648. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +0 -1
  1649. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +0 -24
  1650. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +0 -152
  1651. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +0 -1
  1652. package/lib/shared/views/CometChatActionSheet/hooks.d.ts +0 -1
  1653. package/lib/shared/views/CometChatActionSheet/hooks.js +0 -7
  1654. package/lib/shared/views/CometChatActionSheet/hooks.js.map +0 -1
  1655. package/lib/shared/views/CometChatActionSheet/index.d.ts +0 -3
  1656. package/lib/shared/views/CometChatActionSheet/index.js +0 -4
  1657. package/lib/shared/views/CometChatActionSheet/index.js.map +0 -1
  1658. package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +0 -4
  1659. package/lib/shared/views/CometChatActionSheet/resources/index.js +0 -7
  1660. package/lib/shared/views/CometChatActionSheet/resources/index.js.map +0 -1
  1661. package/lib/shared/views/CometChatActionSheet/style.d.ts +0 -44
  1662. package/lib/shared/views/CometChatActionSheet/style.js +0 -46
  1663. package/lib/shared/views/CometChatActionSheet/style.js.map +0 -1
  1664. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +0 -16
  1665. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +0 -18
  1666. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +0 -1
  1667. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -35
  1668. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +0 -95
  1669. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +0 -1
  1670. package/lib/shared/views/CometChatAudioBubble/index.d.ts +0 -3
  1671. package/lib/shared/views/CometChatAudioBubble/index.js +0 -4
  1672. package/lib/shared/views/CometChatAudioBubble/index.js.map +0 -1
  1673. package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +0 -3
  1674. package/lib/shared/views/CometChatAudioBubble/resources/index.js +0 -4
  1675. package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +0 -1
  1676. package/lib/shared/views/CometChatAudioBubble/style.d.ts +0 -28
  1677. package/lib/shared/views/CometChatAudioBubble/style.js +0 -30
  1678. package/lib/shared/views/CometChatAudioBubble/style.js.map +0 -1
  1679. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +0 -19
  1680. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +0 -17
  1681. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +0 -1
  1682. package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +0 -28
  1683. package/lib/shared/views/CometChatAvatar/AvatarStyle.js +0 -34
  1684. package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +0 -1
  1685. package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +0 -25
  1686. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +0 -82
  1687. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +0 -1
  1688. package/lib/shared/views/CometChatAvatar/index.d.ts +0 -4
  1689. package/lib/shared/views/CometChatAvatar/index.js +0 -5
  1690. package/lib/shared/views/CometChatAvatar/index.js.map +0 -1
  1691. package/lib/shared/views/CometChatAvatar/resources/index.d.ts +0 -3
  1692. package/lib/shared/views/CometChatAvatar/resources/index.js +0 -5
  1693. package/lib/shared/views/CometChatAvatar/resources/index.js.map +0 -1
  1694. package/lib/shared/views/CometChatAvatar/styles.d.ts +0 -21
  1695. package/lib/shared/views/CometChatAvatar/styles.js +0 -24
  1696. package/lib/shared/views/CometChatAvatar/styles.js.map +0 -1
  1697. package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +0 -34
  1698. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +0 -30
  1699. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +0 -1
  1700. package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +0 -11
  1701. package/lib/shared/views/CometChatBadge/BadgeStyle.js +0 -23
  1702. package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +0 -1
  1703. package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +0 -23
  1704. package/lib/shared/views/CometChatBadge/CometChatBadge.js +0 -41
  1705. package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +0 -1
  1706. package/lib/shared/views/CometChatBadge/index.d.ts +0 -4
  1707. package/lib/shared/views/CometChatBadge/index.js +0 -5
  1708. package/lib/shared/views/CometChatBadge/index.js.map +0 -1
  1709. package/lib/shared/views/CometChatBadge/styles.d.ts +0 -14
  1710. package/lib/shared/views/CometChatBadge/styles.js +0 -17
  1711. package/lib/shared/views/CometChatBadge/styles.js.map +0 -1
  1712. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +0 -21
  1713. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +0 -87
  1714. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +0 -1
  1715. package/lib/shared/views/CometChatBottomSheet/index.d.ts +0 -2
  1716. package/lib/shared/views/CometChatBottomSheet/index.js +0 -3
  1717. package/lib/shared/views/CometChatBottomSheet/index.js.map +0 -1
  1718. package/lib/shared/views/CometChatBottomSheet/style.d.ts +0 -48
  1719. package/lib/shared/views/CometChatBottomSheet/style.js +0 -50
  1720. package/lib/shared/views/CometChatBottomSheet/style.js.map +0 -1
  1721. package/lib/shared/views/CometChatButton/CometChatButton.d.ts +0 -11
  1722. package/lib/shared/views/CometChatButton/CometChatButton.js +0 -21
  1723. package/lib/shared/views/CometChatButton/CometChatButton.js.map +0 -1
  1724. package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +0 -18
  1725. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +0 -19
  1726. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +0 -1
  1727. package/lib/shared/views/CometChatButton/index.d.ts +0 -3
  1728. package/lib/shared/views/CometChatButton/index.js +0 -4
  1729. package/lib/shared/views/CometChatButton/index.js.map +0 -1
  1730. package/lib/shared/views/CometChatButton/style.d.ts +0 -6
  1731. package/lib/shared/views/CometChatButton/style.js +0 -8
  1732. package/lib/shared/views/CometChatButton/style.js.map +0 -1
  1733. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +0 -15
  1734. package/lib/shared/views/CometChatCard/CometChatCard.js +0 -22
  1735. package/lib/shared/views/CometChatCard/CometChatCard.js.map +0 -1
  1736. package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +0 -10
  1737. package/lib/shared/views/CometChatCard/CometChatCardStyle.js +0 -15
  1738. package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +0 -1
  1739. package/lib/shared/views/CometChatCard/index.d.ts +0 -3
  1740. package/lib/shared/views/CometChatCard/index.js +0 -4
  1741. package/lib/shared/views/CometChatCard/index.js.map +0 -1
  1742. package/lib/shared/views/CometChatCard/style.d.ts +0 -11
  1743. package/lib/shared/views/CometChatCard/style.js +0 -13
  1744. package/lib/shared/views/CometChatCard/style.js.map +0 -1
  1745. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.d.ts +0 -20
  1746. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js +0 -18
  1747. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js.map +0 -1
  1748. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.d.ts +0 -9
  1749. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +0 -111
  1750. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +0 -1
  1751. package/lib/shared/views/CometChatCardBubble/index.d.ts +0 -1
  1752. package/lib/shared/views/CometChatCardBubble/index.js +0 -2
  1753. package/lib/shared/views/CometChatCardBubble/index.js.map +0 -1
  1754. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.d.ts +0 -22
  1755. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js +0 -14
  1756. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js.map +0 -1
  1757. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.d.ts +0 -12
  1758. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js +0 -32
  1759. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js.map +0 -1
  1760. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -25
  1761. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +0 -75
  1762. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +0 -1
  1763. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +0 -24
  1764. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +0 -9
  1765. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +0 -1
  1766. package/lib/shared/views/CometChatConfirmDialog/index.d.ts +0 -3
  1767. package/lib/shared/views/CometChatConfirmDialog/index.js +0 -3
  1768. package/lib/shared/views/CometChatConfirmDialog/index.js.map +0 -1
  1769. package/lib/shared/views/CometChatConfirmDialog/style.d.ts +0 -61
  1770. package/lib/shared/views/CometChatConfirmDialog/style.js +0 -63
  1771. package/lib/shared/views/CometChatConfirmDialog/style.js.map +0 -1
  1772. package/lib/shared/views/CometChatDate/CometChatDate.d.ts +0 -45
  1773. package/lib/shared/views/CometChatDate/CometChatDate.js +0 -133
  1774. package/lib/shared/views/CometChatDate/CometChatDate.js.map +0 -1
  1775. package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +0 -23
  1776. package/lib/shared/views/CometChatDate/DateConfiguration.js +0 -18
  1777. package/lib/shared/views/CometChatDate/DateConfiguration.js.map +0 -1
  1778. package/lib/shared/views/CometChatDate/DateStyle.d.ts +0 -11
  1779. package/lib/shared/views/CometChatDate/DateStyle.js +0 -14
  1780. package/lib/shared/views/CometChatDate/DateStyle.js.map +0 -1
  1781. package/lib/shared/views/CometChatDate/index.d.ts +0 -4
  1782. package/lib/shared/views/CometChatDate/index.js +0 -5
  1783. package/lib/shared/views/CometChatDate/index.js.map +0 -1
  1784. package/lib/shared/views/CometChatDate/style.d.ts +0 -5
  1785. package/lib/shared/views/CometChatDate/style.js +0 -8
  1786. package/lib/shared/views/CometChatDate/style.js.map +0 -1
  1787. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +0 -15
  1788. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +0 -121
  1789. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +0 -1
  1790. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +0 -17
  1791. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js +0 -13
  1792. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js.map +0 -1
  1793. package/lib/shared/views/CometChatDateTimePicker/index.d.ts +0 -2
  1794. package/lib/shared/views/CometChatDateTimePicker/index.js +0 -2
  1795. package/lib/shared/views/CometChatDateTimePicker/index.js.map +0 -1
  1796. package/lib/shared/views/CometChatDropDown/CometChatDropDown.d.ts +0 -14
  1797. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +0 -69
  1798. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js.map +0 -1
  1799. package/lib/shared/views/CometChatDropDown/DropDownStyle.d.ts +0 -20
  1800. package/lib/shared/views/CometChatDropDown/DropDownStyle.js +0 -13
  1801. package/lib/shared/views/CometChatDropDown/DropDownStyle.js.map +0 -1
  1802. package/lib/shared/views/CometChatDropDown/resources/index.d.ts +0 -2
  1803. package/lib/shared/views/CometChatDropDown/resources/index.js +0 -3
  1804. package/lib/shared/views/CometChatDropDown/resources/index.js.map +0 -1
  1805. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -31
  1806. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +0 -145
  1807. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +0 -1
  1808. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +0 -16
  1809. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +0 -17
  1810. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +0 -1
  1811. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +0 -21
  1812. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +0 -22
  1813. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +0 -1
  1814. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +0 -19
  1815. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +0 -17
  1816. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +0 -1
  1817. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +0 -17
  1818. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +0 -28
  1819. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +0 -1
  1820. package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
  1821. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +0 -8218
  1822. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +0 -1
  1823. package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +0 -4
  1824. package/lib/shared/views/CometChatEmojiKeyboard/index.js +0 -5
  1825. package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +0 -1
  1826. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +0 -9
  1827. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +0 -10
  1828. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +0 -1
  1829. package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +0 -44
  1830. package/lib/shared/views/CometChatEmojiKeyboard/style.js +0 -57
  1831. package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +0 -1
  1832. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +0 -35
  1833. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +0 -107
  1834. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +0 -1
  1835. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +0 -31
  1836. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +0 -18
  1837. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +0 -1
  1838. package/lib/shared/views/CometChatFileBubble/index.d.ts +0 -3
  1839. package/lib/shared/views/CometChatFileBubble/index.js +0 -4
  1840. package/lib/shared/views/CometChatFileBubble/index.js.map +0 -1
  1841. package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +0 -3
  1842. package/lib/shared/views/CometChatFileBubble/resources/index.js +0 -4
  1843. package/lib/shared/views/CometChatFileBubble/resources/index.js.map +0 -1
  1844. package/lib/shared/views/CometChatFileBubble/style.d.ts +0 -44
  1845. package/lib/shared/views/CometChatFileBubble/style.js +0 -47
  1846. package/lib/shared/views/CometChatFileBubble/style.js.map +0 -1
  1847. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +0 -9
  1848. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +0 -365
  1849. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +0 -1
  1850. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.d.ts +0 -47
  1851. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js +0 -29
  1852. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js.map +0 -1
  1853. package/lib/shared/views/CometChatFormBubble/index.d.ts +0 -1
  1854. package/lib/shared/views/CometChatFormBubble/index.js +0 -2
  1855. package/lib/shared/views/CometChatFormBubble/index.js.map +0 -1
  1856. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +0 -34
  1857. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +0 -106
  1858. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +0 -1
  1859. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +0 -19
  1860. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +0 -14
  1861. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +0 -1
  1862. package/lib/shared/views/CometChatImageBubble/assets/index.d.ts +0 -3
  1863. package/lib/shared/views/CometChatImageBubble/assets/index.js +0 -5
  1864. package/lib/shared/views/CometChatImageBubble/assets/index.js.map +0 -1
  1865. package/lib/shared/views/CometChatImageBubble/index.d.ts +0 -3
  1866. package/lib/shared/views/CometChatImageBubble/index.js +0 -4
  1867. package/lib/shared/views/CometChatImageBubble/index.js.map +0 -1
  1868. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +0 -6
  1869. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +0 -65
  1870. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js.map +0 -1
  1871. package/lib/shared/views/CometChatImageViewerModal/index.d.ts +0 -1
  1872. package/lib/shared/views/CometChatImageViewerModal/index.js +0 -2
  1873. package/lib/shared/views/CometChatImageViewerModal/index.js.map +0 -1
  1874. package/lib/shared/views/CometChatImageViewerModal/resources/index.d.ts +0 -3
  1875. package/lib/shared/views/CometChatImageViewerModal/resources/index.js +0 -5
  1876. package/lib/shared/views/CometChatImageViewerModal/resources/index.js.map +0 -1
  1877. package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +0 -8
  1878. package/lib/shared/views/CometChatLabel/CometChatLabel.js +0 -12
  1879. package/lib/shared/views/CometChatLabel/CometChatLabel.js.map +0 -1
  1880. package/lib/shared/views/CometChatLabel/LabelStyle.d.ts +0 -10
  1881. package/lib/shared/views/CometChatLabel/LabelStyle.js +0 -8
  1882. package/lib/shared/views/CometChatLabel/LabelStyle.js.map +0 -1
  1883. package/lib/shared/views/CometChatList/CometChatList.d.ts +0 -90
  1884. package/lib/shared/views/CometChatList/CometChatList.js +0 -464
  1885. package/lib/shared/views/CometChatList/CometChatList.js.map +0 -1
  1886. package/lib/shared/views/CometChatList/Header.d.ts +0 -2
  1887. package/lib/shared/views/CometChatList/Header.js +0 -61
  1888. package/lib/shared/views/CometChatList/Header.js.map +0 -1
  1889. package/lib/shared/views/CometChatList/index.d.ts +0 -2
  1890. package/lib/shared/views/CometChatList/index.js +0 -3
  1891. package/lib/shared/views/CometChatList/index.js.map +0 -1
  1892. package/lib/shared/views/CometChatList/resources/index.d.ts +0 -7
  1893. package/lib/shared/views/CometChatList/resources/index.js +0 -13
  1894. package/lib/shared/views/CometChatList/resources/index.js.map +0 -1
  1895. package/lib/shared/views/CometChatList/styles.d.ts +0 -99
  1896. package/lib/shared/views/CometChatList/styles.js +0 -102
  1897. package/lib/shared/views/CometChatList/styles.js.map +0 -1
  1898. package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +0 -41
  1899. package/lib/shared/views/CometChatListItem/CometChatListItem.js +0 -166
  1900. package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +0 -1
  1901. package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +0 -6
  1902. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +0 -9
  1903. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +0 -1
  1904. package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +0 -27
  1905. package/lib/shared/views/CometChatListItem/ListItemStyle.js +0 -32
  1906. package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +0 -1
  1907. package/lib/shared/views/CometChatListItem/index.d.ts +0 -4
  1908. package/lib/shared/views/CometChatListItem/index.js +0 -5
  1909. package/lib/shared/views/CometChatListItem/index.js.map +0 -1
  1910. package/lib/shared/views/CometChatListItem/style.d.ts +0 -61
  1911. package/lib/shared/views/CometChatListItem/style.js +0 -61
  1912. package/lib/shared/views/CometChatListItem/style.js.map +0 -1
  1913. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -25
  1914. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +0 -199
  1915. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +0 -1
  1916. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +0 -26
  1917. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +0 -23
  1918. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +0 -1
  1919. package/lib/shared/views/CometChatMediaRecorder/index.d.ts +0 -3
  1920. package/lib/shared/views/CometChatMediaRecorder/index.js +0 -4
  1921. package/lib/shared/views/CometChatMediaRecorder/index.js.map +0 -1
  1922. package/lib/shared/views/CometChatMediaRecorder/style.d.ts +0 -27
  1923. package/lib/shared/views/CometChatMediaRecorder/style.js +0 -28
  1924. package/lib/shared/views/CometChatMediaRecorder/style.js.map +0 -1
  1925. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -61
  1926. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +0 -36
  1927. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +0 -1
  1928. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +0 -6
  1929. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +0 -13
  1930. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +0 -1
  1931. package/lib/shared/views/CometChatMessageBubble/index.d.ts +0 -2
  1932. package/lib/shared/views/CometChatMessageBubble/index.js +0 -3
  1933. package/lib/shared/views/CometChatMessageBubble/index.js.map +0 -1
  1934. package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
  1935. package/lib/shared/views/CometChatMessageBubble/style.js +0 -2
  1936. package/lib/shared/views/CometChatMessageBubble/style.js.map +0 -1
  1937. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +0 -98
  1938. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +0 -46
  1939. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +0 -1
  1940. package/lib/shared/views/CometChatMessageInput/index.d.ts +0 -3
  1941. package/lib/shared/views/CometChatMessageInput/index.js +0 -3
  1942. package/lib/shared/views/CometChatMessageInput/index.js.map +0 -1
  1943. package/lib/shared/views/CometChatMessageInput/styles.d.ts +0 -7
  1944. package/lib/shared/views/CometChatMessageInput/styles.js +0 -9
  1945. package/lib/shared/views/CometChatMessageInput/styles.js.map +0 -1
  1946. package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +0 -10
  1947. package/lib/shared/views/CometChatPanel/CometChatPanel.js +0 -20
  1948. package/lib/shared/views/CometChatPanel/CometChatPanel.js.map +0 -1
  1949. package/lib/shared/views/CometChatPanel/PanelStyle.d.ts +0 -16
  1950. package/lib/shared/views/CometChatPanel/PanelStyle.js +0 -18
  1951. package/lib/shared/views/CometChatPanel/PanelStyle.js.map +0 -1
  1952. package/lib/shared/views/CometChatPanel/resources/index.d.ts +0 -2
  1953. package/lib/shared/views/CometChatPanel/resources/index.js +0 -3
  1954. package/lib/shared/views/CometChatPanel/resources/index.js.map +0 -1
  1955. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +0 -11
  1956. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js +0 -43
  1957. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js.map +0 -1
  1958. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.d.ts +0 -6
  1959. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js +0 -9
  1960. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js.map +0 -1
  1961. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.d.ts +0 -12
  1962. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js +0 -16
  1963. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js.map +0 -1
  1964. package/lib/shared/views/CometChatQuickReactions/index.d.ts +0 -5
  1965. package/lib/shared/views/CometChatQuickReactions/index.js +0 -5
  1966. package/lib/shared/views/CometChatQuickReactions/index.js.map +0 -1
  1967. package/lib/shared/views/CometChatQuickReactions/resources/index.d.ts +0 -3
  1968. package/lib/shared/views/CometChatQuickReactions/resources/index.js +0 -3
  1969. package/lib/shared/views/CometChatQuickReactions/resources/index.js.map +0 -1
  1970. package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +0 -11
  1971. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js +0 -28
  1972. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js.map +0 -1
  1973. package/lib/shared/views/CometChatQuickView/QuickViewStyle.d.ts +0 -22
  1974. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js +0 -20
  1975. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js.map +0 -1
  1976. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.d.ts +0 -12
  1977. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js +0 -25
  1978. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js.map +0 -1
  1979. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.d.ts +0 -19
  1980. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js +0 -13
  1981. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js.map +0 -1
  1982. package/lib/shared/views/CometChatReactionList/CometChatReactionList.d.ts +0 -20
  1983. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +0 -235
  1984. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +0 -1
  1985. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.d.ts +0 -6
  1986. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js +0 -9
  1987. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js.map +0 -1
  1988. package/lib/shared/views/CometChatReactionList/ReactionListStyle.d.ts +0 -28
  1989. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js +0 -24
  1990. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js.map +0 -1
  1991. package/lib/shared/views/CometChatReactionList/index.d.ts +0 -5
  1992. package/lib/shared/views/CometChatReactionList/index.js +0 -5
  1993. package/lib/shared/views/CometChatReactionList/index.js.map +0 -1
  1994. package/lib/shared/views/CometChatReactionList/resources/index.d.ts +0 -2
  1995. package/lib/shared/views/CometChatReactionList/resources/index.js +0 -3
  1996. package/lib/shared/views/CometChatReactionList/resources/index.js.map +0 -1
  1997. package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +0 -19
  1998. package/lib/shared/views/CometChatReactions/CometChatReactions.js +0 -104
  1999. package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +0 -1
  2000. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.d.ts +0 -6
  2001. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js +0 -9
  2002. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js.map +0 -1
  2003. package/lib/shared/views/CometChatReactions/ReactionsStyle.d.ts +0 -16
  2004. package/lib/shared/views/CometChatReactions/ReactionsStyle.js +0 -18
  2005. package/lib/shared/views/CometChatReactions/ReactionsStyle.js.map +0 -1
  2006. package/lib/shared/views/CometChatReactions/index.d.ts +0 -4
  2007. package/lib/shared/views/CometChatReactions/index.js +0 -5
  2008. package/lib/shared/views/CometChatReactions/index.js.map +0 -1
  2009. package/lib/shared/views/CometChatReactions/style.d.ts +0 -38
  2010. package/lib/shared/views/CometChatReactions/style.js +0 -42
  2011. package/lib/shared/views/CometChatReactions/style.js.map +0 -1
  2012. package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +0 -35
  2013. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +0 -52
  2014. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +0 -1
  2015. package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +0 -40
  2016. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +0 -35
  2017. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +0 -1
  2018. package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +0 -3
  2019. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +0 -4
  2020. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +0 -1
  2021. package/lib/shared/views/CometChatReceipt/index.d.ts +0 -3
  2022. package/lib/shared/views/CometChatReceipt/index.js +0 -4
  2023. package/lib/shared/views/CometChatReceipt/index.js.map +0 -1
  2024. package/lib/shared/views/CometChatReceipt/resources/index.d.ts +0 -7
  2025. package/lib/shared/views/CometChatReceipt/resources/index.js +0 -18
  2026. package/lib/shared/views/CometChatReceipt/resources/index.js.map +0 -1
  2027. package/lib/shared/views/CometChatReceipt/style.d.ts +0 -8
  2028. package/lib/shared/views/CometChatReceipt/style.js +0 -10
  2029. package/lib/shared/views/CometChatReceipt/style.js.map +0 -1
  2030. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +0 -9
  2031. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +0 -1050
  2032. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +0 -1
  2033. package/lib/shared/views/CometChatSchedulerBubble/index.d.ts +0 -2
  2034. package/lib/shared/views/CometChatSchedulerBubble/index.js +0 -2
  2035. package/lib/shared/views/CometChatSchedulerBubble/index.js.map +0 -1
  2036. package/lib/shared/views/CometChatSchedulerBubble/styles.d.ts +0 -114
  2037. package/lib/shared/views/CometChatSchedulerBubble/styles.js +0 -67
  2038. package/lib/shared/views/CometChatSchedulerBubble/styles.js.map +0 -1
  2039. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.d.ts +0 -12
  2040. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js +0 -25
  2041. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js.map +0 -1
  2042. package/lib/shared/views/CometChatSingleSelect/SingleStyle.d.ts +0 -18
  2043. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js +0 -12
  2044. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js.map +0 -1
  2045. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +0 -25
  2046. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +0 -35
  2047. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +0 -1
  2048. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +0 -17
  2049. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +0 -14
  2050. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +0 -1
  2051. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +0 -20
  2052. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +0 -22
  2053. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +0 -1
  2054. package/lib/shared/views/CometChatStatusIndicator/index.d.ts +0 -4
  2055. package/lib/shared/views/CometChatStatusIndicator/index.js +0 -5
  2056. package/lib/shared/views/CometChatStatusIndicator/index.js.map +0 -1
  2057. package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +0 -12
  2058. package/lib/shared/views/CometChatStatusIndicator/styles.js +0 -15
  2059. package/lib/shared/views/CometChatStatusIndicator/styles.js.map +0 -1
  2060. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +0 -17
  2061. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js +0 -24
  2062. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +0 -1
  2063. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.d.ts +0 -43
  2064. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js +0 -11
  2065. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js.map +0 -1
  2066. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.d.ts +0 -19
  2067. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js +0 -6
  2068. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js.map +0 -1
  2069. package/lib/shared/views/CometChatSuggestionList/index.d.ts +0 -4
  2070. package/lib/shared/views/CometChatSuggestionList/index.js +0 -5
  2071. package/lib/shared/views/CometChatSuggestionList/index.js.map +0 -1
  2072. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +0 -25
  2073. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +0 -66
  2074. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +0 -1
  2075. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +0 -16
  2076. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +0 -15
  2077. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +0 -1
  2078. package/lib/shared/views/CometChatTextBubble/index.d.ts +0 -3
  2079. package/lib/shared/views/CometChatTextBubble/index.js +0 -4
  2080. package/lib/shared/views/CometChatTextBubble/index.js.map +0 -1
  2081. package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +0 -12
  2082. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js +0 -34
  2083. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js.map +0 -1
  2084. package/lib/shared/views/CometChatTextInput/TextInputStyle.d.ts +0 -13
  2085. package/lib/shared/views/CometChatTextInput/TextInputStyle.js +0 -10
  2086. package/lib/shared/views/CometChatTextInput/TextInputStyle.js.map +0 -1
  2087. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.d.ts +0 -12
  2088. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js +0 -60
  2089. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js.map +0 -1
  2090. package/lib/shared/views/CometChatTimeSlotSelector/index.d.ts +0 -2
  2091. package/lib/shared/views/CometChatTimeSlotSelector/index.js +0 -2
  2092. package/lib/shared/views/CometChatTimeSlotSelector/index.js.map +0 -1
  2093. package/lib/shared/views/CometChatTimeSlotSelector/styles.d.ts +0 -35
  2094. package/lib/shared/views/CometChatTimeSlotSelector/styles.js +0 -20
  2095. package/lib/shared/views/CometChatTimeSlotSelector/styles.js.map +0 -1
  2096. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -48
  2097. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +0 -81
  2098. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +0 -1
  2099. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +0 -56
  2100. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +0 -20
  2101. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +0 -1
  2102. package/lib/shared/views/CometChatVideoBubble/index.d.ts +0 -3
  2103. package/lib/shared/views/CometChatVideoBubble/index.js +0 -4
  2104. package/lib/shared/views/CometChatVideoBubble/index.js.map +0 -1
  2105. package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +0 -3
  2106. package/lib/shared/views/CometChatVideoBubble/resources/index.js +0 -4
  2107. package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +0 -1
  2108. package/lib/shared/views/CometChatVideoBubble/style.d.ts +0 -7
  2109. package/lib/shared/views/CometChatVideoBubble/style.js +0 -9
  2110. package/lib/shared/views/CometChatVideoBubble/style.js.map +0 -1
  2111. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +0 -2
  2112. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +0 -61
  2113. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +0 -1
  2114. package/lib/shared/views/CometChatVideoPlayer/index.d.ts +0 -1
  2115. package/lib/shared/views/CometChatVideoPlayer/index.js +0 -2
  2116. package/lib/shared/views/CometChatVideoPlayer/index.js.map +0 -1
  2117. package/lib/shared/views/SwipeRow/SwipeRow.d.ts +0 -8
  2118. package/lib/shared/views/SwipeRow/SwipeRow.js +0 -71
  2119. package/lib/shared/views/SwipeRow/SwipeRow.js.map +0 -1
  2120. package/lib/shared/views/SwipeRow/index.d.ts +0 -2
  2121. package/lib/shared/views/SwipeRow/index.js +0 -3
  2122. package/lib/shared/views/SwipeRow/index.js.map +0 -1
  2123. package/lib/shared/views/SwipeRow/style.d.ts +0 -28
  2124. package/lib/shared/views/SwipeRow/style.js +0 -28
  2125. package/lib/shared/views/SwipeRow/style.js.map +0 -1
  2126. package/lib/shared/views/index.d.ts +0 -27
  2127. package/lib/shared/views/index.js +0 -30
  2128. package/lib/shared/views/index.js.map +0 -1
@@ -1,2078 +0,0 @@
1
- import Duration from "./duration.js";
2
- import Interval from "./interval.js";
3
- import Settings from "./settings.js";
4
- import Info from "./info.js";
5
- import Formatter from "./impl/formatter.js";
6
- import FixedOffsetZone from "./zones/fixedOffsetZone.js";
7
- import Locale from "./impl/locale.js";
8
- import { isUndefined, maybeArray, isDate, isNumber, bestBy, daysInMonth, daysInYear, isLeapYear, weeksInWeekYear, normalizeObject, roundTo, objToLocalTS, padStart, } from "./impl/util.js";
9
- import { normalizeZone } from "./impl/zoneUtil.js";
10
- import diff from "./impl/diff.js";
11
- import { parseRFC2822Date, parseISODate, parseHTTPDate, parseSQL } from "./impl/regexParser.js";
12
- import { parseFromTokens, explainFromTokens, formatOptsToTokens, expandMacroTokens, } from "./impl/tokenParser.js";
13
- import { gregorianToWeek, weekToGregorian, gregorianToOrdinal, ordinalToGregorian, hasInvalidGregorianData, hasInvalidWeekData, hasInvalidOrdinalData, hasInvalidTimeData, usesLocalWeekValues, isoWeekdayToLocal, } from "./impl/conversions.js";
14
- import * as Formats from "./impl/formats.js";
15
- import { InvalidArgumentError, ConflictingSpecificationError, InvalidUnitError, InvalidDateTimeError, } from "./errors.js";
16
- import Invalid from "./impl/invalid.js";
17
- const INVALID = "Invalid DateTime";
18
- const MAX_DATE = 8.64e15;
19
- function unsupportedZone(zone) {
20
- return new Invalid("unsupported zone", `the zone "${zone.name}" is not supported`);
21
- }
22
- // we cache week data on the DT object and this intermediates the cache
23
- /**
24
- * @param {DateTime} dt
25
- */
26
- function possiblyCachedWeekData(dt) {
27
- if (dt.weekData === null) {
28
- dt.weekData = gregorianToWeek(dt.c);
29
- }
30
- return dt.weekData;
31
- }
32
- /**
33
- * @param {DateTime} dt
34
- */
35
- function possiblyCachedLocalWeekData(dt) {
36
- if (dt.localWeekData === null) {
37
- dt.localWeekData = gregorianToWeek(dt.c, dt.loc.getMinDaysInFirstWeek(), dt.loc.getStartOfWeek());
38
- }
39
- return dt.localWeekData;
40
- }
41
- // clone really means, "make a new object with these modifications". all "setters" really use this
42
- // to create a new object while only changing some of the properties
43
- function clone(inst, alts) {
44
- const current = {
45
- ts: inst.ts,
46
- zone: inst.zone,
47
- c: inst.c,
48
- o: inst.o,
49
- loc: inst.loc,
50
- invalid: inst.invalid,
51
- };
52
- return new DateTime(Object.assign(Object.assign(Object.assign({}, current), alts), { old: current }));
53
- }
54
- // find the right offset a given local time. The o input is our guess, which determines which
55
- // offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)
56
- function fixOffset(localTS, o, tz) {
57
- // Our UTC time is just a guess because our offset is just a guess
58
- let utcGuess = localTS - o * 60 * 1000;
59
- // Test whether the zone matches the offset for this ts
60
- const o2 = tz.offset(utcGuess);
61
- // If so, offset didn't change and we're done
62
- if (o === o2) {
63
- return [utcGuess, o];
64
- }
65
- // If not, change the ts by the difference in the offset
66
- utcGuess -= (o2 - o) * 60 * 1000;
67
- // If that gives us the local time we want, we're done
68
- const o3 = tz.offset(utcGuess);
69
- if (o2 === o3) {
70
- return [utcGuess, o2];
71
- }
72
- // If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time
73
- return [localTS - Math.min(o2, o3) * 60 * 1000, Math.max(o2, o3)];
74
- }
75
- // convert an epoch timestamp into a calendar object with the given offset
76
- function tsToObj(ts, offset) {
77
- ts += offset * 60 * 1000;
78
- const d = new Date(ts);
79
- return {
80
- year: d.getUTCFullYear(),
81
- month: d.getUTCMonth() + 1,
82
- day: d.getUTCDate(),
83
- hour: d.getUTCHours(),
84
- minute: d.getUTCMinutes(),
85
- second: d.getUTCSeconds(),
86
- millisecond: d.getUTCMilliseconds(),
87
- };
88
- }
89
- // convert a calendar object to a epoch timestamp
90
- function objToTS(obj, offset, zone) {
91
- return fixOffset(objToLocalTS(obj), offset, zone);
92
- }
93
- // create a new DT instance by adding a duration, adjusting for DSTs
94
- function adjustTime(inst, dur) {
95
- const oPre = inst.o, year = inst.c.year + Math.trunc(dur.years), month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3, c = Object.assign(Object.assign({}, inst.c), { year,
96
- month, day: Math.min(inst.c.day, daysInMonth(year, month)) +
97
- Math.trunc(dur.days) +
98
- Math.trunc(dur.weeks) * 7 }), millisToAdd = Duration.fromObject({
99
- years: dur.years - Math.trunc(dur.years),
100
- quarters: dur.quarters - Math.trunc(dur.quarters),
101
- months: dur.months - Math.trunc(dur.months),
102
- weeks: dur.weeks - Math.trunc(dur.weeks),
103
- days: dur.days - Math.trunc(dur.days),
104
- hours: dur.hours,
105
- minutes: dur.minutes,
106
- seconds: dur.seconds,
107
- milliseconds: dur.milliseconds,
108
- }).as("milliseconds"), localTS = objToLocalTS(c);
109
- let [ts, o] = fixOffset(localTS, oPre, inst.zone);
110
- if (millisToAdd !== 0) {
111
- ts += millisToAdd;
112
- // that could have changed the offset by going over a DST, but we want to keep the ts the same
113
- o = inst.zone.offset(ts);
114
- }
115
- return { ts, o };
116
- }
117
- // helper useful in turning the results of parsing into real dates
118
- // by handling the zone options
119
- function parseDataToDateTime(parsed, parsedZone, opts, format, text, specificOffset) {
120
- const { setZone, zone } = opts;
121
- if ((parsed && Object.keys(parsed).length !== 0) || parsedZone) {
122
- const interpretationZone = parsedZone || zone, inst = DateTime.fromObject(parsed, Object.assign(Object.assign({}, opts), { zone: interpretationZone, specificOffset }));
123
- return setZone ? inst : inst.setZone(zone);
124
- }
125
- else {
126
- return DateTime.invalid(new Invalid("unparsable", `the input "${text}" can't be parsed as ${format}`));
127
- }
128
- }
129
- // if you want to output a technical format (e.g. RFC 2822), this helper
130
- // helps handle the details
131
- function toTechFormat(dt, format, allowZ = true) {
132
- return dt.isValid
133
- ? Formatter.create(Locale.create("en-US"), {
134
- allowZ,
135
- forceSimple: true,
136
- }).formatDateTimeFromString(dt, format)
137
- : null;
138
- }
139
- function toISODate(o, extended) {
140
- const longFormat = o.c.year > 9999 || o.c.year < 0;
141
- let c = "";
142
- if (longFormat && o.c.year >= 0)
143
- c += "+";
144
- c += padStart(o.c.year, longFormat ? 6 : 4);
145
- if (extended) {
146
- c += "-";
147
- c += padStart(o.c.month);
148
- c += "-";
149
- c += padStart(o.c.day);
150
- }
151
- else {
152
- c += padStart(o.c.month);
153
- c += padStart(o.c.day);
154
- }
155
- return c;
156
- }
157
- function toISOTime(o, extended, suppressSeconds, suppressMilliseconds, includeOffset, extendedZone) {
158
- let c = padStart(o.c.hour);
159
- if (extended) {
160
- c += ":";
161
- c += padStart(o.c.minute);
162
- if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
163
- c += ":";
164
- }
165
- }
166
- else {
167
- c += padStart(o.c.minute);
168
- }
169
- if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
170
- c += padStart(o.c.second);
171
- if (o.c.millisecond !== 0 || !suppressMilliseconds) {
172
- c += ".";
173
- c += padStart(o.c.millisecond, 3);
174
- }
175
- }
176
- if (includeOffset) {
177
- if (o.isOffsetFixed && o.offset === 0 && !extendedZone) {
178
- c += "Z";
179
- }
180
- else if (o.o < 0) {
181
- c += "-";
182
- c += padStart(Math.trunc(-o.o / 60));
183
- c += ":";
184
- c += padStart(Math.trunc(-o.o % 60));
185
- }
186
- else {
187
- c += "+";
188
- c += padStart(Math.trunc(o.o / 60));
189
- c += ":";
190
- c += padStart(Math.trunc(o.o % 60));
191
- }
192
- }
193
- if (extendedZone) {
194
- c += "[" + o.zone.ianaName + "]";
195
- }
196
- return c;
197
- }
198
- // defaults for unspecified units in the supported calendars
199
- const defaultUnitValues = {
200
- month: 1,
201
- day: 1,
202
- hour: 0,
203
- minute: 0,
204
- second: 0,
205
- millisecond: 0,
206
- }, defaultWeekUnitValues = {
207
- weekNumber: 1,
208
- weekday: 1,
209
- hour: 0,
210
- minute: 0,
211
- second: 0,
212
- millisecond: 0,
213
- }, defaultOrdinalUnitValues = {
214
- ordinal: 1,
215
- hour: 0,
216
- minute: 0,
217
- second: 0,
218
- millisecond: 0,
219
- };
220
- // Units in the supported calendars, sorted by bigness
221
- const orderedUnits = ["year", "month", "day", "hour", "minute", "second", "millisecond"], orderedWeekUnits = [
222
- "weekYear",
223
- "weekNumber",
224
- "weekday",
225
- "hour",
226
- "minute",
227
- "second",
228
- "millisecond",
229
- ], orderedOrdinalUnits = ["year", "ordinal", "hour", "minute", "second", "millisecond"];
230
- // standardize case and plurality in units
231
- function normalizeUnit(unit) {
232
- const normalized = {
233
- year: "year",
234
- years: "year",
235
- month: "month",
236
- months: "month",
237
- day: "day",
238
- days: "day",
239
- hour: "hour",
240
- hours: "hour",
241
- minute: "minute",
242
- minutes: "minute",
243
- quarter: "quarter",
244
- quarters: "quarter",
245
- second: "second",
246
- seconds: "second",
247
- millisecond: "millisecond",
248
- milliseconds: "millisecond",
249
- weekday: "weekday",
250
- weekdays: "weekday",
251
- weeknumber: "weekNumber",
252
- weeksnumber: "weekNumber",
253
- weeknumbers: "weekNumber",
254
- weekyear: "weekYear",
255
- weekyears: "weekYear",
256
- ordinal: "ordinal",
257
- }[unit.toLowerCase()];
258
- if (!normalized)
259
- throw new InvalidUnitError(unit);
260
- return normalized;
261
- }
262
- function normalizeUnitWithLocalWeeks(unit) {
263
- switch (unit.toLowerCase()) {
264
- case "localweekday":
265
- case "localweekdays":
266
- return "localWeekday";
267
- case "localweeknumber":
268
- case "localweeknumbers":
269
- return "localWeekNumber";
270
- case "localweekyear":
271
- case "localweekyears":
272
- return "localWeekYear";
273
- default:
274
- return normalizeUnit(unit);
275
- }
276
- }
277
- // this is a dumbed down version of fromObject() that runs about 60% faster
278
- // but doesn't do any validation, makes a bunch of assumptions about what units
279
- // are present, and so on.
280
- function quickDT(obj, opts) {
281
- const zone = normalizeZone(opts.zone, Settings.defaultZone), loc = Locale.fromObject(opts), tsNow = Settings.now();
282
- let ts, o;
283
- // assume we have the higher-order units
284
- if (!isUndefined(obj.year)) {
285
- for (const u of orderedUnits) {
286
- if (isUndefined(obj[u])) {
287
- obj[u] = defaultUnitValues[u];
288
- }
289
- }
290
- const invalid = hasInvalidGregorianData(obj) || hasInvalidTimeData(obj);
291
- if (invalid) {
292
- return DateTime.invalid(invalid);
293
- }
294
- const offsetProvis = zone.offset(tsNow);
295
- [ts, o] = objToTS(obj, offsetProvis, zone);
296
- }
297
- else {
298
- ts = tsNow;
299
- }
300
- return new DateTime({ ts, zone, loc, o });
301
- }
302
- function diffRelative(start, end, opts) {
303
- const round = isUndefined(opts.round) ? true : opts.round, format = (c, unit) => {
304
- c = roundTo(c, round || opts.calendary ? 0 : 2, true);
305
- const formatter = end.loc.clone(opts).relFormatter(opts);
306
- return formatter.format(c, unit);
307
- }, differ = (unit) => {
308
- if (opts.calendary) {
309
- if (!end.hasSame(start, unit)) {
310
- return end.startOf(unit).diff(start.startOf(unit), unit).get(unit);
311
- }
312
- else
313
- return 0;
314
- }
315
- else {
316
- return end.diff(start, unit).get(unit);
317
- }
318
- };
319
- if (opts.unit) {
320
- return format(differ(opts.unit), opts.unit);
321
- }
322
- for (const unit of opts.units) {
323
- const count = differ(unit);
324
- if (Math.abs(count) >= 1) {
325
- return format(count, unit);
326
- }
327
- }
328
- return format(start > end ? -0 : 0, opts.units[opts.units.length - 1]);
329
- }
330
- function lastOpts(argList) {
331
- let opts = {}, args;
332
- if (argList.length > 0 && typeof argList[argList.length - 1] === "object") {
333
- opts = argList[argList.length - 1];
334
- args = Array.from(argList).slice(0, argList.length - 1);
335
- }
336
- else {
337
- args = Array.from(argList);
338
- }
339
- return [opts, args];
340
- }
341
- /**
342
- * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.
343
- *
344
- * A DateTime comprises of:
345
- * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.
346
- * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).
347
- * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.
348
- *
349
- * Here is a brief overview of the most commonly used functionality it provides:
350
- *
351
- * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link DateTime.local}, {@link DateTime.utc}, and (most flexibly) {@link DateTime.fromObject}. To create one from a standard string format, use {@link DateTime.fromISO}, {@link DateTime.fromHTTP}, and {@link DateTime.fromRFC2822}. To create one from a custom string format, use {@link DateTime.fromFormat}. To create one from a native JS date, use {@link DateTime.fromJSDate}.
352
- * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link DateTime#toObject}), use the {@link DateTime#year}, {@link DateTime#month},
353
- * {@link DateTime#day}, {@link DateTime#hour}, {@link DateTime#minute}, {@link DateTime#second}, {@link DateTime#millisecond} accessors.
354
- * * **Week calendar**: For ISO week calendar attributes, see the {@link DateTime#weekYear}, {@link DateTime#weekNumber}, and {@link DateTime#weekday} accessors.
355
- * * **Configuration** See the {@link DateTime#locale} and {@link DateTime#numberingSystem} accessors.
356
- * * **Transformation**: To transform the DateTime into other DateTimes, use {@link DateTime#set}, {@link DateTime#reconfigure}, {@link DateTime#setZone}, {@link DateTime#setLocale}, {@link DateTime.plus}, {@link DateTime#minus}, {@link DateTime#endOf}, {@link DateTime#startOf}, {@link DateTime#toUTC}, and {@link DateTime#toLocal}.
357
- * * **Output**: To convert the DateTime to other representations, use the {@link DateTime#toRelative}, {@link DateTime#toRelativeCalendar}, {@link DateTime#toJSON}, {@link DateTime#toISO}, {@link DateTime#toHTTP}, {@link DateTime#toObject}, {@link DateTime#toRFC2822}, {@link DateTime#toString}, {@link DateTime#toLocaleString}, {@link DateTime#toFormat}, {@link DateTime#toMillis} and {@link DateTime#toJSDate}.
358
- *
359
- * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.
360
- */
361
- export default class DateTime {
362
- /**
363
- * @access private
364
- */
365
- constructor(config) {
366
- const zone = config.zone || Settings.defaultZone;
367
- let invalid = config.invalid ||
368
- (Number.isNaN(config.ts) ? new Invalid("invalid input") : null) ||
369
- (!zone.isValid ? unsupportedZone(zone) : null);
370
- /**
371
- * @access private
372
- */
373
- this.ts = isUndefined(config.ts) ? Settings.now() : config.ts;
374
- let c = null, o = null;
375
- if (!invalid) {
376
- const unchanged = config.old && config.old.ts === this.ts && config.old.zone.equals(zone);
377
- if (unchanged) {
378
- [c, o] = [config.old.c, config.old.o];
379
- }
380
- else {
381
- const ot = zone.offset(this.ts);
382
- c = tsToObj(this.ts, ot);
383
- invalid = Number.isNaN(c.year) ? new Invalid("invalid input") : null;
384
- c = invalid ? null : c;
385
- o = invalid ? null : ot;
386
- }
387
- }
388
- /**
389
- * @access private
390
- */
391
- this._zone = zone;
392
- /**
393
- * @access private
394
- */
395
- this.loc = config.loc || Locale.create();
396
- /**
397
- * @access private
398
- */
399
- this.invalid = invalid;
400
- /**
401
- * @access private
402
- */
403
- this.weekData = null;
404
- /**
405
- * @access private
406
- */
407
- this.localWeekData = null;
408
- /**
409
- * @access private
410
- */
411
- this.c = c;
412
- /**
413
- * @access private
414
- */
415
- this.o = o;
416
- /**
417
- * @access private
418
- */
419
- this.isLuxonDateTime = true;
420
- }
421
- // CONSTRUCT
422
- /**
423
- * Create a DateTime for the current instant, in the system's time zone.
424
- *
425
- * Use Settings to override these default values if needed.
426
- * @example DateTime.now().toISO() //~> now in the ISO format
427
- * @return {DateTime}
428
- */
429
- static now() {
430
- return new DateTime({});
431
- }
432
- /**
433
- * Create a local DateTime
434
- * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
435
- * @param {number} [month=1] - The month, 1-indexed
436
- * @param {number} [day=1] - The day of the month, 1-indexed
437
- * @param {number} [hour=0] - The hour of the day, in 24-hour time
438
- * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
439
- * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
440
- * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
441
- * @example DateTime.local() //~> now
442
- * @example DateTime.local({ zone: "America/New_York" }) //~> now, in US east coast time
443
- * @example DateTime.local(2017) //~> 2017-01-01T00:00:00
444
- * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00
445
- * @example DateTime.local(2017, 3, 12, { locale: "fr" }) //~> 2017-03-12T00:00:00, with a French locale
446
- * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00
447
- * @example DateTime.local(2017, 3, 12, 5, { zone: "utc" }) //~> 2017-03-12T05:00:00, in UTC
448
- * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00
449
- * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10
450
- * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765
451
- * @return {DateTime}
452
- */
453
- static local() {
454
- const [opts, args] = lastOpts(arguments), [year, month, day, hour, minute, second, millisecond] = args;
455
- return quickDT({ year, month, day, hour, minute, second, millisecond }, opts);
456
- }
457
- /**
458
- * Create a DateTime in UTC
459
- * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
460
- * @param {number} [month=1] - The month, 1-indexed
461
- * @param {number} [day=1] - The day of the month
462
- * @param {number} [hour=0] - The hour of the day, in 24-hour time
463
- * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
464
- * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
465
- * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
466
- * @param {Object} options - configuration options for the DateTime
467
- * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
468
- * @param {string} [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
469
- * @param {string} [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
470
- * @example DateTime.utc() //~> now
471
- * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z
472
- * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z
473
- * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z
474
- * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z
475
- * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z
476
- * @example DateTime.utc(2017, 3, 12, 5, 45, { locale: "fr" }) //~> 2017-03-12T05:45:00Z with a French locale
477
- * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z
478
- * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765, { locale: "fr" }) //~> 2017-03-12T05:45:10.765Z with a French locale
479
- * @return {DateTime}
480
- */
481
- static utc() {
482
- const [opts, args] = lastOpts(arguments), [year, month, day, hour, minute, second, millisecond] = args;
483
- opts.zone = FixedOffsetZone.utcInstance;
484
- return quickDT({ year, month, day, hour, minute, second, millisecond }, opts);
485
- }
486
- /**
487
- * Create a DateTime from a JavaScript Date object. Uses the default zone.
488
- * @param {Date} date - a JavaScript Date object
489
- * @param {Object} options - configuration options for the DateTime
490
- * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
491
- * @return {DateTime}
492
- */
493
- static fromJSDate(date, options = {}) {
494
- const ts = isDate(date) ? date.valueOf() : NaN;
495
- if (Number.isNaN(ts)) {
496
- return DateTime.invalid("invalid input");
497
- }
498
- const zoneToUse = normalizeZone(options.zone, Settings.defaultZone);
499
- if (!zoneToUse.isValid) {
500
- return DateTime.invalid(unsupportedZone(zoneToUse));
501
- }
502
- return new DateTime({
503
- ts: ts,
504
- zone: zoneToUse,
505
- loc: Locale.fromObject(options),
506
- });
507
- }
508
- /**
509
- * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
510
- * @param {number} milliseconds - a number of milliseconds since 1970 UTC
511
- * @param {Object} options - configuration options for the DateTime
512
- * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
513
- * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
514
- * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
515
- * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
516
- * @return {DateTime}
517
- */
518
- static fromMillis(milliseconds, options = {}) {
519
- if (!isNumber(milliseconds)) {
520
- throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof milliseconds} with value ${milliseconds}`);
521
- }
522
- else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) {
523
- // this isn't perfect because because we can still end up out of range because of additional shifting, but it's a start
524
- return DateTime.invalid("Timestamp out of range");
525
- }
526
- else {
527
- return new DateTime({
528
- ts: milliseconds,
529
- zone: normalizeZone(options.zone, Settings.defaultZone),
530
- loc: Locale.fromObject(options),
531
- });
532
- }
533
- }
534
- /**
535
- * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
536
- * @param {number} seconds - a number of seconds since 1970 UTC
537
- * @param {Object} options - configuration options for the DateTime
538
- * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
539
- * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
540
- * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
541
- * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
542
- * @return {DateTime}
543
- */
544
- static fromSeconds(seconds, options = {}) {
545
- if (!isNumber(seconds)) {
546
- throw new InvalidArgumentError("fromSeconds requires a numerical input");
547
- }
548
- else {
549
- return new DateTime({
550
- ts: seconds * 1000,
551
- zone: normalizeZone(options.zone, Settings.defaultZone),
552
- loc: Locale.fromObject(options),
553
- });
554
- }
555
- }
556
- /**
557
- * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
558
- * @param {Object} obj - the object to create the DateTime from
559
- * @param {number} obj.year - a year, such as 1987
560
- * @param {number} obj.month - a month, 1-12
561
- * @param {number} obj.day - a day of the month, 1-31, depending on the month
562
- * @param {number} obj.ordinal - day of the year, 1-365 or 366
563
- * @param {number} obj.weekYear - an ISO week year
564
- * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
565
- * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
566
- * @param {number} obj.localWeekYear - a week year, according to the locale
567
- * @param {number} obj.localWeekNumber - a week number, between 1 and 52 or 53, depending on the year, according to the locale
568
- * @param {number} obj.localWeekday - a weekday, 1-7, where 1 is the first and 7 is the last day of the week, according to the locale
569
- * @param {number} obj.hour - hour of the day, 0-23
570
- * @param {number} obj.minute - minute of the hour, 0-59
571
- * @param {number} obj.second - second of the minute, 0-59
572
- * @param {number} obj.millisecond - millisecond of the second, 0-999
573
- * @param {Object} opts - options for creating this DateTime
574
- * @param {string|Zone} [opts.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
575
- * @param {string} [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
576
- * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
577
- * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
578
- * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
579
- * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
580
- * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
581
- * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'utc' }),
582
- * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'local' })
583
- * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'America/New_York' })
584
- * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
585
- * @example DateTime.fromObject({ localWeekYear: 2022, localWeekNumber: 1, localWeekday: 1 }, { locale: "en-US" }).toISODate() //=> '2021-12-26'
586
- * @return {DateTime}
587
- */
588
- static fromObject(obj, opts = {}) {
589
- obj = obj || {};
590
- const zoneToUse = normalizeZone(opts.zone, Settings.defaultZone);
591
- if (!zoneToUse.isValid) {
592
- return DateTime.invalid(unsupportedZone(zoneToUse));
593
- }
594
- const loc = Locale.fromObject(opts);
595
- const normalized = normalizeObject(obj, normalizeUnitWithLocalWeeks);
596
- const { minDaysInFirstWeek, startOfWeek } = usesLocalWeekValues(normalized, loc);
597
- const tsNow = Settings.now(), offsetProvis = !isUndefined(opts.specificOffset)
598
- ? opts.specificOffset
599
- : zoneToUse.offset(tsNow), containsOrdinal = !isUndefined(normalized.ordinal), containsGregorYear = !isUndefined(normalized.year), containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber;
600
- // cases:
601
- // just a weekday -> this week's instance of that weekday, no worries
602
- // (gregorian data or ordinal) + (weekYear or weekNumber) -> error
603
- // (gregorian month or day) + ordinal -> error
604
- // otherwise just use weeks or ordinals or gregorian, depending on what's specified
605
- if ((containsGregor || containsOrdinal) && definiteWeekDef) {
606
- throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
607
- }
608
- if (containsGregorMD && containsOrdinal) {
609
- throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");
610
- }
611
- const useWeekData = definiteWeekDef || (normalized.weekday && !containsGregor);
612
- // configure ourselves to deal with gregorian dates or week stuff
613
- let units, defaultValues, objNow = tsToObj(tsNow, offsetProvis);
614
- if (useWeekData) {
615
- units = orderedWeekUnits;
616
- defaultValues = defaultWeekUnitValues;
617
- objNow = gregorianToWeek(objNow, minDaysInFirstWeek, startOfWeek);
618
- }
619
- else if (containsOrdinal) {
620
- units = orderedOrdinalUnits;
621
- defaultValues = defaultOrdinalUnitValues;
622
- objNow = gregorianToOrdinal(objNow);
623
- }
624
- else {
625
- units = orderedUnits;
626
- defaultValues = defaultUnitValues;
627
- }
628
- // set default values for missing stuff
629
- let foundFirst = false;
630
- for (const u of units) {
631
- const v = normalized[u];
632
- if (!isUndefined(v)) {
633
- foundFirst = true;
634
- }
635
- else if (foundFirst) {
636
- normalized[u] = defaultValues[u];
637
- }
638
- else {
639
- normalized[u] = objNow[u];
640
- }
641
- }
642
- // make sure the values we have are in range
643
- const higherOrderInvalid = useWeekData
644
- ? hasInvalidWeekData(normalized, minDaysInFirstWeek, startOfWeek)
645
- : containsOrdinal
646
- ? hasInvalidOrdinalData(normalized)
647
- : hasInvalidGregorianData(normalized), invalid = higherOrderInvalid || hasInvalidTimeData(normalized);
648
- if (invalid) {
649
- return DateTime.invalid(invalid);
650
- }
651
- // compute the actual time
652
- const gregorian = useWeekData
653
- ? weekToGregorian(normalized, minDaysInFirstWeek, startOfWeek)
654
- : containsOrdinal
655
- ? ordinalToGregorian(normalized)
656
- : normalized, [tsFinal, offsetFinal] = objToTS(gregorian, offsetProvis, zoneToUse), inst = new DateTime({
657
- ts: tsFinal,
658
- zone: zoneToUse,
659
- o: offsetFinal,
660
- loc,
661
- });
662
- // gregorian data + weekday serves only to validate
663
- if (normalized.weekday && containsGregor && obj.weekday !== inst.weekday) {
664
- return DateTime.invalid("mismatched weekday", `you can't specify both a weekday of ${normalized.weekday} and a date of ${inst.toISO()}`);
665
- }
666
- return inst;
667
- }
668
- /**
669
- * Create a DateTime from an ISO 8601 string
670
- * @param {string} text - the ISO string
671
- * @param {Object} opts - options to affect the creation
672
- * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
673
- * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
674
- * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
675
- * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
676
- * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
677
- * @example DateTime.fromISO('2016-05-25T09:08:34.123')
678
- * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
679
- * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
680
- * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
681
- * @example DateTime.fromISO('2016-W05-4')
682
- * @return {DateTime}
683
- */
684
- static fromISO(text, opts = {}) {
685
- const [vals, parsedZone] = parseISODate(text);
686
- return parseDataToDateTime(vals, parsedZone, opts, "ISO 8601", text);
687
- }
688
- /**
689
- * Create a DateTime from an RFC 2822 string
690
- * @param {string} text - the RFC 2822 string
691
- * @param {Object} opts - options to affect the creation
692
- * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
693
- * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
694
- * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
695
- * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
696
- * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
697
- * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
698
- * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
699
- * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
700
- * @return {DateTime}
701
- */
702
- static fromRFC2822(text, opts = {}) {
703
- const [vals, parsedZone] = parseRFC2822Date(text);
704
- return parseDataToDateTime(vals, parsedZone, opts, "RFC 2822", text);
705
- }
706
- /**
707
- * Create a DateTime from an HTTP header date
708
- * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
709
- * @param {string} text - the HTTP header date
710
- * @param {Object} opts - options to affect the creation
711
- * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
712
- * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
713
- * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
714
- * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
715
- * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
716
- * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
717
- * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
718
- * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
719
- * @return {DateTime}
720
- */
721
- static fromHTTP(text, opts = {}) {
722
- const [vals, parsedZone] = parseHTTPDate(text);
723
- return parseDataToDateTime(vals, parsedZone, opts, "HTTP", opts);
724
- }
725
- /**
726
- * Create a DateTime from an input string and format string.
727
- * Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
728
- * @param {string} text - the string to parse
729
- * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
730
- * @param {Object} opts - options to affect the creation
731
- * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
732
- * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
733
- * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
734
- * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
735
- * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
736
- * @return {DateTime}
737
- */
738
- static fromFormat(text, fmt, opts = {}) {
739
- if (isUndefined(text) || isUndefined(fmt)) {
740
- throw new InvalidArgumentError("fromFormat requires an input string and a format");
741
- }
742
- const { locale = null, numberingSystem = null } = opts, localeToUse = Locale.fromOpts({
743
- locale,
744
- numberingSystem,
745
- defaultToEN: true,
746
- }), [vals, parsedZone, specificOffset, invalid] = parseFromTokens(localeToUse, text, fmt);
747
- if (invalid) {
748
- return DateTime.invalid(invalid);
749
- }
750
- else {
751
- return parseDataToDateTime(vals, parsedZone, opts, `format ${fmt}`, text, specificOffset);
752
- }
753
- }
754
- /**
755
- * @deprecated use fromFormat instead
756
- */
757
- static fromString(text, fmt, opts = {}) {
758
- return DateTime.fromFormat(text, fmt, opts);
759
- }
760
- /**
761
- * Create a DateTime from a SQL date, time, or datetime
762
- * Defaults to en-US if no locale has been specified, regardless of the system's locale
763
- * @param {string} text - the string to parse
764
- * @param {Object} opts - options to affect the creation
765
- * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
766
- * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
767
- * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
768
- * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
769
- * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
770
- * @example DateTime.fromSQL('2017-05-15')
771
- * @example DateTime.fromSQL('2017-05-15 09:12:34')
772
- * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
773
- * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
774
- * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
775
- * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
776
- * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
777
- * @example DateTime.fromSQL('09:12:34.342')
778
- * @return {DateTime}
779
- */
780
- static fromSQL(text, opts = {}) {
781
- const [vals, parsedZone] = parseSQL(text);
782
- return parseDataToDateTime(vals, parsedZone, opts, "SQL", text);
783
- }
784
- /**
785
- * Create an invalid DateTime.
786
- * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
787
- * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
788
- * @return {DateTime}
789
- */
790
- static invalid(reason, explanation = null) {
791
- if (!reason) {
792
- throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");
793
- }
794
- const invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);
795
- if (Settings.throwOnInvalid) {
796
- throw new InvalidDateTimeError(invalid);
797
- }
798
- else {
799
- return new DateTime({ invalid });
800
- }
801
- }
802
- /**
803
- * Check if an object is an instance of DateTime. Works across context boundaries
804
- * @param {object} o
805
- * @return {boolean}
806
- */
807
- static isDateTime(o) {
808
- return (o && o.isLuxonDateTime) || false;
809
- }
810
- /**
811
- * Produce the format string for a set of options
812
- * @param formatOpts
813
- * @param localeOpts
814
- * @returns {string}
815
- */
816
- static parseFormatForOpts(formatOpts, localeOpts = {}) {
817
- const tokenList = formatOptsToTokens(formatOpts, Locale.fromObject(localeOpts));
818
- return !tokenList ? null : tokenList.map((t) => (t ? t.val : null)).join("");
819
- }
820
- /**
821
- * Produce the the fully expanded format token for the locale
822
- * Does NOT quote characters, so quoted tokens will not round trip correctly
823
- * @param fmt
824
- * @param localeOpts
825
- * @returns {string}
826
- */
827
- static expandFormat(fmt, localeOpts = {}) {
828
- const expanded = expandMacroTokens(Formatter.parseFormat(fmt), Locale.fromObject(localeOpts));
829
- return expanded.map((t) => t.val).join("");
830
- }
831
- // INFO
832
- /**
833
- * Get the value of unit.
834
- * @param {string} unit - a unit such as 'minute' or 'day'
835
- * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
836
- * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
837
- * @return {number}
838
- */
839
- get(unit) {
840
- return this[unit];
841
- }
842
- /**
843
- * Returns whether the DateTime is valid. Invalid DateTimes occur when:
844
- * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
845
- * * The DateTime was created by an operation on another invalid date
846
- * @type {boolean}
847
- */
848
- get isValid() {
849
- return this.invalid === null;
850
- }
851
- /**
852
- * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
853
- * @type {string}
854
- */
855
- get invalidReason() {
856
- return this.invalid ? this.invalid.reason : null;
857
- }
858
- /**
859
- * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
860
- * @type {string}
861
- */
862
- get invalidExplanation() {
863
- return this.invalid ? this.invalid.explanation : null;
864
- }
865
- /**
866
- * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
867
- *
868
- * @type {string}
869
- */
870
- get locale() {
871
- return this.isValid ? this.loc.locale : null;
872
- }
873
- /**
874
- * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
875
- *
876
- * @type {string}
877
- */
878
- get numberingSystem() {
879
- return this.isValid ? this.loc.numberingSystem : null;
880
- }
881
- /**
882
- * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
883
- *
884
- * @type {string}
885
- */
886
- get outputCalendar() {
887
- return this.isValid ? this.loc.outputCalendar : null;
888
- }
889
- /**
890
- * Get the time zone associated with this DateTime.
891
- * @type {Zone}
892
- */
893
- get zone() {
894
- return this._zone;
895
- }
896
- /**
897
- * Get the name of the time zone.
898
- * @type {string}
899
- */
900
- get zoneName() {
901
- return this.isValid ? this.zone.name : null;
902
- }
903
- /**
904
- * Get the year
905
- * @example DateTime.local(2017, 5, 25).year //=> 2017
906
- * @type {number}
907
- */
908
- get year() {
909
- return this.isValid ? this.c.year : NaN;
910
- }
911
- /**
912
- * Get the quarter
913
- * @example DateTime.local(2017, 5, 25).quarter //=> 2
914
- * @type {number}
915
- */
916
- get quarter() {
917
- return this.isValid ? Math.ceil(this.c.month / 3) : NaN;
918
- }
919
- /**
920
- * Get the month (1-12).
921
- * @example DateTime.local(2017, 5, 25).month //=> 5
922
- * @type {number}
923
- */
924
- get month() {
925
- return this.isValid ? this.c.month : NaN;
926
- }
927
- /**
928
- * Get the day of the month (1-30ish).
929
- * @example DateTime.local(2017, 5, 25).day //=> 25
930
- * @type {number}
931
- */
932
- get day() {
933
- return this.isValid ? this.c.day : NaN;
934
- }
935
- /**
936
- * Get the hour of the day (0-23).
937
- * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
938
- * @type {number}
939
- */
940
- get hour() {
941
- return this.isValid ? this.c.hour : NaN;
942
- }
943
- /**
944
- * Get the minute of the hour (0-59).
945
- * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
946
- * @type {number}
947
- */
948
- get minute() {
949
- return this.isValid ? this.c.minute : NaN;
950
- }
951
- /**
952
- * Get the second of the minute (0-59).
953
- * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
954
- * @type {number}
955
- */
956
- get second() {
957
- return this.isValid ? this.c.second : NaN;
958
- }
959
- /**
960
- * Get the millisecond of the second (0-999).
961
- * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
962
- * @type {number}
963
- */
964
- get millisecond() {
965
- return this.isValid ? this.c.millisecond : NaN;
966
- }
967
- /**
968
- * Get the week year
969
- * @see https://en.wikipedia.org/wiki/ISO_week_date
970
- * @example DateTime.local(2014, 12, 31).weekYear //=> 2015
971
- * @type {number}
972
- */
973
- get weekYear() {
974
- return this.isValid ? possiblyCachedWeekData(this).weekYear : NaN;
975
- }
976
- /**
977
- * Get the week number of the week year (1-52ish).
978
- * @see https://en.wikipedia.org/wiki/ISO_week_date
979
- * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
980
- * @type {number}
981
- */
982
- get weekNumber() {
983
- return this.isValid ? possiblyCachedWeekData(this).weekNumber : NaN;
984
- }
985
- /**
986
- * Get the day of the week.
987
- * 1 is Monday and 7 is Sunday
988
- * @see https://en.wikipedia.org/wiki/ISO_week_date
989
- * @example DateTime.local(2014, 11, 31).weekday //=> 4
990
- * @type {number}
991
- */
992
- get weekday() {
993
- return this.isValid ? possiblyCachedWeekData(this).weekday : NaN;
994
- }
995
- /**
996
- * Returns true if this date is on a weekend according to the locale, false otherwise
997
- * @returns {boolean}
998
- */
999
- get isWeekend() {
1000
- return this.isValid && this.loc.getWeekendDays().includes(this.weekday);
1001
- }
1002
- /**
1003
- * Get the day of the week according to the locale.
1004
- * 1 is the first day of the week and 7 is the last day of the week.
1005
- * If the locale assigns Sunday as the first day of the week, then a date which is a Sunday will return 1,
1006
- * @returns {number}
1007
- */
1008
- get localWeekday() {
1009
- return this.isValid ? possiblyCachedLocalWeekData(this).weekday : NaN;
1010
- }
1011
- /**
1012
- * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
1013
- * because the week can start on different days of the week (see localWeekday) and because a different number of days
1014
- * is required for a week to count as the first week of a year.
1015
- * @returns {number}
1016
- */
1017
- get localWeekNumber() {
1018
- return this.isValid ? possiblyCachedLocalWeekData(this).weekNumber : NaN;
1019
- }
1020
- /**
1021
- * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
1022
- * differently, see localWeekNumber.
1023
- * @returns {number}
1024
- */
1025
- get localWeekYear() {
1026
- return this.isValid ? possiblyCachedLocalWeekData(this).weekYear : NaN;
1027
- }
1028
- /**
1029
- * Get the ordinal (meaning the day of the year)
1030
- * @example DateTime.local(2017, 5, 25).ordinal //=> 145
1031
- * @type {number|DateTime}
1032
- */
1033
- get ordinal() {
1034
- return this.isValid ? gregorianToOrdinal(this.c).ordinal : NaN;
1035
- }
1036
- /**
1037
- * Get the human readable short month name, such as 'Oct'.
1038
- * Defaults to the system's locale if no locale has been specified
1039
- * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
1040
- * @type {string}
1041
- */
1042
- get monthShort() {
1043
- return this.isValid ? Info.months("short", { locObj: this.loc })[this.month - 1] : null;
1044
- }
1045
- /**
1046
- * Get the human readable long month name, such as 'October'.
1047
- * Defaults to the system's locale if no locale has been specified
1048
- * @example DateTime.local(2017, 10, 30).monthLong //=> October
1049
- * @type {string}
1050
- */
1051
- get monthLong() {
1052
- return this.isValid ? Info.months("long", { locObj: this.loc })[this.month - 1] : null;
1053
- }
1054
- /**
1055
- * Get the human readable short weekday, such as 'Mon'.
1056
- * Defaults to the system's locale if no locale has been specified
1057
- * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
1058
- * @type {string}
1059
- */
1060
- get weekdayShort() {
1061
- return this.isValid ? Info.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null;
1062
- }
1063
- /**
1064
- * Get the human readable long weekday, such as 'Monday'.
1065
- * Defaults to the system's locale if no locale has been specified
1066
- * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
1067
- * @type {string}
1068
- */
1069
- get weekdayLong() {
1070
- return this.isValid ? Info.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null;
1071
- }
1072
- /**
1073
- * Get the UTC offset of this DateTime in minutes
1074
- * @example DateTime.now().offset //=> -240
1075
- * @example DateTime.utc().offset //=> 0
1076
- * @type {number}
1077
- */
1078
- get offset() {
1079
- return this.isValid ? +this.o : NaN;
1080
- }
1081
- /**
1082
- * Get the short human name for the zone's current offset, for example "EST" or "EDT".
1083
- * Defaults to the system's locale if no locale has been specified
1084
- * @type {string}
1085
- */
1086
- get offsetNameShort() {
1087
- if (this.isValid) {
1088
- return this.zone.offsetName(this.ts, {
1089
- format: "short",
1090
- locale: this.locale,
1091
- });
1092
- }
1093
- else {
1094
- return null;
1095
- }
1096
- }
1097
- /**
1098
- * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
1099
- * Defaults to the system's locale if no locale has been specified
1100
- * @type {string}
1101
- */
1102
- get offsetNameLong() {
1103
- if (this.isValid) {
1104
- return this.zone.offsetName(this.ts, {
1105
- format: "long",
1106
- locale: this.locale,
1107
- });
1108
- }
1109
- else {
1110
- return null;
1111
- }
1112
- }
1113
- /**
1114
- * Get whether this zone's offset ever changes, as in a DST.
1115
- * @type {boolean}
1116
- */
1117
- get isOffsetFixed() {
1118
- return this.isValid ? this.zone.isUniversal : null;
1119
- }
1120
- /**
1121
- * Get whether the DateTime is in a DST.
1122
- * @type {boolean}
1123
- */
1124
- get isInDST() {
1125
- if (this.isOffsetFixed) {
1126
- return false;
1127
- }
1128
- else {
1129
- return (this.offset > this.set({ month: 1, day: 1 }).offset ||
1130
- this.offset > this.set({ month: 5 }).offset);
1131
- }
1132
- }
1133
- /**
1134
- * Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
1135
- * in this DateTime's zone. During DST changes local time can be ambiguous, for example
1136
- * `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
1137
- * This method will return both possible DateTimes if this DateTime's local time is ambiguous.
1138
- * @returns {DateTime[]}
1139
- */
1140
- getPossibleOffsets() {
1141
- if (!this.isValid || this.isOffsetFixed) {
1142
- return [this];
1143
- }
1144
- const dayMs = 86400000;
1145
- const minuteMs = 60000;
1146
- const localTS = objToLocalTS(this.c);
1147
- const oEarlier = this.zone.offset(localTS - dayMs);
1148
- const oLater = this.zone.offset(localTS + dayMs);
1149
- const o1 = this.zone.offset(localTS - oEarlier * minuteMs);
1150
- const o2 = this.zone.offset(localTS - oLater * minuteMs);
1151
- if (o1 === o2) {
1152
- return [this];
1153
- }
1154
- const ts1 = localTS - o1 * minuteMs;
1155
- const ts2 = localTS - o2 * minuteMs;
1156
- const c1 = tsToObj(ts1, o1);
1157
- const c2 = tsToObj(ts2, o2);
1158
- if (c1.hour === c2.hour &&
1159
- c1.minute === c2.minute &&
1160
- c1.second === c2.second &&
1161
- c1.millisecond === c2.millisecond) {
1162
- return [clone(this, { ts: ts1 }), clone(this, { ts: ts2 })];
1163
- }
1164
- return [this];
1165
- }
1166
- /**
1167
- * Returns true if this DateTime is in a leap year, false otherwise
1168
- * @example DateTime.local(2016).isInLeapYear //=> true
1169
- * @example DateTime.local(2013).isInLeapYear //=> false
1170
- * @type {boolean}
1171
- */
1172
- get isInLeapYear() {
1173
- return isLeapYear(this.year);
1174
- }
1175
- /**
1176
- * Returns the number of days in this DateTime's month
1177
- * @example DateTime.local(2016, 2).daysInMonth //=> 29
1178
- * @example DateTime.local(2016, 3).daysInMonth //=> 31
1179
- * @type {number}
1180
- */
1181
- get daysInMonth() {
1182
- return daysInMonth(this.year, this.month);
1183
- }
1184
- /**
1185
- * Returns the number of days in this DateTime's year
1186
- * @example DateTime.local(2016).daysInYear //=> 366
1187
- * @example DateTime.local(2013).daysInYear //=> 365
1188
- * @type {number}
1189
- */
1190
- get daysInYear() {
1191
- return this.isValid ? daysInYear(this.year) : NaN;
1192
- }
1193
- /**
1194
- * Returns the number of weeks in this DateTime's year
1195
- * @see https://en.wikipedia.org/wiki/ISO_week_date
1196
- * @example DateTime.local(2004).weeksInWeekYear //=> 53
1197
- * @example DateTime.local(2013).weeksInWeekYear //=> 52
1198
- * @type {number}
1199
- */
1200
- get weeksInWeekYear() {
1201
- return this.isValid ? weeksInWeekYear(this.weekYear) : NaN;
1202
- }
1203
- /**
1204
- * Returns the number of weeks in this DateTime's local week year
1205
- * @example DateTime.local(2020, 6, {locale: 'en-US'}).weeksInLocalWeekYear //=> 52
1206
- * @example DateTime.local(2020, 6, {locale: 'de-DE'}).weeksInLocalWeekYear //=> 53
1207
- * @type {number}
1208
- */
1209
- get weeksInLocalWeekYear() {
1210
- return this.isValid
1211
- ? weeksInWeekYear(this.localWeekYear, this.loc.getMinDaysInFirstWeek(), this.loc.getStartOfWeek())
1212
- : NaN;
1213
- }
1214
- /**
1215
- * Returns the resolved Intl options for this DateTime.
1216
- * This is useful in understanding the behavior of formatting methods
1217
- * @param {Object} opts - the same options as toLocaleString
1218
- * @return {Object}
1219
- */
1220
- resolvedLocaleOptions(opts = {}) {
1221
- const { locale, numberingSystem, calendar } = Formatter.create(this.loc.clone(opts), opts).resolvedOptions(this);
1222
- return { locale, numberingSystem, outputCalendar: calendar };
1223
- }
1224
- // TRANSFORM
1225
- /**
1226
- * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
1227
- *
1228
- * Equivalent to {@link DateTime#setZone}('utc')
1229
- * @param {number} [offset=0] - optionally, an offset from UTC in minutes
1230
- * @param {Object} [opts={}] - options to pass to `setZone()`
1231
- * @return {DateTime}
1232
- */
1233
- toUTC(offset = 0, opts = {}) {
1234
- return this.setZone(FixedOffsetZone.instance(offset), opts);
1235
- }
1236
- /**
1237
- * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
1238
- *
1239
- * Equivalent to `setZone('local')`
1240
- * @return {DateTime}
1241
- */
1242
- toLocal() {
1243
- return this.setZone(Settings.defaultZone);
1244
- }
1245
- /**
1246
- * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
1247
- *
1248
- * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link DateTime#plus}. You may wish to use {@link DateTime#toLocal} and {@link DateTime#toUTC} which provide simple convenience wrappers for commonly used zones.
1249
- * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link DateTime#Zone} class.
1250
- * @param {Object} opts - options
1251
- * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
1252
- * @return {DateTime}
1253
- */
1254
- setZone(zone, { keepLocalTime = false, keepCalendarTime = false } = {}) {
1255
- zone = normalizeZone(zone, Settings.defaultZone);
1256
- if (zone.equals(this.zone)) {
1257
- return this;
1258
- }
1259
- else if (!zone.isValid) {
1260
- return DateTime.invalid(unsupportedZone(zone));
1261
- }
1262
- else {
1263
- let newTS = this.ts;
1264
- if (keepLocalTime || keepCalendarTime) {
1265
- const offsetGuess = zone.offset(this.ts);
1266
- const asObj = this.toObject();
1267
- [newTS] = objToTS(asObj, offsetGuess, zone);
1268
- }
1269
- return clone(this, { ts: newTS, zone });
1270
- }
1271
- }
1272
- /**
1273
- * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
1274
- * @param {Object} properties - the properties to set
1275
- * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
1276
- * @return {DateTime}
1277
- */
1278
- reconfigure({ locale, numberingSystem, outputCalendar } = {}) {
1279
- const loc = this.loc.clone({ locale, numberingSystem, outputCalendar });
1280
- return clone(this, { loc });
1281
- }
1282
- /**
1283
- * "Set" the locale. Returns a newly-constructed DateTime.
1284
- * Just a convenient alias for reconfigure({ locale })
1285
- * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
1286
- * @return {DateTime}
1287
- */
1288
- setLocale(locale) {
1289
- return this.reconfigure({ locale });
1290
- }
1291
- /**
1292
- * "Set" the values of specified units. Returns a newly-constructed DateTime.
1293
- * You can only set units with this method; for "setting" metadata, see {@link DateTime#reconfigure} and {@link DateTime#setZone}.
1294
- *
1295
- * This method also supports setting locale-based week units, i.e. `localWeekday`, `localWeekNumber` and `localWeekYear`.
1296
- * They cannot be mixed with ISO-week units like `weekday`.
1297
- * @param {Object} values - a mapping of units to numbers
1298
- * @example dt.set({ year: 2017 })
1299
- * @example dt.set({ hour: 8, minute: 30 })
1300
- * @example dt.set({ weekday: 5 })
1301
- * @example dt.set({ year: 2005, ordinal: 234 })
1302
- * @return {DateTime}
1303
- */
1304
- set(values) {
1305
- if (!this.isValid)
1306
- return this;
1307
- const normalized = normalizeObject(values, normalizeUnitWithLocalWeeks);
1308
- const { minDaysInFirstWeek, startOfWeek } = usesLocalWeekValues(normalized, this.loc);
1309
- const settingWeekStuff = !isUndefined(normalized.weekYear) ||
1310
- !isUndefined(normalized.weekNumber) ||
1311
- !isUndefined(normalized.weekday), containsOrdinal = !isUndefined(normalized.ordinal), containsGregorYear = !isUndefined(normalized.year), containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber;
1312
- if ((containsGregor || containsOrdinal) && definiteWeekDef) {
1313
- throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
1314
- }
1315
- if (containsGregorMD && containsOrdinal) {
1316
- throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");
1317
- }
1318
- let mixed;
1319
- if (settingWeekStuff) {
1320
- mixed = weekToGregorian(Object.assign(Object.assign({}, gregorianToWeek(this.c, minDaysInFirstWeek, startOfWeek)), normalized), minDaysInFirstWeek, startOfWeek);
1321
- }
1322
- else if (!isUndefined(normalized.ordinal)) {
1323
- mixed = ordinalToGregorian(Object.assign(Object.assign({}, gregorianToOrdinal(this.c)), normalized));
1324
- }
1325
- else {
1326
- mixed = Object.assign(Object.assign({}, this.toObject()), normalized);
1327
- // if we didn't set the day but we ended up on an overflow date,
1328
- // use the last day of the right month
1329
- if (isUndefined(normalized.day)) {
1330
- mixed.day = Math.min(daysInMonth(mixed.year, mixed.month), mixed.day);
1331
- }
1332
- }
1333
- const [ts, o] = objToTS(mixed, this.o, this.zone);
1334
- return clone(this, { ts, o });
1335
- }
1336
- /**
1337
- * Add a period of time to this DateTime and return the resulting DateTime
1338
- *
1339
- * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
1340
- * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
1341
- * @example DateTime.now().plus(123) //~> in 123 milliseconds
1342
- * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes
1343
- * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow
1344
- * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday
1345
- * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
1346
- * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
1347
- * @return {DateTime}
1348
- */
1349
- plus(duration) {
1350
- if (!this.isValid)
1351
- return this;
1352
- const dur = Duration.fromDurationLike(duration);
1353
- return clone(this, adjustTime(this, dur));
1354
- }
1355
- /**
1356
- * Subtract a period of time to this DateTime and return the resulting DateTime
1357
- * See {@link DateTime#plus}
1358
- * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
1359
- @return {DateTime}
1360
- */
1361
- minus(duration) {
1362
- if (!this.isValid)
1363
- return this;
1364
- const dur = Duration.fromDurationLike(duration).negate();
1365
- return clone(this, adjustTime(this, dur));
1366
- }
1367
- /**
1368
- * "Set" this DateTime to the beginning of a unit of time.
1369
- * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
1370
- * @param {Object} opts - options
1371
- * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
1372
- * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
1373
- * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
1374
- * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays
1375
- * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
1376
- * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
1377
- * @return {DateTime}
1378
- */
1379
- startOf(unit, { useLocaleWeeks = false } = {}) {
1380
- if (!this.isValid)
1381
- return this;
1382
- const o = {}, normalizedUnit = Duration.normalizeUnit(unit);
1383
- switch (normalizedUnit) {
1384
- case "years":
1385
- o.month = 1;
1386
- // falls through
1387
- case "quarters":
1388
- case "months":
1389
- o.day = 1;
1390
- // falls through
1391
- case "weeks":
1392
- case "days":
1393
- o.hour = 0;
1394
- // falls through
1395
- case "hours":
1396
- o.minute = 0;
1397
- // falls through
1398
- case "minutes":
1399
- o.second = 0;
1400
- // falls through
1401
- case "seconds":
1402
- o.millisecond = 0;
1403
- break;
1404
- case "milliseconds":
1405
- break;
1406
- // no default, invalid units throw in normalizeUnit()
1407
- }
1408
- if (normalizedUnit === "weeks") {
1409
- if (useLocaleWeeks) {
1410
- const startOfWeek = this.loc.getStartOfWeek();
1411
- const { weekday } = this;
1412
- if (weekday < startOfWeek) {
1413
- o.weekNumber = this.weekNumber - 1;
1414
- }
1415
- o.weekday = startOfWeek;
1416
- }
1417
- else {
1418
- o.weekday = 1;
1419
- }
1420
- }
1421
- if (normalizedUnit === "quarters") {
1422
- const q = Math.ceil(this.month / 3);
1423
- o.month = (q - 1) * 3 + 1;
1424
- }
1425
- return this.set(o);
1426
- }
1427
- /**
1428
- * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
1429
- * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
1430
- * @param {Object} opts - options
1431
- * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
1432
- * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
1433
- * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
1434
- * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays
1435
- * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
1436
- * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
1437
- * @return {DateTime}
1438
- */
1439
- endOf(unit, opts) {
1440
- return this.isValid
1441
- ? this.plus({ [unit]: 1 })
1442
- .startOf(unit, opts)
1443
- .minus(1)
1444
- : this;
1445
- }
1446
- // OUTPUT
1447
- /**
1448
- * Returns a string representation of this DateTime formatted according to the specified format string.
1449
- * **You may not want this.** See {@link DateTime#toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).
1450
- * Defaults to en-US if no locale has been specified, regardless of the system's locale.
1451
- * @param {string} fmt - the format string
1452
- * @param {Object} opts - opts to override the configuration options on this DateTime
1453
- * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
1454
- * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
1455
- * @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
1456
- * @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
1457
- * @return {string}
1458
- */
1459
- toFormat(fmt, opts = {}) {
1460
- return this.isValid
1461
- ? Formatter.create(this.loc.redefaultToEN(opts)).formatDateTimeFromString(this, fmt)
1462
- : INVALID;
1463
- }
1464
- /**
1465
- * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
1466
- * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
1467
- * of the DateTime in the assigned locale.
1468
- * Defaults to the system's locale if no locale has been specified
1469
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
1470
- * @param formatOpts {Object} - Intl.DateTimeFormat constructor options and configuration options
1471
- * @param {Object} opts - opts to override the configuration options on this DateTime
1472
- * @example DateTime.now().toLocaleString(); //=> 4/20/2017
1473
- * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
1474
- * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
1475
- * @example DateTime.now().toLocaleString(DateTime.DATE_FULL, { locale: 'fr' }); //=> '28 août 2022'
1476
- * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
1477
- * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
1478
- * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
1479
- * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
1480
- * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
1481
- * @return {string}
1482
- */
1483
- toLocaleString(formatOpts = Formats.DATE_SHORT, opts = {}) {
1484
- return this.isValid
1485
- ? Formatter.create(this.loc.clone(opts), formatOpts).formatDateTime(this)
1486
- : INVALID;
1487
- }
1488
- /**
1489
- * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
1490
- * Defaults to the system's locale if no locale has been specified
1491
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
1492
- * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
1493
- * @example DateTime.now().toLocaleParts(); //=> [
1494
- * //=> { type: 'day', value: '25' },
1495
- * //=> { type: 'literal', value: '/' },
1496
- * //=> { type: 'month', value: '05' },
1497
- * //=> { type: 'literal', value: '/' },
1498
- * //=> { type: 'year', value: '1982' }
1499
- * //=> ]
1500
- */
1501
- toLocaleParts(opts = {}) {
1502
- return this.isValid
1503
- ? Formatter.create(this.loc.clone(opts), opts).formatDateTimeParts(this)
1504
- : [];
1505
- }
1506
- /**
1507
- * Returns an ISO 8601-compliant string representation of this DateTime
1508
- * @param {Object} opts - options
1509
- * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
1510
- * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
1511
- * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1512
- * @param {boolean} [opts.extendedZone=false] - add the time zone format extension
1513
- * @param {string} [opts.format='extended'] - choose between the basic and extended format
1514
- * @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
1515
- * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
1516
- * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
1517
- * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
1518
- * @return {string}
1519
- */
1520
- toISO({ format = "extended", suppressSeconds = false, suppressMilliseconds = false, includeOffset = true, extendedZone = false, } = {}) {
1521
- if (!this.isValid) {
1522
- return null;
1523
- }
1524
- const ext = format === "extended";
1525
- let c = toISODate(this, ext);
1526
- c += "T";
1527
- c += toISOTime(this, ext, suppressSeconds, suppressMilliseconds, includeOffset, extendedZone);
1528
- return c;
1529
- }
1530
- /**
1531
- * Returns an ISO 8601-compliant string representation of this DateTime's date component
1532
- * @param {Object} opts - options
1533
- * @param {string} [opts.format='extended'] - choose between the basic and extended format
1534
- * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
1535
- * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
1536
- * @return {string}
1537
- */
1538
- toISODate({ format = "extended" } = {}) {
1539
- if (!this.isValid) {
1540
- return null;
1541
- }
1542
- return toISODate(this, format === "extended");
1543
- }
1544
- /**
1545
- * Returns an ISO 8601-compliant string representation of this DateTime's week date
1546
- * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
1547
- * @return {string}
1548
- */
1549
- toISOWeekDate() {
1550
- return toTechFormat(this, "kkkk-'W'WW-c");
1551
- }
1552
- /**
1553
- * Returns an ISO 8601-compliant string representation of this DateTime's time component
1554
- * @param {Object} opts - options
1555
- * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
1556
- * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
1557
- * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1558
- * @param {boolean} [opts.extendedZone=true] - add the time zone format extension
1559
- * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
1560
- * @param {string} [opts.format='extended'] - choose between the basic and extended format
1561
- * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
1562
- * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
1563
- * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
1564
- * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
1565
- * @return {string}
1566
- */
1567
- toISOTime({ suppressMilliseconds = false, suppressSeconds = false, includeOffset = true, includePrefix = false, extendedZone = false, format = "extended", } = {}) {
1568
- if (!this.isValid) {
1569
- return null;
1570
- }
1571
- let c = includePrefix ? "T" : "";
1572
- return (c +
1573
- toISOTime(this, format === "extended", suppressSeconds, suppressMilliseconds, includeOffset, extendedZone));
1574
- }
1575
- /**
1576
- * Returns an RFC 2822-compatible string representation of this DateTime
1577
- * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
1578
- * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
1579
- * @return {string}
1580
- */
1581
- toRFC2822() {
1582
- return toTechFormat(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", false);
1583
- }
1584
- /**
1585
- * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
1586
- * Specifically, the string conforms to RFC 1123.
1587
- * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
1588
- * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
1589
- * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
1590
- * @return {string}
1591
- */
1592
- toHTTP() {
1593
- return toTechFormat(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'");
1594
- }
1595
- /**
1596
- * Returns a string representation of this DateTime appropriate for use in SQL Date
1597
- * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
1598
- * @return {string}
1599
- */
1600
- toSQLDate() {
1601
- if (!this.isValid) {
1602
- return null;
1603
- }
1604
- return toISODate(this, true);
1605
- }
1606
- /**
1607
- * Returns a string representation of this DateTime appropriate for use in SQL Time
1608
- * @param {Object} opts - options
1609
- * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
1610
- * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1611
- * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
1612
- * @example DateTime.utc().toSQL() //=> '05:15:16.345'
1613
- * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'
1614
- * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'
1615
- * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
1616
- * @return {string}
1617
- */
1618
- toSQLTime({ includeOffset = true, includeZone = false, includeOffsetSpace = true } = {}) {
1619
- let fmt = "HH:mm:ss.SSS";
1620
- if (includeZone || includeOffset) {
1621
- if (includeOffsetSpace) {
1622
- fmt += " ";
1623
- }
1624
- if (includeZone) {
1625
- fmt += "z";
1626
- }
1627
- else if (includeOffset) {
1628
- fmt += "ZZ";
1629
- }
1630
- }
1631
- return toTechFormat(this, fmt, true);
1632
- }
1633
- /**
1634
- * Returns a string representation of this DateTime appropriate for use in SQL DateTime
1635
- * @param {Object} opts - options
1636
- * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
1637
- * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
1638
- * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
1639
- * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
1640
- * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
1641
- * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
1642
- * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
1643
- * @return {string}
1644
- */
1645
- toSQL(opts = {}) {
1646
- if (!this.isValid) {
1647
- return null;
1648
- }
1649
- return `${this.toSQLDate()} ${this.toSQLTime(opts)}`;
1650
- }
1651
- /**
1652
- * Returns a string representation of this DateTime appropriate for debugging
1653
- * @return {string}
1654
- */
1655
- toString() {
1656
- return this.isValid ? this.toISO() : INVALID;
1657
- }
1658
- /**
1659
- * Returns a string representation of this DateTime appropriate for the REPL.
1660
- * @return {string}
1661
- */
1662
- [Symbol.for("nodejs.util.inspect.custom")]() {
1663
- if (this.isValid) {
1664
- return `DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`;
1665
- }
1666
- else {
1667
- return `DateTime { Invalid, reason: ${this.invalidReason} }`;
1668
- }
1669
- }
1670
- /**
1671
- * Returns the epoch milliseconds of this DateTime. Alias of {@link DateTime#toMillis}
1672
- * @return {number}
1673
- */
1674
- valueOf() {
1675
- return this.toMillis();
1676
- }
1677
- /**
1678
- * Returns the epoch milliseconds of this DateTime.
1679
- * @return {number}
1680
- */
1681
- toMillis() {
1682
- return this.isValid ? this.ts : NaN;
1683
- }
1684
- /**
1685
- * Returns the epoch seconds of this DateTime.
1686
- * @return {number}
1687
- */
1688
- toSeconds() {
1689
- return this.isValid ? this.ts / 1000 : NaN;
1690
- }
1691
- /**
1692
- * Returns the epoch seconds (as a whole number) of this DateTime.
1693
- * @return {number}
1694
- */
1695
- toUnixInteger() {
1696
- return this.isValid ? Math.floor(this.ts / 1000) : NaN;
1697
- }
1698
- /**
1699
- * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
1700
- * @return {string}
1701
- */
1702
- toJSON() {
1703
- return this.toISO();
1704
- }
1705
- /**
1706
- * Returns a BSON serializable equivalent to this DateTime.
1707
- * @return {Date}
1708
- */
1709
- toBSON() {
1710
- return this.toJSDate();
1711
- }
1712
- /**
1713
- * Returns a JavaScript object with this DateTime's year, month, day, and so on.
1714
- * @param opts - options for generating the object
1715
- * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
1716
- * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
1717
- * @return {Object}
1718
- */
1719
- toObject(opts = {}) {
1720
- if (!this.isValid)
1721
- return {};
1722
- const base = Object.assign({}, this.c);
1723
- if (opts.includeConfig) {
1724
- base.outputCalendar = this.outputCalendar;
1725
- base.numberingSystem = this.loc.numberingSystem;
1726
- base.locale = this.loc.locale;
1727
- }
1728
- return base;
1729
- }
1730
- /**
1731
- * Returns a JavaScript Date equivalent to this DateTime.
1732
- * @return {Date}
1733
- */
1734
- toJSDate() {
1735
- return new Date(this.isValid ? this.ts : NaN);
1736
- }
1737
- // COMPARE
1738
- /**
1739
- * Return the difference between two DateTimes as a Duration.
1740
- * @param {DateTime} otherDateTime - the DateTime to compare this one to
1741
- * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
1742
- * @param {Object} opts - options that affect the creation of the Duration
1743
- * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1744
- * @example
1745
- * var i1 = DateTime.fromISO('1982-05-25T09:45'),
1746
- * i2 = DateTime.fromISO('1983-10-14T10:30');
1747
- * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
1748
- * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
1749
- * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
1750
- * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
1751
- * @return {Duration}
1752
- */
1753
- diff(otherDateTime, unit = "milliseconds", opts = {}) {
1754
- if (!this.isValid || !otherDateTime.isValid) {
1755
- return Duration.invalid("created by diffing an invalid DateTime");
1756
- }
1757
- const durOpts = Object.assign({ locale: this.locale, numberingSystem: this.numberingSystem }, opts);
1758
- const units = maybeArray(unit).map(Duration.normalizeUnit), otherIsLater = otherDateTime.valueOf() > this.valueOf(), earlier = otherIsLater ? this : otherDateTime, later = otherIsLater ? otherDateTime : this, diffed = diff(earlier, later, units, durOpts);
1759
- return otherIsLater ? diffed.negate() : diffed;
1760
- }
1761
- /**
1762
- * Return the difference between this DateTime and right now.
1763
- * See {@link DateTime#diff}
1764
- * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
1765
- * @param {Object} opts - options that affect the creation of the Duration
1766
- * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
1767
- * @return {Duration}
1768
- */
1769
- diffNow(unit = "milliseconds", opts = {}) {
1770
- return this.diff(DateTime.now(), unit, opts);
1771
- }
1772
- /**
1773
- * Return an Interval spanning between this DateTime and another DateTime
1774
- * @param {DateTime} otherDateTime - the other end point of the Interval
1775
- * @return {Interval}
1776
- */
1777
- until(otherDateTime) {
1778
- return this.isValid ? Interval.fromDateTimes(this, otherDateTime) : this;
1779
- }
1780
- /**
1781
- * Return whether this DateTime is in the same unit of time as another DateTime.
1782
- * Higher-order units must also be identical for this function to return `true`.
1783
- * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link DateTime#setZone} to convert one of the dates if needed.
1784
- * @param {DateTime} otherDateTime - the other DateTime
1785
- * @param {string} unit - the unit of time to check sameness on
1786
- * @param {Object} opts - options
1787
- * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; only the locale of this DateTime is used
1788
- * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day
1789
- * @return {boolean}
1790
- */
1791
- hasSame(otherDateTime, unit, opts) {
1792
- if (!this.isValid)
1793
- return false;
1794
- const inputMs = otherDateTime.valueOf();
1795
- const adjustedToZone = this.setZone(otherDateTime.zone, { keepLocalTime: true });
1796
- return (adjustedToZone.startOf(unit, opts) <= inputMs && inputMs <= adjustedToZone.endOf(unit, opts));
1797
- }
1798
- /**
1799
- * Equality check
1800
- * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
1801
- * To compare just the millisecond values, use `+dt1 === +dt2`.
1802
- * @param {DateTime} other - the other DateTime
1803
- * @return {boolean}
1804
- */
1805
- equals(other) {
1806
- return (this.isValid &&
1807
- other.isValid &&
1808
- this.valueOf() === other.valueOf() &&
1809
- this.zone.equals(other.zone) &&
1810
- this.loc.equals(other.loc));
1811
- }
1812
- /**
1813
- * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
1814
- * platform supports Intl.RelativeTimeFormat. Rounds down by default.
1815
- * @param {Object} options - options that affect the output
1816
- * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
1817
- * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
1818
- * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
1819
- * @param {boolean} [options.round=true] - whether to round the numbers in the output.
1820
- * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
1821
- * @param {string} options.locale - override the locale of this DateTime
1822
- * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
1823
- * @example DateTime.now().plus({ days: 1 }).toRelative() //=> "in 1 day"
1824
- * @example DateTime.now().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
1825
- * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
1826
- * @example DateTime.now().minus({ days: 2 }).toRelative() //=> "2 days ago"
1827
- * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
1828
- * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
1829
- */
1830
- toRelative(options = {}) {
1831
- if (!this.isValid)
1832
- return null;
1833
- const base = options.base || DateTime.fromObject({}, { zone: this.zone }), padding = options.padding ? (this < base ? -options.padding : options.padding) : 0;
1834
- let units = ["years", "months", "days", "hours", "minutes", "seconds"];
1835
- let unit = options.unit;
1836
- if (Array.isArray(options.unit)) {
1837
- units = options.unit;
1838
- unit = undefined;
1839
- }
1840
- return diffRelative(base, this.plus(padding), Object.assign(Object.assign({}, options), { numeric: "always", units,
1841
- unit }));
1842
- }
1843
- /**
1844
- * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
1845
- * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
1846
- * @param {Object} options - options that affect the output
1847
- * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
1848
- * @param {string} options.locale - override the locale of this DateTime
1849
- * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
1850
- * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
1851
- * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
1852
- * @example DateTime.now().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
1853
- * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
1854
- * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
1855
- */
1856
- toRelativeCalendar(options = {}) {
1857
- if (!this.isValid)
1858
- return null;
1859
- return diffRelative(options.base || DateTime.fromObject({}, { zone: this.zone }), this, Object.assign(Object.assign({}, options), { numeric: "auto", units: ["years", "months", "days"], calendary: true }));
1860
- }
1861
- /**
1862
- * Return the min of several date times
1863
- * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
1864
- * @return {DateTime} the min DateTime, or undefined if called with no argument
1865
- */
1866
- static min(...dateTimes) {
1867
- if (!dateTimes.every(DateTime.isDateTime)) {
1868
- throw new InvalidArgumentError("min requires all arguments be DateTimes");
1869
- }
1870
- return bestBy(dateTimes, (i) => i.valueOf(), Math.min);
1871
- }
1872
- /**
1873
- * Return the max of several date times
1874
- * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
1875
- * @return {DateTime} the max DateTime, or undefined if called with no argument
1876
- */
1877
- static max(...dateTimes) {
1878
- if (!dateTimes.every(DateTime.isDateTime)) {
1879
- throw new InvalidArgumentError("max requires all arguments be DateTimes");
1880
- }
1881
- return bestBy(dateTimes, (i) => i.valueOf(), Math.max);
1882
- }
1883
- // MISC
1884
- /**
1885
- * Explain how a string would be parsed by fromFormat()
1886
- * @param {string} text - the string to parse
1887
- * @param {string} fmt - the format the string is expected to be in (see description)
1888
- * @param {Object} options - options taken by fromFormat()
1889
- * @return {Object}
1890
- */
1891
- static fromFormatExplain(text, fmt, options = {}) {
1892
- const { locale = null, numberingSystem = null } = options, localeToUse = Locale.fromOpts({
1893
- locale,
1894
- numberingSystem,
1895
- defaultToEN: true,
1896
- });
1897
- return explainFromTokens(localeToUse, text, fmt);
1898
- }
1899
- /**
1900
- * @deprecated use fromFormatExplain instead
1901
- */
1902
- static fromStringExplain(text, fmt, options = {}) {
1903
- return DateTime.fromFormatExplain(text, fmt, options);
1904
- }
1905
- // FORMAT PRESETS
1906
- /**
1907
- * {@link DateTime#toLocaleString} format like 10/14/1983
1908
- * @type {Object}
1909
- */
1910
- static get DATE_SHORT() {
1911
- return Formats.DATE_SHORT;
1912
- }
1913
- /**
1914
- * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
1915
- * @type {Object}
1916
- */
1917
- static get DATE_MED() {
1918
- return Formats.DATE_MED;
1919
- }
1920
- /**
1921
- * {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
1922
- * @type {Object}
1923
- */
1924
- static get DATE_MED_WITH_WEEKDAY() {
1925
- return Formats.DATE_MED_WITH_WEEKDAY;
1926
- }
1927
- /**
1928
- * {@link DateTime#toLocaleString} format like 'October 14, 1983'
1929
- * @type {Object}
1930
- */
1931
- static get DATE_FULL() {
1932
- return Formats.DATE_FULL;
1933
- }
1934
- /**
1935
- * {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
1936
- * @type {Object}
1937
- */
1938
- static get DATE_HUGE() {
1939
- return Formats.DATE_HUGE;
1940
- }
1941
- /**
1942
- * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
1943
- * @type {Object}
1944
- */
1945
- static get TIME_SIMPLE() {
1946
- return Formats.TIME_SIMPLE;
1947
- }
1948
- /**
1949
- * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
1950
- * @type {Object}
1951
- */
1952
- static get TIME_WITH_SECONDS() {
1953
- return Formats.TIME_WITH_SECONDS;
1954
- }
1955
- /**
1956
- * {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
1957
- * @type {Object}
1958
- */
1959
- static get TIME_WITH_SHORT_OFFSET() {
1960
- return Formats.TIME_WITH_SHORT_OFFSET;
1961
- }
1962
- /**
1963
- * {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
1964
- * @type {Object}
1965
- */
1966
- static get TIME_WITH_LONG_OFFSET() {
1967
- return Formats.TIME_WITH_LONG_OFFSET;
1968
- }
1969
- /**
1970
- * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
1971
- * @type {Object}
1972
- */
1973
- static get TIME_24_SIMPLE() {
1974
- return Formats.TIME_24_SIMPLE;
1975
- }
1976
- /**
1977
- * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
1978
- * @type {Object}
1979
- */
1980
- static get TIME_24_WITH_SECONDS() {
1981
- return Formats.TIME_24_WITH_SECONDS;
1982
- }
1983
- /**
1984
- * {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
1985
- * @type {Object}
1986
- */
1987
- static get TIME_24_WITH_SHORT_OFFSET() {
1988
- return Formats.TIME_24_WITH_SHORT_OFFSET;
1989
- }
1990
- /**
1991
- * {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
1992
- * @type {Object}
1993
- */
1994
- static get TIME_24_WITH_LONG_OFFSET() {
1995
- return Formats.TIME_24_WITH_LONG_OFFSET;
1996
- }
1997
- /**
1998
- * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
1999
- * @type {Object}
2000
- */
2001
- static get DATETIME_SHORT() {
2002
- return Formats.DATETIME_SHORT;
2003
- }
2004
- /**
2005
- * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
2006
- * @type {Object}
2007
- */
2008
- static get DATETIME_SHORT_WITH_SECONDS() {
2009
- return Formats.DATETIME_SHORT_WITH_SECONDS;
2010
- }
2011
- /**
2012
- * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
2013
- * @type {Object}
2014
- */
2015
- static get DATETIME_MED() {
2016
- return Formats.DATETIME_MED;
2017
- }
2018
- /**
2019
- * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
2020
- * @type {Object}
2021
- */
2022
- static get DATETIME_MED_WITH_SECONDS() {
2023
- return Formats.DATETIME_MED_WITH_SECONDS;
2024
- }
2025
- /**
2026
- * {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
2027
- * @type {Object}
2028
- */
2029
- static get DATETIME_MED_WITH_WEEKDAY() {
2030
- return Formats.DATETIME_MED_WITH_WEEKDAY;
2031
- }
2032
- /**
2033
- * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
2034
- * @type {Object}
2035
- */
2036
- static get DATETIME_FULL() {
2037
- return Formats.DATETIME_FULL;
2038
- }
2039
- /**
2040
- * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
2041
- * @type {Object}
2042
- */
2043
- static get DATETIME_FULL_WITH_SECONDS() {
2044
- return Formats.DATETIME_FULL_WITH_SECONDS;
2045
- }
2046
- /**
2047
- * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2048
- * @type {Object}
2049
- */
2050
- static get DATETIME_HUGE() {
2051
- return Formats.DATETIME_HUGE;
2052
- }
2053
- /**
2054
- * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
2055
- * @type {Object}
2056
- */
2057
- static get DATETIME_HUGE_WITH_SECONDS() {
2058
- return Formats.DATETIME_HUGE_WITH_SECONDS;
2059
- }
2060
- }
2061
- /**
2062
- * @private
2063
- */
2064
- export function friendlyDateTime(dateTimeish) {
2065
- if (DateTime.isDateTime(dateTimeish)) {
2066
- return dateTimeish;
2067
- }
2068
- else if (dateTimeish && dateTimeish.valueOf && isNumber(dateTimeish.valueOf())) {
2069
- return DateTime.fromJSDate(dateTimeish);
2070
- }
2071
- else if (dateTimeish && typeof dateTimeish === "object") {
2072
- return DateTime.fromObject(dateTimeish);
2073
- }
2074
- else {
2075
- throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
2076
- }
2077
- }
2078
- //# sourceMappingURL=datetime.js.map