@flamingo-stack/openframe-frontend-core 0.0.855 → 0.0.856
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-OTHQ2KQW.cjs → chunk-2BTEERLH.cjs} +3 -3
- package/dist/{chunk-6VVQJU76.cjs → chunk-E5OQHFM6.cjs} +11 -11
- package/dist/{chunk-MINFN3IG.cjs → chunk-GTUQGVXH.cjs} +3 -3
- package/dist/{chunk-2MCPK6AX.cjs → chunk-HGM7WDJT.cjs} +16 -16
- package/dist/{chunk-GZYRDLJW.cjs → chunk-OW5MQKCI.cjs} +34 -34
- package/dist/{chunk-AOOHJLXS.cjs → chunk-QLFNMWBP.cjs} +24 -24
- package/dist/{chunk-ZUGJLCYP.cjs → chunk-SJZWVMBF.cjs} +191 -191
- package/dist/{chunk-QPHXYE5P.cjs → chunk-UHGARY3S.cjs} +6 -6
- package/dist/{chunk-DPNFI5XM.cjs → chunk-UZIGMLTH.cjs} +21 -21
- package/dist/{chunk-RIJU4HZ2.cjs → chunk-XI3AMOW6.cjs} +14 -7
- package/dist/{chunk-DTZ6KASI.cjs → chunk-XTLMWLFB.cjs} +4 -4
- package/dist/{chunk-BSPIGZCC.cjs → chunk-YB244RRB.cjs} +9 -9
- package/dist/{cloud-tenants-2XFIDDGU.cjs → cloud-tenants-J5T4YL2P.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/remote-session/remote-session-viewers.d.ts +6 -1
- package/dist/components/features/remote-session/remote-session-viewers.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-viewers.js +10 -3
- package/dist/components/help-center-pages/index.cjs +52 -52
- package/dist/components/index.cjs +18 -18
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-O3DYGIZB.cjs → devices-IJDF7SSK.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-K7AFNZNO.cjs → knowledge-5LIK6Q4E.cjs} +3 -3
- package/dist/{logs-MZ3BR2FR.cjs → logs-FMENCAXT.cjs} +10 -10
- package/dist/{policies-XVKQ2W7S.cjs → policies-DKQEEKB4.cjs} +7 -7
- package/dist/{remote-session-VOZJXDM4.cjs → remote-session-6X7CAHBC.cjs} +4 -4
- package/dist/{scripts-IBPMBS6G.cjs → scripts-4EPUIFHF.cjs} +10 -10
- package/dist/{software-update-PXTANMAO.cjs → software-update-IMNRXBAI.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-session-viewers.tsx +16 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkHGM7WDJTcjs = require('./chunk-HGM7WDJT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkUHGARY3Scjs = require('./chunk-UHGARY3S.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ var _chunkMX52LZ6Mcjs = require('./chunk-MX52LZ6M.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkSJZWVMBFcjs = require('./chunk-SJZWVMBF.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -693,7 +693,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
693
693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
694
694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
|
|
695
695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
696
|
-
|
|
696
|
+
_chunkSJZWVMBFcjs.Textarea,
|
|
697
697
|
{
|
|
698
698
|
id: "ticket-content",
|
|
699
699
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -823,7 +823,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
823
823
|
dateClosed: clickup.date_closed,
|
|
824
824
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
825
825
|
};
|
|
826
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkAYMY2VNBcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkAYMY2VNBcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHGARY3Scjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -905,13 +905,13 @@ function TicketReplyComposer({
|
|
|
905
905
|
}
|
|
906
906
|
)
|
|
907
907
|
] }),
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
909
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSJZWVMBFcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSJZWVMBFcjs.AlertDialogHeader, { children: [
|
|
910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
912
912
|
] }),
|
|
913
913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
-
|
|
914
|
+
_chunkSJZWVMBFcjs.Textarea,
|
|
915
915
|
{
|
|
916
916
|
value: resolution,
|
|
917
917
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -921,9 +921,9 @@ function TicketReplyComposer({
|
|
|
921
921
|
className: "mt-2"
|
|
922
922
|
}
|
|
923
923
|
),
|
|
924
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
924
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSJZWVMBFcjs.AlertDialogFooter, { children: [
|
|
925
925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunkSJZWVMBFcjs.AlertDialogCancel,
|
|
927
927
|
{
|
|
928
928
|
disabled: busy,
|
|
929
929
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -931,7 +931,7 @@ function TicketReplyComposer({
|
|
|
931
931
|
}
|
|
932
932
|
),
|
|
933
933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
-
|
|
934
|
+
_chunkSJZWVMBFcjs.AlertDialogAction,
|
|
935
935
|
{
|
|
936
936
|
onClick: () => void confirmClose(),
|
|
937
937
|
disabled: busy,
|
|
@@ -1092,7 +1092,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1092
1092
|
avatarUrl: avatarSrc,
|
|
1093
1093
|
timeLabel: eng.createdAt ? _chunkSTV6VJ3Ucjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1094
1094
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1095
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1095
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1096
1096
|
},
|
|
1097
1097
|
eng.id
|
|
1098
1098
|
);
|
|
@@ -1339,7 +1339,7 @@ function TicketCenterAuthed({
|
|
|
1339
1339
|
const toggleRow = _react.useCallback.call(void 0, (id) => {
|
|
1340
1340
|
setExpandedTicketId((prev) => prev === id ? null : id);
|
|
1341
1341
|
}, []);
|
|
1342
|
-
const syncInPage =
|
|
1342
|
+
const syncInPage = _chunkUHGARY3Scjs.usePageDataSync.call(void 0, sync, isLoading);
|
|
1343
1343
|
const merged = [...optimisticTickets, ...tickets];
|
|
1344
1344
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1345
1345
|
TicketCenterView,
|
|
@@ -1375,7 +1375,7 @@ function TicketCenterAuthed({
|
|
|
1375
1375
|
function TicketCenterPending({
|
|
1376
1376
|
region = true
|
|
1377
1377
|
} = {}) {
|
|
1378
|
-
const syncInPage =
|
|
1378
|
+
const syncInPage = _chunkUHGARY3Scjs.usePageDataSync.call(void 0, null, true);
|
|
1379
1379
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHML3JUXFcjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1380
1380
|
TicketCenterView,
|
|
1381
1381
|
{
|
|
@@ -1438,7 +1438,7 @@ function TicketListHeader({
|
|
|
1438
1438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
|
|
1439
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
|
|
1440
1440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
1441
|
-
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1441
|
+
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
|
|
1442
1442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1443
1443
|
_chunkFCZAUK4Dcjs.Button,
|
|
1444
1444
|
{
|
|
@@ -1473,7 +1473,7 @@ function HelpCenterCard(props) {
|
|
|
1473
1473
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
|
|
1474
1474
|
}
|
|
1475
1475
|
function HelpCenterCardSkeleton({ id, ...props }) {
|
|
1476
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1476
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHGARY3Scjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
|
|
1477
1477
|
}
|
|
1478
1478
|
function HelpCenterCardLoaded({
|
|
1479
1479
|
ticket,
|
|
@@ -1567,7 +1567,7 @@ function HelpCenterCardLoaded({
|
|
|
1567
1567
|
"aria-expanded": isExpandable ? isExpanded : void 0,
|
|
1568
1568
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1569
1569
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1570
|
-
|
|
1570
|
+
_chunkUHGARY3Scjs.DevCardRowContent,
|
|
1571
1571
|
{
|
|
1572
1572
|
title,
|
|
1573
1573
|
subtitle,
|
|
@@ -1648,7 +1648,7 @@ function HelpCenterCreateFormBody({
|
|
|
1648
1648
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1649
1649
|
] });
|
|
1650
1650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1651
|
-
|
|
1651
|
+
_chunkHGM7WDJTcjs.ContactForm,
|
|
1652
1652
|
{
|
|
1653
1653
|
rescue: null,
|
|
1654
1654
|
title: "Open a new ticket",
|
|
@@ -1698,7 +1698,7 @@ function HelpCenterList({ toast: toast2 = _chunkQZXCUY36cjs.toast, backButton, t
|
|
|
1698
1698
|
const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1699
1699
|
if (identity.isLoading) {
|
|
1700
1700
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1701
|
-
|
|
1701
|
+
_chunkUHGARY3Scjs.DevSectionPage,
|
|
1702
1702
|
{
|
|
1703
1703
|
sectionKey: "tickets",
|
|
1704
1704
|
backButton,
|
|
@@ -1710,7 +1710,7 @@ function HelpCenterList({ toast: toast2 = _chunkQZXCUY36cjs.toast, backButton, t
|
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
1712
1712
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1713
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1713
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHGARY3Scjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1714
1714
|
_chunk5NK3FUHYcjs.EmptyState,
|
|
1715
1715
|
{
|
|
1716
1716
|
type: "generic",
|
|
@@ -1841,7 +1841,7 @@ function HelpCenterListAuthed({
|
|
|
1841
1841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1842
1842
|
] }),
|
|
1843
1843
|
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading || !hasResults && isFetching ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterRowsFrame, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1844
|
-
|
|
1844
|
+
_chunkUHGARY3Scjs.ListEmptyState,
|
|
1845
1845
|
{
|
|
1846
1846
|
isFiltered: hasActiveFilters,
|
|
1847
1847
|
filtered: {
|
|
@@ -1881,7 +1881,7 @@ function HelpCenterListAuthed({
|
|
|
1881
1881
|
)) }) }),
|
|
1882
1882
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5NK3FUHYcjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1883
1883
|
] });
|
|
1884
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1884
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHGARY3Scjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1885
1885
|
}
|
|
1886
1886
|
function HelpCenterRowsFrame({ children }) {
|
|
1887
1887
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
|