@alfadocs/ui-kit-debug 1.64.0 → 1.66.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/_chunks/{anamnesis-summary-rows-DFWws7mM.js → anamnesis-summary-rows-BIfw890v.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-DFWws7mM.js.map → anamnesis-summary-rows-BIfw890v.js.map} +1 -1
- package/dist/_chunks/{antenatal-schedule-timeline-DuaAQj1m.js → antenatal-schedule-timeline-DW_qkGo1.js} +3 -3
- package/dist/_chunks/{antenatal-schedule-timeline-DuaAQj1m.js.map → antenatal-schedule-timeline-DW_qkGo1.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-DaHKV81s.js → appointment-timeline-CCqjORFb.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DaHKV81s.js.map → appointment-timeline-CCqjORFb.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-ejODZU7R.js → balance-badge-cell-DZNthHO1.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-ejODZU7R.js.map → balance-badge-cell-DZNthHO1.js.map} +1 -1
- package/dist/_chunks/{booking-CGhOtxad.js → booking-DkjatiXc.js} +5 -5
- package/dist/_chunks/{booking-CGhOtxad.js.map → booking-DkjatiXc.js.map} +1 -1
- package/dist/_chunks/{calendar-DCr65Kt1.js → calendar-BhN-jisv.js} +43 -40
- package/dist/_chunks/calendar-BhN-jisv.js.map +1 -0
- package/dist/_chunks/{calendar-workspace-BArq9vkD.js → calendar-workspace-Cp8yTZ1g.js} +9 -9
- package/dist/_chunks/{calendar-workspace-BArq9vkD.js.map → calendar-workspace-Cp8yTZ1g.js.map} +1 -1
- package/dist/_chunks/chart-CwmyCuWe.js +1340 -0
- package/dist/_chunks/chart-CwmyCuWe.js.map +1 -0
- package/dist/_chunks/{clinical-note-card-D2bbWksq.js → clinical-note-card-BnFTIs6x.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D2bbWksq.js.map → clinical-note-card-BnFTIs6x.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-B4sjoIqf.js → contact-profile-card-C4-OCshj.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B4sjoIqf.js.map → contact-profile-card-C4-OCshj.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-D-rwX9Pj.js → cycle-calculator-D2Y4LvgC.js} +3 -3
- package/dist/_chunks/{cycle-calculator-D-rwX9Pj.js.map → cycle-calculator-D2Y4LvgC.js.map} +1 -1
- package/dist/_chunks/{data-table-C6ft3fSd.js → data-table-COoCQ4n_.js} +2 -2
- package/dist/_chunks/{data-table-C6ft3fSd.js.map → data-table-COoCQ4n_.js.map} +1 -1
- package/dist/_chunks/{date-picker-BSZuKo13.js → date-picker-KcoNNsM0.js} +3 -3
- package/dist/_chunks/{date-picker-BSZuKo13.js.map → date-picker-KcoNNsM0.js.map} +1 -1
- package/dist/_chunks/{date-picker-variants-BnF-sHzq.js → date-picker-variants-DN37Oj5-.js} +2 -2
- package/dist/_chunks/{date-picker-variants-BnF-sHzq.js.map → date-picker-variants-DN37Oj5-.js.map} +1 -1
- package/dist/_chunks/{date-range-picker-CFk-5O3R.js → date-range-picker-CjcjUJLW.js} +4 -4
- package/dist/_chunks/{date-range-picker-CFk-5O3R.js.map → date-range-picker-CjcjUJLW.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-CjxTkblD.js → date-time-picker-BVQNZ4yC.js} +3 -3
- package/dist/_chunks/{date-time-picker-CjxTkblD.js.map → date-time-picker-BVQNZ4yC.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-DTfxFJCM.js → due-date-calculator-41uZDkVR.js} +4 -4
- package/dist/_chunks/{due-date-calculator-DTfxFJCM.js.map → due-date-calculator-41uZDkVR.js.map} +1 -1
- package/dist/_chunks/escape-html-Cn9Fao6a.js +7 -0
- package/dist/_chunks/escape-html-Cn9Fao6a.js.map +1 -0
- package/dist/_chunks/{file-manager-w1UEprw8.js → file-manager-RiV7-OEE.js} +2 -2
- package/dist/_chunks/{file-manager-w1UEprw8.js.map → file-manager-RiV7-OEE.js.map} +1 -1
- package/dist/_chunks/{format-price-BKle6Xwt.js → format-price-BcFBa-WP.js} +2 -2
- package/dist/_chunks/{format-price-BKle6Xwt.js.map → format-price-BcFBa-WP.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-r-z48YaT.js → freemium-paywall-DKJHRFpp.js} +2 -2
- package/dist/_chunks/{freemium-paywall-r-z48YaT.js.map → freemium-paywall-DKJHRFpp.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-BnCAL5a-.js → gestational-age-calculator-CZYa2D6m.js} +5 -5
- package/dist/_chunks/{gestational-age-calculator-BnCAL5a-.js.map → gestational-age-calculator-CZYa2D6m.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-DVDiqFyp.js → hcg-doubling-DwTcjfke.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DVDiqFyp.js.map → hcg-doubling-DwTcjfke.js.map} +1 -1
- package/dist/_chunks/heatmap-C1TeC7wT.js +3650 -0
- package/dist/_chunks/heatmap-C1TeC7wT.js.map +1 -0
- package/dist/_chunks/intl-locale-FWh-Y5_3.js +33 -0
- package/dist/_chunks/intl-locale-FWh-Y5_3.js.map +1 -0
- package/dist/_chunks/{kit-extensions-RnddkrXn.js → kit-extensions-DWs1UEXb.js} +4 -4
- package/dist/_chunks/{kit-extensions-RnddkrXn.js.map → kit-extensions-DWs1UEXb.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-dtEYlxi2.js → link-cell-renderer-CtTsvfPY.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-dtEYlxi2.js.map → link-cell-renderer-CtTsvfPY.js.map} +1 -1
- package/dist/_chunks/{money-CeClE1nH.js → money-Tsczpjfz.js} +2 -2
- package/dist/_chunks/{money-CeClE1nH.js.map → money-Tsczpjfz.js.map} +1 -1
- package/dist/_chunks/{note-attachment-D8V7PUiR.js → note-attachment-DIlIQ7JF.js} +14 -16
- package/dist/_chunks/note-attachment-DIlIQ7JF.js.map +1 -0
- package/dist/_chunks/{note-timeline-CwxPQ2Ak.js → note-timeline-DDqNU46n.js} +2 -2
- package/dist/_chunks/{note-timeline-CwxPQ2Ak.js.map → note-timeline-DDqNU46n.js.map} +1 -1
- package/dist/_chunks/{notes-panel-BRLc2ozF.js → notes-panel-uEGIL7mi.js} +2 -2
- package/dist/_chunks/{notes-panel-BRLc2ozF.js.map → notes-panel-uEGIL7mi.js.map} +1 -1
- package/dist/_chunks/{parse-jZ-i8Xgj.js → parse-UB4FJGNA.js} +2 -2
- package/dist/_chunks/{parse-jZ-i8Xgj.js.map → parse-UB4FJGNA.js.map} +1 -1
- package/dist/_chunks/{patient-details-BY8Rwwpi.js → patient-details-4P1vA9Ls.js} +2 -2
- package/dist/_chunks/{patient-details-BY8Rwwpi.js.map → patient-details-4P1vA9Ls.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-C8ymfffP.js → patient-field-row-CBXhlfGD.js} +2 -2
- package/dist/_chunks/{patient-field-row-C8ymfffP.js.map → patient-field-row-CBXhlfGD.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-cmqjIXMk.js → patient-summary-card-CuDLo8MP.js} +2 -2
- package/dist/_chunks/{patient-summary-card-cmqjIXMk.js.map → patient-summary-card-CuDLo8MP.js.map} +1 -1
- package/dist/_chunks/{payment-form-i90DUuNK.js → payment-form-C3dGY7v4.js} +2 -2
- package/dist/_chunks/{payment-form-i90DUuNK.js.map → payment-form-C3dGY7v4.js.map} +1 -1
- package/dist/_chunks/{practice-results-B8L9ZmtR.js → practice-results-8h2Utpt3.js} +2 -2
- package/dist/_chunks/{practice-results-B8L9ZmtR.js.map → practice-results-8h2Utpt3.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-D2XTELiw.js → pregnancy-dating-B8wo4l_r.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-D2XTELiw.js.map → pregnancy-dating-B8wo4l_r.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-DDNUo4Ul.js → radiograph-panel.agent-8Ewv8-d7.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-DDNUo4Ul.js.map → radiograph-panel.agent-8Ewv8-d7.js.map} +1 -1
- package/dist/_chunks/{sparkline-pkGPCXbl.js → sparkline-SnniCoCl.js} +72 -64
- package/dist/_chunks/sparkline-SnniCoCl.js.map +1 -0
- package/dist/_chunks/subDays-xH7cpN6B.js +8 -0
- package/dist/_chunks/{subDays-DlMw8Xng.js.map → subDays-xH7cpN6B.js.map} +1 -1
- package/dist/_chunks/{task-editor-DoiOzNiC.js → task-editor-CifOznfq.js} +2 -2
- package/dist/_chunks/{task-editor-DoiOzNiC.js.map → task-editor-CifOznfq.js.map} +1 -1
- package/dist/_chunks/{treatment-receipt-BdJ36vNP.js → treatment-receipt-Cpm8tqQN.js} +2 -2
- package/dist/_chunks/{treatment-receipt-BdJ36vNP.js.map → treatment-receipt-Cpm8tqQN.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-D6Gb_OuN.js → use-appointment-details-read-B-FEWbQM.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-D6Gb_OuN.js.map → use-appointment-details-read-B-FEWbQM.js.map} +1 -1
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/escape-html.d.ts +7 -0
- package/dist/components/_shared/escape-html.d.ts.map +1 -0
- package/dist/components/_shared/intl-locale.d.ts +5 -3
- package/dist/components/_shared/intl-locale.d.ts.map +1 -1
- package/dist/components/_shared/note-markdown.d.ts.map +1 -1
- package/dist/components/_shared/use-apex-legend-scroll.d.ts.map +1 -1
- package/dist/components/_shared/use-apex-radial-centre.d.ts +22 -0
- package/dist/components/_shared/use-apex-radial-centre.d.ts.map +1 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chart/chart.d.ts +8 -5
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/heatmap-context.d.ts +3 -0
- package/dist/components/heatmap/heatmap-context.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap-disclosure.d.ts +67 -0
- package/dist/components/heatmap/heatmap-disclosure.d.ts.map +1 -0
- package/dist/components/heatmap/heatmap-format.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap-grid.d.ts +1 -1
- package/dist/components/heatmap/heatmap-grid.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap-legend.d.ts +5 -2
- package/dist/components/heatmap/heatmap-legend.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap-model.d.ts +111 -16
- package/dist/components/heatmap/heatmap-model.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap-table-view.d.ts +3 -2
- package/dist/components/heatmap/heatmap-table-view.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.d.ts +34 -6
- package/dist/components/heatmap/heatmap.d.ts.map +1 -1
- package/dist/components/heatmap/index.d.ts +1 -1
- package/dist/components/heatmap/index.d.ts.map +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/money/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.d.ts.map +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +2 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +2 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +2 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +2 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +2 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +2 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +2 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +2 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +2 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +2 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +2 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +2 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +2 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +2 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +2 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +2 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +2 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +2 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +36 -36
- package/dist/locales/ar.json +2 -0
- package/dist/locales/de.json +2 -0
- package/dist/locales/el.json +2 -0
- package/dist/locales/en.json +2 -0
- package/dist/locales/es.json +2 -0
- package/dist/locales/fr.json +2 -0
- package/dist/locales/hi.json +2 -0
- package/dist/locales/it.json +2 -0
- package/dist/locales/ja.json +2 -0
- package/dist/locales/nl.json +2 -0
- package/dist/locales/pl.json +2 -0
- package/dist/locales/pt.json +2 -0
- package/dist/locales/ro.json +2 -0
- package/dist/locales/ru.json +2 -0
- package/dist/locales/sq.json +2 -0
- package/dist/locales/sv.json +2 -0
- package/dist/locales/tr.json +2 -0
- package/dist/locales/zh.json +2 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +15 -1
- package/package.json +1 -1
- package/dist/_chunks/calendar-DCr65Kt1.js.map +0 -1
- package/dist/_chunks/chart-CzTF8yhH.js +0 -1123
- package/dist/_chunks/chart-CzTF8yhH.js.map +0 -1
- package/dist/_chunks/heatmap-DuDfTIII.js +0 -2865
- package/dist/_chunks/heatmap-DuDfTIII.js.map +0 -1
- package/dist/_chunks/intl-locale-ySteXlDD.js +0 -23
- package/dist/_chunks/intl-locale-ySteXlDD.js.map +0 -1
- package/dist/_chunks/note-attachment-D8V7PUiR.js.map +0 -1
- package/dist/_chunks/sparkline-pkGPCXbl.js.map +0 -1
- package/dist/_chunks/subDays-DlMw8Xng.js +0 -8
|
@@ -3,7 +3,7 @@ import { forwardRef as Ye, useRef as g, useMemo as u, useEffect as b, useState a
|
|
|
3
3
|
import { useTranslation as we } from "react-i18next";
|
|
4
4
|
import { c as cr } from "./index-D2ZczOXr.js";
|
|
5
5
|
import ur from "@fullcalendar/react";
|
|
6
|
-
import { c as Xe } from "./intl-locale-
|
|
6
|
+
import { c as Xe } from "./intl-locale-FWh-Y5_3.js";
|
|
7
7
|
import mr from "@fullcalendar/daygrid";
|
|
8
8
|
import fr from "@fullcalendar/timegrid";
|
|
9
9
|
import vr from "@fullcalendar/list";
|
|
@@ -402,7 +402,7 @@ const Ze = [
|
|
|
402
402
|
"ds:bg-[var(--background)]",
|
|
403
403
|
"ds:border-b ds:border-[var(--border)]",
|
|
404
404
|
D
|
|
405
|
-
].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "),
|
|
405
|
+
].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "), O = [_r, x].filter(Boolean).join(" "), F = [
|
|
406
406
|
"ds:flex-1 ds:text-center ds:truncate type-title-card",
|
|
407
407
|
x
|
|
408
408
|
].filter(Boolean).join(" "), k = ["ds:flex-1 ds:text-center", x].filter(Boolean).join(" ");
|
|
@@ -423,7 +423,7 @@ const Ze = [
|
|
|
423
423
|
type: "button",
|
|
424
424
|
onClick: s,
|
|
425
425
|
"aria-label": q("calendar.previousPeriod"),
|
|
426
|
-
className:
|
|
426
|
+
className: O,
|
|
427
427
|
children: /* @__PURE__ */ l(C, { size: 16, "aria-hidden": "true" })
|
|
428
428
|
}
|
|
429
429
|
),
|
|
@@ -433,12 +433,12 @@ const Ze = [
|
|
|
433
433
|
type: "button",
|
|
434
434
|
onClick: m,
|
|
435
435
|
"aria-label": q("calendar.nextPeriod"),
|
|
436
|
-
className:
|
|
436
|
+
className: O,
|
|
437
437
|
children: /* @__PURE__ */ l(ee, { size: 16, "aria-hidden": "true" })
|
|
438
438
|
}
|
|
439
439
|
)
|
|
440
440
|
] }),
|
|
441
|
-
r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className:
|
|
441
|
+
r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className: F, children: r }) : (
|
|
442
442
|
/* Keep the centering slot stable even before the first
|
|
443
443
|
`datesSet` populates the title — an empty <h2> would trip
|
|
444
444
|
axe's `empty-heading` rule, so we substitute a decorative
|
|
@@ -467,8 +467,8 @@ const Qe = Ye(
|
|
|
467
467
|
onBackgroundEventClick: ee,
|
|
468
468
|
onEventMouseEnter: $,
|
|
469
469
|
onEventMouseLeave: K,
|
|
470
|
-
onDateSelect:
|
|
471
|
-
onDatesSet:
|
|
470
|
+
onDateSelect: O,
|
|
471
|
+
onDatesSet: F,
|
|
472
472
|
onDateClick: k,
|
|
473
473
|
onNavLinkDayClick: Ce,
|
|
474
474
|
editable: te = !1,
|
|
@@ -512,13 +512,16 @@ const Qe = Ye(
|
|
|
512
512
|
resourceAreaHeader: Y,
|
|
513
513
|
defaultTimedEventDuration: X,
|
|
514
514
|
zebraRows: xt = !1,
|
|
515
|
-
maskClassName:
|
|
515
|
+
maskClassName: W
|
|
516
516
|
}, wt) => {
|
|
517
|
-
const { t: f, i18n:
|
|
517
|
+
const { t: f, i18n: M } = we("ui"), A = g(null), N = g(null), I = g(null), L = g(null), z = g(null), Pe = g(null), ie = g({
|
|
518
518
|
id: 0,
|
|
519
519
|
x: 0,
|
|
520
520
|
y: 0
|
|
521
|
-
}), Me = g(0), Ge = g(0), y = Xe(
|
|
521
|
+
}), Me = g(0), Ge = g(0), y = Xe(
|
|
522
|
+
D ?? M.language ?? "en",
|
|
523
|
+
M.language
|
|
524
|
+
), Dt = u(
|
|
522
525
|
() => Sr(f, y),
|
|
523
526
|
[f, y]
|
|
524
527
|
);
|
|
@@ -527,20 +530,20 @@ const Qe = Ye(
|
|
|
527
530
|
}, [X]);
|
|
528
531
|
const [Ct, kt] = ce(() => {
|
|
529
532
|
if (typeof document > "u") return "ltr";
|
|
530
|
-
const e = document.documentElement.getAttribute("dir"), t = typeof
|
|
533
|
+
const e = document.documentElement.getAttribute("dir"), t = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
531
534
|
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
532
535
|
});
|
|
533
536
|
b(() => {
|
|
534
537
|
if (typeof document > "u") return;
|
|
535
538
|
const e = new MutationObserver(() => {
|
|
536
|
-
const t = document.documentElement.getAttribute("dir"), n = typeof
|
|
539
|
+
const t = document.documentElement.getAttribute("dir"), n = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
537
540
|
kt(t === "rtl" || n === "rtl" ? "rtl" : "ltr");
|
|
538
541
|
});
|
|
539
542
|
return e.observe(document.documentElement, {
|
|
540
543
|
attributes: !0,
|
|
541
544
|
attributeFilter: ["dir", "lang"]
|
|
542
545
|
}), () => e.disconnect();
|
|
543
|
-
}, [
|
|
546
|
+
}, [M]), b(() => {
|
|
544
547
|
if (typeof document > "u") return;
|
|
545
548
|
let e;
|
|
546
549
|
const t = new MutationObserver(() => {
|
|
@@ -770,11 +773,11 @@ const Qe = Ye(
|
|
|
770
773
|
hour12: !1
|
|
771
774
|
}),
|
|
772
775
|
[]
|
|
773
|
-
),
|
|
776
|
+
), G = u(
|
|
774
777
|
() => new Set(Ee ?? []),
|
|
775
778
|
[Ee]
|
|
776
|
-
), pe = g(
|
|
777
|
-
pe.current =
|
|
779
|
+
), pe = g(G);
|
|
780
|
+
pe.current = G;
|
|
778
781
|
const he = g(!1), Mt = T(
|
|
779
782
|
(e) => {
|
|
780
783
|
const t = new Intl.DateTimeFormat(y, {
|
|
@@ -795,16 +798,16 @@ const Qe = Ye(
|
|
|
795
798
|
children: n
|
|
796
799
|
}
|
|
797
800
|
),
|
|
798
|
-
|
|
801
|
+
G.has(V(e.date)) ? /* @__PURE__ */ l(Ir, { children: f("calendar.loadingDay") }) : null
|
|
799
802
|
] });
|
|
800
803
|
},
|
|
801
|
-
[y,
|
|
804
|
+
[y, G, f]
|
|
802
805
|
), Fe = u(
|
|
803
806
|
() => typeof X == "number" ? { minutes: X } : X,
|
|
804
807
|
[X]
|
|
805
808
|
), ge = u(
|
|
806
|
-
() =>
|
|
807
|
-
[
|
|
809
|
+
() => W ? W.split(/\s+/).filter(Boolean) : void 0,
|
|
810
|
+
[W]
|
|
808
811
|
), Gt = u(() => {
|
|
809
812
|
if (Y !== void 0)
|
|
810
813
|
return Y === "chairs" ? f("calendar.resourceLabel.chairs") : Y === "operators" ? f("calendar.resourceLabel.operators") : Y;
|
|
@@ -815,7 +818,7 @@ const Qe = Ye(
|
|
|
815
818
|
j.current = se;
|
|
816
819
|
const ye = g(!1), Bt = T(
|
|
817
820
|
(e) => {
|
|
818
|
-
const t =
|
|
821
|
+
const t = G.has(V(e.date)) ? [Fr] : [], n = j.current;
|
|
819
822
|
if (!n.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
820
823
|
return t;
|
|
821
824
|
const a = e.resource;
|
|
@@ -823,7 +826,7 @@ const Qe = Ye(
|
|
|
823
826
|
`${a.id}:${V(e.date)}`
|
|
824
827
|
) ? [...t, xe] : t;
|
|
825
828
|
},
|
|
826
|
-
[
|
|
829
|
+
[G]
|
|
827
830
|
), Ot = T(
|
|
828
831
|
(e) => {
|
|
829
832
|
const t = j.current;
|
|
@@ -876,7 +879,7 @@ const Qe = Ye(
|
|
|
876
879
|
}, []);
|
|
877
880
|
b(() => {
|
|
878
881
|
}, [o, se]);
|
|
879
|
-
const
|
|
882
|
+
const B = (e) => {
|
|
880
883
|
const t = e.extendedProps ?? {};
|
|
881
884
|
return {
|
|
882
885
|
id: e.id,
|
|
@@ -917,7 +920,7 @@ const Qe = Ye(
|
|
|
917
920
|
if (!e.event.start) return;
|
|
918
921
|
const t = e.oldEvent.start;
|
|
919
922
|
if (t && (x({
|
|
920
|
-
event:
|
|
923
|
+
event: B(e.event),
|
|
921
924
|
oldStart: t,
|
|
922
925
|
newStart: e.event.start,
|
|
923
926
|
oldResourceId: (n = e.oldResource) == null ? void 0 : n.id,
|
|
@@ -940,7 +943,7 @@ const Qe = Ye(
|
|
|
940
943
|
return;
|
|
941
944
|
const n = e.event.end, a = e.event.start ?? e.oldEvent.start ?? t;
|
|
942
945
|
if (R({
|
|
943
|
-
event:
|
|
946
|
+
event: B(e.event),
|
|
944
947
|
oldEnd: t,
|
|
945
948
|
newEnd: n,
|
|
946
949
|
revert: e.revert
|
|
@@ -957,7 +960,7 @@ const Qe = Ye(
|
|
|
957
960
|
}, [R, w, f]), _t = u(() => {
|
|
958
961
|
if (C)
|
|
959
962
|
return (e) => {
|
|
960
|
-
e.event.start && (Pe.current = e.jsEvent, C(
|
|
963
|
+
e.event.start && (Pe.current = e.jsEvent, C(B(e.event), {
|
|
961
964
|
el: e.el,
|
|
962
965
|
jsEvent: e.jsEvent
|
|
963
966
|
}));
|
|
@@ -967,7 +970,7 @@ const Qe = Ye(
|
|
|
967
970
|
return (e) => {
|
|
968
971
|
if (!e.event.start || e.event.display === "background") return;
|
|
969
972
|
const t = e.event.extendedProps ?? {};
|
|
970
|
-
t.isDraft || t.detailsPending || $(
|
|
973
|
+
t.isDraft || t.detailsPending || $(B(e.event), {
|
|
971
974
|
el: e.el,
|
|
972
975
|
jsEvent: e.jsEvent
|
|
973
976
|
});
|
|
@@ -975,20 +978,20 @@ const Qe = Ye(
|
|
|
975
978
|
}, [$]), qt = u(() => {
|
|
976
979
|
if (K)
|
|
977
980
|
return (e) => {
|
|
978
|
-
e.event.start && e.event.display !== "background" && K(
|
|
981
|
+
e.event.start && e.event.display !== "background" && K(B(e.event));
|
|
979
982
|
};
|
|
980
983
|
}, [K]), $t = u(() => {
|
|
981
|
-
if (
|
|
984
|
+
if (O)
|
|
982
985
|
return (e) => {
|
|
983
986
|
var t;
|
|
984
|
-
|
|
987
|
+
O({
|
|
985
988
|
start: e.start,
|
|
986
989
|
end: e.end,
|
|
987
990
|
allDay: e.allDay,
|
|
988
991
|
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
989
992
|
});
|
|
990
993
|
};
|
|
991
|
-
}, [
|
|
994
|
+
}, [O]), Kt = u(() => {
|
|
992
995
|
if (k)
|
|
993
996
|
return (e) => {
|
|
994
997
|
var n;
|
|
@@ -1001,7 +1004,7 @@ const Qe = Ye(
|
|
|
1001
1004
|
};
|
|
1002
1005
|
}, [k]), Ut = T(
|
|
1003
1006
|
(e) => {
|
|
1004
|
-
It(e.view.title), St(e.view.type),
|
|
1007
|
+
It(e.view.title), St(e.view.type), F == null || F({
|
|
1005
1008
|
view: m,
|
|
1006
1009
|
internalView: e.view.type,
|
|
1007
1010
|
start: e.start,
|
|
@@ -1012,7 +1015,7 @@ const Qe = Ye(
|
|
|
1012
1015
|
title: e.view.title
|
|
1013
1016
|
}), J(), Z();
|
|
1014
1017
|
},
|
|
1015
|
-
[
|
|
1018
|
+
[F, m, J, Z]
|
|
1016
1019
|
), Yt = u(() => Or(y), [y]), Xt = u(
|
|
1017
1020
|
() => [
|
|
1018
1021
|
mr,
|
|
@@ -1064,7 +1067,7 @@ const Qe = Ye(
|
|
|
1064
1067
|
const He = de.extendedProps ?? {};
|
|
1065
1068
|
if (He.isInternal || He.isDraft) return;
|
|
1066
1069
|
const dr = a.closest(".fc-event") ?? c;
|
|
1067
|
-
C(
|
|
1070
|
+
C(B(de), { el: dr, jsEvent: n });
|
|
1068
1071
|
return;
|
|
1069
1072
|
}
|
|
1070
1073
|
if (!k || i.id !== 0 && Me.current === i.id)
|
|
@@ -1177,7 +1180,7 @@ const Qe = Ye(
|
|
|
1177
1180
|
Z();
|
|
1178
1181
|
const e = requestAnimationFrame(Z);
|
|
1179
1182
|
return () => cancelAnimationFrame(e);
|
|
1180
|
-
}, [
|
|
1183
|
+
}, [G, H, Z]);
|
|
1181
1184
|
const Qt = T(() => {
|
|
1182
1185
|
var e, t;
|
|
1183
1186
|
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
@@ -1254,7 +1257,7 @@ const Qe = Ye(
|
|
|
1254
1257
|
ref: I,
|
|
1255
1258
|
"aria-live": "polite",
|
|
1256
1259
|
"aria-atomic": "true",
|
|
1257
|
-
className: ["ds:sr-only",
|
|
1260
|
+
className: ["ds:sr-only", W].filter(Boolean).join(" ")
|
|
1258
1261
|
}
|
|
1259
1262
|
),
|
|
1260
1263
|
st,
|
|
@@ -1269,7 +1272,7 @@ const Qe = Ye(
|
|
|
1269
1272
|
/* @__PURE__ */ l(
|
|
1270
1273
|
"span",
|
|
1271
1274
|
{
|
|
1272
|
-
className: ["ds:flex-1 ds:text-start",
|
|
1275
|
+
className: ["ds:flex-1 ds:text-start", W].filter(Boolean).join(" "),
|
|
1273
1276
|
children: ir
|
|
1274
1277
|
}
|
|
1275
1278
|
),
|
|
@@ -1293,7 +1296,7 @@ const Qe = Ye(
|
|
|
1293
1296
|
onPrev: er,
|
|
1294
1297
|
onNext: tr,
|
|
1295
1298
|
end: yt,
|
|
1296
|
-
maskClassName:
|
|
1299
|
+
maskClassName: W
|
|
1297
1300
|
}
|
|
1298
1301
|
) : null,
|
|
1299
1302
|
/* @__PURE__ */ l(
|
|
@@ -1379,7 +1382,7 @@ const Qe = Ye(
|
|
|
1379
1382
|
"aria-label": d,
|
|
1380
1383
|
className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
|
|
1381
1384
|
onClick: (v) => {
|
|
1382
|
-
v.stopPropagation(), ee(
|
|
1385
|
+
v.stopPropagation(), ee(B(e.event), {
|
|
1383
1386
|
el: v.currentTarget,
|
|
1384
1387
|
jsEvent: v.nativeEvent
|
|
1385
1388
|
});
|
|
@@ -1466,4 +1469,4 @@ export {
|
|
|
1466
1469
|
Er as c,
|
|
1467
1470
|
be as r
|
|
1468
1471
|
};
|
|
1469
|
-
//# sourceMappingURL=calendar-
|
|
1472
|
+
//# sourceMappingURL=calendar-BhN-jisv.js.map
|