@scbt-ecom/ui 0.20.0 → 0.21.0
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/{CustomLink-BZ2X3A56.js → CustomLink-BHI03NwX.js} +39 -39
- package/dist/CustomLink-BHI03NwX.js.map +1 -0
- package/dist/shared/ui/badge/Badge.d.ts +6 -0
- package/dist/shared/ui/badge/index.d.ts +1 -0
- package/dist/shared/ui/brandLogos/index.d.ts +1 -0
- package/dist/shared/ui/breadcrumbs/index.d.ts +1 -0
- package/dist/shared/ui/buttonIcon/index.d.ts +1 -0
- package/dist/shared/ui/{CustomLink.d.ts → customLink/CustomLink.d.ts} +1 -1
- package/dist/shared/ui/customLink/index.d.ts +1 -0
- package/dist/shared/ui/document/index.d.ts +1 -0
- package/dist/shared/ui/{FloatButton.d.ts → floatButton/FloatButton.d.ts} +1 -1
- package/dist/shared/ui/floatButton/index.d.ts +1 -0
- package/dist/shared/ui/formElements/controlled/index.d.ts +17 -0
- package/dist/shared/ui/formElements/controlled/radio/RadioGroupControl.d.ts +28 -0
- package/dist/shared/ui/formElements/controlled/radio/index.d.ts +1 -0
- package/dist/shared/ui/formElements/radioControl/RadioControl.d.ts +3 -0
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +78 -0
- package/dist/shared/ui/formElements/uncontrolled/maskInput/MaskInput.d.ts +2 -3
- package/dist/shared/ui/formElements/uncontrolled/radio/RadioGroup.d.ts +51 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/index.d.ts +2 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.d.ts +36 -0
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/index.d.ts +1 -0
- package/dist/shared/ui/heading/index.d.ts +1 -0
- package/dist/shared/ui/hint/index.d.ts +1 -0
- package/dist/shared/ui/index.d.ts +25 -25
- package/dist/shared/ui/{KeyboardShortcuts.d.ts → keyboardShortcuts/KeyboardShortcuts.d.ts} +4 -4
- package/dist/shared/ui/keyboardShortcuts/index.d.ts +1 -0
- package/dist/shared/ui/ligal/index.d.ts +1 -0
- package/dist/shared/ui/{Loader.d.ts → loader/Loader.d.ts} +5 -5
- package/dist/shared/ui/loader/index.d.ts +1 -0
- package/dist/shared/ui/modal/Modal.d.ts +7 -4
- package/dist/shared/ui/modal/ui/ModalHeader.d.ts +6 -8
- package/dist/shared/ui/phoneView/index.d.ts +1 -0
- package/dist/shared/ui/{Popover.d.ts → popover/Popover.d.ts} +7 -7
- package/dist/shared/ui/popover/index.d.ts +1 -0
- package/dist/shared/ui/{ProgressBar.d.ts → progressBar/ProgressBar.d.ts} +7 -7
- package/dist/shared/ui/progressBar/index.d.ts +1 -0
- package/dist/shared/ui/responsiveContainer/index.d.ts +1 -0
- package/dist/shared/ui/section/index.d.ts +1 -0
- package/dist/shared/ui/skeleton/index.d.ts +1 -0
- package/dist/shared/ui/tabSwitcher/TabsSwitcher.d.ts +9 -0
- package/dist/shared/ui/tabSwitcher/index.d.ts +2 -0
- package/dist/shared/ui/tabSwitcher/model/types.d.ts +23 -0
- package/dist/shared/ui/tabSwitcher/ui/TabContent.d.ts +10 -0
- package/dist/ui.js +4932 -4798
- package/dist/ui.js.map +1 -1
- package/dist/useDevice-L83kSsN7.js.map +1 -1
- package/dist/widget.js +31 -31
- package/dist/widget.js.map +1 -1
- package/dist/widgets/authProvider/model/types.d.ts +5 -10
- package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +5 -4
- package/dist/widgets/authProvider/ui/ui/Links.d.ts +6 -5
- package/dist/widgets/stepper/Stepper.d.ts +2 -1
- package/package.json +1 -1
- package/dist/CustomLink-BZ2X3A56.js.map +0 -1
- package/dist/shared/hooks/useDevice/index.d.ts +0 -1
- package/dist/shared/ui/Badge.d.ts +0 -6
- package/dist/shared/ui/TabsSwitcher.d.ts +0 -35
- /package/dist/shared/hooks/{useDevice/useDevice.d.ts → useDevice.d.ts} +0 -0
- /package/dist/shared/ui/{brandLogos.d.ts → brandLogos/BrandLogos.d.ts} +0 -0
- /package/dist/shared/ui/{Breadcrumbs.d.ts → breadcrumbs/Breadcrumbs.d.ts} +0 -0
- /package/dist/shared/ui/{ButtonIcon.d.ts → buttonIcon/ButtonIcon.d.ts} +0 -0
- /package/dist/shared/ui/{Document.d.ts → document/Document.d.ts} +0 -0
- /package/dist/shared/ui/{Heading.d.ts → heading/Heading.d.ts} +0 -0
- /package/dist/shared/ui/{Hint.d.ts → hint/Hint.d.ts} +0 -0
- /package/dist/shared/ui/{Ligal.d.ts → ligal/Ligal.d.ts} +0 -0
- /package/dist/shared/ui/{PhoneView.d.ts → phoneView/PhoneView.d.ts} +0 -0
- /package/dist/shared/ui/{ResponsiveContainer.d.ts → responsiveContainer/ResponsiveContainer.d.ts} +0 -0
- /package/dist/shared/ui/{Section.d.ts → section/Section.d.ts} +0 -0
- /package/dist/shared/ui/{Skeleton.d.ts → skeleton/Skeleton.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDevice-L83kSsN7.js","sources":["../lib/shared/hooks/useDevice
|
|
1
|
+
{"version":3,"file":"useDevice-L83kSsN7.js","sources":["../lib/shared/hooks/useDevice.ts"],"sourcesContent":["'use client'\nimport { useCallback, useSyncExternalStore } from 'react'\n\nconst getServerSnapshot = () => false\n\nexport const useDevice = () => {\n const isMobileQuery = '(max-width: 1187px)'\n const isDesktopQuery = '(min-width: 1188px)'\n\n const subscribeMobile = useCallback(\n (callback: () => void) => {\n const matchMedia = globalThis.matchMedia(isMobileQuery)\n matchMedia.addEventListener('change', callback)\n return () => {\n matchMedia.removeEventListener('change', callback)\n }\n },\n [isMobileQuery]\n )\n\n const subscribeDesktop = useCallback(\n (callback: () => void) => {\n const matchMedia = globalThis.matchMedia(isDesktopQuery)\n matchMedia.addEventListener('change', callback)\n return () => {\n matchMedia.removeEventListener('change', callback)\n }\n },\n [isDesktopQuery]\n )\n\n const getSnapshotMobile = () => globalThis.matchMedia(isMobileQuery).matches\n const getSnapshotDesktop = () => globalThis.matchMedia(isDesktopQuery).matches\n\n return {\n isMobile: useSyncExternalStore(subscribeMobile, getSnapshotMobile, getServerSnapshot),\n isDesktop: useSyncExternalStore(subscribeDesktop, getSnapshotDesktop, getServerSnapshot)\n }\n}\n"],"names":["getServerSnapshot","useDevice","isMobileQuery","isDesktopQuery","subscribeMobile","useCallback","callback","matchMedia","subscribeDesktop","getSnapshotMobile","getSnapshotDesktop","useSyncExternalStore"],"mappings":";AAGA,MAAMA,IAAoB,MAAM,IAEnBC,IAAY,MAAM;AAC7B,QAAMC,IAAgB,uBAChBC,IAAiB,uBAEjBC,IAAkBC;AAAA,IACtB,CAACC,MAAyB;AAClB,YAAAC,IAAa,WAAW,WAAWL,CAAa;AAC3C,aAAAK,EAAA,iBAAiB,UAAUD,CAAQ,GACvC,MAAM;AACA,QAAAC,EAAA,oBAAoB,UAAUD,CAAQ;AAAA,MACnD;AAAA,IACF;AAAA,IACA,CAACJ,CAAa;AAAA,EAChB,GAEMM,IAAmBH;AAAA,IACvB,CAACC,MAAyB;AAClB,YAAAC,IAAa,WAAW,WAAWJ,CAAc;AAC5C,aAAAI,EAAA,iBAAiB,UAAUD,CAAQ,GACvC,MAAM;AACA,QAAAC,EAAA,oBAAoB,UAAUD,CAAQ;AAAA,MACnD;AAAA,IACF;AAAA,IACA,CAACH,CAAc;AAAA,EACjB,GAEMM,IAAoB,MAAM,WAAW,WAAWP,CAAa,EAAE,SAC/DQ,IAAqB,MAAM,WAAW,WAAWP,CAAc,EAAE;AAEhE,SAAA;AAAA,IACL,UAAUQ,EAAqBP,GAAiBK,GAAmBT,CAAiB;AAAA,IACpF,WAAWW,EAAqBH,GAAkBE,GAAoBV,CAAiB;AAAA,EACzF;AACF;"}
|
package/dist/widget.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t, B as g, H as a, c as j, R as k, b as T, P as
|
|
1
|
+
import { j as t, B as g, H as a, c as j, R as k, b as T, P as W, I as u, C as w, S as R, a as V, L as D, d as y, A as E } from "./CustomLink-BHI03NwX.js";
|
|
2
2
|
import { c as i } from "./cn-DIfn7EPB.js";
|
|
3
3
|
import { s as O } from "./scrollToElement-B-reg4jF.js";
|
|
4
4
|
import { u as b } from "./useDevice-L83kSsN7.js";
|
|
@@ -69,7 +69,7 @@ const G = j(
|
|
|
69
69
|
return /* @__PURE__ */ t.jsx(g, { intent: "secondary", size: "sm", ...o.buttonProps, children: "Оформить заявку" });
|
|
70
70
|
case "withPhone":
|
|
71
71
|
const { phone: e, phoneText: d } = o;
|
|
72
|
-
return /* @__PURE__ */ t.jsx(
|
|
72
|
+
return /* @__PURE__ */ t.jsx(W, { phone: e, text: d, ...o.phoneProps });
|
|
73
73
|
default:
|
|
74
74
|
return null;
|
|
75
75
|
}
|
|
@@ -92,7 +92,7 @@ const G = j(
|
|
|
92
92
|
),
|
|
93
93
|
$(o)
|
|
94
94
|
] }) }) });
|
|
95
|
-
},
|
|
95
|
+
}, M = ({ buttonsConfig: o, classes: e, className: d }) => {
|
|
96
96
|
var n;
|
|
97
97
|
const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
|
|
98
98
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -120,7 +120,7 @@ const G = j(
|
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
|
-
},
|
|
123
|
+
}, q = ({
|
|
124
124
|
headTitle: o,
|
|
125
125
|
subtitle: e,
|
|
126
126
|
buttonsConfig: d,
|
|
@@ -174,7 +174,7 @@ const G = j(
|
|
|
174
174
|
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: i("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
|
|
175
175
|
] }),
|
|
176
176
|
/* @__PURE__ */ t.jsx(
|
|
177
|
-
|
|
177
|
+
M,
|
|
178
178
|
{
|
|
179
179
|
className: "self-end desktop:self-center",
|
|
180
180
|
"data-id": "banner-buttons-group",
|
|
@@ -218,7 +218,7 @@ const G = j(
|
|
|
218
218
|
/* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: i("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
219
219
|
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: i("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
220
220
|
] }),
|
|
221
|
-
/* @__PURE__ */ t.jsx(
|
|
221
|
+
/* @__PURE__ */ t.jsx(M, { buttonsConfig: d, classes: n })
|
|
222
222
|
] }),
|
|
223
223
|
/* @__PURE__ */ t.jsx(
|
|
224
224
|
"div",
|
|
@@ -250,7 +250,7 @@ const G = j(
|
|
|
250
250
|
case "separateImg":
|
|
251
251
|
return /* @__PURE__ */ t.jsx(C, { ...e });
|
|
252
252
|
case "fullImg":
|
|
253
|
-
return /* @__PURE__ */ t.jsx(
|
|
253
|
+
return /* @__PURE__ */ t.jsx(q, { ...e });
|
|
254
254
|
default:
|
|
255
255
|
return /* @__PURE__ */ t.jsx(C, { ...e });
|
|
256
256
|
}
|
|
@@ -276,18 +276,18 @@ const G = j(
|
|
|
276
276
|
d
|
|
277
277
|
))
|
|
278
278
|
}
|
|
279
|
-
),
|
|
279
|
+
), J = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
280
280
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
281
281
|
/* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
|
|
282
282
|
" Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
|
|
283
|
-
] }),
|
|
283
|
+
] }), K = [
|
|
284
284
|
{ phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
|
|
285
285
|
{ phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
|
|
286
|
-
],
|
|
286
|
+
], Q = [
|
|
287
287
|
{ iconName: "social/vk", href: "https://vk.com/sovcombank" },
|
|
288
288
|
{ iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
|
|
289
289
|
{ iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
|
|
290
|
-
],
|
|
290
|
+
], X = [
|
|
291
291
|
{
|
|
292
292
|
groupLabel: "Совкомбанк",
|
|
293
293
|
links: [
|
|
@@ -364,7 +364,7 @@ const G = j(
|
|
|
364
364
|
{ text: "Офисы и банкоматы", href: "/" }
|
|
365
365
|
]
|
|
366
366
|
}
|
|
367
|
-
],
|
|
367
|
+
], Y = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: d, href: r }) => /* @__PURE__ */ t.jsx(
|
|
368
368
|
"a",
|
|
369
369
|
{
|
|
370
370
|
className: i("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
@@ -373,8 +373,8 @@ const G = j(
|
|
|
373
373
|
children: /* @__PURE__ */ t.jsx(u, { name: d, className: i("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
374
374
|
},
|
|
375
375
|
r
|
|
376
|
-
)) }),
|
|
377
|
-
|
|
376
|
+
)) }), L = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: d, text: r }) => /* @__PURE__ */ t.jsx(
|
|
377
|
+
W,
|
|
378
378
|
{
|
|
379
379
|
phone: d,
|
|
380
380
|
text: r,
|
|
@@ -385,7 +385,7 @@ const G = j(
|
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
387
|
d
|
|
388
|
-
)) }),
|
|
388
|
+
)) }), P = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
|
|
389
389
|
"div",
|
|
390
390
|
{
|
|
391
391
|
className: i(
|
|
@@ -410,7 +410,7 @@ const G = j(
|
|
|
410
410
|
)) })
|
|
411
411
|
] }, d))
|
|
412
412
|
}
|
|
413
|
-
),
|
|
413
|
+
), c = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: i("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: o }), A = ({ classes: o }) => /* @__PURE__ */ t.jsx(
|
|
414
414
|
"a",
|
|
415
415
|
{
|
|
416
416
|
"aria-label": "logo",
|
|
@@ -434,11 +434,11 @@ const G = j(
|
|
|
434
434
|
}
|
|
435
435
|
), wt = ({
|
|
436
436
|
renderBlocks: { withSocial: o = !0, withPhones: e = !0, withNavLinks: d = !0, withCopyright: r = !0, withSiteMap: n = !0 } = {},
|
|
437
|
-
socialsLinks: x =
|
|
438
|
-
phones: m =
|
|
439
|
-
navigationLinks: f =
|
|
437
|
+
socialsLinks: x = Q,
|
|
438
|
+
phones: m = K,
|
|
439
|
+
navigationLinks: f = X,
|
|
440
440
|
ligal: h,
|
|
441
|
-
copyright: l =
|
|
441
|
+
copyright: l = J,
|
|
442
442
|
classes: p
|
|
443
443
|
}) => /* @__PURE__ */ t.jsx("footer", { className: i("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsx(k, { className: i(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: i("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
|
|
444
444
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -451,13 +451,13 @@ const G = j(
|
|
|
451
451
|
children: [
|
|
452
452
|
/* @__PURE__ */ t.jsxs("div", { className: i(p == null ? void 0 : p.footerSocialBlock), children: [
|
|
453
453
|
/* @__PURE__ */ t.jsx(A, { classes: p == null ? void 0 : p.footerLogo }),
|
|
454
|
-
o && /* @__PURE__ */ t.jsx(
|
|
454
|
+
o && /* @__PURE__ */ t.jsx(Y, { socialsLinks: x, classes: p == null ? void 0 : p.socialLinks })
|
|
455
455
|
] }),
|
|
456
|
-
e && /* @__PURE__ */ t.jsx(
|
|
456
|
+
e && /* @__PURE__ */ t.jsx(L, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
|
|
457
457
|
]
|
|
458
458
|
}
|
|
459
459
|
),
|
|
460
|
-
d && /* @__PURE__ */ t.jsx(
|
|
460
|
+
d && /* @__PURE__ */ t.jsx(P, { navigationLinks: f, classes: p == null ? void 0 : p.navLinks }),
|
|
461
461
|
h && h,
|
|
462
462
|
/* @__PURE__ */ t.jsxs(
|
|
463
463
|
"div",
|
|
@@ -467,7 +467,7 @@ const G = j(
|
|
|
467
467
|
p == null ? void 0 : p.footerBottom
|
|
468
468
|
),
|
|
469
469
|
children: [
|
|
470
|
-
r && /* @__PURE__ */ t.jsx(
|
|
470
|
+
r && /* @__PURE__ */ t.jsx(c, { text: l, classes: p == null ? void 0 : p.copyright }),
|
|
471
471
|
n && /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.siteMap })
|
|
472
472
|
]
|
|
473
473
|
}
|
|
@@ -505,7 +505,7 @@ const G = j(
|
|
|
505
505
|
"flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-center desktop:gap-12",
|
|
506
506
|
d == null ? void 0 : d.stepsWrapper
|
|
507
507
|
),
|
|
508
|
-
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(tt, { index: n + 1, ...r, classes: d }, r.title))
|
|
508
|
+
children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ t.jsx(tt, { index: n + 1, ...r, classes: d == null ? void 0 : d.step }, r.title))
|
|
509
509
|
}
|
|
510
510
|
)
|
|
511
511
|
] }) }) }), et = j("", {
|
|
@@ -730,7 +730,7 @@ const G = j(
|
|
|
730
730
|
)
|
|
731
731
|
] }), I = ({ mainLink: o, subLink: e, isLoading: d, badge: r, loaderProps: n, classes: x }) => {
|
|
732
732
|
const { isMobile: m } = b();
|
|
733
|
-
return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x, children: /* @__PURE__ */ t.jsxs(
|
|
733
|
+
return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
734
734
|
"div",
|
|
735
735
|
{
|
|
736
736
|
className: i(
|
|
@@ -745,7 +745,7 @@ const G = j(
|
|
|
745
745
|
/* @__PURE__ */ t.jsx(u, { name: "logos/megafon", className: i("relative z-[8] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.megafonLogo) }),
|
|
746
746
|
/* @__PURE__ */ t.jsx(u, { name: "logos/beeline", className: i("relative z-[7] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.beelineLogo) })
|
|
747
747
|
] }),
|
|
748
|
-
/* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x }),
|
|
748
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
|
|
749
749
|
/* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: i("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
|
|
750
750
|
] }),
|
|
751
751
|
r && /* @__PURE__ */ t.jsx(y, { className: i("bg-color-positive", x == null ? void 0 : x.badge), children: r })
|
|
@@ -754,7 +754,7 @@ const G = j(
|
|
|
754
754
|
) });
|
|
755
755
|
}, B = ({ mainLink: o, subLink: e, isLoading: d, badge: r, loaderProps: n, classes: x }) => {
|
|
756
756
|
const { isMobile: m } = b();
|
|
757
|
-
return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x, children: /* @__PURE__ */ t.jsxs(
|
|
757
|
+
return /* @__PURE__ */ t.jsx(H, { isLoading: d, loaderProps: n, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
|
|
758
758
|
"div",
|
|
759
759
|
{
|
|
760
760
|
className: i(
|
|
@@ -765,7 +765,7 @@ const G = j(
|
|
|
765
765
|
children: [
|
|
766
766
|
/* @__PURE__ */ t.jsxs("div", { className: i("flex items-center gap-1 desktop:gap-4", x == null ? void 0 : x.textContent), children: [
|
|
767
767
|
/* @__PURE__ */ t.jsx(xt, { className: i("size-7 desktop:size-8", x == null ? void 0 : x.esiaLogo) }),
|
|
768
|
-
/* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x }),
|
|
768
|
+
/* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
|
|
769
769
|
/* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: i("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
|
|
770
770
|
] }),
|
|
771
771
|
r && /* @__PURE__ */ t.jsx(y, { className: i("bg-color-positive", x == null ? void 0 : x.badge), children: r })
|
|
@@ -841,7 +841,7 @@ const G = j(
|
|
|
841
841
|
/* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "desktop")
|
|
842
842
|
] }),
|
|
843
843
|
n && /* @__PURE__ */ t.jsx(
|
|
844
|
-
|
|
844
|
+
E,
|
|
845
845
|
{
|
|
846
846
|
defaultOpen: !0,
|
|
847
847
|
label: o,
|
|
@@ -870,7 +870,7 @@ const G = j(
|
|
|
870
870
|
}), Ct = ({ data: o, mobileAccordionProps: e, rootAccordionProps: d, classes: r }) => {
|
|
871
871
|
var n, x;
|
|
872
872
|
return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: i("min-w-full desktop:min-w-[1140px]", r == null ? void 0 : r.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
|
|
873
|
-
|
|
873
|
+
E,
|
|
874
874
|
{
|
|
875
875
|
defaultOpen: !0,
|
|
876
876
|
label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: i("text-left", r == null ? void 0 : r.heading), children: o == null ? void 0 : o.heading }),
|