@flamingo-stack/openframe-frontend-core 0.0.705 → 0.0.706-snapshot.20261006181108
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/chat-protocol/index.cjs +23 -14
- package/dist/chat-protocol/index.js +23 -14
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +11 -2
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-QFXRPRFT.js → chunk-2YHNQAMU.js} +3 -3
- package/dist/{chunk-YHM5AWTT.js → chunk-3FZP73R4.js} +6 -6
- package/dist/{chunk-VR2ZLFCP.js → chunk-4IBPRIQH.js} +1 -1
- package/dist/{chunk-AQWZNP6A.js → chunk-4RVC6TCE.js} +4 -4
- package/dist/{chunk-OUY3HHW6.cjs → chunk-4UMOD5NU.cjs} +928 -539
- package/dist/{chunk-IKTQ3ZAG.cjs → chunk-54L6NMKQ.cjs} +6 -6
- package/dist/{chunk-A75QY6CD.cjs → chunk-56LOCS37.cjs} +21 -21
- package/dist/{chunk-WA6GUYQ4.cjs → chunk-5CMYEGHE.cjs} +104 -104
- package/dist/{chunk-VA5T32XA.js → chunk-632NGOIH.js} +2 -2
- package/dist/{chunk-MMOODW57.cjs → chunk-6NTPY5QA.cjs} +1887 -94
- package/dist/{chunk-VESKITRQ.cjs → chunk-7XVBJDH7.cjs} +728 -732
- package/dist/{chunk-3MX5S4CF.cjs → chunk-AGNG62O2.cjs} +905 -2564
- package/dist/{chunk-ZSAO2HBW.js → chunk-BETJB7UV.js} +15 -15
- package/dist/{chunk-MP2C3LJ4.js → chunk-CUME3VTQ.js} +1 -1
- package/dist/{chunk-PDWVPI3S.js → chunk-CZ7Y7UG4.js} +4 -72
- package/dist/{chunk-F6I6XZMN.js → chunk-E2TQZIOJ.js} +5 -5
- package/dist/{chunk-X5MQ7JRP.js → chunk-ECXW3RIH.js} +9 -9
- package/dist/{chunk-JEZKGCZI.cjs → chunk-EUSDLX5W.cjs} +26 -26
- package/dist/{chunk-6NJKKO73.cjs → chunk-F4E3L3KV.cjs} +15 -15
- package/dist/{chunk-MFFCUVWG.js → chunk-F57ECE2I.js} +1 -1
- package/dist/{chunk-F6AFPNDF.js → chunk-FBY4V3YS.js} +15 -15
- package/dist/{chunk-CH5232HV.js → chunk-FI6GMDO7.js} +2455 -662
- package/dist/{chunk-NDESEPW5.js → chunk-FXJ3WWUB.js} +68 -0
- package/dist/{chunk-FCGC42TS.js → chunk-HTBN3XYF.js} +57 -61
- package/dist/{chunk-ZSAGLQOD.cjs → chunk-I43ZVJRL.cjs} +17 -17
- package/dist/{chunk-7VVFKJY5.js → chunk-IBQZMRWO.js} +1796 -3455
- package/dist/{chunk-4KX6OED2.cjs → chunk-JFSLQ2XS.cjs} +46 -46
- package/dist/{chunk-5HBHO5TB.js → chunk-JPG7OHEG.js} +1 -1
- package/dist/{chunk-MKXO4Q5P.js → chunk-KUC673HM.js} +383 -142
- package/dist/{chunk-4I45Y3DN.cjs → chunk-L3Q7R7CQ.cjs} +6 -6
- package/dist/{chunk-X72J4ACL.cjs → chunk-LLSUVPQC.cjs} +252 -8
- package/dist/{chunk-RKV5B7EU.cjs → chunk-LM7TXMLU.cjs} +72 -4
- package/dist/{chunk-PN2RKPDF.js → chunk-LSQPH73L.js} +10 -10
- package/dist/{chunk-HPWWNJE7.cjs → chunk-MY3JYZQY.cjs} +89 -89
- package/dist/{chunk-2YXVWZVF.js → chunk-N45D4ZXQ.js} +959 -715
- package/dist/{chunk-Z2VNQQ74.js → chunk-NCPTID44.js} +978 -942
- package/dist/{chunk-KOWVJD4V.cjs → chunk-O6WNIA6W.cjs} +56 -56
- package/dist/{chunk-ABU3TGXA.cjs → chunk-OF6GEI5A.cjs} +3 -3
- package/dist/{chunk-OHFS7VOU.cjs → chunk-PLYEKV3N.cjs} +2 -2
- package/dist/{chunk-VHCACDKP.cjs → chunk-RQRX4YC3.cjs} +39 -39
- package/dist/{chunk-DW7G4KG3.js → chunk-RZNRVXHH.js} +3 -3
- package/dist/{chunk-G5A3PSPV.js → chunk-SGJP2WKD.js} +1080 -691
- package/dist/{chunk-7LS22BZU.cjs → chunk-STXYW25T.cjs} +14 -14
- package/dist/{chunk-YFBM2K6X.cjs → chunk-TB5EDWRC.cjs} +4 -4
- package/dist/{chunk-RBDP4WDE.js → chunk-U6BWEKJC.js} +6 -6
- package/dist/{chunk-XOYH2YQE.cjs → chunk-UDFRUKLC.cjs} +2 -2
- package/dist/{chunk-TYWLNCNH.cjs → chunk-UVTD52MD.cjs} +14 -82
- package/dist/{chunk-N3COXDBH.cjs → chunk-VX4E6YSB.cjs} +41 -5
- package/dist/{chunk-2QEUFXNS.cjs → chunk-WCVZCGK5.cjs} +312 -71
- package/dist/{chunk-6XIF2Z7I.js → chunk-WMX26HB5.js} +3 -3
- package/dist/{chunk-IHERL5V4.cjs → chunk-WXAT5C4C.cjs} +34 -34
- package/dist/{chunk-D7BTSVMS.cjs → chunk-Y2GSOUCS.cjs} +2 -2
- package/dist/{chunk-6SEANMOU.js → chunk-Y5VSOYPS.js} +11 -11
- package/dist/{chunk-DENB2XJC.js → chunk-YQWTGQG5.js} +2 -2
- package/dist/components/case-studies/index.cjs +30 -32
- package/dist/components/case-studies/index.js +14 -16
- package/dist/components/chat/entity-cards/case-study-card.d.ts +11 -4
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -11
- package/dist/components/chat/index.js +14 -16
- package/dist/components/chat/types/message.types.d.ts +20 -16
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +1 -1
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +12 -14
- package/dist/components/contact/index.js +11 -13
- package/dist/components/docs/index.cjs +15 -17
- package/dist/components/docs/index.js +14 -16
- package/dist/components/embeds/index.cjs +12 -14
- package/dist/components/embeds/index.js +11 -13
- package/dist/components/faq/index.cjs +13 -15
- package/dist/components/faq/index.js +12 -14
- package/dist/components/features/index.cjs +12 -14
- package/dist/components/features/index.js +21 -23
- package/dist/components/help-center-pages/index.cjs +118 -120
- package/dist/components/help-center-pages/index.js +33 -35
- package/dist/components/icons/index.cjs +3 -5
- package/dist/components/icons/index.js +9 -11
- package/dist/components/icons-v2-generated/index.cjs +3 -5
- package/dist/components/icons-v2-generated/index.js +2 -4
- package/dist/components/index.cjs +86 -159
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +329 -402
- package/dist/components/loading/page-layout-skeleton.d.ts +1 -1
- package/dist/components/meeting-scheduler/index.cjs +62 -64
- package/dist/components/meeting-scheduler/index.js +12 -14
- package/dist/components/navigation/index.cjs +28 -16
- package/dist/components/navigation/index.d.ts +14 -10
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +38 -26
- package/dist/components/navigation/mingo-ai-button.d.ts +38 -3
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts +3 -0
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts.map +1 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts +48 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -0
- package/dist/components/navigation/nav-item-row.d.ts +27 -0
- package/dist/components/navigation/nav-item-row.d.ts.map +1 -0
- package/dist/components/navigation/nav-panel.d.ts +43 -0
- package/dist/components/navigation/nav-panel.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -2
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.d.ts +28 -0
- package/dist/components/navigation/site-footer.d.ts.map +1 -0
- package/dist/components/navigation/site-header.d.ts +61 -0
- package/dist/components/navigation/site-header.d.ts.map +1 -0
- package/dist/components/navigation/site-nav-link.d.ts +26 -0
- package/dist/components/navigation/site-nav-link.d.ts.map +1 -0
- package/dist/components/navigation/top-navigation.d.ts +2 -2
- package/dist/components/navigation/top-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +15 -17
- package/dist/components/onboarding-guides/index.js +14 -16
- package/dist/components/related-content/index.cjs +10 -8
- package/dist/components/related-content/index.js +9 -7
- package/dist/components/tickets/index.cjs +16 -18
- package/dist/components/tickets/index.js +15 -17
- package/dist/components/ui/index.cjs +12 -14
- package/dist/components/ui/index.js +17 -19
- package/dist/hooks/index.cjs +19 -11
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +19 -11
- package/dist/hooks/ui/index.d.ts +3 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-active-section.d.ts +10 -0
- package/dist/hooks/ui/use-active-section.d.ts.map +1 -0
- package/dist/hooks/ui/use-nav-menus.d.ts +48 -0
- package/dist/hooks/ui/use-nav-menus.d.ts.map +1 -0
- package/dist/hooks/ui/use-visitor-os.d.ts +15 -0
- package/dist/hooks/ui/use-visitor-os.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +9 -0
- package/dist/hooks/use-location-hash.d.ts.map +1 -0
- package/dist/index.cjs +55 -22
- package/dist/index.js +229 -196
- package/dist/types/case-study.d.ts +9 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/navigation.d.ts +95 -65
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/index.cjs +55 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +50 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/visitor-os.d.ts +45 -0
- package/dist/utils/visitor-os.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/chat-protocol/nats-decoder.ts +10 -8
- package/src/chat-protocol/source-metadata.ts +25 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +115 -5
- package/src/components/chat/types/message.types.ts +21 -15
- package/src/components/chat/types/unified-chat-state.types.ts +1 -1
- package/src/components/chat/utils/icon-library.tsx +35 -1
- package/src/components/chat/utils/process-historical-messages.ts +12 -4
- package/src/components/index.ts +0 -2
- package/src/components/loading/page-layout-skeleton.tsx +1 -1
- package/src/components/navigation/index.ts +21 -14
- package/src/components/navigation/mingo-ai-button.tsx +139 -63
- package/src/components/navigation/mobile-nav-sheet-id.ts +2 -0
- package/src/components/navigation/mobile-nav-sheet.tsx +241 -0
- package/src/components/navigation/nav-item-row.tsx +129 -0
- package/src/components/navigation/nav-panel.tsx +196 -0
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -2
- package/src/components/navigation/site-footer.tsx +256 -0
- package/src/components/navigation/site-header.tsx +339 -0
- package/src/components/navigation/site-nav-link.tsx +41 -0
- package/src/components/navigation/ticket-alerts-button.tsx +2 -2
- package/src/components/navigation/top-navigation.tsx +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/ui/index.ts +3 -0
- package/src/hooks/ui/use-active-section.ts +44 -0
- package/src/hooks/ui/use-nav-menus.ts +200 -0
- package/src/hooks/ui/use-visitor-os.ts +33 -0
- package/src/hooks/use-location-hash.ts +34 -0
- package/src/styles/chat-animations.css +57 -2
- package/src/types/case-study.ts +16 -0
- package/src/types/navigation.ts +80 -66
- package/src/utils/index.ts +1 -0
- package/src/utils/source-icons.ts +13 -0
- package/src/utils/visitor-os.ts +84 -0
- package/dist/chunk-LMBC5FFP.js +0 -43
- package/dist/chunk-O43V3EOS.js +0 -252
- package/dist/chunk-QZVSJF2K.cjs +0 -252
- package/dist/chunk-RALRPFDW.cjs +0 -43
- package/dist/components/footer-waitlist-button.d.ts +0 -29
- package/dist/components/footer-waitlist-button.d.ts.map +0 -1
- package/dist/components/footer.d.ts +0 -47
- package/dist/components/footer.d.ts.map +0 -1
- package/dist/components/navigation/client-only-header.d.ts +0 -8
- package/dist/components/navigation/client-only-header.d.ts.map +0 -1
- package/dist/components/navigation/header-skeleton.d.ts +0 -12
- package/dist/components/navigation/header-skeleton.d.ts.map +0 -1
- package/dist/components/navigation/header.d.ts +0 -9
- package/dist/components/navigation/header.d.ts.map +0 -1
- package/dist/components/navigation/mobile-nav-panel.d.ts +0 -10
- package/dist/components/navigation/mobile-nav-panel.d.ts.map +0 -1
- package/src/components/footer-waitlist-button.tsx +0 -53
- package/src/components/footer.tsx +0 -195
- package/src/components/navigation/client-only-header.tsx +0 -22
- package/src/components/navigation/header-skeleton.tsx +0 -74
- package/src/components/navigation/header.tsx +0 -429
- package/src/components/navigation/mobile-nav-panel.tsx +0 -155
|
@@ -767,6 +767,72 @@ function useAuthedImageSrc(src) {
|
|
|
767
767
|
}
|
|
768
768
|
var clearAuthedImageCache = clearAuthedAssetCache;
|
|
769
769
|
|
|
770
|
+
// src/hooks/use-near-viewport.ts
|
|
771
|
+
import { useEffect as useEffect5, useRef, useState as useState4, useCallback as useCallback2 } from "react";
|
|
772
|
+
var observers = /* @__PURE__ */ new Map();
|
|
773
|
+
var subscribers = /* @__PURE__ */ new WeakMap();
|
|
774
|
+
var THRESHOLD_EPSILON = 0.01;
|
|
775
|
+
function observerKey(rootMargin, threshold) {
|
|
776
|
+
return `${rootMargin}|${threshold}`;
|
|
777
|
+
}
|
|
778
|
+
function getObserverFor(rootMargin, threshold) {
|
|
779
|
+
const key = observerKey(rootMargin, threshold);
|
|
780
|
+
const existing = observers.get(key);
|
|
781
|
+
if (existing) return existing;
|
|
782
|
+
const io = new IntersectionObserver(
|
|
783
|
+
(entries) => {
|
|
784
|
+
entries.forEach((entry) => {
|
|
785
|
+
if (!entry.isIntersecting) return;
|
|
786
|
+
if (entry.intersectionRatio < threshold - THRESHOLD_EPSILON) return;
|
|
787
|
+
const cb = subscribers.get(entry.target);
|
|
788
|
+
if (cb) {
|
|
789
|
+
cb();
|
|
790
|
+
io.unobserve(entry.target);
|
|
791
|
+
subscribers.delete(entry.target);
|
|
792
|
+
}
|
|
793
|
+
});
|
|
794
|
+
},
|
|
795
|
+
{ rootMargin, threshold }
|
|
796
|
+
);
|
|
797
|
+
observers.set(key, io);
|
|
798
|
+
return io;
|
|
799
|
+
}
|
|
800
|
+
var NEAR_VIEWPORT_ROOT_MARGIN = "500px";
|
|
801
|
+
function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0) {
|
|
802
|
+
const [isNear, setIsNear] = useState4(false);
|
|
803
|
+
const elRef = useRef(null);
|
|
804
|
+
const key = observerKey(rootMargin, threshold);
|
|
805
|
+
const ref = useCallback2(
|
|
806
|
+
(node) => {
|
|
807
|
+
const prev = elRef.current;
|
|
808
|
+
if (prev) {
|
|
809
|
+
const stillOurs = subscribers.get(prev);
|
|
810
|
+
if (stillOurs) {
|
|
811
|
+
subscribers.delete(prev);
|
|
812
|
+
observers.get(key)?.unobserve(prev);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
elRef.current = node;
|
|
816
|
+
if (!node) return;
|
|
817
|
+
const cb = () => setIsNear(true);
|
|
818
|
+
subscribers.set(node, cb);
|
|
819
|
+
getObserverFor(rootMargin, threshold).observe(node);
|
|
820
|
+
},
|
|
821
|
+
[key, rootMargin, threshold]
|
|
822
|
+
);
|
|
823
|
+
useEffect5(() => {
|
|
824
|
+
return () => {
|
|
825
|
+
const el = elRef.current;
|
|
826
|
+
if (!el) return;
|
|
827
|
+
if (subscribers.get(el)) {
|
|
828
|
+
subscribers.delete(el);
|
|
829
|
+
observers.get(key)?.unobserve(el);
|
|
830
|
+
}
|
|
831
|
+
};
|
|
832
|
+
}, [key]);
|
|
833
|
+
return { ref, isNear };
|
|
834
|
+
}
|
|
835
|
+
|
|
770
836
|
// src/utils/og-placeholder.ts
|
|
771
837
|
var DEFAULT_OG_PLACEHOLDER_PATH = "/api/og-placeholder";
|
|
772
838
|
function resolveOgPlaceholderBase(endpoints) {
|
|
@@ -868,6 +934,8 @@ export {
|
|
|
868
934
|
useAuthedAssetSrc,
|
|
869
935
|
useAuthedImageSrc,
|
|
870
936
|
clearAuthedImageCache,
|
|
937
|
+
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
938
|
+
useNearViewport,
|
|
871
939
|
buildOgPlaceholderUrl,
|
|
872
940
|
useOgPlaceholderUrl
|
|
873
941
|
};
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useLocalStorage,
|
|
24
24
|
useNotificationPermission,
|
|
25
25
|
useToast
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KUC673HM.js";
|
|
27
27
|
import {
|
|
28
28
|
Pagination
|
|
29
29
|
} from "./chunk-UT4YHQZW.js";
|
|
@@ -72,12 +72,9 @@ import {
|
|
|
72
72
|
TooltipProvider,
|
|
73
73
|
TooltipTrigger,
|
|
74
74
|
UnifiedSkeleton,
|
|
75
|
-
Video,
|
|
76
75
|
VideoBitesStrip,
|
|
77
|
-
VideoHoverPreviewSurface,
|
|
78
76
|
buildStandardLeafRenderers,
|
|
79
77
|
byKey,
|
|
80
|
-
fetchPriorityProp,
|
|
81
78
|
formatRelativeTime,
|
|
82
79
|
formatTicketFullTimestamp,
|
|
83
80
|
formatTicketRelativeTime,
|
|
@@ -97,9 +94,8 @@ import {
|
|
|
97
94
|
useIsHydrated,
|
|
98
95
|
useResizablePanelSize,
|
|
99
96
|
useScrollFade
|
|
100
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-IBQZMRWO.js";
|
|
101
98
|
import {
|
|
102
|
-
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
103
99
|
ToolIcon,
|
|
104
100
|
createHeadingIdDeduper,
|
|
105
101
|
scanHeadings,
|
|
@@ -108,14 +104,62 @@ import {
|
|
|
108
104
|
toolLabels,
|
|
109
105
|
useAutoplay,
|
|
110
106
|
useDebounce,
|
|
111
|
-
useInView
|
|
112
|
-
|
|
113
|
-
} from "./chunk-PDWVPI3S.js";
|
|
107
|
+
useInView
|
|
108
|
+
} from "./chunk-CZ7Y7UG4.js";
|
|
114
109
|
import {
|
|
115
110
|
usePathname,
|
|
116
111
|
useRouter,
|
|
117
112
|
useSearchParams
|
|
118
113
|
} from "./chunk-GY4IZG22.js";
|
|
114
|
+
import {
|
|
115
|
+
AvatarStack,
|
|
116
|
+
Card,
|
|
117
|
+
DEFAULT_VIDEO_BITES_TITLE,
|
|
118
|
+
FloatingTooltip,
|
|
119
|
+
IMAGE_FILE_ACCEPT,
|
|
120
|
+
MEDIA_FILE_ACCEPT,
|
|
121
|
+
SquareAvatar,
|
|
122
|
+
StatusBadge,
|
|
123
|
+
Tag,
|
|
124
|
+
VIEWER_TIMEZONE,
|
|
125
|
+
Video,
|
|
126
|
+
VideoHoverPreviewSurface,
|
|
127
|
+
VideoPlayBadge,
|
|
128
|
+
VideoUnmuteGlyph,
|
|
129
|
+
accentSentenceMarks,
|
|
130
|
+
canonicalContentRefType,
|
|
131
|
+
fetchPriorityProp,
|
|
132
|
+
fileContentKey,
|
|
133
|
+
fileMediaType,
|
|
134
|
+
formatDate,
|
|
135
|
+
formatDateTimeYmd,
|
|
136
|
+
formatDateWithTimezone,
|
|
137
|
+
formatLargeNumber,
|
|
138
|
+
isVideoMedia,
|
|
139
|
+
mediaNameKey,
|
|
140
|
+
personFirstName,
|
|
141
|
+
personInitials
|
|
142
|
+
} from "./chunk-FI6GMDO7.js";
|
|
143
|
+
import {
|
|
144
|
+
next_image_default
|
|
145
|
+
} from "./chunk-FBZMAPWO.js";
|
|
146
|
+
import {
|
|
147
|
+
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
148
|
+
ViewportBreakpoints,
|
|
149
|
+
breakpoints,
|
|
150
|
+
createLocalStorageAdapter,
|
|
151
|
+
embedAuthedFetch,
|
|
152
|
+
subscribeEmbedCredentialChange,
|
|
153
|
+
useAuthedImageSrc,
|
|
154
|
+
useContentLgUp,
|
|
155
|
+
useContentMdUp,
|
|
156
|
+
useImageEdgeColor,
|
|
157
|
+
useIsTruncated,
|
|
158
|
+
useIsomorphicLayoutEffect,
|
|
159
|
+
useMdUp,
|
|
160
|
+
useMediaQuery,
|
|
161
|
+
useNearViewport
|
|
162
|
+
} from "./chunk-FXJ3WWUB.js";
|
|
119
163
|
import {
|
|
120
164
|
AppleIcon,
|
|
121
165
|
BashIcon,
|
|
@@ -137,6 +181,7 @@ import {
|
|
|
137
181
|
MessageCircleIcon,
|
|
138
182
|
MicrosoftIcon,
|
|
139
183
|
NushellIcon,
|
|
184
|
+
OpenFrameLogo,
|
|
140
185
|
RedditIcon,
|
|
141
186
|
ShapeCircleDashIcon,
|
|
142
187
|
ShellIcon,
|
|
@@ -148,7 +193,7 @@ import {
|
|
|
148
193
|
WindowsIcon,
|
|
149
194
|
XLogo,
|
|
150
195
|
YouTubeIcon
|
|
151
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-N45D4ZXQ.js";
|
|
152
197
|
import {
|
|
153
198
|
AicpaSoc2LogoIcon,
|
|
154
199
|
AlertTriangleIcon,
|
|
@@ -231,62 +276,13 @@ import {
|
|
|
231
276
|
VolumeXmarkIcon,
|
|
232
277
|
WindowsLogoGreyIcon,
|
|
233
278
|
XmarkAltIcon,
|
|
279
|
+
XmarkCircleIcon,
|
|
234
280
|
XmarkIcon
|
|
235
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-NCPTID44.js";
|
|
236
282
|
import {
|
|
237
283
|
LaptopIcon,
|
|
238
284
|
MonitorIcon
|
|
239
285
|
} from "./chunk-OSIKGEBU.js";
|
|
240
|
-
import {
|
|
241
|
-
AvatarStack,
|
|
242
|
-
Card,
|
|
243
|
-
DEFAULT_VIDEO_BITES_TITLE,
|
|
244
|
-
FloatingTooltip,
|
|
245
|
-
IMAGE_FILE_ACCEPT,
|
|
246
|
-
MEDIA_FILE_ACCEPT,
|
|
247
|
-
SquareAvatar,
|
|
248
|
-
StatusBadge,
|
|
249
|
-
Tag,
|
|
250
|
-
VIEWER_TIMEZONE,
|
|
251
|
-
VideoPlayBadge,
|
|
252
|
-
VideoUnmuteGlyph,
|
|
253
|
-
accentSentenceMarks,
|
|
254
|
-
canonicalContentRefType,
|
|
255
|
-
fileContentKey,
|
|
256
|
-
fileMediaType,
|
|
257
|
-
formatDate,
|
|
258
|
-
formatDateTimeYmd,
|
|
259
|
-
formatDateWithTimezone,
|
|
260
|
-
formatLargeNumber,
|
|
261
|
-
isVideoMedia,
|
|
262
|
-
mediaNameKey,
|
|
263
|
-
personFirstName,
|
|
264
|
-
personInitials
|
|
265
|
-
} from "./chunk-CH5232HV.js";
|
|
266
|
-
import {
|
|
267
|
-
next_image_default
|
|
268
|
-
} from "./chunk-FBZMAPWO.js";
|
|
269
|
-
import {
|
|
270
|
-
ViewportBreakpoints,
|
|
271
|
-
breakpoints,
|
|
272
|
-
createLocalStorageAdapter,
|
|
273
|
-
embedAuthedFetch,
|
|
274
|
-
subscribeEmbedCredentialChange,
|
|
275
|
-
useAuthedImageSrc,
|
|
276
|
-
useContentLgUp,
|
|
277
|
-
useContentMdUp,
|
|
278
|
-
useImageEdgeColor,
|
|
279
|
-
useIsTruncated,
|
|
280
|
-
useIsomorphicLayoutEffect,
|
|
281
|
-
useMdUp,
|
|
282
|
-
useMediaQuery
|
|
283
|
-
} from "./chunk-NDESEPW5.js";
|
|
284
|
-
import {
|
|
285
|
-
OpenFrameLogo
|
|
286
|
-
} from "./chunk-O43V3EOS.js";
|
|
287
|
-
import {
|
|
288
|
-
XmarkCircleIcon
|
|
289
|
-
} from "./chunk-LMBC5FFP.js";
|
|
290
286
|
import {
|
|
291
287
|
DropdownMenu,
|
|
292
288
|
DropdownMenuContent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPLYEKV3Ncjs = require('./chunk-PLYEKV3N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ var _chunkOHFS7VOUcjs = require('./chunk-OHFS7VOU.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk7XVBJDH7cjs = require('./chunk-7XVBJDH7.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk6NTPY5QAcjs = require('./chunk-6NTPY5QA.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -33,7 +33,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
33
33
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
34
34
|
if (isFiltered) {
|
|
35
35
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36
|
-
|
|
36
|
+
_chunkPLYEKV3Ncjs.EmptyState,
|
|
37
37
|
{
|
|
38
38
|
type: "search",
|
|
39
39
|
title: filtered.title,
|
|
@@ -46,7 +46,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
46
46
|
}
|
|
47
47
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
48
48
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49
|
-
|
|
49
|
+
_chunkPLYEKV3Ncjs.EmptyState,
|
|
50
50
|
{
|
|
51
51
|
type: "generic",
|
|
52
52
|
title: empty.title,
|
|
@@ -63,7 +63,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
63
63
|
var _react = require('react');
|
|
64
64
|
|
|
65
65
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
66
|
-
const section =
|
|
66
|
+
const section = _chunk7XVBJDH7cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
67
67
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
68
68
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
69
69
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -114,7 +114,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
114
114
|
preControls,
|
|
115
115
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
116
116
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
117
|
-
|
|
117
|
+
_chunk7XVBJDH7cjs.SearchInput,
|
|
118
118
|
{
|
|
119
119
|
showDropdown: false,
|
|
120
120
|
placeholder: search.placeholder,
|
|
@@ -124,7 +124,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
124
124
|
}
|
|
125
125
|
),
|
|
126
126
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
-
|
|
127
|
+
_chunk7XVBJDH7cjs.StatusFilterComponent,
|
|
128
128
|
{
|
|
129
129
|
selectedStatus: currentFilterValue,
|
|
130
130
|
onStatusChange: handleFilterChange,
|
|
@@ -148,7 +148,7 @@ function DevSectionPage({
|
|
|
148
148
|
shell = true
|
|
149
149
|
}) {
|
|
150
150
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
151
|
-
const section =
|
|
151
|
+
const section = _chunk7XVBJDH7cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
152
152
|
const backCfg = backButton === false ? void 0 : {
|
|
153
153
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
154
154
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -161,7 +161,7 @@ function DevSectionPage({
|
|
|
161
161
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
162
162
|
// frozen and renders title-only.)
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunk7XVBJDH7cjs.PageLayout,
|
|
165
165
|
{
|
|
166
166
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
167
167
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -172,7 +172,7 @@ function DevSectionPage({
|
|
|
172
172
|
}
|
|
173
173
|
)
|
|
174
174
|
);
|
|
175
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7XVBJDH7cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -230,9 +230,9 @@ function getRelativeTime(timestamp) {
|
|
|
230
230
|
}
|
|
231
231
|
function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
232
232
|
const taskType = item.taskType;
|
|
233
|
-
const typeBadgeLabel =
|
|
234
|
-
const typeBadgeTextColor =
|
|
235
|
-
const statusBadgeScheme =
|
|
233
|
+
const typeBadgeLabel = _chunk7XVBJDH7cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
234
|
+
const typeBadgeTextColor = _chunk7XVBJDH7cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
235
|
+
const statusBadgeScheme = _chunk6NTPY5QAcjs.getStatusColorScheme.call(void 0, item.status);
|
|
236
236
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
237
237
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
238
238
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -244,7 +244,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
244
244
|
] }),
|
|
245
245
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
246
246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
-
|
|
247
|
+
_chunk6NTPY5QAcjs.StatusBadge,
|
|
248
248
|
{
|
|
249
249
|
text: item.status.toUpperCase(),
|
|
250
250
|
colorScheme: statusBadgeScheme,
|
|
@@ -253,7 +253,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
253
253
|
}
|
|
254
254
|
),
|
|
255
255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
256
|
-
|
|
256
|
+
_chunk6NTPY5QAcjs.StatusBadge,
|
|
257
257
|
{
|
|
258
258
|
text: typeBadgeLabel,
|
|
259
259
|
variant: "card",
|
|
@@ -261,7 +261,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
261
261
|
}
|
|
262
262
|
),
|
|
263
263
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
-
|
|
264
|
+
_chunk6NTPY5QAcjs.AvatarStack,
|
|
265
265
|
{
|
|
266
266
|
size: "xs",
|
|
267
267
|
className: "ml-auto content-md:ml-0",
|