@flamingo-stack/openframe-frontend-core 0.0.725 → 0.0.728
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-JVHP7Y4S.js → chunk-2F4DO7DS.js} +2 -2
- package/dist/{chunk-4ZZ4TNCY.cjs → chunk-32QAIKXR.cjs} +9 -9
- package/dist/{chunk-AI3CLDZO.cjs → chunk-33QHEG7K.cjs} +289 -285
- package/dist/{chunk-QV4GO3GW.cjs → chunk-4ICMFNCJ.cjs} +29 -56
- package/dist/{chunk-YPEILGVZ.cjs → chunk-5K3QUH7C.cjs} +3 -3
- package/dist/{chunk-5FVWDDX6.js → chunk-66XG5RFJ.js} +2 -2
- package/dist/{chunk-ZSXZE4FJ.cjs → chunk-7N6M77PI.cjs} +3 -3
- package/dist/{chunk-2VOZ37BL.cjs → chunk-7VYBSCCL.cjs} +35 -35
- package/dist/{chunk-7V5KFBY2.cjs → chunk-APJCBQ7X.cjs} +16 -16
- package/dist/{chunk-RU6BTELI.cjs → chunk-CELBOIKC.cjs} +538 -491
- package/dist/{chunk-SEVKFMKR.cjs → chunk-CI7KWY6L.cjs} +3 -3
- package/dist/{chunk-OBMWSUBK.js → chunk-EM3WCK2K.js} +5 -5
- package/dist/{chunk-ASHRHL4W.js → chunk-GEUUDNCI.js} +5 -5
- package/dist/{chunk-ZZRUKEN2.js → chunk-GINCQZMM.js} +3 -3
- package/dist/{chunk-AX4F35C2.js → chunk-HP4C2DFL.js} +1 -1
- package/dist/{chunk-ASIXPRHV.js → chunk-HTQJSW3Y.js} +3 -3
- package/dist/{chunk-SE4O4HCD.cjs → chunk-OKEJY2GC.cjs} +8 -8
- package/dist/{chunk-B7234BE2.cjs → chunk-OYU7QNLQ.cjs} +11 -11
- package/dist/{chunk-PUADVXJD.js → chunk-QL4RUHKU.js} +1 -1
- package/dist/{chunk-LYQYLPPV.cjs → chunk-RMXLHYEG.cjs} +26 -26
- package/dist/{chunk-MGTZ2BKY.js → chunk-SKEW5NMJ.js} +22 -49
- package/dist/{chunk-772242QR.cjs → chunk-SSXQYS5K.cjs} +65 -65
- package/dist/{chunk-F56GNKX2.js → chunk-TYMLEI2I.js} +2 -2
- package/dist/{chunk-MLFS5G3V.js → chunk-UF3NFAQK.js} +315 -268
- package/dist/{chunk-2SO3OJFY.cjs → chunk-UJZ5Y3RK.cjs} +33 -33
- package/dist/{chunk-W2DXHR2R.js → chunk-URYLQ4MC.js} +15 -11
- package/dist/{chunk-F77J34W2.js → chunk-VGRQK7YS.js} +1 -1
- package/dist/{chunk-IOTAUWWF.js → chunk-XYSKJ7GA.js} +1 -1
- package/dist/{chunk-LR6DJY4Z.cjs → chunk-YREYU6DY.cjs} +9 -9
- package/dist/{chunk-JAKG6BY7.js → chunk-ZDGK2TNJ.js} +3 -3
- package/dist/{cloud-tenants-SMULXU54.cjs → cloud-tenants-XP3L6PWO.cjs} +3 -3
- package/dist/{cloud-tenants-US63E2HV.js → cloud-tenants-XVVFCOK2.js} +2 -2
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/assistant-ask-prompts.d.ts +34 -14
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +34 -7
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.js +3 -5
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/faq-ask-card.d.ts +8 -11
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -1
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/auth/auth-shell.d.ts +3 -1
- package/dist/components/features/auth/auth-shell.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +35 -37
- package/dist/components/index.js +14 -16
- package/dist/components/meeting-scheduler/index.cjs +19 -19
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.js +4 -6
- package/dist/{devices-6ZURNFRB.cjs → devices-MMHLY67A.cjs} +4 -4
- package/dist/{devices-JWHGWKLK.js → devices-S7PJJI66.js} +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{knowledge-CY66JZ54.cjs → knowledge-LJNFAJNE.cjs} +4 -4
- package/dist/{knowledge-TEDPLCFX.js → knowledge-WW3LOQKN.js} +2 -2
- package/dist/{logs-MO357RE7.cjs → logs-F4ZVNUKQ.cjs} +11 -11
- package/dist/{logs-S46THPPD.js → logs-I4DMHQDA.js} +2 -2
- package/dist/{policies-GSH4K5YP.cjs → policies-KZXFXGD7.cjs} +7 -7
- package/dist/{policies-BUXT7DKF.js → policies-RX55V46V.js} +2 -2
- package/dist/{software-update-2ETT35NM.cjs → software-update-4A242VDB.cjs} +6 -6
- package/dist/{software-update-YKS6KLX2.js → software-update-VI7FQYR4.js} +2 -2
- package/dist/utils/index.cjs +25 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +23 -23
- package/dist/utils/source-grouping.d.ts +15 -5
- package/dist/utils/source-grouping.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +17 -9
- package/dist/utils/trial.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/assistant-ask-prompts.tsx +84 -39
- package/src/components/chat/entity-cards/dispatch.tsx +47 -58
- package/src/components/chat/hooks/index.ts +3 -2
- package/src/components/chat/hooks/use-ask-prompts.ts +140 -56
- package/src/components/faq/faq-ask-card.tsx +22 -67
- package/src/components/features/auth/auth-benefits-panel.tsx +15 -8
- package/src/components/features/auth/auth-shell.tsx +4 -2
- package/src/utils/index.ts +1 -1
- package/src/utils/source-grouping.ts +24 -14
- package/src/utils/source-icons.ts +16 -16
- package/src/utils/trial.ts +16 -10
|
@@ -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 _chunk33QHEG7Kcjs = require('./chunk-33QHEG7K.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
|
|
@@ -14,12 +14,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
|
|
22
|
-
|
|
17
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
23
18
|
|
|
24
19
|
|
|
25
20
|
var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
@@ -70,7 +65,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
70
65
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
71
66
|
"div",
|
|
72
67
|
{
|
|
73
|
-
id:
|
|
68
|
+
id: _chunkCELBOIKCcjs.faqItemAnchor.call(void 0, item.id),
|
|
74
69
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
75
70
|
children: [
|
|
76
71
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -121,49 +116,27 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
121
116
|
// src/components/faq/faq-ask-card.tsx
|
|
122
117
|
|
|
123
118
|
|
|
124
|
-
var DEFAULT_ASK_CARD = {
|
|
125
|
-
title: "Still deciding?",
|
|
126
|
-
description: "{assistant} answers from our docs and customer stories."
|
|
127
|
-
};
|
|
128
119
|
var PICK_ROOT_MARGIN = "600px";
|
|
129
|
-
var fillAssistant = (text, name) => text.split("{assistant}").join(name);
|
|
130
120
|
function faqAskCardShown(assistant) {
|
|
131
|
-
return
|
|
121
|
+
return _chunkCELBOIKCcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
132
122
|
}
|
|
133
123
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
134
|
-
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
135
124
|
const { ref, inView } = _chunkK2JUJ37Dcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
136
125
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
137
126
|
if (inView && !reached) setReached(true);
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkRU6BTELIcjs.ASK_PROMPTS_DEFAULT_COUNT));
|
|
141
|
-
const { prompts, isLoading, supported } = _chunkRU6BTELIcjs.useAskPrompts.call(void 0, {
|
|
142
|
-
topic,
|
|
143
|
-
count: slots,
|
|
144
|
-
exclude: _nullishCoalesce(excluded, () => ( void 0)),
|
|
145
|
-
enabled: reached && excluded !== null
|
|
146
|
-
});
|
|
147
|
-
const open = _chunkRU6BTELIcjs.useAssistantOpen.call(void 0, topic, onOpen);
|
|
148
|
-
const scoped = _react.useMemo.call(void 0, () => assistant ? { ...assistant, open } : null, [assistant, open]);
|
|
149
|
-
if (!faqAskCardShown(assistant) || !assistant.name) return null;
|
|
150
|
-
const name = assistant.name;
|
|
151
|
-
const cardDescription = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access', _4 => _4.askCard, 'optionalAccess', _5 => _5.description]))), () => ( DEFAULT_ASK_CARD.description));
|
|
152
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEWPR7662cjs.AssistantRuntimeContext.Provider, { value: scoped, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
-
_chunkRU6BTELIcjs.AskCard,
|
|
127
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
128
|
+
_chunkCELBOIKCcjs.AssistantAskPrompts,
|
|
154
129
|
{
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
onOpen: open,
|
|
164
|
-
onAsk: (prompt) => _optionalChain([assistant, 'access', _8 => _8.onAsk, 'optionalCall', _9 => _9({ promptId: prompt.id, topic })])
|
|
130
|
+
variant: "card",
|
|
131
|
+
topic,
|
|
132
|
+
count,
|
|
133
|
+
exclude,
|
|
134
|
+
enabled: reached,
|
|
135
|
+
title,
|
|
136
|
+
description,
|
|
137
|
+
onOpen
|
|
165
138
|
}
|
|
166
|
-
) })
|
|
139
|
+
) });
|
|
167
140
|
}
|
|
168
141
|
|
|
169
142
|
// src/components/faq/json-ld.ts
|
|
@@ -203,7 +176,7 @@ function groupFaqsBySection(faqs) {
|
|
|
203
176
|
let uncategorized = null;
|
|
204
177
|
for (const faq of faqs) {
|
|
205
178
|
const item = { id: faq.id, question: faq.question, answer: faq.answer };
|
|
206
|
-
const name = _optionalChain([faq, 'access',
|
|
179
|
+
const name = _optionalChain([faq, 'access', _2 => _2.section, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]);
|
|
207
180
|
if (!name) {
|
|
208
181
|
if (!uncategorized) uncategorized = { section: null, slug: null, items: [] };
|
|
209
182
|
uncategorized.items.push(item);
|
|
@@ -211,7 +184,7 @@ function groupFaqsBySection(faqs) {
|
|
|
211
184
|
}
|
|
212
185
|
let group = byName.get(name);
|
|
213
186
|
if (!group) {
|
|
214
|
-
group = { section: name, slug:
|
|
187
|
+
group = { section: name, slug: _chunkCELBOIKCcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
215
188
|
byName.set(name, group);
|
|
216
189
|
}
|
|
217
190
|
group.items.push(item);
|
|
@@ -230,7 +203,7 @@ function GroupedFaqList({
|
|
|
230
203
|
}) {
|
|
231
204
|
const CategoryHeading = categoryHeadingAs;
|
|
232
205
|
const navGroups = _react.useMemo.call(void 0, () => groups.filter((g) => g.slug), [groups]);
|
|
233
|
-
const [activeSlug, setActiveSlug] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([navGroups, 'access',
|
|
206
|
+
const [activeSlug, setActiveSlug] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([navGroups, 'access', _5 => _5[0], 'optionalAccess', _6 => _6.slug]), () => ( null)));
|
|
234
207
|
const slugKey = navGroups.map((g) => g.slug).join("|");
|
|
235
208
|
const navGroupsRef = _react.useRef.call(void 0, navGroups);
|
|
236
209
|
_react.useEffect.call(void 0, () => {
|
|
@@ -266,13 +239,13 @@ function GroupedFaqList({
|
|
|
266
239
|
}, [slugKey]);
|
|
267
240
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
268
241
|
_react.useEffect.call(void 0, () => {
|
|
269
|
-
const refresh = () => setHashTarget(
|
|
242
|
+
const refresh = () => setHashTarget(_chunkCELBOIKCcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
270
243
|
refresh();
|
|
271
244
|
window.addEventListener("hashchange", refresh);
|
|
272
245
|
return () => window.removeEventListener("hashchange", refresh);
|
|
273
246
|
}, []);
|
|
274
247
|
const defaultOpenByGroupKey = _react.useMemo.call(void 0, () => {
|
|
275
|
-
if (_optionalChain([hashTarget, 'optionalAccess',
|
|
248
|
+
if (_optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) !== "item") return null;
|
|
276
249
|
const targetId = hashTarget.rawId;
|
|
277
250
|
const result = /* @__PURE__ */ new Map();
|
|
278
251
|
for (const group of groups) {
|
|
@@ -281,13 +254,13 @@ function GroupedFaqList({
|
|
|
281
254
|
}
|
|
282
255
|
return result.size > 0 ? result : null;
|
|
283
256
|
}, [groups, hashTarget]);
|
|
284
|
-
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess',
|
|
285
|
-
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess',
|
|
257
|
+
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
258
|
+
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
286
259
|
_chunk4LY6R4TNcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX });
|
|
287
260
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
288
261
|
if (pillSyncedHash !== hashTarget) {
|
|
289
262
|
setPillSyncedHash(hashTarget);
|
|
290
|
-
if (_optionalChain([hashTarget, 'optionalAccess',
|
|
263
|
+
if (_optionalChain([hashTarget, 'optionalAccess', _11 => _11.kind]) === "section") setActiveSlug(hashTarget.slug);
|
|
291
264
|
}
|
|
292
265
|
const handleJump = _react.useCallback.call(void 0, (e, slug) => {
|
|
293
266
|
e.preventDefault();
|
|
@@ -321,7 +294,7 @@ function GroupedFaqList({
|
|
|
321
294
|
FaqAccordion,
|
|
322
295
|
{
|
|
323
296
|
items: group.items,
|
|
324
|
-
defaultOpenIds: _optionalChain([defaultOpenByGroupKey, 'optionalAccess',
|
|
297
|
+
defaultOpenIds: _optionalChain([defaultOpenByGroupKey, 'optionalAccess', _12 => _12.get, 'call', _13 => _13(key)])
|
|
325
298
|
},
|
|
326
299
|
`${key}:${accordionKeySuffix}`
|
|
327
300
|
)
|
|
@@ -365,7 +338,7 @@ function FaqSection({
|
|
|
365
338
|
ask
|
|
366
339
|
}) {
|
|
367
340
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
368
|
-
const askTopic = ask === false ? void 0 : _optionalChain([ask, 'optionalAccess',
|
|
341
|
+
const askTopic = ask === false ? void 0 : _optionalChain([ask, 'optionalAccess', _14 => _14.topic]) || entityType;
|
|
369
342
|
const aside = _nullishCoalesce(asideProp, () => ( (ask !== false && askTopic && faqAskCardShown(assistant) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqAskCard, { ...ask, topic: askTopic }) : void 0)));
|
|
370
343
|
const url = buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl);
|
|
371
344
|
const initialData = _react.useMemo.call(void 0,
|
|
@@ -373,7 +346,7 @@ function FaqSection({
|
|
|
373
346
|
[initialFaqs]
|
|
374
347
|
);
|
|
375
348
|
const { data, isLoading, error } = _chunkHEQ4GPYEcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
376
|
-
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
349
|
+
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess', _15 => _15.faqs]), () => ( [])), [_optionalChain([data, 'optionalAccess', _16 => _16.faqs])]);
|
|
377
350
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
378
351
|
const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkHEQ4GPYEcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
379
352
|
if (error) return null;
|
|
@@ -423,8 +396,8 @@ function FaqDocumentPage({
|
|
|
423
396
|
}) {
|
|
424
397
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
425
398
|
const backCfg = backButton === false ? void 0 : {
|
|
426
|
-
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
427
|
-
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
399
|
+
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.label]), () => ( "Back to home")),
|
|
400
|
+
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _18 => _18.href]), () => ( "/")))
|
|
428
401
|
};
|
|
429
402
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
430
403
|
FaqSection,
|
|
@@ -440,7 +413,7 @@ function FaqDocumentPage({
|
|
|
440
413
|
ask
|
|
441
414
|
}
|
|
442
415
|
) });
|
|
443
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
416
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
444
417
|
}
|
|
445
418
|
|
|
446
419
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
@@ -42,7 +42,7 @@ function isSummaryData(value) {
|
|
|
42
42
|
}
|
|
43
43
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
44
44
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
45
|
-
const identity =
|
|
45
|
+
const identity = _chunkCELBOIKCcjs.useChatIdentity.call(void 0, enabled);
|
|
46
46
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
47
47
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
48
48
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -158,7 +158,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
158
158
|
_react2.default.useEffect(() => {
|
|
159
159
|
if (!streamEnabled) return void 0;
|
|
160
160
|
if (typeof window === "undefined") return void 0;
|
|
161
|
-
subscriptionRef.current =
|
|
161
|
+
subscriptionRef.current = _chunkCELBOIKCcjs.createSseSubscription.call(void 0, {
|
|
162
162
|
url: streamUrl,
|
|
163
163
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
164
164
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SearchInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-URYLQ4MC.js";
|
|
5
5
|
import {
|
|
6
6
|
NEW_TAB_FEATURES,
|
|
7
7
|
getSourceLabel,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveExternalNavigation,
|
|
10
10
|
resolveSourceIcon,
|
|
11
11
|
stripSameOriginToPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UF3NFAQK.js";
|
|
13
13
|
import {
|
|
14
14
|
useDebounce
|
|
15
15
|
} from "./chunk-4I3K6LEH.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk33QHEG7Kcjs = require('./chunk-33QHEG7K.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -46,7 +46,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
46
46
|
] });
|
|
47
47
|
}
|
|
48
48
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49
|
-
|
|
49
|
+
_chunk33QHEG7Kcjs.EmbedViewerFrame,
|
|
50
50
|
{
|
|
51
51
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
52
52
|
title: displayName,
|
|
@@ -81,7 +81,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
83
83
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
84
|
-
|
|
84
|
+
_chunk33QHEG7Kcjs.EmbedViewerFrame,
|
|
85
85
|
{
|
|
86
86
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
87
87
|
title: displayName,
|
|
@@ -5,7 +5,7 @@ var _chunkDFM572VHcjs = require('./chunk-DFM572VH.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYREYU6DYcjs = require('./chunk-YREYU6DY.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkZSOFLPQNcjs = require('./chunk-ZSOFLPQN.cjs');
|
|
@@ -23,7 +23,7 @@ var _chunkKLCOSY7Bcjs = require('./chunk-KLCOSY7B.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk33QHEG7Kcjs = require('./chunk-33QHEG7K.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
|
|
@@ -39,7 +39,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkCELBOIKCcjs = require('./chunk-CELBOIKC.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
|
|
@@ -92,8 +92,8 @@ var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
|
92
92
|
// src/components/shared/product-release/product-releases-view.tsx
|
|
93
93
|
var _jsxruntime = require('react/jsx-runtime');
|
|
94
94
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
95
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
96
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
95
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
96
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
97
97
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
98
98
|
function ReleaseRow({
|
|
99
99
|
release,
|
|
@@ -102,7 +102,7 @@ function ReleaseRow({
|
|
|
102
102
|
}) {
|
|
103
103
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
104
104
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
105
|
-
const cta =
|
|
105
|
+
const cta = _chunkCELBOIKCcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
106
106
|
type: "product_release",
|
|
107
107
|
slug: release.slug,
|
|
108
108
|
basePath,
|
|
@@ -110,9 +110,9 @@ function ReleaseRow({
|
|
|
110
110
|
});
|
|
111
111
|
const { target, rel } = _chunkHEQ4GPYEcjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
112
112
|
const onClick = (e) => {
|
|
113
|
-
if (e.defaultPrevented ||
|
|
113
|
+
if (e.defaultPrevented || _chunkCELBOIKCcjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
114
114
|
e.preventDefault();
|
|
115
|
-
|
|
115
|
+
_chunkCELBOIKCcjs.executeNavigationImperative.call(void 0, {
|
|
116
116
|
runtime,
|
|
117
117
|
href: cta.href,
|
|
118
118
|
targetPlatform: cta.targetPlatform,
|
|
@@ -174,10 +174,10 @@ function ProductReleasesView({
|
|
|
174
174
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
175
175
|
};
|
|
176
176
|
if (error) {
|
|
177
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
177
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
178
178
|
}
|
|
179
179
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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,
|
|
180
|
-
|
|
180
|
+
_chunkYREYU6DYcjs.ListEmptyState,
|
|
181
181
|
{
|
|
182
182
|
isFiltered: hasActiveFilters,
|
|
183
183
|
filtered: {
|
|
@@ -272,7 +272,7 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
272
272
|
var _lucidereact = require('lucide-react');
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
var DefaultMarkdownRenderer =
|
|
275
|
+
var DefaultMarkdownRenderer = _chunk33QHEG7Kcjs.RichMarkdownRenderer;
|
|
276
276
|
var DEFAULT_ENDPOINT2 = "/api/releases";
|
|
277
277
|
function ReleaseDetailPage({
|
|
278
278
|
authorHref,
|
|
@@ -290,8 +290,8 @@ function ReleaseDetailPage({
|
|
|
290
290
|
shell = true
|
|
291
291
|
}) {
|
|
292
292
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
293
|
-
const captions =
|
|
294
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
const captions = _chunkCELBOIKCcjs.useCaptions.call(void 0, );
|
|
294
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
295
295
|
const seed = initialData == null ? void 0 : initialData;
|
|
296
296
|
const {
|
|
297
297
|
data: release,
|
|
@@ -398,7 +398,7 @@ function ReleaseDetailPage({
|
|
|
398
398
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
399
399
|
children: [
|
|
400
400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 content-md:space-y-8", children: [
|
|
401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
402
402
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4", children: [
|
|
403
403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
404
404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -469,7 +469,7 @@ function ReleaseDetailPage({
|
|
|
469
469
|
] })
|
|
470
470
|
] }) }) }),
|
|
471
471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
472
|
-
|
|
472
|
+
_chunk33QHEG7Kcjs.ReleaseChangelogSection,
|
|
473
473
|
{
|
|
474
474
|
title: "Breaking Changes",
|
|
475
475
|
entries: breakingChanges || [],
|
|
@@ -480,7 +480,7 @@ function ReleaseDetailPage({
|
|
|
480
480
|
}
|
|
481
481
|
),
|
|
482
482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
483
|
-
|
|
483
|
+
_chunk33QHEG7Kcjs.ReleaseChangelogSection,
|
|
484
484
|
{
|
|
485
485
|
title: "Features Added",
|
|
486
486
|
entries: featuresAdded || [],
|
|
@@ -490,7 +490,7 @@ function ReleaseDetailPage({
|
|
|
490
490
|
}
|
|
491
491
|
),
|
|
492
492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
493
|
-
|
|
493
|
+
_chunk33QHEG7Kcjs.ReleaseChangelogSection,
|
|
494
494
|
{
|
|
495
495
|
title: "Bugs Fixed",
|
|
496
496
|
entries: bugFixed || [],
|
|
@@ -500,7 +500,7 @@ function ReleaseDetailPage({
|
|
|
500
500
|
}
|
|
501
501
|
),
|
|
502
502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
503
|
-
|
|
503
|
+
_chunk33QHEG7Kcjs.ReleaseChangelogSection,
|
|
504
504
|
{
|
|
505
505
|
title: "Improvements",
|
|
506
506
|
entries: improvements || [],
|
|
@@ -526,7 +526,7 @@ function ReleaseDetailPage({
|
|
|
526
526
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "tracking-[-0.28px] text-ods-text-secondary text-h5", children: "Related Enhancements and Bug-fixes" }),
|
|
527
527
|
(() => {
|
|
528
528
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
529
|
-
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
+
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.FadePreview, { hiddenCount: deliveryCount - 1, collapsedHeight: 300, resetKey: deliveryCount, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: false }) }) });
|
|
530
530
|
})()
|
|
531
531
|
] }),
|
|
532
532
|
(_optionalChain([githubReleases, 'optionalAccess', _10 => _10.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _11 => _11.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
@@ -628,7 +628,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
628
628
|
const { getSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
629
629
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
630
630
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
631
|
-
const hydrated =
|
|
631
|
+
const hydrated = _chunkCELBOIKCcjs.useIsHydrated.call(void 0, );
|
|
632
632
|
if (hydrated && loadedKey !== storageKey) {
|
|
633
633
|
setLoadedKey(storageKey);
|
|
634
634
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -780,7 +780,7 @@ function RoadmapGridSingle({
|
|
|
780
780
|
_chunkHEQ4GPYEcjs.RoadmapCard,
|
|
781
781
|
{
|
|
782
782
|
item,
|
|
783
|
-
id:
|
|
783
|
+
id: _chunkCELBOIKCcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
784
784
|
userVote: getVote(item.id),
|
|
785
785
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
786
786
|
isVoting: votingTasks.has(item.id)
|
|
@@ -896,7 +896,7 @@ function RoadmapGrid({
|
|
|
896
896
|
);
|
|
897
897
|
}
|
|
898
898
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
899
|
-
|
|
899
|
+
_chunk33QHEG7Kcjs.Accordion,
|
|
900
900
|
{
|
|
901
901
|
type: "multiple",
|
|
902
902
|
value: expandedQuarters,
|
|
@@ -906,13 +906,13 @@ function RoadmapGrid({
|
|
|
906
906
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _20 => _20[quarter], 'optionalAccess', _21 => _21.length]) || 0;
|
|
907
907
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
908
908
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
909
|
-
|
|
909
|
+
_chunk33QHEG7Kcjs.AccordionItem,
|
|
910
910
|
{
|
|
911
911
|
value: quarter,
|
|
912
912
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
913
913
|
className: "border-0",
|
|
914
914
|
children: [
|
|
915
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
915
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.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: "flex items-center gap-3", children: [
|
|
916
916
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
917
917
|
"h3",
|
|
918
918
|
{
|
|
@@ -942,7 +942,7 @@ function RoadmapGrid({
|
|
|
942
942
|
}
|
|
943
943
|
)
|
|
944
944
|
] }) }),
|
|
945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
945
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.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,
|
|
946
946
|
RoadmapGridSingle,
|
|
947
947
|
{
|
|
948
948
|
items: itemsByQuarter[quarter],
|
|
@@ -994,8 +994,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
994
994
|
|
|
995
995
|
|
|
996
996
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
997
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
998
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
997
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
998
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
999
999
|
function RoadmapView({
|
|
1000
1000
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1001
1001
|
initialItems,
|
|
@@ -1018,7 +1018,7 @@ function RoadmapView({
|
|
|
1018
1018
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.items]), () => ( []));
|
|
1019
1019
|
_chunk4LY6R4TNcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX });
|
|
1020
1020
|
if (error) {
|
|
1021
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1021
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1022
1022
|
}
|
|
1023
1023
|
if (isLoading && !data) {
|
|
1024
1024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1071,7 +1071,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1071
1071
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1072
1072
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1073
1073
|
// outer wrapper here ONLY exists for the row separators.
|
|
1074
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYREYU6DYcjs.DeliveryRow, { item, id: _chunkCELBOIKCcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1075
1075
|
)) }) });
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
@@ -1080,8 +1080,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1080
1080
|
|
|
1081
1081
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1082
1082
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1083
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1084
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1083
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1084
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkCELBOIKCcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1085
1085
|
function DeliveryLists({
|
|
1086
1086
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1087
1087
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1148,11 +1148,11 @@ function DeliveryLists({
|
|
|
1148
1148
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1149
1149
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1150
1150
|
if (error) {
|
|
1151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1151
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1152
1152
|
}
|
|
1153
1153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1154
1154
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1155
|
-
|
|
1155
|
+
_chunkYREYU6DYcjs.ListEmptyState,
|
|
1156
1156
|
{
|
|
1157
1157
|
isFiltered: hasActiveFilters,
|
|
1158
1158
|
filtered: {
|
|
@@ -1306,7 +1306,7 @@ function LegalDocumentPage({
|
|
|
1306
1306
|
initialData = null,
|
|
1307
1307
|
initialLastUpdatedLabel = null,
|
|
1308
1308
|
apiEndpoint,
|
|
1309
|
-
MarkdownRenderer =
|
|
1309
|
+
MarkdownRenderer = _chunk33QHEG7Kcjs.RichMarkdownRenderer,
|
|
1310
1310
|
backButton,
|
|
1311
1311
|
shell = true
|
|
1312
1312
|
}) {
|
|
@@ -1359,7 +1359,7 @@ function LegalDocumentPage({
|
|
|
1359
1359
|
] })
|
|
1360
1360
|
] }) }) }) }) })
|
|
1361
1361
|
] });
|
|
1362
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1362
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk33QHEG7Kcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
1365
|
|