@12-apps/ui 6.93.0 → 6.93.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components-catalog.md +9 -2
- package/components-guidelines.md +30 -0
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.js +2 -2
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js +9 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +7 -7
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +7 -7
- package/dist/_internal/components/data-display/Carousel/Carousel.js +3 -3
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +7 -7
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +31 -31
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +42 -42
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +26 -26
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-range-bounds.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +3 -3
- package/dist/_internal/components/data-display/DayRuler/DayRuler.footer.js +25 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.footer.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.footer.styles.js +23 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.footer.styles.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.js +14 -12
- package/dist/_internal/components/data-display/DayRuler/DayRuler.keyboard.js +3 -3
- package/dist/_internal/components/data-display/DayRuler/DayRuler.metrics.js +1 -1
- package/dist/_internal/components/data-display/DayRuler/DayRuler.parts.js +12 -15
- package/dist/_internal/components/data-display/DayRuler/DayRuler.styles.js +3 -11
- package/dist/_internal/components/data-display/DayRuler/day-ruler-model.js +5 -1
- package/dist/_internal/components/data-display/DayRuler/useRulerDrag.js +3 -3
- package/dist/_internal/components/data-display/DayRuler/useTextFits.js +4 -3
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.js +6 -6
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.parts.js +5 -5
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.styles.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleNameCell.js +3 -3
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-name.styles.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-tones.js +3 -1
- package/dist/_internal/components/data-display/index.js +38 -36
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +4 -4
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +3 -3
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +5 -5
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +4 -4
- package/dist/_internal/components/feedback/index.js +6 -6
- package/dist/_internal/components/index.js +49 -47
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +6 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +9 -9
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +3 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.railCreate.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +4 -4
- package/dist/_internal/components/navigation/index.js +9 -9
- package/dist/_internal/user-avatar/user-avatar.js +3 -3
- package/dist/charts.js +13 -13
- package/dist/{chunk-LDCZPZPD.js → chunk-24HHUCWB.js} +2 -2
- package/dist/{chunk-7ZQ3KQ7J.js → chunk-273OLFJD.js} +16 -6
- package/dist/chunk-273OLFJD.js.map +1 -0
- package/dist/{chunk-FAUNQ3FS.js → chunk-2M3W6ACW.js} +3 -3
- package/dist/{chunk-ALOEOGQV.js → chunk-3TZUZXY5.js} +2 -2
- package/dist/{chunk-4HK4FVMV.js → chunk-3UAHDLKH.js} +7 -1
- package/dist/{chunk-4HK4FVMV.js.map → chunk-3UAHDLKH.js.map} +1 -1
- package/dist/{chunk-F5H3WDG7.js → chunk-4E2RQOSQ.js} +2 -2
- package/dist/{chunk-JIEVKHOH.js → chunk-4J62V5OE.js} +6 -6
- package/dist/{chunk-OJZLFFG4.js → chunk-5AZEDQXX.js} +59 -70
- package/dist/chunk-5AZEDQXX.js.map +1 -0
- package/dist/{chunk-CZVAVX5L.js → chunk-6ATXOJVQ.js} +2 -2
- package/dist/{chunk-E2UOEI7N.js → chunk-6LGKJVOA.js} +2 -2
- package/dist/{chunk-XBWW3QSI.js → chunk-7WE432RQ.js} +9 -9
- package/dist/{chunk-5357QUVE.js → chunk-AMLHEKSV.js} +5 -5
- package/dist/{chunk-HSVSU7I2.js → chunk-ASEHJIIV.js} +3 -3
- package/dist/{chunk-FYUNROLW.js → chunk-BZYLTGOE.js} +2 -2
- package/dist/{chunk-TZ44F6W7.js → chunk-CGS2LQE5.js} +2 -2
- package/dist/{chunk-KPUUHAK6.js → chunk-CWXX5JR3.js} +11 -9
- package/dist/chunk-CWXX5JR3.js.map +1 -0
- package/dist/{chunk-6HXNFNOB.js → chunk-EE6DJPB7.js} +4 -4
- package/dist/{chunk-OM6ZT64U.js → chunk-F2UP5ZF4.js} +3 -3
- package/dist/{chunk-P53ANKZV.js → chunk-F7LBTMCA.js} +4 -4
- package/dist/{chunk-6HPVCDVU.js → chunk-FGZIEZEP.js} +69 -112
- package/dist/chunk-FGZIEZEP.js.map +1 -0
- package/dist/{chunk-IWSTMVCA.js → chunk-FKS2PNJF.js} +8 -8
- package/dist/{chunk-3WYEENUH.js → chunk-FPNVOB52.js} +7 -7
- package/dist/{chunk-E73C73UD.js → chunk-FYSS2PYA.js} +3 -3
- package/dist/{chunk-N557OEZR.js → chunk-G6NMSBSQ.js} +2 -2
- package/dist/{chunk-A5OERY43.js → chunk-GARM5SX6.js} +2 -2
- package/dist/{chunk-WJMSND5Q.js → chunk-GXGHEOWC.js} +2 -2
- package/dist/{chunk-U2SAW6DH.js → chunk-GY53SDVL.js} +4 -4
- package/dist/{chunk-MFX4ASX5.js → chunk-HWZETMO4.js} +3 -3
- package/dist/{chunk-MM3QESLI.js → chunk-ILJ3FXIC.js} +2 -2
- package/dist/{chunk-K6VEN5VN.js → chunk-K3PMMW23.js} +4 -4
- package/dist/{chunk-T5RFH2T5.js → chunk-KOGJBAFI.js} +2 -2
- package/dist/{chunk-COK65GX2.js → chunk-KURE5R7Z.js} +12 -2
- package/dist/chunk-KURE5R7Z.js.map +1 -0
- package/dist/{chunk-MAYAJXO6.js → chunk-KXDLLS62.js} +5 -5
- package/dist/{chunk-LE5JYNR7.js → chunk-L5CAHQIN.js} +23 -2
- package/dist/chunk-L5CAHQIN.js.map +1 -0
- package/dist/{chunk-DBI6AMNY.js → chunk-LKWXU6NH.js} +4 -4
- package/dist/chunk-MPVH2GM5.js +83 -0
- package/dist/chunk-MPVH2GM5.js.map +1 -0
- package/dist/{chunk-6DO672AG.js → chunk-N5PVD4J5.js} +7 -7
- package/dist/{chunk-ZYZPSBNQ.js → chunk-OGSTMHT6.js} +22 -7
- package/dist/chunk-OGSTMHT6.js.map +1 -0
- package/dist/{chunk-R52N5UCS.js → chunk-SB2SEGR6.js} +2 -2
- package/dist/{chunk-Z2WZDVGG.js → chunk-SI5SKX52.js} +2 -2
- package/dist/{chunk-RYJ6XGFA.js → chunk-SJAOQGQI.js} +2 -2
- package/dist/{chunk-D7R6SRJB.js → chunk-SKQPUAMK.js} +3 -3
- package/dist/{chunk-AMIUZRDQ.js → chunk-SNWCT6JN.js} +3 -3
- package/dist/{chunk-7W5X3KQ2.js → chunk-SW7JCF4Z.js} +2 -2
- package/dist/{chunk-BNBWUXT3.js → chunk-TE6HAWDM.js} +2 -2
- package/dist/{chunk-JG733RMP.js → chunk-TZC6KIK2.js} +5 -5
- package/dist/{chunk-4QGKR65P.js → chunk-U4Z6GZDW.js} +5 -5
- package/dist/{chunk-XFZDO2KB.js → chunk-UIIHUWOV.js} +13 -13
- package/dist/{chunk-L4V7FZJI.js → chunk-UKUGSU3Y.js} +2 -2
- package/dist/{chunk-VJIJCLUX.js → chunk-UOKXYV3U.js} +2 -2
- package/dist/{chunk-K7IDOTSU.js → chunk-VNMD6BA4.js} +2 -2
- package/dist/chunk-WG7CAT5D.js +65 -0
- package/dist/chunk-WG7CAT5D.js.map +1 -0
- package/dist/chunk-WSSD7H5E.js +52 -0
- package/dist/chunk-WSSD7H5E.js.map +1 -0
- package/dist/{chunk-DTZOP4ZR.js → chunk-XCUHGPPZ.js} +2 -2
- package/dist/{chunk-3YFDGFEK.js → chunk-Y7BOP7VZ.js} +2 -2
- package/dist/{chunk-XNAI7QGU.js → chunk-ZM6FJCWS.js} +4 -4
- package/dist/{chunk-FC7UCFFA.js → chunk-ZPWPA6FR.js} +8 -8
- package/dist/data-display/AlertDialog.js +2 -2
- package/dist/data-display/Avatar.js +2 -2
- package/dist/data-display/Badge.js +2 -2
- package/dist/data-display/CardKit.js +10 -10
- package/dist/data-display/Carousel.js +3 -3
- package/dist/data-display/Chart.js +13 -13
- package/dist/data-display/DataViews.js +56 -56
- package/dist/data-display/DayRuler.js +14 -12
- package/dist/data-display/ScheduleGrid.js +6 -6
- package/dist/feedback/ConfirmAction.js +6 -6
- package/dist/navigation/SectionNav.js +9 -9
- package/dist/types/components/data-display/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts +11 -0
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.footer.d.ts +16 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.footer.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.footer.styles.d.ts +18 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.footer.styles.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.metrics.d.ts +15 -5
- package/dist/types/components/data-display/DayRuler/DayRuler.metrics.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.parts.d.ts +13 -14
- package/dist/types/components/data-display/DayRuler/DayRuler.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.styles.d.ts +20 -23
- package/dist/types/components/data-display/DayRuler/DayRuler.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts +13 -3
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/day-ruler-model.d.ts +27 -0
- package/dist/types/components/data-display/DayRuler/day-ruler-model.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/useTextFits.d.ts +11 -9
- package/dist/types/components/data-display/DayRuler/useTextFits.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/schedule-tones.d.ts +8 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-tones.d.ts.map +1 -1
- package/dist/user-avatar.js +3 -3
- package/package.json +1 -1
- package/src/components/data-display/AlertDialog/AlertDialog.md +25 -1
- package/src/components/data-display/AlertDialog/AlertDialog.parts.tsx +28 -0
- package/src/components/data-display/AlertDialog/AlertDialog.tsx +34 -5
- package/src/components/data-display/DayRuler/DayRuler.footer.styles.ts +54 -0
- package/src/components/data-display/DayRuler/DayRuler.footer.tsx +123 -0
- package/src/components/data-display/DayRuler/DayRuler.md +37 -13
- package/src/components/data-display/DayRuler/DayRuler.metrics.ts +15 -5
- package/src/components/data-display/DayRuler/DayRuler.parts.tsx +86 -155
- package/src/components/data-display/DayRuler/DayRuler.styles.ts +89 -83
- package/src/components/data-display/DayRuler/DayRuler.tsx +3 -2
- package/src/components/data-display/DayRuler/DayRuler.types.ts +13 -3
- package/src/components/data-display/DayRuler/day-ruler-model.ts +45 -0
- package/src/components/data-display/DayRuler/useTextFits.ts +68 -25
- package/src/components/data-display/ScheduleGrid/schedule-tones.ts +13 -0
- package/src/components/feedback/ConfirmAction/ConfirmAction.md +10 -0
- package/dist/chunk-6HPVCDVU.js.map +0 -1
- package/dist/chunk-7ZQ3KQ7J.js.map +0 -1
- package/dist/chunk-COK65GX2.js.map +0 -1
- package/dist/chunk-KPUUHAK6.js.map +0 -1
- package/dist/chunk-LE5JYNR7.js.map +0 -1
- package/dist/chunk-OJZLFFG4.js.map +0 -1
- package/dist/chunk-YMYJO2CZ.js +0 -32
- package/dist/chunk-YMYJO2CZ.js.map +0 -1
- package/dist/chunk-ZYZPSBNQ.js.map +0 -1
- /package/dist/{chunk-LDCZPZPD.js.map → chunk-24HHUCWB.js.map} +0 -0
- /package/dist/{chunk-FAUNQ3FS.js.map → chunk-2M3W6ACW.js.map} +0 -0
- /package/dist/{chunk-ALOEOGQV.js.map → chunk-3TZUZXY5.js.map} +0 -0
- /package/dist/{chunk-F5H3WDG7.js.map → chunk-4E2RQOSQ.js.map} +0 -0
- /package/dist/{chunk-JIEVKHOH.js.map → chunk-4J62V5OE.js.map} +0 -0
- /package/dist/{chunk-CZVAVX5L.js.map → chunk-6ATXOJVQ.js.map} +0 -0
- /package/dist/{chunk-E2UOEI7N.js.map → chunk-6LGKJVOA.js.map} +0 -0
- /package/dist/{chunk-XBWW3QSI.js.map → chunk-7WE432RQ.js.map} +0 -0
- /package/dist/{chunk-5357QUVE.js.map → chunk-AMLHEKSV.js.map} +0 -0
- /package/dist/{chunk-HSVSU7I2.js.map → chunk-ASEHJIIV.js.map} +0 -0
- /package/dist/{chunk-FYUNROLW.js.map → chunk-BZYLTGOE.js.map} +0 -0
- /package/dist/{chunk-TZ44F6W7.js.map → chunk-CGS2LQE5.js.map} +0 -0
- /package/dist/{chunk-6HXNFNOB.js.map → chunk-EE6DJPB7.js.map} +0 -0
- /package/dist/{chunk-OM6ZT64U.js.map → chunk-F2UP5ZF4.js.map} +0 -0
- /package/dist/{chunk-P53ANKZV.js.map → chunk-F7LBTMCA.js.map} +0 -0
- /package/dist/{chunk-IWSTMVCA.js.map → chunk-FKS2PNJF.js.map} +0 -0
- /package/dist/{chunk-3WYEENUH.js.map → chunk-FPNVOB52.js.map} +0 -0
- /package/dist/{chunk-E73C73UD.js.map → chunk-FYSS2PYA.js.map} +0 -0
- /package/dist/{chunk-N557OEZR.js.map → chunk-G6NMSBSQ.js.map} +0 -0
- /package/dist/{chunk-A5OERY43.js.map → chunk-GARM5SX6.js.map} +0 -0
- /package/dist/{chunk-WJMSND5Q.js.map → chunk-GXGHEOWC.js.map} +0 -0
- /package/dist/{chunk-U2SAW6DH.js.map → chunk-GY53SDVL.js.map} +0 -0
- /package/dist/{chunk-MFX4ASX5.js.map → chunk-HWZETMO4.js.map} +0 -0
- /package/dist/{chunk-MM3QESLI.js.map → chunk-ILJ3FXIC.js.map} +0 -0
- /package/dist/{chunk-K6VEN5VN.js.map → chunk-K3PMMW23.js.map} +0 -0
- /package/dist/{chunk-T5RFH2T5.js.map → chunk-KOGJBAFI.js.map} +0 -0
- /package/dist/{chunk-MAYAJXO6.js.map → chunk-KXDLLS62.js.map} +0 -0
- /package/dist/{chunk-DBI6AMNY.js.map → chunk-LKWXU6NH.js.map} +0 -0
- /package/dist/{chunk-6DO672AG.js.map → chunk-N5PVD4J5.js.map} +0 -0
- /package/dist/{chunk-R52N5UCS.js.map → chunk-SB2SEGR6.js.map} +0 -0
- /package/dist/{chunk-Z2WZDVGG.js.map → chunk-SI5SKX52.js.map} +0 -0
- /package/dist/{chunk-RYJ6XGFA.js.map → chunk-SJAOQGQI.js.map} +0 -0
- /package/dist/{chunk-D7R6SRJB.js.map → chunk-SKQPUAMK.js.map} +0 -0
- /package/dist/{chunk-AMIUZRDQ.js.map → chunk-SNWCT6JN.js.map} +0 -0
- /package/dist/{chunk-7W5X3KQ2.js.map → chunk-SW7JCF4Z.js.map} +0 -0
- /package/dist/{chunk-BNBWUXT3.js.map → chunk-TE6HAWDM.js.map} +0 -0
- /package/dist/{chunk-JG733RMP.js.map → chunk-TZC6KIK2.js.map} +0 -0
- /package/dist/{chunk-4QGKR65P.js.map → chunk-U4Z6GZDW.js.map} +0 -0
- /package/dist/{chunk-XFZDO2KB.js.map → chunk-UIIHUWOV.js.map} +0 -0
- /package/dist/{chunk-L4V7FZJI.js.map → chunk-UKUGSU3Y.js.map} +0 -0
- /package/dist/{chunk-VJIJCLUX.js.map → chunk-UOKXYV3U.js.map} +0 -0
- /package/dist/{chunk-K7IDOTSU.js.map → chunk-VNMD6BA4.js.map} +0 -0
- /package/dist/{chunk-DTZOP4ZR.js.map → chunk-XCUHGPPZ.js.map} +0 -0
- /package/dist/{chunk-3YFDGFEK.js.map → chunk-Y7BOP7VZ.js.map} +0 -0
- /package/dist/{chunk-XNAI7QGU.js.map → chunk-ZM6FJCWS.js.map} +0 -0
- /package/dist/{chunk-FC7UCFFA.js.map → chunk-ZPWPA6FR.js.map} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
textFitOf
|
|
3
|
+
} from "./chunk-L5CAHQIN.js";
|
|
4
|
+
|
|
5
|
+
// src/components/data-display/DayRuler/useTextFits.ts
|
|
6
|
+
import { useLayoutEffect, useState } from "react";
|
|
7
|
+
function textWidth(span) {
|
|
8
|
+
if (!span) return Number.POSITIVE_INFINITY;
|
|
9
|
+
const range = span.ownerDocument.createRange();
|
|
10
|
+
range.selectNodeContents(span);
|
|
11
|
+
return range.getBoundingClientRect().width;
|
|
12
|
+
}
|
|
13
|
+
function measureFit(el) {
|
|
14
|
+
const full = el.querySelector('[data-dr-text="full"]');
|
|
15
|
+
if (!full) return null;
|
|
16
|
+
const short = el.querySelector('[data-dr-text="short"]');
|
|
17
|
+
const spans = [full, short].filter((span) => span !== null);
|
|
18
|
+
const shown = spans.map((span) => span.style.display);
|
|
19
|
+
for (const span of spans) span.style.display = "inline";
|
|
20
|
+
const fullWidth = textWidth(full);
|
|
21
|
+
const shortWidth = textWidth(short);
|
|
22
|
+
const style = getComputedStyle(el);
|
|
23
|
+
const outer = el.clientWidth;
|
|
24
|
+
const room = outer - Number.parseFloat(style.paddingLeft) - Number.parseFloat(style.paddingRight);
|
|
25
|
+
spans.forEach((span, index) => {
|
|
26
|
+
span.style.display = shown[index] ?? "";
|
|
27
|
+
});
|
|
28
|
+
if (room > 0) return textFitOf(fullWidth, shortWidth, room);
|
|
29
|
+
return outer > 0 ? "none" : null;
|
|
30
|
+
}
|
|
31
|
+
function useTextFit(block, text, short, fallback) {
|
|
32
|
+
const [fit, setFit] = useState(fallback);
|
|
33
|
+
useLayoutEffect(() => {
|
|
34
|
+
const el = block.current;
|
|
35
|
+
if (!el || typeof ResizeObserver === "undefined") return void 0;
|
|
36
|
+
let live = true;
|
|
37
|
+
let frame = 0;
|
|
38
|
+
const measure = () => {
|
|
39
|
+
frame = 0;
|
|
40
|
+
if (!live) return;
|
|
41
|
+
const next = measureFit(el);
|
|
42
|
+
if (next) setFit(next);
|
|
43
|
+
};
|
|
44
|
+
const schedule = () => {
|
|
45
|
+
if (frame || !live) return;
|
|
46
|
+
frame = typeof requestAnimationFrame === "function" ? requestAnimationFrame(measure) : 0;
|
|
47
|
+
if (!frame) measure();
|
|
48
|
+
};
|
|
49
|
+
measure();
|
|
50
|
+
const observer = new ResizeObserver(schedule);
|
|
51
|
+
observer.observe(el);
|
|
52
|
+
el.ownerDocument.fonts?.ready.then(schedule, () => void 0);
|
|
53
|
+
return () => {
|
|
54
|
+
live = false;
|
|
55
|
+
observer.disconnect();
|
|
56
|
+
if (frame && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
|
|
57
|
+
};
|
|
58
|
+
}, [block, text, short]);
|
|
59
|
+
return fit;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export {
|
|
63
|
+
useTextFit
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=chunk-WG7CAT5D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DayRuler/useTextFits.ts"],"sourcesContent":["import type * as React from 'react';\nimport { useLayoutEffect, useState } from 'react';\n\nimport { textFitOf, type BlockTextFit } from './day-ruler-model';\n\n/** A text span's own width (its laid-out text, whatever the span's own box). */\nfunction textWidth(span: HTMLElement | null): number {\n if (!span) return Number.POSITIVE_INFINITY;\n const range = span.ownerDocument.createRange();\n range.selectNodeContents(span);\n return range.getBoundingClientRect().width;\n}\n\n/**\n * The block's fit, measured in ONE layout: every write first (both texts\n * shown for the measurement alone), then every read, then the writes undone —\n * so a ruler of many blocks forces one layout per block, not one per text.\n * `null` when there is nothing to measure yet.\n */\nfunction measureFit(el: HTMLElement): BlockTextFit | null {\n const full = el.querySelector<HTMLElement>('[data-dr-text=\"full\"]');\n if (!full) return null;\n const short = el.querySelector<HTMLElement>('[data-dr-text=\"short\"]');\n const spans = [full, short].filter((span): span is HTMLElement => span !== null);\n const shown = spans.map((span) => span.style.display);\n for (const span of spans) span.style.display = 'inline';\n const fullWidth = textWidth(full);\n const shortWidth = textWidth(short);\n const style = getComputedStyle(el);\n const outer = el.clientWidth;\n const room = outer - Number.parseFloat(style.paddingLeft) - Number.parseFloat(style.paddingRight);\n spans.forEach((span, index) => {\n span.style.display = shown[index] ?? '';\n });\n if (room > 0) return textFitOf(fullWidth, shortWidth, room);\n // A bar with no room at all (narrower than its own padding) says nothing.\n return outer > 0 ? 'none' : null;\n}\n\n/**\n * Which of a block's texts fits it, by pixels (FUT-3825, FUT-3831): the full\n * text's and the short text's own widths against the room the block leaves\n * them. A wide block keeps \"18:00–23:00\"; one too short for it says its start\n * (\"18:00\"); one too short even for that says nothing — never a cut \"18:\".\n *\n * Measured at once (synchronously, so nothing is painted), then again on the\n * next frame whenever the block is resized, and once more when the page's\n * fonts have loaded: a webfont arriving late changes every text's width, and\n * a fit read in the fallback font would leave a label cut. Where nothing can\n * be measured (no `ResizeObserver`) it answers `fallback`.\n */\nexport function useTextFit(block: React.RefObject<HTMLElement | null>, text: string, short: string, fallback: BlockTextFit): BlockTextFit {\n const [fit, setFit] = useState<BlockTextFit>(fallback);\n\n useLayoutEffect(() => {\n const el = block.current;\n if (!el || typeof ResizeObserver === 'undefined') return undefined;\n let live = true;\n let frame = 0;\n const measure = (): void => {\n frame = 0;\n if (!live) return;\n const next = measureFit(el);\n if (next) setFit(next);\n };\n // Resizes and the fonts come in bursts: one measurement per frame.\n const schedule = (): void => {\n if (frame || !live) return;\n frame = typeof requestAnimationFrame === 'function' ? requestAnimationFrame(measure) : 0;\n if (!frame) measure();\n };\n measure();\n const observer = new ResizeObserver(schedule);\n observer.observe(el);\n el.ownerDocument.fonts?.ready.then(schedule, () => undefined);\n return () => {\n live = false;\n observer.disconnect();\n if (frame && typeof cancelAnimationFrame === 'function') cancelAnimationFrame(frame);\n };\n }, [block, text, short]);\n\n return fit;\n}\n"],"mappings":";;;;;AACA,SAAS,iBAAiB,gBAAgB;AAK1C,SAAS,UAAU,MAAkC;AACnD,MAAI,CAAC,KAAM,QAAO,OAAO;AACzB,QAAM,QAAQ,KAAK,cAAc,YAAY;AAC7C,QAAM,mBAAmB,IAAI;AAC7B,SAAO,MAAM,sBAAsB,EAAE;AACvC;AAQA,SAAS,WAAW,IAAsC;AACxD,QAAM,OAAO,GAAG,cAA2B,uBAAuB;AAClE,MAAI,CAAC,KAAM,QAAO;AAClB,QAAM,QAAQ,GAAG,cAA2B,wBAAwB;AACpE,QAAM,QAAQ,CAAC,MAAM,KAAK,EAAE,OAAO,CAAC,SAA8B,SAAS,IAAI;AAC/E,QAAM,QAAQ,MAAM,IAAI,CAAC,SAAS,KAAK,MAAM,OAAO;AACpD,aAAW,QAAQ,MAAO,MAAK,MAAM,UAAU;AAC/C,QAAM,YAAY,UAAU,IAAI;AAChC,QAAM,aAAa,UAAU,KAAK;AAClC,QAAM,QAAQ,iBAAiB,EAAE;AACjC,QAAM,QAAQ,GAAG;AACjB,QAAM,OAAO,QAAQ,OAAO,WAAW,MAAM,WAAW,IAAI,OAAO,WAAW,MAAM,YAAY;AAChG,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,SAAK,MAAM,UAAU,MAAM,KAAK,KAAK;AAAA,EACvC,CAAC;AACD,MAAI,OAAO,EAAG,QAAO,UAAU,WAAW,YAAY,IAAI;AAE1D,SAAO,QAAQ,IAAI,SAAS;AAC9B;AAcO,SAAS,WAAW,OAA4C,MAAc,OAAe,UAAsC;AACxI,QAAM,CAAC,KAAK,MAAM,IAAI,SAAuB,QAAQ;AAErD,kBAAgB,MAAM;AACpB,UAAM,KAAK,MAAM;AACjB,QAAI,CAAC,MAAM,OAAO,mBAAmB,YAAa,QAAO;AACzD,QAAI,OAAO;AACX,QAAI,QAAQ;AACZ,UAAM,UAAU,MAAY;AAC1B,cAAQ;AACR,UAAI,CAAC,KAAM;AACX,YAAM,OAAO,WAAW,EAAE;AAC1B,UAAI,KAAM,QAAO,IAAI;AAAA,IACvB;AAEA,UAAM,WAAW,MAAY;AAC3B,UAAI,SAAS,CAAC,KAAM;AACpB,cAAQ,OAAO,0BAA0B,aAAa,sBAAsB,OAAO,IAAI;AACvF,UAAI,CAAC,MAAO,SAAQ;AAAA,IACtB;AACA,YAAQ;AACR,UAAM,WAAW,IAAI,eAAe,QAAQ;AAC5C,aAAS,QAAQ,EAAE;AACnB,OAAG,cAAc,OAAO,MAAM,KAAK,UAAU,MAAM,MAAS;AAC5D,WAAO,MAAM;AACX,aAAO;AACP,eAAS,WAAW;AACpB,UAAI,SAAS,OAAO,yBAAyB,WAAY,sBAAqB,KAAK;AAAA,IACrF;AAAA,EACF,GAAG,CAAC,OAAO,MAAM,KAAK,CAAC;AAEvB,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DAY_RULER_METRICS
|
|
3
|
+
} from "./chunk-273OLFJD.js";
|
|
4
|
+
import {
|
|
5
|
+
signalInk
|
|
6
|
+
} from "./chunk-3UAHDLKH.js";
|
|
7
|
+
import {
|
|
8
|
+
rem
|
|
9
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
10
|
+
|
|
11
|
+
// src/components/data-display/DayRuler/DayRuler.footer.styles.ts
|
|
12
|
+
function footerInk(theme, marked, plain) {
|
|
13
|
+
return marked ? signalInk(theme, "warning", theme.palette.background.default) : plain;
|
|
14
|
+
}
|
|
15
|
+
function footerCellSx(marked) {
|
|
16
|
+
return (theme) => ({
|
|
17
|
+
display: "flex",
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
justifyContent: "center",
|
|
20
|
+
fontSize: rem(theme, DAY_RULER_METRICS.coverage.font),
|
|
21
|
+
borderRadius: rem(theme, DAY_RULER_METRICS.coverage.radius),
|
|
22
|
+
color: footerInk(theme, marked, theme.palette.text.primary),
|
|
23
|
+
fontWeight: marked ? 500 : 400,
|
|
24
|
+
// The hairline is always there, transparent when unmarked, so a mark never shifts a count.
|
|
25
|
+
border: `1px solid ${marked ? theme.palette.warning.main : "transparent"}`,
|
|
26
|
+
minWidth: 0,
|
|
27
|
+
overflow: "hidden"
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function footerNoteSx(marked) {
|
|
31
|
+
return (theme) => ({
|
|
32
|
+
fontSize: rem(theme, DAY_RULER_METRICS.meta),
|
|
33
|
+
color: footerInk(theme, marked, theme.palette.text.secondary),
|
|
34
|
+
fontWeight: marked ? 500 : 400,
|
|
35
|
+
...marked ? { borderLeft: `${rem(theme, 3)} solid ${theme.palette.warning.main}`, paddingLeft: rem(theme, 6) } : {}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
var trendSx = (theme) => ({
|
|
39
|
+
display: "block",
|
|
40
|
+
width: "100%",
|
|
41
|
+
height: rem(theme, DAY_RULER_METRICS.coverage.height + DAY_RULER_METRICS.coverage.height / 2),
|
|
42
|
+
color: theme.palette.primary.main,
|
|
43
|
+
overflow: "visible"
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export {
|
|
47
|
+
footerInk,
|
|
48
|
+
footerCellSx,
|
|
49
|
+
footerNoteSx,
|
|
50
|
+
trendSx
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=chunk-WSSD7H5E.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DayRuler/DayRuler.footer.styles.ts"],"sourcesContent":["import type { SxProps, Theme } from '@mui/material/styles/index.js';\n\nimport { rem } from '../../../tokens/relative';\nimport { signalInk } from '../ScheduleGrid/schedule-tones';\nimport { DAY_RULER_METRICS as M } from './DayRuler.metrics';\n\n/**\n * A marked footer's words (FUT-3882): the warning ink deepened until it reads\n * at 4.5:1 on the page — `warning.main` is 3.1:1 on white. The outline keeps\n * `warning.main`: a non-text mark needs 3:1.\n */\nexport function footerInk(theme: Theme, marked: boolean, plain: string): string {\n return marked ? signalInk(theme, 'warning', theme.palette.background.default) : plain;\n}\n\n/** A group's count line (FUT-3882): plain counts on the hours' columns, a marked hour outlined in the warning ink. */\nexport function footerCellSx(marked: boolean): SxProps<Theme> {\n return (theme: Theme) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n fontSize: rem(theme, M.coverage.font),\n borderRadius: rem(theme, M.coverage.radius),\n color: footerInk(theme, marked, theme.palette.text.primary),\n fontWeight: marked ? 500 : 400,\n // The hairline is always there, transparent when unmarked, so a mark never shifts a count.\n border: `1px solid ${marked ? theme.palette.warning.main : 'transparent'}`,\n minWidth: 0,\n overflow: 'hidden',\n });\n}\n\n/**\n * A footer line's sentence; when the host marks it (\"Faltam 2, 20h–22h\"), in\n * the readable warning ink with a warning bar before it — a shape, so colour\n * is never the only signal.\n */\nexport function footerNoteSx(marked: boolean): SxProps<Theme> {\n return (theme: Theme) => ({\n fontSize: rem(theme, M.meta),\n color: footerInk(theme, marked, theme.palette.text.secondary),\n fontWeight: marked ? 500 : 400,\n ...(marked ? { borderLeft: `${rem(theme, 3)} solid ${theme.palette.warning.main}`, paddingLeft: rem(theme, 6) } : {}),\n });\n}\n\n/** A group's trend line: as tall as the coverage row, drawn in the primary colour. */\nexport const trendSx: SxProps<Theme> = (theme: Theme) => ({\n display: 'block',\n width: '100%',\n height: rem(theme, M.coverage.height + M.coverage.height / 2),\n color: theme.palette.primary.main,\n overflow: 'visible',\n});\n"],"mappings":";;;;;;;;;;;AAWO,SAAS,UAAU,OAAc,QAAiB,OAAuB;AAC9E,SAAO,SAAS,UAAU,OAAO,WAAW,MAAM,QAAQ,WAAW,OAAO,IAAI;AAClF;AAGO,SAAS,aAAa,QAAiC;AAC5D,SAAO,CAAC,WAAkB;AAAA,IACxB,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,UAAU,IAAI,OAAO,kBAAE,SAAS,IAAI;AAAA,IACpC,cAAc,IAAI,OAAO,kBAAE,SAAS,MAAM;AAAA,IAC1C,OAAO,UAAU,OAAO,QAAQ,MAAM,QAAQ,KAAK,OAAO;AAAA,IAC1D,YAAY,SAAS,MAAM;AAAA;AAAA,IAE3B,QAAQ,aAAa,SAAS,MAAM,QAAQ,QAAQ,OAAO,aAAa;AAAA,IACxE,UAAU;AAAA,IACV,UAAU;AAAA,EACZ;AACF;AAOO,SAAS,aAAa,QAAiC;AAC5D,SAAO,CAAC,WAAkB;AAAA,IACxB,UAAU,IAAI,OAAO,kBAAE,IAAI;AAAA,IAC3B,OAAO,UAAU,OAAO,QAAQ,MAAM,QAAQ,KAAK,SAAS;AAAA,IAC5D,YAAY,SAAS,MAAM;AAAA,IAC3B,GAAI,SAAS,EAAE,YAAY,GAAG,IAAI,OAAO,CAAC,CAAC,UAAU,MAAM,QAAQ,QAAQ,IAAI,IAAI,aAAa,IAAI,OAAO,CAAC,EAAE,IAAI,CAAC;AAAA,EACrH;AACF;AAGO,IAAM,UAA0B,CAAC,WAAkB;AAAA,EACxD,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ,IAAI,OAAO,kBAAE,SAAS,SAAS,kBAAE,SAAS,SAAS,CAAC;AAAA,EAC5D,OAAO,MAAM,QAAQ,QAAQ;AAAA,EAC7B,UAAU;AACZ;","names":[]}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CountedIcon,
|
|
5
5
|
controlProps,
|
|
6
6
|
focusRing
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-24HHUCWB.js";
|
|
8
8
|
import {
|
|
9
9
|
Drawer,
|
|
10
10
|
DrawerContent,
|
|
@@ -175,4 +175,4 @@ function SectionNavSheet({
|
|
|
175
175
|
export {
|
|
176
176
|
SectionNavSheet
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-XCUHGPPZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RCTHCXS6.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfirmActionDialog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SW7JCF4Z.js";
|
|
7
7
|
import {
|
|
8
8
|
useConfirmAction
|
|
9
9
|
} from "./chunk-EMYESBIT.js";
|
|
@@ -50,4 +50,4 @@ function useRemoveConfirm({
|
|
|
50
50
|
export {
|
|
51
51
|
useRemoveConfirm
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-Y7BOP7VZ.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
CardBody
|
|
6
6
|
} from "./chunk-4ZQQUICR.js";
|
|
7
|
-
import {
|
|
8
|
-
SelectAllStrip
|
|
9
|
-
} from "./chunk-OY437NRJ.js";
|
|
10
7
|
import {
|
|
11
8
|
toGridExpansion
|
|
12
9
|
} from "./chunk-O5UGAL2V.js";
|
|
10
|
+
import {
|
|
11
|
+
SelectAllStrip
|
|
12
|
+
} from "./chunk-OY437NRJ.js";
|
|
13
13
|
import {
|
|
14
14
|
useStickyTableHead
|
|
15
15
|
} from "./chunk-4IE66GY2.js";
|
|
@@ -250,4 +250,4 @@ function GridMain(props) {
|
|
|
250
250
|
export {
|
|
251
251
|
GridMain
|
|
252
252
|
};
|
|
253
|
-
//# sourceMappingURL=chunk-
|
|
253
|
+
//# sourceMappingURL=chunk-ZM6FJCWS.js.map
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NumberBoundInput
|
|
3
|
+
} from "./chunk-2FKWKLSC.js";
|
|
1
4
|
import {
|
|
2
5
|
RangePresets
|
|
3
6
|
} from "./chunk-LZNUBQ5I.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
isRangeInverted,
|
|
9
|
+
isRangeSet,
|
|
10
|
+
rangeChipLabel
|
|
11
|
+
} from "./chunk-GCZJH4XL.js";
|
|
7
12
|
import {
|
|
8
13
|
useOutsideResetKey
|
|
9
14
|
} from "./chunk-YOPMXGHY.js";
|
|
@@ -13,11 +18,6 @@ import {
|
|
|
13
18
|
import {
|
|
14
19
|
DayRangeCalendar
|
|
15
20
|
} from "./chunk-HRES2S3Q.js";
|
|
16
|
-
import {
|
|
17
|
-
isRangeInverted,
|
|
18
|
-
isRangeSet,
|
|
19
|
-
rangeChipLabel
|
|
20
|
-
} from "./chunk-GCZJH4XL.js";
|
|
21
21
|
import {
|
|
22
22
|
useDataViewsCopy
|
|
23
23
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -189,4 +189,4 @@ function RangeBounds({
|
|
|
189
189
|
export {
|
|
190
190
|
RangeBounds
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-ZPWPA6FR.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../chunk-2IBFEHIX.js";
|
|
2
2
|
import {
|
|
3
3
|
AlertDialog
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OGSTMHT6.js";
|
|
5
|
+
import "../chunk-KURE5R7Z.js";
|
|
6
6
|
import "../chunk-XOXXG7Q5.js";
|
|
7
7
|
import "../chunk-XJAD6E3V.js";
|
|
8
8
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -2,11 +2,11 @@ import "../chunk-UDQSIRAP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar,
|
|
4
4
|
AvatarGroup
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-4J62V5OE.js";
|
|
6
|
+
import "../chunk-3ZVUNSFF.js";
|
|
6
7
|
import "../chunk-7XSCEHGA.js";
|
|
7
8
|
import "../chunk-MTEQEPNY.js";
|
|
8
9
|
import "../chunk-6ZZGK5DT.js";
|
|
9
|
-
import "../chunk-3ZVUNSFF.js";
|
|
10
10
|
import "../chunk-XOXXG7Q5.js";
|
|
11
11
|
import "../chunk-XJAD6E3V.js";
|
|
12
12
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-5AK2EZG5.js";
|
|
2
2
|
import {
|
|
3
3
|
Badge
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-N5PVD4J5.js";
|
|
5
|
+
import "../chunk-6C5D6O3D.js";
|
|
5
6
|
import "../chunk-ZNCYCE7L.js";
|
|
6
7
|
import "../chunk-2L3VRVRE.js";
|
|
7
8
|
import "../chunk-BJE3XHD4.js";
|
|
8
|
-
import "../chunk-6C5D6O3D.js";
|
|
9
9
|
import "../chunk-3UIDKLML.js";
|
|
10
10
|
import "../chunk-PYC4CWCQ.js";
|
|
11
11
|
import "../chunk-TYJR4GOF.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRowConfirm
|
|
3
|
+
} from "../chunk-G6NMSBSQ.js";
|
|
1
4
|
import {
|
|
2
5
|
useRemoveConfirm
|
|
3
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-Y7BOP7VZ.js";
|
|
4
7
|
import {
|
|
5
8
|
rowActionsToMenuItems
|
|
6
9
|
} from "../chunk-ZBXG6RVJ.js";
|
|
@@ -18,16 +21,13 @@ import {
|
|
|
18
21
|
import {
|
|
19
22
|
CardKebab
|
|
20
23
|
} from "../chunk-R2ODLE6G.js";
|
|
21
|
-
import {
|
|
22
|
-
useRowConfirm
|
|
23
|
-
} from "../chunk-N557OEZR.js";
|
|
24
24
|
import "../chunk-WVML3ENZ.js";
|
|
25
25
|
import "../chunk-AY5GKCH7.js";
|
|
26
26
|
import "../chunk-XCBQXSTR.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-KOGJBAFI.js";
|
|
28
|
+
import "../chunk-3TZUZXY5.js";
|
|
29
|
+
import "../chunk-TE6HAWDM.js";
|
|
30
|
+
import "../chunk-SW7JCF4Z.js";
|
|
31
31
|
import "../chunk-EMYESBIT.js";
|
|
32
32
|
import "../chunk-LZRVUOMU.js";
|
|
33
33
|
import "../chunk-EEB66IVH.js";
|
|
@@ -38,8 +38,8 @@ import "../chunk-QXUXO22M.js";
|
|
|
38
38
|
import "../chunk-7HZ36QDH.js";
|
|
39
39
|
import "../chunk-L7VH6IMR.js";
|
|
40
40
|
import "../chunk-2IBFEHIX.js";
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-OGSTMHT6.js";
|
|
42
|
+
import "../chunk-KURE5R7Z.js";
|
|
43
43
|
import "../chunk-5ZY3IIIG.js";
|
|
44
44
|
import "../chunk-6DPAWXZ3.js";
|
|
45
45
|
import "../chunk-BA4RHQ3B.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-62FET2BM.js";
|
|
2
2
|
import {
|
|
3
3
|
Carousel
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GY53SDVL.js";
|
|
5
|
+
import "../chunk-TB5CRHTF.js";
|
|
5
6
|
import "../chunk-Z64TMGYT.js";
|
|
6
7
|
import "../chunk-6FDLBWTE.js";
|
|
7
|
-
import "../chunk-RUIV5TVA.js";
|
|
8
|
-
import "../chunk-TB5CRHTF.js";
|
|
9
8
|
import {
|
|
10
9
|
CarouselArrows,
|
|
11
10
|
CarouselIndicators,
|
|
12
11
|
CarouselThumbnails
|
|
13
12
|
} from "../chunk-M2M4IDFU.js";
|
|
13
|
+
import "../chunk-RUIV5TVA.js";
|
|
14
14
|
import "../chunk-ARGVUTTL.js";
|
|
15
15
|
import "../chunk-PZS7N74L.js";
|
|
16
16
|
import "../chunk-AA2X5GOT.js";
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import "../chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SB2SEGR6.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-AMLHEKSV.js";
|
|
8
|
+
import "../chunk-6ATXOJVQ.js";
|
|
9
|
+
import "../chunk-TZC6KIK2.js";
|
|
10
|
+
import "../chunk-TCWISGSS.js";
|
|
11
|
+
import "../chunk-SOHQPPYJ.js";
|
|
12
|
+
import {
|
|
13
|
+
ChartContainer,
|
|
14
|
+
ChartLegend,
|
|
15
|
+
ChartLegendContent,
|
|
16
|
+
ChartTooltip,
|
|
17
|
+
ChartTooltipContent
|
|
18
|
+
} from "../chunk-RIRTW5EU.js";
|
|
8
19
|
import {
|
|
9
20
|
CHART_SEMANTIC_COLORS,
|
|
10
21
|
ChartSpecError,
|
|
@@ -20,17 +31,6 @@ import {
|
|
|
20
31
|
getRegisteredChartSpecTypes,
|
|
21
32
|
registerChartSpecRenderer
|
|
22
33
|
} from "../chunk-WKUA6P3W.js";
|
|
23
|
-
import "../chunk-CZVAVX5L.js";
|
|
24
|
-
import "../chunk-JG733RMP.js";
|
|
25
|
-
import "../chunk-SOHQPPYJ.js";
|
|
26
|
-
import {
|
|
27
|
-
ChartContainer,
|
|
28
|
-
ChartLegend,
|
|
29
|
-
ChartLegendContent,
|
|
30
|
-
ChartTooltip,
|
|
31
|
-
ChartTooltipContent
|
|
32
|
-
} from "../chunk-RIRTW5EU.js";
|
|
33
|
-
import "../chunk-TCWISGSS.js";
|
|
34
34
|
import "../chunk-B7ZHEOQQ.js";
|
|
35
35
|
import "../chunk-BRHRK7BK.js";
|
|
36
36
|
import "../chunk-25MSGLNU.js";
|
|
@@ -3,94 +3,80 @@ import {
|
|
|
3
3
|
} from "../chunk-MBMZNSBP.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsTableBase
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ASEHJIIV.js";
|
|
7
7
|
import "../chunk-YNVTUQ5B.js";
|
|
8
8
|
import {
|
|
9
9
|
DataViewsGrid
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-HWZETMO4.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseListCard
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-FKS2PNJF.js";
|
|
14
|
+
import "../chunk-2JCRNWHE.js";
|
|
14
15
|
import "../chunk-E6K2UZGR.js";
|
|
15
|
-
import "../chunk-QO7UJXXO.js";
|
|
16
16
|
import "../chunk-UMOHHWXY.js";
|
|
17
17
|
import "../chunk-KLCSVYHL.js";
|
|
18
18
|
import "../chunk-CSJ7WNXU.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-QO7UJXXO.js";
|
|
20
20
|
import "../chunk-ZOLAYP2D.js";
|
|
21
21
|
import {
|
|
22
22
|
DragContainerProvider,
|
|
23
23
|
DropIndicator,
|
|
24
24
|
useDragItem
|
|
25
25
|
} from "../chunk-K4EKTMTC.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-MKVDHR3B.js";
|
|
29
|
-
import "../chunk-OM6ZT64U.js";
|
|
30
|
-
import "../chunk-T7OIVPCO.js";
|
|
31
|
-
import "../chunk-F5H3WDG7.js";
|
|
32
|
-
import "../chunk-VJIJCLUX.js";
|
|
33
|
-
import "../chunk-AJ6KFHEE.js";
|
|
34
|
-
import "../chunk-X3AFXHY5.js";
|
|
35
|
-
import "../chunk-XNAI7QGU.js";
|
|
26
|
+
import "../chunk-UIIHUWOV.js";
|
|
27
|
+
import "../chunk-ZM6FJCWS.js";
|
|
36
28
|
import {
|
|
37
29
|
DataViewsBoard
|
|
38
30
|
} from "../chunk-7TCOYCD7.js";
|
|
39
31
|
import "../chunk-4ZQQUICR.js";
|
|
32
|
+
import "../chunk-BZYLTGOE.js";
|
|
33
|
+
import "../chunk-MKVDHR3B.js";
|
|
34
|
+
import "../chunk-F2UP5ZF4.js";
|
|
35
|
+
import "../chunk-T7OIVPCO.js";
|
|
36
|
+
import "../chunk-4E2RQOSQ.js";
|
|
37
|
+
import "../chunk-UOKXYV3U.js";
|
|
38
|
+
import "../chunk-AJ6KFHEE.js";
|
|
39
|
+
import "../chunk-X3AFXHY5.js";
|
|
40
40
|
import "../chunk-AT6UKTH4.js";
|
|
41
41
|
import "../chunk-XZFTRGRW.js";
|
|
42
42
|
import "../chunk-WWH674WU.js";
|
|
43
43
|
import "../chunk-KYUEO2IO.js";
|
|
44
44
|
import "../chunk-GZOW6HNN.js";
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-LZNUBQ5I.js";
|
|
45
|
+
import "../chunk-O5UGAL2V.js";
|
|
46
|
+
import "../chunk-FPNVOB52.js";
|
|
47
|
+
import "../chunk-ZPWPA6FR.js";
|
|
49
48
|
import "../chunk-2FKWKLSC.js";
|
|
49
|
+
import "../chunk-LZNUBQ5I.js";
|
|
50
|
+
import "../chunk-WLDP7C4K.js";
|
|
51
|
+
import "../chunk-GCZJH4XL.js";
|
|
50
52
|
import "../chunk-YOPMXGHY.js";
|
|
51
53
|
import "../chunk-CBOB5AV6.js";
|
|
52
54
|
import "../chunk-HRES2S3Q.js";
|
|
55
|
+
import "../chunk-SI5SKX52.js";
|
|
53
56
|
import "../chunk-5YDS6HO3.js";
|
|
54
57
|
import "../chunk-OY437NRJ.js";
|
|
55
58
|
import "../chunk-ACBHZG3Z.js";
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-O5UGAL2V.js";
|
|
58
|
-
import "../chunk-GCZJH4XL.js";
|
|
59
|
+
import "../chunk-K3PMMW23.js";
|
|
59
60
|
import "../chunk-G6EJLEVV.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-LKWXU6NH.js";
|
|
62
|
+
import "../chunk-EE6DJPB7.js";
|
|
63
|
+
import "../chunk-YEGZIYVM.js";
|
|
64
|
+
import "../chunk-WSAUWJFO.js";
|
|
65
|
+
import "../chunk-YLGY3D52.js";
|
|
66
|
+
import "../chunk-4NG3LTRX.js";
|
|
67
|
+
import "../chunk-2MT6VSS2.js";
|
|
68
|
+
import "../chunk-GXGHEOWC.js";
|
|
61
69
|
import "../chunk-I4DG3PP4.js";
|
|
62
|
-
import "../chunk-
|
|
70
|
+
import "../chunk-VNMD6BA4.js";
|
|
63
71
|
import "../chunk-5M4TYFR3.js";
|
|
64
72
|
import "../chunk-7CUZTWKW.js";
|
|
65
|
-
import "../chunk-Z2WZDVGG.js";
|
|
66
|
-
import "../chunk-DBI6AMNY.js";
|
|
67
|
-
import "../chunk-4NG3LTRX.js";
|
|
68
|
-
import "../chunk-6HXNFNOB.js";
|
|
69
|
-
import "../chunk-WSAUWJFO.js";
|
|
70
|
-
import "../chunk-YEGZIYVM.js";
|
|
71
|
-
import "../chunk-YLGY3D52.js";
|
|
72
73
|
import "../chunk-4IE66GY2.js";
|
|
73
|
-
import "../chunk-DUVH273U.js";
|
|
74
|
-
import {
|
|
75
|
-
DEFAULT_RAILS,
|
|
76
|
-
ListCardGroup,
|
|
77
|
-
RAIL_COUNT
|
|
78
|
-
} from "../chunk-BBBHPK2Q.js";
|
|
79
|
-
import {
|
|
80
|
-
cardMinWidthForZoom,
|
|
81
|
-
cardScaleForZoom
|
|
82
|
-
} from "../chunk-5CAWRMDX.js";
|
|
83
|
-
import "../chunk-U3HEYECF.js";
|
|
84
|
-
import {
|
|
85
|
-
DEFAULT_CELL_WIDTH
|
|
86
|
-
} from "../chunk-F5S5UFGD.js";
|
|
87
|
-
import "../chunk-ZMUXC3VB.js";
|
|
88
|
-
import "../chunk-2MT6VSS2.js";
|
|
89
74
|
import "../chunk-B2JSUFDX.js";
|
|
90
75
|
import "../chunk-DZEC6RFM.js";
|
|
91
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-7WE432RQ.js";
|
|
92
77
|
import "../chunk-FF22F7FA.js";
|
|
93
78
|
import "../chunk-YGQX7BNI.js";
|
|
79
|
+
import "../chunk-IMLIIW77.js";
|
|
94
80
|
import "../chunk-LLZWB32X.js";
|
|
95
81
|
import {
|
|
96
82
|
DataViewsScopeTabs,
|
|
@@ -98,8 +84,16 @@ import {
|
|
|
98
84
|
resolveScope
|
|
99
85
|
} from "../chunk-PL2AB5HJ.js";
|
|
100
86
|
import "../chunk-UKNMPGEM.js";
|
|
101
|
-
import "../chunk-
|
|
102
|
-
import
|
|
87
|
+
import "../chunk-DUVH273U.js";
|
|
88
|
+
import {
|
|
89
|
+
DEFAULT_RAILS,
|
|
90
|
+
ListCardGroup,
|
|
91
|
+
RAIL_COUNT
|
|
92
|
+
} from "../chunk-BBBHPK2Q.js";
|
|
93
|
+
import {
|
|
94
|
+
cardMinWidthForZoom,
|
|
95
|
+
cardScaleForZoom
|
|
96
|
+
} from "../chunk-5CAWRMDX.js";
|
|
103
97
|
import {
|
|
104
98
|
CARD_ASPECT_RATIOS,
|
|
105
99
|
DATA_VIEWS_LAYOUTS,
|
|
@@ -109,6 +103,12 @@ import {
|
|
|
109
103
|
DataViewsCopyProvider,
|
|
110
104
|
useDataViewsCopy
|
|
111
105
|
} from "../chunk-KHG57NAE.js";
|
|
106
|
+
import "../chunk-U3HEYECF.js";
|
|
107
|
+
import {
|
|
108
|
+
DEFAULT_CELL_WIDTH
|
|
109
|
+
} from "../chunk-F5S5UFGD.js";
|
|
110
|
+
import "../chunk-ZMUXC3VB.js";
|
|
111
|
+
import "../chunk-OOLES6RR.js";
|
|
112
112
|
import "../chunk-NCS2TBIP.js";
|
|
113
113
|
import "../chunk-Y4KKS6WL.js";
|
|
114
114
|
import "../chunk-WVML3ENZ.js";
|
|
@@ -196,10 +196,10 @@ import "../chunk-TSMF7K37.js";
|
|
|
196
196
|
import "../chunk-JZRSHDNY.js";
|
|
197
197
|
import "../chunk-YKQA4NPM.js";
|
|
198
198
|
import "../chunk-XCBQXSTR.js";
|
|
199
|
-
import "../chunk-
|
|
200
|
-
import "../chunk-
|
|
201
|
-
import "../chunk-
|
|
202
|
-
import "../chunk-
|
|
199
|
+
import "../chunk-KOGJBAFI.js";
|
|
200
|
+
import "../chunk-3TZUZXY5.js";
|
|
201
|
+
import "../chunk-TE6HAWDM.js";
|
|
202
|
+
import "../chunk-SW7JCF4Z.js";
|
|
203
203
|
import "../chunk-EMYESBIT.js";
|
|
204
204
|
import "../chunk-LZRVUOMU.js";
|
|
205
205
|
import "../chunk-EEB66IVH.js";
|
|
@@ -230,8 +230,8 @@ import "../chunk-QXUXO22M.js";
|
|
|
230
230
|
import "../chunk-7HZ36QDH.js";
|
|
231
231
|
import "../chunk-L7VH6IMR.js";
|
|
232
232
|
import "../chunk-2IBFEHIX.js";
|
|
233
|
-
import "../chunk-
|
|
234
|
-
import "../chunk-
|
|
233
|
+
import "../chunk-OGSTMHT6.js";
|
|
234
|
+
import "../chunk-KURE5R7Z.js";
|
|
235
235
|
import "../chunk-3UIDKLML.js";
|
|
236
236
|
import "../chunk-PYC4CWCQ.js";
|
|
237
237
|
import "../chunk-5ZY3IIIG.js";
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import "../chunk-M6K6PCOS.js";
|
|
2
2
|
import {
|
|
3
3
|
DayRuler
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-CWXX5JR3.js";
|
|
5
|
+
import "../chunk-U4Z6GZDW.js";
|
|
6
|
+
import "../chunk-MPVH2GM5.js";
|
|
7
|
+
import "../chunk-WSSD7H5E.js";
|
|
8
|
+
import "../chunk-FGZIEZEP.js";
|
|
9
|
+
import "../chunk-5AZEDQXX.js";
|
|
8
10
|
import {
|
|
9
11
|
DAY_RULER_LABELS
|
|
10
12
|
} from "../chunk-EZBBLLEU.js";
|
|
11
13
|
import "../chunk-F2ZUUEXC.js";
|
|
12
14
|
import "../chunk-ZHCZOPKE.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-WG7CAT5D.js";
|
|
16
|
+
import "../chunk-KXDLLS62.js";
|
|
17
|
+
import "../chunk-273OLFJD.js";
|
|
18
|
+
import "../chunk-L5CAHQIN.js";
|
|
19
|
+
import "../chunk-SJAOQGQI.js";
|
|
18
20
|
import "../chunk-35HMJQLO.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-CGS2LQE5.js";
|
|
22
|
+
import "../chunk-GARM5SX6.js";
|
|
23
|
+
import "../chunk-3UAHDLKH.js";
|
|
22
24
|
import "../chunk-3R6BR22L.js";
|
|
23
25
|
import "../chunk-YE44HUFF.js";
|
|
24
26
|
import "../chunk-LL2BWQPM.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../chunk-ESOM4KVQ.js";
|
|
2
2
|
import {
|
|
3
3
|
ScheduleGrid
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-SKQPUAMK.js";
|
|
5
|
+
import "../chunk-FYSS2PYA.js";
|
|
6
6
|
import {
|
|
7
7
|
SCHEDULE_GRID_LABELS
|
|
8
8
|
} from "../chunk-DDGYTY4E.js";
|
|
@@ -14,11 +14,11 @@ import "../chunk-GONPUJIE.js";
|
|
|
14
14
|
import "../chunk-5EP37B4F.js";
|
|
15
15
|
import "../chunk-WBMLMLXP.js";
|
|
16
16
|
import "../chunk-E6UMTR2G.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-SJAOQGQI.js";
|
|
18
18
|
import "../chunk-35HMJQLO.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-CGS2LQE5.js";
|
|
20
|
+
import "../chunk-GARM5SX6.js";
|
|
21
|
+
import "../chunk-3UAHDLKH.js";
|
|
22
22
|
import "../chunk-3R6BR22L.js";
|
|
23
23
|
import "../chunk-YE44HUFF.js";
|
|
24
24
|
import "../chunk-LL2BWQPM.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import "../chunk-XCBQXSTR.js";
|
|
2
2
|
import {
|
|
3
3
|
createConfirmButton
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KOGJBAFI.js";
|
|
5
5
|
import {
|
|
6
6
|
withConfirmation
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-3TZUZXY5.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfirmAction
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-TE6HAWDM.js";
|
|
11
11
|
import {
|
|
12
12
|
ConfirmActionDialog
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-SW7JCF4Z.js";
|
|
14
14
|
import {
|
|
15
15
|
useConfirmAction
|
|
16
16
|
} from "../chunk-EMYESBIT.js";
|
|
17
17
|
import "../chunk-LZRVUOMU.js";
|
|
18
18
|
import "../chunk-EEB66IVH.js";
|
|
19
19
|
import "../chunk-2IBFEHIX.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-OGSTMHT6.js";
|
|
21
|
+
import "../chunk-KURE5R7Z.js";
|
|
22
22
|
import "../chunk-BA4RHQ3B.js";
|
|
23
23
|
import "../chunk-YOXYSAUI.js";
|
|
24
24
|
import "../chunk-PPEHBI5O.js";
|