@prokodo/ui 0.0.4 → 0.0.6
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/README.md +99 -12
- package/dist/components/Accordion-V3d_aGvZ.js +130 -0
- package/dist/components/Accordion-o8oKA6Tq.js +1 -0
- package/dist/components/Animated-BBfAgsHL.js +64 -0
- package/dist/components/Animated-CO4IEerF.js +1 -0
- package/dist/components/AnimatedText-BmB5Vkyq.js +31 -0
- package/dist/components/AnimatedText-Sy1jofZl.js +1 -0
- package/dist/components/Avatar-Ci5YNFc5.js +95 -0
- package/dist/components/Avatar-CjlbA5a5.js +1 -0
- package/dist/components/BaseLink-Dd9htNXU.js +1 -0
- package/dist/components/BaseLink-w1q9Qc1U.js +30 -0
- package/dist/components/Button-B8chVgsB.js +111 -0
- package/dist/components/Button-yvFLX-6Q.js +1 -0
- package/dist/components/Calendly-CWCAs02R.js +1 -0
- package/dist/components/Calendly-WBM4oHyC.js +82 -0
- package/dist/components/Card-BPEoLzF1.js +1 -0
- package/dist/components/Card-IW4R7bKr.js +202 -0
- package/dist/components/Carousel-CdS7SVzA.js +1 -0
- package/dist/components/Carousel-DpO4a3lm.js +257 -0
- package/dist/components/Chip-BmBxJH5M.js +80 -0
- package/dist/components/Chip-Q2ttDAQn.js +1 -0
- package/dist/components/ClassNameConfigurator-C6UbdI-d.js +21 -0
- package/dist/components/ClassNameConfigurator-Ce5BUPXc.js +860 -0
- package/dist/components/DatePicker-BTenaDN8.js +1 -0
- package/dist/components/DatePicker-PK173UTy.js +93 -0
- package/dist/components/Dialog-Bq3tfZ0_.js +1 -0
- package/dist/components/Dialog-KlXAOdt_.js +172 -0
- package/dist/components/Drawer-DulO9091.js +1 -0
- package/dist/components/Drawer-i9X07r74.js +120 -0
- package/dist/components/Form-B6963dT5.js +368 -0
- package/dist/components/Form-DVNzITG2.js +1 -0
- package/dist/components/GridRow-1h1JHuDl.js +114 -0
- package/dist/components/GridRow-C5v0sOZZ.js +1 -0
- package/dist/components/Headline-CnyLLQLB.js +1 -0
- package/dist/components/Headline-DzEinaZi.js +98 -0
- package/dist/components/Icon-BMrVlROP.js +4195 -0
- package/dist/components/Icon-eWdA85cf.js +1 -0
- package/dist/components/Image-B-lyA7ym.js +1 -0
- package/dist/components/Image-CVgvVlLE.js +33 -0
- package/dist/components/ImageText-Cqp4xp9y.js +113 -0
- package/dist/components/ImageText-D-06_EGf.js +1 -0
- package/dist/components/Input-BEO9ig1R.js +1 -0
- package/dist/components/Input-CrNLI_OY.js +258 -0
- package/dist/components/InputOTP-Db7DHrhS.js +88 -0
- package/dist/components/InputOTP-MnmjEmPU.js +1 -0
- package/dist/components/Label-BvCzZIGM.js +1 -0
- package/dist/components/Label-DRUCdGoX.js +71 -0
- package/dist/components/Link-DSQ1125B.js +69 -0
- package/dist/components/Link-Dg7XR4uY.js +1 -0
- package/dist/components/List-D_dSwMx5.js +1 -0
- package/dist/components/List-P6xbVrBc.js +196 -0
- package/dist/components/Loading-C7lyHDW7.js +68 -0
- package/dist/components/Loading-U-CrTVTi.js +1 -0
- package/dist/components/Lottie-Br7PmIzX.js +1 -0
- package/dist/components/Lottie-CrvbxK0R.js +87 -0
- package/dist/components/Map-D3xbPS1S.js +1 -0
- package/dist/components/Map-DEIB_y-M.js +64 -0
- package/dist/components/PostItem-B8Vfv_sW.js +183 -0
- package/dist/components/PostItem-BSTn6cHD.js +1 -0
- package/dist/components/PostTeaser-BmZyqFL2.js +186 -0
- package/dist/components/PostTeaser-DLynX43c.js +1 -0
- package/dist/components/PostWidget-Bo4KiSsV.js +170 -0
- package/dist/components/PostWidget-DYWA-B8d.js +1 -0
- package/dist/components/PostWidgetCarousel-CZ6ptOGv.js +168 -0
- package/dist/components/PostWidgetCarousel-D7-p3Pwr.js +1 -0
- package/dist/components/Quote-6aurOanD.js +1 -0
- package/dist/components/Quote-CV_UYE1G.js +101 -0
- package/dist/components/RichText-Cg_XzkUs.js +152 -0
- package/dist/components/RichText-DVg1dwMV.js +1 -0
- package/dist/components/Select-BMyrX8V0.js +3081 -0
- package/dist/components/Select-DbjU6dlH.js +3 -0
- package/dist/components/Skeleton-BuY3bttw.js +1 -0
- package/dist/components/Skeleton-D6olNYTG.js +40 -0
- package/dist/components/Slider-C-lecSwc.js +957 -0
- package/dist/components/Slider-GvO3Xllf.js +1 -0
- package/dist/components/Stepper-BV3PGCr2.js +1 -0
- package/dist/components/Stepper-CA1DOm4D.js +135 -0
- package/dist/components/Switch-C_6EUOIc.js +330 -0
- package/dist/components/Switch-Db3HpOhM.js +1 -0
- package/dist/components/Table-Csc0FIbX.js +1 -0
- package/dist/components/Table-Cy8bIv_C.js +95 -0
- package/dist/components/Teaser-CkisYOs-.js +1 -0
- package/dist/components/Teaser-Cl2oBeh5.js +118 -0
- package/dist/components/accordion.js +1 -0
- package/dist/components/animated.js +1 -0
- package/dist/components/animatedText.js +1 -0
- package/dist/components/areArraysEqual-6R3bBH2E.js +1 -0
- package/dist/components/areArraysEqual-CJkStQkx.js +20 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/base-link.js +1 -0
- package/dist/components/bem-CYKrPjje.js +11 -0
- package/dist/components/bem-DC5wv0dD.js +1 -0
- package/dist/components/button.js +1 -0
- package/dist/components/calculation-79PhfKvq.js +4 -0
- package/dist/components/calculation-D-p0iqpk.js +1 -0
- package/dist/components/calendly.js +1 -0
- package/dist/components/card.js +1 -0
- package/dist/components/carousel.js +1 -0
- package/dist/components/chip.js +1 -0
- package/dist/components/datePicker.js +1 -0
- package/dist/components/dialog.js +1 -0
- package/dist/components/drawer.js +1 -0
- package/dist/components/form.js +1 -0
- package/dist/components/grid.js +1 -0
- package/dist/components/headline.js +1 -0
- package/dist/components/icon.js +1 -0
- package/dist/components/image-text.js +1 -0
- package/dist/components/image.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/inputOTP.js +1 -0
- package/dist/components/jsx-runtime-C5mzlN2N.js +284 -0
- package/dist/components/jsx-runtime-CITbqOLs.js +22 -0
- package/dist/components/label.js +1 -0
- package/dist/components/link.js +1 -0
- package/dist/components/list.js +1 -0
- package/dist/components/loading.js +1 -0
- package/dist/components/lottie.js +1 -0
- package/dist/components/map.js +1 -0
- package/dist/components/post-item.js +1 -0
- package/dist/components/post-teaser.js +1 -0
- package/dist/components/post-widget-carousel.js +1 -0
- package/dist/components/post-widget.js +1 -0
- package/dist/components/quote.js +1 -0
- package/dist/components/rich-text.js +1 -0
- package/dist/components/select.js +1 -0
- package/dist/components/skeleton.js +1 -0
- package/dist/components/slider.js +1 -0
- package/dist/components/stepper.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/table.js +1 -0
- package/dist/components/teaser.js +1 -0
- package/dist/components/useControlled-BYdyS7Pn.js +31 -0
- package/dist/components/useControlled-Ysk4KqoX.js +3 -0
- package/dist/components/validations-B_cxltQ_.js +8 -0
- package/dist/components/validations-Cnxtn28y.js +1 -0
- package/dist/index.cjs.js +1 -46
- package/dist/index.es.js +82 -13845
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/components/accordion/Accordion.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.model.d.ts +28 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/animated/Animated.d.ts +3 -0
- package/dist/types/components/animated/Animated.model.d.ts +12 -0
- package/dist/types/components/animated/index.d.ts +2 -0
- package/dist/types/components/animatedText/AnimatedText.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.model.d.ts +7 -0
- package/dist/types/components/animatedText/index.d.ts +2 -0
- package/dist/types/components/avatar/Avatar.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.model.d.ts +11 -0
- package/dist/types/components/avatar/index.d.ts +2 -0
- package/dist/types/components/base-link/BaseLink.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.model.d.ts +7 -0
- package/dist/types/components/base-link/index.d.ts +2 -0
- package/dist/types/components/button/Button.d.ts +3 -0
- package/dist/types/components/button/Button.model.d.ts +26 -0
- package/dist/types/components/button/index.d.ts +2 -0
- package/dist/types/components/calendly/Calendly.d.ts +22 -0
- package/dist/types/components/calendly/Calendly.model.d.ts +27 -0
- package/dist/types/components/calendly/index.d.ts +2 -0
- package/dist/types/components/card/Card.d.ts +3 -0
- package/dist/types/components/card/Card.model.d.ts +35 -0
- package/dist/types/components/card/index.d.ts +2 -0
- package/dist/types/components/carousel/Carousel.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.model.d.ts +24 -0
- package/dist/types/components/carousel/Carousel.services.d.ts +23 -0
- package/dist/types/components/carousel/index.d.ts +2 -0
- package/dist/types/components/chip/Chip.d.ts +3 -0
- package/dist/types/components/chip/Chip.model.d.ts +14 -0
- package/dist/types/components/chip/index.d.ts +2 -0
- package/dist/types/components/datePicker/DatePicker.d.ts +3 -0
- package/dist/types/components/datePicker/DatePicker.model.d.ts +21 -0
- package/dist/types/components/datePicker/index.d.ts +2 -0
- package/dist/types/components/dialog/Dialog.d.ts +3 -0
- package/dist/types/components/dialog/Dialog.model.d.ts +34 -0
- package/dist/types/components/dialog/index.d.ts +2 -0
- package/dist/types/components/drawer/Drawer.d.ts +5 -0
- package/dist/types/components/drawer/Drawer.model.d.ts +11 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/form/Form.d.ts +3 -0
- package/dist/types/components/form/Form.model.d.ts +71 -0
- package/dist/types/components/form/FormField.d.ts +9 -0
- package/dist/types/components/form/FormResponse.d.ts +6 -0
- package/dist/types/components/form/index.d.ts +3 -0
- package/dist/types/components/grid/Grid.d.ts +7 -0
- package/dist/types/components/grid/GridRow.d.ts +13 -0
- package/dist/types/components/grid/index.d.ts +2 -0
- package/dist/types/components/headline/Headline.d.ts +4 -0
- package/dist/types/components/headline/Headline.model.d.ts +19 -0
- package/dist/types/components/headline/index.d.ts +2 -0
- package/dist/types/components/icon/Icon.d.ts +4 -0
- package/dist/types/components/icon/Icon.model.d.ts +15 -0
- package/dist/types/components/icon/iconsMap.d.ts +4128 -0
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/image/Image.d.ts +3 -0
- package/dist/types/components/image/Image.model.d.ts +12 -0
- package/dist/types/components/image/index.d.ts +2 -0
- package/dist/types/components/image-text/ImageText.d.ts +3 -0
- package/dist/types/components/image-text/ImageText.model.d.ts +21 -0
- package/dist/types/components/image-text/index.d.ts +2 -0
- package/dist/types/components/input/Input.d.ts +3 -0
- package/dist/types/components/input/Input.model.d.ts +55 -0
- package/dist/types/components/input/InputValidation.d.ts +2 -0
- package/dist/types/components/input/index.d.ts +2 -0
- package/dist/types/components/inputOTP/InputOTP.d.ts +3 -0
- package/dist/types/components/inputOTP/InputOTP.model.d.ts +8 -0
- package/dist/types/components/inputOTP/index.d.ts +2 -0
- package/dist/types/components/label/Label.d.ts +3 -0
- package/dist/types/components/label/Label.model.d.ts +9 -0
- package/dist/types/components/label/index.d.ts +2 -0
- package/dist/types/components/link/Link.d.ts +3 -0
- package/dist/types/components/link/Link.model.d.ts +22 -0
- package/dist/types/components/link/index.d.ts +2 -0
- package/dist/types/components/list/List.d.ts +3 -0
- package/dist/types/components/list/List.model.d.ts +49 -0
- package/dist/types/components/list/index.d.ts +2 -0
- package/dist/types/components/loading/Loading.d.ts +3 -0
- package/dist/types/components/loading/Loading.model.d.ts +5 -0
- package/dist/types/components/loading/index.d.ts +2 -0
- package/dist/types/components/lottie/Lottie.d.ts +3 -0
- package/dist/types/components/lottie/Lottie.model.d.ts +8 -0
- package/dist/types/components/lottie/LottieAnimations.d.ts +32 -0
- package/dist/types/components/lottie/index.d.ts +2 -0
- package/dist/types/components/map/Map.d.ts +3 -0
- package/dist/types/components/map/Map.model.d.ts +20 -0
- package/dist/types/components/map/index.d.ts +2 -0
- package/dist/types/components/post-item/PostItem.d.ts +3 -0
- package/dist/types/components/post-item/PostItem.model.d.ts +21 -0
- package/dist/types/components/post-item/PostItemAuthor.d.ts +3 -0
- package/dist/types/components/post-item/PostItemAuthor.model.d.ts +14 -0
- package/dist/types/components/post-item/index.d.ts +3 -0
- package/dist/types/components/post-teaser/PostTeaser.d.ts +3 -0
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +25 -0
- package/dist/types/components/post-teaser/index.d.ts +2 -0
- package/dist/types/components/post-widget/PostWidget.d.ts +3 -0
- package/dist/types/components/post-widget/PostWidget.model.d.ts +25 -0
- package/dist/types/components/post-widget/index.d.ts +2 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.d.ts +3 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.model.d.ts +20 -0
- package/dist/types/components/post-widget-carousel/index.d.ts +2 -0
- package/dist/types/components/quote/Quote.d.ts +3 -0
- package/dist/types/components/quote/Quote.model.d.ts +19 -0
- package/dist/types/components/quote/index.d.ts +2 -0
- package/dist/types/components/rich-text/RichText.d.ts +3 -0
- package/dist/types/components/rich-text/RichText.model.d.ts +11 -0
- package/dist/types/components/rich-text/index.d.ts +2 -0
- package/dist/types/components/select/Select.d.ts +3 -0
- package/dist/types/components/select/Select.model.d.ts +30 -0
- package/dist/types/components/select/index.d.ts +2 -0
- package/dist/types/components/skeleton/Skeleton.d.ts +3 -0
- package/dist/types/components/skeleton/Skeleton.model.d.ts +7 -0
- package/dist/types/components/skeleton/index.d.ts +2 -0
- package/dist/types/components/slider/Slider.d.ts +3 -0
- package/dist/types/components/slider/Slider.model.d.ts +11 -0
- package/dist/types/components/slider/index.d.ts +2 -0
- package/dist/types/components/stepper/Stepper.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +24 -0
- package/dist/types/components/stepper/index.d.ts +2 -0
- package/dist/types/components/switch/Switch.d.ts +3 -0
- package/dist/types/components/switch/Switch.model.d.ts +18 -0
- package/dist/types/components/switch/index.d.ts +2 -0
- package/dist/types/components/table/Table.d.ts +3 -0
- package/dist/types/components/table/Table.model.d.ts +32 -0
- package/dist/types/components/table/index.d.ts +2 -0
- package/dist/types/components/teaser/Teaser.d.ts +3 -0
- package/dist/types/components/teaser/Teaser.model.d.ts +29 -0
- package/dist/types/components/teaser/index.d.ts +2 -0
- package/dist/types/helpers/bem.d.ts +8 -0
- package/dist/types/helpers/calculation.d.ts +2 -0
- package/dist/types/helpers/effect.d.ts +1 -0
- package/dist/types/helpers/getTracking.d.ts +5 -0
- package/dist/types/helpers/theme.d.ts +1 -0
- package/dist/types/helpers/validations.d.ts +6 -0
- package/dist/types/hooks/useGoogleMaps.d.ts +1 -0
- package/dist/types/hooks/useThrottleScroll.d.ts +1 -0
- package/dist/types/index.d.ts +80 -0
- package/dist/types/types/colors.d.ts +5 -0
- package/dist/types/types/core.d.ts +5 -0
- package/dist/types/types/schema.d.ts +7 -0
- package/dist/types/types/variants.d.ts +1 -0
- package/dist/ui.css +1 -1
- package/package.json +183 -18
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { j as i } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { memo as L } from "react";
|
|
3
|
+
import { c as m } from "./bem-CYKrPjje.js";
|
|
4
|
+
import { i as h } from "./validations-B_cxltQ_.js";
|
|
5
|
+
import { B as f } from "./BaseLink-w1q9Qc1U.js";
|
|
6
|
+
const y = "gradientMove", l = "fadeInKeyframe", x = {
|
|
7
|
+
"prokodo-Link": "prokodo-Link",
|
|
8
|
+
"prokodo-Link--has-no-background": "prokodo-Link--has-no-background",
|
|
9
|
+
"prokodo-Link--has-no-background--primary": "prokodo-Link--has-no-background--primary",
|
|
10
|
+
"prokodo-Link--has-no-background--secondary": "prokodo-Link--has-no-background--secondary",
|
|
11
|
+
"prokodo-Link--has-no-background--info": "prokodo-Link--has-no-background--info",
|
|
12
|
+
"prokodo-Link--has-no-background--success": "prokodo-Link--has-no-background--success",
|
|
13
|
+
"prokodo-Link--has-no-background--warning": "prokodo-Link--has-no-background--warning",
|
|
14
|
+
"prokodo-Link--has-no-background--error": "prokodo-Link--has-no-background--error",
|
|
15
|
+
"prokodo-Link--has-no-background--white": "prokodo-Link--has-no-background--white",
|
|
16
|
+
gradientMove: y,
|
|
17
|
+
fadeInKeyframe: l
|
|
18
|
+
}, v = m(x, "Link"), j = L(
|
|
19
|
+
({
|
|
20
|
+
variant: d = "inherit",
|
|
21
|
+
href: n,
|
|
22
|
+
children: r,
|
|
23
|
+
className: e,
|
|
24
|
+
style: t,
|
|
25
|
+
target: c,
|
|
26
|
+
itemProp: p,
|
|
27
|
+
hasBackground: a,
|
|
28
|
+
onMouseEnter: g,
|
|
29
|
+
onClick: o,
|
|
30
|
+
onKeyDown: u,
|
|
31
|
+
ariaLabel: k
|
|
32
|
+
}) => {
|
|
33
|
+
const b = {
|
|
34
|
+
"has-no-background": a === !1,
|
|
35
|
+
[`has-no-background--${d}`]: a === !1
|
|
36
|
+
}, s = {
|
|
37
|
+
className: v(void 0, b, e),
|
|
38
|
+
style: t,
|
|
39
|
+
onMouseEnter: g
|
|
40
|
+
};
|
|
41
|
+
return o && !h(n) ? /* @__PURE__ */ i.jsx(
|
|
42
|
+
"span",
|
|
43
|
+
{
|
|
44
|
+
"aria-label": k,
|
|
45
|
+
role: "button",
|
|
46
|
+
tabIndex: 0,
|
|
47
|
+
onClick: o,
|
|
48
|
+
onKeyDown: u,
|
|
49
|
+
...s,
|
|
50
|
+
children: r
|
|
51
|
+
}
|
|
52
|
+
) : /* @__PURE__ */ i.jsx(
|
|
53
|
+
f,
|
|
54
|
+
{
|
|
55
|
+
...s,
|
|
56
|
+
"aria-label": k,
|
|
57
|
+
href: n,
|
|
58
|
+
itemProp: p,
|
|
59
|
+
target: c ?? void 0,
|
|
60
|
+
onClick: o,
|
|
61
|
+
children: r
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
j.displayName = "Link";
|
|
67
|
+
export {
|
|
68
|
+
j as L
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./jsx-runtime-CITbqOLs.js"),h=require("react"),m=require("./bem-DC5wv0dD.js"),f=require("./validations-Cnxtn28y.js"),l=require("./BaseLink-Dd9htNXU.js"),y="gradientMove",x="fadeInKeyframe",v={"prokodo-Link":"prokodo-Link","prokodo-Link--has-no-background":"prokodo-Link--has-no-background","prokodo-Link--has-no-background--primary":"prokodo-Link--has-no-background--primary","prokodo-Link--has-no-background--secondary":"prokodo-Link--has-no-background--secondary","prokodo-Link--has-no-background--info":"prokodo-Link--has-no-background--info","prokodo-Link--has-no-background--success":"prokodo-Link--has-no-background--success","prokodo-Link--has-no-background--warning":"prokodo-Link--has-no-background--warning","prokodo-Link--has-no-background--error":"prokodo-Link--has-no-background--error","prokodo-Link--has-no-background--white":"prokodo-Link--has-no-background--white",gradientMove:y,fadeInKeyframe:x},j=m.create(v,"Link"),i=h.memo(({variant:d="inherit",href:n,children:r,className:t,style:c,target:u,itemProp:p,hasBackground:a,onMouseEnter:g,onClick:o,onKeyDown:b,ariaLabel:s})=>{const L={"has-no-background":a===!1,[`has-no-background--${d}`]:a===!1},k={className:j(void 0,L,t),style:c,onMouseEnter:g};return o&&!f.isString(n)?e.jsxRuntimeExports.jsx("span",{"aria-label":s,role:"button",tabIndex:0,onClick:o,onKeyDown:b,...k,children:r}):e.jsxRuntimeExports.jsx(l.BaseLink,{...k,"aria-label":s,href:n,itemProp:p,target:u??void 0,onClick:o,children:r})});i.displayName="Link";exports.Link=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./jsx-runtime-CITbqOLs.js"),i=require("react"),f=require("./bem-DC5wv0dD.js"),R=require("./validations-Cnxtn28y.js"),E=require("./Card-BPEoLzF1.js"),b=require("./Icon-eWdA85cf.js"),g=require("./Link-Dg7XR4uY.js"),w="gradientMove",I="fadeInKeyframe",q={"prokodo-List":"prokodo-List","prokodo-List__item":"prokodo-List__item","prokodo-List__item__card":"prokodo-List__item__card","prokodo-List__item__card__content":"prokodo-List__item__card__content","prokodo-List__item__inner":"prokodo-List__item__inner","prokodo-List__item__link":"prokodo-List__item__link","prokodo-List__item__icon":"prokodo-List__item__icon","prokodo-List__item__icon__svg":"prokodo-List__item__icon__svg","prokodo-List__item__icon__wrapper":"prokodo-List__item__icon__wrapper","prokodo-List__item__title--card":"prokodo-List__item__title--card","prokodo-List__item__content":"prokodo-List__item__content","prokodo-List__item__desc":"prokodo-List__item__desc","prokodo-List__item--is-clickable":"prokodo-List__item--is-clickable","prokodo-List__item--is-clickable--inherit":"prokodo-List__item--is-clickable--inherit","prokodo-List__item--is-clickable--primary":"prokodo-List__item--is-clickable--primary","prokodo-List__item--is-clickable--secondary":"prokodo-List__item--is-clickable--secondary","prokodo-List__item--is-clickable--info":"prokodo-List__item--is-clickable--info","prokodo-List__item--is-clickable--success":"prokodo-List__item--is-clickable--success","prokodo-List__item--is-clickable--warning":"prokodo-List__item--is-clickable--warning","prokodo-List__item--is-clickable--error":"prokodo-List__item--is-clickable--error","prokodo-List__item--is-clickable--white":"prokodo-List__item--is-clickable--white","prokodo-List__item--card":"prokodo-List__item--card",gradientMove:w,fadeInKeyframe:I},_=f.create(q,"List"),j=i.memo(({type:e,variant:a="inherit",className:v,options:n={},items:h,classNameDesc:p,...C})=>{const t=i.useMemo(()=>({[`${e}`]:!!e}),[e]),d=i.useCallback((o,s)=>r.jsxRuntimeExports.jsx("span",{className:_("item__title",{"is-clickable":!!(s!=null&&s.onClick),...t}),children:o}),[t]),L=i.useCallback((o,s)=>r.jsxRuntimeExports.jsx(g.Link,{className:_("item__link",void 0,o==null?void 0:o.className),variant:a,...o,children:s}),[a]),k=i.useCallback(o=>o?r.jsxRuntimeExports.jsx("div",{className:_("item__icon__wrapper"),children:r.jsxRuntimeExports.jsx(b.Icon,{color:a,name:o,...n==null?void 0:n.icon})}):null,[a,n==null?void 0:n.icon]),l=i.useCallback(o=>R.isString(o)&&r.jsxRuntimeExports.jsx("p",{className:_("item__desc",void 0,p),children:o}),[p]),u=i.useCallback(o=>{var c;const s=o==null?void 0:o.icon;return r.jsxRuntimeExports.jsx(E.Card,{variant:"white",...o,className:_("item__card",void 0,o==null?void 0:o.className),contentClassName:_("item__card__content",void 0,o==null?void 0:o.contentClassName),children:r.jsxRuntimeExports.jsxs("div",{className:_("item__inner",void 0,o==null?void 0:o.innerClassName),children:[s&&r.jsxRuntimeExports.jsx("div",{className:_("item__icon",void 0,(c=o==null?void 0:o.iconProps)==null?void 0:c.className),children:r.jsxRuntimeExports.jsx(b.Icon,{...o==null?void 0:o.iconProps,className:_("item__icon__svg"),name:s,size:"sm"})}),r.jsxRuntimeExports.jsxs("div",{className:_("item__content"),children:[d(o.title),l(o==null?void 0:o.desc)]})]})})},[d,l]),N=i.useCallback(o=>{switch(e){case"card":return u(o);default:return(o==null?void 0:o.redirect)!==void 0?L(o.redirect,r.jsxRuntimeExports.jsxs(i.Fragment,{children:[k(o==null?void 0:o.icon),d(o.title,o),l(o==null?void 0:o.desc)]})):r.jsxRuntimeExports.jsxs(i.Fragment,{children:[k(o==null?void 0:o.icon),d(o.title,o),l(o==null?void 0:o.desc)]})}},[e,u,k,L,d,l]);return r.jsxRuntimeExports.jsx("ul",{"aria-live":"polite","aria-relevant":"additions text",...C,className:_(void 0,void 0,v),children:h.map(o=>{const s=!!(o!=null&&o.onClick)||!!(o!=null&&o.redirect);return r.jsxRuntimeExports.jsx("li",{"aria-pressed":s?!1:void 0,role:s?"button":void 0,tabIndex:s?0:-1,className:_("item",{"is-clickable":s,[`is-clickable--${(o==null?void 0:o.variant)??a}`]:s,...t},o==null?void 0:o.className),onClick:e==="default"&&s?()=>{var c;return(c=o.onClick)==null?void 0:c.call(o,o)}:void 0,onKeyDown:s?c=>{var x;(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),(x=o==null?void 0:o.onClick)==null||x.call(o,o))}:void 0,children:N(o)},`list-item-${o.title}`)})})});j.displayName="List";exports.List=j;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { j as _ } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { memo as C, useMemo as g, useCallback as a, Fragment as f } from "react";
|
|
3
|
+
import { c as w } from "./bem-CYKrPjje.js";
|
|
4
|
+
import { i as I } from "./validations-B_cxltQ_.js";
|
|
5
|
+
import { C as y } from "./Card-IW4R7bKr.js";
|
|
6
|
+
import { I as u } from "./Icon-BMrVlROP.js";
|
|
7
|
+
import { L as K } from "./Link-DSQ1125B.js";
|
|
8
|
+
const M = "gradientMove", $ = "fadeInKeyframe", D = {
|
|
9
|
+
"prokodo-List": "prokodo-List",
|
|
10
|
+
"prokodo-List__item": "prokodo-List__item",
|
|
11
|
+
"prokodo-List__item__card": "prokodo-List__item__card",
|
|
12
|
+
"prokodo-List__item__card__content": "prokodo-List__item__card__content",
|
|
13
|
+
"prokodo-List__item__inner": "prokodo-List__item__inner",
|
|
14
|
+
"prokodo-List__item__link": "prokodo-List__item__link",
|
|
15
|
+
"prokodo-List__item__icon": "prokodo-List__item__icon",
|
|
16
|
+
"prokodo-List__item__icon__svg": "prokodo-List__item__icon__svg",
|
|
17
|
+
"prokodo-List__item__icon__wrapper": "prokodo-List__item__icon__wrapper",
|
|
18
|
+
"prokodo-List__item__title--card": "prokodo-List__item__title--card",
|
|
19
|
+
"prokodo-List__item__content": "prokodo-List__item__content",
|
|
20
|
+
"prokodo-List__item__desc": "prokodo-List__item__desc",
|
|
21
|
+
"prokodo-List__item--is-clickable": "prokodo-List__item--is-clickable",
|
|
22
|
+
"prokodo-List__item--is-clickable--inherit": "prokodo-List__item--is-clickable--inherit",
|
|
23
|
+
"prokodo-List__item--is-clickable--primary": "prokodo-List__item--is-clickable--primary",
|
|
24
|
+
"prokodo-List__item--is-clickable--secondary": "prokodo-List__item--is-clickable--secondary",
|
|
25
|
+
"prokodo-List__item--is-clickable--info": "prokodo-List__item--is-clickable--info",
|
|
26
|
+
"prokodo-List__item--is-clickable--success": "prokodo-List__item--is-clickable--success",
|
|
27
|
+
"prokodo-List__item--is-clickable--warning": "prokodo-List__item--is-clickable--warning",
|
|
28
|
+
"prokodo-List__item--is-clickable--error": "prokodo-List__item--is-clickable--error",
|
|
29
|
+
"prokodo-List__item--is-clickable--white": "prokodo-List__item--is-clickable--white",
|
|
30
|
+
"prokodo-List__item--card": "prokodo-List__item--card",
|
|
31
|
+
gradientMove: M,
|
|
32
|
+
fadeInKeyframe: $
|
|
33
|
+
}, r = w(D, "List"), E = C(
|
|
34
|
+
({
|
|
35
|
+
type: i,
|
|
36
|
+
variant: n = "inherit",
|
|
37
|
+
className: x,
|
|
38
|
+
options: d = {},
|
|
39
|
+
items: h,
|
|
40
|
+
classNameDesc: L,
|
|
41
|
+
...N
|
|
42
|
+
}) => {
|
|
43
|
+
const k = g(
|
|
44
|
+
() => ({
|
|
45
|
+
[`${i}`]: !!i
|
|
46
|
+
}),
|
|
47
|
+
[i]
|
|
48
|
+
), e = a(
|
|
49
|
+
(o, s) => /* @__PURE__ */ _.jsx(
|
|
50
|
+
"span",
|
|
51
|
+
{
|
|
52
|
+
className: r("item__title", {
|
|
53
|
+
"is-clickable": !!(s != null && s.onClick),
|
|
54
|
+
...k
|
|
55
|
+
}),
|
|
56
|
+
children: o
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
[k]
|
|
60
|
+
), p = a(
|
|
61
|
+
(o, s) => /* @__PURE__ */ _.jsx(
|
|
62
|
+
K,
|
|
63
|
+
{
|
|
64
|
+
className: r("item__link", void 0, o == null ? void 0 : o.className),
|
|
65
|
+
variant: n,
|
|
66
|
+
...o,
|
|
67
|
+
children: s
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
[n]
|
|
71
|
+
), t = a(
|
|
72
|
+
(o) => o ? /* @__PURE__ */ _.jsx("div", { className: r("item__icon__wrapper"), children: /* @__PURE__ */ _.jsx(u, { color: n, name: o, ...d == null ? void 0 : d.icon }) }) : null,
|
|
73
|
+
[n, d == null ? void 0 : d.icon]
|
|
74
|
+
), l = a(
|
|
75
|
+
(o) => I(o) && /* @__PURE__ */ _.jsx("p", { className: r("item__desc", void 0, L), children: o }),
|
|
76
|
+
[L]
|
|
77
|
+
), b = a(
|
|
78
|
+
(o) => {
|
|
79
|
+
var c;
|
|
80
|
+
const s = o == null ? void 0 : o.icon;
|
|
81
|
+
return /* @__PURE__ */ _.jsx(
|
|
82
|
+
y,
|
|
83
|
+
{
|
|
84
|
+
variant: "white",
|
|
85
|
+
...o,
|
|
86
|
+
className: r("item__card", void 0, o == null ? void 0 : o.className),
|
|
87
|
+
contentClassName: r(
|
|
88
|
+
"item__card__content",
|
|
89
|
+
void 0,
|
|
90
|
+
o == null ? void 0 : o.contentClassName
|
|
91
|
+
),
|
|
92
|
+
children: /* @__PURE__ */ _.jsxs(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: r("item__inner", void 0, o == null ? void 0 : o.innerClassName),
|
|
96
|
+
children: [
|
|
97
|
+
s && /* @__PURE__ */ _.jsx(
|
|
98
|
+
"div",
|
|
99
|
+
{
|
|
100
|
+
className: r(
|
|
101
|
+
"item__icon",
|
|
102
|
+
void 0,
|
|
103
|
+
(c = o == null ? void 0 : o.iconProps) == null ? void 0 : c.className
|
|
104
|
+
),
|
|
105
|
+
children: /* @__PURE__ */ _.jsx(
|
|
106
|
+
u,
|
|
107
|
+
{
|
|
108
|
+
...o == null ? void 0 : o.iconProps,
|
|
109
|
+
className: r("item__icon__svg"),
|
|
110
|
+
name: s,
|
|
111
|
+
size: "sm"
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ _.jsxs("div", { className: r("item__content"), children: [
|
|
117
|
+
e(o.title),
|
|
118
|
+
l(o == null ? void 0 : o.desc)
|
|
119
|
+
] })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
},
|
|
126
|
+
[e, l]
|
|
127
|
+
), j = a(
|
|
128
|
+
(o) => {
|
|
129
|
+
switch (i) {
|
|
130
|
+
case "card":
|
|
131
|
+
return b(o);
|
|
132
|
+
default:
|
|
133
|
+
return (o == null ? void 0 : o.redirect) !== void 0 ? p(
|
|
134
|
+
o.redirect,
|
|
135
|
+
/* @__PURE__ */ _.jsxs(f, { children: [
|
|
136
|
+
t(o == null ? void 0 : o.icon),
|
|
137
|
+
e(o.title, o),
|
|
138
|
+
l(o == null ? void 0 : o.desc)
|
|
139
|
+
] })
|
|
140
|
+
) : /* @__PURE__ */ _.jsxs(f, { children: [
|
|
141
|
+
t(o == null ? void 0 : o.icon),
|
|
142
|
+
e(o.title, o),
|
|
143
|
+
l(o == null ? void 0 : o.desc)
|
|
144
|
+
] });
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
[i, b, t, p, e, l]
|
|
148
|
+
);
|
|
149
|
+
return /* @__PURE__ */ _.jsx(
|
|
150
|
+
"ul",
|
|
151
|
+
{
|
|
152
|
+
"aria-live": "polite",
|
|
153
|
+
"aria-relevant": "additions text",
|
|
154
|
+
...N,
|
|
155
|
+
className: r(void 0, void 0, x),
|
|
156
|
+
children: h.map((o) => {
|
|
157
|
+
const s = !!(o != null && o.onClick) || !!(o != null && o.redirect);
|
|
158
|
+
return (
|
|
159
|
+
/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */
|
|
160
|
+
/* @__PURE__ */ _.jsx(
|
|
161
|
+
"li",
|
|
162
|
+
{
|
|
163
|
+
"aria-pressed": s ? !1 : void 0,
|
|
164
|
+
role: s ? "button" : void 0,
|
|
165
|
+
tabIndex: s ? 0 : -1,
|
|
166
|
+
className: r(
|
|
167
|
+
"item",
|
|
168
|
+
{
|
|
169
|
+
"is-clickable": s,
|
|
170
|
+
[`is-clickable--${(o == null ? void 0 : o.variant) ?? n}`]: s,
|
|
171
|
+
...k
|
|
172
|
+
},
|
|
173
|
+
o == null ? void 0 : o.className
|
|
174
|
+
),
|
|
175
|
+
onClick: i === "default" && s ? () => {
|
|
176
|
+
var c;
|
|
177
|
+
return (c = o.onClick) == null ? void 0 : c.call(o, o);
|
|
178
|
+
} : void 0,
|
|
179
|
+
onKeyDown: s ? (c) => {
|
|
180
|
+
var v;
|
|
181
|
+
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), (v = o == null ? void 0 : o.onClick) == null || v.call(o, o));
|
|
182
|
+
} : void 0,
|
|
183
|
+
children: j(o)
|
|
184
|
+
},
|
|
185
|
+
`list-item-${o.title}`
|
|
186
|
+
)
|
|
187
|
+
);
|
|
188
|
+
})
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
);
|
|
193
|
+
E.displayName = "List";
|
|
194
|
+
export {
|
|
195
|
+
E as L
|
|
196
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { j as o } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { memo as e } from "react";
|
|
3
|
+
import { c as s } from "./bem-CYKrPjje.js";
|
|
4
|
+
const t = "spin", r = "gradientMove", g = "fadeInKeyframe", n = {
|
|
5
|
+
"prokodo-Loading": "prokodo-Loading",
|
|
6
|
+
"prokodo-Loading__gradient": "prokodo-Loading__gradient",
|
|
7
|
+
"prokodo-Loading__animation": "prokodo-Loading__animation",
|
|
8
|
+
spin: t,
|
|
9
|
+
"prokodo-Loading__animation--size-xs": "prokodo-Loading__animation--size-xs",
|
|
10
|
+
"prokodo-Loading__animation--size-sm": "prokodo-Loading__animation--size-sm",
|
|
11
|
+
"prokodo-Loading__animation--size-md": "prokodo-Loading__animation--size-md",
|
|
12
|
+
"prokodo-Loading__animation--size-lg": "prokodo-Loading__animation--size-lg",
|
|
13
|
+
"prokodo-Loading__animation--size-xl": "prokodo-Loading__animation--size-xl",
|
|
14
|
+
gradientMove: r,
|
|
15
|
+
fadeInKeyframe: g
|
|
16
|
+
}, i = s(n, "Loading"), m = e(({ className: a, size: d = "sm" }) => /* @__PURE__ */ o.jsxs(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: i(void 0, void 0, a),
|
|
20
|
+
style: {
|
|
21
|
+
display: "flex",
|
|
22
|
+
alignItems: "center",
|
|
23
|
+
justifyContent: "center",
|
|
24
|
+
gap: "16px"
|
|
25
|
+
},
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ o.jsx("svg", { height: 0, style: { position: "absolute" }, width: 0, children: /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsxs(
|
|
28
|
+
"linearGradient",
|
|
29
|
+
{
|
|
30
|
+
className: i("gradient"),
|
|
31
|
+
id: "loading-gradient",
|
|
32
|
+
x1: "0%",
|
|
33
|
+
x2: "0%",
|
|
34
|
+
y1: "0%",
|
|
35
|
+
y2: "100%",
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ o.jsx("stop", { offset: "0%" }),
|
|
38
|
+
/* @__PURE__ */ o.jsx("stop", { offset: "50%" }),
|
|
39
|
+
/* @__PURE__ */ o.jsx("stop", { offset: "100%" })
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
) }) }),
|
|
43
|
+
/* @__PURE__ */ o.jsx(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: i("animation", {
|
|
47
|
+
[`size-${d}`]: !0
|
|
48
|
+
}),
|
|
49
|
+
style: {
|
|
50
|
+
borderRadius: "50%",
|
|
51
|
+
border: "4px solid transparent",
|
|
52
|
+
// Transparent border for empty space
|
|
53
|
+
borderTop: "4px solid",
|
|
54
|
+
// Apply color for top border only
|
|
55
|
+
animation: `${n.spin} 1s linear infinite`,
|
|
56
|
+
// Define animation for spinning
|
|
57
|
+
background: "conic-gradient(from 0deg at 50% 50%, url(#loading-gradient) 0deg 360deg)"
|
|
58
|
+
// Create a conic gradient
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
));
|
|
65
|
+
m.displayName = "Loading";
|
|
66
|
+
export {
|
|
67
|
+
m as L
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./jsx-runtime-CITbqOLs.js"),t=require("react"),d=require("./bem-DC5wv0dD.js"),r="spin",g="gradientMove",m="fadeInKeyframe",n={"prokodo-Loading":"prokodo-Loading","prokodo-Loading__gradient":"prokodo-Loading__gradient","prokodo-Loading__animation":"prokodo-Loading__animation",spin:r,"prokodo-Loading__animation--size-xs":"prokodo-Loading__animation--size-xs","prokodo-Loading__animation--size-sm":"prokodo-Loading__animation--size-sm","prokodo-Loading__animation--size-md":"prokodo-Loading__animation--size-md","prokodo-Loading__animation--size-lg":"prokodo-Loading__animation--size-lg","prokodo-Loading__animation--size-xl":"prokodo-Loading__animation--size-xl",gradientMove:g,fadeInKeyframe:m},i=d.create(n,"Loading"),e=t.memo(({className:s,size:a="sm"})=>o.jsxRuntimeExports.jsxs("div",{className:i(void 0,void 0,s),style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"16px"},children:[o.jsxRuntimeExports.jsx("svg",{height:0,style:{position:"absolute"},width:0,children:o.jsxRuntimeExports.jsx("defs",{children:o.jsxRuntimeExports.jsxs("linearGradient",{className:i("gradient"),id:"loading-gradient",x1:"0%",x2:"0%",y1:"0%",y2:"100%",children:[o.jsxRuntimeExports.jsx("stop",{offset:"0%"}),o.jsxRuntimeExports.jsx("stop",{offset:"50%"}),o.jsxRuntimeExports.jsx("stop",{offset:"100%"})]})})}),o.jsxRuntimeExports.jsx("div",{className:i("animation",{[`size-${a}`]:!0}),style:{borderRadius:"50%",border:"4px solid transparent",borderTop:"4px solid",animation:`${n.spin} 1s linear infinite`,background:"conic-gradient(from 0deg at 50% 50%, url(#loading-gradient) 0deg 360deg)"}})]}));e.displayName="Loading";exports.Loading=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var v=Object.create;var r=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var j=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of S(e))!g.call(t,i)&&i!==o&&r(t,i,{get:()=>e[i],enumerable:!(c=m(e,i))||c.enumerable});return t};var L=(t,e,o)=>(o=t!=null?v(x(t)):{},j(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t));const s=require("./jsx-runtime-CITbqOLs.js"),a=require("react"),R=require("./bem-DC5wv0dD.js"),D="gradientMove",A="fadeInKeyframe",I={"prokodo-Lottie__container":"prokodo-Lottie__container",gradientMove:D,fadeInKeyframe:A},l={SolutionUIUXDesign:"https://lottie.host/af0b17d4-cc93-48bb-b388-d058f579ae3a/mzzgcsHwL4.lottie",SolutionSoftwareDevelopment:"https://lottie.host/bf06b5a0-be40-4f2a-95e4-ae3e033006d3/pxQ7Wtj79u.lottie",SolutionAppDevelopment:"https://lottie.host/24da243e-b6e4-4180-abd2-fc70ece1a39c/UDS9WBtmnP.lottie",SolutionMarketing:"https://lottie.host/adcecb1c-461d-44a1-88bb-33ac05d46d3c/3MJbj0EmAN.lottie",SolutionCloud:"https://lottie.host/1f4750fd-b6d1-467c-956e-aa73a135859e/eFYRZy1wGx.lottie",SolutionCMS:"https://lottie.host/ba018362-745a-437f-9d7b-d73b9e703330/rzxWewbkvC.lottie",SolutionAIAutomation:"https://lottie.host/48d72c0c-5c54-4b15-9bd7-fd74c390ba37/m0eYQx59TH.lottie",SolutionProjectManagement:"https://lottie.host/688bcc01-8a1d-409b-908e-a56173c7927b/svTnec8A7e.lottie",ServiceAI:"https://lottie.host/a5311ebe-c1f3-4b94-9509-2d631a59cc46/bjuqMpRJkv.lottie",ServiceProjectmanagement:"https://lottie.host/841f6dd8-1cfc-4165-b5e9-09381141cb99/z0eni2vMyw.lottie",ServiceCloudSolutionsDatacenter:"https://lottie.host/66ac6f8d-66ef-458a-8d14-948592f1a65e/uQfPmnlujm.lottie",ServiceCMSDataTransfer:"https://lottie.host/105fc09c-ee9c-4765-ab43-0bf5b26cb395/93DzSJoUgh.lottie",ServiceWebApplicationCoding:"https://lottie.host/2830c0f4-5e97-4b3a-b3ed-b726c0de8447/g5nlv0g7p9.lottie",ServiceAppApplicationCoding:"https://lottie.host/9c029e60-f915-4eb8-91ea-123edb9b42bc/V77o0U9cND.lottie",ServiceAPIDevelopment:"https://lottie.host/f1df7053-da17-4070-afcd-0ee7063b94d5/ENvAukhE2D.lottie",ServiceWebdesign:"https://lottie.host/76b43e18-040a-4a8f-b75f-46eab430d3af/YuB4P2DMfj.lottie",AboutOurMission:"https://lottie.host/e9a146f1-91a1-4c9a-a75b-2b2646dbae13/Yanqpw6Rzd.lottie",AboutWhoWeAre:"https://lottie.host/e1123476-13bd-45ef-a5a4-a8560bcf3f29/9HJJWo4xtJ.lottie",LogoAWS:"https://lottie.host/0db4ad01-4be2-439f-858e-5b35a6a3fa10/na8bHDn7XH.lottie",LogoGCP:"https://lottie.host/7485553e-5baa-4463-a4cd-dc34df3e1966/b8mdLcofyU.lottie",LogoReact:"https://lottie.host/1f3571ff-9caf-4669-9cca-eb49f4481eab/rP3fY4zubb.lottie",LogoNodejs:"https://lottie.host/9bab6357-0884-43b8-ae4d-46e9ed1f175f/B1hOYuLcCu.lottie",LogoGithub:"https://lottie.host/e83a6197-0828-4cfe-b4e3-c02c64ae62e9/6Dcb0MXTTu.lottie",DataAnalytics:"https://lottie.host/39705791-7f99-48e4-8bd5-bc591c8c5356/TUI5KNWHZf.lottie",ProjectManagement:"https://lottie.host/5d3b9fec-c47e-42db-a730-eba87a1e8423/0ad0xAp3EE.lottie",CustomerFeedback:"https://lottie.host/a747a4f7-edf5-4d39-a815-513ec58b0f08/l0JXyd15wv.lottie",CustomerService:"https://lottie.host/9f95fc75-bc9a-4e79-962e-ee29aa814006/tYw7JZIxRh.lottie",MobileOTP:"https://lottie.host/23f9ab5b-1338-4ed4-841c-8fcdc3c2088c/7IjlwL6yhC.lottie",Swipe:"https://lottie.host/7da0edc5-d79e-497c-bcce-ab9dd8e9458d/lahjQ7ICxg.lottie",NotFound:"https://lottie.host/ee63adf0-2f07-44ca-94b1-f8829aea03a5/8qjL7cSngV.lottie"},d=R.create(I,"Lottie"),M=a.lazy(()=>import("@lottiefiles/dotlottie-react").then(t=>({default:t.DotLottieReact}))),p=a.memo(({className:t,animationName:e,containerClassName:o,...c})=>{const[i,u]=a.useState(!1),f=a.useRef(null);return a.useEffect(()=>{const n=new IntersectionObserver(([b])=>{(b==null?void 0:b.isIntersecting)===!0&&(u(!0),n.disconnect())}),h=f.current;return h&&n.observe(h),()=>n.disconnect()},[]),l!=null&&l[e]?s.jsxRuntimeExports.jsx("div",{ref:f,className:d("container",void 0,o),children:i?s.jsxRuntimeExports.jsx(a.Suspense,{fallback:s.jsxRuntimeExports.jsx("div",{className:d("placeholder",void 0,o)}),children:s.jsxRuntimeExports.jsx(M,{autoplay:!0,autoResizeCanvas:!0,loop:!0,className:d(void 0,void 0,t),renderConfig:{devicePixelRatio:.9},src:l[e],useFrameInterpolation:!1,...c})}):s.jsxRuntimeExports.jsx("div",{className:d("placeholder",void 0,o)})}):null});p.displayName="Lottie";exports.Lottie=p;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { j as t } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { memo as r, useState as p, useRef as u, useEffect as v, Suspense as m, lazy as S } from "react";
|
|
3
|
+
import { c as g } from "./bem-CYKrPjje.js";
|
|
4
|
+
const j = "gradientMove", L = "fadeInKeyframe", x = {
|
|
5
|
+
"prokodo-Lottie__container": "prokodo-Lottie__container",
|
|
6
|
+
gradientMove: j,
|
|
7
|
+
fadeInKeyframe: L
|
|
8
|
+
}, e = {
|
|
9
|
+
SolutionUIUXDesign: "https://lottie.host/af0b17d4-cc93-48bb-b388-d058f579ae3a/mzzgcsHwL4.lottie",
|
|
10
|
+
SolutionSoftwareDevelopment: "https://lottie.host/bf06b5a0-be40-4f2a-95e4-ae3e033006d3/pxQ7Wtj79u.lottie",
|
|
11
|
+
SolutionAppDevelopment: "https://lottie.host/24da243e-b6e4-4180-abd2-fc70ece1a39c/UDS9WBtmnP.lottie",
|
|
12
|
+
SolutionMarketing: "https://lottie.host/adcecb1c-461d-44a1-88bb-33ac05d46d3c/3MJbj0EmAN.lottie",
|
|
13
|
+
SolutionCloud: "https://lottie.host/1f4750fd-b6d1-467c-956e-aa73a135859e/eFYRZy1wGx.lottie",
|
|
14
|
+
SolutionCMS: "https://lottie.host/ba018362-745a-437f-9d7b-d73b9e703330/rzxWewbkvC.lottie",
|
|
15
|
+
SolutionAIAutomation: "https://lottie.host/48d72c0c-5c54-4b15-9bd7-fd74c390ba37/m0eYQx59TH.lottie",
|
|
16
|
+
SolutionProjectManagement: "https://lottie.host/688bcc01-8a1d-409b-908e-a56173c7927b/svTnec8A7e.lottie",
|
|
17
|
+
ServiceAI: "https://lottie.host/a5311ebe-c1f3-4b94-9509-2d631a59cc46/bjuqMpRJkv.lottie",
|
|
18
|
+
ServiceProjectmanagement: "https://lottie.host/841f6dd8-1cfc-4165-b5e9-09381141cb99/z0eni2vMyw.lottie",
|
|
19
|
+
ServiceCloudSolutionsDatacenter: "https://lottie.host/66ac6f8d-66ef-458a-8d14-948592f1a65e/uQfPmnlujm.lottie",
|
|
20
|
+
ServiceCMSDataTransfer: "https://lottie.host/105fc09c-ee9c-4765-ab43-0bf5b26cb395/93DzSJoUgh.lottie",
|
|
21
|
+
ServiceWebApplicationCoding: "https://lottie.host/2830c0f4-5e97-4b3a-b3ed-b726c0de8447/g5nlv0g7p9.lottie",
|
|
22
|
+
ServiceAppApplicationCoding: "https://lottie.host/9c029e60-f915-4eb8-91ea-123edb9b42bc/V77o0U9cND.lottie",
|
|
23
|
+
ServiceAPIDevelopment: "https://lottie.host/f1df7053-da17-4070-afcd-0ee7063b94d5/ENvAukhE2D.lottie",
|
|
24
|
+
ServiceWebdesign: "https://lottie.host/76b43e18-040a-4a8f-b75f-46eab430d3af/YuB4P2DMfj.lottie",
|
|
25
|
+
AboutOurMission: "https://lottie.host/e9a146f1-91a1-4c9a-a75b-2b2646dbae13/Yanqpw6Rzd.lottie",
|
|
26
|
+
AboutWhoWeAre: "https://lottie.host/e1123476-13bd-45ef-a5a4-a8560bcf3f29/9HJJWo4xtJ.lottie",
|
|
27
|
+
LogoAWS: "https://lottie.host/0db4ad01-4be2-439f-858e-5b35a6a3fa10/na8bHDn7XH.lottie",
|
|
28
|
+
LogoGCP: "https://lottie.host/7485553e-5baa-4463-a4cd-dc34df3e1966/b8mdLcofyU.lottie",
|
|
29
|
+
LogoReact: "https://lottie.host/1f3571ff-9caf-4669-9cca-eb49f4481eab/rP3fY4zubb.lottie",
|
|
30
|
+
LogoNodejs: "https://lottie.host/9bab6357-0884-43b8-ae4d-46e9ed1f175f/B1hOYuLcCu.lottie",
|
|
31
|
+
LogoGithub: "https://lottie.host/e83a6197-0828-4cfe-b4e3-c02c64ae62e9/6Dcb0MXTTu.lottie",
|
|
32
|
+
DataAnalytics: "https://lottie.host/39705791-7f99-48e4-8bd5-bc591c8c5356/TUI5KNWHZf.lottie",
|
|
33
|
+
ProjectManagement: "https://lottie.host/5d3b9fec-c47e-42db-a730-eba87a1e8423/0ad0xAp3EE.lottie",
|
|
34
|
+
CustomerFeedback: "https://lottie.host/a747a4f7-edf5-4d39-a815-513ec58b0f08/l0JXyd15wv.lottie",
|
|
35
|
+
CustomerService: "https://lottie.host/9f95fc75-bc9a-4e79-962e-ee29aa814006/tYw7JZIxRh.lottie",
|
|
36
|
+
MobileOTP: "https://lottie.host/23f9ab5b-1338-4ed4-841c-8fcdc3c2088c/7IjlwL6yhC.lottie",
|
|
37
|
+
Swipe: "https://lottie.host/7da0edc5-d79e-497c-bcce-ab9dd8e9458d/lahjQ7ICxg.lottie",
|
|
38
|
+
NotFound: "https://lottie.host/ee63adf0-2f07-44ca-94b1-f8829aea03a5/8qjL7cSngV.lottie"
|
|
39
|
+
}, o = g(x, "Lottie"), D = S(
|
|
40
|
+
() => import("@lottiefiles/dotlottie-react").then((i) => ({
|
|
41
|
+
default: i.DotLottieReact
|
|
42
|
+
}))
|
|
43
|
+
), A = r(
|
|
44
|
+
({ className: i, animationName: l, containerClassName: a, ...n }) => {
|
|
45
|
+
const [f, h] = p(!1), d = u(null);
|
|
46
|
+
return v(() => {
|
|
47
|
+
const c = new IntersectionObserver(([s]) => {
|
|
48
|
+
(s == null ? void 0 : s.isIntersecting) === !0 && (h(!0), c.disconnect());
|
|
49
|
+
}), b = d.current;
|
|
50
|
+
return b && c.observe(b), () => c.disconnect();
|
|
51
|
+
}, []), e != null && e[l] ? /* @__PURE__ */ t.jsx(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
ref: d,
|
|
55
|
+
className: o("container", void 0, a),
|
|
56
|
+
children: f ? /* @__PURE__ */ t.jsx(
|
|
57
|
+
m,
|
|
58
|
+
{
|
|
59
|
+
fallback: /* @__PURE__ */ t.jsx(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: o("placeholder", void 0, a)
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
children: /* @__PURE__ */ t.jsx(
|
|
66
|
+
D,
|
|
67
|
+
{
|
|
68
|
+
autoplay: !0,
|
|
69
|
+
autoResizeCanvas: !0,
|
|
70
|
+
loop: !0,
|
|
71
|
+
className: o(void 0, void 0, i),
|
|
72
|
+
renderConfig: { devicePixelRatio: 0.9 },
|
|
73
|
+
src: e[l],
|
|
74
|
+
useFrameInterpolation: !1,
|
|
75
|
+
...n
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
}
|
|
79
|
+
) : /* @__PURE__ */ t.jsx("div", { className: o("placeholder", void 0, a) })
|
|
80
|
+
}
|
|
81
|
+
) : null;
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
A.displayName = "Lottie";
|
|
85
|
+
export {
|
|
86
|
+
A as L
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const h=require("./jsx-runtime-CITbqOLs.js"),e=require("react"),E=require("./validations-Cnxtn28y.js"),M=require("@googlemaps/js-api-loader"),x=require("./Skeleton-BuY3bttw.js"),y=(s,o)=>{const[u,n]=e.useState(!1);return e.useEffect(()=>{new M.Loader({apiKey:s,version:"weekly",libraries:["maps"]}).importLibrary("marker").then(()=>{n(!0)}).catch(t=>{throw console.error("Error loading Google Maps",t),new Error("Error loading Google Map: ",t)})},[s,o]),u},k=e.memo(({apiKey:s,mapId:o,center:u,marker:n,zoom:l=8})=>{const t=e.useRef(null),d=e.useRef(null),[m,w]=e.useState(typeof document<"u"?document.documentElement.getAttribute("data-theme")==="dark":!1),a=e.useCallback(()=>{if(!(t!=null&&t.current))return;const i={center:u,zoom:l,mapId:E.isString(o)?o:m===!0?"c3c70a1ea4c4b0b8":"e5921eca3f70ade2",disableDefaultUI:!0,mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,zoomControl:!0},c=new google.maps.Map(t.current,i);d.current=c,E.isArray(n)&&n.forEach(r=>{var g,b;if(typeof((g=r==null?void 0:r.position)==null?void 0:g.lat)=="number"||typeof((b=r==null?void 0:r.position)==null?void 0:b.lng)=="number")return;const p=document.createElement("img");p.src="/images/prokodo-map-marker.webp",new google.maps.marker.AdvancedMarkerElement({map:c,content:p,...r})})},[m,o,u,n,l]),f=y(s,m);return e.useEffect(()=>{!f||d.current||a()},[f,a]),e.useEffect(()=>{const i=new MutationObserver(()=>{const c=document.documentElement.getAttribute("data-theme");w(c==="dark"),d.current=null,a()});return i.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}),()=>i.disconnect()},[a]),f?h.jsxRuntimeExports.jsx("div",{ref:t,style:{width:"100%",height:"500px"}}):h.jsxRuntimeExports.jsx(x.Skeleton,{height:"500px",width:"100%"})});k.displayName="Map";exports.Map=k;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { j as h } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { useState as E, useEffect as f, memo as M, useRef as w, useCallback as y } from "react";
|
|
3
|
+
import { i as x, b as v } from "./validations-B_cxltQ_.js";
|
|
4
|
+
import { Loader as C } from "@googlemaps/js-api-loader";
|
|
5
|
+
import { S as j } from "./Skeleton-D6olNYTG.js";
|
|
6
|
+
const A = (n, r) => {
|
|
7
|
+
const [s, o] = E(!1);
|
|
8
|
+
return f(() => {
|
|
9
|
+
new C({
|
|
10
|
+
apiKey: n,
|
|
11
|
+
version: "weekly",
|
|
12
|
+
libraries: ["maps"]
|
|
13
|
+
}).importLibrary("marker").then(() => {
|
|
14
|
+
o(!0);
|
|
15
|
+
}).catch((e) => {
|
|
16
|
+
throw console.error("Error loading Google Maps", e), new Error("Error loading Google Map: ", e);
|
|
17
|
+
});
|
|
18
|
+
}, [n, r]), s;
|
|
19
|
+
}, S = M(
|
|
20
|
+
({ apiKey: n, mapId: r, center: s, marker: o, zoom: m = 8 }) => {
|
|
21
|
+
const e = w(null), l = w(null), [d, k] = E(
|
|
22
|
+
typeof document < "u" ? document.documentElement.getAttribute("data-theme") === "dark" : !1
|
|
23
|
+
), a = y(() => {
|
|
24
|
+
if (!(e != null && e.current)) return;
|
|
25
|
+
const i = {
|
|
26
|
+
center: s,
|
|
27
|
+
zoom: m,
|
|
28
|
+
mapId: x(r) ? r : d === !0 ? "c3c70a1ea4c4b0b8" : "e5921eca3f70ade2",
|
|
29
|
+
disableDefaultUI: !0,
|
|
30
|
+
mapTypeControl: !1,
|
|
31
|
+
fullscreenControl: !1,
|
|
32
|
+
streetViewControl: !1,
|
|
33
|
+
zoomControl: !0
|
|
34
|
+
}, u = new google.maps.Map(e.current, i);
|
|
35
|
+
l.current = u, v(o) && o.forEach((t) => {
|
|
36
|
+
var b, g;
|
|
37
|
+
if (typeof ((b = t == null ? void 0 : t.position) == null ? void 0 : b.lat) == "number" || typeof ((g = t == null ? void 0 : t.position) == null ? void 0 : g.lng) == "number")
|
|
38
|
+
return;
|
|
39
|
+
const p = document.createElement("img");
|
|
40
|
+
p.src = "/images/prokodo-map-marker.webp", new google.maps.marker.AdvancedMarkerElement({
|
|
41
|
+
map: u,
|
|
42
|
+
content: p,
|
|
43
|
+
...t
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
}, [d, r, s, o, m]), c = A(n, d);
|
|
47
|
+
return f(() => {
|
|
48
|
+
!c || l.current || a();
|
|
49
|
+
}, [c, a]), f(() => {
|
|
50
|
+
const i = new MutationObserver(() => {
|
|
51
|
+
const u = document.documentElement.getAttribute("data-theme");
|
|
52
|
+
k(u === "dark"), l.current = null, a();
|
|
53
|
+
});
|
|
54
|
+
return i.observe(document.documentElement, {
|
|
55
|
+
attributes: !0,
|
|
56
|
+
attributeFilter: ["data-theme"]
|
|
57
|
+
}), () => i.disconnect();
|
|
58
|
+
}, [a]), c ? /* @__PURE__ */ h.jsx("div", { ref: e, style: { width: "100%", height: "500px" } }) : /* @__PURE__ */ h.jsx(j, { height: "500px", width: "100%" });
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
S.displayName = "Map";
|
|
62
|
+
export {
|
|
63
|
+
S as M
|
|
64
|
+
};
|