@flamingo-stack/openframe-frontend-core 0.0.770 → 0.0.772
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/{chunk-C66DWLCR.cjs → chunk-2MAENZL3.cjs} +37 -37
- package/dist/{chunk-2MND64QJ.cjs → chunk-5HBGBLJT.cjs} +50 -63
- package/dist/{chunk-4EJU462O.cjs → chunk-5V7BIUGA.cjs} +2 -2
- package/dist/{chunk-HK6UQVOI.cjs → chunk-7FYOVKQD.cjs} +12 -12
- package/dist/{chunk-MYA6NR2C.cjs → chunk-CTRJNTYU.cjs} +2 -2
- package/dist/{chunk-S5EUREOB.cjs → chunk-E25TJPWV.cjs} +3 -3
- package/dist/{chunk-HQF62LAU.cjs → chunk-FPCGKH5K.cjs} +28 -28
- package/dist/{chunk-VATCQOVC.cjs → chunk-FT5NPAZY.cjs} +17 -17
- package/dist/{chunk-I2TSCJT2.cjs → chunk-HFNWBNLE.cjs} +4 -4
- package/dist/{chunk-MFRIFVDV.cjs → chunk-IHCHU355.cjs} +41 -41
- package/dist/{chunk-NZELWPKO.cjs → chunk-ILZEXCJH.cjs} +98 -98
- package/dist/{chunk-DCBZMWLY.cjs → chunk-J5ZNEAGY.cjs} +24 -24
- package/dist/{chunk-BLTNKLAX.cjs → chunk-JJNOAYD4.cjs} +4 -4
- package/dist/{chunk-QS4G7CHU.cjs → chunk-KSCEAIBS.cjs} +2 -2
- package/dist/{chunk-Q575DR36.cjs → chunk-QOEOY7BJ.cjs} +33 -33
- package/dist/{chunk-SL7KFZWJ.cjs → chunk-QPK2433W.cjs} +24 -24
- package/dist/{chunk-VL44GB2I.cjs → chunk-REFL3YNE.cjs} +13 -13
- package/dist/{chunk-37XVY2RE.cjs → chunk-S3NEBAKD.cjs} +6 -6
- package/dist/{chunk-TBKXXMBU.cjs → chunk-UR3I3J5K.cjs} +90 -86
- package/dist/{chunk-MZLWB5AH.cjs → chunk-V3W56L2D.cjs} +18 -9
- package/dist/{chunk-4BRO3RZ6.cjs → chunk-VZAOLKKF.cjs} +72 -80
- package/dist/{chunk-QMUKTHWM.cjs → chunk-W5LX7DFB.cjs} +3 -3
- package/dist/{chunk-ZVNL5OK6.cjs → chunk-X5Z4HRH7.cjs} +2 -2
- package/dist/{chunk-WUYL4BMD.cjs → chunk-YI3CDGKM.cjs} +70 -70
- package/dist/{chunk-BZLHU4EK.cjs → chunk-ZVKJKWAB.cjs} +713 -695
- package/dist/{chunk-QSLKTDZ4.cjs → chunk-ZYGC2A7G.cjs} +4 -4
- package/dist/{cloud-tenants-IAZQL2JF.cjs → cloud-tenants-CUNC5KBD.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +32 -30
- package/dist/components/case-studies/quote-cards-strip.d.ts +7 -2
- package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
- package/dist/components/case-studies/quote-cards-strip.js +7 -5
- package/dist/components/categories-cart.d.ts +9 -2
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +9 -4
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +5 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +2 -2
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/faq-section.d.ts +7 -4
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq-accordion.d.ts +2 -4
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +8 -2
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +7 -3
- package/dist/components/features/cards-strip.d.ts +2 -2
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/model-token-rates.js +2 -2
- package/dist/components/features/remote-session/remote-desktop-chat-panel.js +2 -2
- package/dist/components/help-center-pages/index.cjs +94 -103
- package/dist/components/help-center-pages/trust-center-page.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +7 -4
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.js +5 -14
- package/dist/components/index.cjs +66 -61
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/logs-list.js +3 -2
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/multi-level-navigation.d.ts +6 -7
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +5 -5
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +3 -3
- package/dist/components/product-demo/index.cjs +18 -18
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +4 -17
- package/dist/components/shared/dev-section/dev-card-row.d.ts +3 -3
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.js +2 -2
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +6 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +3 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +10 -3
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +6 -3
- package/dist/components/tickets/help-center-list.js +4 -4
- package/dist/components/tickets/hooks/use-tickets-list.d.ts +2 -0
- package/dist/components/tickets/hooks/use-tickets-list.d.ts.map +1 -1
- package/dist/components/tickets/hooks/use-tickets-list.js +3 -2
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +3 -9
- package/dist/components/ui/autocomplete.d.ts +5 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +3 -2
- package/dist/components/ui/data-table/data-table-body.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.js +5 -2
- package/dist/components/ui/data-table/utils.d.ts +21 -0
- package/dist/components/ui/data-table/utils.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.js +7 -0
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/search-input.d.ts +3 -1
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/search-input.js +3 -2
- package/dist/components/ui/searchable-select.d.ts +2 -0
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +10 -6
- package/dist/components/ui/select.d.ts +11 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +13 -5
- package/dist/components/ui/table/table-skeleton.d.ts +2 -2
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/table.js +2 -1
- package/dist/components/ui/table/types.d.ts +1 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/{devices-7FDK2CGV.cjs → devices-TO4VUO7F.cjs} +9 -9
- package/dist/{embeddable-chat-3FR2RCHM.cjs → embeddable-chat-CEAP424I.cjs} +73 -73
- package/dist/index.cjs +15 -14
- package/dist/{knowledge-ZLHYBG4L.cjs → knowledge-CYJP4XYY.cjs} +9 -9
- package/dist/{logs-G6AFN7A6.cjs → logs-NL3ZBQKC.cjs} +16 -16
- package/dist/{policies-SEOK4IQO.cjs → policies-WTUV4EIT.cjs} +12 -12
- package/dist/{remote-session-WVORQV7V.cjs → remote-session-TC3BZDBZ.cjs} +4 -4
- package/dist/{scripts-HH4YVUBO.cjs → scripts-EE6MLBQP.cjs} +15 -15
- package/dist/{software-update-4A3XJZQB.cjs → software-update-HX6PN4SB.cjs} +12 -12
- package/dist/types/category.d.ts +5 -0
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/logs.types.d.ts +2 -0
- package/dist/types/logs.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/case-studies/quote-cards-strip.tsx +16 -7
- package/src/components/categories-cart.tsx +16 -5
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +5 -1
- package/src/components/chat/entity-cards/program-card.tsx +6 -3
- package/src/components/faq/faq-section.tsx +7 -4
- package/src/components/faq-accordion.tsx +2 -4
- package/src/components/features/capability-explorer.tsx +16 -4
- package/src/components/features/cards-strip.tsx +3 -3
- package/src/components/features/model-token-rates.tsx +4 -4
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +4 -4
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +15 -22
- package/src/components/logs-list.tsx +6 -5
- package/src/components/navigation/multi-level-navigation.tsx +6 -7
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +6 -6
- package/src/components/related-content/related-content-section.tsx +6 -27
- package/src/components/shared/dev-section/dev-card-row.tsx +3 -3
- package/src/components/shared/product-release/release-detail-page.tsx +2 -2
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +8 -2
- package/src/components/shared/roadmap/roadmap-grid.tsx +14 -4
- package/src/components/tickets/help-center-list.tsx +4 -4
- package/src/components/tickets/hooks/use-tickets-list.ts +3 -2
- package/src/components/tickets/ticket-center.tsx +4 -13
- package/src/components/ui/autocomplete.tsx +12 -3
- package/src/components/ui/data-table/data-table-body.tsx +8 -2
- package/src/components/ui/data-table/data-table-infinite-footer.tsx +10 -3
- package/src/components/ui/data-table/utils.ts +18 -0
- package/src/components/ui/search-input.tsx +9 -3
- package/src/components/ui/searchable-select.tsx +18 -9
- package/src/components/ui/select.tsx +28 -7
- package/src/components/ui/table/table-skeleton.tsx +2 -2
- package/src/components/ui/table/table.tsx +4 -1
- package/src/components/ui/table/types.ts +2 -1
- package/src/types/category.ts +5 -0
- package/src/types/logs.types.ts +2 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -17,16 +17,16 @@ var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
|
17
17
|
var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkYI3CDGKMcjs = require('./chunk-YI3CDGKM.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkILZEXCJHcjs = require('./chunk-ILZEXCJH.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -119,7 +119,7 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
122
|
+
const attachments = _chunkILZEXCJHcjs.useChatAttachments.call(void 0, );
|
|
123
123
|
const builtInSubmission = _chunkXVFM6SJAcjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk5V7BIUGAcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk5V7BIUGAcjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkYI3CDGKMcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
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, _chunkZVKJKWABcjs.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: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkV3W56L2Dcjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkV3W56L2Dcjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkV3W56L2Dcjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkZVKJKWABcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkILZEXCJHcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkILZEXCJHcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.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 _chunkKSCEAIBScjs = require('./chunk-KSCEAIBS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -184,14 +184,14 @@ function UnifiedPagination({
|
|
|
184
184
|
}, 0);
|
|
185
185
|
};
|
|
186
186
|
if (loading) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKSCEAIBScjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
|
|
188
188
|
}
|
|
189
189
|
if (totalPages <= 1) {
|
|
190
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
190
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKSCEAIBScjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
191
191
|
} }) }) }) : null;
|
|
192
192
|
}
|
|
193
193
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
194
|
-
|
|
194
|
+
_chunkKSCEAIBScjs.Pagination,
|
|
195
195
|
{
|
|
196
196
|
currentPage,
|
|
197
197
|
totalPages,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -49,7 +49,7 @@ function PaginationControl({
|
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
const handleClick = (event) => {
|
|
52
|
-
if (
|
|
52
|
+
if (_chunk5V7BIUGAcjs.isModifierClick.call(void 0, event)) return;
|
|
53
53
|
event.preventDefault();
|
|
54
54
|
onPageChange(page);
|
|
55
55
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
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 _chunkX5Z4HRH7cjs = require('./chunk-X5Z4HRH7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7FYOVKQDcjs = require('./chunk-7FYOVKQD.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkYI3CDGKMcjs = require('./chunk-YI3CDGKM.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkILZEXCJHcjs = require('./chunk-ILZEXCJH.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkRNLRS4IDcjs = require('./chunk-RNLRS4ID.cjs');
|
|
@@ -33,13 +33,13 @@ var _chunkRNLRS4IDcjs = require('./chunk-RNLRS4ID.cjs');
|
|
|
33
33
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkFPCGKH5Kcjs = require('./chunk-FPCGKH5K.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunk3LW5TD54cjs = require('./chunk-3LW5TD54.cjs');
|
|
@@ -71,16 +71,16 @@ var CATALOG_SECTION_CLASS = "space-y-4";
|
|
|
71
71
|
var CATALOG_SECTION_HEADING_CLASS = "flex items-center gap-2 text-ods-text-primary text-h3";
|
|
72
72
|
var CATALOG_SECTION_COUNT_CLASS = "inline-flex items-center justify-center rounded-full bg-ods-text-secondary/20 px-2 py-0.5 text-ods-text-secondary text-h6";
|
|
73
73
|
var CATALOG_LIST_CLASS = "flex flex-col gap-4";
|
|
74
|
-
var
|
|
74
|
+
var ONBOARDING_CATALOG_SKELETON_CARDS = 3;
|
|
75
75
|
function OnboardingCatalogSectionsSkeleton() {
|
|
76
76
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CATALOG_SECTIONS_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: CATALOG_SECTION_CLASS, "data-loading-item": true, children: [
|
|
77
77
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h2", { className: CATALOG_SECTION_HEADING_CLASS, children: [
|
|
78
78
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
|
|
79
79
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
|
|
80
80
|
] }),
|
|
81
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: Array.from({ length:
|
|
81
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: Array.from({ length: ONBOARDING_CATALOG_SKELETON_CARDS }, (_, i) => (
|
|
82
82
|
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
|
|
83
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, i)
|
|
84
84
|
)) })
|
|
85
85
|
] }) });
|
|
86
86
|
}
|
|
@@ -105,10 +105,10 @@ function OnboardingGuidesCatalogView({
|
|
|
105
105
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
106
106
|
const activeSection = sectionValue || "all";
|
|
107
107
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
108
|
-
const guidesRes =
|
|
108
|
+
const guidesRes = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0,
|
|
109
109
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
110
110
|
);
|
|
111
|
-
const sectionsRes =
|
|
111
|
+
const sectionsRes = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
112
112
|
const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
|
|
113
113
|
const sections = _react.useMemo.call(void 0,
|
|
114
114
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -152,25 +152,25 @@ function OnboardingGuidesCatalogView({
|
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
154
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
155
|
-
const docSearch =
|
|
155
|
+
const docSearch = _chunk7FYOVKQDcjs.useDocSearch.call(void 0, {
|
|
156
156
|
source,
|
|
157
157
|
baseRoute: basePath,
|
|
158
158
|
onNavigate: (path) => router.push(path),
|
|
159
159
|
tableIds: ["onboarding-guides"]
|
|
160
160
|
});
|
|
161
161
|
const defaultRenderCard = (guide) => {
|
|
162
|
-
const cta =
|
|
162
|
+
const cta = _chunkYI3CDGKMcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
163
163
|
type: "onboarding_guide",
|
|
164
164
|
slug: guide.slug,
|
|
165
165
|
basePath,
|
|
166
166
|
platforms: guide.onboarding_guide_platforms
|
|
167
167
|
});
|
|
168
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
169
169
|
};
|
|
170
170
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
171
171
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
172
172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
|
|
173
|
+
_chunk7FYOVKQDcjs.DocSearchBar,
|
|
174
174
|
{
|
|
175
175
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
176
176
|
query: docSearch.query,
|
|
@@ -182,7 +182,7 @@ function OnboardingGuidesCatalogView({
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkZVKJKWABcjs.FilterPillRow,
|
|
186
186
|
{
|
|
187
187
|
label: "Section",
|
|
188
188
|
selectedValue: activeSection,
|
|
@@ -193,7 +193,7 @@ function OnboardingGuidesCatalogView({
|
|
|
193
193
|
)
|
|
194
194
|
] });
|
|
195
195
|
if (!loading && selfFetch && guidesRes.error) {
|
|
196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
197
197
|
}
|
|
198
198
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
199
199
|
preControls,
|
|
@@ -313,7 +313,7 @@ function OnboardingGuideDetailView({
|
|
|
313
313
|
slug,
|
|
314
314
|
guideEndpoint,
|
|
315
315
|
related = [],
|
|
316
|
-
MarkdownRenderer =
|
|
316
|
+
MarkdownRenderer = _chunkZVKJKWABcjs.RichMarkdownRenderer,
|
|
317
317
|
renderRelatedCard,
|
|
318
318
|
backHref,
|
|
319
319
|
backLabel = "Back to Getting Started",
|
|
@@ -323,9 +323,9 @@ function OnboardingGuideDetailView({
|
|
|
323
323
|
}) {
|
|
324
324
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
325
325
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
326
|
-
const captions =
|
|
326
|
+
const captions = _chunkILZEXCJHcjs.useCaptions.call(void 0, );
|
|
327
327
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
328
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
329
329
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
330
330
|
const scoped = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
331
331
|
const {
|
|
@@ -333,7 +333,7 @@ function OnboardingGuideDetailView({
|
|
|
333
333
|
isLoading,
|
|
334
334
|
error,
|
|
335
335
|
reload
|
|
336
|
-
} =
|
|
336
|
+
} = _chunkFPCGKH5Kcjs.useSelfFetch.call(void 0, scoped ? null : url, {
|
|
337
337
|
initialData
|
|
338
338
|
});
|
|
339
339
|
const { ref: videoWarmupRef } = _chunkRNLRS4IDcjs.useVideoWarmup.call(void 0, {
|
|
@@ -343,7 +343,7 @@ function OnboardingGuideDetailView({
|
|
|
343
343
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
344
344
|
const loading = scoped || !guide && isLoading;
|
|
345
345
|
if (!loading && (error || !guide)) {
|
|
346
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
347
347
|
}
|
|
348
348
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
349
349
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -351,19 +351,19 @@ function OnboardingGuideDetailView({
|
|
|
351
351
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
352
352
|
_chunk3LW5TD54cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
353
353
|
const defaultRenderRelatedCard = (g) => {
|
|
354
|
-
const cta =
|
|
354
|
+
const cta = _chunkYI3CDGKMcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
355
355
|
type: "onboarding_guide",
|
|
356
356
|
slug: g.slug,
|
|
357
357
|
basePath,
|
|
358
358
|
platforms: g.onboarding_guide_platforms
|
|
359
359
|
});
|
|
360
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
360
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
361
361
|
};
|
|
362
362
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
363
|
-
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
+
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
365
365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
366
|
-
|
|
366
|
+
_chunk5V7BIUGAcjs.EntityAuthorCard,
|
|
367
367
|
{
|
|
368
368
|
author: view.author,
|
|
369
369
|
authorHref,
|
|
@@ -379,7 +379,7 @@ function OnboardingGuideDetailView({
|
|
|
379
379
|
),
|
|
380
380
|
!loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
|
|
381
381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
382
|
-
|
|
382
|
+
_chunkILZEXCJHcjs.EntityVideoSection,
|
|
383
383
|
{
|
|
384
384
|
mainVideoUrl: view.main_video_url,
|
|
385
385
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -396,17 +396,17 @@ function OnboardingGuideDetailView({
|
|
|
396
396
|
) }),
|
|
397
397
|
(loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
|
|
398
398
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
-
|
|
399
|
+
_chunkILZEXCJHcjs.VideoBitesStrip,
|
|
400
400
|
{
|
|
401
401
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
402
402
|
filterPublished: true,
|
|
403
403
|
showTitle: false,
|
|
404
|
-
profile:
|
|
404
|
+
profile: _chunk5V7BIUGAcjs.toStripProfile.call(void 0, view.author),
|
|
405
405
|
href: `/onboarding-guides/${view.slug}`
|
|
406
406
|
}
|
|
407
407
|
) }),
|
|
408
408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
409
|
-
|
|
409
|
+
_chunkX5Z4HRH7cjs.ArticleAuthorByline,
|
|
410
410
|
{
|
|
411
411
|
author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
412
412
|
avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -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 _chunkJJNOAYD4cjs = require('./chunk-JJNOAYD4.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkREFL3YNEcjs = require('./chunk-REFL3YNE.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 _chunkZVKJKWABcjs = require('./chunk-ZVKJKWAB.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkYI3CDGKMcjs = require('./chunk-YI3CDGKM.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -32,7 +32,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunkVFUMM6JCcjs = require('./chunk-VFUMM6JC.cjs');
|
|
@@ -56,7 +56,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
56
56
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
57
57
|
if (isFiltered) {
|
|
58
58
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
-
|
|
59
|
+
_chunkJJNOAYD4cjs.EmptyState,
|
|
60
60
|
{
|
|
61
61
|
type: "search",
|
|
62
62
|
title: filtered.title,
|
|
@@ -69,7 +69,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
69
69
|
}
|
|
70
70
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
71
71
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
|
-
|
|
72
|
+
_chunkJJNOAYD4cjs.EmptyState,
|
|
73
73
|
{
|
|
74
74
|
type: "generic",
|
|
75
75
|
title: empty.title,
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -125,7 +125,7 @@ function usePageDataSync(sync, loading) {
|
|
|
125
125
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
126
126
|
|
|
127
127
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
128
|
-
const section =
|
|
128
|
+
const section = _chunkYI3CDGKMcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
129
129
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
130
130
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
131
131
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -163,11 +163,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
163
163
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
164
164
|
};
|
|
165
165
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { stated: section.mirrored, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
166
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
166
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
167
167
|
preControls,
|
|
168
168
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
169
169
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkZVKJKWABcjs.SearchInput,
|
|
171
171
|
{
|
|
172
172
|
showDropdown: false,
|
|
173
173
|
placeholder: search.placeholder,
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkZVKJKWABcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -202,7 +202,7 @@ function DevSectionPage({
|
|
|
202
202
|
shell = true
|
|
203
203
|
}) {
|
|
204
204
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
205
|
-
const section =
|
|
205
|
+
const section = _chunkYI3CDGKMcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
206
206
|
const backCfg = backButton === false ? void 0 : {
|
|
207
207
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
208
208
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -215,7 +215,7 @@ function DevSectionPage({
|
|
|
215
215
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
216
216
|
// frozen and renders title-only.)
|
|
217
217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
218
|
-
|
|
218
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
219
219
|
{
|
|
220
220
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
221
221
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -224,12 +224,12 @@ function DevSectionPage({
|
|
|
224
224
|
backButton: backCfg,
|
|
225
225
|
children: [
|
|
226
226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
227
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkREFL3YNEcjs.FaqSection, { ..._chunkREFL3YNEcjs.pageFaqProps.call(void 0, faq) })
|
|
228
228
|
]
|
|
229
229
|
}
|
|
230
230
|
)
|
|
231
231
|
);
|
|
232
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
232
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZVKJKWABcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -265,8 +265,8 @@ function DevCardRowContentSkeleton() {
|
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) })
|
|
266
266
|
] }),
|
|
267
267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_BADGES_CLASS, children: [
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "card" }),
|
|
269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "card" })
|
|
270
270
|
] })
|
|
271
271
|
] });
|
|
272
272
|
}
|
|
@@ -315,7 +315,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
315
315
|
const taskType = item.taskType;
|
|
316
316
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
317
317
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
318
|
-
const statusBadgeScheme =
|
|
318
|
+
const statusBadgeScheme = _chunk5V7BIUGAcjs.getStatusColorScheme.call(void 0, item.status);
|
|
319
319
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
320
320
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
321
321
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
@@ -327,7 +327,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
327
327
|
] }),
|
|
328
328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
329
329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
330
|
-
|
|
330
|
+
_chunk5V7BIUGAcjs.StatusBadge,
|
|
331
331
|
{
|
|
332
332
|
text: item.status.toUpperCase(),
|
|
333
333
|
colorScheme: statusBadgeScheme,
|
|
@@ -336,7 +336,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
336
336
|
}
|
|
337
337
|
),
|
|
338
338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
339
|
-
|
|
339
|
+
_chunk5V7BIUGAcjs.StatusBadge,
|
|
340
340
|
{
|
|
341
341
|
text: typeBadgeLabel,
|
|
342
342
|
variant: "card",
|
|
@@ -384,8 +384,8 @@ function DeliveryRowSkeleton({ caption, className }) {
|
|
|
384
384
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_DESCRIPTION_LINE_CLASS2, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h4", lines: 2, className: "w-full" }) })
|
|
385
385
|
] }),
|
|
386
386
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_META_CLASS, children: [
|
|
387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "card" }),
|
|
388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "card" })
|
|
389
389
|
] })
|
|
390
390
|
] }) });
|
|
391
391
|
}
|