@odla-ai/chapter 0.53.0 → 0.54.1
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.
- package/README.md +30 -2
- package/dist/{chunk-PTC43J7F.js → chunk-NDZCR3OW.js} +5 -5
- package/dist/chunk-NDZCR3OW.js.map +1 -0
- package/dist/{chunk-TEHCORNC.js → chunk-SPEL4OGE.js} +57 -23
- package/dist/chunk-SPEL4OGE.js.map +1 -0
- package/dist/index.cjs +219 -106
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -10
- package/dist/index.d.ts +30 -10
- package/dist/index.js +219 -106
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.js +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +8 -2
- package/dist/ui/member/index.d.ts +32 -1
- package/dist/ui/member/index.js +7 -1
- package/dist/worker/index.cjs +297 -128
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +92 -9
- package/dist/worker/index.d.ts +92 -9
- package/dist/worker/index.js +297 -128
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-PTC43J7F.js.map +0 -1
- package/dist/chunk-TEHCORNC.js.map +0 -1
package/dist/ui/admin/index.js
CHANGED
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export { C as ChapterCopyProvider, u as useChapterCopy } from '../copy-context-qvFo6eA7.js';
|
|
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, 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';
|
|
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';
|
|
6
6
|
import '@odla-ai/crm/ui';
|
package/dist/ui/index.js
CHANGED
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
MemberRestart,
|
|
11
11
|
MembersArea,
|
|
12
12
|
MembershipCards,
|
|
13
|
+
NAMED_SEAT_RECIPIENT_WORDS,
|
|
14
|
+
NamedSeatPurchase,
|
|
15
|
+
NamedSeatRecipientLine,
|
|
13
16
|
PaymentStep,
|
|
14
17
|
Rescheduler,
|
|
15
18
|
SlotPicker,
|
|
@@ -26,7 +29,7 @@ import {
|
|
|
26
29
|
timeLabel,
|
|
27
30
|
tzShort,
|
|
28
31
|
useTierSelection
|
|
29
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-SPEL4OGE.js";
|
|
30
33
|
import {
|
|
31
34
|
APPLICATION_STAGES,
|
|
32
35
|
AdminNote,
|
|
@@ -71,7 +74,7 @@ import {
|
|
|
71
74
|
networkRecordsWorkspace,
|
|
72
75
|
peopleSection,
|
|
73
76
|
useAdminResource
|
|
74
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-NDZCR3OW.js";
|
|
75
78
|
import {
|
|
76
79
|
BrandStyle,
|
|
77
80
|
ChapterCopyProvider,
|
|
@@ -103,6 +106,9 @@ export {
|
|
|
103
106
|
MembersArea,
|
|
104
107
|
MembershipCards,
|
|
105
108
|
MembershipPolicyVersions,
|
|
109
|
+
NAMED_SEAT_RECIPIENT_WORDS,
|
|
110
|
+
NamedSeatPurchase,
|
|
111
|
+
NamedSeatRecipientLine,
|
|
106
112
|
NamedSeatRecordPanel,
|
|
107
113
|
NetworkRecordEditor,
|
|
108
114
|
NetworkRecordsWorkspace,
|
|
@@ -664,9 +664,40 @@ declare function MemberRestart(props: {
|
|
|
664
664
|
onComplete: () => Promise<void>;
|
|
665
665
|
}): preact.JSX.Element;
|
|
666
666
|
|
|
667
|
+
/** Where the named recipient stands, from the purchaser's side, folded from the seat's lifecycle status. */
|
|
668
|
+
type NamedSeatRecipientState = "payment_pending" | "invited" | "accepted" | "joined" | "declined" | "refunded" | "canceled";
|
|
669
|
+
|
|
670
|
+
/** The purchaser's one named seat as the members page shows it: who was named, and whether they accepted or joined. */
|
|
671
|
+
interface NamedSeatOfferSeat {
|
|
672
|
+
seatId: string;
|
|
673
|
+
status: string;
|
|
674
|
+
recipientName: string;
|
|
675
|
+
recipientEmail: string;
|
|
676
|
+
/** The recipient's standing from the purchaser's side; `joined` means the seat is active and the recipient is a member. */
|
|
677
|
+
recipientState: NamedSeatRecipientState;
|
|
678
|
+
/** When the seat was paid for or, for an included seat, granted. */
|
|
679
|
+
purchasedAt?: number;
|
|
680
|
+
/** When the named recipient accepted the invitation with their own account. */
|
|
681
|
+
acceptedAt?: number;
|
|
682
|
+
/** When the recipient's own application was approved; the seat is active from then, once the primary is. */
|
|
683
|
+
joinedAt?: number;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/** What the purchaser reads about the person they named, keyed by the offer's `recipientState`. */
|
|
687
|
+
declare const NAMED_SEAT_RECIPIENT_WORDS: Record<NamedSeatOfferSeat["recipientState"], string>;
|
|
688
|
+
/** One line on the named recipient: who they are and whether they accepted or joined. */
|
|
689
|
+
declare function NamedSeatRecipientLine({ seat }: {
|
|
690
|
+
seat: NamedSeatOfferSeat;
|
|
691
|
+
}): preact.JSX.Element;
|
|
692
|
+
/** The authenticated purchaser's one named additional seat, using real Payment Elements and server quotes.
|
|
693
|
+
* An included seat (the offering prices it at zero) skips the card entirely: consent, then one request grants it. */
|
|
694
|
+
declare function NamedSeatPurchase({ api }: {
|
|
695
|
+
api: ApiFn;
|
|
696
|
+
}): preact.JSX.Element;
|
|
697
|
+
|
|
667
698
|
/** Consistent, responsive purchase and application presentation using the host's Chapter brand tokens. */
|
|
668
699
|
declare function JourneyFrame({ children }: {
|
|
669
700
|
children: ComponentChildren;
|
|
670
701
|
}): preact.JSX.Element;
|
|
671
702
|
|
|
672
|
-
export { type ApiFn, BrandStyle, type BrandStyleProps, type GiftCodeRedeemResult, GiftCodeRedeemer, type GiftCodeRedeemerCopy, type GiftCodeRedeemerProps, GiftOfferCards, type GiftOfferCardsMode, type GiftOfferCardsProps, GiftPurchases, type GiftPurchasesProps, type JoinBookingSimulation, type JoinConfig, type JoinFlowState, JoinIsland, type JoinIslandProps, type JoinSimulation, type JoinStepRenderContext, type JoinSubmitRenderContext, type JoinTier, type JoinTierRenderContext, JourneyFrame, MEMBERSHIP_CARD_TOKEN_DEFAULTS, MemberContentArea, type MemberContentAreaProps, MemberGifts, type MemberProvisionalRenderContext, MemberRestart, MembersArea, type MembersAreaProps, type MembershipCardTokenName, MembershipCards, type MembershipCardsMode, type MembershipCardsProps, type PaymentPriceLines, PaymentStep, type PaymentStepProps, type PaymentStepSimulation, type RescheduleProps, Rescheduler, type Slot, SlotPicker, type SlotPickerClasses, type SlotPickerProps, type SubResponse, TierPlaceholder, dayKey, dayLabel, fmtDate, fmtMoney, fullLabel, groupSlotsByDay, loadJoinResume, membershipApplicationHref, tierNeedsPayment, timeLabel, tzShort, useTierSelection };
|
|
703
|
+
export { type ApiFn, BrandStyle, type BrandStyleProps, type GiftCodeRedeemResult, GiftCodeRedeemer, type GiftCodeRedeemerCopy, type GiftCodeRedeemerProps, GiftOfferCards, type GiftOfferCardsMode, type GiftOfferCardsProps, GiftPurchases, type GiftPurchasesProps, type JoinBookingSimulation, type JoinConfig, type JoinFlowState, JoinIsland, type JoinIslandProps, type JoinSimulation, type JoinStepRenderContext, type JoinSubmitRenderContext, type JoinTier, type JoinTierRenderContext, JourneyFrame, MEMBERSHIP_CARD_TOKEN_DEFAULTS, MemberContentArea, type MemberContentAreaProps, MemberGifts, type MemberProvisionalRenderContext, MemberRestart, MembersArea, type MembersAreaProps, type MembershipCardTokenName, MembershipCards, type MembershipCardsMode, type MembershipCardsProps, NAMED_SEAT_RECIPIENT_WORDS, NamedSeatPurchase, NamedSeatRecipientLine, type PaymentPriceLines, PaymentStep, type PaymentStepProps, type PaymentStepSimulation, type RescheduleProps, Rescheduler, type Slot, SlotPicker, type SlotPickerClasses, type SlotPickerProps, type SubResponse, TierPlaceholder, dayKey, dayLabel, fmtDate, fmtMoney, fullLabel, groupSlotsByDay, loadJoinResume, membershipApplicationHref, tierNeedsPayment, timeLabel, tzShort, useTierSelection };
|
package/dist/ui/member/index.js
CHANGED
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
MemberRestart,
|
|
11
11
|
MembersArea,
|
|
12
12
|
MembershipCards,
|
|
13
|
+
NAMED_SEAT_RECIPIENT_WORDS,
|
|
14
|
+
NamedSeatPurchase,
|
|
15
|
+
NamedSeatRecipientLine,
|
|
13
16
|
PaymentStep,
|
|
14
17
|
Rescheduler,
|
|
15
18
|
SlotPicker,
|
|
@@ -26,7 +29,7 @@ import {
|
|
|
26
29
|
timeLabel,
|
|
27
30
|
tzShort,
|
|
28
31
|
useTierSelection
|
|
29
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-SPEL4OGE.js";
|
|
30
33
|
import {
|
|
31
34
|
BrandStyle,
|
|
32
35
|
ChapterCopyProvider,
|
|
@@ -47,6 +50,9 @@ export {
|
|
|
47
50
|
MemberRestart,
|
|
48
51
|
MembersArea,
|
|
49
52
|
MembershipCards,
|
|
53
|
+
NAMED_SEAT_RECIPIENT_WORDS,
|
|
54
|
+
NamedSeatPurchase,
|
|
55
|
+
NamedSeatRecipientLine,
|
|
50
56
|
PaymentStep,
|
|
51
57
|
Rescheduler,
|
|
52
58
|
SlotPicker,
|