@planningcenter/topbar 9.14.0 → 9.15.0-qa-441.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 (80) hide show
  1. package/dist/topbar.js +1 -1
  2. package/dist/topbar.js.map +1 -1
  3. package/dist/topbar.modern.js +1 -1
  4. package/dist/topbar.modern.js.map +1 -1
  5. package/dist/topbar.module.js +1 -1
  6. package/dist/topbar.module.js.map +1 -1
  7. package/dist/topbar.umd.js +1 -1
  8. package/dist/topbar.umd.js.map +1 -1
  9. package/dist/types/modules/hooks/use_cookie.d.ts +3 -0
  10. package/dist/types/modules/hooks/use_cookie.d.ts.map +1 -0
  11. package/dist/types/modules/hooks/use_fragment_routing.d.ts +5 -0
  12. package/dist/types/modules/hooks/use_fragment_routing.d.ts.map +1 -0
  13. package/dist/types/modules/toolbar/hooks/use_pco_meta.d.ts.map +1 -1
  14. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts +0 -1
  15. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +1 -1
  16. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  17. package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts.map +1 -1
  18. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts +2 -13
  19. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts.map +1 -1
  20. package/dist/types/modules/toolbar/tools/chat/components/blank_state_view.d.ts +2 -0
  21. package/dist/types/modules/toolbar/tools/chat/components/blank_state_view.d.ts.map +1 -0
  22. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts.map +1 -1
  23. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.d.ts.map +1 -1
  24. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/list.d.ts.map +1 -1
  25. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts.map +1 -1
  26. package/dist/types/modules/toolbar/tools/chat/components/channel_view/index.d.ts.map +1 -1
  27. package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts +4 -0
  28. package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts.map +1 -0
  29. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts +17 -0
  30. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts.map +1 -0
  31. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.d.ts +9 -0
  32. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.d.ts.map +1 -0
  33. package/dist/types/modules/toolbar/tools/chat/components/groups/index.d.ts +3 -0
  34. package/dist/types/modules/toolbar/tools/chat/components/groups/index.d.ts.map +1 -0
  35. package/dist/types/modules/toolbar/tools/chat/components/groups/people.d.ts +4 -0
  36. package/dist/types/modules/toolbar/tools/chat/components/groups/people.d.ts.map +1 -0
  37. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts +3 -1
  38. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts.map +1 -1
  39. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts +7 -0
  40. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts.map +1 -0
  41. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts +2 -0
  42. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts.map +1 -0
  43. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts +3 -0
  44. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts.map +1 -0
  45. package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts +2 -0
  46. package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts.map +1 -0
  47. package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts +2 -0
  48. package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts.map +1 -0
  49. package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts +2 -0
  50. package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts.map +1 -0
  51. package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_chat_people.d.ts.map +1 -1
  52. package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +1 -1
  53. package/dist/types/modules/toolbar/tools/chat/components/services/plans.d.ts.map +1 -1
  54. package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts +2 -2
  55. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts.map +1 -1
  56. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts +0 -31
  57. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts.map +1 -1
  58. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts +2 -1
  59. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts.map +1 -1
  60. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts +1 -1
  61. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts.map +1 -1
  62. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts +7 -0
  63. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts.map +1 -1
  64. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_navigation.d.ts +23 -0
  65. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_navigation.d.ts.map +1 -0
  66. package/dist/types/modules/toolbar/tools/chat/index.d.ts.map +1 -1
  67. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts +32 -0
  68. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts.map +1 -1
  69. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
  70. package/dist/types/modules/utils.d.ts +1 -0
  71. package/dist/types/modules/utils.d.ts.map +1 -1
  72. package/package.json +1 -1
  73. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts +0 -2
  74. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts.map +0 -1
  75. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts +0 -6
  76. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts.map +0 -1
  77. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts +0 -17
  78. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts.map +0 -1
  79. package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts +0 -12
  80. package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts.map +0 -1
@@ -0,0 +1,3 @@
1
+ export declare function useCookie(name: string): readonly [string, (newValue: string) => void];
2
+ export declare function useJSONCookie(name: string): readonly [any, (newValue: object) => void];
3
+ //# sourceMappingURL=use_cookie.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_cookie.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_cookie.tsx"],"names":[],"mappings":"AAkBA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,gCAEE,MAAM,WAQ7C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,6BAe3B,MAAM,WAKpB"}
@@ -0,0 +1,5 @@
1
+ export declare function useFragmentRouting(): readonly [{
2
+ path: string;
3
+ tool: string;
4
+ }, (tool: string, path?: string) => void, () => void];
5
+ //# sourceMappingURL=use_fragment_routing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_fragment_routing.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_fragment_routing.tsx"],"names":[],"mappings":"AA6BA,wBAAgB,kBAAkB;;;UAIS,MAAM,SAAQ,MAAM,uBAsB9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"use_pco_meta.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_pco_meta.ts"],"names":[],"mappings":"AAGA,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAwDD,wBAAgB,UAAU,YAMzB"}
1
+ {"version":3,"file":"use_pco_meta.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_pco_meta.ts"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAiDD,wBAAgB,UAAU,YAMzB"}
@@ -4,7 +4,6 @@ declare enum ActionType {
4
4
  close = "close",
5
5
  mount = "mount",
6
6
  open = "open",
7
- set = "set",
8
7
  unmount = "unmount"
9
8
  }
10
9
  type ToolbarState = {
@@ -1 +1 @@
1
- {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAyBD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAuBD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAWA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAgBzD,OAAO,EAAE,cAAc,EAAiC,MAAM,SAAS,CAAA;AAOvE,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,GAAG,EAAE,WAAW,CAAA;IAChB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAQD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,GAAG,EACH,cAAmB,EACnB,aAAoB,EACpB,cAAc,EACd,QAAQ,EACR,oBAAoB,GACrB,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAkU5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAWA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAmBzD,OAAO,EAAE,cAAc,EAAiC,MAAM,SAAS,CAAA;AAOvE,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,GAAG,EAAE,WAAW,CAAA;IAChB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAcD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,GAAG,EACH,cAAmB,EACnB,aAAoB,EACpB,cAAc,EACd,QAAQ,EACR,oBAAoB,GACrB,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAgX5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"chat_api_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/chat_api_context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAIjD,KAAK,mBAAmB,GAAG;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAA;AAED,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ;AAkBD,QAAA,MAAM,cAAc,oCAA+C,CAAA;AAoEnE,QAAA,MAAM,eAAe,sBAAuB,oBAAoB,gBAW/D,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"chat_api_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/chat_api_context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAIjD,KAAK,mBAAmB,GAAG;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAA;AAED,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ;AAkBD,QAAA,MAAM,cAAc,oCAA+C,CAAA;AAoEnE,QAAA,MAAM,eAAe,sBAAuB,oBAAoB,gBAY/D,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
@@ -1,25 +1,14 @@
1
1
  import React, { ReactNode } from "react";
2
2
  import { FilterValues, SetFilterValuesFn } from "./hooks/use_chat_filter";
3
- type SwitchViewFn = () => void;
3
+ import type { ChatNavigation } from './hooks/use_chat_navigation';
4
4
  type ActionsForOpenChannel = boolean | null | string;
5
5
  export interface ChatContextValue {
6
6
  actionsOpenForChannel: ActionsForOpenChannel;
7
7
  closeDrawer: () => void;
8
8
  filterValues: FilterValues;
9
- findAndSwitchToChannel: ({ stream_channel_id, }: {
10
- stream_channel_id: string;
11
- }) => void;
12
- isChannelDetailsViewActive: boolean;
13
- isChannelViewActive: boolean;
14
- isNewChatShortcutsViewActive: boolean;
15
- isNewChatViewActive: boolean;
9
+ navigation: ChatNavigation;
16
10
  setActionsOpenForChannel: React.Dispatch<React.SetStateAction<ActionsForOpenChannel>>;
17
11
  setFilterValues: SetFilterValuesFn;
18
- switchToChannelDetailsView: SwitchViewFn;
19
- switchToChannelListView: SwitchViewFn;
20
- switchToChannelView: SwitchViewFn;
21
- switchToNewChatShortcutsView: SwitchViewFn;
22
- switchToNewChatView: SwitchViewFn;
23
12
  }
24
13
  interface ChatProviderProps {
25
14
  children: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"chat_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/chat_context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAEzE,KAAK,YAAY,GAAG,MAAM,IAAI,CAAA;AAC9B,KAAK,qBAAqB,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAA;AAEpD,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB,EAAE,qBAAqB,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,YAAY,EAAE,YAAY,CAAA;IAC1B,sBAAsB,EAAE,CAAC,EACvB,iBAAiB,GAClB,EAAE;QACD,iBAAiB,EAAE,MAAM,CAAA;KAC1B,KAAK,IAAI,CAAA;IACV,0BAA0B,EAAE,OAAO,CAAA;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,4BAA4B,EAAE,OAAO,CAAA;IACrC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,wBAAwB,EAAE,KAAK,CAAC,QAAQ,CACtC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAC5C,CAAA;IACD,eAAe,EAAE,iBAAiB,CAAA;IAClC,0BAA0B,EAAE,YAAY,CAAA;IACxC,uBAAuB,EAAE,YAAY,CAAA;IACrC,mBAAmB,EAAE,YAAY,CAAA;IACjC,4BAA4B,EAAE,YAAY,CAAA;IAC1C,mBAAmB,EAAE,YAAY,CAAA;CAClC;AAED,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,QAAA,MAAM,WAAW,iCAEhB,CAAA;AAED,QAAA,MAAM,YAAY,wBAAyB,iBAAiB,gBAE3D,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"chat_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/chat_context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAEjE,KAAK,qBAAqB,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAA;AAEpD,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB,EAAE,qBAAqB,CAAA;IAC5C,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,YAAY,EAAE,YAAY,CAAA;IAC1B,UAAU,EAAE,cAAc,CAAA;IAC1B,wBAAwB,EAAE,KAAK,CAAC,QAAQ,CACtC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAC5C,CAAA;IACD,eAAe,EAAE,iBAAiB,CAAA;CACnC;AAED,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,QAAA,MAAM,WAAW,iCAEhB,CAAA;AAED,QAAA,MAAM,YAAY,wBAAyB,iBAAiB,gBAE3D,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const BlankStateView: () => JSX.Element;
2
+ //# sourceMappingURL=blank_state_view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blank_state_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/blank_state_view.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,mBAe1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe;;;;;;iBAgE3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,eAAe;;;;;;iBAmE3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"linked_account_select.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAQjD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,mBAAmB,uCAI7B,wBAAwB,gBA+E1B,CAAA"}
1
+ {"version":3,"file":"linked_account_select.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAQjD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,mBAAmB,uCAI7B,wBAAwB,gBAkF1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAO7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBAyBvE,CAAA"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAO7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBA4BvE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AA0DA,eAAO,MAAM,OAAO;;;;;iBA2InB,CAAA"}
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AAmEA,eAAO,MAAM,OAAO;;;;;iBA8InB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/index.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,WAAW,mBAqFvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/index.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,WAAW,mBAkFvB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare const GroupsShortcuts: ({ isActive }: {
2
+ isActive: boolean;
3
+ }) => JSX.Element;
4
+ //# sourceMappingURL=groups_shortcuts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groups_shortcuts.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/groups/groups_shortcuts.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe;cAA8B,OAAO;iBA0GhE,CAAA"}
@@ -0,0 +1,17 @@
1
+ export type Group = {
2
+ id: number;
3
+ name: string;
4
+ headerImage: {
5
+ thumbnail: string;
6
+ };
7
+ membershipsCount: number;
8
+ canCreateConversation: boolean;
9
+ };
10
+ export declare function useMyGroups(shouldRunInitialLoad: boolean): {
11
+ groups: Group[];
12
+ hasMore: boolean;
13
+ isError: boolean;
14
+ isLoading: boolean;
15
+ loadMore: () => void;
16
+ };
17
+ //# sourceMappingURL=use_my_groups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_my_groups.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;IAClC,gBAAgB,EAAE,MAAM,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;CAC/B,CAAA;AAYD,wBAAgB,WAAW,CAAC,oBAAoB,EAAE,OAAO,GAAG;IAC1D,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CA2CA"}
@@ -0,0 +1,9 @@
1
+ import { ListItemPerson } from "../../person_list_item";
2
+ export declare function useNewGroupChatPeople(groupId: number): {
3
+ hasMore: boolean | null;
4
+ isError: boolean;
5
+ isLoading: boolean;
6
+ people: ListItemPerson[];
7
+ totalCount: number | null;
8
+ };
9
+ //# sourceMappingURL=use_new_group_chat_people.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_new_group_chat_people.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAYvD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG;IACtD,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAyDA"}
@@ -0,0 +1,3 @@
1
+ export { GroupsShortcuts } from "./groups_shortcuts";
2
+ export { People } from "./people";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/groups/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare function People({ groupId }: {
2
+ groupId: number;
3
+ }): JSX.Element;
4
+ //# sourceMappingURL=people.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/groups/people.tsx"],"names":[],"mappings":"AAeA,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,eA+CtD"}
@@ -1,6 +1,8 @@
1
+ export { BlankStateView } from "./blank_state_view";
1
2
  export { ChannelDetailsView } from "./channel_details_view";
2
3
  export { ChannelListView } from "./channel_list_view";
3
4
  export { ChannelView } from "./channel_view";
4
5
  export { NewChatShortcutsView } from "./new_chat_shortcuts_view";
5
- export { NewChatView } from "./new_chat_view";
6
+ export { NewGroupsChatView } from "./new_groups_chat_view";
7
+ export { NewServicesChatView } from "./new_services_chat_view";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare const NewChatViewFooter: ({ text, buttonDisabled, showSpinner, onButtonClick, }: {
2
+ buttonDisabled: boolean;
3
+ onButtonClick: () => void;
4
+ showSpinner: boolean;
5
+ text: string;
6
+ }) => JSX.Element;
7
+ //# sourceMappingURL=footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/new_chat_view/footer.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,iBAAiB;oBAMZ,OAAO;mBACR,MAAM,IAAI;iBACZ,OAAO;UACd,MAAM;iBAsBb,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const NewChatViewHeader: () => JSX.Element;
2
+ //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/new_chat_view/header.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB,mBA0B7B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { NewChatViewFooter } from "./footer";
2
+ export { NewChatViewHeader } from "./header";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/new_chat_view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const NewGroupsChatView: () => JSX.Element;
2
+ //# sourceMappingURL=new_groups_chat_view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new_groups_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_groups_chat_view.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB,mBA6D7B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const NewServicesChatView: () => JSX.Element;
2
+ //# sourceMappingURL=new_services_chat_view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new_services_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_services_chat_view.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB,mBAS/B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const NEW_SERVICES_CHAT_FOOTER_TEXT = "Conversation will be automatically updated if any people are added or removed from a team.";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,6BAA6B,+FACoD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"use_chat_people.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/hooks/use_chat_people.ts"],"names":[],"mappings":"AAIA,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;IAChC,KAAK,EAAE,OAAO,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAWD,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAED,eAAO,MAAM,aAAa,mBAAa,UA4DtC,CAAA"}
1
+ {"version":3,"file":"use_chat_people.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/hooks/use_chat_people.ts"],"names":[],"mappings":"AAIA,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;IAChC,KAAK,EAAE,OAAO,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAWD,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAED,eAAO,MAAM,aAAa,mBAAa,UA8DtC,CAAA"}
@@ -1 +1 @@
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
+ {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,MAAM;;iBAoDlB,CAAA"}
@@ -1 +1 @@
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
+ {"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,gBA+HxE,CAAA"}
@@ -1,6 +1,6 @@
1
- export declare const ServicesChatShortcuts: ({ isActive, setFilterValues, switchToNewChatView, }: {
1
+ export declare const ServicesChatShortcuts: ({ isActive, setFilterValues, switchToNewServicesChatView, }: {
2
2
  isActive: any;
3
3
  setFilterValues: any;
4
- switchToNewChatView: any;
4
+ switchToNewServicesChatView: any;
5
5
  }) => JSX.Element;
6
6
  //# sourceMappingURL=service_chat_shortcuts.d.ts.map
@@ -1 +1 @@
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
+ {"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;AAQpC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,MAAM,EAAE,oBAAoB,CAAA;CAC7B;AAED,eAAO,MAAM,mBAAmB;;iBAkC/B,CAAA"}
@@ -1,34 +1,3 @@
1
1
  import { TeamOptionGroups, TeamOptions } from "../types";
2
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
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/services/utils/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AASxD,eAAO,MAAM,gBAAgB,qCAEf,MAAM,KACjB,gBAUO,CAAA"}
@@ -1,11 +1,12 @@
1
1
  export { useChannelMute } from "./use_channel_mute";
2
- export { useChannelsLoading } from "./use_channels_loading";
3
2
  export { useChannelUnread } from "./use_channel_unread";
3
+ export { useChannelsLoading } from "./use_channels_loading";
4
4
  export { useChat } from "./use_chat";
5
5
  export { useChatApi } from "./use_chat_api";
6
6
  export { useChatAppGrants } from "./use_chat_app_grants";
7
7
  export { useChatConnectedPeople } from "./use_chat_connected_people";
8
8
  export { useChatFilter } from "./use_chat_filter";
9
+ export { useChatNavigation } from "./use_chat_navigation";
9
10
  export { useChatStreamUser } from "./use_chat_stream_user";
10
11
  export { useClient } from "./use_client";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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
+ {"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,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,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,uBAAuB,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
@@ -1,4 +1,4 @@
1
- type AppName = "Services";
1
+ type AppName = "Services" | "Groups";
2
2
  interface ChatAppGrants {
3
3
  canCreateChat: (appName: AppName) => boolean;
4
4
  }
@@ -1 +1 @@
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
+ {"version":3,"file":"use_chat_app_grants.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_app_grants.ts"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAA;AAWpC,UAAU,aAAa;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAA;CAC7C;AAED,eAAO,MAAM,gBAAgB,QAAO,aAkBnC,CAAA"}
@@ -6,7 +6,14 @@ export interface ServicesFilterValues {
6
6
  }[];
7
7
  }
8
8
  export declare const SERVICES_INITIAL_VALUES: ServicesFilterValues;
9
+ export interface GroupsFilterValues {
10
+ group: {
11
+ id: number;
12
+ name: string;
13
+ };
14
+ }
9
15
  export interface FilterValues {
16
+ Groups?: GroupsFilterValues;
10
17
  Services: ServicesFilterValues;
11
18
  }
12
19
  export type FilterUpdateFn<T> = (prevState: T) => T;
@@ -1 +1 @@
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
+ {"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,kBAAkB;IACjC,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,kBAAkB,CAAA;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"}
@@ -0,0 +1,23 @@
1
+ type SwitchViewFn = () => void;
2
+ export interface ChatNavigation {
3
+ activeIndex: number;
4
+ isBlankStateActive: boolean;
5
+ isChannelDetailsViewActive: boolean;
6
+ isChannelViewActive: boolean;
7
+ isNewChatShortcutsViewActive: boolean;
8
+ isNewGroupsChatViewActive: boolean;
9
+ isNewServicesChatViewActive: boolean;
10
+ switchToChannelDetailsView: SwitchViewFn;
11
+ switchToChannelListView: SwitchViewFn;
12
+ switchToChannelView: (id: string) => void;
13
+ switchToNewChatShortcutsView: SwitchViewFn;
14
+ switchToNewGroupsChatView: SwitchViewFn;
15
+ switchToNewServicesChatView: SwitchViewFn;
16
+ }
17
+ export declare const useChatNavigation: ({ currentPath, onChangePath, setFilterValues }: {
18
+ currentPath: any;
19
+ onChangePath: any;
20
+ setFilterValues: any;
21
+ }) => ChatNavigation;
22
+ export {};
23
+ //# sourceMappingURL=use_chat_navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_chat_navigation.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_navigation.tsx"],"names":[],"mappings":"AAYA,KAAK,YAAY,GAAG,MAAM,IAAI,CAAA;AAE9B,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,0BAA0B,EAAE,OAAO,CAAA;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,4BAA4B,EAAE,OAAO,CAAA;IACrC,yBAAyB,EAAE,OAAO,CAAA;IAClC,2BAA2B,EAAE,OAAO,CAAA;IACpC,0BAA0B,EAAE,YAAY,CAAA;IACxC,uBAAuB,EAAE,YAAY,CAAA;IACrC,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,4BAA4B,EAAE,YAAY,CAAA;IAC1C,yBAAyB,EAAE,YAAY,CAAA;IACvC,2BAA2B,EAAE,YAAY,CAAA;CAC1C;AAqED,eAAO,MAAM,iBAAiB;;;;MAAqD,cA8HlF,CAAA"}
@@ -1 +1 @@
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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoB,MAAM,aAAa,CAAA;AAkH3D,QAAA,MAAM,IAAI,EAAE,WAOX,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -1,3 +1,35 @@
1
1
  export declare const noop: () => void;
2
2
  export declare const findLast: <T>(xs: T[], p: (x: T, i: number, xs: T[]) => boolean) => T;
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
+ export declare const formatDate: (date: Date) => string;
3
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/utils/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,YAAW,CAAA;AAG5B,eAAO,MAAM,QAAQ,4BAEN,MAAM,cAAc,OAAO,MAOzC,CAAA;AAED,eAAO,MAAM,8BAA8B;eAG3B,OAAO;cAAY,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBzC,CAAA;AAED,eAAO,MAAM,UAAU,SAAU,IAAI,KAAG,MAYvC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,WAAW,EAAoB,MAAM,UAAU,CAAA;AA0HxD,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,WAAW,EAAoB,MAAM,UAAU,CAAA;AA8HxD,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export declare const capitalize: (s: string) => string;
2
2
  export declare const HSLtoHSLA: (hsl: string, a?: number) => string;
3
3
  export declare const debounce: (func: any, wait: any) => (...args: any) => void;
4
+ export declare function shallowCompare<O extends object>(a: O, b: O): boolean;
4
5
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../modules/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,MAAO,MAAM,WAA2C,CAAA;AAE/E,eAAO,MAAM,SAAS,QAAS,MAAM,MAAK,MAAM,WAO/C,CAAA;AAED,eAAO,MAAM,QAAQ,sCAGO,GAAG,SAe9B,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../modules/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,MAAO,MAAM,WAA2C,CAAA;AAE/E,eAAO,MAAM,SAAS,QAAS,MAAM,MAAK,MAAM,WAO/C,CAAA;AAED,eAAO,MAAM,QAAQ,sCAGO,GAAG,SAe9B,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,WAK1D"}
package/package.json CHANGED
@@ -78,7 +78,7 @@
78
78
  "webpack-cli": "^4.9.1",
79
79
  "webpack-dev-server": "^4.4.0"
80
80
  },
81
- "version": "9.14.0",
81
+ "version": "9.15.0-qa-441.0",
82
82
  "peerDependencies": {
83
83
  "@planningcenter/add-ons": "^5",
84
84
  "@planningcenter/tapestry-react": "^4",
@@ -1,2 +0,0 @@
1
- export declare const NewChatView: () => JSX.Element;
2
- //# sourceMappingURL=new_chat_view.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"new_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_chat_view.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,mBA6BvB,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,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"}