@odla-ai/chapter 0.25.6 → 0.26.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.
@@ -1,8 +1,8 @@
1
1
  import * as preact from 'preact';
2
2
  import { ComponentChildren, JSX } from 'preact';
3
3
  import { CrmClient, Crm, CrmRecord } from '@odla-ai/crm';
4
- import { a as Chapter, b as ChapterCopy } from '../../copy-context-DI21CYQ3.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-DI21CYQ3.js';
4
+ import { a as Chapter, b as ChapterCopy } from '../../copy-context-CLvhJhrF.js';
5
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CLvhJhrF.js';
6
6
  import { CrmLifecycleAdapter, CrmWorkspaceMasterContext, CrmWorkspaceRecordContext, RecordPanelTab } from '@odla-ai/crm/ui';
7
7
 
8
8
  /** Normalized public auth configuration consumed by the Clerk gate. */
@@ -267,6 +267,11 @@ interface NetworkShareActionsProps {
267
267
  * targets. Targets with an explicit type allowlist hide incompatible records. */
268
268
  declare function NetworkShareActions(props: NetworkShareActionsProps): preact.JSX.Element | null;
269
269
 
270
+ /** Aggregate-only leader overview over signed follower snapshots. */
271
+ declare function LeaderNetworkOverview({ ctx }: {
272
+ ctx: AdminSectionContext;
273
+ }): preact.JSX.Element;
274
+
270
275
  /** Fetch a JSON `/api/admin/*` route with the admin bearer token. Throws on a
271
276
  * non-2xx (the body's `error`, else the status). */
272
277
  declare function adminFetch<T = unknown>(getToken: () => Promise<string | null>, path: string, init?: RequestInit): Promise<T>;
@@ -299,4 +304,4 @@ declare function AdminNote({ children }: {
299
304
  children: ComponentChildren;
300
305
  }): JSX.Element;
301
306
 
302
- export { type AdminAccountMenuProps, type AdminChrome, AdminNote, AdminPage, type AdminResource, type AdminRouteState, type AdminRouteTarget, type AdminRouting, type AdminSection, type AdminSectionContext, type AdminWorkspace, type AdminWorkspaceNavProps, type AvailabilitySectionOptions, type BillingSectionOptions, ChapterAdmin, type ChapterAdminAuthAdapter, type ChapterAdminAuthConfig, type ChapterAdminAuthLoadContext, type ChapterAdminProps, type ChapterAdminUser, type CollectionSectionOptions, type DashboardSectionOptions, type EmailSectionOptions, type MeetingsSectionOptions, NetworkShareActions, type NetworkShareActionsProps, Panel, type PeopleSectionOptions, RecordActions, type RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, applicationLifecycleAdapter, availabilitySection, billingSection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, peopleSection, useAdminResource };
307
+ export { type AdminAccountMenuProps, type AdminChrome, AdminNote, AdminPage, type AdminResource, type AdminRouteState, type AdminRouteTarget, type AdminRouting, type AdminSection, type AdminSectionContext, type AdminWorkspace, type AdminWorkspaceNavProps, type AvailabilitySectionOptions, type BillingSectionOptions, ChapterAdmin, type ChapterAdminAuthAdapter, type ChapterAdminAuthConfig, type ChapterAdminAuthLoadContext, type ChapterAdminProps, type ChapterAdminUser, type CollectionSectionOptions, type DashboardSectionOptions, type EmailSectionOptions, LeaderNetworkOverview, type MeetingsSectionOptions, NetworkShareActions, type NetworkShareActionsProps, Panel, type PeopleSectionOptions, RecordActions, type RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, applicationLifecycleAdapter, availabilitySection, billingSection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, peopleSection, useAdminResource };
@@ -2,6 +2,7 @@ import {
2
2
  AdminNote,
3
3
  AdminPage,
4
4
  ChapterAdmin,
5
+ LeaderNetworkOverview,
5
6
  NetworkShareActions,
6
7
  Panel,
7
8
  RecordActions,
@@ -24,16 +25,17 @@ import {
24
25
  meetingsSection,
25
26
  peopleSection,
26
27
  useAdminResource
27
- } from "../../chunk-5SWVMJZN.js";
28
+ } from "../../chunk-4QZEAWQL.js";
28
29
  import {
29
30
  ChapterCopyProvider,
30
31
  useChapterCopy
31
- } from "../../chunk-WGQO4WDJ.js";
32
+ } from "../../chunk-OIWCKF2G.js";
32
33
  export {
33
34
  AdminNote,
34
35
  AdminPage,
35
36
  ChapterAdmin,
36
37
  ChapterCopyProvider,
38
+ LeaderNetworkOverview,
37
39
  NetworkShareActions,
38
40
  Panel,
39
41
  RecordActions,
@@ -1,5 +1,5 @@
1
- export { AdminAccountMenuProps, AdminChrome, AdminNote, AdminPage, AdminResource, AdminRouteState, AdminRouteTarget, AdminRouting, AdminSection, AdminSectionContext, AdminWorkspace, AdminWorkspaceNavProps, AvailabilitySectionOptions, BillingSectionOptions, ChapterAdmin, ChapterAdminAuthAdapter, ChapterAdminAuthConfig, ChapterAdminAuthLoadContext, ChapterAdminProps, ChapterAdminUser, CollectionSectionOptions, DashboardSectionOptions, EmailSectionOptions, MeetingsSectionOptions, NetworkShareActions, NetworkShareActionsProps, Panel, PeopleSectionOptions, RecordActions, RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, applicationLifecycleAdapter, availabilitySection, billingSection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, peopleSection, useAdminResource } from './admin/index.js';
2
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-DI21CYQ3.js';
1
+ export { AdminAccountMenuProps, AdminChrome, AdminNote, AdminPage, AdminResource, AdminRouteState, AdminRouteTarget, AdminRouting, AdminSection, AdminSectionContext, AdminWorkspace, AdminWorkspaceNavProps, AvailabilitySectionOptions, BillingSectionOptions, ChapterAdmin, ChapterAdminAuthAdapter, ChapterAdminAuthConfig, ChapterAdminAuthLoadContext, ChapterAdminProps, ChapterAdminUser, CollectionSectionOptions, DashboardSectionOptions, EmailSectionOptions, LeaderNetworkOverview, MeetingsSectionOptions, NetworkShareActions, NetworkShareActionsProps, Panel, PeopleSectionOptions, RecordActions, RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, applicationLifecycleAdapter, availabilitySection, billingSection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, peopleSection, useAdminResource } from './admin/index.js';
2
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-CLvhJhrF.js';
3
3
  export { ApiFn, BrandStyle, BrandStyleProps, JoinConfig, JoinFlowState, JoinIsland, JoinIslandProps, JoinStepRenderContext, JoinSubmitRenderContext, MemberProvisionalRenderContext, MembersArea, MembersAreaProps, PaymentPriceLines, PaymentStep, PaymentStepProps, RescheduleProps, Rescheduler, Slot, SlotPicker, SlotPickerClasses, SlotPickerProps, dayKey, dayLabel, fmtDate, fmtMoney, fullLabel, groupSlotsByDay, loadJoinResume, timeLabel, tzShort } from './member/index.js';
4
4
  import 'preact';
5
5
  import '@odla-ai/crm';
package/dist/ui/index.js CHANGED
@@ -13,11 +13,12 @@ import {
13
13
  loadJoinResume,
14
14
  timeLabel,
15
15
  tzShort
16
- } from "../chunk-WHA3MUDQ.js";
16
+ } from "../chunk-QBTFQUDL.js";
17
17
  import {
18
18
  AdminNote,
19
19
  AdminPage,
20
20
  ChapterAdmin,
21
+ LeaderNetworkOverview,
21
22
  NetworkShareActions,
22
23
  Panel,
23
24
  RecordActions,
@@ -40,12 +41,12 @@ import {
40
41
  meetingsSection,
41
42
  peopleSection,
42
43
  useAdminResource
43
- } from "../chunk-5SWVMJZN.js";
44
+ } from "../chunk-4QZEAWQL.js";
44
45
  import {
45
46
  BrandStyle,
46
47
  ChapterCopyProvider,
47
48
  useChapterCopy
48
- } from "../chunk-WGQO4WDJ.js";
49
+ } from "../chunk-OIWCKF2G.js";
49
50
  export {
50
51
  AdminNote,
51
52
  AdminPage,
@@ -53,6 +54,7 @@ export {
53
54
  ChapterAdmin,
54
55
  ChapterCopyProvider,
55
56
  JoinIsland,
57
+ LeaderNetworkOverview,
56
58
  MembersArea,
57
59
  NetworkShareActions,
58
60
  Panel,
@@ -1,7 +1,7 @@
1
1
  import * as preact from 'preact';
2
2
  import { ComponentChildren, JSX } from 'preact';
3
- import { b as ChapterCopy, c as ChapterBrand } from '../../copy-context-DI21CYQ3.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-DI21CYQ3.js';
3
+ import { b as ChapterCopy, c as ChapterBrand } from '../../copy-context-CLvhJhrF.js';
4
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CLvhJhrF.js';
5
5
  import '@odla-ai/crm';
6
6
 
7
7
  /** A bookable slot: a start instant in epoch milliseconds. */
@@ -13,12 +13,12 @@ import {
13
13
  loadJoinResume,
14
14
  timeLabel,
15
15
  tzShort
16
- } from "../../chunk-WHA3MUDQ.js";
16
+ } from "../../chunk-QBTFQUDL.js";
17
17
  import {
18
18
  BrandStyle,
19
19
  ChapterCopyProvider,
20
20
  useChapterCopy
21
- } from "../../chunk-WGQO4WDJ.js";
21
+ } from "../../chunk-OIWCKF2G.js";
22
22
  export {
23
23
  BrandStyle,
24
24
  ChapterCopyProvider,