@planningcenter/topbar 9.14.0 → 9.15.0-rc.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 (77) hide show
  1. package/dist/topbar.css +15 -11
  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/hooks/use_cookie.d.ts +3 -0
  12. package/dist/types/modules/hooks/use_cookie.d.ts.map +1 -0
  13. package/dist/types/modules/hooks/use_fragment_routing.d.ts +5 -0
  14. package/dist/types/modules/hooks/use_fragment_routing.d.ts.map +1 -0
  15. package/dist/types/modules/toolbar/hooks/use_pco_meta.d.ts.map +1 -1
  16. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts +0 -1
  17. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +1 -1
  18. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  19. package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts.map +1 -1
  20. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts +4 -2
  21. package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts.map +1 -1
  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_view/custom_reaction_options.d.ts +6 -0
  24. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_options.d.ts.map +1 -0
  25. package/dist/types/modules/toolbar/tools/chat/components/channel_view/emoji_data.d.ts +10 -0
  26. package/dist/types/modules/toolbar/tools/chat/components/channel_view/emoji_data.d.ts.map +1 -0
  27. package/dist/types/modules/toolbar/tools/chat/components/channel_view/message_input.d.ts.map +1 -1
  28. package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts +4 -0
  29. package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts.map +1 -0
  30. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts +10 -0
  31. package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts.map +1 -0
  32. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts +2 -1
  33. package/dist/types/modules/toolbar/tools/chat/components/index.d.ts.map +1 -1
  34. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts +7 -0
  35. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts.map +1 -0
  36. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts +2 -0
  37. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts.map +1 -0
  38. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts +3 -0
  39. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts.map +1 -0
  40. package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts +2 -0
  41. package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts.map +1 -0
  42. package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts +2 -0
  43. package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts.map +1 -0
  44. package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts +2 -0
  45. package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts.map +1 -0
  46. package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +1 -1
  47. package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts +2 -2
  48. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts.map +1 -1
  49. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts +0 -31
  50. package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts.map +1 -1
  51. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts +7 -0
  52. package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts.map +1 -1
  53. package/dist/types/modules/toolbar/tools/chat/index.d.ts.map +1 -1
  54. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts +31 -0
  55. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts.map +1 -1
  56. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
  57. package/dist/types/modules/utils.d.ts +1 -0
  58. package/dist/types/modules/utils.d.ts.map +1 -1
  59. package/package.json +6 -2
  60. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_selector.d.ts +0 -4
  61. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_selector.d.ts.map +0 -1
  62. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reactions_list.d.ts +0 -3
  63. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reactions_list.d.ts.map +0 -1
  64. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/index.d.ts +0 -3
  65. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/index.d.ts.map +0 -1
  66. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_emojis.d.ts +0 -4
  67. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_emojis.d.ts.map +0 -1
  68. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_reactions.d.ts +0 -4
  69. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_reactions.d.ts.map +0 -1
  70. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts +0 -2
  71. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts.map +0 -1
  72. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts +0 -6
  73. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts.map +0 -1
  74. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts +0 -17
  75. package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts.map +0 -1
  76. package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts +0 -12
  77. 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"}
@@ -12,14 +12,16 @@ export interface ChatContextValue {
12
12
  isChannelDetailsViewActive: boolean;
13
13
  isChannelViewActive: boolean;
14
14
  isNewChatShortcutsViewActive: boolean;
15
- isNewChatViewActive: boolean;
15
+ isNewServicesChatViewActive: boolean;
16
+ isNewGroupsChatViewActive: boolean;
16
17
  setActionsOpenForChannel: React.Dispatch<React.SetStateAction<ActionsForOpenChannel>>;
17
18
  setFilterValues: SetFilterValuesFn;
18
19
  switchToChannelDetailsView: SwitchViewFn;
19
20
  switchToChannelListView: SwitchViewFn;
20
21
  switchToChannelView: SwitchViewFn;
21
22
  switchToNewChatShortcutsView: SwitchViewFn;
22
- switchToNewChatView: SwitchViewFn;
23
+ switchToNewServicesChatView: SwitchViewFn;
24
+ switchToNewGroupsChatView: SwitchViewFn;
23
25
  }
24
26
  interface ChatProviderProps {
25
27
  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;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,2BAA2B,EAAE,OAAO,CAAA;IACpC,yBAAyB,EAAE,OAAO,CAAA;IAClC,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,2BAA2B,EAAE,YAAY,CAAA;IACzC,yBAAyB,EAAE,YAAY,CAAA;CACxC;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 +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"}
@@ -0,0 +1,6 @@
1
+ export declare const customReactionOptions: {
2
+ Component: () => JSX.Element;
3
+ name: string;
4
+ type: string;
5
+ }[];
6
+ //# sourceMappingURL=custom_reaction_options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom_reaction_options.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/custom_reaction_options.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;GA0BjC,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const emojiSearchIndex: {
2
+ search: (value: any, { maxResults, caller }?: {
3
+ maxResults: any;
4
+ caller: any;
5
+ }) => Promise<any>;
6
+ _get2: (emojiId: any) => any;
7
+ reset: () => void;
8
+ SHORTCODES_REGEX: RegExp;
9
+ };
10
+ //# sourceMappingURL=emoji_data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emoji_data.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/emoji_data.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;CAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"message_input.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/message_input.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,YAAY,mBA8FxB,CAAA"}
1
+ {"version":3,"file":"message_input.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/message_input.tsx"],"names":[],"mappings":"AAuBA,eAAO,MAAM,YAAY,mBA4FxB,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;iBA+ChE,CAAA"}
@@ -0,0 +1,10 @@
1
+ export type Group = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export declare function useMyGroups(shouldFetchData: boolean): {
6
+ loading: boolean;
7
+ error: boolean;
8
+ groups: Group[];
9
+ };
10
+ //# 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":"AAGA,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAgB,WAAW,CAAC,eAAe,EAAE,OAAO,GAAG;IACrD,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,KAAK,EAAE,CAAA;CAChB,CAkBA"}
@@ -2,5 +2,6 @@ export { ChannelDetailsView } from "./channel_details_view";
2
2
  export { ChannelListView } from "./channel_list_view";
3
3
  export { ChannelView } from "./channel_view";
4
4
  export { NewChatShortcutsView } from "./new_chat_shortcuts_view";
5
- export { NewChatView } from "./new_chat_view";
5
+ export { NewServicesChatView } from "./new_services_chat_view";
6
+ export { NewGroupsChatView } from "./new_groups_chat_view";
6
7
  //# 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,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,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare const NewChatViewFooter: ({ text, buttonDisabled, showSpinner, onButtonClick, }: {
2
+ text: string;
3
+ buttonDisabled: boolean;
4
+ showSpinner: boolean;
5
+ onButtonClick: () => void;
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;UAMtB,MAAM;oBACI,OAAO;iBACV,OAAO;mBACL,MAAM,IAAI;iBAsB1B,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 { NewChatViewHeader } from "./header";
2
+ export { NewChatViewFooter } from "./footer";
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":"AAaA,eAAO,MAAM,iBAAiB,mBAmD7B,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":"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,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"}
@@ -6,8 +6,15 @@ 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 {
10
16
  Services: ServicesFilterValues;
17
+ Groups?: GroupsFilterValues;
11
18
  }
12
19
  export type FilterUpdateFn<T> = (prevState: T) => T;
13
20
  export type SetFilterValuesFn = <K extends keyof FilterValues>(args: SetFilterValuesArgs<K>) => void;
@@ -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,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,MAAM,CAAC,EAAE,kBAAkB,CAAA;CAE5B;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 +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;AA2I3D,QAAA,MAAM,IAAI,EAAE,WAOX,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -1,3 +1,34 @@
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
+ };
3
34
  //# 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":"AAGA,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"}
@@ -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
@@ -14,6 +14,9 @@
14
14
  "module": "./dist/topbar.module.js",
15
15
  "style": "./dist/topbar.css",
16
16
  "dependencies": {
17
+ "@churchcenter/datetime-fmt": "^1.3.2",
18
+ "@emoji-mart/data": "^1.2.1",
19
+ "@emoji-mart/react": "^1.1.1",
17
20
  "@emotion/cache": "^11.10.5",
18
21
  "@emotion/react": "^11.10.5",
19
22
  "@planningcenter/datetime-fmt": "^1.3.6",
@@ -21,6 +24,7 @@
21
24
  "@planningcenter/jolt-client": "^2.1.0",
22
25
  "@planningcenter/url": "^2.7.0",
23
26
  "algoliasearch": "^4.20.0",
27
+ "emoji-mart": "^5.6.0",
24
28
  "instantsearch.js": "^4.57.0",
25
29
  "nanoid": "^4.0.2",
26
30
  "react-calendly": "^4.2.0",
@@ -31,7 +35,7 @@
31
35
  "react-instantsearch-dom": "^6.40.4",
32
36
  "react-transition-group": "^4.4.2",
33
37
  "stream-chat": "^8.36.0",
34
- "stream-chat-react": "~10.22.3",
38
+ "stream-chat-react": "^11.23.4",
35
39
  "tslint-config-prettier": "^1.18.0",
36
40
  "use-sync-external-store": "^1.2.0"
37
41
  },
@@ -78,7 +82,7 @@
78
82
  "webpack-cli": "^4.9.1",
79
83
  "webpack-dev-server": "^4.4.0"
80
84
  },
81
- "version": "9.14.0",
85
+ "version": "9.15.0-rc.0",
82
86
  "peerDependencies": {
83
87
  "@planningcenter/add-ons": "^5",
84
88
  "@planningcenter/tapestry-react": "^4",
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ReactionSelectorProps } from "stream-chat-react";
3
- export declare const CustomReactionSelector: React.ForwardRefExoticComponent<ReactionSelectorProps<import("stream-chat-react/dist/types/types").DefaultStreamChatGenerics> & React.RefAttributes<HTMLDivElement>>;
4
- //# sourceMappingURL=custom_reaction_selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom_reaction_selector.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/custom_reaction_selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAoB,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAI3E,eAAO,MAAM,sBAAsB,sKAelC,CAAA"}
@@ -1,3 +0,0 @@
1
- import { ReactionsListProps } from "stream-chat-react";
2
- export declare const CustomReactionsList: (props: ReactionsListProps) => JSX.Element;
3
- //# sourceMappingURL=custom_reactions_list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom_reactions_list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/custom_reactions_list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAIrE,eAAO,MAAM,mBAAmB,UAAW,kBAAkB,gBAI5D,CAAA"}
@@ -1,3 +0,0 @@
1
- export { useEmojis } from './use_emojis';
2
- export { useReactions } from './use_reactions';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/channel_view/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA"}
@@ -1,4 +0,0 @@
1
- type Emoji = Record<string, any>;
2
- export declare const useEmojis: (names: string[]) => Emoji[];
3
- export {};
4
- //# sourceMappingURL=use_emojis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_emojis.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/channel_view/hooks/use_emojis.ts"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAEhC,eAAO,MAAM,SAAS,UAAW,MAAM,EAAE,KAAG,KAAK,EAiBhD,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const useReactions: () => {
2
- [x: string]: any;
3
- }[];
4
- //# sourceMappingURL=use_reactions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use_reactions.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/channel_view/hooks/use_reactions.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;GAA8B,CAAA"}
@@ -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"}