bonnetid-ui 0.0.5
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/README.md +21 -0
- package/dist/App.d.ts +3 -0
- package/dist/app/assets/browser-BPq4aN9G.js +1 -0
- package/dist/app/assets/chakra-petch-latin-500-normal-BR1ody1F.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-500-normal-CnUQnZ4D.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-600-normal-DQKfcdKo.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-600-normal-DVQm9bgb.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-700-normal-CnDBPjkL.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-700-normal-D1s_c2du.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-500-normal-BCHeNDEx.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-500-normal-gA6791b0.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-600-normal-CdGvbdDU.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-600-normal-nL80L4xU.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-700-normal-BeviJPUl.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-700-normal-DAkvJhej.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-500-normal-CJG_V2_m.woff +0 -0
- package/dist/app/assets/chakra-petch-thai-500-normal-DeexCGiz.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-600-normal-BiM5MXH8.woff +0 -0
- package/dist/app/assets/chakra-petch-thai-600-normal-C620THcd.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-700-normal-B7WL5pBr.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-700-normal-vZLZ_5L8.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-500-normal-BVzUBLGs.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-600-normal-Pvj4qcw_.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-700-normal-gQuUA8Wu.woff +0 -0
- package/dist/app/assets/dm-sans-latin-300-normal-5PdLhTtq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-300-normal-BIEPdU4K.woff +0 -0
- package/dist/app/assets/dm-sans-latin-400-normal-CN_gcpH5.woff +0 -0
- package/dist/app/assets/dm-sans-latin-400-normal-DwcD7z81.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-500-normal-BOEmR4rO.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-500-normal-CuLX8J35.woff +0 -0
- package/dist/app/assets/dm-sans-latin-600-normal-BY-DBcpC.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-600-normal-nt2wwSEB.woff +0 -0
- package/dist/app/assets/dm-sans-latin-700-normal-CHsHpBXM.woff +0 -0
- package/dist/app/assets/dm-sans-latin-700-normal-COgqbzv4.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-800-normal-BcCK7MqR.woff +0 -0
- package/dist/app/assets/dm-sans-latin-800-normal-DeXLON5z.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-300-normal-BzE0zO3N.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-300-normal-CihYRU4l.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-400-normal-B_g-cTf1.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-400-normal-Cd6-YbfH.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-500-normal-BxxUzzM_.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-500-normal-kP1Zl0kM.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-600-normal-BnzuacV6.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-600-normal-D6JAL3sq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-700-normal-B_UDu85C.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-700-normal-DaM0Z2aq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-800-normal-BSPv4UXu.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-800-normal-CQdRGYXx.woff +0 -0
- package/dist/app/assets/html2canvas.esm-CBrSDip1.js +22 -0
- package/dist/app/assets/index-BK9CpLtb.js +360 -0
- package/dist/app/assets/index-qLhYbFtH.css +1 -0
- package/dist/app/assets/index.es-BowDWdhy.js +18 -0
- package/dist/app/assets/montserrat-cyrillic-300-normal-0sPxshp4.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-300-normal-DK9HGdYA.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-BNZrkLa0.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-DBr-NfXb.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-500-normal-5hOf_6V8.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-500-normal-CEcnig0T.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-600-normal-BDeOmj0F.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-600-normal-CFBuNk4A.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-DO8I1zZZ.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-DSUBOH1D.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-300-normal-Ctr4ZZfs.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-300-normal-DChc9K-m.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-C8cdMEH1.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-DRPPeomZ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-500-normal-B-4z8kjO.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-500-normal-DOzfAZ45.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-600-normal-DBK1zJ_f.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-600-normal-wReYPmz2.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-D-Mk2xRJ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-D3s9QaN5.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-300-normal-DnktnXA7.woff +0 -0
- package/dist/app/assets/montserrat-latin-300-normal-nZUFlRvk.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-CIMKXMQI.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-c9plhWJ-.woff +0 -0
- package/dist/app/assets/montserrat-latin-500-normal-BO--OZiJ.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-500-normal-D2tJUN_M.woff +0 -0
- package/dist/app/assets/montserrat-latin-600-normal-BIqsilEx.woff +0 -0
- package/dist/app/assets/montserrat-latin-600-normal-CjtsKS3e.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-BYRy5CoC.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-CdCxnP3F.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-300-normal-NKpoVfN0.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-300-normal-UC_9RREF.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-Cd0_BKvP.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-DTispvgz.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-500-normal-B3sO5DY5.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-500-normal-Dl9DnvF-.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-600-normal-Cdwl3Fm3.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-600-normal-TBwi8riD.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-DTfQ8iG5.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-DexoegUD.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-300-normal-QSCr16Ih.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-300-normal-dyDOfQEI.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-CgEMIOQI.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-CxETBKkY.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-500-normal-Bs8uzZ4q.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-500-normal-Cu11HB8x.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-600-normal-ByPVM7OU.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-600-normal-DPiqdaMz.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-D8RPk-a5.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-fdUDkXo_.woff +0 -0
- package/dist/app/assets/onest-cyrillic-100-normal-BzaRAqqs.woff +0 -0
- package/dist/app/assets/onest-cyrillic-100-normal-PXfF0wcm.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
- package/dist/app/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
- package/dist/app/assets/onest-latin-100-normal-4wr9CQWr.woff +0 -0
- package/dist/app/assets/onest-latin-100-normal-DLXL-llt.woff2 +0 -0
- package/dist/app/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
- package/dist/app/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
- package/dist/app/assets/onest-latin-700-normal-B6UpoX6M.woff +0 -0
- package/dist/app/assets/onest-latin-700-normal-D8xhDbGo.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-100-normal-B3N32yGm.woff +0 -0
- package/dist/app/assets/onest-latin-ext-100-normal-WCPo8XPV.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
- package/dist/app/assets/onest-latin-ext-700-normal-D_U7BJTl.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-700-normal-L8x1Byc4.woff +0 -0
- package/dist/app/assets/purify.es-CQJ0hv7W.js +2 -0
- package/dist/app/assets/ubuntu-cyrillic-400-normal-BfpxJ5Mw.woff +0 -0
- package/dist/app/assets/ubuntu-cyrillic-400-normal-D-o4fIzO.woff2 +0 -0
- package/dist/app/assets/ubuntu-cyrillic-ext-400-normal-C-34Juxs.woff +0 -0
- package/dist/app/assets/ubuntu-cyrillic-ext-400-normal-CVGbIIzP.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-400-normal-B86YUbWL.woff +0 -0
- package/dist/app/assets/ubuntu-greek-400-normal-DR4BMUC4.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-ext-400-normal-CMWpe1v5.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-ext-400-normal-Cksm0_CD.woff +0 -0
- package/dist/app/assets/ubuntu-latin-400-normal-5Llmrjj6.woff2 +0 -0
- package/dist/app/assets/ubuntu-latin-400-normal-CB0YmOUt.woff +0 -0
- package/dist/app/assets/ubuntu-latin-ext-400-normal-BmiHIjmy.woff2 +0 -0
- package/dist/app/assets/ubuntu-latin-ext-400-normal-VrasUMOh.woff +0 -0
- package/dist/app/img/IRN-logo.png +0 -0
- package/dist/app/img/dark/bg_ph1.png +0 -0
- package/dist/app/img/dark/bg_ph2.jpg +0 -0
- package/dist/app/img/dark/bg_ph3.png +0 -0
- package/dist/app/img/dark/masjid_ph1.png +0 -0
- package/dist/app/img/dark/masjid_ph3.png +0 -0
- package/dist/app/img/dark/ph1_dark.jpg +0 -0
- package/dist/app/img/dark/ph3_dark.jpg +0 -0
- package/dist/app/img/instruction.jpg +0 -0
- package/dist/app/img/light/bg_ph1.png +0 -0
- package/dist/app/img/light/bg_ph2.jpg +0 -0
- package/dist/app/img/light/bg_ph3.png +0 -0
- package/dist/app/img/light/masjid_ph1.png +0 -0
- package/dist/app/img/light/masjid_ph3.png +0 -0
- package/dist/app/img/light/ph1_light.png +0 -0
- package/dist/app/img/light/ph3_light.jpg +0 -0
- package/dist/app/img/masjid-select.png +0 -0
- package/dist/app/img/masjid_ph2.png +0 -0
- package/dist/app/img/quran img.png +0 -0
- package/dist/app/img/ud/bg1.png +0 -0
- package/dist/app/img/ud/bg2.png +0 -0
- package/dist/app/img/ud/bg3.png +0 -0
- package/dist/app/index.html +14 -0
- package/dist/app/manifest.webmanifest +1 -0
- package/dist/app/media/AD 1.png +0 -0
- package/dist/app/media/AD 2.jpg +0 -0
- package/dist/app/media/AD 3.jpg +0 -0
- package/dist/app/media/Mosque demo 1.mp4 +0 -0
- package/dist/app/media/Mosque demo 2.mp4 +0 -0
- package/dist/app/registerSW.js +1 -0
- package/dist/app/sw.js +1 -0
- package/dist/app/workbox-e3490c72.js +1 -0
- package/dist/components/lobby1/AnnouncementBar.d.ts +2 -0
- package/dist/components/lobby1/Carousel.d.ts +9 -0
- package/dist/components/lobby1/SmallPrayerTable.d.ts +13 -0
- package/dist/components/lobby2/ClockAndPrayersLeft.d.ts +12 -0
- package/dist/components/lobby2/PrayerBoxes.d.ts +14 -0
- package/dist/components/lobby3/Countdown.d.ts +9 -0
- package/dist/components/lobby3/LobbyTimetable.d.ts +9 -0
- package/dist/components/miscellaneous/ButtonSpin.d.ts +2 -0
- package/dist/components/miscellaneous/DownloadModal.d.ts +8 -0
- package/dist/components/miscellaneous/ErrorFallback.d.ts +3 -0
- package/dist/components/miscellaneous/FullscreenToggleButton.d.ts +6 -0
- package/dist/components/miscellaneous/Spin.d.ts +4 -0
- package/dist/components/miscellaneous/Toast.d.ts +2 -0
- package/dist/components/miscellanious/ButtonSpin.d.ts +2 -0
- package/dist/components/miscellanious/DownloadModal.d.ts +8 -0
- package/dist/components/miscellanious/FullscreenToggleButton.d.ts +6 -0
- package/dist/components/miscellanious/Spin.d.ts +4 -0
- package/dist/components/miscellanious/Toast.d.ts +2 -0
- package/dist/components/ph1/Instruction.d.ts +1 -0
- package/dist/components/ph1/MasjidLogo.d.ts +9 -0
- package/dist/components/ph1/MasjidPrayerClock.d.ts +8 -0
- package/dist/components/ph1/PrayerClockPH1.d.ts +5 -0
- package/dist/components/ph1/TimeTablePH1.d.ts +12 -0
- package/dist/components/ph2/PrayerTimeBox.d.ts +15 -0
- package/dist/components/ph3/CountdownText.d.ts +6 -0
- package/dist/components/ph3/CountdownVisual.d.ts +6 -0
- package/dist/components/ph3/DateInfo.d.ts +7 -0
- package/dist/components/ph3/DigitalClock.d.ts +5 -0
- package/dist/components/ph3/TimeTable.d.ts +9 -0
- package/dist/components/ud/CreatePrayerTimetableCard.d.ts +10 -0
- package/dist/components/ud/DateSelect.d.ts +10 -0
- package/dist/components/ud/DateSelector.d.ts +4 -0
- package/dist/components/ud/EventCard.d.ts +10 -0
- package/dist/components/ud/Header.d.ts +4 -0
- package/dist/components/ud/HijriCalendar.d.ts +9 -0
- package/dist/components/ud/ListEvents.d.ts +8 -0
- package/dist/components/ud/MasjidSelect.d.ts +4 -0
- package/dist/components/ud/PrayerTable.d.ts +9 -0
- package/dist/components/ud/PrayerTableTab.d.ts +9 -0
- package/dist/components/ud/PrayerTimetable.d.ts +4 -0
- package/dist/components/ud/Time.d.ts +6 -0
- package/dist/config/language-config.d.ts +3 -0
- package/dist/context/ThemeContext.d.ts +20 -0
- package/dist/context/UDContext.d.ts +52 -0
- package/dist/context/UDContextPreview.d.ts +43 -0
- package/dist/context/UDProviderWrapper.d.ts +2 -0
- package/dist/database-services/HijriServices.d.ts +11 -0
- package/dist/database-services/LocationServices.d.ts +16 -0
- package/dist/database-services/MasjidService.d.ts +6 -0
- package/dist/database-services/PrayerTimesService.d.ts +9 -0
- package/dist/database-services/logService.d.ts +1 -0
- package/dist/helpers/convertImgUrlToBase64.d.ts +1 -0
- package/dist/helpers/hexToRgba.d.ts +1 -0
- package/dist/hooks/useColorScheme.d.ts +16 -0
- package/dist/hooks/useEvents.d.ts +6 -0
- package/dist/hooks/useFetchAdhanAudio.d.ts +13 -0
- package/dist/hooks/useFetchUDTheme.d.ts +4 -0
- package/dist/hooks/useHijriMonthNames.d.ts +7 -0
- package/dist/hooks/useIqamahCheck.d.ts +12 -0
- package/dist/hooks/useLobbyConfig.d.ts +4 -0
- package/dist/hooks/useLocations.d.ts +5 -0
- package/dist/hooks/useMasjidInfo.d.ts +10 -0
- package/dist/hooks/useMosqueAnnouncement.d.ts +4 -0
- package/dist/hooks/useMosqueLanguage.d.ts +4 -0
- package/dist/hooks/useMosqueMedia.d.ts +10 -0
- package/dist/hooks/useMosquesForLocation.d.ts +11 -0
- package/dist/hooks/usePrayerTimes.d.ts +6 -0
- package/dist/hooks/usePrayerTimesRange.d.ts +15 -0
- package/dist/hooks/usePrayerTimesUD.d.ts +17 -0
- package/dist/hooks/usePrayerhallConfig.d.ts +4 -0
- package/dist/hooks/useUDLayoutConfig.d.ts +5 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.d.ts +39 -0
- package/dist/layout-components/lobby1/AnnouncementPart.d.ts +10 -0
- package/dist/layout-components/lobby1/CarouselPart.d.ts +6 -0
- package/dist/layout-components/lobby1/ClockAndTime.d.ts +9 -0
- package/dist/layout-components/lobby1/TablePart.d.ts +15 -0
- package/dist/layout-components/lobby2/CarouselAndTime.d.ts +7 -0
- package/dist/layout-components/lobby2/PrayerPart.d.ts +17 -0
- package/dist/layout-components/lobby3/TimePart.d.ts +15 -0
- package/dist/layout-components/ph1/ClockPart.d.ts +6 -0
- package/dist/layout-components/ph1/TimeTablePart.d.ts +15 -0
- package/dist/layout-components/ph2/ClockAndPrayers.d.ts +9 -0
- package/dist/layout-components/ph2/CountdownBox.d.ts +8 -0
- package/dist/layout-components/ph2/ExtraInfo.d.ts +11 -0
- package/dist/layout-components/ph2/TimeAndDate.d.ts +5 -0
- package/dist/layout-components/ph3/DigitalClockPart.d.ts +8 -0
- package/dist/layout-components/ph3/MasjidInfo.d.ts +5 -0
- package/dist/layout-components/ph3/TimeTable.d.ts +14 -0
- package/dist/lib/browser-VarZHYP5.js +13 -0
- package/dist/lib/html2canvas.esm-d2sM-0Wm.js +4870 -0
- package/dist/lib/img/IRN-logo.png +0 -0
- package/dist/lib/img/dark/bg_ph1.png +0 -0
- package/dist/lib/img/dark/bg_ph2.jpg +0 -0
- package/dist/lib/img/dark/bg_ph3.png +0 -0
- package/dist/lib/img/dark/masjid_ph1.png +0 -0
- package/dist/lib/img/dark/masjid_ph3.png +0 -0
- package/dist/lib/img/dark/ph1_dark.jpg +0 -0
- package/dist/lib/img/dark/ph3_dark.jpg +0 -0
- package/dist/lib/img/instruction.jpg +0 -0
- package/dist/lib/img/light/bg_ph1.png +0 -0
- package/dist/lib/img/light/bg_ph2.jpg +0 -0
- package/dist/lib/img/light/bg_ph3.png +0 -0
- package/dist/lib/img/light/masjid_ph1.png +0 -0
- package/dist/lib/img/light/masjid_ph3.png +0 -0
- package/dist/lib/img/light/ph1_light.png +0 -0
- package/dist/lib/img/light/ph3_light.jpg +0 -0
- package/dist/lib/img/masjid-select.png +0 -0
- package/dist/lib/img/masjid_ph2.png +0 -0
- package/dist/lib/img/quran img.png +0 -0
- package/dist/lib/img/ud/bg1.png +0 -0
- package/dist/lib/img/ud/bg2.png +0 -0
- package/dist/lib/img/ud/bg3.png +0 -0
- package/dist/lib/index-2Y4JRc3S.js +28122 -0
- package/dist/lib/index.css +1 -0
- package/dist/lib/index.es-Cb_BrjEy.js +5605 -0
- package/dist/lib/media/AD 1.png +0 -0
- package/dist/lib/media/AD 2.jpg +0 -0
- package/dist/lib/media/AD 3.jpg +0 -0
- package/dist/lib/media/Mosque demo 1.mp4 +0 -0
- package/dist/lib/media/Mosque demo 2.mp4 +0 -0
- package/dist/lib/my-ui-library.es.js +41 -0
- package/dist/lib/my-ui-library.umd.js +407 -0
- package/dist/lib/purify.es-DHbHSKL1.js +528 -0
- package/dist/main.d.ts +19 -0
- package/dist/pages/IqamahScreen.d.ts +2 -0
- package/dist/pages/Lobby1.d.ts +2 -0
- package/dist/pages/Lobby2.d.ts +2 -0
- package/dist/pages/Lobby3.d.ts +2 -0
- package/dist/pages/NotFound.d.ts +2 -0
- package/dist/pages/PH1.d.ts +2 -0
- package/dist/pages/PH2.d.ts +2 -0
- package/dist/pages/PH3.d.ts +2 -0
- package/dist/pages/ud/DownloadTimetable.d.ts +2 -0
- package/dist/pages/ud/Events.d.ts +2 -0
- package/dist/pages/ud/UD1.d.ts +2 -0
- package/dist/pages/ud/UD2.d.ts +2 -0
- package/dist/pages/ud/UD3.d.ts +2 -0
- package/dist/pages/ud/ViewTimetable.d.ts +2 -0
- package/dist/renderer/lobby/LobbyLayoutRenderer.d.ts +26 -0
- package/dist/renderer/lobby/LobbyRenderer.d.ts +2 -0
- package/dist/renderer/prayer-hall/PrayerHallLayoutRenderer.d.ts +33 -0
- package/dist/renderer/prayer-hall/PrayerHallRenderer.d.ts +2 -0
- package/dist/renderer/user-display/UDLayoutRenderer.d.ts +23 -0
- package/dist/renderer/user-display/UDRenderer.d.ts +2 -0
- package/dist/routes/AppRoutes.d.ts +2 -0
- package/dist/supabase.d.ts +1 -0
- package/dist/types/types.d.ts +45 -0
- package/dist/utils/CustomInput.d.ts +3 -0
- package/dist/utils/clockThemes.d.ts +27 -0
- package/dist/utils/countdown.d.ts +3 -0
- package/dist/utils/formatDate.d.ts +1 -0
- package/dist/utils/formatHijriDate.d.ts +9 -0
- package/dist/utils/formatHijriDay.d.ts +9 -0
- package/dist/utils/getThemeByTime.d.ts +2 -0
- package/dist/utils/idb/announcementDB.d.ts +2 -0
- package/dist/utils/idb/colorSchemeDB.d.ts +2 -0
- package/dist/utils/idb/hijriDatesDB.d.ts +2 -0
- package/dist/utils/idb/layoutConfigDB.d.ts +2 -0
- package/dist/utils/idb/locationDB.d.ts +8 -0
- package/dist/utils/idb/masjidInfoDB.d.ts +2 -0
- package/dist/utils/idb/mosqueMediaDB.d.ts +2 -0
- package/dist/utils/idb/mosquesByLocationDB.d.ts +8 -0
- package/dist/utils/idb/prayerRangeDB.d.ts +5 -0
- package/dist/utils/idb/prayerTimesDB.d.ts +6 -0
- package/dist/utils/idb/siteLanguageDB.d.ts +2 -0
- package/dist/utils/idb/udPrayerTimesDB.d.ts +17 -0
- package/dist/utils/timeToHours.d.ts +1 -0
- package/dist/utils/toMinutes.d.ts +2 -0
- package/dist/utils/toSimplePrayerTimes.d.ts +2 -0
- package/package.json +87 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface ComponentConfig {
|
|
2
|
+
type: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
props?: Record<string, any>;
|
|
5
|
+
gridConfig?: {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: {
|
|
8
|
+
backgroundImage?: string;
|
|
9
|
+
darkBackgroundImage?: string;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
components?: ComponentConfig[];
|
|
14
|
+
style?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface LayoutConfig {
|
|
19
|
+
gridConfig: {
|
|
20
|
+
className?: string;
|
|
21
|
+
style?: {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
components: ComponentConfig[];
|
|
26
|
+
}
|
|
27
|
+
export type ComponentProps = Record<string, any>;
|
|
28
|
+
interface LayoutRendererProps {
|
|
29
|
+
config: LayoutConfig;
|
|
30
|
+
componentProps?: ComponentProps;
|
|
31
|
+
}
|
|
32
|
+
export default function PrayerHallLayoutRenderer({ config, componentProps }: LayoutRendererProps): import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface UDComponentConfig {
|
|
2
|
+
type: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
props?: Record<string, any>;
|
|
5
|
+
style?: Record<string, any>;
|
|
6
|
+
gridConfig?: {
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: Record<string, any>;
|
|
9
|
+
};
|
|
10
|
+
components?: UDComponentConfig[];
|
|
11
|
+
}
|
|
12
|
+
export interface UDLayoutConfig {
|
|
13
|
+
gridConfig: {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: Record<string, any>;
|
|
16
|
+
};
|
|
17
|
+
components: UDComponentConfig[];
|
|
18
|
+
}
|
|
19
|
+
export type ComponentProps = Record<string, any>;
|
|
20
|
+
export default function UDLayoutRenderer({ config, componentProps }: {
|
|
21
|
+
config: UDLayoutConfig | null;
|
|
22
|
+
componentProps?: ComponentProps;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const supabase: import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type PrayerTime = {
|
|
2
|
+
name: string;
|
|
3
|
+
arabic: string;
|
|
4
|
+
adhan: string;
|
|
5
|
+
iqamah: string;
|
|
6
|
+
tomorrow: string;
|
|
7
|
+
};
|
|
8
|
+
export type SimplePrayerTimes = {
|
|
9
|
+
fajr: string;
|
|
10
|
+
"fajr end": string;
|
|
11
|
+
dhuhr: string;
|
|
12
|
+
asr: string;
|
|
13
|
+
maghrib: string;
|
|
14
|
+
isha: string;
|
|
15
|
+
};
|
|
16
|
+
export type PrayerTimesUD = {
|
|
17
|
+
name: string;
|
|
18
|
+
adhan: string;
|
|
19
|
+
iqamah: string;
|
|
20
|
+
tomorrow: string;
|
|
21
|
+
};
|
|
22
|
+
export type ExtraInfoTimes = {
|
|
23
|
+
label: string;
|
|
24
|
+
arabic: string;
|
|
25
|
+
time: string[];
|
|
26
|
+
};
|
|
27
|
+
export type Countdown = {
|
|
28
|
+
label: string;
|
|
29
|
+
hours: number;
|
|
30
|
+
minutes: number;
|
|
31
|
+
seconds: number;
|
|
32
|
+
};
|
|
33
|
+
export type prayerTimes = {
|
|
34
|
+
date: string;
|
|
35
|
+
fajr: string;
|
|
36
|
+
sunrise: string;
|
|
37
|
+
dhuhr: string;
|
|
38
|
+
asr: string;
|
|
39
|
+
maghrib: string;
|
|
40
|
+
isha: string;
|
|
41
|
+
};
|
|
42
|
+
export type Event = {
|
|
43
|
+
date: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type ClockThemeName = 1 | 2;
|
|
2
|
+
export type ClockMode = "light" | "dark";
|
|
3
|
+
export interface ClockThemeValues {
|
|
4
|
+
day: string;
|
|
5
|
+
dayOpacity: number;
|
|
6
|
+
night: string;
|
|
7
|
+
nightOpacity: number;
|
|
8
|
+
border: string;
|
|
9
|
+
bg: string;
|
|
10
|
+
text: string;
|
|
11
|
+
centerOuter: string;
|
|
12
|
+
centerMid: string;
|
|
13
|
+
center: string;
|
|
14
|
+
handStart?: string;
|
|
15
|
+
handEnd?: string;
|
|
16
|
+
shadow: string;
|
|
17
|
+
shadowOpacity: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ClockThemeModes {
|
|
20
|
+
light: ClockThemeValues;
|
|
21
|
+
dark: ClockThemeValues;
|
|
22
|
+
}
|
|
23
|
+
export type ClockThemes = {
|
|
24
|
+
[key in ClockThemeName]: ClockThemeModes;
|
|
25
|
+
};
|
|
26
|
+
declare const CLOCK_THEMES: ClockThemes;
|
|
27
|
+
export default CLOCK_THEMES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function formatDate(d: Date): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HijriDateObj } from "../database-services/HijriServices";
|
|
2
|
+
interface FormatHijriDateProps {
|
|
3
|
+
hijriDayObj?: HijriDateObj;
|
|
4
|
+
language: string | null;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
hijriMonthNames: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function formatHijriDate({ hijriDayObj, language, t, hijriMonthNames }: FormatHijriDateProps): string;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HijriDateObj } from "../database-services/HijriServices";
|
|
2
|
+
interface FormatHijriDateProps {
|
|
3
|
+
hijriDayObj?: HijriDateObj;
|
|
4
|
+
language: string;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
hijriMonthNames: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function formatHijriDate({ hijriDayObj, language, t, hijriMonthNames }: FormatHijriDateProps): string;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function saveMosquesForLocation(locationId: string, mosques: {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}[]): Promise<void>;
|
|
5
|
+
export declare function getMosquesForLocation(locationId: string): Promise<{
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[] | undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
export declare function savePrayerTimes(org_nr: string, date: string, data: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
}): Promise<void>;
|
|
6
|
+
export declare function getPrayerTimes(org_nr: string, date: string): Promise<any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime, PrayerTimesUD } from "../../types/types";
|
|
2
|
+
type CacheData = {
|
|
3
|
+
prayerTimes: PrayerTime[] | PrayerTimesUD[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Save prayer times (mosque-based or location-based) to IndexedDB.
|
|
8
|
+
* @param key Unique cache key (e.g. mosque_org_nr_date or location_locationId_date_asrMethod)
|
|
9
|
+
* @param data Data to cache
|
|
10
|
+
*/
|
|
11
|
+
export declare function savePrayerTimes(key: string, data: CacheData): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Get cached prayer times by key (mosque or location).
|
|
14
|
+
* @param key Unique cache key (e.g. mosque_org_nr_date or location_locationId_date_asrMethod)
|
|
15
|
+
*/
|
|
16
|
+
export declare function getPrayerTimes(key: string): Promise<CacheData | undefined>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bonnetid-ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.5",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/lib/my-ui-library.umd.js",
|
|
7
|
+
"module": "dist/lib/my-ui-library.es.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"style": "dist/lib/index.css",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"sideEffects": [
|
|
14
|
+
"*.css"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"dev": "vite",
|
|
18
|
+
"build": "tsc -b && vite build",
|
|
19
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
20
|
+
"build:lib": "npm run build:types && vite build --mode lib",
|
|
21
|
+
"lint": "eslint .",
|
|
22
|
+
"preview": "vite preview"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@fontsource-variable/onest": "^5.2.9",
|
|
26
|
+
"@fontsource/chakra-petch": "^5.2.6",
|
|
27
|
+
"@fontsource/dm-sans": "^5.2.6",
|
|
28
|
+
"@fontsource/montserrat": "^5.2.6",
|
|
29
|
+
"@fontsource/onest": "^5.2.9",
|
|
30
|
+
"@fontsource/ubuntu": "^5.2.5",
|
|
31
|
+
"@supabase/supabase-js": "^2.49.4",
|
|
32
|
+
"@tailwindcss/vite": "^4.1.6",
|
|
33
|
+
"canvg": "^4.0.3",
|
|
34
|
+
"date-fns": "^4.1.0",
|
|
35
|
+
"i18next": "^25.3.0",
|
|
36
|
+
"idb": "^8.0.3",
|
|
37
|
+
"js-cookie": "^3.0.5",
|
|
38
|
+
"jspdf": "^3.0.1",
|
|
39
|
+
"jspdf-autotable": "^5.0.2",
|
|
40
|
+
"react": ">=19.0.0",
|
|
41
|
+
"react-date-object": "^2.1.9",
|
|
42
|
+
"react-dom": ">=19.0.0",
|
|
43
|
+
"react-error-boundary": "^6.0.2",
|
|
44
|
+
"react-i18next": "^15.5.3",
|
|
45
|
+
"react-icons": "^5.5.0",
|
|
46
|
+
"react-multi-date-picker": "^4.5.2",
|
|
47
|
+
"react-player": "^3.3.3",
|
|
48
|
+
"react-select": "^5.10.1",
|
|
49
|
+
"react-toastify": "^11.0.5",
|
|
50
|
+
"react-youtube": "^10.1.0",
|
|
51
|
+
"tailwindcss": "^4.1.6"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@eslint/js": "^9.9.0",
|
|
55
|
+
"@types/js-cookie": "^3.0.6",
|
|
56
|
+
"@types/react": "^18.3.3",
|
|
57
|
+
"@types/react-dom": "^18.3.0",
|
|
58
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
59
|
+
"eslint": "^9.9.0",
|
|
60
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
61
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
62
|
+
"globals": "^15.9.0",
|
|
63
|
+
"react": "^19.2.0",
|
|
64
|
+
"react-dom": "^19.2.0",
|
|
65
|
+
"react-router-dom": "^7.9.3",
|
|
66
|
+
"typescript": "^5.5.3",
|
|
67
|
+
"typescript-eslint": "^8.0.1",
|
|
68
|
+
"vite": "^5.4.1",
|
|
69
|
+
"vite-plugin-pwa": "^1.0.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": ">=19.0.0",
|
|
73
|
+
"react-dom": ">=19.0.0",
|
|
74
|
+
"react-router-dom": "^7.0.0"
|
|
75
|
+
},
|
|
76
|
+
"description": "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.",
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://Shijin-byte@github.com/Islamsk-Rad-Norge/bonnetid-vite-react.git"
|
|
80
|
+
},
|
|
81
|
+
"author": "Bytebridgetech",
|
|
82
|
+
"license": "ISC",
|
|
83
|
+
"bugs": {
|
|
84
|
+
"url": "https://github.com/Islamsk-Rad-Norge/bonnetid-vite-react/issues"
|
|
85
|
+
},
|
|
86
|
+
"homepage": "https://github.com/Islamsk-Rad-Norge/bonnetid-vite-react#readme"
|
|
87
|
+
}
|