@odla-ai/chapter 0.51.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.
@@ -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-Ddat__H5.js';
5
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-Ddat__H5.js';
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
- 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, 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 };
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 };
@@ -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-4EA5V4JE.js";
45
+ } from "../../chunk-7N4VDWM5.js";
45
46
  import {
46
47
  ChapterCopyProvider,
47
48
  useChapterCopy
48
- } from "../../chunk-JXX4BFDP.js";
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,
@@ -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-Ddat__H5.js';
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-UAXWA5BL.js";
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-4EA5V4JE.js";
74
+ } from "../chunk-7N4VDWM5.js";
74
75
  import {
75
76
  BrandStyle,
76
77
  ChapterCopyProvider,
77
78
  useChapterCopy
78
- } from "../chunk-JXX4BFDP.js";
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-Ddat__H5.js';
4
- export { C as ChapterCopyProvider, u as useChapterCopy } from '../../copy-context-Ddat__H5.js';
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. */
@@ -26,12 +26,12 @@ import {
26
26
  timeLabel,
27
27
  tzShort,
28
28
  useTierSelection
29
- } from "../../chunk-UAXWA5BL.js";
29
+ } from "../../chunk-7RIT2UN5.js";
30
30
  import {
31
31
  BrandStyle,
32
32
  ChapterCopyProvider,
33
33
  useChapterCopy
34
- } from "../../chunk-JXX4BFDP.js";
34
+ } from "../../chunk-A6W53GVM.js";
35
35
  import "../../chunk-IVXVECKR.js";
36
36
  export {
37
37
  BrandStyle,