@flamingo-stack/openframe-frontend-core 0.0.730 → 0.0.731
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/aicpa-soc2-logo-icon-MLDYZA5S.cjs +7 -0
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-XA436AER.cjs → chunk-25H2SZH7.cjs} +4 -4
- package/dist/{chunk-5RMCAY6Y.cjs → chunk-27TMRMOM.cjs} +6 -4
- package/dist/{chunk-SKDQ2SLJ.cjs → chunk-2UNQJVYN.cjs} +670 -667
- package/dist/{chunk-73MDSN5A.cjs → chunk-2WXLQ5R5.cjs} +2 -2
- package/dist/{chunk-YPM3ALIW.cjs → chunk-32ENYVFA.cjs} +42 -42
- package/dist/{chunk-CLA3UGKT.cjs → chunk-3SWLL4IM.cjs} +12 -12
- package/dist/{chunk-FGA6T2XT.cjs → chunk-4YPV4OI4.cjs} +73 -73
- package/dist/{chunk-2T2TH5DF.cjs → chunk-52HFGZCI.cjs} +14 -12
- package/dist/{chunk-PGFR4CDB.cjs → chunk-53XZ6MJ5.cjs} +40 -40
- package/dist/{chunk-4XQXTQUK.cjs → chunk-6N5NQRQA.cjs} +8 -6
- package/dist/{chunk-XSPL7RXL.cjs → chunk-6V4GEE55.cjs} +10 -10
- package/dist/{chunk-5KLNEFZZ.cjs → chunk-7DUXR4HL.cjs} +3 -3
- package/dist/{chunk-AIW4KZQT.cjs → chunk-A4HNF4MP.cjs} +89 -89
- package/dist/{chunk-2I3XU2IB.cjs → chunk-BFHLGEJK.cjs} +45 -45
- package/dist/{chunk-FRET5WH3.cjs → chunk-CKR42OBK.cjs} +4 -2
- package/dist/{chunk-A7T3P5Q5.cjs → chunk-CLILWI6O.cjs} +32 -32
- package/dist/{chunk-GJPAS4RJ.cjs → chunk-CT342EJU.cjs} +6 -4
- package/dist/{chunk-YHFXQ5OR.cjs → chunk-E3N24573.cjs} +9 -9
- package/dist/{chunk-24KWUFWA.cjs → chunk-FKKUQK4C.cjs} +38 -38
- package/dist/{chunk-UG7Q3HQH.cjs → chunk-GID62YEN.cjs} +3 -3
- package/dist/{chunk-NDHQ7JLZ.cjs → chunk-GKHWXI25.cjs} +11 -15
- package/dist/{chunk-KMMV562E.cjs → chunk-HEOD765R.cjs} +18 -18
- package/dist/{chunk-66QTEDJL.cjs → chunk-HI7EFAFQ.cjs} +26 -26
- package/dist/{chunk-CD5YBUJK.cjs → chunk-HLIJ3U2T.cjs} +20 -20
- package/dist/{chunk-4NFVFTD6.cjs → chunk-HY2KTQSL.cjs} +238 -238
- package/dist/{chunk-YJXUJWHN.cjs → chunk-J7SZOZOS.cjs} +28 -26
- package/dist/{chunk-6NKLR5QN.cjs → chunk-JK75ZZP3.cjs} +59 -59
- package/dist/{chunk-JNDR5N3T.cjs → chunk-JPZ4Y6X3.cjs} +93 -93
- package/dist/{chunk-NXCV35RR.cjs → chunk-KLXHCNDC.cjs} +3 -3
- package/dist/{chunk-6KD2XUQZ.cjs → chunk-LRQITIEC.cjs} +28 -26
- package/dist/chunk-MANNIJ42.cjs +967 -0
- package/dist/{chunk-TW2SES5W.cjs → chunk-NCGAP3U4.cjs} +4 -2
- package/dist/{chunk-DINGZJ37.cjs → chunk-NYY25425.cjs} +2 -2
- package/dist/{chunk-HVZBIXCZ.cjs → chunk-O2RPIGSG.cjs} +6 -4
- package/dist/{chunk-UYKL2AXE.cjs → chunk-OKW5OAFJ.cjs} +8 -6
- package/dist/{chunk-YRZB4BMZ.cjs → chunk-QP6QS3YU.cjs} +44 -44
- package/dist/{chunk-VQMWBQUJ.cjs → chunk-R4QMR6S4.cjs} +14 -12
- package/dist/{chunk-2V62Y67F.cjs → chunk-RAHRDJBP.cjs} +4 -4
- package/dist/{chunk-3YHVQ34L.cjs → chunk-RBOIGJYF.cjs} +89 -91
- package/dist/{chunk-NB5BYOTM.cjs → chunk-RC32WBPL.cjs} +6 -4
- package/dist/{chunk-TI2IFCZG.cjs → chunk-TH4N726A.cjs} +17 -17
- package/dist/{chunk-WTURHKM2.cjs → chunk-XDBHGWFH.cjs} +14 -14
- package/dist/{chunk-P4YHBHP4.cjs → chunk-Y4QRK3CB.cjs} +7 -7
- package/dist/{chunk-Q5GR7LKV.cjs → chunk-YDGBRI3Y.cjs} +15 -15
- package/dist/{chunk-CDLDAQBA.cjs → chunk-YJFN2W7A.cjs} +7 -7
- package/dist/{chunk-UHJG2BDI.cjs → chunk-YUXRIR45.cjs} +3 -3
- package/dist/{chunk-L7Y7KDTM.cjs → chunk-ZV6473Z4.cjs} +20 -20
- package/dist/{chunk-GVTCHXW2.cjs → chunk-ZWUIRQNY.cjs} +28 -26
- package/dist/clickup-icon-3SETH2MM.cjs +7 -0
- package/dist/clickup-logo-icon-DJKBEFMR.cjs +7 -0
- package/dist/{cloud-tenants-VV6UQE7J.cjs → cloud-tenants-SC4FNAC2.cjs} +34 -34
- package/dist/components/case-studies/index.cjs +47 -47
- package/dist/components/chat/entity-cards/entity-portrait-card.js +1 -1
- package/dist/components/chat/index.cjs +28 -28
- package/dist/components/chat/types/entities/program-types.d.ts +1 -23
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.js +1 -9
- package/dist/components/chat/utils/icon-loading.d.ts +35 -2
- package/dist/components/chat/utils/icon-loading.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-loading.js +31 -9
- package/dist/components/contact/index.cjs +35 -35
- package/dist/components/docs/index.cjs +38 -38
- package/dist/components/embeds/index.cjs +35 -35
- package/dist/components/faq/index.cjs +35 -35
- package/dist/components/features/index.cjs +36 -34
- package/dist/components/features/video-bites-shared.cjs +8 -0
- package/dist/components/features/video-bites-shared.d.ts +25 -0
- package/dist/components/features/video-bites-shared.d.ts.map +1 -1
- package/dist/components/features/video-bites-shared.js +8 -0
- package/dist/components/help-center-pages/index.cjs +150 -150
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/clickup-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/elestio-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.js +28 -26
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/google-sheets-icon.js +4 -2
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.js +8 -6
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/brand-logos/winget-logo-icon.js +14 -12
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.js +6 -4
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/compliance-logos/eu-logo-icon.js +11 -15
- package/dist/components/icons-v2-generated/icon-names.d.ts +5 -0
- package/dist/components/icons-v2-generated/icon-names.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/icon-names.js +10 -0
- package/dist/components/icons-v2-generated/index.cjs +15 -15
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/interface/empty-vendor-icon.js +6 -4
- package/dist/components/index.cjs +91 -91
- package/dist/components/meeting-scheduler/index.cjs +93 -93
- package/dist/components/navigation/index.cjs +37 -37
- package/dist/components/onboarding-guides/index.cjs +37 -37
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/shared/product-release/product-release-card.js +1 -1
- package/dist/components/tickets/index.cjs +38 -38
- package/dist/components/ui/index.cjs +34 -34
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +4 -1
- package/dist/{devices-X72Z4QMT.cjs → devices-7MHSJNXS.cjs} +35 -35
- package/dist/elestio-logo-grey-icon-DV7P3JLT.cjs +7 -0
- package/dist/elestio-logo-icon-34ILAIDI.cjs +7 -0
- package/dist/{embeddable-chat-TETIRLQD.cjs → embeddable-chat-VPIG3F7E.cjs} +103 -103
- package/dist/empty-vendor-icon-XZYOZ4EP.cjs +7 -0
- package/dist/eu-logo-icon-EYOX3UC7.cjs +7 -0
- package/dist/gemini-logo-icon-DNACTHIK.cjs +7 -0
- package/dist/google-gemini-icon-TZHJZ4IQ.cjs +7 -0
- package/dist/google-gemini-logo-icon-4XQVV5NN.cjs +7 -0
- package/dist/google-sheets-icon-UAAEBTR7.cjs +7 -0
- package/dist/hooks/index.cjs +8 -8
- package/dist/{chunk-SI24RMI5.cjs → icon-loaders-OLGJZGRP.cjs} +16 -950
- package/dist/index.cjs +40 -40
- package/dist/{knowledge-HWBSPQ7M.cjs → knowledge-4DREGSOZ.cjs} +35 -35
- package/dist/{logs-IZ4QTHPI.cjs → logs-BWXNT2KP.cjs} +42 -42
- package/dist/meshcentral-logo-grey-icon-UCRYV3IC.cjs +7 -0
- package/dist/meshcentral-logo-icon-76NSLOXF.cjs +7 -0
- package/dist/{policies-VHQR7JR5.cjs → policies-MGFUI23M.cjs} +38 -38
- package/dist/{remote-session-IR3YCXSR.cjs → remote-session-O6QGXV2N.cjs} +22 -22
- package/dist/schemas/contact-schema.cjs +31 -11
- package/dist/schemas/contact-schema.d.ts +1 -1
- package/dist/schemas/contact-schema.d.ts.map +1 -1
- package/dist/schemas/contact-schema.js +1 -1
- package/dist/schemas/meeting-booking-schema.cjs +34 -14
- package/dist/schemas/meeting-booking-schema.d.ts +1 -1
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +1 -1
- package/dist/{software-update-QLOVC6EX.cjs → software-update-7LF7XEYC.cjs} +38 -38
- package/dist/{tickets-board-YONLQB6F.cjs → tickets-board-KNXK747O.cjs} +25 -25
- package/dist/utils/index.cjs +2004 -1959
- package/dist/winget-logo-icon-GBS342G4.cjs +7 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +1 -1
- package/src/components/chat/types/entities/program-types.ts +4 -30
- package/src/components/chat/utils/icon-loading.tsx +50 -9
- package/src/components/features/video-bites-shared.ts +30 -0
- package/src/components/icons-v2-generated/brand-logos/clickup-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/clickup-logo-icon.tsx +7 -5
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-grey-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/elestio-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/brand-logos/gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-gemini-logo-icon.tsx +29 -27
- package/src/components/icons-v2-generated/brand-logos/google-sheets-icon.tsx +5 -3
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-grey-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/meshcentral-logo-icon.tsx +9 -7
- package/src/components/icons-v2-generated/brand-logos/winget-logo-icon.tsx +15 -13
- package/src/components/icons-v2-generated/compliance-logos/aicpa-soc2-logo-icon.tsx +92 -90
- package/src/components/icons-v2-generated/compliance-logos/eu-logo-icon.tsx +51 -52
- package/src/components/icons-v2-generated/icon-names.ts +11 -0
- package/src/components/icons-v2-generated/interface/empty-vendor-icon.tsx +7 -5
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/photo-wall.tsx +6 -0
- package/src/schemas/contact-schema.ts +1 -1
- package/src/schemas/meeting-booking-schema.ts +1 -1
- package/src/styles/fonts.css +26 -0
- package/src/styles/ods-design-tokens.css +4 -2
- package/dist/aicpa-soc2-logo-icon-CJ5JRV6J.cjs +0 -7
- package/dist/clickup-icon-CBBUZUVQ.cjs +0 -7
- package/dist/clickup-logo-icon-CGDKKISS.cjs +0 -7
- package/dist/elestio-logo-grey-icon-Y5OFW4OO.cjs +0 -7
- package/dist/elestio-logo-icon-X7TTQAYP.cjs +0 -7
- package/dist/empty-vendor-icon-3RKCZUUR.cjs +0 -7
- package/dist/eu-logo-icon-N7QVPGG3.cjs +0 -7
- package/dist/gemini-logo-icon-QOPGATSZ.cjs +0 -7
- package/dist/google-gemini-icon-7GWWF6O6.cjs +0 -7
- package/dist/google-gemini-logo-icon-Z3GHPMVN.cjs +0 -7
- package/dist/google-sheets-icon-7MJ3LV4P.cjs +0 -7
- package/dist/meshcentral-logo-grey-icon-3VFJQMV2.cjs +0 -7
- package/dist/meshcentral-logo-icon-MDVBWMP5.cjs +0 -7
- package/dist/winget-logo-icon-XVZJ4QDM.cjs +0 -7
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkHLIJ3U2Tcjs = require('./chunk-HLIJ3U2T.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ var _chunkCD5YBUJKcjs = require('./chunk-CD5YBUJK.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkRAHRDJBPcjs = require('./chunk-RAHRDJBP.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -34,7 +34,7 @@ var _chunk2V62Y67Fcjs = require('./chunk-2V62Y67F.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkFKKUQK4Ccjs = require('./chunk-FKKUQK4C.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -49,11 +49,11 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkBFHLGEJKcjs = require('./chunk-BFHLGEJK.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkGID62YENcjs = require('./chunk-GID62YEN.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
@@ -104,7 +104,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
var
|
|
107
|
+
var _chunkA4HNF4MPcjs = require('./chunk-A4HNF4MP.cjs');
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
@@ -127,7 +127,7 @@ var _chunkAIW4KZQTcjs = require('./chunk-AIW4KZQT.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkHY2KTQSLcjs = require('./chunk-HY2KTQSL.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -144,7 +144,7 @@ var _chunk4NFVFTD6cjs = require('./chunk-4NFVFTD6.cjs');
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
var
|
|
147
|
+
var _chunkHEOD765Rcjs = require('./chunk-HEOD765R.cjs');
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
@@ -156,7 +156,7 @@ var _chunkKMMV562Ecjs = require('./chunk-KMMV562E.cjs');
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
var
|
|
159
|
+
var _chunkE3N24573cjs = require('./chunk-E3N24573.cjs');
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
@@ -340,7 +340,7 @@ var _chunkRJPMPDAKcjs = require('./chunk-RJPMPDAK.cjs');
|
|
|
340
340
|
var _chunkSFO4QWPAcjs = require('./chunk-SFO4QWPA.cjs');
|
|
341
341
|
|
|
342
342
|
|
|
343
|
-
var
|
|
343
|
+
var _chunkGKHWXI25cjs = require('./chunk-GKHWXI25.cjs');
|
|
344
344
|
|
|
345
345
|
|
|
346
346
|
var _chunkSWHUL32Wcjs = require('./chunk-SWHUL32W.cjs');
|
|
@@ -415,7 +415,7 @@ var _chunkOWIEQOCRcjs = require('./chunk-OWIEQOCR.cjs');
|
|
|
415
415
|
var _chunk7AAW6L5Ucjs = require('./chunk-7AAW6L5U.cjs');
|
|
416
416
|
|
|
417
417
|
|
|
418
|
-
var
|
|
418
|
+
var _chunkO2RPIGSGcjs = require('./chunk-O2RPIGSG.cjs');
|
|
419
419
|
|
|
420
420
|
|
|
421
421
|
var _chunkIYHH5EIOcjs = require('./chunk-IYHH5EIO.cjs');
|
|
@@ -428,15 +428,15 @@ var _chunkXIBCMGBWcjs = require('./chunk-XIBCMGBW.cjs');
|
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
|
|
431
|
-
var
|
|
431
|
+
var _chunkYJFN2W7Acjs = require('./chunk-YJFN2W7A.cjs');
|
|
432
432
|
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
|
|
436
|
-
var
|
|
436
|
+
var _chunkYUXRIR45cjs = require('./chunk-YUXRIR45.cjs');
|
|
437
437
|
|
|
438
438
|
|
|
439
|
-
var
|
|
439
|
+
var _chunk2WXLQ5R5cjs = require('./chunk-2WXLQ5R5.cjs');
|
|
440
440
|
|
|
441
441
|
|
|
442
442
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
@@ -466,14 +466,14 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
466
466
|
|
|
467
467
|
|
|
468
468
|
|
|
469
|
-
var
|
|
469
|
+
var _chunkRBOIGJYFcjs = require('./chunk-RBOIGJYF.cjs');
|
|
470
470
|
|
|
471
471
|
|
|
472
472
|
|
|
473
473
|
var _chunkYADG5Q7Ccjs = require('./chunk-YADG5Q7C.cjs');
|
|
474
474
|
|
|
475
475
|
|
|
476
|
-
var
|
|
476
|
+
var _chunkNYY25425cjs = require('./chunk-NYY25425.cjs');
|
|
477
477
|
|
|
478
478
|
|
|
479
479
|
|
|
@@ -485,7 +485,7 @@ var _chunkDINGZJ37cjs = require('./chunk-DINGZJ37.cjs');
|
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
|
|
488
|
-
var
|
|
488
|
+
var _chunkKLXHCNDCcjs = require('./chunk-KLXHCNDC.cjs');
|
|
489
489
|
|
|
490
490
|
|
|
491
491
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
@@ -500,7 +500,7 @@ var _chunkCW3ML76Ucjs = require('./chunk-CW3ML76U.cjs');
|
|
|
500
500
|
|
|
501
501
|
|
|
502
502
|
|
|
503
|
-
var
|
|
503
|
+
var _chunk7DUXR4HLcjs = require('./chunk-7DUXR4HL.cjs');
|
|
504
504
|
|
|
505
505
|
|
|
506
506
|
|
|
@@ -509,7 +509,7 @@ var _chunk5KLNEFZZcjs = require('./chunk-5KLNEFZZ.cjs');
|
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
|
|
512
|
-
var
|
|
512
|
+
var _chunkMANNIJ42cjs = require('./chunk-MANNIJ42.cjs');
|
|
513
513
|
|
|
514
514
|
|
|
515
515
|
var _chunkVOX4E6AXcjs = require('./chunk-VOX4E6AX.cjs');
|
|
@@ -630,7 +630,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
630
630
|
var useTheme = _nextthemes.useTheme;
|
|
631
631
|
function useThemeToggle() {
|
|
632
632
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
633
|
-
const mounted =
|
|
633
|
+
const mounted = _chunkHY2KTQSLcjs.useIsHydrated.call(void 0, );
|
|
634
634
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
635
635
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
636
636
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -767,7 +767,7 @@ function AnnouncementBarView({
|
|
|
767
767
|
style
|
|
768
768
|
}) {
|
|
769
769
|
const handleContentClick = onContentClick ? () => {
|
|
770
|
-
if (!window.matchMedia(
|
|
770
|
+
if (!window.matchMedia(_chunkMANNIJ42cjs.breakpoints.md).matches) onContentClick();
|
|
771
771
|
} : void 0;
|
|
772
772
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-h-11 w-full max-w-full items-center", className), style, children: [
|
|
773
773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -838,7 +838,7 @@ function TimezoneSelect({
|
|
|
838
838
|
}) {
|
|
839
839
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
840
840
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
841
|
-
|
|
841
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
842
842
|
{
|
|
843
843
|
className,
|
|
844
844
|
value: value || null,
|
|
@@ -1018,7 +1018,7 @@ var _reactpopover = require('@radix-ui/react-popover'); var Popover = _interopRe
|
|
|
1018
1018
|
|
|
1019
1019
|
var _reactdaypicker = require('react-day-picker');
|
|
1020
1020
|
|
|
1021
|
-
var defaultFormatDate = (date) =>
|
|
1021
|
+
var defaultFormatDate = (date) => _chunkKLXHCNDCcjs.formatDateWithTimezone.call(void 0, date, _chunkKLXHCNDCcjs.VIEWER_TIMEZONE, "numeric");
|
|
1022
1022
|
var formatDateRange = (range, formatFn) => {
|
|
1023
1023
|
if (!_optionalChain([range, 'optionalAccess', _5 => _5.from])) return "";
|
|
1024
1024
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1054,7 +1054,7 @@ function DatePickerCalendar({
|
|
|
1054
1054
|
onMonthChange
|
|
1055
1055
|
}) {
|
|
1056
1056
|
const today = /* @__PURE__ */ new Date();
|
|
1057
|
-
const isMdUp = _nullishCoalesce(
|
|
1057
|
+
const isMdUp = _nullishCoalesce(_chunkMANNIJ42cjs.useMdUp.call(void 0, ), () => ( true));
|
|
1058
1058
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1059
1059
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1060
1060
|
mode === "range" ? selected : void 0
|
|
@@ -1219,7 +1219,7 @@ function DatePickerCalendar({
|
|
|
1219
1219
|
};
|
|
1220
1220
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1221
1221
|
const handleNextMonth = () => shiftMonth(1);
|
|
1222
|
-
const formatMonthYear = (date) =>
|
|
1222
|
+
const formatMonthYear = (date) => _chunkKLXHCNDCcjs.formatDateWithTimezone.call(void 0, date, _chunkKLXHCNDCcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1223
1223
|
const getSecondMonth = (date) => {
|
|
1224
1224
|
const next = new Date(date);
|
|
1225
1225
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -1656,20 +1656,20 @@ function DatePickerInput(props) {
|
|
|
1656
1656
|
) })
|
|
1657
1657
|
] }),
|
|
1658
1658
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1659
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1659
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: "HH" }) }),
|
|
1661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: h, children: h }, h)) })
|
|
1662
1662
|
] }),
|
|
1663
1663
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1664
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1664
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: "MM" }) }),
|
|
1666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: m, children: m }, m)) })
|
|
1667
1667
|
] }),
|
|
1668
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1670
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1668
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: "AM" }) }),
|
|
1670
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: [
|
|
1671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "PM", children: "PM" })
|
|
1673
1673
|
] })
|
|
1674
1674
|
] })
|
|
1675
1675
|
] })
|
|
@@ -1811,9 +1811,9 @@ function DatePickerInputSimple(props) {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
) })
|
|
1813
1813
|
] }),
|
|
1814
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1815
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1814
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1817
1817
|
] })
|
|
1818
1818
|
] });
|
|
1819
1819
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1832,14 +1832,14 @@ function DateFilterPanel({
|
|
|
1832
1832
|
className
|
|
1833
1833
|
}) {
|
|
1834
1834
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1835
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1835
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "gap-2", "aria-label": "Sort direction", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1837
1837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) })
|
|
1839
1839
|
] }) }),
|
|
1840
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1840
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: [
|
|
1841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "desc", children: descLabel })
|
|
1843
1843
|
] })
|
|
1844
1844
|
] }),
|
|
1845
1845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2116,7 +2116,7 @@ function Value({ value, depth }) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
if (typeof value === "string") {
|
|
2118
2118
|
if (ISO_DATE.test(value)) {
|
|
2119
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2119
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkHEOD765Rcjs.formatRelativeTime.call(void 0, value) });
|
|
2120
2120
|
}
|
|
2121
2121
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2122
2122
|
}
|
|
@@ -2182,7 +2182,7 @@ var ProgressBar = ({
|
|
|
2182
2182
|
mobileHeight = 8,
|
|
2183
2183
|
inverted = false
|
|
2184
2184
|
}) => {
|
|
2185
|
-
const isMdUp = _nullishCoalesce(
|
|
2185
|
+
const isMdUp = _nullishCoalesce(_chunk7DUXR4HLcjs.useContentMdUp.call(void 0, ), () => ( true));
|
|
2186
2186
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2187
2187
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2188
2188
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2298,7 +2298,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2298
2298
|
] });
|
|
2299
2299
|
}
|
|
2300
2300
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2301
|
-
const { copy, copied } =
|
|
2301
|
+
const { copy, copied } = _chunkBFHLGEJKcjs.useCopyToClipboard.call(void 0, );
|
|
2302
2302
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2303
2303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2304
2304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2483,7 +2483,7 @@ function CompactAssigneeDropdown({
|
|
|
2483
2483
|
value: o.value,
|
|
2484
2484
|
label: o.label,
|
|
2485
2485
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2486
|
-
|
|
2486
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2487
2487
|
{
|
|
2488
2488
|
src: o.imageUrl,
|
|
2489
2489
|
alt: o.label,
|
|
@@ -2517,8 +2517,8 @@ function CompactAssigneeDropdown({
|
|
|
2517
2517
|
"shrink-0 rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
2518
2518
|
className
|
|
2519
2519
|
),
|
|
2520
|
-
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2521
|
-
|
|
2520
|
+
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHLIJ3U2Tcjs.DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2521
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2522
2522
|
{
|
|
2523
2523
|
src: currentAssignee.avatarSrc,
|
|
2524
2524
|
alt: currentAssignee.name,
|
|
@@ -2566,7 +2566,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2566
2566
|
const opt = option;
|
|
2567
2567
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
2568
2568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2569
|
-
|
|
2569
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2570
2570
|
{
|
|
2571
2571
|
src: opt.imageUrl,
|
|
2572
2572
|
alt: opt.label,
|
|
@@ -2582,7 +2582,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2582
2582
|
if (isEditing) {
|
|
2583
2583
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2584
2584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2585
|
-
|
|
2585
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
2586
2586
|
{
|
|
2587
2587
|
options,
|
|
2588
2588
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _34 => _34.id]), () => ( null)),
|
|
@@ -2594,14 +2594,14 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2594
2594
|
loading: isLoading,
|
|
2595
2595
|
showChevron: false,
|
|
2596
2596
|
startAdornment: hasAssignee ? currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2597
|
-
|
|
2597
|
+
_chunkHLIJ3U2Tcjs.DeletedUserAvatar,
|
|
2598
2598
|
{
|
|
2599
2599
|
size: "sm",
|
|
2600
2600
|
className: "h-6 w-6",
|
|
2601
2601
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2602
2602
|
}
|
|
2603
2603
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2604
|
-
|
|
2604
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2605
2605
|
{
|
|
2606
2606
|
src: currentAssignee.avatarSrc,
|
|
2607
2607
|
alt: currentAssignee.name,
|
|
@@ -2620,13 +2620,13 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2620
2620
|
if (hasAssignee) {
|
|
2621
2621
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", className), children: [
|
|
2622
2622
|
currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2623
|
-
|
|
2623
|
+
_chunkHLIJ3U2Tcjs.DeletedUserAvatar,
|
|
2624
2624
|
{
|
|
2625
2625
|
size: "md",
|
|
2626
2626
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2627
2627
|
}
|
|
2628
2628
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2629
|
-
|
|
2629
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2630
2630
|
{
|
|
2631
2631
|
src: currentAssignee.avatarSrc,
|
|
2632
2632
|
alt: currentAssignee.name,
|
|
@@ -2700,7 +2700,7 @@ function TextValue({ value }) {
|
|
|
2700
2700
|
}
|
|
2701
2701
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
2702
2702
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2703
|
-
|
|
2703
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
2704
2704
|
{
|
|
2705
2705
|
src: imageSrc,
|
|
2706
2706
|
alt: text,
|
|
@@ -2720,7 +2720,7 @@ function RowValue({ value }) {
|
|
|
2720
2720
|
}
|
|
2721
2721
|
case "status": {
|
|
2722
2722
|
const { type: _type, ...props } = value;
|
|
2723
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2723
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.TicketStatusTag, { ...props });
|
|
2724
2724
|
}
|
|
2725
2725
|
case "custom":
|
|
2726
2726
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -2818,7 +2818,7 @@ function MediaTypeSelector({
|
|
|
2818
2818
|
// changed) and cost an extra render pass on every change to say what the
|
|
2819
2819
|
// prop already said.
|
|
2820
2820
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2821
|
-
|
|
2821
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
2822
2822
|
{
|
|
2823
2823
|
value: value || void 0,
|
|
2824
2824
|
onValueChange: (next) => {
|
|
@@ -2828,8 +2828,8 @@ function MediaTypeSelector({
|
|
|
2828
2828
|
disabled,
|
|
2829
2829
|
defaultValue: value,
|
|
2830
2830
|
children: [
|
|
2831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder }) }),
|
|
2832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
2833
2833
|
option.icon,
|
|
2834
2834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
2835
2835
|
] }) }, option.value)) })
|
|
@@ -3638,7 +3638,7 @@ function TagsManager({
|
|
|
3638
3638
|
}
|
|
3639
3639
|
),
|
|
3640
3640
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3641
|
-
|
|
3641
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
3642
3642
|
{
|
|
3643
3643
|
label: tag.name,
|
|
3644
3644
|
variant: "outline",
|
|
@@ -4125,7 +4125,7 @@ var DialogContent = _react.forwardRef.call(void 0, ({ className, children, ...pr
|
|
|
4125
4125
|
),
|
|
4126
4126
|
...props,
|
|
4127
4127
|
children: [
|
|
4128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-h-0 gap-[var(--spacing-system-mf)] overflow-y-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid min-h-0 gap-[var(--spacing-system-mf)] overflow-y-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7DUXR4HLcjs.ViewportBreakpoints, { children }) }),
|
|
4129
4129
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
4130
4130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "h-4 w-4" }),
|
|
4131
4131
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
|
|
@@ -4183,10 +4183,10 @@ function useConfirm() {
|
|
|
4183
4183
|
},
|
|
4184
4184
|
[]
|
|
4185
4185
|
);
|
|
4186
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4189
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4186
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: pending.title }) }),
|
|
4188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4189
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: [
|
|
4190
4190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4191
4191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4192
4192
|
] })
|
|
@@ -4240,14 +4240,14 @@ function AdminFormDrawer({
|
|
|
4240
4240
|
else onClose();
|
|
4241
4241
|
};
|
|
4242
4242
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4243
|
-
|
|
4243
|
+
_chunkRAHRDJBPcjs.Drawer,
|
|
4244
4244
|
{
|
|
4245
4245
|
open: isOpen,
|
|
4246
4246
|
onOpenChange: (open) => {
|
|
4247
4247
|
if (!open) requestClose();
|
|
4248
4248
|
},
|
|
4249
4249
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4250
|
-
|
|
4250
|
+
_chunkRAHRDJBPcjs.DrawerContent,
|
|
4251
4251
|
{
|
|
4252
4252
|
side: "right",
|
|
4253
4253
|
resizable: true,
|
|
@@ -4256,15 +4256,15 @@ function AdminFormDrawer({
|
|
|
4256
4256
|
storageKey,
|
|
4257
4257
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4258
4258
|
children: [
|
|
4259
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4261
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4259
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRAHRDJBPcjs.DrawerHeader, { children: [
|
|
4260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRAHRDJBPcjs.DrawerTitle, { children: title }),
|
|
4261
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRAHRDJBPcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4262
4262
|
] }),
|
|
4263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRAHRDJBPcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4264
4264
|
"form",
|
|
4265
4265
|
{
|
|
4266
4266
|
id: formId,
|
|
4267
|
-
...
|
|
4267
|
+
..._chunkA4HNF4MPcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4268
4268
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4269
4269
|
onSubmit: (e) => {
|
|
4270
4270
|
e.preventDefault();
|
|
@@ -4391,16 +4391,16 @@ function AdminFormModal({
|
|
|
4391
4391
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4392
4392
|
});
|
|
4393
4393
|
if (!isOpen) return null;
|
|
4394
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4395
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4394
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4395
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: [
|
|
4396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: title }),
|
|
4397
4397
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4398
4398
|
] }),
|
|
4399
4399
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4400
4400
|
"form",
|
|
4401
4401
|
{
|
|
4402
4402
|
id: formId,
|
|
4403
|
-
...
|
|
4403
|
+
..._chunkA4HNF4MPcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4404
4404
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4405
4405
|
onSubmit: (e) => {
|
|
4406
4406
|
e.preventDefault();
|
|
@@ -4418,7 +4418,7 @@ function AdminFormModal({
|
|
|
4418
4418
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4419
4419
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4420
4420
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4422
4422
|
"div",
|
|
4423
4423
|
{
|
|
4424
4424
|
"aria-busy": "true",
|
|
@@ -4439,12 +4439,12 @@ function AdminFormModal({
|
|
|
4439
4439
|
]
|
|
4440
4440
|
}
|
|
4441
4441
|
) })
|
|
4442
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4442
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalContent, { className: contentClassName, children }),
|
|
4443
4443
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4444
4444
|
]
|
|
4445
4445
|
}
|
|
4446
4446
|
),
|
|
4447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4448
4448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4449
4449
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4450
4450
|
footerStatus,
|
|
@@ -4526,7 +4526,7 @@ var SheetContent = _react.forwardRef.call(void 0,
|
|
|
4526
4526
|
({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPortal, { children: [
|
|
4527
4527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetOverlay, {}),
|
|
4528
4528
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPrimitive.Content, { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, sheetVariants({ side }), className), ...props, children: [
|
|
4529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7DUXR4HLcjs.ViewportBreakpoints, { children }),
|
|
4530
4530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4531
4531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "h-4 w-4" }),
|
|
4532
4532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
|
|
@@ -5154,7 +5154,7 @@ var TabBar = _react.memo.call(void 0, function TabBarImpl({
|
|
|
5154
5154
|
// as tall as its neighbours at every breakpoint. No hover shade:
|
|
5155
5155
|
// the tab is the target, and the cursor passes through to it.
|
|
5156
5156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5157
|
-
|
|
5157
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
5158
5158
|
{
|
|
5159
5159
|
as: "span",
|
|
5160
5160
|
"aria-hidden": true,
|
|
@@ -5629,7 +5629,7 @@ function EmbedViewerFrame({
|
|
|
5629
5629
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5630
5630
|
_react.useEffect.call(void 0, () => {
|
|
5631
5631
|
if (!fullscreenControl) return void 0;
|
|
5632
|
-
const controller = new (0,
|
|
5632
|
+
const controller = new (0, _chunkA4HNF4MPcjs.FullscreenSwitchController)({
|
|
5633
5633
|
target: () => frameRef.current,
|
|
5634
5634
|
onFullscreenChange: setIsFullscreen
|
|
5635
5635
|
});
|
|
@@ -5723,9 +5723,9 @@ var KIND_HEADING = {
|
|
|
5723
5723
|
design: "Claude Design"
|
|
5724
5724
|
};
|
|
5725
5725
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
5726
|
-
const { src: mirrorSrc, status } =
|
|
5726
|
+
const { src: mirrorSrc, status } = _chunkBFHLGEJKcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
5727
5727
|
const isProbing = status === "probing";
|
|
5728
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
5728
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkYJFN2W7Acjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
5729
5729
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5730
5730
|
EmbedViewerFrame,
|
|
5731
5731
|
{
|
|
@@ -5800,12 +5800,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
5800
5800
|
}
|
|
5801
5801
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
5802
5802
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
5803
|
-
const isSlides = url ?
|
|
5804
|
-
const embedSrc = url ?
|
|
5803
|
+
const isSlides = url ? _chunkYJFN2W7Acjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
5804
|
+
const embedSrc = url ? _chunkYJFN2W7Acjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
5805
5805
|
const originalUrl = (() => {
|
|
5806
5806
|
if (!url) return null;
|
|
5807
5807
|
try {
|
|
5808
|
-
const parsed = new URL(
|
|
5808
|
+
const parsed = new URL(_chunkYJFN2W7Acjs.toFigmaOriginalUrl.call(void 0, url));
|
|
5809
5809
|
const host = parsed.hostname.toLowerCase();
|
|
5810
5810
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
5811
5811
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6579,7 +6579,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6579
6579
|
};
|
|
6580
6580
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6581
6581
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6582
|
-
|
|
6582
|
+
_chunkRBOIGJYFcjs.Video,
|
|
6583
6583
|
{
|
|
6584
6584
|
url: item.src,
|
|
6585
6585
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7011,7 +7011,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7011
7011
|
width: m.width,
|
|
7012
7012
|
height: m.height
|
|
7013
7013
|
}));
|
|
7014
|
-
const formatNumber =
|
|
7014
|
+
const formatNumber = _chunkKLXHCNDCcjs.formatLargeNumber;
|
|
7015
7015
|
const truncateText = (text, maxLength = 600) => {
|
|
7016
7016
|
if (text.length <= maxLength) return text;
|
|
7017
7017
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7303,7 +7303,7 @@ function buildRichEmbedOverrides({
|
|
|
7303
7303
|
ogEndpointPath,
|
|
7304
7304
|
textSizes
|
|
7305
7305
|
}) {
|
|
7306
|
-
const standard =
|
|
7306
|
+
const standard = _chunkHY2KTQSLcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7307
7307
|
return {
|
|
7308
7308
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7309
7309
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7313,7 +7313,7 @@ function buildRichEmbedOverrides({
|
|
|
7313
7313
|
const language = match ? match[1] : "";
|
|
7314
7314
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7315
7315
|
if (language === "youtube-embed") {
|
|
7316
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7316
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7317
7317
|
}
|
|
7318
7318
|
if (language === "reddit-embed") {
|
|
7319
7319
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7354,7 +7354,7 @@ function buildRichEmbedOverrides({
|
|
|
7354
7354
|
"data-figma-url": figmaUrl
|
|
7355
7355
|
} = divProps;
|
|
7356
7356
|
if (className === "youtube-embed" && videoId) {
|
|
7357
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7357
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "youtube", url: videoId });
|
|
7358
7358
|
}
|
|
7359
7359
|
if (className === "reddit-embed" && postUrl) {
|
|
7360
7360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7439,14 +7439,14 @@ function buildRichEmbedOverrides({
|
|
|
7439
7439
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7440
7440
|
// elsewhere). Guard against empty `![]()`.
|
|
7441
7441
|
img: ({ src, alt }) => {
|
|
7442
|
-
if (!
|
|
7442
|
+
if (!_chunkHY2KTQSLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7443
7443
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7444
7444
|
},
|
|
7445
7445
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7446
7446
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7447
7447
|
video: ({ src, poster, className }) => {
|
|
7448
|
-
if (!
|
|
7449
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7448
|
+
if (!_chunkHY2KTQSLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7449
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7450
7450
|
}
|
|
7451
7451
|
};
|
|
7452
7452
|
}
|
|
@@ -7554,7 +7554,7 @@ var processShortcodes = (content) => {
|
|
|
7554
7554
|
try {
|
|
7555
7555
|
const urlObj = new URL(url);
|
|
7556
7556
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7557
|
-
const hostIs = (domain) =>
|
|
7557
|
+
const hostIs = (domain) => _chunkA4HNF4MPcjs.hostMatches.call(void 0, hostname, domain);
|
|
7558
7558
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7559
7559
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7560
7560
|
return match;
|
|
@@ -7629,13 +7629,13 @@ var RichMarkdownInner = ({
|
|
|
7629
7629
|
},
|
|
7630
7630
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7631
7631
|
);
|
|
7632
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7632
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkHY2KTQSLcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7633
7633
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7634
7634
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7635
7635
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7636
7636
|
);
|
|
7637
7637
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7638
|
-
|
|
7638
|
+
_chunkHY2KTQSLcjs.MarkdownEngine,
|
|
7639
7639
|
{
|
|
7640
7640
|
content,
|
|
7641
7641
|
className,
|
|
@@ -7657,7 +7657,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7657
7657
|
className = "",
|
|
7658
7658
|
sectionIds,
|
|
7659
7659
|
onInternalLinkClick,
|
|
7660
|
-
brokenLinks =
|
|
7660
|
+
brokenLinks = _chunkHY2KTQSLcjs.NO_BROKEN_LINKS,
|
|
7661
7661
|
currentPath,
|
|
7662
7662
|
resolveSource = "openframe-docs",
|
|
7663
7663
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8615,7 +8615,7 @@ function FilterModal({
|
|
|
8615
8615
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _142 => _142.defaultSort]), () => ( "desc"));
|
|
8616
8616
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _143 => _143.sort]), () => ( dateDefaultSort)));
|
|
8617
8617
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _144 => _144.range]));
|
|
8618
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8618
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkHY2KTQSLcjs.useScrollFade.call(void 0, );
|
|
8619
8619
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8620
8620
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8621
8621
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8661,15 +8661,15 @@ function FilterModal({
|
|
|
8661
8661
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8662
8662
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8663
8663
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8664
|
-
|
|
8664
|
+
_chunkE3N24573cjs.Modal,
|
|
8665
8665
|
{
|
|
8666
8666
|
isOpen,
|
|
8667
8667
|
onClose,
|
|
8668
8668
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
8669
8669
|
children: [
|
|
8670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: title }) }),
|
|
8671
8671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8672
|
-
|
|
8672
|
+
_chunkE3N24573cjs.ModalContent,
|
|
8673
8673
|
{
|
|
8674
8674
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
8675
8675
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8761,12 +8761,12 @@ function FilterModal({
|
|
|
8761
8761
|
] })
|
|
8762
8762
|
}
|
|
8763
8763
|
),
|
|
8764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8766
8766
|
] })
|
|
8767
8767
|
}
|
|
8768
8768
|
),
|
|
8769
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8769
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: [
|
|
8770
8770
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8771
8771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8772
8772
|
] })
|
|
@@ -8828,7 +8828,7 @@ function renderAdvancedPageContainer({
|
|
|
8828
8828
|
};
|
|
8829
8829
|
const renderActions = () => {
|
|
8830
8830
|
if (!actions || actions.length === 0) return null;
|
|
8831
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8831
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
8832
8832
|
};
|
|
8833
8833
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
8834
8834
|
const paddingClasses = {
|
|
@@ -8851,14 +8851,14 @@ function renderAdvancedPageContainer({
|
|
|
8851
8851
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
8852
8852
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8853
8853
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8854
|
-
|
|
8854
|
+
_chunkFKKUQK4Ccjs.BackButton,
|
|
8855
8855
|
{
|
|
8856
8856
|
onClick: backButton.onClick,
|
|
8857
8857
|
label: backButton.label,
|
|
8858
8858
|
className: "hidden content-md:inline-flex"
|
|
8859
8859
|
}
|
|
8860
8860
|
),
|
|
8861
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8861
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8862
8862
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8863
8863
|
] }),
|
|
8864
8864
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -8871,14 +8871,14 @@ function renderAdvancedPageContainer({
|
|
|
8871
8871
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
8872
8872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8873
8873
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8874
|
-
|
|
8874
|
+
_chunkFKKUQK4Ccjs.BackButton,
|
|
8875
8875
|
{
|
|
8876
8876
|
onClick: backButton.onClick,
|
|
8877
8877
|
label: backButton.label,
|
|
8878
8878
|
className: "hidden content-md:inline-flex"
|
|
8879
8879
|
}
|
|
8880
8880
|
),
|
|
8881
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8881
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8882
8882
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8883
8883
|
] }),
|
|
8884
8884
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8891,14 +8891,14 @@ function renderAdvancedPageContainer({
|
|
|
8891
8891
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
8892
8892
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8893
8893
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8894
|
-
|
|
8894
|
+
_chunkFKKUQK4Ccjs.BackButton,
|
|
8895
8895
|
{
|
|
8896
8896
|
onClick: backButton.onClick,
|
|
8897
8897
|
label: backButton.label,
|
|
8898
8898
|
className: "hidden content-md:inline-flex"
|
|
8899
8899
|
}
|
|
8900
8900
|
),
|
|
8901
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8901
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) })
|
|
8902
8902
|
] }),
|
|
8903
8903
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
8904
8904
|
headerActions,
|
|
@@ -8908,7 +8908,7 @@ function renderAdvancedPageContainer({
|
|
|
8908
8908
|
}
|
|
8909
8909
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
8910
8910
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8911
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
8911
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8912
8912
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8913
8913
|
] }),
|
|
8914
8914
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8979,7 +8979,7 @@ function ListPageLayout({
|
|
|
8979
8979
|
}) {
|
|
8980
8980
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
8981
8981
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
8982
|
-
const debouncedSearchValue =
|
|
8982
|
+
const debouncedSearchValue = _chunkYUXRIR45cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
8983
8983
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
8984
8984
|
if (syncedSearchValue !== searchValue) {
|
|
8985
8985
|
setSyncedSearchValue(searchValue);
|
|
@@ -9241,7 +9241,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9241
9241
|
|
|
9242
9242
|
|
|
9243
9243
|
function PlatformBrowseButton({ item }) {
|
|
9244
|
-
const linkProps =
|
|
9244
|
+
const linkProps = _chunkHY2KTQSLcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9245
9245
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9246
9246
|
"Browse ",
|
|
9247
9247
|
item.buttonText
|
|
@@ -9544,7 +9544,7 @@ function DashboardInfoCard({
|
|
|
9544
9544
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
9545
9545
|
if (asTag) {
|
|
9546
9546
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
9547
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9547
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
9548
9548
|
}
|
|
9549
9549
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
9550
9550
|
"(",
|
|
@@ -9602,7 +9602,7 @@ function DashboardInfoCard({
|
|
|
9602
9602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-[1lh] w-24 animate-pulse rounded bg-ods-border" }) : formattedValue }),
|
|
9603
9603
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
9604
9604
|
renderPercentage(),
|
|
9605
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9605
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
9606
9606
|
] }),
|
|
9607
9607
|
caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-2 min-h-[2lh] text-ods-text-secondary text-h6", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-[1lh] w-32 animate-pulse rounded bg-ods-border" }) : caption })
|
|
9608
9608
|
] }),
|
|
@@ -9689,10 +9689,10 @@ var OSTypeBadge = ({
|
|
|
9689
9689
|
if (!osType) {
|
|
9690
9690
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9691
9691
|
}
|
|
9692
|
-
const normalized =
|
|
9692
|
+
const normalized = _chunkA4HNF4MPcjs.normalizeOSType.call(void 0, osType);
|
|
9693
9693
|
if (!normalized && !labelOnly) return null;
|
|
9694
|
-
const label =
|
|
9695
|
-
const IconComponent =
|
|
9694
|
+
const label = _chunkA4HNF4MPcjs.getOSLabel.call(void 0, osType);
|
|
9695
|
+
const IconComponent = _chunkA4HNF4MPcjs.getOSIcon.call(void 0, osType);
|
|
9696
9696
|
if (iconOnly && IconComponent) {
|
|
9697
9697
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9698
9698
|
}
|
|
@@ -9729,7 +9729,7 @@ function DeviceCard({
|
|
|
9729
9729
|
}) {
|
|
9730
9730
|
const formatLastSeen = (lastSeen) => {
|
|
9731
9731
|
if (!lastSeen) return null;
|
|
9732
|
-
return
|
|
9732
|
+
return _chunkKLXHCNDCcjs.formatDateTimeYmd.call(void 0, lastSeen, null) || null;
|
|
9733
9733
|
};
|
|
9734
9734
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9735
9735
|
"div",
|
|
@@ -9788,7 +9788,7 @@ function DeviceCard({
|
|
|
9788
9788
|
] }),
|
|
9789
9789
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
9790
9790
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9791
|
-
|
|
9791
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
9792
9792
|
{
|
|
9793
9793
|
variant: statusTag.variant,
|
|
9794
9794
|
icon: statusTag.icon,
|
|
@@ -9802,7 +9802,7 @@ function DeviceCard({
|
|
|
9802
9802
|
formatLastSeen(device.lastSeen)
|
|
9803
9803
|
] })
|
|
9804
9804
|
] }),
|
|
9805
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9805
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
9806
9806
|
]
|
|
9807
9807
|
}
|
|
9808
9808
|
);
|
|
@@ -9841,7 +9841,7 @@ function DataAttribution({ icon, source, lastUpdated, action }) {
|
|
|
9841
9841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator3, {}),
|
|
9842
9842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
9843
9843
|
"Last updated: ",
|
|
9844
|
-
lastUpdated ?
|
|
9844
|
+
lastUpdated ? _chunkKLXHCNDCcjs.formatDate.call(void 0, lastUpdated) : "Never"
|
|
9845
9845
|
] }),
|
|
9846
9846
|
action ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex content-sm:pl-[var(--spacing-system-xs)]", children: action }) : null
|
|
9847
9847
|
] });
|
|
@@ -9867,12 +9867,12 @@ function DownloadButton({ label, variant = "link", size = "small", href, ...prop
|
|
|
9867
9867
|
// src/components/ui/compliance-badge.tsx
|
|
9868
9868
|
|
|
9869
9869
|
var COMPLIANCE_LOGOS = {
|
|
9870
|
-
"aicpa-soc2":
|
|
9870
|
+
"aicpa-soc2": _chunkO2RPIGSGcjs.AicpaSoc2LogoIcon,
|
|
9871
9871
|
iso: _chunkE6RYZHBCcjs.IsoLogoIcon,
|
|
9872
9872
|
"iso-iec": _chunkA5IADKSAcjs.IsoIecLogoIcon,
|
|
9873
9873
|
nist: _chunkZVFNHNDCcjs.NistLogoIcon,
|
|
9874
9874
|
cmmc: _chunkU3PKQVHFcjs.CmmcLogoIcon,
|
|
9875
|
-
eu:
|
|
9875
|
+
eu: _chunkGKHWXI25cjs.EuLogoIcon,
|
|
9876
9876
|
hhs: _chunkKLKQIDWMcjs.HhsLogoIcon
|
|
9877
9877
|
};
|
|
9878
9878
|
function markFontSize(mark) {
|
|
@@ -9924,7 +9924,7 @@ function ComplianceLogo({
|
|
|
9924
9924
|
fallback = null,
|
|
9925
9925
|
className
|
|
9926
9926
|
}) {
|
|
9927
|
-
const standard =
|
|
9927
|
+
const standard = _chunkA4HNF4MPcjs.complianceStandardForName.call(void 0, ...names);
|
|
9928
9928
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
9929
9929
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
9930
9930
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10005,7 +10005,7 @@ function FeatureCardGrid({
|
|
|
10005
10005
|
if (allCardsHaveNoBorders) {
|
|
10006
10006
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10007
10007
|
}
|
|
10008
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10008
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10009
10009
|
const startIndex = rowIndex * itemsPerRow;
|
|
10010
10010
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10011
10011
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10039,7 +10039,7 @@ function FeatureCardGrid({
|
|
|
10039
10039
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10040
10040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10041
10041
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10042
|
-
|
|
10042
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
10043
10043
|
{
|
|
10044
10044
|
text: item.badge.text,
|
|
10045
10045
|
variant: item.badge.variant || "card",
|
|
@@ -10048,7 +10048,7 @@ function FeatureCardGrid({
|
|
|
10048
10048
|
)
|
|
10049
10049
|
] }),
|
|
10050
10050
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10051
|
-
|
|
10051
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
10052
10052
|
{
|
|
10053
10053
|
text: item.badge.text,
|
|
10054
10054
|
variant: item.badge.variant || "card",
|
|
@@ -10161,7 +10161,7 @@ function FeatureList({
|
|
|
10161
10161
|
|
|
10162
10162
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
10163
10163
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10164
|
-
|
|
10164
|
+
_chunkKLXHCNDCcjs.FloatingTooltip,
|
|
10165
10165
|
{
|
|
10166
10166
|
as: "span",
|
|
10167
10167
|
side: "top",
|
|
@@ -10510,7 +10510,7 @@ function OrganizationCard({
|
|
|
10510
10510
|
}
|
|
10511
10511
|
),
|
|
10512
10512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
10513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
10514
10514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-2", children: [
|
|
10515
10515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
10516
10516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10560,8 +10560,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10560
10560
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
10561
10561
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: resolvedIcon }),
|
|
10562
10562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
10563
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10564
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h3", children: title }),
|
|
10564
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
10565
10565
|
] })
|
|
10566
10566
|
] }),
|
|
10567
10567
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start whitespace-nowrap rounded-full border border-ods-border bg-ods-bg px-3 py-1 font-semibold text-ods-text-primary text-h6", children: tag.label })
|
|
@@ -10571,8 +10571,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10571
10571
|
}
|
|
10572
10572
|
function ServiceCardRowItem({ row }) {
|
|
10573
10573
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
10574
|
-
const { copy, copied } =
|
|
10575
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
10574
|
+
const { copy, copied } = _chunkBFHLGEJKcjs.useCopyToClipboard.call(void 0, );
|
|
10575
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkMANNIJ42cjs.useIsTruncated.call(void 0, row.value);
|
|
10576
10576
|
const actions = _react.useMemo.call(void 0,
|
|
10577
10577
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
10578
10578
|
[row]
|
|
@@ -10594,7 +10594,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
10594
10594
|
),
|
|
10595
10595
|
children: [
|
|
10596
10596
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10597
|
-
|
|
10597
|
+
_chunkKLXHCNDCcjs.FloatingTooltip,
|
|
10598
10598
|
{
|
|
10599
10599
|
content: row.value,
|
|
10600
10600
|
side: "top",
|
|
@@ -10692,17 +10692,17 @@ function PersonCell({
|
|
|
10692
10692
|
const displayName = name || fallbackName;
|
|
10693
10693
|
const scale = PERSON_CELL_SIZE[size];
|
|
10694
10694
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell flex min-w-0 items-center ${scale.gap}`, children: [
|
|
10695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
10696
10696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
10697
10697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10698
|
-
|
|
10698
|
+
_chunkFKKUQK4Ccjs.TruncateText,
|
|
10699
10699
|
{
|
|
10700
10700
|
variant: scale.primary,
|
|
10701
10701
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
10702
10702
|
children: displayName
|
|
10703
10703
|
}
|
|
10704
10704
|
),
|
|
10705
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10705
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
10706
10706
|
] })
|
|
10707
10707
|
] });
|
|
10708
10708
|
if (!onClick) return row;
|
|
@@ -10732,9 +10732,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10732
10732
|
);
|
|
10733
10733
|
}
|
|
10734
10734
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
10735
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10735
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
10736
10736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10737
|
-
|
|
10737
|
+
_chunkNYY25425cjs.AvatarStack,
|
|
10738
10738
|
{
|
|
10739
10739
|
size: "sm",
|
|
10740
10740
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -10742,7 +10742,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10742
10742
|
}
|
|
10743
10743
|
) }),
|
|
10744
10744
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "line-clamp-2 min-w-0 flex-1 break-words text-ods-text-primary text-h6", children: [
|
|
10745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
10745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkKLXHCNDCcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
10746
10746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
10747
10747
|
] })
|
|
10748
10748
|
] }) });
|
|
@@ -11385,7 +11385,7 @@ function TableHeader({
|
|
|
11385
11385
|
}
|
|
11386
11386
|
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHI3EKZZZcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWIEQOCRcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
11387
11387
|
};
|
|
11388
|
-
const isLgUp = _nullishCoalesce(
|
|
11388
|
+
const isLgUp = _nullishCoalesce(_chunk7DUXR4HLcjs.useContentLgUp.call(void 0, ), () => ( false));
|
|
11389
11389
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11390
11390
|
"div",
|
|
11391
11391
|
{
|
|
@@ -11442,7 +11442,7 @@ function TableHeader({
|
|
|
11442
11442
|
onFilterChange
|
|
11443
11443
|
}
|
|
11444
11444
|
),
|
|
11445
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11445
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA4HNF4MPcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11446
11446
|
] })
|
|
11447
11447
|
) : (
|
|
11448
11448
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11468,7 +11468,7 @@ function TableHeader({
|
|
|
11468
11468
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11469
11469
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11470
11470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA4HNF4MPcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11472
11472
|
] })
|
|
11473
11473
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11474
11474
|
getSortIcon(column)
|
|
@@ -12026,7 +12026,7 @@ function TableDescriptionCell({ text, className, maxLines = 3 }) {
|
|
|
12026
12026
|
|
|
12027
12027
|
// src/components/ui/table/table-timestamp-cell.tsx
|
|
12028
12028
|
|
|
12029
|
-
var formatLocalTimestamp = (date) =>
|
|
12029
|
+
var formatLocalTimestamp = (date) => _chunkKLXHCNDCcjs.formatDateWithTimezone.call(void 0, date, _chunkKLXHCNDCcjs.VIEWER_TIMEZONE, "localeDateTime", { viewerLocale: true });
|
|
12030
12030
|
function formatTimestampValue(timestamp) {
|
|
12031
12031
|
if (timestamp instanceof Date) {
|
|
12032
12032
|
return formatLocalTimestamp(timestamp);
|
|
@@ -12253,7 +12253,7 @@ function QueryReportTable({
|
|
|
12253
12253
|
onThumbPointerMove,
|
|
12254
12254
|
onThumbPointerUp,
|
|
12255
12255
|
onThumbPointerCancel
|
|
12256
|
-
} =
|
|
12256
|
+
} = _chunkGID62YENcjs.useHorizontalScrollbar.call(void 0, );
|
|
12257
12257
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
12258
12258
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-[var(--spacing-system-l)]", children: [
|
|
12259
12259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -12809,7 +12809,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12809
12809
|
// child of the cell.
|
|
12810
12810
|
_optionalChain([meta, 'optionalAccess', _230 => _230.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12811
12811
|
filterTrigger,
|
|
12812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA4HNF4MPcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12813
12813
|
] }) : filterTrigger
|
|
12814
12814
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12815
12815
|
"div",
|
|
@@ -12834,7 +12834,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12834
12834
|
// centred on the row.
|
|
12835
12835
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12836
12836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA4HNF4MPcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12838
12838
|
] })
|
|
12839
12839
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12840
12840
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13053,7 +13053,7 @@ function PhoneInput({
|
|
|
13053
13053
|
placeholder = "Phone Number (optional)",
|
|
13054
13054
|
onKeyDown
|
|
13055
13055
|
}) {
|
|
13056
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13056
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkA4HNF4MPcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13057
13057
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13058
13058
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13059
13059
|
[countryCode, priority, others]
|
|
@@ -13068,7 +13068,7 @@ function PhoneInput({
|
|
|
13068
13068
|
_optionalChain([onValidationChange, 'optionalCall', _243 => _243(false)]);
|
|
13069
13069
|
return;
|
|
13070
13070
|
}
|
|
13071
|
-
const invalid = !
|
|
13071
|
+
const invalid = !_chunkA4HNF4MPcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13072
13072
|
setIsInvalid(invalid);
|
|
13073
13073
|
_optionalChain([onValidationChange, 'optionalCall', _244 => _244(invalid)]);
|
|
13074
13074
|
},
|
|
@@ -13088,7 +13088,7 @@ function PhoneInput({
|
|
|
13088
13088
|
}, []);
|
|
13089
13089
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13090
13090
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13091
|
-
|
|
13091
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
13092
13092
|
{
|
|
13093
13093
|
value: countryCode,
|
|
13094
13094
|
onValueChange: (val) => {
|
|
@@ -13099,14 +13099,14 @@ function PhoneInput({
|
|
|
13099
13099
|
},
|
|
13100
13100
|
disabled,
|
|
13101
13101
|
children: [
|
|
13102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13103
13103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13104
13104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13105
13105
|
] }) }) }),
|
|
13106
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13106
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectSeparator, {}),
|
|
13109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13110
13110
|
] })
|
|
13111
13111
|
]
|
|
13112
13112
|
}
|
|
@@ -13138,7 +13138,7 @@ function PhoneInput({
|
|
|
13138
13138
|
] });
|
|
13139
13139
|
}
|
|
13140
13140
|
function CountryOption({ country }) {
|
|
13141
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13141
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13142
13142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13143
13143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13144
13144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13213,7 +13213,7 @@ function SearchInput({
|
|
|
13213
13213
|
}) {
|
|
13214
13214
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
13215
13215
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
13216
|
-
const debouncedValue =
|
|
13216
|
+
const debouncedValue = _chunkYUXRIR45cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
13217
13217
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
13218
13218
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
13219
13219
|
const keyboardPadding = _chunkA6P6DHEZcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
@@ -13421,7 +13421,7 @@ function SearchInput({
|
|
|
13421
13421
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 content-md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, {}) }),
|
|
13422
13422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
13423
13423
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13424
|
-
|
|
13424
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
13425
13425
|
{
|
|
13426
13426
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13427
13427
|
label: chip.label,
|
|
@@ -13517,7 +13517,7 @@ function SearchInput({
|
|
|
13517
13517
|
)
|
|
13518
13518
|
] }),
|
|
13519
13519
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13520
|
-
|
|
13520
|
+
_chunkFKKUQK4Ccjs.HiddenTagsPopup,
|
|
13521
13521
|
{
|
|
13522
13522
|
ref: hiddenTagsPopupRef,
|
|
13523
13523
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -13537,7 +13537,7 @@ function SearchInput({
|
|
|
13537
13537
|
}
|
|
13538
13538
|
),
|
|
13539
13539
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13540
|
-
|
|
13540
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
13541
13541
|
{
|
|
13542
13542
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13543
13543
|
label: chip.label,
|
|
@@ -13750,7 +13750,7 @@ function TagSearchInput({
|
|
|
13750
13750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "size-4 text-ods-text-secondary content-md:size-6" }) }),
|
|
13751
13751
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
13752
13752
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13753
|
-
|
|
13753
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
13754
13754
|
{
|
|
13755
13755
|
variant: "outline",
|
|
13756
13756
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -13811,7 +13811,7 @@ function TagSearchInput({
|
|
|
13811
13811
|
}
|
|
13812
13812
|
),
|
|
13813
13813
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13814
|
-
|
|
13814
|
+
_chunkFKKUQK4Ccjs.HiddenTagsPopup,
|
|
13815
13815
|
{
|
|
13816
13816
|
ref: hiddenTagsPopupRef,
|
|
13817
13817
|
items: hiddenTags,
|
|
@@ -13838,7 +13838,7 @@ function TagSearchInput({
|
|
|
13838
13838
|
"aria-hidden": "true",
|
|
13839
13839
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
13840
13840
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13841
|
-
|
|
13841
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
13842
13842
|
{
|
|
13843
13843
|
variant: "outline",
|
|
13844
13844
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -13995,7 +13995,7 @@ function MarkdownEditor({
|
|
|
13995
13995
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
13996
13996
|
try {
|
|
13997
13997
|
const url = await onUploadFile(file);
|
|
13998
|
-
const isImage =
|
|
13998
|
+
const isImage = _chunkRBOIGJYFcjs.fileMediaType.call(void 0, file) === "image";
|
|
13999
13999
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14000
14000
|
insertTextAtCursor(markdown);
|
|
14001
14001
|
_optionalChain([onFileUploaded, 'optionalCall', _295 => _295(url, file.name)]);
|
|
@@ -14125,7 +14125,7 @@ function MarkdownEditor({
|
|
|
14125
14125
|
type: "file",
|
|
14126
14126
|
className: "hidden",
|
|
14127
14127
|
onChange: handleFileInputChange,
|
|
14128
|
-
accept: `${
|
|
14128
|
+
accept: `${_chunkRBOIGJYFcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14129
14129
|
}
|
|
14130
14130
|
),
|
|
14131
14131
|
!MDEditor && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-64 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin" }) }),
|
|
@@ -14525,7 +14525,7 @@ function matchesAccept2(file, accept) {
|
|
|
14525
14525
|
return patterns.some((pattern) => {
|
|
14526
14526
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14527
14527
|
if (pattern.endsWith("/*"))
|
|
14528
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14528
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkRBOIGJYFcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14529
14529
|
return fileType === pattern;
|
|
14530
14530
|
});
|
|
14531
14531
|
}
|
|
@@ -14533,7 +14533,7 @@ function ImageUploader({
|
|
|
14533
14533
|
value,
|
|
14534
14534
|
onChange,
|
|
14535
14535
|
onRemove,
|
|
14536
|
-
accept =
|
|
14536
|
+
accept = _chunkRBOIGJYFcjs.IMAGE_FILE_ACCEPT,
|
|
14537
14537
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14538
14538
|
label = "Cover Image",
|
|
14539
14539
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -14553,7 +14553,7 @@ function ImageUploader({
|
|
|
14553
14553
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
14554
14554
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
14555
14555
|
const interactive = !disabled && !loading;
|
|
14556
|
-
const resolvedValue =
|
|
14556
|
+
const resolvedValue = _chunkMANNIJ42cjs.useAuthedImageSrc.call(void 0, value);
|
|
14557
14557
|
const hasImage = Boolean(value);
|
|
14558
14558
|
const displayError = error || validationError || void 0;
|
|
14559
14559
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -14770,13 +14770,13 @@ function ColorPresetSelect({
|
|
|
14770
14770
|
...presets.map((p) => ({
|
|
14771
14771
|
id: p.key,
|
|
14772
14772
|
label: p.label,
|
|
14773
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14773
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: p.color }),
|
|
14774
14774
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
14775
14775
|
})),
|
|
14776
14776
|
{
|
|
14777
14777
|
id: CUSTOM_PRESET_KEY,
|
|
14778
14778
|
label: "Custom",
|
|
14779
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14779
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
14780
14780
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
14781
14781
|
}
|
|
14782
14782
|
]
|
|
@@ -14793,7 +14793,7 @@ function ColorPresetSelect({
|
|
|
14793
14793
|
{
|
|
14794
14794
|
disabled,
|
|
14795
14795
|
"aria-label": `Color: ${displayLabel}`,
|
|
14796
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14796
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: displayColor }),
|
|
14797
14797
|
selectedLabel: displayLabel,
|
|
14798
14798
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
14799
14799
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -14814,7 +14814,7 @@ function HexInputs({ value, onChange }) {
|
|
|
14814
14814
|
}
|
|
14815
14815
|
const commit = () => {
|
|
14816
14816
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
14817
|
-
if (
|
|
14817
|
+
if (_chunkHEOD765Rcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
14818
14818
|
else setDraft(value);
|
|
14819
14819
|
};
|
|
14820
14820
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14878,12 +14878,12 @@ function ChannelInput({
|
|
|
14878
14878
|
);
|
|
14879
14879
|
}
|
|
14880
14880
|
function RgbInputs({ value, onChange }) {
|
|
14881
|
-
const rgb = _nullishCoalesce(
|
|
14881
|
+
const rgb = _nullishCoalesce(_chunkHEOD765Rcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
14882
14882
|
const update = (next) => {
|
|
14883
14883
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
14884
14884
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
14885
14885
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
14886
|
-
onChange(
|
|
14886
|
+
onChange(_chunkHEOD765Rcjs.rgbToHex.call(void 0, r, g, b));
|
|
14887
14887
|
};
|
|
14888
14888
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14889
14889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -14892,14 +14892,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
14892
14892
|
] });
|
|
14893
14893
|
}
|
|
14894
14894
|
function HslInputs({ value, onChange }) {
|
|
14895
|
-
const rgb = _nullishCoalesce(
|
|
14896
|
-
const hsl =
|
|
14895
|
+
const rgb = _nullishCoalesce(_chunkHEOD765Rcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
14896
|
+
const hsl = _chunkHEOD765Rcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
14897
14897
|
const update = (next) => {
|
|
14898
14898
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
14899
14899
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
14900
14900
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
14901
|
-
const out =
|
|
14902
|
-
onChange(
|
|
14901
|
+
const out = _chunkHEOD765Rcjs.hslToRgb.call(void 0, h, s, l);
|
|
14902
|
+
onChange(_chunkHEOD765Rcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
14903
14903
|
};
|
|
14904
14904
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14905
14905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -14925,7 +14925,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
14925
14925
|
{
|
|
14926
14926
|
disabled,
|
|
14927
14927
|
"aria-label": "Pick custom color",
|
|
14928
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14928
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: value }),
|
|
14929
14929
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
14930
14930
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
14931
14931
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -14989,7 +14989,7 @@ function TicketStatusConfigRow({
|
|
|
14989
14989
|
isDragging,
|
|
14990
14990
|
moveButtons
|
|
14991
14991
|
}) {
|
|
14992
|
-
const dragAndDropEnabled =
|
|
14992
|
+
const dragAndDropEnabled = _chunkGID62YENcjs.useDragAndDropEnabled.call(void 0, );
|
|
14993
14993
|
const nameInputId = _react.useId.call(void 0, );
|
|
14994
14994
|
const isSystem = variant === "system";
|
|
14995
14995
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -14998,7 +14998,7 @@ function TicketStatusConfigRow({
|
|
|
14998
14998
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
14999
14999
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
15000
15000
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15001
|
-
|
|
15001
|
+
_chunkHEOD765Rcjs.TicketStatusTag,
|
|
15002
15002
|
{
|
|
15003
15003
|
status: statusKey,
|
|
15004
15004
|
label: name || " ",
|
|
@@ -15105,7 +15105,7 @@ function TicketStatusConfigRow({
|
|
|
15105
15105
|
),
|
|
15106
15106
|
children: [
|
|
15107
15107
|
!isSystem && moveButtons,
|
|
15108
|
-
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15108
|
+
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHLIJ3U2Tcjs.TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15109
15109
|
"button",
|
|
15110
15110
|
{
|
|
15111
15111
|
type: "button",
|
|
@@ -15113,7 +15113,7 @@ function TicketStatusConfigRow({
|
|
|
15113
15113
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
15114
15114
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { size: 24 })
|
|
15115
15115
|
}
|
|
15116
|
-
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15116
|
+
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHLIJ3U2Tcjs.TouchFriendlyTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15117
15117
|
_chunkAZL332TKcjs.Button,
|
|
15118
15118
|
{
|
|
15119
15119
|
type: "button",
|
|
@@ -15150,7 +15150,7 @@ function formatTestRunDuration(ms) {
|
|
|
15150
15150
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
15151
15151
|
var SKELETON_COLUMNS = 6;
|
|
15152
15152
|
function TestResultsSkeleton() {
|
|
15153
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15153
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15154
15154
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
15155
15155
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
15156
15156
|
] }) });
|
|
@@ -15185,13 +15185,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15185
15185
|
if (loading) {
|
|
15186
15186
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15187
15187
|
}
|
|
15188
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15188
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
15189
15189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15190
15190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15191
15191
|
] }) }) });
|
|
15192
15192
|
}
|
|
15193
15193
|
function TestRunErrorBanner({ error, className }) {
|
|
15194
|
-
const { copy } =
|
|
15194
|
+
const { copy } = _chunkBFHLGEJKcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
15195
15195
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15196
15196
|
"div",
|
|
15197
15197
|
{
|
|
@@ -15247,7 +15247,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
15247
15247
|
function TestRunStatusStat({ status, className }) {
|
|
15248
15248
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
15249
15249
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
15250
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15250
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
15251
15251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
15252
15252
|
] });
|
|
15253
15253
|
}
|
|
@@ -15291,7 +15291,7 @@ function useTestRunState(campaign) {
|
|
|
15291
15291
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15292
15292
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15293
15293
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15294
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
15294
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkE3N24573cjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15295
15295
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15296
15296
|
const displayRows = _react.useMemo.call(void 0,
|
|
15297
15297
|
() => campaign.results.map(
|
|
@@ -15330,7 +15330,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
15330
15330
|
),
|
|
15331
15331
|
children: [
|
|
15332
15332
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15333
|
-
|
|
15333
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
15334
15334
|
{
|
|
15335
15335
|
src: attachment.thumbnailSrc,
|
|
15336
15336
|
alt: attachment.fileName,
|
|
@@ -15423,7 +15423,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
15423
15423
|
};
|
|
15424
15424
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
15425
15425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15426
|
-
|
|
15426
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
15427
15427
|
{
|
|
15428
15428
|
src: note.authorAvatar,
|
|
15429
15429
|
alt: note.authorName,
|
|
@@ -15599,7 +15599,7 @@ function TicketInfoSection({
|
|
|
15599
15599
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 content-lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
15600
15600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
15601
15601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15602
|
-
|
|
15602
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
15603
15603
|
{
|
|
15604
15604
|
src: _optionalChain([organization, 'optionalAccess', _331 => _331.imageSrc]),
|
|
15605
15605
|
alt: _optionalChain([organization, 'optionalAccess', _332 => _332.name]),
|
|
@@ -15629,7 +15629,7 @@ function TicketInfoSection({
|
|
|
15629
15629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _335 => _335.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _336 => _336.icon]), onClick: _optionalChain([device, 'optionalAccess', _337 => _337.onClick]) }),
|
|
15630
15630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
15631
15631
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15632
|
-
|
|
15632
|
+
_chunkHEOD765Rcjs.TicketStatusTag,
|
|
15633
15633
|
{
|
|
15634
15634
|
status: _nullishCoalesce(status, () => ( "")),
|
|
15635
15635
|
label: statusLabel,
|
|
@@ -15668,9 +15668,9 @@ function TicketInfoSection({
|
|
|
15668
15668
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15669
15669
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
15670
15670
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15671
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15671
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.SimpleMarkdownRenderer, { content: description }),
|
|
15672
15672
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15673
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15673
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
15674
15674
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15675
15675
|
TicketNotesSection,
|
|
15676
15676
|
{
|
|
@@ -15693,8 +15693,8 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
15693
15693
|
const { label, color } = option;
|
|
15694
15694
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
15695
15695
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15696
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15697
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color }),
|
|
15697
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15698
15698
|
] }),
|
|
15699
15699
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15700
15700
|
] });
|
|
@@ -15703,8 +15703,8 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
15703
15703
|
const { label, imageUrl } = option;
|
|
15704
15704
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
15705
15705
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
15707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15708
15708
|
] }),
|
|
15709
15709
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15710
15710
|
] });
|
|
@@ -15738,9 +15738,9 @@ function TakeOverTicketModal({
|
|
|
15738
15738
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
15739
15739
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
15740
15740
|
};
|
|
15741
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15741
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15742
15742
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
15744
15744
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15745
15745
|
"The ticket ",
|
|
15746
15746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15748,19 +15748,19 @@ function TakeOverTicketModal({
|
|
|
15748
15748
|
] }),
|
|
15749
15749
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15750
15750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15751
|
-
|
|
15751
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
15752
15752
|
{
|
|
15753
15753
|
label: "Status",
|
|
15754
15754
|
options: statusOptions,
|
|
15755
15755
|
value: selectedStatusId,
|
|
15756
15756
|
onChange: setStatusId,
|
|
15757
15757
|
placeholder: "Select Status",
|
|
15758
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15758
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
15759
15759
|
renderOption: renderTicketStatusOption
|
|
15760
15760
|
}
|
|
15761
15761
|
) }),
|
|
15762
15762
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15763
|
-
|
|
15763
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
15764
15764
|
{
|
|
15765
15765
|
label: "Assigned",
|
|
15766
15766
|
options: assigneeOptions,
|
|
@@ -15769,7 +15769,7 @@ function TakeOverTicketModal({
|
|
|
15769
15769
|
placeholder: "Select Technician",
|
|
15770
15770
|
loading: assigneesLoading,
|
|
15771
15771
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15772
|
-
|
|
15772
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
15773
15773
|
{
|
|
15774
15774
|
src: selectedAssignee.imageUrl,
|
|
15775
15775
|
alt: selectedAssignee.label,
|
|
@@ -15782,7 +15782,7 @@ function TakeOverTicketModal({
|
|
|
15782
15782
|
}
|
|
15783
15783
|
) })
|
|
15784
15784
|
] }),
|
|
15785
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15785
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: [
|
|
15786
15786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15787
15787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15788
15788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15841,9 +15841,9 @@ function ReopenTicketModal({
|
|
|
15841
15841
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
15842
15842
|
});
|
|
15843
15843
|
};
|
|
15844
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15844
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15845
15845
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15846
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15846
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15847
15847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15848
15848
|
"The ticket ",
|
|
15849
15849
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15851,19 +15851,19 @@ function ReopenTicketModal({
|
|
|
15851
15851
|
] }),
|
|
15852
15852
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15853
15853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15854
|
-
|
|
15854
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
15855
15855
|
{
|
|
15856
15856
|
label: "Status",
|
|
15857
15857
|
options: statusOptions,
|
|
15858
15858
|
value: selectedStatusId,
|
|
15859
15859
|
onChange: setStatusId,
|
|
15860
15860
|
placeholder: "Select Status",
|
|
15861
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15861
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
15862
15862
|
renderOption: renderTicketStatusOption
|
|
15863
15863
|
}
|
|
15864
15864
|
) }),
|
|
15865
15865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15866
|
-
|
|
15866
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
15867
15867
|
{
|
|
15868
15868
|
label: "Assigned",
|
|
15869
15869
|
options: assigneeOptions,
|
|
@@ -15872,7 +15872,7 @@ function ReopenTicketModal({
|
|
|
15872
15872
|
placeholder: "Select Technician",
|
|
15873
15873
|
loading: assigneesLoading,
|
|
15874
15874
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15875
|
-
|
|
15875
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
15876
15876
|
{
|
|
15877
15877
|
src: selectedAssignee.imageUrl,
|
|
15878
15878
|
alt: selectedAssignee.label,
|
|
@@ -15896,7 +15896,7 @@ function ReopenTicketModal({
|
|
|
15896
15896
|
disabled: isPending
|
|
15897
15897
|
}
|
|
15898
15898
|
) }),
|
|
15899
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15899
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: [
|
|
15900
15900
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15901
15901
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15902
15902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15945,9 +15945,9 @@ function ReopenTicketRequestModal({
|
|
|
15945
15945
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
15946
15946
|
});
|
|
15947
15947
|
};
|
|
15948
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15948
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15949
15949
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15951
15951
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
15952
15952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15953
15953
|
Textarea,
|
|
@@ -15971,7 +15971,7 @@ function ReopenTicketRequestModal({
|
|
|
15971
15971
|
disabled: isPending
|
|
15972
15972
|
}
|
|
15973
15973
|
),
|
|
15974
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15974
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE3N24573cjs.ModalFooter, { children: [
|
|
15975
15975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
15976
15976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
15977
15977
|
] })
|
|
@@ -15990,6 +15990,7 @@ var TALL_MAX_RATIO = 0.9;
|
|
|
15990
15990
|
var WIDE_MIN_RATIO = 1.2;
|
|
15991
15991
|
var MEASURE_TIMEOUT_MS = 4e3;
|
|
15992
15992
|
var COLUMN_GAP_PX = 12;
|
|
15993
|
+
var EAGER_PHOTOS_PER_COLUMN = 2;
|
|
15993
15994
|
var FILL_FACTOR = 1.25;
|
|
15994
15995
|
var MAX_REPEATS = 8;
|
|
15995
15996
|
var PHOTO_WIDTH_STEPS_PX = [240, 360, 480, 640, 960];
|
|
@@ -16127,7 +16128,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16127
16128
|
gap: COLUMN_GAP_PX
|
|
16128
16129
|
};
|
|
16129
16130
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16130
|
-
|
|
16131
|
+
_chunkHY2KTQSLcjs.MarqueeWall,
|
|
16131
16132
|
{
|
|
16132
16133
|
axis: "y",
|
|
16133
16134
|
reverse: index % 2 === 1,
|
|
@@ -16152,7 +16153,9 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16152
16153
|
fill: true,
|
|
16153
16154
|
className: "object-cover",
|
|
16154
16155
|
optimizedWidth: drawnWidth,
|
|
16155
|
-
unoptimized: true
|
|
16156
|
+
unoptimized: true,
|
|
16157
|
+
loading: i < EAGER_PHOTOS_PER_COLUMN ? "eager" : "lazy",
|
|
16158
|
+
fetchPriority: index === 0 && i === 0 ? "high" : void 0
|
|
16156
16159
|
}
|
|
16157
16160
|
)
|
|
16158
16161
|
},
|
|
@@ -16295,7 +16298,7 @@ function AnalyzingState({ label, className }) {
|
|
|
16295
16298
|
}) }),
|
|
16296
16299
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
16297
16300
|
label,
|
|
16298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE3N24573cjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
16299
16302
|
] })
|
|
16300
16303
|
] });
|
|
16301
16304
|
}
|
|
@@ -16309,7 +16312,7 @@ var INCIDENT_TONE = {
|
|
|
16309
16312
|
approved: "success"
|
|
16310
16313
|
};
|
|
16311
16314
|
function IncidentStatusLine({ status, label, className }) {
|
|
16312
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16315
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
16313
16316
|
}
|
|
16314
16317
|
function SourceTag({ children }) {
|
|
16315
16318
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 rounded-md border border-ods-border px-2 py-1 text-ods-text-secondary text-h5", children });
|
|
@@ -16419,8 +16422,8 @@ function SnapCarousel({
|
|
|
16419
16422
|
const trackRef = _react.useRef.call(void 0, null);
|
|
16420
16423
|
const [index, setIndex] = _react.useState.call(void 0, 0);
|
|
16421
16424
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
16422
|
-
const { ref: viewRef, inView } =
|
|
16423
|
-
const auto =
|
|
16425
|
+
const { ref: viewRef, inView } = _chunkYUXRIR45cjs.useInView.call(void 0, { threshold: 0.5 });
|
|
16426
|
+
const auto = _chunkYUXRIR45cjs.useAutoplay.call(void 0, inView);
|
|
16424
16427
|
const count = items.length;
|
|
16425
16428
|
const slideStep = _react.useCallback.call(void 0, () => {
|
|
16426
16429
|
const first = _optionalChain([trackRef, 'access', _345 => _345.current, 'optionalAccess', _346 => _346.firstElementChild]);
|
|
@@ -16830,10 +16833,10 @@ function AccountDetailsFields({
|
|
|
16830
16833
|
onKeyDown,
|
|
16831
16834
|
layout = "stacked"
|
|
16832
16835
|
}) {
|
|
16833
|
-
const firstNameErr =
|
|
16834
|
-
const lastNameErr =
|
|
16835
|
-
const passwordErr =
|
|
16836
|
-
const confirmErr =
|
|
16836
|
+
const firstNameErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _347 => _347.firstName]), firstName);
|
|
16837
|
+
const lastNameErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _348 => _348.lastName]), lastName);
|
|
16838
|
+
const passwordErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _349 => _349.password]), password);
|
|
16839
|
+
const confirmErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _350 => _350.confirmPassword]), confirmPassword);
|
|
16837
16840
|
const names = [
|
|
16838
16841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16839
16842
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -16911,7 +16914,7 @@ function AccountDetailsFields({
|
|
|
16911
16914
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
16912
16915
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
16913
16916
|
function defaultBenefits(trialDays) {
|
|
16914
|
-
const labels =
|
|
16917
|
+
const labels = _chunkA4HNF4MPcjs.trialLabels.call(void 0, trialDays);
|
|
16915
16918
|
return [
|
|
16916
16919
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO3ANT5Ncjs.CreditCardXmarkIcon, {}), label: labels.noCard },
|
|
16917
16920
|
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYUM7GOLQcjs.XmarkAltIcon, {}), label: labels.cancel },
|
|
@@ -17063,16 +17066,16 @@ function LabeledDivider({ label }) {
|
|
|
17063
17066
|
var PROVIDER_META = {
|
|
17064
17067
|
openframe: {
|
|
17065
17068
|
name: "OpenFrame",
|
|
17066
|
-
Icon:
|
|
17069
|
+
Icon: _chunkMANNIJ42cjs.requireIcon.call(void 0, {
|
|
17067
17070
|
set: "OpenframeLogoIcon",
|
|
17068
17071
|
color: "var(--color-text-primary)",
|
|
17069
17072
|
secondaryColor: "var(--color-accent-primary)",
|
|
17070
17073
|
ownColor: true
|
|
17071
17074
|
})
|
|
17072
17075
|
},
|
|
17073
|
-
google: { name: "Google", Icon:
|
|
17074
|
-
microsoft: { name: "Microsoft", Icon:
|
|
17075
|
-
apple: { name: "Apple", Icon:
|
|
17076
|
+
google: { name: "Google", Icon: _chunkMANNIJ42cjs.requireIcon.call(void 0, { set: "GoogleLogoIcon" }) },
|
|
17077
|
+
microsoft: { name: "Microsoft", Icon: _chunkMANNIJ42cjs.requireIcon.call(void 0, { set: "MicrosoftLogoIcon" }) },
|
|
17078
|
+
apple: { name: "Apple", Icon: _chunkMANNIJ42cjs.requireIcon.call(void 0, { set: "AppleLogoIcon" }) }
|
|
17076
17079
|
};
|
|
17077
17080
|
function SsoProviderButtons({
|
|
17078
17081
|
providers,
|
|
@@ -17144,7 +17147,7 @@ function CompleteAccountForm({
|
|
|
17144
17147
|
),
|
|
17145
17148
|
children: [
|
|
17146
17149
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17148
17151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17149
17152
|
] }),
|
|
17150
17153
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17275,9 +17278,9 @@ function CreateOrganizationForm({
|
|
|
17275
17278
|
}) {
|
|
17276
17279
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
17277
17280
|
const fieldsDisabled = disabled || loading;
|
|
17278
|
-
const emailErr =
|
|
17279
|
-
const orgNameErr =
|
|
17280
|
-
const domainErr =
|
|
17281
|
+
const emailErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _352 => _352.email]), _nullishCoalesce(email, () => ( "")));
|
|
17282
|
+
const orgNameErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _353 => _353.organizationName]), organizationName);
|
|
17283
|
+
const domainErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _354 => _354.domain]), domain);
|
|
17281
17284
|
const handleKeyDown = (event) => {
|
|
17282
17285
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17283
17286
|
onSubmit();
|
|
@@ -17292,7 +17295,7 @@ function CreateOrganizationForm({
|
|
|
17292
17295
|
),
|
|
17293
17296
|
children: [
|
|
17294
17297
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17298
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17296
17299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17297
17300
|
] }),
|
|
17298
17301
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17433,7 +17436,7 @@ function InviteLinkInvalidModal({
|
|
|
17433
17436
|
),
|
|
17434
17437
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
17435
17438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
17436
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17437
17440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17438
17441
|
"button",
|
|
17439
17442
|
{
|
|
@@ -17493,7 +17496,7 @@ function LoginForm({
|
|
|
17493
17496
|
className
|
|
17494
17497
|
}) {
|
|
17495
17498
|
const fieldDisabled = disabled || loading;
|
|
17496
|
-
const emailErr =
|
|
17499
|
+
const emailErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _361 => _361.email]), email);
|
|
17497
17500
|
const handleKeyDown = (event) => {
|
|
17498
17501
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
17499
17502
|
_optionalChain([onSubmitClick, 'optionalCall', _362 => _362()]);
|
|
@@ -17507,7 +17510,7 @@ function LoginForm({
|
|
|
17507
17510
|
),
|
|
17508
17511
|
children: [
|
|
17509
17512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17511
17514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17512
17515
|
] }),
|
|
17513
17516
|
ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17602,7 +17605,7 @@ function NoAccountNotice({
|
|
|
17602
17605
|
),
|
|
17603
17606
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
17604
17607
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17608
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17606
17609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
17607
17610
|
] }),
|
|
17608
17611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -17635,8 +17638,8 @@ function OpenFrameSsoLoginForm({
|
|
|
17635
17638
|
className
|
|
17636
17639
|
}) {
|
|
17637
17640
|
const fieldsDisabled = disabled || loading;
|
|
17638
|
-
const emailErr =
|
|
17639
|
-
const passwordErr =
|
|
17641
|
+
const emailErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _365 => _365.email]), email);
|
|
17642
|
+
const passwordErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _366 => _366.password]), password);
|
|
17640
17643
|
const handleKeyDown = (event) => {
|
|
17641
17644
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17642
17645
|
onSubmit();
|
|
@@ -17651,7 +17654,7 @@ function OpenFrameSsoLoginForm({
|
|
|
17651
17654
|
),
|
|
17652
17655
|
children: [
|
|
17653
17656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17655
17658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17656
17659
|
] }),
|
|
17657
17660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17741,7 +17744,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17741
17744
|
className
|
|
17742
17745
|
}) {
|
|
17743
17746
|
const fieldsDisabled = disabled || loading;
|
|
17744
|
-
const emailErr =
|
|
17747
|
+
const emailErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _367 => _367.email]), email);
|
|
17745
17748
|
const handleKeyDown = (event) => {
|
|
17746
17749
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17747
17750
|
onSubmit();
|
|
@@ -17756,7 +17759,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17756
17759
|
),
|
|
17757
17760
|
children: [
|
|
17758
17761
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17759
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17760
17763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17761
17764
|
] }),
|
|
17762
17765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17846,8 +17849,8 @@ function PasswordResetForm({
|
|
|
17846
17849
|
className
|
|
17847
17850
|
}) {
|
|
17848
17851
|
const fieldsDisabled = disabled || loading;
|
|
17849
|
-
const passwordErr =
|
|
17850
|
-
const confirmErr =
|
|
17852
|
+
const passwordErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _368 => _368.password]), password);
|
|
17853
|
+
const confirmErr = _chunkBFHLGEJKcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _369 => _369.confirmPassword]), confirmPassword);
|
|
17851
17854
|
const handleKeyDown = (event) => {
|
|
17852
17855
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17853
17856
|
onSubmit();
|
|
@@ -17862,7 +17865,7 @@ function PasswordResetForm({
|
|
|
17862
17865
|
),
|
|
17863
17866
|
children: [
|
|
17864
17867
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17865
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17866
17869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17867
17870
|
] }),
|
|
17868
17871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17979,12 +17982,12 @@ function SsoJoinForm({
|
|
|
17979
17982
|
),
|
|
17980
17983
|
children: [
|
|
17981
17984
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17982
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17985
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRBOIGJYFcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17983
17986
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17984
17987
|
] }),
|
|
17985
17988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
17986
17989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17987
|
-
|
|
17990
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
17988
17991
|
{
|
|
17989
17992
|
size: "lg",
|
|
17990
17993
|
variant: "round",
|
|
@@ -17998,7 +18001,7 @@ function SsoJoinForm({
|
|
|
17998
18001
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
17999
18002
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
18000
18003
|
] }),
|
|
18001
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18004
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
18002
18005
|
] }),
|
|
18003
18006
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18004
18007
|
CheckboxBlock,
|
|
@@ -18087,7 +18090,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
18087
18090
|
disabled: disabled || isLoading,
|
|
18088
18091
|
variant: "outline",
|
|
18089
18092
|
size: "default",
|
|
18090
|
-
leftIcon: isLoading ? null : _react.createElement.call(void 0,
|
|
18093
|
+
leftIcon: isLoading ? null : _react.createElement.call(void 0, _chunkMANNIJ42cjs.requireIcon.call(void 0, config.icon), { className: "h-5 w-5" }),
|
|
18091
18094
|
className: `h-[56px] w-full !font-bold !text-h6 hover:bg-ods-bg-hover content-md:!w-full ${isLoading ? "cursor-wait" : "cursor-pointer"} `,
|
|
18092
18095
|
"aria-label": config.displayName,
|
|
18093
18096
|
children: isLoading ? "Signing in..." : config.displayName
|
|
@@ -18241,7 +18244,7 @@ function ChangelogManager({
|
|
|
18241
18244
|
),
|
|
18242
18245
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
18243
18246
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18244
|
-
|
|
18247
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
18245
18248
|
{
|
|
18246
18249
|
variant: "button",
|
|
18247
18250
|
singleLine: true,
|
|
@@ -18305,9 +18308,9 @@ function ChangelogManager({
|
|
|
18305
18308
|
] }),
|
|
18306
18309
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
18307
18310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
18308
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18310
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18311
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
18312
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: tagLabel }) }),
|
|
18313
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
18311
18314
|
] })
|
|
18312
18315
|
] })
|
|
18313
18316
|
] })
|
|
@@ -18504,7 +18507,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18504
18507
|
const label = (tag.name || "").toUpperCase();
|
|
18505
18508
|
if (basePath && tag.slug) {
|
|
18506
18509
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18507
|
-
|
|
18510
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
18508
18511
|
{
|
|
18509
18512
|
text: label,
|
|
18510
18513
|
variant: "card",
|
|
@@ -18512,9 +18515,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18512
18515
|
}
|
|
18513
18516
|
) }, key);
|
|
18514
18517
|
}
|
|
18515
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18518
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
18516
18519
|
}),
|
|
18517
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18520
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
18518
18521
|
] });
|
|
18519
18522
|
}
|
|
18520
18523
|
|
|
@@ -18610,7 +18613,7 @@ var SectionButton = ({
|
|
|
18610
18613
|
}
|
|
18611
18614
|
),
|
|
18612
18615
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18613
|
-
|
|
18616
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
18614
18617
|
{
|
|
18615
18618
|
text: section.badge.text,
|
|
18616
18619
|
variant: section.badge.variant || "button",
|
|
@@ -18629,7 +18632,7 @@ var SectionButton = ({
|
|
|
18629
18632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
18630
18633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
18631
18634
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18632
|
-
|
|
18635
|
+
_chunkRBOIGJYFcjs.StatusBadge,
|
|
18633
18636
|
{
|
|
18634
18637
|
text: section.badge.text,
|
|
18635
18638
|
variant: section.badge.variant || "button",
|
|
@@ -18946,7 +18949,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
18946
18949
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
18947
18950
|
title: config.title,
|
|
18948
18951
|
loading: "eager",
|
|
18949
|
-
...
|
|
18952
|
+
..._chunkRBOIGJYFcjs.fetchPriorityProp.call(void 0, "high")
|
|
18950
18953
|
},
|
|
18951
18954
|
iframeKey
|
|
18952
18955
|
),
|
|
@@ -19702,15 +19705,15 @@ function useLoading() {
|
|
|
19702
19705
|
|
|
19703
19706
|
|
|
19704
19707
|
function isAlreadyThere(file, existing) {
|
|
19705
|
-
const key =
|
|
19708
|
+
const key = _chunkRBOIGJYFcjs.mediaNameKey.call(void 0, file.name);
|
|
19706
19709
|
if (!key) return false;
|
|
19707
19710
|
return existing.some(
|
|
19708
|
-
(item) => (item.title ?
|
|
19711
|
+
(item) => (item.title ? _chunkRBOIGJYFcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkRBOIGJYFcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
19709
19712
|
);
|
|
19710
19713
|
}
|
|
19711
19714
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
19712
|
-
var isVideoItem = (item) =>
|
|
19713
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
19715
|
+
var isVideoItem = (item) => _chunkRBOIGJYFcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
19716
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkRBOIGJYFcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkRBOIGJYFcjs.MEDIA_FILE_ACCEPT };
|
|
19714
19717
|
var MEDIA_KIND_COPY = {
|
|
19715
19718
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
19716
19719
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -19734,12 +19737,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
19734
19737
|
const seen = /* @__PURE__ */ new Set();
|
|
19735
19738
|
const accepted = [];
|
|
19736
19739
|
for (const file of files) {
|
|
19737
|
-
const mediaType =
|
|
19740
|
+
const mediaType = _chunkRBOIGJYFcjs.fileMediaType.call(void 0, file);
|
|
19738
19741
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
19739
19742
|
unsupported.push(file.name);
|
|
19740
19743
|
continue;
|
|
19741
19744
|
}
|
|
19742
|
-
const contentKey = await
|
|
19745
|
+
const contentKey = await _chunkRBOIGJYFcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
19743
19746
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
19744
19747
|
duplicates.push(file.name);
|
|
19745
19748
|
continue;
|
|
@@ -19920,7 +19923,7 @@ function MediaGalleryManager({
|
|
|
19920
19923
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
19921
19924
|
children: [
|
|
19922
19925
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19923
|
-
|
|
19926
|
+
_chunkRBOIGJYFcjs.Card,
|
|
19924
19927
|
{
|
|
19925
19928
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
19926
19929
|
draggable: true,
|
|
@@ -19945,7 +19948,7 @@ function MediaGalleryManager({
|
|
|
19945
19948
|
) }),
|
|
19946
19949
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
19947
19950
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
19948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
19949
19952
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19950
19953
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
19951
19954
|
{
|
|
@@ -19960,17 +19963,17 @@ function MediaGalleryManager({
|
|
|
19960
19963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
19961
19964
|
isVideoItem(item) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-5 w-5 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-5 w-5 text-ods-text-secondary" }),
|
|
19962
19965
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19963
|
-
|
|
19966
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
19964
19967
|
{
|
|
19965
19968
|
value: item.media_type,
|
|
19966
19969
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
19967
19970
|
children: [
|
|
19968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19969
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19971
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
19972
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { className: "bg-ods-card", children: [
|
|
19973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "image", children: "Image" }),
|
|
19974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "video", children: "Video" }),
|
|
19975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
19976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "demo", children: "Demo" })
|
|
19974
19977
|
] })
|
|
19975
19978
|
]
|
|
19976
19979
|
}
|
|
@@ -19997,7 +20000,7 @@ function MediaGalleryManager({
|
|
|
19997
20000
|
},
|
|
19998
20001
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
19999
20002
|
)),
|
|
20000
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20003
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRBOIGJYFcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
20001
20004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
20002
20005
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
20003
20006
|
] }, `pending-${name}-${index}`))
|
|
@@ -20052,60 +20055,60 @@ function CardSkeleton({
|
|
|
20052
20055
|
function VendorCardContent({ showMetadata }) {
|
|
20053
20056
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20054
20057
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20056
20059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20057
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20060
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20059
20062
|
] })
|
|
20060
20063
|
] }),
|
|
20061
20064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20066
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20064
20067
|
] }) }),
|
|
20065
20068
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20066
20069
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20067
20070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20068
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20070
20073
|
] }),
|
|
20071
20074
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20074
20077
|
] })
|
|
20075
20078
|
] }),
|
|
20076
20079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
20077
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20079
20082
|
] }) })
|
|
20080
20083
|
] })
|
|
20081
20084
|
] });
|
|
20082
20085
|
}
|
|
20083
20086
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20084
20087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.CardImage, {}) }),
|
|
20086
20089
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20087
20090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20090
20093
|
] }) }),
|
|
20091
20094
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20095
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20094
20097
|
] }),
|
|
20095
20098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20100
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20098
20101
|
] }) }),
|
|
20099
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20102
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20100
20103
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
20101
20104
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20104
20107
|
] }),
|
|
20105
20108
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20107
20110
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20111
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20109
20112
|
] })
|
|
20110
20113
|
] }) })
|
|
20111
20114
|
] })
|
|
@@ -20113,35 +20116,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20113
20116
|
}
|
|
20114
20117
|
function CategoryCardContent() {
|
|
20115
20118
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20117
20120
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20118
20121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20122
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20121
20124
|
] }),
|
|
20122
20125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20123
20126
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20126
20129
|
] }),
|
|
20127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20128
20131
|
] })
|
|
20129
20132
|
] })
|
|
20130
20133
|
] });
|
|
20131
20134
|
}
|
|
20132
20135
|
function AlternativeCardContent({ showActions }) {
|
|
20133
20136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20135
20138
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20136
20139
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20140
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20139
20142
|
] }),
|
|
20140
20143
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20144
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20143
20146
|
] }),
|
|
20144
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20147
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20145
20148
|
] })
|
|
20146
20149
|
] });
|
|
20147
20150
|
}
|
|
@@ -20192,12 +20195,12 @@ function HeroSkeleton() {
|
|
|
20192
20195
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20193
20196
|
},
|
|
20194
20197
|
children: [
|
|
20195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20196
20199
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
20197
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20198
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20199
20202
|
] }),
|
|
20200
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20203
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20201
20204
|
]
|
|
20202
20205
|
}
|
|
20203
20206
|
);
|
|
@@ -20208,14 +20211,14 @@ function SearchContainerSkeleton({
|
|
|
20208
20211
|
}) {
|
|
20209
20212
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20210
20213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20213
20216
|
] }),
|
|
20214
20217
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
20215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, {}),
|
|
20219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20221
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20219
20222
|
] })
|
|
20220
20223
|
] });
|
|
20221
20224
|
}
|
|
@@ -20234,7 +20237,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20234
20237
|
{ type: "file", width: "w-36" }
|
|
20235
20238
|
];
|
|
20236
20239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20238
20241
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20239
20242
|
"div",
|
|
20240
20243
|
{
|
|
@@ -20244,12 +20247,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20244
20247
|
),
|
|
20245
20248
|
children: [
|
|
20246
20249
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20250
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20249
20252
|
] }),
|
|
20250
20253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20251
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20252
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20254
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20255
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20253
20256
|
] })
|
|
20254
20257
|
]
|
|
20255
20258
|
},
|
|
@@ -20259,13 +20262,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20259
20262
|
}
|
|
20260
20263
|
function BreadcrumbSkeleton({ className }) {
|
|
20261
20264
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20266
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20266
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20269
20272
|
] });
|
|
20270
20273
|
}
|
|
20271
20274
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20276,7 +20279,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20276
20279
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20277
20280
|
className
|
|
20278
20281
|
),
|
|
20279
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20282
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20280
20283
|
}
|
|
20281
20284
|
);
|
|
20282
20285
|
}
|
|
@@ -20310,35 +20313,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20310
20313
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20311
20314
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20312
20315
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20314
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20316
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, {}),
|
|
20317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20315
20318
|
] }),
|
|
20316
20319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20319
20322
|
] }),
|
|
20320
20323
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20321
20324
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20324
20327
|
] }),
|
|
20325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20327
20330
|
] })
|
|
20328
20331
|
] }),
|
|
20329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20330
20333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20331
20334
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20335
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20335
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20336
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20336
20339
|
] }, index)),
|
|
20337
20340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20339
20342
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20340
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20342
20345
|
] })
|
|
20343
20346
|
] })
|
|
20344
20347
|
] })
|
|
@@ -20564,11 +20567,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20564
20567
|
className
|
|
20565
20568
|
),
|
|
20566
20569
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
20567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20569
20572
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20572
20575
|
] })
|
|
20573
20576
|
] }) }, i))
|
|
20574
20577
|
}
|
|
@@ -20723,7 +20726,7 @@ function useContentLoading(isLoading) {
|
|
|
20723
20726
|
|
|
20724
20727
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
20725
20728
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
20726
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20729
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
20727
20730
|
}
|
|
20728
20731
|
function ListSkeleton({
|
|
20729
20732
|
className,
|
|
@@ -20733,12 +20736,12 @@ function ListSkeleton({
|
|
|
20733
20736
|
}) {
|
|
20734
20737
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20735
20738
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20736
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20739
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
20738
20741
|
] }),
|
|
20739
20742
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
20744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
20742
20745
|
] })
|
|
20743
20746
|
] }, index)) });
|
|
20744
20747
|
}
|
|
@@ -20748,13 +20751,13 @@ function TableSkeleton({
|
|
|
20748
20751
|
columns = 4
|
|
20749
20752
|
}) {
|
|
20750
20753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20754
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
20752
20755
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20753
20756
|
"div",
|
|
20754
20757
|
{
|
|
20755
20758
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
20756
20759
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
20757
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20760
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
20758
20761
|
},
|
|
20759
20762
|
rowIndex
|
|
20760
20763
|
)) })
|
|
@@ -20763,13 +20766,13 @@ function TableSkeleton({
|
|
|
20763
20766
|
function FormSkeleton({ className, fields = 4 }) {
|
|
20764
20767
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
20765
20768
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20766
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20768
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Input, {}),
|
|
20771
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
20769
20772
|
] }, index)),
|
|
20770
20773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
20771
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20772
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, {}),
|
|
20775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
20773
20776
|
] })
|
|
20774
20777
|
] });
|
|
20775
20778
|
}
|
|
@@ -20784,7 +20787,7 @@ function NavigationSkeleton({
|
|
|
20784
20787
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
20785
20788
|
role: "status",
|
|
20786
20789
|
"aria-label": "Loading navigation",
|
|
20787
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20790
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
20788
20791
|
}
|
|
20789
20792
|
);
|
|
20790
20793
|
}
|
|
@@ -20795,30 +20798,30 @@ function ProfileSkeleton({
|
|
|
20795
20798
|
}) {
|
|
20796
20799
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20797
20800
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
20798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20801
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
20799
20802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20800
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20802
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
20805
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20803
20806
|
] })
|
|
20804
20807
|
] }),
|
|
20805
20808
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20806
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20808
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
20811
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20809
20812
|
] }),
|
|
20810
20813
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
20811
20814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
20814
20817
|
] }),
|
|
20815
20818
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20817
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20819
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20820
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
20818
20821
|
] }),
|
|
20819
20822
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20820
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20821
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20823
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
20822
20825
|
] })
|
|
20823
20826
|
] })
|
|
20824
20827
|
] });
|
|
@@ -20830,32 +20833,32 @@ function CommentSkeleton({
|
|
|
20830
20833
|
}) {
|
|
20831
20834
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
20832
20835
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20834
20837
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
20835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20837
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20840
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
20838
20841
|
] })
|
|
20839
20842
|
] }),
|
|
20840
20843
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
20841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20845
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
20846
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20844
20847
|
] }),
|
|
20845
20848
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
20846
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20847
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20849
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20850
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20851
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20849
20852
|
] }),
|
|
20850
20853
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20851
20854
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
20857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
20855
20858
|
] }),
|
|
20856
20859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
20857
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20859
20862
|
] })
|
|
20860
20863
|
] }, index)) })
|
|
20861
20864
|
] });
|
|
@@ -20868,31 +20871,31 @@ function FeatureListSkeleton({
|
|
|
20868
20871
|
}) {
|
|
20869
20872
|
if (grouped) {
|
|
20870
20873
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20872
20875
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20873
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20876
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20875
20878
|
] }, featureIndex)) })
|
|
20876
20879
|
] }, groupIndex)) });
|
|
20877
20880
|
}
|
|
20878
20881
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20879
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20882
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20881
20884
|
] }, index)) });
|
|
20882
20885
|
}
|
|
20883
20886
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
20884
20887
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
20885
20888
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
20886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20887
20890
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
20888
20891
|
] }),
|
|
20889
20892
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20890
20893
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
20895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20893
20896
|
] }),
|
|
20894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20896
20899
|
] })
|
|
20897
20900
|
] }, index)) });
|
|
20898
20901
|
}
|
|
@@ -20908,16 +20911,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
20908
20911
|
className
|
|
20909
20912
|
),
|
|
20910
20913
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
20911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20912
20915
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
20917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
20915
20918
|
] }),
|
|
20916
20919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20919
20922
|
] }, featureIndex)) }),
|
|
20920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
20921
20924
|
] }) }, index))
|
|
20922
20925
|
}
|
|
20923
20926
|
);
|
|
@@ -20953,12 +20956,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
20953
20956
|
"aria-label": "Loading MSP profile form",
|
|
20954
20957
|
children: [
|
|
20955
20958
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
20956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20959
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
20960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
20958
20961
|
] }),
|
|
20959
20962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
20960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
20964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.InteractiveSkeleton.Input, {})
|
|
20962
20965
|
] }, idx)) })
|
|
20963
20966
|
]
|
|
20964
20967
|
}
|
|
@@ -20978,13 +20981,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
20978
20981
|
role: "status",
|
|
20979
20982
|
"aria-label": "Loading category card",
|
|
20980
20983
|
children: [
|
|
20981
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20984
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
20982
20985
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
20983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20984
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20985
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20986
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
20987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
20988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" })
|
|
20986
20989
|
] }),
|
|
20987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
20988
20991
|
]
|
|
20989
20992
|
}
|
|
20990
20993
|
);
|
|
@@ -21001,12 +21004,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21001
21004
|
"aria-label": "Loading category section",
|
|
21002
21005
|
children: [
|
|
21003
21006
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21005
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21006
21009
|
] }),
|
|
21007
21010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21010
21013
|
] }, idx)) })
|
|
21011
21014
|
]
|
|
21012
21015
|
}
|
|
@@ -21017,14 +21020,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21017
21020
|
|
|
21018
21021
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21019
21022
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
21020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21021
21024
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21024
21027
|
] }),
|
|
21025
21028
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21029
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21028
21031
|
] })
|
|
21029
21032
|
] });
|
|
21030
21033
|
}
|
|
@@ -21416,28 +21419,28 @@ function OrganizationCardSkeleton({
|
|
|
21416
21419
|
}
|
|
21417
21420
|
),
|
|
21418
21421
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21421
21424
|
] })
|
|
21422
21425
|
] }),
|
|
21423
21426
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
21424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21425
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21427
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21428
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21426
21429
|
] }) }),
|
|
21427
21430
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21428
21431
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21429
21432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21432
21435
|
] }),
|
|
21433
21436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21435
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21437
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21436
21439
|
] })
|
|
21437
21440
|
] }),
|
|
21438
21441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
21439
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21441
21444
|
] }) })
|
|
21442
21445
|
] })
|
|
21443
21446
|
] })
|
|
@@ -21514,16 +21517,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21514
21517
|
|
|
21515
21518
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21516
21519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21517
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21520
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21518
21521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
21519
21522
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21521
21524
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21526
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21524
21527
|
] })
|
|
21525
21528
|
] }),
|
|
21526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21527
21530
|
] }) }, i)) })
|
|
21528
21531
|
] });
|
|
21529
21532
|
}
|
|
@@ -21775,14 +21778,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21775
21778
|
empty: "No token rates are in effect right now."
|
|
21776
21779
|
};
|
|
21777
21780
|
function providerMark(providerType, stated, className) {
|
|
21778
|
-
const Mark =
|
|
21781
|
+
const Mark = _chunkMANNIJ42cjs.findIcon.call(void 0, _chunkA4HNF4MPcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21779
21782
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21780
21783
|
}
|
|
21781
21784
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
21782
21785
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
21783
21786
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21784
21787
|
function useProviderGroup(rates) {
|
|
21785
|
-
const groups =
|
|
21788
|
+
const groups = _chunkA4HNF4MPcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21786
21789
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21787
21790
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21788
21791
|
}
|
|
@@ -21793,7 +21796,7 @@ function ProviderTabs({
|
|
|
21793
21796
|
className
|
|
21794
21797
|
}) {
|
|
21795
21798
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21796
|
-
|
|
21799
|
+
_chunkHY2KTQSLcjs.TabSelector,
|
|
21797
21800
|
{
|
|
21798
21801
|
variant: "secondary",
|
|
21799
21802
|
scrollable: true,
|
|
@@ -21801,7 +21804,7 @@ function ProviderTabs({
|
|
|
21801
21804
|
onValueChange,
|
|
21802
21805
|
items: groups.map((candidate) => ({
|
|
21803
21806
|
id: candidate.providerType,
|
|
21804
|
-
label:
|
|
21807
|
+
label: _chunkA4HNF4MPcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _425 => _425.rates, 'access', _426 => _426[0], 'optionalAccess', _427 => _427.providerLabel])),
|
|
21805
21808
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _428 => _428.rates, 'access', _429 => _429[0], 'optionalAccess', _430 => _430.providerIcon]), "size-full")
|
|
21806
21809
|
})),
|
|
21807
21810
|
className
|
|
@@ -21902,8 +21905,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21902
21905
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
21903
21906
|
children: [
|
|
21904
21907
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkA4HNF4MPcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkA4HNF4MPcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21907
21910
|
]
|
|
21908
21911
|
},
|
|
21909
21912
|
rate.modelName
|
|
@@ -21975,7 +21978,7 @@ function modelOption(rate) {
|
|
|
21975
21978
|
return {
|
|
21976
21979
|
label: rate.displayName || rate.modelName,
|
|
21977
21980
|
value: rate.modelName,
|
|
21978
|
-
description:
|
|
21981
|
+
description: _chunkA4HNF4MPcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21979
21982
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21980
21983
|
};
|
|
21981
21984
|
}
|
|
@@ -22029,9 +22032,9 @@ function ModelTokenExchange({
|
|
|
22029
22032
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22030
22033
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _431 => _431.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22031
22034
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22032
|
-
const tokens =
|
|
22033
|
-
const cost =
|
|
22034
|
-
const balancePrice = cost === null ? null :
|
|
22035
|
+
const tokens = _chunkA4HNF4MPcjs.formatTokenAmount.call(void 0, balance);
|
|
22036
|
+
const cost = _chunkA4HNF4MPcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22037
|
+
const balancePrice = cost === null ? null : _chunkKLXHCNDCcjs.formatPrice.call(void 0, cost);
|
|
22035
22038
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22036
22039
|
const options = models.map(modelOption);
|
|
22037
22040
|
if (rate && !models.some((candidate) => candidate.modelName === rate.modelName)) options.unshift(modelOption(rate));
|
|
@@ -22072,7 +22075,7 @@ function ModelTokenExchange({
|
|
|
22072
22075
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22073
22076
|
size: "small",
|
|
22074
22077
|
onClick: () => setChosen(preset.tokens),
|
|
22075
|
-
children: copy.buy.preset(
|
|
22078
|
+
children: copy.buy.preset(_chunkA4HNF4MPcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22076
22079
|
},
|
|
22077
22080
|
preset.label
|
|
22078
22081
|
)) })
|
|
@@ -22091,7 +22094,7 @@ function ModelTokenExchange({
|
|
|
22091
22094
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _432 => _432.providerType]) === providerType ? rate : null)));
|
|
22092
22095
|
return {
|
|
22093
22096
|
id: providerType,
|
|
22094
|
-
name:
|
|
22097
|
+
name: _chunkA4HNF4MPcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _433 => _433.providerLabel])),
|
|
22095
22098
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _434 => _434.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22096
22099
|
};
|
|
22097
22100
|
}),
|
|
@@ -22103,7 +22106,7 @@ function ModelTokenExchange({
|
|
|
22103
22106
|
}
|
|
22104
22107
|
),
|
|
22105
22108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22106
|
-
|
|
22109
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
22107
22110
|
{
|
|
22108
22111
|
label: copy.use.model,
|
|
22109
22112
|
value: _nullishCoalesce(_optionalChain([rate, 'optionalAccess', _436 => _436.modelName]), () => ( null)),
|
|
@@ -22129,7 +22132,7 @@ function ModelTokenExchange({
|
|
|
22129
22132
|
{
|
|
22130
22133
|
size: "plain",
|
|
22131
22134
|
loading,
|
|
22132
|
-
figure:
|
|
22135
|
+
figure: _chunkA4HNF4MPcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _439 => _439.inputTokenRate])),
|
|
22133
22136
|
words: copy.charge.input
|
|
22134
22137
|
}
|
|
22135
22138
|
),
|
|
@@ -22138,7 +22141,7 @@ function ModelTokenExchange({
|
|
|
22138
22141
|
{
|
|
22139
22142
|
size: "plain",
|
|
22140
22143
|
loading,
|
|
22141
|
-
figure:
|
|
22144
|
+
figure: _chunkA4HNF4MPcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _440 => _440.outputTokenRate])),
|
|
22142
22145
|
words: copy.charge.output
|
|
22143
22146
|
}
|
|
22144
22147
|
)
|
|
@@ -22150,9 +22153,9 @@ function ModelTokenExchange({
|
|
|
22150
22153
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22151
22154
|
children: [
|
|
22152
22155
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-40" }) :
|
|
22156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-40" }) : _chunkA4HNF4MPcjs.formatTokenAmount.call(void 0, _chunkA4HNF4MPcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22154
22157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-48" }) : copy.charge.orWritten(
|
|
22158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Bar, { className: "w-48" }) : copy.charge.orWritten(_chunkA4HNF4MPcjs.formatTokenAmount.call(void 0, _chunkA4HNF4MPcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22156
22159
|
]
|
|
22157
22160
|
}
|
|
22158
22161
|
)
|
|
@@ -22542,7 +22545,7 @@ function PlatformFilterComponent({
|
|
|
22542
22545
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
22543
22546
|
size,
|
|
22544
22547
|
onClick: () => onPlatformChange(platform.value),
|
|
22545
|
-
leftIcon: showIcons ?
|
|
22548
|
+
leftIcon: showIcons ? _chunkYJFN2W7Acjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
22546
22549
|
className: "text-h3",
|
|
22547
22550
|
children: platform.label
|
|
22548
22551
|
},
|
|
@@ -22623,7 +22626,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
22623
22626
|
}
|
|
22624
22627
|
)
|
|
22625
22628
|
] }),
|
|
22626
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22629
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
22627
22630
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHFNBMV5Mcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent content-md:size-6" })
|
|
22628
22631
|
]
|
|
22629
22632
|
}
|
|
@@ -22650,14 +22653,14 @@ var ConfidenceBadge = ({
|
|
|
22650
22653
|
size = "sm",
|
|
22651
22654
|
className
|
|
22652
22655
|
}) => {
|
|
22653
|
-
const level =
|
|
22656
|
+
const level = _chunkA4HNF4MPcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22654
22657
|
if (level === "none") {
|
|
22655
22658
|
return null;
|
|
22656
22659
|
}
|
|
22657
|
-
const label =
|
|
22658
|
-
const borderClass =
|
|
22659
|
-
const textClass =
|
|
22660
|
-
const bgClass =
|
|
22660
|
+
const label = _chunkA4HNF4MPcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22661
|
+
const borderClass = _chunkA4HNF4MPcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22662
|
+
const textClass = _chunkA4HNF4MPcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22663
|
+
const bgClass = _chunkA4HNF4MPcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22661
22664
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22662
22665
|
"span",
|
|
22663
22666
|
{
|
|
@@ -22708,9 +22711,9 @@ function SEOEditorPreview({
|
|
|
22708
22711
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22709
22712
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22710
22713
|
const seoTitleLength = (seoTitle || "").length;
|
|
22711
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22714
|
+
const seoTitleTooLong = seoTitleLength > _chunkA4HNF4MPcjs.SEO_TITLE_MAX_LENGTH;
|
|
22712
22715
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22713
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22716
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkA4HNF4MPcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22714
22717
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22715
22718
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22716
22719
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22735,10 +22738,10 @@ function SEOEditorPreview({
|
|
|
22735
22738
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22736
22739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22737
22740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22738
|
-
|
|
22741
|
+
_chunkA4HNF4MPcjs.Field,
|
|
22739
22742
|
{
|
|
22740
22743
|
label: "SEO Title",
|
|
22741
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22744
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkA4HNF4MPcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22742
22745
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22743
22746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22744
22747
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22753,7 +22756,7 @@ function SEOEditorPreview({
|
|
|
22753
22756
|
children: [
|
|
22754
22757
|
seoTitleLength,
|
|
22755
22758
|
"/",
|
|
22756
|
-
|
|
22759
|
+
_chunkA4HNF4MPcjs.SEO_TITLE_MAX_LENGTH
|
|
22757
22760
|
]
|
|
22758
22761
|
}
|
|
22759
22762
|
),
|
|
@@ -22764,7 +22767,7 @@ function SEOEditorPreview({
|
|
|
22764
22767
|
value: seoTitle || "",
|
|
22765
22768
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22766
22769
|
disabled,
|
|
22767
|
-
maxLength:
|
|
22770
|
+
maxLength: _chunkA4HNF4MPcjs.SEO_TITLE_MAX_LENGTH,
|
|
22768
22771
|
invalid: seoTitleTooLong,
|
|
22769
22772
|
placeholder: "Enter SEO meta title...",
|
|
22770
22773
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22775,7 +22778,7 @@ function SEOEditorPreview({
|
|
|
22775
22778
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22776
22779
|
] }),
|
|
22777
22780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22778
|
-
|
|
22781
|
+
_chunkA4HNF4MPcjs.Field,
|
|
22779
22782
|
{
|
|
22780
22783
|
label: "SEO Keywords",
|
|
22781
22784
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22807,10 +22810,10 @@ function SEOEditorPreview({
|
|
|
22807
22810
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22808
22811
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22809
22812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22810
|
-
|
|
22813
|
+
_chunkA4HNF4MPcjs.Field,
|
|
22811
22814
|
{
|
|
22812
22815
|
label: "SEO Description",
|
|
22813
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22816
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkA4HNF4MPcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22814
22817
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22815
22818
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22816
22819
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22833,7 +22836,7 @@ function SEOEditorPreview({
|
|
|
22833
22836
|
children: [
|
|
22834
22837
|
seoDescriptionLength,
|
|
22835
22838
|
"/",
|
|
22836
|
-
|
|
22839
|
+
_chunkA4HNF4MPcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22837
22840
|
]
|
|
22838
22841
|
}
|
|
22839
22842
|
),
|
|
@@ -22844,7 +22847,7 @@ function SEOEditorPreview({
|
|
|
22844
22847
|
value: seoDescription || "",
|
|
22845
22848
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22846
22849
|
disabled,
|
|
22847
|
-
maxLength:
|
|
22850
|
+
maxLength: _chunkA4HNF4MPcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22848
22851
|
invalid: seoDescriptionTooLong,
|
|
22849
22852
|
placeholder: "Enter SEO meta description...",
|
|
22850
22853
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22913,7 +22916,7 @@ function SEOEditorPreview({
|
|
|
22913
22916
|
{
|
|
22914
22917
|
ref: setFileInputRef,
|
|
22915
22918
|
type: "file",
|
|
22916
|
-
accept:
|
|
22919
|
+
accept: _chunkRBOIGJYFcjs.IMAGE_FILE_ACCEPT,
|
|
22917
22920
|
onChange: handleImageUpload,
|
|
22918
22921
|
className: "hidden",
|
|
22919
22922
|
disabled: disabled || isUploading
|
|
@@ -22994,10 +22997,10 @@ var SOCIAL_ICONS = {
|
|
|
22994
22997
|
};
|
|
22995
22998
|
function socialIcon(platform) {
|
|
22996
22999
|
if (!Object.prototype.hasOwnProperty.call(SOCIAL_ICONS, platform)) return void 0;
|
|
22997
|
-
return _nullishCoalesce(
|
|
23000
|
+
return _nullishCoalesce(_chunkMANNIJ42cjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22998
23001
|
}
|
|
22999
23002
|
function renderSocialIcon(platform) {
|
|
23000
|
-
const key = _nullishCoalesce(
|
|
23003
|
+
const key = _nullishCoalesce(_chunkA4HNF4MPcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23001
23004
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23002
23005
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23003
23006
|
}
|
|
@@ -23080,7 +23083,7 @@ function SocialLinksManager({
|
|
|
23080
23083
|
};
|
|
23081
23084
|
const getIcon = (link, platform) => {
|
|
23082
23085
|
const iconKey = _optionalChain([platform, 'optionalAccess', _450 => _450.icon_name]) || link.platform;
|
|
23083
|
-
const key =
|
|
23086
|
+
const key = _chunkA4HNF4MPcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23084
23087
|
if (!key) return null;
|
|
23085
23088
|
const icon = socialIcon(key);
|
|
23086
23089
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23096,9 +23099,9 @@ function SocialLinksManager({
|
|
|
23096
23099
|
children: [
|
|
23097
23100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23098
23101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
23104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23102
23105
|
] }) }),
|
|
23103
23106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23104
23107
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -23116,15 +23119,15 @@ function SocialLinksManager({
|
|
|
23116
23119
|
)
|
|
23117
23120
|
] }),
|
|
23118
23121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23119
|
-
|
|
23122
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
23120
23123
|
{
|
|
23121
23124
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23122
23125
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23123
23126
|
children: [
|
|
23124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23125
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
23128
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: [
|
|
23129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "external", children: "Public" }),
|
|
23130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23128
23131
|
] })
|
|
23129
23132
|
]
|
|
23130
23133
|
}
|
|
@@ -23216,7 +23219,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23216
23219
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
23217
23220
|
style: customStyle,
|
|
23218
23221
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23219
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23222
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23220
23223
|
children
|
|
23221
23224
|
}
|
|
23222
23225
|
);
|
|
@@ -23486,11 +23489,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23486
23489
|
|
|
23487
23490
|
function VideoBitesDisplay({
|
|
23488
23491
|
bites,
|
|
23489
|
-
title =
|
|
23492
|
+
title = _chunkRBOIGJYFcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23490
23493
|
filterPublished = true,
|
|
23491
23494
|
showTitle = true
|
|
23492
23495
|
}) {
|
|
23493
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23496
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY2KTQSLcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23494
23497
|
}
|
|
23495
23498
|
|
|
23496
23499
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23517,7 +23520,7 @@ function WalkthroughVideo({
|
|
|
23517
23520
|
onOpenChange,
|
|
23518
23521
|
defaultOpen,
|
|
23519
23522
|
defaultOpenPaused,
|
|
23520
|
-
deepLinkParam =
|
|
23523
|
+
deepLinkParam = _chunkA4HNF4MPcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23521
23524
|
autoPlayCard = false,
|
|
23522
23525
|
label = "Play Demo Video",
|
|
23523
23526
|
placement,
|
|
@@ -23532,7 +23535,7 @@ function WalkthroughVideo({
|
|
|
23532
23535
|
}) {
|
|
23533
23536
|
const inline = placement === "inline";
|
|
23534
23537
|
const dismissEnabled = dismissal !== false;
|
|
23535
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23538
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkA4HNF4MPcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23536
23539
|
const dismissalId = _optionalChain([video, 'optionalAccess', _456 => _456.id]) != null ? String(video.id) : "dismissed";
|
|
23537
23540
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23538
23541
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23543,7 +23546,7 @@ function WalkthroughVideo({
|
|
|
23543
23546
|
if (!hasVideo) return void 0;
|
|
23544
23547
|
const timer = setTimeout(() => {
|
|
23545
23548
|
const reveal = () => {
|
|
23546
|
-
if (dismissEnabled &&
|
|
23549
|
+
if (dismissEnabled && _chunkA4HNF4MPcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23547
23550
|
setDismissed(true);
|
|
23548
23551
|
return;
|
|
23549
23552
|
}
|
|
@@ -23560,7 +23563,7 @@ function WalkthroughVideo({
|
|
|
23560
23563
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23561
23564
|
};
|
|
23562
23565
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
23563
|
-
const hydrated =
|
|
23566
|
+
const hydrated = _chunkHY2KTQSLcjs.useIsHydrated.call(void 0, );
|
|
23564
23567
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23565
23568
|
if (!hydrated) return false;
|
|
23566
23569
|
try {
|
|
@@ -23810,7 +23813,7 @@ function WalkthroughVideo({
|
|
|
23810
23813
|
(e) => {
|
|
23811
23814
|
e.stopPropagation();
|
|
23812
23815
|
pausePreviewNow();
|
|
23813
|
-
if (dismissEnabled)
|
|
23816
|
+
if (dismissEnabled) _chunkA4HNF4MPcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23814
23817
|
setDismissed(true);
|
|
23815
23818
|
},
|
|
23816
23819
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23959,7 +23962,7 @@ function WalkthroughVideo({
|
|
|
23959
23962
|
},
|
|
23960
23963
|
children: [
|
|
23961
23964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23962
|
-
|
|
23965
|
+
_chunkRBOIGJYFcjs.VideoHoverPreviewSurface,
|
|
23963
23966
|
{
|
|
23964
23967
|
url: video.mainVideoUrl || "",
|
|
23965
23968
|
posterUrl: video.posterUrl,
|
|
@@ -23983,7 +23986,7 @@ function WalkthroughVideo({
|
|
|
23983
23986
|
`card-${embedUrlKey}`
|
|
23984
23987
|
) }),
|
|
23985
23988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23986
|
-
|
|
23989
|
+
_chunkHY2KTQSLcjs.CardHitLayer,
|
|
23987
23990
|
{
|
|
23988
23991
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23989
23992
|
onPointerDown: pausePreviewNow,
|
|
@@ -23992,7 +23995,7 @@ function WalkthroughVideo({
|
|
|
23992
23995
|
}
|
|
23993
23996
|
),
|
|
23994
23997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
23995
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23998
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYADG5Q7Ccjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
23996
23999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
23997
24000
|
] }),
|
|
23998
24001
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24098,7 +24101,7 @@ function WalkthroughVideo({
|
|
|
24098
24101
|
children: [
|
|
24099
24102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24100
24103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24101
|
-
|
|
24104
|
+
_chunkRBOIGJYFcjs.Video,
|
|
24102
24105
|
{
|
|
24103
24106
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24104
24107
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24149,7 +24152,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24149
24152
|
var _reactquery = require('@tanstack/react-query');
|
|
24150
24153
|
function useWalkthroughVideo(opts) {
|
|
24151
24154
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24152
|
-
const captions =
|
|
24155
|
+
const captions = _chunkHY2KTQSLcjs.useCaptions.call(void 0, );
|
|
24153
24156
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24154
24157
|
queryKey: ["walkthrough-video", endpoint],
|
|
24155
24158
|
enabled,
|
|
@@ -24347,7 +24350,7 @@ function VideoSourceSelector({
|
|
|
24347
24350
|
}
|
|
24348
24351
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24349
24352
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24351
24354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24352
24355
|
"button",
|
|
24353
24356
|
{
|
|
@@ -24801,19 +24804,19 @@ function HighlightVideoSection({
|
|
|
24801
24804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
24802
24805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { children: "Target Duration" }),
|
|
24803
24806
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24804
|
-
|
|
24807
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
24805
24808
|
{
|
|
24806
24809
|
value: targetDurationSeconds.toString(),
|
|
24807
24810
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24808
24811
|
disabled,
|
|
24809
24812
|
children: [
|
|
24810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24811
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24815
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
24814
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24817
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24818
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24819
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24817
24820
|
] })
|
|
24818
24821
|
]
|
|
24819
24822
|
}
|
|
@@ -24871,7 +24874,7 @@ function HighlightVideoSection({
|
|
|
24871
24874
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24872
24875
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24873
24876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24875
24878
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24876
24879
|
"button",
|
|
24877
24880
|
{
|
|
@@ -24898,20 +24901,20 @@ function HighlightConfigSection({
|
|
|
24898
24901
|
disabled = false,
|
|
24899
24902
|
className = ""
|
|
24900
24903
|
}) {
|
|
24901
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24902
|
-
|
|
24904
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA4HNF4MPcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24905
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
24903
24906
|
{
|
|
24904
24907
|
value: targetDurationSeconds.toString(),
|
|
24905
24908
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24906
24909
|
disabled,
|
|
24907
24910
|
children: [
|
|
24908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24909
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
24912
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24915
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24915
24918
|
] })
|
|
24916
24919
|
]
|
|
24917
24920
|
}
|
|
@@ -24999,7 +25002,7 @@ var AIStatusIndicator = ({
|
|
|
24999
25002
|
}) => {
|
|
25000
25003
|
const config = statusConfig[status];
|
|
25001
25004
|
const displayText = message || config.label;
|
|
25002
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25005
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkA4HNF4MPcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25003
25006
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25004
25007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25005
25008
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25007,7 +25010,7 @@ var AIStatusIndicator = ({
|
|
|
25007
25010
|
size: 16,
|
|
25008
25011
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25009
25012
|
status === "loading" && "animate-pulse",
|
|
25010
|
-
confidence !== void 0 && status === "success" ?
|
|
25013
|
+
confidence !== void 0 && status === "success" ? _chunkA4HNF4MPcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25011
25014
|
)
|
|
25012
25015
|
}
|
|
25013
25016
|
),
|
|
@@ -25016,7 +25019,7 @@ var AIStatusIndicator = ({
|
|
|
25016
25019
|
{
|
|
25017
25020
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25018
25021
|
"text-h6",
|
|
25019
|
-
confidence !== void 0 && status === "success" ?
|
|
25022
|
+
confidence !== void 0 && status === "success" ? _chunkA4HNF4MPcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25020
25023
|
),
|
|
25021
25024
|
children: displayText
|
|
25022
25025
|
}
|
|
@@ -25026,8 +25029,8 @@ var AIStatusIndicator = ({
|
|
|
25026
25029
|
{
|
|
25027
25030
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25028
25031
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25029
|
-
|
|
25030
|
-
|
|
25032
|
+
_chunkA4HNF4MPcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25033
|
+
_chunkA4HNF4MPcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25031
25034
|
),
|
|
25032
25035
|
children: confidenceLabel
|
|
25033
25036
|
}
|
|
@@ -25592,7 +25595,7 @@ function ApprovalLevelView({
|
|
|
25592
25595
|
] });
|
|
25593
25596
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
25594
25597
|
name,
|
|
25595
|
-
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25598
|
+
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHLIJ3U2Tcjs.TouchFriendlyTooltip, { content: `${current.label}: ${current.hint}`, side: "top", children: icon })
|
|
25596
25599
|
] });
|
|
25597
25600
|
}
|
|
25598
25601
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center gap-[var(--spacing-system-sf)]", className), children: [
|
|
@@ -25669,7 +25672,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
25669
25672
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
25670
25673
|
};
|
|
25671
25674
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 content-md:items-center", children: [
|
|
25672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WXLQ5R5cjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
25673
25676
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
25674
25677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
25675
25678
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -25695,7 +25698,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
25695
25698
|
] });
|
|
25696
25699
|
};
|
|
25697
25700
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
25698
|
-
const { innerRef, containerStyle } =
|
|
25701
|
+
const { innerRef, containerStyle } = _chunkHEOD765Rcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
25699
25702
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
25700
25703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25701
25704
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -25868,8 +25871,8 @@ function PoliciesTable({
|
|
|
25868
25871
|
accessorKey: "name",
|
|
25869
25872
|
header: "Name",
|
|
25870
25873
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] min-w-0 flex-col justify-center gap-1 py-2", children: [
|
|
25871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25872
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: row.original.name }),
|
|
25875
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25873
25876
|
] }),
|
|
25874
25877
|
meta: { width: "flex-1 min-w-0" }
|
|
25875
25878
|
},
|
|
@@ -25901,7 +25904,7 @@ function PoliciesTable({
|
|
|
25901
25904
|
cell: ({ row }) => {
|
|
25902
25905
|
const { status } = row.original;
|
|
25903
25906
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-1", children: [
|
|
25904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { className: "self-start", label: status.label, variant: status.variant }),
|
|
25905
25908
|
status.note && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `text-h6 ${NOTE_TONE_CLASS[status.note.tone]}`, children: status.note.text })
|
|
25906
25909
|
] });
|
|
25907
25910
|
},
|
|
@@ -25923,7 +25926,7 @@ function PoliciesTable({
|
|
|
25923
25926
|
cell: ({ row }) => row.original.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25924
25927
|
_chunkAZL332TKcjs.Button,
|
|
25925
25928
|
{
|
|
25926
|
-
onClick:
|
|
25929
|
+
onClick: _chunkA4HNF4MPcjs.openInNewTab.call(void 0, row.original.href),
|
|
25927
25930
|
variant: "outline",
|
|
25928
25931
|
size: "icon",
|
|
25929
25932
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26024,7 +26027,7 @@ function PolicySummaryCards({ summary, isLoading = false, hasData = true, now })
|
|
|
26024
26027
|
DashboardInfoCard,
|
|
26025
26028
|
{
|
|
26026
26029
|
title: "Updated",
|
|
26027
|
-
value: hasData && summary.lastUpdatedAt ?
|
|
26030
|
+
value: hasData && summary.lastUpdatedAt ? _chunkHEOD765Rcjs.formatRelativeTimeFrom.call(void 0, summary.lastUpdatedAt, _nullishCoalesce(now, () => ( /* @__PURE__ */ new Date()))) : EMPTY_VALUE,
|
|
26028
26031
|
valueClassName: "!text-h3",
|
|
26029
26032
|
tooltip: "Policy compliance stats are updated hourly. View a policy's devices for real-time status."
|
|
26030
26033
|
}
|
|
@@ -26140,7 +26143,7 @@ function toValidInstant(iso) {
|
|
|
26140
26143
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
26141
26144
|
const date = toValidInstant(iso);
|
|
26142
26145
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
26143
|
-
return now.getTime() - date.getTime() < DAY_MS ?
|
|
26146
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunkHEOD765Rcjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunkE3N24573cjs.formatDate.call(void 0, date);
|
|
26144
26147
|
}
|
|
26145
26148
|
function usersCountLabel(count) {
|
|
26146
26149
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -26151,8 +26154,8 @@ function usersCountLabel(count) {
|
|
|
26151
26154
|
|
|
26152
26155
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
26153
26156
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
26158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26156
26159
|
] });
|
|
26157
26160
|
}
|
|
26158
26161
|
|
|
@@ -26163,9 +26166,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26163
26166
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26164
26167
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26165
26168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: name })
|
|
26167
26170
|
] }),
|
|
26168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26169
26172
|
] });
|
|
26170
26173
|
}
|
|
26171
26174
|
|
|
@@ -26174,10 +26177,10 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26174
26177
|
function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
26175
26178
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26176
26179
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26181
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: name })
|
|
26179
26182
|
] }),
|
|
26180
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
26181
26184
|
] });
|
|
26182
26185
|
}
|
|
26183
26186
|
|
|
@@ -26249,7 +26252,7 @@ function TenantsTableView({
|
|
|
26249
26252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26250
26253
|
_chunkAZL332TKcjs.Button,
|
|
26251
26254
|
{
|
|
26252
|
-
onClick:
|
|
26255
|
+
onClick: _chunkA4HNF4MPcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26253
26256
|
variant: "outline",
|
|
26254
26257
|
size: "icon",
|
|
26255
26258
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26327,13 +26330,13 @@ function WaitlistForm({
|
|
|
26327
26330
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26328
26331
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26329
26332
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26330
|
-
const { toast } =
|
|
26331
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26333
|
+
const { toast } = _chunkBFHLGEJKcjs.useToast.call(void 0, );
|
|
26334
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkBFHLGEJKcjs.useHumanitySignals.call(void 0, );
|
|
26332
26335
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26333
|
-
const isClient =
|
|
26336
|
+
const isClient = _chunkHY2KTQSLcjs.useIsHydrated.call(void 0, );
|
|
26334
26337
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26335
26338
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26336
|
-
const rescue =
|
|
26339
|
+
const rescue = _chunkBFHLGEJKcjs.useFormRescue.call(void 0, {
|
|
26337
26340
|
form: rescueForm,
|
|
26338
26341
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
26339
26342
|
fieldNames: ["email", "phone"],
|
|
@@ -26345,7 +26348,7 @@ function WaitlistForm({
|
|
|
26345
26348
|
_react.useEffect.call(void 0, () => {
|
|
26346
26349
|
rescue.track({ email, phone }, null);
|
|
26347
26350
|
}, [email, phone, rescue]);
|
|
26348
|
-
const isMailDomainGeneric =
|
|
26351
|
+
const isMailDomainGeneric = _chunkA4HNF4MPcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26349
26352
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26350
26353
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26351
26354
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26379,7 +26382,7 @@ function WaitlistForm({
|
|
|
26379
26382
|
setShowConsentError(true);
|
|
26380
26383
|
return;
|
|
26381
26384
|
}
|
|
26382
|
-
const finalPhone = phone ?
|
|
26385
|
+
const finalPhone = phone ? _chunkA4HNF4MPcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26383
26386
|
try {
|
|
26384
26387
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26385
26388
|
rescue.complete();
|
|
@@ -26977,7 +26980,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26977
26980
|
}, [mobileBreakpoint]);
|
|
26978
26981
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26979
26982
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26980
|
-
const { size, setSize, clampSize } =
|
|
26983
|
+
const { size, setSize, clampSize } = _chunkRAHRDJBPcjs.useResizablePanelSize.call(void 0, {
|
|
26981
26984
|
enabled: resizable,
|
|
26982
26985
|
minSize,
|
|
26983
26986
|
maxSize,
|
|
@@ -26997,7 +27000,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26997
27000
|
"data-state": open ? "open" : "closed",
|
|
26998
27001
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
26999
27002
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
27000
|
-
|
|
27003
|
+
_chunkRAHRDJBPcjs.OVERLAY_BACKDROP_CLASS,
|
|
27001
27004
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27002
27005
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27003
27006
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27040,7 +27043,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27040
27043
|
children: [
|
|
27041
27044
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
27042
27045
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27043
|
-
|
|
27046
|
+
_chunkRAHRDJBPcjs.PanelResizeHandle,
|
|
27044
27047
|
{
|
|
27045
27048
|
variant: "inLayout",
|
|
27046
27049
|
side: resolvedSide,
|
|
@@ -27079,11 +27082,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27079
27082
|
}
|
|
27080
27083
|
);
|
|
27081
27084
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27082
|
-
var AppLayoutDrawerHeader =
|
|
27083
|
-
var AppLayoutDrawerTitle =
|
|
27084
|
-
var AppLayoutDrawerDescription =
|
|
27085
|
-
var AppLayoutDrawerBody =
|
|
27086
|
-
var AppLayoutDrawerFooter =
|
|
27085
|
+
var AppLayoutDrawerHeader = _chunkRAHRDJBPcjs.DrawerHeader;
|
|
27086
|
+
var AppLayoutDrawerTitle = _chunkRAHRDJBPcjs.DrawerTitle;
|
|
27087
|
+
var AppLayoutDrawerDescription = _chunkRAHRDJBPcjs.DrawerDescription;
|
|
27088
|
+
var AppLayoutDrawerBody = _chunkRAHRDJBPcjs.DrawerBody;
|
|
27089
|
+
var AppLayoutDrawerFooter = _chunkRAHRDJBPcjs.DrawerFooter;
|
|
27087
27090
|
|
|
27088
27091
|
// src/components/features/notifications/notification-tile.tsx
|
|
27089
27092
|
|
|
@@ -27102,7 +27105,7 @@ var typeColorByVariant = {
|
|
|
27102
27105
|
error: "text-ods-error"
|
|
27103
27106
|
};
|
|
27104
27107
|
var progressColorByVariant2 = {
|
|
27105
|
-
...
|
|
27108
|
+
..._chunkBFHLGEJKcjs.progressColorByVariant,
|
|
27106
27109
|
default: "bg-ods-accent",
|
|
27107
27110
|
info: "bg-ods-accent"
|
|
27108
27111
|
};
|
|
@@ -27179,7 +27182,7 @@ function NotificationTile({
|
|
|
27179
27182
|
height: 16,
|
|
27180
27183
|
unoptimized: true
|
|
27181
27184
|
}
|
|
27182
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27185
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full", _chunkBFHLGEJKcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27183
27186
|
type ? lockscreen ? (
|
|
27184
27187
|
// A phone names the sender in plain words and never cuts them.
|
|
27185
27188
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -27189,7 +27192,7 @@ function NotificationTile({
|
|
|
27189
27192
|
{
|
|
27190
27193
|
dateTime: createdAtIso,
|
|
27191
27194
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
27192
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
27195
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunkHEOD765Rcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
27193
27196
|
}
|
|
27194
27197
|
) : null,
|
|
27195
27198
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
@@ -27298,7 +27301,7 @@ function NotificationDrawer({
|
|
|
27298
27301
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27299
27302
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27300
27303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27301
|
-
|
|
27304
|
+
_chunkRAHRDJBPcjs.DrawerTitle,
|
|
27302
27305
|
{
|
|
27303
27306
|
hideClose: true,
|
|
27304
27307
|
className: "truncate",
|
|
@@ -27357,8 +27360,8 @@ function NotificationDrawer({
|
|
|
27357
27360
|
}
|
|
27358
27361
|
) });
|
|
27359
27362
|
}
|
|
27360
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27361
|
-
|
|
27363
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRAHRDJBPcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27364
|
+
_chunkRAHRDJBPcjs.DrawerContent,
|
|
27362
27365
|
{
|
|
27363
27366
|
side: "right",
|
|
27364
27367
|
"aria-describedby": void 0,
|
|
@@ -27463,7 +27466,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27463
27466
|
] });
|
|
27464
27467
|
}
|
|
27465
27468
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27466
|
-
const { supported, permission, request } =
|
|
27469
|
+
const { supported, permission, request } = _chunkBFHLGEJKcjs.useNotificationPermission.call(void 0, );
|
|
27467
27470
|
if (!supported) return null;
|
|
27468
27471
|
const blocked = permission === "denied";
|
|
27469
27472
|
const handleChange = async (value) => {
|
|
@@ -27491,7 +27494,7 @@ function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
|
27491
27494
|
}
|
|
27492
27495
|
function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
27493
27496
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27494
|
-
|
|
27497
|
+
_chunkFKKUQK4Ccjs.SplitButton,
|
|
27495
27498
|
{
|
|
27496
27499
|
variant: "outline",
|
|
27497
27500
|
fullWidth: true,
|
|
@@ -27641,13 +27644,13 @@ function getApprovalMeta(notification) {
|
|
|
27641
27644
|
function resolutionToStatus(resolution) {
|
|
27642
27645
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27643
27646
|
case "APPROVED":
|
|
27644
|
-
return
|
|
27647
|
+
return _chunkE3N24573cjs.APPROVAL_STATUS.APPROVED;
|
|
27645
27648
|
case "REJECTED":
|
|
27646
|
-
return
|
|
27649
|
+
return _chunkE3N24573cjs.APPROVAL_STATUS.REJECTED;
|
|
27647
27650
|
case "CANCELLED":
|
|
27648
|
-
return
|
|
27651
|
+
return _chunkE3N24573cjs.APPROVAL_STATUS.CANCELLED;
|
|
27649
27652
|
default:
|
|
27650
|
-
return
|
|
27653
|
+
return _chunkE3N24573cjs.APPROVAL_STATUS.PENDING;
|
|
27651
27654
|
}
|
|
27652
27655
|
}
|
|
27653
27656
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27693,7 +27696,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27693
27696
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _561 => _561.resolution]));
|
|
27694
27697
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27695
27698
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27696
|
-
const { innerRef, containerStyle } =
|
|
27699
|
+
const { innerRef, containerStyle } = _chunkHEOD765Rcjs.useCollapsible.call(void 0, { expanded });
|
|
27697
27700
|
if (!approval || !batchData) return null;
|
|
27698
27701
|
const tileNotification = {
|
|
27699
27702
|
...notification,
|
|
@@ -27756,7 +27759,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27756
27759
|
}
|
|
27757
27760
|
)
|
|
27758
27761
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27759
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ApprovalStatusTag, { status }),
|
|
27760
27763
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27761
27764
|
"by ",
|
|
27762
27765
|
approval.resolvedByName
|
|
@@ -27774,12 +27777,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27774
27777
|
"aria-expanded": expanded,
|
|
27775
27778
|
"aria-label": toggleLabel,
|
|
27776
27779
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
27777
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27780
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEOD765Rcjs.ExpandChevron, { expanded })
|
|
27778
27781
|
}
|
|
27779
27782
|
)
|
|
27780
27783
|
] }),
|
|
27781
27784
|
children: !lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27782
|
-
|
|
27785
|
+
_chunkHEOD765Rcjs.ApprovalBatchMessage,
|
|
27783
27786
|
{
|
|
27784
27787
|
data: batchData,
|
|
27785
27788
|
showExecutionStatus: false,
|
|
@@ -27852,7 +27855,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
27852
27855
|
const { label, imageUrl } = option;
|
|
27853
27856
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
27854
27857
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
27855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
27856
27859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
27857
27860
|
] }),
|
|
27858
27861
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -27936,7 +27939,7 @@ function TimeTrackerPanel({
|
|
|
27936
27939
|
}));
|
|
27937
27940
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
27938
27941
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27939
|
-
|
|
27942
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
27940
27943
|
{
|
|
27941
27944
|
src: selectedCustomer.imageUrl,
|
|
27942
27945
|
alt: selectedCustomer.label,
|
|
@@ -28016,7 +28019,7 @@ function TimeTrackerPanel({
|
|
|
28016
28019
|
] }),
|
|
28017
28020
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28018
28021
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28019
|
-
|
|
28022
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
28020
28023
|
{
|
|
28021
28024
|
value: selectedTicketId,
|
|
28022
28025
|
onChange: onSelectedTicketChange,
|
|
@@ -28032,7 +28035,7 @@ function TimeTrackerPanel({
|
|
|
28032
28035
|
}
|
|
28033
28036
|
),
|
|
28034
28037
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28035
|
-
|
|
28038
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
28036
28039
|
{
|
|
28037
28040
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28038
28041
|
onChange: onSelectedCustomerChange,
|
|
@@ -28085,7 +28088,7 @@ function TimeTrackerPanel({
|
|
|
28085
28088
|
}
|
|
28086
28089
|
),
|
|
28087
28090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28088
|
-
|
|
28091
|
+
_chunkFKKUQK4Ccjs.SplitButton,
|
|
28089
28092
|
{
|
|
28090
28093
|
variant: "outline",
|
|
28091
28094
|
fullWidth: true,
|
|
@@ -28115,7 +28118,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28115
28118
|
function StatusTag({ status }) {
|
|
28116
28119
|
if (status === "tracking") {
|
|
28117
28120
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28118
|
-
|
|
28121
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
28119
28122
|
{
|
|
28120
28123
|
variant: "success",
|
|
28121
28124
|
className: STATUS_TAG_SKIN,
|
|
@@ -28125,9 +28128,9 @@ function StatusTag({ status }) {
|
|
|
28125
28128
|
);
|
|
28126
28129
|
}
|
|
28127
28130
|
if (status === "paused") {
|
|
28128
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28131
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4D25RXYZcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28129
28132
|
}
|
|
28130
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28133
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28131
28134
|
}
|
|
28132
28135
|
function LastEntryRow({ entry, onClick }) {
|
|
28133
28136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -28296,7 +28299,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28296
28299
|
"data-state": isOpen ? "open" : "closed",
|
|
28297
28300
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
28298
28301
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28299
|
-
|
|
28302
|
+
_chunkRAHRDJBPcjs.OVERLAY_BACKDROP_CLASS,
|
|
28300
28303
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28301
28304
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28302
28305
|
)
|
|
@@ -28322,7 +28325,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28322
28325
|
|
|
28323
28326
|
// src/components/features/devices/device-last-online.ts
|
|
28324
28327
|
function formatLastOnline(lastSeen) {
|
|
28325
|
-
return `Last Online: ${lastSeen ?
|
|
28328
|
+
return `Last Online: ${lastSeen ? _chunkHEOD765Rcjs.formatRelativeTime.call(void 0, lastSeen) : "\u2014"}`;
|
|
28326
28329
|
}
|
|
28327
28330
|
|
|
28328
28331
|
// src/components/features/devices/device-name.ts
|
|
@@ -28366,7 +28369,7 @@ var SELECTION_MODE_OPTIONS = [
|
|
|
28366
28369
|
label: "Select Devices by Criteria",
|
|
28367
28370
|
description: CRITERIA_MODE_DESCRIPTION,
|
|
28368
28371
|
disabled: true,
|
|
28369
|
-
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28372
|
+
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: "Coming Soon", variant: "grey" })
|
|
28370
28373
|
}
|
|
28371
28374
|
];
|
|
28372
28375
|
var SELECTION_MODE_OPTIONS_ENABLED = [
|
|
@@ -28471,7 +28474,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28471
28474
|
}
|
|
28472
28475
|
}
|
|
28473
28476
|
function getDeviceOperatingSystem(osType) {
|
|
28474
|
-
return
|
|
28477
|
+
return _chunkA4HNF4MPcjs.getOSPlatformId.call(void 0, osType);
|
|
28475
28478
|
}
|
|
28476
28479
|
|
|
28477
28480
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -28647,8 +28650,8 @@ function DevicesFilterToolbar({
|
|
|
28647
28650
|
|
|
28648
28651
|
|
|
28649
28652
|
function formatDateTime(input) {
|
|
28650
|
-
const date =
|
|
28651
|
-
return date === "\u2014" ? date : `${date} ${
|
|
28653
|
+
const date = _chunkE3N24573cjs.formatDate.call(void 0, input);
|
|
28654
|
+
return date === "\u2014" ? date : `${date} ${_chunkE3N24573cjs.formatTime.call(void 0, input)}`;
|
|
28652
28655
|
}
|
|
28653
28656
|
function uniqueById(options) {
|
|
28654
28657
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -28753,7 +28756,7 @@ function DevicesTableBody({
|
|
|
28753
28756
|
function OrganizationCell({ device }) {
|
|
28754
28757
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28755
28758
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
28756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28759
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
28757
28760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "break-words text-ods-text-primary text-h4", children: device.organization || "" }) })
|
|
28758
28761
|
] });
|
|
28759
28762
|
}
|
|
@@ -28797,7 +28800,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28797
28800
|
const device = row.original;
|
|
28798
28801
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative box-border flex h-20 w-full shrink-0 content-stretch items-center justify-start gap-4 py-0", children: [
|
|
28799
28802
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28800
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: getDeviceName(device) }) })
|
|
28801
28804
|
] });
|
|
28802
28805
|
},
|
|
28803
28806
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -28810,7 +28813,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28810
28813
|
const device = row.original;
|
|
28811
28814
|
const statusConfig2 = getDeviceStatusConfig(device.status);
|
|
28812
28815
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col items-start gap-1", children: [
|
|
28813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: statusConfig2.label, variant: statusConfig2.variant }) }),
|
|
28814
28817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden text-ods-text-secondary text-h6 content-md:flex", children: device.last_seen ? formatDateTime(device.last_seen) : "Never" })
|
|
28815
28818
|
] });
|
|
28816
28819
|
},
|
|
@@ -28863,7 +28866,7 @@ function useTagFilterModal({
|
|
|
28863
28866
|
setParams,
|
|
28864
28867
|
onApplied = scrollMainToTop
|
|
28865
28868
|
}) {
|
|
28866
|
-
const isMdUp =
|
|
28869
|
+
const isMdUp = _chunkMANNIJ42cjs.useMdUp.call(void 0, );
|
|
28867
28870
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
28868
28871
|
const pendingFiltersRef = _react.useRef.call(void 0, {});
|
|
28869
28872
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -28968,7 +28971,7 @@ function CustomerCell({ device }) {
|
|
|
28968
28971
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28969
28972
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
28970
28973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28971
|
-
|
|
28974
|
+
_chunkFKKUQK4Ccjs.EntityImage,
|
|
28972
28975
|
{
|
|
28973
28976
|
src: fullImageUrl,
|
|
28974
28977
|
alt: device.organization || "Customer",
|
|
@@ -28976,8 +28979,8 @@ function CustomerCell({ device }) {
|
|
|
28976
28979
|
}
|
|
28977
28980
|
),
|
|
28978
28981
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
28979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28980
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: device.organization || "" }),
|
|
28983
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
28981
28984
|
] })
|
|
28982
28985
|
] });
|
|
28983
28986
|
}
|
|
@@ -29271,8 +29274,8 @@ function DeviceSelector({
|
|
|
29271
29274
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29272
29275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29273
29276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29277
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: getDeviceName(device) }),
|
|
29278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
29276
29279
|
] })
|
|
29277
29280
|
] });
|
|
29278
29281
|
},
|
|
@@ -29307,7 +29310,7 @@ function DeviceSelector({
|
|
|
29307
29310
|
header: "STATUS",
|
|
29308
29311
|
cell: ({ row }) => {
|
|
29309
29312
|
const config = getDeviceStatusConfig(row.original.status);
|
|
29310
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29313
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: config.label, variant: config.variant, className: "w-min" });
|
|
29311
29314
|
},
|
|
29312
29315
|
enableSorting: false,
|
|
29313
29316
|
meta: {
|
|
@@ -29788,7 +29791,7 @@ function DevicesList({
|
|
|
29788
29791
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
29789
29792
|
const narrowed = isNarrowed(narrowing);
|
|
29790
29793
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
29791
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
29794
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkBFHLGEJKcjs.useStickyToolbar.call(void 0, );
|
|
29792
29795
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
29793
29796
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions ? getDeviceActionsColumn(rowActions) : void 0, [rowActions]);
|
|
29794
29797
|
return (
|
|
@@ -30010,7 +30013,7 @@ function DevicesPanelView({
|
|
|
30010
30013
|
] })
|
|
30011
30014
|
] });
|
|
30012
30015
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30013
|
-
|
|
30016
|
+
_chunkFKKUQK4Ccjs.PageLayout,
|
|
30014
30017
|
{
|
|
30015
30018
|
title,
|
|
30016
30019
|
backButton,
|
|
@@ -30018,7 +30021,7 @@ function DevicesPanelView({
|
|
|
30018
30021
|
actionsVariant: "icon-buttons",
|
|
30019
30022
|
className,
|
|
30020
30023
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30021
|
-
|
|
30024
|
+
_chunkHY2KTQSLcjs.TabSelector,
|
|
30022
30025
|
{
|
|
30023
30026
|
value: viewMode,
|
|
30024
30027
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _637 => _637(value)]),
|
|
@@ -30084,7 +30087,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30084
30087
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30085
30088
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30086
30089
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30087
|
-
|
|
30090
|
+
_chunkFKKUQK4Ccjs.Autocomplete,
|
|
30088
30091
|
{
|
|
30089
30092
|
label: PACKAGE_SEARCH_LABEL,
|
|
30090
30093
|
labelVariant: "large",
|
|
@@ -30139,16 +30142,16 @@ function SoftwareScheduleFields({
|
|
|
30139
30142
|
] }),
|
|
30140
30143
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30141
30144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30142
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30143
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30144
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30145
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30146
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30147
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30145
30148
|
] })
|
|
30146
30149
|
] }),
|
|
30147
30150
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30148
30151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30149
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30152
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30153
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
30154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30152
30155
|
] })
|
|
30153
30156
|
] })
|
|
30154
30157
|
]
|
|
@@ -30214,22 +30217,22 @@ function newSoftwareRow(key) {
|
|
|
30214
30217
|
|
|
30215
30218
|
function InfoCell2({ value, label }) {
|
|
30216
30219
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: value }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "\u2014" }) }) }),
|
|
30218
30221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30219
30222
|
] });
|
|
30220
30223
|
}
|
|
30221
30224
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30222
30225
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-l)] content-lg:flex-row content-lg:items-end", children: [
|
|
30223
30226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30224
|
-
|
|
30227
|
+
_chunkFKKUQK4Ccjs.Select,
|
|
30225
30228
|
{
|
|
30226
30229
|
value: row.packageManager,
|
|
30227
30230
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30228
30231
|
children: [
|
|
30229
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectValue, {}) }),
|
|
30233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30231
30234
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30232
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30235
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30233
30236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30234
30237
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30235
30238
|
] }) }, manager);
|
|
@@ -30327,7 +30330,7 @@ function SoftwareActionForm({
|
|
|
30327
30330
|
}
|
|
30328
30331
|
);
|
|
30329
30332
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30330
|
-
|
|
30333
|
+
_chunkFKKUQK4Ccjs.PageLayout,
|
|
30331
30334
|
{
|
|
30332
30335
|
title: copy.formTitle,
|
|
30333
30336
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30408,7 +30411,7 @@ function LogDrawer({
|
|
|
30408
30411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AppLayoutDrawerHeader, { children: [
|
|
30409
30412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerTitle, { children: "Log Details" }),
|
|
30410
30413
|
(statusTag || timestamp) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
30411
|
-
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30414
|
+
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: statusTag.label, variant: statusTag.variant }),
|
|
30412
30415
|
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: timestamp })
|
|
30413
30416
|
] })
|
|
30414
30417
|
] }),
|
|
@@ -30416,7 +30419,7 @@ function LogDrawer({
|
|
|
30416
30419
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30417
30420
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerDescription, { asChild: true, className: "leading-6 text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: description }) }),
|
|
30418
30421
|
infoFields && infoFields.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-3 rounded-[6px] border border-ods-border bg-ods-card p-4", children: infoFields.map((field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-0.5", children: [
|
|
30419
|
-
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30422
|
+
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: field.value }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: field.value === null || field.value === void 0 || field.value === false ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) : field.value }),
|
|
30420
30423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30421
30424
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30422
30425
|
children
|
|
@@ -30464,7 +30467,7 @@ function LogsPageView({
|
|
|
30464
30467
|
],
|
|
30465
30468
|
[onRefresh]
|
|
30466
30469
|
);
|
|
30467
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30470
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFKKUQK4Ccjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
30468
30471
|
!hideSearch && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-0 z-20 -my-[var(--spacing-system-l)] flex items-center gap-[var(--spacing-system-m)] bg-ods-bg py-[var(--spacing-system-l)]", children: [
|
|
30469
30472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30470
30473
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -30534,10 +30537,10 @@ var ToolBadge = ({
|
|
|
30534
30537
|
className,
|
|
30535
30538
|
iconClassName
|
|
30536
30539
|
}) => {
|
|
30537
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30538
|
-
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30540
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkA4HNF4MPcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30541
|
+
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WXLQ5R5cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30539
30542
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30540
|
-
|
|
30543
|
+
_chunkHY2KTQSLcjs.NavLinkAnchorViaRuntime,
|
|
30541
30544
|
{
|
|
30542
30545
|
href,
|
|
30543
30546
|
targetPlatform,
|
|
@@ -30614,8 +30617,8 @@ function LogsTableView({
|
|
|
30614
30617
|
accessorKey: "logId",
|
|
30615
30618
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
30616
30619
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
30617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: row.original.timestamp }),
|
|
30621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
30619
30622
|
] }),
|
|
30620
30623
|
enableSorting: false,
|
|
30621
30624
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -30623,7 +30626,7 @@ function LogsTableView({
|
|
|
30623
30626
|
{
|
|
30624
30627
|
accessorKey: "status",
|
|
30625
30628
|
header: "Status",
|
|
30626
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30629
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: row.original.status.label, variant: row.original.status.variant }) }),
|
|
30627
30630
|
enableSorting: false,
|
|
30628
30631
|
filterFn: multiSelect,
|
|
30629
30632
|
meta: {
|
|
@@ -30643,7 +30646,7 @@ function LogsTableView({
|
|
|
30643
30646
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30644
30647
|
ToolBadge,
|
|
30645
30648
|
{
|
|
30646
|
-
toolType:
|
|
30649
|
+
toolType: _chunkA4HNF4MPcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30647
30650
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30648
30651
|
}
|
|
30649
30652
|
),
|
|
@@ -30655,7 +30658,7 @@ function LogsTableView({
|
|
|
30655
30658
|
filter: {
|
|
30656
30659
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _645 => _645.toolTypes, 'access', _646 => _646.map, 'call', _647 => _647((toolType) => ({
|
|
30657
30660
|
id: toolType,
|
|
30658
|
-
label:
|
|
30661
|
+
label: _chunkA4HNF4MPcjs.toToolLabel.call(void 0, toolType),
|
|
30659
30662
|
value: toolType
|
|
30660
30663
|
}))]), () => ( []))
|
|
30661
30664
|
}
|
|
@@ -30667,8 +30670,8 @@ function LogsTableView({
|
|
|
30667
30670
|
cell: ({ row }) => {
|
|
30668
30671
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
30669
30672
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
30670
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30671
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30673
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: deviceName }),
|
|
30674
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
30672
30675
|
] });
|
|
30673
30676
|
},
|
|
30674
30677
|
enableSorting: false,
|
|
@@ -30682,7 +30685,7 @@ function LogsTableView({
|
|
|
30682
30685
|
{
|
|
30683
30686
|
accessorKey: "description",
|
|
30684
30687
|
header: "Log Details",
|
|
30685
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30688
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
30686
30689
|
enableSorting: false,
|
|
30687
30690
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
30688
30691
|
},
|
|
@@ -30713,7 +30716,7 @@ function LogsTableView({
|
|
|
30713
30716
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30714
30717
|
_chunkAZL332TKcjs.Button,
|
|
30715
30718
|
{
|
|
30716
|
-
onClick: getLogHref ?
|
|
30719
|
+
onClick: getLogHref ? _chunkA4HNF4MPcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30717
30720
|
variant: "outline",
|
|
30718
30721
|
size: "icon",
|
|
30719
30722
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30942,7 +30945,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
30942
30945
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30943
30946
|
_chunkAZL332TKcjs.Button,
|
|
30944
30947
|
{
|
|
30945
|
-
onClick:
|
|
30948
|
+
onClick: _chunkA4HNF4MPcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
30946
30949
|
variant: "outline",
|
|
30947
30950
|
size: "icon",
|
|
30948
30951
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30968,9 +30971,9 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30968
30971
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex h-8 w-8 shrink-0 items-center justify-center rounded-[6px] border border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16, className: "shrink-0 text-ods-text-secondary" }) }),
|
|
30969
30972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30970
30973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: item.name }) }),
|
|
30972
30975
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30973
|
-
|
|
30976
|
+
_chunkKLXHCNDCcjs.Tag,
|
|
30974
30977
|
{
|
|
30975
30978
|
variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus],
|
|
30976
30979
|
label: tagStatus,
|
|
@@ -30978,7 +30981,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30978
30981
|
}
|
|
30979
30982
|
)
|
|
30980
30983
|
] }),
|
|
30981
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30984
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
30982
30985
|
] })
|
|
30983
30986
|
] });
|
|
30984
30987
|
},
|
|
@@ -30993,8 +30996,8 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30993
30996
|
const ts = mode === "archive" ? _nullishCoalesce(row.original.updatedAt, () => ( row.original.createdAt)) : row.original.createdAt;
|
|
30994
30997
|
if (!ts) return null;
|
|
30995
30998
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
30996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
30997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
30999
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunkE3N24573cjs.formatDate.call(void 0, ts) }),
|
|
31000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunkE3N24573cjs.formatTime.call(void 0, ts) })
|
|
30998
31001
|
] });
|
|
30999
31002
|
},
|
|
31000
31003
|
enableSorting: false,
|
|
@@ -31058,7 +31061,7 @@ function KnowledgeBaseArticleView({
|
|
|
31058
31061
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
31059
31062
|
}) {
|
|
31060
31063
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31061
|
-
|
|
31064
|
+
_chunkFKKUQK4Ccjs.PageLayout,
|
|
31062
31065
|
{
|
|
31063
31066
|
title,
|
|
31064
31067
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -31067,11 +31070,11 @@ function KnowledgeBaseArticleView({
|
|
|
31067
31070
|
menuActions,
|
|
31068
31071
|
className,
|
|
31069
31072
|
children: [
|
|
31070
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31073
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
31074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
31072
31075
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31073
|
-
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31074
|
-
|
|
31076
|
+
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHLIJ3U2Tcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31077
|
+
_chunkKLXHCNDCcjs.SquareAvatar,
|
|
31075
31078
|
{
|
|
31076
31079
|
src: author.imageUrl,
|
|
31077
31080
|
fallback: _nullishCoalesce(author.name, () => ( "A")),
|
|
@@ -31081,12 +31084,12 @@ function KnowledgeBaseArticleView({
|
|
|
31081
31084
|
}
|
|
31082
31085
|
),
|
|
31083
31086
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
31084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31087
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
31085
31088
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
31086
31089
|
] })
|
|
31087
31090
|
] }),
|
|
31088
31091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
31089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { children: updatedLabel }),
|
|
31090
31093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
31091
31094
|
] }),
|
|
31092
31095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31097,7 +31100,7 @@ function KnowledgeBaseArticleView({
|
|
|
31097
31100
|
}
|
|
31098
31101
|
),
|
|
31099
31102
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLXHCNDCcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[status], label: status }),
|
|
31101
31104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Status" })
|
|
31102
31105
|
] })
|
|
31103
31106
|
] }) }),
|
|
@@ -31189,7 +31192,7 @@ function useSortableListContext() {
|
|
|
31189
31192
|
}
|
|
31190
31193
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
31191
31194
|
const listRef = _react.useRef.call(void 0, null);
|
|
31192
|
-
const dragAndDropEnabled =
|
|
31195
|
+
const dragAndDropEnabled = _chunkGID62YENcjs.useDragAndDropEnabled.call(void 0, );
|
|
31193
31196
|
const dragType = _react.useId.call(void 0, );
|
|
31194
31197
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
31195
31198
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -31222,8 +31225,8 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31222
31225
|
// Dragging towards the edge of the screen — or past it — scrolls whatever
|
|
31223
31226
|
// actually scrolls there: the page, the layout's `<main>`, or the list
|
|
31224
31227
|
// itself when it has its own overflow.
|
|
31225
|
-
|
|
31226
|
-
|
|
31228
|
+
_chunkHLIJ3U2Tcjs.autoScrollAncestors.call(void 0, list),
|
|
31229
|
+
_chunkHLIJ3U2Tcjs.autoScrollBothWays.call(void 0, list),
|
|
31227
31230
|
// One target for the whole list: which slot a drop lands in is answered by
|
|
31228
31231
|
// geometry, so this only has to say "inside the list, or outside it".
|
|
31229
31232
|
_adapter.dropTargetForElements.call(void 0, {
|
|
@@ -31390,7 +31393,7 @@ function useSortableItem() {
|
|
|
31390
31393
|
return _combine.combine.call(void 0,
|
|
31391
31394
|
// The drag has to start as a "move", or its first frame is drawn with the
|
|
31392
31395
|
// copy cursor — see `drag-effect.ts`.
|
|
31393
|
-
|
|
31396
|
+
_chunkHLIJ3U2Tcjs.holdMoveDragEffect.call(void 0, item),
|
|
31394
31397
|
_adapter.draggable.call(void 0, {
|
|
31395
31398
|
element: item,
|
|
31396
31399
|
dragHandle: handle,
|
|
@@ -31537,7 +31540,7 @@ function Highlights({ items, className }) {
|
|
|
31537
31540
|
if (items.length === 0) return null;
|
|
31538
31541
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, 3).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
31539
31542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
31540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
31541
31544
|
] }, text)) });
|
|
31542
31545
|
}
|
|
31543
31546
|
function Example({
|
|
@@ -31566,7 +31569,7 @@ function Example({
|
|
|
31566
31569
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _678 => _678.mark]), () => ( requesterMark))),
|
|
31567
31570
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
31568
31571
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _679 => _679.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _680 => _680.note]), () => ( labels.requesterNote))),
|
|
31569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
31570
31573
|
] })
|
|
31571
31574
|
] }),
|
|
31572
31575
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -31575,7 +31578,7 @@ function Example({
|
|
|
31575
31578
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _682 => _682.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _683 => _683.note]), () => ( labels.responderNote))),
|
|
31576
31579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
31577
31580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
31578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
31579
31582
|
] })
|
|
31580
31583
|
] })
|
|
31581
31584
|
] })
|
|
@@ -31599,7 +31602,7 @@ function CapabilityExplorer({
|
|
|
31599
31602
|
responderMark,
|
|
31600
31603
|
className
|
|
31601
31604
|
}) {
|
|
31602
|
-
const wide =
|
|
31605
|
+
const wide = _chunk7DUXR4HLcjs.useContentLgUp.call(void 0, );
|
|
31603
31606
|
const listRef = _react.useRef.call(void 0, null);
|
|
31604
31607
|
if (items.length === 0) return null;
|
|
31605
31608
|
if (wide === void 0) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CapabilityExplorerSkeleton, { className });
|
|
@@ -31624,16 +31627,16 @@ function CapabilityExplorer({
|
|
|
31624
31627
|
),
|
|
31625
31628
|
children: [
|
|
31626
31629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
31627
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31630
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
31628
31631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
31629
31632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
31630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
31631
31634
|
item.badge
|
|
31632
31635
|
] }),
|
|
31633
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31636
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
31634
31637
|
] })
|
|
31635
31638
|
] }),
|
|
31636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31639
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
31637
31640
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
31638
31641
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31639
31642
|
Example,
|
|
@@ -31708,7 +31711,7 @@ function CapabilityExplorer({
|
|
|
31708
31711
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
31709
31712
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
31710
31713
|
),
|
|
31711
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31714
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRBOIGJYFcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
31712
31715
|
}
|
|
31713
31716
|
),
|
|
31714
31717
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -31761,8 +31764,8 @@ function CapabilityExplorer({
|
|
|
31761
31764
|
),
|
|
31762
31765
|
children: [
|
|
31763
31766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
31764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31767
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
31768
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFKKUQK4Ccjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
31766
31769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
31767
31770
|
] }),
|
|
31768
31771
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|