@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.722
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-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-2NASBO7O.js → chunk-5D2K7TFT.js} +3 -3
- package/dist/{chunk-HFEYEPOG.cjs → chunk-5K6YKRP5.cjs} +29 -29
- package/dist/{chunk-7HYEQKN6.js → chunk-65C4WHG4.js} +6 -6
- package/dist/{chunk-DOPOHO6H.cjs → chunk-6HRQLM6T.cjs} +20 -20
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-GANIUMRU.js → chunk-7UZ2JZJY.js} +3 -3
- package/dist/{chunk-4HJRHEXD.cjs → chunk-ABSWD4PQ.cjs} +27 -27
- package/dist/{chunk-VYVPII4W.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-V6B2FBZK.js → chunk-BCU6UUNQ.js} +8 -8
- package/dist/{chunk-LO3KCLEF.js → chunk-BUDZWXRG.js} +4 -4
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-DYDDAA6O.cjs → chunk-DWSBTGKT.cjs} +816 -798
- package/dist/{chunk-PSMJYZMV.js → chunk-DX3W7DPC.js} +2 -2
- package/dist/{chunk-PXAKSPLZ.js → chunk-E7NIZXDT.js} +20 -8
- package/dist/{chunk-6W46LVK4.js → chunk-ETQVXIYW.js} +6 -6
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-Q5327DXK.js → chunk-F33RMJOL.js} +11 -11
- package/dist/{chunk-RZQGIWK3.cjs → chunk-FDWYBJYD.cjs} +8 -8
- package/dist/{chunk-QF464PPL.cjs → chunk-GAFK3WNT.cjs} +62 -62
- package/dist/{chunk-6BLN5WDS.cjs → chunk-GYSTZD6X.cjs} +40 -40
- package/dist/{chunk-TORERAXD.js → chunk-HA2ASGJM.js} +6 -6
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-HP4UUBJC.cjs} +16 -16
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-AZRI4XBP.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-VYZCKY5K.js → chunk-IF72N4PE.js} +7 -7
- package/dist/{chunk-RFUOIQSG.cjs → chunk-IITZ6JSC.cjs} +37 -37
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-7IOU6BJE.js → chunk-KBPGSPXQ.js} +2387 -2369
- package/dist/{chunk-ILNN6QRW.js → chunk-KS3YLYVL.js} +4 -4
- package/dist/{chunk-2C72EWQR.cjs → chunk-KWBH63GV.cjs} +26 -26
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-UWJMDFDO.cjs → chunk-MJ4SXOG2.cjs} +28 -28
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-NFABAOMD.cjs} +77 -79
- package/dist/{chunk-B5LNX4GZ.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-P7Y626YJ.cjs} +370 -358
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RVQV6J5K.cjs} +75 -75
- package/dist/{chunk-VBHGJFA3.js → chunk-SZ3CBFSH.js} +13 -13
- package/dist/{chunk-O3MKJU6A.js → chunk-SZF7ENIW.js} +4 -4
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-YK3X74SF.js → chunk-UYMTAFHG.js} +6 -8
- package/dist/{chunk-DHNJSQGX.cjs → chunk-VC7COEWF.cjs} +105 -105
- package/dist/{chunk-XW3Q623Q.js → chunk-VSYQJCNR.js} +2 -2
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-XSM46FHD.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-HTS46FFY.cjs → chunk-VYHCN5NU.cjs} +16 -16
- package/dist/{chunk-ZPHOQDAE.js → chunk-WY4SLTMZ.js} +3 -3
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-XJYAUIOL.cjs} +13 -13
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-XR7NVJXS.cjs} +13 -13
- package/dist/{chunk-EVMM3JE6.cjs → chunk-ZHC6MDGF.cjs} +43 -43
- package/dist/{chunk-K2BYVPGR.js → chunk-ZMHP4Y6M.js} +5 -5
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-4Z36KWSX.js} +14 -14
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-5NIC5VXK.cjs} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +29 -29
- package/dist/components/case-studies/index.js +15 -15
- package/dist/components/chat/index.cjs +10 -10
- package/dist/components/chat/index.js +9 -9
- package/dist/components/contact/index.cjs +16 -16
- package/dist/components/contact/index.js +15 -15
- package/dist/components/docs/index.cjs +19 -19
- package/dist/components/docs/index.js +18 -18
- package/dist/components/embeds/index.cjs +16 -16
- package/dist/components/embeds/index.js +15 -15
- package/dist/components/faq/index.cjs +16 -16
- package/dist/components/faq/index.js +15 -15
- package/dist/components/features/index.cjs +15 -15
- package/dist/components/features/index.js +14 -14
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +68 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +347 -117
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +260 -30
- package/dist/components/index.cjs +87 -85
- package/dist/components/index.js +30 -28
- package/dist/components/meeting-scheduler/index.cjs +67 -67
- package/dist/components/meeting-scheduler/index.js +16 -16
- package/dist/components/navigation/index.cjs +18 -18
- package/dist/components/navigation/index.js +17 -17
- package/dist/components/onboarding-guides/index.cjs +18 -18
- package/dist/components/onboarding-guides/index.js +17 -17
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +20 -20
- package/dist/components/tickets/index.js +19 -19
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +17 -15
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +16 -14
- package/dist/components/ui/mobile-app-qr.d.ts +21 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-U3Y4IIW4.js → devices-2TK3LAKM.js} +14 -14
- package/dist/{devices-7Q2EUM7B.cjs → devices-7IKT72DK.cjs} +16 -16
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +52 -20
- package/dist/index.js +50 -18
- package/dist/{knowledge-NST53EXE.js → knowledge-3GJ4MU3V.js} +14 -14
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-HYSEV35H.cjs} +16 -16
- package/dist/{logs-JVTRG232.js → logs-TATVM62H.js} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-ZX3NADQC.cjs} +24 -24
- package/dist/{policies-MXK2HB4W.cjs → policies-J4FSDKPI.cjs} +19 -19
- package/dist/{policies-DTXTRK56.js → policies-MRRKLF4Q.js} +14 -14
- package/dist/{remote-session-LAJZKQBN.js → remote-session-WCLR47RN.js} +6 -6
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-Z2YCUPHU.cjs} +8 -8
- package/dist/{software-update-P6BSM6HX.cjs → software-update-CXUBWYD2.cjs} +19 -19
- package/dist/{software-update-6RHMPM3W.js → software-update-KM46WUVQ.js} +14 -14
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-R5OQSEEC.cjs} +10 -10
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-U3RF3AO4.js} +5 -5
- package/dist/types/downloads.d.ts +83 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +15 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +13 -1
- package/dist/utils/mobile-app.cjs +37 -0
- package/dist/utils/mobile-app.d.ts +23 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +34 -0
- package/package.json +7 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +388 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +35 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +99 -0
- package/src/types/index.ts +1 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +3 -1
- package/src/utils/mobile-app.ts +34 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K76ACBR3.js";
|
|
5
5
|
import {
|
|
6
6
|
PageShell,
|
|
7
7
|
SearchInput,
|
|
8
8
|
StatusFilterComponent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KBPGSPXQ.js";
|
|
10
10
|
import {
|
|
11
11
|
PageLayout
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UYMTAFHG.js";
|
|
13
13
|
import {
|
|
14
14
|
OPENFRAME_DEV_SECTIONS,
|
|
15
15
|
TASK_TYPE_LABELS,
|
|
16
16
|
TASK_TYPE_TEXT_COLORS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E7NIZXDT.js";
|
|
18
18
|
import {
|
|
19
19
|
usePathname,
|
|
20
20
|
useRouter,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
StatusBadge,
|
|
25
25
|
getStatusColorScheme
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7UZ2JZJY.js";
|
|
27
27
|
import {
|
|
28
28
|
AvatarStack
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EWED6ISQ.js";
|
|
30
30
|
import {
|
|
31
31
|
next_link_default
|
|
32
32
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZSOFLPQNcjs = require('./chunk-ZSOFLPQN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -23,10 +23,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkLV6UJD2Kcjs = require('./chunk-LV6UJD2K.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
39
39
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
40
40
|
if (isFiltered) {
|
|
41
41
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
|
-
|
|
42
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
43
43
|
{
|
|
44
44
|
type: "search",
|
|
45
45
|
title: filtered.title,
|
|
@@ -52,7 +52,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
52
52
|
}
|
|
53
53
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
54
54
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
55
|
-
|
|
55
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
56
56
|
{
|
|
57
57
|
type: "generic",
|
|
58
58
|
title: empty.title,
|
|
@@ -69,7 +69,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
69
69
|
var _react = require('react');
|
|
70
70
|
|
|
71
71
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
72
|
-
const section =
|
|
72
|
+
const section = _chunkP7Y626YJcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
73
73
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
74
74
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
75
75
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -120,7 +120,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
120
120
|
preControls,
|
|
121
121
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
122
122
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
123
|
-
|
|
123
|
+
_chunkDWSBTGKTcjs.SearchInput,
|
|
124
124
|
{
|
|
125
125
|
showDropdown: false,
|
|
126
126
|
placeholder: search.placeholder,
|
|
@@ -130,7 +130,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
130
130
|
}
|
|
131
131
|
),
|
|
132
132
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
133
|
-
|
|
133
|
+
_chunkDWSBTGKTcjs.StatusFilterComponent,
|
|
134
134
|
{
|
|
135
135
|
selectedStatus: currentFilterValue,
|
|
136
136
|
onStatusChange: handleFilterChange,
|
|
@@ -154,7 +154,7 @@ function DevSectionPage({
|
|
|
154
154
|
shell = true
|
|
155
155
|
}) {
|
|
156
156
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
157
|
-
const section =
|
|
157
|
+
const section = _chunkP7Y626YJcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
158
158
|
const backCfg = backButton === false ? void 0 : {
|
|
159
159
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
160
160
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -167,7 +167,7 @@ function DevSectionPage({
|
|
|
167
167
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
168
168
|
// frozen and renders title-only.)
|
|
169
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
171
171
|
{
|
|
172
172
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
173
173
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -178,7 +178,7 @@ function DevSectionPage({
|
|
|
178
178
|
}
|
|
179
179
|
)
|
|
180
180
|
);
|
|
181
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
181
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -236,9 +236,9 @@ function getRelativeTime(timestamp) {
|
|
|
236
236
|
}
|
|
237
237
|
function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
238
238
|
const taskType = item.taskType;
|
|
239
|
-
const typeBadgeLabel =
|
|
240
|
-
const typeBadgeTextColor =
|
|
241
|
-
const statusBadgeScheme =
|
|
239
|
+
const typeBadgeLabel = _chunkP7Y626YJcjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
240
|
+
const typeBadgeTextColor = _chunkP7Y626YJcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
241
|
+
const statusBadgeScheme = _chunkIITZ6JSCcjs.getStatusColorScheme.call(void 0, item.status);
|
|
242
242
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
243
243
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
244
244
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -250,7 +250,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
250
250
|
] }),
|
|
251
251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
252
252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
253
|
-
|
|
253
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
254
254
|
{
|
|
255
255
|
text: item.status.toUpperCase(),
|
|
256
256
|
colorScheme: statusBadgeScheme,
|
|
@@ -259,7 +259,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
263
263
|
{
|
|
264
264
|
text: typeBadgeLabel,
|
|
265
265
|
variant: "card",
|
|
@@ -267,7 +267,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
267
267
|
}
|
|
268
268
|
),
|
|
269
269
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
-
|
|
270
|
+
_chunkLV6UJD2Kcjs.AvatarStack,
|
|
271
271
|
{
|
|
272
272
|
size: "xs",
|
|
273
273
|
className: "ml-auto content-md:ml-0",
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
AvatarStack,
|
|
7
7
|
resolveIcon
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EWED6ISQ.js";
|
|
9
9
|
import {
|
|
10
10
|
SquareAvatar,
|
|
11
11
|
Tag,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
formatProgramDateRange,
|
|
20
20
|
formatWebinarTimeMeta,
|
|
21
21
|
nameInitials
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KZQO5EJQ.js";
|
|
23
23
|
import {
|
|
24
24
|
next_image_default
|
|
25
25
|
} from "./chunk-FBZMAPWO.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-N45D4ZXQ.js";
|
|
53
53
|
import {
|
|
54
54
|
Button
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJ4IFQNQ.js";
|
|
56
56
|
import {
|
|
57
57
|
next_link_default
|
|
58
58
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -12,20 +12,20 @@ var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkHP4UUBJCcjs = require('./chunk-HP4UUBJC.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkAL2GUHAJcjs = require('./chunk-AL2GUHAJ.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -52,7 +52,7 @@ var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
|
52
52
|
var _chunkRDW5JAMEcjs = require('./chunk-RDW5JAME.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -112,9 +112,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
112
112
|
return next;
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
115
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
116
116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
117
|
-
|
|
117
|
+
_chunkRUZIICXTcjs.TooltipTrigger,
|
|
118
118
|
{
|
|
119
119
|
asChild: true,
|
|
120
120
|
onPointerDown: (e) => {
|
|
@@ -132,7 +132,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
132
132
|
children
|
|
133
133
|
}
|
|
134
134
|
),
|
|
135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
136
136
|
] }) });
|
|
137
137
|
}
|
|
138
138
|
|
|
@@ -147,12 +147,12 @@ function BoardColumnHeader({
|
|
|
147
147
|
}) {
|
|
148
148
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
149
149
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
150
|
-
const useStatusVariant =
|
|
150
|
+
const useStatusVariant = _chunkHP4UUBJCcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
151
151
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
152
152
|
if (collapsed) {
|
|
153
153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
154
154
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
155
|
-
|
|
155
|
+
_chunkHQIOMFJHcjs.Button,
|
|
156
156
|
{
|
|
157
157
|
variant: "transparent",
|
|
158
158
|
size: "icon",
|
|
@@ -163,7 +163,7 @@ function BoardColumnHeader({
|
|
|
163
163
|
}
|
|
164
164
|
),
|
|
165
165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
166
|
-
|
|
166
|
+
_chunkHP4UUBJCcjs.TicketStatusTag,
|
|
167
167
|
{
|
|
168
168
|
status: tagStatus,
|
|
169
169
|
label: column.label,
|
|
@@ -176,13 +176,13 @@ function BoardColumnHeader({
|
|
|
176
176
|
}
|
|
177
177
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
178
178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
179
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
180
180
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
181
181
|
] }),
|
|
182
182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
183
|
-
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
+
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
184
184
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkHQIOMFJHcjs.Button,
|
|
186
186
|
{
|
|
187
187
|
variant: "transparent",
|
|
188
188
|
size: "icon",
|
|
@@ -193,7 +193,7 @@ function BoardColumnHeader({
|
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
195
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkHQIOMFJHcjs.Button,
|
|
197
197
|
{
|
|
198
198
|
variant: "transparent",
|
|
199
199
|
size: "icon",
|
|
@@ -204,7 +204,7 @@ function BoardColumnHeader({
|
|
|
204
204
|
}
|
|
205
205
|
),
|
|
206
206
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
207
|
-
|
|
207
|
+
_chunkHQIOMFJHcjs.Button,
|
|
208
208
|
{
|
|
209
209
|
variant: "transparent",
|
|
210
210
|
size: "icon",
|
|
@@ -234,7 +234,7 @@ function tintOnDark(hex) {
|
|
|
234
234
|
|
|
235
235
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
236
236
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
237
|
-
const { innerRef, containerStyle } =
|
|
237
|
+
const { innerRef, containerStyle } = _chunkHP4UUBJCcjs.useCollapsible.call(void 0, { expanded });
|
|
238
238
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -263,7 +263,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkHP4UUBJCcjs.ApprovalBatchMessage,
|
|
267
267
|
{
|
|
268
268
|
className: "mb-0",
|
|
269
269
|
data: {
|
|
@@ -437,7 +437,7 @@ function TicketCardBody({
|
|
|
437
437
|
onLinkClick
|
|
438
438
|
}) {
|
|
439
439
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
440
|
-
const newMessageTextColor = columnColor ?
|
|
440
|
+
const newMessageTextColor = columnColor ? _chunkHP4UUBJCcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
441
441
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _12 => _12.deviceHostnames, 'optionalAccess', _13 => _13.length]) || ticket.organizationName);
|
|
442
442
|
const deviceText = [_optionalChain([ticket, 'access', _14 => _14.deviceHostnames, 'optionalAccess', _15 => _15.join, 'call', _16 => _16(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
443
443
|
const hasRightSection = !!(ticket.priority || ticket.agent || _optionalChain([ticket, 'access', _17 => _17.assignees, 'optionalAccess', _18 => _18.length]) || renderAssignSlot);
|
|
@@ -468,7 +468,7 @@ function TicketCardBody({
|
|
|
468
468
|
},
|
|
469
469
|
a.id
|
|
470
470
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
-
|
|
471
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
472
472
|
{
|
|
473
473
|
src: a.avatarUrl,
|
|
474
474
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -485,8 +485,8 @@ function TicketCardBody({
|
|
|
485
485
|
] })
|
|
486
486
|
] }) : null
|
|
487
487
|
] }) : null;
|
|
488
|
-
const timestampLabel = ticket.createdAt ?
|
|
489
|
-
const tooltipLabel = ticket.createdAt ?
|
|
488
|
+
const timestampLabel = ticket.createdAt ? _chunkHP4UUBJCcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
489
|
+
const tooltipLabel = ticket.createdAt ? _chunkHP4UUBJCcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
490
490
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
491
491
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
492
492
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -513,9 +513,9 @@ function TicketCardBody({
|
|
|
513
513
|
rightSection
|
|
514
514
|
] }),
|
|
515
515
|
_optionalChain([ticket, 'access', _21 => _21.tags, 'optionalAccess', _22 => _22.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
516
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { children: tooltipLabel })
|
|
519
519
|
] }) }) : meta),
|
|
520
520
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
521
521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -535,7 +535,7 @@ function TicketCardBody({
|
|
|
535
535
|
}
|
|
536
536
|
),
|
|
537
537
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
538
|
-
|
|
538
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
539
539
|
{
|
|
540
540
|
label: "New Message",
|
|
541
541
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -755,8 +755,8 @@ function TicketTagRow({ tags }) {
|
|
|
755
755
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
756
756
|
const hidden = tags.length - visible.length;
|
|
757
757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
758
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
759
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
758
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
759
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
760
760
|
] });
|
|
761
761
|
}
|
|
762
762
|
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NMGWNUKB.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SZF7ENIW.js";
|
|
10
10
|
import {
|
|
11
11
|
EntityTagBadges,
|
|
12
12
|
FilterPillRow,
|
|
13
13
|
LoadError,
|
|
14
14
|
PageShell,
|
|
15
15
|
RichMarkdownRenderer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KBPGSPXQ.js";
|
|
17
17
|
import {
|
|
18
18
|
PageLayout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UYMTAFHG.js";
|
|
20
20
|
import {
|
|
21
21
|
EntityVideoSection,
|
|
22
22
|
VideoBitesStrip,
|
|
23
23
|
resolveContentHref,
|
|
24
24
|
useCaptions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-E7NIZXDT.js";
|
|
26
26
|
import {
|
|
27
27
|
useRouter,
|
|
28
28
|
useSearchParams
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
toStripProfile,
|
|
35
35
|
useSelfFetch,
|
|
36
36
|
useVideoWarmup
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7UZ2JZJY.js";
|
|
38
38
|
import {
|
|
39
39
|
buildOgPlaceholderUrl
|
|
40
40
|
} from "./chunk-FSQQZFVG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useOptionalTicketLive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I3UUMRO7.js";
|
|
5
5
|
import {
|
|
6
6
|
AppLayoutDrawerContainerContext,
|
|
7
7
|
AppLayoutDrawerCoordinationContext,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
UnreadCountBadge,
|
|
13
13
|
UnreadDot,
|
|
14
14
|
useOptionalNotifications
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KBPGSPXQ.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveActiveSection,
|
|
18
18
|
useActiveSection,
|
|
19
19
|
useFocusTrap,
|
|
20
20
|
useNavMenus
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2TXGR7IK.js";
|
|
22
22
|
import {
|
|
23
23
|
useLocalStorage
|
|
24
24
|
} from "./chunk-3K5ZLZE7.js";
|
|
@@ -28,18 +28,18 @@ import {
|
|
|
28
28
|
OVERLAY_BACKDROP_CLASS,
|
|
29
29
|
buildTicketOpenHref,
|
|
30
30
|
useIsHydrated
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-E7NIZXDT.js";
|
|
32
32
|
import {
|
|
33
33
|
useHeaderHeight
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4I3K6LEH.js";
|
|
35
35
|
import {
|
|
36
36
|
CaseStudyCard,
|
|
37
37
|
EntityIcon
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7UZ2JZJY.js";
|
|
39
39
|
import {
|
|
40
40
|
SquareAvatar,
|
|
41
41
|
Tag
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KZQO5EJQ.js";
|
|
43
43
|
import {
|
|
44
44
|
ContentAreaWidthContext
|
|
45
45
|
} from "./chunk-KEKCQENI.js";
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
} from "./chunk-INS7KZJB.js";
|
|
82
82
|
import {
|
|
83
83
|
Button
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-DJ4IFQNQ.js";
|
|
85
85
|
import {
|
|
86
86
|
next_link_default
|
|
87
87
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmbedViewerFrame
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KBPGSPXQ.js";
|
|
5
5
|
import {
|
|
6
6
|
toGoogleSheetsEmbedUrl,
|
|
7
7
|
toGoogleSheetsOriginalUrl
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4I3K6LEH.js";
|
|
9
9
|
import {
|
|
10
10
|
formatFileSize
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KZQO5EJQ.js";
|
|
12
12
|
import {
|
|
13
13
|
AdobePdfIcon,
|
|
14
14
|
GoogleSheetsIcon
|
|
15
15
|
} from "./chunk-NCPTID44.js";
|
|
16
16
|
import {
|
|
17
17
|
Button
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DJ4IFQNQ.js";
|
|
19
19
|
|
|
20
20
|
// src/components/embeds/file-download-card.tsx
|
|
21
21
|
import { FileText, Download } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -45,7 +45,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
45
45
|
const pageNumbers = getPageNumbers();
|
|
46
46
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { role: "navigation", "aria-label": "pagination", className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto flex w-full justify-center", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "ul", { className: "flex flex-row items-center gap-1", children: [
|
|
47
47
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkHQIOMFJHcjs.Button,
|
|
49
49
|
{
|
|
50
50
|
variant: "outline",
|
|
51
51
|
size: "icon",
|
|
@@ -64,7 +64,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
64
64
|
] }) }, `ellipsis-${index}`);
|
|
65
65
|
}
|
|
66
66
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
-
|
|
67
|
+
_chunkHQIOMFJHcjs.Button,
|
|
68
68
|
{
|
|
69
69
|
variant: currentPage === page ? "accent" : "outline",
|
|
70
70
|
size: "icon",
|
|
@@ -77,7 +77,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
77
77
|
) }, page);
|
|
78
78
|
}),
|
|
79
79
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
80
|
-
|
|
80
|
+
_chunkHQIOMFJHcjs.Button,
|
|
81
81
|
{
|
|
82
82
|
variant: "outline",
|
|
83
83
|
size: "icon",
|
|
@@ -138,7 +138,7 @@ var PaginationEllipsis = _react.forwardRef.call(void 0,
|
|
|
138
138
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
139
139
|
var PaginationPrevious = _react.forwardRef.call(void 0,
|
|
140
140
|
({ className, ...props }, ref) => {
|
|
141
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
141
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { ref, variant: "outline", size: "icon", className: _chunk3ATAYP36cjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
142
142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
143
143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Previous page" })
|
|
144
144
|
] });
|
|
@@ -147,7 +147,7 @@ var PaginationPrevious = _react.forwardRef.call(void 0,
|
|
|
147
147
|
PaginationPrevious.displayName = "PaginationPrevious";
|
|
148
148
|
var PaginationNext = _react.forwardRef.call(void 0,
|
|
149
149
|
({ className, ...props }, ref) => {
|
|
150
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
150
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { ref, variant: "outline", size: "icon", className: _chunk3ATAYP36cjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
151
151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
152
152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Next page" })
|
|
153
153
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZSOFLPQNcjs = require('./chunk-ZSOFLPQN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
|
|
|
116
116
|
},
|
|
117
117
|
"aria-hidden": isPaginationDisabled,
|
|
118
118
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
119
|
-
|
|
119
|
+
_chunkZSOFLPQNcjs.UnifiedPagination,
|
|
120
120
|
{
|
|
121
121
|
currentPage: displayCurrentPage,
|
|
122
122
|
totalPages: displayTotalPages,
|
|
@@ -314,6 +314,7 @@ var Button = React.forwardRef(function ButtonImpl({
|
|
|
314
314
|
download,
|
|
315
315
|
prefetch: false,
|
|
316
316
|
className: cn(shellClasses, isDisabled && "pointer-events-none"),
|
|
317
|
+
onClick,
|
|
317
318
|
"aria-label": props["aria-label"],
|
|
318
319
|
children: splitContent
|
|
319
320
|
}
|
|
@@ -364,6 +365,7 @@ var Button = React.forwardRef(function ButtonImpl({
|
|
|
364
365
|
download,
|
|
365
366
|
prefetch: false,
|
|
366
367
|
className: cn(classes, isDisabled && "pointer-events-none"),
|
|
368
|
+
onClick,
|
|
367
369
|
"aria-label": props["aria-label"],
|
|
368
370
|
children: content
|
|
369
371
|
}
|