@odla-ai/chapter 0.56.2 → 0.57.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-CaUXIxUI.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CaUXIxUI.js';
4
+ import { a as Chapter, b as ChapterCopy, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-DE4YMAbz.js';
5
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-DE4YMAbz.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. */
@@ -290,7 +290,8 @@ interface NamedSeatRecordPanelProps {
290
290
  superAdmin: boolean;
291
291
  onChanged?: () => void;
292
292
  }
293
- /** The purchaser's additional seat beside their billing: who it is for, where it stands, and the one manual refund. */
293
+ /** The purchaser's additional seat beside their billing: who it is for, where it stands, the one manual refund, and, while the
294
+ * seat is not yet active, naming a different recipient on the purchaser's behalf. */
294
295
  declare function NamedSeatRecordPanel(props: NamedSeatRecordPanelProps): preact.JSX.Element | null;
295
296
 
296
297
  /** The membership workflow's own statuses. A person reaches them only through an application, never by hand. */
@@ -42,11 +42,11 @@ import {
42
42
  networkRecordsWorkspace,
43
43
  peopleSection,
44
44
  useAdminResource
45
- } from "../../chunk-ZAE24YKY.js";
45
+ } from "../../chunk-L2IPS2FQ.js";
46
46
  import {
47
47
  ChapterCopyProvider,
48
48
  useChapterCopy
49
- } from "../../chunk-4M2PN5K3.js";
49
+ } from "../../chunk-FHKZVF5G.js";
50
50
  export {
51
51
  APPLICATION_STAGES,
52
52
  AdminNote,
@@ -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-CaUXIxUI.js';
2
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-DE4YMAbz.js';
3
3
  export { ADDITIONAL_MEMBER_COPY, AdditionalMemberCopy, AdditionalMemberDraft, AdditionalMemberEditor, AdditionalMemberEditorOptions, AdditionalMemberEditorProps, AdditionalMemberFieldNames, AdditionalMemberFields, AdditionalMemberFieldsProps, AdditionalMemberOffer, AdditionalMemberOptions, ApiFn, BrandStyle, BrandStyleProps, CheckoutSeatEditor, CheckoutSeatEditorContext, GiftCodeRedeemResult, GiftCodeRedeemer, GiftCodeRedeemerCopy, GiftCodeRedeemerProps, GiftOfferCards, GiftOfferCardsMode, GiftOfferCardsProps, GiftPurchases, GiftPurchasesProps, JoinBookingSimulation, JoinConfig, JoinFlowState, JoinIsland, JoinIslandProps, JoinSimulation, JoinStepRenderContext, JoinSubmitButton, 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, additionalMemberSelection, 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
@@ -34,7 +34,7 @@ import {
34
34
  timeLabel,
35
35
  tzShort,
36
36
  useTierSelection
37
- } from "../chunk-E7CB5K2D.js";
37
+ } from "../chunk-CKC6X5H2.js";
38
38
  import {
39
39
  APPLICATION_STAGES,
40
40
  AdminNote,
@@ -79,12 +79,12 @@ import {
79
79
  networkRecordsWorkspace,
80
80
  peopleSection,
81
81
  useAdminResource
82
- } from "../chunk-ZAE24YKY.js";
82
+ } from "../chunk-L2IPS2FQ.js";
83
83
  import {
84
84
  BrandStyle,
85
85
  ChapterCopyProvider,
86
86
  useChapterCopy
87
- } from "../chunk-4M2PN5K3.js";
87
+ } from "../chunk-FHKZVF5G.js";
88
88
  import "../chunk-IVXVECKR.js";
89
89
  export {
90
90
  ADDITIONAL_MEMBER_COPY,
@@ -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-CaUXIxUI.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CaUXIxUI.js';
3
+ import { d as MemberContentProjection, e as MemberContentPageProjection, b as ChapterCopy, f as ChapterBrand } from '../../copy-context-DE4YMAbz.js';
4
+ export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-DE4YMAbz.js';
5
5
  import { FieldType, FieldConditions } from '@odla-ai/crm';
6
6
 
7
7
  /** A bookable slot: a start instant in epoch milliseconds. */
@@ -803,11 +803,18 @@ interface NamedSeatOfferSeat {
803
803
  acceptedAt?: number;
804
804
  /** When the recipient's own application was approved; the seat is active from then, once the primary is. */
805
805
  joinedAt?: number;
806
+ /** True while the invitation waits for the buying member's own approval; nothing has been sent to the recipient yet. */
807
+ invitationHeld?: true;
808
+ /** True while the purchaser may still name someone else: the seat is invited or accepted but not yet active. */
809
+ regiftable?: true;
810
+ /** When the purchaser last replaced the recipient. */
811
+ regiftedAt?: number;
806
812
  }
807
813
 
808
814
  /** What the purchaser reads about the person they named, keyed by the offer's `recipientState`. */
809
815
  declare const NAMED_SEAT_RECIPIENT_WORDS: Record<NamedSeatOfferSeat["recipientState"], string>;
810
- /** One line on the named recipient: who they are and whether they accepted or joined. */
816
+ /** One line on the named recipient: who they are and whether they accepted or joined. An invitation the network holds until
817
+ * the purchaser's own approval says so, instead of claiming it was sent. */
811
818
  declare function NamedSeatRecipientLine({ seat }: {
812
819
  seat: NamedSeatOfferSeat;
813
820
  }): preact.JSX.Element;
@@ -34,12 +34,12 @@ import {
34
34
  timeLabel,
35
35
  tzShort,
36
36
  useTierSelection
37
- } from "../../chunk-E7CB5K2D.js";
37
+ } from "../../chunk-CKC6X5H2.js";
38
38
  import {
39
39
  BrandStyle,
40
40
  ChapterCopyProvider,
41
41
  useChapterCopy
42
- } from "../../chunk-4M2PN5K3.js";
42
+ } from "../../chunk-FHKZVF5G.js";
43
43
  import "../../chunk-IVXVECKR.js";
44
44
  export {
45
45
  ADDITIONAL_MEMBER_COPY,