@dotss/tictoccroc 0.2.0 → 0.3.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/index.d.ts +2 -0
- package/dist/index.mjs +143 -122
- package/dist/parent/b2b/components/ActionButtons/ActionButtons.d.ts +13 -0
- package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +30 -0
- package/dist/parent/b2b/components/ActionButtons/index.d.ts +3 -0
- package/dist/parent/b2b/components/ActionButtons/index.mjs +4 -0
- package/dist/parent/b2b/components/BottomNotes/BottomNotes.d.ts +6 -0
- package/dist/parent/b2b/components/BottomNotes/BottomNotes.mjs +37 -0
- package/dist/parent/b2b/components/BottomNotes/index.d.ts +3 -0
- package/dist/parent/b2b/components/BottomNotes/index.mjs +4 -0
- package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.d.ts +4 -0
- package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs +16 -0
- package/dist/parent/b2b/components/EmployeeNumberField/index.d.ts +3 -0
- package/dist/parent/b2b/components/EmployeeNumberField/index.mjs +4 -0
- package/dist/parent/b2b/components/NameField/NameField.d.ts +4 -0
- package/dist/parent/b2b/components/NameField/NameField.mjs +8 -0
- package/dist/parent/b2b/components/NameField/index.d.ts +3 -0
- package/dist/parent/b2b/components/NameField/index.mjs +4 -0
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.d.ts +4 -0
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs +31 -0
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.d.ts +2 -0
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs +10 -0
- package/dist/parent/b2b/components/PhoneNumberField/index.d.ts +4 -0
- package/dist/parent/b2b/components/PhoneNumberField/index.mjs +7 -0
- package/dist/parent/b2b/components/Title/Title.d.ts +4 -0
- package/dist/parent/b2b/components/Title/Title.mjs +19 -0
- package/dist/parent/b2b/components/Title/index.d.ts +3 -0
- package/dist/parent/b2b/components/Title/index.mjs +4 -0
- package/dist/parent/b2b/components/TopLogo/TopLogo.d.ts +11 -0
- package/dist/parent/b2b/components/TopLogo/TopLogo.mjs +94 -0
- package/dist/parent/b2b/components/TopLogo/index.d.ts +3 -0
- package/dist/parent/b2b/components/TopLogo/index.mjs +4 -0
- package/dist/parent/b2b/components/index.d.ts +14 -0
- package/dist/parent/b2b/components/index.mjs +19 -0
- package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.d.ts +1 -0
- package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs +1692 -0
- package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.test.d.ts +1 -0
- package/dist/parent/b2b/utils/index.d.ts +1 -0
- package/dist/parent/b2b/utils/index.mjs +4 -0
- package/dist/shared/components/TextField/TextField.d.ts +14 -0
- package/dist/shared/components/TextField/TextField.mjs +56 -0
- package/dist/shared/components/TextField/index.d.ts +3 -0
- package/dist/shared/components/TextField/index.mjs +4 -0
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.mjs +8 -6
- package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +6 -7
- package/package.json +21 -3
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as o } from "./shared/components/Scheduler/Scheduler.mjs";
|
|
2
2
|
import { default as r } from "./shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs";
|
|
3
3
|
import { default as l } from "./shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs";
|
|
4
4
|
import { getAvailableDateRange as u } from "./shared/components/Scheduler/Scheduler.utils.mjs";
|
|
@@ -6,170 +6,191 @@ import { default as m } from "./shared/components/MediaDialog/MediaDialog.mjs";
|
|
|
6
6
|
import { default as x } from "./shared/components/MediaDialog/MediaBlock/MediaBlock.mjs";
|
|
7
7
|
import { default as c } from "./shared/components/MediaDialog/MediaDialogContent/MediaDialogContent.mjs";
|
|
8
8
|
import { default as g } from "./shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
9
|
+
import { default as b } from "./shared/components/MediaDialog/MediaDialogToolbar/MediaDialogToolbar.mjs";
|
|
10
|
+
import { default as C } from "./shared/components/Swiper/Swiper.mjs";
|
|
11
11
|
import { default as B } from "./shared/components/Swiper/SwiperBlock/SwiperBlock.mjs";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
12
|
+
import { default as T } from "./shared/components/Carousel/Carousel.mjs";
|
|
13
|
+
import { default as I } from "./shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
|
|
14
14
|
import { default as h } from "./shared/components/TimePicker/TimePicker.mjs";
|
|
15
15
|
import { default as v } from "./shared/components/Roller/Roller.mjs";
|
|
16
16
|
import { default as P } from "./shared/components/Roller/RollerBlock/RollerBlock.mjs";
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
17
|
+
import { default as w } from "./shared/components/Image/Image.mjs";
|
|
18
|
+
import { default as N } from "./shared/components/Image/Image.error.mjs";
|
|
19
|
+
import { default as V } from "./shared/components/Calendar/Calendar.mjs";
|
|
20
|
+
import { default as Q } from "./shared/components/Masonry/Masonry.mjs";
|
|
21
21
|
import { default as j } from "./shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
|
|
22
|
-
import { default as
|
|
22
|
+
import { default as q } from "./shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
|
|
23
23
|
import { default as J } from "./shared/components/ChatKit/Message/Message.mjs";
|
|
24
24
|
import { default as W } from "./shared/components/ChatKit/Message/Message.fallback.mjs";
|
|
25
25
|
import { getMessageLabel as Y, markMessageGroupBoundaries as Z } from "./shared/components/ChatKit/Message/Message.utils.mjs";
|
|
26
26
|
import { default as $ } from "./shared/components/ChatKit/SystemMessage/SystemMessage.mjs";
|
|
27
|
-
import { default as
|
|
28
|
-
import { getSystemMessageLabel as
|
|
27
|
+
import { default as te } from "./shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
|
|
28
|
+
import { getSystemMessageLabel as ae } from "./shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs";
|
|
29
29
|
import { default as fe } from "./shared/components/ChatKit/BotMessage/BotMessage.mjs";
|
|
30
30
|
import { getBotMessageLabel as se, getClassInfo as ue, getCtaButtonText as de } from "./shared/components/ChatKit/BotMessage/BotMessage.utils.mjs";
|
|
31
31
|
import { default as pe } from "./shared/components/ChatKit/InputBar/InputBar.mjs";
|
|
32
32
|
import { default as ie } from "./shared/components/ChatKit/InputBar/InputBar.fallback.mjs";
|
|
33
33
|
import { default as ne } from "./shared/components/ChatKit/Seperator/Seperator.mjs";
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as Ae } from "./shared/
|
|
36
|
-
import { default as ye } from "./shared/hooks/
|
|
37
|
-
import { default as Me } from "./shared/hooks/
|
|
38
|
-
import { default as
|
|
34
|
+
import { default as Se } from "./shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.mjs";
|
|
35
|
+
import { default as Ae } from "./shared/components/TextField/TextField.mjs";
|
|
36
|
+
import { default as ye } from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
|
|
37
|
+
import { default as Me } from "./shared/hooks/useInView/useInView.mjs";
|
|
38
|
+
import { default as ke } from "./shared/hooks/useCombineRef/useCombineRef.mjs";
|
|
39
|
+
import { default as Fe } from "./shared/utils/getImageUrl/getImageUrl.mjs";
|
|
39
40
|
import { default as De } from "./shared/utils/isServer/isServer.mjs";
|
|
40
41
|
import { default as Re } from "./shared/utils/getTimeRange/getTimeRange.mjs";
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
42
|
+
import { default as Le } from "./shared/utils/getDateRange/getDateRange.mjs";
|
|
43
|
+
import { default as Ee } from "./shared/utils/isAndroid/isAndroid.mjs";
|
|
44
|
+
import { default as Ge } from "./shared/utils/isIos/isIos.mjs";
|
|
44
45
|
import { default as Ke } from "./shared/utils/isApp/isApp.mjs";
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { getPreferredAgeKeywords as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { getAbilityCollection as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { getChildLabel as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
46
|
+
import { default as Ue } from "./shared/utils/isDesktop/isDesktop.mjs";
|
|
47
|
+
import { default as He } from "./shared/utils/ageToBirthDate/ageToBirthDate.mjs";
|
|
48
|
+
import { default as ze } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
|
|
49
|
+
import { default as Oe } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
|
|
50
|
+
import { default as Xe } from "./shared/utils/getVimeoId/getVimeoId.mjs";
|
|
51
|
+
import { default as Ze } from "./shared/utils/parseQueryString/parseQueryString.mjs";
|
|
52
|
+
import { default as $e } from "./shared/utils/share/share.mjs";
|
|
53
|
+
import { default as tt } from "./shared/utils/dayFlagToDay/dayFlagToDay.mjs";
|
|
54
|
+
import { default as at } from "./shared/utils/getCareTypeLabel/getCareTypeLabel.mjs";
|
|
55
|
+
import { default as ft } from "./shared/utils/combineRef/combineRef.mjs";
|
|
56
|
+
import { default as st } from "./teacher/profile/components/ProfileSummary/ProfileSummary.mjs";
|
|
57
|
+
import { default as dt } from "./teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs";
|
|
58
|
+
import { default as pt } from "./teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs";
|
|
59
|
+
import { default as it } from "./teacher/profile/components/ActivityGallery/ActivityGallery.mjs";
|
|
60
|
+
import { default as nt } from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs";
|
|
61
|
+
import { default as St } from "./teacher/profile/components/CertificateSection/CertificateSection.mjs";
|
|
62
|
+
import { default as At } from "./teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs";
|
|
63
|
+
import { default as yt } from "./teacher/profile/components/CareerSection/CareerSection.mjs";
|
|
64
|
+
import { default as Mt } from "./teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs";
|
|
65
|
+
import { default as kt } from "./teacher/profile/components/EducationSection/EducationSection.mjs";
|
|
66
|
+
import { default as Ft } from "./teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs";
|
|
67
|
+
import { default as Dt } from "./teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs";
|
|
68
|
+
import { default as Rt } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs";
|
|
69
|
+
import { getPreferredAgeKeywords as Lt } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
|
|
70
|
+
import { default as Et } from "./teacher/profile/components/AbilityCollection/AbilityCollection.mjs";
|
|
71
|
+
import { default as Gt } from "./teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs";
|
|
72
|
+
import { getAbilityCollection as Kt } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
|
|
73
|
+
import { default as Ut } from "./teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs";
|
|
74
|
+
import { default as Ht } from "./teacher/profile/components/CareNoteSection/CareNoteSection.mjs";
|
|
75
|
+
import { default as zt } from "./teacher/profile/components/CareNoteSection/CareNote/CareNote.mjs";
|
|
76
|
+
import { default as Ot } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs";
|
|
77
|
+
import { getChildLabel as Xt } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
78
|
+
import { default as Zt } from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs";
|
|
79
|
+
import { default as $t } from "./teacher/home/components/TextAccount/TextAccount.mjs";
|
|
80
|
+
import { default as to } from "./teacher/home/components/TextAccount/TextAccount.fallback.mjs";
|
|
81
|
+
import { default as ao } from "./teacher/home/components/Carousel1Account/Carousel1Account.mjs";
|
|
82
|
+
import { default as fo } from "./teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs";
|
|
83
|
+
import { default as so } from "./teacher/home/components/Carousel2Account/Carousel2Account.mjs";
|
|
84
|
+
import { default as mo } from "./teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs";
|
|
85
|
+
import { default as xo } from "./teacher/home/components/BannerAccount/BannerAccount.mjs";
|
|
86
|
+
import { default as co } from "./teacher/home/components/BannerAccount/BannerAccount.fallback.mjs";
|
|
87
|
+
import { default as go } from "./parent/b2b/components/ActionButtons/ActionButtons.mjs";
|
|
88
|
+
import { default as bo } from "./parent/b2b/components/BottomNotes/BottomNotes.mjs";
|
|
89
|
+
import { default as Co } from "./parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs";
|
|
90
|
+
import { default as Bo } from "./parent/b2b/components/NameField/NameField.mjs";
|
|
91
|
+
import { default as To } from "./parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs";
|
|
92
|
+
import { isSuccess as Io, isValid as Fo } from "./parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs";
|
|
93
|
+
import { default as Do } from "./parent/b2b/components/Title/Title.mjs";
|
|
94
|
+
import { default as Ro } from "./parent/b2b/components/TopLogo/TopLogo.mjs";
|
|
95
|
+
import { default as Lo } from "./parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs";
|
|
86
96
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
Gt as AbilityBadge,
|
|
98
|
+
Et as AbilityCollection,
|
|
99
|
+
go as ActionButtons,
|
|
100
|
+
it as ActivityGallery,
|
|
101
|
+
nt as ActivityGalleryItem,
|
|
102
|
+
Ut as AvailableScheduleSection,
|
|
103
|
+
xo as BannerAccount,
|
|
104
|
+
co as BannerAccountFallback,
|
|
94
105
|
fe as BotMessage,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
bo as BottomNotes,
|
|
107
|
+
V as Calendar,
|
|
108
|
+
zt as CareNote,
|
|
109
|
+
Ht as CareNoteSection,
|
|
110
|
+
Mt as CareerItem,
|
|
111
|
+
yt as CareerSection,
|
|
112
|
+
T as Carousel,
|
|
113
|
+
ao as Carousel1Account,
|
|
114
|
+
fo as Carousel1AccountFallback,
|
|
115
|
+
so as Carousel2Account,
|
|
116
|
+
mo as Carousel2AccountFallback,
|
|
117
|
+
I as CarouselSlide,
|
|
118
|
+
At as CertificateItem,
|
|
119
|
+
St as CertificateSection,
|
|
120
|
+
te as DirectTradeRiskInfoBottomSheet,
|
|
121
|
+
Ft as EducationItem,
|
|
122
|
+
kt as EducationSection,
|
|
123
|
+
Co as EmployeeNumberField,
|
|
124
|
+
w as Image,
|
|
125
|
+
N as ImageError,
|
|
113
126
|
pe as InputBar,
|
|
114
127
|
ie as InputBarFallback,
|
|
115
|
-
|
|
116
|
-
|
|
128
|
+
q as LoadingAnnouncer,
|
|
129
|
+
Q as Masonry,
|
|
117
130
|
j as MasonryBlock,
|
|
118
131
|
x as MediaBlock,
|
|
119
132
|
m as MediaDialog,
|
|
120
133
|
c as MediaDialogContent,
|
|
121
134
|
g as MediaDialogFooter,
|
|
122
|
-
|
|
135
|
+
b as MediaDialogToolbar,
|
|
123
136
|
J as Message,
|
|
124
137
|
W as MessageFallback,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
138
|
+
Bo as NameField,
|
|
139
|
+
Zt as ParentReviewCard,
|
|
140
|
+
Ot as ParentReviewSection,
|
|
141
|
+
To as PhoneNumberField,
|
|
142
|
+
Dt as PreferredActivityKeywordGroup,
|
|
143
|
+
Rt as PreferredAgeGroup,
|
|
144
|
+
st as ProfileSummary,
|
|
130
145
|
v as Roller,
|
|
131
146
|
P as RollerBlock,
|
|
132
147
|
l as ScheduleBlock,
|
|
133
148
|
r as ScheduleEvent,
|
|
134
|
-
|
|
149
|
+
o as Scheduler,
|
|
135
150
|
ne as Seperator,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
151
|
+
pt as StatBadge,
|
|
152
|
+
dt as StatBadgeCollection,
|
|
153
|
+
C as Swiper,
|
|
139
154
|
B as SwiperBlock,
|
|
140
155
|
$ as SystemMessage,
|
|
141
|
-
|
|
142
|
-
|
|
156
|
+
$t as TextAccount,
|
|
157
|
+
to as TextAccountFallback,
|
|
158
|
+
Ae as TextField,
|
|
143
159
|
h as TimePicker,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
160
|
+
Do as Title,
|
|
161
|
+
Ro as TopLogo,
|
|
162
|
+
Se as UnreadMessagePill,
|
|
163
|
+
He as ageToBirthDate,
|
|
164
|
+
ze as birthDateToAge,
|
|
165
|
+
ft as combineRef,
|
|
166
|
+
Lo as convertMdToHtml,
|
|
167
|
+
tt as dayFlagToDay,
|
|
168
|
+
Kt as getAbilityCollection,
|
|
150
169
|
u as getAvailableDateRange,
|
|
151
170
|
se as getBotMessageLabel,
|
|
152
|
-
|
|
153
|
-
|
|
171
|
+
at as getCareTypeLabel,
|
|
172
|
+
Xt as getChildLabel,
|
|
154
173
|
ue as getClassInfo,
|
|
155
174
|
de as getCtaButtonText,
|
|
156
|
-
|
|
157
|
-
|
|
175
|
+
Le as getDateRange,
|
|
176
|
+
Fe as getImageUrl,
|
|
158
177
|
Y as getMessageLabel,
|
|
159
|
-
|
|
160
|
-
|
|
178
|
+
Lt as getPreferredAgeKeywords,
|
|
179
|
+
ae as getSystemMessageLabel,
|
|
161
180
|
Re as getTimeRange,
|
|
162
|
-
|
|
163
|
-
|
|
181
|
+
Xe as getVimeoId,
|
|
182
|
+
Ee as isAndroid,
|
|
164
183
|
Ke as isApp,
|
|
165
|
-
|
|
166
|
-
|
|
184
|
+
Ue as isDesktop,
|
|
185
|
+
Ge as isIos,
|
|
167
186
|
De as isServer,
|
|
187
|
+
Io as isSuccess,
|
|
188
|
+
Fo as isValid,
|
|
168
189
|
Z as markMessageGroupBoundaries,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
190
|
+
Oe as objectToQueryString,
|
|
191
|
+
Ze as parseQueryString,
|
|
192
|
+
$e as share,
|
|
193
|
+
ke as useCombineRef,
|
|
194
|
+
Me as useInView,
|
|
195
|
+
ye as useIsomorphicLayoutEffect
|
|
175
196
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from 'node_modules/@dotss/ui/Button/Button';
|
|
3
|
+
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
4
|
+
export interface ActionButtonsProps extends FlexboxProps {
|
|
5
|
+
topButtonOnClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
bottomButtonOnClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
7
|
+
topButtonLabel?: ReactNode;
|
|
8
|
+
topButtonProps?: ButtonProps;
|
|
9
|
+
bottomButtonLabel?: ReactNode;
|
|
10
|
+
bottomButtonProps?: ButtonProps;
|
|
11
|
+
}
|
|
12
|
+
declare function ActionButtons({ topButtonOnClick, bottomButtonOnClick, topButtonLabel, topButtonProps, bottomButtonLabel, bottomButtonProps, ...props }: ActionButtonsProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default ActionButtons;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import i from "@dotss/ui/Button";
|
|
3
|
+
import u from "@dotss/ui/Flexbox";
|
|
4
|
+
function p({
|
|
5
|
+
topButtonOnClick: n,
|
|
6
|
+
bottomButtonOnClick: r,
|
|
7
|
+
topButtonLabel: t,
|
|
8
|
+
topButtonProps: e,
|
|
9
|
+
bottomButtonLabel: l,
|
|
10
|
+
bottomButtonProps: c,
|
|
11
|
+
...s
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ m(u, { flexDirection: "column", gap: 2, inlineCSS: { width: "100%" }, ...s, children: [
|
|
14
|
+
/* @__PURE__ */ o(
|
|
15
|
+
i,
|
|
16
|
+
{
|
|
17
|
+
type: "button",
|
|
18
|
+
color: "secondary",
|
|
19
|
+
size: "large",
|
|
20
|
+
onClick: n,
|
|
21
|
+
...e,
|
|
22
|
+
children: t || "인증하기"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ o(i, { size: "large", onClick: r, ...c, children: l || "째깍악어 가입/로그인하기" })
|
|
26
|
+
] });
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
p as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
2
|
+
export interface BottomNotesProps extends FlexboxProps {
|
|
3
|
+
notes: string;
|
|
4
|
+
}
|
|
5
|
+
declare function BottomNotes({ notes, ...props }: BottomNotesProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default BottomNotes;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as h } from "@dotss/ui";
|
|
3
|
+
import l from "@dotss/ui/core/useTheme";
|
|
4
|
+
import i from "@dotss/ui/Flexbox";
|
|
5
|
+
function a({ notes: n, ...o }) {
|
|
6
|
+
const { typography: e } = l();
|
|
7
|
+
return /* @__PURE__ */ r(i, { tag: "section", ...o, children: [
|
|
8
|
+
/* @__PURE__ */ t(h, { tag: "h2", visuallyHidden: !0, children: "주의사항" }),
|
|
9
|
+
/* @__PURE__ */ t(
|
|
10
|
+
i,
|
|
11
|
+
{
|
|
12
|
+
flexDirection: "column",
|
|
13
|
+
gap: 1,
|
|
14
|
+
dangerouslySetInnerHTML: { __html: n },
|
|
15
|
+
inlineCSS: {
|
|
16
|
+
width: "100%",
|
|
17
|
+
fontSize: e.b4R.size,
|
|
18
|
+
fontWeight: e.b4R.weight,
|
|
19
|
+
lineHeight: e.b4R.lineHeight,
|
|
20
|
+
"& > ul": {
|
|
21
|
+
paddingLeft: "1rem",
|
|
22
|
+
listStyleType: "disc"
|
|
23
|
+
},
|
|
24
|
+
"& strong": {
|
|
25
|
+
fontSize: e.h5B.size,
|
|
26
|
+
fontWeight: e.h5B.weight,
|
|
27
|
+
lineHeight: e.h5B.lineHeight,
|
|
28
|
+
letterSpacing: e.h5B.letterSpacing
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
] });
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
a as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TextFieldProps } from '../../../../shared/components/TextField';
|
|
2
|
+
export type EmployeeNumberFieldProps = Omit<TextFieldProps, 'id' | 'label' | 'placeholder'>;
|
|
3
|
+
declare function EmployeeNumberField(props: EmployeeNumberFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default EmployeeNumberField;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import r from "../../../../shared/components/TextField/TextField.mjs";
|
|
3
|
+
function i(e) {
|
|
4
|
+
return /* @__PURE__ */ l(
|
|
5
|
+
r,
|
|
6
|
+
{
|
|
7
|
+
id: "employee-number-field",
|
|
8
|
+
label: "사번",
|
|
9
|
+
placeholder: "사번을 입력해주세요.",
|
|
10
|
+
...e
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
i as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TextFieldProps } from '../../../../shared/components/TextField';
|
|
2
|
+
export type NameFieldProps = Omit<TextFieldProps, 'id' | 'label' | 'placeholder'>;
|
|
3
|
+
declare function NameField(props: NameFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default NameField;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import r from "../../../../shared/components/TextField/TextField.mjs";
|
|
3
|
+
function t(e) {
|
|
4
|
+
return /* @__PURE__ */ l(r, { id: "name-field", label: "이름", placeholder: "이름을 입력해주세요.", ...e });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
t as default
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TextFieldProps } from '../../../../shared/components/TextField';
|
|
2
|
+
export type PhoneNumberFieldProps = Omit<TextFieldProps, 'id' | 'label' | 'placeholder'>;
|
|
3
|
+
declare function PhoneNumberField({ onChange, ...props }: PhoneNumberFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default PhoneNumberField;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p } from "react";
|
|
3
|
+
import m from "../../../../shared/components/TextField/TextField.mjs";
|
|
4
|
+
import { isValid as s } from "./PhoneNumberField.utils.mjs";
|
|
5
|
+
function g({ onChange: t, ...e }) {
|
|
6
|
+
const [o, r] = p(null), i = (n, a) => {
|
|
7
|
+
const l = n.replace("-", "").replace(/^(\d{3})(\d{4})(\d{4})$/g, "$1-$2-$3").replace(/-{1,2}$/g, "").replace(/[^0-9-]/g, "");
|
|
8
|
+
s(l) ? r(null) : r({
|
|
9
|
+
severity: "error",
|
|
10
|
+
message: "올바른 휴대폰 번호를 입력해주세요."
|
|
11
|
+
}), t(l, a);
|
|
12
|
+
};
|
|
13
|
+
return /* @__PURE__ */ d(
|
|
14
|
+
m,
|
|
15
|
+
{
|
|
16
|
+
id: "phone-number-field",
|
|
17
|
+
label: "휴대폰 번호",
|
|
18
|
+
placeholder: "숫자만 입력해주세요. 예) 01012345678",
|
|
19
|
+
inputMode: "numeric",
|
|
20
|
+
textFieldProps: {
|
|
21
|
+
...e.textFieldProps,
|
|
22
|
+
helper: o
|
|
23
|
+
},
|
|
24
|
+
onChange: i,
|
|
25
|
+
...e
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
g as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import n from "@dotss/ui/Typography";
|
|
3
|
+
import i from "@dotss/ui/Flexbox";
|
|
4
|
+
function p({ children: t, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ e(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
tag: "h1",
|
|
9
|
+
justifyContent: "center",
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
inlineCSS: { width: "100%", wordBreak: "keep-all", whiteSpace: "pre-line" },
|
|
12
|
+
...r,
|
|
13
|
+
children: /* @__PURE__ */ e(n, { tag: "span", variant: "h1B", textAlign: "center", children: t })
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
p as default
|
|
19
|
+
};
|