@appfunnel-dev/sdk 2.0.0-canary.10 → 2.0.0-canary.11
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/dist/{chunk-Y4YNJ2EX.cjs → chunk-RKPRMTSU.cjs} +43 -2
- package/dist/chunk-RKPRMTSU.cjs.map +1 -0
- package/dist/{chunk-VW2HVPR4.js → chunk-SXENKZ4U.js} +43 -3
- package/dist/chunk-SXENKZ4U.js.map +1 -0
- package/dist/index.cjs +66 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -3
- package/dist/index.d.ts +18 -3
- package/dist/index.js +24 -7
- package/dist/index.js.map +1 -1
- package/dist/{manifest-B3Tdab0M.d.cts → manifest-C2mDXWNU.d.cts} +77 -1
- package/dist/{manifest-B3Tdab0M.d.ts → manifest-C2mDXWNU.d.ts} +77 -1
- package/dist/manifest-entry.cjs +20 -20
- package/dist/manifest-entry.d.cts +2 -2
- package/dist/manifest-entry.d.ts +2 -2
- package/dist/manifest-entry.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-VW2HVPR4.js.map +0 -1
- package/dist/chunk-Y4YNJ2EX.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentType, ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import { V as VariableValue, a as VariableConfig, A as Acquisition, O as Offering, D as Direction, F as FunnelContext, R as RuntimeExperiment, b as FunnelSnapshot, c as FunnelDefinition, d as buildContext, e as OfferingInput, P as PageMeta, f as PageContext } from './manifest-
|
|
4
|
-
export { B as BrowserContext, g as BuildContextOptions, C as ClickIdContext, h as CompileInput, i as Condition, j as ConditionOp, k as DeviceContext, E as EdgeCondition, l as ExperimentArm, m as ExperimentResolution, n as FlowPage, o as FunnelLocales, p as FunnelManifest,
|
|
3
|
+
import { V as VariableValue, a as VariableConfig, A as Acquisition, O as Offering, D as Direction, F as FunnelContext, R as RuntimeExperiment, b as FunnelSnapshot, c as FunnelDefinition, d as buildContext, e as OfferingInput, P as PageMeta, f as PageContext, G as GroupProgress } from './manifest-C2mDXWNU.cjs';
|
|
4
|
+
export { B as BrowserContext, g as BuildContextOptions, C as ClickIdContext, h as CompileInput, i as Condition, j as ConditionOp, k as DeviceContext, E as EdgeCondition, l as ExperimentArm, m as ExperimentResolution, n as FlowPage, o as FunnelLocales, p as FunnelManifest, q as Gate, I as IdentityContext, r as Interval, L as LocaleContext, M as ManifestEdge, s as ManifestPage, t as ManifestValidation, u as Money, v as OsContext, w as PageGroup, x as PageType, y as Predicate, z as ResolvedOffering, H as Route, S as SessionContext, J as SystemContext, U as UtmContext, K as assignVariant, N as bucketingSeed, Q as buildAcquisition, T as buildCatalog, W as compileManifest, X as currencyExponent, Y as defineFunnel, Z as definePage, _ as entryGuard, $ as evaluateCondition, a0 as evaluateGate, a1 as expectedPathLength, a2 as fnv1a, a3 as formatMoney, a4 as formatOffering, a5 as groupProgress, a6 as hashToUnit, a7 as isRtl, a8 as isVariantKey, a9 as nextPage, aa as outgoingKeys, ab as pageMeta, ac as parseSlotKey, ad as pickByWeight, ae as resolveExperiments, af as resolveLocale, ag as resolveOffering, ah as resolveRoute } from './manifest-C2mDXWNU.cjs';
|
|
5
5
|
import { NavSnapshot } from './protocol.cjs';
|
|
6
6
|
import { a as CheckoutDriver, C as CheckoutDriverContext } from './checkout-DBp4bCpC.cjs';
|
|
7
7
|
export { b as Checkout, c as CheckoutCallbacks, d as CheckoutHandle, e as CheckoutProps, f as CheckoutRequest, g as CheckoutResult, h as CheckoutResume, i as CheckoutStatus, F as FailureModalProps, j as FailureRoute, M as MockDriverOptions, O as OnFailedMap, U as Upsell, k as UpsellProps, l as UseCheckoutOptions, m as createMockDriver, n as driverWithEmail, u as useCheckout } from './checkout-DBp4bCpC.cjs';
|
|
@@ -618,6 +618,21 @@ declare function FunnelView({ pages, initialKey, trustInitialKey, layout, fallba
|
|
|
618
618
|
declare function useNavigation(): NavigationState;
|
|
619
619
|
/** `usePage()` — the current page's read-only context, reactive to navigation. */
|
|
620
620
|
declare function usePage(): PageContext;
|
|
621
|
+
/**
|
|
622
|
+
* `useGroupProgress()` — the visitor-routed, branch-aware grouped-progress structure
|
|
623
|
+
* for a grouped `<ProgressBar>`: ordered {@link PageGroup} segments (from `meta.group`),
|
|
624
|
+
* the `activeIndex` of the current group (`-1` when the current page is ungrouped), and
|
|
625
|
+
* the active group's within-group `activeFraction` (0–1). Counts only the pages THIS
|
|
626
|
+
* visitor will actually visit given their answers (see {@link groupProgress}). A funnel
|
|
627
|
+
* with no `group` keys yields `{ groups: [], activeIndex: -1, activeFraction: 0 }`.
|
|
628
|
+
* Must be used inside `<FunnelView>`.
|
|
629
|
+
*
|
|
630
|
+
* Each segment's `key` is the **slug identifier** from {@link PageMeta.group}, NOT a
|
|
631
|
+
* display string — resolve it to a label in your funnel code, e.g.
|
|
632
|
+
* `const GROUP_LABELS = { profile: 'My Profile' }; GROUP_LABELS[group.key]` or
|
|
633
|
+
* `t(`groups.${group.key}`)`. This keeps grouping stable across copy and locale changes.
|
|
634
|
+
*/
|
|
635
|
+
declare function useGroupProgress(): GroupProgress;
|
|
621
636
|
|
|
622
637
|
/**
|
|
623
638
|
* Funnel asset map: logical name (e.g. `logo.svg`) → content-addressed CDN URL,
|
|
@@ -1094,4 +1109,4 @@ interface ScriptProps {
|
|
|
1094
1109
|
*/
|
|
1095
1110
|
declare function Script({ src, strategy, id, async, defer, nonce, attributes, onLoad, onError, }: ScriptProps): null;
|
|
1096
1111
|
|
|
1097
|
-
export { Acquisition, type AppfunnelBusApi, AssetsContext, AssetsProvider, Back, type BackProps, type BusAccessors, type BusEvent, type CatalogEvent, CheckoutDriver, CheckoutDriverContext, Choice, type ChoiceOption, type ChoiceProps, type CreateFunnelTreeInput, Direction, EVENT_CATALOG, type EventMeta, type EventSource, type Formatters, type Funnel, type FunnelBus, FunnelContext, FunnelDefinition, type FunnelEventDataMap, FunnelProvider, type FunnelProviderProps, FunnelSnapshot, FunnelToaster, FunnelView, type KnownFunnelEvent, type MessageCatalog, Modal, type ModalHandler, type ModalHocProps, type ModalProps, type ModalState, type MountModule, type MountOpts, Namespace, type NavigationState, Next, type NextProps, Offering, OfferingInput, PageContext, PageMeta, type PageModule, type PlatformTrackingConfig, type PluralCategory, RuntimeExperiment, type RuntimePage, Script, type ScriptProps, Sheet, type SheetProps, type SheetSide, type TFunction, type Tracker, type Translation, VariableStore, attachBus, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createPlatformTracker, defineModal, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, unregisterModal, useActiveLocale, useAsset, useAssets, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
|
1112
|
+
export { Acquisition, type AppfunnelBusApi, AssetsContext, AssetsProvider, Back, type BackProps, type BusAccessors, type BusEvent, type CatalogEvent, CheckoutDriver, CheckoutDriverContext, Choice, type ChoiceOption, type ChoiceProps, type CreateFunnelTreeInput, Direction, EVENT_CATALOG, type EventMeta, type EventSource, type Formatters, type Funnel, type FunnelBus, FunnelContext, FunnelDefinition, type FunnelEventDataMap, FunnelProvider, type FunnelProviderProps, FunnelSnapshot, FunnelToaster, FunnelView, GroupProgress, type KnownFunnelEvent, type MessageCatalog, Modal, type ModalHandler, type ModalHocProps, type ModalProps, type ModalState, type MountModule, type MountOpts, Namespace, type NavigationState, Next, type NextProps, Offering, OfferingInput, PageContext, PageMeta, type PageModule, type PlatformTrackingConfig, type PluralCategory, RuntimeExperiment, type RuntimePage, Script, type ScriptProps, Sheet, type SheetProps, type SheetSide, type TFunction, type Tracker, type Translation, VariableStore, attachBus, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createPlatformTracker, defineModal, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, unregisterModal, useActiveLocale, useAsset, useAssets, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useGroupProgress, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentType, ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import { V as VariableValue, a as VariableConfig, A as Acquisition, O as Offering, D as Direction, F as FunnelContext, R as RuntimeExperiment, b as FunnelSnapshot, c as FunnelDefinition, d as buildContext, e as OfferingInput, P as PageMeta, f as PageContext } from './manifest-
|
|
4
|
-
export { B as BrowserContext, g as BuildContextOptions, C as ClickIdContext, h as CompileInput, i as Condition, j as ConditionOp, k as DeviceContext, E as EdgeCondition, l as ExperimentArm, m as ExperimentResolution, n as FlowPage, o as FunnelLocales, p as FunnelManifest,
|
|
3
|
+
import { V as VariableValue, a as VariableConfig, A as Acquisition, O as Offering, D as Direction, F as FunnelContext, R as RuntimeExperiment, b as FunnelSnapshot, c as FunnelDefinition, d as buildContext, e as OfferingInput, P as PageMeta, f as PageContext, G as GroupProgress } from './manifest-C2mDXWNU.js';
|
|
4
|
+
export { B as BrowserContext, g as BuildContextOptions, C as ClickIdContext, h as CompileInput, i as Condition, j as ConditionOp, k as DeviceContext, E as EdgeCondition, l as ExperimentArm, m as ExperimentResolution, n as FlowPage, o as FunnelLocales, p as FunnelManifest, q as Gate, I as IdentityContext, r as Interval, L as LocaleContext, M as ManifestEdge, s as ManifestPage, t as ManifestValidation, u as Money, v as OsContext, w as PageGroup, x as PageType, y as Predicate, z as ResolvedOffering, H as Route, S as SessionContext, J as SystemContext, U as UtmContext, K as assignVariant, N as bucketingSeed, Q as buildAcquisition, T as buildCatalog, W as compileManifest, X as currencyExponent, Y as defineFunnel, Z as definePage, _ as entryGuard, $ as evaluateCondition, a0 as evaluateGate, a1 as expectedPathLength, a2 as fnv1a, a3 as formatMoney, a4 as formatOffering, a5 as groupProgress, a6 as hashToUnit, a7 as isRtl, a8 as isVariantKey, a9 as nextPage, aa as outgoingKeys, ab as pageMeta, ac as parseSlotKey, ad as pickByWeight, ae as resolveExperiments, af as resolveLocale, ag as resolveOffering, ah as resolveRoute } from './manifest-C2mDXWNU.js';
|
|
5
5
|
import { NavSnapshot } from './protocol.js';
|
|
6
6
|
import { a as CheckoutDriver, C as CheckoutDriverContext } from './checkout-ClaO5IYV.js';
|
|
7
7
|
export { b as Checkout, c as CheckoutCallbacks, d as CheckoutHandle, e as CheckoutProps, f as CheckoutRequest, g as CheckoutResult, h as CheckoutResume, i as CheckoutStatus, F as FailureModalProps, j as FailureRoute, M as MockDriverOptions, O as OnFailedMap, U as Upsell, k as UpsellProps, l as UseCheckoutOptions, m as createMockDriver, n as driverWithEmail, u as useCheckout } from './checkout-ClaO5IYV.js';
|
|
@@ -618,6 +618,21 @@ declare function FunnelView({ pages, initialKey, trustInitialKey, layout, fallba
|
|
|
618
618
|
declare function useNavigation(): NavigationState;
|
|
619
619
|
/** `usePage()` — the current page's read-only context, reactive to navigation. */
|
|
620
620
|
declare function usePage(): PageContext;
|
|
621
|
+
/**
|
|
622
|
+
* `useGroupProgress()` — the visitor-routed, branch-aware grouped-progress structure
|
|
623
|
+
* for a grouped `<ProgressBar>`: ordered {@link PageGroup} segments (from `meta.group`),
|
|
624
|
+
* the `activeIndex` of the current group (`-1` when the current page is ungrouped), and
|
|
625
|
+
* the active group's within-group `activeFraction` (0–1). Counts only the pages THIS
|
|
626
|
+
* visitor will actually visit given their answers (see {@link groupProgress}). A funnel
|
|
627
|
+
* with no `group` keys yields `{ groups: [], activeIndex: -1, activeFraction: 0 }`.
|
|
628
|
+
* Must be used inside `<FunnelView>`.
|
|
629
|
+
*
|
|
630
|
+
* Each segment's `key` is the **slug identifier** from {@link PageMeta.group}, NOT a
|
|
631
|
+
* display string — resolve it to a label in your funnel code, e.g.
|
|
632
|
+
* `const GROUP_LABELS = { profile: 'My Profile' }; GROUP_LABELS[group.key]` or
|
|
633
|
+
* `t(`groups.${group.key}`)`. This keeps grouping stable across copy and locale changes.
|
|
634
|
+
*/
|
|
635
|
+
declare function useGroupProgress(): GroupProgress;
|
|
621
636
|
|
|
622
637
|
/**
|
|
623
638
|
* Funnel asset map: logical name (e.g. `logo.svg`) → content-addressed CDN URL,
|
|
@@ -1094,4 +1109,4 @@ interface ScriptProps {
|
|
|
1094
1109
|
*/
|
|
1095
1110
|
declare function Script({ src, strategy, id, async, defer, nonce, attributes, onLoad, onError, }: ScriptProps): null;
|
|
1096
1111
|
|
|
1097
|
-
export { Acquisition, type AppfunnelBusApi, AssetsContext, AssetsProvider, Back, type BackProps, type BusAccessors, type BusEvent, type CatalogEvent, CheckoutDriver, CheckoutDriverContext, Choice, type ChoiceOption, type ChoiceProps, type CreateFunnelTreeInput, Direction, EVENT_CATALOG, type EventMeta, type EventSource, type Formatters, type Funnel, type FunnelBus, FunnelContext, FunnelDefinition, type FunnelEventDataMap, FunnelProvider, type FunnelProviderProps, FunnelSnapshot, FunnelToaster, FunnelView, type KnownFunnelEvent, type MessageCatalog, Modal, type ModalHandler, type ModalHocProps, type ModalProps, type ModalState, type MountModule, type MountOpts, Namespace, type NavigationState, Next, type NextProps, Offering, OfferingInput, PageContext, PageMeta, type PageModule, type PlatformTrackingConfig, type PluralCategory, RuntimeExperiment, type RuntimePage, Script, type ScriptProps, Sheet, type SheetProps, type SheetSide, type TFunction, type Tracker, type Translation, VariableStore, attachBus, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createPlatformTracker, defineModal, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, unregisterModal, useActiveLocale, useAsset, useAssets, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
|
1112
|
+
export { Acquisition, type AppfunnelBusApi, AssetsContext, AssetsProvider, Back, type BackProps, type BusAccessors, type BusEvent, type CatalogEvent, CheckoutDriver, CheckoutDriverContext, Choice, type ChoiceOption, type ChoiceProps, type CreateFunnelTreeInput, Direction, EVENT_CATALOG, type EventMeta, type EventSource, type Formatters, type Funnel, type FunnelBus, FunnelContext, FunnelDefinition, type FunnelEventDataMap, FunnelProvider, type FunnelProviderProps, FunnelSnapshot, FunnelToaster, FunnelView, GroupProgress, type KnownFunnelEvent, type MessageCatalog, Modal, type ModalHandler, type ModalHocProps, type ModalProps, type ModalState, type MountModule, type MountOpts, Namespace, type NavigationState, Next, type NextProps, Offering, OfferingInput, PageContext, PageMeta, type PageModule, type PlatformTrackingConfig, type PluralCategory, RuntimeExperiment, type RuntimePage, Script, type ScriptProps, Sheet, type SheetProps, type SheetSide, type TFunction, type Tracker, type Translation, VariableStore, attachBus, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createPlatformTracker, defineModal, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, unregisterModal, useActiveLocale, useAsset, useAssets, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useGroupProgress, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isRtl, formatOffering, bucketingSeed, resolveExperiments, entryGuard, evaluateGate, expectedPathLength, nextPage, outgoingKeys, buildCatalog, resolveLocale } from './chunk-
|
|
2
|
-
export { assignVariant, bucketingSeed, buildCatalog, compileManifest, currencyExponent, defineFunnel, definePage, entryGuard, evaluateCondition, evaluateGate, expectedPathLength, fnv1a, formatMoney, formatOffering, hashToUnit, isRtl, isVariantKey, nextPage, outgoingKeys, pageMeta, parseSlotKey, pickByWeight, resolveExperiments, resolveLocale, resolveOffering, resolveRoute } from './chunk-
|
|
1
|
+
import { isRtl, formatOffering, bucketingSeed, resolveExperiments, entryGuard, evaluateGate, expectedPathLength, groupProgress, nextPage, outgoingKeys, buildCatalog, resolveLocale } from './chunk-SXENKZ4U.js';
|
|
2
|
+
export { assignVariant, bucketingSeed, buildCatalog, compileManifest, currencyExponent, defineFunnel, definePage, entryGuard, evaluateCondition, evaluateGate, expectedPathLength, fnv1a, formatMoney, formatOffering, groupProgress, hashToUnit, isRtl, isVariantKey, nextPage, outgoingKeys, pageMeta, parseSlotKey, pickByWeight, resolveExperiments, resolveLocale, resolveOffering, resolveRoute } from './chunk-SXENKZ4U.js';
|
|
3
3
|
import { AF_PROTOCOL } from './chunk-ZZJG4EYL.js';
|
|
4
4
|
import { checkoutError, resolveSurface, isInlineSurface, PROVIDER_PROFILES } from './chunk-OXQBEKZ5.js';
|
|
5
5
|
export { INLINE_SURFACES, PROVIDER_PROFILES, checkoutError, isInlineSurface, isMerchantOfRecord, isOrchestrator, isRenderableSurface, renderableSurfaces, resolveSurface, surfacesFor, validateCheckout, validateUpsell } from './chunk-OXQBEKZ5.js';
|
|
@@ -704,15 +704,17 @@ async function captureScreenshot(params = {}) {
|
|
|
704
704
|
|
|
705
705
|
// src/flow/flow.tsx
|
|
706
706
|
var NavContext = createContext(null);
|
|
707
|
+
var GroupProgressContext = createContext(null);
|
|
707
708
|
var ExperimentContext = createContext({});
|
|
708
709
|
function useExperiment(id) {
|
|
709
710
|
return useContext(ExperimentContext)[id];
|
|
710
711
|
}
|
|
711
|
-
function pageContextFor(currentKey, slug, index, total, startedAt) {
|
|
712
|
+
function pageContextFor(currentKey, slug, group, index, total, startedAt) {
|
|
712
713
|
const denom = Math.max(total, index + 1);
|
|
713
714
|
return {
|
|
714
715
|
key: currentKey,
|
|
715
716
|
slug,
|
|
717
|
+
group,
|
|
716
718
|
index,
|
|
717
719
|
total: denom,
|
|
718
720
|
progressPercentage: denom > 0 ? Math.min(100, Math.round((index + 1) / denom * 100)) : 0,
|
|
@@ -822,9 +824,15 @@ function FunnelView({
|
|
|
822
824
|
[flow, startKey, currentKey, funnel]
|
|
823
825
|
);
|
|
824
826
|
const slug = pageByKey.get(currentKey)?.meta?.slug ?? currentKey;
|
|
827
|
+
const group = pageByKey.get(currentKey)?.meta?.group;
|
|
825
828
|
const page = useMemo(
|
|
826
|
-
() => pageContextFor(currentKey, slug, index, total, funnel.context.system.now),
|
|
827
|
-
[currentKey, slug, index, total, funnel.context.system.now]
|
|
829
|
+
() => pageContextFor(currentKey, slug, group, index, total, funnel.context.system.now),
|
|
830
|
+
[currentKey, slug, group, index, total, funnel.context.system.now]
|
|
831
|
+
);
|
|
832
|
+
const groups = useMemo(
|
|
833
|
+
() => groupProgress(flow, startKey, currentKey, funnel.snapshot()),
|
|
834
|
+
// currentKey in deps: re-trace as each step's answers settle the branch.
|
|
835
|
+
[flow, startKey, currentKey, funnel]
|
|
828
836
|
);
|
|
829
837
|
useEffect(() => {
|
|
830
838
|
funnel.context.page = page;
|
|
@@ -938,7 +946,11 @@ function FunnelView({
|
|
|
938
946
|
return createElement(
|
|
939
947
|
ExperimentContext.Provider,
|
|
940
948
|
{ value: experiments.assignments },
|
|
941
|
-
createElement(
|
|
949
|
+
createElement(
|
|
950
|
+
NavContext.Provider,
|
|
951
|
+
{ value },
|
|
952
|
+
createElement(GroupProgressContext.Provider, { value: groups }, content)
|
|
953
|
+
)
|
|
942
954
|
);
|
|
943
955
|
}
|
|
944
956
|
function useNavigation() {
|
|
@@ -1024,6 +1036,11 @@ function EmbedBridge() {
|
|
|
1024
1036
|
function usePage() {
|
|
1025
1037
|
return useNavigation().page;
|
|
1026
1038
|
}
|
|
1039
|
+
function useGroupProgress() {
|
|
1040
|
+
const ctx = useContext(GroupProgressContext);
|
|
1041
|
+
if (!ctx) throw new Error("useGroupProgress must be used inside <FunnelView>");
|
|
1042
|
+
return ctx;
|
|
1043
|
+
}
|
|
1027
1044
|
var symModalId = /* @__PURE__ */ Symbol("AppfunnelModalId");
|
|
1028
1045
|
var initialState = {};
|
|
1029
1046
|
var ModalStateContext = createContext(initialState);
|
|
@@ -3701,6 +3718,6 @@ function Script({
|
|
|
3701
3718
|
return null;
|
|
3702
3719
|
}
|
|
3703
3720
|
|
|
3704
|
-
export { AssetsContext, AssetsProvider, Back, Checkout, CheckoutResume, Choice, EVENT_CATALOG, FunnelProvider, FunnelToaster, FunnelView, Modal, Next, Script, Sheet, Upsell, VariableStore, attachBus, buildAcquisition, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createMockDriver, createPlatformTracker, defineModal, driverWithEmail, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, toast, unregisterModal, useActiveLocale, useAsset, useAssets, useCheckout, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
|
3721
|
+
export { AssetsContext, AssetsProvider, Back, Checkout, CheckoutResume, Choice, EVENT_CATALOG, FunnelProvider, FunnelToaster, FunnelView, Modal, Next, Script, Sheet, Upsell, VariableStore, attachBus, buildAcquisition, buildContext, createBus, createConsoleTracker, createFunnelStore, createFunnelTree, createMockDriver, createPlatformTracker, defineModal, driverWithEmail, hideModal, integrationEvents, isIntegrationEvent, isTrackableEvent, newEventId, registerModal, removeModal, showModal, toast, unregisterModal, useActiveLocale, useAsset, useAssets, useCheckout, useClickIds, useContextValue, useData, useDevice, useExperiment, useField, useFunnel, useGroupProgress, useLocale, useModal, useNavigation, useOffering, useOfferings, usePage, useResponse, useSystem, useTracker, useTranslation, useUserAttribute, useUtm, withBus };
|
|
3705
3722
|
//# sourceMappingURL=index.js.map
|
|
3706
3723
|
//# sourceMappingURL=index.js.map
|