@flamingo-stack/openframe-frontend-core 0.0.719 → 0.0.721
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/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-2JLP2X2M.js → chunk-2P2M27EW.js} +2396 -2369
- package/dist/{chunk-IWCPXJEE.js → chunk-2TXGR7IK.js} +138 -63
- package/dist/{chunk-FVQJBII6.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-HCFNEKO3.cjs → chunk-3R32ZNA2.cjs} +46 -46
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-NZ5BHDFZ.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4LY6R4TN.cjs} +137 -62
- package/dist/{chunk-EAHOB64X.js → chunk-57UTI7ZH.js} +106 -42
- package/dist/{chunk-XGHGGBM3.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-NYWESHOQ.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-4QFWGLZO.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-D6PMVWDI.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-LCLDFMDF.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-JPD4NXH6.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-E7YCPY7K.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-5U3KWQXP.js → chunk-E6SMMMKV.js} +13 -13
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-SWAVO7BB.cjs → chunk-F7ORKKEF.cjs} +108 -108
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-ETYLOZOB.cjs → chunk-GCK75D7F.cjs} +109 -22
- package/dist/{chunk-ZKNZ2CXW.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-Y4MB25KW.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-HJMSNOBT.cjs} +1040 -696
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-JH2SIWPQ.js → chunk-HXB7SEYG.js} +1611 -1267
- package/dist/{chunk-LE5WKGJV.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-6YPTUHM7.js → chunk-K76ACBR3.js} +3 -3
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-CU6NWO2M.js → chunk-LAXKEBDD.js} +14 -18
- package/dist/{chunk-5YAGX5DY.js → chunk-LGKMR7NZ.js} +7 -7
- package/dist/{chunk-E2V2EH2G.cjs → chunk-LODMNSQY.cjs} +16 -16
- package/dist/{chunk-4D6NMPOO.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-TDZ76NCB.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-TTVOLEUS.js → chunk-NPSJE7J3.js} +90 -3
- package/dist/{chunk-H5VIMBRN.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-DC4RTYWK.cjs → chunk-QLTXT562.cjs} +5 -5
- package/dist/{chunk-H5V7GRN5.js → chunk-QQCFPMAA.js} +5 -7
- package/dist/{chunk-7BREFV7G.cjs → chunk-QYS4YVEP.cjs} +34 -36
- package/dist/{chunk-7BCY77W6.js → chunk-RCI3PALX.js} +8 -10
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-4JIGEK7C.cjs → chunk-RJMWJAJO.cjs} +97 -33
- package/dist/{chunk-WS7WRR5Z.cjs → chunk-RQZQHLNS.cjs} +86 -90
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-AJHSQ5XK.js → chunk-S63QBBT7.js} +6 -6
- package/dist/{chunk-TELAANY6.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-NQVS4G7G.cjs → chunk-UZTOI6FJ.cjs} +773 -746
- package/dist/{chunk-DFEPUYTF.cjs → chunk-VFICDEYJ.cjs} +45 -47
- package/dist/{chunk-LOZLHG2U.cjs → chunk-XE2K53GH.cjs} +20 -20
- package/dist/{chunk-QBCDSTLE.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-TTEFN6VO.js → chunk-ZLUFEWZZ.js} +10 -10
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-ZSOFLPQN.cjs} +9 -9
- package/dist/{chunk-KBJJQFYU.js → chunk-ZZEKXGFS.js} +2 -2
- package/dist/{cloud-tenants-FBUO66GW.cjs → cloud-tenants-HZHKRUIW.cjs} +16 -16
- package/dist/{cloud-tenants-DNBPNQNP.js → cloud-tenants-Q4TCJS5Y.js} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +30 -30
- package/dist/components/case-studies/index.js +16 -16
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +27 -10
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +26 -9
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +17 -17
- package/dist/components/contact/index.js +16 -16
- package/dist/components/docs/index.cjs +20 -20
- package/dist/components/docs/index.js +19 -19
- package/dist/components/embeds/index.cjs +17 -17
- package/dist/components/embeds/index.js +16 -16
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +19 -18
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +18 -17
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/features/index.js +15 -15
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +333 -119
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +251 -37
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +131 -217
- package/dist/components/index.js +236 -322
- package/dist/components/meeting-scheduler/index.cjs +61 -62
- package/dist/components/meeting-scheduler/index.js +18 -19
- package/dist/components/navigation/index.cjs +19 -19
- package/dist/components/navigation/index.js +18 -18
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +19 -20
- package/dist/components/onboarding-guides/index.js +18 -19
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -9
- package/dist/components/related-content/index.js +6 -8
- package/dist/components/tickets/index.cjs +21 -21
- package/dist/components/tickets/index.js +20 -20
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +34 -16
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +33 -15
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-5A5TY4JD.cjs → devices-6XHUFIC6.cjs} +17 -17
- package/dist/{devices-PLDAEUSL.js → devices-NOUGVTES.js} +15 -15
- package/dist/hooks/index.cjs +10 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -4
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +80 -20
- package/dist/index.js +79 -19
- package/dist/{knowledge-G6Q5KRWV.js → knowledge-2YTUXQ2Z.js} +15 -15
- package/dist/{knowledge-FKTJ723Z.cjs → knowledge-ANEKPMO2.cjs} +17 -17
- package/dist/{logs-CJCXUBU6.cjs → logs-U3IB3HUM.cjs} +25 -25
- package/dist/{logs-QMV6XIC4.js → logs-WVQIONUT.js} +15 -15
- package/dist/{policies-G6D7AX6F.js → policies-66EGDW2H.js} +15 -15
- package/dist/{policies-QMRTK3CY.cjs → policies-UFRN2EQF.cjs} +20 -20
- package/dist/{remote-session-DBD6OSTX.js → remote-session-6WEUJZDC.js} +5 -5
- package/dist/{remote-session-2JVI7RVA.cjs → remote-session-A75X5NPC.cjs} +7 -7
- package/dist/{software-update-PNZMRDBT.cjs → software-update-2MHKL76D.cjs} +20 -20
- package/dist/{software-update-6BQM6BKH.js → software-update-3ZD3MXF3.js} +15 -15
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +46 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +40 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/mobile-app.ts +57 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-6X3O67OL.cjs +0 -89
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-RR6PY34K.js +0 -89
|
@@ -6,41 +6,40 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRQZQHLNScjs = require('../../chunk-RQZQHLNS.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
12
|
+
var _chunk3R32ZNA2cjs = require('../../chunk-3R32ZNA2.cjs');
|
|
13
|
+
require('../../chunk-GGBYZKMS.cjs');
|
|
14
|
+
require('../../chunk-DFM572VH.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkRJMWJAJOcjs = require('../../chunk-RJMWJAJO.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkI2254QN6cjs = require('../../chunk-I2254QN6.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkF7ORKKEFcjs = require('../../chunk-F7ORKKEF.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkNMPVK53Icjs = require('../../chunk-NMPVK53I.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
33
|
-
require('../../chunk-
|
|
34
|
-
require('../../chunk-
|
|
32
|
+
var _chunkXE2K53GHcjs = require('../../chunk-XE2K53GH.cjs');
|
|
33
|
+
require('../../chunk-ZSOFLPQN.cjs');
|
|
34
|
+
require('../../chunk-D2DH6VZL.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkQYS4YVEPcjs = require('../../chunk-QYS4YVEP.cjs');
|
|
39
|
+
require('../../chunk-O5EHOJZD.cjs');
|
|
40
|
+
require('../../chunk-LODMNSQY.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var _chunk6X3O67OLcjs = require('../../chunk-6X3O67OL.cjs');
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
|
|
@@ -50,22 +49,24 @@ var _chunk6X3O67OLcjs = require('../../chunk-6X3O67OL.cjs');
|
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
require('../../chunk-
|
|
52
|
+
|
|
53
|
+
var _chunkUZTOI6FJcjs = require('../../chunk-UZTOI6FJ.cjs');
|
|
54
|
+
require('../../chunk-7Z5FMQYR.cjs');
|
|
55
55
|
require('../../chunk-HQQE74RO.cjs');
|
|
56
56
|
require('../../chunk-DEY6XXGO.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkBYVVE7HPcjs = require('../../chunk-BYVVE7HP.cjs');
|
|
61
|
+
|
|
62
|
+
|
|
61
63
|
|
|
62
64
|
|
|
63
|
-
var
|
|
65
|
+
var _chunk4LY6R4TNcjs = require('../../chunk-4LY6R4TN.cjs');
|
|
64
66
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
65
67
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
66
68
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
67
|
-
require('../../chunk-
|
|
68
|
-
require('../../chunk-AUMKE74M.cjs');
|
|
69
|
+
require('../../chunk-BYUIFT7Q.cjs');
|
|
69
70
|
require('../../chunk-LX22Y43B.cjs');
|
|
70
71
|
|
|
71
72
|
|
|
@@ -73,20 +74,32 @@ require('../../chunk-LX22Y43B.cjs');
|
|
|
73
74
|
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
var _chunkHJMSNOBTcjs = require('../../chunk-HJMSNOBT.cjs');
|
|
81
|
+
require('../../chunk-OKE5BIQH.cjs');
|
|
82
|
+
require('../../chunk-EWPR7662.cjs');
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
var _chunkQLTXT562cjs = require('../../chunk-QLTXT562.cjs');
|
|
89
|
+
require('../../chunk-RUZIICXT.cjs');
|
|
78
90
|
|
|
79
91
|
|
|
80
92
|
|
|
81
93
|
|
|
82
94
|
|
|
83
|
-
var _chunkDC4RTYWKcjs = require('../../chunk-DC4RTYWK.cjs');
|
|
84
|
-
require('../../chunk-FFT56TYB.cjs');
|
|
85
95
|
|
|
86
96
|
|
|
87
97
|
|
|
88
98
|
|
|
89
|
-
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
var _chunkK2JUJ37Dcjs = require('../../chunk-K2JUJ37D.cjs');
|
|
90
103
|
require('../../chunk-WVOTC7HW.cjs');
|
|
91
104
|
|
|
92
105
|
|
|
@@ -106,14 +119,15 @@ var _chunk7DNL734Scjs = require('../../chunk-7DNL734S.cjs');
|
|
|
106
119
|
|
|
107
120
|
|
|
108
121
|
|
|
109
|
-
|
|
122
|
+
|
|
123
|
+
var _chunkGCK75D7Fcjs = require('../../chunk-GCK75D7F.cjs');
|
|
110
124
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
111
125
|
|
|
112
126
|
|
|
113
|
-
var
|
|
127
|
+
var _chunkIMTY3GRRcjs = require('../../chunk-IMTY3GRR.cjs');
|
|
114
128
|
require('../../chunk-F5BPGWGT.cjs');
|
|
115
129
|
require('../../chunk-MGHIV4L6.cjs');
|
|
116
|
-
require('../../chunk-
|
|
130
|
+
require('../../chunk-7GRPR7XA.cjs');
|
|
117
131
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
118
132
|
require('../../chunk-AAYNCJMW.cjs');
|
|
119
133
|
require('../../chunk-ULWVKHSI.cjs');
|
|
@@ -125,6 +139,9 @@ require('../../chunk-LLSUVPQC.cjs');
|
|
|
125
139
|
|
|
126
140
|
|
|
127
141
|
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
128
145
|
var _chunkVX4E6YSBcjs = require('../../chunk-VX4E6YSB.cjs');
|
|
129
146
|
require('../../chunk-RDW5JAME.cjs');
|
|
130
147
|
require('../../chunk-XXBLN4BP.cjs');
|
|
@@ -132,13 +149,15 @@ require('../../chunk-2Y7QZAB2.cjs');
|
|
|
132
149
|
require('../../chunk-4GFNWALL.cjs');
|
|
133
150
|
|
|
134
151
|
|
|
135
|
-
var
|
|
152
|
+
var _chunkHQIOMFJHcjs = require('../../chunk-HQIOMFJH.cjs');
|
|
136
153
|
require('../../chunk-LLRGR4I5.cjs');
|
|
137
154
|
require('../../chunk-G7SBHMRR.cjs');
|
|
138
155
|
require('../../chunk-G6OHIX5C.cjs');
|
|
139
156
|
require('../../chunk-3LU4UFPS.cjs');
|
|
140
157
|
require('../../chunk-CPA2CKRZ.cjs');
|
|
141
|
-
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
var _chunk3ATAYP36cjs = require('../../chunk-3ATAYP36.cjs');
|
|
142
161
|
require('../../chunk-QBJ4SE23.cjs');
|
|
143
162
|
|
|
144
163
|
// src/components/help-center-pages/roadmap-page.tsx
|
|
@@ -156,9 +175,9 @@ function RoadmapPage({
|
|
|
156
175
|
belowContent,
|
|
157
176
|
shell
|
|
158
177
|
}) {
|
|
159
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
178
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXE2K53GHcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
160
179
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
161
|
-
|
|
180
|
+
_chunkRQZQHLNScjs.RoadmapView,
|
|
162
181
|
{
|
|
163
182
|
endpoint: roadmapEndpoint,
|
|
164
183
|
initialItems,
|
|
@@ -184,9 +203,9 @@ function ProductReleasesListPage({
|
|
|
184
203
|
belowContent,
|
|
185
204
|
shell
|
|
186
205
|
}) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
206
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXE2K53GHcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
188
207
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
-
|
|
208
|
+
_chunkRQZQHLNScjs.ProductReleasesView,
|
|
190
209
|
{
|
|
191
210
|
endpoint: releasesEndpoint,
|
|
192
211
|
basePath,
|
|
@@ -209,8 +228,8 @@ function DeliveryPage({
|
|
|
209
228
|
belowContent,
|
|
210
229
|
shell
|
|
211
230
|
}) {
|
|
212
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXE2K53GHcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRQZQHLNScjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
214
233
|
belowContent
|
|
215
234
|
] });
|
|
216
235
|
}
|
|
@@ -230,9 +249,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
230
249
|
belowContent,
|
|
231
250
|
shell
|
|
232
251
|
}) {
|
|
233
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
252
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXE2K53GHcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
234
253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
235
|
-
|
|
254
|
+
_chunkQYS4YVEPcjs.OnboardingGuidesCatalogView,
|
|
236
255
|
{
|
|
237
256
|
guidesEndpoint,
|
|
238
257
|
sectionsEndpoint,
|
|
@@ -281,10 +300,10 @@ function TrustSection({
|
|
|
281
300
|
id,
|
|
282
301
|
"aria-labelledby": headingId,
|
|
283
302
|
className: "flex flex-col gap-[var(--spacing-system-m)]",
|
|
284
|
-
style: { scrollMarginTop:
|
|
303
|
+
style: { scrollMarginTop: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX },
|
|
285
304
|
children: [
|
|
286
305
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
306
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: title }),
|
|
288
307
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
289
308
|
] }),
|
|
290
309
|
children
|
|
@@ -305,18 +324,18 @@ function AiSection({ practices }) {
|
|
|
305
324
|
}
|
|
306
325
|
]
|
|
307
326
|
}));
|
|
308
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
327
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows });
|
|
309
328
|
}
|
|
310
329
|
function ComplianceSection({ frameworks }) {
|
|
311
330
|
const rows = frameworks.map((framework) => {
|
|
312
|
-
const entry =
|
|
331
|
+
const entry = _chunkGCK75D7Fcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
313
332
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
314
333
|
return {
|
|
315
334
|
id: framework.id,
|
|
316
335
|
columns: [
|
|
317
336
|
{
|
|
318
337
|
key: "framework",
|
|
319
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
338
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
320
339
|
value: framework.label,
|
|
321
340
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
322
341
|
wrap: true
|
|
@@ -325,12 +344,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
325
344
|
key: "monitoring",
|
|
326
345
|
width: ACTION_COLUMN,
|
|
327
346
|
align: "right",
|
|
328
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: _chunkGCK75D7Fcjs.trustFrameworkBadge.call(void 0, framework), colorScheme: entry.color, singleLine: true })
|
|
329
348
|
}
|
|
330
349
|
]
|
|
331
350
|
};
|
|
332
351
|
});
|
|
333
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows });
|
|
334
353
|
}
|
|
335
354
|
var CONTROL_ROW_CLASS = "h-14 content-md:h-20 overflow-hidden";
|
|
336
355
|
function controlRows(controls) {
|
|
@@ -363,22 +382,22 @@ function ControlsListSkeleton() {
|
|
|
363
382
|
{
|
|
364
383
|
key: "control",
|
|
365
384
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
368
387
|
] })
|
|
369
388
|
}
|
|
370
389
|
]
|
|
371
390
|
}));
|
|
372
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows });
|
|
373
392
|
}
|
|
374
393
|
function ControlsSection({ endpoint, seed }) {
|
|
375
394
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
376
395
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
377
|
-
const query =
|
|
378
|
-
const url =
|
|
379
|
-
const seedUrl =
|
|
380
|
-
const answer =
|
|
381
|
-
const typedQuery =
|
|
396
|
+
const query = _chunkK2JUJ37Dcjs.useDebounce.call(void 0, _chunkGCK75D7Fcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkGCK75D7Fcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
397
|
+
const url = _chunkGCK75D7Fcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
398
|
+
const seedUrl = _chunkGCK75D7Fcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
399
|
+
const answer = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
400
|
+
const typedQuery = _chunkGCK75D7Fcjs.normalizeTrustControlQuery.call(void 0, typed);
|
|
382
401
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
383
402
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
384
403
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -397,12 +416,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
397
416
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
398
417
|
let body;
|
|
399
418
|
if (answer.error && !current) {
|
|
400
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
419
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
401
420
|
} else if (!current) {
|
|
402
421
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
403
422
|
} else if (current.controls.length === 0) {
|
|
404
423
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
405
|
-
|
|
424
|
+
_chunkXE2K53GHcjs.ListEmptyState,
|
|
406
425
|
{
|
|
407
426
|
isFiltered: true,
|
|
408
427
|
filtered: {
|
|
@@ -415,11 +434,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
415
434
|
}
|
|
416
435
|
);
|
|
417
436
|
} else {
|
|
418
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
437
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
419
438
|
}
|
|
420
439
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
421
440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
-
|
|
441
|
+
_chunkUZTOI6FJcjs.TabNavigation,
|
|
423
442
|
{
|
|
424
443
|
tabs,
|
|
425
444
|
activeTab,
|
|
@@ -429,7 +448,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
429
448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] content-md:flex-row content-md:items-center content-md:justify-between", children: [
|
|
430
449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
431
450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
432
|
-
|
|
451
|
+
_chunkUZTOI6FJcjs.SearchInput,
|
|
433
452
|
{
|
|
434
453
|
placeholder: "Search controls",
|
|
435
454
|
value: typed,
|
|
@@ -439,7 +458,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
439
458
|
}
|
|
440
459
|
) })
|
|
441
460
|
] }),
|
|
442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
443
462
|
] });
|
|
444
463
|
}
|
|
445
464
|
function DocumentsSection({
|
|
@@ -465,7 +484,7 @@ function DocumentsSection({
|
|
|
465
484
|
width: ACTION_COLUMN,
|
|
466
485
|
align: "right",
|
|
467
486
|
content: href === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
468
|
-
|
|
487
|
+
_chunkHQIOMFJHcjs.Button,
|
|
469
488
|
{
|
|
470
489
|
variant: "outline",
|
|
471
490
|
size: "small",
|
|
@@ -473,12 +492,12 @@ function DocumentsSection({
|
|
|
473
492
|
"aria-label": `Request ${document.title}`,
|
|
474
493
|
children: "Request"
|
|
475
494
|
}
|
|
476
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
495
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", href, openInNewTab: true, "aria-label": `View ${document.title}`, children: "View" })
|
|
477
496
|
}
|
|
478
497
|
]
|
|
479
498
|
};
|
|
480
499
|
});
|
|
481
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
500
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows });
|
|
482
501
|
}
|
|
483
502
|
function DocumentRequestModal({
|
|
484
503
|
open,
|
|
@@ -487,14 +506,14 @@ function DocumentRequestModal({
|
|
|
487
506
|
onClose
|
|
488
507
|
}) {
|
|
489
508
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
490
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
492
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
509
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Request access" }) }),
|
|
511
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
493
512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: "We share gated security documents under NDA. Leave your work email and our security team will follow up with access, usually within one business day." }),
|
|
494
513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
495
|
-
|
|
514
|
+
_chunkNMPVK53Icjs.ContactForm,
|
|
496
515
|
{
|
|
497
|
-
rescue:
|
|
516
|
+
rescue: _chunkK2JUJ37Dcjs.RESCUE_FORMS.trustCenterRequest,
|
|
498
517
|
title: "",
|
|
499
518
|
noBorder: true,
|
|
500
519
|
noPadding: true,
|
|
@@ -510,12 +529,12 @@ function DocumentRequestModal({
|
|
|
510
529
|
] });
|
|
511
530
|
}
|
|
512
531
|
function subprocessorMark({ name, logoUrl }) {
|
|
513
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
-
const logo =
|
|
515
|
-
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
532
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
533
|
+
const logo = _chunkIMTY3GRRcjs.brandLogoForName.call(void 0, name);
|
|
534
|
+
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
516
535
|
}
|
|
517
536
|
function countryWithFlag(country) {
|
|
518
|
-
const flag =
|
|
537
|
+
const flag = _chunkHJMSNOBTcjs.getFlagFromCountryName.call(void 0, country);
|
|
519
538
|
return flag ? `${flag} ${country}` : country;
|
|
520
539
|
}
|
|
521
540
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -542,11 +561,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
542
561
|
] : []
|
|
543
562
|
]
|
|
544
563
|
}));
|
|
545
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
564
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows });
|
|
546
565
|
}
|
|
547
566
|
function ContactSection({ onContact }) {
|
|
548
567
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
549
|
-
|
|
568
|
+
_chunkUZTOI6FJcjs.StackedRowsPanel,
|
|
550
569
|
{
|
|
551
570
|
rows: [
|
|
552
571
|
{
|
|
@@ -563,7 +582,7 @@ function ContactSection({ onContact }) {
|
|
|
563
582
|
key: "action",
|
|
564
583
|
width: ACTION_COLUMN,
|
|
565
584
|
align: "right",
|
|
566
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
585
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", onClick: onContact, children: "Get in touch" })
|
|
567
586
|
}
|
|
568
587
|
]
|
|
569
588
|
}
|
|
@@ -572,11 +591,11 @@ function ContactSection({ onContact }) {
|
|
|
572
591
|
);
|
|
573
592
|
}
|
|
574
593
|
function SkeletonSection({ id, children }) {
|
|
575
|
-
const label = _nullishCoalesce(_optionalChain([
|
|
594
|
+
const label = _nullishCoalesce(_optionalChain([_chunkGCK75D7Fcjs.TRUST_CENTER_SECTIONS, 'access', _7 => _7.find, 'call', _8 => _8((section) => section.id === id), 'optionalAccess', _9 => _9.label]), () => ( id));
|
|
576
595
|
const lead = TRUST_SECTION_LEADS[id];
|
|
577
596
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
578
597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: label }),
|
|
580
599
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
581
600
|
] }),
|
|
582
601
|
children
|
|
@@ -590,14 +609,14 @@ function skeletonRows(count, shape) {
|
|
|
590
609
|
key: "item",
|
|
591
610
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
592
611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
|
|
612
|
+
_chunkHJMSNOBTcjs.UnifiedSkeleton,
|
|
594
613
|
{
|
|
595
614
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
596
615
|
}
|
|
597
616
|
),
|
|
598
617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 content-md:h-6" }),
|
|
619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
601
620
|
] })
|
|
602
621
|
] })
|
|
603
622
|
},
|
|
@@ -605,53 +624,53 @@ function skeletonRows(count, shape) {
|
|
|
605
624
|
key: "action",
|
|
606
625
|
width: ACTION_COLUMN,
|
|
607
626
|
align: "right",
|
|
608
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded content-md:h-8" })
|
|
609
628
|
}
|
|
610
629
|
]
|
|
611
630
|
}));
|
|
612
631
|
}
|
|
613
632
|
function ControlsSectionSkeleton() {
|
|
614
633
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 content-md:h-6" }) }, index)) }),
|
|
616
635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] content-md:flex-row content-md:items-center content-md:justify-between", children: [
|
|
617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] content-md:h-12 content-md:w-80" })
|
|
619
638
|
] }),
|
|
620
639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
621
640
|
] });
|
|
622
641
|
}
|
|
623
642
|
function SectionRailSkeleton() {
|
|
624
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top:
|
|
643
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
625
644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
645
|
"div",
|
|
627
646
|
{
|
|
628
647
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
629
|
-
style: { height:
|
|
648
|
+
style: { height: _chunkGCK75D7Fcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
630
649
|
}
|
|
631
650
|
),
|
|
632
|
-
|
|
651
|
+
_chunkGCK75D7Fcjs.TRUST_CENTER_SECTIONS.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 items-center px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
633
652
|
] }) });
|
|
634
653
|
}
|
|
635
654
|
function TrustCenterSkeleton() {
|
|
636
655
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
637
656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
638
657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
639
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
640
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-44" })
|
|
641
660
|
] }),
|
|
642
661
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] content-sm:flex-row content-sm:items-center content-sm:gap-[var(--spacing-system-sf)]", children: [
|
|
643
662
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-36" })
|
|
646
665
|
] }),
|
|
647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.TextSkeleton.Body, { className: "w-44" })
|
|
648
667
|
] })
|
|
649
668
|
] }),
|
|
650
669
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
651
670
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
652
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
653
672
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
655
674
|
] }),
|
|
656
675
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
657
676
|
] })
|
|
@@ -670,7 +689,7 @@ function visibleSections(data) {
|
|
|
670
689
|
faq: data.faqs.length > 0,
|
|
671
690
|
contact: true
|
|
672
691
|
};
|
|
673
|
-
return
|
|
692
|
+
return _chunkGCK75D7Fcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
674
693
|
}
|
|
675
694
|
function controlsSeed(data) {
|
|
676
695
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -686,21 +705,22 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
686
705
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
687
706
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
688
707
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
689
|
-
return
|
|
708
|
+
return _chunkGCK75D7Fcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
690
709
|
}
|
|
691
710
|
function TrustCenterPage({
|
|
692
|
-
endpoint =
|
|
711
|
+
endpoint = _chunkGCK75D7Fcjs.TRUST_CENTER_API_PATH,
|
|
693
712
|
initialData,
|
|
694
713
|
shell = true,
|
|
695
714
|
backButton = false,
|
|
696
|
-
title =
|
|
697
|
-
subtitle =
|
|
715
|
+
title = _chunkGCK75D7Fcjs.TRUST_CENTER_TITLE,
|
|
716
|
+
subtitle = _chunkGCK75D7Fcjs.TRUST_CENTER_TAGLINE,
|
|
717
|
+
ask
|
|
698
718
|
}) {
|
|
699
|
-
const { data, isLoading, error, reload } =
|
|
719
|
+
const { data, isLoading, error, reload } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, endpoint, {
|
|
700
720
|
initialData,
|
|
701
|
-
revalidateOnVisibleAfterMs:
|
|
721
|
+
revalidateOnVisibleAfterMs: _chunkGCK75D7Fcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
702
722
|
});
|
|
703
|
-
const hydrated =
|
|
723
|
+
const hydrated = _chunkHJMSNOBTcjs.useIsHydrated.call(void 0, );
|
|
704
724
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
705
725
|
if (clock.data !== data) {
|
|
706
726
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -716,12 +736,12 @@ function TrustCenterPage({
|
|
|
716
736
|
documentTitle: null
|
|
717
737
|
});
|
|
718
738
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
719
|
-
const { activeSection, handleSectionClick } =
|
|
739
|
+
const { activeSection, handleSectionClick } = _chunkI2254QN6cjs.useScrollSpy.call(void 0, sections, {
|
|
720
740
|
syncHash: true,
|
|
721
|
-
headerOffset:
|
|
741
|
+
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX
|
|
722
742
|
});
|
|
723
|
-
|
|
724
|
-
headerOffset:
|
|
743
|
+
_chunk4LY6R4TNcjs.useScrollToHash.call(void 0, sections.length > 0 ? sections.map((section) => section.id).join("|") : null, {
|
|
744
|
+
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX
|
|
725
745
|
});
|
|
726
746
|
const openRequest = _react.useCallback.call(void 0, (documentTitle) => setRequest({ open: true, documentTitle }), []);
|
|
727
747
|
const closeRequest = _react.useCallback.call(void 0, () => setRequest((current) => ({ ...current, open: false })), []);
|
|
@@ -746,7 +766,7 @@ function TrustCenterPage({
|
|
|
746
766
|
DocumentsSection,
|
|
747
767
|
{
|
|
748
768
|
documents: d.documents,
|
|
749
|
-
documentUrl: (document) =>
|
|
769
|
+
documentUrl: (document) => _chunkGCK75D7Fcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
750
770
|
onRequest: openRequest
|
|
751
771
|
}
|
|
752
772
|
)
|
|
@@ -755,24 +775,24 @@ function TrustCenterPage({
|
|
|
755
775
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
756
776
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
757
777
|
},
|
|
758
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
778
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRJMWJAJOcjs.FaqSection, { initialFaqs: d.faqs, heading: null, ask }) },
|
|
759
779
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
760
780
|
};
|
|
761
781
|
let body;
|
|
762
782
|
if (error && !data) {
|
|
763
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
783
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
764
784
|
} else if (!data) {
|
|
765
785
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
766
786
|
} else {
|
|
767
787
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
768
788
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
769
789
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
790
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
771
791
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
772
|
-
|
|
792
|
+
_chunkUZTOI6FJcjs.DataAttribution,
|
|
773
793
|
{
|
|
774
794
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
775
|
-
|
|
795
|
+
_chunkBYVVE7HPcjs.EntityImage,
|
|
776
796
|
{
|
|
777
797
|
src: data.dataSource.logoUrl,
|
|
778
798
|
alt: data.dataSource.name,
|
|
@@ -790,8 +810,8 @@ function TrustCenterPage({
|
|
|
790
810
|
const view = views[section.id];
|
|
791
811
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
792
812
|
}) }),
|
|
793
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top:
|
|
794
|
-
|
|
813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
814
|
+
_chunkI2254QN6cjs.StickySectionNav,
|
|
795
815
|
{
|
|
796
816
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
797
817
|
activeSection,
|
|
@@ -823,7 +843,7 @@ function TrustCenterChrome({
|
|
|
823
843
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
824
844
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
825
845
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
-
|
|
846
|
+
_chunkBYVVE7HPcjs.PageLayout,
|
|
827
847
|
{
|
|
828
848
|
title,
|
|
829
849
|
subtitle,
|
|
@@ -835,17 +855,211 @@ function TrustCenterChrome({
|
|
|
835
855
|
children
|
|
836
856
|
}
|
|
837
857
|
);
|
|
838
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
858
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
839
859
|
}
|
|
840
860
|
function TrustCenterPageSkeleton({
|
|
841
861
|
shell = true,
|
|
842
862
|
backButton = false,
|
|
843
|
-
title =
|
|
844
|
-
subtitle =
|
|
863
|
+
title = _chunkGCK75D7Fcjs.TRUST_CENTER_TITLE,
|
|
864
|
+
subtitle = _chunkGCK75D7Fcjs.TRUST_CENTER_TAGLINE
|
|
845
865
|
}) {
|
|
846
866
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
847
867
|
}
|
|
848
868
|
|
|
869
|
+
// src/components/help-center-pages/download-apps-page.tsx
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
var SECTIONS_CLASS = "flex flex-col gap-[var(--spacing-system-xlf)]";
|
|
873
|
+
var SECTION_CLASS = "flex flex-col gap-[var(--spacing-system-lf)]";
|
|
874
|
+
var CARDS_GRID_CLASS = "grid grid-cols-1 gap-[var(--spacing-system-lf)] content-md:grid-cols-2";
|
|
875
|
+
var cardsGridClass = (cards) => cards > 1 ? CARDS_GRID_CLASS : "grid grid-cols-1";
|
|
876
|
+
var CARD_CLASS = "flex flex-col gap-[var(--spacing-system-lf)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-lf)]";
|
|
877
|
+
var CARD_HEADER_CLASS = "flex items-center gap-[var(--spacing-system-sf)]";
|
|
878
|
+
var BUTTONS_CLASS = "flex flex-wrap gap-[var(--spacing-system-sf)]";
|
|
879
|
+
var COMMANDS_CLASS = "flex flex-col gap-[var(--spacing-system-mf)]";
|
|
880
|
+
var OS_ICONS = {
|
|
881
|
+
mac: _chunkVX4E6YSBcjs.AppleLogoIcon,
|
|
882
|
+
windows: _chunkVX4E6YSBcjs.WindowsLogoGreyIcon
|
|
883
|
+
};
|
|
884
|
+
function CardHeader({
|
|
885
|
+
icon: Icon,
|
|
886
|
+
title,
|
|
887
|
+
detail
|
|
888
|
+
}) {
|
|
889
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEADER_CLASS, children: [
|
|
890
|
+
Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-6 w-6 shrink-0 text-ods-text-secondary" }),
|
|
891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "m-0 text-ods-text-primary text-h3", children: title }),
|
|
892
|
+
detail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "m-0 ml-auto text-right text-ods-text-secondary text-h6", children: detail })
|
|
893
|
+
] });
|
|
894
|
+
}
|
|
895
|
+
function rowsBySystem(downloads) {
|
|
896
|
+
return _chunkK2JUJ37Dcjs.DESKTOP_OSES.map((os) => ({
|
|
897
|
+
os,
|
|
898
|
+
installers: downloads.filter((d) => d.os === os && d.kind === "binary" && d.url),
|
|
899
|
+
commands: downloads.filter((d) => d.os === os && d.kind === "command" && d.command)
|
|
900
|
+
})).filter((system) => system.installers.length > 0 || system.commands.length > 0);
|
|
901
|
+
}
|
|
902
|
+
function installerLabel(download, siblings) {
|
|
903
|
+
if (download.label) return download.label;
|
|
904
|
+
const label = `Download for ${_chunkK2JUJ37Dcjs.DESKTOP_OS_LABELS[download.os]}`;
|
|
905
|
+
const architecture = download.architecture ? _chunkK2JUJ37Dcjs.DOWNLOAD_ARCHITECTURE_LABELS[download.architecture] : null;
|
|
906
|
+
return siblings > 1 && architecture ? `${label} (${architecture})` : label;
|
|
907
|
+
}
|
|
908
|
+
function SystemCard({
|
|
909
|
+
system,
|
|
910
|
+
onDownloadAction
|
|
911
|
+
}) {
|
|
912
|
+
const { copy } = _chunk4LY6R4TNcjs.useCopyToClipboard.call(void 0, {
|
|
913
|
+
successTitle: "Copied",
|
|
914
|
+
successDescription: "Paste it into your terminal and press Return."
|
|
915
|
+
});
|
|
916
|
+
const requirements = [...new Set(system.installers.map((d) => d.minOsLabel).filter((l) => !!l))];
|
|
917
|
+
const report = (action, row) => _optionalChain([onDownloadAction, 'optionalCall', _15 => _15({ action, id: row.id, os: row.os, architecture: row.architecture })]);
|
|
918
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
920
|
+
CardHeader,
|
|
921
|
+
{
|
|
922
|
+
icon: OS_ICONS[system.os],
|
|
923
|
+
title: _chunkK2JUJ37Dcjs.DESKTOP_OS_LABELS[system.os],
|
|
924
|
+
detail: requirements.length > 0 ? `Requires ${requirements.join(" or ")}` : void 0
|
|
925
|
+
}
|
|
926
|
+
),
|
|
927
|
+
system.installers.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BUTTONS_CLASS, children: system.installers.map((download, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
928
|
+
_chunkHQIOMFJHcjs.Button,
|
|
929
|
+
{
|
|
930
|
+
variant: index === 0 ? "accent" : "outline",
|
|
931
|
+
href: _nullishCoalesce(download.url, () => ( void 0)),
|
|
932
|
+
download: true,
|
|
933
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Download01Icon, { className: "h-5 w-5" }),
|
|
934
|
+
onClick: () => report("installer", download),
|
|
935
|
+
children: installerLabel(download, system.installers.length)
|
|
936
|
+
},
|
|
937
|
+
download.id
|
|
938
|
+
)) }),
|
|
939
|
+
system.commands.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COMMANDS_CLASS, children: system.commands.map(
|
|
940
|
+
(row) => row.command ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
941
|
+
_chunkUZTOI6FJcjs.CommandBox,
|
|
942
|
+
{
|
|
943
|
+
title: _nullishCoalesce(row.label, () => ( void 0)),
|
|
944
|
+
command: row.command,
|
|
945
|
+
maxLines: 1,
|
|
946
|
+
commandClassName: "text-ods-accent",
|
|
947
|
+
copyAriaLabel: `Copy the ${_nullishCoalesce(row.label, () => ( "install"))} command`,
|
|
948
|
+
onCopy: () => {
|
|
949
|
+
void copy(row.command);
|
|
950
|
+
report("command", row);
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
row.id
|
|
954
|
+
) : null
|
|
955
|
+
) })
|
|
956
|
+
] });
|
|
957
|
+
}
|
|
958
|
+
function CardsSkeleton({ label }) {
|
|
959
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CARDS_GRID_CLASS, "aria-busy": "true", "aria-label": label, children: [0, 1].map((card) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-6 w-32 rounded" }),
|
|
961
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-12 w-56 rounded-md" }),
|
|
962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJMSNOBTcjs.UnifiedSkeleton, { className: "h-14 w-full rounded-md" })
|
|
963
|
+
] }, card)) });
|
|
964
|
+
}
|
|
965
|
+
function Section({ id, title, children }) {
|
|
966
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-labelledby": id, className: SECTION_CLASS, children: [
|
|
967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id, className: "m-0 text-ods-text-primary text-h2", children: title }),
|
|
968
|
+
children
|
|
969
|
+
] });
|
|
970
|
+
}
|
|
971
|
+
function storeCardTitle(links) {
|
|
972
|
+
if (links.appStoreUrl && links.googlePlayUrl) return "iPhone, iPad and Android";
|
|
973
|
+
return links.appStoreUrl ? "iPhone and iPad" : "Android";
|
|
974
|
+
}
|
|
975
|
+
function DownloadAppsPage({
|
|
976
|
+
endpoint = _chunkK2JUJ37Dcjs.DOWNLOADS_API_PATH,
|
|
977
|
+
initialData,
|
|
978
|
+
shell = true,
|
|
979
|
+
backButton = false,
|
|
980
|
+
title,
|
|
981
|
+
subtitle,
|
|
982
|
+
showDesktop = true,
|
|
983
|
+
openStoresInNewTab = true,
|
|
984
|
+
onDownloadAction,
|
|
985
|
+
footer
|
|
986
|
+
}) {
|
|
987
|
+
const { data, isLoading, error, reload } = _chunk4LY6R4TNcjs.useDownloads.call(void 0, { endpoint, initialData });
|
|
988
|
+
const systems = showDesktop && data ? rowsBySystem(data.desktop) : [];
|
|
989
|
+
const mobile = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _16 => _16.mobile]), () => ( null));
|
|
990
|
+
const hasMobile = !!mobile && (!!mobile.appStoreUrl || !!mobile.googlePlayUrl);
|
|
991
|
+
const offersDesktop = showDesktop && (!data || systems.length > 0);
|
|
992
|
+
_react.useEffect.call(void 0, () => {
|
|
993
|
+
if (!mobile || !new URLSearchParams(window.location.search).has(_chunkHJMSNOBTcjs.DOWNLOAD_PAGE_STORE_PARAM)) return;
|
|
994
|
+
const storeUrl = _chunkHJMSNOBTcjs.resolveMobileStoreUrl.call(void 0, mobile, navigator.userAgent, navigator.maxTouchPoints);
|
|
995
|
+
if (storeUrl) window.location.replace(storeUrl);
|
|
996
|
+
}, [mobile]);
|
|
997
|
+
let body;
|
|
998
|
+
if (error && !data) {
|
|
999
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Could not load the downloads", onRetry: reload });
|
|
1000
|
+
} else if (!data) {
|
|
1001
|
+
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1002
|
+
showDesktop && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Section, { id: "download-desktop", title: "Desktop app", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardsSkeleton, { label: "Loading the installers" }) }),
|
|
1003
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Section, { id: "download-mobile", title: "Mobile app", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardsSkeleton, { label: "Loading the mobile app" }) })
|
|
1004
|
+
] }) : null;
|
|
1005
|
+
} else {
|
|
1006
|
+
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1007
|
+
systems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Section, { id: "download-desktop", title: "Desktop app", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardsGridClass(systems.length), children: systems.map((system) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SystemCard, { system, onDownloadAction }, system.os)) }) }),
|
|
1008
|
+
mobile && hasMobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Section, { id: "download-mobile", title: "Mobile app", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARDS_GRID_CLASS, children: [
|
|
1009
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
1010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { title: storeCardTitle(mobile) }),
|
|
1011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "m-0 text-ods-text-secondary text-h4", children: "Get alerts and respond to tickets on the go." }),
|
|
1012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
+
_chunkUZTOI6FJcjs.StoreBadgeLinks,
|
|
1014
|
+
{
|
|
1015
|
+
appStoreUrl: mobile.appStoreUrl,
|
|
1016
|
+
googlePlayUrl: mobile.googlePlayUrl,
|
|
1017
|
+
openInNewTab: openStoresInNewTab
|
|
1018
|
+
}
|
|
1019
|
+
)
|
|
1020
|
+
] }),
|
|
1021
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, CARD_CLASS, "content-md:flex-row content-md:items-center content-md:justify-between"), children: [
|
|
1022
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-sf)]", children: [
|
|
1023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { title: "Scan with your phone" }),
|
|
1024
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 text-ods-text-secondary text-h4", children: [
|
|
1025
|
+
"Point your camera at the code, or open ",
|
|
1026
|
+
_chunkHJMSNOBTcjs.MOBILE_APP_INSTALL_HOST_PATH,
|
|
1027
|
+
" on your phone."
|
|
1028
|
+
] })
|
|
1029
|
+
] }),
|
|
1030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-fit shrink-0 rounded-md bg-ods-bg-inverted p-[var(--spacing-system-sf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.MobileAppQr, { className: "h-[120px] w-[120px]" }) })
|
|
1031
|
+
] })
|
|
1032
|
+
] }) })
|
|
1033
|
+
] });
|
|
1034
|
+
}
|
|
1035
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1036
|
+
DownloadAppsChrome,
|
|
1037
|
+
{
|
|
1038
|
+
shell,
|
|
1039
|
+
backButton,
|
|
1040
|
+
title: _nullishCoalesce(title, () => ( (offersDesktop ? _chunkK2JUJ37Dcjs.DOWNLOADS_TITLE : _chunkK2JUJ37Dcjs.DOWNLOADS_MOBILE_TITLE))),
|
|
1041
|
+
subtitle: _nullishCoalesce(subtitle, () => ( (offersDesktop ? _chunkK2JUJ37Dcjs.DOWNLOADS_TAGLINE : _chunkK2JUJ37Dcjs.DOWNLOADS_MOBILE_TAGLINE))),
|
|
1042
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SECTIONS_CLASS, children: [
|
|
1043
|
+
body,
|
|
1044
|
+
footer
|
|
1045
|
+
] })
|
|
1046
|
+
}
|
|
1047
|
+
);
|
|
1048
|
+
}
|
|
1049
|
+
function DownloadAppsChrome({
|
|
1050
|
+
shell,
|
|
1051
|
+
title,
|
|
1052
|
+
subtitle,
|
|
1053
|
+
backButton,
|
|
1054
|
+
children
|
|
1055
|
+
}) {
|
|
1056
|
+
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
1057
|
+
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
1058
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children });
|
|
1059
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
|
|
849
1063
|
|
|
850
1064
|
|
|
851
1065
|
|
|
@@ -858,4 +1072,4 @@ function TrustCenterPageSkeleton({
|
|
|
858
1072
|
|
|
859
1073
|
|
|
860
1074
|
|
|
861
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
1075
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunk3R32ZNA2cjs.DocsHubPage; exports.DownloadAppsPage = DownloadAppsPage; exports.FaqDocumentPage = _chunkRJMWJAJOcjs.FaqDocumentPage; exports.HelpCenterList = _chunkF7ORKKEFcjs.HelpCenterList; exports.LegalDocumentPage = _chunkRQZQHLNScjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkQYS4YVEPcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkRQZQHLNScjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|