@planningcenter/topbar 8.3.3-rc.3 → 8.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10 -0
- package/dist/modules/api_request.d.ts +18 -0
- package/dist/modules/apps_provider.d.ts +30 -0
- package/dist/modules/avatar.d.ts +7 -0
- package/dist/modules/client_storage.d.ts +12 -0
- package/dist/modules/color_app_icon.d.ts +5 -0
- package/dist/modules/color_app_squircles.d.ts +14 -0
- package/dist/modules/components/apps_menu.d.ts +15 -0
- package/dist/modules/components/hoverable_list_item.d.ts +9 -0
- package/dist/modules/components/outsider.d.ts +13 -0
- package/dist/modules/components/popover_root.d.ts +6 -0
- package/dist/modules/components/popup.d.ts +9 -0
- package/dist/modules/connected_people_provider.d.ts +21 -0
- package/dist/modules/display_switch.d.ts +26 -0
- package/dist/modules/formatters.d.ts +15 -0
- package/dist/modules/get_apps_switch_product_path.d.ts +1 -0
- package/dist/modules/medium_topbar.d.ts +46 -0
- package/dist/modules/mono_app_icon.d.ts +7 -0
- package/dist/modules/mono_app_name.d.ts +6 -0
- package/dist/modules/mono_app_symbols.d.ts +57 -0
- package/dist/modules/mono_app_text.d.ts +61 -0
- package/dist/modules/not_small_topbar.d.ts +91 -0
- package/dist/modules/platform_announcements.d.ts +31 -0
- package/dist/modules/product_announcement.d.ts +20 -0
- package/dist/modules/small_topbar.d.ts +48 -0
- package/dist/modules/styled_root.d.ts +6 -0
- package/dist/modules/styles.d.ts +9 -0
- package/dist/modules/symbols.d.ts +16 -0
- package/dist/modules/unbutton.d.ts +11 -0
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.css +2 -0
- package/dist/topbar.modern.css.map +1 -0
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.css +2 -0
- package/dist/topbar.module.css.map +1 -0
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/modules/medium_topbar.d.ts +39 -0
- package/dist/types/modules/medium_topbar.d.ts.map +1 -0
- package/dist/types/modules/not_small_topbar.d.ts.map +1 -1
- package/dist/types/modules/profile_container.d.ts +10 -0
- package/dist/types/modules/profile_container.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/small_topbar.d.ts.map +1 -1
- package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts +20 -0
- package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts.map +1 -0
- package/dist/types/modules/toolbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts +9 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_view.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/messages/components/channel_view.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/index.d.ts +6 -0
- package/dist/types/modules/toolbar/tools/messages/components/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/scroll_container.d.ts +9 -0
- package/dist/types/modules/toolbar/tools/messages/components/scroll_container.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/components/switch_view.d.ts +8 -0
- package/dist/types/modules/toolbar/tools/messages/components/switch_view.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts +3 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts +6 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/index.d.ts +5 -0
- package/dist/types/modules/toolbar/tools/messages/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts +12 -0
- package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/profile.d.ts +7 -0
- package/dist/types/modules/toolbar/tools/profile.d.ts.map +1 -0
- package/dist/types/modules/toolbar/useStore.d.ts +3 -0
- package/dist/types/modules/toolbar/useStore.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/types/modules/small_topbar/user_profile_menu.d.ts +0 -18
- package/dist/types/modules/small_topbar/user_profile_menu.d.ts.map +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as PCO_URL from "@planningcenter/url";
|
|
3
|
+
import { App } from "./interfaces";
|
|
4
|
+
declare const Topbar: {
|
|
5
|
+
(props: {
|
|
6
|
+
appName: string;
|
|
7
|
+
apps: App[];
|
|
8
|
+
colors: any;
|
|
9
|
+
connectedPeople: any;
|
|
10
|
+
env: PCO_URL.Environment;
|
|
11
|
+
linkToProfile?: boolean;
|
|
12
|
+
notifications?: any;
|
|
13
|
+
orgName: string;
|
|
14
|
+
requestAppsFetch: any;
|
|
15
|
+
requestClearAppsCache: any;
|
|
16
|
+
requestClearConnectedPeopleCache: any;
|
|
17
|
+
requestConnectedPeopleFetch: any;
|
|
18
|
+
requestSwitchConnectedPerson: any;
|
|
19
|
+
requestUnlinkConnectedPeople: any;
|
|
20
|
+
routes: any;
|
|
21
|
+
search?: any;
|
|
22
|
+
showOrgName?: boolean;
|
|
23
|
+
style?: any;
|
|
24
|
+
userAvatarPath: string;
|
|
25
|
+
userId: string;
|
|
26
|
+
userName: string;
|
|
27
|
+
}): JSX.Element;
|
|
28
|
+
defaultProps: {
|
|
29
|
+
currentRouteComponent: (props: any) => JSX.Element;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
declare const Route: ({ active, style, name, ...props }: {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
active: any;
|
|
35
|
+
style: any;
|
|
36
|
+
name?: string;
|
|
37
|
+
}) => JSX.Element;
|
|
38
|
+
export { Route, Topbar };
|
|
39
|
+
//# sourceMappingURL=medium_topbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"medium_topbar.d.ts","sourceRoot":"","sources":["../../../modules/medium_topbar.tsx"],"names":[],"mappings":";AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAYtD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAQlC,QAAA,MAAM,MAAM;YAAW;QACrB,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,GAAG,EAAE,CAAA;QACX,MAAM,EAAE,GAAG,CAAA;QACX,eAAe,EAAE,GAAG,CAAA;QAEpB,GAAG,EAAE,QAAQ,WAAW,CAAA;QACxB,aAAa,CAAC,EAAE,OAAO,CAAA;QACvB,aAAa,CAAC,EAAE,GAAG,CAAA;QACnB,OAAO,EAAE,MAAM,CAAA;QACf,gBAAgB,EAAE,GAAG,CAAA;QACrB,qBAAqB,EAAE,GAAG,CAAA;QAC1B,gCAAgC,EAAE,GAAG,CAAA;QACrC,2BAA2B,EAAE,GAAG,CAAA;QAChC,4BAA4B,EAAE,GAAG,CAAA;QACjC,4BAA4B,EAAE,GAAG,CAAA;QACjC,MAAM,EAAE,GAAG,CAAA;QACX,MAAM,CAAC,EAAE,GAAG,CAAA;QACZ,WAAW,CAAC,EAAE,OAAO,CAAA;QACrB,KAAK,CAAC,EAAE,GAAG,CAAA;QACX,cAAc,EAAE,MAAM,CAAA;QACtB,MAAM,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,CAAA;KACjB;;;;CAqYA,CAAA;AAMD,QAAA,MAAM,KAAK;;;;;iBAyBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/not_small_topbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAe9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAShD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;;
|
|
1
|
+
{"version":3,"file":"not_small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/not_small_topbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAe9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAShD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;;CAsd7D,CAAA;AAUD,QAAA,MAAM,KAAK;YAMD,OAAO;cACL,MAAM,SAAS;YACjB,GAAG;WACJ,MAAM;YACL,MAAM;iBA0Cf,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface ProfileContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
component: React.ReactNode;
|
|
4
|
+
href: string;
|
|
5
|
+
linkToProfile: boolean;
|
|
6
|
+
onLinkToProfileClick?: (clickEvent: any) => any;
|
|
7
|
+
}
|
|
8
|
+
declare const ProfileContainer: ({ component, href, linkToProfile, onLinkToProfileClick, ...nativeProps }: ProfileContainerProps) => JSX.Element;
|
|
9
|
+
export default ProfileContainer;
|
|
10
|
+
//# sourceMappingURL=profile_container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile_container.d.ts","sourceRoot":"","sources":["../../../modules/profile_container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,UAAU,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,CAAC,UAAU,KAAA,KAAK,GAAG,CAAA;CAC3C;AAED,QAAA,MAAM,gBAAgB,6EAMnB,qBAAqB,gBAUvB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAsCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAED,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CA+Y1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/small_topbar.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAqChD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;
|
|
1
|
+
{"version":3,"file":"small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/small_topbar.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAqChD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAED,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CA0nB1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare enum ActionType {
|
|
3
|
+
close = "close",
|
|
4
|
+
mount = "mount",
|
|
5
|
+
open = "open",
|
|
6
|
+
set = "set",
|
|
7
|
+
unmount = "unmount"
|
|
8
|
+
}
|
|
9
|
+
declare type ToolbarState = {
|
|
10
|
+
currentContent: any;
|
|
11
|
+
mounted: boolean;
|
|
12
|
+
open: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare type ToolbarDispatch = {
|
|
15
|
+
payload?: any;
|
|
16
|
+
type: ActionType;
|
|
17
|
+
};
|
|
18
|
+
declare const useToolbarReducer: () => [ToolbarState, React.Dispatch<ToolbarDispatch>];
|
|
19
|
+
export { ActionType, useToolbarReducer };
|
|
20
|
+
//# sourceMappingURL=use-toolbar-reducer.d.ts.map
|
|
@@ -0,0 +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,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,aAAK,YAAY,GAAG;IAClB,cAAc,EAAE,GAAG,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,aAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AA0BD,QAAA,MAAM,iBAAiB,uDAAgD,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAKzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAazD,aAAK,oBAAoB,GAAG,IAAI,CAC9B,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,GAAG,CAAC,EACxC,mBAAmB,GAAG,aAAa,CACpC,CAAA;AAED,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAExB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAKzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAazD,aAAK,oBAAoB,GAAG,IAAI,CAC9B,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,GAAG,CAAC,EACxC,mBAAmB,GAAG,aAAa,CACpC,CAAA;AAED,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAExB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAiK5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/index.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;iBAgB3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAkB,iBAAiB,EAAa,MAAM,OAAO,CAAA;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAQ7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBAuCvE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading_error_indicator.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,mBAOjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading_indicator.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,mBAI5B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const Preview: ({ Avatar, channel, displayTitle, latestMessage, setActiveChannel, unread, }: {
|
|
2
|
+
Avatar: any;
|
|
3
|
+
channel: any;
|
|
4
|
+
displayTitle: any;
|
|
5
|
+
latestMessage: any;
|
|
6
|
+
setActiveChannel: any;
|
|
7
|
+
unread: any;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
//# sourceMappingURL=preview.d.ts.map
|
package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AAuCA,eAAO,MAAM,OAAO;;;;;;;iBAiJnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channel_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/channel_view.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,mBAsCvB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ChannelListView } from "./channel_list_view";
|
|
2
|
+
export { ChannelView } from "./channel_view";
|
|
3
|
+
export { NewMessageView } from "./new_message_view";
|
|
4
|
+
export { ScrollContainer } from "./scroll_container";
|
|
5
|
+
export { SwitchView } from "./switch_view";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new_message_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/new_message_view.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,cAAc,mBA8E1B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StackViewProps } from "@planningcenter/tapestry-react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
type OmittedStackViewProps = Omit<StackViewProps, "innerRef" | "overflow" | "spacing">;
|
|
4
|
+
interface ScrollContainerProps extends OmittedStackViewProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const ScrollContainer: React.FC<ScrollContainerProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=scroll_container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll_container.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/scroll_container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/E,OAAO,KAAsC,MAAM,OAAO,CAAA;AAgB1D,KAAK,qBAAqB,GAAG,IAAI,CAC/B,cAAc,EACd,UAAU,GAAG,UAAU,GAAG,SAAS,CAGpC,CAAA;AAED,UAAU,oBAAqB,SAAQ,qBAAqB;IAC1D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwF1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/switch_view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuCzC,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_client.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/use_client.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;SA2BrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_messages.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/use_messages.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;CAMvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/messages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAMpB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AA+DzC,QAAA,MAAM,QAAQ,EAAE,WAOf,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
type MessagesContextValue = {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
interface MessagesProviderProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
value?: MessagesContextValue;
|
|
8
|
+
}
|
|
9
|
+
declare const MessagesContext: React.Context<MessagesContextValue>;
|
|
10
|
+
declare const MessagesProvider: React.FC<MessagesProviderProps>;
|
|
11
|
+
export { MessagesContext, MessagesProvider };
|
|
12
|
+
//# sourceMappingURL=messages_context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/messages/messages_context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,KAAK,oBAAoB,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAA;AAED,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;CAC7B;AAED,QAAA,MAAM,eAAe,qCAAgD,CAAA;AAErE,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CASrD,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/profile.tsx"],"names":[],"mappings":"AAaA,QAAA,MAAM,OAAO;;;;CAIZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/useStore.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,QAAQ,yCAC2D,CAAA;AAEzE,eAAe,QAAQ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Environment } from "@planningcenter/url";
|
|
2
|
-
import { ConnectedPerson } from "../interfaces";
|
|
3
|
-
export declare function UserProfileMenu({ appName, connectedPeople, env, linkToProfile, mfaConfigured, mfaEnabled, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, userAvatarPath, userId, }: {
|
|
4
|
-
appName: string;
|
|
5
|
-
connectedPeople: ConnectedPerson[];
|
|
6
|
-
env: Environment;
|
|
7
|
-
linkToProfile: boolean;
|
|
8
|
-
mfaConfigured: boolean;
|
|
9
|
-
mfaEnabled: boolean;
|
|
10
|
-
requestClearAppsCache: any;
|
|
11
|
-
requestClearConnectedPeopleCache: any;
|
|
12
|
-
requestSwitchConnectedPerson: any;
|
|
13
|
-
requestUnlinkConnectedPeople: any;
|
|
14
|
-
setUserMenuVisible: any;
|
|
15
|
-
userAvatarPath: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
}): JSX.Element;
|
|
18
|
-
//# sourceMappingURL=user_profile_menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_profile_menu.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/user_profile_menu.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAOjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,eAAe,EACf,GAAG,EACH,aAAa,EACb,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,kBAAkB,EAClB,cAAc,EACd,MAAM,GACP,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,GAAG,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;CACf,eAqHA"}
|