@dotss/tictoccroc 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Calendar-BOLCHnjh.js +97 -0
- package/dist/TimePicker-BwACyeBR.js +120 -0
- package/dist/convertMdToHtml-Bmk0brLK.js +1431 -0
- package/dist/index.mjs +105 -200
- package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +26 -29
- package/dist/parent/b2b/components/ActionButtons/index.mjs +5 -4
- package/dist/parent/b2b/components/BottomNotes/BottomNotes.mjs +37 -35
- package/dist/parent/b2b/components/BottomNotes/index.mjs +5 -4
- package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs +12 -15
- package/dist/parent/b2b/components/EmployeeNumberField/index.mjs +5 -4
- package/dist/parent/b2b/components/NameField/NameField.mjs +12 -7
- package/dist/parent/b2b/components/NameField/index.mjs +5 -4
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs +27 -30
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs +7 -8
- package/dist/parent/b2b/components/PhoneNumberField/index.mjs +6 -7
- package/dist/parent/b2b/components/Title/Title.mjs +22 -16
- package/dist/parent/b2b/components/Title/index.mjs +4 -3
- package/dist/parent/b2b/components/TopLogo/TopLogo.mjs +55 -93
- package/dist/parent/b2b/components/TopLogo/index.mjs +5 -4
- package/dist/parent/b2b/components/index.mjs +9 -19
- package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs +2 -1143
- package/dist/parent/b2b/utils/index.mjs +2 -4
- package/dist/parent/notification/components/NotificationCard/NotificationCard.d.ts +3 -1
- package/dist/parent/notification/components/NotificationCard/NotificationCard.mjs +90 -105
- package/dist/parent/notification/components/NotificationCard/index.mjs +5 -4
- package/dist/parent/notification/components/index.mjs +2 -4
- package/dist/parent/notification/utils/index.mjs +2 -4
- package/dist/parent/notification/utils/sanitize/sanitize.mjs +6 -6
- package/dist/purify.es-D3W4zDrg.js +549 -0
- package/dist/shared/components/Calendar/Calendar.mjs +2 -80
- package/dist/shared/components/Calendar/index.mjs +5 -4
- package/dist/shared/components/Carousel/Carousel.mjs +184 -210
- package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +10 -7
- package/dist/shared/components/Carousel/CarouselSlide/index.mjs +5 -4
- package/dist/shared/components/Carousel/index.mjs +6 -6
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.mjs +151 -183
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.utils.mjs +30 -50
- package/dist/shared/components/ChatKit/BotMessage/index.mjs +6 -8
- package/dist/shared/components/ChatKit/InputBar/InputBar.fallback.mjs +64 -84
- package/dist/shared/components/ChatKit/InputBar/InputBar.mjs +105 -130
- package/dist/shared/components/ChatKit/InputBar/index.mjs +6 -6
- package/dist/shared/components/ChatKit/Message/Message.fallback.mjs +50 -66
- package/dist/shared/components/ChatKit/Message/Message.mjs +178 -276
- package/dist/shared/components/ChatKit/Message/Message.utils.mjs +20 -31
- package/dist/shared/components/ChatKit/Message/index.mjs +7 -9
- package/dist/shared/components/ChatKit/Seperator/Seperator.mjs +31 -27
- package/dist/shared/components/ChatKit/Seperator/index.mjs +4 -3
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs +183 -153
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.mjs +83 -108
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs +5 -5
- package/dist/shared/components/ChatKit/SystemMessage/index.mjs +7 -8
- package/dist/shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.mjs +49 -54
- package/dist/shared/components/ChatKit/UnreadMessagePill/index.mjs +5 -4
- package/dist/shared/components/ChatKit/index.mjs +13 -29
- package/dist/shared/components/Image/Image.d.ts +2 -0
- package/dist/shared/components/Image/Image.error.mjs +34 -40
- package/dist/shared/components/Image/Image.mjs +247 -289
- package/dist/shared/components/Image/index.mjs +6 -6
- package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs +19 -18
- package/dist/shared/components/LoadingAnnouncer/index.mjs +5 -4
- package/dist/shared/components/Masonry/Masonry.mjs +240 -276
- package/dist/shared/components/Masonry/Masonry.utils.mjs +62 -81
- package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.mjs +111 -144
- package/dist/shared/components/Masonry/MasonryBlock/index.mjs +5 -4
- package/dist/shared/components/Masonry/index.mjs +6 -6
- package/dist/shared/components/MediaDialog/MediaBlock/MediaBlock.mjs +54 -69
- package/dist/shared/components/MediaDialog/MediaBlock/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialog.mjs +216 -330
- package/dist/shared/components/MediaDialog/MediaDialogContent/MediaDialogContent.mjs +18 -21
- package/dist/shared/components/MediaDialog/MediaDialogContent/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs +22 -27
- package/dist/shared/components/MediaDialog/MediaDialogFooter/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialogToolbar/MediaDialogToolbar.mjs +15 -21
- package/dist/shared/components/MediaDialog/MediaDialogToolbar/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/index.mjs +9 -12
- package/dist/shared/components/Roller/Roller.mjs +99 -132
- package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +9 -6
- package/dist/shared/components/Roller/RollerBlock/index.mjs +5 -4
- package/dist/shared/components/Roller/index.mjs +6 -6
- package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +22 -30
- package/dist/shared/components/Scheduler/ScheduleBlock/index.mjs +5 -4
- package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +25 -35
- package/dist/shared/components/Scheduler/ScheduleEvent/index.mjs +5 -4
- package/dist/shared/components/Scheduler/Scheduler.mjs +472 -567
- package/dist/shared/components/Scheduler/Scheduler.utils.mjs +78 -101
- package/dist/shared/components/Scheduler/index.mjs +8 -10
- package/dist/shared/components/Swiper/Swiper.mjs +238 -283
- package/dist/shared/components/Swiper/Swiper.utils.mjs +19 -24
- package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +14 -17
- package/dist/shared/components/Swiper/SwiperBlock/index.mjs +5 -4
- package/dist/shared/components/Swiper/index.mjs +6 -6
- package/dist/shared/components/TextField/TextField.mjs +44 -55
- package/dist/shared/components/TextField/index.mjs +5 -4
- package/dist/shared/components/TimePicker/TimePicker.mjs +2 -120
- package/dist/shared/components/TimePicker/index.mjs +5 -4
- package/dist/shared/components/index.mjs +36 -75
- package/dist/shared/hooks/index.mjs +4 -8
- package/dist/shared/hooks/useCombineRef/index.mjs +5 -4
- package/dist/shared/hooks/useCombineRef/useCombineRef.mjs +7 -7
- package/dist/shared/hooks/useInView/index.mjs +5 -4
- package/dist/shared/hooks/useInView/useInView.d.ts +2 -1
- package/dist/shared/hooks/useInView/useInView.mjs +37 -47
- package/dist/shared/hooks/useIsomorphicLayoutEffect/index.mjs +5 -4
- package/dist/shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs +6 -6
- package/dist/shared/typings/common.mjs +6 -4
- package/dist/shared/typings/index.mjs +2 -4
- package/dist/shared/utils/ageToBirthDate/ageToBirthDate.mjs +17 -9
- package/dist/shared/utils/ageToBirthDate/index.mjs +5 -4
- package/dist/shared/utils/birthDateToAge/birthDateToAge.mjs +9 -10
- package/dist/shared/utils/birthDateToAge/index.mjs +4 -3
- package/dist/shared/utils/combineRef/combineRef.mjs +20 -23
- package/dist/shared/utils/combineRef/index.mjs +5 -4
- package/dist/shared/utils/dayFlagToDay/dayFlagToDay.mjs +15 -23
- package/dist/shared/utils/dayFlagToDay/index.mjs +5 -4
- package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.mjs +13 -20
- package/dist/shared/utils/getCareTypeLabel/index.mjs +5 -4
- package/dist/shared/utils/getDateRange/getDateRange.mjs +15 -20
- package/dist/shared/utils/getDateRange/index.mjs +5 -4
- package/dist/shared/utils/getImageUrl/getImageUrl.mjs +7 -17
- package/dist/shared/utils/getImageUrl/index.mjs +5 -6
- package/dist/shared/utils/getTimeRange/getTimeRange.mjs +19 -21
- package/dist/shared/utils/getTimeRange/index.mjs +5 -4
- package/dist/shared/utils/getVimeoId/getVimeoId.mjs +11 -11
- package/dist/shared/utils/getVimeoId/index.mjs +5 -4
- package/dist/shared/utils/index.mjs +18 -36
- package/dist/shared/utils/isAndroid/index.mjs +5 -4
- package/dist/shared/utils/isAndroid/isAndroid.mjs +5 -5
- package/dist/shared/utils/isApp/index.mjs +5 -4
- package/dist/shared/utils/isApp/isApp.mjs +4 -4
- package/dist/shared/utils/isDesktop/index.mjs +5 -4
- package/dist/shared/utils/isDesktop/isDesktop.mjs +15 -15
- package/dist/shared/utils/isIos/index.mjs +5 -4
- package/dist/shared/utils/isIos/isIos.mjs +5 -5
- package/dist/shared/utils/isServer/index.mjs +4 -3
- package/dist/shared/utils/isServer/isServer.mjs +4 -4
- package/dist/shared/utils/objectToQueryString/index.mjs +5 -4
- package/dist/shared/utils/objectToQueryString/objectToQueryString.mjs +7 -8
- package/dist/shared/utils/parseQueryString/index.mjs +4 -3
- package/dist/shared/utils/parseQueryString/parseQueryString.mjs +5 -5
- package/dist/shared/utils/share/index.mjs +5 -4
- package/dist/shared/utils/share/share.mjs +12 -14
- package/dist/teacher/home/components/BannerAccount/BannerAccount.fallback.mjs +19 -11
- package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +83 -99
- package/dist/teacher/home/components/BannerAccount/index.mjs +6 -7
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs +127 -67
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +68 -82
- package/dist/teacher/home/components/Carousel1Account/index.mjs +6 -7
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs +112 -94
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +79 -85
- package/dist/teacher/home/components/Carousel2Account/index.mjs +6 -7
- package/dist/teacher/home/components/TextAccount/TextAccount.fallback.mjs +119 -108
- package/dist/teacher/home/components/TextAccount/TextAccount.mjs +91 -111
- package/dist/teacher/home/components/TextAccount/index.mjs +6 -7
- package/dist/teacher/home/components/index.mjs +9 -18
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs +345 -442
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs +5 -5
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +106 -109
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs +54 -58
- package/dist/teacher/profile/components/AbilityCollection/index.mjs +7 -8
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +73 -104
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +81 -95
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs +4 -3
- package/dist/teacher/profile/components/ActivityGallery/index.mjs +6 -6
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +148 -194
- package/dist/teacher/profile/components/AvailableScheduleSection/index.mjs +5 -4
- package/dist/teacher/profile/components/CareNoteSection/CareNote/CareNote.mjs +61 -53
- package/dist/teacher/profile/components/CareNoteSection/CareNote/index.mjs +5 -4
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.mjs +72 -81
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.utils.mjs +17 -12
- package/dist/teacher/profile/components/CareNoteSection/index.mjs +6 -6
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +108 -134
- package/dist/teacher/profile/components/CareerSection/CareerItem/index.mjs +5 -4
- package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +133 -176
- package/dist/teacher/profile/components/CareerSection/index.mjs +6 -6
- package/dist/teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs +82 -88
- package/dist/teacher/profile/components/CertificateSection/CertificateItem/index.mjs +4 -3
- package/dist/teacher/profile/components/CertificateSection/CertificateSection.mjs +112 -141
- package/dist/teacher/profile/components/CertificateSection/index.mjs +6 -6
- package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +96 -111
- package/dist/teacher/profile/components/EducationSection/EducationItem/index.mjs +5 -4
- package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +112 -141
- package/dist/teacher/profile/components/EducationSection/index.mjs +6 -6
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs +107 -102
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs +5 -4
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +85 -81
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs +17 -12
- package/dist/teacher/profile/components/ParentReviewSection/index.mjs +7 -8
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +43 -36
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.mjs +4 -3
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +44 -31
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +11 -12
- package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +5 -5
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +348 -433
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.utils.mjs +7 -7
- package/dist/teacher/profile/components/ProfileSummary/index.mjs +5 -4
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +80 -105
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +5 -4
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +34 -27
- package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -6
- package/dist/teacher/profile/components/index.mjs +24 -48
- package/dist/teacher/profile/utils/index.mjs +2 -4
- package/dist/teacher/profile/utils/sortItems/index.mjs +5 -4
- package/dist/teacher/profile/utils/sortItems/sortItems.mjs +48 -48
- package/package.json +1 -1
- package/dist/purify.es-BGaRrCfO.js +0 -553
|
@@ -1,56 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"& svg": {
|
|
44
|
-
color: p.grey[60]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
...f
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
] });
|
|
1
|
+
import { useRef as e } from "react";
|
|
2
|
+
import t from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import i from "@dotss/ui/Flexbox";
|
|
5
|
+
import a from "@dotss/ui/Typography";
|
|
6
|
+
import o from "@dotss/ui/IconButton";
|
|
7
|
+
import s from "@dotss/ui/TextField";
|
|
8
|
+
//#region shared/components/TextField/TextField.tsx
|
|
9
|
+
function c({ id: c, label: l, value: u, onChange: d, labelProps: f, placeholder: p, textFieldProps: m, ...h }) {
|
|
10
|
+
let { palette: g } = t(), _ = e(null), v = (e) => {
|
|
11
|
+
d(e.target.value, e);
|
|
12
|
+
}, y = (e) => {
|
|
13
|
+
_.current?.focus(), d("", e);
|
|
14
|
+
};
|
|
15
|
+
return /* @__PURE__ */ r(i, {
|
|
16
|
+
flexDirection: "column",
|
|
17
|
+
gap: 1,
|
|
18
|
+
inlineCSS: { width: "100%" },
|
|
19
|
+
...h,
|
|
20
|
+
children: [/* @__PURE__ */ n(i, { children: /* @__PURE__ */ n(a, {
|
|
21
|
+
tag: "label",
|
|
22
|
+
htmlFor: c,
|
|
23
|
+
variant: "b4M",
|
|
24
|
+
...f,
|
|
25
|
+
children: l
|
|
26
|
+
}) }), /* @__PURE__ */ n(s, {
|
|
27
|
+
ref: _,
|
|
28
|
+
id: c,
|
|
29
|
+
value: u,
|
|
30
|
+
onChange: v,
|
|
31
|
+
fullWidth: !0,
|
|
32
|
+
placeholder: p,
|
|
33
|
+
endAdornment: u && /* @__PURE__ */ n(o, {
|
|
34
|
+
name: "CloseLine",
|
|
35
|
+
size: "small",
|
|
36
|
+
onClick: y,
|
|
37
|
+
"aria-label": "지우기",
|
|
38
|
+
inlineCSS: { "& svg": { color: g.grey[60] } }
|
|
39
|
+
}),
|
|
40
|
+
...m
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
53
43
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { c as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./TextField.mjs";
|
|
2
|
+
//#region shared/components/TextField/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,120 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { Flexbox as U, Typography as S, ChainPicker as I } from "@dotss/ui";
|
|
4
|
-
import z from "@emotion/styled";
|
|
5
|
-
import x from "../../utils/getTimeRange/getTimeRange.mjs";
|
|
6
|
-
const V = z.div`
|
|
7
|
-
position: relative;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
gap: ${({ theme: { spacing: o } }) => o.content(7)}px;
|
|
12
|
-
width: 100%;
|
|
13
|
-
padding: ${({ theme: { spacing: o } }) => o.content(2)}px 0;
|
|
14
|
-
`, W = z.div`
|
|
15
|
-
position: absolute;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 54px;
|
|
18
|
-
background: ${({ theme: o }) => o.palette.background.primary};
|
|
19
|
-
border-radius: 12px;
|
|
20
|
-
`, C = O(function({
|
|
21
|
-
onChange: F,
|
|
22
|
-
onChangeStartTime: p,
|
|
23
|
-
onChangeEndTime: s,
|
|
24
|
-
startTime: l = 9,
|
|
25
|
-
endTime: t = 12,
|
|
26
|
-
range: n = [0, 24],
|
|
27
|
-
step: i = 1,
|
|
28
|
-
startTimeChainPickerProps: u,
|
|
29
|
-
endTimeChainPickerProps: d,
|
|
30
|
-
timePickerHighlightProps: H,
|
|
31
|
-
renderStartTimeLabel: N,
|
|
32
|
-
renderEndTimeLabel: q,
|
|
33
|
-
inlineCSS: A,
|
|
34
|
-
...B
|
|
35
|
-
}, D) {
|
|
36
|
-
const [f, y] = j(l), [m, b] = j(t), E = w(
|
|
37
|
-
x(0, 24, { minTime: n[0], maxTime: n[1] - i })
|
|
38
|
-
), a = w(
|
|
39
|
-
x(0, 24, { minTime: l + i, maxTime: n[1] })
|
|
40
|
-
), h = Q((e, $) => {
|
|
41
|
-
const [v, M] = e.label.split(":").map(Number), K = v >= 12, g = v % 12 || 12, L = K ? "오후" : "오전";
|
|
42
|
-
return /* @__PURE__ */ R(
|
|
43
|
-
U,
|
|
44
|
-
{
|
|
45
|
-
gap: 1,
|
|
46
|
-
alignItems: "center",
|
|
47
|
-
justifyContent: "center",
|
|
48
|
-
"aria-label": `${L} ${g}시 ${M}분`,
|
|
49
|
-
inlineCSS: { width: "82px" },
|
|
50
|
-
children: [
|
|
51
|
-
/* @__PURE__ */ c(S, { tag: "span", variant: $ ? "h5M" : "b5M", children: L }),
|
|
52
|
-
/* @__PURE__ */ c(S, { tag: "span", variant: $ ? "h2M" : "h4M", children: `${g}:${M.toString().padStart(2, "0")}` })
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
);
|
|
56
|
-
}, []), G = (e) => {
|
|
57
|
-
y(e), a.current = x(0, 24, {
|
|
58
|
-
minTime: e + i > n[1] ? n[1] : e + i,
|
|
59
|
-
maxTime: n[1]
|
|
60
|
-
}), e >= t - 0.5 && b(a.current[0].value);
|
|
61
|
-
}, J = (e) => {
|
|
62
|
-
b(e);
|
|
63
|
-
};
|
|
64
|
-
return r(() => {
|
|
65
|
-
a.current = x(0, 24, {
|
|
66
|
-
minTime: l + i > n[1] ? n[1] : l + i,
|
|
67
|
-
maxTime: n[1]
|
|
68
|
-
});
|
|
69
|
-
}, [l, t, n, i]), r(() => {
|
|
70
|
-
y(l);
|
|
71
|
-
}, [l]), r(() => {
|
|
72
|
-
l >= t - 0.5 ? b(a.current[0].value) : b(t);
|
|
73
|
-
}, [l, t]), r(() => {
|
|
74
|
-
F(f, m);
|
|
75
|
-
}, [f, m]), r(() => {
|
|
76
|
-
p == null || p(f);
|
|
77
|
-
}, [f]), r(() => {
|
|
78
|
-
s == null || s(m);
|
|
79
|
-
}, [m]), /* @__PURE__ */ R(V, { ref: D, css: A, role: "group", "aria-label": "시간 선택", ...B, children: [
|
|
80
|
-
/* @__PURE__ */ c(W, { ...H, "aria-hidden": !0 }),
|
|
81
|
-
/* @__PURE__ */ c(
|
|
82
|
-
I,
|
|
83
|
-
{
|
|
84
|
-
column: E.current,
|
|
85
|
-
value: l,
|
|
86
|
-
onChange: G,
|
|
87
|
-
renderLabel: N || h,
|
|
88
|
-
"aria-label": "시작 시간 선택",
|
|
89
|
-
inlineCSS: {
|
|
90
|
-
"& > li": {
|
|
91
|
-
padding: 0
|
|
92
|
-
},
|
|
93
|
-
...u == null ? void 0 : u.inlineCSS
|
|
94
|
-
},
|
|
95
|
-
...u
|
|
96
|
-
}
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ c(S, { variant: "h5M", color: "grey.50", "aria-hidden": !0, inlineCSS: { zIndex: 1 }, children: "부터" }),
|
|
99
|
-
/* @__PURE__ */ c(
|
|
100
|
-
I,
|
|
101
|
-
{
|
|
102
|
-
column: a.current,
|
|
103
|
-
value: t,
|
|
104
|
-
onChange: J,
|
|
105
|
-
renderLabel: q || h,
|
|
106
|
-
"aria-label": "종료 시간 선택",
|
|
107
|
-
inlineCSS: {
|
|
108
|
-
"& > li": {
|
|
109
|
-
padding: 0
|
|
110
|
-
},
|
|
111
|
-
...d == null ? void 0 : d.inlineCSS
|
|
112
|
-
},
|
|
113
|
-
...d
|
|
114
|
-
}
|
|
115
|
-
)
|
|
116
|
-
] });
|
|
117
|
-
});
|
|
118
|
-
export {
|
|
119
|
-
C as default
|
|
120
|
-
};
|
|
1
|
+
import { t as e } from "../../../TimePicker-BwACyeBR.js";
|
|
2
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { t as e } from "../../../TimePicker-BwACyeBR.js";
|
|
2
|
+
//#region shared/components/TimePicker/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,75 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { getMessageLabel as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { getSystemMessageLabel as
|
|
29
|
-
import
|
|
30
|
-
import { getBotMessageLabel as
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
export {
|
|
37
|
-
fe as BotMessage,
|
|
38
|
-
j as Calendar,
|
|
39
|
-
I as Carousel,
|
|
40
|
-
h as CarouselSlide,
|
|
41
|
-
ae as DirectTradeRiskInfoBottomSheet,
|
|
42
|
-
E as Image,
|
|
43
|
-
G as ImageError,
|
|
44
|
-
pe as InputBar,
|
|
45
|
-
ge as InputBarFallback,
|
|
46
|
-
N as LoadingAnnouncer,
|
|
47
|
-
z as Masonry,
|
|
48
|
-
J as MasonryBlock,
|
|
49
|
-
x as MediaBlock,
|
|
50
|
-
u as MediaDialog,
|
|
51
|
-
i as MediaDialogContent,
|
|
52
|
-
M as MediaDialogFooter,
|
|
53
|
-
B as MediaDialogToolbar,
|
|
54
|
-
Q as Message,
|
|
55
|
-
W as MessageFallback,
|
|
56
|
-
R as Roller,
|
|
57
|
-
w as RollerBlock,
|
|
58
|
-
l as ScheduleBlock,
|
|
59
|
-
t as ScheduleEvent,
|
|
60
|
-
o as Scheduler,
|
|
61
|
-
ne as Seperator,
|
|
62
|
-
S as Swiper,
|
|
63
|
-
C as SwiperBlock,
|
|
64
|
-
$ as SystemMessage,
|
|
65
|
-
ke as TextField,
|
|
66
|
-
F as TimePicker,
|
|
67
|
-
ce as UnreadMessagePill,
|
|
68
|
-
d as getAvailableDateRange,
|
|
69
|
-
se as getBotMessageLabel,
|
|
70
|
-
de as getClassInfo,
|
|
71
|
-
me as getCtaButtonText,
|
|
72
|
-
Y as getMessageLabel,
|
|
73
|
-
re as getSystemMessageLabel,
|
|
74
|
-
Z as markMessageGroupBoundaries
|
|
75
|
-
};
|
|
1
|
+
import e from "./Image/Image.error.mjs";
|
|
2
|
+
import t from "./Image/index.mjs";
|
|
3
|
+
import n from "./Masonry/MasonryBlock/index.mjs";
|
|
4
|
+
import r from "./Masonry/index.mjs";
|
|
5
|
+
import i from "./Scheduler/ScheduleEvent/index.mjs";
|
|
6
|
+
import { getAvailableDateRange as a } from "./Scheduler/Scheduler.utils.mjs";
|
|
7
|
+
import o from "./Scheduler/ScheduleBlock/index.mjs";
|
|
8
|
+
import s from "./Scheduler/index.mjs";
|
|
9
|
+
import c from "./Roller/RollerBlock/index.mjs";
|
|
10
|
+
import l from "./Roller/index.mjs";
|
|
11
|
+
import u from "./LoadingAnnouncer/index.mjs";
|
|
12
|
+
import d from "./Carousel/CarouselSlide/index.mjs";
|
|
13
|
+
import f from "./Carousel/index.mjs";
|
|
14
|
+
import p from "./Swiper/SwiperBlock/index.mjs";
|
|
15
|
+
import m from "./MediaDialog/MediaBlock/index.mjs";
|
|
16
|
+
import h from "./Swiper/index.mjs";
|
|
17
|
+
import g from "./TextField/index.mjs";
|
|
18
|
+
import _ from "./MediaDialog/MediaDialogContent/index.mjs";
|
|
19
|
+
import v from "./MediaDialog/MediaDialogFooter/index.mjs";
|
|
20
|
+
import y from "./MediaDialog/MediaDialogToolbar/index.mjs";
|
|
21
|
+
import b from "./MediaDialog/index.mjs";
|
|
22
|
+
import x from "./TimePicker/index.mjs";
|
|
23
|
+
import S from "./Calendar/index.mjs";
|
|
24
|
+
import C from "./ChatKit/Message/Message.fallback.mjs";
|
|
25
|
+
import { getMessageLabel as w, markMessageGroupBoundaries as T } from "./ChatKit/Message/Message.utils.mjs";
|
|
26
|
+
import E from "./ChatKit/Message/index.mjs";
|
|
27
|
+
import D from "./ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
|
|
28
|
+
import { getSystemMessageLabel as O } from "./ChatKit/SystemMessage/SystemMessage.utils.mjs";
|
|
29
|
+
import k from "./ChatKit/SystemMessage/index.mjs";
|
|
30
|
+
import { getBotMessageLabel as A, getClassInfo as j, getCtaButtonText as M } from "./ChatKit/BotMessage/BotMessage.utils.mjs";
|
|
31
|
+
import N from "./ChatKit/BotMessage/index.mjs";
|
|
32
|
+
import P from "./ChatKit/InputBar/InputBar.fallback.mjs";
|
|
33
|
+
import F from "./ChatKit/InputBar/index.mjs";
|
|
34
|
+
import I from "./ChatKit/Seperator/index.mjs";
|
|
35
|
+
import L from "./ChatKit/UnreadMessagePill/index.mjs";
|
|
36
|
+
export { N as BotMessage, S as Calendar, f as Carousel, d as CarouselSlide, D as DirectTradeRiskInfoBottomSheet, t as Image, e as ImageError, F as InputBar, P as InputBarFallback, u as LoadingAnnouncer, r as Masonry, n as MasonryBlock, m as MediaBlock, b as MediaDialog, _ as MediaDialogContent, v as MediaDialogFooter, y as MediaDialogToolbar, E as Message, C as MessageFallback, l as Roller, c as RollerBlock, o as ScheduleBlock, i as ScheduleEvent, s as Scheduler, I as Seperator, h as Swiper, p as SwiperBlock, k as SystemMessage, g as TextField, x as TimePicker, L as UnreadMessagePill, a as getAvailableDateRange, A as getBotMessageLabel, j as getClassInfo, M as getCtaButtonText, w as getMessageLabel, O as getSystemMessageLabel, T as markMessageGroupBoundaries };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export {
|
|
5
|
-
s as useCombineRef,
|
|
6
|
-
a as useInView,
|
|
7
|
-
f as useIsomorphicLayoutEffect
|
|
8
|
-
};
|
|
1
|
+
import e from "./useInView/useInView.mjs";
|
|
2
|
+
import t from "./useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
|
|
3
|
+
import n from "./useCombineRef/useCombineRef.mjs";
|
|
4
|
+
export { n as useCombineRef, e as useInView, t as useIsomorphicLayoutEffect };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./useCombineRef.mjs";
|
|
2
|
+
//#region shared/hooks/useCombineRef/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "../../utils/combineRef/index.mjs";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
3
|
+
//#region shared/hooks/useCombineRef/useCombineRef.ts
|
|
4
|
+
function n(...n) {
|
|
5
|
+
return t(() => e(...n), []);
|
|
5
6
|
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./useInView.mjs";
|
|
2
|
+
//#region shared/hooks/useInView/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type UseInViewOptions = IntersectionObserverInit;
|
|
3
|
+
export default function useInView(targetRef: RefObject<HTMLElement | null>, options?: UseInViewOptions): {
|
|
3
4
|
isInView: boolean;
|
|
4
5
|
};
|
|
@@ -1,48 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const e = () => {
|
|
37
|
-
s.current = document.hidden;
|
|
38
|
-
};
|
|
39
|
-
return document.addEventListener("visibilitychange", e), () => {
|
|
40
|
-
document.removeEventListener("visibilitychange", e);
|
|
41
|
-
};
|
|
42
|
-
}, []), {
|
|
43
|
-
isInView: w
|
|
44
|
-
};
|
|
1
|
+
import { useEffect as e, useRef as t, useState as n } from "react";
|
|
2
|
+
//#region shared/hooks/useInView/useInView.ts
|
|
3
|
+
var r = 100;
|
|
4
|
+
function i(i, a) {
|
|
5
|
+
let [o, s] = n(!1), c = t(!1);
|
|
6
|
+
return e(() => {
|
|
7
|
+
let e;
|
|
8
|
+
try {
|
|
9
|
+
i.current && (e = new IntersectionObserver(([e]) => {
|
|
10
|
+
s(e.isIntersecting && !c.current);
|
|
11
|
+
}, {
|
|
12
|
+
threshold: .7,
|
|
13
|
+
...a
|
|
14
|
+
}), e.observe(i.current));
|
|
15
|
+
} catch {
|
|
16
|
+
let e = () => {
|
|
17
|
+
if (!i.current) return;
|
|
18
|
+
let e = i.current?.getBoundingClientRect();
|
|
19
|
+
s(e.bottom >= 0 && e.top <= (window.innerHeight || document.documentElement.clientHeight) + r);
|
|
20
|
+
};
|
|
21
|
+
return window.appScreenContent?.addEventListener("scroll", e), window.addEventListener("resize", e), window.addEventListener("orientationchange", e), () => {
|
|
22
|
+
window.appScreenContent?.removeEventListener("scroll", e), window.removeEventListener("resize", e), window.removeEventListener("orientationchange", e);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return () => {
|
|
26
|
+
e?.disconnect();
|
|
27
|
+
};
|
|
28
|
+
}, [i, a]), e(() => {
|
|
29
|
+
let e = () => {
|
|
30
|
+
c.current = document.hidden;
|
|
31
|
+
};
|
|
32
|
+
return document.addEventListener("visibilitychange", e), () => {
|
|
33
|
+
document.removeEventListener("visibilitychange", e);
|
|
34
|
+
};
|
|
35
|
+
}, []), { isInView: o };
|
|
45
36
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { i as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./useIsomorphicLayoutEffect.mjs";
|
|
2
|
+
//#region shared/hooks/useIsomorphicLayoutEffect/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import e from "../../utils/isServer/index.mjs";
|
|
2
|
+
import { useEffect as t, useLayoutEffect as n } from "react";
|
|
3
|
+
//#region shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts
|
|
4
|
+
var r = e() ? t : n;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as default };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
//#region shared/typings/common.ts
|
|
2
|
+
var e = /* @__PURE__ */ function(e) {
|
|
3
|
+
return e.SUN = "SUN", e.MON = "MON", e.TUE = "TUE", e.WED = "WED", e.THU = "THU", e.FRI = "FRI", e.SAT = "SAT", e;
|
|
4
|
+
}({});
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as DayFlag };
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import e from "dayjs";
|
|
2
|
+
//#region shared/utils/ageToBirthDate/ageToBirthDate.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
if (t == null || Number.isNaN(t) || !Number.isInteger(t) || t < 0) return {
|
|
5
|
+
min: null,
|
|
6
|
+
max: null
|
|
7
|
+
};
|
|
8
|
+
let n = e().subtract(t + 1, "year").add(1, "day").format("YYYY-MM-DD"), r = e().subtract(t, "year").format("YYYY-MM-DD");
|
|
9
|
+
return n === "Invalid Date" || r === "Invalid Date" ? {
|
|
10
|
+
min: null,
|
|
11
|
+
max: null
|
|
12
|
+
} : {
|
|
13
|
+
min: n,
|
|
14
|
+
max: r
|
|
15
|
+
};
|
|
7
16
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./ageToBirthDate.mjs";
|
|
2
|
+
//#region shared/utils/ageToBirthDate/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import e from "dayjs";
|
|
2
|
+
//#region shared/utils/birthDateToAge/birthDateToAge.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = e(), r = e(t);
|
|
5
|
+
if (!r.isValid() || r.isAfter(n)) return 0;
|
|
6
|
+
let i = n.year() - r.year(), a = r.format("MM-DD") === "02-29" ? e(`${n.year()}-03-01`) : r.add(i, "years");
|
|
7
|
+
return n.isBefore(a, "days") && --i, i;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { t as default };
|