@flamingo-stack/openframe-frontend-core 0.0.789 → 0.0.790
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-FDDS5EG3.cjs → case-study-card-MCAM232N.cjs} +5 -5
- package/dist/{chunk-W4RRVQZQ.cjs → chunk-5FV2FQQD.cjs} +246 -241
- package/dist/{chunk-IKCMAIJ7.cjs → chunk-6YPT2BD4.cjs} +80 -80
- package/dist/{chunk-G33O32RX.cjs → chunk-72NE4G63.cjs} +4 -4
- package/dist/{chunk-ZH7SZ46Q.cjs → chunk-7GNSCDUK.cjs} +847 -847
- package/dist/{chunk-ORIXQCPX.cjs → chunk-7VXMO4XJ.cjs} +8 -8
- package/dist/{chunk-JHFSLLQ6.cjs → chunk-ANQCSCNU.cjs} +2 -2
- package/dist/{chunk-YWPYSQYG.cjs → chunk-AT4C2YMA.cjs} +30 -1
- package/dist/{chunk-7A23WZY7.cjs → chunk-BIYLAAFI.cjs} +15 -15
- package/dist/{chunk-GDOJPPOF.cjs → chunk-C5EPWKM7.cjs} +50 -50
- package/dist/{chunk-3IJDTTOY.cjs → chunk-DRWPSN3A.cjs} +2 -2
- package/dist/{chunk-GMGM3JV3.cjs → chunk-EU3NQPFE.cjs} +54 -54
- package/dist/{chunk-HDCAH4AT.cjs → chunk-EY64NXE7.cjs} +90 -90
- package/dist/{chunk-XI4KB7EF.cjs → chunk-F4RCB5LB.cjs} +14 -14
- package/dist/{chunk-OCTDWSTS.cjs → chunk-F62QXKNL.cjs} +39 -39
- package/dist/{chunk-EQNNPLCN.cjs → chunk-F7UIQ6UG.cjs} +14 -14
- package/dist/{chunk-F2GRQ2RL.cjs → chunk-GYSRYYDM.cjs} +4 -4
- package/dist/{chunk-FJBE3WIJ.cjs → chunk-HCXNFMLO.cjs} +4 -4
- package/dist/{chunk-MFPTTZI5.cjs → chunk-HKMEI2NX.cjs} +40 -40
- package/dist/{chunk-UB3C22AW.cjs → chunk-ISSBE5JP.cjs} +121 -121
- package/dist/{chunk-ZKNEKZS5.cjs → chunk-IYWVS3SS.cjs} +6 -6
- package/dist/{chunk-MMC7H7C6.cjs → chunk-KI5TJDK3.cjs} +9 -9
- package/dist/{chunk-QVF5A6UT.cjs → chunk-LL6PXI6C.cjs} +2 -2
- package/dist/{chunk-RJIFPWO4.cjs → chunk-LZG7PBF3.cjs} +24 -24
- package/dist/{chunk-KO4IF7R2.cjs → chunk-O4XBGLMA.cjs} +3 -3
- package/dist/{chunk-QELEIFHA.cjs → chunk-OWKLWCLZ.cjs} +52 -52
- package/dist/{chunk-4ZLLUZQB.cjs → chunk-PHWLEYAG.cjs} +55 -55
- package/dist/{chunk-PPBNMZC5.cjs → chunk-PLNLTN4R.cjs} +13 -13
- package/dist/{chunk-7VEYDE3T.cjs → chunk-PQIWR4Q2.cjs} +23 -23
- package/dist/{chunk-7NUFHVR6.cjs → chunk-QPXC3LEV.cjs} +19 -19
- package/dist/{chunk-IODLD4VM.cjs → chunk-RFIBRGXG.cjs} +3 -3
- package/dist/{chunk-WDUHSGRT.cjs → chunk-RIIMY7XW.cjs} +4 -4
- package/dist/{chunk-6TFNJDEQ.cjs → chunk-RPC4P7GY.cjs} +60 -87
- package/dist/{chunk-DNJVLDCH.cjs → chunk-RYSEW4XI.cjs} +31 -31
- package/dist/{chunk-N3PYKA3B.cjs → chunk-TIDJN3OQ.cjs} +5 -5
- package/dist/{chunk-KB7SPZFI.cjs → chunk-V4RKY4ZY.cjs} +253 -253
- package/dist/{chunk-HOYSVWKQ.cjs → chunk-WTNAXQJW.cjs} +6 -6
- package/dist/{chunk-SBC7RG7O.cjs → chunk-ZCMXBX4Z.cjs} +14 -14
- package/dist/{cloud-tenants-3SFM4VJZ.cjs → cloud-tenants-D6DYR6UV.cjs} +18 -18
- package/dist/components/case-studies/index.cjs +33 -33
- package/dist/components/chat/index.cjs +14 -14
- package/dist/components/contact/index.cjs +19 -19
- package/dist/components/docs/index.cjs +22 -22
- package/dist/components/embeds/index.cjs +19 -19
- package/dist/components/faq/index.cjs +20 -20
- package/dist/components/features/index.cjs +18 -18
- package/dist/components/help-center-pages/index.cjs +120 -120
- package/dist/components/index.cjs +122 -120
- package/dist/components/layout/page-heading.d.ts +7 -3
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +10 -3
- package/dist/components/layout/page-layout.d.ts +2 -2
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +2 -7
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +6 -31
- package/dist/components/loading/index.d.ts +1 -1
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/loading/index.js +2 -0
- package/dist/components/loading/unified-skeleton.d.ts +17 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +30 -1
- package/dist/components/meeting-scheduler/index.cjs +104 -104
- package/dist/components/navigation/index.cjs +21 -21
- package/dist/components/onboarding-guides/index.cjs +21 -21
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/tickets/index.cjs +25 -25
- package/dist/components/ui/file-manager/index.cjs +13 -13
- package/dist/components/ui/index.cjs +18 -18
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/{devices-PE57CA5O.cjs → devices-MZQ4573H.cjs} +19 -19
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/next-image.cjs +3 -3
- package/dist/{embeddable-chat-TIUNTOXQ.cjs → embeddable-chat-QLJ2KSWT.cjs} +81 -81
- package/dist/hooks/index.cjs +4 -4
- package/dist/index.cjs +26 -26
- package/dist/{knowledge-ZFJQMMR2.cjs → knowledge-QZTFICLS.cjs} +19 -19
- package/dist/{logs-4GKGMB7A.cjs → logs-2YOR2SUA.cjs} +26 -26
- package/dist/{policies-TRWFGAEE.cjs → policies-KKFC4UOU.cjs} +22 -22
- package/dist/{remote-session-WMAV72M7.cjs → remote-session-WKLEYACD.cjs} +10 -10
- package/dist/{scripts-2SHRGH3L.cjs → scripts-UA46WAET.cjs} +25 -25
- package/dist/{software-update-ROHSE2BE.cjs → software-update-IN6TJL73.cjs} +22 -22
- package/dist/{tickets-board-37LBIQ65.cjs → tickets-board-URMIIAKD.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/layout/page-heading.tsx +30 -8
- package/src/components/layout/page-layout.tsx +3 -2
- package/src/components/layout/title-block.tsx +7 -29
- package/src/components/loading/index.ts +2 -0
- package/src/components/loading/unified-skeleton.tsx +42 -0
- package/src/components/ui/index.ts +1 -1
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7VXMO4XJcjs = require('./chunk-7VXMO4XJ.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkDRWPSN3Acjs = require('./chunk-DRWPSN3A.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk6YZNUHXTcjs = require('./chunk-6YZNUHXT.cjs');
|
|
@@ -53,7 +53,7 @@ function pickBadgePaletteColor({
|
|
|
53
53
|
var _jsxruntime = require('react/jsx-runtime');
|
|
54
54
|
function PaletteBadge({ text, color, className, variant = "button" }) {
|
|
55
55
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
-
|
|
56
|
+
_chunkC5EPWKM7cjs.StatusBadge,
|
|
57
57
|
{
|
|
58
58
|
text,
|
|
59
59
|
colorScheme: isBadgePaletteKey(color) ? color : "default",
|
|
@@ -142,12 +142,12 @@ var STATUS_BADGE_SCHEME = {
|
|
|
142
142
|
abandoned: "default"
|
|
143
143
|
};
|
|
144
144
|
function EmployeeEntryBadge({ children }) {
|
|
145
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5EPWKM7cjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
|
|
146
146
|
}
|
|
147
147
|
function EmployeeEntryCard(props) {
|
|
148
148
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
149
149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
|
|
150
|
+
_chunk5FV2FQQDcjs.AdminContentCard,
|
|
151
151
|
{
|
|
152
152
|
loading: true,
|
|
153
153
|
title: "",
|
|
@@ -169,9 +169,9 @@ function LoadedEmployeeEntryCard({
|
|
|
169
169
|
anchorProps,
|
|
170
170
|
className
|
|
171
171
|
}) {
|
|
172
|
-
const authorAvatar =
|
|
172
|
+
const authorAvatar = _chunk5FV2FQQDcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
|
|
173
173
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
-
|
|
174
|
+
_chunk5FV2FQQDcjs.AdminContentCard,
|
|
175
175
|
{
|
|
176
176
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
177
177
|
placeholderUrl,
|
|
@@ -179,7 +179,7 @@ function LoadedEmployeeEntryCard({
|
|
|
179
179
|
summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
|
|
180
180
|
badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
181
181
|
entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
-
|
|
182
|
+
_chunkC5EPWKM7cjs.StatusBadge,
|
|
183
183
|
{
|
|
184
184
|
text: entry.status,
|
|
185
185
|
colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
|
|
@@ -192,7 +192,7 @@ function LoadedEmployeeEntryCard({
|
|
|
192
192
|
meta: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
193
193
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-2", children: [
|
|
194
194
|
authorAvatar ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
-
|
|
195
|
+
_chunkDRWPSN3Acjs.next_image_default,
|
|
196
196
|
{
|
|
197
197
|
src: authorAvatar,
|
|
198
198
|
alt: "",
|
|
@@ -224,7 +224,7 @@ function WhatIShippedCard(props) {
|
|
|
224
224
|
EmployeeEntryCard,
|
|
225
225
|
{
|
|
226
226
|
entry,
|
|
227
|
-
dateLabel:
|
|
227
|
+
dateLabel: _chunk7VXMO4XJcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
|
|
228
228
|
placeholderUrl,
|
|
229
229
|
actions,
|
|
230
230
|
anchorProps,
|
|
@@ -245,7 +245,7 @@ function HowIWorkCard(props) {
|
|
|
245
245
|
EmployeeEntryCard,
|
|
246
246
|
{
|
|
247
247
|
entry,
|
|
248
|
-
dateLabel: entry.session_date ?
|
|
248
|
+
dateLabel: entry.session_date ? _chunk7VXMO4XJcjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
|
|
249
249
|
extraBadges: entry.discipline ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
|
|
250
250
|
untitledLabel: "Untitled session",
|
|
251
251
|
placeholderUrl,
|
|
@@ -267,7 +267,7 @@ function AiPromptCard(props) {
|
|
|
267
267
|
EmployeeEntryCard,
|
|
268
268
|
{
|
|
269
269
|
entry,
|
|
270
|
-
dateLabel: entry.published_at ?
|
|
270
|
+
dateLabel: entry.published_at ? _chunk7VXMO4XJcjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
|
|
271
271
|
extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
272
272
|
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _15 => _15.department, 'optionalAccess', _16 => _16.color]), () => ( null)) } }) : null,
|
|
273
273
|
steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
|
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkRIIMY7XWcjs = require('./chunk-RIIMY7XW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQPXC3LEVcjs = require('./chunk-QPXC3LEV.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk7GNSCDUKcjs = require('./chunk-7GNSCDUK.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkISSBE5JPcjs = require('./chunk-ISSBE5JP.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -30,17 +30,17 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunk72NE4G63cjs = require('./chunk-72NE4G63.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
@@ -55,7 +55,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
55
55
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
56
56
|
if (isFiltered) {
|
|
57
57
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
58
|
-
|
|
58
|
+
_chunkRIIMY7XWcjs.EmptyState,
|
|
59
59
|
{
|
|
60
60
|
type: "search",
|
|
61
61
|
title: filtered.title,
|
|
@@ -68,7 +68,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
68
68
|
}
|
|
69
69
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
70
70
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
71
|
-
|
|
71
|
+
_chunkRIIMY7XWcjs.EmptyState,
|
|
72
72
|
{
|
|
73
73
|
type: "generic",
|
|
74
74
|
title: empty.title,
|
|
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
|
|
|
105
105
|
function PageDataSyncRow({ inline = false }) {
|
|
106
106
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
107
107
|
if (!context) return null;
|
|
108
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
109
109
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
110
110
|
}
|
|
111
111
|
function usePageDataSync(sync, loading) {
|
|
@@ -124,7 +124,7 @@ function usePageDataSync(sync, loading) {
|
|
|
124
124
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
125
125
|
|
|
126
126
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
127
|
-
const section =
|
|
127
|
+
const section = _chunkISSBE5JPcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
128
128
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
129
129
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
130
130
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -162,11 +162,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
162
162
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
163
163
|
};
|
|
164
164
|
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: [
|
|
165
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
166
166
|
preControls,
|
|
167
167
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
168
168
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunk7GNSCDUKcjs.SearchInput,
|
|
170
170
|
{
|
|
171
171
|
showDropdown: false,
|
|
172
172
|
placeholder: search.placeholder,
|
|
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunk7GNSCDUKcjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
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 = _chunkISSBE5JPcjs.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
|
+
_chunkRPC4P7GYcjs.PageLayout,
|
|
218
218
|
{
|
|
219
219
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
220
220
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -223,21 +223,21 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQPXC3LEVcjs.FaqSection, { ..._chunkQPXC3LEVcjs.pageFaqProps.call(void 0, faq) })
|
|
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, _chunk7GNSCDUKcjs.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
|
|
235
235
|
|
|
236
236
|
var ROW_INNER_CLASS = "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]";
|
|
237
237
|
var ROW_TEXT_COLUMN_CLASS = "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]";
|
|
238
|
-
var ROW_TITLE_LINE_CLASS = `flex items-center text-h3 ${
|
|
239
|
-
var ROW_SUBTITLE_LINE_CLASS = `flex items-center text-h5 ${
|
|
240
|
-
var ROW_DESCRIPTION_LINE_CLASS = `flex items-center text-h4 ${
|
|
238
|
+
var ROW_TITLE_LINE_CLASS = `flex items-center text-h3 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[1]}`;
|
|
239
|
+
var ROW_SUBTITLE_LINE_CLASS = `flex items-center text-h5 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[1]}`;
|
|
240
|
+
var ROW_DESCRIPTION_LINE_CLASS = `flex items-center text-h4 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[3]}`;
|
|
241
241
|
var ROW_BADGES_CLASS = "flex flex-shrink-0 flex-col gap-2 self-start";
|
|
242
242
|
function DevCardRowContent(props) {
|
|
243
243
|
const { title, subtitle, description, emptyDescription = "No description provided", rightBadges } = props;
|
|
@@ -254,11 +254,11 @@ function DevCardRowContent(props) {
|
|
|
254
254
|
function DevCardRowContentSkeleton(props) {
|
|
255
255
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS, "aria-hidden": true, ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props), children: [
|
|
256
256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_TEXT_COLUMN_CLASS, children: [
|
|
257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_TITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_TITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-full" }) }),
|
|
258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-1/2" }) }),
|
|
259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.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, _chunkC5EPWKM7cjs.StatusBadge, { loading: true, text: "", variant: "card" }) })
|
|
262
262
|
] });
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -279,9 +279,9 @@ function getRelativeTime(timestamp) {
|
|
|
279
279
|
var ROW_INNER_CLASS2 = "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]";
|
|
280
280
|
var ROW_TEXT_COLUMN_CLASS2 = "flex w-full min-w-0 flex-1 flex-col gap-[12px] content-md:w-auto content-md:gap-[16px]";
|
|
281
281
|
var ROW_CAPTION_CLASS = "text-ods-text-secondary text-h5";
|
|
282
|
-
var ROW_TITLE_LINE_CLASS2 = `flex items-center text-h3 ${
|
|
283
|
-
var ROW_SUBTITLE_LINE_CLASS2 = `flex items-center text-h5 ${
|
|
284
|
-
var ROW_DESCRIPTION_LINE_CLASS2 = `flex items-center text-h4 ${
|
|
282
|
+
var ROW_TITLE_LINE_CLASS2 = `flex items-center text-h3 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[1]}`;
|
|
283
|
+
var ROW_SUBTITLE_LINE_CLASS2 = `flex items-center text-h5 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[1]}`;
|
|
284
|
+
var ROW_DESCRIPTION_LINE_CLASS2 = `flex items-center text-h4 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[3]}`;
|
|
285
285
|
var ROW_META_CLASS = "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";
|
|
286
286
|
var ROW_BASE_CLASS = "block p-[12px] text-inherit no-underline transition-colors duration-150 content-md:p-[16px]";
|
|
287
287
|
function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
@@ -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 = _chunk5FV2FQQDcjs.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
|
+
_chunkC5EPWKM7cjs.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
|
+
_chunkC5EPWKM7cjs.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
|
+
_chunk72NE4G63cjs.AvatarStack,
|
|
323
323
|
{
|
|
324
324
|
size: "xs",
|
|
325
325
|
className: "ml-auto content-md:ml-0",
|
|
@@ -354,13 +354,13 @@ function DeliveryRowSkeleton({ caption, className }) {
|
|
|
354
354
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, ROW_BASE_CLASS, "scroll-mt-24", className), "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
355
355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_TEXT_COLUMN_CLASS2, children: [
|
|
356
356
|
caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: ROW_CAPTION_CLASS, children: caption }),
|
|
357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_TITLE_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
359
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_TITLE_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }) }),
|
|
358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SUBTITLE_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-2/5" }) }),
|
|
359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.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, _chunkC5EPWKM7cjs.StatusBadge, { loading: true, text: "", variant: "card" }),
|
|
363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5EPWKM7cjs.StatusBadge, { loading: true, text: "", variant: "card" })
|
|
364
364
|
] })
|
|
365
365
|
] }) });
|
|
366
366
|
}
|
|
@@ -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 _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7VXMO4XJcjs = require('./chunk-7VXMO4XJ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkDRWPSN3Acjs = require('./chunk-DRWPSN3A.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -38,7 +38,7 @@ var NAME_CLASS = "text-ods-text-primary text-h5";
|
|
|
38
38
|
var JOB_TITLE_CLASS = "text-body-sm mt-0.5 font-body text-ods-text-secondary";
|
|
39
39
|
var BIO_CLASS = "text-body-md mt-2 font-body leading-relaxed text-ods-text-secondary";
|
|
40
40
|
function formatDate(value) {
|
|
41
|
-
return
|
|
41
|
+
return _chunk7VXMO4XJcjs.formatDateWithTimezone.call(void 0, value, null, "long");
|
|
42
42
|
}
|
|
43
43
|
function ArticleAuthorByline({
|
|
44
44
|
author,
|
|
@@ -52,18 +52,18 @@ function ArticleAuthorByline({
|
|
|
52
52
|
proxyImageUrl,
|
|
53
53
|
className
|
|
54
54
|
}) {
|
|
55
|
-
const proxiedAvatar =
|
|
55
|
+
const proxiedAvatar = _chunk5FV2FQQDcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
|
|
56
56
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
57
57
|
if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
|
|
58
58
|
if (!author) return null;
|
|
59
|
-
const avatarSizeClass =
|
|
59
|
+
const avatarSizeClass = _chunkAT4C2YMAcjs.AVATAR_SIZE[BYLINE_AVATAR_SIZE[size]];
|
|
60
60
|
const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
|
|
61
|
-
const avatarDim =
|
|
62
|
-
const formattedBio =
|
|
61
|
+
const avatarDim = _chunkAT4C2YMAcjs.AVATAR_SIZE_PX[BYLINE_AVATAR_SIZE[size]];
|
|
62
|
+
const formattedBio = _chunk7VXMO4XJcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
|
|
63
63
|
const dateLabel = publishedAt ? formatDate(publishedAt) : "";
|
|
64
64
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, BYLINE_FRAME_CLASS, className), children: [
|
|
65
65
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: avatar ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
66
|
-
|
|
66
|
+
_chunkDRWPSN3Acjs.next_image_default,
|
|
67
67
|
{
|
|
68
68
|
src: proxiedAvatar || avatar,
|
|
69
69
|
alt: author,
|
|
@@ -87,11 +87,11 @@ function ArticleAuthorByline({
|
|
|
87
87
|
}
|
|
88
88
|
function ArticleAuthorBylineSkeleton({ size = "md", className }) {
|
|
89
89
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, BYLINE_FRAME_CLASS, className), "aria-hidden": true, children: [
|
|
90
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
90
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { variant: "circular", className: _chunkAT4C2YMAcjs.AVATAR_SIZE[BYLINE_AVATAR_SIZE[size]] }) }),
|
|
91
91
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, BODY_CLASS, "w-full"), children: [
|
|
92
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: NAME_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
93
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: JOB_TITLE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BIO_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
92
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: NAME_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) }) }),
|
|
93
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: JOB_TITLE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-32" }) }),
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BIO_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: 3, className: "w-full" }) })
|
|
95
95
|
] })
|
|
96
96
|
] });
|
|
97
97
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkISSBE5JPcjs = require('./chunk-ISSBE5JP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkV4RKY4ZYcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkISSBE5JPcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -7,7 +7,7 @@ var _chunkJRTDBPJTcjs = require('./chunk-JRTDBPJT.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ var _chunk6YZNUHXTcjs = require('./chunk-6YZNUHXT.cjs');
|
|
|
16
16
|
// src/components/ui/field-value-skeleton.tsx
|
|
17
17
|
var _jsxruntime = require('react/jsx-runtime');
|
|
18
18
|
function FieldValueSkeleton() {
|
|
19
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", className: _chunkAT4C2YMAcjs.FIELD_VALUE_SKELETON_CLASS });
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// src/components/ui/required-mark.tsx
|
|
@@ -159,8 +159,8 @@ var Input = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
159
159
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
160
160
|
// Layout & spacing
|
|
161
161
|
"flex w-full cursor-text items-center gap-2 border px-3",
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
_chunkAT4C2YMAcjs.INPUT_HEIGHT_CLASS,
|
|
163
|
+
_chunkAT4C2YMAcjs.INPUT_RADIUS_CLASS,
|
|
164
164
|
// Focus-within states
|
|
165
165
|
"has-[:focus-visible]:outline-none",
|
|
166
166
|
"group",
|