@sendbird/uikit-react-native 3.4.1 → 3.4.3
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/lib/commonjs/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js +2 -2
- package/lib/commonjs/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js.map +1 -1
- package/lib/commonjs/fragments/createGroupChannelListFragment.js +4 -4
- package/lib/commonjs/fragments/createGroupChannelListFragment.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js +2 -2
- package/lib/module/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js.map +1 -1
- package/lib/module/fragments/createGroupChannelListFragment.js +4 -4
- package/lib/module/fragments/createGroupChannelListFragment.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/src/containers/SendbirdUIKitContainer.d.ts +1 -1
- package/lib/typescript/src/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.tsx +3 -3
- package/src/fragments/createGroupChannelListFragment.tsx +4 -4
- package/src/version.ts +1 -1
package/lib/commonjs/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js
CHANGED
|
@@ -16,8 +16,6 @@ const GroupChannelMessageOutgoingStatus = _ref => {
|
|
|
16
16
|
message,
|
|
17
17
|
style
|
|
18
18
|
} = _ref;
|
|
19
|
-
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
20
|
-
if (channel.isEphemeral) return null;
|
|
21
19
|
const {
|
|
22
20
|
sdk
|
|
23
21
|
} = (0, _useContext.useSendbirdChat)();
|
|
@@ -25,6 +23,8 @@ const GroupChannelMessageOutgoingStatus = _ref => {
|
|
|
25
23
|
colors
|
|
26
24
|
} = (0, _uikitReactNativeFoundation.useUIKitTheme)();
|
|
27
25
|
const outgoingStatus = (0, _uikitChatHooks.useMessageOutgoingStatus)(sdk, channel, message);
|
|
26
|
+
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
27
|
+
if (channel.isEphemeral) return null;
|
|
28
28
|
if (outgoingStatus === 'PENDING') {
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_uikitReactNativeFoundation.LoadingSpinner, {
|
|
30
30
|
size: SIZE,
|
package/lib/commonjs/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_uikitChatHooks","_uikitReactNativeFoundation","_useContext","obj","__esModule","default","SIZE","GroupChannelMessageOutgoingStatus","_ref","channel","message","style","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_uikitChatHooks","_uikitReactNativeFoundation","_useContext","obj","__esModule","default","SIZE","GroupChannelMessageOutgoingStatus","_ref","channel","message","style","sdk","useSendbirdChat","colors","useUIKitTheme","outgoingStatus","useMessageOutgoingStatus","isUserMessage","isFileMessage","isEphemeral","createElement","LoadingSpinner","size","Icon","icon","color","error","secondary","onBackground03","_default","React","memo","exports"],"sources":["GroupChannelMessageOutgoingStatus.tsx"],"sourcesContent":["import React from 'react';\nimport type { ImageStyle, StyleProp } from 'react-native';\n\nimport { useMessageOutgoingStatus } from '@sendbird/uikit-chat-hooks';\nimport { Icon, LoadingSpinner, useUIKitTheme } from '@sendbird/uikit-react-native-foundation';\nimport type { SendbirdGroupChannel, SendbirdMessage } from '@sendbird/uikit-utils';\n\nimport { useSendbirdChat } from '../../hooks/useContext';\n\nconst SIZE = 16;\n\ntype Props = {\n channel: SendbirdGroupChannel;\n message: SendbirdMessage;\n style?: StyleProp<ImageStyle>;\n};\nconst GroupChannelMessageOutgoingStatus = ({ channel, message, style }: Props) => {\n const { sdk } = useSendbirdChat();\n const { colors } = useUIKitTheme();\n const outgoingStatus = useMessageOutgoingStatus(sdk, channel, message);\n\n if (!message.isUserMessage() && !message.isFileMessage()) return null;\n if (channel.isEphemeral) return null;\n\n if (outgoingStatus === 'PENDING') {\n return <LoadingSpinner size={SIZE} style={style} />;\n }\n\n if (outgoingStatus === 'FAILED') {\n return <Icon icon={'error'} size={SIZE} color={colors.error} style={style} />;\n }\n\n if (outgoingStatus === 'READ') {\n return <Icon icon={'done-all'} size={SIZE} color={colors.secondary} style={style} />;\n }\n\n if (outgoingStatus === 'UNREAD' || outgoingStatus === 'DELIVERED') {\n return <Icon icon={'done-all'} size={SIZE} color={colors.onBackground03} style={style} />;\n }\n\n if (outgoingStatus === 'UNDELIVERED') {\n return <Icon icon={'done'} size={SIZE} color={colors.onBackground03} style={style} />;\n }\n\n return null;\n};\n\nexport default React.memo(GroupChannelMessageOutgoingStatus);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,2BAAA,GAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AAAyD,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEzD,MAAMG,IAAI,GAAG,EAAE;AAOf,MAAMC,iCAAiC,GAAGC,IAAA,IAAwC;EAAA,IAAvC;IAAEC,OAAO;IAAEC,OAAO;IAAEC;EAAa,CAAC,GAAAH,IAAA;EAC3E,MAAM;IAAEI;EAAI,CAAC,GAAG,IAAAC,2BAAe,GAAE;EACjC,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,yCAAa,GAAE;EAClC,MAAMC,cAAc,GAAG,IAAAC,wCAAwB,EAACL,GAAG,EAAEH,OAAO,EAAEC,OAAO,CAAC;EAEtE,IAAI,CAACA,OAAO,CAACQ,aAAa,EAAE,IAAI,CAACR,OAAO,CAACS,aAAa,EAAE,EAAE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AK,EAAEA;IAAM,EAAG;EACvF;EAEA,OAAO,IAAI;AACb,CAAC;AAAC,IAAAmB,QAAA,gBAEaC,cAAK,CAACC,IAAI,CAACzB,iCAAiC,CAAC;AAAA0B,OAAA,CAAA5B,OAAA,GAAAyB,QAAA"}
|
|
@@ -39,11 +39,11 @@ const createGroupChannelListFragment = initModule => {
|
|
|
39
39
|
collectionCreator: getCollectionCreator(sdk, channelListQueryParams, collectionCreator),
|
|
40
40
|
markAsDelivered: _uikitUtils.confirmAndMarkAsDelivered
|
|
41
41
|
});
|
|
42
|
-
|
|
43
|
-
(
|
|
42
|
+
(0, _uikitUtils.useAppState)('change', status => {
|
|
43
|
+
if (sbOptions.appInfo.deliveryReceiptEnabled) {
|
|
44
44
|
if (status === 'active') groupChannels.forEach(markAsDeliveredWithChannel);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
47
|
const _renderGroupChannelPreview = (0, _uikitUtils.useFreshCallback)(props => {
|
|
48
48
|
if (renderGroupChannelPreview) return renderGroupChannelPreview(props);
|
|
49
49
|
return /*#__PURE__*/_react.default.createElement(_GroupChannelPreviewContainer.default, props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_groupChannel","_uikitTools","_uikitUtils","_StatusComposition","_GroupChannelPreviewContainer","_createGroupChannelListModule","_useContext","obj","__esModule","default","createGroupChannelListFragment","initModule","GroupChannelListModule","createGroupChannelListModule","_ref","onPressChannel","onPressCreateChannel","renderGroupChannelPreview","skipTypeSelection","flatListProps","menuItemCreator","PASS","channelListQueryParams","collectionCreator","sdk","sbOptions","markAsDeliveredWithChannel","useSendbirdChat","groupChannels","loadMore","initialized","useGroupChannelList","getCollectionCreator","markAsDelivered","confirmAndMarkAsDelivered","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_groupChannel","_uikitTools","_uikitUtils","_StatusComposition","_GroupChannelPreviewContainer","_createGroupChannelListModule","_useContext","obj","__esModule","default","createGroupChannelListFragment","initModule","GroupChannelListModule","createGroupChannelListModule","_ref","onPressChannel","onPressCreateChannel","renderGroupChannelPreview","skipTypeSelection","flatListProps","menuItemCreator","PASS","channelListQueryParams","collectionCreator","sdk","sbOptions","markAsDeliveredWithChannel","useSendbirdChat","groupChannels","loadMore","initialized","useGroupChannelList","getCollectionCreator","markAsDelivered","confirmAndMarkAsDelivered","useAppState","status","appInfo","deliveryReceiptEnabled","forEach","_renderGroupChannelPreview","useFreshCallback","props","createElement","isChannelTypeAvailable","broadcastChannelEnabled","superGroupChannelEnabled","Provider","Header","loading","LoadingComponent","StatusLoading","List","onLoadNext","ListEmptyComponent","StatusEmpty","contentContainerStyle","flexGrow","TypeSelector","onSelectType","deprecatedCreatorProp","defaultParams","params","groupChannel","createGroupChannelCollection","filter","GroupChannelFilter","_default","exports"],"sources":["createGroupChannelListFragment.tsx"],"sourcesContent":["import React from 'react';\n\nimport { GroupChannelCollection, GroupChannelFilter } from '@sendbird/chat/groupChannel';\nimport { useGroupChannelList } from '@sendbird/uikit-tools';\nimport { PASS, SendbirdChatSDK, confirmAndMarkAsDelivered, useAppState, useFreshCallback } from '@sendbird/uikit-utils';\n\nimport StatusComposition from '../components/StatusComposition';\nimport GroupChannelPreviewContainer from '../containers/GroupChannelPreviewContainer';\nimport createGroupChannelListModule from '../domain/groupChannelList/module/createGroupChannelListModule';\nimport type {\n GroupChannelListFragment,\n GroupChannelListModule,\n GroupChannelListProps,\n} from '../domain/groupChannelList/types';\nimport { useSendbirdChat } from '../hooks/useContext';\n\nconst createGroupChannelListFragment = (initModule?: Partial<GroupChannelListModule>): GroupChannelListFragment => {\n const GroupChannelListModule = createGroupChannelListModule(initModule);\n return ({\n onPressChannel,\n onPressCreateChannel,\n renderGroupChannelPreview,\n skipTypeSelection = false,\n flatListProps = {},\n menuItemCreator = PASS,\n channelListQueryParams,\n collectionCreator,\n }) => {\n const { sdk, sbOptions, markAsDeliveredWithChannel } = useSendbirdChat();\n const { groupChannels, loadMore, initialized } = useGroupChannelList(sdk, {\n collectionCreator: getCollectionCreator(sdk, channelListQueryParams, collectionCreator),\n markAsDelivered: confirmAndMarkAsDelivered,\n });\n\n useAppState('change', (status) => {\n if (sbOptions.appInfo.deliveryReceiptEnabled) {\n if (status === 'active') groupChannels.forEach(markAsDeliveredWithChannel);\n }\n });\n\n const _renderGroupChannelPreview: GroupChannelListProps['List']['renderGroupChannelPreview'] = useFreshCallback(\n (props) => {\n if (renderGroupChannelPreview) return renderGroupChannelPreview(props);\n return <GroupChannelPreviewContainer {...props} />;\n },\n );\n\n const isChannelTypeAvailable =\n sbOptions.appInfo.broadcastChannelEnabled || sbOptions.appInfo.superGroupChannelEnabled;\n\n return (\n <GroupChannelListModule.Provider>\n <GroupChannelListModule.Header />\n <StatusComposition loading={!initialized} LoadingComponent={<GroupChannelListModule.StatusLoading />}>\n <GroupChannelListModule.List\n onPressChannel={onPressChannel}\n menuItemCreator={menuItemCreator}\n renderGroupChannelPreview={_renderGroupChannelPreview}\n groupChannels={groupChannels}\n onLoadNext={loadMore}\n flatListProps={{\n ListEmptyComponent: <GroupChannelListModule.StatusEmpty />,\n contentContainerStyle: { flexGrow: 1 },\n ...flatListProps,\n }}\n />\n </StatusComposition>\n <GroupChannelListModule.TypeSelector\n skipTypeSelection={isChannelTypeAvailable ? skipTypeSelection : true}\n onSelectType={onPressCreateChannel}\n />\n </GroupChannelListModule.Provider>\n );\n };\n};\n\nfunction getCollectionCreator(\n sdk: SendbirdChatSDK,\n channelListQueryParams?: GroupChannelListProps['Fragment']['channelListQueryParams'],\n deprecatedCreatorProp?: () => GroupChannelCollection,\n) {\n if (!channelListQueryParams && deprecatedCreatorProp) return deprecatedCreatorProp;\n\n return (defaultParams: GroupChannelListProps['Fragment']['channelListQueryParams']) => {\n const params = { ...defaultParams, ...channelListQueryParams };\n return sdk.groupChannel.createGroupChannelCollection({\n ...params,\n filter: new GroupChannelFilter(params),\n });\n };\n}\n\nexport default create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B,CAAC8C,YAAY;MAClCxC,iBAAiB,EAAE0B,sBAAsB,GAAG1B,iBAAiB,GAAG,IAAK;MACrEyC,YAAY,EAAE3C;IAAqB,EACnC,CAC8B;EAEtC,CAAC;AACH,CAAC;AAED,SAASgB,oBAAoBA,CAC3BR,GAAoB,EACpBF,sBAAoF,EACpFsC,qBAAoD,EACpD;EACA,IAAI,CAACtC,sBAAsB,IAAIsC,qBAAqB,EAAE,OAAOA,qBAAqB;EAElF,OAAQC,aAA0E,IAAK;IACrF,MAAMC,MAAM,GAAG;MAAE,GAAGD,aAAa;MAAE,GAAGvC;IAAuB,CAAC;IAC9D,OAAOE,GAAG,CAACuC,YAAY,CAACC,4BAA4B,CAAC;MACnD,GAAGF,MAAM;MACTG,MAAM,EAAE,IAAIC,gCAAkB,CAACJ,MAAM;IACvC,CAAC,CAAC;EACJ,CAAC;AACH;AAAC,IAAAK,QAAA,GAEczD,8BAA8B;AAAA0D,OAAA,CAAA3D,OAAA,GAAA0D,QAAA"}
|
package/lib/commonjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VERSION","_default","exports","default"],"sources":["version.ts"],"sourcesContent":["const VERSION = '3.4.
|
|
1
|
+
{"version":3,"names":["VERSION","_default","exports","default"],"sources":["version.ts"],"sourcesContent":["const VERSION = '3.4.3';\nexport default VERSION;\n"],"mappings":";;;;;;AAAA,MAAMA,OAAO,GAAG,OAAO;AAAC,IAAAC,QAAA,GACTD,OAAO;AAAAE,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
|
package/lib/module/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js
CHANGED
|
@@ -9,8 +9,6 @@ const GroupChannelMessageOutgoingStatus = _ref => {
|
|
|
9
9
|
message,
|
|
10
10
|
style
|
|
11
11
|
} = _ref;
|
|
12
|
-
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
13
|
-
if (channel.isEphemeral) return null;
|
|
14
12
|
const {
|
|
15
13
|
sdk
|
|
16
14
|
} = useSendbirdChat();
|
|
@@ -18,6 +16,8 @@ const GroupChannelMessageOutgoingStatus = _ref => {
|
|
|
18
16
|
colors
|
|
19
17
|
} = useUIKitTheme();
|
|
20
18
|
const outgoingStatus = useMessageOutgoingStatus(sdk, channel, message);
|
|
19
|
+
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
20
|
+
if (channel.isEphemeral) return null;
|
|
21
21
|
if (outgoingStatus === 'PENDING') {
|
|
22
22
|
return /*#__PURE__*/React.createElement(LoadingSpinner, {
|
|
23
23
|
size: SIZE,
|
package/lib/module/components/GroupChannelMessageRenderer/GroupChannelMessageOutgoingStatus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMessageOutgoingStatus","Icon","LoadingSpinner","useUIKitTheme","useSendbirdChat","SIZE","GroupChannelMessageOutgoingStatus","_ref","channel","message","style","
|
|
1
|
+
{"version":3,"names":["React","useMessageOutgoingStatus","Icon","LoadingSpinner","useUIKitTheme","useSendbirdChat","SIZE","GroupChannelMessageOutgoingStatus","_ref","channel","message","style","sdk","colors","outgoingStatus","isUserMessage","isFileMessage","isEphemeral","createElement","size","icon","color","error","secondary","onBackground03","memo"],"sources":["GroupChannelMessageOutgoingStatus.tsx"],"sourcesContent":["import React from 'react';\nimport type { ImageStyle, StyleProp } from 'react-native';\n\nimport { useMessageOutgoingStatus } from '@sendbird/uikit-chat-hooks';\nimport { Icon, LoadingSpinner, useUIKitTheme } from '@sendbird/uikit-react-native-foundation';\nimport type { SendbirdGroupChannel, SendbirdMessage } from '@sendbird/uikit-utils';\n\nimport { useSendbirdChat } from '../../hooks/useContext';\n\nconst SIZE = 16;\n\ntype Props = {\n channel: SendbirdGroupChannel;\n message: SendbirdMessage;\n style?: StyleProp<ImageStyle>;\n};\nconst GroupChannelMessageOutgoingStatus = ({ channel, message, style }: Props) => {\n const { sdk } = useSendbirdChat();\n const { colors } = useUIKitTheme();\n const outgoingStatus = useMessageOutgoingStatus(sdk, channel, message);\n\n if (!message.isUserMessage() && !message.isFileMessage()) return null;\n if (channel.isEphemeral) return null;\n\n if (outgoingStatus === 'PENDING') {\n return <LoadingSpinner size={SIZE} style={style} />;\n }\n\n if (outgoingStatus === 'FAILED') {\n return <Icon icon={'error'} size={SIZE} color={colors.error} style={style} />;\n }\n\n if (outgoingStatus === 'READ') {\n return <Icon icon={'done-all'} size={SIZE} color={colors.secondary} style={style} />;\n }\n\n if (outgoingStatus === 'UNREAD' || outgoingStatus === 'DELIVERED') {\n return <Icon icon={'done-all'} size={SIZE} color={colors.onBackground03} style={style} />;\n }\n\n if (outgoingStatus === 'UNDELIVERED') {\n return <Icon icon={'done'} size={SIZE} color={colors.onBackground03} style={style} />;\n }\n\n return null;\n};\n\nexport default React.memo(GroupChannelMessageOutgoingStatus);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SAASC,IAAI,EAAEC,cAAc,EAAEC,aAAa,QAAQ,yCAAyC;AAG7F,SAASC,eAAe,QAAQ,wBAAwB;AAExD,MAAMC,IAAI,GAAG,EAAE;AAOf,MAAMC,iCAAiC,GAAGC,IAAA,IAAwC;EAAA,IAAvC;IAAEC,OAAO;IAAEC,OAAO;IAAEC;EAAa,CAAC,GAAAH,IAAA;EAC3E,MAAM;IAAEI;EAAI,CAAC,GAAGP,eAAe,EAAE;EACjC,MAAM;IAAEQ;EAAO,CAAC,GAAGT,aAAa,EAAE;EAClC,MAAMU,cAAc,GAAGb,wBAAwB,CAACW,GAAG,EAAEH,OAAO,EAAEC,OAAO,CAAC;EAEtE,IAAI,CAACA,OAAO,CAACK,aAAa,EAAE,IAAI,CAACL,OAAO,CAACM,aAAa,EAAE,EAAE,OAAO,IAAI;EACrE,IAAIP,OAAO,CAACQ,WAAW,EAAE,OAAO,IAAI;EAEpC,IAAIH,cAAc,KAAK,SAAS,EAAE;IAChC,oBAAOd,KAAA,CAAAkB,aAAA,CAACf,cAAc;MAACgB,IAAI,EAAEb,IAAK;MAACK,KAAK,EAAEA;IAAM,EAAG;EACrD;EAEA,IAAIG,cAAc,KAAK,QAAQ,EAAE;IAC/B,oBAAOd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;MAACkB,IAAI,EAAE,OAAQ;MAACD,IAAI,EAAEb,IAAK;MAACe,KAAK,EAAER,MAAM,CAACS,KAAM;MAACX,KAAK,EAAEA;IAAM,EAAG;EAC/E;EAEA,IAAIG,cAAc,KAAK,MAAM,EAAE;IAC7B,oBAAOd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;MAACkB,IAAI,EAAE,UAAW;MAACD,IAAI,EAAEb,IAAK;MAACe,KAAK,EAAER,MAAM,CAACU,SAAU;MAACZ,KAAK,EAAEA;IAAM,EAAG;EACtF;EAEA,IAAIG,cAAc,KAAK,QAAQ,IAAIA,cAAc,KAAK,WAAW,EAAE;IACjE,oBAAOd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;MAACkB,IAAI,EAAE,UAAW;MAACD,IAAI,EAAEb,IAAK;MAACe,KAAK,EAAER,MAAM,CAACW,cAAe;MAACb,KAAK,EAAEA;IAAM,EAAG;EAC3F;EAEA,IAAIG,cAAc,KAAK,aAAa,EAAE;IACpC,oBAAOd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;MAACkB,IAAI,EAAE,MAAO;MAACD,IAAI,EAAEb,IAAK;MAACe,KAAK,EAAER,MAAM,CAACW,cAAe;MAACb,KAAK,EAAEA;IAAM,EAAG;EACvF;EAEA,OAAO,IAAI;AACb,CAAC;AAED,4BAAeX,KAAK,CAACyB,IAAI,CAAClB,iCAAiC,CAAC"}
|
|
@@ -32,11 +32,11 @@ const createGroupChannelListFragment = initModule => {
|
|
|
32
32
|
collectionCreator: getCollectionCreator(sdk, channelListQueryParams, collectionCreator),
|
|
33
33
|
markAsDelivered: confirmAndMarkAsDelivered
|
|
34
34
|
});
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
useAppState('change', status => {
|
|
36
|
+
if (sbOptions.appInfo.deliveryReceiptEnabled) {
|
|
37
37
|
if (status === 'active') groupChannels.forEach(markAsDeliveredWithChannel);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
40
|
const _renderGroupChannelPreview = useFreshCallback(props => {
|
|
41
41
|
if (renderGroupChannelPreview) return renderGroupChannelPreview(props);
|
|
42
42
|
return /*#__PURE__*/React.createElement(GroupChannelPreviewContainer, props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","GroupChannelFilter","useGroupChannelList","PASS","confirmAndMarkAsDelivered","useAppState","useFreshCallback","StatusComposition","GroupChannelPreviewContainer","createGroupChannelListModule","useSendbirdChat","createGroupChannelListFragment","initModule","GroupChannelListModule","_ref","onPressChannel","onPressCreateChannel","renderGroupChannelPreview","skipTypeSelection","flatListProps","menuItemCreator","channelListQueryParams","collectionCreator","sdk","sbOptions","markAsDeliveredWithChannel","groupChannels","loadMore","initialized","getCollectionCreator","markAsDelivered","
|
|
1
|
+
{"version":3,"names":["React","GroupChannelFilter","useGroupChannelList","PASS","confirmAndMarkAsDelivered","useAppState","useFreshCallback","StatusComposition","GroupChannelPreviewContainer","createGroupChannelListModule","useSendbirdChat","createGroupChannelListFragment","initModule","GroupChannelListModule","_ref","onPressChannel","onPressCreateChannel","renderGroupChannelPreview","skipTypeSelection","flatListProps","menuItemCreator","channelListQueryParams","collectionCreator","sdk","sbOptions","markAsDeliveredWithChannel","groupChannels","loadMore","initialized","getCollectionCreator","markAsDelivered","status","appInfo","deliveryReceiptEnabled","forEach","_renderGroupChannelPreview","props","createElement","isChannelTypeAvailable","broadcastChannelEnabled","superGroupChannelEnabled","Provider","Header","loading","LoadingComponent","StatusLoading","List","onLoadNext","ListEmptyComponent","StatusEmpty","contentContainerStyle","flexGrow","TypeSelector","onSelectType","deprecatedCreatorProp","defaultParams","params","groupChannel","createGroupChannelCollection","filter"],"sources":["createGroupChannelListFragment.tsx"],"sourcesContent":["import React from 'react';\n\nimport { GroupChannelCollection, GroupChannelFilter } from '@sendbird/chat/groupChannel';\nimport { useGroupChannelList } from '@sendbird/uikit-tools';\nimport { PASS, SendbirdChatSDK, confirmAndMarkAsDelivered, useAppState, useFreshCallback } from '@sendbird/uikit-utils';\n\nimport StatusComposition from '../components/StatusComposition';\nimport GroupChannelPreviewContainer from '../containers/GroupChannelPreviewContainer';\nimport createGroupChannelListModule from '../domain/groupChannelList/module/createGroupChannelListModule';\nimport type {\n GroupChannelListFragment,\n GroupChannelListModule,\n GroupChannelListProps,\n} from '../domain/groupChannelList/types';\nimport { useSendbirdChat } from '../hooks/useContext';\n\nconst createGroupChannelListFragment = (initModule?: Partial<GroupChannelListModule>): GroupChannelListFragment => {\n const GroupChannelListModule = createGroupChannelListModule(initModule);\n return ({\n onPressChannel,\n onPressCreateChannel,\n renderGroupChannelPreview,\n skipTypeSelection = false,\n flatListProps = {},\n menuItemCreator = PASS,\n channelListQueryParams,\n collectionCreator,\n }) => {\n const { sdk, sbOptions, markAsDeliveredWithChannel } = useSendbirdChat();\n const { groupChannels, loadMore, initialized } = useGroupChannelList(sdk, {\n collectionCreator: getCollectionCreator(sdk, channelListQueryParams, collectionCreator),\n markAsDelivered: confirmAndMarkAsDelivered,\n });\n\n useAppState('change', (status) => {\n if (sbOptions.appInfo.deliveryReceiptEnabled) {\n if (status === 'active') groupChannels.forEach(markAsDeliveredWithChannel);\n }\n });\n\n const _renderGroupChannelPreview: GroupChannelListProps['List']['renderGroupChannelPreview'] = useFreshCallback(\n (props) => {\n if (renderGroupChannelPreview) return renderGroupChannelPreview(props);\n return <GroupChannelPreviewContainer {...props} />;\n },\n );\n\n const isChannelTypeAvailable =\n sbOptions.appInfo.broadcastChannelEnabled || sbOptions.appInfo.superGroupChannelEnabled;\n\n return (\n <GroupChannelListModule.Provider>\n <GroupChannelListModule.Header />\n <StatusComposition loading={!initialized} LoadingComponent={<GroupChannelListModule.StatusLoading />}>\n <GroupChannelListModule.List\n onPressChannel={onPressChannel}\n menuItemCreator={menuItemCreator}\n renderGroupChannelPreview={_renderGroupChannelPreview}\n groupChannels={groupChannels}\n onLoadNext={loadMore}\n flatListProps={{\n ListEmptyComponent: <GroupChannelListModule.StatusEmpty />,\n contentContainerStyle: { flexGrow: 1 },\n ...flatListProps,\n }}\n />\n </StatusComposition>\n <GroupChannelListModule.TypeSelector\n skipTypeSelection={isChannelTypeAvailable ? skipTypeSelection : true}\n onSelectType={onPressCreateChannel}\n />\n </GroupChannelListModule.Provider>\n );\n };\n};\n\nfunction getCollectionCreator(\n sdk: SendbirdChatSDK,\n channelListQueryParams?: GroupChannelListProps['Fragment']['channelListQueryParams'],\n deprecatedCreatorProp?: () => GroupChannelCollection,\n) {\n if (!channelListQueryParams && deprecatedCreatorProp) return deprecatedCreatorProp;\n\n return (defaultParams: GroupChannelListProps['Fragment']['channelListQueryParams']) => {\n const params = { ...defaultParams, ...channelListQueryParams };\n return sdk.groupChannel.createGroupChannelCollection({\n ...params,\n filter: new GroupChannelFilter(params),\n });\n };\n}\n\nexport default createGroupChannelListFragment;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAAiCC,kBAAkB,QAAQ,6BAA6B;AACxF,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,IAAI,EAAmBC,yBAAyB,EAAEC,WAAW,EAAEC,gBAAgB,QAAQ,uBAAuB;AAEvH,OAAOC,iBAAiB,MAAM,iCAAiC;AAC/D,OAAOC,4BAA4B,MAAM,4CAA4C;AACrF,OAAOC,4BAA4B,MAAM,gEAAgE;AAMzG,SAASC,eAAe,QAAQ,qBAAqB;AAErD,MAAMC,8BAA8B,GAAIC,UAA4C,IAA+B;EACjH,MAAMC,sBAAsB,GAAGJ,4BAA4B,CAACG,UAAU,CAAC;EACvE,OAAOE,IAAA,IASD;IAAA,IATE;MACNC,cAAc;MACdC,oBAAoB;MACpBC,yBAAyB;MACzBC,iBA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G7C,KAAA,CAAAqC,aAAA,CAACxB,sBAAsB,CAACiC,IAAI;MAC1B/B,cAAc,EAAEA,cAAe;MAC/BK,eAAe,EAAEA,eAAgB;MACjCH,yBAAyB,EAAEkB,0BAA2B;MACtDT,aAAa,EAAEA,aAAc;MAC7BqB,UAAU,EAAEpB,QAAS;MACrBR,aAAa,EAAE;QACb6B,kBAAkB,eAAEhD,KAAA,CAAAqC,aAAA,CAACxB,sBAAsB,CAACoC,WAAW,OAAG;QAC1DC,qBAAqB,EAAE;UAAEC,QAAQ,EAAE;QAAE,CAAC;QACtC,GAAGhC;MACL;IAAE,EACF,CACgB,eACpBnB,KAAA,CAAAqC,aAAA,CAACxB,sBAAsB,CAACuC,YAAY;MAClClC,iBAAiB,EAAEoB,sBAAsB,GAAGpB,iBAAiB,GAAG,IAAK;MACrEmC,YAAY,EAAErC;IAAqB,EACnC,CAC8B;EAEtC,CAAC;AACH,CAAC;AAED,SAASa,oBAAoBA,CAC3BN,GAAoB,EACpBF,sBAAoF,EACpFiC,qBAAoD,EACpD;EACA,IAAI,CAACjC,sBAAsB,IAAIiC,qBAAqB,EAAE,OAAOA,qBAAqB;EAElF,OAAQC,aAA0E,IAAK;IACrF,MAAMC,MAAM,GAAG;MAAE,GAAGD,aAAa;MAAE,GAAGlC;IAAuB,CAAC;IAC9D,OAAOE,GAAG,CAACkC,YAAY,CAACC,4BAA4B,CAAC;MACnD,GAAGF,MAAM;MACTG,MAAM,EAAE,IAAI1D,kBAAkB,CAACuD,MAAM;IACvC,CAAC,CAAC;EACJ,CAAC;AACH;AAEA,eAAe7C,8BAA8B"}
|
package/lib/module/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["const VERSION = '3.4.
|
|
1
|
+
{"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["const VERSION = '3.4.3';\nexport default VERSION;\n"],"mappings":"AAAA,MAAMA,OAAO,GAAG,OAAO;AACvB,eAAeA,OAAO"}
|
|
@@ -13,7 +13,7 @@ import type { StringSet } from '../localization/StringSet.type';
|
|
|
13
13
|
import type { ClipboardServiceInterface, FileServiceInterface, MediaServiceInterface, NotificationServiceInterface, PlayerServiceInterface, RecorderServiceInterface } from '../platform/types';
|
|
14
14
|
import type { ErrorBoundaryProps, LocalCacheStorage } from '../types';
|
|
15
15
|
export declare const SendbirdUIKit: Readonly<{
|
|
16
|
-
VERSION: "3.4.
|
|
16
|
+
VERSION: "3.4.3";
|
|
17
17
|
PLATFORM: string;
|
|
18
18
|
DEFAULT: {
|
|
19
19
|
AUTO_PUSH_TOKEN_REGISTRATION: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const VERSION = "3.4.
|
|
1
|
+
declare const VERSION = "3.4.3";
|
|
2
2
|
export default VERSION;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendbird/uikit-react-native",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"description": "Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sendbird",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@openspacelabs/react-native-zoomable-view": "^2.1.5",
|
|
63
|
-
"@sendbird/uikit-chat-hooks": "3.4.
|
|
64
|
-
"@sendbird/uikit-react-native-foundation": "3.4.
|
|
63
|
+
"@sendbird/uikit-chat-hooks": "3.4.3",
|
|
64
|
+
"@sendbird/uikit-react-native-foundation": "3.4.3",
|
|
65
65
|
"@sendbird/uikit-tools": "0.0.1-alpha.58",
|
|
66
|
-
"@sendbird/uikit-utils": "3.4.
|
|
66
|
+
"@sendbird/uikit-utils": "3.4.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@bam.tech/react-native-image-resizer": "^3.0.4",
|
|
@@ -203,5 +203,5 @@
|
|
|
203
203
|
]
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
|
-
"gitHead": "
|
|
206
|
+
"gitHead": "8c5b81447c874543ca857457327716375e7b4c66"
|
|
207
207
|
}
|
|
@@ -15,13 +15,13 @@ type Props = {
|
|
|
15
15
|
style?: StyleProp<ImageStyle>;
|
|
16
16
|
};
|
|
17
17
|
const GroupChannelMessageOutgoingStatus = ({ channel, message, style }: Props) => {
|
|
18
|
-
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
19
|
-
if (channel.isEphemeral) return null;
|
|
20
|
-
|
|
21
18
|
const { sdk } = useSendbirdChat();
|
|
22
19
|
const { colors } = useUIKitTheme();
|
|
23
20
|
const outgoingStatus = useMessageOutgoingStatus(sdk, channel, message);
|
|
24
21
|
|
|
22
|
+
if (!message.isUserMessage() && !message.isFileMessage()) return null;
|
|
23
|
+
if (channel.isEphemeral) return null;
|
|
24
|
+
|
|
25
25
|
if (outgoingStatus === 'PENDING') {
|
|
26
26
|
return <LoadingSpinner size={SIZE} style={style} />;
|
|
27
27
|
}
|
|
@@ -32,11 +32,11 @@ const createGroupChannelListFragment = (initModule?: Partial<GroupChannelListMod
|
|
|
32
32
|
markAsDelivered: confirmAndMarkAsDelivered,
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
useAppState('change', (status) => {
|
|
36
|
+
if (sbOptions.appInfo.deliveryReceiptEnabled) {
|
|
37
37
|
if (status === 'active') groupChannels.forEach(markAsDeliveredWithChannel);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
40
|
|
|
41
41
|
const _renderGroupChannelPreview: GroupChannelListProps['List']['renderGroupChannelPreview'] = useFreshCallback(
|
|
42
42
|
(props) => {
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const VERSION = '3.4.
|
|
1
|
+
const VERSION = '3.4.3';
|
|
2
2
|
export default VERSION;
|