@odla-ai/chapter 0.50.0 → 0.52.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.
- package/README.md +109 -8
- package/dist/{chunk-4EA5V4JE.js → chunk-7N4VDWM5.js} +239 -136
- package/dist/chunk-7N4VDWM5.js.map +1 -0
- package/dist/{chunk-OS46ZE46.js → chunk-7RIT2UN5.js} +3 -7
- package/dist/chunk-7RIT2UN5.js.map +1 -0
- package/dist/{chunk-JXX4BFDP.js → chunk-A6W53GVM.js} +5 -1
- package/dist/chunk-A6W53GVM.js.map +1 -0
- package/dist/{copy-context-Ddat__H5.d.ts → copy-context-CYLlPzAc.d.ts} +11 -5
- package/dist/index.cjs +111 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +77 -13
- package/dist/index.d.ts +77 -13
- package/dist/index.js +111 -18
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.d.ts +14 -3
- package/dist/ui/admin/index.js +4 -2
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +5 -3
- package/dist/ui/member/index.d.ts +2 -2
- package/dist/ui/member/index.js +2 -2
- package/dist/worker/index.cjs +983 -368
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +52 -10
- package/dist/worker/index.d.ts +52 -10
- package/dist/worker/index.js +983 -368
- package/dist/worker/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-4EA5V4JE.js.map +0 -1
- package/dist/chunk-JXX4BFDP.js.map +0 -1
- package/dist/chunk-OS46ZE46.js.map +0 -1
package/dist/ui/admin/index.d.ts
CHANGED
|
@@ -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-
|
|
5
|
-
export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-
|
|
4
|
+
import { a as Chapter, b as ChapterCopy, M as MemberContentDocument, E as EffectiveMemberContent, c as MemberContentTierAuthority } from '../../copy-context-CYLlPzAc.js';
|
|
5
|
+
export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CYLlPzAc.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. */
|
|
@@ -596,4 +596,15 @@ declare function NetworkSeatBilling(props: {
|
|
|
596
596
|
getToken: () => Promise<string | null>;
|
|
597
597
|
}): preact.JSX.Element;
|
|
598
598
|
|
|
599
|
-
|
|
599
|
+
/** Props for {@link MembershipPolicyVersions}. */
|
|
600
|
+
interface MembershipPolicyVersionsProps {
|
|
601
|
+
getToken: () => Promise<string | null>;
|
|
602
|
+
/** Narrow the readout to one chapter; omit to list every chapter the authority serves. */
|
|
603
|
+
chapterId?: string;
|
|
604
|
+
}
|
|
605
|
+
/** Read-only readout of the membership offering and discount policy versions the network owner's authority holds,
|
|
606
|
+
* mounted beside billing so an operator can see why a card shows a list price and a payable price. Every row is
|
|
607
|
+
* the authority's own record with the state issuance would give it now; nothing here edits a version. */
|
|
608
|
+
declare function MembershipPolicyVersions(props: MembershipPolicyVersionsProps): preact.JSX.Element;
|
|
609
|
+
|
|
610
|
+
export { APPLICATION_STAGES, 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 AdminWorkspaceFrameProps, type AdminWorkspaceNavProps, AdmissionGrantsWorkspace, type AvailabilitySectionOptions, type BillingSectionOptions, BuilderLibraryAdmin, CandidateStagePanel, type CandidateStagePanelProps, ChapterAdmin, type ChapterAdminAuthAdapter, type ChapterAdminAuthConfig, type ChapterAdminAuthLoadContext, type ChapterAdminProps, type ChapterAdminUser, type CollectionSectionOptions, type DashboardSectionOptions, type EmailSectionOptions, LeaderAdmissionAction, type LeaderAdmissionActionProps, LeaderNetworkOverview, type MeetingsSectionOptions, MemberContentAdmin, MembershipPolicyVersions, type MembershipPolicyVersionsProps, NamedSeatRecordPanel, type NamedSeatRecordPanelProps, NetworkRecordEditor, NetworkRecordsWorkspace, NetworkSeatBilling, NetworkShareActions, type NetworkShareActionsProps, Panel, PaymentRecoveryQueue, type PeopleSectionOptions, RecordActions, type RecordActionsProps, RecordAdmissionPanel, type RecordAdmissionPanelProps, ThemeWarning, adminFetch, adminRouteFromUrl, adminRouteHref, adminSectionFromUrl, adminSectionHref, admissionGrantsWorkspace, applicationLifecycleAdapter, availabilitySection, billingSection, builderLibrarySection, collectionSection, dashboardSection, defaultAdminSections, defaultAdminWorkspaces, emailSection, loadChapterAdminConfig, loadChapterAdminUser, meetingsSection, memberContentSection, networkRecordsWorkspace, peopleSection, useAdminResource };
|
package/dist/ui/admin/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
LeaderAdmissionAction,
|
|
10
10
|
LeaderNetworkOverview,
|
|
11
11
|
MemberContentAdmin,
|
|
12
|
+
MembershipPolicyVersions,
|
|
12
13
|
NamedSeatRecordPanel,
|
|
13
14
|
NetworkRecordEditor,
|
|
14
15
|
NetworkRecordsWorkspace,
|
|
@@ -41,11 +42,11 @@ import {
|
|
|
41
42
|
networkRecordsWorkspace,
|
|
42
43
|
peopleSection,
|
|
43
44
|
useAdminResource
|
|
44
|
-
} from "../../chunk-
|
|
45
|
+
} from "../../chunk-7N4VDWM5.js";
|
|
45
46
|
import {
|
|
46
47
|
ChapterCopyProvider,
|
|
47
48
|
useChapterCopy
|
|
48
|
-
} from "../../chunk-
|
|
49
|
+
} from "../../chunk-A6W53GVM.js";
|
|
49
50
|
export {
|
|
50
51
|
APPLICATION_STAGES,
|
|
51
52
|
AdminNote,
|
|
@@ -58,6 +59,7 @@ export {
|
|
|
58
59
|
LeaderAdmissionAction,
|
|
59
60
|
LeaderNetworkOverview,
|
|
60
61
|
MemberContentAdmin,
|
|
62
|
+
MembershipPolicyVersions,
|
|
61
63
|
NamedSeatRecordPanel,
|
|
62
64
|
NetworkRecordEditor,
|
|
63
65
|
NetworkRecordsWorkspace,
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, 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-
|
|
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-CYLlPzAc.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, 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
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
timeLabel,
|
|
27
27
|
tzShort,
|
|
28
28
|
useTierSelection
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-7RIT2UN5.js";
|
|
30
30
|
import {
|
|
31
31
|
APPLICATION_STAGES,
|
|
32
32
|
AdminNote,
|
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
LeaderAdmissionAction,
|
|
39
39
|
LeaderNetworkOverview,
|
|
40
40
|
MemberContentAdmin,
|
|
41
|
+
MembershipPolicyVersions,
|
|
41
42
|
NamedSeatRecordPanel,
|
|
42
43
|
NetworkRecordEditor,
|
|
43
44
|
NetworkRecordsWorkspace,
|
|
@@ -70,12 +71,12 @@ import {
|
|
|
70
71
|
networkRecordsWorkspace,
|
|
71
72
|
peopleSection,
|
|
72
73
|
useAdminResource
|
|
73
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-7N4VDWM5.js";
|
|
74
75
|
import {
|
|
75
76
|
BrandStyle,
|
|
76
77
|
ChapterCopyProvider,
|
|
77
78
|
useChapterCopy
|
|
78
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-A6W53GVM.js";
|
|
79
80
|
import "../chunk-IVXVECKR.js";
|
|
80
81
|
export {
|
|
81
82
|
APPLICATION_STAGES,
|
|
@@ -101,6 +102,7 @@ export {
|
|
|
101
102
|
MemberRestart,
|
|
102
103
|
MembersArea,
|
|
103
104
|
MembershipCards,
|
|
105
|
+
MembershipPolicyVersions,
|
|
104
106
|
NamedSeatRecordPanel,
|
|
105
107
|
NetworkRecordEditor,
|
|
106
108
|
NetworkRecordsWorkspace,
|
|
@@ -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-
|
|
4
|
-
export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-
|
|
3
|
+
import { d as MemberContentProjection, e as MemberContentPageProjection, b as ChapterCopy, f as ChapterBrand } from '../../copy-context-CYLlPzAc.js';
|
|
4
|
+
export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-CYLlPzAc.js';
|
|
5
5
|
import { FieldType, FieldConditions } from '@odla-ai/crm';
|
|
6
6
|
|
|
7
7
|
/** A bookable slot: a start instant in epoch milliseconds. */
|
package/dist/ui/member/index.js
CHANGED
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
timeLabel,
|
|
27
27
|
tzShort,
|
|
28
28
|
useTierSelection
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-7RIT2UN5.js";
|
|
30
30
|
import {
|
|
31
31
|
BrandStyle,
|
|
32
32
|
ChapterCopyProvider,
|
|
33
33
|
useChapterCopy
|
|
34
|
-
} from "../../chunk-
|
|
34
|
+
} from "../../chunk-A6W53GVM.js";
|
|
35
35
|
import "../../chunk-IVXVECKR.js";
|
|
36
36
|
export {
|
|
37
37
|
BrandStyle,
|