@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,24 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
};
|
|
1
|
+
//#region shared/utils/combineRef/combineRef.ts
|
|
2
|
+
function e(...e) {
|
|
3
|
+
return (t) => {
|
|
4
|
+
let n = [];
|
|
5
|
+
return e.forEach((e) => {
|
|
6
|
+
if (e) {
|
|
7
|
+
if (typeof e == "function") {
|
|
8
|
+
n.push(e(t));
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
e.current = t, n.push(() => {
|
|
12
|
+
e.current = null;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}), () => {
|
|
16
|
+
for (; n.length > 0;) n.pop()?.();
|
|
17
|
+
};
|
|
18
|
+
};
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./combineRef.mjs";
|
|
2
|
+
//#region shared/utils/combineRef/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import { DayFlag as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
case r.FRI:
|
|
15
|
-
return 5;
|
|
16
|
-
case r.SAT:
|
|
17
|
-
return 6;
|
|
18
|
-
default:
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
1
|
+
import { DayFlag as e } from "../../typings/common.mjs";
|
|
2
|
+
//#region shared/utils/dayFlagToDay/dayFlagToDay.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
switch (t) {
|
|
5
|
+
case e.SUN: return 0;
|
|
6
|
+
case e.MON: return 1;
|
|
7
|
+
case e.TUE: return 2;
|
|
8
|
+
case e.WED: return 3;
|
|
9
|
+
case e.THU: return 4;
|
|
10
|
+
case e.FRI: return 5;
|
|
11
|
+
case e.SAT: return 6;
|
|
12
|
+
default: return null;
|
|
13
|
+
}
|
|
21
14
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./dayFlagToDay.mjs";
|
|
2
|
+
//#region shared/utils/dayFlagToDay/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return "영어";
|
|
13
|
-
case "6":
|
|
14
|
-
return "패키지";
|
|
15
|
-
default:
|
|
16
|
-
return "";
|
|
17
|
-
}
|
|
1
|
+
//#region shared/utils/getCareTypeLabel/getCareTypeLabel.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
switch (e) {
|
|
4
|
+
case "1": return "놀이";
|
|
5
|
+
case "2": return "등하원∙이동";
|
|
6
|
+
case "3": return "학습";
|
|
7
|
+
case "4": return "창의미술";
|
|
8
|
+
case "5": return "영어";
|
|
9
|
+
case "6": return "패키지";
|
|
10
|
+
default: return "";
|
|
11
|
+
}
|
|
18
12
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./getCareTypeLabel.mjs";
|
|
2
|
+
//#region shared/utils/getCareTypeLabel/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
label: e.format(s),
|
|
13
|
-
value: e.toDate()
|
|
14
|
-
}), s === "YYYY-MM" ? e = e.add(1, "month") : e = e.add(1, "day");
|
|
15
|
-
return i;
|
|
1
|
+
import e from "dayjs";
|
|
2
|
+
//#region shared/utils/getDateRange/getDateRange.ts
|
|
3
|
+
function t(t, r, i = {}) {
|
|
4
|
+
let { format: a = "YYYY-MM-DD" } = i, o = e(t), s = e(r);
|
|
5
|
+
if (!o.isValid() || !s.isValid() || o.isAfter(s)) return [];
|
|
6
|
+
let c = [], l = o;
|
|
7
|
+
for (; n(l, s);) c.push({
|
|
8
|
+
label: l.format(a),
|
|
9
|
+
value: l.toDate()
|
|
10
|
+
}), l = a === "YYYY-MM" ? l.add(1, "month") : l.add(1, "day");
|
|
11
|
+
return c;
|
|
16
12
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
13
|
+
function n(e, t) {
|
|
14
|
+
return e.isBefore(t) || e.isSame(t);
|
|
19
15
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./getDateRange.mjs";
|
|
2
|
+
//#region shared/utils/getDateRange/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
height: r,
|
|
7
|
-
fit: o = "cover",
|
|
8
|
-
position: $ = "center",
|
|
9
|
-
scale: t = 2,
|
|
10
|
-
disabledResizing: u = !1
|
|
11
|
-
}) {
|
|
12
|
-
let f = `${n}?v=1`;
|
|
13
|
-
return e === "blur" ? (i && (f += `&width=${i * t}`), r && (f += `&height=${r * t}`), !i && !r && (f += "&width=50&height=50"), f) : (u || (f += `&fit=${o}&position=${$}`, i && (f += `&width=${i * t}`), r && (f += `&height=${r * t}`)), f);
|
|
1
|
+
//#region shared/utils/getImageUrl/getImageUrl.ts
|
|
2
|
+
var e = 1;
|
|
3
|
+
function t({ mode: e = "original", src: t, width: n, height: r, fit: i = "cover", position: a = "center", scale: o = 2, disabledResizing: s = !1 }) {
|
|
4
|
+
let c = `${t}?v=1`;
|
|
5
|
+
return e === "blur" ? (n && (c += `&width=${n * o}`), r && (c += `&height=${r * o}`), !n && !r && (c += "&width=50&height=50"), c) : (s || (c += `&fit=${i}&position=${a}`, n && (c += `&width=${n * o}`), r && (c += `&height=${r * o}`)), c);
|
|
14
6
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
l as default
|
|
18
|
-
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as LAMBDA_VERSION, t as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import e from "./getImageUrl.mjs";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import e, { LAMBDA_VERSION as t } from "./getImageUrl.mjs";
|
|
2
|
+
//#region shared/utils/getImageUrl/index.ts
|
|
3
|
+
var n = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as LAMBDA_VERSION, n as default };
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return m ? e.slice(0, -1).flatMap((o, i) => [o, e[i + 1]]) : e;
|
|
1
|
+
import e from "dayjs";
|
|
2
|
+
//#region shared/utils/getTimeRange/getTimeRange.ts
|
|
3
|
+
function t(t, n, r = {}) {
|
|
4
|
+
let { step: i = .5, minTime: a, maxTime: o, pairs: s = !1 } = r;
|
|
5
|
+
if (t >= n || t < 0 || n < 0 || i <= 0) return [];
|
|
6
|
+
let c = [], l = t;
|
|
7
|
+
for (; l <= n;) {
|
|
8
|
+
if ((a === void 0 || l >= a) && (o === void 0 || l <= o)) {
|
|
9
|
+
let t = Math.floor(l), n = Math.round((l - t) * 60), r = e().hour(t).minute(n);
|
|
10
|
+
c.push({
|
|
11
|
+
label: r.format("HH:mm"),
|
|
12
|
+
value: Number(l.toFixed(1))
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
l = Number((l + i).toFixed(1));
|
|
16
|
+
}
|
|
17
|
+
return s ? c.slice(0, -1).flatMap((e, t) => [e, c[t + 1]]) : c;
|
|
19
18
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./getTimeRange.mjs";
|
|
2
|
+
//#region shared/utils/getTimeRange/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
//#region shared/utils/getVimeoId/getVimeoId.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (!e || !e.includes("vimeo.com")) return 0;
|
|
4
|
+
try {
|
|
5
|
+
let t = new URL(e);
|
|
6
|
+
return Number(t.pathname.replaceAll("/", "").replace(/\D/g, ""));
|
|
7
|
+
} catch {
|
|
8
|
+
return 0;
|
|
9
|
+
}
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./getVimeoId.mjs";
|
|
2
|
+
//#region shared/utils/getVimeoId/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,36 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
export {
|
|
19
|
-
D as ageToBirthDate,
|
|
20
|
-
h as birthDateToAge,
|
|
21
|
-
U as combineRef,
|
|
22
|
-
B as dayFlagToDay,
|
|
23
|
-
F as getCareTypeLabel,
|
|
24
|
-
d as getDateRange,
|
|
25
|
-
t as getImageUrl,
|
|
26
|
-
s as getTimeRange,
|
|
27
|
-
S as getVimeoId,
|
|
28
|
-
l as isAndroid,
|
|
29
|
-
i as isApp,
|
|
30
|
-
T as isDesktop,
|
|
31
|
-
x as isIos,
|
|
32
|
-
o as isServer,
|
|
33
|
-
I as objectToQueryString,
|
|
34
|
-
Q as parseQueryString,
|
|
35
|
-
k as share
|
|
36
|
-
};
|
|
1
|
+
import e from "./isServer/index.mjs";
|
|
2
|
+
import t from "./getImageUrl/index.mjs";
|
|
3
|
+
import n from "./combineRef/index.mjs";
|
|
4
|
+
import r from "./dayFlagToDay/index.mjs";
|
|
5
|
+
import i from "./getDateRange/index.mjs";
|
|
6
|
+
import a from "./getTimeRange/index.mjs";
|
|
7
|
+
import o from "./birthDateToAge/index.mjs";
|
|
8
|
+
import s from "./getCareTypeLabel/index.mjs";
|
|
9
|
+
import c from "./isAndroid/index.mjs";
|
|
10
|
+
import l from "./isIos/index.mjs";
|
|
11
|
+
import u from "./isApp/index.mjs";
|
|
12
|
+
import d from "./isDesktop/index.mjs";
|
|
13
|
+
import f from "./ageToBirthDate/index.mjs";
|
|
14
|
+
import p from "./objectToQueryString/index.mjs";
|
|
15
|
+
import m from "./getVimeoId/index.mjs";
|
|
16
|
+
import h from "./parseQueryString/index.mjs";
|
|
17
|
+
import g from "./share/index.mjs";
|
|
18
|
+
export { f as ageToBirthDate, o as birthDateToAge, n as combineRef, r as dayFlagToDay, s as getCareTypeLabel, i as getDateRange, t as getImageUrl, a as getTimeRange, m as getVimeoId, c as isAndroid, u as isApp, d as isDesktop, l as isIos, e as isServer, p as objectToQueryString, h as parseQueryString, g as share };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./isAndroid.mjs";
|
|
2
|
+
//#region shared/utils/isAndroid/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./isApp.mjs";
|
|
2
|
+
//#region shared/utils/isApp/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
//#region shared/utils/isApp/isApp.ts
|
|
1
2
|
function e() {
|
|
2
|
-
|
|
3
|
+
return typeof document < "u" && !!window?.flutter_inappwebview;
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./isDesktop.mjs";
|
|
2
|
+
//#region shared/utils/isDesktop/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
//#region shared/utils/isDesktop/isDesktop.ts
|
|
2
|
+
function e() {
|
|
3
|
+
let e = navigator.userAgent.toLowerCase();
|
|
4
|
+
return ![
|
|
5
|
+
"android",
|
|
6
|
+
"iphone",
|
|
7
|
+
"ipad",
|
|
8
|
+
"ipod",
|
|
9
|
+
"blackberry",
|
|
10
|
+
"windows phone",
|
|
11
|
+
"opera mini",
|
|
12
|
+
"mobile"
|
|
13
|
+
].some((t) => e.includes(t));
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./isIos.mjs";
|
|
2
|
+
//#region shared/utils/isIos/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region shared/utils/isIos/isIos.ts
|
|
2
|
+
function e() {
|
|
3
|
+
return /iphone|ipad|ipod/i.test(navigator.userAgent);
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./objectToQueryString.mjs";
|
|
2
|
+
//#region shared/utils/objectToQueryString/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
//#region shared/utils/objectToQueryString/objectToQueryString.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (typeof e != "object" || !e) return "";
|
|
4
|
+
let t = new URLSearchParams(e).toString();
|
|
5
|
+
return t ? `?${t}` : "";
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region shared/utils/parseQueryString/parseQueryString.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e ? Object.fromEntries([...new URLSearchParams(e)]) : {};
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./share.mjs";
|
|
2
|
+
//#region shared/utils/share/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return window.navigator.share(n).then(t).catch(e);
|
|
1
|
+
//#region shared/utils/share/share.ts
|
|
2
|
+
function e(e, { onSuccess: t, onError: n } = {}) {
|
|
3
|
+
if (!window.navigator.canShare) {
|
|
4
|
+
typeof n == "function" && n();
|
|
5
|
+
return;
|
|
6
|
+
} else if (!window.navigator.canShare(e)) {
|
|
7
|
+
typeof n == "function" && n();
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
return window.navigator.share(e).then(t).catch(n);
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as default };
|