@dotss/tictoccroc 0.0.0 → 0.0.2
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/LessonNotesSection-a2QNdQtj.js +196 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +109 -52
- package/dist/shared/components/Calendar/Calendar.d.ts +3 -2
- package/dist/shared/components/Calendar/Calendar.mjs +1 -1
- package/dist/shared/components/Carousel/Carousel.d.ts +1 -1
- package/dist/shared/components/Carousel/Carousel.mjs +13 -13
- package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.d.ts +1 -1
- package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +1 -1
- package/dist/shared/components/Image/Image.d.ts +1 -1
- package/dist/shared/components/Image/Image.mjs +94 -93
- package/dist/shared/components/ImageZoomDialog/ImageBlock/ImageBlock.mjs +12 -26
- package/dist/shared/components/ImageZoomDialog/ImageZoomDialog.mjs +77 -98
- package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.mjs +4 -4
- package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.mjs +4 -4
- package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.mjs +1 -1
- package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.d.ts +7 -0
- package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs +19 -0
- package/dist/shared/components/LoadingAnnouncer/index.d.ts +3 -0
- package/dist/shared/components/LoadingAnnouncer/index.mjs +4 -0
- package/dist/shared/components/Masonry/Masonry.d.ts +12 -0
- package/dist/shared/components/Masonry/Masonry.mjs +220 -0
- package/dist/shared/components/Masonry/Masonry.utils.d.ts +7 -0
- package/dist/shared/components/Masonry/Masonry.utils.mjs +76 -0
- package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.d.ts +11 -0
- package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.mjs +77 -0
- package/dist/shared/components/Masonry/MasonryBlock/index.d.ts +3 -0
- package/dist/shared/components/Masonry/MasonryBlock/index.mjs +4 -0
- package/dist/shared/components/Masonry/index.d.ts +4 -0
- package/dist/shared/components/Masonry/index.mjs +6 -0
- package/dist/shared/components/Roller/Roller.d.ts +1 -2
- package/dist/shared/components/Roller/Roller.mjs +7 -120
- package/dist/shared/components/Roller/RollerBlock/RollerBlock.d.ts +1 -1
- package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +1 -1
- package/dist/shared/components/Roller/index.mjs +3 -3
- package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.d.ts +2 -5
- package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +1 -1
- package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.d.ts +1 -1
- package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +2 -2
- package/dist/shared/components/Scheduler/Scheduler.d.ts +4 -4
- package/dist/shared/components/Scheduler/Scheduler.mjs +167 -178
- package/dist/shared/components/Swiper/Swiper.d.ts +1 -1
- package/dist/shared/components/Swiper/Swiper.mjs +77 -97
- package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.d.ts +1 -1
- package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +1 -1
- package/dist/shared/components/TimePicker/TimePicker.d.ts +2 -2
- package/dist/shared/components/TimePicker/TimePicker.mjs +1 -1
- package/dist/shared/components/index.d.ts +14 -1
- package/dist/shared/components/index.mjs +40 -28
- package/dist/shared/utils/birthDateToAge/birthDateToAge.test.mjs +9 -10
- package/dist/shared/utils/getDateRange/getDateRange.d.ts +1 -1
- package/dist/shared/utils/getDateRange/getDateRange.test.mjs +27 -28
- package/dist/shared/utils/getImageUrl/getImageUrl.test.mjs +19 -20
- package/dist/shared/utils/getTimeRange/getTimeRange.test.mjs +22 -23
- package/dist/shared/utils/getVimeoId/getVimeoId.test.mjs +11 -12
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.mjs +6 -4
- package/dist/shared/utils/isAndroid/isAndroid.test.mjs +9 -10
- package/dist/shared/utils/isApp/isApp.test.mjs +14 -15
- package/dist/shared/utils/isDesktop/isDesktop.test.mjs +8 -9
- package/dist/shared/utils/isServer/isServer.test.mjs +10 -11
- package/dist/shared/utils/objectToQueryString/objectToQueryString.test.mjs +7 -7
- package/dist/shared/utils/parseQueryString/parseQueryString.test.mjs +10 -11
- package/dist/shared/utils/share/index.d.ts +2 -0
- package/dist/shared/utils/share/index.mjs +4 -0
- package/dist/shared/utils/share/share.d.ts +9 -0
- package/dist/shared/utils/share/share.mjs +15 -0
- package/dist/shared/utils/share/share.test.d.ts +1 -0
- package/dist/shared/utils/share/share.test.mjs +31 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.d.ts +15 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs +441 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.d.ts +3 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs +5 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.d.ts +6 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +111 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.d.ts +6 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs +43 -0
- package/dist/teacher/profile/components/AbilityCollection/index.d.ts +5 -0
- package/dist/teacher/profile/components/AbilityCollection/index.mjs +8 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.d.ts +11 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +101 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.d.ts +8 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +124 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.d.ts +3 -0
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs +4 -0
- package/dist/teacher/profile/components/ActivityGallery/index.d.ts +4 -0
- package/dist/teacher/profile/components/ActivityGallery/index.mjs +6 -0
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.d.ts +22 -0
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +179 -0
- package/dist/teacher/profile/components/AvailableScheduleSection/index.d.ts +3 -0
- package/dist/teacher/profile/components/AvailableScheduleSection/index.mjs +4 -0
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.d.ts +10 -0
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +136 -0
- package/dist/teacher/profile/components/CareerSection/CareerItem/index.d.ts +3 -0
- package/dist/teacher/profile/components/CareerSection/CareerItem/index.mjs +4 -0
- package/dist/teacher/profile/components/CareerSection/CareerSection.d.ts +9 -0
- package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +185 -0
- package/dist/teacher/profile/components/CareerSection/index.d.ts +4 -0
- package/dist/teacher/profile/components/CareerSection/index.mjs +6 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.d.ts +8 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.mjs +91 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationItem/index.d.ts +3 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationItem/index.mjs +4 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationSection.d.ts +9 -0
- package/dist/teacher/profile/components/CertificationSection/CertificationSection.mjs +152 -0
- package/dist/teacher/profile/components/CertificationSection/index.d.ts +4 -0
- package/dist/teacher/profile/components/CertificationSection/index.mjs +6 -0
- package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.d.ts +9 -0
- package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +105 -0
- package/dist/teacher/profile/components/EducationSection/EducationItem/index.d.ts +3 -0
- package/dist/teacher/profile/components/EducationSection/EducationItem/index.mjs +4 -0
- package/dist/teacher/profile/components/EducationSection/EducationSection.d.ts +9 -0
- package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +152 -0
- package/dist/teacher/profile/components/EducationSection/index.d.ts +4 -0
- package/dist/teacher/profile/components/EducationSection/index.mjs +6 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.d.ts +9 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs +54 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNote/index.d.ts +3 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNote/index.mjs +4 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.d.ts +7 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.mjs +8 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.utils.d.ts +4 -0
- package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.utils.mjs +13 -0
- package/dist/teacher/profile/components/LessonNotesSection/index.d.ts +4 -0
- package/dist/teacher/profile/components/LessonNotesSection/index.mjs +6 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.d.ts +10 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs +103 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.d.ts +3 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs +4 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.d.ts +7 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +79 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.d.ts +4 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs +13 -0
- package/dist/teacher/profile/components/ParentReviewSection/index.d.ts +4 -0
- package/dist/teacher/profile/components/ParentReviewSection/index.mjs +6 -0
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.d.ts +9 -0
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +37 -0
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.d.ts +3 -0
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.mjs +4 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.d.ts +8 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +32 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.d.ts +18 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +14 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/index.d.ts +4 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +6 -0
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.d.ts +25 -1
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +413 -5
- package/dist/teacher/profile/components/ProfileSummary/index.d.ts +2 -1
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.d.ts +7 -0
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +105 -0
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.d.ts +3 -0
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +4 -0
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.d.ts +6 -0
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +28 -0
- package/dist/teacher/profile/components/StatBadgeCollection/index.d.ts +4 -0
- package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -0
- package/dist/teacher/profile/components/index.d.ts +24 -0
- package/dist/teacher/profile/components/index.mjs +46 -0
- package/package.json +2 -2
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
const A = 100, X = V(
|
|
1
|
+
import { jsxs as T, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as k, useRef as v, useImperativeHandle as q, useState as W, useEffect as $ } from "react";
|
|
3
|
+
import { Flexbox as H, Skeleton as O } from "@dotss/ui";
|
|
4
|
+
import A from "../../hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
|
|
5
|
+
import D from "../../utils/getImageUrl/getImageUrl.mjs";
|
|
6
|
+
const G = 100, Y = k(
|
|
8
7
|
({
|
|
9
|
-
src:
|
|
10
|
-
width:
|
|
8
|
+
src: j,
|
|
9
|
+
width: n,
|
|
11
10
|
height: o,
|
|
12
|
-
fit:
|
|
13
|
-
position:
|
|
14
|
-
alt:
|
|
15
|
-
scale:
|
|
16
|
-
onLoad:
|
|
11
|
+
fit: z = "cover",
|
|
12
|
+
position: B = "center",
|
|
13
|
+
alt: r,
|
|
14
|
+
scale: F = 2,
|
|
15
|
+
onLoad: S,
|
|
17
16
|
onLazyLoad: m,
|
|
18
|
-
lazy:
|
|
19
|
-
borderRadius:
|
|
20
|
-
disabledResizing:
|
|
21
|
-
withIntrinsicRatio:
|
|
22
|
-
enableFallback:
|
|
23
|
-
wrapperProps:
|
|
24
|
-
...
|
|
25
|
-
},
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const [
|
|
29
|
-
|
|
17
|
+
lazy: L = !1,
|
|
18
|
+
borderRadius: s,
|
|
19
|
+
disabledResizing: R = !1,
|
|
20
|
+
withIntrinsicRatio: g = !1,
|
|
21
|
+
enableFallback: E = !1,
|
|
22
|
+
wrapperProps: t = {},
|
|
23
|
+
...c
|
|
24
|
+
}, b) => {
|
|
25
|
+
const f = v(null), C = v(!1), d = v(null);
|
|
26
|
+
q(b, () => d.current);
|
|
27
|
+
const [a, M] = W(!1), [h, y] = W(!1), I = D({ src: j, width: n, height: o, fit: z, position: B, scale: F, disabledResizing: R }), x = (e) => {
|
|
28
|
+
y(!0), typeof S == "function" && S(e);
|
|
30
29
|
};
|
|
31
|
-
return
|
|
32
|
-
if (
|
|
33
|
-
const e =
|
|
30
|
+
return $(() => {
|
|
31
|
+
if (L && f.current) {
|
|
32
|
+
const e = f.current, U = () => {
|
|
34
33
|
if (!e) return !1;
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
var
|
|
41
|
-
(
|
|
42
|
-
},
|
|
43
|
-
var
|
|
44
|
-
(
|
|
34
|
+
const i = e.getBoundingClientRect();
|
|
35
|
+
return i.bottom >= 0 && i.top <= (window.innerHeight || document.documentElement.clientHeight) + G;
|
|
36
|
+
}, l = () => {
|
|
37
|
+
U() && M(!0);
|
|
38
|
+
}, V = () => {
|
|
39
|
+
var i;
|
|
40
|
+
(i = window.appScreenContent) == null || i.addEventListener("scroll", l), window.addEventListener("resize", l), window.addEventListener("orientationchange", l);
|
|
41
|
+
}, _ = () => {
|
|
42
|
+
var i;
|
|
43
|
+
(i = window.appScreenContent) == null || i.removeEventListener("scroll", l), window.removeEventListener("resize", l), window.removeEventListener("orientationchange", l);
|
|
45
44
|
};
|
|
46
|
-
return
|
|
45
|
+
return l(), V(), _;
|
|
47
46
|
}
|
|
48
|
-
}),
|
|
49
|
-
typeof m == "function" &&
|
|
50
|
-
}, [m,
|
|
51
|
-
const e =
|
|
52
|
-
return e != null && e.complete ? (e.style.transition = "none", e.style.opacity = "1",
|
|
53
|
-
e.style.opacity = "1",
|
|
47
|
+
}), $(() => {
|
|
48
|
+
typeof m == "function" && a && !C.current && (C.current = !0, m());
|
|
49
|
+
}, [m, a]), A(() => {
|
|
50
|
+
const e = d.current;
|
|
51
|
+
return e != null && e.complete ? (e.style.transition = "none", e.style.opacity = "1", y(!0)) : e && (e.style.transition = "opacity 0.3s", e.style.opacity = "0", e.onload = () => {
|
|
52
|
+
e.style.opacity = "1", y(!0), e.onload = null;
|
|
54
53
|
}), () => {
|
|
55
54
|
e && (e.onload = null);
|
|
56
55
|
};
|
|
57
|
-
}, [
|
|
58
|
-
|
|
56
|
+
}, [a]), L ? /* @__PURE__ */ T(
|
|
57
|
+
H,
|
|
59
58
|
{
|
|
60
|
-
...
|
|
61
|
-
ref:
|
|
62
|
-
inlineCSS:
|
|
59
|
+
...t,
|
|
60
|
+
ref: f,
|
|
61
|
+
inlineCSS: g ? {
|
|
63
62
|
position: "relative",
|
|
64
|
-
paddingTop: `calc(100% / ${
|
|
63
|
+
paddingTop: `calc(100% / ${n} * ${o})`,
|
|
65
64
|
minWidth: "100%",
|
|
66
|
-
borderRadius:
|
|
65
|
+
borderRadius: s,
|
|
67
66
|
overflow: "hidden",
|
|
68
|
-
...
|
|
67
|
+
...t == null ? void 0 : t.inlineCSS
|
|
69
68
|
} : {
|
|
70
69
|
position: "relative",
|
|
71
|
-
width:
|
|
72
|
-
minWidth:
|
|
70
|
+
width: n,
|
|
71
|
+
minWidth: n,
|
|
73
72
|
height: o,
|
|
74
|
-
borderRadius:
|
|
73
|
+
borderRadius: s,
|
|
75
74
|
overflow: "hidden",
|
|
76
|
-
...
|
|
75
|
+
...t == null ? void 0 : t.inlineCSS
|
|
77
76
|
},
|
|
78
77
|
children: [
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
E && /* @__PURE__ */ u(
|
|
79
|
+
O,
|
|
81
80
|
{
|
|
82
81
|
width: "100%",
|
|
83
82
|
height: "100%",
|
|
83
|
+
borderRadius: s || 0,
|
|
84
84
|
inlineCSS: {
|
|
85
85
|
position: "absolute",
|
|
86
86
|
top: 0,
|
|
87
87
|
left: 0,
|
|
88
|
-
opacity:
|
|
88
|
+
opacity: h ? 0 : 1,
|
|
89
89
|
transition: "opacity 0.3s"
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
|
-
|
|
93
|
+
a && /* @__PURE__ */ u(
|
|
94
94
|
"img",
|
|
95
95
|
{
|
|
96
|
-
ref:
|
|
97
|
-
src:
|
|
98
|
-
alt:
|
|
99
|
-
width:
|
|
96
|
+
ref: d,
|
|
97
|
+
src: I,
|
|
98
|
+
alt: r,
|
|
99
|
+
width: n,
|
|
100
100
|
height: o,
|
|
101
|
-
onLoad:
|
|
102
|
-
...
|
|
101
|
+
onLoad: x,
|
|
102
|
+
...c,
|
|
103
103
|
style: {
|
|
104
104
|
position: "absolute",
|
|
105
105
|
top: 0,
|
|
@@ -107,59 +107,60 @@ const A = 100, X = V(
|
|
|
107
107
|
width: "100%",
|
|
108
108
|
height: "100%",
|
|
109
109
|
transition: "opacity 0.3s",
|
|
110
|
-
...
|
|
110
|
+
...c.style
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
)
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
|
-
) : /* @__PURE__ */
|
|
117
|
-
|
|
116
|
+
) : /* @__PURE__ */ T(
|
|
117
|
+
H,
|
|
118
118
|
{
|
|
119
|
-
...
|
|
120
|
-
ref:
|
|
121
|
-
inlineCSS:
|
|
119
|
+
...t,
|
|
120
|
+
ref: f,
|
|
121
|
+
inlineCSS: g ? {
|
|
122
122
|
position: "relative",
|
|
123
|
-
paddingTop: `calc(100% / ${
|
|
123
|
+
paddingTop: `calc(100% / ${n} * ${o})`,
|
|
124
124
|
minWidth: "100%",
|
|
125
125
|
transition: "padding-top 0.2s",
|
|
126
|
-
borderRadius:
|
|
126
|
+
borderRadius: s,
|
|
127
127
|
overflow: "hidden",
|
|
128
|
-
...
|
|
128
|
+
...t == null ? void 0 : t.inlineCSS
|
|
129
129
|
} : {
|
|
130
130
|
position: "relative",
|
|
131
|
-
width:
|
|
132
|
-
minWidth:
|
|
131
|
+
width: n,
|
|
132
|
+
minWidth: n,
|
|
133
133
|
height: o,
|
|
134
|
-
borderRadius:
|
|
134
|
+
borderRadius: s,
|
|
135
135
|
overflow: "hidden",
|
|
136
|
-
...
|
|
136
|
+
...t == null ? void 0 : t.inlineCSS
|
|
137
137
|
},
|
|
138
138
|
children: [
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
E && /* @__PURE__ */ u(
|
|
140
|
+
O,
|
|
141
141
|
{
|
|
142
142
|
width: "100%",
|
|
143
143
|
height: "100%",
|
|
144
|
+
borderRadius: s || 0,
|
|
144
145
|
inlineCSS: {
|
|
145
146
|
position: "absolute",
|
|
146
147
|
top: 0,
|
|
147
148
|
left: 0,
|
|
148
|
-
opacity:
|
|
149
|
+
opacity: h ? 0 : 1,
|
|
149
150
|
transition: "opacity 0.3s"
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
),
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ u(
|
|
154
155
|
"img",
|
|
155
156
|
{
|
|
156
|
-
ref:
|
|
157
|
-
src:
|
|
158
|
-
alt:
|
|
159
|
-
width:
|
|
157
|
+
ref: d,
|
|
158
|
+
src: I,
|
|
159
|
+
alt: r,
|
|
160
|
+
width: n,
|
|
160
161
|
height: o,
|
|
161
|
-
onLoad:
|
|
162
|
-
...
|
|
162
|
+
onLoad: x,
|
|
163
|
+
...c,
|
|
163
164
|
style: {
|
|
164
165
|
position: "absolute",
|
|
165
166
|
top: 0,
|
|
@@ -167,7 +168,7 @@ const A = 100, X = V(
|
|
|
167
168
|
width: "100%",
|
|
168
169
|
height: "100%",
|
|
169
170
|
transition: "opacity 0.3s",
|
|
170
|
-
...
|
|
171
|
+
...c.style
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
174
|
)
|
|
@@ -177,5 +178,5 @@ const A = 100, X = V(
|
|
|
177
178
|
}
|
|
178
179
|
);
|
|
179
180
|
export {
|
|
180
|
-
|
|
181
|
+
Y as default
|
|
181
182
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
m,
|
|
1
|
+
import { jsxs as s, Fragment as i, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d } from "react";
|
|
3
|
+
import l from "../../Image/Image.mjs";
|
|
4
|
+
function f({ fallback: a, containerHeight: e, ...t }) {
|
|
5
|
+
const [o, r] = d(!1);
|
|
6
|
+
return /* @__PURE__ */ s(i, { children: [
|
|
7
|
+
/* @__PURE__ */ n(
|
|
8
|
+
l,
|
|
10
9
|
{
|
|
11
|
-
...
|
|
12
|
-
onLoad: () =>
|
|
10
|
+
...t,
|
|
11
|
+
onLoad: () => r(!0),
|
|
13
12
|
disabledResizing: !0,
|
|
14
13
|
draggable: !1,
|
|
15
14
|
wrapperProps: {
|
|
@@ -29,22 +28,9 @@ function x({ fallback: t, containerHeight: e, ...o }) {
|
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
),
|
|
32
|
-
!
|
|
33
|
-
d,
|
|
34
|
-
{
|
|
35
|
-
"aria-busy": !0,
|
|
36
|
-
inlineCSS: {
|
|
37
|
-
position: "absolute",
|
|
38
|
-
top: "50%",
|
|
39
|
-
left: "50%",
|
|
40
|
-
transform: "translate(-50%, -50%)",
|
|
41
|
-
cursor: "wait"
|
|
42
|
-
},
|
|
43
|
-
children: t
|
|
44
|
-
}
|
|
45
|
-
)
|
|
31
|
+
!o && a
|
|
46
32
|
] });
|
|
47
33
|
}
|
|
48
34
|
export {
|
|
49
|
-
|
|
35
|
+
f as default
|
|
50
36
|
};
|