@cometchat/chat-uikit-react-native 4.1.3 → 4.2.0

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 (1416) hide show
  1. package/README.md +9 -9
  2. package/android/.gradle/7.4/checksums/checksums.lock +0 -0
  3. package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  4. package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
  5. package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
  6. package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
  7. package/android/.gradle/checksums/checksums.lock +0 -0
  8. package/android/.idea/misc.xml +0 -1
  9. package/android/.idea/modules/android.iml +18 -0
  10. package/android/.idea/modules.xml +8 -0
  11. package/android/build.gradle +1 -1
  12. package/android/local.properties +8 -0
  13. package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +1 -0
  14. package/android/src/main/java/com/reactnativecometchatuikit/TimeZoneCodeManager.java +41 -0
  15. package/ios/FileManager.m +1 -0
  16. package/ios/TimeZoneCodeManager.h +6 -0
  17. package/ios/TimeZoneCodeManager.m +22 -0
  18. package/package.json +3 -2
  19. package/src/AI/AIConversationStarter/AIConversationStarterDecorator.tsx +3 -0
  20. package/src/AI/AIConversationSummary/AIConversationSummaryDecorator.tsx +3 -0
  21. package/src/AI/AISmartReplies/AISmartRepliesDecorator.tsx +3 -0
  22. package/src/CometChatConversations/CometChatConversations.tsx +5 -1
  23. package/src/CometChatMessageList/CometChatMessageList.tsx +4 -1
  24. package/src/index.ts +6 -0
  25. package/src/shared/CometChatUiKit/CometChatUIKit.ts +32 -1
  26. package/src/shared/assets/images/BackArrow.png +0 -0
  27. package/src/shared/assets/images/calendar.png +0 -0
  28. package/src/shared/assets/images/clock-alert.png +0 -0
  29. package/src/shared/assets/images/clock.png +0 -0
  30. package/src/shared/assets/images/earth.png +0 -0
  31. package/src/shared/assets/images/empty-slot.png +0 -0
  32. package/src/shared/assets/images/forwardArrow.png +0 -0
  33. package/src/shared/assets/images/index.ts +12 -0
  34. package/src/shared/constants/UIKitConstants.ts +2 -0
  35. package/src/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.ts +3 -0
  36. package/src/shared/events/CometChatUIEventHandler/Listener.ts +4 -0
  37. package/src/shared/events/ListenerInitializer.ts +3 -0
  38. package/src/shared/events/messages.ts +1 -0
  39. package/src/shared/framework/DataSource.ts +6 -0
  40. package/src/shared/framework/DataSourceDecorator.tsx +17 -0
  41. package/src/shared/framework/MessageDataSource.tsx +42 -1
  42. package/src/shared/index.ts +7 -1
  43. package/src/shared/libs/CometChatCalendar/Calendars/BaseCalendar.tsx +226 -0
  44. package/src/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.tsx +88 -0
  45. package/src/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.tsx +106 -0
  46. package/src/shared/libs/CometChatCalendar/Calendars/Providers.tsx +27 -0
  47. package/src/shared/libs/CometChatCalendar/Calendars/index.ts +3 -0
  48. package/src/shared/libs/CometChatCalendar/Components/Arrow.test.tsx +112 -0
  49. package/src/shared/libs/CometChatCalendar/Components/Arrow.tsx +46 -0
  50. package/src/shared/libs/CometChatCalendar/Components/Day.test.tsx +396 -0
  51. package/src/shared/libs/CometChatCalendar/Components/Day.tsx +93 -0
  52. package/src/shared/libs/CometChatCalendar/Components/Days.test.tsx +216 -0
  53. package/src/shared/libs/CometChatCalendar/Components/Days.tsx +109 -0
  54. package/src/shared/libs/CometChatCalendar/Components/Month.test.tsx +160 -0
  55. package/src/shared/libs/CometChatCalendar/Components/Month.tsx +46 -0
  56. package/src/shared/libs/CometChatCalendar/Components/Months.test.tsx +262 -0
  57. package/src/shared/libs/CometChatCalendar/Components/Months.tsx +78 -0
  58. package/src/shared/libs/CometChatCalendar/Components/Title.test.tsx +111 -0
  59. package/src/shared/libs/CometChatCalendar/Components/Title.tsx +45 -0
  60. package/src/shared/libs/CometChatCalendar/Components/Weekdays.test.tsx +69 -0
  61. package/src/shared/libs/CometChatCalendar/Components/Weekdays.tsx +29 -0
  62. package/src/shared/libs/CometChatCalendar/Components/index.ts +7 -0
  63. package/src/shared/libs/CometChatCalendar/Constants/View.ts +4 -0
  64. package/src/shared/libs/CometChatCalendar/Constants/index.ts +1 -0
  65. package/src/shared/libs/CometChatCalendar/Contexts/LocaleContext.tsx +7 -0
  66. package/src/shared/libs/CometChatCalendar/Contexts/ThemeContext.tsx +7 -0
  67. package/src/shared/libs/CometChatCalendar/Contexts/index.ts +2 -0
  68. package/src/shared/libs/CometChatCalendar/Entities/ArrowDirections.ts +1 -0
  69. package/src/shared/libs/CometChatCalendar/Entities/Calendar.ts +26 -0
  70. package/src/shared/libs/CometChatCalendar/Entities/Components.ts +13 -0
  71. package/src/shared/libs/CometChatCalendar/Entities/DateProperties.ts +6 -0
  72. package/src/shared/libs/CometChatCalendar/Entities/Locale.ts +12 -0
  73. package/src/shared/libs/CometChatCalendar/Entities/Theme.ts +70 -0
  74. package/src/shared/libs/CometChatCalendar/Entities/index.ts +6 -0
  75. package/src/shared/libs/CometChatCalendar/Hooks/index.ts +1 -0
  76. package/src/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.ts +44 -0
  77. package/src/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.ts +60 -0
  78. package/src/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
  79. package/src/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
  80. package/src/shared/libs/CometChatCalendar/Icons/index.ts +7 -0
  81. package/src/shared/libs/CometChatCalendar/Locales/index.ts +3 -0
  82. package/src/shared/libs/CometChatCalendar/Themes/Colors.ts +31 -0
  83. package/src/shared/libs/CometChatCalendar/Themes/DarkTheme.ts +79 -0
  84. package/src/shared/libs/CometChatCalendar/Themes/DefaultTheme.ts +164 -0
  85. package/src/shared/libs/CometChatCalendar/Themes/index.ts +3 -0
  86. package/src/shared/libs/CometChatCalendar/Utils/addOpacity.test.ts +49 -0
  87. package/src/shared/libs/CometChatCalendar/Utils/addOpacity.ts +15 -0
  88. package/src/shared/libs/CometChatCalendar/Utils/checkChangedProps.ts +10 -0
  89. package/src/shared/libs/CometChatCalendar/Utils/clamp.test.ts +39 -0
  90. package/src/shared/libs/CometChatCalendar/Utils/clamp.ts +5 -0
  91. package/src/shared/libs/CometChatCalendar/Utils/dateRange.test.ts +20 -0
  92. package/src/shared/libs/CometChatCalendar/Utils/dateRange.ts +22 -0
  93. package/src/shared/libs/CometChatCalendar/Utils/getExtraDays.test.ts +48 -0
  94. package/src/shared/libs/CometChatCalendar/Utils/getExtraDays.ts +24 -0
  95. package/src/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.ts +60 -0
  96. package/src/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.ts +19 -0
  97. package/src/shared/libs/CometChatCalendar/Utils/index.ts +6 -0
  98. package/src/shared/libs/CometChatCalendar/index.ts +5 -0
  99. package/src/shared/libs/datePickerModal/DateTimePickerModal.android.js +81 -0
  100. package/src/shared/libs/datePickerModal/DateTimePickerModal.ios.js +363 -0
  101. package/src/shared/libs/datePickerModal/DateTimePickerModal.js +9 -0
  102. package/src/shared/libs/datePickerModal/Modal.js +180 -0
  103. package/src/shared/libs/datePickerModal/index.d.ts +310 -0
  104. package/src/shared/libs/datePickerModal/index.js +5 -0
  105. package/src/shared/libs/datePickerModal/utils.js +25 -0
  106. package/src/shared/libs/luxon/src/datetime.js +2422 -0
  107. package/src/shared/libs/luxon/src/duration.js +990 -0
  108. package/src/shared/libs/luxon/src/errors.js +61 -0
  109. package/src/shared/libs/luxon/src/impl/conversions.js +206 -0
  110. package/src/shared/libs/luxon/src/impl/diff.js +95 -0
  111. package/src/shared/libs/luxon/src/impl/digits.js +75 -0
  112. package/src/shared/libs/luxon/src/impl/english.js +233 -0
  113. package/src/shared/libs/luxon/src/impl/formats.js +176 -0
  114. package/src/shared/libs/luxon/src/impl/formatter.js +409 -0
  115. package/src/shared/libs/luxon/src/impl/invalid.js +14 -0
  116. package/src/shared/libs/luxon/src/impl/locale.js +542 -0
  117. package/src/shared/libs/luxon/src/impl/regexParser.js +335 -0
  118. package/src/shared/libs/luxon/src/impl/tokenParser.js +473 -0
  119. package/src/shared/libs/luxon/src/impl/util.js +309 -0
  120. package/src/shared/libs/luxon/src/impl/zoneUtil.js +34 -0
  121. package/src/shared/libs/luxon/src/info.js +205 -0
  122. package/src/shared/libs/luxon/src/interval.js +657 -0
  123. package/src/shared/libs/luxon/src/luxon.js +26 -0
  124. package/src/shared/libs/luxon/src/package.json +4 -0
  125. package/src/shared/libs/luxon/src/settings.js +175 -0
  126. package/src/shared/libs/luxon/src/zone.js +91 -0
  127. package/src/shared/libs/luxon/src/zones/IANAZone.js +189 -0
  128. package/src/shared/libs/luxon/src/zones/fixedOffsetZone.js +102 -0
  129. package/src/shared/libs/luxon/src/zones/invalidZone.js +53 -0
  130. package/src/shared/libs/luxon/src/zones/systemZone.js +61 -0
  131. package/src/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.ts +103 -0
  132. package/src/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.ts +4 -1
  133. package/src/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.ts +149 -0
  134. package/src/shared/modals/InteractiveData/InteractiveMessage/index.ts +1 -0
  135. package/src/shared/modals/InteractiveData/index.ts +2 -1
  136. package/src/shared/modals/index.ts +3 -2
  137. package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +301 -291
  138. package/src/shared/resources/CometChatLocalize/resources/de/translation.json +301 -291
  139. package/src/shared/resources/CometChatLocalize/resources/en/translation.json +29 -19
  140. package/src/shared/resources/CometChatLocalize/resources/es/translation.json +301 -291
  141. package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +301 -291
  142. package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +301 -291
  143. package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +301 -291
  144. package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +301 -291
  145. package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +301 -291
  146. package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +301 -291
  147. package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +301 -291
  148. package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +301 -292
  149. package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +301 -291
  150. package/src/shared/resources/CometChatTheme/Palette.ts +30 -0
  151. package/src/shared/resources/CometChatTheme/Typography.ts +109 -0
  152. package/src/shared/utils/InteractiveMessageUtils.ts +3 -2
  153. package/src/shared/utils/SchedulerUtils.ts +196 -0
  154. package/src/shared/utils/conversationUtils.ts +8 -1
  155. package/src/shared/utils/icsToJson.js +113 -0
  156. package/src/shared/views/CometChatCheckBox/CometChatCheckBox.tsx +3 -3
  157. package/src/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.tsx +189 -0
  158. package/src/shared/views/CometChatDateTimePicker/DateTimePickerStyle.ts +19 -0
  159. package/src/shared/views/CometChatDateTimePicker/index.ts +5 -0
  160. package/src/shared/views/CometChatDropDown/CometChatDropDown.tsx +3 -3
  161. package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +104 -23
  162. package/src/shared/views/CometChatFormBubble/FormBubbleStyle.tsx +5 -0
  163. package/src/shared/views/CometChatLabel/CometChatLabel.tsx +1 -1
  164. package/src/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.tsx +20 -5
  165. package/src/shared/views/CometChatRadioButton/CometChatRadioButton.tsx +3 -3
  166. package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +1500 -0
  167. package/src/shared/views/CometChatSchedulerBubble/index.ts +5 -0
  168. package/src/shared/views/CometChatSchedulerBubble/styles.ts +92 -0
  169. package/src/shared/views/CometChatSingleSelect/CometChatSingleSelect.tsx +4 -4
  170. package/src/shared/views/CometChatTextInput/CometChatTextInput.tsx +4 -4
  171. package/src/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.tsx +113 -0
  172. package/src/shared/views/CometChatTimeSlotSelector/index.ts +5 -0
  173. package/src/shared/views/CometChatTimeSlotSelector/styles.ts +30 -0
  174. package/src/shared/views/index.ts +4 -1
  175. package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
  176. package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
  177. package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  178. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  179. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  180. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +0 -43
  181. package/lib/CometChatAddMembers/AddMembersConfiguration.js +0 -41
  182. package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +0 -1
  183. package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +0 -10
  184. package/lib/CometChatAddMembers/CometChatAddMembers.js +0 -60
  185. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +0 -1
  186. package/lib/CometChatAddMembers/index.d.ts +0 -3
  187. package/lib/CometChatAddMembers/index.js +0 -4
  188. package/lib/CometChatAddMembers/index.js.map +0 -1
  189. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +0 -46
  190. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +0 -43
  191. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +0 -1
  192. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +0 -18
  193. package/lib/CometChatBannedMembers/CometChatBannedMembers.js +0 -72
  194. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +0 -1
  195. package/lib/CometChatBannedMembers/index.d.ts +0 -3
  196. package/lib/CometChatBannedMembers/index.js +0 -4
  197. package/lib/CometChatBannedMembers/index.js.map +0 -1
  198. package/lib/CometChatBannedMembers/resources/index.d.ts +0 -3
  199. package/lib/CometChatBannedMembers/resources/index.js +0 -3
  200. package/lib/CometChatBannedMembers/resources/index.js.map +0 -1
  201. package/lib/CometChatContacts/CometChatContacts.d.ts +0 -75
  202. package/lib/CometChatContacts/CometChatContacts.js +0 -84
  203. package/lib/CometChatContacts/CometChatContacts.js.map +0 -1
  204. package/lib/CometChatContacts/ContactsConfiguration.d.ts +0 -73
  205. package/lib/CometChatContacts/ContactsConfiguration.js +0 -2
  206. package/lib/CometChatContacts/ContactsConfiguration.js.map +0 -1
  207. package/lib/CometChatContacts/ContactsStyle.d.ts +0 -59
  208. package/lib/CometChatContacts/ContactsStyle.js +0 -2
  209. package/lib/CometChatContacts/ContactsStyle.js.map +0 -1
  210. package/lib/CometChatContacts/Header.d.ts +0 -31
  211. package/lib/CometChatContacts/Header.js +0 -72
  212. package/lib/CometChatContacts/Header.js.map +0 -1
  213. package/lib/CometChatContacts/index.d.ts +0 -4
  214. package/lib/CometChatContacts/index.js +0 -3
  215. package/lib/CometChatContacts/index.js.map +0 -1
  216. package/lib/CometChatContacts/styles.d.ts +0 -101
  217. package/lib/CometChatContacts/styles.js +0 -104
  218. package/lib/CometChatContacts/styles.js.map +0 -1
  219. package/lib/CometChatConversations/CometChatConversations.d.ts +0 -199
  220. package/lib/CometChatConversations/CometChatConversations.js +0 -643
  221. package/lib/CometChatConversations/CometChatConversations.js.map +0 -1
  222. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +0 -96
  223. package/lib/CometChatConversations/ConversationsConfiguration.js +0 -87
  224. package/lib/CometChatConversations/ConversationsConfiguration.js.map +0 -1
  225. package/lib/CometChatConversations/ConversationsStyle.d.ts +0 -38
  226. package/lib/CometChatConversations/ConversationsStyle.js +0 -46
  227. package/lib/CometChatConversations/ConversationsStyle.js.map +0 -1
  228. package/lib/CometChatConversations/index.d.ts +0 -4
  229. package/lib/CometChatConversations/index.js +0 -5
  230. package/lib/CometChatConversations/index.js.map +0 -1
  231. package/lib/CometChatConversations/resources/index.d.ts +0 -14
  232. package/lib/CometChatConversations/resources/index.js +0 -15
  233. package/lib/CometChatConversations/resources/index.js.map +0 -1
  234. package/lib/CometChatConversations/style.d.ts +0 -61
  235. package/lib/CometChatConversations/style.js +0 -63
  236. package/lib/CometChatConversations/style.js.map +0 -1
  237. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +0 -14
  238. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +0 -168
  239. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +0 -1
  240. package/lib/CometChatConversationsWithMessages/index.d.ts +0 -2
  241. package/lib/CometChatConversationsWithMessages/index.js +0 -3
  242. package/lib/CometChatConversationsWithMessages/index.js.map +0 -1
  243. package/lib/CometChatConversationsWithMessages/resources/index.d.ts +0 -2
  244. package/lib/CometChatConversationsWithMessages/resources/index.js +0 -3
  245. package/lib/CometChatConversationsWithMessages/resources/index.js.map +0 -1
  246. package/lib/CometChatConversationsWithMessages/styles.d.ts +0 -12
  247. package/lib/CometChatConversationsWithMessages/styles.js +0 -14
  248. package/lib/CometChatConversationsWithMessages/styles.js.map +0 -1
  249. package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +0 -98
  250. package/lib/CometChatCreateGroup/CometChatCreateGroup.js +0 -196
  251. package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +0 -1
  252. package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +0 -14
  253. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +0 -15
  254. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +0 -1
  255. package/lib/CometChatCreateGroup/Header.d.ts +0 -3
  256. package/lib/CometChatCreateGroup/Header.js +0 -41
  257. package/lib/CometChatCreateGroup/Header.js.map +0 -1
  258. package/lib/CometChatCreateGroup/index.d.ts +0 -3
  259. package/lib/CometChatCreateGroup/index.js +0 -4
  260. package/lib/CometChatCreateGroup/index.js.map +0 -1
  261. package/lib/CometChatCreateGroup/resources/index.d.ts +0 -5
  262. package/lib/CometChatCreateGroup/resources/index.js +0 -9
  263. package/lib/CometChatCreateGroup/resources/index.js.map +0 -1
  264. package/lib/CometChatCreateGroup/style.d.ts +0 -46
  265. package/lib/CometChatCreateGroup/style.js +0 -43
  266. package/lib/CometChatCreateGroup/style.js.map +0 -1
  267. package/lib/CometChatDetails/CometChatDetails.d.ts +0 -281
  268. package/lib/CometChatDetails/CometChatDetails.js +0 -405
  269. package/lib/CometChatDetails/CometChatDetails.js.map +0 -1
  270. package/lib/CometChatDetails/DetailsConfiguration.d.ts +0 -36
  271. package/lib/CometChatDetails/DetailsConfiguration.js +0 -26
  272. package/lib/CometChatDetails/DetailsConfiguration.js.map +0 -1
  273. package/lib/CometChatDetails/Header.d.ts +0 -3
  274. package/lib/CometChatDetails/Header.js +0 -26
  275. package/lib/CometChatDetails/Header.js.map +0 -1
  276. package/lib/CometChatDetails/index.d.ts +0 -3
  277. package/lib/CometChatDetails/index.js +0 -4
  278. package/lib/CometChatDetails/index.js.map +0 -1
  279. package/lib/CometChatDetails/listners.d.ts +0 -20
  280. package/lib/CometChatDetails/listners.js +0 -57
  281. package/lib/CometChatDetails/listners.js.map +0 -1
  282. package/lib/CometChatDetails/resources/index.d.ts +0 -7
  283. package/lib/CometChatDetails/resources/index.js +0 -13
  284. package/lib/CometChatDetails/resources/index.js.map +0 -1
  285. package/lib/CometChatDetails/styles.d.ts +0 -28
  286. package/lib/CometChatDetails/styles.js +0 -23
  287. package/lib/CometChatDetails/styles.js.map +0 -1
  288. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -96
  289. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +0 -360
  290. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +0 -1
  291. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +0 -63
  292. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +0 -59
  293. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +0 -1
  294. package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +0 -42
  295. package/lib/CometChatGroupMembers/GroupMemberStyle.js +0 -48
  296. package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +0 -1
  297. package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +0 -28
  298. package/lib/CometChatGroupMembers/GroupScopeStyle.js +0 -35
  299. package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +0 -1
  300. package/lib/CometChatGroupMembers/index.d.ts +0 -4
  301. package/lib/CometChatGroupMembers/index.js +0 -5
  302. package/lib/CometChatGroupMembers/index.js.map +0 -1
  303. package/lib/CometChatGroupMembers/resources/index.d.ts +0 -5
  304. package/lib/CometChatGroupMembers/resources/index.js +0 -6
  305. package/lib/CometChatGroupMembers/resources/index.js.map +0 -1
  306. package/lib/CometChatGroupMembers/style.d.ts +0 -31
  307. package/lib/CometChatGroupMembers/style.js +0 -30
  308. package/lib/CometChatGroupMembers/style.js.map +0 -1
  309. package/lib/CometChatGroups/CometChatGroups.d.ts +0 -141
  310. package/lib/CometChatGroups/CometChatGroups.js +0 -322
  311. package/lib/CometChatGroups/CometChatGroups.js.map +0 -1
  312. package/lib/CometChatGroups/GroupsConfiguration.d.ts +0 -74
  313. package/lib/CometChatGroups/GroupsConfiguration.js +0 -72
  314. package/lib/CometChatGroups/GroupsConfiguration.js.map +0 -1
  315. package/lib/CometChatGroups/GroupsStyle.d.ts +0 -51
  316. package/lib/CometChatGroups/GroupsStyle.js +0 -61
  317. package/lib/CometChatGroups/GroupsStyle.js.map +0 -1
  318. package/lib/CometChatGroups/index.d.ts +0 -4
  319. package/lib/CometChatGroups/index.js +0 -5
  320. package/lib/CometChatGroups/index.js.map +0 -1
  321. package/lib/CometChatGroups/resources/index.d.ts +0 -10
  322. package/lib/CometChatGroups/resources/index.js +0 -11
  323. package/lib/CometChatGroups/resources/index.js.map +0 -1
  324. package/lib/CometChatGroups/style.d.ts +0 -16
  325. package/lib/CometChatGroups/style.js +0 -19
  326. package/lib/CometChatGroups/style.js.map +0 -1
  327. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +0 -13
  328. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +0 -172
  329. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +0 -1
  330. package/lib/CometChatGroupsWithMessages/index.d.ts +0 -2
  331. package/lib/CometChatGroupsWithMessages/index.js +0 -3
  332. package/lib/CometChatGroupsWithMessages/index.js.map +0 -1
  333. package/lib/CometChatGroupsWithMessages/resources/index.d.ts +0 -2
  334. package/lib/CometChatGroupsWithMessages/resources/index.js +0 -3
  335. package/lib/CometChatGroupsWithMessages/resources/index.js.map +0 -1
  336. package/lib/CometChatGroupsWithMessages/styles.d.ts +0 -12
  337. package/lib/CometChatGroupsWithMessages/styles.js +0 -14
  338. package/lib/CometChatGroupsWithMessages/styles.js.map +0 -1
  339. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +0 -111
  340. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +0 -96
  341. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +0 -1
  342. package/lib/CometChatJoinProtectedGroup/Header.d.ts +0 -3
  343. package/lib/CometChatJoinProtectedGroup/Header.js +0 -33
  344. package/lib/CometChatJoinProtectedGroup/Header.js.map +0 -1
  345. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +0 -15
  346. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +0 -16
  347. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +0 -1
  348. package/lib/CometChatJoinProtectedGroup/index.d.ts +0 -3
  349. package/lib/CometChatJoinProtectedGroup/index.js +0 -4
  350. package/lib/CometChatJoinProtectedGroup/index.js.map +0 -1
  351. package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +0 -4
  352. package/lib/CometChatJoinProtectedGroup/resources/index.js +0 -7
  353. package/lib/CometChatJoinProtectedGroup/resources/index.js.map +0 -1
  354. package/lib/CometChatJoinProtectedGroup/style.d.ts +0 -11
  355. package/lib/CometChatJoinProtectedGroup/style.js +0 -10
  356. package/lib/CometChatJoinProtectedGroup/style.js.map +0 -1
  357. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -269
  358. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +0 -571
  359. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +0 -1
  360. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +0 -47
  361. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +0 -34
  362. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +0 -1
  363. package/lib/CometChatMessageComposer/index.d.ts +0 -3
  364. package/lib/CometChatMessageComposer/index.js +0 -4
  365. package/lib/CometChatMessageComposer/index.js.map +0 -1
  366. package/lib/CometChatMessageComposer/resources/index.d.ts +0 -10
  367. package/lib/CometChatMessageComposer/resources/index.js +0 -19
  368. package/lib/CometChatMessageComposer/resources/index.js.map +0 -1
  369. package/lib/CometChatMessageComposer/styles.d.ts +0 -28
  370. package/lib/CometChatMessageComposer/styles.js +0 -30
  371. package/lib/CometChatMessageComposer/styles.js.map +0 -1
  372. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -150
  373. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +0 -220
  374. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +0 -1
  375. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +0 -37
  376. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +0 -27
  377. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +0 -1
  378. package/lib/CometChatMessageHeader/index.d.ts +0 -3
  379. package/lib/CometChatMessageHeader/index.js +0 -4
  380. package/lib/CometChatMessageHeader/index.js.map +0 -1
  381. package/lib/CometChatMessageHeader/listners.d.ts +0 -27
  382. package/lib/CometChatMessageHeader/listners.js +0 -50
  383. package/lib/CometChatMessageHeader/listners.js.map +0 -1
  384. package/lib/CometChatMessageHeader/resources/index.d.ts +0 -5
  385. package/lib/CometChatMessageHeader/resources/index.js +0 -9
  386. package/lib/CometChatMessageHeader/resources/index.js.map +0 -1
  387. package/lib/CometChatMessageHeader/styles.d.ts +0 -16
  388. package/lib/CometChatMessageHeader/styles.js +0 -16
  389. package/lib/CometChatMessageHeader/styles.js.map +0 -1
  390. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -36
  391. package/lib/CometChatMessageInformation/CometChatMessageInformation.js +0 -173
  392. package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +0 -1
  393. package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +0 -3
  394. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +0 -2
  395. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +0 -1
  396. package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +0 -11
  397. package/lib/CometChatMessageInformation/MessageInformationStyle.js +0 -2
  398. package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +0 -1
  399. package/lib/CometChatMessageInformation/index.d.ts +0 -4
  400. package/lib/CometChatMessageInformation/index.js +0 -3
  401. package/lib/CometChatMessageInformation/index.js.map +0 -1
  402. package/lib/CometChatMessageInformation/resources/index.d.ts +0 -2
  403. package/lib/CometChatMessageInformation/resources/index.js +0 -3
  404. package/lib/CometChatMessageInformation/resources/index.js.map +0 -1
  405. package/lib/CometChatMessageInformation/styles.d.ts +0 -23
  406. package/lib/CometChatMessageInformation/styles.js +0 -26
  407. package/lib/CometChatMessageInformation/styles.js.map +0 -1
  408. package/lib/CometChatMessageList/CometChatMessageList.d.ts +0 -75
  409. package/lib/CometChatMessageList/CometChatMessageList.js +0 -1047
  410. package/lib/CometChatMessageList/CometChatMessageList.js.map +0 -1
  411. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +0 -101
  412. package/lib/CometChatMessageList/MessageListConfiguration.js +0 -37
  413. package/lib/CometChatMessageList/MessageListConfiguration.js.map +0 -1
  414. package/lib/CometChatMessageList/MessageListStyle.d.ts +0 -32
  415. package/lib/CometChatMessageList/MessageListStyle.js +0 -39
  416. package/lib/CometChatMessageList/MessageListStyle.js.map +0 -1
  417. package/lib/CometChatMessageList/index.d.ts +0 -4
  418. package/lib/CometChatMessageList/index.js +0 -5
  419. package/lib/CometChatMessageList/index.js.map +0 -1
  420. package/lib/CometChatMessageList/resources/index.d.ts +0 -6
  421. package/lib/CometChatMessageList/resources/index.js +0 -7
  422. package/lib/CometChatMessageList/resources/index.js.map +0 -1
  423. package/lib/CometChatMessageList/style.d.ts +0 -52
  424. package/lib/CometChatMessageList/style.js +0 -54
  425. package/lib/CometChatMessageList/style.js.map +0 -1
  426. package/lib/CometChatMessages/CometChatMessages.d.ts +0 -42
  427. package/lib/CometChatMessages/CometChatMessages.js +0 -200
  428. package/lib/CometChatMessages/CometChatMessages.js.map +0 -1
  429. package/lib/CometChatMessages/MessageStyle.d.ts +0 -15
  430. package/lib/CometChatMessages/MessageStyle.js +0 -19
  431. package/lib/CometChatMessages/MessageStyle.js.map +0 -1
  432. package/lib/CometChatMessages/MessagesConfiguration.d.ts +0 -69
  433. package/lib/CometChatMessages/MessagesConfiguration.js +0 -25
  434. package/lib/CometChatMessages/MessagesConfiguration.js.map +0 -1
  435. package/lib/CometChatMessages/index.d.ts +0 -4
  436. package/lib/CometChatMessages/index.js +0 -5
  437. package/lib/CometChatMessages/index.js.map +0 -1
  438. package/lib/CometChatMessages/resources/index.d.ts +0 -2
  439. package/lib/CometChatMessages/resources/index.js +0 -3
  440. package/lib/CometChatMessages/resources/index.js.map +0 -1
  441. package/lib/CometChatMessages/style.d.ts +0 -21
  442. package/lib/CometChatMessages/style.js +0 -23
  443. package/lib/CometChatMessages/style.js.map +0 -1
  444. package/lib/CometChatTabs/CometChatTabs.d.ts +0 -11
  445. package/lib/CometChatTabs/CometChatTabs.js +0 -113
  446. package/lib/CometChatTabs/CometChatTabs.js.map +0 -1
  447. package/lib/CometChatTabs/CometChatTabsStyle.d.ts +0 -16
  448. package/lib/CometChatTabs/CometChatTabsStyle.js +0 -23
  449. package/lib/CometChatTabs/CometChatTabsStyle.js.map +0 -1
  450. package/lib/CometChatTabs/TabItemStyle.d.ts +0 -22
  451. package/lib/CometChatTabs/TabItemStyle.js +0 -29
  452. package/lib/CometChatTabs/TabItemStyle.js.map +0 -1
  453. package/lib/CometChatTabs/TabItems.d.ts +0 -11
  454. package/lib/CometChatTabs/TabItems.js +0 -2
  455. package/lib/CometChatTabs/TabItems.js.map +0 -1
  456. package/lib/CometChatTabs/index.d.ts +0 -4
  457. package/lib/CometChatTabs/index.js +0 -4
  458. package/lib/CometChatTabs/index.js.map +0 -1
  459. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +0 -90
  460. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +0 -139
  461. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +0 -1
  462. package/lib/CometChatThreadedMessages/Header.d.ts +0 -12
  463. package/lib/CometChatThreadedMessages/Header.js +0 -23
  464. package/lib/CometChatThreadedMessages/Header.js.map +0 -1
  465. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +0 -18
  466. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +0 -16
  467. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +0 -1
  468. package/lib/CometChatThreadedMessages/index.d.ts +0 -3
  469. package/lib/CometChatThreadedMessages/index.js +0 -4
  470. package/lib/CometChatThreadedMessages/index.js.map +0 -1
  471. package/lib/CometChatThreadedMessages/resources/index.d.ts +0 -8
  472. package/lib/CometChatThreadedMessages/resources/index.js +0 -15
  473. package/lib/CometChatThreadedMessages/resources/index.js.map +0 -1
  474. package/lib/CometChatThreadedMessages/style.d.ts +0 -28
  475. package/lib/CometChatThreadedMessages/style.js +0 -26
  476. package/lib/CometChatThreadedMessages/style.js.map +0 -1
  477. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +0 -41
  478. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +0 -58
  479. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +0 -1
  480. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +0 -41
  481. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +0 -37
  482. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +0 -1
  483. package/lib/CometChatTransferOwnership/index.d.ts +0 -3
  484. package/lib/CometChatTransferOwnership/index.js +0 -4
  485. package/lib/CometChatTransferOwnership/index.js.map +0 -1
  486. package/lib/CometChatUsers/CometChatUsers.d.ts +0 -69
  487. package/lib/CometChatUsers/CometChatUsers.js +0 -64
  488. package/lib/CometChatUsers/CometChatUsers.js.map +0 -1
  489. package/lib/CometChatUsers/UsersConfiguration.d.ts +0 -43
  490. package/lib/CometChatUsers/UsersConfiguration.js +0 -41
  491. package/lib/CometChatUsers/UsersConfiguration.js.map +0 -1
  492. package/lib/CometChatUsers/index.d.ts +0 -3
  493. package/lib/CometChatUsers/index.js +0 -4
  494. package/lib/CometChatUsers/index.js.map +0 -1
  495. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +0 -11
  496. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +0 -89
  497. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +0 -1
  498. package/lib/CometChatUsersWithMessages/index.d.ts +0 -2
  499. package/lib/CometChatUsersWithMessages/index.js +0 -3
  500. package/lib/CometChatUsersWithMessages/index.js.map +0 -1
  501. package/lib/CometChatUsersWithMessages/styles.d.ts +0 -12
  502. package/lib/CometChatUsersWithMessages/styles.js +0 -14
  503. package/lib/CometChatUsersWithMessages/styles.js.map +0 -1
  504. package/lib/calls/CallEvents.d.ts +0 -9
  505. package/lib/calls/CallEvents.js +0 -10
  506. package/lib/calls/CallEvents.js.map +0 -1
  507. package/lib/calls/CallUtils.d.ts +0 -5
  508. package/lib/calls/CallUtils.js +0 -60
  509. package/lib/calls/CallUtils.js.map +0 -1
  510. package/lib/calls/CallingConfiguration.d.ts +0 -3
  511. package/lib/calls/CallingConfiguration.js +0 -5
  512. package/lib/calls/CallingConfiguration.js.map +0 -1
  513. package/lib/calls/CallingDetailsUtils.d.ts +0 -7
  514. package/lib/calls/CallingDetailsUtils.js +0 -31
  515. package/lib/calls/CallingDetailsUtils.js.map +0 -1
  516. package/lib/calls/CallingExtension.d.ts +0 -11
  517. package/lib/calls/CallingExtension.js +0 -36
  518. package/lib/calls/CallingExtension.js.map +0 -1
  519. package/lib/calls/CallingExtentionDecorator.d.ts +0 -33
  520. package/lib/calls/CallingExtentionDecorator.js +0 -157
  521. package/lib/calls/CallingExtentionDecorator.js.map +0 -1
  522. package/lib/calls/CallingPackage.d.ts +0 -4
  523. package/lib/calls/CallingPackage.js +0 -7
  524. package/lib/calls/CallingPackage.js.map +0 -1
  525. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +0 -13
  526. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +0 -11
  527. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +0 -1
  528. package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +0 -18
  529. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +0 -25
  530. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +0 -1
  531. package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +0 -11
  532. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +0 -21
  533. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +0 -1
  534. package/lib/calls/CometChatCallBubble/index.d.ts +0 -4
  535. package/lib/calls/CometChatCallBubble/index.js +0 -5
  536. package/lib/calls/CometChatCallBubble/index.js.map +0 -1
  537. package/lib/calls/CometChatCallBubble/resources/index.d.ts +0 -4
  538. package/lib/calls/CometChatCallBubble/resources/index.js +0 -5
  539. package/lib/calls/CometChatCallBubble/resources/index.js.map +0 -1
  540. package/lib/calls/CometChatCallBubble/styles.d.ts +0 -20
  541. package/lib/calls/CometChatCallBubble/styles.js +0 -22
  542. package/lib/calls/CometChatCallBubble/styles.js.map +0 -1
  543. package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +0 -12
  544. package/lib/calls/CometChatCallButtons/CallButtonStyle.js +0 -19
  545. package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +0 -1
  546. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +0 -34
  547. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +0 -19
  548. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +0 -1
  549. package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +0 -61
  550. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +0 -198
  551. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +0 -1
  552. package/lib/calls/CometChatCallButtons/index.d.ts +0 -4
  553. package/lib/calls/CometChatCallButtons/index.js +0 -4
  554. package/lib/calls/CometChatCallButtons/index.js.map +0 -1
  555. package/lib/calls/CometChatCallButtons/resources/index.d.ts +0 -3
  556. package/lib/calls/CometChatCallButtons/resources/index.js +0 -4
  557. package/lib/calls/CometChatCallButtons/resources/index.js.map +0 -1
  558. package/lib/calls/CometChatCallButtons/style.d.ts +0 -12
  559. package/lib/calls/CometChatCallButtons/style.js +0 -14
  560. package/lib/calls/CometChatCallButtons/style.js.map +0 -1
  561. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +0 -54
  562. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +0 -31
  563. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +0 -1
  564. package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +0 -20
  565. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +0 -27
  566. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +0 -1
  567. package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +0 -1
  568. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +0 -137
  569. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +0 -1
  570. package/lib/calls/CometChatCallDetails/index.d.ts +0 -3
  571. package/lib/calls/CometChatCallDetails/index.js +0 -4
  572. package/lib/calls/CometChatCallDetails/index.js.map +0 -1
  573. package/lib/calls/CometChatCallDetails/resources/index.d.ts +0 -2
  574. package/lib/calls/CometChatCallDetails/resources/index.js +0 -3
  575. package/lib/calls/CometChatCallDetails/resources/index.js.map +0 -1
  576. package/lib/calls/CometChatCallDetails/style.d.ts +0 -12
  577. package/lib/calls/CometChatCallDetails/style.js +0 -14
  578. package/lib/calls/CometChatCallDetails/style.js.map +0 -1
  579. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +0 -86
  580. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +0 -39
  581. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +0 -1
  582. package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +0 -13
  583. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +0 -20
  584. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +0 -1
  585. package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +0 -1
  586. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +0 -250
  587. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +0 -1
  588. package/lib/calls/CometChatCallHistory/index.d.ts +0 -3
  589. package/lib/calls/CometChatCallHistory/index.js +0 -4
  590. package/lib/calls/CometChatCallHistory/index.js.map +0 -1
  591. package/lib/calls/CometChatCallHistory/resources/index.d.ts +0 -8
  592. package/lib/calls/CometChatCallHistory/resources/index.js +0 -9
  593. package/lib/calls/CometChatCallHistory/resources/index.js.map +0 -1
  594. package/lib/calls/CometChatCallHistory/style.d.ts +0 -21
  595. package/lib/calls/CometChatCallHistory/style.js +0 -23
  596. package/lib/calls/CometChatCallHistory/style.js.map +0 -1
  597. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +0 -1
  598. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +0 -30
  599. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +0 -1
  600. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +0 -6
  601. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +0 -2
  602. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +0 -1
  603. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +0 -2
  604. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +0 -2
  605. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +0 -1
  606. package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +0 -3
  607. package/lib/calls/CometChatCallHistoryWithDetails/index.js +0 -2
  608. package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +0 -1
  609. package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +0 -8
  610. package/lib/calls/CometChatCallHistoryWithDetails/style.js +0 -10
  611. package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +0 -1
  612. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -21
  613. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +0 -160
  614. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +0 -1
  615. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +0 -32
  616. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +0 -39
  617. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +0 -1
  618. package/lib/calls/CometChatIncomingCall/index.d.ts +0 -3
  619. package/lib/calls/CometChatIncomingCall/index.js +0 -4
  620. package/lib/calls/CometChatIncomingCall/index.js.map +0 -1
  621. package/lib/calls/CometChatIncomingCall/resources/index.d.ts +0 -5
  622. package/lib/calls/CometChatIncomingCall/resources/index.js +0 -6
  623. package/lib/calls/CometChatIncomingCall/resources/index.js.map +0 -1
  624. package/lib/calls/CometChatIncomingCall/styles.d.ts +0 -9
  625. package/lib/calls/CometChatIncomingCall/styles.js +0 -11
  626. package/lib/calls/CometChatIncomingCall/styles.js.map +0 -1
  627. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -12
  628. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +0 -41
  629. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +0 -1
  630. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +0 -13
  631. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +0 -13
  632. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +0 -1
  633. package/lib/calls/CometChatOngoingCall/index.d.ts +0 -3
  634. package/lib/calls/CometChatOngoingCall/index.js +0 -3
  635. package/lib/calls/CometChatOngoingCall/index.js.map +0 -1
  636. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -46
  637. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +0 -149
  638. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +0 -1
  639. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +0 -18
  640. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +0 -15
  641. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +0 -1
  642. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +0 -14
  643. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +0 -21
  644. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +0 -1
  645. package/lib/calls/CometChatOutgoingCall/index.d.ts +0 -3
  646. package/lib/calls/CometChatOutgoingCall/index.js +0 -4
  647. package/lib/calls/CometChatOutgoingCall/index.js.map +0 -1
  648. package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +0 -2
  649. package/lib/calls/CometChatOutgoingCall/resources/index.js +0 -3
  650. package/lib/calls/CometChatOutgoingCall/resources/index.js.map +0 -1
  651. package/lib/calls/index.d.ts +0 -12
  652. package/lib/calls/index.js +0 -13
  653. package/lib/calls/index.js.map +0 -1
  654. package/lib/calls/resources/index.d.ts +0 -3
  655. package/lib/calls/resources/index.js +0 -4
  656. package/lib/calls/resources/index.js.map +0 -1
  657. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +0 -55
  658. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +0 -30
  659. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +0 -1
  660. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +0 -44
  661. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +0 -61
  662. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +0 -1
  663. package/lib/extensions/CollaborativeBubble/resources/index.d.ts +0 -3
  664. package/lib/extensions/CollaborativeBubble/resources/index.js +0 -3
  665. package/lib/extensions/CollaborativeBubble/resources/index.js.map +0 -1
  666. package/lib/extensions/CollaborativeBubble/styles.d.ts +0 -33
  667. package/lib/extensions/CollaborativeBubble/styles.js +0 -72
  668. package/lib/extensions/CollaborativeBubble/styles.js.map +0 -1
  669. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -14
  670. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +0 -7
  671. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +0 -1
  672. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -12
  673. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +0 -25
  674. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +0 -1
  675. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -22
  676. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +0 -129
  677. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +0 -1
  678. package/lib/extensions/CollaborativeDocument/index.d.ts +0 -5
  679. package/lib/extensions/CollaborativeDocument/index.js +0 -6
  680. package/lib/extensions/CollaborativeDocument/index.js.map +0 -1
  681. package/lib/extensions/CollaborativeDocument/resources/index.d.ts +0 -2
  682. package/lib/extensions/CollaborativeDocument/resources/index.js +0 -5
  683. package/lib/extensions/CollaborativeDocument/resources/index.js.map +0 -1
  684. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -14
  685. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +0 -7
  686. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +0 -1
  687. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -12
  688. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +0 -27
  689. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +0 -1
  690. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -23
  691. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +0 -135
  692. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +0 -1
  693. package/lib/extensions/CollaborativeWhiteboard/index.d.ts +0 -5
  694. package/lib/extensions/CollaborativeWhiteboard/index.js +0 -6
  695. package/lib/extensions/CollaborativeWhiteboard/index.js.map +0 -1
  696. package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +0 -2
  697. package/lib/extensions/CollaborativeWhiteboard/resources/index.js +0 -5
  698. package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +0 -1
  699. package/lib/extensions/ExtensionConstants.d.ts +0 -50
  700. package/lib/extensions/ExtensionConstants.js +0 -51
  701. package/lib/extensions/ExtensionConstants.js.map +0 -1
  702. package/lib/extensions/ExtensionModerator.d.ts +0 -16
  703. package/lib/extensions/ExtensionModerator.js +0 -51
  704. package/lib/extensions/ExtensionModerator.js.map +0 -1
  705. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +0 -13
  706. package/lib/extensions/ImageModeration/ImageModerationDecorator.js +0 -45
  707. package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +0 -1
  708. package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +0 -14
  709. package/lib/extensions/ImageModeration/ImageModerationExtension.js +0 -28
  710. package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +0 -1
  711. package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +0 -17
  712. package/lib/extensions/ImageModeration/ImageModerationFilter.js +0 -93
  713. package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +0 -1
  714. package/lib/extensions/ImageModeration/index.d.ts +0 -4
  715. package/lib/extensions/ImageModeration/index.js +0 -5
  716. package/lib/extensions/ImageModeration/index.js.map +0 -1
  717. package/lib/extensions/ImageModeration/resources/index.d.ts +0 -3
  718. package/lib/extensions/ImageModeration/resources/index.js +0 -3
  719. package/lib/extensions/ImageModeration/resources/index.js.map +0 -1
  720. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +0 -18
  721. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +0 -17
  722. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +0 -1
  723. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +0 -12
  724. package/lib/extensions/LinkPreview/LinkPreviewBubble.js +0 -34
  725. package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +0 -1
  726. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -14
  727. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +0 -13
  728. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +0 -1
  729. package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +0 -8
  730. package/lib/extensions/LinkPreview/LinkPreviewExtention.js +0 -21
  731. package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +0 -1
  732. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +0 -13
  733. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +0 -37
  734. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +0 -1
  735. package/lib/extensions/LinkPreview/index.d.ts +0 -6
  736. package/lib/extensions/LinkPreview/index.js +0 -6
  737. package/lib/extensions/LinkPreview/index.js.map +0 -1
  738. package/lib/extensions/LinkPreview/resources/index.d.ts +0 -2
  739. package/lib/extensions/LinkPreview/resources/index.js +0 -3
  740. package/lib/extensions/LinkPreview/resources/index.js.map +0 -1
  741. package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -22
  742. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +0 -69
  743. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +0 -1
  744. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +0 -21
  745. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +0 -152
  746. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +0 -1
  747. package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -14
  748. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +0 -28
  749. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +0 -1
  750. package/lib/extensions/MessageTranslation/index.d.ts +0 -4
  751. package/lib/extensions/MessageTranslation/index.js +0 -5
  752. package/lib/extensions/MessageTranslation/index.js.map +0 -1
  753. package/lib/extensions/MessageTranslation/resources/index.d.ts +0 -3
  754. package/lib/extensions/MessageTranslation/resources/index.js +0 -5
  755. package/lib/extensions/MessageTranslation/resources/index.js.map +0 -1
  756. package/lib/extensions/Polls/Header.d.ts +0 -14
  757. package/lib/extensions/Polls/Header.js +0 -41
  758. package/lib/extensions/Polls/Header.js.map +0 -1
  759. package/lib/extensions/Polls/Polls.d.ts +0 -132
  760. package/lib/extensions/Polls/Polls.js +0 -218
  761. package/lib/extensions/Polls/Polls.js.map +0 -1
  762. package/lib/extensions/Polls/PollsBubble.d.ts +0 -83
  763. package/lib/extensions/Polls/PollsBubble.js +0 -202
  764. package/lib/extensions/Polls/PollsBubble.js.map +0 -1
  765. package/lib/extensions/Polls/PollsConfigurations.d.ts +0 -15
  766. package/lib/extensions/Polls/PollsConfigurations.js +0 -2
  767. package/lib/extensions/Polls/PollsConfigurations.js.map +0 -1
  768. package/lib/extensions/Polls/PollsDecorator.d.ts +0 -21
  769. package/lib/extensions/Polls/PollsDecorator.js +0 -103
  770. package/lib/extensions/Polls/PollsDecorator.js.map +0 -1
  771. package/lib/extensions/Polls/PollsExtension.d.ts +0 -12
  772. package/lib/extensions/Polls/PollsExtension.js +0 -27
  773. package/lib/extensions/Polls/PollsExtension.js.map +0 -1
  774. package/lib/extensions/Polls/index.d.ts +0 -4
  775. package/lib/extensions/Polls/index.js +0 -4
  776. package/lib/extensions/Polls/index.js.map +0 -1
  777. package/lib/extensions/Polls/resources/index.d.ts +0 -7
  778. package/lib/extensions/Polls/resources/index.js +0 -13
  779. package/lib/extensions/Polls/resources/index.js.map +0 -1
  780. package/lib/extensions/Polls/style.d.ts +0 -45
  781. package/lib/extensions/Polls/style.js +0 -39
  782. package/lib/extensions/Polls/style.js.map +0 -1
  783. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +0 -22
  784. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +0 -203
  785. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +0 -1
  786. package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +0 -2
  787. package/lib/extensions/Reactions/CometChatMessageReactions/index.js +0 -3
  788. package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +0 -1
  789. package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +0 -40
  790. package/lib/extensions/Reactions/CometChatMessageReactions/style.js +0 -42
  791. package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +0 -1
  792. package/lib/extensions/Reactions/ReactionsDecorator.d.ts +0 -23
  793. package/lib/extensions/Reactions/ReactionsDecorator.js +0 -113
  794. package/lib/extensions/Reactions/ReactionsDecorator.js.map +0 -1
  795. package/lib/extensions/Reactions/ReactionsExtension.d.ts +0 -14
  796. package/lib/extensions/Reactions/ReactionsExtension.js +0 -28
  797. package/lib/extensions/Reactions/ReactionsExtension.js.map +0 -1
  798. package/lib/extensions/Reactions/index.d.ts +0 -3
  799. package/lib/extensions/Reactions/index.js +0 -4
  800. package/lib/extensions/Reactions/index.js.map +0 -1
  801. package/lib/extensions/Reactions/resources/index.d.ts +0 -3
  802. package/lib/extensions/Reactions/resources/index.js +0 -3
  803. package/lib/extensions/Reactions/resources/index.js.map +0 -1
  804. package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +0 -14
  805. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +0 -95
  806. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +0 -1
  807. package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -14
  808. package/lib/extensions/SmartReplies/SmartRepliesExtension.js +0 -28
  809. package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +0 -1
  810. package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +0 -27
  811. package/lib/extensions/SmartReplies/SmartRepliesView.js +0 -152
  812. package/lib/extensions/SmartReplies/SmartRepliesView.js.map +0 -1
  813. package/lib/extensions/SmartReplies/index.d.ts +0 -3
  814. package/lib/extensions/SmartReplies/index.js +0 -4
  815. package/lib/extensions/SmartReplies/index.js.map +0 -1
  816. package/lib/extensions/SmartReplies/resources/index.d.ts +0 -3
  817. package/lib/extensions/SmartReplies/resources/index.js +0 -5
  818. package/lib/extensions/SmartReplies/resources/index.js.map +0 -1
  819. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +0 -33
  820. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +0 -90
  821. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +0 -1
  822. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +0 -17
  823. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +0 -17
  824. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +0 -1
  825. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +0 -20
  826. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +0 -27
  827. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +0 -1
  828. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +0 -1
  829. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +0 -61
  830. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +0 -1
  831. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +0 -4
  832. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +0 -5
  833. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +0 -1
  834. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +0 -55
  835. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +0 -55
  836. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +0 -1
  837. package/lib/extensions/Stickers/StickerConfiguration.d.ts +0 -8
  838. package/lib/extensions/Stickers/StickerConfiguration.js +0 -12
  839. package/lib/extensions/Stickers/StickerConfiguration.js.map +0 -1
  840. package/lib/extensions/Stickers/StickerStyle.d.ts +0 -6
  841. package/lib/extensions/Stickers/StickerStyle.js +0 -10
  842. package/lib/extensions/Stickers/StickerStyle.js.map +0 -1
  843. package/lib/extensions/Stickers/StickersBubble.d.ts +0 -17
  844. package/lib/extensions/Stickers/StickersBubble.js +0 -21
  845. package/lib/extensions/Stickers/StickersBubble.js.map +0 -1
  846. package/lib/extensions/Stickers/StickersExtension.d.ts +0 -8
  847. package/lib/extensions/Stickers/StickersExtension.js +0 -28
  848. package/lib/extensions/Stickers/StickersExtension.js.map +0 -1
  849. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +0 -22
  850. package/lib/extensions/Stickers/StickersExtensionDecorator.js +0 -108
  851. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +0 -1
  852. package/lib/extensions/Stickers/index.d.ts +0 -5
  853. package/lib/extensions/Stickers/index.js +0 -5
  854. package/lib/extensions/Stickers/index.js.map +0 -1
  855. package/lib/extensions/Stickers/resources/index.d.ts +0 -2
  856. package/lib/extensions/Stickers/resources/index.js +0 -3
  857. package/lib/extensions/Stickers/resources/index.js.map +0 -1
  858. package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +0 -14
  859. package/lib/extensions/TextModeration/TextModerationConfiguration.js +0 -7
  860. package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +0 -1
  861. package/lib/extensions/TextModeration/TextModerationExtension.d.ts +0 -13
  862. package/lib/extensions/TextModeration/TextModerationExtension.js +0 -37
  863. package/lib/extensions/TextModeration/TextModerationExtension.js.map +0 -1
  864. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +0 -14
  865. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +0 -55
  866. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +0 -1
  867. package/lib/extensions/TextModeration/index.d.ts +0 -4
  868. package/lib/extensions/TextModeration/index.js +0 -4
  869. package/lib/extensions/TextModeration/index.js.map +0 -1
  870. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +0 -16
  871. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +0 -64
  872. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +0 -1
  873. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -15
  874. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +0 -28
  875. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +0 -1
  876. package/lib/extensions/ThumbnailGeneration/index.d.ts +0 -2
  877. package/lib/extensions/ThumbnailGeneration/index.js +0 -3
  878. package/lib/extensions/ThumbnailGeneration/index.js.map +0 -1
  879. package/lib/extensions/index.d.ts +0 -13
  880. package/lib/extensions/index.js +0 -14
  881. package/lib/extensions/index.js.map +0 -1
  882. package/lib/index.d.ts +0 -26
  883. package/lib/index.js +0 -53
  884. package/lib/index.js.map +0 -1
  885. package/lib/shared/CometChatContext.d.ts +0 -4
  886. package/lib/shared/CometChatContext.js +0 -30
  887. package/lib/shared/CometChatContext.js.map +0 -1
  888. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +0 -26
  889. package/lib/shared/CometChatUiKit/CometChatUIKit.js +0 -195
  890. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +0 -1
  891. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +0 -20
  892. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +0 -66
  893. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +0 -1
  894. package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +0 -13
  895. package/lib/shared/CometChatUiKit/UIKitSettings.js +0 -15
  896. package/lib/shared/CometChatUiKit/UIKitSettings.js.map +0 -1
  897. package/lib/shared/CometChatUiKit/index.d.ts +0 -4
  898. package/lib/shared/CometChatUiKit/index.js +0 -5
  899. package/lib/shared/CometChatUiKit/index.js.map +0 -1
  900. package/lib/shared/assets/images/index.d.ts +0 -9
  901. package/lib/shared/assets/images/index.js +0 -17
  902. package/lib/shared/assets/images/index.js.map +0 -1
  903. package/lib/shared/base/BaseStyle.d.ts +0 -26
  904. package/lib/shared/base/BaseStyle.js +0 -26
  905. package/lib/shared/base/BaseStyle.js.map +0 -1
  906. package/lib/shared/base/BorderStyle.d.ts +0 -19
  907. package/lib/shared/base/BorderStyle.js +0 -19
  908. package/lib/shared/base/BorderStyle.js.map +0 -1
  909. package/lib/shared/base/FontStyle.d.ts +0 -18
  910. package/lib/shared/base/FontStyle.js +0 -18
  911. package/lib/shared/base/FontStyle.js.map +0 -1
  912. package/lib/shared/base/ShadowStyle.d.ts +0 -33
  913. package/lib/shared/base/ShadowStyle.js +0 -27
  914. package/lib/shared/base/ShadowStyle.js.map +0 -1
  915. package/lib/shared/base/Types.d.ts +0 -14
  916. package/lib/shared/base/Types.js +0 -2
  917. package/lib/shared/base/Types.js.map +0 -1
  918. package/lib/shared/base/index.d.ts +0 -6
  919. package/lib/shared/base/index.js +0 -6
  920. package/lib/shared/base/index.js.map +0 -1
  921. package/lib/shared/constants/UIKitConstants.d.ts +0 -285
  922. package/lib/shared/constants/UIKitConstants.js +0 -304
  923. package/lib/shared/constants/UIKitConstants.js.map +0 -1
  924. package/lib/shared/events/CometChatMessageEvents/index.d.ts +0 -43
  925. package/lib/shared/events/CometChatMessageEvents/index.js +0 -93
  926. package/lib/shared/events/CometChatMessageEvents/index.js.map +0 -1
  927. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +0 -30
  928. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +0 -310
  929. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +0 -1
  930. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +0 -184
  931. package/lib/shared/events/CometChatUIEventHandler/Listener.js +0 -270
  932. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +0 -1
  933. package/lib/shared/events/CometChatUIEvents.d.ts +0 -17
  934. package/lib/shared/events/CometChatUIEvents.js +0 -19
  935. package/lib/shared/events/CometChatUIEvents.js.map +0 -1
  936. package/lib/shared/events/conversations.d.ts +0 -3
  937. package/lib/shared/events/conversations.js +0 -5
  938. package/lib/shared/events/conversations.js.map +0 -1
  939. package/lib/shared/events/groups.d.ts +0 -10
  940. package/lib/shared/events/groups.js +0 -12
  941. package/lib/shared/events/groups.js.map +0 -1
  942. package/lib/shared/events/index.d.ts +0 -6
  943. package/lib/shared/events/index.js +0 -7
  944. package/lib/shared/events/index.js.map +0 -1
  945. package/lib/shared/events/messages.d.ts +0 -11
  946. package/lib/shared/events/messages.js +0 -13
  947. package/lib/shared/events/messages.js.map +0 -1
  948. package/lib/shared/framework/ChatConfigurator.d.ts +0 -8
  949. package/lib/shared/framework/ChatConfigurator.js +0 -23
  950. package/lib/shared/framework/ChatConfigurator.js.map +0 -1
  951. package/lib/shared/framework/DataSource.d.ts +0 -49
  952. package/lib/shared/framework/DataSource.js +0 -2
  953. package/lib/shared/framework/DataSource.js.map +0 -1
  954. package/lib/shared/framework/DataSourceDecorator.d.ts +0 -49
  955. package/lib/shared/framework/DataSourceDecorator.js +0 -121
  956. package/lib/shared/framework/DataSourceDecorator.js.map +0 -1
  957. package/lib/shared/framework/ExtensionsDataSource.d.ts +0 -6
  958. package/lib/shared/framework/ExtensionsDataSource.js +0 -14
  959. package/lib/shared/framework/ExtensionsDataSource.js.map +0 -1
  960. package/lib/shared/framework/MessageDataSource.d.ts +0 -72
  961. package/lib/shared/framework/MessageDataSource.js +0 -548
  962. package/lib/shared/framework/MessageDataSource.js.map +0 -1
  963. package/lib/shared/framework/index.d.ts +0 -6
  964. package/lib/shared/framework/index.js +0 -6
  965. package/lib/shared/framework/index.js.map +0 -1
  966. package/lib/shared/framework/resources/index.d.ts +0 -22
  967. package/lib/shared/framework/resources/index.js +0 -45
  968. package/lib/shared/framework/resources/index.js.map +0 -1
  969. package/lib/shared/helper/SwipeRow.d.ts +0 -162
  970. package/lib/shared/helper/SwipeRow.js +0 -808
  971. package/lib/shared/helper/SwipeRow.js.map +0 -1
  972. package/lib/shared/helper/Toast.d.ts +0 -4
  973. package/lib/shared/helper/Toast.js +0 -23
  974. package/lib/shared/helper/Toast.js.map +0 -1
  975. package/lib/shared/helper/functions.d.ts +0 -3
  976. package/lib/shared/helper/functions.js +0 -32
  977. package/lib/shared/helper/functions.js.map +0 -1
  978. package/lib/shared/helper/helperFunctions.d.ts +0 -2
  979. package/lib/shared/helper/helperFunctions.js +0 -17
  980. package/lib/shared/helper/helperFunctions.js.map +0 -1
  981. package/lib/shared/helper/types/index.d.ts +0 -19
  982. package/lib/shared/helper/types/index.js +0 -2
  983. package/lib/shared/helper/types/index.js.map +0 -1
  984. package/lib/shared/helper/useKeyboard.d.ts +0 -1
  985. package/lib/shared/helper/useKeyboard.js +0 -25
  986. package/lib/shared/helper/useKeyboard.js.map +0 -1
  987. package/lib/shared/index.d.ts +0 -14
  988. package/lib/shared/index.js +0 -28
  989. package/lib/shared/index.js.map +0 -1
  990. package/lib/shared/modals/CometChatDetailsOption.d.ts +0 -18
  991. package/lib/shared/modals/CometChatDetailsOption.js +0 -2
  992. package/lib/shared/modals/CometChatDetailsOption.js.map +0 -1
  993. package/lib/shared/modals/CometChatDetailsTemplate.d.ts +0 -15
  994. package/lib/shared/modals/CometChatDetailsTemplate.js +0 -2
  995. package/lib/shared/modals/CometChatDetailsTemplate.js.map +0 -1
  996. package/lib/shared/modals/CometChatMessageOption.d.ts +0 -13
  997. package/lib/shared/modals/CometChatMessageOption.js +0 -2
  998. package/lib/shared/modals/CometChatMessageOption.js.map +0 -1
  999. package/lib/shared/modals/CometChatMessageTemplate.d.ts +0 -24
  1000. package/lib/shared/modals/CometChatMessageTemplate.js +0 -20
  1001. package/lib/shared/modals/CometChatMessageTemplate.js.map +0 -1
  1002. package/lib/shared/modals/CometChatOptions.d.ts +0 -14
  1003. package/lib/shared/modals/CometChatOptions.js +0 -2
  1004. package/lib/shared/modals/CometChatOptions.js.map +0 -1
  1005. package/lib/shared/modals/index.d.ts +0 -6
  1006. package/lib/shared/modals/index.js +0 -3
  1007. package/lib/shared/modals/index.js.map +0 -1
  1008. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +0 -3681
  1009. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +0 -164
  1010. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +0 -1
  1011. package/lib/shared/resources/CometChatLocalize/index.d.ts +0 -2
  1012. package/lib/shared/resources/CometChatLocalize/index.js +0 -3
  1013. package/lib/shared/resources/CometChatLocalize/index.js.map +0 -1
  1014. package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +0 -270
  1015. package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +0 -270
  1016. package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +0 -270
  1017. package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +0 -270
  1018. package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +0 -270
  1019. package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +0 -270
  1020. package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +0 -270
  1021. package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +0 -270
  1022. package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +0 -270
  1023. package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +0 -270
  1024. package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +0 -270
  1025. package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +0 -270
  1026. package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +0 -270
  1027. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -13
  1028. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +0 -82
  1029. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +0 -1
  1030. package/lib/shared/resources/CometChatSoundManager/index.d.ts +0 -2
  1031. package/lib/shared/resources/CometChatSoundManager/index.js +0 -3
  1032. package/lib/shared/resources/CometChatSoundManager/index.js.map +0 -1
  1033. package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +0 -1
  1034. package/lib/shared/resources/CometChatSoundManager/resources/index.js +0 -6
  1035. package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +0 -1
  1036. package/lib/shared/resources/CometChatSoundManager/sound.d.ts +0 -56
  1037. package/lib/shared/resources/CometChatSoundManager/sound.js +0 -303
  1038. package/lib/shared/resources/CometChatSoundManager/sound.js.map +0 -1
  1039. package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +0 -22
  1040. package/lib/shared/resources/CometChatTheme/CometChatTheme.js +0 -23
  1041. package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +0 -1
  1042. package/lib/shared/resources/CometChatTheme/Palette.d.ts +0 -118
  1043. package/lib/shared/resources/CometChatTheme/Palette.js +0 -389
  1044. package/lib/shared/resources/CometChatTheme/Palette.js.map +0 -1
  1045. package/lib/shared/resources/CometChatTheme/Typography.d.ts +0 -80
  1046. package/lib/shared/resources/CometChatTheme/Typography.js +0 -212
  1047. package/lib/shared/resources/CometChatTheme/Typography.js.map +0 -1
  1048. package/lib/shared/resources/CometChatTheme/index.d.ts +0 -2
  1049. package/lib/shared/resources/CometChatTheme/index.js +0 -3
  1050. package/lib/shared/resources/CometChatTheme/index.js.map +0 -1
  1051. package/lib/shared/resources/index.d.ts +0 -4
  1052. package/lib/shared/resources/index.js +0 -5
  1053. package/lib/shared/resources/index.js.map +0 -1
  1054. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +0 -15
  1055. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +0 -87
  1056. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +0 -1
  1057. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +0 -20
  1058. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +0 -27
  1059. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +0 -1
  1060. package/lib/shared/utils/CometChatLiveReactions/index.d.ts +0 -1
  1061. package/lib/shared/utils/CometChatLiveReactions/index.js +0 -2
  1062. package/lib/shared/utils/CometChatLiveReactions/index.js.map +0 -1
  1063. package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +0 -2
  1064. package/lib/shared/utils/CometChatLiveReactions/resources/index.js +0 -3
  1065. package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +0 -1
  1066. package/lib/shared/utils/CometChatLiveReactions/style.d.ts +0 -5
  1067. package/lib/shared/utils/CometChatLiveReactions/style.js +0 -7
  1068. package/lib/shared/utils/CometChatLiveReactions/style.js.map +0 -1
  1069. package/lib/shared/utils/CometChatMessageHelper/index.d.ts +0 -12
  1070. package/lib/shared/utils/CometChatMessageHelper/index.js +0 -42
  1071. package/lib/shared/utils/CometChatMessageHelper/index.js.map +0 -1
  1072. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +0 -49
  1073. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +0 -107
  1074. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +0 -1
  1075. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +0 -24
  1076. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +0 -23
  1077. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +0 -1
  1078. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +0 -31
  1079. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +0 -29
  1080. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +0 -1
  1081. package/lib/shared/utils/CometChatMessagePreview/index.d.ts +0 -4
  1082. package/lib/shared/utils/CometChatMessagePreview/index.js +0 -5
  1083. package/lib/shared/utils/CometChatMessagePreview/index.js.map +0 -1
  1084. package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +0 -2
  1085. package/lib/shared/utils/CometChatMessagePreview/resources/index.js +0 -3
  1086. package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +0 -1
  1087. package/lib/shared/utils/CometChatMessagePreview/style.d.ts +0 -9
  1088. package/lib/shared/utils/CometChatMessagePreview/style.js +0 -71
  1089. package/lib/shared/utils/CometChatMessagePreview/style.js.map +0 -1
  1090. package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +0 -13
  1091. package/lib/shared/utils/DetailsUtils/DetailsUtils.js +0 -295
  1092. package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +0 -1
  1093. package/lib/shared/utils/DetailsUtils/resources/index.d.ts +0 -9
  1094. package/lib/shared/utils/DetailsUtils/resources/index.js +0 -17
  1095. package/lib/shared/utils/DetailsUtils/resources/index.js.map +0 -1
  1096. package/lib/shared/utils/MessageUtils.d.ts +0 -15
  1097. package/lib/shared/utils/MessageUtils.js +0 -31
  1098. package/lib/shared/utils/MessageUtils.js.map +0 -1
  1099. package/lib/shared/utils/conversationUtils.d.ts +0 -7
  1100. package/lib/shared/utils/conversationUtils.js +0 -73
  1101. package/lib/shared/utils/conversationUtils.js.map +0 -1
  1102. package/lib/shared/utils/index.d.ts +0 -6
  1103. package/lib/shared/utils/index.js +0 -7
  1104. package/lib/shared/utils/index.js.map +0 -1
  1105. package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +0 -49
  1106. package/lib/shared/views/CometChatActionSheet/ActionItem.js +0 -38
  1107. package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +0 -1
  1108. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +0 -43
  1109. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +0 -49
  1110. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +0 -1
  1111. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +0 -23
  1112. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +0 -170
  1113. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +0 -1
  1114. package/lib/shared/views/CometChatActionSheet/hooks.d.ts +0 -1
  1115. package/lib/shared/views/CometChatActionSheet/hooks.js +0 -7
  1116. package/lib/shared/views/CometChatActionSheet/hooks.js.map +0 -1
  1117. package/lib/shared/views/CometChatActionSheet/index.d.ts +0 -3
  1118. package/lib/shared/views/CometChatActionSheet/index.js +0 -4
  1119. package/lib/shared/views/CometChatActionSheet/index.js.map +0 -1
  1120. package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +0 -4
  1121. package/lib/shared/views/CometChatActionSheet/resources/index.js +0 -7
  1122. package/lib/shared/views/CometChatActionSheet/resources/index.js.map +0 -1
  1123. package/lib/shared/views/CometChatActionSheet/style.d.ts +0 -44
  1124. package/lib/shared/views/CometChatActionSheet/style.js +0 -46
  1125. package/lib/shared/views/CometChatActionSheet/style.js.map +0 -1
  1126. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +0 -16
  1127. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +0 -23
  1128. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +0 -1
  1129. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -35
  1130. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +0 -92
  1131. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +0 -1
  1132. package/lib/shared/views/CometChatAudioBubble/index.d.ts +0 -3
  1133. package/lib/shared/views/CometChatAudioBubble/index.js +0 -4
  1134. package/lib/shared/views/CometChatAudioBubble/index.js.map +0 -1
  1135. package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +0 -3
  1136. package/lib/shared/views/CometChatAudioBubble/resources/index.js +0 -4
  1137. package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +0 -1
  1138. package/lib/shared/views/CometChatAudioBubble/style.d.ts +0 -26
  1139. package/lib/shared/views/CometChatAudioBubble/style.js +0 -28
  1140. package/lib/shared/views/CometChatAudioBubble/style.js.map +0 -1
  1141. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +0 -19
  1142. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +0 -19
  1143. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +0 -1
  1144. package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +0 -28
  1145. package/lib/shared/views/CometChatAvatar/AvatarStyle.js +0 -38
  1146. package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +0 -1
  1147. package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +0 -25
  1148. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +0 -88
  1149. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +0 -1
  1150. package/lib/shared/views/CometChatAvatar/index.d.ts +0 -4
  1151. package/lib/shared/views/CometChatAvatar/index.js +0 -5
  1152. package/lib/shared/views/CometChatAvatar/index.js.map +0 -1
  1153. package/lib/shared/views/CometChatAvatar/resources/index.d.ts +0 -3
  1154. package/lib/shared/views/CometChatAvatar/resources/index.js +0 -5
  1155. package/lib/shared/views/CometChatAvatar/resources/index.js.map +0 -1
  1156. package/lib/shared/views/CometChatAvatar/styles.d.ts +0 -21
  1157. package/lib/shared/views/CometChatAvatar/styles.js +0 -24
  1158. package/lib/shared/views/CometChatAvatar/styles.js.map +0 -1
  1159. package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +0 -34
  1160. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +0 -37
  1161. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +0 -1
  1162. package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +0 -11
  1163. package/lib/shared/views/CometChatBadge/BadgeStyle.js +0 -25
  1164. package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +0 -1
  1165. package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +0 -23
  1166. package/lib/shared/views/CometChatBadge/CometChatBadge.js +0 -48
  1167. package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +0 -1
  1168. package/lib/shared/views/CometChatBadge/index.d.ts +0 -4
  1169. package/lib/shared/views/CometChatBadge/index.js +0 -5
  1170. package/lib/shared/views/CometChatBadge/index.js.map +0 -1
  1171. package/lib/shared/views/CometChatBadge/styles.d.ts +0 -14
  1172. package/lib/shared/views/CometChatBadge/styles.js +0 -17
  1173. package/lib/shared/views/CometChatBadge/styles.js.map +0 -1
  1174. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +0 -18
  1175. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +0 -99
  1176. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +0 -1
  1177. package/lib/shared/views/CometChatBottomSheet/index.d.ts +0 -2
  1178. package/lib/shared/views/CometChatBottomSheet/index.js +0 -3
  1179. package/lib/shared/views/CometChatBottomSheet/index.js.map +0 -1
  1180. package/lib/shared/views/CometChatBottomSheet/style.d.ts +0 -50
  1181. package/lib/shared/views/CometChatBottomSheet/style.js +0 -52
  1182. package/lib/shared/views/CometChatBottomSheet/style.js.map +0 -1
  1183. package/lib/shared/views/CometChatButton/CometChatButton.d.ts +0 -10
  1184. package/lib/shared/views/CometChatButton/CometChatButton.js +0 -30
  1185. package/lib/shared/views/CometChatButton/CometChatButton.js.map +0 -1
  1186. package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +0 -18
  1187. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +0 -25
  1188. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +0 -1
  1189. package/lib/shared/views/CometChatButton/index.d.ts +0 -3
  1190. package/lib/shared/views/CometChatButton/index.js +0 -4
  1191. package/lib/shared/views/CometChatButton/index.js.map +0 -1
  1192. package/lib/shared/views/CometChatButton/style.d.ts +0 -6
  1193. package/lib/shared/views/CometChatButton/style.js +0 -8
  1194. package/lib/shared/views/CometChatButton/style.js.map +0 -1
  1195. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +0 -15
  1196. package/lib/shared/views/CometChatCard/CometChatCard.js +0 -35
  1197. package/lib/shared/views/CometChatCard/CometChatCard.js.map +0 -1
  1198. package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +0 -10
  1199. package/lib/shared/views/CometChatCard/CometChatCardStyle.js +0 -17
  1200. package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +0 -1
  1201. package/lib/shared/views/CometChatCard/index.d.ts +0 -3
  1202. package/lib/shared/views/CometChatCard/index.js +0 -4
  1203. package/lib/shared/views/CometChatCard/index.js.map +0 -1
  1204. package/lib/shared/views/CometChatCard/style.d.ts +0 -11
  1205. package/lib/shared/views/CometChatCard/style.js +0 -13
  1206. package/lib/shared/views/CometChatCard/style.js.map +0 -1
  1207. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -25
  1208. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +0 -90
  1209. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +0 -1
  1210. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +0 -24
  1211. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +0 -19
  1212. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +0 -1
  1213. package/lib/shared/views/CometChatConfirmDialog/index.d.ts +0 -3
  1214. package/lib/shared/views/CometChatConfirmDialog/index.js +0 -3
  1215. package/lib/shared/views/CometChatConfirmDialog/index.js.map +0 -1
  1216. package/lib/shared/views/CometChatConfirmDialog/style.d.ts +0 -61
  1217. package/lib/shared/views/CometChatConfirmDialog/style.js +0 -63
  1218. package/lib/shared/views/CometChatConfirmDialog/style.js.map +0 -1
  1219. package/lib/shared/views/CometChatDate/CometChatDate.d.ts +0 -41
  1220. package/lib/shared/views/CometChatDate/CometChatDate.js +0 -140
  1221. package/lib/shared/views/CometChatDate/CometChatDate.js.map +0 -1
  1222. package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +0 -21
  1223. package/lib/shared/views/CometChatDate/DateConfiguration.js +0 -19
  1224. package/lib/shared/views/CometChatDate/DateConfiguration.js.map +0 -1
  1225. package/lib/shared/views/CometChatDate/DateStyle.d.ts +0 -11
  1226. package/lib/shared/views/CometChatDate/DateStyle.js +0 -16
  1227. package/lib/shared/views/CometChatDate/DateStyle.js.map +0 -1
  1228. package/lib/shared/views/CometChatDate/index.d.ts +0 -4
  1229. package/lib/shared/views/CometChatDate/index.js +0 -5
  1230. package/lib/shared/views/CometChatDate/index.js.map +0 -1
  1231. package/lib/shared/views/CometChatDate/style.d.ts +0 -5
  1232. package/lib/shared/views/CometChatDate/style.js +0 -8
  1233. package/lib/shared/views/CometChatDate/style.js.map +0 -1
  1234. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -38
  1235. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +0 -153
  1236. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +0 -1
  1237. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +0 -16
  1238. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +0 -17
  1239. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +0 -1
  1240. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +0 -21
  1241. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +0 -22
  1242. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +0 -1
  1243. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +0 -19
  1244. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +0 -20
  1245. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +0 -1
  1246. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +0 -27
  1247. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +0 -33
  1248. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +0 -1
  1249. package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
  1250. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +0 -8218
  1251. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +0 -1
  1252. package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +0 -4
  1253. package/lib/shared/views/CometChatEmojiKeyboard/index.js +0 -5
  1254. package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +0 -1
  1255. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +0 -9
  1256. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +0 -10
  1257. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +0 -1
  1258. package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +0 -44
  1259. package/lib/shared/views/CometChatEmojiKeyboard/style.js +0 -57
  1260. package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +0 -1
  1261. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +0 -35
  1262. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +0 -66
  1263. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +0 -1
  1264. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +0 -31
  1265. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +0 -23
  1266. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +0 -1
  1267. package/lib/shared/views/CometChatFileBubble/index.d.ts +0 -3
  1268. package/lib/shared/views/CometChatFileBubble/index.js +0 -4
  1269. package/lib/shared/views/CometChatFileBubble/index.js.map +0 -1
  1270. package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +0 -3
  1271. package/lib/shared/views/CometChatFileBubble/resources/index.js +0 -4
  1272. package/lib/shared/views/CometChatFileBubble/resources/index.js.map +0 -1
  1273. package/lib/shared/views/CometChatFileBubble/style.d.ts +0 -42
  1274. package/lib/shared/views/CometChatFileBubble/style.js +0 -45
  1275. package/lib/shared/views/CometChatFileBubble/style.js.map +0 -1
  1276. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +0 -29
  1277. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +0 -52
  1278. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +0 -1
  1279. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +0 -10
  1280. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +0 -13
  1281. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +0 -1
  1282. package/lib/shared/views/CometChatImageBubble/index.d.ts +0 -3
  1283. package/lib/shared/views/CometChatImageBubble/index.js +0 -4
  1284. package/lib/shared/views/CometChatImageBubble/index.js.map +0 -1
  1285. package/lib/shared/views/CometChatList/CometChatList.d.ts +0 -86
  1286. package/lib/shared/views/CometChatList/CometChatList.js +0 -443
  1287. package/lib/shared/views/CometChatList/CometChatList.js.map +0 -1
  1288. package/lib/shared/views/CometChatList/Header.d.ts +0 -2
  1289. package/lib/shared/views/CometChatList/Header.js +0 -71
  1290. package/lib/shared/views/CometChatList/Header.js.map +0 -1
  1291. package/lib/shared/views/CometChatList/index.d.ts +0 -2
  1292. package/lib/shared/views/CometChatList/index.js +0 -3
  1293. package/lib/shared/views/CometChatList/index.js.map +0 -1
  1294. package/lib/shared/views/CometChatList/resources/index.d.ts +0 -7
  1295. package/lib/shared/views/CometChatList/resources/index.js +0 -13
  1296. package/lib/shared/views/CometChatList/resources/index.js.map +0 -1
  1297. package/lib/shared/views/CometChatList/styles.d.ts +0 -99
  1298. package/lib/shared/views/CometChatList/styles.js +0 -102
  1299. package/lib/shared/views/CometChatList/styles.js.map +0 -1
  1300. package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +0 -37
  1301. package/lib/shared/views/CometChatListItem/CometChatListItem.js +0 -173
  1302. package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +0 -1
  1303. package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +0 -6
  1304. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +0 -9
  1305. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +0 -1
  1306. package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +0 -27
  1307. package/lib/shared/views/CometChatListItem/ListItemStyle.js +0 -34
  1308. package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +0 -1
  1309. package/lib/shared/views/CometChatListItem/index.d.ts +0 -4
  1310. package/lib/shared/views/CometChatListItem/index.js +0 -5
  1311. package/lib/shared/views/CometChatListItem/index.js.map +0 -1
  1312. package/lib/shared/views/CometChatListItem/style.d.ts +0 -61
  1313. package/lib/shared/views/CometChatListItem/style.js +0 -61
  1314. package/lib/shared/views/CometChatListItem/style.js.map +0 -1
  1315. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -25
  1316. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +0 -151
  1317. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +0 -1
  1318. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +0 -26
  1319. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +0 -33
  1320. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +0 -1
  1321. package/lib/shared/views/CometChatMediaRecorder/index.d.ts +0 -3
  1322. package/lib/shared/views/CometChatMediaRecorder/index.js +0 -4
  1323. package/lib/shared/views/CometChatMediaRecorder/index.js.map +0 -1
  1324. package/lib/shared/views/CometChatMediaRecorder/style.d.ts +0 -27
  1325. package/lib/shared/views/CometChatMediaRecorder/style.js +0 -28
  1326. package/lib/shared/views/CometChatMediaRecorder/style.js.map +0 -1
  1327. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -21
  1328. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +0 -41
  1329. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +0 -1
  1330. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +0 -6
  1331. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +0 -13
  1332. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +0 -1
  1333. package/lib/shared/views/CometChatMessageBubble/index.d.ts +0 -2
  1334. package/lib/shared/views/CometChatMessageBubble/index.js +0 -3
  1335. package/lib/shared/views/CometChatMessageBubble/index.js.map +0 -1
  1336. package/lib/shared/views/CometChatMessageBubble/style.js +0 -1
  1337. package/lib/shared/views/CometChatMessageBubble/style.js.map +0 -1
  1338. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +0 -98
  1339. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +0 -50
  1340. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +0 -1
  1341. package/lib/shared/views/CometChatMessageInput/index.d.ts +0 -2
  1342. package/lib/shared/views/CometChatMessageInput/index.js +0 -3
  1343. package/lib/shared/views/CometChatMessageInput/index.js.map +0 -1
  1344. package/lib/shared/views/CometChatMessageInput/styles.d.ts +0 -7
  1345. package/lib/shared/views/CometChatMessageInput/styles.js +0 -9
  1346. package/lib/shared/views/CometChatMessageInput/styles.js.map +0 -1
  1347. package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +0 -30
  1348. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +0 -48
  1349. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +0 -1
  1350. package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +0 -30
  1351. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +0 -39
  1352. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +0 -1
  1353. package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +0 -3
  1354. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +0 -4
  1355. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +0 -1
  1356. package/lib/shared/views/CometChatReceipt/index.d.ts +0 -3
  1357. package/lib/shared/views/CometChatReceipt/index.js +0 -4
  1358. package/lib/shared/views/CometChatReceipt/index.js.map +0 -1
  1359. package/lib/shared/views/CometChatReceipt/resources/index.d.ts +0 -7
  1360. package/lib/shared/views/CometChatReceipt/resources/index.js +0 -18
  1361. package/lib/shared/views/CometChatReceipt/resources/index.js.map +0 -1
  1362. package/lib/shared/views/CometChatReceipt/style.d.ts +0 -8
  1363. package/lib/shared/views/CometChatReceipt/style.js +0 -10
  1364. package/lib/shared/views/CometChatReceipt/style.js.map +0 -1
  1365. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +0 -25
  1366. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +0 -40
  1367. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +0 -1
  1368. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +0 -17
  1369. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +0 -16
  1370. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +0 -1
  1371. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +0 -20
  1372. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +0 -22
  1373. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +0 -1
  1374. package/lib/shared/views/CometChatStatusIndicator/index.d.ts +0 -4
  1375. package/lib/shared/views/CometChatStatusIndicator/index.js +0 -5
  1376. package/lib/shared/views/CometChatStatusIndicator/index.js.map +0 -1
  1377. package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +0 -12
  1378. package/lib/shared/views/CometChatStatusIndicator/styles.js +0 -15
  1379. package/lib/shared/views/CometChatStatusIndicator/styles.js.map +0 -1
  1380. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +0 -27
  1381. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +0 -84
  1382. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +0 -1
  1383. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +0 -26
  1384. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +0 -21
  1385. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +0 -1
  1386. package/lib/shared/views/CometChatTextBubble/index.d.ts +0 -3
  1387. package/lib/shared/views/CometChatTextBubble/index.js +0 -4
  1388. package/lib/shared/views/CometChatTextBubble/index.js.map +0 -1
  1389. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -31
  1390. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +0 -54
  1391. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +0 -1
  1392. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +0 -16
  1393. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +0 -17
  1394. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +0 -1
  1395. package/lib/shared/views/CometChatVideoBubble/index.d.ts +0 -3
  1396. package/lib/shared/views/CometChatVideoBubble/index.js +0 -4
  1397. package/lib/shared/views/CometChatVideoBubble/index.js.map +0 -1
  1398. package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +0 -2
  1399. package/lib/shared/views/CometChatVideoBubble/resources/index.js +0 -3
  1400. package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +0 -1
  1401. package/lib/shared/views/CometChatVideoBubble/style.d.ts +0 -7
  1402. package/lib/shared/views/CometChatVideoBubble/style.js +0 -9
  1403. package/lib/shared/views/CometChatVideoBubble/style.js.map +0 -1
  1404. package/lib/shared/views/SwipeRow/SwipeRow.d.ts +0 -8
  1405. package/lib/shared/views/SwipeRow/SwipeRow.js +0 -79
  1406. package/lib/shared/views/SwipeRow/SwipeRow.js.map +0 -1
  1407. package/lib/shared/views/SwipeRow/index.d.ts +0 -2
  1408. package/lib/shared/views/SwipeRow/index.js +0 -3
  1409. package/lib/shared/views/SwipeRow/index.js.map +0 -1
  1410. package/lib/shared/views/SwipeRow/style.d.ts +0 -28
  1411. package/lib/shared/views/SwipeRow/style.js +0 -28
  1412. package/lib/shared/views/SwipeRow/style.js.map +0 -1
  1413. package/lib/shared/views/index.d.ts +0 -18
  1414. package/lib/shared/views/index.js +0 -21
  1415. package/lib/shared/views/index.js.map +0 -1
  1416. /package/{lib/shared/views/CometChatMessageBubble/style.d.ts → android/.gradle/7.4.2/gc.properties} +0 -0
@@ -0,0 +1,990 @@
1
+ import { InvalidArgumentError, InvalidDurationError, InvalidUnitError } from "./errors.js";
2
+ import Formatter from "./impl/formatter.js";
3
+ import Invalid from "./impl/invalid.js";
4
+ import Locale from "./impl/locale.js";
5
+ import { parseISODuration, parseISOTimeOnly } from "./impl/regexParser.js";
6
+ import {
7
+ asNumber,
8
+ hasOwnProperty,
9
+ isNumber,
10
+ isUndefined,
11
+ normalizeObject,
12
+ roundTo,
13
+ } from "./impl/util.js";
14
+ import Settings from "./settings.js";
15
+ import DateTime from "./datetime.js";
16
+
17
+ const INVALID = "Invalid Duration";
18
+
19
+ // unit conversion constants
20
+ export const lowOrderMatrix = {
21
+ weeks: {
22
+ days: 7,
23
+ hours: 7 * 24,
24
+ minutes: 7 * 24 * 60,
25
+ seconds: 7 * 24 * 60 * 60,
26
+ milliseconds: 7 * 24 * 60 * 60 * 1000,
27
+ },
28
+ days: {
29
+ hours: 24,
30
+ minutes: 24 * 60,
31
+ seconds: 24 * 60 * 60,
32
+ milliseconds: 24 * 60 * 60 * 1000,
33
+ },
34
+ hours: { minutes: 60, seconds: 60 * 60, milliseconds: 60 * 60 * 1000 },
35
+ minutes: { seconds: 60, milliseconds: 60 * 1000 },
36
+ seconds: { milliseconds: 1000 },
37
+ },
38
+ casualMatrix = {
39
+ years: {
40
+ quarters: 4,
41
+ months: 12,
42
+ weeks: 52,
43
+ days: 365,
44
+ hours: 365 * 24,
45
+ minutes: 365 * 24 * 60,
46
+ seconds: 365 * 24 * 60 * 60,
47
+ milliseconds: 365 * 24 * 60 * 60 * 1000,
48
+ },
49
+ quarters: {
50
+ months: 3,
51
+ weeks: 13,
52
+ days: 91,
53
+ hours: 91 * 24,
54
+ minutes: 91 * 24 * 60,
55
+ seconds: 91 * 24 * 60 * 60,
56
+ milliseconds: 91 * 24 * 60 * 60 * 1000,
57
+ },
58
+ months: {
59
+ weeks: 4,
60
+ days: 30,
61
+ hours: 30 * 24,
62
+ minutes: 30 * 24 * 60,
63
+ seconds: 30 * 24 * 60 * 60,
64
+ milliseconds: 30 * 24 * 60 * 60 * 1000,
65
+ },
66
+
67
+ ...lowOrderMatrix,
68
+ },
69
+ daysInYearAccurate = 146097.0 / 400,
70
+ daysInMonthAccurate = 146097.0 / 4800,
71
+ accurateMatrix = {
72
+ years: {
73
+ quarters: 4,
74
+ months: 12,
75
+ weeks: daysInYearAccurate / 7,
76
+ days: daysInYearAccurate,
77
+ hours: daysInYearAccurate * 24,
78
+ minutes: daysInYearAccurate * 24 * 60,
79
+ seconds: daysInYearAccurate * 24 * 60 * 60,
80
+ milliseconds: daysInYearAccurate * 24 * 60 * 60 * 1000,
81
+ },
82
+ quarters: {
83
+ months: 3,
84
+ weeks: daysInYearAccurate / 28,
85
+ days: daysInYearAccurate / 4,
86
+ hours: (daysInYearAccurate * 24) / 4,
87
+ minutes: (daysInYearAccurate * 24 * 60) / 4,
88
+ seconds: (daysInYearAccurate * 24 * 60 * 60) / 4,
89
+ milliseconds: (daysInYearAccurate * 24 * 60 * 60 * 1000) / 4,
90
+ },
91
+ months: {
92
+ weeks: daysInMonthAccurate / 7,
93
+ days: daysInMonthAccurate,
94
+ hours: daysInMonthAccurate * 24,
95
+ minutes: daysInMonthAccurate * 24 * 60,
96
+ seconds: daysInMonthAccurate * 24 * 60 * 60,
97
+ milliseconds: daysInMonthAccurate * 24 * 60 * 60 * 1000,
98
+ },
99
+ ...lowOrderMatrix,
100
+ };
101
+
102
+ // units ordered by size
103
+ const orderedUnits = [
104
+ "years",
105
+ "quarters",
106
+ "months",
107
+ "weeks",
108
+ "days",
109
+ "hours",
110
+ "minutes",
111
+ "seconds",
112
+ "milliseconds",
113
+ ];
114
+
115
+ const reverseUnits = orderedUnits.slice(0).reverse();
116
+
117
+ // clone really means "create another instance just like this one, but with these changes"
118
+ function clone(dur, alts, clear = false) {
119
+ // deep merge for vals
120
+ const conf = {
121
+ values: clear ? alts.values : { ...dur.values, ...(alts.values || {}) },
122
+ loc: dur.loc.clone(alts.loc),
123
+ conversionAccuracy: alts.conversionAccuracy || dur.conversionAccuracy,
124
+ matrix: alts.matrix || dur.matrix,
125
+ };
126
+ return new Duration(conf);
127
+ }
128
+
129
+ function durationToMillis(matrix, vals) {
130
+ let sum = vals.milliseconds ?? 0;
131
+ for (const unit of reverseUnits.slice(1)) {
132
+ if (vals[unit]) {
133
+ sum += vals[unit] * matrix[unit]["milliseconds"];
134
+ }
135
+ }
136
+ return sum;
137
+ }
138
+
139
+ // NB: mutates parameters
140
+ function normalizeValues(matrix, vals) {
141
+ // the logic below assumes the overall value of the duration is positive
142
+ // if this is not the case, factor is used to make it so
143
+ const factor = durationToMillis(matrix, vals) < 0 ? -1 : 1;
144
+
145
+ orderedUnits.reduceRight((previous, current) => {
146
+ if (!isUndefined(vals[current])) {
147
+ if (previous) {
148
+ const previousVal = vals[previous] * factor;
149
+ const conv = matrix[current][previous];
150
+
151
+ // if (previousVal < 0):
152
+ // lower order unit is negative (e.g. { years: 2, days: -2 })
153
+ // normalize this by reducing the higher order unit by the appropriate amount
154
+ // and increasing the lower order unit
155
+ // this can never make the higher order unit negative, because this function only operates
156
+ // on positive durations, so the amount of time represented by the lower order unit cannot
157
+ // be larger than the higher order unit
158
+ // else:
159
+ // lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
160
+ // in this case we attempt to convert as much as possible from the lower order unit into
161
+ // the higher order one
162
+ //
163
+ // Math.floor takes care of both of these cases, rounding away from 0
164
+ // if previousVal < 0 it makes the absolute value larger
165
+ // if previousVal >= it makes the absolute value smaller
166
+ const rollUp = Math.floor(previousVal / conv);
167
+ vals[current] += rollUp * factor;
168
+ vals[previous] -= rollUp * conv * factor;
169
+ }
170
+ return current;
171
+ } else {
172
+ return previous;
173
+ }
174
+ }, null);
175
+
176
+ // try to convert any decimals into smaller units if possible
177
+ // for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
178
+ orderedUnits.reduce((previous, current) => {
179
+ if (!isUndefined(vals[current])) {
180
+ if (previous) {
181
+ const fraction = vals[previous] % 1;
182
+ vals[previous] -= fraction;
183
+ vals[current] += fraction * matrix[previous][current];
184
+ }
185
+ return current;
186
+ } else {
187
+ return previous;
188
+ }
189
+ }, null);
190
+ }
191
+
192
+ // Remove all properties with a value of 0 from an object
193
+ function removeZeroes(vals) {
194
+ const newVals = {};
195
+ for (const [key, value] of Object.entries(vals)) {
196
+ if (value !== 0) {
197
+ newVals[key] = value;
198
+ }
199
+ }
200
+ return newVals;
201
+ }
202
+
203
+ /**
204
+ * A Duration object represents a period of time, like "2 months" or "1 day, 1 hour". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime#plus} to add a Duration object to a DateTime, producing another DateTime.
205
+ *
206
+ * Here is a brief overview of commonly used methods and getters in Duration:
207
+ *
208
+ * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.
209
+ * * **Unit values** See the {@link Duration#years}, {@link Duration#months}, {@link Duration#weeks}, {@link Duration#days}, {@link Duration#hours}, {@link Duration#minutes}, {@link Duration#seconds}, {@link Duration#milliseconds} accessors.
210
+ * * **Configuration** See {@link Duration#locale} and {@link Duration#numberingSystem} accessors.
211
+ * * **Transformation** To create new Durations out of old ones use {@link Duration#plus}, {@link Duration#minus}, {@link Duration#normalize}, {@link Duration#set}, {@link Duration#reconfigure}, {@link Duration#shiftTo}, and {@link Duration#negate}.
212
+ * * **Output** To convert the Duration into other representations, see {@link Duration#as}, {@link Duration#toISO}, {@link Duration#toFormat}, and {@link Duration#toJSON}
213
+ *
214
+ * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.
215
+ */
216
+ export default class Duration {
217
+ /**
218
+ * @private
219
+ */
220
+ constructor(config) {
221
+ const accurate = config.conversionAccuracy === "longterm" || false;
222
+ let matrix = accurate ? accurateMatrix : casualMatrix;
223
+
224
+ if (config.matrix) {
225
+ matrix = config.matrix;
226
+ }
227
+
228
+ /**
229
+ * @access private
230
+ */
231
+ this.values = config.values;
232
+ /**
233
+ * @access private
234
+ */
235
+ this.loc = config.loc || Locale.create();
236
+ /**
237
+ * @access private
238
+ */
239
+ this.conversionAccuracy = accurate ? "longterm" : "casual";
240
+ /**
241
+ * @access private
242
+ */
243
+ this.invalid = config.invalid || null;
244
+ /**
245
+ * @access private
246
+ */
247
+ this.matrix = matrix;
248
+ /**
249
+ * @access private
250
+ */
251
+ this.isLuxonDuration = true;
252
+ }
253
+
254
+ /**
255
+ * Create Duration from a number of milliseconds.
256
+ * @param {number} count of milliseconds
257
+ * @param {Object} opts - options for parsing
258
+ * @param {string} [opts.locale='en-US'] - the locale to use
259
+ * @param {string} opts.numberingSystem - the numbering system to use
260
+ * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
261
+ * @return {Duration}
262
+ */
263
+ static fromMillis(count, opts) {
264
+ return Duration.fromObject({ milliseconds: count }, opts);
265
+ }
266
+
267
+ /**
268
+ * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
269
+ * If this object is empty then a zero milliseconds duration is returned.
270
+ * @param {Object} obj - the object to create the DateTime from
271
+ * @param {number} obj.years
272
+ * @param {number} obj.quarters
273
+ * @param {number} obj.months
274
+ * @param {number} obj.weeks
275
+ * @param {number} obj.days
276
+ * @param {number} obj.hours
277
+ * @param {number} obj.minutes
278
+ * @param {number} obj.seconds
279
+ * @param {number} obj.milliseconds
280
+ * @param {Object} [opts=[]] - options for creating this Duration
281
+ * @param {string} [opts.locale='en-US'] - the locale to use
282
+ * @param {string} opts.numberingSystem - the numbering system to use
283
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
284
+ * @param {string} [opts.matrix=Object] - the custom conversion system to use
285
+ * @return {Duration}
286
+ */
287
+ static fromObject(obj, opts = {}) {
288
+ if (obj == null || typeof obj !== "object") {
289
+ throw new InvalidArgumentError(
290
+ `Duration.fromObject: argument expected to be an object, got ${
291
+ obj === null ? "null" : typeof obj
292
+ }`
293
+ );
294
+ }
295
+
296
+ return new Duration({
297
+ values: normalizeObject(obj, Duration.normalizeUnit),
298
+ loc: Locale.fromObject(opts),
299
+ conversionAccuracy: opts.conversionAccuracy,
300
+ matrix: opts.matrix,
301
+ });
302
+ }
303
+
304
+ /**
305
+ * Create a Duration from DurationLike.
306
+ *
307
+ * @param {Object | number | Duration} durationLike
308
+ * One of:
309
+ * - object with keys like 'years' and 'hours'.
310
+ * - number representing milliseconds
311
+ * - Duration instance
312
+ * @return {Duration}
313
+ */
314
+ static fromDurationLike(durationLike) {
315
+ if (isNumber(durationLike)) {
316
+ return Duration.fromMillis(durationLike);
317
+ } else if (Duration.isDuration(durationLike)) {
318
+ return durationLike;
319
+ } else if (typeof durationLike === "object") {
320
+ return Duration.fromObject(durationLike);
321
+ } else {
322
+ throw new InvalidArgumentError(
323
+ `Unknown duration argument ${durationLike} of type ${typeof durationLike}`
324
+ );
325
+ }
326
+ }
327
+
328
+ /**
329
+ * Create a Duration from an ISO 8601 duration string.
330
+ * @param {string} text - text to parse
331
+ * @param {Object} opts - options for parsing
332
+ * @param {string} [opts.locale='en-US'] - the locale to use
333
+ * @param {string} opts.numberingSystem - the numbering system to use
334
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
335
+ * @param {string} [opts.matrix=Object] - the preset conversion system to use
336
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
337
+ * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
338
+ * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
339
+ * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
340
+ * @return {Duration}
341
+ */
342
+ static fromISO(text, opts) {
343
+ const [parsed] = parseISODuration(text);
344
+ if (parsed) {
345
+ return Duration.fromObject(parsed, opts);
346
+ } else {
347
+ return Duration.invalid("unparsable", `the input "${text}" can't be parsed as ISO 8601`);
348
+ }
349
+ }
350
+
351
+ /**
352
+ * Create a Duration from an ISO 8601 time string.
353
+ * @param {string} text - text to parse
354
+ * @param {Object} opts - options for parsing
355
+ * @param {string} [opts.locale='en-US'] - the locale to use
356
+ * @param {string} opts.numberingSystem - the numbering system to use
357
+ * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
358
+ * @param {string} [opts.matrix=Object] - the conversion system to use
359
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
360
+ * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }
361
+ * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
362
+ * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
363
+ * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
364
+ * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
365
+ * @return {Duration}
366
+ */
367
+ static fromISOTime(text, opts) {
368
+ const [parsed] = parseISOTimeOnly(text);
369
+ if (parsed) {
370
+ return Duration.fromObject(parsed, opts);
371
+ } else {
372
+ return Duration.invalid("unparsable", `the input "${text}" can't be parsed as ISO 8601`);
373
+ }
374
+ }
375
+
376
+ /**
377
+ * Create an invalid Duration.
378
+ * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent
379
+ * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
380
+ * @return {Duration}
381
+ */
382
+ static invalid(reason, explanation = null) {
383
+ if (!reason) {
384
+ throw new InvalidArgumentError("need to specify a reason the Duration is invalid");
385
+ }
386
+
387
+ const invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);
388
+
389
+ if (Settings.throwOnInvalid) {
390
+ throw new InvalidDurationError(invalid);
391
+ } else {
392
+ return new Duration({ invalid });
393
+ }
394
+ }
395
+
396
+ /**
397
+ * @private
398
+ */
399
+ static normalizeUnit(unit) {
400
+ const normalized = {
401
+ year: "years",
402
+ years: "years",
403
+ quarter: "quarters",
404
+ quarters: "quarters",
405
+ month: "months",
406
+ months: "months",
407
+ week: "weeks",
408
+ weeks: "weeks",
409
+ day: "days",
410
+ days: "days",
411
+ hour: "hours",
412
+ hours: "hours",
413
+ minute: "minutes",
414
+ minutes: "minutes",
415
+ second: "seconds",
416
+ seconds: "seconds",
417
+ millisecond: "milliseconds",
418
+ milliseconds: "milliseconds",
419
+ }[unit ? unit.toLowerCase() : unit];
420
+
421
+ if (!normalized) throw new InvalidUnitError(unit);
422
+
423
+ return normalized;
424
+ }
425
+
426
+ /**
427
+ * Check if an object is a Duration. Works across context boundaries
428
+ * @param {object} o
429
+ * @return {boolean}
430
+ */
431
+ static isDuration(o) {
432
+ return (o && o.isLuxonDuration) || false;
433
+ }
434
+
435
+ /**
436
+ * Get the locale of a Duration, such 'en-GB'
437
+ * @type {string}
438
+ */
439
+ get locale() {
440
+ return this.isValid ? this.loc.locale : null;
441
+ }
442
+
443
+ /**
444
+ * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration
445
+ *
446
+ * @type {string}
447
+ */
448
+ get numberingSystem() {
449
+ return this.isValid ? this.loc.numberingSystem : null;
450
+ }
451
+
452
+ /**
453
+ * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:
454
+ * * `S` for milliseconds
455
+ * * `s` for seconds
456
+ * * `m` for minutes
457
+ * * `h` for hours
458
+ * * `d` for days
459
+ * * `w` for weeks
460
+ * * `M` for months
461
+ * * `y` for years
462
+ * Notes:
463
+ * * Add padding by repeating the token, e.g. "yy" pads the years to two digits, "hhhh" pads the hours out to four digits
464
+ * * Tokens can be escaped by wrapping with single quotes.
465
+ * * The duration will be converted to the set of units in the format string using {@link Duration#shiftTo} and the Durations's conversion accuracy setting.
466
+ * @param {string} fmt - the format string
467
+ * @param {Object} opts - options
468
+ * @param {boolean} [opts.floor=true] - floor numerical values
469
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
470
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
471
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
472
+ * @return {string}
473
+ */
474
+ toFormat(fmt, opts = {}) {
475
+ // reverse-compat since 1.2; we always round down now, never up, and we do it by default
476
+ const fmtOpts = {
477
+ ...opts,
478
+ floor: opts.round !== false && opts.floor !== false,
479
+ };
480
+ return this.isValid
481
+ ? Formatter.create(this.loc, fmtOpts).formatDurationFromString(this, fmt)
482
+ : INVALID;
483
+ }
484
+
485
+ /**
486
+ * Returns a string representation of a Duration with all units included.
487
+ * To modify its behavior, use `listStyle` and any Intl.NumberFormat option, though `unitDisplay` is especially relevant.
488
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options
489
+ * @param {Object} opts - Formatting options. Accepts the same keys as the options parameter of the native `Intl.NumberFormat` constructor, as well as `listStyle`.
490
+ * @param {string} [opts.listStyle='narrow'] - How to format the merged list. Corresponds to the `style` property of the options parameter of the native `Intl.ListFormat` constructor.
491
+ * @example
492
+ * ```js
493
+ * var dur = Duration.fromObject({ days: 1, hours: 5, minutes: 6 })
494
+ * dur.toHuman() //=> '1 day, 5 hours, 6 minutes'
495
+ * dur.toHuman({ listStyle: "long" }) //=> '1 day, 5 hours, and 6 minutes'
496
+ * dur.toHuman({ unitDisplay: "short" }) //=> '1 day, 5 hr, 6 min'
497
+ * ```
498
+ */
499
+ toHuman(opts = {}) {
500
+ if (!this.isValid) return INVALID;
501
+
502
+ const l = orderedUnits
503
+ .map((unit) => {
504
+ const val = this.values[unit];
505
+ if (isUndefined(val)) {
506
+ return null;
507
+ }
508
+ return this.loc
509
+ .numberFormatter({ style: "unit", unitDisplay: "long", ...opts, unit: unit.slice(0, -1) })
510
+ .format(val);
511
+ })
512
+ .filter((n) => n);
513
+
514
+ return this.loc
515
+ .listFormatter({ type: "conjunction", style: opts.listStyle || "narrow", ...opts })
516
+ .format(l);
517
+ }
518
+
519
+ /**
520
+ * Returns a JavaScript object with this Duration's values.
521
+ * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
522
+ * @return {Object}
523
+ */
524
+ toObject() {
525
+ if (!this.isValid) return {};
526
+ return { ...this.values };
527
+ }
528
+
529
+ /**
530
+ * Returns an ISO 8601-compliant string representation of this Duration.
531
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
532
+ * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'
533
+ * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'
534
+ * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'
535
+ * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'
536
+ * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'
537
+ * @return {string}
538
+ */
539
+ toISO() {
540
+ // we could use the formatter, but this is an easier way to get the minimum string
541
+ if (!this.isValid) return null;
542
+
543
+ let s = "P";
544
+ if (this.years !== 0) s += this.years + "Y";
545
+ if (this.months !== 0 || this.quarters !== 0) s += this.months + this.quarters * 3 + "M";
546
+ if (this.weeks !== 0) s += this.weeks + "W";
547
+ if (this.days !== 0) s += this.days + "D";
548
+ if (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0)
549
+ s += "T";
550
+ if (this.hours !== 0) s += this.hours + "H";
551
+ if (this.minutes !== 0) s += this.minutes + "M";
552
+ if (this.seconds !== 0 || this.milliseconds !== 0)
553
+ // this will handle "floating point madness" by removing extra decimal places
554
+ // https://stackoverflow.com/questions/588004/is-floating-point-math-broken
555
+ s += roundTo(this.seconds + this.milliseconds / 1000, 3) + "S";
556
+ if (s === "P") s += "T0S";
557
+ return s;
558
+ }
559
+
560
+ /**
561
+ * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
562
+ * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.
563
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Times
564
+ * @param {Object} opts - options
565
+ * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
566
+ * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
567
+ * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
568
+ * @param {string} [opts.format='extended'] - choose between the basic and extended format
569
+ * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'
570
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'
571
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'
572
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'
573
+ * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'
574
+ * @return {string}
575
+ */
576
+ toISOTime(opts = {}) {
577
+ if (!this.isValid) return null;
578
+
579
+ const millis = this.toMillis();
580
+ if (millis < 0 || millis >= 86400000) return null;
581
+
582
+ opts = {
583
+ suppressMilliseconds: false,
584
+ suppressSeconds: false,
585
+ includePrefix: false,
586
+ format: "extended",
587
+ ...opts,
588
+ includeOffset: false,
589
+ };
590
+
591
+ const dateTime = DateTime.fromMillis(millis, { zone: "UTC" });
592
+ return dateTime.toISOTime(opts);
593
+ }
594
+
595
+ /**
596
+ * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
597
+ * @return {string}
598
+ */
599
+ toJSON() {
600
+ return this.toISO();
601
+ }
602
+
603
+ /**
604
+ * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.
605
+ * @return {string}
606
+ */
607
+ toString() {
608
+ return this.toISO();
609
+ }
610
+
611
+ /**
612
+ * Returns a string representation of this Duration appropriate for the REPL.
613
+ * @return {string}
614
+ */
615
+ [Symbol.for("nodejs.util.inspect.custom")]() {
616
+ if (this.isValid) {
617
+ return `Duration { values: ${JSON.stringify(this.values)} }`;
618
+ } else {
619
+ return `Duration { Invalid, reason: ${this.invalidReason} }`;
620
+ }
621
+ }
622
+
623
+ /**
624
+ * Returns an milliseconds value of this Duration.
625
+ * @return {number}
626
+ */
627
+ toMillis() {
628
+ if (!this.isValid) return NaN;
629
+
630
+ return durationToMillis(this.matrix, this.values);
631
+ }
632
+
633
+ /**
634
+ * Returns an milliseconds value of this Duration. Alias of {@link toMillis}
635
+ * @return {number}
636
+ */
637
+ valueOf() {
638
+ return this.toMillis();
639
+ }
640
+
641
+ /**
642
+ * Make this Duration longer by the specified amount. Return a newly-constructed Duration.
643
+ * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
644
+ * @return {Duration}
645
+ */
646
+ plus(duration) {
647
+ if (!this.isValid) return this;
648
+
649
+ const dur = Duration.fromDurationLike(duration),
650
+ result = {};
651
+
652
+ for (const k of orderedUnits) {
653
+ if (hasOwnProperty(dur.values, k) || hasOwnProperty(this.values, k)) {
654
+ result[k] = dur.get(k) + this.get(k);
655
+ }
656
+ }
657
+
658
+ return clone(this, { values: result }, true);
659
+ }
660
+
661
+ /**
662
+ * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
663
+ * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
664
+ * @return {Duration}
665
+ */
666
+ minus(duration) {
667
+ if (!this.isValid) return this;
668
+
669
+ const dur = Duration.fromDurationLike(duration);
670
+ return this.plus(dur.negate());
671
+ }
672
+
673
+ /**
674
+ * Scale this Duration by the specified amount. Return a newly-constructed Duration.
675
+ * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.
676
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits(x => x * 2) //=> { hours: 2, minutes: 60 }
677
+ * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits((x, u) => u === "hours" ? x * 2 : x) //=> { hours: 2, minutes: 30 }
678
+ * @return {Duration}
679
+ */
680
+ mapUnits(fn) {
681
+ if (!this.isValid) return this;
682
+ const result = {};
683
+ for (const k of Object.keys(this.values)) {
684
+ result[k] = asNumber(fn(this.values[k], k));
685
+ }
686
+ return clone(this, { values: result }, true);
687
+ }
688
+
689
+ /**
690
+ * Get the value of unit.
691
+ * @param {string} unit - a unit such as 'minute' or 'day'
692
+ * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2
693
+ * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0
694
+ * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3
695
+ * @return {number}
696
+ */
697
+ get(unit) {
698
+ return this[Duration.normalizeUnit(unit)];
699
+ }
700
+
701
+ /**
702
+ * "Set" the values of specified units. Return a newly-constructed Duration.
703
+ * @param {Object} values - a mapping of units to numbers
704
+ * @example dur.set({ years: 2017 })
705
+ * @example dur.set({ hours: 8, minutes: 30 })
706
+ * @return {Duration}
707
+ */
708
+ set(values) {
709
+ if (!this.isValid) return this;
710
+
711
+ const mixed = { ...this.values, ...normalizeObject(values, Duration.normalizeUnit) };
712
+ return clone(this, { values: mixed });
713
+ }
714
+
715
+ /**
716
+ * "Set" the locale and/or numberingSystem. Returns a newly-constructed Duration.
717
+ * @example dur.reconfigure({ locale: 'en-GB' })
718
+ * @return {Duration}
719
+ */
720
+ reconfigure({ locale, numberingSystem, conversionAccuracy, matrix } = {}) {
721
+ const loc = this.loc.clone({ locale, numberingSystem });
722
+ const opts = { loc, matrix, conversionAccuracy };
723
+ return clone(this, opts);
724
+ }
725
+
726
+ /**
727
+ * Return the length of the duration in the specified unit.
728
+ * @param {string} unit - a unit such as 'minutes' or 'days'
729
+ * @example Duration.fromObject({years: 1}).as('days') //=> 365
730
+ * @example Duration.fromObject({years: 1}).as('months') //=> 12
731
+ * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5
732
+ * @return {number}
733
+ */
734
+ as(unit) {
735
+ return this.isValid ? this.shiftTo(unit).get(unit) : NaN;
736
+ }
737
+
738
+ /**
739
+ * Reduce this Duration to its canonical representation in its current units.
740
+ * Assuming the overall value of the Duration is positive, this means:
741
+ * - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
742
+ * - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
743
+ * the overall value would be negative, see third example)
744
+ * - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
745
+ *
746
+ * If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
747
+ * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
748
+ * @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
749
+ * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
750
+ * @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
751
+ * @return {Duration}
752
+ */
753
+ normalize() {
754
+ if (!this.isValid) return this;
755
+ const vals = this.toObject();
756
+ normalizeValues(this.matrix, vals);
757
+ return clone(this, { values: vals }, true);
758
+ }
759
+
760
+ /**
761
+ * Rescale units to its largest representation
762
+ * @example Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 }
763
+ * @return {Duration}
764
+ */
765
+ rescale() {
766
+ if (!this.isValid) return this;
767
+ const vals = removeZeroes(this.normalize().shiftToAll().toObject());
768
+ return clone(this, { values: vals }, true);
769
+ }
770
+
771
+ /**
772
+ * Convert this Duration into its representation in a different set of units.
773
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }
774
+ * @return {Duration}
775
+ */
776
+ shiftTo(...units) {
777
+ if (!this.isValid) return this;
778
+
779
+ if (units.length === 0) {
780
+ return this;
781
+ }
782
+
783
+ units = units.map((u) => Duration.normalizeUnit(u));
784
+
785
+ const built = {},
786
+ accumulated = {},
787
+ vals = this.toObject();
788
+ let lastUnit;
789
+
790
+ for (const k of orderedUnits) {
791
+ if (units.indexOf(k) >= 0) {
792
+ lastUnit = k;
793
+
794
+ let own = 0;
795
+
796
+ // anything we haven't boiled down yet should get boiled to this unit
797
+ for (const ak in accumulated) {
798
+ own += this.matrix[ak][k] * accumulated[ak];
799
+ accumulated[ak] = 0;
800
+ }
801
+
802
+ // plus anything that's already in this unit
803
+ if (isNumber(vals[k])) {
804
+ own += vals[k];
805
+ }
806
+
807
+ // only keep the integer part for now in the hopes of putting any decimal part
808
+ // into a smaller unit later
809
+ const i = Math.trunc(own);
810
+ built[k] = i;
811
+ accumulated[k] = (own * 1000 - i * 1000) / 1000;
812
+
813
+ // otherwise, keep it in the wings to boil it later
814
+ } else if (isNumber(vals[k])) {
815
+ accumulated[k] = vals[k];
816
+ }
817
+ }
818
+
819
+ // anything leftover becomes the decimal for the last unit
820
+ // lastUnit must be defined since units is not empty
821
+ for (const key in accumulated) {
822
+ if (accumulated[key] !== 0) {
823
+ built[lastUnit] +=
824
+ key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];
825
+ }
826
+ }
827
+
828
+ normalizeValues(this.matrix, built);
829
+ return clone(this, { values: built }, true);
830
+ }
831
+
832
+ /**
833
+ * Shift this Duration to all available units.
834
+ * Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds")
835
+ * @return {Duration}
836
+ */
837
+ shiftToAll() {
838
+ if (!this.isValid) return this;
839
+ return this.shiftTo(
840
+ "years",
841
+ "months",
842
+ "weeks",
843
+ "days",
844
+ "hours",
845
+ "minutes",
846
+ "seconds",
847
+ "milliseconds"
848
+ );
849
+ }
850
+
851
+ /**
852
+ * Return the negative of this Duration.
853
+ * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
854
+ * @return {Duration}
855
+ */
856
+ negate() {
857
+ if (!this.isValid) return this;
858
+ const negated = {};
859
+ for (const k of Object.keys(this.values)) {
860
+ negated[k] = this.values[k] === 0 ? 0 : -this.values[k];
861
+ }
862
+ return clone(this, { values: negated }, true);
863
+ }
864
+
865
+ /**
866
+ * Get the years.
867
+ * @type {number}
868
+ */
869
+ get years() {
870
+ return this.isValid ? this.values.years || 0 : NaN;
871
+ }
872
+
873
+ /**
874
+ * Get the quarters.
875
+ * @type {number}
876
+ */
877
+ get quarters() {
878
+ return this.isValid ? this.values.quarters || 0 : NaN;
879
+ }
880
+
881
+ /**
882
+ * Get the months.
883
+ * @type {number}
884
+ */
885
+ get months() {
886
+ return this.isValid ? this.values.months || 0 : NaN;
887
+ }
888
+
889
+ /**
890
+ * Get the weeks
891
+ * @type {number}
892
+ */
893
+ get weeks() {
894
+ return this.isValid ? this.values.weeks || 0 : NaN;
895
+ }
896
+
897
+ /**
898
+ * Get the days.
899
+ * @type {number}
900
+ */
901
+ get days() {
902
+ return this.isValid ? this.values.days || 0 : NaN;
903
+ }
904
+
905
+ /**
906
+ * Get the hours.
907
+ * @type {number}
908
+ */
909
+ get hours() {
910
+ return this.isValid ? this.values.hours || 0 : NaN;
911
+ }
912
+
913
+ /**
914
+ * Get the minutes.
915
+ * @type {number}
916
+ */
917
+ get minutes() {
918
+ return this.isValid ? this.values.minutes || 0 : NaN;
919
+ }
920
+
921
+ /**
922
+ * Get the seconds.
923
+ * @return {number}
924
+ */
925
+ get seconds() {
926
+ return this.isValid ? this.values.seconds || 0 : NaN;
927
+ }
928
+
929
+ /**
930
+ * Get the milliseconds.
931
+ * @return {number}
932
+ */
933
+ get milliseconds() {
934
+ return this.isValid ? this.values.milliseconds || 0 : NaN;
935
+ }
936
+
937
+ /**
938
+ * Returns whether the Duration is invalid. Invalid durations are returned by diff operations
939
+ * on invalid DateTimes or Intervals.
940
+ * @return {boolean}
941
+ */
942
+ get isValid() {
943
+ return this.invalid === null;
944
+ }
945
+
946
+ /**
947
+ * Returns an error code if this Duration became invalid, or null if the Duration is valid
948
+ * @return {string}
949
+ */
950
+ get invalidReason() {
951
+ return this.invalid ? this.invalid.reason : null;
952
+ }
953
+
954
+ /**
955
+ * Returns an explanation of why this Duration became invalid, or null if the Duration is valid
956
+ * @type {string}
957
+ */
958
+ get invalidExplanation() {
959
+ return this.invalid ? this.invalid.explanation : null;
960
+ }
961
+
962
+ /**
963
+ * Equality check
964
+ * Two Durations are equal iff they have the same units and the same values for each unit.
965
+ * @param {Duration} other
966
+ * @return {boolean}
967
+ */
968
+ equals(other) {
969
+ if (!this.isValid || !other.isValid) {
970
+ return false;
971
+ }
972
+
973
+ if (!this.loc.equals(other.loc)) {
974
+ return false;
975
+ }
976
+
977
+ function eq(v1, v2) {
978
+ // Consider 0 and undefined as equal
979
+ if (v1 === undefined || v1 === 0) return v2 === undefined || v2 === 0;
980
+ return v1 === v2;
981
+ }
982
+
983
+ for (const u of orderedUnits) {
984
+ if (!eq(this.values[u], other.values[u])) {
985
+ return false;
986
+ }
987
+ }
988
+ return true;
989
+ }
990
+ }