@cometchat/chat-uikit-react-native 4.1.4 → 4.2.1
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 +8 -8
- 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/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/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.tsx +6 -1
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +1 -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/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
|
@@ -1,808 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
import React, { Component } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import { Dimensions, Animated, PanResponder, StyleSheet, TouchableOpacity, View, } from 'react-native';
|
|
5
|
-
const DEFAULT_PREVIEW_OPEN_DELAY = 700;
|
|
6
|
-
const PREVIEW_CLOSE_DELAY = 300;
|
|
7
|
-
const MAX_VELOCITY_CONTRIBUTION = 5;
|
|
8
|
-
const SCROLL_LOCK_MILLISECONDS = 300;
|
|
9
|
-
/**
|
|
10
|
-
* Row that is generally used in a SwipeListView.
|
|
11
|
-
* If you are rendering a SwipeRow explicitly you must pass the SwipeRow exactly two children.
|
|
12
|
-
* The first will be rendered behind the second.
|
|
13
|
-
* e.g.
|
|
14
|
-
<SwipeRow>
|
|
15
|
-
<View style={hiddenRowStyle} />
|
|
16
|
-
<View style={visibleRowStyle} />
|
|
17
|
-
</SwipeRow>
|
|
18
|
-
*/
|
|
19
|
-
class SwipeRow extends Component {
|
|
20
|
-
constructor(props) {
|
|
21
|
-
super(props);
|
|
22
|
-
this.isOpen = false;
|
|
23
|
-
this.leftActionActivated = false;
|
|
24
|
-
this.rightActionActivated = false;
|
|
25
|
-
this.previousTrackedTranslateX = 0;
|
|
26
|
-
this.currentTranslateX = 0;
|
|
27
|
-
this.previousTrackedDirection = null;
|
|
28
|
-
this.horizontalSwipeGestureBegan = false;
|
|
29
|
-
this.swipeInitialX = null;
|
|
30
|
-
this.parentScrollEnabled = true;
|
|
31
|
-
this.ranPreview = false;
|
|
32
|
-
this._ensureScrollEnabledTimer = null;
|
|
33
|
-
this.isForceClosing = false;
|
|
34
|
-
this.state = {
|
|
35
|
-
leftActionActivated: false,
|
|
36
|
-
rightActionActivated: false,
|
|
37
|
-
leftActionState: this.props.initialLeftActionState || false,
|
|
38
|
-
rightActionState: this.props.initialRightActionState || false,
|
|
39
|
-
previewRepeatInterval: null,
|
|
40
|
-
timeBetweenPreviewRepeats: null,
|
|
41
|
-
dimensionsSet: false,
|
|
42
|
-
hiddenHeight: this.props.disableHiddenLayoutCalculation
|
|
43
|
-
? '100%'
|
|
44
|
-
: 0,
|
|
45
|
-
hiddenWidth: this.props.disableHiddenLayoutCalculation ? '100%' : 0,
|
|
46
|
-
};
|
|
47
|
-
this._translateX = new Animated.Value(0);
|
|
48
|
-
this._panResponder = PanResponder.create({
|
|
49
|
-
onMoveShouldSetPanResponder: (e, gs) => this.handleOnMoveShouldSetPanResponder(e, gs),
|
|
50
|
-
onPanResponderMove: (e, gs) => this.handlePanResponderMove(e, gs),
|
|
51
|
-
onPanResponderRelease: (e, gs) => this.handlePanResponderRelease(e, gs),
|
|
52
|
-
onPanResponderTerminate: (e, gs) => this.handlePanResponderEnd(e, gs),
|
|
53
|
-
onShouldBlockNativeResponder: () => false,
|
|
54
|
-
});
|
|
55
|
-
this._translateX.addListener(({ value }) => {
|
|
56
|
-
this.currentTranslateX = value;
|
|
57
|
-
if (this.props.onSwipeValueChange) {
|
|
58
|
-
let direction = this.previousTrackedDirection;
|
|
59
|
-
if (value !== this.previousTrackedTranslateX &&
|
|
60
|
-
Math.abs(value - this.previousTrackedTranslateX) > 0.5) {
|
|
61
|
-
direction =
|
|
62
|
-
value > this.previousTrackedTranslateX
|
|
63
|
-
? 'right'
|
|
64
|
-
: 'left';
|
|
65
|
-
}
|
|
66
|
-
this.props.onSwipeValueChange &&
|
|
67
|
-
this.props.onSwipeValueChange({
|
|
68
|
-
isOpen: this.isOpen,
|
|
69
|
-
direction,
|
|
70
|
-
value,
|
|
71
|
-
key: this.props.swipeKey,
|
|
72
|
-
});
|
|
73
|
-
this.previousTrackedTranslateX = value;
|
|
74
|
-
this.previousTrackedDirection = direction;
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
if (this.props.forceCloseToRightThreshold &&
|
|
78
|
-
this.props.forceCloseToRightThreshold > 0) {
|
|
79
|
-
this._translateX.addListener(({ value }) => {
|
|
80
|
-
if (!this.isForceClosing &&
|
|
81
|
-
Dimensions.get('window').width + value <
|
|
82
|
-
this.props.forceCloseToRightThreshold) {
|
|
83
|
-
this.isForceClosing = true;
|
|
84
|
-
this.forceCloseRow('right');
|
|
85
|
-
if (this.props.onForceCloseToRight) {
|
|
86
|
-
this.props.onForceCloseToRight();
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
if (this.props.forceCloseToLeftThreshold &&
|
|
92
|
-
this.props.forceCloseToRightThreshold > 0) {
|
|
93
|
-
this._translateX.addListener(({ value }) => {
|
|
94
|
-
if (!this.isForceClosing &&
|
|
95
|
-
Dimensions.get('window').width - value <
|
|
96
|
-
this.props.forceCloseToLeftThreshold) {
|
|
97
|
-
this.isForceClosing = true;
|
|
98
|
-
this.forceCloseRow('left');
|
|
99
|
-
if (this.props.onForceCloseToLeft) {
|
|
100
|
-
this.props.onForceCloseToLeft();
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
if (this.props.onLeftActionStatusChange &&
|
|
106
|
-
this.props.leftActivationValue &&
|
|
107
|
-
this.props.leftActivationValue > 0) {
|
|
108
|
-
this._translateX.addListener(({ value }) => {
|
|
109
|
-
const absValue = Math.abs(value);
|
|
110
|
-
const isActivated = absValue > this.props.leftActivationValue;
|
|
111
|
-
if (this.leftActionActivated !== isActivated && value > 0) {
|
|
112
|
-
this.props.onLeftActionStatusChange({
|
|
113
|
-
isActivated,
|
|
114
|
-
value,
|
|
115
|
-
key: this.props.swipeKey,
|
|
116
|
-
});
|
|
117
|
-
this.leftActionActivated = isActivated;
|
|
118
|
-
this.setState({
|
|
119
|
-
leftActionActivated: isActivated,
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
if (this.props.onRightActionStatusChange &&
|
|
125
|
-
this.props.rightActivationValue &&
|
|
126
|
-
this.props.rightActivationValue < 0) {
|
|
127
|
-
this._translateX.addListener(({ value }) => {
|
|
128
|
-
const absValue = Math.abs(value);
|
|
129
|
-
const isActivated = absValue > Math.abs(this.props.rightActivationValue);
|
|
130
|
-
if (this.rightActionActivated !== isActivated && value < 0) {
|
|
131
|
-
this.props.onRightActionStatusChange({
|
|
132
|
-
isActivated,
|
|
133
|
-
value,
|
|
134
|
-
key: this.props.swipeKey,
|
|
135
|
-
});
|
|
136
|
-
this.rightActionActivated = isActivated;
|
|
137
|
-
this.setState({
|
|
138
|
-
rightActionActivated: isActivated,
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
componentWillUnmount() {
|
|
145
|
-
clearTimeout(this._ensureScrollEnabledTimer);
|
|
146
|
-
this._translateX.removeAllListeners();
|
|
147
|
-
}
|
|
148
|
-
shouldComponentUpdate(nextProps, nextState) {
|
|
149
|
-
if (this.state.hiddenHeight !== nextState.hiddenHeight ||
|
|
150
|
-
this.state.hiddenWidth !== nextState.hiddenWidth ||
|
|
151
|
-
this.state.leftActionActivated !== nextState.leftActionActivated ||
|
|
152
|
-
this.state.rightActionActivated !==
|
|
153
|
-
nextState.rightActionActivated ||
|
|
154
|
-
this.state.leftActionState !== nextState.leftActionState ||
|
|
155
|
-
this.state.rightActionState !== nextState.rightActionState ||
|
|
156
|
-
!this.props.shouldItemUpdate ||
|
|
157
|
-
(this.props.shouldItemUpdate &&
|
|
158
|
-
this.props.shouldItemUpdate(this.props.item, nextProps.item))) {
|
|
159
|
-
return true;
|
|
160
|
-
}
|
|
161
|
-
return false;
|
|
162
|
-
}
|
|
163
|
-
static getDerivedStateFromProps(nextProps, prevState) {
|
|
164
|
-
if (!nextProps.previewRepeat) {
|
|
165
|
-
clearInterval(prevState.previewRepeatInterval);
|
|
166
|
-
prevState.previewRepeatInterval = null;
|
|
167
|
-
}
|
|
168
|
-
prevState.timeBetweenPreviewRepeats =
|
|
169
|
-
nextProps.previewDuration * 2 +
|
|
170
|
-
nextProps.previewOpenDelay +
|
|
171
|
-
PREVIEW_CLOSE_DELAY +
|
|
172
|
-
nextProps.previewRepeatDelay;
|
|
173
|
-
return prevState;
|
|
174
|
-
}
|
|
175
|
-
getPreviewAnimation(toValue, delay) {
|
|
176
|
-
return Animated.timing(this._translateX, {
|
|
177
|
-
duration: this.props.previewDuration,
|
|
178
|
-
toValue,
|
|
179
|
-
delay,
|
|
180
|
-
useNativeDriver: this.props.useNativeDriver,
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
onContentLayout(e) {
|
|
184
|
-
this.setState({
|
|
185
|
-
dimensionsSet: !this.props.recalculateHiddenLayout,
|
|
186
|
-
...(!this.props.disableHiddenLayoutCalculation
|
|
187
|
-
? {
|
|
188
|
-
hiddenHeight: e.nativeEvent.layout.height,
|
|
189
|
-
hiddenWidth: e.nativeEvent.layout.width,
|
|
190
|
-
}
|
|
191
|
-
: {}),
|
|
192
|
-
});
|
|
193
|
-
if (this.props.preview && !this.ranPreview) {
|
|
194
|
-
this.ranPreview = true;
|
|
195
|
-
this.doFullAnimation();
|
|
196
|
-
if (this.props.previewRepeat) {
|
|
197
|
-
this.setState({
|
|
198
|
-
previewRepeatInterval: setInterval(() => {
|
|
199
|
-
this.doFullAnimation();
|
|
200
|
-
}, this.state.timeBetweenPreviewRepeats),
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
doFullAnimation() {
|
|
206
|
-
const previewOpenValue = this.props.previewOpenValue || this.props.rightOpenValue * 0.5;
|
|
207
|
-
return this.getPreviewAnimation(previewOpenValue, this.props.previewOpenDelay).start(() => {
|
|
208
|
-
this.getPreviewAnimation(0, PREVIEW_CLOSE_DELAY).start(() => {
|
|
209
|
-
this.props.onPreviewEnd && this.props.onPreviewEnd();
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
onRowPress() {
|
|
214
|
-
if (this.props.onRowPress) {
|
|
215
|
-
this.props.onRowPress();
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
if (this.props.closeOnRowPress) {
|
|
219
|
-
this.closeRow();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
handleOnMoveShouldSetPanResponder(e, gs) {
|
|
224
|
-
const { dx } = gs;
|
|
225
|
-
return Math.abs(dx) > this.props.directionalDistanceChangeThreshold;
|
|
226
|
-
}
|
|
227
|
-
handlePanResponderMove(e, gestureState) {
|
|
228
|
-
/* If the view is force closing, then ignore Moves. Return */
|
|
229
|
-
if (this.isForceClosing) {
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
/* Else, do normal job */
|
|
233
|
-
const { dx, dy } = gestureState;
|
|
234
|
-
const absDx = Math.abs(dx);
|
|
235
|
-
const absDy = Math.abs(dy);
|
|
236
|
-
// this check may not be necessary because we don't capture the move until we pass the threshold
|
|
237
|
-
// just being extra safe here
|
|
238
|
-
if (absDx > this.props.directionalDistanceChangeThreshold ||
|
|
239
|
-
absDy > this.props.directionalDistanceChangeThreshold) {
|
|
240
|
-
// we have enough to determine direction
|
|
241
|
-
if (absDy > absDx && !this.horizontalSwipeGestureBegan) {
|
|
242
|
-
// user is moving vertically, do nothing, listView will handle
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
// user is moving horizontally
|
|
246
|
-
if (this.parentScrollEnabled) {
|
|
247
|
-
// disable scrolling on the listView parent
|
|
248
|
-
this.parentScrollEnabled = false;
|
|
249
|
-
this.props.setScrollEnabled &&
|
|
250
|
-
this.props.setScrollEnabled(false);
|
|
251
|
-
}
|
|
252
|
-
if (this.swipeInitialX === null) {
|
|
253
|
-
// set tranlateX value when user started swiping
|
|
254
|
-
this.swipeInitialX = this.currentTranslateX;
|
|
255
|
-
}
|
|
256
|
-
if (!this.horizontalSwipeGestureBegan) {
|
|
257
|
-
this.horizontalSwipeGestureBegan = true;
|
|
258
|
-
this.props.swipeGestureBegan && this.props.swipeGestureBegan();
|
|
259
|
-
}
|
|
260
|
-
let newDX = this.swipeInitialX + dx;
|
|
261
|
-
if (this.props.disableLeftSwipe && newDX < 0) {
|
|
262
|
-
newDX = 0;
|
|
263
|
-
}
|
|
264
|
-
if (this.props.disableRightSwipe && newDX > 0) {
|
|
265
|
-
newDX = 0;
|
|
266
|
-
}
|
|
267
|
-
if (this.props.stopLeftSwipe && newDX > this.props.stopLeftSwipe) {
|
|
268
|
-
newDX = this.props.stopLeftSwipe;
|
|
269
|
-
}
|
|
270
|
-
if (this.props.stopRightSwipe &&
|
|
271
|
-
newDX < this.props.stopRightSwipe) {
|
|
272
|
-
newDX = this.props.stopRightSwipe;
|
|
273
|
-
}
|
|
274
|
-
this._translateX.setValue(newDX);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
ensureScrollEnabled = () => {
|
|
278
|
-
if (!this.parentScrollEnabled) {
|
|
279
|
-
this.parentScrollEnabled = true;
|
|
280
|
-
this.props.setScrollEnabled && this.props.setScrollEnabled(true);
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
handlePanResponderRelease(e, gestureState) {
|
|
284
|
-
this.props.swipeGestureEnded &&
|
|
285
|
-
this.props.swipeGestureEnded(this.props.swipeKey, {
|
|
286
|
-
translateX: this.currentTranslateX,
|
|
287
|
-
direction: this.previousTrackedDirection,
|
|
288
|
-
event: e,
|
|
289
|
-
gestureState,
|
|
290
|
-
});
|
|
291
|
-
// If preventDefault() called on the event, do not handle responder end.
|
|
292
|
-
if (!e.defaultPrevented) {
|
|
293
|
-
this.handlePanResponderEnd(e, gestureState);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
handlePanResponderEnd(e, gestureState) {
|
|
297
|
-
/* PanEnd will reset the force-closing state when it's true. */
|
|
298
|
-
if (this.isForceClosing) {
|
|
299
|
-
setTimeout(() => {
|
|
300
|
-
this.isForceClosing = false;
|
|
301
|
-
}, 500); // 500 is the default Animated.spring's duration used in manuallySwipeRow
|
|
302
|
-
}
|
|
303
|
-
// decide how much the velocity will affect the final position that the list item settles in.
|
|
304
|
-
const swipeToOpenVelocityContribution = this.props
|
|
305
|
-
.swipeToOpenVelocityContribution;
|
|
306
|
-
const possibleExtraPixels = this.props.rightOpenValue * swipeToOpenVelocityContribution;
|
|
307
|
-
const clampedVelocity = Math.min(gestureState.vx, MAX_VELOCITY_CONTRIBUTION);
|
|
308
|
-
const projectedExtraPixels = possibleExtraPixels * (clampedVelocity / MAX_VELOCITY_CONTRIBUTION);
|
|
309
|
-
// re-enable scrolling on listView parent
|
|
310
|
-
this._ensureScrollEnabledTimer = setTimeout(this.ensureScrollEnabled, SCROLL_LOCK_MILLISECONDS);
|
|
311
|
-
// finish up the animation
|
|
312
|
-
if (this.currentTranslateX >= 0) {
|
|
313
|
-
// trying to swipe right
|
|
314
|
-
// if (this.props.disableRightSwipe) {
|
|
315
|
-
// return;
|
|
316
|
-
// }
|
|
317
|
-
this.handleRightSwipe(projectedExtraPixels);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
// trying to swipe left
|
|
321
|
-
if (this.props.disableLeftSwipe) {
|
|
322
|
-
return;
|
|
323
|
-
}
|
|
324
|
-
this.handleLeftSwipe(projectedExtraPixels);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
handleRightSwipe(projectedExtraPixels) {
|
|
328
|
-
let toValue = 0;
|
|
329
|
-
let actionSide;
|
|
330
|
-
const leftActionValue = this.props.leftActionValue || 0;
|
|
331
|
-
if (this.swipeInitialX < this.currentTranslateX) {
|
|
332
|
-
if (this.currentTranslateX - projectedExtraPixels >
|
|
333
|
-
this.props.leftOpenValue * (this.props.swipeToOpenPercent / 100)) {
|
|
334
|
-
// we're more than halfway
|
|
335
|
-
toValue = this.isForceClosing ? 0 : this.props.leftOpenValue;
|
|
336
|
-
}
|
|
337
|
-
if (this.currentTranslateX - projectedExtraPixels >
|
|
338
|
-
this.props.leftActivationValue) {
|
|
339
|
-
// we've passed the threshold to trigger the leftActionValue
|
|
340
|
-
toValue = this.isForceClosing ? 0 : leftActionValue;
|
|
341
|
-
actionSide = 'left';
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
if (this.currentTranslateX - projectedExtraPixels >
|
|
346
|
-
this.props.leftOpenValue *
|
|
347
|
-
(1 - this.props.swipeToClosePercent / 100)) {
|
|
348
|
-
toValue = this.isForceClosing ? 0 : this.props.leftOpenValue;
|
|
349
|
-
}
|
|
350
|
-
if (this.currentTranslateX - projectedExtraPixels >
|
|
351
|
-
this.props.leftActivationValue) {
|
|
352
|
-
toValue = this.isForceClosing ? 0 : leftActionValue;
|
|
353
|
-
actionSide = 'left';
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
const action = this.determineAction(actionSide);
|
|
357
|
-
this.manuallySwipeRow(toValue, action);
|
|
358
|
-
}
|
|
359
|
-
handleLeftSwipe(projectedExtraPixels) {
|
|
360
|
-
let toValue = 0;
|
|
361
|
-
let actionSide;
|
|
362
|
-
const rightActionValue = this.props.rightActionValue || 0;
|
|
363
|
-
if (this.swipeInitialX > this.currentTranslateX) {
|
|
364
|
-
if (this.currentTranslateX - projectedExtraPixels <
|
|
365
|
-
this.props.rightOpenValue *
|
|
366
|
-
(this.props.swipeToOpenPercent / 100)) {
|
|
367
|
-
// we're more than halfway
|
|
368
|
-
toValue = this.isForceClosing ? 0 : this.props.rightOpenValue;
|
|
369
|
-
}
|
|
370
|
-
if (this.currentTranslateX - projectedExtraPixels <
|
|
371
|
-
this.props.rightActivationValue) {
|
|
372
|
-
// we've passed the threshold to trigger the rightActionValue
|
|
373
|
-
toValue = this.isForceClosing ? 0 : rightActionValue;
|
|
374
|
-
actionSide = 'right';
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
if (this.currentTranslateX - projectedExtraPixels <
|
|
379
|
-
this.props.rightOpenValue) {
|
|
380
|
-
toValue = this.isForceClosing ? 0 : this.props.rightOpenValue;
|
|
381
|
-
}
|
|
382
|
-
if (this.currentTranslateX - projectedExtraPixels <
|
|
383
|
-
this.props.rightActivationValue *
|
|
384
|
-
(1 - this.props.swipeToClosePercent / 100)) {
|
|
385
|
-
toValue = this.isForceClosing ? 0 : rightActionValue;
|
|
386
|
-
actionSide = 'right';
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
const action = this.determineAction(actionSide);
|
|
390
|
-
this.manuallySwipeRow(toValue, action);
|
|
391
|
-
}
|
|
392
|
-
determineAction(actionSide) {
|
|
393
|
-
if (actionSide === 'right') {
|
|
394
|
-
return () => {
|
|
395
|
-
this.props.onRightAction && this.props.onRightAction();
|
|
396
|
-
this.setState({
|
|
397
|
-
rightActionState: !this.state.rightActionState,
|
|
398
|
-
});
|
|
399
|
-
};
|
|
400
|
-
}
|
|
401
|
-
if (actionSide === 'left') {
|
|
402
|
-
return () => {
|
|
403
|
-
this.props.onLeftAction && this.props.onLeftAction();
|
|
404
|
-
this.setState({
|
|
405
|
-
leftActionState: !this.state.leftActionState,
|
|
406
|
-
});
|
|
407
|
-
};
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
/*
|
|
411
|
-
* This method is called by SwipeListView
|
|
412
|
-
*/
|
|
413
|
-
closeRow() {
|
|
414
|
-
this.manuallySwipeRow(0);
|
|
415
|
-
}
|
|
416
|
-
/**
|
|
417
|
-
* Force close the row toward the end of the given direction.
|
|
418
|
-
* @param {String} direction The direction to force close.
|
|
419
|
-
*/
|
|
420
|
-
forceCloseRow(direction) {
|
|
421
|
-
this.manuallySwipeRow(0, () => {
|
|
422
|
-
if (direction === 'right' && this.props.onForceCloseToRightEnd) {
|
|
423
|
-
this.props.onForceCloseToRightEnd();
|
|
424
|
-
}
|
|
425
|
-
else if (direction === 'left' &&
|
|
426
|
-
this.props.onForceCloseToLeftEnd) {
|
|
427
|
-
this.props.onForceCloseToLeftEnd();
|
|
428
|
-
}
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
closeRowWithoutAnimation() {
|
|
432
|
-
this._translateX.setValue(0);
|
|
433
|
-
this.ensureScrollEnabled();
|
|
434
|
-
this.isOpen = false;
|
|
435
|
-
this.props.onRowDidClose && this.props.onRowDidClose();
|
|
436
|
-
this.props.onRowClose && this.props.onRowClose();
|
|
437
|
-
this.swipeInitialX = null;
|
|
438
|
-
this.horizontalSwipeGestureBegan = false;
|
|
439
|
-
}
|
|
440
|
-
manuallySwipeRow(toValue, onAnimationEnd) {
|
|
441
|
-
Animated.spring(this._translateX, {
|
|
442
|
-
toValue,
|
|
443
|
-
friction: this.props.friction,
|
|
444
|
-
tension: this.props.tension,
|
|
445
|
-
restSpeedThreshold: this.props.restSpeedThreshold,
|
|
446
|
-
restDisplacementThreshold: this.props.restDisplacementThreshold,
|
|
447
|
-
useNativeDriver: this.props.useNativeDriver,
|
|
448
|
-
}).start(() => {
|
|
449
|
-
this.ensureScrollEnabled();
|
|
450
|
-
if (toValue === 0) {
|
|
451
|
-
this.isOpen = false;
|
|
452
|
-
this.props.onRowDidClose && this.props.onRowDidClose();
|
|
453
|
-
}
|
|
454
|
-
else {
|
|
455
|
-
this.isOpen = true;
|
|
456
|
-
this.props.onRowDidOpen && this.props.onRowDidOpen(toValue);
|
|
457
|
-
}
|
|
458
|
-
if (onAnimationEnd) {
|
|
459
|
-
onAnimationEnd();
|
|
460
|
-
}
|
|
461
|
-
});
|
|
462
|
-
if (toValue === 0) {
|
|
463
|
-
this.props.onRowClose && this.props.onRowClose();
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
this.props.onRowOpen && this.props.onRowOpen(toValue);
|
|
467
|
-
}
|
|
468
|
-
// reset everything
|
|
469
|
-
this.swipeInitialX = null;
|
|
470
|
-
this.horizontalSwipeGestureBegan = false;
|
|
471
|
-
}
|
|
472
|
-
combinedOnPress = (...args) => {
|
|
473
|
-
const onPress = this.props.children[1].props.onPress;
|
|
474
|
-
this.onRowPress();
|
|
475
|
-
onPress && onPress(...args);
|
|
476
|
-
};
|
|
477
|
-
renderVisibleContent() {
|
|
478
|
-
if (!this.props.closeOnRowPress) {
|
|
479
|
-
return React.cloneElement(this.props.children[1], {
|
|
480
|
-
...this.props.children[1].props,
|
|
481
|
-
leftActionActivated: this.state.leftActionActivated,
|
|
482
|
-
rightActionActivated: this.state.rightActionActivated,
|
|
483
|
-
leftActionState: this.state.leftActionState,
|
|
484
|
-
rightActionState: this.state.rightActionState,
|
|
485
|
-
swipeAnimatedValue: this._translateX,
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
// handle touchables
|
|
489
|
-
const onPress = this.props.children[1].props.onPress;
|
|
490
|
-
if (onPress) {
|
|
491
|
-
return React.cloneElement(this.props.children[1], {
|
|
492
|
-
...this.props.children[1].props,
|
|
493
|
-
onPress: this.combinedOnPress,
|
|
494
|
-
leftActionActivated: this.state.leftActionActivated,
|
|
495
|
-
rightActionActivated: this.state.rightActionActivated,
|
|
496
|
-
leftActionState: this.state.leftActionState,
|
|
497
|
-
rightActionState: this.state.rightActionState,
|
|
498
|
-
swipeAnimatedValue: this._translateX,
|
|
499
|
-
});
|
|
500
|
-
}
|
|
501
|
-
return (<TouchableOpacity activeOpacity={1} onPress={this.combinedOnPress} accessible={false}>
|
|
502
|
-
{React.cloneElement(this.props.children[1], {
|
|
503
|
-
...this.props.children[1].props,
|
|
504
|
-
leftActionActivated: this.state.leftActionActivated,
|
|
505
|
-
rightActionActivated: this.state.rightActionActivated,
|
|
506
|
-
leftActionState: this.state.leftActionState,
|
|
507
|
-
rightActionState: this.state.rightActionState,
|
|
508
|
-
swipeAnimatedValue: this._translateX,
|
|
509
|
-
})}
|
|
510
|
-
</TouchableOpacity>);
|
|
511
|
-
}
|
|
512
|
-
renderRowContent() {
|
|
513
|
-
// We do this annoying if statement for performance.
|
|
514
|
-
// We don't want the onLayout func to run after it runs once.
|
|
515
|
-
if (this.state.dimensionsSet) {
|
|
516
|
-
return (<Animated.View manipulationModes={['translateX']} {...this._panResponder.panHandlers} style={{
|
|
517
|
-
zIndex: 2,
|
|
518
|
-
transform: [{ translateX: this._translateX }],
|
|
519
|
-
}}>
|
|
520
|
-
{this.renderVisibleContent()}
|
|
521
|
-
</Animated.View>);
|
|
522
|
-
}
|
|
523
|
-
else {
|
|
524
|
-
return (<Animated.View manipulationModes={['translateX']} {...this._panResponder.panHandlers} onLayout={e => this.onContentLayout(e)} style={{
|
|
525
|
-
zIndex: 2,
|
|
526
|
-
transform: [{ translateX: this._translateX }],
|
|
527
|
-
}}>
|
|
528
|
-
{this.renderVisibleContent()}
|
|
529
|
-
</Animated.View>);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
render() {
|
|
533
|
-
return (<View style={this.props.style ? this.props.style : styles.container}>
|
|
534
|
-
<View style={[
|
|
535
|
-
styles.hidden,
|
|
536
|
-
{
|
|
537
|
-
height: this.state.hiddenHeight,
|
|
538
|
-
width: this.state.hiddenWidth,
|
|
539
|
-
},
|
|
540
|
-
]}>
|
|
541
|
-
{React.cloneElement(this.props.children[0], {
|
|
542
|
-
...this.props.children[0].props,
|
|
543
|
-
leftActionActivated: this.state.leftActionActivated,
|
|
544
|
-
rightActionActivated: this.state.rightActionActivated,
|
|
545
|
-
leftActionState: this.state.leftActionState,
|
|
546
|
-
rightActionState: this.state.rightActionState,
|
|
547
|
-
swipeAnimatedValue: this._translateX,
|
|
548
|
-
})}
|
|
549
|
-
</View>
|
|
550
|
-
{this.renderRowContent()}
|
|
551
|
-
</View>);
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
const styles = StyleSheet.create({
|
|
555
|
-
container: {
|
|
556
|
-
// As of RN 0.29 flex: 1 is causing all rows to be the same height
|
|
557
|
-
// flex: 1
|
|
558
|
-
},
|
|
559
|
-
hidden: {
|
|
560
|
-
zIndex: 1,
|
|
561
|
-
bottom: 0,
|
|
562
|
-
left: 0,
|
|
563
|
-
overflow: 'hidden',
|
|
564
|
-
position: 'absolute',
|
|
565
|
-
right: 0,
|
|
566
|
-
top: 0,
|
|
567
|
-
},
|
|
568
|
-
});
|
|
569
|
-
SwipeRow.propTypes = {
|
|
570
|
-
/**
|
|
571
|
-
* Used by the SwipeListView to close rows on scroll events.
|
|
572
|
-
* You shouldn't need to use this prop explicitly.
|
|
573
|
-
*/
|
|
574
|
-
setScrollEnabled: PropTypes.func,
|
|
575
|
-
/**
|
|
576
|
-
* Called when it has been detected that a row should be swiped open.
|
|
577
|
-
*/
|
|
578
|
-
swipeGestureBegan: PropTypes.func,
|
|
579
|
-
/**
|
|
580
|
-
* Called when user has ended their swipe gesture
|
|
581
|
-
*/
|
|
582
|
-
swipeGestureEnded: PropTypes.func,
|
|
583
|
-
/**
|
|
584
|
-
* Called when a swipe row is animating open. Used by the SwipeListView
|
|
585
|
-
* to keep references to open rows.
|
|
586
|
-
*/
|
|
587
|
-
onRowOpen: PropTypes.func,
|
|
588
|
-
/**
|
|
589
|
-
* Called when a swipe row has animated open.
|
|
590
|
-
*/
|
|
591
|
-
onRowDidOpen: PropTypes.func,
|
|
592
|
-
/**
|
|
593
|
-
* TranslateX value for opening the row to the left (positive number)
|
|
594
|
-
*/
|
|
595
|
-
leftOpenValue: PropTypes.number,
|
|
596
|
-
/**
|
|
597
|
-
* TranslateX value for opening the row to the right (negative number)
|
|
598
|
-
*/
|
|
599
|
-
rightOpenValue: PropTypes.number,
|
|
600
|
-
/**
|
|
601
|
-
* TranslateX value for firing onLeftActionStatusChange (positive number)
|
|
602
|
-
*/
|
|
603
|
-
leftActivationValue: PropTypes.number,
|
|
604
|
-
/**
|
|
605
|
-
* TranslateX value for firing onRightActionStatusChange (negative number)
|
|
606
|
-
*/
|
|
607
|
-
rightActivationValue: PropTypes.number,
|
|
608
|
-
/**
|
|
609
|
-
* TranslateX value for left action to which the row will be shifted after gesture release
|
|
610
|
-
*/
|
|
611
|
-
leftActionValue: PropTypes.number,
|
|
612
|
-
/**
|
|
613
|
-
* TranslateX value for right action to which the row will be shifted after gesture release
|
|
614
|
-
*/
|
|
615
|
-
rightActionValue: PropTypes.number,
|
|
616
|
-
/**
|
|
617
|
-
* Initial value for left action state (default is false)
|
|
618
|
-
*/
|
|
619
|
-
initialLeftActionState: PropTypes.bool,
|
|
620
|
-
/**
|
|
621
|
-
* Initial value for right action state (default is false)
|
|
622
|
-
*/
|
|
623
|
-
initialRightActionState: PropTypes.bool,
|
|
624
|
-
/**
|
|
625
|
-
* TranslateX value for stop the row to the left (positive number)
|
|
626
|
-
*/
|
|
627
|
-
stopLeftSwipe: PropTypes.number,
|
|
628
|
-
/**
|
|
629
|
-
* TranslateX value for stop the row to the right (negative number)
|
|
630
|
-
*/
|
|
631
|
-
stopRightSwipe: PropTypes.number,
|
|
632
|
-
/**
|
|
633
|
-
* Friction for the open / close animation
|
|
634
|
-
*/
|
|
635
|
-
friction: PropTypes.number,
|
|
636
|
-
/**
|
|
637
|
-
* Tension for the open / close animation
|
|
638
|
-
*/
|
|
639
|
-
tension: PropTypes.number,
|
|
640
|
-
/**
|
|
641
|
-
* RestSpeedThreshold for the open / close animation
|
|
642
|
-
*/
|
|
643
|
-
restSpeedThreshold: PropTypes.number,
|
|
644
|
-
/**
|
|
645
|
-
* RestDisplacementThreshold for the open / close animation
|
|
646
|
-
*/
|
|
647
|
-
restDisplacementThreshold: PropTypes.number,
|
|
648
|
-
/**
|
|
649
|
-
* Should the row be closed when it is tapped
|
|
650
|
-
*/
|
|
651
|
-
closeOnRowPress: PropTypes.bool,
|
|
652
|
-
/**
|
|
653
|
-
* Disable ability to swipe the row left
|
|
654
|
-
*/
|
|
655
|
-
disableLeftSwipe: PropTypes.bool,
|
|
656
|
-
/**
|
|
657
|
-
* Disable ability to swipe the row right
|
|
658
|
-
*/
|
|
659
|
-
disableRightSwipe: PropTypes.bool,
|
|
660
|
-
/**
|
|
661
|
-
* Enable hidden row onLayout calculations to run always
|
|
662
|
-
*/
|
|
663
|
-
recalculateHiddenLayout: PropTypes.bool,
|
|
664
|
-
/**
|
|
665
|
-
* Disable hidden row onLayout calculations
|
|
666
|
-
*/
|
|
667
|
-
disableHiddenLayoutCalculation: PropTypes.bool,
|
|
668
|
-
/**
|
|
669
|
-
* Called when a swipe row is animating closed
|
|
670
|
-
*/
|
|
671
|
-
onRowClose: PropTypes.func,
|
|
672
|
-
/**
|
|
673
|
-
* Called when a swipe row has animated closed
|
|
674
|
-
*/
|
|
675
|
-
onRowDidClose: PropTypes.func,
|
|
676
|
-
/**
|
|
677
|
-
* Called when row shifted to leftActivationValue
|
|
678
|
-
*/
|
|
679
|
-
onLeftAction: PropTypes.func,
|
|
680
|
-
/**
|
|
681
|
-
* Called when row shifted to rightActivationValue
|
|
682
|
-
*/
|
|
683
|
-
onRightAction: PropTypes.func,
|
|
684
|
-
/**
|
|
685
|
-
* Called once when swipe value crosses the leftActivationValue
|
|
686
|
-
*/
|
|
687
|
-
onLeftActionStatusChange: PropTypes.func,
|
|
688
|
-
/**
|
|
689
|
-
* Called once when swipe value crosses the rightActivationValue
|
|
690
|
-
*/
|
|
691
|
-
onRightActionStatusChange: PropTypes.func,
|
|
692
|
-
/**
|
|
693
|
-
* Styles for the parent wrapper View of the SwipeRow
|
|
694
|
-
*/
|
|
695
|
-
style: PropTypes.object,
|
|
696
|
-
/**
|
|
697
|
-
* Should the row do a slide out preview to show that it is swipeable
|
|
698
|
-
*/
|
|
699
|
-
preview: PropTypes.bool,
|
|
700
|
-
/**
|
|
701
|
-
* Duration of the slide out preview animation
|
|
702
|
-
*/
|
|
703
|
-
previewDuration: PropTypes.number,
|
|
704
|
-
/**
|
|
705
|
-
* Should the animation repeat until false is provided
|
|
706
|
-
*/
|
|
707
|
-
previewRepeat: PropTypes.bool,
|
|
708
|
-
/**
|
|
709
|
-
* Time between each full completed animation in milliseconds
|
|
710
|
-
* Default: 1000 (1 second)
|
|
711
|
-
*/
|
|
712
|
-
previewRepeatDelay: PropTypes.number,
|
|
713
|
-
/**
|
|
714
|
-
* TranslateX value for the slide out preview animation
|
|
715
|
-
* Default: 0.5 * props.rightOpenValue
|
|
716
|
-
*/
|
|
717
|
-
previewOpenValue: PropTypes.number,
|
|
718
|
-
/**
|
|
719
|
-
* The dx value used to detect when a user has begun a swipe gesture
|
|
720
|
-
*/
|
|
721
|
-
directionalDistanceChangeThreshold: PropTypes.number,
|
|
722
|
-
/**
|
|
723
|
-
* What % of the left/right openValue does the user need to swipe
|
|
724
|
-
* past to trigger the row opening.
|
|
725
|
-
*/
|
|
726
|
-
swipeToOpenPercent: PropTypes.number,
|
|
727
|
-
/**
|
|
728
|
-
* Describes how much the ending velocity of the gesture contributes to whether the swipe will result in the item being closed or open.
|
|
729
|
-
* A velocity factor of 0 means that the velocity will have no bearing on whether the swipe settles on a closed or open position
|
|
730
|
-
* and it'll just take into consideration the swipeToOpenPercent.
|
|
731
|
-
*/
|
|
732
|
-
swipeToOpenVelocityContribution: PropTypes.number,
|
|
733
|
-
/**
|
|
734
|
-
* What % of the left/right openValue does the user need to swipe
|
|
735
|
-
* past to trigger the row closing.
|
|
736
|
-
*/
|
|
737
|
-
swipeToClosePercent: PropTypes.number,
|
|
738
|
-
/**
|
|
739
|
-
* callback to determine whether component should update (currentItem, newItem)
|
|
740
|
-
*/
|
|
741
|
-
shouldItemUpdate: PropTypes.func,
|
|
742
|
-
/**
|
|
743
|
-
* Callback invoked any time the swipe value of the row is changed
|
|
744
|
-
*/
|
|
745
|
-
onSwipeValueChange: PropTypes.func,
|
|
746
|
-
/**
|
|
747
|
-
* TranslateX amount(not value!) threshold that triggers force-closing the row to the Left End (positive number)
|
|
748
|
-
*/
|
|
749
|
-
forceCloseToLeftThreshold: PropTypes.number,
|
|
750
|
-
/**
|
|
751
|
-
* TranslateX amount(not value!) threshold that triggers force-closing the row to the Right End (positive number)
|
|
752
|
-
*/
|
|
753
|
-
forceCloseToRightThreshold: PropTypes.number,
|
|
754
|
-
/**
|
|
755
|
-
* Callback invoked when row is force closing to the Left End
|
|
756
|
-
*/
|
|
757
|
-
onForceCloseToLeft: PropTypes.func,
|
|
758
|
-
/**
|
|
759
|
-
* Callback invoked when row is force closing to the Right End
|
|
760
|
-
*/
|
|
761
|
-
onForceCloseToRight: PropTypes.func,
|
|
762
|
-
/**
|
|
763
|
-
* Callback invoked when row has finished force closing to the Left End
|
|
764
|
-
*/
|
|
765
|
-
onForceCloseToLeftEnd: PropTypes.func,
|
|
766
|
-
/**
|
|
767
|
-
* Callback invoked when row has finished force closing to the Right End
|
|
768
|
-
*/
|
|
769
|
-
onForceCloseToRightEnd: PropTypes.func,
|
|
770
|
-
/**
|
|
771
|
-
* useNativeDriver: true for all animations where possible
|
|
772
|
-
*/
|
|
773
|
-
useNativeDriver: PropTypes.bool,
|
|
774
|
-
/**
|
|
775
|
-
* Children
|
|
776
|
-
*/
|
|
777
|
-
children: PropTypes.node.isRequired,
|
|
778
|
-
/**
|
|
779
|
-
* Key used to identify rows on swipe value changes
|
|
780
|
-
*/
|
|
781
|
-
swipeKey: PropTypes.string,
|
|
782
|
-
/**
|
|
783
|
-
* Callback that runs after row swipe preview is finished
|
|
784
|
-
*/
|
|
785
|
-
onPreviewEnd: PropTypes.func,
|
|
786
|
-
};
|
|
787
|
-
SwipeRow.defaultProps = {
|
|
788
|
-
leftOpenValue: 0,
|
|
789
|
-
rightOpenValue: 0,
|
|
790
|
-
closeOnRowPress: true,
|
|
791
|
-
disableLeftSwipe: false,
|
|
792
|
-
disableRightSwipe: false,
|
|
793
|
-
recalculateHiddenLayout: false,
|
|
794
|
-
disableHiddenLayoutCalculation: false,
|
|
795
|
-
preview: false,
|
|
796
|
-
previewDuration: 300,
|
|
797
|
-
previewOpenDelay: DEFAULT_PREVIEW_OPEN_DELAY,
|
|
798
|
-
directionalDistanceChangeThreshold: 2,
|
|
799
|
-
swipeToOpenPercent: 50,
|
|
800
|
-
swipeToOpenVelocityContribution: 0,
|
|
801
|
-
swipeToClosePercent: 50,
|
|
802
|
-
item: {},
|
|
803
|
-
useNativeDriver: true,
|
|
804
|
-
previewRepeat: false,
|
|
805
|
-
previewRepeatDelay: 1000,
|
|
806
|
-
};
|
|
807
|
-
export default SwipeRow;
|
|
808
|
-
//# sourceMappingURL=SwipeRow.js.map
|