@flamingo-stack/openframe-frontend-core 0.0.685 → 0.0.686-2463.7461.1
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-T6KWNJDW.js → chunk-22RSJ57Z.js} +470 -465
- package/dist/chunk-22RSJ57Z.js.map +1 -0
- package/dist/{chunk-65KTXRBY.js → chunk-2G2CB7ZZ.js} +6 -6
- package/dist/{chunk-K2HZG4RM.cjs → chunk-2OD2PPNO.cjs} +32 -32
- package/dist/{chunk-K2HZG4RM.cjs.map → chunk-2OD2PPNO.cjs.map} +1 -1
- package/dist/{chunk-HMXUOLZR.cjs → chunk-3DO76UAB.cjs} +20 -20
- package/dist/{chunk-HMXUOLZR.cjs.map → chunk-3DO76UAB.cjs.map} +1 -1
- package/dist/{chunk-XW7MUIW4.js → chunk-3NIZ2VLQ.js} +3 -3
- package/dist/{chunk-5LJZPJHX.cjs → chunk-4LBCUBVL.cjs} +59 -59
- package/dist/{chunk-5LJZPJHX.cjs.map → chunk-4LBCUBVL.cjs.map} +1 -1
- package/dist/{chunk-ZF4Z36G4.js → chunk-4RJQMOQW.js} +7 -7
- package/dist/{chunk-TJI5V5BR.cjs → chunk-AF4XOURN.cjs} +7 -7
- package/dist/{chunk-TJI5V5BR.cjs.map → chunk-AF4XOURN.cjs.map} +1 -1
- package/dist/{chunk-7XF63THA.js → chunk-ASBBGP36.js} +6 -6
- package/dist/{chunk-O7LOZW4R.js → chunk-C5TFPMOM.js} +5 -5
- package/dist/{chunk-CMQXPD5C.cjs → chunk-GETQTNRV.cjs} +28 -28
- package/dist/{chunk-CMQXPD5C.cjs.map → chunk-GETQTNRV.cjs.map} +1 -1
- package/dist/{chunk-TUG7IT6H.js → chunk-HLEXYTOE.js} +2 -2
- package/dist/{chunk-M4HYIXP6.cjs → chunk-IBUFFKAK.cjs} +399 -383
- package/dist/chunk-IBUFFKAK.cjs.map +1 -0
- package/dist/{chunk-GXV6UEVY.js → chunk-IELOPDTA.js} +3 -3
- package/dist/{chunk-T4DUTP5C.cjs → chunk-II5GVLTN.cjs} +5 -5
- package/dist/{chunk-T4DUTP5C.cjs.map → chunk-II5GVLTN.cjs.map} +1 -1
- package/dist/{chunk-B32YLOYQ.js → chunk-JBJZL5PI.js} +4 -4
- package/dist/{chunk-UT333EOT.js → chunk-LCOMNQLX.js} +4 -4
- package/dist/{chunk-VDPCK437.js → chunk-MHTB67ZH.js} +21 -5
- package/dist/{chunk-VDPCK437.js.map → chunk-MHTB67ZH.js.map} +1 -1
- package/dist/{chunk-EFBMNVSH.cjs → chunk-MZAZUSPQ.cjs} +15 -15
- package/dist/{chunk-EFBMNVSH.cjs.map → chunk-MZAZUSPQ.cjs.map} +1 -1
- package/dist/{chunk-C3B36OYZ.cjs → chunk-N3I53B5W.cjs} +3 -3
- package/dist/{chunk-C3B36OYZ.cjs.map → chunk-N3I53B5W.cjs.map} +1 -1
- package/dist/{chunk-WJK2EETW.js → chunk-NINO3PI7.js} +2 -2
- package/dist/{chunk-YCTVLN47.cjs → chunk-P4SBHO7U.cjs} +10 -10
- package/dist/{chunk-YCTVLN47.cjs.map → chunk-P4SBHO7U.cjs.map} +1 -1
- package/dist/{chunk-PSQKD6ZN.js → chunk-PG65AE3I.js} +3 -3
- package/dist/{chunk-DQOQ3KTP.cjs → chunk-QNWQQ4RT.cjs} +78 -73
- package/dist/chunk-QNWQQ4RT.cjs.map +1 -0
- package/dist/{chunk-BZ2XOEHW.js → chunk-QOH45QSE.js} +3 -3
- package/dist/{chunk-DWXWEGGO.cjs → chunk-QTXDXHMD.cjs} +22 -22
- package/dist/{chunk-DWXWEGGO.cjs.map → chunk-QTXDXHMD.cjs.map} +1 -1
- package/dist/{chunk-B25CF3PO.cjs → chunk-RBCMBRI7.cjs} +30 -30
- package/dist/{chunk-B25CF3PO.cjs.map → chunk-RBCMBRI7.cjs.map} +1 -1
- package/dist/{chunk-QHLJSB2J.cjs → chunk-RKH7DEDF.cjs} +12 -12
- package/dist/{chunk-QHLJSB2J.cjs.map → chunk-RKH7DEDF.cjs.map} +1 -1
- package/dist/{chunk-Y7ZYOQNB.js → chunk-RSMAVO2Z.js} +3 -3
- package/dist/{chunk-A3CSQB4A.cjs → chunk-SI77HF4U.cjs} +1247 -805
- package/dist/chunk-SI77HF4U.cjs.map +1 -0
- package/dist/{chunk-GHLGXFNU.js → chunk-U6JC3RS2.js} +3 -3
- package/dist/{chunk-B5N3AHPG.cjs → chunk-UBXEETWQ.cjs} +81 -81
- package/dist/{chunk-B5N3AHPG.cjs.map → chunk-UBXEETWQ.cjs.map} +1 -1
- package/dist/{chunk-N4Z6X5BV.js → chunk-WFH52OVQ.js} +5 -5
- package/dist/{chunk-U3IXG7TR.cjs → chunk-WJX3ZSOE.cjs} +33 -33
- package/dist/{chunk-U3IXG7TR.cjs.map → chunk-WJX3ZSOE.cjs.map} +1 -1
- package/dist/{chunk-XGX6JSEU.js → chunk-YPXXXX6R.js} +2086 -1644
- package/dist/chunk-YPXXXX6R.js.map +1 -0
- package/dist/{chunk-P2ASEPA2.cjs → chunk-ZS3YCJYY.cjs} +6 -6
- package/dist/{chunk-P2ASEPA2.cjs.map → chunk-ZS3YCJYY.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/ai-assistant-info.d.ts.map +1 -1
- package/dist/components/chat/approval-request-message.d.ts.map +1 -1
- package/dist/components/chat/chat-appearance-context.d.ts +9 -0
- package/dist/components/chat/chat-appearance-context.d.ts.map +1 -0
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts +50 -0
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -0
- package/dist/components/chat/chat-top-navigation.d.ts +29 -0
- package/dist/components/chat/chat-top-navigation.d.ts.map +1 -0
- package/dist/components/chat/error-message-display.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +21 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.d.ts +6 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +20 -2
- package/dist/components/chat/msp-organization-card.d.ts +7 -1
- package/dist/components/chat/msp-organization-card.d.ts.map +1 -1
- package/dist/components/chat/onboarding-carousel.d.ts +29 -0
- package/dist/components/chat/onboarding-carousel.d.ts.map +1 -0
- package/dist/components/chat/system-event-message.d.ts +14 -0
- package/dist/components/chat/system-event-message.d.ts.map +1 -0
- package/dist/components/chat/types/chat.types.d.ts +13 -0
- package/dist/components/chat/types/chat.types.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +20 -1
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +91 -91
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +73 -55
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +33 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +41 -41
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/avatar-stack.d.ts +5 -1
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +22 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +21 -3
- package/dist/components/ui/reopen-ticket-request-modal.d.ts +4 -1
- package/dist/components/ui/reopen-ticket-request-modal.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.d.ts +7 -0
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/index.cjs +27 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-appearance.test.tsx +79 -0
- package/src/components/chat/__tests__/onboarding-carousel.test.tsx +56 -0
- package/src/components/chat/ai-assistant-info.tsx +7 -1
- package/src/components/chat/approval-request-message.tsx +6 -1
- package/src/components/chat/chat-appearance-context.tsx +15 -0
- package/src/components/chat/chat-input.tsx +26 -1
- package/src/components/chat/chat-message-enhanced.tsx +180 -142
- package/src/components/chat/chat-message-list.tsx +169 -164
- package/src/components/chat/chat-nav-sidebar.tsx +163 -0
- package/src/components/chat/chat-top-navigation.tsx +109 -0
- package/src/components/chat/error-message-display.tsx +21 -3
- package/src/components/chat/index.ts +6 -0
- package/src/components/chat/msp-organization-card.tsx +35 -0
- package/src/components/chat/onboarding-carousel.tsx +162 -0
- package/src/components/chat/system-event-message.tsx +54 -0
- package/src/components/chat/types/chat.types.ts +15 -0
- package/src/components/chat/types/component.types.ts +20 -0
- package/src/components/ui/__tests__/avatar-stack.test.tsx +25 -0
- package/src/components/ui/__tests__/tab-navigation.test.tsx +56 -2
- package/src/components/ui/avatar-stack.tsx +15 -5
- package/src/components/ui/reopen-ticket-request-modal.tsx +6 -2
- package/src/components/ui/tab-navigation.tsx +23 -0
- package/src/stories/FaeLayoutV2.stories.tsx +150 -0
- package/src/stories/FaeOnboardingV2.stories.tsx +68 -0
- package/src/stories/FaeThreadV2.stories.tsx +192 -0
- package/src/stories/fae-brand-decorator.tsx +28 -0
- package/src/styles/ods-colors.css +10 -0
- package/src/styles/ods-effects.css +13 -0
- package/dist/chunk-A3CSQB4A.cjs.map +0 -1
- package/dist/chunk-DQOQ3KTP.cjs.map +0 -1
- package/dist/chunk-M4HYIXP6.cjs.map +0 -1
- package/dist/chunk-T6KWNJDW.js.map +0 -1
- package/dist/chunk-XGX6JSEU.js.map +0 -1
- /package/dist/{chunk-65KTXRBY.js.map → chunk-2G2CB7ZZ.js.map} +0 -0
- /package/dist/{chunk-XW7MUIW4.js.map → chunk-3NIZ2VLQ.js.map} +0 -0
- /package/dist/{chunk-ZF4Z36G4.js.map → chunk-4RJQMOQW.js.map} +0 -0
- /package/dist/{chunk-7XF63THA.js.map → chunk-ASBBGP36.js.map} +0 -0
- /package/dist/{chunk-O7LOZW4R.js.map → chunk-C5TFPMOM.js.map} +0 -0
- /package/dist/{chunk-TUG7IT6H.js.map → chunk-HLEXYTOE.js.map} +0 -0
- /package/dist/{chunk-GXV6UEVY.js.map → chunk-IELOPDTA.js.map} +0 -0
- /package/dist/{chunk-B32YLOYQ.js.map → chunk-JBJZL5PI.js.map} +0 -0
- /package/dist/{chunk-UT333EOT.js.map → chunk-LCOMNQLX.js.map} +0 -0
- /package/dist/{chunk-WJK2EETW.js.map → chunk-NINO3PI7.js.map} +0 -0
- /package/dist/{chunk-PSQKD6ZN.js.map → chunk-PG65AE3I.js.map} +0 -0
- /package/dist/{chunk-BZ2XOEHW.js.map → chunk-QOH45QSE.js.map} +0 -0
- /package/dist/{chunk-Y7ZYOQNB.js.map → chunk-RSMAVO2Z.js.map} +0 -0
- /package/dist/{chunk-GHLGXFNU.js.map → chunk-U6JC3RS2.js.map} +0 -0
- /package/dist/{chunk-N4Z6X5BV.js.map → chunk-WFH52OVQ.js.map} +0 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4LBCUBVLcjs = require('../../chunk-4LBCUBVL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../../chunk-
|
|
13
|
+
var _chunkWJX3ZSOEcjs = require('../../chunk-WJX3ZSOE.cjs');
|
|
14
|
+
require('../../chunk-ZS3YCJYY.cjs');
|
|
15
15
|
require('../../chunk-BOM6MMWB.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkP4SBHO7Ucjs = require('../../chunk-P4SBHO7U.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkN3I53B5Wcjs = require('../../chunk-N3I53B5W.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkUBXEETWQcjs = require('../../chunk-UBXEETWQ.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkQTXDXHMDcjs = require('../../chunk-QTXDXHMD.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkMZAZUSPQcjs = require('../../chunk-MZAZUSPQ.cjs');
|
|
33
33
|
require('../../chunk-NMXL34Z2.cjs');
|
|
34
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-II5GVLTN.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkGETQTNRVcjs = require('../../chunk-GETQTNRV.cjs');
|
|
39
|
+
require('../../chunk-AF4XOURN.cjs');
|
|
40
|
+
require('../../chunk-RKH7DEDF.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkDMXI5D2Qcjs = require('../../chunk-DMXI5D2Q.cjs');
|
|
@@ -53,7 +53,7 @@ var _chunkDMXI5D2Qcjs = require('../../chunk-DMXI5D2Q.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkIBUFFKAKcjs = require('../../chunk-IBUFFKAK.cjs');
|
|
57
57
|
require('../../chunk-GQWM3ECA.cjs');
|
|
58
58
|
require('../../chunk-TON3YCCW.cjs');
|
|
59
59
|
|
|
@@ -75,7 +75,7 @@ require('../../chunk-PTFE5WKP.cjs');
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var
|
|
78
|
+
var _chunkSI77HF4Ucjs = require('../../chunk-SI77HF4U.cjs');
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
@@ -107,7 +107,7 @@ require('../../chunk-XQFFGR6U.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkQNWQQ4RTcjs = require('../../chunk-QNWQQ4RT.cjs');
|
|
111
111
|
require('../../chunk-WLSFBRT5.cjs');
|
|
112
112
|
require('../../chunk-YCKGUQA2.cjs');
|
|
113
113
|
require('../../chunk-63QUMV72.cjs');
|
|
@@ -137,9 +137,9 @@ function RoadmapPage({
|
|
|
137
137
|
belowContent,
|
|
138
138
|
shell
|
|
139
139
|
}) {
|
|
140
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
140
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZAZUSPQcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
141
141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
142
|
-
|
|
142
|
+
_chunk4LBCUBVLcjs.RoadmapView,
|
|
143
143
|
{
|
|
144
144
|
endpoint: roadmapEndpoint,
|
|
145
145
|
initialItems,
|
|
@@ -165,9 +165,9 @@ function ProductReleasesListPage({
|
|
|
165
165
|
belowContent,
|
|
166
166
|
shell
|
|
167
167
|
}) {
|
|
168
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZAZUSPQcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
169
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunk4LBCUBVLcjs.ProductReleasesView,
|
|
171
171
|
{
|
|
172
172
|
endpoint: releasesEndpoint,
|
|
173
173
|
basePath,
|
|
@@ -190,8 +190,8 @@ function DeliveryPage({
|
|
|
190
190
|
belowContent,
|
|
191
191
|
shell
|
|
192
192
|
}) {
|
|
193
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZAZUSPQcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4LBCUBVLcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
195
195
|
belowContent
|
|
196
196
|
] });
|
|
197
197
|
}
|
|
@@ -211,9 +211,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
211
211
|
belowContent,
|
|
212
212
|
shell
|
|
213
213
|
}) {
|
|
214
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
214
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZAZUSPQcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
215
215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
216
|
-
|
|
216
|
+
_chunkGETQTNRVcjs.OnboardingGuidesCatalogView,
|
|
217
217
|
{
|
|
218
218
|
guidesEndpoint,
|
|
219
219
|
sectionsEndpoint,
|
|
@@ -265,7 +265,7 @@ function TrustSection({
|
|
|
265
265
|
style: { scrollMarginTop: _chunkIJUQQTMVcjs.STICKY_HEADER_OFFSET_PX },
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunkSI77HF4Ucjs.SECTION_HEADING_CLASS, children: title }),
|
|
269
269
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
270
270
|
] }),
|
|
271
271
|
children
|
|
@@ -286,18 +286,18 @@ function AiSection({ practices }) {
|
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
}));
|
|
289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows });
|
|
290
290
|
}
|
|
291
291
|
function ComplianceSection({ frameworks }) {
|
|
292
292
|
const rows = frameworks.map((framework) => {
|
|
293
|
-
const entry =
|
|
293
|
+
const entry = _chunkQNWQQ4RTcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
294
294
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
295
295
|
return {
|
|
296
296
|
id: framework.id,
|
|
297
297
|
columns: [
|
|
298
298
|
{
|
|
299
299
|
key: "framework",
|
|
300
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
300
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
301
301
|
value: framework.label,
|
|
302
302
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
303
303
|
wrap: true
|
|
@@ -306,12 +306,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
306
306
|
key: "monitoring",
|
|
307
307
|
width: ACTION_COLUMN,
|
|
308
308
|
align: "right",
|
|
309
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
309
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQNWQQ4RTcjs.StatusBadge, { text: _chunkQNWQQ4RTcjs.trustFrameworkBadge.call(void 0, framework), colorScheme: entry.color, singleLine: true })
|
|
310
310
|
}
|
|
311
311
|
]
|
|
312
312
|
};
|
|
313
313
|
});
|
|
314
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows });
|
|
315
315
|
}
|
|
316
316
|
var CONTROL_ROW_CLASS = "h-14 md:h-20 overflow-hidden";
|
|
317
317
|
function controlRows(controls) {
|
|
@@ -344,22 +344,22 @@ function ControlsListSkeleton() {
|
|
|
344
344
|
{
|
|
345
345
|
key: "control",
|
|
346
346
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Caption, { className: "w-full" })
|
|
349
349
|
] })
|
|
350
350
|
}
|
|
351
351
|
]
|
|
352
352
|
}));
|
|
353
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows });
|
|
354
354
|
}
|
|
355
355
|
function ControlsSection({ endpoint, seed }) {
|
|
356
356
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
357
357
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
358
|
-
const query = _chunkIJUQQTMVcjs.useDebounce.call(void 0,
|
|
359
|
-
const url =
|
|
360
|
-
const seedUrl =
|
|
358
|
+
const query = _chunkIJUQQTMVcjs.useDebounce.call(void 0, _chunkQNWQQ4RTcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkQNWQQ4RTcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
359
|
+
const url = _chunkQNWQQ4RTcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
360
|
+
const seedUrl = _chunkQNWQQ4RTcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
361
361
|
const answer = _chunkDMXI5D2Qcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
362
|
-
const typedQuery =
|
|
362
|
+
const typedQuery = _chunkQNWQQ4RTcjs.normalizeTrustControlQuery.call(void 0, typed);
|
|
363
363
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
364
364
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
365
365
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -378,12 +378,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
378
378
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
379
379
|
let body;
|
|
380
380
|
if (answer.error && !current) {
|
|
381
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
381
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
382
382
|
} else if (!current) {
|
|
383
383
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
384
384
|
} else if (current.controls.length === 0) {
|
|
385
385
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
386
|
-
|
|
386
|
+
_chunkMZAZUSPQcjs.ListEmptyState,
|
|
387
387
|
{
|
|
388
388
|
isFiltered: true,
|
|
389
389
|
filtered: {
|
|
@@ -396,11 +396,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
396
396
|
}
|
|
397
397
|
);
|
|
398
398
|
} else {
|
|
399
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
400
400
|
}
|
|
401
401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
402
402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
|
-
|
|
403
|
+
_chunkIBUFFKAKcjs.TabNavigation,
|
|
404
404
|
{
|
|
405
405
|
tabs,
|
|
406
406
|
activeTab,
|
|
@@ -410,7 +410,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
412
412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
-
|
|
413
|
+
_chunkIBUFFKAKcjs.SearchInput,
|
|
414
414
|
{
|
|
415
415
|
placeholder: "Search controls",
|
|
416
416
|
value: typed,
|
|
@@ -420,7 +420,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
420
420
|
}
|
|
421
421
|
) })
|
|
422
422
|
] }),
|
|
423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
424
424
|
] });
|
|
425
425
|
}
|
|
426
426
|
function DocumentsSection({
|
|
@@ -459,7 +459,7 @@ function DocumentsSection({
|
|
|
459
459
|
]
|
|
460
460
|
};
|
|
461
461
|
});
|
|
462
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
462
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows });
|
|
463
463
|
}
|
|
464
464
|
function DocumentRequestModal({
|
|
465
465
|
open,
|
|
@@ -468,12 +468,12 @@ function DocumentRequestModal({
|
|
|
468
468
|
onClose
|
|
469
469
|
}) {
|
|
470
470
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
471
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSI77HF4Ucjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.ModalTitle, { children: "Request access" }) }),
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
474
474
|
/* @__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." }),
|
|
475
475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
476
|
+
_chunkQTXDXHMDcjs.ContactForm,
|
|
477
477
|
{
|
|
478
478
|
rescue: _chunkXF5TJ4P2cjs.RESCUE_FORMS.trustCenterRequest,
|
|
479
479
|
title: "",
|
|
@@ -491,12 +491,12 @@ function DocumentRequestModal({
|
|
|
491
491
|
] });
|
|
492
492
|
}
|
|
493
493
|
function subprocessorMark({ name, logoUrl }) {
|
|
494
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
495
|
-
const logo =
|
|
496
|
-
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,
|
|
494
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
495
|
+
const logo = _chunkSI77HF4Ucjs.brandLogoForName.call(void 0, name);
|
|
496
|
+
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, _chunkIBUFFKAKcjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
497
497
|
}
|
|
498
498
|
function countryWithFlag(country) {
|
|
499
|
-
const flag =
|
|
499
|
+
const flag = _chunkIBUFFKAKcjs.getFlagFromCountryName.call(void 0, country);
|
|
500
500
|
return flag ? `${flag} ${country}` : country;
|
|
501
501
|
}
|
|
502
502
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -523,11 +523,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
523
523
|
] : []
|
|
524
524
|
]
|
|
525
525
|
}));
|
|
526
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
526
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows });
|
|
527
527
|
}
|
|
528
528
|
function ContactSection({ onContact }) {
|
|
529
529
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
530
|
-
|
|
530
|
+
_chunkIBUFFKAKcjs.StackedRowsPanel,
|
|
531
531
|
{
|
|
532
532
|
rows: [
|
|
533
533
|
{
|
|
@@ -553,11 +553,11 @@ function ContactSection({ onContact }) {
|
|
|
553
553
|
);
|
|
554
554
|
}
|
|
555
555
|
function SkeletonSection({ id, children }) {
|
|
556
|
-
const label = _nullishCoalesce(_optionalChain([
|
|
556
|
+
const label = _nullishCoalesce(_optionalChain([_chunkQNWQQ4RTcjs.TRUST_CENTER_SECTIONS, 'access', _7 => _7.find, 'call', _8 => _8((section) => section.id === id), 'optionalAccess', _9 => _9.label]), () => ( id));
|
|
557
557
|
const lead = TRUST_SECTION_LEADS[id];
|
|
558
558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
559
559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
560
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
560
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkSI77HF4Ucjs.SECTION_HEADING_CLASS, children: label }),
|
|
561
561
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
562
562
|
] }),
|
|
563
563
|
children
|
|
@@ -571,14 +571,14 @@ function skeletonRows(count, shape) {
|
|
|
571
571
|
key: "item",
|
|
572
572
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
573
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
574
|
-
|
|
574
|
+
_chunkSI77HF4Ucjs.UnifiedSkeleton,
|
|
575
575
|
{
|
|
576
576
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
577
577
|
}
|
|
578
578
|
),
|
|
579
579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 md:h-6" }),
|
|
581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
582
582
|
] })
|
|
583
583
|
] })
|
|
584
584
|
},
|
|
@@ -586,17 +586,17 @@ function skeletonRows(count, shape) {
|
|
|
586
586
|
key: "action",
|
|
587
587
|
width: ACTION_COLUMN,
|
|
588
588
|
align: "right",
|
|
589
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
589
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { className: "h-6 w-16 rounded md:h-8" })
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}));
|
|
593
593
|
}
|
|
594
594
|
function ControlsSectionSkeleton() {
|
|
595
595
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
596
|
-
/* @__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,
|
|
596
|
+
/* @__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, _chunkSI77HF4Ucjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 md:h-6" }) }, index)) }),
|
|
597
597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-48" }),
|
|
599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] md:h-12 md:w-80" })
|
|
600
600
|
] }),
|
|
601
601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
602
602
|
] });
|
|
@@ -607,32 +607,32 @@ function SectionRailSkeleton() {
|
|
|
607
607
|
"div",
|
|
608
608
|
{
|
|
609
609
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
610
|
-
style: { height:
|
|
610
|
+
style: { height: _chunkQNWQQ4RTcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
611
611
|
}
|
|
612
612
|
),
|
|
613
|
-
|
|
613
|
+
_chunkQNWQQ4RTcjs.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, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
614
614
|
] }) });
|
|
615
615
|
}
|
|
616
616
|
function TrustCenterSkeleton() {
|
|
617
617
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
618
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
619
619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-44" })
|
|
622
622
|
] }),
|
|
623
623
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] sm:flex-row sm:items-center sm:gap-[var(--spacing-system-sf)]", children: [
|
|
624
624
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-36" })
|
|
627
627
|
] }),
|
|
628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSI77HF4Ucjs.TextSkeleton.Body, { className: "w-44" })
|
|
629
629
|
] })
|
|
630
630
|
] }),
|
|
631
631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
632
632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
633
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
634
634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
636
636
|
] }),
|
|
637
637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
638
638
|
] })
|
|
@@ -651,7 +651,7 @@ function visibleSections(data) {
|
|
|
651
651
|
faq: data.faqs.length > 0,
|
|
652
652
|
contact: true
|
|
653
653
|
};
|
|
654
|
-
return
|
|
654
|
+
return _chunkQNWQQ4RTcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
655
655
|
}
|
|
656
656
|
function controlsSeed(data) {
|
|
657
657
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -667,21 +667,21 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
667
667
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
668
668
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
669
669
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
670
|
-
return
|
|
670
|
+
return _chunkQNWQQ4RTcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
671
671
|
}
|
|
672
672
|
function TrustCenterPage({
|
|
673
|
-
endpoint =
|
|
673
|
+
endpoint = _chunkQNWQQ4RTcjs.TRUST_CENTER_API_PATH,
|
|
674
674
|
initialData,
|
|
675
675
|
shell = true,
|
|
676
676
|
backButton = false,
|
|
677
|
-
title =
|
|
678
|
-
subtitle =
|
|
677
|
+
title = _chunkQNWQQ4RTcjs.TRUST_CENTER_TITLE,
|
|
678
|
+
subtitle = _chunkQNWQQ4RTcjs.TRUST_CENTER_TAGLINE
|
|
679
679
|
}) {
|
|
680
680
|
const { data, isLoading, error, reload } = _chunkDMXI5D2Qcjs.useSelfFetch.call(void 0, endpoint, {
|
|
681
681
|
initialData,
|
|
682
|
-
revalidateOnVisibleAfterMs:
|
|
682
|
+
revalidateOnVisibleAfterMs: _chunkQNWQQ4RTcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
683
683
|
});
|
|
684
|
-
const hydrated =
|
|
684
|
+
const hydrated = _chunkSI77HF4Ucjs.useIsHydrated.call(void 0, );
|
|
685
685
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
686
686
|
if (clock.data !== data) {
|
|
687
687
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -697,7 +697,7 @@ function TrustCenterPage({
|
|
|
697
697
|
documentTitle: null
|
|
698
698
|
});
|
|
699
699
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
700
|
-
const { activeSection, handleSectionClick } =
|
|
700
|
+
const { activeSection, handleSectionClick } = _chunkWJX3ZSOEcjs.useScrollSpy.call(void 0, sections, {
|
|
701
701
|
syncHash: true,
|
|
702
702
|
headerOffset: _chunkIJUQQTMVcjs.STICKY_HEADER_OFFSET_PX
|
|
703
703
|
});
|
|
@@ -727,7 +727,7 @@ function TrustCenterPage({
|
|
|
727
727
|
DocumentsSection,
|
|
728
728
|
{
|
|
729
729
|
documents: d.documents,
|
|
730
|
-
documentUrl: (document) =>
|
|
730
|
+
documentUrl: (document) => _chunkQNWQQ4RTcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
731
731
|
onRequest: openRequest
|
|
732
732
|
}
|
|
733
733
|
)
|
|
@@ -736,24 +736,24 @@ function TrustCenterPage({
|
|
|
736
736
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
737
737
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
738
738
|
},
|
|
739
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
739
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP4SBHO7Ucjs.FaqSection, { initialFaqs: d.faqs, heading: null }) },
|
|
740
740
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
741
741
|
};
|
|
742
742
|
let body;
|
|
743
743
|
if (error && !data) {
|
|
744
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
745
745
|
} else if (!data) {
|
|
746
746
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
747
747
|
} else {
|
|
748
748
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
749
749
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
750
750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
752
752
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
753
|
-
|
|
753
|
+
_chunkIBUFFKAKcjs.DataAttribution,
|
|
754
754
|
{
|
|
755
755
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
756
|
-
|
|
756
|
+
_chunkIBUFFKAKcjs.EntityImage,
|
|
757
757
|
{
|
|
758
758
|
src: data.dataSource.logoUrl,
|
|
759
759
|
alt: data.dataSource.name,
|
|
@@ -772,7 +772,7 @@ function TrustCenterPage({
|
|
|
772
772
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
773
773
|
}) }),
|
|
774
774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkIJUQQTMVcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
775
|
-
|
|
775
|
+
_chunkN3I53B5Wcjs.StickySectionNav,
|
|
776
776
|
{
|
|
777
777
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
778
778
|
activeSection,
|
|
@@ -804,7 +804,7 @@ function TrustCenterChrome({
|
|
|
804
804
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
805
805
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
806
806
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
807
|
-
|
|
807
|
+
_chunkIBUFFKAKcjs.PageLayout,
|
|
808
808
|
{
|
|
809
809
|
title,
|
|
810
810
|
subtitle,
|
|
@@ -816,13 +816,13 @@ function TrustCenterChrome({
|
|
|
816
816
|
children
|
|
817
817
|
}
|
|
818
818
|
);
|
|
819
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
819
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBUFFKAKcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
820
820
|
}
|
|
821
821
|
function TrustCenterPageSkeleton({
|
|
822
822
|
shell = true,
|
|
823
823
|
backButton = false,
|
|
824
|
-
title =
|
|
825
|
-
subtitle =
|
|
824
|
+
title = _chunkQNWQQ4RTcjs.TRUST_CENTER_TITLE,
|
|
825
|
+
subtitle = _chunkQNWQQ4RTcjs.TRUST_CENTER_TAGLINE
|
|
826
826
|
}) {
|
|
827
827
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
828
828
|
}
|
|
@@ -839,5 +839,5 @@ function TrustCenterPageSkeleton({
|
|
|
839
839
|
|
|
840
840
|
|
|
841
841
|
|
|
842
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
842
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkWJX3ZSOEcjs.DocsHubPage; exports.FaqDocumentPage = _chunkP4SBHO7Ucjs.FaqDocumentPage; exports.HelpCenterList = _chunkUBXEETWQcjs.HelpCenterList; exports.LegalDocumentPage = _chunk4LBCUBVLcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkGETQTNRVcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunk4LBCUBVLcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|
|
843
843
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -6,38 +6,38 @@ import {
|
|
|
6
6
|
ProductReleasesView,
|
|
7
7
|
ReleaseDetailPage,
|
|
8
8
|
RoadmapView
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-ASBBGP36.js";
|
|
10
10
|
import {
|
|
11
11
|
DocsHubPage,
|
|
12
12
|
useScrollSpy
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-WFH52OVQ.js";
|
|
14
|
+
import "../../chunk-3NIZ2VLQ.js";
|
|
15
15
|
import "../../chunk-RF2EYX3B.js";
|
|
16
16
|
import {
|
|
17
17
|
FaqDocumentPage,
|
|
18
18
|
FaqSection
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-PG65AE3I.js";
|
|
20
20
|
import {
|
|
21
21
|
StickySectionNav
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-NINO3PI7.js";
|
|
23
23
|
import {
|
|
24
24
|
HelpCenterList
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-4RJQMOQW.js";
|
|
26
26
|
import {
|
|
27
27
|
ContactForm
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-QOH45QSE.js";
|
|
29
29
|
import {
|
|
30
30
|
DevSectionPage,
|
|
31
31
|
ListEmptyState
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-U6JC3RS2.js";
|
|
33
33
|
import "../../chunk-Q76YVNCQ.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-IELOPDTA.js";
|
|
35
35
|
import {
|
|
36
36
|
OnboardingGuideDetailView,
|
|
37
37
|
OnboardingGuidesCatalogView
|
|
38
|
-
} from "../../chunk-
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-2G2CB7ZZ.js";
|
|
39
|
+
import "../../chunk-RSMAVO2Z.js";
|
|
40
|
+
import "../../chunk-JBJZL5PI.js";
|
|
41
41
|
import {
|
|
42
42
|
useSelfFetch
|
|
43
43
|
} from "../../chunk-DLRE5Y3G.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
StatusIndicator,
|
|
54
54
|
TabNavigation,
|
|
55
55
|
getFlagFromCountryName
|
|
56
|
-
} from "../../chunk-
|
|
56
|
+
} from "../../chunk-MHTB67ZH.js";
|
|
57
57
|
import "../../chunk-L2SLFCXP.js";
|
|
58
58
|
import "../../chunk-BJXDHKUX.js";
|
|
59
59
|
import {
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
UnifiedSkeleton,
|
|
76
76
|
brandLogoForName,
|
|
77
77
|
useIsHydrated
|
|
78
|
-
} from "../../chunk-
|
|
78
|
+
} from "../../chunk-YPXXXX6R.js";
|
|
79
79
|
import {
|
|
80
80
|
STICKY_HEADER_OFFSET_PX,
|
|
81
81
|
useDebounce
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
trustCenterDocumentUrl,
|
|
108
108
|
trustFrameworkBadge,
|
|
109
109
|
trustFrameworkMonitoringEntry
|
|
110
|
-
} from "../../chunk-
|
|
110
|
+
} from "../../chunk-22RSJ57Z.js";
|
|
111
111
|
import "../../chunk-MDKCTSDS.js";
|
|
112
112
|
import "../../chunk-2KILTCND.js";
|
|
113
113
|
import "../../chunk-OTX6XNSA.js";
|