@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.719
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-N2PF5CFX.js → chunk-2JLP2X2M.js} +1 -1
- package/dist/{chunk-YEMCCYIF.js → chunk-4D6NMPOO.js} +1 -1
- package/dist/{chunk-MIQLUUVF.cjs → chunk-4JIGEK7C.cjs} +6 -6
- package/dist/{chunk-JIWMBIVZ.js → chunk-5U3KWQXP.js} +3 -3
- package/dist/{chunk-67QBMN4R.js → chunk-5YAGX5DY.js} +1 -1
- package/dist/{chunk-GEDY7HQI.cjs → chunk-6X3O67OL.cjs} +4 -0
- package/dist/{chunk-DEZDMTBM.js → chunk-7BCY77W6.js} +5 -5
- package/dist/{chunk-BWIN42ZA.cjs → chunk-7BREFV7G.cjs} +19 -19
- package/dist/{chunk-45F7PXUI.js → chunk-AJHSQ5XK.js} +2 -2
- package/dist/{chunk-TBCZCRQ5.js → chunk-CU6NWO2M.js} +5 -5
- package/dist/{chunk-DCD5WZUF.js → chunk-D6PMVWDI.js} +2 -2
- package/dist/{chunk-2RKFMUNW.cjs → chunk-DFEPUYTF.cjs} +24 -21
- package/dist/{chunk-BOTM373R.cjs → chunk-E2V2EH2G.cjs} +2 -2
- package/dist/{chunk-PQ6HBLZ7.js → chunk-EAHOB64X.js} +3 -3
- package/dist/{chunk-SGFTTJKO.js → chunk-FVQJBII6.js} +1 -1
- package/dist/{chunk-APJZBDQN.js → chunk-H5V7GRN5.js} +24 -21
- package/dist/{chunk-6A43ZDWV.cjs → chunk-H5VIMBRN.cjs} +2 -2
- package/dist/{chunk-DXCBOZVT.cjs → chunk-HCFNEKO3.cjs} +13 -13
- package/dist/{chunk-Z5UWW3Z2.cjs → chunk-LCLDFMDF.cjs} +66 -50
- package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-LOZLHG2U.cjs} +6 -6
- package/dist/{chunk-Z3CVSPO3.cjs → chunk-NQVS4G7G.cjs} +134 -134
- package/dist/{chunk-EZC2F5OT.cjs → chunk-NYWESHOQ.cjs} +15 -15
- package/dist/{chunk-YBQQNDC7.js → chunk-RR6PY34K.js} +4 -0
- package/dist/{chunk-GN4A7PMB.cjs → chunk-SWAVO7BB.cjs} +23 -23
- package/dist/{chunk-S2FUFMLW.cjs → chunk-TDZ76NCB.cjs} +16 -16
- package/dist/{chunk-QXZCLQNV.js → chunk-TELAANY6.js} +1 -1
- package/dist/{chunk-MM7MCIXL.js → chunk-TTEFN6VO.js} +4 -4
- package/dist/{chunk-YC5COB5V.cjs → chunk-WS7WRR5Z.cjs} +32 -32
- package/dist/{chunk-LOYPRJWA.js → chunk-Y4MB25KW.js} +66 -50
- package/dist/{chunk-WALCXC7J.cjs → chunk-ZKNZ2CXW.cjs} +3 -3
- package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-DNBPNQNP.js} +2 -2
- package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-FBUO66GW.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +48 -48
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +23 -23
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +18 -18
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/navigation/index.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/related-content/related-content-section.d.ts +6 -6
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/{devices-KRCGZMGA.cjs → devices-5A5TY4JD.cjs} +4 -4
- package/dist/{devices-LHEX7O5T.js → devices-PLDAEUSL.js} +2 -2
- package/dist/hooks/use-self-fetch.d.ts +3 -0
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-FKTJ723Z.cjs} +3 -3
- package/dist/{knowledge-RZSFNR33.js → knowledge-G6Q5KRWV.js} +2 -2
- package/dist/{logs-OX3XTVL2.cjs → logs-CJCXUBU6.cjs} +11 -11
- package/dist/{logs-E5DOV5JO.js → logs-QMV6XIC4.js} +2 -2
- package/dist/{policies-MC2S4S5G.js → policies-G6D7AX6F.js} +2 -2
- package/dist/{policies-FOSCIZGK.cjs → policies-QMRTK3CY.cjs} +7 -7
- package/dist/{remote-session-DRFE5XZE.cjs → remote-session-2JVI7RVA.cjs} +3 -3
- package/dist/{remote-session-JQ2BPIE3.js → remote-session-DBD6OSTX.js} +1 -1
- package/dist/{software-update-D4OEIH65.js → software-update-6BQM6BKH.js} +2 -2
- package/dist/{software-update-HOBSTWVO.cjs → software-update-PNZMRDBT.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
- package/src/components/related-content/related-content-section.tsx +46 -47
- package/src/hooks/use-self-fetch.ts +7 -0
|
@@ -12,7 +12,7 @@ var _chunkE7YCPY7Kcjs = require('./chunk-E7YCPY7K.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkNQVS4G7Gcjs = require('./chunk-NQVS4G7G.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -147,7 +147,7 @@ function NavItemRow({
|
|
|
147
147
|
className
|
|
148
148
|
}) {
|
|
149
149
|
const label = navLinkLabel(link);
|
|
150
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
151
151
|
const singleLine = !link.description && !link.builtOn;
|
|
152
152
|
const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
153
153
|
ROW_CLASSES[variant],
|
|
@@ -535,7 +535,7 @@ function SiteHeader({
|
|
|
535
535
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
536
536
|
leading,
|
|
537
537
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
538
|
-
|
|
538
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
539
539
|
{
|
|
540
540
|
className: "border-r border-ods-border lg:hidden",
|
|
541
541
|
onClick: mobile.onToggle,
|
|
@@ -841,7 +841,7 @@ function SiteFooter({
|
|
|
841
841
|
const columns = nav.footerColumns;
|
|
842
842
|
const accordion = columns.length > ACCORDION_OVER;
|
|
843
843
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
844
|
-
|
|
844
|
+
_chunkNQVS4G7Gcjs.SocialIconRow,
|
|
845
845
|
{
|
|
846
846
|
compact: true,
|
|
847
847
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1217,7 +1217,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1217
1217
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1218
1218
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1219
1219
|
}),
|
|
1220
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1220
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.UnreadDot, { size: "fixed" })
|
|
1221
1221
|
] }),
|
|
1222
1222
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1223
1223
|
"span",
|
|
@@ -1652,7 +1652,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1652
1652
|
else window.location.assign(target);
|
|
1653
1653
|
};
|
|
1654
1654
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1655
|
-
|
|
1655
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
1656
1656
|
{
|
|
1657
1657
|
icon: (
|
|
1658
1658
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1662,7 +1662,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1662
1662
|
// existing while updates are unread — never by tinting the glyph.
|
|
1663
1663
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1664
1664
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1666
1666
|
] })
|
|
1667
1667
|
),
|
|
1668
1668
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1738,7 +1738,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1738
1738
|
leading: (
|
|
1739
1739
|
// Mobile: Burger Menu Button
|
|
1740
1740
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1741
|
-
|
|
1741
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
1742
1742
|
{
|
|
1743
1743
|
onClick: onToggleMobileMenu,
|
|
1744
1744
|
isActive: isMobileMenuOpen,
|
|
@@ -1764,7 +1764,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1764
1764
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1765
1765
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1766
1766
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1767
|
-
|
|
1767
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
1768
1768
|
{
|
|
1769
1769
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1770
1770
|
"aria-label": "Search",
|
|
@@ -1781,7 +1781,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1781
1781
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1782
1782
|
}
|
|
1783
1783
|
),
|
|
1784
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1784
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1785
1785
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1786
1786
|
NotificationsHeaderButton,
|
|
1787
1787
|
{
|
|
@@ -1801,7 +1801,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1801
1801
|
),
|
|
1802
1802
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenu, { children: [
|
|
1803
1803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2Y7QZAB2cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1804
|
-
|
|
1804
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
1805
1805
|
{
|
|
1806
1806
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1807
1807
|
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
@@ -1886,12 +1886,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1886
1886
|
);
|
|
1887
1887
|
});
|
|
1888
1888
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1889
|
-
const ctx =
|
|
1889
|
+
const ctx = _chunkNQVS4G7Gcjs.useOptionalNotifications.call(void 0, );
|
|
1890
1890
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1891
1891
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
|
|
1892
1892
|
const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
|
|
1893
1893
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1894
|
-
|
|
1894
|
+
_chunkNQVS4G7Gcjs.HeaderButton,
|
|
1895
1895
|
{
|
|
1896
1896
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1897
1897
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2564,7 +2564,7 @@ function AppLayout({
|
|
|
2564
2564
|
}),
|
|
2565
2565
|
[]
|
|
2566
2566
|
);
|
|
2567
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2567
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2568
2568
|
topBar,
|
|
2569
2569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2570
2570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2588,7 +2588,7 @@ function AppLayout({
|
|
|
2588
2588
|
disabled
|
|
2589
2589
|
}
|
|
2590
2590
|
),
|
|
2591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2591
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.NotificationDrawer, {}),
|
|
2592
2592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2593
2593
|
"div",
|
|
2594
2594
|
{
|
|
@@ -9,6 +9,7 @@ function useSelfFetch(url, options) {
|
|
|
9
9
|
const initialData = options?.initialData;
|
|
10
10
|
const revalidateOnVisibleAfterMs = options?.revalidateOnVisibleAfterMs;
|
|
11
11
|
const [data, setData] = useState(initialData ?? null);
|
|
12
|
+
const [dataUrl, setDataUrl] = useState(initialData !== void 0 ? url : null);
|
|
12
13
|
const [isLoading, setIsLoading] = useState(initialData === void 0 && url !== null);
|
|
13
14
|
const [error, setError] = useState(false);
|
|
14
15
|
const [reloadKey, setReloadKey] = useState(0);
|
|
@@ -20,6 +21,7 @@ function useSelfFetch(url, options) {
|
|
|
20
21
|
setSyncedProps({ url, initialData });
|
|
21
22
|
if (syncedProps.initialData !== initialData && initialData !== void 0) {
|
|
22
23
|
setData(initialData);
|
|
24
|
+
setDataUrl(url);
|
|
23
25
|
}
|
|
24
26
|
if (syncedProps.url !== url && url === null) {
|
|
25
27
|
setIsLoading(false);
|
|
@@ -39,6 +41,7 @@ function useSelfFetch(url, options) {
|
|
|
39
41
|
const json = await res.json();
|
|
40
42
|
if (!cancelled) {
|
|
41
43
|
setData(json);
|
|
44
|
+
setDataUrl(url);
|
|
42
45
|
dataUrlRef.current = url;
|
|
43
46
|
dataAtRef.current = Date.now();
|
|
44
47
|
}
|
|
@@ -72,6 +75,7 @@ function useSelfFetch(url, options) {
|
|
|
72
75
|
}, [url, revalidateOnVisibleAfterMs]);
|
|
73
76
|
return {
|
|
74
77
|
data,
|
|
78
|
+
dataUrl,
|
|
75
79
|
setData,
|
|
76
80
|
isLoading,
|
|
77
81
|
error,
|
|
@@ -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 _chunkTDZ76NCBcjs = require('./chunk-TDZ76NCB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkLOZLHG2Ucjs = require('./chunk-LOZLHG2U.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -31,7 +31,7 @@ var _chunkE7YCPY7Kcjs = require('./chunk-E7YCPY7K.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkNQVS4G7Gcjs = require('./chunk-NQVS4G7G.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
|
+
_chunkNQVS4G7Gcjs.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, _chunkLOZLHG2Ucjs.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, _chunkNQVS4G7Gcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNQVS4G7Gcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
881
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNQVS4G7Gcjs.AlertDialogHeader, { children: [
|
|
882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNQVS4G7Gcjs.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
|
+
_chunkNQVS4G7Gcjs.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, _chunkNQVS4G7Gcjs.AlertDialogFooter, { children: [
|
|
897
897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
-
|
|
898
|
+
_chunkNQVS4G7Gcjs.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
|
+
_chunkNQVS4G7Gcjs.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, _chunkNQVS4G7Gcjs.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
|
+
_chunkLOZLHG2Ucjs.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
|
+
_chunkTDZ76NCBcjs.ContactForm,
|
|
1578
1578
|
{
|
|
1579
1579
|
rescue: null,
|
|
1580
1580
|
title: "Open a new ticket",
|
|
@@ -1623,19 +1623,19 @@ function HelpCenterList({ toast: toast2 = _chunkZXCZYMN4cjs.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
|
+
_chunkLOZLHG2Ucjs.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, _chunkLOZLHG2Ucjs.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, _chunkLOZLHG2Ucjs.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, _chunkLOZLHG2Ucjs.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, _chunkLOZLHG2Ucjs.DevCardRowSkeletonList, { rows: 1 })
|
|
1775
1775
|
) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
-
|
|
1776
|
+
_chunkLOZLHG2Ucjs.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, _chunkLOZLHG2Ucjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
1828
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNQVS4G7Gcjs = require('./chunk-NQVS4G7G.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkLCLDFMDFcjs = require('./chunk-LCLDFMDF.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -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, _chunkNQVS4G7Gcjs.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: [
|
|
@@ -257,17 +257,17 @@ function ContactForm({
|
|
|
257
257
|
{
|
|
258
258
|
control,
|
|
259
259
|
name: "companySize",
|
|
260
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
260
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLCLDFMDFcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkLCLDFMDFcjs.SelectTrigger,
|
|
263
263
|
{
|
|
264
264
|
id: "companySize",
|
|
265
265
|
"aria-label": "Company Size",
|
|
266
266
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
267
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
267
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectValue, { placeholder: "Select company size" })
|
|
268
268
|
}
|
|
269
269
|
),
|
|
270
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
271
271
|
] })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
@@ -280,17 +280,17 @@ function ContactForm({
|
|
|
280
280
|
{
|
|
281
281
|
control,
|
|
282
282
|
name: "referralSource",
|
|
283
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
283
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLCLDFMDFcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
284
284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
285
|
+
_chunkLCLDFMDFcjs.SelectTrigger,
|
|
286
286
|
{
|
|
287
287
|
id: "referralSource",
|
|
288
288
|
"aria-label": "Referral Source",
|
|
289
289
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
290
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectValue, { placeholder: "Select an option" })
|
|
291
291
|
}
|
|
292
292
|
),
|
|
293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
294
294
|
] })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
@@ -307,18 +307,18 @@ function ContactForm({
|
|
|
307
307
|
{
|
|
308
308
|
control,
|
|
309
309
|
name: "helpCategory",
|
|
310
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
310
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLCLDFMDFcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunkLCLDFMDFcjs.SelectTrigger,
|
|
313
313
|
{
|
|
314
314
|
id: "helpCategory",
|
|
315
315
|
"aria-label": "Help Category",
|
|
316
316
|
"aria-required": true,
|
|
317
317
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
318
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCLDFMDFcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
322
322
|
] })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
@@ -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
|
+
_chunkNQVS4G7Gcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FVQJBII6.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
DocSearchBar,
|
|
15
15
|
useDocSearch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5YAGX5DY.js";
|
|
17
17
|
import {
|
|
18
18
|
CategorySidebarSkeleton,
|
|
19
19
|
FigmaEmbed,
|
|
20
20
|
PageShell
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2JLP2X2M.js";
|
|
22
22
|
import {
|
|
23
23
|
PageLayout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y4MB25KW.js";
|
|
25
25
|
import {
|
|
26
26
|
contentFetch
|
|
27
27
|
} from "./chunk-G3GRYDMS.js";
|