@flamingo-stack/openframe-frontend-core 0.0.712 → 0.0.713
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-G3OMVCID.js → chunk-3BB3IEJI.js} +1 -1
- package/dist/{chunk-CSCJU6YC.cjs → chunk-3QGUDPIH.cjs} +10 -10
- package/dist/{chunk-N67XG5GY.js → chunk-6F4QOCGB.js} +1 -1
- package/dist/{chunk-5Y72YQEK.js → chunk-6MNAIQNR.js} +3 -3
- package/dist/{chunk-7HNYYNKE.js → chunk-CGHOH3GN.js} +2 -2
- package/dist/{chunk-WWJG4GVG.cjs → chunk-F2EACDOR.cjs} +22 -22
- package/dist/{chunk-RBYVFPER.js → chunk-H4J72PRA.js} +1 -1
- package/dist/{chunk-BXSRTBLU.cjs → chunk-IJKMILMG.cjs} +2 -2
- package/dist/{chunk-3SEEGNRE.js → chunk-IU4IO3CG.js} +3 -3
- package/dist/{chunk-UT3ODMBU.cjs → chunk-J7YIQJPS.cjs} +2 -2
- package/dist/{chunk-7NSU5EQD.cjs → chunk-KGAFUXGZ.cjs} +11 -11
- package/dist/{chunk-JGCFRTND.cjs → chunk-KMB7JHGG.cjs} +4 -4
- package/dist/{chunk-EFNKS5W4.js → chunk-KPUHSVJU.js} +1 -1
- package/dist/{chunk-L6ZQGWCX.cjs → chunk-OQKRXLTZ.cjs} +191 -110
- package/dist/{chunk-OPYODNV2.js → chunk-P6QCJXLD.js} +1 -1
- package/dist/{chunk-Z5SWJW5Q.cjs → chunk-QQQ46DFT.cjs} +23 -23
- package/dist/{chunk-3UAJLO5U.cjs → chunk-QU4AHNRL.cjs} +3 -3
- package/dist/{chunk-4UYKNOZG.js → chunk-RBVUIOIM.js} +2 -2
- package/dist/{chunk-5SDELRH3.js → chunk-RRYNHAEL.js} +1 -1
- package/dist/{chunk-FCAVAEHF.js → chunk-STPC2AQU.js} +701 -620
- package/dist/{chunk-OBZJICEA.cjs → chunk-TC4W7QDC.cjs} +3 -3
- package/dist/{chunk-T3CLXR43.cjs → chunk-YIUSW4DB.cjs} +15 -15
- package/dist/{cloud-tenants-KZUZGD4A.cjs → cloud-tenants-HRJYNUJM.cjs} +2 -2
- package/dist/{cloud-tenants-OGLVVQ7X.js → cloud-tenants-SM7WLEGG.js} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/approval-level.d.ts +49 -0
- package/dist/components/features/approval-level.d.ts.map +1 -0
- package/dist/components/features/index.cjs +10 -2
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +9 -1
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +39 -39
- package/dist/components/help-center-pages/index.js +10 -10
- package/dist/components/index.cjs +26 -18
- package/dist/components/index.js +16 -8
- package/dist/components/meeting-scheduler/index.cjs +11 -11
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.js +3 -3
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/{devices-YGYJIXQY.cjs → devices-6XKQTQM5.cjs} +3 -3
- package/dist/{devices-LBMG42K6.js → devices-LXSFGGEZ.js} +1 -1
- package/dist/index.cjs +11 -3
- package/dist/index.js +10 -2
- package/dist/{knowledge-KTCVJIWN.cjs → knowledge-7PDZLXPO.cjs} +2 -2
- package/dist/{knowledge-H5BIWJVI.js → knowledge-Q4SPFOTN.js} +1 -1
- package/dist/{logs-DB5Z7M5Q.js → logs-SZ4VB4FE.js} +1 -1
- package/dist/{logs-RVCC2UQW.cjs → logs-TO3NELGJ.cjs} +10 -10
- package/dist/{policies-HV4IQCBV.cjs → policies-533GQVFM.cjs} +6 -6
- package/dist/{policies-EWUULFBR.js → policies-LB7VW2UB.js} +1 -1
- package/dist/{software-update-D4OVSWSG.cjs → software-update-DT2XSG7M.cjs} +6 -6
- package/dist/{software-update-6PXKRKBT.js → software-update-ENZNVGKP.js} +1 -1
- package/package.json +1 -1
- package/src/components/features/approval-level.tsx +149 -0
- package/src/components/features/index.ts +1 -0
- package/src/components/features/policy-configuration-panel.tsx +3 -12
|
@@ -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 _chunkQU4AHNRLcjs = require('./chunk-QU4AHNRL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkKMB7JHGGcjs = require('./chunk-KMB7JHGG.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -31,7 +31,7 @@ var _chunkZX7SCPLOcjs = require('./chunk-ZX7SCPLO.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -665,7 +665,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
665
665
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
666
666
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
|
|
667
667
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
668
|
-
|
|
668
|
+
_chunkOQKRXLTZcjs.Textarea,
|
|
669
669
|
{
|
|
670
670
|
id: "ticket-content",
|
|
671
671
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -795,7 +795,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
795
795
|
dateClosed: clickup.date_closed,
|
|
796
796
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
797
797
|
};
|
|
798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkETYLOZOBcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
798
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkETYLOZOBcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -877,13 +877,13 @@ function TicketReplyComposer({
|
|
|
877
877
|
}
|
|
878
878
|
)
|
|
879
879
|
] }),
|
|
880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
880
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOQKRXLTZcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOQKRXLTZcjs.AlertDialogHeader, { children: [
|
|
882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
884
884
|
] }),
|
|
885
885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
|
-
|
|
886
|
+
_chunkOQKRXLTZcjs.Textarea,
|
|
887
887
|
{
|
|
888
888
|
value: resolution,
|
|
889
889
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -893,9 +893,9 @@ function TicketReplyComposer({
|
|
|
893
893
|
className: "mt-2"
|
|
894
894
|
}
|
|
895
895
|
),
|
|
896
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
896
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOQKRXLTZcjs.AlertDialogFooter, { children: [
|
|
897
897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
-
|
|
898
|
+
_chunkOQKRXLTZcjs.AlertDialogCancel,
|
|
899
899
|
{
|
|
900
900
|
disabled: busy,
|
|
901
901
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -903,7 +903,7 @@ function TicketReplyComposer({
|
|
|
903
903
|
}
|
|
904
904
|
),
|
|
905
905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
906
|
-
|
|
906
|
+
_chunkOQKRXLTZcjs.AlertDialogAction,
|
|
907
907
|
{
|
|
908
908
|
onClick: () => void confirmClose(),
|
|
909
909
|
disabled: busy,
|
|
@@ -1061,7 +1061,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1061
1061
|
avatarUrl: avatarSrc,
|
|
1062
1062
|
timeLabel: eng.createdAt ? _chunkKT3U3ZRPcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1063
1063
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1064
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1064
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1065
1065
|
},
|
|
1066
1066
|
eng.id
|
|
1067
1067
|
);
|
|
@@ -1473,7 +1473,7 @@ function HelpCenterCard({
|
|
|
1473
1473
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1474
1474
|
className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default content-md:p-[16px]",
|
|
1475
1475
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1476
|
-
|
|
1476
|
+
_chunkKMB7JHGGcjs.DevCardRowContent,
|
|
1477
1477
|
{
|
|
1478
1478
|
title,
|
|
1479
1479
|
subtitle,
|
|
@@ -1574,7 +1574,7 @@ function HelpCenterCreateForm({
|
|
|
1574
1574
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1575
1575
|
] });
|
|
1576
1576
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1577
|
-
|
|
1577
|
+
_chunkQU4AHNRLcjs.ContactForm,
|
|
1578
1578
|
{
|
|
1579
1579
|
rescue: null,
|
|
1580
1580
|
title: "Open a new ticket",
|
|
@@ -1623,19 +1623,19 @@ function HelpCenterList({ toast: toast2 = _chunkJO5TLJPMcjs.toast, backButton, t
|
|
|
1623
1623
|
const page = _chunkAECTRMGQcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1624
1624
|
if (identity.isLoading) {
|
|
1625
1625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1626
|
-
|
|
1626
|
+
_chunkKMB7JHGGcjs.DevSectionPage,
|
|
1627
1627
|
{
|
|
1628
1628
|
sectionKey: "tickets",
|
|
1629
1629
|
backButton,
|
|
1630
1630
|
title,
|
|
1631
1631
|
shell,
|
|
1632
1632
|
preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
|
|
1633
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1633
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DevCardRowSkeletonList, {})
|
|
1634
1634
|
}
|
|
1635
1635
|
);
|
|
1636
1636
|
}
|
|
1637
1637
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1638
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1638
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1639
1639
|
_chunkMA4Q5RBPcjs.EmptyState,
|
|
1640
1640
|
{
|
|
1641
1641
|
type: "generic",
|
|
@@ -1765,15 +1765,15 @@ function HelpCenterListAuthed({
|
|
|
1765
1765
|
] }),
|
|
1766
1766
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1767
1767
|
] }),
|
|
1768
|
-
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1768
|
+
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
|
|
1769
1769
|
// Bridge state — background refetch in flight and the
|
|
1770
1770
|
// optimistic placeholder was just removed by the mutation
|
|
1771
1771
|
// callback. Without this branch "No tickets yet" would flash
|
|
1772
1772
|
// for ~50ms between `removeOptimistic` and the server
|
|
1773
1773
|
// response landing.
|
|
1774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DevCardRowSkeletonList, { rows: 1 })
|
|
1775
1775
|
) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
-
|
|
1776
|
+
_chunkKMB7JHGGcjs.ListEmptyState,
|
|
1777
1777
|
{
|
|
1778
1778
|
isFiltered: hasActiveFilters,
|
|
1779
1779
|
filtered: {
|
|
@@ -1822,7 +1822,7 @@ function HelpCenterListAuthed({
|
|
|
1822
1822
|
) }),
|
|
1823
1823
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMA4Q5RBPcjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1824
1824
|
] });
|
|
1825
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1825
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMB7JHGGcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
1828
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkOQKRXLTZcjs = require('./chunk-OQKRXLTZ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -205,7 +205,7 @@ function ContactForm({
|
|
|
205
205
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
206
206
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
207
207
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQKRXLTZcjs.HoneypotField, { ...honeypotInputProps }),
|
|
209
209
|
extraTopField,
|
|
210
210
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
211
211
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -330,7 +330,7 @@ function ContactForm({
|
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
|
|
331
331
|
] }),
|
|
332
332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
-
|
|
333
|
+
_chunkOQKRXLTZcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RRYNHAEL.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
12
|
} from "./chunk-YBQQNDC7.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
LoadError,
|
|
17
17
|
PageShell,
|
|
18
18
|
RichMarkdownRenderer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-STPC2AQU.js";
|
|
20
20
|
import {
|
|
21
21
|
PageLayout
|
|
22
22
|
} from "./chunk-NPAQSMRY.js";
|