@planningcenter/topbar 7.2.0 → 7.3.0-alpha.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 (124) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/dist/modules/components/NotificationsMenuBlankState.d.ts +12 -0
  3. package/dist/modules/components/apps_menu.d.ts +2 -6
  4. package/dist/modules/components/conditional_wrap.d.ts +1 -1
  5. package/dist/modules/components/notifications_inbox.d.ts +18 -0
  6. package/dist/modules/components/notifications_menu.d.ts +1 -3
  7. package/dist/modules/components/{notifications_menu_wrapper.d.ts → notifications_menu_Wrapper.d.ts} +0 -0
  8. package/dist/modules/components/notifications_menu_blank_state.d.ts +1 -1
  9. package/dist/modules/components/outsider.d.ts +1 -1
  10. package/dist/modules/dummy_data.d.ts +3 -0
  11. package/dist/modules/formatters.d.ts +1 -13
  12. package/dist/modules/hooks/use_local_storage.d.ts +10 -0
  13. package/dist/modules/hooks/use_notifications.d.ts +2 -1
  14. package/dist/modules/hooks/use_topbar_api.d.ts +8 -0
  15. package/dist/modules/topbar_context.d.ts +5 -0
  16. package/dist/topbar +2 -0
  17. package/dist/topbar.js +1 -1
  18. package/dist/topbar.js.map +1 -1
  19. package/dist/topbar.map +1 -0
  20. package/dist/topbar.modern.js +1 -1
  21. package/dist/topbar.modern.js.map +1 -1
  22. package/dist/topbar.module.js +1 -1
  23. package/dist/topbar.module.js.map +1 -1
  24. package/dist/topbar.umd.js +1 -1
  25. package/dist/topbar.umd.js.map +1 -1
  26. package/dist/types/index.d.ts +11 -0
  27. package/dist/types/index.d.ts.map +1 -0
  28. package/dist/types/modules/api_request.d.ts +24 -0
  29. package/dist/types/modules/api_request.d.ts.map +1 -0
  30. package/dist/types/modules/apps_provider.d.ts +13 -0
  31. package/dist/types/modules/apps_provider.d.ts.map +1 -0
  32. package/dist/types/modules/avatar.d.ts +8 -0
  33. package/dist/types/modules/avatar.d.ts.map +1 -0
  34. package/dist/types/modules/client_storage.d.ts +13 -0
  35. package/dist/types/modules/client_storage.d.ts.map +1 -0
  36. package/dist/types/modules/color_app_icon.d.ts +6 -0
  37. package/dist/types/modules/color_app_icon.d.ts.map +1 -0
  38. package/dist/types/modules/color_app_squircles.d.ts +15 -0
  39. package/dist/types/modules/color_app_squircles.d.ts.map +1 -0
  40. package/dist/types/modules/colors.d.ts +47 -0
  41. package/dist/types/modules/colors.d.ts.map +1 -0
  42. package/dist/types/modules/components/apps_button.d.ts +11 -0
  43. package/dist/types/modules/components/apps_button.d.ts.map +1 -0
  44. package/dist/types/modules/components/apps_menu.d.ts +12 -0
  45. package/dist/types/modules/components/apps_menu.d.ts.map +1 -0
  46. package/dist/types/modules/components/conditional_wrap.d.ts +8 -0
  47. package/dist/types/modules/components/conditional_wrap.d.ts.map +1 -0
  48. package/dist/types/modules/components/eyebrow.d.ts +7 -0
  49. package/dist/types/modules/components/eyebrow.d.ts.map +1 -0
  50. package/dist/types/modules/components/hoverable.d.ts +12 -0
  51. package/dist/types/modules/components/hoverable.d.ts.map +1 -0
  52. package/dist/types/modules/components/hoverable_list_item.d.ts +10 -0
  53. package/dist/types/modules/components/hoverable_list_item.d.ts.map +1 -0
  54. package/dist/types/modules/components/notification_bell.d.ts +7 -0
  55. package/dist/types/modules/components/notification_bell.d.ts.map +1 -0
  56. package/dist/types/modules/components/notification_item.d.ts +12 -0
  57. package/dist/types/modules/components/notification_item.d.ts.map +1 -0
  58. package/dist/types/modules/components/notifications_menu.d.ts +18 -0
  59. package/dist/types/modules/components/notifications_menu.d.ts.map +1 -0
  60. package/dist/types/modules/components/notifications_menu_blank_state.d.ts +9 -0
  61. package/dist/types/modules/components/notifications_menu_blank_state.d.ts.map +1 -0
  62. package/dist/types/modules/components/notifications_menu_wrapper.d.ts +8 -0
  63. package/dist/types/modules/components/notifications_menu_wrapper.d.ts.map +1 -0
  64. package/dist/types/modules/components/outsider.d.ts +14 -0
  65. package/dist/types/modules/components/outsider.d.ts.map +1 -0
  66. package/dist/types/modules/components/popover_root.d.ts +7 -0
  67. package/dist/types/modules/components/popover_root.d.ts.map +1 -0
  68. package/dist/types/modules/components/popup.d.ts +10 -0
  69. package/dist/types/modules/components/popup.d.ts.map +1 -0
  70. package/dist/types/modules/components/popup_root.d.ts +7 -0
  71. package/dist/types/modules/components/popup_root.d.ts.map +1 -0
  72. package/dist/types/modules/components/spinner.d.ts +5 -0
  73. package/dist/types/modules/components/spinner.d.ts.map +1 -0
  74. package/dist/types/modules/connected_people_provider.d.ts +22 -0
  75. package/dist/types/modules/connected_people_provider.d.ts.map +1 -0
  76. package/dist/types/modules/display_switch.d.ts +27 -0
  77. package/dist/types/modules/display_switch.d.ts.map +1 -0
  78. package/dist/types/modules/formatters.d.ts +4 -0
  79. package/dist/types/modules/formatters.d.ts.map +1 -0
  80. package/dist/types/modules/get_apps_switch_product_path.d.ts +2 -0
  81. package/dist/types/modules/get_apps_switch_product_path.d.ts.map +1 -0
  82. package/dist/types/modules/hooks/use_hover.d.ts +4 -0
  83. package/dist/types/modules/hooks/use_hover.d.ts.map +1 -0
  84. package/dist/types/modules/hooks/use_local_storage.d.ts +8 -0
  85. package/dist/types/modules/hooks/use_local_storage.d.ts.map +1 -0
  86. package/dist/types/modules/hooks/use_notifications.d.ts +17 -0
  87. package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -0
  88. package/dist/types/modules/hooks/use_topbar_api.d.ts +9 -0
  89. package/dist/types/modules/hooks/use_topbar_api.d.ts.map +1 -0
  90. package/dist/types/modules/interfaces.d.ts +55 -0
  91. package/dist/types/modules/interfaces.d.ts.map +1 -0
  92. package/dist/types/modules/medium_topbar.d.ts +39 -0
  93. package/dist/types/modules/medium_topbar.d.ts.map +1 -0
  94. package/dist/types/modules/mono_app_icon.d.ts +8 -0
  95. package/dist/types/modules/mono_app_icon.d.ts.map +1 -0
  96. package/dist/types/modules/mono_app_name.d.ts +7 -0
  97. package/dist/types/modules/mono_app_name.d.ts.map +1 -0
  98. package/dist/types/modules/mono_app_symbols.d.ts +44 -0
  99. package/dist/types/modules/mono_app_symbols.d.ts.map +1 -0
  100. package/dist/types/modules/mono_app_text.d.ts +54 -0
  101. package/dist/types/modules/mono_app_text.d.ts.map +1 -0
  102. package/dist/types/modules/not_small_topbar.d.ts +45 -0
  103. package/dist/types/modules/not_small_topbar.d.ts.map +1 -0
  104. package/dist/types/modules/platform_announcements.d.ts +32 -0
  105. package/dist/types/modules/platform_announcements.d.ts.map +1 -0
  106. package/dist/types/modules/product_announcement.d.ts +20 -0
  107. package/dist/types/modules/product_announcement.d.ts.map +1 -0
  108. package/dist/types/modules/profile_container.d.ts +10 -0
  109. package/dist/types/modules/profile_container.d.ts.map +1 -0
  110. package/dist/types/modules/small_topbar.d.ts +42 -0
  111. package/dist/types/modules/small_topbar.d.ts.map +1 -0
  112. package/dist/types/modules/styled_root.d.ts +7 -0
  113. package/dist/types/modules/styled_root.d.ts.map +1 -0
  114. package/dist/types/modules/styles.d.ts +10 -0
  115. package/dist/types/modules/styles.d.ts.map +1 -0
  116. package/dist/types/modules/symbols.d.ts +33 -0
  117. package/dist/types/modules/symbols.d.ts.map +1 -0
  118. package/dist/types/modules/topbar_context.d.ts +6 -0
  119. package/dist/types/modules/topbar_context.d.ts.map +1 -0
  120. package/dist/types/modules/unbutton.d.ts +12 -0
  121. package/dist/types/modules/unbutton.d.ts.map +1 -0
  122. package/dist/types/modules/utils.d.ts +2 -0
  123. package/dist/types/modules/utils.d.ts.map +1 -0
  124. package/package.json +29 -20
@@ -0,0 +1,11 @@
1
+ export { railsCsrfFetch } from "./modules/api_request";
2
+ export { AppsProvider, mapApps, mapResourcesToCalendar, } from "./modules/apps_provider";
3
+ export { ConnectedPeopleProvider } from "./modules/connected_people_provider";
4
+ export { DisplaySwitch } from "./modules/display_switch";
5
+ export { Route as MediumRoute, Topbar as MediumTopbar, } from "./modules/medium_topbar";
6
+ export { Route as NotSmallRoute, Topbar as NotSmallTopbar, } from "./modules/not_small_topbar";
7
+ export { default as PlatformAnnouncements, StyleProvider as PlatformAnnouncementsStyleProvider, StyledAnnouncement as StyledPlatformAnnouncement, } from "./modules/platform_announcements";
8
+ export { ProductAnnouncement, StyleProvider as ProductAnnouncementStyleProvider, StyledAnnouncement as StyledProductAnnouncement, StyledDismissButton as StyledProductAnnouncementDimissButton, } from "./modules/product_announcement";
9
+ export { Route as SmallRoute, Topbar as SmallTopbar, } from "./modules/small_topbar";
10
+ export { Bell as BellIcon, Spyglass as SpyglassIcon, X as XIcon, } from "./modules/symbols";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EACL,YAAY,EACZ,OAAO,EACP,sBAAsB,GACvB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EACL,KAAK,IAAI,WAAW,EACpB,MAAM,IAAI,YAAY,GACvB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,MAAM,IAAI,cAAc,GACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,OAAO,IAAI,qBAAqB,EAChC,aAAa,IAAI,kCAAkC,EACnD,kBAAkB,IAAI,0BAA0B,GACjD,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,mBAAmB,EACnB,aAAa,IAAI,gCAAgC,EACjD,kBAAkB,IAAI,yBAAyB,EAC/C,mBAAmB,IAAI,qCAAqC,GAC7D,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,IAAI,UAAU,EACnB,MAAM,IAAI,WAAW,GACtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,IAAI,IAAI,QAAQ,EAChB,QAAQ,IAAI,YAAY,EACxB,CAAC,IAAI,KAAK,GACX,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { Environment } from "@planningcenter/url";
2
+ declare global {
3
+ interface Window {
4
+ railsEnv?: Environment;
5
+ currentPerson?: {
6
+ id: number;
7
+ };
8
+ Rails?: {
9
+ csrfToken: () => string;
10
+ };
11
+ }
12
+ }
13
+ export declare type Fetch = typeof fetch;
14
+ export declare const defaultFetch: Fetch;
15
+ export declare const railsCsrfFetch: Fetch;
16
+ export default function apiRequest(fetch: Fetch, url: string, { method, data }?: {
17
+ method?: string;
18
+ data?: any;
19
+ }): Promise<{
20
+ response: Response;
21
+ json: any;
22
+ ok: boolean;
23
+ }>;
24
+ //# sourceMappingURL=api_request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_request.d.ts","sourceRoot":"","sources":["../../../modules/api_request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,QAAQ,CAAC,EAAE,WAAW,CAAA;QACtB,aAAa,CAAC,EAAE;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE,CAAA;QAC9B,KAAK,CAAC,EAAE;YACN,SAAS,EAAE,MAAM,MAAM,CAAA;SACxB,CAAA;KACF;CACF;AAED,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAA;AAEhC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAA;AAYD,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,MAAc,EAAE,IAAW,EAAE;;;CAAK,GACnC,OAAO,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,GAAG,CAAC;IAAC,EAAE,EAAE,OAAO,CAAA;CAAE,CAAC,CA0BzD"}
@@ -0,0 +1,13 @@
1
+ import * as PCO_URL from "@planningcenter/url";
2
+ import * as React from "react";
3
+ import { Fetch } from "./api_request";
4
+ import { App, TopbarAPIResponse } from "./interfaces";
5
+ export declare const AppsProvider: ({ configuredFetch, env, formatter, render, }: {
6
+ env: PCO_URL.Environment;
7
+ formatter?: any;
8
+ configuredFetch?: Fetch;
9
+ render: (apps: object[], callback: any) => React.ReactElement<any>;
10
+ }) => JSX.Element;
11
+ export declare function mapResourcesToCalendar(resp: TopbarAPIResponse): App[];
12
+ export declare function mapApps(resp: TopbarAPIResponse): App[];
13
+ //# sourceMappingURL=apps_provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps_provider.d.ts","sourceRoot":"","sources":["../../../modules/apps_provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAA;AAEnD,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGrD,eAAO,MAAM,YAAY;SAMlB,QAAQ,WAAW;gBACZ,GAAG;sBACG,KAAK;mBACR,MAAM,EAAE,YAAY,GAAG,KAAK,MAAM,YAAY,CAAC,GAAG,CAAC;iBAqBnE,CAAA;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,iBAAiB,SAW7D;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,iBAAiB,SAE9C"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import * as PCO_URL from "@planningcenter/url";
3
+ export declare function Avatar({ env, url: incomingUrl, style, ...nativeProps }: {
4
+ env: PCO_URL.Environment;
5
+ url?: string;
6
+ style?: object;
7
+ }): JSX.Element;
8
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../modules/avatar.tsx"],"names":[],"mappings":";AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAGtD,wBAAgB,MAAM,CAAC,EACrB,GAAG,EACH,GAAG,EAAE,WAAgB,EACrB,KAAK,EACL,GAAG,WAAW,EACf,EAAE;IACD,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,OAAO,CAoBd"}
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ export declare class ClientStorage extends React.Component<{
3
+ item: string;
4
+ method?: "localStorage" | "sessionStorage";
5
+ render: (apps: any, other: any) => React.ReactElement<any>;
6
+ }, {}> {
7
+ static defaultProps: {
8
+ method: string;
9
+ };
10
+ update(value: any): void;
11
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
+ }
13
+ //# sourceMappingURL=client_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client_storage.d.ts","sourceRoot":"","sources":["../../../modules/client_storage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAChD;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAA;IAC1C,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CAC3D,EACD,EAAE,CACH;IACC,OAAc,YAAY;;MAEzB;IAED,MAAM,CAAC,KAAK,KAAA;IAKZ,MAAM;CAOP"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare function ColorAppIcon({ appName, size, }: {
3
+ appName: string;
4
+ size?: number;
5
+ }): JSX.Element;
6
+ //# sourceMappingURL=color_app_icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color_app_icon.d.ts","sourceRoot":"","sources":["../../../modules/color_app_icon.tsx"],"names":[],"mappings":";AAKA,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,IAAS,GACV,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,GAAG,CAAC,OAAO,CAqBd"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export declare function Accounts(): JSX.Element[];
3
+ export declare function API(): JSX.Element[];
4
+ export declare function Calendar(): JSX.Element[];
5
+ export declare function CheckIns(): JSX.Element[];
6
+ export declare function ChurchCenter(): JSX.Element[];
7
+ export declare function Giving(): JSX.Element[];
8
+ export declare function Groups(): JSX.Element[];
9
+ export declare function Home(): JSX.Element[];
10
+ export declare function People(): JSX.Element[];
11
+ export declare function Publishing(): JSX.Element[];
12
+ export declare function Registrations(): JSX.Element[];
13
+ export declare function Resources(): JSX.Element[];
14
+ export declare function Services(): JSX.Element[];
15
+ //# sourceMappingURL=color_app_squircles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color_app_squircles.d.ts","sourceRoot":"","sources":["../../../modules/color_app_squircles.tsx"],"names":[],"mappings":";AAGA,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBnC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,YAAY,IAAI,GAAG,CAAC,OAAO,EAAE,CAsB5C;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBpC;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,UAAU,IAAI,GAAG,CAAC,OAAO,EAAE,CAuC1C;AAED,wBAAgB,aAAa,IAAI,GAAG,CAAC,OAAO,EAAE,CAsB7C;AAED,wBAAgB,SAAS,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBzC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC"}
@@ -0,0 +1,47 @@
1
+ declare const colors: {
2
+ danger43: string;
3
+ danger45: string;
4
+ danger47: string;
5
+ danger93: string;
6
+ danger97: string;
7
+ darkNeutral07: string;
8
+ darkNeutral12: string;
9
+ darkNeutral15: string;
10
+ darkNeutral17: string;
11
+ darkNeutral19: string;
12
+ darkNeutral24: string;
13
+ darkNeutral32: string;
14
+ darkNeutral50: string;
15
+ darkNeutral68: string;
16
+ darkNeutral88: string;
17
+ darkNeutral98: string;
18
+ interaction45: string;
19
+ interaction50: string;
20
+ interaction55: string;
21
+ interaction66: string;
22
+ interaction91: string;
23
+ interaction93: string;
24
+ lightNeutral100: string;
25
+ lightNeutral12: string;
26
+ lightNeutral24: string;
27
+ lightNeutral45: string;
28
+ lightNeutral62: string;
29
+ lightNeutral81: string;
30
+ lightNeutral88: string;
31
+ lightNeutral93: string;
32
+ lightNeutral95: string;
33
+ lightNeutral97: string;
34
+ lightNeutral98: string;
35
+ success23: string;
36
+ success25: string;
37
+ success27: string;
38
+ success91: string;
39
+ success97: string;
40
+ warning49: string;
41
+ warning55: string;
42
+ warning63: string;
43
+ warning94: string;
44
+ warning97: string;
45
+ };
46
+ export default colors;
47
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../modules/colors.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CX,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const AppsButton: ({ appName, colors, displayIconOnly, expanded, onClick, style, ...nativeProps }: {
3
+ appName: string;
4
+ colors: any;
5
+ displayIconOnly?: boolean;
6
+ expanded: boolean;
7
+ onClick: any;
8
+ style?: object;
9
+ }) => JSX.Element;
10
+ export default AppsButton;
11
+ //# sourceMappingURL=apps_button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps_button.d.ts","sourceRoot":"","sources":["../../../../modules/components/apps_button.tsx"],"names":[],"mappings":";AAQA,QAAA,MAAM,UAAU;aASL,MAAM;YACP,GAAG;sBACO,OAAO;cACf,OAAO;aACR,GAAG;YACJ,MAAM;iBAuDf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import * as PCO_URL from "@planningcenter/url";
3
+ import { App } from "../interfaces";
4
+ declare const AppsMenu: ({ appName, apps, env, toggle, visible, }: {
5
+ appName: string;
6
+ apps: App[];
7
+ env: PCO_URL.Environment;
8
+ toggle: any;
9
+ visible: boolean;
10
+ }) => JSX.Element;
11
+ export default AppsMenu;
12
+ //# sourceMappingURL=apps_menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps_menu.d.ts","sourceRoot":"","sources":["../../../../modules/components/apps_menu.tsx"],"names":[],"mappings":";AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAKtD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AASnC,QAAA,MAAM,QAAQ;aAOH,MAAM;UACT,GAAG,EAAE;SACN,QAAQ,WAAW;YAChB,GAAG;aACF,OAAO;iBA+HjB,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const ConditionalWrap: ({ children, condition, wrap, }: {
3
+ children: React.ReactNode;
4
+ condition?: boolean;
5
+ wrap: any;
6
+ }) => any;
7
+ export default ConditionalWrap;
8
+ //# sourceMappingURL=conditional_wrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conditional_wrap.d.ts","sourceRoot":"","sources":["../../../../modules/components/conditional_wrap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,eAAe;cAKT,MAAM,SAAS;gBACb,OAAO;UACb,GAAG;SACkC,CAAA;AAE7C,eAAe,eAAe,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ declare const Eyebrow: ({ style, ...props }: {
3
+ children?: React.ReactNode;
4
+ style?: object;
5
+ }) => JSX.Element;
6
+ export default Eyebrow;
7
+ //# sourceMappingURL=eyebrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eyebrow.d.ts","sourceRoot":"","sources":["../../../../modules/components/eyebrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,OAAO;eAIA,MAAM,SAAS;YAClB,MAAM;iBAYf,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ declare const Hoverable: ({ active, component: C, hover, style, ...nativeProps }: {
3
+ active?: any;
4
+ children?: React.ReactNode;
5
+ component?: any;
6
+ hover?: any;
7
+ onClick?: any;
8
+ style?: object;
9
+ type?: string;
10
+ }) => JSX.Element;
11
+ export default Hoverable;
12
+ //# sourceMappingURL=hoverable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hoverable.d.ts","sourceRoot":"","sources":["../../../../modules/components/hoverable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,SAAS;aAOJ,GAAG;eACD,MAAM,SAAS;gBACd,GAAG;YACP,GAAG;cACD,GAAG;YACL,MAAM;WACP,MAAM;iBAoBd,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ declare const HoverableListItem: ({ component: C, style, ...nativeProps }: {
3
+ children?: React.ReactNode;
4
+ component?: any;
5
+ href?: string;
6
+ onClick?: any;
7
+ style?: object;
8
+ }) => JSX.Element;
9
+ export default HoverableListItem;
10
+ //# sourceMappingURL=hoverable_list_item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hoverable_list_item.d.ts","sourceRoot":"","sources":["../../../../modules/components/hoverable_list_item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,iBAAiB;eAKV,MAAM,SAAS;gBACd,GAAG;WACR,MAAM;cACH,GAAG;YACL,MAAM;iBAcf,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const NotificationBell: ({ indicatorVisible, style, ...props }: {
3
+ indicatorVisible?: boolean;
4
+ style?: object;
5
+ }) => JSX.Element;
6
+ export default NotificationBell;
7
+ //# sourceMappingURL=notification_bell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification_bell.d.ts","sourceRoot":"","sources":["../../../../modules/components/notification_bell.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,gBAAgB;uBAKD,OAAO;YAClB,MAAM;iBAOf,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Notification } from "../interfaces";
3
+ declare const NotificationItem: ({ mobile, isLast, onMarkAsRead, onToggleRead, showBottomBorder, notification, }: {
4
+ mobile?: boolean;
5
+ isLast?: boolean;
6
+ onMarkAsRead?: (notification: Notification) => any;
7
+ onToggleRead: any;
8
+ showBottomBorder?: boolean;
9
+ notification: Notification;
10
+ }) => JSX.Element;
11
+ export default NotificationItem;
12
+ //# sourceMappingURL=notification_item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification_item.d.ts","sourceRoot":"","sources":["../../../../modules/components/notification_item.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AA2C5C,QAAA,MAAM,gBAAgB;aAQX,OAAO;aACP,OAAO;kCACc,YAAY,KAAK,GAAG;kBACpC,GAAG;uBACE,OAAO;kBACZ,YAAY;iBAoG3B,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { Notification } from "../interfaces";
3
+ declare const NotificationsMenu: ({ handleMarkAllAsRead, handleMarkAsRead, handleToggleRead, hasError, isLoading, mobile, notifications: { read, unread }, toggle, visible, }: {
4
+ handleMarkAllAsRead: () => any;
5
+ handleMarkAsRead: (notification: Notification) => any;
6
+ handleToggleRead: (notification: Notification) => any;
7
+ hasError?: boolean;
8
+ isLoading?: boolean;
9
+ mobile?: boolean;
10
+ notifications: {
11
+ read: Notification[];
12
+ unread: Notification[];
13
+ };
14
+ toggle?: any;
15
+ visible?: boolean;
16
+ }) => JSX.Element;
17
+ export default NotificationsMenu;
18
+ //# sourceMappingURL=notifications_menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications_menu.d.ts","sourceRoot":"","sources":["../../../../modules/components/notifications_menu.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAkH5C,QAAA,MAAM,iBAAiB;yBAWA,MAAM,GAAG;qCACG,YAAY,KAAK,GAAG;qCACpB,YAAY,KAAK,GAAG;eAC1C,OAAO;gBACN,OAAO;aACV,OAAO;;cACO,YAAY,EAAE;gBAAU,YAAY,EAAE;;aACpD,GAAG;cACF,OAAO;iBAoIlB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const NotificationsMenuBlankState: ({ dark, description, style, title, }: {
3
+ dark?: boolean;
4
+ description: string;
5
+ style?: object;
6
+ title?: string;
7
+ }) => JSX.Element;
8
+ export default NotificationsMenuBlankState;
9
+ //# sourceMappingURL=notifications_menu_blank_state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications_menu_blank_state.d.ts","sourceRoot":"","sources":["../../../../modules/components/notifications_menu_blank_state.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,2BAA2B;WAMxB,OAAO;iBACD,MAAM;YACX,MAAM;YACN,MAAM;iBAmCf,CAAA;AAED,eAAe,2BAA2B,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const NotificationsMenuWrapper: ({ children, toggle, visible, ...nativeProps }: {
3
+ children: React.ReactNode;
4
+ toggle: any;
5
+ visible: boolean;
6
+ }) => JSX.Element;
7
+ export default NotificationsMenuWrapper;
8
+ //# sourceMappingURL=notifications_menu_wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications_menu_wrapper.d.ts","sourceRoot":"","sources":["../../../../modules/components/notifications_menu_wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,QAAA,MAAM,wBAAwB;cAMlB,MAAM,SAAS;YACjB,GAAG;aACF,OAAO;iBA0BjB,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ export default class Outsider extends React.Component<{
3
+ cleanup: boolean;
4
+ component: any;
5
+ onOutsideClick: any;
6
+ visible: boolean;
7
+ }, {}> {
8
+ private container;
9
+ constructor(props: any);
10
+ componentWillUnmount(): void;
11
+ handleOutsideClick(e: any): any;
12
+ render(): JSX.Element;
13
+ }
14
+ //# sourceMappingURL=outsider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outsider.d.ts","sourceRoot":"","sources":["../../../../modules/components/outsider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,SAAS,CACnD;IACE,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,GAAG,CAAA;IACd,cAAc,EAAE,GAAG,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB,EACD,EAAE,CACH;IACC,OAAO,CAAC,SAAS,CAAa;gBAElB,KAAK,EAAE,GAAG;IAKtB,oBAAoB;IAIpB,kBAAkB,CAAC,CAAC,KAAA;IASpB,MAAM;CAWP"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ declare const PopupRoot: ({ style, ...nativeProps }: {
3
+ children?: React.ReactNode;
4
+ style?: object;
5
+ }) => JSX.Element;
6
+ export default PopupRoot;
7
+ //# sourceMappingURL=popover_root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover_root.d.ts","sourceRoot":"","sources":["../../../../modules/components/popover_root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,SAAS;eAIF,MAAM,SAAS;YAClB,MAAM;iBAWf,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ declare const Popup: ({ component: C, style, ...nativeProps }: {
3
+ children?: React.ReactNode;
4
+ component?: any;
5
+ style?: object;
6
+ onOutsideClick?: any;
7
+ cleanup?: any;
8
+ }) => JSX.Element;
9
+ export default Popup;
10
+ //# sourceMappingURL=popup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../../../modules/components/popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,KAAK;eAKE,MAAM,SAAS;gBACd,GAAG;YACP,MAAM;qBACG,GAAG;cACV,GAAG;iBAad,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ declare const PopupRoot: ({ style, ...nativeProps }: {
3
+ children?: React.ReactNode;
4
+ style?: object;
5
+ }) => JSX.Element;
6
+ export default PopupRoot;
7
+ //# sourceMappingURL=popup_root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popup_root.d.ts","sourceRoot":"","sources":["../../../../modules/components/popup_root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,SAAS;eAIF,MAAM,SAAS;YAClB,MAAM;iBAWf,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import "./spinner.css";
3
+ declare const Spinner: (props: any) => JSX.Element;
4
+ export default Spinner;
5
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../../modules/components/spinner.tsx"],"names":[],"mappings":";AAAA,OAAO,eAAe,CAAA;AAItB,QAAA,MAAM,OAAO,6BAAoD,CAAA;AAEjE,eAAe,OAAO,CAAA"}
@@ -0,0 +1,22 @@
1
+ import * as PCO_URL from "@planningcenter/url";
2
+ import * as React from "react";
3
+ import { Fetch } from "./api_request";
4
+ export declare class ConnectedPeopleProvider extends React.Component<{
5
+ env: PCO_URL.Environment;
6
+ configuredFetch?: Fetch;
7
+ render: (connectedPeople: object[], callback: any) => React.ReactElement<any>;
8
+ }, {
9
+ connectedPeople: object[];
10
+ }> {
11
+ constructor(props: any);
12
+ static defaultProps: {
13
+ configuredFetch: typeof fetch;
14
+ };
15
+ fetch(): void;
16
+ remove(): void;
17
+ unlink(): void;
18
+ switch(toId: string, returnPath: string): void;
19
+ componentDidMount(): void;
20
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
21
+ }
22
+ //# sourceMappingURL=connected_people_provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connected_people_provider.d.ts","sourceRoot":"","sources":["../../../modules/connected_people_provider.tsx"],"names":[],"mappings":"AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAmB,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAA;AAE/D,qBAAa,uBAAwB,SAAQ,KAAK,CAAC,SAAS,CAC1D;IACE,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,eAAe,CAAC,EAAE,KAAK,CAAA;IACvB,MAAM,EAAE,CACN,eAAe,EAAE,MAAM,EAAE,EACzB,QAAQ,EAAE,GAAG,KACV,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CAC7B,EACD;IACE,eAAe,EAAE,MAAM,EAAE,CAAA;CAC1B,CACF;gBACa,KAAK,EAAE,GAAG;IAQtB,OAAc,YAAY;;MAEzB;IAED,KAAK;IAoBL,MAAM;IAIN,MAAM;IAYN,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAoBvC,iBAAiB;IAUjB,MAAM;CAQP"}
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ export declare class PointBreak extends React.Component<{
3
+ render: (breakpoint: string) => React.ReactElement<any>;
4
+ }, {
5
+ width: number;
6
+ }> {
7
+ constructor(props: any);
8
+ setWindowWidth(): void;
9
+ componentDidMount(): void;
10
+ componentWillUnmount(): void;
11
+ breakpointString(width: any): "xs" | "sm" | "md" | "lg" | "xl";
12
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
13
+ }
14
+ export declare class DisplaySwitch extends React.Component<{
15
+ smallBreakpoints: String[];
16
+ mediumBreakpoints: String[];
17
+ smallTopbar: (breakpointShorthand: string) => React.ReactElement<any>;
18
+ mediumTopbar?: (breakpointShorthand: string) => React.ReactElement<any>;
19
+ notSmallTopbar: (breakpointShortand: string) => React.ReactElement<any>;
20
+ }, {}> {
21
+ static defaultProps: {
22
+ smallBreakpoints: string[];
23
+ mediumBreakpoints: string[];
24
+ };
25
+ render(): JSX.Element;
26
+ }
27
+ //# sourceMappingURL=display_switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display_switch.d.ts","sourceRoot":"","sources":["../../../modules/display_switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAsB9B,qBAAa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAC7C;IACE,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CACxD,EACD;IACE,KAAK,EAAE,MAAM,CAAA;CACd,CACF;gBACa,KAAK,EAAE,GAAG;IAUtB,cAAc;IAId,iBAAiB;IAIjB,oBAAoB;IAQpB,gBAAgB,CAAC,KAAK,KAAA;IAQtB,MAAM;CAGP;AAED,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAChD;IACE,gBAAgB,EAAE,MAAM,EAAE,CAAA;IAC1B,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,WAAW,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACrE,YAAY,CAAC,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACvE,cAAc,EAAE,CAAC,kBAAkB,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CACxE,EACD,EAAE,CACH;IACC,OAAc,YAAY;;;MAGzB;IAED,MAAM;CAgCP"}
@@ -0,0 +1,4 @@
1
+ import { App, ConnectedPerson } from "./interfaces";
2
+ export declare const appsMenuFormatter: (apps: App[]) => App[];
3
+ export declare const connectedPeopleMenuFormatter: (connectedPeople: ConnectedPerson[]) => ConnectedPerson[];
4
+ //# sourceMappingURL=formatters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../modules/formatters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAOnD,eAAO,MAAM,iBAAiB,SAAU,GAAG,EAAE,KAAG,GAAG,EAShD,CAAA;AAEH,eAAO,MAAM,4BAA4B,oBACtB,eAAe,EAAE,KACjC,eAAe,EAOb,CAAA"}
@@ -0,0 +1,2 @@
1
+ export default function getAppsSwitchProductPath(productName: string): string;
2
+ //# sourceMappingURL=get_apps_switch_product_path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_apps_switch_product_path.d.ts","sourceRoot":"","sources":["../../../modules/get_apps_switch_product_path.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAU5E"}
@@ -0,0 +1,4 @@
1
+ import { RefObject } from "react";
2
+ declare function useHover<T extends HTMLElement = HTMLElement>(elementRef: RefObject<T>): boolean;
3
+ export default useHover;
4
+ //# sourceMappingURL=use_hover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_hover.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_hover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAEtD,iBAAS,QAAQ,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACnD,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,GACvB,OAAO,CAoBT;AAED,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare function useLocalStorage(key: string, initialValue: any): {
3
+ storedValue: any;
4
+ setStoredValue: import("react").Dispatch<any>;
5
+ dropKey: () => void;
6
+ };
7
+ export default useLocalStorage;
8
+ //# sourceMappingURL=use_local_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_local_storage.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_local_storage.ts"],"names":[],"mappings":";AAGA,iBAAS,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG;;;;EA0BtD;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as PCO_URL from "@planningcenter/url";
2
+ import { Notification } from "../interfaces";
3
+ declare const useNotifications: ({ disabled, env, userId, }: {
4
+ disabled?: boolean;
5
+ env: PCO_URL.Environment;
6
+ userId: string;
7
+ }) => {
8
+ handleMarkAllAsRead: () => any;
9
+ handleMarkAsRead: (notification: Notification) => any;
10
+ handleToggleRead: (notification: Notification) => any;
11
+ hasError: boolean;
12
+ isLoading: boolean;
13
+ read: Notification[];
14
+ unread: Notification[];
15
+ };
16
+ export default useNotifications;
17
+ //# sourceMappingURL=use_notifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_notifications.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications.ts"],"names":[],"mappings":"AACA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAItD,OAAO,EAGL,YAAY,EACb,MAAM,eAAe,CAAA;AAsHtB,QAAA,MAAM,gBAAgB;eAKT,OAAO;SACb,QAAQ,WAAW;YAChB,MAAM;;yBAEO,MAAM,GAAG;qCACG,YAAY,KAAK,GAAG;qCACpB,YAAY,KAAK,GAAG;cAC3C,OAAO;eACN,OAAO;UACZ,YAAY,EAAE;YACZ,YAAY,EAAE;CAmNvB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import * as PCO_URL from "@planningcenter/url";
2
+ import { Fetch } from "../api_request";
3
+ import { TopbarAPIResponse } from "../interfaces";
4
+ declare const useTopbarAPI: ({ configuredFetch, env, }: {
5
+ configuredFetch: Fetch;
6
+ env: PCO_URL.Environment;
7
+ }) => TopbarAPIResponse;
8
+ export default useTopbarAPI;
9
+ //# sourceMappingURL=use_topbar_api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_topbar_api.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_topbar_api.ts"],"names":[],"mappings":"AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAGtD,OAAmB,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAGjD,QAAA,MAAM,YAAY;qBAIC,KAAK;SACjB,QAAQ,WAAW;uBAqBzB,CAAA;AAED,eAAe,YAAY,CAAA"}