@flamingo-stack/openframe-frontend-core 0.0.704 → 0.0.705
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-MGGGBHYD.cjs → chunk-2QEUFXNS.cjs} +10 -10
- package/dist/{chunk-LDPEQGKT.cjs → chunk-3MX5S4CF.cjs} +132 -80
- package/dist/{chunk-UK62YTH6.cjs → chunk-4I45Y3DN.cjs} +2 -2
- package/dist/{chunk-AMYY3PNL.cjs → chunk-4KX6OED2.cjs} +42 -42
- package/dist/{chunk-4DQMTBMK.cjs → chunk-6NJKKO73.cjs} +11 -11
- package/dist/{chunk-JEYRXT5L.js → chunk-6SEANMOU.js} +7 -7
- package/dist/{chunk-C7XGRLT5.cjs → chunk-7LS22BZU.cjs} +6 -6
- package/dist/{chunk-2JDVL7UV.js → chunk-7VVFKJY5.js} +70 -18
- package/dist/{chunk-7JIL3WOH.cjs → chunk-A75QY6CD.cjs} +14 -14
- package/dist/{chunk-VTASHWER.js → chunk-AQWZNP6A.js} +3 -3
- package/dist/{chunk-ZQFZSFQI.js → chunk-DENB2XJC.js} +2 -2
- package/dist/{chunk-FXENTYE5.js → chunk-DW7G4KG3.js} +1 -1
- package/dist/{chunk-I7DFUQMN.js → chunk-F6AFPNDF.js} +5 -6
- package/dist/{chunk-5QJDM6UV.js → chunk-F6I6XZMN.js} +3 -3
- package/dist/{chunk-4KGXLVCF.js → chunk-FCGC42TS.js} +3 -3
- package/dist/{chunk-2G546OND.js → chunk-G5A3PSPV.js} +19 -7
- package/dist/{chunk-N3TO7JV3.cjs → chunk-HPWWNJE7.cjs} +49 -49
- package/dist/{chunk-MI3JUJ75.cjs → chunk-IHERL5V4.cjs} +21 -21
- package/dist/{chunk-XIFOBQRQ.cjs → chunk-IKTQ3ZAG.cjs} +4 -4
- package/dist/{chunk-262YQFOS.cjs → chunk-JEZKGCZI.cjs} +24 -24
- package/dist/{chunk-L3IC42IF.cjs → chunk-KOWVJD4V.cjs} +17 -18
- package/dist/{chunk-IHU5ANUY.js → chunk-MKXO4Q5P.js} +1 -1
- package/dist/{chunk-IZGDG5X6.cjs → chunk-OUY3HHW6.cjs} +57 -45
- package/dist/{chunk-WUJNYGO2.js → chunk-PDWVPI3S.js} +0 -4
- package/dist/{chunk-ERCV6HHJ.js → chunk-PN2RKPDF.js} +4 -4
- package/dist/{chunk-7LFIKJX2.js → chunk-QFXRPRFT.js} +2 -2
- package/dist/{chunk-NRLJUBCS.js → chunk-RBDP4WDE.js} +2 -2
- package/dist/{chunk-C3BWIU7R.cjs → chunk-TYWLNCNH.cjs} +1 -5
- package/dist/{chunk-XATTBO5X.js → chunk-VA5T32XA.js} +1 -1
- package/dist/{chunk-LTSTC3N5.cjs → chunk-VESKITRQ.cjs} +379 -379
- package/dist/{chunk-HFJW24JJ.cjs → chunk-WA6GUYQ4.cjs} +79 -79
- package/dist/{chunk-QVSFBSWV.js → chunk-X5MQ7JRP.js} +4 -4
- package/dist/{chunk-XJKZ4IKT.cjs → chunk-YFBM2K6X.cjs} +4 -4
- package/dist/{chunk-6WQIUQUC.js → chunk-YHM5AWTT.js} +5 -5
- package/dist/{chunk-SYXQLETR.cjs → chunk-ZSAGLQOD.cjs} +9 -9
- package/dist/{chunk-HJAYVKWQ.js → chunk-ZSAO2HBW.js} +6 -6
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +8 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -3
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +4 -2
- package/dist/components/chat/mingo-chat-rail.d.ts +3 -1
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +81 -81
- package/dist/components/help-center-pages/index.js +16 -16
- package/dist/components/index.cjs +51 -47
- package/dist/components/index.js +19 -15
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/app-layout-side-panel.d.ts +18 -1
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +10 -8
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +9 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/index.cjs +7 -5
- package/dist/components/ui/index.js +6 -4
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +14 -10
- package/dist/index.js +12 -8
- package/package.json +1 -1
- package/src/components/chat/chat-input.tsx +5 -1
- package/src/components/chat/chat-message-enhanced.tsx +4 -3
- package/src/components/chat/embeddable-chat.tsx +64 -6
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-chat-rail.tsx +24 -7
- package/src/components/navigation/app-layout-side-panel.tsx +30 -2
- package/src/components/navigation/index.ts +1 -0
- package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
- package/src/styles/app-globals.css +13 -0
|
@@ -18,7 +18,7 @@ var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -767,7 +767,7 @@ function useSearch(config) {
|
|
|
767
767
|
searchFnRef.current = searchFn;
|
|
768
768
|
mapResultRef.current = mapResult;
|
|
769
769
|
});
|
|
770
|
-
const debouncedQuery =
|
|
770
|
+
const debouncedQuery = _chunkTYWLNCNHcjs.useDebounce.call(void 0, query, debounceMs);
|
|
771
771
|
const clearResults = _react.useCallback.call(void 0, () => {
|
|
772
772
|
setResults(NO_RESULTS);
|
|
773
773
|
setError(null);
|
|
@@ -1238,7 +1238,7 @@ function CommandApprovalToast({
|
|
|
1238
1238
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden", children: [
|
|
1239
1239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-11 w-full items-center gap-2 border-b border-ods-border bg-ods-card px-3 py-2", children: [
|
|
1240
1240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h6", title: command, children: command }),
|
|
1241
|
-
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1241
|
+
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYWLNCNHcjs.ToolIcon, { toolType, size: 16 }) : null
|
|
1242
1242
|
] }),
|
|
1243
1243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 bg-ods-bg p-3", children: [
|
|
1244
1244
|
approvalDescription ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: approvalDescription }) : null,
|
|
@@ -1421,7 +1421,7 @@ function useContactSubmission(options = {}) {
|
|
|
1421
1421
|
});
|
|
1422
1422
|
if (!response.ok) {
|
|
1423
1423
|
const failure = await response.json().catch(() => null);
|
|
1424
|
-
throw new Error(
|
|
1424
|
+
throw new Error(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, failure, "Failed to submit contact form"));
|
|
1425
1425
|
}
|
|
1426
1426
|
setIsSuccess(true);
|
|
1427
1427
|
const message = successToastMessage ? `Thank you! Your message has been sent. ${successToastMessage}` : "Thank you! Your message has been sent successfully.";
|
|
@@ -2736,7 +2736,7 @@ function useScenarioPlayer({
|
|
|
2736
2736
|
initialScenario = 0,
|
|
2737
2737
|
startAtEnd = false
|
|
2738
2738
|
}) {
|
|
2739
|
-
const auto =
|
|
2739
|
+
const auto = _chunkTYWLNCNHcjs.useAutoplay.call(void 0, enabled);
|
|
2740
2740
|
const { reducedMotion, paused, setPaused } = auto;
|
|
2741
2741
|
const [scenario, setScenario] = _react.useState.call(void 0, initialScenario);
|
|
2742
2742
|
const [rawStep, setRawStep] = _react.useState.call(void 0, startAtEnd ? Number.MAX_SAFE_INTEGER : 0);
|
|
@@ -2798,7 +2798,7 @@ async function validateAccessCode(email, code, endpoints) {
|
|
|
2798
2798
|
});
|
|
2799
2799
|
if (!response.ok) {
|
|
2800
2800
|
const failure = await response.json().catch(() => null);
|
|
2801
|
-
throw new Error(
|
|
2801
|
+
throw new Error(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, failure, "Validation request failed"));
|
|
2802
2802
|
}
|
|
2803
2803
|
return await response.json();
|
|
2804
2804
|
} catch (error) {
|
|
@@ -2819,7 +2819,7 @@ async function consumeAccessCode(email, code, endpoints) {
|
|
|
2819
2819
|
});
|
|
2820
2820
|
if (!response.ok) {
|
|
2821
2821
|
const failure = await response.json().catch(() => null);
|
|
2822
|
-
throw new Error(
|
|
2822
|
+
throw new Error(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, failure, "Consumption request failed"));
|
|
2823
2823
|
}
|
|
2824
2824
|
return await response.json();
|
|
2825
2825
|
} catch (error) {
|
|
@@ -3020,15 +3020,15 @@ function useScrollToHash(readyDep = true, options) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
};
|
|
3022
3022
|
const tryScrollToHash = () => {
|
|
3023
|
-
const hash =
|
|
3023
|
+
const hash = _chunkTYWLNCNHcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
|
|
3024
3024
|
if (!hash) return;
|
|
3025
3025
|
cancelPoll();
|
|
3026
3026
|
let frames = 0;
|
|
3027
3027
|
const tick = () => {
|
|
3028
|
-
const el =
|
|
3028
|
+
const el = _chunkTYWLNCNHcjs.getHashTargetElement.call(void 0, hash);
|
|
3029
3029
|
if (el) {
|
|
3030
3030
|
rafId = null;
|
|
3031
|
-
|
|
3031
|
+
_chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, el, { headerOffset });
|
|
3032
3032
|
return;
|
|
3033
3033
|
}
|
|
3034
3034
|
if (frames++ < MAX_POLL_FRAMES) {
|