@flamingo-stack/openframe-frontend-core 0.0.745 → 0.0.746
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-LJ46XYYP.cjs → chunk-2ZVNXD74.cjs} +24 -24
- package/dist/{chunk-75BF7YJR.cjs → chunk-3AUTORMB.cjs} +13 -13
- package/dist/{chunk-FNIFUCXU.cjs → chunk-3KVB5FQZ.cjs} +5 -5
- package/dist/{chunk-HMSCUL4R.cjs → chunk-3OAACQQG.cjs} +4 -4
- package/dist/{chunk-RIGSZEXS.cjs → chunk-5X3F2KL7.cjs} +90 -90
- package/dist/{chunk-M4FKV2U5.cjs → chunk-7AKFKPBV.cjs} +12 -12
- package/dist/{chunk-4N7KGOBS.cjs → chunk-B24U6KNJ.cjs} +3 -3
- package/dist/{chunk-7KHQHYXL.cjs → chunk-DJ4YDVBF.cjs} +18 -18
- package/dist/{chunk-NFINQ7IZ.cjs → chunk-FAN73OTP.cjs} +6 -6
- package/dist/{chunk-QES5NV4T.cjs → chunk-GPSHFEF2.cjs} +645 -635
- package/dist/{chunk-GOTEXQZN.cjs → chunk-GSFANY2L.cjs} +80 -80
- package/dist/{chunk-URVIPSAJ.cjs → chunk-HNLI4OU5.cjs} +14 -14
- package/dist/{chunk-6IQDQQ56.cjs → chunk-IRKUFXVV.cjs} +38 -38
- package/dist/{chunk-ABLUMGCI.cjs → chunk-JHQNUWFM.cjs} +83 -33
- package/dist/{chunk-4A6OF4HI.cjs → chunk-KVPSV4ZI.cjs} +44 -44
- package/dist/{chunk-UY6A6TEY.cjs → chunk-L2IQESTQ.cjs} +2 -2
- package/dist/{chunk-YIOWV7LS.cjs → chunk-NZMQIAQC.cjs} +2 -2
- package/dist/{chunk-YJRMCFX3.cjs → chunk-O4J4NIMB.cjs} +7 -7
- package/dist/{chunk-GAGNKWOC.cjs → chunk-OWABNVDV.cjs} +2 -2
- package/dist/{chunk-PM5ELQBL.cjs → chunk-PLBJ3XVC.cjs} +32 -32
- package/dist/{chunk-OWGLRE74.cjs → chunk-PSIKUDUV.cjs} +8 -8
- package/dist/{chunk-3LX5AGZO.cjs → chunk-SDDZHPVK.cjs} +24 -24
- package/dist/{chunk-GQ2TRIOV.cjs → chunk-SLODGX6D.cjs} +35 -35
- package/dist/{chunk-DJO7YMT3.cjs → chunk-TILK7SC4.cjs} +194 -194
- package/dist/{chunk-U2O5YQRP.cjs → chunk-U6XWGK53.cjs} +33 -33
- package/dist/{chunk-JGZEHBBD.cjs → chunk-VZGCSVH7.cjs} +10 -10
- package/dist/{chunk-GEEKJ7SH.cjs → chunk-X4Y74M5K.cjs} +74 -74
- package/dist/{chunk-HVR7DPAY.cjs → chunk-XQJOYPPN.cjs} +4 -4
- package/dist/{chunk-7PQOZLVP.cjs → chunk-YKF66VQY.cjs} +20 -20
- package/dist/{chunk-5TCIRWHL.cjs → chunk-YRULLK7N.cjs} +5 -5
- package/dist/{cloud-tenants-DECPWIYQ.cjs → cloud-tenants-OKUFSNPW.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +25 -25
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +116 -116
- package/dist/components/index.cjs +119 -125
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/filter-checkbox-item.d.ts +8 -2
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +14 -4
- package/dist/components/ui/index.cjs +13 -13
- package/dist/components/unified-filter-logic.js +1 -1
- package/dist/components/vendor-tag.d.ts +12 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +50 -47
- package/dist/{devices-HJKDRWQX.cjs → devices-URCDMYFU.cjs} +14 -14
- package/dist/{embeddable-chat-3SKFBO2P.cjs → embeddable-chat-B35GB5B6.cjs} +80 -80
- package/dist/index.cjs +20 -18
- package/dist/{knowledge-NH2CGY2C.cjs → knowledge-5MW2PREQ.cjs} +14 -14
- package/dist/{logs-KZYIDYQK.cjs → logs-LJJK5CK4.cjs} +21 -21
- package/dist/{policies-UAVTPIKM.cjs → policies-6TCEWQYG.cjs} +17 -17
- package/dist/{remote-session-N4PJB5FW.cjs → remote-session-IYT4LWJC.cjs} +7 -7
- package/dist/{scripts-FRPY43KU.cjs → scripts-ABB2P6PT.cjs} +20 -20
- package/dist/{software-update-AEJJNLX5.cjs → software-update-4427ZRMO.cjs} +17 -17
- package/dist/{tickets-board-O753S4ZB.cjs → tickets-board-4MT6ZB4F.cjs} +8 -8
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +2 -3
- package/dist/utils/index.cjs +74 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/vendor-classification.d.ts +43 -17
- package/dist/utils/vendor-classification.d.ts.map +1 -1
- package/dist/utils/vendor-classification.js +73 -22
- package/package.json +1 -1
- package/src/components/ui/filter-checkbox-item.tsx +21 -5
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/vendor-tag.tsx +73 -69
- package/src/utils/format.ts +2 -3
- package/src/utils/index.ts +7 -5
- package/src/utils/vendor-classification.ts +113 -34
- package/dist/utils/format-text-stub.d.ts +0 -5
- package/dist/utils/format-text-stub.d.ts.map +0 -1
- package/dist/utils/format-text-stub.js +0 -20
- package/src/utils/format-text-stub.ts +0 -17
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkGPSHFEF2cjs = require('./chunk-GPSHFEF2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkTILK7SC4cjs = require('./chunk-TILK7SC4.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
|
|
@@ -19,7 +19,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk2ZVNXD74cjs = require('./chunk-2ZVNXD74.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
@@ -40,7 +40,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
40
40
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
41
41
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
42
42
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
43
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
43
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkTILK7SC4cjs.resolveSourceIcon.call(void 0, {
|
|
44
44
|
sourceRepo,
|
|
45
45
|
documentType: docType
|
|
46
46
|
});
|
|
@@ -70,7 +70,7 @@ function DocSearchBar({
|
|
|
70
70
|
renderResult
|
|
71
71
|
}) {
|
|
72
72
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
|
|
73
|
+
_chunkGPSHFEF2cjs.SearchInput,
|
|
74
74
|
{
|
|
75
75
|
placeholder,
|
|
76
76
|
value: query,
|
|
@@ -120,7 +120,7 @@ function mapDocSearchResults(docs) {
|
|
|
120
120
|
results.push({
|
|
121
121
|
id: `group-${entry.repo}`,
|
|
122
122
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
123
|
-
title: `${
|
|
123
|
+
title: `${_chunkTILK7SC4cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkTILK7SC4cjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
124
124
|
path: rows[0].path,
|
|
125
125
|
type: "file",
|
|
126
126
|
metadata: {
|
|
@@ -183,7 +183,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
|
|
|
183
183
|
if (composed && !isAbsoluteHref(href)) {
|
|
184
184
|
return { kind: "navigate-same-tab", href };
|
|
185
185
|
}
|
|
186
|
-
const isNewTab =
|
|
186
|
+
const isNewTab = _chunk2ZVNXD74cjs.decideNewTab.call(void 0, {
|
|
187
187
|
href,
|
|
188
188
|
targetPlatform: composed ? composed.targetPlatform : targetPlatform,
|
|
189
189
|
surface: "useUnifiedNav",
|
|
@@ -312,31 +312,31 @@ function useDocSearch(config) {
|
|
|
312
312
|
case "navigate-same-tab": {
|
|
313
313
|
if (wantsNewTab) {
|
|
314
314
|
setKeepOpen(true);
|
|
315
|
-
window.open(action.href, "_blank",
|
|
315
|
+
window.open(action.href, "_blank", _chunk2ZVNXD74cjs.NEW_TAB_FEATURES);
|
|
316
316
|
return;
|
|
317
317
|
}
|
|
318
318
|
setKeepOpen(false);
|
|
319
319
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
320
320
|
if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
|
|
321
|
-
router.push(
|
|
321
|
+
router.push(_chunk2ZVNXD74cjs.stripSameOriginToPath.call(void 0, action.href));
|
|
322
322
|
return;
|
|
323
323
|
}
|
|
324
324
|
case "navigate-new-tab":
|
|
325
325
|
setKeepOpen(true);
|
|
326
326
|
if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
|
|
327
327
|
const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
|
|
328
|
-
|
|
328
|
+
_chunk2ZVNXD74cjs.resolveExternalNavigation.call(void 0, {
|
|
329
329
|
href: action.href,
|
|
330
330
|
targetPlatform,
|
|
331
331
|
runtime
|
|
332
332
|
}).open();
|
|
333
333
|
return;
|
|
334
334
|
}
|
|
335
|
-
window.open(action.href, "_blank",
|
|
335
|
+
window.open(action.href, "_blank", _chunk2ZVNXD74cjs.NEW_TAB_FEATURES);
|
|
336
336
|
return;
|
|
337
337
|
case "ask-ai":
|
|
338
338
|
setKeepOpen(false);
|
|
339
|
-
window.dispatchEvent(new CustomEvent(
|
|
339
|
+
window.dispatchEvent(new CustomEvent(_chunkTILK7SC4cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
340
340
|
return;
|
|
341
341
|
case "route":
|
|
342
342
|
setKeepOpen(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOWABNVDVcjs = require('./chunk-OWABNVDV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -179,11 +179,11 @@ function UnifiedPagination({
|
|
|
179
179
|
}, 0);
|
|
180
180
|
};
|
|
181
181
|
if (totalPages <= 1) {
|
|
182
|
-
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,
|
|
182
|
+
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, _chunkOWABNVDVcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
183
183
|
} }) }) }) : null;
|
|
184
184
|
}
|
|
185
185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
-
|
|
186
|
+
_chunkOWABNVDVcjs.Pagination,
|
|
187
187
|
{
|
|
188
188
|
currentPage,
|
|
189
189
|
totalPages,
|
|
@@ -6,7 +6,7 @@ var _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkGSFANY2Lcjs = require('./chunk-GSFANY2L.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -48,10 +48,10 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunk2ZVNXD74cjs = require('./chunk-2ZVNXD74.cjs');
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -162,31 +162,31 @@ CveLink.displayName = "CveLink";
|
|
|
162
162
|
// src/components/platform/ShellTypeBadge.tsx
|
|
163
163
|
|
|
164
164
|
var shellIconMap = {
|
|
165
|
-
[
|
|
165
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.POWERSHELL]: {
|
|
166
166
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
167
167
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
168
168
|
},
|
|
169
|
-
[
|
|
169
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.CMD]: {
|
|
170
170
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
171
171
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
172
172
|
},
|
|
173
|
-
[
|
|
173
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.BASH]: {
|
|
174
174
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
175
175
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
176
176
|
},
|
|
177
|
-
[
|
|
177
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.PYTHON]: {
|
|
178
178
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
179
179
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
180
180
|
},
|
|
181
|
-
[
|
|
181
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.NUSHELL]: {
|
|
182
182
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
183
183
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
184
184
|
},
|
|
185
|
-
[
|
|
185
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.DENO]: {
|
|
186
186
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
187
187
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
188
188
|
},
|
|
189
|
-
[
|
|
189
|
+
[_chunkGSFANY2Lcjs.ShellTypeValues.SHELL]: {
|
|
190
190
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
191
191
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
192
192
|
}
|
|
@@ -197,7 +197,7 @@ var defaultIconConfig = {
|
|
|
197
197
|
};
|
|
198
198
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
199
199
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
200
|
-
const label =
|
|
200
|
+
const label = _chunkGSFANY2Lcjs.getShellLabel.call(void 0, normalizedType);
|
|
201
201
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
202
202
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
203
203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -213,11 +213,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
213
213
|
if (!platforms || platforms.length === 0) {
|
|
214
214
|
return "All Platforms";
|
|
215
215
|
}
|
|
216
|
-
return platforms.map((platform) =>
|
|
216
|
+
return platforms.map((platform) => _chunkGSFANY2Lcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
217
217
|
}
|
|
218
218
|
function InfoCell({ label, value, avatar, className }) {
|
|
219
219
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
220
|
-
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials ||
|
|
220
|
+
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative size-8 shrink-0 overflow-hidden rounded-full border border-ods-border bg-ods-bg", children: avatar.photoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: avatar.photoUrl, alt: avatar.name, className: "object-cover", fill: true, sizes: "32px", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkJHQNUWFMcjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
221
221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
222
222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
223
223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -233,7 +233,7 @@ var ScriptInfoSection = ({
|
|
|
233
233
|
author,
|
|
234
234
|
className
|
|
235
235
|
}) => {
|
|
236
|
-
const shellLabel =
|
|
236
|
+
const shellLabel = _chunkGSFANY2Lcjs.getShellLabel.call(void 0, shellType);
|
|
237
237
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
238
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
239
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -281,7 +281,7 @@ function OnboardingStepCard({
|
|
|
281
281
|
onSkip();
|
|
282
282
|
};
|
|
283
283
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
284
|
-
|
|
284
|
+
_chunk2ZVNXD74cjs.InteractiveCard,
|
|
285
285
|
{
|
|
286
286
|
clickable: false,
|
|
287
287
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -307,7 +307,7 @@ function OnboardingStepCard({
|
|
|
307
307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
308
308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
309
309
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
310
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2ZVNXD74cjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
312
|
_chunk2QMBXGMQcjs.Button,
|
|
313
313
|
{
|
|
@@ -318,7 +318,7 @@ function OnboardingStepCard({
|
|
|
318
318
|
children: step.completedText
|
|
319
319
|
}
|
|
320
320
|
)
|
|
321
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2ZVNXD74cjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
322
322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
323
323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
324
324
|
] })
|
|
@@ -435,7 +435,7 @@ function OnboardingWalkthrough({
|
|
|
435
435
|
const isAllComplete = allStepsComplete(steps);
|
|
436
436
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
437
437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk2ZVNXD74cjs.SECTION_HEADING_CLASS, children: _chunk2ZVNXD74cjs.accentSentenceMarks.call(void 0, title) }),
|
|
439
439
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
440
440
|
] }),
|
|
441
441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunk3AUTORMBcjs = require('./chunk-3AUTORMB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGPSHFEF2cjs = require('./chunk-GPSHFEF2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkU6XWGK53cjs = require('./chunk-U6XWGK53.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -34,8 +34,8 @@ function FaqDocumentPage({
|
|
|
34
34
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
35
35
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
36
36
|
};
|
|
37
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
-
|
|
37
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6XWGK53cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
+
_chunk3AUTORMBcjs.FaqSection,
|
|
39
39
|
{
|
|
40
40
|
initialFaqs,
|
|
41
41
|
heading: null,
|
|
@@ -49,7 +49,7 @@ function FaqDocumentPage({
|
|
|
49
49
|
ask
|
|
50
50
|
}
|
|
51
51
|
) });
|
|
52
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
52
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGPSHFEF2cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|