@flamingo-stack/openframe-frontend-core 0.0.672 → 0.0.673-2406.7238.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/dist/{chunk-PSL2WBEO.cjs → chunk-26NSIJMT.cjs} +33 -33
- package/dist/{chunk-PSL2WBEO.cjs.map → chunk-26NSIJMT.cjs.map} +1 -1
- package/dist/{chunk-UOQRNZIB.cjs → chunk-6QUKYN4K.cjs} +17 -17
- package/dist/{chunk-UOQRNZIB.cjs.map → chunk-6QUKYN4K.cjs.map} +1 -1
- package/dist/{chunk-AL4I5HHB.js → chunk-BF7GZ6BS.js} +4 -4
- package/dist/{chunk-CBCETEB4.cjs → chunk-DRURJCEY.cjs} +6 -6
- package/dist/{chunk-CBCETEB4.cjs.map → chunk-DRURJCEY.cjs.map} +1 -1
- package/dist/{chunk-GV7R2NTS.cjs → chunk-G262S3Q5.cjs} +23 -23
- package/dist/{chunk-GV7R2NTS.cjs.map → chunk-G262S3Q5.cjs.map} +1 -1
- package/dist/{chunk-HVEX4BSC.cjs → chunk-HJ532KQR.cjs} +60 -45
- package/dist/chunk-HJ532KQR.cjs.map +1 -0
- package/dist/{chunk-TQPKNG2E.js → chunk-HRM6242Y.js} +3 -3
- package/dist/{chunk-HOEVEB7N.cjs → chunk-IFQMIYFO.cjs} +50 -23
- package/dist/chunk-IFQMIYFO.cjs.map +1 -0
- package/dist/{chunk-Z6E45TJM.js → chunk-IG7M3XKX.js} +5 -5
- package/dist/{chunk-EKABOXNB.js → chunk-II6ABVLK.js} +2 -2
- package/dist/{chunk-ZRIVCLPR.js → chunk-JD5TKRCU.js} +1 -1
- package/dist/chunk-JD5TKRCU.js.map +1 -0
- package/dist/{chunk-SNWAN52K.cjs → chunk-K365MY6G.cjs} +3 -3
- package/dist/{chunk-SNWAN52K.cjs.map → chunk-K365MY6G.cjs.map} +1 -1
- package/dist/{chunk-NETIHUEY.cjs → chunk-KV7W5T6U.cjs} +10 -10
- package/dist/{chunk-NETIHUEY.cjs.map → chunk-KV7W5T6U.cjs.map} +1 -1
- package/dist/{chunk-H54F476P.cjs → chunk-KYF5EONP.cjs} +3 -3
- package/dist/{chunk-H54F476P.cjs.map → chunk-KYF5EONP.cjs.map} +1 -1
- package/dist/{chunk-D55IENZJ.cjs → chunk-LCMT2GZK.cjs} +1 -1
- package/dist/chunk-LCMT2GZK.cjs.map +1 -0
- package/dist/{chunk-TFSGYKWG.js → chunk-LMUZZUYC.js} +34 -7
- package/dist/chunk-LMUZZUYC.js.map +1 -0
- package/dist/{chunk-XLJNYTUW.cjs → chunk-N6TC6IPV.cjs} +56 -55
- package/dist/chunk-N6TC6IPV.cjs.map +1 -0
- package/dist/{chunk-IBGHJLNT.js → chunk-OGOMAK7B.js} +2 -2
- package/dist/{chunk-PWPYCJ33.js → chunk-P4GUIOLP.js} +2 -2
- package/dist/{chunk-7KM34VWL.js → chunk-RRU46J3N.js} +3 -3
- package/dist/{chunk-RD3I5PBB.cjs → chunk-THSIFQGS.cjs} +15 -15
- package/dist/{chunk-RD3I5PBB.cjs.map → chunk-THSIFQGS.cjs.map} +1 -1
- package/dist/{chunk-4AZWVS7F.js → chunk-TTHBFT7Q.js} +7 -6
- package/dist/{chunk-4AZWVS7F.js.map → chunk-TTHBFT7Q.js.map} +1 -1
- package/dist/{chunk-YNGAJGYB.cjs → chunk-TZP2OXHG.cjs} +346 -6
- package/dist/chunk-TZP2OXHG.cjs.map +1 -0
- package/dist/{chunk-VZRVQEMT.cjs → chunk-U2H3C4NT.cjs} +7 -7
- package/dist/{chunk-VZRVQEMT.cjs.map → chunk-U2H3C4NT.cjs.map} +1 -1
- package/dist/{chunk-KSBDARII.js → chunk-UFMXQKVT.js} +5 -5
- package/dist/{chunk-42OVTTOM.js → chunk-UMTXGEPU.js} +18 -3
- package/dist/{chunk-42OVTTOM.js.map → chunk-UMTXGEPU.js.map} +1 -1
- package/dist/{chunk-3PVOF3IB.js → chunk-UTHZ7DLN.js} +343 -3
- package/dist/{chunk-3PVOF3IB.js.map → chunk-UTHZ7DLN.js.map} +1 -1
- package/dist/{chunk-UUOBCUHW.cjs → chunk-UXT5EK27.cjs} +3 -3
- package/dist/{chunk-UUOBCUHW.cjs.map → chunk-UXT5EK27.cjs.map} +1 -1
- package/dist/{chunk-T3KXCOB2.js → chunk-VK5737GE.js} +2 -2
- package/dist/{chunk-O5PYXQ6H.js → chunk-VKLM5UKG.js} +3 -3
- package/dist/{chunk-6S2KLT7O.js → chunk-X2DR3XNN.js} +4 -4
- package/dist/{chunk-JREG4T6K.cjs → chunk-YCYOZAB5.cjs} +3 -3
- package/dist/{chunk-JREG4T6K.cjs.map → chunk-YCYOZAB5.cjs.map} +1 -1
- package/dist/{chunk-XDTU23P4.js → chunk-YWQVL5VJ.js} +2 -2
- package/dist/{chunk-BODMICIH.cjs → chunk-Z5K4IQZU.cjs} +40 -40
- package/dist/{chunk-BODMICIH.cjs.map → chunk-Z5K4IQZU.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +15 -14
- package/dist/components/case-studies/index.cjs.map +1 -1
- package/dist/components/case-studies/index.js +6 -5
- package/dist/components/case-studies/index.js.map +1 -1
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/contact/contact-form.d.ts +6 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/features/waitlist-form.d.ts +7 -2
- package/dist/components/features/waitlist-form.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +53 -52
- package/dist/components/help-center-pages/index.cjs.map +1 -1
- package/dist/components/help-center-pages/index.js +16 -15
- package/dist/components/help-center-pages/index.js.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +35 -35
- package/dist/components/index.js +14 -14
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +72 -37
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts +5 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +45 -10
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/tickets/help-center-create-form.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/contexts/endpoints-runtime-context.d.ts +5 -0
- package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-form-rescue.d.ts +37 -0
- package/dist/hooks/use-form-rescue.d.ts.map +1 -0
- package/dist/index.cjs +52 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +51 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/form-rescue.cjs +123 -0
- package/dist/utils/form-rescue.cjs.map +1 -0
- package/dist/utils/form-rescue.d.ts +105 -0
- package/dist/utils/form-rescue.d.ts.map +1 -0
- package/dist/utils/form-rescue.js +101 -0
- package/dist/utils/form-rescue.js.map +1 -0
- package/dist/utils/index.cjs +119 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +99 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +7 -1
- package/src/components/case-studies/share-experience-section.tsx +1 -0
- package/src/components/contact/contact-form.tsx +38 -2
- package/src/components/features/waitlist-form.tsx +27 -2
- package/src/components/help-center-pages/trust-center-sections.tsx +1 -0
- package/src/components/meeting-scheduler/booking-form.tsx +14 -0
- package/src/components/meeting-scheduler/index.tsx +38 -3
- package/src/components/tickets/help-center-create-form.tsx +2 -0
- package/src/contexts/endpoints-runtime-context.tsx +5 -0
- package/src/hooks/__tests__/use-form-rescue.test.tsx +189 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/use-form-rescue.ts +315 -0
- package/src/utils/__tests__/form-rescue.test.ts +106 -0
- package/src/utils/form-rescue.ts +198 -0
- package/src/utils/index.ts +5 -0
- package/dist/chunk-D55IENZJ.cjs.map +0 -1
- package/dist/chunk-HOEVEB7N.cjs.map +0 -1
- package/dist/chunk-HVEX4BSC.cjs.map +0 -1
- package/dist/chunk-TFSGYKWG.js.map +0 -1
- package/dist/chunk-XLJNYTUW.cjs.map +0 -1
- package/dist/chunk-YNGAJGYB.cjs.map +0 -1
- package/dist/chunk-ZRIVCLPR.js.map +0 -1
- /package/dist/{chunk-AL4I5HHB.js.map → chunk-BF7GZ6BS.js.map} +0 -0
- /package/dist/{chunk-TQPKNG2E.js.map → chunk-HRM6242Y.js.map} +0 -0
- /package/dist/{chunk-Z6E45TJM.js.map → chunk-IG7M3XKX.js.map} +0 -0
- /package/dist/{chunk-EKABOXNB.js.map → chunk-II6ABVLK.js.map} +0 -0
- /package/dist/{chunk-IBGHJLNT.js.map → chunk-OGOMAK7B.js.map} +0 -0
- /package/dist/{chunk-PWPYCJ33.js.map → chunk-P4GUIOLP.js.map} +0 -0
- /package/dist/{chunk-7KM34VWL.js.map → chunk-RRU46J3N.js.map} +0 -0
- /package/dist/{chunk-KSBDARII.js.map → chunk-UFMXQKVT.js.map} +0 -0
- /package/dist/{chunk-T3KXCOB2.js.map → chunk-VK5737GE.js.map} +0 -0
- /package/dist/{chunk-O5PYXQ6H.js.map → chunk-VKLM5UKG.js.map} +0 -0
- /package/dist/{chunk-6S2KLT7O.js.map → chunk-X2DR3XNN.js.map} +0 -0
- /package/dist/{chunk-XDTU23P4.js.map → chunk-YWQVL5VJ.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
SoftwareInfo,
|
|
10
10
|
SoftwareSourceBadge,
|
|
11
11
|
ToolBadge
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VKLM5UKG.js";
|
|
13
13
|
import {
|
|
14
14
|
AppHeader,
|
|
15
15
|
AppLayout,
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
SlidingSidebar,
|
|
30
30
|
TicketAlertsButton,
|
|
31
31
|
TopNavigation
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-X2DR3XNN.js";
|
|
33
33
|
import {
|
|
34
34
|
MobileNavigationDropdown,
|
|
35
35
|
MultiLevelNavigation,
|
|
36
36
|
StickySectionNav,
|
|
37
37
|
useSectionNavigation
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-VK5737GE.js";
|
|
39
|
+
import "./chunk-YWQVL5VJ.js";
|
|
40
40
|
import {
|
|
41
41
|
AIEnrichButton,
|
|
42
42
|
AIEnrichSection,
|
|
@@ -618,7 +618,7 @@ import {
|
|
|
618
618
|
withFirstTouchAttribution,
|
|
619
619
|
withWalkthroughOpenParam,
|
|
620
620
|
writeDismissCookie
|
|
621
|
-
} from "./chunk-
|
|
621
|
+
} from "./chunk-UMTXGEPU.js";
|
|
622
622
|
import "./chunk-L2SLFCXP.js";
|
|
623
623
|
import "./chunk-BJXDHKUX.js";
|
|
624
624
|
import {
|
|
@@ -626,12 +626,25 @@ import {
|
|
|
626
626
|
DEFAULT_MIN_FILL_MS,
|
|
627
627
|
DRAG_AND_DROP_MEDIA_QUERY,
|
|
628
628
|
ELAPSED_MS_FIELD,
|
|
629
|
+
FORM_DRAFT_STATUSES,
|
|
630
|
+
FORM_RESCUE_ATTEMPT_FIELD,
|
|
631
|
+
FORM_RESCUE_DEBOUNCE_MS,
|
|
632
|
+
FORM_RESCUE_EVENTS,
|
|
633
|
+
FORM_RESCUE_FORM_IDS,
|
|
634
|
+
FORM_RESCUE_MAX_FIELDS,
|
|
635
|
+
FORM_RESCUE_MAX_VALUE_CHARS,
|
|
636
|
+
FORM_RESCUE_RESUME_FIELD,
|
|
637
|
+
FORM_RESCUE_RESUME_PARAM,
|
|
638
|
+
FORM_RESCUE_SKIP_REASONS,
|
|
639
|
+
FORM_RESCUE_SUBMIT_KEYS,
|
|
640
|
+
FORM_RESCUE_VALUE_FIELDS,
|
|
629
641
|
GraphQLIntrospector,
|
|
630
642
|
HONEYPOT_FIELD,
|
|
631
643
|
HUMANITY_SIGNAL_KEYS,
|
|
632
644
|
ToastCard,
|
|
633
645
|
Toaster,
|
|
634
646
|
batchFetchAuthenticatedImages,
|
|
647
|
+
captureFormRescueEvent,
|
|
635
648
|
clearParams,
|
|
636
649
|
coerceValue,
|
|
637
650
|
configureAuthenticatedImage,
|
|
@@ -641,6 +654,7 @@ import {
|
|
|
641
654
|
evaluateHumanitySignals,
|
|
642
655
|
extractHumanitySignals,
|
|
643
656
|
extractVariablesFromQuery,
|
|
657
|
+
filledRescueFields,
|
|
644
658
|
findHoneypotCopySource,
|
|
645
659
|
flattenQueryVariables,
|
|
646
660
|
getArrayParams,
|
|
@@ -650,14 +664,21 @@ import {
|
|
|
650
664
|
getRequiredParams,
|
|
651
665
|
getSmallPlatformIcon,
|
|
652
666
|
introspector,
|
|
667
|
+
isExcludedRescueField,
|
|
653
668
|
isFigmaSlidesUrl,
|
|
669
|
+
isFormAttemptId,
|
|
670
|
+
isFormRescueFormId,
|
|
654
671
|
isHumanitySignalKey,
|
|
655
672
|
isInputObjectType,
|
|
673
|
+
isRescueEmail,
|
|
656
674
|
isScalarType,
|
|
657
675
|
mergeDefaults,
|
|
658
676
|
mergeVariables,
|
|
659
677
|
platformIcons,
|
|
660
678
|
progressColorByVariant,
|
|
679
|
+
rescueCompletionPct,
|
|
680
|
+
sanitizeRescueFieldName,
|
|
681
|
+
sanitizeRescueValues,
|
|
661
682
|
setNestedValue,
|
|
662
683
|
showCommandApprovalToast,
|
|
663
684
|
showToast,
|
|
@@ -683,6 +704,7 @@ import {
|
|
|
683
704
|
useDeferredError,
|
|
684
705
|
useDragAndDropEnabled,
|
|
685
706
|
useFocusTrap,
|
|
707
|
+
useFormRescue,
|
|
686
708
|
useHorizontalScrollbar,
|
|
687
709
|
useHumanitySignals,
|
|
688
710
|
useKeyboardCollisionPadding,
|
|
@@ -707,8 +729,8 @@ import {
|
|
|
707
729
|
validateSchema,
|
|
708
730
|
validateVariables,
|
|
709
731
|
variablesToUrlParams
|
|
710
|
-
} from "./chunk-
|
|
711
|
-
import "./chunk-
|
|
732
|
+
} from "./chunk-UTHZ7DLN.js";
|
|
733
|
+
import "./chunk-JD5TKRCU.js";
|
|
712
734
|
import {
|
|
713
735
|
CONTENT_REF_GROUPS,
|
|
714
736
|
buildSuggestionUrl,
|
|
@@ -2154,6 +2176,18 @@ export {
|
|
|
2154
2176
|
FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
2155
2177
|
FLAMINGO_LOGO_SVG_PATH,
|
|
2156
2178
|
FLAMINGO_LOGO_VIEWBOX,
|
|
2179
|
+
FORM_DRAFT_STATUSES,
|
|
2180
|
+
FORM_RESCUE_ATTEMPT_FIELD,
|
|
2181
|
+
FORM_RESCUE_DEBOUNCE_MS,
|
|
2182
|
+
FORM_RESCUE_EVENTS,
|
|
2183
|
+
FORM_RESCUE_FORM_IDS,
|
|
2184
|
+
FORM_RESCUE_MAX_FIELDS,
|
|
2185
|
+
FORM_RESCUE_MAX_VALUE_CHARS,
|
|
2186
|
+
FORM_RESCUE_RESUME_FIELD,
|
|
2187
|
+
FORM_RESCUE_RESUME_PARAM,
|
|
2188
|
+
FORM_RESCUE_SKIP_REASONS,
|
|
2189
|
+
FORM_RESCUE_SUBMIT_KEYS,
|
|
2190
|
+
FORM_RESCUE_VALUE_FIELDS,
|
|
2157
2191
|
FacebookIcon,
|
|
2158
2192
|
FadePreview,
|
|
2159
2193
|
FeatureCardGrid,
|
|
@@ -2785,6 +2819,7 @@ export {
|
|
|
2785
2819
|
canonicalContentRefType,
|
|
2786
2820
|
captionsEntityTypeForDocType,
|
|
2787
2821
|
captureFirstTouchAttribution,
|
|
2822
|
+
captureFormRescueEvent,
|
|
2788
2823
|
cardAwareUrlTransform,
|
|
2789
2824
|
changelogLabels,
|
|
2790
2825
|
chatCardLabel,
|
|
@@ -2874,6 +2909,7 @@ export {
|
|
|
2874
2909
|
fetchEmptyStateConfig,
|
|
2875
2910
|
fetchPriorityProp,
|
|
2876
2911
|
fetchSlashCommands,
|
|
2912
|
+
filledRescueFields,
|
|
2877
2913
|
filterTrustControlDomains,
|
|
2878
2914
|
findAnchorElementByNormalizedId,
|
|
2879
2915
|
findDocNodeByPath,
|
|
@@ -3049,7 +3085,10 @@ export {
|
|
|
3049
3085
|
isBlankLine,
|
|
3050
3086
|
isCrossOriginUrl,
|
|
3051
3087
|
isDismissedCookieValue,
|
|
3088
|
+
isExcludedRescueField,
|
|
3052
3089
|
isFigmaSlidesUrl,
|
|
3090
|
+
isFormAttemptId,
|
|
3091
|
+
isFormRescueFormId,
|
|
3053
3092
|
isGenericDomain,
|
|
3054
3093
|
isGenericWebsiteDomain,
|
|
3055
3094
|
isHistoricalUserTurn,
|
|
@@ -3063,6 +3102,7 @@ export {
|
|
|
3063
3102
|
isOrderedRange,
|
|
3064
3103
|
isPublishableMediaType,
|
|
3065
3104
|
isQuickActionIconSpec,
|
|
3105
|
+
isRescueEmail,
|
|
3066
3106
|
isScalarType,
|
|
3067
3107
|
isStructuredContent,
|
|
3068
3108
|
isToday,
|
|
@@ -3158,6 +3198,7 @@ export {
|
|
|
3158
3198
|
renderSvgIcon,
|
|
3159
3199
|
renderTicketAssigneeOption,
|
|
3160
3200
|
renderTicketStatusOption,
|
|
3201
|
+
rescueCompletionPct,
|
|
3161
3202
|
resolutionToStatus,
|
|
3162
3203
|
resolveContentFetchPath,
|
|
3163
3204
|
resolveExternalNavigation,
|
|
@@ -3173,6 +3214,8 @@ export {
|
|
|
3173
3214
|
rgbToHex,
|
|
3174
3215
|
safeHref,
|
|
3175
3216
|
sanitizeLandingUrl,
|
|
3217
|
+
sanitizeRescueFieldName,
|
|
3218
|
+
sanitizeRescueValues,
|
|
3176
3219
|
sanitizeTitleForChat,
|
|
3177
3220
|
saveDataEnabled,
|
|
3178
3221
|
scanHeadings,
|
|
@@ -3267,6 +3310,7 @@ export {
|
|
|
3267
3310
|
useEmptyStateConfig,
|
|
3268
3311
|
useFiltersDropdown,
|
|
3269
3312
|
useFocusTrap,
|
|
3313
|
+
useFormRescue,
|
|
3270
3314
|
useGuardedClose,
|
|
3271
3315
|
useHeaderHeight,
|
|
3272
3316
|
useHeadingIdMap,
|