@dotss/tictoccroc 0.11.2 → 0.12.1
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.mjs +101 -96
- package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +5 -5
- package/dist/shared/components/Image/Image.d.ts +1 -0
- package/dist/shared/components/Image/Image.mjs +102 -97
- package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.d.ts +18 -0
- package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.mjs +9 -0
- package/dist/shared/utils/getHoverChildrenScaleStyle/getHoverChildrenScaleStyle.test.d.ts +1 -0
- package/dist/shared/utils/getHoverChildrenScaleStyle/index.d.ts +2 -0
- package/dist/shared/utils/getHoverChildrenScaleStyle/index.mjs +5 -0
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.mjs +2 -1
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +12 -12
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +14 -14
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.d.ts +21 -0
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.fallback.d.ts +2 -0
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.fallback.mjs +128 -0
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.mjs +202 -0
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.d.ts +15 -0
- package/dist/teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.mjs +175 -0
- package/dist/teacher/profile/components/KokTeacherCard/index.d.ts +6 -0
- package/dist/teacher/profile/components/KokTeacherCard/index.mjs +7 -0
- package/dist/teacher/profile/components/ProfileSummary/index.d.ts +1 -0
- package/dist/teacher/profile/components/ProfileSummary/index.mjs +4 -3
- package/dist/teacher/profile/components/index.d.ts +2 -0
- package/dist/teacher/profile/components/index.mjs +28 -24
- package/package.json +1 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { getLastActiveText as e } from "../ProfileSummary/ProfileSummary.utils.mjs";
|
|
2
|
+
import { Flexbox as t, Icon as n, Label as r, Typography as i } from "@dotss/ui";
|
|
3
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
|
+
//#region teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.tsx
|
|
5
|
+
function c(e) {
|
|
6
|
+
return e ? /* @__PURE__ */ o(r, {
|
|
7
|
+
variant: "ghost",
|
|
8
|
+
size: "small",
|
|
9
|
+
children: "만났던"
|
|
10
|
+
}) : null;
|
|
11
|
+
}
|
|
12
|
+
function l(t) {
|
|
13
|
+
return /* @__PURE__ */ o(i, {
|
|
14
|
+
tag: "p",
|
|
15
|
+
variant: "c3M",
|
|
16
|
+
color: "grey.50",
|
|
17
|
+
children: e(t)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function u({ numChildren: e, totalHours: r }) {
|
|
21
|
+
return e === 0 || r === 0 ? /* @__PURE__ */ s(t, {
|
|
22
|
+
gap: 1,
|
|
23
|
+
alignItems: "flex-start",
|
|
24
|
+
children: [/* @__PURE__ */ o(n, {
|
|
25
|
+
name: "KidsLine",
|
|
26
|
+
size: "xSmall",
|
|
27
|
+
color: "grey.70",
|
|
28
|
+
inlineCSS: { transform: "translateY(0.5px)" }
|
|
29
|
+
}), /* @__PURE__ */ s(i, {
|
|
30
|
+
tag: "p",
|
|
31
|
+
variant: "b5R",
|
|
32
|
+
color: "grey.70",
|
|
33
|
+
children: [
|
|
34
|
+
"째깍악어에 ",
|
|
35
|
+
/* @__PURE__ */ o("strong", { children: "새로 오신 선생님" }),
|
|
36
|
+
"이에요"
|
|
37
|
+
]
|
|
38
|
+
})]
|
|
39
|
+
}) : /* @__PURE__ */ s(t, {
|
|
40
|
+
gap: 1,
|
|
41
|
+
alignItems: "flex-start",
|
|
42
|
+
children: [/* @__PURE__ */ o(n, {
|
|
43
|
+
name: "TimeLine",
|
|
44
|
+
size: "xSmall",
|
|
45
|
+
color: "grey.70",
|
|
46
|
+
inlineCSS: { transform: "translateY(0.5px)" }
|
|
47
|
+
}), /* @__PURE__ */ s(i, {
|
|
48
|
+
tag: "p",
|
|
49
|
+
variant: "b5R",
|
|
50
|
+
color: "grey.70",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ o("strong", { children: e }),
|
|
53
|
+
"명의 아이와 ",
|
|
54
|
+
/* @__PURE__ */ o("strong", { children: r }),
|
|
55
|
+
"시간을 함께했어요"
|
|
56
|
+
]
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function d({ careers: e = [], certificates: r = [], educations: a = [], categories: c = [] }) {
|
|
61
|
+
let l = r.length + e.length + a.length;
|
|
62
|
+
return e?.length > 0 ? /* @__PURE__ */ s(t, {
|
|
63
|
+
gap: 1,
|
|
64
|
+
alignItems: "flex-start",
|
|
65
|
+
children: [/* @__PURE__ */ o(n, {
|
|
66
|
+
name: "SpecialLine",
|
|
67
|
+
size: "xSmall",
|
|
68
|
+
color: "grey.70",
|
|
69
|
+
inlineCSS: {
|
|
70
|
+
flexShrink: 0,
|
|
71
|
+
transform: "translateY(0.5px)"
|
|
72
|
+
}
|
|
73
|
+
}), /* @__PURE__ */ s(i, {
|
|
74
|
+
tag: "p",
|
|
75
|
+
variant: "b5R",
|
|
76
|
+
color: "grey.70",
|
|
77
|
+
children: [e?.[0], l > 1 && /* @__PURE__ */ s("small", { children: [
|
|
78
|
+
" 외 ",
|
|
79
|
+
l - 1,
|
|
80
|
+
"개"
|
|
81
|
+
] })]
|
|
82
|
+
})]
|
|
83
|
+
}) : r?.length > 0 ? /* @__PURE__ */ s(t, {
|
|
84
|
+
gap: 1,
|
|
85
|
+
alignItems: "flex-start",
|
|
86
|
+
children: [/* @__PURE__ */ o(n, {
|
|
87
|
+
name: "CertificateLine",
|
|
88
|
+
size: "xSmall",
|
|
89
|
+
color: "grey.70",
|
|
90
|
+
inlineCSS: {
|
|
91
|
+
flexShrink: 0,
|
|
92
|
+
transform: "translateY(0.5px)"
|
|
93
|
+
}
|
|
94
|
+
}), /* @__PURE__ */ s(i, {
|
|
95
|
+
tag: "p",
|
|
96
|
+
variant: "b5R",
|
|
97
|
+
color: "grey.70",
|
|
98
|
+
children: [r?.[0], l > 1 && /* @__PURE__ */ s("small", { children: [
|
|
99
|
+
" 외 ",
|
|
100
|
+
l - 1,
|
|
101
|
+
"개"
|
|
102
|
+
] })]
|
|
103
|
+
})]
|
|
104
|
+
}) : a?.length > 0 ? /* @__PURE__ */ s(t, {
|
|
105
|
+
gap: 1,
|
|
106
|
+
alignItems: "flex-start",
|
|
107
|
+
children: [/* @__PURE__ */ o(n, {
|
|
108
|
+
name: "UniversityLine",
|
|
109
|
+
size: "xSmall",
|
|
110
|
+
color: "grey.70",
|
|
111
|
+
inlineCSS: {
|
|
112
|
+
flexShrink: 0,
|
|
113
|
+
transform: "translateY(0.5px)"
|
|
114
|
+
}
|
|
115
|
+
}), /* @__PURE__ */ s(i, {
|
|
116
|
+
tag: "p",
|
|
117
|
+
variant: "b5R",
|
|
118
|
+
color: "grey.70",
|
|
119
|
+
children: [a?.[0], l > 1 && /* @__PURE__ */ s("small", { children: [
|
|
120
|
+
" 외 ",
|
|
121
|
+
l - 1,
|
|
122
|
+
"개"
|
|
123
|
+
] })]
|
|
124
|
+
})]
|
|
125
|
+
}) : c?.length > 0 ? /* @__PURE__ */ s(t, {
|
|
126
|
+
gap: 1,
|
|
127
|
+
alignItems: "flex-start",
|
|
128
|
+
children: [/* @__PURE__ */ o(n, {
|
|
129
|
+
name: "ToyLine",
|
|
130
|
+
size: "xSmall",
|
|
131
|
+
color: "grey.70",
|
|
132
|
+
inlineCSS: {
|
|
133
|
+
flexShrink: 0,
|
|
134
|
+
transform: "translateY(0.5px)"
|
|
135
|
+
}
|
|
136
|
+
}), /* @__PURE__ */ s(i, {
|
|
137
|
+
tag: "p",
|
|
138
|
+
variant: "b5R",
|
|
139
|
+
color: "grey.70",
|
|
140
|
+
children: [c?.join(", "), "에 자신 있어요!"]
|
|
141
|
+
})]
|
|
142
|
+
}) : null;
|
|
143
|
+
}
|
|
144
|
+
function f(e) {
|
|
145
|
+
return /* @__PURE__ */ s(a, { children: [
|
|
146
|
+
"예상 금액 ",
|
|
147
|
+
(e || 0).toLocaleString(),
|
|
148
|
+
"원",
|
|
149
|
+
/* @__PURE__ */ o(i, {
|
|
150
|
+
tag: "span",
|
|
151
|
+
variant: "b5R",
|
|
152
|
+
color: "grey.50",
|
|
153
|
+
children: "/ 회당"
|
|
154
|
+
})
|
|
155
|
+
] });
|
|
156
|
+
}
|
|
157
|
+
function p(e) {
|
|
158
|
+
return /* @__PURE__ */ s(t, {
|
|
159
|
+
gap: 1,
|
|
160
|
+
alignItems: "center",
|
|
161
|
+
children: [/* @__PURE__ */ o(n, {
|
|
162
|
+
name: "InformationLine",
|
|
163
|
+
size: "xSmall",
|
|
164
|
+
color: "etc.orange",
|
|
165
|
+
inlineCSS: { transform: "translateY(-0.5px)" }
|
|
166
|
+
}), /* @__PURE__ */ o(i, {
|
|
167
|
+
tag: "p",
|
|
168
|
+
variant: "c4R",
|
|
169
|
+
color: "etc.orange",
|
|
170
|
+
children: e
|
|
171
|
+
})]
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
//#endregion
|
|
175
|
+
export { c as getBadgeLabel, u as getCareActivityLabel, f as getChargeLabel, p as getNote, l as getPictureLabel, d as getStrengthLabel };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { KokTeacherCardProps, default as KokTeacherCard } from './KokTeacherCard';
|
|
2
|
+
import { default as KokTeacherCardFallback } from './KokTeacherCard.fallback';
|
|
3
|
+
export * from './KokTeacherCard.utils';
|
|
4
|
+
export { KokTeacherCardFallback };
|
|
5
|
+
export type { KokTeacherCardProps };
|
|
6
|
+
export default KokTeacherCard;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./KokTeacherCard.mjs";
|
|
2
|
+
import t from "./KokTeacherCard.fallback.mjs";
|
|
3
|
+
import { getBadgeLabel as n, getCareActivityLabel as r, getChargeLabel as i, getNote as a, getPictureLabel as o, getStrengthLabel as s } from "./KokTeacherCard.utils.mjs";
|
|
4
|
+
//#region teacher/profile/components/KokTeacherCard/index.ts
|
|
5
|
+
var c = e;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as KokTeacherCardFallback, c as default, n as getBadgeLabel, r as getCareActivityLabel, i as getChargeLabel, a as getNote, o as getPictureLabel, s as getStrengthLabel };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import e from "./ProfileSummary.mjs";
|
|
1
|
+
import { getLastActiveText as e } from "./ProfileSummary.utils.mjs";
|
|
2
|
+
import t from "./ProfileSummary.mjs";
|
|
2
3
|
//#region teacher/profile/components/ProfileSummary/index.ts
|
|
3
|
-
var
|
|
4
|
+
var n = t;
|
|
4
5
|
//#endregion
|
|
5
|
-
export {
|
|
6
|
+
export { n as default, e as getLastActiveText };
|
|
@@ -10,6 +10,7 @@ export { default as AbilityCollection } from './AbilityCollection';
|
|
|
10
10
|
export { default as AvailableScheduleSection } from './AvailableScheduleSection';
|
|
11
11
|
export { default as CareNoteSection } from './CareNoteSection';
|
|
12
12
|
export { default as ParentReviewSection } from './ParentReviewSection';
|
|
13
|
+
export { default as KokTeacherCard } from './KokTeacherCard';
|
|
13
14
|
export * from './ProfileSummary';
|
|
14
15
|
export * from './StatBadgeCollection';
|
|
15
16
|
export * from './ActivityGallery';
|
|
@@ -22,3 +23,4 @@ export * from './AbilityCollection';
|
|
|
22
23
|
export * from './AvailableScheduleSection';
|
|
23
24
|
export * from './CareNoteSection';
|
|
24
25
|
export * from './ParentReviewSection';
|
|
26
|
+
export * from './KokTeacherCard';
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import e from "./ProfileSummary/
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./StatBadgeCollection/index.mjs";
|
|
4
|
-
import r from "./
|
|
5
|
-
import i from "./ActivityGallery/index.mjs";
|
|
6
|
-
import a from "./
|
|
7
|
-
import o from "./CertificateSection/index.mjs";
|
|
8
|
-
import s from "./
|
|
9
|
-
import c from "./CareerSection/index.mjs";
|
|
10
|
-
import l from "./
|
|
11
|
-
import u from "./EducationSection/index.mjs";
|
|
12
|
-
import d from "./
|
|
13
|
-
import
|
|
14
|
-
import p from "./PreferredAgeGroup/
|
|
15
|
-
import
|
|
16
|
-
import h from "./AbilityCollection/
|
|
17
|
-
import g from "./AbilityCollection/index.mjs";
|
|
18
|
-
import _ from "./
|
|
19
|
-
import v from "./
|
|
20
|
-
import y from "./CareNoteSection/index.mjs";
|
|
21
|
-
import
|
|
22
|
-
import x from "./ParentReviewSection/
|
|
23
|
-
import S from "./ParentReviewSection/index.mjs";
|
|
24
|
-
|
|
1
|
+
import { getLastActiveText as e } from "./ProfileSummary/ProfileSummary.utils.mjs";
|
|
2
|
+
import t from "./ProfileSummary/index.mjs";
|
|
3
|
+
import n from "./StatBadgeCollection/StatBadge/index.mjs";
|
|
4
|
+
import r from "./StatBadgeCollection/index.mjs";
|
|
5
|
+
import i from "./ActivityGallery/ActivityGalleryItem/index.mjs";
|
|
6
|
+
import a from "./ActivityGallery/index.mjs";
|
|
7
|
+
import o from "./CertificateSection/CertificateItem/index.mjs";
|
|
8
|
+
import s from "./CertificateSection/index.mjs";
|
|
9
|
+
import c from "./CareerSection/CareerItem/index.mjs";
|
|
10
|
+
import l from "./CareerSection/index.mjs";
|
|
11
|
+
import u from "./EducationSection/EducationItem/index.mjs";
|
|
12
|
+
import d from "./EducationSection/index.mjs";
|
|
13
|
+
import f from "./PreferredActivityKeywordGroup/index.mjs";
|
|
14
|
+
import { getPreferredAgeKeywords as p } from "./PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
|
|
15
|
+
import m from "./PreferredAgeGroup/index.mjs";
|
|
16
|
+
import { getAbilityCollection as h } from "./AbilityCollection/AbilityCollection.utils.mjs";
|
|
17
|
+
import g from "./AbilityCollection/AbilityBadge/index.mjs";
|
|
18
|
+
import _ from "./AbilityCollection/index.mjs";
|
|
19
|
+
import v from "./AvailableScheduleSection/index.mjs";
|
|
20
|
+
import y from "./CareNoteSection/CareNote/index.mjs";
|
|
21
|
+
import b from "./CareNoteSection/index.mjs";
|
|
22
|
+
import { getChildLabel as x } from "./ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
23
|
+
import S from "./ParentReviewSection/ParentReviewCard/index.mjs";
|
|
24
|
+
import C from "./ParentReviewSection/index.mjs";
|
|
25
|
+
import w from "./KokTeacherCard/KokTeacherCard.fallback.mjs";
|
|
26
|
+
import { getBadgeLabel as T, getCareActivityLabel as E, getChargeLabel as D, getNote as O, getPictureLabel as k, getStrengthLabel as A } from "./KokTeacherCard/KokTeacherCard.utils.mjs";
|
|
27
|
+
import j from "./KokTeacherCard/index.mjs";
|
|
28
|
+
export { g as AbilityBadge, _ as AbilityCollection, a as ActivityGallery, i as ActivityGalleryItem, v as AvailableScheduleSection, y as CareNote, b as CareNoteSection, c as CareerItem, l as CareerSection, o as CertificateItem, s as CertificateSection, u as EducationItem, d as EducationSection, j as KokTeacherCard, w as KokTeacherCardFallback, S as ParentReviewCard, C as ParentReviewSection, f as PreferredActivityKeywordGroup, m as PreferredAgeGroup, t as ProfileSummary, n as StatBadge, r as StatBadgeCollection, h as getAbilityCollection, T as getBadgeLabel, E as getCareActivityLabel, D as getChargeLabel, x as getChildLabel, e as getLastActiveText, O as getNote, k as getPictureLabel, p as getPreferredAgeKeywords, A as getStrengthLabel };
|
package/package.json
CHANGED