@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.722
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-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-2NASBO7O.js → chunk-5D2K7TFT.js} +3 -3
- package/dist/{chunk-HFEYEPOG.cjs → chunk-5K6YKRP5.cjs} +29 -29
- package/dist/{chunk-7HYEQKN6.js → chunk-65C4WHG4.js} +6 -6
- package/dist/{chunk-DOPOHO6H.cjs → chunk-6HRQLM6T.cjs} +20 -20
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-GANIUMRU.js → chunk-7UZ2JZJY.js} +3 -3
- package/dist/{chunk-4HJRHEXD.cjs → chunk-ABSWD4PQ.cjs} +27 -27
- package/dist/{chunk-VYVPII4W.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-V6B2FBZK.js → chunk-BCU6UUNQ.js} +8 -8
- package/dist/{chunk-LO3KCLEF.js → chunk-BUDZWXRG.js} +4 -4
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-DYDDAA6O.cjs → chunk-DWSBTGKT.cjs} +816 -798
- package/dist/{chunk-PSMJYZMV.js → chunk-DX3W7DPC.js} +2 -2
- package/dist/{chunk-PXAKSPLZ.js → chunk-E7NIZXDT.js} +20 -8
- package/dist/{chunk-6W46LVK4.js → chunk-ETQVXIYW.js} +6 -6
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-Q5327DXK.js → chunk-F33RMJOL.js} +11 -11
- package/dist/{chunk-RZQGIWK3.cjs → chunk-FDWYBJYD.cjs} +8 -8
- package/dist/{chunk-QF464PPL.cjs → chunk-GAFK3WNT.cjs} +62 -62
- package/dist/{chunk-6BLN5WDS.cjs → chunk-GYSTZD6X.cjs} +40 -40
- package/dist/{chunk-TORERAXD.js → chunk-HA2ASGJM.js} +6 -6
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-HP4UUBJC.cjs} +16 -16
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-AZRI4XBP.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-VYZCKY5K.js → chunk-IF72N4PE.js} +7 -7
- package/dist/{chunk-RFUOIQSG.cjs → chunk-IITZ6JSC.cjs} +37 -37
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-7IOU6BJE.js → chunk-KBPGSPXQ.js} +2387 -2369
- package/dist/{chunk-ILNN6QRW.js → chunk-KS3YLYVL.js} +4 -4
- package/dist/{chunk-2C72EWQR.cjs → chunk-KWBH63GV.cjs} +26 -26
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-UWJMDFDO.cjs → chunk-MJ4SXOG2.cjs} +28 -28
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-NFABAOMD.cjs} +77 -79
- package/dist/{chunk-B5LNX4GZ.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-P7Y626YJ.cjs} +370 -358
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RVQV6J5K.cjs} +75 -75
- package/dist/{chunk-VBHGJFA3.js → chunk-SZ3CBFSH.js} +13 -13
- package/dist/{chunk-O3MKJU6A.js → chunk-SZF7ENIW.js} +4 -4
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-YK3X74SF.js → chunk-UYMTAFHG.js} +6 -8
- package/dist/{chunk-DHNJSQGX.cjs → chunk-VC7COEWF.cjs} +105 -105
- package/dist/{chunk-XW3Q623Q.js → chunk-VSYQJCNR.js} +2 -2
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-XSM46FHD.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-HTS46FFY.cjs → chunk-VYHCN5NU.cjs} +16 -16
- package/dist/{chunk-ZPHOQDAE.js → chunk-WY4SLTMZ.js} +3 -3
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-XJYAUIOL.cjs} +13 -13
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-XR7NVJXS.cjs} +13 -13
- package/dist/{chunk-EVMM3JE6.cjs → chunk-ZHC6MDGF.cjs} +43 -43
- package/dist/{chunk-K2BYVPGR.js → chunk-ZMHP4Y6M.js} +5 -5
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-4Z36KWSX.js} +14 -14
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-5NIC5VXK.cjs} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +29 -29
- package/dist/components/case-studies/index.js +15 -15
- package/dist/components/chat/index.cjs +10 -10
- package/dist/components/chat/index.js +9 -9
- package/dist/components/contact/index.cjs +16 -16
- package/dist/components/contact/index.js +15 -15
- package/dist/components/docs/index.cjs +19 -19
- package/dist/components/docs/index.js +18 -18
- package/dist/components/embeds/index.cjs +16 -16
- package/dist/components/embeds/index.js +15 -15
- package/dist/components/faq/index.cjs +16 -16
- package/dist/components/faq/index.js +15 -15
- package/dist/components/features/index.cjs +15 -15
- package/dist/components/features/index.js +14 -14
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +68 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +347 -117
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +260 -30
- package/dist/components/index.cjs +87 -85
- package/dist/components/index.js +30 -28
- package/dist/components/meeting-scheduler/index.cjs +67 -67
- package/dist/components/meeting-scheduler/index.js +16 -16
- package/dist/components/navigation/index.cjs +18 -18
- package/dist/components/navigation/index.js +17 -17
- package/dist/components/onboarding-guides/index.cjs +18 -18
- package/dist/components/onboarding-guides/index.js +17 -17
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +20 -20
- package/dist/components/tickets/index.js +19 -19
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +17 -15
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +16 -14
- package/dist/components/ui/mobile-app-qr.d.ts +21 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-U3Y4IIW4.js → devices-2TK3LAKM.js} +14 -14
- package/dist/{devices-7Q2EUM7B.cjs → devices-7IKT72DK.cjs} +16 -16
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +52 -20
- package/dist/index.js +50 -18
- package/dist/{knowledge-NST53EXE.js → knowledge-3GJ4MU3V.js} +14 -14
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-HYSEV35H.cjs} +16 -16
- package/dist/{logs-JVTRG232.js → logs-TATVM62H.js} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-ZX3NADQC.cjs} +24 -24
- package/dist/{policies-MXK2HB4W.cjs → policies-J4FSDKPI.cjs} +19 -19
- package/dist/{policies-DTXTRK56.js → policies-MRRKLF4Q.js} +14 -14
- package/dist/{remote-session-LAJZKQBN.js → remote-session-WCLR47RN.js} +6 -6
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-Z2YCUPHU.cjs} +8 -8
- package/dist/{software-update-P6BSM6HX.cjs → software-update-CXUBWYD2.cjs} +19 -19
- package/dist/{software-update-6RHMPM3W.js → software-update-KM46WUVQ.js} +14 -14
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-R5OQSEEC.cjs} +10 -10
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-U3RF3AO4.js} +5 -5
- package/dist/types/downloads.d.ts +83 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +15 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +13 -1
- package/dist/utils/mobile-app.cjs +37 -0
- package/dist/utils/mobile-app.d.ts +23 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +34 -0
- package/package.json +7 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +388 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +35 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +99 -0
- package/src/types/index.ts +1 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +3 -1
- package/src/utils/mobile-app.ts +34 -0
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
getReadableTextColor,
|
|
13
13
|
resolveTicketStatus,
|
|
14
14
|
useCollapsible
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5D2K7TFT.js";
|
|
16
16
|
import {
|
|
17
17
|
Tooltip,
|
|
18
18
|
TooltipContent,
|
|
19
19
|
TooltipProvider,
|
|
20
20
|
TooltipTrigger
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-REETLEL5.js";
|
|
22
22
|
import {
|
|
23
23
|
AgentMark
|
|
24
24
|
} from "./chunk-H3PKYE4N.js";
|
|
25
25
|
import {
|
|
26
26
|
SquareAvatar,
|
|
27
27
|
Tag
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KZQO5EJQ.js";
|
|
29
29
|
import {
|
|
30
30
|
useIsomorphicLayoutEffect,
|
|
31
31
|
useMediaQuery
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-OSIKGEBU.js";
|
|
53
53
|
import {
|
|
54
54
|
Button
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJ4IFQNQ.js";
|
|
56
56
|
import {
|
|
57
57
|
next_link_default
|
|
58
58
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -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 _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ var _chunk4SIZCHVZcjs = require('./chunk-4SIZCHVZ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunkWVOTC7HWcjs = require('./chunk-WVOTC7HW.cjs');
|
|
@@ -38,7 +38,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
@@ -70,7 +70,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
70
70
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
|
-
id:
|
|
73
|
+
id: _chunkP7Y626YJcjs.faqItemAnchor.call(void 0, item.id),
|
|
74
74
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
75
75
|
children: [
|
|
76
76
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -128,29 +128,29 @@ var DEFAULT_ASK_CARD = {
|
|
|
128
128
|
var PICK_ROOT_MARGIN = "600px";
|
|
129
129
|
var fillAssistant = (text, name) => text.split("{assistant}").join(name);
|
|
130
130
|
function faqAskCardShown(assistant) {
|
|
131
|
-
return
|
|
131
|
+
return _chunkP7Y626YJcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
132
132
|
}
|
|
133
133
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
134
134
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
135
|
-
const { ref, inView } =
|
|
135
|
+
const { ref, inView } = _chunkK2JUJ37Dcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
136
136
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
137
137
|
if (inView && !reached) setReached(true);
|
|
138
|
-
const shownElsewhere =
|
|
138
|
+
const shownElsewhere = _chunkP7Y626YJcjs.useShownAskPromptIds.call(void 0, );
|
|
139
139
|
const excluded = exclude === void 0 ? shownElsewhere : exclude;
|
|
140
|
-
const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => (
|
|
141
|
-
const { prompts, isLoading, supported } =
|
|
140
|
+
const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( _optionalChain([assistant, 'optionalAccess', _2 => _2.askCard, 'optionalAccess', _3 => _3.count]))), () => ( _chunkP7Y626YJcjs.ASK_PROMPTS_DEFAULT_COUNT));
|
|
141
|
+
const { prompts, isLoading, supported } = _chunkP7Y626YJcjs.useAskPrompts.call(void 0, {
|
|
142
142
|
topic,
|
|
143
143
|
count: slots,
|
|
144
144
|
exclude: _nullishCoalesce(excluded, () => ( void 0)),
|
|
145
145
|
enabled: reached && excluded !== null
|
|
146
146
|
});
|
|
147
|
-
const open =
|
|
147
|
+
const open = _chunkP7Y626YJcjs.useAssistantOpen.call(void 0, topic, onOpen);
|
|
148
148
|
const scoped = _react.useMemo.call(void 0, () => assistant ? { ...assistant, open } : null, [assistant, open]);
|
|
149
149
|
if (!faqAskCardShown(assistant) || !assistant.name) return null;
|
|
150
150
|
const name = assistant.name;
|
|
151
151
|
const cardDescription = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access', _4 => _4.askCard, 'optionalAccess', _5 => _5.description]))), () => ( DEFAULT_ASK_CARD.description));
|
|
152
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
|
-
|
|
153
|
+
_chunkP7Y626YJcjs.AskCard,
|
|
154
154
|
{
|
|
155
155
|
title: fillAssistant(_nullishCoalesce(_nullishCoalesce(title, () => ( _optionalChain([assistant, 'access', _6 => _6.askCard, 'optionalAccess', _7 => _7.title]))), () => ( DEFAULT_ASK_CARD.title)), name),
|
|
156
156
|
description: cardDescription ? fillAssistant(cardDescription, name) : void 0,
|
|
@@ -196,7 +196,7 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
|
|
|
196
196
|
|
|
197
197
|
var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
|
|
198
198
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "") {
|
|
199
|
-
return
|
|
199
|
+
return _chunkIITZ6JSCcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
|
|
200
200
|
}
|
|
201
201
|
function groupFaqsBySection(faqs) {
|
|
202
202
|
const byName = /* @__PURE__ */ new Map();
|
|
@@ -211,7 +211,7 @@ function groupFaqsBySection(faqs) {
|
|
|
211
211
|
}
|
|
212
212
|
let group = byName.get(name);
|
|
213
213
|
if (!group) {
|
|
214
|
-
group = { section: name, slug:
|
|
214
|
+
group = { section: name, slug: _chunkP7Y626YJcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
215
215
|
byName.set(name, group);
|
|
216
216
|
}
|
|
217
217
|
group.items.push(item);
|
|
@@ -256,7 +256,7 @@ function GroupedFaqList({
|
|
|
256
256
|
}
|
|
257
257
|
if (bestId) setActiveSlug(bestId);
|
|
258
258
|
},
|
|
259
|
-
{ rootMargin: `-${
|
|
259
|
+
{ rootMargin: `-${_chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
|
|
260
260
|
);
|
|
261
261
|
for (const group of navGroupsRef.current) {
|
|
262
262
|
const el = group.slug ? document.getElementById(group.slug) : null;
|
|
@@ -266,7 +266,7 @@ function GroupedFaqList({
|
|
|
266
266
|
}, [slugKey]);
|
|
267
267
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
268
268
|
_react.useEffect.call(void 0, () => {
|
|
269
|
-
const refresh = () => setHashTarget(
|
|
269
|
+
const refresh = () => setHashTarget(_chunkP7Y626YJcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
270
270
|
refresh();
|
|
271
271
|
window.addEventListener("hashchange", refresh);
|
|
272
272
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -283,7 +283,7 @@ function GroupedFaqList({
|
|
|
283
283
|
}, [groups, hashTarget]);
|
|
284
284
|
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _16 => _16.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
285
285
|
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _17 => _17.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _18 => _18.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
286
|
-
|
|
286
|
+
_chunk4LY6R4TNcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX });
|
|
287
287
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
288
288
|
if (pillSyncedHash !== hashTarget) {
|
|
289
289
|
setPillSyncedHash(hashTarget);
|
|
@@ -291,8 +291,8 @@ function GroupedFaqList({
|
|
|
291
291
|
}
|
|
292
292
|
const handleJump = _react.useCallback.call(void 0, (e, slug) => {
|
|
293
293
|
e.preventDefault();
|
|
294
|
-
|
|
295
|
-
headerOffset:
|
|
294
|
+
_chunkK2JUJ37Dcjs.navigateSamePageHash.call(void 0, "#" + slug, {
|
|
295
|
+
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX,
|
|
296
296
|
history: "replace"
|
|
297
297
|
});
|
|
298
298
|
}, []);
|
|
@@ -316,7 +316,7 @@ function GroupedFaqList({
|
|
|
316
316
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
317
317
|
const key = groupKey(group);
|
|
318
318
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
319
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
319
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
320
320
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
321
|
FaqAccordion,
|
|
322
322
|
{
|
|
@@ -372,10 +372,10 @@ function FaqSection({
|
|
|
372
372
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
373
373
|
[initialFaqs]
|
|
374
374
|
);
|
|
375
|
-
const { data, isLoading, error } =
|
|
375
|
+
const { data, isLoading, error } = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
376
376
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.faqs]), () => ( [])), [_optionalChain([data, 'optionalAccess', _24 => _24.faqs])]);
|
|
377
377
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
378
|
-
const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
378
|
+
const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
379
379
|
if (error) return null;
|
|
380
380
|
if (!isLoading && faqs.length === 0) return null;
|
|
381
381
|
if (isLoading && faqs.length === 0) {
|
|
@@ -426,7 +426,7 @@ function FaqDocumentPage({
|
|
|
426
426
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _25 => _25.label]), () => ( "Back to home")),
|
|
427
427
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.href]), () => ( "/")))
|
|
428
428
|
};
|
|
429
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
429
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
430
430
|
FaqSection,
|
|
431
431
|
{
|
|
432
432
|
initialFaqs,
|
|
@@ -440,7 +440,7 @@ function FaqDocumentPage({
|
|
|
440
440
|
ask
|
|
441
441
|
}
|
|
442
442
|
) });
|
|
443
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
|
|
@@ -768,6 +768,9 @@ function formatWebinarTimeMeta(at, opts) {
|
|
|
768
768
|
const time = formatProgramTimeRange(at, { startAt: opts.startAt, withZoneLabel: opts.withZoneLabel });
|
|
769
769
|
return [time, duration].filter(Boolean).join(" \xB7 ");
|
|
770
770
|
}
|
|
771
|
+
function formatUrlForDisplay(url, options = {}) {
|
|
772
|
+
return url.replace(options.keepWww ? /^https?:\/\//i : /^https?:\/\/(www\.)?/i, "").replace(/[?#].*$/, "").replace(/\/$/, "");
|
|
773
|
+
}
|
|
771
774
|
|
|
772
775
|
// src/components/ui/square-avatar.tsx
|
|
773
776
|
import { memo, forwardRef } from "react";
|
|
@@ -927,5 +930,6 @@ export {
|
|
|
927
930
|
formatBioText,
|
|
928
931
|
formatProgramTimeRange,
|
|
929
932
|
formatWebinarTimeMeta,
|
|
933
|
+
formatUrlForDisplay,
|
|
930
934
|
SquareAvatar
|
|
931
935
|
};
|
|
@@ -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 _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
@@ -89,7 +89,7 @@ function AvatarStack({
|
|
|
89
89
|
"aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
|
|
90
90
|
children: [
|
|
91
91
|
visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
92
|
-
|
|
92
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
93
93
|
{
|
|
94
94
|
variant: "round",
|
|
95
95
|
size,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
@@ -43,7 +43,7 @@ var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
|
43
43
|
var _chunkXXBLN4BPcjs = require('./chunk-XXBLN4BP.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -118,31 +118,31 @@ CveLink.displayName = "CveLink";
|
|
|
118
118
|
// src/components/platform/ShellTypeBadge.tsx
|
|
119
119
|
|
|
120
120
|
var shellIconMap = {
|
|
121
|
-
[
|
|
121
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.POWERSHELL]: {
|
|
122
122
|
icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
|
|
123
123
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
124
124
|
},
|
|
125
|
-
[
|
|
125
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.CMD]: {
|
|
126
126
|
icon: _chunkLLSUVPQCcjs.CmdIcon,
|
|
127
127
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
128
128
|
},
|
|
129
|
-
[
|
|
129
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.BASH]: {
|
|
130
130
|
icon: _chunkLLSUVPQCcjs.BashIcon,
|
|
131
131
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
132
132
|
},
|
|
133
|
-
[
|
|
133
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.PYTHON]: {
|
|
134
134
|
icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
|
|
135
135
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
136
136
|
},
|
|
137
|
-
[
|
|
137
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.NUSHELL]: {
|
|
138
138
|
icon: _chunkLLSUVPQCcjs.NushellIcon,
|
|
139
139
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
140
140
|
},
|
|
141
|
-
[
|
|
141
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.DENO]: {
|
|
142
142
|
icon: _chunkLLSUVPQCcjs.DenoIcon,
|
|
143
143
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
144
144
|
},
|
|
145
|
-
[
|
|
145
|
+
[_chunkP7Y626YJcjs.ShellTypeValues.SHELL]: {
|
|
146
146
|
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
147
147
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
148
148
|
}
|
|
@@ -153,7 +153,7 @@ var defaultIconConfig = {
|
|
|
153
153
|
};
|
|
154
154
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
155
155
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
156
|
-
const label =
|
|
156
|
+
const label = _chunkP7Y626YJcjs.getShellLabel.call(void 0, normalizedType);
|
|
157
157
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
158
158
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
159
159
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -169,11 +169,11 @@ function formatSupportedPlatforms(platforms) {
|
|
|
169
169
|
if (!platforms || platforms.length === 0) {
|
|
170
170
|
return "All Platforms";
|
|
171
171
|
}
|
|
172
|
-
return platforms.map((platform) =>
|
|
172
|
+
return platforms.map((platform) => _chunkP7Y626YJcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
173
173
|
}
|
|
174
174
|
function InfoCell({ label, value, avatar, className }) {
|
|
175
175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
176
|
-
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, _chunkMGHIV4L6cjs.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 ||
|
|
176
|
+
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, _chunkMGHIV4L6cjs.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 || _chunkTKFTWM3Vcjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
177
177
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
178
178
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
179
179
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -189,7 +189,7 @@ var ScriptInfoSection = ({
|
|
|
189
189
|
author,
|
|
190
190
|
className
|
|
191
191
|
}) => {
|
|
192
|
-
const shellLabel =
|
|
192
|
+
const shellLabel = _chunkP7Y626YJcjs.getShellLabel.call(void 0, shellType);
|
|
193
193
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
194
194
|
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: [
|
|
195
195
|
/* @__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: [
|
|
@@ -291,7 +291,7 @@ var ScriptArguments = ({
|
|
|
291
291
|
}
|
|
292
292
|
) }),
|
|
293
293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
-
|
|
294
|
+
_chunkHQIOMFJHcjs.Button,
|
|
295
295
|
{
|
|
296
296
|
type: "button",
|
|
297
297
|
variant: "outline",
|
|
@@ -307,7 +307,7 @@ var ScriptArguments = ({
|
|
|
307
307
|
}),
|
|
308
308
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap justify-start gap-[var(--spacing-system-xs)]", children: [
|
|
309
309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
|
|
310
|
+
_chunkHQIOMFJHcjs.Button,
|
|
311
311
|
{
|
|
312
312
|
type: "button",
|
|
313
313
|
variant: "outline",
|
|
@@ -320,7 +320,7 @@ var ScriptArguments = ({
|
|
|
320
320
|
}
|
|
321
321
|
),
|
|
322
322
|
addSecretButtonLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
323
|
-
|
|
323
|
+
_chunkHQIOMFJHcjs.Button,
|
|
324
324
|
{
|
|
325
325
|
type: "button",
|
|
326
326
|
variant: "outline",
|
|
@@ -364,7 +364,7 @@ function OnboardingStepCard({
|
|
|
364
364
|
onSkip();
|
|
365
365
|
};
|
|
366
366
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
367
|
-
|
|
367
|
+
_chunkIITZ6JSCcjs.InteractiveCard,
|
|
368
368
|
{
|
|
369
369
|
clickable: false,
|
|
370
370
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -390,9 +390,9 @@ function OnboardingStepCard({
|
|
|
390
390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
391
391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
392
392
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
394
394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
395
|
+
_chunkHQIOMFJHcjs.Button,
|
|
396
396
|
{
|
|
397
397
|
variant: "outline",
|
|
398
398
|
onClick: handleAction,
|
|
@@ -401,9 +401,9 @@ function OnboardingStepCard({
|
|
|
401
401
|
children: step.completedText
|
|
402
402
|
}
|
|
403
403
|
)
|
|
404
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
404
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
407
407
|
] })
|
|
408
408
|
}
|
|
409
409
|
)
|
|
@@ -436,7 +436,7 @@ function OnboardingWalkthrough({
|
|
|
436
436
|
isStepSkipped,
|
|
437
437
|
allStepsComplete,
|
|
438
438
|
markMultipleComplete
|
|
439
|
-
} =
|
|
439
|
+
} = _chunk4LY6R4TNcjs.useOnboardingState.call(void 0, storageKey);
|
|
440
440
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
441
441
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
442
442
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -518,8 +518,8 @@ function OnboardingWalkthrough({
|
|
|
518
518
|
const isAllComplete = allStepsComplete(steps);
|
|
519
519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
520
520
|
/* @__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: [
|
|
521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
522
|
-
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,
|
|
521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
522
|
+
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, _chunkHQIOMFJHcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
523
523
|
] }),
|
|
524
524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
525
525
|
OnboardingStepCard,
|