@flamingo-stack/openframe-frontend-core 0.0.791 → 0.0.793
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-ABZGBMC2.cjs → chunk-BI6FE3HO.cjs} +10 -10
- package/dist/{chunk-W3Q7ZQLS.cjs → chunk-BTI4RRU2.cjs} +2 -2
- package/dist/{chunk-3XSWE5FW.cjs → chunk-CASWVIJC.cjs} +8 -4
- package/dist/{chunk-6TPROUHW.cjs → chunk-CB24ILOB.cjs} +24 -14
- package/dist/{chunk-YWNXZAQ2.cjs → chunk-CKSAUEEL.cjs} +16 -16
- package/dist/{chunk-3AN35WAO.cjs → chunk-DWYMZ3LO.cjs} +24 -24
- package/dist/{chunk-DKOLQPE7.cjs → chunk-FDZOE5TL.cjs} +16 -1
- package/dist/{chunk-YPWFYQFE.cjs → chunk-FEARCFP4.cjs} +5 -5
- package/dist/{chunk-STEJZPIO.cjs → chunk-LHV2R6QU.cjs} +3 -3
- package/dist/{chunk-O4TKEWNW.cjs → chunk-LMZICTQW.cjs} +3 -3
- package/dist/{chunk-EPWLLLGW.cjs → chunk-LVBSVUHD.cjs} +2 -2
- package/dist/{chunk-4YIDZCTL.cjs → chunk-SMZWXY4X.cjs} +7 -13
- package/dist/{chunk-6ZPHUDTP.cjs → chunk-XGE2WCOH.cjs} +3 -3
- package/dist/{chunk-MIUFSOUN.cjs → chunk-YDH5OVRQ.cjs} +45 -38
- package/dist/{chunk-2I2AXIBD.cjs → chunk-ZCNEO273.cjs} +75 -55
- package/dist/{cloud-tenants-TTOYIEN3.cjs → cloud-tenants-BISHVU2T.cjs} +12 -12
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/docs/skeletons.js +11 -1
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +77 -56
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/help-center-pages/index.cjs +50 -50
- package/dist/components/help-center-pages/trust-center-sections.js +1 -1
- package/dist/components/index.cjs +18 -18
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts +8 -0
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/booking-context-summary.js +54 -0
- package/dist/components/meeting-scheduler/booking-form.d.ts +14 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +13 -3
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.js +3 -1
- package/dist/components/meeting-scheduler/index.cjs +137 -61
- package/dist/components/meeting-scheduler/index.d.ts +6 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +7 -2
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/devices.js +5 -12
- package/dist/components/product-demo/fixtures/shared.d.ts +89 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/shared.js +15 -0
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/product-demo/screens/devices-view.d.ts.map +1 -1
- package/dist/components/product-demo/screens/devices-view.js +3 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +15 -8
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/{devices-SKWJYGUD.cjs → devices-GMR73ZF3.cjs} +8 -8
- package/dist/index.cjs +3 -3
- package/dist/{knowledge-BPB2TROI.cjs → knowledge-XC2K5VQO.cjs} +6 -6
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/{logs-VIHYNQU4.cjs → logs-LBGQLETC.cjs} +24 -24
- package/dist/{policies-YVNOCNNO.cjs → policies-3XVE6266.cjs} +9 -9
- package/dist/{remote-session-WKLEYACD.cjs → remote-session-4ZNTOLOQ.cjs} +5 -5
- package/dist/schemas/meeting-booking-schema.cjs +21 -0
- package/dist/schemas/meeting-booking-schema.d.ts +43 -0
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +21 -0
- package/dist/{scripts-MK5FCR7L.cjs → scripts-NE5IL4NC.cjs} +13 -13
- package/dist/{software-update-GDV75A2Z.cjs → software-update-EJDKTFAP.cjs} +13 -13
- package/dist/{tickets-board-URMIIAKD.cjs → tickets-board-X4GHEKPB.cjs} +17 -17
- package/package.json +1 -1
- package/src/components/docs/skeletons.tsx +7 -1
- package/src/components/features/conversation-card.tsx +89 -64
- package/src/components/help-center-pages/trust-center-sections.tsx +1 -1
- package/src/components/meeting-scheduler/booking-context-summary.tsx +100 -0
- package/src/components/meeting-scheduler/booking-form.tsx +28 -0
- package/src/components/meeting-scheduler/directory.tsx +6 -1
- package/src/components/meeting-scheduler/index.tsx +23 -2
- package/src/components/product-demo/fixtures/devices.ts +5 -12
- package/src/components/product-demo/fixtures/shared.ts +20 -0
- package/src/components/product-demo/screens/devices-view.tsx +3 -0
- package/src/components/shared/roadmap/roadmap-grid.tsx +29 -7
- package/src/loading-standard/engine.mjs +6 -2
- package/src/schemas/meeting-booking-schema.ts +62 -0
|
@@ -15,7 +15,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkZCNEO273cjs = require('./chunk-ZCNEO273.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
|
|
@@ -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, _chunkZCNEO273cjs.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) {
|
|
@@ -166,7 +166,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
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
|
+
_chunkZCNEO273cjs.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
|
+
_chunkZCNEO273cjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
onStatusChange: handleFilterChange,
|
|
@@ -228,7 +228,7 @@ function DevSectionPage({
|
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.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
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
6
6
|
|
|
7
7
|
// src/components/product-demo/cast.tsx
|
|
8
8
|
var _react = require('react');
|
|
@@ -10,11 +10,11 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
10
10
|
function resolveProductDemoCast(cast) {
|
|
11
11
|
return {
|
|
12
12
|
person: (key) => {
|
|
13
|
-
const person =
|
|
13
|
+
const person = _chunkFDZOE5TLcjs.DEMO_PEOPLE[key];
|
|
14
14
|
return { ...person, avatarUrl: _nullishCoalesce(_optionalChain([cast, 'optionalAccess', _ => _.people, 'optionalAccess', _2 => _2[person.slug], 'optionalAccess', _3 => _3.avatarUrl]), () => ( void 0)) };
|
|
15
15
|
},
|
|
16
16
|
organization: (key) => ({
|
|
17
|
-
...
|
|
17
|
+
..._chunkFDZOE5TLcjs.DEMO_ORGANIZATIONS[key],
|
|
18
18
|
logoUrl: _nullishCoalesce(_optionalChain([cast, 'optionalAccess', _4 => _4.organizations, 'optionalAccess', _5 => _5[key], 'optionalAccess', _6 => _6.logoUrl]), () => ( void 0))
|
|
19
19
|
})
|
|
20
20
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZCNEO273cjs = require('./chunk-ZCNEO273.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -209,7 +209,7 @@ function ContactForm({
|
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkZCNEO273cjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkZCNEO273cjs = require('./chunk-ZCNEO273.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -72,7 +72,7 @@ function DocSearchBar({
|
|
|
72
72
|
renderResult
|
|
73
73
|
}) {
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
|
|
75
|
+
_chunkZCNEO273cjs.SearchInput,
|
|
76
76
|
{
|
|
77
77
|
placeholder,
|
|
78
78
|
value: query,
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
6
7
|
|
|
7
8
|
// src/components/product-demo/fixtures/devices.ts
|
|
8
9
|
function device(cast, demo, type, status, lastSeenMinutesAgo) {
|
|
@@ -15,7 +16,7 @@ function device(cast, demo, type, status, lastSeenMinutesAgo) {
|
|
|
15
16
|
status,
|
|
16
17
|
type,
|
|
17
18
|
osType: demo.os,
|
|
18
|
-
last_seen:
|
|
19
|
+
last_seen: _chunkFDZOE5TLcjs.demoMinutesAgo.call(void 0, lastSeenMinutesAgo),
|
|
19
20
|
organizationId: organization.id,
|
|
20
21
|
organization: organization.name,
|
|
21
22
|
organizationImageUrl: organization.logoUrl
|
|
@@ -30,16 +31,9 @@ function countBy(devices, pick) {
|
|
|
30
31
|
return Array.from(counts, ([value, count]) => ({ value, count }));
|
|
31
32
|
}
|
|
32
33
|
function buildDevicesFixture(cast) {
|
|
33
|
-
const devices =
|
|
34
|
-
device(cast,
|
|
35
|
-
|
|
36
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.mayaAir, "laptop", "ONLINE", 1),
|
|
37
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.buildServer, "server", "ONLINE", 1),
|
|
38
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.leoThinkPad, "laptop", "OFFLINE", 64),
|
|
39
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.samT14, "laptop", "ONLINE", 3),
|
|
40
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.jenSurface, "laptop", "ONLINE", 6),
|
|
41
|
-
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.priyaXps, "laptop", "ONLINE", 2)
|
|
42
|
-
];
|
|
34
|
+
const devices = _chunkFDZOE5TLcjs.DEMO_FLEET.map(
|
|
35
|
+
(entry) => device(cast, entry.device, entry.type, entry.status, entry.lastSeenMinutesAgo)
|
|
36
|
+
);
|
|
43
37
|
const deviceFilters = {
|
|
44
38
|
statuses: countBy(devices, (row) => row.status),
|
|
45
39
|
deviceTypes: countBy(devices, (row) => row.type),
|
|
@@ -55,7 +49,7 @@ function buildDevicesFixture(cast) {
|
|
|
55
49
|
}
|
|
56
50
|
function buildWindowsDevicesFixture(cast) {
|
|
57
51
|
const fleet = buildDevicesFixture(cast);
|
|
58
|
-
const devices = fleet.devices.filter((row) => row.osType ===
|
|
52
|
+
const devices = fleet.devices.filter((row) => row.osType === _chunkFDZOE5TLcjs.DEMO_FLEET_SEARCH_OS);
|
|
59
53
|
return {
|
|
60
54
|
devices,
|
|
61
55
|
deviceFilters: { ...fleet.deviceFilters, filteredCount: devices.length },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZCNEO273cjs = require('./chunk-ZCNEO273.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkZCNEO273cjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkZCNEO273cjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFEARCFP4cjs = require('./chunk-FEARCFP4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -24,7 +24,7 @@ var _chunkVUQNTCALcjs = require('./chunk-VUQNTCAL.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkZCNEO273cjs = require('./chunk-ZCNEO273.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
|
|
@@ -184,7 +184,7 @@ function ProductReleasesView({
|
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunkFEARCFP4cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
188
188
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
189
189
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
190
190
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -203,10 +203,10 @@ function ProductReleasesView({
|
|
|
203
203
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
204
204
|
};
|
|
205
205
|
if (error) {
|
|
206
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
207
207
|
}
|
|
208
208
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex w-full flex-col gap-[40px]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[600px] items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
-
|
|
209
|
+
_chunkFEARCFP4cjs.ListEmptyState,
|
|
210
210
|
{
|
|
211
211
|
isFiltered: hasActiveFilters,
|
|
212
212
|
filtered: {
|
|
@@ -319,7 +319,7 @@ function MediaGalleryStripSkeleton({
|
|
|
319
319
|
var _lucidereact = require('lucide-react');
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
var DefaultMarkdownRenderer =
|
|
322
|
+
var DefaultMarkdownRenderer = _chunkZCNEO273cjs.RichMarkdownRenderer;
|
|
323
323
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
324
324
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
325
325
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -369,7 +369,7 @@ function ReleaseDetailPage({
|
|
|
369
369
|
}) {
|
|
370
370
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
371
371
|
const captions = _chunkFBA6S4EScjs.useCaptions.call(void 0, );
|
|
372
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
373
373
|
const seed = initialData == null ? void 0 : initialData;
|
|
374
374
|
const {
|
|
375
375
|
data: release,
|
|
@@ -475,7 +475,7 @@ function ReleaseDetailPage({
|
|
|
475
475
|
children: [
|
|
476
476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
477
477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
-
|
|
478
|
+
_chunkZCNEO273cjs.EntityTagBadges,
|
|
479
479
|
{
|
|
480
480
|
tags: view.product_release_tags,
|
|
481
481
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkZCNEO273cjs.ReleaseChangelogSection,
|
|
560
560
|
{
|
|
561
561
|
title: "Breaking Changes",
|
|
562
562
|
entries: breakingChanges || [],
|
|
@@ -568,7 +568,7 @@ function ReleaseDetailPage({
|
|
|
568
568
|
}
|
|
569
569
|
),
|
|
570
570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
571
|
-
|
|
571
|
+
_chunkZCNEO273cjs.ReleaseChangelogSection,
|
|
572
572
|
{
|
|
573
573
|
title: "Features Added",
|
|
574
574
|
entries: featuresAdded || [],
|
|
@@ -578,7 +578,7 @@ function ReleaseDetailPage({
|
|
|
578
578
|
}
|
|
579
579
|
),
|
|
580
580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
581
|
-
|
|
581
|
+
_chunkZCNEO273cjs.ReleaseChangelogSection,
|
|
582
582
|
{
|
|
583
583
|
title: "Bugs Fixed",
|
|
584
584
|
entries: bugFixed || [],
|
|
@@ -588,7 +588,7 @@ function ReleaseDetailPage({
|
|
|
588
588
|
}
|
|
589
589
|
),
|
|
590
590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
591
|
-
|
|
591
|
+
_chunkZCNEO273cjs.ReleaseChangelogSection,
|
|
592
592
|
{
|
|
593
593
|
title: "Improvements",
|
|
594
594
|
entries: improvements || [],
|
|
@@ -617,9 +617,9 @@ function ReleaseDetailPage({
|
|
|
617
617
|
return deliveryLoading ? (
|
|
618
618
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
619
619
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.FadePreview, { fixedHeight: true, collapsedHeight: DELIVERY_PREVIEW_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DELIVERY_TABLES_STACK_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) }) }) })
|
|
621
621
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
-
|
|
622
|
+
_chunkZCNEO273cjs.FadePreview,
|
|
623
623
|
{
|
|
624
624
|
hiddenCount: deliveryCount - 1,
|
|
625
625
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -892,18 +892,25 @@ var QUARTER_LIST_CLASS = "flex flex-col gap-10";
|
|
|
892
892
|
var QUARTER_HEAD_CLASS = "flex items-center gap-3";
|
|
893
893
|
var QUARTER_CONTENT_CLASS = "pt-4";
|
|
894
894
|
var QUARTER_CONTENT_INNER_CLASS = "pb-4";
|
|
895
|
+
var ROADMAP_SKELETON_CLOSED_QUARTERS = 4;
|
|
896
|
+
function RoadmapQuarterHeadSkeleton() {
|
|
897
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: QUARTER_HEAD_CLASS, children: [
|
|
898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h2", className: "w-40" }),
|
|
899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-16" })
|
|
900
|
+
] });
|
|
901
|
+
}
|
|
895
902
|
function RoadmapGridQuarterSkeleton({
|
|
896
903
|
showLeftMargin = true,
|
|
897
904
|
columns = 2,
|
|
898
905
|
count
|
|
899
906
|
}) {
|
|
900
|
-
return /* @__PURE__ */ _jsxruntime.
|
|
901
|
-
/* @__PURE__ */ _jsxruntime.
|
|
902
|
-
|
|
903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
] })
|
|
907
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: QUARTER_LIST_CLASS, "aria-hidden": true, children: [
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ROADMAP_SKELETON_CLOSED_QUARTERS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapQuarterHeadSkeleton, {}) }) }),
|
|
909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", "data-loading-item": true, children: [
|
|
910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapQuarterHeadSkeleton, {}),
|
|
911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_INNER_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { region: false, count, showLeftMargin, columns }) }) })
|
|
912
|
+
] })
|
|
913
|
+
] });
|
|
907
914
|
}
|
|
908
915
|
function RoadmapGrid({
|
|
909
916
|
items,
|
|
@@ -1015,7 +1022,7 @@ function RoadmapGrid({
|
|
|
1015
1022
|
);
|
|
1016
1023
|
}
|
|
1017
1024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1018
|
-
|
|
1025
|
+
_chunkZCNEO273cjs.Accordion,
|
|
1019
1026
|
{
|
|
1020
1027
|
type: "multiple",
|
|
1021
1028
|
value: expandedQuarters,
|
|
@@ -1025,14 +1032,14 @@ function RoadmapGrid({
|
|
|
1025
1032
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1026
1033
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1027
1034
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1028
|
-
|
|
1035
|
+
_chunkZCNEO273cjs.AccordionItem,
|
|
1029
1036
|
{
|
|
1030
1037
|
value: quarter,
|
|
1031
1038
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1032
1039
|
className: "border-0",
|
|
1033
1040
|
"data-loading-item": true,
|
|
1034
1041
|
children: [
|
|
1035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:ml-auto [&>svg]:h-5 [&>svg]:w-5 [&>svg]:shrink-0 [&>svg]:text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: QUARTER_HEAD_CLASS, children: [
|
|
1036
1043
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1037
1044
|
"h3",
|
|
1038
1045
|
{
|
|
@@ -1062,7 +1069,7 @@ function RoadmapGrid({
|
|
|
1062
1069
|
}
|
|
1063
1070
|
)
|
|
1064
1071
|
] }) }),
|
|
1065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.AccordionContent, { className: "overflow-hidden pb-0 pt-4 data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1066
1073
|
RoadmapGridSingle,
|
|
1067
1074
|
{
|
|
1068
1075
|
items: itemsByQuarter[quarter],
|
|
@@ -1113,18 +1120,18 @@ function RoadmapView({
|
|
|
1113
1120
|
});
|
|
1114
1121
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1115
1122
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1116
|
-
const syncInPage =
|
|
1123
|
+
const syncInPage = _chunkFEARCFP4cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1117
1124
|
if (error) {
|
|
1118
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1125
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1119
1126
|
}
|
|
1120
1127
|
if (isLoading && !data) {
|
|
1121
1128
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1122
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1129
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.DataSyncLine, { loading: true }),
|
|
1123
1130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1124
1131
|
] });
|
|
1125
1132
|
}
|
|
1126
1133
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1127
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1134
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1128
1135
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1129
1136
|
RoadmapGrid,
|
|
1130
1137
|
{
|
|
@@ -1148,7 +1155,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkC5EPWKM7cjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1148
1155
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1149
1156
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1150
1157
|
function DeliveryTableSkeleton() {
|
|
1151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1158
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFEARCFP4cjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1152
1159
|
}
|
|
1153
1160
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1154
1161
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1161,7 +1168,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1161
1168
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1162
1169
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1163
1170
|
// outer wrapper here ONLY exists for the row separators.
|
|
1164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFEARCFP4cjs.DeliveryRow, { item, id: _chunk7EH7KKFWcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1165
1172
|
)) }) });
|
|
1166
1173
|
}
|
|
1167
1174
|
|
|
@@ -1246,18 +1253,18 @@ function DeliveryLists({
|
|
|
1246
1253
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1247
1254
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1248
1255
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1249
|
-
const syncInPage =
|
|
1256
|
+
const syncInPage = _chunkFEARCFP4cjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1250
1257
|
const showCompleted = true;
|
|
1251
1258
|
const showInProgress = true;
|
|
1252
1259
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1253
1260
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1254
1261
|
if (error) {
|
|
1255
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1262
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1256
1263
|
}
|
|
1257
1264
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1258
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1265
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1259
1266
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1260
|
-
|
|
1267
|
+
_chunkFEARCFP4cjs.ListEmptyState,
|
|
1261
1268
|
{
|
|
1262
1269
|
isFiltered: hasActiveFilters,
|
|
1263
1270
|
filtered: {
|
|
@@ -1494,7 +1501,7 @@ function LegalDocumentPage({
|
|
|
1494
1501
|
emptyStateMessage: emptyStateMessageProp,
|
|
1495
1502
|
initialData = null,
|
|
1496
1503
|
apiEndpoint,
|
|
1497
|
-
MarkdownRenderer =
|
|
1504
|
+
MarkdownRenderer = _chunkZCNEO273cjs.RichMarkdownRenderer,
|
|
1498
1505
|
documentsEndpoint,
|
|
1499
1506
|
backButton,
|
|
1500
1507
|
faq,
|
|
@@ -1525,7 +1532,7 @@ function LegalDocumentPage({
|
|
|
1525
1532
|
titleSize: "h1",
|
|
1526
1533
|
titleWrap: true,
|
|
1527
1534
|
children: [
|
|
1528
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1529
1536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex-1", isLoading && "w-full"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: "space-y-2", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LegalDocumentSkeleton, {}) : error ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 text-center", children: [
|
|
1530
1537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1531
1538
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1549,7 +1556,7 @@ function LegalDocumentPage({
|
|
|
1549
1556
|
]
|
|
1550
1557
|
}
|
|
1551
1558
|
);
|
|
1552
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1559
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZCNEO273cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1553
1560
|
}
|
|
1554
1561
|
|
|
1555
1562
|
|
|
@@ -602,7 +602,6 @@ var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
|
|
|
602
602
|
|
|
603
603
|
|
|
604
604
|
|
|
605
|
-
|
|
606
605
|
var _chunkK7I3YYYUcjs = require('./chunk-K7I3YYYU.cjs');
|
|
607
606
|
|
|
608
607
|
|
|
@@ -33529,10 +33528,9 @@ var OUTCOME_TEXT_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "m-0 min-w-0 flex-1",
|
|
|
33529
33528
|
var OUTCOME_CHECK_CLASS = "flex shrink-0 items-center";
|
|
33530
33529
|
var OUTCOME_CHECK_STYLE = { height: "1lh" };
|
|
33531
33530
|
var REQUEST_TEXT_CLASS = "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3";
|
|
33532
|
-
var
|
|
33533
|
-
|
|
33534
|
-
|
|
33535
|
-
var SELECTION_TOGGLE_CLASS = "absolute right-[var(--spacing-system-mf)] top-[var(--spacing-system-mf)] z-10";
|
|
33531
|
+
var REQUESTER_ROW_CLASS = "flex items-start gap-[var(--spacing-system-xsf)]";
|
|
33532
|
+
var REQUESTER_TURN_CLASS = "min-w-0 flex-1";
|
|
33533
|
+
var SELECTION_TOGGLE_CLASS = "shrink-0";
|
|
33536
33534
|
var CONTEXT_LABEL_CLASS = "text-ods-text-secondary text-h6";
|
|
33537
33535
|
var SKELETON_AVATAR_SHAPE = "square";
|
|
33538
33536
|
var CARD_FRAME_CLASS = "relative flex h-full flex-col gap-[var(--spacing-system-mf)] overflow-hidden rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-mf)]";
|
|
@@ -33593,39 +33591,41 @@ function ConversationCard({
|
|
|
33593
33591
|
selection.onToggle();
|
|
33594
33592
|
}),
|
|
33595
33593
|
children: [
|
|
33596
|
-
selection && // The toggle is a regular boxed Button in the card's corner, named by the
|
|
33597
|
-
// request; a click anywhere on the card toggles it too (a pointer
|
|
33598
|
-
// convenience: the Button is the control keyboards and screen readers use).
|
|
33599
33594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33600
|
-
|
|
33595
|
+
RequesterRow,
|
|
33601
33596
|
{
|
|
33602
|
-
|
|
33603
|
-
|
|
33604
|
-
|
|
33605
|
-
|
|
33606
|
-
|
|
33607
|
-
|
|
33608
|
-
|
|
33609
|
-
|
|
33610
|
-
|
|
33611
|
-
|
|
33612
|
-
|
|
33597
|
+
selection: (
|
|
33598
|
+
// A regular boxed Button, named by the request; a click anywhere on the card toggles it too (a pointer
|
|
33599
|
+
// convenience: the Button is the control keyboards and screen readers use).
|
|
33600
|
+
selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33601
|
+
SelectionToggle,
|
|
33602
|
+
{
|
|
33603
|
+
pressed: selection.pressed,
|
|
33604
|
+
"aria-labelledby": requestId,
|
|
33605
|
+
onClick: (event) => {
|
|
33606
|
+
event.stopPropagation();
|
|
33607
|
+
selection.onToggle();
|
|
33608
|
+
}
|
|
33609
|
+
}
|
|
33610
|
+
)
|
|
33611
|
+
),
|
|
33612
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33613
|
+
_chunk7EH7KKFWcjs.ChatTurn,
|
|
33614
|
+
{
|
|
33615
|
+
avatar: requester.avatar,
|
|
33616
|
+
name: requester.name,
|
|
33617
|
+
meta: requester.meta,
|
|
33618
|
+
time: requester.time,
|
|
33619
|
+
className: selection ? REQUESTER_TURN_CLASS : void 0,
|
|
33620
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { id: requestId, className: REQUEST_TEXT_CLASS, title: request, children: [
|
|
33621
|
+
"\u201C",
|
|
33622
|
+
request,
|
|
33623
|
+
"\u201D"
|
|
33624
|
+
] })
|
|
33625
|
+
}
|
|
33626
|
+
)
|
|
33613
33627
|
}
|
|
33614
33628
|
),
|
|
33615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33616
|
-
"p",
|
|
33617
|
-
{
|
|
33618
|
-
id: requestId,
|
|
33619
|
-
className: REQUEST_TEXT_CLASS,
|
|
33620
|
-
style: selection ? REQUEST_CLEAR_TOGGLE_STYLE : void 0,
|
|
33621
|
-
title: request,
|
|
33622
|
-
children: [
|
|
33623
|
-
"\u201C",
|
|
33624
|
-
request,
|
|
33625
|
-
"\u201D"
|
|
33626
|
-
]
|
|
33627
|
-
}
|
|
33628
|
-
) }),
|
|
33629
33629
|
context && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTEXT_BLOCK_CLASS, children: [
|
|
33630
33630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, children: context.label }),
|
|
33631
33631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
@@ -33671,29 +33671,25 @@ function ConversationCardSkeleton({
|
|
|
33671
33671
|
const contextLines = partLines(_optionalChain([lines, 'optionalAccess', _751 => _751.context]));
|
|
33672
33672
|
const outcomeLines = partLines(_optionalChain([lines, 'optionalAccess', _752 => _752.outcome]));
|
|
33673
33673
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label, announce, className: _chunk6YZNUHXTcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
|
|
33674
|
-
selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33675
|
-
_chunkK7I3YYYUcjs.Button,
|
|
33676
|
-
{
|
|
33677
|
-
type: "button",
|
|
33678
|
-
variant: selection.pressed ? "accent" : "outline",
|
|
33679
|
-
size: "icon-sm",
|
|
33680
|
-
"aria-pressed": selection.pressed,
|
|
33681
|
-
className: SELECTION_TOGGLE_CLASS,
|
|
33682
|
-
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33683
|
-
}
|
|
33684
|
-
) }),
|
|
33685
33674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33686
|
-
|
|
33675
|
+
RequesterRow,
|
|
33687
33676
|
{
|
|
33688
|
-
|
|
33689
|
-
|
|
33690
|
-
|
|
33691
|
-
|
|
33692
|
-
|
|
33693
|
-
|
|
33694
|
-
|
|
33695
|
-
|
|
33696
|
-
|
|
33677
|
+
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33678
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33679
|
+
_chunk7EH7KKFWcjs.ChatTurn,
|
|
33680
|
+
{
|
|
33681
|
+
loading: true,
|
|
33682
|
+
name: "",
|
|
33683
|
+
className: selection ? REQUESTER_TURN_CLASS : void 0,
|
|
33684
|
+
skeleton: {
|
|
33685
|
+
avatarPx,
|
|
33686
|
+
avatarShape: SKELETON_AVATAR_SHAPE,
|
|
33687
|
+
meta: requesterMeta,
|
|
33688
|
+
time: requesterTime,
|
|
33689
|
+
body: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { lines: 2, type: "h3" })
|
|
33690
|
+
}
|
|
33691
|
+
}
|
|
33692
|
+
)
|
|
33697
33693
|
}
|
|
33698
33694
|
),
|
|
33699
33695
|
context && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTEXT_BLOCK_CLASS, children: [
|
|
@@ -33731,6 +33727,30 @@ function ConversationCardSkeleton({
|
|
|
33731
33727
|
] })
|
|
33732
33728
|
] });
|
|
33733
33729
|
}
|
|
33730
|
+
function RequesterRow({ selection, children }) {
|
|
33731
|
+
if (!selection) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children });
|
|
33732
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: REQUESTER_ROW_CLASS, children: [
|
|
33733
|
+
children,
|
|
33734
|
+
selection
|
|
33735
|
+
] });
|
|
33736
|
+
}
|
|
33737
|
+
function SelectionToggle({
|
|
33738
|
+
pressed,
|
|
33739
|
+
...props
|
|
33740
|
+
}) {
|
|
33741
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33742
|
+
_chunkK7I3YYYUcjs.Button,
|
|
33743
|
+
{
|
|
33744
|
+
type: "button",
|
|
33745
|
+
variant: pressed ? "accent" : "outline",
|
|
33746
|
+
size: "icon-sm",
|
|
33747
|
+
"aria-pressed": pressed,
|
|
33748
|
+
className: SELECTION_TOGGLE_CLASS,
|
|
33749
|
+
...props,
|
|
33750
|
+
children: pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33751
|
+
}
|
|
33752
|
+
);
|
|
33753
|
+
}
|
|
33734
33754
|
|
|
33735
33755
|
// src/components/features/capability-explorer.tsx
|
|
33736
33756
|
|