@flamingo-stack/openframe-frontend-core 0.0.839 → 0.0.840
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/build/export-map.json +1 -1
- package/dist/{chunk-37XKZ4JM.cjs → chunk-275AQ6LC.cjs} +6 -6
- package/dist/{chunk-5BM7X4GA.cjs → chunk-5GBLXY5F.cjs} +2 -2
- package/dist/{chunk-5L3UKDC6.cjs → chunk-6LDL3UZE.cjs} +9 -9
- package/dist/{chunk-SWMUW3RR.cjs → chunk-744JXTDP.cjs} +19 -19
- package/dist/{chunk-46LATWQR.cjs → chunk-7WKRMJI6.cjs} +5 -5
- package/dist/{chunk-XJ4AB24Y.cjs → chunk-AT6D7BAZ.cjs} +5 -5
- package/dist/{chunk-C4OQIYGW.cjs → chunk-CCRXBFNL.cjs} +8 -8
- package/dist/{chunk-LC65AC6M.cjs → chunk-COWMXUHN.cjs} +2 -0
- package/dist/{chunk-5E4YEHHO.cjs → chunk-DGY5KEPY.cjs} +55 -55
- package/dist/{chunk-N2TCVIPR.cjs → chunk-DYDQLS2R.cjs} +539 -539
- package/dist/{chunk-LWMWY3JO.cjs → chunk-E7M54JWW.cjs} +14 -14
- package/dist/{chunk-Z7A7IZWL.cjs → chunk-EV6BPF47.cjs} +236 -210
- package/dist/{chunk-7XRFAHJF.cjs → chunk-FHI4I3TQ.cjs} +9 -9
- package/dist/{chunk-ZABZIM2Y.cjs → chunk-FRL2ZN4O.cjs} +3 -3
- package/dist/{chunk-7Z536SPR.cjs → chunk-FW7RKWPY.cjs} +15 -1
- package/dist/{chunk-3MBKEF7Z.cjs → chunk-GMK4JGC2.cjs} +46 -46
- package/dist/{chunk-SZVPRP5E.cjs → chunk-GUKFMMDZ.cjs} +3 -3
- package/dist/{chunk-GN6LEJWY.cjs → chunk-HXTZZE3R.cjs} +253 -131
- package/dist/{chunk-2XZZHRRU.cjs → chunk-IELPVUPR.cjs} +18 -18
- package/dist/{chunk-64PF3UC7.cjs → chunk-INBFKUZA.cjs} +17 -17
- package/dist/{chunk-APOMNC7H.cjs → chunk-IUDBG3HJ.cjs} +3 -3
- package/dist/{chunk-4JHO2NVI.cjs → chunk-J2IXYCEH.cjs} +26 -10
- package/dist/{chunk-C4RYIDPU.cjs → chunk-JM2XA7VY.cjs} +28 -28
- package/dist/{chunk-GPXKG34G.cjs → chunk-JUEAZCD6.cjs} +46 -46
- package/dist/{chunk-2QAUQPGC.cjs → chunk-MYAPG3FQ.cjs} +21 -21
- package/dist/{chunk-GRHF5SWL.cjs → chunk-NFNSPLGC.cjs} +3 -3
- package/dist/{chunk-UDRVVCOC.cjs → chunk-Q6WUHYOG.cjs} +72 -72
- package/dist/{chunk-H3WTYAVR.cjs → chunk-RSJYTQEA.cjs} +30 -30
- package/dist/{chunk-MG3HJIGG.cjs → chunk-UAI4VMEF.cjs} +4 -4
- package/dist/{chunk-S5RMRQKT.cjs → chunk-UZPYYHF5.cjs} +18 -18
- package/dist/{chunk-DFTXZE7B.cjs → chunk-VBH2RCFM.cjs} +73 -73
- package/dist/{chunk-FNNDGOR3.cjs → chunk-WCK5T3UD.cjs} +43 -43
- package/dist/{chunk-TRZEFT2N.cjs → chunk-WI7EXAZT.cjs} +9 -5
- package/dist/{chunk-TKS25VKE.cjs → chunk-Z35PL3UR.cjs} +32 -32
- package/dist/{chunk-ENK75WN4.cjs → chunk-ZAO5SYBJ.cjs} +4 -4
- package/dist/{cloud-tenants-WE3H3VAW.cjs → cloud-tenants-PV63RZ73.cjs} +19 -19
- package/dist/components/case-studies/index.cjs +33 -33
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.js +17 -3
- package/dist/components/chat/index.cjs +13 -13
- package/dist/components/contact/index.cjs +20 -20
- package/dist/components/docs/index.cjs +23 -23
- package/dist/components/embeds/index.cjs +20 -20
- package/dist/components/faq/index.cjs +21 -21
- package/dist/components/features/index.cjs +19 -19
- package/dist/components/help-center-pages/index.cjs +120 -120
- package/dist/components/index.cjs +76 -76
- package/dist/components/meeting-scheduler/index.cjs +82 -82
- package/dist/components/navigation/account-popover.d.ts.map +1 -1
- package/dist/components/navigation/account-popover.js +26 -2
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-side-panel.js +2 -9
- package/dist/components/navigation/index.cjs +22 -22
- package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-grouped.js +30 -6
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.js +14 -1
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar.js +72 -3
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/tickets/index.cjs +24 -24
- package/dist/components/ui/index.cjs +19 -19
- package/dist/components/ui/panel-resize-handle.d.ts +27 -6
- package/dist/components/ui/panel-resize-handle.d.ts.map +1 -1
- package/dist/components/ui/panel-resize-handle.js +27 -3
- package/dist/{devices-ZBZN2RRG.cjs → devices-VECG5JNC.cjs} +20 -20
- package/dist/{embeddable-chat-RBC7F4TL.cjs → embeddable-chat-VRYAQQF6.cjs} +90 -90
- package/dist/hooks/index.cjs +11 -7
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/index.js +1 -0
- package/dist/hooks/ui/use-clipped-label-tooltip.d.ts +14 -0
- package/dist/hooks/ui/use-clipped-label-tooltip.d.ts.map +1 -0
- package/dist/hooks/ui/use-clipped-label-tooltip.js +13 -0
- package/dist/hooks/ui/use-is-truncated.d.ts.map +1 -1
- package/dist/hooks/ui/use-is-truncated.js +1 -0
- package/dist/hooks/ui/use-media-query.d.ts.map +1 -1
- package/dist/hooks/ui/use-media-query.js +1 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts +1 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +1 -1
- package/dist/hooks/ui/use-resizable-panel-size.js +5 -1
- package/dist/index.cjs +28 -24
- package/dist/{knowledge-2QNZGDFO.cjs → knowledge-YJSDJIXT.cjs} +20 -20
- package/dist/{logs-YPWTJVIH.cjs → logs-42JG3NZ5.cjs} +26 -26
- package/dist/{policies-BK7TUKAF.cjs → policies-D4QNVJ26.cjs} +23 -23
- package/dist/{remote-session-CN3G7JNR.cjs → remote-session-EE6477O3.cjs} +10 -10
- package/dist/{scripts-K7AOYWZE.cjs → scripts-4VFYBXBE.cjs} +26 -26
- package/dist/{software-update-UFN4SBMY.cjs → software-update-OSDZQ5CP.cjs} +23 -23
- package/dist/{tickets-board-PLYD2NSY.cjs → tickets-board-44HO3LR4.cjs} +10 -10
- package/dist/types/navigation.d.ts +36 -0
- package/dist/types/navigation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-nav-sidebar.tsx +17 -4
- package/src/components/navigation/account-popover.tsx +31 -2
- package/src/components/navigation/app-layout-side-panel.tsx +2 -7
- package/src/components/navigation/navigation-sidebar-grouped.tsx +37 -6
- package/src/components/navigation/navigation-sidebar-item.tsx +18 -1
- package/src/components/navigation/navigation-sidebar.tsx +116 -7
- package/src/components/ui/panel-resize-handle.tsx +50 -8
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-clipped-label-tooltip.ts +20 -0
- package/src/hooks/ui/use-is-truncated.ts +2 -0
- package/src/hooks/ui/use-media-query.ts +2 -0
- package/src/hooks/ui/use-resizable-panel-size.ts +7 -1
- package/src/types/navigation.ts +37 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkIUDBG3HJcjs = require('./chunk-IUDBG3HJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -39,7 +39,7 @@ var _chunkHLJXCOMAcjs = require('./chunk-HLJXCOMA.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkFRL2ZN4Ocjs = require('./chunk-FRL2ZN4O.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkBUEEQD3Gcjs = require('./chunk-BUEEQD3G.cjs');
|
|
@@ -334,7 +334,7 @@ function useOnboardingState(storageKey = "openframe-onboarding-state") {
|
|
|
334
334
|
const [, forceUpdate] = _react.useState.call(void 0, 0);
|
|
335
335
|
_react.useEffect.call(void 0, () => {
|
|
336
336
|
const handleStorageUpdate = (event) => {
|
|
337
|
-
const detail =
|
|
337
|
+
const detail = _chunkIUDBG3HJcjs.readLocalStorageUpdateDetail.call(void 0, event);
|
|
338
338
|
if (_optionalChain([detail, 'optionalAccess', _14 => _14.key]) !== storageKey) return;
|
|
339
339
|
const newState = loadOnboardingState(storageKey);
|
|
340
340
|
setState(newState);
|
|
@@ -425,7 +425,7 @@ function useSearch(config) {
|
|
|
425
425
|
searchFnRef.current = searchFn;
|
|
426
426
|
mapResultRef.current = mapResult;
|
|
427
427
|
});
|
|
428
|
-
const debouncedQuery =
|
|
428
|
+
const debouncedQuery = _chunkFRL2ZN4Ocjs.useDebounce.call(void 0, query, debounceMs);
|
|
429
429
|
const clearResults = _react.useCallback.call(void 0, () => {
|
|
430
430
|
setResults(NO_RESULTS);
|
|
431
431
|
setError(null);
|
|
@@ -1201,7 +1201,7 @@ function useContactSubmission(options = {}) {
|
|
|
1201
1201
|
console.log("\u{1F680} Contact submission successful, redirecting to:", successRedirectUrl);
|
|
1202
1202
|
const timer = setTimeout(() => {
|
|
1203
1203
|
console.log("\u{1F3AF} Performing redirect now to:", successRedirectUrl);
|
|
1204
|
-
|
|
1204
|
+
_chunkFRL2ZN4Ocjs.executeNavigationImperative.call(void 0, {
|
|
1205
1205
|
runtime,
|
|
1206
1206
|
href: successRedirectUrl,
|
|
1207
1207
|
openIn: "same-tab",
|
|
@@ -1332,10 +1332,10 @@ function useDownloads({
|
|
|
1332
1332
|
}
|
|
1333
1333
|
function useVisitorDesktopDownload(options = {}) {
|
|
1334
1334
|
const enabled = _nullishCoalesce(options.enabled, () => ( true));
|
|
1335
|
-
const visitor =
|
|
1335
|
+
const visitor = _chunkFRL2ZN4Ocjs.useVisitorOs.call(void 0, );
|
|
1336
1336
|
const { data, error } = useDownloads(options);
|
|
1337
1337
|
if (!enabled || !visitor.known || !data && !error) return { known: false, download: null };
|
|
1338
|
-
const os =
|
|
1338
|
+
const os = _chunkFRL2ZN4Ocjs.desktopOsOf.call(void 0, visitor.os);
|
|
1339
1339
|
const download = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.desktop, 'access', _23 => _23.find, 'call', _24 => _24((row) => row.kind === "binary" && row.url && row.os === os)]), () => ( null));
|
|
1340
1340
|
return { known: true, download };
|
|
1341
1341
|
}
|
|
@@ -2585,7 +2585,7 @@ function useScenarioPlayer({
|
|
|
2585
2585
|
startAtEnd = false,
|
|
2586
2586
|
emptyFirstStep = true
|
|
2587
2587
|
}) {
|
|
2588
|
-
const auto =
|
|
2588
|
+
const auto = _chunkFRL2ZN4Ocjs.useAutoplay.call(void 0, enabled);
|
|
2589
2589
|
const { reducedMotion, held, holdProps, release } = auto;
|
|
2590
2590
|
const [scenario, setScenario] = _react.useState.call(void 0, initialScenario);
|
|
2591
2591
|
const [rawStep, setRawStep] = _react.useState.call(void 0, startAtEnd ? Number.MAX_SAFE_INTEGER : 0);
|
|
@@ -2715,7 +2715,7 @@ function useClaudeMirrorSrc(url) {
|
|
|
2715
2715
|
|
|
2716
2716
|
// src/hooks/use-location-hash.ts
|
|
2717
2717
|
|
|
2718
|
-
var HASH_EVENTS = ["hashchange", "popstate",
|
|
2718
|
+
var HASH_EVENTS = ["hashchange", "popstate", _chunkFRL2ZN4Ocjs.LOCATION_HASH_SYNC_EVENT];
|
|
2719
2719
|
function subscribe(onChange) {
|
|
2720
2720
|
for (const event of HASH_EVENTS) window.addEventListener(event, onChange);
|
|
2721
2721
|
return () => {
|
|
@@ -2723,7 +2723,7 @@ function subscribe(onChange) {
|
|
|
2723
2723
|
};
|
|
2724
2724
|
}
|
|
2725
2725
|
function readHash() {
|
|
2726
|
-
const raw =
|
|
2726
|
+
const raw = _chunkFRL2ZN4Ocjs.normalizeHashFragment.call(void 0, window.location.hash).replace(/^#/, "");
|
|
2727
2727
|
try {
|
|
2728
2728
|
return decodeURIComponent(raw);
|
|
2729
2729
|
} catch (e7) {
|
|
@@ -2750,16 +2750,16 @@ function useScrollToHash(readyDep = true, options) {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
2752
|
const tryScrollToHash = () => {
|
|
2753
|
-
if (
|
|
2754
|
-
const hash =
|
|
2753
|
+
if (_chunkFRL2ZN4Ocjs.isScrollSyncedHash.call(void 0, )) return;
|
|
2754
|
+
const hash = _chunkFRL2ZN4Ocjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
2755
2755
|
if (!hash) return;
|
|
2756
2756
|
cancelPoll();
|
|
2757
2757
|
let frames = 0;
|
|
2758
2758
|
const tick = () => {
|
|
2759
|
-
const el =
|
|
2759
|
+
const el = _chunkFRL2ZN4Ocjs.getHashTargetElement.call(void 0, hash);
|
|
2760
2760
|
if (el) {
|
|
2761
2761
|
rafId = null;
|
|
2762
|
-
|
|
2762
|
+
_chunkFRL2ZN4Ocjs.scrollElementIntoView.call(void 0, el, { headerOffset });
|
|
2763
2763
|
return;
|
|
2764
2764
|
}
|
|
2765
2765
|
if (frames++ < MAX_POLL_FRAMES) {
|