@flamingo-stack/openframe-frontend-core 0.0.854 → 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/build/export-map.json +1 -1
- package/dist/{case-study-card-WP5Z234Q.cjs → case-study-card-6VAMNHLU.cjs} +8 -8
- package/dist/{chunk-ZDPPNHA2.cjs → chunk-2BTEERLH.cjs} +3 -3
- package/dist/{chunk-FBANHIAG.cjs → chunk-2JCA7BRK.cjs} +19 -19
- package/dist/{chunk-GVHCQRUE.cjs → chunk-2P72KAG5.cjs} +23 -23
- package/dist/{chunk-YY3WP2YQ.cjs → chunk-3GJ75OUL.cjs} +183 -183
- package/dist/{chunk-FJXSKMQJ.cjs → chunk-4H3J57AN.cjs} +25 -25
- package/dist/{chunk-6GWRPW6B.cjs → chunk-5NK3FUHY.cjs} +4 -4
- package/dist/{chunk-DLTPSP5F.cjs → chunk-5TYG5JNB.cjs} +2 -2
- package/dist/{chunk-63ZV3UGG.cjs → chunk-65NMKAPQ.cjs} +12 -12
- package/dist/{chunk-IGVAPIEW.cjs → chunk-6C4OR4MZ.cjs} +2 -2
- package/dist/{chunk-GG466XFQ.cjs → chunk-6DMH4GXN.cjs} +30 -5
- package/dist/{chunk-2IJMHBOK.cjs → chunk-77GX573I.cjs} +9 -9
- package/dist/{chunk-O3EKOXFZ.cjs → chunk-AYMY2VNB.cjs} +37 -43
- package/dist/{chunk-JKBNK5U6.cjs → chunk-D6GEMVHD.cjs} +3 -3
- package/dist/{chunk-SSKMGH5O.cjs → chunk-DXVGGWLG.cjs} +10 -10
- package/dist/{chunk-S5P6CF5R.cjs → chunk-E5OQHFM6.cjs} +54 -54
- package/dist/{chunk-5TXE7BXT.cjs → chunk-EOUEUYCQ.cjs} +54 -54
- package/dist/{chunk-EIHMPQRQ.cjs → chunk-ESGE7CUX.cjs} +14 -14
- package/dist/{chunk-ETZFBB7O.cjs → chunk-EXQSIX2I.cjs} +4 -4
- package/dist/{chunk-3WXHPD6N.cjs → chunk-F33EAPD2.cjs} +124 -124
- package/dist/{chunk-4SSJ3T3N.cjs → chunk-GK577ZLJ.cjs} +3 -13
- package/dist/{chunk-ETQNMR2K.cjs → chunk-GTUQGVXH.cjs} +8 -8
- package/dist/{chunk-7MOBD44H.cjs → chunk-HGM7WDJT.cjs} +28 -28
- package/dist/{chunk-VMAOZA2V.cjs → chunk-HML3JUXF.cjs} +324 -322
- package/dist/{chunk-4O5N5CGK.cjs → chunk-J3CFRGZ2.cjs} +17 -17
- package/dist/{chunk-LQDAB5V5.cjs → chunk-KZAQPRTA.cjs} +9 -11
- package/dist/{chunk-6DCUGIGU.cjs → chunk-LSLRJJFP.cjs} +2 -2
- package/dist/{chunk-ONYANAMA.cjs → chunk-MX52LZ6M.cjs} +6 -6
- package/dist/{chunk-OH5TXFRR.cjs → chunk-O4CPT3RK.cjs} +7 -7
- package/dist/{chunk-BAA3YCLT.cjs → chunk-OW5MQKCI.cjs} +103 -103
- package/dist/{chunk-5HMENXSR.cjs → chunk-PCQ2HKU3.cjs} +5 -5
- package/dist/{chunk-D2XGRWPW.cjs → chunk-QLFNMWBP.cjs} +90 -90
- package/dist/{chunk-UPQ4MAR7.cjs → chunk-QZXCUY36.cjs} +53 -53
- package/dist/{chunk-KKFDRCQF.cjs → chunk-RY7INTYU.cjs} +14 -1
- package/dist/{chunk-PRJZMZ3X.cjs → chunk-SJZWVMBF.cjs} +678 -678
- package/dist/{chunk-GI3MMBP3.cjs → chunk-SQ7YHWEP.cjs} +228 -15
- package/dist/{chunk-ACPOJE32.cjs → chunk-STV6VJ3U.cjs} +21 -21
- package/dist/{chunk-QD727QFI.cjs → chunk-T54I5ZZY.cjs} +7 -7
- package/dist/{chunk-4LTLEUY5.cjs → chunk-TW5Y4D5I.cjs} +7 -7
- package/dist/{chunk-6XU3RCK3.cjs → chunk-UHGARY3S.cjs} +27 -27
- package/dist/{chunk-7J5NSWJG.cjs → chunk-UZIGMLTH.cjs} +100 -100
- package/dist/{chunk-FX35L4Y6.cjs → chunk-XCQ5I27Z.cjs} +3 -3
- package/dist/{chunk-5OENPMRU.cjs → chunk-XI3AMOW6.cjs} +65 -62
- package/dist/{chunk-TMPLHUUU.cjs → chunk-XTLMWLFB.cjs} +6 -6
- package/dist/{chunk-AZEO7HBB.cjs → chunk-Y44EF4JW.cjs} +2 -2
- package/dist/{chunk-RMI6O3AE.cjs → chunk-YB244RRB.cjs} +36 -36
- package/dist/{chunk-KA3L6D5N.cjs → chunk-YSXVRTGT.cjs} +9 -12
- package/dist/{chunk-H3GBPYPS.cjs → chunk-ZYAVIRQV.cjs} +25 -25
- package/dist/{cloud-tenants-5RNK4ZAT.cjs → cloud-tenants-J5T4YL2P.cjs} +28 -29
- package/dist/components/case-studies/index.cjs +44 -45
- package/dist/components/chat/chat-message-row.d.ts +1 -1
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +4 -4
- package/dist/components/chat/entity-cards/use-cover-image-fallback.d.ts +7 -13
- package/dist/components/chat/entity-cards/use-cover-image-fallback.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/use-cover-image-fallback.js +2 -8
- package/dist/components/chat/hooks/use-chat-attachment-image-gallery.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-attachment-image-gallery.js +8 -4
- package/dist/components/chat/index.cjs +22 -23
- package/dist/components/contact/index.cjs +29 -30
- package/dist/components/docs/index.cjs +32 -33
- package/dist/components/embeds/index.cjs +29 -30
- package/dist/components/faq/index.cjs +30 -31
- package/dist/components/features/index.cjs +28 -29
- 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 +134 -135
- package/dist/components/index.cjs +112 -113
- package/dist/components/meeting-scheduler/index.cjs +102 -103
- package/dist/components/navigation/index.cjs +31 -32
- package/dist/components/onboarding-guides/index.cjs +31 -32
- package/dist/components/product-demo/index.cjs +39 -40
- package/dist/components/related-content/index.cjs +16 -17
- package/dist/components/tickets/index.cjs +35 -36
- package/dist/components/ui/entity-image.d.ts +1 -2
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +4 -8
- package/dist/components/ui/index.cjs +28 -29
- package/dist/components/ui/markdown/base-components.d.ts +0 -13
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +7 -7
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +3 -8
- package/dist/{devices-44O5PZOW.cjs → devices-IJDF7SSK.cjs} +29 -30
- package/dist/embed-shims/index.cjs +3 -2
- package/dist/embed-shims/next-image.cjs +3 -2
- package/dist/embed-shims/next-image.d.ts +2 -0
- package/dist/embed-shims/next-image.d.ts.map +1 -1
- package/dist/embed-shims/next-image.js +14 -4
- package/dist/{embeddable-chat-W3CLMGC3.cjs → embeddable-chat-QD7NFD2H.cjs} +100 -101
- package/dist/hooks/index.cjs +23 -16
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/use-authed-asset-src.d.ts +77 -2
- package/dist/hooks/use-authed-asset-src.d.ts.map +1 -1
- package/dist/hooks/use-authed-asset-src.js +185 -73
- package/dist/hooks/use-authed-image-src.d.ts +11 -4
- package/dist/hooks/use-authed-image-src.d.ts.map +1 -1
- package/dist/hooks/use-authed-image-src.js +6 -2
- package/dist/hooks/use-image-fallback.d.ts +16 -0
- package/dist/hooks/use-image-fallback.d.ts.map +1 -0
- package/dist/hooks/use-image-fallback.js +14 -0
- package/dist/index.cjs +40 -36
- package/dist/{knowledge-UUU3WVO3.cjs → knowledge-5LIK6Q4E.cjs} +29 -30
- package/dist/{logs-DFHNSODA.cjs → logs-FMENCAXT.cjs} +35 -36
- package/dist/{policies-RGFUGDBP.cjs → policies-DKQEEKB4.cjs} +32 -33
- package/dist/{remote-session-U3H77HKR.cjs → remote-session-6X7CAHBC.cjs} +13 -14
- package/dist/{scripts-KOVO5DHW.cjs → scripts-4EPUIFHF.cjs} +35 -36
- package/dist/{software-update-4EKHVV5W.cjs → software-update-IMNRXBAI.cjs} +32 -33
- package/dist/{tickets-board-YIFOVMDX.cjs → tickets-board-POYZS7BW.cjs} +16 -17
- package/dist/utils/app-origins.d.ts +3 -6
- package/dist/utils/app-origins.d.ts.map +1 -1
- package/dist/utils/app-origins.js +8 -1
- package/dist/utils/embed-authed-fetch.d.ts +46 -26
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +24 -8
- package/dist/utils/index.cjs +4 -1
- package/dist/{video-file-player-XMOB234V.cjs → video-file-player-RIOT24NT.cjs} +3 -4
- package/package.json +1 -1
- package/src/components/chat/chat-message-row.tsx +8 -7
- package/src/components/chat/entity-cards/use-cover-image-fallback.ts +8 -28
- package/src/components/chat/hooks/use-chat-attachment-image-gallery.tsx +19 -8
- package/src/components/features/remote-session/remote-session-viewers.tsx +16 -3
- package/src/components/ui/entity-image.tsx +4 -12
- package/src/components/ui/markdown/base-components.tsx +15 -20
- package/src/components/ui/square-avatar.tsx +5 -8
- package/src/embed-shims/next-image.tsx +34 -3
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-authed-asset-src.ts +323 -107
- package/src/hooks/use-authed-image-src.ts +15 -5
- package/src/hooks/use-image-fallback.ts +31 -0
- package/src/utils/app-origins.ts +12 -7
- package/src/utils/embed-authed-fetch.ts +71 -32
- package/dist/chunk-YSDB6HGQ.cjs +0 -102
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk5NK3FUHYcjs = require('./chunk-5NK3FUHY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2P72KAG5cjs = require('./chunk-2P72KAG5.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,16 +13,16 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkSJZWVMBFcjs = require('./chunk-SJZWVMBF.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkXI3AMOW6cjs = require('./chunk-XI3AMOW6.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkF33EAPD2cjs = require('./chunk-F33EAPD2.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkHML3JUXFcjs = require('./chunk-HML3JUXF.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -31,13 +31,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunk3GJ75OULcjs = require('./chunk-3GJ75OUL.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkLSLRJJFPcjs = require('./chunk-LSLRJJFP.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkAYMY2VNBcjs = require('./chunk-AYMY2VNB.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
@@ -56,7 +56,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
56
56
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
57
57
|
if (isFiltered) {
|
|
58
58
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
-
|
|
59
|
+
_chunk5NK3FUHYcjs.EmptyState,
|
|
60
60
|
{
|
|
61
61
|
type: "search",
|
|
62
62
|
title: filtered.title,
|
|
@@ -69,7 +69,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
69
69
|
}
|
|
70
70
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
71
71
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
|
-
|
|
72
|
+
_chunk5NK3FUHYcjs.EmptyState,
|
|
73
73
|
{
|
|
74
74
|
type: "generic",
|
|
75
75
|
title: empty.title,
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -125,7 +125,7 @@ function usePageDataSync(sync, loading) {
|
|
|
125
125
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
126
126
|
|
|
127
127
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
128
|
-
const section =
|
|
128
|
+
const section = _chunkF33EAPD2cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
129
129
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
130
130
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
131
131
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -163,11 +163,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
163
163
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
164
164
|
};
|
|
165
165
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { stated: section.mirrored, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
166
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
166
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GJ75OULcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
167
167
|
preControls,
|
|
168
168
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
169
169
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkHML3JUXFcjs.SearchInput,
|
|
171
171
|
{
|
|
172
172
|
showDropdown: false,
|
|
173
173
|
placeholder: search.placeholder,
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkSJZWVMBFcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -201,7 +201,7 @@ function DevSectionPage({
|
|
|
201
201
|
shell = true
|
|
202
202
|
}) {
|
|
203
203
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
204
|
-
const section =
|
|
204
|
+
const section = _chunkF33EAPD2cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
205
205
|
const backCfg = backButton === false ? void 0 : {
|
|
206
206
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
207
207
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -214,7 +214,7 @@ function DevSectionPage({
|
|
|
214
214
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
215
215
|
// frozen and renders title-only.)
|
|
216
216
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
217
|
-
|
|
217
|
+
_chunkXI3AMOW6cjs.PageLayout,
|
|
218
218
|
{
|
|
219
219
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
220
220
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -223,12 +223,12 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2P72KAG5cjs.SharedPageFaq, {})
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSJZWVMBFcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -258,7 +258,7 @@ function DevCardRowContentSkeleton(props) {
|
|
|
258
258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h5", className: "w-1/2" }) }),
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) })
|
|
260
260
|
] }),
|
|
261
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_BADGES_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_BADGES_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAYMY2VNBcjs.StatusBadge, { loading: true, text: "", variant: "card" }) })
|
|
262
262
|
] });
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -290,7 +290,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
290
290
|
const taskType = item.taskType;
|
|
291
291
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
292
292
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
293
|
-
const statusBadgeScheme =
|
|
293
|
+
const statusBadgeScheme = _chunk3GJ75OULcjs.getStatusColorScheme.call(void 0, item.status);
|
|
294
294
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
295
295
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
296
296
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
@@ -302,7 +302,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
302
302
|
] }),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
304
304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
305
|
-
|
|
305
|
+
_chunkAYMY2VNBcjs.StatusBadge,
|
|
306
306
|
{
|
|
307
307
|
text: item.status.toUpperCase(),
|
|
308
308
|
colorScheme: statusBadgeScheme,
|
|
@@ -311,7 +311,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
-
|
|
314
|
+
_chunkAYMY2VNBcjs.StatusBadge,
|
|
315
315
|
{
|
|
316
316
|
text: typeBadgeLabel,
|
|
317
317
|
variant: "card",
|
|
@@ -319,7 +319,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
321
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
-
|
|
322
|
+
_chunkLSLRJJFPcjs.AvatarStack,
|
|
323
323
|
{
|
|
324
324
|
size: "xs",
|
|
325
325
|
className: "ml-auto content-md:ml-0",
|
|
@@ -359,8 +359,8 @@ function DeliveryRowSkeleton({ caption, className }) {
|
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h4", lines: 2, className: "w-full" }) })
|
|
360
360
|
] }),
|
|
361
361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAYMY2VNBcjs.StatusBadge, { loading: true, text: "", variant: "card" }),
|
|
363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAYMY2VNBcjs.StatusBadge, { loading: true, text: "", variant: "card" })
|
|
364
364
|
] })
|
|
365
365
|
] }) });
|
|
366
366
|
}
|