@planningcenter/topbar 10.0.0-rc.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/topbar.css +1 -53
  2. package/dist/topbar.css.map +1 -1
  3. package/dist/topbar.js +1 -1
  4. package/dist/topbar.js.map +1 -1
  5. package/dist/topbar.modern.js +1 -1
  6. package/dist/topbar.modern.js.map +1 -1
  7. package/dist/topbar.module.js +1 -1
  8. package/dist/topbar.module.js.map +1 -1
  9. package/dist/topbar.umd.js +1 -1
  10. package/dist/topbar.umd.js.map +1 -1
  11. package/dist/types/modules/connected_people_provider.d.ts.map +1 -1
  12. package/dist/types/modules/toolbar/components/drawer_header.d.ts.map +1 -1
  13. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  14. package/dist/types/modules/toolbar/tools/index.d.ts +0 -1
  15. package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -1
  16. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
  17. package/package.json +6 -7
  18. package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts +0 -12
  19. package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts.map +0 -1
  20. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts +0 -31
  21. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts.map +0 -1
  22. package/dist/types/modules/toolbar/tools/chat/components/beta_badge.d.ts +0 -2
  23. package/dist/types/modules/toolbar/tools/chat/components/beta_badge.d.ts.map +0 -1
  24. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/groups.d.ts +0 -5
  25. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/groups.d.ts.map +0 -1
  26. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/index.d.ts +0 -4
  27. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/index.d.ts.map +0 -1
  28. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_groups.d.ts +0 -16
  29. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_groups.d.ts.map +0 -1
  30. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_member_ability.d.ts +0 -6
  31. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_member_ability.d.ts.map +0 -1
  32. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_members.d.ts +0 -10
  33. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_members.d.ts.map +0 -1
  34. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/index.d.ts +0 -2
  35. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/index.d.ts.map +0 -1
  36. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/people.d.ts +0 -7
  37. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/people.d.ts.map +0 -1
  38. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/section.d.ts +0 -5
  39. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/section.d.ts.map +0 -1
  40. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/settings.d.ts +0 -5
  41. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/settings.d.ts.map +0 -1
  42. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/title.d.ts +0 -6
  43. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/title.d.ts.map +0 -1
  44. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/avatar_group.d.ts +0 -6
  45. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/avatar_group.d.ts.map +0 -1
  46. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/channel_list_blank_state.d.ts +0 -2
  47. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/channel_list_blank_state.d.ts.map +0 -1
  48. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts +0 -8
  49. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts.map +0 -1
  50. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.d.ts +0 -9
  51. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.d.ts.map +0 -1
  52. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/list.d.ts +0 -4
  53. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/list.d.ts.map +0 -1
  54. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/loading_error_indicator.d.ts +0 -2
  55. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/loading_error_indicator.d.ts.map +0 -1
  56. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts +0 -7
  57. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts.map +0 -1
  58. package/dist/types/modules/toolbar/tools/chat/components/channel_metas.d.ts +0 -4
  59. package/dist/types/modules/toolbar/tools/chat/components/channel_metas.d.ts.map +0 -1
  60. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_empty_state_indicator.d.ts +0 -2
  61. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_empty_state_indicator.d.ts.map +0 -1
  62. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_header.d.ts +0 -18
  63. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_header.d.ts.map +0 -1
  64. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_options.d.ts +0 -6
  65. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_options.d.ts.map +0 -1
  66. package/dist/types/modules/toolbar/tools/chat/components/channel_view/emoji_data.d.ts +0 -10
  67. package/dist/types/modules/toolbar/tools/chat/components/channel_view/emoji_data.d.ts.map +0 -1
  68. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_message_list_scroll_shadows.d.ts +0 -8
  69. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_message_list_scroll_shadows.d.ts.map +0 -1
  70. package/dist/types/modules/toolbar/tools/chat/components/channel_view/index.d.ts +0 -2
  71. package/dist/types/modules/toolbar/tools/chat/components/channel_view/index.d.ts.map +0 -1
  72. package/dist/types/modules/toolbar/tools/chat/components/channel_view/message_input.d.ts +0 -2
  73. package/dist/types/modules/toolbar/tools/chat/components/channel_view/message_input.d.ts.map +0 -1
  74. package/dist/types/modules/toolbar/tools/chat/components/child_notice.d.ts +0 -5
  75. package/dist/types/modules/toolbar/tools/chat/components/child_notice.d.ts.map +0 -1
  76. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts +0 -6
  77. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts.map +0 -1
  78. package/dist/types/modules/toolbar/tools/chat/components/new_chat_shortcuts_view.d.ts +0 -2
  79. package/dist/types/modules/toolbar/tools/chat/components/new_chat_shortcuts_view.d.ts.map +0 -1
  80. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts +0 -2
  81. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts.map +0 -1
  82. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts +0 -7
  83. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts.map +0 -1
  84. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/index.d.ts +0 -3
  85. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/index.d.ts.map +0 -1
  86. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/person.d.ts +0 -8
  87. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/person.d.ts.map +0 -1
  88. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/index.d.ts +0 -4
  89. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/index.d.ts.map +0 -1
  90. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_chat_people.d.ts +0 -21
  91. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_chat_people.d.ts.map +0 -1
  92. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_services_chat_filter.d.ts +0 -8
  93. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_services_chat_filter.d.ts.map +0 -1
  94. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_services_chat_shortcuts.d.ts +0 -14
  95. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_services_chat_shortcuts.d.ts.map +0 -1
  96. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_team_options.d.ts +0 -3
  97. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_team_options.d.ts.map +0 -1
  98. package/dist/types/modules/toolbar/tools/chat/components/services/index.d.ts +0 -4
  99. package/dist/types/modules/toolbar/tools/chat/components/services/index.d.ts.map +0 -1
  100. package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts +0 -4
  101. package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +0 -1
  102. package/dist/types/modules/toolbar/tools/chat/components/services/people_blank_state.d.ts +0 -2
  103. package/dist/types/modules/toolbar/tools/chat/components/services/people_blank_state.d.ts.map +0 -1
  104. package/dist/types/modules/toolbar/tools/chat/components/services/plans.d.ts +0 -3
  105. package/dist/types/modules/toolbar/tools/chat/components/services/plans.d.ts.map +0 -1
  106. package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts +0 -6
  107. package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts.map +0 -1
  108. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts +0 -10
  109. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts.map +0 -1
  110. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts +0 -6
  111. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts.map +0 -1
  112. package/dist/types/modules/toolbar/tools/chat/components/services/teams.d.ts +0 -3
  113. package/dist/types/modules/toolbar/tools/chat/components/services/teams.d.ts.map +0 -1
  114. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts +0 -34
  115. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts.map +0 -1
  116. package/dist/types/modules/toolbar/tools/chat/components/ui/subheading.d.ts +0 -9
  117. package/dist/types/modules/toolbar/tools/chat/components/ui/subheading.d.ts.map +0 -1
  118. package/dist/types/modules/toolbar/tools/chat/constants.d.ts +0 -6
  119. package/dist/types/modules/toolbar/tools/chat/constants.d.ts.map +0 -1
  120. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts +0 -11
  121. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts.map +0 -1
  122. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts +0 -2
  123. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts.map +0 -1
  124. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_unread.d.ts +0 -11
  125. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_unread.d.ts.map +0 -1
  126. package/dist/types/modules/toolbar/tools/chat/hooks/use_channels_loading.d.ts +0 -2
  127. package/dist/types/modules/toolbar/tools/chat/hooks/use_channels_loading.d.ts.map +0 -1
  128. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat.d.ts +0 -3
  129. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat.d.ts.map +0 -1
  130. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_api.d.ts +0 -4
  131. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_api.d.ts.map +0 -1
  132. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts +0 -7
  133. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts.map +0 -1
  134. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_connected_people.d.ts +0 -16
  135. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_connected_people.d.ts.map +0 -1
  136. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts +0 -22
  137. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts.map +0 -1
  138. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_stream_user.d.ts +0 -16
  139. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_stream_user.d.ts.map +0 -1
  140. package/dist/types/modules/toolbar/tools/chat/hooks/use_client.d.ts +0 -3
  141. package/dist/types/modules/toolbar/tools/chat/hooks/use_client.d.ts.map +0 -1
  142. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts +0 -17
  143. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts.map +0 -1
  144. package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts +0 -12
  145. package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts.map +0 -1
  146. package/dist/types/modules/toolbar/tools/chat/index.d.ts +0 -4
  147. package/dist/types/modules/toolbar/tools/chat/index.d.ts.map +0 -1
  148. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts +0 -3
  149. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts.map +0 -1
@@ -1,14 +0,0 @@
1
- type ServiceTypeTeams = {
2
- id: number;
3
- name: string;
4
- teams: {
5
- id: number;
6
- name: string;
7
- }[];
8
- };
9
- export declare const useServicesChatShortcuts: (isActive: boolean) => {
10
- loading: boolean;
11
- serviceTypeTeams: ServiceTypeTeams[];
12
- };
13
- export {};
14
- //# sourceMappingURL=use_services_chat_shortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_services_chat_shortcuts.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/hooks/use_services_chat_shortcuts.ts"],"names":[],"mappings":"AAeA,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;KACb,EAAE,CAAA;CACJ,CAAA;AAED,eAAO,MAAM,wBAAwB,aACzB,OAAO;aAER,OAAO;sBACE,gBAAgB,EAAE;CAqDrC,CAAA"}
@@ -1,3 +0,0 @@
1
- import { TeamOptions } from "../types";
2
- export declare const useTeamOptions: (values: any, isActive: any) => [TeamOptions, TeamOptions, Boolean];
3
- //# sourceMappingURL=use_team_options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_team_options.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/hooks/use_team_options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,eAAO,MAAM,cAAc,kCAGxB,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CA8BpC,CAAA"}
@@ -1,4 +0,0 @@
1
- export { People } from "./people";
2
- export { Plans } from "./plans";
3
- export { Teams } from "./teams";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const People: ({ filter }: {
2
- filter: any;
3
- }) => JSX.Element;
4
- //# sourceMappingURL=people.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;iBAmDlB,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const PeopleBlankState: () => JSX.Element;
2
- //# sourceMappingURL=people_blank_state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"people_blank_state.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people_blank_state.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,mBAW5B,CAAA"}
@@ -1,3 +0,0 @@
1
- import { ServicesFilterProps } from "./services_chat_options";
2
- export declare const Plans: ({ onChange, isActive, values }: ServicesFilterProps) => JSX.Element;
3
- //# sourceMappingURL=plans.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/plans.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAI7D,eAAO,MAAM,KAAK,mCAAoC,mBAAmB,gBAyHxE,CAAA"}
@@ -1,6 +0,0 @@
1
- export declare const ServicesChatShortcuts: ({ isActive, setFilterValues, switchToNewChatView, }: {
2
- isActive: any;
3
- setFilterValues: any;
4
- switchToNewChatView: any;
5
- }) => JSX.Element;
6
- //# sourceMappingURL=service_chat_shortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service_chat_shortcuts.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/service_chat_shortcuts.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,qBAAqB;;;;iBAqGjC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { ServicesFilterValues, SetFilterValuesFn } from "../../hooks/use_chat_filter";
2
- export interface ServicesFilterProps {
3
- isActive: boolean;
4
- onChange: SetFilterValuesFn;
5
- values: ServicesFilterValues;
6
- }
7
- export declare const ServicesChatOptions: ({ isActive }: {
8
- isActive: any;
9
- }) => JSX.Element;
10
- //# sourceMappingURL=services_chat_options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services_chat_options.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/services_chat_options.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,6BAA6B,CAAA;AAOpC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,MAAM,EAAE,oBAAoB,CAAA;CAC7B;AAED,eAAO,MAAM,mBAAmB;;iBAiC/B,CAAA"}
@@ -1,6 +0,0 @@
1
- export declare const ServicesChatOptionsFooter: ({ handleStartChat, startChatDisabled, showSpinner, }: {
2
- handleStartChat: any;
3
- startChatDisabled: any;
4
- showSpinner: any;
5
- }) => JSX.Element;
6
- //# sourceMappingURL=services_chat_options_footer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services_chat_options_footer.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/services_chat_options_footer.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;;iBA2BrC,CAAA"}
@@ -1,3 +0,0 @@
1
- import { ServicesFilterProps } from "./services_chat_options";
2
- export declare const Teams: ({ values, onChange, isActive }: ServicesFilterProps) => JSX.Element;
3
- //# sourceMappingURL=teams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/teams.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAgB7D,eAAO,MAAM,KAAK,mCAAoC,mBAAmB,gBAqJxE,CAAA"}
@@ -1,34 +0,0 @@
1
- import { TeamOptionGroups, TeamOptions } from "../types";
2
- export declare const groupTeamOptions: (options: TeamOptions, searchTerm: string) => TeamOptionGroups;
3
- export declare const getPrimaryButtonStyleOverrides: ({ disabled, spinner, }?: {
4
- disabled?: boolean;
5
- spinner?: boolean;
6
- }) => {
7
- backgroundColor: string;
8
- spinner: {
9
- color: string;
10
- };
11
- color: string;
12
- fontSize: string;
13
- fontWeight: number;
14
- lineHeight: string;
15
- } | {
16
- active: {
17
- backgroundColor: string;
18
- };
19
- focus: {
20
- backgroundColor: string;
21
- };
22
- hover: {
23
- backgroundColor: string;
24
- };
25
- backgroundColor: string;
26
- color: string;
27
- spinner: {
28
- color: string;
29
- };
30
- fontSize: string;
31
- fontWeight: number;
32
- lineHeight: string;
33
- };
34
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/utils/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AASxD,eAAO,MAAM,gBAAgB,qCAEf,MAAM,KACjB,gBAUO,CAAA;AAEV,eAAO,MAAM,8BAA8B;eAG3B,OAAO;cAAY,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBzC,CAAA"}
@@ -1,9 +0,0 @@
1
- export declare const SUBHEADING_STYLES: {
2
- fontSize: string;
3
- fontWeight: number;
4
- lineHeight: string;
5
- };
6
- export declare const Subheading: ({ children }: {
7
- children: any;
8
- }) => JSX.Element;
9
- //# sourceMappingURL=subheading.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subheading.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/ui/subheading.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,eAAO,MAAM,UAAU;;iBAItB,CAAA"}
@@ -1,6 +0,0 @@
1
- export declare const BUTTON_STYLE_BASE_OVERRIDES: {
2
- fontSize: string;
3
- fontWeight: number;
4
- lineHeight: string;
5
- };
6
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B;;;;CAIvC,CAAA"}
@@ -1,11 +0,0 @@
1
- export { useChannelMute } from "./use_channel_mute";
2
- export { useChannelsLoading } from "./use_channels_loading";
3
- export { useChannelUnread } from "./use_channel_unread";
4
- export { useChat } from "./use_chat";
5
- export { useChatApi } from "./use_chat_api";
6
- export { useChatAppGrants } from "./use_chat_app_grants";
7
- export { useChatConnectedPeople } from "./use_chat_connected_people";
8
- export { useChatFilter } from "./use_chat_filter";
9
- export { useChatStreamUser } from "./use_chat_stream_user";
10
- export { useClient } from "./use_client";
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const useChannelMute: (channel: any) => any;
2
- //# sourceMappingURL=use_channel_mute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_channel_mute.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channel_mute.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,uBAgB1B,CAAA"}
@@ -1,11 +0,0 @@
1
- import type { Channel } from "stream-chat";
2
- interface ChannelUnread {
3
- isUnread: boolean;
4
- isUnreadable: boolean;
5
- markRead: () => void;
6
- markUnread: () => void;
7
- unreadCount: number;
8
- }
9
- export declare const useChannelUnread: (channel: Channel, unread: number) => ChannelUnread;
10
- export {};
11
- //# sourceMappingURL=use_channel_unread.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_channel_unread.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channel_unread.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,aAAa,CAAA;AASjE,UAAU,aAAa;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,YAAY,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,gBAAgB,YAClB,OAAO,UACR,MAAM,KACb,aA2CF,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const useChannelsLoading: () => boolean;
2
- //# sourceMappingURL=use_channels_loading.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_channels_loading.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channels_loading.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,QAAO,OAUrC,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { ChatContextValue } from "../chat_context";
2
- export declare const useChat: () => ChatContextValue;
3
- //# sourceMappingURL=use_chat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAGvD,eAAO,MAAM,OAAO,QAAO,gBAM1B,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const useChatApi: () => {
2
- [key: string]: any;
3
- };
4
- //# sourceMappingURL=use_chat_api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat_api.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_api.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;CAAmC,CAAA"}
@@ -1,7 +0,0 @@
1
- type AppName = "Services";
2
- interface ChatAppGrants {
3
- canCreateChat: (appName: AppName) => boolean;
4
- }
5
- export declare const useChatAppGrants: () => ChatAppGrants;
6
- export {};
7
- //# sourceMappingURL=use_chat_app_grants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat_app_grants.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_app_grants.ts"],"names":[],"mappings":"AAGA,KAAK,OAAO,GAAG,UAAU,CAAA;AAWzB,UAAU,aAAa;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAA;CAC7C;AAED,eAAO,MAAM,gBAAgB,QAAO,aAkBnC,CAAA"}
@@ -1,16 +0,0 @@
1
- import { Environment } from "@planningcenter/url";
2
- export type ConnectedPerson = {
3
- id: string;
4
- organization_id: string;
5
- organization_name: string;
6
- unread_count: number;
7
- };
8
- type UseChatConnectedPeopleValue = {
9
- loading: boolean;
10
- people: ConnectedPerson[] | null;
11
- switchPerson: Function;
12
- };
13
- export declare const useChatConnectedPeople: () => UseChatConnectedPeopleValue;
14
- export declare const switchPerson: (toId: string, returnPath: string, env: Environment) => void;
15
- export {};
16
- //# sourceMappingURL=use_chat_connected_people.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat_connected_people.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_connected_people.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IACjC,YAAY,EAAE,QAAQ,CAAA;CACvB,CAAA;AAID,eAAO,MAAM,sBAAsB,QAAO,2BAazC,CAAA;AAED,eAAO,MAAM,YAAY,SAAU,MAAM,cAAc,MAAM,OAAO,WAAW,SAkB9E,CAAA"}
@@ -1,22 +0,0 @@
1
- export interface ServicesFilterValues {
2
- plan_id: number | null;
3
- teams: {
4
- service_type_id: number;
5
- team_id: number;
6
- }[];
7
- }
8
- export declare const SERVICES_INITIAL_VALUES: ServicesFilterValues;
9
- export interface FilterValues {
10
- Services: ServicesFilterValues;
11
- }
12
- export type FilterUpdateFn<T> = (prevState: T) => T;
13
- export type SetFilterValuesFn = <K extends keyof FilterValues>(args: SetFilterValuesArgs<K>) => void;
14
- export type SetFilterValuesArgs<K extends keyof FilterValues> = {
15
- appName: K;
16
- values: FilterValues[K] | FilterUpdateFn<FilterValues[K]>;
17
- };
18
- export declare const useChatFilter: () => {
19
- filterValues: FilterValues;
20
- setFilterValues: SetFilterValuesFn;
21
- };
22
- //# sourceMappingURL=use_chat_filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat_filter.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_filter.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE;QACL,eAAe,EAAE,MAAM,CAAA;QACvB,OAAO,EAAE,MAAM,CAAA;KAChB,EAAE,CAAA;CACJ;AACD,eAAO,MAAM,uBAAuB,EAAE,oBAGrC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,oBAAoB,CAAA;CAE/B;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAA;AAEnD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,SAAS,MAAM,YAAY,EAC3D,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,KACzB,IAAI,CAAA;AAET,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,YAAY,IAAI;IAC9D,OAAO,EAAE,CAAC,CAAA;IACV,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;CAC1D,CAAA;AAMD,eAAO,MAAM,aAAa;;;CAgBzB,CAAA"}
@@ -1,16 +0,0 @@
1
- type Token = string;
2
- type ChatStreamUser = {
3
- api_key: string;
4
- tokenProvider(): Promise<Token>;
5
- unread: boolean;
6
- };
7
- export declare const useChatStreamUser: ({ enableJoltLogging, env, userId, isEnabled, joltPromise, onConnectionFailure, }: {
8
- enableJoltLogging: any;
9
- env: any;
10
- userId: any;
11
- isEnabled: any;
12
- joltPromise: any;
13
- onConnectionFailure?: () => void;
14
- }) => ChatStreamUser;
15
- export {};
16
- //# sourceMappingURL=use_chat_stream_user.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_chat_stream_user.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_stream_user.ts"],"names":[],"mappings":"AAaA,KAAK,KAAK,GAAG,MAAM,CAAA;AAEnB,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,IAAI,OAAO,CAAC,KAAK,CAAC,CAAA;IAC/B,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;oBAqE7B,CAAA"}
@@ -1,3 +0,0 @@
1
- import { StreamChat } from "stream-chat";
2
- export declare const useClient: (streamUser: any) => StreamChat<import("stream-chat").ExtendableGenerics>;
3
- //# sourceMappingURL=use_client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_client.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAKxC,eAAO,MAAM,SAAS,2EA8BrB,CAAA"}
@@ -1,17 +0,0 @@
1
- import { Environment } from "@planningcenter/url";
2
- interface Props {
3
- streamUserId: string;
4
- env: Environment;
5
- }
6
- type FilterType = {
7
- members: {
8
- $in: string[];
9
- };
10
- type: "messaging";
11
- pco_apps?: {
12
- $contains: "services" | "groups";
13
- };
14
- };
15
- export declare const useConversationFilters: ({ streamUserId, env, }: Props) => FilterType;
16
- export {};
17
- //# sourceMappingURL=use_conversation_filters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_conversation_filters.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_conversation_filters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,UAAU,KAAK;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,WAAW,CAAA;CACjB;AAED,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,CAAC,EAAE;QAAE,SAAS,EAAE,UAAU,GAAG,QAAQ,CAAA;KAAE,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,sBAAsB,2BAGhC,KAAK,eA0BP,CAAA"}
@@ -1,12 +0,0 @@
1
- import { Environment } from "@planningcenter/url";
2
- type GroupsMigrationStatus = "pending" | "running" | "completed" | "failed";
3
- export declare const useGroupsMigration: ({ env }: {
4
- env: Environment;
5
- }) => {
6
- groupsMigrationStatus: GroupsMigrationStatus;
7
- loading: boolean;
8
- error: boolean;
9
- refresh: () => void;
10
- };
11
- export {};
12
- //# sourceMappingURL=use_groups_migration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_groups_migration.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_groups_migration.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,KAAK,qBAAqB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAU3E,eAAO,MAAM,kBAAkB;SAAoB,WAAW;;;;;;CAsC7D,CAAA"}
@@ -1,4 +0,0 @@
1
- import { ToolbarTool } from "../../types";
2
- declare const Chat: ToolbarTool;
3
- export { Chat };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoB,MAAM,aAAa,CAAA;AAqI3D,QAAA,MAAM,IAAI,EAAE,WAOX,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const noop: () => void;
2
- export declare const findLast: <T>(xs: T[], p: (x: T, i: number, xs: T[]) => boolean) => T;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,YAAY,CAAA;AAG7B,eAAO,MAAM,QAAQ,4BAEN,MAAM,cAAc,OAAO,MAOzC,CAAA"}