@flamingo-stack/openframe-frontend-core 0.0.802 → 0.0.804
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/{case-study-card-K6HYMHL6.cjs → case-study-card-MEWJNF4N.cjs} +5 -5
- package/dist/{chunk-DSIIRR3G.cjs → chunk-2NVIGBJC.cjs} +80 -80
- package/dist/{chunk-HRMLGU6A.cjs → chunk-3EPG56RK.cjs} +8 -8
- package/dist/{chunk-UYGXJ5SQ.cjs → chunk-3WNCFZGN.cjs} +2 -2
- package/dist/{chunk-2JCY5KQL.cjs → chunk-4W77VLQV.cjs} +4 -4
- package/dist/{chunk-M7E7ILE5.cjs → chunk-55TGW6BF.cjs} +6 -6
- package/dist/{chunk-E56LN23H.cjs → chunk-66ZQ7LDR.cjs} +73 -48
- package/dist/{chunk-VMQAJIQC.cjs → chunk-6JRQ57DU.cjs} +884 -895
- package/dist/{chunk-A7NRENMU.cjs → chunk-6UGNFMZB.cjs} +36 -36
- package/dist/{chunk-Y5XHMEBB.cjs → chunk-76NE67PK.cjs} +5 -5
- package/dist/{chunk-NCQJIYDN.cjs → chunk-AC5EBHAX.cjs} +28 -28
- package/dist/{chunk-OG4XH6C5.cjs → chunk-AZJYMTBS.cjs} +33 -33
- package/dist/{chunk-D3IQHAGL.cjs → chunk-BVSZTKI3.cjs} +34 -21
- package/dist/{chunk-7E4BC3AF.cjs → chunk-F2VN3UUB.cjs} +485 -513
- package/dist/{chunk-DTBIIFZG.cjs → chunk-FLW2VL5W.cjs} +21 -21
- package/dist/{chunk-FS4TVAE7.cjs → chunk-FQ4LYYBI.cjs} +52 -52
- package/dist/{chunk-VVLL37EM.cjs → chunk-GAHXURKJ.cjs} +6 -6
- package/dist/{chunk-7MV23NNT.cjs → chunk-JLKGLPDC.cjs} +109 -21
- package/dist/{chunk-3NGJ7NPT.cjs → chunk-KVJKKVB3.cjs} +7 -7
- package/dist/{chunk-52NI57KM.cjs → chunk-LZIQXGAW.cjs} +91 -88
- package/dist/{chunk-DYDS2P5G.cjs → chunk-MEDSJCEX.cjs} +4 -4
- package/dist/{chunk-FFRFKWTZ.cjs → chunk-MHH7CHNI.cjs} +17 -14
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-NBLQFJ4I.cjs} +100 -99
- package/dist/{chunk-YD344MMX.cjs → chunk-NXJ3O4WO.cjs} +15 -15
- package/dist/{chunk-YBTORXFY.cjs → chunk-PRCGRDHV.cjs} +40 -25
- package/dist/{chunk-75BFVMNA.cjs → chunk-QPBP7FKI.cjs} +52 -52
- package/dist/{chunk-ZPVFFPQM.cjs → chunk-RIRIA3FO.cjs} +4 -4
- package/dist/{chunk-XR323UBY.cjs → chunk-STLJCAIZ.cjs} +6 -3
- package/dist/{chunk-6UKH22NQ.cjs → chunk-TGOJHOQR.cjs} +2 -1
- package/dist/{chunk-FAUVDMH4.cjs → chunk-THY2XVGY.cjs} +198 -164
- package/dist/{chunk-6GCXQIUU.cjs → chunk-TT64NRFU.cjs} +4 -4
- package/dist/{chunk-3W2PBWD5.cjs → chunk-TTERV57X.cjs} +4 -4
- package/dist/{chunk-A7IT7MZO.cjs → chunk-UCBR27JM.cjs} +13 -13
- package/dist/{chunk-KVGWOJCX.cjs → chunk-V3T5MDJV.cjs} +2 -2
- package/dist/{chunk-5RGGUQ4Y.cjs → chunk-VXXOUM2K.cjs} +67 -1
- package/dist/{chunk-EJVJDLYC.cjs → chunk-WSKMV2QS.cjs} +3 -3
- package/dist/{chunk-2BUSXRZ7.cjs → chunk-XXARXK62.cjs} +26 -26
- package/dist/{chunk-HATRCNXJ.cjs → chunk-XYZBN6D7.cjs} +2 -2
- package/dist/{chunk-YMPCACQX.cjs → chunk-Z6Y5X5SF.cjs} +41 -41
- package/dist/{cloud-tenants-3SWYRUXB.cjs → cloud-tenants-LRXMISV4.cjs} +19 -19
- package/dist/components/agent-mark.d.ts.map +1 -1
- package/dist/components/agent-mark.js +2 -2
- package/dist/components/case-studies/index.cjs +35 -35
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +3 -2
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +2 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +6 -6
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-image-placeholder.js +2 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +10 -9
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +8 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +12 -1
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/employee-entry-card.js +3 -2
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-portrait-card.js +7 -5
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +2 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +13 -2
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +17 -5
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +5 -4
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +3 -2
- package/dist/components/contact/index.cjs +20 -20
- package/dist/components/docs/index.cjs +23 -23
- package/dist/components/embeds/index.cjs +20 -20
- package/dist/components/embeds/markdown-image.d.ts.map +1 -1
- package/dist/components/embeds/markdown-image.js +2 -1
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +17 -6
- package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/twitter-embed-client.js +3 -2
- package/dist/components/faq/index.cjs +21 -21
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +19 -19
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/media-gallery-manager.js +2 -1
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +3 -2
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.js +9 -35
- package/dist/components/features/select-button.d.ts.map +1 -1
- package/dist/components/features/select-button.js +3 -2
- package/dist/components/features/video-hover-preview.d.ts +1 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -1
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +13 -1
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +3 -3
- package/dist/components/help-center-pages/index.cjs +121 -121
- package/dist/components/hero-image-uploader.d.ts.map +1 -1
- package/dist/components/hero-image-uploader.js +12 -1
- package/dist/components/icon-display.d.ts.map +1 -1
- package/dist/components/icon-display.js +2 -1
- package/dist/components/index.cjs +137 -91
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/media-carousel.js +2 -1
- package/dist/components/meeting-scheduler/index.cjs +85 -85
- package/dist/components/navigation/index.cjs +22 -22
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/platform/ScriptInfoSection.d.ts.map +1 -1
- package/dist/components/platform/ScriptInfoSection.js +12 -1
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/shared/media-gallery-strip.js +3 -2
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +13 -2
- package/dist/components/tickets/index.cjs +26 -26
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +4 -4
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- 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/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +3 -2
- package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
- package/dist/components/ui/image-gallery-modal.js +2 -1
- package/dist/components/ui/image-uploader.d.ts.map +1 -1
- package/dist/components/ui/image-uploader.js +2 -1
- package/dist/components/ui/index.cjs +37 -19
- 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 +1 -0
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +2 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/components/ui/photo-wall.d.ts +7 -3
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +3 -4
- package/dist/components/ui/square-avatar.d.ts +4 -1
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +2 -1
- package/dist/components/user-summary-stub.d.ts +1 -1
- package/dist/components/user-summary-stub.d.ts.map +1 -1
- package/dist/components/user-summary-stub.js +16 -6
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +13 -3
- package/dist/components/vendor-icon.d.ts +7 -4
- package/dist/components/vendor-icon.d.ts.map +1 -1
- package/dist/components/vendor-icon.js +22 -71
- package/dist/{devices-MQILRW53.cjs → devices-CETR72XY.cjs} +20 -20
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-GHBCX2BY.cjs} +85 -84
- package/dist/hooks/index.cjs +6 -6
- package/dist/hooks/ui/use-image-edge-color.d.ts.map +1 -1
- package/dist/hooks/ui/use-image-edge-color.js +4 -3
- package/dist/image-sizes.cjs +68 -0
- package/dist/index.cjs +43 -25
- package/dist/{knowledge-WQ3ABXZC.cjs → knowledge-A2MWEF23.cjs} +20 -20
- package/dist/{logs-XRSJGB3I.cjs → logs-47JODA6C.cjs} +27 -27
- package/dist/{policies-Q67ZXAGY.cjs → policies-OPIDR6XF.cjs} +23 -23
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-IQTPEG63.cjs} +8 -8
- package/dist/{scripts-YX324R4S.cjs → scripts-4MQGJWFP.cjs} +26 -26
- package/dist/{software-update-PHMXJVAC.cjs → software-update-MQIGPBZ6.cjs} +23 -23
- package/dist/styles/image-sizes.d.ts +110 -0
- package/dist/styles/image-sizes.d.ts.map +1 -0
- package/dist/styles/image-sizes.js +66 -0
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-QF5JNSH2.cjs} +11 -11
- package/eslint-config/base.js +12 -0
- package/eslint-config/image-sizes.js +51 -0
- package/package.json +8 -1
- package/src/components/agent-mark.tsx +3 -4
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/chat-message-row.tsx +3 -2
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/chat/entity-cards/admin-content-card.tsx +2 -1
- package/src/components/chat/entity-cards/blog-card.tsx +6 -6
- package/src/components/chat/entity-cards/blog-image-placeholder.tsx +2 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +10 -9
- package/src/components/chat/entity-cards/customer-interview-card.tsx +8 -7
- package/src/components/chat/entity-cards/dispatch.tsx +9 -1
- package/src/components/chat/entity-cards/employee-entry-card.tsx +3 -2
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +7 -5
- package/src/components/chat/entity-cards/investor-update-card.tsx +2 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +10 -2
- package/src/components/chat/entity-cards/program-card.tsx +14 -5
- package/src/components/chat/entity-cards/roadmap-card.tsx +5 -4
- package/src/components/chat/mingo-info-card.tsx +3 -2
- package/src/components/embeds/markdown-image.tsx +2 -1
- package/src/components/embeds/og-link-preview.tsx +14 -6
- package/src/components/embeds/twitter-embed-client.tsx +3 -2
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/features/media-gallery-manager.tsx +2 -2
- package/src/components/features/notifications/notification-tile.tsx +3 -2
- package/src/components/features/parallax-image-showcase.tsx +9 -26
- package/src/components/features/select-button.tsx +3 -2
- package/src/components/features/video-hover-preview.tsx +3 -2
- package/src/components/features/video.tsx +10 -1
- package/src/components/features/walkthrough-video.tsx +7 -10
- package/src/components/hero-image-uploader.tsx +9 -1
- package/src/components/icon-display.tsx +2 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/media-carousel.tsx +2 -1
- package/src/components/platform/ScriptInfoSection.tsx +9 -1
- package/src/components/shared/media-gallery-strip.tsx +4 -2
- package/src/components/shared/product-release/product-release-card.tsx +10 -2
- package/src/components/ui/avatar-stack.tsx +6 -6
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/entity-image.tsx +3 -2
- package/src/components/ui/image-gallery-modal.tsx +2 -1
- package/src/components/ui/image-uploader.tsx +2 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/markdown/base-components.tsx +2 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/components/ui/photo-wall.tsx +10 -14
- package/src/components/ui/square-avatar.tsx +6 -3
- package/src/components/user-summary-stub.tsx +14 -7
- package/src/components/vendor-display-button.tsx +10 -3
- package/src/components/vendor-icon.tsx +31 -97
- package/src/hooks/ui/use-image-edge-color.ts +8 -4
- package/src/styles/image-sizes.ts +114 -0
|
@@ -29,7 +29,7 @@ var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkTT64NRFUcjs = require('./chunk-TT64NRFU.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -41,7 +41,7 @@ var _chunk6GCXQIUUcjs = require('./chunk-6GCXQIUU.cjs');
|
|
|
41
41
|
var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkXYZBN6D7cjs = require('./chunk-XYZBN6D7.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
@@ -808,7 +808,7 @@ function usePlatformConfig() {
|
|
|
808
808
|
label: platform.label
|
|
809
809
|
}))
|
|
810
810
|
];
|
|
811
|
-
const selectableOptions =
|
|
811
|
+
const selectableOptions = _chunkTT64NRFUcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
|
|
812
812
|
return {
|
|
813
813
|
platforms,
|
|
814
814
|
platformOptions,
|
|
@@ -988,7 +988,7 @@ function CommandApprovalToast({
|
|
|
988
988
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden", children: [
|
|
989
989
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-11 w-full items-center gap-2 border-b border-ods-border bg-ods-card px-3 py-2", children: [
|
|
990
990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h6", title: command, children: command }),
|
|
991
|
-
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
991
|
+
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXYZBN6D7cjs.ToolIcon, { toolType, size: 16 }) : null
|
|
992
992
|
] }),
|
|
993
993
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 bg-ods-bg p-3", children: [
|
|
994
994
|
approvalDescription ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: approvalDescription }) : null,
|
|
@@ -1324,10 +1324,10 @@ function useDownloads({
|
|
|
1324
1324
|
}
|
|
1325
1325
|
function useVisitorDesktopDownload(options = {}) {
|
|
1326
1326
|
const enabled = _nullishCoalesce(options.enabled, () => ( true));
|
|
1327
|
-
const visitor =
|
|
1327
|
+
const visitor = _chunkTT64NRFUcjs.useVisitorOs.call(void 0, );
|
|
1328
1328
|
const { data, error } = useDownloads(options);
|
|
1329
1329
|
if (!enabled || !visitor.known || !data && !error) return { known: false, download: null };
|
|
1330
|
-
const os =
|
|
1330
|
+
const os = _chunkTT64NRFUcjs.desktopOsOf.call(void 0, visitor.os);
|
|
1331
1331
|
const download = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.desktop, 'access', _23 => _23.find, 'call', _24 => _24((row) => row.kind === "binary" && row.url && row.os === os)]), () => ( null));
|
|
1332
1332
|
return { known: true, download };
|
|
1333
1333
|
}
|
|
@@ -2629,7 +2629,7 @@ function useAccessCodeIntegration() {
|
|
|
2629
2629
|
const validate = async (email, code) => {
|
|
2630
2630
|
setIsValidating(true);
|
|
2631
2631
|
try {
|
|
2632
|
-
return await
|
|
2632
|
+
return await _chunkTT64NRFUcjs.validateAccessCode.call(void 0, email, code, endpoints);
|
|
2633
2633
|
} finally {
|
|
2634
2634
|
setIsValidating(false);
|
|
2635
2635
|
}
|
|
@@ -2637,7 +2637,7 @@ function useAccessCodeIntegration() {
|
|
|
2637
2637
|
const consume = async (email, code) => {
|
|
2638
2638
|
setIsConsuming(true);
|
|
2639
2639
|
try {
|
|
2640
|
-
return await
|
|
2640
|
+
return await _chunkTT64NRFUcjs.consumeAccessCode.call(void 0, email, code, endpoints);
|
|
2641
2641
|
} finally {
|
|
2642
2642
|
setIsConsuming(false);
|
|
2643
2643
|
}
|
|
@@ -2646,7 +2646,7 @@ function useAccessCodeIntegration() {
|
|
|
2646
2646
|
setIsValidating(true);
|
|
2647
2647
|
setIsConsuming(true);
|
|
2648
2648
|
try {
|
|
2649
|
-
return await
|
|
2649
|
+
return await _chunkTT64NRFUcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
|
|
2650
2650
|
} finally {
|
|
2651
2651
|
setIsValidating(false);
|
|
2652
2652
|
setIsConsuming(false);
|
|
@@ -2676,7 +2676,7 @@ async function revalidateMirror(mirrorPath) {
|
|
|
2676
2676
|
}
|
|
2677
2677
|
function useClaudeMirrorSrc(url) {
|
|
2678
2678
|
const endpoints = _chunkMZ4KBSH7cjs.useEndpointsRuntime.call(void 0, );
|
|
2679
|
-
const mirrorPath =
|
|
2679
|
+
const mirrorPath = _chunkTT64NRFUcjs.toClaudeMirrorPath.call(void 0, url, _optionalChain([endpoints, 'optionalAccess', _32 => _32.storageViewBaseUrl]));
|
|
2680
2680
|
const [resolved, setResolved] = _react.useState.call(void 0, null);
|
|
2681
2681
|
const state = resolved && resolved.key === mirrorPath ? resolved.value : { src: null, status: mirrorPath ? "probing" : "absent" };
|
|
2682
2682
|
_react.useEffect.call(void 0, () => {
|
|
@@ -2779,8 +2779,8 @@ function useHumanitySignals() {
|
|
|
2779
2779
|
const startedAtRef = _react.useRef.call(void 0, mountedAt);
|
|
2780
2780
|
const getSignals = _react.useCallback.call(void 0,
|
|
2781
2781
|
() => ({
|
|
2782
|
-
[
|
|
2783
|
-
[
|
|
2782
|
+
[_chunkTT64NRFUcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _34 => _34.current, 'optionalAccess', _35 => _35.value]), () => ( "")),
|
|
2783
|
+
[_chunkTT64NRFUcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - startedAtRef.current) : 0
|
|
2784
2784
|
}),
|
|
2785
2785
|
[]
|
|
2786
2786
|
);
|
|
@@ -2788,7 +2788,7 @@ function useHumanitySignals() {
|
|
|
2788
2788
|
if (ref.current) ref.current.value = "";
|
|
2789
2789
|
if (typeof performance !== "undefined") startedAtRef.current = performance.now();
|
|
2790
2790
|
}, []);
|
|
2791
|
-
return { honeypotInputProps: { ref, name:
|
|
2791
|
+
return { honeypotInputProps: { ref, name: _chunkTT64NRFUcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
|
|
2792
2792
|
}
|
|
2793
2793
|
|
|
2794
2794
|
// src/hooks/use-form-rescue.ts
|
|
@@ -2801,9 +2801,9 @@ function readLocalDraft(formId) {
|
|
|
2801
2801
|
const raw = window.localStorage.getItem(STORAGE_PREFIX + formId);
|
|
2802
2802
|
if (!raw) return null;
|
|
2803
2803
|
const parsed = JSON.parse(raw);
|
|
2804
|
-
if (!
|
|
2804
|
+
if (!_chunkTT64NRFUcjs.isFormAttemptId.call(void 0, parsed.attemptId) || typeof parsed.savedAt !== "number") return null;
|
|
2805
2805
|
if (Date.now() - parsed.savedAt > LOCAL_DRAFT_TTL_MS) return null;
|
|
2806
|
-
return { attemptId: parsed.attemptId, values:
|
|
2806
|
+
return { attemptId: parsed.attemptId, values: _chunkTT64NRFUcjs.sanitizeRescueValues.call(void 0, parsed.values), savedAt: parsed.savedAt };
|
|
2807
2807
|
} catch (e8) {
|
|
2808
2808
|
return null;
|
|
2809
2809
|
}
|
|
@@ -2823,9 +2823,9 @@ function clearLocalDraft(formId) {
|
|
|
2823
2823
|
function completeFormRescue(form, attemptId) {
|
|
2824
2824
|
if (!form || typeof window === "undefined") return;
|
|
2825
2825
|
const local = readLocalDraft(form.id);
|
|
2826
|
-
|
|
2826
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.submitted, {
|
|
2827
2827
|
form_id: form.id,
|
|
2828
|
-
attempt_id:
|
|
2828
|
+
attempt_id: _chunkTT64NRFUcjs.isFormAttemptId.call(void 0, attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess', _36 => _36.attemptId]), () => ( null))
|
|
2829
2829
|
});
|
|
2830
2830
|
clearLocalDraft(form.id);
|
|
2831
2831
|
}
|
|
@@ -2886,7 +2886,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2886
2886
|
}).catch(() => void 0);
|
|
2887
2887
|
} catch (e12) {
|
|
2888
2888
|
}
|
|
2889
|
-
|
|
2889
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.progress, {
|
|
2890
2890
|
form_id: formId,
|
|
2891
2891
|
attempt_id: attemptId(),
|
|
2892
2892
|
fields_filled: body.fields_filled,
|
|
@@ -2899,14 +2899,14 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2899
2899
|
_react.useEffect.call(void 0, () => {
|
|
2900
2900
|
if (!formId || typeof window === "undefined") return void 0;
|
|
2901
2901
|
let cancelled = false;
|
|
2902
|
-
const token = new URLSearchParams(window.location.search).get(
|
|
2902
|
+
const token = new URLSearchParams(window.location.search).get(_chunkTT64NRFUcjs.FORM_RESCUE_RESUME_PARAM);
|
|
2903
2903
|
const restoreLocal = () => {
|
|
2904
2904
|
const local = readLocalDraft(formId);
|
|
2905
2905
|
if (!local) return;
|
|
2906
2906
|
attemptIdRef.current = local.attemptId;
|
|
2907
2907
|
if (Object.keys(local.values).length) _optionalChain([onRestoreRef, 'access', _41 => _41.current, 'optionalCall', _42 => _42(local.values)]);
|
|
2908
2908
|
};
|
|
2909
|
-
if (
|
|
2909
|
+
if (_chunkTT64NRFUcjs.isResumeToken.call(void 0, token) && draftsUrl) {
|
|
2910
2910
|
_chunk7PNRXJX2cjs.contentFetch.call(void 0, `${draftsUrl}/resume/${encodeURIComponent(token)}`).then(async (res) => res.ok ? await res.json() : null).then((data) => {
|
|
2911
2911
|
if (cancelled) return;
|
|
2912
2912
|
if (!data || data.form_id !== formId) {
|
|
@@ -2914,8 +2914,8 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2914
2914
|
return;
|
|
2915
2915
|
}
|
|
2916
2916
|
resumeTokenRef.current = token;
|
|
2917
|
-
_optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(
|
|
2918
|
-
|
|
2917
|
+
_optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(_chunkTT64NRFUcjs.sanitizeRescueValues.call(void 0, data.values))]);
|
|
2918
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.resumed, { form_id: formId, attempt_id: attemptId() });
|
|
2919
2919
|
}).catch(() => {
|
|
2920
2920
|
if (!cancelled) restoreLocal();
|
|
2921
2921
|
});
|
|
@@ -2935,7 +2935,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2935
2935
|
timerRef.current = null;
|
|
2936
2936
|
}
|
|
2937
2937
|
send(true);
|
|
2938
|
-
|
|
2938
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.abandoned, {
|
|
2939
2939
|
form_id: formId,
|
|
2940
2940
|
attempt_id: attemptId(),
|
|
2941
2941
|
last_field: _nullishCoalesce(_optionalChain([latestRef, 'access', _45 => _45.current, 'optionalAccess', _46 => _46.last_field]), () => ( null)),
|
|
@@ -2959,22 +2959,22 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2959
2959
|
const names = fieldNamesRef.current;
|
|
2960
2960
|
const visible = {};
|
|
2961
2961
|
for (const name of names) visible[name] = values[name];
|
|
2962
|
-
const filled =
|
|
2962
|
+
const filled = _chunkTT64NRFUcjs.filledRescueFields.call(void 0, visible, names);
|
|
2963
2963
|
if (!filled.length) return;
|
|
2964
2964
|
if (!startedRef.current) {
|
|
2965
2965
|
startedRef.current = true;
|
|
2966
|
-
|
|
2966
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.started, { form_id: formId, attempt_id: attemptId() });
|
|
2967
2967
|
}
|
|
2968
|
-
const clean =
|
|
2969
|
-
if (!leadCapturedRef.current &&
|
|
2968
|
+
const clean = _chunkTT64NRFUcjs.sanitizeRescueValues.call(void 0, visible);
|
|
2969
|
+
if (!leadCapturedRef.current && _chunkTT64NRFUcjs.isRescueEmail.call(void 0, clean.email)) {
|
|
2970
2970
|
leadCapturedRef.current = true;
|
|
2971
|
-
|
|
2971
|
+
_chunkTT64NRFUcjs.captureFormRescueEvent.call(void 0, _chunkTT64NRFUcjs.FORM_RESCUE_EVENTS.leadCaptured, { form_id: formId, attempt_id: attemptId() });
|
|
2972
2972
|
}
|
|
2973
2973
|
latestRef.current = {
|
|
2974
2974
|
values: clean,
|
|
2975
2975
|
fields_filled: filled,
|
|
2976
|
-
last_field:
|
|
2977
|
-
completion_pct:
|
|
2976
|
+
last_field: _chunkTT64NRFUcjs.sanitizeRescueFieldName.call(void 0, lastField),
|
|
2977
|
+
completion_pct: _chunkTT64NRFUcjs.rescueCompletionPct.call(void 0, filled.length, names.length)
|
|
2978
2978
|
};
|
|
2979
2979
|
dirtyRef.current = true;
|
|
2980
2980
|
writeLocalDraft(formId, { attemptId: attemptId(), values: clean, savedAt: Date.now() });
|
|
@@ -2982,15 +2982,15 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2982
2982
|
timerRef.current = setTimeout(() => {
|
|
2983
2983
|
timerRef.current = null;
|
|
2984
2984
|
send(false);
|
|
2985
|
-
},
|
|
2985
|
+
}, _chunkTT64NRFUcjs.FORM_RESCUE_DEBOUNCE_MS);
|
|
2986
2986
|
},
|
|
2987
2987
|
[attemptId, formId, send]
|
|
2988
2988
|
);
|
|
2989
2989
|
const submitFields = _react.useCallback.call(void 0, () => {
|
|
2990
2990
|
if (!formId) return {};
|
|
2991
2991
|
return {
|
|
2992
|
-
[
|
|
2993
|
-
...resumeTokenRef.current ? { [
|
|
2992
|
+
[_chunkTT64NRFUcjs.FORM_RESCUE_ATTEMPT_FIELD]: attemptId(),
|
|
2993
|
+
...resumeTokenRef.current ? { [_chunkTT64NRFUcjs.FORM_RESCUE_RESUME_FIELD]: resumeTokenRef.current } : {}
|
|
2994
2994
|
};
|
|
2995
2995
|
}, [attemptId, formId]);
|
|
2996
2996
|
const complete = _react.useCallback.call(void 0, () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNBLQFJ4Icjs = require('./chunk-NBLQFJ4I.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -47,13 +47,16 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
|
|
57
60
|
|
|
58
61
|
|
|
59
62
|
var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
@@ -169,31 +172,31 @@ CveLink.displayName = "CveLink";
|
|
|
169
172
|
// src/components/platform/ShellTypeBadge.tsx
|
|
170
173
|
|
|
171
174
|
var shellIconMap = {
|
|
172
|
-
[
|
|
175
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.POWERSHELL]: {
|
|
173
176
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
174
177
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
175
178
|
},
|
|
176
|
-
[
|
|
179
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.CMD]: {
|
|
177
180
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
178
181
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
179
182
|
},
|
|
180
|
-
[
|
|
183
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.BASH]: {
|
|
181
184
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
182
185
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
183
186
|
},
|
|
184
|
-
[
|
|
187
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.PYTHON]: {
|
|
185
188
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
186
189
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
187
190
|
},
|
|
188
|
-
[
|
|
191
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.NUSHELL]: {
|
|
189
192
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
190
193
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
191
194
|
},
|
|
192
|
-
[
|
|
195
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.DENO]: {
|
|
193
196
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
194
197
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
195
198
|
},
|
|
196
|
-
[
|
|
199
|
+
[_chunkNBLQFJ4Icjs.ShellTypeValues.SHELL]: {
|
|
197
200
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
198
201
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
199
202
|
}
|
|
@@ -204,7 +207,7 @@ var defaultIconConfig = {
|
|
|
204
207
|
};
|
|
205
208
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
206
209
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
207
|
-
const label =
|
|
210
|
+
const label = _chunkNBLQFJ4Icjs.getShellLabel.call(void 0, normalizedType);
|
|
208
211
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
209
212
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
210
213
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -220,11 +223,21 @@ function formatSupportedPlatforms(platforms) {
|
|
|
220
223
|
if (!platforms || platforms.length === 0) {
|
|
221
224
|
return "All Platforms";
|
|
222
225
|
}
|
|
223
|
-
return platforms.map((platform) =>
|
|
226
|
+
return platforms.map((platform) => _chunkNBLQFJ4Icjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
224
227
|
}
|
|
225
228
|
function InfoCell({ label, value, avatar, className }) {
|
|
226
229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
227
|
-
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,
|
|
230
|
+
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,
|
|
231
|
+
_chunkKUXHXLJQcjs.next_image_default,
|
|
232
|
+
{
|
|
233
|
+
src: avatar.photoUrl,
|
|
234
|
+
alt: avatar.name,
|
|
235
|
+
className: "object-cover",
|
|
236
|
+
fill: true,
|
|
237
|
+
sizes: _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "logo"),
|
|
238
|
+
unoptimized: true
|
|
239
|
+
}
|
|
240
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkTGOJHOQRcjs.nameInitials.call(void 0, avatar.name) }) }),
|
|
228
241
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
229
242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
|
|
230
243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
@@ -240,7 +253,7 @@ var ScriptInfoSection = ({
|
|
|
240
253
|
author,
|
|
241
254
|
className
|
|
242
255
|
}) => {
|
|
243
|
-
const shellLabel =
|
|
256
|
+
const shellLabel = _chunkNBLQFJ4Icjs.getShellLabel.call(void 0, shellType);
|
|
244
257
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
245
258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
246
259
|
/* @__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: [
|
|
@@ -288,7 +301,7 @@ function OnboardingStepCard({
|
|
|
288
301
|
onSkip();
|
|
289
302
|
};
|
|
290
303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
291
|
-
|
|
304
|
+
_chunkTHY2XVGYcjs.InteractiveCard,
|
|
292
305
|
{
|
|
293
306
|
clickable: false,
|
|
294
307
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
@@ -314,7 +327,7 @@ function OnboardingStepCard({
|
|
|
314
327
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[32px] w-[100px] rounded-[6px]" }),
|
|
315
328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[32px] w-[120px] rounded-[6px]" })
|
|
316
329
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
318
331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
332
|
_chunkAHBTZ7DNcjs.Button,
|
|
320
333
|
{
|
|
@@ -325,7 +338,7 @@ function OnboardingStepCard({
|
|
|
325
338
|
children: step.completedText
|
|
326
339
|
}
|
|
327
340
|
)
|
|
328
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
341
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
329
342
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
330
343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
331
344
|
] })
|
|
@@ -361,7 +374,7 @@ function OnboardingWalkthrough({
|
|
|
361
374
|
isStepSkipped,
|
|
362
375
|
allStepsComplete,
|
|
363
376
|
markMultipleComplete
|
|
364
|
-
} =
|
|
377
|
+
} = _chunkAZJYMTBScjs.useOnboardingState.call(void 0, storageKey);
|
|
365
378
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
366
379
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
367
380
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -443,7 +456,7 @@ function OnboardingWalkthrough({
|
|
|
443
456
|
const isAllComplete = allStepsComplete(steps);
|
|
444
457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
445
458
|
/* @__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: [
|
|
446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkTHY2XVGYcjs.SECTION_HEADING_CLASS, children: _chunkTHY2XVGYcjs.accentSentenceMarks.call(void 0, title) }),
|
|
447
460
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
448
461
|
] }),
|
|
449
462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|