@flamingo-stack/openframe-frontend-core 0.0.710 → 0.0.711
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-36BCTE7D.js → chunk-2JTGK64G.js} +4 -4
- package/dist/{chunk-YBUT4AMG.cjs → chunk-3UNL26CD.cjs} +2 -2
- package/dist/{chunk-4L6XCMOU.js → chunk-5HB7FLCV.js} +1 -1
- package/dist/{chunk-6IW7TWPV.js → chunk-62KNLDXK.js} +1 -1
- package/dist/{chunk-AOWDNSTM.cjs → chunk-6AMIRXKM.cjs} +40 -40
- package/dist/{chunk-LNW45N2C.js → chunk-6GLQLTJI.js} +5 -5
- package/dist/{chunk-QAOFMK2A.cjs → chunk-6K7QZDA6.cjs} +3 -3
- package/dist/{chunk-SEXWHIMS.cjs → chunk-7AM6C6XH.cjs} +42 -37
- package/dist/{chunk-CNWOMQQJ.js → chunk-AGDVEUVL.js} +1 -1
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-C4HRRB3V.cjs} +9 -9
- package/dist/{chunk-NSGXARGJ.cjs → chunk-CDM7OSFB.cjs} +70 -70
- package/dist/{chunk-4UM2ETLM.js → chunk-EQWD4IJE.js} +2 -2
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-EX6GGCAC.cjs} +9 -9
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-FEMAJES4.cjs} +20 -20
- package/dist/{chunk-P42V6N34.cjs → chunk-FYOKS5RI.cjs} +313 -313
- package/dist/{chunk-B73373AG.cjs → chunk-G47AP6LX.cjs} +20 -20
- package/dist/{chunk-I3ST4PLM.js → chunk-IFWLJ66M.js} +1 -1
- package/dist/{chunk-F5FF4DME.js → chunk-K4PTDK34.js} +3 -3
- package/dist/{chunk-ZCLBYT2V.cjs → chunk-K6Y5NX6L.cjs} +24 -24
- package/dist/{chunk-6YKAT7NV.js → chunk-NF7GNGYG.js} +2 -2
- package/dist/{chunk-2G7UYK35.cjs → chunk-P6G3JZNC.cjs} +32 -32
- package/dist/{chunk-JRU2CXLB.cjs → chunk-PRX7HVLE.cjs} +2 -2
- package/dist/{chunk-CZSZSDD4.js → chunk-Q6B35Y7O.js} +4 -4
- package/dist/{chunk-2KXTOP6G.cjs → chunk-QA6TROME.cjs} +14 -14
- package/dist/{chunk-LFFB6EMB.js → chunk-QGZPZ3RL.js} +2 -2
- package/dist/{chunk-PO33GZVY.js → chunk-SMAAV3HL.js} +8 -3
- package/dist/{chunk-DA5UDTLG.js → chunk-TKZXHVBG.js} +2 -2
- package/dist/{chunk-SS5MBHDP.js → chunk-VMMHJFHG.js} +2 -2
- package/dist/{chunk-MR3A4MZV.js → chunk-VWFZRMQR.js} +1 -1
- package/dist/{chunk-TDYIREDJ.js → chunk-WJUIXU6Y.js} +4 -4
- package/dist/{chunk-2RNB5DTN.cjs → chunk-XWEBHS7O.cjs} +7 -7
- package/dist/{chunk-OJLR5MEO.cjs → chunk-YD4LJZV4.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +4 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/component.types.d.ts +4 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +12 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +70 -70
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +36 -36
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +2 -0
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +22 -4
- package/src/components/chat/hooks/use-unified-chat.ts +1 -0
- package/src/components/chat/types/component.types.ts +4 -0
- package/src/components/chat/types/unified-chat-state.types.ts +13 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6AMIRXKMcjs = require('../../chunk-6AMIRXKM.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../../chunk-
|
|
13
|
+
var _chunkP6G3JZNCcjs = require('../../chunk-P6G3JZNC.cjs');
|
|
14
|
+
require('../../chunk-6K7QZDA6.cjs');
|
|
15
15
|
require('../../chunk-Y2GSOUCS.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkXWEBHS7Ocjs = require('../../chunk-XWEBHS7O.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkPRX7HVLEcjs = require('../../chunk-PRX7HVLE.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkCDM7OSFBcjs = require('../../chunk-CDM7OSFB.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkFEMAJES4cjs = require('../../chunk-FEMAJES4.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkC4HRRB3Vcjs = require('../../chunk-C4HRRB3V.cjs');
|
|
33
33
|
require('../../chunk-PLYEKV3N.cjs');
|
|
34
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-YD4LJZV4.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkG47AP6LXcjs = require('../../chunk-G47AP6LX.cjs');
|
|
39
|
+
require('../../chunk-3UNL26CD.cjs');
|
|
40
|
+
require('../../chunk-EX6GGCAC.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkUDFRUKLCcjs = require('../../chunk-UDFRUKLC.cjs');
|
|
@@ -53,7 +53,7 @@ var _chunkUDFRUKLCcjs = require('../../chunk-UDFRUKLC.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkFYOKS5RIcjs = require('../../chunk-FYOKS5RI.cjs');
|
|
57
57
|
require('../../chunk-HQQE74RO.cjs');
|
|
58
58
|
require('../../chunk-DEY6XXGO.cjs');
|
|
59
59
|
|
|
@@ -73,7 +73,7 @@ require('../../chunk-LX22Y43B.cjs');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var
|
|
76
|
+
var _chunk7AM6C6XHcjs = require('../../chunk-7AM6C6XH.cjs');
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
@@ -136,9 +136,9 @@ function RoadmapPage({
|
|
|
136
136
|
belowContent,
|
|
137
137
|
shell
|
|
138
138
|
}) {
|
|
139
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
139
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC4HRRB3Vcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
140
140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
141
|
-
|
|
141
|
+
_chunk6AMIRXKMcjs.RoadmapView,
|
|
142
142
|
{
|
|
143
143
|
endpoint: roadmapEndpoint,
|
|
144
144
|
initialItems,
|
|
@@ -164,9 +164,9 @@ function ProductReleasesListPage({
|
|
|
164
164
|
belowContent,
|
|
165
165
|
shell
|
|
166
166
|
}) {
|
|
167
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
167
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC4HRRB3Vcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
168
168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunk6AMIRXKMcjs.ProductReleasesView,
|
|
170
170
|
{
|
|
171
171
|
endpoint: releasesEndpoint,
|
|
172
172
|
basePath,
|
|
@@ -189,8 +189,8 @@ function DeliveryPage({
|
|
|
189
189
|
belowContent,
|
|
190
190
|
shell
|
|
191
191
|
}) {
|
|
192
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC4HRRB3Vcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6AMIRXKMcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
194
194
|
belowContent
|
|
195
195
|
] });
|
|
196
196
|
}
|
|
@@ -210,9 +210,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
210
210
|
belowContent,
|
|
211
211
|
shell
|
|
212
212
|
}) {
|
|
213
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
213
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC4HRRB3Vcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
214
214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
-
|
|
215
|
+
_chunkG47AP6LXcjs.OnboardingGuidesCatalogView,
|
|
216
216
|
{
|
|
217
217
|
guidesEndpoint,
|
|
218
218
|
sectionsEndpoint,
|
|
@@ -285,7 +285,7 @@ function AiSection({ practices }) {
|
|
|
285
285
|
}
|
|
286
286
|
]
|
|
287
287
|
}));
|
|
288
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
288
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows });
|
|
289
289
|
}
|
|
290
290
|
function ComplianceSection({ frameworks }) {
|
|
291
291
|
const rows = frameworks.map((framework) => {
|
|
@@ -296,7 +296,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
296
296
|
columns: [
|
|
297
297
|
{
|
|
298
298
|
key: "framework",
|
|
299
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
299
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
300
300
|
value: framework.label,
|
|
301
301
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
302
302
|
wrap: true
|
|
@@ -310,7 +310,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
310
310
|
]
|
|
311
311
|
};
|
|
312
312
|
});
|
|
313
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
313
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows });
|
|
314
314
|
}
|
|
315
315
|
var CONTROL_ROW_CLASS = "h-14 content-md:h-20 overflow-hidden";
|
|
316
316
|
function controlRows(controls) {
|
|
@@ -343,13 +343,13 @@ function ControlsListSkeleton() {
|
|
|
343
343
|
{
|
|
344
344
|
key: "control",
|
|
345
345
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
348
348
|
] })
|
|
349
349
|
}
|
|
350
350
|
]
|
|
351
351
|
}));
|
|
352
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows });
|
|
353
353
|
}
|
|
354
354
|
function ControlsSection({ endpoint, seed }) {
|
|
355
355
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
@@ -377,12 +377,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
377
377
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
378
378
|
let body;
|
|
379
379
|
if (answer.error && !current) {
|
|
380
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
380
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
381
381
|
} else if (!current) {
|
|
382
382
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
383
383
|
} else if (current.controls.length === 0) {
|
|
384
384
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
385
|
-
|
|
385
|
+
_chunkC4HRRB3Vcjs.ListEmptyState,
|
|
386
386
|
{
|
|
387
387
|
isFiltered: true,
|
|
388
388
|
filtered: {
|
|
@@ -395,11 +395,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
395
395
|
}
|
|
396
396
|
);
|
|
397
397
|
} else {
|
|
398
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
398
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
399
399
|
}
|
|
400
400
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
401
401
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
402
|
-
|
|
402
|
+
_chunkFYOKS5RIcjs.TabNavigation,
|
|
403
403
|
{
|
|
404
404
|
tabs,
|
|
405
405
|
activeTab,
|
|
@@ -409,7 +409,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
409
409
|
/* @__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: [
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
412
|
-
|
|
412
|
+
_chunkFYOKS5RIcjs.SearchInput,
|
|
413
413
|
{
|
|
414
414
|
placeholder: "Search controls",
|
|
415
415
|
value: typed,
|
|
@@ -419,7 +419,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
419
419
|
}
|
|
420
420
|
) })
|
|
421
421
|
] }),
|
|
422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
423
423
|
] });
|
|
424
424
|
}
|
|
425
425
|
function DocumentsSection({
|
|
@@ -458,7 +458,7 @@ function DocumentsSection({
|
|
|
458
458
|
]
|
|
459
459
|
};
|
|
460
460
|
});
|
|
461
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
461
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows });
|
|
462
462
|
}
|
|
463
463
|
function DocumentRequestModal({
|
|
464
464
|
open,
|
|
@@ -467,12 +467,12 @@ function DocumentRequestModal({
|
|
|
467
467
|
onClose
|
|
468
468
|
}) {
|
|
469
469
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
470
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
470
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7AM6C6XHcjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.ModalTitle, { children: "Request access" }) }),
|
|
472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
473
473
|
/* @__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." }),
|
|
474
474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
475
|
-
|
|
475
|
+
_chunkFEMAJES4cjs.ContactForm,
|
|
476
476
|
{
|
|
477
477
|
rescue: _chunkWCVZCGK5cjs.RESCUE_FORMS.trustCenterRequest,
|
|
478
478
|
title: "",
|
|
@@ -490,12 +490,12 @@ function DocumentRequestModal({
|
|
|
490
490
|
] });
|
|
491
491
|
}
|
|
492
492
|
function subprocessorMark({ name, logoUrl }) {
|
|
493
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
493
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
494
494
|
const logo = _chunk6NTPY5QAcjs.brandLogoForName.call(void 0, name);
|
|
495
|
-
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,
|
|
495
|
+
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, _chunkFYOKS5RIcjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
496
496
|
}
|
|
497
497
|
function countryWithFlag(country) {
|
|
498
|
-
const flag =
|
|
498
|
+
const flag = _chunkFYOKS5RIcjs.getFlagFromCountryName.call(void 0, country);
|
|
499
499
|
return flag ? `${flag} ${country}` : country;
|
|
500
500
|
}
|
|
501
501
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -522,11 +522,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
522
522
|
] : []
|
|
523
523
|
]
|
|
524
524
|
}));
|
|
525
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
525
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows });
|
|
526
526
|
}
|
|
527
527
|
function ContactSection({ onContact }) {
|
|
528
528
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
-
|
|
529
|
+
_chunkFYOKS5RIcjs.StackedRowsPanel,
|
|
530
530
|
{
|
|
531
531
|
rows: [
|
|
532
532
|
{
|
|
@@ -570,14 +570,14 @@ function skeletonRows(count, shape) {
|
|
|
570
570
|
key: "item",
|
|
571
571
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
572
572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
573
|
-
|
|
573
|
+
_chunk7AM6C6XHcjs.UnifiedSkeleton,
|
|
574
574
|
{
|
|
575
575
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
576
576
|
}
|
|
577
577
|
),
|
|
578
578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 content-md:h-6" }),
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
581
581
|
] })
|
|
582
582
|
] })
|
|
583
583
|
},
|
|
@@ -585,17 +585,17 @@ function skeletonRows(count, shape) {
|
|
|
585
585
|
key: "action",
|
|
586
586
|
width: ACTION_COLUMN,
|
|
587
587
|
align: "right",
|
|
588
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
588
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded content-md:h-8" })
|
|
589
589
|
}
|
|
590
590
|
]
|
|
591
591
|
}));
|
|
592
592
|
}
|
|
593
593
|
function ControlsSectionSkeleton() {
|
|
594
594
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
595
|
-
/* @__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,
|
|
595
|
+
/* @__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, _chunk7AM6C6XHcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 content-md:h-6" }) }, index)) }),
|
|
596
596
|
/* @__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: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] content-md:h-12 content-md:w-80" })
|
|
599
599
|
] }),
|
|
600
600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
601
601
|
] });
|
|
@@ -609,29 +609,29 @@ function SectionRailSkeleton() {
|
|
|
609
609
|
style: { height: _chunk6NTPY5QAcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
610
610
|
}
|
|
611
611
|
),
|
|
612
|
-
_chunk6NTPY5QAcjs.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,
|
|
612
|
+
_chunk6NTPY5QAcjs.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, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
613
613
|
] }) });
|
|
614
614
|
}
|
|
615
615
|
function TrustCenterSkeleton() {
|
|
616
616
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
617
617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
618
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-44" })
|
|
621
621
|
] }),
|
|
622
622
|
/* @__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: [
|
|
623
623
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-36" })
|
|
626
626
|
] }),
|
|
627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7AM6C6XHcjs.TextSkeleton.Body, { className: "w-44" })
|
|
628
628
|
] })
|
|
629
629
|
] }),
|
|
630
630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
631
631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
633
633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
635
635
|
] }),
|
|
636
636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
637
637
|
] })
|
|
@@ -680,7 +680,7 @@ function TrustCenterPage({
|
|
|
680
680
|
initialData,
|
|
681
681
|
revalidateOnVisibleAfterMs: _chunk6NTPY5QAcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
682
682
|
});
|
|
683
|
-
const hydrated =
|
|
683
|
+
const hydrated = _chunk7AM6C6XHcjs.useIsHydrated.call(void 0, );
|
|
684
684
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
685
685
|
if (clock.data !== data) {
|
|
686
686
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -696,7 +696,7 @@ function TrustCenterPage({
|
|
|
696
696
|
documentTitle: null
|
|
697
697
|
});
|
|
698
698
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
699
|
-
const { activeSection, handleSectionClick } =
|
|
699
|
+
const { activeSection, handleSectionClick } = _chunkP6G3JZNCcjs.useScrollSpy.call(void 0, sections, {
|
|
700
700
|
syncHash: true,
|
|
701
701
|
headerOffset: _chunkUVTD52MDcjs.STICKY_HEADER_OFFSET_PX
|
|
702
702
|
});
|
|
@@ -735,24 +735,24 @@ function TrustCenterPage({
|
|
|
735
735
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
736
736
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
737
737
|
},
|
|
738
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
738
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXWEBHS7Ocjs.FaqSection, { initialFaqs: d.faqs, heading: null }) },
|
|
739
739
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
740
740
|
};
|
|
741
741
|
let body;
|
|
742
742
|
if (error && !data) {
|
|
743
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
743
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
744
744
|
} else if (!data) {
|
|
745
745
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
746
746
|
} else {
|
|
747
747
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
748
748
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
749
749
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
751
751
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
752
|
-
|
|
752
|
+
_chunkFYOKS5RIcjs.DataAttribution,
|
|
753
753
|
{
|
|
754
754
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
755
|
-
|
|
755
|
+
_chunkFYOKS5RIcjs.EntityImage,
|
|
756
756
|
{
|
|
757
757
|
src: data.dataSource.logoUrl,
|
|
758
758
|
alt: data.dataSource.name,
|
|
@@ -771,7 +771,7 @@ function TrustCenterPage({
|
|
|
771
771
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
772
772
|
}) }),
|
|
773
773
|
/* @__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: _chunkUVTD52MDcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
774
|
-
|
|
774
|
+
_chunkPRX7HVLEcjs.StickySectionNav,
|
|
775
775
|
{
|
|
776
776
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
777
777
|
activeSection,
|
|
@@ -803,7 +803,7 @@ function TrustCenterChrome({
|
|
|
803
803
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
804
804
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
805
805
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
806
|
-
|
|
806
|
+
_chunkFYOKS5RIcjs.PageLayout,
|
|
807
807
|
{
|
|
808
808
|
title,
|
|
809
809
|
subtitle,
|
|
@@ -815,7 +815,7 @@ function TrustCenterChrome({
|
|
|
815
815
|
children
|
|
816
816
|
}
|
|
817
817
|
);
|
|
818
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
818
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYOKS5RIcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
819
819
|
}
|
|
820
820
|
function TrustCenterPageSkeleton({
|
|
821
821
|
shell = true,
|
|
@@ -838,4 +838,4 @@ function TrustCenterPageSkeleton({
|
|
|
838
838
|
|
|
839
839
|
|
|
840
840
|
|
|
841
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
841
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkP6G3JZNCcjs.DocsHubPage; exports.FaqDocumentPage = _chunkXWEBHS7Ocjs.FaqDocumentPage; exports.HelpCenterList = _chunkCDM7OSFBcjs.HelpCenterList; exports.LegalDocumentPage = _chunk6AMIRXKMcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkG47AP6LXcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunk6AMIRXKMcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|
|
@@ -6,38 +6,38 @@ import {
|
|
|
6
6
|
ProductReleasesView,
|
|
7
7
|
ReleaseDetailPage,
|
|
8
8
|
RoadmapView
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-WJUIXU6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
DocsHubPage,
|
|
12
12
|
useScrollSpy
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-Q6B35Y7O.js";
|
|
14
|
+
import "../../chunk-62KNLDXK.js";
|
|
15
15
|
import "../../chunk-JPG7OHEG.js";
|
|
16
16
|
import {
|
|
17
17
|
FaqDocumentPage,
|
|
18
18
|
FaqSection
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-EQWD4IJE.js";
|
|
20
20
|
import {
|
|
21
21
|
StickySectionNav
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-AGDVEUVL.js";
|
|
23
23
|
import {
|
|
24
24
|
HelpCenterList
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-6GLQLTJI.js";
|
|
26
26
|
import {
|
|
27
27
|
ContactForm
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-VMMHJFHG.js";
|
|
29
29
|
import {
|
|
30
30
|
DevSectionPage,
|
|
31
31
|
ListEmptyState
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-VWFZRMQR.js";
|
|
33
33
|
import "../../chunk-F57ECE2I.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-NF7GNGYG.js";
|
|
35
35
|
import {
|
|
36
36
|
OnboardingGuideDetailView,
|
|
37
37
|
OnboardingGuidesCatalogView
|
|
38
|
-
} from "../../chunk-
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-2JTGK64G.js";
|
|
39
|
+
import "../../chunk-IFWLJ66M.js";
|
|
40
|
+
import "../../chunk-TKZXHVBG.js";
|
|
41
41
|
import {
|
|
42
42
|
useSelfFetch
|
|
43
43
|
} from "../../chunk-4IBPRIQH.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
StatusIndicator,
|
|
54
54
|
TabNavigation,
|
|
55
55
|
getFlagFromCountryName
|
|
56
|
-
} from "../../chunk-
|
|
56
|
+
} from "../../chunk-5HB7FLCV.js";
|
|
57
57
|
import "../../chunk-LQYXMEYF.js";
|
|
58
58
|
import "../../chunk-4JPLYOS6.js";
|
|
59
59
|
import {
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
TextSkeleton,
|
|
74
74
|
UnifiedSkeleton,
|
|
75
75
|
useIsHydrated
|
|
76
|
-
} from "../../chunk-
|
|
76
|
+
} from "../../chunk-SMAAV3HL.js";
|
|
77
77
|
import {
|
|
78
78
|
STICKY_HEADER_OFFSET_PX,
|
|
79
79
|
useDebounce
|