@dotss/tictoccroc 0.4.2 → 0.6.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.mjs +90 -108
- 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.d.ts +3 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +12 -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,184 +1,152 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
/* @__PURE__ */ r(e, { tag: "dd", variant: "b4M", children: c.dateRangeText })
|
|
151
|
-
] }),
|
|
152
|
-
/* @__PURE__ */ t(e, { tag: "dl", children: [
|
|
153
|
-
/* @__PURE__ */ r(e, { tag: "dt", visuallyHidden: !0, children: "시간" }),
|
|
154
|
-
/* @__PURE__ */ r(e, { tag: "dd", variant: "b4R", color: "grey.70", children: c.timeRangeText })
|
|
155
|
-
] }),
|
|
156
|
-
/* @__PURE__ */ t(e, { tag: "dl", children: [
|
|
157
|
-
/* @__PURE__ */ r(e, { tag: "dt", visuallyHidden: !0, children: "돌봄 유형" }),
|
|
158
|
-
/* @__PURE__ */ r(e, { tag: "dd", variant: "b4R", color: "grey.70", children: H })
|
|
159
|
-
] })
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
x && /* @__PURE__ */ r(
|
|
164
|
-
$,
|
|
165
|
-
{
|
|
166
|
-
color: "secondary",
|
|
167
|
-
onClick: M,
|
|
168
|
-
inlineCSS: {
|
|
169
|
-
marginTop: d.content(2)
|
|
170
|
-
},
|
|
171
|
-
children: x
|
|
172
|
-
}
|
|
173
|
-
)
|
|
174
|
-
] })
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
);
|
|
1
|
+
import e from "../../../hooks/useInView/index.mjs";
|
|
2
|
+
import t from "../../Image/index.mjs";
|
|
3
|
+
import n from "../../../utils/getCareTypeLabel/index.mjs";
|
|
4
|
+
import { getClassInfo as r, getCtaButtonText as i } from "./BotMessage.utils.mjs";
|
|
5
|
+
import { useEffect as a, useRef as o } from "react";
|
|
6
|
+
import { Button as s, Flexbox as c, Typography as l } from "@dotss/ui";
|
|
7
|
+
import u from "@dotss/ui/core/useTheme";
|
|
8
|
+
import d from "dayjs";
|
|
9
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region shared/components/ChatKit/BotMessage/BotMessage.tsx
|
|
11
|
+
function m({ id: m, botMessageType: h, ctaType: g, ctaTargetId: _, ctaTargetTable: v, subCtaTargetTable: y, subCtaTargetId: b, mine: x, avatarUrl: S, title: C, content: w, unreadUserCount: T, offer: E, regDatetime: D, onAction: O, onView: k, inlineCSS: A, ...j }) {
|
|
12
|
+
let { palette: { brand: M, grey: N, background: P }, spacing: F } = u(), I = o(null), { isInView: L } = e(I), R = i(g), z = E, B = [n(z?.firstCareType), n(z?.secondCareType)].filter(Boolean).filter((e) => e !== "-").join("+"), V = r(z), H = () => O?.({
|
|
13
|
+
botMessageType: h,
|
|
14
|
+
ctaType: g,
|
|
15
|
+
ctaTargetId: _,
|
|
16
|
+
ctaTargetTable: v,
|
|
17
|
+
subCtaTargetTable: y,
|
|
18
|
+
subCtaTargetId: b
|
|
19
|
+
});
|
|
20
|
+
return a(() => {
|
|
21
|
+
L && k?.();
|
|
22
|
+
}, [L, k]), /* @__PURE__ */ p(c, {
|
|
23
|
+
ref: I,
|
|
24
|
+
alignItems: "flex-end",
|
|
25
|
+
justifyContent: "flex-end",
|
|
26
|
+
gap: 1,
|
|
27
|
+
pl: 4,
|
|
28
|
+
pr: 4,
|
|
29
|
+
flexDirection: x ? "row" : "row-reverse",
|
|
30
|
+
...j,
|
|
31
|
+
inlineCSS: {
|
|
32
|
+
overflowAnchor: "none",
|
|
33
|
+
...A
|
|
34
|
+
},
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ f(l, {
|
|
37
|
+
visuallyHidden: !0,
|
|
38
|
+
children: "안내"
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ p(c, {
|
|
41
|
+
flexDirection: "column",
|
|
42
|
+
alignItems: x ? "flex-end" : "flex-start",
|
|
43
|
+
inlineCSS: { whiteSpace: "nowrap" },
|
|
44
|
+
children: [x && T > 0 && /* @__PURE__ */ f(l, {
|
|
45
|
+
tag: "span",
|
|
46
|
+
variant: "c5B",
|
|
47
|
+
"aria-hidden": !0,
|
|
48
|
+
inlineCSS: { color: M.primary.text },
|
|
49
|
+
children: T
|
|
50
|
+
}), /* @__PURE__ */ f(l, {
|
|
51
|
+
tag: "span",
|
|
52
|
+
variant: "c5R",
|
|
53
|
+
color: "etc.dimmed01",
|
|
54
|
+
"aria-hidden": !0,
|
|
55
|
+
inlineCSS: { whiteSpace: "nowrap" },
|
|
56
|
+
children: d(D).format("A h:mm")
|
|
57
|
+
})]
|
|
58
|
+
}),
|
|
59
|
+
/* @__PURE__ */ p(c, {
|
|
60
|
+
alignItems: "flex-start",
|
|
61
|
+
flexDirection: x ? "row-reverse" : "row",
|
|
62
|
+
gap: 3,
|
|
63
|
+
p: 4,
|
|
64
|
+
"aria-hidden": !0,
|
|
65
|
+
inlineCSS: {
|
|
66
|
+
backgroundColor: N.white,
|
|
67
|
+
borderRadius: 12,
|
|
68
|
+
border: `1px solid ${N[20]}`
|
|
69
|
+
},
|
|
70
|
+
children: [S && /* @__PURE__ */ f(t, {
|
|
71
|
+
src: S,
|
|
72
|
+
width: 32,
|
|
73
|
+
height: 32,
|
|
74
|
+
alt: "째깍악어 선생님 심볼",
|
|
75
|
+
role: "presentation"
|
|
76
|
+
}), /* @__PURE__ */ p(c, {
|
|
77
|
+
flexDirection: "column",
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ f(l, {
|
|
80
|
+
tag: "p",
|
|
81
|
+
variant: "h4B",
|
|
82
|
+
children: C
|
|
83
|
+
}),
|
|
84
|
+
w && /* @__PURE__ */ f(l, {
|
|
85
|
+
tag: "p",
|
|
86
|
+
variant: "b3R",
|
|
87
|
+
inlineCSS: { marginTop: F.content(1) },
|
|
88
|
+
children: w
|
|
89
|
+
}),
|
|
90
|
+
V && /* @__PURE__ */ p(c, {
|
|
91
|
+
mt: 2,
|
|
92
|
+
p: 2,
|
|
93
|
+
flexDirection: "column",
|
|
94
|
+
inlineCSS: {
|
|
95
|
+
borderRadius: F.content(2),
|
|
96
|
+
backgroundColor: P.primary
|
|
97
|
+
},
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ p(l, {
|
|
100
|
+
tag: "dl",
|
|
101
|
+
children: [/* @__PURE__ */ f(l, {
|
|
102
|
+
tag: "dt",
|
|
103
|
+
visuallyHidden: !0,
|
|
104
|
+
children: "날짜"
|
|
105
|
+
}), /* @__PURE__ */ f(l, {
|
|
106
|
+
tag: "dd",
|
|
107
|
+
variant: "b4M",
|
|
108
|
+
children: V.dateRangeText
|
|
109
|
+
})]
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ p(l, {
|
|
112
|
+
tag: "dl",
|
|
113
|
+
children: [/* @__PURE__ */ f(l, {
|
|
114
|
+
tag: "dt",
|
|
115
|
+
visuallyHidden: !0,
|
|
116
|
+
children: "시간"
|
|
117
|
+
}), /* @__PURE__ */ f(l, {
|
|
118
|
+
tag: "dd",
|
|
119
|
+
variant: "b4R",
|
|
120
|
+
color: "grey.70",
|
|
121
|
+
children: V.timeRangeText
|
|
122
|
+
})]
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ p(l, {
|
|
125
|
+
tag: "dl",
|
|
126
|
+
children: [/* @__PURE__ */ f(l, {
|
|
127
|
+
tag: "dt",
|
|
128
|
+
visuallyHidden: !0,
|
|
129
|
+
children: "돌봄 유형"
|
|
130
|
+
}), /* @__PURE__ */ f(l, {
|
|
131
|
+
tag: "dd",
|
|
132
|
+
variant: "b4R",
|
|
133
|
+
color: "grey.70",
|
|
134
|
+
children: B
|
|
135
|
+
})]
|
|
136
|
+
})
|
|
137
|
+
]
|
|
138
|
+
}),
|
|
139
|
+
R && /* @__PURE__ */ f(s, {
|
|
140
|
+
color: "secondary",
|
|
141
|
+
onClick: H,
|
|
142
|
+
inlineCSS: { marginTop: F.content(2) },
|
|
143
|
+
children: R
|
|
144
|
+
})
|
|
145
|
+
]
|
|
146
|
+
})]
|
|
147
|
+
})
|
|
148
|
+
]
|
|
149
|
+
});
|
|
181
150
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
};
|
|
151
|
+
//#endregion
|
|
152
|
+
export { m as default };
|
|
@@ -1,53 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
case "TEACHER_SELECTION":
|
|
16
|
-
return "선생님 선택하러 가기";
|
|
17
|
-
case "PLAY_CONTENT_EXPLORE":
|
|
18
|
-
return "놀이콘텐츠 둘러보기";
|
|
19
|
-
default:
|
|
20
|
-
return "";
|
|
21
|
-
}
|
|
1
|
+
import e from "../../../utils/getCareTypeLabel/index.mjs";
|
|
2
|
+
import t from "dayjs";
|
|
3
|
+
//#region shared/components/ChatKit/BotMessage/BotMessage.utils.ts
|
|
4
|
+
function n(e) {
|
|
5
|
+
switch (e) {
|
|
6
|
+
case "MY_CLASS_CHECK": return "내 수업 확인하기";
|
|
7
|
+
case "OFFER_CHECK": return "공고 확인하기";
|
|
8
|
+
case "CHANGE_INFO_CHECK": return "변경내용 확인하기";
|
|
9
|
+
case "MY_APPLICATION_INFO_VIEW": return "나의 지원 내역 보러가기";
|
|
10
|
+
case "CARE_NOTE_CHECK": return "돌봄노트 확인하기";
|
|
11
|
+
case "TEACHER_SELECTION": return "선생님 선택하러 가기";
|
|
12
|
+
case "PLAY_CONTENT_EXPLORE": return "놀이콘텐츠 둘러보기";
|
|
13
|
+
default: return "";
|
|
14
|
+
}
|
|
22
15
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return {
|
|
35
|
-
dateRangeText: a,
|
|
36
|
-
timeRangeText: `${c} ~ ${t}`,
|
|
37
|
-
careType: o(e.firstCareType)
|
|
38
|
-
};
|
|
16
|
+
function r(n) {
|
|
17
|
+
let r = n;
|
|
18
|
+
if (!r) return null;
|
|
19
|
+
let i;
|
|
20
|
+
i = r.totalCareCount > 1 ? `${t(r.careStartDate).format("M월 D일(ddd)")}부터 / 총 ${r.totalCareCount}회` : t(r.careStartDate).format("M월 D일(ddd)");
|
|
21
|
+
let a = t(`${r.careStartDate} ${r.careStartTime}`).format("A h:mm"), o = t(`${r.careStartDate} ${r.careEndTime}`).format("A h:mm");
|
|
22
|
+
return {
|
|
23
|
+
dateRangeText: i,
|
|
24
|
+
timeRangeText: `${a} ~ ${o}`,
|
|
25
|
+
careType: e(r.firstCareType)
|
|
26
|
+
};
|
|
39
27
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
offer: a,
|
|
44
|
-
regDatetime: c
|
|
45
|
-
}) {
|
|
46
|
-
const t = C(a);
|
|
47
|
-
return `안내, ${r}, ${e ? `${e}, ` : ""}${t ? `${t.dateRangeText}, ${t.timeRangeText}, ${t.careType}, ` : ""}${n(c).format("YYYY년 MM월 DD일 A h:mm")}`;
|
|
28
|
+
function i({ title: e, content: n, offer: i, regDatetime: a }) {
|
|
29
|
+
let o = r(i);
|
|
30
|
+
return `안내, ${e}, ${n ? `${n}, ` : ""}${o ? `${o.dateRangeText}, ${o.timeRangeText}, ${o.careType}, ` : ""}${t(a).format("YYYY년 MM월 DD일 A h:mm")}`;
|
|
48
31
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
C as getClassInfo,
|
|
52
|
-
u as getCtaButtonText
|
|
53
|
-
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { i as getBotMessageLabel, r as getClassInfo, n as getCtaButtonText };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import e from "./BotMessage.mjs";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
r as getCtaButtonText
|
|
8
|
-
};
|
|
1
|
+
import { getBotMessageLabel as e, getClassInfo as t, getCtaButtonText as n } from "./BotMessage.utils.mjs";
|
|
2
|
+
import r from "./BotMessage.mjs";
|
|
3
|
+
//#region shared/components/ChatKit/BotMessage/index.ts
|
|
4
|
+
var i = r;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { i as default, e as getBotMessageLabel, t as getClassInfo, n as getCtaButtonText };
|
|
@@ -1,85 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/* @__PURE__ */ e(
|
|
64
|
-
l,
|
|
65
|
-
{
|
|
66
|
-
name: "ArrowUpwardLine",
|
|
67
|
-
variant: "filled",
|
|
68
|
-
disabled: !0,
|
|
69
|
-
inlineCSS: {
|
|
70
|
-
cursor: "wait !important",
|
|
71
|
-
position: "absolute",
|
|
72
|
-
right: 0,
|
|
73
|
-
bottom: 0
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
)
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
}
|
|
81
|
-
);
|
|
1
|
+
import { Flexbox as e, IconButton as t } from "@dotss/ui";
|
|
2
|
+
import n from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
//#region shared/components/ChatKit/InputBar/InputBar.fallback.tsx
|
|
5
|
+
var a = 24;
|
|
6
|
+
function o() {
|
|
7
|
+
let { palette: { grey: o, background: s }, spacing: c } = n();
|
|
8
|
+
return /* @__PURE__ */ r(e, {
|
|
9
|
+
pt: 2,
|
|
10
|
+
pb: 2,
|
|
11
|
+
pl: 4,
|
|
12
|
+
pr: 4,
|
|
13
|
+
gap: 1,
|
|
14
|
+
"aria-busy": !0,
|
|
15
|
+
alignItems: "center",
|
|
16
|
+
inlineCSS: {
|
|
17
|
+
cursor: "wait",
|
|
18
|
+
borderTop: `1px solid ${o[10]}`,
|
|
19
|
+
backgroundColor: o.white
|
|
20
|
+
},
|
|
21
|
+
children: /* @__PURE__ */ i(e, {
|
|
22
|
+
alignItems: "center",
|
|
23
|
+
pt: 2,
|
|
24
|
+
pb: 2,
|
|
25
|
+
pl: 4,
|
|
26
|
+
flexGrow: 1,
|
|
27
|
+
inlineCSS: {
|
|
28
|
+
position: "relative",
|
|
29
|
+
paddingRight: c.content(12),
|
|
30
|
+
border: `1px solid ${o[10]}`,
|
|
31
|
+
borderRadius: 20,
|
|
32
|
+
backgroundColor: s.primary
|
|
33
|
+
},
|
|
34
|
+
children: [/* @__PURE__ */ r(e, {
|
|
35
|
+
tag: "textarea",
|
|
36
|
+
readOnly: !0,
|
|
37
|
+
flexGrow: 1,
|
|
38
|
+
disabled: !0,
|
|
39
|
+
inlineCSS: {
|
|
40
|
+
cursor: "wait",
|
|
41
|
+
height: a,
|
|
42
|
+
lineHeight: `${a}px`,
|
|
43
|
+
border: "none",
|
|
44
|
+
outline: "none",
|
|
45
|
+
backgroundColor: "transparent",
|
|
46
|
+
resize: "none",
|
|
47
|
+
scrollbarWidth: "none",
|
|
48
|
+
"&::-webkit-scrollbar": { display: "none" }
|
|
49
|
+
}
|
|
50
|
+
}), /* @__PURE__ */ r(t, {
|
|
51
|
+
name: "ArrowUpwardLine",
|
|
52
|
+
variant: "filled",
|
|
53
|
+
disabled: !0,
|
|
54
|
+
inlineCSS: {
|
|
55
|
+
cursor: "wait !important",
|
|
56
|
+
position: "absolute",
|
|
57
|
+
right: 0,
|
|
58
|
+
bottom: 0
|
|
59
|
+
}
|
|
60
|
+
})]
|
|
61
|
+
})
|
|
62
|
+
});
|
|
82
63
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
};
|
|
64
|
+
//#endregion
|
|
65
|
+
export { o as default };
|