@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.
- package/README.md +9 -9
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.idea/misc.xml +0 -1
- package/android/.idea/modules/android.iml +18 -0
- package/android/.idea/modules.xml +8 -0
- package/android/build.gradle +1 -1
- package/android/local.properties +8 -0
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +1 -0
- package/android/src/main/java/com/reactnativecometchatuikit/TimeZoneCodeManager.java +41 -0
- package/ios/FileManager.m +1 -0
- package/ios/TimeZoneCodeManager.h +6 -0
- package/ios/TimeZoneCodeManager.m +22 -0
- package/package.json +3 -2
- package/src/AI/AIConversationStarter/AIConversationStarterDecorator.tsx +3 -0
- package/src/AI/AIConversationSummary/AIConversationSummaryDecorator.tsx +3 -0
- package/src/AI/AISmartReplies/AISmartRepliesDecorator.tsx +3 -0
- package/src/CometChatConversations/CometChatConversations.tsx +5 -1
- package/src/CometChatMessageList/CometChatMessageList.tsx +4 -1
- package/src/index.ts +6 -0
- package/src/shared/CometChatUiKit/CometChatUIKit.ts +32 -1
- package/src/shared/assets/images/BackArrow.png +0 -0
- package/src/shared/assets/images/calendar.png +0 -0
- package/src/shared/assets/images/clock-alert.png +0 -0
- package/src/shared/assets/images/clock.png +0 -0
- package/src/shared/assets/images/earth.png +0 -0
- package/src/shared/assets/images/empty-slot.png +0 -0
- package/src/shared/assets/images/forwardArrow.png +0 -0
- package/src/shared/assets/images/index.ts +12 -0
- package/src/shared/constants/UIKitConstants.ts +2 -0
- package/src/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.ts +3 -0
- package/src/shared/events/CometChatUIEventHandler/Listener.ts +4 -0
- package/src/shared/events/ListenerInitializer.ts +3 -0
- package/src/shared/events/messages.ts +1 -0
- package/src/shared/framework/DataSource.ts +6 -0
- package/src/shared/framework/DataSourceDecorator.tsx +17 -0
- package/src/shared/framework/MessageDataSource.tsx +42 -1
- package/src/shared/index.ts +7 -1
- package/src/shared/libs/CometChatCalendar/Calendars/BaseCalendar.tsx +226 -0
- package/src/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.tsx +88 -0
- package/src/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.tsx +106 -0
- package/src/shared/libs/CometChatCalendar/Calendars/Providers.tsx +27 -0
- package/src/shared/libs/CometChatCalendar/Calendars/index.ts +3 -0
- package/src/shared/libs/CometChatCalendar/Components/Arrow.test.tsx +112 -0
- package/src/shared/libs/CometChatCalendar/Components/Arrow.tsx +46 -0
- package/src/shared/libs/CometChatCalendar/Components/Day.test.tsx +396 -0
- package/src/shared/libs/CometChatCalendar/Components/Day.tsx +93 -0
- package/src/shared/libs/CometChatCalendar/Components/Days.test.tsx +216 -0
- package/src/shared/libs/CometChatCalendar/Components/Days.tsx +109 -0
- package/src/shared/libs/CometChatCalendar/Components/Month.test.tsx +160 -0
- package/src/shared/libs/CometChatCalendar/Components/Month.tsx +46 -0
- package/src/shared/libs/CometChatCalendar/Components/Months.test.tsx +262 -0
- package/src/shared/libs/CometChatCalendar/Components/Months.tsx +78 -0
- package/src/shared/libs/CometChatCalendar/Components/Title.test.tsx +111 -0
- package/src/shared/libs/CometChatCalendar/Components/Title.tsx +45 -0
- package/src/shared/libs/CometChatCalendar/Components/Weekdays.test.tsx +69 -0
- package/src/shared/libs/CometChatCalendar/Components/Weekdays.tsx +29 -0
- package/src/shared/libs/CometChatCalendar/Components/index.ts +7 -0
- package/src/shared/libs/CometChatCalendar/Constants/View.ts +4 -0
- package/src/shared/libs/CometChatCalendar/Constants/index.ts +1 -0
- package/src/shared/libs/CometChatCalendar/Contexts/LocaleContext.tsx +7 -0
- package/src/shared/libs/CometChatCalendar/Contexts/ThemeContext.tsx +7 -0
- package/src/shared/libs/CometChatCalendar/Contexts/index.ts +2 -0
- package/src/shared/libs/CometChatCalendar/Entities/ArrowDirections.ts +1 -0
- package/src/shared/libs/CometChatCalendar/Entities/Calendar.ts +26 -0
- package/src/shared/libs/CometChatCalendar/Entities/Components.ts +13 -0
- package/src/shared/libs/CometChatCalendar/Entities/DateProperties.ts +6 -0
- package/src/shared/libs/CometChatCalendar/Entities/Locale.ts +12 -0
- package/src/shared/libs/CometChatCalendar/Entities/Theme.ts +70 -0
- package/src/shared/libs/CometChatCalendar/Entities/index.ts +6 -0
- package/src/shared/libs/CometChatCalendar/Hooks/index.ts +1 -0
- package/src/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.ts +44 -0
- package/src/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.ts +60 -0
- package/src/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
- package/src/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
- package/src/shared/libs/CometChatCalendar/Icons/index.ts +7 -0
- package/src/shared/libs/CometChatCalendar/Locales/index.ts +3 -0
- package/src/shared/libs/CometChatCalendar/Themes/Colors.ts +31 -0
- package/src/shared/libs/CometChatCalendar/Themes/DarkTheme.ts +79 -0
- package/src/shared/libs/CometChatCalendar/Themes/DefaultTheme.ts +164 -0
- package/src/shared/libs/CometChatCalendar/Themes/index.ts +3 -0
- package/src/shared/libs/CometChatCalendar/Utils/addOpacity.test.ts +49 -0
- package/src/shared/libs/CometChatCalendar/Utils/addOpacity.ts +15 -0
- package/src/shared/libs/CometChatCalendar/Utils/checkChangedProps.ts +10 -0
- package/src/shared/libs/CometChatCalendar/Utils/clamp.test.ts +39 -0
- package/src/shared/libs/CometChatCalendar/Utils/clamp.ts +5 -0
- package/src/shared/libs/CometChatCalendar/Utils/dateRange.test.ts +20 -0
- package/src/shared/libs/CometChatCalendar/Utils/dateRange.ts +22 -0
- package/src/shared/libs/CometChatCalendar/Utils/getExtraDays.test.ts +48 -0
- package/src/shared/libs/CometChatCalendar/Utils/getExtraDays.ts +24 -0
- package/src/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.ts +60 -0
- package/src/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.ts +19 -0
- package/src/shared/libs/CometChatCalendar/Utils/index.ts +6 -0
- package/src/shared/libs/CometChatCalendar/index.ts +5 -0
- package/src/shared/libs/datePickerModal/DateTimePickerModal.android.js +81 -0
- package/src/shared/libs/datePickerModal/DateTimePickerModal.ios.js +363 -0
- package/src/shared/libs/datePickerModal/DateTimePickerModal.js +9 -0
- package/src/shared/libs/datePickerModal/Modal.js +180 -0
- package/src/shared/libs/datePickerModal/index.d.ts +310 -0
- package/src/shared/libs/datePickerModal/index.js +5 -0
- package/src/shared/libs/datePickerModal/utils.js +25 -0
- package/src/shared/libs/luxon/src/datetime.js +2422 -0
- package/src/shared/libs/luxon/src/duration.js +990 -0
- package/src/shared/libs/luxon/src/errors.js +61 -0
- package/src/shared/libs/luxon/src/impl/conversions.js +206 -0
- package/src/shared/libs/luxon/src/impl/diff.js +95 -0
- package/src/shared/libs/luxon/src/impl/digits.js +75 -0
- package/src/shared/libs/luxon/src/impl/english.js +233 -0
- package/src/shared/libs/luxon/src/impl/formats.js +176 -0
- package/src/shared/libs/luxon/src/impl/formatter.js +409 -0
- package/src/shared/libs/luxon/src/impl/invalid.js +14 -0
- package/src/shared/libs/luxon/src/impl/locale.js +542 -0
- package/src/shared/libs/luxon/src/impl/regexParser.js +335 -0
- package/src/shared/libs/luxon/src/impl/tokenParser.js +473 -0
- package/src/shared/libs/luxon/src/impl/util.js +309 -0
- package/src/shared/libs/luxon/src/impl/zoneUtil.js +34 -0
- package/src/shared/libs/luxon/src/info.js +205 -0
- package/src/shared/libs/luxon/src/interval.js +657 -0
- package/src/shared/libs/luxon/src/luxon.js +26 -0
- package/src/shared/libs/luxon/src/package.json +4 -0
- package/src/shared/libs/luxon/src/settings.js +175 -0
- package/src/shared/libs/luxon/src/zone.js +91 -0
- package/src/shared/libs/luxon/src/zones/IANAZone.js +189 -0
- package/src/shared/libs/luxon/src/zones/fixedOffsetZone.js +102 -0
- package/src/shared/libs/luxon/src/zones/invalidZone.js +53 -0
- package/src/shared/libs/luxon/src/zones/systemZone.js +61 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.ts +103 -0
- package/src/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.ts +4 -1
- package/src/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.ts +149 -0
- package/src/shared/modals/InteractiveData/InteractiveMessage/index.ts +1 -0
- package/src/shared/modals/InteractiveData/index.ts +2 -1
- package/src/shared/modals/index.ts +3 -2
- package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/de/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/en/translation.json +29 -19
- package/src/shared/resources/CometChatLocalize/resources/es/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +301 -291
- package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +301 -292
- package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +301 -291
- package/src/shared/resources/CometChatTheme/Palette.ts +30 -0
- package/src/shared/resources/CometChatTheme/Typography.ts +109 -0
- package/src/shared/utils/InteractiveMessageUtils.ts +3 -2
- package/src/shared/utils/SchedulerUtils.ts +196 -0
- package/src/shared/utils/conversationUtils.ts +8 -1
- package/src/shared/utils/icsToJson.js +113 -0
- package/src/shared/views/CometChatCheckBox/CometChatCheckBox.tsx +3 -3
- package/src/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.tsx +189 -0
- package/src/shared/views/CometChatDateTimePicker/DateTimePickerStyle.ts +19 -0
- package/src/shared/views/CometChatDateTimePicker/index.ts +5 -0
- package/src/shared/views/CometChatDropDown/CometChatDropDown.tsx +3 -3
- package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +104 -23
- package/src/shared/views/CometChatFormBubble/FormBubbleStyle.tsx +5 -0
- package/src/shared/views/CometChatLabel/CometChatLabel.tsx +1 -1
- package/src/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.tsx +20 -5
- package/src/shared/views/CometChatRadioButton/CometChatRadioButton.tsx +3 -3
- package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +1500 -0
- package/src/shared/views/CometChatSchedulerBubble/index.ts +5 -0
- package/src/shared/views/CometChatSchedulerBubble/styles.ts +92 -0
- package/src/shared/views/CometChatSingleSelect/CometChatSingleSelect.tsx +4 -4
- package/src/shared/views/CometChatTextInput/CometChatTextInput.tsx +4 -4
- package/src/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.tsx +113 -0
- package/src/shared/views/CometChatTimeSlotSelector/index.ts +5 -0
- package/src/shared/views/CometChatTimeSlotSelector/styles.ts +30 -0
- package/src/shared/views/index.ts +4 -1
- package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +0 -43
- package/lib/CometChatAddMembers/AddMembersConfiguration.js +0 -41
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +0 -1
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +0 -10
- package/lib/CometChatAddMembers/CometChatAddMembers.js +0 -60
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +0 -1
- package/lib/CometChatAddMembers/index.d.ts +0 -3
- package/lib/CometChatAddMembers/index.js +0 -4
- package/lib/CometChatAddMembers/index.js.map +0 -1
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +0 -46
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +0 -43
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +0 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +0 -18
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +0 -72
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +0 -1
- package/lib/CometChatBannedMembers/index.d.ts +0 -3
- package/lib/CometChatBannedMembers/index.js +0 -4
- package/lib/CometChatBannedMembers/index.js.map +0 -1
- package/lib/CometChatBannedMembers/resources/index.d.ts +0 -3
- package/lib/CometChatBannedMembers/resources/index.js +0 -3
- package/lib/CometChatBannedMembers/resources/index.js.map +0 -1
- package/lib/CometChatContacts/CometChatContacts.d.ts +0 -75
- package/lib/CometChatContacts/CometChatContacts.js +0 -84
- package/lib/CometChatContacts/CometChatContacts.js.map +0 -1
- package/lib/CometChatContacts/ContactsConfiguration.d.ts +0 -73
- package/lib/CometChatContacts/ContactsConfiguration.js +0 -2
- package/lib/CometChatContacts/ContactsConfiguration.js.map +0 -1
- package/lib/CometChatContacts/ContactsStyle.d.ts +0 -59
- package/lib/CometChatContacts/ContactsStyle.js +0 -2
- package/lib/CometChatContacts/ContactsStyle.js.map +0 -1
- package/lib/CometChatContacts/Header.d.ts +0 -31
- package/lib/CometChatContacts/Header.js +0 -72
- package/lib/CometChatContacts/Header.js.map +0 -1
- package/lib/CometChatContacts/index.d.ts +0 -4
- package/lib/CometChatContacts/index.js +0 -3
- package/lib/CometChatContacts/index.js.map +0 -1
- package/lib/CometChatContacts/styles.d.ts +0 -101
- package/lib/CometChatContacts/styles.js +0 -104
- package/lib/CometChatContacts/styles.js.map +0 -1
- package/lib/CometChatConversations/CometChatConversations.d.ts +0 -199
- package/lib/CometChatConversations/CometChatConversations.js +0 -643
- package/lib/CometChatConversations/CometChatConversations.js.map +0 -1
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +0 -96
- package/lib/CometChatConversations/ConversationsConfiguration.js +0 -87
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +0 -1
- package/lib/CometChatConversations/ConversationsStyle.d.ts +0 -38
- package/lib/CometChatConversations/ConversationsStyle.js +0 -46
- package/lib/CometChatConversations/ConversationsStyle.js.map +0 -1
- package/lib/CometChatConversations/index.d.ts +0 -4
- package/lib/CometChatConversations/index.js +0 -5
- package/lib/CometChatConversations/index.js.map +0 -1
- package/lib/CometChatConversations/resources/index.d.ts +0 -14
- package/lib/CometChatConversations/resources/index.js +0 -15
- package/lib/CometChatConversations/resources/index.js.map +0 -1
- package/lib/CometChatConversations/style.d.ts +0 -61
- package/lib/CometChatConversations/style.js +0 -63
- package/lib/CometChatConversations/style.js.map +0 -1
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +0 -14
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +0 -168
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +0 -1
- package/lib/CometChatConversationsWithMessages/index.d.ts +0 -2
- package/lib/CometChatConversationsWithMessages/index.js +0 -3
- package/lib/CometChatConversationsWithMessages/index.js.map +0 -1
- package/lib/CometChatConversationsWithMessages/resources/index.d.ts +0 -2
- package/lib/CometChatConversationsWithMessages/resources/index.js +0 -3
- package/lib/CometChatConversationsWithMessages/resources/index.js.map +0 -1
- package/lib/CometChatConversationsWithMessages/styles.d.ts +0 -12
- package/lib/CometChatConversationsWithMessages/styles.js +0 -14
- package/lib/CometChatConversationsWithMessages/styles.js.map +0 -1
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +0 -98
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js +0 -196
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +0 -1
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +0 -14
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +0 -15
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +0 -1
- package/lib/CometChatCreateGroup/Header.d.ts +0 -3
- package/lib/CometChatCreateGroup/Header.js +0 -41
- package/lib/CometChatCreateGroup/Header.js.map +0 -1
- package/lib/CometChatCreateGroup/index.d.ts +0 -3
- package/lib/CometChatCreateGroup/index.js +0 -4
- package/lib/CometChatCreateGroup/index.js.map +0 -1
- package/lib/CometChatCreateGroup/resources/index.d.ts +0 -5
- package/lib/CometChatCreateGroup/resources/index.js +0 -9
- package/lib/CometChatCreateGroup/resources/index.js.map +0 -1
- package/lib/CometChatCreateGroup/style.d.ts +0 -46
- package/lib/CometChatCreateGroup/style.js +0 -43
- package/lib/CometChatCreateGroup/style.js.map +0 -1
- package/lib/CometChatDetails/CometChatDetails.d.ts +0 -281
- package/lib/CometChatDetails/CometChatDetails.js +0 -405
- package/lib/CometChatDetails/CometChatDetails.js.map +0 -1
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +0 -36
- package/lib/CometChatDetails/DetailsConfiguration.js +0 -26
- package/lib/CometChatDetails/DetailsConfiguration.js.map +0 -1
- package/lib/CometChatDetails/Header.d.ts +0 -3
- package/lib/CometChatDetails/Header.js +0 -26
- package/lib/CometChatDetails/Header.js.map +0 -1
- package/lib/CometChatDetails/index.d.ts +0 -3
- package/lib/CometChatDetails/index.js +0 -4
- package/lib/CometChatDetails/index.js.map +0 -1
- package/lib/CometChatDetails/listners.d.ts +0 -20
- package/lib/CometChatDetails/listners.js +0 -57
- package/lib/CometChatDetails/listners.js.map +0 -1
- package/lib/CometChatDetails/resources/index.d.ts +0 -7
- package/lib/CometChatDetails/resources/index.js +0 -13
- package/lib/CometChatDetails/resources/index.js.map +0 -1
- package/lib/CometChatDetails/styles.d.ts +0 -28
- package/lib/CometChatDetails/styles.js +0 -23
- package/lib/CometChatDetails/styles.js.map +0 -1
- package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -96
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +0 -360
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +0 -1
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +0 -63
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +0 -59
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +0 -1
- package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +0 -42
- package/lib/CometChatGroupMembers/GroupMemberStyle.js +0 -48
- package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +0 -1
- package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +0 -28
- package/lib/CometChatGroupMembers/GroupScopeStyle.js +0 -35
- package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +0 -1
- package/lib/CometChatGroupMembers/index.d.ts +0 -4
- package/lib/CometChatGroupMembers/index.js +0 -5
- package/lib/CometChatGroupMembers/index.js.map +0 -1
- package/lib/CometChatGroupMembers/resources/index.d.ts +0 -5
- package/lib/CometChatGroupMembers/resources/index.js +0 -6
- package/lib/CometChatGroupMembers/resources/index.js.map +0 -1
- package/lib/CometChatGroupMembers/style.d.ts +0 -31
- package/lib/CometChatGroupMembers/style.js +0 -30
- package/lib/CometChatGroupMembers/style.js.map +0 -1
- package/lib/CometChatGroups/CometChatGroups.d.ts +0 -141
- package/lib/CometChatGroups/CometChatGroups.js +0 -322
- package/lib/CometChatGroups/CometChatGroups.js.map +0 -1
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +0 -74
- package/lib/CometChatGroups/GroupsConfiguration.js +0 -72
- package/lib/CometChatGroups/GroupsConfiguration.js.map +0 -1
- package/lib/CometChatGroups/GroupsStyle.d.ts +0 -51
- package/lib/CometChatGroups/GroupsStyle.js +0 -61
- package/lib/CometChatGroups/GroupsStyle.js.map +0 -1
- package/lib/CometChatGroups/index.d.ts +0 -4
- package/lib/CometChatGroups/index.js +0 -5
- package/lib/CometChatGroups/index.js.map +0 -1
- package/lib/CometChatGroups/resources/index.d.ts +0 -10
- package/lib/CometChatGroups/resources/index.js +0 -11
- package/lib/CometChatGroups/resources/index.js.map +0 -1
- package/lib/CometChatGroups/style.d.ts +0 -16
- package/lib/CometChatGroups/style.js +0 -19
- package/lib/CometChatGroups/style.js.map +0 -1
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +0 -13
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +0 -172
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +0 -1
- package/lib/CometChatGroupsWithMessages/index.d.ts +0 -2
- package/lib/CometChatGroupsWithMessages/index.js +0 -3
- package/lib/CometChatGroupsWithMessages/index.js.map +0 -1
- package/lib/CometChatGroupsWithMessages/resources/index.d.ts +0 -2
- package/lib/CometChatGroupsWithMessages/resources/index.js +0 -3
- package/lib/CometChatGroupsWithMessages/resources/index.js.map +0 -1
- package/lib/CometChatGroupsWithMessages/styles.d.ts +0 -12
- package/lib/CometChatGroupsWithMessages/styles.js +0 -14
- package/lib/CometChatGroupsWithMessages/styles.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +0 -111
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +0 -96
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +0 -3
- package/lib/CometChatJoinProtectedGroup/Header.js +0 -33
- package/lib/CometChatJoinProtectedGroup/Header.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +0 -15
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +0 -16
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/index.d.ts +0 -3
- package/lib/CometChatJoinProtectedGroup/index.js +0 -4
- package/lib/CometChatJoinProtectedGroup/index.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +0 -4
- package/lib/CometChatJoinProtectedGroup/resources/index.js +0 -7
- package/lib/CometChatJoinProtectedGroup/resources/index.js.map +0 -1
- package/lib/CometChatJoinProtectedGroup/style.d.ts +0 -11
- package/lib/CometChatJoinProtectedGroup/style.js +0 -10
- package/lib/CometChatJoinProtectedGroup/style.js.map +0 -1
- package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -269
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +0 -571
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +0 -1
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +0 -47
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +0 -34
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +0 -1
- package/lib/CometChatMessageComposer/index.d.ts +0 -3
- package/lib/CometChatMessageComposer/index.js +0 -4
- package/lib/CometChatMessageComposer/index.js.map +0 -1
- package/lib/CometChatMessageComposer/resources/index.d.ts +0 -10
- package/lib/CometChatMessageComposer/resources/index.js +0 -19
- package/lib/CometChatMessageComposer/resources/index.js.map +0 -1
- package/lib/CometChatMessageComposer/styles.d.ts +0 -28
- package/lib/CometChatMessageComposer/styles.js +0 -30
- package/lib/CometChatMessageComposer/styles.js.map +0 -1
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -150
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +0 -220
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +0 -1
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +0 -37
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +0 -27
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +0 -1
- package/lib/CometChatMessageHeader/index.d.ts +0 -3
- package/lib/CometChatMessageHeader/index.js +0 -4
- package/lib/CometChatMessageHeader/index.js.map +0 -1
- package/lib/CometChatMessageHeader/listners.d.ts +0 -27
- package/lib/CometChatMessageHeader/listners.js +0 -50
- package/lib/CometChatMessageHeader/listners.js.map +0 -1
- package/lib/CometChatMessageHeader/resources/index.d.ts +0 -5
- package/lib/CometChatMessageHeader/resources/index.js +0 -9
- package/lib/CometChatMessageHeader/resources/index.js.map +0 -1
- package/lib/CometChatMessageHeader/styles.d.ts +0 -16
- package/lib/CometChatMessageHeader/styles.js +0 -16
- package/lib/CometChatMessageHeader/styles.js.map +0 -1
- package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -36
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +0 -173
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +0 -1
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +0 -3
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +0 -2
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +0 -1
- package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +0 -11
- package/lib/CometChatMessageInformation/MessageInformationStyle.js +0 -2
- package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +0 -1
- package/lib/CometChatMessageInformation/index.d.ts +0 -4
- package/lib/CometChatMessageInformation/index.js +0 -3
- package/lib/CometChatMessageInformation/index.js.map +0 -1
- package/lib/CometChatMessageInformation/resources/index.d.ts +0 -2
- package/lib/CometChatMessageInformation/resources/index.js +0 -3
- package/lib/CometChatMessageInformation/resources/index.js.map +0 -1
- package/lib/CometChatMessageInformation/styles.d.ts +0 -23
- package/lib/CometChatMessageInformation/styles.js +0 -26
- package/lib/CometChatMessageInformation/styles.js.map +0 -1
- package/lib/CometChatMessageList/CometChatMessageList.d.ts +0 -75
- package/lib/CometChatMessageList/CometChatMessageList.js +0 -1047
- package/lib/CometChatMessageList/CometChatMessageList.js.map +0 -1
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +0 -101
- package/lib/CometChatMessageList/MessageListConfiguration.js +0 -37
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +0 -1
- package/lib/CometChatMessageList/MessageListStyle.d.ts +0 -32
- package/lib/CometChatMessageList/MessageListStyle.js +0 -39
- package/lib/CometChatMessageList/MessageListStyle.js.map +0 -1
- package/lib/CometChatMessageList/index.d.ts +0 -4
- package/lib/CometChatMessageList/index.js +0 -5
- package/lib/CometChatMessageList/index.js.map +0 -1
- package/lib/CometChatMessageList/resources/index.d.ts +0 -6
- package/lib/CometChatMessageList/resources/index.js +0 -7
- package/lib/CometChatMessageList/resources/index.js.map +0 -1
- package/lib/CometChatMessageList/style.d.ts +0 -52
- package/lib/CometChatMessageList/style.js +0 -54
- package/lib/CometChatMessageList/style.js.map +0 -1
- package/lib/CometChatMessages/CometChatMessages.d.ts +0 -42
- package/lib/CometChatMessages/CometChatMessages.js +0 -200
- package/lib/CometChatMessages/CometChatMessages.js.map +0 -1
- package/lib/CometChatMessages/MessageStyle.d.ts +0 -15
- package/lib/CometChatMessages/MessageStyle.js +0 -19
- package/lib/CometChatMessages/MessageStyle.js.map +0 -1
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +0 -69
- package/lib/CometChatMessages/MessagesConfiguration.js +0 -25
- package/lib/CometChatMessages/MessagesConfiguration.js.map +0 -1
- package/lib/CometChatMessages/index.d.ts +0 -4
- package/lib/CometChatMessages/index.js +0 -5
- package/lib/CometChatMessages/index.js.map +0 -1
- package/lib/CometChatMessages/resources/index.d.ts +0 -2
- package/lib/CometChatMessages/resources/index.js +0 -3
- package/lib/CometChatMessages/resources/index.js.map +0 -1
- package/lib/CometChatMessages/style.d.ts +0 -21
- package/lib/CometChatMessages/style.js +0 -23
- package/lib/CometChatMessages/style.js.map +0 -1
- package/lib/CometChatTabs/CometChatTabs.d.ts +0 -11
- package/lib/CometChatTabs/CometChatTabs.js +0 -113
- package/lib/CometChatTabs/CometChatTabs.js.map +0 -1
- package/lib/CometChatTabs/CometChatTabsStyle.d.ts +0 -16
- package/lib/CometChatTabs/CometChatTabsStyle.js +0 -23
- package/lib/CometChatTabs/CometChatTabsStyle.js.map +0 -1
- package/lib/CometChatTabs/TabItemStyle.d.ts +0 -22
- package/lib/CometChatTabs/TabItemStyle.js +0 -29
- package/lib/CometChatTabs/TabItemStyle.js.map +0 -1
- package/lib/CometChatTabs/TabItems.d.ts +0 -11
- package/lib/CometChatTabs/TabItems.js +0 -2
- package/lib/CometChatTabs/TabItems.js.map +0 -1
- package/lib/CometChatTabs/index.d.ts +0 -4
- package/lib/CometChatTabs/index.js +0 -4
- package/lib/CometChatTabs/index.js.map +0 -1
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +0 -90
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +0 -139
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +0 -1
- package/lib/CometChatThreadedMessages/Header.d.ts +0 -12
- package/lib/CometChatThreadedMessages/Header.js +0 -23
- package/lib/CometChatThreadedMessages/Header.js.map +0 -1
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +0 -18
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +0 -16
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +0 -1
- package/lib/CometChatThreadedMessages/index.d.ts +0 -3
- package/lib/CometChatThreadedMessages/index.js +0 -4
- package/lib/CometChatThreadedMessages/index.js.map +0 -1
- package/lib/CometChatThreadedMessages/resources/index.d.ts +0 -8
- package/lib/CometChatThreadedMessages/resources/index.js +0 -15
- package/lib/CometChatThreadedMessages/resources/index.js.map +0 -1
- package/lib/CometChatThreadedMessages/style.d.ts +0 -28
- package/lib/CometChatThreadedMessages/style.js +0 -26
- package/lib/CometChatThreadedMessages/style.js.map +0 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +0 -41
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +0 -58
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +0 -1
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +0 -41
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +0 -37
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +0 -1
- package/lib/CometChatTransferOwnership/index.d.ts +0 -3
- package/lib/CometChatTransferOwnership/index.js +0 -4
- package/lib/CometChatTransferOwnership/index.js.map +0 -1
- package/lib/CometChatUsers/CometChatUsers.d.ts +0 -69
- package/lib/CometChatUsers/CometChatUsers.js +0 -64
- package/lib/CometChatUsers/CometChatUsers.js.map +0 -1
- package/lib/CometChatUsers/UsersConfiguration.d.ts +0 -43
- package/lib/CometChatUsers/UsersConfiguration.js +0 -41
- package/lib/CometChatUsers/UsersConfiguration.js.map +0 -1
- package/lib/CometChatUsers/index.d.ts +0 -3
- package/lib/CometChatUsers/index.js +0 -4
- package/lib/CometChatUsers/index.js.map +0 -1
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +0 -11
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +0 -89
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +0 -1
- package/lib/CometChatUsersWithMessages/index.d.ts +0 -2
- package/lib/CometChatUsersWithMessages/index.js +0 -3
- package/lib/CometChatUsersWithMessages/index.js.map +0 -1
- package/lib/CometChatUsersWithMessages/styles.d.ts +0 -12
- package/lib/CometChatUsersWithMessages/styles.js +0 -14
- package/lib/CometChatUsersWithMessages/styles.js.map +0 -1
- package/lib/calls/CallEvents.d.ts +0 -9
- package/lib/calls/CallEvents.js +0 -10
- package/lib/calls/CallEvents.js.map +0 -1
- package/lib/calls/CallUtils.d.ts +0 -5
- package/lib/calls/CallUtils.js +0 -60
- package/lib/calls/CallUtils.js.map +0 -1
- package/lib/calls/CallingConfiguration.d.ts +0 -3
- package/lib/calls/CallingConfiguration.js +0 -5
- package/lib/calls/CallingConfiguration.js.map +0 -1
- package/lib/calls/CallingDetailsUtils.d.ts +0 -7
- package/lib/calls/CallingDetailsUtils.js +0 -31
- package/lib/calls/CallingDetailsUtils.js.map +0 -1
- package/lib/calls/CallingExtension.d.ts +0 -11
- package/lib/calls/CallingExtension.js +0 -36
- package/lib/calls/CallingExtension.js.map +0 -1
- package/lib/calls/CallingExtentionDecorator.d.ts +0 -33
- package/lib/calls/CallingExtentionDecorator.js +0 -157
- package/lib/calls/CallingExtentionDecorator.js.map +0 -1
- package/lib/calls/CallingPackage.d.ts +0 -4
- package/lib/calls/CallingPackage.js +0 -7
- package/lib/calls/CallingPackage.js.map +0 -1
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +0 -13
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +0 -11
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +0 -18
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +0 -25
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +0 -1
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +0 -11
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +0 -21
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +0 -1
- package/lib/calls/CometChatCallBubble/index.d.ts +0 -4
- package/lib/calls/CometChatCallBubble/index.js +0 -5
- package/lib/calls/CometChatCallBubble/index.js.map +0 -1
- package/lib/calls/CometChatCallBubble/resources/index.d.ts +0 -4
- package/lib/calls/CometChatCallBubble/resources/index.js +0 -5
- package/lib/calls/CometChatCallBubble/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallBubble/styles.d.ts +0 -20
- package/lib/calls/CometChatCallBubble/styles.js +0 -22
- package/lib/calls/CometChatCallBubble/styles.js.map +0 -1
- package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +0 -12
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js +0 -19
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +0 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +0 -34
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +0 -19
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +0 -61
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +0 -198
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +0 -1
- package/lib/calls/CometChatCallButtons/index.d.ts +0 -4
- package/lib/calls/CometChatCallButtons/index.js +0 -4
- package/lib/calls/CometChatCallButtons/index.js.map +0 -1
- package/lib/calls/CometChatCallButtons/resources/index.d.ts +0 -3
- package/lib/calls/CometChatCallButtons/resources/index.js +0 -4
- package/lib/calls/CometChatCallButtons/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallButtons/style.d.ts +0 -12
- package/lib/calls/CometChatCallButtons/style.js +0 -14
- package/lib/calls/CometChatCallButtons/style.js.map +0 -1
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +0 -54
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +0 -31
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +0 -20
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +0 -27
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +0 -1
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +0 -1
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +0 -137
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +0 -1
- package/lib/calls/CometChatCallDetails/index.d.ts +0 -3
- package/lib/calls/CometChatCallDetails/index.js +0 -4
- package/lib/calls/CometChatCallDetails/index.js.map +0 -1
- package/lib/calls/CometChatCallDetails/resources/index.d.ts +0 -2
- package/lib/calls/CometChatCallDetails/resources/index.js +0 -3
- package/lib/calls/CometChatCallDetails/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallDetails/style.d.ts +0 -12
- package/lib/calls/CometChatCallDetails/style.js +0 -14
- package/lib/calls/CometChatCallDetails/style.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +0 -86
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +0 -39
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +0 -13
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +0 -20
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +0 -1
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +0 -250
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +0 -1
- package/lib/calls/CometChatCallHistory/index.d.ts +0 -3
- package/lib/calls/CometChatCallHistory/index.js +0 -4
- package/lib/calls/CometChatCallHistory/index.js.map +0 -1
- package/lib/calls/CometChatCallHistory/resources/index.d.ts +0 -8
- package/lib/calls/CometChatCallHistory/resources/index.js +0 -9
- package/lib/calls/CometChatCallHistory/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallHistory/style.d.ts +0 -21
- package/lib/calls/CometChatCallHistory/style.js +0 -23
- package/lib/calls/CometChatCallHistory/style.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +0 -30
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +0 -6
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +0 -3
- package/lib/calls/CometChatCallHistoryWithDetails/index.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +0 -8
- package/lib/calls/CometChatCallHistoryWithDetails/style.js +0 -10
- package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +0 -1
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -21
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +0 -160
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +0 -1
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +0 -32
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +0 -39
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +0 -1
- package/lib/calls/CometChatIncomingCall/index.d.ts +0 -3
- package/lib/calls/CometChatIncomingCall/index.js +0 -4
- package/lib/calls/CometChatIncomingCall/index.js.map +0 -1
- package/lib/calls/CometChatIncomingCall/resources/index.d.ts +0 -5
- package/lib/calls/CometChatIncomingCall/resources/index.js +0 -6
- package/lib/calls/CometChatIncomingCall/resources/index.js.map +0 -1
- package/lib/calls/CometChatIncomingCall/styles.d.ts +0 -9
- package/lib/calls/CometChatIncomingCall/styles.js +0 -11
- package/lib/calls/CometChatIncomingCall/styles.js.map +0 -1
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -12
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +0 -41
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +0 -1
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +0 -13
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +0 -13
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +0 -1
- package/lib/calls/CometChatOngoingCall/index.d.ts +0 -3
- package/lib/calls/CometChatOngoingCall/index.js +0 -3
- package/lib/calls/CometChatOngoingCall/index.js.map +0 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -46
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +0 -149
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +0 -1
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +0 -18
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +0 -15
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +0 -1
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +0 -14
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +0 -21
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +0 -1
- package/lib/calls/CometChatOutgoingCall/index.d.ts +0 -3
- package/lib/calls/CometChatOutgoingCall/index.js +0 -4
- package/lib/calls/CometChatOutgoingCall/index.js.map +0 -1
- package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +0 -2
- package/lib/calls/CometChatOutgoingCall/resources/index.js +0 -3
- package/lib/calls/CometChatOutgoingCall/resources/index.js.map +0 -1
- package/lib/calls/index.d.ts +0 -12
- package/lib/calls/index.js +0 -13
- package/lib/calls/index.js.map +0 -1
- package/lib/calls/resources/index.d.ts +0 -3
- package/lib/calls/resources/index.js +0 -4
- package/lib/calls/resources/index.js.map +0 -1
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +0 -55
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +0 -30
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +0 -1
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +0 -44
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +0 -61
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +0 -1
- package/lib/extensions/CollaborativeBubble/resources/index.d.ts +0 -3
- package/lib/extensions/CollaborativeBubble/resources/index.js +0 -3
- package/lib/extensions/CollaborativeBubble/resources/index.js.map +0 -1
- package/lib/extensions/CollaborativeBubble/styles.d.ts +0 -33
- package/lib/extensions/CollaborativeBubble/styles.js +0 -72
- package/lib/extensions/CollaborativeBubble/styles.js.map +0 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -14
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +0 -7
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +0 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -12
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +0 -25
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +0 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -22
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +0 -129
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +0 -1
- package/lib/extensions/CollaborativeDocument/index.d.ts +0 -5
- package/lib/extensions/CollaborativeDocument/index.js +0 -6
- package/lib/extensions/CollaborativeDocument/index.js.map +0 -1
- package/lib/extensions/CollaborativeDocument/resources/index.d.ts +0 -2
- package/lib/extensions/CollaborativeDocument/resources/index.js +0 -5
- package/lib/extensions/CollaborativeDocument/resources/index.js.map +0 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -14
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +0 -7
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +0 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -12
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +0 -27
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +0 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -23
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +0 -135
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +0 -1
- package/lib/extensions/CollaborativeWhiteboard/index.d.ts +0 -5
- package/lib/extensions/CollaborativeWhiteboard/index.js +0 -6
- package/lib/extensions/CollaborativeWhiteboard/index.js.map +0 -1
- package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +0 -2
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js +0 -5
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +0 -1
- package/lib/extensions/ExtensionConstants.d.ts +0 -50
- package/lib/extensions/ExtensionConstants.js +0 -51
- package/lib/extensions/ExtensionConstants.js.map +0 -1
- package/lib/extensions/ExtensionModerator.d.ts +0 -16
- package/lib/extensions/ExtensionModerator.js +0 -51
- package/lib/extensions/ExtensionModerator.js.map +0 -1
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +0 -13
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js +0 -45
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +0 -1
- package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +0 -14
- package/lib/extensions/ImageModeration/ImageModerationExtension.js +0 -28
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +0 -1
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +0 -17
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +0 -93
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +0 -1
- package/lib/extensions/ImageModeration/index.d.ts +0 -4
- package/lib/extensions/ImageModeration/index.js +0 -5
- package/lib/extensions/ImageModeration/index.js.map +0 -1
- package/lib/extensions/ImageModeration/resources/index.d.ts +0 -3
- package/lib/extensions/ImageModeration/resources/index.js +0 -3
- package/lib/extensions/ImageModeration/resources/index.js.map +0 -1
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +0 -18
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +0 -17
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +0 -1
- package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +0 -12
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +0 -34
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +0 -1
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -14
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +0 -13
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +0 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +0 -8
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js +0 -21
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +0 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +0 -13
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +0 -37
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +0 -1
- package/lib/extensions/LinkPreview/index.d.ts +0 -6
- package/lib/extensions/LinkPreview/index.js +0 -6
- package/lib/extensions/LinkPreview/index.js.map +0 -1
- package/lib/extensions/LinkPreview/resources/index.d.ts +0 -2
- package/lib/extensions/LinkPreview/resources/index.js +0 -3
- package/lib/extensions/LinkPreview/resources/index.js.map +0 -1
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -22
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +0 -69
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +0 -1
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +0 -21
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +0 -152
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +0 -1
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -14
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +0 -28
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +0 -1
- package/lib/extensions/MessageTranslation/index.d.ts +0 -4
- package/lib/extensions/MessageTranslation/index.js +0 -5
- package/lib/extensions/MessageTranslation/index.js.map +0 -1
- package/lib/extensions/MessageTranslation/resources/index.d.ts +0 -3
- package/lib/extensions/MessageTranslation/resources/index.js +0 -5
- package/lib/extensions/MessageTranslation/resources/index.js.map +0 -1
- package/lib/extensions/Polls/Header.d.ts +0 -14
- package/lib/extensions/Polls/Header.js +0 -41
- package/lib/extensions/Polls/Header.js.map +0 -1
- package/lib/extensions/Polls/Polls.d.ts +0 -132
- package/lib/extensions/Polls/Polls.js +0 -218
- package/lib/extensions/Polls/Polls.js.map +0 -1
- package/lib/extensions/Polls/PollsBubble.d.ts +0 -83
- package/lib/extensions/Polls/PollsBubble.js +0 -202
- package/lib/extensions/Polls/PollsBubble.js.map +0 -1
- package/lib/extensions/Polls/PollsConfigurations.d.ts +0 -15
- package/lib/extensions/Polls/PollsConfigurations.js +0 -2
- package/lib/extensions/Polls/PollsConfigurations.js.map +0 -1
- package/lib/extensions/Polls/PollsDecorator.d.ts +0 -21
- package/lib/extensions/Polls/PollsDecorator.js +0 -103
- package/lib/extensions/Polls/PollsDecorator.js.map +0 -1
- package/lib/extensions/Polls/PollsExtension.d.ts +0 -12
- package/lib/extensions/Polls/PollsExtension.js +0 -27
- package/lib/extensions/Polls/PollsExtension.js.map +0 -1
- package/lib/extensions/Polls/index.d.ts +0 -4
- package/lib/extensions/Polls/index.js +0 -4
- package/lib/extensions/Polls/index.js.map +0 -1
- package/lib/extensions/Polls/resources/index.d.ts +0 -7
- package/lib/extensions/Polls/resources/index.js +0 -13
- package/lib/extensions/Polls/resources/index.js.map +0 -1
- package/lib/extensions/Polls/style.d.ts +0 -45
- package/lib/extensions/Polls/style.js +0 -39
- package/lib/extensions/Polls/style.js.map +0 -1
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +0 -22
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +0 -203
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +0 -1
- package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +0 -2
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js +0 -3
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +0 -1
- package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +0 -40
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js +0 -42
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +0 -1
- package/lib/extensions/Reactions/ReactionsDecorator.d.ts +0 -23
- package/lib/extensions/Reactions/ReactionsDecorator.js +0 -113
- package/lib/extensions/Reactions/ReactionsDecorator.js.map +0 -1
- package/lib/extensions/Reactions/ReactionsExtension.d.ts +0 -14
- package/lib/extensions/Reactions/ReactionsExtension.js +0 -28
- package/lib/extensions/Reactions/ReactionsExtension.js.map +0 -1
- package/lib/extensions/Reactions/index.d.ts +0 -3
- package/lib/extensions/Reactions/index.js +0 -4
- package/lib/extensions/Reactions/index.js.map +0 -1
- package/lib/extensions/Reactions/resources/index.d.ts +0 -3
- package/lib/extensions/Reactions/resources/index.js +0 -3
- package/lib/extensions/Reactions/resources/index.js.map +0 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +0 -14
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +0 -95
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +0 -1
- package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -14
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js +0 -28
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +0 -1
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +0 -27
- package/lib/extensions/SmartReplies/SmartRepliesView.js +0 -152
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +0 -1
- package/lib/extensions/SmartReplies/index.d.ts +0 -3
- package/lib/extensions/SmartReplies/index.js +0 -4
- package/lib/extensions/SmartReplies/index.js.map +0 -1
- package/lib/extensions/SmartReplies/resources/index.d.ts +0 -3
- package/lib/extensions/SmartReplies/resources/index.js +0 -5
- package/lib/extensions/SmartReplies/resources/index.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +0 -33
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +0 -90
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +0 -17
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +0 -17
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +0 -20
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +0 -27
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +0 -61
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +0 -4
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +0 -5
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +0 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +0 -55
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +0 -55
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +0 -1
- package/lib/extensions/Stickers/StickerConfiguration.d.ts +0 -8
- package/lib/extensions/Stickers/StickerConfiguration.js +0 -12
- package/lib/extensions/Stickers/StickerConfiguration.js.map +0 -1
- package/lib/extensions/Stickers/StickerStyle.d.ts +0 -6
- package/lib/extensions/Stickers/StickerStyle.js +0 -10
- package/lib/extensions/Stickers/StickerStyle.js.map +0 -1
- package/lib/extensions/Stickers/StickersBubble.d.ts +0 -17
- package/lib/extensions/Stickers/StickersBubble.js +0 -21
- package/lib/extensions/Stickers/StickersBubble.js.map +0 -1
- package/lib/extensions/Stickers/StickersExtension.d.ts +0 -8
- package/lib/extensions/Stickers/StickersExtension.js +0 -28
- package/lib/extensions/Stickers/StickersExtension.js.map +0 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +0 -22
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +0 -108
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +0 -1
- package/lib/extensions/Stickers/index.d.ts +0 -5
- package/lib/extensions/Stickers/index.js +0 -5
- package/lib/extensions/Stickers/index.js.map +0 -1
- package/lib/extensions/Stickers/resources/index.d.ts +0 -2
- package/lib/extensions/Stickers/resources/index.js +0 -3
- package/lib/extensions/Stickers/resources/index.js.map +0 -1
- package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +0 -14
- package/lib/extensions/TextModeration/TextModerationConfiguration.js +0 -7
- package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +0 -1
- package/lib/extensions/TextModeration/TextModerationExtension.d.ts +0 -13
- package/lib/extensions/TextModeration/TextModerationExtension.js +0 -37
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +0 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +0 -14
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +0 -55
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +0 -1
- package/lib/extensions/TextModeration/index.d.ts +0 -4
- package/lib/extensions/TextModeration/index.js +0 -4
- package/lib/extensions/TextModeration/index.js.map +0 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +0 -16
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +0 -64
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +0 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -15
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +0 -28
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +0 -1
- package/lib/extensions/ThumbnailGeneration/index.d.ts +0 -2
- package/lib/extensions/ThumbnailGeneration/index.js +0 -3
- package/lib/extensions/ThumbnailGeneration/index.js.map +0 -1
- package/lib/extensions/index.d.ts +0 -13
- package/lib/extensions/index.js +0 -14
- package/lib/extensions/index.js.map +0 -1
- package/lib/index.d.ts +0 -26
- package/lib/index.js +0 -53
- package/lib/index.js.map +0 -1
- package/lib/shared/CometChatContext.d.ts +0 -4
- package/lib/shared/CometChatContext.js +0 -30
- package/lib/shared/CometChatContext.js.map +0 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +0 -26
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +0 -195
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +0 -1
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +0 -20
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +0 -66
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +0 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +0 -13
- package/lib/shared/CometChatUiKit/UIKitSettings.js +0 -15
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +0 -1
- package/lib/shared/CometChatUiKit/index.d.ts +0 -4
- package/lib/shared/CometChatUiKit/index.js +0 -5
- package/lib/shared/CometChatUiKit/index.js.map +0 -1
- package/lib/shared/assets/images/index.d.ts +0 -9
- package/lib/shared/assets/images/index.js +0 -17
- package/lib/shared/assets/images/index.js.map +0 -1
- package/lib/shared/base/BaseStyle.d.ts +0 -26
- package/lib/shared/base/BaseStyle.js +0 -26
- package/lib/shared/base/BaseStyle.js.map +0 -1
- package/lib/shared/base/BorderStyle.d.ts +0 -19
- package/lib/shared/base/BorderStyle.js +0 -19
- package/lib/shared/base/BorderStyle.js.map +0 -1
- package/lib/shared/base/FontStyle.d.ts +0 -18
- package/lib/shared/base/FontStyle.js +0 -18
- package/lib/shared/base/FontStyle.js.map +0 -1
- package/lib/shared/base/ShadowStyle.d.ts +0 -33
- package/lib/shared/base/ShadowStyle.js +0 -27
- package/lib/shared/base/ShadowStyle.js.map +0 -1
- package/lib/shared/base/Types.d.ts +0 -14
- package/lib/shared/base/Types.js +0 -2
- package/lib/shared/base/Types.js.map +0 -1
- package/lib/shared/base/index.d.ts +0 -6
- package/lib/shared/base/index.js +0 -6
- package/lib/shared/base/index.js.map +0 -1
- package/lib/shared/constants/UIKitConstants.d.ts +0 -285
- package/lib/shared/constants/UIKitConstants.js +0 -304
- package/lib/shared/constants/UIKitConstants.js.map +0 -1
- package/lib/shared/events/CometChatMessageEvents/index.d.ts +0 -43
- package/lib/shared/events/CometChatMessageEvents/index.js +0 -93
- package/lib/shared/events/CometChatMessageEvents/index.js.map +0 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +0 -30
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +0 -310
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +0 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +0 -184
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +0 -270
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +0 -1
- package/lib/shared/events/CometChatUIEvents.d.ts +0 -17
- package/lib/shared/events/CometChatUIEvents.js +0 -19
- package/lib/shared/events/CometChatUIEvents.js.map +0 -1
- package/lib/shared/events/conversations.d.ts +0 -3
- package/lib/shared/events/conversations.js +0 -5
- package/lib/shared/events/conversations.js.map +0 -1
- package/lib/shared/events/groups.d.ts +0 -10
- package/lib/shared/events/groups.js +0 -12
- package/lib/shared/events/groups.js.map +0 -1
- package/lib/shared/events/index.d.ts +0 -6
- package/lib/shared/events/index.js +0 -7
- package/lib/shared/events/index.js.map +0 -1
- package/lib/shared/events/messages.d.ts +0 -11
- package/lib/shared/events/messages.js +0 -13
- package/lib/shared/events/messages.js.map +0 -1
- package/lib/shared/framework/ChatConfigurator.d.ts +0 -8
- package/lib/shared/framework/ChatConfigurator.js +0 -23
- package/lib/shared/framework/ChatConfigurator.js.map +0 -1
- package/lib/shared/framework/DataSource.d.ts +0 -49
- package/lib/shared/framework/DataSource.js +0 -2
- package/lib/shared/framework/DataSource.js.map +0 -1
- package/lib/shared/framework/DataSourceDecorator.d.ts +0 -49
- package/lib/shared/framework/DataSourceDecorator.js +0 -121
- package/lib/shared/framework/DataSourceDecorator.js.map +0 -1
- package/lib/shared/framework/ExtensionsDataSource.d.ts +0 -6
- package/lib/shared/framework/ExtensionsDataSource.js +0 -14
- package/lib/shared/framework/ExtensionsDataSource.js.map +0 -1
- package/lib/shared/framework/MessageDataSource.d.ts +0 -72
- package/lib/shared/framework/MessageDataSource.js +0 -548
- package/lib/shared/framework/MessageDataSource.js.map +0 -1
- package/lib/shared/framework/index.d.ts +0 -6
- package/lib/shared/framework/index.js +0 -6
- package/lib/shared/framework/index.js.map +0 -1
- package/lib/shared/framework/resources/index.d.ts +0 -22
- package/lib/shared/framework/resources/index.js +0 -45
- package/lib/shared/framework/resources/index.js.map +0 -1
- package/lib/shared/helper/SwipeRow.d.ts +0 -162
- package/lib/shared/helper/SwipeRow.js +0 -808
- package/lib/shared/helper/SwipeRow.js.map +0 -1
- package/lib/shared/helper/Toast.d.ts +0 -4
- package/lib/shared/helper/Toast.js +0 -23
- package/lib/shared/helper/Toast.js.map +0 -1
- package/lib/shared/helper/functions.d.ts +0 -3
- package/lib/shared/helper/functions.js +0 -32
- package/lib/shared/helper/functions.js.map +0 -1
- package/lib/shared/helper/helperFunctions.d.ts +0 -2
- package/lib/shared/helper/helperFunctions.js +0 -17
- package/lib/shared/helper/helperFunctions.js.map +0 -1
- package/lib/shared/helper/types/index.d.ts +0 -19
- package/lib/shared/helper/types/index.js +0 -2
- package/lib/shared/helper/types/index.js.map +0 -1
- package/lib/shared/helper/useKeyboard.d.ts +0 -1
- package/lib/shared/helper/useKeyboard.js +0 -25
- package/lib/shared/helper/useKeyboard.js.map +0 -1
- package/lib/shared/index.d.ts +0 -14
- package/lib/shared/index.js +0 -28
- package/lib/shared/index.js.map +0 -1
- package/lib/shared/modals/CometChatDetailsOption.d.ts +0 -18
- package/lib/shared/modals/CometChatDetailsOption.js +0 -2
- package/lib/shared/modals/CometChatDetailsOption.js.map +0 -1
- package/lib/shared/modals/CometChatDetailsTemplate.d.ts +0 -15
- package/lib/shared/modals/CometChatDetailsTemplate.js +0 -2
- package/lib/shared/modals/CometChatDetailsTemplate.js.map +0 -1
- package/lib/shared/modals/CometChatMessageOption.d.ts +0 -13
- package/lib/shared/modals/CometChatMessageOption.js +0 -2
- package/lib/shared/modals/CometChatMessageOption.js.map +0 -1
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +0 -24
- package/lib/shared/modals/CometChatMessageTemplate.js +0 -20
- package/lib/shared/modals/CometChatMessageTemplate.js.map +0 -1
- package/lib/shared/modals/CometChatOptions.d.ts +0 -14
- package/lib/shared/modals/CometChatOptions.js +0 -2
- package/lib/shared/modals/CometChatOptions.js.map +0 -1
- package/lib/shared/modals/index.d.ts +0 -6
- package/lib/shared/modals/index.js +0 -3
- package/lib/shared/modals/index.js.map +0 -1
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +0 -3681
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +0 -164
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +0 -1
- package/lib/shared/resources/CometChatLocalize/index.d.ts +0 -2
- package/lib/shared/resources/CometChatLocalize/index.js +0 -3
- package/lib/shared/resources/CometChatLocalize/index.js.map +0 -1
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +0 -270
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +0 -270
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -13
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +0 -82
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +0 -1
- package/lib/shared/resources/CometChatSoundManager/index.d.ts +0 -2
- package/lib/shared/resources/CometChatSoundManager/index.js +0 -3
- package/lib/shared/resources/CometChatSoundManager/index.js.map +0 -1
- package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +0 -1
- package/lib/shared/resources/CometChatSoundManager/resources/index.js +0 -6
- package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +0 -1
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +0 -56
- package/lib/shared/resources/CometChatSoundManager/sound.js +0 -303
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +0 -1
- package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +0 -22
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js +0 -23
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +0 -1
- package/lib/shared/resources/CometChatTheme/Palette.d.ts +0 -118
- package/lib/shared/resources/CometChatTheme/Palette.js +0 -389
- package/lib/shared/resources/CometChatTheme/Palette.js.map +0 -1
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +0 -80
- package/lib/shared/resources/CometChatTheme/Typography.js +0 -212
- package/lib/shared/resources/CometChatTheme/Typography.js.map +0 -1
- package/lib/shared/resources/CometChatTheme/index.d.ts +0 -2
- package/lib/shared/resources/CometChatTheme/index.js +0 -3
- package/lib/shared/resources/CometChatTheme/index.js.map +0 -1
- package/lib/shared/resources/index.d.ts +0 -4
- package/lib/shared/resources/index.js +0 -5
- package/lib/shared/resources/index.js.map +0 -1
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +0 -15
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +0 -87
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +0 -1
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +0 -20
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +0 -27
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +0 -1
- package/lib/shared/utils/CometChatLiveReactions/index.d.ts +0 -1
- package/lib/shared/utils/CometChatLiveReactions/index.js +0 -2
- package/lib/shared/utils/CometChatLiveReactions/index.js.map +0 -1
- package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +0 -2
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js +0 -3
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +0 -1
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +0 -5
- package/lib/shared/utils/CometChatLiveReactions/style.js +0 -7
- package/lib/shared/utils/CometChatLiveReactions/style.js.map +0 -1
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +0 -12
- package/lib/shared/utils/CometChatMessageHelper/index.js +0 -42
- package/lib/shared/utils/CometChatMessageHelper/index.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +0 -49
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +0 -107
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +0 -24
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +0 -23
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +0 -31
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +0 -29
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/index.d.ts +0 -4
- package/lib/shared/utils/CometChatMessagePreview/index.js +0 -5
- package/lib/shared/utils/CometChatMessagePreview/index.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +0 -2
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js +0 -3
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +0 -1
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +0 -9
- package/lib/shared/utils/CometChatMessagePreview/style.js +0 -71
- package/lib/shared/utils/CometChatMessagePreview/style.js.map +0 -1
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +0 -13
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +0 -295
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +0 -1
- package/lib/shared/utils/DetailsUtils/resources/index.d.ts +0 -9
- package/lib/shared/utils/DetailsUtils/resources/index.js +0 -17
- package/lib/shared/utils/DetailsUtils/resources/index.js.map +0 -1
- package/lib/shared/utils/MessageUtils.d.ts +0 -15
- package/lib/shared/utils/MessageUtils.js +0 -31
- package/lib/shared/utils/MessageUtils.js.map +0 -1
- package/lib/shared/utils/conversationUtils.d.ts +0 -7
- package/lib/shared/utils/conversationUtils.js +0 -73
- package/lib/shared/utils/conversationUtils.js.map +0 -1
- package/lib/shared/utils/index.d.ts +0 -6
- package/lib/shared/utils/index.js +0 -7
- package/lib/shared/utils/index.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +0 -49
- package/lib/shared/views/CometChatActionSheet/ActionItem.js +0 -38
- package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +0 -43
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +0 -49
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +0 -23
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +0 -170
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/hooks.d.ts +0 -1
- package/lib/shared/views/CometChatActionSheet/hooks.js +0 -7
- package/lib/shared/views/CometChatActionSheet/hooks.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/index.d.ts +0 -3
- package/lib/shared/views/CometChatActionSheet/index.js +0 -4
- package/lib/shared/views/CometChatActionSheet/index.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +0 -4
- package/lib/shared/views/CometChatActionSheet/resources/index.js +0 -7
- package/lib/shared/views/CometChatActionSheet/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatActionSheet/style.d.ts +0 -44
- package/lib/shared/views/CometChatActionSheet/style.js +0 -46
- package/lib/shared/views/CometChatActionSheet/style.js.map +0 -1
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +0 -16
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +0 -23
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -35
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +0 -92
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +0 -1
- package/lib/shared/views/CometChatAudioBubble/index.d.ts +0 -3
- package/lib/shared/views/CometChatAudioBubble/index.js +0 -4
- package/lib/shared/views/CometChatAudioBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +0 -3
- package/lib/shared/views/CometChatAudioBubble/resources/index.js +0 -4
- package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatAudioBubble/style.d.ts +0 -26
- package/lib/shared/views/CometChatAudioBubble/style.js +0 -28
- package/lib/shared/views/CometChatAudioBubble/style.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +0 -19
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +0 -19
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +0 -28
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +0 -38
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +0 -25
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +0 -88
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/index.d.ts +0 -4
- package/lib/shared/views/CometChatAvatar/index.js +0 -5
- package/lib/shared/views/CometChatAvatar/index.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/resources/index.d.ts +0 -3
- package/lib/shared/views/CometChatAvatar/resources/index.js +0 -5
- package/lib/shared/views/CometChatAvatar/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatAvatar/styles.d.ts +0 -21
- package/lib/shared/views/CometChatAvatar/styles.js +0 -24
- package/lib/shared/views/CometChatAvatar/styles.js.map +0 -1
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +0 -34
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +0 -37
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +0 -11
- package/lib/shared/views/CometChatBadge/BadgeStyle.js +0 -25
- package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +0 -1
- package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +0 -23
- package/lib/shared/views/CometChatBadge/CometChatBadge.js +0 -48
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +0 -1
- package/lib/shared/views/CometChatBadge/index.d.ts +0 -4
- package/lib/shared/views/CometChatBadge/index.js +0 -5
- package/lib/shared/views/CometChatBadge/index.js.map +0 -1
- package/lib/shared/views/CometChatBadge/styles.d.ts +0 -14
- package/lib/shared/views/CometChatBadge/styles.js +0 -17
- package/lib/shared/views/CometChatBadge/styles.js.map +0 -1
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +0 -18
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +0 -99
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +0 -1
- package/lib/shared/views/CometChatBottomSheet/index.d.ts +0 -2
- package/lib/shared/views/CometChatBottomSheet/index.js +0 -3
- package/lib/shared/views/CometChatBottomSheet/index.js.map +0 -1
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +0 -50
- package/lib/shared/views/CometChatBottomSheet/style.js +0 -52
- package/lib/shared/views/CometChatBottomSheet/style.js.map +0 -1
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +0 -10
- package/lib/shared/views/CometChatButton/CometChatButton.js +0 -30
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +0 -1
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +0 -18
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +0 -25
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +0 -1
- package/lib/shared/views/CometChatButton/index.d.ts +0 -3
- package/lib/shared/views/CometChatButton/index.js +0 -4
- package/lib/shared/views/CometChatButton/index.js.map +0 -1
- package/lib/shared/views/CometChatButton/style.d.ts +0 -6
- package/lib/shared/views/CometChatButton/style.js +0 -8
- package/lib/shared/views/CometChatButton/style.js.map +0 -1
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +0 -15
- package/lib/shared/views/CometChatCard/CometChatCard.js +0 -35
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +0 -1
- package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +0 -10
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js +0 -17
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +0 -1
- package/lib/shared/views/CometChatCard/index.d.ts +0 -3
- package/lib/shared/views/CometChatCard/index.js +0 -4
- package/lib/shared/views/CometChatCard/index.js.map +0 -1
- package/lib/shared/views/CometChatCard/style.d.ts +0 -11
- package/lib/shared/views/CometChatCard/style.js +0 -13
- package/lib/shared/views/CometChatCard/style.js.map +0 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -25
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +0 -90
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +0 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +0 -24
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +0 -19
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +0 -1
- package/lib/shared/views/CometChatConfirmDialog/index.d.ts +0 -3
- package/lib/shared/views/CometChatConfirmDialog/index.js +0 -3
- package/lib/shared/views/CometChatConfirmDialog/index.js.map +0 -1
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +0 -61
- package/lib/shared/views/CometChatConfirmDialog/style.js +0 -63
- package/lib/shared/views/CometChatConfirmDialog/style.js.map +0 -1
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +0 -41
- package/lib/shared/views/CometChatDate/CometChatDate.js +0 -140
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +0 -1
- package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +0 -21
- package/lib/shared/views/CometChatDate/DateConfiguration.js +0 -19
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatDate/DateStyle.d.ts +0 -11
- package/lib/shared/views/CometChatDate/DateStyle.js +0 -16
- package/lib/shared/views/CometChatDate/DateStyle.js.map +0 -1
- package/lib/shared/views/CometChatDate/index.d.ts +0 -4
- package/lib/shared/views/CometChatDate/index.js +0 -5
- package/lib/shared/views/CometChatDate/index.js.map +0 -1
- package/lib/shared/views/CometChatDate/style.d.ts +0 -5
- package/lib/shared/views/CometChatDate/style.js +0 -8
- package/lib/shared/views/CometChatDate/style.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -38
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +0 -153
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +0 -16
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +0 -17
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +0 -21
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +0 -22
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +0 -19
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +0 -20
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +0 -27
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +0 -33
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +0 -8218
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +0 -4
- package/lib/shared/views/CometChatEmojiKeyboard/index.js +0 -5
- package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +0 -9
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +0 -10
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +0 -44
- package/lib/shared/views/CometChatEmojiKeyboard/style.js +0 -57
- package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +0 -1
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +0 -35
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +0 -66
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +0 -1
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +0 -31
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +0 -23
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatFileBubble/index.d.ts +0 -3
- package/lib/shared/views/CometChatFileBubble/index.js +0 -4
- package/lib/shared/views/CometChatFileBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +0 -3
- package/lib/shared/views/CometChatFileBubble/resources/index.js +0 -4
- package/lib/shared/views/CometChatFileBubble/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatFileBubble/style.d.ts +0 -42
- package/lib/shared/views/CometChatFileBubble/style.js +0 -45
- package/lib/shared/views/CometChatFileBubble/style.js.map +0 -1
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +0 -29
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +0 -52
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +0 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +0 -10
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +0 -13
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatImageBubble/index.d.ts +0 -3
- package/lib/shared/views/CometChatImageBubble/index.js +0 -4
- package/lib/shared/views/CometChatImageBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatList/CometChatList.d.ts +0 -86
- package/lib/shared/views/CometChatList/CometChatList.js +0 -443
- package/lib/shared/views/CometChatList/CometChatList.js.map +0 -1
- package/lib/shared/views/CometChatList/Header.d.ts +0 -2
- package/lib/shared/views/CometChatList/Header.js +0 -71
- package/lib/shared/views/CometChatList/Header.js.map +0 -1
- package/lib/shared/views/CometChatList/index.d.ts +0 -2
- package/lib/shared/views/CometChatList/index.js +0 -3
- package/lib/shared/views/CometChatList/index.js.map +0 -1
- package/lib/shared/views/CometChatList/resources/index.d.ts +0 -7
- package/lib/shared/views/CometChatList/resources/index.js +0 -13
- package/lib/shared/views/CometChatList/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatList/styles.d.ts +0 -99
- package/lib/shared/views/CometChatList/styles.js +0 -102
- package/lib/shared/views/CometChatList/styles.js.map +0 -1
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +0 -37
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +0 -173
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +0 -1
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +0 -6
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +0 -9
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +0 -27
- package/lib/shared/views/CometChatListItem/ListItemStyle.js +0 -34
- package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +0 -1
- package/lib/shared/views/CometChatListItem/index.d.ts +0 -4
- package/lib/shared/views/CometChatListItem/index.js +0 -5
- package/lib/shared/views/CometChatListItem/index.js.map +0 -1
- package/lib/shared/views/CometChatListItem/style.d.ts +0 -61
- package/lib/shared/views/CometChatListItem/style.js +0 -61
- package/lib/shared/views/CometChatListItem/style.js.map +0 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -25
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +0 -151
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +0 -1
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +0 -26
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +0 -33
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +0 -1
- package/lib/shared/views/CometChatMediaRecorder/index.d.ts +0 -3
- package/lib/shared/views/CometChatMediaRecorder/index.js +0 -4
- package/lib/shared/views/CometChatMediaRecorder/index.js.map +0 -1
- package/lib/shared/views/CometChatMediaRecorder/style.d.ts +0 -27
- package/lib/shared/views/CometChatMediaRecorder/style.js +0 -28
- package/lib/shared/views/CometChatMediaRecorder/style.js.map +0 -1
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -21
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +0 -41
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +0 -1
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +0 -6
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +0 -13
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatMessageBubble/index.d.ts +0 -2
- package/lib/shared/views/CometChatMessageBubble/index.js +0 -3
- package/lib/shared/views/CometChatMessageBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatMessageBubble/style.js +0 -1
- package/lib/shared/views/CometChatMessageBubble/style.js.map +0 -1
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +0 -98
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +0 -50
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +0 -1
- package/lib/shared/views/CometChatMessageInput/index.d.ts +0 -2
- package/lib/shared/views/CometChatMessageInput/index.js +0 -3
- package/lib/shared/views/CometChatMessageInput/index.js.map +0 -1
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +0 -7
- package/lib/shared/views/CometChatMessageInput/styles.js +0 -9
- package/lib/shared/views/CometChatMessageInput/styles.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +0 -30
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +0 -48
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +0 -30
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +0 -39
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +0 -3
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +0 -4
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/index.d.ts +0 -3
- package/lib/shared/views/CometChatReceipt/index.js +0 -4
- package/lib/shared/views/CometChatReceipt/index.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/resources/index.d.ts +0 -7
- package/lib/shared/views/CometChatReceipt/resources/index.js +0 -18
- package/lib/shared/views/CometChatReceipt/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatReceipt/style.d.ts +0 -8
- package/lib/shared/views/CometChatReceipt/style.js +0 -10
- package/lib/shared/views/CometChatReceipt/style.js.map +0 -1
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +0 -25
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +0 -40
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +0 -1
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +0 -17
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +0 -16
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +0 -1
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +0 -20
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +0 -22
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +0 -1
- package/lib/shared/views/CometChatStatusIndicator/index.d.ts +0 -4
- package/lib/shared/views/CometChatStatusIndicator/index.js +0 -5
- package/lib/shared/views/CometChatStatusIndicator/index.js.map +0 -1
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +0 -12
- package/lib/shared/views/CometChatStatusIndicator/styles.js +0 -15
- package/lib/shared/views/CometChatStatusIndicator/styles.js.map +0 -1
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +0 -27
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +0 -84
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +0 -1
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +0 -26
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +0 -21
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatTextBubble/index.d.ts +0 -3
- package/lib/shared/views/CometChatTextBubble/index.js +0 -4
- package/lib/shared/views/CometChatTextBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -31
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +0 -54
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +0 -1
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +0 -16
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +0 -17
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +0 -1
- package/lib/shared/views/CometChatVideoBubble/index.d.ts +0 -3
- package/lib/shared/views/CometChatVideoBubble/index.js +0 -4
- package/lib/shared/views/CometChatVideoBubble/index.js.map +0 -1
- package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +0 -2
- package/lib/shared/views/CometChatVideoBubble/resources/index.js +0 -3
- package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +0 -1
- package/lib/shared/views/CometChatVideoBubble/style.d.ts +0 -7
- package/lib/shared/views/CometChatVideoBubble/style.js +0 -9
- package/lib/shared/views/CometChatVideoBubble/style.js.map +0 -1
- package/lib/shared/views/SwipeRow/SwipeRow.d.ts +0 -8
- package/lib/shared/views/SwipeRow/SwipeRow.js +0 -79
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +0 -1
- package/lib/shared/views/SwipeRow/index.d.ts +0 -2
- package/lib/shared/views/SwipeRow/index.js +0 -3
- package/lib/shared/views/SwipeRow/index.js.map +0 -1
- package/lib/shared/views/SwipeRow/style.d.ts +0 -28
- package/lib/shared/views/SwipeRow/style.js +0 -28
- package/lib/shared/views/SwipeRow/style.js.map +0 -1
- package/lib/shared/views/index.d.ts +0 -18
- package/lib/shared/views/index.js +0 -21
- package/lib/shared/views/index.js.map +0 -1
- /package/{lib/shared/views/CometChatMessageBubble/style.d.ts → android/.gradle/7.4.2/gc.properties} +0 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import localizedFormat from 'dayjs/plugin/localizedFormat';
|
|
4
|
+
|
|
5
|
+
import type { ReactTestInstance } from 'react-test-renderer';
|
|
6
|
+
import { render, fireEvent } from '@testing-library/react-native';
|
|
7
|
+
|
|
8
|
+
import { ThemeContext } from '../Contexts';
|
|
9
|
+
import { DefaultTheme } from '../Themes';
|
|
10
|
+
import type { Theme } from '../Entities';
|
|
11
|
+
|
|
12
|
+
import Days, { Props } from './Days';
|
|
13
|
+
|
|
14
|
+
dayjs.extend(localizedFormat);
|
|
15
|
+
|
|
16
|
+
// import { DayComponentType } from '../Entities';
|
|
17
|
+
|
|
18
|
+
const getDisabledDays = (day: ReactTestInstance): boolean =>
|
|
19
|
+
day.props.accessibilityState.disabled;
|
|
20
|
+
const getSelectedDays = (day: ReactTestInstance): boolean =>
|
|
21
|
+
day.props.accessibilityState.selected;
|
|
22
|
+
const getAccessibilityLabel = (day: ReactTestInstance): string =>
|
|
23
|
+
day.props.accessibilityLabel;
|
|
24
|
+
|
|
25
|
+
test('Days renders without error', () => {
|
|
26
|
+
const days = new DaysPage({});
|
|
27
|
+
expect(days.component).toBeTruthy();
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
describe('Renders the correct number of normal days', () => {
|
|
31
|
+
test('works for months with 31 days', () => {
|
|
32
|
+
// January 2020 had 31 days
|
|
33
|
+
const days = new DaysPage({ visibleDate: dayjs('2020-01-01') });
|
|
34
|
+
expect(days.normalDayArray.length).toBe(31);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
test('works for months with 30 days', () => {
|
|
38
|
+
// April 2020 had 30 days
|
|
39
|
+
const days = new DaysPage({ visibleDate: dayjs('2020-04-01') });
|
|
40
|
+
expect(days.normalDayArray.length).toBe(30);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
test('works for leap-year Febuary', () => {
|
|
44
|
+
// Febuary 2020 had 29 days
|
|
45
|
+
const days = new DaysPage({ visibleDate: dayjs('2020-02-01') });
|
|
46
|
+
expect(days.normalDayArray.length).toBe(29);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
test('works for non-leap-year Febuary', () => {
|
|
50
|
+
// February 2019 had 28 days
|
|
51
|
+
const days = new DaysPage({ visibleDate: dayjs('2019-02-01') });
|
|
52
|
+
expect(days.normalDayArray.length).toBe(28);
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
describe('Renders correct number of extra days', () => {
|
|
57
|
+
test('works with months that need an extra row', () => {
|
|
58
|
+
// January 2020 needs a final padding row
|
|
59
|
+
const days = new DaysPage({ visibleDate: dayjs('2020-01-01') });
|
|
60
|
+
expect(days.extraDayArray.length).toBe(11);
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
test('works with months that do not need an extra row', () => {
|
|
64
|
+
// May 2020 does not need a final padding row
|
|
65
|
+
const days = new DaysPage({ visibleDate: dayjs('2020-05-01') });
|
|
66
|
+
expect(days.extraDayArray.length).toBe(11);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
test('Component passes onPressDay callback to Day children', () => {
|
|
71
|
+
const onPressDay = jest.fn();
|
|
72
|
+
const days = new DaysPage({ onPressDay });
|
|
73
|
+
days.randomDay && fireEvent.press(days.randomDay);
|
|
74
|
+
expect(onPressDay).toHaveBeenCalledTimes(1);
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
describe('Selects the correct days', () => {
|
|
78
|
+
test('none selected', () => {
|
|
79
|
+
const days = new DaysPage({ dateProperties: {} });
|
|
80
|
+
const selectedDays = days.normalDayArray.filter(getSelectedDays);
|
|
81
|
+
expect(selectedDays.length).toBe(0);
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
test('date selection mode', () => {
|
|
85
|
+
const visibleDate = dayjs('2020-01-01');
|
|
86
|
+
const dateProperties = {
|
|
87
|
+
'2019-01-01': { isSelected: true }, // same month of last year, is not rendered
|
|
88
|
+
'2020-01-05': { isSelected: true },
|
|
89
|
+
'2020-01-15': { isSelected: true },
|
|
90
|
+
'2020-01-31': { isSelected: true },
|
|
91
|
+
'2020-02-01': { isSelected: true }, // next month, is not rendered
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const days = new DaysPage({ visibleDate, dateProperties });
|
|
95
|
+
const selectedDays = days.normalDayArray.filter(getSelectedDays);
|
|
96
|
+
const selectedDayLabels = selectedDays.map(getAccessibilityLabel);
|
|
97
|
+
|
|
98
|
+
expect(selectedDays.length).toBe(3);
|
|
99
|
+
expect(selectedDayLabels[0]).toBe('January 5, 2020');
|
|
100
|
+
expect(selectedDayLabels[1]).toBe('January 15, 2020');
|
|
101
|
+
expect(selectedDayLabels[2]).toBe('January 31, 2020');
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
describe('Disables the correct days', () => {
|
|
106
|
+
test('none disabled', () => {
|
|
107
|
+
const days = new DaysPage({ dateProperties: {} });
|
|
108
|
+
const disabledDays = days.normalDayArray.filter(getDisabledDays);
|
|
109
|
+
expect(disabledDays.length).toBe(0);
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
test('some disabled', () => {
|
|
113
|
+
const visibleDate = dayjs('2020-01-01');
|
|
114
|
+
const dateProperties = {
|
|
115
|
+
'2019-01-01': { isDisabled: true }, // same month of last year, is not rendered
|
|
116
|
+
'2020-01-05': { isDisabled: true },
|
|
117
|
+
'2020-01-15': { isDisabled: true },
|
|
118
|
+
'2020-01-31': { isDisabled: true },
|
|
119
|
+
'2020-02-01': { isDisabled: true }, // next month, is not rendered
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const days = new DaysPage({ visibleDate, dateProperties });
|
|
123
|
+
const disabledDays = days.normalDayArray.filter(getDisabledDays);
|
|
124
|
+
const disabledDayLabels = disabledDays.map(getAccessibilityLabel);
|
|
125
|
+
|
|
126
|
+
expect(disabledDays.length).toBe(3);
|
|
127
|
+
expect(disabledDayLabels[0]).toBe('January 5, 2020');
|
|
128
|
+
expect(disabledDayLabels[1]).toBe('January 15, 2020');
|
|
129
|
+
expect(disabledDayLabels[2]).toBe('January 31, 2020');
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
test('Disables dates before min date', () => {
|
|
133
|
+
const visibleDate = dayjs('2020-01-01');
|
|
134
|
+
const minDate = '2020-01-04'; // 1-3 should be disabled
|
|
135
|
+
const days = new DaysPage({ visibleDate, minDate });
|
|
136
|
+
const disabledDays = days.normalDayArray.filter(getDisabledDays);
|
|
137
|
+
const disabledDayLabels = disabledDays.map(getAccessibilityLabel);
|
|
138
|
+
|
|
139
|
+
expect(disabledDays.length).toBe(3);
|
|
140
|
+
expect(disabledDayLabels[0]).toBe('January 1, 2020');
|
|
141
|
+
expect(disabledDayLabels[1]).toBe('January 2, 2020');
|
|
142
|
+
expect(disabledDayLabels[2]).toBe('January 3, 2020');
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
test('Disables dates after max date', () => {
|
|
146
|
+
const visibleDate = dayjs('2020-01-01');
|
|
147
|
+
const maxDate = '2020-01-28'; // 29-31 should be disabled
|
|
148
|
+
const days = new DaysPage({ visibleDate, maxDate });
|
|
149
|
+
const disabledDays = days.normalDayArray.filter(getDisabledDays);
|
|
150
|
+
const disabledDayLabels = disabledDays.map(getAccessibilityLabel);
|
|
151
|
+
|
|
152
|
+
expect(disabledDays.length).toBe(3);
|
|
153
|
+
expect(disabledDayLabels[0]).toBe('January 29, 2020');
|
|
154
|
+
expect(disabledDayLabels[1]).toBe('January 30, 2020');
|
|
155
|
+
expect(disabledDayLabels[2]).toBe('January 31, 2020');
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
describe('Theme context', () => {
|
|
160
|
+
test('Days container applies daysContainer theme', () => {
|
|
161
|
+
const days = new DaysPage({ theme: testTheme });
|
|
162
|
+
expect(days.component).toHaveStyle(testTheme.daysContainer);
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
class DaysPage {
|
|
167
|
+
component: ReactTestInstance;
|
|
168
|
+
randomDay?: ReactTestInstance;
|
|
169
|
+
randomCustomDay?: ReactTestInstance;
|
|
170
|
+
normalDayArray: ReactTestInstance[];
|
|
171
|
+
extraDayArray: ReactTestInstance[];
|
|
172
|
+
customDayArray: ReactTestInstance[];
|
|
173
|
+
|
|
174
|
+
constructor({
|
|
175
|
+
visibleDate = dayjs('2020-01-01'),
|
|
176
|
+
showExtraDates = false,
|
|
177
|
+
onPressDay = () => {},
|
|
178
|
+
dateProperties = {},
|
|
179
|
+
theme = DefaultTheme,
|
|
180
|
+
minDate,
|
|
181
|
+
maxDate,
|
|
182
|
+
DayComponent,
|
|
183
|
+
}: Partial<Props> & { theme?: Theme }) {
|
|
184
|
+
const { getByTestId, queryAllByTestId } = render(
|
|
185
|
+
<ThemeContext.Provider value={theme}>
|
|
186
|
+
<Days
|
|
187
|
+
{...{
|
|
188
|
+
minDate,
|
|
189
|
+
maxDate,
|
|
190
|
+
visibleDate,
|
|
191
|
+
showExtraDates,
|
|
192
|
+
onPressDay,
|
|
193
|
+
dateProperties,
|
|
194
|
+
DayComponent,
|
|
195
|
+
}}
|
|
196
|
+
/>
|
|
197
|
+
</ThemeContext.Provider>
|
|
198
|
+
);
|
|
199
|
+
|
|
200
|
+
this.component = getByTestId('days-container');
|
|
201
|
+
this.normalDayArray = queryAllByTestId('day-container');
|
|
202
|
+
this.extraDayArray = queryAllByTestId('extra-day-container');
|
|
203
|
+
this.customDayArray = queryAllByTestId('custom-day');
|
|
204
|
+
|
|
205
|
+
this.randomDay = this.normalDayArray.length ? this.normalDayArray[0] : undefined;
|
|
206
|
+
this.randomCustomDay = this.customDayArray.length ? this.customDayArray[0] : undefined;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
const testTheme = {
|
|
211
|
+
...DefaultTheme,
|
|
212
|
+
daysContainer: {
|
|
213
|
+
marginTop: 10,
|
|
214
|
+
backgroundColor: 'black',
|
|
215
|
+
},
|
|
216
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { Dayjs } from 'dayjs';
|
|
4
|
+
|
|
5
|
+
import type { DateProperties, Theme, DayComponentType } from '../Entities';
|
|
6
|
+
import { useSurroundingTimeUnits } from '../Hooks';
|
|
7
|
+
import { getExtraDays, dateRange } from '../Utils';
|
|
8
|
+
import { ThemeContext } from '../Contexts';
|
|
9
|
+
import { Day as DefaultDay } from '.';
|
|
10
|
+
|
|
11
|
+
export interface Props {
|
|
12
|
+
DayComponent?: DayComponentType;
|
|
13
|
+
visibleDate: Dayjs;
|
|
14
|
+
minDate?: string;
|
|
15
|
+
maxDate?: string;
|
|
16
|
+
showExtraDates: boolean; // Fill in empty day slots with previous and next month's days
|
|
17
|
+
onPressDay: (date: string) => void; // Receives date in YYYY-MM-DD format (ex. 2020-01-15 for January 15th, 2020)
|
|
18
|
+
dateProperties: {
|
|
19
|
+
[date: string /* YYYY-MM-DD */]: DateProperties;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const Days: React.FC<Props> = ({
|
|
24
|
+
minDate,
|
|
25
|
+
maxDate,
|
|
26
|
+
visibleDate,
|
|
27
|
+
showExtraDates,
|
|
28
|
+
onPressDay,
|
|
29
|
+
dateProperties,
|
|
30
|
+
DayComponent: CustomDay,
|
|
31
|
+
}) => {
|
|
32
|
+
|
|
33
|
+
const theme = React.useContext<Theme>(ThemeContext);
|
|
34
|
+
const { month } = useSurroundingTimeUnits(visibleDate.local().format());
|
|
35
|
+
const daysOfVisibleMonth = dateRange(month.current.start, month.current.end);
|
|
36
|
+
|
|
37
|
+
const initSlotsAvailable = month.current.start.day();
|
|
38
|
+
const daysInWeek = 6; // 0-indexed
|
|
39
|
+
let finalSlotsAvailable = daysInWeek - month.current.end.day();
|
|
40
|
+
|
|
41
|
+
const nOfSlotsToFill6Rows = 7 * 6;
|
|
42
|
+
if (
|
|
43
|
+
initSlotsAvailable + daysOfVisibleMonth.length + finalSlotsAvailable <
|
|
44
|
+
nOfSlotsToFill6Rows
|
|
45
|
+
) {
|
|
46
|
+
// Add an extra row at the end of the calendar
|
|
47
|
+
finalSlotsAvailable += 7;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const initialSlots: Dayjs[] = getExtraDays({
|
|
51
|
+
from: month.last.end.subtract(initSlotsAvailable - 1, 'day'),
|
|
52
|
+
to: month.last.end,
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
const finalSlots: Dayjs[] = getExtraDays({
|
|
56
|
+
from: month.next.start,
|
|
57
|
+
to: month.next.start.add(finalSlotsAvailable - 1, 'day'),
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
const Day = CustomDay || DefaultDay;
|
|
61
|
+
return (
|
|
62
|
+
<View style={theme.daysContainer} testID={'days-container'}>
|
|
63
|
+
{initialSlots.map((day, index) => (
|
|
64
|
+
<Day
|
|
65
|
+
key={index}
|
|
66
|
+
showExtraDates={showExtraDates}
|
|
67
|
+
date={day.format()}
|
|
68
|
+
onPress={onPressDay}
|
|
69
|
+
isDisabled
|
|
70
|
+
isExtraDay
|
|
71
|
+
/>
|
|
72
|
+
))}
|
|
73
|
+
{daysOfVisibleMonth.map((day) => {
|
|
74
|
+
const dayProperties = dateProperties[day.format('YYYY-MM-DD')];
|
|
75
|
+
return (
|
|
76
|
+
<Day
|
|
77
|
+
{...dayProperties}
|
|
78
|
+
key={day.date()}
|
|
79
|
+
date={day.local().format('YYYY-MM-DD')}
|
|
80
|
+
showExtraDates={showExtraDates}
|
|
81
|
+
isStartOfMonth={month.current.start.isSame(day, 'day')}
|
|
82
|
+
isEndOfMonth={month.current.end.isSame(day, 'day')}
|
|
83
|
+
isStartOfWeek={day.day() === 0}
|
|
84
|
+
isEndOfWeek={day.day() === 6}
|
|
85
|
+
onPress={onPressDay}
|
|
86
|
+
isExtraDay={false}
|
|
87
|
+
isDisabled={
|
|
88
|
+
dayProperties?.isDisabled ||
|
|
89
|
+
Boolean(minDate && day.isBefore(minDate, 'day')) ||
|
|
90
|
+
Boolean(maxDate && day.isAfter(maxDate, 'day'))
|
|
91
|
+
}
|
|
92
|
+
/>
|
|
93
|
+
);
|
|
94
|
+
})}
|
|
95
|
+
{finalSlots.map((day, index) => (
|
|
96
|
+
<Day
|
|
97
|
+
key={index}
|
|
98
|
+
date={day.format()}
|
|
99
|
+
showExtraDates={showExtraDates}
|
|
100
|
+
onPress={onPressDay}
|
|
101
|
+
isDisabled
|
|
102
|
+
isExtraDay
|
|
103
|
+
/>
|
|
104
|
+
))}
|
|
105
|
+
</View>
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export default Days;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import LocaleData from 'dayjs/plugin/localeData';
|
|
4
|
+
import type { ReactTestInstance } from 'react-test-renderer';
|
|
5
|
+
import { render, fireEvent } from '@testing-library/react-native';
|
|
6
|
+
|
|
7
|
+
import { ThemeContext } from '../Contexts';
|
|
8
|
+
import { DefaultTheme } from '../Themes';
|
|
9
|
+
import { DefaultLocale } from '../Locales';
|
|
10
|
+
|
|
11
|
+
dayjs.extend(LocaleData);
|
|
12
|
+
|
|
13
|
+
import Month, { Props } from './Month';
|
|
14
|
+
|
|
15
|
+
test('Month renders without error', () => {
|
|
16
|
+
const month = new MonthPage({});
|
|
17
|
+
expect(month.component).toBeTruthy();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
test('Component calls onPress callback when clicked', () => {
|
|
21
|
+
const onPress = jest.fn();
|
|
22
|
+
const month = new MonthPage({ onPress });
|
|
23
|
+
fireEvent.press(month.component);
|
|
24
|
+
expect(onPress).toHaveBeenCalledTimes(1);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
describe('Enabling and disabling', () => {
|
|
28
|
+
test('Disable clicking if prop ´isDisabled´ is true', () => {
|
|
29
|
+
const month = new MonthPage({ isDisabled: true });
|
|
30
|
+
expect(month.component).toBeDisabled();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
test('Enable clicking if prop ´isDisabled´ is false', () => {
|
|
34
|
+
const month = new MonthPage({ isDisabled: false });
|
|
35
|
+
expect(month.component).toBeEnabled();
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
describe('Theme context', () => {
|
|
40
|
+
test('Container applies normal theme in enabled state', () => {
|
|
41
|
+
const month = new MonthPage({ isDisabled: false, isSelected: false });
|
|
42
|
+
expect(month.component).toHaveStyle(theme.normalMonthContainer);
|
|
43
|
+
expect(month.component).not.toHaveStyle(theme.selectedMonthContainer);
|
|
44
|
+
expect(month.component).not.toHaveStyle(theme.disabledMonthContainer);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
test('Container applies disabled theme in disabled state', () => {
|
|
48
|
+
const month = new MonthPage({ isDisabled: true });
|
|
49
|
+
expect(month.component).toHaveStyle([
|
|
50
|
+
theme.normalMonthContainer,
|
|
51
|
+
theme.disabledMonthContainer,
|
|
52
|
+
]);
|
|
53
|
+
expect(month.component).not.toHaveStyle(theme.selectedMonthContainer);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
test('Container applies selected theme in selected state', () => {
|
|
57
|
+
const month = new MonthPage({ isSelected: true });
|
|
58
|
+
expect(month.component).toHaveStyle([
|
|
59
|
+
theme.normalMonthContainer,
|
|
60
|
+
theme.selectedMonthContainer,
|
|
61
|
+
]);
|
|
62
|
+
expect(month.component).not.toHaveStyle(theme.disabledMonthContainer);
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
test('Container applies selected + disabled themes in selected + disabled state', () => {
|
|
66
|
+
const month = new MonthPage({ isSelected: true, isDisabled: true });
|
|
67
|
+
expect(month.component).toHaveStyle([
|
|
68
|
+
theme.normalMonthContainer,
|
|
69
|
+
theme.selectedMonthContainer,
|
|
70
|
+
theme.disabledMonthContainer,
|
|
71
|
+
]);
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
test('Text applies normal theme in enabled state', () => {
|
|
75
|
+
const month = new MonthPage({ isDisabled: false, isSelected: false });
|
|
76
|
+
expect(month.text).toHaveStyle(theme.normalMonthText);
|
|
77
|
+
expect(month.text).not.toHaveStyle(theme.selectedMonthText);
|
|
78
|
+
expect(month.text).not.toHaveStyle(theme.disabledMonthText);
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
test('Text applies disabled theme in disabled state', () => {
|
|
82
|
+
const month = new MonthPage({ isDisabled: true });
|
|
83
|
+
expect(month.text).toHaveStyle([theme.normalMonthText, theme.disabledMonthText]);
|
|
84
|
+
expect(month.text).not.toHaveStyle(theme.selectedMonthText);
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
test('Text applies selected theme in selected state', () => {
|
|
88
|
+
const month = new MonthPage({ isSelected: true });
|
|
89
|
+
expect(month.text).toHaveStyle([theme.normalMonthText, theme.selectedMonthText]);
|
|
90
|
+
expect(month.text).not.toHaveStyle(theme.disabledMonthText);
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
test('Text applies selected + disabled themes in selected + disabled state', () => {
|
|
94
|
+
const month = new MonthPage({ isSelected: true, isDisabled: true });
|
|
95
|
+
expect(month.text).toHaveStyle([
|
|
96
|
+
theme.normalMonthText,
|
|
97
|
+
theme.selectedMonthText,
|
|
98
|
+
theme.disabledMonthText,
|
|
99
|
+
]);
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
class MonthPage {
|
|
104
|
+
component: ReactTestInstance;
|
|
105
|
+
text: ReactTestInstance;
|
|
106
|
+
|
|
107
|
+
constructor({
|
|
108
|
+
date = '2020-01-01',
|
|
109
|
+
onPress = () => {},
|
|
110
|
+
locale = DefaultLocale,
|
|
111
|
+
isSelected = false,
|
|
112
|
+
isDisabled = false,
|
|
113
|
+
}: Partial<Props>) {
|
|
114
|
+
const { getByLabelText, getByTestId } = render(
|
|
115
|
+
<ThemeContext.Provider value={theme}>
|
|
116
|
+
<Month {...{ locale, date, onPress, isSelected, isDisabled }} />
|
|
117
|
+
</ThemeContext.Provider>
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
const months = dayjs(date).localeData().monthsShort();
|
|
121
|
+
const index = dayjs(date).month();
|
|
122
|
+
|
|
123
|
+
this.component = getByLabelText(months[index]);
|
|
124
|
+
this.text = getByTestId('month-text');
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Mix of properties which get overwritten and which don't
|
|
129
|
+
const theme = {
|
|
130
|
+
...DefaultTheme,
|
|
131
|
+
normalMonthContainer: {
|
|
132
|
+
marginTop: 10,
|
|
133
|
+
backgroundColor: 'black',
|
|
134
|
+
},
|
|
135
|
+
selectedMonthContainer: {
|
|
136
|
+
marginBottom: 10,
|
|
137
|
+
backgroundColor: 'green',
|
|
138
|
+
},
|
|
139
|
+
disabledMonthContainer: {
|
|
140
|
+
marginLeft: 10,
|
|
141
|
+
backgroundColor: 'gray',
|
|
142
|
+
},
|
|
143
|
+
normalMonthText: {
|
|
144
|
+
marginTop: 10,
|
|
145
|
+
color: 'black',
|
|
146
|
+
},
|
|
147
|
+
selectedMonthText: {
|
|
148
|
+
marginBottom: 10,
|
|
149
|
+
color: 'green',
|
|
150
|
+
},
|
|
151
|
+
disabledMonthText: {
|
|
152
|
+
marginLeft: 10,
|
|
153
|
+
color: 'gray',
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export const testLocale = {
|
|
158
|
+
...DefaultLocale,
|
|
159
|
+
monthsShort: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L'],
|
|
160
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import { Text, TouchableOpacity } from 'react-native';
|
|
4
|
+
import { ThemeContext } from '../Contexts';
|
|
5
|
+
import type { Theme, Locale } from '../Entities';
|
|
6
|
+
|
|
7
|
+
export interface Props {
|
|
8
|
+
date: string;
|
|
9
|
+
locale: Locale;
|
|
10
|
+
onPress: (date: string) => void;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
isDisabled: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const Month: React.FC<Props> = ({ date, onPress, isSelected, isDisabled, locale }) => {
|
|
16
|
+
const theme = React.useContext<Theme>(ThemeContext);
|
|
17
|
+
const _onPress = React.useCallback(() => onPress(date), [date, onPress]);
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<TouchableOpacity
|
|
21
|
+
testID={'month-container'}
|
|
22
|
+
accessibilityRole={'button'}
|
|
23
|
+
accessibilityLabel={dayjs(date).locale(locale).format('MMM')}
|
|
24
|
+
accessibilityState={{ disabled: isDisabled, selected: isSelected }}
|
|
25
|
+
accessibilityHint={'Press to select this month and return to calendar month view'}
|
|
26
|
+
disabled={isDisabled}
|
|
27
|
+
onPress={_onPress}
|
|
28
|
+
style={[
|
|
29
|
+
theme.normalMonthContainer,
|
|
30
|
+
isSelected && theme.selectedMonthContainer,
|
|
31
|
+
isDisabled && theme.disabledMonthContainer,
|
|
32
|
+
]}>
|
|
33
|
+
<Text
|
|
34
|
+
testID={'month-text'}
|
|
35
|
+
style={[
|
|
36
|
+
theme.normalMonthText,
|
|
37
|
+
isSelected && theme.selectedMonthText,
|
|
38
|
+
isDisabled && theme.disabledMonthText,
|
|
39
|
+
]}>
|
|
40
|
+
{dayjs(date).locale(locale).format('MMM')}
|
|
41
|
+
</Text>
|
|
42
|
+
</TouchableOpacity>
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default React.memo(Month);
|