@odla-ai/chapter 0.54.1 → 0.55.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, FieldType } from '@odla-ai/crm';
4
- import { a as Chapter, b as ChapterCopy, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-qvFo6eA7.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-qvFo6eA7.js';
4
+ import { a as Chapter, b as ChapterCopy, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-CaUXIxUI.js';
5
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CaUXIxUI.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. */
@@ -42,7 +42,7 @@ import {
42
42
  networkRecordsWorkspace,
43
43
  peopleSection,
44
44
  useAdminResource
45
- } from "../../chunk-NDZCR3OW.js";
45
+ } from "../../chunk-ZAE24YKY.js";
46
46
  import {
47
47
  ChapterCopyProvider,
48
48
  useChapterCopy
@@ -1,5 +1,5 @@
1
1
  export { APPLICATION_STAGES, AdminAccountMenuProps, AdminBuilderLibraryData, AdminChrome, AdminMemberContentData, AdminNote, AdminPage, AdminResource, AdminRouteState, AdminRouteTarget, AdminRouting, AdminSection, AdminSectionContext, AdminWorkspace, AdminWorkspaceFrameProps, AdminWorkspaceNavProps, AdmissionGrantsWorkspace, AvailabilitySectionOptions, BillingSectionOptions, BuilderLibraryAdmin, CandidateStagePanel, CandidateStagePanelProps, ChapterAdmin, ChapterAdminAuthAdapter, ChapterAdminAuthConfig, ChapterAdminAuthLoadContext, ChapterAdminProps, ChapterAdminUser, CollectionSectionOptions, DashboardSectionOptions, EmailSectionOptions, LeaderAdmissionAction, LeaderAdmissionActionProps, LeaderNetworkOverview, MeetingsSectionOptions, MemberContentAdmin, MembershipPolicyVersions, MembershipPolicyVersionsProps, NamedSeatRecordPanel, NamedSeatRecordPanelProps, NetworkRecordEditor, NetworkRecordsWorkspace, NetworkSeatBilling, NetworkShareActions, NetworkShareActionsProps, Panel, PaymentRecoveryQueue, PeopleSectionOptions, RecordActions, RecordActionsProps, RecordAdmissionPanel, RecordAdmissionPanelProps, 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-qvFo6eA7.js';
2
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-CaUXIxUI.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, JourneyFrame, MEMBERSHIP_CARD_TOKEN_DEFAULTS, MemberContentArea, MemberContentAreaProps, MemberGifts, MemberProvisionalRenderContext, MemberRestart, MembersArea, MembersAreaProps, MembershipCardTokenName, MembershipCards, MembershipCardsMode, MembershipCardsProps, NAMED_SEAT_RECIPIENT_WORDS, NamedSeatPurchase, NamedSeatRecipientLine, 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
@@ -29,7 +29,7 @@ import {
29
29
  timeLabel,
30
30
  tzShort,
31
31
  useTierSelection
32
- } from "../chunk-SPEL4OGE.js";
32
+ } from "../chunk-VEOGTSVX.js";
33
33
  import {
34
34
  APPLICATION_STAGES,
35
35
  AdminNote,
@@ -74,7 +74,7 @@ import {
74
74
  networkRecordsWorkspace,
75
75
  peopleSection,
76
76
  useAdminResource
77
- } from "../chunk-NDZCR3OW.js";
77
+ } from "../chunk-ZAE24YKY.js";
78
78
  import {
79
79
  BrandStyle,
80
80
  ChapterCopyProvider,
@@ -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-qvFo6eA7.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-qvFo6eA7.js';
3
+ import { d as MemberContentProjection, e as MemberContentPageProjection, b as ChapterCopy, f as ChapterBrand } from '../../copy-context-CaUXIxUI.js';
4
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CaUXIxUI.js';
5
5
  import { FieldType, FieldConditions } from '@odla-ai/crm';
6
6
 
7
7
  /** A bookable slot: a start instant in epoch milliseconds. */
@@ -207,6 +207,8 @@ interface PaymentPriceLines {
207
207
  standardCents: number;
208
208
  discountCents: number;
209
209
  dueTodayCents: number;
210
+ /** Included in dueTodayCents; zero means the selected SKU includes the additional member. */
211
+ namedSeatCents?: number;
210
212
  founding?: {
211
213
  cohortLabel: string;
212
214
  };
@@ -473,6 +475,11 @@ interface JoinIslandProps {
473
475
  submitDisabled?: boolean;
474
476
  /** Stripe Elements presentation and site-owned payment content. */
475
477
  payment?: {
478
+ /** Prefill the optional additional member; Chapter quotes the selected SKU's configured price. */
479
+ initialNamedSeat?: {
480
+ recipientName: string;
481
+ recipientEmail: string;
482
+ };
476
483
  appearance?: Record<string, unknown>;
477
484
  fonts?: readonly Record<string, unknown>[];
478
485
  /** Render the server-owned price lines; `lines.founding` says the difference is a policy-backed founding discount,
@@ -29,7 +29,7 @@ import {
29
29
  timeLabel,
30
30
  tzShort,
31
31
  useTierSelection
32
- } from "../../chunk-SPEL4OGE.js";
32
+ } from "../../chunk-VEOGTSVX.js";
33
33
  import {
34
34
  BrandStyle,
35
35
  ChapterCopyProvider,