@dotss/tictoccroc 0.12.0 → 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 +63 -62
- 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/index.d.ts +2 -0
- package/dist/teacher/profile/components/KokTeacherCard/index.mjs +4 -3
- package/dist/teacher/profile/components/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -42,72 +42,73 @@ import B from "./teacher/profile/components/CareNoteSection/index.mjs";
|
|
|
42
42
|
import { getChildLabel as V } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
43
43
|
import H from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs";
|
|
44
44
|
import U from "./teacher/profile/components/ParentReviewSection/index.mjs";
|
|
45
|
-
import
|
|
46
|
-
import
|
|
45
|
+
import W from "./shared/components/LoadingAnnouncer/index.mjs";
|
|
46
|
+
import G from "./teacher/profile/components/KokTeacherCard/KokTeacherCard.fallback.mjs";
|
|
47
|
+
import { getBadgeLabel as K, getCareActivityLabel as q, getChargeLabel as J, getNote as Y, getPictureLabel as X, getStrengthLabel as Z } from "./teacher/profile/components/KokTeacherCard/KokTeacherCard.utils.mjs";
|
|
48
|
+
import Q from "./teacher/profile/components/KokTeacherCard/index.mjs";
|
|
47
49
|
import "./teacher/profile/components/index.mjs";
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import fe from "./teacher/home/components/SingleAccount/index.mjs";
|
|
50
|
+
import $ from "./teacher/home/components/TextAccount/TextAccount.fallback.mjs";
|
|
51
|
+
import ee from "./teacher/home/components/TextAccount/index.mjs";
|
|
52
|
+
import te from "./shared/components/Carousel/CarouselSlide/index.mjs";
|
|
53
|
+
import ne from "./shared/components/Carousel/index.mjs";
|
|
54
|
+
import re from "./teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs";
|
|
55
|
+
import ie from "./teacher/home/components/Carousel1Account/index.mjs";
|
|
56
|
+
import ae from "./teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs";
|
|
57
|
+
import oe from "./teacher/home/components/Carousel2Account/index.mjs";
|
|
58
|
+
import se from "./shared/components/Swiper/SwiperBlock/index.mjs";
|
|
59
|
+
import ce from "./shared/components/MediaDialog/MediaBlock/index.mjs";
|
|
60
|
+
import le from "./shared/components/Swiper/index.mjs";
|
|
61
|
+
import ue from "./teacher/home/components/BannerAccount/BannerAccount.fallback.mjs";
|
|
62
|
+
import de from "./teacher/home/components/BannerAccount/index.mjs";
|
|
63
|
+
import fe from "./teacher/home/components/SingleAccount/SingleAccount.fallback.mjs";
|
|
64
|
+
import pe from "./teacher/home/components/SingleAccount/index.mjs";
|
|
64
65
|
import "./teacher/home/components/index.mjs";
|
|
65
|
-
import
|
|
66
|
+
import me from "./parent/notification/utils/sanitize/sanitize.mjs";
|
|
66
67
|
import "./parent/notification/utils/index.mjs";
|
|
67
|
-
import
|
|
68
|
+
import he from "./parent/notification/components/NotificationCard/index.mjs";
|
|
68
69
|
import "./parent/notification/components/index.mjs";
|
|
69
|
-
import { t as
|
|
70
|
+
import { t as ge } from "./convertMdToHtml-Bmk0brLK.js";
|
|
70
71
|
import "./parent/b2b/utils/index.mjs";
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import { isSuccess as
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { getMessageLabel as
|
|
87
|
-
import
|
|
88
|
-
import { getImageMessageLabel as
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import { getSystemMessageLabel as
|
|
92
|
-
import
|
|
93
|
-
import { getBotMessageLabel as
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
72
|
+
import _e from "./parent/b2b/components/ActionButtons/index.mjs";
|
|
73
|
+
import ve from "./parent/b2b/components/BottomNotes/index.mjs";
|
|
74
|
+
import ye from "./shared/components/TextField/index.mjs";
|
|
75
|
+
import be from "./parent/b2b/components/EmployeeNumberField/index.mjs";
|
|
76
|
+
import xe from "./parent/b2b/components/NameField/index.mjs";
|
|
77
|
+
import { isSuccess as Se, isValid as Ce } from "./parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs";
|
|
78
|
+
import we from "./parent/b2b/components/PhoneNumberField/index.mjs";
|
|
79
|
+
import Te from "./parent/b2b/components/Title/index.mjs";
|
|
80
|
+
import Ee from "./shared/components/MediaDialog/MediaDialogContent/index.mjs";
|
|
81
|
+
import De from "./shared/components/MediaDialog/MediaDialogFooter/index.mjs";
|
|
82
|
+
import Oe from "./shared/components/MediaDialog/MediaDialogToolbar/index.mjs";
|
|
83
|
+
import ke from "./shared/components/MediaDialog/index.mjs";
|
|
84
|
+
import Ae from "./shared/components/TimePicker/index.mjs";
|
|
85
|
+
import je from "./shared/components/Calendar/index.mjs";
|
|
86
|
+
import Me from "./shared/components/ChatKit/Message/Message.fallback.mjs";
|
|
87
|
+
import { getMessageLabel as Ne, markMessageGroupBoundaries as Pe } from "./shared/components/ChatKit/Message/Message.utils.mjs";
|
|
88
|
+
import Fe from "./shared/components/ChatKit/Message/index.mjs";
|
|
89
|
+
import { getImageMessageLabel as Ie, getPhotoAssetMessage as Le } from "./shared/components/ChatKit/ImageMessage/ImageMessage.utils.mjs";
|
|
90
|
+
import Re from "./shared/components/ChatKit/ImageMessage/index.mjs";
|
|
91
|
+
import ze from "./shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
|
|
92
|
+
import { getSystemMessageLabel as Be } from "./shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs";
|
|
93
|
+
import Ve from "./shared/components/ChatKit/SystemMessage/index.mjs";
|
|
94
|
+
import { getBotMessageLabel as He, getCtaButtonText as Ue } from "./shared/components/ChatKit/BotMessage/BotMessage.utils.mjs";
|
|
95
|
+
import We from "./shared/components/ChatKit/BotMessage/index.mjs";
|
|
96
|
+
import Ge from "./shared/components/ChatKit/InputBar/InputBar.fallback.mjs";
|
|
97
|
+
import Ke from "./shared/components/ChatKit/InputBar/index.mjs";
|
|
98
|
+
import qe from "./shared/components/ChatKit/Seperator/index.mjs";
|
|
99
|
+
import Je from "./shared/components/ChatKit/UnreadMessagePill/index.mjs";
|
|
100
|
+
import Ye from "./parent/b2b/components/TopLogo/index.mjs";
|
|
100
101
|
import "./parent/b2b/components/index.mjs";
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
102
|
+
import Xe from "./shared/utils/isAndroid/index.mjs";
|
|
103
|
+
import Ze from "./shared/utils/isIos/index.mjs";
|
|
104
|
+
import Qe from "./shared/utils/isApp/index.mjs";
|
|
105
|
+
import $e from "./shared/utils/isDesktop/index.mjs";
|
|
106
|
+
import et from "./shared/utils/ageToBirthDate/index.mjs";
|
|
107
|
+
import tt from "./shared/utils/objectToQueryString/index.mjs";
|
|
108
|
+
import nt from "./shared/utils/getVimeoId/index.mjs";
|
|
109
|
+
import rt from "./shared/utils/parseQueryString/index.mjs";
|
|
110
|
+
import it from "./shared/utils/share/index.mjs";
|
|
111
|
+
import at from "./shared/utils/getCareTypeLabel/index.mjs";
|
|
112
|
+
import ot from "./shared/utils/getHoverChildrenScaleStyle/index.mjs";
|
|
112
113
|
import "./shared/utils/index.mjs";
|
|
113
|
-
export { E as AbilityBadge, D as AbilityCollection,
|
|
114
|
+
export { E as AbilityBadge, D as AbilityCollection, _e as ActionButtons, h as ActivityGallery, p as ActivityGalleryItem, F as AvailableScheduleSection, de as BannerAccount, ue as BannerAccountFallback, We as BotMessage, ve as BottomNotes, je as Calendar, R as CareNote, B as CareNoteSection, v as CareerItem, y as CareerSection, ne as Carousel, ie as Carousel1Account, re as Carousel1AccountFallback, oe as Carousel2Account, ae as Carousel2AccountFallback, te as CarouselSlide, g as CertificateItem, _ as CertificateSection, ze as DirectTradeRiskInfoBottomSheet, b as EducationItem, x as EducationSection, be as EmployeeNumberField, a as Image, i as ImageError, Re as ImageMessage, Ke as InputBar, Ge as InputBarFallback, Q as KokTeacherCard, G as KokTeacherCardFallback, W as LoadingAnnouncer, m as Masonry, u as MasonryBlock, ce as MediaBlock, ke as MediaDialog, Ee as MediaDialogContent, De as MediaDialogFooter, Oe as MediaDialogToolbar, Fe as Message, Me as MessageFallback, xe as NameField, he as NotificationCard, H as ParentReviewCard, U as ParentReviewSection, we as PhoneNumberField, S as PreferredActivityKeywordGroup, w as PreferredAgeGroup, s as ProfileSummary, z as Roller, I as RollerBlock, N as ScheduleBlock, O as ScheduleEvent, P as Scheduler, qe as Seperator, pe as SingleAccount, fe as SingleAccountFallback, c as StatBadge, l as StatBadgeCollection, le as Swiper, se as SwiperBlock, Ve as SystemMessage, ee as TextAccount, $ as TextAccountFallback, ye as TextField, Ae as TimePicker, Te as Title, Ye as TopLogo, Je as UnreadMessagePill, et as ageToBirthDate, L as birthDateToAge, d as combineRef, ge as convertMdToHtml, k as dayFlagToDay, T as getAbilityCollection, M as getAvailableDateRange, K as getBadgeLabel, He as getBotMessageLabel, q as getCareActivityLabel, at as getCareTypeLabel, J as getChargeLabel, V as getChildLabel, Ue as getCtaButtonText, A as getDateRange, ot as getHoverChildrenScaleStyle, Ie as getImageMessageLabel, r as getImageUrl, o as getLastActiveText, Ne as getMessageLabel, Y as getNote, Le as getPhotoAssetMessage, X as getPictureLabel, C as getPreferredAgeKeywords, Z as getStrengthLabel, Be as getSystemMessageLabel, j as getTimeRange, nt as getVimeoId, Xe as isAndroid, Qe as isApp, $e as isDesktop, Ze as isIos, t as isServer, Se as isSuccess, Ce as isValid, Pe as markMessageGroupBoundaries, tt as objectToQueryString, rt as parseQueryString, me as sanitize, it as share, f as useCombineRef, e as useInView, n as useIsomorphicLayoutEffect };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import e from "../../../../shared/components/LoadingAnnouncer/index.mjs";
|
|
2
|
+
import t from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import a from "@dotss/ui/Box";
|
|
5
|
+
import o from "@dotss/ui/Card";
|
|
6
|
+
import s from "@dotss/ui/Flexbox";
|
|
7
|
+
import c from "@dotss/ui/Skeleton";
|
|
8
|
+
//#region teacher/profile/components/KokTeacherCard/KokTeacherCard.fallback.tsx
|
|
9
|
+
function l() {
|
|
10
|
+
let { spacing: l, palette: u } = t();
|
|
11
|
+
return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(e, {}), /* @__PURE__ */ i(o, {
|
|
12
|
+
variant: "outlined",
|
|
13
|
+
"aria-busy": !0,
|
|
14
|
+
wrapperProps: { inlineCSS: {
|
|
15
|
+
width: "100%",
|
|
16
|
+
alignSelf: "stretch"
|
|
17
|
+
} },
|
|
18
|
+
inlineCSS: {
|
|
19
|
+
width: "100%",
|
|
20
|
+
gap: "unset",
|
|
21
|
+
borderWidth: 1,
|
|
22
|
+
padding: l.content(4) - 1,
|
|
23
|
+
cursor: "wait",
|
|
24
|
+
"&:hover, &:active": { backgroundColor: u.grey.white }
|
|
25
|
+
},
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ i(s, {
|
|
28
|
+
justifyContent: "space-between",
|
|
29
|
+
gap: 3,
|
|
30
|
+
children: [/* @__PURE__ */ i(s, {
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
gap: 2,
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
children: [/* @__PURE__ */ r(c, {
|
|
35
|
+
width: 74,
|
|
36
|
+
height: 74,
|
|
37
|
+
borderRadius: 200
|
|
38
|
+
}), /* @__PURE__ */ r(c, {
|
|
39
|
+
width: 72,
|
|
40
|
+
textHeight: "c3M"
|
|
41
|
+
})]
|
|
42
|
+
}), /* @__PURE__ */ i(s, {
|
|
43
|
+
flexDirection: "column",
|
|
44
|
+
flexGrow: 1,
|
|
45
|
+
gap: 2,
|
|
46
|
+
inlineCSS: { minWidth: 0 },
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ i(s, {
|
|
49
|
+
gap: 2,
|
|
50
|
+
alignItems: "center",
|
|
51
|
+
inlineCSS: { minWidth: 0 },
|
|
52
|
+
children: [/* @__PURE__ */ i(s, {
|
|
53
|
+
flexGrow: 1,
|
|
54
|
+
gap: 2,
|
|
55
|
+
alignItems: "center",
|
|
56
|
+
children: [/* @__PURE__ */ r(c, {
|
|
57
|
+
width: 48,
|
|
58
|
+
height: 24,
|
|
59
|
+
borderRadius: 6
|
|
60
|
+
}), /* @__PURE__ */ r(c, {
|
|
61
|
+
width: 64,
|
|
62
|
+
textHeight: "h4B"
|
|
63
|
+
})]
|
|
64
|
+
}), /* @__PURE__ */ r(c, {
|
|
65
|
+
width: 24,
|
|
66
|
+
height: 24,
|
|
67
|
+
borderRadius: 4
|
|
68
|
+
})]
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ i(s, {
|
|
71
|
+
flexDirection: "column",
|
|
72
|
+
gap: 1,
|
|
73
|
+
children: [/* @__PURE__ */ r(c, {
|
|
74
|
+
textHeight: "b4M",
|
|
75
|
+
inlineCSS: { width: "100%" }
|
|
76
|
+
}), /* @__PURE__ */ r(c, {
|
|
77
|
+
textHeight: "b4M",
|
|
78
|
+
inlineCSS: { width: "72%" }
|
|
79
|
+
})]
|
|
80
|
+
}),
|
|
81
|
+
/* @__PURE__ */ i(s, {
|
|
82
|
+
flexDirection: "column",
|
|
83
|
+
gap: 1,
|
|
84
|
+
children: [/* @__PURE__ */ r(c, {
|
|
85
|
+
textHeight: "b5R",
|
|
86
|
+
inlineCSS: { width: "68%" }
|
|
87
|
+
}), /* @__PURE__ */ r(c, {
|
|
88
|
+
textHeight: "b5R",
|
|
89
|
+
inlineCSS: { width: "84%" }
|
|
90
|
+
})]
|
|
91
|
+
})
|
|
92
|
+
]
|
|
93
|
+
})]
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ r(a, {
|
|
96
|
+
tag: "hr",
|
|
97
|
+
mt: 2,
|
|
98
|
+
mb: 2,
|
|
99
|
+
inlineCSS: {
|
|
100
|
+
border: "unset",
|
|
101
|
+
height: 1,
|
|
102
|
+
background: u.grey[20]
|
|
103
|
+
}
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ i(s, {
|
|
106
|
+
alignItems: "center",
|
|
107
|
+
justifyContent: "space-between",
|
|
108
|
+
children: [/* @__PURE__ */ r(c, {
|
|
109
|
+
width: 148,
|
|
110
|
+
textHeight: "h5B"
|
|
111
|
+
}), /* @__PURE__ */ r(c, {
|
|
112
|
+
width: 88,
|
|
113
|
+
height: 24,
|
|
114
|
+
borderRadius: 6
|
|
115
|
+
})]
|
|
116
|
+
}),
|
|
117
|
+
/* @__PURE__ */ r(s, {
|
|
118
|
+
mt: 1,
|
|
119
|
+
children: /* @__PURE__ */ r(c, {
|
|
120
|
+
textHeight: "c4R",
|
|
121
|
+
inlineCSS: { width: "78%" }
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
]
|
|
125
|
+
})] });
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
128
|
+
export { l as default };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { KokTeacherCardProps, default as KokTeacherCard } from './KokTeacherCard';
|
|
2
|
+
import { default as KokTeacherCardFallback } from './KokTeacherCard.fallback';
|
|
2
3
|
export * from './KokTeacherCard.utils';
|
|
4
|
+
export { KokTeacherCardFallback };
|
|
3
5
|
export type { KokTeacherCardProps };
|
|
4
6
|
export default KokTeacherCard;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import e from "./KokTeacherCard.mjs";
|
|
2
|
-
import
|
|
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";
|
|
3
4
|
//#region teacher/profile/components/KokTeacherCard/index.ts
|
|
4
|
-
var
|
|
5
|
+
var c = e;
|
|
5
6
|
//#endregion
|
|
6
|
-
export {
|
|
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 };
|
|
@@ -22,6 +22,7 @@ import b from "./CareNoteSection/index.mjs";
|
|
|
22
22
|
import { getChildLabel as x } from "./ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
23
23
|
import S from "./ParentReviewSection/ParentReviewCard/index.mjs";
|
|
24
24
|
import C from "./ParentReviewSection/index.mjs";
|
|
25
|
-
import
|
|
26
|
-
import A from "./KokTeacherCard/
|
|
27
|
-
|
|
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