@odla-ai/chapter 0.26.0 → 0.27.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-CLvhJhrF.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CLvhJhrF.js';
4
+ import { a as Chapter, b as ChapterCopy } from '../../copy-context-efEMF_aD.js';
5
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-efEMF_aD.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,15 @@ 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
+ /** Leader workspace for browsing follower-owned records and attaching local,
271
+ * leader-private notes without importing or mutating the follower record. */
272
+ declare function NetworkRecordsWorkspace(props: {
273
+ chapter: Chapter;
274
+ ctx: AdminSectionContext;
275
+ }): preact.JSX.Element;
276
+ /** Reusable default-workspace factory for a leader ChapterAdmin. */
277
+ declare function networkRecordsWorkspace(chapter: Chapter): AdminWorkspace;
278
+
270
279
  /** Aggregate-only leader overview over signed follower snapshots. */
271
280
  declare function LeaderNetworkOverview({ ctx }: {
272
281
  ctx: AdminSectionContext;
@@ -304,4 +313,4 @@ declare function AdminNote({ children }: {
304
313
  children: ComponentChildren;
305
314
  }): JSX.Element;
306
315
 
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 };
316
+ 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, NetworkRecordsWorkspace, 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, networkRecordsWorkspace, peopleSection, useAdminResource };
@@ -3,6 +3,7 @@ import {
3
3
  AdminPage,
4
4
  ChapterAdmin,
5
5
  LeaderNetworkOverview,
6
+ NetworkRecordsWorkspace,
6
7
  NetworkShareActions,
7
8
  Panel,
8
9
  RecordActions,
@@ -23,19 +24,21 @@ import {
23
24
  loadChapterAdminConfig,
24
25
  loadChapterAdminUser,
25
26
  meetingsSection,
27
+ networkRecordsWorkspace,
26
28
  peopleSection,
27
29
  useAdminResource
28
- } from "../../chunk-4QZEAWQL.js";
30
+ } from "../../chunk-L2SA47IO.js";
29
31
  import {
30
32
  ChapterCopyProvider,
31
33
  useChapterCopy
32
- } from "../../chunk-OIWCKF2G.js";
34
+ } from "../../chunk-JAWTIROV.js";
33
35
  export {
34
36
  AdminNote,
35
37
  AdminPage,
36
38
  ChapterAdmin,
37
39
  ChapterCopyProvider,
38
40
  LeaderNetworkOverview,
41
+ NetworkRecordsWorkspace,
39
42
  NetworkShareActions,
40
43
  Panel,
41
44
  RecordActions,
@@ -56,6 +59,7 @@ export {
56
59
  loadChapterAdminConfig,
57
60
  loadChapterAdminUser,
58
61
  meetingsSection,
62
+ networkRecordsWorkspace,
59
63
  peopleSection,
60
64
  useAdminResource,
61
65
  useChapterCopy
@@ -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, 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';
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, NetworkRecordsWorkspace, NetworkShareActions, NetworkShareActionsProps, Panel, PeopleSectionOptions, RecordActions, RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, applicationLifecycleAdapter, availabilitySection, billingSection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, networkRecordsWorkspace, peopleSection, useAdminResource } from './admin/index.js';
2
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-efEMF_aD.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,12 +13,13 @@ import {
13
13
  loadJoinResume,
14
14
  timeLabel,
15
15
  tzShort
16
- } from "../chunk-QBTFQUDL.js";
16
+ } from "../chunk-IOHVFBXH.js";
17
17
  import {
18
18
  AdminNote,
19
19
  AdminPage,
20
20
  ChapterAdmin,
21
21
  LeaderNetworkOverview,
22
+ NetworkRecordsWorkspace,
22
23
  NetworkShareActions,
23
24
  Panel,
24
25
  RecordActions,
@@ -39,14 +40,15 @@ import {
39
40
  loadChapterAdminConfig,
40
41
  loadChapterAdminUser,
41
42
  meetingsSection,
43
+ networkRecordsWorkspace,
42
44
  peopleSection,
43
45
  useAdminResource
44
- } from "../chunk-4QZEAWQL.js";
46
+ } from "../chunk-L2SA47IO.js";
45
47
  import {
46
48
  BrandStyle,
47
49
  ChapterCopyProvider,
48
50
  useChapterCopy
49
- } from "../chunk-OIWCKF2G.js";
51
+ } from "../chunk-JAWTIROV.js";
50
52
  export {
51
53
  AdminNote,
52
54
  AdminPage,
@@ -56,6 +58,7 @@ export {
56
58
  JoinIsland,
57
59
  LeaderNetworkOverview,
58
60
  MembersArea,
61
+ NetworkRecordsWorkspace,
59
62
  NetworkShareActions,
60
63
  Panel,
61
64
  PaymentStep,
@@ -86,6 +89,7 @@ export {
86
89
  loadChapterAdminUser,
87
90
  loadJoinResume,
88
91
  meetingsSection,
92
+ networkRecordsWorkspace,
89
93
  peopleSection,
90
94
  timeLabel,
91
95
  tzShort,
@@ -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-CLvhJhrF.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CLvhJhrF.js';
3
+ import { b as ChapterCopy, c as ChapterBrand } from '../../copy-context-efEMF_aD.js';
4
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-efEMF_aD.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-QBTFQUDL.js";
16
+ } from "../../chunk-IOHVFBXH.js";
17
17
  import {
18
18
  BrandStyle,
19
19
  ChapterCopyProvider,
20
20
  useChapterCopy
21
- } from "../../chunk-OIWCKF2G.js";
21
+ } from "../../chunk-JAWTIROV.js";
22
22
  export {
23
23
  BrandStyle,
24
24
  ChapterCopyProvider,