@flamingo-stack/openframe-frontend-core 0.0.801 → 0.0.803
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-7MV23NNT.cjs → chunk-2X3N6MSR.cjs} +88 -0
- package/dist/{chunk-XYPNYTCV.cjs → chunk-6JVNUGN3.cjs} +3 -3
- package/dist/{chunk-3W2PBWD5.cjs → chunk-CACULEQS.cjs} +4 -4
- package/dist/{chunk-Z66FOMSA.cjs → chunk-H4T3YHYH.cjs} +646 -643
- package/dist/{chunk-SHOE6ATQ.cjs → chunk-HEMZOHNB.cjs} +13 -13
- package/dist/{chunk-QAUQYQWT.cjs → chunk-HVWMPUXK.cjs} +6 -6
- package/dist/{chunk-PY6SPYUR.cjs → chunk-I4BODSPV.cjs} +3 -3
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-IE3CPPHJ.cjs} +24 -24
- package/dist/{chunk-E56LN23H.cjs → chunk-IYWX4GOG.cjs} +35 -13
- package/dist/{chunk-LEEBFBI4.cjs → chunk-JTDOBGKE.cjs} +41 -41
- package/dist/{chunk-QNIUDJAK.cjs → chunk-KVL3QRFX.cjs} +9 -9
- package/dist/{chunk-LOCJD7TD.cjs → chunk-MBZIARIL.cjs} +12 -12
- package/dist/{chunk-YUGX72P4.cjs → chunk-MII4RDO4.cjs} +61 -61
- package/dist/{chunk-PJMLRXAG.cjs → chunk-NNQXP2ZM.cjs} +6 -6
- package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
- package/dist/{chunk-3YPEXJVQ.cjs → chunk-QFBRQ22U.cjs} +41 -41
- package/dist/{chunk-DYDS2P5G.cjs → chunk-T7B3FJY6.cjs} +2 -2
- package/dist/{chunk-DTBIIFZG.cjs → chunk-TELXF5WD.cjs} +14 -14
- package/dist/{chunk-7E4BC3AF.cjs → chunk-TVAU56UU.cjs} +46 -39
- package/dist/{chunk-THQKEA2T.cjs → chunk-VKSO3UYU.cjs} +26 -26
- package/dist/{chunk-CJSUMYTH.cjs → chunk-XOFGPSNP.cjs} +21 -21
- package/dist/{chunk-237MLBT7.cjs → chunk-YKQGYAG5.cjs} +55 -55
- package/dist/{cloud-tenants-X7QHAIX2.cjs → cloud-tenants-GKCZSLEV.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +39 -15
- package/dist/components/help-center-pages/index.cjs +121 -96
- package/dist/components/index.cjs +44 -44
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/meeting-scheduler/index.cjs +45 -45
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +19 -19
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/{devices-VBFYZVVG.cjs → devices-XIXLFYRJ.cjs} +9 -9
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-SVDMLAER.cjs} +63 -62
- package/dist/hooks/index.cjs +2 -2
- package/dist/index.cjs +14 -12
- package/dist/{knowledge-RJZJFD2Y.cjs → knowledge-3DKG5QG2.cjs} +9 -9
- package/dist/{logs-3WZ4GROE.cjs → logs-RIU2TTRZ.cjs} +16 -16
- package/dist/{policies-E6WQEXDF.cjs → policies-F2ZB2J4L.cjs} +12 -12
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-GBMM5UPQ.cjs} +4 -4
- package/dist/{scripts-JLCM42F4.cjs → scripts-XX5LMCRA.cjs} +15 -15
- package/dist/{software-update-BVBHAROC.cjs → software-update-VYBM7SC6.cjs} +12 -12
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-5QIIA24E.cjs} +7 -7
- package/dist/types/downloads.d.ts +5 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/downloads.js +3 -1
- package/dist/types/index.cjs +2 -0
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/help-center-pages/download-apps-page.tsx +42 -13
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/types/downloads.ts +6 -0
|
@@ -44,6 +44,8 @@ var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
+
|
|
48
|
+
|
|
47
49
|
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
48
50
|
|
|
49
51
|
|
|
@@ -650,6 +652,79 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
650
652
|
] }) }) })
|
|
651
653
|
] });
|
|
652
654
|
}
|
|
655
|
+
var ApprovalBatchLoading = _react.forwardRef.call(void 0,
|
|
656
|
+
({ className, showFooterActions, variant, ...props }, ref) => variant === "client" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", CHAT_BLOCK_CLASS, className), ...props, children: [
|
|
657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "inline-block w-3/4 align-middle" }) }),
|
|
658
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalWaitingLine, {}),
|
|
659
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
661
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
662
|
+
{
|
|
663
|
+
size: "small-legacy",
|
|
664
|
+
variant: "accent",
|
|
665
|
+
tabIndex: -1,
|
|
666
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
667
|
+
children: "Approve"
|
|
668
|
+
}
|
|
669
|
+
),
|
|
670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
671
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
672
|
+
{
|
|
673
|
+
size: "small-legacy",
|
|
674
|
+
variant: "outline",
|
|
675
|
+
tabIndex: -1,
|
|
676
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
677
|
+
children: "Reject"
|
|
678
|
+
}
|
|
679
|
+
)
|
|
680
|
+
] })
|
|
681
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
682
|
+
"div",
|
|
683
|
+
{
|
|
684
|
+
ref,
|
|
685
|
+
"aria-hidden": true,
|
|
686
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)] flex flex-col overflow-hidden", CHAT_BLOCK_FRAME_CLASS, className),
|
|
687
|
+
...props,
|
|
688
|
+
children: [
|
|
689
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-start bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", tabIndex: -1, children: [
|
|
690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.MediaSkeleton.Icon, { size: "sm" }) }),
|
|
691
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col text-h6", children: [
|
|
692
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: "w-full" }),
|
|
693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: "w-2/3" })
|
|
694
|
+
] }),
|
|
695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded: false }) })
|
|
696
|
+
] }) }),
|
|
697
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-center gap-[var(--spacing-system-xsf)] border-t border-ods-border p-[var(--spacing-system-sf)]", children: [
|
|
698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "w-full list-disc pl-5 text-ods-text-primary text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "inline-block w-3/4 align-middle" }) }) }),
|
|
699
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalWaitingLine, {}),
|
|
700
|
+
showFooterActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
702
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
703
|
+
{
|
|
704
|
+
size: "small-legacy",
|
|
705
|
+
variant: "accent",
|
|
706
|
+
tabIndex: -1,
|
|
707
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
708
|
+
children: "Approve"
|
|
709
|
+
}
|
|
710
|
+
),
|
|
711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
712
|
+
_chunkAHBTZ7DNcjs.Button,
|
|
713
|
+
{
|
|
714
|
+
size: "small-legacy",
|
|
715
|
+
variant: "outline",
|
|
716
|
+
tabIndex: -1,
|
|
717
|
+
className: "h-8 px-[var(--spacing-system-xsf)] text-h5",
|
|
718
|
+
children: "Reject"
|
|
719
|
+
}
|
|
720
|
+
)
|
|
721
|
+
] })
|
|
722
|
+
] })
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
)
|
|
726
|
+
);
|
|
727
|
+
ApprovalBatchLoading.displayName = "ApprovalBatchLoading";
|
|
653
728
|
var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
654
729
|
({
|
|
655
730
|
className,
|
|
@@ -668,6 +743,19 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
668
743
|
const [expandedId, setExpandedId] = _react.useState.call(void 0, null);
|
|
669
744
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
670
745
|
const isClient = variant === "client";
|
|
746
|
+
const inLoadingScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
747
|
+
if (inLoadingScope || data === null) {
|
|
748
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
749
|
+
ApprovalBatchLoading,
|
|
750
|
+
{
|
|
751
|
+
ref,
|
|
752
|
+
className,
|
|
753
|
+
variant,
|
|
754
|
+
showFooterActions,
|
|
755
|
+
...props
|
|
756
|
+
}
|
|
757
|
+
);
|
|
758
|
+
}
|
|
671
759
|
const explanations = data.toolCalls.map((c) => _optionalChain([c, 'access', _2 => _2.toolExplanation, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()])).filter((s) => !!s);
|
|
672
760
|
const handleApprove = async () => {
|
|
673
761
|
setIsProcessing(true);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkH4T3YHYHcjs = require('./chunk-H4T3YHYH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkH4T3YHYHcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkH4T3YHYHcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkIE3CPPHJcjs = require('./chunk-IE3CPPHJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTVAU56UUcjs = require('./chunk-TVAU56UU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkTVAU56UUcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkIE3CPPHJcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|