@planningcenter/topbar 9.15.0-rc.7 → 9.15.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.
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- 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/toolbar/tools/chat/chat_api_context.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts +2 -4
- package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/list.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/index.d.ts +1 -2
- package/dist/types/modules/toolbar/tools/chat/components/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_shortcuts_view.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts +2 -2
- package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts +6 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts +31 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts +0 -7
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_filter.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts +17 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts +12 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts +0 -31
- package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts +0 -4
- package/dist/types/modules/toolbar/tools/chat/components/groups/groups_shortcuts.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts +0 -17
- package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.d.ts +0 -9
- package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/groups/index.d.ts +0 -3
- package/dist/types/modules/toolbar/tools/chat/components/groups/index.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/groups/people.d.ts +0 -4
- package/dist/types/modules/toolbar/tools/chat/components/groups/people.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts +0 -7
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/footer.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts +0 -2
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/header.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts +0 -3
- package/dist/types/modules/toolbar/tools/chat/components/new_chat_view/index.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts +0 -2
- package/dist/types/modules/toolbar/tools/chat/components/new_groups_chat_view.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts +0 -2
- package/dist/types/modules/toolbar/tools/chat/components/new_services_chat_view.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts +0 -2
- package/dist/types/modules/toolbar/tools/chat/components/services/constants.d.ts.map +0 -1
|
@@ -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,
|
|
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"}
|
|
@@ -12,16 +12,14 @@ export interface ChatContextValue {
|
|
|
12
12
|
isChannelDetailsViewActive: boolean;
|
|
13
13
|
isChannelViewActive: boolean;
|
|
14
14
|
isNewChatShortcutsViewActive: boolean;
|
|
15
|
-
|
|
16
|
-
isNewGroupsChatViewActive: boolean;
|
|
15
|
+
isNewChatViewActive: boolean;
|
|
17
16
|
setActionsOpenForChannel: React.Dispatch<React.SetStateAction<ActionsForOpenChannel>>;
|
|
18
17
|
setFilterValues: SetFilterValuesFn;
|
|
19
18
|
switchToChannelDetailsView: SwitchViewFn;
|
|
20
19
|
switchToChannelListView: SwitchViewFn;
|
|
21
20
|
switchToChannelView: SwitchViewFn;
|
|
22
21
|
switchToNewChatShortcutsView: SwitchViewFn;
|
|
23
|
-
|
|
24
|
-
switchToNewGroupsChatView: SwitchViewFn;
|
|
22
|
+
switchToNewChatView: SwitchViewFn;
|
|
25
23
|
}
|
|
26
24
|
interface ChatProviderProps {
|
|
27
25
|
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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAO7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAO7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBAyBvE,CAAA"}
|
|
@@ -2,6 +2,5 @@ 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 {
|
|
6
|
-
export { NewGroupsChatView } from "./new_groups_chat_view";
|
|
5
|
+
export { NewChatView } from "./new_chat_view";
|
|
7
6
|
//# 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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new_chat_shortcuts_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_chat_shortcuts_view.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"new_chat_shortcuts_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_chat_shortcuts_view.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,oBAAoB,mBAuChC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/types/modules/toolbar/tools/chat/components/services/service_chat_shortcuts.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ServicesChatShortcuts: ({ isActive, setFilterValues,
|
|
1
|
+
export declare const ServicesChatShortcuts: ({ isActive, setFilterValues, switchToNewChatView, }: {
|
|
2
2
|
isActive: any;
|
|
3
3
|
setFilterValues: any;
|
|
4
|
-
|
|
4
|
+
switchToNewChatView: any;
|
|
5
5
|
}) => JSX.Element;
|
|
6
6
|
//# sourceMappingURL=service_chat_shortcuts.d.ts.map
|
package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options.d.ts.map
CHANGED
|
@@ -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;
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services_chat_options_footer.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/services_chat_options_footer.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;;iBA2BrC,CAAA"}
|
|
@@ -1,3 +1,34 @@
|
|
|
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
|
+
};
|
|
3
34
|
//# 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":"
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_chat_app_grants.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_app_grants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use_chat_app_grants.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_chat_app_grants.ts"],"names":[],"mappings":"AAGA,KAAK,OAAO,GAAG,UAAU,CAAA;AAWzB,UAAU,aAAa;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAA;CAC7C;AAED,eAAO,MAAM,gBAAgB,QAAO,aAkBnC,CAAA"}
|
|
@@ -6,15 +6,8 @@ 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
|
-
}
|
|
15
9
|
export interface FilterValues {
|
|
16
10
|
Services: ServicesFilterValues;
|
|
17
|
-
Groups?: GroupsFilterValues;
|
|
18
11
|
}
|
|
19
12
|
export type FilterUpdateFn<T> = (prevState: T) => T;
|
|
20
13
|
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,
|
|
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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_groups_migration.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_groups_migration.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,KAAK,qBAAqB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAU3E,eAAO,MAAM,kBAAkB;SAAoB,WAAW;;;;;;CAsC7D,CAAA"}
|
|
@@ -1 +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;
|
|
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,35 +1,4 @@
|
|
|
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
3
|
export declare const formatDate: (date: Date) => string;
|
|
4
|
-
export declare const getPrimaryButtonStyleOverrides: ({ disabled, spinner, }?: {
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
spinner?: boolean;
|
|
7
|
-
}) => {
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
spinner: {
|
|
10
|
-
color: string;
|
|
11
|
-
};
|
|
12
|
-
color: string;
|
|
13
|
-
fontSize: string;
|
|
14
|
-
fontWeight: number;
|
|
15
|
-
lineHeight: string;
|
|
16
|
-
} | {
|
|
17
|
-
active: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
};
|
|
20
|
-
focus: {
|
|
21
|
-
backgroundColor: string;
|
|
22
|
-
};
|
|
23
|
-
hover: {
|
|
24
|
-
backgroundColor: string;
|
|
25
|
-
};
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
color: string;
|
|
28
|
-
spinner: {
|
|
29
|
-
color: string;
|
|
30
|
-
};
|
|
31
|
-
fontSize: string;
|
|
32
|
-
fontWeight: number;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
};
|
|
35
4
|
//# 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":"
|
|
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,UAAU,SAAU,IAAI,KAAG,MAYvC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
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;iBAwFhE,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type Group = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
header_image: {
|
|
5
|
-
thumbnail: string;
|
|
6
|
-
};
|
|
7
|
-
memberships_count: number;
|
|
8
|
-
can_create_conversation: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare function useMyGroups(shouldRunInitialLoad: boolean): {
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
isError: boolean;
|
|
13
|
-
groups: Group[];
|
|
14
|
-
hasMore: boolean;
|
|
15
|
-
loadMore: () => void;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=use_my_groups.d.ts.map
|
package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use_my_groups.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/groups/hooks/use_my_groups.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;IACnC,iBAAiB,EAAE,MAAM,CAAA;IACzB,uBAAuB,EAAE,OAAO,CAAA;CACjC,CAAA;AAID,wBAAgB,WAAW,CAAC,oBAAoB,EAAE,OAAO,GAAG;IAC1D,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CA2CA"}
|
package/dist/types/modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ListItemPerson } from "../../person_list_item";
|
|
2
|
-
export declare function useNewGroupChatPeople(groupId: number): {
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
isError: boolean;
|
|
5
|
-
people: ListItemPerson[];
|
|
6
|
-
hasMore: boolean | null;
|
|
7
|
-
totalCount: number | null;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=use_new_group_chat_people.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use_new_group_chat_people.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/groups/hooks/use_new_group_chat_people.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAIvD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG;IACtD,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,CAyDA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/groups/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/groups/people.tsx"],"names":[],"mappings":"AAeA,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,eA+CtD"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"new_groups_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_groups_chat_view.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB,mBA6D7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|