@planningcenter/chat-react-native 4.8.0-rc.1 → 4.8.0-rc.10
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/build/components/conversations/bulk_conversation_actions_bar.d.ts +2 -0
- package/build/components/conversations/bulk_conversation_actions_bar.d.ts.map +1 -0
- package/build/components/conversations/bulk_conversation_actions_bar.js +215 -0
- package/build/components/conversations/bulk_conversation_actions_bar.js.map +1 -0
- package/build/components/conversations/conversation_actions.d.ts +2 -1
- package/build/components/conversations/conversation_actions.d.ts.map +1 -1
- package/build/components/conversations/conversation_actions.js +173 -130
- package/build/components/conversations/conversation_actions.js.map +1 -1
- package/build/components/conversations/conversation_preview.d.ts.map +1 -1
- package/build/components/conversations/conversation_preview.js +168 -110
- package/build/components/conversations/conversation_preview.js.map +1 -1
- package/build/components/conversations/conversations.d.ts.map +1 -1
- package/build/components/conversations/conversations.js +50 -48
- package/build/components/conversations/conversations.js.map +1 -1
- package/build/components/display/checkbox.d.ts +8 -0
- package/build/components/display/checkbox.d.ts.map +1 -0
- package/build/components/display/checkbox.js +87 -0
- package/build/components/display/checkbox.js.map +1 -0
- package/build/components/display/icon.d.ts +3 -1
- package/build/components/display/icon.d.ts.map +1 -1
- package/build/components/display/icon.js +2 -0
- package/build/components/display/icon.js.map +1 -1
- package/build/components/display/index.d.ts +1 -0
- package/build/components/display/index.d.ts.map +1 -1
- package/build/components/display/index.js +1 -0
- package/build/components/display/index.js.map +1 -1
- package/build/contexts/api_provider.d.ts.map +1 -1
- package/build/contexts/api_provider.js +2 -0
- package/build/contexts/api_provider.js.map +1 -1
- package/build/contexts/chat_context.d.ts +0 -2
- package/build/contexts/chat_context.d.ts.map +1 -1
- package/build/contexts/chat_context.js +16 -93
- package/build/contexts/chat_context.js.map +1 -1
- package/build/contexts/conversations_context.d.ts +5 -0
- package/build/contexts/conversations_context.d.ts.map +1 -1
- package/build/contexts/conversations_context.js +121 -32
- package/build/contexts/conversations_context.js.map +1 -1
- package/build/contexts/session_context.d.ts +0 -1
- package/build/contexts/session_context.d.ts.map +1 -1
- package/build/contexts/session_context.js +3 -0
- package/build/contexts/session_context.js.map +1 -1
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts +11 -1
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts.map +1 -1
- package/build/hooks/groups/use_group_chat_conversation_payload.js +92 -47
- package/build/hooks/groups/use_group_chat_conversation_payload.js.map +1 -1
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +27 -25
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -1
- package/build/hooks/groups/use_group_members_for_new_conversation.js +125 -110
- package/build/hooks/groups/use_group_members_for_new_conversation.js.map +1 -1
- package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -1
- package/build/hooks/groups/use_groups_conversation_create.js +39 -31
- package/build/hooks/groups/use_groups_conversation_create.js.map +1 -1
- package/build/hooks/groups/use_groups_proxy.d.ts +2 -0
- package/build/hooks/groups/use_groups_proxy.d.ts.map +1 -0
- package/build/hooks/groups/use_groups_proxy.js +18 -0
- package/build/hooks/groups/use_groups_proxy.js.map +1 -0
- package/build/hooks/use_bulk_conversation_actions.d.ts +8 -0
- package/build/hooks/use_bulk_conversation_actions.d.ts.map +1 -0
- package/build/hooks/use_bulk_conversation_actions.js +309 -0
- package/build/hooks/use_bulk_conversation_actions.js.map +1 -0
- package/build/hooks/use_conversation_jolt_events.d.ts.map +1 -1
- package/build/hooks/use_conversation_jolt_events.js +3 -2
- package/build/hooks/use_conversation_jolt_events.js.map +1 -1
- package/build/hooks/use_conversations_actions.d.ts +9 -9
- package/build/hooks/use_conversations_actions.d.ts.map +1 -1
- package/build/hooks/use_conversations_actions.js +12 -7
- package/build/hooks/use_conversations_actions.js.map +1 -1
- package/build/hooks/use_conversations_cache.d.ts +15 -5
- package/build/hooks/use_conversations_cache.d.ts.map +1 -1
- package/build/hooks/use_conversations_cache.js +170 -122
- package/build/hooks/use_conversations_cache.js.map +1 -1
- package/build/hooks/use_conversations_jolt_events.d.ts.map +1 -1
- package/build/hooks/use_conversations_jolt_events.js +47 -20
- package/build/hooks/use_conversations_jolt_events.js.map +1 -1
- package/build/hooks/use_features.d.ts +1 -0
- package/build/hooks/use_features.d.ts.map +1 -1
- package/build/hooks/use_features.js +1 -0
- package/build/hooks/use_features.js.map +1 -1
- package/build/hooks/use_groups_groups.d.ts.map +1 -1
- package/build/hooks/use_groups_groups.js +25 -9
- package/build/hooks/use_groups_groups.js.map +1 -1
- package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -1
- package/build/hooks/use_mark_latest_message_read.js +5 -4
- package/build/hooks/use_mark_latest_message_read.js.map +1 -1
- package/build/hooks/use_new_conversation_from_filter.d.ts.map +1 -1
- package/build/hooks/use_new_conversation_from_filter.js +11 -1
- package/build/hooks/use_new_conversation_from_filter.js.map +1 -1
- package/build/hooks/use_product_analytics.d.ts.map +1 -1
- package/build/hooks/use_product_analytics.js +93 -75
- package/build/hooks/use_product_analytics.js.map +1 -1
- package/build/navigation/index.d.ts.map +1 -1
- package/build/navigation/index.js +5 -7
- package/build/navigation/index.js.map +1 -1
- package/build/screens/conversation_actions_screen.d.ts +2 -0
- package/build/screens/conversation_actions_screen.d.ts.map +1 -1
- package/build/screens/conversation_actions_screen.js +380 -46
- package/build/screens/conversation_actions_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.js +9 -64
- package/build/screens/conversation_filter_recipients/components/checkbox_row.js.map +1 -1
- package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
- package/build/screens/conversation_new/components/groups_form.js +96 -93
- package/build/screens/conversation_new/components/groups_form.js.map +1 -1
- package/build/screens/conversations/conversations_screen.d.ts +5 -0
- package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
- package/build/screens/conversations/conversations_screen.js +156 -31
- package/build/screens/conversations/conversations_screen.js.map +1 -1
- package/build/types/jolt_events/index.d.ts +2 -0
- package/build/types/jolt_events/index.d.ts.map +1 -1
- package/build/types/jolt_events/index.js.map +1 -1
- package/build/types/jolt_events/person_events.d.ts +9 -0
- package/build/types/jolt_events/person_events.d.ts.map +1 -0
- package/build/types/jolt_events/person_events.js +2 -0
- package/build/types/jolt_events/person_events.js.map +1 -0
- package/build/types/resources/groups/groups_group_resource.d.ts +1 -1
- package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -1
- package/build/types/resources/groups/groups_group_resource.js.map +1 -1
- package/build/types/resources/groups/groups_membership_resource.d.ts +11 -0
- package/build/types/resources/groups/groups_membership_resource.d.ts.map +1 -0
- package/build/types/resources/groups/groups_membership_resource.js +2 -0
- package/build/types/resources/groups/groups_membership_resource.js.map +1 -0
- package/build/types/resources/groups/index.d.ts +1 -0
- package/build/types/resources/groups/index.d.ts.map +1 -1
- package/build/types/resources/groups/index.js +1 -0
- package/build/types/resources/groups/index.js.map +1 -1
- package/build/utils/jolt/parse_stream_user_event_type.d.ts +3 -0
- package/build/utils/jolt/parse_stream_user_event_type.d.ts.map +1 -0
- package/build/utils/jolt/parse_stream_user_event_type.js +9 -0
- package/build/utils/jolt/parse_stream_user_event_type.js.map +1 -0
- package/build/utils/native_adapters/configuration.d.ts +3 -0
- package/build/utils/native_adapters/configuration.d.ts.map +1 -1
- package/build/utils/native_adapters/configuration.js +3 -0
- package/build/utils/native_adapters/configuration.js.map +1 -1
- package/build/utils/native_adapters/index.d.ts +1 -0
- package/build/utils/native_adapters/index.d.ts.map +1 -1
- package/build/utils/native_adapters/index.js +1 -0
- package/build/utils/native_adapters/index.js.map +1 -1
- package/build/utils/native_adapters/updates.d.ts +11 -0
- package/build/utils/native_adapters/updates.d.ts.map +1 -0
- package/build/utils/native_adapters/updates.js +8 -0
- package/build/utils/native_adapters/updates.js.map +1 -0
- package/build/utils/product_analytics_token.d.ts +12 -0
- package/build/utils/product_analytics_token.d.ts.map +1 -0
- package/build/utils/product_analytics_token.js +84 -0
- package/build/utils/product_analytics_token.js.map +1 -0
- package/build/utils/throttled_refresh.d.ts +7 -0
- package/build/utils/throttled_refresh.d.ts.map +1 -0
- package/build/utils/throttled_refresh.js +42 -0
- package/build/utils/throttled_refresh.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/contexts/session_context.tsx +19 -39
- package/src/__tests__/hooks/useTheme.tsx +0 -7
- package/src/__tests__/hooks/use_async_storage.test.tsx +1 -87
- package/src/__tests__/hooks/use_attachment_uploader.test.tsx +0 -11
- package/src/__tests__/hooks/use_font_scale.test.ts +0 -25
- package/src/__tests__/hooks/use_group_chat_conversation_payload.test.tsx +31 -0
- package/src/__tests__/utils/cache/page_mutations.ts +3 -68
- package/src/__tests__/utils/client.ts +6 -15
- package/src/__tests__/utils/native_adapters/configuration.ts +15 -50
- package/src/__tests__/utils/parse_simple_markdown.ts +0 -6
- package/src/__tests__/utils/session.ts +0 -11
- package/src/__tests__/utils/theme.ts +0 -17
- package/src/components/conversations/__tests__/bulk_conversation_actions_bar.test.tsx +95 -0
- package/src/components/conversations/__tests__/conversation_actions.test.tsx +35 -3
- package/src/components/conversations/__tests__/conversation_preview.test.tsx +69 -3
- package/src/components/conversations/__tests__/conversations.test.tsx +4 -1
- package/src/components/conversations/bulk_conversation_actions_bar.tsx +140 -0
- package/src/components/conversations/conversation_actions.tsx +17 -9
- package/src/components/conversations/conversation_preview.tsx +20 -2
- package/src/components/conversations/conversations.tsx +2 -1
- package/src/components/display/__tests__/filter_dropdown.test.tsx +1 -19
- package/src/components/display/__tests__/icon_tile.test.tsx +24 -7
- package/src/components/display/checkbox.tsx +47 -0
- package/src/components/display/icon.tsx +3 -0
- package/src/components/display/index.ts +1 -0
- package/src/components/page/__tests__/component_error_boundary.test.tsx +0 -12
- package/src/contexts/__tests__/conversations_context.test.tsx +86 -0
- package/src/contexts/api_provider.tsx +2 -0
- package/src/contexts/chat_context.tsx +2 -58
- package/src/contexts/conversations_context.tsx +69 -2
- package/src/contexts/session_context.tsx +3 -1
- package/src/hooks/__tests__/jolt_refresh_throttling.test.tsx +194 -0
- package/src/hooks/__tests__/use_bulk_conversation_actions.test.tsx +119 -0
- package/src/hooks/__tests__/use_conversations_jolt_events.test.tsx +1 -0
- package/src/hooks/__tests__/use_conversations_mark_read.test.tsx +38 -12
- package/src/hooks/__tests__/use_hide_conversation.test.tsx +15 -3
- package/src/hooks/__tests__/use_mark_latest_message_read.test.tsx +23 -2
- package/src/hooks/__tests__/use_product_analytics.test.tsx +304 -0
- package/src/hooks/groups/use_group_chat_conversation_payload.ts +30 -12
- package/src/hooks/groups/use_group_members_for_new_conversation.ts +49 -18
- package/src/hooks/groups/use_groups_conversation_create.ts +10 -14
- package/src/hooks/groups/use_groups_proxy.ts +6 -0
- package/src/hooks/use_bulk_conversation_actions.ts +173 -0
- package/src/hooks/use_conversation_jolt_events.ts +2 -1
- package/src/hooks/use_conversations_actions.ts +7 -4
- package/src/hooks/use_conversations_cache.ts +33 -26
- package/src/hooks/use_conversations_jolt_events.ts +24 -10
- package/src/hooks/use_features.ts +1 -0
- package/src/hooks/use_groups_groups.ts +21 -16
- package/src/hooks/use_mark_latest_message_read.ts +6 -5
- package/src/hooks/use_new_conversation_from_filter.ts +13 -5
- package/src/hooks/use_product_analytics.ts +74 -41
- package/src/navigation/index.tsx +8 -8
- package/src/screens/__tests__/conversation_actions_screen.test.tsx +48 -6
- package/src/screens/__tests__/conversation_details_screen.test.tsx +0 -19
- package/src/screens/avatar_picker/__tests__/avatar_picker_state.test.ts +0 -14
- package/src/screens/conversation_actions_screen.tsx +145 -12
- package/src/screens/conversation_filter_recipients/components/checkbox_row.tsx +3 -35
- package/src/screens/conversation_new/components/groups_form.tsx +11 -9
- package/src/screens/conversations/__tests__/conversations_screen.test.tsx +35 -9
- package/src/screens/conversations/components/__tests__/filter_dropdown_list_header_component.test.tsx +0 -8
- package/src/screens/conversations/components/__tests__/search_list_header_component.test.tsx +0 -10
- package/src/screens/conversations/conversations_screen.tsx +67 -3
- package/src/screens/search/components/__tests__/search_results_list.test.tsx +1 -0
- package/src/types/jolt_events/index.ts +2 -0
- package/src/types/jolt_events/person_events.ts +16 -0
- package/src/types/resources/groups/groups_group_resource.ts +1 -1
- package/src/types/resources/groups/groups_membership_resource.ts +10 -0
- package/src/types/resources/groups/index.ts +1 -0
- package/src/utils/__tests__/attachment_kind.test.ts +0 -4
- package/src/utils/__tests__/convert_attachments_for_create.test.ts +0 -28
- package/src/utils/__tests__/is_input_editable.test.ts +1 -2
- package/src/utils/__tests__/message_text.test.ts +0 -5
- package/src/utils/__tests__/session_manager.test.ts +0 -83
- package/src/utils/__tests__/sha_256.test.ts +0 -34
- package/src/utils/__tests__/throttled_refresh.test.ts +101 -0
- package/src/utils/__tests__/uri.test.ts +51 -0
- package/src/utils/jolt/__tests__/parse_stream_user_event_type.test.ts +27 -0
- package/src/utils/jolt/parse_stream_user_event_type.ts +16 -0
- package/src/utils/native_adapters/configuration.ts +5 -0
- package/src/utils/native_adapters/index.ts +1 -0
- package/src/utils/native_adapters/updates.ts +16 -0
- package/src/utils/product_analytics_token.ts +120 -0
- package/src/utils/throttled_refresh.ts +62 -0
- package/src/__tests__/event-polyfill.test.ts +0 -313
- package/src/__tests__/index.tsx +0 -5
- package/src/__tests__/jest.ts +0 -11
- package/src/__tests__/utils/uri.ts +0 -65
- package/src/components/display/__tests__/version_footer.test.tsx +0 -48
- package/src/screens/search/components/__tests__/search_blank_states.test.tsx +0 -20
- package/src/utils/__tests__/membership_sync_info_text.test.ts +0 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk_conversation_actions_bar.d.ts","sourceRoot":"","sources":["../../../src/components/conversations/bulk_conversation_actions_bar.tsx"],"names":[],"mappings":"AAgBA,wBAAgB,0BAA0B,4CA+DzC"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { c as _c } from "react/compiler-runtime";
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { Pressable, StyleSheet } from 'react-native';
|
|
4
|
+
import Animated, { FadeIn, LayoutAnimationConfig, ReduceMotion } from 'react-native-reanimated';
|
|
5
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
|
+
import { useConversationsContext } from '../../contexts/conversations_context';
|
|
7
|
+
import { useReduceMotion, useTheme } from '../../hooks';
|
|
8
|
+
import { useBulkConversationActions } from '../../hooks/use_bulk_conversation_actions';
|
|
9
|
+
import { MAX_FONT_SIZE_MULTIPLIER_LANDMARK, isArchivedConversation, platformPressedOpacityStyle } from '../../utils';
|
|
10
|
+
import { dismissToast } from '../../utils/toast_store';
|
|
11
|
+
import { Icon, Text } from '../display';
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
export function BulkConversationActionsBar() {
|
|
14
|
+
const styles = useStyles();
|
|
15
|
+
const reduceMotion = useReduceMotion() ? ReduceMotion.Always : ReduceMotion.Never;
|
|
16
|
+
const {
|
|
17
|
+
selectMode,
|
|
18
|
+
selectedIds,
|
|
19
|
+
conversations,
|
|
20
|
+
hideable,
|
|
21
|
+
clearSelection,
|
|
22
|
+
args: {
|
|
23
|
+
show_hidden: hiddenView = false
|
|
24
|
+
}
|
|
25
|
+
} = useConversationsContext();
|
|
26
|
+
const {
|
|
27
|
+
hide,
|
|
28
|
+
unhide,
|
|
29
|
+
silence,
|
|
30
|
+
markRead
|
|
31
|
+
} = useBulkConversationActions();
|
|
32
|
+
const [pending, setPending] = useState(false);
|
|
33
|
+
const selected = conversations.filter(({
|
|
34
|
+
id
|
|
35
|
+
}) => selectedIds.includes(id));
|
|
36
|
+
const disabled = pending || selected.length === 0;
|
|
37
|
+
const canSilence = !disabled && !selected.some(isArchivedConversation);
|
|
38
|
+
const canHide = canSilence && hideable;
|
|
39
|
+
const run = action => async () => {
|
|
40
|
+
setPending(true);
|
|
41
|
+
try {
|
|
42
|
+
await action(selected);
|
|
43
|
+
} finally {
|
|
44
|
+
setPending(false);
|
|
45
|
+
clearSelection();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
if (selectMode) dismissToast();
|
|
50
|
+
}, [selectMode]);
|
|
51
|
+
return /*#__PURE__*/_jsx(LayoutAnimationConfig, {
|
|
52
|
+
skipEntering: true,
|
|
53
|
+
children: selectMode && /*#__PURE__*/_jsxs(Animated.View, {
|
|
54
|
+
entering: FadeIn.duration(300).reduceMotion(reduceMotion),
|
|
55
|
+
style: styles.container,
|
|
56
|
+
testID: "bulk-conversation-actions-bar",
|
|
57
|
+
children: [/*#__PURE__*/_jsx(BulkAction, {
|
|
58
|
+
title: "Mark read",
|
|
59
|
+
iconName: "general.check",
|
|
60
|
+
disabled: disabled,
|
|
61
|
+
onPress: run(markRead)
|
|
62
|
+
}), /*#__PURE__*/_jsx(BulkAction, {
|
|
63
|
+
title: "Silence",
|
|
64
|
+
iconName: "general.bellMuted",
|
|
65
|
+
disabled: !canSilence,
|
|
66
|
+
onPress: run(silence)
|
|
67
|
+
}), /*#__PURE__*/_jsx(BulkAction, {
|
|
68
|
+
title: hiddenView ? 'Unhide' : 'Hide',
|
|
69
|
+
iconName: hiddenView ? 'general.showEye' : 'general.hideEye',
|
|
70
|
+
disabled: !canHide,
|
|
71
|
+
onPress: run(hiddenView ? unhide : hide)
|
|
72
|
+
})]
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function BulkAction(t0) {
|
|
77
|
+
const $ = _c(19);
|
|
78
|
+
const {
|
|
79
|
+
title,
|
|
80
|
+
iconName,
|
|
81
|
+
disabled,
|
|
82
|
+
onPress
|
|
83
|
+
} = t0;
|
|
84
|
+
let t1;
|
|
85
|
+
if ($[0] !== disabled) {
|
|
86
|
+
t1 = {
|
|
87
|
+
disabled
|
|
88
|
+
};
|
|
89
|
+
$[0] = disabled;
|
|
90
|
+
$[1] = t1;
|
|
91
|
+
} else {
|
|
92
|
+
t1 = $[1];
|
|
93
|
+
}
|
|
94
|
+
const styles = useStyles(t1);
|
|
95
|
+
let t2;
|
|
96
|
+
if ($[2] !== disabled) {
|
|
97
|
+
t2 = {
|
|
98
|
+
disabled
|
|
99
|
+
};
|
|
100
|
+
$[2] = disabled;
|
|
101
|
+
$[3] = t2;
|
|
102
|
+
} else {
|
|
103
|
+
t2 = $[3];
|
|
104
|
+
}
|
|
105
|
+
let t3;
|
|
106
|
+
if ($[4] !== styles.action) {
|
|
107
|
+
t3 = t4 => {
|
|
108
|
+
const {
|
|
109
|
+
pressed
|
|
110
|
+
} = t4;
|
|
111
|
+
return [styles.action, pressed && platformPressedOpacityStyle];
|
|
112
|
+
};
|
|
113
|
+
$[4] = styles.action;
|
|
114
|
+
$[5] = t3;
|
|
115
|
+
} else {
|
|
116
|
+
t3 = $[5];
|
|
117
|
+
}
|
|
118
|
+
let t4;
|
|
119
|
+
if ($[6] !== iconName || $[7] !== styles.actionIcon) {
|
|
120
|
+
t4 = /*#__PURE__*/_jsx(Icon, {
|
|
121
|
+
name: iconName,
|
|
122
|
+
size: 20,
|
|
123
|
+
style: styles.actionIcon,
|
|
124
|
+
accessibilityElementsHidden: true
|
|
125
|
+
});
|
|
126
|
+
$[6] = iconName;
|
|
127
|
+
$[7] = styles.actionIcon;
|
|
128
|
+
$[8] = t4;
|
|
129
|
+
} else {
|
|
130
|
+
t4 = $[8];
|
|
131
|
+
}
|
|
132
|
+
let t5;
|
|
133
|
+
if ($[9] !== styles.actionTitle || $[10] !== title) {
|
|
134
|
+
t5 = /*#__PURE__*/_jsx(Text, {
|
|
135
|
+
style: styles.actionTitle,
|
|
136
|
+
maxFontSizeMultiplier: MAX_FONT_SIZE_MULTIPLIER_LANDMARK,
|
|
137
|
+
children: title
|
|
138
|
+
});
|
|
139
|
+
$[9] = styles.actionTitle;
|
|
140
|
+
$[10] = title;
|
|
141
|
+
$[11] = t5;
|
|
142
|
+
} else {
|
|
143
|
+
t5 = $[11];
|
|
144
|
+
}
|
|
145
|
+
let t6;
|
|
146
|
+
if ($[12] !== disabled || $[13] !== onPress || $[14] !== t2 || $[15] !== t3 || $[16] !== t4 || $[17] !== t5) {
|
|
147
|
+
t6 = /*#__PURE__*/_jsxs(Pressable, {
|
|
148
|
+
onPress: onPress,
|
|
149
|
+
disabled: disabled,
|
|
150
|
+
accessibilityRole: "button",
|
|
151
|
+
accessibilityState: t2,
|
|
152
|
+
style: t3,
|
|
153
|
+
children: [t4, t5]
|
|
154
|
+
});
|
|
155
|
+
$[12] = disabled;
|
|
156
|
+
$[13] = onPress;
|
|
157
|
+
$[14] = t2;
|
|
158
|
+
$[15] = t3;
|
|
159
|
+
$[16] = t4;
|
|
160
|
+
$[17] = t5;
|
|
161
|
+
$[18] = t6;
|
|
162
|
+
} else {
|
|
163
|
+
t6 = $[18];
|
|
164
|
+
}
|
|
165
|
+
return t6;
|
|
166
|
+
}
|
|
167
|
+
const useStyles = t0 => {
|
|
168
|
+
const $ = _c(5);
|
|
169
|
+
const {
|
|
170
|
+
disabled: t1
|
|
171
|
+
} = t0 === undefined ? {} : t0;
|
|
172
|
+
const disabled = t1 === undefined ? false : t1;
|
|
173
|
+
const {
|
|
174
|
+
bottom
|
|
175
|
+
} = useSafeAreaInsets();
|
|
176
|
+
const {
|
|
177
|
+
colors
|
|
178
|
+
} = useTheme();
|
|
179
|
+
const actionColor = disabled ? colors.textColorDefaultDisabled : colors.textColorDefaultPrimary;
|
|
180
|
+
let t2;
|
|
181
|
+
if ($[0] !== actionColor || $[1] !== bottom || $[2] !== colors.borderColorDefaultDim || $[3] !== colors.surfaceColor090) {
|
|
182
|
+
t2 = StyleSheet.create({
|
|
183
|
+
container: {
|
|
184
|
+
flexDirection: "row",
|
|
185
|
+
backgroundColor: colors.surfaceColor090,
|
|
186
|
+
paddingHorizontal: 16,
|
|
187
|
+
paddingTop: 12,
|
|
188
|
+
paddingBottom: bottom + 12,
|
|
189
|
+
borderTopWidth: 1,
|
|
190
|
+
borderTopColor: colors.borderColorDefaultDim
|
|
191
|
+
},
|
|
192
|
+
action: {
|
|
193
|
+
flex: 1,
|
|
194
|
+
alignItems: "center",
|
|
195
|
+
gap: 4
|
|
196
|
+
},
|
|
197
|
+
actionIcon: {
|
|
198
|
+
color: actionColor
|
|
199
|
+
},
|
|
200
|
+
actionTitle: {
|
|
201
|
+
color: actionColor,
|
|
202
|
+
fontWeight: "600"
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
$[0] = actionColor;
|
|
206
|
+
$[1] = bottom;
|
|
207
|
+
$[2] = colors.borderColorDefaultDim;
|
|
208
|
+
$[3] = colors.surfaceColor090;
|
|
209
|
+
$[4] = t2;
|
|
210
|
+
} else {
|
|
211
|
+
t2 = $[4];
|
|
212
|
+
}
|
|
213
|
+
return t2;
|
|
214
|
+
};
|
|
215
|
+
//# sourceMappingURL=bulk_conversation_actions_bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk_conversation_actions_bar.js","names":["React","useEffect","useState","Pressable","StyleSheet","Animated","FadeIn","LayoutAnimationConfig","ReduceMotion","useSafeAreaInsets","useConversationsContext","useReduceMotion","useTheme","useBulkConversationActions","MAX_FONT_SIZE_MULTIPLIER_LANDMARK","isArchivedConversation","platformPressedOpacityStyle","dismissToast","Icon","Text","jsx","_jsx","jsxs","_jsxs","BulkConversationActionsBar","styles","useStyles","reduceMotion","Always","Never","selectMode","selectedIds","conversations","hideable","clearSelection","args","show_hidden","hiddenView","hide","unhide","silence","markRead","pending","setPending","selected","filter","id","includes","disabled","length","canSilence","some","canHide","run","action","skipEntering","children","View","entering","duration","style","container","testID","BulkAction","title","iconName","onPress","t0","$","_c","t1","t2","t3","t4","pressed","actionIcon","size","accessibilityElementsHidden","t5","actionTitle","t6","accessibilityRole","accessibilityState","undefined","bottom","colors","actionColor","textColorDefaultDisabled","textColorDefaultPrimary","borderColorDefaultDim","surfaceColor090","create","flexDirection","backgroundColor","paddingHorizontal","paddingTop","paddingBottom","borderTopWidth","borderTopColor","flex","alignItems","gap","color","fontWeight"],"sources":["../../../src/components/conversations/bulk_conversation_actions_bar.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react'\nimport { Pressable, StyleSheet } from 'react-native'\nimport Animated, { FadeIn, LayoutAnimationConfig, ReduceMotion } from 'react-native-reanimated'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { useConversationsContext } from '../../contexts/conversations_context'\nimport { useReduceMotion, useTheme } from '../../hooks'\nimport { useBulkConversationActions } from '../../hooks/use_bulk_conversation_actions'\nimport { ConversationResource } from '../../types'\nimport {\n MAX_FONT_SIZE_MULTIPLIER_LANDMARK,\n isArchivedConversation,\n platformPressedOpacityStyle,\n} from '../../utils'\nimport { dismissToast } from '../../utils/toast_store'\nimport { Icon, IconString, Text } from '../display'\n\nexport function BulkConversationActionsBar() {\n const styles = useStyles()\n const reduceMotion = useReduceMotion() ? ReduceMotion.Always : ReduceMotion.Never\n const {\n selectMode,\n selectedIds,\n conversations,\n hideable,\n clearSelection,\n args: { show_hidden: hiddenView = false },\n } = useConversationsContext()\n const { hide, unhide, silence, markRead } = useBulkConversationActions()\n const [pending, setPending] = useState(false)\n\n const selected = conversations.filter(({ id }) => selectedIds.includes(id))\n const disabled = pending || selected.length === 0\n const canSilence = !disabled && !selected.some(isArchivedConversation)\n const canHide = canSilence && hideable\n\n const run = (action: (_conversations: ConversationResource[]) => Promise<void>) => async () => {\n setPending(true)\n try {\n await action(selected)\n } finally {\n setPending(false)\n clearSelection()\n }\n }\n\n useEffect(() => {\n if (selectMode) dismissToast()\n }, [selectMode])\n\n return (\n <LayoutAnimationConfig skipEntering>\n {selectMode && (\n <Animated.View\n entering={FadeIn.duration(300).reduceMotion(reduceMotion)}\n style={styles.container}\n testID=\"bulk-conversation-actions-bar\"\n >\n <BulkAction\n title=\"Mark read\"\n iconName=\"general.check\"\n disabled={disabled}\n onPress={run(markRead)}\n />\n <BulkAction\n title=\"Silence\"\n iconName=\"general.bellMuted\"\n disabled={!canSilence}\n onPress={run(silence)}\n />\n <BulkAction\n title={hiddenView ? 'Unhide' : 'Hide'}\n iconName={hiddenView ? 'general.showEye' : 'general.hideEye'}\n disabled={!canHide}\n onPress={run(hiddenView ? unhide : hide)}\n />\n </Animated.View>\n )}\n </LayoutAnimationConfig>\n )\n}\n\nfunction BulkAction({\n title,\n iconName,\n disabled,\n onPress,\n}: {\n title: string\n iconName: IconString\n disabled: boolean\n onPress: () => void\n}) {\n const styles = useStyles({ disabled })\n\n return (\n <Pressable\n onPress={onPress}\n disabled={disabled}\n accessibilityRole=\"button\"\n accessibilityState={{ disabled }}\n style={({ pressed }) => [styles.action, pressed && platformPressedOpacityStyle]}\n >\n <Icon name={iconName} size={20} style={styles.actionIcon} accessibilityElementsHidden />\n <Text style={styles.actionTitle} maxFontSizeMultiplier={MAX_FONT_SIZE_MULTIPLIER_LANDMARK}>\n {title}\n </Text>\n </Pressable>\n )\n}\n\nconst useStyles = ({ disabled = false }: { disabled?: boolean } = {}) => {\n const { bottom } = useSafeAreaInsets()\n const { colors } = useTheme()\n const containerVerticalPadding = 12\n const actionColor = disabled ? colors.textColorDefaultDisabled : colors.textColorDefaultPrimary\n\n return StyleSheet.create({\n container: {\n flexDirection: 'row',\n backgroundColor: colors.surfaceColor090,\n paddingHorizontal: 16,\n paddingTop: containerVerticalPadding,\n paddingBottom: bottom + containerVerticalPadding,\n borderTopWidth: 1,\n borderTopColor: colors.borderColorDefaultDim,\n },\n action: {\n flex: 1,\n alignItems: 'center',\n gap: 4,\n },\n actionIcon: {\n color: actionColor,\n },\n actionTitle: {\n color: actionColor,\n fontWeight: '600',\n },\n })\n}\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AACpD,OAAOC,QAAQ,IAAIC,MAAM,EAAEC,qBAAqB,EAAEC,YAAY,QAAQ,yBAAyB;AAC/F,SAASC,iBAAiB,QAAQ,gCAAgC;A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AAA,EAAA,GAAAH,CAAA;EAAA;EAAA,OAtBKG,EAsBL;AAAA,CACH","ignoreList":[]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { ConversationResource } from '../../types';
|
|
4
|
-
export declare function ConversationActions({ children, conversation, style, onPress, accessibilityLabel, }: {
|
|
4
|
+
export declare function ConversationActions({ children, conversation, style, onPress, accessibilityLabel, selected, }: {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
conversation: ConversationResource;
|
|
7
7
|
onPress: () => void;
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
accessibilityLabel?: string;
|
|
10
|
+
selected?: boolean;
|
|
10
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
//# sourceMappingURL=conversation_actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation_actions.d.ts","sourceRoot":"","sources":["../../../src/components/conversations/conversation_actions.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAA;AAClF,OAAO,EAIL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAYrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAMlD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,OAAO,EACP,kBAAkB,
|
|
1
|
+
{"version":3,"file":"conversation_actions.d.ts","sourceRoot":"","sources":["../../../src/components/conversations/conversation_actions.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAA;AAClF,OAAO,EAIL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAA;AAYrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAMlD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,OAAO,EACP,kBAAkB,EAClB,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,YAAY,EAAE,oBAAoB,CAAA;IAClC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,2CAmLA"}
|