@flamingo-stack/openframe-frontend-core 0.0.721 → 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/assets/index.cjs +0 -6
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -5
- package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
- package/dist/{chunk-NMPVK53I.cjs → chunk-5K6YKRP5.cjs} +23 -23
- package/dist/{chunk-S63QBBT7.js → chunk-65C4WHG4.js} +5 -5
- package/dist/{chunk-XE2K53GH.cjs → chunk-6HRQLM6T.cjs} +17 -17
- package/dist/{chunk-NPSJE7J3.js → chunk-7UZ2JZJY.js} +2 -2
- package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
- package/dist/{chunk-RCI3PALX.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-NJ5TBTJG.js → chunk-BCU6UUNQ.js} +5 -5
- package/dist/{chunk-3LY7V3RF.js → chunk-BUDZWXRG.js} +2 -2
- package/dist/{chunk-UZTOI6FJ.cjs → chunk-DWSBTGKT.cjs} +590 -598
- package/dist/{chunk-QQCFPMAA.js → chunk-DX3W7DPC.js} +1 -1
- package/dist/{chunk-HXB7SEYG.js → chunk-E7NIZXDT.js} +7 -16
- package/dist/{chunk-74N742ZG.js → chunk-ETQVXIYW.js} +4 -4
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-LAXKEBDD.js → chunk-F33RMJOL.js} +7 -7
- package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
- package/dist/{chunk-6AJIOW3S.cjs → chunk-GAFK3WNT.cjs} +37 -37
- package/dist/{chunk-3R32ZNA2.cjs → chunk-GYSTZD6X.cjs} +35 -35
- package/dist/{chunk-57UTI7ZH.js → chunk-HA2ASGJM.js} +4 -4
- package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
- package/dist/{chunk-CO3FOZIH.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-ZLUFEWZZ.js → chunk-IF72N4PE.js} +6 -6
- package/dist/{chunk-GCK75D7F.cjs → chunk-IITZ6JSC.cjs} +28 -28
- package/dist/{chunk-QYS4YVEP.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-2P2M27EW.js → chunk-KBPGSPXQ.js} +13 -21
- package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
- package/dist/{chunk-RJMWJAJO.cjs → chunk-KWBH63GV.cjs} +19 -19
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-XXO52RZR.cjs → chunk-MJ4SXOG2.cjs} +18 -18
- package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
- package/dist/{chunk-UXU7Y5BH.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-HJMSNOBT.cjs → chunk-P7Y626YJ.cjs} +258 -267
- package/dist/{chunk-RQZQHLNS.cjs → chunk-RVQV6J5K.cjs} +66 -66
- package/dist/{chunk-E6SMMMKV.js → chunk-SZ3CBFSH.js} +9 -9
- package/dist/{chunk-LGKMR7NZ.js → chunk-SZF7ENIW.js} +3 -3
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
- package/dist/{chunk-F7ORKKEF.cjs → chunk-VC7COEWF.cjs} +83 -83
- package/dist/{chunk-44Q6MV7C.js → chunk-VSYQJCNR.js} +1 -1
- package/dist/{chunk-O5EHOJZD.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-D2DH6VZL.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-I2254QN6.cjs → chunk-VYHCN5NU.cjs} +3 -3
- package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
- package/dist/{chunk-LODMNSQY.cjs → chunk-XJYAUIOL.cjs} +11 -11
- package/dist/{chunk-GGBYZKMS.cjs → chunk-XR7NVJXS.cjs} +5 -5
- package/dist/{chunk-VFICDEYJ.cjs → chunk-ZHC6MDGF.cjs} +41 -41
- package/dist/{chunk-5QXE5HMV.js → chunk-ZMHP4Y6M.js} +3 -3
- package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-4Z36KWSX.js} +9 -9
- package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-5NIC5VXK.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +11 -11
- package/dist/components/faq/index.js +10 -10
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- 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 +19 -6
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +145 -130
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +59 -44
- package/dist/components/index.cjs +64 -64
- package/dist/components/index.js +21 -21
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.js +12 -12
- 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 +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/index.js +13 -13
- package/dist/components/ui/index.cjs +10 -10
- package/dist/components/ui/index.js +9 -9
- package/dist/components/ui/mobile-app-qr.d.ts +13 -15
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
- package/dist/{devices-NOUGVTES.js → devices-2TK3LAKM.js} +9 -9
- package/dist/{devices-6XHUFIC6.cjs → devices-7IKT72DK.cjs} +11 -11
- package/dist/index.cjs +16 -24
- package/dist/index.js +15 -23
- package/dist/{knowledge-2YTUXQ2Z.js → knowledge-3GJ4MU3V.js} +9 -9
- package/dist/{knowledge-ANEKPMO2.cjs → knowledge-HYSEV35H.cjs} +11 -11
- package/dist/{logs-WVQIONUT.js → logs-TATVM62H.js} +9 -9
- package/dist/{logs-U3IB3HUM.cjs → logs-ZX3NADQC.cjs} +18 -18
- package/dist/{policies-UFRN2EQF.cjs → policies-J4FSDKPI.cjs} +14 -14
- package/dist/{policies-66EGDW2H.js → policies-MRRKLF4Q.js} +9 -9
- package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
- package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
- package/dist/{software-update-2MHKL76D.cjs → software-update-CXUBWYD2.cjs} +14 -14
- package/dist/{software-update-3ZD3MXF3.js → software-update-KM46WUVQ.js} +9 -9
- package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
- package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
- package/dist/types/downloads.d.ts +16 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +4 -9
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -7
- package/dist/utils/mobile-app.cjs +0 -9
- package/dist/utils/mobile-app.d.ts +8 -25
- package/dist/utils/mobile-app.d.ts.map +1 -1
- package/dist/utils/mobile-app.js +1 -7
- package/package.json +1 -1
- package/src/assets/index.ts +0 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +53 -29
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/ui/mobile-app-qr.tsx +17 -22
- package/src/types/downloads.ts +17 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/mobile-app.ts +8 -31
- package/dist/assets/mobile-app-qr.d.ts +0 -17
- package/dist/assets/mobile-app-qr.d.ts.map +0 -1
- package/src/assets/mobile-app-qr.ts +0 -19
|
@@ -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-
|
|
12
|
+
var _chunkGYSTZD6Xcjs = require('../../chunk-GYSTZD6X.cjs');
|
|
13
|
+
require('../../chunk-XR7NVJXS.cjs');
|
|
14
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
|
|
32
|
+
var _chunk6HRQLM6Tcjs = require('../../chunk-6HRQLM6T.cjs');
|
|
33
33
|
require('../../chunk-ZSOFLPQN.cjs');
|
|
34
|
-
require('../../chunk-
|
|
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
|
|
|
@@ -50,14 +50,14 @@ require('../../chunk-LODMNSQY.cjs');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
54
|
-
require('../../chunk-
|
|
53
|
+
var _chunkDWSBTGKTcjs = require('../../chunk-DWSBTGKT.cjs');
|
|
54
|
+
require('../../chunk-ABSWD4PQ.cjs');
|
|
55
55
|
require('../../chunk-HQQE74RO.cjs');
|
|
56
56
|
require('../../chunk-DEY6XXGO.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkNFABAOMDcjs = require('../../chunk-NFABAOMD.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -74,18 +74,15 @@ require('../../chunk-LX22Y43B.cjs');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var _chunkHJMSNOBTcjs = require('../../chunk-HJMSNOBT.cjs');
|
|
81
|
-
require('../../chunk-OKE5BIQH.cjs');
|
|
77
|
+
var _chunkP7Y626YJcjs = require('../../chunk-P7Y626YJ.cjs');
|
|
78
|
+
require('../../chunk-HP4UUBJC.cjs');
|
|
82
79
|
require('../../chunk-EWPR7662.cjs');
|
|
83
80
|
|
|
84
81
|
|
|
85
82
|
|
|
86
83
|
|
|
87
84
|
|
|
88
|
-
var
|
|
85
|
+
var _chunkFDWYBJYDcjs = require('../../chunk-FDWYBJYD.cjs');
|
|
89
86
|
require('../../chunk-RUZIICXT.cjs');
|
|
90
87
|
|
|
91
88
|
|
|
@@ -120,12 +117,14 @@ var _chunk7DNL734Scjs = require('../../chunk-7DNL734S.cjs');
|
|
|
120
117
|
|
|
121
118
|
|
|
122
119
|
|
|
123
|
-
var
|
|
120
|
+
var _chunkIITZ6JSCcjs = require('../../chunk-IITZ6JSC.cjs');
|
|
124
121
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
125
122
|
|
|
126
123
|
|
|
127
|
-
var
|
|
128
|
-
|
|
124
|
+
var _chunkLV6UJD2Kcjs = require('../../chunk-LV6UJD2K.cjs');
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
var _chunkTKFTWM3Vcjs = require('../../chunk-TKFTWM3V.cjs');
|
|
129
128
|
require('../../chunk-MGHIV4L6.cjs');
|
|
130
129
|
require('../../chunk-7GRPR7XA.cjs');
|
|
131
130
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
@@ -175,9 +174,9 @@ function RoadmapPage({
|
|
|
175
174
|
belowContent,
|
|
176
175
|
shell
|
|
177
176
|
}) {
|
|
178
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
179
178
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
179
|
+
_chunkRVQV6J5Kcjs.RoadmapView,
|
|
181
180
|
{
|
|
182
181
|
endpoint: roadmapEndpoint,
|
|
183
182
|
initialItems,
|
|
@@ -203,9 +202,9 @@ function ProductReleasesListPage({
|
|
|
203
202
|
belowContent,
|
|
204
203
|
shell
|
|
205
204
|
}) {
|
|
206
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
205
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
207
206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
-
|
|
207
|
+
_chunkRVQV6J5Kcjs.ProductReleasesView,
|
|
209
208
|
{
|
|
210
209
|
endpoint: releasesEndpoint,
|
|
211
210
|
basePath,
|
|
@@ -228,8 +227,8 @@ function DeliveryPage({
|
|
|
228
227
|
belowContent,
|
|
229
228
|
shell
|
|
230
229
|
}) {
|
|
231
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
232
|
-
/* @__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 }),
|
|
233
232
|
belowContent
|
|
234
233
|
] });
|
|
235
234
|
}
|
|
@@ -249,9 +248,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
249
248
|
belowContent,
|
|
250
249
|
shell
|
|
251
250
|
}) {
|
|
252
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
251
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6HRQLM6Tcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
253
252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
254
|
-
|
|
253
|
+
_chunkJQ55FFIKcjs.OnboardingGuidesCatalogView,
|
|
255
254
|
{
|
|
256
255
|
guidesEndpoint,
|
|
257
256
|
sectionsEndpoint,
|
|
@@ -303,7 +302,7 @@ function TrustSection({
|
|
|
303
302
|
style: { scrollMarginTop: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX },
|
|
304
303
|
children: [
|
|
305
304
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
306
|
-
/* @__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 }),
|
|
307
306
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
308
307
|
] }),
|
|
309
308
|
children
|
|
@@ -324,18 +323,18 @@ function AiSection({ practices }) {
|
|
|
324
323
|
}
|
|
325
324
|
]
|
|
326
325
|
}));
|
|
327
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
326
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
328
327
|
}
|
|
329
328
|
function ComplianceSection({ frameworks }) {
|
|
330
329
|
const rows = frameworks.map((framework) => {
|
|
331
|
-
const entry =
|
|
330
|
+
const entry = _chunkIITZ6JSCcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
332
331
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
333
332
|
return {
|
|
334
333
|
id: framework.id,
|
|
335
334
|
columns: [
|
|
336
335
|
{
|
|
337
336
|
key: "framework",
|
|
338
|
-
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" }) }),
|
|
339
338
|
value: framework.label,
|
|
340
339
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
341
340
|
wrap: true
|
|
@@ -344,12 +343,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
344
343
|
key: "monitoring",
|
|
345
344
|
width: ACTION_COLUMN,
|
|
346
345
|
align: "right",
|
|
347
|
-
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 })
|
|
348
347
|
}
|
|
349
348
|
]
|
|
350
349
|
};
|
|
351
350
|
});
|
|
352
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
353
352
|
}
|
|
354
353
|
var CONTROL_ROW_CLASS = "h-14 content-md:h-20 overflow-hidden";
|
|
355
354
|
function controlRows(controls) {
|
|
@@ -382,22 +381,22 @@ function ControlsListSkeleton() {
|
|
|
382
381
|
{
|
|
383
382
|
key: "control",
|
|
384
383
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
386
|
-
/* @__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" })
|
|
387
386
|
] })
|
|
388
387
|
}
|
|
389
388
|
]
|
|
390
389
|
}));
|
|
391
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
392
391
|
}
|
|
393
392
|
function ControlsSection({ endpoint, seed }) {
|
|
394
393
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
395
394
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
396
|
-
const query = _chunkK2JUJ37Dcjs.useDebounce.call(void 0,
|
|
397
|
-
const url =
|
|
398
|
-
const seedUrl =
|
|
399
|
-
const answer =
|
|
400
|
-
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);
|
|
401
400
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
402
401
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
403
402
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -416,12 +415,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
416
415
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
417
416
|
let body;
|
|
418
417
|
if (answer.error && !current) {
|
|
419
|
-
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 });
|
|
420
419
|
} else if (!current) {
|
|
421
420
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
422
421
|
} else if (current.controls.length === 0) {
|
|
423
422
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
424
|
-
|
|
423
|
+
_chunk6HRQLM6Tcjs.ListEmptyState,
|
|
425
424
|
{
|
|
426
425
|
isFiltered: true,
|
|
427
426
|
filtered: {
|
|
@@ -434,11 +433,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
434
433
|
}
|
|
435
434
|
);
|
|
436
435
|
} else {
|
|
437
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
438
437
|
}
|
|
439
438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
440
439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
441
|
-
|
|
440
|
+
_chunkDWSBTGKTcjs.TabNavigation,
|
|
442
441
|
{
|
|
443
442
|
tabs,
|
|
444
443
|
activeTab,
|
|
@@ -448,7 +447,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
448
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: [
|
|
449
448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
450
449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
451
|
-
|
|
450
|
+
_chunkDWSBTGKTcjs.SearchInput,
|
|
452
451
|
{
|
|
453
452
|
placeholder: "Search controls",
|
|
454
453
|
value: typed,
|
|
@@ -458,7 +457,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
458
457
|
}
|
|
459
458
|
) })
|
|
460
459
|
] }),
|
|
461
|
-
/* @__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 })
|
|
462
461
|
] });
|
|
463
462
|
}
|
|
464
463
|
function DocumentsSection({
|
|
@@ -497,7 +496,7 @@ function DocumentsSection({
|
|
|
497
496
|
]
|
|
498
497
|
};
|
|
499
498
|
});
|
|
500
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
499
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
501
500
|
}
|
|
502
501
|
function DocumentRequestModal({
|
|
503
502
|
open,
|
|
@@ -506,12 +505,12 @@ function DocumentRequestModal({
|
|
|
506
505
|
onClose
|
|
507
506
|
}) {
|
|
508
507
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
509
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
511
|
-
/* @__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: [
|
|
512
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." }),
|
|
513
512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
-
|
|
513
|
+
_chunk5K6YKRP5cjs.ContactForm,
|
|
515
514
|
{
|
|
516
515
|
rescue: _chunkK2JUJ37Dcjs.RESCUE_FORMS.trustCenterRequest,
|
|
517
516
|
title: "",
|
|
@@ -529,12 +528,12 @@ function DocumentRequestModal({
|
|
|
529
528
|
] });
|
|
530
529
|
}
|
|
531
530
|
function subprocessorMark({ name, logoUrl }) {
|
|
532
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
533
|
-
const logo =
|
|
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,
|
|
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" });
|
|
535
534
|
}
|
|
536
535
|
function countryWithFlag(country) {
|
|
537
|
-
const flag =
|
|
536
|
+
const flag = _chunkP7Y626YJcjs.getFlagFromCountryName.call(void 0, country);
|
|
538
537
|
return flag ? `${flag} ${country}` : country;
|
|
539
538
|
}
|
|
540
539
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -561,11 +560,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
561
560
|
] : []
|
|
562
561
|
]
|
|
563
562
|
}));
|
|
564
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
563
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StackedRowsPanel, { rows });
|
|
565
564
|
}
|
|
566
565
|
function ContactSection({ onContact }) {
|
|
567
566
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
568
|
-
|
|
567
|
+
_chunkDWSBTGKTcjs.StackedRowsPanel,
|
|
569
568
|
{
|
|
570
569
|
rows: [
|
|
571
570
|
{
|
|
@@ -591,11 +590,11 @@ function ContactSection({ onContact }) {
|
|
|
591
590
|
);
|
|
592
591
|
}
|
|
593
592
|
function SkeletonSection({ id, children }) {
|
|
594
|
-
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));
|
|
595
594
|
const lead = TRUST_SECTION_LEADS[id];
|
|
596
595
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
597
596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkIITZ6JSCcjs.SECTION_HEADING_CLASS, children: label }),
|
|
599
598
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
600
599
|
] }),
|
|
601
600
|
children
|
|
@@ -609,14 +608,14 @@ function skeletonRows(count, shape) {
|
|
|
609
608
|
key: "item",
|
|
610
609
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
611
610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
612
|
-
|
|
611
|
+
_chunkP7Y626YJcjs.UnifiedSkeleton,
|
|
613
612
|
{
|
|
614
613
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
615
614
|
}
|
|
616
615
|
),
|
|
617
616
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
619
|
-
/* @__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" })
|
|
620
619
|
] })
|
|
621
620
|
] })
|
|
622
621
|
},
|
|
@@ -624,17 +623,17 @@ function skeletonRows(count, shape) {
|
|
|
624
623
|
key: "action",
|
|
625
624
|
width: ACTION_COLUMN,
|
|
626
625
|
align: "right",
|
|
627
|
-
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" })
|
|
628
627
|
}
|
|
629
628
|
]
|
|
630
629
|
}));
|
|
631
630
|
}
|
|
632
631
|
function ControlsSectionSkeleton() {
|
|
633
632
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
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,
|
|
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)) }),
|
|
635
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: [
|
|
636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
637
|
-
/* @__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" })
|
|
638
637
|
] }),
|
|
639
638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
640
639
|
] });
|
|
@@ -645,32 +644,32 @@ function SectionRailSkeleton() {
|
|
|
645
644
|
"div",
|
|
646
645
|
{
|
|
647
646
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
648
|
-
style: { height:
|
|
647
|
+
style: { height: _chunkIITZ6JSCcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
649
648
|
}
|
|
650
649
|
),
|
|
651
|
-
|
|
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))
|
|
652
651
|
] }) });
|
|
653
652
|
}
|
|
654
653
|
function TrustCenterSkeleton() {
|
|
655
654
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
656
655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
657
656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
659
|
-
/* @__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" })
|
|
660
659
|
] }),
|
|
661
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: [
|
|
662
661
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
664
|
-
/* @__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" })
|
|
665
664
|
] }),
|
|
666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-44" })
|
|
667
666
|
] })
|
|
668
667
|
] }),
|
|
669
668
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
670
669
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
671
|
-
/* @__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" }) }) }),
|
|
672
671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
673
|
-
/* @__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" }) }) })
|
|
674
673
|
] }),
|
|
675
674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
676
675
|
] })
|
|
@@ -689,7 +688,7 @@ function visibleSections(data) {
|
|
|
689
688
|
faq: data.faqs.length > 0,
|
|
690
689
|
contact: true
|
|
691
690
|
};
|
|
692
|
-
return
|
|
691
|
+
return _chunkIITZ6JSCcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
693
692
|
}
|
|
694
693
|
function controlsSeed(data) {
|
|
695
694
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -705,22 +704,22 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
705
704
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
706
705
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
707
706
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
708
|
-
return
|
|
707
|
+
return _chunkIITZ6JSCcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
709
708
|
}
|
|
710
709
|
function TrustCenterPage({
|
|
711
|
-
endpoint =
|
|
710
|
+
endpoint = _chunkIITZ6JSCcjs.TRUST_CENTER_API_PATH,
|
|
712
711
|
initialData,
|
|
713
712
|
shell = true,
|
|
714
713
|
backButton = false,
|
|
715
|
-
title =
|
|
716
|
-
subtitle =
|
|
714
|
+
title = _chunkIITZ6JSCcjs.TRUST_CENTER_TITLE,
|
|
715
|
+
subtitle = _chunkIITZ6JSCcjs.TRUST_CENTER_TAGLINE,
|
|
717
716
|
ask
|
|
718
717
|
}) {
|
|
719
|
-
const { data, isLoading, error, reload } =
|
|
718
|
+
const { data, isLoading, error, reload } = _chunkIITZ6JSCcjs.useSelfFetch.call(void 0, endpoint, {
|
|
720
719
|
initialData,
|
|
721
|
-
revalidateOnVisibleAfterMs:
|
|
720
|
+
revalidateOnVisibleAfterMs: _chunkIITZ6JSCcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
722
721
|
});
|
|
723
|
-
const hydrated =
|
|
722
|
+
const hydrated = _chunkP7Y626YJcjs.useIsHydrated.call(void 0, );
|
|
724
723
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
725
724
|
if (clock.data !== data) {
|
|
726
725
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -736,7 +735,7 @@ function TrustCenterPage({
|
|
|
736
735
|
documentTitle: null
|
|
737
736
|
});
|
|
738
737
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
739
|
-
const { activeSection, handleSectionClick } =
|
|
738
|
+
const { activeSection, handleSectionClick } = _chunkVYHCN5NUcjs.useScrollSpy.call(void 0, sections, {
|
|
740
739
|
syncHash: true,
|
|
741
740
|
headerOffset: _chunkK2JUJ37Dcjs.STICKY_HEADER_OFFSET_PX
|
|
742
741
|
});
|
|
@@ -766,7 +765,7 @@ function TrustCenterPage({
|
|
|
766
765
|
DocumentsSection,
|
|
767
766
|
{
|
|
768
767
|
documents: d.documents,
|
|
769
|
-
documentUrl: (document) =>
|
|
768
|
+
documentUrl: (document) => _chunkIITZ6JSCcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
770
769
|
onRequest: openRequest
|
|
771
770
|
}
|
|
772
771
|
)
|
|
@@ -775,24 +774,24 @@ function TrustCenterPage({
|
|
|
775
774
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
776
775
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
777
776
|
},
|
|
778
|
-
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 }) },
|
|
779
778
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
780
779
|
};
|
|
781
780
|
let body;
|
|
782
781
|
if (error && !data) {
|
|
783
|
-
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 });
|
|
784
783
|
} else if (!data) {
|
|
785
784
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
786
785
|
} else {
|
|
787
786
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
788
787
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
789
788
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
790
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
791
790
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
-
|
|
791
|
+
_chunkDWSBTGKTcjs.DataAttribution,
|
|
793
792
|
{
|
|
794
793
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
795
|
-
|
|
794
|
+
_chunkNFABAOMDcjs.EntityImage,
|
|
796
795
|
{
|
|
797
796
|
src: data.dataSource.logoUrl,
|
|
798
797
|
alt: data.dataSource.name,
|
|
@@ -811,7 +810,7 @@ function TrustCenterPage({
|
|
|
811
810
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
812
811
|
}) }),
|
|
813
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,
|
|
814
|
-
|
|
813
|
+
_chunkVYHCN5NUcjs.StickySectionNav,
|
|
815
814
|
{
|
|
816
815
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
817
816
|
activeSection,
|
|
@@ -843,7 +842,7 @@ function TrustCenterChrome({
|
|
|
843
842
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
844
843
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
845
844
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
846
|
-
|
|
845
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
847
846
|
{
|
|
848
847
|
title,
|
|
849
848
|
subtitle,
|
|
@@ -855,20 +854,19 @@ function TrustCenterChrome({
|
|
|
855
854
|
children
|
|
856
855
|
}
|
|
857
856
|
);
|
|
858
|
-
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 });
|
|
859
858
|
}
|
|
860
859
|
function TrustCenterPageSkeleton({
|
|
861
860
|
shell = true,
|
|
862
861
|
backButton = false,
|
|
863
|
-
title =
|
|
864
|
-
subtitle =
|
|
862
|
+
title = _chunkIITZ6JSCcjs.TRUST_CENTER_TITLE,
|
|
863
|
+
subtitle = _chunkIITZ6JSCcjs.TRUST_CENTER_TAGLINE
|
|
865
864
|
}) {
|
|
866
865
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
867
866
|
}
|
|
868
867
|
|
|
869
868
|
// src/components/help-center-pages/download-apps-page.tsx
|
|
870
869
|
|
|
871
|
-
|
|
872
870
|
var SECTIONS_CLASS = "flex flex-col gap-[var(--spacing-system-xlf)]";
|
|
873
871
|
var SECTION_CLASS = "flex flex-col gap-[var(--spacing-system-lf)]";
|
|
874
872
|
var CARDS_GRID_CLASS = "grid grid-cols-1 gap-[var(--spacing-system-lf)] content-md:grid-cols-2";
|
|
@@ -938,7 +936,7 @@ function SystemCard({
|
|
|
938
936
|
)) }),
|
|
939
937
|
system.commands.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COMMANDS_CLASS, children: system.commands.map(
|
|
940
938
|
(row) => row.command ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
941
|
-
|
|
939
|
+
_chunkDWSBTGKTcjs.CommandBox,
|
|
942
940
|
{
|
|
943
941
|
title: _nullishCoalesce(row.label, () => ( void 0)),
|
|
944
942
|
command: row.command,
|
|
@@ -955,11 +953,27 @@ function SystemCard({
|
|
|
955
953
|
) })
|
|
956
954
|
] });
|
|
957
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
|
+
}
|
|
958
972
|
function CardsSkeleton({ label }) {
|
|
959
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: [
|
|
960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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" })
|
|
963
977
|
] }, card)) });
|
|
964
978
|
}
|
|
965
979
|
function Section({ id, title, children }) {
|
|
@@ -982,21 +996,16 @@ function DownloadAppsPage({
|
|
|
982
996
|
showDesktop = true,
|
|
983
997
|
openStoresInNewTab = true,
|
|
984
998
|
onDownloadAction,
|
|
985
|
-
|
|
999
|
+
web
|
|
986
1000
|
}) {
|
|
987
1001
|
const { data, isLoading, error, reload } = _chunk4LY6R4TNcjs.useDownloads.call(void 0, { endpoint, initialData });
|
|
988
1002
|
const systems = showDesktop && data ? rowsBySystem(data.desktop) : [];
|
|
989
1003
|
const mobile = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _16 => _16.mobile]), () => ( null));
|
|
990
1004
|
const hasMobile = !!mobile && (!!mobile.appStoreUrl || !!mobile.googlePlayUrl);
|
|
991
1005
|
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
1006
|
let body;
|
|
998
1007
|
if (error && !data) {
|
|
999
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1008
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWSBTGKTcjs.LoadError, { message: "Could not load the downloads", onRetry: reload });
|
|
1000
1009
|
} else if (!data) {
|
|
1001
1010
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1002
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" }) }),
|
|
@@ -1005,12 +1014,12 @@ function DownloadAppsPage({
|
|
|
1005
1014
|
} else {
|
|
1006
1015
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1007
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)) }) }),
|
|
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:
|
|
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: [
|
|
1009
1018
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_CLASS, children: [
|
|
1010
1019
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { title: storeCardTitle(mobile) }),
|
|
1011
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." }),
|
|
1012
1021
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
-
|
|
1022
|
+
_chunkDWSBTGKTcjs.StoreBadgeLinks,
|
|
1014
1023
|
{
|
|
1015
1024
|
appStoreUrl: mobile.appStoreUrl,
|
|
1016
1025
|
googlePlayUrl: mobile.googlePlayUrl,
|
|
@@ -1018,17 +1027,23 @@ function DownloadAppsPage({
|
|
|
1018
1027
|
}
|
|
1019
1028
|
)
|
|
1020
1029
|
] }),
|
|
1021
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
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
|
+
)
|
|
1032
1047
|
] }) })
|
|
1033
1048
|
] });
|
|
1034
1049
|
}
|
|
@@ -1041,7 +1056,7 @@ function DownloadAppsPage({
|
|
|
1041
1056
|
subtitle: _nullishCoalesce(subtitle, () => ( (offersDesktop ? _chunkK2JUJ37Dcjs.DOWNLOADS_TAGLINE : _chunkK2JUJ37Dcjs.DOWNLOADS_MOBILE_TAGLINE))),
|
|
1042
1057
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SECTIONS_CLASS, children: [
|
|
1043
1058
|
body,
|
|
1044
|
-
|
|
1059
|
+
web && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WebCard, { web })
|
|
1045
1060
|
] })
|
|
1046
1061
|
}
|
|
1047
1062
|
);
|
|
@@ -1055,8 +1070,8 @@ function DownloadAppsChrome({
|
|
|
1055
1070
|
}) {
|
|
1056
1071
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
1057
1072
|
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,
|
|
1059
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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 });
|
|
1060
1075
|
}
|
|
1061
1076
|
|
|
1062
1077
|
|
|
@@ -1072,4 +1087,4 @@ function DownloadAppsChrome({
|
|
|
1072
1087
|
|
|
1073
1088
|
|
|
1074
1089
|
|
|
1075
|
-
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;
|