@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-2NASBO7O.js → chunk-5D2K7TFT.js} +3 -3
- package/dist/{chunk-HFEYEPOG.cjs → chunk-5K6YKRP5.cjs} +29 -29
- package/dist/{chunk-7HYEQKN6.js → chunk-65C4WHG4.js} +6 -6
- package/dist/{chunk-DOPOHO6H.cjs → chunk-6HRQLM6T.cjs} +20 -20
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-GANIUMRU.js → chunk-7UZ2JZJY.js} +3 -3
- package/dist/{chunk-4HJRHEXD.cjs → chunk-ABSWD4PQ.cjs} +27 -27
- package/dist/{chunk-VYVPII4W.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-V6B2FBZK.js → chunk-BCU6UUNQ.js} +8 -8
- package/dist/{chunk-LO3KCLEF.js → chunk-BUDZWXRG.js} +4 -4
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-DYDDAA6O.cjs → chunk-DWSBTGKT.cjs} +816 -798
- package/dist/{chunk-PSMJYZMV.js → chunk-DX3W7DPC.js} +2 -2
- package/dist/{chunk-PXAKSPLZ.js → chunk-E7NIZXDT.js} +20 -8
- package/dist/{chunk-6W46LVK4.js → chunk-ETQVXIYW.js} +6 -6
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-Q5327DXK.js → chunk-F33RMJOL.js} +11 -11
- package/dist/{chunk-RZQGIWK3.cjs → chunk-FDWYBJYD.cjs} +8 -8
- package/dist/{chunk-QF464PPL.cjs → chunk-GAFK3WNT.cjs} +62 -62
- package/dist/{chunk-6BLN5WDS.cjs → chunk-GYSTZD6X.cjs} +40 -40
- package/dist/{chunk-TORERAXD.js → chunk-HA2ASGJM.js} +6 -6
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-HP4UUBJC.cjs} +16 -16
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-AZRI4XBP.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-VYZCKY5K.js → chunk-IF72N4PE.js} +7 -7
- package/dist/{chunk-RFUOIQSG.cjs → chunk-IITZ6JSC.cjs} +37 -37
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-7IOU6BJE.js → chunk-KBPGSPXQ.js} +2387 -2369
- package/dist/{chunk-ILNN6QRW.js → chunk-KS3YLYVL.js} +4 -4
- package/dist/{chunk-2C72EWQR.cjs → chunk-KWBH63GV.cjs} +26 -26
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-UWJMDFDO.cjs → chunk-MJ4SXOG2.cjs} +28 -28
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-NFABAOMD.cjs} +77 -79
- package/dist/{chunk-B5LNX4GZ.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-P7Y626YJ.cjs} +370 -358
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RVQV6J5K.cjs} +75 -75
- package/dist/{chunk-VBHGJFA3.js → chunk-SZ3CBFSH.js} +13 -13
- package/dist/{chunk-O3MKJU6A.js → chunk-SZF7ENIW.js} +4 -4
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-YK3X74SF.js → chunk-UYMTAFHG.js} +6 -8
- package/dist/{chunk-DHNJSQGX.cjs → chunk-VC7COEWF.cjs} +105 -105
- package/dist/{chunk-XW3Q623Q.js → chunk-VSYQJCNR.js} +2 -2
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-XSM46FHD.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-HTS46FFY.cjs → chunk-VYHCN5NU.cjs} +16 -16
- package/dist/{chunk-ZPHOQDAE.js → chunk-WY4SLTMZ.js} +3 -3
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-XJYAUIOL.cjs} +13 -13
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-XR7NVJXS.cjs} +13 -13
- package/dist/{chunk-EVMM3JE6.cjs → chunk-ZHC6MDGF.cjs} +43 -43
- package/dist/{chunk-K2BYVPGR.js → chunk-ZMHP4Y6M.js} +5 -5
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-4Z36KWSX.js} +14 -14
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-5NIC5VXK.cjs} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +29 -29
- package/dist/components/case-studies/index.js +15 -15
- package/dist/components/chat/index.cjs +10 -10
- package/dist/components/chat/index.js +9 -9
- package/dist/components/contact/index.cjs +16 -16
- package/dist/components/contact/index.js +15 -15
- package/dist/components/docs/index.cjs +19 -19
- package/dist/components/docs/index.js +18 -18
- package/dist/components/embeds/index.cjs +16 -16
- package/dist/components/embeds/index.js +15 -15
- package/dist/components/faq/index.cjs +16 -16
- package/dist/components/faq/index.js +15 -15
- package/dist/components/features/index.cjs +15 -15
- package/dist/components/features/index.js +14 -14
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +68 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +347 -117
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +260 -30
- package/dist/components/index.cjs +87 -85
- package/dist/components/index.js +30 -28
- package/dist/components/meeting-scheduler/index.cjs +67 -67
- package/dist/components/meeting-scheduler/index.js +16 -16
- package/dist/components/navigation/index.cjs +18 -18
- package/dist/components/navigation/index.js +17 -17
- package/dist/components/onboarding-guides/index.cjs +18 -18
- package/dist/components/onboarding-guides/index.js +17 -17
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +20 -20
- package/dist/components/tickets/index.js +19 -19
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +17 -15
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +16 -14
- package/dist/components/ui/mobile-app-qr.d.ts +21 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-U3Y4IIW4.js → devices-2TK3LAKM.js} +14 -14
- package/dist/{devices-7Q2EUM7B.cjs → devices-7IKT72DK.cjs} +16 -16
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +52 -20
- package/dist/index.js +50 -18
- package/dist/{knowledge-NST53EXE.js → knowledge-3GJ4MU3V.js} +14 -14
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-HYSEV35H.cjs} +16 -16
- package/dist/{logs-JVTRG232.js → logs-TATVM62H.js} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-ZX3NADQC.cjs} +24 -24
- package/dist/{policies-MXK2HB4W.cjs → policies-J4FSDKPI.cjs} +19 -19
- package/dist/{policies-DTXTRK56.js → policies-MRRKLF4Q.js} +14 -14
- package/dist/{remote-session-LAJZKQBN.js → remote-session-WCLR47RN.js} +6 -6
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-Z2YCUPHU.cjs} +8 -8
- package/dist/{software-update-P6BSM6HX.cjs → software-update-CXUBWYD2.cjs} +19 -19
- package/dist/{software-update-6RHMPM3W.js → software-update-KM46WUVQ.js} +14 -14
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-R5OQSEEC.cjs} +10 -10
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-U3RF3AO4.js} +5 -5
- package/dist/types/downloads.d.ts +83 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +15 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +13 -1
- package/dist/utils/mobile-app.cjs +37 -0
- package/dist/utils/mobile-app.d.ts +23 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +34 -0
- package/package.json +7 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +388 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +35 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +99 -0
- package/src/types/index.ts +1 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +3 -1
- package/src/utils/mobile-app.ts +34 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRVQV6J5Kcjs = require('../../chunk-RVQV6J5K.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
12
|
+
var _chunkGYSTZD6Xcjs = require('../../chunk-GYSTZD6X.cjs');
|
|
13
|
+
require('../../chunk-XR7NVJXS.cjs');
|
|
14
|
+
require('../../chunk-DFM572VH.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkKWBH63GVcjs = require('../../chunk-KWBH63GV.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkVYHCN5NUcjs = require('../../chunk-VYHCN5NU.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkVC7COEWFcjs = require('../../chunk-VC7COEWF.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk5K6YKRP5cjs = require('../../chunk-5K6YKRP5.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
33
|
-
require('../../chunk-
|
|
34
|
-
require('../../chunk-
|
|
32
|
+
var _chunk6HRQLM6Tcjs = require('../../chunk-6HRQLM6T.cjs');
|
|
33
|
+
require('../../chunk-ZSOFLPQN.cjs');
|
|
34
|
+
require('../../chunk-VV5INIQB.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkJQ55FFIKcjs = require('../../chunk-JQ55FFIK.cjs');
|
|
39
|
+
require('../../chunk-VU7RU3LL.cjs');
|
|
40
|
+
require('../../chunk-XJYAUIOL.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
@@ -47,21 +47,26 @@ require('../../chunk-5XDCCQ4A.cjs');
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
var _chunkDWSBTGKTcjs = require('../../chunk-DWSBTGKT.cjs');
|
|
54
|
+
require('../../chunk-ABSWD4PQ.cjs');
|
|
52
55
|
require('../../chunk-HQQE74RO.cjs');
|
|
53
56
|
require('../../chunk-DEY6XXGO.cjs');
|
|
54
57
|
|
|
55
58
|
|
|
56
59
|
|
|
57
|
-
var
|
|
60
|
+
var _chunkNFABAOMDcjs = require('../../chunk-NFABAOMD.cjs');
|
|
58
61
|
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
var _chunk4LY6R4TNcjs = require('../../chunk-4LY6R4TN.cjs');
|
|
61
66
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
62
67
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
63
68
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
64
|
-
require('../../chunk-
|
|
69
|
+
require('../../chunk-BYUIFT7Q.cjs');
|
|
65
70
|
require('../../chunk-LX22Y43B.cjs');
|
|
66
71
|
|
|
67
72
|
|
|
@@ -69,21 +74,29 @@ require('../../chunk-LX22Y43B.cjs');
|
|
|
69
74
|
|
|
70
75
|
|
|
71
76
|
|
|
72
|
-
var
|
|
73
|
-
require('../../chunk-
|
|
77
|
+
var _chunkP7Y626YJcjs = require('../../chunk-P7Y626YJ.cjs');
|
|
78
|
+
require('../../chunk-HP4UUBJC.cjs');
|
|
74
79
|
require('../../chunk-EWPR7662.cjs');
|
|
75
80
|
|
|
76
81
|
|
|
77
82
|
|
|
78
83
|
|
|
79
84
|
|
|
80
|
-
var
|
|
81
|
-
require('../../chunk-
|
|
85
|
+
var _chunkFDWYBJYDcjs = require('../../chunk-FDWYBJYD.cjs');
|
|
86
|
+
require('../../chunk-RUZIICXT.cjs');
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
82
94
|
|
|
83
95
|
|
|
84
96
|
|
|
85
97
|
|
|
86
|
-
|
|
98
|
+
|
|
99
|
+
var _chunkK2JUJ37Dcjs = require('../../chunk-K2JUJ37D.cjs');
|
|
87
100
|
require('../../chunk-WVOTC7HW.cjs');
|
|
88
101
|
|
|
89
102
|
|
|
@@ -104,12 +117,14 @@ var _chunk7DNL734Scjs = require('../../chunk-7DNL734S.cjs');
|
|
|
104
117
|
|
|
105
118
|
|
|
106
119
|
|
|
107
|
-
var
|
|
120
|
+
var _chunkIITZ6JSCcjs = require('../../chunk-IITZ6JSC.cjs');
|
|
108
121
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
109
122
|
|
|
110
123
|
|
|
111
|
-
var
|
|
112
|
-
|
|
124
|
+
var _chunkLV6UJD2Kcjs = require('../../chunk-LV6UJD2K.cjs');
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
var _chunkTKFTWM3Vcjs = require('../../chunk-TKFTWM3V.cjs');
|
|
113
128
|
require('../../chunk-MGHIV4L6.cjs');
|
|
114
129
|
require('../../chunk-7GRPR7XA.cjs');
|
|
115
130
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
@@ -123,6 +138,9 @@ require('../../chunk-LLSUVPQC.cjs');
|
|
|
123
138
|
|
|
124
139
|
|
|
125
140
|
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
126
144
|
var _chunkVX4E6YSBcjs = require('../../chunk-VX4E6YSB.cjs');
|
|
127
145
|
require('../../chunk-RDW5JAME.cjs');
|
|
128
146
|
require('../../chunk-XXBLN4BP.cjs');
|
|
@@ -130,13 +148,15 @@ require('../../chunk-2Y7QZAB2.cjs');
|
|
|
130
148
|
require('../../chunk-4GFNWALL.cjs');
|
|
131
149
|
|
|
132
150
|
|
|
133
|
-
var
|
|
151
|
+
var _chunkHQIOMFJHcjs = require('../../chunk-HQIOMFJH.cjs');
|
|
134
152
|
require('../../chunk-LLRGR4I5.cjs');
|
|
135
153
|
require('../../chunk-G7SBHMRR.cjs');
|
|
136
154
|
require('../../chunk-G6OHIX5C.cjs');
|
|
137
155
|
require('../../chunk-3LU4UFPS.cjs');
|
|
138
156
|
require('../../chunk-CPA2CKRZ.cjs');
|
|
139
|
-
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
var _chunk3ATAYP36cjs = require('../../chunk-3ATAYP36.cjs');
|
|
140
160
|
require('../../chunk-QBJ4SE23.cjs');
|
|
141
161
|
|
|
142
162
|
// src/components/help-center-pages/roadmap-page.tsx
|
|
@@ -154,9 +174,9 @@ function RoadmapPage({
|
|
|
154
174
|
belowContent,
|
|
155
175
|
shell
|
|
156
176
|
}) {
|
|
157
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
158
178
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
159
|
-
|
|
179
|
+
_chunkRVQV6J5Kcjs.RoadmapView,
|
|
160
180
|
{
|
|
161
181
|
endpoint: roadmapEndpoint,
|
|
162
182
|
initialItems,
|
|
@@ -182,9 +202,9 @@ function ProductReleasesListPage({
|
|
|
182
202
|
belowContent,
|
|
183
203
|
shell
|
|
184
204
|
}) {
|
|
185
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
205
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
186
206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
-
|
|
207
|
+
_chunkRVQV6J5Kcjs.ProductReleasesView,
|
|
188
208
|
{
|
|
189
209
|
endpoint: releasesEndpoint,
|
|
190
210
|
basePath,
|
|
@@ -207,8 +227,8 @@ function DeliveryPage({
|
|
|
207
227
|
belowContent,
|
|
208
228
|
shell
|
|
209
229
|
}) {
|
|
210
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
230
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
231
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVQV6J5Kcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
212
232
|
belowContent
|
|
213
233
|
] });
|
|
214
234
|
}
|
|
@@ -228,9 +248,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
228
248
|
belowContent,
|
|
229
249
|
shell
|
|
230
250
|
}) {
|
|
231
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
251
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
232
252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
-
|
|
253
|
+
_chunkJQ55FFIKcjs.OnboardingGuidesCatalogView,
|
|
234
254
|
{
|
|
235
255
|
guidesEndpoint,
|
|
236
256
|
sectionsEndpoint,
|
|
@@ -279,10 +299,10 @@ function TrustSection({
|
|
|
279
299
|
id,
|
|
280
300
|
"aria-labelledby": headingId,
|
|
281
301
|
className: "flex flex-col gap-[var(--spacing-system-m)]",
|
|
282
|
-
style: { scrollMarginTop:
|
|
302
|
+
style: { scrollMarginTop: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX },
|
|
283
303
|
children: [
|
|
284
304
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: title }),
|
|
286
306
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
287
307
|
] }),
|
|
288
308
|
children
|
|
@@ -303,18 +323,18 @@ function AiSection({ practices }) {
|
|
|
303
323
|
}
|
|
304
324
|
]
|
|
305
325
|
}));
|
|
306
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
326
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
307
327
|
}
|
|
308
328
|
function ComplianceSection({ frameworks }) {
|
|
309
329
|
const rows = frameworks.map((framework) => {
|
|
310
|
-
const entry =
|
|
330
|
+
const entry = _chunkIITZ6JSCcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
311
331
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
312
332
|
return {
|
|
313
333
|
id: framework.id,
|
|
314
334
|
columns: [
|
|
315
335
|
{
|
|
316
336
|
key: "framework",
|
|
317
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
318
338
|
value: framework.label,
|
|
319
339
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
320
340
|
wrap: true
|
|
@@ -323,12 +343,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
323
343
|
key: "monitoring",
|
|
324
344
|
width: ACTION_COLUMN,
|
|
325
345
|
align: "right",
|
|
326
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: _chunkIITZ6JSCcjs.trustFrameworkBadge.call(void 0, framework), colorScheme: entry.color, singleLine: true })
|
|
327
347
|
}
|
|
328
348
|
]
|
|
329
349
|
};
|
|
330
350
|
});
|
|
331
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
332
352
|
}
|
|
333
353
|
var CONTROL_ROW_CLASS = "h-14 content-md:h-20 overflow-hidden";
|
|
334
354
|
function controlRows(controls) {
|
|
@@ -361,22 +381,22 @@ function ControlsListSkeleton() {
|
|
|
361
381
|
{
|
|
362
382
|
key: "control",
|
|
363
383
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
366
386
|
] })
|
|
367
387
|
}
|
|
368
388
|
]
|
|
369
389
|
}));
|
|
370
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
371
391
|
}
|
|
372
392
|
function ControlsSection({ endpoint, seed }) {
|
|
373
393
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
374
394
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
375
|
-
const query =
|
|
376
|
-
const url =
|
|
377
|
-
const seedUrl =
|
|
378
|
-
const answer =
|
|
379
|
-
const typedQuery =
|
|
395
|
+
const query = _chunkK2JUJ37Dcjs.useDebounce.call(void 0, _chunkIITZ6JSCcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkIITZ6JSCcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
396
|
+
const url = _chunkIITZ6JSCcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
397
|
+
const seedUrl = _chunkIITZ6JSCcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
398
|
+
const answer = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
399
|
+
const typedQuery = _chunkIITZ6JSCcjs.normalizeTrustControlQuery.call(void 0, typed);
|
|
380
400
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
381
401
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
382
402
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -395,12 +415,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
395
415
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
396
416
|
let body;
|
|
397
417
|
if (answer.error && !current) {
|
|
398
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
418
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
399
419
|
} else if (!current) {
|
|
400
420
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
401
421
|
} else if (current.controls.length === 0) {
|
|
402
422
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
|
-
|
|
423
|
+
_chunk6HRQLM6Tcjs.ListEmptyState,
|
|
404
424
|
{
|
|
405
425
|
isFiltered: true,
|
|
406
426
|
filtered: {
|
|
@@ -413,11 +433,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
413
433
|
}
|
|
414
434
|
);
|
|
415
435
|
} else {
|
|
416
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
417
437
|
}
|
|
418
438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
419
439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
420
|
-
|
|
440
|
+
_chunkDWSBTGKTcjs.TabNavigation,
|
|
421
441
|
{
|
|
422
442
|
tabs,
|
|
423
443
|
activeTab,
|
|
@@ -427,7 +447,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
427
447
|
/* @__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: [
|
|
428
448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
429
449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
430
|
-
|
|
450
|
+
_chunkDWSBTGKTcjs.SearchInput,
|
|
431
451
|
{
|
|
432
452
|
placeholder: "Search controls",
|
|
433
453
|
value: typed,
|
|
@@ -437,7 +457,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
437
457
|
}
|
|
438
458
|
) })
|
|
439
459
|
] }),
|
|
440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
441
461
|
] });
|
|
442
462
|
}
|
|
443
463
|
function DocumentsSection({
|
|
@@ -463,7 +483,7 @@ function DocumentsSection({
|
|
|
463
483
|
width: ACTION_COLUMN,
|
|
464
484
|
align: "right",
|
|
465
485
|
content: href === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
-
|
|
486
|
+
_chunkHQIOMFJHcjs.Button,
|
|
467
487
|
{
|
|
468
488
|
variant: "outline",
|
|
469
489
|
size: "small",
|
|
@@ -471,12 +491,12 @@ function DocumentsSection({
|
|
|
471
491
|
"aria-label": `Request ${document.title}`,
|
|
472
492
|
children: "Request"
|
|
473
493
|
}
|
|
474
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
494
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", href, openInNewTab: true, "aria-label": `View ${document.title}`, children: "View" })
|
|
475
495
|
}
|
|
476
496
|
]
|
|
477
497
|
};
|
|
478
498
|
});
|
|
479
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
499
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
480
500
|
}
|
|
481
501
|
function DocumentRequestModal({
|
|
482
502
|
open,
|
|
@@ -485,14 +505,14 @@ function DocumentRequestModal({
|
|
|
485
505
|
onClose
|
|
486
506
|
}) {
|
|
487
507
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
488
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
508
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: "Request access" }) }),
|
|
510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
491
511
|
/* @__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." }),
|
|
492
512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
493
|
-
|
|
513
|
+
_chunk5K6YKRP5cjs.ContactForm,
|
|
494
514
|
{
|
|
495
|
-
rescue:
|
|
515
|
+
rescue: _chunkK2JUJ37Dcjs.RESCUE_FORMS.trustCenterRequest,
|
|
496
516
|
title: "",
|
|
497
517
|
noBorder: true,
|
|
498
518
|
noPadding: true,
|
|
@@ -508,12 +528,12 @@ function DocumentRequestModal({
|
|
|
508
528
|
] });
|
|
509
529
|
}
|
|
510
530
|
function subprocessorMark({ name, logoUrl }) {
|
|
511
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
512
|
-
const logo =
|
|
513
|
-
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,
|
|
531
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
532
|
+
const logo = _chunkLV6UJD2Kcjs.brandLogoForName.call(void 0, name);
|
|
533
|
+
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, _chunkNFABAOMDcjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
514
534
|
}
|
|
515
535
|
function countryWithFlag(country) {
|
|
516
|
-
const flag =
|
|
536
|
+
const flag = _chunkP7Y626YJcjs.getFlagFromCountryName.call(void 0, country);
|
|
517
537
|
return flag ? `${flag} ${country}` : country;
|
|
518
538
|
}
|
|
519
539
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -540,11 +560,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
540
560
|
] : []
|
|
541
561
|
]
|
|
542
562
|
}));
|
|
543
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
563
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
544
564
|
}
|
|
545
565
|
function ContactSection({ onContact }) {
|
|
546
566
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
547
|
-
|
|
567
|
+
_chunkDWSBTGKTcjs.StackedRowsPanel,
|
|
548
568
|
{
|
|
549
569
|
rows: [
|
|
550
570
|
{
|
|
@@ -561,7 +581,7 @@ function ContactSection({ onContact }) {
|
|
|
561
581
|
key: "action",
|
|
562
582
|
width: ACTION_COLUMN,
|
|
563
583
|
align: "right",
|
|
564
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
584
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small", onClick: onContact, children: "Get in touch" })
|
|
565
585
|
}
|
|
566
586
|
]
|
|
567
587
|
}
|
|
@@ -570,11 +590,11 @@ function ContactSection({ onContact }) {
|
|
|
570
590
|
);
|
|
571
591
|
}
|
|
572
592
|
function SkeletonSection({ id, children }) {
|
|
573
|
-
const label = _nullishCoalesce(_optionalChain([
|
|
593
|
+
const label = _nullishCoalesce(_optionalChain([_chunkIITZ6JSCcjs.TRUST_CENTER_SECTIONS, 'access', _7 => _7.find, 'call', _8 => _8((section) => section.id === id), 'optionalAccess', _9 => _9.label]), () => ( id));
|
|
574
594
|
const lead = TRUST_SECTION_LEADS[id];
|
|
575
595
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
576
596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
577
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: label }),
|
|
578
598
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
579
599
|
] }),
|
|
580
600
|
children
|
|
@@ -588,14 +608,14 @@ function skeletonRows(count, shape) {
|
|
|
588
608
|
key: "item",
|
|
589
609
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
590
610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
591
|
-
|
|
611
|
+
_chunkP7Y626YJcjs.UnifiedSkeleton,
|
|
592
612
|
{
|
|
593
613
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
594
614
|
}
|
|
595
615
|
),
|
|
596
616
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 content-md:h-6" }),
|
|
618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
599
619
|
] })
|
|
600
620
|
] })
|
|
601
621
|
},
|
|
@@ -603,53 +623,53 @@ function skeletonRows(count, shape) {
|
|
|
603
623
|
key: "action",
|
|
604
624
|
width: ACTION_COLUMN,
|
|
605
625
|
align: "right",
|
|
606
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded content-md:h-8" })
|
|
607
627
|
}
|
|
608
628
|
]
|
|
609
629
|
}));
|
|
610
630
|
}
|
|
611
631
|
function ControlsSectionSkeleton() {
|
|
612
632
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
613
|
-
/* @__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,
|
|
633
|
+
/* @__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, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 content-md:h-6" }) }, index)) }),
|
|
614
634
|
/* @__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: [
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] content-md:h-12 content-md:w-80" })
|
|
617
637
|
] }),
|
|
618
638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
619
639
|
] });
|
|
620
640
|
}
|
|
621
641
|
function SectionRailSkeleton() {
|
|
622
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top:
|
|
642
|
+
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: [
|
|
623
643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
644
|
"div",
|
|
625
645
|
{
|
|
626
646
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
627
|
-
style: { height:
|
|
647
|
+
style: { height: _chunkIITZ6JSCcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
628
648
|
}
|
|
629
649
|
),
|
|
630
|
-
|
|
650
|
+
_chunkIITZ6JSCcjs.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, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
631
651
|
] }) });
|
|
632
652
|
}
|
|
633
653
|
function TrustCenterSkeleton() {
|
|
634
654
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
635
655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
636
656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-44" })
|
|
639
659
|
] }),
|
|
640
660
|
/* @__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: [
|
|
641
661
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-36" })
|
|
644
664
|
] }),
|
|
645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-44" })
|
|
646
666
|
] })
|
|
647
667
|
] }),
|
|
648
668
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
649
669
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
650
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
651
671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
652
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
653
673
|
] }),
|
|
654
674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
655
675
|
] })
|
|
@@ -668,7 +688,7 @@ function visibleSections(data) {
|
|
|
668
688
|
faq: data.faqs.length > 0,
|
|
669
689
|
contact: true
|
|
670
690
|
};
|
|
671
|
-
return
|
|
691
|
+
return _chunkIITZ6JSCcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
672
692
|
}
|
|
673
693
|
function controlsSeed(data) {
|
|
674
694
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -684,22 +704,22 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
684
704
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
685
705
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
686
706
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
687
|
-
return
|
|
707
|
+
return _chunkIITZ6JSCcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
688
708
|
}
|
|
689
709
|
function TrustCenterPage({
|
|
690
|
-
endpoint =
|
|
710
|
+
endpoint = _chunkIITZ6JSCcjs.TRUST_CENTER_API_PATH,
|
|
691
711
|
initialData,
|
|
692
712
|
shell = true,
|
|
693
713
|
backButton = false,
|
|
694
|
-
title =
|
|
695
|
-
subtitle =
|
|
714
|
+
title = _chunkIITZ6JSCcjs.TRUST_CENTER_TITLE,
|
|
715
|
+
subtitle = _chunkIITZ6JSCcjs.TRUST_CENTER_TAGLINE,
|
|
696
716
|
ask
|
|
697
717
|
}) {
|
|
698
|
-
const { data, isLoading, error, reload } =
|
|
718
|
+
const { data, isLoading, error, reload } = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, endpoint, {
|
|
699
719
|
initialData,
|
|
700
|
-
revalidateOnVisibleAfterMs:
|
|
720
|
+
revalidateOnVisibleAfterMs: _chunkIITZ6JSCcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
701
721
|
});
|
|
702
|
-
const hydrated =
|
|
722
|
+
const hydrated = _chunkP7Y626YJcjs.useIsHydrated.call(void 0, );
|
|
703
723
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
704
724
|
if (clock.data !== data) {
|
|
705
725
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -715,12 +735,12 @@ function TrustCenterPage({
|
|
|
715
735
|
documentTitle: null
|
|
716
736
|
});
|
|
717
737
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
718
|
-
const { activeSection, handleSectionClick } =
|
|
738
|
+
const { activeSection, handleSectionClick } = _chunkVYHCN5NUcjs.useScrollSpy.call(void 0, sections, {
|
|
719
739
|
syncHash: true,
|
|
720
|
-
headerOffset:
|
|
740
|
+
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX
|
|
721
741
|
});
|
|
722
|
-
|
|
723
|
-
headerOffset:
|
|
742
|
+
_chunk4LY6R4TNcjs.useScrollToHash.call(void 0, sections.length > 0 ? sections.map((section) => section.id).join("|") : null, {
|
|
743
|
+
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX
|
|
724
744
|
});
|
|
725
745
|
const openRequest = _react.useCallback.call(void 0, (documentTitle) => setRequest({ open: true, documentTitle }), []);
|
|
726
746
|
const closeRequest = _react.useCallback.call(void 0, () => setRequest((current) => ({ ...current, open: false })), []);
|
|
@@ -745,7 +765,7 @@ function TrustCenterPage({
|
|
|
745
765
|
DocumentsSection,
|
|
746
766
|
{
|
|
747
767
|
documents: d.documents,
|
|
748
|
-
documentUrl: (document) =>
|
|
768
|
+
documentUrl: (document) => _chunkIITZ6JSCcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
749
769
|
onRequest: openRequest
|
|
750
770
|
}
|
|
751
771
|
)
|
|
@@ -754,24 +774,24 @@ function TrustCenterPage({
|
|
|
754
774
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
755
775
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
756
776
|
},
|
|
757
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
777
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKWBH63GVcjs.FaqSection, { initialFaqs: d.faqs, heading: null, ask }) },
|
|
758
778
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
759
779
|
};
|
|
760
780
|
let body;
|
|
761
781
|
if (error && !data) {
|
|
762
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
782
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
763
783
|
} else if (!data) {
|
|
764
784
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
765
785
|
} else {
|
|
766
786
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
767
787
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
768
788
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
770
790
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
771
|
-
|
|
791
|
+
_chunkDWSBTGKTcjs.DataAttribution,
|
|
772
792
|
{
|
|
773
793
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
774
|
-
|
|
794
|
+
_chunkNFABAOMDcjs.EntityImage,
|
|
775
795
|
{
|
|
776
796
|
src: data.dataSource.logoUrl,
|
|
777
797
|
alt: data.dataSource.name,
|
|
@@ -789,8 +809,8 @@ function TrustCenterPage({
|
|
|
789
809
|
const view = views[section.id];
|
|
790
810
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
791
811
|
}) }),
|
|
792
|
-
/* @__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:
|
|
793
|
-
|
|
812
|
+
/* @__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,
|
|
813
|
+
_chunkVYHCN5NUcjs.StickySectionNav,
|
|
794
814
|
{
|
|
795
815
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
796
816
|
activeSection,
|
|
@@ -822,7 +842,7 @@ function TrustCenterChrome({
|
|
|
822
842
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
823
843
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
824
844
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
825
|
-
|
|
845
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
826
846
|
{
|
|
827
847
|
title,
|
|
828
848
|
subtitle,
|
|
@@ -834,17 +854,227 @@ function TrustCenterChrome({
|
|
|
834
854
|
children
|
|
835
855
|
}
|
|
836
856
|
);
|
|
837
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
857
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
838
858
|
}
|
|
839
859
|
function TrustCenterPageSkeleton({
|
|
840
860
|
shell = true,
|
|
841
861
|
backButton = false,
|
|
842
|
-
title =
|
|
843
|
-
subtitle =
|
|
862
|
+
title = _chunkIITZ6JSCcjs.TRUST_CENTER_TITLE,
|
|
863
|
+
subtitle = _chunkIITZ6JSCcjs.TRUST_CENTER_TAGLINE
|
|
844
864
|
}) {
|
|
845
865
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
846
866
|
}
|
|
847
867
|
|
|
868
|
+
// src/components/help-center-pages/download-apps-page.tsx
|
|
869
|
+
|
|
870
|
+
var SECTIONS_CLASS = "flex flex-col gap-[var(--spacing-system-xlf)]";
|
|
871
|
+
var SECTION_CLASS = "flex flex-col gap-[var(--spacing-system-lf)]";
|
|
872
|
+
var CARDS_GRID_CLASS = "grid grid-cols-1 gap-[var(--spacing-system-lf)] content-md:grid-cols-2";
|
|
873
|
+
var cardsGridClass = (cards) => cards > 1 ? CARDS_GRID_CLASS : "grid grid-cols-1";
|
|
874
|
+
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)]";
|
|
875
|
+
var CARD_HEADER_CLASS = "flex items-center gap-[var(--spacing-system-sf)]";
|
|
876
|
+
var BUTTONS_CLASS = "flex flex-wrap gap-[var(--spacing-system-sf)]";
|
|
877
|
+
var COMMANDS_CLASS = "flex flex-col gap-[var(--spacing-system-mf)]";
|
|
878
|
+
var OS_ICONS = {
|
|
879
|
+
mac: _chunkVX4E6YSBcjs.AppleLogoIcon,
|
|
880
|
+
windows: _chunkVX4E6YSBcjs.WindowsLogoGreyIcon
|
|
881
|
+
};
|
|
882
|
+
function CardHeader({
|
|
883
|
+
icon: Icon,
|
|
884
|
+
title,
|
|
885
|
+
detail
|
|
886
|
+
}) {
|
|
887
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEADER_CLASS, children: [
|
|
888
|
+
Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-6 w-6 shrink-0 text-ods-text-secondary" }),
|
|
889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "m-0 text-ods-text-primary text-h3", children: title }),
|
|
890
|
+
detail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "m-0 ml-auto text-right text-ods-text-secondary text-h6", children: detail })
|
|
891
|
+
] });
|
|
892
|
+
}
|
|
893
|
+
function rowsBySystem(downloads) {
|
|
894
|
+
return _chunkK2JUJ37Dcjs.DESKTOP_OSES.map((os) => ({
|
|
895
|
+
os,
|
|
896
|
+
installers: downloads.filter((d) => d.os === os && d.kind === "binary" && d.url),
|
|
897
|
+
commands: downloads.filter((d) => d.os === os && d.kind === "command" && d.command)
|
|
898
|
+
})).filter((system) => system.installers.length > 0 || system.commands.length > 0);
|
|
899
|
+
}
|
|
900
|
+
function installerLabel(download, siblings) {
|
|
901
|
+
if (download.label) return download.label;
|
|
902
|
+
const label = `Download for ${_chunkK2JUJ37Dcjs.DESKTOP_OS_LABELS[download.os]}`;
|
|
903
|
+
const architecture = download.architecture ? _chunkK2JUJ37Dcjs.DOWNLOAD_ARCHITECTURE_LABELS[download.architecture] : null;
|
|
904
|
+
return siblings > 1 && architecture ? `${label} (${architecture})` : label;
|
|
905
|
+
}
|
|
906
|
+
function SystemCard({
|
|
907
|
+
system,
|
|
908
|
+
onDownloadAction
|
|
909
|
+
}) {
|
|
910
|
+
const { copy } = _chunk4LY6R4TNcjs.useCopyToClipboard.call(void 0, {
|
|
911
|
+
successTitle: "Copied",
|
|
912
|
+
successDescription: "Paste it into your terminal and press Return."
|
|
913
|
+
});
|
|
914
|
+
const requirements = [...new Set(system.installers.map((d) => d.minOsLabel).filter((l) => !!l))];
|
|
915
|
+
const report = (action, row) => _optionalChain([onDownloadAction, 'optionalCall', _15 => _15({ action, id: row.id, os: row.os, architecture: row.architecture })]);
|
|
916
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
918
|
+
CardHeader,
|
|
919
|
+
{
|
|
920
|
+
icon: OS_ICONS[system.os],
|
|
921
|
+
title: _chunkK2JUJ37Dcjs.DESKTOP_OS_LABELS[system.os],
|
|
922
|
+
detail: requirements.length > 0 ? `Requires ${requirements.join(" or ")}` : void 0
|
|
923
|
+
}
|
|
924
|
+
),
|
|
925
|
+
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,
|
|
926
|
+
_chunkHQIOMFJHcjs.Button,
|
|
927
|
+
{
|
|
928
|
+
variant: index === 0 ? "accent" : "outline",
|
|
929
|
+
href: _nullishCoalesce(download.url, () => ( void 0)),
|
|
930
|
+
download: true,
|
|
931
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Download01Icon, { className: "h-5 w-5" }),
|
|
932
|
+
onClick: () => report("installer", download),
|
|
933
|
+
children: installerLabel(download, system.installers.length)
|
|
934
|
+
},
|
|
935
|
+
download.id
|
|
936
|
+
)) }),
|
|
937
|
+
system.commands.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COMMANDS_CLASS, children: system.commands.map(
|
|
938
|
+
(row) => row.command ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
939
|
+
_chunkDWSBTGKTcjs.CommandBox,
|
|
940
|
+
{
|
|
941
|
+
title: _nullishCoalesce(row.label, () => ( void 0)),
|
|
942
|
+
command: row.command,
|
|
943
|
+
maxLines: 1,
|
|
944
|
+
commandClassName: "text-ods-accent",
|
|
945
|
+
copyAriaLabel: `Copy the ${_nullishCoalesce(row.label, () => ( "install"))} command`,
|
|
946
|
+
onCopy: () => {
|
|
947
|
+
void copy(row.command);
|
|
948
|
+
report("command", row);
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
row.id
|
|
952
|
+
) : null
|
|
953
|
+
) })
|
|
954
|
+
] });
|
|
955
|
+
}
|
|
956
|
+
function WebCard({ web }) {
|
|
957
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
958
|
+
"section",
|
|
959
|
+
{
|
|
960
|
+
"aria-labelledby": "download-web",
|
|
961
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, CARD_CLASS, "content-md:flex-row content-md:items-center content-md:justify-between"),
|
|
962
|
+
children: [
|
|
963
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: "download-web", className: "m-0 text-ods-text-primary text-h3", children: web.title }),
|
|
965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "m-0 text-ods-text-secondary text-h4", children: web.description })
|
|
966
|
+
] }),
|
|
967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: web.action })
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
);
|
|
971
|
+
}
|
|
972
|
+
function CardsSkeleton({ label }) {
|
|
973
|
+
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: [
|
|
974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-6 w-32 rounded" }),
|
|
975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-12 w-56 rounded-md" }),
|
|
976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-14 w-full rounded-md" })
|
|
977
|
+
] }, card)) });
|
|
978
|
+
}
|
|
979
|
+
function Section({ id, title, children }) {
|
|
980
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-labelledby": id, className: SECTION_CLASS, children: [
|
|
981
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id, className: "m-0 text-ods-text-primary text-h2", children: title }),
|
|
982
|
+
children
|
|
983
|
+
] });
|
|
984
|
+
}
|
|
985
|
+
function storeCardTitle(links) {
|
|
986
|
+
if (links.appStoreUrl && links.googlePlayUrl) return "iPhone, iPad and Android";
|
|
987
|
+
return links.appStoreUrl ? "iPhone and iPad" : "Android";
|
|
988
|
+
}
|
|
989
|
+
function DownloadAppsPage({
|
|
990
|
+
endpoint = _chunkK2JUJ37Dcjs.DOWNLOADS_API_PATH,
|
|
991
|
+
initialData,
|
|
992
|
+
shell = true,
|
|
993
|
+
backButton = false,
|
|
994
|
+
title,
|
|
995
|
+
subtitle,
|
|
996
|
+
showDesktop = true,
|
|
997
|
+
openStoresInNewTab = true,
|
|
998
|
+
onDownloadAction,
|
|
999
|
+
web
|
|
1000
|
+
}) {
|
|
1001
|
+
const { data, isLoading, error, reload } = _chunk4LY6R4TNcjs.useDownloads.call(void 0, { endpoint, initialData });
|
|
1002
|
+
const systems = showDesktop && data ? rowsBySystem(data.desktop) : [];
|
|
1003
|
+
const mobile = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _16 => _16.mobile]), () => ( null));
|
|
1004
|
+
const hasMobile = !!mobile && (!!mobile.appStoreUrl || !!mobile.googlePlayUrl);
|
|
1005
|
+
const offersDesktop = showDesktop && (!data || systems.length > 0);
|
|
1006
|
+
let body;
|
|
1007
|
+
if (error && !data) {
|
|
1008
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Could not load the downloads", onRetry: reload });
|
|
1009
|
+
} else if (!data) {
|
|
1010
|
+
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1011
|
+
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" }) }),
|
|
1012
|
+
/* @__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" }) })
|
|
1013
|
+
] }) : null;
|
|
1014
|
+
} else {
|
|
1015
|
+
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1016
|
+
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)) }) }),
|
|
1017
|
+
mobile && hasMobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Section, { id: "download-mobile", title: "Mobile app", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cardsGridClass(mobile.install ? 2 : 1), children: [
|
|
1018
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
1019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { title: storeCardTitle(mobile) }),
|
|
1020
|
+
/* @__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." }),
|
|
1021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1022
|
+
_chunkDWSBTGKTcjs.StoreBadgeLinks,
|
|
1023
|
+
{
|
|
1024
|
+
appStoreUrl: mobile.appStoreUrl,
|
|
1025
|
+
googlePlayUrl: mobile.googlePlayUrl,
|
|
1026
|
+
openInNewTab: openStoresInNewTab
|
|
1027
|
+
}
|
|
1028
|
+
)
|
|
1029
|
+
] }),
|
|
1030
|
+
mobile.install && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1031
|
+
"div",
|
|
1032
|
+
{
|
|
1033
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, CARD_CLASS, "content-md:flex-row content-md:items-center content-md:justify-between"),
|
|
1034
|
+
children: [
|
|
1035
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-sf)]", children: [
|
|
1036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { title: "Scan with your phone" }),
|
|
1037
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 text-ods-text-secondary text-h4", children: [
|
|
1038
|
+
"Point your camera at the code, or open ",
|
|
1039
|
+
_chunkTKFTWM3Vcjs.formatUrlForDisplay.call(void 0, mobile.install.url),
|
|
1040
|
+
" on your phone."
|
|
1041
|
+
] })
|
|
1042
|
+
] }),
|
|
1043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.MobileAppQr, { install: mobile.install, className: "h-[144px] w-[144px] shrink-0" })
|
|
1044
|
+
]
|
|
1045
|
+
}
|
|
1046
|
+
)
|
|
1047
|
+
] }) })
|
|
1048
|
+
] });
|
|
1049
|
+
}
|
|
1050
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1051
|
+
DownloadAppsChrome,
|
|
1052
|
+
{
|
|
1053
|
+
shell,
|
|
1054
|
+
backButton,
|
|
1055
|
+
title: _nullishCoalesce(title, () => ( (offersDesktop ? _chunkK2JUJ37Dcjs.DOWNLOADS_TITLE : _chunkK2JUJ37Dcjs.DOWNLOADS_MOBILE_TITLE))),
|
|
1056
|
+
subtitle: _nullishCoalesce(subtitle, () => ( (offersDesktop ? _chunkK2JUJ37Dcjs.DOWNLOADS_TAGLINE : _chunkK2JUJ37Dcjs.DOWNLOADS_MOBILE_TAGLINE))),
|
|
1057
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SECTIONS_CLASS, children: [
|
|
1058
|
+
body,
|
|
1059
|
+
web && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WebCard, { web })
|
|
1060
|
+
] })
|
|
1061
|
+
}
|
|
1062
|
+
);
|
|
1063
|
+
}
|
|
1064
|
+
function DownloadAppsChrome({
|
|
1065
|
+
shell,
|
|
1066
|
+
title,
|
|
1067
|
+
subtitle,
|
|
1068
|
+
backButton,
|
|
1069
|
+
children
|
|
1070
|
+
}) {
|
|
1071
|
+
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
1072
|
+
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
1073
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children });
|
|
1074
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
|
|
848
1078
|
|
|
849
1079
|
|
|
850
1080
|
|
|
@@ -857,4 +1087,4 @@ function TrustCenterPageSkeleton({
|
|
|
857
1087
|
|
|
858
1088
|
|
|
859
1089
|
|
|
860
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
1090
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkGYSTZD6Xcjs.DocsHubPage; exports.DownloadAppsPage = DownloadAppsPage; exports.FaqDocumentPage = _chunkKWBH63GVcjs.FaqDocumentPage; exports.HelpCenterList = _chunkVC7COEWFcjs.HelpCenterList; exports.LegalDocumentPage = _chunkRVQV6J5Kcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkJQ55FFIKcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkRVQV6J5Kcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|