@dotss/tictoccroc 0.0.28 → 0.0.30
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 +82 -80
- package/dist/shared/components/ChatKit/Message/Message.mjs +13 -13
- package/dist/shared/components/ChatKit/Message/Message.utils.mjs +17 -17
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.mjs +20 -18
- package/dist/shared/utils/isIos/index.d.ts +2 -0
- package/dist/shared/utils/isIos/index.mjs +4 -0
- package/dist/shared/utils/isIos/isIos.d.ts +1 -0
- package/dist/shared/utils/isIos/isIos.mjs +6 -0
- package/dist/shared/utils/isIos/isIos.test.d.ts +1 -0
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +7 -6
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -39,71 +39,72 @@ import { default as Ie } from "./shared/utils/isServer/isServer.mjs";
|
|
|
39
39
|
import { default as De } from "./shared/utils/getTimeRange/getTimeRange.mjs";
|
|
40
40
|
import { default as ve } from "./shared/utils/getDateRange/getDateRange.mjs";
|
|
41
41
|
import { default as Pe } from "./shared/utils/isAndroid/isAndroid.mjs";
|
|
42
|
-
import { default as we } from "./shared/utils/
|
|
43
|
-
import { default as Ee } from "./shared/utils/
|
|
44
|
-
import { default as Ke } from "./shared/utils/
|
|
45
|
-
import { default as Qe } from "./shared/utils/
|
|
46
|
-
import { default as Ve } from "./shared/utils/
|
|
47
|
-
import { default as qe } from "./shared/utils/
|
|
48
|
-
import { default as He } from "./shared/utils/
|
|
49
|
-
import { default as Oe } from "./shared/utils/
|
|
50
|
-
import { default as Xe } from "./shared/utils/
|
|
51
|
-
import { default as Ze } from "./
|
|
52
|
-
import { default as $e } from "./teacher/profile/components/
|
|
53
|
-
import { default as aa } from "./teacher/profile/components/StatBadgeCollection/
|
|
54
|
-
import { default as oa } from "./teacher/profile/components/
|
|
55
|
-
import { default as fa } from "./teacher/profile/components/ActivityGallery/
|
|
56
|
-
import { default as sa } from "./teacher/profile/components/
|
|
57
|
-
import { default as da } from "./teacher/profile/components/CertificateSection/
|
|
58
|
-
import { default as pa } from "./teacher/profile/components/
|
|
59
|
-
import { default as ia } from "./teacher/profile/components/CareerSection/
|
|
60
|
-
import { default as na } from "./teacher/profile/components/
|
|
61
|
-
import { default as Sa } from "./teacher/profile/components/EducationSection/
|
|
62
|
-
import { default as Ca } from "./teacher/profile/components/
|
|
63
|
-
import { default as ba } from "./teacher/profile/components/
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { default as Da } from "./teacher/profile/components/AbilityCollection/
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import { default as wa } from "./teacher/profile/components/
|
|
70
|
-
import { default as Ea } from "./teacher/profile/components/CareNoteSection/
|
|
71
|
-
import { default as Ka } from "./teacher/profile/components/
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import { default as qa } from "./teacher/
|
|
75
|
-
import { default as Ha } from "./teacher/home/components/TextAccount/TextAccount.
|
|
76
|
-
import { default as Oa } from "./teacher/home/components/
|
|
77
|
-
import { default as Xa } from "./teacher/home/components/Carousel1Account/Carousel1Account.
|
|
78
|
-
import { default as Za } from "./teacher/home/components/
|
|
79
|
-
import { default as $a } from "./teacher/home/components/Carousel2Account/Carousel2Account.
|
|
80
|
-
import { default as at } from "./teacher/home/components/
|
|
81
|
-
import { default as ot } from "./teacher/home/components/BannerAccount/BannerAccount.
|
|
42
|
+
import { default as we } from "./shared/utils/isIos/isIos.mjs";
|
|
43
|
+
import { default as Ee } from "./shared/utils/isApp/isApp.mjs";
|
|
44
|
+
import { default as Ke } from "./shared/utils/isDesktop/isDesktop.mjs";
|
|
45
|
+
import { default as Qe } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
|
|
46
|
+
import { default as Ve } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
|
|
47
|
+
import { default as qe } from "./shared/utils/getVimeoId/getVimeoId.mjs";
|
|
48
|
+
import { default as He } from "./shared/utils/parseQueryString/parseQueryString.mjs";
|
|
49
|
+
import { default as Oe } from "./shared/utils/share/share.mjs";
|
|
50
|
+
import { default as Xe } from "./shared/utils/dayFlagToDay/dayFlagToDay.mjs";
|
|
51
|
+
import { default as Ze } from "./shared/utils/getCareTypeLabel/getCareTypeLabel.mjs";
|
|
52
|
+
import { default as $e } from "./teacher/profile/components/ProfileSummary/ProfileSummary.mjs";
|
|
53
|
+
import { default as aa } from "./teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs";
|
|
54
|
+
import { default as oa } from "./teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs";
|
|
55
|
+
import { default as fa } from "./teacher/profile/components/ActivityGallery/ActivityGallery.mjs";
|
|
56
|
+
import { default as sa } from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs";
|
|
57
|
+
import { default as da } from "./teacher/profile/components/CertificateSection/CertificateSection.mjs";
|
|
58
|
+
import { default as pa } from "./teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs";
|
|
59
|
+
import { default as ia } from "./teacher/profile/components/CareerSection/CareerSection.mjs";
|
|
60
|
+
import { default as na } from "./teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs";
|
|
61
|
+
import { default as Sa } from "./teacher/profile/components/EducationSection/EducationSection.mjs";
|
|
62
|
+
import { default as Ca } from "./teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs";
|
|
63
|
+
import { default as ba } from "./teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs";
|
|
64
|
+
import { default as Ma } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs";
|
|
65
|
+
import { getPreferredAgeKeywords as Ia } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
|
|
66
|
+
import { default as Da } from "./teacher/profile/components/AbilityCollection/AbilityCollection.mjs";
|
|
67
|
+
import { default as va } from "./teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs";
|
|
68
|
+
import { getAbilityCollection as Pa } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
|
|
69
|
+
import { default as wa } from "./teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs";
|
|
70
|
+
import { default as Ea } from "./teacher/profile/components/CareNoteSection/CareNoteSection.mjs";
|
|
71
|
+
import { default as Ka } from "./teacher/profile/components/CareNoteSection/CareNote/CareNote.mjs";
|
|
72
|
+
import { default as Qa } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs";
|
|
73
|
+
import { getChildLabel as Va } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
74
|
+
import { default as qa } from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs";
|
|
75
|
+
import { default as Ha } from "./teacher/home/components/TextAccount/TextAccount.mjs";
|
|
76
|
+
import { default as Oa } from "./teacher/home/components/TextAccount/TextAccount.fallback.mjs";
|
|
77
|
+
import { default as Xa } from "./teacher/home/components/Carousel1Account/Carousel1Account.mjs";
|
|
78
|
+
import { default as Za } from "./teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs";
|
|
79
|
+
import { default as $a } from "./teacher/home/components/Carousel2Account/Carousel2Account.mjs";
|
|
80
|
+
import { default as at } from "./teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs";
|
|
81
|
+
import { default as ot } from "./teacher/home/components/BannerAccount/BannerAccount.mjs";
|
|
82
|
+
import { default as ft } from "./teacher/home/components/BannerAccount/BannerAccount.fallback.mjs";
|
|
82
83
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
va as AbilityBadge,
|
|
85
|
+
Da as AbilityCollection,
|
|
86
|
+
fa as ActivityGallery,
|
|
87
|
+
sa as ActivityGalleryItem,
|
|
88
|
+
wa as AvailableScheduleSection,
|
|
89
|
+
ot as BannerAccount,
|
|
90
|
+
ft as BannerAccountFallback,
|
|
90
91
|
fe as BotMessage,
|
|
91
92
|
N as Calendar,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
Ka as CareNote,
|
|
94
|
+
Ea as CareNoteSection,
|
|
95
|
+
na as CareerItem,
|
|
96
|
+
ia as CareerSection,
|
|
96
97
|
k as Carousel,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
Xa as Carousel1Account,
|
|
99
|
+
Za as Carousel1AccountFallback,
|
|
100
|
+
$a as Carousel2Account,
|
|
101
|
+
at as Carousel2AccountFallback,
|
|
101
102
|
T as CarouselSlide,
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
pa as CertificateItem,
|
|
104
|
+
da as CertificateSection,
|
|
104
105
|
ae as DirectTradeRiskInfoBottomSheet,
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
Ca as EducationItem,
|
|
107
|
+
Sa as EducationSection,
|
|
107
108
|
L as Image,
|
|
108
109
|
G as ImageError,
|
|
109
110
|
pe as InputBar,
|
|
@@ -118,50 +119,51 @@ export {
|
|
|
118
119
|
A as MediaDialogToolbar,
|
|
119
120
|
J as Message,
|
|
120
121
|
W as MessageFallback,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
qa as ParentReviewCard,
|
|
123
|
+
Qa as ParentReviewSection,
|
|
124
|
+
ba as PreferredActivityKeywordGroup,
|
|
125
|
+
Ma as PreferredAgeGroup,
|
|
126
|
+
$e as ProfileSummary,
|
|
126
127
|
F as Roller,
|
|
127
128
|
R as RollerBlock,
|
|
128
129
|
l as ScheduleBlock,
|
|
129
130
|
r as ScheduleEvent,
|
|
130
131
|
t as Scheduler,
|
|
131
132
|
ne as Seperator,
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
oa as StatBadge,
|
|
134
|
+
aa as StatBadgeCollection,
|
|
134
135
|
y as Swiper,
|
|
135
136
|
B as SwiperBlock,
|
|
136
137
|
$ as SystemMessage,
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
Ha as TextAccount,
|
|
139
|
+
Oa as TextAccountFallback,
|
|
139
140
|
h as TimePicker,
|
|
140
141
|
Se as UnreadMessagePill,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
Qe as birthDateToAge,
|
|
143
|
+
Xe as dayFlagToDay,
|
|
144
|
+
Pa as getAbilityCollection,
|
|
144
145
|
u as getAvailableDateRange,
|
|
145
146
|
se as getBotMessageLabel,
|
|
146
|
-
|
|
147
|
-
|
|
147
|
+
Ze as getCareTypeLabel,
|
|
148
|
+
Va as getChildLabel,
|
|
148
149
|
ue as getClassInfo,
|
|
149
150
|
de as getCtaButtonText,
|
|
150
151
|
ve as getDateRange,
|
|
151
152
|
Me as getImageUrl,
|
|
152
153
|
Y as getMessageLabel,
|
|
153
|
-
|
|
154
|
+
Ia as getPreferredAgeKeywords,
|
|
154
155
|
oe as getSystemMessageLabel,
|
|
155
156
|
De as getTimeRange,
|
|
156
|
-
|
|
157
|
+
qe as getVimeoId,
|
|
157
158
|
Pe as isAndroid,
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
Ee as isApp,
|
|
160
|
+
Ke as isDesktop,
|
|
161
|
+
we as isIos,
|
|
160
162
|
Ie as isServer,
|
|
161
163
|
Z as markMessageGroupBoundaries,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
Ve as objectToQueryString,
|
|
165
|
+
He as parseQueryString,
|
|
166
|
+
Oe as share,
|
|
165
167
|
be as useInView,
|
|
166
168
|
Ce as useIsomorphicLayoutEffect
|
|
167
169
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as q } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as x, useImperativeHandle as J, useEffect as y } from "react";
|
|
3
|
-
import { Flexbox as d, Typography as v, Button as Q, Icon as I, Menu as
|
|
4
|
-
import
|
|
5
|
-
import { useCheckHoverPossible as
|
|
6
|
-
import { MenuButton as
|
|
3
|
+
import { Flexbox as d, Typography as v, Button as Q, Icon as I, Menu as X, MenuBlock as P, CircularProgressIndicator as Y } from "@dotss/ui";
|
|
4
|
+
import Z from "@dotss/ui/core/useTheme";
|
|
5
|
+
import { useCheckHoverPossible as _ } from "@dotss/ui/hooks";
|
|
6
|
+
import { MenuButton as A } from "@dotss/ui/Menu";
|
|
7
7
|
import V from "dayjs";
|
|
8
8
|
import U from "../../Image/Image.mjs";
|
|
9
9
|
import M from "../../../hooks/useInView/useInView.mjs";
|
|
@@ -32,7 +32,7 @@ function de({
|
|
|
32
32
|
const {
|
|
33
33
|
palette: { brand: k, grey: a, etc: H },
|
|
34
34
|
spacing: E
|
|
35
|
-
} =
|
|
35
|
+
} = Z(), { isHoverPossible: K } = _(), o = x(null), D = x(null), p = x(null);
|
|
36
36
|
J(R, () => o.current);
|
|
37
37
|
const F = M(o), L = 300, s = l === "FAILED", N = f.length > L, O = (r) => {
|
|
38
38
|
r === "resend" ? (t == null || t(), p.current = setTimeout(() => {
|
|
@@ -40,7 +40,7 @@ function de({
|
|
|
40
40
|
}, 200)) : r === "delete" && (t == null || t(), p.current = setTimeout(() => {
|
|
41
41
|
b == null || b();
|
|
42
42
|
}, 200));
|
|
43
|
-
},
|
|
43
|
+
}, W = (r) => {
|
|
44
44
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.currentTarget.click());
|
|
45
45
|
};
|
|
46
46
|
return y(() => {
|
|
@@ -74,11 +74,12 @@ function de({
|
|
|
74
74
|
role: typeof c == "function" ? "button" : void 0,
|
|
75
75
|
tabIndex: typeof c == "function" ? 0 : -1,
|
|
76
76
|
onClick: c,
|
|
77
|
-
onKeyDown:
|
|
77
|
+
onKeyDown: W,
|
|
78
78
|
"aria-label": typeof c == "function" ? "선생님 프로필 보기" : void 0,
|
|
79
79
|
inlineCSS: {
|
|
80
80
|
position: "relative",
|
|
81
81
|
overflow: "hidden",
|
|
82
|
+
minWidth: 32,
|
|
82
83
|
cursor: typeof c == "function" ? "pointer" : void 0
|
|
83
84
|
},
|
|
84
85
|
children: /* @__PURE__ */ e(
|
|
@@ -118,7 +119,6 @@ function de({
|
|
|
118
119
|
{
|
|
119
120
|
tag: "p",
|
|
120
121
|
variant: "b3R",
|
|
121
|
-
textAlign: i ? "right" : "left",
|
|
122
122
|
inlineCSS: {
|
|
123
123
|
whiteSpace: "pre-wrap",
|
|
124
124
|
wordBreak: "break-all"
|
|
@@ -143,9 +143,9 @@ function de({
|
|
|
143
143
|
}
|
|
144
144
|
)
|
|
145
145
|
] }),
|
|
146
|
-
s && /* @__PURE__ */ n(
|
|
146
|
+
s && /* @__PURE__ */ n(q, { children: [
|
|
147
147
|
/* @__PURE__ */ n(
|
|
148
|
-
|
|
148
|
+
A,
|
|
149
149
|
{
|
|
150
150
|
ref: D,
|
|
151
151
|
isMenuOpen: !!g,
|
|
@@ -194,7 +194,7 @@ function de({
|
|
|
194
194
|
}
|
|
195
195
|
),
|
|
196
196
|
/* @__PURE__ */ n(
|
|
197
|
-
|
|
197
|
+
X,
|
|
198
198
|
{
|
|
199
199
|
id: `message-${C}-menu`,
|
|
200
200
|
anchorRef: D,
|
|
@@ -232,7 +232,7 @@ function de({
|
|
|
232
232
|
}
|
|
233
233
|
),
|
|
234
234
|
i && u > 0 && l === "PENDING" && /* @__PURE__ */ e(
|
|
235
|
-
|
|
235
|
+
Y,
|
|
236
236
|
{
|
|
237
237
|
size: "small",
|
|
238
238
|
loop: !0,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return a.map(([
|
|
4
|
-
const
|
|
1
|
+
import w from "dayjs";
|
|
2
|
+
function h(a) {
|
|
3
|
+
return a.map(([c, s]) => {
|
|
4
|
+
const r = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map();
|
|
5
5
|
for (let t = 0; t < s.length; t += 1) {
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const n = s[t], d = n.senderId, i = s[t - 1], o = s[t + 1];
|
|
7
|
+
d == null || n.status === "FAILED" || n.type !== "USER" || (i && (i == null ? void 0 : i.senderId) !== d && u.set(`${d}-${n.id}`, n.id), o && (o == null ? void 0 : o.senderId) !== d && I.set(`${d}-${n.id}`, n.id), r.has(d) || r.set(d, n.id), e.set(d, n.id));
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const f = new Set(r.values()), l = new Set(e.values()), p = new Set(I.values()), $ = new Set(u.values());
|
|
10
10
|
return [
|
|
11
|
-
|
|
11
|
+
c,
|
|
12
12
|
s.map((t) => ({
|
|
13
13
|
...t,
|
|
14
14
|
// 역방향 스크롤에 따른 역순 처리
|
|
15
|
-
isFirstInGroup:
|
|
16
|
-
isLastInGroup:
|
|
15
|
+
isFirstInGroup: l.has(t.id) || p.has(t.id),
|
|
16
|
+
isLastInGroup: f.has(t.id) || $.has(t.id)
|
|
17
17
|
}))
|
|
18
18
|
];
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function E({
|
|
22
22
|
mine: a,
|
|
23
|
-
status:
|
|
23
|
+
status: c,
|
|
24
24
|
unreadUserCount: s,
|
|
25
|
-
content:
|
|
26
|
-
regDatetime:
|
|
25
|
+
content: r,
|
|
26
|
+
regDatetime: e
|
|
27
27
|
}) {
|
|
28
|
-
return `${a ? "나" : "상대방"}, ${
|
|
28
|
+
return `${a ? "나" : "상대방"}, ${r}, ${s && s > 0 ? "읽지 않음" : "읽음"}, ${c === "SUCCEEDED" ? "전송됨" : "전송 실패"}, ${w(e).format("YYYY년 MM월 DD일 A h:mm")}`;
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
E as getMessageLabel,
|
|
32
|
+
h as markMessageGroupBoundaries
|
|
33
33
|
};
|
|
@@ -3,6 +3,7 @@ export { default as isServer } from './isServer';
|
|
|
3
3
|
export { default as getTimeRange } from './getTimeRange';
|
|
4
4
|
export { default as getDateRange } from './getDateRange';
|
|
5
5
|
export { default as isAndroid } from './isAndroid';
|
|
6
|
+
export { default as isIos } from './isIos';
|
|
6
7
|
export { default as isApp } from './isApp';
|
|
7
8
|
export { default as isDesktop } from './isDesktop';
|
|
8
9
|
export { default as birthDateToAge } from './birthDateToAge';
|
|
@@ -3,28 +3,30 @@ import { default as o } from "./isServer/isServer.mjs";
|
|
|
3
3
|
import { default as s } from "./getTimeRange/getTimeRange.mjs";
|
|
4
4
|
import { default as d } from "./getDateRange/getDateRange.mjs";
|
|
5
5
|
import { default as m } from "./isAndroid/isAndroid.mjs";
|
|
6
|
-
import { default as x } from "./
|
|
7
|
-
import { default as i } from "./
|
|
8
|
-
import { default as y } from "./
|
|
9
|
-
import { default as D } from "./
|
|
10
|
-
import { default as A } from "./
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as Q } from "./
|
|
13
|
-
import { default as c } from "./
|
|
14
|
-
import { default as k } from "./
|
|
6
|
+
import { default as x } from "./isIos/isIos.mjs";
|
|
7
|
+
import { default as i } from "./isApp/isApp.mjs";
|
|
8
|
+
import { default as y } from "./isDesktop/isDesktop.mjs";
|
|
9
|
+
import { default as D } from "./birthDateToAge/birthDateToAge.mjs";
|
|
10
|
+
import { default as A } from "./objectToQueryString/objectToQueryString.mjs";
|
|
11
|
+
import { default as S } from "./getVimeoId/getVimeoId.mjs";
|
|
12
|
+
import { default as Q } from "./parseQueryString/parseQueryString.mjs";
|
|
13
|
+
import { default as c } from "./share/share.mjs";
|
|
14
|
+
import { default as k } from "./dayFlagToDay/dayFlagToDay.mjs";
|
|
15
|
+
import { default as C } from "./getCareTypeLabel/getCareTypeLabel.mjs";
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
D as birthDateToAge,
|
|
18
|
+
k as dayFlagToDay,
|
|
19
|
+
C as getCareTypeLabel,
|
|
19
20
|
d as getDateRange,
|
|
20
21
|
r as getImageUrl,
|
|
21
22
|
s as getTimeRange,
|
|
22
|
-
|
|
23
|
+
S as getVimeoId,
|
|
23
24
|
m as isAndroid,
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
i as isApp,
|
|
26
|
+
y as isDesktop,
|
|
27
|
+
x as isIos,
|
|
26
28
|
o as isServer,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
A as objectToQueryString,
|
|
30
|
+
Q as parseQueryString,
|
|
31
|
+
c as share
|
|
30
32
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function isIos(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as e, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { Flexbox as a, Label as
|
|
3
|
-
import
|
|
4
|
-
import { useCheckHoverPossible as
|
|
2
|
+
import { Flexbox as a, Label as p, Typography as f, Icon as b } from "@dotss/ui";
|
|
3
|
+
import w from "@dotss/ui/core/useTheme";
|
|
4
|
+
import { useCheckHoverPossible as E } from "@dotss/ui/hooks";
|
|
5
5
|
import c from "dayjs";
|
|
6
6
|
function T({
|
|
7
7
|
title: x,
|
|
@@ -12,10 +12,10 @@ function T({
|
|
|
12
12
|
id: S,
|
|
13
13
|
...n
|
|
14
14
|
}) {
|
|
15
|
-
const { isHoverPossible: I } =
|
|
15
|
+
const { isHoverPossible: I } = E(), {
|
|
16
16
|
palette: { grey: m },
|
|
17
17
|
spacing: g
|
|
18
|
-
} =
|
|
18
|
+
} = w(), l = typeof n.onClick == "function", r = c(Y), u = o ? c(o) : c(), h = u.diff(r, "month"), d = Math.floor(h / 12), C = r.isSame(u, "year") && h % 12 < 1 ? 1 : h % 12;
|
|
19
19
|
return /* @__PURE__ */ i("li", { children: /* @__PURE__ */ e(
|
|
20
20
|
a,
|
|
21
21
|
{
|
|
@@ -53,12 +53,13 @@ function T({
|
|
|
53
53
|
/* @__PURE__ */ e(a, { flexDirection: "column", gap: 1, flexGrow: 1, children: [
|
|
54
54
|
/* @__PURE__ */ e(a, { alignItems: "center", gap: 1, children: [
|
|
55
55
|
k && /* @__PURE__ */ i(
|
|
56
|
-
|
|
56
|
+
p,
|
|
57
57
|
{
|
|
58
58
|
variant: "outlined",
|
|
59
59
|
size: "small",
|
|
60
60
|
color: "orange",
|
|
61
61
|
inlineCSS: {
|
|
62
|
+
whiteSpace: "nowrap",
|
|
62
63
|
marginRight: g.content(1)
|
|
63
64
|
},
|
|
64
65
|
children: "대표"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotss/tictoccroc",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.30",
|
|
5
5
|
"description": "Tictoccroc shared components, hooks, utils, and APIs for Dotss",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"@emotion/react": "^11.14.0",
|
|
107
107
|
"@emotion/styled": "^11.14.0",
|
|
108
108
|
"dayjs": "^1.11.13",
|
|
109
|
-
"react": "^18.0.0 || 19.0.0",
|
|
110
|
-
"react-dom": "^18.0.0 || 19.0.0",
|
|
109
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
110
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
111
111
|
"heic2any": "^0.0.4"
|
|
112
112
|
},
|
|
113
113
|
"publishConfig": {
|