@flamingo-stack/openframe-frontend-core 0.0.740 → 0.0.742
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-BV5WZVOP.cjs → chunk-32Q7K5OP.cjs} +254 -254
- package/dist/{chunk-ZLTCQKTD.cjs → chunk-3LW43GIJ.cjs} +6 -6
- package/dist/{chunk-VA7OMDZO.cjs → chunk-4FWURR3W.cjs} +50 -50
- package/dist/{chunk-EKGL5K5K.cjs → chunk-4LDU32OB.cjs} +17 -17
- package/dist/{chunk-VC4IV3AY.cjs → chunk-4PKORVOX.cjs} +2804 -954
- package/dist/{chunk-3ZIQOYNX.cjs → chunk-54EA4RLX.cjs} +8 -8
- package/dist/{chunk-YXKB5WRE.cjs → chunk-5MH6BRPY.cjs} +36 -36
- package/dist/{chunk-PQ2M7P2U.cjs → chunk-5TCIRWHL.cjs} +9 -9
- package/dist/{chunk-WFPCCBOM.cjs → chunk-7AM3AFM4.cjs} +10 -10
- package/dist/{chunk-7ZFCR7UY.cjs → chunk-ABLUMGCI.cjs} +3 -3
- package/dist/{chunk-PX7FY655.cjs → chunk-ASMNNSUQ.cjs} +3 -3
- package/dist/{chunk-HF7Z2E4W.cjs → chunk-BI3XBCQX.cjs} +2 -2
- package/dist/{chunk-SA7LDEVJ.cjs → chunk-CSJO7ZGN.cjs} +3 -3
- package/dist/{chunk-VOX4E6AX.cjs → chunk-DGFDBPO7.cjs} +7 -5
- package/dist/{chunk-KHXZFLIN.cjs → chunk-DKOLQPE7.cjs} +8 -2
- package/dist/{chunk-BDA5F6RM.cjs → chunk-DNFSMVXJ.cjs} +16 -16
- package/dist/{chunk-B3XBJCOD.cjs → chunk-H3UA7UY5.cjs} +7 -7
- package/dist/{chunk-2Y5Y4FLM.cjs → chunk-HDBY2URA.cjs} +64 -64
- package/dist/{chunk-UW3YXDC4.cjs → chunk-HIRVNBX5.cjs} +20 -20
- package/dist/{chunk-LLAC2UZ3.cjs → chunk-ISJXKKYW.cjs} +28 -28
- package/dist/{chunk-FICJS5OA.cjs → chunk-KTPR66EE.cjs} +4 -4
- package/dist/{chunk-7UIQPMBJ.cjs → chunk-L34TKFTS.cjs} +21 -164
- package/dist/{chunk-AAFW4STC.cjs → chunk-LU7TD6QS.cjs} +5 -5
- package/dist/{chunk-3HPB4H4C.cjs → chunk-NTGIQP7O.cjs} +7 -7
- package/dist/{chunk-WBANGORJ.cjs → chunk-OBODY7F3.cjs} +3 -3
- package/dist/{chunk-GABDE3FM.cjs → chunk-OWGLRE74.cjs} +19 -19
- package/dist/{chunk-CWRVTQUO.cjs → chunk-PS6T65KA.cjs} +101 -101
- package/dist/{chunk-IFS4AH77.cjs → chunk-QYLIHZKZ.cjs} +10 -10
- package/dist/{chunk-GVTDVS5U.cjs → chunk-R34JD6NP.cjs} +3 -3
- package/dist/{chunk-VU4CKUJW.cjs → chunk-R6SCSV2I.cjs} +103 -103
- package/dist/{chunk-II4QMH26.cjs → chunk-STEJZPIO.cjs} +3 -3
- package/dist/{chunk-4RLGLB45.cjs → chunk-T433HSL6.cjs} +47 -47
- package/dist/{chunk-DSVNFRY5.cjs → chunk-U2O5YQRP.cjs} +38 -38
- package/dist/{chunk-O67V3HJR.cjs → chunk-URVIPSAJ.cjs} +24 -24
- package/dist/{chunk-HYBMADYO.cjs → chunk-UWHCRIQQ.cjs} +22 -22
- package/dist/{chunk-GSWQZX23.cjs → chunk-UY6A6TEY.cjs} +2 -2
- package/dist/{chunk-D5KEWWLW.cjs → chunk-UZLRSFGG.cjs} +32 -32
- package/dist/{chunk-DUVOQHQI.cjs → chunk-W2RM764D.cjs} +7 -7
- package/dist/{chunk-NTJE6SM6.cjs → chunk-WI2OTGKC.cjs} +2 -2
- package/dist/{chunk-SFY4UYPY.cjs → chunk-WIHHA54J.cjs} +44 -44
- package/dist/{chunk-YRE3O65E.cjs → chunk-XAA5EZ5T.cjs} +12 -12
- package/dist/{chunk-KLI4OSRA.cjs → chunk-YQGDXH3M.cjs} +2 -2
- package/dist/{chunk-SWR22DOZ.cjs → chunk-Z2DQYKZA.cjs} +89 -89
- package/dist/{chunk-5SVOGLNK.cjs → chunk-ZIFYSLIM.cjs} +6 -6
- package/dist/{cloud-tenants-PVXDI5MU.cjs → cloud-tenants-6ICAL3HO.cjs} +34 -34
- package/dist/components/case-studies/index.cjs +37 -37
- package/dist/components/chat/index.cjs +17 -17
- package/dist/components/contact/index.cjs +25 -25
- package/dist/components/docs/index.cjs +28 -28
- package/dist/components/embeds/index.cjs +25 -25
- package/dist/components/faq/index.cjs +26 -26
- package/dist/components/features/capability-explorer.d.ts +9 -2
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +113 -6
- package/dist/components/features/index.cjs +162 -24
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +1 -0
- package/dist/components/features/scripts/execution-cells.d.ts +65 -0
- package/dist/components/features/scripts/execution-cells.d.ts.map +1 -0
- package/dist/components/features/scripts/execution-cells.js +75 -0
- package/dist/components/features/scripts/execution-status.d.ts +48 -0
- package/dist/components/features/scripts/execution-status.d.ts.map +1 -0
- package/dist/components/features/scripts/execution-status.js +15 -0
- package/dist/components/features/scripts/index.d.ts +20 -0
- package/dist/components/features/scripts/index.d.ts.map +1 -0
- package/dist/components/features/scripts/index.js +59 -0
- package/dist/components/features/scripts/schedule-form/index.d.ts +18 -0
- package/dist/components/features/scripts/schedule-form/index.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/index.js +84 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts +24 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.js +18 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts +57 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.js +169 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts +138 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.js +72 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts +54 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.js +60 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts +29 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +124 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts +52 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +244 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts +35 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.js +58 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts +25 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.js +66 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +77 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +262 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts +288 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.js +165 -0
- package/dist/components/features/scripts/script-cells.d.ts +11 -0
- package/dist/components/features/scripts/script-cells.d.ts.map +1 -0
- package/dist/components/features/scripts/script-cells.js +19 -0
- package/dist/components/features/scripts/script-executions-table.d.ts +58 -0
- package/dist/components/features/scripts/script-executions-table.d.ts.map +1 -0
- package/dist/components/features/scripts/script-executions-table.js +88 -0
- package/dist/components/features/scripts/script-schedules-table.d.ts +38 -0
- package/dist/components/features/scripts/script-schedules-table.d.ts.map +1 -0
- package/dist/components/features/scripts/script-schedules-table.js +71 -0
- package/dist/components/features/scripts/script-shell-badge.d.ts +9 -0
- package/dist/components/features/scripts/script-shell-badge.d.ts.map +1 -0
- package/dist/components/features/scripts/script-shell-badge.js +15 -0
- package/dist/components/features/scripts/scripts-table-columns.d.ts +162 -0
- package/dist/components/features/scripts/scripts-table-columns.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table-columns.js +69 -0
- package/dist/components/features/scripts/scripts-table-shared.d.ts +19 -0
- package/dist/components/features/scripts/scripts-table-shared.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table-shared.js +35 -0
- package/dist/components/features/scripts/scripts-table.d.ts +40 -0
- package/dist/components/features/scripts/scripts-table.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table.js +84 -0
- package/dist/components/features/scripts/scripts-tabs.d.ts +5 -0
- package/dist/components/features/scripts/scripts-tabs.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-tabs.js +10 -0
- package/dist/components/features/scripts/shell-types.d.ts +13 -0
- package/dist/components/features/scripts/shell-types.d.ts.map +1 -0
- package/dist/components/features/scripts/shell-types.js +21 -0
- package/dist/components/help-center-pages/index.cjs +144 -144
- package/dist/components/index.cjs +224 -86
- package/dist/components/meeting-scheduler/index.cjs +74 -74
- package/dist/components/navigation/index.cjs +27 -27
- package/dist/components/onboarding-guides/index.cjs +27 -27
- package/dist/components/product-demo/fixtures/scripts.d.ts +34 -0
- package/dist/components/product-demo/fixtures/scripts.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/scripts.js +123 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +8 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/shared.js +7 -1
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/software-update.js +1 -5
- package/dist/components/product-demo/index.cjs +16 -13
- package/dist/components/product-demo/product-screen.d.ts.map +1 -1
- package/dist/components/product-demo/product-screen.js +2 -1
- package/dist/components/product-demo/registry.d.ts.map +1 -1
- package/dist/components/product-demo/registry.js +2 -1
- package/dist/components/product-demo/screen-keys.cjs +2 -1
- package/dist/components/product-demo/screen-keys.d.ts +1 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -1
- package/dist/components/product-demo/screen-keys.js +2 -1
- package/dist/components/product-demo/screens/scripts.d.ts +11 -0
- package/dist/components/product-demo/screens/scripts.d.ts.map +1 -0
- package/dist/components/product-demo/screens/scripts.js +130 -0
- package/dist/components/related-content/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +30 -30
- package/dist/components/ui/index.cjs +24 -24
- package/dist/{devices-TWEA7XOR.cjs → devices-OFP2IBKN.cjs} +30 -30
- package/dist/{embeddable-chat-6JKKFQEB.cjs → embeddable-chat-4C22MGNC.cjs} +92 -92
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +169 -31
- package/dist/{knowledge-4GQDBNQB.cjs → knowledge-KKBCSNUA.cjs} +29 -29
- package/dist/{logs-EVU6GJHZ.cjs → logs-X2GRNO57.cjs} +46 -46
- package/dist/{policies-OZUEA5YS.cjs → policies-35BXKB6P.cjs} +31 -31
- package/dist/{remote-session-DNFZ5OLY.cjs → remote-session-N4PJB5FW.cjs} +15 -15
- package/dist/scripts-KQYVQOLU.cjs +2112 -0
- package/dist/{software-update-BLIVYOY2.cjs → software-update-ED33WSKT.cjs} +36 -40
- package/dist/{tickets-board-CKZRB6YV.cjs → tickets-board-O753S4ZB.cjs} +31 -31
- package/dist/utils/embed-authed-fetch.d.ts +33 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +3 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/{video-file-player-ZH2ILAPO.cjs → video-file-player-QZ3YOLHO.cjs} +2 -2
- package/package.json +1 -1
- package/src/components/features/capability-explorer.tsx +134 -7
- package/src/components/features/index.ts +1 -0
- package/src/components/features/scripts/execution-cells.tsx +149 -0
- package/src/components/features/scripts/execution-status.ts +42 -0
- package/src/components/features/scripts/index.ts +42 -0
- package/src/components/features/scripts/schedule-form/index.ts +59 -0
- package/src/components/features/scripts/schedule-form/schedule-enums.ts +26 -0
- package/src/components/features/scripts/schedule-form/schedule-form-fields.tsx +249 -0
- package/src/components/features/scripts/schedule-form/schedule-form-types.ts +189 -0
- package/src/components/features/scripts/schedule-form/schedule-interval-input.tsx +121 -0
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +218 -0
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +321 -0
- package/src/components/features/scripts/schedule-form/schedule-script-search-field.tsx +115 -0
- package/src/components/features/scripts/schedule-form/schedule-scripts-field.tsx +97 -0
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +482 -0
- package/src/components/features/scripts/schedule-form/schedule-timing.ts +484 -0
- package/src/components/features/scripts/script-cells.tsx +29 -0
- package/src/components/features/scripts/script-executions-table.tsx +145 -0
- package/src/components/features/scripts/script-schedules-table.tsx +113 -0
- package/src/components/features/scripts/script-shell-badge.tsx +25 -0
- package/src/components/features/scripts/scripts-table-columns.ts +95 -0
- package/src/components/features/scripts/scripts-table-shared.tsx +43 -0
- package/src/components/features/scripts/scripts-table.tsx +124 -0
- package/src/components/features/scripts/scripts-tabs.ts +11 -0
- package/src/components/features/scripts/shell-types.ts +26 -0
- package/src/components/product-demo/fixtures/scripts.ts +186 -0
- package/src/components/product-demo/fixtures/shared.ts +7 -0
- package/src/components/product-demo/fixtures/software-update.ts +1 -7
- package/src/components/product-demo/product-screen.tsx +3 -1
- package/src/components/product-demo/registry.ts +1 -0
- package/src/components/product-demo/screen-keys.ts +1 -0
- package/src/components/product-demo/screens/scripts.tsx +192 -0
- package/src/utils/embed-authed-fetch.ts +42 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4PKORVOXcjs = require('./chunk-4PKORVOX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -11,10 +11,10 @@ var _chunkM7ZSKWT3cjs = require('./chunk-M7ZSKWT3.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkW2RM764Dcjs = require('./chunk-W2RM764D.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -29,7 +29,7 @@ function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl }) {
|
|
|
29
29
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h3", children: fileName || "File" }),
|
|
30
30
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-2 flex items-center justify-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
31
31
|
mimeType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: mimeType }),
|
|
32
|
-
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children:
|
|
32
|
+
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkABLUMGCIcjs.formatFileSize.call(void 0, fileSize) })
|
|
33
33
|
] })
|
|
34
34
|
] }),
|
|
35
35
|
fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunk4PKORVOXcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -57,7 +57,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
57
57
|
{
|
|
58
58
|
variant: "outline",
|
|
59
59
|
size: "small-legacy",
|
|
60
|
-
href:
|
|
60
|
+
href: _chunkW2RM764Dcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
|
|
61
61
|
openInNewTab: true,
|
|
62
62
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-4 w-4" }),
|
|
63
63
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
|
|
@@ -65,7 +65,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
65
65
|
children: "Open in Google Sheets"
|
|
66
66
|
}
|
|
67
67
|
),
|
|
68
|
-
src:
|
|
68
|
+
src: _chunkW2RM764Dcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
|
|
69
69
|
height
|
|
70
70
|
}
|
|
71
71
|
);
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunk4PKORVOXcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQYLIHZKZcjs = require('./chunk-QYLIHZKZ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var _chunkIFS4AH77cjs = require('./chunk-IFS4AH77.cjs');
|
|
|
15
15
|
var _chunk63N4FN5Vcjs = require('./chunk-63N4FN5V.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkUY6A6TEYcjs = require('./chunk-UY6A6TEY.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ var _chunkGSWQZX23cjs = require('./chunk-GSWQZX23.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunk32ASZMTVcjs = require('./chunk-32ASZMTV.cjs');
|
|
@@ -50,12 +50,12 @@ var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
|
|
|
50
50
|
var _chunkCW3ML76Ucjs = require('./chunk-CW3ML76U.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
@@ -224,7 +224,7 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
224
224
|
),
|
|
225
225
|
role: "dialog",
|
|
226
226
|
"aria-modal": "true",
|
|
227
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children })
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
] });
|
|
@@ -363,7 +363,7 @@ var filePlayerLoad = null;
|
|
|
363
363
|
var filePlayerListeners = /* @__PURE__ */ new Set();
|
|
364
364
|
function loadFilePlayer() {
|
|
365
365
|
if (filePlayer || filePlayerLoad) return;
|
|
366
|
-
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-
|
|
366
|
+
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-QZ3YOLHO.cjs"))).then((module) => {
|
|
367
367
|
filePlayer = module.default;
|
|
368
368
|
for (const listener of filePlayerListeners) listener();
|
|
369
369
|
}).catch(() => void 0).finally(() => {
|
|
@@ -870,7 +870,7 @@ function EntityIcon({
|
|
|
870
870
|
size = 20,
|
|
871
871
|
className
|
|
872
872
|
}) {
|
|
873
|
-
const identity =
|
|
873
|
+
const identity = _chunkQYLIHZKZcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _17 => _17.url]) ? null : _optionalChain([icon, 'optionalAccess', _18 => _18.name]));
|
|
874
874
|
if (!_optionalChain([icon, 'optionalAccess', _19 => _19.url]) && _optionalChain([identity, 'optionalAccess', _20 => _20.url])) {
|
|
875
875
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
876
876
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -879,7 +879,7 @@ function EntityIcon({
|
|
|
879
879
|
alt: "",
|
|
880
880
|
width: size,
|
|
881
881
|
height: size,
|
|
882
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
882
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkQYLIHZKZcjs.AGENT_PICTURE_CLASS, className),
|
|
883
883
|
unoptimized: true
|
|
884
884
|
}
|
|
885
885
|
);
|
|
@@ -898,8 +898,8 @@ function EntityIcon({
|
|
|
898
898
|
}
|
|
899
899
|
);
|
|
900
900
|
}
|
|
901
|
-
const Glyph =
|
|
902
|
-
const agentColor = identity ? { color:
|
|
901
|
+
const Glyph = _chunkKTPR66EEcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _22 => _22.name]), () => ( _optionalChain([icon, 'optionalAccess', _23 => _23.name]))), () => ( void 0)));
|
|
902
|
+
const agentColor = identity ? { color: _chunkQYLIHZKZcjs.AGENT_GLYPH_COLOR } : {};
|
|
903
903
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _25 => _25.props]), () => ( {})) });
|
|
904
904
|
}
|
|
905
905
|
|
|
@@ -912,7 +912,7 @@ function escapeRegExp(value) {
|
|
|
912
912
|
function formatDayHead(dateString, style) {
|
|
913
913
|
const ymd = splitYmd(dateString);
|
|
914
914
|
if (!ymd) return dateString;
|
|
915
|
-
return
|
|
915
|
+
return _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
916
916
|
}
|
|
917
917
|
function splitYmd(dateString) {
|
|
918
918
|
const head = dateString.split("T")[0];
|
|
@@ -1367,9 +1367,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
1367
1367
|
|
|
1368
1368
|
// src/utils/program-meta-renderers.ts
|
|
1369
1369
|
var PROGRAM_META_RENDERERS = {
|
|
1370
|
-
date:
|
|
1371
|
-
duration:
|
|
1372
|
-
webinarMeta:
|
|
1370
|
+
date: _chunkABLUMGCIcjs.formatProgramDate,
|
|
1371
|
+
duration: _chunkABLUMGCIcjs.formatDurationCompact,
|
|
1372
|
+
webinarMeta: _chunkABLUMGCIcjs.formatWebinarTimeMeta
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
1375
1375
|
// src/components/chat/utils/chat-nav-resolution.ts
|
|
@@ -1487,11 +1487,11 @@ function EntityMetadataAuthorCell({
|
|
|
1487
1487
|
const fullName = trimmedName || "Unknown Author";
|
|
1488
1488
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 p-4 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
1489
1489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1490
|
-
|
|
1490
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
1491
1491
|
{
|
|
1492
1492
|
src: author.avatar_url || "",
|
|
1493
1493
|
alt: fullName,
|
|
1494
|
-
fallback:
|
|
1494
|
+
fallback: _chunkABLUMGCIcjs.nameInitials.call(void 0, fullName, ""),
|
|
1495
1495
|
size: "md",
|
|
1496
1496
|
variant: "round"
|
|
1497
1497
|
}
|
|
@@ -1515,7 +1515,7 @@ function EntityAuthorCard({
|
|
|
1515
1515
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _33 => _33.full_name]);
|
|
1516
1516
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1517
1517
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1518
|
-
const formatted = publishedAt ?
|
|
1518
|
+
const formatted = publishedAt ? _chunkABLUMGCIcjs.formatDate.call(void 0, publishedAt) : "";
|
|
1519
1519
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1520
1520
|
const showDateCell = !!dateLabel;
|
|
1521
1521
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
@@ -1723,7 +1723,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1723
1723
|
return null;
|
|
1724
1724
|
}
|
|
1725
1725
|
const sizes = sizeClasses[size];
|
|
1726
|
-
const colors =
|
|
1726
|
+
const colors = _chunkKTPR66EEcjs.getPlatformBrandClasses.call(void 0, platform.name);
|
|
1727
1727
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1728
1728
|
"div",
|
|
1729
1729
|
{
|
|
@@ -1737,7 +1737,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1737
1737
|
className
|
|
1738
1738
|
),
|
|
1739
1739
|
children: [
|
|
1740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKTPR66EEcjs.PlatformMark, { platform: platform.name, className: sizes.icon }),
|
|
1741
1741
|
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: sizes.text, children: platform.display_name || platform.name })
|
|
1742
1742
|
]
|
|
1743
1743
|
}
|
|
@@ -1834,7 +1834,7 @@ var SENTENCE_MARK = /([.:?!]+)(?=\s|$)/g;
|
|
|
1834
1834
|
var ONLY_MARKS = /^\s*[.:?!]+\s*$/;
|
|
1835
1835
|
function headingAccentClass(platform, tone = "accent") {
|
|
1836
1836
|
if (!platform) return "text-ods-accent";
|
|
1837
|
-
const classes =
|
|
1837
|
+
const classes = _chunkKTPR66EEcjs.getPlatformBrandClasses.call(void 0, platform);
|
|
1838
1838
|
return tone === "secondary" ? classes.secondaryText : classes.accentText;
|
|
1839
1839
|
}
|
|
1840
1840
|
function accentSentenceMarks(node, platform, tone = "accent") {
|
|
@@ -2184,7 +2184,7 @@ function ProductReleaseCard({
|
|
|
2184
2184
|
] }) }, `${cell.label}-${i}`)),
|
|
2185
2185
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
2186
2186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2187
|
-
|
|
2187
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
2188
2188
|
{
|
|
2189
2189
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
2190
2190
|
alt: effectiveAuthor.full_name,
|
|
@@ -2519,7 +2519,7 @@ function BlogCard({
|
|
|
2519
2519
|
});
|
|
2520
2520
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2521
2521
|
if (size === "sm") {
|
|
2522
|
-
const dateStr2 = post.published_at ?
|
|
2522
|
+
const dateStr2 = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2523
2523
|
const firstCategory = _optionalChain([post, 'access', _57 => _57.categories, 'optionalAccess', _58 => _58.find, 'call', _59 => _59((c) => c && c.name), 'optionalAccess', _60 => _60.name]);
|
|
2524
2524
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk3ATAYP36cjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
2525
2525
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2549,7 +2549,7 @@ function BlogCard({
|
|
|
2549
2549
|
] });
|
|
2550
2550
|
}
|
|
2551
2551
|
if (size === "portrait") {
|
|
2552
|
-
const dateStr2 = post.published_at ?
|
|
2552
|
+
const dateStr2 = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2553
2553
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2554
2554
|
EntityPortraitCard,
|
|
2555
2555
|
{
|
|
@@ -2570,7 +2570,7 @@ function BlogCard({
|
|
|
2570
2570
|
}
|
|
2571
2571
|
);
|
|
2572
2572
|
}
|
|
2573
|
-
const dateStr = post.published_at ?
|
|
2573
|
+
const dateStr = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2574
2574
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, "flex h-full flex-col", className), role: "article", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: "flex h-full flex-col focus:outline-none", children: [
|
|
2575
2575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2576
2576
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -3070,7 +3070,7 @@ function CustomerInterviewCard({
|
|
|
3070
3070
|
// src/components/chat/types/entities/investor-update.ts
|
|
3071
3071
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3072
3072
|
if (!start && !end) return "";
|
|
3073
|
-
const fmt = (d) =>
|
|
3073
|
+
const fmt = (d) => _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _128 => _128.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3074
3074
|
const s = start ? fmt(start) : "?";
|
|
3075
3075
|
const e = end ? fmt(end) : "?";
|
|
3076
3076
|
return `${s} - ${e}`;
|
|
@@ -3317,7 +3317,7 @@ function OnboardingGuideCard({
|
|
|
3317
3317
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3318
3318
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3319
3319
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
3320
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
3320
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkABLUMGCIcjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
3321
3321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3322
3322
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3323
3323
|
{
|
|
@@ -3675,7 +3675,7 @@ function RoadmapCard({
|
|
|
3675
3675
|
]
|
|
3676
3676
|
}
|
|
3677
3677
|
) : null,
|
|
3678
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3678
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUY6A6TEYcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
3679
3679
|
] }),
|
|
3680
3680
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
|
|
3681
3681
|
] })
|
|
@@ -3762,7 +3762,7 @@ function RoadmapCard({
|
|
|
3762
3762
|
)
|
|
3763
3763
|
] }),
|
|
3764
3764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3765
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3765
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUY6A6TEYcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
3766
3766
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3767
3767
|
_chunk2QMBXGMQcjs.Button,
|
|
3768
3768
|
{
|
|
@@ -4023,7 +4023,7 @@ function ProgramEditorialCard({
|
|
|
4023
4023
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
4024
4024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4025
4025
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4026
|
-
|
|
4026
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
4027
4027
|
{
|
|
4028
4028
|
variant: "round",
|
|
4029
4029
|
src: profile.avatarUrl || void 0,
|
|
@@ -4083,7 +4083,7 @@ function ProgramCard({
|
|
|
4083
4083
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4084
4084
|
// default density below renders it as its own styled span instead.
|
|
4085
4085
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4086
|
-
const compactDate =
|
|
4086
|
+
const compactDate = _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4087
4087
|
if (size === "portrait") {
|
|
4088
4088
|
const profile = programItemToStripProfile(item);
|
|
4089
4089
|
const dateMeta = compactMetaLine;
|
|
@@ -4116,7 +4116,7 @@ function ProgramCard({
|
|
|
4116
4116
|
description: item.description,
|
|
4117
4117
|
cover: coverImage || placeholderUrl || null,
|
|
4118
4118
|
eyebrow,
|
|
4119
|
-
date:
|
|
4119
|
+
date: _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4120
4120
|
typeMeta: compactTypeMetaValue,
|
|
4121
4121
|
profile: programItemToStripProfile(item),
|
|
4122
4122
|
playable: isPlayable,
|
|
@@ -4144,7 +4144,7 @@ function ProgramCard({
|
|
|
4144
4144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) })
|
|
4145
4145
|
] });
|
|
4146
4146
|
}
|
|
4147
|
-
const dateFormat =
|
|
4147
|
+
const dateFormat = _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4148
4148
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4149
4149
|
item,
|
|
4150
4150
|
config.type,
|
|
@@ -4175,7 +4175,7 @@ function ProgramCard({
|
|
|
4175
4175
|
return null;
|
|
4176
4176
|
};
|
|
4177
4177
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4178
|
-
const dateLabel = _nullishCoalesce(
|
|
4178
|
+
const dateLabel = _nullishCoalesce(_chunkABLUMGCIcjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4179
4179
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4180
4180
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4181
4181
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4204,10 +4204,10 @@ function ProgramCard({
|
|
|
4204
4204
|
] })
|
|
4205
4205
|
] }),
|
|
4206
4206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
4207
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4207
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABLUMGCIcjs.Tag, { as: "span", label: tag, variant: "outline" }, tag)) })
|
|
4208
4208
|
] }),
|
|
4209
4209
|
hosts.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 md:justify-end", children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4210
|
-
|
|
4210
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
4211
4211
|
{
|
|
4212
4212
|
variant: "round",
|
|
4213
4213
|
src: host.avatar || void 0,
|
|
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
|
|
|
10
10
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkUY6A6TEYcjs = require('./chunk-UY6A6TEY.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -217,7 +217,7 @@ var Modal = _react.forwardRef.call(void 0,
|
|
|
217
217
|
),
|
|
218
218
|
role: "dialog",
|
|
219
219
|
"aria-modal": "true",
|
|
220
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children }) })
|
|
221
221
|
}
|
|
222
222
|
)
|
|
223
223
|
]
|
|
@@ -446,7 +446,7 @@ function SlashCommandSuggestions({
|
|
|
446
446
|
className
|
|
447
447
|
),
|
|
448
448
|
children: commands.map((cmd, idx) => {
|
|
449
|
-
const Icon =
|
|
449
|
+
const Icon = _chunkKTPR66EEcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
450
450
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
451
451
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
452
452
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -542,7 +542,7 @@ function buildChipEl(token, label, icon) {
|
|
|
542
542
|
span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
|
|
543
543
|
span.innerHTML = _server.renderToStaticMarkup.call(void 0,
|
|
544
544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
545
|
-
|
|
545
|
+
_chunkABLUMGCIcjs.Tag,
|
|
546
546
|
{
|
|
547
547
|
as: "span",
|
|
548
548
|
variant: "badge",
|
|
@@ -930,7 +930,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
930
930
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
931
931
|
children: [
|
|
932
932
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
933
|
+
_chunkUY6A6TEYcjs.AvatarStack,
|
|
934
934
|
{
|
|
935
935
|
people: awaitingTeam,
|
|
936
936
|
total: awaitingTeamCount,
|
|
@@ -1097,7 +1097,7 @@ ChatInput.displayName = "ChatInput";
|
|
|
1097
1097
|
|
|
1098
1098
|
// src/utils/format-date.ts
|
|
1099
1099
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1100
|
-
var render = (input, fields) =>
|
|
1100
|
+
var render = (input, fields) => _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, input, _chunkABLUMGCIcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1101
1101
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1102
1102
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1103
1103
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
6
6
|
|
|
7
7
|
// src/components/product-demo/fixtures/devices.ts
|
|
8
8
|
function device(cast, demo, type, status, lastSeenMinutesAgo) {
|
|
@@ -15,7 +15,7 @@ function device(cast, demo, type, status, lastSeenMinutesAgo) {
|
|
|
15
15
|
status,
|
|
16
16
|
type,
|
|
17
17
|
osType: demo.os,
|
|
18
|
-
last_seen:
|
|
18
|
+
last_seen: _chunkDKOLQPE7cjs.demoMinutesAgo.call(void 0, lastSeenMinutesAgo),
|
|
19
19
|
organizationId: organization.id,
|
|
20
20
|
organization: organization.name,
|
|
21
21
|
organizationImageUrl: organization.logoUrl
|
|
@@ -31,14 +31,14 @@ function countBy(devices, pick) {
|
|
|
31
31
|
}
|
|
32
32
|
function buildDevicesFixture(cast) {
|
|
33
33
|
const devices = [
|
|
34
|
-
device(cast,
|
|
35
|
-
device(cast,
|
|
36
|
-
device(cast,
|
|
37
|
-
device(cast,
|
|
38
|
-
device(cast,
|
|
39
|
-
device(cast,
|
|
40
|
-
device(cast,
|
|
41
|
-
device(cast,
|
|
34
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.frontDesk, "laptop", "ONLINE", 2),
|
|
35
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.reception, "desktop", "OFFLINE", 190),
|
|
36
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.mayaAir, "laptop", "ONLINE", 1),
|
|
37
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.buildServer, "server", "ONLINE", 1),
|
|
38
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.leoThinkPad, "laptop", "OFFLINE", 64),
|
|
39
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.samT14, "laptop", "ONLINE", 3),
|
|
40
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.jenSurface, "laptop", "ONLINE", 6),
|
|
41
|
+
device(cast, _chunkDKOLQPE7cjs.DEMO_DEVICES.priyaXps, "laptop", "ONLINE", 2)
|
|
42
42
|
];
|
|
43
43
|
const deviceFilters = {
|
|
44
44
|
statuses: countBy(devices, (row) => row.status),
|
|
@@ -5,7 +5,7 @@ var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -248,7 +248,7 @@ var disabledTagClasses = [
|
|
|
248
248
|
];
|
|
249
249
|
function TagLabel({ label, labelClassName }) {
|
|
250
250
|
const isString = typeof label === "string";
|
|
251
|
-
const { ref, isTruncated } =
|
|
251
|
+
const { ref, isTruncated } = _chunkKTPR66EEcjs.useIsTruncated.call(void 0, isString ? label : null);
|
|
252
252
|
if (!isString) {
|
|
253
253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate", labelClassName), children: label });
|
|
254
254
|
}
|
|
@@ -790,7 +790,7 @@ var SquareAvatar = _react3.memo.call(void 0,
|
|
|
790
790
|
style,
|
|
791
791
|
...props
|
|
792
792
|
}, ref) => {
|
|
793
|
-
const resolvedSrc =
|
|
793
|
+
const resolvedSrc = _chunkKTPR66EEcjs.useAuthedImageSrc.call(void 0, src);
|
|
794
794
|
const sizeClasses = {
|
|
795
795
|
// xs (24px): dense card meta rows — avatar stacks on delivery/
|
|
796
796
|
// roadmap cards. Part of the shared scale so no caller ever
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
6
6
|
|
|
7
7
|
// src/utils/common.ts
|
|
8
8
|
var _clsx = require('clsx');
|
|
@@ -69,9 +69,9 @@ var _reactquery = require('@tanstack/react-query');
|
|
|
69
69
|
|
|
70
70
|
// src/utils/embed-content-fetch.ts
|
|
71
71
|
var contentFetch = (input, init) => {
|
|
72
|
-
if (!
|
|
72
|
+
if (!_chunkDGFDBPO7cjs.hasEmbedAuthAdapter.call(void 0, )) return fetch(input, init);
|
|
73
73
|
const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
74
|
-
return
|
|
74
|
+
return _chunkDGFDBPO7cjs.embedAuthedFetch.call(void 0, url, init);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/hooks/use-agent-identities.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOBODY7F3cjs = require('./chunk-OBODY7F3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
|
|
|
116
116
|
},
|
|
117
117
|
"aria-hidden": isPaginationDisabled,
|
|
118
118
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
119
|
-
|
|
119
|
+
_chunkOBODY7F3cjs.UnifiedPagination,
|
|
120
120
|
{
|
|
121
121
|
currentPage: displayCurrentPage,
|
|
122
122
|
totalPages: displayTotalPages,
|
|
@@ -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 _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/ui/use-debounce.ts
|
|
7
7
|
var _react = require('react');
|
|
@@ -131,10 +131,10 @@ function useSuppressCloneFocus(active) {
|
|
|
131
131
|
// src/hooks/ui/use-prefers-reduced-motion.ts
|
|
132
132
|
var PREFERS_REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
133
133
|
function usePrefersReducedMotion() {
|
|
134
|
-
return
|
|
134
|
+
return _chunkKTPR66EEcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
135
135
|
}
|
|
136
136
|
function usePrefersReducedMotionState() {
|
|
137
|
-
return
|
|
137
|
+
return _chunkKTPR66EEcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// src/hooks/ui/use-in-view.ts
|
|
@@ -232,14 +232,15 @@ function dedupedRefresh() {
|
|
|
232
232
|
return inFlightRefresh;
|
|
233
233
|
}
|
|
234
234
|
async function fetchWithRefresh(url, init, baseHeaders, isRetry) {
|
|
235
|
-
const { url: authedUrl, headers } = applyProxyAuth(url, { ...baseHeaders });
|
|
236
235
|
const adapter2 = getRegisteredAuthAdapter();
|
|
237
|
-
|
|
236
|
+
await _optionalChain([adapter2, 'optionalAccess', _23 => _23.beforeRequest, 'optionalCall', _24 => _24()]);
|
|
237
|
+
const { url: authedUrl, headers } = applyProxyAuth(url, { ...baseHeaders });
|
|
238
|
+
if (_optionalChain([adapter2, 'optionalAccess', _25 => _25.getHeaders])) {
|
|
238
239
|
for (const [k, v] of Object.entries(adapter2.getHeaders())) {
|
|
239
240
|
if (v !== void 0) headers[k] = v;
|
|
240
241
|
}
|
|
241
242
|
}
|
|
242
|
-
const credentials = _nullishCoalesce(_nullishCoalesce(_optionalChain([adapter2, 'optionalAccess',
|
|
243
|
+
const credentials = _nullishCoalesce(_nullishCoalesce(_optionalChain([adapter2, 'optionalAccess', _26 => _26.credentials]), () => ( init.credentials)), () => ( "same-origin"));
|
|
243
244
|
const response = await fetch(authedUrl, {
|
|
244
245
|
...init,
|
|
245
246
|
headers,
|
|
@@ -250,7 +251,8 @@ async function fetchWithRefresh(url, init, baseHeaders, isRetry) {
|
|
|
250
251
|
// `SameSite=None` must be configured server-side for that to work).
|
|
251
252
|
credentials
|
|
252
253
|
});
|
|
253
|
-
|
|
254
|
+
await _optionalChain([adapter2, 'optionalAccess', _27 => _27.onResponse, 'optionalCall', _28 => _28(response)]);
|
|
255
|
+
if (response.status === 401 && !isRetry && _optionalChain([adapter2, 'optionalAccess', _29 => _29.refresh])) {
|
|
254
256
|
const refreshed = await dedupedRefresh();
|
|
255
257
|
if (refreshed) {
|
|
256
258
|
return fetchWithRefresh(url, init, baseHeaders, true);
|
|
@@ -274,7 +276,7 @@ function assertSameOrigin(url) {
|
|
|
274
276
|
);
|
|
275
277
|
}
|
|
276
278
|
if (target.origin !== pageOrigin) {
|
|
277
|
-
if (_optionalChain([getRegisteredAuthAdapter, 'call',
|
|
279
|
+
if (_optionalChain([getRegisteredAuthAdapter, 'call', _30 => _30(), 'optionalAccess', _31 => _31.allowedOrigins, 'optionalAccess', _32 => _32.includes, 'call', _33 => _33(target.origin)])) {
|
|
278
280
|
return;
|
|
279
281
|
}
|
|
280
282
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -25,9 +25,14 @@ var DEMO_DEVICES = {
|
|
|
25
25
|
leoThinkPad: { id: "device-leo", hostname: "LEO-THINKPAD", os: "WINDOWS", organization: "harbor" },
|
|
26
26
|
buildServer: { id: "device-build", hostname: "BUILD-SRV-01", os: "LINUX", organization: "acme" },
|
|
27
27
|
jenSurface: { id: "device-jen", hostname: "JEN-SURFACE", os: "WINDOWS", organization: "acme" },
|
|
28
|
-
priyaXps: { id: "device-priya", hostname: "PRIYA-XPS", os: "WINDOWS", organization: "northbridge" }
|
|
28
|
+
priyaXps: { id: "device-priya", hostname: "PRIYA-XPS", os: "WINDOWS", organization: "northbridge" },
|
|
29
|
+
warehouse: { id: "device-warehouse", hostname: "WAREHOUSE-PC03", os: "WINDOWS", organization: "acme" }
|
|
29
30
|
};
|
|
30
31
|
var DEMO_NOW = "2026-10-06T14:05:00.000Z";
|
|
32
|
+
function demoDay() {
|
|
33
|
+
const [year, month, day] = DEMO_NOW.slice(0, 10).split("-").map(Number);
|
|
34
|
+
return new Date(year, month - 1, day);
|
|
35
|
+
}
|
|
31
36
|
function demoMinutesAgo(minutes) {
|
|
32
37
|
return new Date(Date.parse(DEMO_NOW) - minutes * 6e4).toISOString();
|
|
33
38
|
}
|
|
@@ -38,4 +43,5 @@ function demoMinutesAgo(minutes) {
|
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
|
|
47
|
+
exports.DEMO_ORGANIZATIONS = DEMO_ORGANIZATIONS; exports.DEMO_PEOPLE = DEMO_PEOPLE; exports.DEMO_DEVICES = DEMO_DEVICES; exports.DEMO_NOW = DEMO_NOW; exports.demoDay = demoDay; exports.demoMinutesAgo = demoMinutesAgo;
|