@odla-ai/chapter 0.42.1 → 0.42.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.
@@ -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, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-BNUzbL5g.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-BNUzbL5g.js';
4
+ import { a as Chapter, b as ChapterCopy, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-Bh1EZvCg.js';
5
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-Bh1EZvCg.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. */
@@ -292,6 +292,17 @@ declare function AdmissionGrantsWorkspace(props: {
292
292
  }): JSX.Element;
293
293
  /** Create the standard Chapter admission workspace definition. */
294
294
  declare function admissionGrantsWorkspace(label?: string): AdminWorkspace;
295
+ /** Inputs for the bounded leader admission decision and delivery control. */
296
+ interface LeaderAdmissionActionProps {
297
+ getToken: () => Promise<string | null>;
298
+ targetId: string;
299
+ personId: string;
300
+ onSaved?: (result: unknown) => void;
301
+ }
302
+ /** Bounded leader-side composition seam for assigning an existing CRM person
303
+ * to one configured Chapter target. The browser supplies only record identity
304
+ * and operator intent; the Worker resolves the authoritative email. */
305
+ declare function LeaderAdmissionAction(props: LeaderAdmissionActionProps): JSX.Element;
295
306
 
296
307
  /** Admin-safe inventory of inherited content, local content, tiers, and composition state. */
297
308
  interface AdminMemberContentData {
@@ -456,4 +467,4 @@ declare function AdminNote({ children }: {
456
467
  children: ComponentChildren;
457
468
  }): JSX.Element;
458
469
 
459
- export { type AdminAccountMenuProps, type AdminBuilderLibraryData, type AdminChrome, type AdminMemberContentData, AdminNote, AdminPage, type AdminResource, type AdminRouteState, type AdminRouteTarget, type AdminRouting, type AdminSection, type AdminSectionContext, type AdminWorkspace, type AdminWorkspaceNavProps, AdmissionGrantsWorkspace, type AvailabilitySectionOptions, type BillingSectionOptions, BuilderLibraryAdmin, ChapterAdmin, type ChapterAdminAuthAdapter, type ChapterAdminAuthConfig, type ChapterAdminAuthLoadContext, type ChapterAdminProps, type ChapterAdminUser, type CollectionSectionOptions, type DashboardSectionOptions, type EmailSectionOptions, LeaderNetworkOverview, type MeetingsSectionOptions, MemberContentAdmin, NetworkRecordsWorkspace, NetworkShareActions, type NetworkShareActionsProps, Panel, type PeopleSectionOptions, RecordActions, type RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, admissionGrantsWorkspace, applicationLifecycleAdapter, availabilitySection, billingSection, builderLibrarySection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, memberContentSection, networkRecordsWorkspace, peopleSection, useAdminResource };
470
+ export { type AdminAccountMenuProps, type AdminBuilderLibraryData, type AdminChrome, type AdminMemberContentData, AdminNote, AdminPage, type AdminResource, type AdminRouteState, type AdminRouteTarget, type AdminRouting, type AdminSection, type AdminSectionContext, type AdminWorkspace, type AdminWorkspaceNavProps, AdmissionGrantsWorkspace, type AvailabilitySectionOptions, type BillingSectionOptions, BuilderLibraryAdmin, ChapterAdmin, type ChapterAdminAuthAdapter, type ChapterAdminAuthConfig, type ChapterAdminAuthLoadContext, type ChapterAdminProps, type ChapterAdminUser, type CollectionSectionOptions, type DashboardSectionOptions, type EmailSectionOptions, LeaderAdmissionAction, type LeaderAdmissionActionProps, LeaderNetworkOverview, type MeetingsSectionOptions, MemberContentAdmin, NetworkRecordsWorkspace, NetworkShareActions, type NetworkShareActionsProps, Panel, type PeopleSectionOptions, RecordActions, type RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, admissionGrantsWorkspace, applicationLifecycleAdapter, availabilitySection, billingSection, builderLibrarySection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, memberContentSection, networkRecordsWorkspace, peopleSection, useAdminResource };
@@ -4,6 +4,7 @@ import {
4
4
  AdmissionGrantsWorkspace,
5
5
  BuilderLibraryAdmin,
6
6
  ChapterAdmin,
7
+ LeaderAdmissionAction,
7
8
  LeaderNetworkOverview,
8
9
  MemberContentAdmin,
9
10
  NetworkRecordsWorkspace,
@@ -33,11 +34,11 @@ import {
33
34
  networkRecordsWorkspace,
34
35
  peopleSection,
35
36
  useAdminResource
36
- } from "../../chunk-MMDWXTJU.js";
37
+ } from "../../chunk-7MEVZEL2.js";
37
38
  import {
38
39
  ChapterCopyProvider,
39
40
  useChapterCopy
40
- } from "../../chunk-JXFYOUDL.js";
41
+ } from "../../chunk-4HS2JPE2.js";
41
42
  export {
42
43
  AdminNote,
43
44
  AdminPage,
@@ -45,6 +46,7 @@ export {
45
46
  BuilderLibraryAdmin,
46
47
  ChapterAdmin,
47
48
  ChapterCopyProvider,
49
+ LeaderAdmissionAction,
48
50
  LeaderNetworkOverview,
49
51
  MemberContentAdmin,
50
52
  NetworkRecordsWorkspace,
@@ -1,5 +1,5 @@
1
- export { AdminAccountMenuProps, AdminBuilderLibraryData, AdminChrome, AdminMemberContentData, AdminNote, AdminPage, AdminResource, AdminRouteState, AdminRouteTarget, AdminRouting, AdminSection, AdminSectionContext, AdminWorkspace, AdminWorkspaceNavProps, AdmissionGrantsWorkspace, AvailabilitySectionOptions, BillingSectionOptions, BuilderLibraryAdmin, ChapterAdmin, ChapterAdminAuthAdapter, ChapterAdminAuthConfig, ChapterAdminAuthLoadContext, ChapterAdminProps, ChapterAdminUser, CollectionSectionOptions, DashboardSectionOptions, EmailSectionOptions, LeaderNetworkOverview, MeetingsSectionOptions, MemberContentAdmin, NetworkRecordsWorkspace, NetworkShareActions, NetworkShareActionsProps, Panel, PeopleSectionOptions, RecordActions, RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, admissionGrantsWorkspace, applicationLifecycleAdapter, availabilitySection, billingSection, builderLibrarySection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, memberContentSection, networkRecordsWorkspace, peopleSection, useAdminResource } from './admin/index.js';
2
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-BNUzbL5g.js';
1
+ export { AdminAccountMenuProps, AdminBuilderLibraryData, AdminChrome, AdminMemberContentData, AdminNote, AdminPage, AdminResource, AdminRouteState, AdminRouteTarget, AdminRouting, AdminSection, AdminSectionContext, AdminWorkspace, AdminWorkspaceNavProps, AdmissionGrantsWorkspace, AvailabilitySectionOptions, BillingSectionOptions, BuilderLibraryAdmin, ChapterAdmin, ChapterAdminAuthAdapter, ChapterAdminAuthConfig, ChapterAdminAuthLoadContext, ChapterAdminProps, ChapterAdminUser, CollectionSectionOptions, DashboardSectionOptions, EmailSectionOptions, LeaderAdmissionAction, LeaderAdmissionActionProps, LeaderNetworkOverview, MeetingsSectionOptions, MemberContentAdmin, NetworkRecordsWorkspace, NetworkShareActions, NetworkShareActionsProps, Panel, PeopleSectionOptions, RecordActions, RecordActionsProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, admissionGrantsWorkspace, applicationLifecycleAdapter, availabilitySection, billingSection, builderLibrarySection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, memberContentSection, networkRecordsWorkspace, peopleSection, useAdminResource } from './admin/index.js';
2
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-Bh1EZvCg.js';
3
3
  export { ApiFn, BrandStyle, BrandStyleProps, GiftCodeRedeemResult, GiftCodeRedeemer, GiftCodeRedeemerCopy, GiftCodeRedeemerProps, GiftOfferCards, GiftOfferCardsMode, GiftOfferCardsProps, GiftPurchases, GiftPurchasesProps, JoinBookingSimulation, JoinConfig, JoinFlowState, JoinIsland, JoinIslandProps, JoinSimulation, JoinStepRenderContext, JoinSubmitRenderContext, JoinTier, JoinTierRenderContext, MEMBERSHIP_CARD_TOKEN_DEFAULTS, MemberContentArea, MemberContentAreaProps, MemberGifts, MemberProvisionalRenderContext, MembersArea, MembersAreaProps, MembershipCardTokenName, MembershipCards, MembershipCardsMode, MembershipCardsProps, PaymentPriceLines, PaymentStep, PaymentStepProps, PaymentStepSimulation, RescheduleProps, Rescheduler, Slot, SlotPicker, SlotPickerClasses, SlotPickerProps, SubResponse, TierPlaceholder, dayKey, dayLabel, fmtDate, fmtMoney, fullLabel, groupSlotsByDay, loadJoinResume, membershipApplicationHref, tierNeedsPayment, timeLabel, tzShort, useTierSelection } from './member/index.js';
4
4
  import 'preact';
5
5
  import '@odla-ai/crm';
package/dist/ui/index.js CHANGED
@@ -24,13 +24,14 @@ import {
24
24
  timeLabel,
25
25
  tzShort,
26
26
  useTierSelection
27
- } from "../chunk-S7CND3R5.js";
27
+ } from "../chunk-VWDEHUNI.js";
28
28
  import {
29
29
  AdminNote,
30
30
  AdminPage,
31
31
  AdmissionGrantsWorkspace,
32
32
  BuilderLibraryAdmin,
33
33
  ChapterAdmin,
34
+ LeaderAdmissionAction,
34
35
  LeaderNetworkOverview,
35
36
  MemberContentAdmin,
36
37
  NetworkRecordsWorkspace,
@@ -60,12 +61,12 @@ import {
60
61
  networkRecordsWorkspace,
61
62
  peopleSection,
62
63
  useAdminResource
63
- } from "../chunk-MMDWXTJU.js";
64
+ } from "../chunk-7MEVZEL2.js";
64
65
  import {
65
66
  BrandStyle,
66
67
  ChapterCopyProvider,
67
68
  useChapterCopy
68
- } from "../chunk-JXFYOUDL.js";
69
+ } from "../chunk-4HS2JPE2.js";
69
70
  import "../chunk-IVXVECKR.js";
70
71
  export {
71
72
  AdminNote,
@@ -79,6 +80,7 @@ export {
79
80
  GiftOfferCards,
80
81
  GiftPurchases,
81
82
  JoinIsland,
83
+ LeaderAdmissionAction,
82
84
  LeaderNetworkOverview,
83
85
  MEMBERSHIP_CARD_TOKEN_DEFAULTS,
84
86
  MemberContentAdmin,
@@ -1,7 +1,7 @@
1
1
  import * as preact from 'preact';
2
2
  import { ComponentChildren, JSX } from 'preact';
3
- import { d as MemberContentProjection, e as MemberContentPageProjection, b as ChapterCopy, f as ChapterBrand } from '../../copy-context-BNUzbL5g.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-BNUzbL5g.js';
3
+ import { d as MemberContentProjection, e as MemberContentPageProjection, b as ChapterCopy, f as ChapterBrand } from '../../copy-context-Bh1EZvCg.js';
4
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-Bh1EZvCg.js';
5
5
  import { FieldType, FieldConditions } from '@odla-ai/crm';
6
6
 
7
7
  /** A bookable slot: a start instant in epoch milliseconds. */
@@ -24,12 +24,12 @@ import {
24
24
  timeLabel,
25
25
  tzShort,
26
26
  useTierSelection
27
- } from "../../chunk-S7CND3R5.js";
27
+ } from "../../chunk-VWDEHUNI.js";
28
28
  import {
29
29
  BrandStyle,
30
30
  ChapterCopyProvider,
31
31
  useChapterCopy
32
- } from "../../chunk-JXFYOUDL.js";
32
+ } from "../../chunk-4HS2JPE2.js";
33
33
  import "../../chunk-IVXVECKR.js";
34
34
  export {
35
35
  BrandStyle,