@dotss/tictoccroc 0.11.1 → 0.12.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.
Files changed (32) hide show
  1. package/dist/index.mjs +100 -96
  2. package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +5 -5
  3. package/dist/shared/components/Carousel/Carousel.mjs +104 -98
  4. package/dist/shared/components/Carousel/Carousel.utils.d.ts +8 -0
  5. package/dist/shared/components/Carousel/Carousel.utils.mjs +12 -0
  6. package/dist/shared/components/Carousel/Carousel.utils.test.d.ts +1 -0
  7. package/dist/shared/components/Image/Image.d.ts +1 -0
  8. package/dist/shared/components/Image/Image.mjs +102 -97
  9. package/dist/shared/components/Swiper/Swiper.mjs +137 -136
  10. package/dist/shared/components/Swiper/Swiper.utils.d.ts +10 -0
  11. package/dist/shared/components/Swiper/Swiper.utils.mjs +13 -2
  12. package/dist/shared/components/Swiper/Swiper.utils.test.d.ts +1 -0
  13. package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.d.ts +18 -0
  14. package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.mjs +9 -0
  15. package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.test.d.ts +1 -0
  16. package/dist/shared/utils/getHoverChildrenScaleStyle/index.d.ts +2 -0
  17. package/dist/shared/utils/getHoverChildrenScaleStyle/index.mjs +5 -0
  18. package/dist/shared/utils/index.d.ts +1 -0
  19. package/dist/shared/utils/index.mjs +2 -1
  20. package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +12 -12
  21. package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +14 -14
  22. package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.d.ts +21 -0
  23. package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.mjs +202 -0
  24. package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.d.ts +15 -0
  25. package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.mjs +175 -0
  26. package/dist/teacher/profile/components/KokTeacherCard/index.d.ts +4 -0
  27. package/dist/teacher/profile/components/KokTeacherCard/index.mjs +6 -0
  28. package/dist/teacher/profile/components/ProfileSummary/index.d.ts +1 -0
  29. package/dist/teacher/profile/components/ProfileSummary/index.mjs +4 -3
  30. package/dist/teacher/profile/components/index.d.ts +2 -0
  31. package/dist/teacher/profile/components/index.mjs +27 -24
  32. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -4,106 +4,110 @@ import n from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffec
4
4
  import r from "./shared/utils/getImageUrl/index.mjs";
5
5
  import i from "./shared/components/Image/Image.error.mjs";
6
6
  import a from "./shared/components/Image/index.mjs";
7
- import o from "./teacher/profile/components/ProfileSummary/index.mjs";
8
- import s from "./teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs";
9
- import c from "./teacher/profile/components/StatBadgeCollection/index.mjs";
10
- import l from "./shared/components/Masonry/MasonryBlock/index.mjs";
11
- import u from "./shared/utils/combineRef/index.mjs";
12
- import d from "./shared/hooks/useCombineRef/useCombineRef.mjs";
13
- import f from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs";
14
- import p from "./shared/components/Masonry/index.mjs";
15
- import m from "./teacher/profile/components/ActivityGallery/index.mjs";
16
- import h from "./teacher/profile/components/CertificateSection/CertificateItem/index.mjs";
17
- import g from "./teacher/profile/components/CertificateSection/index.mjs";
18
- import _ from "./teacher/profile/components/CareerSection/CareerItem/index.mjs";
19
- import v from "./teacher/profile/components/CareerSection/index.mjs";
20
- import y from "./teacher/profile/components/EducationSection/EducationItem/index.mjs";
21
- import b from "./teacher/profile/components/EducationSection/index.mjs";
22
- import x from "./teacher/profile/components/PreferredActivityKeywordGroup/index.mjs";
23
- import { getPreferredAgeKeywords as S } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
24
- import C from "./teacher/profile/components/PreferredAgeGroup/index.mjs";
25
- import { getAbilityCollection as w } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
26
- import T from "./teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs";
27
- import E from "./teacher/profile/components/AbilityCollection/index.mjs";
28
- import D from "./shared/components/Scheduler/ScheduleEvent/index.mjs";
29
- import O from "./shared/utils/dayFlagToDay/index.mjs";
30
- import k from "./shared/utils/getDateRange/index.mjs";
31
- import A from "./shared/utils/getTimeRange/index.mjs";
32
- import { getAvailableDateRange as j } from "./shared/components/Scheduler/Scheduler.utils.mjs";
33
- import M from "./shared/components/Scheduler/ScheduleBlock/index.mjs";
34
- import N from "./shared/components/Scheduler/index.mjs";
35
- import P from "./teacher/profile/components/AvailableScheduleSection/index.mjs";
36
- import F from "./shared/components/Roller/RollerBlock/index.mjs";
37
- import I from "./shared/utils/birthDateToAge/index.mjs";
38
- import L from "./teacher/profile/components/CareNoteSection/CareNote/index.mjs";
39
- import R from "./shared/components/Roller/index.mjs";
40
- import z from "./teacher/profile/components/CareNoteSection/index.mjs";
41
- import { getChildLabel as B } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs";
42
- import V from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs";
43
- import H from "./teacher/profile/components/ParentReviewSection/index.mjs";
7
+ import { getLastActiveText as o } from "./teacher/profile/components/ProfileSummary/ProfileSummary.utils.mjs";
8
+ import s from "./teacher/profile/components/ProfileSummary/index.mjs";
9
+ import c from "./teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs";
10
+ import l from "./teacher/profile/components/StatBadgeCollection/index.mjs";
11
+ import u from "./shared/components/Masonry/MasonryBlock/index.mjs";
12
+ import d from "./shared/utils/combineRef/index.mjs";
13
+ import f from "./shared/hooks/useCombineRef/useCombineRef.mjs";
14
+ import p from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs";
15
+ import m from "./shared/components/Masonry/index.mjs";
16
+ import h from "./teacher/profile/components/ActivityGallery/index.mjs";
17
+ import g from "./teacher/profile/components/CertificateSection/CertificateItem/index.mjs";
18
+ import _ from "./teacher/profile/components/CertificateSection/index.mjs";
19
+ import v from "./teacher/profile/components/CareerSection/CareerItem/index.mjs";
20
+ import y from "./teacher/profile/components/CareerSection/index.mjs";
21
+ import b from "./teacher/profile/components/EducationSection/EducationItem/index.mjs";
22
+ import x from "./teacher/profile/components/EducationSection/index.mjs";
23
+ import S from "./teacher/profile/components/PreferredActivityKeywordGroup/index.mjs";
24
+ import { getPreferredAgeKeywords as C } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
25
+ import w from "./teacher/profile/components/PreferredAgeGroup/index.mjs";
26
+ import { getAbilityCollection as T } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
27
+ import E from "./teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs";
28
+ import D from "./teacher/profile/components/AbilityCollection/index.mjs";
29
+ import O from "./shared/components/Scheduler/ScheduleEvent/index.mjs";
30
+ import k from "./shared/utils/dayFlagToDay/index.mjs";
31
+ import A from "./shared/utils/getDateRange/index.mjs";
32
+ import j from "./shared/utils/getTimeRange/index.mjs";
33
+ import { getAvailableDateRange as M } from "./shared/components/Scheduler/Scheduler.utils.mjs";
34
+ import N from "./shared/components/Scheduler/ScheduleBlock/index.mjs";
35
+ import P from "./shared/components/Scheduler/index.mjs";
36
+ import F from "./teacher/profile/components/AvailableScheduleSection/index.mjs";
37
+ import I from "./shared/components/Roller/RollerBlock/index.mjs";
38
+ import L from "./shared/utils/birthDateToAge/index.mjs";
39
+ import R from "./teacher/profile/components/CareNoteSection/CareNote/index.mjs";
40
+ import z from "./shared/components/Roller/index.mjs";
41
+ import B from "./teacher/profile/components/CareNoteSection/index.mjs";
42
+ import { getChildLabel as V } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs";
43
+ import H from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs";
44
+ import U from "./teacher/profile/components/ParentReviewSection/index.mjs";
45
+ import { getBadgeLabel as W, getCareActivityLabel as G, getChargeLabel as K, getNote as q, getPictureLabel as J, getStrengthLabel as Y } from "./teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.mjs";
46
+ import X from "./teacher/profile/components/KokTeacherCard/index.mjs";
44
47
  import "./teacher/profile/components/index.mjs";
45
- import U from "./shared/components/LoadingAnnouncer/index.mjs";
46
- import W from "./teacher/home/components/TextAccount/TextAccount.fallback.mjs";
47
- import G from "./teacher/home/components/TextAccount/index.mjs";
48
- import K from "./shared/components/Carousel/CarouselSlide/index.mjs";
49
- import q from "./shared/components/Carousel/index.mjs";
50
- import J from "./teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs";
51
- import Y from "./teacher/home/components/Carousel1Account/index.mjs";
52
- import X from "./teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs";
53
- import Z from "./teacher/home/components/Carousel2Account/index.mjs";
54
- import Q from "./shared/components/Swiper/SwiperBlock/index.mjs";
55
- import $ from "./shared/components/MediaDialog/MediaBlock/index.mjs";
56
- import ee from "./shared/components/Swiper/index.mjs";
57
- import te from "./teacher/home/components/BannerAccount/BannerAccount.fallback.mjs";
58
- import ne from "./teacher/home/components/BannerAccount/index.mjs";
59
- import re from "./teacher/home/components/SingleAccount/SingleAccount.fallback.mjs";
60
- import ie from "./teacher/home/components/SingleAccount/index.mjs";
48
+ import Z from "./shared/components/LoadingAnnouncer/index.mjs";
49
+ import Q from "./teacher/home/components/TextAccount/TextAccount.fallback.mjs";
50
+ import $ from "./teacher/home/components/TextAccount/index.mjs";
51
+ import ee from "./shared/components/Carousel/CarouselSlide/index.mjs";
52
+ import te from "./shared/components/Carousel/index.mjs";
53
+ import ne from "./teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs";
54
+ import re from "./teacher/home/components/Carousel1Account/index.mjs";
55
+ import ie from "./teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs";
56
+ import ae from "./teacher/home/components/Carousel2Account/index.mjs";
57
+ import oe from "./shared/components/Swiper/SwiperBlock/index.mjs";
58
+ import se from "./shared/components/MediaDialog/MediaBlock/index.mjs";
59
+ import ce from "./shared/components/Swiper/index.mjs";
60
+ import le from "./teacher/home/components/BannerAccount/BannerAccount.fallback.mjs";
61
+ import ue from "./teacher/home/components/BannerAccount/index.mjs";
62
+ import de from "./teacher/home/components/SingleAccount/SingleAccount.fallback.mjs";
63
+ import fe from "./teacher/home/components/SingleAccount/index.mjs";
61
64
  import "./teacher/home/components/index.mjs";
62
- import ae from "./parent/notification/utils/sanitize/sanitize.mjs";
65
+ import pe from "./parent/notification/utils/sanitize/sanitize.mjs";
63
66
  import "./parent/notification/utils/index.mjs";
64
- import oe from "./parent/notification/components/NotificationCard/index.mjs";
67
+ import me from "./parent/notification/components/NotificationCard/index.mjs";
65
68
  import "./parent/notification/components/index.mjs";
66
- import { t as se } from "./convertMdToHtml-Bmk0brLK.js";
69
+ import { t as he } from "./convertMdToHtml-Bmk0brLK.js";
67
70
  import "./parent/b2b/utils/index.mjs";
68
- import ce from "./parent/b2b/components/ActionButtons/index.mjs";
69
- import le from "./parent/b2b/components/BottomNotes/index.mjs";
70
- import ue from "./shared/components/TextField/index.mjs";
71
- import de from "./parent/b2b/components/EmployeeNumberField/index.mjs";
72
- import fe from "./parent/b2b/components/NameField/index.mjs";
73
- import { isSuccess as pe, isValid as me } from "./parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs";
74
- import he from "./parent/b2b/components/PhoneNumberField/index.mjs";
75
- import ge from "./parent/b2b/components/Title/index.mjs";
76
- import _e from "./shared/components/MediaDialog/MediaDialogContent/index.mjs";
77
- import ve from "./shared/components/MediaDialog/MediaDialogFooter/index.mjs";
78
- import ye from "./shared/components/MediaDialog/MediaDialogToolbar/index.mjs";
79
- import be from "./shared/components/MediaDialog/index.mjs";
80
- import xe from "./shared/components/TimePicker/index.mjs";
81
- import Se from "./shared/components/Calendar/index.mjs";
82
- import Ce from "./shared/components/ChatKit/Message/Message.fallback.mjs";
83
- import { getMessageLabel as we, markMessageGroupBoundaries as Te } from "./shared/components/ChatKit/Message/Message.utils.mjs";
84
- import Ee from "./shared/components/ChatKit/Message/index.mjs";
85
- import { getImageMessageLabel as De, getPhotoAssetMessage as Oe } from "./shared/components/ChatKit/ImageMessage/ImageMessage.utils.mjs";
86
- import ke from "./shared/components/ChatKit/ImageMessage/index.mjs";
87
- import Ae from "./shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
88
- import { getSystemMessageLabel as je } from "./shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs";
89
- import Me from "./shared/components/ChatKit/SystemMessage/index.mjs";
90
- import { getBotMessageLabel as Ne, getCtaButtonText as Pe } from "./shared/components/ChatKit/BotMessage/BotMessage.utils.mjs";
91
- import Fe from "./shared/components/ChatKit/BotMessage/index.mjs";
92
- import Ie from "./shared/components/ChatKit/InputBar/InputBar.fallback.mjs";
93
- import Le from "./shared/components/ChatKit/InputBar/index.mjs";
94
- import Re from "./shared/components/ChatKit/Seperator/index.mjs";
95
- import ze from "./shared/components/ChatKit/UnreadMessagePill/index.mjs";
96
- import Be from "./parent/b2b/components/TopLogo/index.mjs";
71
+ import ge from "./parent/b2b/components/ActionButtons/index.mjs";
72
+ import _e from "./parent/b2b/components/BottomNotes/index.mjs";
73
+ import ve from "./shared/components/TextField/index.mjs";
74
+ import ye from "./parent/b2b/components/EmployeeNumberField/index.mjs";
75
+ import be from "./parent/b2b/components/NameField/index.mjs";
76
+ import { isSuccess as xe, isValid as Se } from "./parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs";
77
+ import Ce from "./parent/b2b/components/PhoneNumberField/index.mjs";
78
+ import we from "./parent/b2b/components/Title/index.mjs";
79
+ import Te from "./shared/components/MediaDialog/MediaDialogContent/index.mjs";
80
+ import Ee from "./shared/components/MediaDialog/MediaDialogFooter/index.mjs";
81
+ import De from "./shared/components/MediaDialog/MediaDialogToolbar/index.mjs";
82
+ import Oe from "./shared/components/MediaDialog/index.mjs";
83
+ import ke from "./shared/components/TimePicker/index.mjs";
84
+ import Ae from "./shared/components/Calendar/index.mjs";
85
+ import je from "./shared/components/ChatKit/Message/Message.fallback.mjs";
86
+ import { getMessageLabel as Me, markMessageGroupBoundaries as Ne } from "./shared/components/ChatKit/Message/Message.utils.mjs";
87
+ import Pe from "./shared/components/ChatKit/Message/index.mjs";
88
+ import { getImageMessageLabel as Fe, getPhotoAssetMessage as Ie } from "./shared/components/ChatKit/ImageMessage/ImageMessage.utils.mjs";
89
+ import Le from "./shared/components/ChatKit/ImageMessage/index.mjs";
90
+ import Re from "./shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
91
+ import { getSystemMessageLabel as ze } from "./shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs";
92
+ import Be from "./shared/components/ChatKit/SystemMessage/index.mjs";
93
+ import { getBotMessageLabel as Ve, getCtaButtonText as He } from "./shared/components/ChatKit/BotMessage/BotMessage.utils.mjs";
94
+ import Ue from "./shared/components/ChatKit/BotMessage/index.mjs";
95
+ import We from "./shared/components/ChatKit/InputBar/InputBar.fallback.mjs";
96
+ import Ge from "./shared/components/ChatKit/InputBar/index.mjs";
97
+ import Ke from "./shared/components/ChatKit/Seperator/index.mjs";
98
+ import qe from "./shared/components/ChatKit/UnreadMessagePill/index.mjs";
99
+ import Je from "./parent/b2b/components/TopLogo/index.mjs";
97
100
  import "./parent/b2b/components/index.mjs";
98
- import Ve from "./shared/utils/isAndroid/index.mjs";
99
- import He from "./shared/utils/isIos/index.mjs";
100
- import Ue from "./shared/utils/isApp/index.mjs";
101
- import We from "./shared/utils/isDesktop/index.mjs";
102
- import Ge from "./shared/utils/ageToBirthDate/index.mjs";
103
- import Ke from "./shared/utils/objectToQueryString/index.mjs";
104
- import qe from "./shared/utils/getVimeoId/index.mjs";
105
- import Je from "./shared/utils/parseQueryString/index.mjs";
106
- import Ye from "./shared/utils/share/index.mjs";
107
- import Xe from "./shared/utils/getCareTypeLabel/index.mjs";
101
+ import Ye from "./shared/utils/isAndroid/index.mjs";
102
+ import Xe from "./shared/utils/isIos/index.mjs";
103
+ import Ze from "./shared/utils/isApp/index.mjs";
104
+ import Qe from "./shared/utils/isDesktop/index.mjs";
105
+ import $e from "./shared/utils/ageToBirthDate/index.mjs";
106
+ import et from "./shared/utils/objectToQueryString/index.mjs";
107
+ import tt from "./shared/utils/getVimeoId/index.mjs";
108
+ import nt from "./shared/utils/parseQueryString/index.mjs";
109
+ import rt from "./shared/utils/share/index.mjs";
110
+ import it from "./shared/utils/getCareTypeLabel/index.mjs";
111
+ import at from "./shared/utils/getHoverChildrenScaleStyle/index.mjs";
108
112
  import "./shared/utils/index.mjs";
109
- export { T as AbilityBadge, E as AbilityCollection, ce as ActionButtons, m as ActivityGallery, f as ActivityGalleryItem, P as AvailableScheduleSection, ne as BannerAccount, te as BannerAccountFallback, Fe as BotMessage, le as BottomNotes, Se as Calendar, L as CareNote, z as CareNoteSection, _ as CareerItem, v as CareerSection, q as Carousel, Y as Carousel1Account, J as Carousel1AccountFallback, Z as Carousel2Account, X as Carousel2AccountFallback, K as CarouselSlide, h as CertificateItem, g as CertificateSection, Ae as DirectTradeRiskInfoBottomSheet, y as EducationItem, b as EducationSection, de as EmployeeNumberField, a as Image, i as ImageError, ke as ImageMessage, Le as InputBar, Ie as InputBarFallback, U as LoadingAnnouncer, p as Masonry, l as MasonryBlock, $ as MediaBlock, be as MediaDialog, _e as MediaDialogContent, ve as MediaDialogFooter, ye as MediaDialogToolbar, Ee as Message, Ce as MessageFallback, fe as NameField, oe as NotificationCard, V as ParentReviewCard, H as ParentReviewSection, he as PhoneNumberField, x as PreferredActivityKeywordGroup, C as PreferredAgeGroup, o as ProfileSummary, R as Roller, F as RollerBlock, M as ScheduleBlock, D as ScheduleEvent, N as Scheduler, Re as Seperator, ie as SingleAccount, re as SingleAccountFallback, s as StatBadge, c as StatBadgeCollection, ee as Swiper, Q as SwiperBlock, Me as SystemMessage, G as TextAccount, W as TextAccountFallback, ue as TextField, xe as TimePicker, ge as Title, Be as TopLogo, ze as UnreadMessagePill, Ge as ageToBirthDate, I as birthDateToAge, u as combineRef, se as convertMdToHtml, O as dayFlagToDay, w as getAbilityCollection, j as getAvailableDateRange, Ne as getBotMessageLabel, Xe as getCareTypeLabel, B as getChildLabel, Pe as getCtaButtonText, k as getDateRange, De as getImageMessageLabel, r as getImageUrl, we as getMessageLabel, Oe as getPhotoAssetMessage, S as getPreferredAgeKeywords, je as getSystemMessageLabel, A as getTimeRange, qe as getVimeoId, Ve as isAndroid, Ue as isApp, We as isDesktop, He as isIos, t as isServer, pe as isSuccess, me as isValid, Te as markMessageGroupBoundaries, Ke as objectToQueryString, Je as parseQueryString, ae as sanitize, Ye as share, d as useCombineRef, e as useInView, n as useIsomorphicLayoutEffect };
113
+ export { E as AbilityBadge, D as AbilityCollection, ge as ActionButtons, h as ActivityGallery, p as ActivityGalleryItem, F as AvailableScheduleSection, ue as BannerAccount, le as BannerAccountFallback, Ue as BotMessage, _e as BottomNotes, Ae as Calendar, R as CareNote, B as CareNoteSection, v as CareerItem, y as CareerSection, te as Carousel, re as Carousel1Account, ne as Carousel1AccountFallback, ae as Carousel2Account, ie as Carousel2AccountFallback, ee as CarouselSlide, g as CertificateItem, _ as CertificateSection, Re as DirectTradeRiskInfoBottomSheet, b as EducationItem, x as EducationSection, ye as EmployeeNumberField, a as Image, i as ImageError, Le as ImageMessage, Ge as InputBar, We as InputBarFallback, X as KokTeacherCard, Z as LoadingAnnouncer, m as Masonry, u as MasonryBlock, se as MediaBlock, Oe as MediaDialog, Te as MediaDialogContent, Ee as MediaDialogFooter, De as MediaDialogToolbar, Pe as Message, je as MessageFallback, be as NameField, me as NotificationCard, H as ParentReviewCard, U as ParentReviewSection, Ce as PhoneNumberField, S as PreferredActivityKeywordGroup, w as PreferredAgeGroup, s as ProfileSummary, z as Roller, I as RollerBlock, N as ScheduleBlock, O as ScheduleEvent, P as Scheduler, Ke as Seperator, fe as SingleAccount, de as SingleAccountFallback, c as StatBadge, l as StatBadgeCollection, ce as Swiper, oe as SwiperBlock, Be as SystemMessage, $ as TextAccount, Q as TextAccountFallback, ve as TextField, ke as TimePicker, we as Title, Je as TopLogo, qe as UnreadMessagePill, $e as ageToBirthDate, L as birthDateToAge, d as combineRef, he as convertMdToHtml, k as dayFlagToDay, T as getAbilityCollection, M as getAvailableDateRange, W as getBadgeLabel, Ve as getBotMessageLabel, G as getCareActivityLabel, it as getCareTypeLabel, K as getChargeLabel, V as getChildLabel, He as getCtaButtonText, A as getDateRange, at as getHoverChildrenScaleStyle, Fe as getImageMessageLabel, r as getImageUrl, o as getLastActiveText, Me as getMessageLabel, q as getNote, Ie as getPhotoAssetMessage, J as getPictureLabel, C as getPreferredAgeKeywords, Y as getStrengthLabel, ze as getSystemMessageLabel, j as getTimeRange, tt as getVimeoId, Ye as isAndroid, Ze as isApp, Qe as isDesktop, Xe as isIos, t as isServer, xe as isSuccess, Se as isValid, Ne as markMessageGroupBoundaries, et as objectToQueryString, nt as parseQueryString, pe as sanitize, rt as share, f as useCombineRef, e as useInView, n as useIsomorphicLayoutEffect };
@@ -1,21 +1,21 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import n from "@dotss/ui/Flexbox";
3
- import r from "@dotss/ui/Button";
2
+ import n from "@dotss/ui/Button";
3
+ import r from "@dotss/ui/Flexbox";
4
4
  //#region parent/b2b/components/ActionButtons/ActionButtons.tsx
5
5
  function i({ topButtonOnClick: i, bottomButtonOnClick: a, topButtonLabel: o, topButtonProps: s, bottomButtonLabel: c, bottomButtonProps: l, ...u }) {
6
- return /* @__PURE__ */ t(n, {
6
+ return /* @__PURE__ */ t(r, {
7
7
  flexDirection: "column",
8
8
  gap: 2,
9
9
  inlineCSS: { width: "100%" },
10
10
  ...u,
11
- children: [/* @__PURE__ */ e(r, {
11
+ children: [/* @__PURE__ */ e(n, {
12
12
  type: "button",
13
13
  color: "secondary",
14
14
  size: "large",
15
15
  onClick: i,
16
16
  ...s,
17
17
  children: o || "인증하기"
18
- }), /* @__PURE__ */ e(r, {
18
+ }), /* @__PURE__ */ e(n, {
19
19
  size: "large",
20
20
  onClick: a,
21
21
  ...l,
@@ -1,58 +1,59 @@
1
- import e from "./CarouselSlide/index.mjs";
2
- import { Children as t, cloneElement as n, isValidElement as r, useCallback as i, useEffect as a, useRef as o, useState as s } from "react";
3
- import { Flexbox as c } from "@dotss/ui";
4
- import l from "@dotss/ui/core/useTheme";
5
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
1
+ import { getCarouselSwipeDelta as e } from "./Carousel.utils.mjs";
2
+ import t from "./CarouselSlide/index.mjs";
3
+ import { Children as n, cloneElement as r, isValidElement as i, useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
4
+ import { Flexbox as l } from "@dotss/ui";
5
+ import u from "@dotss/ui/core/useTheme";
6
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
6
7
  //#region shared/components/Carousel/Carousel.tsx
7
- var f = 5;
8
- function p({ children: p, spacing: m = 2, edgeSpacing: h = 4, rowCount: g = 2, step: _ = 1, renderPagination: v, ...y }) {
9
- let { spacing: b } = l(), [x, S] = s(1), [C, w] = s(1), [T, E] = s(0), D = o(null), O = o(null), k = o(null), A = o(0), j = o(0), M = o(0), N = o(!1), P = o(!0), F = o(0), I = b.content(m), L = b.content(h), R = t.toArray(p).filter(r).filter((t) => t.type === e), z = R.length, B = (e, t) => {
10
- A.current = e, j.current = t;
11
- }, V = () => {
12
- if (!O.current || !N.current) return;
13
- let e = (k.current?.offsetWidth || 0) * .01, t = -M.current >= e && x + 1 <= C, n = -M.current <= -e && x - 1 >= 1, r = Math.abs(M.current) >= f;
14
- N.current = !1, P.current = !r, M.current = 0;
15
- let i = x;
16
- t ? i = x + 1 : n && (i = x - 1), O.current.style.transition = "transform 0.2s", O.current.style.cursor = "grab", H(i);
17
- }, H = i((e, t = 0) => {
18
- if (!O.current) return;
19
- S(e);
20
- let n = e === 1, r = e === C, i = (D.current?.offsetWidth || 0) - L, a = (k.current?.children[0]?.clientWidth || 0) + I, o = (i - a * Math.floor(i / a) - I) / 2, s = a * (e - 1) - o;
21
- n ? O.current.style.transform = `translate3d(${t}px, 0, 0)` : r ? O.current.style.transform = `translate3d(${-(s - o) + t}px, 0, 0)` : O.current.style.transform = `translate3d(${-s + t}px, 0, 0)`;
8
+ var p = 5;
9
+ function m({ children: m, spacing: h = 2, edgeSpacing: g = 4, rowCount: _ = 2, step: v = 1, renderPagination: y, ...b }) {
10
+ let { spacing: x } = u(), [S, C] = c(1), [w, T] = c(1), [E, D] = c(0), O = s(null), k = s(null), A = s(null), j = s(0), M = s(0), N = s(0), P = s(!1), F = s(!0), I = s(0), L = x.content(h), R = x.content(g), z = n.toArray(m).filter(i).filter((e) => e.type === t), B = z.length, V = (e, t) => {
11
+ j.current = e, M.current = t;
12
+ }, H = () => {
13
+ if (!k.current || !P.current) return;
14
+ let e = (A.current?.offsetWidth || 0) * .01, t = -N.current >= e && S + 1 <= w, n = -N.current <= -e && S - 1 >= 1, r = Math.abs(N.current) >= p;
15
+ P.current = !1, F.current = !r, N.current = 0;
16
+ let i = S;
17
+ t ? i = S + 1 : n && (i = S - 1), k.current.style.transition = "transform 0.2s", k.current.style.cursor = "grab", U(i);
18
+ }, U = a((e, t = 0) => {
19
+ if (!k.current) return;
20
+ C(e);
21
+ let n = e === 1, r = e === w, i = (O.current?.offsetWidth || 0) - R, a = (A.current?.children[0]?.clientWidth || 0) + L, o = (i - a * Math.floor(i / a) - L) / 2, s = a * (e - 1) - o;
22
+ n ? k.current.style.transform = `translate3d(${t}px, 0, 0)` : r ? k.current.style.transform = `translate3d(${-(s - o) + t}px, 0, 0)` : k.current.style.transform = `translate3d(${-s + t}px, 0, 0)`;
22
23
  }, [
24
+ R,
23
25
  L,
24
- I,
25
- C
26
- ]), U = (e) => B(e.touches[0].clientX, e.touches[0].clientY), W = (e) => {
27
- N.current = !0, B(e.clientX, e.clientY);
28
- }, G = (e) => {
29
- O.current && (O.current.style.transition = "transform 0.2s", O.current.style.cursor = "grab", H(e));
30
- }, K = (e) => (t) => {
26
+ w
27
+ ]), W = (e) => V(e.touches[0].clientX, e.touches[0].clientY), G = (e) => {
28
+ P.current = !0, V(e.clientX, e.clientY);
29
+ }, K = (e) => {
30
+ k.current && (k.current.style.transition = "transform 0.2s", k.current.style.cursor = "grab", U(e));
31
+ }, q = (e) => (t) => {
31
32
  t.stopPropagation();
32
- let n = Array.from(k.current?.children || []).indexOf(t.currentTarget), r = (D.current?.offsetWidth || 0) - L * 2, i = (k.current?.children[0]?.clientWidth || 0) + I, a = Math.floor(r / (i / _)) * g, o = (x - 1) * a, s = o + a - 1, c = k.current?.children.length || 0, l = n % g, u = Math.floor(n / g), d = n;
33
+ let n = Array.from(A.current?.children || []).indexOf(t.currentTarget), r = (O.current?.offsetWidth || 0) - R * 2, i = (A.current?.children[0]?.clientWidth || 0) + L, a = Math.floor(r / (i / v)) * _, o = (S - 1) * a, s = o + a - 1, c = A.current?.children.length || 0, l = n % _, u = Math.floor(n / _), d = n;
33
34
  switch (t.key) {
34
35
  case "ArrowRight": {
35
36
  t.preventDefault();
36
- let e = (u + 1) * g + l;
37
+ let e = (u + 1) * _ + l;
37
38
  e < c && (d = e);
38
39
  break;
39
40
  }
40
41
  case "ArrowLeft": {
41
42
  t.preventDefault();
42
- let e = (u - 1) * g + l;
43
+ let e = (u - 1) * _ + l;
43
44
  e >= 0 && (d = e);
44
45
  break;
45
46
  }
46
47
  case "ArrowDown": {
47
48
  t.preventDefault();
48
49
  let e = n + 1;
49
- e < c && e % g > l && (d = e);
50
+ e < c && e % _ > l && (d = e);
50
51
  break;
51
52
  }
52
53
  case "ArrowUp": {
53
54
  t.preventDefault();
54
55
  let e = n - 1;
55
- e >= 0 && e % g < l && (d = e);
56
+ e >= 0 && e % _ < l && (d = e);
56
57
  break;
57
58
  }
58
59
  case "Enter":
@@ -62,124 +63,129 @@ function p({ children: p, spacing: m = 2, edgeSpacing: h = 4, rowCount: g = 2, s
62
63
  default: return;
63
64
  }
64
65
  if (d >= o && d <= s) {
65
- (k.current?.children[d])?.focus();
66
+ (A.current?.children[d])?.focus();
66
67
  return;
67
68
  }
68
- d >= 0 && d < c && (F.current = requestAnimationFrame(() => {
69
- (k.current?.children[d])?.focus();
69
+ d >= 0 && d < c && (I.current = requestAnimationFrame(() => {
70
+ (A.current?.children[d])?.focus();
70
71
  })), e?.(t);
71
- }, q = (e) => {
72
- e.propertyName === "transform" && (P.current = !0);
73
- }, J = (e) => (t) => {
74
- E(Number(t.currentTarget.getAttribute("aria-posinset")) - 1), e?.(t);
72
+ }, J = (e) => {
73
+ e.propertyName === "transform" && (F.current = !0);
74
+ }, Y = (e) => (t) => {
75
+ D(Number(t.currentTarget.getAttribute("aria-posinset")) - 1), e?.(t);
75
76
  };
76
- return a(() => {
77
- let e = () => H(x);
77
+ return o(() => {
78
+ let e = () => U(S);
78
79
  return e(), window.addEventListener("resize", e), () => {
79
80
  window.removeEventListener("resize", e);
80
81
  };
81
- }, [H, x]), a(() => {
82
+ }, [U, S]), o(() => {
82
83
  let e = () => {
83
- let e = (D.current?.offsetWidth || 0) - L * 2, t = (k.current?.children[0]?.clientWidth || 0) + I, n = Math.floor(e / (t / _)), r = Math.ceil(z / (g || 1)), i = Math.max(r - (n - 1), 1);
84
- S((e) => e > i ? i : e), w(i);
84
+ let e = (O.current?.offsetWidth || 0) - R * 2, t = (A.current?.children[0]?.clientWidth || 0) + L, n = Math.floor(e / (t / v)), r = Math.ceil(B / (_ || 1)), i = Math.max(r - (n - 1), 1);
85
+ C((e) => e > i ? i : e), T(i);
85
86
  };
86
87
  return e(), window.addEventListener("resize", e), () => {
87
88
  window.removeEventListener("resize", e);
88
89
  };
89
90
  }, [
91
+ R,
90
92
  L,
91
- I,
92
- z,
93
+ B,
94
+ v,
93
95
  _,
94
- g,
95
- p
96
- ]), a(() => {
97
- let e = O.current, t = (t, n, r) => {
98
- if (!e || C <= 1) return;
99
- e.style.transition = "none", e.style.cursor = "grabbing", M.current = t - A.current;
100
- let i = n - j.current;
101
- N.current = N.current || Math.abs(M.current) > 5 && Math.abs(i) < 10, N.current && (r.cancelable && (r.stopPropagation(), r.preventDefault()), e.style.transition = "none", e.style.cursor = "grabbing", H(x, M.current));
102
- }, n = (e) => t(e.touches[0].clientX, e.touches[0].clientY, e), r = (e) => {
103
- N.current && t(e.clientX, e.clientY, e);
96
+ m
97
+ ]), o(() => {
98
+ let t = k.current, n = (n, r, i) => {
99
+ if (!t || w <= 1) return;
100
+ t.style.transition = "none", t.style.cursor = "grabbing", N.current = n - j.current;
101
+ let a = r - M.current;
102
+ P.current = P.current || Math.abs(N.current) > 5 && Math.abs(a) < 10, P.current && (i.cancelable && (i.stopPropagation(), i.preventDefault()), t.style.transition = "none", t.style.cursor = "grabbing", U(S, e({
103
+ fingerDeltaX: N.current,
104
+ page: S,
105
+ totalPages: w,
106
+ width: O.current?.offsetWidth ?? 0
107
+ })));
108
+ }, r = (e) => n(e.touches[0].clientX, e.touches[0].clientY, e), i = (e) => {
109
+ P.current && n(e.clientX, e.clientY, e);
104
110
  };
105
- return e && (e.addEventListener("mousemove", r), e.addEventListener("touchmove", n)), () => {
106
- e && (e.removeEventListener("mousemove", r), e.removeEventListener("touchmove", n));
111
+ return t && (t.addEventListener("mousemove", i), t.addEventListener("touchmove", r)), () => {
112
+ t && (t.removeEventListener("mousemove", i), t.removeEventListener("touchmove", r));
107
113
  };
108
114
  }, [
109
- H,
110
- x,
111
- C
112
- ]), a(() => () => {
113
- F.current && cancelAnimationFrame(F.current);
114
- }, []), a(() => {
115
- let e = k.current, t = (e) => {
116
- P.current || (e.stopPropagation(), e.preventDefault());
115
+ U,
116
+ S,
117
+ w
118
+ ]), o(() => () => {
119
+ I.current && cancelAnimationFrame(I.current);
120
+ }, []), o(() => {
121
+ let e = A.current, t = (e) => {
122
+ F.current || (e.stopPropagation(), e.preventDefault());
117
123
  };
118
124
  return e?.addEventListener("click", t), () => {
119
125
  e?.removeEventListener("click", t);
120
126
  };
121
- }, []), /* @__PURE__ */ d(c, {
127
+ }, []), /* @__PURE__ */ f(l, {
122
128
  flexDirection: "column",
123
129
  role: "list",
124
130
  "aria-roledescription": "carousel",
125
131
  "aria-label": "슬라이더",
126
132
  flexGrow: 1,
127
- ...y,
133
+ ...b,
128
134
  inlineCSS: {
129
135
  width: "100%",
130
- ...y?.inlineCSS
136
+ ...b?.inlineCSS
131
137
  },
132
- children: [/* @__PURE__ */ u(c, {
133
- ref: D,
138
+ children: [/* @__PURE__ */ d(l, {
139
+ ref: O,
134
140
  inlineCSS: { overflow: "hidden" },
135
- children: /* @__PURE__ */ u(c, {
136
- ref: O,
137
- onMouseDown: W,
138
- onMouseUp: V,
139
- onMouseLeave: V,
140
- onTouchStart: U,
141
- onTouchEnd: V,
142
- onTouchCancel: V,
143
- onTransitionEnd: q,
141
+ children: /* @__PURE__ */ d(l, {
142
+ ref: k,
143
+ onMouseDown: G,
144
+ onMouseUp: H,
145
+ onMouseLeave: H,
146
+ onTouchStart: W,
147
+ onTouchEnd: H,
148
+ onTouchCancel: H,
149
+ onTransitionEnd: J,
144
150
  inlineCSS: {
145
- gap: I,
146
- paddingLeft: L,
147
- paddingRight: L,
151
+ gap: L,
152
+ paddingLeft: R,
153
+ paddingRight: R,
148
154
  transition: "transform 0.2s",
149
155
  transform: "translate3d(0, 0, 0)",
150
156
  cursor: "grab"
151
157
  },
152
- children: /* @__PURE__ */ u(c, {
153
- ref: k,
158
+ children: /* @__PURE__ */ d(l, {
159
+ ref: A,
154
160
  inlineCSS: {
155
- gap: I,
161
+ gap: L,
156
162
  display: "grid",
157
163
  gridTemplateRows: "min-content",
158
164
  transform: "translate3d(0, 0, 0)"
159
165
  },
160
- children: t.map(R, (e, t) => n(e, {
166
+ children: n.map(z, (e, t) => r(e, {
161
167
  role: "listitem",
162
- tabIndex: t === T ? 0 : -1,
168
+ tabIndex: t === E ? 0 : -1,
163
169
  "aria-roledescription": "slide",
164
- "aria-label": `${z}개 중 ${t + 1}번째 슬라이드`,
170
+ "aria-label": `${B}개 중 ${t + 1}번째 슬라이드`,
165
171
  "aria-posinset": t + 1,
166
- "aria-setsize": z,
167
- onKeyDown: K(e.props.onKeyDown),
168
- onFocus: J(e.props.onFocus),
172
+ "aria-setsize": B,
173
+ onKeyDown: q(e.props.onKeyDown),
174
+ onFocus: Y(e.props.onFocus),
169
175
  ...e.props,
170
176
  style: {
171
177
  ...e.props?.style,
172
- gridRow: `${t % g + 1} / ${t % g + 1}`
178
+ gridRow: `${t % _ + 1} / ${t % _ + 1}`
173
179
  }
174
180
  }))
175
181
  })
176
182
  })
177
- }), typeof v == "function" && v({
178
- page: x,
179
- totalPages: C,
180
- onChange: G
183
+ }), typeof y == "function" && y({
184
+ page: S,
185
+ totalPages: w,
186
+ onChange: K
181
187
  })]
182
188
  });
183
189
  }
184
190
  //#endregion
185
- export { p as default };
191
+ export { m as default };
@@ -0,0 +1,8 @@
1
+ export declare const EDGE_RESISTANCE = 0.55;
2
+ export declare function addDamping(distance: number, maxDistance: number, constant?: number): number;
3
+ export declare function getCarouselSwipeDelta({ fingerDeltaX, page, totalPages, width }: {
4
+ fingerDeltaX: number;
5
+ page: number;
6
+ totalPages: number;
7
+ width: number;
8
+ }): number;
@@ -0,0 +1,12 @@
1
+ //#region shared/components/Carousel/Carousel.utils.tsx
2
+ var e = .55;
3
+ function t(t, n, r = e) {
4
+ if (t === 0 || n <= 0) return 0;
5
+ let i = Math.abs(t), a = i * n * r / (n + r * i);
6
+ return Math.sign(t) * a;
7
+ }
8
+ function n({ fingerDeltaX: e, page: n, totalPages: r, width: i }) {
9
+ return !(n === 1 && e > 0) && !(n === r && e < 0) ? e : t(e, i);
10
+ }
11
+ //#endregion
12
+ export { e as EDGE_RESISTANCE, t as addDamping, n as getCarouselSwipeDelta };
@@ -21,6 +21,7 @@ export interface ImageProps extends Omit<HTMLProps<HTMLImageElement>, 'onError'>
21
21
  enableFallback?: boolean;
22
22
  enableErrorFallback?: boolean;
23
23
  renderErrorFallback?: () => ReactNode;
24
+ enableHoverScale?: boolean;
24
25
  }
25
26
  declare const Image: import('react').ForwardRefExoticComponent<Omit<ImageProps, "ref"> & import('react').RefAttributes<HTMLImageElement>>;
26
27
  export default Image;